(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[7342],{35611:function(Cv,Tv,Za){"use strict";Za.d(Tv,{Z:function(){return q}});var Ps=Za(28991),Io=Za(85893),os=Za(18106),zn=Za(95562),vi=Za(96156),Yg=Za(90484),_s=Za(28481),Mm=Za(84305),g_=Za(39559),fr=Za(81253),Lm=Za(6999),e=Za(75302),o=Za(8812),ne=Za(53621),K=Za(94184),se=Za.n(K),O=Za(97435),ie=Za(50344),_e=Za(80334),Q=Za(67294),p=Za(58856),D=["tab","children"],le=["key","tab","tabKey","disabled","destroyInactiveTabPane","children","className","style","cardProps"];function de(G){return G.filter(function(ye){return ye})}function te(G,ye,b){if(G)return G.map(function(T){return(0,Ps.Z)((0,Ps.Z)({},T),{},{children:(0,Io.jsx)(F,(0,Ps.Z)((0,Ps.Z)({},b==null?void 0:b.cardProps),{},{children:T.children}))})});(0,_e.ET)(!b,"Tabs.TabPane is deprecated. Please use `items` directly.");var x=(0,ie.Z)(ye).map(function(T){if(Q.isValidElement(T)){var Z=T.key,B=T.props,u=B||{},A=u.tab,w=u.children,z=(0,fr.Z)(u,D),U=(0,Ps.Z)((0,Ps.Z)({key:String(Z)},z),{},{children:(0,Io.jsx)(F,(0,Ps.Z)((0,Ps.Z)({},b==null?void 0:b.cardProps),{},{children:w})),label:A});return U}return null});return de(x)}var oe=function(ye){var b=ye.key,x=ye.tab,T=ye.tabKey,Z=ye.disabled,B=ye.destroyInactiveTabPane,u=ye.children,A=ye.className,w=ye.style,z=ye.cardProps,U=(0,fr.Z)(ye,le),ge=(0,Q.useContext)(g_.ZP.ConfigContext),pe=ge.getPrefixCls,He=pe("pro-card-tabpane"),Be=se()(He,A);return(0,Io.jsx)(zn.Z.TabPane,(0,Ps.Z)((0,Ps.Z)({tabKey:T,tab:x,className:Be,style:w,disabled:Z,destroyInactiveTabPane:B},U),{},{children:(0,Io.jsx)(F,(0,Ps.Z)((0,Ps.Z)({},z),{},{children:u}))}),b)},ae=oe,E=Za(21770),I=Za(6599),f=function(ye){var b=ye.actions,x=ye.prefixCls;return Array.isArray(b)&&(b==null?void 0:b.length)?(0,Io.jsx)("ul",{className:"".concat(x,"-actions"),children:b.map(function(T,Z){return(0,Io.jsx)("li",{style:{width:"".concat(100/b.length,"%")},children:(0,Io.jsx)("span",{children:T})},"action-".concat(Z))})}):b?(0,Io.jsx)("ul",{className:"".concat(x,"-actions"),children:b}):null},m=f,y=Za(89032),S=Za(15746),k=Za(13062),C=Za(71230),me=Za(61070),De=function(ye){var b=ye.style,x=ye.prefix;return(0,Io.jsxs)("div",{className:"".concat(x,"-loading-content"),style:b,children:[(0,Io.jsx)(C.Z,{gutter:8,children:(0,Io.jsx)(S.Z,{span:22,children:(0,Io.jsx)("div",{className:"".concat(x,"-loading-block")})})}),(0,Io.jsxs)(C.Z,{gutter:8,children:[(0,Io.jsx)(S.Z,{span:8,children:(0,Io.jsx)("div",{className:"".concat(x,"-loading-block")})}),(0,Io.jsx)(S.Z,{span:15,children:(0,Io.jsx)("div",{className:"".concat(x,"-loading-block")})})]}),(0,Io.jsxs)(C.Z,{gutter:8,children:[(0,Io.jsx)(S.Z,{span:6,children:(0,Io.jsx)("div",{className:"".concat(x,"-loading-block")})}),(0,Io.jsx)(S.Z,{span:18,children:(0,Io.jsx)("div",{className:"".concat(x,"-loading-block")})})]}),(0,Io.jsxs)(C.Z,{gutter:8,children:[(0,Io.jsx)(S.Z,{span:13,children:(0,Io.jsx)("div",{className:"".concat(x,"-loading-block")})}),(0,Io.jsx)(S.Z,{span:9,children:(0,Io.jsx)("div",{className:"".concat(x,"-loading-block")})})]}),(0,Io.jsxs)(C.Z,{gutter:8,children:[(0,Io.jsx)(S.Z,{span:4,children:(0,Io.jsx)("div",{className:"".concat(x,"-loading-block")})}),(0,Io.jsx)(S.Z,{span:3,children:(0,Io.jsx)("div",{className:"".concat(x,"-loading-block")})}),(0,Io.jsx)(S.Z,{span:16,children:(0,Io.jsx)("div",{className:"".concat(x,"-loading-block")})})]})]})},X=De,M=Za(43237),H=["className","style","bodyStyle","headStyle","title","subTitle","extra","tip","wrap","layout","loading","gutter","tooltip","split","headerBordered","bordered","children","size","actions","ghost","hoverable","direction","collapsed","collapsible","collapsibleIconRender","defaultCollapsed","onCollapse","checked","onChecked","tabs","type"],V=e.ZP.useBreakpoint,h=Q.forwardRef(function(G,ye){var b,x,T,Z=G.className,B=G.style,u=G.bodyStyle,A=u===void 0?{}:u,w=G.headStyle,z=w===void 0?{}:w,U=G.title,ge=G.subTitle,pe=G.extra,He=G.tip,Be=G.wrap,Me=Be===void 0?!1:Be,Le=G.layout,Ae=G.loading,Xe=G.gutter,Ne=Xe===void 0?0:Xe,Oe=G.tooltip,be=G.split,Y=G.headerBordered,d=Y===void 0?!1:Y,j=G.bordered,Ce=j===void 0?!1:j,Se=G.children,Re=G.size,er=G.actions,wr=G.ghost,mr=wr===void 0?!1:wr,Ue=G.hoverable,t=Ue===void 0?!1:Ue,qr=G.direction,ln=G.collapsed,dr=G.collapsible,vr=dr===void 0?!1:dr,kr=G.collapsibleIconRender,Ur=G.defaultCollapsed,Cr=Ur===void 0?!1:Ur,rn=G.onCollapse,Br=G.checked,pn=G.onChecked,ve=G.tabs,or=G.type,Ee=(0,fr.Z)(G,H),ze=(0,Q.useContext)(g_.ZP.ConfigContext),Ar=ze.getPrefixCls,xe=V(),cr=(0,E.Z)(Cr,{value:ln,onChange:rn}),Mr=(0,_s.Z)(cr,2),Rr=Mr[0],Qr=Mr[1],en=["xxl","xl","lg","md","sm","xs"],vn=te(ve==null?void 0:ve.items,Se,ve),Ie=function(ue){var Ke=[0,0],tr=Array.isArray(ue)?ue:[ue,0];return tr.forEach(function(hr,_r){if((0,Yg.Z)(hr)==="object")for(var Or=0;Or=0&&Or<=24),tr));return(0,Io.jsx)("div",{style:(0,Ps.Z)((0,Ps.Z)((0,Ps.Z)({},zr),We(Qn>0,{paddingRight:Qn/2,paddingLeft:Qn/2})),We(ai>0,{paddingTop:ai/2,paddingBottom:ai/2})),className:fn,children:Q.cloneElement(Qe)},"pro-card-col-".concat((Qe==null?void 0:Qe.key)||ue))}return Qe}),on=se()("".concat(Lr),Z,(b={},(0,vi.Z)(b,"".concat(Lr,"-border"),Ce),(0,vi.Z)(b,"".concat(Lr,"-contain-card"),Dr),(0,vi.Z)(b,"".concat(Lr,"-loading"),Ae),(0,vi.Z)(b,"".concat(Lr,"-split"),be==="vertical"||be==="horizontal"),(0,vi.Z)(b,"".concat(Lr,"-ghost"),mr),(0,vi.Z)(b,"".concat(Lr,"-hoverable"),t),(0,vi.Z)(b,"".concat(Lr,"-size-").concat(Re),Re),(0,vi.Z)(b,"".concat(Lr,"-type-").concat(or),or),(0,vi.Z)(b,"".concat(Lr,"-collapse"),Rr),(0,vi.Z)(b,"".concat(Lr,"-checked"),Br),b)),je=se()("".concat(Lr,"-body"),(x={},(0,vi.Z)(x,"".concat(Lr,"-body-center"),Le==="center"),(0,vi.Z)(x,"".concat(Lr,"-body-direction-column"),be==="horizontal"||qr==="column"),(0,vi.Z)(x,"".concat(Lr,"-body-wrap"),Me&&Dr),x)),Sr=(0,Ps.Z)((0,Ps.Z)((0,Ps.Z)({},We(Qn>0,{marginRight:-Qn/2,marginLeft:-Qn/2})),We(ai>0,{marginTop:-ai/2,marginBottom:-ai/2})),A),Te=Q.isValidElement(Ae)?Ae:(0,Io.jsx)(X,{prefix:Lr,style:A.padding===0||A.padding==="0px"?{padding:24}:void 0}),Ye=vr&&ln===void 0&&(kr?kr({collapsed:Rr}):(0,Io.jsx)(o.Z,{rotate:Rr?void 0:90,className:"".concat(Lr,"-collapsible-icon")}));return(0,Io.jsxs)("div",(0,Ps.Z)((0,Ps.Z)({className:on,style:B,ref:ye,onClick:function(ue){var Ke;pn==null||pn(ue),Ee==null||(Ke=Ee.onClick)===null||Ke===void 0||Ke.call(Ee,ue)}},(0,O.Z)(Ee,["prefixCls","colSpan"])),{},{children:[(U||pe||Ye)&&(0,Io.jsxs)("div",{className:se()("".concat(Lr,"-header"),(T={},(0,vi.Z)(T,"".concat(Lr,"-header-border"),d||or==="inner"),(0,vi.Z)(T,"".concat(Lr,"-header-collapsible"),Ye),T)),style:z,onClick:function(){Ye&&Qr(!Rr)},children:[(0,Io.jsxs)("div",{className:"".concat(Lr,"-title"),children:[Ye,(0,Io.jsx)(ne.Z,{label:U,tooltip:Oe||He,subTitle:ge})]}),pe&&(0,Io.jsx)("div",{className:"".concat(Lr,"-extra"),children:pe})]}),ve?(0,Io.jsx)("div",{className:"".concat(Lr,"-tabs"),children:(0,Io.jsx)(zn.Z,(0,Ps.Z)((0,Ps.Z)({onChange:ve.onChange},ve),{},{items:vn,children:Ae?Te:Se}))}):(0,Io.jsx)("div",{className:je,style:Sr,children:Ae?Te:jr}),(0,Io.jsx)(m,{actions:er,prefixCls:Lr})]}))}),F=h,$=Za(31666),L=function(ye){var b=(0,Q.useContext)(g_.ZP.ConfigContext),x=b.getPrefixCls,T=x("pro-card-divider"),Z=ye.className,B=ye.style,u=B===void 0?{}:B,A=ye.type,w=se()(T,Z,(0,vi.Z)({},"".concat(T,"-").concat(A),A));return(0,Io.jsx)("div",{className:w,style:u})},P=L,N=function(ye){return(0,Io.jsx)(F,(0,Ps.Z)({bodyStyle:{padding:0}},ye))},J=F;J.isProCard=!0,J.Divider=P,J.TabPane=ae,J.Group=N;var q=J},6599:function(){},43237:function(){},31666:function(){},61070:function(){},58856:function(){},52953:function(){},4914:function(Cv,Tv,Za){"use strict";Za.d(Tv,{K:function(){return Q},Z:function(){return oe}});var Ps=Za(96156),Io=Za(28481),os=Za(90484),zn=Za(94184),vi=Za.n(zn),Yg=Za(50344),_s=Za(67294),Mm=Za(53124),g_=Za(96159),fr=Za(24308),Lm=function(E){var I=E.children;return I},e=Lm,o=Za(22122);function ne(ae){return ae!=null}var K=function(E){var I=E.itemPrefixCls,f=E.component,m=E.span,y=E.className,S=E.style,k=E.labelStyle,C=E.contentStyle,me=E.bordered,De=E.label,X=E.content,M=E.colon,H=f;if(me){var V;return _s.createElement(H,{className:vi()((V={},(0,Ps.Z)(V,"".concat(I,"-item-label"),ne(De)),(0,Ps.Z)(V,"".concat(I,"-item-content"),ne(X)),V),y),style:S,colSpan:m},ne(De)&&_s.createElement("span",{style:k},De),ne(X)&&_s.createElement("span",{style:C},X))}return _s.createElement(H,{className:vi()("".concat(I,"-item"),y),style:S,colSpan:m},_s.createElement("div",{className:"".concat(I,"-item-container")},(De||De===0)&&_s.createElement("span",{className:vi()("".concat(I,"-item-label"),(0,Ps.Z)({},"".concat(I,"-item-no-colon"),!M)),style:k},De),(X||X===0)&&_s.createElement("span",{className:vi()("".concat(I,"-item-content")),style:C},X)))},se=K;function O(ae,E,I){var f=E.colon,m=E.prefixCls,y=E.bordered,S=I.component,k=I.type,C=I.showLabel,me=I.showContent,De=I.labelStyle,X=I.contentStyle;return ae.map(function(M,H){var V=M.props,h=V.label,F=V.children,$=V.prefixCls,L=$===void 0?m:$,P=V.className,N=V.style,J=V.labelStyle,q=V.contentStyle,G=V.span,ye=G===void 0?1:G,b=M.key;return typeof S=="string"?_s.createElement(se,{key:"".concat(k,"-").concat(b||H),className:P,style:N,labelStyle:(0,o.Z)((0,o.Z)({},De),J),contentStyle:(0,o.Z)((0,o.Z)({},X),q),span:ye,colon:f,component:S,itemPrefixCls:L,bordered:y,label:C?h:null,content:me?F:null}):[_s.createElement(se,{key:"label-".concat(b||H),className:P,style:(0,o.Z)((0,o.Z)((0,o.Z)({},De),N),J),span:1,colon:f,component:S[0],itemPrefixCls:L,bordered:y,label:h}),_s.createElement(se,{key:"content-".concat(b||H),className:P,style:(0,o.Z)((0,o.Z)((0,o.Z)({},X),N),q),span:ye*2-1,component:S[1],itemPrefixCls:L,bordered:y,content:F})]})}var ie=function(E){var I=_s.useContext(Q),f=E.prefixCls,m=E.vertical,y=E.row,S=E.index,k=E.bordered;return m?_s.createElement(_s.Fragment,null,_s.createElement("tr",{key:"label-".concat(S),className:"".concat(f,"-row")},O(y,E,(0,o.Z)({component:"th",type:"label",showLabel:!0},I))),_s.createElement("tr",{key:"content-".concat(S),className:"".concat(f,"-row")},O(y,E,(0,o.Z)({component:"td",type:"content",showContent:!0},I)))):_s.createElement("tr",{key:S,className:"".concat(f,"-row")},O(y,E,(0,o.Z)({component:k?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0},I)))},_e=ie,Q=_s.createContext({}),p={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1};function D(ae,E){if(typeof ae=="number")return ae;if((0,os.Z)(ae)==="object")for(var I=0;II)&&(f=(0,g_.Tm)(ae,{span:I})),f}function de(ae,E){var I=(0,Yg.Z)(ae).filter(function(S){return S}),f=[],m=[],y=E;return I.forEach(function(S,k){var C,me=(C=S.props)===null||C===void 0?void 0:C.span,De=me||1;if(k===I.length-1){m.push(le(S,me,y)),f.push(m);return}De0&&O[O.length-1])&&(p[0]===6||p[0]===2)){ne=0;continue}if(p[0]===3&&(!O||p[1]>O[0]&&p[1]=0;yr--){var Jr=ur(Je[yr],yr);if(Jr)return Jr}}e.forEachRight=se;function O(Je,ur){if(Je!==void 0)for(var yr=0;yr=0;Jr--){var Mn=Je[Jr];if(ur(Mn,Jr))return Mn}}e.findLast=oe;function ae(Je,ur,yr){if(Je===void 0)return-1;for(var Jr=yr!=null?yr:0;Jr=0;Jr--)if(ur(Je[Jr],Jr))return Jr;return-1}e.findLastIndex=E;function I(Je,ur){for(var yr=0;yr0;return!1}e.some=Z;function B(Je,ur,yr){for(var Jr,Mn=0;Mn0&&e.Debug.assertGreaterThanOrEqual(yr(ur[_i],ur[_i-1]),0);r:for(var di=Mn;Mndi&&e.Debug.assertGreaterThanOrEqual(yr(Je[Mn],Je[Mn-1]),0),yr(ur[_i],Je[Mn])){case-1:Jr.push(ur[_i]);continue e;case 0:continue e;case 1:continue r}}return Jr}e.relativeComplement=Ne;function Oe(Je,ur){for(var yr=0,Jr=0,Mn=Je;Jr>1),Nt=yr(Je[fi],fi);switch(Jr(Nt,ur)){case-1:_i=fi+1;break;case 0:return fi;case 1:di=fi-1;break}}return~_i}e.binarySearchKey=ve;function or(Je,ur,yr,Jr,Mn){if(Je&&Je.length>0){var _i=Je.length;if(_i>0){var di=Jr===void 0||Jr<0?0:Jr,fi=Mn===void 0||di+Mn>_i-1?_i-1:di+Mn,Nt=void 0;for(arguments.length<=2?(Nt=Je[di],di++):Nt=yr;di<=fi;)Nt=ur(Nt,Je[di],di),di++;return Nt}}return yr}e.reduceLeft=or;var Ee=Object.prototype.hasOwnProperty;function ze(Je,ur){return Ee.call(Je,ur)}e.hasProperty=ze;function Ar(Je,ur){return Ee.call(Je,ur)?Je[ur]:void 0}e.getProperty=Ar;function xe(Je){var ur=[];for(var yr in Je)Ee.call(Je,yr)&&ur.push(yr);return ur}e.getOwnKeys=xe;function cr(Je){var ur=[];do for(var yr=Object.getOwnPropertyNames(Je),Jr=0,Mn=yr;Jr100&&yr>ur.length>>1){var fi=ur.length-yr;ur.copyWithin(0,yr),ur.length=fi,yr=0}return di}return{enqueue:Mn,dequeue:_i,isEmpty:Jr}}e.createQueue=Te;function Ye(Je,ur){var yr=new e.Map,Jr=0;function Mn(){var di=yr.values(),fi;return{next:function(){for(;;)if(fi){var Nt=fi.next();if(!Nt.done)return{value:Nt.value};fi=void 0}else{var Nt=di.next();if(Nt.done)return{value:void 0,done:!0};if(!Qe(Nt.value))return{value:Nt.value};fi=wr(Nt.value)}}}}var _i={has:function(di){var fi=Je(di);if(!yr.has(fi))return!1;var Nt=yr.get(fi);if(!Qe(Nt))return ur(Nt,di);for(var Gt=0,la=Nt;Gtur?1:0)}e.compareStringsCaseInsensitive=gn;function nn(Je,ur){return Ir(Je,ur)}e.compareStringsCaseSensitive=nn;function Cn(Je){return Je?gn:nn}e.getStringComparer=Cn;var Dn=function(){var Je,ur,yr=fi();return Nt;function Jr(Gt,la,na){if(Gt===la)return 0;if(Gt===void 0)return-1;if(la===void 0)return 1;var Ia=na(Gt,la);return Ia<0?-1:Ia>0?1:0}function Mn(Gt){var la=new Intl.Collator(Gt,{usage:"sort",sensitivity:"variant"}).compare;return function(na,Ia){return Jr(na,Ia,la)}}function _i(Gt){if(Gt!==void 0)return di();return function(na,Ia){return Jr(na,Ia,la)};function la(na,Ia){return na.localeCompare(Ia)}}function di(){return function(na,Ia){return Jr(na,Ia,Gt)};function Gt(na,Ia){return la(na.toUpperCase(),Ia.toUpperCase())||la(na,Ia)}function la(na,Ia){return naIa?1:0}}function fi(){return typeof Intl=="object"&&typeof Intl.Collator=="function"?Mn:typeof String.prototype.localeCompare=="function"&&typeof String.prototype.toLocaleUpperCase=="function"&&"a".localeCompare("B")<0?_i:di}function Nt(Gt){return Gt===void 0?Je||(Je=yr(Gt)):Gt==="en-US"?ur||(ur=yr(Gt)):yr(Gt)}}(),On,Xn;function Ge(){return Xn}e.getUILocale=Ge;function cn(Je){Xn!==Je&&(Xn=Je,On=void 0)}e.setUILocale=cn;function Vn(Je,ur){var yr=On||(On=Dn(Xn));return yr(Je,ur)}e.compareStringsCaseSensitiveUI=Vn;function Ki(Je,ur,yr,Jr){return Je===ur?0:Je===void 0?-1:ur===void 0?1:Jr(Je[yr],ur[yr])}e.compareProperties=Ki;function dt(Je,ur){return we(Je?1:0,ur?1:0)}e.compareBooleans=dt;function qi(Je,ur,yr){for(var Jr=Math.max(2,Math.floor(Je.length*.34)),Mn=Math.floor(Je.length*.4)+1,_i,di=0,fi=ur;diyr?di-yr:1),Gt=Math.floor(ur.length>yr+di?yr+di:ur.length);Mn[0]=di;for(var la=di,na=1;nayr)return;var ds=Jr;Jr=Mn,Mn=ds}var ps=Jr[ur.length];return ps>yr?void 0:ps}function Tt(Je,ur){var yr=Je.length-ur.length;return yr>=0&&Je.indexOf(ur,yr)===yr}e.endsWith=Tt;function ot(Je,ur){return Tt(Je,ur)?Je.slice(0,Je.length-ur.length):Je}e.removeSuffix=ot;function Zi(Je,ur){return Tt(Je,ur)?Je.slice(0,Je.length-ur.length):void 0}e.tryRemoveSuffix=Zi;function ni(Je,ur){return Je.indexOf(ur)!==-1}e.stringContains=ni;function Va(Je){for(var ur=Je.length,yr=ur-1;yr>0;yr--){var Jr=Je.charCodeAt(yr);if(Jr>=48&&Jr<=57)do--yr,Jr=Je.charCodeAt(yr);while(yr>0&&Jr>=48&&Jr<=57);else if(yr>4&&(Jr===110||Jr===78)){if(--yr,Jr=Je.charCodeAt(yr),Jr!==105&&Jr!==73||(--yr,Jr=Je.charCodeAt(yr),Jr!==109&&Jr!==77))break;--yr,Jr=Je.charCodeAt(yr)}else break;if(Jr!==45&&Jr!==46)break;ur=yr}return ur===Je.length?Je:Je.slice(0,ur)}e.removeMinAndVersionNumbers=Va;function Ua(Je,ur){for(var yr=0;yrMn&&(Mn=Nt.prefix.length,Jr=fi)}return Jr}e.findBestPatternMatch=ao;function fo(Je,ur){return Je.lastIndexOf(ur,0)===0}e.startsWith=fo;function As(Je,ur){return fo(Je,ur)?Je.substr(ur.length):Je}e.removePrefix=As;function so(Je,ur,yr){return yr===void 0&&(yr=Wn),fo(yr(Je),yr(ur))?Je.substring(ur.length):void 0}e.tryRemovePrefix=so;function Xo(Je,ur){var yr=Je.prefix,Jr=Je.suffix;return ur.length>=yr.length+Jr.length&&fo(ur,yr)&&Tt(ur,Jr)}e.isPatternMatch=Xo;function Ho(Je,ur){return function(yr){return Je(yr)&&ur(yr)}}e.and=Ho;function Zo(){for(var Je=[],ur=0;ur=0&&e.isWhiteSpaceLike(Je.charCodeAt(ur));)ur--;return Je.slice(0,ur+1)}})(fr||(fr={}));var fr;(function(e){var o;(function(K){K[K.Off=0]="Off",K[K.Error=1]="Error",K[K.Warning=2]="Warning",K[K.Info=3]="Info",K[K.Verbose=4]="Verbose"})(o=e.LogLevel||(e.LogLevel={}));var ne;(function(K){var se,O=0;K.currentLogLevel=o.Warning,K.isDebugging=!1,K.enableDeprecationWarnings=!0;function ie(){return se!=null?se:se=new e.Version(e.version)}K.getTypeScriptVersion=ie;function _e(vr){return K.currentLogLevel<=vr}K.shouldLog=_e;function Q(vr,kr){K.loggingHost&&_e(vr)&&K.loggingHost.log(vr,kr)}function p(vr){Q(o.Info,vr)}K.log=p,function(vr){function kr(Br){Q(o.Error,Br)}vr.error=kr;function Ur(Br){Q(o.Warning,Br)}vr.warn=Ur;function Cr(Br){Q(o.Info,Br)}vr.log=Cr;function rn(Br){Q(o.Verbose,Br)}vr.trace=rn}(p=K.log||(K.log={}));var D={};function le(){return O}K.getAssertionLevel=le;function de(vr){var kr=O;if(O=vr,vr>kr)for(var Ur=0,Cr=e.getOwnKeys(D);Ur=Br.level&&(K[rn]=Br,D[rn]=void 0)}}K.setAssertionLevel=de;function te(vr){return O>=vr}K.shouldAssert=te;function oe(vr,kr){return te(vr)?!0:(D[kr]={level:vr,assertion:K[kr]},K[kr]=e.noop,!1)}function ae(vr,kr){debugger;var Ur=new Error(vr?"Debug Failure. ".concat(vr):"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(Ur,kr||ae),Ur}K.fail=ae;function E(vr,kr,Ur){return ae("".concat(kr||"Unexpected node.",`\r Node `).concat(ye(vr.kind)," was unexpected."),Ur||E)}K.failBadSyntaxKind=E;function I(vr,kr,Ur,Cr){vr||(kr=kr?"False expression: ".concat(kr):"False expression.",Ur&&(kr+=`\r Verbose Debug Information: `+(typeof Ur=="string"?Ur:Ur())),ae(kr,Cr||I))}K.assert=I;function f(vr,kr,Ur,Cr,rn){if(vr!==kr){var Br=Ur?Cr?"".concat(Ur," ").concat(Cr):Ur:"";ae("Expected ".concat(vr," === ").concat(kr,". ").concat(Br),rn||f)}}K.assertEqual=f;function m(vr,kr,Ur,Cr){vr>=kr&&ae("Expected ".concat(vr," < ").concat(kr,". ").concat(Ur||""),Cr||m)}K.assertLessThan=m;function y(vr,kr,Ur){vr>kr&&ae("Expected ".concat(vr," <= ").concat(kr),Ur||y)}K.assertLessThanOrEqual=y;function S(vr,kr,Ur){vr= ").concat(kr),Ur||S)}K.assertGreaterThanOrEqual=S;function k(vr,kr,Ur){vr==null&&ae(kr,Ur||k)}K.assertIsDefined=k;function C(vr,kr,Ur){return k(vr,kr,Ur||C),vr}K.checkDefined=C;function me(vr,kr,Ur){for(var Cr=0,rn=vr;Cr0&&Cr[0][0]===0?Cr[0][1]:"0";if(Ur){for(var rn=[],Br=vr,pn=0,ve=Cr;pnvr)break;Ee!==0&&Ee&vr&&(rn.push(ze),Br&=~Ee)}if(Br===0)return rn.join("|")}else for(var Ar=0,xe=Cr;Ar=0;return or?er(vr,Br,ve,kr.message):Ee?wr(vr,Br,ve,kr.message):e.noop}K.createDeprecation=mr;function Ue(vr,kr){return function(){return vr(),kr.apply(this,arguments)}}function t(vr,kr){var Ur,Cr=mr((Ur=kr==null?void 0:kr.name)!==null&&Ur!==void 0?Ur:P(vr),kr);return Ue(Cr,vr)}K.deprecate=t;function qr(vr){var kr=vr&7,Ur=kr===0?"in out":kr===3?"[bivariant]":kr===2?"in":kr===1?"out":kr===4?"[independent]":"";return vr&8?Ur+=" (unmeasurable)":vr&16&&(Ur+=" (unreliable)"),Ur}K.formatVariance=qr;var ln=function(){function vr(){}return vr.prototype.__debugToString=function(){var kr;switch(L(this),this.kind){case 3:return((kr=this.debugInfo)===null||kr===void 0?void 0:kr.call(this))||"(function mapper)";case 0:return"".concat(this.source.__debugTypeToString()," -> ").concat(this.target.__debugTypeToString());case 1:return e.zipWith(this.sources,this.targets||e.map(this.sources,function(){return"any"}),function(Ur,Cr){return"".concat(Ur.__debugTypeToString()," -> ").concat(typeof Cr=="string"?Cr:Cr.__debugTypeToString())}).join(", ");case 2:return e.zipWith(this.sources,this.targets,function(Ur,Cr){return"".concat(Ur.__debugTypeToString()," -> ").concat(Cr().__debugTypeToString())}).join(", ");case 5:case 4:return"m1: ".concat(this.mapper1.__debugToString().split(` `).join(` `),` m2: `).concat(this.mapper2.__debugToString().split(` `).join(` `));default:return X(this)}},vr}();K.DebugTypeMapper=ln;function dr(vr){return K.isDebugging?Object.setPrototypeOf(vr,ln.prototype):vr}K.attachDebugPrototypeIfDebug=dr})(ne=e.Debug||(e.Debug={}))})(fr||(fr={}));var fr;(function(e){var o=/^(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,ne=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)(?:\.(?:0|[1-9]\d*|[a-z-][a-z0-9-]*))*$/i,K=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)$/i,se=/^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i,O=/^[a-z0-9-]+$/i,ie=/^(0|[1-9]\d*)$/,_e=function(){function H(V,h,F,$,L){if(h===void 0&&(h=0),F===void 0&&(F=0),$===void 0&&($=""),L===void 0&&(L=""),typeof V=="string"){var P=e.Debug.checkDefined(Q(V),"Invalid version");V=P.major,h=P.minor,F=P.patch,$=P.prerelease,L=P.build}e.Debug.assert(V>=0,"Invalid argument: major"),e.Debug.assert(h>=0,"Invalid argument: minor"),e.Debug.assert(F>=0,"Invalid argument: patch");var N=$?e.isArray($)?$:$.split("."):e.emptyArray,J=L?e.isArray(L)?L:L.split("."):e.emptyArray;e.Debug.assert(e.every(N,function(q){return K.test(q)}),"Invalid argument: prerelease"),e.Debug.assert(e.every(J,function(q){return O.test(q)}),"Invalid argument: build"),this.major=V,this.minor=h,this.patch=F,this.prerelease=N,this.build=J}return H.tryParse=function(V){var h=Q(V);if(!!h){var F=h.major,$=h.minor,L=h.patch,P=h.prerelease,N=h.build;return new H(F,$,L,P,N)}},H.prototype.compareTo=function(V){return this===V?0:V===void 0?1:e.compareValues(this.major,V.major)||e.compareValues(this.minor,V.minor)||e.compareValues(this.patch,V.patch)||p(this.prerelease,V.prerelease)},H.prototype.increment=function(V){switch(V){case"major":return new H(this.major+1,0,0);case"minor":return new H(this.major,this.minor+1,0);case"patch":return new H(this.major,this.minor,this.patch+1);default:return e.Debug.assertNever(V)}},H.prototype.with=function(V){var h=V.major,F=h===void 0?this.major:h,$=V.minor,L=$===void 0?this.minor:$,P=V.patch,N=P===void 0?this.patch:P,J=V.prerelease,q=J===void 0?this.prerelease:J,G=V.build,ye=G===void 0?this.build:G;return new H(F,L,N,q,ye)},H.prototype.toString=function(){var V="".concat(this.major,".").concat(this.minor,".").concat(this.patch);return e.some(this.prerelease)&&(V+="-".concat(this.prerelease.join("."))),e.some(this.build)&&(V+="+".concat(this.build.join("."))),V},H.zero=new H(0,0,0,["0"]),H}();e.Version=_e;function Q(H){var V=o.exec(H);if(!!V){var h=V[1],F=V[2],$=F===void 0?"0":F,L=V[3],P=L===void 0?"0":L,N=V[4],J=N===void 0?"":N,q=V[5],G=q===void 0?"":q;if(!(J&&!ne.test(J))&&!(G&&!se.test(G)))return{major:parseInt(h,10),minor:parseInt($,10),patch:parseInt(P,10),prerelease:J,build:G}}}function p(H,V){if(H===V)return 0;if(H.length===0)return V.length===0?0:1;if(V.length===0)return-1;for(var h=Math.min(H.length,V.length),F=0;F|>=|=)?\s*([a-z0-9-+.*]+)$/i;function E(H){for(var V=[],h=0,F=e.trimString(H).split(le);h=",F.version)),y($.major)||h.push(y($.minor)?S("<",$.version.increment("major")):y($.patch)?S("<",$.version.increment("minor")):S("<=",$.version)),!0):!1}function m(H,V,h){var F=I(V);if(!F)return!1;var $=F.version,L=F.major,P=F.minor,N=F.patch;if(y(L))(H==="<"||H===">")&&h.push(S("<",_e.zero));else switch(H){case"~":h.push(S(">=",$)),h.push(S("<",$.increment(y(P)?"major":"minor")));break;case"^":h.push(S(">=",$)),h.push(S("<",$.increment($.major>0||y(P)?"major":$.minor>0||y(N)?"minor":"patch")));break;case"<":case">=":h.push(y(P)||y(N)?S(H,$.with({prerelease:"0"})):S(H,$));break;case"<=":case">":h.push(y(P)?S(H==="<="?"<":">=",$.increment("major").with({prerelease:"0"})):y(N)?S(H==="<="?"<":">=",$.increment("minor").with({prerelease:"0"})):S(H,$));break;case"=":case void 0:y(P)||y(N)?(h.push(S(">=",$.with({prerelease:"0"}))),h.push(S("<",$.increment(y(P)?"major":"minor").with({prerelease:"0"})))):h.push(S("=",$));break;default:return!1}return!0}function y(H){return H==="*"||H==="x"||H==="X"}function S(H,V){return{operator:H,operand:V}}function k(H,V){if(V.length===0)return!0;for(var h=0,F=V;h":return F>0;case">=":return F>=0;case"=":return F===0;default:return e.Debug.assertNever(V)}}function De(H){return e.map(H,X).join(" || ")||"*"}function X(H){return e.map(H,M).join(" ")}function M(H){return"".concat(H.operator).concat(H.operand)}})(fr||(fr={}));var fr;(function(e){function o(_e,Q){return typeof _e=="object"&&typeof _e.timeOrigin=="number"&&typeof _e.mark=="function"&&typeof _e.measure=="function"&&typeof _e.now=="function"&&typeof _e.clearMarks=="function"&&typeof _e.clearMeasures=="function"&&typeof Q=="function"}function ne(){if(typeof performance=="object"&&typeof PerformanceObserver=="function"&&o(performance,PerformanceObserver))return{shouldWriteNativeEvents:!0,performance,PerformanceObserver}}function K(){if(typeof os!="undefined"&&os.nextTick&&!os.browser&&!0)try{var _e,Q=Za(Object(function(){var oe=new Error("Cannot find module 'perf_hooks'");throw oe.code="MODULE_NOT_FOUND",oe}())),p=Q.performance,D=Q.PerformanceObserver;if(o(p,D)){_e=p;var le=new e.Version(os.versions.node),de=new e.VersionRange("<12.16.3 || 13 <13.13");return de.test(le)&&(_e={get timeOrigin(){return p.timeOrigin},now:function(){return p.now()},mark:function(te){return p.mark(te)},measure:function(te,oe,ae){oe===void 0&&(oe="nodeStart"),ae===void 0&&(ae="__performance.measure-fix__",p.mark(ae)),p.measure(te,oe,ae),ae==="__performance.measure-fix__"&&p.clearMarks("__performance.measure-fix__")},clearMarks:function(te){return p.clearMarks(te)},clearMeasures:function(te){return p.clearMeasures(te)}}),{shouldWriteNativeEvents:!1,performance:_e,PerformanceObserver:D}}}catch(te){}}var se=ne()||K(),O=se==null?void 0:se.performance;function ie(){return se}e.tryGetNativePerformanceHooks=ie,e.timestamp=O?function(){return O.now()}:Date.now?Date.now:function(){return+new Date}})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K,se;function O(C,me,De,X){return C?ie(me,De,X):ne.nullTimer}ne.createTimerIf=O;function ie(C,me,De){var X=0;return{enter:M,exit:H};function M(){++X==1&&de(me)}function H(){--X==0?(de(De),te(C,me,De)):X<0&&e.Debug.fail("enter/exit count does not match.")}}ne.createTimer=ie,ne.nullTimer={enter:e.noop,exit:e.noop};var _e=!1,Q=e.timestamp(),p=new e.Map,D=new e.Map,le=new e.Map;function de(C){var me;if(_e){var De=(me=D.get(C))!==null&&me!==void 0?me:0;D.set(C,De+1),p.set(C,e.timestamp()),se==null||se.mark(C)}}ne.mark=de;function te(C,me,De){var X,M;if(_e){var H=(X=De!==void 0?p.get(De):void 0)!==null&&X!==void 0?X:e.timestamp(),V=(M=me!==void 0?p.get(me):void 0)!==null&&M!==void 0?M:Q,h=le.get(C)||0;le.set(C,h+(H-V)),se==null||se.measure(C,me,De)}}ne.measure=te;function oe(C){return D.get(C)||0}ne.getCount=oe;function ae(C){return le.get(C)||0}ne.getDuration=ae;function E(C){le.forEach(function(me,De){return C(De,me)})}ne.forEachMeasure=E;function I(C){p.forEach(function(me,De){return C(De)})}ne.forEachMark=I;function f(C){C!==void 0?le.delete(C):le.clear(),se==null||se.clearMeasures(C)}ne.clearMeasures=f;function m(C){C!==void 0?(D.delete(C),p.delete(C)):(D.clear(),p.clear()),se==null||se.clearMarks(C)}ne.clearMarks=m;function y(){return _e}ne.isEnabled=y;function S(C){var me;return C===void 0&&(C=e.sys),_e||(_e=!0,K||(K=e.tryGetNativePerformanceHooks()),K&&(Q=K.performance.timeOrigin,(K.shouldWriteNativeEvents||((me=C==null?void 0:C.cpuProfilingEnabled)===null||me===void 0?void 0:me.call(C))||(C==null?void 0:C.debugMode))&&(se=K.performance))),!0}ne.enable=S;function k(){_e&&(p.clear(),D.clear(),le.clear(),se=void 0,_e=!1)}ne.disable=k})(o=e.performance||(e.performance={}))})(fr||(fr={}));var fr;(function(e){var o,ne={logEvent:e.noop,logErrEvent:e.noop,logPerfEvent:e.noop,logInfoEvent:e.noop,logStartCommand:e.noop,logStopCommand:e.noop,logStartUpdateProgram:e.noop,logStopUpdateProgram:e.noop,logStartUpdateGraph:e.noop,logStopUpdateGraph:e.noop,logStartResolveModule:e.noop,logStopResolveModule:e.noop,logStartParseSourceFile:e.noop,logStopParseSourceFile:e.noop,logStartReadFile:e.noop,logStopReadFile:e.noop,logStartBindFile:e.noop,logStopBindFile:e.noop,logStartScheduledOperation:e.noop,logStopScheduledOperation:e.noop},K;try{var se=(o={NODE_ENV:"production"}.TS_ETW_MODULE_PATH)!==null&&o!==void 0?o:"./node_modules/@microsoft/typescript-etw";K=Za(13411)(se)}catch(O){K=void 0}e.perfLogger=K&&K.logEvent?K:ne})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K,se=0,O=0,ie,_e=[],Q,p=[];function D(De,X,M){if(e.Debug.assert(!e.tracing,"Tracing already started"),K===void 0)try{K=Za(62715)}catch($){throw new Error(`tracing requires having fs (original error: `.concat($.message||$,")"))}ie=De,_e.length=0,Q===void 0&&(Q=e.combinePaths(X,"legend.json")),K.existsSync(X)||K.mkdirSync(X,{recursive:!0});var H=ie==="build"?".".concat(os.pid,"-").concat(++se):ie==="server"?".".concat(os.pid):"",V=e.combinePaths(X,"trace".concat(H,".json")),h=e.combinePaths(X,"types".concat(H,".json"));p.push({configFilePath:M,tracePath:V,typesPath:h}),O=K.openSync(V,"w"),e.tracing=ne;var F={cat:"__metadata",ph:"M",ts:1e3*e.timestamp(),pid:1,tid:1};K.writeSync(O,`[ `+[vi({name:"process_name",args:{name:"tsc"}},F),vi({name:"thread_name",args:{name:"Main"}},F),vi(vi({name:"TracingStartedInBrowser"},F),{cat:"disabled-by-default-devtools.timeline"})].map(function($){return JSON.stringify($)}).join(`, `))}ne.startTracing=D;function le(){e.Debug.assert(e.tracing,"Tracing is not in progress"),e.Debug.assert(!!_e.length==(ie!=="server")),K.writeSync(O,` ] `),K.closeSync(O),e.tracing=void 0,_e.length?C(_e):p[p.length-1].typesPath=void 0}ne.stopTracing=le;function de(De){ie!=="server"&&_e.push(De)}ne.recordType=de;var te;(function(De){De.Parse="parse",De.Program="program",De.Bind="bind",De.Check="check",De.CheckTypes="checkTypes",De.Emit="emit",De.Session="session"})(te=ne.Phase||(ne.Phase={}));function oe(De,X,M){S("I",De,X,M,'"s":"g"')}ne.instant=oe;var ae=[];function E(De,X,M,H){H===void 0&&(H=!1),H&&S("B",De,X,M),ae.push({phase:De,name:X,args:M,time:1e3*e.timestamp(),separateBeginAndEnd:H})}ne.push=E;function I(De){e.Debug.assert(ae.length>0),y(ae.length-1,1e3*e.timestamp(),De),ae.length--}ne.pop=I;function f(){for(var De=1e3*e.timestamp(),X=ae.length-1;X>=0;X--)y(X,De);ae.length=0}ne.popAll=f;var m=1e3*10;function y(De,X,M){var H=ae[De],V=H.phase,h=H.name,F=H.args,$=H.time,L=H.separateBeginAndEnd;L?(e.Debug.assert(!M,"`results` are not supported for events with `separateBeginAndEnd`"),S("E",V,h,F,void 0,X)):m-$%m<=X-$&&S("X",V,h,vi(vi({},F),{results:M}),'"dur":'.concat(X-$),$)}function S(De,X,M,H,V,h){h===void 0&&(h=1e3*e.timestamp()),!(ie==="server"&&X==="checkTypes")&&(e.performance.mark("beginTracing"),K.writeSync(O,`, {"pid":1,"tid":1,"ph":"`.concat(De,'","cat":"').concat(X,'","ts":').concat(h,',"name":"').concat(M,'"')),V&&K.writeSync(O,",".concat(V)),H&&K.writeSync(O,',"args":'.concat(JSON.stringify(H))),K.writeSync(O,"}"),e.performance.mark("endTracing"),e.performance.measure("Tracing","beginTracing","endTracing"))}function k(De){var X=e.getSourceFileOfNode(De);return X?{path:X.path,start:M(e.getLineAndCharacterOfPosition(X,De.pos)),end:M(e.getLineAndCharacterOfPosition(X,De.end))}:void 0;function M(H){return{line:H.line+1,character:H.character+1}}}function C(De){var X,M,H,V,h,F,$,L,P,N,J,q,G,ye,b,x,T,Z,B,u,A,w;e.performance.mark("beginDumpTypes");var z=p[p.length-1].typesPath,U=K.openSync(z,"w"),ge=new e.Map;K.writeSync(U,"[");for(var pe=De.length,He=0;He=4,Z=os.platform==="linux"||os.platform==="darwin",B=J.platform(),u=Ne(),A=P.realpathSync.native?os.platform==="win32"?t:P.realpathSync.native:P.realpathSync,w=T&&(os.platform==="win32"||os.platform==="darwin"),z=e.memoize(function(){return os.cwd()}),U=X({pollingWatchFileWorker:be,getModifiedTime:ln,setTimeout,clearTimeout,fsWatchWorker:Y,useCaseSensitiveFileNames:u,getCurrentDirectory:z,fileSystemEntryExists:er,fsSupportsRecursiveFsWatch:w,getAccessibleSortedChildDirectories:function(Ur){return Se(Ur).directories},realpath:qr,tscWatchFile:{NODE_ENV:"production"}.TSC_WATCHFILE,useNonPollingWatchers:{NODE_ENV:"production"}.TSC_NONPOLLING_WATCHER,tscWatchDirectory:{NODE_ENV:"production"}.TSC_WATCHDIRECTORY,inodeWatching:Z,sysLog:f}),ge=U.watchFile,pe=U.watchDirectory,He={args:os.argv.slice(2),newLine:J.EOL,useCaseSensitiveFileNames:u,write:function(Ur){os.stdout.write(Ur)},getWidthOfTerminal:function(){return os.stdout.columns},writeOutputIsTTY:function(){return os.stdout.isTTY},readFile:j,writeFile:Ce,watchFile:ge,watchDirectory:pe,resolvePath:function(Ur){return N.resolve(Ur)},fileExists:wr,directoryExists:mr,createDirectory:function(Ur){if(!He.directoryExists(Ur))try{P.mkdirSync(Ur)}catch(Cr){if(Cr.code!=="EEXIST")throw Cr}},getExecutingFilePath:function(){return Ps},getCurrentDirectory:z,getDirectories:Ue,getEnvironmentVariable:function(Ur){return{NODE_ENV:"production"}[Ur]||""},readDirectory:Re,getModifiedTime:ln,setModifiedTime:dr,deleteFile:vr,createHash:q?kr:o,createSHA256Hash:q?kr:void 0,getMemoryUsage:function(){return Za.g.gc&&Za.g.gc(),os.memoryUsage().heapUsed},getFileSize:function(Ur){try{var Cr=Be(Ur);if(Cr==null?void 0:Cr.isFile())return Cr.size}catch(rn){}return 0},exit:function(Ur){Ae(function(){return os.exit(Ur)})},enableCPUProfiler:Me,disableCPUProfiler:Ae,cpuProfilingEnabled:function(){return!!G||e.contains(os.execArgv,"--cpu-prof")||e.contains(os.execArgv,"--prof")},realpath:qr,debugMode:!!{NODE_ENV:"production"}.NODE_INSPECTOR_IPC||!!{NODE_ENV:"production"}.VSCODE_INSPECTOR_OPTIONS||e.some(os.execArgv,function(Ur){return/^--(inspect|debug)(-brk)?(=\d+)?$/i.test(Ur)}),tryEnableSourceMapsForHost:function(){try{Za(43454).install()}catch(Ur){}},setTimeout,clearTimeout,clearScreen:function(){os.stdout.write("c")},setBlocking:function(){os.stdout&&os.stdout._handle&&os.stdout._handle.setBlocking&&os.stdout._handle.setBlocking(!0)},bufferFrom:Xe,base64decode:function(Ur){return Xe(Ur,"base64").toString("utf8")},base64encode:function(Ur){return Xe(Ur).toString("base64")},require:function(Ur,Cr){try{var rn=e.resolveJSModule(Cr,Ur,He);return{module:Za(13411)(rn),modulePath:rn,error:void 0}}catch(Br){return{module:void 0,modulePath:void 0,error:Br}}}};return He;function Be(Ur){return P.statSync(Ur,{throwIfNoEntry:!1})}function Me(Ur,Cr){if(G)return Cr(),!1;var rn=Za(13611);if(!rn||!rn.Session)return Cr(),!1;var Br=new rn.Session;return Br.connect(),Br.post("Profiler.enable",function(){Br.post("Profiler.start",function(){G=Br,ye=Ur,Cr()})}),!0}function Le(Ur){for(var Cr=0,rn=new e.Map,Br=e.normalizeSlashes(Io),pn="file://".concat(e.getRootLength(Br)===1?"":"/").concat(Br),ve=0,or=Ur.nodes;ve=2&&rn[0]===254&&rn[1]===255){Br&=~1;for(var pn=0;pn=2&&rn[0]===255&&rn[1]===254?rn.toString("utf16le",2):Br>=3&&rn[0]===239&&rn[1]===187&&rn[2]===191?rn.toString("utf8",3):rn.toString("utf8")}function j(Ur,Cr){e.perfLogger.logStartReadFile(Ur);var rn=d(Ur,Cr);return e.perfLogger.logStopReadFile(),rn}function Ce(Ur,Cr,rn){e.perfLogger.logEvent("WriteFile: "+Ur),rn&&(Cr=h+Cr);var Br;try{Br=P.openSync(Ur,"w"),P.writeSync(Br,Cr,void 0,"utf8")}finally{Br!==void 0&&P.closeSync(Br)}}function Se(Ur){e.perfLogger.logEvent("ReadDir: "+(Ur||"."));try{for(var Cr=P.readdirSync(Ur||".",{withFileTypes:!0}),rn=[],Br=[],pn=0,ve=Cr;pn0}e.isRootedDiskPath=O;function ie(Me){var Le=E(Me);return Le>0&&Le===Me.length}e.isDiskPathRoot=ie;function _e(Me){return E(Me)!==0}e.pathIsAbsolute=_e;function Q(Me){return/^\.\.?($|[\\/])/.test(Me)}e.pathIsRelative=Q;function p(Me){return!_e(Me)&&!Q(Me)}e.pathIsBareSpecifier=p;function D(Me){return e.stringContains(m(Me),".")}e.hasExtension=D;function le(Me,Le){return Me.length>Le.length&&e.endsWith(Me,Le)}e.fileExtensionIs=le;function de(Me,Le){for(var Ae=0,Xe=Le;Ae0&&K(Me.charCodeAt(Me.length-1))}e.hasTrailingDirectorySeparator=te;function oe(Me){return Me>=97&&Me<=122||Me>=65&&Me<=90}function ae(Me,Le){var Ae=Me.charCodeAt(Le);if(Ae===58)return Le+1;if(Ae===37&&Me.charCodeAt(Le+1)===51){var Xe=Me.charCodeAt(Le+2);if(Xe===97||Xe===65)return Le+3}return-1}function E(Me){if(!Me)return 0;var Le=Me.charCodeAt(0);if(Le===47||Le===92){if(Me.charCodeAt(1)!==Le)return 1;var Ae=Me.indexOf(Le===47?e.directorySeparator:e.altDirectorySeparator,2);return Ae<0?Me.length:Ae+1}if(oe(Le)&&Me.charCodeAt(1)===58){var Xe=Me.charCodeAt(2);if(Xe===47||Xe===92)return 3;if(Me.length===2)return 2}var Ne=Me.indexOf(o);if(Ne!==-1){var Oe=Ne+o.length,be=Me.indexOf(e.directorySeparator,Oe);if(be!==-1){var Y=Me.slice(0,Ne),d=Me.slice(Oe,be);if(Y==="file"&&(d===""||d==="localhost")&&oe(Me.charCodeAt(be+1))){var j=ae(Me,be+2);if(j!==-1){if(Me.charCodeAt(j)===47)return~(j+1);if(j===Me.length)return~j}}return~(be+1)}return~Me.length}return 0}function I(Me){var Le=E(Me);return Le<0?~Le:Le}e.getRootLength=I;function f(Me){Me=X(Me);var Le=I(Me);return Le===Me.length?Me:(Me=J(Me),Me.slice(0,Math.max(Le,Me.lastIndexOf(e.directorySeparator))))}e.getDirectoryPath=f;function m(Me,Le,Ae){Me=X(Me);var Xe=I(Me);if(Xe===Me.length)return"";Me=J(Me);var Ne=Me.slice(Math.max(I(Me),Me.lastIndexOf(e.directorySeparator)+1)),Oe=Le!==void 0&&Ae!==void 0?k(Ne,Le,Ae):void 0;return Oe?Ne.slice(0,Ne.length-Oe.length):Ne}e.getBaseFileName=m;function y(Me,Le,Ae){if(e.startsWith(Le,".")||(Le="."+Le),Me.length>=Le.length&&Me.charCodeAt(Me.length-Le.length)===46){var Xe=Me.slice(Me.length-Le.length);if(Ae(Xe,Le))return Xe}}function S(Me,Le,Ae){if(typeof Le=="string")return y(Me,Le,Ae)||"";for(var Xe=0,Ne=Le;Xe=0?Xe.substring(Ne):""}e.getAnyExtensionFromPath=k;function C(Me,Le){var Ae=Me.substring(0,Le),Xe=Me.substring(Le).split(e.directorySeparator);return Xe.length&&!e.lastOrUndefined(Xe)&&Xe.pop(),zn([Ae],Xe,!0)}function me(Me,Le){return Le===void 0&&(Le=""),Me=H(Le,Me),C(Me,I(Me))}e.getPathComponents=me;function De(Me){if(Me.length===0)return"";var Le=Me[0]&&q(Me[0]);return Le+Me.slice(1).join(e.directorySeparator)}e.getPathFromPathComponents=De;function X(Me){return Me.indexOf("\\")!==-1?Me.replace(ne,e.directorySeparator):Me}e.normalizeSlashes=X;function M(Me){if(!e.some(Me))return[];for(var Le=[Me[0]],Ae=1;Ae1){if(Le[Le.length-1]!==".."){Le.pop();continue}}else if(Le[0])continue}Le.push(Xe)}}return Le}e.reducePathComponents=M;function H(Me){for(var Le=[],Ae=1;Ae0==I(Le)>0,"Paths must either both be absolute or both be relative");var Xe=typeof Ae=="function"?Ae:e.identity,Ne=typeof Ae=="boolean"?Ae:!1,Oe=w(Me,Le,Ne?e.equateStringsCaseInsensitive:e.equateStringsCaseSensitive,Xe);return De(Oe)}e.getRelativePathFromDirectory=z;function U(Me,Le,Ae){return O(Me)?pe(Le,Me,Le,Ae,!1):Me}e.convertToRelativePath=U;function ge(Me,Le,Ae){return G(z(f(Me),Le,Ae))}e.getRelativePathFromFile=ge;function pe(Me,Le,Ae,Xe,Ne){var Oe=w(V(Ae,Me),V(Ae,Le),e.equateStringsCaseSensitive,Xe),be=Oe[0];if(Ne&&O(be)){var Y=be.charAt(0)===e.directorySeparator?"file://":"file:///";Oe[0]=Y+be}return De(Oe)}e.getRelativePathToDirectoryOrUrl=pe;function He(Me,Le){for(;;){var Ae=Le(Me);if(Ae!==void 0)return Ae;var Xe=f(Me);if(Xe===Me)return;Me=Xe}}e.forEachAncestorDirectory=He;function Be(Me){return e.endsWith(Me,"/node_modules")}e.isNodeModulesDirectory=Be})(fr||(fr={}));var fr;(function(e){function o(ne,K,se,O,ie,_e,Q){return{code:ne,category:K,key:se,message:O,reportsUnnecessary:ie,elidedInCompatabilityPyramid:_e,reportsDeprecated:Q}}e.Diagnostics={Unterminated_string_literal:o(1002,e.DiagnosticCategory.Error,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:o(1003,e.DiagnosticCategory.Error,"Identifier_expected_1003","Identifier expected."),_0_expected:o(1005,e.DiagnosticCategory.Error,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:o(1006,e.DiagnosticCategory.Error,"A_file_cannot_have_a_reference_to_itself_1006","A file cannot have a reference to itself."),The_parser_expected_to_find_a_1_to_match_the_0_token_here:o(1007,e.DiagnosticCategory.Error,"The_parser_expected_to_find_a_1_to_match_the_0_token_here_1007","The parser expected to find a '{1}' to match the '{0}' token here."),Trailing_comma_not_allowed:o(1009,e.DiagnosticCategory.Error,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:o(1010,e.DiagnosticCategory.Error,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:o(1011,e.DiagnosticCategory.Error,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:o(1012,e.DiagnosticCategory.Error,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:o(1013,e.DiagnosticCategory.Error,"A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma_1013","A rest parameter or binding pattern may not have a trailing comma."),A_rest_parameter_must_be_last_in_a_parameter_list:o(1014,e.DiagnosticCategory.Error,"A_rest_parameter_must_be_last_in_a_parameter_list_1014","A rest parameter must be last in a parameter list."),Parameter_cannot_have_question_mark_and_initializer:o(1015,e.DiagnosticCategory.Error,"Parameter_cannot_have_question_mark_and_initializer_1015","Parameter cannot have question mark and initializer."),A_required_parameter_cannot_follow_an_optional_parameter:o(1016,e.DiagnosticCategory.Error,"A_required_parameter_cannot_follow_an_optional_parameter_1016","A required parameter cannot follow an optional parameter."),An_index_signature_cannot_have_a_rest_parameter:o(1017,e.DiagnosticCategory.Error,"An_index_signature_cannot_have_a_rest_parameter_1017","An index signature cannot have a rest parameter."),An_index_signature_parameter_cannot_have_an_accessibility_modifier:o(1018,e.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_an_accessibility_modifier_1018","An index signature parameter cannot have an accessibility modifier."),An_index_signature_parameter_cannot_have_a_question_mark:o(1019,e.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_a_question_mark_1019","An index signature parameter cannot have a question mark."),An_index_signature_parameter_cannot_have_an_initializer:o(1020,e.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_an_initializer_1020","An index signature parameter cannot have an initializer."),An_index_signature_must_have_a_type_annotation:o(1021,e.DiagnosticCategory.Error,"An_index_signature_must_have_a_type_annotation_1021","An index signature must have a type annotation."),An_index_signature_parameter_must_have_a_type_annotation:o(1022,e.DiagnosticCategory.Error,"An_index_signature_parameter_must_have_a_type_annotation_1022","An index signature parameter must have a type annotation."),readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature:o(1024,e.DiagnosticCategory.Error,"readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024","'readonly' modifier can only appear on a property declaration or index signature."),An_index_signature_cannot_have_a_trailing_comma:o(1025,e.DiagnosticCategory.Error,"An_index_signature_cannot_have_a_trailing_comma_1025","An index signature cannot have a trailing comma."),Accessibility_modifier_already_seen:o(1028,e.DiagnosticCategory.Error,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:o(1029,e.DiagnosticCategory.Error,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:o(1030,e.DiagnosticCategory.Error,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_class_elements_of_this_kind:o(1031,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_class_elements_of_this_kind_1031","'{0}' modifier cannot appear on class elements of this kind."),super_must_be_followed_by_an_argument_list_or_member_access:o(1034,e.DiagnosticCategory.Error,"super_must_be_followed_by_an_argument_list_or_member_access_1034","'super' must be followed by an argument list or member access."),Only_ambient_modules_can_use_quoted_names:o(1035,e.DiagnosticCategory.Error,"Only_ambient_modules_can_use_quoted_names_1035","Only ambient modules can use quoted names."),Statements_are_not_allowed_in_ambient_contexts:o(1036,e.DiagnosticCategory.Error,"Statements_are_not_allowed_in_ambient_contexts_1036","Statements are not allowed in ambient contexts."),A_declare_modifier_cannot_be_used_in_an_already_ambient_context:o(1038,e.DiagnosticCategory.Error,"A_declare_modifier_cannot_be_used_in_an_already_ambient_context_1038","A 'declare' modifier cannot be used in an already ambient context."),Initializers_are_not_allowed_in_ambient_contexts:o(1039,e.DiagnosticCategory.Error,"Initializers_are_not_allowed_in_ambient_contexts_1039","Initializers are not allowed in ambient contexts."),_0_modifier_cannot_be_used_in_an_ambient_context:o(1040,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_in_an_ambient_context_1040","'{0}' modifier cannot be used in an ambient context."),_0_modifier_cannot_be_used_here:o(1042,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_here_1042","'{0}' modifier cannot be used here."),_0_modifier_cannot_appear_on_a_module_or_namespace_element:o(1044,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044","'{0}' modifier cannot appear on a module or namespace element."),Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier:o(1046,e.DiagnosticCategory.Error,"Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier_1046","Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier."),A_rest_parameter_cannot_be_optional:o(1047,e.DiagnosticCategory.Error,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:o(1048,e.DiagnosticCategory.Error,"A_rest_parameter_cannot_have_an_initializer_1048","A rest parameter cannot have an initializer."),A_set_accessor_must_have_exactly_one_parameter:o(1049,e.DiagnosticCategory.Error,"A_set_accessor_must_have_exactly_one_parameter_1049","A 'set' accessor must have exactly one parameter."),A_set_accessor_cannot_have_an_optional_parameter:o(1051,e.DiagnosticCategory.Error,"A_set_accessor_cannot_have_an_optional_parameter_1051","A 'set' accessor cannot have an optional parameter."),A_set_accessor_parameter_cannot_have_an_initializer:o(1052,e.DiagnosticCategory.Error,"A_set_accessor_parameter_cannot_have_an_initializer_1052","A 'set' accessor parameter cannot have an initializer."),A_set_accessor_cannot_have_rest_parameter:o(1053,e.DiagnosticCategory.Error,"A_set_accessor_cannot_have_rest_parameter_1053","A 'set' accessor cannot have rest parameter."),A_get_accessor_cannot_have_parameters:o(1054,e.DiagnosticCategory.Error,"A_get_accessor_cannot_have_parameters_1054","A 'get' accessor cannot have parameters."),Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value:o(1055,e.DiagnosticCategory.Error,"Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Prom_1055","Type '{0}' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value."),Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher:o(1056,e.DiagnosticCategory.Error,"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056","Accessors are only available when targeting ECMAScript 5 and higher."),The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:o(1058,e.DiagnosticCategory.Error,"The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_t_1058","The return type of an async function must either be a valid promise or must not contain a callable 'then' member."),A_promise_must_have_a_then_method:o(1059,e.DiagnosticCategory.Error,"A_promise_must_have_a_then_method_1059","A promise must have a 'then' method."),The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback:o(1060,e.DiagnosticCategory.Error,"The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback_1060","The first parameter of the 'then' method of a promise must be a callback."),Enum_member_must_have_initializer:o(1061,e.DiagnosticCategory.Error,"Enum_member_must_have_initializer_1061","Enum member must have initializer."),Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method:o(1062,e.DiagnosticCategory.Error,"Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062","Type is referenced directly or indirectly in the fulfillment callback of its own 'then' method."),An_export_assignment_cannot_be_used_in_a_namespace:o(1063,e.DiagnosticCategory.Error,"An_export_assignment_cannot_be_used_in_a_namespace_1063","An export assignment cannot be used in a namespace."),The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0:o(1064,e.DiagnosticCategory.Error,"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_wri_1064","The return type of an async function or method must be the global Promise type. Did you mean to write 'Promise<{0}>'?"),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:o(1066,e.DiagnosticCategory.Error,"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066","In ambient enum declarations member initializer must be constant expression."),Unexpected_token_A_constructor_method_accessor_or_property_was_expected:o(1068,e.DiagnosticCategory.Error,"Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068","Unexpected token. A constructor, method, accessor, or property was expected."),Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces:o(1069,e.DiagnosticCategory.Error,"Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces_1069","Unexpected token. A type parameter name was expected without curly braces."),_0_modifier_cannot_appear_on_a_type_member:o(1070,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_type_member_1070","'{0}' modifier cannot appear on a type member."),_0_modifier_cannot_appear_on_an_index_signature:o(1071,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_an_index_signature_1071","'{0}' modifier cannot appear on an index signature."),A_0_modifier_cannot_be_used_with_an_import_declaration:o(1079,e.DiagnosticCategory.Error,"A_0_modifier_cannot_be_used_with_an_import_declaration_1079","A '{0}' modifier cannot be used with an import declaration."),Invalid_reference_directive_syntax:o(1084,e.DiagnosticCategory.Error,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:o(1085,e.DiagnosticCategory.Error,"Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0_1085","Octal literals are not available when targeting ECMAScript 5 and higher. Use the syntax '{0}'."),_0_modifier_cannot_appear_on_a_constructor_declaration:o(1089,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_constructor_declaration_1089","'{0}' modifier cannot appear on a constructor declaration."),_0_modifier_cannot_appear_on_a_parameter:o(1090,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_parameter_1090","'{0}' modifier cannot appear on a parameter."),Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:o(1091,e.DiagnosticCategory.Error,"Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement_1091","Only a single variable declaration is allowed in a 'for...in' statement."),Type_parameters_cannot_appear_on_a_constructor_declaration:o(1092,e.DiagnosticCategory.Error,"Type_parameters_cannot_appear_on_a_constructor_declaration_1092","Type parameters cannot appear on a constructor declaration."),Type_annotation_cannot_appear_on_a_constructor_declaration:o(1093,e.DiagnosticCategory.Error,"Type_annotation_cannot_appear_on_a_constructor_declaration_1093","Type annotation cannot appear on a constructor declaration."),An_accessor_cannot_have_type_parameters:o(1094,e.DiagnosticCategory.Error,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:o(1095,e.DiagnosticCategory.Error,"A_set_accessor_cannot_have_a_return_type_annotation_1095","A 'set' accessor cannot have a return type annotation."),An_index_signature_must_have_exactly_one_parameter:o(1096,e.DiagnosticCategory.Error,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:o(1097,e.DiagnosticCategory.Error,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:o(1098,e.DiagnosticCategory.Error,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:o(1099,e.DiagnosticCategory.Error,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:o(1100,e.DiagnosticCategory.Error,"Invalid_use_of_0_in_strict_mode_1100","Invalid use of '{0}' in strict mode."),with_statements_are_not_allowed_in_strict_mode:o(1101,e.DiagnosticCategory.Error,"with_statements_are_not_allowed_in_strict_mode_1101","'with' statements are not allowed in strict mode."),delete_cannot_be_called_on_an_identifier_in_strict_mode:o(1102,e.DiagnosticCategory.Error,"delete_cannot_be_called_on_an_identifier_in_strict_mode_1102","'delete' cannot be called on an identifier in strict mode."),for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:o(1103,e.DiagnosticCategory.Error,"for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1103","'for await' loops are only allowed within async functions and at the top levels of modules."),A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement:o(1104,e.DiagnosticCategory.Error,"A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement_1104","A 'continue' statement can only be used within an enclosing iteration statement."),A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:o(1105,e.DiagnosticCategory.Error,"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105","A 'break' statement can only be used within an enclosing iteration or switch statement."),The_left_hand_side_of_a_for_of_statement_may_not_be_async:o(1106,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_may_not_be_async_1106","The left-hand side of a 'for...of' statement may not be 'async'."),Jump_target_cannot_cross_function_boundary:o(1107,e.DiagnosticCategory.Error,"Jump_target_cannot_cross_function_boundary_1107","Jump target cannot cross function boundary."),A_return_statement_can_only_be_used_within_a_function_body:o(1108,e.DiagnosticCategory.Error,"A_return_statement_can_only_be_used_within_a_function_body_1108","A 'return' statement can only be used within a function body."),Expression_expected:o(1109,e.DiagnosticCategory.Error,"Expression_expected_1109","Expression expected."),Type_expected:o(1110,e.DiagnosticCategory.Error,"Type_expected_1110","Type expected."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:o(1113,e.DiagnosticCategory.Error,"A_default_clause_cannot_appear_more_than_once_in_a_switch_statement_1113","A 'default' clause cannot appear more than once in a 'switch' statement."),Duplicate_label_0:o(1114,e.DiagnosticCategory.Error,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:o(1115,e.DiagnosticCategory.Error,"A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement_1115","A 'continue' statement can only jump to a label of an enclosing iteration statement."),A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:o(1116,e.DiagnosticCategory.Error,"A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116","A 'break' statement can only jump to a label of an enclosing statement."),An_object_literal_cannot_have_multiple_properties_with_the_same_name:o(1117,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_properties_with_the_same_name_1117","An object literal cannot have multiple properties with the same name."),An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name:o(1118,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118","An object literal cannot have multiple get/set accessors with the same name."),An_object_literal_cannot_have_property_and_accessor_with_the_same_name:o(1119,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119","An object literal cannot have property and accessor with the same name."),An_export_assignment_cannot_have_modifiers:o(1120,e.DiagnosticCategory.Error,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_in_strict_mode:o(1121,e.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_strict_mode_1121","Octal literals are not allowed in strict mode."),Variable_declaration_list_cannot_be_empty:o(1123,e.DiagnosticCategory.Error,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:o(1124,e.DiagnosticCategory.Error,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:o(1125,e.DiagnosticCategory.Error,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:o(1126,e.DiagnosticCategory.Error,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:o(1127,e.DiagnosticCategory.Error,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:o(1128,e.DiagnosticCategory.Error,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:o(1129,e.DiagnosticCategory.Error,"Statement_expected_1129","Statement expected."),case_or_default_expected:o(1130,e.DiagnosticCategory.Error,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:o(1131,e.DiagnosticCategory.Error,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:o(1132,e.DiagnosticCategory.Error,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:o(1134,e.DiagnosticCategory.Error,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:o(1135,e.DiagnosticCategory.Error,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:o(1136,e.DiagnosticCategory.Error,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:o(1137,e.DiagnosticCategory.Error,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:o(1138,e.DiagnosticCategory.Error,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:o(1139,e.DiagnosticCategory.Error,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:o(1140,e.DiagnosticCategory.Error,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:o(1141,e.DiagnosticCategory.Error,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:o(1142,e.DiagnosticCategory.Error,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:o(1144,e.DiagnosticCategory.Error,"or_expected_1144","'{' or ';' expected."),or_JSX_element_expected:o(1145,e.DiagnosticCategory.Error,"or_JSX_element_expected_1145","'{' or JSX element expected."),Declaration_expected:o(1146,e.DiagnosticCategory.Error,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:o(1147,e.DiagnosticCategory.Error,"Import_declarations_in_a_namespace_cannot_reference_a_module_1147","Import declarations in a namespace cannot reference a module."),Cannot_use_imports_exports_or_module_augmentations_when_module_is_none:o(1148,e.DiagnosticCategory.Error,"Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148","Cannot use imports, exports, or module augmentations when '--module' is 'none'."),File_name_0_differs_from_already_included_file_name_1_only_in_casing:o(1149,e.DiagnosticCategory.Error,"File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149","File name '{0}' differs from already included file name '{1}' only in casing."),const_declarations_must_be_initialized:o(1155,e.DiagnosticCategory.Error,"const_declarations_must_be_initialized_1155","'const' declarations must be initialized."),const_declarations_can_only_be_declared_inside_a_block:o(1156,e.DiagnosticCategory.Error,"const_declarations_can_only_be_declared_inside_a_block_1156","'const' declarations can only be declared inside a block."),let_declarations_can_only_be_declared_inside_a_block:o(1157,e.DiagnosticCategory.Error,"let_declarations_can_only_be_declared_inside_a_block_1157","'let' declarations can only be declared inside a block."),Unterminated_template_literal:o(1160,e.DiagnosticCategory.Error,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:o(1161,e.DiagnosticCategory.Error,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:o(1162,e.DiagnosticCategory.Error,"An_object_member_cannot_be_declared_optional_1162","An object member cannot be declared optional."),A_yield_expression_is_only_allowed_in_a_generator_body:o(1163,e.DiagnosticCategory.Error,"A_yield_expression_is_only_allowed_in_a_generator_body_1163","A 'yield' expression is only allowed in a generator body."),Computed_property_names_are_not_allowed_in_enums:o(1164,e.DiagnosticCategory.Error,"Computed_property_names_are_not_allowed_in_enums_1164","Computed property names are not allowed in enums."),A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:o(1165,e.DiagnosticCategory.Error,"A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165","A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type:o(1166,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_1166","A computed property name in a class property declaration must have a simple literal type or a 'unique symbol' type."),A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:o(1168,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_ty_1168","A computed property name in a method overload must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:o(1169,e.DiagnosticCategory.Error,"A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169","A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:o(1170,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type__1170","A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_comma_expression_is_not_allowed_in_a_computed_property_name:o(1171,e.DiagnosticCategory.Error,"A_comma_expression_is_not_allowed_in_a_computed_property_name_1171","A comma expression is not allowed in a computed property name."),extends_clause_already_seen:o(1172,e.DiagnosticCategory.Error,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:o(1173,e.DiagnosticCategory.Error,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:o(1174,e.DiagnosticCategory.Error,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:o(1175,e.DiagnosticCategory.Error,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:o(1176,e.DiagnosticCategory.Error,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:o(1177,e.DiagnosticCategory.Error,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:o(1178,e.DiagnosticCategory.Error,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:o(1179,e.DiagnosticCategory.Error,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:o(1180,e.DiagnosticCategory.Error,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:o(1181,e.DiagnosticCategory.Error,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:o(1182,e.DiagnosticCategory.Error,"A_destructuring_declaration_must_have_an_initializer_1182","A destructuring declaration must have an initializer."),An_implementation_cannot_be_declared_in_ambient_contexts:o(1183,e.DiagnosticCategory.Error,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:o(1184,e.DiagnosticCategory.Error,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:o(1185,e.DiagnosticCategory.Error,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:o(1186,e.DiagnosticCategory.Error,"A_rest_element_cannot_have_an_initializer_1186","A rest element cannot have an initializer."),A_parameter_property_may_not_be_declared_using_a_binding_pattern:o(1187,e.DiagnosticCategory.Error,"A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187","A parameter property may not be declared using a binding pattern."),Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement:o(1188,e.DiagnosticCategory.Error,"Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement_1188","Only a single variable declaration is allowed in a 'for...of' statement."),The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:o(1189,e.DiagnosticCategory.Error,"The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189","The variable declaration of a 'for...in' statement cannot have an initializer."),The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer:o(1190,e.DiagnosticCategory.Error,"The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190","The variable declaration of a 'for...of' statement cannot have an initializer."),An_import_declaration_cannot_have_modifiers:o(1191,e.DiagnosticCategory.Error,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:o(1192,e.DiagnosticCategory.Error,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:o(1193,e.DiagnosticCategory.Error,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:o(1194,e.DiagnosticCategory.Error,"Export_declarations_are_not_permitted_in_a_namespace_1194","Export declarations are not permitted in a namespace."),export_Asterisk_does_not_re_export_a_default:o(1195,e.DiagnosticCategory.Error,"export_Asterisk_does_not_re_export_a_default_1195","'export *' does not re-export a default."),Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified:o(1196,e.DiagnosticCategory.Error,"Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196","Catch clause variable type annotation must be 'any' or 'unknown' if specified."),Catch_clause_variable_cannot_have_an_initializer:o(1197,e.DiagnosticCategory.Error,"Catch_clause_variable_cannot_have_an_initializer_1197","Catch clause variable cannot have an initializer."),An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive:o(1198,e.DiagnosticCategory.Error,"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198","An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive."),Unterminated_Unicode_escape_sequence:o(1199,e.DiagnosticCategory.Error,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:o(1200,e.DiagnosticCategory.Error,"Line_terminator_not_permitted_before_arrow_1200","Line terminator not permitted before arrow."),Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead:o(1202,e.DiagnosticCategory.Error,"Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202",`Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from "mod"', 'import {a} from "mod"', 'import d from "mod"', or another module format instead.`),Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead:o(1203,e.DiagnosticCategory.Error,"Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203","Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead."),Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type:o(1205,e.DiagnosticCategory.Error,"Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type_1205","Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'."),Decorators_are_not_valid_here:o(1206,e.DiagnosticCategory.Error,"Decorators_are_not_valid_here_1206","Decorators are not valid here."),Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:o(1207,e.DiagnosticCategory.Error,"Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207","Decorators cannot be applied to multiple get/set accessors of the same name."),_0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_import_export_or_an_empty_export_statement_to_make_it_a_module:o(1208,e.DiagnosticCategory.Error,"_0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_imp_1208","'{0}' cannot be compiled under '--isolatedModules' because it is considered a global script file. Add an import, export, or an empty 'export {}' statement to make it a module."),Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0:o(1209,e.DiagnosticCategory.Error,"Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0_1209","Invalid optional chain from new expression. Did you mean to call '{0}()'?"),Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode:o(1210,e.DiagnosticCategory.Error,"Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of__1210","Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of '{0}'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode."),A_class_declaration_without_the_default_modifier_must_have_a_name:o(1211,e.DiagnosticCategory.Error,"A_class_declaration_without_the_default_modifier_must_have_a_name_1211","A class declaration without the 'default' modifier must have a name."),Identifier_expected_0_is_a_reserved_word_in_strict_mode:o(1212,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212","Identifier expected. '{0}' is a reserved word in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:o(1213,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_stric_1213","Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:o(1214,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode_1214","Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode."),Invalid_use_of_0_Modules_are_automatically_in_strict_mode:o(1215,e.DiagnosticCategory.Error,"Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215","Invalid use of '{0}'. Modules are automatically in strict mode."),Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules:o(1216,e.DiagnosticCategory.Error,"Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules_1216","Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules."),Export_assignment_is_not_supported_when_module_flag_is_system:o(1218,e.DiagnosticCategory.Error,"Export_assignment_is_not_supported_when_module_flag_is_system_1218","Export assignment is not supported when '--module' flag is 'system'."),Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning:o(1219,e.DiagnosticCategory.Error,"Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219","Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option in your 'tsconfig' or 'jsconfig' to remove this warning."),Generators_are_not_allowed_in_an_ambient_context:o(1221,e.DiagnosticCategory.Error,"Generators_are_not_allowed_in_an_ambient_context_1221","Generators are not allowed in an ambient context."),An_overload_signature_cannot_be_declared_as_a_generator:o(1222,e.DiagnosticCategory.Error,"An_overload_signature_cannot_be_declared_as_a_generator_1222","An overload signature cannot be declared as a generator."),_0_tag_already_specified:o(1223,e.DiagnosticCategory.Error,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:o(1224,e.DiagnosticCategory.Error,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:o(1225,e.DiagnosticCategory.Error,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:o(1226,e.DiagnosticCategory.Error,"Type_predicate_0_is_not_assignable_to_1_1226","Type predicate '{0}' is not assignable to '{1}'."),Parameter_0_is_not_in_the_same_position_as_parameter_1:o(1227,e.DiagnosticCategory.Error,"Parameter_0_is_not_in_the_same_position_as_parameter_1_1227","Parameter '{0}' is not in the same position as parameter '{1}'."),A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods:o(1228,e.DiagnosticCategory.Error,"A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods_1228","A type predicate is only allowed in return type position for functions and methods."),A_type_predicate_cannot_reference_a_rest_parameter:o(1229,e.DiagnosticCategory.Error,"A_type_predicate_cannot_reference_a_rest_parameter_1229","A type predicate cannot reference a rest parameter."),A_type_predicate_cannot_reference_element_0_in_a_binding_pattern:o(1230,e.DiagnosticCategory.Error,"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230","A type predicate cannot reference element '{0}' in a binding pattern."),An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:o(1231,e.DiagnosticCategory.Error,"An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration_1231","An export assignment must be at the top level of a file or module declaration."),An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module:o(1232,e.DiagnosticCategory.Error,"An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1232","An import declaration can only be used at the top level of a namespace or module."),An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module:o(1233,e.DiagnosticCategory.Error,"An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1233","An export declaration can only be used at the top level of a namespace or module."),An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:o(1234,e.DiagnosticCategory.Error,"An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234","An ambient module declaration is only allowed at the top level in a file."),A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module:o(1235,e.DiagnosticCategory.Error,"A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module_1235","A namespace declaration is only allowed at the top level of a namespace or module."),The_return_type_of_a_property_decorator_function_must_be_either_void_or_any:o(1236,e.DiagnosticCategory.Error,"The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236","The return type of a property decorator function must be either 'void' or 'any'."),The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any:o(1237,e.DiagnosticCategory.Error,"The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237","The return type of a parameter decorator function must be either 'void' or 'any'."),Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression:o(1238,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression_1238","Unable to resolve signature of class decorator when called as an expression."),Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression:o(1239,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression_1239","Unable to resolve signature of parameter decorator when called as an expression."),Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression:o(1240,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression_1240","Unable to resolve signature of property decorator when called as an expression."),Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression:o(1241,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression_1241","Unable to resolve signature of method decorator when called as an expression."),abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration:o(1242,e.DiagnosticCategory.Error,"abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242","'abstract' modifier can only appear on a class, method, or property declaration."),_0_modifier_cannot_be_used_with_1_modifier:o(1243,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_1_modifier_1243","'{0}' modifier cannot be used with '{1}' modifier."),Abstract_methods_can_only_appear_within_an_abstract_class:o(1244,e.DiagnosticCategory.Error,"Abstract_methods_can_only_appear_within_an_abstract_class_1244","Abstract methods can only appear within an abstract class."),Method_0_cannot_have_an_implementation_because_it_is_marked_abstract:o(1245,e.DiagnosticCategory.Error,"Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245","Method '{0}' cannot have an implementation because it is marked abstract."),An_interface_property_cannot_have_an_initializer:o(1246,e.DiagnosticCategory.Error,"An_interface_property_cannot_have_an_initializer_1246","An interface property cannot have an initializer."),A_type_literal_property_cannot_have_an_initializer:o(1247,e.DiagnosticCategory.Error,"A_type_literal_property_cannot_have_an_initializer_1247","A type literal property cannot have an initializer."),A_class_member_cannot_have_the_0_keyword:o(1248,e.DiagnosticCategory.Error,"A_class_member_cannot_have_the_0_keyword_1248","A class member cannot have the '{0}' keyword."),A_decorator_can_only_decorate_a_method_implementation_not_an_overload:o(1249,e.DiagnosticCategory.Error,"A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249","A decorator can only decorate a method implementation, not an overload."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5:o(1250,e.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:o(1251,e.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_d_1251","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:o(1252,e.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_1252","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:o(1254,e.DiagnosticCategory.Error,"A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254","A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),A_definite_assignment_assertion_is_not_permitted_in_this_context:o(1255,e.DiagnosticCategory.Error,"A_definite_assignment_assertion_is_not_permitted_in_this_context_1255","A definite assignment assertion '!' is not permitted in this context."),A_required_element_cannot_follow_an_optional_element:o(1257,e.DiagnosticCategory.Error,"A_required_element_cannot_follow_an_optional_element_1257","A required element cannot follow an optional element."),A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration:o(1258,e.DiagnosticCategory.Error,"A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration_1258","A default export must be at the top level of a file or module declaration."),Module_0_can_only_be_default_imported_using_the_1_flag:o(1259,e.DiagnosticCategory.Error,"Module_0_can_only_be_default_imported_using_the_1_flag_1259","Module '{0}' can only be default-imported using the '{1}' flag"),Keywords_cannot_contain_escape_characters:o(1260,e.DiagnosticCategory.Error,"Keywords_cannot_contain_escape_characters_1260","Keywords cannot contain escape characters."),Already_included_file_name_0_differs_from_file_name_1_only_in_casing:o(1261,e.DiagnosticCategory.Error,"Already_included_file_name_0_differs_from_file_name_1_only_in_casing_1261","Already included file name '{0}' differs from file name '{1}' only in casing."),Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module:o(1262,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module_1262","Identifier expected. '{0}' is a reserved word at the top-level of a module."),Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:o(1263,e.DiagnosticCategory.Error,"Declarations_with_initializers_cannot_also_have_definite_assignment_assertions_1263","Declarations with initializers cannot also have definite assignment assertions."),Declarations_with_definite_assignment_assertions_must_also_have_type_annotations:o(1264,e.DiagnosticCategory.Error,"Declarations_with_definite_assignment_assertions_must_also_have_type_annotations_1264","Declarations with definite assignment assertions must also have type annotations."),A_rest_element_cannot_follow_another_rest_element:o(1265,e.DiagnosticCategory.Error,"A_rest_element_cannot_follow_another_rest_element_1265","A rest element cannot follow another rest element."),An_optional_element_cannot_follow_a_rest_element:o(1266,e.DiagnosticCategory.Error,"An_optional_element_cannot_follow_a_rest_element_1266","An optional element cannot follow a rest element."),Property_0_cannot_have_an_initializer_because_it_is_marked_abstract:o(1267,e.DiagnosticCategory.Error,"Property_0_cannot_have_an_initializer_because_it_is_marked_abstract_1267","Property '{0}' cannot have an initializer because it is marked abstract."),An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type:o(1268,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type_1268","An index signature parameter type must be 'string', 'number', 'symbol', or a template literal type."),Cannot_use_export_import_on_a_type_or_type_only_namespace_when_the_isolatedModules_flag_is_provided:o(1269,e.DiagnosticCategory.Error,"Cannot_use_export_import_on_a_type_or_type_only_namespace_when_the_isolatedModules_flag_is_provided_1269","Cannot use 'export import' on a type or type-only namespace when the '--isolatedModules' flag is provided."),Decorator_function_return_type_0_is_not_assignable_to_type_1:o(1270,e.DiagnosticCategory.Error,"Decorator_function_return_type_0_is_not_assignable_to_type_1_1270","Decorator function return type '{0}' is not assignable to type '{1}'."),Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any:o(1271,e.DiagnosticCategory.Error,"Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any_1271","Decorator function return type is '{0}' but is expected to be 'void' or 'any'."),A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled:o(1272,e.DiagnosticCategory.Error,"A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_w_1272","A type referenced in a decorated signature must be imported with 'import type' or a namespace import when 'isolatedModules' and 'emitDecoratorMetadata' are enabled."),_0_modifier_cannot_appear_on_a_type_parameter:o(1273,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_type_parameter_1273","'{0}' modifier cannot appear on a type parameter"),_0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias:o(1274,e.DiagnosticCategory.Error,"_0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias_1274","'{0}' modifier can only appear on a type parameter of a class, interface or type alias"),accessor_modifier_can_only_appear_on_a_property_declaration:o(1275,e.DiagnosticCategory.Error,"accessor_modifier_can_only_appear_on_a_property_declaration_1275","'accessor' modifier can only appear on a property declaration."),An_accessor_property_cannot_be_declared_optional:o(1276,e.DiagnosticCategory.Error,"An_accessor_property_cannot_be_declared_optional_1276","An 'accessor' property cannot be declared optional."),with_statements_are_not_allowed_in_an_async_function_block:o(1300,e.DiagnosticCategory.Error,"with_statements_are_not_allowed_in_an_async_function_block_1300","'with' statements are not allowed in an async function block."),await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:o(1308,e.DiagnosticCategory.Error,"await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1308","'await' expressions are only allowed within async functions and at the top levels of modules."),The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level:o(1309,e.DiagnosticCategory.Error,"The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level_1309","The current file is a CommonJS module and cannot use 'await' at the top level."),Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern:o(1312,e.DiagnosticCategory.Error,"Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_1312","Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern."),The_body_of_an_if_statement_cannot_be_the_empty_statement:o(1313,e.DiagnosticCategory.Error,"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313","The body of an 'if' statement cannot be the empty statement."),Global_module_exports_may_only_appear_in_module_files:o(1314,e.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_in_module_files_1314","Global module exports may only appear in module files."),Global_module_exports_may_only_appear_in_declaration_files:o(1315,e.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_in_declaration_files_1315","Global module exports may only appear in declaration files."),Global_module_exports_may_only_appear_at_top_level:o(1316,e.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_at_top_level_1316","Global module exports may only appear at top level."),A_parameter_property_cannot_be_declared_using_a_rest_parameter:o(1317,e.DiagnosticCategory.Error,"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317","A parameter property cannot be declared using a rest parameter."),An_abstract_accessor_cannot_have_an_implementation:o(1318,e.DiagnosticCategory.Error,"An_abstract_accessor_cannot_have_an_implementation_1318","An abstract accessor cannot have an implementation."),A_default_export_can_only_be_used_in_an_ECMAScript_style_module:o(1319,e.DiagnosticCategory.Error,"A_default_export_can_only_be_used_in_an_ECMAScript_style_module_1319","A default export can only be used in an ECMAScript-style module."),Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:o(1320,e.DiagnosticCategory.Error,"Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member_1320","Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member."),Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:o(1321,e.DiagnosticCategory.Error,"Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321","Type of 'yield' operand in an async generator must either be a valid promise or must not contain a callable 'then' member."),Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:o(1322,e.DiagnosticCategory.Error,"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322","Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member."),Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_or_nodenext:o(1323,e.DiagnosticCategory.Error,"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd__1323","Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', or 'nodenext'."),Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nodenext:o(1324,e.DiagnosticCategory.Error,"Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nod_1324","Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', or 'nodenext'."),Argument_of_dynamic_import_cannot_be_spread_element:o(1325,e.DiagnosticCategory.Error,"Argument_of_dynamic_import_cannot_be_spread_element_1325","Argument of dynamic import cannot be spread element."),This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments:o(1326,e.DiagnosticCategory.Error,"This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot__1326","This use of 'import' is invalid. 'import()' calls can be written, but they must have parentheses and cannot have type arguments."),String_literal_with_double_quotes_expected:o(1327,e.DiagnosticCategory.Error,"String_literal_with_double_quotes_expected_1327","String literal with double quotes expected."),Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal:o(1328,e.DiagnosticCategory.Error,"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328","Property value can only be string literal, numeric literal, 'true', 'false', 'null', object literal or array literal."),_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0:o(1329,e.DiagnosticCategory.Error,"_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329","'{0}' accepts too few arguments to be used as a decorator here. Did you mean to call it first and write '@{0}()'?"),A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly:o(1330,e.DiagnosticCategory.Error,"A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly_1330","A property of an interface or type literal whose type is a 'unique symbol' type must be 'readonly'."),A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly:o(1331,e.DiagnosticCategory.Error,"A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly_1331","A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'."),A_variable_whose_type_is_a_unique_symbol_type_must_be_const:o(1332,e.DiagnosticCategory.Error,"A_variable_whose_type_is_a_unique_symbol_type_must_be_const_1332","A variable whose type is a 'unique symbol' type must be 'const'."),unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name:o(1333,e.DiagnosticCategory.Error,"unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name_1333","'unique symbol' types may not be used on a variable declaration with a binding name."),unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement:o(1334,e.DiagnosticCategory.Error,"unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334","'unique symbol' types are only allowed on variables in a variable statement."),unique_symbol_types_are_not_allowed_here:o(1335,e.DiagnosticCategory.Error,"unique_symbol_types_are_not_allowed_here_1335","'unique symbol' types are not allowed here."),An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead:o(1337,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_o_1337","An index signature parameter type cannot be a literal type or generic type. Consider using a mapped object type instead."),infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type:o(1338,e.DiagnosticCategory.Error,"infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338","'infer' declarations are only permitted in the 'extends' clause of a conditional type."),Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:o(1339,e.DiagnosticCategory.Error,"Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here_1339","Module '{0}' does not refer to a value, but is used as a value here."),Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0:o(1340,e.DiagnosticCategory.Error,"Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0_1340","Module '{0}' does not refer to a type, but is used as a type here. Did you mean 'typeof import('{0}')'?"),Class_constructor_may_not_be_an_accessor:o(1341,e.DiagnosticCategory.Error,"Class_constructor_may_not_be_an_accessor_1341","Class constructor may not be an accessor."),Type_arguments_cannot_be_used_here:o(1342,e.DiagnosticCategory.Error,"Type_arguments_cannot_be_used_here_1342","Type arguments cannot be used here."),The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_or_nodenext:o(1343,e.DiagnosticCategory.Error,"The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system__1343","The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'."),A_label_is_not_allowed_here:o(1344,e.DiagnosticCategory.Error,"A_label_is_not_allowed_here_1344","'A label is not allowed here."),An_expression_of_type_void_cannot_be_tested_for_truthiness:o(1345,e.DiagnosticCategory.Error,"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345","An expression of type 'void' cannot be tested for truthiness."),This_parameter_is_not_allowed_with_use_strict_directive:o(1346,e.DiagnosticCategory.Error,"This_parameter_is_not_allowed_with_use_strict_directive_1346","This parameter is not allowed with 'use strict' directive."),use_strict_directive_cannot_be_used_with_non_simple_parameter_list:o(1347,e.DiagnosticCategory.Error,"use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347","'use strict' directive cannot be used with non-simple parameter list."),Non_simple_parameter_declared_here:o(1348,e.DiagnosticCategory.Error,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:o(1349,e.DiagnosticCategory.Error,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:o(1350,e.DiagnosticCategory.Message,"Print_the_final_configuration_instead_of_building_1350","Print the final configuration instead of building."),An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal:o(1351,e.DiagnosticCategory.Error,"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351","An identifier or keyword cannot immediately follow a numeric literal."),A_bigint_literal_cannot_use_exponential_notation:o(1352,e.DiagnosticCategory.Error,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:o(1353,e.DiagnosticCategory.Error,"A_bigint_literal_must_be_an_integer_1353","A bigint literal must be an integer."),readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types:o(1354,e.DiagnosticCategory.Error,"readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354","'readonly' type modifier is only permitted on array and tuple literal types."),A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals:o(1355,e.DiagnosticCategory.Error,"A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355","A 'const' assertions can only be applied to references to enum members, or string, number, boolean, array, or object literals."),Did_you_mean_to_mark_this_function_as_async:o(1356,e.DiagnosticCategory.Error,"Did_you_mean_to_mark_this_function_as_async_1356","Did you mean to mark this function as 'async'?"),An_enum_member_name_must_be_followed_by_a_or:o(1357,e.DiagnosticCategory.Error,"An_enum_member_name_must_be_followed_by_a_or_1357","An enum member name must be followed by a ',', '=', or '}'."),Tagged_template_expressions_are_not_permitted_in_an_optional_chain:o(1358,e.DiagnosticCategory.Error,"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358","Tagged template expressions are not permitted in an optional chain."),Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:o(1359,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here_1359","Identifier expected. '{0}' is a reserved word that cannot be used here."),Type_0_does_not_satisfy_the_expected_type_1:o(1360,e.DiagnosticCategory.Error,"Type_0_does_not_satisfy_the_expected_type_1_1360","Type '{0}' does not satisfy the expected type '{1}'."),_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type:o(1361,e.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type_1361","'{0}' cannot be used as a value because it was imported using 'import type'."),_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:o(1362,e.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type_1362","'{0}' cannot be used as a value because it was exported using 'export type'."),A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both:o(1363,e.DiagnosticCategory.Error,"A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both_1363","A type-only import can specify a default import or named bindings, but not both."),Convert_to_type_only_export:o(1364,e.DiagnosticCategory.Message,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:o(1365,e.DiagnosticCategory.Message,"Convert_all_re_exported_types_to_type_only_exports_1365","Convert all re-exported types to type-only exports"),Split_into_two_separate_import_declarations:o(1366,e.DiagnosticCategory.Message,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:o(1367,e.DiagnosticCategory.Message,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Class_constructor_may_not_be_a_generator:o(1368,e.DiagnosticCategory.Error,"Class_constructor_may_not_be_a_generator_1368","Class constructor may not be a generator."),Did_you_mean_0:o(1369,e.DiagnosticCategory.Message,"Did_you_mean_0_1369","Did you mean '{0}'?"),This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error:o(1371,e.DiagnosticCategory.Error,"This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set__1371","This import is never used as a value and must use 'import type' because 'importsNotUsedAsValues' is set to 'error'."),Convert_to_type_only_import:o(1373,e.DiagnosticCategory.Message,"Convert_to_type_only_import_1373","Convert to type-only import"),Convert_all_imports_not_used_as_a_value_to_type_only_imports:o(1374,e.DiagnosticCategory.Message,"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374","Convert all imports not used as a value to type-only imports"),await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:o(1375,e.DiagnosticCategory.Error,"await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_fi_1375","'await' expressions are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),_0_was_imported_here:o(1376,e.DiagnosticCategory.Message,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:o(1377,e.DiagnosticCategory.Message,"_0_was_exported_here_1377","'{0}' was exported here."),Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:o(1378,e.DiagnosticCategory.Error,"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_n_1378","Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher."),An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:o(1379,e.DiagnosticCategory.Error,"An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type_1379","An import alias cannot reference a declaration that was exported using 'export type'."),An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type:o(1380,e.DiagnosticCategory.Error,"An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type_1380","An import alias cannot reference a declaration that was imported using 'import type'."),Unexpected_token_Did_you_mean_or_rbrace:o(1381,e.DiagnosticCategory.Error,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `}`?"),Unexpected_token_Did_you_mean_or_gt:o(1382,e.DiagnosticCategory.Error,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `>`?"),Only_named_exports_may_use_export_type:o(1383,e.DiagnosticCategory.Error,"Only_named_exports_may_use_export_type_1383","Only named exports may use 'export type'."),Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:o(1385,e.DiagnosticCategory.Error,"Function_type_notation_must_be_parenthesized_when_used_in_a_union_type_1385","Function type notation must be parenthesized when used in a union type."),Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:o(1386,e.DiagnosticCategory.Error,"Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type_1386","Constructor type notation must be parenthesized when used in a union type."),Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:o(1387,e.DiagnosticCategory.Error,"Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1387","Function type notation must be parenthesized when used in an intersection type."),Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:o(1388,e.DiagnosticCategory.Error,"Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1388","Constructor type notation must be parenthesized when used in an intersection type."),_0_is_not_allowed_as_a_variable_declaration_name:o(1389,e.DiagnosticCategory.Error,"_0_is_not_allowed_as_a_variable_declaration_name_1389","'{0}' is not allowed as a variable declaration name."),_0_is_not_allowed_as_a_parameter_name:o(1390,e.DiagnosticCategory.Error,"_0_is_not_allowed_as_a_parameter_name_1390","'{0}' is not allowed as a parameter name."),An_import_alias_cannot_use_import_type:o(1392,e.DiagnosticCategory.Error,"An_import_alias_cannot_use_import_type_1392","An import alias cannot use 'import type'"),Imported_via_0_from_file_1:o(1393,e.DiagnosticCategory.Message,"Imported_via_0_from_file_1_1393","Imported via {0} from file '{1}'"),Imported_via_0_from_file_1_with_packageId_2:o(1394,e.DiagnosticCategory.Message,"Imported_via_0_from_file_1_with_packageId_2_1394","Imported via {0} from file '{1}' with packageId '{2}'"),Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions:o(1395,e.DiagnosticCategory.Message,"Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions_1395","Imported via {0} from file '{1}' to import 'importHelpers' as specified in compilerOptions"),Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions:o(1396,e.DiagnosticCategory.Message,"Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions_1396","Imported via {0} from file '{1}' with packageId '{2}' to import 'importHelpers' as specified in compilerOptions"),Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions:o(1397,e.DiagnosticCategory.Message,"Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions_1397","Imported via {0} from file '{1}' to import 'jsx' and 'jsxs' factory functions"),Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions:o(1398,e.DiagnosticCategory.Message,"Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions_1398","Imported via {0} from file '{1}' with packageId '{2}' to import 'jsx' and 'jsxs' factory functions"),File_is_included_via_import_here:o(1399,e.DiagnosticCategory.Message,"File_is_included_via_import_here_1399","File is included via import here."),Referenced_via_0_from_file_1:o(1400,e.DiagnosticCategory.Message,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),File_is_included_via_reference_here:o(1401,e.DiagnosticCategory.Message,"File_is_included_via_reference_here_1401","File is included via reference here."),Type_library_referenced_via_0_from_file_1:o(1402,e.DiagnosticCategory.Message,"Type_library_referenced_via_0_from_file_1_1402","Type library referenced via '{0}' from file '{1}'"),Type_library_referenced_via_0_from_file_1_with_packageId_2:o(1403,e.DiagnosticCategory.Message,"Type_library_referenced_via_0_from_file_1_with_packageId_2_1403","Type library referenced via '{0}' from file '{1}' with packageId '{2}'"),File_is_included_via_type_library_reference_here:o(1404,e.DiagnosticCategory.Message,"File_is_included_via_type_library_reference_here_1404","File is included via type library reference here."),Library_referenced_via_0_from_file_1:o(1405,e.DiagnosticCategory.Message,"Library_referenced_via_0_from_file_1_1405","Library referenced via '{0}' from file '{1}'"),File_is_included_via_library_reference_here:o(1406,e.DiagnosticCategory.Message,"File_is_included_via_library_reference_here_1406","File is included via library reference here."),Matched_by_include_pattern_0_in_1:o(1407,e.DiagnosticCategory.Message,"Matched_by_include_pattern_0_in_1_1407","Matched by include pattern '{0}' in '{1}'"),File_is_matched_by_include_pattern_specified_here:o(1408,e.DiagnosticCategory.Message,"File_is_matched_by_include_pattern_specified_here_1408","File is matched by include pattern specified here."),Part_of_files_list_in_tsconfig_json:o(1409,e.DiagnosticCategory.Message,"Part_of_files_list_in_tsconfig_json_1409","Part of 'files' list in tsconfig.json"),File_is_matched_by_files_list_specified_here:o(1410,e.DiagnosticCategory.Message,"File_is_matched_by_files_list_specified_here_1410","File is matched by 'files' list specified here."),Output_from_referenced_project_0_included_because_1_specified:o(1411,e.DiagnosticCategory.Message,"Output_from_referenced_project_0_included_because_1_specified_1411","Output from referenced project '{0}' included because '{1}' specified"),Output_from_referenced_project_0_included_because_module_is_specified_as_none:o(1412,e.DiagnosticCategory.Message,"Output_from_referenced_project_0_included_because_module_is_specified_as_none_1412","Output from referenced project '{0}' included because '--module' is specified as 'none'"),File_is_output_from_referenced_project_specified_here:o(1413,e.DiagnosticCategory.Message,"File_is_output_from_referenced_project_specified_here_1413","File is output from referenced project specified here."),Source_from_referenced_project_0_included_because_1_specified:o(1414,e.DiagnosticCategory.Message,"Source_from_referenced_project_0_included_because_1_specified_1414","Source from referenced project '{0}' included because '{1}' specified"),Source_from_referenced_project_0_included_because_module_is_specified_as_none:o(1415,e.DiagnosticCategory.Message,"Source_from_referenced_project_0_included_because_module_is_specified_as_none_1415","Source from referenced project '{0}' included because '--module' is specified as 'none'"),File_is_source_from_referenced_project_specified_here:o(1416,e.DiagnosticCategory.Message,"File_is_source_from_referenced_project_specified_here_1416","File is source from referenced project specified here."),Entry_point_of_type_library_0_specified_in_compilerOptions:o(1417,e.DiagnosticCategory.Message,"Entry_point_of_type_library_0_specified_in_compilerOptions_1417","Entry point of type library '{0}' specified in compilerOptions"),Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1:o(1418,e.DiagnosticCategory.Message,"Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1_1418","Entry point of type library '{0}' specified in compilerOptions with packageId '{1}'"),File_is_entry_point_of_type_library_specified_here:o(1419,e.DiagnosticCategory.Message,"File_is_entry_point_of_type_library_specified_here_1419","File is entry point of type library specified here."),Entry_point_for_implicit_type_library_0:o(1420,e.DiagnosticCategory.Message,"Entry_point_for_implicit_type_library_0_1420","Entry point for implicit type library '{0}'"),Entry_point_for_implicit_type_library_0_with_packageId_1:o(1421,e.DiagnosticCategory.Message,"Entry_point_for_implicit_type_library_0_with_packageId_1_1421","Entry point for implicit type library '{0}' with packageId '{1}'"),Library_0_specified_in_compilerOptions:o(1422,e.DiagnosticCategory.Message,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),File_is_library_specified_here:o(1423,e.DiagnosticCategory.Message,"File_is_library_specified_here_1423","File is library specified here."),Default_library:o(1424,e.DiagnosticCategory.Message,"Default_library_1424","Default library"),Default_library_for_target_0:o(1425,e.DiagnosticCategory.Message,"Default_library_for_target_0_1425","Default library for target '{0}'"),File_is_default_library_for_target_specified_here:o(1426,e.DiagnosticCategory.Message,"File_is_default_library_for_target_specified_here_1426","File is default library for target specified here."),Root_file_specified_for_compilation:o(1427,e.DiagnosticCategory.Message,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:o(1428,e.DiagnosticCategory.Message,"File_is_output_of_project_reference_source_0_1428","File is output of project reference source '{0}'"),File_redirects_to_file_0:o(1429,e.DiagnosticCategory.Message,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),The_file_is_in_the_program_because_Colon:o(1430,e.DiagnosticCategory.Message,"The_file_is_in_the_program_because_Colon_1430","The file is in the program because:"),for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:o(1431,e.DiagnosticCategory.Error,"for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_1431","'for await' loops are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:o(1432,e.DiagnosticCategory.Error,"Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_nod_1432","Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher."),Decorators_may_not_be_applied_to_this_parameters:o(1433,e.DiagnosticCategory.Error,"Decorators_may_not_be_applied_to_this_parameters_1433","Decorators may not be applied to 'this' parameters."),Unexpected_keyword_or_identifier:o(1434,e.DiagnosticCategory.Error,"Unexpected_keyword_or_identifier_1434","Unexpected keyword or identifier."),Unknown_keyword_or_identifier_Did_you_mean_0:o(1435,e.DiagnosticCategory.Error,"Unknown_keyword_or_identifier_Did_you_mean_0_1435","Unknown keyword or identifier. Did you mean '{0}'?"),Decorators_must_precede_the_name_and_all_keywords_of_property_declarations:o(1436,e.DiagnosticCategory.Error,"Decorators_must_precede_the_name_and_all_keywords_of_property_declarations_1436","Decorators must precede the name and all keywords of property declarations."),Namespace_must_be_given_a_name:o(1437,e.DiagnosticCategory.Error,"Namespace_must_be_given_a_name_1437","Namespace must be given a name."),Interface_must_be_given_a_name:o(1438,e.DiagnosticCategory.Error,"Interface_must_be_given_a_name_1438","Interface must be given a name."),Type_alias_must_be_given_a_name:o(1439,e.DiagnosticCategory.Error,"Type_alias_must_be_given_a_name_1439","Type alias must be given a name."),Variable_declaration_not_allowed_at_this_location:o(1440,e.DiagnosticCategory.Error,"Variable_declaration_not_allowed_at_this_location_1440","Variable declaration not allowed at this location."),Cannot_start_a_function_call_in_a_type_annotation:o(1441,e.DiagnosticCategory.Error,"Cannot_start_a_function_call_in_a_type_annotation_1441","Cannot start a function call in a type annotation."),Expected_for_property_initializer:o(1442,e.DiagnosticCategory.Error,"Expected_for_property_initializer_1442","Expected '=' for property initializer."),Module_declaration_names_may_only_use_or_quoted_strings:o(1443,e.DiagnosticCategory.Error,"Module_declaration_names_may_only_use_or_quoted_strings_1443",`Module declaration names may only use ' or " quoted strings.`),_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:o(1444,e.DiagnosticCategory.Error,"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedMod_1444","'{0}' is a type and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:o(1446,e.DiagnosticCategory.Error,"_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveVa_1446","'{0}' resolves to a type-only declaration and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_isolatedModules_is_enabled:o(1448,e.DiagnosticCategory.Error,"_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_isol_1448","'{0}' resolves to a type-only declaration and must be re-exported using a type-only re-export when 'isolatedModules' is enabled."),Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed:o(1449,e.DiagnosticCategory.Message,"Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed_1449","Preserve unused imported values in the JavaScript output that would otherwise be removed."),Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments:o(1450,e.DiagnosticCategory.Message,"Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments_1450","Dynamic imports can only accept a module specifier and an optional assertion as arguments"),Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression:o(1451,e.DiagnosticCategory.Error,"Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member__1451","Private identifiers are only allowed in class bodies and may only be used as part of a class member declaration, property access, or on the left-hand-side of an 'in' expression"),resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext:o(1452,e.DiagnosticCategory.Error,"resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext_1452","'resolution-mode' assertions are only supported when `moduleResolution` is `node16` or `nodenext`."),resolution_mode_should_be_either_require_or_import:o(1453,e.DiagnosticCategory.Error,"resolution_mode_should_be_either_require_or_import_1453","`resolution-mode` should be either `require` or `import`."),resolution_mode_can_only_be_set_for_type_only_imports:o(1454,e.DiagnosticCategory.Error,"resolution_mode_can_only_be_set_for_type_only_imports_1454","`resolution-mode` can only be set for type-only imports."),resolution_mode_is_the_only_valid_key_for_type_import_assertions:o(1455,e.DiagnosticCategory.Error,"resolution_mode_is_the_only_valid_key_for_type_import_assertions_1455","`resolution-mode` is the only valid key for type import assertions."),Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require:o(1456,e.DiagnosticCategory.Error,"Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456","Type import assertions should have exactly one key - `resolution-mode` - with value `import` or `require`."),Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk:o(1457,e.DiagnosticCategory.Message,"Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk_1457","Matched by default include pattern '**/*'"),File_is_ECMAScript_module_because_0_has_field_type_with_value_module:o(1458,e.DiagnosticCategory.Message,"File_is_ECMAScript_module_because_0_has_field_type_with_value_module_1458",`File is ECMAScript module because '{0}' has field "type" with value "module"`),File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module:o(1459,e.DiagnosticCategory.Message,"File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module_1459",`File is CommonJS module because '{0}' has field "type" whose value is not "module"`),File_is_CommonJS_module_because_0_does_not_have_field_type:o(1460,e.DiagnosticCategory.Message,"File_is_CommonJS_module_because_0_does_not_have_field_type_1460",`File is CommonJS module because '{0}' does not have field "type"`),File_is_CommonJS_module_because_package_json_was_not_found:o(1461,e.DiagnosticCategory.Message,"File_is_CommonJS_module_because_package_json_was_not_found_1461","File is CommonJS module because 'package.json' was not found"),The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output:o(1470,e.DiagnosticCategory.Error,"The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output_1470","The 'import.meta' meta-property is not allowed in files which will build into CommonJS output."),Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_with_require_Use_an_ECMAScript_import_instead:o(1471,e.DiagnosticCategory.Error,"Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_c_1471","Module '{0}' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported with 'require'. Use an ECMAScript import instead."),catch_or_finally_expected:o(1472,e.DiagnosticCategory.Error,"catch_or_finally_expected_1472","'catch' or 'finally' expected."),An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:o(1473,e.DiagnosticCategory.Error,"An_import_declaration_can_only_be_used_at_the_top_level_of_a_module_1473","An import declaration can only be used at the top level of a module."),An_export_declaration_can_only_be_used_at_the_top_level_of_a_module:o(1474,e.DiagnosticCategory.Error,"An_export_declaration_can_only_be_used_at_the_top_level_of_a_module_1474","An export declaration can only be used at the top level of a module."),Control_what_method_is_used_to_detect_module_format_JS_files:o(1475,e.DiagnosticCategory.Message,"Control_what_method_is_used_to_detect_module_format_JS_files_1475","Control what method is used to detect module-format JS files."),auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules:o(1476,e.DiagnosticCategory.Message,"auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_w_1476",'"auto": Treat files with imports, exports, import.meta, jsx (with jsx: react-jsx), or esm format (with module: node16+) as modules.'),An_instantiation_expression_cannot_be_followed_by_a_property_access:o(1477,e.DiagnosticCategory.Error,"An_instantiation_expression_cannot_be_followed_by_a_property_access_1477","An instantiation expression cannot be followed by a property access."),Identifier_or_string_literal_expected:o(1478,e.DiagnosticCategory.Error,"Identifier_or_string_literal_expected_1478","Identifier or string literal expected."),The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_referenced_file_is_an_ECMAScript_module_and_cannot_be_imported_with_require_Consider_writing_a_dynamic_import_0_call_instead:o(1479,e.DiagnosticCategory.Error,"The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_reference_1479",`The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("{0}")' call instead.`),To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_package_json_file_with_type_Colon_module:o(1480,e.DiagnosticCategory.Message,"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_packag_1480",'To convert this file to an ECMAScript module, change its file extension to \'{0}\' or create a local package.json file with `{ "type": "module" }`.'),To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Colon_module_to_1:o(1481,e.DiagnosticCategory.Message,"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Co_1481",`To convert this file to an ECMAScript module, change its file extension to '{0}', or add the field \`"type": "module"\` to '{1}'.`),To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0:o(1482,e.DiagnosticCategory.Message,"To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0_1482",'To convert this file to an ECMAScript module, add the field `"type": "module"` to \'{0}\'.'),To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module:o(1483,e.DiagnosticCategory.Message,"To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module_1483",'To convert this file to an ECMAScript module, create a local package.json file with `{ "type": "module" }`.'),The_types_of_0_are_incompatible_between_these_types:o(2200,e.DiagnosticCategory.Error,"The_types_of_0_are_incompatible_between_these_types_2200","The types of '{0}' are incompatible between these types."),The_types_returned_by_0_are_incompatible_between_these_types:o(2201,e.DiagnosticCategory.Error,"The_types_returned_by_0_are_incompatible_between_these_types_2201","The types returned by '{0}' are incompatible between these types."),Call_signature_return_types_0_and_1_are_incompatible:o(2202,e.DiagnosticCategory.Error,"Call_signature_return_types_0_and_1_are_incompatible_2202","Call signature return types '{0}' and '{1}' are incompatible.",void 0,!0),Construct_signature_return_types_0_and_1_are_incompatible:o(2203,e.DiagnosticCategory.Error,"Construct_signature_return_types_0_and_1_are_incompatible_2203","Construct signature return types '{0}' and '{1}' are incompatible.",void 0,!0),Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:o(2204,e.DiagnosticCategory.Error,"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204","Call signatures with no arguments have incompatible return types '{0}' and '{1}'.",void 0,!0),Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:o(2205,e.DiagnosticCategory.Error,"Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2205","Construct signatures with no arguments have incompatible return types '{0}' and '{1}'.",void 0,!0),The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement:o(2206,e.DiagnosticCategory.Error,"The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement_2206","The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement."),The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement:o(2207,e.DiagnosticCategory.Error,"The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement_2207","The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement."),This_type_parameter_might_need_an_extends_0_constraint:o(2208,e.DiagnosticCategory.Error,"This_type_parameter_might_need_an_extends_0_constraint_2208","This type parameter might need an `extends {0}` constraint."),The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:o(2209,e.DiagnosticCategory.Error,"The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_roo_2209","The project root is ambiguous, but is required to resolve export map entry '{0}' in file '{1}'. Supply the `rootDir` compiler option to disambiguate."),The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:o(2210,e.DiagnosticCategory.Error,"The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_roo_2210","The project root is ambiguous, but is required to resolve import map entry '{0}' in file '{1}'. Supply the `rootDir` compiler option to disambiguate."),Add_extends_constraint:o(2211,e.DiagnosticCategory.Message,"Add_extends_constraint_2211","Add `extends` constraint."),Add_extends_constraint_to_all_type_parameters:o(2212,e.DiagnosticCategory.Message,"Add_extends_constraint_to_all_type_parameters_2212","Add `extends` constraint to all type parameters"),Duplicate_identifier_0:o(2300,e.DiagnosticCategory.Error,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:o(2301,e.DiagnosticCategory.Error,"Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301","Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),Static_members_cannot_reference_class_type_parameters:o(2302,e.DiagnosticCategory.Error,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:o(2303,e.DiagnosticCategory.Error,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:o(2304,e.DiagnosticCategory.Error,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:o(2305,e.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:o(2306,e.DiagnosticCategory.Error,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:o(2307,e.DiagnosticCategory.Error,"Cannot_find_module_0_or_its_corresponding_type_declarations_2307","Cannot find module '{0}' or its corresponding type declarations."),Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity:o(2308,e.DiagnosticCategory.Error,"Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambig_2308","Module {0} has already exported a member named '{1}'. Consider explicitly re-exporting to resolve the ambiguity."),An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements:o(2309,e.DiagnosticCategory.Error,"An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements_2309","An export assignment cannot be used in a module with other exported elements."),Type_0_recursively_references_itself_as_a_base_type:o(2310,e.DiagnosticCategory.Error,"Type_0_recursively_references_itself_as_a_base_type_2310","Type '{0}' recursively references itself as a base type."),Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function:o(2311,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function_2311","Cannot find name '{0}'. Did you mean to write this in an async function?"),An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members:o(2312,e.DiagnosticCategory.Error,"An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_me_2312","An interface can only extend an object type or intersection of object types with statically known members."),Type_parameter_0_has_a_circular_constraint:o(2313,e.DiagnosticCategory.Error,"Type_parameter_0_has_a_circular_constraint_2313","Type parameter '{0}' has a circular constraint."),Generic_type_0_requires_1_type_argument_s:o(2314,e.DiagnosticCategory.Error,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:o(2315,e.DiagnosticCategory.Error,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:o(2316,e.DiagnosticCategory.Error,"Global_type_0_must_be_a_class_or_interface_type_2316","Global type '{0}' must be a class or interface type."),Global_type_0_must_have_1_type_parameter_s:o(2317,e.DiagnosticCategory.Error,"Global_type_0_must_have_1_type_parameter_s_2317","Global type '{0}' must have {1} type parameter(s)."),Cannot_find_global_type_0:o(2318,e.DiagnosticCategory.Error,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:o(2319,e.DiagnosticCategory.Error,"Named_property_0_of_types_1_and_2_are_not_identical_2319","Named property '{0}' of types '{1}' and '{2}' are not identical."),Interface_0_cannot_simultaneously_extend_types_1_and_2:o(2320,e.DiagnosticCategory.Error,"Interface_0_cannot_simultaneously_extend_types_1_and_2_2320","Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'."),Excessive_stack_depth_comparing_types_0_and_1:o(2321,e.DiagnosticCategory.Error,"Excessive_stack_depth_comparing_types_0_and_1_2321","Excessive stack depth comparing types '{0}' and '{1}'."),Type_0_is_not_assignable_to_type_1:o(2322,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:o(2323,e.DiagnosticCategory.Error,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:o(2324,e.DiagnosticCategory.Error,"Property_0_is_missing_in_type_1_2324","Property '{0}' is missing in type '{1}'."),Property_0_is_private_in_type_1_but_not_in_type_2:o(2325,e.DiagnosticCategory.Error,"Property_0_is_private_in_type_1_but_not_in_type_2_2325","Property '{0}' is private in type '{1}' but not in type '{2}'."),Types_of_property_0_are_incompatible:o(2326,e.DiagnosticCategory.Error,"Types_of_property_0_are_incompatible_2326","Types of property '{0}' are incompatible."),Property_0_is_optional_in_type_1_but_required_in_type_2:o(2327,e.DiagnosticCategory.Error,"Property_0_is_optional_in_type_1_but_required_in_type_2_2327","Property '{0}' is optional in type '{1}' but required in type '{2}'."),Types_of_parameters_0_and_1_are_incompatible:o(2328,e.DiagnosticCategory.Error,"Types_of_parameters_0_and_1_are_incompatible_2328","Types of parameters '{0}' and '{1}' are incompatible."),Index_signature_for_type_0_is_missing_in_type_1:o(2329,e.DiagnosticCategory.Error,"Index_signature_for_type_0_is_missing_in_type_1_2329","Index signature for type '{0}' is missing in type '{1}'."),_0_and_1_index_signatures_are_incompatible:o(2330,e.DiagnosticCategory.Error,"_0_and_1_index_signatures_are_incompatible_2330","'{0}' and '{1}' index signatures are incompatible."),this_cannot_be_referenced_in_a_module_or_namespace_body:o(2331,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_module_or_namespace_body_2331","'this' cannot be referenced in a module or namespace body."),this_cannot_be_referenced_in_current_location:o(2332,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_constructor_arguments:o(2333,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_constructor_arguments_2333","'this' cannot be referenced in constructor arguments."),this_cannot_be_referenced_in_a_static_property_initializer:o(2334,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_static_property_initializer_2334","'this' cannot be referenced in a static property initializer."),super_can_only_be_referenced_in_a_derived_class:o(2335,e.DiagnosticCategory.Error,"super_can_only_be_referenced_in_a_derived_class_2335","'super' can only be referenced in a derived class."),super_cannot_be_referenced_in_constructor_arguments:o(2336,e.DiagnosticCategory.Error,"super_cannot_be_referenced_in_constructor_arguments_2336","'super' cannot be referenced in constructor arguments."),Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors:o(2337,e.DiagnosticCategory.Error,"Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337","Super calls are not permitted outside constructors or in nested functions inside constructors."),super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class:o(2338,e.DiagnosticCategory.Error,"super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_der_2338","'super' property access is permitted only in a constructor, member function, or member accessor of a derived class."),Property_0_does_not_exist_on_type_1:o(2339,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_2339","Property '{0}' does not exist on type '{1}'."),Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword:o(2340,e.DiagnosticCategory.Error,"Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword_2340","Only public and protected methods of the base class are accessible via the 'super' keyword."),Property_0_is_private_and_only_accessible_within_class_1:o(2341,e.DiagnosticCategory.Error,"Property_0_is_private_and_only_accessible_within_class_1_2341","Property '{0}' is private and only accessible within class '{1}'."),This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0:o(2343,e.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_ve_2343","This syntax requires an imported helper named '{1}' which does not exist in '{0}'. Consider upgrading your version of '{0}'."),Type_0_does_not_satisfy_the_constraint_1:o(2344,e.DiagnosticCategory.Error,"Type_0_does_not_satisfy_the_constraint_1_2344","Type '{0}' does not satisfy the constraint '{1}'."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1:o(2345,e.DiagnosticCategory.Error,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345","Argument of type '{0}' is not assignable to parameter of type '{1}'."),Call_target_does_not_contain_any_signatures:o(2346,e.DiagnosticCategory.Error,"Call_target_does_not_contain_any_signatures_2346","Call target does not contain any signatures."),Untyped_function_calls_may_not_accept_type_arguments:o(2347,e.DiagnosticCategory.Error,"Untyped_function_calls_may_not_accept_type_arguments_2347","Untyped function calls may not accept type arguments."),Value_of_type_0_is_not_callable_Did_you_mean_to_include_new:o(2348,e.DiagnosticCategory.Error,"Value_of_type_0_is_not_callable_Did_you_mean_to_include_new_2348","Value of type '{0}' is not callable. Did you mean to include 'new'?"),This_expression_is_not_callable:o(2349,e.DiagnosticCategory.Error,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:o(2350,e.DiagnosticCategory.Error,"Only_a_void_function_can_be_called_with_the_new_keyword_2350","Only a void function can be called with the 'new' keyword."),This_expression_is_not_constructable:o(2351,e.DiagnosticCategory.Error,"This_expression_is_not_constructable_2351","This expression is not constructable."),Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first:o(2352,e.DiagnosticCategory.Error,"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352","Conversion of type '{0}' to type '{1}' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first."),Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1:o(2353,e.DiagnosticCategory.Error,"Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353","Object literal may only specify known properties, and '{0}' does not exist in type '{1}'."),This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found:o(2354,e.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354","This syntax requires an imported helper but module '{0}' cannot be found."),A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value:o(2355,e.DiagnosticCategory.Error,"A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value_2355","A function whose declared type is neither 'void' nor 'any' must return a value."),An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type:o(2356,e.DiagnosticCategory.Error,"An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type_2356","An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type."),The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access:o(2357,e.DiagnosticCategory.Error,"The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357","The operand of an increment or decrement operator must be a variable or a property access."),The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:o(2358,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358","The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter."),The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type:o(2359,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359","The right-hand side of an 'instanceof' expression must be of type 'any' or of a type assignable to the 'Function' interface type."),The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:o(2362,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362","The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:o(2363,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363","The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access:o(2364,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364","The left-hand side of an assignment expression must be a variable or a property access."),Operator_0_cannot_be_applied_to_types_1_and_2:o(2365,e.DiagnosticCategory.Error,"Operator_0_cannot_be_applied_to_types_1_and_2_2365","Operator '{0}' cannot be applied to types '{1}' and '{2}'."),Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined:o(2366,e.DiagnosticCategory.Error,"Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366","Function lacks ending return statement and return type does not include 'undefined'."),This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap:o(2367,e.DiagnosticCategory.Error,"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367","This comparison appears to be unintentional because the types '{0}' and '{1}' have no overlap."),Type_parameter_name_cannot_be_0:o(2368,e.DiagnosticCategory.Error,"Type_parameter_name_cannot_be_0_2368","Type parameter name cannot be '{0}'."),A_parameter_property_is_only_allowed_in_a_constructor_implementation:o(2369,e.DiagnosticCategory.Error,"A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369","A parameter property is only allowed in a constructor implementation."),A_rest_parameter_must_be_of_an_array_type:o(2370,e.DiagnosticCategory.Error,"A_rest_parameter_must_be_of_an_array_type_2370","A rest parameter must be of an array type."),A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation:o(2371,e.DiagnosticCategory.Error,"A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371","A parameter initializer is only allowed in a function or constructor implementation."),Parameter_0_cannot_reference_itself:o(2372,e.DiagnosticCategory.Error,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:o(2373,e.DiagnosticCategory.Error,"Parameter_0_cannot_reference_identifier_1_declared_after_it_2373","Parameter '{0}' cannot reference identifier '{1}' declared after it."),Duplicate_index_signature_for_type_0:o(2374,e.DiagnosticCategory.Error,"Duplicate_index_signature_for_type_0_2374","Duplicate index signature for type '{0}'."),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties:o(2375,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2375","Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."),A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_class_contains_initialized_properties_parameter_properties_or_private_identifiers:o(2376,e.DiagnosticCategory.Error,"A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_2376","A 'super' call must be the first statement in the constructor to refer to 'super' or 'this' when a derived class contains initialized properties, parameter properties, or private identifiers."),Constructors_for_derived_classes_must_contain_a_super_call:o(2377,e.DiagnosticCategory.Error,"Constructors_for_derived_classes_must_contain_a_super_call_2377","Constructors for derived classes must contain a 'super' call."),A_get_accessor_must_return_a_value:o(2378,e.DiagnosticCategory.Error,"A_get_accessor_must_return_a_value_2378","A 'get' accessor must return a value."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties:o(2379,e.DiagnosticCategory.Error,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_tr_2379","Argument of type '{0}' is not assignable to parameter of type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."),The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type:o(2380,e.DiagnosticCategory.Error,"The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type_2380","The return type of a 'get' accessor must be assignable to its 'set' accessor type"),Overload_signatures_must_all_be_exported_or_non_exported:o(2383,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_exported_or_non_exported_2383","Overload signatures must all be exported or non-exported."),Overload_signatures_must_all_be_ambient_or_non_ambient:o(2384,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_ambient_or_non_ambient_2384","Overload signatures must all be ambient or non-ambient."),Overload_signatures_must_all_be_public_private_or_protected:o(2385,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_public_private_or_protected_2385","Overload signatures must all be public, private or protected."),Overload_signatures_must_all_be_optional_or_required:o(2386,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:o(2387,e.DiagnosticCategory.Error,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:o(2388,e.DiagnosticCategory.Error,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:o(2389,e.DiagnosticCategory.Error,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:o(2390,e.DiagnosticCategory.Error,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:o(2391,e.DiagnosticCategory.Error,"Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391","Function implementation is missing or not immediately following the declaration."),Multiple_constructor_implementations_are_not_allowed:o(2392,e.DiagnosticCategory.Error,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:o(2393,e.DiagnosticCategory.Error,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:o(2394,e.DiagnosticCategory.Error,"This_overload_signature_is_not_compatible_with_its_implementation_signature_2394","This overload signature is not compatible with its implementation signature."),Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local:o(2395,e.DiagnosticCategory.Error,"Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local_2395","Individual declarations in merged declaration '{0}' must be all exported or all local."),Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters:o(2396,e.DiagnosticCategory.Error,"Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396","Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters."),Declaration_name_conflicts_with_built_in_global_identifier_0:o(2397,e.DiagnosticCategory.Error,"Declaration_name_conflicts_with_built_in_global_identifier_0_2397","Declaration name conflicts with built-in global identifier '{0}'."),constructor_cannot_be_used_as_a_parameter_property_name:o(2398,e.DiagnosticCategory.Error,"constructor_cannot_be_used_as_a_parameter_property_name_2398","'constructor' cannot be used as a parameter property name."),Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference:o(2399,e.DiagnosticCategory.Error,"Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference_2399","Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference."),Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference:o(2400,e.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400","Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference."),A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_initialized_properties_parameter_properties_or_private_identifiers:o(2401,e.DiagnosticCategory.Error,"A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_in_2401","A 'super' call must be a root-level statement within a constructor of a derived class that contains initialized properties, parameter properties, or private identifiers."),Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:o(2402,e.DiagnosticCategory.Error,"Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402","Expression resolves to '_super' that compiler uses to capture base class reference."),Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2:o(2403,e.DiagnosticCategory.Error,"Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403","Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'."),The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:o(2404,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation_2404","The left-hand side of a 'for...in' statement cannot use a type annotation."),The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any:o(2405,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any_2405","The left-hand side of a 'for...in' statement must be of type 'string' or 'any'."),The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access:o(2406,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access_2406","The left-hand side of a 'for...in' statement must be a variable or a property access."),The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0:o(2407,e.DiagnosticCategory.Error,"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407","The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type '{0}'."),Setters_cannot_return_a_value:o(2408,e.DiagnosticCategory.Error,"Setters_cannot_return_a_value_2408","Setters cannot return a value."),Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class:o(2409,e.DiagnosticCategory.Error,"Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class_2409","Return type of constructor signature must be assignable to the instance type of the class."),The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any:o(2410,e.DiagnosticCategory.Error,"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410","The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'."),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target:o(2412,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2412","Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target."),Property_0_of_type_1_is_not_assignable_to_2_index_type_3:o(2411,e.DiagnosticCategory.Error,"Property_0_of_type_1_is_not_assignable_to_2_index_type_3_2411","Property '{0}' of type '{1}' is not assignable to '{2}' index type '{3}'."),_0_index_type_1_is_not_assignable_to_2_index_type_3:o(2413,e.DiagnosticCategory.Error,"_0_index_type_1_is_not_assignable_to_2_index_type_3_2413","'{0}' index type '{1}' is not assignable to '{2}' index type '{3}'."),Class_name_cannot_be_0:o(2414,e.DiagnosticCategory.Error,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:o(2415,e.DiagnosticCategory.Error,"Class_0_incorrectly_extends_base_class_1_2415","Class '{0}' incorrectly extends base class '{1}'."),Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2:o(2416,e.DiagnosticCategory.Error,"Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416","Property '{0}' in type '{1}' is not assignable to the same property in base type '{2}'."),Class_static_side_0_incorrectly_extends_base_class_static_side_1:o(2417,e.DiagnosticCategory.Error,"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417","Class static side '{0}' incorrectly extends base class static side '{1}'."),Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:o(2418,e.DiagnosticCategory.Error,"Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1_2418","Type of computed property's value is '{0}', which is not assignable to type '{1}'."),Types_of_construct_signatures_are_incompatible:o(2419,e.DiagnosticCategory.Error,"Types_of_construct_signatures_are_incompatible_2419","Types of construct signatures are incompatible."),Class_0_incorrectly_implements_interface_1:o(2420,e.DiagnosticCategory.Error,"Class_0_incorrectly_implements_interface_1_2420","Class '{0}' incorrectly implements interface '{1}'."),A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members:o(2422,e.DiagnosticCategory.Error,"A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_memb_2422","A class can only implement an object type or intersection of object types with statically known members."),Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor:o(2423,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_access_2423","Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor."),Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function:o(2425,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_functi_2425","Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function."),Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:o(2426,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_functi_2426","Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function."),Interface_name_cannot_be_0:o(2427,e.DiagnosticCategory.Error,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:o(2428,e.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_type_parameters_2428","All declarations of '{0}' must have identical type parameters."),Interface_0_incorrectly_extends_interface_1:o(2430,e.DiagnosticCategory.Error,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:o(2431,e.DiagnosticCategory.Error,"Enum_name_cannot_be_0_2431","Enum name cannot be '{0}'."),In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element:o(2432,e.DiagnosticCategory.Error,"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432","In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element."),A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged:o(2433,e.DiagnosticCategory.Error,"A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433","A namespace declaration cannot be in a different file from a class or function with which it is merged."),A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged:o(2434,e.DiagnosticCategory.Error,"A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434","A namespace declaration cannot be located prior to a class or function with which it is merged."),Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces:o(2435,e.DiagnosticCategory.Error,"Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces_2435","Ambient modules cannot be nested in other modules or namespaces."),Ambient_module_declaration_cannot_specify_relative_module_name:o(2436,e.DiagnosticCategory.Error,"Ambient_module_declaration_cannot_specify_relative_module_name_2436","Ambient module declaration cannot specify relative module name."),Module_0_is_hidden_by_a_local_declaration_with_the_same_name:o(2437,e.DiagnosticCategory.Error,"Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437","Module '{0}' is hidden by a local declaration with the same name."),Import_name_cannot_be_0:o(2438,e.DiagnosticCategory.Error,"Import_name_cannot_be_0_2438","Import name cannot be '{0}'."),Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name:o(2439,e.DiagnosticCategory.Error,"Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relati_2439","Import or export declaration in an ambient module declaration cannot reference module through relative module name."),Import_declaration_conflicts_with_local_declaration_of_0:o(2440,e.DiagnosticCategory.Error,"Import_declaration_conflicts_with_local_declaration_of_0_2440","Import declaration conflicts with local declaration of '{0}'."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module:o(2441,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_2441","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module."),Types_have_separate_declarations_of_a_private_property_0:o(2442,e.DiagnosticCategory.Error,"Types_have_separate_declarations_of_a_private_property_0_2442","Types have separate declarations of a private property '{0}'."),Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2:o(2443,e.DiagnosticCategory.Error,"Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2_2443","Property '{0}' is protected but type '{1}' is not a class derived from '{2}'."),Property_0_is_protected_in_type_1_but_public_in_type_2:o(2444,e.DiagnosticCategory.Error,"Property_0_is_protected_in_type_1_but_public_in_type_2_2444","Property '{0}' is protected in type '{1}' but public in type '{2}'."),Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses:o(2445,e.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses_2445","Property '{0}' is protected and only accessible within class '{1}' and its subclasses."),Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2:o(2446,e.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_cl_2446","Property '{0}' is protected and only accessible through an instance of class '{1}'. This is an instance of class '{2}'."),The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead:o(2447,e.DiagnosticCategory.Error,"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447","The '{0}' operator is not allowed for boolean types. Consider using '{1}' instead."),Block_scoped_variable_0_used_before_its_declaration:o(2448,e.DiagnosticCategory.Error,"Block_scoped_variable_0_used_before_its_declaration_2448","Block-scoped variable '{0}' used before its declaration."),Class_0_used_before_its_declaration:o(2449,e.DiagnosticCategory.Error,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:o(2450,e.DiagnosticCategory.Error,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:o(2451,e.DiagnosticCategory.Error,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:o(2452,e.DiagnosticCategory.Error,"An_enum_member_cannot_have_a_numeric_name_2452","An enum member cannot have a numeric name."),Variable_0_is_used_before_being_assigned:o(2454,e.DiagnosticCategory.Error,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_alias_0_circularly_references_itself:o(2456,e.DiagnosticCategory.Error,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:o(2457,e.DiagnosticCategory.Error,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:o(2458,e.DiagnosticCategory.Error,"An_AMD_module_cannot_have_multiple_name_assignments_2458","An AMD module cannot have multiple name assignments."),Module_0_declares_1_locally_but_it_is_not_exported:o(2459,e.DiagnosticCategory.Error,"Module_0_declares_1_locally_but_it_is_not_exported_2459","Module '{0}' declares '{1}' locally, but it is not exported."),Module_0_declares_1_locally_but_it_is_exported_as_2:o(2460,e.DiagnosticCategory.Error,"Module_0_declares_1_locally_but_it_is_exported_as_2_2460","Module '{0}' declares '{1}' locally, but it is exported as '{2}'."),Type_0_is_not_an_array_type:o(2461,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_2461","Type '{0}' is not an array type."),A_rest_element_must_be_last_in_a_destructuring_pattern:o(2462,e.DiagnosticCategory.Error,"A_rest_element_must_be_last_in_a_destructuring_pattern_2462","A rest element must be last in a destructuring pattern."),A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature:o(2463,e.DiagnosticCategory.Error,"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463","A binding pattern parameter cannot be optional in an implementation signature."),A_computed_property_name_must_be_of_type_string_number_symbol_or_any:o(2464,e.DiagnosticCategory.Error,"A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464","A computed property name must be of type 'string', 'number', 'symbol', or 'any'."),this_cannot_be_referenced_in_a_computed_property_name:o(2465,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_computed_property_name_2465","'this' cannot be referenced in a computed property name."),super_cannot_be_referenced_in_a_computed_property_name:o(2466,e.DiagnosticCategory.Error,"super_cannot_be_referenced_in_a_computed_property_name_2466","'super' cannot be referenced in a computed property name."),A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type:o(2467,e.DiagnosticCategory.Error,"A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type_2467","A computed property name cannot reference a type parameter from its containing type."),Cannot_find_global_value_0:o(2468,e.DiagnosticCategory.Error,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:o(2469,e.DiagnosticCategory.Error,"The_0_operator_cannot_be_applied_to_type_symbol_2469","The '{0}' operator cannot be applied to type 'symbol'."),Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher:o(2472,e.DiagnosticCategory.Error,"Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher_2472","Spread operator in 'new' expressions is only available when targeting ECMAScript 5 and higher."),Enum_declarations_must_all_be_const_or_non_const:o(2473,e.DiagnosticCategory.Error,"Enum_declarations_must_all_be_const_or_non_const_2473","Enum declarations must all be const or non-const."),const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values:o(2474,e.DiagnosticCategory.Error,"const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values_2474","const enum member initializers can only contain literal values and other computed enum values."),const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query:o(2475,e.DiagnosticCategory.Error,"const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475","'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment or type query."),A_const_enum_member_can_only_be_accessed_using_a_string_literal:o(2476,e.DiagnosticCategory.Error,"A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476","A const enum member can only be accessed using a string literal."),const_enum_member_initializer_was_evaluated_to_a_non_finite_value:o(2477,e.DiagnosticCategory.Error,"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477","'const' enum member initializer was evaluated to a non-finite value."),const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:o(2478,e.DiagnosticCategory.Error,"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478","'const' enum member initializer was evaluated to disallowed value 'NaN'."),let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:o(2480,e.DiagnosticCategory.Error,"let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480","'let' is not allowed to be used as a name in 'let' or 'const' declarations."),Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1:o(2481,e.DiagnosticCategory.Error,"Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1_2481","Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'."),The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation:o(2483,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation_2483","The left-hand side of a 'for...of' statement cannot use a type annotation."),Export_declaration_conflicts_with_exported_declaration_of_0:o(2484,e.DiagnosticCategory.Error,"Export_declaration_conflicts_with_exported_declaration_of_0_2484","Export declaration conflicts with exported declaration of '{0}'."),The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access:o(2487,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access_2487","The left-hand side of a 'for...of' statement must be a variable or a property access."),Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator:o(2488,e.DiagnosticCategory.Error,"Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488","Type '{0}' must have a '[Symbol.iterator]()' method that returns an iterator."),An_iterator_must_have_a_next_method:o(2489,e.DiagnosticCategory.Error,"An_iterator_must_have_a_next_method_2489","An iterator must have a 'next()' method."),The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property:o(2490,e.DiagnosticCategory.Error,"The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property_2490","The type returned by the '{0}()' method of an iterator must have a 'value' property."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern:o(2491,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern_2491","The left-hand side of a 'for...in' statement cannot be a destructuring pattern."),Cannot_redeclare_identifier_0_in_catch_clause:o(2492,e.DiagnosticCategory.Error,"Cannot_redeclare_identifier_0_in_catch_clause_2492","Cannot redeclare identifier '{0}' in catch clause."),Tuple_type_0_of_length_1_has_no_element_at_index_2:o(2493,e.DiagnosticCategory.Error,"Tuple_type_0_of_length_1_has_no_element_at_index_2_2493","Tuple type '{0}' of length '{1}' has no element at index '{2}'."),Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher:o(2494,e.DiagnosticCategory.Error,"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494","Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher."),Type_0_is_not_an_array_type_or_a_string_type:o(2495,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_2495","Type '{0}' is not an array type or a string type."),The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression:o(2496,e.DiagnosticCategory.Error,"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496","The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression."),This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export:o(2497,e.DiagnosticCategory.Error,"This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_2497","This module can only be referenced with ECMAScript imports/exports by turning on the '{0}' flag and referencing its default export."),Module_0_uses_export_and_cannot_be_used_with_export_Asterisk:o(2498,e.DiagnosticCategory.Error,"Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498","Module '{0}' uses 'export =' and cannot be used with 'export *'."),An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments:o(2499,e.DiagnosticCategory.Error,"An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments_2499","An interface can only extend an identifier/qualified-name with optional type arguments."),A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments:o(2500,e.DiagnosticCategory.Error,"A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments_2500","A class can only implement an identifier/qualified-name with optional type arguments."),A_rest_element_cannot_contain_a_binding_pattern:o(2501,e.DiagnosticCategory.Error,"A_rest_element_cannot_contain_a_binding_pattern_2501","A rest element cannot contain a binding pattern."),_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation:o(2502,e.DiagnosticCategory.Error,"_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation_2502","'{0}' is referenced directly or indirectly in its own type annotation."),Cannot_find_namespace_0:o(2503,e.DiagnosticCategory.Error,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:o(2504,e.DiagnosticCategory.Error,"Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504","Type '{0}' must have a '[Symbol.asyncIterator]()' method that returns an async iterator."),A_generator_cannot_have_a_void_type_annotation:o(2505,e.DiagnosticCategory.Error,"A_generator_cannot_have_a_void_type_annotation_2505","A generator cannot have a 'void' type annotation."),_0_is_referenced_directly_or_indirectly_in_its_own_base_expression:o(2506,e.DiagnosticCategory.Error,"_0_is_referenced_directly_or_indirectly_in_its_own_base_expression_2506","'{0}' is referenced directly or indirectly in its own base expression."),Type_0_is_not_a_constructor_function_type:o(2507,e.DiagnosticCategory.Error,"Type_0_is_not_a_constructor_function_type_2507","Type '{0}' is not a constructor function type."),No_base_constructor_has_the_specified_number_of_type_arguments:o(2508,e.DiagnosticCategory.Error,"No_base_constructor_has_the_specified_number_of_type_arguments_2508","No base constructor has the specified number of type arguments."),Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members:o(2509,e.DiagnosticCategory.Error,"Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_2509","Base constructor return type '{0}' is not an object type or intersection of object types with statically known members."),Base_constructors_must_all_have_the_same_return_type:o(2510,e.DiagnosticCategory.Error,"Base_constructors_must_all_have_the_same_return_type_2510","Base constructors must all have the same return type."),Cannot_create_an_instance_of_an_abstract_class:o(2511,e.DiagnosticCategory.Error,"Cannot_create_an_instance_of_an_abstract_class_2511","Cannot create an instance of an abstract class."),Overload_signatures_must_all_be_abstract_or_non_abstract:o(2512,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_abstract_or_non_abstract_2512","Overload signatures must all be abstract or non-abstract."),Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression:o(2513,e.DiagnosticCategory.Error,"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513","Abstract method '{0}' in class '{1}' cannot be accessed via super expression."),A_tuple_type_cannot_be_indexed_with_a_negative_value:o(2514,e.DiagnosticCategory.Error,"A_tuple_type_cannot_be_indexed_with_a_negative_value_2514","A tuple type cannot be indexed with a negative value."),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:o(2515,e.DiagnosticCategory.Error,"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515","Non-abstract class '{0}' does not implement inherited abstract member '{1}' from class '{2}'."),All_declarations_of_an_abstract_method_must_be_consecutive:o(2516,e.DiagnosticCategory.Error,"All_declarations_of_an_abstract_method_must_be_consecutive_2516","All declarations of an abstract method must be consecutive."),Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type:o(2517,e.DiagnosticCategory.Error,"Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type_2517","Cannot assign an abstract constructor type to a non-abstract constructor type."),A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard:o(2518,e.DiagnosticCategory.Error,"A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518","A 'this'-based type guard is not compatible with a parameter-based type guard."),An_async_iterator_must_have_a_next_method:o(2519,e.DiagnosticCategory.Error,"An_async_iterator_must_have_a_next_method_2519","An async iterator must have a 'next()' method."),Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions:o(2520,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520","Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions."),The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method:o(2522,e.DiagnosticCategory.Error,"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522","The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method."),yield_expressions_cannot_be_used_in_a_parameter_initializer:o(2523,e.DiagnosticCategory.Error,"yield_expressions_cannot_be_used_in_a_parameter_initializer_2523","'yield' expressions cannot be used in a parameter initializer."),await_expressions_cannot_be_used_in_a_parameter_initializer:o(2524,e.DiagnosticCategory.Error,"await_expressions_cannot_be_used_in_a_parameter_initializer_2524","'await' expressions cannot be used in a parameter initializer."),Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value:o(2525,e.DiagnosticCategory.Error,"Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value_2525","Initializer provides no value for this binding element and the binding element has no default value."),A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface:o(2526,e.DiagnosticCategory.Error,"A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526","A 'this' type is available only in a non-static member of a class or interface."),The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary:o(2527,e.DiagnosticCategory.Error,"The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527","The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary."),A_module_cannot_have_multiple_default_exports:o(2528,e.DiagnosticCategory.Error,"A_module_cannot_have_multiple_default_exports_2528","A module cannot have multiple default exports."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions:o(2529,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_func_2529","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions."),Property_0_is_incompatible_with_index_signature:o(2530,e.DiagnosticCategory.Error,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:o(2531,e.DiagnosticCategory.Error,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:o(2532,e.DiagnosticCategory.Error,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:o(2533,e.DiagnosticCategory.Error,"Object_is_possibly_null_or_undefined_2533","Object is possibly 'null' or 'undefined'."),A_function_returning_never_cannot_have_a_reachable_end_point:o(2534,e.DiagnosticCategory.Error,"A_function_returning_never_cannot_have_a_reachable_end_point_2534","A function returning 'never' cannot have a reachable end point."),Enum_type_0_has_members_with_initializers_that_are_not_literals:o(2535,e.DiagnosticCategory.Error,"Enum_type_0_has_members_with_initializers_that_are_not_literals_2535","Enum type '{0}' has members with initializers that are not literals."),Type_0_cannot_be_used_to_index_type_1:o(2536,e.DiagnosticCategory.Error,"Type_0_cannot_be_used_to_index_type_1_2536","Type '{0}' cannot be used to index type '{1}'."),Type_0_has_no_matching_index_signature_for_type_1:o(2537,e.DiagnosticCategory.Error,"Type_0_has_no_matching_index_signature_for_type_1_2537","Type '{0}' has no matching index signature for type '{1}'."),Type_0_cannot_be_used_as_an_index_type:o(2538,e.DiagnosticCategory.Error,"Type_0_cannot_be_used_as_an_index_type_2538","Type '{0}' cannot be used as an index type."),Cannot_assign_to_0_because_it_is_not_a_variable:o(2539,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_not_a_variable_2539","Cannot assign to '{0}' because it is not a variable."),Cannot_assign_to_0_because_it_is_a_read_only_property:o(2540,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_read_only_property_2540","Cannot assign to '{0}' because it is a read-only property."),Index_signature_in_type_0_only_permits_reading:o(2542,e.DiagnosticCategory.Error,"Index_signature_in_type_0_only_permits_reading_2542","Index signature in type '{0}' only permits reading."),Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference:o(2543,e.DiagnosticCategory.Error,"Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_me_2543","Duplicate identifier '_newTarget'. Compiler uses variable declaration '_newTarget' to capture 'new.target' meta-property reference."),Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference:o(2544,e.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta__2544","Expression resolves to variable declaration '_newTarget' that compiler uses to capture 'new.target' meta-property reference."),A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any:o(2545,e.DiagnosticCategory.Error,"A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any_2545","A mixin class must have a constructor with a single rest parameter of type 'any[]'."),The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:o(2547,e.DiagnosticCategory.Error,"The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_pro_2547","The type returned by the '{0}()' method of an async iterator must be a promise for a type with a 'value' property."),Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:o(2548,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator_2548","Type '{0}' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:o(2549,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549","Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2_or_later:o(2550,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_c_2550","Property '{0}' does not exist on type '{1}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{2}' or later."),Property_0_does_not_exist_on_type_1_Did_you_mean_2:o(2551,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Did_you_mean_2_2551","Property '{0}' does not exist on type '{1}'. Did you mean '{2}'?"),Cannot_find_name_0_Did_you_mean_1:o(2552,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_1_2552","Cannot find name '{0}'. Did you mean '{1}'?"),Computed_values_are_not_permitted_in_an_enum_with_string_valued_members:o(2553,e.DiagnosticCategory.Error,"Computed_values_are_not_permitted_in_an_enum_with_string_valued_members_2553","Computed values are not permitted in an enum with string valued members."),Expected_0_arguments_but_got_1:o(2554,e.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:o(2555,e.DiagnosticCategory.Error,"Expected_at_least_0_arguments_but_got_1_2555","Expected at least {0} arguments, but got {1}."),A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter:o(2556,e.DiagnosticCategory.Error,"A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter_2556","A spread argument must either have a tuple type or be passed to a rest parameter."),Expected_0_type_arguments_but_got_1:o(2558,e.DiagnosticCategory.Error,"Expected_0_type_arguments_but_got_1_2558","Expected {0} type arguments, but got {1}."),Type_0_has_no_properties_in_common_with_type_1:o(2559,e.DiagnosticCategory.Error,"Type_0_has_no_properties_in_common_with_type_1_2559","Type '{0}' has no properties in common with type '{1}'."),Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it:o(2560,e.DiagnosticCategory.Error,"Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it_2560","Value of type '{0}' has no properties in common with type '{1}'. Did you mean to call it?"),Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2:o(2561,e.DiagnosticCategory.Error,"Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_writ_2561","Object literal may only specify known properties, but '{0}' does not exist in type '{1}'. Did you mean to write '{2}'?"),Base_class_expressions_cannot_reference_class_type_parameters:o(2562,e.DiagnosticCategory.Error,"Base_class_expressions_cannot_reference_class_type_parameters_2562","Base class expressions cannot reference class type parameters."),The_containing_function_or_module_body_is_too_large_for_control_flow_analysis:o(2563,e.DiagnosticCategory.Error,"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563","The containing function or module body is too large for control flow analysis."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor:o(2564,e.DiagnosticCategory.Error,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564","Property '{0}' has no initializer and is not definitely assigned in the constructor."),Property_0_is_used_before_being_assigned:o(2565,e.DiagnosticCategory.Error,"Property_0_is_used_before_being_assigned_2565","Property '{0}' is used before being assigned."),A_rest_element_cannot_have_a_property_name:o(2566,e.DiagnosticCategory.Error,"A_rest_element_cannot_have_a_property_name_2566","A rest element cannot have a property name."),Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:o(2567,e.DiagnosticCategory.Error,"Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations_2567","Enum declarations can only merge with namespace or other enum declarations."),Property_0_may_not_exist_on_type_1_Did_you_mean_2:o(2568,e.DiagnosticCategory.Error,"Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568","Property '{0}' may not exist on type '{1}'. Did you mean '{2}'?"),Could_not_find_name_0_Did_you_mean_1:o(2570,e.DiagnosticCategory.Error,"Could_not_find_name_0_Did_you_mean_1_2570","Could not find name '{0}'. Did you mean '{1}'?"),Object_is_of_type_unknown:o(2571,e.DiagnosticCategory.Error,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),A_rest_element_type_must_be_an_array_type:o(2574,e.DiagnosticCategory.Error,"A_rest_element_type_must_be_an_array_type_2574","A rest element type must be an array type."),No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments:o(2575,e.DiagnosticCategory.Error,"No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments_2575","No overload expects {0} arguments, but overloads do exist that expect either {1} or {2} arguments."),Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead:o(2576,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead_2576","Property '{0}' does not exist on type '{1}'. Did you mean to access the static member '{2}' instead?"),Return_type_annotation_circularly_references_itself:o(2577,e.DiagnosticCategory.Error,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:o(2578,e.DiagnosticCategory.Error,"Unused_ts_expect_error_directive_2578","Unused '@ts-expect-error' directive."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode:o(2580,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2580","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery:o(2581,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2581","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha:o(2582,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2582","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later:o(2583,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583","Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{1}' or later."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom:o(2584,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2584","Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:o(2585,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_2585","'{0}' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later."),Cannot_assign_to_0_because_it_is_a_constant:o(2588,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_constant_2588","Cannot assign to '{0}' because it is a constant."),Type_instantiation_is_excessively_deep_and_possibly_infinite:o(2589,e.DiagnosticCategory.Error,"Type_instantiation_is_excessively_deep_and_possibly_infinite_2589","Type instantiation is excessively deep and possibly infinite."),Expression_produces_a_union_type_that_is_too_complex_to_represent:o(2590,e.DiagnosticCategory.Error,"Expression_produces_a_union_type_that_is_too_complex_to_represent_2590","Expression produces a union type that is too complex to represent."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig:o(2591,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2591","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig:o(2592,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2592","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery` and then add 'jquery' to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig:o(2593,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2593","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig."),This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag:o(2594,e.DiagnosticCategory.Error,"This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag_2594","This module is declared with 'export =', and can only be used with a default import when using the '{0}' flag."),_0_can_only_be_imported_by_using_a_default_import:o(2595,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_default_import_2595","'{0}' can only be imported by using a default import."),_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:o(2596,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import_2596","'{0}' can only be imported by turning on the 'esModuleInterop' flag and using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:o(2597,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import_2597","'{0}' can only be imported by using a 'require' call or by using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:o(2598,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using__2598","'{0}' can only be imported by using a 'require' call or by turning on the 'esModuleInterop' flag and using a default import."),JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist:o(2602,e.DiagnosticCategory.Error,"JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist_2602","JSX element implicitly has type 'any' because the global type 'JSX.Element' does not exist."),Property_0_in_type_1_is_not_assignable_to_type_2:o(2603,e.DiagnosticCategory.Error,"Property_0_in_type_1_is_not_assignable_to_type_2_2603","Property '{0}' in type '{1}' is not assignable to type '{2}'."),JSX_element_type_0_does_not_have_any_construct_or_call_signatures:o(2604,e.DiagnosticCategory.Error,"JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604","JSX element type '{0}' does not have any construct or call signatures."),Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:o(2606,e.DiagnosticCategory.Error,"Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606","Property '{0}' of JSX spread attribute is not assignable to target property."),JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property:o(2607,e.DiagnosticCategory.Error,"JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property_2607","JSX element class does not support attributes because it does not have a '{0}' property."),The_global_type_JSX_0_may_not_have_more_than_one_property:o(2608,e.DiagnosticCategory.Error,"The_global_type_JSX_0_may_not_have_more_than_one_property_2608","The global type 'JSX.{0}' may not have more than one property."),JSX_spread_child_must_be_an_array_type:o(2609,e.DiagnosticCategory.Error,"JSX_spread_child_must_be_an_array_type_2609","JSX spread child must be an array type."),_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:o(2610,e.DiagnosticCategory.Error,"_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property_2610","'{0}' is defined as an accessor in class '{1}', but is overridden here in '{2}' as an instance property."),_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor:o(2611,e.DiagnosticCategory.Error,"_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor_2611","'{0}' is defined as a property in class '{1}', but is overridden here in '{2}' as an accessor."),Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration:o(2612,e.DiagnosticCategory.Error,"Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_2612","Property '{0}' will overwrite the base property in '{1}'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration."),Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead:o(2613,e.DiagnosticCategory.Error,"Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead_2613","Module '{0}' has no default export. Did you mean to use 'import { {1} } from {0}' instead?"),Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead:o(2614,e.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead_2614","Module '{0}' has no exported member '{1}'. Did you mean to use 'import {1} from {0}' instead?"),Type_of_property_0_circularly_references_itself_in_mapped_type_1:o(2615,e.DiagnosticCategory.Error,"Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615","Type of property '{0}' circularly references itself in mapped type '{1}'."),_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:o(2616,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import_2616","'{0}' can only be imported by using 'import {1} = require({2})' or a default import."),_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:o(2617,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_us_2617","'{0}' can only be imported by using 'import {1} = require({2})' or by turning on the 'esModuleInterop' flag and using a default import."),Source_has_0_element_s_but_target_requires_1:o(2618,e.DiagnosticCategory.Error,"Source_has_0_element_s_but_target_requires_1_2618","Source has {0} element(s) but target requires {1}."),Source_has_0_element_s_but_target_allows_only_1:o(2619,e.DiagnosticCategory.Error,"Source_has_0_element_s_but_target_allows_only_1_2619","Source has {0} element(s) but target allows only {1}."),Target_requires_0_element_s_but_source_may_have_fewer:o(2620,e.DiagnosticCategory.Error,"Target_requires_0_element_s_but_source_may_have_fewer_2620","Target requires {0} element(s) but source may have fewer."),Target_allows_only_0_element_s_but_source_may_have_more:o(2621,e.DiagnosticCategory.Error,"Target_allows_only_0_element_s_but_source_may_have_more_2621","Target allows only {0} element(s) but source may have more."),Source_provides_no_match_for_required_element_at_position_0_in_target:o(2623,e.DiagnosticCategory.Error,"Source_provides_no_match_for_required_element_at_position_0_in_target_2623","Source provides no match for required element at position {0} in target."),Source_provides_no_match_for_variadic_element_at_position_0_in_target:o(2624,e.DiagnosticCategory.Error,"Source_provides_no_match_for_variadic_element_at_position_0_in_target_2624","Source provides no match for variadic element at position {0} in target."),Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target:o(2625,e.DiagnosticCategory.Error,"Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target_2625","Variadic element at position {0} in source does not match element at position {1} in target."),Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target:o(2626,e.DiagnosticCategory.Error,"Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target_2626","Type at position {0} in source is not compatible with type at position {1} in target."),Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target:o(2627,e.DiagnosticCategory.Error,"Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target_2627","Type at positions {0} through {1} in source is not compatible with type at position {2} in target."),Cannot_assign_to_0_because_it_is_an_enum:o(2628,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_an_enum_2628","Cannot assign to '{0}' because it is an enum."),Cannot_assign_to_0_because_it_is_a_class:o(2629,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_class_2629","Cannot assign to '{0}' because it is a class."),Cannot_assign_to_0_because_it_is_a_function:o(2630,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_function_2630","Cannot assign to '{0}' because it is a function."),Cannot_assign_to_0_because_it_is_a_namespace:o(2631,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_namespace_2631","Cannot assign to '{0}' because it is a namespace."),Cannot_assign_to_0_because_it_is_an_import:o(2632,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_an_import_2632","Cannot assign to '{0}' because it is an import."),JSX_property_access_expressions_cannot_include_JSX_namespace_names:o(2633,e.DiagnosticCategory.Error,"JSX_property_access_expressions_cannot_include_JSX_namespace_names_2633","JSX property access expressions cannot include JSX namespace names"),_0_index_signatures_are_incompatible:o(2634,e.DiagnosticCategory.Error,"_0_index_signatures_are_incompatible_2634","'{0}' index signatures are incompatible."),Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable:o(2635,e.DiagnosticCategory.Error,"Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable_2635","Type '{0}' has no signatures for which the type argument list is applicable."),Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation:o(2636,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation_2636","Type '{0}' is not assignable to type '{1}' as implied by variance annotation."),Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types:o(2637,e.DiagnosticCategory.Error,"Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_t_2637","Variance annotations are only supported in type aliases for object, function, constructor, and mapped types."),Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator:o(2638,e.DiagnosticCategory.Error,"Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operato_2638","Type '{0}' may represent a primitive value, which is not permitted as the right operand of the 'in' operator."),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:o(2649,e.DiagnosticCategory.Error,"Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity_2649","Cannot augment module '{0}' with value exports because it resolves to a non-module entity."),A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums:o(2651,e.DiagnosticCategory.Error,"A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_memb_2651","A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums."),Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead:o(2652,e.DiagnosticCategory.Error,"Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_d_2652","Merged declaration '{0}' cannot include a default export declaration. Consider adding a separate 'export default {0}' declaration instead."),Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1:o(2653,e.DiagnosticCategory.Error,"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653","Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'."),JSX_expressions_must_have_one_parent_element:o(2657,e.DiagnosticCategory.Error,"JSX_expressions_must_have_one_parent_element_2657","JSX expressions must have one parent element."),Type_0_provides_no_match_for_the_signature_1:o(2658,e.DiagnosticCategory.Error,"Type_0_provides_no_match_for_the_signature_1_2658","Type '{0}' provides no match for the signature '{1}'."),super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher:o(2659,e.DiagnosticCategory.Error,"super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659","'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher."),super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions:o(2660,e.DiagnosticCategory.Error,"super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660","'super' can only be referenced in members of derived classes or object literal expressions."),Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module:o(2661,e.DiagnosticCategory.Error,"Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module_2661","Cannot export '{0}'. Only local declarations can be exported from a module."),Cannot_find_name_0_Did_you_mean_the_static_member_1_0:o(2662,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662","Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?"),Cannot_find_name_0_Did_you_mean_the_instance_member_this_0:o(2663,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663","Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?"),Invalid_module_name_in_augmentation_module_0_cannot_be_found:o(2664,e.DiagnosticCategory.Error,"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664","Invalid module name in augmentation, module '{0}' cannot be found."),Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented:o(2665,e.DiagnosticCategory.Error,"Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augm_2665","Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented."),Exports_and_export_assignments_are_not_permitted_in_module_augmentations:o(2666,e.DiagnosticCategory.Error,"Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666","Exports and export assignments are not permitted in module augmentations."),Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module:o(2667,e.DiagnosticCategory.Error,"Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667","Imports are not permitted in module augmentations. Consider moving them to the enclosing external module."),export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible:o(2668,e.DiagnosticCategory.Error,"export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always__2668","'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible."),Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:o(2669,e.DiagnosticCategory.Error,"Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669","Augmentations for the global scope can only be directly nested in external modules or ambient module declarations."),Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context:o(2670,e.DiagnosticCategory.Error,"Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670","Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context."),Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity:o(2671,e.DiagnosticCategory.Error,"Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity_2671","Cannot augment module '{0}' because it resolves to a non-module entity."),Cannot_assign_a_0_constructor_type_to_a_1_constructor_type:o(2672,e.DiagnosticCategory.Error,"Cannot_assign_a_0_constructor_type_to_a_1_constructor_type_2672","Cannot assign a '{0}' constructor type to a '{1}' constructor type."),Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration:o(2673,e.DiagnosticCategory.Error,"Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration_2673","Constructor of class '{0}' is private and only accessible within the class declaration."),Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration:o(2674,e.DiagnosticCategory.Error,"Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration_2674","Constructor of class '{0}' is protected and only accessible within the class declaration."),Cannot_extend_a_class_0_Class_constructor_is_marked_as_private:o(2675,e.DiagnosticCategory.Error,"Cannot_extend_a_class_0_Class_constructor_is_marked_as_private_2675","Cannot extend a class '{0}'. Class constructor is marked as private."),Accessors_must_both_be_abstract_or_non_abstract:o(2676,e.DiagnosticCategory.Error,"Accessors_must_both_be_abstract_or_non_abstract_2676","Accessors must both be abstract or non-abstract."),A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type:o(2677,e.DiagnosticCategory.Error,"A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type_2677","A type predicate's type must be assignable to its parameter's type."),Type_0_is_not_comparable_to_type_1:o(2678,e.DiagnosticCategory.Error,"Type_0_is_not_comparable_to_type_1_2678","Type '{0}' is not comparable to type '{1}'."),A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void:o(2679,e.DiagnosticCategory.Error,"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679","A function that is called with the 'new' keyword cannot have a 'this' type that is 'void'."),A_0_parameter_must_be_the_first_parameter:o(2680,e.DiagnosticCategory.Error,"A_0_parameter_must_be_the_first_parameter_2680","A '{0}' parameter must be the first parameter."),A_constructor_cannot_have_a_this_parameter:o(2681,e.DiagnosticCategory.Error,"A_constructor_cannot_have_a_this_parameter_2681","A constructor cannot have a 'this' parameter."),this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:o(2683,e.DiagnosticCategory.Error,"this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_2683","'this' implicitly has type 'any' because it does not have a type annotation."),The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1:o(2684,e.DiagnosticCategory.Error,"The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1_2684","The 'this' context of type '{0}' is not assignable to method's 'this' of type '{1}'."),The_this_types_of_each_signature_are_incompatible:o(2685,e.DiagnosticCategory.Error,"The_this_types_of_each_signature_are_incompatible_2685","The 'this' types of each signature are incompatible."),_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead:o(2686,e.DiagnosticCategory.Error,"_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead_2686","'{0}' refers to a UMD global, but the current file is a module. Consider adding an import instead."),All_declarations_of_0_must_have_identical_modifiers:o(2687,e.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_modifiers_2687","All declarations of '{0}' must have identical modifiers."),Cannot_find_type_definition_file_for_0:o(2688,e.DiagnosticCategory.Error,"Cannot_find_type_definition_file_for_0_2688","Cannot find type definition file for '{0}'."),Cannot_extend_an_interface_0_Did_you_mean_implements:o(2689,e.DiagnosticCategory.Error,"Cannot_extend_an_interface_0_Did_you_mean_implements_2689","Cannot extend an interface '{0}'. Did you mean 'implements'?"),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0:o(2690,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0_2690","'{0}' only refers to a type, but is being used as a value here. Did you mean to use '{1} in {0}'?"),An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead:o(2691,e.DiagnosticCategory.Error,"An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead_2691","An import path cannot end with a '{0}' extension. Consider importing '{1}' instead."),_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible:o(2692,e.DiagnosticCategory.Error,"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692","'{0}' is a primitive, but '{1}' is a wrapper object. Prefer using '{0}' when possible."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here:o(2693,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_2693","'{0}' only refers to a type, but is being used as a value here."),Namespace_0_has_no_exported_member_1:o(2694,e.DiagnosticCategory.Error,"Namespace_0_has_no_exported_member_1_2694","Namespace '{0}' has no exported member '{1}'."),Left_side_of_comma_operator_is_unused_and_has_no_side_effects:o(2695,e.DiagnosticCategory.Error,"Left_side_of_comma_operator_is_unused_and_has_no_side_effects_2695","Left side of comma operator is unused and has no side effects.",!0),The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead:o(2696,e.DiagnosticCategory.Error,"The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead_2696","The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?"),An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:o(2697,e.DiagnosticCategory.Error,"An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_in_2697","An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option."),Spread_types_may_only_be_created_from_object_types:o(2698,e.DiagnosticCategory.Error,"Spread_types_may_only_be_created_from_object_types_2698","Spread types may only be created from object types."),Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1:o(2699,e.DiagnosticCategory.Error,"Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699","Static property '{0}' conflicts with built-in property 'Function.{0}' of constructor function '{1}'."),Rest_types_may_only_be_created_from_object_types:o(2700,e.DiagnosticCategory.Error,"Rest_types_may_only_be_created_from_object_types_2700","Rest types may only be created from object types."),The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:o(2701,e.DiagnosticCategory.Error,"The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access_2701","The target of an object rest assignment must be a variable or a property access."),_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here:o(2702,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702","'{0}' only refers to a type, but is being used as a namespace here."),The_operand_of_a_delete_operator_must_be_a_property_reference:o(2703,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_must_be_a_property_reference_2703","The operand of a 'delete' operator must be a property reference."),The_operand_of_a_delete_operator_cannot_be_a_read_only_property:o(2704,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_cannot_be_a_read_only_property_2704","The operand of a 'delete' operator cannot be a read-only property."),An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:o(2705,e.DiagnosticCategory.Error,"An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_de_2705","An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option."),Required_type_parameters_may_not_follow_optional_type_parameters:o(2706,e.DiagnosticCategory.Error,"Required_type_parameters_may_not_follow_optional_type_parameters_2706","Required type parameters may not follow optional type parameters."),Generic_type_0_requires_between_1_and_2_type_arguments:o(2707,e.DiagnosticCategory.Error,"Generic_type_0_requires_between_1_and_2_type_arguments_2707","Generic type '{0}' requires between {1} and {2} type arguments."),Cannot_use_namespace_0_as_a_value:o(2708,e.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:o(2709,e.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_type_2709","Cannot use namespace '{0}' as a type."),_0_are_specified_twice_The_attribute_named_0_will_be_overwritten:o(2710,e.DiagnosticCategory.Error,"_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710","'{0}' are specified twice. The attribute named '{0}' will be overwritten."),A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:o(2711,e.DiagnosticCategory.Error,"A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES20_2711","A dynamic import call returns a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option."),A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:o(2712,e.DiagnosticCategory.Error,"A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declarat_2712","A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option."),Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1:o(2713,e.DiagnosticCategory.Error,"Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_p_2713",`Cannot access '{0}.{1}' because '{0}' is a type, but not a namespace. Did you mean to retrieve the type of the property '{1}' in '{0}' with '{0}["{1}"]'?`),The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context:o(2714,e.DiagnosticCategory.Error,"The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context_2714","The expression of an export assignment must be an identifier or qualified name in an ambient context."),Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor:o(2715,e.DiagnosticCategory.Error,"Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor_2715","Abstract property '{0}' in class '{1}' cannot be accessed in the constructor."),Type_parameter_0_has_a_circular_default:o(2716,e.DiagnosticCategory.Error,"Type_parameter_0_has_a_circular_default_2716","Type parameter '{0}' has a circular default."),Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:o(2717,e.DiagnosticCategory.Error,"Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_t_2717","Subsequent property declarations must have the same type. Property '{0}' must be of type '{1}', but here has type '{2}'."),Duplicate_property_0:o(2718,e.DiagnosticCategory.Error,"Duplicate_property_0_2718","Duplicate property '{0}'."),Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:o(2719,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_2719","Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated."),Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:o(2720,e.DiagnosticCategory.Error,"Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclas_2720","Class '{0}' incorrectly implements class '{1}'. Did you mean to extend '{1}' and inherit its members as a subclass?"),Cannot_invoke_an_object_which_is_possibly_null:o(2721,e.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_null_2721","Cannot invoke an object which is possibly 'null'."),Cannot_invoke_an_object_which_is_possibly_undefined:o(2722,e.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_undefined_2722","Cannot invoke an object which is possibly 'undefined'."),Cannot_invoke_an_object_which_is_possibly_null_or_undefined:o(2723,e.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_null_or_undefined_2723","Cannot invoke an object which is possibly 'null' or 'undefined'."),_0_has_no_exported_member_named_1_Did_you_mean_2:o(2724,e.DiagnosticCategory.Error,"_0_has_no_exported_member_named_1_Did_you_mean_2_2724","'{0}' has no exported member named '{1}'. Did you mean '{2}'?"),Class_name_cannot_be_Object_when_targeting_ES5_with_module_0:o(2725,e.DiagnosticCategory.Error,"Class_name_cannot_be_Object_when_targeting_ES5_with_module_0_2725","Class name cannot be 'Object' when targeting ES5 with module {0}."),Cannot_find_lib_definition_for_0:o(2726,e.DiagnosticCategory.Error,"Cannot_find_lib_definition_for_0_2726","Cannot find lib definition for '{0}'."),Cannot_find_lib_definition_for_0_Did_you_mean_1:o(2727,e.DiagnosticCategory.Error,"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727","Cannot find lib definition for '{0}'. Did you mean '{1}'?"),_0_is_declared_here:o(2728,e.DiagnosticCategory.Message,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:o(2729,e.DiagnosticCategory.Error,"Property_0_is_used_before_its_initialization_2729","Property '{0}' is used before its initialization."),An_arrow_function_cannot_have_a_this_parameter:o(2730,e.DiagnosticCategory.Error,"An_arrow_function_cannot_have_a_this_parameter_2730","An arrow function cannot have a 'this' parameter."),Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String:o(2731,e.DiagnosticCategory.Error,"Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731","Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Consider wrapping this expression in 'String(...)'."),Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension:o(2732,e.DiagnosticCategory.Error,"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732","Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension."),Property_0_was_also_declared_here:o(2733,e.DiagnosticCategory.Error,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:o(2734,e.DiagnosticCategory.Error,"Are_you_missing_a_semicolon_2734","Are you missing a semicolon?"),Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1:o(2735,e.DiagnosticCategory.Error,"Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1_2735","Did you mean for '{0}' to be constrained to type 'new (...args: any[]) => {1}'?"),Operator_0_cannot_be_applied_to_type_1:o(2736,e.DiagnosticCategory.Error,"Operator_0_cannot_be_applied_to_type_1_2736","Operator '{0}' cannot be applied to type '{1}'."),BigInt_literals_are_not_available_when_targeting_lower_than_ES2020:o(2737,e.DiagnosticCategory.Error,"BigInt_literals_are_not_available_when_targeting_lower_than_ES2020_2737","BigInt literals are not available when targeting lower than ES2020."),An_outer_value_of_this_is_shadowed_by_this_container:o(2738,e.DiagnosticCategory.Message,"An_outer_value_of_this_is_shadowed_by_this_container_2738","An outer value of 'this' is shadowed by this container."),Type_0_is_missing_the_following_properties_from_type_1_Colon_2:o(2739,e.DiagnosticCategory.Error,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_2739","Type '{0}' is missing the following properties from type '{1}': {2}"),Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more:o(2740,e.DiagnosticCategory.Error,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more_2740","Type '{0}' is missing the following properties from type '{1}': {2}, and {3} more."),Property_0_is_missing_in_type_1_but_required_in_type_2:o(2741,e.DiagnosticCategory.Error,"Property_0_is_missing_in_type_1_but_required_in_type_2_2741","Property '{0}' is missing in type '{1}' but required in type '{2}'."),The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary:o(2742,e.DiagnosticCategory.Error,"The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_a_2742","The inferred type of '{0}' cannot be named without a reference to '{1}'. This is likely not portable. A type annotation is necessary."),No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments:o(2743,e.DiagnosticCategory.Error,"No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments_2743","No overload expects {0} type arguments, but overloads do exist that expect either {1} or {2} type arguments."),Type_parameter_defaults_can_only_reference_previously_declared_type_parameters:o(2744,e.DiagnosticCategory.Error,"Type_parameter_defaults_can_only_reference_previously_declared_type_parameters_2744","Type parameter defaults can only reference previously declared type parameters."),This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided:o(2745,e.DiagnosticCategory.Error,"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745","This JSX tag's '{0}' prop expects type '{1}' which requires multiple children, but only a single child was provided."),This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided:o(2746,e.DiagnosticCategory.Error,"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746","This JSX tag's '{0}' prop expects a single child of type '{1}', but multiple children were provided."),_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2:o(2747,e.DiagnosticCategory.Error,"_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_t_2747","'{0}' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of '{1}' is '{2}'."),Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided:o(2748,e.DiagnosticCategory.Error,"Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided_2748","Cannot access ambient const enums when the '--isolatedModules' flag is provided."),_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0:o(2749,e.DiagnosticCategory.Error,"_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0_2749","'{0}' refers to a value, but is being used as a type here. Did you mean 'typeof {0}'?"),The_implementation_signature_is_declared_here:o(2750,e.DiagnosticCategory.Error,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:o(2751,e.DiagnosticCategory.Error,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:o(2752,e.DiagnosticCategory.Error,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:o(2753,e.DiagnosticCategory.Error,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:o(2754,e.DiagnosticCategory.Error,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:o(2755,e.DiagnosticCategory.Error,"No_constituent_of_type_0_is_callable_2755","No constituent of type '{0}' is callable."),Not_all_constituents_of_type_0_are_callable:o(2756,e.DiagnosticCategory.Error,"Not_all_constituents_of_type_0_are_callable_2756","Not all constituents of type '{0}' are callable."),Type_0_has_no_call_signatures:o(2757,e.DiagnosticCategory.Error,"Type_0_has_no_call_signatures_2757","Type '{0}' has no call signatures."),Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:o(2758,e.DiagnosticCategory.Error,"Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_2758","Each member of the union type '{0}' has signatures, but none of those signatures are compatible with each other."),No_constituent_of_type_0_is_constructable:o(2759,e.DiagnosticCategory.Error,"No_constituent_of_type_0_is_constructable_2759","No constituent of type '{0}' is constructable."),Not_all_constituents_of_type_0_are_constructable:o(2760,e.DiagnosticCategory.Error,"Not_all_constituents_of_type_0_are_constructable_2760","Not all constituents of type '{0}' are constructable."),Type_0_has_no_construct_signatures:o(2761,e.DiagnosticCategory.Error,"Type_0_has_no_construct_signatures_2761","Type '{0}' has no construct signatures."),Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other:o(2762,e.DiagnosticCategory.Error,"Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762","Each member of the union type '{0}' has construct signatures, but none of those signatures are compatible with each other."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:o(2763,e.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_s_2763","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but for-of will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:o(2764,e.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_al_2764","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array spread will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:o(2765,e.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring__2765","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array destructuring will always send '{0}'."),Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:o(2766,e.DiagnosticCategory.Error,"Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_co_2766","Cannot delegate iteration to value because the 'next' method of its iterator expects type '{1}', but the containing generator will always send '{0}'."),The_0_property_of_an_iterator_must_be_a_method:o(2767,e.DiagnosticCategory.Error,"The_0_property_of_an_iterator_must_be_a_method_2767","The '{0}' property of an iterator must be a method."),The_0_property_of_an_async_iterator_must_be_a_method:o(2768,e.DiagnosticCategory.Error,"The_0_property_of_an_async_iterator_must_be_a_method_2768","The '{0}' property of an async iterator must be a method."),No_overload_matches_this_call:o(2769,e.DiagnosticCategory.Error,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:o(2770,e.DiagnosticCategory.Error,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:o(2771,e.DiagnosticCategory.Error,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:o(2772,e.DiagnosticCategory.Error,"Overload_0_of_1_2_gave_the_following_error_2772","Overload {0} of {1}, '{2}', gave the following error."),Did_you_forget_to_use_await:o(2773,e.DiagnosticCategory.Error,"Did_you_forget_to_use_await_2773","Did you forget to use 'await'?"),This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead:o(2774,e.DiagnosticCategory.Error,"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774","This condition will always return true since this function is always defined. Did you mean to call it instead?"),Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation:o(2775,e.DiagnosticCategory.Error,"Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation_2775","Assertions require every name in the call target to be declared with an explicit type annotation."),Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name:o(2776,e.DiagnosticCategory.Error,"Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776","Assertions require the call target to be an identifier or qualified name."),The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access:o(2777,e.DiagnosticCategory.Error,"The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access_2777","The operand of an increment or decrement operator may not be an optional property access."),The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:o(2778,e.DiagnosticCategory.Error,"The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access_2778","The target of an object rest assignment may not be an optional property access."),The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access:o(2779,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779","The left-hand side of an assignment expression may not be an optional property access."),The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access:o(2780,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access_2780","The left-hand side of a 'for...in' statement may not be an optional property access."),The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access:o(2781,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access_2781","The left-hand side of a 'for...of' statement may not be an optional property access."),_0_needs_an_explicit_type_annotation:o(2782,e.DiagnosticCategory.Message,"_0_needs_an_explicit_type_annotation_2782","'{0}' needs an explicit type annotation."),_0_is_specified_more_than_once_so_this_usage_will_be_overwritten:o(2783,e.DiagnosticCategory.Error,"_0_is_specified_more_than_once_so_this_usage_will_be_overwritten_2783","'{0}' is specified more than once, so this usage will be overwritten."),get_and_set_accessors_cannot_declare_this_parameters:o(2784,e.DiagnosticCategory.Error,"get_and_set_accessors_cannot_declare_this_parameters_2784","'get' and 'set' accessors cannot declare 'this' parameters."),This_spread_always_overwrites_this_property:o(2785,e.DiagnosticCategory.Error,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:o(2786,e.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_JSX_component_2786","'{0}' cannot be used as a JSX component."),Its_return_type_0_is_not_a_valid_JSX_element:o(2787,e.DiagnosticCategory.Error,"Its_return_type_0_is_not_a_valid_JSX_element_2787","Its return type '{0}' is not a valid JSX element."),Its_instance_type_0_is_not_a_valid_JSX_element:o(2788,e.DiagnosticCategory.Error,"Its_instance_type_0_is_not_a_valid_JSX_element_2788","Its instance type '{0}' is not a valid JSX element."),Its_element_type_0_is_not_a_valid_JSX_element:o(2789,e.DiagnosticCategory.Error,"Its_element_type_0_is_not_a_valid_JSX_element_2789","Its element type '{0}' is not a valid JSX element."),The_operand_of_a_delete_operator_must_be_optional:o(2790,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_must_be_optional_2790","The operand of a 'delete' operator must be optional."),Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later:o(2791,e.DiagnosticCategory.Error,"Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791","Exponentiation cannot be performed on 'bigint' values unless the 'target' option is set to 'es2016' or later."),Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option:o(2792,e.DiagnosticCategory.Error,"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_th_2792","Cannot find module '{0}'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?"),The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible:o(2793,e.DiagnosticCategory.Error,"The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_2793","The call would have succeeded against this implementation, but implementation signatures of overloads are not externally visible."),Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise:o(2794,e.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise_2794","Expected {0} arguments, but got {1}. Did you forget to include 'void' in your type argument to 'Promise'?"),The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types:o(2795,e.DiagnosticCategory.Error,"The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types_2795","The 'intrinsic' keyword can only be used to declare compiler provided intrinsic types."),It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tagged_template_expression_which_cannot_be_invoked:o(2796,e.DiagnosticCategory.Error,"It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tag_2796","It is likely that you are missing a comma to separate these two template expressions. They form a tagged template expression which cannot be invoked."),A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract:o(2797,e.DiagnosticCategory.Error,"A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_2797","A mixin class that extends from a type variable containing an abstract construct signature must also be declared 'abstract'."),The_declaration_was_marked_as_deprecated_here:o(2798,e.DiagnosticCategory.Error,"The_declaration_was_marked_as_deprecated_here_2798","The declaration was marked as deprecated here."),Type_produces_a_tuple_type_that_is_too_large_to_represent:o(2799,e.DiagnosticCategory.Error,"Type_produces_a_tuple_type_that_is_too_large_to_represent_2799","Type produces a tuple type that is too large to represent."),Expression_produces_a_tuple_type_that_is_too_large_to_represent:o(2800,e.DiagnosticCategory.Error,"Expression_produces_a_tuple_type_that_is_too_large_to_represent_2800","Expression produces a tuple type that is too large to represent."),This_condition_will_always_return_true_since_this_0_is_always_defined:o(2801,e.DiagnosticCategory.Error,"This_condition_will_always_return_true_since_this_0_is_always_defined_2801","This condition will always return true since this '{0}' is always defined."),Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher:o(2802,e.DiagnosticCategory.Error,"Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es201_2802","Type '{0}' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher."),Cannot_assign_to_private_method_0_Private_methods_are_not_writable:o(2803,e.DiagnosticCategory.Error,"Cannot_assign_to_private_method_0_Private_methods_are_not_writable_2803","Cannot assign to private method '{0}'. Private methods are not writable."),Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name:o(2804,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name_2804","Duplicate identifier '{0}'. Static and instance elements cannot share the same private name."),Private_accessor_was_defined_without_a_getter:o(2806,e.DiagnosticCategory.Error,"Private_accessor_was_defined_without_a_getter_2806","Private accessor was defined without a getter."),This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0:o(2807,e.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_o_2807","This syntax requires an imported helper named '{1}' with {2} parameters, which is not compatible with the one in '{0}'. Consider upgrading your version of '{0}'."),A_get_accessor_must_be_at_least_as_accessible_as_the_setter:o(2808,e.DiagnosticCategory.Error,"A_get_accessor_must_be_at_least_as_accessible_as_the_setter_2808","A get accessor must be at least as accessible as the setter"),Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_the_whole_assignment_in_parentheses:o(2809,e.DiagnosticCategory.Error,"Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_d_2809","Declaration or statement expected. This '=' follows a block of statements, so if you intended to write a destructuring assignment, you might need to wrap the the whole assignment in parentheses."),Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments:o(2810,e.DiagnosticCategory.Error,"Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_2810","Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments."),Initializer_for_property_0:o(2811,e.DiagnosticCategory.Error,"Initializer_for_property_0_2811","Initializer for property '{0}'"),Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:o(2812,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom_2812","Property '{0}' does not exist on type '{1}'. Try changing the 'lib' compiler option to include 'dom'."),Class_declaration_cannot_implement_overload_list_for_0:o(2813,e.DiagnosticCategory.Error,"Class_declaration_cannot_implement_overload_list_for_0_2813","Class declaration cannot implement overload list for '{0}'."),Function_with_bodies_can_only_merge_with_classes_that_are_ambient:o(2814,e.DiagnosticCategory.Error,"Function_with_bodies_can_only_merge_with_classes_that_are_ambient_2814","Function with bodies can only merge with classes that are ambient."),arguments_cannot_be_referenced_in_property_initializers:o(2815,e.DiagnosticCategory.Error,"arguments_cannot_be_referenced_in_property_initializers_2815","'arguments' cannot be referenced in property initializers."),Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class:o(2816,e.DiagnosticCategory.Error,"Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class_2816","Cannot use 'this' in a static property initializer of a decorated class."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block:o(2817,e.DiagnosticCategory.Error,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block_2817","Property '{0}' has no initializer and is not definitely assigned in a class static block."),Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers:o(2818,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializer_2818","Duplicate identifier '{0}'. Compiler reserves name '{1}' when emitting 'super' references in static initializers."),Namespace_name_cannot_be_0:o(2819,e.DiagnosticCategory.Error,"Namespace_name_cannot_be_0_2819","Namespace name cannot be '{0}'."),Type_0_is_not_assignable_to_type_1_Did_you_mean_2:o(2820,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_Did_you_mean_2_2820","Type '{0}' is not assignable to type '{1}'. Did you mean '{2}'?"),Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext:o(2821,e.DiagnosticCategory.Error,"Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext_2821","Import assertions are only supported when the '--module' option is set to 'esnext' or 'nodenext'."),Import_assertions_cannot_be_used_with_type_only_imports_or_exports:o(2822,e.DiagnosticCategory.Error,"Import_assertions_cannot_be_used_with_type_only_imports_or_exports_2822","Import assertions cannot be used with type-only imports or exports."),Cannot_find_namespace_0_Did_you_mean_1:o(2833,e.DiagnosticCategory.Error,"Cannot_find_namespace_0_Did_you_mean_1_2833","Cannot find namespace '{0}'. Did you mean '{1}'?"),Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path:o(2834,e.DiagnosticCategory.Error,"Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2834","Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path."),Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0:o(2835,e.DiagnosticCategory.Error,"Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2835","Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '{0}'?"),Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls:o(2836,e.DiagnosticCategory.Error,"Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls_2836","Import assertions are not allowed on statements that transpile to commonjs 'require' calls."),Import_assertion_values_must_be_string_literal_expressions:o(2837,e.DiagnosticCategory.Error,"Import_assertion_values_must_be_string_literal_expressions_2837","Import assertion values must be string literal expressions."),All_declarations_of_0_must_have_identical_constraints:o(2838,e.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_constraints_2838","All declarations of '{0}' must have identical constraints."),This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value:o(2839,e.DiagnosticCategory.Error,"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839","This condition will always return '{0}' since JavaScript compares objects by reference, not value."),An_interface_cannot_extend_a_primitive_type_like_0_an_interface_can_only_extend_named_types_and_classes:o(2840,e.DiagnosticCategory.Error,"An_interface_cannot_extend_a_primitive_type_like_0_an_interface_can_only_extend_named_types_and_clas_2840","An interface cannot extend a primitive type like '{0}'; an interface can only extend named types and classes"),The_type_of_this_expression_cannot_be_named_without_a_resolution_mode_assertion_which_is_an_unstable_feature_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next:o(2841,e.DiagnosticCategory.Error,"The_type_of_this_expression_cannot_be_named_without_a_resolution_mode_assertion_which_is_an_unstable_2841","The type of this expression cannot be named without a 'resolution-mode' assertion, which is an unstable feature. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation:o(2842,e.DiagnosticCategory.Error,"_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation_2842","'{0}' is an unused renaming of '{1}'. Did you intend to use it as a type annotation?"),We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here:o(2843,e.DiagnosticCategory.Error,"We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here_2843","We can only write a type for '{0}' by adding a type for the entire parameter here."),Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:o(2844,e.DiagnosticCategory.Error,"Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2844","Type of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),This_condition_will_always_return_0:o(2845,e.DiagnosticCategory.Error,"This_condition_will_always_return_0_2845","This condition will always return '{0}'."),Import_declaration_0_is_using_private_name_1:o(4e3,e.DiagnosticCategory.Error,"Import_declaration_0_is_using_private_name_1_4000","Import declaration '{0}' is using private name '{1}'."),Type_parameter_0_of_exported_class_has_or_is_using_private_name_1:o(4002,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002","Type parameter '{0}' of exported class has or is using private name '{1}'."),Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1:o(4004,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004","Type parameter '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:o(4006,e.DiagnosticCategory.Error,"Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4006","Type parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:o(4008,e.DiagnosticCategory.Error,"Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4008","Type parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:o(4010,e.DiagnosticCategory.Error,"Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4010","Type parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:o(4012,e.DiagnosticCategory.Error,"Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4012","Type parameter '{0}' of public method from exported class has or is using private name '{1}'."),Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:o(4014,e.DiagnosticCategory.Error,"Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4014","Type parameter '{0}' of method from exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_function_has_or_is_using_private_name_1:o(4016,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_function_has_or_is_using_private_name_1_4016","Type parameter '{0}' of exported function has or is using private name '{1}'."),Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:o(4019,e.DiagnosticCategory.Error,"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019","Implements clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_0_has_or_is_using_private_name_1:o(4020,e.DiagnosticCategory.Error,"extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020","'extends' clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_has_or_is_using_private_name_0:o(4021,e.DiagnosticCategory.Error,"extends_clause_of_exported_class_has_or_is_using_private_name_0_4021","'extends' clause of exported class has or is using private name '{0}'."),extends_clause_of_exported_interface_0_has_or_is_using_private_name_1:o(4022,e.DiagnosticCategory.Error,"extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022","'extends' clause of exported interface '{0}' has or is using private name '{1}'."),Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:o(4023,e.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4023","Exported variable '{0}' has or is using name '{1}' from external module {2} but cannot be named."),Exported_variable_0_has_or_is_using_name_1_from_private_module_2:o(4024,e.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_name_1_from_private_module_2_4024","Exported variable '{0}' has or is using name '{1}' from private module '{2}'."),Exported_variable_0_has_or_is_using_private_name_1:o(4025,e.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_private_name_1_4025","Exported variable '{0}' has or is using private name '{1}'."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:o(4026,e.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot__4026","Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:o(4027,e.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4027","Public static property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:o(4028,e.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_private_name_1_4028","Public static property '{0}' of exported class has or is using private name '{1}'."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:o(4029,e.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_name_4029","Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:o(4030,e.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4030","Public property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_property_0_of_exported_class_has_or_is_using_private_name_1:o(4031,e.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_private_name_1_4031","Public property '{0}' of exported class has or is using private name '{1}'."),Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:o(4032,e.DiagnosticCategory.Error,"Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4032","Property '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Property_0_of_exported_interface_has_or_is_using_private_name_1:o(4033,e.DiagnosticCategory.Error,"Property_0_of_exported_interface_has_or_is_using_private_name_1_4033","Property '{0}' of exported interface has or is using private name '{1}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:o(4034,e.DiagnosticCategory.Error,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_mod_4034","Parameter type of public static setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:o(4035,e.DiagnosticCategory.Error,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1_4035","Parameter type of public static setter '{0}' from exported class has or is using private name '{1}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:o(4036,e.DiagnosticCategory.Error,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4036","Parameter type of public setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:o(4037,e.DiagnosticCategory.Error,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1_4037","Parameter type of public setter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:o(4038,e.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_modul_4038","Return type of public static getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:o(4039,e.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_4039","Return type of public static getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:o(4040,e.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1_4040","Return type of public static getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:o(4041,e.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_4041","Return type of public getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:o(4042,e.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4042","Return type of public getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1:o(4043,e.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1_4043","Return type of public getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:o(4044,e.DiagnosticCategory.Error,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_mod_4044","Return type of constructor signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0:o(4045,e.DiagnosticCategory.Error,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0_4045","Return type of constructor signature from exported interface has or is using private name '{0}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:o(4046,e.DiagnosticCategory.Error,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4046","Return type of call signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0:o(4047,e.DiagnosticCategory.Error,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0_4047","Return type of call signature from exported interface has or is using private name '{0}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:o(4048,e.DiagnosticCategory.Error,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4048","Return type of index signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0:o(4049,e.DiagnosticCategory.Error,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0_4049","Return type of index signature from exported interface has or is using private name '{0}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:o(4050,e.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module__4050","Return type of public static method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:o(4051,e.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4051","Return type of public static method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:o(4052,e.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0_4052","Return type of public static method from exported class has or is using private name '{0}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:o(4053,e.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_c_4053","Return type of public method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:o(4054,e.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4054","Return type of public method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:o(4055,e.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0_4055","Return type of public method from exported class has or is using private name '{0}'."),Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:o(4056,e.DiagnosticCategory.Error,"Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4056","Return type of method from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0:o(4057,e.DiagnosticCategory.Error,"Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0_4057","Return type of method from exported interface has or is using private name '{0}'."),Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:o(4058,e.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named_4058","Return type of exported function has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:o(4059,e.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1_4059","Return type of exported function has or is using name '{0}' from private module '{1}'."),Return_type_of_exported_function_has_or_is_using_private_name_0:o(4060,e.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_private_name_0_4060","Return type of exported function has or is using private name '{0}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:o(4061,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_can_4061","Parameter '{0}' of constructor from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:o(4062,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2_4062","Parameter '{0}' of constructor from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1:o(4063,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1_4063","Parameter '{0}' of constructor from exported class has or is using private name '{1}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:o(4064,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_mod_4064","Parameter '{0}' of constructor signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:o(4065,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4065","Parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:o(4066,e.DiagnosticCategory.Error,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4066","Parameter '{0}' of call signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:o(4067,e.DiagnosticCategory.Error,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4067","Parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:o(4068,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module__4068","Parameter '{0}' of public static method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:o(4069,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4069","Parameter '{0}' of public static method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:o(4070,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4070","Parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:o(4071,e.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_c_4071","Parameter '{0}' of public method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:o(4072,e.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4072","Parameter '{0}' of public method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:o(4073,e.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4073","Parameter '{0}' of public method from exported class has or is using private name '{1}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:o(4074,e.DiagnosticCategory.Error,"Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4074","Parameter '{0}' of method from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:o(4075,e.DiagnosticCategory.Error,"Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4075","Parameter '{0}' of method from exported interface has or is using private name '{1}'."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:o(4076,e.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4076","Parameter '{0}' of exported function has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:o(4077,e.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2_4077","Parameter '{0}' of exported function has or is using name '{1}' from private module '{2}'."),Parameter_0_of_exported_function_has_or_is_using_private_name_1:o(4078,e.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_private_name_1_4078","Parameter '{0}' of exported function has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1:o(4081,e.DiagnosticCategory.Error,"Exported_type_alias_0_has_or_is_using_private_name_1_4081","Exported type alias '{0}' has or is using private name '{1}'."),Default_export_of_the_module_has_or_is_using_private_name_0:o(4082,e.DiagnosticCategory.Error,"Default_export_of_the_module_has_or_is_using_private_name_0_4082","Default export of the module has or is using private name '{0}'."),Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1:o(4083,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1_4083","Type parameter '{0}' of exported type alias has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:o(4084,e.DiagnosticCategory.Error,"Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2_4084","Exported type alias '{0}' has or is using private name '{1}' from module {2}."),Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict:o(4090,e.DiagnosticCategory.Error,"Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_librar_4090","Conflicting definitions for '{0}' found at '{1}' and '{2}'. Consider installing a specific version of this library to resolve the conflict."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:o(4091,e.DiagnosticCategory.Error,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4091","Parameter '{0}' of index signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1:o(4092,e.DiagnosticCategory.Error,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1_4092","Parameter '{0}' of index signature from exported interface has or is using private name '{1}'."),Property_0_of_exported_class_expression_may_not_be_private_or_protected:o(4094,e.DiagnosticCategory.Error,"Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094","Property '{0}' of exported class expression may not be private or protected."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:o(4095,e.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_4095","Public static method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:o(4096,e.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4096","Public static method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:o(4097,e.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_private_name_1_4097","Public static method '{0}' of exported class has or is using private name '{1}'."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:o(4098,e.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098","Public method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:o(4099,e.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099","Public method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_method_0_of_exported_class_has_or_is_using_private_name_1:o(4100,e.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100","Public method '{0}' of exported class has or is using private name '{1}'."),Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:o(4101,e.DiagnosticCategory.Error,"Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4101","Method '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Method_0_of_exported_interface_has_or_is_using_private_name_1:o(4102,e.DiagnosticCategory.Error,"Method_0_of_exported_interface_has_or_is_using_private_name_1_4102","Method '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1:o(4103,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1_4103","Type parameter '{0}' of exported mapped object type is using private name '{1}'."),The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1:o(4104,e.DiagnosticCategory.Error,"The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1_4104","The type '{0}' is 'readonly' and cannot be assigned to the mutable type '{1}'."),Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter:o(4105,e.DiagnosticCategory.Error,"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105","Private or protected member '{0}' cannot be accessed on a type parameter."),Parameter_0_of_accessor_has_or_is_using_private_name_1:o(4106,e.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_private_name_1_4106","Parameter '{0}' of accessor has or is using private name '{1}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:o(4107,e.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2_4107","Parameter '{0}' of accessor has or is using name '{1}' from private module '{2}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:o(4108,e.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4108","Parameter '{0}' of accessor has or is using name '{1}' from external module '{2}' but cannot be named."),Type_arguments_for_0_circularly_reference_themselves:o(4109,e.DiagnosticCategory.Error,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:o(4110,e.DiagnosticCategory.Error,"Tuple_type_arguments_circularly_reference_themselves_4110","Tuple type arguments circularly reference themselves."),Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0:o(4111,e.DiagnosticCategory.Error,"Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0_4111","Property '{0}' comes from an index signature, so it must be accessed with ['{0}']."),This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class:o(4112,e.DiagnosticCategory.Error,"This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another__4112","This member cannot have an 'override' modifier because its containing class '{0}' does not extend another class."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0:o(4113,e.DiagnosticCategory.Error,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_4113","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0:o(4114,e.DiagnosticCategory.Error,"This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0_4114","This member must have an 'override' modifier because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:o(4115,e.DiagnosticCategory.Error,"This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115","This parameter property must have an 'override' modifier because it overrides a member in base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0:o(4116,e.DiagnosticCategory.Error,"This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared__4116","This member must have an 'override' modifier because it overrides an abstract method that is declared in the base class '{0}'."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:o(4117,e.DiagnosticCategory.Error,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you__4117","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'. Did you mean '{1}'?"),The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized:o(4118,e.DiagnosticCategory.Error,"The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized_4118","The type of this node cannot be serialized because its property '{0}' cannot be serialized."),This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:o(4119,e.DiagnosticCategory.Error,"This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_4119","This member must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:o(4120,e.DiagnosticCategory.Error,"This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_4120","This parameter property must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class:o(4121,e.DiagnosticCategory.Error,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_4121","This member cannot have a JSDoc comment with an '@override' tag because its containing class '{0}' does not extend another class."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0:o(4122,e.DiagnosticCategory.Error,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4122","This member cannot have a JSDoc comment with an '@override' tag because it is not declared in the base class '{0}'."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:o(4123,e.DiagnosticCategory.Error,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4123","This member cannot have a JSDoc comment with an 'override' tag because it is not declared in the base class '{0}'. Did you mean '{1}'?"),Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next:o(4124,e.DiagnosticCategory.Error,"Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124","Compiler option '{0}' of value '{1}' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next:o(4125,e.DiagnosticCategory.Error,"resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_wi_4125","'resolution-mode' assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),The_current_host_does_not_support_the_0_option:o(5001,e.DiagnosticCategory.Error,"The_current_host_does_not_support_the_0_option_5001","The current host does not support the '{0}' option."),Cannot_find_the_common_subdirectory_path_for_the_input_files:o(5009,e.DiagnosticCategory.Error,"Cannot_find_the_common_subdirectory_path_for_the_input_files_5009","Cannot find the common subdirectory path for the input files."),File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:o(5010,e.DiagnosticCategory.Error,"File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010","File specification cannot end in a recursive directory wildcard ('**'): '{0}'."),Cannot_read_file_0_Colon_1:o(5012,e.DiagnosticCategory.Error,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:o(5014,e.DiagnosticCategory.Error,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:o(5023,e.DiagnosticCategory.Error,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:o(5024,e.DiagnosticCategory.Error,"Compiler_option_0_requires_a_value_of_type_1_5024","Compiler option '{0}' requires a value of type {1}."),Unknown_compiler_option_0_Did_you_mean_1:o(5025,e.DiagnosticCategory.Error,"Unknown_compiler_option_0_Did_you_mean_1_5025","Unknown compiler option '{0}'. Did you mean '{1}'?"),Could_not_write_file_0_Colon_1:o(5033,e.DiagnosticCategory.Error,"Could_not_write_file_0_Colon_1_5033","Could not write file '{0}': {1}."),Option_project_cannot_be_mixed_with_source_files_on_a_command_line:o(5042,e.DiagnosticCategory.Error,"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042","Option 'project' cannot be mixed with source files on a command line."),Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher:o(5047,e.DiagnosticCategory.Error,"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047","Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher."),Option_0_cannot_be_specified_when_option_target_is_ES3:o(5048,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_when_option_target_is_ES3_5048","Option '{0}' cannot be specified when option 'target' is 'ES3'."),Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided:o(5051,e.DiagnosticCategory.Error,"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051","Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided."),Option_0_cannot_be_specified_without_specifying_option_1:o(5052,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_without_specifying_option_1_5052","Option '{0}' cannot be specified without specifying option '{1}'."),Option_0_cannot_be_specified_with_option_1:o(5053,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_with_option_1_5053","Option '{0}' cannot be specified with option '{1}'."),A_tsconfig_json_file_is_already_defined_at_Colon_0:o(5054,e.DiagnosticCategory.Error,"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054","A 'tsconfig.json' file is already defined at: '{0}'."),Cannot_write_file_0_because_it_would_overwrite_input_file:o(5055,e.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_would_overwrite_input_file_5055","Cannot write file '{0}' because it would overwrite input file."),Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files:o(5056,e.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files_5056","Cannot write file '{0}' because it would be overwritten by multiple input files."),Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0:o(5057,e.DiagnosticCategory.Error,"Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057","Cannot find a tsconfig.json file at the specified directory: '{0}'."),The_specified_path_does_not_exist_Colon_0:o(5058,e.DiagnosticCategory.Error,"The_specified_path_does_not_exist_Colon_0_5058","The specified path does not exist: '{0}'."),Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier:o(5059,e.DiagnosticCategory.Error,"Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059","Invalid value for '--reactNamespace'. '{0}' is not a valid identifier."),Pattern_0_can_have_at_most_one_Asterisk_character:o(5061,e.DiagnosticCategory.Error,"Pattern_0_can_have_at_most_one_Asterisk_character_5061","Pattern '{0}' can have at most one '*' character."),Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character:o(5062,e.DiagnosticCategory.Error,"Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character_5062","Substitution '{0}' in pattern '{1}' can have at most one '*' character."),Substitutions_for_pattern_0_should_be_an_array:o(5063,e.DiagnosticCategory.Error,"Substitutions_for_pattern_0_should_be_an_array_5063","Substitutions for pattern '{0}' should be an array."),Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2:o(5064,e.DiagnosticCategory.Error,"Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2_5064","Substitution '{0}' for pattern '{1}' has incorrect type, expected 'string', got '{2}'."),File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:o(5065,e.DiagnosticCategory.Error,"File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildca_5065","File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '{0}'."),Substitutions_for_pattern_0_shouldn_t_be_an_empty_array:o(5066,e.DiagnosticCategory.Error,"Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066","Substitutions for pattern '{0}' shouldn't be an empty array."),Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name:o(5067,e.DiagnosticCategory.Error,"Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name_5067","Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name."),Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig:o(5068,e.DiagnosticCategory.Error,"Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript__5068","Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig."),Option_0_cannot_be_specified_without_specifying_option_1_or_option_2:o(5069,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_without_specifying_option_1_or_option_2_5069","Option '{0}' cannot be specified without specifying option '{1}' or option '{2}'."),Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy:o(5070,e.DiagnosticCategory.Error,"Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070","Option '--resolveJsonModule' cannot be specified without 'node' module resolution strategy."),Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext:o(5071,e.DiagnosticCategory.Error,"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071","Option '--resolveJsonModule' can only be specified when module code generation is 'commonjs', 'amd', 'es2015' or 'esNext'."),Unknown_build_option_0:o(5072,e.DiagnosticCategory.Error,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:o(5073,e.DiagnosticCategory.Error,"Build_option_0_requires_a_value_of_type_1_5073","Build option '{0}' requires a value of type {1}."),Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified:o(5074,e.DiagnosticCategory.Error,"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074","Option '--incremental' can only be specified using tsconfig, emitting to single file or when option '--tsBuildInfoFile' is specified."),_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2:o(5075,e.DiagnosticCategory.Error,"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075","'{0}' is assignable to the constraint of type '{1}', but '{1}' could be instantiated with a different subtype of constraint '{2}'."),_0_and_1_operations_cannot_be_mixed_without_parentheses:o(5076,e.DiagnosticCategory.Error,"_0_and_1_operations_cannot_be_mixed_without_parentheses_5076","'{0}' and '{1}' operations cannot be mixed without parentheses."),Unknown_build_option_0_Did_you_mean_1:o(5077,e.DiagnosticCategory.Error,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:o(5078,e.DiagnosticCategory.Error,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:o(5079,e.DiagnosticCategory.Error,"Unknown_watch_option_0_Did_you_mean_1_5079","Unknown watch option '{0}'. Did you mean '{1}'?"),Watch_option_0_requires_a_value_of_type_1:o(5080,e.DiagnosticCategory.Error,"Watch_option_0_requires_a_value_of_type_1_5080","Watch option '{0}' requires a value of type {1}."),Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0:o(5081,e.DiagnosticCategory.Error,"Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0_5081","Cannot find a tsconfig.json file at the current directory: {0}."),_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1:o(5082,e.DiagnosticCategory.Error,"_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1_5082","'{0}' could be instantiated with an arbitrary type which could be unrelated to '{1}'."),Cannot_read_file_0:o(5083,e.DiagnosticCategory.Error,"Cannot_read_file_0_5083","Cannot read file '{0}'."),Tuple_members_must_all_have_names_or_all_not_have_names:o(5084,e.DiagnosticCategory.Error,"Tuple_members_must_all_have_names_or_all_not_have_names_5084","Tuple members must all have names or all not have names."),A_tuple_member_cannot_be_both_optional_and_rest:o(5085,e.DiagnosticCategory.Error,"A_tuple_member_cannot_be_both_optional_and_rest_5085","A tuple member cannot be both optional and rest."),A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type:o(5086,e.DiagnosticCategory.Error,"A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_c_5086","A labeled tuple element is declared as optional with a question mark after the name and before the colon, rather than after the type."),A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type:o(5087,e.DiagnosticCategory.Error,"A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type_5087","A labeled tuple element is declared as rest with a '...' before the name, rather than before the type."),The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary:o(5088,e.DiagnosticCategory.Error,"The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088","The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary."),Option_0_cannot_be_specified_when_option_jsx_is_1:o(5089,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_when_option_jsx_is_1_5089","Option '{0}' cannot be specified when option 'jsx' is '{1}'."),Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash:o(5090,e.DiagnosticCategory.Error,"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090","Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?"),Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled:o(5091,e.DiagnosticCategory.Error,"Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled_5091","Option 'preserveConstEnums' cannot be disabled when 'isolatedModules' is enabled."),The_root_value_of_a_0_file_must_be_an_object:o(5092,e.DiagnosticCategory.Error,"The_root_value_of_a_0_file_must_be_an_object_5092","The root value of a '{0}' file must be an object."),Compiler_option_0_may_only_be_used_with_build:o(5093,e.DiagnosticCategory.Error,"Compiler_option_0_may_only_be_used_with_build_5093","Compiler option '--{0}' may only be used with '--build'."),Compiler_option_0_may_not_be_used_with_build:o(5094,e.DiagnosticCategory.Error,"Compiler_option_0_may_not_be_used_with_build_5094","Compiler option '--{0}' may not be used with '--build'."),Option_preserveValueImports_can_only_be_used_when_module_is_set_to_es2015_or_later:o(5095,e.DiagnosticCategory.Error,"Option_preserveValueImports_can_only_be_used_when_module_is_set_to_es2015_or_later_5095","Option 'preserveValueImports' can only be used when 'module' is set to 'es2015' or later."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:o(6e3,e.DiagnosticCategory.Message,"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000","Generates a sourcemap for each corresponding '.d.ts' file."),Concatenate_and_emit_output_to_single_file:o(6001,e.DiagnosticCategory.Message,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:o(6002,e.DiagnosticCategory.Message,"Generates_corresponding_d_ts_file_6002","Generates corresponding '.d.ts' file."),Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations:o(6004,e.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004","Specify the location where debugger should locate TypeScript files instead of source locations."),Watch_input_files:o(6005,e.DiagnosticCategory.Message,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:o(6006,e.DiagnosticCategory.Message,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:o(6007,e.DiagnosticCategory.Message,"Do_not_erase_const_enum_declarations_in_generated_code_6007","Do not erase const enum declarations in generated code."),Do_not_emit_outputs_if_any_errors_were_reported:o(6008,e.DiagnosticCategory.Message,"Do_not_emit_outputs_if_any_errors_were_reported_6008","Do not emit outputs if any errors were reported."),Do_not_emit_comments_to_output:o(6009,e.DiagnosticCategory.Message,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:o(6010,e.DiagnosticCategory.Message,"Do_not_emit_outputs_6010","Do not emit outputs."),Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking:o(6011,e.DiagnosticCategory.Message,"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011","Allow default imports from modules with no default export. This does not affect code emit, just typechecking."),Skip_type_checking_of_declaration_files:o(6012,e.DiagnosticCategory.Message,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:o(6013,e.DiagnosticCategory.Message,"Do_not_resolve_the_real_path_of_symlinks_6013","Do not resolve the real path of symlinks."),Only_emit_d_ts_declaration_files:o(6014,e.DiagnosticCategory.Message,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version:o(6015,e.DiagnosticCategory.Message,"Specify_ECMAScript_target_version_6015","Specify ECMAScript target version."),Specify_module_code_generation:o(6016,e.DiagnosticCategory.Message,"Specify_module_code_generation_6016","Specify module code generation."),Print_this_message:o(6017,e.DiagnosticCategory.Message,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:o(6019,e.DiagnosticCategory.Message,"Print_the_compiler_s_version_6019","Print the compiler's version."),Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json:o(6020,e.DiagnosticCategory.Message,"Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json_6020","Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'."),Syntax_Colon_0:o(6023,e.DiagnosticCategory.Message,"Syntax_Colon_0_6023","Syntax: {0}"),options:o(6024,e.DiagnosticCategory.Message,"options_6024","options"),file:o(6025,e.DiagnosticCategory.Message,"file_6025","file"),Examples_Colon_0:o(6026,e.DiagnosticCategory.Message,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:o(6027,e.DiagnosticCategory.Message,"Options_Colon_6027","Options:"),Version_0:o(6029,e.DiagnosticCategory.Message,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:o(6030,e.DiagnosticCategory.Message,"Insert_command_line_options_and_files_from_a_file_6030","Insert command line options and files from a file."),Starting_compilation_in_watch_mode:o(6031,e.DiagnosticCategory.Message,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:o(6032,e.DiagnosticCategory.Message,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:o(6034,e.DiagnosticCategory.Message,"KIND_6034","KIND"),FILE:o(6035,e.DiagnosticCategory.Message,"FILE_6035","FILE"),VERSION:o(6036,e.DiagnosticCategory.Message,"VERSION_6036","VERSION"),LOCATION:o(6037,e.DiagnosticCategory.Message,"LOCATION_6037","LOCATION"),DIRECTORY:o(6038,e.DiagnosticCategory.Message,"DIRECTORY_6038","DIRECTORY"),STRATEGY:o(6039,e.DiagnosticCategory.Message,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:o(6040,e.DiagnosticCategory.Message,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Errors_Files:o(6041,e.DiagnosticCategory.Message,"Errors_Files_6041","Errors Files"),Generates_corresponding_map_file:o(6043,e.DiagnosticCategory.Message,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:o(6044,e.DiagnosticCategory.Error,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:o(6045,e.DiagnosticCategory.Error,"Unterminated_quoted_string_in_response_file_0_6045","Unterminated quoted string in response file '{0}'."),Argument_for_0_option_must_be_Colon_1:o(6046,e.DiagnosticCategory.Error,"Argument_for_0_option_must_be_Colon_1_6046","Argument for '{0}' option must be: {1}."),Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1:o(6048,e.DiagnosticCategory.Error,"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048","Locale must be of the form or -. For example '{0}' or '{1}'."),Unable_to_open_file_0:o(6050,e.DiagnosticCategory.Error,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:o(6051,e.DiagnosticCategory.Error,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:o(6052,e.DiagnosticCategory.Message,"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052","Raise error on expressions and declarations with an implied 'any' type."),File_0_not_found:o(6053,e.DiagnosticCategory.Error,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:o(6054,e.DiagnosticCategory.Error,"File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1_6054","File '{0}' has an unsupported extension. The only supported extensions are {1}."),Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures:o(6055,e.DiagnosticCategory.Message,"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055","Suppress noImplicitAny errors for indexing objects lacking index signatures."),Do_not_emit_declarations_for_code_that_has_an_internal_annotation:o(6056,e.DiagnosticCategory.Message,"Do_not_emit_declarations_for_code_that_has_an_internal_annotation_6056","Do not emit declarations for code that has an '@internal' annotation."),Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir:o(6058,e.DiagnosticCategory.Message,"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058","Specify the root directory of input files. Use to control the output directory structure with --outDir."),File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files:o(6059,e.DiagnosticCategory.Error,"File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059","File '{0}' is not under 'rootDir' '{1}'. 'rootDir' is expected to contain all source files."),Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix:o(6060,e.DiagnosticCategory.Message,"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060","Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix)."),NEWLINE:o(6061,e.DiagnosticCategory.Message,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:o(6064,e.DiagnosticCategory.Error,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'null' on command line."),Enables_experimental_support_for_ES7_decorators:o(6065,e.DiagnosticCategory.Message,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:o(6066,e.DiagnosticCategory.Message,"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066","Enables experimental support for emitting type metadata for decorators."),Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6:o(6069,e.DiagnosticCategory.Message,"Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6_6069","Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6)."),Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:o(6070,e.DiagnosticCategory.Message,"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070","Initializes a TypeScript project and creates a tsconfig.json file."),Successfully_created_a_tsconfig_json_file:o(6071,e.DiagnosticCategory.Message,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:o(6072,e.DiagnosticCategory.Message,"Suppress_excess_property_checks_for_object_literals_6072","Suppress excess property checks for object literals."),Stylize_errors_and_messages_using_color_and_context_experimental:o(6073,e.DiagnosticCategory.Message,"Stylize_errors_and_messages_using_color_and_context_experimental_6073","Stylize errors and messages using color and context (experimental)."),Do_not_report_errors_on_unused_labels:o(6074,e.DiagnosticCategory.Message,"Do_not_report_errors_on_unused_labels_6074","Do not report errors on unused labels."),Report_error_when_not_all_code_paths_in_function_return_a_value:o(6075,e.DiagnosticCategory.Message,"Report_error_when_not_all_code_paths_in_function_return_a_value_6075","Report error when not all code paths in function return a value."),Report_errors_for_fallthrough_cases_in_switch_statement:o(6076,e.DiagnosticCategory.Message,"Report_errors_for_fallthrough_cases_in_switch_statement_6076","Report errors for fallthrough cases in switch statement."),Do_not_report_errors_on_unreachable_code:o(6077,e.DiagnosticCategory.Message,"Do_not_report_errors_on_unreachable_code_6077","Do not report errors on unreachable code."),Disallow_inconsistently_cased_references_to_the_same_file:o(6078,e.DiagnosticCategory.Message,"Disallow_inconsistently_cased_references_to_the_same_file_6078","Disallow inconsistently-cased references to the same file."),Specify_library_files_to_be_included_in_the_compilation:o(6079,e.DiagnosticCategory.Message,"Specify_library_files_to_be_included_in_the_compilation_6079","Specify library files to be included in the compilation."),Specify_JSX_code_generation:o(6080,e.DiagnosticCategory.Message,"Specify_JSX_code_generation_6080","Specify JSX code generation."),File_0_has_an_unsupported_extension_so_skipping_it:o(6081,e.DiagnosticCategory.Message,"File_0_has_an_unsupported_extension_so_skipping_it_6081","File '{0}' has an unsupported extension, so skipping it."),Only_amd_and_system_modules_are_supported_alongside_0:o(6082,e.DiagnosticCategory.Error,"Only_amd_and_system_modules_are_supported_alongside_0_6082","Only 'amd' and 'system' modules are supported alongside --{0}."),Base_directory_to_resolve_non_absolute_module_names:o(6083,e.DiagnosticCategory.Message,"Base_directory_to_resolve_non_absolute_module_names_6083","Base directory to resolve non-absolute module names."),Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit:o(6084,e.DiagnosticCategory.Message,"Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react__6084","[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for createElement when targeting 'react' JSX emit"),Enable_tracing_of_the_name_resolution_process:o(6085,e.DiagnosticCategory.Message,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:o(6086,e.DiagnosticCategory.Message,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:o(6087,e.DiagnosticCategory.Message,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:o(6088,e.DiagnosticCategory.Message,"Module_resolution_kind_is_not_specified_using_0_6088","Module resolution kind is not specified, using '{0}'."),Module_name_0_was_successfully_resolved_to_1:o(6089,e.DiagnosticCategory.Message,"Module_name_0_was_successfully_resolved_to_1_6089","======== Module name '{0}' was successfully resolved to '{1}'. ========"),Module_name_0_was_not_resolved:o(6090,e.DiagnosticCategory.Message,"Module_name_0_was_not_resolved_6090","======== Module name '{0}' was not resolved. ========"),paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0:o(6091,e.DiagnosticCategory.Message,"paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091","'paths' option is specified, looking for a pattern to match module name '{0}'."),Module_name_0_matched_pattern_1:o(6092,e.DiagnosticCategory.Message,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:o(6093,e.DiagnosticCategory.Message,"Trying_substitution_0_candidate_module_location_Colon_1_6093","Trying substitution '{0}', candidate module location: '{1}'."),Resolving_module_name_0_relative_to_base_url_1_2:o(6094,e.DiagnosticCategory.Message,"Resolving_module_name_0_relative_to_base_url_1_2_6094","Resolving module name '{0}' relative to base url '{1}' - '{2}'."),Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1:o(6095,e.DiagnosticCategory.Message,"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1_6095","Loading module as file / folder, candidate module location '{0}', target file type '{1}'."),File_0_does_not_exist:o(6096,e.DiagnosticCategory.Message,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exist_use_it_as_a_name_resolution_result:o(6097,e.DiagnosticCategory.Message,"File_0_exist_use_it_as_a_name_resolution_result_6097","File '{0}' exist - use it as a name resolution result."),Loading_module_0_from_node_modules_folder_target_file_type_1:o(6098,e.DiagnosticCategory.Message,"Loading_module_0_from_node_modules_folder_target_file_type_1_6098","Loading module '{0}' from 'node_modules' folder, target file type '{1}'."),Found_package_json_at_0:o(6099,e.DiagnosticCategory.Message,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:o(6100,e.DiagnosticCategory.Message,"package_json_does_not_have_a_0_field_6100","'package.json' does not have a '{0}' field."),package_json_has_0_field_1_that_references_2:o(6101,e.DiagnosticCategory.Message,"package_json_has_0_field_1_that_references_2_6101","'package.json' has '{0}' field '{1}' that references '{2}'."),Allow_javascript_files_to_be_compiled:o(6102,e.DiagnosticCategory.Message,"Allow_javascript_files_to_be_compiled_6102","Allow javascript files to be compiled."),Checking_if_0_is_the_longest_matching_prefix_for_1_2:o(6104,e.DiagnosticCategory.Message,"Checking_if_0_is_the_longest_matching_prefix_for_1_2_6104","Checking if '{0}' is the longest matching prefix for '{1}' - '{2}'."),Expected_type_of_0_field_in_package_json_to_be_1_got_2:o(6105,e.DiagnosticCategory.Message,"Expected_type_of_0_field_in_package_json_to_be_1_got_2_6105","Expected type of '{0}' field in 'package.json' to be '{1}', got '{2}'."),baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1:o(6106,e.DiagnosticCategory.Message,"baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106","'baseUrl' option is set to '{0}', using this value to resolve non-relative module name '{1}'."),rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0:o(6107,e.DiagnosticCategory.Message,"rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0_6107","'rootDirs' option is set, using it to resolve relative module name '{0}'."),Longest_matching_prefix_for_0_is_1:o(6108,e.DiagnosticCategory.Message,"Longest_matching_prefix_for_0_is_1_6108","Longest matching prefix for '{0}' is '{1}'."),Loading_0_from_the_root_dir_1_candidate_location_2:o(6109,e.DiagnosticCategory.Message,"Loading_0_from_the_root_dir_1_candidate_location_2_6109","Loading '{0}' from the root dir '{1}', candidate location '{2}'."),Trying_other_entries_in_rootDirs:o(6110,e.DiagnosticCategory.Message,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:o(6111,e.DiagnosticCategory.Message,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:o(6112,e.DiagnosticCategory.Message,"Do_not_emit_use_strict_directives_in_module_output_6112","Do not emit 'use strict' directives in module output."),Enable_strict_null_checks:o(6113,e.DiagnosticCategory.Message,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:o(6114,e.DiagnosticCategory.Error,"Unknown_option_excludes_Did_you_mean_exclude_6114","Unknown option 'excludes'. Did you mean 'exclude'?"),Raise_error_on_this_expressions_with_an_implied_any_type:o(6115,e.DiagnosticCategory.Message,"Raise_error_on_this_expressions_with_an_implied_any_type_6115","Raise error on 'this' expressions with an implied 'any' type."),Resolving_type_reference_directive_0_containing_file_1_root_directory_2:o(6116,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116","======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:o(6119,e.DiagnosticCategory.Message,"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119","======== Type reference directive '{0}' was successfully resolved to '{1}', primary: {2}. ========"),Type_reference_directive_0_was_not_resolved:o(6120,e.DiagnosticCategory.Message,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:o(6121,e.DiagnosticCategory.Message,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:o(6122,e.DiagnosticCategory.Message,"Root_directory_cannot_be_determined_skipping_primary_search_paths_6122","Root directory cannot be determined, skipping primary search paths."),Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set:o(6123,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set_6123","======== Resolving type reference directive '{0}', containing file '{1}', root directory not set. ========"),Type_declaration_files_to_be_included_in_compilation:o(6124,e.DiagnosticCategory.Message,"Type_declaration_files_to_be_included_in_compilation_6124","Type declaration files to be included in compilation."),Looking_up_in_node_modules_folder_initial_location_0:o(6125,e.DiagnosticCategory.Message,"Looking_up_in_node_modules_folder_initial_location_0_6125","Looking up in 'node_modules' folder, initial location '{0}'."),Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder:o(6126,e.DiagnosticCategory.Message,"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126","Containing file is not specified and root directory cannot be determined, skipping lookup in 'node_modules' folder."),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1:o(6127,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1_6127","======== Resolving type reference directive '{0}', containing file not set, root directory '{1}'. ========"),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set:o(6128,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set_6128","======== Resolving type reference directive '{0}', containing file not set, root directory not set. ========"),Resolving_real_path_for_0_result_1:o(6130,e.DiagnosticCategory.Message,"Resolving_real_path_for_0_result_1_6130","Resolving real path for '{0}', result '{1}'."),Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system:o(6131,e.DiagnosticCategory.Error,"Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system_6131","Cannot compile modules using option '{0}' unless the '--module' flag is 'amd' or 'system'."),File_name_0_has_a_1_extension_stripping_it:o(6132,e.DiagnosticCategory.Message,"File_name_0_has_a_1_extension_stripping_it_6132","File name '{0}' has a '{1}' extension - stripping it."),_0_is_declared_but_its_value_is_never_read:o(6133,e.DiagnosticCategory.Error,"_0_is_declared_but_its_value_is_never_read_6133","'{0}' is declared but its value is never read.",!0),Report_errors_on_unused_locals:o(6134,e.DiagnosticCategory.Message,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:o(6135,e.DiagnosticCategory.Message,"Report_errors_on_unused_parameters_6135","Report errors on unused parameters."),The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files:o(6136,e.DiagnosticCategory.Message,"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136","The maximum dependency depth to search under node_modules and load JavaScript files."),Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1:o(6137,e.DiagnosticCategory.Error,"Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1_6137","Cannot import type declaration files. Consider importing '{0}' instead of '{1}'."),Property_0_is_declared_but_its_value_is_never_read:o(6138,e.DiagnosticCategory.Error,"Property_0_is_declared_but_its_value_is_never_read_6138","Property '{0}' is declared but its value is never read.",!0),Import_emit_helpers_from_tslib:o(6139,e.DiagnosticCategory.Message,"Import_emit_helpers_from_tslib_6139","Import emit helpers from 'tslib'."),Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2:o(6140,e.DiagnosticCategory.Error,"Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140","Auto discovery for typings is enabled in project '{0}'. Running extra resolution pass for module '{1}' using cache location '{2}'."),Parse_in_strict_mode_and_emit_use_strict_for_each_source_file:o(6141,e.DiagnosticCategory.Message,"Parse_in_strict_mode_and_emit_use_strict_for_each_source_file_6141",'Parse in strict mode and emit "use strict" for each source file.'),Module_0_was_resolved_to_1_but_jsx_is_not_set:o(6142,e.DiagnosticCategory.Error,"Module_0_was_resolved_to_1_but_jsx_is_not_set_6142","Module '{0}' was resolved to '{1}', but '--jsx' is not set."),Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1:o(6144,e.DiagnosticCategory.Message,"Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1_6144","Module '{0}' was resolved as locally declared ambient module in file '{1}'."),Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified:o(6145,e.DiagnosticCategory.Message,"Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified_6145","Module '{0}' was resolved as ambient module declared in '{1}' since this file was not modified."),Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h:o(6146,e.DiagnosticCategory.Message,"Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h_6146","Specify the JSX factory function to use when targeting 'react' JSX emit, e.g. 'React.createElement' or 'h'."),Resolution_for_module_0_was_found_in_cache_from_location_1:o(6147,e.DiagnosticCategory.Message,"Resolution_for_module_0_was_found_in_cache_from_location_1_6147","Resolution for module '{0}' was found in cache from location '{1}'."),Directory_0_does_not_exist_skipping_all_lookups_in_it:o(6148,e.DiagnosticCategory.Message,"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148","Directory '{0}' does not exist, skipping all lookups in it."),Show_diagnostic_information:o(6149,e.DiagnosticCategory.Message,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:o(6150,e.DiagnosticCategory.Message,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:o(6151,e.DiagnosticCategory.Message,"Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file_6151","Emit a single file with source maps instead of having a separate file."),Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set:o(6152,e.DiagnosticCategory.Message,"Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap__6152","Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set."),Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule:o(6153,e.DiagnosticCategory.Message,"Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153","Transpile each file as a separate module (similar to 'ts.transpileModule')."),Print_names_of_generated_files_part_of_the_compilation:o(6154,e.DiagnosticCategory.Message,"Print_names_of_generated_files_part_of_the_compilation_6154","Print names of generated files part of the compilation."),Print_names_of_files_part_of_the_compilation:o(6155,e.DiagnosticCategory.Message,"Print_names_of_files_part_of_the_compilation_6155","Print names of files part of the compilation."),The_locale_used_when_displaying_messages_to_the_user_e_g_en_us:o(6156,e.DiagnosticCategory.Message,"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156","The locale used when displaying messages to the user (e.g. 'en-us')"),Do_not_generate_custom_helper_functions_like_extends_in_compiled_output:o(6157,e.DiagnosticCategory.Message,"Do_not_generate_custom_helper_functions_like_extends_in_compiled_output_6157","Do not generate custom helper functions like '__extends' in compiled output."),Do_not_include_the_default_library_file_lib_d_ts:o(6158,e.DiagnosticCategory.Message,"Do_not_include_the_default_library_file_lib_d_ts_6158","Do not include the default library file (lib.d.ts)."),Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files:o(6159,e.DiagnosticCategory.Message,"Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files_6159","Do not add triple-slash references or imported modules to the list of compiled files."),Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files:o(6160,e.DiagnosticCategory.Message,"Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files_6160","[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default library declaration files."),List_of_folders_to_include_type_definitions_from:o(6161,e.DiagnosticCategory.Message,"List_of_folders_to_include_type_definitions_from_6161","List of folders to include type definitions from."),Disable_size_limitations_on_JavaScript_projects:o(6162,e.DiagnosticCategory.Message,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:o(6163,e.DiagnosticCategory.Message,"The_character_set_of_the_input_files_6163","The character set of the input files."),Do_not_truncate_error_messages:o(6165,e.DiagnosticCategory.Message,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:o(6166,e.DiagnosticCategory.Message,"Output_directory_for_generated_declaration_files_6166","Output directory for generated declaration files."),A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl:o(6167,e.DiagnosticCategory.Message,"A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl_6167","A series of entries which re-map imports to lookup locations relative to the 'baseUrl'."),List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime:o(6168,e.DiagnosticCategory.Message,"List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168","List of root folders whose combined content represents the structure of the project at runtime."),Show_all_compiler_options:o(6169,e.DiagnosticCategory.Message,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:o(6170,e.DiagnosticCategory.Message,"Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170","[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file"),Command_line_Options:o(6171,e.DiagnosticCategory.Message,"Command_line_Options_6171","Command-line Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3:o(6179,e.DiagnosticCategory.Message,"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179","Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'."),Enable_all_strict_type_checking_options:o(6180,e.DiagnosticCategory.Message,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),Scoped_package_detected_looking_in_0:o(6182,e.DiagnosticCategory.Message,"Scoped_package_detected_looking_in_0_6182","Scoped package detected, looking in '{0}'"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:o(6183,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_6183","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:o(6184,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package__6184","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Enable_strict_checking_of_function_types:o(6186,e.DiagnosticCategory.Message,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:o(6187,e.DiagnosticCategory.Message,"Enable_strict_checking_of_property_initialization_in_classes_6187","Enable strict checking of property initialization in classes."),Numeric_separators_are_not_allowed_here:o(6188,e.DiagnosticCategory.Error,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:o(6189,e.DiagnosticCategory.Error,"Multiple_consecutive_numeric_separators_are_not_permitted_6189","Multiple consecutive numeric separators are not permitted."),Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen:o(6191,e.DiagnosticCategory.Message,"Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191","Whether to keep outdated console output in watch mode instead of clearing the screen."),All_imports_in_import_declaration_are_unused:o(6192,e.DiagnosticCategory.Error,"All_imports_in_import_declaration_are_unused_6192","All imports in import declaration are unused.",!0),Found_1_error_Watching_for_file_changes:o(6193,e.DiagnosticCategory.Message,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:o(6194,e.DiagnosticCategory.Message,"Found_0_errors_Watching_for_file_changes_6194","Found {0} errors. Watching for file changes."),Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols:o(6195,e.DiagnosticCategory.Message,"Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195","Resolve 'keyof' to string valued property names only (no numbers or symbols)."),_0_is_declared_but_never_used:o(6196,e.DiagnosticCategory.Error,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:o(6197,e.DiagnosticCategory.Message,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:o(6198,e.DiagnosticCategory.Error,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:o(6199,e.DiagnosticCategory.Error,"All_variables_are_unused_6199","All variables are unused.",!0),Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0:o(6200,e.DiagnosticCategory.Error,"Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0_6200","Definitions of the following identifiers conflict with those in another file: {0}"),Conflicts_are_in_this_file:o(6201,e.DiagnosticCategory.Message,"Conflicts_are_in_this_file_6201","Conflicts are in this file."),Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0:o(6202,e.DiagnosticCategory.Error,"Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0_6202","Project references may not form a circular graph. Cycle detected: {0}"),_0_was_also_declared_here:o(6203,e.DiagnosticCategory.Message,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:o(6204,e.DiagnosticCategory.Message,"and_here_6204","and here."),All_type_parameters_are_unused:o(6205,e.DiagnosticCategory.Error,"All_type_parameters_are_unused_6205","All type parameters are unused."),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:o(6206,e.DiagnosticCategory.Message,"package_json_has_a_typesVersions_field_with_version_specific_path_mappings_6206","'package.json' has a 'typesVersions' field with version-specific path mappings."),package_json_does_not_have_a_typesVersions_entry_that_matches_version_0:o(6207,e.DiagnosticCategory.Message,"package_json_does_not_have_a_typesVersions_entry_that_matches_version_0_6207","'package.json' does not have a 'typesVersions' entry that matches version '{0}'."),package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2:o(6208,e.DiagnosticCategory.Message,"package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_ma_6208","'package.json' has a 'typesVersions' entry '{0}' that matches compiler version '{1}', looking for a pattern to match module name '{2}'."),package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range:o(6209,e.DiagnosticCategory.Message,"package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range_6209","'package.json' has a 'typesVersions' entry '{0}' that is not a valid semver range."),An_argument_for_0_was_not_provided:o(6210,e.DiagnosticCategory.Message,"An_argument_for_0_was_not_provided_6210","An argument for '{0}' was not provided."),An_argument_matching_this_binding_pattern_was_not_provided:o(6211,e.DiagnosticCategory.Message,"An_argument_matching_this_binding_pattern_was_not_provided_6211","An argument matching this binding pattern was not provided."),Did_you_mean_to_call_this_expression:o(6212,e.DiagnosticCategory.Message,"Did_you_mean_to_call_this_expression_6212","Did you mean to call this expression?"),Did_you_mean_to_use_new_with_this_expression:o(6213,e.DiagnosticCategory.Message,"Did_you_mean_to_use_new_with_this_expression_6213","Did you mean to use 'new' with this expression?"),Enable_strict_bind_call_and_apply_methods_on_functions:o(6214,e.DiagnosticCategory.Message,"Enable_strict_bind_call_and_apply_methods_on_functions_6214","Enable strict 'bind', 'call', and 'apply' methods on functions."),Using_compiler_options_of_project_reference_redirect_0:o(6215,e.DiagnosticCategory.Message,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:o(6216,e.DiagnosticCategory.Message,"Found_1_error_6216","Found 1 error."),Found_0_errors:o(6217,e.DiagnosticCategory.Message,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:o(6218,e.DiagnosticCategory.Message,"Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2_6218","======== Module name '{0}' was successfully resolved to '{1}' with Package ID '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3:o(6219,e.DiagnosticCategory.Message,"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219","======== Type reference directive '{0}' was successfully resolved to '{1}' with Package ID '{2}', primary: {3}. ========"),package_json_had_a_falsy_0_field:o(6220,e.DiagnosticCategory.Message,"package_json_had_a_falsy_0_field_6220","'package.json' had a falsy '{0}' field."),Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects:o(6221,e.DiagnosticCategory.Message,"Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects_6221","Disable use of source files instead of declaration files from referenced projects."),Emit_class_fields_with_Define_instead_of_Set:o(6222,e.DiagnosticCategory.Message,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:o(6223,e.DiagnosticCategory.Message,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:o(6224,e.DiagnosticCategory.Message,"Disable_solution_searching_for_this_project_6224","Disable solution searching for this project."),Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling_UseFsEvents_UseFsEventsOnParentDirectory:o(6225,e.DiagnosticCategory.Message,"Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_Dynami_6225","Specify strategy for watching file: 'FixedPollingInterval' (default), 'PriorityPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling', 'UseFsEvents', 'UseFsEventsOnParentDirectory'."),Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling:o(6226,e.DiagnosticCategory.Message,"Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively__6226","Specify strategy for watching directory on platforms that don't support recursive watching natively: 'UseFsEvents' (default), 'FixedPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling'."),Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority_FixedChunkSize:o(6227,e.DiagnosticCategory.Message,"Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_6227","Specify strategy for creating a polling watch when it fails to create using file system events: 'FixedInterval' (default), 'PriorityInterval', 'DynamicPriority', 'FixedChunkSize'."),Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3:o(6229,e.DiagnosticCategory.Error,"Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3_6229","Tag '{0}' expects at least '{1}' arguments, but the JSX factory '{2}' provides at most '{3}'."),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line:o(6230,e.DiagnosticCategory.Error,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'false' or 'null' on command line."),Could_not_resolve_the_path_0_with_the_extensions_Colon_1:o(6231,e.DiagnosticCategory.Error,"Could_not_resolve_the_path_0_with_the_extensions_Colon_1_6231","Could not resolve the path '{0}' with the extensions: {1}."),Declaration_augments_declaration_in_another_file_This_cannot_be_serialized:o(6232,e.DiagnosticCategory.Error,"Declaration_augments_declaration_in_another_file_This_cannot_be_serialized_6232","Declaration augments declaration in another file. This cannot be serialized."),This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file:o(6233,e.DiagnosticCategory.Error,"This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233","This is the declaration being augmented. Consider moving the augmenting declaration into the same file."),This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without:o(6234,e.DiagnosticCategory.Error,"This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234","This expression is not callable because it is a 'get' accessor. Did you mean to use it without '()'?"),Disable_loading_referenced_projects:o(6235,e.DiagnosticCategory.Message,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:o(6236,e.DiagnosticCategory.Error,"Arguments_for_the_rest_parameter_0_were_not_provided_6236","Arguments for the rest parameter '{0}' were not provided."),Generates_an_event_trace_and_a_list_of_types:o(6237,e.DiagnosticCategory.Message,"Generates_an_event_trace_and_a_list_of_types_6237","Generates an event trace and a list of types."),Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react:o(6238,e.DiagnosticCategory.Error,"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238","Specify the module specifier to be used to import the 'jsx' and 'jsxs' factory functions from. eg, react"),File_0_exists_according_to_earlier_cached_lookups:o(6239,e.DiagnosticCategory.Message,"File_0_exists_according_to_earlier_cached_lookups_6239","File '{0}' exists according to earlier cached lookups."),File_0_does_not_exist_according_to_earlier_cached_lookups:o(6240,e.DiagnosticCategory.Message,"File_0_does_not_exist_according_to_earlier_cached_lookups_6240","File '{0}' does not exist according to earlier cached lookups."),Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1:o(6241,e.DiagnosticCategory.Message,"Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241","Resolution for type reference directive '{0}' was found in cache from location '{1}'."),Resolving_type_reference_directive_0_containing_file_1:o(6242,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_6242","======== Resolving type reference directive '{0}', containing file '{1}'. ========"),Interpret_optional_property_types_as_written_rather_than_adding_undefined:o(6243,e.DiagnosticCategory.Message,"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243","Interpret optional property types as written, rather than adding 'undefined'."),Modules:o(6244,e.DiagnosticCategory.Message,"Modules_6244","Modules"),File_Management:o(6245,e.DiagnosticCategory.Message,"File_Management_6245","File Management"),Emit:o(6246,e.DiagnosticCategory.Message,"Emit_6246","Emit"),JavaScript_Support:o(6247,e.DiagnosticCategory.Message,"JavaScript_Support_6247","JavaScript Support"),Type_Checking:o(6248,e.DiagnosticCategory.Message,"Type_Checking_6248","Type Checking"),Editor_Support:o(6249,e.DiagnosticCategory.Message,"Editor_Support_6249","Editor Support"),Watch_and_Build_Modes:o(6250,e.DiagnosticCategory.Message,"Watch_and_Build_Modes_6250","Watch and Build Modes"),Compiler_Diagnostics:o(6251,e.DiagnosticCategory.Message,"Compiler_Diagnostics_6251","Compiler Diagnostics"),Interop_Constraints:o(6252,e.DiagnosticCategory.Message,"Interop_Constraints_6252","Interop Constraints"),Backwards_Compatibility:o(6253,e.DiagnosticCategory.Message,"Backwards_Compatibility_6253","Backwards Compatibility"),Language_and_Environment:o(6254,e.DiagnosticCategory.Message,"Language_and_Environment_6254","Language and Environment"),Projects:o(6255,e.DiagnosticCategory.Message,"Projects_6255","Projects"),Output_Formatting:o(6256,e.DiagnosticCategory.Message,"Output_Formatting_6256","Output Formatting"),Completeness:o(6257,e.DiagnosticCategory.Message,"Completeness_6257","Completeness"),_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file:o(6258,e.DiagnosticCategory.Error,"_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file_6258","'{0}' should be set inside the 'compilerOptions' object of the config json file"),Found_1_error_in_1:o(6259,e.DiagnosticCategory.Message,"Found_1_error_in_1_6259","Found 1 error in {1}"),Found_0_errors_in_the_same_file_starting_at_Colon_1:o(6260,e.DiagnosticCategory.Message,"Found_0_errors_in_the_same_file_starting_at_Colon_1_6260","Found {0} errors in the same file, starting at: {1}"),Found_0_errors_in_1_files:o(6261,e.DiagnosticCategory.Message,"Found_0_errors_in_1_files_6261","Found {0} errors in {1} files."),Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve:o(6270,e.DiagnosticCategory.Message,"Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve_6270","Directory '{0}' has no containing package.json scope. Imports will not resolve."),Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1:o(6271,e.DiagnosticCategory.Message,"Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6271","Import specifier '{0}' does not exist in package.json scope at path '{1}'."),Invalid_import_specifier_0_has_no_possible_resolutions:o(6272,e.DiagnosticCategory.Message,"Invalid_import_specifier_0_has_no_possible_resolutions_6272","Invalid import specifier '{0}' has no possible resolutions."),package_json_scope_0_has_no_imports_defined:o(6273,e.DiagnosticCategory.Message,"package_json_scope_0_has_no_imports_defined_6273","package.json scope '{0}' has no imports defined."),package_json_scope_0_explicitly_maps_specifier_1_to_null:o(6274,e.DiagnosticCategory.Message,"package_json_scope_0_explicitly_maps_specifier_1_to_null_6274","package.json scope '{0}' explicitly maps specifier '{1}' to null."),package_json_scope_0_has_invalid_type_for_target_of_specifier_1:o(6275,e.DiagnosticCategory.Message,"package_json_scope_0_has_invalid_type_for_target_of_specifier_1_6275","package.json scope '{0}' has invalid type for target of specifier '{1}'"),Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1:o(6276,e.DiagnosticCategory.Message,"Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6276","Export specifier '{0}' does not exist in package.json scope at path '{1}'."),Enable_project_compilation:o(6302,e.DiagnosticCategory.Message,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:o(6304,e.DiagnosticCategory.Error,"Composite_projects_may_not_disable_declaration_emit_6304","Composite projects may not disable declaration emit."),Output_file_0_has_not_been_built_from_source_file_1:o(6305,e.DiagnosticCategory.Error,"Output_file_0_has_not_been_built_from_source_file_1_6305","Output file '{0}' has not been built from source file '{1}'."),Referenced_project_0_must_have_setting_composite_Colon_true:o(6306,e.DiagnosticCategory.Error,"Referenced_project_0_must_have_setting_composite_Colon_true_6306",`Referenced project '{0}' must have setting "composite": true.`),File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern:o(6307,e.DiagnosticCategory.Error,"File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_includ_6307","File '{0}' is not listed within the file list of project '{1}'. Projects must list all files or use an 'include' pattern."),Cannot_prepend_project_0_because_it_does_not_have_outFile_set:o(6308,e.DiagnosticCategory.Error,"Cannot_prepend_project_0_because_it_does_not_have_outFile_set_6308","Cannot prepend project '{0}' because it does not have 'outFile' set"),Output_file_0_from_project_1_does_not_exist:o(6309,e.DiagnosticCategory.Error,"Output_file_0_from_project_1_does_not_exist_6309","Output file '{0}' from project '{1}' does not exist"),Referenced_project_0_may_not_disable_emit:o(6310,e.DiagnosticCategory.Error,"Referenced_project_0_may_not_disable_emit_6310","Referenced project '{0}' may not disable emit."),Project_0_is_out_of_date_because_output_1_is_older_than_input_2:o(6350,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_1_is_older_than_input_2_6350","Project '{0}' is out of date because output '{1}' is older than input '{2}'"),Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2:o(6351,e.DiagnosticCategory.Message,"Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2_6351","Project '{0}' is up to date because newest input '{1}' is older than output '{2}'"),Project_0_is_out_of_date_because_output_file_1_does_not_exist:o(6352,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352","Project '{0}' is out of date because output file '{1}' does not exist"),Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date:o(6353,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date_6353","Project '{0}' is out of date because its dependency '{1}' is out of date"),Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies:o(6354,e.DiagnosticCategory.Message,"Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies_6354","Project '{0}' is up to date with .d.ts files from its dependencies"),Projects_in_this_build_Colon_0:o(6355,e.DiagnosticCategory.Message,"Projects_in_this_build_Colon_0_6355","Projects in this build: {0}"),A_non_dry_build_would_delete_the_following_files_Colon_0:o(6356,e.DiagnosticCategory.Message,"A_non_dry_build_would_delete_the_following_files_Colon_0_6356","A non-dry build would delete the following files: {0}"),A_non_dry_build_would_build_project_0:o(6357,e.DiagnosticCategory.Message,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:o(6358,e.DiagnosticCategory.Message,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:o(6359,e.DiagnosticCategory.Message,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),Project_0_is_up_to_date:o(6361,e.DiagnosticCategory.Message,"Project_0_is_up_to_date_6361","Project '{0}' is up to date"),Skipping_build_of_project_0_because_its_dependency_1_has_errors:o(6362,e.DiagnosticCategory.Message,"Skipping_build_of_project_0_because_its_dependency_1_has_errors_6362","Skipping build of project '{0}' because its dependency '{1}' has errors"),Project_0_can_t_be_built_because_its_dependency_1_has_errors:o(6363,e.DiagnosticCategory.Message,"Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363","Project '{0}' can't be built because its dependency '{1}' has errors"),Build_one_or_more_projects_and_their_dependencies_if_out_of_date:o(6364,e.DiagnosticCategory.Message,"Build_one_or_more_projects_and_their_dependencies_if_out_of_date_6364","Build one or more projects and their dependencies, if out of date"),Delete_the_outputs_of_all_projects:o(6365,e.DiagnosticCategory.Message,"Delete_the_outputs_of_all_projects_6365","Delete the outputs of all projects."),Show_what_would_be_built_or_deleted_if_specified_with_clean:o(6367,e.DiagnosticCategory.Message,"Show_what_would_be_built_or_deleted_if_specified_with_clean_6367","Show what would be built (or deleted, if specified with '--clean')"),Option_build_must_be_the_first_command_line_argument:o(6369,e.DiagnosticCategory.Error,"Option_build_must_be_the_first_command_line_argument_6369","Option '--build' must be the first command line argument."),Options_0_and_1_cannot_be_combined:o(6370,e.DiagnosticCategory.Error,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:o(6371,e.DiagnosticCategory.Message,"Updating_unchanged_output_timestamps_of_project_0_6371","Updating unchanged output timestamps of project '{0}'..."),Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed:o(6372,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372","Project '{0}' is out of date because output of its dependency '{1}' has changed"),Updating_output_of_project_0:o(6373,e.DiagnosticCategory.Message,"Updating_output_of_project_0_6373","Updating output of project '{0}'..."),A_non_dry_build_would_update_timestamps_for_output_of_project_0:o(6374,e.DiagnosticCategory.Message,"A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374","A non-dry build would update timestamps for output of project '{0}'"),A_non_dry_build_would_update_output_of_project_0:o(6375,e.DiagnosticCategory.Message,"A_non_dry_build_would_update_output_of_project_0_6375","A non-dry build would update output of project '{0}'"),Cannot_update_output_of_project_0_because_there_was_error_reading_file_1:o(6376,e.DiagnosticCategory.Message,"Cannot_update_output_of_project_0_because_there_was_error_reading_file_1_6376","Cannot update output of project '{0}' because there was error reading file '{1}'"),Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1:o(6377,e.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1_6377","Cannot write file '{0}' because it will overwrite '.tsbuildinfo' file generated by referenced project '{1}'"),Composite_projects_may_not_disable_incremental_compilation:o(6379,e.DiagnosticCategory.Error,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:o(6380,e.DiagnosticCategory.Message,"Specify_file_to_store_incremental_compilation_information_6380","Specify file to store incremental compilation information"),Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2:o(6381,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381","Project '{0}' is out of date because output for it was generated with version '{1}' that differs with current version '{2}'"),Skipping_build_of_project_0_because_its_dependency_1_was_not_built:o(6382,e.DiagnosticCategory.Message,"Skipping_build_of_project_0_because_its_dependency_1_was_not_built_6382","Skipping build of project '{0}' because its dependency '{1}' was not built"),Project_0_can_t_be_built_because_its_dependency_1_was_not_built:o(6383,e.DiagnosticCategory.Message,"Project_0_can_t_be_built_because_its_dependency_1_was_not_built_6383","Project '{0}' can't be built because its dependency '{1}' was not built"),Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:o(6384,e.DiagnosticCategory.Message,"Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_di_6384","Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it."),_0_is_deprecated:o(6385,e.DiagnosticCategory.Suggestion,"_0_is_deprecated_6385","'{0}' is deprecated.",void 0,void 0,!0),Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found:o(6386,e.DiagnosticCategory.Message,"Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_nativ_6386","Performance timings for '--diagnostics' or '--extendedDiagnostics' are not available in this session. A native implementation of the Web Performance API could not be found."),The_signature_0_of_1_is_deprecated:o(6387,e.DiagnosticCategory.Suggestion,"The_signature_0_of_1_is_deprecated_6387","The signature '{0}' of '{1}' is deprecated.",void 0,void 0,!0),Project_0_is_being_forcibly_rebuilt:o(6388,e.DiagnosticCategory.Message,"Project_0_is_being_forcibly_rebuilt_6388","Project '{0}' is being forcibly rebuilt"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:o(6389,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved_6389","Reusing resolution of module '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:o(6390,e.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6390","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:o(6391,e.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved:o(6392,e.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved_6392","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:o(6393,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6393","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:o(6394,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6394","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:o(6395,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved_6395","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:o(6396,e.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6396","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:o(6397,e.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6397","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:o(6398,e.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_re_6398","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted:o(6399,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitte_6399","Project '{0}' is out of date because buildinfo file '{1}' indicates that some of the changes were not emitted"),Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files:o(6400,e.DiagnosticCategory.Message,"Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_fil_6400","Project '{0}' is up to date but needs to update timestamps of output files that are older than input files"),Project_0_is_out_of_date_because_there_was_error_reading_file_1:o(6401,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_there_was_error_reading_file_1_6401","Project '{0}' is out of date because there was error reading file '{1}'"),Resolving_in_0_mode_with_conditions_1:o(6402,e.DiagnosticCategory.Message,"Resolving_in_0_mode_with_conditions_1_6402","Resolving in {0} mode with conditions {1}."),Matched_0_condition_1:o(6403,e.DiagnosticCategory.Message,"Matched_0_condition_1_6403","Matched '{0}' condition '{1}'."),Using_0_subpath_1_with_target_2:o(6404,e.DiagnosticCategory.Message,"Using_0_subpath_1_with_target_2_6404","Using '{0}' subpath '{1}' with target '{2}'."),Saw_non_matching_condition_0:o(6405,e.DiagnosticCategory.Message,"Saw_non_matching_condition_0_6405","Saw non-matching condition '{0}'."),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:o(6500,e.DiagnosticCategory.Message,"The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1_6500","The expected type comes from property '{0}' which is declared here on type '{1}'"),The_expected_type_comes_from_this_index_signature:o(6501,e.DiagnosticCategory.Message,"The_expected_type_comes_from_this_index_signature_6501","The expected type comes from this index signature."),The_expected_type_comes_from_the_return_type_of_this_signature:o(6502,e.DiagnosticCategory.Message,"The_expected_type_comes_from_the_return_type_of_this_signature_6502","The expected type comes from the return type of this signature."),Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing:o(6503,e.DiagnosticCategory.Message,"Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing_6503","Print names of files that are part of the compilation and then stop processing."),File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option:o(6504,e.DiagnosticCategory.Error,"File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option_6504","File '{0}' is a JavaScript file. Did you mean to enable the 'allowJs' option?"),Print_names_of_files_and_the_reason_they_are_part_of_the_compilation:o(6505,e.DiagnosticCategory.Message,"Print_names_of_files_and_the_reason_they_are_part_of_the_compilation_6505","Print names of files and the reason they are part of the compilation."),Consider_adding_a_declare_modifier_to_this_class:o(6506,e.DiagnosticCategory.Message,"Consider_adding_a_declare_modifier_to_this_class_6506","Consider adding a 'declare' modifier to this class."),Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files:o(6600,e.DiagnosticCategory.Message,"Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these__6600","Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files."),Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export:o(6601,e.DiagnosticCategory.Message,"Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export_6601","Allow 'import x from y' when a module doesn't have a default export."),Allow_accessing_UMD_globals_from_modules:o(6602,e.DiagnosticCategory.Message,"Allow_accessing_UMD_globals_from_modules_6602","Allow accessing UMD globals from modules."),Disable_error_reporting_for_unreachable_code:o(6603,e.DiagnosticCategory.Message,"Disable_error_reporting_for_unreachable_code_6603","Disable error reporting for unreachable code."),Disable_error_reporting_for_unused_labels:o(6604,e.DiagnosticCategory.Message,"Disable_error_reporting_for_unused_labels_6604","Disable error reporting for unused labels."),Ensure_use_strict_is_always_emitted:o(6605,e.DiagnosticCategory.Message,"Ensure_use_strict_is_always_emitted_6605","Ensure 'use strict' is always emitted."),Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:o(6606,e.DiagnosticCategory.Message,"Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_wi_6606","Have recompiles in projects that use 'incremental' and 'watch' mode assume that changes within a file will only affect files directly depending on it."),Specify_the_base_directory_to_resolve_non_relative_module_names:o(6607,e.DiagnosticCategory.Message,"Specify_the_base_directory_to_resolve_non_relative_module_names_6607","Specify the base directory to resolve non-relative module names."),No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files:o(6608,e.DiagnosticCategory.Message,"No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files_6608","No longer supported. In early versions, manually set the text encoding for reading files."),Enable_error_reporting_in_type_checked_JavaScript_files:o(6609,e.DiagnosticCategory.Message,"Enable_error_reporting_in_type_checked_JavaScript_files_6609","Enable error reporting in type-checked JavaScript files."),Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references:o(6611,e.DiagnosticCategory.Message,"Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references_6611","Enable constraints that allow a TypeScript project to be used with project references."),Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project:o(6612,e.DiagnosticCategory.Message,"Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project_6612","Generate .d.ts files from TypeScript and JavaScript files in your project."),Specify_the_output_directory_for_generated_declaration_files:o(6613,e.DiagnosticCategory.Message,"Specify_the_output_directory_for_generated_declaration_files_6613","Specify the output directory for generated declaration files."),Create_sourcemaps_for_d_ts_files:o(6614,e.DiagnosticCategory.Message,"Create_sourcemaps_for_d_ts_files_6614","Create sourcemaps for d.ts files."),Output_compiler_performance_information_after_building:o(6615,e.DiagnosticCategory.Message,"Output_compiler_performance_information_after_building_6615","Output compiler performance information after building."),Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project:o(6616,e.DiagnosticCategory.Message,"Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project_6616","Disables inference for type acquisition by looking at filenames in a project."),Reduce_the_number_of_projects_loaded_automatically_by_TypeScript:o(6617,e.DiagnosticCategory.Message,"Reduce_the_number_of_projects_loaded_automatically_by_TypeScript_6617","Reduce the number of projects loaded automatically by TypeScript."),Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server:o(6618,e.DiagnosticCategory.Message,"Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server_6618","Remove the 20mb cap on total source code size for JavaScript files in the TypeScript language server."),Opt_a_project_out_of_multi_project_reference_checking_when_editing:o(6619,e.DiagnosticCategory.Message,"Opt_a_project_out_of_multi_project_reference_checking_when_editing_6619","Opt a project out of multi-project reference checking when editing."),Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects:o(6620,e.DiagnosticCategory.Message,"Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects_6620","Disable preferring source files instead of declaration files when referencing composite projects."),Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration:o(6621,e.DiagnosticCategory.Message,"Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration_6621","Emit more compliant, but verbose and less performant JavaScript for iteration."),Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:o(6622,e.DiagnosticCategory.Message,"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6622","Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files."),Only_output_d_ts_files_and_not_JavaScript_files:o(6623,e.DiagnosticCategory.Message,"Only_output_d_ts_files_and_not_JavaScript_files_6623","Only output d.ts files and not JavaScript files."),Emit_design_type_metadata_for_decorated_declarations_in_source_files:o(6624,e.DiagnosticCategory.Message,"Emit_design_type_metadata_for_decorated_declarations_in_source_files_6624","Emit design-type metadata for decorated declarations in source files."),Disable_the_type_acquisition_for_JavaScript_projects:o(6625,e.DiagnosticCategory.Message,"Disable_the_type_acquisition_for_JavaScript_projects_6625","Disable the type acquisition for JavaScript projects"),Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility:o(6626,e.DiagnosticCategory.Message,"Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheti_6626","Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility."),Filters_results_from_the_include_option:o(6627,e.DiagnosticCategory.Message,"Filters_results_from_the_include_option_6627","Filters results from the `include` option."),Remove_a_list_of_directories_from_the_watch_process:o(6628,e.DiagnosticCategory.Message,"Remove_a_list_of_directories_from_the_watch_process_6628","Remove a list of directories from the watch process."),Remove_a_list_of_files_from_the_watch_mode_s_processing:o(6629,e.DiagnosticCategory.Message,"Remove_a_list_of_files_from_the_watch_mode_s_processing_6629","Remove a list of files from the watch mode's processing."),Enable_experimental_support_for_TC39_stage_2_draft_decorators:o(6630,e.DiagnosticCategory.Message,"Enable_experimental_support_for_TC39_stage_2_draft_decorators_6630","Enable experimental support for TC39 stage 2 draft decorators."),Print_files_read_during_the_compilation_including_why_it_was_included:o(6631,e.DiagnosticCategory.Message,"Print_files_read_during_the_compilation_including_why_it_was_included_6631","Print files read during the compilation including why it was included."),Output_more_detailed_compiler_performance_information_after_building:o(6632,e.DiagnosticCategory.Message,"Output_more_detailed_compiler_performance_information_after_building_6632","Output more detailed compiler performance information after building."),Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_are_inherited:o(6633,e.DiagnosticCategory.Message,"Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_a_6633","Specify one or more path or node module references to base configuration files from which settings are inherited."),Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers:o(6634,e.DiagnosticCategory.Message,"Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers_6634","Specify what approach the watcher should use if the system runs out of native file watchers."),Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include:o(6635,e.DiagnosticCategory.Message,"Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include_6635","Include a list of files. This does not support glob patterns, as opposed to `include`."),Build_all_projects_including_those_that_appear_to_be_up_to_date:o(6636,e.DiagnosticCategory.Message,"Build_all_projects_including_those_that_appear_to_be_up_to_date_6636","Build all projects, including those that appear to be up to date."),Ensure_that_casing_is_correct_in_imports:o(6637,e.DiagnosticCategory.Message,"Ensure_that_casing_is_correct_in_imports_6637","Ensure that casing is correct in imports."),Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging:o(6638,e.DiagnosticCategory.Message,"Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging_6638","Emit a v8 CPU profile of the compiler run for debugging."),Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file:o(6639,e.DiagnosticCategory.Message,"Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file_6639","Allow importing helper functions from tslib once per project, instead of including them per-file."),Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation:o(6641,e.DiagnosticCategory.Message,"Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation_6641","Specify a list of glob patterns that match files to be included in compilation."),Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects:o(6642,e.DiagnosticCategory.Message,"Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642","Save .tsbuildinfo files to allow for incremental compilation of projects."),Include_sourcemap_files_inside_the_emitted_JavaScript:o(6643,e.DiagnosticCategory.Message,"Include_sourcemap_files_inside_the_emitted_JavaScript_6643","Include sourcemap files inside the emitted JavaScript."),Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript:o(6644,e.DiagnosticCategory.Message,"Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript_6644","Include source code in the sourcemaps inside the emitted JavaScript."),Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports:o(6645,e.DiagnosticCategory.Message,"Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports_6645","Ensure that each file can be safely transpiled without relying on other imports."),Specify_what_JSX_code_is_generated:o(6646,e.DiagnosticCategory.Message,"Specify_what_JSX_code_is_generated_6646","Specify what JSX code is generated."),Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h:o(6647,e.DiagnosticCategory.Message,"Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h_6647","Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'."),Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment:o(6648,e.DiagnosticCategory.Message,"Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragme_6648","Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'."),Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk:o(6649,e.DiagnosticCategory.Message,"Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Ast_6649","Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'."),Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option:o(6650,e.DiagnosticCategory.Message,"Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650","Make keyof only return strings instead of string, numbers or symbols. Legacy option."),Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment:o(6651,e.DiagnosticCategory.Message,"Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment_6651","Specify a set of bundled library declaration files that describe the target runtime environment."),Print_the_names_of_emitted_files_after_a_compilation:o(6652,e.DiagnosticCategory.Message,"Print_the_names_of_emitted_files_after_a_compilation_6652","Print the names of emitted files after a compilation."),Print_all_of_the_files_read_during_the_compilation:o(6653,e.DiagnosticCategory.Message,"Print_all_of_the_files_read_during_the_compilation_6653","Print all of the files read during the compilation."),Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit:o(6654,e.DiagnosticCategory.Message,"Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit_6654","Set the language of the messaging from TypeScript. This does not affect emit."),Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:o(6655,e.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6655","Specify the location where debugger should locate map files instead of generated locations."),Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs:o(6656,e.DiagnosticCategory.Message,"Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicabl_6656","Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'."),Specify_what_module_code_is_generated:o(6657,e.DiagnosticCategory.Message,"Specify_what_module_code_is_generated_6657","Specify what module code is generated."),Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier:o(6658,e.DiagnosticCategory.Message,"Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier_6658","Specify how TypeScript looks up a file from a given module specifier."),Set_the_newline_character_for_emitting_files:o(6659,e.DiagnosticCategory.Message,"Set_the_newline_character_for_emitting_files_6659","Set the newline character for emitting files."),Disable_emitting_files_from_a_compilation:o(6660,e.DiagnosticCategory.Message,"Disable_emitting_files_from_a_compilation_6660","Disable emitting files from a compilation."),Disable_generating_custom_helper_functions_like_extends_in_compiled_output:o(6661,e.DiagnosticCategory.Message,"Disable_generating_custom_helper_functions_like_extends_in_compiled_output_6661","Disable generating custom helper functions like '__extends' in compiled output."),Disable_emitting_files_if_any_type_checking_errors_are_reported:o(6662,e.DiagnosticCategory.Message,"Disable_emitting_files_if_any_type_checking_errors_are_reported_6662","Disable emitting files if any type checking errors are reported."),Disable_truncating_types_in_error_messages:o(6663,e.DiagnosticCategory.Message,"Disable_truncating_types_in_error_messages_6663","Disable truncating types in error messages."),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:o(6664,e.DiagnosticCategory.Message,"Enable_error_reporting_for_fallthrough_cases_in_switch_statements_6664","Enable error reporting for fallthrough cases in switch statements."),Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type:o(6665,e.DiagnosticCategory.Message,"Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type_6665","Enable error reporting for expressions and declarations with an implied 'any' type."),Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier:o(6666,e.DiagnosticCategory.Message,"Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier_6666","Ensure overriding members in derived classes are marked with an override modifier."),Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function:o(6667,e.DiagnosticCategory.Message,"Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function_6667","Enable error reporting for codepaths that do not explicitly return in a function."),Enable_error_reporting_when_this_is_given_the_type_any:o(6668,e.DiagnosticCategory.Message,"Enable_error_reporting_when_this_is_given_the_type_any_6668","Enable error reporting when 'this' is given the type 'any'."),Disable_adding_use_strict_directives_in_emitted_JavaScript_files:o(6669,e.DiagnosticCategory.Message,"Disable_adding_use_strict_directives_in_emitted_JavaScript_files_6669","Disable adding 'use strict' directives in emitted JavaScript files."),Disable_including_any_library_files_including_the_default_lib_d_ts:o(6670,e.DiagnosticCategory.Message,"Disable_including_any_library_files_including_the_default_lib_d_ts_6670","Disable including any library files, including the default lib.d.ts."),Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type:o(6671,e.DiagnosticCategory.Message,"Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type_6671","Enforces using indexed accessors for keys declared using an indexed type."),Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project:o(6672,e.DiagnosticCategory.Message,"Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add__6672","Disallow 'import's, 'require's or ''s from expanding the number of files TypeScript should add to a project."),Disable_strict_checking_of_generic_signatures_in_function_types:o(6673,e.DiagnosticCategory.Message,"Disable_strict_checking_of_generic_signatures_in_function_types_6673","Disable strict checking of generic signatures in function types."),Add_undefined_to_a_type_when_accessed_using_an_index:o(6674,e.DiagnosticCategory.Message,"Add_undefined_to_a_type_when_accessed_using_an_index_6674","Add 'undefined' to a type when accessed using an index."),Enable_error_reporting_when_local_variables_aren_t_read:o(6675,e.DiagnosticCategory.Message,"Enable_error_reporting_when_local_variables_aren_t_read_6675","Enable error reporting when local variables aren't read."),Raise_an_error_when_a_function_parameter_isn_t_read:o(6676,e.DiagnosticCategory.Message,"Raise_an_error_when_a_function_parameter_isn_t_read_6676","Raise an error when a function parameter isn't read."),Deprecated_setting_Use_outFile_instead:o(6677,e.DiagnosticCategory.Message,"Deprecated_setting_Use_outFile_instead_6677","Deprecated setting. Use 'outFile' instead."),Specify_an_output_folder_for_all_emitted_files:o(6678,e.DiagnosticCategory.Message,"Specify_an_output_folder_for_all_emitted_files_6678","Specify an output folder for all emitted files."),Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output:o(6679,e.DiagnosticCategory.Message,"Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designa_6679","Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output."),Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations:o(6680,e.DiagnosticCategory.Message,"Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations_6680","Specify a set of entries that re-map imports to additional lookup locations."),Specify_a_list_of_language_service_plugins_to_include:o(6681,e.DiagnosticCategory.Message,"Specify_a_list_of_language_service_plugins_to_include_6681","Specify a list of language service plugins to include."),Disable_erasing_const_enum_declarations_in_generated_code:o(6682,e.DiagnosticCategory.Message,"Disable_erasing_const_enum_declarations_in_generated_code_6682","Disable erasing 'const enum' declarations in generated code."),Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node:o(6683,e.DiagnosticCategory.Message,"Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node_6683","Disable resolving symlinks to their realpath. This correlates to the same flag in node."),Disable_wiping_the_console_in_watch_mode:o(6684,e.DiagnosticCategory.Message,"Disable_wiping_the_console_in_watch_mode_6684","Disable wiping the console in watch mode."),Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read:o(6685,e.DiagnosticCategory.Message,"Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read_6685","Enable color and formatting in TypeScript's output to make compiler errors easier to read."),Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit:o(6686,e.DiagnosticCategory.Message,"Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit_6686","Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit."),Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references:o(6687,e.DiagnosticCategory.Message,"Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references_6687","Specify an array of objects that specify paths for projects. Used in project references."),Disable_emitting_comments:o(6688,e.DiagnosticCategory.Message,"Disable_emitting_comments_6688","Disable emitting comments."),Enable_importing_json_files:o(6689,e.DiagnosticCategory.Message,"Enable_importing_json_files_6689","Enable importing .json files."),Specify_the_root_folder_within_your_source_files:o(6690,e.DiagnosticCategory.Message,"Specify_the_root_folder_within_your_source_files_6690","Specify the root folder within your source files."),Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules:o(6691,e.DiagnosticCategory.Message,"Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules_6691","Allow multiple folders to be treated as one when resolving modules."),Skip_type_checking_d_ts_files_that_are_included_with_TypeScript:o(6692,e.DiagnosticCategory.Message,"Skip_type_checking_d_ts_files_that_are_included_with_TypeScript_6692","Skip type checking .d.ts files that are included with TypeScript."),Skip_type_checking_all_d_ts_files:o(6693,e.DiagnosticCategory.Message,"Skip_type_checking_all_d_ts_files_6693","Skip type checking all .d.ts files."),Create_source_map_files_for_emitted_JavaScript_files:o(6694,e.DiagnosticCategory.Message,"Create_source_map_files_for_emitted_JavaScript_files_6694","Create source map files for emitted JavaScript files."),Specify_the_root_path_for_debuggers_to_find_the_reference_source_code:o(6695,e.DiagnosticCategory.Message,"Specify_the_root_path_for_debuggers_to_find_the_reference_source_code_6695","Specify the root path for debuggers to find the reference source code."),Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function:o(6697,e.DiagnosticCategory.Message,"Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function_6697","Check that the arguments for 'bind', 'call', and 'apply' methods match the original function."),When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible:o(6698,e.DiagnosticCategory.Message,"When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible_6698","When assigning functions, check to ensure parameters and the return values are subtype-compatible."),When_type_checking_take_into_account_null_and_undefined:o(6699,e.DiagnosticCategory.Message,"When_type_checking_take_into_account_null_and_undefined_6699","When type checking, take into account 'null' and 'undefined'."),Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor:o(6700,e.DiagnosticCategory.Message,"Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor_6700","Check for class properties that are declared but not set in the constructor."),Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments:o(6701,e.DiagnosticCategory.Message,"Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments_6701","Disable emitting declarations that have '@internal' in their JSDoc comments."),Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals:o(6702,e.DiagnosticCategory.Message,"Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals_6702","Disable reporting of excess property errors during the creation of object literals."),Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures:o(6703,e.DiagnosticCategory.Message,"Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures_6703","Suppress 'noImplicitAny' errors when indexing objects that lack index signatures."),Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively:o(6704,e.DiagnosticCategory.Message,"Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_supp_6704","Synchronously call callbacks and update the state of directory watchers on platforms that don`t support recursive watching natively."),Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations:o(6705,e.DiagnosticCategory.Message,"Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declaratio_6705","Set the JavaScript language version for emitted JavaScript and include compatible library declarations."),Log_paths_used_during_the_moduleResolution_process:o(6706,e.DiagnosticCategory.Message,"Log_paths_used_during_the_moduleResolution_process_6706","Log paths used during the 'moduleResolution' process."),Specify_the_path_to_tsbuildinfo_incremental_compilation_file:o(6707,e.DiagnosticCategory.Message,"Specify_the_path_to_tsbuildinfo_incremental_compilation_file_6707","Specify the path to .tsbuildinfo incremental compilation file."),Specify_options_for_automatic_acquisition_of_declaration_files:o(6709,e.DiagnosticCategory.Message,"Specify_options_for_automatic_acquisition_of_declaration_files_6709","Specify options for automatic acquisition of declaration files."),Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types:o(6710,e.DiagnosticCategory.Message,"Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types_6710","Specify multiple folders that act like './node_modules/@types'."),Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file:o(6711,e.DiagnosticCategory.Message,"Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file_6711","Specify type package names to be included without being referenced in a source file."),Emit_ECMAScript_standard_compliant_class_fields:o(6712,e.DiagnosticCategory.Message,"Emit_ECMAScript_standard_compliant_class_fields_6712","Emit ECMAScript-standard-compliant class fields."),Enable_verbose_logging:o(6713,e.DiagnosticCategory.Message,"Enable_verbose_logging_6713","Enable verbose logging."),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:o(6714,e.DiagnosticCategory.Message,"Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality_6714","Specify how directories are watched on systems that lack recursive file-watching functionality."),Specify_how_the_TypeScript_watch_mode_works:o(6715,e.DiagnosticCategory.Message,"Specify_how_the_TypeScript_watch_mode_works_6715","Specify how the TypeScript watch mode works."),Require_undeclared_properties_from_index_signatures_to_use_element_accesses:o(6717,e.DiagnosticCategory.Message,"Require_undeclared_properties_from_index_signatures_to_use_element_accesses_6717","Require undeclared properties from index signatures to use element accesses."),Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types:o(6718,e.DiagnosticCategory.Message,"Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_6718","Specify emit/checking behavior for imports that are only used for types."),Default_catch_clause_variables_as_unknown_instead_of_any:o(6803,e.DiagnosticCategory.Message,"Default_catch_clause_variables_as_unknown_instead_of_any_6803","Default catch clause variables as 'unknown' instead of 'any'."),one_of_Colon:o(6900,e.DiagnosticCategory.Message,"one_of_Colon_6900","one of:"),one_or_more_Colon:o(6901,e.DiagnosticCategory.Message,"one_or_more_Colon_6901","one or more:"),type_Colon:o(6902,e.DiagnosticCategory.Message,"type_Colon_6902","type:"),default_Colon:o(6903,e.DiagnosticCategory.Message,"default_Colon_6903","default:"),module_system_or_esModuleInterop:o(6904,e.DiagnosticCategory.Message,"module_system_or_esModuleInterop_6904",'module === "system" or esModuleInterop'),false_unless_strict_is_set:o(6905,e.DiagnosticCategory.Message,"false_unless_strict_is_set_6905","`false`, unless `strict` is set"),false_unless_composite_is_set:o(6906,e.DiagnosticCategory.Message,"false_unless_composite_is_set_6906","`false`, unless `composite` is set"),node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified:o(6907,e.DiagnosticCategory.Message,"node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified_6907",'`["node_modules", "bower_components", "jspm_packages"]`, plus the value of `outDir` if one is specified.'),if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk:o(6908,e.DiagnosticCategory.Message,"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908",'`[]` if `files` is specified, otherwise `["**/*"]`'),true_if_composite_false_otherwise:o(6909,e.DiagnosticCategory.Message,"true_if_composite_false_otherwise_6909","`true` if `composite`, `false` otherwise"),module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node:o(69010,e.DiagnosticCategory.Message,"module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010","module === `AMD` or `UMD` or `System` or `ES6`, then `Classic`, Otherwise `Node`"),Computed_from_the_list_of_input_files:o(6911,e.DiagnosticCategory.Message,"Computed_from_the_list_of_input_files_6911","Computed from the list of input files"),Platform_specific:o(6912,e.DiagnosticCategory.Message,"Platform_specific_6912","Platform specific"),You_can_learn_about_all_of_the_compiler_options_at_0:o(6913,e.DiagnosticCategory.Message,"You_can_learn_about_all_of_the_compiler_options_at_0_6913","You can learn about all of the compiler options at {0}"),Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_config_watch_mode_with_Colon:o(6914,e.DiagnosticCategory.Message,"Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_conf_6914","Including --watch, -w will start watching the current project for the file changes. Once set, you can config watch mode with:"),Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_trigger_building_composite_projects_which_you_can_learn_more_about_at_0:o(6915,e.DiagnosticCategory.Message,"Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915","Using --build, -b will make tsc behave more like a build orchestrator than a compiler. This is used to trigger building composite projects which you can learn more about at {0}"),COMMON_COMMANDS:o(6916,e.DiagnosticCategory.Message,"COMMON_COMMANDS_6916","COMMON COMMANDS"),ALL_COMPILER_OPTIONS:o(6917,e.DiagnosticCategory.Message,"ALL_COMPILER_OPTIONS_6917","ALL COMPILER OPTIONS"),WATCH_OPTIONS:o(6918,e.DiagnosticCategory.Message,"WATCH_OPTIONS_6918","WATCH OPTIONS"),BUILD_OPTIONS:o(6919,e.DiagnosticCategory.Message,"BUILD_OPTIONS_6919","BUILD OPTIONS"),COMMON_COMPILER_OPTIONS:o(6920,e.DiagnosticCategory.Message,"COMMON_COMPILER_OPTIONS_6920","COMMON COMPILER OPTIONS"),COMMAND_LINE_FLAGS:o(6921,e.DiagnosticCategory.Message,"COMMAND_LINE_FLAGS_6921","COMMAND LINE FLAGS"),tsc_Colon_The_TypeScript_Compiler:o(6922,e.DiagnosticCategory.Message,"tsc_Colon_The_TypeScript_Compiler_6922","tsc: The TypeScript Compiler"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:o(6923,e.DiagnosticCategory.Message,"Compiles_the_current_project_tsconfig_json_in_the_working_directory_6923","Compiles the current project (tsconfig.json in the working directory.)"),Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options:o(6924,e.DiagnosticCategory.Message,"Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924","Ignoring tsconfig.json, compiles the specified files with default compiler options."),Build_a_composite_project_in_the_working_directory:o(6925,e.DiagnosticCategory.Message,"Build_a_composite_project_in_the_working_directory_6925","Build a composite project in the working directory."),Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory:o(6926,e.DiagnosticCategory.Message,"Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory_6926","Creates a tsconfig.json with the recommended settings in the working directory."),Compiles_the_TypeScript_project_located_at_the_specified_path:o(6927,e.DiagnosticCategory.Message,"Compiles_the_TypeScript_project_located_at_the_specified_path_6927","Compiles the TypeScript project located at the specified path."),An_expanded_version_of_this_information_showing_all_possible_compiler_options:o(6928,e.DiagnosticCategory.Message,"An_expanded_version_of_this_information_showing_all_possible_compiler_options_6928","An expanded version of this information, showing all possible compiler options"),Compiles_the_current_project_with_additional_settings:o(6929,e.DiagnosticCategory.Message,"Compiles_the_current_project_with_additional_settings_6929","Compiles the current project, with additional settings."),true_for_ES2022_and_above_including_ESNext:o(6930,e.DiagnosticCategory.Message,"true_for_ES2022_and_above_including_ESNext_6930","`true` for ES2022 and above, including ESNext."),List_of_file_name_suffixes_to_search_when_resolving_a_module:o(6931,e.DiagnosticCategory.Error,"List_of_file_name_suffixes_to_search_when_resolving_a_module_6931","List of file name suffixes to search when resolving a module."),Variable_0_implicitly_has_an_1_type:o(7005,e.DiagnosticCategory.Error,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:o(7006,e.DiagnosticCategory.Error,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:o(7008,e.DiagnosticCategory.Error,"Member_0_implicitly_has_an_1_type_7008","Member '{0}' implicitly has an '{1}' type."),new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type:o(7009,e.DiagnosticCategory.Error,"new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009","'new' expression, whose target lacks a construct signature, implicitly has an 'any' type."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:o(7010,e.DiagnosticCategory.Error,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type_7010","'{0}', which lacks return-type annotation, implicitly has an '{1}' return type."),Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:o(7011,e.DiagnosticCategory.Error,"Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7011","Function expression, which lacks return-type annotation, implicitly has an '{0}' return type."),Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:o(7013,e.DiagnosticCategory.Error,"Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7013","Construct signature, which lacks return-type annotation, implicitly has an 'any' return type."),Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:o(7014,e.DiagnosticCategory.Error,"Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7014","Function type, which lacks return-type annotation, implicitly has an '{0}' return type."),Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number:o(7015,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number_7015","Element implicitly has an 'any' type because index expression is not of type 'number'."),Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type:o(7016,e.DiagnosticCategory.Error,"Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type_7016","Could not find a declaration file for module '{0}'. '{1}' implicitly has an 'any' type."),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature:o(7017,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_7017","Element implicitly has an 'any' type because type '{0}' has no index signature."),Object_literal_s_property_0_implicitly_has_an_1_type:o(7018,e.DiagnosticCategory.Error,"Object_literal_s_property_0_implicitly_has_an_1_type_7018","Object literal's property '{0}' implicitly has an '{1}' type."),Rest_parameter_0_implicitly_has_an_any_type:o(7019,e.DiagnosticCategory.Error,"Rest_parameter_0_implicitly_has_an_any_type_7019","Rest parameter '{0}' implicitly has an 'any[]' type."),Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:o(7020,e.DiagnosticCategory.Error,"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020","Call signature, which lacks return-type annotation, implicitly has an 'any' return type."),_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer:o(7022,e.DiagnosticCategory.Error,"_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or__7022","'{0}' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer."),_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:o(7023,e.DiagnosticCategory.Error,"_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_reference_7023","'{0}' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:o(7024,e.DiagnosticCategory.Error,"Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_ref_7024","Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation:o(7025,e.DiagnosticCategory.Error,"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025","Generator implicitly has yield type '{0}' because it does not yield any values. Consider supplying a return type annotation."),JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists:o(7026,e.DiagnosticCategory.Error,"JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists_7026","JSX element implicitly has type 'any' because no interface 'JSX.{0}' exists."),Unreachable_code_detected:o(7027,e.DiagnosticCategory.Error,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:o(7028,e.DiagnosticCategory.Error,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:o(7029,e.DiagnosticCategory.Error,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:o(7030,e.DiagnosticCategory.Error,"Not_all_code_paths_return_a_value_7030","Not all code paths return a value."),Binding_element_0_implicitly_has_an_1_type:o(7031,e.DiagnosticCategory.Error,"Binding_element_0_implicitly_has_an_1_type_7031","Binding element '{0}' implicitly has an '{1}' type."),Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation:o(7032,e.DiagnosticCategory.Error,"Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation_7032","Property '{0}' implicitly has type 'any', because its set accessor lacks a parameter type annotation."),Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation:o(7033,e.DiagnosticCategory.Error,"Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation_7033","Property '{0}' implicitly has type 'any', because its get accessor lacks a return type annotation."),Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined:o(7034,e.DiagnosticCategory.Error,"Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined_7034","Variable '{0}' implicitly has type '{1}' in some locations where its type cannot be determined."),Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0:o(7035,e.DiagnosticCategory.Error,"Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare__7035","Try `npm i --save-dev @types/{1}` if it exists or add a new declaration (.d.ts) file containing `declare module '{0}';`"),Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0:o(7036,e.DiagnosticCategory.Error,"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036","Dynamic import's specifier must be of type 'string', but here has type '{0}'."),Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports:o(7037,e.DiagnosticCategory.Message,"Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037","Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'."),Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead:o(7038,e.DiagnosticCategory.Message,"Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038","Type originates at this import. A namespace-style import cannot be called or constructed, and will cause a failure at runtime. Consider using a default import or import require here instead."),Mapped_object_type_implicitly_has_an_any_template_type:o(7039,e.DiagnosticCategory.Error,"Mapped_object_type_implicitly_has_an_any_template_type_7039","Mapped object type implicitly has an 'any' template type."),If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1:o(7040,e.DiagnosticCategory.Error,"If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040","If the '{0}' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}'"),The_containing_arrow_function_captures_the_global_value_of_this:o(7041,e.DiagnosticCategory.Error,"The_containing_arrow_function_captures_the_global_value_of_this_7041","The containing arrow function captures the global value of 'this'."),Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used:o(7042,e.DiagnosticCategory.Error,"Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used_7042","Module '{0}' was resolved to '{1}', but '--resolveJsonModule' is not used."),Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:o(7043,e.DiagnosticCategory.Suggestion,"Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7043","Variable '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:o(7044,e.DiagnosticCategory.Suggestion,"Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7044","Parameter '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:o(7045,e.DiagnosticCategory.Suggestion,"Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7045","Member '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage:o(7046,e.DiagnosticCategory.Suggestion,"Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage_7046","Variable '{0}' implicitly has type '{1}' in some locations, but a better type may be inferred from usage."),Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:o(7047,e.DiagnosticCategory.Suggestion,"Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage_7047","Rest parameter '{0}' implicitly has an 'any[]' type, but a better type may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage:o(7048,e.DiagnosticCategory.Suggestion,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage_7048","Property '{0}' implicitly has type 'any', but a better type for its get accessor may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage:o(7049,e.DiagnosticCategory.Suggestion,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage_7049","Property '{0}' implicitly has type 'any', but a better type for its set accessor may be inferred from usage."),_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage:o(7050,e.DiagnosticCategory.Suggestion,"_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage_7050","'{0}' implicitly has an '{1}' return type, but a better type may be inferred from usage."),Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1:o(7051,e.DiagnosticCategory.Error,"Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1_7051","Parameter has a name but no type. Did you mean '{0}: {1}'?"),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1:o(7052,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1_7052","Element implicitly has an 'any' type because type '{0}' has no index signature. Did you mean to call '{1}'?"),Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1:o(7053,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1_7053","Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'."),No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1:o(7054,e.DiagnosticCategory.Error,"No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054","No index signature with a parameter of type '{0}' was found on type '{1}'."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:o(7055,e.DiagnosticCategory.Error,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type_7055","'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type."),The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed:o(7056,e.DiagnosticCategory.Error,"The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_ty_7056","The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed."),yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation:o(7057,e.DiagnosticCategory.Error,"yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057","'yield' expression implicitly results in an 'any' type because its containing generator lacks a return-type annotation."),If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1:o(7058,e.DiagnosticCategory.Error,"If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_decl_7058","If the '{0}' package actually exposes this module, try adding a new declaration (.d.ts) file containing `declare module '{1}';`"),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead:o(7059,e.DiagnosticCategory.Error,"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059","This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead."),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint:o(7060,e.DiagnosticCategory.Error,"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060","This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma or explicit constraint."),A_mapped_type_may_not_declare_properties_or_methods:o(7061,e.DiagnosticCategory.Error,"A_mapped_type_may_not_declare_properties_or_methods_7061","A mapped type may not declare properties or methods."),You_cannot_rename_this_element:o(8e3,e.DiagnosticCategory.Error,"You_cannot_rename_this_element_8000","You cannot rename this element."),You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library:o(8001,e.DiagnosticCategory.Error,"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001","You cannot rename elements that are defined in the standard TypeScript library."),import_can_only_be_used_in_TypeScript_files:o(8002,e.DiagnosticCategory.Error,"import_can_only_be_used_in_TypeScript_files_8002","'import ... =' can only be used in TypeScript files."),export_can_only_be_used_in_TypeScript_files:o(8003,e.DiagnosticCategory.Error,"export_can_only_be_used_in_TypeScript_files_8003","'export =' can only be used in TypeScript files."),Type_parameter_declarations_can_only_be_used_in_TypeScript_files:o(8004,e.DiagnosticCategory.Error,"Type_parameter_declarations_can_only_be_used_in_TypeScript_files_8004","Type parameter declarations can only be used in TypeScript files."),implements_clauses_can_only_be_used_in_TypeScript_files:o(8005,e.DiagnosticCategory.Error,"implements_clauses_can_only_be_used_in_TypeScript_files_8005","'implements' clauses can only be used in TypeScript files."),_0_declarations_can_only_be_used_in_TypeScript_files:o(8006,e.DiagnosticCategory.Error,"_0_declarations_can_only_be_used_in_TypeScript_files_8006","'{0}' declarations can only be used in TypeScript files."),Type_aliases_can_only_be_used_in_TypeScript_files:o(8008,e.DiagnosticCategory.Error,"Type_aliases_can_only_be_used_in_TypeScript_files_8008","Type aliases can only be used in TypeScript files."),The_0_modifier_can_only_be_used_in_TypeScript_files:o(8009,e.DiagnosticCategory.Error,"The_0_modifier_can_only_be_used_in_TypeScript_files_8009","The '{0}' modifier can only be used in TypeScript files."),Type_annotations_can_only_be_used_in_TypeScript_files:o(8010,e.DiagnosticCategory.Error,"Type_annotations_can_only_be_used_in_TypeScript_files_8010","Type annotations can only be used in TypeScript files."),Type_arguments_can_only_be_used_in_TypeScript_files:o(8011,e.DiagnosticCategory.Error,"Type_arguments_can_only_be_used_in_TypeScript_files_8011","Type arguments can only be used in TypeScript files."),Parameter_modifiers_can_only_be_used_in_TypeScript_files:o(8012,e.DiagnosticCategory.Error,"Parameter_modifiers_can_only_be_used_in_TypeScript_files_8012","Parameter modifiers can only be used in TypeScript files."),Non_null_assertions_can_only_be_used_in_TypeScript_files:o(8013,e.DiagnosticCategory.Error,"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013","Non-null assertions can only be used in TypeScript files."),Type_assertion_expressions_can_only_be_used_in_TypeScript_files:o(8016,e.DiagnosticCategory.Error,"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016","Type assertion expressions can only be used in TypeScript files."),Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:o(8017,e.DiagnosticCategory.Error,"Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0_8017","Octal literal types must use ES2015 syntax. Use the syntax '{0}'."),Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0:o(8018,e.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0_8018","Octal literals are not allowed in enums members initializer. Use the syntax '{0}'."),Report_errors_in_js_files:o(8019,e.DiagnosticCategory.Message,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:o(8020,e.DiagnosticCategory.Error,"JSDoc_types_can_only_be_used_inside_documentation_comments_8020","JSDoc types can only be used inside documentation comments."),JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags:o(8021,e.DiagnosticCategory.Error,"JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags_8021","JSDoc '@typedef' tag should either have a type annotation or be followed by '@property' or '@member' tags."),JSDoc_0_is_not_attached_to_a_class:o(8022,e.DiagnosticCategory.Error,"JSDoc_0_is_not_attached_to_a_class_8022","JSDoc '@{0}' is not attached to a class."),JSDoc_0_1_does_not_match_the_extends_2_clause:o(8023,e.DiagnosticCategory.Error,"JSDoc_0_1_does_not_match_the_extends_2_clause_8023","JSDoc '@{0} {1}' does not match the 'extends {2}' clause."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name:o(8024,e.DiagnosticCategory.Error,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_8024","JSDoc '@param' tag has name '{0}', but there is no parameter with that name."),Class_declarations_cannot_have_more_than_one_augments_or_extends_tag:o(8025,e.DiagnosticCategory.Error,"Class_declarations_cannot_have_more_than_one_augments_or_extends_tag_8025","Class declarations cannot have more than one '@augments' or '@extends' tag."),Expected_0_type_arguments_provide_these_with_an_extends_tag:o(8026,e.DiagnosticCategory.Error,"Expected_0_type_arguments_provide_these_with_an_extends_tag_8026","Expected {0} type arguments; provide these with an '@extends' tag."),Expected_0_1_type_arguments_provide_these_with_an_extends_tag:o(8027,e.DiagnosticCategory.Error,"Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027","Expected {0}-{1} type arguments; provide these with an '@extends' tag."),JSDoc_may_only_appear_in_the_last_parameter_of_a_signature:o(8028,e.DiagnosticCategory.Error,"JSDoc_may_only_appear_in_the_last_parameter_of_a_signature_8028","JSDoc '...' may only appear in the last parameter of a signature."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type:o(8029,e.DiagnosticCategory.Error,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_h_8029","JSDoc '@param' tag has name '{0}', but there is no parameter with that name. It would match 'arguments' if it had an array type."),The_type_of_a_function_declaration_must_match_the_function_s_signature:o(8030,e.DiagnosticCategory.Error,"The_type_of_a_function_declaration_must_match_the_function_s_signature_8030","The type of a function declaration must match the function's signature."),You_cannot_rename_a_module_via_a_global_import:o(8031,e.DiagnosticCategory.Error,"You_cannot_rename_a_module_via_a_global_import_8031","You cannot rename a module via a global import."),Qualified_name_0_is_not_allowed_without_a_leading_param_object_1:o(8032,e.DiagnosticCategory.Error,"Qualified_name_0_is_not_allowed_without_a_leading_param_object_1_8032","Qualified name '{0}' is not allowed without a leading '@param {object} {1}'."),A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags:o(8033,e.DiagnosticCategory.Error,"A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags_8033","A JSDoc '@typedef' comment may not contain multiple '@type' tags."),The_tag_was_first_specified_here:o(8034,e.DiagnosticCategory.Error,"The_tag_was_first_specified_here_8034","The tag was first specified here."),You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder:o(8035,e.DiagnosticCategory.Error,"You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder_8035","You cannot rename elements that are defined in a 'node_modules' folder."),You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder:o(8036,e.DiagnosticCategory.Error,"You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder_8036","You cannot rename elements that are defined in another 'node_modules' folder."),Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files:o(8037,e.DiagnosticCategory.Error,"Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037","Type satisfaction expressions can only be used in TypeScript files."),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:o(9005,e.DiagnosticCategory.Error,"Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005","Declaration emit for this file requires using private name '{0}'. An explicit type annotation may unblock declaration emit."),Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:o(9006,e.DiagnosticCategory.Error,"Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006","Declaration emit for this file requires using private name '{0}' from module '{1}'. An explicit type annotation may unblock declaration emit."),JSX_attributes_must_only_be_assigned_a_non_empty_expression:o(17e3,e.DiagnosticCategory.Error,"JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000","JSX attributes must only be assigned a non-empty 'expression'."),JSX_elements_cannot_have_multiple_attributes_with_the_same_name:o(17001,e.DiagnosticCategory.Error,"JSX_elements_cannot_have_multiple_attributes_with_the_same_name_17001","JSX elements cannot have multiple attributes with the same name."),Expected_corresponding_JSX_closing_tag_for_0:o(17002,e.DiagnosticCategory.Error,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),Cannot_use_JSX_unless_the_jsx_flag_is_provided:o(17004,e.DiagnosticCategory.Error,"Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004","Cannot use JSX unless the '--jsx' flag is provided."),A_constructor_cannot_contain_a_super_call_when_its_class_extends_null:o(17005,e.DiagnosticCategory.Error,"A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005","A constructor cannot contain a 'super' call when its class extends 'null'."),An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:o(17006,e.DiagnosticCategory.Error,"An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_ex_17006","An unary expression with the '{0}' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:o(17007,e.DiagnosticCategory.Error,"A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Con_17007","A type assertion expression is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),JSX_element_0_has_no_corresponding_closing_tag:o(17008,e.DiagnosticCategory.Error,"JSX_element_0_has_no_corresponding_closing_tag_17008","JSX element '{0}' has no corresponding closing tag."),super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class:o(17009,e.DiagnosticCategory.Error,"super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class_17009","'super' must be called before accessing 'this' in the constructor of a derived class."),Unknown_type_acquisition_option_0:o(17010,e.DiagnosticCategory.Error,"Unknown_type_acquisition_option_0_17010","Unknown type acquisition option '{0}'."),super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class:o(17011,e.DiagnosticCategory.Error,"super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class_17011","'super' must be called before accessing a property of 'super' in the constructor of a derived class."),_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2:o(17012,e.DiagnosticCategory.Error,"_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012","'{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{2}'?"),Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor:o(17013,e.DiagnosticCategory.Error,"Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constru_17013","Meta-property '{0}' is only allowed in the body of a function declaration, function expression, or constructor."),JSX_fragment_has_no_corresponding_closing_tag:o(17014,e.DiagnosticCategory.Error,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:o(17015,e.DiagnosticCategory.Error,"Expected_corresponding_closing_tag_for_JSX_fragment_17015","Expected corresponding closing tag for JSX fragment."),The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:o(17016,e.DiagnosticCategory.Error,"The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_com_17016","The 'jsxFragmentFactory' compiler option must be provided to use JSX fragments with the 'jsxFactory' compiler option."),An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments:o(17017,e.DiagnosticCategory.Error,"An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments_17017","An @jsxFrag pragma is required when using an @jsx pragma with JSX fragments."),Unknown_type_acquisition_option_0_Did_you_mean_1:o(17018,e.DiagnosticCategory.Error,"Unknown_type_acquisition_option_0_Did_you_mean_1_17018","Unknown type acquisition option '{0}'. Did you mean '{1}'?"),Circularity_detected_while_resolving_configuration_Colon_0:o(18e3,e.DiagnosticCategory.Error,"Circularity_detected_while_resolving_configuration_Colon_0_18000","Circularity detected while resolving configuration: {0}"),The_files_list_in_config_file_0_is_empty:o(18002,e.DiagnosticCategory.Error,"The_files_list_in_config_file_0_is_empty_18002","The 'files' list in config file '{0}' is empty."),No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2:o(18003,e.DiagnosticCategory.Error,"No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2_18003","No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'."),File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module:o(80001,e.DiagnosticCategory.Suggestion,"File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module_80001","File is a CommonJS module; it may be converted to an ES module."),This_constructor_function_may_be_converted_to_a_class_declaration:o(80002,e.DiagnosticCategory.Suggestion,"This_constructor_function_may_be_converted_to_a_class_declaration_80002","This constructor function may be converted to a class declaration."),Import_may_be_converted_to_a_default_import:o(80003,e.DiagnosticCategory.Suggestion,"Import_may_be_converted_to_a_default_import_80003","Import may be converted to a default import."),JSDoc_types_may_be_moved_to_TypeScript_types:o(80004,e.DiagnosticCategory.Suggestion,"JSDoc_types_may_be_moved_to_TypeScript_types_80004","JSDoc types may be moved to TypeScript types."),require_call_may_be_converted_to_an_import:o(80005,e.DiagnosticCategory.Suggestion,"require_call_may_be_converted_to_an_import_80005","'require' call may be converted to an import."),This_may_be_converted_to_an_async_function:o(80006,e.DiagnosticCategory.Suggestion,"This_may_be_converted_to_an_async_function_80006","This may be converted to an async function."),await_has_no_effect_on_the_type_of_this_expression:o(80007,e.DiagnosticCategory.Suggestion,"await_has_no_effect_on_the_type_of_this_expression_80007","'await' has no effect on the type of this expression."),Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers:o(80008,e.DiagnosticCategory.Suggestion,"Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accur_80008","Numeric literals with absolute values equal to 2^53 or greater are too large to be represented accurately as integers."),Add_missing_super_call:o(90001,e.DiagnosticCategory.Message,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:o(90002,e.DiagnosticCategory.Message,"Make_super_call_the_first_statement_in_the_constructor_90002","Make 'super()' call the first statement in the constructor"),Change_extends_to_implements:o(90003,e.DiagnosticCategory.Message,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:o(90004,e.DiagnosticCategory.Message,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:o(90005,e.DiagnosticCategory.Message,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:o(90006,e.DiagnosticCategory.Message,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:o(90007,e.DiagnosticCategory.Message,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:o(90008,e.DiagnosticCategory.Message,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:o(90010,e.DiagnosticCategory.Message,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:o(90011,e.DiagnosticCategory.Message,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:o(90012,e.DiagnosticCategory.Message,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_1:o(90013,e.DiagnosticCategory.Message,"Import_0_from_1_90013",`Import '{0}' from "{1}"`),Change_0_to_1:o(90014,e.DiagnosticCategory.Message,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Declare_property_0:o(90016,e.DiagnosticCategory.Message,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:o(90017,e.DiagnosticCategory.Message,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:o(90018,e.DiagnosticCategory.Message,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:o(90019,e.DiagnosticCategory.Message,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:o(90020,e.DiagnosticCategory.Message,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:o(90021,e.DiagnosticCategory.Message,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:o(90022,e.DiagnosticCategory.Message,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:o(90023,e.DiagnosticCategory.Message,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:o(90024,e.DiagnosticCategory.Message,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:o(90025,e.DiagnosticCategory.Message,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:o(90026,e.DiagnosticCategory.Message,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:o(90027,e.DiagnosticCategory.Message,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:o(90028,e.DiagnosticCategory.Message,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:o(90029,e.DiagnosticCategory.Message,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:o(90030,e.DiagnosticCategory.Message,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:o(90031,e.DiagnosticCategory.Message,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Add_parameter_name:o(90034,e.DiagnosticCategory.Message,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:o(90035,e.DiagnosticCategory.Message,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:o(90036,e.DiagnosticCategory.Message,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:o(90037,e.DiagnosticCategory.Message,"Fix_all_incorrect_return_type_of_an_async_functions_90037","Fix all incorrect return type of an async functions"),Declare_private_method_0:o(90038,e.DiagnosticCategory.Message,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:o(90039,e.DiagnosticCategory.Message,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:o(90041,e.DiagnosticCategory.Message,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:o(90053,e.DiagnosticCategory.Message,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Includes_imports_of_types_referenced_by_0:o(90054,e.DiagnosticCategory.Message,"Includes_imports_of_types_referenced_by_0_90054","Includes imports of types referenced by '{0}'"),Remove_type_from_import_declaration_from_0:o(90055,e.DiagnosticCategory.Message,"Remove_type_from_import_declaration_from_0_90055",`Remove 'type' from import declaration from "{0}"`),Remove_type_from_import_of_0_from_1:o(90056,e.DiagnosticCategory.Message,"Remove_type_from_import_of_0_from_1_90056",`Remove 'type' from import of '{0}' from "{1}"`),Add_import_from_0:o(90057,e.DiagnosticCategory.Message,"Add_import_from_0_90057",'Add import from "{0}"'),Update_import_from_0:o(90058,e.DiagnosticCategory.Message,"Update_import_from_0_90058",'Update import from "{0}"'),Export_0_from_module_1:o(90059,e.DiagnosticCategory.Message,"Export_0_from_module_1_90059","Export '{0}' from module '{1}'"),Export_all_referenced_locals:o(90060,e.DiagnosticCategory.Message,"Export_all_referenced_locals_90060","Export all referenced locals"),Convert_function_to_an_ES2015_class:o(95001,e.DiagnosticCategory.Message,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_0_to_1_in_0:o(95003,e.DiagnosticCategory.Message,"Convert_0_to_1_in_0_95003","Convert '{0}' to '{1} in {0}'"),Extract_to_0_in_1:o(95004,e.DiagnosticCategory.Message,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:o(95005,e.DiagnosticCategory.Message,"Extract_function_95005","Extract function"),Extract_constant:o(95006,e.DiagnosticCategory.Message,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:o(95007,e.DiagnosticCategory.Message,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:o(95008,e.DiagnosticCategory.Message,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:o(95009,e.DiagnosticCategory.Message,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Infer_type_of_0_from_usage:o(95011,e.DiagnosticCategory.Message,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:o(95012,e.DiagnosticCategory.Message,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:o(95013,e.DiagnosticCategory.Message,"Convert_to_default_import_95013","Convert to default import"),Install_0:o(95014,e.DiagnosticCategory.Message,"Install_0_95014","Install '{0}'"),Replace_import_with_0:o(95015,e.DiagnosticCategory.Message,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:o(95016,e.DiagnosticCategory.Message,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES_module:o(95017,e.DiagnosticCategory.Message,"Convert_to_ES_module_95017","Convert to ES module"),Add_undefined_type_to_property_0:o(95018,e.DiagnosticCategory.Message,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:o(95019,e.DiagnosticCategory.Message,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:o(95020,e.DiagnosticCategory.Message,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Convert_all_type_literals_to_mapped_type:o(95021,e.DiagnosticCategory.Message,"Convert_all_type_literals_to_mapped_type_95021","Convert all type literals to mapped type"),Add_all_missing_members:o(95022,e.DiagnosticCategory.Message,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:o(95023,e.DiagnosticCategory.Message,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:o(95024,e.DiagnosticCategory.Message,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:o(95025,e.DiagnosticCategory.Message,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:o(95026,e.DiagnosticCategory.Message,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:o(95027,e.DiagnosticCategory.Message,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:o(95028,e.DiagnosticCategory.Message,"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028","Add definite assignment assertions to all uninitialized properties"),Add_undefined_type_to_all_uninitialized_properties:o(95029,e.DiagnosticCategory.Message,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:o(95030,e.DiagnosticCategory.Message,"Change_all_jsdoc_style_types_to_TypeScript_95030","Change all jsdoc-style types to TypeScript"),Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types:o(95031,e.DiagnosticCategory.Message,"Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types_95031","Change all jsdoc-style types to TypeScript (and add '| undefined' to nullable types)"),Implement_all_unimplemented_interfaces:o(95032,e.DiagnosticCategory.Message,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:o(95033,e.DiagnosticCategory.Message,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:o(95034,e.DiagnosticCategory.Message,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:o(95035,e.DiagnosticCategory.Message,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:o(95036,e.DiagnosticCategory.Message,"Make_all_super_calls_the_first_statement_in_their_constructor_95036","Make all 'super()' calls the first statement in their constructor"),Add_qualifier_to_all_unresolved_variables_matching_a_member_name:o(95037,e.DiagnosticCategory.Message,"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037","Add qualifier to all unresolved variables matching a member name"),Change_all_extended_interfaces_to_implements:o(95038,e.DiagnosticCategory.Message,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:o(95039,e.DiagnosticCategory.Message,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:o(95040,e.DiagnosticCategory.Message,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:o(95041,e.DiagnosticCategory.Message,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:o(95042,e.DiagnosticCategory.Message,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:o(95043,e.DiagnosticCategory.Message,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:o(95044,e.DiagnosticCategory.Message,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:o(95045,e.DiagnosticCategory.Message,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:o(95046,e.DiagnosticCategory.Message,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:o(95047,e.DiagnosticCategory.Message,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:o(95048,e.DiagnosticCategory.Message,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:o(95049,e.DiagnosticCategory.Message,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:o(95050,e.DiagnosticCategory.Message,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:o(95051,e.DiagnosticCategory.Message,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:o(95052,e.DiagnosticCategory.Message,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:o(95053,e.DiagnosticCategory.Message,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:o(95054,e.DiagnosticCategory.Message,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:o(95055,e.DiagnosticCategory.Message,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:o(95056,e.DiagnosticCategory.Message,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:o(95057,e.DiagnosticCategory.Message,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:o(95058,e.DiagnosticCategory.Message,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:o(95059,e.DiagnosticCategory.Message,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:o(95060,e.DiagnosticCategory.Message,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:o(95061,e.DiagnosticCategory.Message,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:o(95062,e.DiagnosticCategory.Message,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:o(95063,e.DiagnosticCategory.Message,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:o(95064,e.DiagnosticCategory.Message,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:o(95065,e.DiagnosticCategory.Message,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:o(95066,e.DiagnosticCategory.Message,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:o(95067,e.DiagnosticCategory.Message,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:o(95068,e.DiagnosticCategory.Message,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:o(95069,e.DiagnosticCategory.Message,"Add_unknown_conversion_for_non_overlapping_types_95069","Add 'unknown' conversion for non-overlapping types"),Add_unknown_to_all_conversions_of_non_overlapping_types:o(95070,e.DiagnosticCategory.Message,"Add_unknown_to_all_conversions_of_non_overlapping_types_95070","Add 'unknown' to all conversions of non-overlapping types"),Add_missing_new_operator_to_call:o(95071,e.DiagnosticCategory.Message,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:o(95072,e.DiagnosticCategory.Message,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:o(95073,e.DiagnosticCategory.Message,"Add_names_to_all_parameters_without_names_95073","Add names to all parameters without names"),Enable_the_experimentalDecorators_option_in_your_configuration_file:o(95074,e.DiagnosticCategory.Message,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:o(95075,e.DiagnosticCategory.Message,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Extract_type:o(95077,e.DiagnosticCategory.Message,"Extract_type_95077","Extract type"),Extract_to_type_alias:o(95078,e.DiagnosticCategory.Message,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:o(95079,e.DiagnosticCategory.Message,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:o(95080,e.DiagnosticCategory.Message,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:o(95081,e.DiagnosticCategory.Message,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:o(95082,e.DiagnosticCategory.Message,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:o(95083,e.DiagnosticCategory.Message,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:o(95084,e.DiagnosticCategory.Message,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:o(95085,e.DiagnosticCategory.Message,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:o(95086,e.DiagnosticCategory.Message,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:o(95087,e.DiagnosticCategory.Message,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:o(95088,e.DiagnosticCategory.Message,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:o(95089,e.DiagnosticCategory.Message,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:o(95090,e.DiagnosticCategory.Message,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:o(95091,e.DiagnosticCategory.Message,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:o(95092,e.DiagnosticCategory.Message,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:o(95093,e.DiagnosticCategory.Message,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:o(95094,e.DiagnosticCategory.Message,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:o(95095,e.DiagnosticCategory.Message,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:o(95096,e.DiagnosticCategory.Message,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:o(95097,e.DiagnosticCategory.Message,"Add_export_to_make_this_file_into_a_module_95097","Add 'export {}' to make this file into a module"),Set_the_target_option_in_your_configuration_file_to_0:o(95098,e.DiagnosticCategory.Message,"Set_the_target_option_in_your_configuration_file_to_0_95098","Set the 'target' option in your configuration file to '{0}'"),Set_the_module_option_in_your_configuration_file_to_0:o(95099,e.DiagnosticCategory.Message,"Set_the_module_option_in_your_configuration_file_to_0_95099","Set the 'module' option in your configuration file to '{0}'"),Convert_invalid_character_to_its_html_entity_code:o(95100,e.DiagnosticCategory.Message,"Convert_invalid_character_to_its_html_entity_code_95100","Convert invalid character to its html entity code"),Convert_all_invalid_characters_to_HTML_entity_code:o(95101,e.DiagnosticCategory.Message,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Convert_all_const_to_let:o(95102,e.DiagnosticCategory.Message,"Convert_all_const_to_let_95102","Convert all 'const' to 'let'"),Convert_function_expression_0_to_arrow_function:o(95105,e.DiagnosticCategory.Message,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:o(95106,e.DiagnosticCategory.Message,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:o(95107,e.DiagnosticCategory.Message,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:o(95108,e.DiagnosticCategory.Message,"Wrap_invalid_character_in_an_expression_container_95108","Wrap invalid character in an expression container"),Wrap_all_invalid_characters_in_an_expression_container:o(95109,e.DiagnosticCategory.Message,"Wrap_all_invalid_characters_in_an_expression_container_95109","Wrap all invalid characters in an expression container"),Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file:o(95110,e.DiagnosticCategory.Message,"Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file_95110","Visit https://aka.ms/tsconfig to read more about this file"),Add_a_return_statement:o(95111,e.DiagnosticCategory.Message,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:o(95112,e.DiagnosticCategory.Message,"Remove_braces_from_arrow_function_body_95112","Remove braces from arrow function body"),Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal:o(95113,e.DiagnosticCategory.Message,"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113","Wrap the following body with parentheses which should be an object literal"),Add_all_missing_return_statement:o(95114,e.DiagnosticCategory.Message,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:o(95115,e.DiagnosticCategory.Message,"Remove_braces_from_all_arrow_function_bodies_with_relevant_issues_95115","Remove braces from all arrow function bodies with relevant issues"),Wrap_all_object_literal_with_parentheses:o(95116,e.DiagnosticCategory.Message,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:o(95117,e.DiagnosticCategory.Message,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:o(95118,e.DiagnosticCategory.Message,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:o(95119,e.DiagnosticCategory.Message,"Generate_get_and_set_accessors_for_all_overriding_properties_95119","Generate 'get' and 'set' accessors for all overriding properties"),Wrap_in_JSX_fragment:o(95120,e.DiagnosticCategory.Message,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:o(95121,e.DiagnosticCategory.Message,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:o(95122,e.DiagnosticCategory.Message,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:o(95123,e.DiagnosticCategory.Message,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:o(95124,e.DiagnosticCategory.Message,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:o(95125,e.DiagnosticCategory.Message,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:o(95126,e.DiagnosticCategory.Message,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:o(95127,e.DiagnosticCategory.Message,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:o(95128,e.DiagnosticCategory.Message,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:o(95129,e.DiagnosticCategory.Message,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:o(95130,e.DiagnosticCategory.Message,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:o(95131,e.DiagnosticCategory.Message,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:o(95132,e.DiagnosticCategory.Message,"Could_not_find_namespace_import_or_named_imports_95132","Could not find namespace import or named imports"),Selection_is_not_a_valid_type_node:o(95133,e.DiagnosticCategory.Message,"Selection_is_not_a_valid_type_node_95133","Selection is not a valid type node"),No_type_could_be_extracted_from_this_type_node:o(95134,e.DiagnosticCategory.Message,"No_type_could_be_extracted_from_this_type_node_95134","No type could be extracted from this type node"),Could_not_find_property_for_which_to_generate_accessor:o(95135,e.DiagnosticCategory.Message,"Could_not_find_property_for_which_to_generate_accessor_95135","Could not find property for which to generate accessor"),Name_is_not_valid:o(95136,e.DiagnosticCategory.Message,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:o(95137,e.DiagnosticCategory.Message,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:o(95138,e.DiagnosticCategory.Message,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:o(95139,e.DiagnosticCategory.Message,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:o(95140,e.DiagnosticCategory.Message,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:o(95141,e.DiagnosticCategory.Message,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:o(95142,e.DiagnosticCategory.Message,"Can_only_convert_logical_AND_access_chains_95142","Can only convert logical AND access chains"),Add_void_to_Promise_resolved_without_a_value:o(95143,e.DiagnosticCategory.Message,"Add_void_to_Promise_resolved_without_a_value_95143","Add 'void' to Promise resolved without a value"),Add_void_to_all_Promises_resolved_without_a_value:o(95144,e.DiagnosticCategory.Message,"Add_void_to_all_Promises_resolved_without_a_value_95144","Add 'void' to all Promises resolved without a value"),Use_element_access_for_0:o(95145,e.DiagnosticCategory.Message,"Use_element_access_for_0_95145","Use element access for '{0}'"),Use_element_access_for_all_undeclared_properties:o(95146,e.DiagnosticCategory.Message,"Use_element_access_for_all_undeclared_properties_95146","Use element access for all undeclared properties."),Delete_all_unused_imports:o(95147,e.DiagnosticCategory.Message,"Delete_all_unused_imports_95147","Delete all unused imports"),Infer_function_return_type:o(95148,e.DiagnosticCategory.Message,"Infer_function_return_type_95148","Infer function return type"),Return_type_must_be_inferred_from_a_function:o(95149,e.DiagnosticCategory.Message,"Return_type_must_be_inferred_from_a_function_95149","Return type must be inferred from a function"),Could_not_determine_function_return_type:o(95150,e.DiagnosticCategory.Message,"Could_not_determine_function_return_type_95150","Could not determine function return type"),Could_not_convert_to_arrow_function:o(95151,e.DiagnosticCategory.Message,"Could_not_convert_to_arrow_function_95151","Could not convert to arrow function"),Could_not_convert_to_named_function:o(95152,e.DiagnosticCategory.Message,"Could_not_convert_to_named_function_95152","Could not convert to named function"),Could_not_convert_to_anonymous_function:o(95153,e.DiagnosticCategory.Message,"Could_not_convert_to_anonymous_function_95153","Could not convert to anonymous function"),Can_only_convert_string_concatenation:o(95154,e.DiagnosticCategory.Message,"Can_only_convert_string_concatenation_95154","Can only convert string concatenation"),Selection_is_not_a_valid_statement_or_statements:o(95155,e.DiagnosticCategory.Message,"Selection_is_not_a_valid_statement_or_statements_95155","Selection is not a valid statement or statements"),Add_missing_function_declaration_0:o(95156,e.DiagnosticCategory.Message,"Add_missing_function_declaration_0_95156","Add missing function declaration '{0}'"),Add_all_missing_function_declarations:o(95157,e.DiagnosticCategory.Message,"Add_all_missing_function_declarations_95157","Add all missing function declarations"),Method_not_implemented:o(95158,e.DiagnosticCategory.Message,"Method_not_implemented_95158","Method not implemented."),Function_not_implemented:o(95159,e.DiagnosticCategory.Message,"Function_not_implemented_95159","Function not implemented."),Add_override_modifier:o(95160,e.DiagnosticCategory.Message,"Add_override_modifier_95160","Add 'override' modifier"),Remove_override_modifier:o(95161,e.DiagnosticCategory.Message,"Remove_override_modifier_95161","Remove 'override' modifier"),Add_all_missing_override_modifiers:o(95162,e.DiagnosticCategory.Message,"Add_all_missing_override_modifiers_95162","Add all missing 'override' modifiers"),Remove_all_unnecessary_override_modifiers:o(95163,e.DiagnosticCategory.Message,"Remove_all_unnecessary_override_modifiers_95163","Remove all unnecessary 'override' modifiers"),Can_only_convert_named_export:o(95164,e.DiagnosticCategory.Message,"Can_only_convert_named_export_95164","Can only convert named export"),Add_missing_properties:o(95165,e.DiagnosticCategory.Message,"Add_missing_properties_95165","Add missing properties"),Add_all_missing_properties:o(95166,e.DiagnosticCategory.Message,"Add_all_missing_properties_95166","Add all missing properties"),Add_missing_attributes:o(95167,e.DiagnosticCategory.Message,"Add_missing_attributes_95167","Add missing attributes"),Add_all_missing_attributes:o(95168,e.DiagnosticCategory.Message,"Add_all_missing_attributes_95168","Add all missing attributes"),Add_undefined_to_optional_property_type:o(95169,e.DiagnosticCategory.Message,"Add_undefined_to_optional_property_type_95169","Add 'undefined' to optional property type"),Convert_named_imports_to_default_import:o(95170,e.DiagnosticCategory.Message,"Convert_named_imports_to_default_import_95170","Convert named imports to default import"),Delete_unused_param_tag_0:o(95171,e.DiagnosticCategory.Message,"Delete_unused_param_tag_0_95171","Delete unused '@param' tag '{0}'"),Delete_all_unused_param_tags:o(95172,e.DiagnosticCategory.Message,"Delete_all_unused_param_tags_95172","Delete all unused '@param' tags"),Rename_param_tag_name_0_to_1:o(95173,e.DiagnosticCategory.Message,"Rename_param_tag_name_0_to_1_95173","Rename '@param' tag name '{0}' to '{1}'"),Use_0:o(95174,e.DiagnosticCategory.Message,"Use_0_95174","Use `{0}`."),Use_Number_isNaN_in_all_conditions:o(95175,e.DiagnosticCategory.Message,"Use_Number_isNaN_in_all_conditions_95175","Use `Number.isNaN` in all conditions."),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:o(18004,e.DiagnosticCategory.Error,"No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer_18004","No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer."),Classes_may_not_have_a_field_named_constructor:o(18006,e.DiagnosticCategory.Error,"Classes_may_not_have_a_field_named_constructor_18006","Classes may not have a field named 'constructor'."),JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array:o(18007,e.DiagnosticCategory.Error,"JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array_18007","JSX expressions may not use the comma operator. Did you mean to write an array?"),Private_identifiers_cannot_be_used_as_parameters:o(18009,e.DiagnosticCategory.Error,"Private_identifiers_cannot_be_used_as_parameters_18009","Private identifiers cannot be used as parameters."),An_accessibility_modifier_cannot_be_used_with_a_private_identifier:o(18010,e.DiagnosticCategory.Error,"An_accessibility_modifier_cannot_be_used_with_a_private_identifier_18010","An accessibility modifier cannot be used with a private identifier."),The_operand_of_a_delete_operator_cannot_be_a_private_identifier:o(18011,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_cannot_be_a_private_identifier_18011","The operand of a 'delete' operator cannot be a private identifier."),constructor_is_a_reserved_word:o(18012,e.DiagnosticCategory.Error,"constructor_is_a_reserved_word_18012","'#constructor' is a reserved word."),Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier:o(18013,e.DiagnosticCategory.Error,"Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier_18013","Property '{0}' is not accessible outside class '{1}' because it has a private identifier."),The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling:o(18014,e.DiagnosticCategory.Error,"The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_priv_18014","The property '{0}' cannot be accessed on type '{1}' within this class because it is shadowed by another private identifier with the same spelling."),Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2:o(18015,e.DiagnosticCategory.Error,"Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2_18015","Property '{0}' in type '{1}' refers to a different member that cannot be accessed from within type '{2}'."),Private_identifiers_are_not_allowed_outside_class_bodies:o(18016,e.DiagnosticCategory.Error,"Private_identifiers_are_not_allowed_outside_class_bodies_18016","Private identifiers are not allowed outside class bodies."),The_shadowing_declaration_of_0_is_defined_here:o(18017,e.DiagnosticCategory.Error,"The_shadowing_declaration_of_0_is_defined_here_18017","The shadowing declaration of '{0}' is defined here"),The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here:o(18018,e.DiagnosticCategory.Error,"The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here_18018","The declaration of '{0}' that you probably intended to use is defined here"),_0_modifier_cannot_be_used_with_a_private_identifier:o(18019,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_a_private_identifier_18019","'{0}' modifier cannot be used with a private identifier."),An_enum_member_cannot_be_named_with_a_private_identifier:o(18024,e.DiagnosticCategory.Error,"An_enum_member_cannot_be_named_with_a_private_identifier_18024","An enum member cannot be named with a private identifier."),can_only_be_used_at_the_start_of_a_file:o(18026,e.DiagnosticCategory.Error,"can_only_be_used_at_the_start_of_a_file_18026","'#!' can only be used at the start of a file."),Compiler_reserves_name_0_when_emitting_private_identifier_downlevel:o(18027,e.DiagnosticCategory.Error,"Compiler_reserves_name_0_when_emitting_private_identifier_downlevel_18027","Compiler reserves name '{0}' when emitting private identifier downlevel."),Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher:o(18028,e.DiagnosticCategory.Error,"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028","Private identifiers are only available when targeting ECMAScript 2015 and higher."),Private_identifiers_are_not_allowed_in_variable_declarations:o(18029,e.DiagnosticCategory.Error,"Private_identifiers_are_not_allowed_in_variable_declarations_18029","Private identifiers are not allowed in variable declarations."),An_optional_chain_cannot_contain_private_identifiers:o(18030,e.DiagnosticCategory.Error,"An_optional_chain_cannot_contain_private_identifiers_18030","An optional chain cannot contain private identifiers."),The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents:o(18031,e.DiagnosticCategory.Error,"The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituent_18031","The intersection '{0}' was reduced to 'never' because property '{1}' has conflicting types in some constituents."),The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some:o(18032,e.DiagnosticCategory.Error,"The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_pr_18032","The intersection '{0}' was reduced to 'never' because property '{1}' exists in multiple constituents and is private in some."),Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhaustiveness_checks_consider_using_an_object_literal_instead:o(18033,e.DiagnosticCategory.Error,"Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhau_18033","Only numeric enums can have computed members, but this expression has type '{0}'. If you do not need exhaustiveness checks, consider using an object literal instead."),Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compiler_option_is_specified_e_g_Fragment:o(18034,e.DiagnosticCategory.Message,"Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compi_18034","Specify the JSX fragment factory function to use when targeting 'react' JSX emit with 'jsxFactory' compiler option is specified, e.g. 'Fragment'."),Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name:o(18035,e.DiagnosticCategory.Error,"Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name_18035","Invalid value for 'jsxFragmentFactory'. '{0}' is not a valid identifier or qualified-name."),Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator:o(18036,e.DiagnosticCategory.Error,"Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_dec_18036","Class decorators can't be used with static private identifier. Consider removing the experimental decorator."),Await_expression_cannot_be_used_inside_a_class_static_block:o(18037,e.DiagnosticCategory.Error,"Await_expression_cannot_be_used_inside_a_class_static_block_18037","Await expression cannot be used inside a class static block."),For_await_loops_cannot_be_used_inside_a_class_static_block:o(18038,e.DiagnosticCategory.Error,"For_await_loops_cannot_be_used_inside_a_class_static_block_18038","'For await' loops cannot be used inside a class static block."),Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block:o(18039,e.DiagnosticCategory.Error,"Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block_18039","Invalid use of '{0}'. It cannot be used inside a class static block."),A_return_statement_cannot_be_used_inside_a_class_static_block:o(18041,e.DiagnosticCategory.Error,"A_return_statement_cannot_be_used_inside_a_class_static_block_18041","A 'return' statement cannot be used inside a class static block."),_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation:o(18042,e.DiagnosticCategory.Error,"_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation_18042","'{0}' is a type and cannot be imported in JavaScript files. Use '{1}' in a JSDoc type annotation."),Types_cannot_appear_in_export_declarations_in_JavaScript_files:o(18043,e.DiagnosticCategory.Error,"Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043","Types cannot appear in export declarations in JavaScript files."),_0_is_automatically_exported_here:o(18044,e.DiagnosticCategory.Message,"_0_is_automatically_exported_here_18044","'{0}' is automatically exported here."),Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher:o(18045,e.DiagnosticCategory.Error,"Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher_18045","Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher."),_0_is_of_type_unknown:o(18046,e.DiagnosticCategory.Error,"_0_is_of_type_unknown_18046","'{0}' is of type 'unknown'."),_0_is_possibly_null:o(18047,e.DiagnosticCategory.Error,"_0_is_possibly_null_18047","'{0}' is possibly 'null'."),_0_is_possibly_undefined:o(18048,e.DiagnosticCategory.Error,"_0_is_possibly_undefined_18048","'{0}' is possibly 'undefined'."),_0_is_possibly_null_or_undefined:o(18049,e.DiagnosticCategory.Error,"_0_is_possibly_null_or_undefined_18049","'{0}' is possibly 'null' or 'undefined'."),The_value_0_cannot_be_used_here:o(18050,e.DiagnosticCategory.Error,"The_value_0_cannot_be_used_here_18050","The value '{0}' cannot be used here.")}})(fr||(fr={}));var fr;(function(e){var o;function ne(d){return d>=79}e.tokenIsIdentifierOrKeyword=ne;function K(d){return d===31||ne(d)}e.tokenIsIdentifierOrKeywordOrGreaterThan=K,e.textToKeywordObj=(o={abstract:126,accessor:127,any:131,as:128,asserts:129,assert:130,bigint:160,boolean:134,break:81,case:82,catch:83,class:84,continue:86,const:85},o["constructor"]=135,o.debugger=87,o.declare=136,o.default=88,o.delete=89,o.do=90,o.else=91,o.enum=92,o.export=93,o.extends=94,o.false=95,o.finally=96,o.for=97,o.from=158,o.function=98,o.get=137,o.if=99,o.implements=117,o.import=100,o.in=101,o.infer=138,o.instanceof=102,o.interface=118,o.intrinsic=139,o.is=140,o.keyof=141,o.let=119,o.module=142,o.namespace=143,o.never=144,o.new=103,o.null=104,o.number=148,o.object=149,o.package=120,o.private=121,o.protected=122,o.public=123,o.override=161,o.out=145,o.readonly=146,o.require=147,o.global=159,o.return=105,o.satisfies=150,o.set=151,o.static=124,o.string=152,o.super=106,o.switch=107,o.symbol=153,o.this=108,o.throw=109,o.true=110,o.try=111,o.type=154,o.typeof=112,o.undefined=155,o.unique=156,o.unknown=157,o.var=113,o.void=114,o.while=115,o.with=116,o.yield=125,o.async=132,o.await=133,o.of=162,o);var se=new e.Map(e.getEntries(e.textToKeywordObj)),O=new e.Map(e.getEntries(vi(vi({},e.textToKeywordObj),{"{":18,"}":19,"(":20,")":21,"[":22,"]":23,".":24,"...":25,";":26,",":27,"<":29,">":31,"<=":32,">=":33,"==":34,"!=":35,"===":36,"!==":37,"=>":38,"+":39,"-":40,"**":42,"*":41,"/":43,"%":44,"++":45,"--":46,"<<":47,">":48,">>>":49,"&":50,"|":51,"^":52,"!":53,"~":54,"&&":55,"||":56,"?":57,"??":60,"?.":28,":":58,"=":63,"+=":64,"-=":65,"*=":66,"**=":67,"/=":68,"%=":69,"<<=":70,">>=":71,">>>=":72,"&=":73,"|=":74,"^=":78,"||=":75,"&&=":76,"??=":77,"@":59,"#":62,"`":61}))),ie=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1569,1594,1600,1610,1649,1747,1749,1749,1765,1766,1786,1788,1808,1808,1810,1836,1920,1957,2309,2361,2365,2365,2384,2384,2392,2401,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2784,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2877,2877,2908,2909,2911,2913,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3294,3294,3296,3297,3333,3340,3342,3344,3346,3368,3370,3385,3424,3425,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3805,3840,3840,3904,3911,3913,3946,3976,3979,4096,4129,4131,4135,4137,4138,4176,4181,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6067,6176,6263,6272,6312,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8319,8319,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12329,12337,12341,12344,12346,12353,12436,12445,12446,12449,12538,12540,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65138,65140,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],_e=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,768,846,864,866,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1155,1158,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1425,1441,1443,1465,1467,1469,1471,1471,1473,1474,1476,1476,1488,1514,1520,1522,1569,1594,1600,1621,1632,1641,1648,1747,1749,1756,1759,1768,1770,1773,1776,1788,1808,1836,1840,1866,1920,1968,2305,2307,2309,2361,2364,2381,2384,2388,2392,2403,2406,2415,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2492,2494,2500,2503,2504,2507,2509,2519,2519,2524,2525,2527,2531,2534,2545,2562,2562,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2649,2652,2654,2654,2662,2676,2689,2691,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2784,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2876,2883,2887,2888,2891,2893,2902,2903,2908,2909,2911,2913,2918,2927,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3006,3010,3014,3016,3018,3021,3031,3031,3047,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3134,3140,3142,3144,3146,3149,3157,3158,3168,3169,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3262,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3297,3302,3311,3330,3331,3333,3340,3342,3344,3346,3368,3370,3385,3390,3395,3398,3400,3402,3405,3415,3415,3424,3425,3430,3439,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3805,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3946,3953,3972,3974,3979,3984,3991,3993,4028,4038,4038,4096,4129,4131,4135,4137,4138,4140,4146,4150,4153,4160,4169,4176,4185,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,4969,4977,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6099,6112,6121,6160,6169,6176,6263,6272,6313,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8319,8319,8400,8412,8417,8417,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12335,12337,12341,12344,12346,12353,12436,12441,12442,12445,12446,12449,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65056,65059,65075,65076,65101,65103,65136,65138,65140,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65381,65470,65474,65479,65482,65487,65490,65495,65498,65500],Q=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1319,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2208,2208,2210,2220,2308,2361,2365,2365,2384,2384,2392,2401,2417,2423,2425,2431,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3133,3160,3161,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3424,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6263,6272,6312,6314,6314,6320,6389,6400,6428,6480,6509,6512,6516,6528,6571,6593,6599,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7401,7404,7406,7409,7413,7414,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11823,11823,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42647,42656,42735,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43648,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],p=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1319,1329,1366,1369,1369,1377,1415,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1520,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2048,2093,2112,2139,2208,2208,2210,2220,2276,2302,2304,2403,2406,2415,2417,2423,2425,2431,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3161,3168,3171,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3330,3331,3333,3340,3342,3344,3346,3386,3389,3396,3398,3400,3402,3406,3415,3415,3424,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6263,6272,6314,6320,6389,6400,6428,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6617,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7376,7378,7380,7414,7424,7654,7676,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8204,8205,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,11823,11823,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12442,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42647,42655,42737,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43047,43072,43123,43136,43204,43216,43225,43232,43255,43259,43259,43264,43309,43312,43347,43360,43388,43392,43456,43471,43481,43520,43574,43584,43597,43600,43609,43616,43638,43642,43643,43648,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65062,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],D=[65,90,97,122,170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,895,895,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1327,1329,1366,1369,1369,1376,1416,1488,1514,1519,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2144,2154,2208,2228,2230,2237,2308,2361,2365,2365,2384,2384,2392,2401,2417,2432,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2556,2556,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2809,2809,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3129,3133,3133,3160,3162,3168,3169,3200,3200,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3412,3414,3423,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6264,6272,6312,6314,6314,6320,6389,6400,6430,6480,6509,6512,6516,6528,6571,6576,6601,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7296,7304,7312,7354,7357,7359,7401,7404,7406,7411,7413,7414,7418,7418,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12443,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42653,42656,42735,42775,42783,42786,42888,42891,42943,42946,42950,42999,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43261,43262,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43488,43492,43494,43503,43514,43518,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43646,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66176,66204,66208,66256,66304,66335,66349,66378,66384,66421,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68096,68112,68115,68117,68119,68121,68149,68192,68220,68224,68252,68288,68295,68297,68324,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68899,69376,69404,69415,69415,69424,69445,69600,69622,69635,69687,69763,69807,69840,69864,69891,69926,69956,69956,69968,70002,70006,70006,70019,70066,70081,70084,70106,70106,70108,70108,70144,70161,70163,70187,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70366,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70461,70461,70480,70480,70493,70497,70656,70708,70727,70730,70751,70751,70784,70831,70852,70853,70855,70855,71040,71086,71128,71131,71168,71215,71236,71236,71296,71338,71352,71352,71424,71450,71680,71723,71840,71903,71935,71935,72096,72103,72106,72144,72161,72161,72163,72163,72192,72192,72203,72242,72250,72250,72272,72272,72284,72329,72349,72349,72384,72440,72704,72712,72714,72750,72768,72768,72818,72847,72960,72966,72968,72969,72971,73008,73030,73030,73056,73061,73063,73064,73066,73097,73112,73112,73440,73458,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92880,92909,92928,92975,92992,92995,93027,93047,93053,93071,93760,93823,93952,94026,94032,94032,94099,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,123136,123180,123191,123197,123214,123214,123584,123627,124928,125124,125184,125251,125259,125259,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101],le=[48,57,65,90,95,95,97,122,170,170,181,181,183,183,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,895,895,902,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1327,1329,1366,1369,1369,1376,1416,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1519,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2045,2045,2048,2093,2112,2139,2144,2154,2208,2228,2230,2237,2259,2273,2275,2403,2406,2415,2417,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2556,2556,2558,2558,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2809,2815,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3072,3084,3086,3088,3090,3112,3114,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3162,3168,3171,3174,3183,3200,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3328,3331,3333,3340,3342,3344,3346,3396,3398,3400,3402,3406,3412,3415,3423,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3558,3567,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4969,4977,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6264,6272,6314,6320,6389,6400,6430,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6618,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6832,6845,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7296,7304,7312,7354,7357,7359,7376,7378,7380,7418,7424,7673,7675,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42737,42775,42783,42786,42888,42891,42943,42946,42950,42999,43047,43072,43123,43136,43205,43216,43225,43232,43255,43259,43259,43261,43309,43312,43347,43360,43388,43392,43456,43471,43481,43488,43518,43520,43574,43584,43597,43600,43609,43616,43638,43642,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65071,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66045,66045,66176,66204,66208,66256,66272,66272,66304,66335,66349,66378,66384,66426,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68099,68101,68102,68108,68115,68117,68119,68121,68149,68152,68154,68159,68159,68192,68220,68224,68252,68288,68295,68297,68326,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68903,68912,68921,69376,69404,69415,69415,69424,69456,69600,69622,69632,69702,69734,69743,69759,69818,69840,69864,69872,69881,69888,69940,69942,69951,69956,69958,69968,70003,70006,70006,70016,70084,70089,70092,70096,70106,70108,70108,70144,70161,70163,70199,70206,70206,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70378,70384,70393,70400,70403,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70459,70468,70471,70472,70475,70477,70480,70480,70487,70487,70493,70499,70502,70508,70512,70516,70656,70730,70736,70745,70750,70751,70784,70853,70855,70855,70864,70873,71040,71093,71096,71104,71128,71133,71168,71232,71236,71236,71248,71257,71296,71352,71360,71369,71424,71450,71453,71467,71472,71481,71680,71738,71840,71913,71935,71935,72096,72103,72106,72151,72154,72161,72163,72164,72192,72254,72263,72263,72272,72345,72349,72349,72384,72440,72704,72712,72714,72758,72760,72768,72784,72793,72818,72847,72850,72871,72873,72886,72960,72966,72968,72969,72971,73014,73018,73018,73020,73021,73023,73031,73040,73049,73056,73061,73063,73064,73066,73102,73104,73105,73107,73112,73120,73129,73440,73462,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92768,92777,92880,92909,92912,92916,92928,92982,92992,92995,93008,93017,93027,93047,93053,93071,93760,93823,93952,94026,94031,94087,94095,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,113821,113822,119141,119145,119149,119154,119163,119170,119173,119179,119210,119213,119362,119364,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,120782,120831,121344,121398,121403,121452,121461,121461,121476,121476,121499,121503,121505,121519,122880,122886,122888,122904,122907,122913,122915,122916,122918,122922,123136,123180,123184,123197,123200,123209,123214,123214,123584,123641,124928,125124,125136,125142,125184,125259,125264,125273,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101,917760,917999],de=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/,te=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/;function oe(d,j){if(d=2?oe(d,D):j===1?oe(d,Q):oe(d,ie)}e.isUnicodeIdentifierStart=ae;function E(d,j){return j>=2?oe(d,le):j===1?oe(d,p):oe(d,_e)}function I(d){var j=[];return d.forEach(function(Ce,Se){j[Ce]=Se}),j}var f=I(O);function m(d){return f[d]}e.tokenToString=m;function y(d){return O.get(d)}e.stringToToken=y;function S(d){for(var j=[],Ce=0,Se=0;Ce127&&F(Re)&&(j.push(Se),Se=Ce);break}}return j.push(Se),j}e.computeLineStarts=S;function k(d,j,Ce,Se){return d.getPositionOfLineAndCharacter?d.getPositionOfLineAndCharacter(j,Ce,Se):C(me(d),j,Ce,d.text,Se)}e.getPositionOfLineAndCharacter=k;function C(d,j,Ce,Se,Re){(j<0||j>=d.length)&&(Re?j=j<0?0:j>=d.length?d.length-1:j:e.Debug.fail("Bad line number. Line: ".concat(j,", lineStarts.length: ").concat(d.length," , line map is correct? ").concat(Se!==void 0?e.arraysEqual(d,S(Se)):"unknown")));var er=d[j]+Ce;return Re?er>d[j+1]?d[j+1]:typeof Se=="string"&&er>Se.length?Se.length:er:(j=8192&&d<=8203||d===8239||d===8287||d===12288||d===65279}e.isWhiteSpaceSingleLine=h;function F(d){return d===10||d===13||d===8232||d===8233}e.isLineBreak=F;function $(d){return d>=48&&d<=57}function L(d){return $(d)||d>=65&&d<=70||d>=97&&d<=102}function P(d){return d<=1114111}function N(d){return d>=48&&d<=55}e.isOctalDigit=N;function J(d,j){var Ce=d.charCodeAt(j);switch(Ce){case 13:case 10:case 9:case 11:case 12:case 32:case 47:case 60:case 124:case 61:case 62:return!0;case 35:return j===0;default:return Ce>127}}e.couldStartTrivia=J;function q(d,j,Ce,Se,Re){if(e.positionIsSynthesized(j))return j;for(var er=!1;;){var wr=d.charCodeAt(j);switch(wr){case 13:d.charCodeAt(j+1)===10&&j++;case 10:if(j++,Ce)return j;er=!!Re;continue;case 9:case 11:case 12:case 32:j++;continue;case 47:if(Se)break;if(d.charCodeAt(j+1)===47){for(j+=2;j127&&V(wr)){j++;continue}break}return j}}e.skipTrivia=q;var G="<<<<<<<".length;function ye(d,j){if(e.Debug.assert(j>=0),j===0||F(d.charCodeAt(j-1))){var Ce=d.charCodeAt(j);if(j+G=0&&Ce127&&V(Ur)){ln&&F(Ur)&&(qr=!0),Ce++;continue}break e}}return ln&&(vr=Re(mr,Ue,t,qr,er,vr)),vr}function u(d,j,Ce,Se){return B(!1,d,j,!1,Ce,Se)}e.forEachLeadingCommentRange=u;function A(d,j,Ce,Se){return B(!1,d,j,!0,Ce,Se)}e.forEachTrailingCommentRange=A;function w(d,j,Ce,Se,Re){return B(!0,d,j,!1,Ce,Se,Re)}e.reduceEachLeadingCommentRange=w;function z(d,j,Ce,Se,Re){return B(!0,d,j,!0,Ce,Se,Re)}e.reduceEachTrailingCommentRange=z;function U(d,j,Ce,Se,Re,er){return er||(er=[]),er.push({kind:Ce,pos:d,end:j,hasTrailingNewLine:Se}),er}function ge(d,j){return w(d,j,U,void 0,void 0)}e.getLeadingCommentRanges=ge;function pe(d,j){return z(d,j,U,void 0,void 0)}e.getTrailingCommentRanges=pe;function He(d){var j=x.exec(d);if(j)return j[0]}e.getShebang=He;function Be(d,j){return d>=65&&d<=90||d>=97&&d<=122||d===36||d===95||d>127&&ae(d,j)}e.isIdentifierStart=Be;function Me(d,j,Ce){return d>=65&&d<=90||d>=97&&d<=122||d>=48&&d<=57||d===36||d===95||(Ce===1?d===45||d===58:!1)||d>127&&E(d,j)}e.isIdentifierPart=Me;function Le(d,j,Ce){var Se=Xe(d,0);if(!Be(Se,j))return!1;for(var Re=Ne(Se);Re116},isReservedWord:function(){return dr>=81&&dr<=116},isUnterminated:function(){return(kr&4)!=0},getCommentDirectives:function(){return Ur},getNumericLiteralFlags:function(){return kr&1008},getTokenFlags:function(){return kr},reScanGreaterToken:Dr,reScanAsteriskEqualsToken:Pr,reScanSlashToken:jr,reScanTemplateToken:Sr,reScanTemplateHeadOrNoSubstitutionTemplate:Te,scanJsxIdentifier:hr,scanJsxAttributeValue:_r,reScanJsxAttributeValue:Or,reScanJsxToken:Ye,reScanLessThanToken:Qe,reScanHashToken:ue,reScanQuestionToken:Ke,reScanInvalidIdentifier:Qn,scanJsxToken:tr,scanJsDocToken:zr,scan:An,getText:qn,clearCommentDirectives:yn,setText:Hn,setScriptTarget:ti,setLanguageVariant:Hi,setOnError:Ai,setTextPos:Ni,setInJSDocType:gi,tryScan:bn,lookAhead:Wn,scanRange:Vr};return e.Debug.isDebugging&&Object.defineProperty(rn,"__debugShowCurrentPositionInText",{get:function(){var Pn=rn.getText();return Pn.slice(0,rn.getStartPos())+"\u2551"+Pn.slice(rn.getStartPos())}}),rn;function Br(Pn,Pe,Ir){if(Pe===void 0&&(Pe=Ue),Re){var we=Ue;Ue=Pe,Re(Pn,Ir||0),Ue=we}}function pn(){for(var Pn=Ue,Pe=!1,Ir=!1,we="";;){var hn=mr.charCodeAt(Ue);if(hn===95){kr|=512,Pe?(Pe=!1,Ir=!0,we+=mr.substring(Pn,Ue)):Br(Ir?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,Ue,1),Ue++,Pn=Ue;continue}if($(hn)){Pe=!0,Ir=!1,Ue++;continue}break}return mr.charCodeAt(Ue-1)===95&&Br(e.Diagnostics.Numeric_separators_are_not_allowed_here,Ue-1,1),we+mr.substring(Pn,Ue)}function ve(){var Pn=Ue,Pe=pn(),Ir,we;mr.charCodeAt(Ue)===46&&(Ue++,Ir=pn());var hn=Ue;if(mr.charCodeAt(Ue)===69||mr.charCodeAt(Ue)===101){Ue++,kr|=16,(mr.charCodeAt(Ue)===43||mr.charCodeAt(Ue)===45)&&Ue++;var jn=Ue,gn=pn();gn?(we=mr.substring(hn,jn)+gn,hn=Ue):Br(e.Diagnostics.Digit_expected)}var nn;if(kr&512?(nn=Pe,Ir&&(nn+="."+Ir),we&&(nn+=we)):nn=mr.substring(Pn,hn),Ir!==void 0||kr&16)return or(Pn,Ir===void 0&&!!(kr&16)),{type:8,value:""+ +nn};vr=nn;var Cn=xn();return or(Pn),{type:Cn,value:vr}}function or(Pn,Pe){if(!!Be(Xe(mr,Ue),d)){var Ir=Ue,we=We().length;we===1&&mr[Ir]==="n"?Br(Pe?e.Diagnostics.A_bigint_literal_cannot_use_exponential_notation:e.Diagnostics.A_bigint_literal_must_be_an_integer,Pn,Ir-Pn+1):(Br(e.Diagnostics.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,Ir,we),Ue=Ir)}}function Ee(){for(var Pn=Ue;N(mr.charCodeAt(Ue));)Ue++;return+mr.substring(Pn,Ue)}function ze(Pn,Pe){var Ir=xe(Pn,!1,Pe);return Ir?parseInt(Ir,16):-1}function Ar(Pn,Pe){return xe(Pn,!0,Pe)}function xe(Pn,Pe,Ir){for(var we=[],hn=!1,jn=!1;we.length=65&&gn<=70)gn+=97-65;else if(!(gn>=48&&gn<=57||gn>=97&&gn<=102))break;we.push(gn),Ue++,jn=!1}return we.length=t){Ir+=mr.substring(we,Ue),kr|=4,Br(e.Diagnostics.Unterminated_string_literal);break}var hn=mr.charCodeAt(Ue);if(hn===Pe){Ir+=mr.substring(we,Ue),Ue++;break}if(hn===92&&!Pn){Ir+=mr.substring(we,Ue),Ir+=Rr(),we=Ue;continue}if(F(hn)&&!Pn){Ir+=mr.substring(we,Ue),kr|=4,Br(e.Diagnostics.Unterminated_string_literal);break}Ue++}return Ir}function Mr(Pn){var Pe=mr.charCodeAt(Ue)===96;Ue++;for(var Ir=Ue,we="",hn;;){if(Ue>=t){we+=mr.substring(Ir,Ue),kr|=4,Br(e.Diagnostics.Unterminated_template_literal),hn=Pe?14:17;break}var jn=mr.charCodeAt(Ue);if(jn===96){we+=mr.substring(Ir,Ue),Ue++,hn=Pe?14:17;break}if(jn===36&&Ue+1=t)return Br(e.Diagnostics.Unexpected_end_of_text),"";var Ir=mr.charCodeAt(Ue);switch(Ue++,Ir){case 48:return Pn&&Ue=0?String.fromCharCode(Pe):(Br(e.Diagnostics.Hexadecimal_digit_expected),"")}function en(){var Pn=Ar(1,!1),Pe=Pn?parseInt(Pn,16):-1,Ir=!1;return Pe<0?(Br(e.Diagnostics.Hexadecimal_digit_expected),Ir=!0):Pe>1114111&&(Br(e.Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),Ir=!0),Ue>=t?(Br(e.Diagnostics.Unexpected_end_of_text),Ir=!0):mr.charCodeAt(Ue)===125?Ue++:(Br(e.Diagnostics.Unterminated_Unicode_escape_sequence),Ir=!0),Ir?"":Y(Pe)}function vn(){if(Ue+5=0&&Me(Ir,d)){Ue+=3,kr|=8,Pn+=en(),Pe=Ue;continue}if(Ir=vn(),!(Ir>=0&&Me(Ir,d)))break;kr|=1024,Pn+=mr.substring(Pe,Ue),Pn+=Y(Ir),Ue+=6,Pe=Ue}else break}return Pn+=mr.substring(Pe,Ue),Pn}function xr(){var Pn=vr.length;if(Pn>=2&&Pn<=12){var Pe=vr.charCodeAt(0);if(Pe>=97&&Pe<=122){var Ir=se.get(vr);if(Ir!==void 0)return dr=Ir}}return dr=79}function Lr(Pn){for(var Pe="",Ir=!1,we=!1;;){var hn=mr.charCodeAt(Ue);if(hn===95){kr|=512,Ir?(Ir=!1,we=!0):Br(we?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,Ue,1),Ue++;continue}if(Ir=!0,!$(hn)||hn-48>=Pn)break;Pe+=mr[Ue],Ue++,we=!1}return mr.charCodeAt(Ue-1)===95&&Br(e.Diagnostics.Numeric_separators_are_not_allowed_here,Ue-1,1),Pe}function xn(){if(mr.charCodeAt(Ue)===110)return vr+="n",kr&384&&(vr=e.parsePseudoBigInt(vr)+"n"),Ue++,9;var Pn=kr&128?parseInt(vr.slice(2),2):kr&256?parseInt(vr.slice(2),8):+vr;return vr=""+Pn,8}function An(){var Pn;qr=Ue,kr=0;for(var Pe=!1;;){if(ln=Ue,Ue>=t)return dr=1;var Ir=Xe(mr,Ue);if(Ir===35&&Ue===0&&T(mr,Ue)){if(Ue=Z(mr,Ue),j)continue;return dr=6}switch(Ir){case 10:case 13:if(kr|=1,j){Ue++;continue}else return Ir===13&&Ue+1=0&&Be(gn,d))return Ue+=3,kr|=8,vr=en()+We(),dr=xr();var nn=vn();return nn>=0&&Be(nn,d)?(Ue+=6,kr|=1024,vr=String.fromCharCode(nn)+We(),dr=xr()):(Br(e.Diagnostics.Invalid_character),Ue++,dr=0);case 35:if(Ue!==0&&mr[Ue+1]==="!")return Br(e.Diagnostics.can_only_be_used_at_the_start_of_a_file),Ue++,dr=0;var Cn=Xe(mr,Ue+1);if(Cn===92){Ue++;var Dn=Ie();if(Dn>=0&&Be(Dn,d))return Ue+=3,kr|=8,vr="#"+en()+We(),dr=80;var On=vn();if(On>=0&&Be(On,d))return Ue+=6,kr|=1024,vr="#"+String.fromCharCode(On)+We(),dr=80;Ue--}return Be(Cn,d)?(Ue++,ai(Cn,d)):(vr="#",Br(e.Diagnostics.Invalid_character,Ue++,Ne(Ir))),dr=80;default:var Xn=ai(Ir,d);if(Xn)return dr=Xn;if(h(Ir)){Ue+=Ne(Ir);continue}else if(F(Ir)){kr|=1,Ue+=Ne(Ir);continue}var Ge=Ne(Ir);return Br(e.Diagnostics.Invalid_character,Ue,Ge),Ue+=Ge,dr=0}}}function Qn(){e.Debug.assert(dr===0,"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'."),Ue=ln=qr,kr=0;var Pn=Xe(mr,Ue),Pe=ai(Pn,99);return Pe?dr=Pe:(Ue+=Ne(Pn),dr)}function ai(Pn,Pe){var Ir=Pn;if(Be(Ir,Pe)){for(Ue+=Ne(Ir);Ue=t)return dr=1;var Pe=mr.charCodeAt(Ue);if(Pe===60)return mr.charCodeAt(Ue+1)===47?(Ue+=2,dr=30):(Ue++,dr=29);if(Pe===123)return Ue++,dr=18;for(var Ir=0;Ue0)break;V(Pe)||(Ir=Ue)}Ue++}return vr=mr.substring(qr,Ue),Ir===-1?12:11}function hr(){if(ne(dr)){for(var Pn=!1;Ue=t)return dr=1;var Pn=Xe(mr,Ue);switch(Ue+=Ne(Pn),Pn){case 9:case 11:case 12:case 32:for(;Ue=0&&Be(Pe,d))return Ue+=3,kr|=8,vr=en()+We(),dr=xr();var Ir=vn();return Ir>=0&&Be(Ir,d)?(Ue+=6,kr|=1024,vr=String.fromCharCode(Ir)+We(),dr=xr()):(Ue++,dr=0)}if(Be(Pn,d)){for(var we=Pn;Ue=0),Ue=Pn,qr=Pn,ln=Pn,dr=0,vr=void 0,kr=0}function gi(Pn){Cr+=Pn?1:-1}}e.createScanner=Ae;var Xe=String.prototype.codePointAt?function(d,j){return d.codePointAt(j)}:function(j,Ce){var Se=j.length;if(!(Ce<0||Ce>=Se)){var Re=j.charCodeAt(Ce);if(Re>=55296&&Re<=56319&&Se>Ce+1){var er=j.charCodeAt(Ce+1);if(er>=56320&&er<=57343)return(Re-55296)*1024+er-56320+65536}return Re}};function Ne(d){return d>=65536?2:1}function Oe(d){if(e.Debug.assert(0<=d&&d<=1114111),d<=65535)return String.fromCharCode(d);var j=Math.floor((d-65536)/1024)+55296,Ce=(d-65536)%1024+56320;return String.fromCharCode(j,Ce)}var be=String.fromCodePoint?function(d){return String.fromCodePoint(d)}:Oe;function Y(d){return be(d)}e.utf16EncodeAsString=Y})(fr||(fr={}));var fr;(function(e){function o(qe){return e.pathIsRelative(qe)||e.isRootedDiskPath(qe)}e.isExternalModuleNameRelative=o;function ne(qe){return e.sortAndDeduplicate(qe,e.compareDiagnostics)}e.sortAndDeduplicateDiagnostics=ne;function K(qe){switch(e.getEmitScriptTarget(qe)){case 99:return"lib.esnext.full.d.ts";case 9:return"lib.es2022.full.d.ts";case 8:return"lib.es2021.full.d.ts";case 7:return"lib.es2020.full.d.ts";case 6:return"lib.es2019.full.d.ts";case 5:return"lib.es2018.full.d.ts";case 4:return"lib.es2017.full.d.ts";case 3:return"lib.es2016.full.d.ts";case 2:return"lib.es6.d.ts";default:return"lib.d.ts"}}e.getDefaultLibFileName=K;function se(qe){return qe.start+qe.length}e.textSpanEnd=se;function O(qe){return qe.length===0}e.textSpanIsEmpty=O;function ie(qe,Tn){return Tn>=qe.start&&Tn=qe.pos&&Tn<=qe.end}e.textRangeContainsPositionInclusive=_e;function Q(qe,Tn){return Tn.start>=qe.start&&se(Tn)<=se(qe)}e.textSpanContainsTextSpan=Q;function p(qe,Tn){return D(qe,Tn)!==void 0}e.textSpanOverlapsWith=p;function D(qe,Tn){var Nr=ae(qe,Tn);return Nr&&Nr.length===0?void 0:Nr}e.textSpanOverlap=D;function le(qe,Tn){return te(qe.start,qe.length,Tn.start,Tn.length)}e.textSpanIntersectsWithTextSpan=le;function de(qe,Tn,Nr){return te(qe.start,qe.length,Tn,Nr)}e.textSpanIntersectsWith=de;function te(qe,Tn,Nr,ga){var xa=qe+Tn,co=Nr+ga;return Nr<=xa&&co>=qe}e.decodedTextSpanIntersectsWith=te;function oe(qe,Tn){return Tn<=se(qe)&&Tn>=qe.start}e.textSpanIntersectsWithPosition=oe;function ae(qe,Tn){var Nr=Math.max(qe.start,Tn.start),ga=Math.min(se(qe),se(Tn));return Nr<=ga?I(Nr,ga):void 0}e.textSpanIntersection=ae;function E(qe,Tn){if(qe<0)throw new Error("start < 0");if(Tn<0)throw new Error("length < 0");return{start:qe,length:Tn}}e.createTextSpan=E;function I(qe,Tn){return E(qe,Tn-qe)}e.createTextSpanFromBounds=I;function f(qe){return E(qe.span.start,qe.newLength)}e.textChangeRangeNewSpan=f;function m(qe){return O(qe.span)&&qe.newLength===0}e.textChangeRangeIsUnchanged=m;function y(qe,Tn){if(Tn<0)throw new Error("newLength < 0");return{span:qe,newLength:Tn}}e.createTextChangeRange=y,e.unchangedTextChangeRange=y(E(0,0),0);function S(qe){if(qe.length===0)return e.unchangedTextChangeRange;if(qe.length===1)return qe[0];for(var Tn=qe[0],Nr=Tn.span.start,ga=se(Tn.span),xa=Nr+Tn.newLength,co=1;co=2&&qe.charCodeAt(0)===95&&qe.charCodeAt(1)===95?"_"+qe:qe}e.escapeLeadingUnderscores=J;function q(qe){var Tn=qe;return Tn.length>=3&&Tn.charCodeAt(0)===95&&Tn.charCodeAt(1)===95&&Tn.charCodeAt(2)===95?Tn.substr(1):Tn}e.unescapeLeadingUnderscores=q;function G(qe){return q(qe.escapedText)}e.idText=G;function ye(qe){return qe.valueDeclaration&&yn(qe.valueDeclaration)?G(qe.valueDeclaration.name):q(qe.escapedName)}e.symbolName=ye;function b(qe){var Tn=qe.parent.parent;if(!!Tn){if(la(Tn))return x(Tn);switch(Tn.kind){case 240:if(Tn.declarationList&&Tn.declarationList.declarations[0])return x(Tn.declarationList.declarations[0]);break;case 241:var Nr=Tn.expression;switch(Nr.kind===223&&Nr.operatorToken.kind===63&&(Nr=Nr.left),Nr.kind){case 208:return Nr.name;case 209:var ga=Nr.argumentExpression;if(e.isIdentifier(ga))return ga}break;case 214:return x(Tn.expression);case 253:{if(la(Tn.statement)||To(Tn.statement))return x(Tn.statement);break}}}}function x(qe){var Tn=A(qe);return Tn&&e.isIdentifier(Tn)?Tn:void 0}function T(qe,Tn){return!!(B(qe)&&e.isIdentifier(qe.name)&&G(qe.name)===G(Tn)||e.isVariableStatement(qe)&&e.some(qe.declarationList.declarations,function(Nr){return T(Nr,Tn)}))}e.nodeHasName=T;function Z(qe){return qe.name||b(qe)}e.getNameOfJSDocTypedef=Z;function B(qe){return!!qe.name}e.isNamedDeclaration=B;function u(qe){switch(qe.kind){case 79:return qe;case 350:case 343:{var Tn=qe.name;if(Tn.kind===163)return Tn.right;break}case 210:case 223:{var Nr=qe;switch(e.getAssignmentDeclarationKind(Nr)){case 1:case 4:case 5:case 3:return e.getElementOrPropertyAccessArgumentExpressionOrName(Nr.left);case 7:case 8:case 9:return Nr.arguments[1];default:return}}case 348:return Z(qe);case 342:return b(qe);case 274:{var ga=qe.expression;return e.isIdentifier(ga)?ga:void 0}case 209:var xa=qe;if(e.isBindableStaticElementAccessExpression(xa))return xa.argumentExpression}return qe.name}e.getNonAssignedNameOfDeclaration=u;function A(qe){if(qe!==void 0)return u(qe)||(e.isFunctionExpression(qe)||e.isArrowFunction(qe)||e.isClassExpression(qe)?w(qe):void 0)}e.getNameOfDeclaration=A;function w(qe){if(qe.parent){if(e.isPropertyAssignment(qe.parent)||e.isBindingElement(qe.parent))return qe.parent.name;if(e.isBinaryExpression(qe.parent)&&qe===qe.parent.right){if(e.isIdentifier(qe.parent.left))return qe.parent.left;if(e.isAccessExpression(qe.parent.left))return e.getElementOrPropertyAccessArgumentExpressionOrName(qe.parent.left)}else if(e.isVariableDeclaration(qe.parent)&&e.isIdentifier(qe.parent.name))return qe.parent.name}else return}e.getAssignedName=w;function z(qe){if(e.hasDecorators(qe))return e.filter(qe.modifiers,e.isDecorator)}e.getDecorators=z;function U(qe){if(e.hasSyntacticModifier(qe,126975))return e.filter(qe.modifiers,Ni)}e.getModifiers=U;function ge(qe,Tn){if(qe.name)if(e.isIdentifier(qe.name)){var Nr=qe.name.escapedText;return Cr(qe.parent,Tn).filter(function(co){return e.isJSDocParameterTag(co)&&e.isIdentifier(co.name)&&co.name.escapedText===Nr})}else{var ga=qe.parent.parameters.indexOf(qe);e.Debug.assert(ga>-1,"Parameters should always be in their parents' parameter list");var xa=Cr(qe.parent,Tn).filter(e.isJSDocParameterTag);if(ga=163}e.isNodeKind=Sr;function Te(qe){return qe>=0&&qe<=162}e.isTokenKind=Te;function Ye(qe){return Te(qe.kind)}e.isToken=Ye;function Qe(qe){return e.hasProperty(qe,"pos")&&e.hasProperty(qe,"end")}e.isNodeArray=Qe;function ue(qe){return 8<=qe&&qe<=14}e.isLiteralKind=ue;function Ke(qe){return ue(qe.kind)}e.isLiteralExpression=Ke;function tr(qe){switch(qe.kind){case 207:case 206:case 13:case 215:case 228:return!0}return!1}e.isLiteralExpressionOfObject=tr;function hr(qe){return 14<=qe&&qe<=17}e.isTemplateLiteralKind=hr;function _r(qe){return hr(qe.kind)}e.isTemplateLiteralToken=_r;function Or(qe){var Tn=qe.kind;return Tn===16||Tn===17}e.isTemplateMiddleOrTemplateTail=Or;function zr(qe){return e.isImportSpecifier(qe)||e.isExportSpecifier(qe)}e.isImportOrExportSpecifier=zr;function fn(qe){switch(qe.kind){case 273:case 278:return qe.isTypeOnly||qe.parent.parent.isTypeOnly;case 271:return qe.parent.isTypeOnly;case 270:case 268:return qe.isTypeOnly;default:return!1}}e.isTypeOnlyImportOrExportDeclaration=fn;function Vr(qe){return e.isStringLiteral(qe)||e.isIdentifier(qe)}e.isAssertionKey=Vr;function Wn(qe){return qe.kind===10||hr(qe.kind)}e.isStringTextContainingNode=Wn;function bn(qe){return e.isIdentifier(qe)&&(qe.autoGenerateFlags&7)>0}e.isGeneratedIdentifier=bn;function qn(qe){return e.isPrivateIdentifier(qe)&&(qe.autoGenerateFlags&7)>0}e.isGeneratedPrivateIdentifier=qn;function yn(qe){return(e.isPropertyDeclaration(qe)||cn(qe))&&e.isPrivateIdentifier(qe.name)}e.isPrivateIdentifierClassElementDeclaration=yn;function Hn(qe){return e.isPropertyAccessExpression(qe)&&e.isPrivateIdentifier(qe.name)}e.isPrivateIdentifierPropertyAccessExpression=Hn;function Ai(qe){switch(qe){case 126:case 127:case 132:case 85:case 136:case 88:case 93:case 101:case 123:case 121:case 122:case 146:case 124:case 145:case 161:return!0}return!1}e.isModifierKind=Ai;function ti(qe){return!!(e.modifierToFlag(qe)&16476)}e.isParameterPropertyModifier=ti;function Hi(qe){return ti(qe)||qe===124||qe===161||qe===127}e.isClassMemberModifier=Hi;function Ni(qe){return Ai(qe.kind)}e.isModifier=Ni;function gi(qe){var Tn=qe.kind;return Tn===163||Tn===79}e.isEntityName=gi;function Pn(qe){var Tn=qe.kind;return Tn===79||Tn===80||Tn===10||Tn===8||Tn===164}e.isPropertyName=Pn;function Pe(qe){var Tn=qe.kind;return Tn===79||Tn===203||Tn===204}e.isBindingName=Pe;function Ir(qe){return!!qe&&nn(qe.kind)}e.isFunctionLike=Ir;function we(qe){return!!qe&&(nn(qe.kind)||e.isClassStaticBlockDeclaration(qe))}e.isFunctionLikeOrClassStaticBlockDeclaration=we;function hn(qe){return qe&&gn(qe.kind)}e.isFunctionLikeDeclaration=hn;function jn(qe){return qe.kind===110||qe.kind===95}e.isBooleanLiteral=jn;function gn(qe){switch(qe){case 259:case 171:case 173:case 174:case 175:case 215:case 216:return!0;default:return!1}}function nn(qe){switch(qe){case 170:case 176:case 326:case 177:case 178:case 181:case 320:case 182:return!0;default:return gn(qe)}}e.isFunctionLikeKind=nn;function Cn(qe){return e.isSourceFile(qe)||e.isModuleBlock(qe)||e.isBlock(qe)&&Ir(qe.parent)}e.isFunctionOrModuleBlock=Cn;function Dn(qe){var Tn=qe.kind;return Tn===173||Tn===169||Tn===171||Tn===174||Tn===175||Tn===178||Tn===172||Tn===237}e.isClassElement=Dn;function On(qe){return qe&&(qe.kind===260||qe.kind===228)}e.isClassLike=On;function Xn(qe){return qe&&(qe.kind===174||qe.kind===175)}e.isAccessor=Xn;function Ge(qe){return e.isPropertyDeclaration(qe)&&e.hasAccessorModifier(qe)}e.isAutoAccessorPropertyDeclaration=Ge;function cn(qe){switch(qe.kind){case 171:case 174:case 175:return!0;default:return!1}}e.isMethodOrAccessor=cn;function Vn(qe){switch(qe.kind){case 171:case 174:case 175:case 169:return!0;default:return!1}}e.isNamedClassElement=Vn;function Ki(qe){return Ni(qe)||e.isDecorator(qe)}e.isModifierLike=Ki;function dt(qe){var Tn=qe.kind;return Tn===177||Tn===176||Tn===168||Tn===170||Tn===178||Tn===174||Tn===175}e.isTypeElement=dt;function qi(qe){return dt(qe)||Dn(qe)}e.isClassOrTypeElement=qi;function Ci(qe){var Tn=qe.kind;return Tn===299||Tn===300||Tn===301||Tn===171||Tn===174||Tn===175}e.isObjectLiteralElementLike=Ci;function Tt(qe){return e.isTypeNodeKind(qe.kind)}e.isTypeNode=Tt;function ot(qe){switch(qe.kind){case 181:case 182:return!0}return!1}e.isFunctionOrConstructorTypeNode=ot;function Zi(qe){if(qe){var Tn=qe.kind;return Tn===204||Tn===203}return!1}e.isBindingPattern=Zi;function ni(qe){var Tn=qe.kind;return Tn===206||Tn===207}e.isAssignmentPattern=ni;function Va(qe){var Tn=qe.kind;return Tn===205||Tn===229}e.isArrayBindingElement=Va;function Ua(qe){switch(qe.kind){case 257:case 166:case 205:return!0}return!1}e.isDeclarationBindingElement=Ua;function za(qe){return Co(qe)||ho(qe)}e.isBindingOrAssignmentPattern=za;function Co(qe){switch(qe.kind){case 203:case 207:return!0}return!1}e.isObjectBindingOrAssignmentPattern=Co;function Ea(qe){switch(qe.kind){case 205:case 299:case 300:case 301:return!0}return!1}e.isObjectBindingOrAssignmentElement=Ea;function ho(qe){switch(qe.kind){case 204:case 206:return!0}return!1}e.isArrayBindingOrAssignmentPattern=ho;function Aa(qe){var Tn=qe.kind;return Tn===208||Tn===163||Tn===202}e.isPropertyAccessOrQualifiedNameOrImportTypeNode=Aa;function Vi(qe){var Tn=qe.kind;return Tn===208||Tn===163}e.isPropertyAccessOrQualifiedName=Vi;function Xi(qe){switch(qe.kind){case 283:case 282:case 210:case 211:case 212:case 167:return!0;default:return!1}}e.isCallLikeExpression=Xi;function ao(qe){return qe.kind===210||qe.kind===211}e.isCallOrNewExpression=ao;function fo(qe){var Tn=qe.kind;return Tn===225||Tn===14}e.isTemplateLiteral=fo;function As(qe){return so(An(qe).kind)}e.isLeftHandSideExpression=As;function so(qe){switch(qe){case 208:case 209:case 211:case 210:case 281:case 282:case 285:case 212:case 206:case 214:case 207:case 228:case 215:case 79:case 80:case 13:case 8:case 9:case 10:case 14:case 225:case 95:case 104:case 108:case 110:case 106:case 232:case 230:case 233:case 100:return!0;default:return!1}}function Xo(qe){return Ho(An(qe).kind)}e.isUnaryExpression=Xo;function Ho(qe){switch(qe){case 221:case 222:case 217:case 218:case 219:case 220:case 213:return!0;default:return so(qe)}}function Zo(qe){switch(qe.kind){case 222:return!0;case 221:return qe.operator===45||qe.operator===46;default:return!1}}e.isUnaryExpressionWithWrite=Zo;function To(qe){return pr(An(qe).kind)}e.isExpression=To;function pr(qe){switch(qe){case 224:case 226:case 216:case 223:case 227:case 231:case 229:case 354:case 353:case 235:return!0;default:return Ho(qe)}}function Fr(qe){var Tn=qe.kind;return Tn===213||Tn===231}e.isAssertionExpression=Fr;function yi(qe){return e.isNotEmittedStatement(qe)||e.isPartiallyEmittedExpression(qe)}e.isNotEmittedOrPartiallyEmittedNode=yi;function Dt(qe,Tn){switch(qe.kind){case 245:case 246:case 247:case 243:case 244:return!0;case 253:return Tn&&Dt(qe.statement,Tn)}return!1}e.isIterationStatement=Dt;function Ft(qe){return e.isExportAssignment(qe)||e.isExportDeclaration(qe)}e.isScopeMarker=Ft;function Pa(qe){return e.some(qe,Ft)}e.hasScopeMarker=Pa;function Ve(qe){return!e.isAnyImportOrReExport(qe)&&!e.isExportAssignment(qe)&&!e.hasSyntacticModifier(qe,1)&&!e.isAmbientModule(qe)}e.needsScopeMarker=Ve;function tn(qe){return e.isAnyImportOrReExport(qe)||e.isExportAssignment(qe)||e.hasSyntacticModifier(qe,1)}e.isExternalModuleIndicator=tn;function Nn(qe){return qe.kind===246||qe.kind===247}e.isForInOrOfStatement=Nn;function wn(qe){return e.isBlock(qe)||To(qe)}e.isConciseBody=wn;function Je(qe){return e.isBlock(qe)}e.isFunctionBody=Je;function ur(qe){return e.isVariableDeclarationList(qe)||To(qe)}e.isForInitializer=ur;function yr(qe){var Tn=qe.kind;return Tn===265||Tn===264||Tn===79}e.isModuleBody=yr;function Jr(qe){var Tn=qe.kind;return Tn===265||Tn===264}e.isNamespaceBody=Jr;function Mn(qe){var Tn=qe.kind;return Tn===79||Tn===264}e.isJSDocNamespaceBody=Mn;function _i(qe){var Tn=qe.kind;return Tn===272||Tn===271}e.isNamedImportBindings=_i;function di(qe){return qe.kind===264||qe.kind===263}e.isModuleOrEnumDeclaration=di;function fi(qe){return qe===216||qe===205||qe===260||qe===228||qe===172||qe===173||qe===263||qe===302||qe===278||qe===259||qe===215||qe===174||qe===270||qe===268||qe===273||qe===261||qe===288||qe===171||qe===170||qe===264||qe===267||qe===271||qe===277||qe===166||qe===299||qe===169||qe===168||qe===175||qe===300||qe===262||qe===165||qe===257||qe===348||qe===341||qe===350}function Nt(qe){return qe===259||qe===279||qe===260||qe===261||qe===262||qe===263||qe===264||qe===269||qe===268||qe===275||qe===274||qe===267}function Gt(qe){return qe===249||qe===248||qe===256||qe===243||qe===241||qe===239||qe===246||qe===247||qe===245||qe===242||qe===253||qe===250||qe===252||qe===254||qe===255||qe===240||qe===244||qe===251||qe===352||qe===356||qe===355}function la(qe){return qe.kind===165?qe.parent&&qe.parent.kind!==347||e.isInJSFile(qe):fi(qe.kind)}e.isDeclaration=la;function na(qe){return Nt(qe.kind)}e.isDeclarationStatement=na;function Ia(qe){return Gt(qe.kind)}e.isStatementButNotDeclaration=Ia;function bs(qe){var Tn=qe.kind;return Gt(Tn)||Nt(Tn)||ds(qe)}e.isStatement=bs;function ds(qe){return qe.kind!==238||qe.parent!==void 0&&(qe.parent.kind===255||qe.parent.kind===295)?!1:!e.isFunctionBlock(qe)}function ps(qe){var Tn=qe.kind;return Gt(Tn)||Nt(Tn)||Tn===238}e.isStatementOrBlock=ps;function ac(qe){var Tn=qe.kind;return Tn===280||Tn===163||Tn===79}e.isModuleReference=ac;function Es(qe){var Tn=qe.kind;return Tn===108||Tn===79||Tn===208}e.isJsxTagNameExpression=Es;function ns(qe){var Tn=qe.kind;return Tn===281||Tn===291||Tn===282||Tn===11||Tn===285}e.isJsxChild=ns;function dc(qe){var Tn=qe.kind;return Tn===288||Tn===290}e.isJsxAttributeLike=dc;function $s(qe){var Tn=qe.kind;return Tn===10||Tn===291}e.isStringLiteralOrJsxExpression=$s;function pc(qe){var Tn=qe.kind;return Tn===283||Tn===282}e.isJsxOpeningLikeElement=pc;function js(qe){var Tn=qe.kind;return Tn===292||Tn===293}e.isCaseOrDefaultClause=js;function Sc(qe){return qe.kind>=312&&qe.kind<=350}e.isJSDocNode=Sc;function Ko(qe){return qe.kind===323||qe.kind===322||qe.kind===324||Ht(qe)||Mc(qe)||e.isJSDocTypeLiteral(qe)||e.isJSDocSignature(qe)}e.isJSDocCommentContainingNode=Ko;function Mc(qe){return qe.kind>=330&&qe.kind<=350}e.isJSDocTag=Mc;function Vs(qe){return qe.kind===175}e.isSetAccessor=Vs;function oc(qe){return qe.kind===174}e.isGetAccessor=oc;function Ss(qe){var Tn=qe.jsDoc;return!!Tn&&Tn.length>0}e.hasJSDocNodes=Ss;function ee(qe){return!!qe.type}e.hasType=ee;function Er(qe){return!!qe.initializer}e.hasInitializer=Er;function un(qe){switch(qe.kind){case 257:case 166:case 205:case 169:case 299:case 302:return!0;default:return!1}}e.hasOnlyExpressionInitializer=un;function $n(qe){return qe.kind===288||qe.kind===290||Ci(qe)}e.isObjectLiteralElement=$n;function Ii(qe){return qe.kind===180||qe.kind===230}e.isTypeReferenceType=Ii;var at=1073741823;function Ji(qe){for(var Tn=at,Nr=0,ga=qe;Nr=0),e.getLineStarts(re)[c]}e.getStartPositionOfLine=L;function P(c){var re=V(c),lr=e.getLineAndCharacterOfPosition(re,c.pos);return"".concat(re.fileName,"(").concat(lr.line+1,",").concat(lr.character+1,")")}e.nodePosToString=P;function N(c,re){e.Debug.assert(c>=0);var lr=e.getLineStarts(re),Kr=c,Gn=re.text;if(Kr+1===lr.length)return Gn.length-1;var Gi=lr[Kr],it=lr[Kr+1]-1;for(e.Debug.assert(e.isLineBreak(Gn.charCodeAt(it)));Gi<=it&&e.isLineBreak(Gn.charCodeAt(it));)it--;return it}e.getEndLinePosition=N;function J(c,re,lr){return!(lr&&lr(re))&&!c.identifiers.has(re)}e.isFileLevelUniqueName=J;function q(c){return c===void 0?!0:c.pos===c.end&&c.pos>=0&&c.kind!==1}e.nodeIsMissing=q;function G(c){return!q(c)}e.nodeIsPresent=G;function ye(c,re,lr){if(re===void 0||re.length===0)return c;for(var Kr=0;Kr0?U(c._children[0],re,lr):e.skipTrivia((re||V(c)).text,c.pos,!1,!1,la(c))}e.getTokenPosOfNode=U;function ge(c,re){var lr=!q(c)&&e.canHaveModifiers(c)?e.findLast(c.modifiers,e.isDecorator):void 0;return lr?e.skipTrivia((re||V(c)).text,lr.end):U(c,re)}e.getNonDecoratorTokenPosOfNode=ge;function pe(c,re,lr){return lr===void 0&&(lr=!1),Me(c.text,re,lr)}e.getSourceTextOfNodeFromSourceFile=pe;function He(c){return!!e.findAncestor(c,e.isJSDocTypeExpression)}function Be(c){return!!(e.isExportDeclaration(c)&&c.exportClause&&e.isNamespaceExport(c.exportClause)&&c.exportClause.name.escapedText==="default")}e.isExportNamespaceAsDefaultDeclaration=Be;function Me(c,re,lr){if(lr===void 0&&(lr=!1),q(re))return"";var Kr=c.substring(lr?re.pos:e.skipTrivia(c,re.pos),re.end);return He(re)&&(Kr=Kr.split(/\r\n|\n|\r/).map(function(Gn){return e.trimStringStart(Gn.replace(/^\s*\*/,""))}).join(` `)),Kr}e.getTextOfNodeFromSourceText=Me;function Le(c,re){return re===void 0&&(re=!1),pe(V(c),c,re)}e.getTextOfNode=Le;function Ae(c){return c.pos}function Xe(c,re){return e.binarySearch(c,re,Ae,e.compareValues)}e.indexOfNode=Xe;function Ne(c){var re=c.emitNode;return re&&re.flags||0}e.getEmitFlags=Ne;function Oe(){return{es2015:{Array:["find","findIndex","fill","copyWithin","entries","keys","values"],RegExp:["flags","sticky","unicode"],Reflect:["apply","construct","defineProperty","deleteProperty","get"," getOwnPropertyDescriptor","getPrototypeOf","has","isExtensible","ownKeys","preventExtensions","set","setPrototypeOf"],ArrayConstructor:["from","of"],ObjectConstructor:["assign","getOwnPropertySymbols","keys","is","setPrototypeOf"],NumberConstructor:["isFinite","isInteger","isNaN","isSafeInteger","parseFloat","parseInt"],Math:["clz32","imul","sign","log10","log2","log1p","expm1","cosh","sinh","tanh","acosh","asinh","atanh","hypot","trunc","fround","cbrt"],Map:["entries","keys","values"],Set:["entries","keys","values"],Promise:e.emptyArray,PromiseConstructor:["all","race","reject","resolve"],Symbol:["for","keyFor"],WeakMap:["entries","keys","values"],WeakSet:["entries","keys","values"],Iterator:e.emptyArray,AsyncIterator:e.emptyArray,String:["codePointAt","includes","endsWith","normalize","repeat","startsWith","anchor","big","blink","bold","fixed","fontcolor","fontsize","italics","link","small","strike","sub","sup"],StringConstructor:["fromCodePoint","raw"]},es2016:{Array:["includes"]},es2017:{Atomics:e.emptyArray,SharedArrayBuffer:e.emptyArray,String:["padStart","padEnd"],ObjectConstructor:["values","entries","getOwnPropertyDescriptors"],DateTimeFormat:["formatToParts"]},es2018:{Promise:["finally"],RegExpMatchArray:["groups"],RegExpExecArray:["groups"],RegExp:["dotAll"],Intl:["PluralRules"],AsyncIterable:e.emptyArray,AsyncIterableIterator:e.emptyArray,AsyncGenerator:e.emptyArray,AsyncGeneratorFunction:e.emptyArray,NumberFormat:["formatToParts"]},es2019:{Array:["flat","flatMap"],ObjectConstructor:["fromEntries"],String:["trimStart","trimEnd","trimLeft","trimRight"],Symbol:["description"]},es2020:{BigInt:e.emptyArray,BigInt64Array:e.emptyArray,BigUint64Array:e.emptyArray,PromiseConstructor:["allSettled"],SymbolConstructor:["matchAll"],String:["matchAll"],DataView:["setBigInt64","setBigUint64","getBigInt64","getBigUint64"],RelativeTimeFormat:["format","formatToParts","resolvedOptions"]},es2021:{PromiseConstructor:["any"],String:["replaceAll"]},es2022:{Array:["at"],String:["at"],Int8Array:["at"],Uint8Array:["at"],Uint8ClampedArray:["at"],Int16Array:["at"],Uint16Array:["at"],Int32Array:["at"],Uint32Array:["at"],Float32Array:["at"],Float64Array:["at"],BigInt64Array:["at"],BigUint64Array:["at"],ObjectConstructor:["hasOwn"],Error:["cause"]}}}e.getScriptTargetFeatures=Oe;var be;(function(c){c[c.None=0]="None",c[c.NeverAsciiEscape=1]="NeverAsciiEscape",c[c.JsxAttributeEscape=2]="JsxAttributeEscape",c[c.TerminateUnterminatedLiterals=4]="TerminateUnterminatedLiterals",c[c.AllowNumericSeparator=8]="AllowNumericSeparator"})(be=e.GetLiteralTextFlags||(e.GetLiteralTextFlags={}));function Y(c,re,lr){var Kr;if(re&&d(c,lr))return pe(re,c);switch(c.kind){case 10:{var Gn=lr&2?of:lr&1||Ne(c)&16777216?S_:qf;return c.singleQuote?"'"+Gn(c.text,39)+"'":'"'+Gn(c.text,34)+'"'}case 14:case 15:case 16:case 17:{var Gn=lr&1||Ne(c)&16777216?S_:qf,Gi=(Kr=c.rawText)!==null&&Kr!==void 0?Kr:Id(Gn(c.text,96));switch(c.kind){case 14:return"`"+Gi+"`";case 15:return"`"+Gi+"${";case 16:return"}"+Gi+"${";case 17:return"}"+Gi+"`"}break}case 8:case 9:return c.text;case 13:return lr&4&&c.isUnterminated?c.text+(c.text.charCodeAt(c.text.length-1)===92?" /":"/"):c.text}return e.Debug.fail("Literal kind '".concat(c.kind,"' not accounted for."))}e.getLiteralText=Y;function d(c,re){return vc(c)||!c.parent||re&4&&c.isUnterminated?!1:e.isNumericLiteral(c)&&c.numericLiteralFlags&512?!!(re&8):!e.isBigIntLiteral(c)}function j(c){return e.isString(c)?'"'+qf(c)+'"':""+c}e.getTextOfConstantValue=j;function Ce(c){return e.getBaseFileName(c).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}e.makeIdentifierFromModuleName=Ce;function Se(c){return(e.getCombinedNodeFlags(c)&3)!=0||Re(c)}e.isBlockOrCatchScoped=Se;function Re(c){var re=Yu(c);return re.kind===257&&re.parent.kind===295}e.isCatchClauseVariableDeclarationOrBindingElement=Re;function er(c){return e.isModuleDeclaration(c)&&(c.name.kind===10||dr(c))}e.isAmbientModule=er;function wr(c){return e.isModuleDeclaration(c)&&c.name.kind===10}e.isModuleWithStringLiteralName=wr;function mr(c){return e.isModuleDeclaration(c)&&e.isStringLiteral(c.name)}e.isNonGlobalAmbientModule=mr;function Ue(c){return e.isModuleDeclaration(c)||e.isIdentifier(c)}e.isEffectiveModuleDeclaration=Ue;function t(c){return qr(c.valueDeclaration)}e.isShorthandAmbientModuleSymbol=t;function qr(c){return!!c&&c.kind===264&&!c.body}function ln(c){return c.kind===308||c.kind===264||e.isFunctionLikeOrClassStaticBlockDeclaration(c)}e.isBlockScopedContainerTopLevel=ln;function dr(c){return!!(c.flags&1024)}e.isGlobalScopeAugmentation=dr;function vr(c){return er(c)&&kr(c)}e.isExternalModuleAugmentation=vr;function kr(c){switch(c.parent.kind){case 308:return e.isExternalModule(c.parent);case 265:return er(c.parent.parent)&&e.isSourceFile(c.parent.parent.parent)&&!e.isExternalModule(c.parent.parent.parent)}return!1}e.isModuleAugmentationExternal=kr;function Ur(c){var re;return(re=c.declarations)===null||re===void 0?void 0:re.find(function(lr){return!vr(lr)&&!(e.isModuleDeclaration(lr)&&dr(lr))})}e.getNonAugmentationDeclaration=Ur;function Cr(c){return c===e.ModuleKind.CommonJS||c===e.ModuleKind.Node16||c===e.ModuleKind.NodeNext}function rn(c,re){return e.isExternalModule(c)||re.isolatedModules||Cr(cc(re))&&!!c.commonJsModuleIndicator}e.isEffectiveExternalModule=rn;function Br(c,re){switch(c.scriptKind){case 1:case 3:case 2:case 4:break;default:return!1}return c.isDeclarationFile?!1:Xp(re,"alwaysStrict")||e.startsWithUseStrict(c.statements)?!0:e.isExternalModule(c)||re.isolatedModules?cc(re)>=e.ModuleKind.ES2015?!0:!re.noImplicitUseStrict:!1}e.isEffectiveStrictModeSourceFile=Br;function pn(c){return!!(c.flags&16777216)||Ls(c,2)}e.isAmbientPropertyDeclaration=pn;function ve(c,re){switch(c.kind){case 308:case 266:case 295:case 264:case 245:case 246:case 247:case 173:case 171:case 174:case 175:case 259:case 215:case 216:case 169:case 172:return!0;case 238:return!e.isFunctionLikeOrClassStaticBlockDeclaration(re)}return!1}e.isBlockScope=ve;function or(c){switch(c.kind){case 341:case 348:case 326:return!0;default:return e.assertType(c),Ee(c)}}e.isDeclarationWithTypeParameters=or;function Ee(c){switch(c.kind){case 176:case 177:case 170:case 178:case 181:case 182:case 320:case 260:case 228:case 261:case 262:case 347:case 259:case 171:case 173:case 174:case 175:case 215:case 216:return!0;default:return e.assertType(c),!1}}e.isDeclarationWithTypeParameterChildren=Ee;function ze(c){switch(c.kind){case 269:case 268:return!0;default:return!1}}e.isAnyImportSyntax=ze;function Ar(c){return ze(c)||ds(c)}e.isAnyImportOrBareOrAccessedRequire=Ar;function xe(c){switch(c.kind){case 269:case 268:case 240:case 260:case 259:case 264:case 262:case 261:case 263:return!0;default:return!1}}e.isLateVisibilityPaintedStatement=xe;function cr(c){return Mr(c)||e.isModuleDeclaration(c)||e.isImportTypeNode(c)||zr(c)}e.hasPossibleExternalModuleReference=cr;function Mr(c){return ze(c)||e.isExportDeclaration(c)}e.isAnyImportOrReExport=Mr;function Rr(c){return e.findAncestor(c.parent,function(re){return ve(re,re.parent)})}e.getEnclosingBlockScopeContainer=Rr;function Qr(c,re){for(var lr=Rr(c);lr;)re(lr),lr=Rr(lr)}e.forEachEnclosingBlockScopeContainer=Qr;function en(c){return!c||E(c)===0?"(Missing)":Le(c)}e.declarationNameToString=en;function vn(c){return c.declaration?en(c.declaration.parameters[0].name):void 0}e.getNameFromIndexInfo=vn;function Ie(c){return c.kind===164&&!rf(c.expression)}e.isComputedNonLiteralName=Ie;function We(c){switch(c.kind){case 79:case 80:return c.autoGenerateFlags?void 0:c.escapedText;case 10:case 8:case 14:return e.escapeLeadingUnderscores(c.text);case 164:return rf(c.expression)?e.escapeLeadingUnderscores(c.expression.text):void 0;default:return e.Debug.assertNever(c)}}e.tryGetTextOfPropertyName=We;function xr(c){return e.Debug.checkDefined(We(c))}e.getTextOfPropertyName=xr;function Lr(c){switch(c.kind){case 108:return"this";case 80:case 79:return E(c)===0?e.idText(c):Le(c);case 163:return Lr(c.left)+"."+Lr(c.right);case 208:return e.isIdentifier(c.name)||e.isPrivateIdentifier(c.name)?Lr(c.expression)+"."+Lr(c.name):e.Debug.assertNever(c.name);case 314:return Lr(c.left)+Lr(c.right);default:return e.Debug.assertNever(c)}}e.entityNameToString=Lr;function xn(c,re,lr,Kr,Gn,Gi){var it=V(c);return Qn(it,c,re,lr,Kr,Gn,Gi)}e.createDiagnosticForNode=xn;function An(c,re,lr,Kr,Gn,Gi,it){var ct=e.skipTrivia(c.text,re.pos);return Ja(c,ct,re.end-ct,lr,Kr,Gn,Gi,it)}e.createDiagnosticForNodeArray=An;function Qn(c,re,lr,Kr,Gn,Gi,it){var ct=Ye(c,re);return Ja(c,ct.start,ct.length,lr,Kr,Gn,Gi,it)}e.createDiagnosticForNodeInSourceFile=Qn;function ai(c,re,lr){var Kr=V(c),Gn=Ye(Kr,c);return Pr(Kr,Gn.start,Gn.length,re,lr)}e.createDiagnosticForNodeFromMessageChain=ai;function Dr(c,re,lr){e.Debug.assertGreaterThanOrEqual(re,0),e.Debug.assertGreaterThanOrEqual(lr,0),c&&(e.Debug.assertLessThanOrEqual(re,c.text.length),e.Debug.assertLessThanOrEqual(re+lr,c.text.length))}function Pr(c,re,lr,Kr,Gn){return Dr(c,re,lr),{file:c,start:re,length:lr,code:Kr.code,category:Kr.category,messageText:Kr.next?Kr:Kr.messageText,relatedInformation:Gn}}e.createFileDiagnosticFromMessageChain=Pr;function jr(c,re,lr){return{file:c,start:0,length:0,code:re.code,category:re.category,messageText:re.next?re:re.messageText,relatedInformation:lr}}e.createDiagnosticForFileFromMessageChain=jr;function on(c){return typeof c.messageText=="string"?{code:c.code,category:c.category,messageText:c.messageText,next:c.next}:c.messageText}e.createDiagnosticMessageChainFromDiagnostic=on;function je(c,re,lr){return{file:c,start:re.pos,length:re.end-re.pos,code:lr.code,category:lr.category,messageText:lr.message}}e.createDiagnosticForRange=je;function Sr(c,re){var lr=e.createScanner(c.languageVersion,!0,c.languageVariant,c.text,void 0,re);lr.scan();var Kr=lr.getTokenPos();return e.createTextSpanFromBounds(Kr,lr.getTextPos())}e.getSpanOfTokenAtPosition=Sr;function Te(c,re){var lr=e.skipTrivia(c.text,re.pos);if(re.body&&re.body.kind===238){var Kr=e.getLineAndCharacterOfPosition(c,re.body.pos).line,Gn=e.getLineAndCharacterOfPosition(c,re.body.end).line;if(Kr0?re.statements[0].pos:re.end;return e.createTextSpanFromBounds(Gn,Gi)}if(lr===void 0)return Sr(c,re.pos);e.Debug.assert(!e.isJSDoc(lr));var it=q(lr),ct=it||e.isJsxText(re)?lr.pos:e.skipTrivia(c.text,lr.pos);return it?(e.Debug.assert(ct===lr.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),e.Debug.assert(ct===lr.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")):(e.Debug.assert(ct>=lr.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),e.Debug.assert(ct<=lr.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),e.createTextSpanFromBounds(ct,lr.end)}e.getErrorSpanForNode=Ye;function Qe(c){return(c.externalModuleIndicator||c.commonJsModuleIndicator)!==void 0}e.isExternalOrCommonJsModule=Qe;function ue(c){return c.scriptKind===6}e.isJsonSourceFile=ue;function Ke(c){return!!(e.getCombinedModifierFlags(c)&2048)}e.isEnumConst=Ke;function tr(c){return!!(e.getCombinedModifierFlags(c)&64&&!e.isParameterPropertyDeclaration(c,c.parent))}e.isDeclarationReadonly=tr;function hr(c){return!!(e.getCombinedNodeFlags(c)&2)}e.isVarConst=hr;function _r(c){return!!(e.getCombinedNodeFlags(c)&1)}e.isLet=_r;function Or(c){return c.kind===210&&c.expression.kind===106}e.isSuperCall=Or;function zr(c){return c.kind===210&&c.expression.kind===100}e.isImportCall=zr;function fn(c){return e.isMetaProperty(c)&&c.keywordToken===100&&c.name.escapedText==="meta"}e.isImportMeta=fn;function Vr(c){return e.isImportTypeNode(c)&&e.isLiteralTypeNode(c.argument)&&e.isStringLiteral(c.argument.literal)}e.isLiteralImportTypeNode=Vr;function Wn(c){return c.kind===241&&c.expression.kind===10}e.isPrologueDirective=Wn;function bn(c){return!!(Ne(c)&1048576)}e.isCustomPrologue=bn;function qn(c){return bn(c)&&e.isFunctionDeclaration(c)}e.isHoistedFunction=qn;function yn(c){return e.isIdentifier(c.name)&&!c.initializer}function Hn(c){return bn(c)&&e.isVariableStatement(c)&&e.every(c.declarationList.declarations,yn)}e.isHoistedVariableStatement=Hn;function Ai(c,re){return c.kind!==11?e.getLeadingCommentRanges(re.text,c.pos):void 0}e.getLeadingCommentRangesOfNode=Ai;function ti(c,re){var lr=c.kind===166||c.kind===165||c.kind===215||c.kind===216||c.kind===214||c.kind===257||c.kind===278?e.concatenate(e.getTrailingCommentRanges(re,c.pos),e.getLeadingCommentRanges(re,c.pos)):e.getLeadingCommentRanges(re,c.pos);return e.filter(lr,function(Kr){return re.charCodeAt(Kr.pos+1)===42&&re.charCodeAt(Kr.pos+2)===42&&re.charCodeAt(Kr.pos+3)!==47})}e.getJSDocCommentRanges=ti,e.fullTripleSlashReferencePathRegEx=/^(\/\/\/\s*/;var Hi=/^(\/\/\/\s*/;e.fullTripleSlashAMDReferencePathRegEx=/^(\/\/\/\s*/;var Ni=/^(\/\/\/\s*/;function gi(c){if(179<=c.kind&&c.kind<=202)return!0;switch(c.kind){case 131:case 157:case 148:case 160:case 152:case 134:case 153:case 149:case 155:case 144:return!0;case 114:return c.parent.kind!==219;case 230:return e.isHeritageClause(c.parent)&&!lu(c);case 165:return c.parent.kind===197||c.parent.kind===192;case 79:(c.parent.kind===163&&c.parent.right===c||c.parent.kind===208&&c.parent.name===c)&&(c=c.parent),e.Debug.assert(c.kind===79||c.kind===163||c.kind===208,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 163:case 208:case 108:{var re=c.parent;if(re.kind===183)return!1;if(re.kind===202)return!re.isTypeOf;if(179<=re.kind&&re.kind<=202)return!0;switch(re.kind){case 230:return e.isHeritageClause(re.parent)&&!lu(re);case 165:return c===re.constraint;case 347:return c===re.constraint;case 169:case 168:case 166:case 257:return c===re.type;case 259:case 215:case 216:case 173:case 171:case 170:case 174:case 175:return c===re.type;case 176:case 177:case 178:return c===re.type;case 213:return c===re.type;case 210:case 211:return e.contains(re.typeArguments,c);case 212:return!1}}}return!1}e.isPartOfTypeNode=gi;function Pn(c,re){for(;c;){if(c.kind===re)return!0;c=c.parent}return!1}e.isChildOfNodeWithKind=Pn;function Pe(c,re){return lr(c);function lr(Kr){switch(Kr.kind){case 250:return re(Kr);case 266:case 238:case 242:case 243:case 244:case 245:case 246:case 247:case 251:case 252:case 292:case 293:case 253:case 255:case 295:return e.forEachChild(Kr,lr)}}}e.forEachReturnStatement=Pe;function Ir(c,re){return lr(c);function lr(Kr){switch(Kr.kind){case 226:re(Kr);var Gn=Kr.expression;Gn&&lr(Gn);return;case 263:case 261:case 264:case 262:return;default:if(e.isFunctionLike(Kr)){if(Kr.name&&Kr.name.kind===164){lr(Kr.name.expression);return}}else gi(Kr)||e.forEachChild(Kr,lr)}}}e.forEachYieldExpression=Ir;function we(c){return c&&c.kind===185?c.elementType:c&&c.kind===180?e.singleOrUndefined(c.typeArguments):void 0}e.getRestParameterElementType=we;function hn(c){switch(c.kind){case 261:case 260:case 228:case 184:return c.members;case 207:return c.properties}}e.getMembersOfDeclaration=hn;function jn(c){if(c)switch(c.kind){case 205:case 302:case 166:case 299:case 169:case 168:case 300:case 257:return!0}return!1}e.isVariableLike=jn;function gn(c){return jn(c)||e.isAccessor(c)}e.isVariableLikeOrAccessor=gn;function nn(c){return c.parent.kind===258&&c.parent.parent.kind===240}e.isVariableDeclarationInVariableStatement=nn;function Cn(c){return fi(c)?e.isObjectLiteralExpression(c.parent)&&e.isBinaryExpression(c.parent.parent)&&Ii(c.parent.parent)===2||Dn(c.parent):!1}e.isCommonJsExportedExpression=Cn;function Dn(c){return fi(c)?e.isBinaryExpression(c)&&Ii(c)===1:!1}e.isCommonJsExportPropertyAssignment=Dn;function On(c){return(e.isVariableDeclaration(c)?hr(c)&&e.isIdentifier(c.name)&&nn(c):e.isPropertyDeclaration(c)?Qf(c)&&E_(c):e.isPropertySignature(c)&&Qf(c))||Dn(c)}e.isValidESSymbolDeclaration=On;function Xn(c){switch(c.kind){case 171:case 170:case 173:case 174:case 175:case 259:case 215:return!0}return!1}e.introducesArgumentsExoticObject=Xn;function Ge(c,re){for(;;){if(re&&re(c),c.statement.kind!==253)return c.statement;c=c.statement}}e.unwrapInnermostStatementOfLabel=Ge;function cn(c){return c&&c.kind===238&&e.isFunctionLike(c.parent)}e.isFunctionBlock=cn;function Vn(c){return c&&c.kind===171&&c.parent.kind===207}e.isObjectLiteralMethod=Vn;function Ki(c){return(c.kind===171||c.kind===174||c.kind===175)&&(c.parent.kind===207||c.parent.kind===228)}e.isObjectLiteralOrClassExpressionMethodOrAccessor=Ki;function dt(c){return c&&c.kind===1}e.isIdentifierTypePredicate=dt;function qi(c){return c&&c.kind===0}e.isThisTypePredicate=qi;function Ci(c,re,lr){return c.properties.filter(function(Kr){if(Kr.kind===299){var Gn=We(Kr.name);return re===Gn||!!lr&&lr===Gn}return!1})}e.getPropertyAssignment=Ci;function Tt(c,re,lr){return e.firstDefined(Ci(c,re),function(Kr){return e.isArrayLiteralExpression(Kr.initializer)?e.find(Kr.initializer.elements,function(Gn){return e.isStringLiteral(Gn)&&Gn.text===lr}):void 0})}e.getPropertyArrayElementValue=Tt;function ot(c){if(c&&c.statements.length){var re=c.statements[0].expression;return e.tryCast(re,e.isObjectLiteralExpression)}}e.getTsConfigObjectLiteralExpression=ot;function Zi(c,re,lr){return e.firstDefined(ni(c,re),function(Kr){return e.isArrayLiteralExpression(Kr.initializer)?e.find(Kr.initializer.elements,function(Gn){return e.isStringLiteral(Gn)&&Gn.text===lr}):void 0})}e.getTsConfigPropArrayElementValue=Zi;function ni(c,re){var lr=ot(c);return lr?Ci(lr,re):e.emptyArray}e.getTsConfigPropArray=ni;function Va(c){return e.findAncestor(c.parent,e.isFunctionLike)}e.getContainingFunction=Va;function Ua(c){return e.findAncestor(c.parent,e.isFunctionLikeDeclaration)}e.getContainingFunctionDeclaration=Ua;function za(c){return e.findAncestor(c.parent,e.isClassLike)}e.getContainingClass=za;function Co(c){return e.findAncestor(c.parent,function(re){return e.isClassLike(re)||e.isFunctionLike(re)?"quit":e.isClassStaticBlockDeclaration(re)})}e.getContainingClassStaticBlock=Co;function Ea(c){return e.findAncestor(c.parent,e.isFunctionLikeOrClassStaticBlockDeclaration)}e.getContainingFunctionOrClassStaticBlock=Ea;function ho(c,re){for(e.Debug.assert(c.kind!==308);;){if(c=c.parent,!c)return e.Debug.fail();switch(c.kind){case 164:if(e.isClassLike(c.parent.parent))return c;c=c.parent;break;case 167:c.parent.kind===166&&e.isClassElement(c.parent.parent)?c=c.parent.parent:e.isClassElement(c.parent)&&(c=c.parent);break;case 216:if(!re)continue;case 259:case 215:case 264:case 172:case 169:case 168:case 171:case 170:case 173:case 174:case 175:case 176:case 177:case 178:case 263:case 308:return c}}}e.getThisContainer=ho;function Aa(c){switch(c.kind){case 216:case 259:case 215:case 169:return!0;case 238:switch(c.parent.kind){case 173:case 171:case 174:case 175:return!0;default:return!1}default:return!1}}e.isThisContainerOrFunctionBlock=Aa;function Vi(c){e.isIdentifier(c)&&(e.isClassDeclaration(c.parent)||e.isFunctionDeclaration(c.parent))&&c.parent.name===c&&(c=c.parent);var re=ho(c,!0);return e.isSourceFile(re)}e.isInTopLevelContext=Vi;function Xi(c){var re=ho(c,!1);if(re)switch(re.kind){case 173:case 259:case 215:return re}}e.getNewTargetContainer=Xi;function ao(c,re){for(;;){if(c=c.parent,!c)return c;switch(c.kind){case 164:c=c.parent;break;case 259:case 215:case 216:if(!re)continue;case 169:case 168:case 171:case 170:case 173:case 174:case 175:case 172:return c;case 167:c.parent.kind===166&&e.isClassElement(c.parent.parent)?c=c.parent.parent:e.isClassElement(c.parent)&&(c=c.parent);break}}}e.getSuperContainer=ao;function fo(c){if(c.kind===215||c.kind===216){for(var re=c,lr=c.parent;lr.kind===214;)re=lr,lr=lr.parent;if(lr.kind===210&&lr.expression===re)return lr}}e.getImmediatelyInvokedFunctionExpression=fo;function As(c){return c.kind===106||so(c)}e.isSuperOrSuperProperty=As;function so(c){var re=c.kind;return(re===208||re===209)&&c.expression.kind===106}e.isSuperProperty=so;function Xo(c){var re=c.kind;return(re===208||re===209)&&c.expression.kind===108}e.isThisProperty=Xo;function Ho(c){var re;return!!c&&e.isVariableDeclaration(c)&&((re=c.initializer)===null||re===void 0?void 0:re.kind)===108}e.isThisInitializedDeclaration=Ho;function Zo(c){return!!c&&(e.isShorthandPropertyAssignment(c)||e.isPropertyAssignment(c))&&e.isBinaryExpression(c.parent.parent)&&c.parent.parent.operatorToken.kind===63&&c.parent.parent.right.kind===108}e.isThisInitializedObjectBindingExpression=Zo;function To(c){switch(c.kind){case 180:return c.typeName;case 230:return pu(c.expression)?c.expression:void 0;case 79:case 163:return c}}e.getEntityNameFromTypeNode=To;function pr(c){switch(c.kind){case 212:return c.tag;case 283:case 282:return c.tagName;default:return c.expression}}e.getInvokedExpression=pr;function Fr(c,re,lr){if(e.isNamedDeclaration(c)&&e.isPrivateIdentifier(c.name))return!1;switch(c.kind){case 260:return!0;case 169:return re.kind===260;case 174:case 175:case 171:return c.body!==void 0&&re.kind===260;case 166:return re.body!==void 0&&(re.kind===173||re.kind===171||re.kind===175)&&lr.kind===260}return!1}e.nodeCanBeDecorated=Fr;function yi(c,re,lr){return _f(c)&&Fr(c,re,lr)}e.nodeIsDecorated=yi;function Dt(c,re,lr){return yi(c,re,lr)||Ft(c,re)}e.nodeOrChildIsDecorated=Dt;function Ft(c,re){switch(c.kind){case 260:return e.some(c.members,function(lr){return Dt(lr,c,re)});case 171:case 175:case 173:return e.some(c.parameters,function(lr){return yi(lr,c,re)});default:return!1}}e.childIsDecorated=Ft;function Pa(c){if(yi(c))return!0;var re=kc(c);return!!re&&Ft(re,c)}e.classOrConstructorParameterIsDecorated=Pa;function Ve(c){var re=c.parent;return re.kind===283||re.kind===282||re.kind===284?re.tagName===c:!1}e.isJSXTagName=Ve;function tn(c){switch(c.kind){case 106:case 104:case 110:case 95:case 13:case 206:case 207:case 208:case 209:case 210:case 211:case 212:case 231:case 213:case 235:case 232:case 214:case 215:case 228:case 216:case 219:case 217:case 218:case 221:case 222:case 223:case 224:case 227:case 225:case 229:case 281:case 282:case 285:case 226:case 220:case 233:return!0;case 230:return!e.isHeritageClause(c.parent);case 163:for(;c.parent.kind===163;)c=c.parent;return c.parent.kind===183||e.isJSDocLinkLike(c.parent)||e.isJSDocNameReference(c.parent)||e.isJSDocMemberName(c.parent)||Ve(c);case 314:for(;e.isJSDocMemberName(c.parent);)c=c.parent;return c.parent.kind===183||e.isJSDocLinkLike(c.parent)||e.isJSDocNameReference(c.parent)||e.isJSDocMemberName(c.parent)||Ve(c);case 80:return e.isBinaryExpression(c.parent)&&c.parent.left===c&&c.parent.operatorToken.kind===101;case 79:if(c.parent.kind===183||e.isJSDocLinkLike(c.parent)||e.isJSDocNameReference(c.parent)||e.isJSDocMemberName(c.parent)||Ve(c))return!0;case 8:case 9:case 10:case 14:case 108:return Nn(c);default:return!1}}e.isExpressionNode=tn;function Nn(c){var re=c.parent;switch(re.kind){case 257:case 166:case 169:case 168:case 302:case 299:case 205:return re.initializer===c;case 241:case 242:case 243:case 244:case 250:case 251:case 252:case 292:case 254:return re.expression===c;case 245:var lr=re;return lr.initializer===c&&lr.initializer.kind!==258||lr.condition===c||lr.incrementor===c;case 246:case 247:var Kr=re;return Kr.initializer===c&&Kr.initializer.kind!==258||Kr.expression===c;case 213:case 231:return c===re.expression;case 236:return c===re.expression;case 164:return c===re.expression;case 167:case 291:case 290:case 301:return!0;case 230:return re.expression===c&&!gi(re);case 300:return re.objectAssignmentInitializer===c;case 235:return c===re.expression;default:return tn(re)}}e.isInExpressionContext=Nn;function wn(c){for(;c.kind===163||c.kind===79;)c=c.parent;return c.kind===183}e.isPartOfTypeQuery=wn;function Je(c){return e.isNamespaceExport(c)&&!!c.parent.moduleSpecifier}e.isNamespaceReexportDeclaration=Je;function ur(c){return c.kind===268&&c.moduleReference.kind===280}e.isExternalModuleImportEqualsDeclaration=ur;function yr(c){return e.Debug.assert(ur(c)),c.moduleReference.expression}e.getExternalModuleImportEqualsDeclarationExpression=yr;function Jr(c){return ds(c)&&bo(c.initializer).arguments[0]}e.getExternalModuleRequireArgument=Jr;function Mn(c){return c.kind===268&&c.moduleReference.kind!==280}e.isInternalModuleImportEqualsDeclaration=Mn;function _i(c){return fi(c)}e.isSourceFileJS=_i;function di(c){return!fi(c)}e.isSourceFileNotJS=di;function fi(c){return!!c&&!!(c.flags&262144)}e.isInJSFile=fi;function Nt(c){return!!c&&!!(c.flags&67108864)}e.isInJsonFile=Nt;function Gt(c){return!ue(c)}e.isSourceFileNotJson=Gt;function la(c){return!!c&&!!(c.flags&8388608)}e.isInJSDoc=la;function na(c){return e.isTypeReferenceNode(c)&&e.isIdentifier(c.typeName)&&c.typeName.escapedText==="Object"&&c.typeArguments&&c.typeArguments.length===2&&(c.typeArguments[0].kind===152||c.typeArguments[0].kind===148)}e.isJSDocIndexSignature=na;function Ia(c,re){if(c.kind!==210)return!1;var lr=c,Kr=lr.expression,Gn=lr.arguments;if(Kr.kind!==79||Kr.escapedText!=="require"||Gn.length!==1)return!1;var Gi=Gn[0];return!re||e.isStringLiteralLike(Gi)}e.isRequireCall=Ia;function bs(c){return ps(c,!1)}e.isVariableDeclarationInitializedToRequire=bs;function ds(c){return ps(c,!0)}e.isVariableDeclarationInitializedToBareOrAccessedRequire=ds;function ps(c,re){return e.isVariableDeclaration(c)&&!!c.initializer&&Ia(re?bo(c.initializer):c.initializer,!0)}function ac(c){return e.isVariableStatement(c)&&c.declarationList.declarations.length>0&&e.every(c.declarationList.declarations,function(re){return bs(re)})}e.isRequireVariableStatement=ac;function Es(c){return c===39||c===34}e.isSingleOrDoubleQuote=Es;function ns(c,re){return pe(re,c).charCodeAt(0)===34}e.isStringDoubleQuoted=ns;function dc(c){return e.isBinaryExpression(c)||mt(c)||e.isIdentifier(c)||e.isCallExpression(c)}e.isAssignmentDeclaration=dc;function $s(c){return fi(c)&&c.initializer&&e.isBinaryExpression(c.initializer)&&(c.initializer.operatorToken.kind===56||c.initializer.operatorToken.kind===60)&&c.name&&pu(c.name)&&Ss(c.name,c.initializer.left)?c.initializer.right:c.initializer}e.getEffectiveInitializer=$s;function pc(c){var re=$s(c);return re&&Ko(re,Au(c.name))}e.getDeclaredExpandoInitializer=pc;function js(c,re){return e.forEach(c.properties,function(lr){return e.isPropertyAssignment(lr)&&e.isIdentifier(lr.name)&&lr.name.escapedText==="value"&&lr.initializer&&Ko(lr.initializer,re)})}function Sc(c){if(c&&c.parent&&e.isBinaryExpression(c.parent)&&c.parent.operatorToken.kind===63){var re=Au(c.parent.left);return Ko(c.parent.right,re)||Mc(c.parent.left,c.parent.right,re)}if(c&&e.isCallExpression(c)&&at(c)){var lr=js(c.arguments[2],c.arguments[1].text==="prototype");if(lr)return lr}}e.getAssignedExpandoInitializer=Sc;function Ko(c,re){if(e.isCallExpression(c)){var lr=jt(c.expression);return lr.kind===215||lr.kind===216?c:void 0}if(c.kind===215||c.kind===228||c.kind===216||e.isObjectLiteralExpression(c)&&(c.properties.length===0||re))return c}e.getExpandoInitializer=Ko;function Mc(c,re,lr){var Kr=e.isBinaryExpression(re)&&(re.operatorToken.kind===56||re.operatorToken.kind===60)&&Ko(re.right,lr);if(Kr&&Ss(c,re.left))return Kr}function Vs(c){var re=e.isVariableDeclaration(c.parent)?c.parent.name:e.isBinaryExpression(c.parent)&&c.parent.operatorToken.kind===63?c.parent.left:void 0;return re&&Ko(c.right,Au(re))&&pu(re)&&Ss(re,c.left)}e.isDefaultedExpandoInitializer=Vs;function oc(c){if(e.isBinaryExpression(c.parent)){var re=(c.parent.operatorToken.kind===56||c.parent.operatorToken.kind===60)&&e.isBinaryExpression(c.parent.parent)?c.parent.parent:c.parent;if(re.operatorToken.kind===63&&e.isIdentifier(re.left))return re.left}else if(e.isVariableDeclaration(c.parent))return c.parent.name}e.getNameOfExpando=oc;function Ss(c,re){return At(c)&&At(re)?Cu(c)===Cu(re):e.isMemberName(c)&&Ji(re)&&(re.expression.kind===108||e.isIdentifier(re.expression)&&(re.expression.escapedText==="window"||re.expression.escapedText==="self"||re.expression.escapedText==="global"))?Ss(c,qe(re)):Ji(c)&&Ji(re)?xa(c)===xa(re)&&Ss(c.expression,re.expression):!1}e.isSameEntityName=Ss;function ee(c){for(;Yo(c,!0);)c=c.right;return c}e.getRightMostAssignedExpression=ee;function Er(c){return e.isIdentifier(c)&&c.escapedText==="exports"}e.isExportsIdentifier=Er;function un(c){return e.isIdentifier(c)&&c.escapedText==="module"}e.isModuleIdentifier=un;function $n(c){return(e.isPropertyAccessExpression(c)||_t(c))&&un(c.expression)&&xa(c)==="exports"}e.isModuleExportsAccessExpression=$n;function Ii(c){var re=Tn(c);return re===5||fi(c)?re:0}e.getAssignmentDeclarationKind=Ii;function at(c){return e.length(c.arguments)===3&&e.isPropertyAccessExpression(c.expression)&&e.isIdentifier(c.expression.expression)&&e.idText(c.expression.expression)==="Object"&&e.idText(c.expression.name)==="defineProperty"&&rf(c.arguments[1])&&va(c.arguments[0],!0)}e.isBindableObjectDefinePropertyCall=at;function Ji(c){return e.isPropertyAccessExpression(c)||_t(c)}e.isLiteralLikeAccess=Ji;function _t(c){return e.isElementAccessExpression(c)&&rf(c.argumentExpression)}e.isLiteralLikeElementAccess=_t;function Ht(c,re){return e.isPropertyAccessExpression(c)&&(!re&&c.expression.kind===108||e.isIdentifier(c.name)&&va(c.expression,!0))||Rt(c,re)}e.isBindableStaticAccessExpression=Ht;function Rt(c,re){return _t(c)&&(!re&&c.expression.kind===108||pu(c.expression)||Ht(c.expression,!0))}e.isBindableStaticElementAccessExpression=Rt;function va(c,re){return pu(c)||Ht(c,re)}e.isBindableStaticNameExpression=va;function qe(c){return e.isPropertyAccessExpression(c)?c.name:c.argumentExpression}e.getNameOrArgument=qe;function Tn(c){if(e.isCallExpression(c)){if(!at(c))return 0;var re=c.arguments[0];return Er(re)||$n(re)?8:Ht(re)&&xa(re)==="prototype"?9:7}return c.operatorToken.kind!==63||!mt(c.left)||Nr(ee(c))?0:va(c.left.expression,!0)&&xa(c.left)==="prototype"&&e.isObjectLiteralExpression(gs(c))?6:co(c.left)}function Nr(c){return e.isVoidExpression(c)&&e.isNumericLiteral(c.expression)&&c.expression.text==="0"}function ga(c){if(e.isPropertyAccessExpression(c))return c.name;var re=jt(c.argumentExpression);return e.isNumericLiteral(re)||e.isStringLiteralLike(re)?re:c}e.getElementOrPropertyAccessArgumentExpressionOrName=ga;function xa(c){var re=ga(c);if(re){if(e.isIdentifier(re))return re.escapedText;if(e.isStringLiteralLike(re)||e.isNumericLiteral(re))return e.escapeLeadingUnderscores(re.text)}}e.getElementOrPropertyAccessName=xa;function co(c){if(c.expression.kind===108)return 4;if($n(c))return 2;if(va(c.expression,!0)){if(Au(c.expression))return 3;for(var re=c;!e.isIdentifier(re.expression);)re=re.expression;var lr=re.expression;if((lr.escapedText==="exports"||lr.escapedText==="module"&&xa(re)==="exports")&&Ht(c))return 1;if(va(c,!0)||e.isElementAccessExpression(c)&&y_(c))return 5}return 0}e.getAssignmentDeclarationPropertyAccessKind=co;function gs(c){for(;e.isBinaryExpression(c.right);)c=c.right;return c.right}e.getInitializerOfBinaryExpression=gs;function gc(c){return e.isBinaryExpression(c)&&Ii(c)===3}e.isPrototypePropertyAssignment=gc;function ws(c){return fi(c)&&c.parent&&c.parent.kind===241&&(!e.isElementAccessExpression(c)||_t(c))&&!!e.getJSDocTypeTag(c.parent)}e.isSpecialPropertyDeclaration=ws;function Lc(c,re){var lr=c.valueDeclaration;(!lr||!(re.flags&16777216&&!(lr.flags&16777216))&&dc(lr)&&!dc(re)||lr.kind!==re.kind&&Ue(lr))&&(c.valueDeclaration=re)}e.setValueDeclaration=Lc;function qs(c){if(!c||!c.valueDeclaration)return!1;var re=c.valueDeclaration;return re.kind===259||e.isVariableDeclaration(re)&&re.initializer&&e.isFunctionLike(re.initializer)}e.isFunctionSymbol=qs;function ec(c){var re,lr;switch(c.kind){case 257:return(re=e.findAncestor(c.initializer,function(Kr){return Ia(Kr,!0)}))===null||re===void 0?void 0:re.arguments[0];case 269:return e.tryCast(c.moduleSpecifier,e.isStringLiteralLike);case 268:return e.tryCast((lr=e.tryCast(c.moduleReference,e.isExternalModuleReference))===null||lr===void 0?void 0:lr.expression,e.isStringLiteralLike);default:e.Debug.assertNever(c)}}e.tryGetModuleSpecifierFromDeclaration=ec;function Rc(c){return _o(c)||e.Debug.failBadSyntaxKind(c.parent)}e.importFromModuleSpecifier=Rc;function _o(c){switch(c.parent.kind){case 269:case 275:return c.parent;case 280:return c.parent.parent;case 210:return zr(c.parent)||Ia(c.parent,!1)?c.parent:void 0;case 198:return e.Debug.assert(e.isStringLiteral(c)),e.tryCast(c.parent.parent,e.isImportTypeNode);default:return}}e.tryGetImportFromModuleSpecifier=_o;function Gs(c){switch(c.kind){case 269:case 275:return c.moduleSpecifier;case 268:return c.moduleReference.kind===280?c.moduleReference.expression:void 0;case 202:return Vr(c)?c.argument.literal:void 0;case 210:return c.arguments[0];case 264:return c.name.kind===10?c.name:void 0;default:return e.Debug.assertNever(c)}}e.getExternalModuleName=Gs;function mc(c){switch(c.kind){case 269:return c.importClause&&e.tryCast(c.importClause.namedBindings,e.isNamespaceImport);case 268:return c;case 275:return c.exportClause&&e.tryCast(c.exportClause,e.isNamespaceExport);default:return e.Debug.assertNever(c)}}e.getNamespaceDeclarationNode=mc;function xl(c){return c.kind===269&&!!c.importClause&&!!c.importClause.name}e.isDefaultImport=xl;function $c(c,re){if(c.name){var lr=re(c);if(lr)return lr}if(c.namedBindings){var lr=e.isNamespaceImport(c.namedBindings)?re(c.namedBindings):e.forEach(c.namedBindings.elements,re);if(lr)return lr}}e.forEachImportClauseDeclaration=$c;function Qu(c){if(c)switch(c.kind){case 166:case 171:case 170:case 300:case 299:case 169:case 168:return c.questionToken!==void 0}return!1}e.hasQuestionToken=Qu;function Df(c){var re=e.isJSDocFunctionType(c)?e.firstOrUndefined(c.parameters):void 0,lr=e.tryCast(re&&re.name,e.isIdentifier);return!!lr&&lr.escapedText==="new"}e.isJSDocConstructSignature=Df;function Xu(c){return c.kind===348||c.kind===341||c.kind===342}e.isJSDocTypeAlias=Xu;function zc(c){return Xu(c)||e.isTypeAliasDeclaration(c)}e.isTypeAlias=zc;function Zu(c){return e.isExpressionStatement(c)&&e.isBinaryExpression(c.expression)&&c.expression.operatorToken.kind===63?ee(c.expression):void 0}function Hr(c){return e.isExpressionStatement(c)&&e.isBinaryExpression(c.expression)&&Ii(c.expression)!==0&&e.isBinaryExpression(c.expression.right)&&(c.expression.right.operatorToken.kind===56||c.expression.right.operatorToken.kind===60)?c.expression.right.right:void 0}function Gr(c){switch(c.kind){case 240:var re=Bn(c);return re&&re.initializer;case 169:return c.initializer;case 299:return c.initializer}}e.getSingleInitializerOfVariableStatementOrPropertyDeclaration=Gr;function Bn(c){return e.isVariableStatement(c)?e.firstOrUndefined(c.declarationList.declarations):void 0}e.getSingleVariableOfVariableStatement=Bn;function ui(c){return e.isModuleDeclaration(c)&&c.body&&c.body.kind===264?c.body:void 0}function hi(c,re){var lr;jn(c)&&e.hasInitializer(c)&&e.hasJSDocNodes(c.initializer)&&(lr=e.addRange(lr,Ei(c,e.last(c.initializer.jsDoc))));for(var Kr=c;Kr&&Kr.parent;){if(e.hasJSDocNodes(Kr)&&(lr=e.addRange(lr,Ei(c,e.last(Kr.jsDoc)))),Kr.kind===166){lr=e.addRange(lr,(re?e.getJSDocParameterTagsNoCache:e.getJSDocParameterTags)(Kr));break}if(Kr.kind===165){lr=e.addRange(lr,(re?e.getJSDocTypeParameterTagsNoCache:e.getJSDocTypeParameterTags)(Kr));break}Kr=Bi(Kr)}return lr||e.emptyArray}e.getJSDocCommentsAndTags=hi;function Ei(c,re){if(e.isJSDoc(re)){var lr=e.filter(re.tags,function(Kr){return st(c,Kr)});return re.tags===lr?[re]:lr}return st(c,re)?[re]:void 0}function st(c,re){return!e.isJSDocTypeTag(re)||!re.parent||!e.isJSDoc(re.parent)||!e.isParenthesizedExpression(re.parent.parent)||re.parent.parent===c}function Bi(c){var re=c.parent;if(re.kind===299||re.kind===274||re.kind===169||re.kind===241&&c.kind===208||re.kind===250||ui(re)||e.isBinaryExpression(c)&&c.operatorToken.kind===63)return re;if(re.parent&&(Bn(re.parent)===c||e.isBinaryExpression(re)&&re.operatorToken.kind===63))return re.parent;if(re.parent&&re.parent.parent&&(Bn(re.parent.parent)||Gr(re.parent.parent)===c||Hr(re.parent.parent)))return re.parent.parent}e.getNextJSDocCommentLocation=Bi;function Jt(c){if(c.symbol)return c.symbol;if(!!e.isIdentifier(c.name)){var re=c.name.escapedText,lr=Yt(c);if(!!lr){var Kr=e.find(lr.parameters,function(Gn){return Gn.name.kind===79&&Gn.name.escapedText===re});return Kr&&Kr.symbol}}}e.getParameterSymbolFromJSDoc=Jt;function Ca(c){if(e.isJSDoc(c.parent)&&c.parent.tags){var re=e.find(c.parent.tags,Xu);if(re)return re}return Yt(c)}e.getEffectiveContainerForJSDocTemplateTag=Ca;function Yt(c){var re=Wt(c);if(re)return e.isPropertySignature(re)&&re.type&&e.isFunctionLike(re.type)?re.type:e.isFunctionLike(re)?re:void 0}e.getHostSignatureFromJSDoc=Yt;function Wt(c){var re=Ga(c);if(re)return Hr(re)||Zu(re)||Gr(re)||Bn(re)||ui(re)||re}e.getEffectiveJSDocHost=Wt;function Ga(c){var re=$t(c);if(!!re){var lr=re.parent;if(lr&&lr.jsDoc&&re===e.lastOrUndefined(lr.jsDoc))return lr}}e.getJSDocHost=Ga;function $t(c){return e.findAncestor(c.parent,e.isJSDoc)}e.getJSDocRoot=$t;function po(c){var re=c.name.escapedText,lr=c.parent.parent.parent.typeParameters;return lr&&e.find(lr,function(Kr){return Kr.name.escapedText===re})}e.getTypeParameterFromJsDoc=po;function Do(c){return!!c.typeArguments}e.hasTypeArguments=Do;var Ns;(function(c){c[c.None=0]="None",c[c.Definite=1]="Definite",c[c.Compound=2]="Compound"})(Ns=e.AssignmentKind||(e.AssignmentKind={}));function jo(c){for(var re=c.parent;;){switch(re.kind){case 223:var lr=re.operatorToken.kind;return wl(lr)&&re.left===c?lr===63||Nf(lr)?1:2:0;case 221:case 222:var Kr=re.operator;return Kr===45||Kr===46?2:0;case 246:case 247:return re.initializer===c?1:0;case 214:case 206:case 227:case 232:c=re;break;case 301:c=re.parent;break;case 300:if(re.name!==c)return 0;c=re.parent;break;case 299:if(re.name===c)return 0;c=re.parent;break;default:return 0}re=c.parent}}e.getAssignmentTargetKind=jo;function ys(c){return jo(c)!==0}e.isAssignmentTarget=ys;function Vo(c){switch(c.kind){case 238:case 240:case 251:case 242:case 252:case 266:case 292:case 293:case 253:case 245:case 246:case 247:case 243:case 244:case 255:case 295:return!0}return!1}e.isNodeWithPossibleHoistedDeclaration=Vo;function fe(c){return e.isFunctionExpression(c)||e.isArrowFunction(c)||e.isMethodOrAccessor(c)||e.isFunctionDeclaration(c)||e.isConstructorDeclaration(c)}e.isValueSignatureDeclaration=fe;function sr(c,re){for(;c&&c.kind===re;)c=c.parent;return c}function Tr(c){return sr(c,193)}e.walkUpParenthesizedTypes=Tr;function Fn(c){return sr(c,214)}e.walkUpParenthesizedExpressions=Fn;function Si(c){for(var re;c&&c.kind===193;)re=c,c=c.parent;return[re,c]}e.walkUpParenthesizedTypesAndGetParentAndChild=Si;function gt(c){for(;e.isParenthesizedTypeNode(c);)c=c.type;return c}e.skipTypeParentheses=gt;function jt(c,re){var lr=re?1|16:1;return e.skipOuterExpressions(c,lr)}e.skipParentheses=jt;function fa(c){return c.kind!==208&&c.kind!==209?!1:(c=Fn(c.parent),c&&c.kind===217)}e.isDeleteTarget=fa;function Ka(c,re){for(;c;){if(c===re)return!0;c=c.parent}return!1}e.isNodeDescendantOf=Ka;function no(c){return!e.isSourceFile(c)&&!e.isBindingPattern(c)&&e.isDeclaration(c.parent)&&c.parent.name===c}e.isDeclarationName=no;function Eo(c){var re=c.parent;switch(c.kind){case 10:case 14:case 8:if(e.isComputedPropertyName(re))return re.parent;case 79:if(e.isDeclaration(re))return re.name===c?re:void 0;if(e.isQualifiedName(re)){var lr=re.parent;return e.isJSDocParameterTag(lr)&&lr.name===re?lr:void 0}else{var Kr=re.parent;return e.isBinaryExpression(Kr)&&Ii(Kr)!==0&&(Kr.left.symbol||Kr.symbol)&&e.getNameOfDeclaration(Kr)===c?Kr:void 0}case 80:return e.isDeclaration(re)&&re.name===c?re:void 0;default:return}}e.getDeclarationFromName=Eo;function Fa(c){return rf(c)&&c.parent.kind===164&&e.isDeclaration(c.parent.parent)}e.isLiteralComputedPropertyDeclarationName=Fa;function Qa(c){var re=c.parent;switch(re.kind){case 169:case 168:case 171:case 170:case 174:case 175:case 302:case 299:case 208:return re.name===c;case 163:return re.right===c;case 205:case 273:return re.propertyName===c;case 278:case 288:case 282:case 283:case 284:return!0}return!1}e.isIdentifierName=Qa;function zo(c){return c.kind===268||c.kind===267||c.kind===270&&!!c.name||c.kind===271||c.kind===277||c.kind===273||c.kind===278||c.kind===274&&xc(c)?!0:fi(c)&&(e.isBinaryExpression(c)&&Ii(c)===2&&xc(c)||e.isPropertyAccessExpression(c)&&e.isBinaryExpression(c.parent)&&c.parent.left===c&&c.parent.operatorToken.kind===63&&ms(c.parent.right))}e.isAliasSymbolDeclaration=zo;function Uo(c){switch(c.parent.kind){case 270:case 273:case 271:case 278:case 274:case 268:case 277:return c.parent;case 163:do c=c.parent;while(c.parent.kind===163);return Uo(c)}}e.getAliasDeclarationFromName=Uo;function ms(c){return pu(c)||e.isClassExpression(c)}e.isAliasableExpression=ms;function xc(c){var re=Os(c);return ms(re)}e.exportAssignmentIsAlias=xc;function Os(c){return e.isExportAssignment(c)?c.expression:c.right}e.getExportAssignmentExpression=Os;function Cl(c){return c.kind===300?c.name:c.kind===299?c.initializer:c.parent.right}e.getPropertyAssignmentAliasLikeExpression=Cl;function m_(c){var re=pl(c);if(re&&fi(c)){var lr=e.getJSDocAugmentsTag(c);if(lr)return lr.class}return re}e.getEffectiveBaseTypeNode=m_;function pl(c){var re=xu(c.heritageClauses,94);return re&&re.types.length>0?re.types[0]:void 0}e.getClassExtendsHeritageElement=pl;function Zl(c){if(fi(c))return e.getJSDocImplementsTags(c).map(function(lr){return lr.class});var re=xu(c.heritageClauses,117);return re==null?void 0:re.types}e.getEffectiveImplementsTypeNodes=Zl;function Zr(c){return e.isInterfaceDeclaration(c)?Yl(c)||e.emptyArray:e.isClassLike(c)&&e.concatenate(e.singleElementArray(m_(c)),Zl(c))||e.emptyArray}e.getAllSuperTypeNodes=Zr;function Yl(c){var re=xu(c.heritageClauses,94);return re?re.types:void 0}e.getInterfaceBaseTypeNodes=Yl;function xu(c,re){if(c)for(var lr=0,Kr=c;lr=0)return ta[Po]}}function Gi(ha){var ta;ha.file?(ta=lr.get(ha.file.fileName),ta||(ta=[],lr.set(ha.file.fileName,ta),e.insertSorted(re,ha.file.fileName,e.compareStringsCaseSensitive))):(Kr&&(Kr=!1,c=c.slice()),ta=c),e.insertSorted(ta,ha,_d)}function it(){return Kr=!0,c}function ct(ha){if(ha)return lr.get(ha)||[];var ta=e.flatMapToMutable(re,function(Po){return lr.get(Po)});return c.length&&ta.unshift.apply(ta,c),ta}}e.createDiagnosticCollection=Al;var h_=/\$\{/g;function Id(c){return c.replace(h_,"\\${")}function yp(c){return c&&!!(e.isNoSubstitutionTemplateLiteral(c)?c.templateFlags:c.head.templateFlags||e.some(c.templateSpans,function(re){return!!re.literal.templateFlags}))}e.hasInvalidEscape=yp;var wd=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,D_=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,Mu=/\r\n|[\\\`\u0000-\u001f\t\v\f\b\r\u2028\u2029\u0085]/g,nf=new e.Map(e.getEntries({" ":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","\x85":"\\u0085","\r\n":"\\r\\n"}));function K_(c){var re=c.toString(16).toUpperCase(),lr=("0000"+re).slice(-4);return"\\u"+lr}function b_(c,re,lr){if(c.charCodeAt(0)===0){var Kr=lr.charCodeAt(re+c.length);return Kr>=48&&Kr<=57?"\\x00":"\\0"}return nf.get(c)||K_(c.charCodeAt(0))}function S_(c,re){var lr=re===96?Mu:re===39?D_:wd;return c.replace(lr,b_)}e.escapeString=S_;var xf=/[^\u0000-\u007F]/g;function qf(c,re){return c=S_(c,re),xf.test(c)?c.replace(xf,function(lr){return K_(lr.charCodeAt(0))}):c}e.escapeNonAsciiString=qf;var tf=/[\"\u0000-\u001f\u2028\u2029\u0085]/g,Q_=/[\'\u0000-\u001f\u2028\u2029\u0085]/g,af=new e.Map(e.getEntries({'"':""","'":"'"}));function Tc(c){var re=c.toString(16).toUpperCase();return"&#x"+re+";"}function $u(c){return c.charCodeAt(0)===0?"�":af.get(c)||Tc(c.charCodeAt(0))}function of(c,re){var lr=re===39?Q_:tf;return c.replace(lr,$u)}e.escapeJsxAttributeString=of;function X_(c){var re=c.length;return re>=2&&c.charCodeAt(0)===c.charCodeAt(re-1)&&x_(c.charCodeAt(0))?c.substring(1,re-1):c}e.stripQuotes=X_;function x_(c){return c===39||c===34||c===96}function Tu(c){var re=c.charCodeAt(0);return re>=97&&re<=122||e.stringContains(c,"-")||e.stringContains(c,":")}e.isIntrinsicJsxName=Tu;var Cf=[""," "];function el(c){for(var re=Cf[1],lr=Cf.length;lr<=c;lr++)Cf.push(Cf[lr-1]+re);return Cf[c]}e.getIndentString=el;function Lu(){return Cf[1].length}e.getIndentSize=Lu;function Ru(){return e.stringContains(e.version,"-dev")||e.stringContains(e.version,"-insiders")}e.isNightly=Ru;function Bu(c){var re,lr,Kr,Gn,Gi,it=!1;function ct(vs){var hl=e.computeLineStarts(vs);hl.length>1?(Gn=Gn+hl.length-1,Gi=re.length-vs.length+e.last(hl),Kr=Gi-re.length==0):Kr=!1}function ha(vs){vs&&vs.length&&(Kr&&(vs=el(lr)+vs,Kr=!1),re+=vs,ct(vs))}function ta(vs){vs&&(it=!1),ha(vs)}function Po(vs){vs&&(it=!0),ha(vs)}function es(){re="",lr=0,Kr=!0,Gn=0,Gi=0,it=!1}function nc(vs){vs!==void 0&&(re+=vs,ct(vs),it=!1)}function Zt(vs){vs&&vs.length&&ta(vs)}function Ts(vs){(!Kr||vs)&&(re+=c,Gn++,Gi=re.length,Kr=!0,it=!1)}function _a(){return Kr?re.length:re.length+c.length}return es(),{write:ta,rawWrite:nc,writeLiteral:Zt,writeLine:Ts,increaseIndent:function(){lr++},decreaseIndent:function(){lr--},getIndent:function(){return lr},getTextPos:function(){return re.length},getLine:function(){return Gn},getColumn:function(){return Kr?lr*Lu():re.length-Gi},getText:function(){return re},isAtStartOfLine:function(){return Kr},hasTrailingComment:function(){return it},hasTrailingWhitespace:function(){return!!re.length&&e.isWhiteSpaceLike(re.charCodeAt(re.length-1))},clear:es,reportInaccessibleThisError:e.noop,reportPrivateInBaseOfClassExpression:e.noop,reportInaccessibleUniqueSymbolError:e.noop,trackSymbol:function(){return!1},writeKeyword:ta,writeOperator:ta,writeParameter:ta,writeProperty:ta,writePunctuation:ta,writeSpace:ta,writeStringLiteral:ta,writeSymbol:function(vs,hl){return ta(vs)},writeTrailingSemicolon:ta,writeComment:Po,getTextPosWithWriteLine:_a}}e.createTextWriter=Bu;function Eu(c){var re=!1;function lr(){re&&(c.writeTrailingSemicolon(";"),re=!1)}return vi(vi({},c),{writeTrailingSemicolon:function(){re=!0},writeLiteral:function(Kr){lr(),c.writeLiteral(Kr)},writeStringLiteral:function(Kr){lr(),c.writeStringLiteral(Kr)},writeSymbol:function(Kr,Gn){lr(),c.writeSymbol(Kr,Gn)},writePunctuation:function(Kr){lr(),c.writePunctuation(Kr)},writeKeyword:function(Kr){lr(),c.writeKeyword(Kr)},writeOperator:function(Kr){lr(),c.writeOperator(Kr)},writeParameter:function(Kr){lr(),c.writeParameter(Kr)},writeSpace:function(Kr){lr(),c.writeSpace(Kr)},writeProperty:function(Kr){lr(),c.writeProperty(Kr)},writeComment:function(Kr){lr(),c.writeComment(Kr)},writeLine:function(){lr(),c.writeLine()},increaseIndent:function(){lr(),c.increaseIndent()},decreaseIndent:function(){lr(),c.decreaseIndent()}})}e.getTrailingSemicolonDeferringWriter=Eu;function hp(c){return c.useCaseSensitiveFileNames?c.useCaseSensitiveFileNames():!1}e.hostUsesCaseSensitiveFileNames=hp;function Z_(c){return e.createGetCanonicalFileName(hp(c))}e.hostGetCanonicalFileName=Z_;function Od(c,re,lr){return re.moduleName||sf(c,re.fileName,lr&&lr.fileName)}e.getResolvedExternalModuleName=Od;function Y_(c,re){return c.getCanonicalFileName(e.getNormalizedAbsolutePath(re,c.getCurrentDirectory()))}function Fo(c,re,lr){var Kr=re.getExternalModuleFileFromDeclaration(lr);if(!(!Kr||Kr.isDeclarationFile)){var Gn=Gs(lr);if(!(Gn&&e.isStringLiteralLike(Gn)&&!e.pathIsRelative(Gn.text)&&Y_(c,Kr.path).indexOf(Y_(c,e.ensureTrailingDirectorySeparator(c.getCommonSourceDirectory())))===-1))return Od(c,Kr)}}e.getExternalModuleNameFromDeclaration=Fo;function sf(c,re,lr){var Kr=function(ha){return c.getCanonicalFileName(ha)},Gn=e.toPath(lr?e.getDirectoryPath(lr):c.getCommonSourceDirectory(),c.getCurrentDirectory(),Kr),Gi=e.getNormalizedAbsolutePath(re,c.getCurrentDirectory()),it=e.getRelativePathToDirectoryOrUrl(Gn,Gi,Gn,Kr,!1),ct=Wd(it);return lr?e.ensurePathIsNonModuleName(ct):ct}e.getExternalModuleNameFromPath=sf;function Fd(c,re,lr){var Kr=re.getCompilerOptions(),Gn;return Kr.outDir?Gn=Wd(Hs(c,re,Kr.outDir)):Gn=Wd(c),Gn+lr}e.getOwnEmitOutputFilePath=Fd;function C_(c,re){return Gf(c,re.getCompilerOptions(),re.getCurrentDirectory(),re.getCommonSourceDirectory(),function(lr){return re.getCanonicalFileName(lr)})}e.getDeclarationEmitOutputFilePath=C_;function Gf(c,re,lr,Kr,Gn){var Gi=re.declarationDir||re.outDir,it=Gi?$_(c,Gi,lr,Kr,Gn):c,ct=Tf(it);return Wd(it)+ct}e.getDeclarationEmitOutputFilePathWorker=Gf;function Tf(c){return e.fileExtensionIsOneOf(c,[".mjs",".mts"])?".d.mts":e.fileExtensionIsOneOf(c,[".cjs",".cts"])?".d.cts":e.fileExtensionIsOneOf(c,[".json"])?".json.d.ts":".d.ts"}e.getDeclarationEmitExtensionForPath=Tf;function Md(c){return e.fileExtensionIsOneOf(c,[".d.mts",".mjs",".mts"])?[".mts",".mjs"]:e.fileExtensionIsOneOf(c,[".d.cts",".cjs",".cts"])?[".cts",".cjs"]:e.fileExtensionIsOneOf(c,[".json.d.ts"])?[".json"]:[".tsx",".ts",".jsx",".js"]}e.getPossibleOriginalInputExtensionForExtension=Md;function ss(c){return c.outFile||c.out}e.outFile=ss;function wi(c,re){var lr,Kr;if(!!c.paths)return(lr=c.baseUrl)!==null&&lr!==void 0?lr:e.Debug.checkDefined(c.pathsBasePath||((Kr=re.getCurrentDirectory)===null||Kr===void 0?void 0:Kr.call(re)),"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.")}e.getPathsBasePath=wi;function Fs(c,re,lr){var Kr=c.getCompilerOptions();if(ss(Kr)){var Gn=cc(Kr),Gi=Kr.emitDeclarationOnly||Gn===e.ModuleKind.AMD||Gn===e.ModuleKind.System;return e.filter(c.getSourceFiles(),function(ct){return(Gi||!e.isExternalModule(ct))&&Kt(ct,c,lr)})}else{var it=re===void 0?c.getSourceFiles():[re];return e.filter(it,function(ct){return Kt(ct,c,lr)})}}e.getSourceFilesToEmit=Fs;function Kt(c,re,lr){var Kr=re.getCompilerOptions();return!(Kr.noEmitForJsFiles&&_i(c))&&!c.isDeclarationFile&&!re.isSourceFileFromExternalLibrary(c)&&(lr||!(ue(c)&&re.getResolvedProjectReferenceToRedirect(c.fileName))&&!re.isSourceOfProjectReferenceRedirect(c.fileName))}e.sourceFileMayBeEmitted=Kt;function Hs(c,re,lr){return $_(c,lr,re.getCurrentDirectory(),re.getCommonSourceDirectory(),function(Kr){return re.getCanonicalFileName(Kr)})}e.getSourceFilePathInNewDir=Hs;function $_(c,re,lr,Kr,Gn){var Gi=e.getNormalizedAbsolutePath(c,lr),it=Gn(Gi).indexOf(Gn(Kr))===0;return Gi=it?Gi.substring(Kr.length):Gi,e.combinePaths(re,Gi)}e.getSourceFilePathInNewDirWorker=$_;function Ec(c,re,lr,Kr,Gn,Gi,it){c.writeFile(lr,Kr,Gn,function(ct){re.add(Li(e.Diagnostics.Could_not_write_file_0_Colon_1,lr,ct))},Gi,it)}e.writeFile=Ec;function ji(c,re,lr){if(c.length>e.getRootLength(c)&&!lr(c)){var Kr=e.getDirectoryPath(c);ji(Kr,re,lr),re(c)}}function su(c,re,lr,Kr,Gn,Gi){try{Kr(c,re,lr)}catch(it){ji(e.getDirectoryPath(e.normalizePath(c)),Gn,Gi),Kr(c,re,lr)}}e.writeFileEnsuringDirectories=su;function cu(c,re){var lr=e.getLineStarts(c);return e.computeLineOfPosition(lr,re)}e.getLineOfLocalPosition=cu;function Wo(c,re){return e.computeLineOfPosition(c,re)}e.getLineOfLocalPositionFromLineMap=Wo;function kc(c){return e.find(c.members,function(re){return e.isConstructorDeclaration(re)&&G(re.body)})}e.getFirstConstructorWithBody=kc;function Vc(c){if(c&&c.parameters.length>0){var re=c.parameters.length===2&&gl(c.parameters[0]);return c.parameters[re?1:0]}}e.getSetAccessorValueParameter=Vc;function ed(c){var re=Vc(c);return re&&re.type}e.getSetAccessorTypeAnnotationNode=ed;function ts(c){if(c.parameters.length&&!e.isJSDocSignature(c)){var re=c.parameters[0];if(gl(re))return re}}e.getThisParameter=ts;function gl(c){return Ef(c.name)}e.parameterIsThisKeyword=gl;function Ef(c){return!!c&&c.kind===79&&rl(c)}e.isThisIdentifier=Ef;function T_(c){if(!Ef(c))return!1;for(;e.isQualifiedName(c.parent)&&c.parent.left===c;)c=c.parent;return c.parent.kind===183}e.isThisInTypeQuery=T_;function rl(c){return c.originalKeywordKind===108}e.identifierIsThisKeyword=rl;function Ms(c,re){var lr,Kr,Gn,Gi;return V_(re)?(lr=re,re.kind===174?Gn=re:re.kind===175?Gi=re:e.Debug.fail("Accessor has wrong kind")):e.forEach(c,function(it){if(e.isAccessor(it)&&ff(it)===ff(re)){var ct=Qt(it.name),ha=Qt(re.name);ct===ha&&(lr?Kr||(Kr=it):lr=it,it.kind===174&&!Gn&&(Gn=it),it.kind===175&&!Gi&&(Gi=it))}}),{firstAccessor:lr,secondAccessor:Kr,getAccessor:Gn,setAccessor:Gi}}e.getAllAccessorDeclarations=Ms;function ml(c){if(!(!fi(c)&&e.isFunctionDeclaration(c))){var re=c.type;return re||!fi(c)?re:e.isJSDocPropertyLikeTag(c)?c.typeExpression&&c.typeExpression.type:e.getJSDocType(c)}}e.getEffectiveTypeAnnotationNode=ml;function Hf(c){return c.type}e.getTypeAnnotationNode=Hf;function Kf(c){return e.isJSDocSignature(c)?c.type&&c.type.typeExpression&&c.type.typeExpression.type:c.type||(fi(c)?e.getJSDocReturnType(c):void 0)}e.getEffectiveReturnTypeNode=Kf;function Nl(c){return e.flatMap(e.getJSDocTags(c),function(re){return Dp(re)?re.typeParameters:void 0})}e.getJSDocTypeParameterDeclarations=Nl;function Dp(c){return e.isJSDocTemplateTag(c)&&!(c.parent.kind===323&&c.parent.tags.some(Xu))}function Us(c){var re=Vc(c);return re&&ml(re)}e.getEffectiveSetAccessorTypeAnnotationNode=Us;function cf(c,re,lr,Kr){eu(c,re,lr.pos,Kr)}e.emitNewLineBeforeLeadingComments=cf;function eu(c,re,lr,Kr){Kr&&Kr.length&&lr!==Kr[0].pos&&Wo(c,lr)!==Wo(c,Kr[0].pos)&&re.writeLine()}e.emitNewLineBeforeLeadingCommentsOfPosition=eu;function Ld(c,re,lr,Kr){lr!==Kr&&Wo(c,lr)!==Wo(c,Kr)&&re.writeLine()}e.emitNewLineBeforeLeadingCommentOfPosition=Ld;function uf(c,re,lr,Kr,Gn,Gi,it,ct){if(Kr&&Kr.length>0){Gn&&lr.writeSpace(" ");for(var ha=!1,ta=0,Po=Kr;ta=Ts+2)break}ta.push(Zt),Po=Zt}if(ta.length){var Ts=Wo(re,e.last(ta).end),vs=Wo(re,e.skipTrivia(c,Gn.pos));vs>=Ts+2&&(cf(re,lr,Gn,ct),uf(c,re,lr,ta,!1,!0,Gi,Kr),ha={nodePos:Gn.pos,detachedCommentEndPos:e.last(ta).end})}}return ha;function hl(jl){return w(c,jl.pos)}}e.emitDetachedComments=lf;function rd(c,re,lr,Kr,Gn,Gi){if(c.charCodeAt(Kr+1)===42)for(var it=e.computeLineAndCharacterOfPosition(re,Kr),ct=re.length,ha=void 0,ta=Kr,Po=it.line;ta0){var Ts=Zt%Lu(),_a=el((Zt-Ts)/Lu());for(lr.rawWrite(_a);Ts;)lr.rawWrite(" "),Ts--}else lr.rawWrite("")}Pl(c,Gn,lr,Gi,ta,es),ta=es}else lr.writeComment(c.substring(Kr,Gn))}e.writeCommentRange=rd;function Pl(c,re,lr,Kr,Gn,Gi){var it=Math.min(re,Gi-1),ct=e.trimString(c.substring(Gn,it));ct?(lr.writeComment(ct),it!==re&&lr.writeLine()):lr.rawWrite(Kr)}function nl(c,re,lr){for(var Kr=0;re=0&&c.kind<=162?0:(c.modifierFlagsCache&536870912||(c.modifierFlagsCache=ko(c)|536870912),re&&!(c.modifierFlagsCache&4096)&&(lr||fi(c))&&c.parent&&(c.modifierFlagsCache|=qc(c)|4096),c.modifierFlagsCache&~(536870912|4096))}function il(c){return ku(c,!0)}e.getEffectiveModifierFlags=il;function Il(c){return ku(c,!0,!0)}e.getEffectiveModifierFlagsAlwaysIncludeJSDoc=Il;function kf(c){return ku(c,!1)}e.getSyntacticModifierFlags=kf;function qc(c){var re=0;return!!c.parent&&!e.isParameter(c)&&(fi(c)&&(e.getJSDocPublicTagNoCache(c)&&(re|=4),e.getJSDocPrivateTagNoCache(c)&&(re|=8),e.getJSDocProtectedTagNoCache(c)&&(re|=16),e.getJSDocReadonlyTagNoCache(c)&&(re|=64),e.getJSDocOverrideTagNoCache(c)&&(re|=16384)),e.getJSDocDeprecatedTagNoCache(c)&&(re|=8192)),re}function bp(c){return ko(c)|qc(c)}e.getEffectiveModifierFlagsNoCache=bp;function ko(c){var re=e.canHaveModifiers(c)?Gc(c.modifiers):0;return(c.flags&4||c.kind===79&&c.isInJSDocNamespace)&&(re|=1),re}e.getSyntacticModifierFlagsNoCache=ko;function Gc(c){var re=0;if(c)for(var lr=0,Kr=c;lr=63&&c<=78}e.isAssignmentOperator=wl;function Sp(c){var re=Hc(c);return re&&!re.isImplements?re.class:void 0}e.tryGetClassExtendingExpressionWithTypeArguments=Sp;function Hc(c){return e.isExpressionWithTypeArguments(c)&&e.isHeritageClause(c.parent)&&e.isClassLike(c.parent.parent)?{class:c.parent.parent,isImplements:c.parent.token===117}:void 0}e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments=Hc;function Yo(c,re){return e.isBinaryExpression(c)&&(re?c.operatorToken.kind===63:wl(c.operatorToken.kind))&&e.isLeftHandSideExpression(c.left)}e.isAssignmentExpression=Yo;function Rd(c){return Yo(c.parent)&&c.parent.left===c}e.isLeftHandSideOfAssignment=Rd;function Yf(c){if(Yo(c,!0)){var re=c.left.kind;return re===207||re===206}return!1}e.isDestructuringAssignment=Yf;function lu(c){return Sp(c)!==void 0}e.isExpressionWithTypeArgumentsInClassExtendsClause=lu;function pu(c){return c.kind===79||Pf(c)}e.isEntityNameExpression=pu;function k_(c){switch(c.kind){case 79:return c;case 163:do c=c.left;while(c.kind!==79);return c;case 208:do c=c.expression;while(c.kind!==79);return c}}e.getFirstIdentifier=k_;function id(c){return c.kind===79||c.kind===108||c.kind===106||c.kind===233||c.kind===208&&id(c.expression)||c.kind===214&&id(c.expression)}e.isDottedName=id;function Pf(c){return e.isPropertyAccessExpression(c)&&e.isIdentifier(c.name)&&pu(c.expression)}e.isPropertyAccessEntityNameExpression=Pf;function Ol(c){if(e.isPropertyAccessExpression(c)){var re=Ol(c.expression);if(re!==void 0)return re+"."+Lr(c.name)}else if(e.isElementAccessExpression(c)){var re=Ol(c.expression);if(re!==void 0&&e.isPropertyName(c.argumentExpression))return re+"."+Qt(c.argumentExpression)}else if(e.isIdentifier(c))return e.unescapeLeadingUnderscores(c.escapedText)}e.tryGetPropertyAccessOrIdentifierToString=Ol;function Au(c){return Ht(c)&&xa(c)==="prototype"}e.isPrototypeAccess=Au;function xp(c){return c.parent.kind===163&&c.parent.right===c||c.parent.kind===208&&c.parent.name===c}e.isRightSideOfQualifiedNameOrPropertyAccess=xp;function Fl(c){return e.isPropertyAccessExpression(c.parent)&&c.parent.name===c||e.isElementAccessExpression(c.parent)&&c.parent.argumentExpression===c}e.isRightSideOfAccessExpression=Fl;function tl(c){return e.isQualifiedName(c.parent)&&c.parent.right===c||e.isPropertyAccessExpression(c.parent)&&c.parent.name===c||e.isJSDocMemberName(c.parent)&&c.parent.right===c}e.isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName=tl;function $f(c){return c.kind===207&&c.properties.length===0}e.isEmptyObjectLiteral=$f;function Cp(c){return c.kind===206&&c.elements.length===0}e.isEmptyArrayLiteral=Cp;function gu(c){if(!(!td(c)||!c.declarations))for(var re=0,lr=c.declarations;re0&&Ls(c.declarations[0],1024)}function qp(c){return e.find(V0,function(re){return e.fileExtensionIs(c,re)})}e.tryExtractTSExtension=qp;function Xt(c){for(var re=[],lr=c.length,Kr=0;Kr>6|192),re.push(Gn&63|128)):Gn<65536?(re.push(Gn>>12|224),re.push(Gn>>6&63|128),re.push(Gn&63|128)):Gn<131072?(re.push(Gn>>18|240),re.push(Gn>>12&63|128),re.push(Gn>>6&63|128),re.push(Gn&63|128)):e.Debug.assert(!1,"Unexpected code point")}return re}var ru="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function Oi(c){for(var re="",lr=Xt(c),Kr=0,Gn=lr.length,Gi,it,ct,ha;Kr>2,it=(lr[Kr]&3)<<4|lr[Kr+1]>>4,ct=(lr[Kr+1]&15)<<2|lr[Kr+2]>>6,ha=lr[Kr+2]&63,Kr+1>=Gn?ct=ha=64:Kr+2>=Gn&&(ha=64),re+=ru.charAt(Gi)+ru.charAt(it)+ru.charAt(ct)+ru.charAt(ha),Kr+=3;return re}e.convertToBase64=Oi;function Ml(c){for(var re="",lr=0,Kr=c.length;lr>4&3,Po=(it&15)<<4|ct>>2&15,es=(ct&3)<<6|ha&63;Po===0&&ct!==0?Kr.push(ta):es===0&&ha!==0?Kr.push(ta,Po):Kr.push(ta,Po,es),Gn+=4}return Ml(Kr)}e.base64decode=al;function Ju(c,re){var lr=e.isString(re)?re:re.readFile(c);if(!!lr){var Kr=e.parseConfigFileTextToJson(c,lr);return Kr.error?void 0:Kr.config}}e.readJsonOrUndefined=Ju;function od(c,re){return Ju(c,re)||{}}e.readJson=od;function Bd(c,re){return!re.directoryExists||re.directoryExists(c)}e.directoryProbablyExists=Bd;var yc=`\r `,A_=` `;function e_(c,re){switch(c.newLine){case 0:return yc;case 1:return A_}return re?re():e.sys?e.sys.newLine:yc}e.getNewLineCharacter=e_;function N_(c,re){return re===void 0&&(re=c),e.Debug.assert(re>=c||re===-1),{pos:c,end:re}}e.createRange=N_;function Tp(c,re){return N_(c.pos,re)}e.moveRangeEnd=Tp;function r_(c,re){return N_(re,c.end)}e.moveRangePos=r_;function v(c){var re=e.canHaveModifiers(c)?e.findLast(c.modifiers,e.isDecorator):void 0;return re&&!Tg(re.end)?r_(c,re.end):c}e.moveRangePastDecorators=v;function Ze(c){var re=e.canHaveModifiers(c)?e.lastOrUndefined(c.modifiers):void 0;return re&&!Tg(re.end)?r_(c,re.end):v(c)}e.moveRangePastModifiers=Ze;function _n(c){return c.pos===c.end}e.isCollapsedRange=_n;function Zn(c,re){return N_(c,c+e.tokenToString(re).length)}e.createTokenRange=Zn;function $i(c,re){return wt(c,c,re)}e.rangeIsOnSingleLine=$i;function kt(c,re,lr){return Ba(ca(c,lr,!1),ca(re,lr,!1),lr)}e.rangeStartPositionsAreOnSameLine=kt;function Mt(c,re,lr){return Ba(c.end,re.end,lr)}e.rangeEndPositionsAreOnSameLine=Mt;function wt(c,re,lr){return Ba(ca(c,lr,!1),re.end,lr)}e.rangeStartIsOnSameLineAsRangeEnd=wt;function Wa(c,re,lr){return Ba(c.end,ca(re,lr,!1),lr)}e.rangeEndIsOnSameLineAsRangeStart=Wa;function Lo(c,re,lr,Kr){var Gn=ca(re,lr,Kr);return e.getLinesBetweenPositions(lr,c.end,Gn)}e.getLinesBetweenRangeEndAndRangeStart=Lo;function Na(c,re,lr){return e.getLinesBetweenPositions(lr,c.end,re.end)}e.getLinesBetweenRangeEndPositions=Na;function Pc(c,re){return!Ba(c.pos,c.end,re)}e.isNodeArrayMultiLine=Pc;function Ba(c,re,lr){return e.getLinesBetweenPositions(lr,c,re)===0}e.positionsAreOnSameLine=Ba;function ca(c,re,lr){return Tg(c.pos)?-1:e.skipTrivia(re.text,c.pos,!1,lr)}e.getStartPositionOfRange=ca;function Bc(c,re,lr,Kr){var Gn=e.skipTrivia(lr.text,c,!1,Kr),Gi=If(Gn,re,lr);return e.getLinesBetweenPositions(lr,Gi!=null?Gi:re,Gn)}e.getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter=Bc;function mu(c,re,lr,Kr){var Gn=e.skipTrivia(lr.text,c,!1,Kr);return e.getLinesBetweenPositions(lr,c,Math.min(re,Gn))}e.getLinesBetweenPositionAndNextNonWhitespaceCharacter=mu;function If(c,re,lr){for(re===void 0&&(re=0);c-- >re;)if(!e.isWhiteSpaceLike(lr.text.charCodeAt(c)))return c}function Nu(c){var re=e.getParseTreeNode(c);if(re)switch(re.parent.kind){case 263:case 264:return re===re.parent.name}return!1}e.isDeclarationNameOfEnumOrNamespace=Nu;function P_(c){return e.filter(c.declarations,Jd)}e.getInitializedVariables=P_;function Jd(c){return c.initializer!==void 0}function jd(c){return c.watch&&e.hasProperty(c,"watch")}e.isWatchSet=jd;function Ll(c){c.close()}e.closeFileWatcher=Ll;function sd(c){return c.flags&33554432?c.checkFlags:0}e.getCheckFlags=sd;function Ep(c,re){if(re===void 0&&(re=!1),c.valueDeclaration){var lr=re&&c.declarations&&e.find(c.declarations,e.isSetAccessorDeclaration)||c.flags&32768&&e.find(c.declarations,e.isGetAccessorDeclaration)||c.valueDeclaration,Kr=e.getCombinedModifierFlags(lr);return c.parent&&c.parent.flags&32?Kr:Kr&~28}if(sd(c)&6){var Gn=c.checkFlags,Gi=Gn&1024?8:Gn&256?4:16,it=Gn&2048?32:0;return Gi|it}return c.flags&4194304?4|32:0}e.getDeclarationModifierFlagsFromSymbol=Ep;function Gp(c,re){return c.flags&2097152?re.getAliasedSymbol(c):c}e.skipAlias=Gp;function cd(c){return c.exportSymbol?c.exportSymbol.flags|c.flags:c.flags}e.getCombinedLocalAndExportSymbolFlags=cd;function $g(c){return yl(c)===1}e.isWriteOnlyAccess=$g;function ud(c){return yl(c)!==0}e.isWriteAccess=ud;var fu;(function(c){c[c.Read=0]="Read",c[c.Write=1]="Write",c[c.ReadWrite=2]="ReadWrite"})(fu||(fu={}));function yl(c){var re=c.parent;if(!re)return 0;switch(re.kind){case 214:return yl(re);case 222:case 221:var lr=re.operator;return lr===45||lr===46?ct():0;case 223:var Kr=re,Gn=Kr.left,Gi=Kr.operatorToken;return Gn===c&&wl(Gi.kind)?Gi.kind===63?1:ct():0;case 208:return re.name!==c?0:yl(re);case 299:{var it=yl(re.parent);return c===re.name?pg(it):it}case 300:return c===re.objectAssignmentInitializer?0:yl(re.parent);case 206:return yl(re);default:return 0}function ct(){return re.parent&&Fn(re.parent).kind===241?1:2}}function pg(c){switch(c){case 0:return 1;case 1:return 0;case 2:return 2;default:return e.Debug.assertNever(c)}}function n_(c,re){if(!c||!re||Object.keys(c).length!==Object.keys(re).length)return!1;for(var lr in c)if(typeof c[lr]=="object"){if(!n_(c[lr],re[lr]))return!1}else if(typeof c[lr]!="function"&&c[lr]!==re[lr])return!1;return!0}e.compareDataObjects=n_;function kp(c,re){c.forEach(re),c.clear()}e.clearMap=kp;function gg(c,re,lr){var Kr=lr.onDeleteValue,Gn=lr.onExistingValue;c.forEach(function(Gi,it){var ct=re.get(it);ct===void 0?(c.delete(it),Kr(Gi,it)):Gn&&Gn(Gi,ct,it)})}e.mutateMapSkippingNewValues=gg;function em(c,re,lr){gg(c,re,lr);var Kr=lr.createNewValue;re.forEach(function(Gn,Gi){c.has(Gi)||c.set(Gi,Kr(Gi,Gn))})}e.mutateMap=em;function Hp(c){if(c.flags&32){var re=ld(c);return!!re&&Ls(re,256)}return!1}e.isAbstractConstructorSymbol=Hp;function ld(c){var re;return(re=c.declarations)===null||re===void 0?void 0:re.find(e.isClassLike)}e.getClassLikeDeclarationOfSymbol=ld;function fd(c){return c.flags&3899393?c.objectFlags:0}e.getObjectFlags=fd;function Kp(c,re){return re.getSignaturesOfType(c,0).length!==0||re.getSignaturesOfType(c,1).length!==0}e.typeHasCallOrConstructSignatures=Kp;function Fe(c,re){return!!e.forEachAncestorDirectory(c,function(lr){return re(lr)?!0:void 0})}e.forSomeAncestorDirectory=Fe;function gr(c){return!!c&&!!c.declarations&&!!c.declarations[0]&&e.isNamespaceExportDeclaration(c.declarations[0])}e.isUMDExportSymbol=gr;function Yr(c){var re=c.moduleSpecifier;return e.isStringLiteral(re)?re.text:Le(re)}e.showModuleSpecifier=Yr;function mn(c){var re;return e.forEachChild(c,function(lr){G(lr)&&(re=lr)},function(lr){for(var Kr=lr.length-1;Kr>=0;Kr--)if(G(lr[Kr])){re=lr[Kr];break}}),re}e.getLastChild=mn;function Un(c,re,lr){return lr===void 0&&(lr=!0),c.has(re)?!1:(c.set(re,lr),!0)}e.addToSeen=Un;function ci(c){return e.isClassLike(c)||e.isInterfaceDeclaration(c)||e.isTypeLiteralNode(c)}e.isObjectTypeDeclaration=ci;function tt(c){return c>=179&&c<=202||c===131||c===157||c===148||c===160||c===149||c===134||c===152||c===153||c===114||c===155||c===144||c===230||c===315||c===316||c===317||c===318||c===319||c===320||c===321}e.isTypeNodeKind=tt;function mt(c){return c.kind===208||c.kind===209}e.isAccessExpression=mt;function bt(c){return c.kind===208?c.name:(e.Debug.assert(c.kind===209),c.argumentExpression)}e.getNameOfAccessExpression=bt;function Lt(c){switch(c.kind){case"text":case"internal":return!0;default:return!1}}e.isBundleFileTextLike=Lt;function Oa(c){return c.kind===272||c.kind===276}e.isNamedImportsOrExports=Oa;function bo(c){for(;mt(c);)c=c.expression;return c}e.getLeftmostAccessExpression=bo;function mo(c,re){if(mt(c.parent)&&Fl(c))return lr(c.parent);function lr(Kr){if(Kr.kind===208){var Gn=re(Kr.name);if(Gn!==void 0)return Gn}else if(Kr.kind===209)if(e.isIdentifier(Kr.argumentExpression)||e.isStringLiteralLike(Kr.argumentExpression)){var Gn=re(Kr.argumentExpression);if(Gn!==void 0)return Gn}else return;if(mt(Kr.expression))return lr(Kr.expression);if(e.isIdentifier(Kr.expression))return re(Kr.expression)}}e.forEachNameInAccessChainWalkingLeft=mo;function wo(c,re){for(;;){switch(c.kind){case 222:c=c.operand;continue;case 223:c=c.left;continue;case 224:c=c.condition;continue;case 212:c=c.tag;continue;case 210:if(re)return c;case 231:case 209:case 208:case 232:case 353:case 235:c=c.expression;continue}return c}}e.getLeftmostExpression=wo;function Cs(c,re){this.flags=c,this.escapedName=re,this.declarations=void 0,this.valueDeclaration=void 0,this.id=void 0,this.mergeId=void 0,this.parent=void 0}function hc(c,re){this.flags=re,(e.Debug.isDebugging||e.tracing)&&(this.checker=c)}function $o(c,re){this.flags=re,e.Debug.isDebugging&&(this.checker=c)}function vu(c,re,lr){this.pos=re,this.end=lr,this.kind=c,this.id=0,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.original=void 0}function Kc(c,re,lr){this.pos=re,this.end=lr,this.kind=c,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0}function Ks(c,re,lr){this.pos=re,this.end=lr,this.kind=c,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.flowNode=void 0}function Ic(c,re,lr){this.fileName=c,this.text=re,this.skipTrivia=lr||function(Kr){return Kr}}e.objectAllocator={getNodeConstructor:function(){return vu},getTokenConstructor:function(){return Kc},getIdentifierConstructor:function(){return Ks},getPrivateIdentifierConstructor:function(){return vu},getSourceFileConstructor:function(){return vu},getSymbolConstructor:function(){return Cs},getTypeConstructor:function(){return hc},getSignatureConstructor:function(){return $o},getSourceMapSourceConstructor:function(){return Ic}};function ol(c){Object.assign(e.objectAllocator,c)}e.setObjectAllocator=ol;function i_(c,re,lr){return lr===void 0&&(lr=0),c.replace(/{(\d+)}/g,function(Kr,Gn){return""+e.Debug.checkDefined(re[+Gn+lr])})}e.formatStringFromArgs=i_;var Js;function _(c){Js=c}e.setLocalizedDiagnosticMessages=_;function R(c){!Js&&c&&(Js=c())}e.maybeSetLocalizedDiagnosticMessages=R;function he(c){return Js&&Js[c.key]||c.message}e.getLocaleSpecificMessage=he;function nr(c,re,lr,Kr){Dr(void 0,re,lr);var Gn=he(Kr);return arguments.length>4&&(Gn=i_(Gn,arguments,4)),{file:void 0,start:re,length:lr,messageText:Gn,category:Kr.category,code:Kr.code,reportsUnnecessary:Kr.reportsUnnecessary,fileName:c}}e.createDetachedDiagnostic=nr;function $r(c){return c.file===void 0&&c.start!==void 0&&c.length!==void 0&&typeof c.fileName=="string"}function oi(c,re){var lr=re.fileName||"",Kr=re.text.length;e.Debug.assertEqual(c.fileName,lr),e.Debug.assertLessThanOrEqual(c.start,Kr),e.Debug.assertLessThanOrEqual(c.start+c.length,Kr);var Gn={file:re,start:c.start,length:c.length,messageText:c.messageText,category:c.category,code:c.code,reportsUnnecessary:c.reportsUnnecessary};if(c.relatedInformation){Gn.relatedInformation=[];for(var Gi=0,it=c.relatedInformation;Gi4&&(Gn=i_(Gn,arguments,4)),{file:c,start:re,length:lr,messageText:Gn,category:Kr.category,code:Kr.code,reportsUnnecessary:Kr.reportsUnnecessary,reportsDeprecated:Kr.reportsDeprecated}}e.createFileDiagnostic=Ja;function Rs(c,re){var lr=he(re);return arguments.length>2&&(lr=i_(lr,arguments,2)),lr}e.formatMessage=Rs;function Li(c){var re=he(c);return arguments.length>1&&(re=i_(re,arguments,1)),{file:void 0,start:void 0,length:void 0,messageText:re,category:c.category,code:c.code,reportsUnnecessary:c.reportsUnnecessary,reportsDeprecated:c.reportsDeprecated}}e.createCompilerDiagnostic=Li;function ju(c,re){return{file:void 0,start:void 0,length:void 0,code:c.code,category:c.category,messageText:c.next?c:c.messageText,relatedInformation:re}}e.createCompilerDiagnosticFromMessageChain=ju;function yu(c,re){var lr=he(re);return arguments.length>2&&(lr=i_(lr,arguments,2)),{messageText:lr,category:re.category,code:re.code,next:c===void 0||Array.isArray(c)?c:[c]}}e.chainDiagnosticMessages=yu;function wf(c,re){for(var lr=c;lr.next;)lr=lr.next[0];lr.next=[re]}e.concatenateDiagnosticMessageChains=wf;function Of(c){return c.file?c.file.path:void 0}function mg(c,re){return _d(c,re)||rm(c,re)||0}e.compareDiagnostics=mg;function _d(c,re){return e.compareStringsCaseSensitive(Of(c),Of(re))||e.compareValues(c.start,re.start)||e.compareValues(c.length,re.length)||e.compareValues(c.code,re.code)||df(c.messageText,re.messageText)||0}e.compareDiagnosticsSkipRelatedInformation=_d;function rm(c,re){return!c.relatedInformation&&!re.relatedInformation?0:c.relatedInformation&&re.relatedInformation?e.compareValues(c.relatedInformation.length,re.relatedInformation.length)||e.forEach(c.relatedInformation,function(lr,Kr){var Gn=re.relatedInformation[Kr];return mg(lr,Gn)})||0:c.relatedInformation?-1:1}function df(c,re){if(typeof c=="string"&&typeof re=="string")return e.compareStringsCaseSensitive(c,re);if(typeof c=="string")return-1;if(typeof re=="string")return 1;var lr=e.compareStringsCaseSensitive(c.messageText,re.messageText);if(lr)return lr;if(!c.next&&!re.next)return 0;if(!c.next)return-1;if(!re.next)return 1;for(var Kr=Math.min(c.next.length,re.next.length),Gn=0;Gnre.next.length?1:0}function Ev(c){return c===4||c===2||c===1||c===6?1:0}e.getLanguageVariant=Ev;function vg(c){if(!!(c.transformFlags&2))return e.isJsxOpeningLikeElement(c)||e.isJsxFragment(c)?c:e.forEachChild(c,vg)}function yg(c){return c.isDeclarationFile?void 0:vg(c)}function hg(c){return(c.impliedNodeFormat===e.ModuleKind.ESNext||e.fileExtensionIsOneOf(c.fileName,[".cjs",".cts",".mjs",".mts"]))&&!c.isDeclarationFile?!0:void 0}function nm(c){switch(im(c)){case e.ModuleDetectionKind.Force:return function(Gn){Gn.externalModuleIndicator=e.isFileProbablyExternalModule(Gn)||!Gn.isDeclarationFile||void 0};case e.ModuleDetectionKind.Legacy:return function(Gn){Gn.externalModuleIndicator=e.isFileProbablyExternalModule(Gn)};case e.ModuleDetectionKind.Auto:var re=[e.isFileProbablyExternalModule];(c.jsx===4||c.jsx===5)&&re.push(yg),re.push(hg);var lr=e.or.apply(void 0,re),Kr=function(Gn){return void(Gn.externalModuleIndicator=lr(Gn))};return Kr}}e.getSetExternalModuleIndicator=nm;function Qp(c){return c.target||c.module===e.ModuleKind.Node16&&9||c.module===e.ModuleKind.NodeNext&&99||0}e.getEmitScriptTarget=Qp;function cc(c){return typeof c.module=="number"?c.module:Qp(c)>=2?e.ModuleKind.ES2015:e.ModuleKind.CommonJS}e.getEmitModuleKind=cc;function kv(c){var re=c.moduleResolution;if(re===void 0)switch(cc(c)){case e.ModuleKind.CommonJS:re=e.ModuleResolutionKind.NodeJs;break;case e.ModuleKind.Node16:re=e.ModuleResolutionKind.Node16;break;case e.ModuleKind.NodeNext:re=e.ModuleResolutionKind.NodeNext;break;default:re=e.ModuleResolutionKind.Classic;break}return re}e.getEmitModuleResolutionKind=kv;function im(c){return c.moduleDetection||(cc(c)===e.ModuleKind.Node16||cc(c)===e.ModuleKind.NodeNext?e.ModuleDetectionKind.Force:e.ModuleDetectionKind.Auto)}e.getEmitModuleDetectionKind=im;function nu(c){switch(cc(c)){case e.ModuleKind.CommonJS:case e.ModuleKind.AMD:case e.ModuleKind.ES2015:case e.ModuleKind.ES2020:case e.ModuleKind.ES2022:case e.ModuleKind.ESNext:case e.ModuleKind.Node16:case e.ModuleKind.NodeNext:return!0;default:return!1}}e.hasJsonModuleEmitEnabled=nu;function tm(c){return c.allowUnreachableCode===!1}e.unreachableCodeIsError=tm;function Av(c){return c.allowUnusedLabels===!1}e.unusedLabelIsError=Av;function Nv(c){return!!(Dg(c)&&c.declarationMap)}e.getAreDeclarationMapsEnabled=Nv;function Ap(c){if(c.esModuleInterop!==void 0)return c.esModuleInterop;switch(cc(c)){case e.ModuleKind.Node16:case e.ModuleKind.NodeNext:return!0}}e.getESModuleInterop=Ap;function Pv(c){var re=cc(c);return c.allowSyntheticDefaultImports!==void 0?c.allowSyntheticDefaultImports:Ap(c)||re===e.ModuleKind.System}e.getAllowSyntheticDefaultImports=Pv;function Dg(c){return!!(c.declaration||c.composite)}e.getEmitDeclarations=Dg;function _u(c){return!!(c.preserveConstEnums||c.isolatedModules)}e.shouldPreserveConstEnums=_u;function Rm(c){return!!(c.incremental||c.composite)}e.isIncrementalCompilation=Rm;function Xp(c,re){return c[re]===void 0?!!c.strict:!!c[re]}e.getStrictOptionValue=Xp;function am(c){return c.allowJs===void 0?!!c.checkJs:c.allowJs}e.getAllowJSCompilerOption=am;function t_(c){return c.useDefineForClassFields===void 0?Qp(c)>=9:c.useDefineForClassFields}e.getUseDefineForClassFields=t_;function bg(c,re){return D(re,c,e.semanticDiagnosticsOptionDeclarations)}e.compilerOptionsAffectSemanticDiagnostics=bg;function I_(c,re){return D(re,c,e.affectsEmitOptionDeclarations)}e.compilerOptionsAffectEmit=I_;function Pi(c,re){return D(re,c,e.affectsDeclarationPathOptionDeclarations)}e.compilerOptionsAffectDeclarationPath=Pi;function Et(c,re){return re.strictFlag?Xp(c,re.name):c[re.name]}e.getCompilerOptionValue=Et;function It(c){var re=c.jsx;return re===2||re===4||re===5}e.getJSXTransformEnabled=It;function nt(c,re){var lr=re==null?void 0:re.pragmas.get("jsximportsource"),Kr=e.isArray(lr)?lr[lr.length-1]:lr;return c.jsx===4||c.jsx===5||c.jsxImportSource||Kr?(Kr==null?void 0:Kr.arguments.factory)||c.jsxImportSource||"react":void 0}e.getJSXImplicitImportBase=nt;function ma(c,re){return c?"".concat(c,"/").concat(re.jsx===5?"jsx-dev-runtime":"jsx-runtime"):void 0}e.getJSXRuntimeImport=ma;function $a(c){for(var re=!1,lr=0;lr=2&&Gi.length>=2&&!Oc(Gn[Gn.length-2],Kr)&&!Oc(Gi[Gi.length-2],Kr)&&Kr(Gn[Gn.length-1])===Kr(Gi[Gi.length-1]);)Gn.pop(),Gi.pop(),it=!0;return it?[e.getPathFromPathComponents(Gn),e.getPathFromPathComponents(Gi)]:void 0}function Oc(c,re){return c!==void 0&&(re(c)==="node_modules"||e.startsWith(c,"@"))}function Uu(c){return e.isAnyDirectorySeparator(c.charCodeAt(0))?c.slice(1):void 0}function iu(c,re,lr){var Kr=e.tryRemovePrefix(c,re,lr);return Kr===void 0?void 0:Uu(Kr)}e.tryRemoveDirectoryPrefix=iu;var Rl=/[^\w\s\/]/g;function Ud(c){return c.replace(Rl,Np)}e.regExpEscape=Ud;function Np(c){return"\\"+c}var hu=[42,63];e.commonPackageFolders=["node_modules","bower_components","jspm_packages"];var dd="(?!(".concat(e.commonPackageFolders.join("|"),")(/|$))"),zd={singleAsteriskRegexFragment:"([^./]|(\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:"(/".concat(dd,"[^/.][^/]*)*?"),replaceWildcardCharacter:function(c){return xg(c,zd.singleAsteriskRegexFragment)}},Sg={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/".concat(dd,"[^/.][^/]*)*?"),replaceWildcardCharacter:function(c){return xg(c,Sg.singleAsteriskRegexFragment)}},Pp={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/.+?)?",replaceWildcardCharacter:function(c){return xg(c,Pp.singleAsteriskRegexFragment)}},Vy={files:zd,directories:Sg,exclude:Pp};function Du(c,re,lr){var Kr=Iv(c,re,lr);if(!(!Kr||!Kr.length)){var Gn=Kr.map(function(it){return"(".concat(it,")")}).join("|"),Gi=lr==="exclude"?"($|/)":"$";return"^(".concat(Gn,")").concat(Gi)}}e.getRegularExpressionForWildcard=Du;function Iv(c,re,lr){if(!(c===void 0||c.length===0))return e.flatMap(c,function(Kr){return Kr&&pf(Kr,re,lr,Vy[lr])})}e.getRegularExpressionsForWildcards=Iv;function wv(c){return!/[.*?]/.test(c)}e.isImplicitGlob=wv;function Ov(c,re,lr){var Kr=c&&pf(c,re,lr,Vy[lr]);return Kr&&"^(".concat(Kr,")").concat(lr==="exclude"?"($|/)":"$")}e.getPatternFromSpec=Ov;function pf(c,re,lr,Kr){var Gn=Kr.singleAsteriskRegexFragment,Gi=Kr.doubleAsteriskRegexFragment,it=Kr.replaceWildcardCharacter,ct="",ha=!1,ta=e.getNormalizedPathComponents(c,re),Po=e.last(ta);if(!(lr!=="exclude"&&Po==="**")){ta[0]=e.removeTrailingDirectorySeparator(ta[0]),wv(Po)&&ta.push("**","*");for(var es=0,nc=0,Zt=ta;nc0;)ct+=")?",es--;return ct}}function xg(c,re){return c==="*"?re:c==="?"?"[^/]":"\\"+c}function Qc(c,re,lr,Kr,Gn){c=e.normalizePath(c),Gn=e.normalizePath(Gn);var Gi=e.combinePaths(Gn,c);return{includeFilePatterns:e.map(Iv(lr,Gi,"files"),function(it){return"^".concat(it,"$")}),includeFilePattern:Du(lr,Gi,"files"),includeDirectoryPattern:Du(lr,Gi,"directories"),excludePattern:Du(re,Gi,"exclude"),basePaths:z0(c,lr,Kr)}}e.getFileMatcherPatterns=Qc;function om(c,re){return new RegExp(c,re?"":"i")}e.getRegexFromPattern=om;function U0(c,re,lr,Kr,Gn,Gi,it,ct,ha){c=e.normalizePath(c),Gi=e.normalizePath(Gi);for(var ta=Qc(c,lr,Kr,Gn,Gi),Po=ta.includeFilePatterns&&ta.includeFilePatterns.map(function(hs){return om(hs,Gn)}),es=ta.includeDirectoryPattern&&om(ta.includeDirectoryPattern,Gn),nc=ta.excludePattern&&om(ta.excludePattern,Gn),Zt=Po?Po.map(function(){return[]}):[[]],Ts=new e.Map,_a=e.createGetCanonicalFileName(Gn),vs=0,hl=ta.basePaths;vs=0)}e.positionIsSynthesized=Tg;function Zy(c){return c===".ts"||c===".tsx"||c===".d.ts"||c===".cts"||c===".mts"||c===".d.mts"||c===".d.cts"}e.extensionIsTS=Zy;function Q0(c){return Zy(c)||c===".json"}e.resolutionExtensionIsTSOrJson=Q0;function cm(c){var re=um(c);return re!==void 0?re:e.Debug.fail("File ".concat(c," has unknown extension."))}e.extensionFromPath=cm;function Jv(c){return um(c)!==void 0}e.isAnySupportedFileExtension=Jv;function um(c){return e.find(Lv,function(re){return e.fileExtensionIs(c,re)})}e.tryGetExtensionFromPath=um;function X0(c,re){return c.checkJsDirective?c.checkJsDirective.enabled:re.checkJs}e.isCheckJsEnabledForFile=X0,e.emptyFileSystemEntries={files:e.emptyArray,directories:e.emptyArray};function Z0(c,re){for(var lr=[],Kr=0,Gn=c;KrKr&&(Kr=Gi)}return{min:lr,max:Kr}}e.minAndMax=Ff;function Jl(c){return{pos:U(c),end:c.end}}e.rangeOfNode=Jl;function Yy(c,re){var lr=re.pos-1,Kr=e.skipTrivia(c.text,re.end)+1;return{pos:lr,end:Kr}}e.rangeOfTypeParameters=Yy;function Eg(c,re,lr){return re.skipLibCheck&&c.isDeclarationFile||re.skipDefaultLibCheck&&c.hasNoDefaultLib||lr.isSourceOfProjectReferenceRedirect(c.fileName)}e.skipTypeChecking=Eg;function Vd(c,re){return c===re||typeof c=="object"&&c!==null&&typeof re=="object"&&re!==null&&e.equalOwnProperties(c,re,Vd)}e.isJsonEqual=Vd;function sl(c){var re;switch(c.charCodeAt(1)){case 98:case 66:re=1;break;case 111:case 79:re=3;break;case 120:case 88:re=4;break;default:for(var lr=c.length-1,Kr=0;c.charCodeAt(Kr)===48;)Kr++;return c.slice(Kr,lr)||"0"}for(var Gn=2,Gi=c.length-1,it=(Gi-Gn)*re,ct=new Uint16Array((it>>>4)+(it&15?1:0)),ha=Gi-1,ta=0;ha>=Gn;ha--,ta+=re){var Po=ta>>>4,es=c.charCodeAt(ha),nc=es<=57?es-48:10+es-(es<=70?65:97),Zt=nc<<(ta&15);ct[Po]|=Zt;var Ts=Zt>>>16;Ts&&(ct[Po+1]|=Ts)}for(var _a="",vs=ct.length-1,hl=!0;hl;){var jl=0;hl=!1;for(var Po=vs;Po>=0;Po--){var Zp=jl<<16|ct[Po],hs=Zp/10|0;ct[Po]=hs,jl=Zp-hs*10,hs&&!hl&&(vs=Po,hl=!0)}_a=jl+_a}return _a}e.parsePseudoBigInt=sl;function $y(c){var re=c.negative,lr=c.base10Value;return(re&&lr!=="0"?"-":"")+lr}e.pseudoBigIntToString=$y;function jv(c){return!!(c.flags&16777216)||wn(c)||Iu(c)||Xc(c)||!(tn(c)||Y0(c))}e.isValidTypeOnlyAliasUseSite=jv;function Y0(c){return e.isIdentifier(c)&&e.isShorthandPropertyAssignment(c.parent)&&c.parent.name===c}function Xc(c){for(;c.kind===79||c.kind===208;)c=c.parent;if(c.kind!==164)return!1;if(Ls(c.parent,256))return!0;var re=c.parent.parent.kind;return re===261||re===184}function Iu(c){if(c.kind!==79)return!1;var re=e.findAncestor(c.parent,function(lr){switch(lr.kind){case 294:return!0;case 208:case 230:return!1;default:return"quit"}});return(re==null?void 0:re.token)===117||(re==null?void 0:re.parent.kind)===261}function Mf(c){return e.isTypeReferenceNode(c)&&e.isIdentifier(c.typeName)}e.isIdentifierTypeReference=Mf;function w_(c,re){if(re===void 0&&(re=e.equateValues),c.length<2)return!0;for(var lr=c[0],Kr=1,Gn=c.length;Kr=0?e.factory.createNumericLiteral(+c):e.factory.createStringLiteral(c,!!lr)}e.createPropertyNameNodeForIdentifierOrLiteral=qv;function pd(c){return!!(c.flags&262144&&c.isThisType)}e.isThisTypeParameter=pd;function a1(c){var re=0,lr=0,Kr=0,Gn=0,Gi;(function(ta){ta[ta.BeforeNodeModules=0]="BeforeNodeModules",ta[ta.NodeModules=1]="NodeModules",ta[ta.Scope=2]="Scope",ta[ta.PackageContent=3]="PackageContent"})(Gi||(Gi={}));for(var it=0,ct=0,ha=0;ct>=0;)switch(it=ct,ct=c.indexOf("/",it+1),ha){case 0:c.indexOf(e.nodeModulesPathPart,it)===it&&(re=it,lr=ct,ha=1);break;case 1:case 2:ha===1&&c.charAt(it+1)==="@"?ha=2:(Kr=ct,ha=3);break;case 3:c.indexOf(e.nodeModulesPathPart,it)===it?ha=1:ha=3;break}return Gn=it,ha>1?{topLevelNodeModulesIndex:re,topLevelPackageNameIndex:lr,packageRootIndex:Kr,fileNameIndex:Gn}:void 0}e.getNodeModulePathParts=a1;function ih(c){var re;return c.kind===343?(re=c.typeExpression)===null||re===void 0?void 0:re.type:c.type}e.getParameterTypeNode=ih;function th(c){switch(c.kind){case 165:case 260:case 261:case 262:case 263:case 348:case 341:case 342:return!0;case 270:return c.isTypeOnly;case 273:case 278:return c.parent.parent.isTypeOnly;default:return!1}}e.isTypeDeclaration=th;function o1(c){return e.isEnumDeclaration(c)||e.isVariableStatement(c)||e.isFunctionDeclaration(c)||e.isClassDeclaration(c)||e.isInterfaceDeclaration(c)||th(c)||e.isModuleDeclaration(c)&&!vr(c)&&!dr(c)}e.canHaveExportModifier=o1})(fr||(fr={}));var fr;(function(e){function o(){var ne,K,se,O,ie;return{createBaseSourceFileNode:_e,createBaseIdentifierNode:Q,createBasePrivateIdentifierNode:p,createBaseTokenNode:D,createBaseNode:le};function _e(de){return new(ie||(ie=e.objectAllocator.getSourceFileConstructor()))(de,-1,-1)}function Q(de){return new(se||(se=e.objectAllocator.getIdentifierConstructor()))(de,-1,-1)}function p(de){return new(O||(O=e.objectAllocator.getPrivateIdentifierConstructor()))(de,-1,-1)}function D(de){return new(K||(K=e.objectAllocator.getTokenConstructor()))(de,-1,-1)}function le(de){return new(ne||(ne=e.objectAllocator.getNodeConstructor()))(de,-1,-1)}}e.createBaseNodeFactory=o})(fr||(fr={}));var fr;(function(e){function o(ne){var K,se;return{getParenthesizeLeftSideOfBinaryForOperator:O,getParenthesizeRightSideOfBinaryForOperator:ie,parenthesizeLeftSideOfBinary:le,parenthesizeRightSideOfBinary:de,parenthesizeExpressionOfComputedPropertyName:te,parenthesizeConditionOfConditionalExpression:oe,parenthesizeBranchOfConditionalExpression:ae,parenthesizeExpressionOfExportDefault:E,parenthesizeExpressionOfNew:I,parenthesizeLeftSideOfAccess:f,parenthesizeOperandOfPostfixUnary:m,parenthesizeOperandOfPrefixUnary:y,parenthesizeExpressionsOfCommaDelimitedList:S,parenthesizeExpressionForDisallowedComma:k,parenthesizeExpressionOfExpressionStatement:C,parenthesizeConciseBodyOfArrowFunction:me,parenthesizeCheckTypeOfConditionalType:De,parenthesizeExtendsTypeOfConditionalType:X,parenthesizeConstituentTypesOfUnionType:H,parenthesizeConstituentTypeOfUnionType:M,parenthesizeConstituentTypesOfIntersectionType:h,parenthesizeConstituentTypeOfIntersectionType:V,parenthesizeOperandOfTypeOperator:F,parenthesizeOperandOfReadonlyTypeOperator:$,parenthesizeNonArrayTypeOfPostfixType:L,parenthesizeElementTypesOfTupleType:P,parenthesizeElementTypeOfTupleType:N,parenthesizeTypeOfOptionalType:q,parenthesizeTypeArguments:b,parenthesizeLeadingTypeArgument:G};function O(x){K||(K=new e.Map);var T=K.get(x);return T||(T=function(Z){return le(x,Z)},K.set(x,T)),T}function ie(x){se||(se=new e.Map);var T=se.get(x);return T||(T=function(Z){return de(x,void 0,Z)},se.set(x,T)),T}function _e(x,T,Z,B){var u=e.getOperatorPrecedence(223,x),A=e.getOperatorAssociativity(223,x),w=e.skipPartiallyEmittedExpressions(T);if(!Z&&T.kind===216&&u>3)return!0;var z=e.getExpressionPrecedence(w);switch(e.compareValues(z,u)){case-1:return!(!Z&&A===1&&T.kind===226);case 1:return!1;case 0:if(Z)return A===1;if(e.isBinaryExpression(w)&&w.operatorToken.kind===x){if(Q(x))return!1;if(x===39){var U=B?p(B):0;if(e.isLiteralKind(U)&&U===p(w))return!1}}var ge=e.getExpressionAssociativity(w);return ge===0}}function Q(x){return x===41||x===51||x===50||x===52||x===27}function p(x){if(x=e.skipPartiallyEmittedExpressions(x),e.isLiteralKind(x.kind))return x.kind;if(x.kind===223&&x.operatorToken.kind===39){if(x.cachedLiteralKind!==void 0)return x.cachedLiteralKind;var T=p(x.left),Z=e.isLiteralKind(T)&&T===p(x.right)?T:0;return x.cachedLiteralKind=Z,Z}return 0}function D(x,T,Z,B){var u=e.skipPartiallyEmittedExpressions(T);return u.kind===214?T:_e(x,T,Z,B)?ne.createParenthesizedExpression(T):T}function le(x,T){return D(x,T,!0)}function de(x,T,Z){return D(x,Z,!1,T)}function te(x){return e.isCommaSequence(x)?ne.createParenthesizedExpression(x):x}function oe(x){var T=e.getOperatorPrecedence(224,57),Z=e.skipPartiallyEmittedExpressions(x),B=e.getExpressionPrecedence(Z);return e.compareValues(B,T)!==1?ne.createParenthesizedExpression(x):x}function ae(x){var T=e.skipPartiallyEmittedExpressions(x);return e.isCommaSequence(T)?ne.createParenthesizedExpression(x):x}function E(x){var T=e.skipPartiallyEmittedExpressions(x),Z=e.isCommaSequence(T);if(!Z)switch(e.getLeftmostExpression(T,!1).kind){case 228:case 215:Z=!0}return Z?ne.createParenthesizedExpression(x):x}function I(x){var T=e.getLeftmostExpression(x,!0);switch(T.kind){case 210:return ne.createParenthesizedExpression(x);case 211:return T.arguments?x:ne.createParenthesizedExpression(x)}return f(x)}function f(x,T){var Z=e.skipPartiallyEmittedExpressions(x);return e.isLeftHandSideExpression(Z)&&(Z.kind!==211||Z.arguments)&&(T||!e.isOptionalChain(Z))?x:e.setTextRange(ne.createParenthesizedExpression(x),x)}function m(x){return e.isLeftHandSideExpression(x)?x:e.setTextRange(ne.createParenthesizedExpression(x),x)}function y(x){return e.isUnaryExpression(x)?x:e.setTextRange(ne.createParenthesizedExpression(x),x)}function S(x){var T=e.sameMap(x,k);return e.setTextRange(ne.createNodeArray(T,x.hasTrailingComma),x)}function k(x){var T=e.skipPartiallyEmittedExpressions(x),Z=e.getExpressionPrecedence(T),B=e.getOperatorPrecedence(223,27);return Z>B?x:e.setTextRange(ne.createParenthesizedExpression(x),x)}function C(x){var T=e.skipPartiallyEmittedExpressions(x);if(e.isCallExpression(T)){var Z=T.expression,B=e.skipPartiallyEmittedExpressions(Z).kind;if(B===215||B===216){var u=ne.updateCallExpression(T,e.setTextRange(ne.createParenthesizedExpression(Z),Z),T.typeArguments,T.arguments);return ne.restoreOuterExpressions(x,u,8)}}var A=e.getLeftmostExpression(T,!1).kind;return A===207||A===215?e.setTextRange(ne.createParenthesizedExpression(x),x):x}function me(x){return!e.isBlock(x)&&(e.isCommaSequence(x)||e.getLeftmostExpression(x,!1).kind===207)?e.setTextRange(ne.createParenthesizedExpression(x),x):x}function De(x){switch(x.kind){case 181:case 182:case 191:return ne.createParenthesizedType(x)}return x}function X(x){switch(x.kind){case 191:return ne.createParenthesizedType(x)}return x}function M(x){switch(x.kind){case 189:case 190:return ne.createParenthesizedType(x)}return De(x)}function H(x){return ne.createNodeArray(e.sameMap(x,M))}function V(x){switch(x.kind){case 189:case 190:return ne.createParenthesizedType(x)}return M(x)}function h(x){return ne.createNodeArray(e.sameMap(x,V))}function F(x){switch(x.kind){case 190:return ne.createParenthesizedType(x)}return V(x)}function $(x){switch(x.kind){case 195:return ne.createParenthesizedType(x)}return F(x)}function L(x){switch(x.kind){case 192:case 195:case 183:return ne.createParenthesizedType(x)}return F(x)}function P(x){return ne.createNodeArray(e.sameMap(x,N))}function N(x){return J(x)?ne.createParenthesizedType(x):x}function J(x){return e.isJSDocNullableType(x)?x.postfix:e.isNamedTupleMember(x)||e.isFunctionTypeNode(x)||e.isConstructorTypeNode(x)||e.isTypeOperatorNode(x)?J(x.type):e.isConditionalTypeNode(x)?J(x.falseType):e.isUnionTypeNode(x)||e.isIntersectionTypeNode(x)?J(e.last(x.types)):e.isInferTypeNode(x)?!!x.typeParameter.constraint&&J(x.typeParameter.constraint):!1}function q(x){return J(x)?ne.createParenthesizedType(x):L(x)}function G(x){return e.isFunctionOrConstructorTypeNode(x)&&x.typeParameters?ne.createParenthesizedType(x):x}function ye(x,T){return T===0?G(x):x}function b(x){if(e.some(x))return ne.createNodeArray(e.sameMap(x,ye))}}e.createParenthesizerRules=o,e.nullParenthesizerRules={getParenthesizeLeftSideOfBinaryForOperator:function(ne){return e.identity},getParenthesizeRightSideOfBinaryForOperator:function(ne){return e.identity},parenthesizeLeftSideOfBinary:function(ne,K){return K},parenthesizeRightSideOfBinary:function(ne,K,se){return se},parenthesizeExpressionOfComputedPropertyName:e.identity,parenthesizeConditionOfConditionalExpression:e.identity,parenthesizeBranchOfConditionalExpression:e.identity,parenthesizeExpressionOfExportDefault:e.identity,parenthesizeExpressionOfNew:function(ne){return e.cast(ne,e.isLeftHandSideExpression)},parenthesizeLeftSideOfAccess:function(ne){return e.cast(ne,e.isLeftHandSideExpression)},parenthesizeOperandOfPostfixUnary:function(ne){return e.cast(ne,e.isLeftHandSideExpression)},parenthesizeOperandOfPrefixUnary:function(ne){return e.cast(ne,e.isUnaryExpression)},parenthesizeExpressionsOfCommaDelimitedList:function(ne){return e.cast(ne,e.isNodeArray)},parenthesizeExpressionForDisallowedComma:e.identity,parenthesizeExpressionOfExpressionStatement:e.identity,parenthesizeConciseBodyOfArrowFunction:e.identity,parenthesizeCheckTypeOfConditionalType:e.identity,parenthesizeExtendsTypeOfConditionalType:e.identity,parenthesizeConstituentTypesOfUnionType:function(ne){return e.cast(ne,e.isNodeArray)},parenthesizeConstituentTypeOfUnionType:e.identity,parenthesizeConstituentTypesOfIntersectionType:function(ne){return e.cast(ne,e.isNodeArray)},parenthesizeConstituentTypeOfIntersectionType:e.identity,parenthesizeOperandOfTypeOperator:e.identity,parenthesizeOperandOfReadonlyTypeOperator:e.identity,parenthesizeNonArrayTypeOfPostfixType:e.identity,parenthesizeElementTypesOfTupleType:function(ne){return e.cast(ne,e.isNodeArray)},parenthesizeElementTypeOfTupleType:e.identity,parenthesizeTypeOfOptionalType:e.identity,parenthesizeTypeArguments:function(ne){return ne&&e.cast(ne,e.isNodeArray)},parenthesizeLeadingTypeArgument:e.identity}})(fr||(fr={}));var fr;(function(e){function o(ne){return{convertToFunctionBlock:K,convertToFunctionExpression:se,convertToArrayAssignmentElement:O,convertToObjectAssignmentElement:ie,convertToAssignmentPattern:_e,convertToObjectAssignmentPattern:Q,convertToArrayAssignmentPattern:p,convertToAssignmentElementTarget:D};function K(le,de){if(e.isBlock(le))return le;var te=ne.createReturnStatement(le);e.setTextRange(te,le);var oe=ne.createBlock([te],de);return e.setTextRange(oe,le),oe}function se(le){if(!le.body)return e.Debug.fail("Cannot convert a FunctionDeclaration without a body");var de=ne.createFunctionExpression(le.modifiers,le.asteriskToken,le.name,le.typeParameters,le.parameters,le.type,le.body);return e.setOriginalNode(de,le),e.setTextRange(de,le),e.getStartsOnNewLine(le)&&e.setStartsOnNewLine(de,!0),de}function O(le){if(e.isBindingElement(le)){if(le.dotDotDotToken)return e.Debug.assertNode(le.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(ne.createSpreadElement(le.name),le),le);var de=D(le.name);return le.initializer?e.setOriginalNode(e.setTextRange(ne.createAssignment(de,le.initializer),le),le):de}return e.cast(le,e.isExpression)}function ie(le){if(e.isBindingElement(le)){if(le.dotDotDotToken)return e.Debug.assertNode(le.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(ne.createSpreadAssignment(le.name),le),le);if(le.propertyName){var de=D(le.name);return e.setOriginalNode(e.setTextRange(ne.createPropertyAssignment(le.propertyName,le.initializer?ne.createAssignment(de,le.initializer):de),le),le)}return e.Debug.assertNode(le.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(ne.createShorthandPropertyAssignment(le.name,le.initializer),le),le)}return e.cast(le,e.isObjectLiteralElementLike)}function _e(le){switch(le.kind){case 204:case 206:return p(le);case 203:case 207:return Q(le)}}function Q(le){return e.isObjectBindingPattern(le)?e.setOriginalNode(e.setTextRange(ne.createObjectLiteralExpression(e.map(le.elements,ie)),le),le):e.cast(le,e.isObjectLiteralExpression)}function p(le){return e.isArrayBindingPattern(le)?e.setOriginalNode(e.setTextRange(ne.createArrayLiteralExpression(e.map(le.elements,O)),le),le):e.cast(le,e.isArrayLiteralExpression)}function D(le){return e.isBindingPattern(le)?_e(le):e.cast(le,e.isExpression)}}e.createNodeConverters=o,e.nullNodeConverters={convertToFunctionBlock:e.notImplemented,convertToFunctionExpression:e.notImplemented,convertToArrayAssignmentElement:e.notImplemented,convertToObjectAssignmentElement:e.notImplemented,convertToAssignmentPattern:e.notImplemented,convertToObjectAssignmentPattern:e.notImplemented,convertToArrayAssignmentPattern:e.notImplemented,convertToAssignmentElementTarget:e.notImplemented}})(fr||(fr={}));var fr;(function(e){var o=0,ne;(function(H){H[H.None=0]="None",H[H.NoParenthesizerRules=1]="NoParenthesizerRules",H[H.NoNodeConverters=2]="NoNodeConverters",H[H.NoIndentationOnFreshPropertyAccess=4]="NoIndentationOnFreshPropertyAccess",H[H.NoOriginalNode=8]="NoOriginalNode"})(ne=e.NodeFactoryFlags||(e.NodeFactoryFlags={}));function K(H,V){var h=H&8?se:O,F=e.memoize(function(){return H&1?e.nullParenthesizerRules:e.createParenthesizerRules(u)}),$=e.memoize(function(){return H&2?e.nullNodeConverters:e.createNodeConverters(u)}),L=e.memoizeOne(function(_){return function(R,he){return ws(R,_,he)}}),P=e.memoizeOne(function(_){return function(R){return xa(_,R)}}),N=e.memoizeOne(function(_){return function(R){return gs(R,_)}}),J=e.memoizeOne(function(_){return function(){return Fd(_)}}),q=e.memoizeOne(function(_){return function(R){return Gf(_,R)}}),G=e.memoizeOne(function(_){return function(R,he){return Md(_,R,he)}}),ye=e.memoizeOne(function(_){return function(R,he){return C_(_,R,he)}}),b=e.memoizeOne(function(_){return function(R,he){return Tf(_,R,he)}}),x=e.memoizeOne(function(_){return function(R,he){return Ac(_,R,he)}}),T=e.memoizeOne(function(_){return function(R,he,nr){return Ls(_,R,he,nr)}}),Z=e.memoizeOne(function(_){return function(R,he,nr){return ff(_,R,he,nr)}}),B=e.memoizeOne(function(_){return function(R,he,nr,$r){return E_(_,R,he,nr,$r)}}),u={get parenthesizer(){return F()},get converters(){return $()},baseFactory:V,flags:H,createNodeArray:A,createNumericLiteral:Oe,createBigIntLiteral:be,createStringLiteral:d,createStringLiteralFromNode:j,createRegularExpressionLiteral:Ce,createLiteralLikeNode:Se,createIdentifier:wr,updateIdentifier:mr,createTempVariable:Ue,createLoopVariable:t,createUniqueName:qr,getGeneratedNameForNode:ln,createPrivateIdentifier:vr,createUniquePrivateName:Ur,getGeneratedPrivateNameForNode:Cr,createToken:Br,createSuper:pn,createThis:ve,createNull:or,createTrue:Ee,createFalse:ze,createModifier:Ar,createModifiersFromModifierFlags:xe,createQualifiedName:cr,updateQualifiedName:Mr,createComputedPropertyName:Rr,updateComputedPropertyName:Qr,createTypeParameterDeclaration:en,updateTypeParameterDeclaration:vn,createParameterDeclaration:Ie,updateParameterDeclaration:We,createDecorator:xr,updateDecorator:Lr,createPropertySignature:xn,updatePropertySignature:An,createPropertyDeclaration:ai,updatePropertyDeclaration:Dr,createMethodSignature:Pr,updateMethodSignature:jr,createMethodDeclaration:on,updateMethodDeclaration:je,createConstructorDeclaration:ue,updateConstructorDeclaration:Ke,createGetAccessorDeclaration:hr,updateGetAccessorDeclaration:_r,createSetAccessorDeclaration:zr,updateSetAccessorDeclaration:fn,createCallSignature:Wn,updateCallSignature:bn,createConstructSignature:qn,updateConstructSignature:yn,createIndexSignature:Hn,updateIndexSignature:Ai,createClassStaticBlockDeclaration:Te,updateClassStaticBlockDeclaration:Ye,createTemplateLiteralTypeSpan:ti,updateTemplateLiteralTypeSpan:Hi,createKeywordTypeNode:Ni,createTypePredicateNode:gi,updateTypePredicateNode:Pn,createTypeReferenceNode:Pe,updateTypeReferenceNode:Ir,createFunctionTypeNode:we,updateFunctionTypeNode:hn,createConstructorTypeNode:gn,updateConstructorTypeNode:Dn,createTypeQueryNode:Ge,updateTypeQueryNode:cn,createTypeLiteralNode:Vn,updateTypeLiteralNode:Ki,createArrayTypeNode:dt,updateArrayTypeNode:qi,createTupleTypeNode:Ci,updateTupleTypeNode:Tt,createNamedTupleMember:ot,updateNamedTupleMember:Zi,createOptionalTypeNode:ni,updateOptionalTypeNode:Va,createRestTypeNode:Ua,updateRestTypeNode:za,createUnionTypeNode:ho,updateUnionTypeNode:Aa,createIntersectionTypeNode:Vi,updateIntersectionTypeNode:Xi,createConditionalTypeNode:ao,updateConditionalTypeNode:fo,createInferTypeNode:As,updateInferTypeNode:so,createImportTypeNode:Zo,updateImportTypeNode:To,createParenthesizedType:pr,updateParenthesizedType:Fr,createThisTypeNode:yi,createTypeOperatorNode:Dt,updateTypeOperatorNode:Ft,createIndexedAccessTypeNode:Pa,updateIndexedAccessTypeNode:Ve,createMappedTypeNode:tn,updateMappedTypeNode:Nn,createLiteralTypeNode:wn,updateLiteralTypeNode:Je,createTemplateLiteralType:Xo,updateTemplateLiteralType:Ho,createObjectBindingPattern:ur,updateObjectBindingPattern:yr,createArrayBindingPattern:Jr,updateArrayBindingPattern:Mn,createBindingElement:_i,updateBindingElement:di,createArrayLiteralExpression:Nt,updateArrayLiteralExpression:Gt,createObjectLiteralExpression:la,updateObjectLiteralExpression:na,createPropertyAccessExpression:H&4?function(_,R){return e.setEmitFlags(Ia(_,R),131072)}:Ia,updatePropertyAccessExpression:bs,createPropertyAccessChain:H&4?function(_,R,he){return e.setEmitFlags(ds(_,R,he),131072)}:ds,updatePropertyAccessChain:ps,createElementAccessExpression:ac,updateElementAccessExpression:Es,createElementAccessChain:ns,updateElementAccessChain:dc,createCallExpression:$s,updateCallExpression:pc,createCallChain:js,updateCallChain:Sc,createNewExpression:Ko,updateNewExpression:Mc,createTaggedTemplateExpression:Vs,updateTaggedTemplateExpression:oc,createTypeAssertion:Ss,updateTypeAssertion:ee,createParenthesizedExpression:Er,updateParenthesizedExpression:un,createFunctionExpression:$n,updateFunctionExpression:Ii,createArrowFunction:at,updateArrowFunction:Ji,createDeleteExpression:_t,updateDeleteExpression:Ht,createTypeOfExpression:Rt,updateTypeOfExpression:va,createVoidExpression:qe,updateVoidExpression:Tn,createAwaitExpression:Nr,updateAwaitExpression:ga,createPrefixUnaryExpression:xa,updatePrefixUnaryExpression:co,createPostfixUnaryExpression:gs,updatePostfixUnaryExpression:gc,createBinaryExpression:ws,updateBinaryExpression:qs,createConditionalExpression:ec,updateConditionalExpression:Rc,createTemplateExpression:_o,updateTemplateExpression:Gs,createTemplateHead:$c,createTemplateMiddle:Qu,createTemplateTail:Df,createNoSubstitutionTemplateLiteral:Xu,createTemplateLiteralLikeNode:xl,createYieldExpression:zc,updateYieldExpression:Zu,createSpreadElement:Hr,updateSpreadElement:Gr,createClassExpression:Bn,updateClassExpression:ui,createOmittedExpression:hi,createExpressionWithTypeArguments:Ei,updateExpressionWithTypeArguments:st,createAsExpression:Bi,updateAsExpression:Jt,createNonNullExpression:Ca,updateNonNullExpression:Yt,createSatisfiesExpression:Wt,updateSatisfiesExpression:Ga,createNonNullChain:$t,updateNonNullChain:po,createMetaProperty:Do,updateMetaProperty:Ns,createTemplateSpan:jo,updateTemplateSpan:ys,createSemicolonClassElement:Vo,createBlock:fe,updateBlock:sr,createVariableStatement:Tr,updateVariableStatement:Fn,createEmptyStatement:Si,createExpressionStatement:gt,updateExpressionStatement:jt,createIfStatement:fa,updateIfStatement:Ka,createDoStatement:no,updateDoStatement:Eo,createWhileStatement:Fa,updateWhileStatement:Qa,createForStatement:zo,updateForStatement:Uo,createForInStatement:ms,updateForInStatement:xc,createForOfStatement:Os,updateForOfStatement:Cl,createContinueStatement:m_,updateContinueStatement:pl,createBreakStatement:Zl,updateBreakStatement:Zr,createReturnStatement:Yl,updateReturnStatement:xu,createWithStatement:$l,updateWithStatement:Wf,createSwitchStatement:ef,updateSwitchStatement:Tl,createLabeledStatement:Ad,updateLabeledStatement:go,createThrowStatement:U_,updateThrowStatement:bf,createTryStatement:z_,updateTryStatement:Vf,createDebuggerStatement:W_,createVariableDeclaration:v_,updateVariableDeclaration:rf,createVariableDeclarationList:ou,updateVariableDeclarationList:V_,createFunctionDeclaration:y_,updateFunctionDeclaration:Qt,createClassDeclaration:Cu,updateClassDeclaration:Wc,createInterfaceDeclaration:q_,updateInterfaceDeclaration:Sf,createTypeAliasDeclaration:Nd,updateTypeAliasDeclaration:is,createEnumDeclaration:xs,updateEnumDeclaration:Yu,createModuleDeclaration:vc,updateModuleDeclaration:gp,createModuleBlock:El,updateModuleBlock:Cc,createCaseBlock:mp,updateCaseBlock:Pd,createNamespaceExportDeclaration:G_,updateNamespaceExportDeclaration:H_,createImportEqualsDeclaration:kl,updateImportEqualsDeclaration:Al,createImportDeclaration:Id,updateImportDeclaration:yp,createImportClause:D_,updateImportClause:Mu,createAssertClause:nf,updateAssertClause:K_,createAssertEntry:b_,updateAssertEntry:S_,createImportTypeAssertionContainer:xf,updateImportTypeAssertionContainer:qf,createNamespaceImport:tf,updateNamespaceImport:Q_,createNamespaceExport:af,updateNamespaceExport:Tc,createNamedImports:$u,updateNamedImports:of,createImportSpecifier:X_,updateImportSpecifier:x_,createExportAssignment:Tu,updateExportAssignment:Cf,createExportDeclaration:Lu,updateExportDeclaration:Ru,createNamedExports:Eu,updateNamedExports:hp,createExportSpecifier:Z_,updateExportSpecifier:Od,createMissingDeclaration:Y_,createExternalModuleReference:Fo,updateExternalModuleReference:sf,get createJSDocAllType(){return J(315)},get createJSDocUnknownType(){return J(316)},get createJSDocNonNullableType(){return ye(318)},get updateJSDocNonNullableType(){return b(318)},get createJSDocNullableType(){return ye(317)},get updateJSDocNullableType(){return b(317)},get createJSDocOptionalType(){return q(319)},get updateJSDocOptionalType(){return G(319)},get createJSDocVariadicType(){return q(321)},get updateJSDocVariadicType(){return G(321)},get createJSDocNamepathType(){return q(322)},get updateJSDocNamepathType(){return G(322)},createJSDocFunctionType:ss,updateJSDocFunctionType:wi,createJSDocTypeLiteral:Fs,updateJSDocTypeLiteral:Kt,createJSDocTypeExpression:Hs,updateJSDocTypeExpression:$_,createJSDocSignature:Ec,updateJSDocSignature:ji,createJSDocTemplateTag:Wo,updateJSDocTemplateTag:kc,createJSDocTypedefTag:Vc,updateJSDocTypedefTag:ed,createJSDocParameterTag:ts,updateJSDocParameterTag:gl,createJSDocPropertyTag:Ef,updateJSDocPropertyTag:T_,createJSDocCallbackTag:rl,updateJSDocCallbackTag:Ms,createJSDocAugmentsTag:ml,updateJSDocAugmentsTag:Hf,createJSDocImplementsTag:Kf,updateJSDocImplementsTag:ks,createJSDocSeeTag:Nl,updateJSDocSeeTag:Dp,createJSDocNameReference:Us,updateJSDocNameReference:cf,createJSDocMemberName:eu,updateJSDocMemberName:Ld,createJSDocLink:uf,updateJSDocLink:lf,createJSDocLinkCode:rd,updateJSDocLinkCode:Pl,createJSDocLinkPlain:nl,updateJSDocLinkPlain:nd,get createJSDocTypeTag(){return Z(346)},get updateJSDocTypeTag(){return B(346)},get createJSDocReturnTag(){return Z(344)},get updateJSDocReturnTag(){return B(344)},get createJSDocThisTag(){return Z(345)},get updateJSDocThisTag(){return B(345)},get createJSDocEnumTag(){return Z(342)},get updateJSDocEnumTag(){return B(342)},get createJSDocAuthorTag(){return x(333)},get updateJSDocAuthorTag(){return T(333)},get createJSDocClassTag(){return x(335)},get updateJSDocClassTag(){return T(335)},get createJSDocPublicTag(){return x(336)},get updateJSDocPublicTag(){return T(336)},get createJSDocPrivateTag(){return x(337)},get updateJSDocPrivateTag(){return T(337)},get createJSDocProtectedTag(){return x(338)},get updateJSDocProtectedTag(){return T(338)},get createJSDocReadonlyTag(){return x(339)},get updateJSDocReadonlyTag(){return T(339)},get createJSDocOverrideTag(){return x(340)},get updateJSDocOverrideTag(){return T(340)},get createJSDocDeprecatedTag(){return x(334)},get updateJSDocDeprecatedTag(){return T(334)},createJSDocUnknownTag:Ya,updateJSDocUnknownTag:zi,createJSDocText:Nc,updateJSDocText:Vp,createJSDocComment:Qf,updateJSDocComment:_f,createJsxElement:vl,updateJsxElement:Xf,createJsxSelfClosingElement:ku,updateJsxSelfClosingElement:il,createJsxOpeningElement:Il,updateJsxOpeningElement:kf,createJsxClosingElement:qc,updateJsxClosingElement:bp,createJsxFragment:ko,createJsxText:Af,updateJsxText:uu,createJsxOpeningFragment:Nf,createJsxJsxClosingFragment:Zf,updateJsxFragment:Gc,createJsxAttribute:wl,updateJsxAttribute:Sp,createJsxAttributes:Hc,updateJsxAttributes:Yo,createJsxSpreadAttribute:Rd,updateJsxSpreadAttribute:Yf,createJsxExpression:lu,updateJsxExpression:pu,createCaseClause:k_,updateCaseClause:id,createDefaultClause:Pf,updateDefaultClause:Ol,createHeritageClause:Au,updateHeritageClause:xp,createCatchClause:Fl,updateCatchClause:tl,createPropertyAssignment:$f,updatePropertyAssignment:Cp,createShorthandPropertyAssignment:td,updateShorthandPropertyAssignment:qp,createSpreadAssignment:ru,updateSpreadAssignment:Oi,createEnumMember:Ml,updateEnumMember:ad,createSourceFile:al,updateSourceFile:od,createBundle:Bd,updateBundle:yc,createUnparsedSource:A_,createUnparsedPrologue:N_,createUnparsedPrepend:Tp,createUnparsedTextLike:r_,createUnparsedSyntheticReference:v,createInputFiles:Ze,createSyntheticExpression:_n,createSyntaxList:Zn,createNotEmittedStatement:$i,createPartiallyEmittedExpression:kt,updatePartiallyEmittedExpression:Mt,createCommaListExpression:Wa,updateCommaListExpression:Lo,createEndOfDeclarationMarker:Na,createMergeDeclarationMarker:Pc,createSyntheticReferenceExpression:Ba,updateSyntheticReferenceExpression:ca,cloneNode:Bc,get createComma(){return L(27)},get createAssignment(){return L(63)},get createLogicalOr(){return L(56)},get createLogicalAnd(){return L(55)},get createBitwiseOr(){return L(51)},get createBitwiseXor(){return L(52)},get createBitwiseAnd(){return L(50)},get createStrictEquality(){return L(36)},get createStrictInequality(){return L(37)},get createEquality(){return L(34)},get createInequality(){return L(35)},get createLessThan(){return L(29)},get createLessThanEquals(){return L(32)},get createGreaterThan(){return L(31)},get createGreaterThanEquals(){return L(33)},get createLeftShift(){return L(47)},get createRightShift(){return L(48)},get createUnsignedRightShift(){return L(49)},get createAdd(){return L(39)},get createSubtract(){return L(40)},get createMultiply(){return L(41)},get createDivide(){return L(43)},get createModulo(){return L(44)},get createExponent(){return L(42)},get createPrefixPlus(){return P(39)},get createPrefixMinus(){return P(40)},get createPrefixIncrement(){return P(45)},get createPrefixDecrement(){return P(46)},get createBitwiseNot(){return P(54)},get createLogicalNot(){return P(53)},get createPostfixIncrement(){return N(45)},get createPostfixDecrement(){return N(46)},createImmediatelyInvokedFunctionExpression:mu,createImmediatelyInvokedArrowFunction:If,createVoidZero:Nu,createExportDefault:P_,createExternalModuleExport:Jd,createTypeCheck:jd,createMethodCall:Ll,createGlobalMethodCall:cd,createFunctionBindCall:sd,createFunctionCallCall:Ep,createFunctionApplyCall:Gp,createArraySliceCall:$g,createArrayConcatCall:ud,createObjectDefinePropertyCall:fu,createReflectGetCall:yl,createReflectSetCall:pg,createPropertyDescriptor:kp,createCallBinding:Kp,createAssignmentTargetWrapper:Fe,inlineExpressions:gr,getInternalName:mn,getLocalName:Un,getExportName:ci,getDeclarationName:tt,getNamespaceMemberName:mt,getExternalModuleOrNamespaceExportName:bt,restoreOuterExpressions:Hp,restoreEnclosingLabel:ld,createUseStrictPrologue:bo,copyPrologue:Lt,copyStandardPrologue:mo,copyCustomPrologue:wo,ensureUseStrict:Cs,liftToBlock:hc,mergeLexicalEnvironment:vu,updateModifiers:Kc};return u;function A(_,R){if(_===void 0||_===e.emptyArray)_=[];else if(e.isNodeArray(_)){if(R===void 0||_.hasTrailingComma===R)return _.transformFlags===void 0&&oe(_),e.Debug.attachNodeArrayDebugInfo(_),_;var he=_.slice();return he.pos=_.pos,he.end=_.end,he.hasTrailingComma=R,he.transformFlags=_.transformFlags,e.Debug.attachNodeArrayDebugInfo(he),he}var nr=_.length,$r=nr>=1&&nr<=4?_.slice():_;return e.setTextRangePosEnd($r,-1,-1),$r.hasTrailingComma=!!R,oe($r),e.Debug.attachNodeArrayDebugInfo($r),$r}function w(_){return V.createBaseNode(_)}function z(_){var R=w(_);return R.symbol=void 0,R.localSymbol=void 0,R.locals=void 0,R.nextContainer=void 0,R}function U(_,R,he){var nr=z(_);if(he=Ic(he),nr.name=he,e.canHaveModifiers(nr)&&(nr.modifiers=Ks(R),nr.transformFlags|=te(nr.modifiers)),he)switch(nr.kind){case 171:case 174:case 175:case 169:case 299:if(e.isIdentifier(he)){nr.transformFlags|=D(he);break}default:nr.transformFlags|=de(he);break}return nr}function ge(_,R,he,nr){var $r=U(_,R,he);return $r.typeParameters=Ks(nr),$r.transformFlags|=te($r.typeParameters),nr&&($r.transformFlags|=1),$r}function pe(_,R,he,nr,$r,oi){var ft=ge(_,R,he,nr);return ft.parameters=A($r),ft.type=oi,ft.transformFlags|=te(ft.parameters)|de(ft.type),oi&&(ft.transformFlags|=1),ft.typeArguments=void 0,ft}function He(_,R){return _!==R&&(_.typeArguments=R.typeArguments),h(_,R)}function Be(_,R,he,nr,$r,oi,ft){var Ja=pe(_,R,he,nr,$r,oi);return Ja.body=ft,Ja.transformFlags|=de(Ja.body)&~67108864,ft||(Ja.transformFlags|=1),Ja}function Me(_,R,he,nr,$r){var oi=ge(_,R,he,nr);return oi.heritageClauses=Ks($r),oi.transformFlags|=te(oi.heritageClauses),oi}function Le(_,R,he,nr,$r,oi){var ft=Me(_,R,he,nr,$r);return ft.members=A(oi),ft.transformFlags|=te(ft.members),ft}function Ae(_,R,he,nr){var $r=U(_,R,he);return $r.initializer=nr,$r.transformFlags|=de($r.initializer),$r}function Xe(_,R,he,nr,$r){var oi=Ae(_,R,he,$r);return oi.type=nr,oi.transformFlags|=de(nr),nr&&(oi.transformFlags|=1),oi}function Ne(_,R){var he=rn(_);return he.text=R,he}function Oe(_,R){R===void 0&&(R=0);var he=Ne(8,typeof _=="number"?_+"":_);return he.numericLiteralFlags=R,R&384&&(he.transformFlags|=1024),he}function be(_){var R=Ne(9,typeof _=="string"?_:e.pseudoBigIntToString(_)+"n");return R.transformFlags|=4,R}function Y(_,R){var he=Ne(10,_);return he.singleQuote=R,he}function d(_,R,he){var nr=Y(_,R);return nr.hasExtendedUnicodeEscape=he,he&&(nr.transformFlags|=1024),nr}function j(_){var R=Y(e.getTextOfIdentifierOrLiteral(_),void 0);return R.textSourceNode=_,R}function Ce(_){var R=Ne(13,_);return R}function Se(_,R){switch(_){case 8:return Oe(R,0);case 9:return be(R);case 10:return d(R,void 0);case 11:return Af(R,!1);case 12:return Af(R,!0);case 13:return Ce(R);case 14:return xl(_,R,void 0,0)}}function Re(_,R){R===void 0&&_&&(R=e.stringToToken(_)),R===79&&(R=void 0);var he=V.createBaseIdentifierNode(79);return he.originalKeywordKind=R,he.escapedText=e.escapeLeadingUnderscores(_),he}function er(_,R,he,nr){var $r=Re(_,void 0);return $r.autoGenerateFlags=R,$r.autoGenerateId=o,$r.autoGeneratePrefix=he,$r.autoGenerateSuffix=nr,o++,$r}function wr(_,R,he,nr){var $r=Re(_,he);return R&&($r.typeArguments=A(R)),$r.originalKeywordKind===133&&($r.transformFlags|=67108864),nr&&($r.hasExtendedUnicodeEscape=nr,$r.transformFlags|=1024),$r}function mr(_,R){return _.typeArguments!==R?h(wr(e.idText(_),R),_):_}function Ue(_,R,he,nr){var $r=1;R&&($r|=8);var oi=er("",$r,he,nr);return _&&_(oi),oi}function t(_){var R=2;return _&&(R|=8),er("",R,void 0,void 0)}function qr(_,R,he,nr){return R===void 0&&(R=0),e.Debug.assert(!(R&7),"Argument out of range: flags"),e.Debug.assert((R&(16|32))!=32,"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"),er(_,3|R,he,nr)}function ln(_,R,he,nr){R===void 0&&(R=0),e.Debug.assert(!(R&7),"Argument out of range: flags");var $r=_?e.isMemberName(_)?e.formatGeneratedName(!1,he,_,nr,e.idText):"generated@".concat(e.getNodeId(_)):"";(he||nr)&&(R|=16);var oi=er($r,4|R,he,nr);return oi.original=_,oi}function dr(_){var R=V.createBasePrivateIdentifierNode(80);return R.escapedText=e.escapeLeadingUnderscores(_),R.transformFlags|=16777216,R}function vr(_){return e.startsWith(_,"#")||e.Debug.fail("First character of private identifier must be #: "+_),dr(_)}function kr(_,R,he,nr){var $r=dr(_);return $r.autoGenerateFlags=R,$r.autoGenerateId=o,$r.autoGeneratePrefix=he,$r.autoGenerateSuffix=nr,o++,$r}function Ur(_,R,he){_&&!e.startsWith(_,"#")&&e.Debug.fail("First character of private identifier must be #: "+_);var nr=8|(_?3:1);return kr(_!=null?_:"",nr,R,he)}function Cr(_,R,he){var nr=e.isMemberName(_)?e.formatGeneratedName(!0,R,_,he,e.idText):"#generated@".concat(e.getNodeId(_)),$r=R||he?16:0,oi=kr(nr,4|$r,R,he);return oi.original=_,oi}function rn(_){return V.createBaseTokenNode(_)}function Br(_){e.Debug.assert(_>=0&&_<=162,"Invalid token"),e.Debug.assert(_<=14||_>=17,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),e.Debug.assert(_<=8||_>=14,"Invalid token. Use 'createLiteralLikeNode' to create literals."),e.Debug.assert(_!==79,"Invalid token. Use 'createIdentifier' to create identifiers");var R=rn(_),he=0;switch(_){case 132:he=256|128;break;case 123:case 121:case 122:case 146:case 126:case 136:case 85:case 131:case 148:case 160:case 144:case 149:case 101:case 145:case 161:case 152:case 134:case 153:case 114:case 157:case 155:he=1;break;case 106:he=1024|134217728;break;case 124:he=1024;break;case 127:he=16777216;break;case 108:he=16384;break}return he&&(R.transformFlags|=he),R}function pn(){return Br(106)}function ve(){return Br(108)}function or(){return Br(104)}function Ee(){return Br(110)}function ze(){return Br(95)}function Ar(_){return Br(_)}function xe(_){var R=[];return _&1&&R.push(Ar(93)),_&2&&R.push(Ar(136)),_&1024&&R.push(Ar(88)),_&2048&&R.push(Ar(85)),_&4&&R.push(Ar(123)),_&8&&R.push(Ar(121)),_&16&&R.push(Ar(122)),_&256&&R.push(Ar(126)),_&32&&R.push(Ar(124)),_&16384&&R.push(Ar(161)),_&64&&R.push(Ar(146)),_&128&&R.push(Ar(127)),_&512&&R.push(Ar(132)),_&32768&&R.push(Ar(101)),_&65536&&R.push(Ar(145)),R.length?R:void 0}function cr(_,R){var he=w(163);return he.left=_,he.right=Ic(R),he.transformFlags|=de(he.left)|D(he.right),he}function Mr(_,R,he){return _.left!==R||_.right!==he?h(cr(R,he),_):_}function Rr(_){var R=w(164);return R.expression=F().parenthesizeExpressionOfComputedPropertyName(_),R.transformFlags|=de(R.expression)|1024|131072,R}function Qr(_,R){return _.expression!==R?h(Rr(R),_):_}function en(_,R,he,nr){var $r=U(165,_,R);return $r.constraint=he,$r.default=nr,$r.transformFlags=1,$r}function vn(_,R,he,nr,$r){return _.modifiers!==R||_.name!==he||_.constraint!==nr||_.default!==$r?h(en(R,he,nr,$r),_):_}function Ie(_,R,he,nr,$r,oi){var ft=Xe(166,_,he,$r,oi&&F().parenthesizeExpressionForDisallowedComma(oi));return ft.dotDotDotToken=R,ft.questionToken=nr,e.isThisIdentifier(ft.name)?ft.transformFlags=1:(ft.transformFlags|=de(ft.dotDotDotToken)|de(ft.questionToken),nr&&(ft.transformFlags|=1),e.modifiersToFlags(ft.modifiers)&16476&&(ft.transformFlags|=8192),(oi||R)&&(ft.transformFlags|=1024)),ft}function We(_,R,he,nr,$r,oi,ft){return _.modifiers!==R||_.dotDotDotToken!==he||_.name!==nr||_.questionToken!==$r||_.type!==oi||_.initializer!==ft?h(Ie(R,he,nr,$r,oi,ft),_):_}function xr(_){var R=w(167);return R.expression=F().parenthesizeLeftSideOfAccess(_,!1),R.transformFlags|=de(R.expression)|1|8192|33554432,R}function Lr(_,R){return _.expression!==R?h(xr(R),_):_}function xn(_,R,he,nr){var $r=U(168,_,R);return $r.type=nr,$r.questionToken=he,$r.transformFlags=1,$r.initializer=void 0,$r}function An(_,R,he,nr,$r){return _.modifiers!==R||_.name!==he||_.questionToken!==nr||_.type!==$r?Qn(xn(R,he,nr,$r),_):_}function Qn(_,R){return _!==R&&(_.initializer=R.initializer),h(_,R)}function ai(_,R,he,nr,$r){var oi=Xe(169,_,R,nr,$r);return oi.questionToken=he&&e.isQuestionToken(he)?he:void 0,oi.exclamationToken=he&&e.isExclamationToken(he)?he:void 0,oi.transformFlags|=de(oi.questionToken)|de(oi.exclamationToken)|16777216,(e.isComputedPropertyName(oi.name)||e.hasStaticModifier(oi)&&oi.initializer)&&(oi.transformFlags|=8192),(he||e.modifiersToFlags(oi.modifiers)&2)&&(oi.transformFlags|=1),oi}function Dr(_,R,he,nr,$r,oi){return _.modifiers!==R||_.name!==he||_.questionToken!==(nr!==void 0&&e.isQuestionToken(nr)?nr:void 0)||_.exclamationToken!==(nr!==void 0&&e.isExclamationToken(nr)?nr:void 0)||_.type!==$r||_.initializer!==oi?h(ai(R,he,nr,$r,oi),_):_}function Pr(_,R,he,nr,$r,oi){var ft=pe(170,_,R,nr,$r,oi);return ft.questionToken=he,ft.transformFlags=1,ft}function jr(_,R,he,nr,$r,oi,ft){return _.modifiers!==R||_.name!==he||_.questionToken!==nr||_.typeParameters!==$r||_.parameters!==oi||_.type!==ft?He(Pr(R,he,nr,$r,oi,ft),_):_}function on(_,R,he,nr,$r,oi,ft,Ja){var Rs=Be(171,_,he,$r,oi,ft,Ja);return Rs.asteriskToken=R,Rs.questionToken=nr,Rs.transformFlags|=de(Rs.asteriskToken)|de(Rs.questionToken)|1024,nr&&(Rs.transformFlags|=1),e.modifiersToFlags(Rs.modifiers)&512?R?Rs.transformFlags|=128:Rs.transformFlags|=256:R&&(Rs.transformFlags|=2048),Rs.exclamationToken=void 0,Rs}function je(_,R,he,nr,$r,oi,ft,Ja,Rs){return _.modifiers!==R||_.asteriskToken!==he||_.name!==nr||_.questionToken!==$r||_.typeParameters!==oi||_.parameters!==ft||_.type!==Ja||_.body!==Rs?Sr(on(R,he,nr,$r,oi,ft,Ja,Rs),_):_}function Sr(_,R){return _!==R&&(_.exclamationToken=R.exclamationToken),h(_,R)}function Te(_){var R=ge(172,void 0,void 0,void 0);return R.body=_,R.transformFlags=de(_)|16777216,R.illegalDecorators=void 0,R.modifiers=void 0,R}function Ye(_,R){return _.body!==R?Qe(Te(R),_):_}function Qe(_,R){return _!==R&&(_.illegalDecorators=R.illegalDecorators,_.modifiers=R.modifiers),h(_,R)}function ue(_,R,he){var nr=Be(173,_,void 0,void 0,R,void 0,he);return nr.transformFlags|=1024,nr.illegalDecorators=void 0,nr.typeParameters=void 0,nr.type=void 0,nr}function Ke(_,R,he,nr){return _.modifiers!==R||_.parameters!==he||_.body!==nr?tr(ue(R,he,nr),_):_}function tr(_,R){return _!==R&&(_.illegalDecorators=R.illegalDecorators,_.typeParameters=R.typeParameters,_.type=R.type),He(_,R)}function hr(_,R,he,nr,$r){var oi=Be(174,_,R,void 0,he,nr,$r);return oi.typeParameters=void 0,oi}function _r(_,R,he,nr,$r,oi){return _.modifiers!==R||_.name!==he||_.parameters!==nr||_.type!==$r||_.body!==oi?Or(hr(R,he,nr,$r,oi),_):_}function Or(_,R){return _!==R&&(_.typeParameters=R.typeParameters),He(_,R)}function zr(_,R,he,nr){var $r=Be(175,_,R,void 0,he,void 0,nr);return $r.typeParameters=void 0,$r.type=void 0,$r}function fn(_,R,he,nr,$r){return _.modifiers!==R||_.name!==he||_.parameters!==nr||_.body!==$r?Vr(zr(R,he,nr,$r),_):_}function Vr(_,R){return _!==R&&(_.typeParameters=R.typeParameters,_.type=R.type),He(_,R)}function Wn(_,R,he){var nr=pe(176,void 0,void 0,_,R,he);return nr.transformFlags=1,nr}function bn(_,R,he,nr){return _.typeParameters!==R||_.parameters!==he||_.type!==nr?He(Wn(R,he,nr),_):_}function qn(_,R,he){var nr=pe(177,void 0,void 0,_,R,he);return nr.transformFlags=1,nr}function yn(_,R,he,nr){return _.typeParameters!==R||_.parameters!==he||_.type!==nr?He(qn(R,he,nr),_):_}function Hn(_,R,he){var nr=pe(178,_,void 0,void 0,R,he);return nr.transformFlags=1,nr}function Ai(_,R,he,nr){return _.parameters!==he||_.type!==nr||_.modifiers!==R?He(Hn(R,he,nr),_):_}function ti(_,R){var he=w(201);return he.type=_,he.literal=R,he.transformFlags=1,he}function Hi(_,R,he){return _.type!==R||_.literal!==he?h(ti(R,he),_):_}function Ni(_){return Br(_)}function gi(_,R,he){var nr=w(179);return nr.assertsModifier=_,nr.parameterName=Ic(R),nr.type=he,nr.transformFlags=1,nr}function Pn(_,R,he,nr){return _.assertsModifier!==R||_.parameterName!==he||_.type!==nr?h(gi(R,he,nr),_):_}function Pe(_,R){var he=w(180);return he.typeName=Ic(_),he.typeArguments=R&&F().parenthesizeTypeArguments(A(R)),he.transformFlags=1,he}function Ir(_,R,he){return _.typeName!==R||_.typeArguments!==he?h(Pe(R,he),_):_}function we(_,R,he){var nr=pe(181,void 0,void 0,_,R,he);return nr.transformFlags=1,nr.modifiers=void 0,nr}function hn(_,R,he,nr){return _.typeParameters!==R||_.parameters!==he||_.type!==nr?jn(we(R,he,nr),_):_}function jn(_,R){return _!==R&&(_.modifiers=R.modifiers),He(_,R)}function gn(){for(var _=[],R=0;R0;default:return!0}}function Kp(_,R,he,nr){nr===void 0&&(nr=!1);var $r=e.skipOuterExpressions(_,15),oi,ft;return e.isSuperProperty($r)?(oi=ve(),ft=$r):e.isSuperKeyword($r)?(oi=ve(),ft=he!==void 0&&he<2?e.setTextRange(wr("_super"),$r):$r):e.getEmitFlags($r)&4096?(oi=Nu(),ft=F().parenthesizeLeftSideOfAccess($r,!1)):e.isPropertyAccessExpression($r)?fd($r.expression,nr)?(oi=Ue(R),ft=Ia(e.setTextRange(u.createAssignment(oi,$r.expression),$r.expression),$r.name),e.setTextRange(ft,$r)):(oi=$r.expression,ft=$r):e.isElementAccessExpression($r)?fd($r.expression,nr)?(oi=Ue(R),ft=ac(e.setTextRange(u.createAssignment(oi,$r.expression),$r.expression),$r.argumentExpression),e.setTextRange(ft,$r)):(oi=$r.expression,ft=$r):(oi=Nu(),ft=F().parenthesizeLeftSideOfAccess(_,!1)),{target:ft,thisArg:oi}}function Fe(_,R){return Ia(Er(la([zr(void 0,"value",[Ie(void 0,void 0,_,void 0,void 0,void 0)],fe([gt(R)]))])),"value")}function gr(_){return _.length>10?Wa(_):e.reduceLeft(_,u.createComma)}function Yr(_,R,he,nr){nr===void 0&&(nr=0);var $r=e.getNameOfDeclaration(_);if($r&&e.isIdentifier($r)&&!e.isGeneratedIdentifier($r)){var oi=e.setParent(e.setTextRange(Bc($r),$r),$r.parent);return nr|=e.getEmitFlags($r),he||(nr|=48),R||(nr|=1536),nr&&e.setEmitFlags(oi,nr),oi}return ln(_)}function mn(_,R,he){return Yr(_,R,he,16384|32768)}function Un(_,R,he){return Yr(_,R,he,16384)}function ci(_,R,he){return Yr(_,R,he,8192)}function tt(_,R,he){return Yr(_,R,he)}function mt(_,R,he,nr){var $r=Ia(_,e.nodeIsSynthesized(R)?R:Bc(R));e.setTextRange($r,R);var oi=0;return nr||(oi|=48),he||(oi|=1536),oi&&e.setEmitFlags($r,oi),$r}function bt(_,R,he,nr){return _&&e.hasSyntacticModifier(R,1)?mt(_,Yr(R),he,nr):ci(R,he,nr)}function Lt(_,R,he,nr){var $r=mo(_,R,0,he);return wo(_,R,$r,nr)}function Oa(_){return e.isStringLiteral(_.expression)&&_.expression.text==="use strict"}function bo(){return e.startOnNewLine(gt(d("use strict")))}function mo(_,R,he,nr){he===void 0&&(he=0),e.Debug.assert(R.length===0,"Prologue directives should be at the first statement in the target statements array");for(var $r=!1,oi=_.length;heJa&&Li.splice.apply(Li,zn([$r,0],R.slice(Ja,Rs),!1)),Ja>ft&&Li.splice.apply(Li,zn([nr,0],R.slice(ft,Ja),!1)),ft>oi&&Li.splice.apply(Li,zn([he,0],R.slice(oi,ft),!1)),oi>0)if(he===0)Li.splice.apply(Li,zn([0,0],R.slice(0,oi),!1));else{for(var ju=new e.Map,yu=0;yu=0;yu--){var Of=R[yu];ju.has(Of.expression.text)||Li.unshift(Of)}}return e.isNodeArray(_)?e.setTextRange(A(Li,_.hasTrailingComma),_):_}function Kc(_,R){var he,nr;return typeof R=="number"?nr=xe(R):nr=R,e.isTypeParameterDeclaration(_)?vn(_,nr,_.name,_.constraint,_.default):e.isParameter(_)?We(_,nr,_.dotDotDotToken,_.name,_.questionToken,_.type,_.initializer):e.isConstructorTypeNode(_)?On(_,nr,_.typeParameters,_.parameters,_.type):e.isPropertySignature(_)?An(_,nr,_.name,_.questionToken,_.type):e.isPropertyDeclaration(_)?Dr(_,nr,_.name,(he=_.questionToken)!==null&&he!==void 0?he:_.exclamationToken,_.type,_.initializer):e.isMethodSignature(_)?jr(_,nr,_.name,_.questionToken,_.typeParameters,_.parameters,_.type):e.isMethodDeclaration(_)?je(_,nr,_.asteriskToken,_.name,_.questionToken,_.typeParameters,_.parameters,_.type,_.body):e.isConstructorDeclaration(_)?Ke(_,nr,_.parameters,_.body):e.isGetAccessorDeclaration(_)?_r(_,nr,_.name,_.parameters,_.type,_.body):e.isSetAccessorDeclaration(_)?fn(_,nr,_.name,_.parameters,_.body):e.isIndexSignatureDeclaration(_)?Ai(_,nr,_.parameters,_.type):e.isFunctionExpression(_)?Ii(_,nr,_.asteriskToken,_.name,_.typeParameters,_.parameters,_.type,_.body):e.isArrowFunction(_)?Ji(_,nr,_.typeParameters,_.parameters,_.type,_.equalsGreaterThanToken,_.body):e.isClassExpression(_)?ui(_,nr,_.name,_.typeParameters,_.heritageClauses,_.members):e.isVariableStatement(_)?Fn(_,nr,_.declarationList):e.isFunctionDeclaration(_)?Qt(_,nr,_.asteriskToken,_.name,_.typeParameters,_.parameters,_.type,_.body):e.isClassDeclaration(_)?Wc(_,nr,_.name,_.typeParameters,_.heritageClauses,_.members):e.isInterfaceDeclaration(_)?Sf(_,nr,_.name,_.typeParameters,_.heritageClauses,_.members):e.isTypeAliasDeclaration(_)?is(_,nr,_.name,_.typeParameters,_.type):e.isEnumDeclaration(_)?Yu(_,nr,_.name,_.members):e.isModuleDeclaration(_)?gp(_,nr,_.name,_.body):e.isImportEqualsDeclaration(_)?Al(_,nr,_.isTypeOnly,_.name,_.moduleReference):e.isImportDeclaration(_)?yp(_,nr,_.importClause,_.moduleSpecifier,_.assertClause):e.isExportAssignment(_)?Cf(_,nr,_.expression):e.isExportDeclaration(_)?Ru(_,nr,_.isTypeOnly,_.exportClause,_.moduleSpecifier,_.assertClause):e.Debug.assertNever(_)}function Ks(_){return _?A(_):void 0}function Ic(_){return typeof _=="string"?wr(_):_}function ol(_){return typeof _=="string"?d(_):typeof _=="number"?Oe(_):typeof _=="boolean"?_?Ee():ze():_}function i_(_){return typeof _=="number"?Br(_):_}function Js(_){return _&&e.isNotEmittedStatement(_)?e.setTextRange(De(Si(),_),_):_}}e.createNodeFactory=K;function se(H,V){return H!==V&&e.setTextRange(H,V),H}function O(H,V){return H!==V&&(De(H,V),e.setTextRange(H,V)),H}function ie(H){switch(H){case 346:return"type";case 344:return"returns";case 345:return"this";case 342:return"enum";case 333:return"author";case 335:return"class";case 336:return"public";case 337:return"private";case 338:return"protected";case 339:return"readonly";case 340:return"override";case 347:return"template";case 348:return"typedef";case 343:return"param";case 350:return"prop";case 341:return"callback";case 331:return"augments";case 332:return"implements";default:return e.Debug.fail("Unsupported kind: ".concat(e.Debug.formatSyntaxKind(H)))}}var _e,Q={};function p(H,V){switch(_e||(_e=e.createScanner(99,!1,0)),H){case 14:_e.setText("`"+V+"`");break;case 15:_e.setText("`"+V+"${");break;case 16:_e.setText("}"+V+"${");break;case 17:_e.setText("}"+V+"`");break}var h=_e.scan();if(h===19&&(h=_e.reScanTemplateToken(!1)),_e.isUnterminated())return _e.setText(void 0),Q;var F;switch(h){case 14:case 15:case 16:case 17:F=_e.getTokenValue();break}return F===void 0||_e.scan()!==1?(_e.setText(void 0),Q):(_e.setText(void 0),F)}function D(H){return de(H)&~67108864}function le(H,V){return V|H.transformFlags&134234112}function de(H){if(!H)return 0;var V=H.transformFlags&~ae(H.kind);return e.isNamedDeclaration(H)&&e.isPropertyName(H.name)?le(H.name,V):V}function te(H){return H?H.transformFlags:0}function oe(H){for(var V=0,h=0,F=H;h=179&&H<=202)return-2;switch(H){case 210:case 211:case 206:return-2147450880;case 264:return-1941676032;case 166:return-2147483648;case 216:return-2072174592;case 215:case 259:return-1937940480;case 258:return-2146893824;case 260:case 228:return-2147344384;case 173:return-1937948672;case 169:return-2013249536;case 171:case 174:case 175:return-2005057536;case 131:case 148:case 160:case 144:case 152:case 149:case 134:case 153:case 114:case 165:case 168:case 170:case 176:case 177:case 178:case 261:case 262:return-2;case 207:return-2147278848;case 295:return-2147418112;case 203:case 204:return-2147450880;case 213:case 235:case 231:case 353:case 214:case 106:return-2147483648;case 208:case 209:return-2147483648;default:return-2147483648}}e.getTransformFlagsSubtreeExclusions=ae;var E=e.createBaseNodeFactory();function I(H){return H.flags|=8,H}var f={createBaseSourceFileNode:function(H){return I(E.createBaseSourceFileNode(H))},createBaseIdentifierNode:function(H){return I(E.createBaseIdentifierNode(H))},createBasePrivateIdentifierNode:function(H){return I(E.createBasePrivateIdentifierNode(H))},createBaseTokenNode:function(H){return I(E.createBaseTokenNode(H))},createBaseNode:function(H){return I(E.createBaseNode(H))}};e.factory=K(4,f);function m(H,V,h){var F,$,L,P,N,J,q,G,ye,b;e.isString(H)?(L="",P=H,N=H.length,J=V,q=h):(e.Debug.assert(V==="js"||V==="dts"),L=(V==="js"?H.javascriptPath:H.declarationPath)||"",J=V==="js"?H.javascriptMapPath:H.declarationMapPath,G=function(){return V==="js"?H.javascriptText:H.declarationText},ye=function(){return V==="js"?H.javascriptMapText:H.declarationMapText},N=function(){return G().length},H.buildInfo&&H.buildInfo.bundle&&(e.Debug.assert(h===void 0||typeof h=="boolean"),F=h,$=V==="js"?H.buildInfo.bundle.js:H.buildInfo.bundle.dts,b=H.oldFileOfCurrentEmit));var x=b?S(e.Debug.checkDefined($)):y($,F,N);return x.fileName=L,x.sourceMapPath=J,x.oldFileOfCurrentEmit=b,G&&ye?(Object.defineProperty(x,"text",{get:G}),Object.defineProperty(x,"sourceMapText",{get:ye})):(e.Debug.assert(!b),x.text=P!=null?P:"",x.sourceMapText=q),x}e.createUnparsedSourceFile=m;function y(H,V,h){for(var F,$,L,P,N,J,q,G,ye=0,b=H?H.sections:e.emptyArray;ye0&&(q[b-ye]=x)}ye>0&&(q.length-=ye)}}e.moveEmitHelpers=M;function H(L){var P;return(P=L.emitNode)===null||P===void 0?void 0:P.snippetElement}e.getSnippetElement=H;function V(L,P){var N=o(L);return N.snippetElement=P,L}e.setSnippetElement=V;function h(L){return o(L).flags|=134217728,L}e.ignoreSourceNewlines=h;function F(L,P){var N=o(L);return N.typeNode=P,L}e.setTypeNode=F;function $(L){var P;return(P=L.emitNode)===null||P===void 0?void 0:P.typeNode}e.getTypeNode=$})(fr||(fr={}));var fr;(function(e){function o(_e){var Q=_e.factory,p=e.memoize(function(){return e.setEmitFlags(Q.createTrue(),268435456)}),D=e.memoize(function(){return e.setEmitFlags(Q.createFalse(),268435456)});return{getUnscopedHelperName:le,createDecorateHelper:de,createMetadataHelper:te,createParamHelper:oe,createAssignHelper:ae,createAwaitHelper:E,createAsyncGeneratorHelper:I,createAsyncDelegatorHelper:f,createAsyncValuesHelper:m,createRestHelper:y,createAwaiterHelper:S,createExtendsHelper:k,createTemplateObjectHelper:C,createSpreadArrayHelper:me,createValuesHelper:De,createReadHelper:X,createGeneratorHelper:M,createCreateBindingHelper:H,createImportStarHelper:V,createImportStarCallbackHelper:h,createImportDefaultHelper:F,createExportStarHelper:$,createClassPrivateFieldGetHelper:L,createClassPrivateFieldSetHelper:P,createClassPrivateFieldInHelper:N};function le(J){return e.setEmitFlags(Q.createIdentifier(J),4096|2)}function de(J,q,G,ye){_e.requestEmitHelper(e.decorateHelper);var b=[];return b.push(Q.createArrayLiteralExpression(J,!0)),b.push(q),G&&(b.push(G),ye&&b.push(ye)),Q.createCallExpression(le("__decorate"),void 0,b)}function te(J,q){return _e.requestEmitHelper(e.metadataHelper),Q.createCallExpression(le("__metadata"),void 0,[Q.createStringLiteral(J),q])}function oe(J,q,G){return _e.requestEmitHelper(e.paramHelper),e.setTextRange(Q.createCallExpression(le("__param"),void 0,[Q.createNumericLiteral(q+""),J]),G)}function ae(J){return e.getEmitScriptTarget(_e.getCompilerOptions())>=2?Q.createCallExpression(Q.createPropertyAccessExpression(Q.createIdentifier("Object"),"assign"),void 0,J):(_e.requestEmitHelper(e.assignHelper),Q.createCallExpression(le("__assign"),void 0,J))}function E(J){return _e.requestEmitHelper(e.awaitHelper),Q.createCallExpression(le("__await"),void 0,[J])}function I(J,q){return _e.requestEmitHelper(e.awaitHelper),_e.requestEmitHelper(e.asyncGeneratorHelper),(J.emitNode||(J.emitNode={})).flags|=262144|524288,Q.createCallExpression(le("__asyncGenerator"),void 0,[q?Q.createThis():Q.createVoidZero(),Q.createIdentifier("arguments"),J])}function f(J){return _e.requestEmitHelper(e.awaitHelper),_e.requestEmitHelper(e.asyncDelegator),Q.createCallExpression(le("__asyncDelegator"),void 0,[J])}function m(J){return _e.requestEmitHelper(e.asyncValues),Q.createCallExpression(le("__asyncValues"),void 0,[J])}function y(J,q,G,ye){_e.requestEmitHelper(e.restHelper);for(var b=[],x=0,T=0;T= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; };`},e.metadataHelper={name:"typescript:metadata",importName:"__metadata",scoped:!1,priority:3,text:` var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); };`},e.paramHelper={name:"typescript:param",importName:"__param",scoped:!1,priority:4,text:` var __param = (this && this.__param) || function (paramIndex, decorator) { return function (target, key) { decorator(target, key, paramIndex); } };`},e.assignHelper={name:"typescript:assign",importName:"__assign",scoped:!1,priority:1,text:` var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } return t; }; return __assign.apply(this, arguments); };`},e.awaitHelper={name:"typescript:await",importName:"__await",scoped:!1,text:` var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }`},e.asyncGeneratorHelper={name:"typescript:asyncGenerator",importName:"__asyncGenerator",scoped:!1,dependencies:[e.awaitHelper],text:` var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } function fulfill(value) { resume("next", value); } function reject(value) { resume("throw", value); } function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } };`},e.asyncDelegator={name:"typescript:asyncDelegator",importName:"__asyncDelegator",scoped:!1,dependencies:[e.awaitHelper],text:` var __asyncDelegator = (this && this.__asyncDelegator) || function (o) { var i, p; return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } };`},e.asyncValues={name:"typescript:asyncValues",importName:"__asyncValues",scoped:!1,text:` var __asyncValues = (this && this.__asyncValues) || function (o) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var m = o[Symbol.asyncIterator], i; return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } };`},e.restHelper={name:"typescript:rest",importName:"__rest",scoped:!1,text:` var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; } return t; };`},e.awaiterHelper={name:"typescript:awaiter",importName:"__awaiter",scoped:!1,priority:5,text:` var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } step((generator = generator.apply(thisArg, _arguments || [])).next()); }); };`},e.extendsHelper={name:"typescript:extends",importName:"__extends",scoped:!1,priority:0,text:` var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })();`},e.templateObjectHelper={name:"typescript:makeTemplateObject",importName:"__makeTemplateObject",scoped:!1,priority:0,text:` var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } return cooked; };`},e.readHelper={name:"typescript:read",importName:"__read",scoped:!1,text:` var __read = (this && this.__read) || function (o, n) { var m = typeof Symbol === "function" && o[Symbol.iterator]; if (!m) return o; var i = m.call(o), r, ar = [], e; try { while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); } catch (error) { e = { error: error }; } finally { try { if (r && !r.done && (m = i["return"])) m.call(i); } finally { if (e) throw e.error; } } return ar; };`},e.spreadArrayHelper={name:"typescript:spreadArray",importName:"__spreadArray",scoped:!1,text:` var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { if (ar || !(i in from)) { if (!ar) ar = Array.prototype.slice.call(from, 0, i); ar[i] = from[i]; } } return to.concat(ar || Array.prototype.slice.call(from)); };`},e.valuesHelper={name:"typescript:values",importName:"__values",scoped:!1,text:` var __values = (this && this.__values) || function(o) { var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; if (m) return m.call(o); if (o && typeof o.length === "number") return { next: function () { if (o && i >= o.length) o = void 0; return { value: o && o[i++], done: !o }; } }; throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); };`},e.generatorHelper={name:"typescript:generator",importName:"__generator",scoped:!1,priority:6,text:` var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); while (g && (g = 0, op[0] && (_ = 0)), _) try { if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; if (y = 0, t) op = [op[0] & 2, t.value]; switch (op[0]) { case 0: case 1: t = op; break; case 4: _.label++; return { value: op[1], done: false }; case 5: _.label++; y = op[1]; op = [0]; continue; case 7: op = _.ops.pop(); _.trys.pop(); continue; default: if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } if (t[2]) _.ops.pop(); _.trys.pop(); continue; } op = body.call(thisArg, _); } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; } };`},e.createBindingHelper={name:"typescript:commonjscreatebinding",importName:"__createBinding",scoped:!1,priority:1,text:` var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { desc = { enumerable: true, get: function() { return m[k]; } }; } Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; }));`},e.setModuleDefaultHelper={name:"typescript:commonjscreatevalue",importName:"__setModuleDefault",scoped:!1,priority:1,text:` var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { Object.defineProperty(o, "default", { enumerable: true, value: v }); }) : function(o, v) { o["default"] = v; });`},e.importStarHelper={name:"typescript:commonjsimportstar",importName:"__importStar",scoped:!1,dependencies:[e.createBindingHelper,e.setModuleDefaultHelper],priority:2,text:` var __importStar = (this && this.__importStar) || function (mod) { if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); __setModuleDefault(result, mod); return result; };`},e.importDefaultHelper={name:"typescript:commonjsimportdefault",importName:"__importDefault",scoped:!1,text:` var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; };`},e.exportStarHelper={name:"typescript:export-star",importName:"__exportStar",scoped:!1,dependencies:[e.createBindingHelper],priority:2,text:` var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); };`},e.classPrivateFieldGetHelper={name:"typescript:classPrivateFieldGet",importName:"__classPrivateFieldGet",scoped:!1,text:` var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver); };`},e.classPrivateFieldSetHelper={name:"typescript:classPrivateFieldSet",importName:"__classPrivateFieldSet",scoped:!1,text:` var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { if (kind === "m") throw new TypeError("Private method is not writable"); if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it"); return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value; };`},e.classPrivateFieldInHelper={name:"typescript:classPrivateFieldIn",importName:"__classPrivateFieldIn",scoped:!1,text:` var __classPrivateFieldIn = (this && this.__classPrivateFieldIn) || function(state, receiver) { if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object"); return typeof state === "function" ? receiver === state : state.has(receiver); };`};var se;function O(){return se||(se=e.arrayToMap([e.decorateHelper,e.metadataHelper,e.paramHelper,e.assignHelper,e.awaitHelper,e.asyncGeneratorHelper,e.asyncDelegator,e.asyncValues,e.restHelper,e.awaiterHelper,e.extendsHelper,e.templateObjectHelper,e.spreadArrayHelper,e.valuesHelper,e.readHelper,e.generatorHelper,e.importStarHelper,e.importDefaultHelper,e.exportStarHelper,e.classPrivateFieldGetHelper,e.classPrivateFieldSetHelper,e.classPrivateFieldInHelper,e.createBindingHelper,e.setModuleDefaultHelper],function(_e){return _e.name}))}e.getAllUnscopedEmitHelpers=O,e.asyncSuperHelper={name:"typescript:async-super",scoped:!0,text:K(Yg([` const `," = name => super[name];"],[` const `," = name => super[name];"]),"_superIndex")},e.advancedAsyncSuperHelper={name:"typescript:advanced-async-super",scoped:!0,text:K(Yg([` const `,` = (function (geti, seti) { const cache = Object.create(null); return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } }); })(name => super[name], (name, value) => super[name] = value);`],[` const `,` = (function (geti, seti) { const cache = Object.create(null); return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } }); })(name => super[name], (name, value) => super[name] = value);`]),"_superIndex")};function ie(_e,Q){return e.isCallExpression(_e)&&e.isIdentifier(_e.expression)&&(e.getEmitFlags(_e.expression)&4096)!=0&&_e.expression.escapedText===Q}e.isCallToHelper=ie})(fr||(fr={}));var fr;(function(e){function o(Nr){return Nr.kind===8}e.isNumericLiteral=o;function ne(Nr){return Nr.kind===9}e.isBigIntLiteral=ne;function K(Nr){return Nr.kind===10}e.isStringLiteral=K;function se(Nr){return Nr.kind===11}e.isJsxText=se;function O(Nr){return Nr.kind===13}e.isRegularExpressionLiteral=O;function ie(Nr){return Nr.kind===14}e.isNoSubstitutionTemplateLiteral=ie;function _e(Nr){return Nr.kind===15}e.isTemplateHead=_e;function Q(Nr){return Nr.kind===16}e.isTemplateMiddle=Q;function p(Nr){return Nr.kind===17}e.isTemplateTail=p;function D(Nr){return Nr.kind===25}e.isDotDotDotToken=D;function le(Nr){return Nr.kind===27}e.isCommaToken=le;function de(Nr){return Nr.kind===39}e.isPlusToken=de;function te(Nr){return Nr.kind===40}e.isMinusToken=te;function oe(Nr){return Nr.kind===41}e.isAsteriskToken=oe;function ae(Nr){return Nr.kind===53}e.isExclamationToken=ae;function E(Nr){return Nr.kind===57}e.isQuestionToken=E;function I(Nr){return Nr.kind===58}e.isColonToken=I;function f(Nr){return Nr.kind===28}e.isQuestionDotToken=f;function m(Nr){return Nr.kind===38}e.isEqualsGreaterThanToken=m;function y(Nr){return Nr.kind===79}e.isIdentifier=y;function S(Nr){return Nr.kind===80}e.isPrivateIdentifier=S;function k(Nr){return Nr.kind===93}e.isExportModifier=k;function C(Nr){return Nr.kind===132}e.isAsyncModifier=C;function me(Nr){return Nr.kind===129}e.isAssertsKeyword=me;function De(Nr){return Nr.kind===133}e.isAwaitKeyword=De;function X(Nr){return Nr.kind===146}e.isReadonlyKeyword=X;function M(Nr){return Nr.kind===124}e.isStaticModifier=M;function H(Nr){return Nr.kind===126}e.isAbstractModifier=H;function V(Nr){return Nr.kind===161}e.isOverrideModifier=V;function h(Nr){return Nr.kind===127}e.isAccessorModifier=h;function F(Nr){return Nr.kind===106}e.isSuperKeyword=F;function $(Nr){return Nr.kind===100}e.isImportKeyword=$;function L(Nr){return Nr.kind===163}e.isQualifiedName=L;function P(Nr){return Nr.kind===164}e.isComputedPropertyName=P;function N(Nr){return Nr.kind===165}e.isTypeParameterDeclaration=N;function J(Nr){return Nr.kind===166}e.isParameter=J;function q(Nr){return Nr.kind===167}e.isDecorator=q;function G(Nr){return Nr.kind===168}e.isPropertySignature=G;function ye(Nr){return Nr.kind===169}e.isPropertyDeclaration=ye;function b(Nr){return Nr.kind===170}e.isMethodSignature=b;function x(Nr){return Nr.kind===171}e.isMethodDeclaration=x;function T(Nr){return Nr.kind===172}e.isClassStaticBlockDeclaration=T;function Z(Nr){return Nr.kind===173}e.isConstructorDeclaration=Z;function B(Nr){return Nr.kind===174}e.isGetAccessorDeclaration=B;function u(Nr){return Nr.kind===175}e.isSetAccessorDeclaration=u;function A(Nr){return Nr.kind===176}e.isCallSignatureDeclaration=A;function w(Nr){return Nr.kind===177}e.isConstructSignatureDeclaration=w;function z(Nr){return Nr.kind===178}e.isIndexSignatureDeclaration=z;function U(Nr){return Nr.kind===179}e.isTypePredicateNode=U;function ge(Nr){return Nr.kind===180}e.isTypeReferenceNode=ge;function pe(Nr){return Nr.kind===181}e.isFunctionTypeNode=pe;function He(Nr){return Nr.kind===182}e.isConstructorTypeNode=He;function Be(Nr){return Nr.kind===183}e.isTypeQueryNode=Be;function Me(Nr){return Nr.kind===184}e.isTypeLiteralNode=Me;function Le(Nr){return Nr.kind===185}e.isArrayTypeNode=Le;function Ae(Nr){return Nr.kind===186}e.isTupleTypeNode=Ae;function Xe(Nr){return Nr.kind===199}e.isNamedTupleMember=Xe;function Ne(Nr){return Nr.kind===187}e.isOptionalTypeNode=Ne;function Oe(Nr){return Nr.kind===188}e.isRestTypeNode=Oe;function be(Nr){return Nr.kind===189}e.isUnionTypeNode=be;function Y(Nr){return Nr.kind===190}e.isIntersectionTypeNode=Y;function d(Nr){return Nr.kind===191}e.isConditionalTypeNode=d;function j(Nr){return Nr.kind===192}e.isInferTypeNode=j;function Ce(Nr){return Nr.kind===193}e.isParenthesizedTypeNode=Ce;function Se(Nr){return Nr.kind===194}e.isThisTypeNode=Se;function Re(Nr){return Nr.kind===195}e.isTypeOperatorNode=Re;function er(Nr){return Nr.kind===196}e.isIndexedAccessTypeNode=er;function wr(Nr){return Nr.kind===197}e.isMappedTypeNode=wr;function mr(Nr){return Nr.kind===198}e.isLiteralTypeNode=mr;function Ue(Nr){return Nr.kind===202}e.isImportTypeNode=Ue;function t(Nr){return Nr.kind===201}e.isTemplateLiteralTypeSpan=t;function qr(Nr){return Nr.kind===200}e.isTemplateLiteralTypeNode=qr;function ln(Nr){return Nr.kind===203}e.isObjectBindingPattern=ln;function dr(Nr){return Nr.kind===204}e.isArrayBindingPattern=dr;function vr(Nr){return Nr.kind===205}e.isBindingElement=vr;function kr(Nr){return Nr.kind===206}e.isArrayLiteralExpression=kr;function Ur(Nr){return Nr.kind===207}e.isObjectLiteralExpression=Ur;function Cr(Nr){return Nr.kind===208}e.isPropertyAccessExpression=Cr;function rn(Nr){return Nr.kind===209}e.isElementAccessExpression=rn;function Br(Nr){return Nr.kind===210}e.isCallExpression=Br;function pn(Nr){return Nr.kind===211}e.isNewExpression=pn;function ve(Nr){return Nr.kind===212}e.isTaggedTemplateExpression=ve;function or(Nr){return Nr.kind===213}e.isTypeAssertionExpression=or;function Ee(Nr){return Nr.kind===214}e.isParenthesizedExpression=Ee;function ze(Nr){return Nr.kind===215}e.isFunctionExpression=ze;function Ar(Nr){return Nr.kind===216}e.isArrowFunction=Ar;function xe(Nr){return Nr.kind===217}e.isDeleteExpression=xe;function cr(Nr){return Nr.kind===218}e.isTypeOfExpression=cr;function Mr(Nr){return Nr.kind===219}e.isVoidExpression=Mr;function Rr(Nr){return Nr.kind===220}e.isAwaitExpression=Rr;function Qr(Nr){return Nr.kind===221}e.isPrefixUnaryExpression=Qr;function en(Nr){return Nr.kind===222}e.isPostfixUnaryExpression=en;function vn(Nr){return Nr.kind===223}e.isBinaryExpression=vn;function Ie(Nr){return Nr.kind===224}e.isConditionalExpression=Ie;function We(Nr){return Nr.kind===225}e.isTemplateExpression=We;function xr(Nr){return Nr.kind===226}e.isYieldExpression=xr;function Lr(Nr){return Nr.kind===227}e.isSpreadElement=Lr;function xn(Nr){return Nr.kind===228}e.isClassExpression=xn;function An(Nr){return Nr.kind===229}e.isOmittedExpression=An;function Qn(Nr){return Nr.kind===230}e.isExpressionWithTypeArguments=Qn;function ai(Nr){return Nr.kind===231}e.isAsExpression=ai;function Dr(Nr){return Nr.kind===235}e.isSatisfiesExpression=Dr;function Pr(Nr){return Nr.kind===232}e.isNonNullExpression=Pr;function jr(Nr){return Nr.kind===233}e.isMetaProperty=jr;function on(Nr){return Nr.kind===234}e.isSyntheticExpression=on;function je(Nr){return Nr.kind===353}e.isPartiallyEmittedExpression=je;function Sr(Nr){return Nr.kind===354}e.isCommaListExpression=Sr;function Te(Nr){return Nr.kind===236}e.isTemplateSpan=Te;function Ye(Nr){return Nr.kind===237}e.isSemicolonClassElement=Ye;function Qe(Nr){return Nr.kind===238}e.isBlock=Qe;function ue(Nr){return Nr.kind===240}e.isVariableStatement=ue;function Ke(Nr){return Nr.kind===239}e.isEmptyStatement=Ke;function tr(Nr){return Nr.kind===241}e.isExpressionStatement=tr;function hr(Nr){return Nr.kind===242}e.isIfStatement=hr;function _r(Nr){return Nr.kind===243}e.isDoStatement=_r;function Or(Nr){return Nr.kind===244}e.isWhileStatement=Or;function zr(Nr){return Nr.kind===245}e.isForStatement=zr;function fn(Nr){return Nr.kind===246}e.isForInStatement=fn;function Vr(Nr){return Nr.kind===247}e.isForOfStatement=Vr;function Wn(Nr){return Nr.kind===248}e.isContinueStatement=Wn;function bn(Nr){return Nr.kind===249}e.isBreakStatement=bn;function qn(Nr){return Nr.kind===250}e.isReturnStatement=qn;function yn(Nr){return Nr.kind===251}e.isWithStatement=yn;function Hn(Nr){return Nr.kind===252}e.isSwitchStatement=Hn;function Ai(Nr){return Nr.kind===253}e.isLabeledStatement=Ai;function ti(Nr){return Nr.kind===254}e.isThrowStatement=ti;function Hi(Nr){return Nr.kind===255}e.isTryStatement=Hi;function Ni(Nr){return Nr.kind===256}e.isDebuggerStatement=Ni;function gi(Nr){return Nr.kind===257}e.isVariableDeclaration=gi;function Pn(Nr){return Nr.kind===258}e.isVariableDeclarationList=Pn;function Pe(Nr){return Nr.kind===259}e.isFunctionDeclaration=Pe;function Ir(Nr){return Nr.kind===260}e.isClassDeclaration=Ir;function we(Nr){return Nr.kind===261}e.isInterfaceDeclaration=we;function hn(Nr){return Nr.kind===262}e.isTypeAliasDeclaration=hn;function jn(Nr){return Nr.kind===263}e.isEnumDeclaration=jn;function gn(Nr){return Nr.kind===264}e.isModuleDeclaration=gn;function nn(Nr){return Nr.kind===265}e.isModuleBlock=nn;function Cn(Nr){return Nr.kind===266}e.isCaseBlock=Cn;function Dn(Nr){return Nr.kind===267}e.isNamespaceExportDeclaration=Dn;function On(Nr){return Nr.kind===268}e.isImportEqualsDeclaration=On;function Xn(Nr){return Nr.kind===269}e.isImportDeclaration=Xn;function Ge(Nr){return Nr.kind===270}e.isImportClause=Ge;function cn(Nr){return Nr.kind===298}e.isImportTypeAssertionContainer=cn;function Vn(Nr){return Nr.kind===296}e.isAssertClause=Vn;function Ki(Nr){return Nr.kind===297}e.isAssertEntry=Ki;function dt(Nr){return Nr.kind===271}e.isNamespaceImport=dt;function qi(Nr){return Nr.kind===277}e.isNamespaceExport=qi;function Ci(Nr){return Nr.kind===272}e.isNamedImports=Ci;function Tt(Nr){return Nr.kind===273}e.isImportSpecifier=Tt;function ot(Nr){return Nr.kind===274}e.isExportAssignment=ot;function Zi(Nr){return Nr.kind===275}e.isExportDeclaration=Zi;function ni(Nr){return Nr.kind===276}e.isNamedExports=ni;function Va(Nr){return Nr.kind===278}e.isExportSpecifier=Va;function Ua(Nr){return Nr.kind===279}e.isMissingDeclaration=Ua;function za(Nr){return Nr.kind===352}e.isNotEmittedStatement=za;function Co(Nr){return Nr.kind===357}e.isSyntheticReference=Co;function Ea(Nr){return Nr.kind===355}e.isMergeDeclarationMarker=Ea;function ho(Nr){return Nr.kind===356}e.isEndOfDeclarationMarker=ho;function Aa(Nr){return Nr.kind===280}e.isExternalModuleReference=Aa;function Vi(Nr){return Nr.kind===281}e.isJsxElement=Vi;function Xi(Nr){return Nr.kind===282}e.isJsxSelfClosingElement=Xi;function ao(Nr){return Nr.kind===283}e.isJsxOpeningElement=ao;function fo(Nr){return Nr.kind===284}e.isJsxClosingElement=fo;function As(Nr){return Nr.kind===285}e.isJsxFragment=As;function so(Nr){return Nr.kind===286}e.isJsxOpeningFragment=so;function Xo(Nr){return Nr.kind===287}e.isJsxClosingFragment=Xo;function Ho(Nr){return Nr.kind===288}e.isJsxAttribute=Ho;function Zo(Nr){return Nr.kind===289}e.isJsxAttributes=Zo;function To(Nr){return Nr.kind===290}e.isJsxSpreadAttribute=To;function pr(Nr){return Nr.kind===291}e.isJsxExpression=pr;function Fr(Nr){return Nr.kind===292}e.isCaseClause=Fr;function yi(Nr){return Nr.kind===293}e.isDefaultClause=yi;function Dt(Nr){return Nr.kind===294}e.isHeritageClause=Dt;function Ft(Nr){return Nr.kind===295}e.isCatchClause=Ft;function Pa(Nr){return Nr.kind===299}e.isPropertyAssignment=Pa;function Ve(Nr){return Nr.kind===300}e.isShorthandPropertyAssignment=Ve;function tn(Nr){return Nr.kind===301}e.isSpreadAssignment=tn;function Nn(Nr){return Nr.kind===302}e.isEnumMember=Nn;function wn(Nr){return Nr.kind===304}e.isUnparsedPrepend=wn;function Je(Nr){return Nr.kind===308}e.isSourceFile=Je;function ur(Nr){return Nr.kind===309}e.isBundle=ur;function yr(Nr){return Nr.kind===310}e.isUnparsedSource=yr;function Jr(Nr){return Nr.kind===312}e.isJSDocTypeExpression=Jr;function Mn(Nr){return Nr.kind===313}e.isJSDocNameReference=Mn;function _i(Nr){return Nr.kind===314}e.isJSDocMemberName=_i;function di(Nr){return Nr.kind===327}e.isJSDocLink=di;function fi(Nr){return Nr.kind===328}e.isJSDocLinkCode=fi;function Nt(Nr){return Nr.kind===329}e.isJSDocLinkPlain=Nt;function Gt(Nr){return Nr.kind===315}e.isJSDocAllType=Gt;function la(Nr){return Nr.kind===316}e.isJSDocUnknownType=la;function na(Nr){return Nr.kind===317}e.isJSDocNullableType=na;function Ia(Nr){return Nr.kind===318}e.isJSDocNonNullableType=Ia;function bs(Nr){return Nr.kind===319}e.isJSDocOptionalType=bs;function ds(Nr){return Nr.kind===320}e.isJSDocFunctionType=ds;function ps(Nr){return Nr.kind===321}e.isJSDocVariadicType=ps;function ac(Nr){return Nr.kind===322}e.isJSDocNamepathType=ac;function Es(Nr){return Nr.kind===323}e.isJSDoc=Es;function ns(Nr){return Nr.kind===325}e.isJSDocTypeLiteral=ns;function dc(Nr){return Nr.kind===326}e.isJSDocSignature=dc;function $s(Nr){return Nr.kind===331}e.isJSDocAugmentsTag=$s;function pc(Nr){return Nr.kind===333}e.isJSDocAuthorTag=pc;function js(Nr){return Nr.kind===335}e.isJSDocClassTag=js;function Sc(Nr){return Nr.kind===341}e.isJSDocCallbackTag=Sc;function Ko(Nr){return Nr.kind===336}e.isJSDocPublicTag=Ko;function Mc(Nr){return Nr.kind===337}e.isJSDocPrivateTag=Mc;function Vs(Nr){return Nr.kind===338}e.isJSDocProtectedTag=Vs;function oc(Nr){return Nr.kind===339}e.isJSDocReadonlyTag=oc;function Ss(Nr){return Nr.kind===340}e.isJSDocOverrideTag=Ss;function ee(Nr){return Nr.kind===334}e.isJSDocDeprecatedTag=ee;function Er(Nr){return Nr.kind===349}e.isJSDocSeeTag=Er;function un(Nr){return Nr.kind===342}e.isJSDocEnumTag=un;function $n(Nr){return Nr.kind===343}e.isJSDocParameterTag=$n;function Ii(Nr){return Nr.kind===344}e.isJSDocReturnTag=Ii;function at(Nr){return Nr.kind===345}e.isJSDocThisTag=at;function Ji(Nr){return Nr.kind===346}e.isJSDocTypeTag=Ji;function _t(Nr){return Nr.kind===347}e.isJSDocTemplateTag=_t;function Ht(Nr){return Nr.kind===348}e.isJSDocTypedefTag=Ht;function Rt(Nr){return Nr.kind===330}e.isJSDocUnknownTag=Rt;function va(Nr){return Nr.kind===350}e.isJSDocPropertyTag=va;function qe(Nr){return Nr.kind===332}e.isJSDocImplementsTag=qe;function Tn(Nr){return Nr.kind===351}e.isSyntaxList=Tn})(fr||(fr={}));var fr;(function(e){function o(Ee){return Ee.createExportDeclaration(void 0,!1,Ee.createNamedExports([]),void 0)}e.createEmptyExports=o;function ne(Ee,ze,Ar,xe){if(e.isComputedPropertyName(Ar))return e.setTextRange(Ee.createElementAccessExpression(ze,Ar.expression),xe);var cr=e.setTextRange(e.isMemberName(Ar)?Ee.createPropertyAccessExpression(ze,Ar):Ee.createElementAccessExpression(ze,Ar),Ar);return e.getOrCreateEmitNode(cr).flags|=64,cr}e.createMemberAccessForPropertyName=ne;function K(Ee,ze){var Ar=e.parseNodeFactory.createIdentifier(Ee||"React");return e.setParent(Ar,e.getParseTreeNode(ze)),Ar}function se(Ee,ze,Ar){if(e.isQualifiedName(ze)){var xe=se(Ee,ze.left,Ar),cr=Ee.createIdentifier(e.idText(ze.right));return cr.escapedText=ze.right.escapedText,Ee.createPropertyAccessExpression(xe,cr)}else return K(e.idText(ze),Ar)}function O(Ee,ze,Ar,xe){return ze?se(Ee,ze,xe):Ee.createPropertyAccessExpression(K(Ar,xe),"createElement")}e.createJsxFactoryExpression=O;function ie(Ee,ze,Ar,xe){return ze?se(Ee,ze,xe):Ee.createPropertyAccessExpression(K(Ar,xe),"Fragment")}function _e(Ee,ze,Ar,xe,cr,Mr){var Rr=[Ar];if(xe&&Rr.push(xe),cr&&cr.length>0)if(xe||Rr.push(Ee.createNull()),cr.length>1)for(var Qr=0,en=cr;Qr0)if(cr.length>1)for(var vn=0,Ie=cr;vn=e.ModuleKind.ES2015&&en<=e.ModuleKind.ESNext||Ar.impliedNodeFormat===e.ModuleKind.ESNext){var vn=e.getEmitHelpers(Ar);if(vn){for(var Ie=[],We=0,xr=vn;We0?xn[We-1]:void 0;return e.Debug.assertEqual(xr[We],ze),xn[We]=Ie.onEnter(Lr[We],ai,Qn),xr[We]=Qr(Ie,ze),We}Ee.enter=ze;function Ar(Ie,We,xr,Lr,xn,An,Qn){e.Debug.assertEqual(xr[We],Ar),e.Debug.assertIsDefined(Ie.onLeft),xr[We]=Qr(Ie,Ar);var ai=Ie.onLeft(Lr[We].left,xn[We],Lr[We]);return ai?(vn(We,Lr,ai),en(We,xr,Lr,xn,ai)):We}Ee.left=Ar;function xe(Ie,We,xr,Lr,xn,An,Qn){return e.Debug.assertEqual(xr[We],xe),e.Debug.assertIsDefined(Ie.onOperator),xr[We]=Qr(Ie,xe),Ie.onOperator(Lr[We].operatorToken,xn[We],Lr[We]),We}Ee.operator=xe;function cr(Ie,We,xr,Lr,xn,An,Qn){e.Debug.assertEqual(xr[We],cr),e.Debug.assertIsDefined(Ie.onRight),xr[We]=Qr(Ie,cr);var ai=Ie.onRight(Lr[We].right,xn[We],Lr[We]);return ai?(vn(We,Lr,ai),en(We,xr,Lr,xn,ai)):We}Ee.right=cr;function Mr(Ie,We,xr,Lr,xn,An,Qn){e.Debug.assertEqual(xr[We],Mr),xr[We]=Qr(Ie,Mr);var ai=Ie.onExit(Lr[We],xn[We]);if(We>0){if(We--,Ie.foldState){var Dr=xr[We]===Mr?"right":"left";xn[We]=Ie.foldState(xn[We],ai,Dr)}}else An.value=ai;return We}Ee.exit=Mr;function Rr(Ie,We,xr,Lr,xn,An,Qn){return e.Debug.assertEqual(xr[We],Rr),We}Ee.done=Rr;function Qr(Ie,We){switch(We){case ze:if(Ie.onLeft)return Ar;case Ar:if(Ie.onOperator)return xe;case xe:if(Ie.onRight)return cr;case cr:return Mr;case Mr:return Rr;case Rr:return Rr;default:e.Debug.fail("Invalid state")}}Ee.nextState=Qr;function en(Ie,We,xr,Lr,xn){return Ie++,We[Ie]=ze,xr[Ie]=xn,Lr[Ie]=void 0,Ie}function vn(Ie,We,xr){if(e.Debug.shouldAssert(2))for(;Ie>=0;)e.Debug.assert(We[Ie]!==xr,"Circular traversal detected."),Ie--}})(qr||(qr={}));var ln=function(){function Ee(ze,Ar,xe,cr,Mr,Rr){this.onEnter=ze,this.onLeft=Ar,this.onOperator=xe,this.onRight=cr,this.onExit=Mr,this.foldState=Rr}return Ee}();function dr(Ee,ze,Ar,xe,cr,Mr){var Rr=new ln(Ee,ze,Ar,xe,cr,Mr);return Qr;function Qr(en,vn){for(var Ie={value:void 0},We=[qr.enter],xr=[en],Lr=[void 0],xn=0;We[xn]!==qr.done;)xn=We[xn](Rr,xn,We,xr,Lr,Ie,vn);return e.Debug.assertEqual(xn,0),Ie.value}}e.createBinaryExpressionTrampoline=dr;function vr(Ee,ze){if(ze!==void 0)return ze.length===0?ze:e.setTextRange(Ee.createNodeArray([],ze.hasTrailingComma),ze)}e.elideNodes=vr;function kr(Ee){if(Ee.autoGenerateFlags&4){for(var ze=Ee.autoGenerateId,Ar=Ee,xe=Ar.original;xe&&(Ar=xe,!(e.isMemberName(Ar)&&!!(Ar.autoGenerateFlags&4)&&Ar.autoGenerateId!==ze));)xe=Ar.original;return Ar}return Ee}e.getNodeForGeneratedName=kr;function Ur(Ee,ze){return typeof Ee=="object"?Br(!1,Ee.prefix,Ee.node,Ee.suffix,ze):typeof Ee=="string"?Ee.length>0&&Ee.charCodeAt(0)===35?Ee.slice(1):Ee:""}e.formatGeneratedNamePart=Ur;function Cr(Ee,ze){return typeof Ee=="string"?Ee:rn(Ee,e.Debug.checkDefined(ze))}function rn(Ee,ze){return e.isGeneratedPrivateIdentifier(Ee)?ze(Ee).slice(1):e.isGeneratedIdentifier(Ee)?ze(Ee):e.isPrivateIdentifier(Ee)?Ee.escapedText.slice(1):e.idText(Ee)}function Br(Ee,ze,Ar,xe,cr){return ze=Ur(ze,cr),xe=Ur(xe,cr),Ar=Cr(Ar,cr),"".concat(Ee?"#":"").concat(ze).concat(Ar).concat(xe)}e.formatGeneratedName=Br;function pn(Ee,ze,Ar,xe){return Ee.updatePropertyDeclaration(ze,Ar,Ee.getGeneratedPrivateNameForNode(ze.name,void 0,"_accessor_storage"),void 0,void 0,xe)}e.createAccessorPropertyBackingField=pn;function ve(Ee,ze,Ar,xe){return Ee.createGetAccessorDeclaration(Ar,xe,[],void 0,Ee.createBlock([Ee.createReturnStatement(Ee.createPropertyAccessExpression(Ee.createThis(),Ee.getGeneratedPrivateNameForNode(ze.name,void 0,"_accessor_storage")))]))}e.createAccessorPropertyGetRedirector=ve;function or(Ee,ze,Ar,xe){return Ee.createSetAccessorDeclaration(Ar,xe,[Ee.createParameterDeclaration(void 0,void 0,"value")],Ee.createBlock([Ee.createExpressionStatement(Ee.createAssignment(Ee.createPropertyAccessExpression(Ee.createThis(),Ee.getGeneratedPrivateNameForNode(ze.name,void 0,"_accessor_storage")),Ee.createIdentifier("value")))]))}e.createAccessorPropertySetRedirector=or})(fr||(fr={}));var fr;(function(e){function o(se,O){return O?e.setTextRangePosEnd(se,O.pos,O.end):se}e.setTextRange=o;function ne(se){var O=se.kind;return O===165||O===166||O===168||O===169||O===170||O===171||O===173||O===174||O===175||O===178||O===182||O===215||O===216||O===228||O===240||O===259||O===260||O===261||O===262||O===263||O===264||O===268||O===269||O===274||O===275}e.canHaveModifiers=ne;function K(se){var O=se.kind;return O===166||O===169||O===171||O===174||O===175||O===228||O===260}e.canHaveDecorators=K})(fr||(fr={}));var fr;(function(e){var o,ne;(function(Y){Y[Y.None=0]="None",Y[Y.Yield=1]="Yield",Y[Y.Await=2]="Await",Y[Y.Type=4]="Type",Y[Y.IgnoreMissingOpenBrace=16]="IgnoreMissingOpenBrace",Y[Y.JSDoc=32]="JSDoc"})(ne||(ne={}));var K;(function(Y){Y[Y.TryParse=0]="TryParse",Y[Y.Lookahead=1]="Lookahead",Y[Y.Reparse=2]="Reparse"})(K||(K={}));var se,O,ie,_e,Q;e.parseBaseNodeFactory={createBaseSourceFileNode:function(Y){return new(Q||(Q=e.objectAllocator.getSourceFileConstructor()))(Y,-1,-1)},createBaseIdentifierNode:function(Y){return new(ie||(ie=e.objectAllocator.getIdentifierConstructor()))(Y,-1,-1)},createBasePrivateIdentifierNode:function(Y){return new(_e||(_e=e.objectAllocator.getPrivateIdentifierConstructor()))(Y,-1,-1)},createBaseTokenNode:function(Y){return new(O||(O=e.objectAllocator.getTokenConstructor()))(Y,-1,-1)},createBaseNode:function(Y){return new(se||(se=e.objectAllocator.getNodeConstructor()))(Y,-1,-1)}},e.parseNodeFactory=e.createNodeFactory(1,e.parseBaseNodeFactory);function p(Y,d){return d&&Y(d)}function D(Y,d,j){if(j){if(d)return d(j);for(var Ce=0,Se=j;Ce=0;--mr)Ce.push(Re[mr]),Se.push(er)}else{var wr=d(Re,er);if(wr){if(wr==="skip")continue;return wr}if(Re.kind>=163)for(var Ue=0,t=G(Re);Ue=Cs.pos}),vu=$o>=0?e.findIndex(Un,function(Kc){return Kc.start>=hc.pos},$o):-1;$o>=0&&e.addRange(Cr,Un,$o,vu>=0?vu:void 0),qi(function(){var Kc=cr;for(cr|=32768,d.setTextPos(hc.pos),gn();we()!==1;){var Ks=d.getStartPos(),Ic=Mc(0,ko);if(mn.push(Ic),Ks===d.getStartPos()&&gn(),ci>=0){var ol=Fe.statements[ci];if(Ic.end===ol.pos)break;Ic.end>ol.pos&&(ci=mo(Fe.statements,ci+1))}}cr=Kc},2),tt=ci>=0?bo(Fe.statements,ci):-1};tt!==-1;)mt();if(ci>=0){var bt=Fe.statements[ci];e.addRange(mn,Fe.statements,ci);var Lt=e.findIndex(Un,function(Cs){return Cs.start>=bt.pos});Lt>=0&&e.addRange(Cr,Un,Lt)}return Br=gr,t.updateSourceFile(Fe,e.setTextRange(t.createNodeArray(mn),Fe.statements));function Oa(Cs){return!(Cs.flags&32768)&&!!(Cs.transformFlags&67108864)}function bo(Cs,hc){for(var $o=hc;$o116}function Zi(){return we()===79?!0:we()===125&&bn()||we()===133&&Ai()?!1:we()>116}function ni(Fe,gr,Yr){return Yr===void 0&&(Yr=!0),we()===Fe?(Yr&&gn(),!0):(gr?ti(gr):ti(e.Diagnostics._0_expected,e.tokenToString(Fe)),!1)}var Va=Object.keys(e.textToKeywordObj).filter(function(Fe){return Fe.length>2});function Ua(Fe){var gr;if(e.isTaggedTemplateExpression(Fe)){Ni(e.skipTrivia(dr,Fe.template.pos),Fe.template.end,e.Diagnostics.Module_declaration_names_may_only_use_or_quoted_strings);return}var Yr=e.isIdentifier(Fe)?e.idText(Fe):void 0;if(!Yr||!e.isIdentifierText(Yr,vr)){ti(e.Diagnostics._0_expected,e.tokenToString(26));return}var mn=e.skipTrivia(dr,Fe.pos);switch(Yr){case"const":case"let":case"var":Ni(mn,Fe.end,e.Diagnostics.Variable_declaration_not_allowed_at_this_location);return;case"declare":return;case"interface":za(e.Diagnostics.Interface_name_cannot_be_0,e.Diagnostics.Interface_must_be_given_a_name,18);return;case"is":Ni(mn,d.getTextPos(),e.Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return;case"module":case"namespace":za(e.Diagnostics.Namespace_name_cannot_be_0,e.Diagnostics.Namespace_must_be_given_a_name,18);return;case"type":za(e.Diagnostics.Type_alias_name_cannot_be_0,e.Diagnostics.Type_alias_must_be_given_a_name,63);return}var Un=(gr=e.getSpellingSuggestion(Yr,Va,function(ci){return ci}))!==null&&gr!==void 0?gr:Co(Yr);if(Un){Ni(mn,Fe.end,e.Diagnostics.Unknown_keyword_or_identifier_Did_you_mean_0,Un);return}we()!==0&&Ni(mn,Fe.end,e.Diagnostics.Unexpected_keyword_or_identifier)}function za(Fe,gr,Yr){we()===Yr?ti(gr):ti(Fe,d.getTokenValue())}function Co(Fe){for(var gr=0,Yr=Va;grmn.length+2&&e.startsWith(Fe,mn))return"".concat(mn," ").concat(Fe.slice(mn.length))}}function Ea(Fe,gr,Yr){if(we()===59&&!d.hasPrecedingLineBreak()){ti(e.Diagnostics.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations);return}if(we()===20){ti(e.Diagnostics.Cannot_start_a_function_call_in_a_type_annotation),gn();return}if(gr&&!Ho()){Yr?ti(e.Diagnostics._0_expected,e.tokenToString(26)):ti(e.Diagnostics.Expected_for_property_initializer);return}if(!Zo()){if(Yr){ti(e.Diagnostics._0_expected,e.tokenToString(26));return}Ua(Fe)}}function ho(Fe){return we()===Fe?(nn(),!0):(ti(e.Diagnostics._0_expected,e.tokenToString(Fe)),!1)}function Aa(Fe,gr,Yr,mn){if(we()===gr){gn();return}var Un=ti(e.Diagnostics._0_expected,e.tokenToString(gr));!Yr||Un&&e.addRelatedInfo(Un,e.createDetachedDiagnostic(qr,mn,1,e.Diagnostics.The_parser_expected_to_find_a_1_to_match_the_0_token_here,e.tokenToString(Fe),e.tokenToString(gr)))}function Vi(Fe){return we()===Fe?(gn(),!0):!1}function Xi(Fe){if(we()===Fe)return so()}function ao(Fe){if(we()===Fe)return Xo()}function fo(Fe,gr,Yr){return Xi(Fe)||yi(Fe,!1,gr||e.Diagnostics._0_expected,Yr||e.tokenToString(Fe))}function As(Fe){return ao(Fe)||yi(Fe,!1,e.Diagnostics._0_expected,e.tokenToString(Fe))}function so(){var Fe=Pe(),gr=we();return gn(),Fr(t.createToken(gr),Fe)}function Xo(){var Fe=Pe(),gr=we();return nn(),Fr(t.createToken(gr),Fe)}function Ho(){return we()===26?!0:we()===19||we()===1||d.hasPrecedingLineBreak()}function Zo(){return Ho()?(we()===26&&gn(),!0):!1}function To(){return Zo()||ni(26)}function pr(Fe,gr,Yr,mn){var Un=t.createNodeArray(Fe,mn);return e.setTextRangePosEnd(Un,gr,Yr!=null?Yr:d.getStartPos()),Un}function Fr(Fe,gr,Yr){return e.setTextRangePosEnd(Fe,gr,Yr!=null?Yr:d.getStartPos()),cr&&(Fe.flags|=cr),Rr&&(Rr=!1,Fe.flags|=131072),Fe}function yi(Fe,gr,Yr,mn){gr?Hi(d.getStartPos(),0,Yr,mn):Yr&&ti(Yr,mn);var Un=Pe(),ci=Fe===79?t.createIdentifier("",void 0,void 0):e.isTemplateLiteralKind(Fe)?t.createTemplateLiteralLikeNode(Fe,"","",void 0):Fe===8?t.createNumericLiteral("",void 0):Fe===10?t.createStringLiteral("",void 0):Fe===279?t.createMissingDeclaration():t.createToken(Fe);return Fr(ci,Un)}function Dt(Fe){var gr=or.get(Fe);return gr===void 0&&or.set(Fe,gr=Fe),gr}function Ft(Fe,gr,Yr){if(Fe){ze++;var mn=Pe(),Un=we(),ci=Dt(d.getTokenValue()),tt=d.hasExtendedUnicodeEscape();return hn(),Fr(t.createIdentifier(ci,void 0,Un,tt),mn)}if(we()===80)return ti(Yr||e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),Ft(!0);if(we()===0&&d.tryScan(function(){return d.reScanInvalidIdentifier()===79}))return Ft(!0);ze++;var mt=we()===1,bt=d.isReservedWord(),Lt=d.getTokenText(),Oa=bt?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:e.Diagnostics.Identifier_expected;return yi(79,mt,gr||Oa,Lt)}function Pa(Fe){return Ft(ot(),void 0,Fe)}function Ve(Fe,gr){return Ft(Zi(),Fe,gr)}function tn(Fe){return Ft(e.tokenIsIdentifierOrKeyword(we()),Fe)}function Nn(){return e.tokenIsIdentifierOrKeyword(we())||we()===10||we()===8}function wn(){return e.tokenIsIdentifierOrKeyword(we())||we()===10}function Je(Fe){if(we()===10||we()===8){var gr=Gs();return gr.text=Dt(gr.text),gr}return Fe&&we()===22?yr():we()===80?Mn():tn()}function ur(){return Je(!0)}function yr(){var Fe=Pe();ni(22);var gr=Qe(sc);return ni(23),Fr(t.createComputedPropertyName(gr),Fe)}function Jr(Fe){var gr=Ee.get(Fe);return gr===void 0&&Ee.set(Fe,gr=Fe),gr}function Mn(){var Fe=Pe(),gr=t.createPrivateIdentifier(Jr(d.getTokenValue()));return gn(),Fr(gr,Fe)}function _i(Fe){return we()===Fe&&Tt(fi)}function di(){return gn(),d.hasPrecedingLineBreak()?!1:na()}function fi(){switch(we()){case 85:return gn()===92;case 93:return gn(),we()===88?Ci(Ia):we()===154?Ci(Gt):Nt();case 88:return Ia();case 127:case 124:case 137:case 151:return gn(),na();default:return di()}}function Nt(){return we()!==41&&we()!==128&&we()!==18&&na()}function Gt(){return gn(),Nt()}function la(){return e.isModifierKind(we())&&Tt(fi)}function na(){return we()===22||we()===18||we()===41||we()===25||Nn()}function Ia(){return gn(),we()===84||we()===98||we()===118||we()===126&&Ci(vl)||we()===132&&Ci(Xf)}function bs(Fe,gr){var Yr=Vs(Fe);if(Yr)return!0;switch(Fe){case 0:case 1:case 3:return!(we()===26&&gr)&&kf();case 2:return we()===82||we()===88;case 4:return Ci(fa);case 5:return Ci(td)||we()===26&&!gr;case 6:return we()===22||Nn();case 12:switch(we()){case 22:case 41:case 25:case 24:return!0;default:return Nn()}case 18:return Nn();case 9:return we()===22||we()===25||Nn();case 24:return wn();case 7:return we()===18?Ci(ds):gr?Zi()&&!ns():pp()&&!ns();case 8:return Yf();case 10:return we()===27||we()===25||Yf();case 19:return we()===101||Zi();case 15:switch(we()){case 27:case 24:return!0}case 11:return we()===25||vc();case 16:return Wt(!1);case 17:return Wt(!0);case 20:case 21:return we()===27||bf();case 22:return Zn();case 23:return e.tokenIsIdentifierOrKeyword(we());case 13:return e.tokenIsIdentifierOrKeyword(we())||we()===18;case 14:return!0}return e.Debug.fail("Non-exhaustive case in 'isListElement'.")}function ds(){if(e.Debug.assert(we()===18),gn()===19){var Fe=gn();return Fe===27||Fe===18||Fe===94||Fe===117}return!0}function ps(){return gn(),Zi()}function ac(){return gn(),e.tokenIsIdentifierOrKeyword(we())}function Es(){return gn(),e.tokenIsIdentifierOrKeywordOrGreaterThan(we())}function ns(){return we()===117||we()===94?Ci(dc):!1}function dc(){return gn(),vc()}function $s(){return gn(),bf()}function pc(Fe){if(we()===1)return!0;switch(Fe){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:case 24:return we()===19;case 3:return we()===19||we()===82||we()===88;case 7:return we()===18||we()===94||we()===117;case 8:return js();case 19:return we()===31||we()===20||we()===18||we()===94||we()===117;case 11:return we()===21||we()===26;case 15:case 21:case 10:return we()===23;case 17:case 16:case 18:return we()===21||we()===23;case 20:return we()!==27;case 22:return we()===18||we()===19;case 13:return we()===31||we()===43;case 14:return we()===29&&Ci(If);default:return!1}}function js(){return!!(Ho()||K_(we())||we()===38)}function Sc(){for(var Fe=0;Fe<25;Fe++)if(Ar&1<=0)}function qe(Fe){return Fe===6?e.Diagnostics.An_enum_member_name_must_be_followed_by_a_or:void 0}function Tn(){var Fe=pr([],Pe());return Fe.isMissingList=!0,Fe}function Nr(Fe){return!!Fe.isMissingList}function ga(Fe,gr,Yr,mn){if(ni(Yr)){var Un=va(Fe,gr);return ni(mn),Un}return Tn()}function xa(Fe,gr){for(var Yr=Pe(),mn=Fe?tn(gr):Ve(gr),Un=Pe();Vi(24);){if(we()===29){mn.jsdocDotPos=Un;break}Un=Pe(),mn=Fr(t.createQualifiedName(mn,gs(Fe,!1)),Yr)}return mn}function co(Fe,gr){return Fr(t.createQualifiedName(Fe,gr),Fe.pos)}function gs(Fe,gr){if(d.hasPrecedingLineBreak()&&e.tokenIsIdentifierOrKeyword(we())){var Yr=Ci(_f);if(Yr)return yi(79,!0,e.Diagnostics.Identifier_expected)}if(we()===80){var mn=Mn();return gr?mn:yi(79,!0,e.Diagnostics.Identifier_expected)}return Fe?tn():Ve()}function gc(Fe){var gr=Pe(),Yr=[],mn;do mn=_o(Fe),Yr.push(mn);while(mn.literal.kind===16);return pr(Yr,gr)}function ws(Fe){var gr=Pe();return Fr(t.createTemplateExpression(mc(Fe),gc(Fe)),gr)}function Lc(){var Fe=Pe();return Fr(t.createTemplateLiteralType(mc(!1),qs()),Fe)}function qs(){var Fe=Pe(),gr=[],Yr;do Yr=ec(),gr.push(Yr);while(Yr.literal.kind===16);return pr(gr,Fe)}function ec(){var Fe=Pe();return Fr(t.createTemplateLiteralTypeSpan(xs(),Rc(!1)),Fe)}function Rc(Fe){return we()===19?(On(Fe),xl()):fo(17,e.Diagnostics._0_expected,e.tokenToString(19))}function _o(Fe){var gr=Pe();return Fr(t.createTemplateSpan(Qe(sc),Rc(Fe)),gr)}function Gs(){return Qu(we())}function mc(Fe){Fe&&Xn();var gr=Qu(we());return e.Debug.assert(gr.kind===15,"Template head has wrong token kind"),gr}function xl(){var Fe=Qu(we());return e.Debug.assert(Fe.kind===16||Fe.kind===17,"Template fragment has wrong token kind"),Fe}function $c(Fe){var gr=Fe===14||Fe===17,Yr=d.getTokenText();return Yr.substring(1,Yr.length-(d.isUnterminated()?0:gr?1:2))}function Qu(Fe){var gr=Pe(),Yr=e.isTemplateLiteralKind(Fe)?t.createTemplateLiteralLikeNode(Fe,d.getTokenValue(),$c(Fe),d.getTokenFlags()&2048):Fe===8?t.createNumericLiteral(d.getTokenValue(),d.getNumericLiteralFlags()):Fe===10?t.createStringLiteral(d.getTokenValue(),void 0,d.hasExtendedUnicodeEscape()):e.isLiteralKind(Fe)?t.createLiteralLikeNode(Fe,d.getTokenValue()):e.Debug.fail();return d.hasExtendedUnicodeEscape()&&(Yr.hasExtendedUnicodeEscape=!0),d.isUnterminated()&&(Yr.isUnterminated=!0),gn(),Fr(Yr,gr)}function Df(){return xa(!0,e.Diagnostics.Type_expected)}function Xu(){if(!d.hasPrecedingLineBreak()&&Ge()===29)return ga(20,xs,29,31)}function zc(){var Fe=Pe();return Fr(t.createTypeReferenceNode(Df(),Xu()),Fe)}function Zu(Fe){switch(Fe.kind){case 180:return e.nodeIsMissing(Fe.typeName);case 181:case 182:{var gr=Fe,Yr=gr.parameters,mn=gr.type;return Nr(Yr)||Zu(mn)}case 193:return Zu(Fe.type);default:return!1}}function Hr(Fe){return gn(),Fr(t.createTypePredicateNode(void 0,Fe,xs()),Fe.pos)}function Gr(){var Fe=Pe();return gn(),Fr(t.createThisTypeNode(),Fe)}function Bn(){var Fe=Pe();return gn(),Fr(t.createJSDocAllType(),Fe)}function ui(){var Fe=Pe();return gn(),Fr(t.createJSDocNonNullableType(U_(),!1),Fe)}function hi(){var Fe=Pe();return gn(),we()===27||we()===19||we()===21||we()===31||we()===63||we()===51?Fr(t.createJSDocUnknownType(),Fe):Fr(t.createJSDocNullableType(xs(),!1),Fe)}function Ei(){var Fe=Pe(),gr=Ir();if(Ci(Bc)){gn();var Yr=fe(4|32),mn=jo(58,!1);return Lr(Fr(t.createJSDocFunctionType(Yr,mn),Fe),gr)}return Fr(t.createTypeReferenceNode(tn(),void 0),Fe)}function st(){var Fe=Pe(),gr;return(we()===108||we()===103)&&(gr=tn(),ni(58)),Fr(t.createParameterDeclaration(void 0,void 0,gr,void 0,Bi(),void 0),Fe)}function Bi(){d.setInJSDocType(!0);var Fe=Pe();if(Vi(142)){var gr=t.createJSDocNamepathType(void 0);e:for(;;)switch(we()){case 19:case 1:case 27:case 5:break e;default:nn()}return d.setInJSDocType(!1),Fr(gr,Fe)}var Yr=Vi(25),mn=Nd();return d.setInJSDocType(!1),Yr&&(mn=Fr(t.createJSDocVariadicType(mn),Fe)),we()===63?(gn(),Fr(t.createJSDocOptionalType(mn),Fe)):mn}function Jt(){var Fe=Pe();ni(112);var gr=xa(!0),Yr=d.hasPrecedingLineBreak()?void 0:_n();return Fr(t.createTypeQueryNode(gr,Yr),Fe)}function Ca(){var Fe=Pe(),gr=Ju(),Yr=Ve(),mn,Un;Vi(94)&&(bf()||!vc()?mn=xs():Un=x_());var ci=Vi(63)?xs():void 0,tt=t.createTypeParameterDeclaration(gr,Yr,mn,ci);return tt.expression=Un,Fr(tt,Fe)}function Yt(){if(we()===29)return ga(19,Ca,29,31)}function Wt(Fe){return we()===25||Yf()||e.isModifierKind(we())||we()===59||bf(!Fe)}function Ga(Fe){var gr=lu(e.Diagnostics.Private_identifiers_cannot_be_used_as_parameters);return e.getFullWidth(gr)===0&&!e.some(Fe)&&e.isModifierKind(we())&&gn(),gr}function $t(){return ot()||we()===22||we()===18}function po(Fe){return Ns(Fe)}function Do(Fe){return Ns(Fe,!1)}function Ns(Fe,gr){gr===void 0&&(gr=!0);var Yr=Pe(),mn=Ir(),Un=Fe?Or(Ml):zr(Ml);if(we()===108){var ci=t.createParameterDeclaration(Un,void 0,Ft(!0),void 0,Yu(),void 0);return Un&&gi(Un[0],e.Diagnostics.Decorators_may_not_be_applied_to_this_parameters),Lr(Fr(ci,Yr),mn)}var tt=Mr;Mr=!1;var mt=al(Un,Ju()),bt=Xi(25);if(!(!gr&&!$t())){var Lt=Lr(Fr(t.createParameterDeclaration(mt,bt,Ga(mt),Xi(57),Yu(),El()),Yr),mn);return Mr=tt,Lt}}function jo(Fe,gr){if(ys(Fe,gr))return Ke(Nd)}function ys(Fe,gr){return Fe===38?(ni(Fe),!0):Vi(58)?!0:gr&&we()===38?(ti(e.Diagnostics._0_expected,e.tokenToString(58)),gn(),!0):!1}function Vo(Fe,gr){var Yr=bn(),mn=Ai();on(!!(Fe&1)),Sr(!!(Fe&2));var Un=Fe&32?va(17,st):va(16,function(){return gr?po(mn):Do(mn)});return on(Yr),Sr(mn),Un}function fe(Fe){if(!ni(20))return Tn();var gr=Vo(Fe,!0);return ni(21),gr}function sr(){Vi(27)||To()}function Tr(Fe){var gr=Pe(),Yr=Ir();Fe===177&&ni(103);var mn=Yt(),Un=fe(4),ci=jo(58,!0);sr();var tt=Fe===176?t.createCallSignature(mn,Un,ci):t.createConstructSignature(mn,Un,ci);return Lr(Fr(tt,gr),Yr)}function Fn(){return we()===22&&Ci(Si)}function Si(){if(gn(),we()===25||we()===23)return!0;if(e.isModifierKind(we())){if(gn(),Zi())return!0}else if(Zi())gn();else return!1;return we()===58||we()===27?!0:we()!==57?!1:(gn(),we()===58||we()===27||we()===23)}function gt(Fe,gr,Yr,mn){var Un=ga(16,function(){return po(!1)},22,23),ci=Yu();sr();var tt=t.createIndexSignature(mn,Un,ci);return tt.illegalDecorators=Yr,Lr(Fr(tt,Fe),gr)}function jt(Fe,gr,Yr){var mn=ur(),Un=Xi(57),ci;if(we()===20||we()===29){var tt=Yt(),mt=fe(4),bt=jo(58,!0);ci=t.createMethodSignature(Yr,mn,Un,tt,mt,bt)}else{var bt=Yu();ci=t.createPropertySignature(Yr,mn,Un,bt),we()===63&&(ci.initializer=El())}return sr(),Lr(Fr(ci,Fe),gr)}function fa(){if(we()===20||we()===29||we()===137||we()===151)return!0;for(var Fe=!1;e.isModifierKind(we());)Fe=!0,gn();return we()===22?!0:(Nn()&&(Fe=!0,gn()),Fe?we()===20||we()===29||we()===57||we()===58||we()===27||Ho():!1)}function Ka(){if(we()===20||we()===29)return Tr(176);if(we()===103&&Ci(no))return Tr(177);var Fe=Pe(),gr=Ir(),Yr=Ju();return _i(137)?gu(Fe,gr,void 0,Yr,174,4):_i(151)?gu(Fe,gr,void 0,Yr,175,4):Fn()?gt(Fe,gr,void 0,Yr):jt(Fe,gr,Yr)}function no(){return gn(),we()===20||we()===29}function Eo(){return gn()===24}function Fa(){switch(gn()){case 20:case 29:case 24:return!0}return!1}function Qa(){var Fe=Pe();return Fr(t.createTypeLiteralNode(zo()),Fe)}function zo(){var Fe;return ni(18)?(Fe=Ko(4,Ka),ni(19)):Fe=Tn(),Fe}function Uo(){return gn(),we()===39||we()===40?gn()===146:(we()===146&&gn(),we()===22&&ps()&&gn()===101)}function ms(){var Fe=Pe(),gr=tn();ni(101);var Yr=xs();return Fr(t.createTypeParameterDeclaration(void 0,gr,Yr,void 0),Fe)}function xc(){var Fe=Pe();ni(18);var gr;(we()===146||we()===39||we()===40)&&(gr=so(),gr.kind!==146&&ni(146)),ni(22);var Yr=ms(),mn=Vi(128)?xs():void 0;ni(23);var Un;(we()===57||we()===39||we()===40)&&(Un=so(),Un.kind!==57&&ni(57));var ci=Yu();To();var tt=Ko(4,Ka);return ni(19),Fr(t.createMappedTypeNode(gr,Yr,mn,Un,ci,tt),Fe)}function Os(){var Fe=Pe();if(Vi(25))return Fr(t.createRestTypeNode(xs()),Fe);var gr=xs();if(e.isJSDocNullableType(gr)&&gr.pos===gr.type.pos){var Yr=t.createOptionalTypeNode(gr.type);return e.setTextRange(Yr,gr),Yr.flags=gr.flags,Yr}return gr}function Cl(){return gn()===58||we()===57&&gn()===58}function m_(){return we()===25?e.tokenIsIdentifierOrKeyword(gn())&&Cl():e.tokenIsIdentifierOrKeyword(we())&&Cl()}function pl(){if(Ci(m_)){var Fe=Pe(),gr=Ir(),Yr=Xi(25),mn=tn(),Un=Xi(57);ni(58);var ci=Os(),tt=t.createNamedTupleMember(Yr,mn,Un,ci);return Lr(Fr(tt,Fe),gr)}return Os()}function Zl(){var Fe=Pe();return Fr(t.createTupleTypeNode(ga(21,pl,22,23)),Fe)}function Zr(){var Fe=Pe();ni(20);var gr=xs();return ni(21),Fr(t.createParenthesizedType(gr),Fe)}function Yl(){var Fe;if(we()===126){var gr=Pe();gn();var Yr=Fr(t.createToken(126),gr);Fe=pr([Yr],gr)}return Fe}function xu(){var Fe=Pe(),gr=Ir(),Yr=Yl(),mn=Vi(103),Un=Yt(),ci=fe(4),tt=jo(38,!1),mt=mn?t.createConstructorTypeNode(Yr,Un,ci,tt):t.createFunctionTypeNode(Un,ci,tt);return mn||(mt.modifiers=Yr),Lr(Fr(mt,Fe),gr)}function $l(){var Fe=so();return we()===24?void 0:Fe}function Wf(Fe){var gr=Pe();Fe&&gn();var Yr=we()===110||we()===95||we()===104?so():Qu(we());return Fe&&(Yr=Fr(t.createPrefixUnaryExpression(40,Yr),gr)),Fr(t.createLiteralTypeNode(Yr),gr)}function ef(){return gn(),we()===100}function Tl(){var Fe=Pe(),gr=d.getTokenPos();ni(18);var Yr=d.hasPrecedingLineBreak();ni(130),ni(58);var mn=jd(!0);if(!ni(19)){var Un=e.lastOrUndefined(Cr);Un&&Un.code===e.Diagnostics._0_expected.code&&e.addRelatedInfo(Un,e.createDetachedDiagnostic(qr,gr,1,e.Diagnostics.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}return Fr(t.createImportTypeAssertionContainer(mn,Yr),Fe)}function Ad(){ln|=2097152;var Fe=Pe(),gr=Vi(112);ni(100),ni(20);var Yr=xs(),mn;Vi(27)&&(mn=Tl()),ni(21);var Un=Vi(24)?Df():void 0,ci=Xu();return Fr(t.createImportTypeNode(Yr,mn,Un,ci,gr),Fe)}function go(){return gn(),we()===8||we()===9}function U_(){switch(we()){case 131:case 157:case 152:case 148:case 160:case 153:case 134:case 155:case 144:case 149:return Tt($l)||zc();case 66:d.reScanAsteriskEqualsToken();case 41:return Bn();case 60:d.reScanQuestionToken();case 57:return hi();case 98:return Ei();case 53:return ui();case 14:case 10:case 8:case 9:case 110:case 95:case 104:return Wf();case 40:return Ci(go)?Wf(!0):zc();case 114:return so();case 108:{var Fe=Gr();return we()===140&&!d.hasPrecedingLineBreak()?Hr(Fe):Fe}case 112:return Ci(ef)?Ad():Jt();case 18:return Ci(Uo)?xc():Qa();case 22:return Zl();case 20:return Zr();case 100:return Ad();case 129:return Ci(_f)?dp():zc();case 15:return Lc();default:return zc()}}function bf(Fe){switch(we()){case 131:case 157:case 152:case 148:case 160:case 134:case 146:case 153:case 156:case 114:case 155:case 104:case 108:case 112:case 144:case 18:case 22:case 29:case 51:case 50:case 103:case 10:case 8:case 9:case 110:case 95:case 149:case 41:case 57:case 53:case 25:case 138:case 100:case 129:case 14:case 15:return!0;case 98:return!Fe;case 40:return!Fe&&Ci(go);case 20:return!Fe&&Ci(z_);default:return Zi()}}function z_(){return gn(),we()===21||Wt(!1)||bf()}function Vf(){for(var Fe=Pe(),gr=U_();!d.hasPrecedingLineBreak();)switch(we()){case 53:gn(),gr=Fr(t.createJSDocNonNullableType(gr,!0),Fe);break;case 57:if(Ci($s))return gr;gn(),gr=Fr(t.createJSDocNullableType(gr,!0),Fe);break;case 22:if(ni(22),bf()){var Yr=xs();ni(23),gr=Fr(t.createIndexedAccessTypeNode(gr,Yr),Fe)}else ni(23),gr=Fr(t.createArrayTypeNode(gr),Fe);break;default:return gr}return gr}function W_(Fe){var gr=Pe();return ni(Fe),Fr(t.createTypeOperatorNode(Fe,V_()),gr)}function v_(){if(Vi(94)){var Fe=tr(xs);if(yn()||we()!==57)return Fe}}function rf(){var Fe=Pe(),gr=Ve(),Yr=Tt(v_),mn=t.createTypeParameterDeclaration(void 0,gr,Yr);return Fr(mn,Fe)}function ou(){var Fe=Pe();return ni(138),Fr(t.createInferTypeNode(rf()),Fe)}function V_(){var Fe=we();switch(Fe){case 141:case 156:case 146:return W_(Fe);case 138:return ou()}return Ke(Vf)}function y_(Fe){if(q_()){var gr=xu(),Yr=void 0;return e.isFunctionTypeNode(gr)?Yr=Fe?e.Diagnostics.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:e.Diagnostics.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:Yr=Fe?e.Diagnostics.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:e.Diagnostics.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type,gi(gr,Yr),gr}}function Qt(Fe,gr,Yr){var mn=Pe(),Un=Fe===51,ci=Vi(Fe),tt=ci&&y_(Un)||gr();if(we()===Fe||ci){for(var mt=[tt];Vi(Fe);)mt.push(y_(Un)||gr());tt=Fr(Yr(pr(mt,mn)),mn)}return tt}function At(){return Qt(50,V_,t.createIntersectionTypeNode)}function Cu(){return Qt(51,At,t.createUnionTypeNode)}function Wc(){return gn(),we()===103}function q_(){return we()===29||we()===20&&Ci(Wp)?!0:we()===103||we()===126&&Ci(Wc)}function Sf(){if(e.isModifierKind(we())&&Ju(),Zi()||we()===108)return gn(),!0;if(we()===22||we()===18){var Fe=Cr.length;return lu(),Fe===Cr.length}return!1}function Wp(){return gn(),!!(we()===21||we()===25||Sf()&&(we()===58||we()===27||we()===57||we()===63||we()===21&&(gn(),we()===38)))}function Nd(){var Fe=Pe(),gr=Zi()&&Tt(is),Yr=xs();return gr?Fr(t.createTypePredicateNode(void 0,gr,Yr),Fe):Yr}function is(){var Fe=Ve();if(we()===140&&!d.hasPrecedingLineBreak())return gn(),Fe}function dp(){var Fe=Pe(),gr=fo(129),Yr=we()===108?Gr():Ve(),mn=Vi(140)?xs():void 0;return Fr(t.createTypePredicateNode(gr,Yr,mn),Fe)}function xs(){if(cr&40960)return Te(40960,xs);if(q_())return xu();var Fe=Pe(),gr=Cu();if(!yn()&&!d.hasPrecedingLineBreak()&&Vi(94)){var Yr=tr(xs);ni(57);var mn=Ke(xs);ni(58);var Un=Ke(xs);return Fr(t.createConditionalTypeNode(gr,Yr,mn,Un),Fe)}return gr}function Yu(){return Vi(58)?xs():void 0}function pp(){switch(we()){case 108:case 106:case 104:case 110:case 95:case 8:case 9:case 10:case 14:case 15:case 20:case 22:case 18:case 98:case 84:case 103:case 43:case 68:case 79:return!0;case 100:return Ci(Fa);default:return Zi()}}function vc(){if(pp())return!0;switch(we()){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 45:case 46:case 29:case 133:case 125:case 80:return!0;default:return S_()?!0:Zi()}}function gp(){return we()!==18&&we()!==98&&we()!==84&&we()!==59&&vc()}function sc(){var Fe=Hn();Fe&&je(!1);for(var gr=Pe(),Yr=Cc(!0),mn;mn=Xi(27);)Yr=qf(Yr,mn,Cc(!0),gr);return Fe&&je(!0),Yr}function El(){return Vi(63)?Cc(!0):void 0}function Cc(Fe){if(mp())return G_();var gr=vp(Fe)||Id(Fe);if(gr)return gr;var Yr=Pe(),mn=nf(0);return mn.kind===79&&we()===38?H_(Yr,mn,Fe,void 0):e.isLeftHandSideExpression(mn)&&e.isAssignmentOperator(Cn())?qf(mn,so(),Cc(Fe),Yr):Mu(mn,Yr,Fe)}function mp(){return we()===125?bn()?!0:Ci(ku):!1}function Pd(){return gn(),!d.hasPrecedingLineBreak()&&Zi()}function G_(){var Fe=Pe();return gn(),!d.hasPrecedingLineBreak()&&(we()===41||vc())?Fr(t.createYieldExpression(Xi(41),Cc(!0)),Fe):Fr(t.createYieldExpression(void 0,void 0),Fe)}function H_(Fe,gr,Yr,mn){e.Debug.assert(we()===38,"parseSimpleArrowFunctionExpression should only have been called if we had a =>");var Un=t.createParameterDeclaration(void 0,void 0,gr,void 0,void 0,void 0);Fr(Un,gr.pos);var ci=pr([Un],Un.pos,Un.end),tt=fo(38),mt=D_(!!mn,Yr),bt=t.createArrowFunction(mn,void 0,ci,void 0,tt,mt);return An(Fr(bt,Fe))}function vp(Fe){var gr=kl();if(gr!==0)return gr===1?wd(!0,!0):Tt(function(){return h_(Fe)})}function kl(){return we()===20||we()===29||we()===132?Ci(Al):we()===38?1:0}function Al(){if(we()===132&&(gn(),d.hasPrecedingLineBreak()||we()!==20&&we()!==29))return 0;var Fe=we(),gr=gn();if(Fe===20){if(gr===21){var Yr=gn();switch(Yr){case 38:case 58:case 18:return 1;default:return 0}}if(gr===22||gr===18)return 2;if(gr===25)return 1;if(e.isModifierKind(gr)&&gr!==132&&Ci(ps))return gn()===128?0:1;if(!Zi()&&gr!==108)return 0;switch(gn()){case 58:return 1;case 57:return gn(),we()===58||we()===27||we()===63||we()===21?1:0;case 27:case 63:case 21:return 2}return 0}else{if(e.Debug.assert(Fe===29),!Zi())return 0;if(Ur===1){var mn=Ci(function(){var Un=gn();if(Un===94){var ci=gn();switch(ci){case 63:case 31:return!1;default:return!0}}else if(Un===27||Un===63)return!0;return!1});return mn?1:0}return 2}}function h_(Fe){var gr=d.getTokenPos();if(!(xe==null?void 0:xe.has(gr))){var Yr=wd(!1,Fe);return Yr||(xe||(xe=new e.Set)).add(gr),Yr}}function Id(Fe){if(we()===132&&Ci(yp)===1){var gr=Pe(),Yr=od(),mn=nf(0);return H_(gr,mn,Fe,Yr)}}function yp(){if(we()===132){if(gn(),d.hasPrecedingLineBreak()||we()===38)return 0;var Fe=nf(0);if(!d.hasPrecedingLineBreak()&&Fe.kind===79&&we()===38)return 1}return 0}function wd(Fe,gr){var Yr=Pe(),mn=Ir(),Un=od(),ci=e.some(Un,e.isAsyncModifier)?2:0,tt=Yt(),mt;if(ni(20)){if(Fe)mt=Vo(ci,Fe);else{var bt=Vo(ci,Fe);if(!bt)return;mt=bt}if(!ni(21)&&!Fe)return}else{if(!Fe)return;mt=Tn()}var Lt=we()===58,Oa=jo(58,!1);if(!(Oa&&!Fe&&Zu(Oa))){for(var bo=Oa;(bo==null?void 0:bo.kind)===193;)bo=bo.type;var mo=bo&&e.isJSDocFunctionType(bo);if(!(!Fe&&we()!==38&&(mo||we()!==18))){var wo=we(),Cs=fo(38),hc=wo===38||wo===18?D_(e.some(Un,e.isAsyncModifier),gr):Ve();if(!(!gr&&Lt&&we()!==58)){var $o=t.createArrowFunction(Un,tt,mt,Oa,Cs,hc);return Lr(Fr($o,Yr),mn)}}}}function D_(Fe,gr){if(we()===18)return cf(Fe?2:0);if(we()!==26&&we()!==98&&we()!==84&&kf()&&!gp())return cf(16|(Fe?2:0));var Yr=Mr;Mr=!1;var mn=Fe?Or(function(){return Cc(gr)}):zr(function(){return Cc(gr)});return Mr=Yr,mn}function Mu(Fe,gr,Yr){var mn=Xi(57);if(!mn)return Fe;var Un;return Fr(t.createConditionalExpression(Fe,mn,Te(j,function(){return Cc(!1)}),Un=fo(58),e.nodeIsPresent(Un)?Cc(Yr):yi(79,!1,e.Diagnostics._0_expected,e.tokenToString(58))),gr)}function nf(Fe){var gr=Pe(),Yr=x_();return b_(Fe,Yr,gr)}function K_(Fe){return Fe===101||Fe===162}function b_(Fe,gr,Yr){for(;;){Cn();var mn=e.getBinaryOperatorPrecedence(we()),Un=we()===42?mn>=Fe:mn>Fe;if(!Un||we()===101&&qn())break;if(we()===128||we()===150){if(d.hasPrecedingLineBreak())break;var ci=we();gn(),gr=ci===150?xf(gr,xs()):tf(gr,xs())}else gr=qf(gr,so(),nf(mn),Yr)}return gr}function S_(){return qn()&&we()===101?!1:e.getBinaryOperatorPrecedence(we())>0}function xf(Fe,gr){return Fr(t.createSatisfiesExpression(Fe,gr),Fe.pos)}function qf(Fe,gr,Yr,mn){return Fr(t.createBinaryExpression(Fe,gr,Yr),mn)}function tf(Fe,gr){return Fr(t.createAsExpression(Fe,gr),Fe.pos)}function Q_(){var Fe=Pe();return Fr(t.createPrefixUnaryExpression(we(),jn(Tu)),Fe)}function af(){var Fe=Pe();return Fr(t.createDeleteExpression(jn(Tu)),Fe)}function Tc(){var Fe=Pe();return Fr(t.createTypeOfExpression(jn(Tu)),Fe)}function $u(){var Fe=Pe();return Fr(t.createVoidExpression(jn(Tu)),Fe)}function of(){return we()===133?Ai()?!0:Ci(ku):!1}function X_(){var Fe=Pe();return Fr(t.createAwaitExpression(jn(Tu)),Fe)}function x_(){if(Cf()){var Fe=Pe(),gr=el();return we()===42?b_(e.getBinaryOperatorPrecedence(we()),gr,Fe):gr}var Yr=we(),mn=Tu();if(we()===42){var Fe=e.skipTrivia(dr,mn.pos),Un=mn.end;mn.kind===213?Ni(Fe,Un,e.Diagnostics.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):Ni(Fe,Un,e.Diagnostics.An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses,e.tokenToString(Yr))}return mn}function Tu(){switch(we()){case 39:case 40:case 54:case 53:return Q_();case 89:return af();case 112:return Tc();case 114:return $u();case 29:return wi();case 133:if(of())return X_();default:return el()}}function Cf(){switch(we()){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 133:return!1;case 29:if(Ur!==1)return!1;default:return!0}}function el(){if(we()===45||we()===46){var Fe=Pe();return Fr(t.createPrefixUnaryExpression(we(),jn(Lu)),Fe)}else if(Ur===1&&we()===29&&Ci(Es))return Eu(!0);var gr=Lu();if(e.Debug.assert(e.isLeftHandSideExpression(gr)),(we()===45||we()===46)&&!d.hasPrecedingLineBreak()){var Yr=we();return gn(),Fr(t.createPostfixUnaryExpression(gr,Yr),gr.pos)}return gr}function Lu(){var Fe=Pe(),gr;return we()===100?Ci(no)?(ln|=2097152,gr=so()):Ci(Eo)?(gn(),gn(),gr=Fr(t.createMetaProperty(100,tn()),Fe),ln|=4194304):gr=Ru():gr=we()===106?Bu():Ru(),Wo(Fe,gr)}function Ru(){var Fe=Pe(),gr=ts();return ji(Fe,gr,!0)}function Bu(){var Fe=Pe(),gr=so();if(we()===29){var Yr=Pe(),mn=Tt(Vc);mn!==void 0&&(Ni(Yr,Pe(),e.Diagnostics.super_may_not_use_type_arguments),su()||(gr=t.createExpressionWithTypeArguments(gr,mn)))}return we()===20||we()===24||we()===22?gr:(fo(24,e.Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access),Fr(t.createPropertyAccessExpression(gr,gs(!0,!0)),Fe))}function Eu(Fe,gr,Yr){var mn=Pe(),Un=Fo(Fe),ci;if(Un.kind===283){var tt=Od(Un),mt=void 0,bt=tt[tt.length-1];if((bt==null?void 0:bt.kind)===281&&!be(bt.openingElement.tagName,bt.closingElement.tagName)&&be(Un.tagName,bt.closingElement.tagName)){var Lt=bt.children.end,Oa=Fr(t.createJsxElement(bt.openingElement,bt.children,Fr(t.createJsxClosingElement(Fr(t.createIdentifier(""),Lt,Lt)),Lt,Lt)),bt.openingElement.pos,Lt);tt=pr(zn(zn([],tt.slice(0,tt.length-1),!0),[Oa],!1),tt.pos,Lt),mt=bt.closingElement}else mt=Md(Un,Fe),be(Un.tagName,mt.tagName)||(Yr&&e.isJsxOpeningElement(Yr)&&be(mt.tagName,Yr.tagName)?gi(Un.tagName,e.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,e.getTextOfNodeFromSourceText(dr,Un.tagName)):gi(mt.tagName,e.Diagnostics.Expected_corresponding_JSX_closing_tag_for_0,e.getTextOfNodeFromSourceText(dr,Un.tagName)));ci=Fr(t.createJsxElement(Un,tt,mt),mn)}else Un.kind===286?ci=Fr(t.createJsxFragment(Un,Od(Un),ss(Fe)),mn):(e.Debug.assert(Un.kind===282),ci=Un);if(Fe&&we()===29){var bo=typeof gr=="undefined"?ci.pos:gr,mo=Tt(function(){return Eu(!0,bo)});if(mo){var wo=yi(27,!1);return e.setTextRangePosWidth(wo,mo.pos,0),Ni(e.skipTrivia(dr,bo),mo.end,e.Diagnostics.JSX_expressions_must_have_one_parent_element),Fr(t.createBinaryExpression(ci,wo,mo),mn)}}return ci}function hp(){var Fe=Pe(),gr=t.createJsxText(d.getTokenValue(),pn===12);return pn=d.scanJsxToken(),Fr(gr,Fe)}function Z_(Fe,gr){switch(gr){case 1:if(e.isJsxOpeningFragment(Fe))gi(Fe,e.Diagnostics.JSX_fragment_has_no_corresponding_closing_tag);else{var Yr=Fe.tagName,mn=e.skipTrivia(dr,Yr.pos);Ni(mn,Yr.end,e.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,e.getTextOfNodeFromSourceText(dr,Fe.tagName))}return;case 30:case 7:return;case 11:case 12:return hp();case 18:return Fd(!1);case 29:return Eu(!1,void 0,Fe);default:return e.Debug.assertNever(gr)}}function Od(Fe){var gr=[],Yr=Pe(),mn=Ar;for(Ar|=1<<14;;){var Un=Z_(Fe,pn=d.reScanJsxToken());if(!Un||(gr.push(Un),e.isJsxOpeningElement(Fe)&&(Un==null?void 0:Un.kind)===281&&!be(Un.openingElement.tagName,Un.closingElement.tagName)&&be(Fe.tagName,Un.closingElement.tagName)))break}return Ar=mn,pr(gr,Yr)}function Y_(){var Fe=Pe();return Fr(t.createJsxAttributes(Ko(13,C_)),Fe)}function Fo(Fe){var gr=Pe();if(ni(29),we()===31)return Ki(),Fr(t.createJsxOpeningFragment(),gr);var Yr=sf(),mn=(cr&262144)==0?_n():void 0,Un=Y_(),ci;return we()===31?(Ki(),ci=t.createJsxOpeningElement(Yr,mn,Un)):(ni(43),ni(31,void 0,!1)&&(Fe?gn():Ki()),ci=t.createJsxSelfClosingElement(Yr,mn,Un)),Fr(ci,gr)}function sf(){var Fe=Pe();Vn();for(var gr=we()===108?so():tn();Vi(24);)gr=Fr(t.createPropertyAccessExpression(gr,gs(!0,!1)),Fe);return gr}function Fd(Fe){var gr=Pe();if(!!ni(18)){var Yr,mn;return we()!==19&&(Yr=Xi(25),mn=sc()),Fe?ni(19):ni(19,void 0,!1)&&Ki(),Fr(t.createJsxExpression(Yr,mn),gr)}}function C_(){if(we()===18)return Tf();Vn();var Fe=Pe();return Fr(t.createJsxAttribute(tn(),Gf()),Fe)}function Gf(){if(we()===63){if(dt()===10)return Gs();if(we()===18)return Fd(!0);if(we()===29)return Eu(!0);ti(e.Diagnostics.or_JSX_element_expected)}}function Tf(){var Fe=Pe();ni(18),ni(25);var gr=sc();return ni(19),Fr(t.createJsxSpreadAttribute(gr),Fe)}function Md(Fe,gr){var Yr=Pe();ni(30);var mn=sf();return ni(31,void 0,!1)&&(gr||!be(Fe.tagName,mn)?gn():Ki()),Fr(t.createJsxClosingElement(mn),Yr)}function ss(Fe){var gr=Pe();return ni(30),e.tokenIsIdentifierOrKeyword(we())&&gi(sf(),e.Diagnostics.Expected_corresponding_closing_tag_for_JSX_fragment),ni(31,void 0,!1)&&(Fe?gn():Ki()),Fr(t.createJsxJsxClosingFragment(),gr)}function wi(){var Fe=Pe();ni(29);var gr=xs();ni(31);var Yr=Tu();return Fr(t.createTypeAssertion(gr,Yr),Fe)}function Fs(){return gn(),e.tokenIsIdentifierOrKeyword(we())||we()===22||su()}function Kt(){return we()===28&&Ci(Fs)}function Hs(Fe){if(Fe.flags&32)return!0;if(e.isNonNullExpression(Fe)){for(var gr=Fe.expression;e.isNonNullExpression(gr)&&!(gr.flags&32);)gr=gr.expression;if(gr.flags&32){for(;e.isNonNullExpression(Fe);)Fe.flags|=32,Fe=Fe.expression;return!0}}return!1}function $_(Fe,gr,Yr){var mn=gs(!0,!0),Un=Yr||Hs(gr),ci=Un?t.createPropertyAccessChain(gr,Yr,mn):t.createPropertyAccessExpression(gr,mn);if(Un&&e.isPrivateIdentifier(ci.name)&&gi(ci.name,e.Diagnostics.An_optional_chain_cannot_contain_private_identifiers),e.isExpressionWithTypeArguments(gr)&&gr.typeArguments){var tt=gr.typeArguments.pos-1,mt=e.skipTrivia(dr,gr.typeArguments.end)+1;Ni(tt,mt,e.Diagnostics.An_instantiation_expression_cannot_be_followed_by_a_property_access)}return Fr(ci,Fe)}function Ec(Fe,gr,Yr){var mn;if(we()===23)mn=yi(79,!0,e.Diagnostics.An_element_access_expression_should_take_an_argument);else{var Un=Qe(sc);e.isStringOrNumericLiteralLike(Un)&&(Un.text=Dt(Un.text)),mn=Un}ni(23);var ci=Yr||Hs(gr)?t.createElementAccessChain(gr,Yr,mn):t.createElementAccessExpression(gr,mn);return Fr(ci,Fe)}function ji(Fe,gr,Yr){for(;;){var mn=void 0,Un=!1;if(Yr&&Kt()?(mn=fo(28),Un=e.tokenIsIdentifierOrKeyword(we())):Un=Vi(24),Un){gr=$_(Fe,gr,mn);continue}if((mn||!Hn())&&Vi(22)){gr=Ec(Fe,gr,mn);continue}if(su()){gr=!mn&&gr.kind===230?cu(Fe,gr.expression,mn,gr.typeArguments):cu(Fe,gr,mn,void 0);continue}if(!mn){if(we()===53&&!d.hasPrecedingLineBreak()){gn(),gr=Fr(t.createNonNullExpression(gr),Fe);continue}var ci=Tt(Vc);if(ci){gr=Fr(t.createExpressionWithTypeArguments(gr,ci),Fe);continue}}return gr}}function su(){return we()===14||we()===15}function cu(Fe,gr,Yr,mn){var Un=t.createTaggedTemplateExpression(gr,mn,we()===14?(Xn(),Gs()):ws(!0));return(Yr||gr.flags&32)&&(Un.flags|=32),Un.questionDotToken=Yr,Fr(Un,Fe)}function Wo(Fe,gr){for(;;){gr=ji(Fe,gr,!0);var Yr=void 0,mn=Xi(28);if(mn&&(Yr=Tt(Vc),su())){gr=cu(Fe,gr,mn,Yr);continue}if(Yr||we()===20){!mn&&gr.kind===230&&(Yr=gr.typeArguments,gr=gr.expression);var Un=kc(),ci=mn||Hs(gr)?t.createCallChain(gr,mn,Yr,Un):t.createCallExpression(gr,Yr,Un);gr=Fr(ci,Fe);continue}if(mn){var tt=yi(79,!1,e.Diagnostics.Identifier_expected);gr=Fr(t.createPropertyAccessChain(gr,mn,tt),Fe)}break}return gr}function kc(){ni(20);var Fe=va(11,rl);return ni(21),Fe}function Vc(){if((cr&262144)==0&&Ge()===29){gn();var Fe=va(20,xs);if(Cn()===31)return gn(),Fe&&ed()?Fe:void 0}}function ed(){switch(we()){case 20:case 14:case 15:return!0;case 29:case 31:case 39:case 40:return!1}return d.hasPrecedingLineBreak()||S_()||!vc()}function ts(){switch(we()){case 8:case 9:case 10:case 14:return Gs();case 108:case 106:case 104:case 110:case 95:return so();case 20:return gl();case 22:return Ms();case 18:return Hf();case 132:if(!Ci(Xf))break;return Kf();case 84:return yc();case 98:return Kf();case 103:return Dp();case 43:case 68:if(Dn()===13)return Gs();break;case 15:return ws(!1);case 80:return Mn()}return Ve(e.Diagnostics.Expression_expected)}function gl(){var Fe=Pe(),gr=Ir();ni(20);var Yr=Qe(sc);return ni(21),Lr(Fr(t.createParenthesizedExpression(Yr),Fe),gr)}function Ef(){var Fe=Pe();ni(25);var gr=Cc(!0);return Fr(t.createSpreadElement(gr),Fe)}function T_(){return we()===25?Ef():we()===27?Fr(t.createOmittedExpression(),Pe()):Cc(!0)}function rl(){return Te(j,T_)}function Ms(){var Fe=Pe(),gr=d.getTokenPos(),Yr=ni(22),mn=d.hasPrecedingLineBreak(),Un=va(15,T_);return Aa(22,23,Yr,gr),Fr(t.createArrayLiteralExpression(Un,mn),Fe)}function ml(){var Fe=Pe(),gr=Ir();if(Xi(25)){var Yr=Cc(!0);return Lr(Fr(t.createSpreadAssignment(Yr),Fe),gr)}var mn=Ml(),Un=Ju();if(_i(137))return gu(Fe,gr,mn,Un,174,0);if(_i(151))return gu(Fe,gr,mn,Un,175,0);var ci=Xi(41),tt=Zi(),mt=ur(),bt=Xi(57),Lt=Xi(53);if(ci||we()===20||we()===29)return tl(Fe,gr,mn,Un,ci,mt,bt,Lt);var Oa,bo=tt&&we()!==58;if(bo){var mo=Xi(63),wo=mo?Qe(function(){return Cc(!0)}):void 0;Oa=t.createShorthandPropertyAssignment(mt,wo),Oa.equalsToken=mo}else{ni(58);var Cs=Qe(function(){return Cc(!0)});Oa=t.createPropertyAssignment(mt,Cs)}return Oa.illegalDecorators=mn,Oa.modifiers=Un,Oa.questionToken=bt,Oa.exclamationToken=Lt,Lr(Fr(Oa,Fe),gr)}function Hf(){var Fe=Pe(),gr=d.getTokenPos(),Yr=ni(18),mn=d.hasPrecedingLineBreak(),Un=va(12,ml,!0);return Aa(18,19,Yr,gr),Fr(t.createObjectLiteralExpression(Un,mn),Fe)}function Kf(){var Fe=Hn();je(!1);var gr=Pe(),Yr=Ir(),mn=Ju();ni(98);var Un=Xi(41),ci=Un?1:0,tt=e.some(mn,e.isAsyncModifier)?2:0,mt=ci&&tt?fn(Nl):ci?hr(Nl):tt?Or(Nl):Nl(),bt=Yt(),Lt=fe(ci|tt),Oa=jo(58,!1),bo=cf(ci|tt);je(Fe);var mo=t.createFunctionExpression(mn,Un,mt,bt,Lt,Oa,bo);return Lr(Fr(mo,gr),Yr)}function Nl(){return ot()?Pa():void 0}function Dp(){var Fe=Pe();if(ni(103),Vi(24)){var gr=tn();return Fr(t.createMetaProperty(103,gr),Fe)}var Yr=Pe(),mn=ji(Yr,ts(),!1),Un;mn.kind===230&&(Un=mn.typeArguments,mn=mn.expression),we()===28&&ti(e.Diagnostics.Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0,e.getTextOfNodeFromSourceText(dr,mn));var ci=we()===20?kc():void 0;return Fr(t.createNewExpression(mn,Un,ci),Fe)}function Us(Fe,gr){var Yr=Pe(),mn=Ir(),Un=d.getTokenPos(),ci=ni(18,gr);if(ci||Fe){var tt=d.hasPrecedingLineBreak(),mt=Ko(1,ko);Aa(18,19,ci,Un);var bt=Lr(Fr(t.createBlock(mt,tt),Yr),mn);return we()===63&&(ti(e.Diagnostics.Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_the_whole_assignment_in_parentheses),gn()),bt}else{var mt=Tn();return Lr(Fr(t.createBlock(mt,void 0),Yr),mn)}}function cf(Fe,gr){var Yr=bn();on(!!(Fe&1));var mn=Ai();Sr(!!(Fe&2));var Un=Mr;Mr=!1;var ci=Hn();ci&&je(!1);var tt=Us(!!(Fe&16),gr);return ci&&je(!0),Mr=Un,on(Yr),Sr(mn),tt}function eu(){var Fe=Pe(),gr=Ir();return ni(26),Lr(Fr(t.createEmptyStatement(),Fe),gr)}function Ld(){var Fe=Pe(),gr=Ir();ni(99);var Yr=d.getTokenPos(),mn=ni(20),Un=Qe(sc);Aa(20,21,mn,Yr);var ci=ko(),tt=Vi(91)?ko():void 0;return Lr(Fr(t.createIfStatement(Un,ci,tt),Fe),gr)}function uf(){var Fe=Pe(),gr=Ir();ni(90);var Yr=ko();ni(115);var mn=d.getTokenPos(),Un=ni(20),ci=Qe(sc);return Aa(20,21,Un,mn),Vi(26),Lr(Fr(t.createDoStatement(Yr,ci),Fe),gr)}function lf(){var Fe=Pe(),gr=Ir();ni(115);var Yr=d.getTokenPos(),mn=ni(20),Un=Qe(sc);Aa(20,21,mn,Yr);var ci=ko();return Lr(Fr(t.createWhileStatement(Un,ci),Fe),gr)}function rd(){var Fe=Pe(),gr=Ir();ni(97);var Yr=Xi(133);ni(20);var mn;we()!==26&&(we()===113||we()===119||we()===85?mn=id(!0):mn=ue(sc));var Un;if(Yr?ni(162):Vi(162)){var ci=Qe(function(){return Cc(!0)});ni(21),Un=t.createForOfStatement(Yr,mn,ci,ko())}else if(Vi(101)){var ci=Qe(sc);ni(21),Un=t.createForInStatement(mn,ci,ko())}else{ni(26);var tt=we()!==26&&we()!==21?Qe(sc):void 0;ni(26);var mt=we()!==21?Qe(sc):void 0;ni(21),Un=t.createForStatement(mn,tt,mt,ko())}return Lr(Fr(Un,Fe),gr)}function Pl(Fe){var gr=Pe(),Yr=Ir();ni(Fe===249?81:86);var mn=Ho()?void 0:Ve();To();var Un=Fe===249?t.createBreakStatement(mn):t.createContinueStatement(mn);return Lr(Fr(Un,gr),Yr)}function nl(){var Fe=Pe(),gr=Ir();ni(105);var Yr=Ho()?void 0:Qe(sc);return To(),Lr(Fr(t.createReturnStatement(Yr),Fe),gr)}function nd(){var Fe=Pe(),gr=Ir();ni(116);var Yr=d.getTokenPos(),mn=ni(20),Un=Qe(sc);Aa(20,21,mn,Yr);var ci=Ye(33554432,ko);return Lr(Fr(t.createWithStatement(Un,ci),Fe),gr)}function ks(){var Fe=Pe(),gr=Ir();ni(82);var Yr=Qe(sc);ni(58);var mn=Ko(3,ko);return Lr(Fr(t.createCaseClause(Yr,mn),Fe),gr)}function Ac(){var Fe=Pe();ni(88),ni(58);var gr=Ko(3,ko);return Fr(t.createDefaultClause(gr),Fe)}function Ls(){return we()===82?ks():Ac()}function ff(){var Fe=Pe();ni(18);var gr=Ko(2,Ls);return ni(19),Fr(t.createCaseBlock(gr),Fe)}function E_(){var Fe=Pe(),gr=Ir();ni(107),ni(20);var Yr=Qe(sc);ni(21);var mn=ff();return Lr(Fr(t.createSwitchStatement(Yr,mn),Fe),gr)}function Ya(){var Fe=Pe(),gr=Ir();ni(109);var Yr=d.hasPrecedingLineBreak()?void 0:Qe(sc);return Yr===void 0&&(ze++,Yr=Fr(t.createIdentifier(""),Pe())),Zo()||Ua(Yr),Lr(Fr(t.createThrowStatement(Yr),Fe),gr)}function zi(){var Fe=Pe(),gr=Ir();ni(111);var Yr=Us(!1),mn=we()===83?Nc():void 0,Un;return(!mn||we()===96)&&(ni(96,e.Diagnostics.catch_or_finally_expected),Un=Us(!1)),Lr(Fr(t.createTryStatement(Yr,mn,Un),Fe),gr)}function Nc(){var Fe=Pe();ni(83);var gr;Vi(20)?(gr=k_(),ni(21)):gr=void 0;var Yr=Us(!1);return Fr(t.createCatchClause(gr,Yr),Fe)}function Vp(){var Fe=Pe(),gr=Ir();return ni(87),To(),Lr(Fr(t.createDebuggerStatement(),Fe),gr)}function Qf(){var Fe=Pe(),gr=Ir(),Yr,mn=we()===20,Un=Qe(sc);return e.isIdentifier(Un)&&Vi(58)?Yr=t.createLabeledStatement(Un,ko()):(Zo()||Ua(Un),Yr=t.createExpressionStatement(Un),mn&&(gr=!1)),Lr(Fr(Yr,Fe),gr)}function _f(){return gn(),e.tokenIsIdentifierOrKeyword(we())&&!d.hasPrecedingLineBreak()}function vl(){return gn(),we()===84&&!d.hasPrecedingLineBreak()}function Xf(){return gn(),we()===98&&!d.hasPrecedingLineBreak()}function ku(){return gn(),(e.tokenIsIdentifierOrKeyword(we())||we()===8||we()===9||we()===10)&&!d.hasPrecedingLineBreak()}function il(){for(;;)switch(we()){case 113:case 119:case 85:case 98:case 84:case 92:return!0;case 118:case 154:return Pd();case 142:case 143:return Zf();case 126:case 127:case 132:case 136:case 121:case 122:case 123:case 146:if(gn(),d.hasPrecedingLineBreak())return!1;continue;case 159:return gn(),we()===18||we()===79||we()===93;case 100:return gn(),we()===10||we()===41||we()===18||e.tokenIsIdentifierOrKeyword(we());case 93:var Fe=gn();if(Fe===154&&(Fe=Ci(gn)),Fe===63||Fe===41||Fe===18||Fe===88||Fe===128)return!0;continue;case 124:gn();continue;default:return!1}}function Il(){return Ci(il)}function kf(){switch(we()){case 59:case 26:case 18:case 113:case 119:case 98:case 84:case 92:case 99:case 90:case 115:case 97:case 86:case 81:case 105:case 116:case 107:case 109:case 111:case 87:case 83:case 96:return!0;case 100:return Il()||Ci(Fa);case 85:case 93:return Il();case 132:case 136:case 118:case 142:case 143:case 154:case 159:return!0;case 127:case 123:case 121:case 122:case 124:case 146:return Il()||!Ci(_f);default:return vc()}}function qc(){return gn(),ot()||we()===18||we()===22}function bp(){return Ci(qc)}function ko(){switch(we()){case 26:return eu();case 18:return Us(!1);case 113:return Ol(Pe(),Ir(),void 0,void 0);case 119:if(bp())return Ol(Pe(),Ir(),void 0,void 0);break;case 98:return Au(Pe(),Ir(),void 0,void 0);case 84:return A_(Pe(),Ir(),void 0,void 0);case 99:return Ld();case 90:return uf();case 115:return lf();case 97:return rd();case 86:return Pl(248);case 81:return Pl(249);case 105:return nl();case 116:return nd();case 107:return E_();case 109:return Ya();case 111:case 83:case 96:return zi();case 87:return Vp();case 59:return Af();case 132:case 118:case 154:case 142:case 143:case 136:case 85:case 92:case 93:case 100:case 121:case 122:case 123:case 126:case 127:case 124:case 146:case 159:if(Il())return Af();break}return Qf()}function Gc(Fe){return Fe.kind===136}function Af(){var Fe=Pe(),gr=Ir(),Yr=Ml(),mn=Ju(),Un=e.some(mn,Gc);if(Un){var ci=uu(Fe);if(ci)return ci;for(var tt=0,mt=mn;tt=0),e.Debug.assert(Lt<=mo),e.Debug.assert(mo<=bo.length),!le(bo,Lt))return;var wo,Cs,hc,$o,vu,Kc=[],Ks=[];return d.scanRange(Lt+3,Oa-5,function(){var Pi=1,Et,It=Lt-(bo.lastIndexOf(` `,Lt)+1)+4;function nt(iu){Et||(Et=It),Kc.push(iu),It+=iu.length}for(nn();t_(5););t_(4)&&(Pi=0,It=0);e:for(;;){switch(we()){case 59:Pi===0||Pi===1?(ol(Kc),vu||(vu=Pe()),Li(R(It)),Pi=0,Et=void 0):nt(d.getTokenText());break;case 4:Kc.push(d.getTokenText()),Pi=0,It=0;break;case 41:var ma=d.getTokenText();Pi===1||Pi===2?(Pi=2,nt(ma)):(Pi=1,It+=ma.length);break;case 5:var $a=d.getTokenText();Pi===2?Kc.push($a):Et!==void 0&&It+$a.length>Et&&Kc.push($a.slice(Et-It)),It+=$a.length;break;case 1:break e;case 18:Pi=2;var cs=d.getStartPos(),wc=d.getTextPos()-1,Oc=oi(wc);if(Oc){$o||Ic(Kc),Ks.push(Fr(t.createJSDocText(Kc.join("")),$o!=null?$o:Lt,cs)),Ks.push(Oc),Kc=[],$o=d.getTextPos();break}default:Pi=2,nt(d.getTokenText());break}nn()}ol(Kc),Ks.length&&Kc.length&&Ks.push(Fr(t.createJSDocText(Kc.join("")),$o!=null?$o:Lt,vu)),Ks.length&&wo&&e.Debug.assertIsDefined(vu,"having parsed tags implies that the end of the comment span should be set");var Uu=wo&&pr(wo,Cs,hc);return Fr(t.createJSDocComment(Ks.length?pr(Ks,Lt,vu):Kc.length?Kc.join(""):void 0,Uu),Lt,mo)});function Ic(Pi){for(;Pi.length&&(Pi[0]===` `||Pi[0]==="\r");)Pi.shift()}function ol(Pi){for(;Pi.length&&Pi[Pi.length-1].trim()==="";)Pi.pop()}function i_(){for(;;){if(nn(),we()===1)return!0;if(!(we()===5||we()===4))return!1}}function Js(){if(!((we()===5||we()===4)&&Ci(i_)))for(;we()===5||we()===4;)nn()}function _(){if((we()===5||we()===4)&&Ci(i_))return"";for(var Pi=d.hasPrecedingLineBreak(),Et=!1,It="";Pi&&we()===41||we()===5||we()===4;)It+=d.getTokenText(),we()===4?(Pi=!0,Et=!0,It=""):we()===41&&(Pi=!1),nn();return Et?It:""}function R(Pi){e.Debug.assert(we()===59);var Et=d.getTokenPos();nn();var It=I_(void 0),nt=_(),ma;switch(It.escapedText){case"author":ma=Ev(Et,It,Pi,nt);break;case"implements":ma=yg(Et,It,Pi,nt);break;case"augments":case"extends":ma=hg(Et,It,Pi,nt);break;case"class":case"constructor":ma=cc(Et,t.createJSDocClassTag,It,Pi,nt);break;case"public":ma=cc(Et,t.createJSDocPublicTag,It,Pi,nt);break;case"private":ma=cc(Et,t.createJSDocPrivateTag,It,Pi,nt);break;case"protected":ma=cc(Et,t.createJSDocProtectedTag,It,Pi,nt);break;case"readonly":ma=cc(Et,t.createJSDocReadonlyTag,It,Pi,nt);break;case"override":ma=cc(Et,t.createJSDocOverrideTag,It,Pi,nt);break;case"deprecated":xn=!0,ma=cc(Et,t.createJSDocDeprecatedTag,It,Pi,nt);break;case"this":ma=kv(Et,It,Pi,nt);break;case"enum":ma=im(Et,It,Pi,nt);break;case"arg":case"argument":case"param":return Of(Et,It,2,Pi);case"return":case"returns":ma=_d(Et,It,Pi,nt);break;case"template":ma=am(Et,It,Pi,nt);break;case"type":ma=rm(Et,It,Pi,nt);break;case"typedef":ma=nu(Et,It,Pi,nt);break;case"callback":ma=Nv(Et,It,Pi,nt);break;case"see":ma=df(Et,It,Pi,nt);break;default:ma=Rs(Et,It,Pi,nt);break}return ma}function he(Pi,Et,It,nt){return nt||(It+=Et-Pi),nr(It,nt.slice(It))}function nr(Pi,Et){var It=Pe(),nt=[],ma=[],$a,cs=0,wc=!0,Oc;function Uu(dd){Oc||(Oc=Pi),nt.push(dd),Pi+=dd.length}Et!==void 0&&(Et!==""&&Uu(Et),cs=1);var iu=we();e:for(;;){switch(iu){case 4:cs=0,nt.push(d.getTokenText()),Pi=0;break;case 59:if(cs===3||cs===2&&(!wc||Ci($r))){nt.push(d.getTokenText());break}d.setTextPos(d.getTextPos()-1);case 1:break e;case 5:if(cs===2||cs===3)Uu(d.getTokenText());else{var Rl=d.getTokenText();Oc!==void 0&&Pi+Rl.length>Oc&&nt.push(Rl.slice(Oc-Pi)),Pi+=Rl.length}break;case 18:cs=2;var Ud=d.getStartPos(),Np=d.getTextPos()-1,hu=oi(Np);hu?(ma.push(Fr(t.createJSDocText(nt.join("")),$a!=null?$a:It,Ud)),ma.push(hu),nt=[],$a=d.getTextPos()):Uu(d.getTokenText());break;case 61:cs===3?cs=2:cs=3,Uu(d.getTokenText());break;case 41:if(cs===0){cs=1,Pi+=1;break}default:cs!==3&&(cs=2),Uu(d.getTokenText());break}wc=we()===5,iu=nn()}if(Ic(nt),ol(nt),ma.length)return nt.length&&ma.push(Fr(t.createJSDocText(nt.join("")),$a!=null?$a:It)),pr(ma,It,d.getTextPos());if(nt.length)return nt.join("")}function $r(){var Pi=nn();return Pi===5||Pi===4}function oi(Pi){var Et=Tt(ft);if(!!Et){nn(),Js();var It=Pe(),nt=e.tokenIsIdentifierOrKeyword(we())?xa(!0):void 0;if(nt)for(;we()===80;)cn(),nn(),nt=Fr(t.createJSDocMemberName(nt,Ve()),It);for(var ma=[];we()!==19&&we()!==4&&we()!==1;)ma.push(d.getTokenText()),nn();var $a=Et==="link"?t.createJSDocLink:Et==="linkcode"?t.createJSDocLinkCode:t.createJSDocLinkPlain;return Fr($a(nt,ma.join("")),Pi,d.getTextPos())}}function ft(){if(_(),we()===18&&nn()===59&&e.tokenIsIdentifierOrKeyword(nn())){var Pi=d.getTokenValue();if(Ja(Pi))return Pi}}function Ja(Pi){return Pi==="link"||Pi==="linkcode"||Pi==="linkplain"}function Rs(Pi,Et,It,nt){return Fr(t.createJSDocUnknownTag(Et,he(Pi,Pe(),It,nt)),Pi)}function Li(Pi){!Pi||(wo?wo.push(Pi):(wo=[Pi],Cs=Pi.pos),hc=Pi.end)}function ju(){return _(),we()===18?Yr():void 0}function yu(){var Pi=t_(22);Pi&&Js();var Et=t_(61),It=bg();return Et&&As(61),Pi&&(Js(),Xi(63)&&sc(),ni(23)),{name:It,isBracketed:Pi}}function wf(Pi){switch(Pi.kind){case 149:return!0;case 185:return wf(Pi.elementType);default:return e.isTypeReferenceNode(Pi)&&e.isIdentifier(Pi.typeName)&&Pi.typeName.escapedText==="Object"&&!Pi.typeArguments}}function Of(Pi,Et,It,nt){var ma=ju(),$a=!ma;_();var cs=yu(),wc=cs.name,Oc=cs.isBracketed,Uu=_();$a&&!Ci(ft)&&(ma=ju());var iu=he(Pi,Pe(),nt,Uu),Rl=It!==4&&mg(ma,wc,It,nt);Rl&&(ma=Rl,$a=!0);var Ud=It===1?t.createJSDocPropertyTag(Et,wc,Oc,ma,$a,iu):t.createJSDocParameterTag(Et,wc,Oc,ma,$a,iu);return Fr(Ud,Pi)}function mg(Pi,Et,It,nt){if(Pi&&wf(Pi.type)){for(var ma=Pe(),$a=void 0,cs=void 0;$a=Tt(function(){return Dg(It,nt,Et)});)($a.kind===343||$a.kind===350)&&(cs=e.append(cs,$a));if(cs){var wc=Fr(t.createJSDocTypeLiteral(cs,Pi.type.kind===185),ma);return Fr(t.createJSDocTypeExpression(wc),ma)}}}function _d(Pi,Et,It,nt){e.some(wo,e.isJSDocReturnTag)&&Ni(Et.pos,d.getTokenPos(),e.Diagnostics._0_tag_already_specified,Et.escapedText);var ma=ju();return Fr(t.createJSDocReturnTag(Et,ma,he(Pi,Pe(),It,nt)),Pi)}function rm(Pi,Et,It,nt){e.some(wo,e.isJSDocTypeTag)&&Ni(Et.pos,d.getTokenPos(),e.Diagnostics._0_tag_already_specified,Et.escapedText);var ma=Yr(!0),$a=It!==void 0&&nt!==void 0?he(Pi,Pe(),It,nt):void 0;return Fr(t.createJSDocTypeTag(Et,ma,$a),Pi)}function df(Pi,Et,It,nt){var ma=we()===22||Ci(function(){return nn()===59&&e.tokenIsIdentifierOrKeyword(nn())&&Ja(d.getTokenValue())}),$a=ma?void 0:mn(),cs=It!==void 0&&nt!==void 0?he(Pi,Pe(),It,nt):void 0;return Fr(t.createJSDocSeeTag(Et,$a,cs),Pi)}function Ev(Pi,Et,It,nt){var ma=Pe(),$a=vg(),cs=d.getStartPos(),wc=he(Pi,cs,It,nt);wc||(cs=d.getStartPos());var Oc=typeof wc!="string"?pr(e.concatenate([Fr($a,ma,cs)],wc),ma):$a.text+wc;return Fr(t.createJSDocAuthorTag(Et,Oc),Pi)}function vg(){for(var Pi=[],Et=!1,It=d.getToken();It!==1&&It!==4;){if(It===29)Et=!0;else{if(It===59&&!Et)break;if(It===31&&Et){Pi.push(d.getTokenText()),d.setTextPos(d.getTokenPos()+1);break}}Pi.push(d.getTokenText()),It=nn()}return t.createJSDocText(Pi.join(""))}function yg(Pi,Et,It,nt){var ma=nm();return Fr(t.createJSDocImplementsTag(Et,ma,he(Pi,Pe(),It,nt)),Pi)}function hg(Pi,Et,It,nt){var ma=nm();return Fr(t.createJSDocAugmentsTag(Et,ma,he(Pi,Pe(),It,nt)),Pi)}function nm(){var Pi=Vi(18),Et=Pe(),It=Qp(),nt=_n(),ma=t.createExpressionWithTypeArguments(It,nt),$a=Fr(ma,Et);return Pi&&ni(19),$a}function Qp(){for(var Pi=Pe(),Et=I_();Vi(24);){var It=I_();Et=Fr(t.createPropertyAccessExpression(Et,It),Pi)}return Et}function cc(Pi,Et,It,nt,ma){return Fr(Et(It,he(Pi,Pe(),nt,ma)),Pi)}function kv(Pi,Et,It,nt){var ma=Yr(!0);return Js(),Fr(t.createJSDocThisTag(Et,ma,he(Pi,Pe(),It,nt)),Pi)}function im(Pi,Et,It,nt){var ma=Yr(!0);return Js(),Fr(t.createJSDocEnumTag(Et,ma,he(Pi,Pe(),It,nt)),Pi)}function nu(Pi,Et,It,nt){var ma,$a=ju();_();var cs=tm();Js();var wc=nr(It),Oc;if(!$a||wf($a.type)){for(var Uu=void 0,iu=void 0,Rl=void 0,Ud=!1;Uu=Tt(function(){return Pv(It)});)if(Ud=!0,Uu.kind===346)if(iu){var Np=ti(e.Diagnostics.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);Np&&e.addRelatedInfo(Np,e.createDetachedDiagnostic(qr,0,0,e.Diagnostics.The_tag_was_first_specified_here));break}else iu=Uu;else Rl=e.append(Rl,Uu);if(Ud){var hu=$a&&$a.type.kind===185,dd=t.createJSDocTypeLiteral(Rl,hu);$a=iu&&iu.typeExpression&&!wf(iu.typeExpression.type)?iu.typeExpression:Fr(dd,Pi),Oc=$a.end}}Oc=Oc||wc!==void 0?Pe():((ma=cs!=null?cs:$a)!==null&&ma!==void 0?ma:Et).end,wc||(wc=he(Pi,Oc,It,nt));var zd=t.createJSDocTypedefTag(Et,$a,cs,wc);return Fr(zd,Pi,Oc)}function tm(Pi){var Et=d.getTokenPos();if(!!e.tokenIsIdentifierOrKeyword(we())){var It=I_();if(Vi(24)){var nt=tm(!0),ma=t.createModuleDeclaration(void 0,It,nt,Pi?4:void 0);return Fr(ma,Et)}return Pi&&(It.isInJSDocNamespace=!0),It}}function Av(Pi){for(var Et=Pe(),It,nt;It=Tt(function(){return Dg(4,Pi)});)nt=e.append(nt,It);return pr(nt||[],Et)}function Nv(Pi,Et,It,nt){var ma=tm();Js();var $a=nr(It),cs=Av(It),wc=Tt(function(){if(t_(59)){var iu=R(It);if(iu&&iu.kind===344)return iu}}),Oc=Fr(t.createJSDocSignature(void 0,cs,wc),Pi);$a||($a=he(Pi,Pe(),It,nt));var Uu=$a!==void 0?Pe():Oc.end;return Fr(t.createJSDocCallbackTag(Et,Oc,ma,$a),Pi,Uu)}function Ap(Pi,Et){for(;!e.isIdentifier(Pi)||!e.isIdentifier(Et);)if(!e.isIdentifier(Pi)&&!e.isIdentifier(Et)&&Pi.right.escapedText===Et.right.escapedText)Pi=Pi.left,Et=Et.left;else return!1;return Pi.escapedText===Et.escapedText}function Pv(Pi){return Dg(1,Pi)}function Dg(Pi,Et,It){for(var nt=!0,ma=!1;;)switch(nn()){case 59:if(nt){var $a=_u(Pi,Et);return $a&&($a.kind===343||$a.kind===350)&&Pi!==4&&It&&(e.isIdentifier($a.name)||!Ap(It,$a.name.left))?!1:$a}ma=!1;break;case 4:nt=!0,ma=!1;break;case 41:ma&&(nt=!1),ma=!0;break;case 79:nt=!1;break;case 1:return!1}}function _u(Pi,Et){e.Debug.assert(we()===59);var It=d.getStartPos();nn();var nt=I_();Js();var ma;switch(nt.escapedText){case"type":return Pi===1&&rm(It,nt);case"prop":case"property":ma=1;break;case"arg":case"argument":case"param":ma=2|4;break;default:return!1}return Pi&ma?Of(It,nt,Pi,Et):!1}function Rm(){var Pi=Pe(),Et=t_(22);Et&&Js();var It=I_(e.Diagnostics.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces),nt;if(Et&&(Js(),ni(63),nt=Ye(8388608,Bi),ni(23)),!e.nodeIsMissing(It))return Fr(t.createTypeParameterDeclaration(void 0,It,void 0,nt),Pi)}function Xp(){var Pi=Pe(),Et=[];do{Js();var It=Rm();It!==void 0&&Et.push(It),_()}while(t_(27));return pr(Et,Pi)}function am(Pi,Et,It,nt){var ma=we()===18?Yr():void 0,$a=Xp();return Fr(t.createJSDocTemplateTag(Et,ma,$a,he(Pi,Pe(),It,nt)),Pi)}function t_(Pi){return we()===Pi?(nn(),!0):!1}function bg(){var Pi=I_();for(Vi(22)&&ni(23);Vi(24);){var Et=I_();Vi(22)&&ni(23),Pi=co(Pi,Et)}return Pi}function I_(Pi){if(!e.tokenIsIdentifierOrKeyword(we()))return yi(79,!Pi,Pi||e.Diagnostics.Identifier_expected);ze++;var Et=d.getTokenPos(),It=d.getTextPos(),nt=we(),ma=Dt(d.getTokenValue()),$a=Fr(t.createIdentifier(ma,void 0,nt),Et,It);return nn(),$a}}})(Kp=Y.JSDocParser||(Y.JSDocParser={}))})(w||(w={}));var z;(function(Y){function d(dr,vr,kr,Ur){if(Ur=Ur||e.Debug.shouldAssert(2),t(dr,vr,kr,Ur),e.textChangeRangeIsUnchanged(kr))return dr;if(dr.statements.length===0)return w.parseSourceFile(dr.fileName,vr,dr.languageVersion,void 0,!0,dr.scriptKind,dr.setExternalModuleIndicator);var Cr=dr;e.Debug.assert(!Cr.hasBeenIncrementallyParsed),Cr.hasBeenIncrementallyParsed=!0,w.fixupParentReferences(Cr);var rn=dr.text,Br=qr(dr),pn=mr(dr,kr);t(dr,vr,pn,Ur),e.Debug.assert(pn.span.start<=kr.span.start),e.Debug.assert(e.textSpanEnd(pn.span)===e.textSpanEnd(kr.span)),e.Debug.assert(e.textSpanEnd(e.textChangeRangeNewSpan(pn))===e.textSpanEnd(e.textChangeRangeNewSpan(kr)));var ve=e.textChangeRangeNewSpan(pn).length-pn.span.length;wr(Cr,pn.span.start,e.textSpanEnd(pn.span),e.textSpanEnd(e.textChangeRangeNewSpan(pn)),ve,rn,vr,Ur);var or=w.parseSourceFile(dr.fileName,vr,dr.languageVersion,Br,!0,dr.scriptKind,dr.setExternalModuleIndicator);return or.commentDirectives=j(dr.commentDirectives,or.commentDirectives,pn.span.start,e.textSpanEnd(pn.span),ve,rn,vr,Ur),or.impliedNodeFormat=dr.impliedNodeFormat,or}Y.updateSourceFile=d;function j(dr,vr,kr,Ur,Cr,rn,Br,pn){if(!dr)return vr;for(var ve,or=!1,Ee=0,ze=dr;EeUr){Rr();var Mr={range:{pos:xe.pos+Cr,end:xe.end+Cr},type:cr};ve=e.append(ve,Mr),pn&&e.Debug.assert(rn.substring(xe.pos,xe.end)===Br.substring(Mr.range.pos,Mr.range.end))}}return Rr(),ve;function Rr(){or||(or=!0,ve?vr&&ve.push.apply(ve,vr):ve=vr)}}function Ce(dr,vr,kr,Ur,Cr,rn){vr?pn(dr):Br(dr);return;function Br(ve){var or="";if(rn&&Se(ve)&&(or=Ur.substring(ve.pos,ve.end)),ve._children&&(ve._children=void 0),e.setTextRangePosEnd(ve,ve.pos+kr,ve.end+kr),rn&&Se(ve)&&e.Debug.assert(or===Cr.substring(ve.pos,ve.end)),J(ve,Br,pn),e.hasJSDocNodes(ve))for(var Ee=0,ze=ve.jsDoc;Ee=vr,"Adjusting an element that was entirely before the change range"),e.Debug.assert(dr.pos<=kr,"Adjusting an element that was entirely after the change range"),e.Debug.assert(dr.pos<=dr.end);var rn=Math.min(dr.pos,Ur),Br=dr.end>=kr?dr.end+Cr:Math.min(dr.end,Ur);e.Debug.assert(rn<=Br),dr.parent&&(e.Debug.assertGreaterThanOrEqual(rn,dr.parent.pos),e.Debug.assertLessThanOrEqual(Br,dr.parent.end)),e.setTextRangePosEnd(dr,rn,Br)}function er(dr,vr){if(vr){var kr=dr.pos,Ur=function(pn){e.Debug.assert(pn.pos>=kr),kr=pn.end};if(e.hasJSDocNodes(dr))for(var Cr=0,rn=dr.jsDoc;Crkr){Ce(Ee,!1,Cr,rn,Br,pn);return}var ze=Ee.end;if(ze>=vr){if(Ee.intersectsChange=!0,Ee._children=void 0,Re(Ee,vr,kr,Ur,Cr),J(Ee,ve,or),e.hasJSDocNodes(Ee))for(var Ar=0,xe=Ee.jsDoc;Arkr){Ce(Ee,!0,Cr,rn,Br,pn);return}var ze=Ee.end;if(ze>=vr){Ee.intersectsChange=!0,Ee._children=void 0,Re(Ee,vr,kr,Ur,Cr);for(var Ar=0,xe=Ee;Ar0&&Cr<=kr;Cr++){var rn=Ue(dr,Ur);e.Debug.assert(rn.pos<=Ur);var Br=rn.pos;Ur=Math.max(0,Br-1)}var pn=e.createTextSpanFromBounds(Ur,e.textSpanEnd(vr.span)),ve=vr.newLength+(vr.span.start-Ur);return e.createTextChangeRange(pn,ve)}function Ue(dr,vr){var kr=dr,Ur;if(J(dr,Br),Ur){var Cr=rn(Ur);Cr.pos>kr.pos&&(kr=Cr)}return kr;function rn(pn){for(;;){var ve=e.getLastChild(pn);if(ve)pn=ve;else return pn}}function Br(pn){if(!e.nodeIsMissing(pn))if(pn.pos<=vr){if(pn.pos>=kr.pos&&(kr=pn),vrvr),!0}}function t(dr,vr,kr,Ur){var Cr=dr.text;if(kr&&(e.Debug.assert(Cr.length-kr.span.length+kr.newLength===vr.length),Ur||e.Debug.shouldAssert(3))){var rn=Cr.substr(0,kr.span.start),Br=vr.substr(0,kr.span.start);e.Debug.assert(rn===Br);var pn=Cr.substring(e.textSpanEnd(kr.span),Cr.length),ve=vr.substring(e.textSpanEnd(e.textChangeRangeNewSpan(kr)),vr.length);e.Debug.assert(pn===ve)}}function qr(dr){var vr=dr.statements,kr=0;e.Debug.assert(kr=or.pos&&Br=or.pos&&BrY.checkJsDirective.pos)&&(Y.checkJsDirective={enabled:Ce==="ts-check",end:t.range.end,pos:t.range.pos})});break}case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:e.Debug.fail("Unhandled pragma kind")}})}e.processPragmasIntoFields=He;var Be=new e.Map;function Me(Y){if(Be.has(Y))return Be.get(Y);var d=new RegExp("(\\s".concat(Y,`\\s*=\\s*)(?:(?:'([^']*)')|(?:"([^"]*)"))`),"im");return Be.set(Y,d),d}var Le=/^\/\/\/\s*<(\S+)\s.*?\/>/im,Ae=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im;function Xe(Y,d,j){var Ce=d.kind===2&&Le.exec(j);if(Ce){var Se=Ce[1].toLowerCase(),Re=e.commentPragmas[Se];if(!Re||!(Re.kind&1))return;if(Re.args){for(var er={},wr=0,mr=Re.args;wr=bn.length)break;var Hn=yn;if(bn.charCodeAt(Hn)===34){for(yn++;yn32;)yn++;qn.push(bn.substring(Hn,yn))}}fn(qn)}}e.parseCommandLineWorker=ae;function E(ue,Ke,tr,hr,_r,Or){if(hr.isTSConfigOnly){var zr=ue[Ke];zr==="null"?(_r[hr.name]=void 0,Ke++):hr.type==="boolean"?zr==="false"?(_r[hr.name]=en(hr,!1,Or),Ke++):(zr==="true"&&Ke++,Or.push(e.createCompilerDiagnostic(e.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line,hr.name))):(Or.push(e.createCompilerDiagnostic(e.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line,hr.name)),zr&&!e.startsWith(zr,"-")&&Ke++)}else if(!ue[Ke]&&hr.type!=="boolean"&&Or.push(e.createCompilerDiagnostic(tr.optionTypeMismatchDiagnostic,hr.name,w(hr))),ue[Ke]!=="null")switch(hr.type){case"number":_r[hr.name]=en(hr,parseInt(ue[Ke]),Or),Ke++;break;case"boolean":var zr=ue[Ke];_r[hr.name]=en(hr,zr!=="false",Or),(zr==="false"||zr==="true")&&Ke++;break;case"string":_r[hr.name]=en(hr,ue[Ke]||"",Or),Ke++;break;case"list":var fn=de(hr,ue[Ke],Or);_r[hr.name]=fn||[],fn&&Ke++;break;default:_r[hr.name]=le(hr,ue[Ke],Or),Ke++;break}else _r[hr.name]=void 0,Ke++;return Ke}e.compilerOptionsDidYouMeanDiagnostics={alternateMode:_e,getOptionsNameMap:ie,optionDeclarations:e.optionDeclarations,unknownOptionDiagnostic:e.Diagnostics.Unknown_compiler_option_0,unknownDidYouMeanDiagnostic:e.Diagnostics.Unknown_compiler_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:e.Diagnostics.Compiler_option_0_expects_an_argument};function I(ue,Ke){return ae(e.compilerOptionsDidYouMeanDiagnostics,ue,Ke)}e.parseCommandLine=I;function f(ue,Ke){return m(ie,ue,Ke)}e.getOptionFromName=f;function m(ue,Ke,tr){tr===void 0&&(tr=!1),Ke=Ke.toLowerCase();var hr=ue(),_r=hr.optionsNameMap,Or=hr.shortOptionNames;if(tr){var zr=Or.get(Ke);zr!==void 0&&(Ke=zr)}return _r.get(Ke)}var y;function S(){return y||(y=se(e.buildOpts))}var k={diagnostic:e.Diagnostics.Compiler_option_0_may_not_be_used_with_build,getOptionsNameMap:ie},C={alternateMode:k,getOptionsNameMap:S,optionDeclarations:e.buildOpts,unknownOptionDiagnostic:e.Diagnostics.Unknown_build_option_0,unknownDidYouMeanDiagnostic:e.Diagnostics.Unknown_build_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:e.Diagnostics.Build_option_0_requires_a_value_of_type_1};function me(ue){var Ke=ae(C,ue),tr=Ke.options,hr=Ke.watchOptions,_r=Ke.fileNames,Or=Ke.errors,zr=tr;return _r.length===0&&_r.push("."),zr.clean&&zr.force&&Or.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","force")),zr.clean&&zr.verbose&&Or.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","verbose")),zr.clean&&zr.watch&&Or.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","watch")),zr.watch&&zr.dry&&Or.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"watch","dry")),{buildOptions:zr,watchOptions:hr,projects:_r,errors:Or}}e.parseBuildCommand=me;function De(ue){for(var Ke=[],tr=1;tr=0)return zr.push(e.createCompilerDiagnostic(e.Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0,zn(zn([],Or,!0),[Wn],!1).join(" -> "))),{raw:ue||u(Ke,zr)};var bn=ue?kr(ue,tr,hr,_r,zr):Ur(Ke,tr,hr,_r,zr);if(((Vr=bn.options)===null||Vr===void 0?void 0:Vr.paths)&&(bn.options.pathsBasePath=hr),bn.extendedConfigPath){Or=Or.concat([Wn]);var qn=rn(Ke,bn.extendedConfigPath,tr,Or,zr,fn);if(qn&&dr(qn)){var yn=qn.raw,Hn=bn.raw,Ai,ti=function(Hi){!Hn[Hi]&&yn[Hi]&&(Hn[Hi]=e.map(yn[Hi],function(Ni){return e.isRootedDiskPath(Ni)?Ni:e.combinePaths(Ai||(Ai=e.convertToRelativePath(e.getDirectoryPath(bn.extendedConfigPath),hr,e.createGetCanonicalFileName(tr.useCaseSensitiveFileNames))),Ni)}))};ti("include"),ti("exclude"),ti("files"),Hn.compileOnSave===void 0&&(Hn.compileOnSave=yn.compileOnSave),bn.options=e.assign({},qn.options,bn.options),bn.watchOptions=bn.watchOptions&&qn.watchOptions?e.assign({},qn.watchOptions,bn.watchOptions):bn.watchOptions||qn.watchOptions}}return bn}function kr(ue,Ke,tr,hr,_r){e.hasProperty(ue,"excludes")&&_r.push(e.createCompilerDiagnostic(e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude));var Or=Ee(ue.compilerOptions,tr,_r,hr),zr=Ar(ue.typeAcquisition||ue.typingOptions,tr,_r,hr),fn=xe(ue.watchOptions,tr,_r);ue.compileOnSave=Br(ue,tr,_r);var Vr;if(ue.extends)if(!e.isString(ue.extends))_r.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"extends","string"));else{var Wn=hr?er(hr,tr):tr;Vr=Cr(ue.extends,Ke,Wn,_r,e.createCompilerDiagnostic)}return{raw:ue,options:Or,watchOptions:fn,typeAcquisition:zr,extendedConfigPath:Vr}}function Ur(ue,Ke,tr,hr,_r){var Or=or(hr),zr,fn,Vr,Wn,bn,qn={onSetValidOptionKeyValueInParent:function(Hn,Ai,ti){var Hi;switch(Hn){case"compilerOptions":Hi=Or;break;case"watchOptions":Hi=Vr||(Vr={});break;case"typeAcquisition":Hi=zr||(zr=ze(hr));break;case"typingOptions":Hi=fn||(fn=ze(hr));break;default:e.Debug.fail("Unknown option")}Hi[Ai.name]=Rr(Ai,tr,ti)},onSetValidOptionKeyValueInRoot:function(Hn,Ai,ti,Hi){switch(Hn){case"extends":var Ni=hr?er(hr,tr):tr;Wn=Cr(ti,Ke,Ni,_r,function(gi,Pn){return e.createDiagnosticForNodeInSourceFile(ue,Hi,gi,Pn)});return}},onSetUnknownOptionKeyValueInRoot:function(Hn,Ai,ti,Hi){Hn==="excludes"&&_r.push(e.createDiagnosticForNodeInSourceFile(ue,Ai,e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude)),e.find(K,function(Ni){return Ni.name===Hn})&&(bn=e.append(bn,Ai))}},yn=B(ue,_r,!0,qn);return zr||(fn?zr=fn.enableAutoDiscovery!==void 0?{enable:fn.enableAutoDiscovery,include:fn.include,exclude:fn.exclude}:fn:zr=ze(hr)),bn&&yn&&yn.compilerOptions===void 0&&_r.push(e.createDiagnosticForNodeInSourceFile(ue,bn[0],e.Diagnostics._0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file,e.getTextOfPropertyName(bn[0]))),{raw:yn,options:Or,watchOptions:Vr,typeAcquisition:zr,extendedConfigPath:Wn}}function Cr(ue,Ke,tr,hr,_r){if(ue=e.normalizeSlashes(ue),e.isRootedDiskPath(ue)||e.startsWith(ue,"./")||e.startsWith(ue,"../")){var Or=e.getNormalizedAbsolutePath(ue,tr);if(!Ke.fileExists(Or)&&!e.endsWith(Or,".json")&&(Or="".concat(Or,".json"),!Ke.fileExists(Or))){hr.push(_r(e.Diagnostics.File_0_not_found,ue));return}return Or}var zr=e.nodeModuleNameResolver(ue,e.combinePaths(tr,"tsconfig.json"),{moduleResolution:e.ModuleResolutionKind.NodeJs},Ke,void 0,void 0,!0);if(zr.resolvedModule)return zr.resolvedModule.resolvedFileName;hr.push(_r(e.Diagnostics.File_0_not_found,ue))}function rn(ue,Ke,tr,hr,_r,Or){var zr,fn=tr.useCaseSensitiveFileNames?Ke:e.toFileNameLowerCase(Ke),Vr,Wn,bn;if(Or&&(Vr=Or.get(fn))?(Wn=Vr.extendedResult,bn=Vr.extendedConfig):(Wn=V(Ke,function(qn){return tr.readFile(qn)}),Wn.parseDiagnostics.length||(bn=vr(void 0,Wn,tr,e.getDirectoryPath(Ke),e.getBaseFileName(Ke),hr,_r,Or)),Or&&Or.set(fn,{extendedResult:Wn,extendedConfig:bn})),ue&&(ue.extendedSourceFiles=[Wn.fileName],Wn.extendedSourceFiles&&(zr=ue.extendedSourceFiles).push.apply(zr,Wn.extendedSourceFiles)),Wn.parseDiagnostics.length){_r.push.apply(_r,Wn.parseDiagnostics);return}return bn}function Br(ue,Ke,tr){if(!e.hasProperty(ue,e.compileOnSaveCommandLineOption.name))return!1;var hr=Mr(e.compileOnSaveCommandLineOption,ue.compileOnSave,Ke,tr);return typeof hr=="boolean"&&hr}function pn(ue,Ke,tr){var hr=[],_r=Ee(ue,Ke,hr,tr);return{options:_r,errors:hr}}e.convertCompilerOptionsFromJson=pn;function ve(ue,Ke,tr){var hr=[],_r=Ar(ue,Ke,hr,tr);return{options:_r,errors:hr}}e.convertTypeAcquisitionFromJson=ve;function or(ue){var Ke=ue&&e.getBaseFileName(ue)==="jsconfig.json"?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0,noEmit:!0}:{};return Ke}function Ee(ue,Ke,tr,hr){var _r=or(hr);return cr(q(),ue,Ke,_r,e.compilerOptionsDidYouMeanDiagnostics,tr),hr&&(_r.configFilePath=e.normalizeSlashes(hr)),_r}function ze(ue){return{enable:!!ue&&e.getBaseFileName(ue)==="jsconfig.json",include:[],exclude:[]}}function Ar(ue,Ke,tr,hr){var _r=ze(hr),Or=Q(ue);return cr(x(),Or,Ke,_r,$,tr),_r}function xe(ue,Ke,tr){return cr(ye(),ue,Ke,void 0,N,tr)}function cr(ue,Ke,tr,hr,_r,Or){if(!!Ke){for(var zr in Ke){var fn=ue.get(zr);fn?(hr||(hr={}))[fn.name]=Mr(fn,Ke[zr],tr,Or):Or.push(oe(zr,_r,e.createCompilerDiagnostic))}return hr}}function Mr(ue,Ke,tr,hr){if(z(ue,Ke)){var _r=ue.type;if(_r==="list"&&e.isArray(Ke))return Ie(ue,Ke,tr,hr);if(!e.isString(_r))return vn(ue,Ke,hr);var Or=en(ue,Ke,hr);return Re(Or)?Or:Qr(ue,tr,Or)}else hr.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,ue.name,w(ue)))}e.convertJsonOption=Mr;function Rr(ue,Ke,tr){if(!Re(tr)){if(ue.type==="list"){var hr=ue;return hr.element.isFilePath||!e.isString(hr.element.type)?e.filter(e.map(tr,function(_r){return Rr(hr.element,Ke,_r)}),function(_r){return hr.listPreserveFalsyValues?!0:!!_r}):tr}else if(!e.isString(ue.type))return ue.type.get(e.isString(tr)?tr.toLowerCase():tr);return Qr(ue,Ke,tr)}}function Qr(ue,Ke,tr){return ue.isFilePath&&(tr=e.getNormalizedAbsolutePath(tr,Ke),tr===""&&(tr=".")),tr}function en(ue,Ke,tr){var hr;if(!Re(Ke)){var _r=(hr=ue.extraValidation)===null||hr===void 0?void 0:hr.call(ue,Ke);if(!_r)return Ke;tr.push(e.createCompilerDiagnostic.apply(void 0,_r))}}function vn(ue,Ke,tr){if(!Re(Ke)){var hr=Ke.toLowerCase(),_r=ue.type.get(hr);if(_r!==void 0)return en(ue,_r,tr);tr.push(p(ue))}}function Ie(ue,Ke,tr,hr){return e.filter(e.map(Ke,function(_r){return Mr(ue.element,_r,tr,hr)}),function(_r){return ue.listPreserveFalsyValues?!0:!!_r})}var We=/(^|\/)\*\*\/?$/,xr=/^[^*?]*(?=\/[^/]*[*?])/;function Lr(ue,Ke,tr,hr,_r){_r===void 0&&(_r=e.emptyArray),Ke=e.normalizePath(Ke);var Or=e.createGetCanonicalFileName(hr.useCaseSensitiveFileNames),zr=new e.Map,fn=new e.Map,Vr=new e.Map,Wn=ue.validatedFilesSpec,bn=ue.validatedIncludeSpecs,qn=ue.validatedExcludeSpecs,yn=e.getSupportedExtensions(tr,_r),Hn=e.getSupportedExtensionsWithJsonIfResolveJsonModule(tr,yn);if(Wn)for(var Ai=0,ti=Wn;Ai0)for(var Pn=function(jn){if(e.fileExtensionIs(jn,".json")){if(!gi){var gn=bn.filter(function(Xn){return e.endsWith(Xn,".json")}),nn=e.map(e.getRegularExpressionsForWildcards(gn,Ke,"files"),function(Xn){return"^".concat(Xn,"$")});gi=nn?nn.map(function(Xn){return e.getRegexFromPattern(Xn,hr.useCaseSensitiveFileNames)}):e.emptyArray}var Cn=e.findIndex(gi,function(Xn){return Xn.test(jn)});if(Cn!==-1){var Dn=Or(jn);!zr.has(Dn)&&!Vr.has(Dn)&&Vr.set(Dn,jn)}return"continue"}if(je(jn,zr,fn,yn,Or))return"continue";Sr(jn,fn,yn,Or);var On=Or(jn);!zr.has(On)&&!fn.has(On)&&fn.set(On,jn)},Pe=0,Ir=hr.readDirectory(Ke,e.flatten(Hn),qn,bn,void 0);PeKe}function Qn(ue,Ke,tr,hr){return ai(ue,e.filter(Ke,function(_r){return!An(_r)}),tr,hr)}e.matchesExclude=Qn;function ai(ue,Ke,tr,hr,_r){var Or=e.getRegularExpressionForWildcard(Ke,e.combinePaths(e.normalizePath(hr),_r),"exclude"),zr=Or&&e.getRegexFromPattern(Or,tr);return zr?zr.test(ue)?!0:!e.hasExtension(ue)&&zr.test(e.ensureTrailingDirectorySeparator(ue)):!1}function Dr(ue,Ke,tr,hr,_r){return ue.filter(function(zr){if(!e.isString(zr))return!1;var fn=Pr(zr,tr);return fn!==void 0&&Ke.push(Or.apply(void 0,fn)),fn===void 0});function Or(zr,fn){var Vr=e.getTsConfigPropArrayElementValue(hr,_r,fn);return Vr?e.createDiagnosticForNodeInSourceFile(hr,Vr,zr,fn):e.createCompilerDiagnostic(zr,fn)}}function Pr(ue,Ke){if(Ke&&We.test(ue))return[e.Diagnostics.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,ue];if(An(ue))return[e.Diagnostics.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,ue]}function jr(ue,Ke,tr){var hr=ue.validatedIncludeSpecs,_r=ue.validatedExcludeSpecs,Or=e.getRegularExpressionForWildcard(_r,Ke,"exclude"),zr=Or&&new RegExp(Or,tr?"":"i"),fn={};if(hr!==void 0){for(var Vr=[],Wn=0,bn=hr;Wn=0;Or--){var zr=_r[Or];if(e.fileExtensionIs(ue,zr))return;var fn=hr(e.changeExtension(ue,zr));Ke.delete(fn)}}function Te(ue){var Ke={};for(var tr in ue)if(e.hasProperty(ue,tr)){var hr=f(tr);hr!==void 0&&(Ke[tr]=Ye(ue[tr],hr))}return Ke}e.convertCompilerOptionsForTelemetry=Te;function Ye(ue,Ke){switch(Ke.type){case"object":return"";case"string":return"";case"number":return typeof ue=="number"?ue:"";case"boolean":return typeof ue=="boolean"?ue:"";case"list":var tr=Ke.element;return e.isArray(ue)?ue.map(function(hr){return Ye(hr,tr)}):"";default:return e.forEachEntry(Ke.type,function(hr,_r){if(hr===ue)return _r})}}function Qe(ue){switch(ue.type){case"number":return 1;case"boolean":return!0;case"string":var Ke=ue.defaultValueDescription;return ue.isFilePath?"./".concat(Ke&&typeof Ke=="string"?Ke:""):"";case"list":return[];case"object":return{};default:var tr=ue.type.keys().next();return tr.done?e.Debug.fail("Expected 'option.type' to have entries."):tr.value}}})(fr||(fr={}));var fr;(function(e){function o(Dr){Dr.trace(e.formatMessage.apply(void 0,arguments))}e.trace=o;function ne(Dr,Pr){return!!Dr.traceResolution&&Pr.trace!==void 0}e.isTraceEnabled=ne;function K(Dr,Pr){var jr;if(Pr&&Dr){var on=Dr.contents.packageJsonContent;typeof on.name=="string"&&typeof on.version=="string"&&(jr={name:on.name,subModuleName:Pr.path.slice(Dr.packageDirectory.length+e.directorySeparator.length),version:on.version})}return Pr&&{path:Pr.path,extension:Pr.ext,packageId:jr}}function se(Dr){return K(void 0,Dr)}function O(Dr){if(Dr)return e.Debug.assert(Dr.packageId===void 0),{path:Dr.path,ext:Dr.extension}}var ie;(function(Dr){Dr[Dr.TypeScript=0]="TypeScript",Dr[Dr.JavaScript=1]="JavaScript",Dr[Dr.Json=2]="Json",Dr[Dr.TSConfig=3]="TSConfig",Dr[Dr.DtsOnly=4]="DtsOnly",Dr[Dr.TsOnly=5]="TsOnly"})(ie||(ie={}));function _e(Dr){if(!!Dr)return e.Debug.assert(e.extensionIsTS(Dr.extension)),{fileName:Dr.path,packageId:Dr.packageId}}function Q(Dr,Pr,jr,on,je,Sr){var Te,Ye;return Sr?((Te=Sr.failedLookupLocations).push.apply(Te,jr),(Ye=Sr.affectingLocations).push.apply(Ye,on),Sr):{resolvedModule:Dr&&{resolvedFileName:Dr.path,originalPath:Dr.originalPath===!0?void 0:Dr.originalPath,extension:Dr.extension,isExternalLibraryImport:Pr,packageId:Dr.packageId},failedLookupLocations:jr,affectingLocations:on,resolutionDiagnostics:je}}function p(Dr,Pr,jr,on){if(!e.hasProperty(Dr,Pr)){on.traceEnabled&&o(on.host,e.Diagnostics.package_json_does_not_have_a_0_field,Pr);return}var je=Dr[Pr];if(typeof je!==jr||je===null){on.traceEnabled&&o(on.host,e.Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2,Pr,jr,je===null?"null":typeof je);return}return je}function D(Dr,Pr,jr,on){var je=p(Dr,Pr,"string",on);if(je!==void 0){if(!je){on.traceEnabled&&o(on.host,e.Diagnostics.package_json_had_a_falsy_0_field,Pr);return}var Sr=e.normalizePath(e.combinePaths(jr,je));return on.traceEnabled&&o(on.host,e.Diagnostics.package_json_has_0_field_1_that_references_2,Pr,je,Sr),Sr}}function le(Dr,Pr,jr){return D(Dr,"typings",Pr,jr)||D(Dr,"types",Pr,jr)}function de(Dr,Pr,jr){return D(Dr,"tsconfig",Pr,jr)}function te(Dr,Pr,jr){return D(Dr,"main",Pr,jr)}function oe(Dr,Pr){var jr=p(Dr,"typesVersions","object",Pr);if(jr!==void 0)return Pr.traceEnabled&&o(Pr.host,e.Diagnostics.package_json_has_a_typesVersions_field_with_version_specific_path_mappings),jr}function ae(Dr,Pr){var jr=oe(Dr,Pr);if(jr!==void 0){if(Pr.traceEnabled)for(var on in jr)e.hasProperty(jr,on)&&!e.VersionRange.tryParse(on)&&o(Pr.host,e.Diagnostics.package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range,on);var je=I(jr);if(!je){Pr.traceEnabled&&o(Pr.host,e.Diagnostics.package_json_does_not_have_a_typesVersions_entry_that_matches_version_0,e.versionMajorMinor);return}var Sr=je.version,Te=je.paths;if(typeof Te!="object"){Pr.traceEnabled&&o(Pr.host,e.Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2,"typesVersions['".concat(Sr,"']"),"object",typeof Te);return}return je}}var E;function I(Dr){E||(E=new e.Version(e.version));for(var Pr in Dr)if(!!e.hasProperty(Dr,Pr)){var jr=e.VersionRange.tryParse(Pr);if(jr!==void 0&&jr.test(E))return{version:Pr,paths:Dr[Pr]}}}e.getPackageJsonTypesVersionsPaths=I;function f(Dr,Pr){if(Dr.typeRoots)return Dr.typeRoots;var jr;if(Dr.configFilePath?jr=e.getDirectoryPath(Dr.configFilePath):Pr.getCurrentDirectory&&(jr=Pr.getCurrentDirectory()),jr!==void 0)return m(jr,Pr)}e.getEffectiveTypeRoots=f;function m(Dr,Pr){if(!Pr.directoryExists)return[e.combinePaths(Dr,y)];var jr;return e.forEachAncestorDirectory(e.normalizePath(Dr),function(on){var je=e.combinePaths(on,y);Pr.directoryExists(je)&&(jr||(jr=[])).push(je)}),jr}var y=e.combinePaths("node_modules","@types");function S(Dr,Pr,jr){var on=typeof jr.useCaseSensitiveFileNames=="function"?jr.useCaseSensitiveFileNames():jr.useCaseSensitiveFileNames;return e.comparePaths(Dr,Pr,!on)===0}function k(Dr,Pr,jr,on,je,Sr,Te){e.Debug.assert(typeof Dr=="string","Non-string value passed to `ts.resolveTypeReferenceDirective`, likely by a wrapping package working with an outdated `resolveTypeReferenceDirectives` signature. This is probably not a problem in TS itself.");var Ye=ne(jr,on);je&&(jr=je.commandLine.options);var Qe=Pr?e.getDirectoryPath(Pr):void 0,ue=Qe?Sr&&Sr.getOrCreateCacheForDirectory(Qe,je):void 0,Ke=ue&&ue.get(Dr,Te);if(Ke)return Ye&&(o(on,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_1,Dr,Pr),je&&o(on,e.Diagnostics.Using_compiler_options_of_project_reference_redirect_0,je.sourceFile.fileName),o(on,e.Diagnostics.Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1,Dr,Qe),Hi(Ke)),Ke;var tr=f(jr,on);Ye&&(Pr===void 0?tr===void 0?o(on,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set,Dr):o(on,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1,Dr,tr):tr===void 0?o(on,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set,Dr,Pr):o(on,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_2,Dr,Pr,tr),je&&o(on,e.Diagnostics.Using_compiler_options_of_project_reference_redirect_0,je.sourceFile.fileName));var hr=[],_r=[],Or=C(jr);Te===e.ModuleKind.ESNext&&(e.getEmitModuleResolutionKind(jr)===e.ModuleResolutionKind.Node16||e.getEmitModuleResolutionKind(jr)===e.ModuleResolutionKind.NodeNext)&&(Or|=T.EsmMode);var zr=Or&T.Exports?Or&T.EsmMode?["node","import","types"]:["node","require","types"]:[],fn=[],Vr={compilerOptions:jr,host:on,traceEnabled:Ye,failedLookupLocations:hr,affectingLocations:_r,packageJsonInfoCache:Sr,features:Or,conditions:zr,requestContainingDirectory:Qe,reportDiagnostic:function(Pn){return void fn.push(Pn)}},Wn=Ni(),bn=!0;Wn||(Wn=gi(),bn=!1);var qn;if(Wn){var yn=Wn.fileName,Hn=Wn.packageId,Ai=jr.preserveSymlinks?yn:Me(yn,on,Ye),ti=S(yn,Ai,on);qn={primary:bn,resolvedFileName:ti?yn:Ai,originalPath:ti?void 0:yn,packageId:Hn,isExternalLibraryImport:Ae(yn)}}return Ke={resolvedTypeReferenceDirective:qn,failedLookupLocations:hr,affectingLocations:_r,resolutionDiagnostics:fn},ue==null||ue.set(Dr,Te,Ke),Ye&&Hi(Ke),Ke;function Hi(Pn){var Pe;((Pe=Pn.resolvedTypeReferenceDirective)===null||Pe===void 0?void 0:Pe.resolvedFileName)?Pn.resolvedTypeReferenceDirective.packageId?o(on,e.Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3,Dr,Pn.resolvedTypeReferenceDirective.resolvedFileName,e.packageIdToString(Pn.resolvedTypeReferenceDirective.packageId),Pn.resolvedTypeReferenceDirective.primary):o(on,e.Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2,Dr,Pn.resolvedTypeReferenceDirective.resolvedFileName,Pn.resolvedTypeReferenceDirective.primary):o(on,e.Diagnostics.Type_reference_directive_0_was_not_resolved,Dr)}function Ni(){if(tr&&tr.length)return Ye&&o(on,e.Diagnostics.Resolving_with_primary_search_path_0,tr.join(", ")),e.firstDefined(tr,function(Pn){var Pe=e.combinePaths(Pn,Dr),Ir=e.getDirectoryPath(Pe),we=e.directoryProbablyExists(Ir,on);return!we&&Ye&&o(on,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,Ir),_e(Re(ie.DtsOnly,Pe,!we,Vr))});Ye&&o(on,e.Diagnostics.Root_directory_cannot_be_determined_skipping_primary_search_paths)}function gi(){var Pn=Pr&&e.getDirectoryPath(Pr);if(Pn!==void 0){Ye&&o(on,e.Diagnostics.Looking_up_in_node_modules_folder_initial_location_0,Pn);var Pe;if(e.isExternalModuleNameRelative(Dr)){var we=Be(Pn,Dr).path;Pe=Le(ie.DtsOnly,we,!1,Vr,!0)}else{var Ir=ze(ie.DtsOnly,Dr,Pn,Vr,void 0,void 0);Pe=Ir&&Ir.value}return _e(Pe)}else Ye&&o(on,e.Diagnostics.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder)}}e.resolveTypeReferenceDirective=k;function C(Dr){return e.getEmitModuleResolutionKind(Dr)===e.ModuleResolutionKind.Node16?T.Node16Default:e.getEmitModuleResolutionKind(Dr)===e.ModuleResolutionKind.NodeNext?T.NodeNextDefault:T.None}function me(Dr,Pr,jr,on,je){var Sr=mr(je==null?void 0:je.getPackageJsonInfoCache(),on,jr);return e.forEachAncestorDirectory(Pr,function(Te){if(e.getBaseFileName(Te)!=="node_modules"){var Ye=e.combinePaths(Te,"node_modules"),Qe=e.combinePaths(Ye,Dr);return t(Qe,!1,Sr)}})}e.resolvePackageNameToPackageJson=me;function De(Dr,Pr){if(Dr.types)return Dr.types;var jr=[];if(Pr.directoryExists&&Pr.getDirectories){var on=f(Dr,Pr);if(on)for(var je=0,Sr=on;je0);var on={sourceFile:Dr.configFile,commandLine:{options:Dr}};Pr.setOwnMap(Pr.getOrCreateMapOfCacheRedirects(on)),jr==null||jr.setOwnMap(jr.getOrCreateMapOfCacheRedirects(on))}Pr.setOwnOptions(Dr),jr==null||jr.setOwnOptions(Dr)}}function h(Dr,Pr,jr){return{getOrCreateCacheForDirectory:Sr,clear:on,update:je};function on(){jr.clear()}function je(Te){V(Te,jr)}function Sr(Te,Ye){var Qe=e.toPath(Te,Dr,Pr);return H(jr,Ye,Qe,function(){return F()})}}function F(){var Dr=new e.Map,Pr=new e.Map,jr={get:function(je,Sr){return Dr.get(on(je,Sr))},set:function(je,Sr,Te){return Dr.set(on(je,Sr),Te),jr},delete:function(je,Sr){return Dr.delete(on(je,Sr)),jr},has:function(je,Sr){return Dr.has(on(je,Sr))},forEach:function(je){return Dr.forEach(function(Sr,Te){var Ye=Pr.get(Te),Qe=Ye[0],ue=Ye[1];return je(Sr,Qe,ue)})},size:function(){return Dr.size}};return jr;function on(je,Sr){var Te=Sr===void 0?je:"".concat(Sr,"|").concat(je);return Pr.set(Te,[je,Sr]),Te}}e.createModeAwareCache=F;function $(Dr,Pr,jr){e.Debug.assert(Pr.length===jr.length);for(var on=F(),je=0;je=e.ModuleResolutionKind.Node16&&e.getEmitModuleResolutionKind(on)<=e.ModuleResolutionKind.NodeNext&&o(je,e.Diagnostics.Resolving_in_0_mode_with_conditions_1,Dr&T.EsmMode?"ESM":"CJS",_r.map(function(Wn){return"'".concat(Wn,"'")}).join(", "));var fn=e.forEach(Te,function(Wn){return Vr(Wn)});return Q((Qe=fn==null?void 0:fn.value)===null||Qe===void 0?void 0:Qe.resolved,(ue=fn==null?void 0:fn.value)===null||ue===void 0?void 0:ue.isExternalLibraryImport,tr,hr,Or,zr.resultFromCache);function Vr(Wn){var bn=function(Ir,we,hn,jn){return Le(Ir,we,hn,jn,!0)},qn=q(Wn,Pr,jr,bn,zr);if(qn)return Qn({resolved:qn,isExternalLibraryImport:Ae(qn.path)});if(e.isExternalModuleNameRelative(Pr)){var Ni=Be(jr,Pr),gi=Ni.path,Pn=Ni.parts,Pe=Le(Wn,gi,!1,zr,!0);return Pe&&Qn({resolved:Pe,isExternalLibraryImport:e.contains(Pn,"node_modules")})}else{var yn;if(Dr&T.Imports&&e.startsWith(Pr,"#")&&(yn=Br(Wn,Pr,jr,zr,Sr,Ye)),!yn&&Dr&T.SelfName&&(yn=Cr(Wn,Pr,jr,zr,Sr,Ye)),yn||(Ke&&o(je,e.Diagnostics.Loading_module_0_from_node_modules_folder_target_file_type_1,Pr,ie[Wn]),yn=ze(Wn,Pr,jr,zr,Sr,Ye)),!yn)return;var Hn=yn.value;if(!on.preserveSymlinks&&Hn&&!Hn.originalPath){var Ai=Me(Hn.path,je,Ke),ti=S(Ai,Hn.path,je),Hi=ti?void 0:Hn.path;Hn=vi(vi({},Hn),{path:ti?Hn.path:Ai,originalPath:Hi})}return{value:Hn&&{resolved:Hn,isExternalLibraryImport:!0}}}}}function Be(Dr,Pr){var jr=e.combinePaths(Dr,Pr),on=e.getPathComponents(jr),je=e.lastOrUndefined(on),Sr=je==="."||je===".."?e.ensureTrailingDirectorySeparator(e.normalizePath(jr)):e.normalizePath(jr);return{path:Sr,parts:on}}function Me(Dr,Pr,jr){if(!Pr.realpath)return Dr;var on=e.normalizePath(Pr.realpath(Dr));return jr&&o(Pr,e.Diagnostics.Resolving_real_path_for_0_result_1,Dr,on),e.Debug.assert(Pr.fileExists(on),"".concat(Dr," linked to nonexistent file ").concat(on)),on}function Le(Dr,Pr,jr,on,je){if(on.traceEnabled&&o(on.host,e.Diagnostics.Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1,Pr,ie[Dr]),!e.hasTrailingDirectorySeparator(Pr)){if(!jr){var Sr=e.getDirectoryPath(Pr);e.directoryProbablyExists(Sr,on.host)||(on.traceEnabled&&o(on.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,Sr),jr=!0)}var Te=be(Dr,Pr,jr,on);if(Te){var Ye=je?Xe(Te.path):void 0,Qe=Ye?t(Ye,!1,on):void 0;return K(Qe,Te)}}if(!jr){var ue=e.directoryProbablyExists(Pr,on.host);ue||(on.traceEnabled&&o(on.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,Pr),jr=!0)}if(!(on.features&T.EsmMode))return Re(Dr,Pr,jr,on,je)}e.nodeModulesPathPart="/node_modules/";function Ae(Dr){return e.stringContains(Dr,e.nodeModulesPathPart)}e.pathContainsNodeModules=Ae;function Xe(Dr){var Pr=e.normalizePath(Dr),jr=Pr.lastIndexOf(e.nodeModulesPathPart);if(jr!==-1){var on=jr+e.nodeModulesPathPart.length,je=Ne(Pr,on);return Pr.charCodeAt(on)===64&&(je=Ne(Pr,je)),Pr.slice(0,je)}}e.parseNodeModuleFromPath=Xe;function Ne(Dr,Pr){var jr=Dr.indexOf(e.directorySeparator,Pr+1);return jr===-1?Pr:jr}function Oe(Dr,Pr,jr,on){return se(be(Dr,Pr,jr,on))}function be(Dr,Pr,jr,on){if(Dr===ie.Json||Dr===ie.TSConfig){var je=e.tryRemoveExtension(Pr,".json"),Sr=je?Pr.substring(je.length):"";return je===void 0&&Dr===ie.Json?void 0:j(je||Pr,Dr,Sr,jr,on)}if(!(on.features&T.EsmMode)){var Te=j(Pr,Dr,"",jr,on);if(Te)return Te}return Y(Dr,Pr,jr,on)}function Y(Dr,Pr,jr,on){if(e.hasJSFileExtension(Pr)||e.fileExtensionIs(Pr,".json")&&on.compilerOptions.resolveJsonModule){var je=e.removeFileExtension(Pr),Sr=Pr.substring(je.length);return on.traceEnabled&&o(on.host,e.Diagnostics.File_name_0_has_a_1_extension_stripping_it,Pr,Sr),j(je,Dr,Sr,jr,on)}}function d(Dr,Pr,jr,on){if((Dr===ie.TypeScript||Dr===ie.DtsOnly)&&e.fileExtensionIsOneOf(Pr,e.supportedTSExtensionsFlat)){var je=Ce(Pr,jr,on);return je!==void 0?{path:Pr,ext:e.tryExtractTSExtension(Pr)}:void 0}return Y(Dr,Pr,jr,on)}function j(Dr,Pr,jr,on,je){if(!on){var Sr=e.getDirectoryPath(Dr);Sr&&(on=!e.directoryProbablyExists(Sr,je.host))}switch(Pr){case ie.DtsOnly:switch(jr){case".mjs":case".mts":case".d.mts":return Ye(".d.mts");case".cjs":case".cts":case".d.cts":return Ye(".d.cts");case".json":return Dr+=".json",Ye(".d.ts");default:return Ye(".d.ts")}case ie.TypeScript:case ie.TsOnly:var Te=Pr===ie.TypeScript;switch(jr){case".mjs":case".mts":case".d.mts":return Ye(".mts")||(Te?Ye(".d.mts"):void 0);case".cjs":case".cts":case".d.cts":return Ye(".cts")||(Te?Ye(".d.cts"):void 0);case".json":return Dr+=".json",Te?Ye(".d.ts"):void 0;default:return Ye(".ts")||Ye(".tsx")||(Te?Ye(".d.ts"):void 0)}case ie.JavaScript:switch(jr){case".mjs":case".mts":case".d.mts":return Ye(".mjs");case".cjs":case".cts":case".d.cts":return Ye(".cjs");case".json":return Ye(".json");default:return Ye(".js")||Ye(".jsx")}case ie.TSConfig:case ie.Json:return Ye(".json")}function Ye(Qe){var ue=Ce(Dr+Qe,on,je);return ue===void 0?void 0:{path:ue,ext:Qe}}}function Ce(Dr,Pr,jr){var on,je;if(!((on=jr.compilerOptions.moduleSuffixes)===null||on===void 0?void 0:on.length))return Se(Dr,Pr,jr);var Sr=(je=e.tryGetExtensionFromPath(Dr))!==null&&je!==void 0?je:"",Te=Sr?e.removeExtension(Dr,Sr):Dr;return e.forEach(jr.compilerOptions.moduleSuffixes,function(Ye){return Se(Te+Ye+Sr,Pr,jr)})}function Se(Dr,Pr,jr){if(!Pr){if(jr.host.fileExists(Dr))return jr.traceEnabled&&o(jr.host,e.Diagnostics.File_0_exist_use_it_as_a_name_resolution_result,Dr),Dr;jr.traceEnabled&&o(jr.host,e.Diagnostics.File_0_does_not_exist,Dr)}jr.failedLookupLocations.push(Dr)}function Re(Dr,Pr,jr,on,je){je===void 0&&(je=!0);var Sr=je?t(Pr,jr,on):void 0,Te=Sr&&Sr.contents.packageJsonContent,Ye=Sr&&Sr.contents.versionPaths;return K(Sr,qr(Dr,Pr,jr,on,Te,Ye))}function er(Dr,Pr,jr,on,je){if(!je&&Dr.contents.resolvedEntrypoints!==void 0)return Dr.contents.resolvedEntrypoints;var Sr,Te=je?ie.JavaScript:ie.TypeScript,Ye=C(Pr),Qe=mr(on==null?void 0:on.getPackageJsonInfoCache(),jr,Pr);Qe.conditions=["node","require","types"],Qe.requestContainingDirectory=Dr.packageDirectory;var ue=qr(Te,Dr.packageDirectory,!1,Qe,Dr.contents.packageJsonContent,Dr.contents.versionPaths);if(Sr=e.append(Sr,ue==null?void 0:ue.path),Ye&T.Exports&&Dr.contents.packageJsonContent.exports)for(var Ke=0,tr=[["node","import","types"],["node","require","types"]];Ke=0||_r.indexOf(".")>=0||_r.indexOf("node_modules")>=0)return!1;var Or=e.combinePaths(Dr.packageDirectory,Ke),zr=e.getNormalizedAbsolutePath(Or,(hr=(tr=jr.host).getCurrentDirectory)===null||hr===void 0?void 0:hr.call(tr)),fn=d(on,zr,!1,jr);if(fn)return je=e.appendIfUnique(je,fn,function(yn,Hn){return yn.path===Hn.path}),!0}else if(Array.isArray(Ke))for(var Vr=0,Wn=Ke;Vr0;){var on=t(e.getPathFromPathComponents(jr),!1,Pr);if(on)return on;jr.pop()}}e.getPackageScopeForPath=Ue;function t(Dr,Pr,jr){var on,je,Sr,Te=jr.host,Ye=jr.traceEnabled,Qe=e.combinePaths(Dr,"package.json");if(Pr){jr.failedLookupLocations.push(Qe);return}var ue=(on=jr.packageJsonInfoCache)===null||on===void 0?void 0:on.getPackageJsonInfo(Qe);if(ue!==void 0){if(typeof ue!="boolean")return Ye&&o(Te,e.Diagnostics.File_0_exists_according_to_earlier_cached_lookups,Qe),jr.affectingLocations.push(Qe),ue.packageDirectory===Dr?ue:{packageDirectory:Dr,contents:ue.contents};ue&&Ye&&o(Te,e.Diagnostics.File_0_does_not_exist_according_to_earlier_cached_lookups,Qe),jr.failedLookupLocations.push(Qe);return}var Ke=e.directoryProbablyExists(Dr,Te);if(Ke&&Te.fileExists(Qe)){var tr=e.readJson(Qe,Te);Ye&&o(Te,e.Diagnostics.Found_package_json_at_0,Qe);var hr=ae(tr,jr),_r={packageDirectory:Dr,contents:{packageJsonContent:tr,versionPaths:hr,resolvedEntrypoints:void 0}};return(je=jr.packageJsonInfoCache)===null||je===void 0||je.setPackageJsonInfo(Qe,_r),jr.affectingLocations.push(Qe),_r}else Ke&&Ye&&o(Te,e.Diagnostics.File_0_does_not_exist,Qe),(Sr=jr.packageJsonInfoCache)===null||Sr===void 0||Sr.setPackageJsonInfo(Qe,Ke),jr.failedLookupLocations.push(Qe)}e.getPackageJsonInfo=t;function qr(Dr,Pr,jr,on,je,Sr){var Te;if(je)switch(Dr){case ie.JavaScript:case ie.Json:case ie.TsOnly:Te=te(je,Pr,on);break;case ie.TypeScript:Te=le(je,Pr,on)||te(je,Pr,on);break;case ie.DtsOnly:Te=le(je,Pr,on);break;case ie.TSConfig:Te=de(je,Pr,on);break;default:return e.Debug.assertNever(Dr)}var Ye=function(Or,zr,fn,Vr){var Wn=Ce(zr,fn,Vr);if(Wn){var bn=ln(Or,Wn);if(bn)return se(bn);Vr.traceEnabled&&o(Vr.host,e.Diagnostics.File_0_has_an_unsupported_extension_so_skipping_it,Wn)}var qn=Or===ie.DtsOnly?ie.TypeScript:Or,yn=Vr.features;(je==null?void 0:je.type)!=="module"&&(Vr.features&=~T.EsmMode);var Hn=Le(qn,zr,fn,Vr,!1);return Vr.features=yn,Hn},Qe=Te?!e.directoryProbablyExists(e.getDirectoryPath(Te),on.host):void 0,ue=jr||!e.directoryProbablyExists(Pr,on.host),Ke=e.combinePaths(Pr,Dr===ie.TSConfig?"tsconfig":"index");if(Sr&&(!Te||e.containsPath(Pr,Te))){var tr=e.getRelativePathFromDirectory(Pr,Te||Ke,!1);on.traceEnabled&&o(on.host,e.Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,Sr.version,e.version,tr);var hr=Rr(Dr,tr,Pr,Sr.paths,void 0,Ye,Qe||ue,on);if(hr)return O(hr.value)}var _r=Te&&O(Ye(Dr,Te,Qe,on));if(_r)return _r;if(!(on.features&T.EsmMode))return be(Dr,Ke,ue,on)}function ln(Dr,Pr){var jr=e.tryGetExtensionFromPath(Pr);return jr!==void 0&&dr(Dr,jr)?{path:Pr,ext:jr}:void 0}function dr(Dr,Pr){switch(Dr){case ie.JavaScript:return Pr===".js"||Pr===".jsx"||Pr===".mjs"||Pr===".cjs";case ie.TSConfig:case ie.Json:return Pr===".json";case ie.TypeScript:return Pr===".ts"||Pr===".tsx"||Pr===".mts"||Pr===".cts"||Pr===".d.ts"||Pr===".d.mts"||Pr===".d.cts";case ie.TsOnly:return Pr===".ts"||Pr===".tsx"||Pr===".mts"||Pr===".cts";case ie.DtsOnly:return Pr===".d.ts"||Pr===".d.mts"||Pr===".d.cts"}}function vr(Dr){var Pr=Dr.indexOf(e.directorySeparator);return Dr[0]==="@"&&(Pr=Dr.indexOf(e.directorySeparator,Pr+1)),Pr===-1?{packageName:Dr,rest:""}:{packageName:Dr.slice(0,Pr),rest:Dr.slice(Pr+1)}}e.parsePackageName=vr;function kr(Dr){return e.every(e.getOwnKeys(Dr),function(Pr){return e.startsWith(Pr,".")})}e.allKeysStartWithDot=kr;function Ur(Dr){return!e.some(e.getOwnKeys(Dr),function(Pr){return e.startsWith(Pr,".")})}function Cr(Dr,Pr,jr,on,je,Sr){var Te,Ye,Qe=e.getNormalizedAbsolutePath(e.combinePaths(jr,"dummy"),(Ye=(Te=on.host).getCurrentDirectory)===null||Ye===void 0?void 0:Ye.call(Te)),ue=Ue(Qe,on);if(!(!ue||!ue.contents.packageJsonContent.exports)&&typeof ue.contents.packageJsonContent.name=="string"){var Ke=e.getPathComponents(Pr),tr=e.getPathComponents(ue.contents.packageJsonContent.name);if(!!e.every(tr,function(_r,Or){return Ke[Or]===_r})){var hr=Ke.slice(tr.length);return rn(ue,Dr,e.length(hr)?".".concat(e.directorySeparator).concat(hr.join(e.directorySeparator)):".",on,je,Sr)}}}function rn(Dr,Pr,jr,on,je,Sr){if(!!Dr.contents.packageJsonContent.exports){if(jr==="."){var Te=void 0;if(typeof Dr.contents.packageJsonContent.exports=="string"||Array.isArray(Dr.contents.packageJsonContent.exports)||typeof Dr.contents.packageJsonContent.exports=="object"&&Ur(Dr.contents.packageJsonContent.exports)?Te=Dr.contents.packageJsonContent.exports:e.hasProperty(Dr.contents.packageJsonContent.exports,".")&&(Te=Dr.contents.packageJsonContent.exports["."]),Te){var Ye=or(Pr,on,je,Sr,jr,Dr,!1);return Ye(Te,"",!1,".")}}else if(kr(Dr.contents.packageJsonContent.exports)){if(typeof Dr.contents.packageJsonContent.exports!="object")return on.traceEnabled&&o(on.host,e.Diagnostics.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,jr,Dr.packageDirectory),Qn(void 0);var Qe=ve(Pr,on,je,Sr,jr,Dr.contents.packageJsonContent.exports,Dr,!1);if(Qe)return Qe}return on.traceEnabled&&o(on.host,e.Diagnostics.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,jr,Dr.packageDirectory),Qn(void 0)}}function Br(Dr,Pr,jr,on,je,Sr){var Te,Ye;if(Pr==="#"||e.startsWith(Pr,"#/"))return on.traceEnabled&&o(on.host,e.Diagnostics.Invalid_import_specifier_0_has_no_possible_resolutions,Pr),Qn(void 0);var Qe=e.getNormalizedAbsolutePath(e.combinePaths(jr,"dummy"),(Ye=(Te=on.host).getCurrentDirectory)===null||Ye===void 0?void 0:Ye.call(Te)),ue=Ue(Qe,on);if(!ue)return on.traceEnabled&&o(on.host,e.Diagnostics.Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve,Qe),Qn(void 0);if(!ue.contents.packageJsonContent.imports)return on.traceEnabled&&o(on.host,e.Diagnostics.package_json_scope_0_has_no_imports_defined,ue.packageDirectory),Qn(void 0);var Ke=ve(Dr,on,je,Sr,Pr,ue.contents.packageJsonContent.imports,ue,!0);return Ke||(on.traceEnabled&&o(on.host,e.Diagnostics.Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1,Pr,ue.packageDirectory),Qn(void 0))}function pn(Dr,Pr){var jr=Dr.indexOf("*"),on=Pr.indexOf("*"),je=jr===-1?Dr.length:jr+1,Sr=on===-1?Pr.length:on+1;return je>Sr?-1:Sr>je||jr===-1?1:on===-1||Dr.length>Pr.length?-1:Pr.length>Dr.length?1:0}e.comparePatternKeys=pn;function ve(Dr,Pr,jr,on,je,Sr,Te,Ye){var Qe=or(Dr,Pr,jr,on,je,Te,Ye);if(!e.endsWith(je,e.directorySeparator)&&je.indexOf("*")===-1&&e.hasProperty(Sr,je)){var ue=Sr[je];return Qe(ue,"",!1,je)}for(var Ke=e.sort(e.filter(e.getOwnKeys(Sr),function(Vr){return Vr.indexOf("*")!==-1||e.endsWith(Vr,"/")}),pn),tr=0,hr=Ke;tr0&&!e.endsWith(Qe,"/"))return Pr.traceEnabled&&o(Pr.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,Sr.packageDirectory,je),Qn(void 0);if(!e.startsWith(Qe,"./")){if(Te&&!e.startsWith(Qe,"../")&&!e.startsWith(Qe,"/")&&!e.isRootedDiskPath(Qe)){var hr=Ke?Qe.replace(/\*/g,ue):Qe+ue;ai(Pr,e.Diagnostics.Using_0_subpath_1_with_target_2,"imports",tr,hr),ai(Pr,e.Diagnostics.Resolving_module_0_from_1,hr,Sr.packageDirectory+"/");var _r=He(Pr.features,hr,Sr.packageDirectory+"/",Pr.compilerOptions,Pr.host,jr,[Dr],on);return Qn(_r.resolvedModule?{path:_r.resolvedModule.resolvedFileName,extension:_r.resolvedModule.extension,packageId:_r.resolvedModule.packageId,originalPath:_r.resolvedModule.originalPath}:void 0)}return Pr.traceEnabled&&o(Pr.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,Sr.packageDirectory,je),Qn(void 0)}var Or=e.pathIsRelative(Qe)?e.getPathComponents(Qe).slice(1):e.getPathComponents(Qe),zr=Or.slice(1);if(zr.indexOf("..")>=0||zr.indexOf(".")>=0||zr.indexOf("node_modules")>=0)return Pr.traceEnabled&&o(Pr.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,Sr.packageDirectory,je),Qn(void 0);var fn=e.combinePaths(Sr.packageDirectory,Qe),Vr=e.getPathComponents(ue);if(Vr.indexOf("..")>=0||Vr.indexOf(".")>=0||Vr.indexOf("node_modules")>=0)return Pr.traceEnabled&&o(Pr.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,Sr.packageDirectory,je),Qn(void 0);Pr.traceEnabled&&o(Pr.host,e.Diagnostics.Using_0_subpath_1_with_target_2,Te?"imports":"exports",tr,Ke?Qe.replace(/\*/g,ue):Qe+ue);var Wn=gi(Ke?fn.replace(/\*/g,ue):fn+ue),bn=Ir(Wn,ue,e.combinePaths(Sr.packageDirectory,"package.json"),Te);return bn||Qn(K(Sr,d(Dr,Wn,!1,Pr)))}else if(typeof Qe=="object"&&Qe!==null)if(Array.isArray(Qe)){if(!e.length(Qe))return Pr.traceEnabled&&o(Pr.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,Sr.packageDirectory,je),Qn(void 0);for(var ti=0,Hi=Qe;ti=0||Ee(Pr.conditions,Hn)){ai(Pr,e.Diagnostics.Matched_0_condition_1,Te?"imports":"exports",Hn);var Ai=Qe[Hn],_r=Ye(Ai,ue,Ke,tr);if(_r)return _r}else ai(Pr,e.Diagnostics.Saw_non_matching_condition_0,Hn)}return}else if(Qe===null)return Pr.traceEnabled&&o(Pr.host,e.Diagnostics.package_json_scope_0_explicitly_maps_specifier_1_to_null,Sr.packageDirectory,je),Qn(void 0);return Pr.traceEnabled&&o(Pr.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,Sr.packageDirectory,je),Qn(void 0);function gi(we){var hn,jn;return we===void 0?we:e.getNormalizedAbsolutePath(we,(jn=(hn=Pr.host).getCurrentDirectory)===null||jn===void 0?void 0:jn.call(hn))}function Pn(we,hn){return e.ensureTrailingDirectorySeparator(e.combinePaths(we,hn))}function Pe(){return Pr.host.useCaseSensitiveFileNames?typeof Pr.host.useCaseSensitiveFileNames=="boolean"?Pr.host.useCaseSensitiveFileNames:Pr.host.useCaseSensitiveFileNames():!0}function Ir(we,hn,jn,gn){var nn,Cn,Dn,On;if((Dr===ie.TypeScript||Dr===ie.JavaScript||Dr===ie.Json)&&(Pr.compilerOptions.declarationDir||Pr.compilerOptions.outDir)&&we.indexOf("/node_modules/")===-1&&(Pr.compilerOptions.configFile?e.containsPath(Sr.packageDirectory,gi(Pr.compilerOptions.configFile.fileName),!Pe()):!0)){var Xn=e.hostGetCanonicalFileName({useCaseSensitiveFileNames:Pe}),Ge=[];if(Pr.compilerOptions.rootDir||Pr.compilerOptions.composite&&Pr.compilerOptions.configFilePath){var cn=gi(e.getCommonSourceDirectory(Pr.compilerOptions,function(){return[]},((Cn=(nn=Pr.host).getCurrentDirectory)===null||Cn===void 0?void 0:Cn.call(nn))||"",Xn));Ge.push(cn)}else if(Pr.requestContainingDirectory){var Vn=gi(e.combinePaths(Pr.requestContainingDirectory,"index.ts")),cn=gi(e.getCommonSourceDirectory(Pr.compilerOptions,function(){return[Vn,gi(jn)]},((On=(Dn=Pr.host).getCurrentDirectory)===null||On===void 0?void 0:On.call(Dn))||"",Xn));Ge.push(cn);for(var Ki=e.ensureTrailingDirectorySeparator(cn);Ki&&Ki.length>1;){var dt=e.getPathComponents(Ki);dt.pop();var qi=e.getPathFromPathComponents(dt);Ge.unshift(qi),Ki=e.ensureTrailingDirectorySeparator(qi)}}Ge.length>1&&Pr.reportDiagnostic(e.createCompilerDiagnostic(gn?e.Diagnostics.The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:e.Diagnostics.The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate,hn===""?".":hn,jn));for(var Ci=0,Tt=Ge;Cim&&(m=C),m===1)return m}return m}break;case 265:{var me=0;return e.forEachChild(E,function(De){var X=K(De,I);switch(X){case 0:return;case 2:me=2;return;case 1:return me=1,!0;default:e.Debug.assertNever(X)}}),me}case 264:return ne(E,I);case 79:if(E.isInJSDocNamespace)return 0}return 1}function O(E,I){for(var f=E.propertyName||E.name,m=E.parent;m;){if(e.isBlock(m)||e.isModuleBlock(m)||e.isSourceFile(m)){for(var y=m.statements,S=void 0,k=0,C=y;kS)&&(S=De),S===1)return S}}if(S!==void 0)return S}m=m.parent}return 1}var ie;(function(E){E[E.None=0]="None",E[E.IsContainer=1]="IsContainer",E[E.IsBlockScopedContainer=2]="IsBlockScopedContainer",E[E.IsControlFlowContainer=4]="IsControlFlowContainer",E[E.IsFunctionLike=8]="IsFunctionLike",E[E.IsFunctionExpression=16]="IsFunctionExpression",E[E.HasLocals=32]="HasLocals",E[E.IsInterface=64]="IsInterface",E[E.IsObjectLiteralOrClassExpressionMethodOrAccessor=128]="IsObjectLiteralOrClassExpressionMethodOrAccessor"})(ie||(ie={}));function _e(E){return e.Debug.attachFlowNodeDebugInfo(E),E}var Q=D();function p(E,I){e.performance.mark("beforeBind"),e.perfLogger.logStartBindFile(""+E.fileName),Q(E,I),e.perfLogger.logStopBindFile(),e.performance.mark("afterBind"),e.performance.measure("Bind","beforeBind","afterBind")}e.bindSourceFile=p;function D(){var E,I,f,m,y,S,k,C,me,De,X,M,H,V,h,F,$,L,P,N,J,q,G=!1,ye=0,b,x,T={flags:1},Z={flags:1},B=Sr();function u(ee,Er,un,$n,Ii){return e.createDiagnosticForNodeInSourceFile(e.getSourceFileOfNode(ee)||E,ee,Er,un,$n,Ii)}function A(ee,Er){E=ee,I=Er,f=e.getEmitScriptTarget(I),q=w(E,Er),x=new e.Set,ye=0,b=e.objectAllocator.getSymbolConstructor(),e.Debug.attachFlowNodeDebugInfo(T),e.Debug.attachFlowNodeDebugInfo(Z),E.locals||(e.tracing===null||e.tracing===void 0||e.tracing.push("bind","bindSourceFile",{path:E.path},!0),Xi(E),e.tracing===null||e.tracing===void 0||e.tracing.pop(),E.symbolCount=ye,E.classifiableNames=x,Dn()),E=void 0,I=void 0,f=void 0,m=void 0,y=void 0,S=void 0,k=void 0,C=void 0,me=void 0,De=!1,X=void 0,M=void 0,H=void 0,V=void 0,h=void 0,F=void 0,$=void 0,P=void 0,N=!1,G=!1,J=0}return A;function w(ee,Er){return e.getStrictOptionValue(Er,"alwaysStrict")&&!ee.isDeclarationFile?!0:!!ee.externalModuleIndicator}function z(ee,Er){return ye++,new b(ee,Er)}function U(ee,Er,un){ee.flags|=un,Er.symbol=ee,ee.declarations=e.appendIfUnique(ee.declarations,Er),un&(32|384|1536|3)&&!ee.exports&&(ee.exports=e.createSymbolTable()),un&(32|64|2048|4096)&&!ee.members&&(ee.members=e.createSymbolTable()),ee.constEnumOnlyModule&&ee.flags&(16|32|256)&&(ee.constEnumOnlyModule=!1),un&111551&&e.setValueDeclaration(ee,Er)}function ge(ee){if(ee.kind===274)return ee.isExportEquals?"export=":"default";var Er=e.getNameOfDeclaration(ee);if(Er){if(e.isAmbientModule(ee)){var un=e.getTextOfIdentifierOrLiteral(Er);return e.isGlobalScopeAugmentation(ee)?"__global":'"'.concat(un,'"')}if(Er.kind===164){var $n=Er.expression;if(e.isStringOrNumericLiteralLike($n))return e.escapeLeadingUnderscores($n.text);if(e.isSignedNumericLiteral($n))return e.tokenToString($n.operator)+$n.operand.text;e.Debug.fail("Only computed properties with literal names have declaration names")}if(e.isPrivateIdentifier(Er)){var Ii=e.getContainingClass(ee);if(!Ii)return;var at=Ii.symbol;return e.getSymbolNameForPrivateIdentifier(at,Er.escapedText)}return e.isPropertyNameLiteral(Er)?e.getEscapedTextOfIdentifierOrLiteral(Er):void 0}switch(ee.kind){case 173:return"__constructor";case 181:case 176:case 326:return"__call";case 182:case 177:return"__new";case 178:return"__index";case 275:return"__export";case 308:return"export=";case 223:if(e.getAssignmentDeclarationKind(ee)===2)return"export=";e.Debug.fail("Unknown binary declaration kind");break;case 320:return e.isJSDocConstructSignature(ee)?"__new":"__call";case 166:e.Debug.assert(ee.parent.kind===320,"Impossible parameter parent kind",function(){return"parent is: ".concat(e.Debug.formatSyntaxKind(ee.parent.kind),", expected JSDocFunctionType")});var Ji=ee.parent,_t=Ji.parameters.indexOf(ee);return"arg"+_t}}function pe(ee){return e.isNamedDeclaration(ee)?e.declarationNameToString(ee.name):e.unescapeLeadingUnderscores(e.Debug.checkDefined(ge(ee)))}function He(ee,Er,un,$n,Ii,at,Ji){e.Debug.assert(Ji||!e.hasDynamicName(un));var _t=e.hasSyntacticModifier(un,1024)||e.isExportSpecifier(un)&&un.name.escapedText==="default",Ht=Ji?"__computed":_t&&Er?"default":ge(un),Rt;if(Ht===void 0)Rt=z(0,"__missing");else if(Rt=ee.get(Ht),$n&2885600&&x.add(Ht),!Rt)ee.set(Ht,Rt=z(0,Ht)),at&&(Rt.isReplaceableByMethod=!0);else{if(at&&!Rt.isReplaceableByMethod)return Rt;if(Rt.flags&Ii){if(Rt.isReplaceableByMethod)ee.set(Ht,Rt=z(0,Ht));else if(!($n&3&&Rt.flags&67108864)){e.isNamedDeclaration(un)&&e.setParent(un.name,un);var va=Rt.flags&2?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0,qe=!0;(Rt.flags&384||$n&384)&&(va=e.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations,qe=!1);var Tn=!1;e.length(Rt.declarations)&&(_t||Rt.declarations&&Rt.declarations.length&&un.kind===274&&!un.isExportEquals)&&(va=e.Diagnostics.A_module_cannot_have_multiple_default_exports,qe=!1,Tn=!0);var Nr=[];e.isTypeAliasDeclaration(un)&&e.nodeIsMissing(un.type)&&e.hasSyntacticModifier(un,1)&&Rt.flags&(2097152|788968|1920)&&Nr.push(u(un,e.Diagnostics.Did_you_mean_0,"export type { ".concat(e.unescapeLeadingUnderscores(un.name.escapedText)," }")));var ga=e.getNameOfDeclaration(un)||un;e.forEach(Rt.declarations,function(co,gs){var gc=e.getNameOfDeclaration(co)||co,ws=u(gc,va,qe?pe(co):void 0);E.bindDiagnostics.push(Tn?e.addRelatedInfo(ws,u(ga,gs===0?e.Diagnostics.Another_export_default_is_here:e.Diagnostics.and_here)):ws),Tn&&Nr.push(u(gc,e.Diagnostics.The_first_export_default_is_here))});var xa=u(ga,va,qe?pe(un):void 0);E.bindDiagnostics.push(e.addRelatedInfo.apply(void 0,zn([xa],Nr,!1))),Rt=z(0,Ht)}}}return U(Rt,un,$n),Rt.parent?e.Debug.assert(Rt.parent===Er,"Existing symbol parent should match new one"):Rt.parent=Er,Rt}function Be(ee,Er,un){var $n=!!(e.getCombinedModifierFlags(ee)&1)||Me(ee);if(Er&2097152)return ee.kind===278||ee.kind===268&&$n?He(y.symbol.exports,y.symbol,ee,Er,un):He(y.locals,void 0,ee,Er,un);if(e.isJSDocTypeAlias(ee)&&e.Debug.assert(e.isInJSFile(ee)),!e.isAmbientModule(ee)&&($n||y.flags&64)){if(!y.locals||e.hasSyntacticModifier(ee,1024)&&!ge(ee))return He(y.symbol.exports,y.symbol,ee,Er,un);var Ii=Er&111551?1048576:0,at=He(y.locals,void 0,ee,Ii,un);return at.exportSymbol=He(y.symbol.exports,y.symbol,ee,Er,un),ee.localSymbol=at,at}else return He(y.locals,void 0,ee,Er,un)}function Me(ee){if(ee.parent&&e.isModuleDeclaration(ee)&&(ee=ee.parent),!e.isJSDocTypeAlias(ee))return!1;if(!e.isJSDocEnumTag(ee)&&!!ee.fullName)return!0;var Er=e.getNameOfDeclaration(ee);return Er?!!(e.isPropertyAccessEntityNameExpression(Er.parent)&&na(Er.parent)||e.isDeclaration(Er.parent)&&e.getCombinedModifierFlags(Er.parent)&1):!1}function Le(ee,Er){var un=y,$n=S,Ii=k;if(Er&1?(ee.kind!==216&&(S=y),y=k=ee,Er&32&&(y.locals=e.createSymbolTable()),Ai(y)):Er&2&&(k=ee,k.locals=void 0),Er&4){var at=X,Ji=M,_t=H,Ht=V,Rt=$,va=P,qe=N,Tn=Er&16&&!e.hasSyntacticModifier(ee,512)&&!ee.asteriskToken&&!!e.getImmediatelyInvokedFunctionExpression(ee)||ee.kind===172;Tn||(X=_e({flags:2}),Er&(16|128)&&(X.node=ee)),V=Tn||ee.kind===173||e.isInJSFile(ee)&&(ee.kind===259||ee.kind===215)?er():void 0,$=void 0,M=void 0,H=void 0,P=void 0,N=!1,Oe(ee),ee.flags&=~2816,!(X.flags&1)&&Er&8&&e.nodeIsPresent(ee.body)&&(ee.flags|=256,N&&(ee.flags|=512),ee.endFlowNode=X),ee.kind===308&&(ee.flags|=J,ee.endFlowNode=X),V&&(t(V,X),X=kr(V),(ee.kind===173||ee.kind===172||e.isInJSFile(ee)&&(ee.kind===259||ee.kind===215))&&(ee.returnFlowNode=X)),Tn||(X=at),M=Ji,H=_t,V=Ht,$=Rt,P=va,N=qe}else Er&64?(De=!1,Oe(ee),ee.flags=De?ee.flags|128:ee.flags&~128):Oe(ee);y=un,S=$n,k=Ii}function Ae(ee){Xe(ee,function(Er){return Er.kind===259?Xi(Er):void 0}),Xe(ee,function(Er){return Er.kind!==259?Xi(Er):void 0})}function Xe(ee,Er){Er===void 0&&(Er=Xi),ee!==void 0&&e.forEach(ee,Er)}function Ne(ee){e.forEachChild(ee,Xi,Xe)}function Oe(ee){var Er=G;if(G=!1,Ss(ee)){Ne(ee),ao(ee),G=Er;return}switch(ee.kind>=240&&ee.kind<=256&&!I.allowUnreachableCode&&(ee.flowNode=X),ee.kind){case 244:ze(ee);break;case 243:Ar(ee);break;case 245:xe(ee);break;case 246:case 247:cr(ee);break;case 242:Mr(ee);break;case 250:case 254:Rr(ee);break;case 249:case 248:vn(ee);break;case 255:Ie(ee);break;case 252:We(ee);break;case 266:xr(ee);break;case 292:Lr(ee);break;case 241:xn(ee);break;case 253:Qn(ee);break;case 221:jr(ee);break;case 222:on(ee);break;case 223:if(e.isDestructuringAssignment(ee)){G=Er,je(ee);return}B(ee);break;case 217:Te(ee);break;case 224:Ye(ee);break;case 257:ue(ee);break;case 208:case 209:qn(ee);break;case 210:yn(ee);break;case 232:bn(ee);break;case 348:case 341:case 342:_r(ee);break;case 308:{Ae(ee.statements),Xi(ee.endOfFileToken);break}case 238:case 265:Ae(ee.statements);break;case 205:Ke(ee);break;case 166:tr(ee);break;case 207:case 206:case 299:case 227:G=Er;default:Ne(ee);break}ao(ee),G=Er}function be(ee){switch(ee.kind){case 79:case 80:case 108:case 208:case 209:return d(ee);case 210:return j(ee);case 214:case 232:return be(ee.expression);case 223:return Se(ee);case 221:return ee.operator===53&&be(ee.operand);case 218:return be(ee.expression)}return!1}function Y(ee){return e.isDottedName(ee)||(e.isPropertyAccessExpression(ee)||e.isNonNullExpression(ee)||e.isParenthesizedExpression(ee))&&Y(ee.expression)||e.isBinaryExpression(ee)&&ee.operatorToken.kind===27&&Y(ee.right)||e.isElementAccessExpression(ee)&&(e.isStringOrNumericLiteralLike(ee.argumentExpression)||e.isEntityNameExpression(ee.argumentExpression))&&Y(ee.expression)||e.isAssignmentExpression(ee)&&Y(ee.left)}function d(ee){return Y(ee)||e.isOptionalChain(ee)&&d(ee.expression)}function j(ee){if(ee.arguments)for(var Er=0,un=ee.arguments;Er=117&&ee.originalKeywordKind<=125?E.bindDiagnostics.push(u(ee,Xn(ee),e.declarationNameToString(ee))):ee.originalKeywordKind===133?e.isExternalModule(E)&&e.isInTopLevelContext(ee)?E.bindDiagnostics.push(u(ee,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module,e.declarationNameToString(ee))):ee.flags&32768&&E.bindDiagnostics.push(u(ee,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,e.declarationNameToString(ee))):ee.originalKeywordKind===125&&ee.flags&8192&&E.bindDiagnostics.push(u(ee,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,e.declarationNameToString(ee))))}function Xn(ee){return e.getContainingClass(ee)?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:E.externalModuleIndicator?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode}function Ge(ee){ee.escapedText==="#constructor"&&(E.parseDiagnostics.length||E.bindDiagnostics.push(u(ee,e.Diagnostics.constructor_is_a_reserved_word,e.declarationNameToString(ee))))}function cn(ee){q&&e.isLeftHandSideExpression(ee.left)&&e.isAssignmentOperator(ee.operatorToken.kind)&&qi(ee,ee.left)}function Vn(ee){q&&ee.variableDeclaration&&qi(ee,ee.variableDeclaration.name)}function Ki(ee){if(q&&ee.expression.kind===79){var Er=e.getErrorSpanForNode(E,ee.expression);E.bindDiagnostics.push(e.createFileDiagnostic(E,Er.start,Er.length,e.Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}function dt(ee){return e.isIdentifier(ee)&&(ee.escapedText==="eval"||ee.escapedText==="arguments")}function qi(ee,Er){if(Er&&Er.kind===79){var un=Er;if(dt(un)){var $n=e.getErrorSpanForNode(E,Er);E.bindDiagnostics.push(e.createFileDiagnostic(E,$n.start,$n.length,Ci(ee),e.idText(un)))}}}function Ci(ee){return e.getContainingClass(ee)?e.Diagnostics.Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode:E.externalModuleIndicator?e.Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode:e.Diagnostics.Invalid_use_of_0_in_strict_mode}function Tt(ee){q&&qi(ee,ee.name)}function ot(ee){return e.getContainingClass(ee)?e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:E.externalModuleIndicator?e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5}function Zi(ee){if(f<2&&k.kind!==308&&k.kind!==264&&!e.isFunctionLikeOrClassStaticBlockDeclaration(k)){var Er=e.getErrorSpanForNode(E,ee);E.bindDiagnostics.push(e.createFileDiagnostic(E,Er.start,Er.length,ot(ee)))}}function ni(ee){f<1&&q&&ee.numericLiteralFlags&32&&E.bindDiagnostics.push(u(ee,e.Diagnostics.Octal_literals_are_not_allowed_in_strict_mode))}function Va(ee){q&&qi(ee,ee.operand)}function Ua(ee){q&&(ee.operator===45||ee.operator===46)&&qi(ee,ee.operand)}function za(ee){q&&Ea(ee,e.Diagnostics.with_statements_are_not_allowed_in_strict_mode)}function Co(ee){q&&e.getEmitScriptTarget(I)>=2&&(e.isDeclarationStatement(ee.statement)||e.isVariableStatement(ee.statement))&&Ea(ee.label,e.Diagnostics.A_label_is_not_allowed_here)}function Ea(ee,Er,un,$n,Ii){var at=e.getSpanOfTokenAtPosition(E,ee.pos);E.bindDiagnostics.push(e.createFileDiagnostic(E,at.start,at.length,Er,un,$n,Ii))}function ho(ee,Er,un){Aa(ee,Er,Er,un)}function Aa(ee,Er,un,$n){Vi(ee,{pos:e.getTokenPosOfNode(Er,E),end:un.end},$n)}function Vi(ee,Er,un){var $n=e.createFileDiagnostic(E,Er.pos,Er.end-Er.pos,un);ee?E.bindDiagnostics.push($n):E.bindSuggestionDiagnostics=e.append(E.bindSuggestionDiagnostics,vi(vi({},$n),{category:e.DiagnosticCategory.Suggestion}))}function Xi(ee){if(!!ee){e.setParent(ee,m),e.tracing&&(ee.tracingPath=E.path);var Er=q;if(so(ee),ee.kind>162){var un=m;m=ee;var $n=Hn(ee);$n===0?Oe(ee):Le(ee,$n),m=un}else{var un=m;ee.kind===1&&(m=ee),ao(ee),m=un}q=Er}}function ao(ee){if(e.hasJSDocNodes(ee))if(e.isInJSFile(ee))for(var Er=0,un=ee.jsDoc;Er>",0,Te),Zo=Bl(void 0,void 0,void 0,e.emptyArray,Te,void 0,0,0),To=Bl(void 0,void 0,void 0,e.emptyArray,ue,void 0,0,0),pr=Bl(void 0,void 0,void 0,e.emptyArray,Te,void 0,0,0),Fr=Bl(void 0,void 0,void 0,e.emptyArray,hn,void 0,0,0),yi=Ul(Hn,yn,!0),Dt=new e.Map,Ft={get yieldType(){return e.Debug.fail("Not supported")},get returnType(){return e.Debug.fail("Not supported")},get nextType(){return e.Debug.fail("Not supported")}},Pa=d_(Te,Te,Te),Ve=d_(Te,Te,_r),tn=d_(we,Te,zr),Nn={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:YE,getGlobalIterableType:gh,getGlobalIterableIteratorType:$E,getGlobalGeneratorType:ek,resolveIterationType:ug,mustHaveANextMethodDiagnostic:e.Diagnostics.An_async_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:e.Diagnostics.The_0_property_of_an_async_iterator_must_be_a_method,mustHaveAValueDiagnostic:e.Diagnostics.The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property},wn={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:rk,getGlobalIterableType:Ib,getGlobalIterableIteratorType:nk,getGlobalGeneratorType:ik,resolveIterationType:function(r,n){return r},mustHaveANextMethodDiagnostic:e.Diagnostics.An_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:e.Diagnostics.The_0_property_of_an_iterator_must_be_a_method,mustHaveAValueDiagnostic:e.Diagnostics.The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property},Je,ur=new e.Map,yr=!1,Jr,Mn,_i,di,fi,Nt,Gt,la,na,Ia,bs,ds,ps,ac,Es,ns,dc,$s,pc,js,Sc,Ko,Mc,Vs,oc,Ss,ee,Er,un,$n,Ii,at,Ji,_t,Ht,Rt,va,qe,Tn,Nr,ga,xa,co,gs,gc,ws,Lc=new e.Map,qs=0,ec=0,Rc=0,_o=!1,Gs=0,mc,xl,$c,Qu=Ou(""),Df=Vl(0),Xu=Dh({negative:!1,base10Value:"0"}),zc=[],Zu=[],Hr=[],Gr=0,Bn=10,ui=[],hi=[],Ei=[],st=[],Bi=[],Jt=[],Ca=[],Yt=[],Wt=[],Ga=[],$t=[],po=[],Do=[],Ns=[],jo=[],ys=[],Vo=[],fe=e.createDiagnosticCollection(),sr=e.createDiagnosticCollection(),Tr=Af(),Fn,Si,gt=new e.Map,jt=new e.Map,fa=new e.Map,Ka=new e.Map,no=new e.Map,Eo=new e.Map,Fa=e.createSymbolTable();Fa.set(Br.escapedName,Br);var Qa=[[".mts",".mjs"],[".ts",".js"],[".cts",".cjs"],[".mjs",".mjs"],[".js",".js"],[".cjs",".cjs"],[".tsx",Y.jsx===1?".jsx":".js"],[".jsx",".jsx"],[".json",".json"]];return C5(),ze;function zo(r){return r?Qn.get(r):void 0}function Uo(r,n){return r&&Qn.set(r,n),n}function ms(r){if(r){var n=e.getSourceFileOfNode(r);if(n)if(e.isJsxOpeningFragment(r)){if(n.localJsxFragmentNamespace)return n.localJsxFragmentNamespace;var i=n.pragmas.get("jsxfrag");if(i){var a=e.isArray(i)?i[0]:i;if(n.localJsxFragmentFactory=e.parseIsolatedEntityName(a.arguments.factory,d),e.visitNode(n.localJsxFragmentFactory,Os),n.localJsxFragmentFactory)return n.localJsxFragmentNamespace=e.getFirstIdentifier(n.localJsxFragmentFactory).escapedText}var s=YD(r);if(s)return n.localJsxFragmentFactory=s,n.localJsxFragmentNamespace=e.getFirstIdentifier(s).escapedText}else{var l=xc(n);if(l)return n.localJsxNamespace=l}}return Fn||(Fn="React",Y.jsxFactory?(Si=e.parseIsolatedEntityName(Y.jsxFactory,d),e.visitNode(Si,Os),Si&&(Fn=e.getFirstIdentifier(Si).escapedText)):Y.reactNamespace&&(Fn=e.escapeLeadingUnderscores(Y.reactNamespace))),Si||(Si=e.factory.createQualifiedName(e.factory.createIdentifier(e.unescapeLeadingUnderscores(Fn)),"createElement")),Fn}function xc(r){if(r.localJsxNamespace)return r.localJsxNamespace;var n=r.pragmas.get("jsx");if(n){var i=e.isArray(n)?n[0]:n;if(r.localJsxFactory=e.parseIsolatedEntityName(i.arguments.factory,d),e.visitNode(r.localJsxFactory,Os),r.localJsxFactory)return r.localJsxNamespace=e.getFirstIdentifier(r.localJsxFactory).escapedText}}function Os(r){return e.setTextRangePosEnd(r,-1,-1),e.visitEachChild(r,Os,e.nullTransformationContext)}function Cl(r,n){return oE(r,n),Ur}function m_(r,n,i,a,s,l){var g=r?e.createDiagnosticForNode(r,n,i,a,s,l):e.createCompilerDiagnostic(n,i,a,s,l),W=fe.lookup(g);return W||(fe.add(g),g)}function pl(r,n,i,a,s,l,g){var W=Zr(n,i,a,s,l,g);return W.skippedOn=r,W}function Zl(r,n,i,a,s,l){return r?e.createDiagnosticForNode(r,n,i,a,s,l):e.createCompilerDiagnostic(n,i,a,s,l)}function Zr(r,n,i,a,s,l){var g=Zl(r,n,i,a,s,l);return fe.add(g),g}function Yl(r,n){r?fe.add(n):sr.add(vi(vi({},n),{category:e.DiagnosticCategory.Suggestion}))}function xu(r,n,i,a,s,l,g){if(n.pos<0||n.end<0){if(!r)return;var W=e.getSourceFileOfNode(n);Yl(r,"message"in i?e.createFileDiagnostic(W,0,0,i,a,s,l,g):e.createDiagnosticForFileFromMessageChain(W,i));return}Yl(r,"message"in i?e.createDiagnosticForNode(n,i,a,s,l,g):e.createDiagnosticForNodeFromMessageChain(n,i))}function $l(r,n,i,a,s,l,g){var W=Zr(r,i,a,s,l,g);if(n){var ce=e.createDiagnosticForNode(r,e.Diagnostics.Did_you_forget_to_use_await);e.addRelatedInfo(W,ce)}return W}function Wf(r,n){var i=Array.isArray(r)?e.forEach(r,e.getJSDocDeprecatedTag):e.getJSDocDeprecatedTag(r);return i&&e.addRelatedInfo(n,e.createDiagnosticForNode(i,e.Diagnostics.The_declaration_was_marked_as_deprecated_here)),sr.add(n),n}function ef(r){return!!(a0(r)&268435456)}function Tl(r,n,i){var a=e.createDiagnosticForNode(r,e.Diagnostics._0_is_deprecated,i);return Wf(n,a)}function Ad(r,n,i,a){var s=i?e.createDiagnosticForNode(r,e.Diagnostics.The_signature_0_of_1_is_deprecated,a,i):e.createDiagnosticForNode(r,e.Diagnostics._0_is_deprecated,a);return Wf(n,s)}function go(r,n,i){pe++;var a=new w(r|33554432,n);return a.checkFlags=i||0,a}function U_(r){var n=0;return r&2&&(n|=111551),r&1&&(n|=111550),r&4&&(n|=0),r&8&&(n|=900095),r&16&&(n|=110991),r&32&&(n|=899503),r&64&&(n|=788872),r&256&&(n|=899327),r&128&&(n|=899967),r&512&&(n|=110735),r&8192&&(n|=103359),r&32768&&(n|=46015),r&65536&&(n|=78783),r&262144&&(n|=526824),r&524288&&(n|=788968),r&2097152&&(n|=2097152),n}function bf(r,n){n.mergeId||(n.mergeId=O,O++),ui[n.mergeId]=r}function z_(r){var n=go(r.flags,r.escapedName);return n.declarations=r.declarations?r.declarations.slice():[],n.parent=r.parent,r.valueDeclaration&&(n.valueDeclaration=r.valueDeclaration),r.constEnumOnlyModule&&(n.constEnumOnlyModule=!0),r.members&&(n.members=new e.Map(r.members)),r.exports&&(n.exports=new e.Map(r.exports)),bf(n,r),n}function Vf(r,n,i){if(i===void 0&&(i=!1),!(r.flags&U_(n.flags))||(n.flags|r.flags)&67108864){if(n===r)return r;if(!(r.flags&33554432)){var a=ss(r);if(a===jr)return n;r=z_(a)}n.flags&512&&r.flags&512&&r.constEnumOnlyModule&&!n.constEnumOnlyModule&&(r.constEnumOnlyModule=!1),r.flags|=n.flags,n.valueDeclaration&&e.setValueDeclaration(r,n.valueDeclaration),e.addRange(r.declarations,n.declarations),n.members&&(r.members||(r.members=e.createSymbolTable()),ou(r.members,n.members,i)),n.exports&&(r.exports||(r.exports=e.createSymbolTable()),ou(r.exports,n.exports,i)),i||bf(r,n)}else if(r.flags&1024)r!==pn&&Zr(n.declarations&&e.getNameOfDeclaration(n.declarations[0]),e.Diagnostics.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity,Xt(r));else{var s=!!(r.flags&384||n.flags&384),l=!!(r.flags&2||n.flags&2),g=s?e.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:l?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0,W=n.declarations&&e.getSourceFileOfNode(n.declarations[0]),ce=r.declarations&&e.getSourceFileOfNode(r.declarations[0]),ke=e.isPlainJsFile(W,Y.checkJs),rr=e.isPlainJsFile(ce,Y.checkJs),$e=Xt(n);if(W&&ce&&Je&&!s&&W!==ce){var ar=e.comparePaths(W.path,ce.path)===-1?W:ce,ir=ar===W?ce:W,Wr=e.getOrUpdate(Je,"".concat(ar.path,"|").concat(ir.path),function(){return{firstFile:ar,secondFile:ir,conflictingSymbols:new e.Map}}),sn=e.getOrUpdate(Wr.conflictingSymbols,$e,function(){return{isBlockScoped:l,firstFileLocations:[],secondFileLocations:[]}});ke||In(sn.firstFileLocations,n),rr||In(sn.secondFileLocations,r)}else ke||W_(n,g,$e,r),rr||W_(r,g,$e,n)}return r;function In(Sn,Kn){if(Kn.declarations)for(var ei=0,Ti=Kn.declarations;ei=5||e.some(l.relatedInformation,function(Wr){return e.compareDiagnostics(Wr,ir)===0||e.compareDiagnostics(Wr,ar)===0}))return"continue";e.addRelatedInfo(l,e.length(l.relatedInformation)?ir:ar)},W=0,ce=a||e.emptyArray;W1);return}if(e.isGlobalScopeAugmentation(s))ou(rn,s.symbol.exports);else{var l=r.parent.parent.flags&16777216?void 0:e.Diagnostics.Invalid_module_name_in_augmentation_module_0_cannot_be_found,g=ml(r,r,l,!0);if(!g)return;if(g=Us(g),g.flags&1920)if(e.some(Mn,function(Wr){return g===Wr.symbol})){var W=Vf(s.symbol,g,!0);_i||(_i=new e.Map),_i.set(r.text,W)}else{if(((i=g.exports)===null||i===void 0?void 0:i.get("__export"))&&((a=s.symbol.exports)===null||a===void 0?void 0:a.size))for(var ce=Ov(g,"resolvedExports"),ke=0,rr=e.arrayFrom(s.symbol.exports.entries());ke$e.end)return!1;var Wr=e.findAncestor(ar,function(sn){if(sn===$e)return"quit";switch(sn.kind){case 216:return!0;case 169:return ir&&(e.isPropertyDeclaration($e)&&sn.parent===$e.parent||e.isParameterPropertyDeclaration($e,$e.parent)&&sn.parent===$e.parent.parent)?"quit":!0;case 238:switch(sn.parent.kind){case 174:case 171:case 175:return!0;default:return!1}default:return!1}});return Wr===void 0}}function Wp(r,n,i){var a=e.getEmitScriptTarget(Y),s=n;if(e.isParameter(i)&&s.body&&r.valueDeclaration&&r.valueDeclaration.pos>=s.body.pos&&r.valueDeclaration.end<=s.body.end&&a>=2){var l=At(s);return l.declarationRequiresScopeChange===void 0&&(l.declarationRequiresScopeChange=e.forEach(s.parameters,g)||!1),!l.declarationRequiresScopeChange}return!1;function g(ce){return W(ce.name)||!!ce.initializer&&W(ce.initializer)}function W(ce){switch(ce.kind){case 216:case 215:case 259:case 173:return!1;case 171:case 174:case 175:case 299:return W(ce.name);case 169:return e.hasStaticModifier(ce)?a<99||!Ce:W(ce.name);default:return e.isNullishCoalesce(ce)||e.isOptionalChain(ce)?a<7:e.isBindingElement(ce)&&ce.dotDotDotToken&&e.isObjectBindingPattern(ce.parent)?a<4:e.isTypeNode(ce)?!1:e.forEachChild(ce,W)||!1}}}function Nd(r){return e.isAssertionExpression(r)&&e.isConstTypeReference(r.type)||e.isJSDocTypeTag(r)&&e.isConstTypeReference(r.typeExpression)}function is(r,n,i,a,s,l,g,W){return g===void 0&&(g=!1),W===void 0&&(W=!0),dp(r,n,i,a,s,l,g,W,Wc)}function dp(r,n,i,a,s,l,g,W,ce){var ke,rr,$e,ar=r,ir,Wr,sn,In,Sn,Kn=!1,ei=r,Ti,Ri=!1;e:for(;r;){if(n==="const"&&Nd(r))return;if(r.locals&&!Cu(r)&&(ir=ce(r.locals,n,i))){var pt=!0;if(e.isFunctionLike(r)&&Wr&&Wr!==r.body?(i&ir.flags&788968&&Wr.kind!==323&&(pt=ir.flags&262144?Wr===r.type||Wr.kind===166||Wr.kind===343||Wr.kind===344||Wr.kind===165:!1),i&ir.flags&3&&(Wp(ir,r,Wr)?pt=!1:ir.flags&1&&(pt=Wr.kind===166||Wr===r.type&&!!e.findAncestor(ir.valueDeclaration,e.isParameter)))):r.kind===191&&(pt=Wr===r.trueType),pt)break e;ir=void 0}switch(Kn=Kn||Yu(r,Wr),r.kind){case 308:if(!e.isExternalOrCommonJsModule(r))break;Ri=!0;case 264:var rt=((ke=zi(r))===null||ke===void 0?void 0:ke.exports)||Oe;if(r.kind===308||e.isModuleDeclaration(r)&&r.flags&16777216&&!e.isGlobalScopeAugmentation(r)){if(ir=rt.get("default")){var Da=e.getLocalSymbolForExportDefault(ir);if(Da&&ir.flags&i&&Da.escapedName===n)break e;ir=void 0}var St=rt.get(n);if(St&&St.flags===2097152&&(e.getDeclarationOfKind(St,278)||e.getDeclarationOfKind(St,277)))break}if(n!=="default"&&(ir=ce(rt,n,i&2623475)))if(e.isSourceFile(r)&&r.commonJsModuleIndicator&&!((rr=ir.declarations)===null||rr===void 0?void 0:rr.some(e.isJSDocTypeAlias)))ir=void 0;else break e;break;case 263:if(ir=ce((($e=zi(r))===null||$e===void 0?void 0:$e.exports)||Oe,n,i&8))break e;break;case 169:if(!e.isStatic(r)){var ba=kf(r.parent);ba&&ba.locals&&ce(ba.locals,n,i&111551)&&(e.Debug.assertNode(r,e.isPropertyDeclaration),In=r)}break;case 260:case 228:case 261:if(ir=ce(zi(r).members||Oe,n,i&788968)){if(!gp(ir,r)){ir=void 0;break}if(Wr&&e.isStatic(Wr)){a&&Zr(ei,e.Diagnostics.Static_members_cannot_reference_class_type_parameters);return}break e}if(r.kind===228&&i&32){var Ta=r.name;if(Ta&&n===Ta.escapedText){ir=r.symbol;break e}}break;case 230:if(Wr===r.expression&&r.parent.token===94){var wa=r.parent.parent;if(e.isClassLike(wa)&&(ir=ce(zi(wa).members,n,i&788968))){a&&Zr(ei,e.Diagnostics.Base_class_expressions_cannot_reference_class_type_parameters);return}}break;case 164:if(Ti=r.parent.parent,(e.isClassLike(Ti)||Ti.kind===261)&&(ir=ce(zi(Ti).members,n,i&788968))){a&&Zr(ei,e.Diagnostics.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);return}break;case 216:if(e.getEmitScriptTarget(Y)>=2)break;case 171:case 173:case 174:case 175:case 259:if(i&3&&n==="arguments"){ir=ve;break e}break;case 215:if(i&3&&n==="arguments"){ir=ve;break e}if(i&16){var So=r.name;if(So&&n===So.escapedText){ir=r.symbol;break e}}break;case 167:r.parent&&r.parent.kind===166&&(r=r.parent),r.parent&&(e.isClassElement(r.parent)||r.parent.kind===260)&&(r=r.parent);break;case 348:case 341:case 342:var xo=e.getJSDocRoot(r);xo&&(r=xo.parent);break;case 166:Wr&&(Wr===r.initializer||Wr===r.name&&e.isBindingPattern(Wr))&&(Sn||(Sn=r));break;case 205:Wr&&(Wr===r.initializer||Wr===r.name&&e.isBindingPattern(Wr))&&e.isParameterDeclaration(r)&&!Sn&&(Sn=r);break;case 192:if(i&262144){var uo=r.typeParameter.name;if(uo&&n===uo.escapedText){ir=r.typeParameter.symbol;break e}}break}pp(r)&&(sn=r),Wr=r,r=e.isJSDocTemplateTag(r)?e.getEffectiveContainerForJSDocTemplateTag(r)||r.parent:(e.isJSDocParameterTag(r)||e.isJSDocReturnTag(r))&&e.getHostSignatureFromJSDoc(r)||r.parent}if(l&&ir&&(!sn||ir!==sn.symbol)&&(ir.isReferenced|=i),!ir){if(Wr&&(e.Debug.assert(Wr.kind===308),Wr.commonJsModuleIndicator&&n==="exports"&&i&Wr.symbol.flags))return Wr.symbol;g||(ir=ce(rn,n,i))}if(!ir&&ar&&e.isInJSFile(ar)&&ar.parent&&e.isRequireCall(ar.parent,!1))return or;function sa(){return In&&!(Ce&&e.getEmitScriptTarget(Y)>=9)?(Zr(ei,ei&&In.type&&e.textRangeContainsPositionInclusive(In.type,ei.pos)?e.Diagnostics.Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:e.Diagnostics.Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor,e.declarationNameToString(In.name),vc(s)),!0):!1}if(ir){if(a&&sa())return}else{a&&Z(function(){if(!ei||!sc(ei,n,s)&&!sa()&&!El(ei)&&!mp(ei,n,i)&&!H_(ei,n)&&!Id(ei,n,i)&&!vp(ei,n,i)&&!Pd(ei,n,i)){var si=void 0,Rn=void 0;if(s&&(Rn=PN(s),Rn&&Zr(ei,a,vc(s),Rn)),!Rn&&W&&GrSn.pos&&Pt.parent.locals&&ce(Pt.parent.locals,ut.escapedName,i)===ut&&Zr(ei,e.Diagnostics.Parameter_0_cannot_reference_identifier_1_declared_after_it,e.declarationNameToString(Sn.name),e.declarationNameToString(ei))}if(ir&&ei&&i&111551&&ir.flags&2097152&&!(ir.flags&111551)&&!e.isValidTypeOnlyAliasUseSite(ei)){var ea=Ec(ir,111551);if(ea){var Yi=ea.kind===278?e.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:e.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type,ka=e.unescapeLeadingUnderscores(n);xs(Zr(ei,Yi,ka),ea,ka)}}}),ir}function xs(r,n,i){return n?e.addRelatedInfo(r,e.createDiagnosticForNode(n,n.kind===278?e.Diagnostics._0_was_exported_here:e.Diagnostics._0_was_imported_here,i)):r}function Yu(r,n){return r.kind!==216&&r.kind!==215?e.isTypeQueryNode(r)||(e.isFunctionLikeDeclaration(r)||r.kind===169&&!e.isStatic(r))&&(!n||n!==r.name):n&&n===r.name?!1:r.asteriskToken||e.hasSyntacticModifier(r,512)?!0:!e.getImmediatelyInvokedFunctionExpression(r)}function pp(r){switch(r.kind){case 259:case 260:case 261:case 263:case 262:case 264:return!0;default:return!1}}function vc(r){return e.isString(r)?e.unescapeLeadingUnderscores(r):e.declarationNameToString(r)}function gp(r,n){if(r.declarations)for(var i=0,a=r.declarations;i=e.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop",rr=r.exports.get("export="),$e=rr.valueDeclaration,ar=Zr(n.name,e.Diagnostics.Module_0_can_only_be_default_imported_using_the_1_flag,Xt(r),ke);$e&&e.addRelatedInfo(ar,e.createDiagnosticForNode($e,e.Diagnostics.This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,ke))}else e.isImportClause(n)?x_(r,n):Eu(r,r,n,e.isImportOrExportSpecifier(n)&&n.propertyName||n.name);else if(ce||W){var ir=Us(r,i)||ss(r,i);return Hs(n,r,ir,!1),ir}return Hs(n,s,void 0,!1),s}function X_(r){switch(r.kind){case 270:return r.parent.moduleSpecifier;case 268:return e.isExternalModuleReference(r.moduleReference)?r.moduleReference.expression:void 0;case 271:return r.parent.parent.moduleSpecifier;case 273:return r.parent.parent.parent.moduleSpecifier;case 278:return r.parent.parent.moduleSpecifier;default:return e.Debug.assertNever(r)}}function x_(r,n){var i,a,s;if((i=r.exports)===null||i===void 0?void 0:i.has(n.symbol.escapedName))Zr(n.name,e.Diagnostics.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,Xt(r),Xt(n.symbol));else{var l=Zr(n.name,e.Diagnostics.Module_0_has_no_default_export,Xt(r)),g=(a=r.exports)===null||a===void 0?void 0:a.get("__export");if(g){var W=(s=g.declarations)===null||s===void 0?void 0:s.find(function(ce){var ke,rr;return!!(e.isExportDeclaration(ce)&&ce.moduleSpecifier&&((rr=(ke=Ms(ce,ce.moduleSpecifier))===null||ke===void 0?void 0:ke.exports)===null||rr===void 0?void 0:rr.has("default")))});W&&e.addRelatedInfo(l,e.createDiagnosticForNode(W,e.Diagnostics.export_Asterisk_does_not_re_export_a_default))}}}function Tu(r,n){var i=r.parent.parent.moduleSpecifier,a=Ms(r,i),s=eu(a,i,n,!1);return Hs(r,a,s,!1),s}function Cf(r,n){var i=r.parent.moduleSpecifier,a=i&&Ms(r,i),s=i&&eu(a,i,n,!1);return Hs(r,a,s,!1),s}function el(r,n){if(r===jr&&n===jr)return jr;if(r.flags&(788968|1920))return r;var i=go(r.flags|n.flags,r.escapedName);return i.declarations=e.deduplicate(e.concatenate(r.declarations,n.declarations),e.equateValues),i.parent=r.parent||n.parent,r.valueDeclaration&&(i.valueDeclaration=r.valueDeclaration),n.members&&(i.members=new e.Map(n.members)),r.exports&&(i.exports=new e.Map(r.exports)),i}function Lu(r,n,i,a){if(r.flags&1536){var s=Ac(r).get(n.escapedText),l=ss(s,a);return Hs(i,s,l,!1),l}}function Ru(r,n){if(r.flags&3){var i=r.valueDeclaration.type;if(i)return ss(Zt(zt(i),n))}}function Bu(r,n,i){var a;i===void 0&&(i=!1);var s=e.getExternalModuleRequireArgument(r)||r.moduleSpecifier,l=Ms(r,s),g=!e.isPropertyAccessExpression(n)&&n.propertyName||n.name;if(!!e.isIdentifier(g)){var W=g.escapedText==="default"&&!!(Y.allowSyntheticDefaultImports||e.getESModuleInterop(Y)),ce=eu(l,s,!1,W);if(ce&&g.escapedText){if(e.isShorthandAmbientModuleSymbol(l))return l;var ke=void 0;l&&l.exports&&l.exports.get("export=")?ke=Zt(Li(ce),g.escapedText,!0):ke=Ru(ce,g.escapedText),ke=ss(ke,i);var rr=Lu(ce,g,n,i);if(rr===void 0&&g.escapedText==="default"){var $e=(a=l.declarations)===null||a===void 0?void 0:a.find(e.isSourceFile);(af(s)||Tc($e,l,i,s))&&(rr=Us(l,i)||ss(l,i))}var ar=rr&&ke&&rr!==ke?el(ke,rr):rr||ke;return ar||Eu(l,ce,r,g),ar}}}function Eu(r,n,i,a){var s,l=kc(r,i),g=e.declarationNameToString(a),W=u0(a,n);if(W!==void 0){var ce=Xt(W),ke=Zr(a,e.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2,l,g,ce);W.valueDeclaration&&e.addRelatedInfo(ke,e.createDiagnosticForNode(W.valueDeclaration,e.Diagnostics._0_is_declared_here,ce))}else((s=r.exports)===null||s===void 0?void 0:s.has("default"))?Zr(a,e.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,l,g):hp(i,a,g,r,l)}function hp(r,n,i,a,s){var l,g,W=(g=(l=a.valueDeclaration)===null||l===void 0?void 0:l.locals)===null||g===void 0?void 0:g.get(n.escapedText),ce=a.exports;if(W){var ke=ce==null?void 0:ce.get("export=");if(ke)ku(ke,W)?Z_(r,n,i,s):Zr(n,e.Diagnostics.Module_0_has_no_exported_member_1,s,i);else{var rr=ce?e.find(Gv(ce),function(ar){return!!ku(ar,W)}):void 0,$e=rr?Zr(n,e.Diagnostics.Module_0_declares_1_locally_but_it_is_exported_as_2,s,i,Xt(rr)):Zr(n,e.Diagnostics.Module_0_declares_1_locally_but_it_is_not_exported,s,i);W.declarations&&e.addRelatedInfo.apply(void 0,zn([$e],e.map(W.declarations,function(ar,ir){return e.createDiagnosticForNode(ar,ir===0?e.Diagnostics._0_is_declared_here:e.Diagnostics.and_here,i)}),!1))}}else Zr(n,e.Diagnostics.Module_0_has_no_exported_member_1,s,i)}function Z_(r,n,i,a){if(j>=e.ModuleKind.ES2015){var s=e.getESModuleInterop(Y)?e.Diagnostics._0_can_only_be_imported_by_using_a_default_import:e.Diagnostics._0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;Zr(n,s,i)}else if(e.isInJSFile(r)){var s=e.getESModuleInterop(Y)?e.Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:e.Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;Zr(n,s,i)}else{var s=e.getESModuleInterop(Y)?e.Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:e.Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;Zr(n,s,i,i,a)}}function Od(r,n){if(e.isImportSpecifier(r)&&e.idText(r.propertyName||r.name)==="default"){var i=X_(r),a=i&&Ms(r,i);if(a)return of(a,r,n)}var s=e.isBindingElement(r)?e.getRootDeclaration(r):r.parent.parent.parent,l=Y_(s),g=Bu(s,l||r,n),W=r.propertyName||r.name;return l&&g&&e.isIdentifier(W)?ss(Zt(Li(g),W.escapedText),n):(Hs(r,void 0,g,!1),g)}function Y_(r){if(e.isVariableDeclaration(r)&&r.initializer&&e.isPropertyAccessExpression(r.initializer))return r.initializer}function Fo(r,n){var i=Us(r.parent.symbol,n);return Hs(r,void 0,i,!1),i}function sf(r,n,i){if(e.idText(r.propertyName||r.name)==="default"){var a=X_(r),s=a&&Ms(r,a);if(s)return of(s,r,!!i)}var l=r.parent.parent.moduleSpecifier?Bu(r.parent.parent,r,i):ts(r.propertyName||r.name,n,!1,i);return Hs(r,void 0,l,!1),l}function Fd(r,n){var i=e.isExportAssignment(r)?r.expression:r.right,a=C_(i,n);return Hs(r,void 0,a,!1),a}function C_(r,n){if(e.isClassExpression(r))return Ds(r).symbol;if(!(!e.isEntityName(r)&&!e.isEntityNameExpression(r))){var i=ts(r,111551|788968|1920,!0,n);return i||(Ds(r),At(r).resolvedSymbol)}}function Gf(r,n){if(!!(e.isBinaryExpression(r.parent)&&r.parent.left===r&&r.parent.operatorToken.kind===63))return C_(r.parent.right,n)}function Tf(r,n){switch(n===void 0&&(n=!1),r.kind){case 268:case 257:return b_(r,n);case 270:return $u(r,n);case 271:return Tu(r,n);case 277:return Cf(r,n);case 273:case 205:return Od(r,n);case 278:return sf(r,111551|788968|1920,n);case 274:case 223:return Fd(r,n);case 267:return Fo(r,n);case 300:return ts(r.name,111551|788968|1920,!0,n);case 299:return C_(r.initializer,n);case 209:case 208:return Gf(r,n);default:return e.Debug.fail()}}function Md(r,n){return n===void 0&&(n=111551|788968|1920),r?(r.flags&(2097152|n))==2097152||!!(r.flags&2097152&&r.flags&67108864):!1}function ss(r,n){return!n&&Md(r)?wi(r):r}function wi(r){e.Debug.assert((r.flags&2097152)!=0,"Should only get Alias here.");var n=Qt(r);if(n.aliasTarget)n.aliasTarget===on&&(n.aliasTarget=jr);else{n.aliasTarget=on;var i=Mu(r);if(!i)return e.Debug.fail();var a=Tf(i);n.aliasTarget===on?n.aliasTarget=a||jr:Zr(i,e.Diagnostics.Circular_definition_of_import_alias_0,Xt(r))}return n.aliasTarget}function Fs(r){var n=Qt(r);if(n.aliasTarget!==on)return wi(r)}function Kt(r){for(var n=r.flags,i;r.flags&2097152;){var a=wi(r);if(a===jr)return 67108863;if(a===r||(i==null?void 0:i.has(a)))break;a.flags&2097152&&(i?i.add(a):i=new e.Set([r,a])),n|=a.flags,r=a}return n}function Hs(r,n,i,a){if(!r||e.isPropertyAccessExpression(r))return!1;var s=zi(r);if(e.isTypeOnlyImportOrExportDeclaration(r)){var l=Qt(s);return l.typeOnlyDeclaration=r,!0}var g=Qt(s);return $_(g,n,a)||$_(g,i,a)}function $_(r,n,i){var a,s,l;if(n&&(r.typeOnlyDeclaration===void 0||i&&r.typeOnlyDeclaration===!1)){var g=(s=(a=n.exports)===null||a===void 0?void 0:a.get("export="))!==null&&s!==void 0?s:n,W=g.declarations&&e.find(g.declarations,e.isTypeOnlyImportOrExportDeclaration);r.typeOnlyDeclaration=(l=W!=null?W:Qt(g).typeOnlyDeclaration)!==null&&l!==void 0?l:!1}return!!r.typeOnlyDeclaration}function Ec(r,n){if(!!(r.flags&2097152)){var i=Qt(r);if(n===void 0)return i.typeOnlyDeclaration||void 0;if(i.typeOnlyDeclaration)return Kt(wi(i.typeOnlyDeclaration.symbol))&n?i.typeOnlyDeclaration:void 0}}function ji(r){var n=zi(r),i=wi(n);if(i){var a=i===jr||Kt(i)&111551&&!Sv(i)&&!Ec(n,111551);a&&su(n)}}function su(r){var n=Qt(r);if(!n.referenced){n.referenced=!0;var i=Mu(r);if(!i)return e.Debug.fail();e.isInternalModuleImportEqualsDeclaration(i)&&Kt(ss(r))&111551&&Ds(i.moduleReference)}}function cu(r){var n=Qt(r);n.constEnumReferenced||(n.constEnumReferenced=!0)}function Wo(r,n){return r.kind===79&&e.isRightSideOfQualifiedNameOrPropertyAccess(r)&&(r=r.parent),r.kind===79||r.parent.kind===163?ts(r,1920,!1,n):(e.Debug.assert(r.parent.kind===268),ts(r,111551|788968|1920,!1,n))}function kc(r,n){return r.parent?kc(r.parent,n)+"."+Xt(r):Xt(r,n,void 0,32|4)}function Vc(r){for(;e.isQualifiedName(r.parent);)r=r.parent;return r}function ed(r){var n=e.getFirstIdentifier(r),i=is(n,n.escapedText,111551,void 0,n,!0);if(!!i){for(;e.isQualifiedName(n.parent);){var a=Li(i);if(i=Zt(a,n.parent.right.escapedText),!i)return;n=n.parent}return i}}function ts(r,n,i,a,s){if(!e.nodeIsMissing(r)){var l=1920|(e.isInJSFile(r)?n&111551:0),g;if(r.kind===79){var W=n===l||e.nodeIsSynthesized(r)?e.Diagnostics.Cannot_find_namespace_0:$S(e.getFirstIdentifier(r)),ce=e.isInJSFile(r)&&!e.nodeIsSynthesized(r)?gl(r,n):void 0;if(g=Ya(is(s||r,r.escapedText,n,i||ce?void 0:W,r,!0,!1)),!g)return Ya(ce)}else if(r.kind===163||r.kind===208){var ke=r.kind===163?r.left:r.expression,rr=r.kind===163?r.right:r.name,$e=ts(ke,l,i,!1,s);if(!$e||e.nodeIsMissing(rr))return;if($e===jr)return $e;if($e.valueDeclaration&&e.isInJSFile($e.valueDeclaration)&&e.isVariableDeclaration($e.valueDeclaration)&&$e.valueDeclaration.initializer&&wC($e.valueDeclaration.initializer)){var ar=$e.valueDeclaration.initializer.arguments[0],ir=Ms(ar,ar);if(ir){var Wr=Us(ir);Wr&&($e=Wr)}}if(g=Ya(Wc(Ac($e),rr.escapedText,n)),!g){if(!i){var sn=kc($e),In=e.declarationNameToString(rr),Sn=u0(rr,$e);if(Sn){Zr(rr,e.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2,sn,In,Xt(Sn));return}var Kn=e.isQualifiedName(r)&&Vc(r),ei=di&&n&788968&&Kn&&!e.isTypeOfExpression(Kn.parent)&&ed(Kn);if(ei){Zr(Kn,e.Diagnostics._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,e.entityNameToString(Kn));return}if(n&1920&&e.isQualifiedName(r.parent)){var Ti=Ya(Wc(Ac($e),rr.escapedText,788968));if(Ti){Zr(r.parent.right,e.Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1,Xt(Ti),e.unescapeLeadingUnderscores(r.parent.right.escapedText));return}}Zr(rr,e.Diagnostics.Namespace_0_has_no_exported_member_1,sn,In)}return}}else throw e.Debug.assertNever(r,"Unknown entity name kind.");return e.Debug.assert((e.getCheckFlags(g)&1)==0,"Should never get an instantiated symbol here."),!e.nodeIsSynthesized(r)&&e.isEntityName(r)&&(g.flags&2097152||r.parent.kind===274)&&Hs(e.getAliasDeclarationFromName(r),g,void 0,!0),g.flags&n||a?g:wi(g)}}function gl(r,n){if(_h(r.parent)){var i=Ef(r.parent);if(i)return is(i,r.escapedText,n,void 0,r,!0)}}function Ef(r){var n=e.findAncestor(r,function(l){return e.isJSDocNode(l)||l.flags&8388608?e.isJSDocTypeAlias(l):"quit"});if(!n){var i=e.getJSDocHost(r);if(i&&e.isExpressionStatement(i)&&e.isPrototypePropertyAssignment(i.expression)){var a=zi(i.expression.left);if(a)return T_(a)}if(i&&e.isFunctionExpression(i)&&e.isPrototypePropertyAssignment(i.parent)&&e.isExpressionStatement(i.parent.parent)){var a=zi(i.parent.left);if(a)return T_(a)}if(i&&(e.isObjectLiteralMethod(i)||e.isPropertyAssignment(i))&&e.isBinaryExpression(i.parent.parent)&&e.getAssignmentDeclarationKind(i.parent.parent)===6){var a=zi(i.parent.parent.left);if(a)return T_(a)}var s=e.getEffectiveJSDocHost(r);if(s&&e.isFunctionLike(s)){var a=zi(s);return a&&a.valueDeclaration}}}function T_(r){var n=r.parent.valueDeclaration;if(!!n){var i=e.isAssignmentDeclaration(n)?e.getAssignedExpandoInitializer(n):e.hasOnlyExpressionInitializer(n)?e.getDeclaredExpandoInitializer(n):void 0;return i||n}}function rl(r){var n=r.valueDeclaration;if(!(!n||!e.isInJSFile(n)||r.flags&524288||e.getExpandoInitializer(n,!1))){var i=e.isVariableDeclaration(n)?e.getDeclaredExpandoInitializer(n):e.getAssignedExpandoInitializer(n);if(i){var a=zi(i);if(a)return gD(a,r)}}}function Ms(r,n,i){var a=e.getEmitModuleResolutionKind(Y)===e.ModuleResolutionKind.Classic,s=a?e.Diagnostics.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option:e.Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations;return ml(r,n,i?void 0:s)}function ml(r,n,i,a){return a===void 0&&(a=!1),e.isStringLiteralLike(n)?Hf(r,n.text,i,n,a):void 0}function Hf(r,n,i,a,s){var l,g,W,ce,ke,rr,$e,ar;if(s===void 0&&(s=!1),e.startsWith(n,"@types/")){var ir=e.Diagnostics.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1,Wr=e.removePrefix(n,"@types/");Zr(a,ir,Wr,n)}var sn=jm(n,!0);if(sn)return sn;var In=e.getSourceFileOfNode(r),Sn=e.isStringLiteralLike(r)?r:((l=e.findAncestor(r,e.isImportCall))===null||l===void 0?void 0:l.arguments[0])||((g=e.findAncestor(r,e.isImportDeclaration))===null||g===void 0?void 0:g.moduleSpecifier)||((W=e.findAncestor(r,e.isExternalModuleImportEqualsDeclaration))===null||W===void 0?void 0:W.moduleReference.expression)||((ce=e.findAncestor(r,e.isExportDeclaration))===null||ce===void 0?void 0:ce.moduleSpecifier)||((ke=e.isModuleDeclaration(r)?r:r.parent&&e.isModuleDeclaration(r.parent)&&r.parent.name===r?r.parent:void 0)===null||ke===void 0?void 0:ke.name)||((rr=e.isLiteralImportTypeNode(r)?r:void 0)===null||rr===void 0?void 0:rr.argument.literal),Kn=Sn&&e.isStringLiteralLike(Sn)?e.getModeForUsageLocation(In,Sn):In.impliedNodeFormat,ei=e.getResolvedModule(In,n,Kn),Ti=ei&&e.getResolutionDiagnostic(Y,ei),Ri=ei&&(!Ti||Ti===e.Diagnostics.Module_0_was_resolved_to_1_but_jsx_is_not_set)&&b.getSourceFile(ei.resolvedFileName);if(Ri){if(Ti&&Zr(a,Ti,n,ei.resolvedFileName),Ri.symbol){if(ei.isExternalLibraryImport&&!e.resolutionExtensionIsTSOrJson(ei.extension)&&Kf(!1,a,ei,n),e.getEmitModuleResolutionKind(Y)===e.ModuleResolutionKind.Node16||e.getEmitModuleResolutionKind(Y)===e.ModuleResolutionKind.NodeNext){var pt=In.impliedNodeFormat===e.ModuleKind.CommonJS&&!e.findAncestor(r,e.isImportCall)||!!e.findAncestor(r,e.isImportEqualsDeclaration),rt=e.findAncestor(r,function(aa){return e.isImportTypeNode(aa)||e.isExportDeclaration(aa)||e.isImportDeclaration(aa)}),Da=rt&&e.isImportTypeNode(rt)?($e=rt.assertions)===null||$e===void 0?void 0:$e.assertClause:rt==null?void 0:rt.assertClause;if(pt&&Ri.impliedNodeFormat===e.ModuleKind.ESNext&&!e.getResolutionModeOverrideForClause(Da))if(e.findAncestor(r,e.isImportEqualsDeclaration))Zr(a,e.Diagnostics.Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_with_require_Use_an_ECMAScript_import_instead,n);else{var St=void 0,ba=e.tryGetExtensionFromPath(In.fileName);if(ba===".ts"||ba===".js"||ba===".tsx"||ba===".jsx"){var Ta=In.packageJsonScope,wa=ba===".ts"?".mts":ba===".js"?".mjs":void 0;Ta&&!Ta.contents.packageJsonContent.type?wa?St=e.chainDiagnosticMessages(void 0,e.Diagnostics.To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Colon_module_to_1,wa,e.combinePaths(Ta.packageDirectory,"package.json")):St=e.chainDiagnosticMessages(void 0,e.Diagnostics.To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0,e.combinePaths(Ta.packageDirectory,"package.json")):wa?St=e.chainDiagnosticMessages(void 0,e.Diagnostics.To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_package_json_file_with_type_Colon_module,wa):St=e.chainDiagnosticMessages(void 0,e.Diagnostics.To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module)}fe.add(e.createDiagnosticForNodeFromMessageChain(a,e.chainDiagnosticMessages(St,e.Diagnostics.The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_referenced_file_is_an_ECMAScript_module_and_cannot_be_imported_with_require_Consider_writing_a_dynamic_import_0_call_instead,n)))}}return Ya(Ri.symbol)}i&&Zr(a,e.Diagnostics.File_0_is_not_a_module,Ri.fileName);return}if(Mn){var So=e.findBestPatternMatch(Mn,function(aa){return aa.pattern},n);if(So){var xo=_i&&_i.get(n);return Ya(xo||So.symbol)}}if(ei&&!e.resolutionExtensionIsTSOrJson(ei.extension)&&Ti===void 0||Ti===e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type){if(s){var ir=e.Diagnostics.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented;Zr(a,ir,n,ei.resolvedFileName)}else Kf(Ue&&!!i,a,ei,n);return}if(i){if(ei){var uo=b.getProjectReferenceRedirect(ei.resolvedFileName);if(uo){Zr(a,e.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,uo,ei.resolvedFileName);return}}if(Ti)Zr(a,Ti,n,ei.resolvedFileName);else{var sa=e.tryExtractTSExtension(n),si=e.pathIsRelative(n)&&!e.hasExtension(n),Rn=e.getEmitModuleResolutionKind(Y),ut=Rn===e.ModuleResolutionKind.Node16||Rn===e.ModuleResolutionKind.NodeNext;if(sa){var ir=e.Diagnostics.An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead,Pt=e.removeExtension(n,sa),ea=Pt;j>=e.ModuleKind.ES2015&&(ea+=sa===".mts"?".mjs":sa===".cts"?".cjs":".js"),Zr(a,ir,sa,ea)}else if(!Y.resolveJsonModule&&e.fileExtensionIs(n,".json")&&e.getEmitModuleResolutionKind(Y)!==e.ModuleResolutionKind.Classic&&e.hasJsonModuleEmitEnabled(Y))Zr(a,e.Diagnostics.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,n);else if(Kn===e.ModuleKind.ESNext&&ut&&si){var Yi=e.getNormalizedAbsolutePath(n,e.getDirectoryPath(In.path)),ka=(ar=Qa.find(function(aa){var Ma=aa[0],La=aa[1];return b.fileExists(Yi+Ma)}))===null||ar===void 0?void 0:ar[1];ka?Zr(a,e.Diagnostics.Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0,n+ka):Zr(a,e.Diagnostics.Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path)}else Zr(a,i,n)}}}function Kf(r,n,i,a){var s=i.packageId,l=i.resolvedFileName,g=!e.isExternalModuleNameRelative(a)&&s?Nl(s.name)?e.chainDiagnosticMessages(void 0,e.Diagnostics.If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1,s.name,e.mangleScopedPackageName(s.name)):Dp(s.name)?e.chainDiagnosticMessages(void 0,e.Diagnostics.If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1,s.name,a):e.chainDiagnosticMessages(void 0,e.Diagnostics.Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,a,e.mangleScopedPackageName(s.name)):void 0;xu(r,n,e.chainDiagnosticMessages(g,e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,a,l))}function Nl(r){return x().has(e.getTypesPackageName(r))}function Dp(r){return!!x().get(r)}function Us(r,n){if(r==null?void 0:r.exports){var i=ss(r.exports.get("export="),n),a=cf(Ya(i),Ya(r));return Ya(a)||r}}function cf(r,n){if(!r||r===jr||r===n||n.exports.size===1||r.flags&2097152)return r;var i=Qt(r);if(i.cjsExportMerged)return i.cjsExportMerged;var a=r.flags&33554432?r:z_(r);return a.flags=a.flags|512,a.exports===void 0&&(a.exports=e.createSymbolTable()),n.exports.forEach(function(s,l){l!=="export="&&a.exports.set(l,a.exports.has(l)?Vf(a.exports.get(l),s):s)}),Qt(a).cjsExportMerged=a,i.cjsExportMerged=a}function eu(r,n,i,a){var s,l=Us(r,i);if(!i&&l){if(!a&&!(l.flags&(1536|3))&&!e.getDeclarationOfKind(l,308)){var g=j>=e.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop";return Zr(n,e.Diagnostics.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,g),l}var W=n.parent;if(e.isImportDeclaration(W)&&e.getNamespaceDeclarationNode(W)||e.isImportCall(W)){var ce=e.isImportCall(W)?W.arguments[0]:W.moduleSpecifier,ke=Li(l),rr=PC(ke,l,r,ce);if(rr)return Ld(l,rr,W);var $e=(s=r==null?void 0:r.declarations)===null||s===void 0?void 0:s.find(e.isSourceFile),ar=$e&&Q_(tf(ce),$e.impliedNodeFormat);if(e.getESModuleInterop(Y)||ar){var ir=Ts(ke,0);if((!ir||!ir.length)&&(ir=Ts(ke,1)),ir&&ir.length||Zt(ke,"default",!0)||ar){var Wr=IC(ke,l,r,ce);return Ld(l,Wr,W)}}}}return l}function Ld(r,n,i){var a=go(r.flags,r.escapedName);a.declarations=r.declarations?r.declarations.slice():[],a.parent=r.parent,a.target=r,a.originatingImport=i,r.valueDeclaration&&(a.valueDeclaration=r.valueDeclaration),r.constEnumOnlyModule&&(a.constEnumOnlyModule=!0),r.members&&(a.members=new e.Map(r.members)),r.exports&&(a.exports=new e.Map(r.exports));var s=Iu(n);return a.type=Yo(a,s.members,e.emptyArray,e.emptyArray,s.indexInfos),a}function uf(r){return r.exports.get("export=")!==void 0}function lf(r){return Gv(Ls(r))}function rd(r){var n=lf(r),i=Us(r);if(i!==r){var a=Li(i);ks(a)&&e.addRange(n,vo(a))}return n}function Pl(r,n){var i=Ls(r);i.forEach(function(l,g){Nf(g)||n(l,g)});var a=Us(r);if(a!==r){var s=Li(a);ks(s)&&eh(s,function(l,g){n(l,g)})}}function nl(r,n){var i=Ls(n);if(i)return i.get(r)}function nd(r,n){var i=nl(r,n);if(i)return i;var a=Us(n);if(a!==n){var s=Li(a);return ks(s)?Zt(s,r):void 0}}function ks(r){return!(r.flags&131068||e.getObjectFlags(r)&1||Fu(r)||Xa(r))}function Ac(r){return r.flags&6256?Ov(r,"resolvedExports"):r.flags&1536?Ls(r):r.exports||Oe}function Ls(r){var n=Qt(r);return n.resolvedExports||(n.resolvedExports=E_(r))}function ff(r,n,i,a){!n||n.forEach(function(s,l){if(l!=="default"){var g=r.get(l);if(!g)r.set(l,s),i&&a&&i.set(l,{specifierText:e.getTextOfNode(a.moduleSpecifier)});else if(i&&a&&g&&ss(g)!==ss(s)){var W=i.get(l);W.exportsWithDuplicate?W.exportsWithDuplicate.push(a):W.exportsWithDuplicate=[a]}}})}function E_(r){var n=[];return r=Us(r),i(r)||Oe;function i(a){if(!!(a&&a.exports&&e.pushIfUnique(n,a))){var s=new e.Map(a.exports),l=a.exports.get("__export");if(l){var g=e.createSymbolTable(),W=new e.Map;if(l.declarations)for(var ce=0,ke=l.declarations;ce=rr?ke.substr(0,rr-"...".length)+"...":ke}function Ml(r,n){var i=al(r.symbol)?Oi(r,r.symbol.valueDeclaration):Oi(r),a=al(n.symbol)?Oi(n,n.symbol.valueDeclaration):Oi(n);return i===a&&(i=ad(r),a=ad(n)),[i,a]}function ad(r){return Oi(r,void 0,64)}function al(r){return r&&!!r.valueDeclaration&&e.isExpression(r.valueDeclaration)&&!Gu(r.valueDeclaration)}function Ju(r){return r===void 0&&(r=0),r&848330091}function od(r){return!!r.symbol&&!!(r.symbol.flags&32)&&(r===_u(r.symbol)||!!(r.flags&524288)&&!!(e.getObjectFlags(r)&16777216))}function Bd(){return{typeToTypeNode:function(an,br,Fi,li){return n(br,Fi,li,function(et){return s(an,et)})},indexInfoToIndexSignatureDeclaration:function(an,br,Fi,li){return n(br,Fi,li,function(et){return $e(an,et,void 0)})},signatureToSignatureDeclaration:function(an,br,Fi,li,et){return n(Fi,li,et,function(ki){return ar(an,br,ki)})},symbolToEntityName:function(an,br,Fi,li,et){return n(Fi,li,et,function(ki){return wa(an,ki,br,!1)})},symbolToExpression:function(an,br,Fi,li,et){return n(Fi,li,et,function(ki){return So(an,ki,br)})},symbolToTypeParameterDeclarations:function(an,br,Fi,li){return n(br,Fi,li,function(et){return Ti(an,et)})},symbolToParameterDeclaration:function(an,br,Fi,li){return n(br,Fi,li,function(et){return In(an,et)})},typeParameterToDeclaration:function(an,br,Fi,li){return n(br,Fi,li,function(et){return sn(an,et)})},symbolTableToDeclarationStatements:function(an,br,Fi,li,et){return n(br,Fi,li,function(ki){return La(an,ki,et)})},symbolToNode:function(an,br,Fi,li,et){return n(Fi,li,et,function(ki){return r(an,ki,br)})}};function r(an,br,Fi){if(br.flags&1073741824){if(an.valueDeclaration){var li=e.getNameOfDeclaration(an.valueDeclaration);if(li&&e.isComputedPropertyName(li))return li}var et=Qt(an).nameType;if(et&&et.flags&(1024|8192))return br.enclosingDeclaration=et.symbol.valueDeclaration,e.factory.createComputedPropertyName(So(et.symbol,br,Fi))}return So(an,br,Fi)}function n(an,br,Fi,li){var et,ki;e.Debug.assert(an===void 0||(an.flags&8)==0);var Mi={enclosingDeclaration:an,flags:br||0,tracker:Fi&&Fi.trackSymbol?Fi:{trackSymbol:function(){return!1},moduleResolverHost:br&134217728?{getCommonSourceDirectory:b.getCommonSourceDirectory?function(){return b.getCommonSourceDirectory()}:function(){return""},getCurrentDirectory:function(){return b.getCurrentDirectory()},getSymlinkCache:e.maybeBind(b,b.getSymlinkCache),getPackageJsonInfoCache:function(){var Xr;return(Xr=b.getPackageJsonInfoCache)===null||Xr===void 0?void 0:Xr.call(b)},useCaseSensitiveFileNames:e.maybeBind(b,b.useCaseSensitiveFileNames),redirectTargetsMap:b.redirectTargetsMap,getProjectReferenceRedirect:function(Xr){return b.getProjectReferenceRedirect(Xr)},isSourceOfProjectReferenceRedirect:function(Xr){return b.isSourceOfProjectReferenceRedirect(Xr)},fileExists:function(Xr){return b.fileExists(Xr)},getFileIncludeReasons:function(){return b.getFileIncludeReasons()},readFile:b.readFile?function(Xr){return b.readFile(Xr)}:void 0}:void 0},encounteredError:!1,reportedDiagnostic:!1,visitedTypes:void 0,symbolDepth:void 0,inferTypeParameters:void 0,approximateLength:0};Mi.tracker=i(Mi,Mi.tracker);var vt=li(Mi);return Mi.truncating&&Mi.flags&1&&((ki=(et=Mi.tracker)===null||et===void 0?void 0:et.reportTruncationError)===null||ki===void 0||ki.call(et)),Mi.encounteredError?void 0:vt}function i(an,br){var Fi=br.trackSymbol;return vi(vi({},br),{reportCyclicStructureError:li(br.reportCyclicStructureError),reportInaccessibleThisError:li(br.reportInaccessibleThisError),reportInaccessibleUniqueSymbolError:li(br.reportInaccessibleUniqueSymbolError),reportLikelyUnsafeImportRequiredError:li(br.reportLikelyUnsafeImportRequiredError),reportNonlocalAugmentation:li(br.reportNonlocalAugmentation),reportPrivateInBaseOfClassExpression:li(br.reportPrivateInBaseOfClassExpression),reportNonSerializableProperty:li(br.reportNonSerializableProperty),trackSymbol:Fi&&function(){for(var et=[],ki=0;ki(an.flags&1?e.noTruncationMaximumTruncationLength:e.defaultMaximumTruncationLength)}function s(an,br){var Fi=br.flags,li=l(an,br);return br.flags=Fi,li}function l(an,br){B&&B.throwIfCancellationRequested&&B.throwIfCancellationRequested();var Fi=br.flags&8388608;if(br.flags&=~8388608,!an){if(!(br.flags&262144)){br.encounteredError=!0;return}return br.approximateLength+=3,e.factory.createKeywordTypeNode(131)}if(br.flags&536870912||(an=ct(an)),an.flags&1)return an.aliasSymbol?e.factory.createTypeReferenceNode(Da(an.aliasSymbol),ke(an.aliasTypeArguments,br)):an===Ke?e.addSyntheticLeadingComment(e.factory.createKeywordTypeNode(131),3,"unresolved"):(br.approximateLength+=3,e.factory.createKeywordTypeNode(an===hr?139:131));if(an.flags&2)return e.factory.createKeywordTypeNode(157);if(an.flags&4)return br.approximateLength+=6,e.factory.createKeywordTypeNode(152);if(an.flags&8)return br.approximateLength+=6,e.factory.createKeywordTypeNode(148);if(an.flags&64)return br.approximateLength+=6,e.factory.createKeywordTypeNode(160);if(an.flags&16&&!an.aliasSymbol)return br.approximateLength+=7,e.factory.createKeywordTypeNode(134);if(an.flags&1024&&!(an.flags&1048576)){var li=Nc(an.symbol),et=St(li,br,788968);if(nt(li)===an)return et;var ki=e.symbolName(an.symbol);return e.isIdentifierText(ki,0)?dn(et,e.factory.createTypeReferenceNode(ki,void 0)):e.isImportTypeNode(et)?(et.isTypeOf=!0,e.factory.createIndexedAccessTypeNode(et,e.factory.createLiteralTypeNode(e.factory.createStringLiteral(ki)))):e.isTypeReferenceNode(et)?e.factory.createIndexedAccessTypeNode(e.factory.createTypeQueryNode(et.typeName),e.factory.createLiteralTypeNode(e.factory.createStringLiteral(ki))):e.Debug.fail("Unhandled type node kind returned from `symbolToTypeNode`.")}if(an.flags&1056)return St(an.symbol,br,788968);if(an.flags&128)return br.approximateLength+=an.value.length+2,e.factory.createLiteralTypeNode(e.setEmitFlags(e.factory.createStringLiteral(an.value,!!(br.flags&268435456)),16777216));if(an.flags&256){var Mi=an.value;return br.approximateLength+=(""+Mi).length,e.factory.createLiteralTypeNode(Mi<0?e.factory.createPrefixUnaryExpression(40,e.factory.createNumericLiteral(-Mi)):e.factory.createNumericLiteral(Mi))}if(an.flags&2048)return br.approximateLength+=e.pseudoBigIntToString(an.value).length+1,e.factory.createLiteralTypeNode(e.factory.createBigIntLiteral(an.value));if(an.flags&512)return br.approximateLength+=an.intrinsicName.length,e.factory.createLiteralTypeNode(an.intrinsicName==="true"?e.factory.createTrue():e.factory.createFalse());if(an.flags&8192){if(!(br.flags&1048576)){if(Ol(an.symbol,br.enclosingDeclaration))return br.approximateLength+=6,St(an.symbol,br,111551);br.tracker.reportInaccessibleUniqueSymbolError&&br.tracker.reportInaccessibleUniqueSymbolError()}return br.approximateLength+=13,e.factory.createTypeOperatorNode(156,e.factory.createKeywordTypeNode(153))}if(an.flags&16384)return br.approximateLength+=4,e.factory.createKeywordTypeNode(114);if(an.flags&32768)return br.approximateLength+=9,e.factory.createKeywordTypeNode(155);if(an.flags&65536)return br.approximateLength+=4,e.factory.createLiteralTypeNode(e.factory.createNull());if(an.flags&131072)return br.approximateLength+=5,e.factory.createKeywordTypeNode(144);if(an.flags&4096)return br.approximateLength+=6,e.factory.createKeywordTypeNode(153);if(an.flags&67108864)return br.approximateLength+=6,e.factory.createKeywordTypeNode(149);if(e.isThisTypeParameter(an))return br.flags&4194304&&(!br.encounteredError&&!(br.flags&32768)&&(br.encounteredError=!0),br.tracker.reportInaccessibleThisError&&br.tracker.reportInaccessibleThisError()),br.approximateLength+=4,e.factory.createThisTypeNode();if(!Fi&&an.aliasSymbol&&(br.flags&16384||Pf(an.aliasSymbol,br.enclosingDeclaration))){var vt=ke(an.aliasTypeArguments,br);return Nf(an.aliasSymbol.escapedName)&&!(an.aliasSymbol.flags&32)?e.factory.createTypeReferenceNode(e.factory.createIdentifier(""),vt):e.length(vt)===1&&an.aliasSymbol===la.symbol?e.factory.createArrayTypeNode(vt[0]):St(an.aliasSymbol,br,788968,vt)}var Xr=e.getObjectFlags(an);if(Xr&4)return e.Debug.assert(!!(an.flags&524288)),an.node?Ql(an,Xl):Xl(an);if(an.flags&262144||Xr&3){if(an.flags&262144&&e.contains(br.inferTypeParameters,an)){br.approximateLength+=e.symbolName(an.symbol).length+6;var Jn=void 0,Yn=rc(an);if(Yn){var Di=db(an,!0);Di&&Lf(Yn,Di)||(br.approximateLength+=9,Jn=Yn&&s(Yn,br))}return e.factory.createInferTypeNode(Wr(an,br,Jn))}if(br.flags&4&&an.flags&262144&&!Pf(an.symbol,br.enclosingDeclaration)){var bi=Ta(an,br);return br.approximateLength+=e.idText(bi).length,e.factory.createTypeReferenceNode(e.factory.createIdentifier(e.idText(bi)),void 0)}if(an.symbol)return St(an.symbol,br,788968);var Qi=(an===so||an===Xo)&&Ne&&Ne.symbol?(an===Xo?"sub-":"super-")+e.symbolName(Ne.symbol):"?";return e.factory.createTypeReferenceNode(e.factory.createIdentifier(Qi),void 0)}if(an.flags&1048576&&an.origin&&(an=an.origin),an.flags&(1048576|2097152)){var xt=an.flags&1048576?A_(an.types):an.types;if(e.length(xt)===1)return s(xt[0],br);var Vt=ke(xt,br,!0);if(Vt&&Vt.length>0)return an.flags&1048576?e.factory.createUnionTypeNode(Vt):e.factory.createIntersectionTypeNode(Vt);!br.encounteredError&&!(br.flags&262144)&&(br.encounteredError=!0);return}if(Xr&(16|32))return e.Debug.assert(!!(an.flags&524288)),lp(an);if(an.flags&4194304){var Ha=an.type;br.approximateLength+=6;var qt=s(Ha,br);return e.factory.createTypeOperatorNode(141,qt)}if(an.flags&134217728){var lo=an.texts,to=an.types,Mo=e.factory.createTemplateHead(lo[0]),Zs=e.factory.createNodeArray(e.map(to,function(Ln,xi){return e.factory.createTemplateLiteralTypeSpan(s(Ln,br),(xi10)return g(br);br.symbolDepth.set(ht,ja+1)}br.visitedTypes.add(Wi);var yo=br.approximateLength,qa=xi(Ln),Jo=br.approximateLength-yo;return!br.reportedDiagnostic&&!br.encounteredError&&(br.truncating&&(qa.truncating=!0),qa.addedLength=Jo,(pi=Bt==null?void 0:Bt.serializedTypes)===null||pi===void 0||pi.set(pa,qa)),br.visitedTypes.delete(Wi),ht&&br.symbolDepth.set(ht,ja),qa;function Bo(Ro){return!e.nodeIsSynthesized(Ro)&&e.getParseTreeNode(Ro)===Ro?Ro:e.setTextRange(e.factory.cloneNode(e.visitEachChild(Ro,Bo,e.nullTransformationContext,Dc)),Ro)}function Dc(Ro,ls,En,Ui,Ut){return Ro&&Ro.length===0?e.setTextRange(e.factory.createNodeArray(void 0,Ro.hasTrailingComma),Ro):e.visitNodes(Ro,ls,En,Ui,Ut)}}function p_(Ln){if(Xc(Ln)||Ln.containsError)return up(Ln);var xi=Iu(Ln);if(!xi.properties.length&&!xi.indexInfos.length){if(!xi.callSignatures.length&&!xi.constructSignatures.length)return br.approximateLength+=2,e.setEmitFlags(e.factory.createTypeLiteralNode(void 0),1);if(xi.callSignatures.length===1&&!xi.constructSignatures.length){var ri=xi.callSignatures[0],pi=ar(ri,181,br);return pi}if(xi.constructSignatures.length===1&&!xi.callSignatures.length){var ri=xi.constructSignatures[0],pi=ar(ri,182,br);return pi}}var Wi=e.filter(xi.constructSignatures,function(ja){return!!(ja.flags&4)});if(e.some(Wi)){var yt=e.map(Wi,fm),ht=xi.callSignatures.length+(xi.constructSignatures.length-Wi.length)+xi.indexInfos.length+(br.flags&2048?e.countWhere(xi.properties,function(ja){return!(ja.flags&4194304)}):e.length(xi.properties));return ht&&yt.push(Rd(xi)),s(ro(yt),br)}var Bt=br.flags;br.flags|=4194304;var pa=ii(xi);br.flags=Bt;var ua=e.factory.createTypeLiteralNode(pa);return br.approximateLength+=2,e.setEmitFlags(ua,br.flags&1024?0:1),ua}function Xl(Ln){var xi=No(Ln);if(Ln.target===la||Ln.target===na){if(br.flags&2){var ri=s(xi[0],br);return e.factory.createTypeReferenceNode(Ln.target===la?"Array":"ReadonlyArray",[ri])}var pi=s(xi[0],br),Wi=e.factory.createArrayTypeNode(pi);return Ln.target===la?Wi:e.factory.createTypeOperatorNode(146,Wi)}else if(Ln.target.objectFlags&8){if(xi=e.sameMap(xi,function(lt,Ct){return Jg(lt,!!(Ln.target.elementFlags[Ct]&2))}),xi.length>0){var yt=md(Ln),ht=ke(xi.slice(0,yt),br);if(ht){if(Ln.target.labeledElementDeclarations)for(var Bt=0;Bt0){var Ui=(Ln.target.typeParameters||e.emptyArray).length;En=ke(xi.slice(Bt,Ui),br)}var pa=br.flags;br.flags|=16;var Ut=St(Ln.symbol,br,788968,En);return br.flags=pa,yo?dn(yo,Ut):Ut}}function dn(Ln,xi){if(e.isImportTypeNode(Ln)){var ri=Ln.typeArguments,pi=Ln.qualifier;pi&&(e.isIdentifier(pi)?pi=e.factory.updateIdentifier(pi,ri):pi=e.factory.updateQualifiedName(pi,pi.left,e.factory.updateIdentifier(pi.right,ri))),ri=xi.typeArguments;for(var Wi=kn(xi),yt=0,ht=Wi;yt2)return[s(an[0],br),e.factory.createTypeReferenceNode("... ".concat(an.length-2," more ..."),void 0),s(an[an.length-1],br)]}else return[e.factory.createTypeReferenceNode("...",void 0)];for(var li=!(br.flags&64),et=li?e.createUnderscoreEscapedMultiMap():void 0,ki=[],Mi=0,vt=0,Xr=an;vt0)):et=[an],et;function Mi(vt,Xr,Jn){var Yn=pu(vt,br.enclosingDeclaration,Xr,!!(br.flags&128)),Di;if(!Yn||k_(Yn[0],br.enclosingDeclaration,Yn.length===1?Xr:lu(Xr))){var bi=Qf(Yn?Yn[0]:vt,br.enclosingDeclaration,Xr);if(e.length(bi)){Di=bi.map(function(Mo){return e.some(Mo.declarations,gu)?rt(Mo,br):void 0});var Qi=bi.map(function(Mo,Zs){return Zs});Qi.sort(to);for(var xt=Qi.map(function(Mo){return bi[Mo]}),Vt=0,Ha=xt;Vt1?du(Xr,Xr.length-1,1):void 0,Di=li||Ri(Xr,0,br),bi=e.getSourceFileOfNode(e.getOriginalNode(br.enclosingDeclaration)),Qi=e.getSourceFileOfModule(Xr[0]),xt=void 0,Vt=void 0;if((e.getEmitModuleResolutionKind(Y)===e.ModuleResolutionKind.Node16||e.getEmitModuleResolutionKind(Y)===e.ModuleResolutionKind.NodeNext)&&(Qi==null?void 0:Qi.impliedNodeFormat)===e.ModuleKind.ESNext&&Qi.impliedNodeFormat!==(bi==null?void 0:bi.impliedNodeFormat)&&(xt=rt(Xr[0],br,e.ModuleKind.ESNext),Vt=e.factory.createImportTypeAssertionContainer(e.factory.createAssertClause(e.factory.createNodeArray([e.factory.createAssertEntry(e.factory.createStringLiteral("resolution-mode"),e.factory.createStringLiteral("import"))]))),(ki=(et=br.tracker).reportImportTypeNodeResolutionModeOverride)===null||ki===void 0||ki.call(et)),xt||(xt=rt(Xr[0],br)),!(br.flags&67108864)&&e.getEmitModuleResolutionKind(Y)!==e.ModuleResolutionKind.Classic&&xt.indexOf("/node_modules/")>=0){var Ha=xt;if(e.getEmitModuleResolutionKind(Y)===e.ModuleResolutionKind.Node16||e.getEmitModuleResolutionKind(Y)===e.ModuleResolutionKind.NodeNext){var qt=(bi==null?void 0:bi.impliedNodeFormat)===e.ModuleKind.ESNext?e.ModuleKind.CommonJS:e.ModuleKind.ESNext;xt=rt(Xr[0],br,qt),xt.indexOf("/node_modules/")>=0?xt=Ha:(Vt=e.factory.createImportTypeAssertionContainer(e.factory.createAssertClause(e.factory.createNodeArray([e.factory.createAssertEntry(e.factory.createStringLiteral("resolution-mode"),e.factory.createStringLiteral(qt===e.ModuleKind.ESNext?"import":"require"))]))),(vt=(Mi=br.tracker).reportImportTypeNodeResolutionModeOverride)===null||vt===void 0||vt.call(Mi))}Vt||(br.encounteredError=!0,br.tracker.reportLikelyUnsafeImportRequiredError&&br.tracker.reportLikelyUnsafeImportRequiredError(Ha))}var lo=e.factory.createLiteralTypeNode(e.factory.createStringLiteral(xt));if(br.tracker.trackExternalModuleSymbolOfImportTypeNode&&br.tracker.trackExternalModuleSymbolOfImportTypeNode(Xr[0]),br.approximateLength+=xt.length+10,!Yn||e.isEntityName(Yn)){if(Yn){var to=e.isIdentifier(Yn)?Yn:Yn.right;to.typeArguments=void 0}return e.factory.createImportTypeNode(lo,Vt,Yn,Di,Jn)}else{var Mo=pt(Yn),Zs=Mo.objectType.typeName;return e.factory.createIndexedAccessTypeNode(e.factory.createImportTypeNode(lo,Vt,Zs,Di,Jn),Mo.indexType)}}var Ys=du(Xr,Xr.length-1,0);if(e.isIndexedAccessTypeNode(Ys))return Ys;if(Jn)return e.factory.createTypeQueryNode(Ys);var to=e.isIdentifier(Ys)?Ys:Ys.right,us=to.typeArguments;return to.typeArguments=void 0,e.factory.createTypeReferenceNode(Ys,us);function du(qo,yf,up){var lp=yf===qo.length-1?li:Ri(qo,yf,br),Ql=qo[yf],p_=qo[yf-1],Xl;if(yf===0)br.flags|=16777216,Xl=Ze(Ql,br),br.approximateLength+=(Xl?Xl.length:0)+1,br.flags^=16777216;else if(p_&&Ac(p_)){var dn=Ac(p_);e.forEachEntry(dn,function(xi,ri){if(ku(xi,Ql)&&!zd(ri)&&ri!=="export=")return Xl=e.unescapeLeadingUnderscores(ri),!0})}if(Xl===void 0){var kn=e.firstDefined(Ql.declarations,e.getNameOfDeclaration);if(kn&&e.isComputedPropertyName(kn)&&e.isEntityName(kn.expression)){var ii=du(qo,yf-1,up);return e.isEntityName(ii)?e.factory.createIndexedAccessTypeNode(e.factory.createParenthesizedType(e.factory.createTypeQueryNode(ii)),e.factory.createTypeQueryNode(kn.expression)):ii}Xl=Ze(Ql,br)}if(br.approximateLength+=Xl.length+1,!(br.flags&16)&&p_&&pf(p_)&&pf(p_).get(Ql.escapedName)&&ku(pf(p_).get(Ql.escapedName),Ql)){var ii=du(qo,yf-1,up);return e.isIndexedAccessTypeNode(ii)?e.factory.createIndexedAccessTypeNode(ii,e.factory.createLiteralTypeNode(e.factory.createStringLiteral(Xl))):e.factory.createIndexedAccessTypeNode(e.factory.createTypeReferenceNode(ii,lp),e.factory.createLiteralTypeNode(e.factory.createStringLiteral(Xl)))}var Ln=e.setEmitFlags(e.factory.createIdentifier(Xl,lp),16777216);if(Ln.symbol=Ql,yf>up){var ii=du(qo,yf-1,up);return e.isEntityName(ii)?e.factory.createQualifiedName(ii,Ln):e.Debug.fail("Impossible construct - an export of an indexed access cannot be reachable")}return Ln}}function ba(an,br,Fi){var li=is(br.enclosingDeclaration,an,788968,void 0,an,!1);return li?!(li.flags&262144&&li===Fi.symbol):!1}function Ta(an,br){var Fi,li;if(br.flags&4&&br.typeParameterNames){var et=br.typeParameterNames.get(tc(an));if(et)return et}var ki=wa(an.symbol,br,788968,!0);if(!(ki.kind&79))return e.factory.createIdentifier("(Missing type parameter)");if(br.flags&4){for(var Mi=ki.escapedText,vt=((Fi=br.typeParameterNamesByTextNextNameCount)===null||Fi===void 0?void 0:Fi.get(Mi))||0,Xr=Mi;((li=br.typeParameterNamesByText)===null||li===void 0?void 0:li.has(Xr))||ba(Xr,br,an);)vt++,Xr="".concat(Mi,"_").concat(vt);Xr!==Mi&&(ki=e.factory.createIdentifier(Xr,ki.typeArguments)),(br.typeParameterNamesByTextNextNameCount||(br.typeParameterNamesByTextNextNameCount=new e.Map)).set(Mi,vt),(br.typeParameterNames||(br.typeParameterNames=new e.Map)).set(tc(an),ki),(br.typeParameterNamesByText||(br.typeParameterNamesByText=new e.Set)).add(Mi)}return ki}function wa(an,br,Fi,li){var et=Kn(an,br,Fi);return li&&et.length!==1&&!br.encounteredError&&!(br.flags&65536)&&(br.encounteredError=!0),ki(et,et.length-1);function ki(Mi,vt){var Xr=Ri(Mi,vt,br),Jn=Mi[vt];vt===0&&(br.flags|=16777216);var Yn=Ze(Jn,br);vt===0&&(br.flags^=16777216);var Di=e.setEmitFlags(e.factory.createIdentifier(Yn,Xr),16777216);return Di.symbol=Jn,vt>0?e.factory.createQualifiedName(ki(Mi,vt-1),Di):Di}}function So(an,br,Fi){var li=Kn(an,br,Fi);return et(li,li.length-1);function et(ki,Mi){var vt=Ri(ki,Mi,br),Xr=ki[Mi];Mi===0&&(br.flags|=16777216);var Jn=Ze(Xr,br);Mi===0&&(br.flags^=16777216);var Yn=Jn.charCodeAt(0);if(e.isSingleOrDoubleQuote(Yn)&&e.some(Xr.declarations,gu))return e.factory.createStringLiteral(rt(Xr,br));var Di=Yn===35?Jn.length>1&&e.isIdentifierStart(Jn.charCodeAt(1),d):e.isIdentifierStart(Yn,d);if(Mi===0||Di){var bi=e.setEmitFlags(e.factory.createIdentifier(Jn,vt),16777216);return bi.symbol=Xr,Mi>0?e.factory.createPropertyAccessExpression(et(ki,Mi-1),bi):bi}else{Yn===91&&(Jn=Jn.substring(1,Jn.length-1),Yn=Jn.charCodeAt(0));var Qi=void 0;return e.isSingleOrDoubleQuote(Yn)&&!(Xr.flags&8)?Qi=e.factory.createStringLiteral(e.stripQuotes(Jn).replace(/\\./g,function(xt){return xt.substring(1)}),Yn===39):""+ +Jn===Jn&&(Qi=e.factory.createNumericLiteral(+Jn)),Qi||(Qi=e.setEmitFlags(e.factory.createIdentifier(Jn,vt),16777216),Qi.symbol=Xr),e.factory.createElementAccessExpression(et(ki,Mi-1),Qi)}}}function xo(an){var br=e.getNameOfDeclaration(an);return!!br&&e.isStringLiteral(br)}function uo(an){var br=e.getNameOfDeclaration(an);return!!(br&&e.isStringLiteral(br)&&(br.singleQuote||!e.nodeIsSynthesized(br)&&e.startsWith(e.getTextOfNode(br,!1),"'")))}function sa(an,br){var Fi=!!e.length(an.declarations)&&e.every(an.declarations,uo),li=si(an,br,Fi);if(li)return li;var et=e.unescapeLeadingUnderscores(an.escapedName),ki=!!e.length(an.declarations)&&e.every(an.declarations,xo);return e.createPropertyNameNodeForIdentifierOrLiteral(et,e.getEmitScriptTarget(Y),Fi,ki)}function si(an,br,Fi){var li=Qt(an).nameType;if(li){if(li.flags&384){var et=""+li.value;return!e.isIdentifierText(et,e.getEmitScriptTarget(Y))&&!e.isNumericLiteralName(et)?e.factory.createStringLiteral(et,!!Fi):e.isNumericLiteralName(et)&&e.startsWith(et,"-")?e.factory.createComputedPropertyName(e.factory.createNumericLiteral(+et)):e.createPropertyNameNodeForIdentifierOrLiteral(et,e.getEmitScriptTarget(Y))}if(li.flags&8192)return e.factory.createComputedPropertyName(So(li.symbol,br,111551))}}function Rn(an){var br=vi({},an);return br.typeParameterNames&&(br.typeParameterNames=new e.Map(br.typeParameterNames)),br.typeParameterNamesByText&&(br.typeParameterNamesByText=new e.Set(br.typeParameterNamesByText)),br.typeParameterSymbolList&&(br.typeParameterSymbolList=new e.Set(br.typeParameterSymbolList)),br.tracker=i(br,br.tracker),br}function ut(an,br){return an.declarations&&e.find(an.declarations,function(Fi){return!!e.getEffectiveTypeAnnotationNode(Fi)&&(!br||!!e.findAncestor(Fi,function(li){return li===br}))})}function Pt(an,br){return!(e.getObjectFlags(br)&4)||!e.isTypeReferenceNode(an)||e.length(an.typeArguments)>=ul(br.target.typeParameters)}function ea(an,br,Fi,li,et,ki){if(!ca(br)&&li){var Mi=ut(Fi,li);if(Mi&&!e.isFunctionLikeDeclaration(Mi)&&!e.isGetAccessorDeclaration(Mi)){var vt=e.getEffectiveTypeAnnotationNode(Mi);if(Yi(vt,Mi,br)&&Pt(vt,br)){var Xr=Ma(an,vt,et,ki);if(Xr)return Xr}}}var Jn=an.flags;br.flags&8192&&br.symbol===Fi&&(!an.enclosingDeclaration||e.some(Fi.declarations,function(Di){return e.getSourceFileOfNode(Di)===e.getSourceFileOfNode(an.enclosingDeclaration)}))&&(an.flags|=1048576);var Yn=s(br,an);return an.flags=Jn,Yn}function Yi(an,br,Fi){var li=zt(an);return li===Fi?!0:e.isParameter(br)&&br.questionToken?bu(Fi,524288)===li:!1}function ka(an,br,Fi,li,et){if(!ca(br)&&an.enclosingDeclaration){var ki=Fi.declaration&&e.getEffectiveReturnTypeNode(Fi.declaration);if(!!e.findAncestor(ki,function(Jn){return Jn===an.enclosingDeclaration})&&ki){var Mi=zt(ki),vt=Mi.flags&262144&&Mi.isThisType?ra(Mi,Fi.mapper):Mi;if(vt===br&&Pt(ki,br)){var Xr=Ma(an,ki,li,et);if(Xr)return Xr}}}return s(br,an)}function aa(an,br,Fi){var li,et,ki=!1,Mi=e.getFirstIdentifier(an);if(e.isInJSFile(an)&&(e.isExportsIdentifier(Mi)||e.isModuleExportsAccessExpression(Mi.parent)||e.isQualifiedName(Mi.parent)&&e.isModuleIdentifier(Mi.parent.left)&&e.isExportsIdentifier(Mi.parent.right)))return ki=!0,{introducesError:ki,node:an};var vt=ts(Mi,67108863,!0,!0);if(vt&&(Fl(vt,br.enclosingDeclaration,67108863,!1).accessibility!==0?ki=!0:((et=(li=br.tracker)===null||li===void 0?void 0:li.trackSymbol)===null||et===void 0||et.call(li,vt,br.enclosingDeclaration,67108863),Fi==null||Fi(vt)),e.isIdentifier(an))){var Xr=nt(vt),Jn=vt.flags&262144&&!Pf(Xr.symbol,br.enclosingDeclaration)?Ta(Xr,br):e.factory.cloneNode(an);return Jn.symbol=vt,{introducesError:ki,node:e.setEmitFlags(e.setOriginalNode(Jn,an),16777216)}}return{introducesError:ki,node:an}}function Ma(an,br,Fi,li){B&&B.throwIfCancellationRequested&&B.throwIfCancellationRequested();var et=!1,ki=e.getSourceFileOfNode(br),Mi=e.visitNode(br,vt);if(et)return;return Mi===br?e.setTextRange(e.factory.cloneNode(br),br):Mi;function vt(Xr){if(e.isJSDocAllType(Xr)||Xr.kind===322)return e.factory.createKeywordTypeNode(131);if(e.isJSDocUnknownType(Xr))return e.factory.createKeywordTypeNode(157);if(e.isJSDocNullableType(Xr))return e.factory.createUnionTypeNode([e.visitNode(Xr.type,vt),e.factory.createLiteralTypeNode(e.factory.createNull())]);if(e.isJSDocOptionalType(Xr))return e.factory.createUnionTypeNode([e.visitNode(Xr.type,vt),e.factory.createKeywordTypeNode(155)]);if(e.isJSDocNonNullableType(Xr))return e.visitNode(Xr.type,vt);if(e.isJSDocVariadicType(Xr))return e.factory.createArrayTypeNode(e.visitNode(Xr.type,vt));if(e.isJSDocTypeLiteral(Xr))return e.factory.createTypeLiteralNode(e.map(Xr.jsDocPropertyTags,function(qt){var lo=e.isIdentifier(qt.name)?qt.name:qt.name.right,to=Na(zt(Xr),lo.escapedText),Mo=to&&qt.typeExpression&&zt(qt.typeExpression.type)!==to?s(to,an):void 0;return e.factory.createPropertySignature(void 0,lo,qt.isBracketed||qt.typeExpression&&e.isJSDocOptionalType(qt.typeExpression.type)?e.factory.createToken(57):void 0,Mo||qt.typeExpression&&e.visitNode(qt.typeExpression.type,vt)||e.factory.createKeywordTypeNode(131))}));if(e.isTypeReferenceNode(Xr)&&e.isIdentifier(Xr.typeName)&&Xr.typeName.escapedText==="")return e.setOriginalNode(e.factory.createKeywordTypeNode(131),Xr);if((e.isExpressionWithTypeArguments(Xr)||e.isTypeReferenceNode(Xr))&&e.isJSDocIndexSignature(Xr))return e.factory.createTypeLiteralNode([e.factory.createIndexSignature(void 0,[e.factory.createParameterDeclaration(void 0,void 0,"x",void 0,e.visitNode(Xr.typeArguments[0],vt))],e.visitNode(Xr.typeArguments[1],vt))]);if(e.isJSDocFunctionType(Xr))if(e.isJSDocConstructSignature(Xr)){var Jn;return e.factory.createConstructorTypeNode(void 0,e.visitNodes(Xr.typeParameters,vt),e.mapDefined(Xr.parameters,function(qt,lo){return qt.name&&e.isIdentifier(qt.name)&&qt.name.escapedText==="new"?(Jn=qt.type,void 0):e.factory.createParameterDeclaration(void 0,xt(qt),Vt(qt,lo),qt.questionToken,e.visitNode(qt.type,vt),void 0)}),e.visitNode(Jn||Xr.type,vt)||e.factory.createKeywordTypeNode(131))}else return e.factory.createFunctionTypeNode(e.visitNodes(Xr.typeParameters,vt),e.map(Xr.parameters,function(qt,lo){return e.factory.createParameterDeclaration(void 0,xt(qt),Vt(qt,lo),qt.questionToken,e.visitNode(qt.type,vt),void 0)}),e.visitNode(Xr.type,vt)||e.factory.createKeywordTypeNode(131));if(e.isTypeReferenceNode(Xr)&&e.isInJSDoc(Xr)&&(!Pt(Xr,zt(Xr))||bb(Xr)||jr===dm(Xr,788968,!0)))return e.setOriginalNode(s(zt(Xr),an),Xr);if(e.isLiteralImportTypeNode(Xr)){var Yn=At(Xr).resolvedSymbol;return e.isInJSDoc(Xr)&&Yn&&(!Xr.isTypeOf&&!(Yn.flags&788968)||!(e.length(Xr.typeArguments)>=ul(df(Yn))))?e.setOriginalNode(s(zt(Xr),an),Xr):e.factory.updateImportTypeNode(Xr,e.factory.updateLiteralTypeNode(Xr.argument,Ha(Xr,Xr.argument.literal)),Xr.assertions,Xr.qualifier,e.visitNodes(Xr.typeArguments,vt,e.isTypeNode),Xr.isTypeOf)}if(e.isEntityName(Xr)||e.isEntityNameExpression(Xr)){var Di=aa(Xr,an,Fi),bi=Di.introducesError,Qi=Di.node;if(et=et||bi,Qi!==Xr)return Qi}return ki&&e.isTupleTypeNode(Xr)&&e.getLineAndCharacterOfPosition(ki,Xr.pos).line===e.getLineAndCharacterOfPosition(ki,Xr.end).line&&e.setEmitFlags(Xr,1),e.visitEachChild(Xr,vt,e.nullTransformationContext);function xt(qt){return qt.dotDotDotToken||(qt.type&&e.isJSDocVariadicType(qt.type)?e.factory.createToken(25):void 0)}function Vt(qt,lo){return qt.name&&e.isIdentifier(qt.name)&&qt.name.escapedText==="this"?"this":xt(qt)?"args":"arg".concat(lo)}function Ha(qt,lo){if(li){if(an.tracker&&an.tracker.moduleResolverHost){var to=$D(qt);if(to){var Mo=e.createGetCanonicalFileName(!!b.useCaseSensitiveFileNames),Zs={getCanonicalFileName:Mo,getCurrentDirectory:function(){return an.tracker.moduleResolverHost.getCurrentDirectory()},getCommonSourceDirectory:function(){return an.tracker.moduleResolverHost.getCommonSourceDirectory()}},Ys=e.getResolvedExternalModuleName(Zs,to);return e.factory.createStringLiteral(Ys)}}}else if(an.tracker&&an.tracker.trackExternalModuleSymbolOfImportTypeNode){var us=ml(lo,lo,void 0);us&&an.tracker.trackExternalModuleSymbolOfImportTypeNode(us)}return lo}}}function La(an,br,Fi){var li=pa(e.factory.createPropertyDeclaration,171,!0),et=pa(function(En,Ui,Ut,lt){return e.factory.createPropertySignature(En,Ui,Ut,lt)},170,!1),ki=br.enclosingDeclaration,Mi=[],vt=new e.Set,Xr=[],Jn=br;br=vi(vi({},Jn),{usedSymbolNames:new e.Set(Jn.usedSymbolNames),remappedSymbolNames:new e.Map,tracker:vi(vi({},Jn.tracker),{trackSymbol:function(En,Ui,Ut){var lt=Fl(En,Ui,Ut,!1);if(lt.accessibility===0){var Ct=ei(En,br,Ut);En.flags&4||us(Ct[0])}else if(Jn.tracker&&Jn.tracker.trackSymbol)return Jn.tracker.trackSymbol(En,Ui,Ut);return!1}})}),br.tracker=i(br,br.tracker),e.forEachEntry(an,function(En,Ui){var Ut=e.unescapeLeadingUnderscores(Ui);ls(En,Ut)});var Yn=!Fi,Di=an.get("export=");return Di&&an.size>1&&Di.flags&2097152&&(an=e.createSymbolTable(),an.set("export=",Di)),Mo(an),qt(Mi);function bi(En){return!!En&&En.kind===79}function Qi(En){return e.isVariableStatement(En)?e.filter(e.map(En.declarationList.declarations,e.getNameOfDeclaration),bi):e.filter([e.getNameOfDeclaration(En)],bi)}function xt(En){var Ui=e.find(En,e.isExportAssignment),Ut=e.findIndex(En,e.isModuleDeclaration),lt=Ut!==-1?En[Ut]:void 0;if(lt&&Ui&&Ui.isExportEquals&&e.isIdentifier(Ui.expression)&&e.isIdentifier(lt.name)&&e.idText(lt.name)===e.idText(Ui.expression)&<.body&&e.isModuleBlock(lt.body)){var Ct=e.filter(En,function(ia){return!!(e.getEffectiveModifierFlags(ia)&1)}),Ra=lt.name,oa=lt.body;if(e.length(Ct)&&(lt=e.factory.updateModuleDeclaration(lt,lt.modifiers,lt.name,oa=e.factory.updateModuleBlock(oa,e.factory.createNodeArray(zn(zn([],lt.body.statements,!0),[e.factory.createExportDeclaration(void 0,!1,e.factory.createNamedExports(e.map(e.flatMap(Ct,function(ia){return Qi(ia)}),function(ia){return e.factory.createExportSpecifier(!1,void 0,ia)})),void 0)],!1)))),En=zn(zn(zn([],En.slice(0,Ut),!0),[lt],!1),En.slice(Ut+1),!0)),!e.find(En,function(ia){return ia!==lt&&e.nodeHasName(ia,Ra)})){Mi=[];var Sa=!e.some(oa.statements,function(ia){return e.hasSyntacticModifier(ia,1)||e.isExportAssignment(ia)||e.isExportDeclaration(ia)});e.forEach(oa.statements,function(ia){qo(ia,Sa?1:0)}),En=zn(zn([],e.filter(En,function(ia){return ia!==lt&&ia!==Ui}),!0),Mi,!0)}}return En}function Vt(En){var Ui=e.filter(En,function(da){return e.isExportDeclaration(da)&&!da.moduleSpecifier&&!!da.exportClause&&e.isNamedExports(da.exportClause)});if(e.length(Ui)>1){var Ut=e.filter(En,function(da){return!e.isExportDeclaration(da)||!!da.moduleSpecifier||!da.exportClause});En=zn(zn([],Ut,!0),[e.factory.createExportDeclaration(void 0,!1,e.factory.createNamedExports(e.flatMap(Ui,function(da){return e.cast(da.exportClause,e.isNamedExports).elements})),void 0)],!1)}var lt=e.filter(En,function(da){return e.isExportDeclaration(da)&&!!da.moduleSpecifier&&!!da.exportClause&&e.isNamedExports(da.exportClause)});if(e.length(lt)>1){var Ct=e.group(lt,function(da){return e.isStringLiteral(da.moduleSpecifier)?">"+da.moduleSpecifier.text:">"});if(Ct.length!==lt.length)for(var Ra=function(da){da.length>1&&(En=zn(zn([],e.filter(En,function(Oo){return da.indexOf(Oo)===-1}),!0),[e.factory.createExportDeclaration(void 0,!1,e.factory.createNamedExports(e.flatMap(da,function(Oo){return e.cast(Oo.exportClause,e.isNamedExports).elements})),da[0].moduleSpecifier)],!1))},oa=0,Sa=Ct;oa=0){var Ut=En[Ui],lt=e.mapDefined(Ut.exportClause.elements,function(Ct){if(!Ct.propertyName){var Ra=e.indicesOf(En),oa=e.filter(Ra,function(Oo){return e.nodeHasName(En[Oo],Ct.name)});if(e.length(oa)&&e.every(oa,function(Oo){return e.canHaveExportModifier(En[Oo])})){for(var Sa=0,ia=oa;Sa0&&e.isSingleOrDoubleQuote(lt.charCodeAt(0))?e.stripQuotes(lt):lt}return Ui==="default"?Ui="_default":Ui==="export="&&(Ui="_exports"),Ui=e.isIdentifierText(Ui,d)&&!e.isStringANonContextualKeyword(Ui)?Ui:"_"+Ui.replace(/[^a-zA-Z0-9]/g,"_"),Ui}function ls(En,Ui){var Ut=h(En);return br.remappedSymbolNames.has(Ut)?br.remappedSymbolNames.get(Ut):(Ui=Ro(En,Ui),br.remappedSymbolNames.set(Ut,Ui),Ui)}}}function yc(r,n,i,a){return i===void 0&&(i=16384),a?s(a).getText():e.usingSingleLineStringWriter(s);function s(l){var g=e.factory.createTypePredicateNode(r.kind===2||r.kind===3?e.factory.createToken(129):void 0,r.kind===1||r.kind===3?e.factory.createIdentifier(r.parameterName):e.factory.createThisTypeNode(),r.type&&Cr.typeToTypeNode(r.type,n,Ju(i)|70221824|512)),W=e.createPrinter({removeComments:!0}),ce=n&&e.getSourceFileOfNode(n);return W.writeNode(4,g,ce,l),l}}function A_(r){for(var n=[],i=0,a=0;a=0){for(var a=zc.length,s=i;s=0;i--){if(Mt(zc[i],Hr[i]))return-1;if(zc[i]===r&&Hr[i]===n)return i}return-1}function Mt(r,n){switch(n){case 0:return!!Qt(r).type;case 5:return!!At(r).resolvedEnumType;case 2:return!!Qt(r).declaredType;case 1:return!!r.resolvedBaseConstructorType;case 3:return!!r.resolvedReturnType;case 4:return!!r.immediateBaseConstraint;case 6:return!!r.resolvedTypeArguments;case 7:return!!r.baseTypesResolved;case 8:return!!Qt(r).writeType}return e.Debug.assertNever(n)}function wt(){return zc.pop(),Hr.pop(),Zu.pop()}function Wa(r){return e.findAncestor(e.getRootDeclaration(r),function(n){switch(n.kind){case 257:case 258:case 273:case 272:case 271:case 270:return!1;default:return!0}}).parent}function Lo(r){var n=nt(Nc(r));return n.typeParameters?F_(n,e.map(n.typeParameters,function(i){return Te})):n}function Na(r,n){var i=Zt(r,n);return i?Li(i):void 0}function Pc(r,n){var i;return Na(r,n)||((i=Ip(r,n))===null||i===void 0?void 0:i.type)||_r}function Ba(r){return r&&(r.flags&1)!=0}function ca(r){return r===ue||!!(r.flags&1&&r.aliasSymbol)}function Bc(r,n){if(n!==0)return yl(r,!1,n);var i=zi(r);return i&&Qt(i).type||yl(r,!1,n)}function mu(r,n,i){if(r=Qs(r,function(sn){return!(sn.flags&98304)}),r.flags&131072)return Zi;if(r.flags&1048576)return Qo(r,function(sn){return mu(sn,n,i)});for(var a=Ot(e.map(n,L_)),s=[],l=[],g=0,W=vo(r);g=2?fk(Te):Es;var g=e.map(a,function(rr){return e.isOmittedExpression(rr)?Te:ci(rr,n,i)}),W=e.findLastIndex(a,function(rr){return!(rr===l||e.isOmittedExpression(rr)||Dm(rr))},a.length-1)+1,ce=e.map(a,function(rr,$e){return rr===l?4:$e>=W?2:1}),ke=zl(g,ce);return n&&(ke=gb(ke),ke.pattern=r,ke.objectFlags|=131072),ke}function bt(r,n,i){return n===void 0&&(n=!1),i===void 0&&(i=!1),r.kind===203?tt(r,n,i):mt(r,n,i)}function Lt(r,n){return bo(yl(r,!0,0),r,n)}function Oa(r){var n=zi(r),i=XE(!1);return i&&n&&n===i}function bo(r,n,i){return r?(r.flags&4096&&Oa(n.parent)&&(r=B1(n)),i&&Uh(n,r),r.flags&8192&&(e.isBindingElement(n)||!n.type)&&r.symbol!==zi(n)&&(r=Pe),tu(r)):(r=e.isParameter(n)&&n.dotDotDotToken?Es:Te,i&&(mo(n)||rp(n,r)),r)}function mo(r){var n=e.getRootDeclaration(r),i=n.kind===166?n.parent:n;return Oy(i)}function wo(r){var n=e.getEffectiveTypeAnnotationNode(r);if(n)return zt(n)}function Cs(r){var n=Qt(r);if(!n.type){var i=hc(r);n.type||(n.type=i)}return n.type}function hc(r){if(r.flags&4194304)return Lo(r);if(r===or)return Te;if(r.flags&134217728&&r.valueDeclaration){var n=zi(e.getSourceFileOfNode(r.valueDeclaration)),i=go(n.flags,"exports");i.declarations=n.declarations?n.declarations.slice():[],i.parent=r,i.target=n,n.valueDeclaration&&(i.valueDeclaration=n.valueDeclaration),n.members&&(i.members=new e.Map(n.members)),n.exports&&(i.exports=new e.Map(n.exports));var a=e.createSymbolTable();return a.set("exports",i),Yo(r,a,e.emptyArray,e.emptyArray,e.emptyArray)}e.Debug.assertIsDefined(r.valueDeclaration);var s=r.valueDeclaration;if(e.isCatchClauseVariableDeclarationOrBindingElement(s)){var l=e.getEffectiveTypeAnnotationNode(s);if(l===void 0)return qr?_r:Te;var g=lg(l);return Ba(g)||g===_r?g:ue}if(e.isSourceFile(s)&&e.isJsonSourceFile(s))return s.statements.length?tu(ep(ya(s.statements[0].expression))):Zi;if(e.isAccessor(s))return Ic(r);if(!$i(r,0))return r.flags&512&&!(r.flags&67108864)?Js(r):oi(r);var W;if(s.kind===274)W=bo(wo(s)||Ds(s.expression),s);else if(e.isBinaryExpression(s)||e.isInJSFile(s)&&(e.isCallExpression(s)||(e.isPropertyAccessExpression(s)||e.isBindableStaticElementAccessExpression(s))&&e.isBinaryExpression(s.parent)))W=fd(r);else if(e.isPropertyAccessExpression(s)||e.isElementAccessExpression(s)||e.isIdentifier(s)||e.isStringLiteralLike(s)||e.isNumericLiteral(s)||e.isClassDeclaration(s)||e.isFunctionDeclaration(s)||e.isMethodDeclaration(s)&&!e.isObjectLiteralMethod(s)||e.isMethodSignature(s)||e.isSourceFile(s)){if(r.flags&(16|8192|32|384|512))return Js(r);W=e.isBinaryExpression(s.parent)?fd(r):wo(s)||Te}else if(e.isPropertyAssignment(s))W=wo(s)||eT(s);else if(e.isJsxAttribute(s))W=wo(s)||Ux(s);else if(e.isShorthandPropertyAssignment(s))W=wo(s)||Em(s.name,0);else if(e.isObjectLiteralMethod(s))W=wo(s)||rT(s,0);else if(e.isParameter(s)||e.isPropertyDeclaration(s)||e.isPropertySignature(s)||e.isVariableDeclaration(s)||e.isBindingElement(s)||e.isJSDocPropertyLikeTag(s))W=Lt(s,!0);else if(e.isEnumDeclaration(s))W=Js(r);else if(e.isEnumMember(s))W=R(r);else return e.Debug.fail("Unhandled declaration kind! "+e.Debug.formatSyntaxKind(s.kind)+" for "+e.Debug.formatSymbol(r));return wt()?W:r.flags&512&&!(r.flags&67108864)?Js(r):oi(r)}function $o(r){if(r)switch(r.kind){case 174:var n=e.getEffectiveReturnTypeNode(r);return n;case 175:var i=e.getEffectiveSetAccessorTypeAnnotationNode(r);return i;case 169:e.Debug.assert(e.hasAccessorModifier(r));var a=e.getEffectiveTypeAnnotationNode(r);return a}}function vu(r){var n=$o(r);return n&&zt(n)}function Kc(r){var n=ib(r);return n&&n.symbol}function Ks(r){return Hd(Vu(r))}function Ic(r){var n=Qt(r);if(!n.type){if(!$i(r,0))return ue;var i=e.getDeclarationOfKind(r,174),a=e.getDeclarationOfKind(r,175),s=e.tryCast(e.getDeclarationOfKind(r,169),e.isAutoAccessorPropertyDeclaration),l=i&&e.isInJSFile(i)&&cd(i)||vu(i)||vu(a)||vu(s)||i&&i.body&&y0(i)||s&&s.initializer&&Lt(s,!0);l||(a&&!Oy(a)?xu(Ue,a,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,Xt(r)):i&&!Oy(i)?xu(Ue,i,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,Xt(r)):s&&!Oy(s)&&xu(Ue,s,e.Diagnostics.Member_0_implicitly_has_an_1_type,Xt(r),"any"),l=Te),wt()||($o(i)?Zr(i,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Xt(r)):$o(a)||$o(s)?Zr(a,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Xt(r)):i&&Ue&&Zr(i,e.Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,Xt(r)),l=Te),n.type=l}return n.type}function ol(r){var n,i=Qt(r);if(!i.writeType){if(!$i(r,8))return ue;var a=(n=e.getDeclarationOfKind(r,175))!==null&&n!==void 0?n:e.tryCast(e.getDeclarationOfKind(r,169),e.isAutoAccessorPropertyDeclaration),s=vu(a);wt()||($o(a)&&Zr(a,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Xt(r)),s=Te),i.writeType=s||Ic(r)}return i.writeType}function i_(r){var n=cc(_u(r));return n.flags&8650752?n:n.flags&2097152?e.find(n.types,function(i){return!!(i.flags&8650752)}):void 0}function Js(r){var n=Qt(r),i=n;if(!n.type){var a=r.valueDeclaration&&g0(r.valueDeclaration,!1);if(a){var s=gD(r,a);s&&(r=n=s)}i.type=n.type=_(r)}return n.type}function _(r){var n=r.valueDeclaration;if(r.flags&1536&&e.isShorthandAmbientModuleSymbol(r))return Te;if(n&&(n.kind===223||e.isAccessExpression(n)&&n.parent.kind===223))return fd(r);if(r.flags&512&&n&&e.isSourceFile(n)&&n.commonJsModuleIndicator){var i=Us(r);if(i!==r){if(!$i(r,0))return ue;var a=Ya(r.exports.get("export=")),s=fd(a,a===i?void 0:i);return wt()?s:oi(r)}}var l=Gc(16,r);if(r.flags&32){var g=i_(r);return g?ro([l,g]):l}else return Re&&r.flags&16777216?u_(l):l}function R(r){var n=Qt(r);return n.type||(n.type=Pi(r))}function he(r){var n=Qt(r);if(!n.type){var i=wi(r),a=r.declarations&&Tf(Mu(r),!0),s=e.firstDefined(a==null?void 0:a.declarations,function(l){return e.isExportAssignment(l)?wo(l):void 0});n.type=(a==null?void 0:a.declarations)&&O0(a.declarations)&&r.declarations.length?gg(a):O0(r.declarations)?Ye:s||(Kt(i)&111551?Li(i):ue)}return n.type}function nr(r){var n=Qt(r);return n.type||(n.type=ra(Li(n.target),n.mapper))}function $r(r){var n=Qt(r);return n.writeType||(n.writeType=ra(Rs(n.target),n.mapper))}function oi(r){var n=r.valueDeclaration;return e.getEffectiveTypeAnnotationNode(n)?(Zr(r.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Xt(r)),ue):(Ue&&(n.kind!==166||n.initializer)&&Zr(r.valueDeclaration,e.Diagnostics._0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer,Xt(r)),Te)}function ft(r){var n=Qt(r);return n.type||(e.Debug.assertIsDefined(n.deferralParent),e.Debug.assertIsDefined(n.deferralConstituents),n.type=n.deferralParent.flags&1048576?Ot(n.deferralConstituents):ro(n.deferralConstituents)),n.type}function Ja(r){var n=Qt(r);return!n.writeType&&n.deferralWriteConstituents&&(e.Debug.assertIsDefined(n.deferralParent),e.Debug.assertIsDefined(n.deferralConstituents),n.writeType=n.deferralParent.flags&1048576?Ot(n.deferralWriteConstituents):ro(n.deferralWriteConstituents)),n.writeType}function Rs(r){var n=e.getCheckFlags(r);return r.flags&4?n&2?n&65536?Ja(r)||ft(r):r.writeType||r.type:Li(r):r.flags&98304?n&1?$r(r):ol(r):Li(r)}function Li(r){var n=e.getCheckFlags(r);return n&65536?ft(r):n&1?nr(r):n&262144?Z0(r):n&8192?bA(r):r.flags&(3|4)?Cs(r):r.flags&(16|8192|32|384|512)?Js(r):r.flags&8?R(r):r.flags&98304?Ic(r):r.flags&2097152?he(r):ue}function ju(r){return Jg(Li(r),!!(r.flags&16777216))}function yu(r,n){return r!==void 0&&n!==void 0&&(e.getObjectFlags(r)&4)!=0&&r.target===n}function wf(r){return e.getObjectFlags(r)&4?r.target:r}function Of(r,n){return i(r);function i(a){if(e.getObjectFlags(a)&(3|4)){var s=wf(a);return s===n||e.some(nu(s),i)}else if(a.flags&2097152)return e.some(a.types,i);return!1}}function mg(r,n){for(var i=0,a=n;i0)return!0;if(r.flags&8650752){var n=uc(r);return!!n&&vg(n)}return!1}function hg(r){var n=e.getClassLikeDeclarationOfSymbol(r.symbol);return n&&e.getEffectiveBaseTypeNode(n)}function nm(r,n,i){var a=e.length(n),s=e.isInJSFile(i);return e.filter(_a(r,1),function(l){return(s||a>=ul(l.typeParameters))&&a<=e.length(l.typeParameters)})}function Qp(r,n,i){var a=nm(r,n,i),s=e.map(n,zt);return e.sameMap(a,function(l){return e.some(l.typeParameters)?zm(l,s,e.isInJSFile(i)):l})}function cc(r){if(!r.resolvedBaseConstructorType){var n=e.getClassLikeDeclarationOfSymbol(r.symbol),i=n&&e.getEffectiveBaseTypeNode(n),a=hg(r);if(!a)return r.resolvedBaseConstructorType=zr;if(!$i(r,1))return ue;var s=ya(a.expression);if(i&&a!==i&&(e.Debug.assert(!i.typeArguments),ya(i.expression)),s.flags&(524288|2097152)&&Iu(s),!wt())return Zr(r.symbol.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,Xt(r.symbol)),r.resolvedBaseConstructorType=ue;if(!(s.flags&1)&&s!==qn&&!yg(s)){var l=Zr(a.expression,e.Diagnostics.Type_0_is_not_a_constructor_function_type,Oi(s));if(s.flags&262144){var g=_m(s),W=_r;if(g){var ce=_a(g,1);ce[0]&&(W=Ao(ce[0]))}s.symbol.declarations&&e.addRelatedInfo(l,e.createDiagnosticForNode(s.symbol.declarations[0],e.Diagnostics.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,Xt(s.symbol),Oi(W)))}return r.resolvedBaseConstructorType=ue}r.resolvedBaseConstructorType=s}return r.resolvedBaseConstructorType}function kv(r){var n=e.emptyArray;if(r.symbol.declarations)for(var i=0,a=r.symbol.declarations;i=ir&&ce<=Wr){var sn=Wr?sh(ar,gd(W,ar.typeParameters,ir,g)):Cg(ar);sn.typeParameters=r.localTypeParameters,sn.resolvedReturnType=r,sn.flags=s?sn.flags|4:sn.flags&~4,ke.push(sn)}}return ke}function Bm(r,n,i,a,s){for(var l=0,g=r;l0)return;for(var a=1;a1&&(i=i===void 0?a:-1);for(var s=0,l=r[a];s1){var ke=g.thisParameter,rr=e.forEach(W,function(ei){return ei.thisParameter});if(rr){var $e=ro(e.mapDefined(W,function(ei){return ei.thisParameter&&Li(ei.thisParameter)}));ke=og(rr,$e)}ce=Fv(g,W),ce.thisParameter=ke}(n||(n=[])).push(ce)}}}}if(!e.length(n)&&i!==-1){for(var ar=r[i!==void 0?i:0],ir=ar.slice(),Wr=function(ei){if(ei!==ar){var Ti=ei[0];if(e.Debug.assert(!!Ti,"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass"),ir=!!Ti.typeParameters&&e.some(ir,function(Ri){return!!Ri.typeParameters&&!Gy(Ti.typeParameters,Ri.typeParameters)})?void 0:e.map(ir,function(Ri){return Hy(Ri,Ti)}),!ir)return"break"}},sn=0,In=r;sn=s?r:n,g=l===r?n:r,W=l===r?a:s,ce=Kl(r)||Kl(n),ke=ce&&!Kl(l),rr=new Array(W+(ke?1:0)),$e=0;$e=Hl(l)&&$e>=Hl(g),Sn=$e>=a?void 0:Cm(r,$e),Kn=$e>=s?void 0:Cm(n,$e),ei=Sn===Kn?Sn:Sn?Kn?void 0:Sn:Kn,Ti=go(1|(In&&!sn?16777216:0),ei||"arg".concat($e));Ti.type=sn?ic(Wr):Wr,rr[$e]=Ti}if(ke){var Ri=go(1,"args");Ri.type=ic(fl(g,W)),g===n&&(Ri.type=ra(Ri.type,i)),rr[W]=Ri}return rr}function Hy(r,n){var i=r.typeParameters||n.typeParameters,a;r.typeParameters&&n.typeParameters&&(a=jc(n.typeParameters,r.typeParameters));var s=r.declaration,l=H0(r,n,a),g=G0(r.thisParameter,n.thisParameter,a),W=Math.max(r.minArgumentCount,n.minArgumentCount),ce=Bl(s,i,g,l,void 0,void 0,W,(r.flags|n.flags)&39);return ce.compositeKind=1048576,ce.compositeSignatures=e.concatenate(r.compositeKind!==2097152&&r.compositeSignatures||[r],[n]),a&&(ce.mapper=r.compositeKind!==2097152&&r.mapper&&r.compositeSignatures?xd(r.mapper,a):a),ce}function Ky(r){var n=hs(r[0]);if(n){for(var i=[],a=function(W){var ce=W.keyType;e.every(r,function(ke){return!!Wu(ke,ce)})&&i.push(Ul(ce,Ot(e.map(r,function(ke){return cl(ke,ce)})),e.some(r,function(ke){return Wu(ke,ce).isReadonly})))},s=0,l=n;s0}),i=e.map(r,vg);if(n>0&&n===e.countWhere(i,function(s){return s})){var a=i.indexOf(!0);i[a]=!1}return i}function Qy(r,n,i,a){for(var s=[],l=0;l0&&($e=e.map($e,function(ar){var ir=Cg(ar);return ir.resolvedReturnType=Qy(Ao(ar),s,l,ke),ir})),i=Bv(i,$e)}n=Bv(n,_a(rr,0)),a=e.reduceLeft(hs(rr),function(ar,ir){return Xy(ar,ir,!1)},a)},ce=0;ce2?(Rn.checkFlags|=65536,Rn.deferralParent=r,Rn.deferralConstituents=Ta,Rn.deferralWriteConstituents=wa):(Rn.type=ce?Ot(Ta):ro(Ta),wa&&(Rn.writeType=ce?Ot(wa):ro(wa))),Rn}}function Gn(r,n,i){var a,s,l=((a=r.propertyCacheWithoutObjectFunctionPropertyAugment)===null||a===void 0?void 0:a.get(n))||!i?(s=r.propertyCache)===null||s===void 0?void 0:s.get(n):void 0;if(!l&&(l=Kr(r,n,i),l)){var g=i?r.propertyCacheWithoutObjectFunctionPropertyAugment||(r.propertyCacheWithoutObjectFunctionPropertyAugment=e.createSymbolTable()):r.propertyCache||(r.propertyCache=e.createSymbolTable());g.set(n,l)}return l}function Gi(r){for(var n,i=function(W){if(!W.declarations)return{value:void 0};if(!n)return n=new e.Set(W.declarations),"continue";if(n.forEach(function(ce){e.contains(W.declarations,ce)||n.delete(ce)}),n.size===0)return{value:void 0}},a=0,s=r;a=0),i>=Hl(n,1|2)}var a=e.getImmediatelyInvokedFunctionExpression(r.parent);return a?!r.type&&!r.dotDotDotToken&&r.parent.parameters.indexOf(r)>=a.arguments.length:!1}function Hv(r){return e.isPropertyDeclaration(r)&&!e.hasAccessorModifier(r)&&r.questionToken}function Um(r){if(!e.isJSDocPropertyLikeTag(r))return!1;var n=r.isBracketed,i=r.typeExpression;return n||!!i&&i.type.kind===319}function lm(r,n,i,a){return{kind:r,parameterName:n,parameterIndex:i,type:a}}function ul(r){var n=0;if(r)for(var i=0;i=i&&l<=s){for(var g=r?r.slice():[],W=l;WW.arguments.length&&!ir||Yp($e);sn||(s=i.length)}if((r.kind===174||r.kind===175)&&Pp(r)&&(!g||!l)){var In=r.kind===174?175:174,Sn=e.getDeclarationOfKind(zi(r),In);Sn&&(l=Kc(Sn))}var Kn=r.kind===173?_u(Ya(r.parent.symbol)):void 0,ei=Kn?Kn.localTypeParameters:ah(r);(e.hasRestParameter(r)||e.isInJSFile(r)&&oh(r,i))&&(a|=1),(e.isConstructorTypeNode(r)&&e.hasSyntacticModifier(r,256)||e.isConstructorDeclaration(r)&&e.hasSyntacticModifier(r.parent,256))&&(a|=4),n.resolvedSignature=Bl(r,ei,l,i,void 0,void 0,s,a)}return n.resolvedSignature}function oh(r,n){if(e.isJSDocSignature(r)||!c1(r))return!1;var i=e.lastOrUndefined(r.parameters),a=i?e.getJSDocParameterTags(i):e.getJSDocTags(r).filter(e.isJSDocParameterTag),s=e.firstDefined(a,function(g){return g.typeExpression&&e.isJSDocVariadicType(g.typeExpression.type)?g.typeExpression.type:void 0}),l=go(3,"args",32768);return s?l.type=ic(zt(s.type)):(l.checkFlags|=65536,l.deferralParent=we,l.deferralConstituents=[Es],l.deferralWriteConstituents=[Es]),s&&n.pop(),n.push(l),!0}function $p(r){if(!!(e.isInJSFile(r)&&e.isFunctionLikeDeclaration(r))){var n=e.getJSDocTypeTag(r);return(n==null?void 0:n.typeExpression)&&cg(zt(n.typeExpression))}}function s1(r,n){var i=$p(r);if(!!i){var a=r.parameters.indexOf(n);return n.dotDotDotToken?fv(i,a):fl(i,a)}}function ME(r){var n=$p(r);return n&&Ao(n)}function c1(r){var n=At(r);return n.containsArgumentsReference===void 0&&(n.flags&8192?n.containsArgumentsReference=!0:n.containsArgumentsReference=i(r.body)),n.containsArgumentsReference;function i(a){if(!a)return!1;switch(a.kind){case 79:return a.escapedText===ve.escapedName&&zy(a)===ve;case 169:case 171:case 174:case 175:return a.name.kind===164&&i(a.name);case 208:case 209:return i(a.expression);case 299:return i(a.initializer);default:return!e.nodeStartsNewLexicalEnvironment(a)&&!e.isPartOfTypeNode(a)&&!!e.forEachChild(a,i)}}}function Gd(r){if(!r||!r.declarations)return e.emptyArray;for(var n=[],i=0;i0&&a.body){var s=r.declarations[i-1];if(a.parent===s.parent&&a.kind===s.kind&&a.pos===s.end)continue}n.push(!e.isFunctionExpressionOrArrowFunction(a)&&!e.isObjectLiteralMethod(a)&&$p(a)||Vu(a))}}return n}function cb(r){var n=Ms(r,r);if(n){var i=Us(n);if(i)return Li(i)}return Te}function Hd(r){if(r.thisParameter)return Li(r.thisParameter)}function qu(r){if(!r.resolvedTypePredicate){if(r.target){var n=qu(r.target);r.resolvedTypePredicate=n?l6(n,r.mapper):Ho}else if(r.compositeSignatures)r.resolvedTypePredicate=Sk(r.compositeSignatures,r.compositeKind)||Ho;else{var i=r.declaration&&e.getEffectiveReturnTypeNode(r.declaration),a=void 0;if(!i){var s=$p(r.declaration);s&&r!==s&&(a=qu(s))}r.resolvedTypePredicate=i&&e.isTypePredicateNode(i)?LE(i,r):a||Ho}e.Debug.assert(!!r.resolvedTypePredicate)}return r.resolvedTypePredicate===Ho?void 0:r.resolvedTypePredicate}function LE(r,n){var i=r.parameterName,a=r.type&&zt(r.type);return i.kind===194?lm(r.assertsModifier?2:0,void 0,void 0,a):lm(r.assertsModifier?3:1,i.escapedText,e.findIndex(n.parameters,function(s){return s.escapedName===i.escapedText}),a)}function ub(r,n,i){return n!==2097152?Ot(r,i):ro(r)}function Ao(r){if(!r.resolvedReturnType){if(!$i(r,3))return ue;var n=r.target?ra(Ao(r.target),r.mapper):r.compositeSignatures?ra(ub(e.map(r.compositeSignatures,Ao),r.compositeKind,2),r.mapper):Pg(r.declaration)||(e.nodeIsMissing(r.declaration.body)?Te:y0(r.declaration));if(r.flags&8?n=jS(n):r.flags&16&&(n=u_(n)),!wt()){if(r.declaration){var i=e.getEffectiveReturnTypeNode(r.declaration);if(i)Zr(i,e.Diagnostics.Return_type_annotation_circularly_references_itself);else if(Ue){var a=r.declaration,s=e.getNameOfDeclaration(a);s?Zr(s,e.Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,e.declarationNameToString(s)):Zr(a,e.Diagnostics.Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions)}}n=Te}r.resolvedReturnType=n}return r.resolvedReturnType}function Pg(r){if(r.kind===173)return _u(Ya(r.parent.symbol));if(e.isJSDocConstructSignature(r))return zt(r.parameters[0].type);var n=e.getEffectiveReturnTypeNode(r);if(n)return zt(n);if(r.kind===174&&Pp(r)){var i=e.isInJSFile(r)&&cd(r);if(i)return i;var a=e.getDeclarationOfKind(zi(r),175),s=vu(a);if(s)return s}return ME(r)}function u1(r){return!r.resolvedReturnType&&kt(r,3)>=0}function RE(r){return lb(r)||Te}function lb(r){if(G(r)){var n=Li(r.parameters[r.parameters.length-1]),i=Xa(n)?ev(n):n;return i&&cl(i,Hn)}}function zm(r,n,i,a){var s=l1(r,gd(n,r.typeParameters,ul(r.typeParameters),i));if(a){var l=pC(Ao(s));if(l){var g=Cg(l);g.typeParameters=a;var W=Cg(s);return W.resolvedReturnType=fm(g),W}}return s}function l1(r,n){var i=r.instantiations||(r.instantiations=new e.Map),a=wu(n),s=i.get(a);return s||i.set(a,s=sh(r,n)),s}function sh(r,n){return Lg(r,BE(r,n),!0)}function BE(r,n){return jc(r.typeParameters,n)}function Wm(r){return r.typeParameters?r.erasedSignatureCache||(r.erasedSignatureCache=JE(r)):r}function JE(r){return Lg(r,pS(r.typeParameters),!0)}function jE(r){return r.typeParameters?r.canonicalSignatureCache||(r.canonicalSignatureCache=UE(r)):r}function UE(r){return zm(r,e.map(r.typeParameters,function(n){return n.target&&!rc(n.target)?n.target:n}),e.isInJSFile(r.declaration))}function zE(r){var n=r.typeParameters;if(n){if(r.baseSignatureCache)return r.baseSignatureCache;for(var i=pS(n),a=jc(n,e.map(n,function(g){return rc(g)||_r})),s=e.map(n,function(g){return ra(g,a)||_r}),l=0;l1&&(n+=":"+l),a+=l}return n}function Ig(r,n){return r?"@".concat(h(r))+(n?":".concat(wu(n)):""):""}function uh(r,n){for(var i=0,a=0,s=r;aa.length)){var ce=g&&e.isExpressionWithTypeArguments(r)&&!e.isJSDocAugmentsTag(r.parent),ke=l===a.length?ce?e.Diagnostics.Expected_0_type_arguments_provide_these_with_an_extends_tag:e.Diagnostics.Generic_type_0_requires_1_type_argument_s:ce?e.Diagnostics.Expected_0_1_type_arguments_provide_these_with_an_extends_tag:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,rr=Oi(i,void 0,2);if(Zr(r,ke,rr,l,a.length),!g)return ue}if(r.kind===180&&Mb(r,e.length(r.typeArguments)!==a.length))return p1(i,r,void 0);var $e=e.concatenate(i.outerTypeParameters,gd(dh(r),a,l,g));return F_(i,$e)}return Kd(r,n)?i:ue}function wg(r,n,i,a){var s=nt(r);if(s===hr&&X.has(r.escapedName)&&n&&n.length===1)return eg(r,n[0]);var l=Qt(r),g=l.typeParameters,W=wu(n)+Ig(i,a),ce=l.instantiations.get(W);return ce||l.instantiations.set(W,ce=vS(s,jc(g,gd(n,g,ul(g),e.isInJSFile(r.valueDeclaration))),i,a)),ce}function WE(r,n){if(e.getCheckFlags(n)&1048576){var i=dh(r),a=Ig(n,i),s=Sr.get(a);return s||(s=ko(1,"error"),s.aliasSymbol=n,s.aliasTypeArguments=i,Sr.set(a,s)),s}var l=nt(n),g=Qt(n).typeParameters;if(g){var W=e.length(r.typeArguments),ce=ul(g);if(Wg.length)return Zr(r,ce===g.length?e.Diagnostics.Generic_type_0_requires_1_type_argument_s:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,Xt(n),ce,g.length),ue;var ke=ng(r),rr=ke&&(vb(n)||!vb(ke))?ke:void 0;return wg(n,dh(r),rr,Fg(rr))}return Kd(r,n)?l:ue}function vb(r){var n,i=(n=r.declarations)===null||n===void 0?void 0:n.find(e.isTypeAlias);return!!(i&&e.getContainingFunction(i))}function VE(r){switch(r.kind){case 180:return r.typeName;case 230:var n=r.expression;if(e.isEntityNameExpression(n))return n}}function yb(r){return r.parent?"".concat(yb(r.parent),".").concat(r.escapedName):r.escapedName}function lh(r){var n=r.kind===163?r.right:r.kind===208?r.name:r,i=n.escapedText;if(i){var a=r.kind===163?lh(r.left):r.kind===208?lh(r.expression):void 0,s=a?"".concat(yb(a),".").concat(i):i,l=je.get(s);return l||(je.set(s,l=go(524288,i,1048576)),l.parent=a,l.declaredType=Ke),l}return jr}function dm(r,n,i){var a=VE(r);if(!a)return jr;var s=ts(a,n,i);return s&&s!==jr?s:i?jr:lh(a)}function fh(r,n){if(n===jr)return ue;if(n=rl(n)||n,n.flags&(32|64))return mb(r,n);if(n.flags&524288)return WE(r,n);var i=ma(n);if(i)return Kd(r,n)?Jc(i):ue;if(n.flags&111551&&_h(r)){var a=qE(r,n);return a||(dm(r,788968),Li(n))}return ue}function qE(r,n){var i=At(r);if(!i.resolvedJSDocType){var a=Li(n),s=a;if(n.valueDeclaration){var l=r.kind===202&&r.qualifier;a.symbol&&a.symbol!==n&&l&&(s=fh(r,a.symbol))}i.resolvedJSDocType=s}return i.resolvedJSDocType}function g1(r,n){if(n.flags&3||n===r||!rg(r)&&!rg(n))return r;var i="".concat(tc(r),">").concat(tc(n)),a=xn.get(i);if(a)return a;var s=qc(33554432);return s.baseType=r,s.constraint=n,xn.set(i,s),s}function m1(r){return ro([r.constraint,r.baseType])}function hb(r){return r.kind===186&&r.elements.length===1}function Db(r,n,i){return hb(n)&&hb(i)?Db(r,n.elements[0],i.elements[0]):hd(zt(n))===hd(r)?zt(i):void 0}function GE(r,n){for(var i,a=!0;n&&!e.isStatement(n)&&n.kind!==323;){var s=n.parent;if(s.kind===166&&(a=!a),(a||r.flags&8650752)&&s.kind===191&&n===s.trueType){var l=Db(r,s.checkType,s.extendsType);l&&(i=e.append(i,l))}else if(r.flags&262144&&s.kind===197&&n===s.type){var g=zt(s);if(Pu(g)===hd(r)){var W=Eh(g);if(W){var l=rc(W);l&&mf(l,Fp)&&(i=e.append(i,Ot([Hn,cn])))}}}n=s}return i?g1(r,ro(i)):r}function _h(r){return!!(r.flags&8388608)&&(r.kind===180||r.kind===202)}function Kd(r,n){return r.typeArguments?(Zr(r,e.Diagnostics.Type_0_is_not_generic,n?Xt(n):r.typeName?e.declarationNameToString(r.typeName):ne),!1):!0}function bb(r){if(e.isIdentifier(r.typeName)){var n=r.typeArguments;switch(r.typeName.escapedText){case"String":return Kd(r),yn;case"Number":return Kd(r),Hn;case"Boolean":return Kd(r),Pn;case"Void":return Kd(r),Ir;case"Undefined":return Kd(r),zr;case"Null":return Kd(r),bn;case"Function":case"function":return Kd(r),fi;case"array":return(!n||!n.length)&&!Ue?Es:void 0;case"promise":return(!n||!n.length)&&!Ue?Ey(Te):void 0;case"Object":if(n&&n.length===2){if(e.isJSDocIndexSignature(r)){var i=zt(n[0]),a=zt(n[1]),s=i===yn||i===Hn?[Ul(i,a,!1)]:e.emptyArray;return Yo(void 0,Oe,e.emptyArray,e.emptyArray,s)}return Te}return Kd(r),Ue?void 0:Te}}}function HE(r){var n=zt(r.type);return Re?Lh(n,65536):n}function Kv(r){var n=At(r);if(!n.resolvedType){if(e.isConstTypeReference(r)&&e.isAssertionExpression(r.parent))return n.resolvedSymbol=jr,n.resolvedType=Ds(r.parent.expression);var i=void 0,a=void 0,s=788968;_h(r)&&(a=bb(r),a||(i=dm(r,s,!0),i===jr?i=dm(r,s|111551):dm(r,s),a=fh(r,i))),a||(i=dm(r,s),a=fh(r,i)),n.resolvedSymbol=i,n.resolvedType=a}return n.resolvedType}function dh(r){return e.map(r.typeArguments,zt)}function Sb(r){var n=At(r);if(!n.resolvedType){var i=MC(r);n.resolvedType=Jc(tu(i))}return n.resolvedType}function xb(r,n){function i(s){var l=s.declarations;if(l)for(var g=0,W=l;g=0)return Xv(e.map(n,function(Sn,Kn){return r.elementFlags[Kn]&8?Sn:_r}))?Qo(n[l],function(Sn){return Rb(r,e.replaceElement(n,l,Sn))}):ue}for(var g=[],W=[],ce=[],ke=-1,rr=-1,$e=-1,ar=function(Sn){var Kn=n[Sn],ei=r.elementFlags[Sn];if(ei&8)if(Kn.flags&58982400||Xc(Kn))In(Kn,8,(i=r.labeledElementDeclarations)===null||i===void 0?void 0:i[Sn]);else if(Xa(Kn)){var Ti=No(Kn);if(Ti.length+g.length>=1e4)return Zr(Xe,e.isPartOfTypeNode(Xe)?e.Diagnostics.Type_produces_a_tuple_type_that_is_too_large_to_represent:e.Diagnostics.Expression_produces_a_tuple_type_that_is_too_large_to_represent),{value:ue};e.forEach(Ti,function(Ri,pt){var rt;return In(Ri,Kn.target.elementFlags[pt],(rt=Kn.target.labeledElementDeclarations)===null||rt===void 0?void 0:rt[pt])})}else In(Td(Kn)&&cl(Kn,Hn)||ue,4,(a=r.labeledElementDeclarations)===null||a===void 0?void 0:a[Sn]);else In(Kn,ei,(s=r.labeledElementDeclarations)===null||s===void 0?void 0:s[Sn])},ir=0;ir=0&&rr<$e&&(g[rr]=Ot(e.sameMap(g.slice(rr,$e+1),function(Sn,Kn){return W[rr+Kn]&8?Zc(Sn,Hn):Sn})),g.splice(rr+1,$e-rr),W.splice(rr+1,$e-rr),ce==null||ce.splice(rr+1,$e-rr));var sn=b1(W,r.readonly,ce);return sn===Ea?Zi:W.length?F_(sn,g):sn;function In(Sn,Kn,ei){Kn&1&&(ke=W.length),Kn&4&&rr<0&&(rr=W.length),Kn&(2|4)&&($e=W.length),g.push(Kn&2?fu(Sn,!0):Sn),W.push(Kn),ce&&ei?ce.push(ei):ce=void 0}}function Gm(r,n,i){i===void 0&&(i=0);var a=r.target,s=md(r)-i;return n>a.fixedLength?iA(r)||zl(e.emptyArray):zl(No(r).slice(n,s),a.elementFlags.slice(n,s),!1,a.labeledElementDeclarations&&a.labeledElementDeclarations.slice(n,s))}function Bb(r){return Ot(e.append(e.arrayOf(r.target.fixedLength,function(n){return Ou(""+n)}),Wl(r.target.readonly?na:la)))}function Jb(r,n){var i=e.findIndex(r.elementFlags,function(a){return!(a&n)});return i>=0?i:r.elementFlags.length}function mh(r,n){return r.elementFlags.length-e.findLastIndex(r.elementFlags,function(i){return!(i&n)})-1}function mk(r){return fu(zt(r.type),!0)}function tc(r){return r.id}function o_(r,n){return e.binarySearch(r,n,tc,e.compareValues)>=0}function x1(r,n){var i=e.binarySearch(r,n,tc,e.compareValues);return i<0?(r.splice(~i,0,n),!0):!1}function vk(r,n,i){var a=i.flags;if(a&1048576)return jb(r,n|(bk(i)?1048576:0),i.types);if(!(a&131072))if(n|=a&205258751,a&465829888&&(n|=33554432),i===Qe&&(n|=8388608),!Re&&a&98304)e.getObjectFlags(i)&65536||(n|=4194304);else{var s=r.length,l=s&&i.id>r[s-1].id?~s:e.binarySearch(r,i,tc,e.compareValues);l<0&&r.splice(~l,0,i)}return n}function jb(r,n,i){for(var a=0,s=i;a0;){g--;var ce=r[g];if(s||ce.flags&469499904)for(var ke=ce.flags&(524288|2097152|58982400)?e.find(vo(ce),function(In){return ll(Li(In))}):void 0,rr=ke&&Jc(Li(ke)),$e=0,ar=r;$e1e6){e.tracing===null||e.tracing===void 0||e.tracing.instant("checkTypes","removeSubtypes_DepthLimit",{typeIds:r.map(function(In){return In.id})}),Zr(Xe,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent);return}}if(W++,ke&&ir.flags&(524288|2097152|58982400)){var sn=Na(ir,ke.escapedName);if(sn&&ll(sn)&&Jc(sn)!==rr)continue}if(gf(ce,ir,jt)&&(!(e.getObjectFlags(wf(ce))&1)||!(e.getObjectFlags(wf(ir))&1)||tg(ce,ir))){e.orderedRemoveItemAt(r,g);break}}}}return An.set(i,r),r}function hk(r,n,i){for(var a=r.length;a>0;){a--;var s=r[a],l=s.flags,g=l&(128|134217728|268435456)&&n&4||l&256&&n&8||l&2048&&n&64||l&8192&&n&4096||i&&l&32768&&n&16384||Zd(s)&&o_(r,s.regularType);g&&e.orderedRemoveItemAt(r,a)}}function Dk(r){var n=e.filter(r,Og);if(n.length)for(var i=r.length,a=function(){i--;var s=r[i];s.flags&128&&e.some(n,function(l){return b2(s,l)})&&e.orderedRemoveItemAt(r,i)};i>0;)a()}function bk(r){return!!(r.flags&1048576&&(r.aliasSymbol||r.origin))}function Ub(r,n){for(var i=0,a=n;i=0&&o_(l,zr)&&e.orderedRemoveItemAt(l,W)}if((g&(2944|8192|134217728|268435456)||g&16384&&g&32768)&&hk(l,g,!!(n&2)),g&128&&g&134217728&&Dk(l),n===2&&(l=yk(l,!!(g&524288)),!l))return ue;if(l.length===0)return g&65536?g&4194304?bn:qn:g&32768?g&4194304?zr:fn:we}if(!s&&g&1048576){var ce=[];Ub(ce,r);for(var ke=[],rr=function(Kn){e.some(ce,function(ei){return o_(ei.types,Kn)})||ke.push(Kn)},$e=0,ar=l;$e0;){i--;var a=r[i],s=a.flags&4&&n&(128|134217728|268435456)||a.flags&8&&n&256||a.flags&64&&n&2048||a.flags&4096&&n&8192||a.flags&16384&&n&32768||$d(a)&&n&470302716;s&&e.orderedRemoveItemAt(r,i)}}function Ek(r,n){for(var i=0,a=r;i0;){n--;var a=r[n];if(!!(a.flags&134217728))for(var s=0,l=i;sk1(g)?C1(2097152,g):void 0;ce=Ot(rr,1,n,i,$e)}else ce=Nk(g,n,i);Rr.set(W,ce)}return ce}function qb(r){return e.reduceLeft(r,function(n,i){return i.flags&1048576?n*i.types.length:i.flags&131072?0:n},1)}function Xv(r){var n=qb(r);return n>=1e5?(e.tracing===null||e.tracing===void 0||e.tracing.instant("checkTypes","checkCrossProductUnion_DepthLimit",{typeIds:r.map(function(i){return i.id}),size:n}),Zr(Xe,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent),!1):!0}function Pk(r){for(var n=qb(r),i=[],a=0;a=0;g--)if(r[g].flags&1048576){var W=r[g].types,ce=W.length;s[g]=W[l%ce],l=Math.floor(l/ce)}var ke=ro(s);ke.flags&131072||i.push(ke)}return i}function Gb(r){return!(r.flags&3145728)||r.aliasSymbol?1:r.flags&1048576&&r.origin?Gb(r.origin):k1(r.types)}function k1(r){return e.reduceLeft(r,function(n,i){return n+Gb(i)},0)}function Ik(r){var n=At(r);if(!n.resolvedType){var i=ng(r),a=e.map(r.types,zt),s=a.length===2&&!!(a[0].flags&(4|8|64))&&a[1]===Ua;n.resolvedType=ro(a,i,Fg(i),s)}return n.resolvedType}function Hb(r,n){var i=qc(4194304);return i.type=r,i.stringsOnly=n,i}function wk(r){var n=bp(4194304);return n.type=r,n}function Kb(r,n){return n?r.resolvedStringIndexType||(r.resolvedStringIndexType=Hb(r,!0)):r.resolvedIndexType||(r.resolvedIndexType=Hb(r,!1))}function Ok(r,n,i){var a=Pu(r),s=zu(r),l=Ff(r.target||r);if(!l&&!i)return s;var g=[];if(Eg(r)){if(vd(s))return Kb(r,n);var W=re(Vd(r));um(W,8576,n,ke)}else Rp(cm(s),ke);vd(s)&&Rp(s,ke);var ce=i?Qs(Ot(g),function(rr){return!(rr.flags&(1|4))}):Ot(g);if(ce.flags&1048576&&s.flags&1048576&&wu(ce.types)===wu(s.types))return s;return ce;function ke(rr){var $e=l?ra(l,Qm(r.mapper,a,rr)):rr;g.push($e===yn?Cn:$e)}}function Fk(r){var n=Pu(r);return i(Ff(r)||n);function i(a){return a.flags&(3|131068|131072|262144|524288|67108864)?!0:a.flags&16777216?a.root.isDistributive&&a.checkType===n:a.flags&(3145728|134217728)?e.every(a.types,i):a.flags&8388608?i(a.objectType)&&i(a.indexType):a.flags&33554432?i(a.baseType)&&i(a.constraint):a.flags&268435456?i(a.type):!1}}function L_(r){return e.isPrivateIdentifier(r)?we:e.isIdentifier(r)?Ou(e.unescapeLeadingUnderscores(r.escapedText)):Jc(e.isComputedPropertyName(r)?f_(r):ya(r))}function pm(r,n,i){if(i||!(e.getDeclarationModifierFlagsFromSymbol(r)&24)){var a=Qt(xg(r)).nameType;if(!a){var s=e.getNameOfDeclaration(r.valueDeclaration);a=r.escapedName==="default"?Ou("default"):s&&L_(s)||(e.isKnownSymbol(r)?void 0:Ou(e.symbolName(r)))}if(a&&a.flags&n)return a}return we}function Qb(r,n){return!!(r.flags&n||r.flags&2097152&&e.some(r.types,function(i){return Qb(i,n)}))}function Mk(r,n,i){var a=i&&(e.getObjectFlags(r)&(3|4)||r.aliasSymbol)?wk(r):void 0,s=e.map(vo(r),function(g){return pm(g,n)}),l=e.map(hs(r),function(g){return g!==yi&&Qb(g.keyType,n)?g.keyType===yn&&n&8?Cn:g.keyType:we});return Ot(e.concatenate(s,l),1,void 0,void 0,a)}function Lk(r){var n=y6(r);return ct(n)!==n}function Xb(r){return!!(r.flags&58982400||vm(r)||Xc(r)&&!Fk(r)||r.flags&1048576&&e.some(r.types,Lk)||r.flags&2097152&&rs(r,465829888)&&e.some(r.types,$d))}function Wl(r,n,i){return n===void 0&&(n=ln),r=ct(r),Xb(r)?Kb(r,n):r.flags&1048576?ro(e.map(r.types,function(a){return Wl(a,n,i)})):r.flags&2097152?Ot(e.map(r.types,function(a){return Wl(a,n,i)})):e.getObjectFlags(r)&32?Ok(r,n,i):r===Qe?Qe:r.flags&2?we:r.flags&(1|131072)?On:Mk(r,(i?128:402653316)|(n?0:296|12288),n===ln&&!i)}function Zb(r){if(ln)return r;var n=ok();return n?wg(n,[r,yn]):yn}function Rk(r){var n=Zb(Wl(r));return n.flags&131072?yn:n}function Bk(r){var n=At(r);if(!n.resolvedType)switch(r.operator){case 141:n.resolvedType=Wl(zt(r.type));break;case 156:n.resolvedType=r.type.kind===153?B1(e.walkUpParenthesizedTypes(r.parent)):ue;break;case 146:n.resolvedType=zt(r.type);break;default:throw e.Debug.assertNever(r.operator)}return n.resolvedType}function Jk(r){var n=At(r);return n.resolvedType||(n.resolvedType=wp(zn([r.head.text],e.map(r.templateSpans,function(i){return i.literal.text}),!0),e.map(r.templateSpans,function(i){return zt(i.type)}))),n.resolvedType}function wp(r,n){var i=e.findIndex(n,function(ke){return!!(ke.flags&(131072|1048576))});if(i>=0)return Xv(n)?Qo(n[i],function(ke){return wp(r,e.replaceElement(n,i,ke))}):ue;if(e.contains(n,Qe))return Qe;var a=[],s=[],l=r[0];if(!ce(r,n))return yn;if(a.length===0)return Ou(l);if(s.push(l),e.every(s,function(ke){return ke===""})){if(e.every(a,function(ke){return!!(ke.flags&4)}))return yn;if(a.length===1&&Og(a[0]))return a[0]}var g="".concat(wu(a),"|").concat(e.map(s,function(ke){return ke.length}).join(","),"|").concat(s.join("")),W=xr.get(g);return W||xr.set(g,W=Uk(s,a)),W;function ce(ke,rr){for(var $e=e.isArray(ke),ar=0;ar=0)return Ri(Wu(n,Hn)),Qo(n,function(pt){var rt=ev(pt)||zr;return l&1?Ot([rt,zr]):rt})}}if(!(i.flags&98304)&&Bs(i,402653316|296|12288)){if(n.flags&(1|131072))return n;var Wr=Ng(n,i)||Wu(n,yn);if(Wr){if(l&2&&Wr.keyType!==Hn){W&&Zr(W,e.Diagnostics.Type_0_cannot_be_used_to_index_type_1,Oi(i),Oi(r));return}if(s&&Wr.keyType===yn&&!Bs(i,4|8)){var ir=P1(s);return Zr(ir,e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,Oi(i)),l&1?Ot([Wr.type,zr]):Wr.type}return Ri(Wr),l&1&&!(n.symbol&&n.symbol.flags&(256|128)&&i.symbol&&i.flags&1024&&Nc(i.symbol)===n.symbol)?Ot([Wr.type,zr]):Wr.type}if(i.flags&131072)return we;if(Hm(n))return Te;if(W&&!bD(n)){if(np(n)){if(Ue&&i.flags&(128|256))return fe.add(e.createDiagnosticForNode(W,e.Diagnostics.Property_0_does_not_exist_on_type_1,i.value,Oi(n))),zr;if(i.flags&(8|4)){var sn=e.map(n.properties,function(pt){return Li(pt)});return Ot(e.append(sn,zr))}}if(n.symbol===pn&&ce!==void 0&&pn.exports.has(ce)&&pn.exports.get(ce).flags&418)Zr(W,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(ce),Oi(n));else if(Ue&&!Y.suppressImplicitAnyIndexErrors&&!(l&128))if(ce!==void 0&&oC(ce,n)){var In=Oi(n);Zr(W,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,ce,In,In+"["+e.getTextOfNode(W.argumentExpression)+"]")}else if(cl(n,Hn))Zr(W.argumentExpression,e.Diagnostics.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number);else{var Sn=void 0;if(ce!==void 0&&(Sn=tD(ce,n)))Sn!==void 0&&Zr(W.argumentExpression,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,ce,Oi(n),Sn);else{var Kn=FN(n,W,i);if(Kn!==void 0)Zr(W,e.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,Oi(n),Kn);else{var ei=void 0;if(i.flags&1024)ei=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,"["+Oi(i)+"]",Oi(n));else if(i.flags&8192){var Ti=kc(i.symbol,W);ei=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,"["+Ti+"]",Oi(n))}else i.flags&128||i.flags&256?ei=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,i.value,Oi(n)):i.flags&(8|4)&&(ei=e.chainDiagnosticMessages(void 0,e.Diagnostics.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,Oi(i),Oi(n)));ei=e.chainDiagnosticMessages(ei,e.Diagnostics.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,Oi(a),Oi(n)),fe.add(e.createDiagnosticForNodeFromMessageChain(W,ei))}}}return}}if(Hm(n))return Te;if(s){var ir=P1(s);i.flags&(128|256)?Zr(ir,e.Diagnostics.Property_0_does_not_exist_on_type_1,""+i.value,Oi(n)):i.flags&(4|8)?Zr(ir,e.Diagnostics.Type_0_has_no_matching_index_signature_for_type_1,Oi(n),Oi(i)):Zr(ir,e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,Oi(i))}if(Ba(i))return i;return;function Ri(pt){pt&&pt.isReadonly&&W&&(e.isAssignmentTarget(W)||e.isDeleteTarget(W))&&Zr(W,e.Diagnostics.Index_signature_in_type_0_only_permits_reading,Oi(n))}}function P1(r){return r.kind===209?r.argumentExpression:r.kind===196?r.indexType:r.kind===164?r.expression:r}function vh(r){return!!(r.flags&(1|4|8|64))||Og(r)}function Og(r){return!!(r.flags&134217728)&&e.every(r.types,vh)||!!(r.flags&268435456)&&vh(r.type)}function rg(r){return!!Km(r)}function Qd(r){return!!(Km(r)&4194304)}function vd(r){return!!(Km(r)&8388608)}function Km(r){return r.flags&3145728?(r.objectFlags&2097152||(r.objectFlags|=2097152|e.reduceLeft(r.types,function(n,i){return n|Km(i)},0)),r.objectFlags&12582912):r.flags&33554432?(r.objectFlags&2097152||(r.objectFlags|=2097152|Km(r.baseType)|Km(r.constraint)),r.objectFlags&12582912):(r.flags&58982400||Xc(r)||vm(r)?4194304:0)|(r.flags&(58982400|4194304|134217728|268435456)&&!Og(r)?8388608:0)}function s_(r,n){return r.flags&8388608?Gk(r,n):r.flags&16777216?Hk(r,n):r}function rS(r,n,i){if(r.flags&1048576||r.flags&2097152&&!Xb(r)){var a=e.map(r.types,function(s){return s_(Zc(s,n),i)});return r.flags&2097152||i?ro(a):Ot(a)}}function qk(r,n,i){if(n.flags&1048576){var a=e.map(n.types,function(s){return s_(Zc(r,s),i)});return i?ro(a):Ot(a)}}function Gk(r,n){var i=n?"simplifiedForWriting":"simplifiedForReading";if(r[i])return r[i]===Vi?r:r[i];r[i]=Vi;var a=s_(r.objectType,n),s=s_(r.indexType,n),l=qk(a,s,n);if(l)return r[i]=l;if(!(s.flags&465829888)){var g=rS(a,s,n);if(g)return r[i]=g}if(vm(a)&&s.flags&296){var W=Mh(a,s.flags&8?0:a.target.fixedLength,0,n);if(W)return r[i]=W}if(Xc(a)){var ce=Ff(a);if(!ce||io(ce,Pu(a)))return r[i]=Qo(yh(a,r.indexType),function(ke){return s_(ke,n)})}return r[i]=r}function Hk(r,n){var i=r.checkType,a=r.extendsType,s=Dd(r),l=bd(r);if(l.flags&131072&&hd(s)===hd(i)){if(i.flags&1||io(Op(i),Op(a)))return s_(s,n);if(nS(i,a))return we}else if(s.flags&131072&&hd(l)===hd(i)){if(!(i.flags&1)&&io(Op(i),Op(a)))return we;if(i.flags&1||nS(i,a))return s_(l,n)}return r}function nS(r,n){return!!(Ot([Wd(r,n),we]).flags&131072)}function yh(r,n){var i=jc([Pu(r)],[n]),a=xd(r.mapper,i);return ra(Jl(r.target||r),a)}function Zc(r,n,i,a,s,l){return i===void 0&&(i=0),yd(r,n,i,a,s,l)||(a?ue:_r)}function iS(r,n){return mf(r,function(i){if(i.flags&384){var a=Du(i);if(e.isNumericLiteralName(a)){var s=+a;return s>=0&&s=5e6)return e.tracing===null||e.tracing===void 0||e.tracing.instant("checkTypes","instantiateType_DepthLimit",{typeId:r.id,instantiationDepth:Le,instantiationCount:Me}),Zr(Xe,e.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite),ue;Be++,Me++,Le++;var s=m6(r,n,i,a);return Le--,s}function m6(r,n,i,a){var s=r.flags;if(s&262144)return Sd(r,n);if(s&524288){var l=r.objectFlags;if(l&(4|16|32)){if(l&4&&!r.node){var g=r.resolvedTypeArguments,W=c_(g,n);return W!==g?S1(r.target,W):r}return l&1024?v6(r,n):f6(r,n,i,a)}return r}if(s&3145728){var ce=r.flags&1048576?r.origin:void 0,ke=ce&&ce.flags&3145728?ce.types:r.types,rr=c_(ke,n);if(rr===ke&&i===r.aliasSymbol)return r;var $e=i||r.aliasSymbol,ar=i?a:c_(r.aliasTypeArguments,n);return s&2097152||ce&&ce.flags&2097152?ro(rr,$e,ar):Ot(rr,1,$e,ar)}if(s&4194304)return Wl(ra(r.type,n));if(s&134217728)return wp(r.texts,c_(r.types,n));if(s&268435456)return eg(r.symbol,ra(r.type,n));if(s&8388608){var $e=i||r.aliasSymbol,ar=i?a:c_(r.aliasTypeArguments,n);return Zc(ra(r.objectType,n),ra(r.indexType,n),r.accessFlags,void 0,$e,ar)}if(s&16777216)return W1(r,xd(r.mapper,n),i,a);if(s&33554432){var ir=ra(r.baseType,n),Wr=ra(r.constraint,n);return ir.flags&8650752&&rg(Wr)?g1(ir,Wr):Wr.flags&3||io(Op(ir),Op(Wr))?ir:ir.flags&8650752?g1(ir,Wr):ro([Wr,ir])}return r}function v6(r,n){var i=ra(r.mappedType,n);if(!(e.getObjectFlags(i)&32))return r;var a=ra(r.constraintType,n);if(!(a.flags&4194304))return r;var s=GS(ra(r.source,n),i,a);return s||r}function y6(r){return r.flags&(131068|3|131072)?r:r.uniqueLiteralFilledInstantiation||(r.uniqueLiteralFilledInstantiation=ra(r,qi))}function kh(r){return r.flags&(131068|3|131072)?r:r.permissiveInstantiation||(r.permissiveInstantiation=ra(r,Ki))}function Op(r){return r.flags&(131068|3|131072)?r:(r.restrictiveInstantiation||(r.restrictiveInstantiation=ra(r,Vn),r.restrictiveInstantiation.restrictiveInstantiation=r.restrictiveInstantiation),r.restrictiveInstantiation)}function h6(r,n){return Ul(r.keyType,ra(r.type,n),r.isReadonly,r.declaration)}function Gu(r){switch(e.Debug.assert(r.kind!==171||e.isObjectLiteralMethod(r)),r.kind){case 215:case 216:case 171:case 259:return yS(r);case 207:return e.some(r.properties,Gu);case 206:return e.some(r.elements,Gu);case 224:return Gu(r.whenTrue)||Gu(r.whenFalse);case 223:return(r.operatorToken.kind===56||r.operatorToken.kind===60)&&(Gu(r.left)||Gu(r.right));case 299:return Gu(r.initializer);case 214:return Gu(r.expression);case 289:return e.some(r.properties,Gu)||e.isJsxOpeningElement(r.parent)&&e.some(r.parent.parent.children,Gu);case 288:{var n=r.initializer;return!!n&&Gu(n)}case 291:{var i=r.expression;return!!i&&Gu(i)}}return!1}function yS(r){return e.hasContextSensitiveParameters(r)||D6(r)}function D6(r){return!r.typeParameters&&!e.getEffectiveReturnTypeNode(r)&&!!r.body&&r.body.kind!==238&&Gu(r.body)}function V1(r){return(e.isFunctionExpressionOrArrowFunction(r)||e.isObjectLiteralMethod(r))&&yS(r)}function hS(r){if(r.flags&524288){var n=Iu(r);if(n.constructSignatures.length||n.callSignatures.length){var i=Gc(16,r.symbol);return i.members=n.members,i.properties=n.properties,i.callSignatures=e.emptyArray,i.constructSignatures=e.emptyArray,i.indexInfos=e.emptyArray,i}}else if(r.flags&2097152)return ro(e.map(r.types,hS));return r}function Lf(r,n){return gf(r,n,no)}function Xm(r,n){return gf(r,n,no)?-1:0}function q1(r,n){return gf(r,n,fa)?-1:0}function b6(r,n){return gf(r,n,gt)?-1:0}function Cd(r,n){return gf(r,n,gt)}function io(r,n){return gf(r,n,fa)}function tg(r,n){return r.flags&1048576?e.every(r.types,function(i){return tg(i,n)}):n.flags&1048576?e.some(n.types,function(i){return tg(r,i)}):r.flags&58982400?tg(uc(r)||_r,n):n===di?!!(r.flags&(524288|67108864)):n===fi?!!(r.flags&524288)&&k2(r):Of(r,wf(n))||Fu(n)&&!mm(n)&&tg(r,na)}function Zm(r,n){return gf(r,n,Ka)}function Ah(r,n){return Zm(r,n)||Zm(n,r)}function Fc(r,n,i,a,s,l){return Dl(r,n,fa,i,a,s,l)}function R_(r,n,i,a,s,l){return G1(r,n,fa,i,a,s,l,void 0)}function G1(r,n,i,a,s,l,g,W){return gf(r,n,i)?!0:!a||!ry(s,r,n,i,l,g,W)?Dl(r,n,i,a,l,g,W):!1}function DS(r){return!!(r.flags&16777216||r.flags&2097152&&e.some(r.types,DS))}function ry(r,n,i,a,s,l,g){if(!r||DS(i))return!1;if(!Dl(n,i,a,void 0)&&S6(r,n,i,a,s,l,g))return!0;switch(r.kind){case 291:case 214:return ry(r.expression,n,i,a,s,l,g);case 223:switch(r.operatorToken.kind){case 63:case 27:return ry(r.right,n,i,a,s,l,g)}break;case 207:return I6(r,n,i,a,l,g);case 206:return N6(r,n,i,a,l,g);case 289:return A6(r,n,i,a,l,g);case 216:return x6(r,n,i,a,l,g)}return!1}function S6(r,n,i,a,s,l,g){for(var W=_a(n,0),ce=_a(n,1),ke=0,rr=[ce,W];ke1,sn=Qs(ar,FS),In=Qs(ar,function(rt){return!FS(rt)});if(Wr){if(sn!==we){var Sn=zl(i0(ce,0)),Kn=k6(ce,pt);g=Ym(Kn,Sn,sn,a,s,l)||g}else if(!gf(Zc(n,$e),ar,a)){g=!0;var ei=Zr(ce.openingElement.tagName,e.Diagnostics.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided,rr,Oi(ar));l&&l.skipLogging&&(l.errors||(l.errors=[])).push(ei)}}else if(In!==we){var Ti=ir[0],Ri=bS(Ti,$e,pt);Ri&&(g=Ym(function(){return _s(this,function(rt){switch(rt.label){case 0:return[4,Ri];case 1:return rt.sent(),[2]}})}(),n,i,a,s,l)||g)}else if(!gf(Zc(n,$e),ar,a)){g=!0;var ei=Zr(ce.openingElement.tagName,e.Diagnostics.This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided,rr,Oi(ar));l&&l.skipLogging&&(l.errors||(l.errors=[])).push(ei)}}return g;function pt(){if(!W){var rt=e.getTextOfNode(r.parent.tagName),Da=t0(Vg(r)),St=Da===void 0?"children":e.unescapeLeadingUnderscores(Da),ba=Zc(i,Ou(St)),Ta=e.Diagnostics._0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2;W=vi(vi({},Ta),{key:"!!ALREADY FORMATTED!!",message:e.formatMessage(void 0,Ta,rt,St,Oi(ba))})}return W}}function SS(r,n){var i,a,s,l;return _s(this,function(g){switch(g.label){case 0:if(i=e.length(r.elements),!i)return[2];a=0,g.label=1;case 1:return ace:Hl(r)>ce);if(ke)return 0;r.typeParameters&&r.typeParameters!==n.typeParameters&&(n=jE(n),r=gC(r,n,void 0,g));var rr=au(r),$e=dv(r),ar=dv(n);($e||ar)&&ra($e||ar,W);var ir=n.declaration?n.declaration.kind:0,Wr=!(i&3)&&er&&ir!==171&&ir!==170&&ir!==173,sn=-1,In=Hd(r);if(In&&In!==Ir){var Sn=Hd(n);if(Sn){var Kn=!Wr&&g(In,Sn,!1)||g(Sn,In,a);if(!Kn)return a&&s(e.Diagnostics.The_this_types_of_each_signature_are_incompatible),0;sn&=Kn}}for(var ei=$e||ar?Math.min(rr,ce):Math.max(rr,ce),Ti=$e||ar?ei-1:-1,Ri=0;Ri=Hl(r)&&Ri=3&&n[0].flags&32768&&n[1].flags&65536&&e.some(n,$d)?67108864:0)}return!!(r.objectFlags&67108864)}return!1}function gm(r){return!!((r.flags&1048576?r.types[0]:r).flags&32768)}function CS(r){return r.flags&524288&&!Xc(r)&&vo(r).length===0&&hs(r).length===1&&!!Wu(r,yn)||r.flags&3145728&&e.every(r.types,CS)||!1}function Q1(r,n,i){if(r===n)return!0;var a=h(r)+","+h(n),s=Eo.get(a);if(s!==void 0&&!(!(s&4)&&s&2&&i))return!!(s&1);if(r.escapedName!==n.escapedName||!(r.flags&256)||!(n.flags&256))return Eo.set(a,2|4),!1;for(var l=Li(n),g=0,W=vo(Li(r));g0||QD(pi)),ua=!!(e.getObjectFlags(pi)&2048);if(pa&&!J6(pi,Wi,ua)){if(Ln){var ja=Oi(dn.aliasSymbol?dn:pi),yo=Oi(kn.aliasSymbol?kn:Wi),qa=_a(pi,0),Jo=_a(pi,1);qa.length>0&&Yi(Ao(qa[0]),Wi,1,!1)||Jo.length>0&&Yi(Ao(Jo[0]),Wi,1,!1)?sa(e.Diagnostics.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,ja,yo):sa(e.Diagnostics.Type_0_has_no_properties_in_common_with_type_1,ja,yo)}return 0}aa(pi,Wi);var Bo=pi.flags&1048576&&pi.types.length<4&&!(Wi.flags&1048576)||Wi.flags&1048576&&Wi.types.length<4&&!(pi.flags&469499904),Dc=Bo?br(pi,Wi,Ln,ri):Jn(pi,Wi,Ln,ri,ii);if(Dc)return Dc}return Ln&&ka(dn,kn,pi,Wi,xi),0}function ka(dn,kn,ii,Ln,xi){var ri,pi,Wi=!!t2(dn),yt=!!t2(kn);ii=dn.aliasSymbol||Wi?dn:ii,Ln=kn.aliasSymbol||yt?kn:Ln;var ht=Sn>0;if(ht&&Sn--,ii.flags&524288&&Ln.flags&524288){var Bt=W;Pt(ii,Ln,!0),W!==Bt&&(ht=!!W)}if(ii.flags&524288&&Ln.flags&131068)ut(ii,Ln);else if(ii.symbol&&ii.flags&524288&&di===ii)sa(e.Diagnostics.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead);else if(e.getObjectFlags(ii)&2048&&Ln.flags&2097152){var pa=Ln.types,ua=ap(J.IntrinsicAttributes,a),ja=ap(J.IntrinsicClassAttributes,a);if(!ca(ua)&&!ca(ja)&&(e.contains(pa,ua)||e.contains(pa,ja)))return}else W=nc(W,kn);if(!xi&&ht){Kn=[ii,Ln];return}if(Rn(xi,ii,Ln),ii.flags&262144&&((pi=(ri=ii.symbol)===null||ri===void 0?void 0:ri.declarations)===null||pi===void 0?void 0:pi[0])&&!a_(ii)){var yo=Th(ii);if(yo.constraint=ra(Ln,Yd(ii,yo)),Ag(yo)){var qa=Oi(Ln,ii.symbol.declarations[0]);si(e.createDiagnosticForNode(ii.symbol.declarations[0],e.Diagnostics.This_type_parameter_might_need_an_extends_0_constraint,qa))}}}function aa(dn,kn){if(!!e.tracing&&dn.flags&3145728&&kn.flags&3145728){var ii=dn,Ln=kn;if(ii.objectFlags&Ln.objectFlags&32768)return;var xi=ii.types.length,ri=Ln.types.length;xi*ri>1e6&&e.tracing.instant("checkTypes","traceUnionsOrIntersectionsTooLarge_DepthLimit",{sourceId:dn.id,sourceSize:xi,targetId:kn.id,targetSize:ri,pos:a==null?void 0:a.pos,end:a==null?void 0:a.end})}}function Ma(dn,kn){var ii=function(Ln,xi){var ri;xi=re(xi);var pi=xi.flags&3145728?it(xi,kn):w_(xi,kn),Wi=pi&&Li(pi)||((ri=Ip(xi,kn))===null||ri===void 0?void 0:ri.type)||zr;return e.append(Ln,Wi)};return Ot(e.reduceLeft(dn,ii,void 0)||e.emptyArray)}function La(dn,kn,ii){var Ln;if(!hy(kn)||!Ue&&e.getObjectFlags(kn)&4096)return!1;var xi=!!(e.getObjectFlags(dn)&2048);if((i===fa||i===Ka)&&(ly(di,kn)||!xi&&Rf(kn)))return!1;var ri=kn,pi;kn.flags&1048576&&(ri=IE(dn,kn,Yi)||h7(kn),pi=ri.flags&1048576?ri.types:[ri]);for(var Wi=function(ua){if(an(ua,dn.symbol)&&!TS(dn,ua)){if(!X2(ri,ua.escapedName,xi)){if(ii){var ja=Qs(ri,hy);if(!a)return{value:e.Debug.fail()};if(e.isJsxAttributes(a)||e.isJsxOpeningLikeElement(a)||e.isJsxOpeningLikeElement(a.parent)){ua.valueDeclaration&&e.isJsxAttribute(ua.valueDeclaration)&&e.getSourceFileOfNode(a)===e.getSourceFileOfNode(ua.valueDeclaration.name)&&(a=ua.valueDeclaration.name);var yo=Xt(ua),qa=cC(yo,ja),Jo=qa?Xt(qa):void 0;Jo?sa(e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,yo,Oi(ja),Jo):sa(e.Diagnostics.Property_0_does_not_exist_on_type_1,yo,Oi(ja))}else{var Bo=((Ln=dn.symbol)===null||Ln===void 0?void 0:Ln.declarations)&&e.firstOrUndefined(dn.symbol.declarations),Jo=void 0;if(ua.valueDeclaration&&e.findAncestor(ua.valueDeclaration,function(En){return En===Bo})&&e.getSourceFileOfNode(Bo)===e.getSourceFileOfNode(a)){var Dc=ua.valueDeclaration;e.Debug.assertNode(Dc,e.isObjectLiteralElementLike),a=Dc;var Ro=Dc.name;e.isIdentifier(Ro)&&(Jo=tD(Ro,ja))}Jo!==void 0?sa(e.Diagnostics.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2,Xt(ua),Oi(ja),Jo):sa(e.Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,Xt(ua),Oi(ja))}}return{value:!0}}if(pi&&!Yi(Li(ua),Ma(pi,ua.escapedName),3,ii))return ii&&xo(e.Diagnostics.Types_of_property_0_are_incompatible,Xt(ua)),{value:!0}}},yt=0,ht=vo(dn);yt=pi.types.length&&ri.length%pi.types.length==0){var ht=Yi(yt,pi.types[Wi%pi.types.length],3,!1,void 0,Ln);if(ht){xi&=ht;continue}}var Bt=Yi(yt,kn,1,ii,void 0,Ln);if(!Bt)return 0;xi&=Bt}return xi}function Xr(dn,kn,ii,Ln,xi){if(dn===void 0&&(dn=e.emptyArray),kn===void 0&&(kn=e.emptyArray),ii===void 0&&(ii=e.emptyArray),dn.length!==kn.length&&i===no)return 0;for(var ri=dn.length<=kn.length?dn.length:kn.length,pi=-1,Wi=0;Wi25)return e.tracing===null||e.tracing===void 0||e.tracing.instant("checkTypes","typeRelatedToDiscriminatedType_DepthLimit",{sourceId:dn.id,targetId:kn.id,numCombinations:xi}),0}for(var yt=new Array(Ln.length),ht=new e.Set,Bt=0;Bt5?sa(e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,Oi(dn),Oi(kn),e.map(ht.slice(0,4),function(pa){return Xt(pa)}).join(", "),ht.length-4):sa(e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,Oi(dn),Oi(kn),e.map(ht,function(pa){return Xt(pa)}).join(", ")),xi&&W&&Sn++)}function lo(dn,kn,ii,Ln,xi){if(i===no)return to(dn,kn,Ln);var ri=-1;if(Xa(kn)){if(Fp(dn)){if(!kn.target.readonly&&(mm(dn)||Xa(dn)&&dn.target.readonly))return 0;var pi=md(dn),Wi=md(kn),yt=Xa(dn)?dn.target.combinedFlags&4:4,ht=kn.target.combinedFlags&4,Bt=Xa(dn)?dn.target.minLength:0,pa=kn.target.minLength;if(!yt&&pi=Wi-qa)?dn.target.elementFlags[Dc]:4,ls=kn.target.elementFlags[Bo];if(ls&8&&!(Ro&8))return ii&&sa(e.Diagnostics.Source_provides_no_match_for_variadic_element_at_position_0_in_target,Bo),0;if(Ro&8&&!(ls&12))return ii&&sa(e.Diagnostics.Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target,Dc,Bo),0;if(ls&1&&!(Ro&1))return ii&&sa(e.Diagnostics.Source_provides_no_match_for_required_element_at_position_0_in_target,Bo),0;if(!(Jo&&((Ro&12||ls&12)&&(Jo=!1),Jo&&(Ln==null?void 0:Ln.has(""+Bo))))){var En=Xa(dn)?Bo=Wi-qa?Jg(ua[Dc],!!(Ro&ls&2)):Mh(dn,yo,qa)||we:ua[0],Ui=ja[Bo],Ut=Ro&8&&ls&4?ic(Ui):Jg(Ui,!!(ls&2)),lt=Yi(En,Ut,3,ii,void 0,xi);if(!lt)return ii&&(Wi>1||pi>1)&&(Bo=Wi-qa||pi-yo-qa==1?xo(e.Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,Dc,Bo):xo(e.Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,yo,pi-qa-1,Bo)),0;ri&=lt}}return ri}if(kn.target.combinedFlags&12)return 0}var Ct=(i===gt||i===jt)&&!np(dn)&&!Fh(dn)&&!Xa(dn),Ra=y2(dn,kn,Ct,!1);if(Ra)return ii&&Zs(dn,kn)&&qt(dn,kn,Ra,Ct),0;if(np(kn))for(var oa=0,Sa=xt(vo(dn),Ln);oa0&&e.every(n.properties,function(i){return!!(i.flags&16777216)})}return r.flags&2097152?e.every(r.types,AS):!1}function J6(r,n,i){for(var a=0,s=vo(r);a";continue}$e+="-"+Wr.id}return $e}}function r2(r,n,i,a,s){if(a===no&&r.id>n.id){var l=r;r=n,n=l}var g=i?":"+i:"";return Ph(r)&&Ph(n)?W6(r,n,g,s):"".concat(r.id,",").concat(n.id).concat(g)}function ay(r,n){if(e.getCheckFlags(r)&6){for(var i=0,a=r.containingType.types;i=a)for(var s=$m(r),l=0,g=0,W=0;W=g&&(l++,l>=a))return!0;g=ce.id}}return!1}function $m(r){if(r.flags&524288&&!S2(r)){if(e.getObjectFlags(r)&&4&&r.node)return r.node;if(r.symbol&&!(e.getObjectFlags(r)&16&&r.symbol.flags&32))return r.symbol;if(Xa(r))return r.target}if(r.flags&262144)return r.symbol;if(r.flags&8388608){do r=r.objectType;while(r.flags&8388608);return r}return r.flags&16777216?r.root:r}function G6(r,n){return n2(r,n,Xm)!==0}function n2(r,n,i){if(r===n)return-1;var a=e.getDeclarationModifierFlagsFromSymbol(r)&24,s=e.getDeclarationModifierFlagsFromSymbol(n)&24;if(a!==s)return 0;if(a){if(Xg(r)!==Xg(n))return 0}else if((r.flags&16777216)!=(n.flags&16777216))return 0;return _l(r)!==_l(n)?0:i(Li(r),Li(n))}function H6(r,n,i){var a=au(r),s=au(n),l=Hl(r),g=Hl(n),W=Kl(r),ce=Kl(n);return!!(a===s&&l===g&&W===ce||i&&l<=g)}function oy(r,n,i,a,s,l){if(r===n)return-1;if(!H6(r,n,i)||e.length(r.typeParameters)!==e.length(n.typeParameters))return 0;if(n.typeParameters){for(var g=jc(r.typeParameters,n.typeParameters),W=0;We.length(n.typeParameters)&&(s=Qc(s,e.last(No(r)))),r.objectFlags|=67108864,r.cachedEquivalentBaseType=s}}}function OS(r){return Re?r===jn:r===fn}function Fh(r){var n=i2(r);return!!n&&OS(n)}function Rg(r){return Xa(r)||!!Zt(r,"0")}function FS(r){return Td(r)||Rg(r)}function Y6(r,n){var i=Na(r,""+n);if(i)return i;if(mf(r,Xa))return Qo(r,function(a){return ev(a)||zr})}function $6(r){return!(r.flags&(109440|131072))}function ll(r){return!!(r.flags&109440)}function MS(r){var n=O_(r);return n.flags&2097152?e.some(n.types,ll):ll(n)}function eA(r){return r.flags&2097152&&e.find(r.types,ll)||r}function Bg(r){return r.flags&16?!0:r.flags&1048576?r.flags&1024?!0:e.every(r.types,ll):ll(r)}function ql(r){return r.flags&1024?bg(r):r.flags&(128|134217728|268435456)?yn:r.flags&256?Hn:r.flags&2048?Ai:r.flags&512?Pn:r.flags&1048576?rA(r):r}function rA(r){var n,i="B".concat(tc(r));return(n=zo(i))!==null&&n!==void 0?n:Uo(i,Qo(r,ql))}function ep(r){return r.flags&1024&&Zd(r)?bg(r):r.flags&128&&Zd(r)?yn:r.flags&256&&Zd(r)?Hn:r.flags&2048&&Zd(r)?Ai:r.flags&512&&Zd(r)?Pn:r.flags&1048576?Qo(r,ep):r}function LS(r){return r.flags&8192?Pe:r.flags&1048576?Qo(r,LS):r}function a2(r,n){return D0(r,n)||(r=LS(ep(r))),Jc(r)}function nA(r,n,i){if(r&&ll(r)){var a=n?i?yv(n):n:void 0;r=a2(r,a)}return r}function o2(r,n,i,a){if(r&&ll(r)){var s=n?sp(i,n,a):void 0;r=a2(r,s)}return r}function Xa(r){return!!(e.getObjectFlags(r)&4&&r.target.objectFlags&8)}function vm(r){return Xa(r)&&!!(r.target.combinedFlags&8)}function RS(r){return vm(r)&&r.target.elementFlags.length===1}function ev(r){return Mh(r,r.target.fixedLength)}function iA(r){var n=ev(r);return n&&ic(n)}function Mh(r,n,i,a){i===void 0&&(i=0),a===void 0&&(a=!1);var s=md(r)-i;if(n-1&&(is(l,l.name.escapedText,788968,void 0,l.name.escapedText,!0)||l.name.originalKeywordKind&&e.isTypeNodeKind(l.name.originalKeywordKind))){var g="arg"+l.parent.parameters.indexOf(l),W=e.declarationNameToString(l.name)+(l.dotDotDotToken?"[]":"");xu(Ue,r,e.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,g,W);return}s=r.dotDotDotToken?Ue?e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type:e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:Ue?e.Diagnostics.Parameter_0_implicitly_has_an_1_type:e.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 205:if(s=e.Diagnostics.Binding_element_0_implicitly_has_an_1_type,!Ue)return;break;case 320:Zr(r,e.Diagnostics.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,a);return;case 259:case 171:case 170:case 174:case 175:case 215:case 216:if(Ue&&!r.name){i===3?Zr(r,e.Diagnostics.Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation,a):Zr(r,e.Diagnostics.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,a);return}s=Ue?i===3?e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:e.Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage;break;case 197:Ue&&Zr(r,e.Diagnostics.Mapped_object_type_implicitly_has_an_any_template_type);return;default:s=Ue?e.Diagnostics.Variable_0_implicitly_has_an_1_type:e.Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage}xu(Ue,r,s,e.declarationNameToString(e.getNameOfDeclaration(r)),a)}}function Uh(r,n,i){Z(function(){Ue&&e.getObjectFlags(n)&65536&&(!i||!W2(r))&&(jh(n)||rp(r,n,i))})}function l2(r,n,i){var a=au(r),s=au(n),l=_v(r),g=_v(n),W=g?s-1:s,ce=l?W:Math.min(a,W),ke=Hd(r);if(ke){var rr=Hd(n);rr&&i(ke,rr)}for(var $e=0;$er.target.minLength||!n.target.hasRestElement&&(r.target.hasRestElement||n.target.fixedLength0){for(var In=ar,Sn=ir;Sn=Kn(In).indexOf(sn,Sn),!(Sn>=0);){if(In++,In===r.length)return;Sn=0}ei(In,Sn),ir+=sn.length}else if(ir0)for(var vt=0,Xr=Rn;vt1){var n=e.filter(r,S2);if(n.length){var i=Ot(n,2);return e.concatenate(e.filter(r,function(a){return!S2(a)}),[i])}}return r}function wA(r){return r.priority&416?ro(r.contraCandidates):Z6(r.contraCandidates)}function OA(r,n){var i=IA(r.candidates),a=PA(r.typeParameter),s=!a&&r.topLevel&&(r.isFixed||!g2(Ao(n),r.typeParameter)),l=a?e.sameMap(i,Jc):s?e.sameMap(i,ep):i,g=r.priority&416?Ot(l,2):X6(l);return tu(g)}function x2(r,n){var i=r.inferences[n];if(!i.inferredType){var a=void 0,s=r.signature;if(s){var l=i.candidates?OA(i,s):void 0;if(i.contraCandidates)a=l&&!(l.flags&131072)&&e.some(i.contraCandidates,function(ke){return Cd(l,ke)})?l:wA(i);else if(l)a=l;else if(r.flags&1)a=hn;else{var g=pd(i.typeParameter);g&&(a=ra(g,c6(s6(r,n),r.nonFixingMapper)))}}else a=HS(i);i.inferredType=a||C2(!!(r.flags&2));var W=rc(i.typeParameter);if(W){var ce=ra(W,r.nonFixingMapper);(!a||!r.compareTypes(a,Qc(ce,a)))&&(i.inferredType=a=ce)}}return i.inferredType}function C2(r){return r?Te:_r}function T2(r){for(var n=[],i=0;i=10&&a*2>=r.length?i:void 0}function sy(r){var n=r.types;if(!(n.length<10||e.getObjectFlags(r)&32768||e.countWhere(n,function(s){return!!(s.flags&(524288|58982400))})<10)){if(r.keyPropertyName===void 0){var i=e.forEach(n,function(s){return s.flags&(524288|58982400)?e.forEach(vo(s),function(l){return ll(Li(l))?l.escapedName:void 0}):void 0}),a=i&&MA(n,i);r.keyPropertyName=a?i:"",r.constituentMap=a}return r.keyPropertyName.length?r.keyPropertyName:void 0}}function cy(r,n){var i,a=(i=r.constituentMap)===null||i===void 0?void 0:i.get(tc(Jc(n)));return a!==_r?a:void 0}function ix(r,n){var i=sy(r),a=i&&Na(n,i);return a&&cy(r,a)}function LA(r,n){var i=sy(r),a=i&&e.find(n.properties,function(l){return l.symbol&&l.kind===299&&l.symbol.escapedName===i&&my(l.initializer)}),s=a&&wy(a.initializer);return s&&cy(r,s)}function tx(r,n){return zs(r,n)||rx(r,n)}function ax(r,n){if(r.arguments)for(var i=0,a=r.arguments;i=0&&Yn.parameterIndex=Yn&&Qi=2){var a=i.parent.parent;if(a.kind===257&&e.getCombinedNodeFlags(i)&2||a.kind===166){var s=At(a);if(!(s.flags&268435456)){s.flags|=268435456;var l=Bc(a,0),g=l&&Qo(l,O_);if(s.flags&=~268435456,g&&g.flags&1048576&&!(a.kind===166&&Zh(r))){var W=i.parent,ce=Ed(W,g,g,void 0,n.flowNode);return ce.flags&131072?we:Gp(i,ce)}}}}if(e.isParameter(i)&&!i.type&&!i.initializer&&!i.dotDotDotToken){var ke=i.parent;if(ke.parameters.length>=2&&V1(ke)){var rr=cv(ke);if(rr&&rr.parameters.length===1&&G(rr)){var $e=lr(Li(rr.parameters[0]));if($e.flags&1048576&&mf($e,Xa)&&!Zh(r)){var ce=Ed(ke,$e,$e,void 0,n.flowNode),ar=ke.parameters.indexOf(i)-(e.getThisParameter(ke)?1:0);return Zc(ce,Vl(ar))}}}}}return Li(r)}function d4(r,n){if(e.isThisInTypeQuery(r))return gy(r);var i=Hu(r);if(i===jr)return ue;if(i===ve){if(tC(r))return Zr(r,e.Diagnostics.arguments_cannot_be_referenced_in_property_initializers),ue;var a=e.getContainingFunction(r);return d<2&&(a.kind===216?Zr(r,e.Diagnostics.The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression):e.hasSyntacticModifier(a,512)&&Zr(r,e.Diagnostics.The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method)),At(a).flags|=8192,Li(i)}g4(r)&&Yh(i,r);var s=il(i),l=$T(s,r);ef(l)&&N1(r,l)&&l.declarations&&Tl(r,l.declarations,r.escapedText);var g=s.valueDeclaration;if(g&&s.flags&32){if(g.kind===260&&e.nodeIsDecorated(g))for(var a=e.getContainingClass(r);a!==void 0;){if(a===g&&a.name!==r){At(g).flags|=16777216,At(r).flags|=33554432;break}a=e.getContainingClass(a)}else if(g.kind===228)for(var a=e.getThisContainer(r,!1);a.kind!==308;){if(a.parent===g){(e.isPropertyDeclaration(a)&&e.isStatic(a)||e.isClassStaticBlockDeclaration(a))&&(At(g).flags|=16777216,At(r).flags|=33554432);break}a=e.getThisContainer(a,!1)}}y4(r,i);var W=_4(s,r),ce=e.getAssignmentTargetKind(r);if(ce){if(!(s.flags&3)&&!(e.isInJSFile(r)&&s.flags&512)){var ke=s.flags&384?e.Diagnostics.Cannot_assign_to_0_because_it_is_an_enum:s.flags&32?e.Diagnostics.Cannot_assign_to_0_because_it_is_a_class:s.flags&1536?e.Diagnostics.Cannot_assign_to_0_because_it_is_a_namespace:s.flags&16?e.Diagnostics.Cannot_assign_to_0_because_it_is_a_function:s.flags&2097152?e.Diagnostics.Cannot_assign_to_0_because_it_is_an_import:e.Diagnostics.Cannot_assign_to_0_because_it_is_not_a_variable;return Zr(r,ke,Xt(i)),ue}if(_l(s))return s.flags&3?Zr(r,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant,Xt(i)):Zr(r,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,Xt(i)),ue}var rr=s.flags&2097152;if(s.flags&3){if(ce===1)return W}else if(rr)g=Mu(i);else return W;if(!g)return W;W=I2(W,r,n);for(var $e=e.getRootDeclaration(g).kind===166,ar=ov(g),ir=ov(r),Wr=ir!==ar,sn=r.parent&&r.parent.parent&&e.isSpreadAssignment(r.parent)&&N2(r.parent.parent),In=i.flags&134217728;ir!==ar&&(ir.kind===215||ir.kind===216||e.isObjectLiteralOrClassExpressionMethodOrAccessor(ir))&&(sv(s)&&W!==ns||$e&&!Zh(s));)ir=ov(ir);var Sn=$e||rr||Wr||sn||In||p4(r,g)||W!==Ye&&W!==ns&&(!Re||(W.flags&(3|16384))!=0||ym(r)||r.parent.kind===278)||r.parent.kind===232||g.kind===257&&g.exclamationToken||g.flags&16777216,Kn=Sn?$e?u4(W,g):W:W===Ye||W===ns?zr:u_(W),ei=Ed(r,W,Kn,ir);if(!yx(r)&&(W===Ye||W===ns)){if(ei===Ye||ei===ns)return Ue&&(Zr(e.getNameOfDeclaration(g),e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined,Xt(i),Oi(ei)),Zr(r,e.Diagnostics.Variable_0_implicitly_has_an_1_type,Xt(i),Oi(ei))),bv(ei)}else if(!Sn&&!gm(W)&&gm(ei))return Zr(r,e.Diagnostics.Variable_0_is_used_before_being_assigned,Xt(i)),W;return ce?ql(ei):ei}function p4(r,n){if(e.isBindingElement(n)){var i=e.findAncestor(r,e.isBindingElement);return i&&e.getRootDeclaration(i)===e.getRootDeclaration(n)}}function g4(r){var n,i=r.parent;if(i){if(e.isPropertyAccessExpression(i)&&i.expression===r||e.isExportSpecifier(i)&&i.isTypeOnly)return!1;var a=(n=i.parent)===null||n===void 0?void 0:n.parent;if(a&&e.isExportDeclaration(a)&&a.isTypeOnly)return!1}return!0}function m4(r,n){return!!e.findAncestor(r,function(i){return i===n?"quit":e.isFunctionLike(i)||i.parent&&e.isPropertyDeclaration(i.parent)&&!e.hasStaticModifier(i.parent)&&i.parent.initializer===i})}function v4(r,n){return e.findAncestor(r,function(i){return i===n?"quit":i===n.initializer||i===n.condition||i===n.incrementor||i===n.statement})}function w2(r){return e.findAncestor(r,function(n){return!n||e.nodeStartsNewLexicalEnvironment(n)?"quit":e.isIterationStatement(n,!1)})}function y4(r,n){if(!(d>=2||(n.flags&(2|32))==0||!n.valueDeclaration||e.isSourceFile(n.valueDeclaration)||n.valueDeclaration.parent.kind===295)){var i=e.getEnclosingBlockScopeContainer(n.valueDeclaration),a=m4(r,i),s=w2(i);if(s){if(a){var l=!0;if(e.isForStatement(i)){var g=e.getAncestor(n.valueDeclaration,258);if(g&&g.parent===i){var W=v4(r.parent,i);if(W){var ce=At(W);ce.flags|=131072;var ke=ce.capturedBlockScopeBindings||(ce.capturedBlockScopeBindings=[]);e.pushIfUnique(ke,n),W===i.initializer&&(l=!1)}}}l&&(At(s).flags|=65536)}if(e.isForStatement(i)){var g=e.getAncestor(n.valueDeclaration,258);g&&g.parent===i&&D4(r,i)&&(At(n.valueDeclaration).flags|=4194304)}At(n.valueDeclaration).flags|=524288}a&&(At(n.valueDeclaration).flags|=262144)}}function h4(r,n){var i=At(r);return!!i&&e.contains(i.capturedBlockScopeBindings,zi(n))}function D4(r,n){for(var i=r;i.parent.kind===214;)i=i.parent;var a=!1;if(e.isAssignmentTarget(i))a=!0;else if(i.parent.kind===221||i.parent.kind===222){var s=i.parent;a=s.operator===45||s.operator===46}return a?!!e.findAncestor(i,function(l){return l===n?"quit":l===n.statement}):!1}function O2(r,n){if(At(r).flags|=2,n.kind===169||n.kind===173){var i=n.parent;At(i).flags|=4}else At(n).flags|=4}function Tx(r){return e.isSuperCall(r)?r:e.isFunctionLike(r)?void 0:e.forEachChild(r,Tx)}function Ex(r){var n=zi(r),i=nt(n),a=cc(i);return a===qn}function kx(r,n,i){var a=n.parent,s=e.getClassExtendsHeritageElement(a);s&&!Ex(a)&&r.flowNode&&!Xh(r.flowNode,!1)&&Zr(r,i)}function b4(r,n){e.isPropertyDeclaration(n)&&e.hasStaticModifier(n)&&n.initializer&&e.textRangeContainsPositionInclusive(n.initializer,r.pos)&&e.hasDecorators(n.parent)&&Zr(r,e.Diagnostics.Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class)}function gy(r){var n=ym(r),i=e.getThisContainer(r,!0),a=!1;switch(i.kind===173&&kx(r,i,e.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class),i.kind===216&&(i=e.getThisContainer(i,!1),a=!0),b4(r,i),i.kind){case 264:Zr(r,e.Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 263:Zr(r,e.Diagnostics.this_cannot_be_referenced_in_current_location);break;case 173:Ax(r,i)&&Zr(r,e.Diagnostics.this_cannot_be_referenced_in_constructor_arguments);break;case 164:Zr(r,e.Diagnostics.this_cannot_be_referenced_in_a_computed_property_name);break}!n&&a&&d<2&&O2(r,i);var s=F2(r,!0,i);if(t){var l=Li(pn);if(s===l&&a)Zr(r,e.Diagnostics.The_containing_arrow_function_captures_the_global_value_of_this);else if(!s){var g=Zr(r,e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);if(!e.isSourceFile(i)){var W=F2(i);W&&W!==l&&e.addRelatedInfo(g,e.createDiagnosticForNode(i,e.Diagnostics.An_outer_value_of_this_is_shadowed_by_this_container))}}}return s||Te}function F2(r,n,i){n===void 0&&(n=!0),i===void 0&&(i=e.getThisContainer(r,!1));var a=e.isInJSFile(r);if(e.isFunctionLike(i)&&(!R2(r)||e.getThisParameter(i))){var s=Ks(i)||a&&C4(i);if(!s){var l=x4(i);if(a&&l){var g=ya(l).symbol;g&&g.members&&g.flags&16&&(s=nt(g).thisType)}else Sl(i)&&(s=nt(Ya(i.symbol)).thisType);s||(s=Px(i))}if(s)return Ed(r,s)}if(e.isClassLike(i.parent)){var W=zi(i.parent),ce=e.isStatic(i)?Li(W):nt(W).thisType;return Ed(r,ce)}if(e.isSourceFile(i))if(i.commonJsModuleIndicator){var ke=zi(i);return ke&&Li(ke)}else{if(i.externalModuleIndicator)return zr;if(n)return Li(pn)}}function S4(r){var n=e.getThisContainer(r,!1);if(e.isFunctionLike(n)){var i=Vu(n);if(i.thisParameter)return Hh(i.thisParameter)}if(e.isClassLike(n.parent)){var a=zi(n.parent);return e.isStatic(n)?Li(a):nt(a).thisType}}function x4(r){if(r.kind===215&&e.isBinaryExpression(r.parent)&&e.getAssignmentDeclarationKind(r.parent)===3)return r.parent.left.expression.expression;if(r.kind===171&&r.parent.kind===207&&e.isBinaryExpression(r.parent.parent)&&e.getAssignmentDeclarationKind(r.parent.parent)===6)return r.parent.parent.left.expression;if(r.kind===215&&r.parent.kind===299&&r.parent.parent.kind===207&&e.isBinaryExpression(r.parent.parent.parent)&&e.getAssignmentDeclarationKind(r.parent.parent.parent)===6)return r.parent.parent.parent.left.expression;if(r.kind===215&&e.isPropertyAssignment(r.parent)&&e.isIdentifier(r.parent.name)&&(r.parent.name.escapedText==="value"||r.parent.name.escapedText==="get"||r.parent.name.escapedText==="set")&&e.isObjectLiteralExpression(r.parent.parent)&&e.isCallExpression(r.parent.parent.parent)&&r.parent.parent.parent.arguments[2]===r.parent.parent&&e.getAssignmentDeclarationKind(r.parent.parent.parent)===9)return r.parent.parent.parent.arguments[0].expression;if(e.isMethodDeclaration(r)&&e.isIdentifier(r.name)&&(r.name.escapedText==="value"||r.name.escapedText==="get"||r.name.escapedText==="set")&&e.isObjectLiteralExpression(r.parent)&&e.isCallExpression(r.parent.parent)&&r.parent.parent.arguments[2]===r.parent&&e.getAssignmentDeclarationKind(r.parent.parent)===9)return r.parent.parent.arguments[0].expression}function C4(r){var n=e.getJSDocType(r);if(n&&n.kind===320){var i=n;if(i.parameters.length>0&&i.parameters[0].name&&i.parameters[0].name.escapedText==="this")return zt(i.parameters[0].type)}var a=e.getJSDocThisTag(r);if(a&&a.typeExpression)return zt(a.typeExpression)}function Ax(r,n){return!!e.findAncestor(r,function(i){return e.isFunctionLikeDeclaration(i)?"quit":i.kind===166&&i.parent===n})}function M2(r){var n=r.parent.kind===210&&r.parent.expression===r,i=e.getSuperContainer(r,!0),a=i,s=!1,l=!1;if(!n){for(;a&&a.kind===216;)e.hasSyntacticModifier(a,512)&&(l=!0),a=e.getSuperContainer(a,!0),s=d<2;a&&e.hasSyntacticModifier(a,512)&&(l=!0)}var g=ar(a),W=0;if(!g){var ce=e.findAncestor(r,function(ir){return ir===a?"quit":ir.kind===164});return ce&&ce.kind===164?Zr(r,e.Diagnostics.super_cannot_be_referenced_in_a_computed_property_name):n?Zr(r,e.Diagnostics.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors):!a||!a.parent||!(e.isClassLike(a.parent)||a.parent.kind===207)?Zr(r,e.Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions):Zr(r,e.Diagnostics.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class),ue}if(!n&&i.kind===173&&kx(r,a,e.Diagnostics.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class),e.isStatic(a)||n?(W=512,!n&&d>=2&&d<=8&&(e.isPropertyDeclaration(a)||e.isClassStaticBlockDeclaration(a))&&e.forEachEnclosingBlockScopeContainer(r.parent,function(ir){(!e.isSourceFile(ir)||e.isExternalOrCommonJsModule(ir))&&(At(ir).flags|=134217728)})):W=256,At(r).flags|=W,a.kind===171&&l&&(e.isSuperProperty(r.parent)&&e.isAssignmentTarget(r.parent)?At(a).flags|=4096:At(a).flags|=2048),s&&O2(r.parent,a),a.parent.kind===207)return d<2?(Zr(r,e.Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),ue):Te;var ke=a.parent;if(!e.getClassExtendsHeritageElement(ke))return Zr(r,e.Diagnostics.super_can_only_be_referenced_in_a_derived_class),ue;var rr=nt(zi(ke)),$e=rr&&nu(rr)[0];if(!$e)return ue;if(a.kind===173&&Ax(r,a))return Zr(r,e.Diagnostics.super_cannot_be_referenced_in_constructor_arguments),ue;return W===512?cc(rr):Qc($e,rr.thisType);function ar(ir){return ir?n?ir.kind===173:e.isClassLike(ir.parent)||ir.parent.kind===207?e.isStatic(ir)?ir.kind===171||ir.kind===170||ir.kind===174||ir.kind===175||ir.kind===169||ir.kind===172:ir.kind===171||ir.kind===170||ir.kind===174||ir.kind===175||ir.kind===169||ir.kind===168||ir.kind===173:!1:!1}}function T4(r){return(r.kind===171||r.kind===174||r.kind===175)&&r.parent.kind===207?r.parent:r.kind===215&&r.parent.kind===299?r.parent.parent:void 0}function Nx(r){return e.getObjectFlags(r)&4&&r.target===ac?No(r)[0]:void 0}function E4(r){return Qo(r,function(n){return n.flags&2097152?e.forEach(n.types,Nx):Nx(n)})}function Px(r){if(r.kind!==216){if(V1(r)){var n=cv(r);if(n){var i=n.thisParameter;if(i)return Li(i)}}var a=e.isInJSFile(r);if(t||a){var s=T4(r);if(s){for(var l=tp(s,void 0),g=s,W=l;W;){var ce=E4(W);if(ce)return ra(ce,p2(Wg(s)));if(g.parent.kind!==299)break;g=g.parent.parent,W=tp(g,void 0)}return tu(l?l_(l):Ds(s))}var ke=e.walkUpParenthesizedExpressions(r.parent);if(ke.kind===223&&ke.operatorToken.kind===63){var rr=ke.left;if(e.isAccessExpression(rr)){var $e=rr.expression;if(a&&e.isIdentifier($e)){var ar=e.getSourceFileOfNode(ke);if(ar.commonJsModuleIndicator&&Hu($e)===ar.symbol)return}return tu(Ds($e))}}}}}function Ix(r){var n=r.parent;if(!!V1(n)){var i=e.getImmediatelyInvokedFunctionExpression(n);if(i&&i.arguments){var a=_D(i),s=n.parameters.indexOf(r);if(r.dotDotDotToken)return lD(a,s,a.length,Te,void 0,0);var l=At(i),g=l.resolvedSignature;l.resolvedSignature=Zo;var W=s0)return bt(i.name,!0,!1)}}function P4(r,n){var i=e.getContainingFunction(r);if(i){var a=B2(i,n);if(a){var s=e.getFunctionFlags(i);if(s&1){var l=(s&2)!=0;a.flags&1048576&&(a=Qs(a,function(ce){return!!sp(1,ce,l)}));var g=sp(1,a,(s&2)!=0);if(!g)return;a=g}if(s&2){var W=Qo(a,__);return W&&Ot([W,jC(W)])}return a}}}function I4(r,n){var i=Yc(r,n);if(i){var a=__(i);return a&&Ot([a,jC(a)])}}function w4(r,n){var i=e.getContainingFunction(r);if(i){var a=e.getFunctionFlags(i),s=B2(i,n);if(s){var l=(a&2)!=0;return!r.asteriskToken&&s.flags&1048576&&(s=Qs(s,function(g){return!!sp(1,g,l)})),r.asteriskToken?s:sp(0,s,l)}}}function R2(r){for(var n=!1;r.parent&&!e.isFunctionLike(r.parent);){if(e.isParameter(r.parent)&&(n||r.parent.initializer===r))return!0;e.isBindingElement(r.parent)&&r.parent.initializer===r&&(n=!0),r=r.parent}return!1}function wx(r,n){var i=!!(e.getFunctionFlags(n)&2),a=B2(n,void 0);if(a)return sp(r,a,i)||void 0}function B2(r,n){var i=Pg(r);if(i)return i;var a=W2(r);if(a&&!u1(a))return Ao(a);var s=e.getImmediatelyInvokedFunctionExpression(r);if(s)return Yc(s,n)}function Ox(r,n){var i=_D(r),a=i.indexOf(n);return a===-1?void 0:J2(r,a)}function J2(r,n){if(e.isImportCall(r))return n===0?yn:n===1?kb(!1):Te;var i=At(r).resolvedSignature===pr?pr:Gg(r);if(e.isJsxOpeningLikeElement(r)&&n===0)return n0(i,r);var a=i.parameters.length-1;return G(i)&&n>=a?Zc(Li(i.parameters[a]),Vl(n-a),256):fl(i,n)}function O4(r,n){if(r.parent.kind===212)return Ox(r.parent,n)}function F4(r,n){var i=r.parent,a=i.left,s=i.operatorToken,l=i.right;switch(s.kind){case 63:case 76:case 75:case 77:return r===l?L4(i):void 0;case 56:case 60:var g=Yc(i,n);return r===l&&(g&&g.pattern||!g&&!e.isDefaultedExpandoInitializer(i))?Xs(a):g;case 55:case 27:return r===l?Yc(i,n):void 0;default:return}}function M4(r){if(r.symbol)return r.symbol;if(e.isIdentifier(r))return Hu(r);if(e.isPropertyAccessExpression(r)){var n=Xs(r.expression);return e.isPrivateIdentifier(r.name)?a(n,r.name):Zt(n,r.name.escapedText)}if(e.isElementAccessExpression(r)){var i=Ds(r.argumentExpression);if(!hu(i))return;var n=Xs(r.expression);return Zt(n,Du(i))}return;function a(s,l){var g=s0(l.escapedText,l);return g&&eD(s,g)}}function L4(r){var n,i,a=e.getAssignmentDeclarationKind(r);switch(a){case 0:case 4:var s=M4(r.left),l=s&&s.valueDeclaration;if(l&&(e.isPropertyDeclaration(l)||e.isPropertySignature(l))){var g=e.getEffectiveTypeAnnotationNode(l);return g&&ra(zt(g),Qt(s).mapper)||(e.isPropertyDeclaration(l)?l.initializer&&Xs(r.left):void 0)}return a===0?Xs(r.left):Fx(r);case 5:if($h(r,a))return Fx(r);if(r.left.symbol){var W=r.left.symbol.valueDeclaration;if(!W)return;var ce=e.cast(r.left,e.isAccessExpression),g=e.getEffectiveTypeAnnotationNode(W);if(g)return zt(g);if(e.isIdentifier(ce.expression)){var ke=ce.expression,rr=is(ke,ke.escapedText,111551,void 0,ke.escapedText,!0);if(rr){var $e=rr.valueDeclaration&&e.getEffectiveTypeAnnotationNode(rr.valueDeclaration);if($e){var ar=e.getElementOrPropertyAccessName(ce);if(ar!==void 0)return Jp(zt($e),ar)}return}}return e.isInJSFile(W)?void 0:Xs(r.left)}else return Xs(r.left);case 1:case 6:case 3:case 2:var ir=void 0;a!==2&&(ir=(n=r.left.symbol)===null||n===void 0?void 0:n.valueDeclaration),ir||(ir=(i=r.symbol)===null||i===void 0?void 0:i.valueDeclaration);var Wr=ir&&e.getEffectiveTypeAnnotationNode(ir);return Wr?zt(Wr):void 0;case 7:case 8:case 9:return e.Debug.fail("Does not apply");default:return e.Debug.assertNever(a)}}function $h(r,n){if(n===void 0&&(n=e.getAssignmentDeclarationKind(r)),n===4)return!0;if(!e.isInJSFile(r)||n!==5||!e.isIdentifier(r.left.expression))return!1;var i=r.left.expression.escapedText,a=is(r.left,i,111551,void 0,void 0,!0,!0);return e.isThisInitializedDeclaration(a==null?void 0:a.valueDeclaration)}function Fx(r){if(!r.symbol)return Xs(r.left);if(r.symbol.valueDeclaration){var n=e.getEffectiveTypeAnnotationNode(r.symbol.valueDeclaration);if(n){var i=zt(n);if(i)return i}}var a=e.cast(r.left,e.isAccessExpression);if(!!e.isObjectLiteralMethod(e.getThisContainer(a.expression,!1))){var s=gy(a.expression),l=e.getElementOrPropertyAccessName(a);return l!==void 0&&Jp(s,l)||void 0}}function R4(r){return!!(e.getCheckFlags(r)&262144&&!r.type&&kt(r,0)>=0)}function Jp(r,n,i){return Qo(r,function(a){var s;if(Xc(a)&&!a.declaration.nameType){var l=zu(a),g=uc(l)||l,W=i||Ou(e.unescapeLeadingUnderscores(n));if(io(W,g))return yh(a,W)}else if(a.flags&3670016){var ce=Zt(a,n);if(ce)return R4(ce)?void 0:Li(ce);if(Xa(a)){var ke=ev(a);if(ke&&e.isNumericLiteralName(n)&&+n>=0)return ke}return(s=hl(Zp(a),i||Ou(e.unescapeLeadingUnderscores(n))))===null||s===void 0?void 0:s.type}},!0)}function Mx(r,n){if(e.Debug.assert(e.isObjectLiteralMethod(r)),!(r.flags&33554432))return j2(r,n)}function j2(r,n){var i=r.parent,a=e.isPropertyAssignment(r)&&L2(r,n);if(a)return a;var s=tp(i,n);if(s){if(Pp(r)){var l=zi(r);return Jp(s,l.escapedName,Qt(l).nameType)}if(r.name){var g=L_(r.name);return Qo(s,function(W){var ce;return(ce=hl(Zp(W),g))===null||ce===void 0?void 0:ce.type},!0)}}}function U2(r,n){return r&&(Jp(r,""+n)||Qo(r,function(i){return LD(1,i,zr,void 0,!1)},!0))}function B4(r,n){var i=r.parent;return r===i.whenTrue||r===i.whenFalse?Yc(i,n):void 0}function J4(r,n,i){var a=tp(r.openingElement.tagName,i),s=t0(Vg(r));if(!!(a&&!Ba(a)&&s&&s!=="")){var l=e.getSemanticJsxChildren(r.children),g=l.indexOf(n),W=Jp(a,s);return W&&(l.length===1?W:Qo(W,function(ce){return Td(ce)?Zc(ce,Vl(g)):ce},!0))}}function j4(r,n){var i=r.parent;return e.isJsxAttributeLike(i)?Yc(r,n):e.isJsxElement(i)?J4(i,r,n):void 0}function Lx(r,n){if(e.isJsxAttribute(r)){var i=tp(r.parent,n);return!i||Ba(i)?void 0:Jp(i,r.name.escapedText)}else return Yc(r.parent,n)}function my(r){switch(r.kind){case 10:case 8:case 9:case 14:case 110:case 95:case 104:case 79:case 155:return!0;case 208:case 214:return my(r.expression);case 291:return!r.expression||my(r.expression)}return!1}function U4(r,n){return LA(n,r)||Y1(n,e.concatenate(e.map(e.filter(r.properties,function(i){return!!i.symbol&&i.kind===299&&my(i.initializer)&&tv(n,i.symbol.escapedName)}),function(i){return[function(){return wy(i.initializer)},i.symbol.escapedName]}),e.map(e.filter(vo(n),function(i){var a;return!!(i.flags&16777216)&&!!((a=r==null?void 0:r.symbol)===null||a===void 0?void 0:a.members)&&!r.symbol.members.has(i.escapedName)&&tv(n,i.escapedName)}),function(i){return[function(){return zr},i.escapedName]})),io,n)}function z4(r,n){return Y1(n,e.concatenate(e.map(e.filter(r.properties,function(i){return!!i.symbol&&i.kind===288&&tv(n,i.symbol.escapedName)&&(!i.initializer||my(i.initializer))}),function(i){return[i.initializer?function(){return wy(i.initializer)}:function(){return Ni},i.symbol.escapedName]}),e.map(e.filter(vo(n),function(i){var a;return!!(i.flags&16777216)&&!!((a=r==null?void 0:r.symbol)===null||a===void 0?void 0:a.members)&&!r.symbol.members.has(i.escapedName)&&tv(n,i.escapedName)}),function(i){return[function(){return zr},i.escapedName]})),io,n)}function tp(r,n){var i=e.isObjectLiteralMethod(r)?Mx(r,n):Yc(r,n),a=e0(i,r,n);if(a&&!(n&&n&2&&a.flags&8650752)){var s=Qo(a,re,!0);return s.flags&1048576&&e.isObjectLiteralExpression(r)?U4(r,s):s.flags&1048576&&e.isJsxAttributes(r)?z4(r,s):s}}function e0(r,n,i){if(r&&rs(r,465829888)){var a=Wg(n);if(a&&i&1&&e.some(a.inferences,aP))return r0(r,a.nonFixingMapper);if(a==null?void 0:a.returnMapper){var s=r0(r,a.returnMapper);return s.flags&1048576&&o_(s.types,Hi)&&o_(s.types,gi)?Qs(s,function(l){return l!==Hi&&l!==gi}):s}}return r}function r0(r,n){return r.flags&465829888?ra(r,n):r.flags&1048576?Ot(e.map(r.types,function(i){return r0(i,n)}),0):r.flags&2097152?ro(e.map(r.types,function(i){return r0(i,n)})):r}function Yc(r,n){if(r.flags&33554432)return;if(r.contextualType)return r.contextualType;var i=r.parent;switch(i.kind){case 257:case 166:case 169:case 168:case 205:return N4(r,n);case 216:case 250:return P4(r,n);case 226:return w4(i,n);case 220:return I4(i,n);case 210:case 211:return Ox(i,r);case 213:case 231:return e.isConstTypeReference(i.type)?g(i):zt(i.type);case 223:return F4(r,n);case 299:case 300:return j2(i,n);case 301:return Yc(i.parent,n);case 206:{var a=i,s=tp(a,n);return U2(s,e.indexOfNode(a.elements,r))}case 224:return B4(r,n);case 236:return e.Debug.assert(i.parent.kind===225),O4(i.parent,r);case 214:{var l=e.isInJSFile(i)?e.getJSDocTypeTag(i):void 0;return l?e.isJSDocTypeTag(l)&&e.isConstTypeReference(l.typeExpression.type)?g(i):zt(l.typeExpression.type):Yc(i,n)}case 232:return Yc(i,n);case 235:return zt(i.type);case 274:return wo(i);case 291:return j4(i,n);case 288:case 290:return Lx(i,n);case 283:case 282:return W4(i,n)}return;function g(W){return Yc(W,n)}}function Wg(r){var n=e.findAncestor(r,function(i){return!!i.inferenceContext});return n&&n.inferenceContext}function W4(r,n){return e.isJsxOpeningElement(r)&&r.parent.contextualType&&n!==4?r.parent.contextualType:J2(r,0)}function n0(r,n){return yC(n)!==0?V4(r,n):H4(r,n)}function V4(r,n){var i=yD(r,_r);i=Rx(n,Vg(n),i);var a=ap(J.IntrinsicAttributes,n);return ca(a)||(i=Wd(a,i)),i}function q4(r,n){if(r.compositeSignatures){for(var i=[],a=0,s=r.compositeSignatures;a=2){var W=gd([l,i],g,2,e.isInJSFile(r));return wg(a,W)}}if(e.length(s.typeParameters)>=2){var W=gd([l,i],s.typeParameters,2,e.isInJSFile(r));return F_(s,W)}}return i}function H4(r,n){var i=Vg(n),a=dN(i),s=a===void 0?yD(r,_r):a===""?Ao(r):q4(r,a);if(!s)return!!a&&!!e.length(n.attributes.properties)&&Zr(n,e.Diagnostics.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,e.unescapeLeadingUnderscores(a)),_r;if(s=Rx(n,i,s),Ba(s))return s;var l=s,g=ap(J.IntrinsicClassAttributes,n);if(!ca(g)){var W=df(g.symbol),ce=Ao(r),ke=void 0;if(W){var rr=gd([ce],W,ul(W),e.isInJSFile(n));ke=ra(g,jc(W,rr))}else ke=g;l=Wd(ke,l)}var $e=ap(J.IntrinsicAttributes,n);return ca($e)||(l=Wd($e,l)),l}function K4(r){return e.getStrictOptionValue(Y,"noImplicitAny")?e.reduceLeft(r,function(n,i){return n===i||!n?n:Gy(n.typeParameters,i.typeParameters)?Z4(n,i):void 0}):void 0}function Q4(r,n,i){if(!r||!n)return r||n;var a=Ot([Li(r),ra(Li(n),i)]);return og(r,a)}function X4(r,n,i){for(var a=au(r),s=au(n),l=a>=s?r:n,g=l===r?n:r,W=l===r?a:s,ce=Kl(r)||Kl(n),ke=ce&&!Kl(l),rr=new Array(W+(ke?1:0)),$e=0;$e=Hl(l)&&$e>=Hl(g),Sn=$e>=a?void 0:Cm(r,$e),Kn=$e>=s?void 0:Cm(n,$e),ei=Sn===Kn?Sn:Sn?Kn?void 0:Sn:Kn,Ti=go(1|(In&&!sn?16777216:0),ei||"arg".concat($e));Ti.type=sn?ic(Wr):Wr,rr[$e]=Ti}if(ke){var Ri=go(1,"args");Ri.type=ic(fl(g,W)),g===n&&(Ri.type=ra(Ri.type,i)),rr[W]=Ri}return rr}function Z4(r,n){var i=r.typeParameters||n.typeParameters,a;r.typeParameters&&n.typeParameters&&(a=jc(n.typeParameters,r.typeParameters));var s=r.declaration,l=X4(r,n,a),g=Q4(r.thisParameter,n.thisParameter,a),W=Math.max(r.minArgumentCount,n.minArgumentCount),ce=Bl(s,i,g,l,void 0,void 0,W,(r.flags|n.flags)&39);return ce.compositeKind=2097152,ce.compositeSignatures=e.concatenate(r.compositeKind===2097152&&r.compositeSignatures||[r],[n]),a&&(ce.mapper=r.compositeKind===2097152&&r.mapper&&r.compositeSignatures?xd(r.mapper,a):a),ce}function z2(r,n){var i=_a(r,0),a=e.filter(i,function(s){return!Y4(s,n)});return a.length===1?a[0]:K4(a)}function Y4(r,n){for(var i=0;i0&&(g=Xd(g,Ma(),r.symbol,Wr,ke),l=[],s=e.createSymbolTable(),In=!1,Sn=!1,Kn=!1);var wa=ct(ya(St.expression));if(vy(wa)){var Pt=L1(wa,ke);if(a&&zx(Pt,a,St),pt=l.length,ca(g))continue;g=Xd(g,Pt,r.symbol,Wr,ke)}else Zr(St,e.Diagnostics.Spread_types_may_only_be_created_from_object_types),g=ue;continue}else e.Debug.assert(St.kind===174||St.kind===175),Im(St);Ta&&!(Ta.flags&8576)?io(Ta,Dn)&&(io(Ta,Hn)?Sn=!0:io(Ta,Pe)?Kn=!0:In=!0,i&&(sn=!0)):s.set(ba.escapedName,ba),l.push(ba)}if(ce){var ea=e.findAncestor(W.pattern.parent,function(La){return La.kind===257||La.kind===223||La.kind===166}),Yi=e.findAncestor(r,function(La){return La===ea||La.kind===301});if(Yi.kind!==301)for(var ka=0,aa=vo(W);ka0&&(g=Xd(g,Ma(),r.symbol,Wr,ke),l=[],s=e.createSymbolTable(),In=!1,Sn=!1),Qo(g,function(La){return La===Zi?Ma():La});return Ma();function Ma(){var La=[];In&&La.push(V2(r,pt,l,yn)),Sn&&La.push(V2(r,pt,l,Hn)),Kn&&La.push(V2(r,pt,l,Pe));var an=Yo(r.symbol,s,e.emptyArray,e.emptyArray,La);return an.objectFlags|=Wr|128|131072,ir&&(an.objectFlags|=4096),sn&&(an.objectFlags|=512),i&&(an.pattern=r),an}}function vy(r){var n=JS(Qo(r,O_));return!!(n.flags&(1|67108864|524288|58982400)||n.flags&3145728&&e.every(n.types,vy))}function aN(r){Q2(r)}function oN(r,n){return Im(r),yy(r)||Te}function sN(r){Q2(r.openingElement),bm(r.closingElement.tagName)?H2(r.closingElement):ya(r.closingElement.tagName),i0(r)}function cN(r,n){return Im(r),yy(r)||Te}function uN(r){Q2(r.openingFragment);var n=e.getSourceFileOfNode(r);return e.getJSXTransformEnabled(Y)&&(Y.jsxFactory||n.pragmas.has("jsx"))&&!Y.jsxFragmentFactory&&!n.pragmas.has("jsxfrag")&&Zr(r,Y.jsxFactory?e.Diagnostics.The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:e.Diagnostics.An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments),i0(r),yy(r)||Te}function G2(r){return e.stringContains(r,"-")}function bm(r){return r.kind===79&&e.isIntrinsicJsxName(r.escapedText)}function Ux(r,n){return r.initializer?Em(r.initializer,n):Ni}function lN(r,n){for(var i=r.attributes,a=Yc(i,0),s=Re?e.createSymbolTable():void 0,l=e.createSymbolTable(),g=ni,W=!1,ce,ke=!1,rr=2048,$e=t0(Vg(r)),ar=0,ir=i.properties;ar0&&(g=Xd(g,St(),i.symbol,rr,!1),l=e.createSymbolTable());var In=ct(Ds(Wr.expression,n));Ba(In)&&(W=!0),vy(In)?(g=Xd(g,In,i.symbol,rr,!1),s&&zx(In,s,Wr)):(Zr(Wr.expression,e.Diagnostics.Spread_types_may_only_be_created_from_object_types),ce=ce?ro([ce,In]):In)}}W||l.size>0&&(g=Xd(g,St(),i.symbol,rr,!1));var ei=r.parent.kind===281?r.parent:void 0;if(ei&&ei.openingElement===r&&ei.children.length>0){var Ti=i0(ei,n);if(!W&&$e&&$e!==""){ke&&Zr(i,e.Diagnostics._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,e.unescapeLeadingUnderscores($e));var Ri=tp(r.attributes,void 0),pt=Ri&&Jp(Ri,$e),rt=go(4,$e);rt.type=Ti.length===1?Ti[0]:pt&&Jf(pt,Rg)?zl(Ti):ic(Ot(Ti)),rt.valueDeclaration=e.factory.createPropertySignature(void 0,e.unescapeLeadingUnderscores($e),void 0,void 0),e.setParent(rt.valueDeclaration,i),rt.valueDeclaration.symbol=rt;var Da=e.createSymbolTable();Da.set($e,rt),g=Xd(g,Yo(i.symbol,Da,e.emptyArray,e.emptyArray,e.emptyArray),i.symbol,rr,!1)}}if(W)return Te;if(ce&&g!==ni)return ro([ce,g]);return ce||(g===ni?St():g);function St(){rr|=dr;var ba=Yo(i.symbol,l,e.emptyArray,e.emptyArray,e.emptyArray);return ba.objectFlags|=rr|128|131072,ba}}function i0(r,n){for(var i=[],a=0,s=r.children;a1&&i.declarations&&Zr(i.declarations[0],e.Diagnostics.The_global_type_JSX_0_may_not_have_more_than_one_property,e.unescapeLeadingUnderscores(r))}}function _N(r){return r&&Wc(r.exports,J.LibraryManagedAttributes,788968)}function dN(r){return Wx(J.ElementAttributesPropertyNameContainer,r)}function t0(r){return Wx(J.ElementChildrenAttributeNameContainer,r)}function Vx(r,n){if(r.flags&4)return[Zo];if(r.flags&128){var i=qx(r,n);if(i){var a=p0(n,i);return[a]}else return Zr(n,e.Diagnostics.Property_0_does_not_exist_on_type_1,r.value,"JSX."+J.IntrinsicElements),e.emptyArray}var s=re(r),l=_a(s,1);return l.length===0&&(l=_a(s,0)),l.length===0&&s.flags&1048576&&(l=Mv(e.map(s.types,function(g){return Vx(g,n)}))),l}function qx(r,n){var i=ap(J.IntrinsicElements,n);if(!ca(i)){var a=r.value,s=Zt(i,e.escapeLeadingUnderscores(a));if(s)return Li(s);var l=cl(i,yn);return l||void 0}return Te}function pN(r,n,i){if(r===1){var a=Kx(i);a&&Dl(n,a,fa,i.tagName,e.Diagnostics.Its_return_type_0_is_not_a_valid_JSX_element,g)}else if(r===0){var s=Hx(i);s&&Dl(n,s,fa,i.tagName,e.Diagnostics.Its_instance_type_0_is_not_a_valid_JSX_element,g)}else{var a=Kx(i),s=Hx(i);if(!a||!s)return;var l=Ot([a,s]);Dl(n,l,fa,i.tagName,e.Diagnostics.Its_element_type_0_is_not_a_valid_JSX_element,g)}function g(){var W=e.getTextOfNode(i.tagName);return e.chainDiagnosticMessages(void 0,e.Diagnostics._0_cannot_be_used_as_a_JSX_component,W)}}function Gx(r){e.Debug.assert(bm(r.tagName));var n=At(r);if(!n.resolvedJsxElementAttributesType){var i=H2(r);return n.jsxFlags&1?n.resolvedJsxElementAttributesType=Li(i)||ue:n.jsxFlags&2?n.resolvedJsxElementAttributesType=cl(ap(J.IntrinsicElements,r),yn)||ue:n.resolvedJsxElementAttributesType=ue}return n.resolvedJsxElementAttributesType}function Hx(r){var n=ap(J.ElementClass,r);if(!ca(n))return n}function yy(r){return ap(J.Element,r)}function Kx(r){var n=yy(r);if(n)return Ot([n,bn])}function gN(r){var n=ap(J.IntrinsicElements,r);return n?vo(n):e.emptyArray}function mN(r){(Y.jsx||0)===0&&Zr(r,e.Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided),yy(r)===void 0&&Ue&&Zr(r,e.Diagnostics.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist)}function Q2(r){var n=e.isJsxOpeningLikeElement(r);if(n&&W5(r),mN(r),!K2(r)){var i=fe&&Y.jsx===2?e.Diagnostics.Cannot_find_name_0:void 0,a=ms(r),s=n?r.tagName:r,l=void 0;if(e.isJsxOpeningFragment(r)&&a==="null"||(l=is(s,a,111551,i,a,!0)),l&&(l.isReferenced=67108863,l.flags&2097152&&!Ec(l)&&su(l)),e.isJsxOpeningFragment(r)){var g=e.getSourceFileOfNode(r),W=xc(g);W&&is(s,W,111551,i,W,!0)}}if(n){var ce=r,ke=Gg(ce);m0(ke,r),pN(yC(ce),Ao(ke),ce)}}function X2(r,n,i){if(r.flags&524288){if(w_(r,n)||Ip(r,n)||zd(n)&&Wu(r,yn)||i&&G2(n))return!0}else if(r.flags&3145728&&hy(r))for(var a=0,s=r.types;a=1&&io(i,fl(ce,0))}return!1}var s=e.isAssignmentTarget(n)?"set":"get";if(!!a(s)){var l=e.tryGetPropertyAccessOrIdentifierToString(n.expression);return l===void 0?l=s:l+="."+s,l}}function MN(r,n){var i=n.types.filter(function(a){return!!(a.flags&128)});return e.getSpellingSuggestion(r.value,i,function(a){return a.value})}function Dy(r,n,i){return e.getSpellingSuggestion(r,n,a);function a(s){var l=e.symbolName(s);if(!e.startsWith(l,'"')){if(s.flags&i)return l;if(s.flags&2097152){var g=Fs(s);if(g&&g.flags&i)return l}}}}function by(r,n,i){var a=r&&r.flags&106500&&r.valueDeclaration;if(!!a){var s=e.hasEffectiveModifier(a,8),l=r.valueDeclaration&&e.isNamedDeclaration(r.valueDeclaration)&&e.isPrivateIdentifier(r.valueDeclaration.name);if(!(!s&&!l)&&!(n&&e.isWriteOnlyAccess(n)&&!(r.flags&65536))){if(i){var g=e.findAncestor(n,e.isFunctionLikeDeclaration);if(g&&g.symbol===r)return}(e.getCheckFlags(r)&1?Qt(r).target:r).isReferenced=67108863}}}function uC(r,n){return r.kind===108||!!n&&e.isEntityNameExpression(r)&&n===Hu(e.getFirstIdentifier(r))}function LN(r,n){switch(r.kind){case 208:return oD(r,r.expression.kind===106,n,tu(ya(r.expression)));case 163:return oD(r,!1,n,tu(ya(r.left)));case 202:return oD(r,!1,n,zt(r))}}function lC(r,n,i){return sD(r,r.kind===208&&r.expression.kind===106,!1,n,i)}function oD(r,n,i,a){if(Ba(a))return!0;var s=Zt(a,i);return!!s&&sD(r,n,!1,a,s)}function sD(r,n,i,a,s){if(Ba(a))return!0;if(s.valueDeclaration&&e.isPrivateIdentifierClassElementDeclaration(s.valueDeclaration)){var l=e.getContainingClass(s.valueDeclaration);return!e.isOptionalChain(r)&&!!e.findAncestor(r,function(g){return g===l})}return Qx(r,n,i,a,s)}function RN(r){var n=r.initializer;if(n.kind===258){var i=n.declarations[0];if(i&&!e.isBindingPattern(i.name))return zi(i)}else if(n.kind===79)return Hu(n)}function BN(r){return hs(r).length===1&&!!Wu(r,Hn)}function JN(r){var n=e.skipParentheses(r);if(n.kind===79){var i=Hu(n);if(i.flags&3)for(var a=r,s=r.parent;s;){if(s.kind===246&&a===s.statement&&RN(s)===i&&BN(Xs(s.expression)))return!0;a=s,s=s.parent}}return!1}function jN(r,n){return r.flags&32?UN(r,n):fC(r,Sm(r.expression),n)}function UN(r,n){var i=ya(r.expression),a=rv(i,r.expression);return Rh(fC(r,bl(a,r.expression),n),r,a!==i)}function fC(r,n,i){var a=e.getAssignmentTargetKind(r)!==0||rC(r)?tu(n):n,s=r.argumentExpression,l=ya(s);if(ca(a)||a===hn)return a;if(bD(a)&&!e.isStringLiteralLike(s))return Zr(s,e.Diagnostics.A_const_enum_member_can_only_be_accessed_using_a_string_literal),ue;var g=JN(s)?Hn:l,W=e.isAssignmentTarget(r)?4|(Qd(a)&&!e.isThisTypeParameter(a)?2:0):32,ce=yd(a,g,W,r)||ue;return pT(iC(r,At(r).resolvedSymbol,ce,s,i),r)}function _C(r){return e.isCallOrNewExpression(r)||e.isTaggedTemplateExpression(r)||e.isJsxOpeningLikeElement(r)}function qg(r){return _C(r)&&e.forEach(r.typeArguments,eo),r.kind===212?ya(r.template):e.isJsxOpeningLikeElement(r)?ya(r.attributes):r.kind!==167&&e.forEach(r.arguments,function(n){ya(n)}),Zo}function Gl(r){return qg(r),To}function zN(r,n,i){var a,s,l=0,g,W=-1,ce;e.Debug.assert(!n.length);for(var ke=0,rr=r;ke=0)return rr>=Hl(i)&&(Kl(i)||rrg)return!1;if(l||s>=W)return!0;for(var $e=s;$e=a&&n.length<=i}function cg(r){return uv(r,0,!1)}function pC(r){return uv(r,0,!1)||uv(r,1,!1)}function uv(r,n,i){if(r.flags&524288){var a=Iu(r);if(i||a.properties.length===0&&a.indexInfos.length===0){if(n===0&&a.callSignatures.length===1&&a.constructSignatures.length===0)return a.callSignatures[0];if(n===1&&a.constructSignatures.length===1&&a.callSignatures.length===0)return a.constructSignatures[0]}}}function gC(r,n,i,a){var s=iv(r.typeParameters,r,0,a),l=_v(n),g=i&&(l&&l.flags&262144?i.nonFixingMapper:i.mapper),W=g?Lg(n,g):n;return l2(W,r,function(ce,ke){Bf(s.inferences,ce,ke)}),i||f2(n,r,function(ce,ke){Bf(s.inferences,ce,ke,128)}),zm(r,T2(s),e.isInJSFile(n.declaration))}function VN(r,n,i,a){var s=n0(n,r),l=Hg(r.attributes,s,a,i);return Bf(a.inferences,l,s),T2(a)}function mC(r){if(!r)return Ir;var n=ya(r);return e.isOptionalChainRoot(r.parent)?l_(n):e.isOptionalChain(r.parent)?s2(n):n}function uD(r,n,i,a,s){if(e.isJsxOpeningLikeElement(r))return VN(r,n,a,s);if(r.kind!==167){var l=e.every(n.typeParameters,function(ba){return!!pd(ba)}),g=Yc(r,l?8:0);if(g){var W=Ao(n);if(Mp(W)){var ce=Wg(r),ke=!l&&Yc(r,8)!==g;if(!ke){var rr=p2(pA(ce,1)),$e=ra(g,rr),ar=cg($e),ir=ar&&ar.typeParameters?fm(l1(ar,ar.typeParameters)):$e;Bf(s.inferences,ir,W,128)}var Wr=iv(n.typeParameters,n,s.flags),sn=ra(g,ce&&ce.returnMapper);Bf(Wr.inferences,sn,W),s.returnMapper=e.some(Wr.inferences,Kg)?p2(yA(Wr)):void 0}}}var In=dv(n),Sn=In?Math.min(au(n)-1,i.length):i.length;if(In&&In.flags&262144){var Kn=e.find(s.inferences,function(ba){return ba.typeParameter===In});Kn&&(Kn.impliedArity=e.findIndex(i,l0,Sn)<0?i.length-Sn:void 0)}var ei=Hd(n);if(ei&&Mp(ei)){var Ti=hC(r);Bf(s.inferences,mC(Ti),ei)}for(var Ri=0;Ri=i-1){var g=r[i-1];if(l0(g))return vC(g.kind===234?g.type:Hg(g.expression,a,s,l))}for(var W=[],ce=[],ke=[],rr=n;rrKn&&(Kn=Ta)}}if(!Sn)return!0;for(var wa=Infinity,So=0,xo=ar;So0||e.isJsxOpeningElement(r)&&r.parent.children.length>0?[r.attributes]:e.emptyArray;var a=r.arguments||e.emptyArray,s=f0(a);if(s>=0){for(var l=a.slice(0,s),g=function(ce){var ke=a[ce],rr=ke.kind===227&&(ec?ya(ke.expression):Ds(ke.expression));rr&&Xa(rr)?e.forEach(No(rr),function($e,ar){var ir,Wr=rr.target.elementFlags[ar],sn=op(ke,Wr&4?ic($e):$e,!!(Wr&12),(ir=rr.target.labeledElementDeclarations)===null||ir===void 0?void 0:ir[ar]);l.push(sn)}):l.push(ke)},W=s;W-1)return e.createDiagnosticForNode(i[s],e.Diagnostics.A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter);for(var l=Number.POSITIVE_INFINITY,g=Number.NEGATIVE_INFINITY,W=Number.NEGATIVE_INFINITY,ce=Number.POSITIVE_INFINITY,ke,rr=0,$e=n;rr<$e.length;rr++){var ar=$e[rr],ir=Hl(ar),Wr=au(ar);irW&&(W=ir),i.lengtha?ce=Math.min(ce,$e):g1&&(Kn=Fi($e,gt,ir,ei)),Kn||(Kn=Fi($e,fa,ir,ei)),Kn)return Kn;if(Kn=QN(r,$e,ar,!!i,a),At(r).resolvedSignature=Kn,ke)if(sn)if(sn.length===1||sn.length>3){var Ti=sn[sn.length-1],Ri;sn.length>3&&(Ri=e.chainDiagnosticMessages(Ri,e.Diagnostics.The_last_overload_gave_the_following_error),Ri=e.chainDiagnosticMessages(Ri,e.Diagnostics.No_overload_matches_this_call));var pt=Sy(r,ar,Ti,fa,0,!0,function(){return Ri});if(pt)for(var rt=0,Da=pt;rt3&&e.addRelatedInfo(St,e.createDiagnosticForNode(Ti.declaration,e.Diagnostics.The_last_overload_is_declared_here)),br(Ti,St),fe.add(St)}else e.Debug.fail("No error for last overload signature")}else{for(var ba=[],Ta=0,wa=Number.MAX_VALUE,So=0,xo=0,uo=function(li){var et=function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.Overload_0_of_1_2_gave_the_following_error,xo+1,$e.length,ru(li))},ki=Sy(r,ar,li,fa,0,!0,et);ki?(ki.length<=wa&&(wa=ki.length,So=xo),Ta=Math.max(Ta,ki.length),ba.push(ki)):e.Debug.fail("No error for 3 or fewer overload signatures"),xo++},sa=0,si=sn;sa1?ba[So]:e.flatten(ba);e.Debug.assert(ut.length>0,"No errors reported for 3 or fewer overload signatures");var Pt=e.chainDiagnosticMessages(e.map(ut,e.createDiagnosticMessageChainFromDiagnostic),e.Diagnostics.No_overload_matches_this_call),ea=zn([],e.flatMap(ut,function(li){return li.relatedInformation}),!0),Yi=void 0;if(e.every(ut,function(li){return li.start===ut[0].start&&li.length===ut[0].length&&li.file===ut[0].file})){var ka=ut[0],aa=ka.file,Ma=ka.start,La=ka.length;Yi={file:aa,start:Ma,length:La,code:Pt.code,category:Pt.category,messageText:Pt,relatedInformation:ea}}else Yi=e.createDiagnosticForNodeFromMessageChain(r,Pt,ea);br(sn[0],Yi),fe.add(Yi)}else if(In)fe.add(SC(r,[In],ar));else if(Sn)fD(Sn,r.typeArguments,!0,l);else{var an=e.filter(n,function(li){return cD(li,rr)});an.length===0?fe.add(KN(r,n,rr)):W?l&&fe.add(xy(r,l)):fe.add(SC(r,an,ar))}return Kn;function br(li,et){var ki,Mi,vt=sn,Xr=In,Jn=Sn,Yn=((Mi=(ki=li.declaration)===null||ki===void 0?void 0:ki.symbol)===null||Mi===void 0?void 0:Mi.declarations)||e.emptyArray,Di=Yn.length>1,bi=Di?e.find(Yn,function(Vt){return e.isFunctionLikeDeclaration(Vt)&&e.nodeIsPresent(Vt.body)}):void 0;if(bi){var Qi=Vu(bi),xt=!Qi.typeParameters;Fi([Qi],fa,xt)&&e.addRelatedInfo(et,e.createDiagnosticForNode(bi,e.Diagnostics.The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible))}sn=vt,In=Xr,Sn=Jn}function Fi(li,et,ki,Mi){if(Mi===void 0&&(Mi=!1),sn=void 0,In=void 0,Sn=void 0,ki){var vt=li[0];if(e.some(rr)||!_0(r,ar,vt,Mi))return;if(Sy(r,ar,vt,et,0,!1,void 0)){sn=[vt];return}return vt}for(var Xr=0;Xr0),Im(r),a||n.length===1||n.some(function(l){return!!l.typeParameters})?YN(r,n,i,s):XN(n)}function XN(r){var n=e.mapDefined(r,function(ar){return ar.thisParameter}),i;n.length&&(i=xC(n,n.map(lv)));for(var a=e.minAndMax(r,ZN),s=a.min,l=a.max,g=[],W=function(ar){var ir=e.mapDefined(r,function(Wr){return G(Wr)?arn.length;)a.pop();for(;a.length=n)return s;g>a&&(a=g,i=s)}return i}function n3(r,n,i){if(r.expression.kind===106){var a=M2(r.expression);if(Ba(a)){for(var s=0,l=r.arguments;s=0&&Zr(r.arguments[a],e.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}var s=Sm(r.expression);if(s===hn)return Fr;if(s=re(s),ca(s))return Gl(r);if(Ba(s))return r.typeArguments&&Zr(r,e.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments),qg(r);var l=_a(s,1);if(l.length){if(!a3(r,l[0]))return Gl(r);if(TC(l,function(ke){return!!(ke.flags&4)}))return Zr(r,e.Diagnostics.Cannot_create_an_instance_of_an_abstract_class),Gl(r);var g=s.symbol&&e.getClassLikeDeclarationOfSymbol(s.symbol);return g&&e.hasSyntacticModifier(g,256)?(Zr(r,e.Diagnostics.Cannot_create_an_instance_of_an_abstract_class),Gl(r)):xm(r,l,n,i,0)}var W=_a(s,0);if(W.length){var ce=xm(r,W,n,i,0);return Ue||(ce.declaration&&!Sl(ce.declaration)&&Ao(ce)!==Ir&&Zr(r,e.Diagnostics.Only_a_void_function_can_be_called_with_the_new_keyword),Hd(ce)===Ir&&Zr(r,e.Diagnostics.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void)),ce}return pD(r.expression,s,1),Gl(r)}function TC(r,n){return e.isArray(r)?e.some(r,function(i){return TC(i,n)}):r.compositeKind===1048576?e.some(r.compositeSignatures,n):n(r)}function dD(r,n){var i=nu(n);if(!e.length(i))return!1;var a=i[0];if(a.flags&2097152){for(var s=a.types,l=Rv(s),g=0,W=0,ce=a.types;W0;if(n.flags&1048576){for(var W=n.types,ce=!1,ke=0,rr=W;ke1?Ds(r.arguments[1]):void 0,s=2;s=i-1)return n===i-1?s:ic(Zc(s,Hn));for(var l=[],g=[],W=[],ce=n;ce0&&(s=r.parameters.length-1+W)}}if(s===void 0){if(!i&&r.flags&32)return 0;s=r.minArgumentCount}if(a)return s;for(var ce=s-1;ce>=0;ce--){var ke=fl(r,ce);if(Qs(ke,dC).flags&131072)break;s=ce}r.resolvedMinArgumentCount=s}return r.resolvedMinArgumentCount}function Kl(r){if(G(r)){var n=Li(r.parameters[r.parameters.length-1]);return!Xa(n)||n.target.hasRestElement}return!1}function _v(r){if(G(r)){var n=Li(r.parameters[r.parameters.length-1]);if(!Xa(n))return n;if(n.target.hasRestElement)return Gm(n,n.target.fixedLength)}}function dv(r){var n=_v(r);return n&&!Fu(n)&&!Ba(n)&&(ct(n).flags&131072)==0?n:void 0}function vD(r){return yD(r,we)}function yD(r,n){return r.parameters.length>0?fl(r,0):n}function T3(r,n,i){for(var a=r.parameters.length-(G(r)?1:0),s=0;s0&&(l=Ot(ke,2)):ce=we;var rr=N3(r,n),$e=rr.yieldTypes,ar=rr.nextTypes;g=e.some($e)?Ot($e,2):void 0,W=e.some(ar)?ro(ar):void 0}else{var ir=GC(r,n);if(!ir)return i&2?ky(r,we):we;if(ir.length===0)return i&2?ky(r,Ir):Ir;l=Ot(ir,2)}if(l||g||W){if(g&&Uh(r,g,3),l&&Uh(r,l,1),W&&Uh(r,W,2),l&&ll(l)||g&&ll(g)||W&&ll(W)){var Wr=W2(r),sn=Wr?Wr===Vu(r)?s?void 0:l:e0(Ao(Wr),r,void 0):void 0;s?(g=o2(g,sn,0,a),l=o2(l,sn,1,a),W=o2(W,sn,2,a)):l=nA(l,sn,a)}g&&(g=tu(g)),l&&(l=tu(l)),W&&(W=tu(W))}return s?UC(g||we,l||ce,W||wx(2,r)||_r,a):a?Ey(l||ce):l||ce}function UC(r,n,i,a){var s=a?Nn:wn,l=s.getGlobalGeneratorType(!1);if(r=s.resolveIterationType(r,void 0)||_r,n=s.resolveIterationType(n,void 0)||_r,i=s.resolveIterationType(i,void 0)||_r,l===Ea){var g=s.getGlobalIterableIteratorType(!1),W=g!==Ea?OT(g,s):void 0,ce=W?W.returnType:Te,ke=W?W.nextType:zr;return io(n,ce)&&io(ke,i)?g!==Ea?qm(g,[r]):(s.getGlobalIterableIteratorType(!0),Zi):(s.getGlobalGeneratorType(!0),Zi)}return qm(l,[r,n,i])}function N3(r,n){var i=[],a=[],s=(e.getFunctionFlags(r)&2)!=0;return e.forEachYieldExpression(r.body,function(l){var g=l.expression?ya(l.expression,n):fn;e.pushIfUnique(i,zC(l,g,Te,s));var W;if(l.asteriskToken){var ce=A0(g,s?19:17,l.expression);W=ce&&ce.nextType}else W=Yc(l,void 0);W&&e.pushIfUnique(a,W)}),{yieldTypes:i,nextTypes:a}}function zC(r,n,i,a){var s=r.expression||r,l=r.asteriskToken?J_(a?19:17,n,i,s):n;return a?ug(l,s,r.asteriskToken?e.Diagnostics.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:e.Diagnostics.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):l}function WC(r,n,i){for(var a=0,s=0;s=n?i[s]:void 0;a|=l!==void 0?le.get(l)||32768:0}return a}function VC(r){var n=At(r);if(n.isExhaustive===void 0){n.isExhaustive=0;var i=P3(r);n.isExhaustive===0&&(n.isExhaustive=i)}else n.isExhaustive===0&&(n.isExhaustive=!1);return n.isExhaustive}function P3(r){if(r.expression.kind===218){var n=px(r);if(!n)return!1;var i=O_(Ds(r.expression.expression)),a=WC(0,0,n);return i.flags&3?(556800&a)==556800:!Jf(i,function(g){return(fc(g)&a)===a})}var s=Ds(r.expression);if(!Bg(s))return!1;var l=qh(r);return!l.length||e.some(l,$6)?!1:QA(Qo(s,Jc),l)}function qC(r){return r.endFlowNode&&dy(r.endFlowNode)}function GC(r,n){var i=e.getFunctionFlags(r),a=[],s=qC(r),l=!1;if(e.forEachReturnStatement(r.body,function(g){var W=g.expression;if(W){var ce=Ds(W,n&&n&~8);i&2&&(ce=km(hv(ce,!1,r,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member))),ce.flags&131072&&(l=!0),e.pushIfUnique(a,ce)}else s=!0}),!(a.length===0&&!s&&(l||I3(r))))return Re&&a.length&&s&&!(Sl(r)&&a.some(function(g){return g.symbol===r.symbol}))&&e.pushIfUnique(a,zr),a}function I3(r){switch(r.kind){case 215:case 216:return!0;case 171:return r.parent.kind===207;default:return!1}}function hD(r,n){Z(i);return;function i(){var a=e.getFunctionFlags(r),s=n&&N0(n,a);if(!(s&&rs(s,1|16384))&&!(r.kind===170||e.nodeIsMissing(r.body)||r.body.kind!==238||!qC(r))){var l=r.flags&512,g=e.getEffectiveReturnTypeNode(r)||r;if(s&&s.flags&131072)Zr(g,e.Diagnostics.A_function_returning_never_cannot_have_a_reachable_end_point);else if(s&&!l)Zr(g,e.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value);else if(s&&Re&&!io(zr,s))Zr(g,e.Diagnostics.Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined);else if(Y.noImplicitReturns){if(!s){if(!l)return;var W=Ao(Vu(r));if(jT(r,W))return}Zr(g,e.Diagnostics.Not_all_code_paths_return_a_value)}}}}function HC(r,n){if(e.Debug.assert(r.kind!==171||e.isObjectLiteralMethod(r)),Im(r),e.isFunctionExpression(r)&&Nm(r,r.name),n&&n&4&&Gu(r)){if(!e.getEffectiveReturnTypeNode(r)&&!e.hasContextSensitiveParameters(r)){var i=cv(r);if(i&&Mp(Ao(i))){var a=At(r);if(a.contextFreeType)return a.contextFreeType;var s=y0(r,n),l=Bl(void 0,void 0,void 0,e.emptyArray,s,void 0,0,0),g=Yo(r.symbol,Oe,[l],e.emptyArray,e.emptyArray);return g.objectFlags|=262144,a.contextFreeType=g}}return ho}var W=J0(r);return!W&&r.kind===215&&rb(r),w3(r,n),Li(zi(r))}function w3(r,n){var i=At(r);if(!(i.flags&1024)){var a=cv(r);if(!(i.flags&1024)){i.flags|=1024;var s=e.firstOrUndefined(_a(Li(zi(r)),0));if(!s)return;if(Gu(r))if(a){var l=Wg(r),g=void 0;if(n&&n&2){T3(s,a,l);var W=_v(a);W&&W.flags&262144&&(g=Lg(a,l.nonFixingMapper))}g||(g=l?Lg(a,l.mapper):a),E3(s,g)}else k3(s);if(a&&!Pg(r)&&!s.resolvedReturnType){var ce=y0(r,n);s.resolvedReturnType||(s.resolvedReturnType=ce)}gv(r)}}}function O3(r){e.Debug.assert(r.kind!==171||e.isObjectLiteralMethod(r));var n=e.getFunctionFlags(r),i=Pg(r);if(hD(r,i),r.body)if(e.getEffectiveReturnTypeNode(r)||Ao(Vu(r)),r.body.kind===238)eo(r.body);else{var a=ya(r.body),s=i&&N0(i,n);if(s)if((n&3)==2){var l=hv(a,!1,r.body,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);R_(l,s,r.body,r.body)}else R_(a,s,r.body,r.body)}}function h0(r,n,i,a){if(a===void 0&&(a=!1),!io(n,Xn)){var s=a&&vv(n);return $l(r,!!s&&io(s,Xn),i),!1}return!0}function F3(r){if(!e.isCallExpression(r)||!e.isBindableObjectDefinePropertyCall(r))return!1;var n=Ds(r.arguments[2]),i=Na(n,"value");if(i){var a=Zt(n,"writable"),s=a&&Li(a);if(!s||s===ti||s===Hi)return!0;if(a&&a.valueDeclaration&&e.isPropertyAssignment(a.valueDeclaration)){var l=a.valueDeclaration.initializer,g=ya(l);if(g===ti||g===Hi)return!0}return!1}var W=Zt(n,"set");return!W}function _l(r){return!!(e.getCheckFlags(r)&8||r.flags&4&&e.getDeclarationModifierFlagsFromSymbol(r)&64||r.flags&3&&a0(r)&2||r.flags&98304&&!(r.flags&65536)||r.flags&8||e.some(r.declarations,F3))}function KC(r,n,i){var a,s;if(i===0)return!1;if(_l(n)){if(n.flags&4&&e.isAccessExpression(r)&&r.expression.kind===108){var l=e.getContainingFunction(r);if(!(l&&(l.kind===173||Sl(l))))return!0;if(n.valueDeclaration){var g=e.isBinaryExpression(n.valueDeclaration),W=l.parent===n.valueDeclaration.parent,ce=l===n.valueDeclaration.parent,ke=g&&((a=n.parent)===null||a===void 0?void 0:a.valueDeclaration)===l.parent,rr=g&&((s=n.parent)===null||s===void 0?void 0:s.valueDeclaration)===l,$e=W||ce||ke||rr;return!$e}}return!0}if(e.isAccessExpression(r)){var ar=e.skipParentheses(r.expression);if(ar.kind===79){var ir=At(ar).resolvedSymbol;if(ir.flags&2097152){var Wr=Mu(ir);return!!Wr&&Wr.kind===271}}}return!1}function pv(r,n,i){var a=e.skipOuterExpressions(r,6|1);return a.kind!==79&&!e.isAccessExpression(a)?(Zr(r,n),!1):a.flags&32?(Zr(r,i),!1):!0}function M3(r){ya(r.expression);var n=e.skipParentheses(r.expression);if(!e.isAccessExpression(n))return Zr(n,e.Diagnostics.The_operand_of_a_delete_operator_must_be_a_property_reference),Pn;e.isPropertyAccessExpression(n)&&e.isPrivateIdentifier(n.name)&&Zr(n,e.Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_private_identifier);var i=At(n),a=il(i.resolvedSymbol);return a&&(_l(a)&&Zr(n,e.Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_read_only_property),L3(n,a)),Pn}function L3(r,n){var i=Li(n);Re&&!(i.flags&(3|131072))&&!(vr?n.flags&16777216:fc(i)&16777216)&&Zr(r,e.Diagnostics.The_operand_of_a_delete_operator_must_be_optional)}function R3(r){return ya(r.expression),Tr}function B3(r){return ya(r.expression),fn}function J3(r){var n=e.getContainingFunctionOrClassStaticBlock(r);if(n&&e.isClassStaticBlockDeclaration(n))Zr(r,e.Diagnostics.Await_expression_cannot_be_used_inside_a_class_static_block);else if(!(r.flags&32768))if(e.isInTopLevelContext(r)){var i=e.getSourceFileOfNode(r);if(!zp(i)){var a=void 0;if(!e.isEffectiveExternalModule(i,Y)){a!=null||(a=e.getSpanOfTokenAtPosition(i,r.pos));var s=e.createFileDiagnostic(i,a.start,a.length,e.Diagnostics.await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module);fe.add(s)}switch(j){case e.ModuleKind.Node16:case e.ModuleKind.NodeNext:if(i.impliedNodeFormat===e.ModuleKind.CommonJS){a!=null||(a=e.getSpanOfTokenAtPosition(i,r.pos)),fe.add(e.createFileDiagnostic(i,a.start,a.length,e.Diagnostics.The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level));break}case e.ModuleKind.ES2022:case e.ModuleKind.ESNext:case e.ModuleKind.System:if(d>=4)break;default:a!=null||(a=e.getSpanOfTokenAtPosition(i,r.pos)),fe.add(e.createFileDiagnostic(i,a.start,a.length,e.Diagnostics.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher));break}}}else{var i=e.getSourceFileOfNode(r);if(!zp(i)){var a=e.getSpanOfTokenAtPosition(i,r.pos),s=e.createFileDiagnostic(i,a.start,a.length,e.Diagnostics.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules);if(n&&n.kind!==173&&(e.getFunctionFlags(n)&2)==0){var l=e.createDiagnosticForNode(n,e.Diagnostics.Did_you_mean_to_mark_this_function_as_async);e.addRelatedInfo(s,l)}fe.add(s)}}R2(r)&&Zr(r,e.Diagnostics.await_expressions_cannot_be_used_in_a_parameter_initializer)}function j3(r){Z(function(){return J3(r)});var n=ya(r.expression),i=hv(n,!0,r,e.Diagnostics.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);return i===n&&!ca(i)&&!(n.flags&3)&&Yl(!1,e.createDiagnosticForNode(r,e.Diagnostics.await_has_no_effect_on_the_type_of_this_expression)),i}function U3(r){var n=ya(r.operand);if(n===hn)return hn;switch(r.operand.kind){case 8:switch(r.operator){case 40:return Mg(Vl(-r.operand.text));case 39:return Mg(Vl(+r.operand.text))}break;case 9:if(r.operator===40)return Mg(Dh({negative:!0,base10Value:e.parsePseudoBigInt(r.operand.text)}))}switch(r.operator){case 39:case 40:case 54:return bl(n,r.operand),Ay(n,12288)&&Zr(r.operand,e.Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol,e.tokenToString(r.operator)),r.operator===39?(Ay(n,2112)&&Zr(r.operand,e.Diagnostics.Operator_0_cannot_be_applied_to_type_1,e.tokenToString(r.operator),Oi(ql(n))),Hn):DD(n);case 53:Qg(r.operand);var i=fc(n)&(4194304|8388608);return i===4194304?ti:i===8388608?Ni:Pn;case 45:case 46:var a=h0(r.operand,bl(n,r.operand),e.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type);return a&&pv(r.operand,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),DD(n)}return ue}function z3(r){var n=ya(r.operand);if(n===hn)return hn;var i=h0(r.operand,bl(n,r.operand),e.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type);return i&&pv(r.operand,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),DD(n)}function DD(r){return rs(r,2112)?Bs(r,3)||rs(r,296)?Xn:Ai:Hn}function Ay(r,n){if(rs(r,n))return!0;var i=O_(r);return!!i&&rs(i,n)}function rs(r,n){if(r.flags&n)return!0;if(r.flags&3145728)for(var i=r.types,a=0,s=i;a1&&n.charCodeAt(i-1)>=48&&n.charCodeAt(i-1)<=57;)i--;for(var a=n.slice(0,i),s=1;;s++){var l=a+s;if(!TD(r,l))return l}}function tT(r){var n=cg(r);if(n&&!n.typeParameters)return Ao(n)}function lP(r){var n=ya(r.expression),i=rv(n,r.expression),a=tT(n);return a&&Rh(a,r,i!==n)}function Xs(r){var n=aT(r);if(n)return n;if(r.flags&134217728&&$c){var i=$c[V(r)];if(i)return i}var a=Gs,s=ya(r);if(Gs!==a){var l=$c||($c=[]);l[V(r)]=s,e.setNodeFlags(r,r.flags|134217728)}return s}function aT(r){var n=e.skipParentheses(r,!0);if(e.isJSDocTypeAssertion(n)){var i=e.getJSDocTypeAssertionType(n);if(!e.isConstTypeReference(i))return zt(i)}if(n=e.skipParentheses(r),e.isCallExpression(n)&&n.expression.kind!==106&&!e.isRequireCall(n,!0)&&!AC(n)){var i=e.isCallChain(n)?lP(n):tT(Sm(n.expression));if(i)return i}else{if(e.isAssertionExpression(n)&&!e.isConstTypeReference(n.type))return zt(n.type);if(r.kind===8||r.kind===10||r.kind===110||r.kind===95)return ya(r)}}function wy(r){var n=At(r);if(n.contextFreeType)return n.contextFreeType;var i=r.contextualType;r.contextualType=Te;try{var a=n.contextFreeType=ya(r,4);return a}finally{r.contextualType=i}}function ya(r,n,i){e.tracing===null||e.tracing===void 0||e.tracing.push("check","checkExpression",{kind:r.kind,pos:r.pos,end:r.end,path:r.tracingPath});var a=Xe;Xe=r,Me=0;var s=dP(r,n,i),l=nT(r,s,n);return bD(l)&&fP(r,l),Xe=a,e.tracing===null||e.tracing===void 0||e.tracing.pop(),l}function fP(r,n){var i=r.parent.kind===208&&r.parent.expression===r||r.parent.kind===209&&r.parent.expression===r||(r.kind===79||r.kind===163)&&F0(r)||r.parent.kind===183&&r.parent.exprName===r||r.parent.kind===278;if(i||Zr(r,e.Diagnostics.const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query),Y.isolatedModules){e.Debug.assert(!!(n.symbol.flags&128));var a=n.symbol.valueDeclaration;a.flags&16777216&&Zr(r,e.Diagnostics.Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided)}}function _P(r,n){if(e.hasJSDocNodes(r)&&e.isJSDocTypeAssertion(r)){var i=e.getJSDocTypeAssertionType(r);return FC(i,i,r.expression,n)}return ya(r.expression,n)}function dP(r,n,i){var a=r.kind;if(B)switch(a){case 228:case 215:case 216:B.throwIfCancellationRequested()}switch(a){case 79:return d4(r,n);case 80:return CN(r);case 108:return gy(r);case 106:return M2(r);case 104:return qn;case 14:case 10:return Mg(Ou(r.text));case 8:return ab(r),Mg(Vl(+r.text));case 9:return l7(r),Mg(Dh({negative:!1,base10Value:e.parsePseudoBigInt(r.text)}));case 110:return Ni;case 95:return ti;case 225:return rP(r);case 13:return ps;case 206:return Bx(r,n,i);case 207:return tN(r,n);case 208:return $x(r,n);case 163:return eC(r,n);case 209:return jN(r,n);case 210:if(r.expression.kind===100)return g3(r);case 211:return p3(r,n);case 212:return m3(r);case 214:return _P(r,n);case 228:return X8(r);case 215:case 216:return HC(r,n);case 218:return R3(r);case 213:case 231:return v3(r);case 232:return h3(r);case 230:return MC(r);case 235:return D3(r);case 233:return b3(r);case 217:return M3(r);case 219:return B3(r);case 220:return j3(r);case 221:return U3(r);case 222:return z3(r);case 223:return kr(r,n);case 224:return eP(r,n);case 227:return $4(r,n);case 229:return fn;case 226:return $3(r);case 234:return eN(r);case 291:return vN(r,n);case 281:return cN(r,n);case 282:return oN(r,n);case 285:return uN(r);case 289:return fN(r,n);case 283:e.Debug.fail("Shouldn't ever directly check a JsxOpeningElement")}return ue}function oT(r){yE(r),r.expression&&Ws(r.expression,e.Diagnostics.Type_expected),eo(r.constraint),eo(r.default);var n=Et(zi(r));uc(n),a1(n)||Zr(r.default,e.Diagnostics.Type_parameter_0_has_a_circular_default,Oi(n));var i=rc(n),a=pd(n);i&&a&&Fc(a,Qc(ra(i,Yd(n,a)),a),r.default,e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1),Im(r),Z(function(){return Pm(r.name,e.Diagnostics.Type_parameter_name_cannot_be_0)})}function pP(r){if(e.isInterfaceDeclaration(r.parent)||e.isClassLike(r.parent)||e.isTypeAliasDeclaration(r.parent)){var n=Et(zi(r)),i=e2(n);if(i){var a=zi(r.parent);if(e.isTypeAliasDeclaration(r.parent)&&!(e.getObjectFlags(nt(a))&(16|32)))Zr(r,e.Diagnostics.Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types);else if(i===32768||i===65536){e.tracing===null||e.tracing===void 0||e.tracing.push("checkTypes","checkTypeParameterDeferred",{parent:tc(nt(a)),id:tc(n)});var s=ty(a,n,i===65536?Xo:so),l=ty(a,n,i===65536?so:Xo),g=n;Ne=n,Fc(s,l,r,e.Diagnostics.Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation),Ne=g,e.tracing===null||e.tracing===void 0||e.tracing.pop()}}}}function sT(r){jf(r),E0(r);var n=e.getContainingFunction(r);e.hasSyntacticModifier(r,16476)&&(n.kind===173&&e.nodeIsPresent(n.body)||Zr(r,e.Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation),n.kind===173&&e.isIdentifier(r.name)&&r.name.escapedText==="constructor"&&Zr(r.name,e.Diagnostics.constructor_cannot_be_used_as_a_parameter_property_name)),(r.questionToken||Yp(r))&&e.isBindingPattern(r.name)&&n.body&&Zr(r,e.Diagnostics.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature),r.name&&e.isIdentifier(r.name)&&(r.name.escapedText==="this"||r.name.escapedText==="new")&&(n.parameters.indexOf(r)!==0&&Zr(r,e.Diagnostics.A_0_parameter_must_be_the_first_parameter,r.name.escapedText),(n.kind===173||n.kind===177||n.kind===182)&&Zr(r,e.Diagnostics.A_constructor_cannot_have_a_this_parameter),n.kind===216&&Zr(r,e.Diagnostics.An_arrow_function_cannot_have_a_this_parameter),(n.kind===174||n.kind===175)&&Zr(r,e.Diagnostics.get_and_set_accessors_cannot_declare_this_parameters)),r.dotDotDotToken&&!e.isBindingPattern(r.name)&&!io(ct(Li(r.symbol)),dc)&&Zr(r,e.Diagnostics.A_rest_parameter_must_be_of_an_array_type)}function gP(r){var n=mP(r);if(!n){Zr(r,e.Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return}var i=Vu(n),a=qu(i);if(!!a){eo(r.type);var s=r.parameterName;if(a.kind===0||a.kind===2)bh(s);else if(a.parameterIndex>=0){if(G(i)&&a.parameterIndex===i.parameters.length-1)Zr(s,e.Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter);else if(a.type){var l=function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type)};Fc(a.type,Li(i.parameters[a.parameterIndex]),r.type,void 0,l)}}else if(s){for(var g=!1,W=0,ce=n.parameters;W0&&n.declarations[0]!==r)return}var i=fb(zi(r));if(i==null?void 0:i.declarations){for(var a=new e.Map,s=function(ce){ce.parameters.length===1&&ce.parameters[0].type&&Rp(zt(ce.parameters[0].type),function(ke){var rr=a.get(tc(ke));rr?rr.declarations.push(ce):a.set(tc(ke),{type:ke,declarations:[ce]})})},l=0,g=i.declarations;l1)for(var ke=0,rr=ce.declarations;ke1){var i=Qt(n);if(!i.typeParametersChecked){i.typeParametersChecked=!0;var a=Et(n),s=e.getDeclarationsOfKind(n,165);if(!WT(s,[a],function(ke){return[ke]}))for(var l=Xt(n),g=0,W=s;g0}function PD(r){var n;if(r.flags&16777216){var i=h1(!1);return!!i&&r.aliasSymbol===i&&((n=r.aliasTypeArguments)===null||n===void 0?void 0:n.length)===1}return!1}function km(r){return r.flags&1048576?Qo(r,km):PD(r)?r.aliasTypeArguments[0]:r}function mT(r){if(Ba(r)||PD(r))return!1;if(Qd(r)){var n=uc(r);if(n?n.flags&3||Rf(n)||Jf(n,gT):rs(r,8650752))return!0}return!1}function VP(r){var n=h1(!0);if(n)return wg(n,[km(r)])}function qP(r){if(mT(r)){var n=VP(r);if(n)return n}return e.Debug.assert(yv(r)===void 0,"type provided should not be a non-generic 'promise'-like."),r}function ug(r,n,i,a){var s=__(r,n,i,a);return s&&qP(s)}function __(r,n,i,a){if(Ba(r)||PD(r))return r;var s=r;if(s.awaitedTypeOfType)return s.awaitedTypeOfType;if(r.flags&1048576){if(Vo.lastIndexOf(r.id)>=0){n&&Zr(n,e.Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method);return}var l=n?function($e){return __($e,n,i,a)}:__;Vo.push(r.id);var g=Qo(r,l);return Vo.pop(),s.awaitedTypeOfType=g}if(mT(r))return s.awaitedTypeOfType=r;var W={value:void 0},ce=yv(r,void 0,W);if(ce){if(r.id===ce.id||Vo.lastIndexOf(ce.id)>=0){n&&Zr(n,e.Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method);return}Vo.push(r.id);var ke=__(ce,n,i,a);return Vo.pop(),ke?s.awaitedTypeOfType=ke:void 0}if(gT(r)){if(n){e.Debug.assertIsDefined(i);var rr=void 0;W.value&&(rr=e.chainDiagnosticMessages(rr,e.Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1,Oi(r),Oi(W.value))),rr=e.chainDiagnosticMessages(rr,i,a),fe.add(e.createDiagnosticForNodeFromMessageChain(n,rr))}return}return s.awaitedTypeOfType=r}function GP(r,n){var i=zt(n);if(d>=2){if(ca(i))return;var a=Qv(!0);if(a!==Ea&&!yu(i,a)){Zr(n,e.Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0,Oi(__(i)||Ir));return}}else{if(KP(n),ca(i))return;var s=e.getEntityNameFromTypeNode(n);if(s===void 0){Zr(n,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,Oi(i));return}var l=ts(s,111551,!0),g=l?Li(l):ue;if(ca(g)){s.kind===79&&s.escapedText==="Promise"&&wf(i)===Qv(!1)?Zr(n,e.Diagnostics.An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option):Zr(n,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,e.entityNameToString(s));return}var W=ZE(!0);if(W===Zi){Zr(n,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,e.entityNameToString(s));return}if(!Fc(g,W,n,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value))return;var ce=s&&e.getFirstIdentifier(s),ke=Wc(r.locals,ce.escapedText,111551);if(ke){Zr(ke.valueDeclaration,e.Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,e.idText(ce),e.entityNameToString(s));return}}hv(i,!1,r,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}function HP(r){var n=Gg(r);m0(n,r);var i=Ao(n);if(!(i.flags&1)){var a,s;switch(r.parent.kind){case 260:a=e.Diagnostics.Decorator_function_return_type_0_is_not_assignable_to_type_1;var l=zi(r.parent),g=Li(l);s=Ot([g,Ir]);break;case 169:case 166:a=e.Diagnostics.Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any,s=Ir;break;case 171:case 174:case 175:a=e.Diagnostics.Decorator_function_return_type_0_is_not_assignable_to_type_1;var W=lg(r.parent),ce=Ob(W);s=Ot([ce,Ir]);break;default:return e.Debug.fail()}Fc(i,s,r,a)}}function KP(r){vT(r&&e.getEntityNameFromTypeNode(r),!1)}function vT(r,n){if(!!r){var i=e.getFirstIdentifier(r),a=(r.kind===79?788968:1920)|2097152,s=is(i,i.escapedText,a,void 0,void 0,!0);if(s&&s.flags&2097152){if(Il(s)&&!Sv(wi(s))&&!Ec(s))su(s);else if(n&&Y.isolatedModules&&e.getEmitModuleKind(Y)>=e.ModuleKind.ES2015&&!Il(s)&&!e.some(s.declarations,e.isTypeOnlyImportOrExportDeclaration)){var l=Zr(r,e.Diagnostics.A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled),g=e.find(s.declarations||e.emptyArray,nf);g&&e.addRelatedInfo(l,e.createDiagnosticForNode(g,e.Diagnostics._0_was_imported_here,e.idText(i)))}}}}function Am(r){var n=ID(r);n&&e.isEntityName(n)&&vT(n,!0)}function ID(r){if(r)switch(r.kind){case 190:case 189:return yT(r.types);case 191:return yT([r.trueType,r.falseType]);case 193:case 199:return ID(r.type);case 180:return r.typeName}}function yT(r){for(var n,i=0,a=r;i0),i.length>1&&Zr(i[1],e.Diagnostics.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag);var a=hT(r.class.expression),s=e.getClassExtendsHeritageElement(n);if(s){var l=hT(s.expression);l&&a.escapedText!==l.escapedText&&Zr(a,e.Diagnostics.JSDoc_0_1_does_not_match_the_extends_2_clause,e.idText(r.tagName),e.idText(a),e.idText(l))}}function a8(r){var n=e.getJSDocHost(r);n&&e.isPrivateIdentifierClassElementDeclaration(n)&&Zr(r,e.Diagnostics.An_accessibility_modifier_cannot_be_used_with_a_private_identifier)}function hT(r){switch(r.kind){case 79:return r;case 208:return r.name;default:return}}function DT(r){var n;Fy(r),gv(r);var i=e.getFunctionFlags(r);if(r.name&&r.name.kind===164&&f_(r.name),Pp(r)){var a=zi(r),s=r.localSymbol||a,l=(n=s.declarations)===null||n===void 0?void 0:n.find(function(ke){return ke.kind===r.kind&&!(ke.flags&262144)});r===l&&x0(s),a.parent&&x0(a)}var g=r.kind===170?void 0:r.body;if(eo(g),hD(r,Pg(r)),Z(ce),e.isInJSFile(r)){var W=e.getJSDocTypeTag(r);W&&W.typeExpression&&!z2(zt(W.typeExpression),r)&&Zr(W.typeExpression.type,e.Diagnostics.The_type_of_a_function_declaration_must_match_the_function_s_signature)}function ce(){e.getEffectiveReturnTypeNode(r)||(e.nodeIsMissing(g)&&!Oy(r)&&rp(r,Te),i&1&&e.nodeIsPresent(g)&&Ao(Vu(r)))}}function B_(r){Z(n);function n(){var i=e.getSourceFileOfNode(r),a=Lc.get(i.path);a||(a=[],Lc.set(i.path,a)),a.push(r)}}function bT(r,n){for(var i=0,a=r;i=2||!e.hasRestParameter(r)||r.flags&16777216||e.nodeIsMissing(r.body)||e.forEach(r.parameters,function(n){n.name&&!e.isBindingPattern(n.name)&&n.name.escapedText===ve.escapedName&&pl("noEmit",n,e.Diagnostics.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)})}function Dv(r,n,i){if((n==null?void 0:n.escapedText)!==i||r.kind===169||r.kind===168||r.kind===171||r.kind===170||r.kind===174||r.kind===175||r.kind===299||r.flags&16777216||(e.isImportClause(r)||e.isImportEqualsDeclaration(r)||e.isImportSpecifier(r))&&e.isTypeOnlyImportOrExportDeclaration(r))return!1;var a=e.getRootDeclaration(r);return!(e.isParameter(a)&&e.nodeIsMissing(a.parent.body))}function _8(r){e.findAncestor(r,function(n){if(Zg(n)&4){var i=r.kind!==79;return i?Zr(e.getNameOfDeclaration(r),e.Diagnostics.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference):Zr(r,e.Diagnostics.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference),!0}return!1})}function d8(r){e.findAncestor(r,function(n){if(Zg(n)&8){var i=r.kind!==79;return i?Zr(e.getNameOfDeclaration(r),e.Diagnostics.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference):Zr(r,e.Diagnostics.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference),!0}return!1})}function p8(r,n){if(!(j>=e.ModuleKind.ES2015&&!(j>=e.ModuleKind.Node16&&e.getSourceFileOfNode(r).impliedNodeFormat===e.ModuleKind.CommonJS))&&!(!n||!Dv(r,n,"require")&&!Dv(r,n,"exports"))&&!(e.isModuleDeclaration(r)&&e.getModuleInstanceState(r)!==1)){var i=Wa(r);i.kind===308&&e.isExternalOrCommonJsModule(i)&&pl("noEmit",n,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,e.declarationNameToString(n),e.declarationNameToString(n))}}function g8(r,n){if(!(!n||d>=4||!Dv(r,n,"Promise"))&&!(e.isModuleDeclaration(r)&&e.getModuleInstanceState(r)!==1)){var i=Wa(r);i.kind===308&&e.isExternalOrCommonJsModule(i)&&i.flags&2048&&pl("noEmit",n,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,e.declarationNameToString(n),e.declarationNameToString(n))}}function m8(r,n){d<=8&&(Dv(r,n,"WeakMap")||Dv(r,n,"WeakSet"))&&Ns.push(r)}function v8(r){var n=e.getEnclosingBlockScopeContainer(r);Zg(n)&67108864&&(e.Debug.assert(e.isNamedDeclaration(r)&&e.isIdentifier(r.name)&&typeof r.name.escapedText=="string","The target of a WeakMap/WeakSet collision check should be an identifier"),pl("noEmit",r,e.Diagnostics.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel,r.name.escapedText))}function y8(r,n){n&&d>=2&&d<=8&&Dv(r,n,"Reflect")&&jo.push(r)}function h8(r){var n=!1;if(e.isClassExpression(r))for(var i=0,a=r.members;i1&&e.some(ir.declarations,function(Kn){return Kn!==r&&e.isVariableLike(Kn)&&!kT(Kn,r)})&&Zr(r.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(r.name))}else{var Sn=bv(Lt(r));!ca(Wr)&&!ca(Sn)&&!Lf(Wr,Sn)&&!(ir.flags&67108864)&&ET(ir.valueDeclaration,Wr,r,Sn),e.hasOnlyExpressionInitializer(r)&&r.initializer&&R_(Ds(r.initializer),Sn,r,r.initializer,void 0),ir.valueDeclaration&&!kT(r,ir.valueDeclaration)&&Zr(r.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(r.name))}r.kind!==169&&r.kind!==168&&(mv(r),(r.kind===257||r.kind===205)&&D8(r),Nm(r,r.name))}}function ET(r,n,i,a){var s=e.getNameOfDeclaration(i),l=i.kind===169||i.kind===168?e.Diagnostics.Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:e.Diagnostics.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2,g=e.declarationNameToString(s),W=Zr(s,l,g,Oi(n),Oi(a));r&&e.addRelatedInfo(W,e.createDiagnosticForNode(r,e.Diagnostics._0_was_also_declared_here,g))}function kT(r,n){if(r.kind===166&&n.kind===257||r.kind===257&&n.kind===166)return!0;if(e.hasQuestionToken(r)!==e.hasQuestionToken(n))return!1;var i=8|16|512|256|64|32;return e.getSelectedEffectiveModifierFlags(r,i)===e.getSelectedEffectiveModifierFlags(n,i)}function FD(r){e.tracing===null||e.tracing===void 0||e.tracing.push("check","checkVariableDeclaration",{kind:r.kind,pos:r.pos,end:r.end,path:r.tracingPath}),$5(r),E0(r),e.tracing===null||e.tracing===void 0||e.tracing.pop()}function b8(r){return X5(r),E0(r)}function S8(r){!jf(r)&&!tb(r.declarationList)&&e7(r),e.forEach(r.declarationList.declarations,eo)}function x8(r){Uf(r),ya(r.expression)}function C8(r){Uf(r);var n=Qg(r.expression);MD(r.expression,n,r.thenStatement),eo(r.thenStatement),r.thenStatement.kind===239&&Zr(r.thenStatement,e.Diagnostics.The_body_of_an_if_statement_cannot_be_the_empty_statement),eo(r.elseStatement)}function MD(r,n,i){if(!Re)return;for(a(r,i);e.isBinaryExpression(r)&&r.operatorToken.kind===56;)r=r.left,a(r,i);function a(s,l){var g=e.isBinaryExpression(s)&&(s.operatorToken.kind===56||s.operatorToken.kind===55)?s.right:s;if(!e.isModuleExportsAccessExpression(g)){var W=g===s?n:Qg(g),ce=e.isPropertyAccessExpression(g)&&$C(g.expression);if(!(!(fc(W)&4194304)||ce)){var ke=_a(W,0),rr=!!vv(W);if(!(ke.length===0&&!rr)){var $e=e.isIdentifier(g)?g:e.isPropertyAccessExpression(g)?g.name:e.isBinaryExpression(g)&&e.isIdentifier(g.right)?g.right:void 0,ar=$e&&Ku($e);if(!(!ar&&!rr)){var ir=ar&&e.isBinaryExpression(s.parent)&&E8(s.parent,ar)||ar&&l&&T8(s,l,$e,ar);ir||(rr?$l(g,!0,e.Diagnostics.This_condition_will_always_return_true_since_this_0_is_always_defined,ad(W)):Zr(g,e.Diagnostics.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead))}}}}}}function T8(r,n,i,a){return!!e.forEachChild(n,function s(l){if(e.isIdentifier(l)){var g=Ku(l);if(g&&g===a){if(e.isIdentifier(r)||e.isIdentifier(i)&&e.isBinaryExpression(i.parent))return!0;for(var W=i.parent,ce=l.parent;W&&ce;){if(e.isIdentifier(W)&&e.isIdentifier(ce)||W.kind===108&&ce.kind===108)return Ku(W)===Ku(ce);if(e.isPropertyAccessExpression(W)&&e.isPropertyAccessExpression(ce)){if(Ku(W.name)!==Ku(ce.name))return!1;ce=ce.expression,W=W.expression}else if(e.isCallExpression(W)&&e.isCallExpression(ce))ce=ce.expression,W=W.expression;else return!1}}}return e.forEachChild(l,s)})}function E8(r,n){for(;e.isBinaryExpression(r)&&r.operatorToken.kind===55;){var i=e.forEachChild(r.right,function a(s){if(e.isIdentifier(s)){var l=Ku(s);if(l&&l===n)return!0}return e.forEachChild(s,a)});if(i)return!0;r=r.parent}return!1}function k8(r){Uf(r),eo(r.statement),Qg(r.expression)}function A8(r){Uf(r),Qg(r.expression),eo(r.statement)}function AT(r,n){return r.flags&16384&&Zr(n,e.Diagnostics.An_expression_of_type_void_cannot_be_tested_for_truthiness),r}function Qg(r,n){return AT(ya(r,n),r)}function N8(r){Uf(r)||r.initializer&&r.initializer.kind===258&&tb(r.initializer),r.initializer&&(r.initializer.kind===258?e.forEach(r.initializer.declarations,FD):ya(r.initializer)),r.condition&&Qg(r.condition),r.incrementor&&ya(r.incrementor),eo(r.statement),r.locals&&B_(r)}function P8(r){xE(r);var n=e.getContainingFunctionOrClassStaticBlock(r);if(r.awaitModifier)if(n&&e.isClassStaticBlockDeclaration(n))mi(r.awaitModifier,e.Diagnostics.For_await_loops_cannot_be_used_inside_a_class_static_block);else{var i=e.getFunctionFlags(n);(i&(4|2))==2&&d<99&&_c(r,16384)}else Y.downlevelIteration&&d<2&&_c(r,256);if(r.initializer.kind===258)NT(r);else{var a=r.initializer,s=By(r);if(a.kind===206||a.kind===207)Up(a,s||ue);else{var l=ya(a);pv(a,e.Diagnostics.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access,e.Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access),s&&R_(s,l,a,r.expression)}}eo(r.statement),r.locals&&B_(r)}function I8(r){xE(r);var n=$2(ya(r.expression));if(r.initializer.kind===258){var i=r.initializer.declarations[0];i&&e.isBindingPattern(i.name)&&Zr(i.name,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern),NT(r)}else{var a=r.initializer,s=ya(a);a.kind===206||a.kind===207?Zr(a,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern):io(Rk(n),s)?pv(a,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access):Zr(a,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any)}(n===we||!Bs(n,67108864|58982400))&&Zr(r.expression,e.Diagnostics.The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0,Oi(n)),eo(r.statement),r.locals&&B_(r)}function NT(r){var n=r.initializer;if(n.declarations.length>=1){var i=n.declarations[0];FD(i)}}function By(r){var n=r.awaitModifier?15:13;return J_(n,Sm(r.expression),zr,r.expression)}function J_(r,n,i,a){return Ba(n)?n:LD(r,n,i,a,!0)||Te}function LD(r,n,i,a,s){var l=(r&2)!=0;if(n===we){jD(a,n,l);return}var g=d>=2,W=!g&&Y.downlevelIteration,ce=Y.noUncheckedIndexedAccess&&!!(r&128);if(g||W||l){var ke=A0(n,r,g?a:void 0);if(s&&ke){var rr=r&8?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:r&32?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:r&64?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:r&16?e.Diagnostics.Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:void 0;rr&&Fc(i,ke.nextType,a,rr)}if(ke||g)return ce?av(ke&&ke.yieldType):ke&&ke.yieldType}var $e=n,ar=!1,ir=!1;if(r&4){if($e.flags&1048576){var Wr=n.types,sn=e.filter(Wr,function(pt){return!(pt.flags&402653316)});sn!==Wr&&($e=Ot(sn,2))}else $e.flags&402653316&&($e=we);if(ir=$e!==n,ir&&(d<1&&a&&(Zr(a,e.Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher),ar=!0),$e.flags&131072))return ce?av(yn):yn}if(!Td($e)){if(a&&!ar){var In=!!(r&4)&&!ir,Sn=Ri(In,W),Kn=Sn[0],ei=Sn[1];$l(a,ei&&!!vv($e),Kn,Oi($e))}return ir?ce?av(yn):yn:void 0}var Ti=cl($e,Hn);if(ir&&Ti)return Ti.flags&402653316&&!Y.noUncheckedIndexedAccess?yn:Ot(ce?[Ti,yn,zr]:[Ti,yn],2);return r&128?av(Ti):Ti;function Ri(pt,rt){var Da;if(rt)return pt?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0]:[e.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0];var St=PT(r,0,n,void 0);return St?[e.Diagnostics.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,!1]:w8((Da=n.symbol)===null||Da===void 0?void 0:Da.escapedName)?[e.Diagnostics.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,!0]:pt?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type,!0]:[e.Diagnostics.Type_0_is_not_an_array_type,!0]}}function w8(r){switch(r){case"Float32Array":case"Float64Array":case"Int16Array":case"Int32Array":case"Int8Array":case"NodeList":case"Uint16Array":case"Uint32Array":case"Uint8Array":case"Uint8ClampedArray":return!0}return!1}function PT(r,n,i,a){if(!Ba(i)){var s=A0(i,r,a);return s&&s[q(n)]}}function d_(r,n,i){if(r===void 0&&(r=we),n===void 0&&(n=we),i===void 0&&(i=_r),r.flags&67359327&&n.flags&(1|131072|2|16384|32768)&&i.flags&(1|131072|2|16384|32768)){var a=wu([r,n,i]),s=Dt.get(a);return s||(s={yieldType:r,returnType:n,nextType:i},Dt.set(a,s)),s}return{yieldType:r,returnType:n,nextType:i}}function IT(r){for(var n,i,a,s=0,l=r;s1)for(var ar=0,ir=a;ar=1&&r.escapedText==="Object"&&(ja)return!1;for(var rr=0;rr=a&&W.pos<=s){var ce=e.factory.createPropertyAccessExpression(e.factory.createThis(),r);e.setParent(ce.expression,ce),e.setParent(ce,W),ce.flowNode=W.returnFlowNode;var ke=Ed(ce,n,u_(n));if(!gm(ke))return!0}}return!1}function XT(r,n,i){var a=e.isComputedPropertyName(r)?e.factory.createElementAccessExpression(e.factory.createThis(),r.expression):e.factory.createPropertyAccessExpression(e.factory.createThis(),r);e.setParent(a.expression,a),e.setParent(a,i),a.flowNode=i.returnFlowNode;var s=Ed(a,n,u_(n));return!gm(s)}function cI(r){jf(r)||U5(r),Jy(r.typeParameters),Z(function(){Pm(r.name,e.Diagnostics.Interface_name_cannot_be_0),mv(r);var n=zi(r);zT(n);var i=e.getDeclarationOfKind(n,261);if(r===i){var a=nt(n),s=Qc(a);if(aI(a,r.name)){for(var l=0,g=nu(a);l>$e;case 49:return rr>>>$e;case 47:return rr<<$e;case 52:return rr^$e;case 41:return rr*$e;case 43:return rr/$e;case 39:return rr+$e;case 40:return rr-$e;case 44:return rr%$e;case 42:return Math.pow(rr,$e)}else if(typeof rr=="string"&&typeof $e=="string"&&ce.operatorToken.kind===39)return rr+$e;break;case 10:case 14:return ce.text;case 8:return ab(ce),+ce.text;case 214:return g(ce.expression);case 79:var ar=ce;return e.isInfinityOrNaNString(ar.escapedText)?+ar.escapedText:e.nodeIsMissing(ce)?0:W(ce,zi(r.parent),ar.escapedText);case 209:case 208:if(zD(ce)){var ir=Xs(ce.expression);if(ir.symbol&&ir.symbol.flags&384){var Wr=void 0;return ce.kind===208?Wr=ce.name.escapedText:Wr=e.escapeLeadingUnderscores(e.cast(ce.argumentExpression,e.isLiteralExpression).text),W(ce,ir.symbol,Wr)}}break}}function W(ce,ke,rr){var $e=ke.exports.get(rr);if($e){var ar=$e.valueDeclaration;if(ar!==r)return ar&&Sf(ar,r)&&e.isEnumDeclaration(ar.parent)?B0(ar):(Zr(ce,e.Diagnostics.A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums),0);Zr(ce,e.Diagnostics.Property_0_is_used_before_being_assigned,Xt($e))}}}function zD(r){var n=Xs(r);return n===ue?!1:r.kind===79||r.kind===208&&zD(r.expression)||r.kind===209&&zD(r.expression)&&e.isStringLiteralLike(r.argumentExpression)}function _I(r){Z(function(){return dI(r)})}function dI(r){jf(r),Nm(r,r.name),mv(r),r.members.forEach(pI),ZT(r);var n=zi(r),i=e.getDeclarationOfKind(n,r.kind);if(r===i){if(n.declarations&&n.declarations.length>1){var a=e.isEnumConst(r);e.forEach(n.declarations,function(l){e.isEnumDeclaration(l)&&e.isEnumConst(l)!==a&&Zr(e.getNameOfDeclaration(l),e.Diagnostics.Enum_declarations_must_all_be_const_or_non_const)})}var s=!1;e.forEach(n.declarations,function(l){if(l.kind!==263)return!1;var g=l;if(!g.members.length)return!1;var W=g.members[0];W.initializer||(s?Zr(W.name,e.Diagnostics.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element):s=!0)})}}function pI(r){e.isPrivateIdentifier(r.name)&&Zr(r,e.Diagnostics.An_enum_member_cannot_be_named_with_a_private_identifier)}function gI(r){var n=r.declarations;if(n)for(var i=0,a=n;i1&&F(r,e.shouldPreserveConstEnums(Y))){var W=gI(g);W&&(e.getSourceFileOfNode(r)!==e.getSourceFileOfNode(W)?Zr(r.name,e.Diagnostics.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged):r.pos=e.ModuleKind.ES2015&&e.getSourceFileOfNode(r).impliedNodeFormat===void 0&&!r.isTypeOnly&&!(r.flags&16777216)&&mi(r,e.Diagnostics.Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead)}function bI(r){if(!jy(r,e.isInJSFile(r)?e.Diagnostics.An_export_declaration_can_only_be_used_at_the_top_level_of_a_module:e.Diagnostics.An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)){if(!jf(r)&&e.hasSyntacticModifiers(r)&&Ws(r,e.Diagnostics.An_export_declaration_cannot_have_modifiers),r.moduleSpecifier&&r.exportClause&&e.isNamedExports(r.exportClause)&&e.length(r.exportClause.elements)&&d===0&&_c(r,4194304),SI(r),!r.moduleSpecifier||VD(r))if(r.exportClause&&!e.isNamespaceExport(r.exportClause)){e.forEach(r.exportClause.elements,AI);var n=r.parent.kind===265&&e.isAmbientModule(r.parent.parent),i=!n&&r.parent.kind===265&&!r.moduleSpecifier&&r.flags&16777216;r.parent.kind!==308&&!n&&!i&&Zr(r,e.Diagnostics.Export_declarations_are_not_permitted_in_a_namespace)}else{var a=Ms(r,r.moduleSpecifier);a&&uf(a)?Zr(r.moduleSpecifier,e.Diagnostics.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,Xt(a)):r.exportClause&&I0(r.exportClause),j!==e.ModuleKind.System&&(j=e.ModuleKind.ES2015&&e.getSourceFileOfNode(r).impliedNodeFormat!==e.ModuleKind.CommonJS?mi(r,e.Diagnostics.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead):j===e.ModuleKind.System&&mi(r,e.Diagnostics.Export_assignment_is_not_supported_when_module_flag_is_system))}}function PI(r){return e.forEachEntry(r.exports,function(n,i){return i!=="export="})}function rE(r){var n=zi(r),i=Qt(n);if(!i.exportsChecked){var a=n.exports.get("export=");if(a&&PI(n)){var s=Mu(a)||a.valueDeclaration;s&&!Tp(s)&&!e.isInJSFile(s)&&Zr(s,e.Diagnostics.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements)}var l=Ls(n);l&&l.forEach(function(g,W){var ce=g.declarations,ke=g.flags;if(W!=="__export"&&!(ke&(1920|384))){var rr=e.countWhere(ce,e.and(S,e.not(e.isInterfaceDeclaration)));if(!(ke&524288&&rr<=2)&&rr>1&&!O0(ce))for(var $e=0,ar=ce;$e1&&r.every(function(n){return e.isInJSFile(n)&&e.isAccessExpression(n)&&(e.isExportsIdentifier(n.expression)||e.isModuleExportsAccessExpression(n.expression))})}function eo(r){if(r){var n=Xe;Xe=r,Me=0,II(r),Xe=n}}function II(r){e.forEach(r.jsDoc,function(i){var a=i.comment,s=i.tags;nE(a),e.forEach(s,function(l){nE(l.comment),e.isInJSFile(r)&&eo(l)})});var n=r.kind;if(B)switch(n){case 264:case 260:case 261:case 259:B.throwIfCancellationRequested()}switch(n>=240&&n<=256&&r.flowNode&&!dy(r.flowNode)&&xu(Y.allowUnreachableCode===!1,r,e.Diagnostics.Unreachable_code_detected),n){case 165:return oT(r);case 166:return sT(r);case 169:return lT(r);case 168:return hP(r);case 182:case 181:case 176:case 177:case 178:return gv(r);case 171:case 170:return DP(r);case 172:return bP(r);case 173:return SP(r);case 174:case 175:return _T(r);case 180:return ND(r);case 179:return gP(r);case 183:return kP(r);case 184:return AP(r);case 185:return NP(r);case 186:return PP(r);case 189:case 190:return IP(r);case 193:case 187:case 188:return eo(r.type);case 194:return MP(r);case 195:return LP(r);case 191:return RP(r);case 192:return BP(r);case 200:return JP(r);case 202:return jP(r);case 199:return UP(r);case 331:return t8(r);case 332:return i8(r);case 348:case 341:case 342:return XP(r);case 347:return ZP(r);case 346:return YP(r);case 327:case 328:case 329:return $P(r);case 343:return e8(r);case 350:return r8(r);case 320:n8(r);case 318:case 317:case 315:case 316:case 325:iE(r),e.forEachChild(r,eo);return;case 321:wI(r);return;case 312:return eo(r.type);case 336:case 338:case 337:return a8(r);case 196:return wP(r);case 197:return OP(r);case 259:return QP(r);case 238:case 265:return T0(r);case 240:return S8(r);case 241:return x8(r);case 242:return C8(r);case 243:return k8(r);case 244:return A8(r);case 245:return N8(r);case 246:return I8(r);case 247:return P8(r);case 248:case 249:return J8(r);case 250:return j8(r);case 251:return U8(r);case 252:return z8(r);case 253:return W8(r);case 254:return V8(r);case 255:return q8(r);case 257:return FD(r);case 205:return b8(r);case 260:return Y8(r);case 261:return cI(r);case 262:return uI(r);case 263:return _I(r);case 264:return vI(r);case 269:return hI(r);case 268:return DI(r);case 275:return bI(r);case 274:return NI(r);case 239:case 256:Uf(r);return;case 279:return CP(r)}}function nE(r){e.isArray(r)&&e.forEach(r,function(n){e.isJSDocLinkLike(n)&&eo(n)})}function iE(r){e.isInJSFile(r)||mi(r,e.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments)}function wI(r){iE(r),eo(r.type);var n=r.parent;if(e.isParameter(n)&&e.isJSDocFunctionType(n.parent)){e.last(n.parent.parameters)!==n&&Zr(r,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list);return}e.isJSDocTypeExpression(n)||Zr(r,e.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);var i=r.parent.parent;if(!e.isJSDocParameterTag(i)){Zr(r,e.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);return}var a=e.getParameterSymbolFromJSDoc(i);if(!!a){var s=e.getHostSignatureFromJSDoc(i);(!s||e.last(s.parameters).symbol!==a)&&Zr(r,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list)}}function OI(r){var n=zt(r.type),i=r.parent,a=r.parent.parent;if(e.isJSDocTypeExpression(r.parent)&&e.isJSDocParameterTag(a)){var s=e.getHostSignatureFromJSDoc(a),l=e.isJSDocCallbackTag(a.parent.parent);if(s||l){var g=l?e.lastOrUndefined(a.parent.parent.typeExpression.parameters):e.lastOrUndefined(s.parameters),W=e.getParameterSymbolFromJSDoc(a);if(!g||W&&g.symbol===W&&e.isRestParameter(g))return ic(n)}}return e.isParameter(i)&&e.isJSDocFunctionType(i.parent)?ic(n):fu(n)}function Im(r){var n=e.getSourceFileOfNode(r),i=At(n);i.flags&1||(i.deferredNodes||(i.deferredNodes=new e.Set),i.deferredNodes.add(r))}function FI(r){var n=At(r);n.deferredNodes&&n.deferredNodes.forEach(MI)}function MI(r){e.tracing===null||e.tracing===void 0||e.tracing.push("check","checkDeferredNode",{kind:r.kind,pos:r.pos,end:r.end,path:r.tracingPath});var n=Xe;switch(Xe=r,Me=0,r.kind){case 210:case 211:case 212:case 167:case 283:qg(r);break;case 215:case 216:case 171:case 170:O3(r);break;case 174:case 175:_T(r);break;case 228:Z8(r);break;case 165:pP(r);break;case 282:aN(r);break;case 281:sN(r);break}Xe=n,e.tracing===null||e.tracing===void 0||e.tracing.pop()}function LI(r){e.tracing===null||e.tracing===void 0||e.tracing.push("check","checkSourceFile",{path:r.path},!0),e.performance.mark("beforeCheck"),RI(r),e.performance.mark("afterCheck"),e.performance.measure("Check","beforeCheck","afterCheck"),e.tracing===null||e.tracing===void 0||e.tracing.pop()}function tE(r,n){if(n)return!1;switch(r){case 0:return!!Y.noUnusedLocals;case 1:return!!Y.noUnusedParameters;default:return e.Debug.assertNever(r)}}function aE(r){return Lc.get(r.path)||e.emptyArray}function RI(r){var n=At(r);if(!(n.flags&1)){if(e.skipTypeChecking(r,Y,b))return;c7(r),e.clear(po),e.clear(Do),e.clear(Ns),e.clear(jo),e.clear(ys),e.forEach(r.statements,eo),eo(r.endOfFileToken),FI(r),e.isExternalOrCommonJsModule(r)&&B_(r),Z(function(){!r.isDeclarationFile&&(Y.noUnusedLocals||Y.noUnusedParameters)&&bT(aE(r),function(i,a,s){!e.containsParseError(i)&&tE(a,!!(i.flags&16777216))&&fe.add(s)}),r.isDeclarationFile||u8()}),Y.importsNotUsedAsValues===2&&!r.isDeclarationFile&&e.isExternalModule(r)&&kI(r),e.isExternalOrCommonJsModule(r)&&rE(r),po.length&&(e.forEach(po,_8),e.clear(po)),Do.length&&(e.forEach(Do,d8),e.clear(Do)),Ns.length&&(e.forEach(Ns,v8),e.clear(Ns)),jo.length&&(e.forEach(jo,h8),e.clear(jo)),n.flags|=1}}function oE(r,n){try{return B=n,BI(r)}finally{B=void 0}}function qD(){for(var r=0,n=T;r0)return e.concatenate(s,a);return a}return e.forEach(b.getSourceFiles(),GD),fe.getDiagnostics()}function JI(){return qD(),fe.getGlobalDiagnostics()}function jI(r,n){if(r.flags&33554432)return[];var i=e.createSymbolTable(),a=!1;return s(),i.delete("this"),Gv(i);function s(){for(;r;){switch(r.locals&&!Cu(r)&&g(r.locals,n),r.kind){case 308:if(!e.isExternalModule(r))break;case 264:W(zi(r).exports,n&2623475);break;case 263:g(zi(r).exports,n&8);break;case 228:var ce=r.name;ce&&l(r.symbol,n);case 260:case 261:a||g(pf(zi(r)),n&788968);break;case 215:var ke=r.name;ke&&l(r.symbol,n);break}e.introducesArgumentsExoticObject(r)&&l(ve,n),a=e.isStatic(r),r=r.parent}g(rn,n)}function l(ce,ke){if(e.getCombinedLocalAndExportSymbolFlags(ce)&ke){var rr=ce.escapedName;i.has(rr)||i.set(rr,ce)}}function g(ce,ke){ke&&ce.forEach(function(rr){l(rr,ke)})}function W(ce,ke){ke&&ce.forEach(function(rr){!e.getDeclarationOfKind(rr,278)&&!e.getDeclarationOfKind(rr,277)&&l(rr,ke)})}}function UI(r){return r.kind===79&&e.isTypeDeclaration(r.parent)&&e.getNameOfDeclaration(r.parent)===r}function sE(r){for(;r.parent.kind===163;)r=r.parent;return r.parent.kind===180}function zI(r){for(;r.parent.kind===208;)r=r.parent;return r.parent.kind===230}function cE(r,n){for(var i;r=e.getContainingClass(r),!(!r||(i=n(r))););return i}function WI(r){return!!e.findAncestor(r,function(n){return e.isConstructorDeclaration(n)&&e.nodeIsPresent(n.body)||e.isPropertyDeclaration(n)?!0:e.isClassLike(n)||e.isFunctionLikeDeclaration(n)?"quit":!1})}function HD(r,n){return!!cE(r,function(i){return i===n})}function VI(r){for(;r.parent.kind===163;)r=r.parent;if(r.parent.kind===268)return r.parent.moduleReference===r?r.parent:void 0;if(r.parent.kind===274)return r.parent.expression===r?r.parent:void 0}function F0(r){return VI(r)!==void 0}function qI(r){var n=e.getAssignmentDeclarationKind(r.parent.parent);switch(n){case 1:case 3:return zi(r.parent);case 4:case 2:case 5:return zi(r.parent.parent)}}function GI(r){for(var n=r.parent;e.isQualifiedName(n);)r=n,n=n.parent;if(n&&n.kind===202&&n.qualifier===r)return n}function uE(r){if(e.isDeclarationName(r))return zi(r.parent);if(e.isInJSFile(r)&&r.parent.kind===208&&r.parent===r.parent.parent.left&&!e.isPrivateIdentifier(r)&&!e.isJSDocMemberName(r)){var n=qI(r);if(n)return n}if(r.parent.kind===274&&e.isEntityNameExpression(r)){var i=ts(r,111551|788968|1920|2097152,!0);if(i&&i!==jr)return i}else if(e.isEntityName(r)&&F0(r)){var a=e.getAncestor(r,268);return e.Debug.assert(a!==void 0),Wo(r,!0)}if(e.isEntityName(r)){var s=GI(r);if(s){zt(s);var l=At(r).resolvedSymbol;return l===jr?void 0:l}}for(;e.isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName(r);)r=r.parent;if(zI(r)){var g=0;r.parent.kind===230?(g=788968,e.isExpressionWithTypeArgumentsInClassExtendsClause(r.parent)&&(g|=111551)):g=1920,g|=2097152;var W=e.isEntityNameExpression(r)?ts(r,g):void 0;if(W)return W}if(r.parent.kind===343)return e.getParameterSymbolFromJSDoc(r.parent);if(r.parent.kind===165&&r.parent.parent.kind===347){e.Debug.assert(!e.isInJSFile(r));var ce=e.getTypeParameterFromJsDoc(r.parent);return ce&&ce.symbol}if(e.isExpressionNode(r)){if(e.nodeIsMissing(r))return;var ke=e.findAncestor(r,e.or(e.isJSDocLinkLike,e.isJSDocNameReference,e.isJSDocMemberName)),g=ke?788968|1920|111551:111551;if(r.kind===79){if(e.isJSXTagName(r)&&bm(r)){var rr=H2(r.parent);return rr===jr?void 0:rr}var $e=ts(r,g,!1,!0,e.getHostSignatureFromJSDoc(r));if(!$e&&ke){var ar=e.findAncestor(r,e.or(e.isClassLike,e.isInterfaceDeclaration));if(ar)return Uy(r,!1,zi(ar))}if($e&&ke){var ar=e.getJSDocHost(r);if(ar&&e.isEnumMember(ar)&&ar===$e.valueDeclaration)return ts(r,g,!0,!0,e.getSourceFileOfNode(ar))||$e}return $e}else{if(e.isPrivateIdentifier(r))return c0(r);if(r.kind===208||r.kind===163){var ir=At(r);if(ir.resolvedSymbol)return ir.resolvedSymbol;if(r.kind===208){if($x(r,0),!ir.resolvedSymbol){var Wr=Ds(r.expression),sn=Jm(Wr,L_(r.name));if(sn.length&&Wr.members){var In=Iu(Wr),rr=In.members.get("__index");if(sn===hs(Wr))ir.resolvedSymbol=rr;else if(rr){var Sn=Qt(rr),Kn=e.mapDefined(sn,function(rt){return rt.declaration}),ei=e.map(Kn,V).join(",");if(Sn.filteredIndexSymbolCache||(Sn.filteredIndexSymbolCache=new e.Map),Sn.filteredIndexSymbolCache.has(ei))ir.resolvedSymbol=Sn.filteredIndexSymbolCache.get(ei);else{var Ti=go(131072,"__index");Ti.declarations=e.mapDefined(sn,function(rt){return rt.declaration}),Ti.parent=Wr.aliasSymbol?Wr.aliasSymbol:Wr.symbol?Wr.symbol:Ku(Ti.declarations[0].parent),Sn.filteredIndexSymbolCache.set(ei,Ti),ir.resolvedSymbol=Sn.filteredIndexSymbolCache.get(ei)}}}}}else eC(r,0);return!ir.resolvedSymbol&&ke&&e.isQualifiedName(r)?Uy(r):ir.resolvedSymbol}else if(e.isJSDocMemberName(r))return Uy(r)}}else if(sE(r)){var g=r.parent.kind===180?788968:1920,rr=ts(r,g,!1,!0);return rr&&rr!==jr?rr:lh(r)}if(r.parent.kind===179)return ts(r,1)}function Uy(r,n,i){if(e.isEntityName(r)){var a=788968|1920|111551,s=ts(r,a,n,!0,e.getHostSignatureFromJSDoc(r));if(!s&&e.isIdentifier(r)&&i&&(s=Ya(Wc(Ac(i),r.escapedText,a))),s)return s}var l=e.isIdentifier(r)?i:Uy(r.left,n,i),g=e.isIdentifier(r)?r.escapedText:r.right.escapedText;if(l){var W=l.flags&111551&&Zt(Li(l),"prototype"),ce=W?Li(W):nt(l);return Zt(ce,g)}}function Ku(r,n){if(r.kind===308)return e.isExternalModule(r)?Ya(r.symbol):void 0;var i=r.parent,a=i.parent;if(!(r.flags&33554432)){if(N(r)){var s=zi(i);return e.isImportOrExportSpecifier(r.parent)&&r.parent.propertyName===r?q2(s):s}else if(e.isLiteralComputedPropertyDeclarationName(r))return zi(i.parent);if(r.kind===79){if(F0(r))return uE(r);if(i.kind===205&&a.kind===203&&r===i.propertyName){var l=lg(a),g=Zt(l,r.escapedText);if(g)return g}else if(e.isMetaProperty(i)&&i.name===r)return i.keywordToken===103&&e.idText(r)==="target"?mD(i).symbol:i.keywordToken===100&&e.idText(r)==="meta"?Eb().members.get("meta"):void 0}switch(r.kind){case 79:case 80:case 208:case 163:if(!e.isThisInTypeQuery(r))return uE(r);case 108:var W=e.getThisContainer(r,!1);if(e.isFunctionLike(W)){var ce=Vu(W);if(ce.thisParameter)return ce.thisParameter}if(e.isInExpressionContext(r))return ya(r).symbol;case 194:return bh(r).symbol;case 106:return ya(r).symbol;case 135:var ke=r.parent;return ke&&ke.kind===173?ke.parent.symbol:void 0;case 10:case 14:if(e.isExternalModuleImportEqualsDeclaration(r.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(r.parent.parent)===r||(r.parent.kind===269||r.parent.kind===275)&&r.parent.moduleSpecifier===r||e.isInJSFile(r)&&e.isRequireCall(r.parent,!1)||e.isImportCall(r.parent)||e.isLiteralTypeNode(r.parent)&&e.isLiteralImportTypeNode(r.parent.parent)&&r.parent.parent.argument===r.parent)return Ms(r,r,n);if(e.isCallExpression(i)&&e.isBindableObjectDefinePropertyCall(i)&&i.arguments[1]===r)return zi(i);case 8:var rr=e.isElementAccessExpression(i)?i.argumentExpression===r?Xs(i.expression):void 0:e.isLiteralTypeNode(i)&&e.isIndexedAccessTypeNode(a)?zt(a.objectType):void 0;return rr&&Zt(rr,e.escapeLeadingUnderscores(r.text));case 88:case 98:case 38:case 84:return zi(r.parent);case 202:return e.isLiteralImportTypeNode(r)?Ku(r.argument.literal,n):void 0;case 93:return e.isExportAssignment(r.parent)?e.Debug.checkDefined(r.parent.symbol):void 0;case 100:case 103:return e.isMetaProperty(r.parent)?LC(r.parent).symbol:void 0;case 233:return ya(r).symbol;default:return}}}function HI(r){if(e.isIdentifier(r)&&e.isPropertyAccessExpression(r.parent)&&r.parent.name===r){var n=L_(r),i=Xs(r.parent.expression),a=i.flags&1048576?i.types:[i];return e.flatMap(a,function(s){return e.filter(hs(s),function(l){return jl(n,l.keyType)})})}}function KI(r){if(r&&r.kind===300)return ts(r.name,111551|2097152)}function QI(r){return e.isExportSpecifier(r)?r.parent.parent.moduleSpecifier?Bu(r.parent.parent,r):ts(r.propertyName||r.name,111551|788968|1920|2097152):ts(r,111551|788968|1920|2097152)}function lg(r){if(e.isSourceFile(r)&&!e.isExternalModule(r)||r.flags&33554432)return ue;var n=e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments(r),i=n&&_u(zi(n.class));if(e.isPartOfTypeNode(r)){var a=zt(r);return i?Qc(a,i.thisType):a}if(e.isExpressionNode(r))return lE(r);if(i&&!n.isImplements){var s=e.firstOrUndefined(nu(i));return s?Qc(s,i.thisType):ue}if(e.isTypeDeclaration(r)){var l=zi(r);return nt(l)}if(UI(r)){var l=Ku(r);return l?nt(l):ue}if(e.isDeclaration(r)){var l=zi(r);return l?Li(l):ue}if(N(r)){var l=Ku(r);return l?Li(l):ue}if(e.isBindingPattern(r))return yl(r.parent,!0,0)||ue;if(F0(r)){var l=Ku(r);if(l){var g=nt(l);return ca(g)?Li(l):g}}return e.isMetaProperty(r.parent)&&r.parent.keywordToken===r.kind?LC(r.parent):ue}function M0(r){if(e.Debug.assert(r.kind===207||r.kind===206),r.parent.kind===247){var n=By(r.parent);return Up(r,n||ue)}if(r.parent.kind===223){var n=Xs(r.parent.right);return Up(r,n||ue)}if(r.parent.kind===299){var i=e.cast(r.parent.parent,e.isObjectLiteralExpression),a=M0(i)||ue,s=e.indexOfNode(i.properties,r.parent);return QC(i,a,s)}var l=e.cast(r.parent,e.isArrayLiteralExpression),g=M0(l)||ue,W=J_(65,g,zr,r.parent)||ue;return XC(l,g,l.elements.indexOf(r),W)}function XI(r){var n=M0(e.cast(r.parent.parent,e.isAssignmentPattern));return n&&Zt(n,r.escapedText)}function lE(r){return e.isRightSideOfQualifiedNameOrPropertyAccess(r)&&(r=r.parent),Jc(Xs(r))}function ZI(r){var n=zi(r.parent);return e.isStatic(r)?Li(n):nt(n)}function YI(r){var n=r.name;switch(n.kind){case 79:return Ou(e.idText(n));case 8:case 10:return Ou(n.text);case 164:var i=f_(n);return Bs(i,12288)?i:yn;default:return e.Debug.fail("Unsupported property name.")}}function KD(r){r=re(r);var n=e.createSymbolTable(vo(r)),i=_a(r,0).length?Nt:_a(r,1).length?Gt:void 0;return i&&e.forEach(vo(i),function(a){n.has(a.escapedName)||n.set(a.escapedName,a)}),Zf(n)}function QD(r){return e.typeHasCallOrConstructSignatures(r,ze)}function fE(r){var n=$I(r);return n?e.flatMap(n,fE):[r]}function $I(r){if(e.getCheckFlags(r)&6)return e.mapDefined(Qt(r).containingType.types,function(l){return Zt(l,r.escapedName)});if(r.flags&33554432){var n=r,i=n.leftSpread,a=n.rightSpread,s=n.syntheticOrigin;return i?[i,a]:s?[s]:e.singleElementArray(e5(r))}}function e5(r){for(var n,i=r;i=Qt(i).target;)n=i;return n}function r5(r){if(e.isGeneratedIdentifier(r))return!1;var n=e.getParseTreeNode(r,e.isIdentifier);if(!n)return!1;var i=n.parent;if(!i)return!1;var a=(e.isPropertyAccessExpression(i)||e.isPropertyAssignment(i))&&i.name===n;return!a&&zy(n)===ve}function n5(r){var n=Ms(r.parent,r);if(!n||e.isShorthandAmbientModuleSymbol(n))return!0;var i=uf(n);n=Us(n);var a=Qt(n);return a.exportsSomeValue===void 0&&(a.exportsSomeValue=i?!!(n.flags&111551):e.forEachEntry(Ls(n),s)),a.exportsSomeValue;function s(l){return l=ss(l),l&&!!(Kt(l)&111551)}}function i5(r){return e.isModuleOrEnumDeclaration(r.parent)&&r===r.parent.name}function t5(r,n){var i,a=e.getParseTreeNode(r,e.isIdentifier);if(a){var s=zy(a,i5(a));if(s){if(s.flags&1048576){var l=Ya(s.exportSymbol);if(!n&&l.flags&944&&!(l.flags&3))return;s=l}var g=Nc(s);if(g){if(g.flags&512&&((i=g.valueDeclaration)===null||i===void 0?void 0:i.kind)===308){var W=g.valueDeclaration,ce=e.getSourceFileOfNode(a),ke=W!==ce;return ke?void 0:W}return e.findAncestor(a.parent,function(rr){return e.isModuleOrEnumDeclaration(rr)&&zi(rr)===g})}}}}function a5(r){if(r.generatedImportReference)return r.generatedImportReference;var n=e.getParseTreeNode(r,e.isIdentifier);if(n){var i=y5(n);if(Md(i,111551)&&!Ec(i,111551))return Mu(i)}}function o5(r){return r.valueDeclaration&&e.isBindingElement(r.valueDeclaration)&&e.walkUpBindingElementsAndPatterns(r.valueDeclaration).parent.kind===295}function _E(r){if(r.flags&418&&r.valueDeclaration&&!e.isSourceFile(r.valueDeclaration)){var n=Qt(r);if(n.isDeclarationWithCollidingName===void 0){var i=e.getEnclosingBlockScopeContainer(r.valueDeclaration);if(e.isStatementWithLocals(i)||o5(r)){var a=At(r.valueDeclaration);if(is(i.parent,r.escapedName,111551,void 0,void 0,!1))n.isDeclarationWithCollidingName=!0;else if(a.flags&262144){var s=a.flags&524288,l=e.isIterationStatement(i,!1),g=i.kind===238&&e.isIterationStatement(i.parent,!1);n.isDeclarationWithCollidingName=!e.isBlockScopedContainerTopLevel(i)&&(!s||!l&&!g)}else n.isDeclarationWithCollidingName=!1}}return n.isDeclarationWithCollidingName}return!1}function s5(r){if(!e.isGeneratedIdentifier(r)){var n=e.getParseTreeNode(r,e.isIdentifier);if(n){var i=zy(n);if(i&&_E(i))return i.valueDeclaration}}}function c5(r){var n=e.getParseTreeNode(r,e.isDeclaration);if(n){var i=zi(n);if(i)return _E(i)}return!1}function dE(r){switch(r.kind){case 268:return L0(zi(r));case 270:case 271:case 273:case 278:var n=zi(r);return!!n&&L0(n)&&!Ec(n,111551);case 275:var i=r.exportClause;return!!i&&(e.isNamespaceExport(i)||e.some(i.elements,dE));case 274:return r.expression&&r.expression.kind===79?L0(zi(r)):!0}return!1}function u5(r){var n=e.getParseTreeNode(r,e.isImportEqualsDeclaration);if(n===void 0||n.parent.kind!==308||!e.isInternalModuleImportEqualsDeclaration(n))return!1;var i=L0(zi(n));return i&&n.moduleReference&&!e.nodeIsMissing(n.moduleReference)}function L0(r){var n;if(!r)return!1;var i=il(wi(r));return i===jr?!0:!!(((n=Kt(i))!==null&&n!==void 0?n:-1)&111551)&&(e.shouldPreserveConstEnums(Y)||!Sv(i))}function Sv(r){return SD(r)||!!r.constEnumOnlyModule}function R0(r,n){if(nf(r)){var i=zi(r),a=i&&Qt(i);if(a==null?void 0:a.referenced)return!0;var s=Qt(i).aliasTarget;if(s&&e.getEffectiveModifierFlags(r)&1&&Kt(s)&111551&&(e.shouldPreserveConstEnums(Y)||!Sv(s)))return!0}return n?!!e.forEachChild(r,function(l){return R0(l,n)}):!1}function pE(r){if(e.nodeIsPresent(r.body)){if(e.isGetAccessor(r)||e.isSetAccessor(r))return!1;var n=zi(r),i=Gd(n);return i.length>1||i.length===1&&i[0].declaration!==r}return!1}function gE(r){return!!Re&&!qd(r)&&!e.isJSDocParameterTag(r)&&!!r.initializer&&!e.hasSyntacticModifier(r,16476)}function l5(r){return Re&&qd(r)&&!r.initializer&&e.hasSyntacticModifier(r,16476)}function f5(r){var n=e.getParseTreeNode(r,e.isFunctionDeclaration);if(!n)return!1;var i=zi(n);return!i||!(i.flags&16)?!1:!!e.forEachEntry(Ac(i),function(a){return a.flags&111551&&a.valueDeclaration&&e.isPropertyAccessExpression(a.valueDeclaration)})}function _5(r){var n=e.getParseTreeNode(r,e.isFunctionDeclaration);if(!n)return e.emptyArray;var i=zi(n);return i&&vo(Li(i))||e.emptyArray}function Zg(r){var n,i=r.id||0;return i<0||i>=Ei.length?0:((n=Ei[i])===null||n===void 0?void 0:n.flags)||0}function B0(r){return ZT(r.parent),At(r).enumMemberValue}function mE(r){switch(r.kind){case 302:case 208:case 209:return!0}return!1}function XD(r){if(r.kind===302)return B0(r);var n=At(r).resolvedSymbol;if(n&&n.flags&8){var i=n.valueDeclaration;if(e.isEnumConst(i.parent))return B0(i)}}function ZD(r){return!!(r.flags&524288)&&_a(r,0).length>0}function d5(r,n){var i,a,s=e.getParseTreeNode(r,e.isEntityName);if(!s||n&&(n=e.getParseTreeNode(n),!n))return e.TypeReferenceSerializationKind.Unknown;var l=!1;if(e.isQualifiedName(s)){var g=ts(e.getFirstIdentifier(s),111551,!0,!0,n);l=!!((i=g==null?void 0:g.declarations)===null||i===void 0?void 0:i.every(e.isTypeOnlyImportOrExportDeclaration))}var W=ts(s,111551,!0,!0,n),ce=W&&W.flags&2097152?wi(W):W;l||(l=!!((a=W==null?void 0:W.declarations)===null||a===void 0?void 0:a.every(e.isTypeOnlyImportOrExportDeclaration)));var ke=ts(s,788968,!0,!1,n);if(ce&&ce===ke){var rr=y1(!1);if(rr&&ce===rr)return e.TypeReferenceSerializationKind.Promise;var $e=Li(ce);if($e&&yg($e))return l?e.TypeReferenceSerializationKind.TypeWithCallSignature:e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue}if(!ke)return l?e.TypeReferenceSerializationKind.ObjectType:e.TypeReferenceSerializationKind.Unknown;var ar=nt(ke);return ca(ar)?l?e.TypeReferenceSerializationKind.ObjectType:e.TypeReferenceSerializationKind.Unknown:ar.flags&3?e.TypeReferenceSerializationKind.ObjectType:Bs(ar,16384|98304|131072)?e.TypeReferenceSerializationKind.VoidNullableOrNeverType:Bs(ar,528)?e.TypeReferenceSerializationKind.BooleanType:Bs(ar,296)?e.TypeReferenceSerializationKind.NumberLikeType:Bs(ar,2112)?e.TypeReferenceSerializationKind.BigIntLikeType:Bs(ar,402653316)?e.TypeReferenceSerializationKind.StringLikeType:Xa(ar)?e.TypeReferenceSerializationKind.ArrayLikeType:Bs(ar,12288)?e.TypeReferenceSerializationKind.ESSymbolType:ZD(ar)?e.TypeReferenceSerializationKind.TypeWithCallSignature:Fu(ar)?e.TypeReferenceSerializationKind.ArrayLikeType:e.TypeReferenceSerializationKind.ObjectType}function p5(r,n,i,a,s){var l=e.getParseTreeNode(r,e.isVariableLikeOrAccessor);if(!l)return e.factory.createToken(131);var g=zi(l),W=g&&!(g.flags&(2048|131072))?ep(Li(g)):ue;return W.flags&8192&&W.symbol===g&&(i|=1048576),s&&(W=u_(W)),Cr.typeToTypeNode(W,n,i|1024,a)}function g5(r,n,i,a){var s=e.getParseTreeNode(r,e.isFunctionLike);if(!s)return e.factory.createToken(131);var l=Vu(s);return Cr.typeToTypeNode(Ao(l),n,i|1024,a)}function m5(r,n,i,a){var s=e.getParseTreeNode(r,e.isExpression);if(!s)return e.factory.createToken(131);var l=tu(lE(s));return Cr.typeToTypeNode(l,n,i|1024,a)}function v5(r){return rn.has(e.escapeLeadingUnderscores(r))}function zy(r,n){var i=At(r).resolvedSymbol;if(i)return i;var a=r;if(n){var s=r.parent;e.isDeclaration(s)&&r===s.name&&(a=Wa(s))}return is(a,r.escapedText,111551|1048576|2097152,void 0,void 0,!0)}function y5(r){var n=At(r).resolvedSymbol;return n&&n!==jr?n:is(r,r.escapedText,111551|1048576|2097152,void 0,void 0,!0,void 0,void 0)}function h5(r){if(!e.isGeneratedIdentifier(r)){var n=e.getParseTreeNode(r,e.isIdentifier);if(n){var i=zy(n);if(i)return il(i).valueDeclaration}}}function D5(r){return e.isDeclarationReadonly(r)||e.isVariableDeclaration(r)&&e.isVarConst(r)?Zd(Li(zi(r))):!1}function b5(r,n,i){var a=r.flags&1024?Cr.symbolToExpression(r.symbol,111551,n,void 0,i):r===Ni?e.factory.createTrue():r===ti&&e.factory.createFalse();if(a)return a;var s=r.value;return typeof s=="object"?e.factory.createBigIntLiteral(s):typeof s=="number"?e.factory.createNumericLiteral(s):e.factory.createStringLiteral(s)}function S5(r,n){var i=Li(zi(r));return b5(i,r,n)}function vE(r){return r?(ms(r),e.getSourceFileOfNode(r).localJsxFactory||Si):Si}function YD(r){if(r){var n=e.getSourceFileOfNode(r);if(n){if(n.localJsxFragmentFactory)return n.localJsxFragmentFactory;var i=n.pragmas.get("jsxfrag"),a=e.isArray(i)?i[0]:i;if(a)return n.localJsxFragmentFactory=e.parseIsolatedEntityName(a.arguments.factory,d),n.localJsxFragmentFactory}}if(Y.jsxFragmentFactory)return e.parseIsolatedEntityName(Y.jsxFragmentFactory,d)}function x5(){var r=b.getResolvedTypeReferenceDirectives(),n;return r&&(n=new e.Map,r.forEach(function(ce,ke,rr){if(!(!ce||!ce.resolvedFileName)){var $e=b.getSourceFile(ce.resolvedFileName);$e&&W($e,ke,rr)}})),{getReferencedExportContainer:t5,getReferencedImportDeclaration:a5,getReferencedDeclarationWithCollidingName:s5,isDeclarationWithCollidingName:c5,isValueAliasDeclaration:function(ce){var ke=e.getParseTreeNode(ce);return ke?dE(ke):!0},hasGlobalName:v5,isReferencedAliasDeclaration:function(ce,ke){var rr=e.getParseTreeNode(ce);return rr?R0(rr,ke):!0},getNodeCheckFlags:function(ce){var ke=e.getParseTreeNode(ce);return ke?Zg(ke):0},isTopLevelValueImportEqualsWithEntityName:u5,isDeclarationVisible:_n,isImplementationOfOverload:pE,isRequiredInitializedParameter:gE,isOptionalUninitializedParameterProperty:l5,isExpandoFunctionDeclaration:f5,getPropertiesOfContainerFunction:_5,createTypeOfDeclaration:p5,createReturnTypeOfSignatureDeclaration:g5,createTypeOfExpression:m5,createLiteralConstValue:S5,isSymbolAccessible:Fl,isEntityNameVisible:qp,getConstantValue:function(ce){var ke=e.getParseTreeNode(ce,mE);return ke?XD(ke):void 0},collectLinkedAliases:Zn,getReferencedValueDeclaration:h5,getTypeReferenceSerializationKind:d5,isOptionalParameter:qd,moduleExportsSomeValue:n5,isArgumentsLocalBinding:r5,getExternalModuleFileFromDeclaration:function(ce){var ke=e.getParseTreeNode(ce,e.hasPossibleExternalModuleReference);return ke&&$D(ke)},getTypeReferenceDirectivesForEntityName:s,getTypeReferenceDirectivesForSymbol:l,isLiteralConstDeclaration:D5,isLateBound:function(ce){var ke=e.getParseTreeNode(ce,e.isDeclaration),rr=ke&&zi(ke);return!!(rr&&e.getCheckFlags(rr)&4096)},getJsxFactoryEntity:vE,getJsxFragmentFactoryEntity:YD,getAllAccessorDeclarations:function(ce){ce=e.getParseTreeNode(ce,e.isGetOrSetAccessorDeclaration);var ke=ce.kind===175?174:175,rr=e.getDeclarationOfKind(zi(ce),ke),$e=rr&&rr.pos3})||Zr(r,e.Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,e.externalHelpersModuleNameText,g,4):l&1048576?e.some(Gd(W),function(ce){return au(ce)>4})||Zr(r,e.Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,e.externalHelpersModuleNameText,g,5):l&1024&&(e.some(Gd(W),function(ce){return au(ce)>2})||Zr(r,e.Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,e.externalHelpersModuleNameText,g,3)):Zr(r,e.Diagnostics.This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0,e.externalHelpersModuleNameText,g)}}u|=n}}}function T5(r){switch(r){case 1:return"__extends";case 2:return"__assign";case 4:return"__rest";case 8:return"__decorate";case 16:return"__metadata";case 32:return"__param";case 64:return"__awaiter";case 128:return"__generator";case 256:return"__values";case 512:return"__read";case 1024:return"__spreadArray";case 2048:return"__await";case 4096:return"__asyncGenerator";case 8192:return"__asyncDelegator";case 16384:return"__asyncValues";case 32768:return"__exportStar";case 65536:return"__importStar";case 131072:return"__importDefault";case 262144:return"__makeTemplateObject";case 524288:return"__classPrivateFieldGet";case 1048576:return"__classPrivateFieldSet";case 2097152:return"__classPrivateFieldIn";case 4194304:return"__createBinding";default:return e.Debug.fail("Unrecognized helper")}}function E5(r,n){return A||(A=Hf(r,e.externalHelpersModuleNameText,e.Diagnostics.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,n)||jr),A}function jf(r){return k5(r)||yE(r)}function k5(r){if(e.canHaveIllegalDecorators(r)&&e.some(r.illegalDecorators))return Ws(r,e.Diagnostics.Decorators_are_not_valid_here);if(!e.canHaveDecorators(r)||!e.hasDecorators(r))return!1;if(e.nodeCanBeDecorated(r,r.parent,r.parent.parent)){if(r.kind===174||r.kind===175){var n=e.getAllAccessorDeclarations(r.parent.members,r);if(e.hasDecorators(n.firstAccessor)&&r===n.secondAccessor)return Ws(r,e.Diagnostics.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}}else return r.kind===171&&!e.nodeIsPresent(r.body)?Ws(r,e.Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload):Ws(r,e.Diagnostics.Decorators_are_not_valid_here);return!1}function yE(r){var n=A5(r);if(n!==void 0)return n;for(var i,a,s,l,g=0,W=0,ce=r.modifiers;W".length;return cp(n,i,a-i,e.Diagnostics.Type_parameter_list_cannot_be_empty)}return!1}function I5(r){for(var n=!1,i=r.length,a=0;a=3){var n=r.body&&e.isBlock(r.body)&&e.findUseStrictPrologue(r.body.statements);if(n){var i=w5(r.parameters);if(e.length(i)){e.forEach(i,function(s){e.addRelatedInfo(Zr(s,e.Diagnostics.This_parameter_is_not_allowed_with_use_strict_directive),e.createDiagnosticForNode(n,e.Diagnostics.use_strict_directive_used_here))});var a=i.map(function(s,l){return l===0?e.createDiagnosticForNode(s,e.Diagnostics.Non_simple_parameter_declared_here):e.createDiagnosticForNode(s,e.Diagnostics.and_here)});return e.addRelatedInfo.apply(void 0,zn([Zr(n,e.Diagnostics.use_strict_directive_cannot_be_used_with_non_simple_parameter_list)],a,!1)),!0}}}return!1}function J0(r){var n=e.getSourceFileOfNode(r);return jf(r)||hE(r.typeParameters,n)||I5(r.parameters)||M5(r,n)||e.isFunctionLikeDeclaration(r)&&O5(r)}function F5(r){var n=e.getSourceFileOfNode(r);return j5(r)||hE(r.typeParameters,n)}function M5(r,n){if(!e.isArrowFunction(r))return!1;r.typeParameters&&!(e.length(r.typeParameters)>1||r.typeParameters.hasTrailingComma||r.typeParameters[0].constraint)&&n&&e.fileExtensionIsOneOf(n.fileName,[".mts",".cts"])&&mi(r.typeParameters[0],e.Diagnostics.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint);var i=r.equalsGreaterThanToken,a=e.getLineAndCharacterOfPosition(n,i.pos).line,s=e.getLineAndCharacterOfPosition(n,i.end).line;return a!==s&&mi(i,e.Diagnostics.Line_terminator_not_permitted_before_arrow)}function L5(r){var n=r.parameters[0];if(r.parameters.length!==1)return mi(n?n.name:r,e.Diagnostics.An_index_signature_must_have_exactly_one_parameter);if(fg(r.parameters,e.Diagnostics.An_index_signature_cannot_have_a_trailing_comma),n.dotDotDotToken)return mi(n.dotDotDotToken,e.Diagnostics.An_index_signature_cannot_have_a_rest_parameter);if(e.hasEffectiveModifiers(n))return mi(n.name,e.Diagnostics.An_index_signature_parameter_cannot_have_an_accessibility_modifier);if(n.questionToken)return mi(n.questionToken,e.Diagnostics.An_index_signature_parameter_cannot_have_a_question_mark);if(n.initializer)return mi(n.name,e.Diagnostics.An_index_signature_parameter_cannot_have_an_initializer);if(!n.type)return mi(n.name,e.Diagnostics.An_index_signature_parameter_must_have_a_type_annotation);var i=zt(n.type);return Jf(i,function(a){return!!(a.flags&8576)})||rg(i)?mi(n.name,e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead):mf(i,ch)?r.type?!1:mi(r,e.Diagnostics.An_index_signature_must_have_a_type_annotation):mi(n.name,e.Diagnostics.An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type)}function R5(r){return jf(r)||L5(r)}function B5(r,n){if(n&&n.length===0){var i=e.getSourceFileOfNode(r),a=n.pos-"<".length,s=e.skipTrivia(i.text,n.end)+">".length;return cp(i,a,s-a,e.Diagnostics.Type_argument_list_cannot_be_empty)}return!1}function Wy(r,n){return fg(n)||B5(r,n)}function J5(r){return r.questionDotToken||r.flags&32?mi(r.template,e.Diagnostics.Tagged_template_expressions_are_not_permitted_in_an_optional_chain):!1}function DE(r){var n=r.types;if(fg(n))return!0;if(n&&n.length===0){var i=e.tokenToString(r.token);return cp(r,n.pos,0,e.Diagnostics._0_list_cannot_be_empty,i)}return e.some(n,bE)}function bE(r){return e.isExpressionWithTypeArguments(r)&&e.isImportKeyword(r.expression)&&r.typeArguments?mi(r,e.Diagnostics.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments):Wy(r,r.typeArguments)}function j5(r){var n=!1,i=!1;if(!jf(r)&&r.heritageClauses)for(var a=0,s=r.heritageClauses;a1)return Ws(l.types[1],e.Diagnostics.Classes_can_only_extend_a_single_class);n=!0}else{if(e.Debug.assert(l.token===117),i)return Ws(l,e.Diagnostics.implements_clause_already_seen);i=!0}DE(l)}}function U5(r){var n=!1;if(r.heritageClauses)for(var i=0,a=r.heritageClauses;i=4)break;default:fe.add(e.createDiagnosticForNode(r.awaitModifier,e.Diagnostics.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher));break}}else if(!zp(n)){var i=e.createDiagnosticForNode(r.awaitModifier,e.Diagnostics.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules),a=e.getContainingFunction(r);if(a&&a.kind!==173){e.Debug.assert((e.getFunctionFlags(a)&2)==0,"Enclosing function should never be an async function.");var s=e.createDiagnosticForNode(a,e.Diagnostics.Did_you_mean_to_mark_this_function_as_async);e.addRelatedInfo(i,s)}return fe.add(i),!0}return!1}if(e.isForOfStatement(r)&&!(r.flags&32768)&&e.isIdentifier(r.initializer)&&r.initializer.escapedText==="async")return mi(r.initializer,e.Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_async),!1;if(r.initializer.kind===258){var l=r.initializer;if(!tb(l)){var g=l.declarations;if(!g.length)return!1;if(g.length>1){var i=r.kind===246?e.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:e.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement;return Ws(l.declarations[1],i)}var W=g[0];if(W.initializer){var i=r.kind===246?e.Diagnostics.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:e.Diagnostics.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer;return mi(W.name,i)}if(W.type){var i=r.kind===246?e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:e.Diagnostics.The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation;return mi(W,i)}}}return!1}function G5(r){if(!(r.flags&16777216)&&r.parent.kind!==184&&r.parent.kind!==261){if(d<1)return mi(r.name,e.Diagnostics.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher);if(d<2&&e.isPrivateIdentifier(r.name))return mi(r.name,e.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(r.body===void 0&&!e.hasSyntacticModifier(r,256))return cp(r,r.end-1,";".length,e.Diagnostics._0_expected,"{")}if(r.body){if(e.hasSyntacticModifier(r,256))return mi(r,e.Diagnostics.An_abstract_accessor_cannot_have_an_implementation);if(r.parent.kind===184||r.parent.kind===261)return mi(r.body,e.Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts)}if(r.typeParameters)return mi(r.name,e.Diagnostics.An_accessor_cannot_have_type_parameters);if(!H5(r))return mi(r.name,r.kind===174?e.Diagnostics.A_get_accessor_cannot_have_parameters:e.Diagnostics.A_set_accessor_must_have_exactly_one_parameter);if(r.kind===175){if(r.type)return mi(r.name,e.Diagnostics.A_set_accessor_cannot_have_a_return_type_annotation);var n=e.Debug.checkDefined(e.getSetAccessorValueParameter(r),"Return value does not match parameter count assertion.");if(n.dotDotDotToken)return mi(n.dotDotDotToken,e.Diagnostics.A_set_accessor_cannot_have_rest_parameter);if(n.questionToken)return mi(n.questionToken,e.Diagnostics.A_set_accessor_cannot_have_an_optional_parameter);if(n.initializer)return mi(r.name,e.Diagnostics.A_set_accessor_parameter_cannot_have_an_initializer)}return!1}function H5(r){return ib(r)||r.parameters.length===(r.kind===174?0:1)}function ib(r){if(r.parameters.length===(r.kind===174?1:2))return e.getThisParameter(r)}function K5(r){if(r.operator===156){if(r.type.kind!==153)return mi(r.type,e.Diagnostics._0_expected,e.tokenToString(153));var n=e.walkUpParenthesizedTypes(r.parent);if(e.isInJSFile(n)&&e.isJSDocTypeExpression(n)){var i=e.getJSDocHost(n);i&&(n=e.getSingleVariableOfVariableStatement(i)||i)}switch(n.kind){case 257:var a=n;if(a.name.kind!==79)return mi(r,e.Diagnostics.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name);if(!e.isVariableDeclarationInVariableStatement(a))return mi(r,e.Diagnostics.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement);if(!(a.parent.flags&2))return mi(n.name,e.Diagnostics.A_variable_whose_type_is_a_unique_symbol_type_must_be_const);break;case 169:if(!e.isStatic(n)||!e.hasEffectiveReadonlyModifier(n))return mi(n.name,e.Diagnostics.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly);break;case 168:if(!e.hasSyntacticModifier(n,64))return mi(n.name,e.Diagnostics.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly);break;default:return mi(r,e.Diagnostics.unique_symbol_types_are_not_allowed_here)}}else if(r.operator===146&&r.type.kind!==185&&r.type.kind!==186)return Ws(r,e.Diagnostics.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types,e.tokenToString(153))}function wm(r,n){if(Vy(r))return mi(r,n)}function CE(r){if(J0(r))return!0;if(r.kind===171){if(r.parent.kind===207){if(r.modifiers&&!(r.modifiers.length===1&&e.first(r.modifiers).kind===132))return Ws(r,e.Diagnostics.Modifiers_cannot_appear_here);if(nb(r.questionToken,e.Diagnostics.An_object_member_cannot_be_declared_optional))return!0;if(SE(r.exclamationToken,e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context))return!0;if(r.body===void 0)return cp(r,r.end-1,";".length,e.Diagnostics._0_expected,"{")}if(rb(r))return!0}if(e.isClassLike(r.parent)){if(d<2&&e.isPrivateIdentifier(r.name))return mi(r.name,e.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(r.flags&16777216)return wm(r.name,e.Diagnostics.A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(r.kind===171&&!r.body)return wm(r.name,e.Diagnostics.A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}else{if(r.parent.kind===261)return wm(r.name,e.Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(r.parent.kind===184)return wm(r.name,e.Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}}function Q5(r){for(var n=r;n;){if(e.isFunctionLikeOrClassStaticBlockDeclaration(n))return mi(r,e.Diagnostics.Jump_target_cannot_cross_function_boundary);switch(n.kind){case 253:if(r.label&&n.label.escapedText===r.label.escapedText){var i=r.kind===248&&!e.isIterationStatement(n.statement,!0);return i?mi(r,e.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement):!1}break;case 252:if(r.kind===249&&!r.label)return!1;break;default:if(e.isIterationStatement(n,!1)&&!r.label)return!1;break}n=n.parent}if(r.label){var a=r.kind===249?e.Diagnostics.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:e.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement;return mi(r,a)}else{var a=r.kind===249?e.Diagnostics.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:e.Diagnostics.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement;return mi(r,a)}}function X5(r){if(r.dotDotDotToken){var n=r.parent.elements;if(r!==e.last(n))return mi(r,e.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);if(fg(n,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),r.propertyName)return mi(r.name,e.Diagnostics.A_rest_element_cannot_have_a_property_name)}if(r.dotDotDotToken&&r.initializer)return cp(r,r.initializer.pos-1,1,e.Diagnostics.A_rest_element_cannot_have_an_initializer)}function TE(r){return e.isStringOrNumericLiteralLike(r)||r.kind===221&&r.operator===40&&r.operand.kind===8}function Z5(r){return r.kind===9||r.kind===221&&r.operator===40&&r.operand.kind===9}function Y5(r){if((e.isPropertyAccessExpression(r)||e.isElementAccessExpression(r)&&TE(r.argumentExpression))&&e.isEntityNameExpression(r.expression))return!!(Ds(r).flags&1024)}function EE(r){var n=r.initializer;if(n){var i=!(TE(n)||Y5(n)||n.kind===110||n.kind===95||Z5(n)),a=e.isDeclarationReadonly(r)||e.isVariableDeclaration(r)&&e.isVarConst(r);if(a&&!r.type){if(i)return mi(n,e.Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference)}else return mi(n,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}}function $5(r){if(r.parent.parent.kind!==246&&r.parent.parent.kind!==247){if(r.flags&16777216)EE(r);else if(!r.initializer){if(e.isBindingPattern(r.name)&&!e.isBindingPattern(r.parent))return mi(r,e.Diagnostics.A_destructuring_declaration_must_have_an_initializer);if(e.isVarConst(r))return mi(r,e.Diagnostics.const_declarations_must_be_initialized)}}if(r.exclamationToken&&(r.parent.parent.kind!==240||!r.type||r.initializer||r.flags&16777216)){var n=r.initializer?e.Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:r.type?e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context:e.Diagnostics.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations;return mi(r.exclamationToken,n)}(j0}function Ws(r,n,i,a,s){var l=e.getSourceFileOfNode(r);if(!zp(l)){var g=e.getSpanOfTokenAtPosition(l,r.pos);return fe.add(e.createFileDiagnostic(l,g.start,g.length,n,i,a,s)),!0}return!1}function cp(r,n,i,a,s,l,g){var W=e.getSourceFileOfNode(r);return zp(W)?!1:(fe.add(e.createFileDiagnostic(W,n,i,a,s,l,g)),!0)}function n7(r,n,i,a,s,l){var g=e.getSourceFileOfNode(n);return zp(g)?!1:(pl(r,n,i,a,s,l),!0)}function mi(r,n,i,a,s){var l=e.getSourceFileOfNode(r);return zp(l)?!1:(fe.add(e.createDiagnosticForNode(r,n,i,a,s)),!0)}function i7(r){var n=e.isInJSFile(r)?e.getJSDocTypeParameterDeclarations(r):void 0,i=r.typeParameters||n&&e.firstOrUndefined(n);if(i){var a=i.pos===i.end?i.pos:e.skipTrivia(e.getSourceFileOfNode(r).text,i.pos);return cp(r,a,i.end-a,e.Diagnostics.Type_parameters_cannot_appear_on_a_constructor_declaration)}}function t7(r){var n=r.type||e.getEffectiveReturnTypeNode(r);if(n)return mi(n,e.Diagnostics.Type_annotation_cannot_appear_on_a_constructor_declaration)}function a7(r){if(e.isComputedPropertyName(r.name)&&e.isBinaryExpression(r.name.expression)&&r.name.expression.operatorToken.kind===101)return mi(r.parent.members[0],e.Diagnostics.A_mapped_type_may_not_declare_properties_or_methods);if(e.isClassLike(r.parent)){if(e.isStringLiteral(r.name)&&r.name.text==="constructor")return mi(r.name,e.Diagnostics.Classes_may_not_have_a_field_named_constructor);if(wm(r.name,e.Diagnostics.A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type))return!0;if(d<2&&e.isPrivateIdentifier(r.name))return mi(r.name,e.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(d<2&&e.isAutoAccessorPropertyDeclaration(r))return mi(r.name,e.Diagnostics.Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(e.isAutoAccessorPropertyDeclaration(r)&&nb(r.questionToken,e.Diagnostics.An_accessor_property_cannot_be_declared_optional))return!0}else if(r.parent.kind===261){if(wm(r.name,e.Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type))return!0;if(e.Debug.assertNode(r,e.isPropertySignature),r.initializer)return mi(r.initializer,e.Diagnostics.An_interface_property_cannot_have_an_initializer)}else if(e.isTypeLiteralNode(r.parent)){if(wm(r.name,e.Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type))return!0;if(e.Debug.assertNode(r,e.isPropertySignature),r.initializer)return mi(r.initializer,e.Diagnostics.A_type_literal_property_cannot_have_an_initializer)}if(r.flags&16777216&&EE(r),e.isPropertyDeclaration(r)&&r.exclamationToken&&(!e.isClassLike(r.parent)||!r.type||r.initializer||r.flags&16777216||e.isStatic(r)||e.hasAbstractModifier(r))){var n=r.initializer?e.Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:r.type?e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context:e.Diagnostics.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations;return mi(r.exclamationToken,n)}}function o7(r){return r.kind===261||r.kind===262||r.kind===269||r.kind===268||r.kind===275||r.kind===274||r.kind===267||e.hasSyntacticModifier(r,2|1|1024)?!1:Ws(r,e.Diagnostics.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}function s7(r){for(var n=0,i=r.statements;n=1?n=e.Diagnostics.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:e.isChildOfNodeWithKind(r,198)?n=e.Diagnostics.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:e.isChildOfNodeWithKind(r,302)&&(n=e.Diagnostics.Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0),n){var i=e.isPrefixUnaryExpression(r.parent)&&r.parent.operator===40,a=(i?"-":"")+"0o"+r.text;return mi(i?r.parent:r,n,a)}}return u7(r),!1}function u7(r){var n=e.getTextOfNode(r).indexOf(".")!==-1,i=r.numericLiteralFlags&16;if(!(n||i)){var a=+r.text;a<=Math.pow(2,53)-1||Yl(!1,e.createDiagnosticForNode(r,e.Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers))}}function l7(r){var n=e.isLiteralTypeNode(r.parent)||e.isPrefixUnaryExpression(r.parent)&&e.isLiteralTypeNode(r.parent.parent);return!!(!n&&d<7&&mi(r,e.Diagnostics.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020))}function f7(r,n,i,a,s){var l=e.getSourceFileOfNode(r);if(!zp(l)){var g=e.getSpanOfTokenAtPosition(l,r.pos);return fe.add(e.createFileDiagnostic(l,e.textSpanEnd(g),0,n,i,a,s)),!0}return!1}function _7(){return Jr||(Jr=[],rn.forEach(function(r,n){o.test(n)&&Jr.push(r)})),Jr}function d7(r){var n;return r.isTypeOnly&&r.name&&r.namedBindings?mi(r,e.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both):r.isTypeOnly&&((n=r.namedBindings)===null||n===void 0?void 0:n.kind)===272?PE(r.namedBindings):!1}function PE(r){return!!e.forEach(r.elements,function(n){if(n.isTypeOnly)return Ws(n,n.kind===273?e.Diagnostics.The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement:e.Diagnostics.The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement)})}function p7(r){if(j===e.ModuleKind.ES2015)return mi(r,e.Diagnostics.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_or_nodenext);if(r.typeArguments)return mi(r,e.Diagnostics.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments);var n=r.arguments;if(j!==e.ModuleKind.ESNext&&j!==e.ModuleKind.NodeNext&&j!==e.ModuleKind.Node16&&(fg(n),n.length>1)){var i=n[1];return mi(i,e.Diagnostics.Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nodenext)}if(n.length===0||n.length>2)return mi(r,e.Diagnostics.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments);var a=e.find(n,e.isSpreadElement);return a?mi(a,e.Diagnostics.Argument_of_dynamic_import_cannot_be_spread_element):!1}function g7(r,n){var i=e.getObjectFlags(r);if(i&(4|16)&&n.flags&1048576)return e.find(n.types,function(a){if(a.flags&524288){var s=i&e.getObjectFlags(a);if(s&4)return r.target===a.target;if(s&16)return!!r.aliasSymbol&&r.aliasSymbol===a.aliasSymbol}return!1})}function m7(r,n){if(e.getObjectFlags(r)&128&&Jf(n,Td))return e.find(n.types,function(i){return!Td(i)})}function v7(r,n){var i=0,a=_a(r,i).length>0||(i=1,_a(r,i).length>0);if(a)return e.find(n.types,function(s){return _a(s,i).length>0})}function y7(r,n){var i;if(!(r.flags&(131068|406847488)))for(var a=0,s=0,l=n.types;s=a&&(i=g,a=ce)}}}return i}function h7(r){if(rs(r,67108864)){var n=Qs(r,function(i){return!(i.flags&131068)});if(!(n.flags&131072))return n}return r}function IE(r,n,i,a){if(n.flags&1048576&&r.flags&(2097152|524288)){var s=ix(n,r);if(s)return s;var l=vo(r);if(l){var g=nx(l,n);if(g)return Y1(n,e.map(g,function(W){return[function(){return Li(W)},W.escapedName]}),i,void 0,a)}}}}e.createTypeChecker=$;function L(b){return!e.isAccessor(b)}function P(b){return b.kind!==259&&b.kind!==171||!!b.body}function N(b){switch(b.parent.kind){case 273:case 278:return e.isIdentifier(b);default:return e.isDeclarationName(b)}}var J;(function(b){b.JSX="JSX",b.IntrinsicElements="IntrinsicElements",b.ElementClass="ElementClass",b.ElementAttributesPropertyNameContainer="ElementAttributesProperty",b.ElementChildrenAttributeNameContainer="ElementChildrenAttribute",b.Element="Element",b.IntrinsicAttributes="IntrinsicAttributes",b.IntrinsicClassAttributes="IntrinsicClassAttributes",b.LibraryManagedAttributes="LibraryManagedAttributes"})(J||(J={}));function q(b){switch(b){case 0:return"yieldType";case 1:return"returnType";case 2:return"nextType"}}function G(b){return!!(b.flags&1)}e.signatureHasRestParameter=G;function ye(b){return!!(b.flags&2)}e.signatureHasLiteralTypes=ye})(fr||(fr={}));var fr;(function(e){var o;function ne(I,f,m,y){if(I===void 0||f===void 0)return I;var S=f(I);if(S===I)return I;var k;if(S!==void 0)return e.isArray(S)?k=(y||E)(S):k=S,e.Debug.assertNode(k,m),k}e.visitNode=ne;function K(I,f,m,y,S){if(I===void 0||f===void 0)return I;var k=I.length;(y===void 0||y<0)&&(y=0),(S===void 0||S>k-y)&&(S=k-y);var C,me=-1,De=-1;y>0||Sk-y)&&(S=k-y),O(I,f,m,y,S)}e.visitArray=se;function O(I,f,m,y,S){var k,C=I.length;(y>0||S=2&&(S=Q(S,m)),m.setLexicalEnvironmentFlags(1,!1)),m.suspendLexicalEnvironment(),S}e.visitParameterList=_e;function Q(I,f){for(var m,y=0;yer||w===er&&z>wr)}function Ne(Re,er,wr,mr,Ue,t){e.Debug.assert(Re>=B,"generatedLine cannot backtrack"),e.Debug.assert(er>=0,"generatedCharacter cannot be negative"),e.Debug.assert(wr===void 0||wr>=0,"sourceIndex cannot be negative"),e.Debug.assert(mr===void 0||mr>=0,"sourceLine cannot be negative"),e.Debug.assert(Ue===void 0||Ue>=0,"sourceCharacter cannot be negative"),M(),(Ae(Re,er)||Xe(wr,mr,Ue))&&(d(),B=Re,u=er,pe=!1,He=!1,ge=!0),wr!==void 0&&mr!==void 0&&Ue!==void 0&&(A=wr,w=mr,z=Ue,pe=!0,t!==void 0&&(U=t,He=!0)),H()}function Oe(Re,er,wr,mr,Ue,t){e.Debug.assert(Re>=B,"generatedLine cannot backtrack"),e.Debug.assert(er>=0,"generatedCharacter cannot be negative"),M();for(var qr=[],ln,dr=p(wr.mappings),vr=dr.next();!vr.done;vr=dr.next()){var kr=vr.value;if(t&&(kr.generatedLine>t.line||kr.generatedLine===t.line&&kr.generatedCharacter>t.character))break;if(!(Ue&&(kr.generatedLine=1024&&j()}function d(){if(!(!ge||!be())){if(M(),q0&&(J+=String.fromCharCode.apply(void 0,N),N.length=0)}function Ce(){return d(),j(),{version:3,file:k,sourceRoot:C,sources:h,names:L,mappings:J,sourcesContent:$}}function Se(Re){Re<0?Re=(-Re<<1)+1:Re=Re<<1;do{var er=Re&31;Re=Re>>5,Re>0&&(er=er|32),Y(de(er))}while(Re>0)}}e.createSourceMapGenerator=o;var ne=/^\/\/[@#] source[M]appingURL=(.+)\r?\n?$/,K=/^\s*(\/\/[@#] .*)?$/;function se(S,k){return{getLineCount:function(){return k.length},getLineText:function(C){return S.substring(k[C],k[C+1])}}}e.getLineInfo=se;function O(S){for(var k=S.getLineCount()-1;k>=0;k--){var C=S.getLineText(k),me=ne.exec(C);if(me)return e.trimStringEnd(me[1]);if(!C.match(K))break}}e.tryGetSourceMappingURL=O;function ie(S){return typeof S=="string"||S===null}function _e(S){return S!==null&&typeof S=="object"&&S.version===3&&typeof S.file=="string"&&typeof S.mappings=="string"&&e.isArray(S.sources)&&e.every(S.sources,e.isString)&&(S.sourceRoot===void 0||S.sourceRoot===null||typeof S.sourceRoot=="string")&&(S.sourcesContent===void 0||S.sourcesContent===null||e.isArray(S.sourcesContent)&&e.every(S.sourcesContent,ie))&&(S.names===void 0||S.names===null||e.isArray(S.names)&&e.every(S.names,e.isString))}e.isRawSourceMap=_e;function Q(S){try{var k=JSON.parse(S);if(_e(k))return k}catch(C){}}e.tryParseRawSourceMap=Q;function p(S){var k=!1,C=0,me=0,De=0,X=0,M=0,H=0,V=0,h;return{get pos(){return C},get error(){return h},get state(){return F(!0,!0)},next:function(){for(;!k&&C=S.length)return L("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;var x=te(S.charCodeAt(C));if(x===-1)return L("Invalid character in VLQ"),-1;G=(x&32)!=0,b=b|(x&31)<>1:(b=b>>1,b=-b),b}}e.decodeMappings=p;function D(S,k){return S===k||S.generatedLine===k.generatedLine&&S.generatedCharacter===k.generatedCharacter&&S.sourceIndex===k.sourceIndex&&S.sourceLine===k.sourceLine&&S.sourceCharacter===k.sourceCharacter&&S.nameIndex===k.nameIndex}e.sameMapping=D;function le(S){return S.sourceIndex!==void 0&&S.sourceLine!==void 0&&S.sourceCharacter!==void 0}e.isSourceMapping=le;function de(S){return S>=0&&S<26?65+S:S>=26&&S<52?97+S-26:S>=52&&S<62?48+S-52:S===62?43:S===63?47:e.Debug.fail("".concat(S,": not a base64 value"))}function te(S){return S>=65&&S<=90?S-65:S>=97&&S<=122?S-97+26:S>=48&&S<=57?S-48+52:S===43?62:S===47?63:-1}function oe(S){return S.sourceIndex!==void 0&&S.sourcePosition!==void 0}function ae(S,k){return S.generatedPosition===k.generatedPosition&&S.sourceIndex===k.sourceIndex&&S.sourcePosition===k.sourcePosition}function E(S,k){return e.Debug.assert(S.sourceIndex===k.sourceIndex),e.compareValues(S.sourcePosition,k.sourcePosition)}function I(S,k){return e.compareValues(S.generatedPosition,k.generatedPosition)}function f(S){return S.sourcePosition}function m(S){return S.generatedPosition}function y(S,k,C){var me=e.getDirectoryPath(C),De=k.sourceRoot?e.getNormalizedAbsolutePath(k.sourceRoot,me):me,X=e.getNormalizedAbsolutePath(k.file,me),M=S.getSourceFileLike(X),H=k.sources.map(function(ye){return e.getNormalizedAbsolutePath(ye,De)}),V=new e.Map(H.map(function(ye,b){return[S.getCanonicalFileName(ye),b]})),h,F,$;return{getSourcePosition:G,getGeneratedPosition:q};function L(ye){var b=M!==void 0?e.getPositionOfLineAndCharacter(M,ye.generatedLine,ye.generatedCharacter,!0):-1,x,T;if(le(ye)){var Z=S.getSourceFileLike(H[ye.sourceIndex]);x=k.sources[ye.sourceIndex],T=Z!==void 0?e.getPositionOfLineAndCharacter(Z,ye.sourceLine,ye.sourceCharacter,!0):-1}return{generatedPosition:b,source:x,sourceIndex:ye.sourceIndex,sourcePosition:T,nameIndex:ye.nameIndex}}function P(){if(h===void 0){var ye=p(k.mappings),b=e.arrayFrom(ye,L);ye.error!==void 0?(S.log&&S.log("Encountered error while decoding sourcemap: ".concat(ye.error)),h=e.emptyArray):h=b}return h}function N(ye){if($===void 0){for(var b=[],x=0,T=P();x0&&$!==F.elements.length||!!(F.elements.length-$)&&e.isDefaultImport(h)}e.getImportNeedsImportStarHelper=ie;function _e(h){return!ie(h)&&(e.isDefaultImport(h)||!!h.importClause&&e.isNamedImports(h.importClause.namedBindings)&&ne(h.importClause.namedBindings))}e.getImportNeedsImportDefaultHelper=_e;function Q(h,F,$,L){for(var P=[],N=e.createMultiMap(),J=[],q=new e.Map,G,ye=!1,b,x=!1,T=!1,Z=!1,B=0,u=F.statements;B=64&&h<=78}e.isCompoundAssignment=te;function oe(h){switch(h){case 64:return 39;case 65:return 40;case 66:return 41;case 67:return 42;case 68:return 43;case 69:return 44;case 70:return 47;case 71:return 48;case 72:return 49;case 73:return 50;case 74:return 51;case 78:return 52;case 75:return 56;case 76:return 55;case 77:return 60}}e.getNonAssignmentOperatorForCompoundAssignment=oe;function ae(h){if(!!e.isExpressionStatement(h)){var F=e.skipParentheses(h.expression);return e.isSuperCall(F)?F:void 0}}e.getSuperCallFromStatement=ae;function E(h,F){for(var $=F;$0&&e.parameterIsThisKeyword($[0]),P=L?1:0,N=L?$.length-1:$.length,J=0;J=1&&!($.transformFlags&(32768|65536))&&!(e.getTargetOfBindingOrAssignmentElement($).transformFlags&(32768|65536))&&!e.isComputedPropertyName(L))V=e.append(V,e.visitNode($,S.visitor));else{V&&(S.emitBindingOrAssignment(S.createObjectBindingOrAssignmentPattern(V),me,De,C),V=void 0);var P=te(S,me,L);e.isComputedPropertyName(L)&&(h=e.append(h,P.argumentExpression)),Q(S,$,P,$)}}}V&&S.emitBindingOrAssignment(S.createObjectBindingOrAssignmentPattern(V),me,De,C)}function D(S,k,C,me,De){var X=e.getElementsOfBindingOrAssignmentPattern(C),M=X.length;if(S.level<1&&S.downlevelIteration)me=oe(S,e.setTextRange(S.context.getEmitHelperFactory().createReadHelper(me,M>0&&e.getRestIndicatorOfBindingOrAssignmentElement(X[M-1])?void 0:M),De),!1,De);else if(M!==1&&(S.level<1||M===0)||e.every(X,e.isOmittedExpression)){var H=!e.isDeclarationBindingElement(k)||M!==0;me=oe(S,me,H,De)}for(var V,h,F=0;F=1)if($.transformFlags&65536||S.hasTransformedPriorElement&&!le($)){S.hasTransformedPriorElement=!0;var L=S.context.factory.createTempVariable(void 0);S.hoistTempVariables&&S.context.hoistVariableDeclaration(L),h=e.append(h,[L,$]),V=e.append(V,S.createArrayBindingOrAssignmentElement(L))}else V=e.append(V,$);else{if(e.isOmittedExpression($))continue;if(e.getRestIndicatorOfBindingOrAssignmentElement($)){if(F===M-1){var P=S.context.factory.createArraySliceCall(me,F);Q(S,$,P,$)}}else{var P=S.context.factory.createElementAccessExpression(me,F);Q(S,$,P,$)}}}if(V&&S.emitBindingOrAssignment(S.createArrayBindingOrAssignmentPattern(V),me,De,C),h)for(var N=0,J=h;N=e.ModuleKind.ES2015)&&!e.isJsonSourceFile(Ge);return ie.updateSourceFile(Ge,e.visitLexicalEnvironment(Ge.statements,P,O,0,cn))}function A(Ge){return ie.updateObjectLiteralExpression(Ge,e.visitNodes(Ge.properties,x(Ge),e.isObjectLiteralElement))}function w(Ge,cn){var Vn=0;e.some(cn)&&(Vn|=1);var Ki=e.getEffectiveBaseTypeNode(Ge);return Ki&&e.skipOuterExpressions(Ki.expression).kind!==104&&(Vn|=64),e.classOrConstructorParameterIsDecorated(Ge)&&(Vn|=2),e.childIsDecorated(Ge)&&(Vn|=4),Or(Ge)?Vn|=8:Vr(Ge)?Vn|=32:fn(Ge)&&(Vn|=16),oe<=1&&Vn&7&&(Vn|=128),Vn}function z(Ge){return!!(Ge.transformFlags&8192)}function U(Ge){return e.hasDecorators(Ge)||e.some(Ge.typeParameters)||e.some(Ge.heritageClauses,z)||e.some(Ge.members,z)}function ge(Ge){if(!U(Ge)&&!(y&&e.hasSyntacticModifier(Ge,1)))return ie.updateClassDeclaration(Ge,e.visitNodes(Ge.modifiers,Z,e.isModifier),Ge.name,void 0,e.visitNodes(Ge.heritageClauses,$,e.isHeritageClause),e.visitNodes(Ge.members,ye(Ge),e.isClassElement));var cn=e.getProperties(Ge,!0,!0),Vn=w(Ge,cn);Vn&128&&O.startLexicalEnvironment();var Ki=Ge.name||(Vn&5?ie.getGeneratedNameForNode(Ge):void 0),dt=e.getAllDecoratorsOfClass(Ge),qi=Be(Ge,Ge,dt),Ci=Vn&128?e.elideNodes(ie,Ge.modifiers):e.visitNodes(Ge.modifiers,Z,e.isModifier),Tt=ie.updateClassDeclaration(Ge,e.concatenate(qi,Ci),Ki,void 0,e.visitNodes(Ge.heritageClauses,$,e.isHeritageClause),He(Ge)),ot=e.getEmitFlags(Ge);Vn&1&&(ot|=32),e.setEmitFlags(Tt,ot);var Zi=[Tt];if(Vn&128){var ni=e.createTokenRange(e.skipTrivia(m.text,Ge.members.end),19),Va=ie.getInternalName(Ge),Ua=ie.createPartiallyEmittedExpression(Va);e.setTextRangeEnd(Ua,ni.end),e.setEmitFlags(Ua,1536);var za=ie.createReturnStatement(Ua);e.setTextRangePos(za,ni.pos),e.setEmitFlags(za,1536|384),Zi.push(za),e.insertStatementsAfterStandardPrologue(Zi,O.endLexicalEnvironment());var Co=ie.createImmediatelyInvokedArrowFunction(Zi);e.setEmitFlags(Co,33554432);var Ea=ie.createVariableStatement(void 0,ie.createVariableDeclarationList([ie.createVariableDeclaration(ie.getLocalName(Ge,!1,!1),void 0,void 0,Co)]));e.setOriginalNode(Ea,Ge),e.setCommentRange(Ea,Ge),e.setSourceMapRange(Ea,e.moveRangePastDecorators(Ge)),e.startOnNewLine(Ea),Zi=[Ea]}return Vn&8?Wn(Zi,Ge):(Vn&128||Vn&2)&&(Vn&32?Zi.push(ie.createExportDefault(ie.getLocalName(Ge,!1,!0))):Vn&16&&Zi.push(ie.createExternalModuleExport(ie.getLocalName(Ge,!1,!0)))),Zi.length>1&&(Zi.push(ie.createEndOfDeclarationMarker(Ge)),e.setEmitFlags(Tt,e.getEmitFlags(Tt)|4194304)),e.singleOrMany(Zi)}function pe(Ge){var cn=e.getAllDecoratorsOfClass(Ge),Vn=Be(Ge,Ge,cn);return ie.updateClassExpression(Ge,Vn,Ge.name,void 0,e.visitNodes(Ge.heritageClauses,$,e.isHeritageClause),U(Ge)?He(Ge):e.visitNodes(Ge.members,ye(Ge),e.isClassElement))}function He(Ge){var cn=[],Vn=e.getFirstConstructorWithBody(Ge),Ki=Vn&&e.filter(Vn.parameters,function(Tt){return e.isParameterPropertyDeclaration(Tt,Vn)});if(Ki)for(var dt=0,qi=Ki;dt=0&&e.addRange(Ki,e.visitNodes(Ge.statements,$,e.isStatement,dt,qi+1-dt));var Ci=e.mapDefined(Vn,mr);qi>=0?e.addRange(Ki,Ci):Ki=zn(zn(zn([],Ki.slice(0,dt),!0),Ci,!0),Ki.slice(dt),!0);var Tt=qi>=0?qi+1:dt;e.addRange(Ki,e.visitNodes(Ge.statements,$,e.isStatement,Tt)),Ki=ie.mergeLexicalEnvironment(Ki,D());var ot=ie.createBlock(e.setTextRange(ie.createNodeArray(Ki),Ge.statements),!0);return e.setTextRange(ot,Ge),e.setOriginalNode(ot,Ge),ot}function mr(Ge){var cn=Ge.name;if(!!e.isIdentifier(cn)){var Vn=e.setParent(e.setTextRange(ie.cloneNode(cn),cn),cn.parent);e.setEmitFlags(Vn,1536|48);var Ki=e.setParent(e.setTextRange(ie.cloneNode(cn),cn),cn.parent);return e.setEmitFlags(Ki,1536),e.startOnNewLine(e.removeAllComments(e.setTextRange(e.setOriginalNode(ie.createExpressionStatement(ie.createAssignment(e.setTextRange(ie.createPropertyAccessExpression(ie.createThis(),Vn),Ge.name),Ki)),Ge),e.moveRangePos(Ge,-1))))}}function Ue(Ge,cn){if(!(Ge.transformFlags&1))return Ge;if(!!Se(Ge)){var Vn=e.isClassLike(cn)?e.getAllDecoratorsOfClassElement(Ge,cn):void 0,Ki=e.isClassLike(cn)?Be(Ge,cn,Vn):void 0;return ie.updateMethodDeclaration(Ge,e.concatenate(Ki,e.visitNodes(Ge.modifiers,Z,e.isModifierLike)),Ge.asteriskToken,d(Ge),void 0,void 0,e.visitParameterList(Ge.parameters,$,O),void 0,e.visitFunctionBody(Ge.body,$,O))}}function t(Ge){return!(e.nodeIsMissing(Ge.body)&&e.hasSyntacticModifier(Ge,256))}function qr(Ge,cn){if(!(Ge.transformFlags&1))return Ge;if(!!t(Ge)){var Vn=e.isClassLike(cn)?Be(Ge,cn,e.getAllDecoratorsOfClassElement(Ge,cn)):void 0;return ie.updateGetAccessorDeclaration(Ge,e.concatenate(Vn,e.visitNodes(Ge.modifiers,Z,e.isModifierLike)),d(Ge),e.visitParameterList(Ge.parameters,$,O),void 0,e.visitFunctionBody(Ge.body,$,O)||ie.createBlock([]))}}function ln(Ge,cn){if(!(Ge.transformFlags&1))return Ge;if(!!t(Ge)){var Vn=e.isClassLike(cn)?Be(Ge,cn,e.getAllDecoratorsOfClassElement(Ge,cn)):void 0;return ie.updateSetAccessorDeclaration(Ge,e.concatenate(Vn,e.visitNodes(Ge.modifiers,Z,e.isModifierLike)),d(Ge),e.visitParameterList(Ge.parameters,$,O),e.visitFunctionBody(Ge.body,$,O)||ie.createBlock([]))}}function dr(Ge){if(!Se(Ge))return ie.createNotEmittedStatement(Ge);var cn=ie.updateFunctionDeclaration(Ge,e.visitNodes(Ge.modifiers,Z,e.isModifier),Ge.asteriskToken,Ge.name,void 0,e.visitParameterList(Ge.parameters,$,O),void 0,e.visitFunctionBody(Ge.body,$,O)||ie.createBlock([]));if(Or(Ge)){var Vn=[cn];return Wn(Vn,Ge),Vn}return cn}function vr(Ge){if(!Se(Ge))return ie.createOmittedExpression();var cn=ie.updateFunctionExpression(Ge,e.visitNodes(Ge.modifiers,Z,e.isModifier),Ge.asteriskToken,Ge.name,void 0,e.visitParameterList(Ge.parameters,$,O),void 0,e.visitFunctionBody(Ge.body,$,O)||ie.createBlock([]));return cn}function kr(Ge){var cn=ie.updateArrowFunction(Ge,e.visitNodes(Ge.modifiers,Z,e.isModifier),void 0,e.visitParameterList(Ge.parameters,$,O),void 0,Ge.equalsGreaterThanToken,e.visitFunctionBody(Ge.body,$,O));return cn}function Ur(Ge){if(!e.parameterIsThisKeyword(Ge)){var cn=ie.updateParameterDeclaration(Ge,e.elideNodes(ie,Ge.modifiers),Ge.dotDotDotToken,e.visitNode(Ge.name,$,e.isBindingName),void 0,void 0,e.visitNode(Ge.initializer,$,e.isExpression));return cn!==Ge&&(e.setCommentRange(cn,Ge),e.setTextRange(cn,e.moveRangePastModifiers(Ge)),e.setSourceMapRange(cn,e.moveRangePastModifiers(Ge)),e.setEmitFlags(cn.name,32)),cn}}function Cr(Ge){if(Or(Ge)){var cn=e.getInitializedVariables(Ge.declarationList);return cn.length===0?void 0:e.setTextRange(ie.createExpressionStatement(ie.inlineExpressions(e.map(cn,rn))),Ge)}else return e.visitEachChild(Ge,$,O)}function rn(Ge){var cn=Ge.name;return e.isBindingPattern(cn)?e.flattenDestructuringAssignment(Ge,$,O,0,!1,qn):e.setTextRange(ie.createAssignment(yn(cn),e.visitNode(Ge.initializer,$,e.isExpression)),Ge)}function Br(Ge){var cn=ie.updateVariableDeclaration(Ge,e.visitNode(Ge.name,$,e.isBindingName),void 0,void 0,e.visitNode(Ge.initializer,$,e.isExpression));return Ge.type&&e.setTypeNode(cn.name,Ge.type),cn}function pn(Ge){var cn=e.skipOuterExpressions(Ge.expression,~6);if(e.isAssertionExpression(cn)){var Vn=e.visitNode(Ge.expression,$,e.isExpression);return ie.createPartiallyEmittedExpression(Vn,Ge)}return e.visitEachChild(Ge,$,O)}function ve(Ge){var cn=e.visitNode(Ge.expression,$,e.isExpression);return ie.createPartiallyEmittedExpression(cn,Ge)}function or(Ge){var cn=e.visitNode(Ge.expression,$,e.isLeftHandSideExpression);return ie.createPartiallyEmittedExpression(cn,Ge)}function Ee(Ge){var cn=e.visitNode(Ge.expression,$,e.isExpression);return ie.createPartiallyEmittedExpression(cn,Ge)}function ze(Ge){return ie.updateCallExpression(Ge,e.visitNode(Ge.expression,$,e.isExpression),void 0,e.visitNodes(Ge.arguments,$,e.isExpression))}function Ar(Ge){return ie.updateNewExpression(Ge,e.visitNode(Ge.expression,$,e.isExpression),void 0,e.visitNodes(Ge.arguments,$,e.isExpression))}function xe(Ge){return ie.updateTaggedTemplateExpression(Ge,e.visitNode(Ge.tag,$,e.isExpression),void 0,e.visitNode(Ge.template,$,e.isExpression))}function cr(Ge){return ie.updateJsxSelfClosingElement(Ge,e.visitNode(Ge.tagName,$,e.isJsxTagNameExpression),void 0,e.visitNode(Ge.attributes,$,e.isJsxAttributes))}function Mr(Ge){return ie.updateJsxOpeningElement(Ge,e.visitNode(Ge.tagName,$,e.isJsxTagNameExpression),void 0,e.visitNode(Ge.attributes,$,e.isJsxAttributes))}function Rr(Ge){return!e.isEnumConst(Ge)||e.shouldPreserveConstEnums(te)}function Qr(Ge){if(!Rr(Ge))return ie.createNotEmittedStatement(Ge);var cn=[],Vn=2,Ki=Qn(cn,Ge);Ki&&(ae!==e.ModuleKind.System||k!==m)&&(Vn|=512);var dt=Hn(Ge),qi=Ai(Ge),Ci=e.hasSyntacticModifier(Ge,1)?ie.getExternalModuleOrNamespaceExportName(S,Ge,!1,!0):ie.getLocalName(Ge,!1,!0),Tt=ie.createLogicalOr(Ci,ie.createAssignment(Ci,ie.createObjectLiteralExpression()));if(xr(Ge)){var ot=ie.getLocalName(Ge,!1,!0);Tt=ie.createAssignment(ot,Tt)}var Zi=ie.createExpressionStatement(ie.createCallExpression(ie.createFunctionExpression(void 0,void 0,void 0,void 0,[ie.createParameterDeclaration(void 0,void 0,dt)],void 0,en(Ge,qi)),void 0,[Tt]));return e.setOriginalNode(Zi,Ge),Ki&&(e.setSyntheticLeadingComments(Zi,void 0),e.setSyntheticTrailingComments(Zi,void 0)),e.setTextRange(Zi,Ge),e.addEmitFlags(Zi,Vn),cn.push(Zi),cn.push(ie.createEndOfDeclarationMarker(Ge)),cn}function en(Ge,cn){var Vn=S;S=cn;var Ki=[];Q();var dt=e.map(Ge.members,vn);return e.insertStatementsAfterStandardPrologue(Ki,D()),e.addRange(Ki,dt),S=Vn,ie.createBlock(e.setTextRange(ie.createNodeArray(Ki),Ge.members),!0)}function vn(Ge){var cn=Y(Ge,!1),Vn=Ie(Ge),Ki=ie.createAssignment(ie.createElementAccessExpression(S,cn),Vn),dt=Vn.kind===10?Ki:ie.createAssignment(ie.createElementAccessExpression(S,Ki),cn);return e.setTextRange(ie.createExpressionStatement(e.setTextRange(dt,Ge)),Ge)}function Ie(Ge){var cn=de.getConstantValue(Ge);return cn!==void 0?typeof cn=="string"?ie.createStringLiteral(cn):ie.createNumericLiteral(cn):(ti(),Ge.initializer?e.visitNode(Ge.initializer,$,e.isExpression):ie.createVoidZero())}function We(Ge){var cn=e.getParseTreeNode(Ge,e.isModuleDeclaration);return cn?e.isInstantiatedModule(cn,e.shouldPreserveConstEnums(te)):!0}function xr(Ge){return Or(Ge)||zr(Ge)&&ae!==e.ModuleKind.ES2015&&ae!==e.ModuleKind.ES2020&&ae!==e.ModuleKind.ES2022&&ae!==e.ModuleKind.ESNext&&ae!==e.ModuleKind.System}function Lr(Ge){C||(C=new e.Map);var cn=An(Ge);C.has(cn)||C.set(cn,Ge)}function xn(Ge){if(C){var cn=An(Ge);return C.get(cn)===Ge}return!0}function An(Ge){return e.Debug.assertNode(Ge.name,e.isIdentifier),Ge.name.escapedText}function Qn(Ge,cn){var Vn=ie.createVariableStatement(e.visitNodes(cn.modifiers,Z,e.isModifier),ie.createVariableDeclarationList([ie.createVariableDeclaration(ie.getLocalName(cn,!1,!0))],k.kind===308?0:1));if(e.setOriginalNode(Vn,cn),Lr(cn),xn(cn))return cn.kind===263?e.setSourceMapRange(Vn.declarationList,cn):e.setSourceMapRange(Vn,cn),e.setCommentRange(Vn,cn),e.addEmitFlags(Vn,1024|4194304),Ge.push(Vn),!0;var Ki=ie.createMergeDeclarationMarker(Vn);return e.setEmitFlags(Ki,1536|4194304),Ge.push(Ki),!1}function ai(Ge){if(!We(Ge))return ie.createNotEmittedStatement(Ge);e.Debug.assertNode(Ge.name,e.isIdentifier,"A TypeScript namespace should have an Identifier name."),Hi();var cn=[],Vn=2,Ki=Qn(cn,Ge);Ki&&(ae!==e.ModuleKind.System||k!==m)&&(Vn|=512);var dt=Hn(Ge),qi=Ai(Ge),Ci=e.hasSyntacticModifier(Ge,1)?ie.getExternalModuleOrNamespaceExportName(S,Ge,!1,!0):ie.getLocalName(Ge,!1,!0),Tt=ie.createLogicalOr(Ci,ie.createAssignment(Ci,ie.createObjectLiteralExpression()));if(xr(Ge)){var ot=ie.getLocalName(Ge,!1,!0);Tt=ie.createAssignment(ot,Tt)}var Zi=ie.createExpressionStatement(ie.createCallExpression(ie.createFunctionExpression(void 0,void 0,void 0,void 0,[ie.createParameterDeclaration(void 0,void 0,dt)],void 0,Dr(Ge,qi)),void 0,[Tt]));return e.setOriginalNode(Zi,Ge),Ki&&(e.setSyntheticLeadingComments(Zi,void 0),e.setSyntheticTrailingComments(Zi,void 0)),e.setTextRange(Zi,Ge),e.addEmitFlags(Zi,Vn),cn.push(Zi),cn.push(ie.createEndOfDeclarationMarker(Ge)),cn}function Dr(Ge,cn){var Vn=S,Ki=y,dt=C;S=cn,y=Ge,C=void 0;var qi=[];Q();var Ci,Tt;if(Ge.body)if(Ge.body.kind===265)h(Ge.body,function(Va){return e.addRange(qi,e.visitNodes(Va.statements,q,e.isStatement))}),Ci=Ge.body.statements,Tt=Ge.body;else{var ot=ai(Ge.body);ot&&(e.isArray(ot)?e.addRange(qi,ot):qi.push(ot));var Zi=Pr(Ge).body;Ci=e.moveRangePos(Zi.statements,-1)}e.insertStatementsAfterStandardPrologue(qi,D()),S=Vn,y=Ki,C=dt;var ni=ie.createBlock(e.setTextRange(ie.createNodeArray(qi),Ci),!0);return e.setTextRange(ni,Tt),(!Ge.body||Ge.body.kind!==265)&&e.setEmitFlags(ni,e.getEmitFlags(ni)|1536),ni}function Pr(Ge){if(Ge.body.kind===264){var cn=Pr(Ge.body);return cn||Ge.body}}function jr(Ge){if(!Ge.importClause)return Ge;if(!Ge.importClause.isTypeOnly){var cn=e.visitNode(Ge.importClause,on,e.isImportClause);return cn||te.importsNotUsedAsValues===1||te.importsNotUsedAsValues===2?ie.updateImportDeclaration(Ge,void 0,cn,Ge.moduleSpecifier,Ge.assertClause):void 0}}function on(Ge){e.Debug.assert(!Ge.isTypeOnly);var cn=Xn(Ge)?Ge.name:void 0,Vn=e.visitNode(Ge.namedBindings,je,e.isNamedImportBindings);return cn||Vn?ie.updateImportClause(Ge,!1,cn,Vn):void 0}function je(Ge){if(Ge.kind===271)return Xn(Ge)?Ge:void 0;var cn=te.preserveValueImports&&(te.importsNotUsedAsValues===1||te.importsNotUsedAsValues===2),Vn=e.visitNodes(Ge.elements,Sr,e.isImportSpecifier);return cn||e.some(Vn)?ie.updateNamedImports(Ge,Vn):void 0}function Sr(Ge){return!Ge.isTypeOnly&&Xn(Ge)?Ge:void 0}function Te(Ge){return de.isValueAliasDeclaration(Ge)?e.visitEachChild(Ge,$,O):void 0}function Ye(Ge){if(!Ge.isTypeOnly){if(!Ge.exportClause||e.isNamespaceExport(Ge.exportClause))return Ge;var cn=!!Ge.moduleSpecifier&&(te.importsNotUsedAsValues===1||te.importsNotUsedAsValues===2),Vn=e.visitNode(Ge.exportClause,function(Ki){return Ke(Ki,cn)},e.isNamedExportBindings);return Vn?ie.updateExportDeclaration(Ge,void 0,Ge.isTypeOnly,Vn,Ge.moduleSpecifier,Ge.assertClause):void 0}}function Qe(Ge,cn){var Vn=e.visitNodes(Ge.elements,tr,e.isExportSpecifier);return cn||e.some(Vn)?ie.updateNamedExports(Ge,Vn):void 0}function ue(Ge){return ie.updateNamespaceExport(Ge,e.visitNode(Ge.name,$,e.isIdentifier))}function Ke(Ge,cn){return e.isNamespaceExport(Ge)?ue(Ge):Qe(Ge,cn)}function tr(Ge){return!Ge.isTypeOnly&&de.isValueAliasDeclaration(Ge)?Ge:void 0}function hr(Ge){return Xn(Ge)||!e.isExternalModule(m)&&de.isTopLevelValueImportEqualsWithEntityName(Ge)}function _r(Ge){if(!Ge.isTypeOnly){if(e.isExternalModuleImportEqualsDeclaration(Ge)){var cn=Xn(Ge);return!cn&&te.importsNotUsedAsValues===1?e.setOriginalNode(e.setTextRange(ie.createImportDeclaration(void 0,void 0,Ge.moduleReference.expression,void 0),Ge),Ge):cn?e.visitEachChild(Ge,$,O):void 0}if(!!hr(Ge)){var Vn=e.createExpressionFromEntityName(ie,Ge.moduleReference);return e.setEmitFlags(Vn,1536|2048),fn(Ge)||!Or(Ge)?e.setOriginalNode(e.setTextRange(ie.createVariableStatement(e.visitNodes(Ge.modifiers,Z,e.isModifier),ie.createVariableDeclarationList([e.setOriginalNode(ie.createVariableDeclaration(Ge.name,void 0,void 0,Vn),Ge)])),Ge),Ge):e.setOriginalNode(bn(Ge.name,Vn,Ge),Ge)}}}function Or(Ge){return y!==void 0&&e.hasSyntacticModifier(Ge,1)}function zr(Ge){return y===void 0&&e.hasSyntacticModifier(Ge,1)}function fn(Ge){return zr(Ge)&&!e.hasSyntacticModifier(Ge,1024)}function Vr(Ge){return zr(Ge)&&e.hasSyntacticModifier(Ge,1024)}function Wn(Ge,cn){var Vn=ie.createAssignment(ie.getExternalModuleOrNamespaceExportName(S,cn,!1,!0),ie.getLocalName(cn));e.setSourceMapRange(Vn,e.createRange(cn.name?cn.name.pos:cn.pos,cn.end));var Ki=ie.createExpressionStatement(Vn);e.setSourceMapRange(Ki,e.createRange(-1,cn.end)),Ge.push(Ki)}function bn(Ge,cn,Vn){return e.setTextRange(ie.createExpressionStatement(ie.createAssignment(ie.getNamespaceMemberName(S,Ge,!1,!0),cn)),Vn)}function qn(Ge,cn,Vn){return e.setTextRange(ie.createAssignment(yn(Ge),cn),Vn)}function yn(Ge){return ie.getNamespaceMemberName(S,Ge,!1,!0)}function Hn(Ge){var cn=ie.getGeneratedNameForNode(Ge);return e.setSourceMapRange(cn,Ge.name),cn}function Ai(Ge){return ie.getGeneratedNameForNode(Ge)}function ti(){(De&8)==0&&(De|=8,O.enableSubstitution(79))}function Hi(){(De&2)==0&&(De|=2,O.enableSubstitution(79),O.enableSubstitution(300),O.enableEmitNotification(264))}function Ni(Ge){return e.getOriginalNode(Ge).kind===264}function gi(Ge){return e.getOriginalNode(Ge).kind===263}function Pn(Ge,cn,Vn){var Ki=X,dt=m;e.isSourceFile(cn)&&(m=cn),De&2&&Ni(cn)&&(X|=2),De&8&&gi(cn)&&(X|=8),I(Ge,cn,Vn),X=Ki,m=dt}function Pe(Ge,cn){return cn=f(Ge,cn),Ge===1?we(cn):e.isShorthandPropertyAssignment(cn)?Ir(cn):cn}function Ir(Ge){if(De&2){var cn=Ge.name,Vn=jn(cn);if(Vn){if(Ge.objectAssignmentInitializer){var Ki=ie.createAssignment(Vn,Ge.objectAssignmentInitializer);return e.setTextRange(ie.createPropertyAssignment(cn,Ki),Ge)}return e.setTextRange(ie.createPropertyAssignment(cn,Vn),Ge)}}return Ge}function we(Ge){switch(Ge.kind){case 79:return hn(Ge);case 208:return gn(Ge);case 209:return nn(Ge)}return Ge}function hn(Ge){return jn(Ge)||Ge}function jn(Ge){if(De&X&&!e.isGeneratedIdentifier(Ge)&&!e.isLocalName(Ge)){var cn=de.getReferencedExportContainer(Ge,!1);if(cn&&cn.kind!==308){var Vn=X&2&&cn.kind===264||X&8&&cn.kind===263;if(Vn)return e.setTextRange(ie.createPropertyAccessExpression(ie.getGeneratedNameForNode(cn),Ge),Ge)}}}function gn(Ge){return Dn(Ge)}function nn(Ge){return Dn(Ge)}function Cn(Ge){return Ge.replace(/\*\//g,"*_/")}function Dn(Ge){var cn=On(Ge);if(cn!==void 0){e.setConstantValue(Ge,cn);var Vn=typeof cn=="string"?ie.createStringLiteral(cn):ie.createNumericLiteral(cn);if(!te.removeComments){var Ki=e.getOriginalNode(Ge,e.isAccessExpression);e.addSyntheticTrailingComment(Vn,3," ".concat(Cn(e.getTextOfNode(Ki))," "))}return Vn}return Ge}function On(Ge){if(!te.isolatedModules)return e.isPropertyAccessExpression(Ge)||e.isElementAccessExpression(Ge)?de.getConstantValue(Ge):void 0}function Xn(Ge){return e.isInJSFile(Ge)||(te.preserveValueImports?de.isValueAliasDeclaration(Ge):de.isReferencedAliasDeclaration(Ge))}}e.transformTypeScript=se})(fr||(fr={}));var fr;(function(e){var o;(function(te){te[te.ClassAliases=1]="ClassAliases",te[te.ClassStaticThisOrSuperReference=2]="ClassStaticThisOrSuperReference"})(o||(o={}));var ne;(function(te){te.Field="f",te.Method="m",te.Accessor="a"})(ne=e.PrivateIdentifierKind||(e.PrivateIdentifierKind={}));var K;(function(te){te[te.None=0]="None",te[te.ClassWasDecorated=1]="ClassWasDecorated",te[te.NeedsClassConstructorReference=2]="NeedsClassConstructorReference",te[te.NeedsClassSuperReference=4]="NeedsClassSuperReference",te[te.NeedsSubstitutionForThisInClassStaticField=8]="NeedsSubstitutionForThisInClassStaticField"})(K||(K={}));function se(te){var oe=te.factory,ae=te.hoistVariableDeclaration,E=te.endLexicalEnvironment,I=te.startLexicalEnvironment,f=te.resumeLexicalEnvironment,m=te.addBlockScopedVariable,y=te.getEmitResolver(),S=te.getCompilerOptions(),k=e.getEmitScriptTarget(S),C=e.getUseDefineForClassFields(S),me=!C,De=C&&k<9,X=me||De,M=k<9,H=k<99,V=k<9,h=V&&k>=2,F=X||M||H,$=te.onSubstituteNode;te.onSubstituteNode=Pr;var L=te.onEmitNode;te.onEmitNode=Dr;var P,N,J,q,G=[],ye=new e.Map,b,x,T,Z;return e.chainBundle(te,B);function B(Pe){if(Pe.isDeclarationFile||!F)return Pe;var Ir=e.visitEachChild(Pe,u,te);return e.addEmitHelpers(Ir,te.readEmitHelpers()),Ir}function u(Pe){if(!(Pe.transformFlags&16777216)&&!(Pe.transformFlags&134234112))return Pe;switch(Pe.kind){case 127:return H?void 0:Pe;case 260:return or(Pe);case 228:return ze(Pe);case 172:return xe(Pe);case 169:return Se(Pe);case 240:return Le(Pe);case 80:return He(Pe);case 208:return wr(Pe);case 209:return mr(Pe);case 221:case 222:return Ue(Pe,!1);case 223:return Ur(Pe,!1);case 210:return dr(Pe);case 241:return qr(Pe);case 212:return vr(Pe);case 245:return t(Pe);case 259:case 215:case 173:case 171:case 174:case 175:return Oe(void 0,A,Pe);default:return A(Pe)}}function A(Pe){return e.visitEachChild(Pe,u,te)}function w(Pe){switch(Pe.kind){case 221:case 222:return Ue(Pe,!0);case 223:return Ur(Pe,!0);default:return u(Pe)}}function z(Pe){switch(Pe.kind){case 294:return e.visitEachChild(Pe,z,te);case 230:return pn(Pe);default:return u(Pe)}}function U(Pe){switch(Pe.kind){case 207:case 206:return Pn(Pe);default:return u(Pe)}}function ge(Pe){switch(Pe.kind){case 173:return Xe(Pe);case 174:case 175:case 171:return Oe(void 0,Ne,Pe);case 169:return Oe(void 0,Se,Pe);case 164:return Ae(Pe);case 237:return Pe;default:return u(Pe)}}function pe(Pe){switch(Pe.kind){case 169:return Ce(Pe);case 174:case 175:return ge(Pe);default:e.Debug.assertMissingNode(Pe,"Expected node to either be a PropertyDeclaration, GetAccessorDeclaration, or SetAccessorDeclaration");break}}function He(Pe){return!M||e.isStatement(Pe.parent)?Pe:e.setOriginalNode(oe.createIdentifier(""),Pe)}function Be(Pe){return e.isPrivateIdentifier(Pe.left)&&Pe.operatorToken.kind===101}function Me(Pe){var Ir=yn(Pe.left);if(Ir){var we=e.visitNode(Pe.right,u,e.isExpression);return e.setOriginalNode(te.getEmitHelperFactory().createClassPrivateFieldInHelper(Ir.brandCheckIdentifier,we),Pe)}return e.visitEachChild(Pe,u,te)}function Le(Pe){var Ir=q;q=[];var we=e.visitEachChild(Pe,u,te),hn=e.some(q)?zn([we],q,!0):we;return q=Ir,hn}function Ae(Pe){var Ir=e.visitNode(Pe.expression,u,e.isExpression);return e.some(J)&&(e.isParenthesizedExpression(Ir)?Ir=oe.updateParenthesizedExpression(Ir,oe.inlineExpressions(zn(zn([],J,!0),[Ir.expression],!1))):Ir=oe.inlineExpressions(zn(zn([],J,!0),[Ir],!1)),J=void 0),oe.updateComputedPropertyName(Pe,Ir)}function Xe(Pe){return x?Qr(Pe,x):A(Pe)}function Ne(Pe){if(e.Debug.assert(!e.hasDecorators(Pe)),!M||!e.isPrivateIdentifier(Pe.name))return e.visitEachChild(Pe,ge,te);var Ir=yn(Pe.name);if(e.Debug.assert(Ir,"Undeclared private name for property declaration."),!Ir.isValid)return Pe;var we=be(Pe);we&&tr().push(oe.createAssignment(we,oe.createFunctionExpression(e.filter(Pe.modifiers,function(hn){return e.isModifier(hn)&&!e.isStaticModifier(hn)&&!e.isAccessorModifier(hn)}),Pe.asteriskToken,we,void 0,e.visitParameterList(Pe.parameters,u,te),void 0,e.visitFunctionBody(Pe.body,u,te))))}function Oe(Pe,Ir,we){var hn=Z;Z=Pe;var jn=Ir(we);return Z=hn,jn}function be(Pe){e.Debug.assert(e.isPrivateIdentifier(Pe.name));var Ir=yn(Pe.name);if(e.Debug.assert(Ir,"Undeclared private name for property declaration."),Ir.kind==="m")return Ir.methodName;if(Ir.kind==="a"){if(e.isGetAccessor(Pe))return Ir.getterName;if(e.isSetAccessor(Pe))return Ir.setterName}}function Y(Pe){e.Debug.assertEachNode(Pe.modifiers,e.isModifier);var Ir=e.getCommentRange(Pe),we=e.getSourceMapRange(Pe),hn=Pe.name,jn=hn,gn=hn;if(e.isComputedPropertyName(hn)&&!e.isSimpleInlineableExpression(hn.expression)){var nn=oe.createTempVariable(ae);e.setSourceMapRange(nn,hn.expression);var Cn=e.visitNode(hn.expression,u,e.isExpression),Dn=oe.createAssignment(nn,Cn);e.setSourceMapRange(Dn,hn.expression),jn=oe.updateComputedPropertyName(hn,oe.inlineExpressions([Dn,nn])),gn=oe.updateComputedPropertyName(hn,nn)}var On=e.createAccessorPropertyBackingField(oe,Pe,Pe.modifiers,Pe.initializer);e.setOriginalNode(On,Pe),e.setEmitFlags(On,1536),e.setSourceMapRange(On,we);var Xn=e.createAccessorPropertyGetRedirector(oe,Pe,Pe.modifiers,jn);e.setOriginalNode(Xn,Pe),e.setCommentRange(Xn,Ir),e.setSourceMapRange(Xn,we);var Ge=e.createAccessorPropertySetRedirector(oe,Pe,Pe.modifiers,gn);return e.setOriginalNode(Ge,Pe),e.setEmitFlags(Ge,1536),e.setSourceMapRange(Ge,we),e.visitArray([On,Xn,Ge],pe,e.isClassElement)}function d(Pe){if(M){var Ir=yn(Pe.name);return e.Debug.assert(Ir,"Undeclared private name for property declaration."),Ir.isValid?void 0:Pe}return me&&!e.isStatic(Pe)?oe.updatePropertyDeclaration(Pe,e.visitNodes(Pe.modifiers,u,e.isModifierLike),Pe.name,void 0,void 0,void 0):e.visitEachChild(Pe,u,te)}function j(Pe){if(X){var Ir=Te(Pe.name,!!Pe.initializer||C);if(Ir&&tr().push(Ir),e.isStatic(Pe)&&!M){var we=Ie(Pe,oe.createThis());if(we){var hn=oe.createClassStaticBlockDeclaration(oe.createBlock([we]));return e.setOriginalNode(hn,Pe),e.setCommentRange(hn,Pe),e.setCommentRange(we,{pos:-1,end:-1}),e.setSyntheticLeadingComments(we,void 0),e.setSyntheticTrailingComments(we,void 0),hn}}return}return e.visitEachChild(Pe,ge,te)}function Ce(Pe){return e.Debug.assert(!e.hasDecorators(Pe),"Decorators should already have been transformed and elided."),e.isPrivateIdentifierClassElementDeclaration(Pe)?d(Pe):j(Pe)}function Se(Pe){return H&&e.isAutoAccessorPropertyDeclaration(Pe)?Y(Pe):Ce(Pe)}function Re(Pe,Ir){return er(Pe,e.visitNode(Ir,u,e.isExpression))}function er(Pe,Ir){switch(e.setCommentRange(Ir,e.moveRangePos(Ir,-1)),Pe.kind){case"a":return te.getEmitHelperFactory().createClassPrivateFieldGetHelper(Ir,Pe.brandCheckIdentifier,Pe.kind,Pe.getterName);case"m":return te.getEmitHelperFactory().createClassPrivateFieldGetHelper(Ir,Pe.brandCheckIdentifier,Pe.kind,Pe.methodName);case"f":return te.getEmitHelperFactory().createClassPrivateFieldGetHelper(Ir,Pe.brandCheckIdentifier,Pe.kind,Pe.variableName);default:e.Debug.assertNever(Pe,"Unknown private element type")}}function wr(Pe){if(M&&e.isPrivateIdentifier(Pe.name)){var Ir=yn(Pe.name);if(Ir)return e.setTextRange(e.setOriginalNode(Re(Ir,Pe.expression),Pe),Pe)}if(h&&e.isSuperProperty(Pe)&&e.isIdentifier(Pe.name)&&Z&&b){var we=b.classConstructor,hn=b.superClassReference,jn=b.facts;if(jn&1)return ai(Pe);if(we&&hn){var gn=oe.createReflectGetCall(hn,oe.createStringLiteralFromNode(Pe.name),we);return e.setOriginalNode(gn,Pe.expression),e.setTextRange(gn,Pe.expression),gn}}return e.visitEachChild(Pe,u,te)}function mr(Pe){if(h&&e.isSuperProperty(Pe)&&Z&&b){var Ir=b.classConstructor,we=b.superClassReference,hn=b.facts;if(hn&1)return ai(Pe);if(Ir&&we){var jn=oe.createReflectGetCall(we,e.visitNode(Pe.argumentExpression,u,e.isExpression),Ir);return e.setOriginalNode(jn,Pe.expression),e.setTextRange(jn,Pe.expression),jn}}return e.visitEachChild(Pe,u,te)}function Ue(Pe,Ir){if(Pe.operator===45||Pe.operator===46){var we=e.skipParentheses(Pe.operand);if(M&&e.isPrivateIdentifierPropertyAccessExpression(we)){var hn=void 0;if(hn=yn(we.name)){var jn=e.visitNode(we.expression,u,e.isExpression),gn=ln(jn),nn=gn.readExpression,Cn=gn.initializeExpression,Dn=Re(hn,nn),On=e.isPrefixUnaryExpression(Pe)||Ir?void 0:oe.createTempVariable(ae);return Dn=e.expandPreOrPostfixIncrementOrDecrementExpression(oe,Pe,Dn,ae,On),Dn=Cr(hn,Cn||nn,Dn,63),e.setOriginalNode(Dn,Pe),e.setTextRange(Dn,Pe),On&&(Dn=oe.createComma(Dn,On),e.setTextRange(Dn,Pe)),Dn}}else if(h&&e.isSuperProperty(we)&&Z&&b){var Xn=b.classConstructor,Ge=b.superClassReference,cn=b.facts;if(cn&1){var Dn=ai(we);return e.isPrefixUnaryExpression(Pe)?oe.updatePrefixUnaryExpression(Pe,Dn):oe.updatePostfixUnaryExpression(Pe,Dn)}if(Xn&&Ge){var Vn=void 0,Ki=void 0;if(e.isPropertyAccessExpression(we)?e.isIdentifier(we.name)&&(Ki=Vn=oe.createStringLiteralFromNode(we.name)):e.isSimpleInlineableExpression(we.argumentExpression)?Ki=Vn=we.argumentExpression:(Ki=oe.createTempVariable(ae),Vn=oe.createAssignment(Ki,e.visitNode(we.argumentExpression,u,e.isExpression))),Vn&&Ki){var Dn=oe.createReflectGetCall(Ge,Ki,Xn);e.setTextRange(Dn,we);var On=Ir?void 0:oe.createTempVariable(ae);return Dn=e.expandPreOrPostfixIncrementOrDecrementExpression(oe,Pe,Dn,ae,On),Dn=oe.createReflectSetCall(Ge,Vn,Dn,Xn),e.setOriginalNode(Dn,Pe),e.setTextRange(Dn,Pe),On&&(Dn=oe.createComma(Dn,On),e.setTextRange(Dn,Pe)),Dn}}}}return e.visitEachChild(Pe,u,te)}function t(Pe){return oe.updateForStatement(Pe,e.visitNode(Pe.initializer,w,e.isForInitializer),e.visitNode(Pe.condition,u,e.isExpression),e.visitNode(Pe.incrementor,w,e.isExpression),e.visitIterationBody(Pe.statement,u,te))}function qr(Pe){return oe.updateExpressionStatement(Pe,e.visitNode(Pe.expression,w,e.isExpression))}function ln(Pe){var Ir=e.nodeIsSynthesized(Pe)?Pe:oe.cloneNode(Pe);if(e.isSimpleInlineableExpression(Pe))return{readExpression:Ir,initializeExpression:void 0};var we=oe.createTempVariable(ae),hn=oe.createAssignment(we,Ir);return{readExpression:we,initializeExpression:hn}}function dr(Pe){if(M&&e.isPrivateIdentifierPropertyAccessExpression(Pe.expression)){var Ir=oe.createCallBinding(Pe.expression,ae,k),we=Ir.thisArg,hn=Ir.target;return e.isCallChain(Pe)?oe.updateCallChain(Pe,oe.createPropertyAccessChain(e.visitNode(hn,u),Pe.questionDotToken,"call"),void 0,void 0,zn([e.visitNode(we,u,e.isExpression)],e.visitNodes(Pe.arguments,u,e.isExpression),!0)):oe.updateCallExpression(Pe,oe.createPropertyAccessExpression(e.visitNode(hn,u),"call"),void 0,zn([e.visitNode(we,u,e.isExpression)],e.visitNodes(Pe.arguments,u,e.isExpression),!0))}if(h&&e.isSuperProperty(Pe.expression)&&Z&&(b==null?void 0:b.classConstructor)){var jn=oe.createFunctionCallCall(e.visitNode(Pe.expression,u,e.isExpression),b.classConstructor,e.visitNodes(Pe.arguments,u,e.isExpression));return e.setOriginalNode(jn,Pe),e.setTextRange(jn,Pe),jn}return e.visitEachChild(Pe,u,te)}function vr(Pe){if(M&&e.isPrivateIdentifierPropertyAccessExpression(Pe.tag)){var Ir=oe.createCallBinding(Pe.tag,ae,k),we=Ir.thisArg,hn=Ir.target;return oe.updateTaggedTemplateExpression(Pe,oe.createCallExpression(oe.createPropertyAccessExpression(e.visitNode(hn,u),"bind"),void 0,[e.visitNode(we,u,e.isExpression)]),void 0,e.visitNode(Pe.template,u,e.isTemplateLiteral))}if(h&&e.isSuperProperty(Pe.tag)&&Z&&(b==null?void 0:b.classConstructor)){var jn=oe.createFunctionBindCall(e.visitNode(Pe.tag,u,e.isExpression),b.classConstructor,[]);return e.setOriginalNode(jn,Pe),e.setTextRange(jn,Pe),oe.updateTaggedTemplateExpression(Pe,jn,void 0,e.visitNode(Pe.template,u,e.isTemplateLiteral))}return e.visitEachChild(Pe,u,te)}function kr(Pe){if(M){b&&ye.set(e.getOriginalNodeId(Pe),b),I();var Ir=Oe(Pe,function(hn){return e.visitNodes(hn,u,e.isStatement)},Pe.body.statements);Ir=oe.mergeLexicalEnvironment(Ir,E());var we=oe.createImmediatelyInvokedArrowFunction(Ir);return e.setOriginalNode(we,Pe),e.setTextRange(we,Pe),e.addEmitFlags(we,2),we}}function Ur(Pe,Ir){if(e.isDestructuringAssignment(Pe)){var we=J;J=void 0,Pe=oe.updateBinaryExpression(Pe,e.visitNode(Pe.left,U),Pe.operatorToken,e.visitNode(Pe.right,u));var hn=e.some(J)?oe.inlineExpressions(e.compact(zn(zn([],J,!0),[Pe],!1))):Pe;return J=we,hn}if(e.isAssignmentExpression(Pe)){if(M&&e.isPrivateIdentifierPropertyAccessExpression(Pe.left)){var jn=yn(Pe.left.name);if(jn)return e.setTextRange(e.setOriginalNode(Cr(jn,Pe.left.expression,Pe.right,Pe.operatorToken.kind),Pe),Pe)}else if(h&&e.isSuperProperty(Pe.left)&&Z&&b){var gn=b.classConstructor,nn=b.superClassReference,Cn=b.facts;if(Cn&1)return oe.updateBinaryExpression(Pe,ai(Pe.left),Pe.operatorToken,e.visitNode(Pe.right,u,e.isExpression));if(gn&&nn){var Dn=e.isElementAccessExpression(Pe.left)?e.visitNode(Pe.left.argumentExpression,u,e.isExpression):e.isIdentifier(Pe.left.name)?oe.createStringLiteralFromNode(Pe.left.name):void 0;if(Dn){var On=e.visitNode(Pe.right,u,e.isExpression);if(e.isCompoundAssignment(Pe.operatorToken.kind)){var Xn=Dn;e.isSimpleInlineableExpression(Dn)||(Xn=oe.createTempVariable(ae),Dn=oe.createAssignment(Xn,Dn));var Ge=oe.createReflectGetCall(nn,Xn,gn);e.setOriginalNode(Ge,Pe.left),e.setTextRange(Ge,Pe.left),On=oe.createBinaryExpression(Ge,e.getNonAssignmentOperatorForCompoundAssignment(Pe.operatorToken.kind),On),e.setTextRange(On,Pe)}var cn=Ir?void 0:oe.createTempVariable(ae);return cn&&(On=oe.createAssignment(cn,On),e.setTextRange(cn,Pe)),On=oe.createReflectSetCall(nn,Dn,On,gn),e.setOriginalNode(On,Pe),e.setTextRange(On,Pe),cn&&(On=oe.createComma(On,cn),e.setTextRange(On,Pe)),On}}}}return M&&Be(Pe)?Me(Pe):e.visitEachChild(Pe,u,te)}function Cr(Pe,Ir,we,hn){if(Ir=e.visitNode(Ir,u,e.isExpression),we=e.visitNode(we,u,e.isExpression),e.isCompoundAssignment(hn)){var jn=ln(Ir),gn=jn.readExpression,nn=jn.initializeExpression;Ir=nn||gn,we=oe.createBinaryExpression(er(Pe,gn),e.getNonAssignmentOperatorForCompoundAssignment(hn),we)}switch(e.setCommentRange(Ir,e.moveRangePos(Ir,-1)),Pe.kind){case"a":return te.getEmitHelperFactory().createClassPrivateFieldSetHelper(Ir,Pe.brandCheckIdentifier,we,Pe.kind,Pe.setterName);case"m":return te.getEmitHelperFactory().createClassPrivateFieldSetHelper(Ir,Pe.brandCheckIdentifier,we,Pe.kind,void 0);case"f":return te.getEmitHelperFactory().createClassPrivateFieldSetHelper(Ir,Pe.brandCheckIdentifier,we,Pe.kind,Pe.variableName);default:e.Debug.assertNever(Pe,"Unknown private element type")}}function rn(Pe){return e.filter(Pe.members,e.isNonStaticMethodOrAccessorWithPrivateName)}function Br(Pe){var Ir=0,we=e.getOriginalNode(Pe);e.isClassDeclaration(we)&&e.classOrConstructorParameterIsDecorated(we)&&(Ir|=1);for(var hn=0,jn=Pe.members;hn=0?(On=Ge+1,cn=zn(zn(zn([],cn.slice(0,Xn),!0),e.visitNodes(Ir.body.statements,u,e.isStatement,Xn,On-Xn),!0),cn.slice(Xn),!0)):Xn>=0&&(On=Xn)),Dn&&cn.push(oe.createExpressionStatement(oe.createCallExpression(oe.createSuper(),void 0,[oe.createSpreadElement(oe.createIdentifier("arguments"))])));var Vn=0;if(Ir==null?void 0:Ir.body)if(C)cn=cn.filter(function(Va){return!e.isParameterPropertyDeclaration(e.getOriginalNode(Va),Ir)});else{for(var Ki=0,dt=Ir.body.statements;Ki0){var Ci=e.visitNodes(Ir.body.statements,u,e.isStatement,On,Vn);if(Ge>=0)e.addRange(cn,Ci);else{var Tt=Xn;Dn&&Tt++,cn=zn(zn(zn([],cn.slice(0,Tt),!0),Ci,!0),cn.slice(Tt),!0)}On+=Vn}}var ot=oe.createThis();if(Qn(cn,nn,ot),vn(cn,gn,ot),Ir&&e.addRange(cn,e.visitNodes(Ir.body.statements,ni,e.isStatement,On)),cn=oe.mergeLexicalEnvironment(cn,E()),cn.length===0&&!Ir)return;var Zi=(Ir==null?void 0:Ir.body)&&Ir.body.statements.length>=cn.length&&(jn=Ir.body.multiLine)!==null&&jn!==void 0?jn:cn.length>0;return e.setTextRange(oe.createBlock(e.setTextRange(oe.createNodeArray(cn),Ir?Ir.body.statements:Pe.members),Zi),Ir?Ir.body:void 0);function ni(Va){if(!(C&&e.isParameterPropertyDeclaration(e.getOriginalNode(Va),Ir)))return u(Va)}}function vn(Pe,Ir,we){for(var hn=0,jn=Ir;hn=0;--hn){var jn=G[hn];if(!!jn&&jn.privateIdentifierEnvironment){var we=Pe(jn.privateIdentifierEnvironment,Ir);if(we)return we}}}function Hi(Pe){var Ir=oe.getGeneratedNameForNode(Pe),we=yn(Pe.name);if(!we)return e.visitEachChild(Pe,u,te);var hn=Pe.expression;return(e.isThisProperty(Pe)||e.isSuperProperty(Pe)||!e.isSimpleCopiableExpression(Pe.expression))&&(hn=oe.createTempVariable(ae,!0),tr().push(oe.createBinaryExpression(hn,63,e.visitNode(Pe.expression,u,e.isExpression)))),oe.createAssignmentTargetWrapper(Ir,Cr(we,hn,Ir,63))}function Ni(Pe){var Ir=e.getTargetOfBindingOrAssignmentElement(Pe);if(Ir){var we=void 0;if(e.isPrivateIdentifierPropertyAccessExpression(Ir))we=Hi(Ir);else if(h&&e.isSuperProperty(Ir)&&Z&&b){var hn=b.classConstructor,jn=b.superClassReference,gn=b.facts;if(gn&1)we=ai(Ir);else if(hn&&jn){var nn=e.isElementAccessExpression(Ir)?e.visitNode(Ir.argumentExpression,u,e.isExpression):e.isIdentifier(Ir.name)?oe.createStringLiteralFromNode(Ir.name):void 0;if(nn){var Cn=oe.createTempVariable(void 0);we=oe.createAssignmentTargetWrapper(Cn,oe.createReflectSetCall(jn,nn,Cn,hn))}}}if(we)return e.isAssignmentExpression(Pe)?oe.updateBinaryExpression(Pe,we,Pe.operatorToken,e.visitNode(Pe.right,u,e.isExpression)):e.isSpreadElement(Pe)?oe.updateSpreadElement(Pe,we):we}return e.visitNode(Pe,U)}function gi(Pe){if(e.isObjectBindingOrAssignmentElement(Pe)&&!e.isShorthandPropertyAssignment(Pe)){var Ir=e.getTargetOfBindingOrAssignmentElement(Pe),we=void 0;if(Ir){if(e.isPrivateIdentifierPropertyAccessExpression(Ir))we=Hi(Ir);else if(h&&e.isSuperProperty(Ir)&&Z&&b){var hn=b.classConstructor,jn=b.superClassReference,gn=b.facts;if(gn&1)we=ai(Ir);else if(hn&&jn){var nn=e.isElementAccessExpression(Ir)?e.visitNode(Ir.argumentExpression,u,e.isExpression):e.isIdentifier(Ir.name)?oe.createStringLiteralFromNode(Ir.name):void 0;if(nn){var Cn=oe.createTempVariable(void 0);we=oe.createAssignmentTargetWrapper(Cn,oe.createReflectSetCall(jn,nn,Cn,hn))}}}}if(e.isPropertyAssignment(Pe)){var Dn=e.getInitializerOfBindingOrAssignmentElement(Pe);return oe.updatePropertyAssignment(Pe,e.visitNode(Pe.name,u,e.isPropertyName),we?Dn?oe.createAssignment(we,e.visitNode(Dn,u)):we:e.visitNode(Pe.initializer,U,e.isExpression))}if(e.isSpreadAssignment(Pe))return oe.updateSpreadAssignment(Pe,we||e.visitNode(Pe.expression,U,e.isExpression));e.Debug.assert(we===void 0,"Should not have generated a wrapped target")}return e.visitNode(Pe,u)}function Pn(Pe){return e.isArrayLiteralExpression(Pe)?oe.updateArrayLiteralExpression(Pe,e.visitNodes(Pe.elements,Ni,e.isExpression)):oe.updateObjectLiteralExpression(Pe,e.visitNodes(Pe.properties,gi,e.isObjectLiteralElementLike))}}e.transformClassFields=se;function O(te,oe){return e.factory.createAssignment(te,e.factory.createObjectLiteralExpression([e.factory.createPropertyAssignment("value",oe||e.factory.createVoidZero())]))}function ie(te,oe,ae){return e.factory.createCallExpression(e.factory.createPropertyAccessExpression(ae,"set"),void 0,[te,oe||e.factory.createVoidZero()])}function _e(te,oe){return e.factory.createCallExpression(e.factory.createPropertyAccessExpression(oe,"add"),void 0,[te])}function Q(te){return!e.isGeneratedPrivateIdentifier(te)&&te.escapedText==="#constructor"}function p(te,oe){return e.isGeneratedPrivateIdentifier(oe)?de(te,e.getNodeForGeneratedName(oe)):le(te,oe.escapedText)}function D(te,oe,ae){var E,I;e.isGeneratedPrivateIdentifier(oe)?((E=te.generatedIdentifiers)!==null&&E!==void 0||(te.generatedIdentifiers=new e.Map),te.generatedIdentifiers.set(e.getNodeForGeneratedName(oe),ae)):((I=te.identifiers)!==null&&I!==void 0||(te.identifiers=new e.Map),te.identifiers.set(oe.escapedText,ae))}function le(te,oe){var ae;return(ae=te.identifiers)===null||ae===void 0?void 0:ae.get(oe)}function de(te,oe){var ae;return(ae=te.generatedIdentifiers)===null||ae===void 0?void 0:ae.get(oe)}})(fr||(fr={}));var fr;(function(e){function o(ne){var K=ne.hoistVariableDeclaration,se=ne.getEmitResolver(),O=ne.getCompilerOptions(),ie=e.getEmitScriptTarget(O),_e=e.getStrictOptionValue(O,"strictNullChecks"),Q,p;return{serializeTypeNode:function(M,H){return D(M,E,H)},serializeTypeOfNode:function(M,H){return D(M,de,H)},serializeParameterTypesOfNode:function(M,H,V){return D(M,te,H,V)},serializeReturnTypeOfNode:function(M,H){return D(M,ae,H)}};function D(M,H,V,h){var F=Q,$=p;Q=M.currentLexicalScope,p=M.currentNameScope;var L=h===void 0?H(V):H(V,h);return Q=F,p=$,L}function le(M){var H=se.getAllAccessorDeclarations(M);return H.setAccessor&&e.getSetAccessorTypeAnnotationNode(H.setAccessor)||H.getAccessor&&e.getEffectiveReturnTypeNode(H.getAccessor)}function de(M){switch(M.kind){case 169:case 166:return E(M.type);case 175:case 174:return E(le(M));case 260:case 228:case 171:return e.factory.createIdentifier("Function");default:return e.factory.createVoidZero()}}function te(M,H){var V=e.isClassLike(M)?e.getFirstConstructorWithBody(M):e.isFunctionLike(M)&&e.nodeIsPresent(M.body)?M:void 0,h=[];if(V)for(var F=oe(V,H),$=F.length,L=0;L<$;L++){var P=F[L];L===0&&e.isIdentifier(P.name)&&P.name.escapedText==="this"||(P.dotDotDotToken?h.push(E(e.getRestParameterElementType(P.type))):h.push(de(P)))}return e.factory.createArrayLiteralExpression(h)}function oe(M,H){if(H&&M.kind===174){var V=e.getAllAccessorDeclarations(H.members,M).setAccessor;if(V)return V.parameters}return M.parameters}function ae(M){return e.isFunctionLike(M)&&M.type?E(M.type):e.isAsyncFunction(M)?e.factory.createIdentifier("Promise"):e.factory.createVoidZero()}function E(M){if(M===void 0)return e.factory.createIdentifier("Object");switch(M=e.skipTypeParentheses(M),M.kind){case 114:case 155:case 144:return e.factory.createVoidZero();case 181:case 182:return e.factory.createIdentifier("Function");case 185:case 186:return e.factory.createIdentifier("Array");case 179:return M.assertsModifier?e.factory.createVoidZero():e.factory.createIdentifier("Boolean");case 134:return e.factory.createIdentifier("Boolean");case 200:case 152:return e.factory.createIdentifier("String");case 149:return e.factory.createIdentifier("Object");case 198:return I(M.literal);case 148:return e.factory.createIdentifier("Number");case 160:return X("BigInt",7);case 153:return X("Symbol",2);case 180:return y(M);case 190:return f(M.types,!0);case 189:return f(M.types,!1);case 191:return f([M.trueType,M.falseType],!1);case 195:if(M.operator===146)return E(M.type);break;case 183:case 196:case 197:case 184:case 131:case 157:case 194:case 202:break;case 315:case 316:case 320:case 321:case 322:break;case 317:case 318:case 319:return E(M.type);default:return e.Debug.failBadSyntaxKind(M)}return e.factory.createIdentifier("Object")}function I(M){switch(M.kind){case 10:case 14:return e.factory.createIdentifier("String");case 221:{var H=M.operand;switch(H.kind){case 8:case 9:return I(H);default:return e.Debug.failBadSyntaxKind(H)}}case 8:return e.factory.createIdentifier("Number");case 9:return X("BigInt",7);case 110:case 95:return e.factory.createIdentifier("Boolean");case 104:return e.factory.createVoidZero();default:return e.Debug.failBadSyntaxKind(M)}}function f(M,H){for(var V,h=0,F=M;h1&&(U.push(K.createEndOfDeclarationMarker(z)),e.setEmitFlags(U[0],e.getEmitFlags(U[0])|4194304)),e.singleOrMany(U)}function ae(z){return!!(z.transformFlags&536870912)}function E(z){return e.some(z,ae)}function I(z){for(var U=0,ge=z.members;U0?e.isPropertyDeclaration(U)&&!e.hasAccessorModifier(U)?K.createVoidZero():K.createNull():void 0,Le=se().createDecorateHelper(pe,He,Be,Me);return e.setEmitFlags(Le,1536),e.setSourceMapRange(Le,e.moveRangePastModifiers(U)),Le}}function N(z,U){var ge=J(U);ge&&z.push(e.setOriginalNode(K.createExpressionStatement(ge),U))}function J(z){var U=e.getAllDecoratorsOfClass(z),ge=V(U);if(!!ge){var pe=D&&D[e.getOriginalNodeId(z)],He=Q<=2?K.getInternalName(z,!1,!0):K.getLocalName(z,!1,!0),Be=se().createDecorateHelper(ge,He),Me=K.createAssignment(He,pe?K.createAssignment(pe,Be):Be);return e.setEmitFlags(Me,1536),e.setSourceMapRange(Me,e.moveRangePastModifiers(z)),Me}}function q(z){return e.visitNode(z.expression,te,e.isExpression)}function G(z,U){var ge;if(z){ge=[];for(var pe=0,He=z;pe=2&&le.getNodeCheckFlags(Se)&(4096|2048)&&(e.getFunctionFlags(mr)&3)!=3;if(Ue){if(Ae(),I.size){var t=se(ie,le,Se,I);m[e.getNodeId(t)]=!0;var qr=wr.statements.slice();e.insertStatementsAfterStandardPrologue(qr,[t]),wr=ie.updateBlock(wr,qr)}f&&(le.getNodeCheckFlags(Se)&4096?e.addEmitHelper(wr,e.advancedAsyncSuperHelper):le.getNodeCheckFlags(Se)&2048&&e.addEmitHelper(wr,e.asyncSuperHelper))}return I=Re,f=er,wr}function Be(Se){Q();var Re=e.getOriginalNode(Se,e.isFunctionLike),er=Re.type,wr=te<2?Le(er):void 0,mr=Se.kind===216,Ue=(le.getNodeCheckFlags(Se)&8192)!=0,t=E;E=new e.Set;for(var qr=0,ln=Se.parameters;qr=2&&le.getNodeCheckFlags(Se)&(4096|2048);if(Br&&(Ae(),I.size)){var pn=se(ie,le,Se,I);m[e.getNodeId(pn)]=!0,e.insertStatementsAfterStandardPrologue(Cr,[pn])}var ve=ie.createBlock(Cr,!0);e.setTextRange(ve,Se.body),Br&&f&&(le.getNodeCheckFlags(Se)&4096?e.addEmitHelper(ve,e.advancedAsyncSuperHelper):le.getNodeCheckFlags(Se)&2048&&e.addEmitHelper(ve,e.asyncSuperHelper)),Ur=ve}return E=t,mr||(I=vr,f=kr),Ur}function Me(Se,Re){return e.isBlock(Se)?ie.updateBlock(Se,e.visitNodes(Se.statements,F,e.isStatement,Re)):ie.converters.convertToFunctionBlock(e.visitNode(Se,F,e.isConciseBody))}function Le(Se){var Re=Se&&e.getEntityNameFromTypeNode(Se);if(Re&&e.isEntityName(Re)){var er=le.getTypeReferenceSerializationKind(Re);if(er===e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue||er===e.TypeReferenceSerializationKind.Unknown)return Re}}function Ae(){(oe&1)==0&&(oe|=1,O.enableSubstitution(210),O.enableSubstitution(208),O.enableSubstitution(209),O.enableEmitNotification(260),O.enableEmitNotification(171),O.enableEmitNotification(174),O.enableEmitNotification(175),O.enableEmitNotification(173),O.enableEmitNotification(240))}function Xe(Se,Re,er){if(oe&1&&j(Re)){var wr=le.getNodeCheckFlags(Re)&(2048|4096);if(wr!==ae){var mr=ae;ae=wr,S(Se,Re,er),ae=mr;return}}else if(oe&&m[e.getNodeId(Re)]){var mr=ae;ae=0,S(Se,Re,er),ae=mr;return}S(Se,Re,er)}function Ne(Se,Re){return Re=k(Se,Re),Se===1&&ae?Oe(Re):Re}function Oe(Se){switch(Se.kind){case 208:return be(Se);case 209:return Y(Se);case 210:return d(Se)}return Se}function be(Se){return Se.expression.kind===106?e.setTextRange(ie.createPropertyAccessExpression(ie.createUniqueName("_super",16|32),Se.name),Se):Se}function Y(Se){return Se.expression.kind===106?Ce(Se.argumentExpression,Se):Se}function d(Se){var Re=Se.expression;if(e.isSuperProperty(Re)){var er=e.isPropertyAccessExpression(Re)?be(Re):Y(Re);return ie.createCallExpression(ie.createPropertyAccessExpression(er,"call"),void 0,zn([ie.createThis()],Se.arguments,!0))}return Se}function j(Se){var Re=Se.kind;return Re===260||Re===173||Re===171||Re===174||Re===175}function Ce(Se,Re){return ae&4096?e.setTextRange(ie.createPropertyAccessExpression(ie.createCallExpression(ie.createUniqueName("_superIndex",16|32),void 0,[Se]),"value"),Re):e.setTextRange(ie.createCallExpression(ie.createUniqueName("_superIndex",16|32),void 0,[Se]),Re)}}e.transformES2017=K;function se(O,ie,_e,Q){var p=(ie.getNodeCheckFlags(_e)&4096)!=0,D=[];return Q.forEach(function(le,de){var te=e.unescapeLeadingUnderscores(de),oe=[];oe.push(O.createPropertyAssignment("get",O.createArrowFunction(void 0,void 0,[],void 0,void 0,e.setEmitFlags(O.createPropertyAccessExpression(e.setEmitFlags(O.createSuper(),4),te),4)))),p&&oe.push(O.createPropertyAssignment("set",O.createArrowFunction(void 0,void 0,[O.createParameterDeclaration(void 0,void 0,"v",void 0,void 0,void 0)],void 0,void 0,O.createAssignment(e.setEmitFlags(O.createPropertyAccessExpression(e.setEmitFlags(O.createSuper(),4),te),4),O.createIdentifier("v"))))),D.push(O.createPropertyAssignment(te,O.createObjectLiteralExpression(oe)))}),O.createVariableStatement(void 0,O.createVariableDeclarationList([O.createVariableDeclaration(O.createUniqueName("_super",16|32),void 0,void 0,O.createCallExpression(O.createPropertyAccessExpression(O.createIdentifier("Object"),"create"),void 0,[O.createNull(),O.createObjectLiteralExpression(D,!0)]))],2))}e.createSuperAccessVariableStatement=se})(fr||(fr={}));var fr;(function(e){var o;(function(se){se[se.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper"})(o||(o={}));var ne;(function(se){se[se.None=0]="None",se[se.HasLexicalThis=1]="HasLexicalThis",se[se.IterationContainer=2]="IterationContainer",se[se.AncestorFactsMask=3]="AncestorFactsMask",se[se.SourceFileIncludes=1]="SourceFileIncludes",se[se.SourceFileExcludes=2]="SourceFileExcludes",se[se.StrictModeSourceFileIncludes=0]="StrictModeSourceFileIncludes",se[se.ClassOrFunctionIncludes=1]="ClassOrFunctionIncludes",se[se.ClassOrFunctionExcludes=2]="ClassOrFunctionExcludes",se[se.ArrowFunctionIncludes=0]="ArrowFunctionIncludes",se[se.ArrowFunctionExcludes=2]="ArrowFunctionExcludes",se[se.IterationStatementIncludes=2]="IterationStatementIncludes",se[se.IterationStatementExcludes=0]="IterationStatementExcludes"})(ne||(ne={}));function K(se){var O=se.factory,ie=se.getEmitHelperFactory,_e=se.resumeLexicalEnvironment,Q=se.endLexicalEnvironment,p=se.hoistVariableDeclaration,D=se.getEmitResolver(),le=se.getCompilerOptions(),de=e.getEmitScriptTarget(le),te=se.onEmitNode;se.onEmitNode=dr;var oe=se.onSubstituteNode;se.onSubstituteNode=vr;var ae=!1,E,I,f,m=0,y=0,S,k,C,me,De=[];return e.chainBundle(se,h);function X(ve,or){return y!==(y&~ve|or)}function M(ve,or){var Ee=y;return y=(y&~ve|or)&3,Ee}function H(ve){y=ve}function V(ve){k=e.append(k,O.createVariableDeclaration(ve))}function h(ve){if(ve.isDeclarationFile)return ve;S=ve;var or=u(ve);return e.addEmitHelpers(or,se.readEmitHelpers()),S=void 0,k=void 0,or}function F(ve){return J(ve,!1)}function $(ve){return J(ve,!0)}function L(ve){if(ve.kind!==132)return ve}function P(ve,or,Ee,ze){if(X(Ee,ze)){var Ar=M(Ee,ze),xe=ve(or);return H(Ar),xe}return ve(or)}function N(ve){return e.visitEachChild(ve,F,se)}function J(ve,or){if((ve.transformFlags&128)==0)return ve;switch(ve.kind){case 220:return q(ve);case 226:return G(ve);case 250:return ye(ve);case 253:return b(ve);case 207:return T(ve);case 223:return w(ve,or);case 354:return z(ve,or);case 295:return U(ve);case 240:return ge(ve);case 257:return pe(ve);case 243:case 244:case 246:return P(N,ve,0,2);case 247:return Le(ve,void 0);case 245:return P(Be,ve,0,2);case 219:return Me(ve);case 173:return P(j,ve,2,1);case 171:return P(Re,ve,2,1);case 174:return P(Ce,ve,2,1);case 175:return P(Se,ve,2,1);case 259:return P(er,ve,2,1);case 215:return P(mr,ve,2,1);case 216:return P(wr,ve,2,0);case 166:return Y(ve);case 241:return Z(ve);case 214:return B(ve,or);case 212:return A(ve);case 208:return C&&e.isPropertyAccessExpression(ve)&&ve.expression.kind===106&&C.add(ve.name.escapedText),e.visitEachChild(ve,F,se);case 209:return C&&ve.expression.kind===106&&(me=!0),e.visitEachChild(ve,F,se);case 260:case 228:return P(N,ve,2,1);default:return e.visitEachChild(ve,F,se)}}function q(ve){return I&2&&I&1?e.setOriginalNode(e.setTextRange(O.createYieldExpression(void 0,ie().createAwaitHelper(e.visitNode(ve.expression,F,e.isExpression))),ve),ve):e.visitEachChild(ve,F,se)}function G(ve){if(I&2&&I&1){if(ve.asteriskToken){var or=e.visitNode(e.Debug.checkDefined(ve.expression),F,e.isExpression);return e.setOriginalNode(e.setTextRange(O.createYieldExpression(void 0,ie().createAwaitHelper(O.updateYieldExpression(ve,ve.asteriskToken,e.setTextRange(ie().createAsyncDelegatorHelper(e.setTextRange(ie().createAsyncValuesHelper(or),or)),or)))),ve),ve)}return e.setOriginalNode(e.setTextRange(O.createYieldExpression(void 0,Ne(ve.expression?e.visitNode(ve.expression,F,e.isExpression):O.createVoidZero())),ve),ve)}return e.visitEachChild(ve,F,se)}function ye(ve){return I&2&&I&1?O.updateReturnStatement(ve,Ne(ve.expression?e.visitNode(ve.expression,F,e.isExpression):O.createVoidZero())):e.visitEachChild(ve,F,se)}function b(ve){if(I&2){var or=e.unwrapInnermostStatementOfLabel(ve);return or.kind===247&&or.awaitModifier?Le(or,ve):O.restoreEnclosingLabel(e.visitNode(or,F,e.isStatement,O.liftToBlock),ve)}return e.visitEachChild(ve,F,se)}function x(ve){for(var or,Ee=[],ze=0,Ar=ve;ze1){for(var ze=1;ze=2&&D.getNodeCheckFlags(ve)&(4096|2048);if(cr){ln();var Mr=e.createSuperAccessVariableStatement(O,D,ve,C);De[e.getNodeId(Mr)]=!0,e.insertStatementsAfterStandardPrologue(or,[Mr])}or.push(xe),e.insertStatementsAfterStandardPrologue(or,Q());var Rr=O.updateBlock(ve.body,or);return cr&&me&&(D.getNodeCheckFlags(ve)&4096?e.addEmitHelper(Rr,e.advancedAsyncSuperHelper):D.getNodeCheckFlags(ve)&2048&&e.addEmitHelper(Rr,e.asyncSuperHelper)),C=ze,me=Ar,Rr}function t(ve){var or;_e();var Ee=0,ze=[],Ar=(or=e.visitNode(ve.body,F,e.isConciseBody))!==null&&or!==void 0?or:O.createBlock([]);e.isBlock(Ar)&&(Ee=O.copyPrologue(Ar.statements,ze,!1,F)),e.addRange(ze,qr(void 0,ve));var xe=Q();if(Ee>0||e.some(ze)||e.some(xe)){var cr=O.converters.convertToFunctionBlock(Ar,!0);return e.insertStatementsAfterStandardPrologue(ze,xe),e.addRange(ze,cr.statements.slice(Ee)),O.updateBlock(cr,e.setTextRange(O.createNodeArray(ze),cr.statements))}return Ar}function qr(ve,or){for(var Ee=!1,ze=0,Ar=or.parameters;ze0){var cr=e.flattenDestructuringBinding(xe,F,se,0,O.getGeneratedNameForNode(xe));if(e.some(cr)){var Mr=O.createVariableDeclarationList(cr),Rr=O.createVariableStatement(void 0,Mr);e.setEmitFlags(Rr,1048576),ve=e.append(ve,Rr)}}else if(xe.initializer){var Qr=O.getGeneratedNameForNode(xe),en=e.visitNode(xe.initializer,F,e.isExpression),vn=O.createAssignment(Qr,en),Rr=O.createExpressionStatement(vn);e.setEmitFlags(Rr,1048576),ve=e.append(ve,Rr)}}else if(xe.initializer){var Qr=O.cloneNode(xe.name);e.setTextRange(Qr,xe.name),e.setEmitFlags(Qr,48);var en=e.visitNode(xe.initializer,F,e.isExpression);e.addEmitFlags(en,48|1536);var vn=O.createAssignment(Qr,en);e.setTextRange(vn,xe),e.setEmitFlags(vn,1536);var Ie=O.createBlock([O.createExpressionStatement(vn)]);e.setTextRange(Ie,xe),e.setEmitFlags(Ie,1|32|384|1536);var We=O.createTypeCheck(O.cloneNode(xe.name),"undefined"),Rr=O.createIfStatement(We,Ie);e.startOnNewLine(Rr),e.setTextRange(Rr,xe),e.setEmitFlags(Rr,384|32|1048576|1536),ve=e.append(ve,Rr)}}else if(xe.transformFlags&65536){Ee=!0;var cr=e.flattenDestructuringBinding(xe,F,se,1,O.getGeneratedNameForNode(xe),!1,!0);if(e.some(cr)){var Mr=O.createVariableDeclarationList(cr),Rr=O.createVariableStatement(void 0,Mr);e.setEmitFlags(Rr,1048576),ve=e.append(ve,Rr)}}}return ve}function ln(){(E&1)==0&&(E|=1,se.enableSubstitution(210),se.enableSubstitution(208),se.enableSubstitution(209),se.enableEmitNotification(260),se.enableEmitNotification(171),se.enableEmitNotification(174),se.enableEmitNotification(175),se.enableEmitNotification(173),se.enableEmitNotification(240))}function dr(ve,or,Ee){if(E&1&&Br(or)){var ze=D.getNodeCheckFlags(or)&(2048|4096);if(ze!==m){var Ar=m;m=ze,te(ve,or,Ee),m=Ar;return}}else if(E&&De[e.getNodeId(or)]){var Ar=m;m=0,te(ve,or,Ee),m=Ar;return}te(ve,or,Ee)}function vr(ve,or){return or=oe(ve,or),ve===1&&m?kr(or):or}function kr(ve){switch(ve.kind){case 208:return Ur(ve);case 209:return Cr(ve);case 210:return rn(ve)}return ve}function Ur(ve){return ve.expression.kind===106?e.setTextRange(O.createPropertyAccessExpression(O.createUniqueName("_super",16|32),ve.name),ve):ve}function Cr(ve){return ve.expression.kind===106?pn(ve.argumentExpression,ve):ve}function rn(ve){var or=ve.expression;if(e.isSuperProperty(or)){var Ee=e.isPropertyAccessExpression(or)?Ur(or):Cr(or);return O.createCallExpression(O.createPropertyAccessExpression(Ee,"call"),void 0,zn([O.createThis()],ve.arguments,!0))}return ve}function Br(ve){var or=ve.kind;return or===260||or===173||or===171||or===174||or===175}function pn(ve,or){return m&4096?e.setTextRange(O.createPropertyAccessExpression(O.createCallExpression(O.createIdentifier("_superIndex"),void 0,[ve]),"value"),or):e.setTextRange(O.createCallExpression(O.createIdentifier("_superIndex"),void 0,[ve]),or)}}e.transformES2018=K})(fr||(fr={}));var fr;(function(e){function o(ne){var K=ne.factory;return e.chainBundle(ne,se);function se(_e){return _e.isDeclarationFile?_e:e.visitEachChild(_e,O,ne)}function O(_e){if((_e.transformFlags&64)==0)return _e;switch(_e.kind){case 295:return ie(_e);default:return e.visitEachChild(_e,O,ne)}}function ie(_e){return _e.variableDeclaration?e.visitEachChild(_e,O,ne):K.updateCatchClause(_e,K.createVariableDeclaration(K.createTempVariable(void 0)),e.visitNode(_e.block,O,e.isBlock))}}e.transformES2019=o})(fr||(fr={}));var fr;(function(e){function o(ne){var K=ne.factory,se=ne.hoistVariableDeclaration;return e.chainBundle(ne,O);function O(E){return E.isDeclarationFile?E:e.visitEachChild(E,ie,ne)}function ie(E){if((E.transformFlags&32)==0)return E;switch(E.kind){case 210:{var I=D(E,!1);return e.Debug.assertNotNode(I,e.isSyntheticReference),I}case 208:case 209:if(e.isOptionalChain(E)){var I=de(E,!1,!1);return e.Debug.assertNotNode(I,e.isSyntheticReference),I}return e.visitEachChild(E,ie,ne);case 223:return E.operatorToken.kind===60?oe(E):e.visitEachChild(E,ie,ne);case 217:return ae(E);default:return e.visitEachChild(E,ie,ne)}}function _e(E){e.Debug.assertNotNode(E,e.isNonNullChain);for(var I=[E];!E.questionDotToken&&!e.isTaggedTemplateExpression(E);)E=e.cast(e.skipPartiallyEmittedExpressions(E.expression),e.isOptionalChain),e.Debug.assertNotNode(E,e.isNonNullChain),I.unshift(E);return{expression:E.expression,chain:I}}function Q(E,I,f){var m=le(E.expression,I,f);return e.isSyntheticReference(m)?K.createSyntheticReferenceExpression(K.updateParenthesizedExpression(E,m.expression),m.thisArg):K.updateParenthesizedExpression(E,m)}function p(E,I,f){if(e.isOptionalChain(E))return de(E,I,f);var m=e.visitNode(E.expression,ie,e.isExpression);e.Debug.assertNotNode(m,e.isSyntheticReference);var y;return I&&(e.isSimpleCopiableExpression(m)?y=m:(y=K.createTempVariable(se),m=K.createAssignment(y,m))),m=E.kind===208?K.updatePropertyAccessExpression(E,m,e.visitNode(E.name,ie,e.isIdentifier)):K.updateElementAccessExpression(E,m,e.visitNode(E.argumentExpression,ie,e.isExpression)),y?K.createSyntheticReferenceExpression(m,y):m}function D(E,I){if(e.isOptionalChain(E))return de(E,I,!1);if(e.isParenthesizedExpression(E.expression)&&e.isOptionalChain(e.skipParentheses(E.expression))){var f=Q(E.expression,!0,!1),m=e.visitNodes(E.arguments,ie,e.isExpression);return e.isSyntheticReference(f)?e.setTextRange(K.createFunctionCallCall(f.expression,f.thisArg,m),E):K.updateCallExpression(E,f,void 0,m)}return e.visitEachChild(E,ie,ne)}function le(E,I,f){switch(E.kind){case 214:return Q(E,I,f);case 208:case 209:return p(E,I,f);case 210:return D(E,I);default:return e.visitNode(E,ie,e.isExpression)}}function de(E,I,f){var m=_e(E),y=m.expression,S=m.chain,k=le(e.skipPartiallyEmittedExpressions(y),e.isCallChain(S[0]),!1),C=e.isSyntheticReference(k)?k.thisArg:void 0,me=e.isSyntheticReference(k)?k.expression:k,De=K.restoreOuterExpressions(y,me,8);e.isSimpleCopiableExpression(me)||(me=K.createTempVariable(se),De=K.createAssignment(me,De));for(var X=me,M,H=0;H1||!!((pe=He[0])===null||pe===void 0?void 0:pe.dotDotDotToken),Me=[u,A];if(w&&Me.push(J(w.initializer)),ie.jsx===5){var Le=e.getOriginalNode(_e);if(Le&&e.isSourceFile(Le)){w===void 0&&Me.push(se.createVoidZero()),Me.push(Be?se.createTrue():se.createFalse());var Ae=e.getLineAndCharacterOfPosition(Le,ge.pos);Me.push(se.createObjectLiteralExpression([se.createPropertyAssignment("fileName",p()),se.createPropertyAssignment("lineNumber",se.createNumericLiteral(Ae.line+1)),se.createPropertyAssignment("columnNumber",se.createNumericLiteral(Ae.character+1))])),Me.push(se.createThis())}}var Xe=e.setTextRange(se.createCallExpression(le(Be),void 0,Me),ge);return U&&e.startOnNewLine(Xe),Xe}function M(u,A,w,z){var U=T(u),ge=u.attributes.properties,pe=e.length(ge)?F(ge):se.createNull(),He=Q.importSpecifier===void 0?e.createJsxFactoryExpression(se,K.getEmitResolver().getJsxFactoryEntity(_e),ie.reactNamespace,u):te("createElement"),Be=e.createExpressionForJsxElement(se,He,U,pe,e.mapDefined(A,I),z);return w&&e.startOnNewLine(Be),Be}function H(u,A,w,z){var U;if(A&&A.length){var ge=C(A);ge&&(U=ge)}return X(de(),U||se.createObjectLiteralExpression([]),void 0,A,w,z)}function V(u,A,w,z){var U=e.createExpressionForJsxFragment(se,K.getEmitResolver().getJsxFactoryEntity(_e),K.getEmitResolver().getJsxFragmentFactoryEntity(_e),ie.reactNamespace,e.mapDefined(A,I),u,z);return w&&e.startOnNewLine(U),U}function h(u){return se.createSpreadAssignment(e.visitNode(u.expression,ae,e.isExpression))}function F(u,A){var w=e.getEmitScriptTarget(ie);return w&&w>=5?se.createObjectLiteralExpression($(u,A)):L(u,A)}function $(u,A){var w=e.flatten(e.spanMap(u,e.isJsxSpreadAttribute,function(z,U){return e.map(z,function(ge){return U?h(ge):N(ge)})}));return A&&w.push(A),w}function L(u,A){var w=e.flatten(e.spanMap(u,e.isJsxSpreadAttribute,function(z,U){return U?e.map(z,P):se.createObjectLiteralExpression(e.map(z,N))}));return e.isJsxSpreadAttribute(u[0])&&w.unshift(se.createObjectLiteralExpression()),A&&w.push(se.createObjectLiteralExpression([A])),e.singleOrUndefined(w)||O().createAssignHelper(w)}function P(u){return e.visitNode(u.expression,ae,e.isExpression)}function N(u){var A=Z(u),w=J(u.initializer);return se.createPropertyAssignment(A,w)}function J(u){if(u===void 0)return se.createTrue();if(u.kind===10){var A=u.singleQuote!==void 0?u.singleQuote:!e.isStringDoubleQuoted(u,_e),w=se.createStringLiteral(x(u.text)||u.text,A);return e.setTextRange(w,u)}return u.kind===291?u.expression===void 0?se.createTrue():e.visitNode(u.expression,ae,e.isExpression):e.isJsxElement(u)?y(u,!1):e.isJsxSelfClosingElement(u)?S(u,!1):e.isJsxFragment(u)?k(u,!1):e.Debug.failBadSyntaxKind(u)}function q(u){var A=G(u.text);return A===void 0?void 0:se.createStringLiteral(A)}function G(u){for(var A,w=0,z=-1,U=0;U0?(e.insertStatementAfterCustomPrologue(Ve,e.setEmitFlags(D.createVariableStatement(void 0,D.createVariableDeclarationList(e.flattenDestructuringBinding(tn,L,p,0,D.getGeneratedNameForNode(tn)))),1048576)),!0):wn?(e.insertStatementAfterCustomPrologue(Ve,e.setEmitFlags(D.createExpressionStatement(D.createAssignment(D.getGeneratedNameForNode(tn),e.visitNode(wn,L,e.isExpression))),1048576)),!0):!1}function Ce(Ve,tn,Nn,wn){wn=e.visitNode(wn,L,e.isExpression);var Je=D.createIfStatement(D.createTypeCheck(D.cloneNode(Nn),"undefined"),e.setEmitFlags(e.setTextRange(D.createBlock([D.createExpressionStatement(e.setEmitFlags(e.setTextRange(D.createAssignment(e.setEmitFlags(e.setParent(e.setTextRange(D.cloneNode(Nn),Nn),Nn.parent),48),e.setEmitFlags(wn,48|e.getEmitFlags(wn)|1536)),tn),1536))]),tn),1|32|384|1536));e.startOnNewLine(Je),e.setTextRange(Je,tn),e.setEmitFlags(Je,384|32|1048576|1536),e.insertStatementAfterCustomPrologue(Ve,Je)}function Se(Ve,tn){return!!(Ve&&Ve.dotDotDotToken&&!tn)}function Re(Ve,tn,Nn){var wn=[],Je=e.lastOrUndefined(tn.parameters);if(!Se(Je,Nn))return!1;var ur=Je.name.kind===79?e.setParent(e.setTextRange(D.cloneNode(Je.name),Je.name),Je.name.parent):D.createTempVariable(void 0);e.setEmitFlags(ur,48);var yr=Je.name.kind===79?D.cloneNode(Je.name):ur,Jr=tn.parameters.length-1,Mn=D.createLoopVariable();wn.push(e.setEmitFlags(e.setTextRange(D.createVariableStatement(void 0,D.createVariableDeclarationList([D.createVariableDeclaration(ur,void 0,void 0,D.createArrayLiteralExpression([]))])),Je),1048576));var _i=D.createForStatement(e.setTextRange(D.createVariableDeclarationList([D.createVariableDeclaration(Mn,void 0,void 0,D.createNumericLiteral(Jr))]),Je),e.setTextRange(D.createLessThan(Mn,D.createPropertyAccessExpression(D.createIdentifier("arguments"),"length")),Je),e.setTextRange(D.createPostfixIncrement(Mn),Je),D.createBlock([e.startOnNewLine(e.setTextRange(D.createExpressionStatement(D.createAssignment(D.createElementAccessExpression(yr,Jr===0?Mn:D.createSubtract(Mn,D.createNumericLiteral(Jr))),D.createElementAccessExpression(D.createIdentifier("arguments"),Mn))),Je))]));return e.setEmitFlags(_i,1048576),e.startOnNewLine(_i),wn.push(_i),Je.name.kind!==79&&wn.push(e.setEmitFlags(e.setTextRange(D.createVariableStatement(void 0,D.createVariableDeclarationList(e.flattenDestructuringBinding(Je,L,p,0,yr))),Je),1048576)),e.insertStatementsAfterCustomPrologue(Ve,wn),!0}function er(Ve,tn){return k&65536&&tn.kind!==216?(mr(Ve,tn,D.createThis()),!0):!1}function wr(Ve,tn){Xo();var Nn=D.createExpressionStatement(D.createBinaryExpression(D.createThis(),63,tn));e.insertStatementAfterCustomPrologue(Ve,Nn),e.setCommentRange(Nn,e.getOriginalNode(tn).parent)}function mr(Ve,tn,Nn){Xo();var wn=D.createVariableStatement(void 0,D.createVariableDeclarationList([D.createVariableDeclaration(D.createUniqueName("_this",16|32),void 0,void 0,Nn)]));e.setEmitFlags(wn,1536|1048576),e.setSourceMapRange(wn,tn),e.insertStatementAfterCustomPrologue(Ve,wn)}function Ue(Ve,tn,Nn){if(k&32768){var wn=void 0;switch(tn.kind){case 216:return Ve;case 171:case 174:case 175:wn=D.createVoidZero();break;case 173:wn=D.createPropertyAccessExpression(e.setEmitFlags(D.createThis(),4),"constructor");break;case 259:case 215:wn=D.createConditionalExpression(D.createLogicalAnd(e.setEmitFlags(D.createThis(),4),D.createBinaryExpression(e.setEmitFlags(D.createThis(),4),102,D.getLocalName(tn))),void 0,D.createPropertyAccessExpression(e.setEmitFlags(D.createThis(),4),"constructor"),void 0,D.createVoidZero());break;default:return e.Debug.failBadSyntaxKind(tn)}var Je=D.createVariableStatement(void 0,D.createVariableDeclarationList([D.createVariableDeclaration(D.createUniqueName("_newTarget",16|32),void 0,void 0,wn)]));e.setEmitFlags(Je,1536|1048576),Nn&&(Ve=Ve.slice()),e.insertStatementAfterCustomPrologue(Ve,Je)}return Ve}function t(Ve,tn){for(var Nn=0,wn=tn.members;Nn0&&ur.push(D.createStringLiteral(Je.literal.text)),tn=D.createCallExpression(D.createPropertyAccessExpression(tn,"concat"),void 0,ur)}return e.setTextRange(tn,Ve)}function ao(Ve){return k&8&&!Ve?D.createPropertyAccessExpression(D.createUniqueName("_super",16|32),"prototype"):D.createUniqueName("_super",16|32)}function fo(Ve){return Ve.keywordToken===103&&Ve.name.escapedText==="target"?(k|=32768,D.createUniqueName("_newTarget",16|32)):Ve}function As(Ve,tn,Nn){if(X&1&&e.isFunctionLike(tn)){var wn=H(32670,e.getEmitFlags(tn)&8?65|16:65);m(Ve,tn,Nn),V(wn,0,0);return}m(Ve,tn,Nn)}function so(){(X&2)==0&&(X|=2,p.enableSubstitution(79))}function Xo(){(X&1)==0&&(X|=1,p.enableSubstitution(108),p.enableEmitNotification(173),p.enableEmitNotification(171),p.enableEmitNotification(174),p.enableEmitNotification(175),p.enableEmitNotification(216),p.enableEmitNotification(215),p.enableEmitNotification(259))}function Ho(Ve,tn){return tn=f(Ve,tn),Ve===1?pr(tn):e.isIdentifier(tn)?Zo(tn):tn}function Zo(Ve){if(X&2&&!e.isInternalName(Ve)){var tn=e.getParseTreeNode(Ve,e.isIdentifier);if(tn&&To(tn))return e.setTextRange(D.getGeneratedNameForNode(tn),Ve)}return Ve}function To(Ve){switch(Ve.parent.kind){case 205:case 260:case 263:case 257:return Ve.parent.name===Ve&&I.isDeclarationWithCollidingName(Ve.parent)}return!1}function pr(Ve){switch(Ve.kind){case 79:return Fr(Ve);case 108:return Dt(Ve)}return Ve}function Fr(Ve){if(X&2&&!e.isInternalName(Ve)){var tn=I.getReferencedDeclarationWithCollidingName(Ve);if(tn&&!(e.isClassLike(tn)&&yi(tn,Ve)))return e.setTextRange(D.getGeneratedNameForNode(e.getNameOfDeclaration(tn)),Ve)}return Ve}function yi(Ve,tn){var Nn=e.getParseTreeNode(tn);if(!Nn||Nn===Ve||Nn.end<=Ve.pos||Nn.pos>=Ve.end)return!1;for(var wn=e.getEnclosingBlockScopeContainer(Ve);Nn;){if(Nn===wn||Nn===Ve)return!1;if(e.isClassElement(Nn)&&Nn.parent===Ve)return!0;Nn=Nn.parent}return!1}function Dt(Ve){return X&1&&k&16?e.setTextRange(D.createUniqueName("_this",16|32),Ve):Ve}function Ft(Ve,tn){return e.isStatic(tn)?D.getInternalName(Ve):D.createPropertyAccessExpression(D.getInternalName(Ve),"prototype")}function Pa(Ve,tn){if(!Ve||!tn||e.some(Ve.parameters))return!1;var Nn=e.firstOrUndefined(Ve.body.statements);if(!Nn||!e.nodeIsSynthesized(Nn)||Nn.kind!==241)return!1;var wn=Nn.expression;if(!e.nodeIsSynthesized(wn)||wn.kind!==210)return!1;var Je=wn.expression;if(!e.nodeIsSynthesized(Je)||Je.kind!==106)return!1;var ur=e.singleOrUndefined(wn.arguments);if(!ur||!e.nodeIsSynthesized(ur)||ur.kind!==227)return!1;var yr=ur.expression;return e.isIdentifier(yr)&&yr.escapedText==="arguments"}}e.transformES2015=Q})(fr||(fr={}));var fr;(function(e){function o(ne){var K=ne.factory,se=ne.getCompilerOptions(),O,ie;(se.jsx===1||se.jsx===3)&&(O=ne.onEmitNode,ne.onEmitNode=p,ne.enableEmitNotification(283),ne.enableEmitNotification(284),ne.enableEmitNotification(282),ie=[]);var _e=ne.onSubstituteNode;return ne.onSubstituteNode=D,ne.enableSubstitution(208),ne.enableSubstitution(299),e.chainBundle(ne,Q);function Q(oe){return oe}function p(oe,ae,E){switch(ae.kind){case 283:case 284:case 282:var I=ae.tagName;ie[e.getOriginalNodeId(I)]=!0;break}O(oe,ae,E)}function D(oe,ae){return ae.id&&ie&&ie[ae.id]?_e(oe,ae):(ae=_e(oe,ae),e.isPropertyAccessExpression(ae)?le(ae):e.isPropertyAssignment(ae)?de(ae):ae)}function le(oe){if(e.isPrivateIdentifier(oe.name))return oe;var ae=te(oe.name);return ae?e.setTextRange(K.createElementAccessExpression(oe.expression,ae),oe):oe}function de(oe){var ae=e.isIdentifier(oe.name)&&te(oe.name);return ae?K.updatePropertyAssignment(oe,ae,oe.initializer):oe}function te(oe){var ae=oe.originalKeywordKind||(e.nodeIsSynthesized(oe)?e.stringToToken(e.idText(oe)):void 0);if(ae!==void 0&&ae>=81&&ae<=116)return e.setTextRange(K.createStringLiteralFromNode(oe),oe)}}e.transformES5=o})(fr||(fr={}));var fr;(function(e){var o;(function(Q){Q[Q.Nop=0]="Nop",Q[Q.Statement=1]="Statement",Q[Q.Assign=2]="Assign",Q[Q.Break=3]="Break",Q[Q.BreakWhenTrue=4]="BreakWhenTrue",Q[Q.BreakWhenFalse=5]="BreakWhenFalse",Q[Q.Yield=6]="Yield",Q[Q.YieldStar=7]="YieldStar",Q[Q.Return=8]="Return",Q[Q.Throw=9]="Throw",Q[Q.Endfinally=10]="Endfinally"})(o||(o={}));var ne;(function(Q){Q[Q.Open=0]="Open",Q[Q.Close=1]="Close"})(ne||(ne={}));var K;(function(Q){Q[Q.Exception=0]="Exception",Q[Q.With=1]="With",Q[Q.Switch=2]="Switch",Q[Q.Loop=3]="Loop",Q[Q.Labeled=4]="Labeled"})(K||(K={}));var se;(function(Q){Q[Q.Try=0]="Try",Q[Q.Catch=1]="Catch",Q[Q.Finally=2]="Finally",Q[Q.Done=3]="Done"})(se||(se={}));var O;(function(Q){Q[Q.Next=0]="Next",Q[Q.Throw=1]="Throw",Q[Q.Return=2]="Return",Q[Q.Break=3]="Break",Q[Q.Yield=4]="Yield",Q[Q.YieldStar=5]="YieldStar",Q[Q.Catch=6]="Catch",Q[Q.Endfinally=7]="Endfinally"})(O||(O={}));function ie(Q){switch(Q){case 2:return"return";case 3:return"break";case 4:return"yield";case 5:return"yield*";case 7:return"endfinally";default:return}}function _e(Q){var p=Q.factory,D=Q.getEmitHelperFactory,le=Q.resumeLexicalEnvironment,de=Q.endLexicalEnvironment,te=Q.hoistFunctionDeclaration,oe=Q.hoistVariableDeclaration,ae=Q.getCompilerOptions(),E=e.getEmitScriptTarget(ae),I=Q.getEmitResolver(),f=Q.onSubstituteNode;Q.onSubstituteNode=ai;var m,y,S,k,C,me,De,X,M,H,V=1,h,F,$,L,P=0,N=0,J,q,G,ye,b,x,T,Z;return e.chainBundle(Q,B);function B(pr){if(pr.isDeclarationFile||(pr.transformFlags&2048)==0)return pr;var Fr=e.visitEachChild(pr,u,Q);return e.addEmitHelpers(Fr,Q.readEmitHelpers()),Fr}function u(pr){var Fr=pr.transformFlags;return k?A(pr):S?w(pr):e.isFunctionLikeDeclaration(pr)&&pr.asteriskToken?U(pr):Fr&2048?e.visitEachChild(pr,u,Q):pr}function A(pr){switch(pr.kind){case 243:return rn(pr);case 244:return pn(pr);case 252:return Ie(pr);case 253:return xr(pr);default:return w(pr)}}function w(pr){switch(pr.kind){case 259:return ge(pr);case 215:return pe(pr);case 174:case 175:return He(pr);case 240:return Me(pr);case 245:return or(pr);case 246:return ze(pr);case 249:return Mr(pr);case 248:return xe(pr);case 250:return Qr(pr);default:return pr.transformFlags&1048576?z(pr):pr.transformFlags&(2048|4194304)?e.visitEachChild(pr,u,Q):pr}}function z(pr){switch(pr.kind){case 223:return Le(pr);case 354:return Oe(pr);case 224:return Y(pr);case 226:return d(pr);case 206:return j(pr);case 207:return Se(pr);case 209:return Re(pr);case 210:return er(pr);case 211:return wr(pr);default:return e.visitEachChild(pr,u,Q)}}function U(pr){switch(pr.kind){case 259:return ge(pr);case 215:return pe(pr);default:return e.Debug.failBadSyntaxKind(pr)}}function ge(pr){if(pr.asteriskToken)pr=e.setOriginalNode(e.setTextRange(p.createFunctionDeclaration(pr.modifiers,void 0,pr.name,void 0,e.visitParameterList(pr.parameters,u,Q),void 0,Be(pr.body)),pr),pr);else{var Fr=S,yi=k;S=!1,k=!1,pr=e.visitEachChild(pr,u,Q),S=Fr,k=yi}if(S){te(pr);return}else return pr}function pe(pr){if(pr.asteriskToken)pr=e.setOriginalNode(e.setTextRange(p.createFunctionExpression(void 0,void 0,pr.name,void 0,e.visitParameterList(pr.parameters,u,Q),void 0,Be(pr.body)),pr),pr);else{var Fr=S,yi=k;S=!1,k=!1,pr=e.visitEachChild(pr,u,Q),S=Fr,k=yi}return pr}function He(pr){var Fr=S,yi=k;return S=!1,k=!1,pr=e.visitEachChild(pr,u,Q),S=Fr,k=yi,pr}function Be(pr){var Fr=[],yi=S,Dt=k,Ft=C,Pa=me,Ve=De,tn=X,Nn=M,wn=H,Je=V,ur=h,yr=F,Jr=$,Mn=L;S=!0,k=!1,C=void 0,me=void 0,De=void 0,X=void 0,M=void 0,H=void 0,V=1,h=void 0,F=void 0,$=void 0,L=p.createTempVariable(void 0),le();var _i=p.copyPrologue(pr.statements,Fr,!1,u);mr(pr.statements,_i);var di=ot();return e.insertStatementsAfterStandardPrologue(Fr,de()),Fr.push(p.createReturnStatement(di)),S=yi,k=Dt,C=Ft,me=Pa,De=Ve,X=tn,M=Nn,H=wn,V=Je,h=ur,F=yr,$=Jr,L=Mn,e.setTextRange(p.createBlock(Fr,pr.multiLine),pr)}function Me(pr){if(pr.transformFlags&1048576){vr(pr.declarationList);return}else{if(e.getEmitFlags(pr)&1048576)return pr;for(var Fr=0,yi=pr.declarationList.declarations;Fr0&&(Tt(1,[p.createExpressionStatement(p.inlineExpressions(Fr))]),Fr=[]),Fr.push(e.visitNode(Dt,u,e.isExpression)))}}function Oe(pr){for(var Fr=[],yi=0,Dt=pr.elements;yi0&&(Tt(1,[p.createExpressionStatement(p.inlineExpressions(Fr))]),Fr=[]),Fr.push(e.visitNode(Ft,u,e.isExpression)))}return p.inlineExpressions(Fr)}function be(pr){var Fr=je(),yi=on();return On(yi,e.visitNode(pr.left,u,e.isExpression),pr.left),pr.operatorToken.kind===55?cn(Fr,yi,pr.left):Ge(Fr,yi,pr.left),On(yi,e.visitNode(pr.right,u,e.isExpression),pr.right),Sr(Fr),yi}function Y(pr){if(An(pr.whenTrue)||An(pr.whenFalse)){var Fr=je(),yi=je(),Dt=on();return cn(Fr,e.visitNode(pr.condition,u,e.isExpression),pr.condition),On(Dt,e.visitNode(pr.whenTrue,u,e.isExpression),pr.whenTrue),Xn(yi),Sr(Fr),On(Dt,e.visitNode(pr.whenFalse,u,e.isExpression),pr.whenFalse),Sr(yi),Dt}return e.visitEachChild(pr,u,Q)}function d(pr){var Fr=je(),yi=e.visitNode(pr.expression,u,e.isExpression);if(pr.asteriskToken){var Dt=(e.getEmitFlags(pr.expression)&8388608)==0?e.setTextRange(D().createValuesHelper(yi),pr):yi;Vn(Dt,pr)}else Ki(yi,pr);return Sr(Fr),nn(pr)}function j(pr){return Ce(pr.elements,void 0,void 0,pr.multiLine)}function Ce(pr,Fr,yi,Dt){var Ft=Qn(pr),Pa;if(Ft>0){Pa=on();var Ve=e.visitNodes(pr,u,e.isExpression,0,Ft);On(Pa,p.createArrayLiteralExpression(Fr?zn([Fr],Ve,!0):Ve)),Fr=void 0}var tn=e.reduceLeft(pr,Nn,[],Ft);return Pa?p.createArrayConcatCall(Pa,[p.createArrayLiteralExpression(tn,Dt)]):e.setTextRange(p.createArrayLiteralExpression(Fr?zn([Fr],tn,!0):tn,Dt),yi);function Nn(wn,Je){if(An(Je)&&wn.length>0){var ur=Pa!==void 0;Pa||(Pa=on()),On(Pa,ur?p.createArrayConcatCall(Pa,[p.createArrayLiteralExpression(wn,Dt)]):p.createArrayLiteralExpression(Fr?zn([Fr],wn,!0):wn,Dt)),Fr=void 0,wn=[]}return wn.push(e.visitNode(Je,u,e.isExpression)),wn}}function Se(pr){var Fr=pr.properties,yi=pr.multiLine,Dt=Qn(Fr),Ft=on();On(Ft,p.createObjectLiteralExpression(e.visitNodes(Fr,u,e.isObjectLiteralElementLike,0,Dt),yi));var Pa=e.reduceLeft(Fr,Ve,[],Dt);return Pa.push(yi?e.startOnNewLine(e.setParent(e.setTextRange(p.cloneNode(Ft),Ft),Ft.parent)):Ft),p.inlineExpressions(Pa);function Ve(tn,Nn){An(Nn)&&tn.length>0&&(Dn(p.createExpressionStatement(p.inlineExpressions(tn))),tn=[]);var wn=e.createExpressionForObjectLiteralElementLike(p,pr,Nn,Ft),Je=e.visitNode(wn,u,e.isExpression);return Je&&(yi&&e.startOnNewLine(Je),tn.push(Je)),tn}}function Re(pr){return An(pr.argumentExpression)?p.updateElementAccessExpression(pr,jr(e.visitNode(pr.expression,u,e.isLeftHandSideExpression)),e.visitNode(pr.argumentExpression,u,e.isExpression)):e.visitEachChild(pr,u,Q)}function er(pr){if(!e.isImportCall(pr)&&e.forEach(pr.arguments,An)){var Fr=p.createCallBinding(pr.expression,oe,E,!0),yi=Fr.target,Dt=Fr.thisArg;return e.setOriginalNode(e.setTextRange(p.createFunctionApplyCall(jr(e.visitNode(yi,u,e.isLeftHandSideExpression)),Dt,Ce(pr.arguments)),pr),pr)}return e.visitEachChild(pr,u,Q)}function wr(pr){if(e.forEach(pr.arguments,An)){var Fr=p.createCallBinding(p.createPropertyAccessExpression(pr.expression,"bind"),oe),yi=Fr.target,Dt=Fr.thisArg;return e.setOriginalNode(e.setTextRange(p.createNewExpression(p.createFunctionApplyCall(jr(e.visitNode(yi,u,e.isExpression)),Dt,Ce(pr.arguments,p.createVoidZero())),void 0,[]),pr),pr)}return e.visitEachChild(pr,u,Q)}function mr(pr,Fr){Fr===void 0&&(Fr=0);for(var yi=pr.length,Dt=Fr;Dt0)break;Nn.push(kr(Dt))}Nn.length&&(Dn(p.createExpressionStatement(p.inlineExpressions(Nn))),tn+=Nn.length,Nn=[])}}function kr(pr){return e.setSourceMapRange(p.createAssignment(e.setSourceMapRange(p.cloneNode(pr.name),pr.name),e.visitNode(pr.initializer,u,e.isExpression)),pr)}function Ur(pr){if(An(pr))if(An(pr.thenStatement)||An(pr.elseStatement)){var Fr=je(),yi=pr.elseStatement?je():void 0;cn(pr.elseStatement?yi:Fr,e.visitNode(pr.expression,u,e.isExpression),pr.expression),Ue(pr.thenStatement),pr.elseStatement&&(Xn(Fr),Sr(yi),Ue(pr.elseStatement)),Sr(Fr)}else Dn(e.visitNode(pr,u,e.isStatement));else Dn(e.visitNode(pr,u,e.isStatement))}function Cr(pr){if(An(pr)){var Fr=je(),yi=je();Vr(Fr),Sr(yi),Ue(pr.statement),Sr(Fr),Ge(yi,e.visitNode(pr.expression,u,e.isExpression)),Wn()}else Dn(e.visitNode(pr,u,e.isStatement))}function rn(pr){return k?(fn(),pr=e.visitEachChild(pr,u,Q),Wn(),pr):e.visitEachChild(pr,u,Q)}function Br(pr){if(An(pr)){var Fr=je(),yi=Vr(Fr);Sr(Fr),cn(yi,e.visitNode(pr.expression,u,e.isExpression)),Ue(pr.statement),Xn(Fr),Wn()}else Dn(e.visitNode(pr,u,e.isStatement))}function pn(pr){return k?(fn(),pr=e.visitEachChild(pr,u,Q),Wn(),pr):e.visitEachChild(pr,u,Q)}function ve(pr){if(An(pr)){var Fr=je(),yi=je(),Dt=Vr(yi);if(pr.initializer){var Ft=pr.initializer;e.isVariableDeclarationList(Ft)?vr(Ft):Dn(e.setTextRange(p.createExpressionStatement(e.visitNode(Ft,u,e.isExpression)),Ft))}Sr(Fr),pr.condition&&cn(Dt,e.visitNode(pr.condition,u,e.isExpression)),Ue(pr.statement),Sr(yi),pr.incrementor&&Dn(e.setTextRange(p.createExpressionStatement(e.visitNode(pr.incrementor,u,e.isExpression)),pr.incrementor)),Xn(Fr),Wn()}else Dn(e.visitNode(pr,u,e.isStatement))}function or(pr){k&&fn();var Fr=pr.initializer;if(Fr&&e.isVariableDeclarationList(Fr)){for(var yi=0,Dt=Fr.declarations;yi0?p.inlineExpressions(e.map(Pa,kr)):void 0,e.visitNode(pr.condition,u,e.isExpression),e.visitNode(pr.incrementor,u,e.isExpression),e.visitIterationBody(pr.statement,u,Q))}else pr=e.visitEachChild(pr,u,Q);return k&&Wn(),pr}function Ee(pr){if(An(pr)){var Fr=on(),yi=on(),Dt=on(),Ft=p.createLoopVariable(),Pa=pr.initializer;oe(Ft),On(Fr,e.visitNode(pr.expression,u,e.isExpression)),On(yi,p.createArrayLiteralExpression()),Dn(p.createForInStatement(Dt,Fr,p.createExpressionStatement(p.createCallExpression(p.createPropertyAccessExpression(yi,"push"),void 0,[Dt])))),On(Ft,p.createNumericLiteral(0));var Ve=je(),tn=je(),Nn=Vr(tn);Sr(Ve),cn(Nn,p.createLessThan(Ft,p.createPropertyAccessExpression(yi,"length"))),On(Dt,p.createElementAccessExpression(yi,Ft)),cn(tn,p.createBinaryExpression(Dt,101,Fr));var wn=void 0;if(e.isVariableDeclarationList(Pa)){for(var Je=0,ur=Pa.declarations;Je0?Xn(Fr,pr):Dn(pr)}function xe(pr){if(k){var Fr=Ir(pr.label&&e.idText(pr.label));if(Fr>0)return jn(Fr,pr)}return e.visitEachChild(pr,u,Q)}function cr(pr){var Fr=Pe(pr.label?e.idText(pr.label):void 0);Fr>0?Xn(Fr,pr):Dn(pr)}function Mr(pr){if(k){var Fr=Pe(pr.label&&e.idText(pr.label));if(Fr>0)return jn(Fr,pr)}return e.visitEachChild(pr,u,Q)}function Rr(pr){dt(e.visitNode(pr.expression,u,e.isExpression),pr)}function Qr(pr){return gn(e.visitNode(pr.expression,u,e.isExpression),pr)}function en(pr){An(pr)?(Ke(jr(e.visitNode(pr.expression,u,e.isExpression))),Ue(pr.statement),tr()):Dn(e.visitNode(pr,u,e.isStatement))}function vn(pr){if(An(pr.caseBlock)){for(var Fr=pr.caseBlock,yi=Fr.clauses.length,Dt=qn(),Ft=jr(e.visitNode(pr.expression,u,e.isExpression)),Pa=[],Ve=-1,tn=0;tn0)break;Je.push(p.createCaseClause(e.visitNode(Nn.expression,u,e.isExpression),[jn(Pa[tn],Nn.expression)]))}else ur++}Je.length&&(Dn(p.createSwitchStatement(Ft,p.createCaseBlock(Je))),wn+=Je.length,Je=[]),ur>0&&(wn+=ur,ur=0)}Ve>=0?Xn(Pa[Ve]):Xn(Dt);for(var tn=0;tn=0;yi--){var Dt=X[yi];if(Ni(Dt)){if(Dt.labelText===pr)return!0}else break}return!1}function Pe(pr){if(X)if(pr)for(var Fr=X.length-1;Fr>=0;Fr--){var yi=X[Fr];if(Ni(yi)&&yi.labelText===pr)return yi.breakLabel;if(Hi(yi)&&Pn(pr,Fr-1))return yi.breakLabel}else for(var Fr=X.length-1;Fr>=0;Fr--){var yi=X[Fr];if(Hi(yi))return yi.breakLabel}return 0}function Ir(pr){if(X)if(pr)for(var Fr=X.length-1;Fr>=0;Fr--){var yi=X[Fr];if(gi(yi)&&Pn(pr,Fr-1))return yi.continueLabel}else for(var Fr=X.length-1;Fr>=0;Fr--){var yi=X[Fr];if(gi(yi))return yi.continueLabel}return 0}function we(pr){if(pr!==void 0&&pr>0){H===void 0&&(H=[]);var Fr=p.createNumericLiteral(-1);return H[pr]===void 0?H[pr]=[Fr]:H[pr].push(Fr),Fr}return p.createOmittedExpression()}function hn(pr){var Fr=p.createNumericLiteral(pr);return e.addSyntheticTrailingComment(Fr,3,ie(pr)),Fr}function jn(pr,Fr){return e.Debug.assertLessThan(0,pr,"Invalid label"),e.setTextRange(p.createReturnStatement(p.createArrayLiteralExpression([hn(3),we(pr)])),Fr)}function gn(pr,Fr){return e.setTextRange(p.createReturnStatement(p.createArrayLiteralExpression(pr?[hn(2),pr]:[hn(2)])),Fr)}function nn(pr){return e.setTextRange(p.createCallExpression(p.createPropertyAccessExpression(L,"sent"),void 0,[]),pr)}function Cn(){Tt(0)}function Dn(pr){pr?Tt(1,[pr]):Cn()}function On(pr,Fr,yi){Tt(2,[pr,Fr],yi)}function Xn(pr,Fr){Tt(3,[pr],Fr)}function Ge(pr,Fr,yi){Tt(4,[pr,Fr],yi)}function cn(pr,Fr,yi){Tt(5,[pr,Fr],yi)}function Vn(pr,Fr){Tt(7,[pr],Fr)}function Ki(pr,Fr){Tt(6,[pr],Fr)}function dt(pr,Fr){Tt(8,[pr],Fr)}function qi(pr,Fr){Tt(9,[pr],Fr)}function Ci(){Tt(10)}function Tt(pr,Fr,yi){h===void 0&&(h=[],F=[],$=[]),M===void 0&&Sr(je());var Dt=h.length;h[Dt]=pr,F[Dt]=Fr,$[Dt]=yi}function ot(){P=0,N=0,J=void 0,q=!1,G=!1,ye=void 0,b=void 0,x=void 0,T=void 0,Z=void 0;var pr=Zi();return D().createGeneratorHelper(e.setEmitFlags(p.createFunctionExpression(void 0,void 0,void 0,void 0,[p.createParameterDeclaration(void 0,void 0,L)],void 0,p.createBlock(pr,pr.length>0)),524288))}function Zi(){if(h){for(var pr=0;pr=0;Fr--){var yi=Z[Fr];b=[p.createWithStatement(yi.expression,p.createBlock(b))]}if(T){var Dt=T.startLabel,Ft=T.catchLabel,Pa=T.finallyLabel,Ve=T.endLabel;b.unshift(p.createExpressionStatement(p.createCallExpression(p.createPropertyAccessExpression(p.createPropertyAccessExpression(L,"trys"),"push"),void 0,[p.createArrayLiteralExpression([we(Dt),we(Ft),we(Pa),we(Ve)])]))),T=void 0}pr&&b.push(p.createExpressionStatement(p.createAssignment(p.createPropertyAccessExpression(L,"label"),p.createNumericLiteral(N+1))))}ye.push(p.createCaseClause(p.createNumericLiteral(N),b||[])),b=void 0}function Co(pr){if(!!M)for(var Fr=0;Fr(e.isExportName(ve)?1:0);return!1}function q(ve,or){return J(ve.left)?e.flattenDestructuringAssignment(ve,P,K,0,!or,Xe):e.visitEachChild(ve,P,K)}function G(ve){return O.updateForStatement(ve,e.visitNode(ve.initializer,N,e.isForInitializer),e.visitNode(ve.condition,P,e.isExpression),e.visitNode(ve.incrementor,N,e.isExpression),e.visitIterationBody(ve.statement,P,K))}function ye(ve){return O.updateExpressionStatement(ve,e.visitNode(ve.expression,N,e.isExpression))}function b(ve,or){return O.updateParenthesizedExpression(ve,e.visitNode(ve.expression,or?N:P,e.isExpression))}function x(ve,or){return O.updatePartiallyEmittedExpression(ve,e.visitNode(ve.expression,or?N:P,e.isExpression))}function T(ve,or){if((ve.operator===45||ve.operator===46)&&e.isIdentifier(ve.operand)&&!e.isGeneratedIdentifier(ve.operand)&&!e.isLocalName(ve.operand)&&!e.isDeclarationNameOfEnumOrNamespace(ve.operand)){var Ee=pn(ve.operand);if(Ee){var ze=void 0,Ar=e.visitNode(ve.operand,P,e.isExpression);e.isPrefixUnaryExpression(ve)?Ar=O.updatePrefixUnaryExpression(ve,Ar):(Ar=O.updatePostfixUnaryExpression(ve,Ar),or||(ze=O.createTempVariable(p),Ar=O.createAssignment(ze,Ar),e.setTextRange(Ar,ve)),Ar=O.createComma(Ar,O.cloneNode(ve.operand)),e.setTextRange(Ar,ve));for(var xe=0,cr=Ee;xe=2?cr=O.createArrowFunction(void 0,void 0,Ar,void 0,void 0,xe):(cr=O.createFunctionExpression(void 0,void 0,void 0,void 0,Ar,void 0,xe),or&&e.setEmitFlags(cr,8));var Mr=O.createNewExpression(O.createIdentifier("Promise"),void 0,[cr]);return e.getESModuleInterop(D)?O.createCallExpression(O.createPropertyAccessExpression(Mr,O.createIdentifier("then")),void 0,[ie().createImportStarCallbackHelper()]):Mr}function A(ve,or){var Ee=ve&&!e.isSimpleInlineableExpression(ve)&&!or?O.createTempVariable(p):void 0,ze=O.createCallExpression(O.createPropertyAccessExpression(O.createIdentifier("Promise"),"resolve"),void 0,[]),Ar=O.createCallExpression(O.createIdentifier("require"),void 0,Ee?[Ee]:ve?[ve]:[]);e.getESModuleInterop(D)&&(Ar=ie().createImportStarHelper(Ar));var xe;te>=2?xe=O.createArrowFunction(void 0,void 0,[],void 0,void 0,Ar):xe=O.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,O.createBlock([O.createReturnStatement(Ar)]));var cr=O.createCallExpression(O.createPropertyAccessExpression(ze,"then"),void 0,[xe]);return Ee===void 0?cr:O.createCommaListExpression([O.createAssignment(Ee,ve),cr])}function w(ve,or){return!e.getESModuleInterop(D)||e.getEmitFlags(ve)&67108864?or:e.getExportNeedsImportStarHelper(ve)?ie().createImportStarHelper(or):or}function z(ve,or){return!e.getESModuleInterop(D)||e.getEmitFlags(ve)&67108864?or:e.getImportNeedsImportStarHelper(ve)?ie().createImportStarHelper(or):e.getImportNeedsImportDefaultHelper(ve)?ie().createImportDefaultHelper(or):or}function U(ve){var or,Ee=e.getNamespaceDeclarationNode(ve);if(oe!==e.ModuleKind.AMD)if(ve.importClause){var ze=[];Ee&&!e.isDefaultImport(ve)?ze.push(O.createVariableDeclaration(O.cloneNode(Ee.name),void 0,void 0,z(ve,ge(ve)))):(ze.push(O.createVariableDeclaration(O.getGeneratedNameForNode(ve),void 0,void 0,z(ve,ge(ve)))),Ee&&e.isDefaultImport(ve)&&ze.push(O.createVariableDeclaration(O.cloneNode(Ee.name),void 0,void 0,O.getGeneratedNameForNode(ve)))),or=e.append(or,e.setOriginalNode(e.setTextRange(O.createVariableStatement(void 0,O.createVariableDeclarationList(ze,te>=2?2:0)),ve),ve))}else return e.setOriginalNode(e.setTextRange(O.createExpressionStatement(ge(ve)),ve),ve);else Ee&&e.isDefaultImport(ve)&&(or=e.append(or,O.createVariableStatement(void 0,O.createVariableDeclarationList([e.setOriginalNode(e.setTextRange(O.createVariableDeclaration(O.cloneNode(Ee.name),void 0,void 0,O.getGeneratedNameForNode(ve)),ve),ve)],te>=2?2:0))));if(be(ve)){var Ar=e.getOriginalNodeId(ve);f[Ar]=d(f[Ar],ve)}else or=d(or,ve);return e.singleOrMany(or)}function ge(ve){var or=e.getExternalModuleNameLiteral(O,ve,m,de,le,D),Ee=[];return or&&Ee.push(or),O.createCallExpression(O.createIdentifier("require"),void 0,Ee)}function pe(ve){e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(ve),"import= for internal module references should be handled in an earlier transformer.");var or;if(oe!==e.ModuleKind.AMD?e.hasSyntacticModifier(ve,1)?or=e.append(or,e.setOriginalNode(e.setTextRange(O.createExpressionStatement(t(ve.name,ge(ve))),ve),ve)):or=e.append(or,e.setOriginalNode(e.setTextRange(O.createVariableStatement(void 0,O.createVariableDeclarationList([O.createVariableDeclaration(O.cloneNode(ve.name),void 0,void 0,ge(ve))],te>=2?2:0)),ve),ve)):e.hasSyntacticModifier(ve,1)&&(or=e.append(or,e.setOriginalNode(e.setTextRange(O.createExpressionStatement(t(O.getExportName(ve),O.getLocalName(ve))),ve),ve))),be(ve)){var Ee=e.getOriginalNodeId(ve);f[Ee]=j(f[Ee],ve)}else or=j(or,ve);return e.singleOrMany(or)}function He(ve){if(!!ve.moduleSpecifier){var or=O.getGeneratedNameForNode(ve);if(ve.exportClause&&e.isNamedExports(ve.exportClause)){var Ee=[];oe!==e.ModuleKind.AMD&&Ee.push(e.setOriginalNode(e.setTextRange(O.createVariableStatement(void 0,O.createVariableDeclarationList([O.createVariableDeclaration(or,void 0,void 0,ge(ve))])),ve),ve));for(var ze=0,Ar=ve.exportClause.elements;ze=e.ModuleKind.Node16?f(De):void 0;case 274:return y(De);case 275:var X=De;return S(X)}return De}function I(De){var X=e.getExternalModuleNameLiteral(K,De,e.Debug.checkDefined(de),O,ie,_e),M=[];if(X&&M.push(X),!te){var H=K.createUniqueName("_createRequire",16|32),V=K.createImportDeclaration(void 0,K.createImportClause(!1,void 0,K.createNamedImports([K.createImportSpecifier(!1,K.createIdentifier("createRequire"),H)])),K.createStringLiteral("module")),h=K.createUniqueName("__require",16|32),F=K.createVariableStatement(void 0,K.createVariableDeclarationList([K.createVariableDeclaration(h,void 0,void 0,K.createCallExpression(K.cloneNode(H),void 0,[K.createPropertyAccessExpression(K.createMetaProperty(100,K.createIdentifier("meta")),K.createIdentifier("url"))]))],Q>=2?2:0));te=[V,F]}var $=te[1].declarationList.declarations[0].name;return e.Debug.assertNode($,e.isIdentifier),K.createCallExpression(K.cloneNode($),void 0,M)}function f(De){e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(De),"import= for internal module references should be handled in an earlier transformer.");var X;return X=e.append(X,e.setOriginalNode(e.setTextRange(K.createVariableStatement(void 0,K.createVariableDeclarationList([K.createVariableDeclaration(K.cloneNode(De.name),void 0,void 0,I(De))],Q>=2?2:0)),De),De)),X=m(X,De),e.singleOrMany(X)}function m(De,X){return e.hasSyntacticModifier(X,1)&&(De=e.append(De,K.createExportDeclaration(void 0,X.isTypeOnly,K.createNamedExports([K.createExportSpecifier(!1,void 0,e.idText(X.name))])))),De}function y(De){return De.isExportEquals?void 0:De}function S(De){if(_e.module!==void 0&&_e.module>e.ModuleKind.ES2015||!De.exportClause||!e.isNamespaceExport(De.exportClause)||!De.moduleSpecifier)return De;var X=De.exportClause.name,M=K.getGeneratedNameForNode(X),H=K.createImportDeclaration(void 0,K.createImportClause(!1,void 0,K.createNamespaceImport(M)),De.moduleSpecifier,De.assertClause);e.setOriginalNode(H,De.exportClause);var V=e.isExportNamespaceAsDefaultDeclaration(De)?K.createExportDefault(M):K.createExportDeclaration(void 0,!1,K.createNamedExports([K.createExportSpecifier(!1,M,X)]));return e.setOriginalNode(V,De),[H,V]}function k(De,X,M){e.isSourceFile(X)?((e.isExternalModule(X)||_e.isolatedModules)&&_e.importHelpers&&(le=new e.Map),p(De,X,M),le=void 0):p(De,X,M)}function C(De,X){return X=D(De,X),le&&e.isIdentifier(X)&&e.getEmitFlags(X)&4096?me(X):X}function me(De){var X=e.idText(De),M=le.get(X);return M||le.set(X,M=K.createUniqueName(X,16|32)),M}}e.transformECMAScriptModule=o})(fr||(fr={}));var fr;(function(e){function o(ne){var K=ne.onSubstituteNode,se=ne.onEmitNode,O=e.transformECMAScriptModule(ne),ie=ne.onSubstituteNode,_e=ne.onEmitNode;ne.onSubstituteNode=K,ne.onEmitNode=se;var Q=e.transformModule(ne),p=ne.onSubstituteNode,D=ne.onEmitNode;ne.onSubstituteNode=de,ne.onEmitNode=te,ne.enableSubstitution(308),ne.enableEmitNotification(308);var le;return E;function de(f,m){return e.isSourceFile(m)?(le=m,K(f,m)):le?le.impliedNodeFormat===e.ModuleKind.ESNext?ie(f,m):p(f,m):K(f,m)}function te(f,m,y){return e.isSourceFile(m)&&(le=m),le?le.impliedNodeFormat===e.ModuleKind.ESNext?_e(f,m,y):D(f,m,y):se(f,m,y)}function oe(f){return f.impliedNodeFormat===e.ModuleKind.ESNext?O:Q}function ae(f){if(f.isDeclarationFile)return f;le=f;var m=oe(f)(f);return le=void 0,e.Debug.assert(e.isSourceFile(m)),m}function E(f){return f.kind===308?ae(f):I(f)}function I(f){return ne.factory.createBundle(e.map(f.sourceFiles,ae),f.prepends)}}e.transformNodeModule=o})(fr||(fr={}));var fr;(function(e){function o(se){return e.isVariableDeclaration(se)||e.isPropertyDeclaration(se)||e.isPropertySignature(se)||e.isBindingElement(se)||e.isSetAccessor(se)||e.isGetAccessor(se)||e.isConstructSignatureDeclaration(se)||e.isCallSignatureDeclaration(se)||e.isMethodDeclaration(se)||e.isMethodSignature(se)||e.isFunctionDeclaration(se)||e.isParameter(se)||e.isTypeParameterDeclaration(se)||e.isExpressionWithTypeArguments(se)||e.isImportEqualsDeclaration(se)||e.isTypeAliasDeclaration(se)||e.isConstructorDeclaration(se)||e.isIndexSignatureDeclaration(se)||e.isPropertyAccessExpression(se)||e.isJSDocTypeAlias(se)}e.canProduceDiagnostics=o;function ne(se){if(e.isSetAccessor(se)||e.isGetAccessor(se))return O;return e.isMethodSignature(se)||e.isMethodDeclaration(se)?_e:K(se);function O(p){var D=ie(p);return D!==void 0?{diagnosticMessage:D,errorNode:se,typeName:se.name}:void 0}function ie(p){return e.isStatic(se)?p.errorModuleName?p.accessibility===2?e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:se.parent.kind===260?p.errorModuleName?p.accessibility===2?e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1:p.errorModuleName?e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1}function _e(p){var D=Q(p);return D!==void 0?{diagnosticMessage:D,errorNode:se,typeName:se.name}:void 0}function Q(p){return e.isStatic(se)?p.errorModuleName?p.accessibility===2?e.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:se.parent.kind===260?p.errorModuleName?p.accessibility===2?e.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_private_name_1:p.errorModuleName?e.Diagnostics.Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Method_0_of_exported_interface_has_or_is_using_private_name_1}}e.createGetSymbolAccessibilityDiagnosticForNodeName=ne;function K(se){if(e.isVariableDeclaration(se)||e.isPropertyDeclaration(se)||e.isPropertySignature(se)||e.isPropertyAccessExpression(se)||e.isBindingElement(se)||e.isConstructorDeclaration(se))return ie;return e.isSetAccessor(se)||e.isGetAccessor(se)?_e:e.isConstructSignatureDeclaration(se)||e.isCallSignatureDeclaration(se)||e.isMethodDeclaration(se)||e.isMethodSignature(se)||e.isFunctionDeclaration(se)||e.isIndexSignatureDeclaration(se)?Q:e.isParameter(se)?e.isParameterPropertyDeclaration(se,se.parent)&&e.hasSyntacticModifier(se.parent,8)?ie:p:e.isTypeParameterDeclaration(se)?le:e.isExpressionWithTypeArguments(se)?de:e.isImportEqualsDeclaration(se)?te:e.isTypeAliasDeclaration(se)||e.isJSDocTypeAlias(se)?oe:e.Debug.assertNever(se,"Attempted to set a declaration diagnostic context for unhandled node kind: ".concat(e.Debug.formatSyntaxKind(se.kind)));function O(ae){if(se.kind===257||se.kind===205)return ae.errorModuleName?ae.accessibility===2?e.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Exported_variable_0_has_or_is_using_private_name_1;if(se.kind===169||se.kind===208||se.kind===168||se.kind===166&&e.hasSyntacticModifier(se.parent,8))return e.isStatic(se)?ae.errorModuleName?ae.accessibility===2?e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:se.parent.kind===260||se.kind===166?ae.errorModuleName?ae.accessibility===2?e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1:ae.errorModuleName?e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1}function ie(ae){var E=O(ae);return E!==void 0?{diagnosticMessage:E,errorNode:se,typeName:se.name}:void 0}function _e(ae){var E;return se.kind===175?e.isStatic(se)?E=ae.errorModuleName?e.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:E=ae.errorModuleName?e.Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:e.isStatic(se)?E=ae.errorModuleName?ae.accessibility===2?e.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:E=ae.errorModuleName?ae.accessibility===2?e.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1,{diagnosticMessage:E,errorNode:se.name,typeName:se.name}}function Q(ae){var E;switch(se.kind){case 177:E=ae.errorModuleName?e.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 176:E=ae.errorModuleName?e.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 178:E=ae.errorModuleName?e.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 171:case 170:e.isStatic(se)?E=ae.errorModuleName?ae.accessibility===2?e.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:se.parent.kind===260?E=ae.errorModuleName?ae.accessibility===2?e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:E=ae.errorModuleName?e.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0;break;case 259:E=ae.errorModuleName?ae.accessibility===2?e.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_exported_function_has_or_is_using_private_name_0;break;default:return e.Debug.fail("This is unknown kind for signature: "+se.kind)}return{diagnosticMessage:E,errorNode:se.name||se}}function p(ae){var E=D(ae);return E!==void 0?{diagnosticMessage:E,errorNode:se,typeName:se.name}:void 0}function D(ae){switch(se.parent.kind){case 173:return ae.errorModuleName?ae.accessibility===2?e.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1;case 177:case 182:return ae.errorModuleName?e.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;case 176:return ae.errorModuleName?e.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;case 178:return ae.errorModuleName?e.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1;case 171:case 170:return e.isStatic(se.parent)?ae.errorModuleName?ae.accessibility===2?e.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:se.parent.parent.kind===260?ae.errorModuleName?ae.accessibility===2?e.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:ae.errorModuleName?e.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;case 259:case 181:return ae.errorModuleName?ae.accessibility===2?e.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_private_name_1;case 175:case 174:return ae.errorModuleName?ae.accessibility===2?e.Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_accessor_has_or_is_using_private_name_1;default:return e.Debug.fail("Unknown parent for parameter: ".concat(e.Debug.formatSyntaxKind(se.parent.kind)))}}function le(){var ae;switch(se.parent.kind){case 260:ae=e.Diagnostics.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 261:ae=e.Diagnostics.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 197:ae=e.Diagnostics.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;break;case 182:case 177:ae=e.Diagnostics.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 176:ae=e.Diagnostics.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 171:case 170:e.isStatic(se.parent)?ae=e.Diagnostics.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:se.parent.parent.kind===260?ae=e.Diagnostics.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:ae=e.Diagnostics.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;break;case 181:case 259:ae=e.Diagnostics.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 262:ae=e.Diagnostics.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1;break;default:return e.Debug.fail("This is unknown parent for type parameter: "+se.parent.kind)}return{diagnosticMessage:ae,errorNode:se,typeName:se.name}}function de(){var ae;return e.isClassDeclaration(se.parent.parent)?ae=e.isHeritageClause(se.parent)&&se.parent.token===117?e.Diagnostics.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:se.parent.parent.name?e.Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1:e.Diagnostics.extends_clause_of_exported_class_has_or_is_using_private_name_0:ae=e.Diagnostics.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1,{diagnosticMessage:ae,errorNode:se,typeName:e.getNameOfDeclaration(se.parent.parent)}}function te(){return{diagnosticMessage:e.Diagnostics.Import_declaration_0_is_using_private_name_1,errorNode:se,typeName:se.name}}function oe(ae){return{diagnosticMessage:ae.errorModuleName?e.Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:e.Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1,errorNode:e.isJSDocTypeAlias(se)?e.Debug.checkDefined(se.typeExpression):se.type,typeName:e.isJSDocTypeAlias(se)?e.getNameOfDeclaration(se):se.name}}}e.createGetSymbolAccessibilityDiagnosticForNode=K})(fr||(fr={}));var fr;(function(e){function o(te,oe,ae){var E=te.getCompilerOptions(),I=e.transformNodes(oe,te,e.factory,E,ae?[ae]:e.filter(te.getSourceFiles(),e.isSourceFileNotJson),[O],!1);return I.diagnostics}e.getDeclarationDiagnostics=o;function ne(te,oe){var ae=oe.text.substring(te.pos,te.end);return e.stringContains(ae,"@internal")}function K(te,oe){var ae=e.getParseTreeNode(te);if(ae&&ae.kind===166){var E=ae.parent.parameters.indexOf(ae),I=E>0?ae.parent.parameters[E-1]:void 0,f=oe.text,m=I?e.concatenate(e.getTrailingCommentRanges(f,e.skipTrivia(f,I.end+1,!1,!0)),e.getLeadingCommentRanges(f,te.pos)):e.getTrailingCommentRanges(f,e.skipTrivia(f,te.pos,!1,!0));return m&&m.length&&ne(e.last(m),oe)}var y=ae&&e.getLeadingCommentRangesOfNode(ae,oe);return!!e.forEach(y,function(S){return ne(S,oe)})}e.isInternalDeclaration=K;var se=1024|2048|4096|8|524288|4|1;function O(te){var oe=function(){return e.Debug.fail("Diagnostic emitted without context")},ae=oe,E=!0,I=!1,f=!1,m=!1,y=!1,S,k,C,me,De,X,M=te.factory,H=te.getEmitHost(),V={trackSymbol:B,reportInaccessibleThisError:U,reportInaccessibleUniqueSymbolError:w,reportCyclicStructureError:z,reportPrivateInBaseOfClassExpression:u,reportLikelyUnsafeImportRequiredError:ge,reportTruncationError:pe,moduleResolverHost:H,trackReferencedAmbientModule:x,trackExternalModuleSymbolOfImportTypeNode:Z,reportNonlocalAugmentation:He,reportNonSerializableProperty:Be,reportImportTypeNodeResolutionModeOverride:Me},h,F,$,L,P,N,J=te.getEmitResolver(),q=te.getCompilerOptions(),G=q.noResolve,ye=q.stripInternal;return Ae;function b(Ie){if(!!Ie){k=k||new e.Set;for(var We=0,xr=Ie;We0?te.parameters[0].type:void 0}function D(te){switch(te.kind){case 169:case 168:return!e.hasEffectiveModifier(te,8);case 166:case 257:return!0}return!1}function le(te){switch(te.kind){case 259:case 264:case 268:case 261:case 260:case 262:case 263:case 240:case 269:case 275:case 274:return!0}return!1}function de(te){switch(te.kind){case 177:case 173:case 171:case 174:case 175:case 169:case 168:case 170:case 176:case 178:case 257:case 165:case 230:case 180:case 191:case 181:case 182:case 202:return!0}return!1}})(fr||(fr={}));var fr;(function(e){function o(oe){switch(oe){case e.ModuleKind.ESNext:case e.ModuleKind.ES2022:case e.ModuleKind.ES2020:case e.ModuleKind.ES2015:return e.transformECMAScriptModule;case e.ModuleKind.System:return e.transformSystemModule;case e.ModuleKind.Node16:case e.ModuleKind.NodeNext:return e.transformNodeModule;default:return e.transformModule}}var ne;(function(oe){oe[oe.Uninitialized=0]="Uninitialized",oe[oe.Initialized=1]="Initialized",oe[oe.Completed=2]="Completed",oe[oe.Disposed=3]="Disposed"})(ne||(ne={}));var K;(function(oe){oe[oe.Substitution=1]="Substitution",oe[oe.EmitNotifications=2]="EmitNotifications"})(K||(K={})),e.noTransformers={scriptTransformers:e.emptyArray,declarationTransformers:e.emptyArray};function se(oe,ae,E){return{scriptTransformers:O(oe,ae,E),declarationTransformers:ie(ae)}}e.getTransformers=se;function O(oe,ae,E){if(E)return e.emptyArray;var I=e.getEmitScriptTarget(oe),f=e.getEmitModuleKind(oe),m=[];return e.addRange(m,ae&&e.map(ae.before,p)),m.push(e.transformTypeScript),m.push(e.transformLegacyDecorators),m.push(e.transformClassFields),e.getJSXTransformEnabled(oe)&&m.push(e.transformJsx),I<99&&m.push(e.transformESNext),I<8&&m.push(e.transformES2021),I<7&&m.push(e.transformES2020),I<6&&m.push(e.transformES2019),I<5&&m.push(e.transformES2018),I<4&&m.push(e.transformES2017),I<3&&m.push(e.transformES2016),I<2&&(m.push(e.transformES2015),m.push(e.transformGenerators)),m.push(o(f)),I<1&&m.push(e.transformES5),e.addRange(m,ae&&e.map(ae.after,p)),m}function ie(oe){var ae=[];return ae.push(e.transformDeclarations),e.addRange(ae,oe&&e.map(oe.afterDeclarations,D)),ae}function _e(oe){return function(ae){return e.isBundle(ae)?oe.transformBundle(ae):oe.transformSourceFile(ae)}}function Q(oe,ae){return function(E){var I=oe(E);return typeof I=="function"?ae(E,I):_e(I)}}function p(oe){return Q(oe,e.chainBundle)}function D(oe){return Q(oe,function(ae,E){return E})}function le(oe,ae){return ae}e.noEmitSubstitution=le;function de(oe,ae,E){E(oe,ae)}e.noEmitNotification=de;function te(oe,ae,E,I,f,m,y){for(var S=new Array(358),k,C,me,De=0,X=[],M=[],H=[],V=[],h=0,F=!1,$=[],L=0,P,N,J=le,q=de,G=0,ye=[],b={factory:E,getCompilerOptions:function(){return I},getEmitResolver:function(){return oe},getEmitHost:function(){return ae},getEmitHelperFactory:e.memoize(function(){return e.createEmitHelperFactory(b)}),startLexicalEnvironment:Oe,suspendLexicalEnvironment:be,resumeLexicalEnvironment:Y,endLexicalEnvironment:d,setLexicalEnvironmentFlags:j,getLexicalEnvironmentFlags:Ce,hoistVariableDeclaration:Ae,hoistFunctionDeclaration:Xe,addInitializationStatement:Ne,startBlockScope:Se,endBlockScope:Re,addBlockScopedVariable:er,requestEmitHelper:wr,readEmitHelpers:mr,enableSubstitution:ge,enableEmitNotification:Be,isSubstitutionEnabled:pe,isEmitNotificationEnabled:Me,get onSubstituteNode(){return J},set onSubstituteNode(t){e.Debug.assert(G<1,"Cannot modify transformation hooks after initialization has completed."),e.Debug.assert(t!==void 0,"Value must not be 'undefined'"),J=t},get onEmitNode(){return q},set onEmitNode(t){e.Debug.assert(G<1,"Cannot modify transformation hooks after initialization has completed."),e.Debug.assert(t!==void 0,"Value must not be 'undefined'"),q=t},addDiagnostic:function(t){ye.push(t)}},x=0,T=f;x0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(G<2,"Cannot modify the lexical environment after transformation has completed.");var qr=e.setEmitFlags(E.createVariableDeclaration(t),64);k?k.push(qr):k=[qr],De&1&&(De|=2)}function Xe(t){e.Debug.assert(G>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(G<2,"Cannot modify the lexical environment after transformation has completed."),e.setEmitFlags(t,1048576),C?C.push(t):C=[t]}function Ne(t){e.Debug.assert(G>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(G<2,"Cannot modify the lexical environment after transformation has completed."),e.setEmitFlags(t,1048576),me?me.push(t):me=[t]}function Oe(){e.Debug.assert(G>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(G<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!F,"Lexical environment is suspended."),X[h]=k,M[h]=C,H[h]=me,V[h]=De,h++,k=void 0,C=void 0,me=void 0,De=0}function be(){e.Debug.assert(G>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(G<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!F,"Lexical environment is already suspended."),F=!0}function Y(){e.Debug.assert(G>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(G<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(F,"Lexical environment is not suspended."),F=!1}function d(){e.Debug.assert(G>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(G<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!F,"Lexical environment is suspended.");var t;if(k||C||me){if(C&&(t=zn([],C,!0)),k){var qr=E.createVariableStatement(void 0,E.createVariableDeclarationList(k));e.setEmitFlags(qr,1048576),t?t.push(qr):t=[qr]}me&&(t?t=zn(zn([],t,!0),me,!0):t=zn([],me,!0))}return h--,k=X[h],C=M[h],me=H[h],De=V[h],h===0&&(X=[],M=[],H=[],V=[]),t}function j(t,qr){De=qr?De|t:De&~t}function Ce(){return De}function Se(){e.Debug.assert(G>0,"Cannot start a block scope during initialization."),e.Debug.assert(G<2,"Cannot start a block scope after transformation has completed."),$[L]=P,L++,P=void 0}function Re(){e.Debug.assert(G>0,"Cannot end a block scope during initialization."),e.Debug.assert(G<2,"Cannot end a block scope after transformation has completed.");var t=e.some(P)?[E.createVariableStatement(void 0,E.createVariableDeclarationList(P.map(function(qr){return E.createVariableDeclaration(qr)}),1))]:void 0;return L--,P=$[L],L===0&&($=[]),t}function er(t){e.Debug.assert(L>0,"Cannot add a block scoped variable outside of an iteration body."),(P||(P=[])).push(t)}function wr(t){if(e.Debug.assert(G>0,"Cannot modify the transformation context during initialization."),e.Debug.assert(G<2,"Cannot modify the transformation context after transformation has completed."),e.Debug.assert(!t.scoped,"Cannot request a scoped emit helper."),t.dependencies)for(var qr=0,ln=t.dependencies;qr0,"Cannot modify the transformation context during initialization."),e.Debug.assert(G<2,"Cannot modify the transformation context after transformation has completed.");var t=N;return N=void 0,t}function Ue(){if(G<3){for(var t=0,qr=f;t"),ji(),Vr(v.type),nl(v)}function pr(v){Kt("function"),Eu(v,v.parameters),wi(":"),Vr(v.type)}function Fr(v){wi("?"),Vr(v.type)}function yi(v){wi("!"),Vr(v.type)}function Dt(v){Vr(v.type),wi("=")}function Ft(v){Pl(v),Tc(v,v.modifiers),Kt("new"),ji(),Bu(v,v.typeParameters),Eu(v,v.parameters),ji(),wi("=>"),ji(),Vr(v.type),nl(v)}function Pa(v){Kt("typeof"),ji(),Vr(v.exprName),Ru(v,v.typeArguments)}function Ve(v){wi("{");var Ze=e.getEmitFlags(v)&1?768:32897;Fo(v,v.members,Ze|524288),wi("}")}function tn(v){Vr(v.elementType,Ie.parenthesizeNonArrayTypeOfPostfixType),wi("["),wi("]")}function Nn(v){wi("..."),Vr(v.type)}function wn(v){Gr(22,v.pos,wi,v);var Ze=e.getEmitFlags(v)&1?528:657;Fo(v,v.elements,Ze|524288,Ie.parenthesizeElementTypeOfTupleType),Gr(23,v.elements.end,wi,v)}function Je(v){Vr(v.dotDotDotToken),Vr(v.name),Vr(v.questionToken),Gr(58,v.name.end,wi,v),ji(),Vr(v.type)}function ur(v){Vr(v.type,Ie.parenthesizeTypeOfOptionalType),wi("?")}function yr(v){Fo(v,v.types,516,Ie.parenthesizeConstituentTypeOfUnionType)}function Jr(v){Fo(v,v.types,520,Ie.parenthesizeConstituentTypeOfIntersectionType)}function Mn(v){Vr(v.checkType,Ie.parenthesizeCheckTypeOfConditionalType),ji(),Kt("extends"),ji(),Vr(v.extendsType,Ie.parenthesizeExtendsTypeOfConditionalType),ji(),wi("?"),ji(),Vr(v.trueType),ji(),wi(":"),ji(),Vr(v.falseType)}function _i(v){Kt("infer"),ji(),Vr(v.typeParameter)}function di(v){wi("("),Vr(v.type),wi(")")}function fi(){Kt("this")}function Nt(v){gl(v.operator,Kt),ji();var Ze=v.operator===146?Ie.parenthesizeOperandOfReadonlyTypeOperator:Ie.parenthesizeOperandOfTypeOperator;Vr(v.type,Ze)}function Gt(v){Vr(v.objectType,Ie.parenthesizeNonArrayTypeOfPostfixType),wi("["),Vr(v.indexType),wi("]")}function la(v){var Ze=e.getEmitFlags(v);wi("{"),Ze&1?ji():(Wo(),kc()),v.readonlyToken&&(Vr(v.readonlyToken),v.readonlyToken.kind!==146&&Kt("readonly"),ji()),wi("["),Ai(3,v.typeParameter),v.nameType&&(ji(),Kt("as"),ji(),Vr(v.nameType)),wi("]"),v.questionToken&&(Vr(v.questionToken),v.questionToken.kind!==57&&wi("?")),wi(":"),ji(),Vr(v.type),Fs(),Ze&1?ji():(Wo(),Vc()),Fo(v,v.members,2),wi("}")}function na(v){bn(v.literal)}function Ia(v){Vr(v.head),Fo(v,v.templateSpans,262144)}function bs(v){if(v.isTypeOf&&(Kt("typeof"),ji()),Kt("import"),wi("("),Vr(v.argument),v.assertions){wi(","),ji(),wi("{"),ji(),Kt("assert"),wi(":"),ji();var Ze=v.assertions.assertClause.elements;Fo(v.assertions.assertClause,Ze,526226),ji(),wi("}")}wi(")"),v.qualifier&&(wi("."),Vr(v.qualifier)),Ru(v,v.typeArguments)}function ds(v){wi("{"),Fo(v,v.elements,525136),wi("}")}function ps(v){wi("["),Fo(v,v.elements,524880),wi("]")}function ac(v){Vr(v.dotDotDotToken),v.propertyName&&(Vr(v.propertyName),wi(":"),ji()),Vr(v.name),of(v.initializer,v.name.end,v,Ie.parenthesizeExpressionForDisallowedComma)}function Es(v){var Ze=v.elements,_n=v.multiLine?65536:0;sf(v,Ze,8914|_n,Ie.parenthesizeExpressionForDisallowedComma)}function ns(v){e.forEach(v.properties,Ac);var Ze=e.getEmitFlags(v)&65536;Ze&&kc();var _n=v.multiLine?65536:0,Zn=Be&&Be.languageVersion>=1&&!e.isJsonSourceFile(Be)?64:0;Fo(v,v.properties,526226|Zn|_n),Ze&&Vc()}function dc(v){bn(v.expression,Ie.parenthesizeLeftSideOfAccess);var Ze=v.questionDotToken||e.setTextRangePosEnd(e.factory.createToken(24),v.expression.end,v.name.pos),_n=eu(v,v.expression,Ze),Zn=eu(v,Ze,v.name);rl(_n,!1);var $i=Ze.kind!==28&&$s(v.expression)&&!er.hasTrailingComment()&&!er.hasTrailingWhitespace();$i&&wi("."),v.questionDotToken?Vr(Ze):Gr(Ze.kind,v.expression.end,wi,v),rl(Zn,!1),Vr(v.name),Ms(_n,Zn)}function $s(v){if(v=e.skipPartiallyEmittedExpressions(v),e.isNumericLiteral(v)){var Ze=rd(v,!0,!1);return!v.numericLiteralFlags&&!e.stringContains(Ze,e.tokenToString(24))}else if(e.isAccessExpression(v)){var _n=e.getConstantValue(v);return typeof _n=="number"&&isFinite(_n)&&Math.floor(_n)===_n}}function pc(v){bn(v.expression,Ie.parenthesizeLeftSideOfAccess),Vr(v.questionDotToken),Gr(22,v.expression.end,wi,v),bn(v.argumentExpression),Gr(23,v.argumentExpression.end,wi,v)}function js(v){var Ze=e.getEmitFlags(v)&536870912;Ze&&(wi("("),Gf("0"),wi(","),ji()),bn(v.expression,Ie.parenthesizeLeftSideOfAccess),Ze&&wi(")"),Vr(v.questionDotToken),Ru(v,v.typeArguments),sf(v,v.arguments,2576,Ie.parenthesizeExpressionForDisallowedComma)}function Sc(v){Gr(103,v.pos,Kt,v),ji(),bn(v.expression,Ie.parenthesizeExpressionOfNew),Ru(v,v.typeArguments),sf(v,v.arguments,18960,Ie.parenthesizeExpressionForDisallowedComma)}function Ko(v){var Ze=e.getEmitFlags(v)&536870912;Ze&&(wi("("),Gf("0"),wi(","),ji()),bn(v.tag,Ie.parenthesizeLeftSideOfAccess),Ze&&wi(")"),Ru(v,v.typeArguments),ji(),bn(v.template)}function Mc(v){wi("<"),Vr(v.type),wi(">"),bn(v.expression,Ie.parenthesizeOperandOfPrefixUnary)}function Vs(v){var Ze=Gr(20,v.pos,wi,v),_n=Dp(v.expression,v);bn(v.expression,void 0),Us(v.expression,v),Ms(_n),Gr(21,v.expression?v.expression.end:Ze,wi,v)}function oc(v){Ls(v.name),Ns(v)}function Ss(v){Tc(v,v.modifiers),jo(v,ee)}function ee(v){Bu(v,v.typeParameters),Z_(v,v.parameters),$u(v.type),ji(),Vr(v.equalsGreaterThanToken)}function Er(v){Gr(89,v.pos,Kt,v),ji(),bn(v.expression,Ie.parenthesizeOperandOfPrefixUnary)}function un(v){Gr(112,v.pos,Kt,v),ji(),bn(v.expression,Ie.parenthesizeOperandOfPrefixUnary)}function $n(v){Gr(114,v.pos,Kt,v),ji(),bn(v.expression,Ie.parenthesizeOperandOfPrefixUnary)}function Ii(v){Gr(133,v.pos,Kt,v),ji(),bn(v.expression,Ie.parenthesizeOperandOfPrefixUnary)}function at(v){gl(v.operator,Hs),Ji(v)&&ji(),bn(v.operand,Ie.parenthesizeOperandOfPrefixUnary)}function Ji(v){var Ze=v.operand;return Ze.kind===221&&(v.operator===39&&(Ze.operator===39||Ze.operator===45)||v.operator===40&&(Ze.operator===40||Ze.operator===46))}function _t(v){bn(v.operand,Ie.parenthesizeOperandOfPostfixUnary),gl(v.operator,Hs)}function Ht(){return e.createBinaryExpressionTrampoline(v,Ze,_n,Zn,$i,void 0);function v(Mt,wt){if(wt){wt.stackIndex++,wt.preserveSourceNewlinesStack[wt.stackIndex]=Se,wt.containerPosStack[wt.stackIndex]=ve,wt.containerEndStack[wt.stackIndex]=or,wt.declarationListContainerEndStack[wt.stackIndex]=Ee;var Wa=wt.shouldEmitCommentsStack[wt.stackIndex]=ti(Mt),Lo=wt.shouldEmitSourceMapsStack[wt.stackIndex]=Hi(Mt);Z==null||Z(Mt),Wa&&Af(Mt),Lo&&Ju(Mt),yn(Mt)}else wt={stackIndex:0,preserveSourceNewlinesStack:[void 0],containerPosStack:[-1],containerEndStack:[-1],declarationListContainerEndStack:[-1],shouldEmitCommentsStack:[!1],shouldEmitSourceMapsStack:[!1]};return wt}function Ze(Mt,wt,Wa){return kt(Mt,Wa,"left")}function _n(Mt,wt,Wa){var Lo=Mt.kind!==27,Na=eu(Wa,Wa.left,Mt),Pc=eu(Wa,Mt,Wa.right);rl(Na,Lo),Au(Mt.pos),ts(Mt,Mt.kind===101?Kt:Hs),tl(Mt.end,!0),rl(Pc,!0)}function Zn(Mt,wt,Wa){return kt(Mt,Wa,"right")}function $i(Mt,wt){var Wa=eu(Mt,Mt.left,Mt.operatorToken),Lo=eu(Mt,Mt.operatorToken,Mt.right);if(Ms(Wa,Lo),wt.stackIndex>0){var Na=wt.preserveSourceNewlinesStack[wt.stackIndex],Pc=wt.containerPosStack[wt.stackIndex],Ba=wt.containerEndStack[wt.stackIndex],ca=wt.declarationListContainerEndStack[wt.stackIndex],Bc=wt.shouldEmitCommentsStack[wt.stackIndex],mu=wt.shouldEmitSourceMapsStack[wt.stackIndex];Hn(Na),mu&&od(Mt),Bc&&uu(Mt,Pc,Ba,ca),B==null||B(Mt),wt.stackIndex--}}function kt(Mt,wt,Wa){var Lo=Wa==="left"?Ie.getParenthesizeLeftSideOfBinaryForOperator(wt.operatorToken.kind):Ie.getParenthesizeRightSideOfBinaryForOperator(wt.operatorToken.kind),Na=Ni(0,1,Mt);if(Na===hn&&(e.Debug.assertIsDefined(Mr),Mt=Lo(e.cast(Mr,e.isExpression)),Na=gi(1,1,Mt),Mr=void 0),(Na===Gc||Na===al||Na===Pe)&&e.isBinaryExpression(Mt))return Mt;Rr=Lo,Na(1,Mt)}}function Rt(v){var Ze=eu(v,v.condition,v.questionToken),_n=eu(v,v.questionToken,v.whenTrue),Zn=eu(v,v.whenTrue,v.colonToken),$i=eu(v,v.colonToken,v.whenFalse);bn(v.condition,Ie.parenthesizeConditionOfConditionalExpression),rl(Ze,!0),Vr(v.questionToken),rl(_n,!0),bn(v.whenTrue,Ie.parenthesizeBranchOfConditionalExpression),Ms(Ze,_n),rl(Zn,!0),Vr(v.colonToken),rl($i,!0),bn(v.whenFalse,Ie.parenthesizeBranchOfConditionalExpression),Ms(Zn,$i)}function va(v){Vr(v.head),Fo(v,v.templateSpans,262144)}function qe(v){Gr(125,v.pos,Kt,v),Vr(v.asteriskToken),Tu(v.expression&&hi(v.expression),Ei)}function Tn(v){Gr(25,v.pos,wi,v),bn(v.expression,Ie.parenthesizeExpressionForDisallowedComma)}function Nr(v){Ls(v.name),Si(v)}function ga(v){bn(v.expression,Ie.parenthesizeLeftSideOfAccess),Ru(v,v.typeArguments)}function xa(v){bn(v.expression,void 0),v.type&&(ji(),Kt("as"),ji(),Vr(v.type))}function co(v){bn(v.expression,Ie.parenthesizeLeftSideOfAccess),Hs("!")}function gs(v){bn(v.expression,void 0),v.type&&(ji(),Kt("satisfies"),ji(),Vr(v.type))}function gc(v){ed(v.keywordToken,v.pos,wi),wi("."),Vr(v.name)}function ws(v){bn(v.expression),Vr(v.literal)}function Lc(v){qs(v,!v.multiLine&&Ld(v))}function qs(v,Ze){Gr(18,v.pos,wi,v);var _n=Ze||e.getEmitFlags(v)&1?768:129;Fo(v,v.statements,_n),Gr(19,v.statements.end,wi,v,!!(_n&1))}function ec(v){Tc(v,v.modifiers),Vr(v.declarationList),Fs()}function Rc(v){v?wi(";"):Fs()}function _o(v){bn(v.expression,Ie.parenthesizeExpressionOfExpressionStatement),(!Be||!e.isJsonSourceFile(Be)||e.nodeIsSynthesized(v.expression))&&Fs()}function Gs(v){var Ze=Gr(99,v.pos,Kt,v);ji(),Gr(20,Ze,wi,v),bn(v.expression),Gr(21,v.expression.end,wi,v),el(v,v.thenStatement),v.elseStatement&&(Ef(v,v.thenStatement,v.elseStatement),Gr(91,v.thenStatement.end,Kt,v),v.elseStatement.kind===242?(ji(),Vr(v.elseStatement)):el(v,v.elseStatement))}function mc(v,Ze){var _n=Gr(115,Ze,Kt,v);ji(),Gr(20,_n,wi,v),bn(v.expression),Gr(21,v.expression.end,wi,v)}function xl(v){Gr(90,v.pos,Kt,v),el(v,v.statement),e.isBlock(v.statement)&&!Se?ji():Ef(v,v.statement,v.expression),mc(v,v.statement.end),Fs()}function $c(v){mc(v,v.pos),el(v,v.statement)}function Qu(v){var Ze=Gr(97,v.pos,Kt,v);ji();var _n=Gr(20,Ze,wi,v);zc(v.initializer),_n=Gr(26,v.initializer?v.initializer.end:_n,wi,v),Tu(v.condition),_n=Gr(26,v.condition?v.condition.end:_n,wi,v),Tu(v.incrementor),Gr(21,v.incrementor?v.incrementor.end:_n,wi,v),el(v,v.statement)}function Df(v){var Ze=Gr(97,v.pos,Kt,v);ji(),Gr(20,Ze,wi,v),zc(v.initializer),ji(),Gr(101,v.initializer.end,Kt,v),ji(),bn(v.expression),Gr(21,v.expression.end,wi,v),el(v,v.statement)}function Xu(v){var Ze=Gr(97,v.pos,Kt,v);ji(),Cf(v.awaitModifier),Gr(20,Ze,wi,v),zc(v.initializer),ji(),Gr(162,v.initializer.end,Kt,v),ji(),bn(v.expression),Gr(21,v.expression.end,wi,v),el(v,v.statement)}function zc(v){v!==void 0&&(v.kind===258?Vr(v):bn(v))}function Zu(v){Gr(86,v.pos,Kt,v),x_(v.label),Fs()}function Hr(v){Gr(81,v.pos,Kt,v),x_(v.label),Fs()}function Gr(v,Ze,_n,Zn,$i){var kt=e.getParseTreeNode(Zn),Mt=kt&&kt.kind===Zn.kind,wt=Ze;if(Mt&&Be&&(Ze=e.skipTrivia(Be.text,Ze)),Mt&&Zn.pos!==wt){var Wa=$i&&Be&&!e.positionsAreOnSameLine(wt,Ze,Be);Wa&&kc(),Au(wt),Wa&&Vc()}if(Ze=gl(v,_n,Ze),Mt&&Zn.end!==Ze){var Lo=Zn.kind===291;tl(Ze,!Lo,Lo)}return Ze}function Bn(v){return v.kind===2||!!v.hasTrailingNewLine}function ui(v){return Be?e.some(e.getLeadingCommentRanges(Be.text,v.pos),Bn)||e.some(e.getSyntheticLeadingComments(v),Bn)?!0:e.isPartiallyEmittedExpression(v)?v.pos!==v.expression.pos&&e.some(e.getTrailingCommentRanges(Be.text,v.expression.pos),Bn)?!0:ui(v.expression):!1:!1}function hi(v){if(!cr&&e.isPartiallyEmittedExpression(v)&&ui(v)){var Ze=e.getParseTreeNode(v);if(Ze&&e.isParenthesizedExpression(Ze)){var _n=e.factory.createParenthesizedExpression(v.expression);return e.setOriginalNode(_n,v),e.setTextRange(_n,Ze),_n}return e.factory.createParenthesizedExpression(v)}return v}function Ei(v){return hi(Ie.parenthesizeExpressionForDisallowedComma(v))}function st(v){Gr(105,v.pos,Kt,v),Tu(v.expression&&hi(v.expression),hi),Fs()}function Bi(v){var Ze=Gr(116,v.pos,Kt,v);ji(),Gr(20,Ze,wi,v),bn(v.expression),Gr(21,v.expression.end,wi,v),el(v,v.statement)}function Jt(v){var Ze=Gr(107,v.pos,Kt,v);ji(),Gr(20,Ze,wi,v),bn(v.expression),Gr(21,v.expression.end,wi,v),ji(),Vr(v.caseBlock)}function Ca(v){Vr(v.label),Gr(58,v.label.end,wi,v),ji(),Vr(v.statement)}function Yt(v){Gr(109,v.pos,Kt,v),Tu(hi(v.expression),hi),Fs()}function Wt(v){Gr(111,v.pos,Kt,v),ji(),Vr(v.tryBlock),v.catchClause&&(Ef(v,v.tryBlock,v.catchClause),Vr(v.catchClause)),v.finallyBlock&&(Ef(v,v.catchClause||v.tryBlock,v.finallyBlock),Gr(96,(v.catchClause||v.tryBlock).end,Kt,v),ji(),Vr(v.finallyBlock))}function Ga(v){ed(87,v.pos,Kt),Fs()}function $t(v){var Ze,_n,Zn,$i,kt;Vr(v.name),Vr(v.exclamationToken),$u(v.type),of(v.initializer,(kt=(_n=(Ze=v.type)===null||Ze===void 0?void 0:Ze.end)!==null&&_n!==void 0?_n:($i=(Zn=v.name.emitNode)===null||Zn===void 0?void 0:Zn.typeNode)===null||$i===void 0?void 0:$i.end)!==null&&kt!==void 0?kt:v.name.end,v,Ie.parenthesizeExpressionForDisallowedComma)}function po(v){Kt(e.isLet(v)?"let":e.isVarConst(v)?"const":"var"),ji(),Fo(v,v.declarations,528)}function Do(v){Ns(v)}function Ns(v){Tc(v,v.modifiers),Kt("function"),Vr(v.asteriskToken),ji(),Wn(v.name),jo(v,ys)}function jo(v,Ze){var _n=v.body;if(_n)if(e.isBlock(_n)){var Zn=e.getEmitFlags(v)&65536;Zn&&kc(),Pl(v),e.forEach(v.parameters,ks),ks(v.body),Ze(v),fe(_n),nl(v),Zn&&Vc()}else Ze(v),ji(),bn(_n,Ie.parenthesizeConciseBodyOfArrowFunction);else Ze(v),Fs()}function ys(v){Bu(v,v.typeParameters),Eu(v,v.parameters),$u(v.type)}function Vo(v){if(e.getEmitFlags(v)&1)return!0;if(v.multiLine||!e.nodeIsSynthesized(v)&&Be&&!e.rangeIsOnSingleLine(v,Be)||ml(v,e.firstOrUndefined(v.statements),2)||Kf(v,e.lastOrUndefined(v.statements),2,v.statements))return!1;for(var Ze,_n=0,Zn=v.statements;_n0)return!1;Ze=$i}return!0}function fe(v){Z==null||Z(v),ji(),wi("{"),kc();var Ze=Vo(v)?sr:Tr;Rd(v,v.statements,Ze),Vc(),ed(19,v.statements.end,wi,v),B==null||B(v)}function sr(v){Tr(v,!0)}function Tr(v,Ze){var _n=b_(v.statements),Zn=er.getTextPos();gn(v),_n===0&&Zn===er.getTextPos()&&Ze?(Vc(),Fo(v,v.statements,768),kc()):Fo(v,v.statements,1,void 0,_n)}function Fn(v){Si(v)}function Si(v){e.forEach(v.members,Ac),af(v,v.modifiers),Kt("class"),v.name&&(ji(),Wn(v.name));var Ze=e.getEmitFlags(v)&65536;Ze&&kc(),Bu(v,v.typeParameters),Fo(v,v.heritageClauses,0),ji(),wi("{"),Fo(v,v.members,129),wi("}"),Ze&&Vc()}function gt(v){Tc(v,v.modifiers),Kt("interface"),ji(),Vr(v.name),Bu(v,v.typeParameters),Fo(v,v.heritageClauses,512),ji(),wi("{"),Fo(v,v.members,129),wi("}")}function jt(v){Tc(v,v.modifiers),Kt("type"),ji(),Vr(v.name),Bu(v,v.typeParameters),ji(),wi("="),ji(),Vr(v.type),Fs()}function fa(v){Tc(v,v.modifiers),Kt("enum"),ji(),Vr(v.name),ji(),wi("{"),Fo(v,v.members,145),wi("}")}function Ka(v){Tc(v,v.modifiers),~v.flags&1024&&(Kt(v.flags&16?"namespace":"module"),ji()),Vr(v.name);var Ze=v.body;if(!Ze)return Fs();for(;Ze&&e.isModuleDeclaration(Ze);)wi("."),Vr(Ze.name),Ze=Ze.body;ji(),Vr(Ze)}function no(v){Pl(v),e.forEach(v.statements,ks),qs(v,Ld(v)),nl(v)}function Eo(v){Gr(18,v.pos,wi,v),Fo(v,v.clauses,129),Gr(19,v.clauses.end,wi,v,!0)}function Fa(v){Tc(v,v.modifiers),Gr(100,v.modifiers?v.modifiers.end:v.pos,Kt,v),ji(),v.isTypeOnly&&(Gr(154,v.pos,Kt,v),ji()),Vr(v.name),ji(),Gr(63,v.name.end,wi,v),ji(),Qa(v.moduleReference),Fs()}function Qa(v){v.kind===79?bn(v):Vr(v)}function zo(v){Tc(v,v.modifiers),Gr(100,v.modifiers?v.modifiers.end:v.pos,Kt,v),ji(),v.importClause&&(Vr(v.importClause),ji(),Gr(158,v.importClause.end,Kt,v),ji()),bn(v.moduleSpecifier),v.assertClause&&x_(v.assertClause),Fs()}function Uo(v){v.isTypeOnly&&(Gr(154,v.pos,Kt,v),ji()),Vr(v.name),v.name&&v.namedBindings&&(Gr(27,v.name.end,wi,v),ji()),Vr(v.namedBindings)}function ms(v){var Ze=Gr(41,v.pos,wi,v);ji(),Gr(128,Ze,Kt,v),ji(),Vr(v.name)}function xc(v){Wf(v)}function Os(v){ef(v)}function Cl(v){var Ze=Gr(93,v.pos,Kt,v);ji(),v.isExportEquals?Gr(63,Ze,Hs,v):Gr(88,Ze,Kt,v),ji(),bn(v.expression,v.isExportEquals?Ie.getParenthesizeRightSideOfBinaryForOperator(63):Ie.parenthesizeExpressionOfExportDefault),Fs()}function m_(v){Tc(v,v.modifiers);var Ze=Gr(93,v.pos,Kt,v);if(ji(),v.isTypeOnly&&(Ze=Gr(154,Ze,Kt,v),ji()),v.exportClause?Vr(v.exportClause):Ze=Gr(41,Ze,wi,v),v.moduleSpecifier){ji();var _n=v.exportClause?v.exportClause.end:Ze;Gr(158,_n,Kt,v),ji(),bn(v.moduleSpecifier)}v.assertClause&&x_(v.assertClause),Fs()}function pl(v){Gr(130,v.pos,Kt,v),ji();var Ze=v.elements;Fo(v,Ze,526226)}function Zl(v){Vr(v.name),wi(":"),ji();var Ze=v.value;if((e.getEmitFlags(Ze)&512)==0){var _n=e.getCommentRange(Ze);tl(_n.pos)}Vr(Ze)}function Zr(v){var Ze=Gr(93,v.pos,Kt,v);ji(),Ze=Gr(128,Ze,Kt,v),ji(),Ze=Gr(143,Ze,Kt,v),ji(),Vr(v.name),Fs()}function Yl(v){var Ze=Gr(41,v.pos,wi,v);ji(),Gr(128,Ze,Kt,v),ji(),Vr(v.name)}function xu(v){Wf(v)}function $l(v){ef(v)}function Wf(v){wi("{"),Fo(v,v.elements,525136),wi("}")}function ef(v){v.isTypeOnly&&(Kt("type"),ji()),v.propertyName&&(Vr(v.propertyName),ji(),Gr(128,v.propertyName.end,Kt,v),ji()),Vr(v.name)}function Tl(v){Kt("require"),wi("("),bn(v.expression),wi(")")}function Ad(v){Vr(v.openingElement),Fo(v,v.children,262144),Vr(v.closingElement)}function go(v){wi("<"),At(v.tagName),Ru(v,v.typeArguments),ji(),Vr(v.attributes),wi("/>")}function U_(v){Vr(v.openingFragment),Fo(v,v.children,262144),Vr(v.closingFragment)}function bf(v){if(wi("<"),e.isJsxOpeningElement(v)){var Ze=Dp(v.tagName,v);At(v.tagName),Ru(v,v.typeArguments),v.attributes.properties&&v.attributes.properties.length>0&&ji(),Vr(v.attributes),Us(v.attributes,v),Ms(Ze)}wi(">")}function z_(v){er.writeLiteral(v.text)}function Vf(v){wi("")}function W_(v){Fo(v,v.properties,262656)}function v_(v){Vr(v.name),X_("=",wi,v.initializer,qn)}function rf(v){wi("{..."),bn(v.expression),wi("}")}function ou(v){var Ze=!1;return e.forEachTrailingCommentRange((Be==null?void 0:Be.text)||"",v+1,function(){return Ze=!0}),Ze}function V_(v){var Ze=!1;return e.forEachLeadingCommentRange((Be==null?void 0:Be.text)||"",v+1,function(){return Ze=!0}),Ze}function y_(v){return ou(v)||V_(v)}function Qt(v){var Ze;if(v.expression||!cr&&!e.nodeIsSynthesized(v)&&y_(v.pos)){var _n=Be&&!e.nodeIsSynthesized(v)&&e.getLineAndCharacterOfPosition(Be,v.pos).line!==e.getLineAndCharacterOfPosition(Be,v.end).line;_n&&er.increaseIndent();var Zn=Gr(18,v.pos,wi,v);Vr(v.dotDotDotToken),bn(v.expression),Gr(19,((Ze=v.expression)===null||Ze===void 0?void 0:Ze.end)||Zn,wi,v),_n&&er.decreaseIndent()}}function At(v){v.kind===79?bn(v):Vr(v)}function Cu(v){Gr(82,v.pos,Kt,v),ji(),bn(v.expression,Ie.parenthesizeExpressionForDisallowedComma),q_(v,v.statements,v.expression.end)}function Wc(v){var Ze=Gr(88,v.pos,Kt,v);q_(v,v.statements,Ze)}function q_(v,Ze,_n){var Zn=Ze.length===1&&(!Be||e.nodeIsSynthesized(v)||e.nodeIsSynthesized(Ze[0])||e.rangeStartPositionsAreOnSameLine(v,Ze[0],Be)),$i=163969;Zn?(ed(58,_n,wi,v),ji(),$i&=~(1|128)):Gr(58,_n,wi,v),Fo(v,Ze,$i)}function Sf(v){ji(),gl(v.token,Kt),ji(),Fo(v,v.types,528)}function Wp(v){var Ze=Gr(83,v.pos,Kt,v);ji(),v.variableDeclaration&&(Gr(20,Ze,wi,v),Vr(v.variableDeclaration),Gr(21,v.variableDeclaration.end,wi,v),ji()),Vr(v.block)}function Nd(v){Vr(v.name),wi(":"),ji();var Ze=v.initializer;if((e.getEmitFlags(Ze)&512)==0){var _n=e.getCommentRange(Ze);tl(_n.pos)}bn(Ze,Ie.parenthesizeExpressionForDisallowedComma)}function is(v){Vr(v.name),v.objectAssignmentInitializer&&(ji(),wi("="),ji(),bn(v.objectAssignmentInitializer,Ie.parenthesizeExpressionForDisallowedComma))}function dp(v){v.expression&&(Gr(25,v.pos,wi,v),bn(v.expression,Ie.parenthesizeExpressionForDisallowedComma))}function xs(v){Vr(v.name),of(v.initializer,v.name.end,v,Ie.parenthesizeExpressionForDisallowedComma)}function Yu(v){if(mr("/**"),v.comment){var Ze=e.getTextOfJSDocComment(v.comment);if(Ze)for(var _n=Ze.split(/\r\n?|\n/g),Zn=0,$i=_n;Zn<$i.length;Zn++){var kt=$i[Zn];Wo(),ji(),wi("*"),ji(),mr(kt)}}v.tags&&(v.tags.length===1&&v.tags[0].kind===346&&!v.comment?(ji(),Vr(v.tags[0])):Fo(v,v.tags,33)),ji(),mr("*/")}function pp(v){kl(v.tagName),h_(v.typeExpression),Al(v.comment)}function vc(v){kl(v.tagName),Vr(v.name),Al(v.comment)}function gp(v){ji(),wi("{"),Vr(v.name),wi("}")}function sc(v){kl(v.tagName),ji(),wi("{"),Vr(v.class),wi("}"),Al(v.comment)}function El(v){kl(v.tagName),h_(v.constraint),ji(),Fo(v,v.typeParameters,528),Al(v.comment)}function Cc(v){kl(v.tagName),v.typeExpression&&(v.typeExpression.kind===312?h_(v.typeExpression):(ji(),wi("{"),mr("Object"),v.typeExpression.isArrayType&&(wi("["),wi("]")),wi("}"))),v.fullName&&(ji(),Vr(v.fullName)),Al(v.comment),v.typeExpression&&v.typeExpression.kind===325&&G_(v.typeExpression)}function mp(v){kl(v.tagName),v.name&&(ji(),Vr(v.name)),Al(v.comment),H_(v.typeExpression)}function Pd(v){kl(v.tagName),Al(v.comment)}function G_(v){Fo(v,e.factory.createNodeArray(v.jsDocPropertyTags),33)}function H_(v){v.typeParameters&&Fo(v,e.factory.createNodeArray(v.typeParameters),33),v.parameters&&Fo(v,e.factory.createNodeArray(v.parameters),33),v.type&&(Wo(),ji(),wi("*"),ji(),Vr(v.type))}function vp(v){kl(v.tagName),h_(v.typeExpression),ji(),v.isBracketed&&wi("["),Vr(v.name),v.isBracketed&&wi("]"),Al(v.comment)}function kl(v){wi("@"),Vr(v)}function Al(v){var Ze=e.getTextOfJSDocComment(v);Ze&&(ji(),mr(Ze))}function h_(v){v&&(ji(),wi("{"),Vr(v.type),wi("}"))}function Id(v){Wo();var Ze=v.statements,_n=Ze.length===0||!e.isPrologueDirective(Ze[0])||e.nodeIsSynthesized(Ze[0]);if(_n){Rd(v,Ze,Mu);return}Mu(v)}function yp(v){D_(!!v.hasNoDefaultLib,v.syntheticFileReferences||[],v.syntheticTypeReferences||[],v.syntheticLibReferences||[]);for(var Ze=0,_n=v.prepends;Ze<_n.length;Ze++){var Zn=_n[Ze];if(e.isUnparsedSource(Zn)&&Zn.syntheticReferences)for(var $i=0,kt=Zn.syntheticReferences;$i'),t&&t.sections.push({pos:$i,end:er.getTextPos(),kind:"no-default-lib"}),Wo()}if(Be&&Be.moduleName&&(Ec('/// ')),Wo()),Be&&Be.amdDependencies)for(var kt=0,Mt=Be.amdDependencies;kt')):Ec('/// ')),Wo()}for(var Wa=0,Lo=Ze;Wa')),t&&t.sections.push({pos:$i,end:er.getTextPos(),kind:"reference",data:Na.fileName}),Wo()}for(var Pc=0,Ba=_n;Pc")),t&&t.sections.push({pos:$i,end:er.getTextPos(),kind:Na.resolutionMode?Na.resolutionMode===e.ModuleKind.ESNext?"type-import":"type-require":"type",data:Na.fileName}),Wo()}for(var Bc=0,mu=Zn;Bc')),t&&t.sections.push({pos:$i,end:er.getTextPos(),kind:"lib",data:Na.fileName}),Wo()}}function Mu(v){var Ze=v.statements;Pl(v),e.forEach(v.statements,ks),gn(v);var _n=e.findIndex(Ze,function(Zn){return!e.isPrologueDirective(Zn)});wd(v),Fo(v,Ze,1,void 0,_n===-1?Ze.length:_n),nl(v)}function nf(v){var Ze=e.getEmitFlags(v);!(Ze&512)&&v.pos!==v.expression.pos&&tl(v.expression.pos),bn(v.expression),!(Ze&1024)&&v.end!==v.expression.end&&Au(v.expression.end)}function K_(v){sf(v,v.elements,528,void 0)}function b_(v,Ze,_n,Zn){for(var $i=!!Ze,kt=0;kt=_n.length||Mt===0;if(Wa&&Zn&32768){u==null||u(_n),A==null||A(_n);return}Zn&15360&&(wi(H(Zn)),Wa&&_n&&tl(_n.pos,!0)),u==null||u(_n),Wa?Zn&1&&!(Se&&(!Ze||Be&&e.rangeIsOnSingleLine(Ze,Be)))?Wo():Zn&256&&!(Zn&524288)&&ji():C_(v,Ze,_n,Zn,$i,kt,Mt,_n.hasTrailingComma,_n),A==null||A(_n),Zn&15360&&(Wa&&_n&&Au(_n.end),wi(V(Zn)))}}function C_(v,Ze,_n,Zn,$i,kt,Mt,wt,Wa){var Lo=(Zn&262144)==0,Na=Lo,Pc=ml(Ze,_n[kt],Zn);Pc?(Wo(Pc),Na=!1):Zn&256&&ji(),Zn&128&&kc();for(var Ba=P(v,$i),ca,Bc,mu=!1,If=0;If0?((Zn&(3|128))==0&&(kc(),mu=!0),Wo(P_),Na=!1):ca&&Zn&512&&ji()}if(Bc=je(Nu),Na){var Jd=e.getCommentRange(Nu);tl(Jd.pos)}else Na=Lo;Re=Nu.pos,Ba(Nu,v,$i,If),mu&&(Vc(),mu=!1),ca=Nu}var jd=ca?e.getEmitFlags(ca):0,Ll=cr||!!(jd&1024),sd=wt&&Zn&64&&Zn&16;sd&&(ca&&!Ll?Gr(27,ca.end,wi,ca):wi(",")),ca&&(Ze?Ze.end:-1)!==ca.end&&Zn&60&&!Ll&&Au(sd&&(Wa==null?void 0:Wa.end)?Wa.end:ca.end),Zn&128&&Vc(),Sr(Bc);var Ep=Kf(Ze,_n[kt+Mt-1],Zn,Wa);Ep?Wo(Ep):Zn&(2097152|256)&&ji()}function Gf(v){er.writeLiteral(v)}function Tf(v){er.writeStringLiteral(v)}function Md(v){er.write(v)}function ss(v,Ze){er.writeSymbol(v,Ze)}function wi(v){er.writePunctuation(v)}function Fs(){er.writeTrailingSemicolon(";")}function Kt(v){er.writeKeyword(v)}function Hs(v){er.writeOperator(v)}function $_(v){er.writeParameter(v)}function Ec(v){er.writeComment(v)}function ji(){er.writeSpace(" ")}function su(v){er.writeProperty(v)}function cu(v){er.nonEscapingWrite?er.nonEscapingWrite(v):er.write(v)}function Wo(v){v===void 0&&(v=1);for(var Ze=0;Ze0)}function kc(){er.increaseIndent()}function Vc(){er.decreaseIndent()}function ed(v,Ze,_n,Zn){return kr?gl(v,_n,Ze):e_(Zn,v,_n,Ze,gl)}function ts(v,Ze){w&&w(v),Ze(e.tokenToString(v.kind)),z&&z(v)}function gl(v,Ze,_n){var Zn=e.tokenToString(v);return Ze(Zn),_n<0?_n:_n+Zn.length}function Ef(v,Ze,_n){if(e.getEmitFlags(v)&1)ji();else if(Se){var Zn=eu(v,Ze,_n);Zn?Wo(Zn):ji()}else Wo()}function T_(v){for(var Ze=v.split(/\r\n?|\n/g),_n=e.guessIndentation(Ze),Zn=0,$i=Ze;Zn<$i.length;Zn++){var kt=$i[Zn],Mt=_n?kt.slice(_n):kt;Mt.length&&(Wo(),mr(Mt))}}function rl(v,Ze){v?(kc(),Wo(v)):Ze&&ji()}function Ms(v,Ze){v&&Vc(),Ze&&Vc()}function ml(v,Ze,_n){if(_n&2||Se){if(_n&65536)return 1;if(Ze===void 0)return!v||Be&&e.rangeIsOnSingleLine(v,Be)?0:1;if(Ze.pos===Re||Ze.kind===11)return 0;if(Be&&v&&!e.positionIsSynthesized(v.pos)&&!e.nodeIsSynthesized(Ze)&&(!Ze.parent||e.getOriginalNode(Ze.parent)===e.getOriginalNode(v)))return Se?Nl(function(Zn){return e.getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter(Ze.pos,v.pos,Be,Zn)}):e.rangeStartPositionsAreOnSameLine(v,Ze,Be)?0:1;if(cf(Ze,_n))return 1}return _n&1?1:0}function Hf(v,Ze,_n){if(_n&2||Se){if(v===void 0||Ze===void 0||Ze.kind===11)return 0;if(Be&&!e.nodeIsSynthesized(v)&&!e.nodeIsSynthesized(Ze))return Se&&lu(v,Ze)?Nl(function(Zn){return e.getLinesBetweenRangeEndAndRangeStart(v,Ze,Be,Zn)}):!Se&&Yf(v,Ze)?e.rangeEndIsOnSameLineAsRangeStart(v,Ze,Be)?0:1:_n&65536?1:0;if(cf(v,_n)||cf(Ze,_n))return 1}else if(e.getStartsOnNewLine(Ze))return 1;return _n&1?1:0}function Kf(v,Ze,_n,Zn){if(_n&2||Se){if(_n&65536)return 1;if(Ze===void 0)return!v||Be&&e.rangeIsOnSingleLine(v,Be)?0:1;if(Be&&v&&!e.positionIsSynthesized(v.pos)&&!e.nodeIsSynthesized(Ze)&&(!Ze.parent||Ze.parent===v)){if(Se){var $i=Zn&&!e.positionIsSynthesized(Zn.end)?Zn.end:Ze.end;return Nl(function(kt){return e.getLinesBetweenPositionAndNextNonWhitespaceCharacter($i,v.end,Be,kt)})}return e.rangeEndPositionsAreOnSameLine(v,Ze,Be)?0:1}if(cf(Ze,_n))return 1}return _n&1&&!(_n&131072)?1:0}function Nl(v){e.Debug.assert(!!Se);var Ze=v(!0);return Ze===0?v(!1):Ze}function Dp(v,Ze){var _n=Se&&ml(Ze,v,0);return _n&&rl(_n,!1),!!_n}function Us(v,Ze){var _n=Se&&Kf(Ze,v,0,void 0);_n&&Wo(_n)}function cf(v,Ze){if(e.nodeIsSynthesized(v)){var _n=e.getStartsOnNewLine(v);return _n===void 0?(Ze&65536)!=0:_n}return(Ze&65536)!=0}function eu(v,Ze,_n){return e.getEmitFlags(v)&131072?0:(v=uf(v),Ze=uf(Ze),_n=uf(_n),e.getStartsOnNewLine(_n)?1:Be&&!e.nodeIsSynthesized(v)&&!e.nodeIsSynthesized(Ze)&&!e.nodeIsSynthesized(_n)?Se?Nl(function(Zn){return e.getLinesBetweenRangeEndAndRangeStart(Ze,_n,Be,Zn)}):e.rangeEndIsOnSameLineAsRangeStart(Ze,_n,Be)?0:1:0)}function Ld(v){return v.statements.length===0&&(!Be||e.rangeEndIsOnSameLineAsRangeStart(v,v,Be))}function uf(v){for(;v.kind===214&&e.nodeIsSynthesized(v);)v=v.expression;return v}function lf(v,Ze){if(e.isGeneratedIdentifier(v)||e.isGeneratedPrivateIdentifier(v))return ff(v);if(e.isStringLiteral(v)&&v.textSourceNode)return lf(v.textSourceNode,Ze);var _n=Be,Zn=!!_n&&!!v.parent&&!e.nodeIsSynthesized(v);if(e.isMemberName(v)){if(!Zn||e.getSourceFileOfNode(v)!==e.getOriginalNode(_n))return e.idText(v)}else if(e.Debug.assertNode(v,e.isLiteralExpression),!Zn)return v.text;return e.getSourceTextOfNodeFromSourceFile(_n,v,Ze)}function rd(v,Ze,_n){if(v.kind===10&&v.textSourceNode){var Zn=v.textSourceNode;if(e.isIdentifier(Zn)||e.isPrivateIdentifier(Zn)||e.isNumericLiteral(Zn)){var $i=e.isNumericLiteral(Zn)?Zn.text:lf(Zn);return _n?'"'.concat(e.escapeJsxAttributeString($i),'"'):Ze||e.getEmitFlags(v)&16777216?'"'.concat(e.escapeString($i),'"'):'"'.concat(e.escapeNonAsciiString($i),'"')}else return rd(Zn,Ze,_n)}var kt=(Ze?1:0)|(_n?2:0)|(N.terminateUnterminatedLiterals?4:0)|(N.target&&N.target===99?8:0);return e.getLiteralText(v,Be,kt)}function Pl(v){v&&e.getEmitFlags(v)&524288||(Y.push(d),d=0,Oe.push(be),be=0,Xe.push(Ne),Ne=void 0,j.push(Ce))}function nl(v){v&&e.getEmitFlags(v)&524288||(d=Y.pop(),be=Oe.pop(),Ne=Xe.pop(),Ce=j.pop())}function nd(v){(!Ce||Ce===e.lastOrUndefined(j))&&(Ce=new e.Set),Ce.add(v)}function ks(v){if(!!v)switch(v.kind){case 238:e.forEach(v.statements,ks);break;case 253:case 251:case 243:case 244:ks(v.statement);break;case 242:ks(v.thenStatement),ks(v.elseStatement);break;case 245:case 247:case 246:ks(v.initializer),ks(v.statement);break;case 252:ks(v.caseBlock);break;case 266:e.forEach(v.clauses,ks);break;case 292:case 293:e.forEach(v.statements,ks);break;case 255:ks(v.tryBlock),ks(v.catchClause),ks(v.finallyBlock);break;case 295:ks(v.variableDeclaration),ks(v.block);break;case 240:ks(v.declarationList);break;case 258:e.forEach(v.declarations,ks);break;case 257:case 166:case 205:case 260:Ls(v.name);break;case 259:Ls(v.name),e.getEmitFlags(v)&524288&&(e.forEach(v.parameters,ks),ks(v.body));break;case 203:case 204:e.forEach(v.elements,ks);break;case 269:ks(v.importClause);break;case 270:Ls(v.name),ks(v.namedBindings);break;case 271:Ls(v.name);break;case 277:Ls(v.name);break;case 272:e.forEach(v.elements,ks);break;case 273:Ls(v.propertyName||v.name);break}}function Ac(v){if(!!v)switch(v.kind){case 299:case 300:case 169:case 171:case 174:case 175:Ls(v.name);break}}function Ls(v){v&&(e.isGeneratedIdentifier(v)||e.isGeneratedPrivateIdentifier(v)?ff(v):e.isBindingPattern(v)&&ks(v))}function ff(v){if((v.autoGenerateFlags&7)==4)return E_(e.getNodeForGeneratedName(v),e.isPrivateIdentifier(v),v.autoGenerateFlags,v.autoGeneratePrefix,v.autoGenerateSuffix);var Ze=v.autoGenerateId;return Le[Ze]||(Le[Ze]=ko(v))}function E_(v,Ze,_n,Zn,$i){var kt=e.getNodeId(v);return Me[kt]||(Me[kt]=bp(v,Ze,_n!=null?_n:0,e.formatGeneratedNamePart(Zn,ff),e.formatGeneratedNamePart($i)))}function Ya(v){return zi(v)&&!Ae.has(v)&&!(Ce&&Ce.has(v))}function zi(v){return Be?e.isFileLevelUniqueName(Be,v,q):!0}function Nc(v,Ze){for(var _n=Ze;e.isNodeDescendantOf(_n,Ze);_n=_n.nextContainer)if(_n.locals){var Zn=_n.locals.get(e.escapeLeadingUnderscores(v));if(Zn&&Zn.flags&(111551|1048576|2097152))return!1}return!0}function Vp(v){var Ze;switch(v){case"":return d;case"#":return be;default:return(Ze=Ne==null?void 0:Ne.get(v))!==null&&Ze!==void 0?Ze:0}}function Qf(v,Ze){switch(v){case"":d=Ze;break;case"#":be=Ze;break;default:Ne!=null||(Ne=new e.Map),Ne.set(v,Ze);break}}function _f(v,Ze,_n,Zn,$i){Zn.length>0&&Zn.charCodeAt(0)===35&&(Zn=Zn.slice(1));var kt=e.formatGeneratedName(_n,Zn,"",$i),Mt=Vp(kt);if(v&&!(Mt&v)){var wt=v===268435456?"_i":"_n",Wa=e.formatGeneratedName(_n,Zn,wt,$i);if(Ya(Wa))return Mt|=v,Ze&&nd(Wa),Qf(kt,Mt),Wa}for(;;){var Lo=Mt&268435455;if(Mt++,Lo!==8&&Lo!==13){var wt=Lo<26?"_"+String.fromCharCode(97+Lo):"_"+(Lo-26),Wa=e.formatGeneratedName(_n,Zn,wt,$i);if(Ya(Wa))return Ze&&nd(Wa),Qf(kt,Mt),Wa}}}function vl(v,Ze,_n,Zn,$i,kt,Mt){if(Ze===void 0&&(Ze=Ya),v.length>0&&v.charCodeAt(0)===35&&(v=v.slice(1)),kt.length>0&&kt.charCodeAt(0)===35&&(kt=kt.slice(1)),_n){var wt=e.formatGeneratedName($i,kt,v,Mt);if(Ze(wt))return Zn?nd(wt):Ae.add(wt),wt}v.charCodeAt(v.length-1)!==95&&(v+="_");for(var Wa=1;;){var wt=e.formatGeneratedName($i,kt,v+Wa,Mt);if(Ze(wt))return Zn?nd(wt):Ae.add(wt),wt;Wa++}}function Xf(v){return vl(v,zi,!0,!1,!1,"","")}function ku(v){var Ze=lf(v.name);return Nc(Ze,v)?Ze:vl(Ze,Ya,!1,!1,!1,"","")}function il(v){var Ze=e.getExternalModuleName(v),_n=e.isStringLiteral(Ze)?e.makeIdentifierFromModuleName(Ze.text):"module";return vl(_n,Ya,!1,!1,!1,"","")}function Il(){return vl("default",Ya,!1,!1,!1,"","")}function kf(){return vl("class",Ya,!1,!1,!1,"","")}function qc(v,Ze,_n,Zn){return e.isIdentifier(v.name)?E_(v.name,Ze):_f(0,!1,Ze,_n,Zn)}function bp(v,Ze,_n,Zn,$i){switch(v.kind){case 79:case 80:return vl(lf(v),Ya,!!(_n&16),!!(_n&8),Ze,Zn,$i);case 264:case 263:return e.Debug.assert(!Zn&&!$i&&!Ze),ku(v);case 269:case 275:return e.Debug.assert(!Zn&&!$i&&!Ze),il(v);case 259:case 260:case 274:return e.Debug.assert(!Zn&&!$i&&!Ze),Il();case 228:return e.Debug.assert(!Zn&&!$i&&!Ze),kf();case 171:case 174:case 175:return qc(v,Ze,Zn,$i);case 164:return _f(0,!0,Ze,Zn,$i);default:return _f(0,!1,Ze,Zn,$i)}}function ko(v){var Ze=e.formatGeneratedNamePart(v.autoGeneratePrefix,ff),_n=e.formatGeneratedNamePart(v.autoGenerateSuffix);switch(v.autoGenerateFlags&7){case 1:return _f(0,!!(v.autoGenerateFlags&8),e.isPrivateIdentifier(v),Ze,_n);case 2:return e.Debug.assertNode(v,e.isIdentifier),_f(268435456,!!(v.autoGenerateFlags&8),!1,Ze,_n);case 3:return vl(e.idText(v),v.autoGenerateFlags&32?zi:Ya,!!(v.autoGenerateFlags&16),!!(v.autoGenerateFlags&8),e.isPrivateIdentifier(v),Ze,_n)}return e.Debug.fail("Unsupported GeneratedIdentifierKind: ".concat(e.Debug.formatEnum(v.autoGenerateFlags&7,e.GeneratedIdentifierFlags,!0),"."))}function Gc(v,Ze){var _n=gi(2,v,Ze),Zn=ve,$i=or,kt=Ee;Af(Ze),_n(v,Ze),uu(Ze,Zn,$i,kt)}function Af(v){var Ze=e.getEmitFlags(v),_n=e.getCommentRange(v);Nf(v,Ze,_n.pos,_n.end),Ze&2048&&(cr=!0)}function uu(v,Ze,_n,Zn){var $i=e.getEmitFlags(v),kt=e.getCommentRange(v);$i&2048&&(cr=!1),Zf(v,$i,kt.pos,kt.end,Ze,_n,Zn);var Mt=e.getTypeNode(v);Mt&&Zf(v,$i,Mt.pos,Mt.end,Ze,_n,Zn)}function Nf(v,Ze,_n,Zn){en(),xe=!1;var $i=_n<0||(Ze&512)!=0||v.kind===11,kt=Zn<0||(Ze&1024)!=0||v.kind===11;(_n>0||Zn>0)&&_n!==Zn&&($i||pu(_n,v.kind!==352),(!$i||_n>=0&&(Ze&512)!=0)&&(ve=_n),(!kt||Zn>=0&&(Ze&1024)!=0)&&(or=Zn,v.kind===258&&(Ee=Zn))),e.forEach(e.getSyntheticLeadingComments(v),wl),vn()}function Zf(v,Ze,_n,Zn,$i,kt,Mt){en();var wt=Zn<0||(Ze&1024)!=0||v.kind===11;e.forEach(e.getSyntheticTrailingComments(v),Sp),(_n>0||Zn>0)&&_n!==Zn&&(ve=$i,or=kt,Ee=Mt,!wt&&v.kind!==352&&xp(Zn)),vn()}function wl(v){(v.hasLeadingNewline||v.kind===2)&&er.writeLine(),Hc(v),v.hasTrailingNewLine||v.kind===2?er.writeLine():er.writeSpace(" ")}function Sp(v){er.isAtStartOfLine()||er.writeSpace(" "),Hc(v),v.hasTrailingNewLine&&er.writeLine()}function Hc(v){var Ze=Yo(v),_n=v.kind===3?e.computeLineStarts(Ze):void 0;e.writeCommentRange(Ze,_n,er,0,Ze.length,ge)}function Yo(v){return v.kind===3?"/*".concat(v.text,"*/"):"//".concat(v.text)}function Rd(v,Ze,_n){en();var Zn=Ze.pos,$i=Ze.end,kt=e.getEmitFlags(v),Mt=Zn<0||(kt&512)!=0,wt=cr||$i<0||(kt&1024)!=0;Mt||ru(Ze),vn(),kt&2048&&!cr?(cr=!0,_n(v),cr=!1):_n(v),en(),wt||(pu(Ze.end,!0),xe&&!er.isAtStartOfLine()&&er.writeLine()),vn()}function Yf(v,Ze){return v=e.getOriginalNode(v),v.parent&&v.parent===e.getOriginalNode(Ze).parent}function lu(v,Ze){if(Ze.pos-1&&Zn.indexOf(Ze)===$i+1}function pu(v,Ze){xe=!1,Ze?v===0&&(Be==null?void 0:Be.isDeclarationFile)?gu(v,id):gu(v,Ol):v===0&&gu(v,k_)}function k_(v,Ze,_n,Zn,$i){Ml(v,Ze)&&Ol(v,Ze,_n,Zn,$i)}function id(v,Ze,_n,Zn,$i){Ml(v,Ze)||Ol(v,Ze,_n,Zn,$i)}function Pf(v,Ze){return N.onlyPrintJsDocStyle?e.isJSDocLikeText(v,Ze)||e.isPinnedComment(v,Ze):!0}function Ol(v,Ze,_n,Zn,$i){!Be||!Pf(Be.text,v)||(xe||(e.emitNewLineBeforeLeadingCommentOfPosition(fn(),er,$i,v),xe=!0),yc(v),e.writeCommentRange(Be.text,fn(),er,v,Ze,ge),yc(Ze),Zn?er.writeLine():_n===3&&er.writeSpace(" "))}function Au(v){cr||v===-1||pu(v,!0)}function xp(v){td(v,Fl)}function Fl(v,Ze,_n,Zn){!Be||!Pf(Be.text,v)||(er.isAtStartOfLine()||er.writeSpace(" "),yc(v),e.writeCommentRange(Be.text,fn(),er,v,Ze,ge),yc(Ze),Zn&&er.writeLine())}function tl(v,Ze,_n){cr||(en(),td(v,Ze?Fl:_n?$f:Cp),vn())}function $f(v,Ze,_n){!Be||(yc(v),e.writeCommentRange(Be.text,fn(),er,v,Ze,ge),yc(Ze),_n===2&&er.writeLine())}function Cp(v,Ze,_n,Zn){!Be||(yc(v),e.writeCommentRange(Be.text,fn(),er,v,Ze,ge),yc(Ze),Zn?er.writeLine():er.writeSpace(" "))}function gu(v,Ze){Be&&(ve===-1||v!==ve)&&(qp(v)?Xt(Ze):e.forEachLeadingCommentRange(Be.text,v,Ze,v))}function td(v,Ze){Be&&(or===-1||v!==or&&v!==Ee)&&e.forEachTrailingCommentRange(Be.text,v,Ze)}function qp(v){return Ar!==void 0&&e.last(Ar).nodePos===v}function Xt(v){if(!!Be){var Ze=e.last(Ar).detachedCommentEndPos;Ar.length-1?Ar.pop():Ar=void 0,e.forEachLeadingCommentRange(Be.text,Ze,v,Ze)}}function ru(v){var Ze=Be&&e.emitDetachedComments(Be.text,fn(),er,Oi,v,ge,cr);Ze&&(Ar?Ar.push(Ze):Ar=[Ze])}function Oi(v,Ze,_n,Zn,$i,kt){!Be||!Pf(Be.text,Zn)||(yc(Zn),e.writeCommentRange(v,Ze,_n,Zn,$i,kt),yc($i))}function Ml(v,Ze){return!!Be&&e.isRecognizedTripleSlashComment(Be.text,v,Ze)}function ad(v){return v.parsedSourceMap===void 0&&v.sourceMapText!==void 0&&(v.parsedSourceMap=e.tryParseRawSourceMap(v.sourceMapText)||!1),v.parsedSourceMap||void 0}function al(v,Ze){var _n=gi(3,v,Ze);Ju(Ze),_n(v,Ze),od(Ze)}function Ju(v){var Ze=e.getEmitFlags(v),_n=e.getSourceMapRange(v);if(e.isUnparsedNode(v)){e.Debug.assertIsDefined(v.parent,"UnparsedNodes must have parent pointers");var Zn=ad(v.parent);Zn&&Ur&&Ur.appendSourceMap(er.getLine(),er.getColumn(),Zn,v.parent.sourceMapPath,v.parent.getLineAndCharacterOfPosition(v.pos),v.parent.getLineAndCharacterOfPosition(v.end))}else{var $i=_n.source||Cr;v.kind!==352&&(Ze&16)==0&&_n.pos>=0&&A_(_n.source||Cr,Bd($i,_n.pos)),Ze&64&&(kr=!0)}}function od(v){var Ze=e.getEmitFlags(v),_n=e.getSourceMapRange(v);e.isUnparsedNode(v)||(Ze&64&&(kr=!1),v.kind!==352&&(Ze&32)==0&&_n.end>=0&&A_(_n.source||Cr,_n.end))}function Bd(v,Ze){return v.skipTrivia?v.skipTrivia(Ze):e.skipTrivia(v.text,Ze)}function yc(v){if(!(kr||e.positionIsSynthesized(v)||r_(Cr))){var Ze=e.getLineAndCharacterOfPosition(Cr,v),_n=Ze.line,Zn=Ze.character;Ur.addMapping(er.getLine(),er.getColumn(),rn,_n,Zn,void 0)}}function A_(v,Ze){if(v!==Cr){var _n=Cr,Zn=rn;N_(v),yc(Ze),Tp(_n,Zn)}else yc(Ze)}function e_(v,Ze,_n,Zn,$i){if(kr||v&&e.isInJsonFile(v))return $i(Ze,_n,Zn);var kt=v&&v.emitNode,Mt=kt&&kt.flags||0,wt=kt&&kt.tokenSourceMapRanges&&kt.tokenSourceMapRanges[Ze],Wa=wt&&wt.source||Cr;return Zn=Bd(Wa,wt?wt.pos:Zn),(Mt&128)==0&&Zn>=0&&A_(Wa,Zn),Zn=$i(Ze,_n,Zn),wt&&(Zn=wt.end),(Mt&256)==0&&Zn>=0&&A_(Wa,Zn),Zn}function N_(v){if(!kr){if(Cr=v,v===Br){rn=pn;return}r_(v)||(rn=Ur.addSource(v.fileName),N.inlineSources&&Ur.setSourceContent(rn,v.text),Br=v,pn=rn)}}function Tp(v,Ze){Cr=v,rn=Ze}function r_(v){return e.fileExtensionIs(v.fileName,".json")}}e.createPrinter=X;function M(){var N=[];return N[1024]=["{","}"],N[2048]=["(",")"],N[4096]=["<",">"],N[8192]=["[","]"],N}function H(N){return o[N&15360][0]}function V(N){return o[N&15360][1]}var h;(function(N){N[N.Auto=0]="Auto",N[N.CountMask=268435455]="CountMask",N[N._i=268435456]="_i"})(h||(h={}));function F(N,J,q,G){J(N)}function $(N,J,q,G){J(N,q.select(G))}function L(N,J,q,G){J(N,q)}function P(N,J){return N.length===1?F:typeof J=="object"?$:L}})(fr||(fr={}));var fr;(function(e){function o(E,I,f){if(!E.getDirectories||!E.readDirectory)return;var m=new e.Map,y=e.createGetCanonicalFileName(f);return{useCaseSensitiveFileNames:f,fileExists:V,readFile:function(ye,b){return E.readFile(ye,b)},directoryExists:E.directoryExists&&h,getDirectories:$,readDirectory:L,createDirectory:E.createDirectory&&F,writeFile:E.writeFile&&H,addOrDeleteFileOrDirectory:N,addOrDeleteFile:J,clearCache:G,realpath:E.realpath&&P};function S(ye){return e.toPath(ye,I,y)}function k(ye){return m.get(e.ensureTrailingDirectorySeparator(ye))}function C(ye){var b=k(e.getDirectoryPath(ye));return b&&(b.sortedAndCanonicalizedFiles||(b.sortedAndCanonicalizedFiles=b.files.map(y).sort(),b.sortedAndCanonicalizedDirectories=b.directories.map(y).sort()),b)}function me(ye){return e.getBaseFileName(e.normalizePath(ye))}function De(ye,b){var x;if(!E.realpath||e.ensureTrailingDirectorySeparator(S(E.realpath(ye)))===b){var T={files:e.map(E.readDirectory(ye,void 0,void 0,["*.*"]),me)||[],directories:E.getDirectories(ye)||[]};return m.set(e.ensureTrailingDirectorySeparator(b),T),T}if((x=E.directoryExists)===null||x===void 0?void 0:x.call(E,ye))return m.set(b,!1),!1}function X(ye,b){b=e.ensureTrailingDirectorySeparator(b);var x=k(b);if(x)return x;try{return De(ye,b)}catch(T){e.Debug.assert(!m.has(e.ensureTrailingDirectorySeparator(b)));return}}function M(ye,b){var x=e.binarySearch(ye,b,e.identity,e.compareStringsCaseSensitive);return x>=0}function H(ye,b,x){var T=S(ye),Z=C(T);return Z&&q(Z,me(ye),!0),E.writeFile(ye,b,x)}function V(ye){var b=S(ye),x=C(b);return x&&M(x.sortedAndCanonicalizedFiles,y(me(ye)))||E.fileExists(ye)}function h(ye){var b=S(ye);return m.has(e.ensureTrailingDirectorySeparator(b))||E.directoryExists(ye)}function F(ye){var b=S(ye),x=C(b);if(x){var T=me(ye),Z=y(T),B=x.sortedAndCanonicalizedDirectories;e.insertSorted(B,Z,e.compareStringsCaseSensitive)&&x.directories.push(T)}E.createDirectory(ye)}function $(ye){var b=S(ye),x=X(ye,b);return x?x.directories.slice():E.getDirectories(ye)}function L(ye,b,x,T,Z){var B=S(ye),u=X(ye,B),A;if(u!==void 0)return e.matchFiles(ye,b,x,T,f,I,Z,w,P);return E.readDirectory(ye,b,x,T,Z);function w(U){var ge=S(U);if(ge===B)return u||z(U,ge);var pe=X(U,ge);return pe!==void 0?pe||z(U,ge):e.emptyFileSystemEntries}function z(U,ge){if(A&&ge===B)return A;var pe={files:e.map(E.readDirectory(U,void 0,void 0,["*.*"]),me)||e.emptyArray,directories:E.getDirectories(U)||e.emptyArray};return ge===B&&(A=pe),pe}}function P(ye){return E.realpath?E.realpath(ye):ye}function N(ye,b){var x=k(b);if(x!==void 0){G();return}var T=C(b);if(!!T){if(!E.directoryExists){G();return}var Z=me(ye),B={fileExists:E.fileExists(b),directoryExists:E.directoryExists(b)};return B.directoryExists||M(T.sortedAndCanonicalizedDirectories,y(Z))?G():q(T,Z,B.fileExists),B}}function J(ye,b,x){if(x!==e.FileWatcherEventKind.Changed){var T=C(b);T&&q(T,me(ye),x===e.FileWatcherEventKind.Created)}}function q(ye,b,x){var T=ye.sortedAndCanonicalizedFiles,Z=y(b);if(x)e.insertSorted(T,Z,e.compareStringsCaseSensitive)&&ye.files.push(b);else{var B=e.binarySearch(T,Z,e.identity,e.compareStringsCaseSensitive);if(B>=0){T.splice(B,1);var u=ye.files.findIndex(function(A){return y(A)===Z});ye.files.splice(u,1)}}}function G(){m.clear()}}e.createCachedDirectoryStructureHost=o;var ne;(function(E){E[E.None=0]="None",E[E.Partial=1]="Partial",E[E.Full=2]="Full"})(ne=e.ConfigFileProgramReloadLevel||(e.ConfigFileProgramReloadLevel={}));function K(E,I,f,m,y){var S,k=e.arrayToMap(((S=I==null?void 0:I.configFile)===null||S===void 0?void 0:S.extendedSourceFiles)||e.emptyArray,y);f.forEach(function(C,me){k.has(me)||(C.projects.delete(E),C.close())}),k.forEach(function(C,me){var De=f.get(me);De?De.projects.add(E):f.set(me,{projects:new e.Set([E]),watcher:m(C,me),close:function(){var X=f.get(me);!X||X.projects.size!==0||(X.watcher.close(),f.delete(me))}})})}e.updateSharedExtendedConfigFileWatcher=K;function se(E,I){I.forEach(function(f){f.projects.delete(E)&&f.close()})}e.clearSharedExtendedConfigFileWatcher=se;function O(E,I,f){!E.delete(I)||E.forEach(function(m,y){var S,k=m.extendedResult;((S=k.extendedSourceFiles)===null||S===void 0?void 0:S.some(function(C){return f(C)===I}))&&O(E,y,f)})}e.cleanExtendedConfigCache=O;function ie(E,I,f){var m=new e.Map(E);e.mutateMap(I,m,{createNewValue:f,onDeleteValue:e.closeFileWatcher})}e.updatePackageJsonWatch=ie;function _e(E,I,f){var m=E.getMissingFilePaths(),y=e.arrayToMap(m,e.identity,e.returnTrue);e.mutateMap(I,y,{createNewValue:f,onDeleteValue:e.closeFileWatcher})}e.updateMissingFilePathsWatch=_e;function Q(E,I,f){e.mutateMap(E,I,{createNewValue:m,onDeleteValue:ae,onExistingValue:y});function m(S,k){return{watcher:f(S,k),flags:k}}function y(S,k,C){S.flags!==k&&(S.watcher.close(),E.set(C,m(C,k)))}}e.updateWatchingWildcardDirectories=Q;function p(E){var I=E.watchedDirPath,f=E.fileOrDirectory,m=E.fileOrDirectoryPath,y=E.configFileName,S=E.options,k=E.program,C=E.extraFileExtensions,me=E.currentDirectory,De=E.useCaseSensitiveFileNames,X=E.writeLog,M=E.toPath,H=e.removeIgnoredPath(m);if(!H)return X("Project: ".concat(y," Detected ignored path: ").concat(f)),!0;if(m=H,m===I)return!1;if(e.hasExtension(m)&&!e.isSupportedSourceFileName(f,S,C))return X("Project: ".concat(y," Detected file add/remove of non supported extension: ").concat(f)),!0;if(e.isExcludedFile(f,S.configFile.configFileSpecs,e.getNormalizedAbsolutePath(e.getDirectoryPath(y),me),De,me))return X("Project: ".concat(y," Detected excluded file: ").concat(f)),!0;if(!k||e.outFile(S)||S.outDir)return!1;if(e.isDeclarationFileName(m)){if(S.declarationDir)return!1}else if(!e.fileExtensionIsOneOf(m,e.supportedJSExtensionsFlat))return!1;var V=e.removeFileExtension(m),h=e.isArray(k)?void 0:D(k)?k.getProgramOrUndefined():k,F=!h&&!e.isArray(k)?k:void 0;if($(V+".ts")||$(V+".tsx"))return X("Project: ".concat(y," Detected output file: ").concat(f)),!0;return!1;function $(L){return h?!!h.getSourceFileByPath(L):F?F.getState().fileInfos.has(L):!!e.find(k,function(P){return M(P)===L})}}e.isIgnoredFileFromWildCardWatching=p;function D(E){return!!E.getState}function le(E,I){return E?E.isEmittedFile(I):!1}e.isEmittedFileOfProgram=le;var de;(function(E){E[E.None=0]="None",E[E.TriggerOnly=1]="TriggerOnly",E[E.Verbose=2]="Verbose"})(de=e.WatchLogLevel||(e.WatchLogLevel={}));function te(E,I,f,m){e.setSysLog(I===de.Verbose?f:e.noop);var y={watchFile:function(F,$,L,P){return E.watchFile(F,$,L,P)},watchDirectory:function(F,$,L,P){return E.watchDirectory(F,$,(L&1)!=0,P)}},S=I!==de.None?{watchFile:V("watchFile"),watchDirectory:V("watchDirectory")}:void 0,k=I===de.Verbose?{watchFile:M,watchDirectory:H}:S||y,C=I===de.Verbose?X:e.returnNoopFileWatcher;return{watchFile:me("watchFile"),watchDirectory:me("watchDirectory")};function me(F){return function($,L,P,N,J,q){var G;return e.matchesExclude($,F==="watchFile"?N==null?void 0:N.excludeFiles:N==null?void 0:N.excludeDirectories,De(),((G=E.getCurrentDirectory)===null||G===void 0?void 0:G.call(E))||"")?C($,P,N,J,q):k[F].call(void 0,$,L,P,N,J,q)}}function De(){return typeof E.useCaseSensitiveFileNames=="boolean"?E.useCaseSensitiveFileNames:E.useCaseSensitiveFileNames()}function X(F,$,L,P,N){return f("ExcludeWatcher:: Added:: ".concat(h(F,$,L,P,N,m))),{close:function(){return f("ExcludeWatcher:: Close:: ".concat(h(F,$,L,P,N,m)))}}}function M(F,$,L,P,N,J){f("FileWatcher:: Added:: ".concat(h(F,L,P,N,J,m)));var q=S.watchFile(F,$,L,P,N,J);return{close:function(){f("FileWatcher:: Close:: ".concat(h(F,L,P,N,J,m))),q.close()}}}function H(F,$,L,P,N,J){var q="DirectoryWatcher:: Added:: ".concat(h(F,L,P,N,J,m));f(q);var G=e.timestamp(),ye=S.watchDirectory(F,$,L,P,N,J),b=e.timestamp()-G;return f("Elapsed:: ".concat(b,"ms ").concat(q)),{close:function(){var x="DirectoryWatcher:: Close:: ".concat(h(F,L,P,N,J,m));f(x);var T=e.timestamp();ye.close();var Z=e.timestamp()-T;f("Elapsed:: ".concat(Z,"ms ").concat(x))}}}function V(F){return function($,L,P,N,J,q){return y[F].call(void 0,$,function(){for(var G=[],ye=0;ye=4,Se=(Y+1+"").length;Ce&&(Se=Math.max(oe.length,Se));for(var Re="",er=Ne;er<=Y;er++){Re+=Ae.getNewLine(),Ce&&Ne+1=e.length(Bn==null?void 0:Bn.imports)+e.length(Bn==null?void 0:Bn.moduleAugmentations))return!1;var fe=e.getResolvedModule(Bn,ys,Bn&&De(Bn,Vo)),sr=fe&&Se.getSourceFile(fe.resolvedFileName);if(fe&&sr)return!1;var Tr=ln.get(ys);return Tr?(e.isTraceEnabled(d,or)&&e.trace(or,e.Diagnostics.Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified,ys,Tr),!0):!1}}function Ki(){return!F(Se.getProjectReferences(),Se.getResolvedProjectReferences(),function(Hr,Gr,Bn){var ui=(Gr?Gr.commandLine.projectReferences:Ce)[Bn],hi=qe(ui);return Hr?!hi||hi.sourceFile!==Hr.sourceFile||!e.arrayIsEqualTo(Hr.commandLine.fileNames,hi.commandLine.fileNames):hi!==void 0},function(Hr,Gr){var Bn=Gr?Er(Gr.sourceFile.path).commandLine.projectReferences:Ce;return!e.arrayIsEqualTo(Hr,Bn,e.projectReferenceIsEqualTo)})}function dt(){var Hr,Gr;if(!Se)return 0;var Bn=Se.getCompilerOptions();if(e.changesAffectModuleResolution(Bn,d))return 0;var ui=Se.getRootFileNames();if(!e.arrayIsEqualTo(ui,Y)||!Ki())return 0;Ce&&(Te=Ce.map(qe));var hi=[],Ei=[];if(Vr=2,Se.getMissingFilePaths().some(function(Os){return or.fileExists(Os)}))return 0;var st=Se.getSourceFiles(),Bi;(function(Os){Os[Os.Exists=0]="Exists",Os[Os.Modified=1]="Modified"})(Bi||(Bi={}));for(var Jt=new e.Map,Ca=0,Yt=st;Ca=0;){if(Gr.markUsed(Ei))return Ei;var st=Bn.text.slice(hi[Ei],hi[Ei+1]).trim();if(st!==""&&!/^(\s*)\/\/(.*)$/.test(st))return-1;Ei--}return-1}function tn(Hr){return To(function(){var Gr=[];return Bn(Hr,Hr),e.forEachChildRecursively(Hr,Bn,ui),Gr;function Bn(Bi,Jt){switch(Jt.kind){case 166:case 169:case 171:if(Jt.questionToken===Bi)return Gr.push(st(Bi,e.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),"skip";case 170:case 173:case 174:case 175:case 215:case 259:case 216:case 257:if(Jt.type===Bi)return Gr.push(st(Bi,e.Diagnostics.Type_annotations_can_only_be_used_in_TypeScript_files)),"skip"}switch(Bi.kind){case 270:if(Bi.isTypeOnly)return Gr.push(st(Jt,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"import type")),"skip";break;case 275:if(Bi.isTypeOnly)return Gr.push(st(Bi,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"export type")),"skip";break;case 273:case 278:if(Bi.isTypeOnly)return Gr.push(st(Bi,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,e.isImportSpecifier(Bi)?"import...type":"export...type")),"skip";break;case 268:return Gr.push(st(Bi,e.Diagnostics.import_can_only_be_used_in_TypeScript_files)),"skip";case 274:if(Bi.isExportEquals)return Gr.push(st(Bi,e.Diagnostics.export_can_only_be_used_in_TypeScript_files)),"skip";break;case 294:var Ca=Bi;if(Ca.token===117)return Gr.push(st(Bi,e.Diagnostics.implements_clauses_can_only_be_used_in_TypeScript_files)),"skip";break;case 261:var Yt=e.tokenToString(118);return e.Debug.assertIsDefined(Yt),Gr.push(st(Bi,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,Yt)),"skip";case 264:var Wt=Bi.flags&16?e.tokenToString(143):e.tokenToString(142);return e.Debug.assertIsDefined(Wt),Gr.push(st(Bi,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,Wt)),"skip";case 262:return Gr.push(st(Bi,e.Diagnostics.Type_aliases_can_only_be_used_in_TypeScript_files)),"skip";case 263:var Ga=e.Debug.checkDefined(e.tokenToString(92));return Gr.push(st(Bi,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,Ga)),"skip";case 232:return Gr.push(st(Bi,e.Diagnostics.Non_null_assertions_can_only_be_used_in_TypeScript_files)),"skip";case 231:return Gr.push(st(Bi.type,e.Diagnostics.Type_assertion_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 235:return Gr.push(st(Bi.type,e.Diagnostics.Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 213:e.Debug.fail()}}function ui(Bi,Jt){switch(e.canHaveModifiers(Jt)&&Jt.modifiers===Bi&&e.some(Bi,e.isDecorator)&&!d.experimentalDecorators&&Gr.push(st(Jt,e.Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning)),Jt.kind){case 260:case 228:case 171:case 173:case 174:case 175:case 215:case 259:case 216:if(Bi===Jt.typeParameters)return Gr.push(Ei(Bi,e.Diagnostics.Type_parameter_declarations_can_only_be_used_in_TypeScript_files)),"skip";case 240:if(Bi===Jt.modifiers)return hi(Jt.modifiers,Jt.kind===240),"skip";break;case 169:if(Bi===Jt.modifiers){for(var Ca=0,Yt=Bi;Ca=1&&e.isStringLiteralLike(Do.arguments[0])?(e.setParentRecursive(Do,!1),ui=e.append(ui,Do.arguments[0])):e.isLiteralImportTypeNode(Do)&&(e.setParentRecursive(Do,!1),ui=e.append(ui,Do.argument.literal))}}function Ga($t,po){for(var Do=$t,Ns=function(ys){if(ys.pos<=po&&(po0),Object.defineProperties(Jt,{id:{get:function(){return this.redirectInfo.redirectTarget.id},set:function(Ca){this.redirectInfo.redirectTarget.id=Ca}},symbol:{get:function(){return this.redirectInfo.redirectTarget.symbol},set:function(Ca){this.redirectInfo.redirectTarget.symbol=Ca}}}),Jt}function ns(Hr,Gr,Bn,ui,hi){e.tracing===null||e.tracing===void 0||e.tracing.push("program","findSourceFile",{fileName:Hr,isDefaultLib:Gr||void 0,fileIncludeKind:e.FileIncludeKind[ui.kind]});var Ei=$s(Hr,Gr,Bn,ui,hi);return e.tracing===null||e.tracing===void 0||e.tracing.pop(),Ei}function dc(Hr,Gr,Bn,ui){var hi=G(e.getNormalizedAbsolutePath(Hr,Mr),Gr==null?void 0:Gr.getPackageJsonInfoCache(),Bn,ui),Ei=e.getEmitScriptTarget(ui),st=e.getSetExternalModuleIndicator(ui);return typeof hi=="object"?vi(vi({},hi),{languageVersion:Ei,setExternalModuleIndicator:st}):{languageVersion:Ei,impliedNodeFormat:hi,setExternalModuleIndicator:st}}function $s(Hr,Gr,Bn,ui,hi){var Ei,st,Bi=Xn(Hr);if(Ke){var Jt=Ss(Bi);if(!Jt&&or.realpath&&d.preserveSymlinks&&e.isDeclarationFileName(Hr)&&e.stringContains(Hr,e.nodeModulesPathPart)){var Ca=Xn(or.realpath(Hr));Ca!==Bi&&(Jt=Ss(Ca))}if(Jt){var Yt=e.isString(Jt)?ns(Jt,Gr,Bn,ui,hi):void 0;return Yt&&js(Yt,Bi,void 0),Yt}}var Wt=Hr;if(on.has(Bi)){var Ga=on.get(Bi);if(pc(Ga||void 0,ui),Ga&&d.forceConsistentCasingInFileNames){var $t=Ga.fileName,po=Xn($t)!==Xn(Hr);po&&(Hr=Sc(Hr)||Hr);var Do=e.getNormalizedAbsolutePathWithoutRoot($t,Mr),Ns=e.getNormalizedAbsolutePathWithoutRoot(Hr,Mr);Do!==Ns&&ac(Hr,Ga,ui)}return Ga&&ve.get(Ga.path)&&Br===0?(ve.set(Ga.path,!1),d.noResolve||(un(Ga,Gr),$n(Ga)),d.noLib||_t(Ga),pn.set(Ga.path,!1),Rt(Ga)):Ga&&pn.get(Ga.path)&&Br0),sr.fileName=Hr,sr.path=Bi,sr.resolvedPath=Xn(Hr),sr.originalFileName=Wt,sr.packageJsonLocations=((st=fe.packageJsonLocations)===null||st===void 0?void 0:st.length)?fe.packageJsonLocations:void 0,sr.packageJsonScope=fe.packageJsonScope,pc(sr,ui),or.useCaseSensitiveFileNames()){var gt=e.toFileNameLowerCase(Bi),jt=Sr.get(gt);jt?ac(Hr,jt,ui):Sr.set(gt,sr)}ze=ze||sr.hasNoDefaultLib&&!Bn,d.noResolve||(un(sr,Gr),$n(sr)),d.noLib||_t(sr),Rt(sr),Gr?Re.push(sr):er.push(sr)}return sr}function pc(Hr,Gr){Hr&&dr.add(Hr.path,Gr)}function js(Hr,Gr,Bn){Bn?(on.set(Bn,Hr),on.set(Gr,Hr||!1)):on.set(Gr,Hr)}function Sc(Hr){var Gr=Ko(Hr);return Gr&&Mc(Gr,Hr)}function Ko(Hr){if(!(!Te||!Te.length||e.isDeclarationFileName(Hr)||e.fileExtensionIs(Hr,".json")))return Vs(Hr)}function Mc(Hr,Gr){var Bn=e.outFile(Hr.commandLine.options);return Bn?e.changeExtension(Bn,".d.ts"):e.getOutputDeclarationFileName(Gr,Hr.commandLine,!or.useCaseSensitiveFileNames())}function Vs(Hr){Qe===void 0&&(Qe=new e.Map,oc(function(Bn){Xn(d.configFilePath)!==Bn.sourceFile.path&&Bn.commandLine.fileNames.forEach(function(ui){return Qe.set(Xn(ui),Bn.sourceFile.path)})}));var Gr=Qe.get(Xn(Hr));return Gr&&Er(Gr)}function oc(Hr){return e.forEachResolvedProjectReference(Te,Hr)}function Ss(Hr){if(!!e.isDeclarationFileName(Hr))return ue===void 0&&(ue=new e.Map,oc(function(Gr){var Bn=e.outFile(Gr.commandLine.options);if(Bn){var ui=e.changeExtension(Bn,".d.ts");ue.set(Xn(ui),!0)}else{var hi=e.memoize(function(){return e.getCommonSourceDirectoryOfConfig(Gr.commandLine,!or.useCaseSensitiveFileNames())});e.forEach(Gr.commandLine.fileNames,function(Ei){if(!e.isDeclarationFileName(Ei)&&!e.fileExtensionIs(Ei,".json")){var st=e.getOutputDeclarationFileName(Ei,Gr.commandLine,!or.useCaseSensitiveFileNames(),hi);ue.set(Xn(st),Ei)}})}})),ue.get(Hr)}function ee(Hr){return Ke&&!!Vs(Hr)}function Er(Hr){if(!!Ye)return Ye.get(Hr)||void 0}function un(Hr,Gr){e.forEach(Hr.referencedFiles,function(Bn,ui){ds(ne(Bn.fileName,Hr.fileName),Gr,!1,void 0,{kind:e.FileIncludeKind.ReferenceFile,file:Hr.path,index:ui})})}function $n(Hr){var Gr=Hr.typeReferenceDirectives;if(!!Gr)for(var Bn=jn(Gr,Hr),ui=0;uirn,Ga=Yt&&!z(hi,st)&&!hi.noResolve&&Ei1})&&_o(e.Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}if(d.useDefineForClassFields&&Yt===0&&_o(e.Diagnostics.Option_0_cannot_be_specified_when_option_target_is_ES3,"useDefineForClassFields"),d.checkJs&&!e.getAllowJSCompilerOption(d)&&cr.add(e.createCompilerDiagnostic(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs")),d.emitDeclarationOnly&&(e.getEmitDeclarations(d)||_o(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite"),d.noEmit&&_o(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"emitDeclarationOnly","noEmit")),d.emitDecoratorMetadata&&!d.experimentalDecorators&&_o(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators"),d.jsxFactory?(d.reactNamespace&&_o(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory"),(d.jsx===4||d.jsx===5)&&_o(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFactory",e.inverseJsxOptionMap.get(""+d.jsx)),e.parseIsolatedEntityName(d.jsxFactory,Yt)||Gs("jsxFactory",e.Diagnostics.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,d.jsxFactory)):d.reactNamespace&&!e.isIdentifierText(d.reactNamespace,Yt)&&Gs("reactNamespace",e.Diagnostics.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,d.reactNamespace),d.jsxFragmentFactory&&(d.jsxFactory||_o(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"jsxFragmentFactory","jsxFactory"),(d.jsx===4||d.jsx===5)&&_o(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFragmentFactory",e.inverseJsxOptionMap.get(""+d.jsx)),e.parseIsolatedEntityName(d.jsxFragmentFactory,Yt)||Gs("jsxFragmentFactory",e.Diagnostics.Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name,d.jsxFragmentFactory)),d.reactNamespace&&(d.jsx===4||d.jsx===5)&&_o(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"reactNamespace",e.inverseJsxOptionMap.get(""+d.jsx)),d.jsxImportSource&&d.jsx===2&&_o(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxImportSource",e.inverseJsxOptionMap.get(""+d.jsx)),d.preserveValueImports&&e.getEmitModuleKind(d)Wt?e.createDiagnosticForNodeInSourceFile(Yt,Ga.elements[Wt],Hr.kind===e.FileIncludeKind.OutputFromProjectReference?e.Diagnostics.File_is_output_from_referenced_project_specified_here:e.Diagnostics.File_is_source_from_referenced_project_specified_here):void 0;case e.FileIncludeKind.AutomaticTypeDirectiveFile:if(!d.types)return;ui=Rc("types",Hr.typeReference),hi=e.Diagnostics.File_is_entry_point_of_type_library_specified_here;break;case e.FileIncludeKind.LibFile:if(Hr.index!==void 0){ui=Rc("lib",d.lib[Hr.index]),hi=e.Diagnostics.File_is_library_specified_here;break}var $t=e.forEachEntry(e.targetOptionDeclaration.type,function(po,Do){return po===e.getEmitScriptTarget(d)?Do:void 0});ui=$t?ec("target",$t):void 0,hi=e.Diagnostics.File_is_default_library_for_target_specified_here;break;default:e.Debug.assertNever(Hr)}return ui&&e.createDiagnosticForNodeInSourceFile(d.configFile,ui,hi)}}function gs(){var Hr=d.suppressOutputPathCheck?void 0:e.getTsBuildInfoEmitOutputFilePath(d);F(Ce,Te,function(Gr,Bn,ui){var hi=(Bn?Bn.commandLine.projectReferences:Ce)[ui],Ei=Bn&&Bn.sourceFile;if(!Gr){mc(Ei,ui,e.Diagnostics.File_0_not_found,hi.path);return}var st=Gr.commandLine.options;if(!st.composite||st.noEmit){var Bi=Bn?Bn.commandLine.fileNames:Y;Bi.length&&(st.composite||mc(Ei,ui,e.Diagnostics.Referenced_project_0_must_have_setting_composite_Colon_true,hi.path),st.noEmit&&mc(Ei,ui,e.Diagnostics.Referenced_project_0_may_not_disable_emit,hi.path))}if(hi.prepend){var Jt=e.outFile(st);Jt?or.fileExists(Jt)||mc(Ei,ui,e.Diagnostics.Output_file_0_from_project_1_does_not_exist,Jt,hi.path):mc(Ei,ui,e.Diagnostics.Cannot_prepend_project_0_because_it_does_not_have_outFile_set,hi.path)}!Bn&&Hr&&Hr===e.getTsBuildInfoEmitOutputFilePath(st)&&(mc(Ei,ui,e.Diagnostics.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1,Hr,hi.path),en.set(Xn(Hr),!0))})}function gc(Hr,Gr,Bn,ui,hi,Ei){for(var st=!0,Bi=qs(),Jt=0,Ca=Bi;JtGr&&(cr.add(e.createDiagnosticForNodeInSourceFile(d.configFile,po.elements[Gr],Bn,ui,hi,Ei)),st=!1)}}st&&cr.add(e.createCompilerDiagnostic(Bn,ui,hi,Ei))}function ws(Hr,Gr,Bn,ui){for(var hi=!0,Ei=qs(),st=0,Bi=Ei;stGr?cr.add(e.createDiagnosticForNodeInSourceFile(Hr||d.configFile,Ei.elements[Gr],Bn,ui,hi)):cr.add(e.createCompilerDiagnostic(Bn,ui,hi))}function xl(Hr,Gr,Bn,ui,hi,Ei,st){var Bi=$c(),Jt=!Bi||!Qu(Bi,Hr,Gr,Bn,ui,hi,Ei,st);Jt&&cr.add(e.createCompilerDiagnostic(ui,hi,Ei,st))}function $c(){if(vn===void 0){vn=!1;var Hr=e.getTsConfigObjectLiteralExpression(d.configFile);if(Hr)for(var Gr=0,Bn=e.getPropertyAssignment(Hr,"compilerOptions");Gr0)for(var $=H.getTypeChecker(),L=0,P=V.imports;L0)for(var G=0,ye=V.referencedFiles;G1&&U(z)}return F;function U(pe){if(!!pe.declarations)for(var He=0,Be=pe.declarations;He0;){var q=J.pop();if(!N.has(q)){var G=V.getSourceFileByPath(q);N.set(q,G),G&&I(H,V,G,F,$,L)&&J.push.apply(J,S(H,G.resolvedPath))}}return e.arrayFrom(e.mapDefinedIterator(N.values(),function(ye){return ye}))}})(ne=e.BuilderState||(e.BuilderState={}))})(fr||(fr={}));var fr;(function(e){var o;(function(T){T[T.DtsOnly=0]="DtsOnly",T[T.Full=1]="Full"})(o=e.BuilderFileEmit||(e.BuilderFileEmit={}));function ne(T,Z){return T===Z||T!==void 0&&Z!==void 0&&T.size===Z.size&&!e.forEachKey(T,function(B){return!Z.has(B)})}function K(T,Z,B,u){var A,w,z=e.BuilderState.create(T,Z,B,u);z.program=T;var U=T.getCompilerOptions();z.compilerOptions=U;var ge=e.outFile(U);ge?U.composite&&(B==null?void 0:B.outSignature)&&ge===e.outFile(B==null?void 0:B.compilerOptions)&&(z.outSignature=B==null?void 0:B.outSignature):z.semanticDiagnosticsPerFile=new e.Map,z.changedFilesSet=new e.Set,z.latestChangedDtsFile=U.composite?B==null?void 0:B.latestChangedDtsFile:void 0;var pe=e.BuilderState.canReuseOldState(z.referencedMap,B),He=pe?B.compilerOptions:void 0,Be=pe&&B.semanticDiagnosticsPerFile&&!!z.semanticDiagnosticsPerFile&&!e.compilerOptionsAffectSemanticDiagnostics(U,He),Me=U.composite&&(B==null?void 0:B.emitSignatures)&&!ge&&!e.compilerOptionsAffectDeclarationPath(U,B.compilerOptions);pe&&((A=B.changedFilesSet)===null||A===void 0||A.forEach(function(Oe){return z.changedFilesSet.add(Oe)}),!ge&&B.affectedFilesPendingEmit&&(z.affectedFilesPendingEmit=B.affectedFilesPendingEmit.slice(),z.affectedFilesPendingEmitKind=B.affectedFilesPendingEmitKind&&new e.Map(B.affectedFilesPendingEmitKind),z.affectedFilesPendingEmitIndex=B.affectedFilesPendingEmitIndex,z.seenAffectedFiles=new e.Set));var Le=z.referencedMap,Ae=pe?B.referencedMap:void 0,Xe=Be&&!U.skipLibCheck==!He.skipLibCheck,Ne=Xe&&!U.skipDefaultLibCheck==!He.skipDefaultLibCheck;return z.fileInfos.forEach(function(Oe,be){var Y,d;if(!pe||!(Y=B.fileInfos.get(be))||Y.version!==Oe.version||Y.impliedFormat!==Oe.impliedFormat||!ne(d=Le&&Le.getValues(be),Ae&&Ae.getValues(be))||d&&e.forEachKey(d,function(Re){return!z.fileInfos.has(Re)&&B.fileInfos.has(Re)}))z.changedFilesSet.add(be);else if(Be){var j=T.getSourceFileByPath(be);if(j.isDeclarationFile&&!Xe||j.hasNoDefaultLib&&!Ne)return;var Ce=B.semanticDiagnosticsPerFile.get(be);Ce&&(z.semanticDiagnosticsPerFile.set(be,B.hasReusableDiagnostic?se(Ce,T,Z):Ce),z.semanticDiagnosticsFromOldState||(z.semanticDiagnosticsFromOldState=new e.Set),z.semanticDiagnosticsFromOldState.add(be))}if(Me){var Se=B.emitSignatures.get(be);Se&&(z.emitSignatures||(z.emitSignatures=new e.Map)).set(be,Se)}}),pe&&e.forEachEntry(B.fileInfos,function(Oe,be){return Oe.affectsGlobalScope&&!z.fileInfos.has(be)})?e.BuilderState.getAllFilesExcludingDefaultLibraryFile(z,T,void 0).forEach(function(Oe){return z.changedFilesSet.add(Oe.resolvedPath)}):He&&!ge&&e.compilerOptionsAffectEmit(U,He)&&(T.getSourceFiles().forEach(function(Oe){return q(z,Oe.resolvedPath,1)}),e.Debug.assert(!z.seenAffectedFiles||!z.seenAffectedFiles.size),z.seenAffectedFiles=z.seenAffectedFiles||new e.Set),z.buildInfoEmitPending=!pe||z.changedFilesSet.size!==(((w=B.changedFilesSet)===null||w===void 0?void 0:w.size)||0),z}function se(T,Z,B){if(!T.length)return e.emptyArray;var u=e.getDirectoryPath(e.getNormalizedAbsolutePath(e.getTsBuildInfoEmitOutputFilePath(Z.getCompilerOptions()),Z.getCurrentDirectory()));return T.map(function(w){var z=O(w,Z,A);z.reportsUnnecessary=w.reportsUnnecessary,z.reportsDeprecated=w.reportDeprecated,z.source=w.source,z.skippedOn=w.skippedOn;var U=w.relatedInformation;return z.relatedInformation=U?U.length?U.map(function(ge){return O(ge,Z,A)}):[]:void 0,z});function A(w){return e.toPath(w,u,B)}}function O(T,Z,B){var u=T.file;return vi(vi({},T),{file:u?Z.getSourceFileByPath(B(u)):void 0})}function ie(T){e.BuilderState.releaseCache(T),T.program=void 0}function _e(T){var Z=e.outFile(T.compilerOptions);return e.Debug.assert(!T.changedFilesSet.size||Z),{affectedFilesPendingEmit:T.affectedFilesPendingEmit&&T.affectedFilesPendingEmit.slice(),affectedFilesPendingEmitKind:T.affectedFilesPendingEmitKind&&new e.Map(T.affectedFilesPendingEmitKind),affectedFilesPendingEmitIndex:T.affectedFilesPendingEmitIndex,seenEmittedFiles:T.seenEmittedFiles&&new e.Map(T.seenEmittedFiles),programEmitComplete:T.programEmitComplete,emitSignatures:T.emitSignatures&&new e.Map(T.emitSignatures),outSignature:T.outSignature,latestChangedDtsFile:T.latestChangedDtsFile,hasChangedEmitSignature:T.hasChangedEmitSignature,changedFilesSet:Z?new e.Set(T.changedFilesSet):void 0}}function Q(T,Z){T.affectedFilesPendingEmit=Z.affectedFilesPendingEmit,T.affectedFilesPendingEmitKind=Z.affectedFilesPendingEmitKind,T.affectedFilesPendingEmitIndex=Z.affectedFilesPendingEmitIndex,T.seenEmittedFiles=Z.seenEmittedFiles,T.programEmitComplete=Z.programEmitComplete,T.emitSignatures=Z.emitSignatures,T.outSignature=Z.outSignature,T.latestChangedDtsFile=Z.latestChangedDtsFile,T.hasChangedEmitSignature=Z.hasChangedEmitSignature,Z.changedFilesSet&&(T.changedFilesSet=Z.changedFilesSet)}function p(T,Z){e.Debug.assert(!Z||!T.affectedFiles||T.affectedFiles[T.affectedFilesIndex-1]!==Z||!T.semanticDiagnosticsPerFile.has(Z.resolvedPath))}function D(T,Z,B,u,A){for(var w,z;;){var U=T.affectedFiles;if(U){for(var ge=T.seenAffectedFiles,pe=T.affectedFilesIndex;pe0;){var pe=ge.pop();if(!U.has(pe)){if(U.set(pe,!0),f(T,pe,B,u,A,w))return;if(ae(T,pe,B,u,A,w),I(T,pe)){var He=e.Debug.checkDefined(T.program).getSourceFileByPath(pe);ge.push.apply(ge,e.BuilderState.getReferencedByPaths(T,He.resolvedPath))}}}}var Be=new e.Set;(z=T.exportedModulesMap.getKeys(Z.resolvedPath))===null||z===void 0||z.forEach(function(Me){if(f(T,Me,B,u,A,w))return!0;var Le=T.referencedMap.getKeys(Me);return Le&&e.forEachKey(Le,function(Ae){return y(T,Ae,Be,B,u,A,w)})})}}function y(T,Z,B,u,A,w,z){var U,ge;if(!!e.tryAddToSet(B,Z)){if(f(T,Z,u,A,w,z))return!0;ae(T,Z,u,A,w,z),(U=T.exportedModulesMap.getKeys(Z))===null||U===void 0||U.forEach(function(pe){return y(T,pe,B,u,A,w,z)}),(ge=T.referencedMap.getKeys(Z))===null||ge===void 0||ge.forEach(function(pe){return!B.has(pe)&&ae(T,pe,u,A,w,z)})}}function S(T,Z,B,u,A){A?T.buildInfoEmitPending=!1:Z===T.program?(T.changedFilesSet.clear(),T.programEmitComplete=!0):(T.seenAffectedFiles.add(Z.resolvedPath),T.buildInfoEmitPending=!0,B!==void 0&&(T.seenEmittedFiles||(T.seenEmittedFiles=new e.Map)).set(Z.resolvedPath,B),u?T.affectedFilesPendingEmitIndex++:T.affectedFilesIndex++)}function k(T,Z,B){return S(T,B),{result:Z,affected:B}}function C(T,Z,B,u,A,w){return S(T,B,u,A,w),{result:Z,affected:B}}function me(T,Z,B){return e.concatenate(De(T,Z,B),e.Debug.checkDefined(T.program).getProgramDiagnostics(Z))}function De(T,Z,B){var u=Z.resolvedPath;if(T.semanticDiagnosticsPerFile){var A=T.semanticDiagnosticsPerFile.get(u);if(A)return e.filterSemanticDiagnostics(A,T.compilerOptions)}var w=e.Debug.checkDefined(T.program).getBindAndCheckDiagnostics(Z,B);return T.semanticDiagnosticsPerFile&&T.semanticDiagnosticsPerFile.set(u,w),e.filterSemanticDiagnostics(w,T.compilerOptions)}function X(T){return!!e.outFile(T.options||{})}e.isProgramBundleEmitBuildInfo=X;function M(T,Z){var B=e.outFile(T.compilerOptions);if(B&&!T.compilerOptions.composite)return;var u=e.Debug.checkDefined(T.program).getCurrentDirectory(),A=e.getDirectoryPath(e.getNormalizedAbsolutePath(e.getTsBuildInfoEmitOutputFilePath(T.compilerOptions),u)),w=T.latestChangedDtsFile?ln(T.latestChangedDtsFile):void 0;if(B){var z=[],U=[];T.program.getRootFileNames().forEach(function(Cr){var rn=T.program.getSourceFile(Cr);!rn||(z.push(dr(rn.resolvedPath)),U.push(rn.version))});var ge={fileNames:z,fileInfos:U,options:Ur(T.compilerOptions,"affectsBundleEmitBuildInfo"),outSignature:T.outSignature,latestChangedDtsFile:w};return ge}var pe=[],He=new e.Map,Be,Me,Le,Ae=e.arrayFrom(T.fileInfos.entries(),function(Cr){var rn,Br,pn=Cr[0],ve=Cr[1],or=vr(pn);e.Debug.assert(pe[or-1]===dr(pn));var Ee=(rn=T.oldSignatures)===null||rn===void 0?void 0:rn.get(pn),ze=Ee!==void 0?Ee||void 0:ve.signature;if(T.compilerOptions.composite){var Ar=T.program.getSourceFileByPath(pn);if(!e.isJsonSourceFile(Ar)&&e.sourceFileMayBeEmitted(Ar,T.program)){var xe=(Br=T.emitSignatures)===null||Br===void 0?void 0:Br.get(pn);xe!==ze&&(Le||(Le=[])).push(xe===void 0?or:[or,xe])}}return ve.version===ze?ve.affectsGlobalScope||ve.impliedFormat?{version:ve.version,signature:void 0,affectsGlobalScope:ve.affectsGlobalScope,impliedFormat:ve.impliedFormat}:ve.version:ze!==void 0?Ee===void 0?ve:{version:ve.version,signature:ze,affectsGlobalScope:ve.affectsGlobalScope,impliedFormat:ve.impliedFormat}:{version:ve.version,signature:!1,affectsGlobalScope:ve.affectsGlobalScope,impliedFormat:ve.impliedFormat}}),Xe;T.referencedMap&&(Xe=e.arrayFrom(T.referencedMap.keys()).sort(e.compareStringsCaseSensitive).map(function(Cr){return[vr(Cr),kr(T.referencedMap.getValues(Cr))]}));var Ne;T.exportedModulesMap&&(Ne=e.mapDefined(e.arrayFrom(T.exportedModulesMap.keys()).sort(e.compareStringsCaseSensitive),function(Cr){var rn,Br=(rn=T.oldExportedModulesMap)===null||rn===void 0?void 0:rn.get(Cr);if(Br===void 0)return[vr(Cr),kr(T.exportedModulesMap.getValues(Cr))];if(Br)return[vr(Cr),kr(Br)]}));var Oe;if(T.semanticDiagnosticsPerFile)for(var be=0,Y=e.arrayFrom(T.semanticDiagnosticsPerFile.keys()).sort(e.compareStringsCaseSensitive);be1||O.charCodeAt(0)!==47;if(p&&O.search(/[a-zA-Z]:/)!==0&&Q.search(/[a-zA-Z]\$\//)===0){if(_e=O.indexOf(e.directorySeparator,_e+1),_e===-1)return!1;Q=O.substring(ie+Q.length,_e+1)}if(p&&Q.search(/users\//i)!==0)return!0;for(var D=_e+1,le=2;le>0;le--)if(D=O.indexOf(e.directorySeparator,D)+1,D===0)return!1;return!0}e.canWatchDirectoryOrFile=ne;function K(O,ie,_e){var Q,p,D,le=e.createMultiMap(),de=[],te=[],oe=e.createMultiMap(),ae=new e.Map,E=!1,I,f,m,y,S,k=e.memoize(function(){return O.getCurrentDirectory()}),C=O.getCachedDirectoryStructureHost(),me=new e.Map,De=e.createCacheWithRedirects(),X=e.createCacheWithRedirects(),M=e.createModuleResolutionCache(k(),O.getCanonicalFileName,void 0,De,X),H=new e.Map,V=e.createCacheWithRedirects(),h=e.createTypeReferenceDirectiveResolutionCache(k(),O.getCanonicalFileName,void 0,M.getPackageJsonInfoCache(),V),F=[".ts",".tsx",".js",".jsx",".json"],$=new e.Map,L=new e.Map,P=new e.Map,N=ie&&e.removeTrailingDirectorySeparator(e.getNormalizedAbsolutePath(ie,k())),J=N&&O.toPath(N),q=J!==void 0?J.split(e.directorySeparator).length:0,G=new e.Map;return{getModuleResolutionCache:function(){return M},startRecordingFilesWithChangedResolutions:Z,finishRecordingFilesWithChangedResolutions:B,startCachingPerDirectoryResolution:w,finishCachingPerDirectoryResolution:z,resolveModuleNames:Be,getResolvedModuleWithFailedLookupLocationsFromCache:Me,resolveTypeReferenceDirectives:He,removeResolutionsFromProjectReferenceRedirects:mr,removeResolutionsOfFile:Ue,hasChangedAutomaticTypeDirectiveNames:function(){return E},invalidateResolutionOfFile:qr,invalidateResolutionsOfFailedLookupLocations:vr,setFilesWithInvalidatedNonRelativeUnresolvedImports:ln,createHasInvalidatedResolutions:A,isFileWithInvalidatedNonRelativeUnresolvedImports:u,updateTypeRootsWatch:ve,closeTypeRootsWatch:rn,clear:T};function ye(Ee){return Ee.resolvedModule}function b(Ee){return Ee.resolvedTypeReferenceDirective}function x(Ee,ze){return Ee===void 0||ze.length<=Ee.length?!1:e.startsWith(ze,Ee)&&ze[Ee.length]===e.directorySeparator}function T(){e.clearMap(L,e.closeFileWatcherOf),e.clearMap(P,e.closeFileWatcherOf),$.clear(),le.clear(),rn(),me.clear(),H.clear(),oe.clear(),de.length=0,te.length=0,m=void 0,y=void 0,S=void 0,f=void 0,I=void 0,M.clear(),h.clear(),ae.clear(),E=!1}function Z(){Q=[]}function B(){var Ee=Q;return Q=void 0,Ee}function u(Ee){if(!D)return!1;var ze=D.get(Ee);return!!ze&&!!ze.length}function A(Ee){vr();var ze=p;return p=void 0,function(Ar){return Ee(Ar)||!!(ze==null?void 0:ze.has(Ar))||u(Ar)}}function w(){M.clearAllExceptPackageJsonInfoCache(),h.clearAllExceptPackageJsonInfoCache(),le.forEach(j),le.clear()}function z(Ee,ze){D=void 0,le.forEach(j),le.clear(),Ee!==ze&&(Ee==null||Ee.getSourceFiles().forEach(function(Ar){for(var xe,cr,Mr,Rr=e.isExternalOrCommonJsModule(Ar)&&(cr=(xe=Ar.packageJsonLocations)===null||xe===void 0?void 0:xe.length)!==null&&cr!==void 0?cr:0,Qr=(Mr=ae.get(Ar.path))!==null&&Mr!==void 0?Mr:e.emptyArray,en=Qr.length;enRr)for(var en=Rr;enq+1?{dir:xe.slice(0,q+1).join(e.directorySeparator),dirPath:Ar.slice(0,q+1).join(e.directorySeparator)}:{dir:N,dirPath:J,nonRecursive:!1}}return Xe(e.getDirectoryPath(e.getNormalizedAbsolutePath(Ee,k())),e.getDirectoryPath(ze))}function Xe(Ee,ze){for(;e.pathContainsNodeModules(ze);)Ee=e.getDirectoryPath(Ee),ze=e.getDirectoryPath(ze);if(e.isNodeModulesDirectory(ze))return ne(e.getDirectoryPath(ze))?{dir:Ee,dirPath:ze}:void 0;var Ar=!0,xe,cr;if(J!==void 0)for(;!x(ze,J);){var Mr=e.getDirectoryPath(ze);if(Mr===ze)break;Ar=!1,xe=ze,cr=Ee,ze=Mr,Ee=e.getDirectoryPath(Ee)}return ne(ze)?{dir:cr||Ee,dirPath:xe||ze,nonRecursive:Ar}:void 0}function Ne(Ee){return e.fileExtensionIsOneOf(Ee,F)}function Oe(Ee,ze,Ar,xe){if(ze.refCount)ze.refCount++,e.Debug.assertIsDefined(ze.files);else{ze.refCount=1,e.Debug.assert(e.length(ze.files)===0),e.isExternalModuleNameRelative(Ee)?be(ze):le.add(Ee,ze);var cr=xe(ze);cr&&cr.resolvedFileName&&oe.add(O.toPath(cr.resolvedFileName),ze)}(ze.files||(ze.files=[])).push(Ar)}function be(Ee){e.Debug.assert(!!Ee.refCount);var ze=Ee.failedLookupLocations,Ar=Ee.affectingLocations;if(!(!ze.length&&!Ar.length)){ze.length&&de.push(Ee);for(var xe=!1,cr=0,Mr=ze;cr1),$.set(Ie,Lr-1))),xr===J?Rr=!0:Re(xr)}}Rr&&Re(J)}else Mr.length&&e.unorderedRemoveItem(te,Ee);for(var xn=0,An=Mr;xn1&&Le.sort(k),w.push.apply(w,Le));var Ae=e.getDirectoryPath(Be);if(Ae===Be)return U=Be,"break";Be=Ae,U=Be},U,ge=e.getDirectoryPath(x);u.size!==0;){var pe=z(ge);if(ge=U,pe==="break")break}if(u.size){var He=e.arrayFrom(u.values());He.length>1&&He.sort(k),w.push.apply(w,He)}return w}function M(x,T){var Z,B=(Z=x.declarations)===null||Z===void 0?void 0:Z.find(function(w){return e.isNonGlobalAmbientModule(w)&&(!e.isExternalModuleAugmentation(w)||!e.isExternalModuleNameRelative(e.getTextOfIdentifierOrLiteral(w.name)))});if(B)return B.name.text;var u=e.mapDefined(x.declarations,function(w){var z,U,ge,pe;if(!e.isModuleDeclaration(w))return;var He=Ae(w);if(!(((z=He==null?void 0:He.parent)===null||z===void 0?void 0:z.parent)&&e.isModuleBlock(He.parent)&&e.isAmbientModule(He.parent.parent)&&e.isSourceFile(He.parent.parent.parent)))return;var Be=(pe=(ge=(U=He.parent.parent.symbol.exports)===null||U===void 0?void 0:U.get("export="))===null||ge===void 0?void 0:ge.valueDeclaration)===null||pe===void 0?void 0:pe.expression;if(!Be)return;var Me=T.getSymbolAtLocation(Be);if(!Me)return;var Le=(Me==null?void 0:Me.flags)&2097152?T.getAliasedSymbol(Me):Me;if(Le===w.symbol)return He.parent.parent;function Ae(Xe){for(;Xe.flags&4;)Xe=Xe.parent;return Xe}}),A=u[0];if(A)return A.name.text}function H(x,T,Z){if(e.getEmitModuleResolutionKind(T)>=e.ModuleResolutionKind.Node16&&Z===e.ModuleKind.ESNext)return[2];switch(x){case 2:return[2,0,1];case 1:return[1,0,2];case 0:return[0,1,2];default:e.Debug.assertNever(x)}}function V(x,T,Z,B,u){for(var A in T)for(var w=function(Be){var Me=e.normalizePath(Be),Le=Me.indexOf("*"),Ae=Z.map(function(Se){return{ending:Se,value:J(x,Se,u)}});if(e.tryGetExtensionFromPath(Me)&&Ae.push({ending:void 0,value:x}),Le!==-1)for(var Xe=Me.substring(0,Le),Ne=Me.substring(Le+1),Oe=0,be=Ae;Oe=Xe.length+Ne.length&&e.startsWith(j,Xe)&&e.endsWith(j,Ne)&&He({ending:d,value:j})){var Ce=j.substring(Xe.length,j.length-Ne.length);return{value:A.replace("*",Ce)}}}else if(e.some(Ae,function(Se){return Se.ending!==0&&Me===Se.value})||e.some(Ae,function(Se){return Se.ending===0&&Me===Se.value&&He(Se)}))return{value:A}},z=0,U=T[A];z=0||e.isApplicableVersionedTypesKey(A,Xe)){var Ne=u[Xe],Oe=F(x,T,Z,B,Ne,A);if(Oe)return Oe}}}}}function $(x,T,Z,B,u,A){var w=N(T,x,B);if(w!==void 0){var z=N(Z,x,B),U=e.flatMap(z,function(pe){return e.map(w,function(He){return e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(pe,He,B))})}),ge=e.min(U,e.compareNumberOfDirectorySeparators);if(!!ge)return e.getEmitModuleResolutionKind(A)===e.ModuleResolutionKind.NodeJs?J(ge,u,A):e.removeFileExtension(ge)}}function L(x,T,Z,B,u,A,w,z){var U=x.path,ge=x.isRedirect,pe=T.getCanonicalFileName,He=T.sourceDirectory;if(!B.fileExists||!B.readFile)return;var Be=e.getNodeModulePathParts(U);if(!Be)return;var Me=O(B,A,u,Z),Le=U,Ae=!1;if(!w)for(var Xe=Be.packageRootIndex,Ne=void 0;;){var Oe=wr(Xe),be=Oe.moduleFileToTry,Y=Oe.packageRootPath,d=Oe.blockedByExports,j=Oe.verbatimFromExports;if(e.getEmitModuleResolutionKind(u)!==e.ModuleResolutionKind.Classic){if(d)return;if(j)return be}if(Y){Le=Y,Ae=!0;break}if(Ne||(Ne=be),Xe=U.indexOf(e.directorySeparator,Xe+1),Xe===-1){Le=J(Ne,Me.ending,u,B);break}}if(ge&&!Ae)return;var Ce=B.getGlobalTypingsCacheLocation&&B.getGlobalTypingsCacheLocation(),Se=pe(Le.substring(0,Be.topLevelNodeModulesIndex));if(!(e.startsWith(He,Se)||Ce&&e.startsWith(pe(Ce),Se)))return;var Re=Le.substring(Be.topLevelPackageNameIndex+1),er=e.getPackageNameFromTypesPackageName(Re);return e.getEmitModuleResolutionKind(u)===e.ModuleResolutionKind.Classic&&er===Re?void 0:er;function wr(mr){var Ue,t,qr=U.substring(0,mr),ln=e.combinePaths(qr,"package.json"),dr=U,vr=!1,kr=(t=(Ue=B.getPackageJsonInfoCache)===null||Ue===void 0?void 0:Ue.call(B))===null||t===void 0?void 0:t.getPackageJsonInfo(ln);if(typeof kr=="object"||kr===void 0&&B.fileExists(ln)){var Ur=(kr==null?void 0:kr.contents.packageJsonContent)||JSON.parse(B.readFile(ln)),Cr=z||Z.impliedNodeFormat;if(e.getEmitModuleResolutionKind(u)===e.ModuleResolutionKind.Node16||e.getEmitModuleResolutionKind(u)===e.ModuleResolutionKind.NodeNext){var rn=["node",Cr===e.ModuleKind.ESNext?"import":"require","types"],Br=Ur.exports&&typeof Ur.name=="string"?F(u,U,qr,e.getPackageNameFromTypesPackageName(Ur.name),Ur.exports,rn):void 0;if(Br){var pn=e.hasTSFileExtension(Br.moduleFileToTry)?{moduleFileToTry:e.removeFileExtension(Br.moduleFileToTry)+G(Br.moduleFileToTry,u)}:Br;return vi(vi({},pn),{verbatimFromExports:!0})}if(Ur.exports)return{moduleFileToTry:U,blockedByExports:!0}}var ve=Ur.typesVersions?e.getPackageJsonTypesVersionsPaths(Ur.typesVersions):void 0;if(ve){var or=U.slice(qr.length+1),Ee=V(or,ve.paths,H(Me.ending,u,Cr),B,u);Ee===void 0?vr=!0:dr=e.combinePaths(qr,Ee)}var ze=Ur.typings||Ur.types||Ur.main||"index.js";if(e.isString(ze)&&!(vr&&e.matchPatternOrExact(e.tryParsePatterns(ve.paths),ze))){var Ar=e.toPath(ze,qr,pe);if(e.removeFileExtension(Ar)===e.removeFileExtension(pe(dr)))return{packageRootPath:qr,moduleFileToTry:dr}}}else{var xe=pe(dr.substring(Be.packageRootIndex+1));if(xe==="index.d.ts"||xe==="index.js"||xe==="index.ts"||xe==="index.tsx")return{moduleFileToTry:dr,packageRootPath:qr}}return{moduleFileToTry:dr}}}function P(x,T){if(!!x.fileExists)for(var Z=e.flatten(e.getSupportedExtensions({allowJs:!0},[{extension:"node",isMixedContent:!1},{extension:"json",isMixedContent:!1,scriptKind:6}])),B=0,u=Z;B1?te(G,q):"";return"".concat(J).concat(e.flattenDiagnosticMessageText(x.messageText,J)).concat(J).concat(J).concat(T)}e.getErrorSummaryText=de;function te(P,N){var J=P.filter(function(u,A,w){return A===w.findIndex(function(z){return(z==null?void 0:z.fileName)===(u==null?void 0:u.fileName)})});if(J.length===0)return"";var q=function(u){return Math.log(u)*Math.LOG10E+1},G=J.map(function(u){return[u,e.countWhere(P,function(A){return A.fileName===u.fileName})]}),ye=G.reduce(function(u,A){return Math.max(u,A[1]||0)},0),b=e.Diagnostics.Errors_Files.message,x=b.split(" ")[0].length,T=Math.max(x,q(ye)),Z=Math.max(q(ye)-x,0),B="";return B+=" ".repeat(Z)+b+` `,G.forEach(function(u){var A=u[0],w=u[1],z=Math.log(w)*Math.LOG10E+1|0,U=z0?e.ExitStatus.DiagnosticsPresent_OutputsSkipped:B.length>0?e.ExitStatus.DiagnosticsPresent_OutputsGenerated:e.ExitStatus.Success}e.emitFilesAndReportErrorsAndGetExitStatus=C,e.noopFileWatcher={close:e.noop},e.returnNoopFileWatcher=function(){return e.noopFileWatcher};function me(P,N){P===void 0&&(P=e.sys);var J=N||ie(P);return{onWatchStatusChange:J,watchFile:e.maybeBind(P,P.watchFile)||e.returnNoopFileWatcher,watchDirectory:e.maybeBind(P,P.watchDirectory)||e.returnNoopFileWatcher,setTimeout:e.maybeBind(P,P.setTimeout)||e.noop,clearTimeout:e.maybeBind(P,P.clearTimeout)||e.noop}}e.createWatchHost=me,e.WatchType={ConfigFile:"Config file",ExtendedConfigFile:"Extended config file",SourceFile:"Source file",MissingFile:"Missing file",WildcardDirectory:"Wild card directory",FailedLookupLocations:"Failed Lookup Locations",AffectingFileLocation:"File location affecting resolution",TypeRoots:"Type roots",ConfigFileOfReferencedProject:"Config file of referened project",ExtendedConfigOfReferencedProject:"Extended config file of referenced project",WildcardDirectoryOfReferencedProject:"Wild card directory of referenced project",PackageJson:"package.json file",ClosedScriptInfo:"Closed Script info",ConfigFileForInferredRoot:"Config file for the inferred project root",NodeModules:"node_modules for closed script infos and package.jsons affecting module specifier cache",MissingSourceMapFile:"Missing source map file",NoopConfigFileForInferredRoot:"Noop Config file for the inferred project root",MissingGeneratedFile:"Missing generated file",NodeModulesForModuleSpecifierCache:"node_modules for module specifier cache invalidation"};function De(P,N){var J=P.trace?N.extendedDiagnostics?e.WatchLogLevel.Verbose:N.diagnostics?e.WatchLogLevel.TriggerOnly:e.WatchLogLevel.None:e.WatchLogLevel.None,q=J!==e.WatchLogLevel.None?function(ye){return P.trace(ye)}:e.noop,G=e.getWatchFactory(P,J,q);return G.writeLog=q,G}e.createWatchFactory=De;function X(P,N,J){J===void 0&&(J=P);var q=P.useCaseSensitiveFileNames(),G=e.memoize(function(){return P.getNewLine()}),ye={getSourceFile:function(x,T,Z){var B;try{e.performance.mark("beforeIORead");var u=N().charset;B=u?P.readFile(x,u):ye.readFile(x),e.performance.mark("afterIORead"),e.performance.measure("I/O Read","beforeIORead","afterIORead")}catch(A){Z&&Z(A.message),B=""}return B!==void 0?e.createSourceFile(x,B,T):void 0},getDefaultLibLocation:e.maybeBind(P,P.getDefaultLibLocation),getDefaultLibFileName:function(x){return P.getDefaultLibFileName(x)},writeFile:b,getCurrentDirectory:e.memoize(function(){return P.getCurrentDirectory()}),useCaseSensitiveFileNames:function(){return q},getCanonicalFileName:e.createGetCanonicalFileName(q),getNewLine:function(){return e.getNewLineCharacter(N(),G)},fileExists:function(x){return P.fileExists(x)},readFile:function(x){return P.readFile(x)},trace:e.maybeBind(P,P.trace),directoryExists:e.maybeBind(J,J.directoryExists),getDirectories:e.maybeBind(J,J.getDirectories),realpath:e.maybeBind(P,P.realpath),getEnvironmentVariable:e.maybeBind(P,P.getEnvironmentVariable)||function(){return""},createHash:e.maybeBind(P,P.createHash),readDirectory:e.maybeBind(P,P.readDirectory),disableUseFileVersionAsSignature:P.disableUseFileVersionAsSignature,storeFilesChangingSignatureDuringEmit:P.storeFilesChangingSignatureDuringEmit};return ye;function b(x,T,Z,B){try{e.performance.mark("beforeIOWrite"),e.writeFileEnsuringDirectories(x,T,Z,function(u,A,w){return P.writeFile(u,A,w)},function(u){return P.createDirectory(u)},function(u){return P.directoryExists(u)}),e.performance.mark("afterIOWrite"),e.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(u){B&&B(u.message)}}}e.createCompilerHostFromProgramHost=X;function M(P){var N=P.getSourceFile,J=e.maybeBind(P,P.createHash)||e.generateDjb2Hash;P.getSourceFile=function(){for(var q=[],G=0;Ghr)}}}function q(xe,cr,Mr){var Rr=xe.options;return cr.type!==e.UpToDateStatusType.OutOfDateWithPrepend||Rr.force?!0:Mr.fileNames.length===0||!!e.getConfigFileParsingDiagnostics(Mr).length||!e.isIncrementalCompilation(Mr.options)}function G(xe,cr,Mr){if(!!xe.projectPendingBuild.size&&!_e(cr))for(var Rr=xe.options,Qr=xe.projectPendingBuild,en=0;enue&&(Qe=_r,ue=Or)}if(!Dr)for(var Wn=e.getAllProjectOutputs(cr,!ai.useCaseSensitiveFileNames()),bn=z(xe,Mr),qn=0,yn=Wn;qn=0}ne.hasArgument=se;function O(_e){var Q=e.sys.args.indexOf(_e);return Q>=0&&QD)return 2;if(ae.charCodeAt(0)===46)return 3;if(ae.charCodeAt(0)===95)return 4;if(E){var I=/^@([^/]+)\/([^/]+)$/.exec(ae);if(I){var f=de(I[1],!1);if(f!==0)return{name:I[1],isScopeName:!0,result:f};var m=de(I[2],!1);return m!==0?{name:I[2],isScopeName:!1,result:m}:0}}return encodeURIComponent(ae)!==ae?5:0}function te(ae,E){return typeof ae=="object"?oe(E,ae.result,ae.name,ae.isScopeName):oe(E,ae,E,!1)}ne.renderPackageNameValidationFailure=te;function oe(ae,E,I,f){var m=f?"Scope":"Package";switch(E){case 1:return"'".concat(ae,"':: ").concat(m," name '").concat(I,"' cannot be empty");case 2:return"'".concat(ae,"':: ").concat(m," name '").concat(I,"' should be less than ").concat(D," characters");case 3:return"'".concat(ae,"':: ").concat(m," name '").concat(I,"' cannot start with '.'");case 4:return"'".concat(ae,"':: ").concat(m," name '").concat(I,"' cannot start with '_'");case 5:return"'".concat(ae,"':: ").concat(m," name '").concat(I,"' contains non URI safe characters");case 0:return e.Debug.fail();default:throw e.Debug.assertNever(E)}}})(o=e.JsTyping||(e.JsTyping={}))})(fr||(fr={}));var fr;(function(e){var o;(function(C){var me=function(){function X(M){this.text=M}return X.prototype.getText=function(M,H){return M===0&&H===this.text.length?this.text:this.text.substring(M,H)},X.prototype.getLength=function(){return this.text.length},X.prototype.getChangeRange=function(){},X}();function De(X){return new me(X)}C.fromString=De})(o=e.ScriptSnapshot||(e.ScriptSnapshot={}));var ne;(function(C){C[C.Dependencies=1]="Dependencies",C[C.DevDependencies=2]="DevDependencies",C[C.PeerDependencies=4]="PeerDependencies",C[C.OptionalDependencies=8]="OptionalDependencies",C[C.All=15]="All"})(ne=e.PackageJsonDependencyGroup||(e.PackageJsonDependencyGroup={}));var K;(function(C){C[C.Off=0]="Off",C[C.On=1]="On",C[C.Auto=2]="Auto"})(K=e.PackageJsonAutoImportPreference||(e.PackageJsonAutoImportPreference={}));var se;(function(C){C[C.Semantic=0]="Semantic",C[C.PartialSemantic=1]="PartialSemantic",C[C.Syntactic=2]="Syntactic"})(se=e.LanguageServiceMode||(e.LanguageServiceMode={})),e.emptyOptions={};var O;(function(C){C.Original="original",C.TwentyTwenty="2020"})(O=e.SemanticClassificationFormat||(e.SemanticClassificationFormat={}));var ie;(function(C){C.All="All",C.SortAndCombine="SortAndCombine",C.RemoveUnused="RemoveUnused"})(ie=e.OrganizeImportsMode||(e.OrganizeImportsMode={}));var _e;(function(C){C[C.Invoked=1]="Invoked",C[C.TriggerCharacter=2]="TriggerCharacter",C[C.TriggerForIncompleteCompletions=3]="TriggerForIncompleteCompletions"})(_e=e.CompletionTriggerKind||(e.CompletionTriggerKind={}));var Q;(function(C){C.Type="Type",C.Parameter="Parameter",C.Enum="Enum"})(Q=e.InlayHintKind||(e.InlayHintKind={}));var p;(function(C){C.none="none",C.definition="definition",C.reference="reference",C.writtenReference="writtenReference"})(p=e.HighlightSpanKind||(e.HighlightSpanKind={}));var D;(function(C){C[C.None=0]="None",C[C.Block=1]="Block",C[C.Smart=2]="Smart"})(D=e.IndentStyle||(e.IndentStyle={}));var le;(function(C){C.Ignore="ignore",C.Insert="insert",C.Remove="remove"})(le=e.SemicolonPreference||(e.SemicolonPreference={}));function de(C){return{indentSize:4,tabSize:4,newLineCharacter:C||` `,convertTabsToSpaces:!0,indentStyle:D.Smart,insertSpaceAfterConstructor:!1,insertSpaceAfterCommaDelimiter:!0,insertSpaceAfterSemicolonInForStatements:!0,insertSpaceBeforeAndAfterBinaryOperators:!0,insertSpaceAfterKeywordsInControlFlowStatements:!0,insertSpaceAfterFunctionKeywordForAnonymousFunctions:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces:!0,insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:!1,insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces:!1,insertSpaceBeforeFunctionParenthesis:!1,placeOpenBraceOnNewLineForFunctions:!1,placeOpenBraceOnNewLineForControlBlocks:!1,semicolons:le.Ignore,trimTrailingWhitespace:!0}}e.getDefaultFormatCodeSettings=de,e.testFormatSettings=de(` `);var te;(function(C){C[C.aliasName=0]="aliasName",C[C.className=1]="className",C[C.enumName=2]="enumName",C[C.fieldName=3]="fieldName",C[C.interfaceName=4]="interfaceName",C[C.keyword=5]="keyword",C[C.lineBreak=6]="lineBreak",C[C.numericLiteral=7]="numericLiteral",C[C.stringLiteral=8]="stringLiteral",C[C.localName=9]="localName",C[C.methodName=10]="methodName",C[C.moduleName=11]="moduleName",C[C.operator=12]="operator",C[C.parameterName=13]="parameterName",C[C.propertyName=14]="propertyName",C[C.punctuation=15]="punctuation",C[C.space=16]="space",C[C.text=17]="text",C[C.typeParameterName=18]="typeParameterName",C[C.enumMemberName=19]="enumMemberName",C[C.functionName=20]="functionName",C[C.regularExpressionLiteral=21]="regularExpressionLiteral",C[C.link=22]="link",C[C.linkName=23]="linkName",C[C.linkText=24]="linkText"})(te=e.SymbolDisplayPartKind||(e.SymbolDisplayPartKind={}));var oe;(function(C){C[C.None=0]="None",C[C.MayIncludeAutoImports=1]="MayIncludeAutoImports",C[C.IsImportStatementCompletion=2]="IsImportStatementCompletion",C[C.IsContinuation=4]="IsContinuation",C[C.ResolvedModuleSpecifiers=8]="ResolvedModuleSpecifiers",C[C.ResolvedModuleSpecifiersBeyondLimit=16]="ResolvedModuleSpecifiersBeyondLimit",C[C.MayIncludeMethodSnippets=32]="MayIncludeMethodSnippets"})(oe=e.CompletionInfoFlags||(e.CompletionInfoFlags={}));var ae;(function(C){C.Comment="comment",C.Region="region",C.Code="code",C.Imports="imports"})(ae=e.OutliningSpanKind||(e.OutliningSpanKind={}));var E;(function(C){C[C.JavaScript=0]="JavaScript",C[C.SourceMap=1]="SourceMap",C[C.Declaration=2]="Declaration"})(E=e.OutputFileType||(e.OutputFileType={}));var I;(function(C){C[C.None=0]="None",C[C.InMultiLineCommentTrivia=1]="InMultiLineCommentTrivia",C[C.InSingleQuoteStringLiteral=2]="InSingleQuoteStringLiteral",C[C.InDoubleQuoteStringLiteral=3]="InDoubleQuoteStringLiteral",C[C.InTemplateHeadOrNoSubstitutionTemplate=4]="InTemplateHeadOrNoSubstitutionTemplate",C[C.InTemplateMiddleOrTail=5]="InTemplateMiddleOrTail",C[C.InTemplateSubstitutionPosition=6]="InTemplateSubstitutionPosition"})(I=e.EndOfLineState||(e.EndOfLineState={}));var f;(function(C){C[C.Punctuation=0]="Punctuation",C[C.Keyword=1]="Keyword",C[C.Operator=2]="Operator",C[C.Comment=3]="Comment",C[C.Whitespace=4]="Whitespace",C[C.Identifier=5]="Identifier",C[C.NumberLiteral=6]="NumberLiteral",C[C.BigIntLiteral=7]="BigIntLiteral",C[C.StringLiteral=8]="StringLiteral",C[C.RegExpLiteral=9]="RegExpLiteral"})(f=e.TokenClass||(e.TokenClass={}));var m;(function(C){C.unknown="",C.warning="warning",C.keyword="keyword",C.scriptElement="script",C.moduleElement="module",C.classElement="class",C.localClassElement="local class",C.interfaceElement="interface",C.typeElement="type",C.enumElement="enum",C.enumMemberElement="enum member",C.variableElement="var",C.localVariableElement="local var",C.functionElement="function",C.localFunctionElement="local function",C.memberFunctionElement="method",C.memberGetAccessorElement="getter",C.memberSetAccessorElement="setter",C.memberVariableElement="property",C.memberAccessorVariableElement="accessor",C.constructorImplementationElement="constructor",C.callSignatureElement="call",C.indexSignatureElement="index",C.constructSignatureElement="construct",C.parameterElement="parameter",C.typeParameterElement="type parameter",C.primitiveType="primitive type",C.label="label",C.alias="alias",C.constElement="const",C.letElement="let",C.directory="directory",C.externalModuleName="external module name",C.jsxAttribute="JSX attribute",C.string="string",C.link="link",C.linkName="link name",C.linkText="link text"})(m=e.ScriptElementKind||(e.ScriptElementKind={}));var y;(function(C){C.none="",C.publicMemberModifier="public",C.privateMemberModifier="private",C.protectedMemberModifier="protected",C.exportedModifier="export",C.ambientModifier="declare",C.staticModifier="static",C.abstractModifier="abstract",C.optionalModifier="optional",C.deprecatedModifier="deprecated",C.dtsModifier=".d.ts",C.tsModifier=".ts",C.tsxModifier=".tsx",C.jsModifier=".js",C.jsxModifier=".jsx",C.jsonModifier=".json",C.dmtsModifier=".d.mts",C.mtsModifier=".mts",C.mjsModifier=".mjs",C.dctsModifier=".d.cts",C.ctsModifier=".cts",C.cjsModifier=".cjs"})(y=e.ScriptElementKindModifier||(e.ScriptElementKindModifier={}));var S;(function(C){C.comment="comment",C.identifier="identifier",C.keyword="keyword",C.numericLiteral="number",C.bigintLiteral="bigint",C.operator="operator",C.stringLiteral="string",C.whiteSpace="whitespace",C.text="text",C.punctuation="punctuation",C.className="class name",C.enumName="enum name",C.interfaceName="interface name",C.moduleName="module name",C.typeParameterName="type parameter name",C.typeAliasName="type alias name",C.parameterName="parameter name",C.docCommentTagName="doc comment tag name",C.jsxOpenTagName="jsx open tag name",C.jsxCloseTagName="jsx close tag name",C.jsxSelfClosingTagName="jsx self closing tag name",C.jsxAttribute="jsx attribute",C.jsxText="jsx text",C.jsxAttributeStringLiteralValue="jsx attribute string literal value"})(S=e.ClassificationTypeNames||(e.ClassificationTypeNames={}));var k;(function(C){C[C.comment=1]="comment",C[C.identifier=2]="identifier",C[C.keyword=3]="keyword",C[C.numericLiteral=4]="numericLiteral",C[C.operator=5]="operator",C[C.stringLiteral=6]="stringLiteral",C[C.regularExpressionLiteral=7]="regularExpressionLiteral",C[C.whiteSpace=8]="whiteSpace",C[C.text=9]="text",C[C.punctuation=10]="punctuation",C[C.className=11]="className",C[C.enumName=12]="enumName",C[C.interfaceName=13]="interfaceName",C[C.moduleName=14]="moduleName",C[C.typeParameterName=15]="typeParameterName",C[C.typeAliasName=16]="typeAliasName",C[C.parameterName=17]="parameterName",C[C.docCommentTagName=18]="docCommentTagName",C[C.jsxOpenTagName=19]="jsxOpenTagName",C[C.jsxCloseTagName=20]="jsxCloseTagName",C[C.jsxSelfClosingTagName=21]="jsxSelfClosingTagName",C[C.jsxAttribute=22]="jsxAttribute",C[C.jsxText=23]="jsxText",C[C.jsxAttributeStringLiteralValue=24]="jsxAttributeStringLiteralValue",C[C.bigintLiteral=25]="bigintLiteral"})(k=e.ClassificationType||(e.ClassificationType={}))})(fr||(fr={}));var fr;(function(e){e.scanner=e.createScanner(99,!0);var o;(function(fe){fe[fe.None=0]="None",fe[fe.Value=1]="Value",fe[fe.Type=2]="Type",fe[fe.Namespace=4]="Namespace",fe[fe.All=7]="All"})(o=e.SemanticMeaning||(e.SemanticMeaning={}));function ne(fe){switch(fe.kind){case 257:return e.isInJSFile(fe)&&e.getJSDocEnumTag(fe)?7:1;case 166:case 205:case 169:case 168:case 299:case 300:case 171:case 170:case 173:case 174:case 175:case 259:case 215:case 216:case 295:case 288:return 1;case 165:case 261:case 262:case 184:return 2;case 348:return fe.name===void 0?1|2:2;case 302:case 260:return 1|2;case 264:return e.isAmbientModule(fe)||e.getModuleInstanceState(fe)===1?4|1:4;case 263:case 272:case 273:case 268:case 269:case 274:case 275:return 7;case 308:return 4|1}return 7}e.getMeaningFromDeclaration=ne;function K(fe){fe=wr(fe);var sr=fe.parent;return fe.kind===308?1:e.isExportAssignment(sr)||e.isExportSpecifier(sr)||e.isExternalModuleReference(sr)||e.isImportSpecifier(sr)||e.isImportClause(sr)||e.isImportEqualsDeclaration(sr)&&fe===sr.name?7:O(fe)?se(fe):e.isDeclarationName(fe)?ne(sr):e.isEntityName(fe)&&e.findAncestor(fe,e.or(e.isJSDocNameReference,e.isJSDocLinkLike,e.isJSDocMemberName))?7:p(fe)?2:ie(fe)?4:e.isTypeParameterDeclaration(sr)?(e.Debug.assert(e.isJSDocTemplateTag(sr.parent)),2):e.isLiteralTypeNode(sr)?2|1:1}e.getMeaningFromLocation=K;function se(fe){var sr=fe.kind===163?fe:e.isQualifiedName(fe.parent)&&fe.parent.right===fe?fe.parent:void 0;return sr&&sr.parent.kind===268?7:4}function O(fe){for(;fe.parent.kind===163;)fe=fe.parent;return e.isInternalModuleImportEqualsDeclaration(fe.parent)&&fe.parent.moduleReference===fe}e.isInRightSideOfInternalImportEqualsDeclaration=O;function ie(fe){return _e(fe)||Q(fe)}function _e(fe){var sr=fe,Tr=!0;if(sr.parent.kind===163){for(;sr.parent&&sr.parent.kind===163;)sr=sr.parent;Tr=sr.right===fe}return sr.parent.kind===180&&!Tr}function Q(fe){var sr=fe,Tr=!0;if(sr.parent.kind===208){for(;sr.parent&&sr.parent.kind===208;)sr=sr.parent;Tr=sr.name===fe}if(!Tr&&sr.parent.kind===230&&sr.parent.parent.kind===294){var Fn=sr.parent.parent.parent;return Fn.kind===260&&sr.parent.parent.token===117||Fn.kind===261&&sr.parent.parent.token===94}return!1}function p(fe){switch(e.isRightSideOfQualifiedNameOrPropertyAccess(fe)&&(fe=fe.parent),fe.kind){case 108:return!e.isExpressionNode(fe);case 194:return!0}switch(fe.parent.kind){case 180:return!0;case 202:return!fe.parent.isTypeOf;case 230:return e.isPartOfTypeNode(fe.parent)}return!1}function D(fe,sr,Tr){return sr===void 0&&(sr=!1),Tr===void 0&&(Tr=!1),m(fe,e.isCallExpression,E,sr,Tr)}e.isCallExpressionTarget=D;function le(fe,sr,Tr){return sr===void 0&&(sr=!1),Tr===void 0&&(Tr=!1),m(fe,e.isNewExpression,E,sr,Tr)}e.isNewExpressionTarget=le;function de(fe,sr,Tr){return sr===void 0&&(sr=!1),Tr===void 0&&(Tr=!1),m(fe,e.isCallOrNewExpression,E,sr,Tr)}e.isCallOrNewExpressionTarget=de;function te(fe,sr,Tr){return sr===void 0&&(sr=!1),Tr===void 0&&(Tr=!1),m(fe,e.isTaggedTemplateExpression,I,sr,Tr)}e.isTaggedTemplateTag=te;function oe(fe,sr,Tr){return sr===void 0&&(sr=!1),Tr===void 0&&(Tr=!1),m(fe,e.isDecorator,E,sr,Tr)}e.isDecoratorTarget=oe;function ae(fe,sr,Tr){return sr===void 0&&(sr=!1),Tr===void 0&&(Tr=!1),m(fe,e.isJsxOpeningLikeElement,f,sr,Tr)}e.isJsxOpeningLikeElementTagName=ae;function E(fe){return fe.expression}function I(fe){return fe.tag}function f(fe){return fe.tagName}function m(fe,sr,Tr,Fn,Si){var gt=Fn?S(fe):y(fe);return Si&&(gt=e.skipOuterExpressions(gt)),!!gt&&!!gt.parent&&sr(gt.parent)&&Tr(gt.parent)===gt}function y(fe){return V(fe)?fe.parent:fe}e.climbPastPropertyAccess=y;function S(fe){return V(fe)||h(fe)?fe.parent:fe}e.climbPastPropertyOrElementAccess=S;function k(fe,sr){for(;fe;){if(fe.kind===253&&fe.label.escapedText===sr)return fe.label;fe=fe.parent}}e.getTargetLabel=k;function C(fe,sr){return e.isPropertyAccessExpression(fe.expression)?fe.expression.name.text===sr:!1}e.hasPropertyAccessExpressionWithName=C;function me(fe){var sr;return e.isIdentifier(fe)&&((sr=e.tryCast(fe.parent,e.isBreakOrContinueStatement))===null||sr===void 0?void 0:sr.label)===fe}e.isJumpStatementTarget=me;function De(fe){var sr;return e.isIdentifier(fe)&&((sr=e.tryCast(fe.parent,e.isLabeledStatement))===null||sr===void 0?void 0:sr.label)===fe}e.isLabelOfLabeledStatement=De;function X(fe){return De(fe)||me(fe)}e.isLabelName=X;function M(fe){var sr;return((sr=e.tryCast(fe.parent,e.isJSDocTag))===null||sr===void 0?void 0:sr.tagName)===fe}e.isTagName=M;function H(fe){var sr;return((sr=e.tryCast(fe.parent,e.isQualifiedName))===null||sr===void 0?void 0:sr.right)===fe}e.isRightSideOfQualifiedName=H;function V(fe){var sr;return((sr=e.tryCast(fe.parent,e.isPropertyAccessExpression))===null||sr===void 0?void 0:sr.name)===fe}e.isRightSideOfPropertyAccess=V;function h(fe){var sr;return((sr=e.tryCast(fe.parent,e.isElementAccessExpression))===null||sr===void 0?void 0:sr.argumentExpression)===fe}e.isArgumentExpressionOfElementAccess=h;function F(fe){var sr;return((sr=e.tryCast(fe.parent,e.isModuleDeclaration))===null||sr===void 0?void 0:sr.name)===fe}e.isNameOfModuleDeclaration=F;function $(fe){var sr;return e.isIdentifier(fe)&&((sr=e.tryCast(fe.parent,e.isFunctionLike))===null||sr===void 0?void 0:sr.name)===fe}e.isNameOfFunctionDeclaration=$;function L(fe){switch(fe.parent.kind){case 169:case 168:case 299:case 302:case 171:case 170:case 174:case 175:case 264:return e.getNameOfDeclaration(fe.parent)===fe;case 209:return fe.parent.argumentExpression===fe;case 164:return!0;case 198:return fe.parent.parent.kind===196;default:return!1}}e.isLiteralNameOfPropertyDeclarationOrIndexAccess=L;function P(fe){return e.isExternalModuleImportEqualsDeclaration(fe.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(fe.parent.parent)===fe}e.isExpressionOfExternalModuleImportEqualsDeclaration=P;function N(fe){for(e.isJSDocTypeAlias(fe)&&(fe=fe.parent.parent);;){if(fe=fe.parent,!fe)return;switch(fe.kind){case 308:case 171:case 170:case 259:case 215:case 174:case 175:case 260:case 261:case 263:case 264:return fe}}}e.getContainerNode=N;function J(fe){switch(fe.kind){case 308:return e.isExternalModule(fe)?"module":"script";case 264:return"module";case 260:case 228:return"class";case 261:return"interface";case 262:case 341:case 348:return"type";case 263:return"enum";case 257:return jt(fe);case 205:return jt(e.getRootDeclaration(fe));case 216:case 259:case 215:return"function";case 174:return"getter";case 175:return"setter";case 171:case 170:return"method";case 299:var sr=fe.initializer;return e.isFunctionLike(sr)?"method":"property";case 169:case 168:case 300:case 301:return"property";case 178:return"index";case 177:return"construct";case 176:return"call";case 173:case 172:return"constructor";case 165:return"type parameter";case 302:return"enum member";case 166:return e.hasSyntacticModifier(fe,16476)?"property":"parameter";case 268:case 273:case 278:case 271:case 277:return"alias";case 223:var Tr=e.getAssignmentDeclarationKind(fe),Fn=fe.right;switch(Tr){case 7:case 8:case 9:case 0:return"";case 1:case 2:var Si=J(Fn);return Si===""?"const":Si;case 3:return e.isFunctionExpression(Fn)?"method":"property";case 4:return"property";case 5:return e.isFunctionExpression(Fn)?"method":"property";case 6:return"local class";default:return e.assertType(Tr),""}case 79:return e.isImportClause(fe.parent)?"alias":"";case 274:var gt=J(fe.expression);return gt===""?"const":gt;default:return""}function jt(fa){return e.isVarConst(fa)?"const":e.isLet(fa)?"let":"var"}}e.getNodeKind=J;function q(fe){switch(fe.kind){case 108:return!0;case 79:return e.identifierIsThisKeyword(fe)&&fe.parent.kind===166;default:return!1}}e.isThis=q;var G=/^\/\/\/\s*=Tr.end}e.startEndContainsRange=B;function u(fe,sr,Tr){return fe.pos<=sr&&fe.end>=Tr}e.rangeContainsStartEnd=u;function A(fe,sr,Tr){return z(fe.pos,fe.end,sr,Tr)}e.rangeOverlapsWithStartEnd=A;function w(fe,sr,Tr,Fn){return z(fe.getStart(sr),fe.end,Tr,Fn)}e.nodeOverlapsWithStartEnd=w;function z(fe,sr,Tr,Fn){var Si=Math.max(fe,Tr),gt=Math.min(sr,Fn);return Sisr?1:no(Eo[Qa],ms,Uo)?Eo[Qa-1]&&no(Eo[Qa-1])?1:0:Fn&&ms===sr&&Eo[Qa-1]&&Eo[Qa-1].getEnd()===sr&&no(Eo[Qa-1])?1:-1});return jt?{value:jt}:Fa>=0&&Eo[Fa]?(gt=Eo[Fa],"continue-outer"):{value:gt}};e:for(;;){var Ka=fa();if(typeof Ka=="object")return Ka.value;switch(Ka){case"continue-outer":continue e}}function no(Eo,Fa,Qa){if(Qa!=null||(Qa=Eo.getEnd()),Qasr))return!1;if(srTr.getStart(fe)&&srfe.end||gt.pos===fe.end;return jt&&Ie(gt,Tr)?Fn(gt):void 0})}}e.findNextToken=kr;function Ur(fe,sr,Tr,Fn){var Si=gt(Tr||sr);return e.Debug.assert(!(Si&&or(Si))),Si;function gt(jt){if(Cr(jt)&&jt.kind!==1)return jt;var fa=jt.getChildren(sr),Ka=e.binarySearchKey(fa,fe,function(Uo,ms){return ms},function(Uo,ms){return fe=fa[Uo-1].end?0:1:-1});if(Ka>=0&&fa[Ka]){var no=fa[Ka];if(fe=fe||!Ie(no,sr)||or(no);if(Fa){var Qa=Br(fa,Ka,sr,jt.kind);return Qa&&rn(Qa,sr)}else return gt(no)}}e.Debug.assert(Tr!==void 0||jt.kind===308||jt.kind===1||e.isJSDocCommentContainingNode(jt));var zo=Br(fa,fa.length,sr,jt.kind);return zo&&rn(zo,sr)}}e.findPrecedingToken=Ur;function Cr(fe){return e.isToken(fe)&&!or(fe)}function rn(fe,sr){if(Cr(fe))return fe;var Tr=fe.getChildren(sr);if(Tr.length===0)return fe;var Fn=Br(Tr,Tr.length,sr,fe.kind);return Fn&&rn(Fn,sr)}function Br(fe,sr,Tr,Fn){for(var Si=sr-1;Si>=0;Si--){var gt=fe[Si];if(or(gt))Si===0&&(Fn===11||Fn===282)&&e.Debug.fail("`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`");else if(Ie(fe[Si],Tr))return fe[Si]}}function pn(fe,sr,Tr){if(Tr===void 0&&(Tr=Ur(sr,fe)),Tr&&e.isStringTextContainingNode(Tr)){var Fn=Tr.getStart(fe),Si=Tr.getEnd();if(FnTr.getStart(fe)}e.isInTemplateString=Ee;function ze(fe,sr){var Tr=qr(fe,sr);return!!(e.isJsxText(Tr)||Tr.kind===18&&e.isJsxExpression(Tr.parent)&&e.isJsxElement(Tr.parent.parent)||Tr.kind===29&&e.isJsxOpeningLikeElement(Tr.parent)&&e.isJsxElement(Tr.parent.parent))}e.isInJSXText=ze;function Ar(fe,sr){function Tr(Fn){for(;Fn;)if(Fn.kind>=282&&Fn.kind<=291||Fn.kind===11||Fn.kind===29||Fn.kind===31||Fn.kind===79||Fn.kind===19||Fn.kind===18||Fn.kind===43)Fn=Fn.parent;else if(Fn.kind===281){if(sr>Fn.getStart(fe))return!0;Fn=Fn.parent}else return!1;return!1}return Tr(qr(fe,sr))}e.isInsideJsxElement=Ar;function xe(fe,sr,Tr){var Fn=e.tokenToString(fe.kind),Si=e.tokenToString(sr),gt=fe.getFullStart(),jt=Tr.text.lastIndexOf(Si,gt);if(jt!==-1){if(Tr.text.lastIndexOf(Fn,gt-1)=sr})}e.getPossibleGenericSignatures=Rr;function Qr(fe,sr){if(sr.text.lastIndexOf("<",fe?fe.pos:sr.text.length)!==-1)for(var Tr=fe,Fn=0,Si=0;Tr;){switch(Tr.kind){case 29:if(Tr=Ur(Tr.getFullStart(),sr),Tr&&Tr.kind===28&&(Tr=Ur(Tr.getFullStart(),sr)),!Tr||!e.isIdentifier(Tr))return;if(!Fn)return e.isDeclarationName(Tr)?void 0:{called:Tr,nTypeArguments:Si};Fn--;break;case 49:Fn=3;break;case 48:Fn=2;break;case 31:Fn++;break;case 19:if(Tr=xe(Tr,18,sr),!Tr)return;break;case 21:if(Tr=xe(Tr,20,sr),!Tr)return;break;case 23:if(Tr=xe(Tr,22,sr),!Tr)return;break;case 27:Si++;break;case 38:case 79:case 10:case 8:case 9:case 110:case 95:case 112:case 94:case 141:case 24:case 51:case 57:case 58:break;default:if(e.isTypeNode(Tr))break;return}Tr=Ur(Tr.getFullStart(),sr)}}e.getPossibleTypeArgumentsInfo=Qr;function en(fe,sr,Tr){return e.formatting.getRangeOfEnclosingComment(fe,sr,void 0,Tr)}e.isInComment=en;function vn(fe,sr){var Tr=qr(fe,sr);return!!e.findAncestor(Tr,e.isJSDoc)}e.hasDocComment=vn;function Ie(fe,sr){return fe.kind===1?!!fe.jsDoc:fe.getWidth(sr)!==0}function We(fe,sr){sr===void 0&&(sr=0);var Tr=[],Fn=e.isDeclaration(fe)?e.getCombinedNodeFlagsAlwaysIncludeJSDoc(fe)&~sr:0;return Fn&8&&Tr.push("private"),Fn&16&&Tr.push("protected"),Fn&4&&Tr.push("public"),(Fn&32||e.isClassStaticBlockDeclaration(fe))&&Tr.push("static"),Fn&256&&Tr.push("abstract"),Fn&1&&Tr.push("export"),Fn&8192&&Tr.push("deprecated"),fe.flags&16777216&&Tr.push("declare"),fe.kind===274&&Tr.push("export"),Tr.length>0?Tr.join(","):""}e.getNodeModifiers=We;function xr(fe){if(fe.kind===180||fe.kind===210)return fe.typeArguments;if(e.isFunctionLike(fe)||fe.kind===260||fe.kind===261)return fe.typeParameters}e.getTypeArgumentOrTypeParameterList=xr;function Lr(fe){return fe===2||fe===3}e.isComment=Lr;function xn(fe){return!!(fe===10||fe===13||e.isTemplateLiteralKind(fe))}e.isStringOrRegularExpressionOrTemplateLiteral=xn;function An(fe){return 18<=fe&&fe<=78}e.isPunctuation=An;function Qn(fe,sr,Tr){return e.isTemplateLiteralKind(fe.kind)&&fe.getStart(Tr)=2||!!fe.noEmit}e.compilerOptionsIndicateEsModules=ti;function Hi(fe,sr){return{fileExists:function(Tr){return fe.fileExists(Tr)},getCurrentDirectory:function(){return sr.getCurrentDirectory()},readFile:e.maybeBind(sr,sr.readFile),useCaseSensitiveFileNames:e.maybeBind(sr,sr.useCaseSensitiveFileNames),getSymlinkCache:e.maybeBind(sr,sr.getSymlinkCache)||fe.getSymlinkCache,getModuleSpecifierCache:e.maybeBind(sr,sr.getModuleSpecifierCache),getPackageJsonInfoCache:function(){var Tr;return(Tr=fe.getModuleResolutionCache())===null||Tr===void 0?void 0:Tr.getPackageJsonInfoCache()},getGlobalTypingsCacheLocation:e.maybeBind(sr,sr.getGlobalTypingsCacheLocation),redirectTargetsMap:fe.redirectTargetsMap,getProjectReferenceRedirect:function(Tr){return fe.getProjectReferenceRedirect(Tr)},isSourceOfProjectReferenceRedirect:function(Tr){return fe.isSourceOfProjectReferenceRedirect(Tr)},getNearestAncestorDirectoryWithPackageJson:e.maybeBind(sr,sr.getNearestAncestorDirectoryWithPackageJson),getFileIncludeReasons:function(){return fe.getFileIncludeReasons()}}}e.createModuleSpecifierResolutionHost=Hi;function Ni(fe,sr){return vi(vi({},Hi(fe,sr)),{getCommonSourceDirectory:function(){return fe.getCommonSourceDirectory()}})}e.getModuleSpecifierResolverHost=Ni;function gi(fe){return fe>=e.ModuleResolutionKind.Node16&&fe<=e.ModuleResolutionKind.NodeNext}e.moduleResolutionRespectsExports=gi;function Pn(fe){return fe===e.ModuleResolutionKind.NodeJs||fe>=e.ModuleResolutionKind.Node16&&fe<=e.ModuleResolutionKind.NodeNext}e.moduleResolutionUsesNodeModules=Pn;function Pe(fe,sr,Tr,Fn){return fe||sr&&sr.length?Ir(fe,sr,Tr,Fn):void 0}e.makeImportIfNecessary=Pe;function Ir(fe,sr,Tr,Fn,Si){return e.factory.createImportDeclaration(void 0,fe||sr?e.factory.createImportClause(!!Si,fe,sr&&sr.length?e.factory.createNamedImports(sr):void 0):void 0,typeof Tr=="string"?we(Tr,Fn):Tr,void 0)}e.makeImport=Ir;function we(fe,sr){return e.factory.createStringLiteral(fe,sr===0)}e.makeStringLiteral=we;var hn;(function(fe){fe[fe.Single=0]="Single",fe[fe.Double=1]="Double"})(hn=e.QuotePreference||(e.QuotePreference={}));function jn(fe,sr){return e.isStringDoubleQuoted(fe,sr)?1:0}e.quotePreferenceFromString=jn;function gn(fe,sr){if(sr.quotePreference&&sr.quotePreference!=="auto")return sr.quotePreference==="single"?0:1;var Tr=fe.imports&&e.find(fe.imports,function(Fn){return e.isStringLiteral(Fn)&&!e.nodeIsSynthesized(Fn.parent)});return Tr?jn(Tr,fe):1}e.getQuotePreference=gn;function nn(fe){switch(fe){case 0:return"'";case 1:return'"';default:return e.Debug.assertNever(fe)}}e.getQuoteFromPreference=nn;function Cn(fe){var sr=Dn(fe);return sr===void 0?void 0:e.unescapeLeadingUnderscores(sr)}e.symbolNameNoDefault=Cn;function Dn(fe){return fe.escapedName!=="default"?fe.escapedName:e.firstDefined(fe.declarations,function(sr){var Tr=e.getNameOfDeclaration(sr);return Tr&&Tr.kind===79?Tr.escapedText:void 0})}e.symbolEscapedNameNoDefault=Dn;function On(fe){return e.isStringLiteralLike(fe)&&(e.isExternalModuleReference(fe.parent)||e.isImportDeclaration(fe.parent)||e.isRequireCall(fe.parent,!1)&&fe.parent.arguments[0]===fe||e.isImportCall(fe.parent)&&fe.parent.arguments[0]===fe)}e.isModuleSpecifierLike=On;function Xn(fe){return e.isBindingElement(fe)&&e.isObjectBindingPattern(fe.parent)&&e.isIdentifier(fe.name)&&!fe.propertyName}e.isObjectBindingElementWithoutPropertyName=Xn;function Ge(fe,sr){var Tr=fe.getTypeAtLocation(sr.parent);return Tr&&fe.getPropertyOfType(Tr,sr.name.text)}e.getPropertySymbolFromBindingElement=Ge;function cn(fe,sr,Tr){if(!!fe)for(;fe.parent;){if(e.isSourceFile(fe.parent)||!Vn(Tr,fe.parent,sr))return fe;fe=fe.parent}}e.getParentNodeInSpan=cn;function Vn(fe,sr,Tr){return e.textSpanContainsPosition(fe,sr.getStart(Tr))&&sr.getEnd()<=e.textSpanEnd(fe)}function Ki(fe,sr){return e.canHaveModifiers(fe)?e.find(fe.modifiers,function(Tr){return Tr.kind===sr}):void 0}e.findModifier=Ki;function dt(fe,sr,Tr,Fn){var Si=e.isArray(Tr)?Tr[0]:Tr,gt=Si.kind===240?e.isRequireVariableStatement:e.isAnyImportSyntax,jt=e.filter(sr.statements,gt),fa=e.isArray(Tr)?e.stableSort(Tr,e.OrganizeImports.compareImportsOrRequireStatements):[Tr];if(!jt.length)fe.insertNodesAtTopOfFile(sr,fa,Fn);else if(jt&&e.OrganizeImports.importsAreSorted(jt))for(var Ka=0,no=fa;Kafe&&Fa&&Fa!=="..."&&(e.isWhiteSpaceLike(Fa.charCodeAt(Fa.length-1))||sr.push(Aa(" ",e.SymbolDisplayPartKind.space)),sr.push(Aa("...",e.SymbolDisplayPartKind.punctuation))),sr},writeKeyword:function(Fa){return fa(Fa,e.SymbolDisplayPartKind.keyword)},writeOperator:function(Fa){return fa(Fa,e.SymbolDisplayPartKind.operator)},writePunctuation:function(Fa){return fa(Fa,e.SymbolDisplayPartKind.punctuation)},writeTrailingSemicolon:function(Fa){return fa(Fa,e.SymbolDisplayPartKind.punctuation)},writeSpace:function(Fa){return fa(Fa,e.SymbolDisplayPartKind.space)},writeStringLiteral:function(Fa){return fa(Fa,e.SymbolDisplayPartKind.stringLiteral)},writeParameter:function(Fa){return fa(Fa,e.SymbolDisplayPartKind.parameterName)},writeProperty:function(Fa){return fa(Fa,e.SymbolDisplayPartKind.propertyName)},writeLiteral:function(Fa){return fa(Fa,e.SymbolDisplayPartKind.stringLiteral)},writeSymbol:Ka,writeLine:no,write:gt,writeComment:gt,getText:function(){return""},getTextPos:function(){return 0},getColumn:function(){return 0},getLine:function(){return 0},isAtStartOfLine:function(){return!1},hasTrailingWhitespace:function(){return!1},hasTrailingComment:function(){return!1},rawWrite:e.notImplemented,getIndent:function(){return Fn},increaseIndent:function(){Fn++},decreaseIndent:function(){Fn--},clear:Eo,trackSymbol:function(){return!1},reportInaccessibleThisError:e.noop,reportInaccessibleUniqueSymbolError:e.noop,reportPrivateInBaseOfClassExpression:e.noop};function jt(){if(!(Si>fe)&&Tr){var Fa=e.getIndentString(Fn);Fa&&(Si+=Fa.length,sr.push(Aa(Fa,e.SymbolDisplayPartKind.space))),Tr=!1}}function fa(Fa,Qa){Si>fe||(jt(),Si+=Fa.length,sr.push(Aa(Fa,Qa)))}function Ka(Fa,Qa){Si>fe||(jt(),Si+=Fa.length,sr.push(ho(Fa,Qa)))}function no(){Si>fe||(Si+=1,sr.push(Nn()),Tr=!0)}function Eo(){sr=[],Tr=!0,Fn=0,Si=0}}function ho(fe,sr){return Aa(fe,Tr(sr));function Tr(Fn){var Si=Fn.flags;return Si&3?za(Fn)?e.SymbolDisplayPartKind.parameterName:e.SymbolDisplayPartKind.localName:Si&4||Si&32768||Si&65536?e.SymbolDisplayPartKind.propertyName:Si&8?e.SymbolDisplayPartKind.enumMemberName:Si&16?e.SymbolDisplayPartKind.functionName:Si&32?e.SymbolDisplayPartKind.className:Si&64?e.SymbolDisplayPartKind.interfaceName:Si&384?e.SymbolDisplayPartKind.enumName:Si&1536?e.SymbolDisplayPartKind.moduleName:Si&8192?e.SymbolDisplayPartKind.methodName:Si&262144?e.SymbolDisplayPartKind.typeParameterName:Si&524288||Si&2097152?e.SymbolDisplayPartKind.aliasName:e.SymbolDisplayPartKind.text}}e.symbolPart=ho;function Aa(fe,sr){return{text:fe,kind:e.SymbolDisplayPartKind[sr]}}e.displayPart=Aa;function Vi(){return Aa(" ",e.SymbolDisplayPartKind.space)}e.spacePart=Vi;function Xi(fe){return Aa(e.tokenToString(fe),e.SymbolDisplayPartKind.keyword)}e.keywordPart=Xi;function ao(fe){return Aa(e.tokenToString(fe),e.SymbolDisplayPartKind.punctuation)}e.punctuationPart=ao;function fo(fe){return Aa(e.tokenToString(fe),e.SymbolDisplayPartKind.operator)}e.operatorPart=fo;function As(fe){return Aa(fe,e.SymbolDisplayPartKind.parameterName)}e.parameterNamePart=As;function so(fe){return Aa(fe,e.SymbolDisplayPartKind.propertyName)}e.propertyNamePart=so;function Xo(fe){var sr=e.stringToToken(fe);return sr===void 0?Ho(fe):Xi(sr)}e.textOrKeywordPart=Xo;function Ho(fe){return Aa(fe,e.SymbolDisplayPartKind.text)}e.textPart=Ho;function Zo(fe){return Aa(fe,e.SymbolDisplayPartKind.aliasName)}e.typeAliasNamePart=Zo;function To(fe){return Aa(fe,e.SymbolDisplayPartKind.typeParameterName)}e.typeParameterNamePart=To;function pr(fe){return Aa(fe,e.SymbolDisplayPartKind.linkText)}e.linkTextPart=pr;function Fr(fe,sr){return{text:fe,kind:e.SymbolDisplayPartKind[e.SymbolDisplayPartKind.linkName],target:{fileName:e.getSourceFileOfNode(sr).fileName,textSpan:Te(sr)}}}e.linkNamePart=Fr;function yi(fe){return Aa(fe,e.SymbolDisplayPartKind.link)}e.linkPart=yi;function Dt(fe,sr){var Tr,Fn=e.isJSDocLink(fe)?"link":e.isJSDocLinkCode(fe)?"linkcode":"linkplain",Si=[yi("{@".concat(Fn," "))];if(!fe.name)fe.text&&Si.push(pr(fe.text));else{var gt=sr==null?void 0:sr.getSymbolAtLocation(fe.name),jt=Pa(fe.text),fa=e.getTextOfNode(fe.name)+fe.text.slice(0,jt),Ka=Ft(fe.text.slice(jt)),no=(gt==null?void 0:gt.valueDeclaration)||((Tr=gt==null?void 0:gt.declarations)===null||Tr===void 0?void 0:Tr[0]);no?(Si.push(Fr(fa,no)),Ka&&Si.push(pr(Ka))):Si.push(pr(fa+(jt||Ka.indexOf("://")===0?"":" ")+Ka))}return Si.push(yi("}")),Si}e.buildLinkParts=Dt;function Ft(fe){var sr=0;if(fe.charCodeAt(sr++)===124){for(;sr"&&sr--,Tr++,!sr)return Tr;return 0}var Ve=`\r `;function tn(fe,sr){var Tr;return(sr==null?void 0:sr.newLineCharacter)||((Tr=fe.getNewLine)===null||Tr===void 0?void 0:Tr.call(fe))||Ve}e.getNewLineOrDefaultFromHost=tn;function Nn(){return Aa(` `,e.SymbolDisplayPartKind.lineBreak)}e.lineBreakPart=Nn;function wn(fe){try{return fe(Co),Co.displayParts()}finally{Co.clear()}}e.mapToDisplayParts=wn;function Je(fe,sr,Tr,Fn){return Fn===void 0&&(Fn=0),wn(function(Si){fe.writeType(sr,Tr,Fn|1024|16384,Si)})}e.typeToDisplayParts=Je;function ur(fe,sr,Tr,Fn,Si){return Si===void 0&&(Si=0),wn(function(gt){fe.writeSymbol(sr,Tr,Fn,Si|8,gt)})}e.symbolToDisplayParts=ur;function yr(fe,sr,Tr,Fn){return Fn===void 0&&(Fn=0),Fn|=16384|1024|32|8192,wn(function(Si){fe.writeSignature(sr,Tr,Fn,void 0,Si)})}e.signatureToDisplayParts=yr;function Jr(fe,sr){var Tr=sr.getSourceFile();return wn(function(Fn){var Si=e.createPrinter({removeComments:!0,omitTrailingSemicolon:!0});Si.writeNode(4,fe,Tr,Fn)})}e.nodeToDisplayParts=Jr;function Mn(fe){return!!fe.parent&&e.isImportOrExportSpecifier(fe.parent)&&fe.parent.propertyName===fe}e.isImportOrExportSpecifierName=Mn;function _i(fe,sr){return e.ensureScriptKind(fe,sr.getScriptKind&&sr.getScriptKind(fe))}e.getScriptKind=_i;function di(fe,sr){for(var Tr=fe;Nt(Tr)||fi(Tr)&&Tr.target;)fi(Tr)&&Tr.target?Tr=Tr.target:Tr=e.skipAlias(Tr,sr);return Tr}e.getSymbolTarget=di;function fi(fe){return(fe.flags&33554432)!=0}function Nt(fe){return(fe.flags&2097152)!=0}function Gt(fe,sr){return e.getSymbolId(e.skipAlias(fe,sr))}e.getUniqueSymbolId=Gt;function la(fe,sr){for(;e.isWhiteSpaceLike(fe.charCodeAt(sr));)sr+=1;return sr}e.getFirstNonSpaceCharacterPosition=la;function na(fe,sr){for(;sr>-1&&e.isWhiteSpaceSingleLine(fe.charCodeAt(sr));)sr-=1;return sr+1}e.getPrecedingNonSpaceCharacterPosition=na;function Ia(fe,sr){sr===void 0&&(sr=!0);var Tr=fe&&ds(fe);return Tr&&!sr&&Es(Tr),Tr}e.getSynthesizedDeepClone=Ia;function bs(fe,sr,Tr){var Fn=Tr(fe);return Fn?e.setOriginalNode(Fn,fe):Fn=ds(fe,Tr),Fn&&!sr&&Es(Fn),Fn}e.getSynthesizedDeepCloneWithReplacements=bs;function ds(fe,sr){var Tr=sr?function(jt){return bs(jt,!0,sr)}:Ia,Fn=sr?function(jt){return jt&&ac(jt,!0,sr)}:function(jt){return jt&&ps(jt)},Si=e.visitEachChild(fe,Tr,e.nullTransformationContext,Fn,Tr);if(Si===fe){var gt=e.isStringLiteral(fe)?e.setOriginalNode(e.factory.createStringLiteralFromNode(fe),fe):e.isNumericLiteral(fe)?e.setOriginalNode(e.factory.createNumericLiteral(fe.text,fe.numericLiteralFlags),fe):e.factory.cloneNode(fe);return e.setTextRange(gt,fe)}return Si.parent=void 0,Si}function ps(fe,sr){return sr===void 0&&(sr=!0),fe&&e.factory.createNodeArray(fe.map(function(Tr){return Ia(Tr,sr)}),fe.hasTrailingComma)}e.getSynthesizedDeepClones=ps;function ac(fe,sr,Tr){return e.factory.createNodeArray(fe.map(function(Fn){return bs(Fn,sr,Tr)}),fe.hasTrailingComma)}e.getSynthesizedDeepClonesWithReplacements=ac;function Es(fe){ns(fe),dc(fe)}e.suppressLeadingAndTrailingTrivia=Es;function ns(fe){js(fe,512,Sc)}e.suppressLeadingTrivia=ns;function dc(fe){js(fe,1024,e.getLastChild)}e.suppressTrailingTrivia=dc;function $s(fe,sr){var Tr=fe.getSourceFile(),Fn=Tr.text;pc(fe,Fn)?Vs(fe,sr,Tr):Ss(fe,sr,Tr),oc(fe,sr,Tr)}e.copyComments=$s;function pc(fe,sr){for(var Tr=fe.getFullStart(),Fn=fe.getStart(),Si=Tr;Si=0),gt}e.getRenameLocation=Mc;function Vs(fe,sr,Tr,Fn,Si){e.forEachLeadingCommentRange(Tr.text,fe.pos,ee(sr,Tr,Fn,Si,e.addSyntheticLeadingComment))}e.copyLeadingComments=Vs;function oc(fe,sr,Tr,Fn,Si){e.forEachTrailingCommentRange(Tr.text,fe.end,ee(sr,Tr,Fn,Si,e.addSyntheticTrailingComment))}e.copyTrailingComments=oc;function Ss(fe,sr,Tr,Fn,Si){e.forEachTrailingCommentRange(Tr.text,fe.pos,ee(sr,Tr,Fn,Si,e.addSyntheticLeadingComment))}e.copyTrailingAsLeadingComments=Ss;function ee(fe,sr,Tr,Fn,Si){return function(gt,jt,fa,Ka){fa===3?(gt+=2,jt-=2):gt+=2,Si(fe,Tr||fa,sr.text.slice(gt,jt),Fn!==void 0?Fn:Ka)}}function Er(fe,sr){if(e.startsWith(fe,sr))return 0;var Tr=fe.indexOf(" "+sr);return Tr===-1&&(Tr=fe.indexOf("."+sr)),Tr===-1&&(Tr=fe.indexOf('"'+sr)),Tr===-1?-1:Tr+1}function un(fe){return e.isBinaryExpression(fe)&&fe.operatorToken.kind===27||e.isObjectLiteralExpression(fe)||e.isAsExpression(fe)&&e.isObjectLiteralExpression(fe.expression)}e.needsParentheses=un;function $n(fe,sr){var Tr=fe.parent;switch(Tr.kind){case 211:return sr.getContextualType(Tr);case 223:{var Fn=Tr,Si=Fn.left,gt=Fn.operatorToken,jt=Fn.right;return at(gt.kind)?sr.getTypeAtLocation(fe===jt?Si:jt):sr.getContextualType(fe)}case 292:return Tr.expression===fe?Ht(Tr,sr):void 0;default:return sr.getContextualType(fe)}}e.getContextualTypeFromParent=$n;function Ii(fe,sr,Tr){var Fn=gn(fe,sr),Si=JSON.stringify(Tr);return Fn===0?"'".concat(e.stripQuotes(Si).replace(/'/g,"\\'").replace(/\\"/g,'"'),"'"):Si}e.quote=Ii;function at(fe){switch(fe){case 36:case 34:case 37:case 35:return!0;default:return!1}}e.isEqualityOperatorKind=at;function Ji(fe){switch(fe.kind){case 10:case 14:case 225:case 212:return!0;default:return!1}}e.isStringLiteralOrTemplate=Ji;function _t(fe){return!!fe.getStringIndexType()||!!fe.getNumberIndexType()}e.hasIndexSignature=_t;function Ht(fe,sr){return sr.getTypeAtLocation(fe.parent.parent.expression)}e.getSwitchedType=Ht,e.ANONYMOUS="anonymous function";function Rt(fe,sr,Tr,Fn){var Si=Tr.getTypeChecker(),gt=!0,jt=function(){return gt=!1},fa=Si.typeToTypeNode(fe,sr,1,{trackSymbol:function(Ka,no,Eo){return gt=gt&&Si.isSymbolAccessible(Ka,no,Eo,!1).accessibility===0,!gt},reportInaccessibleThisError:jt,reportPrivateInBaseOfClassExpression:jt,reportInaccessibleUniqueSymbolError:jt,moduleResolverHost:Ni(Tr,Fn)});return gt?fa:void 0}e.getTypeNodeIfAccessible=Rt;function va(fe){return fe===176||fe===177||fe===178||fe===168||fe===170}function qe(fe){return fe===259||fe===173||fe===171||fe===174||fe===175}function Tn(fe){return fe===264}function Nr(fe){return fe===240||fe===241||fe===243||fe===248||fe===249||fe===250||fe===254||fe===256||fe===169||fe===262||fe===269||fe===268||fe===275||fe===267||fe===274}e.syntaxRequiresTrailingSemicolonOrASI=Nr,e.syntaxMayBeASICandidate=e.or(va,qe,Tn,Nr);function ga(fe,sr){var Tr=fe.getLastToken(sr);if(Tr&&Tr.kind===26)return!1;if(va(fe.kind)){if(Tr&&Tr.kind===27)return!1}else if(Tn(fe.kind)){var Fn=e.last(fe.getChildren(sr));if(Fn&&e.isModuleBlock(Fn))return!1}else if(qe(fe.kind)){var Fn=e.last(fe.getChildren(sr));if(Fn&&e.isFunctionBlock(Fn))return!1}else if(!Nr(fe.kind))return!1;if(fe.kind===243)return!0;var Si=e.findAncestor(fe,function(Ka){return!Ka.parent}),gt=kr(fe,Si,sr);if(!gt||gt.kind===19)return!0;var jt=sr.getLineAndCharacterOfPosition(fe.getEnd()).line,fa=sr.getLineAndCharacterOfPosition(gt.getStart(sr)).line;return jt!==fa}function xa(fe,sr,Tr){var Fn=e.findAncestor(sr,function(Si){return Si.end!==fe?"quit":e.syntaxMayBeASICandidate(Si.kind)});return!!Fn&&ga(Fn,Tr)}e.positionIsASICandidate=xa;function co(fe){var sr=0,Tr=0,Fn=5;return e.forEachChild(fe,function Si(gt){if(Nr(gt.kind)){var jt=gt.getLastToken(fe);(jt==null?void 0:jt.kind)===26?sr++:Tr++}else if(va(gt.kind)){var jt=gt.getLastToken(fe);if((jt==null?void 0:jt.kind)===26)sr++;else if(jt&&jt.kind!==27){var fa=e.getLineAndCharacterOfPosition(fe,jt.getStart(fe)).line,Ka=e.getLineAndCharacterOfPosition(fe,e.getSpanOfTokenAtPosition(fe,jt.end).start).line;fa!==Ka&&Tr++}}return sr+Tr>=Fn?!0:e.forEachChild(gt,Si)}),sr===0&&Tr<=1?!0:sr/Tr>1/Fn}e.probablyUsesSemicolons=co;function gs(fe,sr){return ec(fe,fe.getDirectories,sr)||[]}e.tryGetDirectories=gs;function gc(fe,sr,Tr,Fn,Si){return ec(fe,fe.readDirectory,sr,Tr,Fn,Si)||e.emptyArray}e.tryReadDirectory=gc;function ws(fe,sr){return ec(fe,fe.fileExists,sr)}e.tryFileExists=ws;function Lc(fe,sr){return qs(function(){return e.directoryProbablyExists(sr,fe)})||!1}e.tryDirectoryExists=Lc;function qs(fe){try{return fe()}catch(sr){return}}e.tryAndIgnoreErrors=qs;function ec(fe,sr){for(var Tr=[],Fn=2;Fn=0){var Si=sr[Fn];return e.Debug.assertEqual(Si.file,fe.getSourceFile(),"Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile"),e.cast(Si,Xu)}}e.findDiagnosticForNode=zc;function Zu(fe,sr){var Tr,Fn=e.binarySearchKey(sr,fe.start,function(fa){return fa.start},e.compareValues);for(Fn<0&&(Fn=~Fn);((Tr=sr[Fn-1])===null||Tr===void 0?void 0:Tr.start)===fe.start;)Fn--;for(var Si=[],gt=e.textSpanEnd(fe);;){var jt=e.tryCast(sr[Fn],Xu);if(!jt||jt.start>gt)break;e.textSpanContainsTextSpan(fe,jt)&&Si.push(jt),Fn++}return Si}e.getDiagnosticsWithinSpan=Zu;function Hr(fe){var sr=fe.startPosition,Tr=fe.endPosition;return e.createTextSpanFromBounds(sr,Tr===void 0?sr:Tr)}e.getRefactorContextSpan=Hr;function Gr(fe,sr){var Tr=qr(fe,sr.start),Fn=e.findAncestor(Tr,function(Si){return Si.getStart(fe)e.textSpanEnd(sr)?"quit":e.isExpression(Si)&&Ci(sr,Te(Si,fe))});return Fn}e.getFixableErrorSpanExpression=Gr;function Bn(fe,sr,Tr){return Tr===void 0&&(Tr=e.identity),fe?e.isArray(fe)?Tr(e.map(fe,sr)):sr(fe,0):void 0}e.mapOneOrMany=Bn;function ui(fe){return e.isArray(fe)?e.first(fe):fe}e.firstOrOnly=ui;function hi(fe,sr){if(st(fe)){var Tr=Bi(fe);if(Tr)return Tr;var Fn=e.codefix.moduleSymbolToValidIdentifier(Jt(fe),sr,!1),Si=e.codefix.moduleSymbolToValidIdentifier(Jt(fe),sr,!0);return Fn===Si?Fn:[Fn,Si]}return fe.name}e.getNamesForExportedSymbol=hi;function Ei(fe,sr,Tr){return st(fe)?Bi(fe)||e.codefix.moduleSymbolToValidIdentifier(Jt(fe),sr,!!Tr):fe.name}e.getNameForExportedSymbol=Ei;function st(fe){return!(fe.flags&33554432)&&(fe.escapedName==="export="||fe.escapedName==="default")}function Bi(fe){return e.firstDefined(fe.declarations,function(sr){var Tr;return e.isExportAssignment(sr)?(Tr=e.tryCast(e.skipOuterExpressions(sr.expression),e.isIdentifier))===null||Tr===void 0?void 0:Tr.text:void 0})}function Jt(fe){var sr;return e.Debug.checkDefined(fe.parent,"Symbol parent was undefined. Flags: ".concat(e.Debug.formatSymbolFlags(fe.flags),". ")+"Declarations: ".concat((sr=fe.declarations)===null||sr===void 0?void 0:sr.map(function(Tr){var Fn=e.Debug.formatSyntaxKind(Tr.kind),Si=e.isInJSFile(Tr),gt=Tr.expression;return(Si?"[JS]":"")+Fn+(gt?" (expression: ".concat(e.Debug.formatSyntaxKind(gt.kind),")"):"")}).join(", "),"."))}function Ca(fe,sr,Tr){var Fn=sr.length;if(Fn+Tr>fe.length)return!1;for(var Si=0;SiT&&f.set(N,x)}else f.set(N,x)}}}var Z=$===1,B=Z&&e.getLocalSymbolForExportDefault(H)||H,u=$===0||e.isExternalModuleSymbol(B)?e.unescapeLeadingUnderscores(V):e.getNamesForExportedSymbol(B,void 0),A=typeof u=="string"?u:u[0],w=typeof u=="string"?void 0:u[1],z=e.stripQuotes(h.name),U=ae++,ge=e.skipAlias(H,P),pe=H.flags&33554432?void 0:H,He=h.flags&33554432?void 0:h;(!pe||!He)&&I.set(U,[H,h]),E.add(k(A,H,e.isExternalModuleNameRelative(z)?void 0:z,P),{id:U,symbolTableKey:V,symbolName:A,capitalizedSymbolName:w,moduleName:z,moduleFile:F,moduleFileName:F==null?void 0:F.fileName,packageName:N,exportKind:$,targetFlags:ge.flags,isFromPackageJson:L,symbol:pe,moduleSymbol:He})},get:function(M,H){if(M===m){var V=E.get(H);return V==null?void 0:V.map(S)}},search:function(M,H,V,h){if(M===m)return e.forEachEntry(E,function(F,$){var L=C($),P=L.symbolName,N=L.ambientModuleName,J=H&&F[0].capitalizedSymbolName||P;if(V(J,F[0].targetFlags)){var q=F.map(S),G=q.filter(function(b,x){return X(b,F[x].packageName)});if(G.length){var ye=h(G,J,!!N,$);if(ye!==void 0)return ye}}})},releaseSymbols:function(){I.clear()},onFileChanged:function(M,H,V){return me(M)&&me(H)?!1:m&&m!==H.path||V&&e.consumesNodeCoreModules(M)!==e.consumesNodeCoreModules(H)||!e.arrayIsEqualTo(M.moduleAugmentations,H.moduleAugmentations)||!De(M,H)?(y.clear(),!0):(m=H.path,!1)}};return e.Debug.isDebugging&&Object.defineProperty(y,"__cache",{get:function(){return E}}),y;function S(M){if(M.symbol&&M.moduleSymbol)return M;var H=M.id,V=M.exportKind,h=M.targetFlags,F=M.isFromPackageJson,$=M.moduleFileName,L=I.get(H)||e.emptyArray,P=L[0],N=L[1];if(P&&N)return{symbol:P,moduleSymbol:N,moduleFileName:$,exportKind:V,targetFlags:h,isFromPackageJson:F};var J=(F?oe.getPackageJsonAutoImportProvider():oe.getCurrentProgram()).getTypeChecker(),q=M.moduleSymbol||N||e.Debug.checkDefined(M.moduleFile?J.getMergedSymbol(M.moduleFile.symbol):J.tryFindAmbientModule(M.moduleName)),G=M.symbol||P||e.Debug.checkDefined(V===2?J.resolveExternalModuleSymbol(q):J.tryGetMemberInModuleExportsAndProperties(e.unescapeLeadingUnderscores(M.symbolTableKey),q),"Could not find symbol '".concat(M.symbolName,"' by key '").concat(M.symbolTableKey,"' in module ").concat(q.name));return I.set(H,[G,q]),{symbol:G,moduleSymbol:q,moduleFileName:$,exportKind:V,targetFlags:h,isFromPackageJson:F}}function k(M,H,V,h){var F=V||"";return"".concat(M,"|").concat(e.getSymbolId(e.skipAlias(H,h)),"|").concat(F)}function C(M){var H=M.substring(0,M.indexOf("|")),V=M.substring(M.lastIndexOf("|")+1),h=V===""?void 0:V;return{symbolName:H,ambientModuleName:h}}function me(M){return!M.commonJsModuleIndicator&&!M.externalModuleIndicator&&!M.moduleAugmentations&&!M.ambientModuleNames}function De(M,H){if(!e.arrayIsEqualTo(M.ambientModuleNames,H.ambientModuleNames))return!1;for(var V=-1,h=-1,F=function(J){var q=function(G){return e.isNonGlobalAmbientModule(G)&&G.name.text===J};if(V=e.findIndex(M.statements,q,V+1),h=e.findIndex(H.statements,q,h+1),M.statements[V]!==H.statements[h])return{value:!1}},$=0,L=H.ambientModuleNames;$=me.length){var G=K(S,M,e.lastOrUndefined(V));G!==void 0&&(P=G)}}while(M!==1);function ye(){switch(M){case 43:case 68:!ne[H]&&S.reScanSlashToken()===13&&(M=13);break;case 29:H===79&&J++;break;case 31:J>0&&J--;break;case 131:case 152:case 148:case 134:case 153:J>0&&!X&&(M=79);break;case 15:V.push(M);break;case 18:V.length>0&&V.push(M);break;case 19:if(V.length>0){var b=e.lastOrUndefined(V);b===15?(M=S.reScanTemplateToken(!1),M===17?V.pop():e.Debug.assertEqual(M,16,"Should have been a template middle.")):(e.Debug.assertEqual(b,18,"Should have been an open brace"),V.pop())}break;default:if(!e.isKeyword(M))break;(H===24||e.isKeyword(H)&&e.isKeyword(M)&&!_e(H,M))&&(M=79)}}return{endOfLineState:P,spans:N}}return{getClassificationsForLine:k,getEncodedLexicalClassifications:C}}e.createClassifier=o;var ne=e.arrayToNumericMap([79,10,8,9,13,108,45,46,21,23,19,110,95],function(S){return S},function(){return!0});function K(S,k,C){switch(k){case 10:{if(!S.isUnterminated())return;for(var me=S.getTokenText(),De=me.length-1,X=0;me.charCodeAt(De-X)===92;)X++;return(X&1)==0?void 0:me.charCodeAt(0)===34?3:2}case 3:return S.isUnterminated()?1:void 0;default:if(e.isTemplateLiteralKind(k)){if(!S.isUnterminated())return;switch(k){case 17:return 5;case 14:return 4;default:return e.Debug.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+k)}}return C===15?6:void 0}}function se(S,k,C,me,De){if(me!==8){S===0&&C>0&&(S+=C);var X=k-S;X>0&&De.push(S-C,X,me)}}function O(S,k){for(var C=[],me=S.spans,De=0,X=0;X=0){var h=M-De;h>0&&C.push({length:h,classification:e.TokenClass.Whitespace})}C.push({length:H,classification:ie(V)}),De=M+H}var F=k.length-De;return F>0&&C.push({length:F,classification:e.TokenClass.Whitespace}),{entries:C,finalLexState:S.endOfLineState}}function ie(S){switch(S){case 1:return e.TokenClass.Comment;case 3:return e.TokenClass.Keyword;case 4:return e.TokenClass.NumberLiteral;case 25:return e.TokenClass.BigIntLiteral;case 5:return e.TokenClass.Operator;case 6:return e.TokenClass.StringLiteral;case 8:return e.TokenClass.Whitespace;case 10:return e.TokenClass.Punctuation;case 2:case 11:case 12:case 13:case 14:case 15:case 16:case 9:case 17:return e.TokenClass.Identifier;default:return}}function _e(S,k){if(!e.isAccessibilityModifier(S))return!0;switch(k){case 137:case 151:case 135:case 124:case 127:return!0;default:return!1}}function Q(S){switch(S){case 3:return{prefix:`"\\ `};case 2:return{prefix:`'\\ `};case 1:return{prefix:`/* `};case 4:return{prefix:"`\n"};case 5:return{prefix:`} `,pushTemplate:!0};case 6:return{prefix:"",pushTemplate:!0};case 0:return{prefix:""};default:return e.Debug.assertNever(S)}}function p(S){switch(S){case 41:case 43:case 44:case 39:case 40:case 47:case 48:case 49:case 29:case 31:case 32:case 33:case 102:case 101:case 128:case 150:case 34:case 35:case 36:case 37:case 50:case 52:case 51:case 55:case 56:case 74:case 73:case 78:case 70:case 71:case 72:case 64:case 65:case 66:case 68:case 69:case 63:case 27:case 60:case 75:case 76:case 77:return!0;default:return!1}}function D(S){switch(S){case 39:case 40:case 54:case 53:case 45:case 46:return!0;default:return!1}}function le(S){if(e.isKeyword(S))return 3;if(p(S)||D(S))return 5;if(S>=18&&S<=78)return 10;switch(S){case 8:return 4;case 9:return 25;case 10:return 6;case 13:return 7;case 7:case 3:case 2:return 1;case 5:case 4:return 8;case 79:default:return e.isTemplateLiteralKind(S)?6:2}}function de(S,k,C,me,De){return f(oe(S,k,C,me,De))}e.getSemanticClassifications=de;function te(S,k){switch(k){case 264:case 260:case 261:case 259:case 228:case 215:case 216:S.throwIfCancellationRequested()}}function oe(S,k,C,me,De){var X=[];return C.forEachChild(function H(V){if(!(!V||!e.textSpanIntersectsWith(De,V.pos,V.getFullWidth()))){if(te(k,V.kind),e.isIdentifier(V)&&!e.nodeIsMissing(V)&&me.has(V.escapedText)){var h=S.getSymbolAtLocation(V),F=h&&ae(h,e.getMeaningFromLocation(V),S);F&&M(V.getStart(C),V.getEnd(),F)}V.forEachChild(H)}}),{spans:X,endOfLineState:0};function M(H,V,h){var F=V-H;e.Debug.assert(F>0,"Classification had non-positive length of ".concat(F)),X.push(H),X.push(F),X.push(h)}}e.getEncodedSemanticClassifications=oe;function ae(S,k,C){var me=S.getFlags();if((me&2885600)!=0)return me&32?11:me&384?12:me&524288?16:me&1536?k&4||k&1&&E(S)?14:void 0:me&2097152?ae(C.getAliasedSymbol(S),k,C):k&2?me&64?13:me&262144?15:void 0:void 0}function E(S){return e.some(S.declarations,function(k){return e.isModuleDeclaration(k)&&e.getModuleInstanceState(k)===1})}function I(S){switch(S){case 1:return"comment";case 2:return"identifier";case 3:return"keyword";case 4:return"number";case 25:return"bigint";case 5:return"operator";case 6:return"string";case 8:return"whitespace";case 9:return"text";case 10:return"punctuation";case 11:return"class name";case 12:return"enum name";case 13:return"interface name";case 14:return"module name";case 15:return"type parameter name";case 16:return"type alias name";case 17:return"parameter name";case 18:return"doc comment tag name";case 19:return"jsx open tag name";case 20:return"jsx close tag name";case 21:return"jsx self closing tag name";case 22:return"jsx attribute";case 23:return"jsx text";case 24:return"jsx attribute string literal value";default:return}}function f(S){e.Debug.assert(S.spans.length%3==0);for(var k=S.spans,C=[],me=0;me])*)(\/>)?)?/im,u=/(\s)(\S+)(\s*)(=)(\s*)('[^']+'|"[^"]+")/img,A=k.text.substr(T,Z),w=B.exec(A);if(!w||!w[3]||!(w[3]in e.commentPragmas))return!1;var z=T;$(z,w[1].length),z+=w[1].length,V(z,w[2].length,10),z+=w[2].length,V(z,w[3].length,21),z+=w[3].length;for(var U=w[4],ge=z;;){var pe=u.exec(U);if(!pe)break;var He=z+pe.index+pe[1].length;He>ge&&($(ge,He-ge),ge=He),V(ge,pe[2].length,22),ge+=pe[2].length,pe[3].length&&($(ge,pe[3].length),ge+=pe[3].length),V(ge,pe[4].length,5),ge+=pe[4].length,pe[5].length&&($(ge,pe[5].length),ge+=pe[5].length),V(ge,pe[6].length,24),ge+=pe[6].length}z+=w[4].length,z>ge&&$(ge,z-ge),w[5]&&(V(z,w[5].length,10),z+=w[5].length);var Be=T+Z;return z=0),u>0){var A=Z||b(T.kind,T);A&&V(B,u,A)}return!0}function ye(T){switch(T.parent&&T.parent.kind){case 283:if(T.parent.tagName===T)return 19;break;case 284:if(T.parent.tagName===T)return 20;break;case 282:if(T.parent.tagName===T)return 21;break;case 288:if(T.parent.name===T)return 22;break}}function b(T,Z){if(e.isKeyword(T))return 3;if((T===29||T===31)&&Z&&e.getTypeArgumentOrTypeParameterList(Z.parent))return 10;if(e.isPunctuation(T)){if(Z){var B=Z.parent;if(T===63&&(B.kind===257||B.kind===169||B.kind===166||B.kind===288)||B.kind===223||B.kind===221||B.kind===222||B.kind===224)return 5}return 10}else{if(T===8)return 4;if(T===9)return 25;if(T===10)return Z&&Z.parent.kind===288?24:6;if(T===13)return 6;if(e.isTemplateLiteralKind(T))return 6;if(T===11)return 23;if(T===79){if(Z){switch(Z.parent.kind){case 260:return Z.parent.name===Z?11:void 0;case 165:return Z.parent.name===Z?15:void 0;case 261:return Z.parent.name===Z?13:void 0;case 263:return Z.parent.name===Z?12:void 0;case 264:return Z.parent.name===Z?14:void 0;case 166:return Z.parent.name===Z?e.isThisIdentifier(Z)?3:17:void 0}if(e.isConstTypeReference(Z.parent))return 3}return 2}}}function x(T){if(!!T&&e.decodedTextSpanIntersectsWith(me,De,T.pos,T.getFullWidth())){te(S,T.kind);for(var Z=0,B=T.getChildren(k);Z0}))return 0;if(me(function(De){return De.getCallSignatures().length>0})&&!me(function(De){return De.getProperties().length>0})||I(S))return k===9?11:10}}return k}function oe(y,S){return e.isBindingElement(y)&&(y=ae(y)),e.isVariableDeclaration(y)?(!e.isSourceFile(y.parent.parent.parent)||e.isCatchClause(y.parent))&&y.getSourceFile()===S:e.isFunctionDeclaration(y)?!e.isSourceFile(y.parent)&&y.getSourceFile()===S:!1}function ae(y){for(;;)if(e.isBindingElement(y.parent.parent))y=y.parent.parent;else return y.parent.parent}function E(y){var S=y.parent;return S&&(e.isImportClause(S)||e.isImportSpecifier(S)||e.isNamespaceImport(S))}function I(y){for(;f(y);)y=y.parent;return e.isCallExpression(y.parent)&&y.parent.expression===y}function f(y){return e.isQualifiedName(y.parent)&&y.parent.right===y||e.isPropertyAccessExpression(y.parent)&&y.parent.name===y}var m=new e.Map([[257,7],[166,6],[169,9],[264,3],[263,1],[302,8],[260,0],[171,11],[259,10],[215,10],[170,11],[174,9],[175,9],[168,9],[261,2],[262,5],[165,4],[299,9],[300,9]])})(K=ne.v2020||(ne.v2020={}))})(o=e.classifier||(e.classifier={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K;(function(se){var O,ie=(O={},O.directory=0,O.script=1,O["external module name"]=2,O);function _e(){var Ae=new e.Map;function Xe(Ne){var Oe=Ae.get(Ne.name);(!Oe||ie[Oe.kind]Se.parameters.length)){var Re=Se.getTypeParameterAtPosition(Ne.argumentIndex);if(e.isJsxOpeningLikeElement(Ae)){var er=Oe.getTypeOfPropertyOfType(Re,j.name.text);er&&(Re=er)}return be=be||!!(Re.flags&4),S(Re,Y)}});return e.length(Ce)?{kind:2,types:Ce,isNewIdentifier:be}:void 0}function m(Ae){return Ae&&{kind:1,symbols:e.filter(Ae.getApparentProperties(),function(Xe){return!(Xe.valueDeclaration&&e.isPrivateIdentifierClassElementDeclaration(Xe.valueDeclaration))}),hasIndexSignature:e.hasIndexSignature(Ae)}}function y(Ae,Xe){var Ne=Ae.getContextualType(Xe);if(!!Ne){var Oe=Ae.getContextualType(Xe,4),be=ne.getPropertiesForObjectExpression(Ne,Oe,Xe,Ae);return{kind:1,symbols:be,hasIndexSignature:e.hasIndexSignature(Ne)}}}function S(Ae,Xe){return Xe===void 0&&(Xe=new e.Map),Ae?(Ae=e.skipConstraint(Ae),Ae.isUnion()?e.flatMap(Ae.types,function(Ne){return S(Ne,Xe)}):Ae.isStringLiteral()&&!(Ae.flags&1024)&&e.addToSeen(Xe,Ae.value)?[Ae]:e.emptyArray):e.emptyArray}function k(Ae,Xe,Ne){return{name:Ae,kind:Xe,extension:Ne}}function C(Ae){return k(Ae,"directory",void 0)}function me(Ae,Xe,Ne){var Oe=ge(Ae,Xe),be=Ae.length===0?void 0:e.createTextSpan(Xe,Ae.length);return Ne.map(function(Y){var d=Y.name,j=Y.kind,Ce=Y.extension;return Math.max(d.indexOf(e.directorySeparator),d.indexOf(e.altDirectorySeparator))!==-1?{name:d,kind:j,extension:Ce,span:be}:{name:d,kind:j,extension:Ce,span:Oe}})}function De(Ae,Xe,Ne,Oe,be,Y){return me(Xe.text,Xe.getStart(Ae)+1,X(Ae,Xe,Ne,Oe,be,Y))}function X(Ae,Xe,Ne,Oe,be,Y){var d=e.normalizeSlashes(Xe.text),j=e.isStringLiteralLike(Xe)?e.getModeForUsageLocation(Ae,Xe):void 0,Ce=Ae.path,Se=e.getDirectoryPath(Ce);return pe(d)||!Ne.baseUrl&&(e.isRootedDiskPath(d)||e.isUrl(d))?H(d,Se,Ne,Oe,Ce,Re()):ye(d,Se,j,Ne,Oe,Re(),be);function Re(){var er=e.isStringLiteralLike(Xe)?e.getModeForUsageLocation(Ae,Xe):void 0;return Y.importModuleSpecifierEnding==="js"||er===e.ModuleKind.ESNext?2:0}}function M(Ae,Xe){return Xe===void 0&&(Xe=0),{extensions:e.flatten(F(Ae)),includeExtensionsOption:Xe}}function H(Ae,Xe,Ne,Oe,be,Y){var d=M(Ne,Y);return Ne.rootDirs?L(Ne.rootDirs,Ae,Xe,d,Ne,Oe,be):e.arrayFrom(N(Ae,Xe,d,Oe,be).values())}function V(Ae){return e.getEmitModuleResolutionKind(Ae)===e.ModuleResolutionKind.NodeJs||e.getEmitModuleResolutionKind(Ae)===e.ModuleResolutionKind.Node16||e.getEmitModuleResolutionKind(Ae)===e.ModuleResolutionKind.NodeNext}function h(Ae){return e.getEmitModuleResolutionKind(Ae)===e.ModuleResolutionKind.Node16||e.getEmitModuleResolutionKind(Ae)===e.ModuleResolutionKind.NodeNext}function F(Ae){var Xe=e.getSupportedExtensions(Ae);return V(Ae)?e.getSupportedExtensionsWithJsonIfResolveJsonModule(Ae,Xe):Xe}function $(Ae,Xe,Ne,Oe){Ae=Ae.map(function(Y){return e.normalizePath(e.isRootedDiskPath(Y)?Y:e.combinePaths(Xe,Y))});var be=e.firstDefined(Ae,function(Y){return e.containsPath(Y,Ne,Xe,Oe)?Ne.substr(Y.length):void 0});return e.deduplicate(zn(zn([],Ae.map(function(Y){return e.combinePaths(Y,be)}),!0),[Ne],!1),e.equateStringsCaseSensitive,e.compareStringsCaseSensitive)}function L(Ae,Xe,Ne,Oe,be,Y,d){var j=be.project||Y.getCurrentDirectory(),Ce=!(Y.useCaseSensitiveFileNames&&Y.useCaseSensitiveFileNames()),Se=$(Ae,j,Ne,Ce);return e.flatMap(Se,function(Re){return e.arrayFrom(N(Xe,Re,Oe,Y,d).values())})}var P;(function(Ae){Ae[Ae.Exclude=0]="Exclude",Ae[Ae.Include=1]="Include",Ae[Ae.ModuleSpecifierCompletion=2]="ModuleSpecifierCompletion"})(P||(P={}));function N(Ae,Xe,Ne,Oe,be,Y){var d;Y===void 0&&(Y=_e()),Ae===void 0&&(Ae=""),Ae=e.normalizeSlashes(Ae),e.hasTrailingDirectorySeparator(Ae)||(Ae=e.getDirectoryPath(Ae)),Ae===""&&(Ae="."+e.directorySeparator),Ae=e.ensureTrailingDirectorySeparator(Ae);var j=e.resolvePath(Xe,Ae),Ce=e.hasTrailingDirectorySeparator(j)?j:e.getDirectoryPath(j),Se=e.findPackageJson(Ce,Oe);if(Se){var Re=e.readJson(Se,Oe),er=Re.typesVersions;if(typeof er=="object"){var wr=(d=e.getPackageJsonTypesVersionsPaths(er))===null||d===void 0?void 0:d.paths;if(wr){var mr=e.getDirectoryPath(Se),Ue=j.slice(e.ensureTrailingDirectorySeparator(mr).length);if(q(Y,Ue,mr,Ne,Oe,wr))return Y}}}var t=!(Oe.useCaseSensitiveFileNames&&Oe.useCaseSensitiveFileNames());if(!e.tryDirectoryExists(Oe,Ce))return Y;var qr=e.tryReadDirectory(Oe,Ce,Ne.extensions,void 0,["./*"]);if(qr)for(var ln=0,dr=qr;ln-1||e.isApplicableVersionedTypesKey(Xe,Ne)){var Oe=Ae[Ne];return b(Oe,Xe)}}}function x(Ae){return Me(Ae)?e.hasTrailingDirectorySeparator(Ae)?Ae:e.getDirectoryPath(Ae):void 0}function T(Ae,Xe,Ne,Oe,be,Y){if(!e.endsWith(Ae,"*"))return e.stringContains(Ae,"*")?e.emptyArray:Se(Ae,"script");var d=Ae.slice(0,Ae.length-1),j=e.tryRemovePrefix(Ne,d);if(j===void 0){var Ce=Ae[Ae.length-2]==="/";return Ce?Se(d,"directory"):e.flatMap(Xe,function(Re){var er;return(er=Z("",Oe,Re,be,Y))===null||er===void 0?void 0:er.map(function(wr){var mr=wr.name,Ue=Mm(wr,["name"]);return vi({name:d+mr},Ue)})})}return e.flatMap(Xe,function(Re){return Z(j,Oe,Re,be,Y)});function Se(Re,er){return e.startsWith(Re,Ne)?[{name:e.removeTrailingDirectorySeparator(Re),kind:er,extension:void 0}]:e.emptyArray}}function Z(Ae,Xe,Ne,Oe,be){if(!be.readDirectory)return;var Y=e.tryParsePattern(Ne);if(Y===void 0||e.isString(Y))return;var d=e.resolvePath(Y.prefix),j=e.hasTrailingDirectorySeparator(Y.prefix)?d:e.getDirectoryPath(d),Ce=e.hasTrailingDirectorySeparator(Y.prefix)?"":e.getBaseFileName(d),Se=Me(Ae),Re=Se?e.hasTrailingDirectorySeparator(Ae)?Ae:e.getDirectoryPath(Ae):void 0,er=Se?e.combinePaths(j,Ce+Re):j,wr=e.normalizePath(Y.suffix),mr=e.normalizePath(e.combinePaths(Xe,er)),Ue=Se?mr:e.ensureTrailingDirectorySeparator(mr)+Ce,t=wr?"**/*"+wr:"./*",qr=e.mapDefined(e.tryReadDirectory(be,mr,Oe.extensions,void 0,[t]),function(vr){var kr=dr(vr);if(kr){if(Me(kr))return C(e.getPathComponents(u(kr))[1]);var Ur=J(kr,be.getCompilationSettings(),Oe.includeExtensionsOption),Cr=Ur.name,rn=Ur.extension;return k(Cr,"script",rn)}}),ln=wr?e.emptyArray:e.mapDefined(e.tryGetDirectories(be,mr),function(vr){return vr==="node_modules"?void 0:C(vr)});return zn(zn([],qr,!0),ln,!0);function dr(vr){var kr=B(e.normalizePath(vr),Ue,wr);return kr===void 0?void 0:u(kr)}}function B(Ae,Xe,Ne){return e.startsWith(Ae,Xe)&&e.endsWith(Ae,Ne)?Ae.slice(Xe.length,Ae.length-Ne.length):void 0}function u(Ae){return Ae[0]===e.directorySeparator?Ae.slice(1):Ae}function A(Ae,Xe,Ne){var Oe=Ne.getAmbientModules().map(function(d){return e.stripQuotes(d.name)}),be=Oe.filter(function(d){return e.startsWith(d,Ae)});if(Xe!==void 0){var Y=e.ensureTrailingDirectorySeparator(Xe);return be.map(function(d){return e.removePrefix(d,Y)})}return be}function w(Ae,Xe,Ne,Oe){var be=e.getTokenAtPosition(Ae,Xe),Y=e.getLeadingCommentRanges(Ae.text,be.pos),d=Y&&e.find(Y,function(Ue){return Xe>=Ue.pos&&Xe<=Ue.end});if(!!d){var j=Ae.text.slice(d.pos,Xe),Ce=He.exec(j);if(!!Ce){var Se=Ce[1],Re=Ce[2],er=Ce[3],wr=e.getDirectoryPath(Ae.path),mr=Re==="path"?N(er,wr,M(Ne,1),Oe,Ae.path):Re==="types"?z(Oe,Ne,wr,x(er),M(Ne)):e.Debug.fail();return me(er,d.pos+Se.length,e.arrayFrom(mr.values()))}}}function z(Ae,Xe,Ne,Oe,be,Y){Y===void 0&&(Y=_e());for(var d=new e.Map,j=e.tryAndIgnoreErrors(function(){return e.getEffectiveTypeRoots(Xe,Ae)})||e.emptyArray,Ce=0,Se=j;Ce=2&&Ae.charCodeAt(0)===46){var Xe=Ae.length>=3&&Ae.charCodeAt(1)===46?2:1,Ne=Ae.charCodeAt(Xe);return Ne===47||Ne===92}return!1}var He=/^(\/\/\/\s*0},resolvedBeyondLimit:function(){return qn>ne.moduleSpecifierResolutionLimit}}),ti=Hn?" (".concat((yn/Hn*100).toFixed(1),"% hit rate)"):"";return(_r=Sr.log)===null||_r===void 0||_r.call(Sr,"".concat(je,": resolved ").concat(qn," module specifiers, plus ").concat(bn," ambient and ").concat(yn," from cache").concat(ti)),(Or=Sr.log)===null||Or===void 0||Or.call(Sr,"".concat(je,": response is ").concat(Wn?"incomplete":"complete")),(zr=Sr.log)===null||zr===void 0||zr.call(Sr,"".concat(je,": ").concat(e.timestamp()-fn)),Ai;function Hi(Ni,gi,Pn){if(Pn){var Pe=Te.getModuleSpecifierForBestExportInfo(Ni,gi,Qe,tr);return Pe&&bn++,Pe||"failed"}var Ir=Vr||ue.allowIncompleteCompletions&&qn"),tr=e.createTextSpanFromNode(Te.tagName),hr={name:Ke,kind:"class",kindModifiers:void 0,sortText:ne.SortText.LocationPriority};return{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:!1,optionalReplacementSpan:tr,entries:[hr]}}}function $(je,Sr,Te,Ye,Qe){e.getNameTable(je).forEach(function(ue,Ke){if(ue!==Sr){var tr=e.unescapeLeadingUnderscores(Ke);!Te.has(tr)&&e.isIdentifierText(tr,Ye)&&(Te.add(tr),e.insertSorted(Qe,{name:tr,kind:"warning",kindModifiers:"",sortText:ne.SortText.JavascriptIdentifiers,isFromUncheckedFile:!0},m))}})}function L(je,Sr,Te){return typeof Te=="object"?e.pseudoBigIntToString(Te)+"n":e.isString(Te)?e.quote(je,Sr,Te):JSON.stringify(Te)}function P(je,Sr,Te){return{name:L(je,Sr,Te),kind:"string",kindModifiers:"",sortText:ne.SortText.LocationPriority}}function N(je,Sr,Te,Ye,Qe,ue,Ke,tr,hr,_r,Or,zr,fn,Vr,Wn,bn,qn,yn,Hn,Ai,ti,Hi){var Ni,gi,Pn,Pe=e.getReplacementSpanForContextToken(Te),Ir,we,hn=z(Or),jn,gn,nn,Cn=tr.getTypeChecker(),Dn=Or&&de(Or),On=Or&&ie(Or)||_r;if(Or&&O(Or))Pn=_r?"this".concat(Dn?"?.":"","[").concat(A(ue,yn,hr),"]"):"this".concat(Dn?"?.":".").concat(hr);else if((On||Dn)&&fn){Pn=On?_r?"[".concat(A(ue,yn,hr),"]"):"[".concat(hr,"]"):hr,(Dn||fn.questionDotToken)&&(Pn="?.".concat(Pn));var Xn=e.findChildOfKind(fn,24,ue)||e.findChildOfKind(fn,28,ue);if(!Xn)return;var Ge=e.startsWith(hr,fn.name.text)?fn.name.end:Xn.end;Pe=e.createTextSpanFromBounds(Xn.getStart(ue),Ge)}if(Vr&&(Pn===void 0&&(Pn=hr),Pn="{".concat(Pn,"}"),typeof Vr!="boolean"&&(Pe=e.createTextSpanFromNode(Vr,ue))),Or&&le(Or)&&fn){Pn===void 0&&(Pn=hr);var cn=e.findPrecedingToken(fn.pos,ue),Vn="";cn&&e.positionIsASICandidate(cn.end,cn.parent,ue)&&(Vn=";"),Vn+="(await ".concat(fn.expression.getText(),")"),Pn=_r?"".concat(Vn).concat(Pn):"".concat(Vn).concat(Dn?"?.":".").concat(Pn),Pe=e.createTextSpanFromBounds(fn.getStart(ue),fn.end)}if(Q(Or)&&(jn=[e.textPart(Or.moduleSpecifier)],Wn&&(Ni=u(hr,Wn,Or,bn,ue,qn,yn),Pn=Ni.insertText,Pe=Ni.replacementSpan,we=yn.includeCompletionsWithSnippetText?!0:void 0)),(Or==null?void 0:Or.kind)===64&&(gn=!0),yn.includeCompletionsWithClassMemberSnippets&&yn.includeCompletionsWithInsertText&&Hn===3&&J(je,Qe,ue)){var Ki=void 0;gi=q(Ke,tr,qn,yn,hr,je,Qe,Ye,Ai),Pn=gi.insertText,we=gi.isSnippet,Ki=gi.importAdder,Pe=gi.replacementSpan,Sr=ne.SortText.ClassMemberSnippets,(Ki==null?void 0:Ki.hasFixes())&&(gn=!0,hn=K.ClassMemberSnippet)}if(Or&&oe(Or)&&(Pn=Or.insertText,we=Or.isSnippet,nn=Or.labelDetails,yn.useLabelDetailsInCompletionEntries||(hr=hr+nn.detail,nn=void 0),hn=K.ObjectLiteralMethodSnippet,Sr=ne.SortText.SortBelow(Sr)),ti&&!Hi&&yn.includeCompletionsWithSnippetText&&yn.jsxAttributeCompletionStyle&&yn.jsxAttributeCompletionStyle!=="none"){var dt=yn.jsxAttributeCompletionStyle==="braces",qi=Cn.getTypeOfSymbolAtLocation(je,Qe);yn.jsxAttributeCompletionStyle==="auto"&&!(qi.flags&528)&&!(qi.flags&1048576&&e.find(qi.types,function(Ci){return!!(Ci.flags&528)}))&&(qi.flags&402653316||qi.flags&1048576&&e.every(qi.types,function(Ci){return!!(Ci.flags&(402653316|32768))})?(Pn="".concat(e.escapeSnippetText(hr),"=").concat(e.quote(ue,yn,"$1")),we=!0):dt=!0),dt&&(Pn="".concat(e.escapeSnippetText(hr),"={$1}"),we=!0)}if(!(Pn!==void 0&&!yn.includeCompletionsWithInsertText))return(_e(Or)||Q(Or))&&(Ir=Z(Or),gn=!Wn),{name:hr,kind:e.SymbolDisplay.getSymbolKind(Cn,je,Qe),kindModifiers:e.SymbolDisplay.getSymbolModifiers(Cn,je),sortText:Sr,source:hn,hasAction:gn?!0:void 0,isRecommended:w(je,zr,Cn)||void 0,insertText:Pn,replacementSpan:Pe,sourceDisplay:jn,labelDetails:nn,isSnippet:we,isPackageJsonImport:D(Or)||void 0,isImportStatementCompletion:!!Wn||void 0,data:Ir}}function J(je,Sr,Te){if(e.isInJSFile(Sr))return!1;var Ye=106500&900095;return!!(je.flags&Ye)&&(e.isClassLike(Sr)||Sr.parent&&Sr.parent.parent&&e.isClassElement(Sr.parent)&&Sr===Sr.parent.name&&Sr.parent.getLastToken(Te)===Sr.parent.name&&e.isClassLike(Sr.parent.parent)||Sr.parent&&e.isSyntaxList(Sr)&&e.isClassLike(Sr.parent))}function q(je,Sr,Te,Ye,Qe,ue,Ke,tr,hr){var _r=e.findAncestor(Ke,e.isClassLike);if(!_r)return{insertText:Qe};var Or,zr,fn=Qe,Vr=Sr.getTypeChecker(),Wn=Ke.getSourceFile(),bn=T({removeComments:!0,module:Te.module,target:Te.target,omitTrailingSemicolon:!1,newLine:e.getNewLineKind(e.getNewLineCharacter(Te,e.maybeBind(je,je.getNewLine)))}),qn=e.codefix.createImportAdder(Wn,Sr,Ye,je),yn;if(Ye.includeCompletionsWithSnippetText){Or=!0;var Hn=e.factory.createEmptyStatement();yn=e.factory.createBlock([Hn],!0),e.setSnippetElement(Hn,{kind:0,order:0})}else yn=e.factory.createBlock([],!0);var Ai=0,ti=G(tr),Hi=ti.modifiers,Ni=ti.span,gi=!!(Hi&256),Pn=[];if(e.codefix.addNewNodeForMemberSymbol(ue,_r,Wn,{program:Sr,host:je},Ye,qn,function(Ir){var we=0;gi&&(we|=256),e.isClassElement(Ir)&&Vr.getMemberOverrideModifierStatus(_r,Ir)===1&&(we|=16384),Pn.length||(Ai=Ir.modifierFlagsCache|we|Hi),Ir=e.factory.updateModifiers(Ir,Ai),Pn.push(Ir)},yn,2,gi),Pn.length){var Pe=1|131072;zr=Ni,hr?fn=bn.printAndFormatSnippetList(Pe,e.factory.createNodeArray(Pn),Wn,hr):fn=bn.printSnippetList(Pe,e.factory.createNodeArray(Pn),Wn)}return{insertText:fn,isSnippet:Or,importAdder:qn,replacementSpan:zr}}function G(je){if(!je)return{modifiers:0};var Sr=0,Te,Ye;return(Ye=ye(je))&&(Sr|=e.modifierToFlag(Ye),Te=e.createTextSpanFromNode(je)),e.isPropertyDeclaration(je.parent)&&(Sr|=e.modifiersToFlags(je.parent.modifiers)&126975,Te=e.createTextSpanFromNode(je.parent)),{modifiers:Sr,span:Te}}function ye(je){if(e.isModifier(je))return je.kind;if(e.isIdentifier(je)&&je.originalKeywordKind&&e.isModifierKind(je.originalKeywordKind))return je.originalKeywordKind}function b(je,Sr,Te,Ye,Qe,ue,Ke,tr){var hr=Ke.includeCompletionsWithSnippetText||void 0,_r=Sr,Or=Te.getSourceFile(),zr=x(je,Te,Or,Ye,Qe,Ke);if(!!zr){var fn=T({removeComments:!0,module:ue.module,target:ue.target,omitTrailingSemicolon:!1,newLine:e.getNewLineKind(e.getNewLineCharacter(ue,e.maybeBind(Qe,Qe.getNewLine)))});tr?_r=fn.printAndFormatSnippetList(16|64,e.factory.createNodeArray([zr],!0),Or,tr):_r=fn.printSnippetList(16|64,e.factory.createNodeArray([zr],!0),Or);var Vr=e.createPrinter({removeComments:!0,module:ue.module,target:ue.target,omitTrailingSemicolon:!0}),Wn=e.factory.createMethodSignature(void 0,"",zr.questionToken,zr.typeParameters,zr.parameters,zr.type),bn={detail:Vr.printNode(4,Wn,Or)};return{isSnippet:hr,insertText:_r,labelDetails:bn}}}function x(je,Sr,Te,Ye,Qe,ue){var Ke=je.getDeclarations();if(!!(Ke&&Ke.length)){var tr=Ye.getTypeChecker(),hr=Ke[0],_r=e.getSynthesizedDeepClone(e.getNameOfDeclaration(hr),!1),Or=tr.getWidenedType(tr.getTypeOfSymbolAtLocation(je,Sr)),zr=e.getQuotePreference(Te,ue),fn=33554432|(zr===0?268435456:0);switch(hr.kind){case 168:case 169:case 170:case 171:{var Vr=Or.flags&1048576&&Or.types.length<10?tr.getUnionType(Or.types,2):Or;if(Vr.flags&1048576){var Wn=e.filter(Vr.types,function(ti){return tr.getSignaturesOfType(ti,0).length>0});if(Wn.length===1)Vr=Wn[0];else return}var bn=tr.getSignaturesOfType(Vr,0);if(bn.length!==1)return;var qn=tr.typeToTypeNode(Vr,Sr,fn,e.codefix.getNoopSymbolTrackerWithResolver({program:Ye,host:Qe}));if(!qn||!e.isFunctionTypeNode(qn))return;var yn=void 0;if(ue.includeCompletionsWithSnippetText){var Hn=e.factory.createEmptyStatement();yn=e.factory.createBlock([Hn],!0),e.setSnippetElement(Hn,{kind:0,order:0})}else yn=e.factory.createBlock([],!0);var Ai=qn.parameters.map(function(ti){return e.factory.createParameterDeclaration(void 0,ti.dotDotDotToken,ti.name,void 0,void 0,ti.initializer)});return e.factory.createMethodDeclaration(void 0,void 0,_r,void 0,void 0,Ai,void 0,yn)}default:return}}}function T(je){var Sr,Te=e.textChanges.createWriter(e.getNewLineCharacter(je)),Ye=e.createPrinter(je,Te),Qe=vi(vi({},Te),{write:function(_r){return ue(_r,function(){return Te.write(_r)})},nonEscapingWrite:Te.write,writeLiteral:function(_r){return ue(_r,function(){return Te.writeLiteral(_r)})},writeStringLiteral:function(_r){return ue(_r,function(){return Te.writeStringLiteral(_r)})},writeSymbol:function(_r,Or){return ue(_r,function(){return Te.writeSymbol(_r,Or)})},writeParameter:function(_r){return ue(_r,function(){return Te.writeParameter(_r)})},writeComment:function(_r){return ue(_r,function(){return Te.writeComment(_r)})},writeProperty:function(_r){return ue(_r,function(){return Te.writeProperty(_r)})}});return{printSnippetList:Ke,printAndFormatSnippetList:hr};function ue(_r,Or){var zr=e.escapeSnippetText(_r);if(zr!==_r){var fn=Te.getTextPos();Or();var Vr=Te.getTextPos();Sr=e.append(Sr||(Sr=[]),{newText:zr,span:{start:fn,length:Vr-fn}})}else Or()}function Ke(_r,Or,zr){var fn=tr(_r,Or,zr);return Sr?e.textChanges.applyChanges(fn,Sr):fn}function tr(_r,Or,zr){return Sr=void 0,Qe.clear(),Ye.writeList(_r,Or,zr,Qe),Qe.getText()}function hr(_r,Or,zr,fn){var Vr={text:tr(_r,Or,zr),getLineAndCharacterOfPosition:function(yn){return e.getLineAndCharacterOfPosition(this,yn)}},Wn=e.getFormatCodeSettingsForWriting(fn,zr),bn=e.flatMap(Or,function(yn){var Hn=e.textChanges.assignPositionsToNode(yn);return e.formatting.formatNodeGivenIndentation(Hn,Vr,zr.languageVariant,0,0,vi(vi({},fn),{options:Wn}))}),qn=Sr?e.stableSort(e.concatenate(bn,Sr),function(yn,Hn){return e.compareTextSpans(yn.span,Hn.span)}):bn;return e.textChanges.applyChanges(Vr.text,qn)}}function Z(je){var Sr=je.fileName?void 0:e.stripQuotes(je.moduleSymbol.name),Te=je.isFromPackageJson?!0:void 0;if(Q(je)){var Ye={exportName:je.exportName,moduleSpecifier:je.moduleSpecifier,ambientModuleName:Sr,fileName:je.fileName,isPackageJsonImport:Te};return Ye}var Qe={exportName:je.exportName,exportMapKey:je.exportMapKey,fileName:je.fileName,ambientModuleName:je.fileName?void 0:e.stripQuotes(je.moduleSymbol.name),isPackageJsonImport:je.isFromPackageJson?!0:void 0};return Qe}function B(je,Sr,Te){var Ye=je.exportName==="default",Qe=!!je.isPackageJsonImport;if(y(je)){var ue={kind:32,exportName:je.exportName,moduleSpecifier:je.moduleSpecifier,symbolName:Sr,fileName:je.fileName,moduleSymbol:Te,isDefaultExport:Ye,isFromPackageJson:Qe};return ue}var Ke={kind:4,exportName:je.exportName,exportMapKey:je.exportMapKey,symbolName:Sr,fileName:je.fileName,moduleSymbol:Te,isDefaultExport:Ye,isFromPackageJson:Qe};return Ke}function u(je,Sr,Te,Ye,Qe,ue,Ke){var tr=Sr.replacementSpan,hr=e.quote(Qe,Ke,Te.moduleSpecifier),_r=Te.isDefaultExport?1:Te.exportName==="export="?2:0,Or=Ke.includeCompletionsWithSnippetText?"$1":"",zr=e.codefix.getImportKind(Qe,_r,ue,!0),fn=Sr.couldBeTypeOnlyImportSpecifier,Vr=Sr.isTopLevelTypeOnly?" ".concat(e.tokenToString(154)," "):" ",Wn=fn?"".concat(e.tokenToString(154)," "):"",bn=Ye?";":"";switch(zr){case 3:return{replacementSpan:tr,insertText:"import".concat(Vr).concat(e.escapeSnippetText(je)).concat(Or," = require(").concat(hr,")").concat(bn)};case 1:return{replacementSpan:tr,insertText:"import".concat(Vr).concat(e.escapeSnippetText(je)).concat(Or," from ").concat(hr).concat(bn)};case 2:return{replacementSpan:tr,insertText:"import".concat(Vr,"* as ").concat(e.escapeSnippetText(je)," from ").concat(hr).concat(bn)};case 0:return{replacementSpan:tr,insertText:"import".concat(Vr,"{ ").concat(Wn).concat(e.escapeSnippetText(je)).concat(Or," } from ").concat(hr).concat(bn)}}}function A(je,Sr,Te){return/^\d+$/.test(Te)?Te:e.quote(je,Sr,Te)}function w(je,Sr,Te){return je===Sr||!!(je.flags&1048576)&&Te.getExportSymbolOfSymbol(je)===Sr}function z(je){if(_e(je))return e.stripQuotes(je.moduleSymbol.name);if(Q(je))return je.moduleSpecifier;if((je==null?void 0:je.kind)===1)return K.ThisProperty;if((je==null?void 0:je.kind)===64)return K.TypeOnlyAlias}function U(je,Sr,Te,Ye,Qe,ue,Ke,tr,hr,_r,Or,zr,fn,Vr,Wn,bn,qn,yn,Hn,Ai,ti,Hi,Ni,gi){for(var Pn,Pe=e.timestamp(),Ir=Qn(Qe),we=e.probablyUsesSemicolons(ue),hn=tr.getTypeChecker(),jn=new e.Map,gn=0;gn90)?!1:Ke?!0:jr(va,$n)},function(va,qe,Tn,Nr){var ga;if(!(Ke&&!e.some(va,function(qs){return Ke.source===e.stripQuotes(qs.moduleSymbol.name)}))){var xa=e.find(va,Ht);if(!!xa){var co=Rt.tryResolve(va,qe,Tn)||{};if(co!=="failed"){var gs=xa,gc;co!=="skipped"&&(ga=co.exportInfo,gs=ga===void 0?xa:ga,gc=co.moduleSpecifier);var ws=gs.exportKind===1,Lc=ws&&e.getLocalSymbolForExportDefault(gs.symbol)||gs.symbol;wn(Lc,{kind:gc?32:4,moduleSpecifier:gc,symbolName:qe,exportMapKey:Nr,exportName:gs.exportKind===2?"export=":gs.symbol.name,fileName:gs.moduleFileName,isDefaultExport:ws,moduleSymbol:gs.moduleSymbol,isFromPackageJson:gs.isFromPackageJson})}}}}),Tt=Rt.skippedAny(),Ge|=Rt.resolvedAny()?8:0,Ge|=Rt.resolvedBeyondLimit()?16:0});function Ht(Rt){var va=e.tryCast(Rt.moduleSymbol.valueDeclaration,e.isSourceFile);if(!va){var qe=e.stripQuotes(Rt.moduleSymbol.name);return e.JsTyping.nodeCoreModules.has(qe)&&e.startsWith(qe,"node:")!==e.shouldUseUriStyleNodeCoreModules(Te,je)?!1:_t?_t.allowsImportingAmbientModule(Rt.moduleSymbol,Co(Rt.isFromPackageJson)):!0}return e.isImportableFile(Rt.isFromPackageJson?Ji:je,Te,va,ue,_t,Co(Rt.isFromPackageJson),Ii)}}function wn(ee,Er){var un=e.getSymbolId(ee);Va[un]!==ne.SortText.GlobalsOrKeywords&&(ni[ot.length]=Er,Va[un]=Cn?ne.SortText.LocationPriority:ne.SortText.AutoImportSuggestions,ot.push(ee))}function Je(ee,Er){e.isInJSFile(Dn)||ee.forEach(function(un){if(!!ur(un)){var $n=mr(un,e.getEmitScriptTarget(Ye),void 0,0,!1);if(!!$n){var Ii=$n.name,at=b(un,Ii,Er,je,tr,Ye,ue,hr);if(!!at){var Ji=vi({kind:128},at);Ge|=32,ni[ot.length]=Ji,ot.push(un)}}}})}function ur(ee){return!!(ee.flags&(4|8192))}function yr(ee,Er,un){for(var $n=ee;$n&&!e.positionBelongsToNode($n,Er,un);)$n=$n.parent;return $n}function Jr(ee){var Er=e.timestamp(),un=di(ee)||ac(ee)||dc(ee)||Mn(ee)||e.isBigIntLiteral(ee);return Sr("getCompletionsAtPosition: isCompletionListBlocker: "+(e.timestamp()-Er)),un}function Mn(ee){if(ee.kind===11)return!0;if(ee.kind===31&&ee.parent){if(Dn===ee.parent&&(Dn.kind===283||Dn.kind===282))return!1;if(ee.parent.kind===283)return Dn.parent.kind!==283;if(ee.parent.kind===284||ee.parent.kind===282)return!!ee.parent.parent&&ee.parent.parent.kind===281}return!1}function _i(){if(gi){var ee=gi.parent.kind,Er=Cr(gi);switch(Er){case 27:return ee===210||ee===173||ee===211||ee===206||ee===223||ee===181||ee===207;case 20:return ee===210||ee===173||ee===211||ee===214||ee===193;case 22:return ee===206||ee===178||ee===164;case 142:case 143:case 100:return!0;case 24:return ee===264;case 18:return ee===260||ee===207;case 63:return ee===257||ee===223;case 15:return ee===225;case 16:return ee===236;case 132:return ee===171||ee===300;case 41:return ee===171}if(kr(Er))return!0}return!1}function di(ee){return(e.isRegularExpressionLiteral(ee)||e.isStringTextContainingNode(ee))&&(e.rangeContainsPositionExclusive(e.createTextRangeFromSpan(e.createTextSpanFromNode(ee)),Qe)||Qe===ee.end&&(!!ee.isUnterminated||e.isRegularExpressionLiteral(ee)))}function fi(){var ee=Ar(gi);if(!ee)return 0;var Er=e.isIntersectionTypeNode(ee.parent)?ee.parent:void 0,un=Er||ee,$n=xe(un,Or);if(!$n)return 0;var Ii=Or.getTypeFromTypeNode(un),at=Ee($n,Or),Ji=Ee(Ii,Or),_t=new e.Set;return Ji.forEach(function(Ht){return _t.add(Ht.escapedName)}),ot=e.concatenate(ot,e.filter(at,function(Ht){return!_t.has(Ht.escapedName)})),qi=0,Xn=!0,1}function Nt(){var ee=ot.length,Er=Re(gi);if(!Er)return 0;qi=0;var un,$n;if(Er.kind===207){var Ii=vn(Er,Or);if(Ii===void 0)return Er.flags&33554432?2:(Ci=!0,0);var at=Or.getContextualType(Er,4),Ji=(at||Ii).getStringIndexType(),_t=(at||Ii).getNumberIndexType();if(Xn=!!Ji||!!_t,un=pn(Ii,at,Er,Or),$n=Er.properties,un.length===0&&!_t)return Ci=!0,0}else{e.Debug.assert(Er.kind===203),Xn=!1;var Ht=e.getRootDeclaration(Er.parent);if(!e.isVariableLike(Ht))return e.Debug.fail("Root declaration is not variable-like.");var Rt=e.hasInitializer(Ht)||!!e.getEffectiveTypeAnnotationNode(Ht)||Ht.parent.parent.kind===247;if(!Rt&&Ht.kind===166&&(e.isExpression(Ht.parent)?Rt=!!Or.getContextualType(Ht.parent):(Ht.parent.kind===171||Ht.parent.kind===175)&&(Rt=e.isExpression(Ht.parent.parent)&&!!Or.getContextualType(Ht.parent.parent))),Rt){var va=Or.getTypeAtLocation(Er);if(!va)return 2;un=Or.getPropertiesOfType(va).filter(function(Tn){return Or.isPropertyAccessible(Er,!1,!1,va,Tn)}),$n=Er.elements}}if(un&&un.length>0){var qe=pc(un,e.Debug.checkDefined($n));ot=e.concatenate(ot,qe),Sc(),Er.kind===207&&ue.includeCompletionsWithObjectLiteralMethodSnippets&&ue.includeCompletionsWithInsertText&&(Mc(ee),Je(qe,Er))}return 1}function Gt(){if(!gi)return 0;var ee=gi.kind===18||gi.kind===27?e.tryCast(gi.parent,e.isNamedImportsOrExports):e.isTypeKeywordTokenOrIdentifier(gi)?e.tryCast(gi.parent.parent,e.isNamedImportsOrExports):void 0;if(!ee)return 0;e.isTypeKeywordTokenOrIdentifier(gi)||(On=8);var Er=(ee.kind===272?ee.parent.parent:ee.parent).moduleSpecifier;if(!Er)return Xn=!0,ee.kind===272?2:0;var un=Or.getSymbolAtLocation(Er);if(!un)return Xn=!0,2;qi=3,Xn=!1;var $n=Or.getExportsAndPropertiesOfModule(un),Ii=new e.Set(ee.elements.filter(function(Ji){return!Ss(Ji)}).map(function(Ji){return(Ji.propertyName||Ji.name).escapedText})),at=$n.filter(function(Ji){return Ji.escapedName!=="default"&&!Ii.has(Ji.escapedName)});return ot=e.concatenate(ot,at),at.length||(On=0),1}function la(){var ee,Er=gi&&(gi.kind===18||gi.kind===27)?e.tryCast(gi.parent,e.isNamedExports):void 0;if(!Er)return 0;var un=e.findAncestor(Er,e.or(e.isSourceFile,e.isModuleDeclaration));return qi=5,Xn=!1,(ee=un.locals)===null||ee===void 0||ee.forEach(function($n,Ii){var at,Ji;ot.push($n),((Ji=(at=un.symbol)===null||at===void 0?void 0:at.exports)===null||Ji===void 0?void 0:Ji.has(Ii))&&(Va[e.getSymbolId($n)]=ne.SortText.OptionalMember)}),1}function na(){var ee=ze(Te,gi,Dn,Qe);if(!ee)return 0;if(qi=3,Xn=!0,On=gi.kind===41?0:e.isClassLike(ee)?2:3,!e.isClassLike(ee))return 1;var Er=gi.kind===26?gi.parent.parent:gi.parent,un=e.isClassElement(Er)?e.getEffectiveModifierFlags(Er):0;if(gi.kind===79&&!Ss(gi))switch(gi.getText()){case"private":un=un|8;break;case"static":un=un|32;break;case"override":un=un|16384;break}if(e.isClassStaticBlockDeclaration(Er)&&(un|=32),!(un&8)){var $n=e.isClassLike(ee)&&un&16384?e.singleElementArray(e.getEffectiveBaseTypeNode(ee)):e.getAllSuperTypeNodes(ee),Ii=e.flatMap($n,function(at){var Ji=Or.getTypeAtLocation(at);return un&32?(Ji==null?void 0:Ji.symbol)&&Or.getPropertiesOfType(Or.getTypeOfSymbolAtLocation(Ji.symbol,ee)):Ji&&Or.getPropertiesOfType(Ji)});ot=e.concatenate(ot,Vs(Ii,ee.members,un))}return 1}function Ia(ee){return!!ee.parent&&e.isParameter(ee.parent)&&e.isConstructorDeclaration(ee.parent.parent)&&(e.isParameterPropertyModifier(ee.kind)||e.isDeclarationName(ee))}function bs(ee){if(ee){var Er=ee.parent;switch(ee.kind){case 20:case 27:return e.isConstructorDeclaration(ee.parent)?ee.parent:void 0;default:if(Ia(ee))return Er.parent}}}function ds(ee){if(ee){var Er,un=e.findAncestor(ee.parent,function($n){return e.isClassLike($n)?"quit":e.isFunctionLikeDeclaration($n)&&Er===$n.body?!0:(Er=$n,!1)});return un&&un}}function ps(ee){if(ee){var Er=ee.parent;switch(ee.kind){case 31:case 30:case 43:case 79:case 208:case 289:case 288:case 290:if(Er&&(Er.kind===282||Er.kind===283)){if(ee.kind===31){var un=e.findPrecedingToken(ee.pos,Te,void 0);if(!Er.typeArguments||un&&un.kind===43)break}return Er}else if(Er.kind===288)return Er.parent.parent;break;case 10:if(Er&&(Er.kind===288||Er.kind===290))return Er.parent.parent;break;case 19:if(Er&&Er.kind===291&&Er.parent&&Er.parent.kind===288)return Er.parent.parent.parent;if(Er&&Er.kind===290)return Er.parent.parent;break}}}function ac(ee){var Er=ee.parent,un=Er.kind;switch(ee.kind){case 27:return un===257||$s(ee)||un===240||un===263||ns(un)||un===261||un===204||un===262||e.isClassLike(Er)&&!!Er.typeParameters&&Er.typeParameters.end>=ee.pos;case 24:return un===204;case 58:return un===205;case 22:return un===204;case 20:return un===295||ns(un);case 18:return un===263;case 29:return un===260||un===228||un===261||un===262||e.isFunctionLikeKind(un);case 124:return un===169&&!e.isClassLike(Er.parent);case 25:return un===166||!!Er.parent&&Er.parent.kind===204;case 123:case 121:case 122:return un===166&&!e.isConstructorDeclaration(Er.parent);case 128:return un===273||un===278||un===271;case 137:case 151:return!cr(ee);case 79:if(un===273&&ee===Er.name&&ee.text==="type")return!1;break;case 84:case 92:case 118:case 98:case 113:case 100:case 119:case 85:case 138:return!0;case 154:return un!==273;case 41:return e.isFunctionLike(ee.parent)&&!e.isMethodDeclaration(ee.parent)}if(kr(Cr(ee))&&cr(ee)||Ia(ee)&&(!e.isIdentifier(ee)||e.isParameterPropertyModifier(Cr(ee))||Ss(ee)))return!1;switch(Cr(ee)){case 126:case 84:case 85:case 136:case 92:case 98:case 118:case 119:case 121:case 122:case 123:case 124:case 113:return!0;case 132:return e.isPropertyDeclaration(ee.parent)}var $n=e.findAncestor(ee.parent,e.isClassLike);if($n&&ee===Ni&&Es(ee,Qe))return!1;var Ii=e.getAncestor(ee.parent,169);if(Ii&&ee!==Ni&&e.isClassLike(Ni.parent.parent)&&Qe<=Ni.end){if(Es(ee,Ni.end))return!1;if(ee.kind!==63&&(e.isInitializedProperty(Ii)||e.hasType(Ii)))return!0}return e.isDeclarationName(ee)&&!e.isShorthandPropertyAssignment(ee.parent)&&!e.isJsxAttribute(ee.parent)&&!(e.isClassLike(ee.parent)&&(ee!==Ni||Qe>Ni.end))}function Es(ee,Er){return ee.kind!==63&&(ee.kind===26||!e.positionsAreOnSameLine(ee.end,Er,Te))}function ns(ee){return e.isFunctionLikeKind(ee)&&ee!==173}function dc(ee){if(ee.kind===8){var Er=ee.getFullText();return Er.charAt(Er.length-1)==="."}return!1}function $s(ee){return ee.parent.kind===258&&!e.isPossiblyTypeArgumentPosition(ee,Te,Or)}function pc(ee,Er){if(Er.length===0)return ee;for(var un=new e.Set,$n=new e.Set,Ii=0,at=Er;Ii=0&&!E(h,F[$],115);$--);return e.forEach(D(V.statement),function(L){de(V,L)&&E(h,L.getFirstToken(),81,86)}),h}function f(V){var h=te(V);if(h)switch(h.kind){case 245:case 246:case 247:case 243:case 244:return I(h);case 252:return m(h)}}function m(V){var h=[];return E(h,V.getFirstToken(),107),e.forEach(V.caseBlock.clauses,function(F){E(h,F.getFirstToken(),82,88),e.forEach(D(F),function($){de(V,$)&&E(h,$.getFirstToken(),81)})}),h}function y(V,h){var F=[];if(E(F,V.getFirstToken(),111),V.catchClause&&E(F,V.catchClause.getFirstToken(),83),V.finallyBlock){var $=e.findChildOfKind(V,96,h);E(F,$,96)}return F}function S(V,h){var F=p(V);if(!!F){var $=[];return e.forEach(Q(F),function(L){$.push(e.findChildOfKind(L,109,h))}),e.isFunctionBlock(F)&&e.forEachReturnStatement(F,function(L){$.push(e.findChildOfKind(L,105,h))}),$}}function k(V,h){var F=e.getContainingFunction(V);if(!!F){var $=[];return e.forEachReturnStatement(e.cast(F.body,e.isBlock),function(L){$.push(e.findChildOfKind(L,105,h))}),e.forEach(Q(F.body),function(L){$.push(e.findChildOfKind(L,109,h))}),$}}function C(V){var h=e.getContainingFunction(V);if(!!h){var F=[];return h.modifiers&&h.modifiers.forEach(function($){E(F,$,132)}),e.forEachChild(h,function($){De($,function(L){e.isAwaitExpression(L)&&E(F,L.getFirstToken(),133)})}),F}}function me(V){var h=e.getContainingFunction(V);if(!!h){var F=[];return e.forEachChild(h,function($){De($,function(L){e.isYieldExpression(L)&&E(F,L.getFirstToken(),125)})}),F}}function De(V,h){h(V),!e.isFunctionLike(V)&&!e.isClassLike(V)&&!e.isInterfaceDeclaration(V)&&!e.isModuleDeclaration(V)&&!e.isTypeAliasDeclaration(V)&&!e.isTypeNode(V)&&e.forEachChild(V,function(F){return De(F,h)})}function X(V,h){for(var F=M(V,h),$=[],L=0;L=P.end;q--)if(!e.isWhiteSpaceSingleLine(h.text.charCodeAt(q))){J=!1;break}if(J){$.push({fileName:h.fileName,textSpan:e.createTextSpanFromBounds(P.getStart(),N.end),kind:"reference"}),L++;continue}}$.push(se(F[L],h))}return $}function M(V,h){for(var F=[];e.isIfStatement(V.parent)&&V.parent.elseStatement===V;)V=V.parent;for(;;){var $=V.getChildren(h);E(F,$[0],99);for(var L=$.length-1;L>=0&&!E(F,$[L],91);L--);if(!V.elseStatement||!e.isIfStatement(V.elseStatement))break;V=V.elseStatement}return F}function H(V,h){return!!e.findAncestor(V.parent,function(F){return e.isLabeledStatement(F)?F.label.escapedText===h:"quit"})}})(o=e.DocumentHighlights||(e.DocumentHighlights={}))})(fr||(fr={}));var fr;(function(e){function o(_e){return!!_e.sourceFile}function ne(_e,Q){return K(_e,Q)}e.createDocumentRegistry=ne;function K(_e,Q,p){Q===void 0&&(Q="");var D=new e.Map,le=e.createGetCanonicalFileName(!!_e);function de(){var C=e.arrayFrom(D.keys()).filter(function(me){return me&&me.charAt(0)==="_"}).map(function(me){var De=D.get(me),X=[];return De.forEach(function(M,H){o(M)?X.push({name:H,scriptKind:M.sourceFile.scriptKind,refCount:M.languageServiceRefCount}):M.forEach(function(V,h){return X.push({name:H,scriptKind:h,refCount:V.languageServiceRefCount})})}),X.sort(function(M,H){return H.refCount-M.refCount}),{bucket:me,sourceFiles:X}});return JSON.stringify(C,void 0,2)}function te(C){return typeof C.getCompilationSettings=="function"?C.getCompilationSettings():C}function oe(C,me,De,X,M,H){var V=e.toPath(C,Q,le),h=O(te(me));return ae(C,V,me,h,De,X,M,H)}function ae(C,me,De,X,M,H,V,h){return m(C,me,De,X,M,H,!0,V,h)}function E(C,me,De,X,M,H){var V=e.toPath(C,Q,le),h=O(te(me));return I(C,V,me,h,De,X,M,H)}function I(C,me,De,X,M,H,V,h){return m(C,me,te(De),X,M,H,!1,V,h)}function f(C,me){var De=o(C)?C:C.get(e.Debug.checkDefined(me,"If there are more than one scriptKind's for same document the scriptKind should be provided"));return e.Debug.assert(me===void 0||!De||De.sourceFile.scriptKind===me,"Script kind should match provided ScriptKind:".concat(me," and sourceFile.scriptKind: ").concat(De==null?void 0:De.sourceFile.scriptKind,", !entry: ").concat(!De)),De}function m(C,me,De,X,M,H,V,h,F){var $,L,P,N;h=e.ensureScriptKind(C,h);var J=te(De),q=De===J?void 0:De,G=h===6?100:e.getEmitScriptTarget(J),ye=typeof F=="object"?F:{languageVersion:G,impliedNodeFormat:q&&e.getImpliedNodeFormatForFile(me,(N=(P=(L=($=q.getCompilerHost)===null||$===void 0?void 0:$.call(q))===null||L===void 0?void 0:L.getModuleResolutionCache)===null||P===void 0?void 0:P.call(L))===null||N===void 0?void 0:N.getPackageJsonInfoCache(),q,J),setExternalModuleIndicator:e.getSetExternalModuleIndicator(J)};ye.languageVersion=G;var b=D.size,x=ie(X,ye.impliedNodeFormat),T=e.getOrUpdate(D,x,function(){return new e.Map});if(e.tracing){D.size>b&&e.tracing.instant("session","createdDocumentRegistryBucket",{configFilePath:J.configFilePath,key:x});var Z=!e.isDeclarationFileName(me)&&e.forEachEntry(D,function(z,U){return U!==x&&z.has(me)&&U});Z&&e.tracing.instant("session","documentRegistryBucketOverlap",{path:me,key1:Z,key2:x})}var B=T.get(me),u=B&&f(B,h);if(!u&&p){var A=p.getDocument(x,me);A&&(e.Debug.assert(V),u={sourceFile:A,languageServiceRefCount:0},w())}if(u)u.sourceFile.version!==H&&(u.sourceFile=e.updateLanguageServiceSourceFile(u.sourceFile,M,H,M.getChangeRange(u.sourceFile.scriptSnapshot)),p&&p.setDocument(x,me,u.sourceFile)),V&&u.languageServiceRefCount++;else{var A=e.createLanguageServiceSourceFile(C,M,ye,H,!1,h);p&&p.setDocument(x,me,A),u={sourceFile:A,languageServiceRefCount:1},w()}return e.Debug.assert(u.languageServiceRefCount!==0),u.sourceFile;function w(){if(!B)T.set(me,u);else if(o(B)){var z=new e.Map;z.set(B.sourceFile.scriptKind,B),z.set(h,u),T.set(me,z)}else B.set(h,u)}}function y(C,me,De,X){var M=e.toPath(C,Q,le),H=O(me);return S(M,H,De,X)}function S(C,me,De,X){var M=e.Debug.checkDefined(D.get(ie(me,X))),H=M.get(C),V=f(H,De);V.languageServiceRefCount--,e.Debug.assert(V.languageServiceRefCount>=0),V.languageServiceRefCount===0&&(o(H)?M.delete(C):(H.delete(De),H.size===1&&M.set(C,e.firstDefinedIterator(H.values(),e.identity))))}function k(C,me){return e.arrayFrom(D.entries(),function(De){var X=De[0],M=De[1],H=M.get(C),V=H&&f(H,me);return[X,V&&V.languageServiceRefCount]})}return{acquireDocument:oe,acquireDocumentWithKey:ae,updateDocument:E,updateDocumentWithKey:I,releaseDocument:y,releaseDocumentWithKey:S,getLanguageServiceRefCounts:k,reportStats:de,getKeyForCompilationSettings:O}}e.createDocumentRegistryInternal=K;function se(_e){var Q;if(_e===null||typeof _e!="object")return""+_e;if(e.isArray(_e))return"[".concat((Q=e.map(_e,function(le){return se(le)}))===null||Q===void 0?void 0:Q.join(","),"]");var p="{";for(var D in _e)e.hasProperty(_e,D)&&(p+="".concat(D,": ").concat(se(_e[D])));return p+"}"}function O(_e){return e.sourceFileAffectingCompilerOptions.map(function(Q){return se(e.getCompilerOptionValue(_e,Q))}).join("|")+(_e.pathsBasePath?"|".concat(_e.pathsBasePath):void 0)}function ie(_e,Q){return Q?"".concat(_e,"|").concat(Q):_e}})(fr||(fr={}));var fr;(function(e){var o;(function(ne){function K(C,me,De,X){var M=D(C,De,X);return function(H,V,h){var F=ie(C,me,M,V,De,X),$=F.directImports,L=F.indirectUsers;return vi({indirectUsers:L},_e($,H,V.exportKind,De,h))}}ne.createImportTracker=K;var se;(function(C){C[C.Named=0]="Named",C[C.Default=1]="Default",C[C.ExportEquals=2]="ExportEquals"})(se=ne.ExportKind||(ne.ExportKind={}));var O;(function(C){C[C.Import=0]="Import",C[C.Export=1]="Export"})(O=ne.ImportExport||(ne.ImportExport={}));function ie(C,me,De,X,M,H){var V=X.exportingModuleSymbol,h=X.exportKind,F=e.nodeSeenTracker(),$=e.nodeSeenTracker(),L=[],P=!!V.globalExports,N=P?void 0:[];return q(V),{directImports:L,indirectUsers:J()};function J(){if(P)return C;if(V.declarations)for(var Z=0,B=V.declarations;Z2&&(e.Debug.assert(q===void 0),G+=1,ye-=1),e.createTextSpanFromBounds(G,ye)}function h(N){return N.kind===0?N.textSpan:V(N.node,N.node.getSourceFile())}ne.getTextSpanOfEntry=h;function F(N){var J=e.getDeclarationFromName(N);return!!J&&L(J)||N.kind===88||e.isWriteAccess(N)}function $(N,J){var q;if(!J)return!1;var G=e.getDeclarationFromName(N)||(N.kind===88?N.parent:e.isLiteralComputedPropertyDeclarationName(N)||N.kind===135&&e.isConstructorDeclaration(N.parent)?N.parent.parent:void 0),ye=G&&e.isBinaryExpression(G)?G.left:void 0;return!!(G&&((q=J.declarations)===null||q===void 0?void 0:q.some(function(b){return b===G||b===ye})))}ne.isDeclarationOfSymbol=$;function L(N){if(N.flags&16777216)return!0;switch(N.kind){case 223:case 205:case 260:case 228:case 88:case 263:case 302:case 278:case 270:case 268:case 273:case 261:case 341:case 348:case 288:case 264:case 267:case 271:case 277:case 166:case 300:case 262:case 165:return!0;case 299:return!e.isArrayLiteralOrObjectLiteralDestructuringPattern(N.parent);case 259:case 215:case 173:case 171:case 174:case 175:return!!N.body;case 257:case 169:return!!N.initializer||e.isCatchClause(N.parent);case 170:case 168:case 350:case 343:return!1;default:return e.Debug.failBadSyntaxKind(N)}}var P;(function(N){function J(Te,Ye,Qe,ue,Ke,tr,hr){var _r,Or;if(tr===void 0&&(tr={}),hr===void 0&&(hr=new e.Set(ue.map(function(gi){return gi.fileName}))),Ye=q(Ye,tr),e.isSourceFile(Ye)){var zr=e.GoToDefinition.getReferenceAtPosition(Ye,Te,Qe);if(!(zr==null?void 0:zr.file))return;var fn=Qe.getTypeChecker().getMergedSymbol(zr.file.symbol);if(fn)return B(Qe,fn,!1,ue,hr);var Vr=Qe.getFileIncludeReasons();return Vr?[{definition:{type:5,reference:zr.reference,file:Ye},references:ye(zr.file,Vr,Qe)||e.emptyArray}]:void 0}if(!tr.implementations){var Wn=A(Ye,ue,Ke);if(Wn)return Wn}var bn=Qe.getTypeChecker(),qn=bn.getSymbolAtLocation(e.isConstructorDeclaration(Ye)&&Ye.parent.name||Ye);if(!qn){if(!tr.implementations&&e.isStringLiteralLike(Ye)){if(e.isModuleSpecifierLike(Ye)){var Vr=Qe.getFileIncludeReasons(),yn=(Or=(_r=Ye.getSourceFile().resolvedModules)===null||_r===void 0?void 0:_r.get(Ye.text,e.getModeForUsageLocation(Ye.getSourceFile(),Ye)))===null||Or===void 0?void 0:Or.resolvedFileName,Hn=yn?Qe.getSourceFile(yn):void 0;if(Hn)return[{definition:{type:4,node:Ye},references:ye(Hn,Vr,Qe)||e.emptyArray}]}return We(Ye,ue,bn,Ke)}return}if(qn.escapedName==="export=")return B(Qe,qn.parent,!1,ue,hr);var Ai=x(qn,Qe,ue,Ke,tr,hr);if(Ai&&!(qn.flags&33554432))return Ai;var ti=b(Ye,qn,bn),Hi=ti&&x(ti,Qe,ue,Ke,tr,hr),Ni=w(qn,Ye,ue,hr,bn,Ke,tr);return T(Qe,Ai,Ni,Hi)}N.getReferencedSymbolsForNode=J;function q(Te,Ye){return Ye.use===1?Te=e.getAdjustedReferenceLocation(Te):Ye.use===2&&(Te=e.getAdjustedRenameLocation(Te)),Te}N.getAdjustedNode=q;function G(Te,Ye,Qe,ue){var Ke,tr;ue===void 0&&(ue=new e.Set(Qe.map(function(zr){return zr.fileName})));var hr=(Ke=Ye.getSourceFile(Te))===null||Ke===void 0?void 0:Ke.symbol;if(hr)return((tr=B(Ye,hr,!1,Qe,ue)[0])===null||tr===void 0?void 0:tr.references)||e.emptyArray;var _r=Ye.getFileIncludeReasons(),Or=Ye.getSourceFile(Te);return Or&&_r&&ye(Or,_r,Ye)||e.emptyArray}N.getReferencesForFileName=G;function ye(Te,Ye,Qe){for(var ue,Ke=Ye.get(Te.path)||e.emptyArray,tr=0,hr=Ke;tr=0&&!(_r>Qe.end);){var Or=_r+hr;(_r===0||!e.isIdentifierPart(Ke.charCodeAt(_r-1),99))&&(Or===tr||!e.isIdentifierPart(Ke.charCodeAt(Or),99))&&ue.push(_r),_r=Ke.indexOf(Ye,_r+hr+1)}return ue}function er(Te,Ye){var Qe=Te.getSourceFile(),ue=Ye.text,Ke=e.mapDefined(Se(Qe,ue,Te),function(tr){return tr===Ye||e.isJumpStatementTarget(tr)&&e.getTargetLabel(tr,ue)===Ye?O(tr):void 0});return[{definition:{type:1,node:Ye},references:Ke}]}function wr(Te,Ye){switch(Te.kind){case 80:if(e.isJSDocMemberName(Te.parent))return!0;case 79:return Te.text.length===Ye.length;case 14:case 10:{var Qe=Te;return(e.isLiteralNameOfPropertyDeclarationOrIndexAccess(Qe)||e.isNameOfModuleDeclaration(Te)||e.isExpressionOfExternalModuleImportEqualsDeclaration(Te)||e.isCallExpression(Te.parent)&&e.isBindableObjectDefinePropertyCall(Te.parent)&&Te.parent.arguments[1]===Te)&&Qe.text.length===Ye.length}case 8:return e.isLiteralNameOfPropertyDeclarationOrIndexAccess(Te)&&Te.text.length===Ye.length;case 88:return"default".length===Ye.length;default:return!1}}function mr(Te,Ye){var Qe=e.flatMap(Te,function(ue){return Ye.throwIfCancellationRequested(),e.mapDefined(Se(ue,"meta",ue),function(Ke){var tr=Ke.parent;if(e.isImportMeta(tr))return O(tr)})});return Qe.length?[{definition:{type:2,node:Qe[0].node},references:Qe}]:void 0}function Ue(Te,Ye,Qe,ue){var Ke=e.flatMap(Te,function(tr){return Qe.throwIfCancellationRequested(),e.mapDefined(Se(tr,e.tokenToString(Ye),tr),function(hr){if(hr.kind===Ye&&(!ue||ue(hr)))return O(hr)})});return Ke.length?[{definition:{type:2,node:Ke[0].node},references:Ke}]:void 0}function t(Te,Ye,Qe,ue){return ue===void 0&&(ue=!0),Qe.cancellationToken.throwIfCancellationRequested(),qr(Te,Te,Ye,Qe,ue)}function qr(Te,Ye,Qe,ue,Ke){if(!!ue.markSearchedSymbols(Ye,Qe.allSearchSymbols))for(var tr=0,hr=Re(Ye,Qe.text,Te);tr0;j--){var Y=be[j];De(Ne,Y)}return[be.length-1,be[0]]}function De(Ne,Oe){var be=S(Ne,Oe);f(p,be),Q.push(p),D.push(le),le=void 0,p=be}function X(){p.children&&(F(p.children,p),b(p.children)),p=Q.pop(),le=D.pop()}function M(Ne,Oe,be){De(Ne,be),h(Oe),X()}function H(Ne){Ne.initializer&&Ae(Ne.initializer)?(De(Ne),e.forEachChild(Ne.initializer,h),X()):M(Ne,Ne.initializer)}function V(Ne){return!e.hasDynamicName(Ne)||Ne.kind!==223&&e.isPropertyAccessExpression(Ne.name.expression)&&e.isIdentifier(Ne.name.expression.expression)&&e.idText(Ne.name.expression.expression)==="Symbol"}function h(Ne){var Oe;if(ie.throwIfCancellationRequested(),!(!Ne||e.isToken(Ne)))switch(Ne.kind){case 173:var be=Ne;M(be,be.body);for(var Y=0,d=be.parameters;Y0&&(De(rn,or),e.forEachChild(rn.right,h),X()):e.isFunctionExpression(rn.right)||e.isArrowFunction(rn.right)?M(Ne,rn.right,or):(De(rn,or),M(Ne,rn.right,Br.name),X()),C(ve);return}case 7:case 9:{var Ee=Ne,or=Cr===7?Ee.arguments[0]:Ee.arguments[0].expression,ze=Ee.arguments[1],Ar=me(Ne,or),ve=Ar[0],xe=Ar[1];De(Ne,xe),De(Ne,e.setTextRange(e.factory.createIdentifier(ze.text),ze)),h(Ne.arguments[2]),X(),X(),C(ve);return}case 5:{var rn=Ne,Br=rn.left,cr=Br.expression;if(e.isIdentifier(cr)&&e.getElementOrPropertyAccessName(Br)!=="prototype"&&le&&le.has(cr.text)){e.isFunctionExpression(rn.right)||e.isArrowFunction(rn.right)?M(Ne,rn.right,cr):e.isBindableStaticAccessExpression(Br)&&(De(rn,cr),M(rn.left,rn.right,e.getNameOrArgument(Br)),X());return}break}case 4:case 0:case 8:break;default:e.Debug.assertNever(Cr)}}default:e.hasJSDocNodes(Ne)&&e.forEach(Ne.jsDoc,function(Mr){e.forEach(Mr.tags,function(Rr){e.isJSDocTypeAlias(Rr)&&y(Rr)})}),e.forEachChild(Ne,h)}}function F(Ne,Oe){var be=new e.Map;e.filterMutate(Ne,function(Y,d){var j=Y.name||e.getNameOfDeclaration(Y.node),Ce=j&&E(j);if(!Ce)return!0;var Se=be.get(Ce);if(!Se)return be.set(Ce,Y),!0;if(Se instanceof Array){for(var Re=0,er=Se;Re0)return Xe(be)}switch(Ne.kind){case 308:var Y=Ne;return e.isExternalModule(Y)?'"'.concat(e.escapeString(e.getBaseFileName(e.removeFileExtension(e.normalizePath(Y.fileName)))),'"'):"";case 274:return e.isExportAssignment(Ne)&&Ne.isExportEquals?"export=":"default";case 216:case 259:case 215:case 260:case 228:return e.getSyntacticModifierFlags(Ne)&1024?"default":Me(Ne);case 173:return"constructor";case 177:return"new()";case 176:return"()";case 178:return"[]";default:return""}}function B(Ne){var Oe=[];function be(d){if(Y(d)&&(Oe.push(d),d.children))for(var j=0,Ce=d.children;j0)return Xe(e.declarationNameToString(Ne.name));if(e.isVariableDeclaration(Oe))return Xe(e.declarationNameToString(Oe.name));if(e.isBinaryExpression(Oe)&&Oe.operatorToken.kind===63)return E(Oe.left).replace(se,"");if(e.isPropertyAssignment(Oe))return E(Oe.name);if(e.getSyntacticModifierFlags(Ne)&1024)return"default";if(e.isClassLike(Ne))return"";if(e.isCallExpression(Oe)){var be=Le(Oe.expression);if(be!==void 0){if(be=Xe(be),be.length>O)return"".concat(be," callback");var Y=Xe(e.mapDefined(Oe.arguments,function(d){return e.isStringLiteralLike(d)?d.getText(_e):void 0}).join(", "));return"".concat(be,"(").concat(Y,") callback")}}return""}function Le(Ne){if(e.isIdentifier(Ne))return Ne.text;if(e.isPropertyAccessExpression(Ne)){var Oe=Le(Ne.expression),be=Ne.name.text;return Oe===void 0?be:"".concat(Oe,".").concat(be)}else return}function Ae(Ne){switch(Ne.kind){case 216:case 215:case 228:return!0;default:return!1}}function Xe(Ne){return Ne=Ne.length>O?Ne.substring(0,O)+"...":Ne,Ne.replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}})(o=e.NavigationBar||(e.NavigationBar={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){function K(M,H,V,h,F,$){var L=e.textChanges.ChangeTracker.fromContext({host:V,formatContext:H,preferences:F}),P=$==="SortAndCombine"||$==="All",N=P,J=$==="RemoveUnused"||$==="All",q=J?ie:e.identity,G=N?p:e.identity,ye=function(z){var U=G(q(z,M,h));return P?e.stableSort(U,function(ge,pe){return k(ge,pe)}):U},b=se(M,M.statements.filter(e.isImportDeclaration));if(b.forEach(function(z){return w(z,ye)}),$!=="RemoveUnused"){var x=M.statements.filter(e.isExportDeclaration);w(x,le)}for(var T=0,Z=M.statements.filter(e.isAmbientModule);T=2))return!0}return!1}function ie(M,H,V){for(var h=V.getTypeChecker(),F=V.getCompilerOptions(),$=h.getJsxNamespace(H),L=h.getJsxFragmentFactory(H),P=!!(H.transformFlags&2),N=[],J=0,q=M;J0?G[0]:b[0],He=ge.length===0?A?void 0:e.factory.createNamedImports(e.emptyArray):b.length===0?e.factory.createNamedImports(ge):e.factory.updateNamedImports(b[0].importClause.namedBindings,ge);q&&A&&He?(L.push(de(pe,A,void 0)),L.push(de((H=b[0])!==null&&H!==void 0?H:pe,void 0,He))):L.push(de(pe,A,He))}}return L}ne.coalesceImports=p;function D(M){for(var H,V={defaultImports:[],namespaceImports:[],namedImports:[]},h={defaultImports:[],namespaceImports:[],namedImports:[]},F=0,$=M;F<$.length;F++){var L=$[F];if(L.importClause===void 0){H=H||L;continue}var P=L.importClause.isTypeOnly?V:h,N=L.importClause,J=N.name,q=N.namedBindings;J&&P.defaultImports.push(L),q&&(e.isNamespaceImport(q)?P.namespaceImports.push(L):P.namedImports.push(L))}return{importWithoutClause:H,typeOnlyImports:V,regularImports:h}}function le(M){if(M.length===0)return M;var H=ye(M),V=H.exportWithoutClause,h=H.namedExports,F=H.typeOnlyExports,$=[];V&&$.push(V);for(var L=0,P=[h,F];L1&&m.push(D(S,k,"comment"))}}function p(E,I,f,m){e.isJsxText(E)||Q(E.pos,I,f,m)}function D(E,I,f){return oe(e.createTextSpanFromBounds(E,I),f)}function le(E,I){switch(E.kind){case 238:if(e.isFunctionLike(E.parent))return de(E.parent,E,I);switch(E.parent.kind){case 243:case 246:case 247:case 245:case 242:case 244:case 251:case 295:return M(E.parent);case 255:var f=E.parent;if(f.tryBlock===E)return M(E.parent);if(f.finallyBlock===E){var m=e.findChildOfKind(f,96,I);if(m)return M(m)}default:return oe(e.createTextSpanFromNode(E,I),"code")}case 265:return M(E.parent);case 260:case 228:case 261:case 263:case 266:case 184:case 203:return M(E);case 186:return M(E,!1,!e.isTupleTypeNode(E.parent),22);case 292:case 293:return H(E.statements);case 207:return X(E);case 206:return X(E,22);case 281:return k(E);case 285:return C(E);case 282:case 283:return me(E.attributes);case 225:case 14:return De(E);case 204:return M(E,!1,!e.isBindingElement(E.parent),22);case 216:return S(E);case 210:return y(E);case 214:return V(E)}function y(h){if(!!h.arguments.length){var F=e.findChildOfKind(h,20,I),$=e.findChildOfKind(h,21,I);if(!(!F||!$||e.positionsAreOnSameLine(F.pos,$.pos,I)))return te(F,$,h,I,!1,!0)}}function S(h){if(!(e.isBlock(h.body)||e.isParenthesizedExpression(h.body)||e.positionsAreOnSameLine(h.body.getFullStart(),h.body.getEnd(),I))){var F=e.createTextSpanFromBounds(h.body.getFullStart(),h.body.getEnd());return oe(F,"code",e.createTextSpanFromNode(h))}}function k(h){var F=e.createTextSpanFromBounds(h.openingElement.getStart(I),h.closingElement.getEnd()),$=h.openingElement.tagName.getText(I),L="<"+$+">...";return oe(F,"code",F,!1,L)}function C(h){var F=e.createTextSpanFromBounds(h.openingFragment.getStart(I),h.closingFragment.getEnd()),$="<>...";return oe(F,"code",F,!1,$)}function me(h){if(h.properties.length!==0)return D(h.getStart(I),h.getEnd(),"code")}function De(h){if(!(h.kind===14&&h.text.length===0))return D(h.getStart(I),h.getEnd(),"code")}function X(h,F){return F===void 0&&(F=18),M(h,!1,!e.isArrayLiteralExpression(h.parent)&&!e.isCallExpression(h.parent),F)}function M(h,F,$,L,P){F===void 0&&(F=!1),$===void 0&&($=!0),L===void 0&&(L=18),P===void 0&&(P=L===18?19:23);var N=e.findChildOfKind(E,L,I),J=e.findChildOfKind(E,P,I);return N&&J&&te(N,J,h,I,F,$)}function H(h){return h.length?oe(e.createTextSpanFromRange(h),"code"):void 0}function V(h){if(!e.positionsAreOnSameLine(h.getStart(),h.getEnd(),I)){var F=e.createTextSpanFromBounds(h.getStart(),h.getEnd());return oe(F,"code",e.createTextSpanFromNode(h))}}}function de(E,I,f){var m=ae(E,I,f),y=e.findChildOfKind(I,19,f);return m&&y&&te(m,y,E,f,E.kind!==216)}function te(E,I,f,m,y,S){y===void 0&&(y=!1),S===void 0&&(S=!0);var k=e.createTextSpanFromBounds(S?E.getFullStart():E.getStart(m),I.getEnd());return oe(k,"code",e.createTextSpanFromNode(f,m),y)}function oe(E,I,f,m,y){return f===void 0&&(f=E),m===void 0&&(m=!1),y===void 0&&(y="..."),{textSpan:E,kind:I,hintSpan:f,bannerText:y,autoCollapse:m}}function ae(E,I,f){if(e.isNodeArrayMultiLine(E.parameters,f)){var m=e.findChildOfKind(E,20,f);if(m)return m}return e.findChildOfKind(I,18,f)}})(o=e.OutliningElementsCollector||(e.OutliningElementsCollector={}))})(fr||(fr={}));var fr;(function(e){var o;(function(F){F[F.exact=0]="exact",F[F.prefix=1]="prefix",F[F.substring=2]="substring",F[F.camelCase=3]="camelCase"})(o=e.PatternMatchKind||(e.PatternMatchKind={}));function ne(F,$){return{kind:F,isCaseSensitive:$}}function K(F){var $=new e.Map,L=F.trim().split(".").map(function(P){return te(P.trim())});if(!L.some(function(P){return!P.subWordTextChunks.length}))return{getFullMatch:function(P,N){return se(P,N,L,$)},getMatchForLastSegmentOfPattern:function(P){return _e(P,e.last(L),$)},patternContainsDots:L.length>1}}e.createPatternMatcher=K;function se(F,$,L,P){var N=_e($,e.last(L),P);if(!!N&&!(L.length-1>F.length)){for(var J,q=L.length-2,G=F.length-1;q>=0;q-=1,G-=1)J=Q(J,_e(F[G],L[q],P));return J}}function O(F,$){var L=$.get(F);return L||$.set(F,L=C(F)),L}function ie(F,$,L){var P=E(F,$.textLowerCase);if(P===0)return ne($.text.length===F.length?o.exact:o.prefix,e.startsWith(F,$.text));if($.isLowerCase){if(P===-1)return;for(var N=O(F,L),J=0,q=N;J0)return ne(o.substring,!0);if($.characterSpans.length>0){var ye=O(F,L),b=de(F,ye,$,!1)?!0:de(F,ye,$,!0)?!1:void 0;if(b!==void 0)return ne(o.camelCase,b)}}}function _e(F,$,L){if(h($.totalTextChunk.text,function(b){return b!==32&&b!==42})){var P=ie(F,$.totalTextChunk,L);if(P)return P}for(var N=$.subWordTextChunks,J,q=0,G=N;q=65&&F<=90)return!0;if(F<127||!e.isUnicodeIdentifierStart(F,99))return!1;var $=String.fromCharCode(F);return $===$.toUpperCase()}function ae(F){if(F>=97&&F<=122)return!0;if(F<127||!e.isUnicodeIdentifierStart(F,99))return!1;var $=String.fromCharCode(F);return $===$.toLowerCase()}function E(F,$){for(var L=F.length-$.length,P=function(q){if(h($,function(G,ye){return I(F.charCodeAt(ye+q))===G}))return{value:q}},N=0;N<=L;N++){var J=P(N);if(typeof J=="object")return J.value}return-1}function I(F){return F>=65&&F<=90?97+(F-65):F<127?F:String.fromCharCode(F).toLowerCase().charCodeAt(0)}function f(F){return F>=48&&F<=57}function m(F){return oe(F)||ae(F)||f(F)||F===95||F===36}function y(F){for(var $=[],L=0,P=0,N=0;N0&&($.push(S(F.substr(L,P))),P=0)}return P>0&&$.push(S(F.substr(L,P))),$}function S(F){var $=F.toLowerCase();return{text:F,textLowerCase:$,isLowerCase:F===$,characterSpans:k(F)}}function k(F){return me(F,!1)}e.breakIntoCharacterSpans=k;function C(F){return me(F,!0)}e.breakIntoWordSpans=C;function me(F,$){for(var L=[],P=0,N=1;Nte)break e;var me=e.singleOrUndefined(e.getTrailingCommentRanges(oe.text,k.end));if(me&&me.kind===2&&$(me.pos,me.end),se(oe,te,k)){if(e.isFunctionBody(k)&&e.isFunctionLikeDeclaration(f)&&!e.positionsAreOnSameLine(k.getStart(oe),k.getEnd(),oe)&&F(k.getStart(oe),k.getEnd()),e.isBlock(k)||e.isTemplateSpan(k)||e.isTemplateHead(k)||e.isTemplateTail(k)||S&&e.isTemplateHead(S)||e.isVariableDeclarationList(k)&&e.isVariableStatement(f)||e.isSyntaxList(k)&&e.isVariableDeclarationList(f)||e.isVariableDeclaration(k)&&e.isSyntaxList(f)&&m.length===1||e.isJSDocTypeExpression(k)||e.isJSDocSignature(k)||e.isJSDocTypeLiteral(k)){f=k;break}if(e.isTemplateSpan(f)&&C&&e.isTemplateMiddleOrTemplateTail(C)){var De=k.getFullStart()-"${".length,X=C.getStart()+"}".length;F(De,X)}var M=e.isSyntaxList(k)&&D(S)&&le(C)&&!e.positionsAreOnSameLine(S.getStart(),C.getStart(),oe),H=M?S.getEnd():k.getStart(),V=M?C.getStart():de(oe,k);if(e.hasJSDocNodes(k)&&((ae=k.jsDoc)===null||ae===void 0?void 0:ae.length)&&F(e.first(k.jsDoc).getStart(),V),e.isSyntaxList(k)){var h=k.getChildren()[0];h&&e.hasJSDocNodes(h)&&((E=h.jsDoc)===null||E===void 0?void 0:E.length)&&h.getStart()!==k.pos&&(H=Math.min(H,e.first(h.jsDoc).getStart()))}F(H,V),(e.isStringLiteral(k)||e.isTemplateLiteral(k))&&F(H+1,V-1),f=k;break}if(y===m.length-1)break e}}return I;function F(L,P){if(L!==P){var N=e.createTextSpanFromBounds(L,P);(!I||!e.textSpansEqual(N,I.textSpan)&&e.textSpanIntersectsWithPosition(N,te))&&(I=vi({textSpan:N},I&&{parent:I}))}}function $(L,P){F(L,P);for(var N=L;oe.text.charCodeAt(N)===47;)N++;F(N,P)}}ne.getSmartSelectionRange=K;function se(te,oe,ae){if(e.Debug.assert(ae.pos<=oe),oe0&&e.last(Z).kind===27&&B++,B}function k(x,T,Z,B){return e.Debug.assert(Z>=T.getStart(),"Assumed 'position' could not occur before node."),e.isTemplateLiteralToken(T)?e.isInsideTemplateLiteral(T,Z,B)?0:x+2:x+1}function C(x,T,Z){var B=e.isNoSubstitutionTemplateLiteral(x.template)?1:x.template.templateSpans.length+1;return T!==0&&e.Debug.assertLessThan(T,B),{isTypeParameterList:!1,invocation:{kind:0,node:x},argumentsSpan:De(x,Z),argumentIndex:T,argumentCount:B}}function me(x,T){var Z=x.getFullStart(),B=e.skipTrivia(T.text,x.getEnd(),!1);return e.createTextSpan(Z,B-Z)}function De(x,T){var Z=x.template,B=Z.getStart(),u=Z.getEnd();if(Z.kind===225){var A=e.last(Z.templateSpans);A.literal.getFullWidth()===0&&(u=e.skipTrivia(T.text,u,!1))}return e.createTextSpan(B,u-B)}function X(x,T,Z,B,u){for(var A=function(U){e.Debug.assert(e.rangeContainsRange(U.parent,U),"Not a subspan",function(){return"Child: ".concat(e.Debug.formatSyntaxKind(U.kind),", parent: ").concat(e.Debug.formatSyntaxKind(U.parent.kind))});var ge=oe(U,T,Z,B);if(ge)return{value:ge}},w=x;!e.isSourceFile(w)&&(u||!e.isBlock(w));w=w.parent){var z=A(w);if(typeof z=="object")return z.value}}function M(x,T,Z){var B=x.getChildren(Z),u=B.indexOf(T);return e.Debug.assert(u>=0&&B.length>u+1),B[u+1]}function H(x){return x.kind===0?e.getInvokedExpression(x.node):x.called}function V(x){return x.kind===0?x.node:x.kind===1?x.called:x.node}var h=8192|70221824|16384;function F(x,T,Z,B,u,A){var w,z=Z.isTypeParameterList,U=Z.argumentCount,ge=Z.argumentsSpan,pe=Z.invocation,He=Z.argumentIndex,Be=V(pe),Me=pe.kind===2?pe.symbol:u.getSymbolAtLocation(H(pe))||A&&((w=T.declaration)===null||w===void 0?void 0:w.symbol),Le=Me?e.symbolToDisplayParts(u,Me,A?B:void 0,void 0):e.emptyArray,Ae=e.map(x,function(wr){return N(wr,Le,z,u,Be,B)});He!==0&&e.Debug.assertLessThan(He,U);for(var Xe=0,Ne=0,Oe=0;Oe1))for(var Y=0,d=0,j=be;d=U){Xe=Ne+Y;break}Y++}Ne+=be.length}e.Debug.assert(Xe!==-1);var Se={items:e.flatMapToMutable(Ae,e.identity),applicableSpan:ge,selectedItemIndex:Xe,argumentIndex:He,argumentCount:U},Re=Se.items[Xe];if(Re.isVariadic){var er=e.findIndex(Re.parameters,function(wr){return!!wr.isRest});-1ye?G.substr(0,ye-"...".length)+"...":G}function N(G){var ye=70221824|1048576|16384,b={removeComments:!0},x=e.createPrinter(b);return e.usingSingleLineStringWriter(function(T){var Z=E.typeToTypeNode(G,void 0,ye,T);e.Debug.assertIsDefined(Z,"should always get typenode"),x.writeNode(4,Z,p,T)})}function J(G){return G==="undefined"}function q(G){if((e.isParameterDeclaration(G)||e.isVariableDeclaration(G)&&e.isVarConst(G))&&G.initializer){var ye=e.skipParentheses(G.initializer);return!(V(ye)||e.isNewExpression(ye)||e.isObjectLiteralExpression(ye)||e.isAssertionExpression(ye))}return!0}}ne.provideInlayHints=_e})(o=e.InlayHints||(e.InlayHints={}))})(fr||(fr={}));var fr;(function(e){var o=/^data:(?:application\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+\/=]+)$)?/;function ne(ie){var _e=e.createGetCanonicalFileName(ie.useCaseSensitiveFileNames()),Q=ie.getCurrentDirectory(),p=new e.Map,D=new e.Map;return{tryGetSourcePosition:te,tryGetGeneratedPosition:oe,toLineColumnOffset:f,clearCache:m};function le(y){return e.toPath(y,Q,_e)}function de(y,S){var k=le(y),C=D.get(k);if(C)return C;var me;if(ie.getDocumentPositionMapper)me=ie.getDocumentPositionMapper(y,S);else if(ie.readFile){var De=I(y);me=De&&e.getDocumentPositionMapper({getSourceFileLike:I,getCanonicalFileName:_e,log:function(X){return ie.log(X)}},y,e.getLineInfo(De.text,e.getLineStarts(De)),function(X){return!ie.fileExists||ie.fileExists(X)?ie.readFile(X):void 0})}return D.set(k,me||e.identitySourceMapConsumer),me||e.identitySourceMapConsumer}function te(y){if(!!e.isDeclarationFileName(y.fileName)){var S=ae(y.fileName);if(!!S){var k=de(y.fileName).getSourcePosition(y);return!k||k===y?void 0:te(k)||k}}}function oe(y){if(!e.isDeclarationFileName(y.fileName)){var S=ae(y.fileName);if(!!S){var k=ie.getProgram();if(!k.isSourceOfProjectReferenceRedirect(S.fileName)){var C=k.getCompilerOptions(),me=e.outFile(C),De=me?e.removeFileExtension(me)+".d.ts":e.getDeclarationEmitOutputFilePathWorker(y.fileName,k.getCompilerOptions(),Q,k.getCommonSourceDirectory(),_e);if(De!==void 0){var X=de(De,y.fileName).getGeneratedPosition(y);return X===y?void 0:X}}}}}function ae(y){var S=ie.getProgram();if(!!S){var k=le(y),C=S.getSourceFileByPath(k);return C&&C.resolvedPath===k?C:void 0}}function E(y){var S=le(y),k=p.get(S);if(k!==void 0)return k||void 0;if(!ie.readFile||ie.fileExists&&!ie.fileExists(S)){p.set(S,!1);return}var C=ie.readFile(S),me=C?O(C):!1;return p.set(S,me),me||void 0}function I(y){return ie.getSourceFileLike?ie.getSourceFileLike(y):ae(y)||E(y)}function f(y,S){var k=I(y);return k.getLineAndCharacterOfPosition(S)}function m(){p.clear(),D.clear()}}e.getSourceMapper=ne;function K(ie,_e,Q,p){var D=e.tryGetSourceMappingURL(Q);if(D){var le=o.exec(D);if(le){if(le[1]){var de=le[1];return se(ie,e.base64decode(e.sys,de),_e)}D=void 0}}var te=[];D&&te.push(D),te.push(_e+".map");for(var oe=D&&e.getNormalizedAbsolutePath(D,e.getDirectoryPath(_e)),ae=0,E=te;aeS?!1:m.arguments.length0?e.arrayFrom(de.values()).join(","):""}ne.getSymbolModifiers=_e;function Q(D,le,de,te,oe,ae,E){var I;ae===void 0&&(ae=e.getMeaningFromLocation(oe));var f=[],m=[],y=[],S=e.getCombinedLocalAndExportSymbolFlags(le),k=ae&1?O(D,le,oe):"",C=!1,me=oe.kind===108&&e.isInExpressionContext(oe)||e.isThisInTypeQuery(oe),De,X,M,H,V=!1;if(oe.kind===108&&!me)return{displayParts:[e.keywordPart(108)],documentation:[],symbolKind:"primitive type",tags:void 0};if(k!==""||S&32||S&2097152){if(k==="getter"||k==="setter"){var h=e.find(le.declarations,function(Ce){return Ce.name===oe});if(h)switch(h.kind){case 174:k="getter";break;case 175:k="setter";break;case 169:k="accessor";break;default:e.Debug.assertNever(h)}else k="property"}var F=void 0;if(De=me?D.getTypeAtLocation(oe):D.getTypeOfSymbolAtLocation(le,oe),oe.parent&&oe.parent.kind===208){var $=oe.parent.name;($===oe||$&&$.getFullWidth()===0)&&(oe=oe.parent)}var L=void 0;if(e.isCallOrNewExpression(oe)?L=oe:(e.isCallExpressionTarget(oe)||e.isNewExpressionTarget(oe)||oe.parent&&(e.isJsxOpeningLikeElement(oe.parent)||e.isTaggedTemplateExpression(oe.parent))&&e.isFunctionLike(le.valueDeclaration))&&(L=oe.parent),L){F=D.getResolvedSignature(L);var P=L.kind===211||e.isCallExpression(L)&&L.expression.kind===106,N=P?De.getConstructSignatures():De.getCallSignatures();if(F&&!e.contains(N,F.target)&&!e.contains(N,F)&&(F=N.length?N[0]:void 0),F){switch(P&&S&32?(k="constructor",be(De.symbol,k)):S&2097152?(k="alias",Y(k),f.push(e.spacePart()),P&&(F.flags&4&&(f.push(e.keywordPart(126)),f.push(e.spacePart())),f.push(e.keywordPart(103)),f.push(e.spacePart())),Oe(le)):be(le,k),k){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":f.push(e.punctuationPart(58)),f.push(e.spacePart()),!(e.getObjectFlags(De)&16)&&De.symbol&&(e.addRange(f,e.symbolToDisplayParts(D,De.symbol,te,void 0,4|1)),f.push(e.lineBreakPart())),P&&(F.flags&4&&(f.push(e.keywordPart(126)),f.push(e.spacePart())),f.push(e.keywordPart(103)),f.push(e.spacePart())),d(F,N,262144);break;default:d(F,N)}C=!0,V=N.length>1}}else if(e.isNameOfFunctionDeclaration(oe)&&!(S&98304)||oe.kind===135&&oe.parent.kind===173){var J=oe.parent,q=le.declarations&&e.find(le.declarations,function(Ce){return Ce===(oe.kind===135?J.parent:J)});if(q){var N=J.kind===173?De.getNonNullableType().getConstructSignatures():De.getNonNullableType().getCallSignatures();D.isImplementationOfOverload(J)?F=N[0]:F=D.getSignatureFromDeclaration(J),J.kind===173?(k="constructor",be(De.symbol,k)):be(J.kind===176&&!(De.symbol.flags&2048||De.symbol.flags&4096)?De.symbol:le,k),F&&d(F,N),C=!0,V=N.length>1}}}if(S&32&&!C&&!me&&(Xe(),e.getDeclarationOfKind(le,228)?Y("local class"):f.push(e.keywordPart(84)),f.push(e.spacePart()),Oe(le),j(le,de)),S&64&&ae&2&&(Ae(),f.push(e.keywordPart(118)),f.push(e.spacePart()),Oe(le),j(le,de)),S&524288&&ae&2&&(Ae(),f.push(e.keywordPart(154)),f.push(e.spacePart()),Oe(le),j(le,de),f.push(e.spacePart()),f.push(e.operatorPart(63)),f.push(e.spacePart()),e.addRange(f,e.typeToDisplayParts(D,e.isConstTypeReference(oe.parent)?D.getTypeAtLocation(oe.parent):D.getDeclaredTypeOfSymbol(le),te,8388608))),S&384&&(Ae(),e.some(le.declarations,function(Ce){return e.isEnumDeclaration(Ce)&&e.isEnumConst(Ce)})&&(f.push(e.keywordPart(85)),f.push(e.spacePart())),f.push(e.keywordPart(92)),f.push(e.spacePart()),Oe(le)),S&1536&&!me){Ae();var h=e.getDeclarationOfKind(le,264),G=h&&h.name&&h.name.kind===79;f.push(e.keywordPart(G?143:142)),f.push(e.spacePart()),Oe(le)}if(S&262144&&ae&2)if(Ae(),f.push(e.punctuationPart(20)),f.push(e.textPart("type parameter")),f.push(e.punctuationPart(21)),f.push(e.spacePart()),Oe(le),le.parent)Ne(),Oe(le.parent,te),j(le.parent,te);else{var ye=e.getDeclarationOfKind(le,165);if(ye===void 0)return e.Debug.fail();var h=ye.parent;if(h)if(e.isFunctionLikeKind(h.kind)){Ne();var F=D.getSignatureFromDeclaration(h);h.kind===177?(f.push(e.keywordPart(103)),f.push(e.spacePart())):h.kind!==176&&h.name&&Oe(h.symbol),e.addRange(f,e.signatureToDisplayParts(D,F,de,32))}else h.kind===262&&(Ne(),f.push(e.keywordPart(154)),f.push(e.spacePart()),Oe(h.symbol),j(h.symbol,de))}if(S&8){k="enum member",be(le,"enum member");var h=(I=le.declarations)===null||I===void 0?void 0:I[0];if((h==null?void 0:h.kind)===302){var b=D.getConstantValue(h);b!==void 0&&(f.push(e.spacePart()),f.push(e.operatorPart(63)),f.push(e.spacePart()),f.push(e.displayPart(e.getTextOfConstantValue(b),typeof b=="number"?e.SymbolDisplayPartKind.numericLiteral:e.SymbolDisplayPartKind.stringLiteral)))}}if(le.flags&2097152){if(Ae(),!C){var x=D.getAliasedSymbol(le);if(x!==le&&x.declarations&&x.declarations.length>0){var T=x.declarations[0],Z=e.getNameOfDeclaration(T);if(Z){var B=e.isModuleWithStringLiteralName(T)&&e.hasSyntacticModifier(T,2),u=le.name!=="default"&&!B,A=Q(D,x,e.getSourceFileOfNode(T),T,Z,ae,u?le:x);f.push.apply(f,A.displayParts),f.push(e.lineBreakPart()),M=A.documentation,H=A.tags}else M=x.getContextualDocumentationComment(T,D),H=x.getJsDocTags(D)}}if(le.declarations)switch(le.declarations[0].kind){case 267:f.push(e.keywordPart(93)),f.push(e.spacePart()),f.push(e.keywordPart(143));break;case 274:f.push(e.keywordPart(93)),f.push(e.spacePart()),f.push(e.keywordPart(le.declarations[0].isExportEquals?63:88));break;case 278:f.push(e.keywordPart(93));break;default:f.push(e.keywordPart(100))}f.push(e.spacePart()),Oe(le),e.forEach(le.declarations,function(Ce){if(Ce.kind===268){var Se=Ce;if(e.isExternalModuleImportEqualsDeclaration(Se))f.push(e.spacePart()),f.push(e.operatorPart(63)),f.push(e.spacePart()),f.push(e.keywordPart(147)),f.push(e.punctuationPart(20)),f.push(e.displayPart(e.getTextOfNode(e.getExternalModuleImportEqualsDeclarationExpression(Se)),e.SymbolDisplayPartKind.stringLiteral)),f.push(e.punctuationPart(21));else{var Re=D.getSymbolAtLocation(Se.moduleReference);Re&&(f.push(e.spacePart()),f.push(e.operatorPart(63)),f.push(e.spacePart()),Oe(Re,te))}return!0}})}if(!C)if(k!==""){if(De){if(me?(Ae(),f.push(e.keywordPart(108))):be(le,k),k==="property"||k==="accessor"||k==="getter"||k==="setter"||k==="JSX attribute"||S&3||k==="local var"||k==="index"||me){if(f.push(e.punctuationPart(58)),f.push(e.spacePart()),De.symbol&&De.symbol.flags&262144&&k!=="index"){var w=e.mapToDisplayParts(function(Ce){var Se=D.typeParameterToDeclaration(De,te,K);Le().writeNode(4,Se,e.getSourceFileOfNode(e.getParseTreeNode(te)),Ce)});e.addRange(f,w)}else e.addRange(f,e.typeToDisplayParts(D,De,te));if(le.target&&le.target.tupleLabelDeclaration){var z=le.target.tupleLabelDeclaration;e.Debug.assertNode(z.name,e.isIdentifier),f.push(e.spacePart()),f.push(e.punctuationPart(20)),f.push(e.textPart(e.idText(z.name))),f.push(e.punctuationPart(21))}}else if(S&16||S&8192||S&16384||S&131072||S&98304||k==="method"){var N=De.getNonNullableType().getCallSignatures();N.length&&(d(N[0],N),V=N.length>1)}}}else k=se(D,le,oe);if(m.length===0&&!V&&(m=le.getContextualDocumentationComment(te,D)),m.length===0&&S&4&&le.parent&&le.declarations&&e.forEach(le.parent.declarations,function(Ce){return Ce.kind===308}))for(var U=0,ge=le.declarations;U0))break}}if(m.length===0&&e.isIdentifier(oe)&&le.valueDeclaration&&e.isBindingElement(le.valueDeclaration)){var h=le.valueDeclaration,He=h.parent;if(e.isIdentifier(h.name)&&e.isObjectBindingPattern(He)){var Be=e.getTextOfIdentifierOrLiteral(h.name),Me=D.getTypeAtLocation(He);m=e.firstDefined(Me.isUnion()?Me.types:[Me],function(Se){var Re=Se.getProperty(Be);return Re?Re.getDocumentationComment(D):void 0})||e.emptyArray}}return y.length===0&&!V&&(y=le.getContextualJsDocTags(te,D)),m.length===0&&M&&(m=M),y.length===0&&H&&(y=H),{displayParts:f,documentation:m,symbolKind:k,tags:y.length===0?void 0:y};function Le(){return X||(X=e.createPrinter({removeComments:!0})),X}function Ae(){f.length&&f.push(e.lineBreakPart()),Xe()}function Xe(){E&&(Y("alias"),f.push(e.spacePart()))}function Ne(){f.push(e.spacePart()),f.push(e.keywordPart(101)),f.push(e.spacePart())}function Oe(Ce,Se){var Re;E&&Ce===le&&(Ce=E),k==="index"&&(Re=D.getIndexInfosOfIndexSymbol(Ce));var er=[];Ce.flags&131072&&Re?(Ce.parent&&(er=e.symbolToDisplayParts(D,Ce.parent)),er.push(e.punctuationPart(22)),Re.forEach(function(wr,mr){er.push.apply(er,e.typeToDisplayParts(D,wr.keyType)),mr!==Re.length-1&&(er.push(e.spacePart()),er.push(e.punctuationPart(51)),er.push(e.spacePart()))}),er.push(e.punctuationPart(23))):er=e.symbolToDisplayParts(D,Ce,Se||de,void 0,1|2|4),e.addRange(f,er),le.flags&16777216&&f.push(e.punctuationPart(57))}function be(Ce,Se){Ae(),Se&&(Y(Se),Ce&&!e.some(Ce.declarations,function(Re){return e.isArrowFunction(Re)||(e.isFunctionExpression(Re)||e.isClassExpression(Re))&&!Re.name})&&(f.push(e.spacePart()),Oe(Ce)))}function Y(Ce){switch(Ce){case"var":case"function":case"let":case"const":case"constructor":f.push(e.textOrKeywordPart(Ce));return;default:f.push(e.punctuationPart(20)),f.push(e.textOrKeywordPart(Ce)),f.push(e.punctuationPart(21));return}}function d(Ce,Se,Re){Re===void 0&&(Re=0),e.addRange(f,e.signatureToDisplayParts(D,Ce,te,Re|32)),Se.length>1&&(f.push(e.spacePart()),f.push(e.punctuationPart(20)),f.push(e.operatorPart(39)),f.push(e.displayPart((Se.length-1).toString(),e.SymbolDisplayPartKind.numericLiteral)),f.push(e.spacePart()),f.push(e.textPart(Se.length===2?"overload":"overloads")),f.push(e.punctuationPart(21))),m=Ce.getDocumentationComment(D),y=Ce.getJsDocTags(),Se.length>1&&m.length===0&&y.length===0&&(m=Se[0].getDocumentationComment(D),y=Se[0].getJsDocTags().filter(function(er){return er.name!=="deprecated"}))}function j(Ce,Se){var Re=e.mapToDisplayParts(function(er){var wr=D.symbolToTypeParameterDeclarations(Ce,Se,K);Le().writeList(53776,wr,e.getSourceFileOfNode(e.getParseTreeNode(Se)),er)});e.addRange(f,Re)}}ne.getSymbolDisplayPartsDocumentationAndSymbolKind=Q;function p(D){return D.parent?!1:e.forEach(D.declarations,function(le){if(le.kind===215)return!0;if(le.kind!==257&&le.kind!==259)return!1;for(var de=le.parent;!e.isFunctionBlock(de);de=de.parent)if(de.kind===308||de.kind===265)return!1;return!0})}})(o=e.SymbolDisplay||(e.SymbolDisplay={}))})(fr||(fr={}));var fr;(function(e){function o(O,ie){var _e=[],Q=ie.compilerOptions?se(ie.compilerOptions,_e):{},p=e.getDefaultCompilerOptions();for(var D in p)e.hasProperty(p,D)&&Q[D]===void 0&&(Q[D]=p[D]);for(var le=0,de=e.transpileOptionValueCompilerOptions;le>=D;return m}function E(I,f){var m=(I>>f&le)+1;return e.Debug.assert((m&le)===m,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules."),I&~(le<=$.length)return!1;var J=$[L];if(N.end<=J.start)return!1;if(e.startEndOverlapsWithStartEnd(N.pos,N.end,J.start,J.start+J.length))return!0;L++}};function P(){return!1}}function E(h,F,$){var L=h.getStart($);if(L===F.pos&&h.end===F.end)return L;var P=e.findPrecedingToken(F.pos,$);return!P||P.end>=F.pos?h.pos:P.end}function I(h,F,$){for(var L=-1,P;h;){var N=$.getLineAndCharacterOfPosition(h.getStart($)).line;if(L!==-1&&N!==L)break;if(ne.SmartIndenter.shouldIndentChildNode(F,h,P,$))return F.indentSize;L=N,P=h,h=h.parent}return 0}function f(h,F,$,L,P,N){var J={pos:h.pos,end:h.end};return ne.getFormattingScanner(F.text,$,J.pos,J.end,function(q){return S(J,h,L,P,q,N,1,function(G){return!1},F)})}ne.formatNodeGivenIndentation=f;function m(h,F,$,L){if(!h)return[];var P={pos:e.getLineStartPositionForPosition(h.getStart(F),F),end:h.end};return y(P,F,$,L)}function y(h,F,$,L){var P=oe(h,F);return ne.getFormattingScanner(F.text,F.languageVariant,E(P,h,F),h.end,function(N){return S(h,P,ne.SmartIndenter.getIndentationForNode(P,h,F,$.options),I(P,$.options,F),N,$,L,ae(F.parseDiagnostics,h),F)})}function S(h,F,$,L,P,N,J,q,G){var ye,b=N.options,x=N.getRules,T=N.host,Z=new ne.FormattingContext(G,J,b),B,u,A,w,z,U=-1,ge=[];if(P.advance(),P.isOnToken()){var pe=G.getLineAndCharacterOfPosition(F.getStart(G)).line,He=pe;e.hasDecorators(F)&&(He=G.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(F,G)).line),Y(F,F,pe,He,$,L)}if(!P.isOnToken()){var Be=ne.SmartIndenter.nodeWillIndentChild(b,F,void 0,G,!1)?$+b.indentSize:$,Me=P.getCurrentLeadingTrivia();Me&&(d(Me,Be,!1,function(Cr){return Ce(Cr,G.getLineAndCharacterOfPosition(Cr.pos),F,F,void 0)}),b.trimTrailingWhitespace!==!1&&qr(Me))}if(u&&P.getStartPos()>=h.end){var Le=P.isOnEOF()?P.readEOFTokenRange():P.isOnToken()?P.readTokenInfo(F).token:void 0;if(Le&&Le.pos===B){var Ae=((ye=e.findPrecedingToken(Le.end,G,F))===null||ye===void 0?void 0:ye.parent)||A;Se(Le,G.getLineAndCharacterOfPosition(Le.pos).line,Ae,u,w,A,Ae,void 0)}}return ge;function Xe(Cr,rn,Br,pn,ve){if(e.rangeOverlapsWithStartEnd(pn,Cr,rn)||e.rangeContainsStartEnd(pn,Cr,rn)){if(ve!==-1)return ve}else{var or=G.getLineAndCharacterOfPosition(Cr).line,Ee=e.getLineStartPositionForPosition(Cr,G),ze=ne.SmartIndenter.findFirstNonWhitespaceColumn(Ee,Cr,G,b);if(or!==Br||Cr===ze){var Ar=ne.SmartIndenter.getBaseIndentation(b);return Ar>ze?Ar:ze}}return-1}function Ne(Cr,rn,Br,pn,ve,or){var Ee=ne.SmartIndenter.shouldIndentChildNode(b,Cr)?b.indentSize:0;return or===rn?{indentation:rn===z?U:ve.getIndentation(),delta:Math.min(b.indentSize,ve.getDelta(Cr)+Ee)}:Br===-1?Cr.kind===20&&rn===z?{indentation:U,delta:ve.getDelta(Cr)}:ne.SmartIndenter.childStartsOnTheSameLineWithElseInIfStatement(pn,Cr,rn,G)||ne.SmartIndenter.childIsUnindentedBranchOfConditionalExpression(pn,Cr,rn,G)||ne.SmartIndenter.argumentStartsOnSameLineAsPreviousArgument(pn,Cr,rn,G)?{indentation:ve.getIndentation(),delta:Ee}:{indentation:ve.getIndentation()+ve.getDelta(Cr),delta:Ee}:{indentation:Br,delta:Ee}}function Oe(Cr){if(e.canHaveModifiers(Cr)){var rn=e.find(Cr.modifiers,e.isModifier,e.findIndex(Cr.modifiers,e.isDecorator));if(rn)return rn.kind}switch(Cr.kind){case 260:return 84;case 261:return 118;case 259:return 98;case 263:return 263;case 174:return 137;case 175:return 151;case 171:if(Cr.asteriskToken)return 41;case 169:case 166:var Br=e.getNameOfDeclaration(Cr);if(Br)return Br.kind}}function be(Cr,rn,Br,pn){return{getIndentationForComment:function(Ee,ze,Ar){switch(Ee){case 19:case 23:case 21:return Br+or(Ar)}return ze!==-1?ze:Br},getIndentationForToken:function(Ee,ze,Ar,xe){return!xe&&ve(Ee,ze,Ar)?Br+or(Ar):Br},getIndentation:function(){return Br},getDelta:or,recomputeIndentation:function(Ee,ze){ne.SmartIndenter.shouldIndentChildNode(b,ze,Cr,G)&&(Br+=Ee?b.indentSize:-b.indentSize,pn=ne.SmartIndenter.shouldIndentChildNode(b,Cr)?b.indentSize:0)}};function ve(Ee,ze,Ar){switch(ze){case 18:case 19:case 21:case 91:case 115:case 59:return!1;case 43:case 31:switch(Ar.kind){case 283:case 284:case 282:return!1}break;case 22:case 23:if(Ar.kind!==197)return!1;break}return rn!==Ee&&!(e.hasDecorators(Cr)&&ze===Oe(Cr))}function or(Ee){return ne.SmartIndenter.nodeWillIndentChild(b,Cr,Ee,G,!0)?pn:0}}function Y(Cr,rn,Br,pn,ve,or){if(!e.rangeOverlapsWithStartEnd(h,Cr.getStart(G),Cr.getEnd()))return;var Ee=be(Cr,Br,ve,or),ze=rn;for(e.forEachChild(Cr,function(Rr){xe(Rr,-1,Cr,Ee,Br,pn,!1)},function(Rr){cr(Rr,Cr,Br,Ee)});P.isOnToken()&&P.getStartPos()Math.min(Cr.end,h.end))break;Mr(Ar,Cr,Ee,Cr)}function xe(Rr,Qr,en,vn,Ie,We,xr,Lr){if(e.Debug.assert(!e.nodeIsSynthesized(Rr)),e.nodeIsMissing(Rr))return Qr;var xn=Rr.getStart(G),An=G.getLineAndCharacterOfPosition(xn).line,Qn=An;e.hasDecorators(Rr)&&(Qn=G.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(Rr,G)).line);var ai=-1;if(xr&&e.rangeContainsRange(h,en)&&(ai=Xe(xn,Rr.end,Ie,h,Qr),ai!==-1&&(Qr=ai)),!e.rangeOverlapsWithStartEnd(h,Rr.pos,Rr.end))return Rr.endh.end)return Qr;if(Dr.token.end>xn){Dr.token.pos>xn&&P.skipToStartOf(Rr);break}Mr(Dr,Cr,vn,Cr)}if(!P.isOnToken()||P.getStartPos()>=h.end)return Qr;if(e.isToken(Rr)){var Dr=P.readTokenInfo(Rr);if(Rr.kind!==11)return e.Debug.assert(Dr.token.end===Rr.end,"Token end is child end"),Mr(Dr,Cr,vn,Rr),Qr}var Pr=Rr.kind===167?An:We,jr=Ne(Rr,An,ai,Cr,vn,Pr);return Y(Rr,ze,An,Qn,jr.indentation,jr.delta),ze=Cr,Lr&&en.kind===206&&Qr===-1&&(Qr=jr.indentation),Qr}function cr(Rr,Qr,en,vn){e.Debug.assert(e.isNodeArray(Rr)),e.Debug.assert(!e.nodeIsSynthesized(Rr));var Ie=me(Qr,Rr),We=vn,xr=en;if(!e.rangeOverlapsWithStartEnd(h,Rr.pos,Rr.end)){Rr.endRr.pos)break;if(Lr.token.kind===Ie){xr=G.getLineAndCharacterOfPosition(Lr.token.pos).line,Mr(Lr,Qr,vn,Qr);var xn=void 0;if(U!==-1)xn=U;else{var An=e.getLineStartPositionForPosition(Lr.token.pos,G);xn=ne.SmartIndenter.findFirstNonWhitespaceColumn(An,Lr.token.pos,G,b)}We=be(Qr,en,xn,b.indentSize)}else Mr(Lr,Qr,vn,Qr)}for(var Qn=-1,ai=0;ai0){var xr=V(We,b);vr(vn,Ie.character,xr)}else dr(vn,Ie.character)}}}function Ue(Cr,rn,Br){for(var pn=Cr;pnor)){var Ee=t(ve,or);Ee!==-1&&(e.Debug.assert(Ee===ve||!e.isWhiteSpaceSingleLine(G.text.charCodeAt(Ee-1))),dr(Ee,or+1-Ee))}}}function t(Cr,rn){for(var Br=rn;Br>=Cr&&e.isWhiteSpaceSingleLine(G.text.charCodeAt(Br));)Br--;return Br!==rn?Br+1:-1}function qr(Cr){for(var rn=u?u.end:h.pos,Br=0,pn=Cr;BrG.text.length)return le(ye);if(ye.indentStyle===e.IndentStyle.None)return 0;var x=e.findPrecedingToken(q,G,void 0,!0),T=ne.getRangeOfEnclosingComment(G,q,x||null);if(T&&T.kind===3)return _e(G,q,ye,T);if(!x)return le(ye);var Z=e.isStringOrRegularExpressionOrTemplateLiteral(x.kind);if(Z&&x.getStart(G)<=q&&q=0),x<=T)return $(e.getStartPositionOfLine(T,q),G,q,ye);var Z=e.getStartPositionOfLine(x,q),B=F(Z,G,q,ye),u=B.column,A=B.character;if(u===0)return u;var w=q.text.charCodeAt(Z+A);return w===42?u-1:u}function Q(q,G,ye){for(var b=G;b>0;){var x=q.text.charCodeAt(b);if(!e.isWhiteSpaceLike(x))break;b--}var T=e.getLineStartPositionForPosition(b,q);return $(T,b,q,ye)}function p(q,G,ye,b,x,T){for(var Z,B=ye;B;){if(e.positionBelongsToNode(B,G,q)&&N(T,B,Z,q,!0)){var u=f(B,q),A=I(ye,B,b,q),w=A!==0?x&&A===2?T.indentSize:0:b!==u.line?T.indentSize:0;return de(B,u,void 0,w,q,!0,T)}var z=H(B,q,T,!0);if(z!==-1)return z;Z=B,B=B.parent}return le(T)}function D(q,G,ye,b){var x=ye.getLineAndCharacterOfPosition(q.getStart(ye));return de(q,x,G,0,ye,!1,b)}se.getIndentationForNode=D;function le(q){return q.baseIndentSize||0}se.getBaseIndentation=le;function de(q,G,ye,b,x,T,Z){for(var B,u=q.parent;u;){var A=!0;if(ye){var w=q.getStart(x);A=wye.end}var z=te(u,q,x),U=z.line===G.line||y(u,q,G.line,x);if(A){var ge=(B=C(q,x))===null||B===void 0?void 0:B[0],pe=!!ge&&f(ge,x).line>z.line,He=H(q,x,Z,pe);if(He!==-1||(He=ae(q,u,G,U,x,Z),He!==-1))return He+b}N(Z,u,q,x,T)&&!U&&(b+=Z.indentSize);var Be=m(u,q,G.line,x);q=u,u=q.parent,G=Be?x.getLineAndCharacterOfPosition(q.getStart(x)):z}return b+le(Z)}function te(q,G,ye){var b=C(G,ye),x=b?b.pos:q.getStart(ye);return ye.getLineAndCharacterOfPosition(x)}function oe(q,G,ye){var b=e.findListItemInfo(q);return b&&b.listItemIndex>0?V(b.list.getChildren(),b.listItemIndex-1,G,ye):-1}function ae(q,G,ye,b,x,T){var Z=(e.isDeclaration(q)||e.isStatementButNotDeclaration(q))&&(G.kind===308||!b);return Z?h(ye,x,T):-1}var E;(function(q){q[q.Unknown=0]="Unknown",q[q.OpenBrace=1]="OpenBrace",q[q.CloseBrace=2]="CloseBrace"})(E||(E={}));function I(q,G,ye,b){var x=e.findNextToken(q,G,b);if(!x)return 0;if(x.kind===18)return 1;if(x.kind===19){var T=f(x,b).line;return ye===T?2:0}return 0}function f(q,G){return G.getLineAndCharacterOfPosition(q.getStart(G))}function m(q,G,ye,b){if(!(e.isCallExpression(q)&&e.contains(q.arguments,G)))return!1;var x=q.expression.getEnd(),T=e.getLineAndCharacterOfPosition(b,x).line;return T===ye}se.isArgumentAndStartLineOverlapsExpressionBeingCalled=m;function y(q,G,ye,b){if(q.kind===242&&q.elseStatement===G){var x=e.findChildOfKind(q,91,b);e.Debug.assert(x!==void 0);var T=f(x,b).line;return T===ye}return!1}se.childStartsOnTheSameLineWithElseInIfStatement=y;function S(q,G,ye,b){if(e.isConditionalExpression(q)&&(G===q.whenTrue||G===q.whenFalse)){var x=e.getLineAndCharacterOfPosition(b,q.condition.end).line;if(G===q.whenTrue)return ye===x;var T=f(q.whenTrue,b).line,Z=e.getLineAndCharacterOfPosition(b,q.whenTrue.end).line;return x===T&&Z===ye}return!1}se.childIsUnindentedBranchOfConditionalExpression=S;function k(q,G,ye,b){if(e.isCallOrNewExpression(q)){if(!q.arguments)return!1;var x=e.find(q.arguments,function(u){return u.pos===G.pos});if(!x)return!1;var T=q.arguments.indexOf(x);if(T===0)return!1;var Z=q.arguments[T-1],B=e.getLineAndCharacterOfPosition(b,Z.getEnd()).line;if(ye===B)return!0}return!1}se.argumentStartsOnSameLineAsPreviousArgument=k;function C(q,G){return q.parent&&De(q.getStart(G),q.getEnd(),q.parent,G)}se.getContainingList=C;function me(q,G,ye){return G&&De(q,q,G,ye)}function De(q,G,ye,b){switch(ye.kind){case 180:return x(ye.typeArguments);case 207:return x(ye.properties);case 206:return x(ye.elements);case 184:return x(ye.members);case 259:case 215:case 216:case 171:case 170:case 176:case 173:case 182:case 177:return x(ye.typeParameters)||x(ye.parameters);case 174:return x(ye.parameters);case 260:case 228:case 261:case 262:case 347:return x(ye.typeParameters);case 211:case 210:return x(ye.typeArguments)||x(ye.arguments);case 258:return x(ye.declarations);case 272:case 276:return x(ye.elements);case 203:case 204:return x(ye.elements)}function x(T){return T&&e.rangeContainsStartEnd(X(ye,T,b),q,G)?T:void 0}}function X(q,G,ye){for(var b=q.getChildren(ye),x=1;x=0&&G=0;Z--)if(q[Z].kind!==27){var B=ye.getLineAndCharacterOfPosition(q[Z].end).line;if(B!==T.line)return h(T,ye,b);T=f(q[Z],ye)}return-1}function h(q,G,ye){var b=G.getPositionOfLineAndCharacter(q.line,0);return $(b,b+q.character,G,ye)}function F(q,G,ye,b){for(var x=0,T=0,Z=q;Z0?1:0,Ae=e.getStartPositionOfLine(e.getLineOfLocalPosition(b,He)+Le,b);return Ae=p(b.text,Ae),e.getStartPositionOfLine(e.getLineOfLocalPosition(b,Ae),b)}function ae(b,x,T){var Z=x.end,B=T.trailingTriviaOption;if(B===Q.Include){var u=e.getTrailingCommentRanges(b.text,Z);if(u)for(var A=e.getLineOfLocalPosition(b,x.end),w=0,z=u;wA)break;var ge=e.getLineOfLocalPosition(b,U.end);if(ge>A)return e.skipTrivia(b.text,U.end,!0,!0)}}}function E(b,x,T){var Z,B=x.end,u=T.trailingTriviaOption;if(u===Q.Exclude)return B;if(u===Q.ExcludeWhitespace){var A=e.concatenate(e.getTrailingCommentRanges(b.text,B),e.getLeadingCommentRanges(b.text,B)),w=(Z=A==null?void 0:A[A.length-1])===null||Z===void 0?void 0:Z.end;return w||B}var z=ae(b,x,T);if(z)return z;var U=e.skipTrivia(b.text,B,!0);return U!==B&&(u===Q.Include||e.isLineBreak(b.text.charCodeAt(U-1)))?U:B}function I(b,x){return!!x&&!!b.parent&&(x.kind===27||x.kind===26&&b.parent.kind===207)}function f(b){return e.isFunctionExpression(b)||e.isFunctionDeclaration(b)}ne.isThisTypeAnnotatable=f;var m=function(){function b(x,T){this.newLineCharacter=x,this.formatContext=T,this.changes=[],this.newFiles=[],this.classesWithNodesInsertedAtStart=new e.Map,this.deletedNodes=[]}return b.fromContext=function(x){return new b(e.getNewLineOrDefaultFromHost(x.host,x.formatContext.options),x.formatContext)},b.with=function(x,T){var Z=b.fromContext(x);return T(Z),Z.getChanges()},b.prototype.pushRaw=function(x,T){e.Debug.assertEqual(x.fileName,T.fileName);for(var Z=0,B=T.textChanges;Z",joiner:", "})},b.prototype.getOptionsForInsertNodeBefore=function(x,T,Z){return e.isStatement(x)||e.isClassElement(x)?{suffix:Z?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}:e.isVariableDeclaration(x)?{suffix:", "}:e.isParameter(x)?e.isParameter(T)?{suffix:", "}:{}:e.isStringLiteral(x)&&e.isImportDeclaration(x.parent)||e.isNamedImports(x)?{suffix:", "}:e.isImportSpecifier(x)?{suffix:","+(Z?this.newLineCharacter:" ")}:e.Debug.failBadSyntaxKind(x)},b.prototype.insertNodeAtConstructorStart=function(x,T,Z){var B=e.firstOrUndefined(T.body.statements);!B||!T.body.multiLine?this.replaceConstructorBody(x,T,zn([Z],T.body.statements,!0)):this.insertNodeBefore(x,B,Z)},b.prototype.insertNodeAtConstructorStartAfterSuperCall=function(x,T,Z){var B=e.find(T.body.statements,function(u){return e.isExpressionStatement(u)&&e.isSuperCall(u.expression)});!B||!T.body.multiLine?this.replaceConstructorBody(x,T,zn(zn([],T.body.statements,!0),[Z],!1)):this.insertNodeAfter(x,B,Z)},b.prototype.insertNodeAtConstructorEnd=function(x,T,Z){var B=e.lastOrUndefined(T.body.statements);!B||!T.body.multiLine?this.replaceConstructorBody(x,T,zn(zn([],T.body.statements,!0),[Z],!1)):this.insertNodeAfter(x,B,Z)},b.prototype.replaceConstructorBody=function(x,T,Z){this.replaceNode(x,T.body,e.factory.createBlock(Z,!0))},b.prototype.insertNodeAtEndOfScope=function(x,T,Z){var B=oe(x,T.getLastToken(),{});this.insertNodeAt(x,B,Z,{prefix:e.isLineBreak(x.text.charCodeAt(T.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})},b.prototype.insertMemberAtStart=function(x,T,Z){this.insertNodeAtStartWorker(x,T,Z)},b.prototype.insertNodeAtObjectStart=function(x,T,Z){this.insertNodeAtStartWorker(x,T,Z)},b.prototype.insertNodeAtStartWorker=function(x,T,Z){var B,u=(B=this.guessIndentationFromExistingMembers(x,T))!==null&&B!==void 0?B:this.computeIndentationForNewMember(x,T);this.insertNodeAt(x,De(T).pos,Z,this.getInsertNodeAtStartInsertOptions(x,T,u))},b.prototype.guessIndentationFromExistingMembers=function(x,T){for(var Z,B=T,u=0,A=De(T);u0?{fileName:He.fileName,textChanges:Ae}:void 0})}b.getTextChangesFromChanges=x;function T(w,z,U,ge,pe){var He=Z(w,e.getScriptKindFromFileName(z),U,ge,pe);return{fileName:z,textChanges:[e.createTextChange(e.createTextSpan(0,0),He)],isNewFile:!0}}b.newFileChanges=T;function Z(w,z,U,ge,pe){var He=U.map(function(Le){return Le===4?"":A(Le,w,ge).text}).join(ge),Be=e.createSourceFile("any file name",He,99,!0,z),Me=e.formatting.formatDocument(Be,pe);return H(He,Me)+ge}b.newFileChangesWorker=Z;function B(w,z,U,ge,pe){var He;if(w.kind===de.Remove)return"";if(w.kind===de.Text)return w.text;var Be=w.options,Me=Be===void 0?{}:Be,Le=w.range.pos,Ae=function(Oe){return u(Oe,z,Le,Me,U,ge,pe)},Xe=w.kind===de.ReplaceWithMultipleNodes?w.nodes.map(function(Oe){return e.removeSuffix(Ae(Oe),U)}).join(((He=w.options)===null||He===void 0?void 0:He.joiner)||U):Ae(w.node),Ne=Me.indentation!==void 0||e.getLineStartPositionForPosition(Le,z)===Le?Xe:Xe.replace(/^\s+/,"");return(Me.prefix||"")+Ne+(!Me.suffix||e.endsWith(Ne,Me.suffix)?"":Me.suffix)}function u(w,z,U,ge,pe,He,Be){var Me=ge.indentation,Le=ge.prefix,Ae=ge.delta,Xe=A(w,z,pe),Ne=Xe.node,Oe=Xe.text;Be&&Be(Ne,Oe);var be=e.getFormatCodeSettingsForWriting(He,z),Y=Me!==void 0?Me:e.formatting.SmartIndenter.getIndentation(U,z,be,Le===pe||e.getLineStartPositionForPosition(U,z)===U);Ae===void 0&&(Ae=e.formatting.SmartIndenter.shouldIndentChildNode(be,w)&&be.indentSize||0);var d={text:Oe,getLineAndCharacterOfPosition:function(Ce){return e.getLineAndCharacterOfPosition(this,Ce)}},j=e.formatting.formatNodeGivenIndentation(Ne,d,z.languageVariant,Y,Ae,vi(vi({},He),{options:be}));return H(Oe,j)}function A(w,z,U){var ge=L(U),pe=e.getNewLineKind(U);return e.createPrinter({newLine:pe,neverAsciiEscape:!0,preserveSourceNewlines:!0,terminateUnterminatedLiterals:!0},ge).writeNode(4,w,z,ge),{text:ge.getText(),node:F(w)}}b.getNonformattedText=A})(M||(M={}));function H(b,x){for(var T=x.length-1;T>=0;T--){var Z=x[T],B=Z.span,u=Z.newText;b="".concat(b.substring(0,B.start)).concat(u).concat(b.substring(e.textSpanEnd(B)))}return b}ne.applyChanges=H;function V(b){return e.skipTrivia(b,0)===b.length}var h=vi(vi({},e.nullTransformationContext),{factory:e.createNodeFactory(e.nullTransformationContext.factory.flags|1,e.nullTransformationContext.factory.baseFactory)});function F(b){var x=e.visitEachChild(b,F,h,$,F),T=e.nodeIsSynthesized(x)?x:Object.create(x);return e.setTextRangePosEnd(T,K(b),O(b)),T}ne.assignPositionsToNode=F;function $(b,x,T,Z,B){var u=e.visitNodes(b,x,T,Z,B);if(!u)return u;var A=u===b?e.factory.createNodeArray(u.slice(0)):u;return e.setTextRangePosEnd(A,K(b),O(b)),A}function L(b){var x=0,T=e.createTextWriter(b),Z=function(ln){ln&&se(ln,x)},B=function(ln){ln&&ie(ln,x)},u=function(ln){ln&&se(ln,x)},A=function(ln){ln&&ie(ln,x)},w=function(ln){ln&&se(ln,x)},z=function(ln){ln&&ie(ln,x)};function U(ln,dr){if(dr||!V(ln)){x=T.getTextPos();for(var vr=0;e.isWhiteSpaceLike(ln.charCodeAt(ln.length-vr-1));)vr++;x-=vr}}function ge(ln){T.write(ln),U(ln,!1)}function pe(ln){T.writeComment(ln)}function He(ln){T.writeKeyword(ln),U(ln,!1)}function Be(ln){T.writeOperator(ln),U(ln,!1)}function Me(ln){T.writePunctuation(ln),U(ln,!1)}function Le(ln){T.writeTrailingSemicolon(ln),U(ln,!1)}function Ae(ln){T.writeParameter(ln),U(ln,!1)}function Xe(ln){T.writeProperty(ln),U(ln,!1)}function Ne(ln){T.writeSpace(ln),U(ln,!1)}function Oe(ln){T.writeStringLiteral(ln),U(ln,!1)}function be(ln,dr){T.writeSymbol(ln,dr),U(ln,!1)}function Y(ln){T.writeLine(ln)}function d(){T.increaseIndent()}function j(){T.decreaseIndent()}function Ce(){return T.getText()}function Se(ln){T.rawWrite(ln),U(ln,!1)}function Re(ln){T.writeLiteral(ln),U(ln,!0)}function er(){return T.getTextPos()}function wr(){return T.getLine()}function mr(){return T.getColumn()}function Ue(){return T.getIndent()}function t(){return T.isAtStartOfLine()}function qr(){T.clear(),x=0}return{onBeforeEmitNode:Z,onAfterEmitNode:B,onBeforeEmitNodeArray:u,onAfterEmitNodeArray:A,onBeforeEmitToken:w,onAfterEmitToken:z,write:ge,writeComment:pe,writeKeyword:He,writeOperator:Be,writePunctuation:Me,writeTrailingSemicolon:Le,writeParameter:Ae,writeProperty:Xe,writeSpace:Ne,writeStringLiteral:Oe,writeSymbol:be,writeLine:Y,increaseIndent:d,decreaseIndent:j,getText:Ce,rawWrite:Se,writeLiteral:Re,getTextPos:er,getLine:wr,getColumn:mr,getIndent:Ue,isAtStartOfLine:t,hasTrailingComment:function(){return T.hasTrailingComment()},hasTrailingWhitespace:function(){return T.hasTrailingWhitespace()},clear:qr}}ne.createWriter=L;function P(b){for(var x,T=0,Z=b.statements;T=Le+2)break}if(b.statements.length){ge===void 0&&(ge=b.getLineAndCharacterOfPosition(b.statements[0].getStart()).line);var Ae=b.getLineAndCharacterOfPosition(Be.end).line;if(ge1)break}var X=k<2;return function(M){var H=M.fixId,V=M.fixAllDescription,h=Mm(M,["fixId","fixAllDescription"]);return X?h:vi(vi({},h),{fixId:H,fixAllDescription:V})}}function de(m){var y=f(m),S=K.get(String(m.errorCode));return e.flatMap(S,function(k){return e.map(k.getCodeActions(m),le(k,y))})}ne.getFixes=de;function te(m){return se.get(e.cast(m.fixId,e.isString)).getAllCodeActions(m)}ne.getAllFixes=te;function oe(m,y){return{changes:m,commands:y}}ne.createCombinedCodeActions=oe;function ae(m,y){return{fileName:m,textChanges:y}}ne.createFileTextChanges=ae;function E(m,y,S){var k=[],C=e.textChanges.ChangeTracker.with(m,function(me){return I(m,y,function(De){return S(me,De,k)})});return oe(C,k.length===0?void 0:k)}ne.codeFixAll=E;function I(m,y,S){for(var k=0,C=f(m);ke.textSpanEnd(D)?"quit":(e.isArrowFunction(te)||e.isMethodDeclaration(te)||e.isFunctionExpression(te)||e.isFunctionDeclaration(te))&&e.textSpansEqual(D,e.createTextSpanFromNode(te,p))});return de}}function Q(p,D){return function(le){var de=le.start,te=le.length,oe=le.relatedInformation,ae=le.code;return e.isNumber(de)&&e.isNumber(te)&&e.textSpansEqual({start:de,length:te},p)&&ae===D&&!!oe&&e.some(oe,function(E){return E.code===e.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code})}}})(o=e.codefix||(e.codefix={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K="addMissingAwait",se=e.Diagnostics.Property_0_does_not_exist_on_type_1.code,O=[e.Diagnostics.This_expression_is_not_callable.code,e.Diagnostics.This_expression_is_not_constructable.code],ie=zn([e.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type.code,e.Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,e.Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,e.Diagnostics.Operator_0_cannot_be_applied_to_type_1.code,e.Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2.code,e.Diagnostics.This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap.code,e.Diagnostics.This_condition_will_always_return_true_since_this_0_is_always_defined.code,e.Diagnostics.Type_0_is_not_an_array_type.code,e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type.code,e.Diagnostics.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher.code,e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,e.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,e.Diagnostics.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator.code,e.Diagnostics.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator.code,e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,se],O,!0);ne.registerCodeFix({fixIds:[K],errorCodes:ie,getCodeActions:function(f){var m=f.sourceFile,y=f.errorCode,S=f.span,k=f.cancellationToken,C=f.program,me=_e(m,y,S,k,C);if(!!me){var De=f.program.getTypeChecker(),X=function(M){return e.textChanges.ChangeTracker.with(f,M)};return e.compact([Q(f,me,y,De,X),p(f,me,y,De,X)])}},getAllCodeActions:function(I){var f=I.sourceFile,m=I.program,y=I.cancellationToken,S=I.program.getTypeChecker(),k=new e.Set;return ne.codeFixAll(I,ie,function(C,me){var De=_e(f,me.code,me,y,m);if(!!De){var X=function(M){return M(C),[]};return Q(I,De,me.code,S,X,k)||p(I,De,me.code,S,X,k)}})}});function _e(I,f,m,y,S){var k=e.getFixableErrorSpanExpression(I,m);return k&&D(I,f,m,y,S)&&oe(k)?k:void 0}function Q(I,f,m,y,S,k){var C=I.sourceFile,me=I.program,De=I.cancellationToken,X=le(f,C,De,me,y);if(X){var M=S(function(H){e.forEach(X.initializers,function(V){var h=V.expression;return ae(H,m,C,y,h,k)}),k&&X.needsSecondPassForFixAll&&ae(H,m,C,y,f,k)});return ne.createCodeFixActionWithoutFixAll("addMissingAwaitToInitializer",M,X.initializers.length===1?[e.Diagnostics.Add_await_to_initializer_for_0,X.initializers[0].declarationSymbol.name]:e.Diagnostics.Add_await_to_initializers)}}function p(I,f,m,y,S,k){var C=S(function(me){return ae(me,m,I.sourceFile,y,f,k)});return ne.createCodeFixAction(K,C,e.Diagnostics.Add_await,K,e.Diagnostics.Fix_all_expressions_possibly_missing_await)}function D(I,f,m,y,S){var k=S.getTypeChecker(),C=k.getDiagnostics(I,y);return e.some(C,function(me){var De=me.start,X=me.length,M=me.relatedInformation,H=me.code;return e.isNumber(De)&&e.isNumber(X)&&e.textSpansEqual({start:De,length:X},m)&&H===f&&!!M&&e.some(M,function(V){return V.code===e.Diagnostics.Did_you_forget_to_use_await.code})})}function le(I,f,m,y,S){var k=de(I,S);if(!!k){for(var C=k.isCompleteFix,me,De=function(V){var h=S.getSymbolAtLocation(V);if(!h)return"continue";var F=e.tryCast(h.valueDeclaration,e.isVariableDeclaration),$=F&&e.tryCast(F.name,e.isIdentifier),L=e.getAncestor(F,240);if(!F||!L||F.type||!F.initializer||L.getSourceFile()!==f||e.hasSyntacticModifier(L,1)||!$||!oe(F.initializer))return C=!1,"continue";var P=y.getSemanticDiagnostics(f,m),N=e.FindAllReferences.Core.eachSymbolReferenceInFile($,S,f,function(J){return V!==J&&!te(J,P,f,S)});if(N)return C=!1,"continue";(me||(me=[])).push({expression:F.initializer,declarationSymbol:h})},X=0,M=k.identifiers;X0)return[ne.createCodeFixAction(K,te,e.Diagnostics.Add_const_to_unresolved_variable,K,e.Diagnostics.Add_const_to_all_unresolved_variables)]},fixIds:[K],getAllCodeActions:function(le){var de=new e.Set;return ne.codeFixAll(le,se,function(te,oe){return O(te,oe.file,oe.start,le.program,de)})}});function O(le,de,te,oe,ae){var E=e.getTokenAtPosition(de,te),I=e.findAncestor(E,function(k){return e.isForInOrOfStatement(k.parent)?k.parent.initializer===k:_e(k)?!1:"quit"});if(I)return ie(le,I,de,ae);var f=E.parent;if(e.isBinaryExpression(f)&&f.operatorToken.kind===63&&e.isExpressionStatement(f.parent))return ie(le,E,de,ae);if(e.isArrayLiteralExpression(f)){var m=oe.getTypeChecker();return e.every(f.elements,function(k){return Q(k,m)})?ie(le,f,de,ae):void 0}var y=e.findAncestor(E,function(k){return e.isExpressionStatement(k.parent)?!0:p(k)?!1:"quit"});if(y){var S=oe.getTypeChecker();return D(y,S)?ie(le,y,de,ae):void 0}}function ie(le,de,te,oe){(!oe||e.tryAddToSet(oe,de))&&le.insertModifierBefore(te,85,de)}function _e(le){switch(le.kind){case 79:case 206:case 207:case 299:case 300:return!0;default:return!1}}function Q(le,de){var te=e.isIdentifier(le)?le:e.isAssignmentExpression(le,!0)&&e.isIdentifier(le.left)?le.left:void 0;return!!te&&!de.getSymbolAtLocation(te)}function p(le){switch(le.kind){case 79:case 223:case 27:return!0;default:return!1}}function D(le,de){return e.isBinaryExpression(le)?le.operatorToken.kind===27?e.every([le.left,le.right],function(te){return D(te,de)}):le.operatorToken.kind===63&&e.isIdentifier(le.left)&&!de.getSymbolAtLocation(le.left):!1}})(o=e.codefix||(e.codefix={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K="addMissingDeclareProperty",se=[e.Diagnostics.Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration.code];ne.registerCodeFix({errorCodes:se,getCodeActions:function(_e){var Q=e.textChanges.ChangeTracker.with(_e,function(p){return O(p,_e.sourceFile,_e.span.start)});if(Q.length>0)return[ne.createCodeFixAction(K,Q,e.Diagnostics.Prefix_with_declare,K,e.Diagnostics.Prefix_all_incorrect_property_declarations_with_declare)]},fixIds:[K],getAllCodeActions:function(ie){var _e=new e.Set;return ne.codeFixAll(ie,se,function(Q,p){return O(Q,p.file,p.start,_e)})}});function O(ie,_e,Q,p){var D=e.getTokenAtPosition(_e,Q);if(!!e.isIdentifier(D)){var le=D.parent;le.kind===169&&(!p||e.tryAddToSet(p,le))&&ie.insertModifierBefore(_e,136,le)}}})(o=e.codefix||(e.codefix={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K="addMissingInvocationForDecorator",se=[e.Diagnostics._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0.code];ne.registerCodeFix({errorCodes:se,getCodeActions:function(_e){var Q=e.textChanges.ChangeTracker.with(_e,function(p){return O(p,_e.sourceFile,_e.span.start)});return[ne.createCodeFixAction(K,Q,e.Diagnostics.Call_decorator_expression,K,e.Diagnostics.Add_to_all_uncalled_decorators)]},fixIds:[K],getAllCodeActions:function(ie){return ne.codeFixAll(ie,se,function(_e,Q){return O(_e,Q.file,Q.start)})}});function O(ie,_e,Q){var p=e.getTokenAtPosition(_e,Q),D=e.findAncestor(p,e.isDecorator);e.Debug.assert(!!D,"Expected position to be owned by a decorator.");var le=e.factory.createCallExpression(D.expression,void 0,void 0);ie.replaceNode(_e,D.expression,le)}})(o=e.codefix||(e.codefix={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K="addNameToNamelessParameter",se=[e.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code];ne.registerCodeFix({errorCodes:se,getCodeActions:function(_e){var Q=e.textChanges.ChangeTracker.with(_e,function(p){return O(p,_e.sourceFile,_e.span.start)});return[ne.createCodeFixAction(K,Q,e.Diagnostics.Add_parameter_name,K,e.Diagnostics.Add_names_to_all_parameters_without_names)]},fixIds:[K],getAllCodeActions:function(ie){return ne.codeFixAll(ie,se,function(_e,Q){return O(_e,Q.file,Q.start)})}});function O(ie,_e,Q){var p=e.getTokenAtPosition(_e,Q),D=p.parent;if(!e.isParameter(D))return e.Debug.fail("Tried to add a parameter name to a non-parameter: "+e.Debug.formatSyntaxKind(p.kind));var le=D.parent.parameters.indexOf(D);e.Debug.assert(!D.type,"Tried to add a parameter name to a parameter that already had one."),e.Debug.assert(le>-1,"Parameter not found in parent parameter list.");var de=e.factory.createTypeReferenceNode(D.name,void 0),te=e.factory.createParameterDeclaration(D.modifiers,D.dotDotDotToken,"arg"+le,D.questionToken,D.dotDotDotToken?e.factory.createArrayTypeNode(de):de,D.initializer);ie.replaceNode(_e,D,te)}})(o=e.codefix||(e.codefix={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K="addOptionalPropertyUndefined",se=[e.Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target.code,e.Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code];ne.registerCodeFix({errorCodes:se,getCodeActions:function(p){var D=p.program.getTypeChecker(),le=O(p.sourceFile,p.span,D);if(!!le.length){var de=e.textChanges.ChangeTracker.with(p,function(te){return Q(te,le)});return[ne.createCodeFixActionWithoutFixAll(K,de,e.Diagnostics.Add_undefined_to_optional_property_type)]}},fixIds:[K]});function O(p,D,le){var de,te,oe=_e(e.getFixableErrorSpanExpression(p,D),le);if(!oe)return e.emptyArray;var ae=oe.source,E=oe.target,I=ie(ae,E,le)?le.getTypeAtLocation(E.expression):le.getTypeAtLocation(E);return((te=(de=I.symbol)===null||de===void 0?void 0:de.declarations)===null||te===void 0?void 0:te.some(function(f){return e.getSourceFileOfNode(f).fileName.match(/\.d\.ts$/)}))?e.emptyArray:le.getExactOptionalProperties(I)}function ie(p,D,le){return e.isPropertyAccessExpression(D)&&!!le.getExactOptionalProperties(le.getTypeAtLocation(D.expression)).length&&le.getTypeAtLocation(p)===le.getUndefinedType()}function _e(p,D){var le;if(p){if(e.isBinaryExpression(p.parent)&&p.parent.operatorToken.kind===63)return{source:p.parent.right,target:p.parent.left};if(e.isVariableDeclaration(p.parent)&&p.parent.initializer)return{source:p.parent.initializer,target:p.parent.name};if(e.isCallExpression(p.parent)){var de=D.getSymbolAtLocation(p.parent.expression);if(!(de==null?void 0:de.valueDeclaration)||!e.isFunctionLikeKind(de.valueDeclaration.kind)||!e.isExpression(p))return;var te=p.parent.arguments.indexOf(p);if(te===-1)return;var oe=de.valueDeclaration.parameters[te].name;if(e.isIdentifier(oe))return{source:p,target:oe}}else if(e.isPropertyAssignment(p.parent)&&e.isIdentifier(p.parent.name)||e.isShorthandPropertyAssignment(p.parent)){var ae=_e(p.parent.parent,D);if(!ae)return;var E=D.getPropertyOfType(D.getTypeAtLocation(ae.target),p.parent.name.text),I=(le=E==null?void 0:E.declarations)===null||le===void 0?void 0:le[0];return I?{source:e.isPropertyAssignment(p.parent)?p.parent.initializer:p.parent.name,target:I}:void 0}}else return}function Q(p,D){for(var le=0,de=D;le1?(p.delete(D,E),p.insertNodeAfter(D,f,I)):p.replaceNode(D,f,I)}function m(k){var C=[];return k.exports&&k.exports.forEach(function(X){if(X.name==="prototype"&&X.declarations){var M=X.declarations[0];if(X.declarations.length===1&&e.isPropertyAccessExpression(M)&&e.isBinaryExpression(M.parent)&&M.parent.operatorToken.kind===63&&e.isObjectLiteralExpression(M.parent.right)){var H=M.parent.right;De(H.symbol,void 0,C)}}else De(X,[e.factory.createToken(124)],C)}),k.members&&k.members.forEach(function(X,M){var H,V,h,F;if(M==="constructor"&&X.valueDeclaration){var $=(F=(h=(V=(H=k.exports)===null||H===void 0?void 0:H.get("prototype"))===null||V===void 0?void 0:V.declarations)===null||h===void 0?void 0:h[0])===null||F===void 0?void 0:F.parent;$&&e.isBinaryExpression($)&&e.isObjectLiteralExpression($.right)&&e.some($.right.properties,_e)||p.delete(D,X.valueDeclaration.parent);return}De(X,void 0,C)}),C;function me(X,M){return e.isAccessExpression(X)?e.isPropertyAccessExpression(X)&&_e(X)?!0:e.isFunctionLike(M):e.every(X.properties,function(H){return!!(e.isMethodDeclaration(H)||e.isGetOrSetAccessorDeclaration(H)||e.isPropertyAssignment(H)&&e.isFunctionExpression(H.initializer)&&!!H.name||_e(H))})}function De(X,M,H){if(!(X.flags&8192)&&!(X.flags&4096))return;var V=X.valueDeclaration,h=V.parent,F=h.right;if(!me(V,F)||e.some(H,function(ye){var b=e.getNameOfDeclaration(ye);return!!(b&&e.isIdentifier(b)&&e.idText(b)===e.symbolName(X))}))return;var $=h.parent&&h.parent.kind===241?h.parent:h;if(p.delete(D,$),!F){H.push(e.factory.createPropertyDeclaration(M,X.name,void 0,void 0,void 0));return}if(e.isAccessExpression(V)&&(e.isFunctionExpression(F)||e.isArrowFunction(F))){var L=e.getQuotePreference(D,te),P=Q(V,oe,L);P&&J(H,F,P);return}else if(e.isObjectLiteralExpression(F)){e.forEach(F.properties,function(ye){(e.isMethodDeclaration(ye)||e.isGetOrSetAccessorDeclaration(ye))&&H.push(ye),e.isPropertyAssignment(ye)&&e.isFunctionExpression(ye.initializer)&&J(H,ye.initializer,ye.name),!_e(ye)});return}else{if(e.isSourceFileJS(D)||!e.isPropertyAccessExpression(V))return;var N=e.factory.createPropertyDeclaration(M,V.name,void 0,void 0,F);e.copyLeadingComments(h.parent,N,D),H.push(N);return}function J(ye,b,x){return e.isFunctionExpression(b)?q(ye,b,x):G(ye,b,x)}function q(ye,b,x){var T=e.concatenate(M,ie(b,132)),Z=e.factory.createMethodDeclaration(T,void 0,x,void 0,void 0,b.parameters,void 0,b.body);e.copyLeadingComments(h,Z,D),ye.push(Z)}function G(ye,b,x){var T=b.body,Z;T.kind===238?Z=T:Z=e.factory.createBlock([e.factory.createReturnStatement(T)]);var B=e.concatenate(M,ie(b,132)),u=e.factory.createMethodDeclaration(B,void 0,x,void 0,void 0,b.parameters,void 0,Z);e.copyLeadingComments(h,u,D),ye.push(u)}}}function y(k){var C=k.initializer;if(!(!C||!e.isFunctionExpression(C)||!e.isIdentifier(k.name))){var me=m(k.symbol);C.body&&me.unshift(e.factory.createConstructorDeclaration(void 0,C.parameters,C.body));var De=ie(k.parent.parent,93),X=e.factory.createClassDeclaration(De,k.name,void 0,void 0,me);return X}}function S(k){var C=m(ae);k.body&&C.unshift(e.factory.createConstructorDeclaration(void 0,k.parameters,k.body));var me=ie(k,93),De=e.factory.createClassDeclaration(me,k.name,void 0,void 0,C);return De}}function ie(p,D){return e.canHaveModifiers(p)?e.filter(p.modifiers,function(le){return le.kind===D}):void 0}function _e(p){return p.name?!!(e.isIdentifier(p.name)&&p.name.text==="constructor"):!1}function Q(p,D,le){if(e.isPropertyAccessExpression(p))return p.name;var de=p.argumentExpression;if(e.isNumericLiteral(de))return de;if(e.isStringLiteralLike(de))return e.isIdentifierText(de.text,e.getEmitScriptTarget(D))?e.factory.createIdentifier(de.text):e.isNoSubstitutionTemplateLiteral(de)?e.factory.createStringLiteral(de.text,le===0):de}})(o=e.codefix||(e.codefix={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K="convertToAsyncFunction",se=[e.Diagnostics.This_may_be_converted_to_an_async_function.code],O=!0;ne.registerCodeFix({errorCodes:se,getCodeActions:function(u){O=!0;var A=e.textChanges.ChangeTracker.with(u,function(w){return _e(w,u.sourceFile,u.span.start,u.program.getTypeChecker())});return O?[ne.createCodeFixAction(K,A,e.Diagnostics.Convert_to_async_function,K,e.Diagnostics.Convert_all_to_async_functions)]:[]},fixIds:[K],getAllCodeActions:function(u){return ne.codeFixAll(u,se,function(A,w){return _e(A,w.file,w.start,u.program.getTypeChecker())})}});var ie;(function(u){u[u.Identifier=0]="Identifier",u[u.BindingPattern=1]="BindingPattern"})(ie||(ie={}));function _e(u,A,w,z){var U=e.getTokenAtPosition(A,w),ge;if(e.isIdentifier(U)&&e.isVariableDeclaration(U.parent)&&U.parent.initializer&&e.isFunctionLikeDeclaration(U.parent.initializer)?ge=U.parent.initializer:ge=e.tryCast(e.getContainingFunction(e.getTokenAtPosition(A,w)),e.canBeConvertedToAsync),!!ge){var pe=new e.Map,He=e.isInJSFile(ge),Be=p(ge,z),Me=oe(ge,z,pe);if(!!e.returnsPromise(Me,z)){var Le=Me.body&&e.isBlock(Me.body)?Q(Me.body,z):e.emptyArray,Ae={checker:z,synthNamesMap:pe,setOfExpressionsToReturn:Be,isInJSFile:He};if(!!Le.length){var Xe=e.skipTrivia(A.text,e.moveRangePastModifiers(ge).pos);u.insertModifierAt(A,Xe,132,{suffix:" "});for(var Ne=function(j){if(e.forEachChild(j,function Ce(Se){if(e.isCallExpression(Se)){var Re=f(Se,Se,Ae,!1);if(E())return!0;u.replaceNodeWithNodes(A,j,Re)}else if(!e.isFunctionLike(Se)&&(e.forEachChild(Se,Ce),E()))return!0}),E())return{value:void 0}},Oe=0,be=Le;Oe0)return Se;if(Ne){var Ce=h(ge.checker,Ne,Xe);if(B(U,ge))return H(Ce,de(U,u,ge.checker));var Re=M(w,Ce,void 0);return w&&w.types.push(ge.checker.getAwaitedType(Ne)||Ne),Re}else return I()}}default:return I()}return e.emptyArray}function h(u,A,w){var z=e.getSynthesizedDeepClone(w);return u.getPromisedTypeOfPromise(A)?e.factory.createAwaitExpression(z):z}function F(u,A){var w=A.getSignaturesOfType(u,0);return e.lastOrUndefined(w)}function $(u,A,w,z){for(var U=[],ge=0,pe=u;ge0)return}else e.isFunctionLike(pe)||e.forEachChild(pe,ge)}),U}function P(u,A){var w=[],z;if(e.isFunctionLikeDeclaration(u)){if(u.parameters.length>0){var U=u.parameters[0].name;z=ge(U)}}else e.isIdentifier(u)?z=pe(u):e.isPropertyAccessExpression(u)&&e.isIdentifier(u.name)&&(z=pe(u.name));if(!z||"identifier"in z&&z.identifier.text==="undefined")return;return z;function ge(Me){if(e.isIdentifier(Me))return pe(Me);var Le=e.flatMap(Me.elements,function(Ae){return e.isOmittedExpression(Ae)?[]:[ge(Ae.name)]});return q(Me,Le)}function pe(Me){var Le=Be(Me),Ae=He(Le);if(!Ae)return J(Me,w);var Xe=A.synthNamesMap.get(e.getSymbolId(Ae).toString());return Xe||J(Me,w)}function He(Me){return Me.symbol?Me.symbol:A.checker.getSymbolAtLocation(Me)}function Be(Me){return Me.original?Me.original:Me}}function N(u){return u?T(u)?!u.identifier.text:e.every(u.elements,N):!0}function J(u,A){return A===void 0&&(A=[]),{kind:0,identifier:u,types:A,hasBeenDeclared:!1,hasBeenReferenced:!1}}function q(u,A,w){return A===void 0&&(A=e.emptyArray),w===void 0&&(w=[]),{kind:1,bindingPattern:u,elements:A,types:w}}function G(u){return u.hasBeenReferenced=!0,u.identifier}function ye(u){return T(u)?x(u):b(u)}function b(u){for(var A=0,w=u.elements;A1?[[ae(N),E(N)],!0]:[[E(N)],!0]:[[ae(N)],!1]}function ae(L){return F(void 0,L)}function E(L){return F([e.factory.createExportSpecifier(!1,void 0,"default")],L)}function I(L,P,N){var J=L.left,q=L.right,G=L.parent,ye=J.name.text;if((e.isFunctionExpression(q)||e.isArrowFunction(q)||e.isClassExpression(q))&&(!q.name||q.name.text===ye)){N.replaceRange(P,{pos:J.getStart(P),end:q.getStart(P)},e.factory.createToken(93),{suffix:" "}),q.name||N.insertName(P,q,ye);var b=e.findChildOfKind(G,26,P);b&&N.delete(P,b)}else N.replaceNodeRangeWithNodes(P,J.expression,e.findChildOfKind(J,24,P),[e.factory.createToken(93),e.factory.createToken(85)],{joiner:" ",suffix:" "})}function f(L,P,N){var J=[e.factory.createToken(93)];switch(P.kind){case 215:{var q=P.name;if(q&&q.text!==L)return G()}case 216:return X(L,J,P,N);case 228:return M(L,J,P,N);default:return G()}function G(){return h(J,e.factory.createIdentifier(L),m(P,N))}}function m(L,P){if(!P||!e.some(e.arrayFrom(P.keys()),function(J){return e.rangeContainsRange(L,J)}))return L;return e.isArray(L)?e.getSynthesizedDeepClonesWithReplacements(L,!0,N):e.getSynthesizedDeepCloneWithReplacements(L,!0,N);function N(J){if(J.kind===208){var q=P.get(J);return P.delete(J),q}}}function y(L,P,N,J,q,G){switch(L.kind){case 203:{var ye=e.mapAllOrFail(L.elements,function(x){return x.dotDotDotToken||x.initializer||x.propertyName&&!e.isIdentifier(x.propertyName)||!e.isIdentifier(x.name)?void 0:V(x.propertyName&&x.propertyName.text,x.name.text)});if(ye)return $([e.makeImport(void 0,ye,P,G)])}case 204:{var b=k(ne.moduleSpecifierToValidIdentifier(P.text,q),J);return $([e.makeImport(e.factory.createIdentifier(b),void 0,P,G),h(void 0,e.getSynthesizedDeepClone(L),e.factory.createIdentifier(b))])}case 79:return S(L,P,N,J,G);default:return e.Debug.assertNever(L,"Convert to ES module got invalid name kind ".concat(L.kind))}}function S(L,P,N,J,q){for(var G=N.getSymbolAtLocation(L),ye=new e.Map,b=!1,x,T=0,Z=J.original.get(L.text);T0||wr.length>0||mr.size>0||Ue.size>0}}function _e(be,Y,d,j){var Ce=e.createPackageJsonImportFilter(be,j,d),Se=k(Y.getTypeChecker(),be,Y.getCompilerOptions());return{getModuleSpecifierForBestExportInfo:Re};function Re(er,wr,mr,Ue,t){var qr=E(er,{symbolName:wr,position:mr},Ue,!1,Y,be,d,j,Se,t),ln=qr.fixes,dr=qr.computedWithoutCacheCount,vr=h(ln,be,Y,Ce,d);return vr&&vi(vi({},vr),{computedWithoutCacheCount:dr})}}ne.createImportSpecifierResolver=_e;var Q;(function(be){be[be.UseNamespace=0]="UseNamespace",be[be.JsdocTypeImport=1]="JsdocTypeImport",be[be.AddToExisting=2]="AddToExisting",be[be.AddNew=3]="AddNew",be[be.PromoteTypeOnly=4]="PromoteTypeOnly"})(Q||(Q={}));var p;(function(be){be[be.Allowed=1]="Allowed",be[be.Required=2]="Required",be[be.NotAllowed=4]="NotAllowed"})(p||(p={}));function D(be,Y,d,j,Ce,Se,Re,er,wr,mr,Ue){var t=Re.getCompilerOptions(),qr=e.pathIsBareSpecifier(e.stripQuotes(Y.name))?[ae(be,Y,Re,Se)]:oe(d,be,j,Ce,Re,Se,mr,Ue);e.Debug.assertIsDefined(qr);var ln=C(d,Re),dr=e.isValidTypeOnlyAliasUseSite(e.getTokenAtPosition(d,wr)),vr=e.Debug.checkDefined(de(d,qr,Y,Re,{symbolName:j,position:wr},dr,ln,Se,mr));return{moduleSpecifier:vr.moduleSpecifier,codeAction:te(u({host:Se,formatContext:er,preferences:mr},d,j,vr,!1,e.getQuotePreference(d,mr),t))}}ne.getImportCompletionAction=D;function le(be,Y,d,j,Ce,Se){var Re=d.getCompilerOptions(),er=e.single(x(be,d.getTypeChecker(),Y,Re)),wr=b(be,Y,er,d),mr=er!==Y.text;return wr&&te(u({host:j,formatContext:Ce,preferences:Se},be,er,wr,mr,1,Re))}ne.getPromoteTypeOnlyCompletionAction=le;function de(be,Y,d,j,Ce,Se,Re,er,wr){e.Debug.assert(Y.some(function(Ue){return Ue.moduleSymbol===d||Ue.symbol.parent===d}),"Some exportInfo should match the specified moduleSymbol");var mr=e.createPackageJsonImportFilter(be,wr,er);return h(E(Y,Ce,Se,Re,j,be,er,wr).fixes,be,j,mr,er)}function te(be){var Y=be.description,d=be.changes,j=be.commands;return{description:Y,changes:d,commands:j}}function oe(be,Y,d,j,Ce,Se,Re,er){var wr=me(Ce,Se);return e.getExportInfoMap(be,Se,Ce,Re,er).search(be.path,j,function(mr){return mr===d},function(mr){if(e.skipAlias(mr[0].symbol,wr(mr[0].isFromPackageJson))===Y)return mr})}function ae(be,Y,d,j){var Ce,Se,Re=d.getCompilerOptions(),er=mr(d.getTypeChecker(),!1);if(er)return er;var wr=(Se=(Ce=j.getPackageJsonAutoImportProvider)===null||Ce===void 0?void 0:Ce.call(j))===null||Se===void 0?void 0:Se.getTypeChecker();return e.Debug.checkDefined(wr&&mr(wr,!0),"Could not find symbol in specified module for code actions");function mr(Ue,t){var qr=e.getDefaultLikeExportInfo(Y,Ue,Re);if(qr&&e.skipAlias(qr.symbol,Ue)===be)return{symbol:qr.symbol,moduleSymbol:Y,moduleFileName:void 0,exportKind:qr.exportKind,targetFlags:e.skipAlias(be,Ue).flags,isFromPackageJson:t};var ln=Ue.tryGetMemberInModuleExportsAndProperties(be.name,Y);if(ln&&e.skipAlias(ln,Ue)===be)return{symbol:ln,moduleSymbol:Y,moduleFileName:void 0,exportKind:0,targetFlags:e.skipAlias(be,Ue).flags,isFromPackageJson:t}}}function E(be,Y,d,j,Ce,Se,Re,er,wr,mr){wr===void 0&&(wr=k(Ce.getTypeChecker(),Se,Ce.getCompilerOptions()));var Ue=Ce.getTypeChecker(),t=e.flatMap(be,wr.getImportsForExportInfo),qr=Y&&I(t,Y.symbolName,Y.position,Ue),ln=S(t,d,Ue,Ce.getCompilerOptions());if(ln)return{computedWithoutCacheCount:0,fixes:zn(zn([],qr?[qr]:e.emptyArray,!0),[ln],!1)};var dr=X(be,t,Ce,Se,Y==null?void 0:Y.position,d,j,Re,er,mr),vr=dr.fixes,kr=dr.computedWithoutCacheCount,Ur=kr===void 0?0:kr;return{computedWithoutCacheCount:Ur,fixes:zn(zn([],qr?[qr]:e.emptyArray,!0),vr,!0)}}function I(be,Y,d,j){return e.firstDefined(be,function(Ce){var Se,Re=Ce.declaration,er=m(Re),wr=(Se=e.tryGetModuleSpecifierFromDeclaration(Re))===null||Se===void 0?void 0:Se.text;if(er&&wr){var mr=f(Re,j);if(mr&&mr.exports.has(e.escapeLeadingUnderscores(Y)))return{kind:0,namespacePrefix:er,position:d,moduleSpecifier:wr}}})}function f(be,Y){var d;switch(be.kind){case 257:return Y.resolveExternalModuleName(be.initializer.arguments[0]);case 268:return Y.getAliasedSymbol(be.symbol);case 269:var j=e.tryCast((d=be.importClause)===null||d===void 0?void 0:d.namedBindings,e.isNamespaceImport);return j&&Y.getAliasedSymbol(j.symbol);default:return e.Debug.assertNever(be)}}function m(be){var Y,d,j;switch(be.kind){case 257:return(Y=e.tryCast(be.name,e.isIdentifier))===null||Y===void 0?void 0:Y.text;case 268:return be.name.text;case 269:return(j=e.tryCast((d=be.importClause)===null||d===void 0?void 0:d.namedBindings,e.isNamespaceImport))===null||j===void 0?void 0:j.name.text;default:return e.Debug.assertNever(be)}}function y(be,Y,d,j,Ce,Se){return be?Y&&Se.importsNotUsedAsValues===2||Se.isolatedModules&&Se.preserveValueImports&&(!(j&111551)||!!Ce.getTypeOnlyAliasDeclaration(d))?2:1:4}function S(be,Y,d,j){return e.firstDefined(be,function(Ce){var Se=Ce.declaration,Re=Ce.importKind,er=Ce.symbol,wr=Ce.targetFlags;if(!(Re===3||Re===2||Se.kind===268)){if(Se.kind===257)return(Re===0||Re===1)&&Se.name.kind===203?{kind:2,importClauseOrBindingPattern:Se.name,importKind:Re,moduleSpecifier:Se.initializer.arguments[0].text,addAsTypeOnly:4}:void 0;var mr=Se.importClause;if(!(!mr||!e.isStringLiteralLike(Se.moduleSpecifier))){var Ue=mr.name,t=mr.namedBindings;if(!(mr.isTypeOnly&&!(Re===0&&t))){var qr=y(Y,!1,er,wr,d,j);if(!(Re===1&&(Ue||qr===2&&t))&&!(Re===0&&(t==null?void 0:t.kind)===271))return{kind:2,importClauseOrBindingPattern:mr,importKind:Re,moduleSpecifier:Se.moduleSpecifier.text,addAsTypeOnly:qr}}}}})}function k(be,Y,d){for(var j,Ce=0,Se=Y.imports;Ce0}:{kind:3,moduleSpecifier:ze,importKind:q(Y,Ur.exportKind,Ue),useRequire:Ce,addAsTypeOnly:Ee,exportInfo:Ur,isReExport:Cr>0}})});return{computedWithoutCacheCount:vr,fixes:kr}}function X(be,Y,d,j,Ce,Se,Re,er,wr,mr){var Ue=e.firstDefined(Y,function(t){return M(t,Se,Re,d.getTypeChecker(),d.getCompilerOptions())});return Ue?{fixes:[Ue]}:De(d,j,Ce,Se,Re,be,er,wr,mr)}function M(be,Y,d,j,Ce){var Se,Re=be.declaration,er=be.importKind,wr=be.symbol,mr=be.targetFlags,Ue=(Se=e.tryGetModuleSpecifierFromDeclaration(Re))===null||Se===void 0?void 0:Se.text;if(Ue){var t=d?4:y(Y,!0,wr,mr,j,Ce);return{kind:3,moduleSpecifier:Ue,importKind:er,addAsTypeOnly:t,useRequire:d}}}function H(be,Y,d,j){var Ce=e.getTokenAtPosition(be.sourceFile,d),Se;if(Y===e.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code)Se=N(be,Ce);else if(e.isIdentifier(Ce))if(Y===e.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type.code){var Re=e.single(x(be.sourceFile,be.program.getTypeChecker(),Ce,be.program.getCompilerOptions())),er=b(be.sourceFile,Ce,Re,be.program);return er&&[{fix:er,symbolName:Re,errorIdentifierText:Ce.text}]}else Se=ye(be,Ce,j);else return;var wr=e.createPackageJsonImportFilter(be.sourceFile,be.preferences,be.host);return Se&&V(Se,be.sourceFile,be.program,wr,be.host)}function V(be,Y,d,j,Ce){var Se=function(Re){return e.toPath(Re,Ce.getCurrentDirectory(),e.hostGetCanonicalFileName(Ce))};return e.sort(be,function(Re,er){return e.compareBooleans(!!Re.isJsxNamespaceFix,!!er.isJsxNamespaceFix)||e.compareValues(Re.fix.kind,er.fix.kind)||F(Re.fix,er.fix,Y,d,j.allowsImportingSpecifier,Se)})}function h(be,Y,d,j,Ce){if(!!e.some(be))return be[0].kind===0||be[0].kind===2?be[0]:be.reduce(function(Se,Re){return F(Re,Se,Y,d,j.allowsImportingSpecifier,function(er){return e.toPath(er,Ce.getCurrentDirectory(),e.hostGetCanonicalFileName(Ce))})===-1?Re:Se})}function F(be,Y,d,j,Ce,Se){return be.kind!==0&&Y.kind!==0?e.compareBooleans(Ce(Y.moduleSpecifier),Ce(be.moduleSpecifier))||P(be.moduleSpecifier,Y.moduleSpecifier,d,j)||e.compareBooleans($(be,d,j.getCompilerOptions(),Se),$(Y,d,j.getCompilerOptions(),Se))||e.compareNumberOfDirectorySeparators(be.moduleSpecifier,Y.moduleSpecifier):0}function $(be,Y,d,j){var Ce;if(be.isReExport&&((Ce=be.exportInfo)===null||Ce===void 0?void 0:Ce.moduleFileName)&&e.getEmitModuleResolutionKind(d)===e.ModuleResolutionKind.NodeJs&&L(be.exportInfo.moduleFileName)){var Se=j(e.getDirectoryPath(be.exportInfo.moduleFileName));return e.startsWith(Y.path,Se)}return!1}function L(be){return e.getBaseFileName(be,[".js",".jsx",".d.ts",".ts",".tsx"],!0)==="index"}function P(be,Y,d,j){return e.startsWith(be,"node:")&&!e.startsWith(Y,"node:")?e.shouldUseUriStyleNodeCoreModules(d,j)?-1:1:e.startsWith(Y,"node:")&&!e.startsWith(be,"node:")?e.shouldUseUriStyleNodeCoreModules(d,j)?1:-1:0}function N(be,Y){var d=be.sourceFile,j=be.program,Ce=be.host,Se=be.preferences,Re=j.getTypeChecker(),er=J(Y,Re);if(!!er){var wr=Re.getAliasedSymbol(er),mr=er.name,Ue=[{symbol:er,moduleSymbol:wr,moduleFileName:void 0,exportKind:3,targetFlags:wr.flags,isFromPackageJson:!1}],t=C(d,j),qr=e.isIdentifier(Y)?Y.getStart(d):void 0,ln=E(Ue,qr?{position:qr,symbolName:mr}:void 0,!1,t,j,d,Ce,Se).fixes;return ln.map(function(dr){var vr;return{fix:dr,symbolName:mr,errorIdentifierText:(vr=e.tryCast(Y,e.isIdentifier))===null||vr===void 0?void 0:vr.text}})}}function J(be,Y){var d=e.isIdentifier(be)?Y.getSymbolAtLocation(be):void 0;if(e.isUMDExportSymbol(d))return d;var j=be.parent;return e.isJsxOpeningLikeElement(j)&&j.tagName===be||e.isJsxOpeningFragment(j)?e.tryCast(Y.resolveName(Y.getJsxNamespace(j),e.isJsxOpeningLikeElement(j)?be:j,111551,!1),e.isUMDExportSymbol):void 0}function q(be,Y,d,j){switch(Y){case 0:return 0;case 1:return 1;case 2:return B(be,d,!!j);case 3:return G(be,d,!!j);default:return e.Debug.assertNever(Y)}}ne.getImportKind=q;function G(be,Y,d){if(e.getAllowSyntheticDefaultImports(Y))return 1;var j=e.getEmitModuleKind(Y);switch(j){case e.ModuleKind.AMD:case e.ModuleKind.CommonJS:case e.ModuleKind.UMD:return e.isInJSFile(be)&&(e.isExternalModule(be)||d)?2:3;case e.ModuleKind.System:case e.ModuleKind.ES2015:case e.ModuleKind.ES2020:case e.ModuleKind.ES2022:case e.ModuleKind.ESNext:case e.ModuleKind.None:return 2;case e.ModuleKind.Node16:case e.ModuleKind.NodeNext:return be.impliedNodeFormat===e.ModuleKind.ESNext?2:3;default:return e.Debug.assertNever(j,"Unexpected moduleKind ".concat(j))}}function ye(be,Y,d){var j=be.sourceFile,Ce=be.program,Se=be.cancellationToken,Re=be.host,er=be.preferences,wr=Ce.getTypeChecker(),mr=Ce.getCompilerOptions();return e.flatMap(x(j,wr,Y,mr),function(Ue){if(Ue!=="default"){var t=e.isValidTypeOnlyAliasUseSite(Y),qr=C(j,Ce),ln=Z(Ue,e.isJSXTagName(Y),e.getMeaningFromLocation(Y),Se,j,Ce,d,Re,er),dr=e.arrayFrom(e.flatMapIterator(ln.entries(),function(vr){var kr=vr[0],Ur=vr[1];return E(Ur,{symbolName:Ue,position:Y.getStart(j)},t,qr,Ce,j,Re,er).fixes}));return dr.map(function(vr){return{fix:vr,symbolName:Ue,errorIdentifierText:Y.text,isJsxNamespaceFix:Ue!==Y.text}})}})}function b(be,Y,d,j){var Ce=j.getTypeChecker(),Se=Ce.resolveName(d,Y,111551,!0);if(!!Se){var Re=Ce.getTypeOnlyAliasDeclaration(Se);if(!(!Re||e.getSourceFileOfNode(Re)!==be))return{kind:4,typeOnlyAliasDeclaration:Re}}}function x(be,Y,d,j){var Ce=d.parent;if((e.isJsxOpeningLikeElement(Ce)||e.isJsxClosingElement(Ce))&&Ce.tagName===d&&e.jsxModeNeedsExplicitImport(j.jsx)){var Se=Y.getJsxNamespace(be);if(T(Se,d,Y)){var Re=!e.isIntrinsicJsxName(d.text)&&!Y.resolveName(d.text,d,111551,!1);return Re?[d.text,Se]:[Se]}}return[d.text]}function T(be,Y,d){if(e.isIntrinsicJsxName(Y.text))return!0;var j=d.resolveName(be,Y,111551,!0);return!j||e.some(j.declarations,e.isTypeOnlyImportOrExportDeclaration)&&!(j.flags&111551)}function Z(be,Y,d,j,Ce,Se,Re,er,wr){var mr,Ue=e.createMultiMap(),t=e.createPackageJsonImportFilter(Ce,wr,er),qr=(mr=er.getModuleSpecifierCache)===null||mr===void 0?void 0:mr.call(er),ln=e.memoizeOne(function(vr){return e.createModuleSpecifierResolutionHost(vr?er.getPackageJsonAutoImportProvider():Se,er)});function dr(vr,kr,Ur,Cr,rn,Br){var pn=ln(Br);if(kr&&e.isImportableFile(rn,Ce,kr,wr,t,pn,qr)||!kr&&t.allowsImportingAmbientModule(vr,pn)){var ve=rn.getTypeChecker();Ue.add(e.getUniqueSymbolId(Ur,ve).toString(),{symbol:Ur,moduleSymbol:vr,moduleFileName:kr==null?void 0:kr.fileName,exportKind:Cr,targetFlags:e.skipAlias(Ur,ve).flags,isFromPackageJson:Br})}}return e.forEachExternalModuleToImportFrom(Se,er,wr,Re,function(vr,kr,Ur,Cr){var rn=Ur.getTypeChecker();j.throwIfCancellationRequested();var Br=Ur.getCompilerOptions(),pn=e.getDefaultLikeExportInfo(vr,rn,Br);pn&&(pn.name===be||Ne(vr,e.getEmitScriptTarget(Br),Y)===be)&&Xe(pn.symbolForMeaning,d)&&dr(vr,kr,pn.symbol,pn.exportKind,Ur,Cr);var ve=rn.tryGetMemberInModuleExportsAndProperties(be,vr);ve&&Xe(ve,d)&&dr(vr,kr,ve,0,Ur,Cr)}),Ue}function B(be,Y,d){var j=e.getAllowSyntheticDefaultImports(Y),Ce=e.isInJSFile(be);if(!Ce&&e.getEmitModuleKind(Y)>=e.ModuleKind.ES2015)return j?1:2;if(Ce)return e.isExternalModule(be)||d?j?1:2:3;for(var Se=0,Re=be.statements;Se1&&e.OrganizeImports.importSpecifiersAreSorted(Y.parent.elements)){be.delete(j,Y);var Se=e.factory.updateImportSpecifier(Y,!1,Y.propertyName,Y.name),Re=e.OrganizeImports.getImportSpecifierInsertionIndex(Y.parent.elements,Se);be.insertImportSpecifierAtIndex(j,Se,Y.parent,Re)}else be.deleteRange(j,Y.getFirstToken());return Y}else return e.Debug.assert(Y.parent.parent.isTypeOnly),er(Y.parent.parent),Y.parent.parent;case 270:return er(Y),Y;case 271:return er(Y.parent),Y.parent;case 268:return be.deleteRange(j,Y.getChildAt(1)),Y;default:e.Debug.failBadSyntaxKind(Y)}function er(wr){if(be.delete(j,e.getTypeKeywordOfTypeOnlyImport(wr,j)),Ce){var mr=e.tryCast(wr.namedBindings,e.isNamedImports);if(mr&&mr.elements.length>1){e.OrganizeImports.importSpecifiersAreSorted(mr.elements)&&Y.kind===273&&mr.elements.indexOf(Y)!==0&&(be.delete(j,Y),be.insertImportSpecifierAtIndex(j,Y,mr,0));for(var Ue=0,t=mr.elements;Ue"),[e.Diagnostics.Convert_function_expression_0_to_arrow_function,te?te.text:e.ANONYMOUS]):(ie.replaceNode(_e,de,e.factory.createToken(85)),ie.insertText(_e,te.end," = "),ie.insertText(_e,oe.pos," =>"),[e.Diagnostics.Convert_function_declaration_0_to_arrow_function,te.text])}}}})(o=e.codefix||(e.codefix={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K="fixImportNonExportedMember",se=[e.Diagnostics.Module_0_declares_1_locally_but_it_is_not_exported.code];ne.registerCodeFix({errorCodes:se,fixIds:[K],getCodeActions:function(te){var oe=te.sourceFile,ae=te.span,E=te.program,I=O(oe,ae.start,E);if(I!==void 0){var f=e.textChanges.ChangeTracker.with(te,function(m){return ie(m,E,I)});return[ne.createCodeFixAction(K,f,[e.Diagnostics.Export_0_from_module_1,I.exportName.node.text,I.moduleSpecifier],K,e.Diagnostics.Export_all_referenced_locals)]}},getAllCodeActions:function(te){var oe=te.program;return ne.createCombinedCodeActions(e.textChanges.ChangeTracker.with(te,function(ae){var E=new e.Map;ne.eachDiagnostic(te,se,function(I){var f=O(I.file,I.start,oe);if(f!==void 0){var m=f.exportName,y=f.node,S=f.moduleSourceFile;if(Q(S,m.isTypeOnly)===void 0&&e.canHaveExportModifier(y))ae.insertExportModifier(S,y);else{var k=E.get(S)||{typeOnlyExports:[],exports:[]};m.isTypeOnly?k.typeOnlyExports.push(m):k.exports.push(m),E.set(S,k)}}}),E.forEach(function(I,f){var m=Q(f,!0);m&&m.isTypeOnly?(_e(ae,oe,f,I.typeOnlyExports,m),_e(ae,oe,f,I.exports,Q(f,!1))):_e(ae,oe,f,zn(zn([],I.exports,!0),I.typeOnlyExports,!0),m)})}))}});function O(te,oe,ae){var E,I=e.getTokenAtPosition(te,oe);if(e.isIdentifier(I)){var f=e.findAncestor(I,e.isImportDeclaration);if(f===void 0)return;var m=e.isStringLiteral(f.moduleSpecifier)?f.moduleSpecifier.text:void 0;if(m===void 0)return;var y=e.getResolvedModule(te,m,void 0);if(y===void 0)return;var S=ae.getSourceFile(y.resolvedFileName);if(S===void 0||e.isSourceFileFromLibrary(ae,S))return;var k=S.symbol,C=(E=k.valueDeclaration)===null||E===void 0?void 0:E.locals;if(C===void 0)return;var me=C.get(I.escapedText);if(me===void 0)return;var De=de(me);if(De===void 0)return;var X={node:I,isTypeOnly:e.isTypeDeclaration(De)};return{exportName:X,node:De,moduleSourceFile:S,moduleSpecifier:m}}}function ie(te,oe,ae){var E=ae.exportName,I=ae.node,f=ae.moduleSourceFile,m=Q(f,E.isTypeOnly);m?p(te,oe,f,m,[E]):e.canHaveExportModifier(I)?te.insertExportModifier(f,I):D(te,oe,f,[E])}function _e(te,oe,ae,E,I){e.length(E)&&(I?p(te,oe,ae,I,E):D(te,oe,ae,E))}function Q(te,oe){var ae=function(E){return e.isExportDeclaration(E)&&(oe&&E.isTypeOnly||!E.isTypeOnly)};return e.findLast(te.statements,ae)}function p(te,oe,ae,E,I){var f=E.exportClause&&e.isNamedExports(E.exportClause)?E.exportClause.elements:e.factory.createNodeArray([]),m=!E.isTypeOnly&&!!(oe.getCompilerOptions().isolatedModules||e.find(f,function(y){return y.isTypeOnly}));te.replaceNode(ae,E,e.factory.updateExportDeclaration(E,E.modifiers,E.isTypeOnly,e.factory.createNamedExports(e.factory.createNodeArray(zn(zn([],f,!0),le(I,m),!0),f.hasTrailingComma)),E.moduleSpecifier,E.assertClause))}function D(te,oe,ae,E){te.insertNodeAtEndOfScope(ae,ae,e.factory.createExportDeclaration(void 0,!1,e.factory.createNamedExports(le(E,!!oe.getCompilerOptions().isolatedModules)),void 0,void 0))}function le(te,oe){return e.factory.createNodeArray(e.map(te,function(ae){return e.factory.createExportSpecifier(oe&&ae.isTypeOnly,void 0,ae.node)}))}function de(te){if(te.valueDeclaration===void 0)return e.firstOrUndefined(te.declarations);var oe=te.valueDeclaration,ae=e.isVariableDeclaration(oe)?e.tryCast(oe.parent.parent,e.isVariableStatement):void 0;return ae&&e.length(ae.declarationList.declarations)===1?ae:oe}})(o=e.codefix||(e.codefix={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K="fixIncorrectNamedTupleSyntax",se=[e.Diagnostics.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type.code,e.Diagnostics.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type.code];ne.registerCodeFix({errorCodes:se,getCodeActions:function(Q){var p=Q.sourceFile,D=Q.span,le=O(p,D.start),de=e.textChanges.ChangeTracker.with(Q,function(te){return ie(te,p,le)});return[ne.createCodeFixAction(K,de,e.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels,K,e.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels)]},fixIds:[K]});function O(_e,Q){var p=e.getTokenAtPosition(_e,Q);return e.findAncestor(p,function(D){return D.kind===199})}function ie(_e,Q,p){if(!!p){for(var D=p.type,le=!1,de=!1;D.kind===187||D.kind===188||D.kind===193;)D.kind===187?le=!0:D.kind===188&&(de=!0),D=D.type;var te=e.factory.updateNamedTupleMember(p,p.dotDotDotToken||(de?e.factory.createToken(25):void 0),p.name,p.questionToken||(le?e.factory.createToken(57):void 0),D);te!==p&&_e.replaceNode(Q,p,te)}}})(o=e.codefix||(e.codefix={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K="fixSpelling",se=[e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,e.Diagnostics.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_1.code,e.Diagnostics.Could_not_find_name_0_Did_you_mean_1.code,e.Diagnostics.Cannot_find_namespace_0_Did_you_mean_1.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,e.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2.code,e.Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,e.Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,e.Diagnostics.No_overload_matches_this_call.code,e.Diagnostics.Type_0_is_not_assignable_to_type_1.code];ne.registerCodeFix({errorCodes:se,getCodeActions:function(p){var D=p.sourceFile,le=p.errorCode,de=O(D,p.span.start,p,le);if(!!de){var te=de.node,oe=de.suggestedSymbol,ae=e.getEmitScriptTarget(p.host.getCompilationSettings()),E=e.textChanges.ChangeTracker.with(p,function(I){return ie(I,D,te,oe,ae)});return[ne.createCodeFixAction("spelling",E,[e.Diagnostics.Change_spelling_to_0,e.symbolName(oe)],K,e.Diagnostics.Fix_all_detected_spelling_errors)]}},fixIds:[K],getAllCodeActions:function(p){return ne.codeFixAll(p,se,function(D,le){var de=O(le.file,le.start,p,le.code),te=e.getEmitScriptTarget(p.host.getCompilationSettings());de&&ie(D,p.sourceFile,de.node,de.suggestedSymbol,te)})}});function O(p,D,le,de){var te=e.getTokenAtPosition(p,D),oe=te.parent;if(!((de===e.Diagnostics.No_overload_matches_this_call.code||de===e.Diagnostics.Type_0_is_not_assignable_to_type_1.code)&&!e.isJsxAttribute(oe))){var ae=le.program.getTypeChecker(),E;if(e.isPropertyAccessExpression(oe)&&oe.name===te){e.Debug.assert(e.isMemberName(te),"Expected an identifier for spelling (property access)");var I=ae.getTypeAtLocation(oe.expression);oe.flags&32&&(I=ae.getNonNullableType(I)),E=ae.getSuggestedSymbolForNonexistentProperty(te,I)}else if(e.isBinaryExpression(oe)&&oe.operatorToken.kind===101&&oe.left===te&&e.isPrivateIdentifier(te)){var f=ae.getTypeAtLocation(oe.right);E=ae.getSuggestedSymbolForNonexistentProperty(te,f)}else if(e.isQualifiedName(oe)&&oe.right===te){var m=ae.getSymbolAtLocation(oe.left);m&&m.flags&1536&&(E=ae.getSuggestedSymbolForNonexistentModule(oe.right,m))}else if(e.isImportSpecifier(oe)&&oe.name===te){e.Debug.assertNode(te,e.isIdentifier,"Expected an identifier for spelling (import)");var y=e.findAncestor(te,e.isImportDeclaration),S=Q(p,le,y);S&&S.symbol&&(E=ae.getSuggestedSymbolForNonexistentModule(te,S.symbol))}else if(e.isJsxAttribute(oe)&&oe.name===te){e.Debug.assertNode(te,e.isIdentifier,"Expected an identifier for JSX attribute");var k=e.findAncestor(te,e.isJsxOpeningLikeElement),C=ae.getContextualTypeForArgumentAtIndex(k,0);E=ae.getSuggestedSymbolForNonexistentJSXAttribute(te,C)}else if(e.hasSyntacticModifier(oe,16384)&&e.isClassElement(oe)&&oe.name===te){var me=e.findAncestor(te,e.isClassLike),De=me?e.getEffectiveBaseTypeNode(me):void 0,X=De?ae.getTypeAtLocation(De):void 0;X&&(E=ae.getSuggestedSymbolForNonexistentClassMember(e.getTextOfNode(te),X))}else{var M=e.getMeaningFromLocation(te),H=e.getTextOfNode(te);e.Debug.assert(H!==void 0,"name should be defined"),E=ae.getSuggestedSymbolForNonexistentSymbol(te,H,_e(M))}return E===void 0?void 0:{node:te,suggestedSymbol:E}}}function ie(p,D,le,de,te){var oe=e.symbolName(de);if(!e.isIdentifierText(oe,te)&&e.isPropertyAccessExpression(le.parent)){var ae=de.valueDeclaration;ae&&e.isNamedDeclaration(ae)&&e.isPrivateIdentifier(ae.name)?p.replaceNode(D,le,e.factory.createIdentifier(oe)):p.replaceNode(D,le.parent,e.factory.createElementAccessExpression(le.parent.expression,e.factory.createStringLiteral(oe)))}else p.replaceNode(D,le,e.factory.createIdentifier(oe))}function _e(p){var D=0;return p&4&&(D|=1920),p&2&&(D|=788968),p&1&&(D|=111551),D}function Q(p,D,le){if(!(!le||!e.isStringLiteralLike(le.moduleSpecifier))){var de=e.getResolvedModule(p,le.moduleSpecifier.text,e.getModeForUsageLocation(p,le.moduleSpecifier));if(!!de)return D.program.getSourceFile(de.resolvedFileName)}}})(o=e.codefix||(e.codefix={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K="returnValueCorrect",se="fixAddReturnStatement",O="fixRemoveBracesFromArrowFunctionBody",ie="fixWrapTheBlockWithParen",_e=[e.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code,e.Diagnostics.Type_0_is_not_assignable_to_type_1.code,e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code],Q;(function(y){y[y.MissingReturnStatement=0]="MissingReturnStatement",y[y.MissingParentheses=1]="MissingParentheses"})(Q||(Q={})),ne.registerCodeFix({errorCodes:_e,fixIds:[se,O,ie],getCodeActions:function(S){var k=S.program,C=S.sourceFile,me=S.span.start,De=S.errorCode,X=de(k.getTypeChecker(),C,me,De);if(!!X)return X.kind===Q.MissingReturnStatement?e.append([I(S,X.expression,X.statement)],e.isArrowFunction(X.declaration)?f(S,X.declaration,X.expression,X.commentSource):void 0):[m(S,X.declaration,X.expression)]},getAllCodeActions:function(y){return ne.codeFixAll(y,_e,function(S,k){var C=de(y.program.getTypeChecker(),k.file,k.start,k.code);if(!!C)switch(y.fixId){case se:oe(S,k.file,C.expression,C.statement);break;case O:if(!e.isArrowFunction(C.declaration))return;ae(S,k.file,C.declaration,C.expression,C.commentSource,!1);break;case ie:if(!e.isArrowFunction(C.declaration))return;E(S,k.file,C.declaration,C.expression);break;default:e.Debug.fail(JSON.stringify(y.fixId))}})}});function p(y,S,k){var C=y.createSymbol(4,S.escapedText);C.type=y.getTypeAtLocation(k);var me=e.createSymbolTable([C]);return y.createAnonymousType(void 0,me,[],[],[])}function D(y,S,k,C){if(!(!S.body||!e.isBlock(S.body)||e.length(S.body.statements)!==1)){var me=e.first(S.body.statements);if(e.isExpressionStatement(me)&&le(y,S,y.getTypeAtLocation(me.expression),k,C))return{declaration:S,kind:Q.MissingReturnStatement,expression:me.expression,statement:me,commentSource:me.expression};if(e.isLabeledStatement(me)&&e.isExpressionStatement(me.statement)){var De=e.factory.createObjectLiteralExpression([e.factory.createPropertyAssignment(me.label,me.statement.expression)]),X=p(y,me.label,me.statement.expression);if(le(y,S,X,k,C))return e.isArrowFunction(S)?{declaration:S,kind:Q.MissingParentheses,expression:De,statement:me,commentSource:me.statement.expression}:{declaration:S,kind:Q.MissingReturnStatement,expression:De,statement:me,commentSource:me.statement.expression}}else if(e.isBlock(me)&&e.length(me.statements)===1){var M=e.first(me.statements);if(e.isLabeledStatement(M)&&e.isExpressionStatement(M.statement)){var De=e.factory.createObjectLiteralExpression([e.factory.createPropertyAssignment(M.label,M.statement.expression)]),X=p(y,M.label,M.statement.expression);if(le(y,S,X,k,C))return{declaration:S,kind:Q.MissingReturnStatement,expression:De,statement:me,commentSource:M}}}}}function le(y,S,k,C,me){if(me){var De=y.getSignatureFromDeclaration(S);if(De){e.hasSyntacticModifier(S,512)&&(k=y.createPromiseType(k));var X=y.createSignature(S,De.typeParameters,De.thisParameter,De.parameters,k,void 0,De.minArgumentCount,De.flags);k=y.createAnonymousType(void 0,e.createSymbolTable(),[X],[],[])}else k=y.getAnyType()}return y.isTypeAssignableTo(k,C)}function de(y,S,k,C){var me=e.getTokenAtPosition(S,k);if(!!me.parent){var De=e.findAncestor(me.parent,e.isFunctionLikeDeclaration);switch(C){case e.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code:return!De||!De.body||!De.type||!e.rangeContainsRange(De.type,me)?void 0:D(y,De,y.getTypeFromTypeNode(De.type),!1);case e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code:if(!De||!e.isCallExpression(De.parent)||!De.body)return;var X=De.parent.arguments.indexOf(De),M=y.getContextualTypeForArgumentAtIndex(De.parent,X);return M?D(y,De,M,!0):void 0;case e.Diagnostics.Type_0_is_not_assignable_to_type_1.code:if(!e.isDeclarationName(me)||!e.isVariableLike(me.parent)&&!e.isJsxAttribute(me.parent))return;var H=te(me.parent);return!H||!e.isFunctionLikeDeclaration(H)||!H.body?void 0:D(y,H,y.getTypeAtLocation(me.parent),!0)}}}function te(y){switch(y.kind){case 257:case 166:case 205:case 169:case 299:return y.initializer;case 288:return y.initializer&&(e.isJsxExpression(y.initializer)?y.initializer.expression:void 0);case 300:case 168:case 302:case 350:case 343:return}}function oe(y,S,k,C){e.suppressLeadingAndTrailingTrivia(k);var me=e.probablyUsesSemicolons(S);y.replaceNode(S,C,e.factory.createReturnStatement(k),{leadingTriviaOption:e.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Exclude,suffix:me?";":void 0})}function ae(y,S,k,C,me,De){var X=De||e.needsParentheses(C)?e.factory.createParenthesizedExpression(C):C;e.suppressLeadingAndTrailingTrivia(me),e.copyComments(me,X),y.replaceNode(S,k.body,X)}function E(y,S,k,C){y.replaceNode(S,k.body,e.factory.createParenthesizedExpression(C))}function I(y,S,k){var C=e.textChanges.ChangeTracker.with(y,function(me){return oe(me,y.sourceFile,S,k)});return ne.createCodeFixAction(K,C,e.Diagnostics.Add_a_return_statement,se,e.Diagnostics.Add_all_missing_return_statement)}function f(y,S,k,C){var me=e.textChanges.ChangeTracker.with(y,function(De){return ae(De,y.sourceFile,S,k,C,!1)});return ne.createCodeFixAction(K,me,e.Diagnostics.Remove_braces_from_arrow_function_body,O,e.Diagnostics.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues)}function m(y,S,k){var C=e.textChanges.ChangeTracker.with(y,function(me){return E(me,y.sourceFile,S,k)});return ne.createCodeFixAction(K,C,e.Diagnostics.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal,ie,e.Diagnostics.Wrap_all_object_literal_with_parentheses)}})(o=e.codefix||(e.codefix={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K="fixMissingMember",se="fixMissingProperties",O="fixMissingAttributes",ie="fixMissingFunctionDeclaration",_e=[e.Diagnostics.Property_0_does_not_exist_on_type_1.code,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,e.Diagnostics.Property_0_is_missing_in_type_1_but_required_in_type_2.code,e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2.code,e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more.code,e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,e.Diagnostics.Cannot_find_name_0.code],Q;(function($){$[$.TypeLikeDeclaration=0]="TypeLikeDeclaration",$[$.Enum=1]="Enum",$[$.Function=2]="Function",$[$.ObjectLiteral=3]="ObjectLiteral",$[$.JsxAttributes=4]="JsxAttributes",$[$.Signature=5]="Signature"})(Q||(Q={})),ne.registerCodeFix({errorCodes:_e,getCodeActions:function($){var L=$.program.getTypeChecker(),P=p($.sourceFile,$.span.start,$.errorCode,L,$.program);if(!!P){if(P.kind===Q.ObjectLiteral){var N=e.textChanges.ChangeTracker.with($,function(J){return me(J,$,P)});return[ne.createCodeFixAction(se,N,e.Diagnostics.Add_missing_properties,se,e.Diagnostics.Add_all_missing_properties)]}if(P.kind===Q.JsxAttributes){var N=e.textChanges.ChangeTracker.with($,function(q){return C(q,$,P)});return[ne.createCodeFixAction(O,N,e.Diagnostics.Add_missing_attributes,O,e.Diagnostics.Add_all_missing_attributes)]}if(P.kind===Q.Function||P.kind===Q.Signature){var N=e.textChanges.ChangeTracker.with($,function(q){return k(q,$,P)});return[ne.createCodeFixAction(ie,N,[e.Diagnostics.Add_missing_function_declaration_0,P.token.text],ie,e.Diagnostics.Add_all_missing_function_declarations)]}if(P.kind===Q.Enum){var N=e.textChanges.ChangeTracker.with($,function(q){return S(q,$.program.getTypeChecker(),P)});return[ne.createCodeFixAction(K,N,[e.Diagnostics.Add_missing_enum_member_0,P.token.text],K,e.Diagnostics.Add_all_missing_members)]}return e.concatenate(m($,P),D($,P))}},fixIds:[K,ie,se,O],getAllCodeActions:function($){var L=$.program,P=$.fixId,N=L.getTypeChecker(),J=new e.Map,q=new e.Map;return ne.createCombinedCodeActions(e.textChanges.ChangeTracker.with($,function(G){ne.eachDiagnostic($,_e,function(ye){var b=p(ye.file,ye.start,ye.code,N,$.program);if(!(!b||!e.addToSeen(J,e.getNodeId(b.parentDeclaration)+"#"+b.token.text))){if(P===ie&&(b.kind===Q.Function||b.kind===Q.Signature))k(G,$,b);else if(P===se&&b.kind===Q.ObjectLiteral)me(G,$,b);else if(P===O&&b.kind===Q.JsxAttributes)C(G,$,b);else if(b.kind===Q.Enum&&S(G,N,b),b.kind===Q.TypeLikeDeclaration){var x=b.parentDeclaration,T=b.token,Z=e.getOrUpdate(q,x,function(){return[]});Z.some(function(B){return B.token.text===T.text})||Z.push(b)}}}),q.forEach(function(ye,b){for(var x=e.isTypeLiteralNode(b)?void 0:ne.getAllSupers(b,N),T=function(A){if(x==null?void 0:x.some(function(Me){var Le=q.get(Me);return!!Le&&Le.some(function(Ae){var Xe=Ae.token;return Xe.text===A.token.text})}))return"continue";var w=A.parentDeclaration,z=A.declSourceFile,U=A.modifierFlags,ge=A.token,pe=A.call,He=A.isJSFile;if(pe&&!e.isPrivateIdentifier(ge))y($,G,pe,ge,U&32,w,z);else if(He&&!e.isInterfaceDeclaration(w)&&!e.isTypeLiteralNode(w))de(G,z,w,ge,!!(U&32));else{var Be=ae(N,w,ge);E(G,z,w,ge.text,Be,U&32)}},Z=0,B=ye;Z=e.ModuleKind.ES2015&&Q99;if(de){var D=e.textChanges.ChangeTracker.with(se,function(oe){var ae=e.getTsConfigObjectLiteralExpression(ie);if(!!ae){var E=[["target",e.factory.createStringLiteral("es2017")]];Q===e.ModuleKind.CommonJS&&E.push(["module",e.factory.createStringLiteral("commonjs")]),ne.setJsonCompilerOptionValues(oe,ie,E)}});_e.push(ne.createCodeFixActionWithoutFixAll("fixTargetOption",D,[e.Diagnostics.Set_the_target_option_in_your_configuration_file_to_0,"es2017"]))}return _e.length?_e:void 0}}})})(o=e.codefix||(e.codefix={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K="fixPropertyAssignment",se=[e.Diagnostics.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern.code];ne.registerCodeFix({errorCodes:se,fixIds:[K],getCodeActions:function(_e){var Q=_e.sourceFile,p=_e.span,D=ie(Q,p.start),le=e.textChanges.ChangeTracker.with(_e,function(de){return O(de,_e.sourceFile,D)});return[ne.createCodeFixAction(K,le,[e.Diagnostics.Change_0_to_1,"=",":"],K,[e.Diagnostics.Switch_each_misused_0_to_1,"=",":"])]},getAllCodeActions:function(_e){return ne.codeFixAll(_e,se,function(Q,p){return O(Q,p.file,ie(p.file,p.start))})}});function O(_e,Q,p){_e.replaceNode(Q,p,e.factory.createPropertyAssignment(p.name,p.objectAssignmentInitializer))}function ie(_e,Q){return e.cast(e.getTokenAtPosition(_e,Q).parent,e.isShorthandPropertyAssignment)}})(o=e.codefix||(e.codefix={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K="extendsInterfaceBecomesImplements",se=[e.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements.code];ne.registerCodeFix({errorCodes:se,getCodeActions:function(_e){var Q=_e.sourceFile,p=O(Q,_e.span.start);if(!!p){var D=p.extendsToken,le=p.heritageClauses,de=e.textChanges.ChangeTracker.with(_e,function(te){return ie(te,Q,D,le)});return[ne.createCodeFixAction(K,de,e.Diagnostics.Change_extends_to_implements,K,e.Diagnostics.Change_all_extended_interfaces_to_implements)]}},fixIds:[K],getAllCodeActions:function(_e){return ne.codeFixAll(_e,se,function(Q,p){var D=O(p.file,p.start);D&&ie(Q,p.file,D.extendsToken,D.heritageClauses)})}});function O(_e,Q){var p=e.getTokenAtPosition(_e,Q),D=e.getContainingClass(p).heritageClauses,le=D[0].getFirstToken();return le.kind===94?{extendsToken:le,heritageClauses:D}:void 0}function ie(_e,Q,p,D){if(_e.replaceNode(Q,p,e.factory.createToken(117)),D.length===2&&D[0].token===94&&D[1].token===117){var le=D[1].getFirstToken(),de=le.getFullStart();_e.replaceRange(Q,{pos:de,end:de},e.factory.createToken(27));for(var te=Q.text,oe=le.end;oe":">","}":"}"};function _e(p){return e.hasProperty(ie,p)}function Q(p,D,le,de,te){var oe=le.getText()[de];if(!!_e(oe)){var ae=te?ie[oe]:"{".concat(e.quote(le,D,oe),"}");p.replaceRangeWithText(le,{pos:de,end:de+1},ae)}}})(o=e.codefix||(e.codefix={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K="deleteUnmatchedParameter",se="renameUnmatchedParameter",O=[e.Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name.code];ne.registerCodeFix({fixIds:[K,se],errorCodes:O,getCodeActions:function(D){var le=D.sourceFile,de=D.span,te=[],oe=Q(le,de.start);if(oe)return e.append(te,ie(D,oe)),e.append(te,_e(D,oe)),te},getAllCodeActions:function(D){var le=new e.Map;return ne.createCombinedCodeActions(e.textChanges.ChangeTracker.with(D,function(de){ne.eachDiagnostic(D,O,function(te){var oe=te.file,ae=te.start,E=Q(oe,ae);E&&le.set(E.signature,e.append(le.get(E.signature),E.jsDocParameterTag))}),le.forEach(function(te,oe){if(D.fixId===K){var ae=new e.Set(te);de.filterJSDocTags(oe.getSourceFile(),oe,function(E){return!ae.has(E)})}})}))}});function ie(p,D){var le=D.name,de=D.signature,te=D.jsDocParameterTag,oe=e.textChanges.ChangeTracker.with(p,function(ae){return ae.filterJSDocTags(p.sourceFile,de,function(E){return E!==te})});return ne.createCodeFixAction(K,oe,[e.Diagnostics.Delete_unused_param_tag_0,le.getText(p.sourceFile)],K,e.Diagnostics.Delete_all_unused_param_tags)}function _e(p,D){var le=D.name,de=D.signature,te=D.jsDocParameterTag;if(!!e.length(de.parameters)){for(var oe=p.sourceFile,ae=e.getJSDocTags(de),E=new e.Set,I=0,f=ae;I1?e.Diagnostics.Remove_unused_declarations_for_Colon_0:e.Diagnostics.Remove_unused_declaration_for_Colon_0,e.map(G,function(Z){return Z.getText(V)}).join(", ")];return[D(e.textChanges.ChangeTracker.with(M,function(Z){return E(Z,V,P.parent)}),ye)]}return[D(e.textChanges.ChangeTracker.with(M,function(Z){return Z.delete(V,P.parent.parent)}),e.Diagnostics.Remove_unused_destructuring_declaration)]}if(oe(V,P))return[D(e.textChanges.ChangeTracker.with(M,function(Z){return ae(Z,V,P.parent)}),e.Diagnostics.Remove_variable_statement)];var b=[];if(P.kind===138){var N=e.textChanges.ChangeTracker.with(M,function(B){return p(B,V,P)}),x=e.cast(P.parent,e.isInferTypeNode).typeParameter.name.text;b.push(ne.createCodeFixAction(K,N,[e.Diagnostics.Replace_infer_0_with_unknown,x],_e,e.Diagnostics.Replace_all_unused_infer_with_unknown))}else{var q=e.textChanges.ChangeTracker.with(M,function(B){return m(V,P,B,$,L,h,F,!1)});if(q.length){var x=e.isComputedPropertyName(P.parent)?P.parent:P;b.push(D(q,[e.Diagnostics.Remove_unused_declaration_for_Colon_0,x.getText(V)]))}}var T=e.textChanges.ChangeTracker.with(M,function(Z){return I(Z,H,V,P)});return T.length&&b.push(ne.createCodeFixAction(K,T,[e.Diagnostics.Prefix_0_with_an_underscore,P.getText(V)],se,e.Diagnostics.Prefix_all_unused_declarations_with_where_possible)),b},fixIds:[se,O,ie,_e],getAllCodeActions:function(M){var H=M.sourceFile,V=M.program,h=M.cancellationToken,F=V.getTypeChecker(),$=V.getSourceFiles();return ne.codeFixAll(M,Q,function(L,P){var N=e.getTokenAtPosition(H,P.start);switch(M.fixId){case se:I(L,P.code,H,N);break;case ie:{var J=te(N);J?L.delete(H,J):de(N)&&m(H,N,L,F,$,V,h,!0);break}case O:{if(N.kind===138||de(N))break;if(e.isJSDocTemplateTag(N))L.delete(H,N);else if(N.kind===29)le(L,H,N);else if(e.isObjectBindingPattern(N.parent)){if(N.parent.parent.initializer)break;(!e.isParameter(N.parent.parent)||k(N.parent.parent,F,$))&&L.delete(H,N.parent.parent)}else{if(e.isArrayBindingPattern(N.parent.parent)&&N.parent.parent.parent.initializer)break;oe(H,N)?ae(L,H,N.parent):m(H,N,L,F,$,V,h,!0)}break}case _e:N.kind===138&&p(L,H,N);break;default:e.Debug.fail(JSON.stringify(M.fixId))}})}});function p(M,H,V){M.replaceNode(H,V.parent,e.factory.createKeywordTypeNode(157))}function D(M,H){return ne.createCodeFixAction(K,M,H,O,e.Diagnostics.Delete_all_unused_declarations)}function le(M,H,V){M.delete(H,e.Debug.checkDefined(e.cast(V.parent,e.isDeclarationWithTypeParameterChildren).typeParameters,"The type parameter to delete should exist"))}function de(M){return M.kind===100||M.kind===79&&(M.parent.kind===273||M.parent.kind===270)}function te(M){return M.kind===100?e.tryCast(M.parent,e.isImportDeclaration):void 0}function oe(M,H){return e.isVariableDeclarationList(H.parent)&&e.first(H.parent.getChildren(M))===H}function ae(M,H,V){M.delete(H,V.parent.kind===240?V.parent:V)}function E(M,H,V){e.forEach(V.elements,function(h){return M.delete(H,h)})}function I(M,H,V,h){H!==e.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code&&(h.kind===138&&(h=e.cast(h.parent,e.isInferTypeNode).typeParameter.name),e.isIdentifier(h)&&f(h)&&(M.replaceNode(V,h,e.factory.createIdentifier("_".concat(h.text))),e.isParameter(h.parent)&&e.getJSDocParameterTags(h.parent).forEach(function(F){e.isIdentifier(F.name)&&M.replaceNode(V,F.name,e.factory.createIdentifier("_".concat(F.name.text)))})))}function f(M){switch(M.parent.kind){case 166:case 165:return!0;case 257:{var H=M.parent;switch(H.parent.parent.kind){case 247:case 246:return!0}}}return!1}function m(M,H,V,h,F,$,L,P){y(H,V,M,h,F,$,L,P),e.isIdentifier(H)&&e.FindAllReferences.Core.eachSymbolReferenceInFile(H,h,M,function(N){e.isPropertyAccessExpression(N.parent)&&N.parent.name===N&&(N=N.parent),!P&&X(N)&&V.delete(M,N.parent.parent)})}function y(M,H,V,h,F,$,L,P){var N=M.parent;if(e.isParameter(N))S(H,V,N,h,F,$,L,P);else if(!(P&&e.isIdentifier(M)&&e.FindAllReferences.Core.isSymbolReferencedInFile(M,h,V))){var J=e.isImportClause(N)?M:e.isComputedPropertyName(N)?N.parent:N;e.Debug.assert(J!==V,"should not delete whole source file"),H.delete(V,J)}}function S(M,H,V,h,F,$,L,P){if(P===void 0&&(P=!1),C(h,H,V,F,$,L,P))if(V.modifiers&&V.modifiers.length>0&&(!e.isIdentifier(V.name)||e.FindAllReferences.Core.isSymbolReferencedInFile(V.name,h,H)))for(var N=0,J=V.modifiers;Nh})}function C(M,H,V,h,F,$,L){var P=V.parent;switch(P.kind){case 171:case 173:var N=P.parameters.indexOf(V),J=e.isMethodDeclaration(P)?P.name:P,q=e.FindAllReferences.Core.getReferencedSymbolsForNode(P.pos,J,F,h,$);if(q)for(var G=0,ye=q;GN,u=e.isPropertyAccessExpression(Z.node.parent)&&e.isSuperKeyword(Z.node.parent.expression)&&e.isCallExpression(Z.node.parent.parent)&&Z.node.parent.parent.arguments.length>N,A=(e.isMethodDeclaration(Z.node.parent)||e.isMethodSignature(Z.node.parent))&&Z.node.parent!==V.parent&&Z.node.parent.parameters.length>N;if(B||u||A)return!1}}return!0;case 259:return P.name&&me(M,H,P.name)?De(P,V,L):!0;case 215:case 216:return De(P,V,L);case 175:return!1;case 174:return!0;default:return e.Debug.failBadSyntaxKind(P)}}function me(M,H,V){return!!e.FindAllReferences.Core.eachSymbolReferenceInFile(V,M,H,function(h){return e.isIdentifier(h)&&e.isCallExpression(h.parent)&&h.parent.arguments.indexOf(h)>=0})}function De(M,H,V){var h=M.parameters,F=h.indexOf(H);return e.Debug.assert(F!==-1,"The parameter should already be in the list"),V?h.slice(F+1).every(function($){return e.isIdentifier($.name)&&!$.symbol.isReferenced}):F===h.length-1}function X(M){return(e.isBinaryExpression(M.parent)&&M.parent.left===M||(e.isPostfixUnaryExpression(M.parent)||e.isPrefixUnaryExpression(M.parent))&&M.parent.operand===M)&&e.isExpressionStatement(M.parent.parent)}})(o=e.codefix||(e.codefix={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K="fixUnreachableCode",se=[e.Diagnostics.Unreachable_code_detected.code];ne.registerCodeFix({errorCodes:se,getCodeActions:function(_e){var Q=_e.program.getSyntacticDiagnostics(_e.sourceFile,_e.cancellationToken);if(!Q.length){var p=e.textChanges.ChangeTracker.with(_e,function(D){return O(D,_e.sourceFile,_e.span.start,_e.span.length,_e.errorCode)});return[ne.createCodeFixAction(K,p,e.Diagnostics.Remove_unreachable_code,K,e.Diagnostics.Remove_all_unreachable_code)]}},fixIds:[K],getAllCodeActions:function(_e){return ne.codeFixAll(_e,se,function(Q,p){return O(Q,p.file,p.start,p.length,p.code)})}});function O(_e,Q,p,D,le){var de=e.getTokenAtPosition(Q,p),te=e.findAncestor(de,e.isStatement);if(te.getStart(Q)!==de.getStart(Q)){var oe=JSON.stringify({statementKind:e.Debug.formatSyntaxKind(te.kind),tokenKind:e.Debug.formatSyntaxKind(de.kind),errorCode:le,start:p,length:D});e.Debug.fail("Token and statement should start at the same point. "+oe)}var ae=(e.isBlock(te.parent)?te.parent:te).parent;if(!e.isBlock(te.parent)||te===e.first(te.parent.statements))switch(ae.kind){case 242:if(ae.elseStatement){if(e.isBlock(te.parent))break;_e.replaceNode(Q,te,e.factory.createBlock(e.emptyArray));return}case 244:case 245:_e.delete(Q,ae);return}if(e.isBlock(te.parent)){var E=p+D,I=e.Debug.checkDefined(ie(e.sliceAfter(te.parent.statements,te),function(f){return f.posSe.length){var Re=Z.getSignatureFromDeclaration(x[x.length-1]);mr(Be,Re,U,Ue(A),t(q,Be))}else e.Debug.assert(x.length===Se.length,"Declarations and signatures should match count"),J(I(Z,L,F,Se,Ue(A),pe&&!!(G&1),U,Be,q));break}function mr(ln,dr,vr,kr,Ur){var Cr=_e(171,L,ln,dr,Ur,kr,vr,pe&&!!(G&1),F,N);Cr&&J(Cr)}function Ue(ln){return e.getSynthesizedDeepClone(ln,!1)}function t(ln,dr,vr){return vr?void 0:e.getSynthesizedDeepClone(ln,!1)||y(dr)}function qr(ln){return e.getSynthesizedDeepClone(ln,!1)}}ne.addNewNodeForMemberSymbol=ie;function _e(h,F,$,L,P,N,J,q,G,ye){var b=F.program,x=b.getTypeChecker(),T=e.getEmitScriptTarget(b.getCompilerOptions()),Z=1|256|524288|($===0?268435456:0),B=x.signatureToSignatureDeclaration(L,h,G,Z,se(F));if(!!B){var u=B.typeParameters,A=B.parameters,w=B.type;if(ye){if(u){var z=e.sameMap(u,function(Be){var Me=Be.constraint,Le=Be.default;if(Me){var Ae=X(Me,T);Ae&&(Me=Ae.typeNode,H(ye,Ae.symbols))}if(Le){var Ae=X(Le,T);Ae&&(Le=Ae.typeNode,H(ye,Ae.symbols))}return e.factory.updateTypeParameterDeclaration(Be,Be.modifiers,Be.name,Me,Le)});u!==z&&(u=e.setTextRange(e.factory.createNodeArray(z,u.hasTrailingComma),u))}var U=e.sameMap(A,function(Be){var Me=X(Be.type,T),Le=Be.type;return Me&&(Le=Me.typeNode,H(ye,Me.symbols)),e.factory.updateParameterDeclaration(Be,Be.modifiers,Be.dotDotDotToken,Be.name,Be.questionToken,Le,Be.initializer)});if(A!==U&&(A=e.setTextRange(e.factory.createNodeArray(U,A.hasTrailingComma),A)),w){var ge=X(w,T);ge&&(w=ge.typeNode,H(ye,ge.symbols))}}var pe=q?e.factory.createToken(57):void 0,He=B.asteriskToken;if(e.isFunctionExpression(B))return e.factory.updateFunctionExpression(B,J,B.asteriskToken,e.tryCast(N,e.isIdentifier),u,A,w,P!=null?P:B.body);if(e.isArrowFunction(B))return e.factory.updateArrowFunction(B,J,u,A,w,B.equalsGreaterThanToken,P!=null?P:B.body);if(e.isMethodDeclaration(B))return e.factory.updateMethodDeclaration(B,J,He,N!=null?N:e.factory.createIdentifier(""),pe,u,A,w,P);if(e.isFunctionDeclaration(B))return e.factory.updateFunctionDeclaration(B,J,B.asteriskToken,e.tryCast(N,e.isIdentifier),u,A,w,P!=null?P:B.body)}}ne.createSignatureDeclarationFromSignature=_e;function Q(h,F,$,L,P,N,J){var q=e.getQuotePreference(F.sourceFile,F.preferences),G=e.getEmitScriptTarget(F.program.getCompilerOptions()),ye=se(F),b=F.program.getTypeChecker(),x=e.isInJSFile(J),T=L.typeArguments,Z=L.arguments,B=L.parent,u=x?void 0:b.getContextualType(L),A=e.map(Z,function(Ae){return e.isIdentifier(Ae)?Ae.text:e.isPropertyAccessExpression(Ae)&&e.isIdentifier(Ae.name)?Ae.name.text:void 0}),w=x?[]:e.map(Z,function(Ae){return b.getTypeAtLocation(Ae)}),z=te(b,$,w,J,G,void 0,ye),U=z.argumentTypeNodes,ge=z.argumentTypeParameters,pe=N?e.factory.createNodeArray(e.factory.createModifiersFromModifierFlags(N)):void 0,He=e.isYieldExpression(B)?e.factory.createToken(41):void 0,Be=x?void 0:p(b,ge,T),Me=E(Z.length,A,U,void 0,x),Le=x||u===void 0?void 0:b.typeToTypeNode(u,J,void 0,ye);switch(h){case 171:return e.factory.createMethodDeclaration(pe,He,P,void 0,Be,Me,Le,y(q));case 170:return e.factory.createMethodSignature(pe,P,void 0,Be,Me,Le===void 0?e.factory.createKeywordTypeNode(157):Le);case 259:return e.factory.createFunctionDeclaration(pe,He,P,Be,Me,Le,S(e.Diagnostics.Function_not_implemented.message,q));default:e.Debug.fail("Unexpected kind")}}ne.createSignatureDeclarationFromCallExpression=Q;function p(h,F,$){var L=new e.Set(F.map(function(G){return G[0]})),P=new e.Map(F);if($)for(var N=$.filter(function(G){return!F.some(function(ye){var b;return h.getTypeAtLocation(G)===((b=ye[1])===null||b===void 0?void 0:b.argumentType)})}),J=L.size+N.length,q=0;L.size=L?e.factory.createToken(57):void 0,P?void 0:($==null?void 0:$[q])||e.factory.createKeywordTypeNode(157),void 0);N.push(b)}return N}function I(h,F,$,L,P,N,J,q,G){for(var ye=L[0],b=L[0].minArgumentCount,x=!1,T=0,Z=L;T=ye.parameters.length&&(!e.signatureHasRestParameter(B)||e.signatureHasRestParameter(ye))&&(ye=B)}var u=ye.parameters.length-(e.signatureHasRestParameter(ye)?1:0),A=ye.parameters.map(function(U){return U.name}),w=E(u,A,void 0,b,!1);if(x){var z=e.factory.createParameterDeclaration(void 0,e.factory.createToken(25),A[u]||"rest",u>=b?e.factory.createToken(57):void 0,e.factory.createArrayTypeNode(e.factory.createKeywordTypeNode(157)),void 0);w.push(z)}return m(J,P,N,void 0,w,f(L,h,F,$),q,G)}function f(h,F,$,L){if(e.length(h)){var P=F.getUnionType(e.map(h,F.getReturnTypeOfSignature));return F.typeToTypeNode(P,L,void 0,se($))}}function m(h,F,$,L,P,N,J,q){return e.factory.createMethodDeclaration(h,void 0,F,$?e.factory.createToken(57):void 0,L,P,N,q||y(J))}function y(h){return S(e.Diagnostics.Method_not_implemented.message,h)}function S(h,F){return e.factory.createBlock([e.factory.createThrowStatement(e.factory.createNewExpression(e.factory.createIdentifier("Error"),void 0,[e.factory.createStringLiteral(h,F===0)]))],!0)}ne.createStubbedBody=S;function k(h,F,$){var L=e.getTsConfigObjectLiteralExpression(F);if(!!L){var P=De(L,"compilerOptions");if(P===void 0){h.insertNodeAtObjectStart(F,L,me("compilerOptions",e.factory.createObjectLiteralExpression($.map(function(T){var Z=T[0],B=T[1];return me(Z,B)}),!0)));return}var N=P.initializer;if(!!e.isObjectLiteralExpression(N))for(var J=0,q=$;J0)return[ne.createCodeFixAction(K,Q,e.Diagnostics.Convert_to_a_bigint_numeric_literal,K,e.Diagnostics.Convert_all_to_bigint_numeric_literals)]},fixIds:[K],getAllCodeActions:function(ie){return ne.codeFixAll(ie,se,function(_e,Q){return O(_e,Q.file,Q)})}});function O(ie,_e,Q){var p=e.tryCast(e.getTokenAtPosition(_e,Q.start),e.isNumericLiteral);if(!!p){var D=p.getText(_e)+"n";ie.replaceNode(_e,p,e.factory.createBigIntLiteral(D))}}})(o=e.codefix||(e.codefix={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K="fixAddModuleReferTypeMissingTypeof",se=K,O=[e.Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0.code];ne.registerCodeFix({errorCodes:O,getCodeActions:function(p){var D=p.sourceFile,le=p.span,de=ie(D,le.start),te=e.textChanges.ChangeTracker.with(p,function(oe){return _e(oe,D,de)});return[ne.createCodeFixAction(se,te,e.Diagnostics.Add_missing_typeof,se,e.Diagnostics.Add_missing_typeof)]},fixIds:[se],getAllCodeActions:function(Q){return ne.codeFixAll(Q,O,function(p,D){return _e(p,Q.sourceFile,ie(D.file,D.start))})}});function ie(Q,p){var D=e.getTokenAtPosition(Q,p);return e.Debug.assert(D.kind===100,"This token should be an ImportKeyword"),e.Debug.assert(D.parent.kind===202,"Token parent should be an ImportType"),D.parent}function _e(Q,p,D){var le=e.factory.updateImportTypeNode(D,D.argument,D.assertions,D.qualifier,D.typeArguments,!0);Q.replaceNode(p,D,le)}})(o=e.codefix||(e.codefix={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K="wrapJsxInFragment",se=[e.Diagnostics.JSX_expressions_must_have_one_parent_element.code];ne.registerCodeFix({errorCodes:se,getCodeActions:function(p){var D=p.sourceFile,le=p.span,de=O(D,le.start);if(!!de){var te=e.textChanges.ChangeTracker.with(p,function(oe){return ie(oe,D,de)});return[ne.createCodeFixAction(K,te,e.Diagnostics.Wrap_in_JSX_fragment,K,e.Diagnostics.Wrap_all_unparented_JSX_in_JSX_fragment)]}},fixIds:[K],getAllCodeActions:function(Q){return ne.codeFixAll(Q,se,function(p,D){var le=O(Q.sourceFile,D.start);!le||ie(p,Q.sourceFile,le)})}});function O(Q,p){var D=e.getTokenAtPosition(Q,p),le=D.parent,de=le.parent;if(!(!e.isBinaryExpression(de)&&(de=de.parent,!e.isBinaryExpression(de)))&&!!e.nodeIsMissing(de.operatorToken))return de}function ie(Q,p,D){var le=_e(D);le&&Q.replaceNode(p,D,e.factory.createJsxFragment(e.factory.createJsxOpeningFragment(),le,e.factory.createJsxJsxClosingFragment()))}function _e(Q){for(var p=[],D=Q;;)if(e.isBinaryExpression(D)&&e.nodeIsMissing(D.operatorToken)&&D.operatorToken.kind===27){if(p.push(D.left),e.isJsxChild(D.right))return p.push(D.right),p;if(e.isBinaryExpression(D.right)){D=D.right;continue}else return}else return}})(o=e.codefix||(e.codefix={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K="fixConvertToMappedObjectType",se=[e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead.code];ne.registerCodeFix({errorCodes:se,getCodeActions:function(p){var D=p.sourceFile,le=p.span,de=O(D,le.start);if(!!de){var te=e.textChanges.ChangeTracker.with(p,function(ae){return _e(ae,D,de)}),oe=e.idText(de.container.name);return[ne.createCodeFixAction(K,te,[e.Diagnostics.Convert_0_to_mapped_object_type,oe],K,[e.Diagnostics.Convert_0_to_mapped_object_type,oe])]}},fixIds:[K],getAllCodeActions:function(Q){return ne.codeFixAll(Q,se,function(p,D){var le=O(D.file,D.start);le&&_e(p,D.file,le)})}});function O(Q,p){var D=e.getTokenAtPosition(Q,p),le=e.tryCast(D.parent.parent,e.isIndexSignatureDeclaration);if(!!le){var de=e.isInterfaceDeclaration(le.parent)?le.parent:e.tryCast(le.parent.parent,e.isTypeAliasDeclaration);if(!!de)return{indexSignature:le,container:de}}}function ie(Q,p){return e.factory.createTypeAliasDeclaration(Q.modifiers,Q.name,Q.typeParameters,p)}function _e(Q,p,D){var le=D.indexSignature,de=D.container,te=e.isInterfaceDeclaration(de)?de.members:de.type.members,oe=te.filter(function(m){return!e.isIndexSignatureDeclaration(m)}),ae=e.first(le.parameters),E=e.factory.createTypeParameterDeclaration(void 0,e.cast(ae.name,e.isIdentifier),ae.type),I=e.factory.createMappedTypeNode(e.hasEffectiveReadonlyModifier(le)?e.factory.createModifier(146):void 0,E,void 0,le.questionToken,le.type,void 0),f=e.factory.createIntersectionTypeNode(zn(zn(zn([],e.getAllSuperTypeNodes(de),!0),[I],!1),oe.length?[e.factory.createTypeLiteralNode(oe)]:e.emptyArray,!0));Q.replaceNode(p,de,ie(de,f))}})(o=e.codefix||(e.codefix={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K="removeAccidentalCallParentheses",se=[e.Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without.code];ne.registerCodeFix({errorCodes:se,getCodeActions:function(O){var ie=e.findAncestor(e.getTokenAtPosition(O.sourceFile,O.span.start),e.isCallExpression);if(!!ie){var _e=e.textChanges.ChangeTracker.with(O,function(Q){Q.deleteRange(O.sourceFile,{pos:ie.expression.end,end:ie.end})});return[ne.createCodeFixActionWithoutFixAll(K,_e,e.Diagnostics.Remove_parentheses)]}},fixIds:[K]})})(o=e.codefix||(e.codefix={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K="removeUnnecessaryAwait",se=[e.Diagnostics.await_has_no_effect_on_the_type_of_this_expression.code];ne.registerCodeFix({errorCodes:se,getCodeActions:function(_e){var Q=e.textChanges.ChangeTracker.with(_e,function(p){return O(p,_e.sourceFile,_e.span)});if(Q.length>0)return[ne.createCodeFixAction(K,Q,e.Diagnostics.Remove_unnecessary_await,K,e.Diagnostics.Remove_all_unnecessary_uses_of_await)]},fixIds:[K],getAllCodeActions:function(ie){return ne.codeFixAll(ie,se,function(_e,Q){return O(_e,Q.file,Q)})}});function O(ie,_e,Q){var p=e.tryCast(e.getTokenAtPosition(_e,Q.start),function(ae){return ae.kind===133}),D=p&&e.tryCast(p.parent,e.isAwaitExpression);if(!!D){var le=D,de=e.isParenthesizedExpression(D.parent);if(de){var te=e.getLeftmostExpression(D.expression,!1);if(e.isIdentifier(te)){var oe=e.findPrecedingToken(D.parent.pos,_e);oe&&oe.kind!==103&&(le=D.parent)}}ie.replaceNode(_e,le,D.expression)}}})(o=e.codefix||(e.codefix={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K=[e.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code],se="splitTypeOnlyImport";ne.registerCodeFix({errorCodes:K,fixIds:[se],getCodeActions:function(Q){var p=e.textChanges.ChangeTracker.with(Q,function(D){return ie(D,O(Q.sourceFile,Q.span),Q)});if(p.length)return[ne.createCodeFixAction(se,p,e.Diagnostics.Split_into_two_separate_import_declarations,se,e.Diagnostics.Split_all_invalid_type_only_imports)]},getAllCodeActions:function(_e){return ne.codeFixAll(_e,K,function(Q,p){ie(Q,O(_e.sourceFile,p),_e)})}});function O(_e,Q){return e.findAncestor(e.getTokenAtPosition(_e,Q.start),e.isImportDeclaration)}function ie(_e,Q,p){if(!!Q){var D=e.Debug.checkDefined(Q.importClause);_e.replaceNode(p.sourceFile,Q,e.factory.updateImportDeclaration(Q,Q.modifiers,e.factory.updateImportClause(D,D.isTypeOnly,D.name,void 0),Q.moduleSpecifier,Q.assertClause)),_e.insertNodeAfter(p.sourceFile,Q,e.factory.createImportDeclaration(void 0,e.factory.updateImportClause(D,D.isTypeOnly,void 0,D.namedBindings),Q.moduleSpecifier,Q.assertClause))}}})(o=e.codefix||(e.codefix={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K="fixConvertConstToLet",se=[e.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant.code];ne.registerCodeFix({errorCodes:se,getCodeActions:function(Q){var p=Q.sourceFile,D=Q.span,le=Q.program,de=O(p,D.start,le);if(de!==void 0){var te=e.textChanges.ChangeTracker.with(Q,function(oe){return ie(oe,p,de.token)});return[ne.createCodeFixActionMaybeFixAll(K,te,e.Diagnostics.Convert_const_to_let,K,e.Diagnostics.Convert_all_const_to_let)]}},getAllCodeActions:function(_e){var Q=_e.program,p=new e.Map;return ne.createCombinedCodeActions(e.textChanges.ChangeTracker.with(_e,function(D){ne.eachDiagnostic(_e,se,function(le){var de=O(le.file,le.start,Q);if(de&&e.addToSeen(p,e.getSymbolId(de.symbol)))return ie(D,le.file,de.token)})}))},fixIds:[K]});function O(_e,Q,p){var D,le=p.getTypeChecker(),de=le.getSymbolAtLocation(e.getTokenAtPosition(_e,Q));if(de!==void 0){var te=e.tryCast((D=de==null?void 0:de.valueDeclaration)===null||D===void 0?void 0:D.parent,e.isVariableDeclarationList);if(te!==void 0){var oe=e.findChildOfKind(te,85,_e);if(oe!==void 0)return{symbol:de,token:oe}}}}function ie(_e,Q,p){_e.replaceNode(Q,p,e.factory.createToken(119))}})(o=e.codefix||(e.codefix={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K="fixExpectedComma",se=e.Diagnostics._0_expected.code,O=[se];ne.registerCodeFix({errorCodes:O,getCodeActions:function(Q){var p=Q.sourceFile,D=ie(p,Q.span.start,Q.errorCode);if(!!D){var le=e.textChanges.ChangeTracker.with(Q,function(de){return _e(de,p,D)});return[ne.createCodeFixAction(K,le,[e.Diagnostics.Change_0_to_1,";",","],K,[e.Diagnostics.Change_0_to_1,";",","])]}},fixIds:[K],getAllCodeActions:function(Q){return ne.codeFixAll(Q,O,function(p,D){var le=ie(D.file,D.start,D.code);le&&_e(p,Q.sourceFile,le)})}});function ie(Q,p,D){var le=e.getTokenAtPosition(Q,p);return le.kind===26&&le.parent&&(e.isObjectLiteralExpression(le.parent)||e.isArrayLiteralExpression(le.parent))?{node:le}:void 0}function _e(Q,p,D){var le=D.node,de=e.factory.createToken(27);Q.replaceNode(p,le,de)}})(o=e.codefix||(e.codefix={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K="addVoidToPromise",se="addVoidToPromise",O=[e.Diagnostics.Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments.code,e.Diagnostics.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise.code];ne.registerCodeFix({errorCodes:O,fixIds:[se],getCodeActions:function(Q){var p=e.textChanges.ChangeTracker.with(Q,function(D){return ie(D,Q.sourceFile,Q.span,Q.program)});if(p.length>0)return[ne.createCodeFixAction(K,p,e.Diagnostics.Add_void_to_Promise_resolved_without_a_value,se,e.Diagnostics.Add_void_to_all_Promises_resolved_without_a_value)]},getAllCodeActions:function(Q){return ne.codeFixAll(Q,O,function(p,D){return ie(p,D.file,D,Q.program,new e.Set)})}});function ie(Q,p,D,le,de){var te=e.getTokenAtPosition(p,D.start);if(!(!e.isIdentifier(te)||!e.isCallExpression(te.parent)||te.parent.expression!==te||te.parent.arguments.length!==0)){var oe=le.getTypeChecker(),ae=oe.getSymbolAtLocation(te),E=ae==null?void 0:ae.valueDeclaration;if(!(!E||!e.isParameter(E)||!e.isNewExpression(E.parent.parent))&&!(de==null?void 0:de.has(E))){de==null||de.add(E);var I=_e(E.parent.parent);if(e.some(I)){var f=I[0],m=!e.isUnionTypeNode(f)&&!e.isParenthesizedTypeNode(f)&&e.isParenthesizedTypeNode(e.factory.createUnionTypeNode([f,e.factory.createKeywordTypeNode(114)]).types[0]);m&&Q.insertText(p,f.pos,"("),Q.insertText(p,f.end,m?") | void":" | void")}else{var y=oe.getResolvedSignature(te.parent),S=y==null?void 0:y.parameters[0],k=S&&oe.getTypeOfSymbolAtLocation(S,E.parent.parent);e.isInJSFile(E)?(!k||k.flags&3)&&(Q.insertText(p,E.parent.parent.end,")"),Q.insertText(p,e.skipTrivia(p.text,E.parent.parent.pos),"/** @type {Promise} */(")):(!k||k.flags&2)&&Q.insertText(p,E.parent.parent.expression.end,"")}}}}function _e(Q){var p;if(e.isInJSFile(Q)){if(e.isParenthesizedExpression(Q.parent)){var D=(p=e.getJSDocTypeTag(Q.parent))===null||p===void 0?void 0:p.typeExpression.type;if(D&&e.isTypeReferenceNode(D)&&e.isIdentifier(D.typeName)&&e.idText(D.typeName)==="Promise")return D.typeArguments}}else return Q.typeArguments}})(o=e.codefix||(e.codefix={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K="Convert export",se={name:"Convert default export to named export",description:e.Diagnostics.Convert_default_export_to_named_export.message,kind:"refactor.rewrite.export.named"},O={name:"Convert named export to default export",description:e.Diagnostics.Convert_named_export_to_default_export.message,kind:"refactor.rewrite.export.default"};ne.registerRefactor(K,{kinds:[se.kind,O.kind],getAvailableActions:function(E){var I=ie(E,E.triggerReason==="invoked");if(!I)return e.emptyArray;if(!ne.isRefactorErrorInfo(I)){var f=I.wasDefault?se:O;return[{name:K,description:f.description,actions:[f]}]}return E.preferences.provideRefactorNotApplicableReason?[{name:K,description:e.Diagnostics.Convert_default_export_to_named_export.message,actions:[vi(vi({},se),{notApplicableReason:I.error}),vi(vi({},O),{notApplicableReason:I.error})]}]:e.emptyArray},getEditsForAction:function(E,I){e.Debug.assert(I===se.name||I===O.name,"Unexpected action name");var f=ie(E);e.Debug.assert(f&&!ne.isRefactorErrorInfo(f),"Expected applicable refactor info");var m=e.textChanges.ChangeTracker.with(E,function(y){return _e(E.file,E.program,f,y,E.cancellationToken)});return{edits:m,renameFilename:void 0,renameLocation:void 0}}});function ie(ae,E){E===void 0&&(E=!0);var I=ae.file,f=ae.program,m=e.getRefactorContextSpan(ae),y=e.getTokenAtPosition(I,m.start),S=!!(y.parent&&e.getSyntacticModifierFlags(y.parent)&1)&&E?y.parent:e.getParentNodeInSpan(y,I,m);if(!S||!e.isSourceFile(S.parent)&&!(e.isModuleBlock(S.parent)&&e.isAmbientModule(S.parent.parent)))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_export_statement)};var k=f.getTypeChecker(),C=oe(S,k),me=e.getSyntacticModifierFlags(S)||(e.isExportAssignment(S)&&!S.isExportEquals?1025:0),De=!!(me&1024);if(!(me&1)||!De&&C.exports.has("default"))return{error:e.getLocaleSpecificMessage(e.Diagnostics.This_file_already_has_a_default_export)};var X=function(h){return e.isIdentifier(h)&&k.getSymbolAtLocation(h)?void 0:{error:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_named_export)}};switch(S.kind){case 259:case 260:case 261:case 263:case 262:case 264:{var M=S;return M.name?X(M.name)||{exportNode:M,exportName:M.name,wasDefault:De,exportingModuleSymbol:C}:void 0}case 240:{var H=S;if(!(H.declarationList.flags&2)||H.declarationList.declarations.length!==1)return;var V=e.first(H.declarationList.declarations);return V.initializer?(e.Debug.assert(!De,"Can't have a default flag here"),X(V.name)||{exportNode:H,exportName:V.name,wasDefault:De,exportingModuleSymbol:C}):void 0}case 274:{var M=S;return M.isExportEquals?void 0:X(M.expression)||{exportNode:M,exportName:M.expression,wasDefault:De,exportingModuleSymbol:C}}default:return}}function _e(ae,E,I,f,m){Q(ae,I,f,E.getTypeChecker()),p(E,I,f,m)}function Q(ae,E,I,f){var m=E.wasDefault,y=E.exportNode,S=E.exportName;if(m)if(e.isExportAssignment(y)&&!y.isExportEquals){var k=y.expression,C=te(k.text,k.text);I.replaceNode(ae,y,e.factory.createExportDeclaration(void 0,!1,e.factory.createNamedExports([C])))}else I.delete(ae,e.Debug.checkDefined(e.findModifier(y,88),"Should find a default keyword in modifier list"));else{var me=e.Debug.checkDefined(e.findModifier(y,93),"Should find an export keyword in modifier list");switch(y.kind){case 259:case 260:case 261:I.insertNodeAfter(ae,me,e.factory.createToken(88));break;case 240:var De=e.first(y.declarationList.declarations);if(!e.FindAllReferences.Core.isSymbolReferencedInFile(S,f,ae)&&!De.type){I.replaceNode(ae,y,e.factory.createExportDefault(e.Debug.checkDefined(De.initializer,"Initializer was previously known to be present")));break}case 263:case 262:case 264:I.deleteModifier(ae,me),I.insertNodeAfter(ae,y,e.factory.createExportDefault(e.factory.createIdentifier(S.text)));break;default:e.Debug.fail("Unexpected exportNode kind ".concat(y.kind))}}}function p(ae,E,I,f){var m=E.wasDefault,y=E.exportName,S=E.exportingModuleSymbol,k=ae.getTypeChecker(),C=e.Debug.checkDefined(k.getSymbolAtLocation(y),"Export name should resolve to a symbol");e.FindAllReferences.Core.eachExportReference(ae.getSourceFiles(),k,f,C,S,y.text,m,function(me){if(y!==me){var De=me.getSourceFile();m?D(De,me,I,y.text):le(De,me,I)}})}function D(ae,E,I,f){var m=E.parent;switch(m.kind){case 208:I.replaceNode(ae,E,e.factory.createIdentifier(f));break;case 273:case 278:{var y=m;I.replaceNode(ae,y,de(f,y.name.text));break}case 270:{var S=m;e.Debug.assert(S.name===E,"Import clause name should match provided ref");var y=de(f,E.text),k=S.namedBindings;if(!k)I.replaceNode(ae,E,e.factory.createNamedImports([y]));else if(k.kind===271){I.deleteRange(ae,{pos:E.getStart(ae),end:k.getStart(ae)});var C=e.isStringLiteral(S.parent.moduleSpecifier)?e.quotePreferenceFromString(S.parent.moduleSpecifier,ae):1,me=e.makeImport(void 0,[de(f,E.text)],S.parent.moduleSpecifier,C);I.insertNodeAfter(ae,S.parent,me)}else I.delete(ae,E),I.insertNodeAtEndOfList(ae,k.elements,y);break}case 202:var De=m;I.replaceNode(ae,m,e.factory.createImportTypeNode(De.argument,De.assertions,e.factory.createIdentifier(f),De.typeArguments,De.isTypeOf));break;default:e.Debug.failBadSyntaxKind(m)}}function le(ae,E,I){var f=E.parent;switch(f.kind){case 208:I.replaceNode(ae,E,e.factory.createIdentifier("default"));break;case 273:{var m=e.factory.createIdentifier(f.name.text);f.parent.elements.length===1?I.replaceNode(ae,f.parent,m):(I.delete(ae,f),I.insertNodeBefore(ae,f.parent,m));break}case 278:{I.replaceNode(ae,f,te("default",f.name.text));break}default:e.Debug.assertNever(f,"Unexpected parent kind ".concat(f.kind))}}function de(ae,E){return e.factory.createImportSpecifier(!1,ae===E?void 0:e.factory.createIdentifier(ae),e.factory.createIdentifier(E))}function te(ae,E){return e.factory.createExportSpecifier(!1,ae===E?void 0:e.factory.createIdentifier(ae),e.factory.createIdentifier(E))}function oe(ae,E){var I=ae.parent;if(e.isSourceFile(I))return I.symbol;var f=I.parent.symbol;return f.valueDeclaration&&e.isExternalModuleAugmentation(f.valueDeclaration)?E.getMergedSymbol(f):f}})(o=e.refactor||(e.refactor={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K,se="Convert import",O=(K={},K[0]={name:"Convert namespace import to named imports",description:e.Diagnostics.Convert_namespace_import_to_named_imports.message,kind:"refactor.rewrite.import.named"},K[2]={name:"Convert named imports to namespace import",description:e.Diagnostics.Convert_named_imports_to_namespace_import.message,kind:"refactor.rewrite.import.namespace"},K[1]={name:"Convert named imports to default import",description:e.Diagnostics.Convert_named_imports_to_default_import.message,kind:"refactor.rewrite.import.default"},K);ne.registerRefactor(se,{kinds:e.getOwnValues(O).map(function(ae){return ae.kind}),getAvailableActions:function(E){var I=ie(E,E.triggerReason==="invoked");if(!I)return e.emptyArray;if(!ne.isRefactorErrorInfo(I)){var f=O[I.convertTo];return[{name:se,description:f.description,actions:[f]}]}return E.preferences.provideRefactorNotApplicableReason?e.getOwnValues(O).map(function(m){return{name:se,description:m.description,actions:[vi(vi({},m),{notApplicableReason:I.error})]}}):e.emptyArray},getEditsForAction:function(E,I){e.Debug.assert(e.some(e.getOwnValues(O),function(y){return y.name===I}),"Unexpected action name");var f=ie(E);e.Debug.assert(f&&!ne.isRefactorErrorInfo(f),"Expected applicable refactor info");var m=e.textChanges.ChangeTracker.with(E,function(y){return Q(E.file,E.program,y,f)});return{edits:m,renameFilename:void 0,renameLocation:void 0}}});function ie(ae,E){E===void 0&&(E=!0);var I=ae.file,f=e.getRefactorContextSpan(ae),m=e.getTokenAtPosition(I,f.start),y=E?e.findAncestor(m,e.isImportDeclaration):e.getParentNodeInSpan(m,I,f);if(!y||!e.isImportDeclaration(y))return{error:"Selection is not an import declaration."};var S=f.start+f.length,k=e.findNextToken(y,y.parent,I);if(!(k&&S>k.getStart())){var C=y.importClause;if(!C)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_import_clause)};if(!C.namedBindings)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_namespace_import_or_named_imports)};if(C.namedBindings.kind===271)return{convertTo:0,import:C.namedBindings};var me=_e(ae.program,C);return me?{convertTo:1,import:C.namedBindings}:{convertTo:2,import:C.namedBindings}}}function _e(ae,E){return e.getAllowSyntheticDefaultImports(ae.getCompilerOptions())&&te(E.parent.moduleSpecifier,ae.getTypeChecker())}function Q(ae,E,I,f){var m=E.getTypeChecker();f.convertTo===0?p(ae,m,I,f.import,e.getAllowSyntheticDefaultImports(E.getCompilerOptions())):de(ae,E,I,f.import,f.convertTo===1)}function p(ae,E,I,f,m){var y=!1,S=[],k=new e.Map;e.FindAllReferences.Core.eachSymbolReferenceInFile(f.name,E,ae,function(F){if(!e.isPropertyAccessOrQualifiedName(F.parent))y=!0;else{var $=D(F.parent).text;E.resolveName($,F,67108863,!0)&&k.set($,!0),e.Debug.assert(le(F.parent)===F,"Parent expression should match id"),S.push(F.parent)}});for(var C=new e.Map,me=0,De=S;me=$.pos?L.getEnd():$.getEnd()),N=F?S($):y($,P),J=N&&de(N)?k(N):void 0;if(!J)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};var q=V.getTypeChecker();return e.isConditionalExpression(J)?oe(J,q):ae(J)}}function oe(X,M){var H=X.condition,V=C(X.whenTrue);if(!V||M.isNullableType(M.getTypeAtLocation(V)))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};if((e.isPropertyAccessExpression(H)||e.isIdentifier(H))&&I(H,V.expression))return{finalExpression:V,occurrences:[H],expression:X};if(e.isBinaryExpression(H)){var h=E(V.expression,H);return h?{finalExpression:V,occurrences:h,expression:X}:{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_matching_access_expressions)}}}function ae(X){if(X.operatorToken.kind!==55)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_logical_AND_access_chains)};var M=C(X.right);if(!M)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};var H=E(M.expression,X.left);return H?{finalExpression:M,occurrences:H,expression:X}:{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_matching_access_expressions)}}function E(X,M){for(var H=[];e.isBinaryExpression(M)&&M.operatorToken.kind===55;){var V=I(e.skipParentheses(X),e.skipParentheses(M.right));if(!V)break;H.push(V),X=V,M=M.left}var h=I(X,M);return h&&H.push(h),H.length>0?H:void 0}function I(X,M){if(!(!e.isIdentifier(M)&&!e.isPropertyAccessExpression(M)&&!e.isElementAccessExpression(M)))return f(X,M)?M:void 0}function f(X,M){for(;(e.isCallExpression(X)||e.isPropertyAccessExpression(X)||e.isElementAccessExpression(X))&&m(X)!==m(M);)X=X.expression;for(;e.isPropertyAccessExpression(X)&&e.isPropertyAccessExpression(M)||e.isElementAccessExpression(X)&&e.isElementAccessExpression(M);){if(m(X)!==m(M))return!1;X=X.expression,M=M.expression}return e.isIdentifier(X)&&e.isIdentifier(M)&&X.getText()===M.getText()}function m(X){if(e.isIdentifier(X)||e.isStringOrNumericLiteralLike(X))return X.getText();if(e.isPropertyAccessExpression(X))return m(X.name);if(e.isElementAccessExpression(X))return m(X.argumentExpression)}function y(X,M){for(;X.parent;){if(de(X)&&M.length!==0&&X.end>=M.start+M.length)return X;X=X.parent}}function S(X){for(;X.parent;){if(de(X)&&!de(X.parent))return X;X=X.parent}}function k(X){if(D(X))return X;if(e.isVariableStatement(X)){var M=e.getSingleVariableOfVariableStatement(X),H=M==null?void 0:M.initializer;return H&&D(H)?H:void 0}return X.expression&&D(X.expression)?X.expression:void 0}function C(X){if(X=e.skipParentheses(X),e.isBinaryExpression(X))return C(X.left);if((e.isPropertyAccessExpression(X)||e.isElementAccessExpression(X)||e.isCallExpression(X))&&!e.isOptionalChain(X))return X}function me(X,M,H){if(e.isPropertyAccessExpression(M)||e.isElementAccessExpression(M)||e.isCallExpression(M)){var V=me(X,M.expression,H),h=H.length>0?H[H.length-1]:void 0,F=(h==null?void 0:h.getText())===M.expression.getText();if(F&&H.pop(),e.isCallExpression(M))return F?e.factory.createCallChain(V,e.factory.createToken(28),M.typeArguments,M.arguments):e.factory.createCallChain(V,M.questionDotToken,M.typeArguments,M.arguments);if(e.isPropertyAccessExpression(M))return F?e.factory.createPropertyAccessChain(V,e.factory.createToken(28),M.name):e.factory.createPropertyAccessChain(V,M.questionDotToken,M.name);if(e.isElementAccessExpression(M))return F?e.factory.createElementAccessChain(V,e.factory.createToken(28),M.argumentExpression):e.factory.createElementAccessChain(V,M.questionDotToken,M.argumentExpression)}return M}function De(X,M,H,V,h){var F=V.finalExpression,$=V.occurrences,L=V.expression,P=$[$.length-1],N=me(M,F,$);N&&(e.isPropertyAccessExpression(N)||e.isElementAccessExpression(N)||e.isCallExpression(N))&&(e.isBinaryExpression(L)?H.replaceNodeRange(X,P,F,N):e.isConditionalExpression(L)&&H.replaceNode(X,L,e.factory.createBinaryExpression(N,e.factory.createToken(60),L.whenFalse)))}})(K=ne.convertToOptionalChainExpression||(ne.convertToOptionalChainExpression={}))})(o=e.refactor||(e.refactor={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K;(function(se){var O="Convert overload list to single signature",ie=e.Diagnostics.Convert_overload_list_to_single_signature.message,_e={name:O,description:ie,kind:"refactor.rewrite.function.overloadList"};ne.registerRefactor(O,{kinds:[_e.kind],getEditsForAction:p,getAvailableActions:Q});function Q(de){var te=de.file,oe=de.startPosition,ae=de.program,E=le(te,oe,ae);return E?[{name:O,description:ie,actions:[_e]}]:e.emptyArray}function p(de){var te=de.file,oe=de.startPosition,ae=de.program,E=le(te,oe,ae);if(!E)return;var I=ae.getTypeChecker(),f=E[E.length-1],m=f;switch(f.kind){case 170:{m=e.factory.updateMethodSignature(f,f.modifiers,f.name,f.questionToken,f.typeParameters,S(E),f.type);break}case 171:{m=e.factory.updateMethodDeclaration(f,f.modifiers,f.asteriskToken,f.name,f.questionToken,f.typeParameters,S(E),f.type,f.body);break}case 176:{m=e.factory.updateCallSignature(f,f.typeParameters,S(E),f.type);break}case 173:{m=e.factory.updateConstructorDeclaration(f,f.modifiers,S(E),f.body);break}case 177:{m=e.factory.updateConstructSignature(f,f.typeParameters,S(E),f.type);break}case 259:{m=e.factory.updateFunctionDeclaration(f,f.modifiers,f.asteriskToken,f.name,f.typeParameters,S(E),f.type,f.body);break}default:return e.Debug.failBadSyntaxKind(f,"Unhandled signature kind in overload list conversion refactoring")}if(m===f)return;var y=e.textChanges.ChangeTracker.with(de,function(me){me.replaceNodeRange(te,E[0],E[E.length-1],m)});return{renameFilename:void 0,renameLocation:void 0,edits:y};function S(me){var De=me[me.length-1];return e.isFunctionLikeDeclaration(De)&&De.body&&(me=me.slice(0,me.length-1)),e.factory.createNodeArray([e.factory.createParameterDeclaration(void 0,e.factory.createToken(25),"args",void 0,e.factory.createUnionTypeNode(e.map(me,k)))])}function k(me){var De=e.map(me.parameters,C);return e.setEmitFlags(e.factory.createTupleTypeNode(De),e.some(De,function(X){return!!e.length(e.getSyntheticLeadingComments(X))})?0:1)}function C(me){e.Debug.assert(e.isIdentifier(me.name));var De=e.setTextRange(e.factory.createNamedTupleMember(me.dotDotDotToken,me.name,me.questionToken,me.type||e.factory.createKeywordTypeNode(131)),me),X=me.symbol&&me.symbol.getDocumentationComment(I);if(X){var M=e.displayPartsToString(X);M.length&&e.setSyntheticLeadingComments(De,[{text:`* `.concat(M.split(` `).map(function(H){return" * ".concat(H)}).join(` `),` `),kind:3,pos:-1,end:-1,hasTrailingNewLine:!0,hasLeadingNewline:!0}])}return De}}function D(de){switch(de.kind){case 170:case 171:case 176:case 173:case 177:case 259:return!0}return!1}function le(de,te,oe){var ae=e.getTokenAtPosition(de,te),E=e.findAncestor(ae,D);if(!!E&&!(e.isFunctionLikeDeclaration(E)&&E.body&&e.rangeContainsPosition(E.body,te))){var I=oe.getTypeChecker(),f=E.symbol;if(!!f){var m=f.declarations;if(!(e.length(m)<=1)&&!!e.every(m,function(me){return e.getSourceFileOfNode(me)===de})&&!!D(m[0])){var y=m[0].kind;if(!!e.every(m,function(me){return me.kind===y})){var S=m;if(!e.some(S,function(me){return!!me.typeParameters||e.some(me.parameters,function(De){return!!De.modifiers||!e.isIdentifier(De.name)})})){var k=e.mapDefined(S,function(me){return I.getSignatureFromDeclaration(me)});if(e.length(k)===e.length(m)){var C=I.getReturnTypeOfSignature(k[0]);if(!!e.every(k,function(me){return I.getReturnTypeOfSignature(me)===C}))return S}}}}}}}})(K=ne.addOrRemoveBracesToArrowFunction||(ne.addOrRemoveBracesToArrowFunction={}))})(o=e.refactor||(e.refactor={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K;(function(se){var O="Extract Symbol",ie={name:"Extract Constant",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_constant),kind:"refactor.extract.constant"},_e={name:"Extract Function",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_function),kind:"refactor.extract.function"};ne.registerRefactor(O,{kinds:[ie.kind,_e.kind],getEditsForAction:p,getAvailableActions:Q});function Q(U){var ge=U.kind,pe=de(U.file,e.getRefactorContextSpan(U),U.triggerReason==="invoked"),He=pe.targetRange;if(He===void 0){if(!pe.errors||pe.errors.length===0||!U.preferences.provideRefactorNotApplicableReason)return e.emptyArray;var Be=[];return ne.refactorKindBeginsWith(_e.kind,ge)&&Be.push({name:O,description:_e.description,actions:[vi(vi({},_e),{notApplicableReason:mr(pe.errors)})]}),ne.refactorKindBeginsWith(ie.kind,ge)&&Be.push({name:O,description:ie.description,actions:[vi(vi({},ie),{notApplicableReason:mr(pe.errors)})]}),Be}var Me=m(He,U);if(Me===void 0)return e.emptyArray;for(var Le=[],Ae=new e.Map,Xe,Ne=[],Oe=new e.Map,be,Y=0,d=0,j=Me;d=ge.start+ge.length)return(vr||(vr=[])).push(e.createDiagnosticForNode(Br,D.cannotExtractSuper)),!0}else Oe|=le.UsesThis,be=Br;break;case 216:e.forEachChild(Br,function ze(Ar){if(e.isThis(Ar))Oe|=le.UsesThis,be=Br;else{if(e.isClassLike(Ar)||e.isFunctionLike(Ar)&&!e.isArrowFunction(Ar))return!1;e.forEachChild(Ar,ze)}});case 260:case 259:e.isSourceFile(Br.parent)&&Br.parent.externalModuleIndicator===void 0&&(vr||(vr=[])).push(e.createDiagnosticForNode(Br,D.functionWillNotBeVisibleInTheNewScope));case 228:case 215:case 171:case 173:case 174:case 175:return!1}var or=kr;switch(Br.kind){case 242:kr&=~4;break;case 255:kr=0;break;case 238:Br.parent&&Br.parent.kind===255&&Br.parent.finallyBlock===Br&&(kr=4);break;case 293:case 292:kr|=1;break;default:e.isIterationStatement(Br,!1)&&(kr|=1|2);break}switch(Br.kind){case 194:case 108:Oe|=le.UsesThis,be=Br;break;case 253:{var Ee=Br.label;(Ur||(Ur=[])).push(Ee.escapedText),e.forEachChild(Br,rn),Ur.pop();break}case 249:case 248:{var Ee=Br.label;Ee?e.contains(Ur,Ee.escapedText)||(vr||(vr=[])).push(e.createDiagnosticForNode(Br,D.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):kr&(Br.kind===249?1:2)||(vr||(vr=[])).push(e.createDiagnosticForNode(Br,D.cannotExtractRangeContainingConditionalBreakOrContinueStatements));break}case 220:Oe|=le.IsAsyncFunction;break;case 226:Oe|=le.IsGenerator;break;case 250:kr&4?Oe|=le.HasReturn:(vr||(vr=[])).push(e.createDiagnosticForNode(Br,D.cannotExtractRangeContainingConditionalReturnStatement));break;default:e.forEachChild(Br,rn);break}kr=or}}}se.getRangeToExtract=de;function te(U,ge,pe){var He=U.getStart(pe),Be=ge.getEnd();return pe.text.charCodeAt(Be)===59&&Be++,{start:He,length:Be-He}}function oe(U){if(e.isStatement(U))return[U];if(e.isExpressionNode(U))return e.isExpressionStatement(U.parent)?[U.parent]:U;if(z(U))return U}function ae(U){return e.isArrowFunction(U)?e.isFunctionBody(U.body):e.isFunctionLikeDeclaration(U)||e.isSourceFile(U)||e.isModuleBlock(U)||e.isClassLike(U)}function E(U){var ge=b(U.range)?e.first(U.range):U.range;if(U.facts&le.UsesThis&&!(U.facts&le.UsesThisInFunction)){var pe=e.getContainingClass(ge);if(pe){var He=e.findAncestor(ge,e.isFunctionLikeDeclaration);return He?[He,pe]:[pe]}}for(var Be=[];;)if(ge=ge.parent,ge.kind===166&&(ge=e.findAncestor(ge,function(Me){return e.isFunctionLikeDeclaration(Me)}).parent),ae(ge)&&(Be.push(ge),ge.kind===308))return Be}function I(U,ge,pe){var He=y(U,ge),Be=He.scopes,Me=He.readsAndWrites,Le=Me.target,Ae=Me.usagesPerScope,Xe=Me.functionErrorsPerScope,Ne=Me.exposedVariableDeclarations;return e.Debug.assert(!Xe[pe].length,"The extraction went missing? How?"),ge.cancellationToken.throwIfCancellationRequested(),M(Le,Be[pe],Ae[pe],Ne,U,ge)}function f(U,ge,pe){var He=y(U,ge),Be=He.scopes,Me=He.readsAndWrites,Le=Me.target,Ae=Me.usagesPerScope,Xe=Me.constantErrorsPerScope,Ne=Me.exposedVariableDeclarations;e.Debug.assert(!Xe[pe].length,"The extraction went missing? How?"),e.Debug.assert(Ne.length===0,"Extract constant accepted a range containing a variable declaration?"),ge.cancellationToken.throwIfCancellationRequested();var Oe=e.isExpression(Le)?Le:Le.statements[0].expression;return H(Oe,Be[pe],Ae[pe],U.facts,ge)}function m(U,ge){var pe=y(U,ge),He=pe.scopes,Be=pe.readsAndWrites,Me=Be.functionErrorsPerScope,Le=Be.constantErrorsPerScope,Ae=He.map(function(Xe,Ne){var Oe=S(Xe),be=k(Xe),Y=e.isFunctionLikeDeclaration(Xe)?C(Xe):e.isClassLike(Xe)?me(Xe):De(Xe),d,j;return Y===1?(d=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[Oe,"global"]),j=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[be,"global"])):Y===0?(d=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[Oe,"module"]),j=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[be,"module"])):(d=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1),[Oe,Y]),j=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1),[be,Y])),Ne===0&&!e.isClassLike(Xe)&&(j=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_enclosing_scope),[be])),{functionExtraction:{description:d,errors:Me[Ne]},constantExtraction:{description:j,errors:Le[Ne]}}});return Ae}function y(U,ge){var pe=ge.file,He=E(U),Be=x(U,pe),Me=Z(U,He,Be,pe,ge.program.getTypeChecker(),ge.cancellationToken);return{scopes:He,readsAndWrites:Me}}function S(U){return e.isFunctionLikeDeclaration(U)?"inner function":e.isClassLike(U)?"method":"function"}function k(U){return e.isClassLike(U)?"readonly field":"constant"}function C(U){switch(U.kind){case 173:return"constructor";case 215:case 259:return U.name?"function '".concat(U.name.text,"'"):e.ANONYMOUS;case 216:return"arrow function";case 171:return"method '".concat(U.name.getText(),"'");case 174:return"'get ".concat(U.name.getText(),"'");case 175:return"'set ".concat(U.name.getText(),"'");default:throw e.Debug.assertNever(U,"Unexpected scope kind ".concat(U.kind))}}function me(U){return U.kind===260?U.name?"class '".concat(U.name.text,"'"):"anonymous class declaration":U.name?"class expression '".concat(U.name.text,"'"):"anonymous class expression"}function De(U){return U.kind===265?"namespace '".concat(U.parent.name.getText(),"'"):U.externalModuleIndicator?0:1}var X;(function(U){U[U.Module=0]="Module",U[U.Global=1]="Global"})(X||(X={}));function M(U,ge,pe,He,Be,Me){var Le=pe.usages,Ae=pe.typeParameterUsages,Xe=pe.substitutions,Ne=Me.program.getTypeChecker(),Oe=e.getEmitScriptTarget(Me.program.getCompilerOptions()),be=e.codefix.createImportAdder(Me.file,Me.program,Me.preferences,Me.host),Y=ge.getSourceFile(),d=e.getUniqueName(e.isClassLike(ge)?"newMethod":"newFunction",Y),j=e.isInJSFile(ge),Ce=e.factory.createIdentifier(d),Se,Re=[],er=[],wr;Le.forEach(function(jr,on){var je;if(!j){var Sr=Ne.getTypeOfSymbolAtLocation(jr.symbol,jr.node);Sr=Ne.getBaseTypeOfLiteralType(Sr),je=e.codefix.typeToAutoImportableTypeNode(Ne,be,Sr,ge,Oe,1)}var Te=e.factory.createParameterDeclaration(void 0,void 0,on,void 0,je);Re.push(Te),jr.usage===2&&(wr||(wr=[])).push(jr),er.push(e.factory.createIdentifier(on))});var mr=e.arrayFrom(Ae.values()).map(function(jr){return{type:jr,declaration:h(jr)}}),Ue=mr.sort(F),t=Ue.length===0?void 0:Ue.map(function(jr){return jr.declaration}),qr=t!==void 0?t.map(function(jr){return e.factory.createTypeReferenceNode(jr.name,void 0)}):void 0;if(e.isExpression(U)&&!j){var ln=Ne.getContextualType(U);Se=Ne.typeToTypeNode(ln,ge,1)}var dr=L(U,He,wr,Xe,!!(Be.facts&le.HasReturn)),vr=dr.body,kr=dr.returnValueProperty;e.suppressLeadingAndTrailingTrivia(vr);var Ur,Cr=!!(Be.facts&le.UsesThisInFunction);if(e.isClassLike(ge)){var rn=j?[]:[e.factory.createModifier(121)];Be.facts&le.InStaticRegion&&rn.push(e.factory.createModifier(124)),Be.facts&le.IsAsyncFunction&&rn.push(e.factory.createModifier(132)),Ur=e.factory.createMethodDeclaration(rn.length?rn:void 0,Be.facts&le.IsGenerator?e.factory.createToken(41):void 0,Ce,void 0,t,Re,Se,vr)}else Cr&&Re.unshift(e.factory.createParameterDeclaration(void 0,void 0,"this",void 0,Ne.typeToTypeNode(Ne.getTypeAtLocation(Be.thisNode),ge,1),void 0)),Ur=e.factory.createFunctionDeclaration(Be.facts&le.IsAsyncFunction?[e.factory.createToken(132)]:void 0,Be.facts&le.IsGenerator?e.factory.createToken(41):void 0,Ce,t,Re,Se,vr);var Br=e.textChanges.ChangeTracker.fromContext(Me),pn=(b(Be.range)?e.last(Be.range):Be.range).end,ve=J(pn,ge);ve?Br.insertNodeBefore(Me.file,ve,Ur,!0):Br.insertNodeAtEndOfScope(Me.file,ge,Ur),be.writeFixes(Br);var or=[],Ee=$(ge,Be,d);Cr&&er.unshift(e.factory.createIdentifier("this"));var ze=e.factory.createCallExpression(Cr?e.factory.createPropertyAccessExpression(Ee,"call"):Ee,qr,er);if(Be.facts&le.IsGenerator&&(ze=e.factory.createYieldExpression(e.factory.createToken(41),ze)),Be.facts&le.IsAsyncFunction&&(ze=e.factory.createAwaitExpression(ze)),w(U)&&(ze=e.factory.createJsxExpression(void 0,ze)),He.length&&!wr)if(e.Debug.assert(!kr,"Expected no returnValueProperty"),e.Debug.assert(!(Be.facts&le.HasReturn),"Expected RangeFacts.HasReturn flag to be unset"),He.length===1){var Ar=He[0];or.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(e.getSynthesizedDeepClone(Ar.name),void 0,e.getSynthesizedDeepClone(Ar.type),ze)],Ar.parent.flags)))}else{for(var xe=[],cr=[],Mr=He[0].parent.flags,Rr=!1,Qr=0,en=He;Qr1)return U;pe=U,U=U.parent}}function h(U){var ge,pe=U.symbol;if(pe&&pe.declarations)for(var He=0,Be=pe.declarations;He0;if(e.isBlock(U)&&!Me&&He.size===0)return{body:e.factory.createBlock(U.statements,!0),returnValueProperty:void 0};var Le,Ae=!1,Xe=e.factory.createNodeArray(e.isBlock(U)?U.statements.slice(0):[e.isStatement(U)?U:e.factory.createReturnStatement(e.skipParentheses(U))]);if(Me||He.size){var Ne=e.visitNodes(Xe,be).slice();if(Me&&!Be&&e.isStatement(U)){var Oe=ye(ge,pe);Oe.length===1?Ne.push(e.factory.createReturnStatement(Oe[0].name)):Ne.push(e.factory.createReturnStatement(e.factory.createObjectLiteralExpression(Oe)))}return{body:e.factory.createBlock(Ne,!0),returnValueProperty:Le}}else return{body:e.factory.createBlock(Xe,!0),returnValueProperty:void 0};function be(Y){if(!Ae&&e.isReturnStatement(Y)&&Me){var d=ye(ge,pe);return Y.expression&&(Le||(Le="__return"),d.unshift(e.factory.createPropertyAssignment(Le,e.visitNode(Y.expression,be)))),d.length===1?e.factory.createReturnStatement(d[0].name):e.factory.createReturnStatement(e.factory.createObjectLiteralExpression(d))}else{var j=Ae;Ae=Ae||e.isFunctionLikeDeclaration(Y)||e.isClassLike(Y);var Ce=He.get(e.getNodeId(Y).toString()),Se=Ce?e.getSynthesizedDeepClone(Ce):e.visitEachChild(Y,be,e.nullTransformationContext);return Ae=j,Se}}}function P(U,ge){return ge.size?pe(U):U;function pe(He){var Be=ge.get(e.getNodeId(He).toString());return Be?e.getSynthesizedDeepClone(Be):e.visitEachChild(He,pe,e.nullTransformationContext)}}function N(U){if(e.isFunctionLikeDeclaration(U)){var ge=U.body;if(e.isBlock(ge))return ge.statements}else{if(e.isModuleBlock(U)||e.isSourceFile(U))return U.statements;if(e.isClassLike(U))return U.members;e.assertType(U)}return e.emptyArray}function J(U,ge){return e.find(N(ge),function(pe){return pe.pos>=U&&e.isFunctionLikeDeclaration(pe)&&!e.isConstructorDeclaration(pe)})}function q(U,ge){var pe=ge.members;e.Debug.assert(pe.length>0,"Found no members");for(var He,Be=!0,Me=0,Le=pe;MeU)return He||pe[0];if(Be&&!e.isPropertyDeclaration(Ae)){if(He!==void 0)return Ae;Be=!1}He=Ae}return He===void 0?e.Debug.fail():He}function G(U,ge){e.Debug.assert(!e.isClassLike(ge));for(var pe,He=U;He!==ge;He=He.parent)ae(He)&&(pe=He);for(var He=(pe||U).parent;;He=He.parent){if(A(He)){for(var Be=void 0,Me=0,Le=He.statements;MeU.pos)break;Be=Ae}return!Be&&e.isCaseClause(He)?(e.Debug.assert(e.isSwitchStatement(He.parent.parent),"Grandparent isn't a switch statement"),He.parent.parent):e.Debug.checkDefined(Be,"prevStatement failed to get set")}e.Debug.assert(He!==ge,"Didn't encounter a block-like before encountering scope")}}function ye(U,ge){var pe=e.map(U,function(Be){return e.factory.createShorthandPropertyAssignment(Be.symbol.name)}),He=e.map(ge,function(Be){return e.factory.createShorthandPropertyAssignment(Be.symbol.name)});return pe===void 0?He:He===void 0?pe:pe.concat(He)}function b(U){return e.isArray(U)}function x(U,ge){return b(U.range)?{pos:e.first(U.range).getStart(ge),end:e.last(U.range).getEnd()}:U.range}var T;(function(U){U[U.Read=1]="Read",U[U.Write=2]="Write"})(T||(T={}));function Z(U,ge,pe,He,Be,Me){var Le=new e.Map,Ae=[],Xe=[],Ne=[],Oe=[],be=[],Y=new e.Map,d=[],j,Ce=b(U.range)?U.range.length===1&&e.isExpressionStatement(U.range[0])?U.range[0].expression:void 0:U.range,Se;if(Ce===void 0){var Re=U.range,er=e.first(Re).getStart(),wr=e.last(Re).end;Se=e.createFileDiagnostic(He,er,wr-er,D.expressionExpected)}else Be.getTypeAtLocation(Ce).flags&(16384|131072)&&(Se=e.createDiagnosticForNode(Ce,D.uselessConstantType));for(var mr=0,Ue=ge;mr0){for(var Cr=new e.Map,rn=0,Br=vr;Br!==void 0&&rn0&&(Lr.usages.size>0||Lr.typeParameterUsages.size>0)){var xn=b(U.range)?U.range[0]:U.range;Oe[xr].push(e.createDiagnosticForNode(xn,D.cannotAccessVariablesFromNestedScopes))}U.facts&le.UsesThisInFunction&&e.isClassLike(ge[xr])&&Ne[xr].push(e.createDiagnosticForNode(U.thisNode,D.cannotExtractFunctionsContainingThisToMethod));var An=!1,Qn;if(Ae[xr].usages.forEach(function(Dr){Dr.usage===2&&(An=!0,Dr.symbol.flags&106500&&Dr.symbol.valueDeclaration&&e.hasEffectiveModifier(Dr.symbol.valueDeclaration,64)&&(Qn=Dr.symbol.valueDeclaration))}),e.Debug.assert(b(U.range)||d.length===0,"No variable declarations expected if something was extracted"),An&&!b(U.range)){var ai=e.createDiagnosticForNode(U.range,D.cannotWriteInExpression);Ne[xr].push(ai),Oe[xr].push(ai)}else if(Qn&&xr>0){var ai=e.createDiagnosticForNode(Qn,D.cannotExtractReadonlyPropertyInitializerOutsideConstructor);Ne[xr].push(ai),Oe[xr].push(ai)}else if(j){var ai=e.createDiagnosticForNode(j,D.cannotExtractExportedEntity);Ne[xr].push(ai),Oe[xr].push(ai)}},xe=0;xe=Lr)return Qn;if(ln.set(Qn,Lr),ai){for(var Dr=0,Pr=Ae;Dr=0)){var Lr=e.isIdentifier(xr)?Ie(xr):Be.getSymbolAtLocation(xr);if(Lr){var xn=e.find(be,function(Qn){return Qn.symbol===Lr});if(xn)if(e.isVariableDeclaration(xn)){var An=xn.symbol.id.toString();Y.has(An)||(d.push(xn),Y.set(An,!0))}else j=j||xn}e.forEachChild(xr,vn)}}function Ie(xr){return xr.parent&&e.isShorthandPropertyAssignment(xr.parent)&&xr.parent.name===xr?Be.getShorthandAssignmentValueSymbol(xr.parent):Be.getSymbolAtLocation(xr)}function We(xr,Lr,xn){if(!!xr){var An=xr.getDeclarations();if(An&&An.some(function(ai){return ai.parent===Lr}))return e.factory.createIdentifier(xr.name);var Qn=We(xr.parent,Lr,xn);if(Qn!==void 0)return xn?e.factory.createQualifiedName(Qn,e.factory.createIdentifier(xr.name)):e.factory.createPropertyAccessExpression(Qn,xr.name)}}}function B(U){return e.findAncestor(U,function(ge){return ge.parent&&u(ge)&&!e.isBinaryExpression(ge.parent)})}function u(U){var ge=U.parent;switch(ge.kind){case 302:return!1}switch(U.kind){case 10:return ge.kind!==269&&ge.kind!==273;case 227:case 203:case 205:return!1;case 79:return ge.kind!==205&&ge.kind!==273&&ge.kind!==278}return!0}function A(U){switch(U.kind){case 238:case 308:case 265:case 292:return!0;default:return!1}}function w(U){return z(U)||(e.isJsxElement(U)||e.isJsxSelfClosingElement(U)||e.isJsxFragment(U))&&(e.isJsxElement(U.parent)||e.isJsxFragment(U.parent))}function z(U){return e.isStringLiteral(U)&&U.parent&&e.isJsxAttribute(U.parent)}})(K=ne.extractSymbol||(ne.extractSymbol={}))})(o=e.refactor||(e.refactor={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K="Extract type",se={name:"Extract to type alias",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_type_alias),kind:"refactor.extract.type"},O={name:"Extract to interface",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_interface),kind:"refactor.extract.interface"},ie={name:"Extract to typedef",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_typedef),kind:"refactor.extract.typedef"};ne.registerRefactor(K,{kinds:[se.kind,O.kind,ie.kind],getAvailableActions:function(ae){var E=_e(ae,ae.triggerReason==="invoked");return E?ne.isRefactorErrorInfo(E)?ae.preferences.provideRefactorNotApplicableReason?[{name:K,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_type),actions:[vi(vi({},ie),{notApplicableReason:E.error}),vi(vi({},se),{notApplicableReason:E.error}),vi(vi({},O),{notApplicableReason:E.error})]}]:e.emptyArray:[{name:K,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_type),actions:E.isJS?[ie]:e.append([se],E.typeElements&&O)}]:e.emptyArray},getEditsForAction:function(ae,E){var I=ae.file,f=_e(ae);e.Debug.assert(f&&!ne.isRefactorErrorInfo(f),"Expected to find a range to extract");var m=e.getUniqueName("NewType",I),y=e.textChanges.ChangeTracker.with(ae,function(C){switch(E){case se.name:return e.Debug.assert(!f.isJS,"Invalid actionName/JS combo"),le(C,I,m,f);case ie.name:return e.Debug.assert(f.isJS,"Invalid actionName/JS combo"),te(C,I,m,f);case O.name:return e.Debug.assert(!f.isJS&&!!f.typeElements,"Invalid actionName/JS combo"),de(C,I,m,f);default:e.Debug.fail("Unexpected action name")}}),S=I.fileName,k=e.getRenameLocation(y,S,m,!1);return{edits:y,renameFilename:S,renameLocation:k}}});function _e(oe,ae){ae===void 0&&(ae=!0);var E=oe.file,I=oe.startPosition,f=e.isSourceFileJS(E),m=e.getTokenAtPosition(E,I),y=e.createTextRangeFromSpan(e.getRefactorContextSpan(oe)),S=y.pos===y.end&&ae,k=e.findAncestor(m,function(M){return M.parent&&e.isTypeNode(M)&&!p(y,M.parent,E)&&(S||e.nodeOverlapsWithStartEnd(m,E,y.pos,y.end))});if(!k||!e.isTypeNode(k))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Selection_is_not_a_valid_type_node)};var C=oe.program.getTypeChecker(),me=e.Debug.checkDefined(e.findAncestor(k,e.isStatement),"Should find a statement"),De=D(C,k,me,E);if(!De)return{error:e.getLocaleSpecificMessage(e.Diagnostics.No_type_could_be_extracted_from_this_type_node)};var X=Q(C,k);return{isJS:f,selection:k,firstStatement:me,typeParameters:De,typeElements:X}}function Q(oe,ae){if(!!ae)if(e.isIntersectionTypeNode(ae)){for(var E=[],I=new e.Map,f=0,m=ae.types;fXe.pos});if(Oe!==-1){var be=Ne[Oe];if(e.isNamedDeclaration(be)&&be.name&&e.rangeContainsRange(be.name,Xe))return{toMove:[Ne[Oe]],afterLast:Ne[Oe+1]};if(!(Xe.pos>be.getStart(Ae))){var Y=e.findIndex(Ne,function(d){return d.end>Xe.end},Oe);if(!(Y!==-1&&(Y===0||Ne[Y].getStart(Ae)=ie&&e.every(q,function(ye){return X(ye,G)})}function X(q,G){if(e.isRestParameter(q)){var ye=G.getTypeAtLocation(q);if(!G.isArrayType(ye)&&!G.isTupleType(ye))return!1}return!q.modifiers&&e.isIdentifier(q.name)}function M(q){return e.isVariableDeclaration(q)&&e.isVarConst(q)&&e.isIdentifier(q.name)&&!q.type}function H(q){return q.length>0&&e.isThis(q[0].name)}function V(q){return H(q)?q.length-1:q.length}function h(q){return H(q)&&(q=e.factory.createNodeArray(q.slice(1),q.hasTrailingComma)),q}function F(q,G){return e.isIdentifier(G)&&e.getTextOfIdentifierOrLiteral(G)===q?e.factory.createShorthandPropertyAssignment(q):e.factory.createPropertyAssignment(q,G)}function $(q,G){var ye=h(q.parameters),b=e.isRestParameter(e.last(ye)),x=b?G.slice(0,ye.length-1):G,T=e.map(x,function(A,w){var z=P(ye[w]),U=F(z,A);return e.suppressLeadingAndTrailingTrivia(U.name),e.isPropertyAssignment(U)&&e.suppressLeadingAndTrailingTrivia(U.initializer),e.copyComments(A,U),U});if(b&&G.length>=ye.length){var Z=G.slice(ye.length-1),B=e.factory.createPropertyAssignment(P(e.last(ye)),e.factory.createArrayLiteralExpression(Z));T.push(B)}var u=e.factory.createObjectLiteralExpression(T,!1);return u}function L(q,G,ye){var b=G.getTypeChecker(),x=h(q.parameters),T=e.map(x,U),Z=e.factory.createObjectBindingPattern(T),B=ge(x),u;e.every(x,Be)&&(u=e.factory.createObjectLiteralExpression());var A=e.factory.createParameterDeclaration(void 0,void 0,Z,void 0,B,u);if(H(q.parameters)){var w=q.parameters[0],z=e.factory.createParameterDeclaration(void 0,void 0,w.name,void 0,w.type);return e.suppressLeadingAndTrailingTrivia(z.name),e.copyComments(w.name,z.name),w.type&&(e.suppressLeadingAndTrailingTrivia(z.type),e.copyComments(w.type,z.type)),e.factory.createNodeArray([z,A])}return e.factory.createNodeArray([A]);function U(Me){var Le=e.factory.createBindingElement(void 0,void 0,P(Me),e.isRestParameter(Me)&&Be(Me)?e.factory.createArrayLiteralExpression():Me.initializer);return e.suppressLeadingAndTrailingTrivia(Le),Me.initializer&&Le.initializer&&e.copyComments(Me.initializer,Le.initializer),Le}function ge(Me){var Le=e.map(Me,pe),Ae=e.addEmitFlags(e.factory.createTypeLiteralNode(Le),1);return Ae}function pe(Me){var Le=Me.type;!Le&&(Me.initializer||e.isRestParameter(Me))&&(Le=He(Me));var Ae=e.factory.createPropertySignature(void 0,P(Me),Be(Me)?e.factory.createToken(57):Me.questionToken,Le);return e.suppressLeadingAndTrailingTrivia(Ae),e.copyComments(Me.name,Ae.name),Me.type&&Ae.type&&e.copyComments(Me.type,Ae.type),Ae}function He(Me){var Le=b.getTypeAtLocation(Me);return e.getTypeNodeIfAccessible(Le,Me,G,ye)}function Be(Me){if(e.isRestParameter(Me)){var Le=b.getTypeAtLocation(Me);return!b.isTupleType(Le)}return b.isOptionalParameter(Me)}}function P(q){return e.getTextOfIdentifierOrLiteral(q.name)}function N(q){switch(q.parent.kind){case 260:var G=q.parent;if(G.name)return[G.name];var ye=e.Debug.checkDefined(e.findModifier(G,88),"Nameless class declaration should be a default export");return[ye];case 228:var b=q.parent,x=q.parent.parent,T=b.name;return T?[T,x.name]:[x.name]}}function J(q){switch(q.kind){case 259:if(q.name)return[q.name];var G=e.Debug.checkDefined(e.findModifier(q,88),"Nameless function declaration should be a default export");return[G];case 171:return[q.name];case 173:var ye=e.Debug.checkDefined(e.findChildOfKind(q,135,q.getSourceFile()),"Constructor declaration should have constructor keyword");if(q.parent.kind===228){var b=q.parent.parent;return[b.name,ye]}return[ye];case 216:return[q.parent.name];case 215:return q.name?[q.name,q.parent.name]:[q.parent.name];default:return e.Debug.assertNever(q,"Unexpected function declaration kind ".concat(q.kind))}}})(K=ne.convertParamsToDestructuredObject||(ne.convertParamsToDestructuredObject={}))})(o=e.refactor||(e.refactor={}))})(fr||(fr={}));var fr;(function(e){var o;(function(ne){var K;(function(se){var O="Convert to template string",ie=e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_template_string),_e={name:O,description:ie,kind:"refactor.rewrite.string"};ne.registerRefactor(O,{kinds:[_e.kind],getEditsForAction:D,getAvailableActions:Q});function Q(C){var me=C.file,De=C.startPosition,X=p(me,De),M=te(X),H={name:O,description:ie,actions:[]};return e.isBinaryExpression(M)&&oe(M).isValidConcatenation?(H.actions.push(_e),[H]):C.preferences.provideRefactorNotApplicableReason?(H.actions.push(vi(vi({},_e),{notApplicableReason:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_string_concatenation)})),[H]):e.emptyArray}function p(C,me){var De=e.getTokenAtPosition(C,me),X=te(De),M=!oe(X).isValidConcatenation;return M&&e.isParenthesizedExpression(X.parent)&&e.isBinaryExpression(X.parent.parent)?X.parent.parent:De}function D(C,me){var De=C.file,X=C.startPosition,M=p(De,X);switch(me){case ie:return{edits:le(C,M)};default:return e.Debug.fail("invalid action")}}function le(C,me){var De=te(me),X=C.file,M=y(oe(De),X),H=e.getTrailingCommentRanges(X.text,De.end);if(H){var V=H[H.length-1],h={pos:H[0].pos,end:V.end};return e.textChanges.ChangeTracker.with(C,function(F){F.deleteRange(X,h),F.replaceNode(X,De,M)})}else return e.textChanges.ChangeTracker.with(C,function(F){return F.replaceNode(X,De,M)})}function de(C){return C.operatorToken.kind!==63}function te(C){var me=e.findAncestor(C.parent,function(De){switch(De.kind){case 208:case 209:return!1;case 225:case 223:return!(e.isBinaryExpression(De.parent)&&de(De.parent));default:return"quit"}});return me||C}function oe(C){var me=function(h){if(!e.isBinaryExpression(h))return{nodes:[h],operators:[],validOperators:!0,hasString:e.isStringLiteral(h)||e.isNoSubstitutionTemplateLiteral(h)};var F=me(h.left),$=F.nodes,L=F.operators,P=F.hasString,N=F.validOperators;if(!(P||e.isStringLiteral(h.right)||e.isTemplateExpression(h.right)))return{nodes:[h],operators:[],hasString:!1,validOperators:!0};var J=h.operatorToken.kind===39,q=N&&J;return $.push(h.right),L.push(h.operatorToken),{nodes:$,operators:L,hasString:!0,validOperators:q}},De=me(C),X=De.nodes,M=De.operators,H=De.validOperators,V=De.hasString;return{nodes:X,operators:M,isValidConcatenation:H&&V}}var ae=function(C,me){return function(De,X){De0;){var H=X.shift();e.copyTrailingComments(C[H],M,me,3,!1),De(H,M)}}};function I(C){return C.replace(/\\.|[$`]/g,function(me){return me[0]==="\\"?me:"\\"+me})}function f(C){var me=e.isTemplateHead(C)||e.isTemplateMiddle(C)?-2:-1;return e.getTextOfNode(C).slice(1,me)}function m(C,me){for(var De=[],X="",M="";C1)return oe.getUnionType(e.mapDefined(E,function(f){return f.getReturnType()}))}var I=oe.getSignatureFromDeclaration(ae);if(I)return oe.getReturnTypeOfSignature(I)}})(K=ne.inferFunctionReturnType||(ne.inferFunctionReturnType={}))})(o=e.refactor||(e.refactor={}))})(fr||(fr={}));var fr;(function(e){e.servicesVersion="0.8";function o(B,u,A,w){var z=e.isNodeKind(B)?new ne(B,u,A):B===79?new p(79,u,A):B===80?new D(80,u,A):new Q(B,u,A);return z.parent=w,z.flags=w.flags&50720768,z}var ne=function(){function B(u,A,w){this.pos=A,this.end=w,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.kind=u}return B.prototype.assertHasRealPosition=function(u){e.Debug.assert(!e.positionIsSynthesized(this.pos)&&!e.positionIsSynthesized(this.end),u||"Node must have a real position for this operation")},B.prototype.getSourceFile=function(){return e.getSourceFileOfNode(this)},B.prototype.getStart=function(u,A){return this.assertHasRealPosition(),e.getTokenPosOfNode(this,u,A)},B.prototype.getFullStart=function(){return this.assertHasRealPosition(),this.pos},B.prototype.getEnd=function(){return this.assertHasRealPosition(),this.end},B.prototype.getWidth=function(u){return this.assertHasRealPosition(),this.getEnd()-this.getStart(u)},B.prototype.getFullWidth=function(){return this.assertHasRealPosition(),this.end-this.pos},B.prototype.getLeadingTriviaWidth=function(u){return this.assertHasRealPosition(),this.getStart(u)-this.pos},B.prototype.getFullText=function(u){return this.assertHasRealPosition(),(u||this.getSourceFile()).text.substring(this.pos,this.end)},B.prototype.getText=function(u){return this.assertHasRealPosition(),u||(u=this.getSourceFile()),u.text.substring(this.getStart(u),this.getEnd())},B.prototype.getChildCount=function(u){return this.getChildren(u).length},B.prototype.getChildAt=function(u,A){return this.getChildren(A)[u]},B.prototype.getChildren=function(u){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=K(this,u))},B.prototype.getFirstToken=function(u){this.assertHasRealPosition();var A=this.getChildren(u);if(!!A.length){var w=e.find(A,function(z){return z.kind<312||z.kind>350});return w.kind<163?w:w.getFirstToken(u)}},B.prototype.getLastToken=function(u){this.assertHasRealPosition();var A=this.getChildren(u),w=e.lastOrUndefined(A);if(!!w)return w.kind<163?w:w.getLastToken(u)},B.prototype.forEachChild=function(u,A){return e.forEachChild(this,u,A)},B}();function K(B,u){if(!e.isNodeKind(B.kind))return e.emptyArray;var A=[];if(e.isJSDocCommentContainingNode(B))return B.forEachChild(function(ge){A.push(ge)}),A;e.scanner.setText((u||B.getSourceFile()).text);var w=B.pos,z=function(ge){se(A,w,ge.pos,B),A.push(ge),w=ge.end},U=function(ge){se(A,w,ge.pos,B),A.push(O(ge,B)),w=ge.end};return e.forEach(B.jsDoc,z),w=B.pos,B.forEachChild(z,U),se(A,w,B.end,B),e.scanner.setText(void 0),A}function se(B,u,A,w){for(e.scanner.setTextPos(u);u=z.length&&(U=this.getEnd()),U||(U=z[w+1]-1);var ge=this.getFullText();return ge[U]===` `&&ge[U-1]==="\r"?U-1:U},u.prototype.getNamedDeclarations=function(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations},u.prototype.computeNamedDeclarations=function(){var A=e.createMultiMap();return this.forEachChild(ge),A;function w(pe){var He=U(pe);He&&A.add(He,pe)}function z(pe){var He=A.get(pe);return He||A.set(pe,He=[]),He}function U(pe){var He=e.getNonAssignedNameOfDeclaration(pe);return He&&(e.isComputedPropertyName(He)&&e.isPropertyAccessExpression(He.expression)?He.expression.name.text:e.isPropertyName(He)?e.getNameFromPropertyName(He):void 0)}function ge(pe){switch(pe.kind){case 259:case 215:case 171:case 170:var He=pe,Be=U(He);if(Be){var Me=z(Be),Le=e.lastOrUndefined(Me);Le&&He.parent===Le.parent&&He.symbol===Le.symbol?He.body&&!Le.body&&(Me[Me.length-1]=He):Me.push(He)}e.forEachChild(pe,ge);break;case 260:case 228:case 261:case 262:case 263:case 264:case 268:case 278:case 273:case 270:case 271:case 174:case 175:case 184:w(pe),e.forEachChild(pe,ge);break;case 166:if(!e.hasSyntacticModifier(pe,16476))break;case 257:case 205:{var Ae=pe;if(e.isBindingPattern(Ae.name)){e.forEachChild(Ae.name,ge);break}Ae.initializer&&ge(Ae.initializer)}case 302:case 169:case 168:w(pe);break;case 275:var Xe=pe;Xe.exportClause&&(e.isNamedExports(Xe.exportClause)?e.forEach(Xe.exportClause.elements,ge):ge(Xe.exportClause.name));break;case 269:var Ne=pe.importClause;Ne&&(Ne.name&&w(Ne.name),Ne.namedBindings&&(Ne.namedBindings.kind===271?w(Ne.namedBindings):e.forEach(Ne.namedBindings.elements,ge)));break;case 223:e.getAssignmentDeclarationKind(pe)!==0&&w(pe);default:e.forEachChild(pe,ge)}}},u}(ne),f=function(){function B(u,A,w){this.fileName=u,this.text=A,this.skipTrivia=w}return B.prototype.getLineAndCharacterOfPosition=function(u){return e.getLineAndCharacterOfPosition(this,u)},B}();function m(){return{getNodeConstructor:function(){return ne},getTokenConstructor:function(){return Q},getIdentifierConstructor:function(){return p},getPrivateIdentifierConstructor:function(){return D},getSourceFileConstructor:function(){return I},getSymbolConstructor:function(){return _e},getTypeConstructor:function(){return le},getSignatureConstructor:function(){return de},getSourceMapSourceConstructor:function(){return f}}}function y(B){var u=!0;for(var A in B)if(e.hasProperty(B,A)&&!S(A)){u=!1;break}if(u)return B;var w={};for(var A in B)if(e.hasProperty(B,A)){var z=S(A)?A:A.charAt(0).toLowerCase()+A.substr(1);w[z]=B[A]}return w}e.toEditorSettings=y;function S(B){return!B.length||B.charAt(0)===B.charAt(0).toLowerCase()}function k(B){return B?e.map(B,function(u){return u.text}).join(""):""}e.displayPartsToString=k;function C(){return{target:1,jsx:1}}e.getDefaultCompilerOptions=C;function me(){return e.codefix.getSupportedErrorCodes()}e.getSupportedCodeFixes=me;var De=function(){function B(u){this.host=u}return B.prototype.getCurrentSourceFile=function(u){var A,w,z,U,ge,pe,He,Be,Me=this.host.getScriptSnapshot(u);if(!Me)throw new Error("Could not find file: '"+u+"'.");var Le=e.getScriptKind(u,this.host),Ae=this.host.getScriptVersion(u),Xe;if(this.currentFileName!==u){var Ne={languageVersion:99,impliedNodeFormat:e.getImpliedNodeFormatForFile(e.toPath(u,this.host.getCurrentDirectory(),((z=(w=(A=this.host).getCompilerHost)===null||w===void 0?void 0:w.call(A))===null||z===void 0?void 0:z.getCanonicalFileName)||e.hostGetCanonicalFileName(this.host)),(Be=(He=(pe=(ge=(U=this.host).getCompilerHost)===null||ge===void 0?void 0:ge.call(U))===null||pe===void 0?void 0:pe.getModuleResolutionCache)===null||He===void 0?void 0:He.call(pe))===null||Be===void 0?void 0:Be.getPackageJsonInfoCache(),this.host,this.host.getCompilationSettings()),setExternalModuleIndicator:e.getSetExternalModuleIndicator(this.host.getCompilationSettings())};Xe=M(u,Me,Ne,Ae,!0,Le)}else if(this.currentFileVersion!==Ae){var Oe=Me.getChangeRange(this.currentFileScriptSnapshot);Xe=H(this.currentSourceFile,Me,Ae,Oe)}return Xe&&(this.currentFileVersion=Ae,this.currentFileName=u,this.currentFileScriptSnapshot=Me,this.currentSourceFile=Xe),this.currentSourceFile},B}();function X(B,u,A){B.version=A,B.scriptSnapshot=u}function M(B,u,A,w,z,U){var ge=e.createSourceFile(B,e.getSnapshotText(u),A,z,U);return X(ge,u,w),ge}e.createLanguageServiceSourceFile=M;function H(B,u,A,w,z){if(w&&A!==B.version){var U=void 0,ge=w.span.start!==0?B.text.substr(0,w.span.start):"",pe=e.textSpanEnd(w.span)!==B.text.length?B.text.substr(e.textSpanEnd(w.span)):"";if(w.newLength===0)U=ge&&pe?ge+pe:ge||pe;else{var He=u.getText(w.span.start,w.span.start+w.newLength);U=ge&&pe?ge+He+pe:ge?ge+He:He+pe}var Be=e.updateSourceFile(B,U,w,z);return X(Be,u,A),Be.nameTable=void 0,B!==Be&&B.scriptSnapshot&&(B.scriptSnapshot.dispose&&B.scriptSnapshot.dispose(),B.scriptSnapshot=void 0),Be}var Me={languageVersion:B.languageVersion,impliedNodeFormat:B.impliedNodeFormat,setExternalModuleIndicator:B.setExternalModuleIndicator};return M(B.fileName,u,Me,A,!0,B.scriptKind)}e.updateLanguageServiceSourceFile=H;var V={isCancellationRequested:e.returnFalse,throwIfCancellationRequested:e.noop},h=function(){function B(u){this.cancellationToken=u}return B.prototype.isCancellationRequested=function(){return this.cancellationToken.isCancellationRequested()},B.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw e.tracing===null||e.tracing===void 0||e.tracing.instant("session","cancellationThrown",{kind:"CancellationTokenObject"}),new e.OperationCanceledException},B}(),F=function(){function B(u,A){A===void 0&&(A=20),this.hostCancellationToken=u,this.throttleWaitMilliseconds=A,this.lastCancellationCheckTime=0}return B.prototype.isCancellationRequested=function(){var u=e.timestamp(),A=Math.abs(u-this.lastCancellationCheckTime);return A>=this.throttleWaitMilliseconds?(this.lastCancellationCheckTime=u,this.hostCancellationToken.isCancellationRequested()):!1},B.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw e.tracing===null||e.tracing===void 0||e.tracing.instant("session","cancellationThrown",{kind:"ThrottledCancellationToken"}),new e.OperationCanceledException},B}();e.ThrottledCancellationToken=F;var $=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints"],L=zn(zn([],$,!0),["getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getOccurrencesAtPosition","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"],!1);function P(B,u,A){var w,z;u===void 0&&(u=e.createDocumentRegistry(B.useCaseSensitiveFileNames&&B.useCaseSensitiveFileNames(),B.getCurrentDirectory()));var U;A===void 0?U=e.LanguageServiceMode.Semantic:typeof A=="boolean"?U=A?e.LanguageServiceMode.Syntactic:e.LanguageServiceMode.Semantic:U=A;var ge=new De(B),pe,He,Be=0,Me=B.getCancellationToken?new h(B.getCancellationToken()):V,Le=B.getCurrentDirectory();e.maybeSetLocalizedDiagnosticMessages((z=B.getLocalizedDiagnosticMessages)===null||z===void 0?void 0:z.bind(B));function Ae(nn){B.log&&B.log(nn)}var Xe=e.hostUsesCaseSensitiveFileNames(B),Ne=e.createGetCanonicalFileName(Xe),Oe=e.getSourceMapper({useCaseSensitiveFileNames:function(){return Xe},getCurrentDirectory:function(){return Le},getProgram:d,fileExists:e.maybeBind(B,B.fileExists),readFile:e.maybeBind(B,B.readFile),getDocumentPositionMapper:e.maybeBind(B,B.getDocumentPositionMapper),getSourceFileLike:e.maybeBind(B,B.getSourceFileLike),log:Ae});function be(nn){var Cn=pe.getSourceFile(nn);if(!Cn){var Dn=new Error("Could not find source file: '".concat(nn,"'."));throw Dn.ProgramFiles=pe.getSourceFiles().map(function(On){return On.fileName}),Dn}return Cn}function Y(){var nn,Cn,Dn;if(e.Debug.assert(U!==e.LanguageServiceMode.Syntactic),B.getProjectVersion){var On=B.getProjectVersion();if(On){if(He===On&&!((nn=B.hasChangedAutomaticTypeDirectiveNames)===null||nn===void 0?void 0:nn.call(B)))return;He=On}}var Xn=B.getTypeRootsVersion?B.getTypeRootsVersion():0;Be!==Xn&&(Ae("TypeRoots version has changed; provide new program"),pe=void 0,Be=Xn);var Ge=B.getScriptFileNames().slice(),cn=B.getCompilationSettings()||C(),Vn=B.hasInvalidatedResolutions||e.returnFalse,Ki=e.maybeBind(B,B.hasChangedAutomaticTypeDirectiveNames),dt=(Cn=B.getProjectReferences)===null||Cn===void 0?void 0:Cn.call(B),qi,Ci={getSourceFile:ho,getSourceFileByPath:Aa,getCancellationToken:function(){return Me},getCanonicalFileName:Ne,useCaseSensitiveFileNames:function(){return Xe},getNewLine:function(){return e.getNewLineCharacter(cn,function(){return e.getNewLineOrDefaultFromHost(B)})},getDefaultLibFileName:function(Vi){return B.getDefaultLibFileName(Vi)},writeFile:e.noop,getCurrentDirectory:function(){return Le},fileExists:function(Vi){return B.fileExists(Vi)},readFile:function(Vi){return B.readFile&&B.readFile(Vi)},getSymlinkCache:e.maybeBind(B,B.getSymlinkCache),realpath:e.maybeBind(B,B.realpath),directoryExists:function(Vi){return e.directoryProbablyExists(Vi,B)},getDirectories:function(Vi){return B.getDirectories?B.getDirectories(Vi):[]},readDirectory:function(Vi,Xi,ao,fo,As){return e.Debug.checkDefined(B.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'"),B.readDirectory(Vi,Xi,ao,fo,As)},onReleaseOldSourceFile:Ea,onReleaseParsedCommandLine:Co,hasInvalidatedResolutions:Vn,hasChangedAutomaticTypeDirectiveNames:Ki,trace:e.maybeBind(B,B.trace),resolveModuleNames:e.maybeBind(B,B.resolveModuleNames),getModuleResolutionCache:e.maybeBind(B,B.getModuleResolutionCache),resolveTypeReferenceDirectives:e.maybeBind(B,B.resolveTypeReferenceDirectives),useSourceOfProjectReferenceRedirect:e.maybeBind(B,B.useSourceOfProjectReferenceRedirect),getParsedCommandLine:Ua},Tt=Ci.getSourceFile,ot=e.changeCompilerHostLikeToUseCache(Ci,function(Vi){return e.toPath(Vi,Le,Ne)},function(){for(var Vi=[],Xi=0;Xi")};var Ge=On.kind===31&&e.isJsxOpeningFragment(On.parent)?On.parent.parent:e.isJsxText(On)&&e.isJsxFragment(On.parent)?On.parent:void 0;if(Ge&&qn(Ge))return{newText:""}}}function Or(nn,Cn){return{lineStarts:nn.getLineStarts(),firstLine:nn.getLineAndCharacterOfPosition(Cn.pos).line,lastLine:nn.getLineAndCharacterOfPosition(Cn.end).line}}function zr(nn,Cn,Dn){for(var On=ge.getCurrentSourceFile(nn),Xn=[],Ge=Or(On,Cn),cn=Ge.lineStarts,Vn=Ge.firstLine,Ki=Ge.lastLine,dt=Dn||!1,qi=Number.MAX_VALUE,Ci=new e.Map,Tt=new RegExp(/\S/),ot=e.isInsideJsxElement(On,cn[Vn]),Zi=ot?"{/*":"//",ni=Vn;ni<=Ki;ni++){var Va=On.text.substring(cn[ni],On.getLineEndOfPosition(cn[ni])),Ua=Tt.exec(Va);Ua&&(qi=Math.min(qi,Ua.index),Ci.set(ni.toString(),Ua.index),Va.substr(Ua.index,Zi.length)!==Zi&&(dt=Dn===void 0||Dn))}for(var ni=Vn;ni<=Ki;ni++)if(!(Vn!==Ki&&cn[ni]===Cn.end)){var za=Ci.get(ni.toString());za!==void 0&&(ot?Xn.push.apply(Xn,fn(nn,{pos:cn[ni]+qi,end:On.getLineEndOfPosition(cn[ni])},dt,ot)):dt?Xn.push({newText:Zi,span:{length:0,start:cn[ni]+qi}}):On.text.substr(cn[ni]+za,Zi.length)===Zi&&Xn.push({newText:"",span:{length:Zi.length,start:cn[ni]+za}}))}return Xn}function fn(nn,Cn,Dn,On){for(var Xn,Ge=ge.getCurrentSourceFile(nn),cn=[],Vn=Ge.text,Ki=!1,dt=Dn||!1,qi=[],Ci=Cn.pos,Tt=On!==void 0?On:e.isInsideJsxElement(Ge,Ci),ot=Tt?"{/*":"/*",Zi=Tt?"*/}":"*/",ni=Tt?"\\{\\/\\*":"\\/\\*",Va=Tt?"\\*\\/\\}":"\\*\\/";Ci<=Cn.end;){var Ua=Vn.substr(Ci,ot.length)===ot?ot.length:0,za=e.isInComment(Ge,Ci+Ua);if(za)Tt&&(za.pos--,za.end++),qi.push(za.pos),za.kind===3&&qi.push(za.end),Ki=!0,Ci=za.end+1;else{var Co=Vn.substring(Ci,Cn.end).search("(".concat(ni,")|(").concat(Va,")"));dt=Dn!==void 0?Dn:dt||!e.isTextWhiteSpaceLike(Vn,Ci,Co===-1?Cn.end:Ci+Co),Ci=Co===-1?Cn.end+1:Ci+Co+Zi.length}}if(dt||!Ki){((Xn=e.isInComment(Ge,Cn.pos))===null||Xn===void 0?void 0:Xn.kind)!==2&&e.insertSorted(qi,Cn.pos,e.compareValues),e.insertSorted(qi,Cn.end,e.compareValues);var Ea=qi[0];Vn.substr(Ea,ot.length)!==ot&&cn.push({newText:ot,span:{length:0,start:Ea}});for(var ho=1;ho0?Xi-Zi.length:0,Ua=Vn.substr(ao,Zi.length)===Zi?Zi.length:0;cn.push({newText:"",span:{length:ot.length,start:Xi-Ua}})}return cn}function Vr(nn,Cn){var Dn=ge.getCurrentSourceFile(nn),On=Or(Dn,Cn),Xn=On.firstLine,Ge=On.lastLine;return Xn===Ge&&Cn.pos!==Cn.end?fn(nn,Cn,!0):zr(nn,Cn,!0)}function Wn(nn,Cn){var Dn=ge.getCurrentSourceFile(nn),On=[],Xn=Cn.pos,Ge=Cn.end;Xn===Ge&&(Ge+=e.isInsideJsxElement(Dn,Xn)?2:1);for(var cn=Xn;cn<=Ge;cn++){var Vn=e.isInComment(Dn,cn);if(Vn){switch(Vn.kind){case 2:On.push.apply(On,zr(nn,{end:Vn.end,pos:Vn.pos+1},!1));break;case 3:On.push.apply(On,fn(nn,{end:Vn.end,pos:Vn.pos+1},!1))}cn=Vn.end+1}}return On}function bn(nn){var Cn=nn.openingElement,Dn=nn.closingElement,On=nn.parent;return!e.tagNamesAreEquivalent(Cn.tagName,Dn.tagName)||e.isJsxElement(On)&&e.tagNamesAreEquivalent(Cn.tagName,On.openingElement.tagName)&&bn(On)}function qn(nn){var Cn=nn.closingFragment,Dn=nn.parent;return!!(Cn.flags&131072)||e.isJsxFragment(Dn)&&qn(Dn)}function yn(nn,Cn,Dn){var On=ge.getCurrentSourceFile(nn),Xn=e.formatting.getRangeOfEnclosingComment(On,Cn);return Xn&&(!Dn||Xn.kind===3)?e.createTextSpanFromRange(Xn):void 0}function Hn(nn,Cn){Y();var Dn=be(nn);Me.throwIfCancellationRequested();var On=Dn.text,Xn=[];if(Cn.length>0&&!Va(Dn.fileName))for(var Ge=Zi(),cn=void 0;cn=Ge.exec(On);){Me.throwIfCancellationRequested();var Vn=3;e.Debug.assert(cn.length===Cn.length+Vn);var Ki=cn[1],dt=cn.index+Ki.length;if(!!e.isInComment(Dn,dt)){for(var qi=void 0,Ci=0;Ci=97&&Ua<=122||Ua>=65&&Ua<=90||Ua>=48&&Ua<=57}function Va(Ua){return e.stringContains(Ua,"/node_modules/")}}function Ai(nn,Cn,Dn){return Y(),e.Rename.getRenameInfo(pe,be(nn),Cn,Dn||{})}function ti(nn,Cn,Dn,On,Xn,Ge){var cn=typeof Cn=="number"?[Cn,void 0]:[Cn.pos,Cn.end],Vn=cn[0],Ki=cn[1];return{file:nn,startPosition:Vn,endPosition:Ki,program:d(),host:B,formatContext:e.formatting.getFormatContext(On,B),cancellationToken:Me,preferences:Dn,triggerReason:Xn,kind:Ge}}function Hi(nn,Cn,Dn){return{file:nn,program:d(),host:B,span:Cn,preferences:Dn,cancellationToken:Me}}function Ni(nn,Cn){return e.SmartSelectionRange.getSmartSelectionRange(Cn,ge.getCurrentSourceFile(nn))}function gi(nn,Cn,Dn,On,Xn){Dn===void 0&&(Dn=e.emptyOptions),Y();var Ge=be(nn);return e.refactor.getApplicableRefactors(ti(Ge,Cn,Dn,e.emptyOptions,On,Xn))}function Pn(nn,Cn,Dn,On,Xn,Ge){Ge===void 0&&(Ge=e.emptyOptions),Y();var cn=be(nn);return e.refactor.getEditsForRefactor(ti(cn,Dn,Ge,Cn),On,Xn)}function Pe(nn,Cn){return Cn===0?{line:0,character:0}:Oe.toLineColumnOffset(nn,Cn)}function Ir(nn,Cn){Y();var Dn=e.CallHierarchy.resolveCallHierarchyDeclaration(pe,e.getTouchingPropertyName(be(nn),Cn));return Dn&&e.mapOneOrMany(Dn,function(On){return e.CallHierarchy.createCallHierarchyItem(pe,On)})}function we(nn,Cn){Y();var Dn=be(nn),On=e.firstOrOnly(e.CallHierarchy.resolveCallHierarchyDeclaration(pe,Cn===0?Dn:e.getTouchingPropertyName(Dn,Cn)));return On?e.CallHierarchy.getIncomingCalls(pe,On,Me):[]}function hn(nn,Cn){Y();var Dn=be(nn),On=e.firstOrOnly(e.CallHierarchy.resolveCallHierarchyDeclaration(pe,Cn===0?Dn:e.getTouchingPropertyName(Dn,Cn)));return On?e.CallHierarchy.getOutgoingCalls(pe,On):[]}function jn(nn,Cn,Dn){Dn===void 0&&(Dn=e.emptyOptions),Y();var On=be(nn);return e.InlayHints.provideInlayHints(Hi(On,Cn,Dn))}var gn={dispose:Re,cleanupSemanticCache:Se,getSyntacticDiagnostics:er,getSemanticDiagnostics:wr,getSuggestionDiagnostics:mr,getCompilerOptionsDiagnostics:Ue,getSyntacticClassifications:xn,getSemanticClassifications:xr,getEncodedSyntacticClassifications:An,getEncodedSemanticClassifications:Lr,getCompletionsAtPosition:t,getCompletionEntryDetails:qr,getCompletionEntrySymbol:ln,getSignatureHelpItems:Rr,getQuickInfoAtPosition:dr,getDefinitionAtPosition:Ur,getDefinitionAndBoundSpan:Cr,getImplementationAtPosition:Br,getTypeDefinitionAtPosition:rn,getReferencesAtPosition:Ee,findReferences:Ar,getFileReferences:xe,getOccurrencesAtPosition:pn,getDocumentHighlights:ve,getNameOrDottedNameSpan:en,getBreakpointStatementAtPosition:vn,getNavigateToItems:cr,getRenameInfo:Ai,getSmartSelectionRange:Ni,findRenameLocations:or,getNavigationBarItems:Ie,getNavigationTree:We,getOutliningSpans:Qn,getTodoComments:Hn,getBraceMatchingAtPosition:Dr,getIndentationAtPosition:Pr,getFormattingEditsForRange:jr,getFormattingEditsForDocument:on,getFormattingEditsAfterKeystroke:je,getDocCommentTemplateAtPosition:tr,isValidBraceCompletionAtPosition:hr,getJsxClosingTagAtPosition:_r,getSpanOfEnclosingComment:yn,getCodeFixesAtPosition:Sr,getCombinedCodeFix:Te,applyCodeActionCommand:ue,organizeImports:Ye,getEditsForFileRename:Qe,getEmitOutput:Mr,getNonBoundSourceFile:Qr,getProgram:d,getCurrentProgram:function(){return pe},getAutoImportProvider:j,updateIsDefinitionOfReferencedSymbols:Ce,getApplicableRefactors:gi,getEditsForRefactor:Pn,toLineColumnOffset:Pe,getSourceMapper:function(){return Oe},clearSourceMapperCache:function(){return Oe.clearCache()},prepareCallHierarchy:Ir,provideCallHierarchyIncomingCalls:we,provideCallHierarchyOutgoingCalls:hn,toggleLineComment:zr,toggleMultilineComment:fn,commentSelection:Vr,uncommentSelection:Wn,provideInlayHints:jn};switch(U){case e.LanguageServiceMode.Semantic:break;case e.LanguageServiceMode.PartialSemantic:$.forEach(function(nn){return gn[nn]=function(){throw new Error("LanguageService Operation: ".concat(nn," not allowed in LanguageServiceMode.PartialSemantic"))}});break;case e.LanguageServiceMode.Syntactic:L.forEach(function(nn){return gn[nn]=function(){throw new Error("LanguageService Operation: ".concat(nn," not allowed in LanguageServiceMode.Syntactic"))}});break;default:e.Debug.assertNever(U)}return gn}e.createLanguageService=P;function N(B){return B.nameTable||J(B),B.nameTable}e.getNameTable=N;function J(B){var u=B.nameTable=new e.Map;B.forEachChild(function A(w){if(e.isIdentifier(w)&&!e.isTagName(w)&&w.escapedText||e.isStringOrNumericLiteralLike(w)&&q(w)){var z=e.getEscapedTextOfIdentifierOrLiteral(w);u.set(z,u.get(z)===void 0?w.pos:-1)}else if(e.isPrivateIdentifier(w)){var z=w.escapedText;u.set(z,u.get(z)===void 0?w.pos:-1)}if(e.forEachChild(w,A),e.hasJSDocNodes(w))for(var U=0,ge=w.jsDoc;U_e){var Q=e.findPrecedingToken(ie.pos,se);if(!Q||se.getLineAndCharacterOfPosition(Q.getEnd()).line!==_e)return;ie=Q}if(ie.flags&16777216)return;return ae(ie);function p(E,I){var f=e.canHaveDecorators(E)?e.findLast(E.modifiers,e.isDecorator):void 0,m=f?e.skipTrivia(se.text,f.end):E.getStart(se);return e.createTextSpanFromBounds(m,(I||E).getEnd())}function D(E,I){return p(E,e.findNextToken(I,I.parent,se))}function le(E,I){return E&&_e===se.getLineAndCharacterOfPosition(E.getStart(se)).line?ae(E):ae(I)}function de(E,I,f){if(E){var m=E.indexOf(I);if(m>=0){for(var y=m,S=m+1;y>0&&f(E[y-1]);)y--;for(;S0)return ae(A.declarations[0])}else return ae(u.initializer)}function L(u){if(u.initializer)return $(u);if(u.condition)return p(u.condition);if(u.incrementor)return p(u.incrementor)}function P(u){var A=e.forEach(u.elements,function(w){return w.kind!==229?w:void 0});return A?ae(A):u.parent.kind===205?p(u.parent):me(u.parent)}function N(u){e.Debug.assert(u.kind!==204&&u.kind!==203);var A=u.kind===206?u.elements:u.properties,w=e.forEach(A,function(z){return z.kind!==229?z:void 0});return w?ae(w):p(u.parent.kind===223?u.parent:u)}function J(u){switch(u.parent.kind){case 263:var A=u.parent;return le(e.findPrecedingToken(u.pos,se,u.parent),A.members.length?A.members[0]:A.getLastToken(se));case 260:var w=u.parent;return le(e.findPrecedingToken(u.pos,se,u.parent),w.members.length?w.members[0]:w.getLastToken(se));case 266:return le(u.parent.parent,u.parent.clauses[0])}return ae(u.parent)}function q(u){switch(u.parent.kind){case 265:if(e.getModuleInstanceState(u.parent.parent)!==1)return;case 263:case 260:return p(u);case 238:if(e.isFunctionBlock(u.parent))return p(u);case 295:return ae(e.lastOrUndefined(u.parent.statements));case 266:var A=u.parent,w=e.lastOrUndefined(A.clauses);return w?ae(e.lastOrUndefined(w.statements)):void 0;case 203:var z=u.parent;return ae(e.lastOrUndefined(z.elements)||z);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(u.parent)){var U=u.parent;return p(e.lastOrUndefined(U.properties)||U)}return ae(u.parent)}}function G(u){switch(u.parent.kind){case 204:var A=u.parent;return p(e.lastOrUndefined(A.elements)||A);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(u.parent)){var w=u.parent;return p(e.lastOrUndefined(w.elements)||w)}return ae(u.parent)}}function ye(u){return u.parent.kind===243||u.parent.kind===210||u.parent.kind===211?te(u):u.parent.kind===214?oe(u):ae(u.parent)}function b(u){switch(u.parent.kind){case 215:case 259:case 216:case 171:case 170:case 174:case 175:case 173:case 244:case 243:case 245:case 247:case 210:case 211:case 214:return te(u);default:return ae(u.parent)}}function x(u){return e.isFunctionLike(u.parent)||u.parent.kind===299||u.parent.kind===166?te(u):ae(u.parent)}function T(u){return u.parent.kind===213?oe(u):ae(u.parent)}function Z(u){return u.parent.kind===243?D(u,u.parent.expression):ae(u.parent)}function B(u){return u.parent.kind===247?oe(u):ae(u.parent)}}}ne.spanInSourceFileAtLocation=K})(o=e.BreakpointResolver||(e.BreakpointResolver={}))})(fr||(fr={}));var fr;(function(e){function o(ne,K,se){var O=[];se=e.fixupCompilerOptions(se,O);var ie=e.isArray(ne)?ne:[ne],_e=e.transformNodes(void 0,void 0,e.factory,se,ie,K,!0);return _e.diagnostics=e.concatenate(_e.diagnostics,O),_e}e.transform=o})(fr||(fr={}));var Lm=function(){return this}(),fr;(function(e){function o(E,I){E&&E.log("*INTERNAL ERROR* - Exception in typescript services: "+I.message)}var ne=function(){function E(I){this.scriptSnapshotShim=I}return E.prototype.getText=function(I,f){return this.scriptSnapshotShim.getText(I,f)},E.prototype.getLength=function(){return this.scriptSnapshotShim.getLength()},E.prototype.getChangeRange=function(I){var f=I,m=this.scriptSnapshotShim.getChangeRange(f.scriptSnapshotShim);if(m===null)return null;var y=JSON.parse(m);return e.createTextChangeRange(e.createTextSpan(y.span.start,y.span.length),y.newLength)},E.prototype.dispose=function(){"dispose"in this.scriptSnapshotShim&&this.scriptSnapshotShim.dispose()},E}(),K=function(){function E(I){var f=this;this.shimHost=I,this.loggingEnabled=!1,this.tracingEnabled=!1,"getModuleResolutionsForFile"in this.shimHost&&(this.resolveModuleNames=function(m,y){var S=JSON.parse(f.shimHost.getModuleResolutionsForFile(y));return e.map(m,function(k){var C=e.getProperty(S,k);return C?{resolvedFileName:C,extension:e.extensionFromPath(C),isExternalLibraryImport:!1}:void 0})}),"directoryExists"in this.shimHost&&(this.directoryExists=function(m){return f.shimHost.directoryExists(m)}),"getTypeReferenceDirectiveResolutionsForFile"in this.shimHost&&(this.resolveTypeReferenceDirectives=function(m,y){var S=JSON.parse(f.shimHost.getTypeReferenceDirectiveResolutionsForFile(y));return e.map(m,function(k){return e.getProperty(S,e.isString(k)?k:k.fileName.toLowerCase())})})}return E.prototype.log=function(I){this.loggingEnabled&&this.shimHost.log(I)},E.prototype.trace=function(I){this.tracingEnabled&&this.shimHost.trace(I)},E.prototype.error=function(I){this.shimHost.error(I)},E.prototype.getProjectVersion=function(){if(!!this.shimHost.getProjectVersion)return this.shimHost.getProjectVersion()},E.prototype.getTypeRootsVersion=function(){return this.shimHost.getTypeRootsVersion?this.shimHost.getTypeRootsVersion():0},E.prototype.useCaseSensitiveFileNames=function(){return this.shimHost.useCaseSensitiveFileNames?this.shimHost.useCaseSensitiveFileNames():!1},E.prototype.getCompilationSettings=function(){var I=this.shimHost.getCompilationSettings();if(I===null||I==="")throw Error("LanguageServiceShimHostAdapter.getCompilationSettings: empty compilationSettings");var f=JSON.parse(I);return f.allowNonTsExtensions=!0,f},E.prototype.getScriptFileNames=function(){var I=this.shimHost.getScriptFileNames();return JSON.parse(I)},E.prototype.getScriptSnapshot=function(I){var f=this.shimHost.getScriptSnapshot(I);return f&&new ne(f)},E.prototype.getScriptKind=function(I){return"getScriptKind"in this.shimHost?this.shimHost.getScriptKind(I):0},E.prototype.getScriptVersion=function(I){return this.shimHost.getScriptVersion(I)},E.prototype.getLocalizedDiagnosticMessages=function(){var I=this.shimHost.getLocalizedDiagnosticMessages();if(I===null||I==="")return null;try{return JSON.parse(I)}catch(f){return this.log(f.description||"diagnosticMessages.generated.json has invalid JSON format"),null}},E.prototype.getCancellationToken=function(){var I=this.shimHost.getCancellationToken();return new e.ThrottledCancellationToken(I)},E.prototype.getCurrentDirectory=function(){return this.shimHost.getCurrentDirectory()},E.prototype.getDirectories=function(I){return JSON.parse(this.shimHost.getDirectories(I))},E.prototype.getDefaultLibFileName=function(I){return this.shimHost.getDefaultLibFileName(JSON.stringify(I))},E.prototype.readDirectory=function(I,f,m,y,S){var k=e.getFileMatcherPatterns(I,m,y,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(I,JSON.stringify(f),JSON.stringify(k.basePaths),k.excludePattern,k.includeFilePattern,k.includeDirectoryPattern,S))},E.prototype.readFile=function(I,f){return this.shimHost.readFile(I,f)},E.prototype.fileExists=function(I){return this.shimHost.fileExists(I)},E}();e.LanguageServiceShimHostAdapter=K;var se=function(){function E(I){var f=this;this.shimHost=I,this.useCaseSensitiveFileNames=this.shimHost.useCaseSensitiveFileNames?this.shimHost.useCaseSensitiveFileNames():!1,"directoryExists"in this.shimHost?this.directoryExists=function(m){return f.shimHost.directoryExists(m)}:this.directoryExists=void 0,"realpath"in this.shimHost?this.realpath=function(m){return f.shimHost.realpath(m)}:this.realpath=void 0}return E.prototype.readDirectory=function(I,f,m,y,S){var k=e.getFileMatcherPatterns(I,m,y,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(I,JSON.stringify(f),JSON.stringify(k.basePaths),k.excludePattern,k.includeFilePattern,k.includeDirectoryPattern,S))},E.prototype.fileExists=function(I){return this.shimHost.fileExists(I)},E.prototype.readFile=function(I){return this.shimHost.readFile(I)},E.prototype.getDirectories=function(I){return JSON.parse(this.shimHost.getDirectories(I))},E}();e.CoreServicesShimHostAdapter=se;function O(E,I,f,m){var y;m&&(E.log(I),y=e.timestamp());var S=f();if(m){var k=e.timestamp();if(E.log("".concat(I," completed in ").concat(k-y," msec")),e.isString(S)){var C=S;C.length>128&&(C=C.substring(0,128)+"..."),E.log(" result.length=".concat(C.length,", result='").concat(JSON.stringify(C),"'"))}}return S}function ie(E,I,f,m){return _e(E,I,!0,f,m)}function _e(E,I,f,m,y){try{var S=O(E,I,m,y);return f?JSON.stringify({result:S}):S}catch(k){return k instanceof e.OperationCanceledException?JSON.stringify({canceled:!0}):(o(E,k),k.description=I,JSON.stringify({error:k}))}}var Q=function(){function E(I){this.factory=I,I.registerShim(this)}return E.prototype.dispose=function(I){this.factory.unregisterShim(this)},E}();function p(E,I){return E.map(function(f){return D(f,I)})}e.realizeDiagnostics=p;function D(E,I){return{message:e.flattenDiagnosticMessageText(E.messageText,I),start:E.start,length:E.length,category:e.diagnosticCategoryName(E),code:E.code,reportsUnnecessary:E.reportsUnnecessary,reportsDeprecated:E.reportsDeprecated}}var le=function(E){g_(I,E);function I(f,m,y){var S=E.call(this,f)||this;return S.host=m,S.languageService=y,S.logPerformance=!1,S.logger=S.host,S}return I.prototype.forwardJSONCall=function(f,m){return ie(this.logger,f,m,this.logPerformance)},I.prototype.dispose=function(f){this.logger.log("dispose()"),this.languageService.dispose(),this.languageService=null,Lm&&Lm.CollectGarbage&&(Lm.CollectGarbage(),this.logger.log("CollectGarbage()")),this.logger=null,E.prototype.dispose.call(this,f)},I.prototype.refresh=function(f){this.forwardJSONCall("refresh(".concat(f,")"),function(){return null})},I.prototype.cleanupSemanticCache=function(){var f=this;this.forwardJSONCall("cleanupSemanticCache()",function(){return f.languageService.cleanupSemanticCache(),null})},I.prototype.realizeDiagnostics=function(f){var m=e.getNewLineOrDefaultFromHost(this.host);return p(f,m)},I.prototype.getSyntacticClassifications=function(f,m,y){var S=this;return this.forwardJSONCall("getSyntacticClassifications('".concat(f,"', ").concat(m,", ").concat(y,")"),function(){return S.languageService.getSyntacticClassifications(f,e.createTextSpan(m,y))})},I.prototype.getSemanticClassifications=function(f,m,y){var S=this;return this.forwardJSONCall("getSemanticClassifications('".concat(f,"', ").concat(m,", ").concat(y,")"),function(){return S.languageService.getSemanticClassifications(f,e.createTextSpan(m,y))})},I.prototype.getEncodedSyntacticClassifications=function(f,m,y){var S=this;return this.forwardJSONCall("getEncodedSyntacticClassifications('".concat(f,"', ").concat(m,", ").concat(y,")"),function(){return de(S.languageService.getEncodedSyntacticClassifications(f,e.createTextSpan(m,y)))})},I.prototype.getEncodedSemanticClassifications=function(f,m,y){var S=this;return this.forwardJSONCall("getEncodedSemanticClassifications('".concat(f,"', ").concat(m,", ").concat(y,")"),function(){return de(S.languageService.getEncodedSemanticClassifications(f,e.createTextSpan(m,y)))})},I.prototype.getSyntacticDiagnostics=function(f){var m=this;return this.forwardJSONCall("getSyntacticDiagnostics('".concat(f,"')"),function(){var y=m.languageService.getSyntacticDiagnostics(f);return m.realizeDiagnostics(y)})},I.prototype.getSemanticDiagnostics=function(f){var m=this;return this.forwardJSONCall("getSemanticDiagnostics('".concat(f,"')"),function(){var y=m.languageService.getSemanticDiagnostics(f);return m.realizeDiagnostics(y)})},I.prototype.getSuggestionDiagnostics=function(f){var m=this;return this.forwardJSONCall("getSuggestionDiagnostics('".concat(f,"')"),function(){return m.realizeDiagnostics(m.languageService.getSuggestionDiagnostics(f))})},I.prototype.getCompilerOptionsDiagnostics=function(){var f=this;return this.forwardJSONCall("getCompilerOptionsDiagnostics()",function(){var m=f.languageService.getCompilerOptionsDiagnostics();return f.realizeDiagnostics(m)})},I.prototype.getQuickInfoAtPosition=function(f,m){var y=this;return this.forwardJSONCall("getQuickInfoAtPosition('".concat(f,"', ").concat(m,")"),function(){return y.languageService.getQuickInfoAtPosition(f,m)})},I.prototype.getNameOrDottedNameSpan=function(f,m,y){var S=this;return this.forwardJSONCall("getNameOrDottedNameSpan('".concat(f,"', ").concat(m,", ").concat(y,")"),function(){return S.languageService.getNameOrDottedNameSpan(f,m,y)})},I.prototype.getBreakpointStatementAtPosition=function(f,m){var y=this;return this.forwardJSONCall("getBreakpointStatementAtPosition('".concat(f,"', ").concat(m,")"),function(){return y.languageService.getBreakpointStatementAtPosition(f,m)})},I.prototype.getSignatureHelpItems=function(f,m,y){var S=this;return this.forwardJSONCall("getSignatureHelpItems('".concat(f,"', ").concat(m,")"),function(){return S.languageService.getSignatureHelpItems(f,m,y)})},I.prototype.getDefinitionAtPosition=function(f,m){var y=this;return this.forwardJSONCall("getDefinitionAtPosition('".concat(f,"', ").concat(m,")"),function(){return y.languageService.getDefinitionAtPosition(f,m)})},I.prototype.getDefinitionAndBoundSpan=function(f,m){var y=this;return this.forwardJSONCall("getDefinitionAndBoundSpan('".concat(f,"', ").concat(m,")"),function(){return y.languageService.getDefinitionAndBoundSpan(f,m)})},I.prototype.getTypeDefinitionAtPosition=function(f,m){var y=this;return this.forwardJSONCall("getTypeDefinitionAtPosition('".concat(f,"', ").concat(m,")"),function(){return y.languageService.getTypeDefinitionAtPosition(f,m)})},I.prototype.getImplementationAtPosition=function(f,m){var y=this;return this.forwardJSONCall("getImplementationAtPosition('".concat(f,"', ").concat(m,")"),function(){return y.languageService.getImplementationAtPosition(f,m)})},I.prototype.getRenameInfo=function(f,m,y){var S=this;return this.forwardJSONCall("getRenameInfo('".concat(f,"', ").concat(m,")"),function(){return S.languageService.getRenameInfo(f,m,y)})},I.prototype.getSmartSelectionRange=function(f,m){var y=this;return this.forwardJSONCall("getSmartSelectionRange('".concat(f,"', ").concat(m,")"),function(){return y.languageService.getSmartSelectionRange(f,m)})},I.prototype.findRenameLocations=function(f,m,y,S,k){var C=this;return this.forwardJSONCall("findRenameLocations('".concat(f,"', ").concat(m,", ").concat(y,", ").concat(S,", ").concat(k,")"),function(){return C.languageService.findRenameLocations(f,m,y,S,k)})},I.prototype.getBraceMatchingAtPosition=function(f,m){var y=this;return this.forwardJSONCall("getBraceMatchingAtPosition('".concat(f,"', ").concat(m,")"),function(){return y.languageService.getBraceMatchingAtPosition(f,m)})},I.prototype.isValidBraceCompletionAtPosition=function(f,m,y){var S=this;return this.forwardJSONCall("isValidBraceCompletionAtPosition('".concat(f,"', ").concat(m,", ").concat(y,")"),function(){return S.languageService.isValidBraceCompletionAtPosition(f,m,y)})},I.prototype.getSpanOfEnclosingComment=function(f,m,y){var S=this;return this.forwardJSONCall("getSpanOfEnclosingComment('".concat(f,"', ").concat(m,")"),function(){return S.languageService.getSpanOfEnclosingComment(f,m,y)})},I.prototype.getIndentationAtPosition=function(f,m,y){var S=this;return this.forwardJSONCall("getIndentationAtPosition('".concat(f,"', ").concat(m,")"),function(){var k=JSON.parse(y);return S.languageService.getIndentationAtPosition(f,m,k)})},I.prototype.getReferencesAtPosition=function(f,m){var y=this;return this.forwardJSONCall("getReferencesAtPosition('".concat(f,"', ").concat(m,")"),function(){return y.languageService.getReferencesAtPosition(f,m)})},I.prototype.findReferences=function(f,m){var y=this;return this.forwardJSONCall("findReferences('".concat(f,"', ").concat(m,")"),function(){return y.languageService.findReferences(f,m)})},I.prototype.getFileReferences=function(f){var m=this;return this.forwardJSONCall("getFileReferences('".concat(f,")"),function(){return m.languageService.getFileReferences(f)})},I.prototype.getOccurrencesAtPosition=function(f,m){var y=this;return this.forwardJSONCall("getOccurrencesAtPosition('".concat(f,"', ").concat(m,")"),function(){return y.languageService.getOccurrencesAtPosition(f,m)})},I.prototype.getDocumentHighlights=function(f,m,y){var S=this;return this.forwardJSONCall("getDocumentHighlights('".concat(f,"', ").concat(m,")"),function(){var k=S.languageService.getDocumentHighlights(f,m,JSON.parse(y)),C=e.toFileNameLowerCase(e.normalizeSlashes(f));return e.filter(k,function(me){return e.toFileNameLowerCase(e.normalizeSlashes(me.fileName))===C})})},I.prototype.getCompletionsAtPosition=function(f,m,y,S){var k=this;return this.forwardJSONCall("getCompletionsAtPosition('".concat(f,"', ").concat(m,", ").concat(y,", ").concat(S,")"),function(){return k.languageService.getCompletionsAtPosition(f,m,y,S)})},I.prototype.getCompletionEntryDetails=function(f,m,y,S,k,C,me){var De=this;return this.forwardJSONCall("getCompletionEntryDetails('".concat(f,"', ").concat(m,", '").concat(y,"')"),function(){var X=S===void 0?void 0:JSON.parse(S);return De.languageService.getCompletionEntryDetails(f,m,y,X,k,C,me)})},I.prototype.getFormattingEditsForRange=function(f,m,y,S){var k=this;return this.forwardJSONCall("getFormattingEditsForRange('".concat(f,"', ").concat(m,", ").concat(y,")"),function(){var C=JSON.parse(S);return k.languageService.getFormattingEditsForRange(f,m,y,C)})},I.prototype.getFormattingEditsForDocument=function(f,m){var y=this;return this.forwardJSONCall("getFormattingEditsForDocument('".concat(f,"')"),function(){var S=JSON.parse(m);return y.languageService.getFormattingEditsForDocument(f,S)})},I.prototype.getFormattingEditsAfterKeystroke=function(f,m,y,S){var k=this;return this.forwardJSONCall("getFormattingEditsAfterKeystroke('".concat(f,"', ").concat(m,", '").concat(y,"')"),function(){var C=JSON.parse(S);return k.languageService.getFormattingEditsAfterKeystroke(f,m,y,C)})},I.prototype.getDocCommentTemplateAtPosition=function(f,m,y){var S=this;return this.forwardJSONCall("getDocCommentTemplateAtPosition('".concat(f,"', ").concat(m,")"),function(){return S.languageService.getDocCommentTemplateAtPosition(f,m,y)})},I.prototype.getNavigateToItems=function(f,m,y){var S=this;return this.forwardJSONCall("getNavigateToItems('".concat(f,"', ").concat(m,", ").concat(y,")"),function(){return S.languageService.getNavigateToItems(f,m,y)})},I.prototype.getNavigationBarItems=function(f){var m=this;return this.forwardJSONCall("getNavigationBarItems('".concat(f,"')"),function(){return m.languageService.getNavigationBarItems(f)})},I.prototype.getNavigationTree=function(f){var m=this;return this.forwardJSONCall("getNavigationTree('".concat(f,"')"),function(){return m.languageService.getNavigationTree(f)})},I.prototype.getOutliningSpans=function(f){var m=this;return this.forwardJSONCall("getOutliningSpans('".concat(f,"')"),function(){return m.languageService.getOutliningSpans(f)})},I.prototype.getTodoComments=function(f,m){var y=this;return this.forwardJSONCall("getTodoComments('".concat(f,"')"),function(){return y.languageService.getTodoComments(f,JSON.parse(m))})},I.prototype.prepareCallHierarchy=function(f,m){var y=this;return this.forwardJSONCall("prepareCallHierarchy('".concat(f,"', ").concat(m,")"),function(){return y.languageService.prepareCallHierarchy(f,m)})},I.prototype.provideCallHierarchyIncomingCalls=function(f,m){var y=this;return this.forwardJSONCall("provideCallHierarchyIncomingCalls('".concat(f,"', ").concat(m,")"),function(){return y.languageService.provideCallHierarchyIncomingCalls(f,m)})},I.prototype.provideCallHierarchyOutgoingCalls=function(f,m){var y=this;return this.forwardJSONCall("provideCallHierarchyOutgoingCalls('".concat(f,"', ").concat(m,")"),function(){return y.languageService.provideCallHierarchyOutgoingCalls(f,m)})},I.prototype.provideInlayHints=function(f,m,y){var S=this;return this.forwardJSONCall("provideInlayHints('".concat(f,"', '").concat(JSON.stringify(m),"', ").concat(JSON.stringify(y),")"),function(){return S.languageService.provideInlayHints(f,m,y)})},I.prototype.getEmitOutput=function(f){var m=this;return this.forwardJSONCall("getEmitOutput('".concat(f,"')"),function(){var y=m.languageService.getEmitOutput(f),S=y.diagnostics,k=Mm(y,["diagnostics"]);return vi(vi({},k),{diagnostics:m.realizeDiagnostics(S)})})},I.prototype.getEmitOutputObject=function(f){var m=this;return _e(this.logger,"getEmitOutput('".concat(f,"')"),!1,function(){return m.languageService.getEmitOutput(f)},this.logPerformance)},I.prototype.toggleLineComment=function(f,m){var y=this;return this.forwardJSONCall("toggleLineComment('".concat(f,"', '").concat(JSON.stringify(m),"')"),function(){return y.languageService.toggleLineComment(f,m)})},I.prototype.toggleMultilineComment=function(f,m){var y=this;return this.forwardJSONCall("toggleMultilineComment('".concat(f,"', '").concat(JSON.stringify(m),"')"),function(){return y.languageService.toggleMultilineComment(f,m)})},I.prototype.commentSelection=function(f,m){var y=this;return this.forwardJSONCall("commentSelection('".concat(f,"', '").concat(JSON.stringify(m),"')"),function(){return y.languageService.commentSelection(f,m)})},I.prototype.uncommentSelection=function(f,m){var y=this;return this.forwardJSONCall("uncommentSelection('".concat(f,"', '").concat(JSON.stringify(m),"')"),function(){return y.languageService.uncommentSelection(f,m)})},I}(Q);function de(E){return{spans:E.spans.join(","),endOfLineState:E.endOfLineState}}var te=function(E){g_(I,E);function I(f,m){var y=E.call(this,f)||this;return y.logger=m,y.logPerformance=!1,y.classifier=e.createClassifier(),y}return I.prototype.getEncodedLexicalClassifications=function(f,m,y){var S=this;return y===void 0&&(y=!1),ie(this.logger,"getEncodedLexicalClassifications",function(){return de(S.classifier.getEncodedLexicalClassifications(f,m,y))},this.logPerformance)},I.prototype.getClassificationsForLine=function(f,m,y){y===void 0&&(y=!1);for(var S=this.classifier.getClassificationsForLine(f,m,y),k="",C=0,me=S.entries;C=1&&arguments.length<=3?e.factory.createVariableDeclaration(K,void 0,se,O):e.Debug.fail("Argument count mismatch")},o),e.updateVariableDeclaration=e.Debug.deprecate(function(K,se,O,ie,_e){return arguments.length===5?e.factory.updateVariableDeclaration(K,se,O,ie,_e):arguments.length===4?e.factory.updateVariableDeclaration(K,se,K.exclamationToken,O,ie):e.Debug.fail("Argument count mismatch")},o),e.createImportClause=e.Debug.deprecate(function(K,se,O){return O===void 0&&(O=!1),e.factory.createImportClause(O,K,se)},o),e.updateImportClause=e.Debug.deprecate(function(K,se,O,ie){return e.factory.updateImportClause(K,ie,se,O)},o),e.createExportDeclaration=e.Debug.deprecate(function(K,se,O,ie,_e){return _e===void 0&&(_e=!1),e.factory.createExportDeclaration(K,se,_e,O,ie)},o),e.updateExportDeclaration=e.Debug.deprecate(function(K,se,O,ie,_e,Q){return e.factory.updateExportDeclaration(K,se,O,Q,ie,_e,K.assertClause)},o),e.createJSDocParamTag=e.Debug.deprecate(function(K,se,O,ie){return e.factory.createJSDocParameterTag(void 0,K,se,O,!1,ie?e.factory.createNodeArray([e.factory.createJSDocText(ie)]):void 0)},o),e.createComma=e.Debug.deprecate(function(K,se){return e.factory.createComma(K,se)},o),e.createLessThan=e.Debug.deprecate(function(K,se){return e.factory.createLessThan(K,se)},o),e.createAssignment=e.Debug.deprecate(function(K,se){return e.factory.createAssignment(K,se)},o),e.createStrictEquality=e.Debug.deprecate(function(K,se){return e.factory.createStrictEquality(K,se)},o),e.createStrictInequality=e.Debug.deprecate(function(K,se){return e.factory.createStrictInequality(K,se)},o),e.createAdd=e.Debug.deprecate(function(K,se){return e.factory.createAdd(K,se)},o),e.createSubtract=e.Debug.deprecate(function(K,se){return e.factory.createSubtract(K,se)},o),e.createLogicalAnd=e.Debug.deprecate(function(K,se){return e.factory.createLogicalAnd(K,se)},o),e.createLogicalOr=e.Debug.deprecate(function(K,se){return e.factory.createLogicalOr(K,se)},o),e.createPostfixIncrement=e.Debug.deprecate(function(K){return e.factory.createPostfixIncrement(K)},o),e.createLogicalNot=e.Debug.deprecate(function(K){return e.factory.createLogicalNot(K)},o),e.createNode=e.Debug.deprecate(function(K,se,O){return se===void 0&&(se=0),O===void 0&&(O=0),e.setTextRangePosEnd(K===308?e.parseBaseNodeFactory.createBaseSourceFileNode(K):K===79?e.parseBaseNodeFactory.createBaseIdentifierNode(K):K===80?e.parseBaseNodeFactory.createBasePrivateIdentifierNode(K):e.isNodeKind(K)?e.parseBaseNodeFactory.createBaseNode(K):e.parseBaseNodeFactory.createBaseTokenNode(K),se,O)},{since:"4.0",warnAfter:"4.1",message:"Use an appropriate `factory` method instead."}),e.getMutableClone=e.Debug.deprecate(function(K){var se=e.factory.cloneNode(K);return e.setTextRange(se,K),e.setParent(se,K.parent),se},{since:"4.0",warnAfter:"4.1",message:"Use an appropriate `factory.update...` method instead, use `setCommentRange` or `setSourceMapRange`, and avoid setting `parent`."})})(fr||(fr={}));var fr;(function(e){e.isTypeAssertion=e.Debug.deprecate(function(ne){return ne.kind===213},{since:"4.0",warnAfter:"4.1",message:"Use `isTypeAssertionExpression` instead."})})(fr||(fr={}));var fr;(function(e){e.isIdentifierOrPrivateIdentifier=e.Debug.deprecate(function(ne){return e.isMemberName(ne)},{since:"4.2",warnAfter:"4.3",message:"Use `isMemberName` instead."})})(fr||(fr={}));var fr;(function(e){function o(K){var se=K.createConstructorTypeNode,O=K.updateConstructorTypeNode;K.createConstructorTypeNode=e.buildOverload("createConstructorTypeNode").overload({0:function(ie,_e,Q,p){return se(ie,_e,Q,p)},1:function(ie,_e,Q){return se(void 0,ie,_e,Q)}}).bind({0:function(ie){return ie.length===4},1:function(ie){return ie.length===3}}).deprecate({1:{since:"4.2",warnAfter:"4.3",message:"Use the overload that accepts 'modifiers'"}}).finish(),K.updateConstructorTypeNode=e.buildOverload("updateConstructorTypeNode").overload({0:function(ie,_e,Q,p,D){return O(ie,_e,Q,p,D)},1:function(ie,_e,Q,p){return O(ie,ie.modifiers,_e,Q,p)}}).bind({0:function(ie){return ie.length===5},1:function(ie){return ie.length===4}}).deprecate({1:{since:"4.2",warnAfter:"4.3",message:"Use the overload that accepts 'modifiers'"}}).finish()}var ne=e.createNodeFactory;e.createNodeFactory=function(K,se){var O=ne(K,se);return o(O),O},o(e.factory)})(fr||(fr={}));var fr;(function(e){function o(K){var se=K.createImportTypeNode,O=K.updateImportTypeNode;K.createImportTypeNode=e.buildOverload("createImportTypeNode").overload({0:function(ie,_e,Q,p,D){return se(ie,_e,Q,p,D)},1:function(ie,_e,Q,p){return se(ie,void 0,_e,Q,p)}}).bind({0:function(ie){var _e=ie[1],Q=ie[2],p=ie[3],D=ie[4];return(_e===void 0||e.isImportTypeAssertionContainer(_e))&&(Q===void 0||!e.isArray(Q))&&(p===void 0||e.isArray(p))&&(D===void 0||typeof D=="boolean")},1:function(ie){var _e=ie[1],Q=ie[2],p=ie[3],D=ie[4];return D===void 0&&(_e===void 0||e.isEntityName(_e))&&(Q===void 0||e.isArray(Q))&&(p===void 0||typeof p=="boolean")}}).deprecate({1:{since:"4.6",warnAfter:"4.7",message:"Use the overload that accepts 'assertions'"}}).finish(),K.updateImportTypeNode=e.buildOverload("updateImportTypeNode").overload({0:function(ie,_e,Q,p,D,le){return O(ie,_e,Q,p,D,le)},1:function(ie,_e,Q,p,D){return O(ie,_e,ie.assertions,Q,p,D)}}).bind({0:function(ie){var _e=ie[2],Q=ie[3],p=ie[4],D=ie[5];return(_e===void 0||e.isImportTypeAssertionContainer(_e))&&(Q===void 0||!e.isArray(Q))&&(p===void 0||e.isArray(p))&&(D===void 0||typeof D=="boolean")},1:function(ie){var _e=ie[2],Q=ie[3],p=ie[4],D=ie[5];return D===void 0&&(_e===void 0||e.isEntityName(_e))&&(Q===void 0||e.isArray(Q))&&(p===void 0||typeof p=="boolean")}}).deprecate({1:{since:"4.6",warnAfter:"4.7",message:"Use the overload that accepts 'assertions'"}}).finish()}var ne=e.createNodeFactory;e.createNodeFactory=function(K,se){var O=ne(K,se);return o(O),O},o(e.factory)})(fr||(fr={}));var fr;(function(e){function o(K){var se=K.createTypeParameterDeclaration,O=K.updateTypeParameterDeclaration;K.createTypeParameterDeclaration=e.buildOverload("createTypeParameterDeclaration").overload({0:function(ie,_e,Q,p){return se(ie,_e,Q,p)},1:function(ie,_e,Q){return se(void 0,ie,_e,Q)}}).bind({0:function(ie){var _e=ie[0];return _e===void 0||e.isArray(_e)},1:function(ie){var _e=ie[0];return _e!==void 0&&!e.isArray(_e)}}).deprecate({1:{since:"4.7",warnAfter:"4.8",message:"Use the overload that accepts 'modifiers'"}}).finish(),K.updateTypeParameterDeclaration=e.buildOverload("updateTypeParameterDeclaration").overload({0:function(ie,_e,Q,p,D){return O(ie,_e,Q,p,D)},1:function(ie,_e,Q,p){return O(ie,ie.modifiers,_e,Q,p)}}).bind({0:function(ie){var _e=ie[1];return _e===void 0||e.isArray(_e)},1:function(ie){var _e=ie[1];return _e!==void 0&&!e.isArray(_e)}}).deprecate({1:{since:"4.7",warnAfter:"4.8",message:"Use the overload that accepts 'modifiers'"}}).finish()}var ne=e.createNodeFactory;e.createNodeFactory=function(K,se){var O=ne(K,se);return o(O),O},o(e.factory)})(fr||(fr={}));var fr;(function(e){var o={since:"4.8",warnAfter:"4.9.0-0",message:"Decorators have been combined with modifiers. Callers should switch to an overload that does not accept a 'decorators' parameter."},ne={since:"4.8",warnAfter:"4.9.0-0",message:"Decorators are no longer supported for this function. Callers should switch to an overload that does not accept a 'decorators' parameter."},K={since:"4.8",warnAfter:"4.9.0-0",message:"Decorators and modifiers are no longer supported for this function. Callers should switch to an overload that does not accept the 'decorators' and 'modifiers' parameters."};function se(ie){var _e=ie.createParameterDeclaration,Q=ie.updateParameterDeclaration,p=ie.createPropertyDeclaration,D=ie.updatePropertyDeclaration,le=ie.createMethodDeclaration,de=ie.updateMethodDeclaration,te=ie.createConstructorDeclaration,oe=ie.updateConstructorDeclaration,ae=ie.createGetAccessorDeclaration,E=ie.updateGetAccessorDeclaration,I=ie.createSetAccessorDeclaration,f=ie.updateSetAccessorDeclaration,m=ie.createIndexSignature,y=ie.updateIndexSignature,S=ie.createClassStaticBlockDeclaration,k=ie.updateClassStaticBlockDeclaration,C=ie.createClassExpression,me=ie.updateClassExpression,De=ie.createFunctionDeclaration,X=ie.updateFunctionDeclaration,M=ie.createClassDeclaration,H=ie.updateClassDeclaration,V=ie.createInterfaceDeclaration,h=ie.updateInterfaceDeclaration,F=ie.createTypeAliasDeclaration,$=ie.updateTypeAliasDeclaration,L=ie.createEnumDeclaration,P=ie.updateEnumDeclaration,N=ie.createModuleDeclaration,J=ie.updateModuleDeclaration,q=ie.createImportEqualsDeclaration,G=ie.updateImportEqualsDeclaration,ye=ie.createImportDeclaration,b=ie.updateImportDeclaration,x=ie.createExportAssignment,T=ie.updateExportAssignment,Z=ie.createExportDeclaration,B=ie.updateExportDeclaration;ie.createParameterDeclaration=e.buildOverload("createParameterDeclaration").overload({0:function(u,A,w,z,U,ge){return _e(u,A,w,z,U,ge)},1:function(u,A,w,z,U,ge,pe){return _e(e.concatenate(u,A),w,z,U,ge,pe)}}).bind({0:function(u){var A=u[1],w=u[2],z=u[3],U=u[4],ge=u[5],pe=u[6];return pe===void 0&&(A===void 0||!e.isArray(A))&&(w===void 0||typeof w=="string"||e.isBindingName(w))&&(z===void 0||typeof z=="object"&&e.isQuestionToken(z))&&(U===void 0||e.isTypeNode(U))&&(ge===void 0||e.isExpression(ge))},1:function(u){var A=u[1],w=u[2],z=u[3],U=u[4],ge=u[5],pe=u[6];return(A===void 0||e.isArray(A))&&(w===void 0||typeof w=="object"&&e.isDotDotDotToken(w))&&(z===void 0||typeof z=="string"||e.isBindingName(z))&&(U===void 0||e.isQuestionToken(U))&&(ge===void 0||e.isTypeNode(ge))&&(pe===void 0||e.isExpression(pe))}}).deprecate({1:o}).finish(),ie.updateParameterDeclaration=e.buildOverload("updateParameterDeclaration").overload({0:function(u,A,w,z,U,ge,pe){return Q(u,A,w,z,U,ge,pe)},1:function(u,A,w,z,U,ge,pe,He){return Q(u,e.concatenate(A,w),z,U,ge,pe,He)}}).bind({0:function(u){var A=u[2],w=u[3],z=u[4],U=u[5],ge=u[6],pe=u[7];return pe===void 0&&(A===void 0||!e.isArray(A))&&(w===void 0||typeof w=="string"||e.isBindingName(w))&&(z===void 0||typeof z=="object"&&e.isQuestionToken(z))&&(U===void 0||e.isTypeNode(U))&&(ge===void 0||e.isExpression(ge))},1:function(u){var A=u[2],w=u[3],z=u[4],U=u[5],ge=u[6],pe=u[7];return(A===void 0||e.isArray(A))&&(w===void 0||typeof w=="object"&&e.isDotDotDotToken(w))&&(z===void 0||typeof z=="string"||e.isBindingName(z))&&(U===void 0||e.isQuestionToken(U))&&(ge===void 0||e.isTypeNode(ge))&&(pe===void 0||e.isExpression(pe))}}).deprecate({1:o}).finish(),ie.createPropertyDeclaration=e.buildOverload("createPropertyDeclaration").overload({0:function(u,A,w,z,U){return p(u,A,w,z,U)},1:function(u,A,w,z,U,ge){return p(e.concatenate(u,A),w,z,U,ge)}}).bind({0:function(u){var A=u[1],w=u[2],z=u[3],U=u[4],ge=u[5];return ge===void 0&&(A===void 0||!e.isArray(A))&&(w===void 0||typeof w=="object"&&e.isQuestionOrExclamationToken(w))&&(z===void 0||e.isTypeNode(z))&&(U===void 0||e.isExpression(U))},1:function(u){var A=u[1],w=u[2],z=u[3],U=u[4],ge=u[5];return(A===void 0||e.isArray(A))&&(w===void 0||typeof w=="string"||e.isPropertyName(w))&&(z===void 0||e.isQuestionOrExclamationToken(z))&&(U===void 0||e.isTypeNode(U))&&(ge===void 0||e.isExpression(ge))}}).deprecate({1:o}).finish(),ie.updatePropertyDeclaration=e.buildOverload("updatePropertyDeclaration").overload({0:function(u,A,w,z,U,ge){return D(u,A,w,z,U,ge)},1:function(u,A,w,z,U,ge,pe){return D(u,e.concatenate(A,w),z,U,ge,pe)}}).bind({0:function(u){var A=u[2],w=u[3],z=u[4],U=u[5],ge=u[6];return ge===void 0&&(A===void 0||!e.isArray(A))&&(w===void 0||typeof w=="object"&&e.isQuestionOrExclamationToken(w))&&(z===void 0||e.isTypeNode(z))&&(U===void 0||e.isExpression(U))},1:function(u){var A=u[2],w=u[3],z=u[4],U=u[5],ge=u[6];return(A===void 0||e.isArray(A))&&(w===void 0||typeof w=="string"||e.isPropertyName(w))&&(z===void 0||e.isQuestionOrExclamationToken(z))&&(U===void 0||e.isTypeNode(U))&&(ge===void 0||e.isExpression(ge))}}).deprecate({1:o}).finish(),ie.createMethodDeclaration=e.buildOverload("createMethodDeclaration").overload({0:function(u,A,w,z,U,ge,pe,He){return le(u,A,w,z,U,ge,pe,He)},1:function(u,A,w,z,U,ge,pe,He,Be){return le(e.concatenate(u,A),w,z,U,ge,pe,He,Be)}}).bind({0:function(u){var A=u[1],w=u[2],z=u[3],U=u[4],ge=u[5],pe=u[6],He=u[7],Be=u[8];return Be===void 0&&(A===void 0||!e.isArray(A))&&(w===void 0||typeof w=="string"||e.isPropertyName(w))&&(z===void 0||typeof z=="object"&&e.isQuestionToken(z))&&(U===void 0||e.isArray(U))&&(ge===void 0||!e.some(ge,e.isTypeParameterDeclaration))&&(pe===void 0||!e.isArray(pe))&&(He===void 0||e.isBlock(He))},1:function(u){var A=u[1],w=u[2],z=u[3],U=u[4],ge=u[5],pe=u[6],He=u[7],Be=u[8];return(A===void 0||e.isArray(A))&&(w===void 0||typeof w=="object"&&e.isAsteriskToken(w))&&(z===void 0||typeof z=="string"||e.isPropertyName(z))&&(U===void 0||!e.isArray(U))&&(ge===void 0||!e.some(ge,e.isParameter))&&(pe===void 0||e.isArray(pe))&&(He===void 0||e.isTypeNode(He))&&(Be===void 0||e.isBlock(Be))}}).deprecate({1:o}).finish(),ie.updateMethodDeclaration=e.buildOverload("updateMethodDeclaration").overload({0:function(u,A,w,z,U,ge,pe,He,Be){return de(u,A,w,z,U,ge,pe,He,Be)},1:function(u,A,w,z,U,ge,pe,He,Be,Me){return de(u,e.concatenate(A,w),z,U,ge,pe,He,Be,Me)}}).bind({0:function(u){var A=u[2],w=u[3],z=u[4],U=u[5],ge=u[6],pe=u[7],He=u[8],Be=u[9];return Be===void 0&&(A===void 0||!e.isArray(A))&&(w===void 0||typeof w=="string"||e.isPropertyName(w))&&(z===void 0||typeof z=="object"&&e.isQuestionToken(z))&&(U===void 0||e.isArray(U))&&(ge===void 0||!e.some(ge,e.isTypeParameterDeclaration))&&(pe===void 0||!e.isArray(pe))&&(He===void 0||e.isBlock(He))},1:function(u){var A=u[2],w=u[3],z=u[4],U=u[5],ge=u[6],pe=u[7],He=u[8],Be=u[9];return(A===void 0||e.isArray(A))&&(w===void 0||typeof w=="object"&&e.isAsteriskToken(w))&&(z===void 0||typeof z=="string"||e.isPropertyName(z))&&(U===void 0||!e.isArray(U))&&(ge===void 0||!e.some(ge,e.isParameter))&&(pe===void 0||e.isArray(pe))&&(He===void 0||e.isTypeNode(He))&&(Be===void 0||e.isBlock(Be))}}).deprecate({1:o}).finish(),ie.createConstructorDeclaration=e.buildOverload("createConstructorDeclaration").overload({0:function(u,A,w){return te(u,A,w)},1:function(u,A,w,z){return te(A,w,z)}}).bind({0:function(u){var A=u[0],w=u[1],z=u[2],U=u[3];return U===void 0&&(A===void 0||!e.some(A,e.isDecorator))&&(w===void 0||!e.some(w,e.isModifier))&&(z===void 0||!e.isArray(z))},1:function(u){var A=u[0],w=u[1],z=u[2],U=u[3];return(A===void 0||!e.some(A,e.isModifier))&&(w===void 0||!e.some(w,e.isParameter))&&(z===void 0||e.isArray(z))&&(U===void 0||e.isBlock(U))}}).deprecate({1:ne}).finish(),ie.updateConstructorDeclaration=e.buildOverload("updateConstructorDeclaration").overload({0:function(u,A,w,z){return oe(u,A,w,z)},1:function(u,A,w,z,U){return oe(u,w,z,U)}}).bind({0:function(u){var A=u[1],w=u[2],z=u[3],U=u[4];return U===void 0&&(A===void 0||!e.some(A,e.isDecorator))&&(w===void 0||!e.some(w,e.isModifier))&&(z===void 0||!e.isArray(z))},1:function(u){var A=u[1],w=u[2],z=u[3],U=u[4];return(A===void 0||!e.some(A,e.isModifier))&&(w===void 0||!e.some(w,e.isParameter))&&(z===void 0||e.isArray(z))&&(U===void 0||e.isBlock(U))}}).deprecate({1:ne}).finish(),ie.createGetAccessorDeclaration=e.buildOverload("createGetAccessorDeclaration").overload({0:function(u,A,w,z,U){return ae(u,A,w,z,U)},1:function(u,A,w,z,U,ge){return ae(e.concatenate(u,A),w,z,U,ge)}}).bind({0:function(u){var A=u[1],w=u[2],z=u[3],U=u[4],ge=u[5];return ge===void 0&&(A===void 0||!e.isArray(A))&&(w===void 0||e.isArray(w))&&(z===void 0||!e.isArray(z))&&(U===void 0||e.isBlock(U))},1:function(u){var A=u[1],w=u[2],z=u[3],U=u[4],ge=u[5];return(A===void 0||e.isArray(A))&&(w===void 0||!e.isArray(w))&&(z===void 0||e.isArray(z))&&(U===void 0||e.isTypeNode(U))&&(ge===void 0||e.isBlock(ge))}}).deprecate({1:o}).finish(),ie.updateGetAccessorDeclaration=e.buildOverload("updateGetAccessorDeclaration").overload({0:function(u,A,w,z,U,ge){return E(u,A,w,z,U,ge)},1:function(u,A,w,z,U,ge,pe){return E(u,e.concatenate(A,w),z,U,ge,pe)}}).bind({0:function(u){var A=u[2],w=u[3],z=u[4],U=u[5],ge=u[6];return ge===void 0&&(A===void 0||!e.isArray(A))&&(w===void 0||e.isArray(w))&&(z===void 0||!e.isArray(z))&&(U===void 0||e.isBlock(U))},1:function(u){var A=u[2],w=u[3],z=u[4],U=u[5],ge=u[6];return(A===void 0||e.isArray(A))&&(w===void 0||!e.isArray(w))&&(z===void 0||e.isArray(z))&&(U===void 0||e.isTypeNode(U))&&(ge===void 0||e.isBlock(ge))}}).deprecate({1:o}).finish(),ie.createSetAccessorDeclaration=e.buildOverload("createSetAccessorDeclaration").overload({0:function(u,A,w,z){return I(u,A,w,z)},1:function(u,A,w,z,U){return I(e.concatenate(u,A),w,z,U)}}).bind({0:function(u){var A=u[1],w=u[2],z=u[3],U=u[4];return U===void 0&&(A===void 0||!e.isArray(A))&&(w===void 0||e.isArray(w))&&(z===void 0||!e.isArray(z))},1:function(u){var A=u[1],w=u[2],z=u[3],U=u[4];return(A===void 0||e.isArray(A))&&(w===void 0||!e.isArray(w))&&(z===void 0||e.isArray(z))&&(U===void 0||e.isBlock(U))}}).deprecate({1:o}).finish(),ie.updateSetAccessorDeclaration=e.buildOverload("updateSetAccessorDeclaration").overload({0:function(u,A,w,z,U){return f(u,A,w,z,U)},1:function(u,A,w,z,U,ge){return f(u,e.concatenate(A,w),z,U,ge)}}).bind({0:function(u){var A=u[2],w=u[3],z=u[4],U=u[5];return U===void 0&&(A===void 0||!e.isArray(A))&&(w===void 0||e.isArray(w))&&(z===void 0||!e.isArray(z))},1:function(u){var A=u[2],w=u[3],z=u[4],U=u[5];return(A===void 0||e.isArray(A))&&(w===void 0||!e.isArray(w))&&(z===void 0||e.isArray(z))&&(U===void 0||e.isBlock(U))}}).deprecate({1:o}).finish(),ie.createIndexSignature=e.buildOverload("createIndexSignature").overload({0:function(u,A,w){return m(u,A,w)},1:function(u,A,w,z){return m(A,w,z)}}).bind({0:function(u){var A=u[0],w=u[1],z=u[2],U=u[3];return U===void 0&&(A===void 0||e.every(A,e.isModifier))&&(w===void 0||e.every(w,e.isParameter))&&(z===void 0||!e.isArray(z))},1:function(u){var A=u[0],w=u[1],z=u[2],U=u[3];return(A===void 0||e.every(A,e.isDecorator))&&(w===void 0||e.every(w,e.isModifier))&&(z===void 0||e.isArray(z))&&(U===void 0||e.isTypeNode(U))}}).deprecate({1:ne}).finish(),ie.updateIndexSignature=e.buildOverload("updateIndexSignature").overload({0:function(u,A,w,z){return y(u,A,w,z)},1:function(u,A,w,z,U){return y(u,w,z,U)}}).bind({0:function(u){var A=u[1],w=u[2],z=u[3],U=u[4];return U===void 0&&(A===void 0||e.every(A,e.isModifier))&&(w===void 0||e.every(w,e.isParameter))&&(z===void 0||!e.isArray(z))},1:function(u){var A=u[1],w=u[2],z=u[3],U=u[4];return(A===void 0||e.every(A,e.isDecorator))&&(w===void 0||e.every(w,e.isModifier))&&(z===void 0||e.isArray(z))&&(U===void 0||e.isTypeNode(U))}}).deprecate({1:ne}).finish(),ie.createClassStaticBlockDeclaration=e.buildOverload("createClassStaticBlockDeclaration").overload({0:function(u){return S(u)},1:function(u,A,w){return S(w)}}).bind({0:function(u){var A=u[0],w=u[1],z=u[2];return w===void 0&&z===void 0&&(A===void 0||!e.isArray(A))},1:function(u){var A=u[0],w=u[1],z=u[2];return(A===void 0||e.isArray(A))&&(w===void 0||e.isArray(A))&&(z===void 0||e.isBlock(z))}}).deprecate({1:K}).finish(),ie.updateClassStaticBlockDeclaration=e.buildOverload("updateClassStaticBlockDeclaration").overload({0:function(u,A){return k(u,A)},1:function(u,A,w,z){return k(u,z)}}).bind({0:function(u){var A=u[1],w=u[2],z=u[3];return w===void 0&&z===void 0&&(A===void 0||!e.isArray(A))},1:function(u){var A=u[1],w=u[2],z=u[3];return(A===void 0||e.isArray(A))&&(w===void 0||e.isArray(A))&&(z===void 0||e.isBlock(z))}}).deprecate({1:K}).finish(),ie.createClassExpression=e.buildOverload("createClassExpression").overload({0:function(u,A,w,z,U){return C(u,A,w,z,U)},1:function(u,A,w,z,U,ge){return C(e.concatenate(u,A),w,z,U,ge)}}).bind({0:function(u){var A=u[1],w=u[2],z=u[3],U=u[4],ge=u[5];return ge===void 0&&(A===void 0||!e.isArray(A))&&(w===void 0||e.isArray(w))&&(z===void 0||e.every(z,e.isHeritageClause))&&(U===void 0||e.every(U,e.isClassElement))},1:function(u){var A=u[1],w=u[2],z=u[3],U=u[4],ge=u[5];return(A===void 0||e.isArray(A))&&(w===void 0||!e.isArray(w))&&(z===void 0||e.every(z,e.isTypeParameterDeclaration))&&(U===void 0||e.every(U,e.isHeritageClause))&&(ge===void 0||e.isArray(ge))}}).deprecate({1:ne}).finish(),ie.updateClassExpression=e.buildOverload("updateClassExpression").overload({0:function(u,A,w,z,U,ge){return me(u,A,w,z,U,ge)},1:function(u,A,w,z,U,ge,pe){return me(u,e.concatenate(A,w),z,U,ge,pe)}}).bind({0:function(u){var A=u[2],w=u[3],z=u[4],U=u[5],ge=u[6];return ge===void 0&&(A===void 0||!e.isArray(A))&&(w===void 0||e.isArray(w))&&(z===void 0||e.every(z,e.isHeritageClause))&&(U===void 0||e.every(U,e.isClassElement))},1:function(u){var A=u[2],w=u[3],z=u[4],U=u[5],ge=u[6];return(A===void 0||e.isArray(A))&&(w===void 0||!e.isArray(w))&&(z===void 0||e.every(z,e.isTypeParameterDeclaration))&&(U===void 0||e.every(U,e.isHeritageClause))&&(ge===void 0||e.isArray(ge))}}).deprecate({1:ne}).finish(),ie.createFunctionDeclaration=e.buildOverload("createFunctionDeclaration").overload({0:function(u,A,w,z,U,ge,pe){return De(u,A,w,z,U,ge,pe)},1:function(u,A,w,z,U,ge,pe,He){return De(A,w,z,U,ge,pe,He)}}).bind({0:function(u){var A=u[1],w=u[2],z=u[3],U=u[4],ge=u[5],pe=u[6],He=u[7];return He===void 0&&(A===void 0||!e.isArray(A))&&(w===void 0||typeof w=="string"||e.isIdentifier(w))&&(z===void 0||e.isArray(z))&&(U===void 0||e.every(U,e.isParameter))&&(ge===void 0||!e.isArray(ge))&&(pe===void 0||e.isBlock(pe))},1:function(u){var A=u[1],w=u[2],z=u[3],U=u[4],ge=u[5],pe=u[6],He=u[7];return(A===void 0||e.isArray(A))&&(w===void 0||typeof w!="string"&&e.isAsteriskToken(w))&&(z===void 0||!e.isArray(z))&&(U===void 0||e.every(U,e.isTypeParameterDeclaration))&&(ge===void 0||e.isArray(ge))&&(pe===void 0||e.isTypeNode(pe))&&(He===void 0||e.isBlock(He))}}).deprecate({1:ne}).finish(),ie.updateFunctionDeclaration=e.buildOverload("updateFunctionDeclaration").overload({0:function(u,A,w,z,U,ge,pe,He){return X(u,A,w,z,U,ge,pe,He)},1:function(u,A,w,z,U,ge,pe,He,Be){return X(u,w,z,U,ge,pe,He,Be)}}).bind({0:function(u){var A=u[2],w=u[3],z=u[4],U=u[5],ge=u[6],pe=u[7],He=u[8];return He===void 0&&(A===void 0||!e.isArray(A))&&(w===void 0||e.isIdentifier(w))&&(z===void 0||e.isArray(z))&&(U===void 0||e.every(U,e.isParameter))&&(ge===void 0||!e.isArray(ge))&&(pe===void 0||e.isBlock(pe))},1:function(u){var A=u[2],w=u[3],z=u[4],U=u[5],ge=u[6],pe=u[7],He=u[8];return(A===void 0||e.isArray(A))&&(w===void 0||typeof w!="string"&&e.isAsteriskToken(w))&&(z===void 0||!e.isArray(z))&&(U===void 0||e.every(U,e.isTypeParameterDeclaration))&&(ge===void 0||e.isArray(ge))&&(pe===void 0||e.isTypeNode(pe))&&(He===void 0||e.isBlock(He))}}).deprecate({1:ne}).finish(),ie.createClassDeclaration=e.buildOverload("createClassDeclaration").overload({0:function(u,A,w,z,U){return M(u,A,w,z,U)},1:function(u,A,w,z,U,ge){return M(e.concatenate(u,A),w,z,U,ge)}}).bind({0:function(u){var A=u[1],w=u[2],z=u[3],U=u[4],ge=u[5];return ge===void 0&&(A===void 0||!e.isArray(A))&&(w===void 0||e.isArray(w))&&(z===void 0||e.every(z,e.isHeritageClause))&&(U===void 0||e.every(U,e.isClassElement))},1:function(){return!0}}).deprecate({1:o}).finish(),ie.updateClassDeclaration=e.buildOverload("updateClassDeclaration").overload({0:function(u,A,w,z,U,ge){return H(u,A,w,z,U,ge)},1:function(u,A,w,z,U,ge,pe){return H(u,e.concatenate(A,w),z,U,ge,pe)}}).bind({0:function(u){var A=u[2],w=u[3],z=u[4],U=u[5],ge=u[6];return ge===void 0&&(A===void 0||!e.isArray(A))&&(w===void 0||e.isArray(w))&&(z===void 0||e.every(z,e.isHeritageClause))&&(U===void 0||e.every(U,e.isClassElement))},1:function(u){var A=u[2],w=u[3],z=u[4],U=u[5],ge=u[6];return(A===void 0||e.isArray(A))&&(w===void 0||!e.isArray(w))&&(z===void 0||e.every(z,e.isTypeParameterDeclaration))&&(U===void 0||e.every(U,e.isHeritageClause))&&(ge===void 0||e.isArray(ge))}}).deprecate({1:o}).finish(),ie.createInterfaceDeclaration=e.buildOverload("createInterfaceDeclaration").overload({0:function(u,A,w,z,U){return V(u,A,w,z,U)},1:function(u,A,w,z,U,ge){return V(A,w,z,U,ge)}}).bind({0:function(u){var A=u[0],w=u[1],z=u[2],U=u[3],ge=u[4],pe=u[5];return pe===void 0&&(A===void 0||e.every(A,e.isModifier))&&(w===void 0||!e.isArray(w))&&(z===void 0||e.isArray(z))&&(U===void 0||e.every(U,e.isHeritageClause))&&(ge===void 0||e.every(ge,e.isTypeElement))},1:function(u){var A=u[0],w=u[1],z=u[2],U=u[3],ge=u[4],pe=u[5];return(A===void 0||e.every(A,e.isDecorator))&&(w===void 0||e.isArray(w))&&(z===void 0||!e.isArray(z))&&(U===void 0||e.every(U,e.isTypeParameterDeclaration))&&(ge===void 0||e.every(ge,e.isHeritageClause))&&(pe===void 0||e.every(pe,e.isTypeElement))}}).deprecate({1:ne}).finish(),ie.updateInterfaceDeclaration=e.buildOverload("updateInterfaceDeclaration").overload({0:function(u,A,w,z,U,ge){return h(u,A,w,z,U,ge)},1:function(u,A,w,z,U,ge,pe){return h(u,w,z,U,ge,pe)}}).bind({0:function(u){var A=u[1],w=u[2],z=u[3],U=u[4],ge=u[5],pe=u[6];return pe===void 0&&(A===void 0||e.every(A,e.isModifier))&&(w===void 0||!e.isArray(w))&&(z===void 0||e.isArray(z))&&(U===void 0||e.every(U,e.isHeritageClause))&&(ge===void 0||e.every(ge,e.isTypeElement))},1:function(u){var A=u[1],w=u[2],z=u[3],U=u[4],ge=u[5],pe=u[6];return(A===void 0||e.every(A,e.isDecorator))&&(w===void 0||e.isArray(w))&&(z===void 0||!e.isArray(z))&&(U===void 0||e.every(U,e.isTypeParameterDeclaration))&&(ge===void 0||e.every(ge,e.isHeritageClause))&&(pe===void 0||e.every(pe,e.isTypeElement))}}).deprecate({1:ne}).finish(),ie.createTypeAliasDeclaration=e.buildOverload("createTypeAliasDeclaration").overload({0:function(u,A,w,z){return F(u,A,w,z)},1:function(u,A,w,z,U){return F(A,w,z,U)}}).bind({0:function(u){var A=u[0],w=u[1],z=u[2],U=u[3],ge=u[4];return ge===void 0&&(A===void 0||e.every(A,e.isModifier))&&(w===void 0||!e.isArray(w))&&(z===void 0||e.isArray(z))&&(U===void 0||!e.isArray(U))},1:function(u){var A=u[0],w=u[1],z=u[2],U=u[3],ge=u[4];return(A===void 0||e.every(A,e.isDecorator))&&(w===void 0||e.isArray(w))&&(z===void 0||!e.isArray(z))&&(U===void 0||e.isArray(U))&&(ge===void 0||e.isTypeNode(ge))}}).deprecate({1:ne}).finish(),ie.updateTypeAliasDeclaration=e.buildOverload("updateTypeAliasDeclaration").overload({0:function(u,A,w,z,U){return $(u,A,w,z,U)},1:function(u,A,w,z,U,ge){return $(u,w,z,U,ge)}}).bind({0:function(u){var A=u[1],w=u[2],z=u[3],U=u[4],ge=u[5];return ge===void 0&&(A===void 0||e.every(A,e.isModifier))&&(w===void 0||!e.isArray(w))&&(z===void 0||e.isArray(z))&&(U===void 0||!e.isArray(U))},1:function(u){var A=u[1],w=u[2],z=u[3],U=u[4],ge=u[5];return(A===void 0||e.every(A,e.isDecorator))&&(w===void 0||e.isArray(w))&&(z===void 0||!e.isArray(z))&&(U===void 0||e.isArray(U))&&(ge===void 0||e.isTypeNode(ge))}}).deprecate({1:ne}).finish(),ie.createEnumDeclaration=e.buildOverload("createEnumDeclaration").overload({0:function(u,A,w){return L(u,A,w)},1:function(u,A,w,z){return L(A,w,z)}}).bind({0:function(u){var A=u[0],w=u[1],z=u[2],U=u[3];return U===void 0&&(A===void 0||e.every(A,e.isModifier))&&(w===void 0||!e.isArray(w))&&(z===void 0||e.isArray(z))},1:function(u){var A=u[0],w=u[1],z=u[2],U=u[3];return(A===void 0||e.every(A,e.isDecorator))&&(w===void 0||e.isArray(w))&&(z===void 0||!e.isArray(z))&&(U===void 0||e.isArray(U))}}).deprecate({1:ne}).finish(),ie.updateEnumDeclaration=e.buildOverload("updateEnumDeclaration").overload({0:function(u,A,w,z){return P(u,A,w,z)},1:function(u,A,w,z,U){return P(u,w,z,U)}}).bind({0:function(u){var A=u[1],w=u[2],z=u[3],U=u[4];return U===void 0&&(A===void 0||e.every(A,e.isModifier))&&(w===void 0||!e.isArray(w))&&(z===void 0||e.isArray(z))},1:function(u){var A=u[1],w=u[2],z=u[3],U=u[4];return(A===void 0||e.every(A,e.isDecorator))&&(w===void 0||e.isArray(w))&&(z===void 0||!e.isArray(z))&&(U===void 0||e.isArray(U))}}).deprecate({1:ne}).finish(),ie.createModuleDeclaration=e.buildOverload("createModuleDeclaration").overload({0:function(u,A,w,z){return N(u,A,w,z)},1:function(u,A,w,z,U){return N(A,w,z,U)}}).bind({0:function(u){var A=u[0],w=u[1],z=u[2],U=u[3],ge=u[4];return ge===void 0&&(A===void 0||e.every(A,e.isModifier))&&w!==void 0&&!e.isArray(w)&&(z===void 0||e.isModuleBody(z))&&(U===void 0||typeof U=="number")},1:function(u){var A=u[0],w=u[1],z=u[2],U=u[3],ge=u[4];return(A===void 0||e.every(A,e.isDecorator))&&(w===void 0||e.isArray(w))&&z!==void 0&&e.isModuleName(z)&&(U===void 0||typeof U=="object")&&(ge===void 0||typeof ge=="number")}}).deprecate({1:ne}).finish(),ie.updateModuleDeclaration=e.buildOverload("updateModuleDeclaration").overload({0:function(u,A,w,z){return J(u,A,w,z)},1:function(u,A,w,z,U){return J(u,w,z,U)}}).bind({0:function(u){var A=u[1],w=u[2],z=u[3],U=u[4];return U===void 0&&(A===void 0||e.every(A,e.isModifier))&&(w===void 0||!e.isArray(w))&&(z===void 0||e.isModuleBody(z))},1:function(u){var A=u[1],w=u[2],z=u[3],U=u[4];return(A===void 0||e.every(A,e.isDecorator))&&(w===void 0||e.isArray(w))&&z!==void 0&&e.isModuleName(z)&&(U===void 0||e.isModuleBody(U))}}).deprecate({1:ne}).finish(),ie.createImportEqualsDeclaration=e.buildOverload("createImportEqualsDeclaration").overload({0:function(u,A,w,z){return q(u,A,w,z)},1:function(u,A,w,z,U){return q(A,w,z,U)}}).bind({0:function(u){var A=u[0],w=u[1],z=u[2],U=u[3],ge=u[4];return ge===void 0&&(A===void 0||e.every(A,e.isModifier))&&(w===void 0||typeof w=="boolean")&&typeof z!="boolean"&&typeof U!="string"},1:function(u){var A=u[0],w=u[1],z=u[2],U=u[3],ge=u[4];return(A===void 0||e.every(A,e.isDecorator))&&(w===void 0||e.isArray(w))&&(z===void 0||typeof z=="boolean")&&(typeof U=="string"||e.isIdentifier(U))&&ge!==void 0&&e.isModuleReference(ge)}}).deprecate({1:ne}).finish(),ie.updateImportEqualsDeclaration=e.buildOverload("updateImportEqualsDeclaration").overload({0:function(u,A,w,z,U){return G(u,A,w,z,U)},1:function(u,A,w,z,U,ge){return G(u,w,z,U,ge)}}).bind({0:function(u){var A=u[1],w=u[2],z=u[3],U=u[4],ge=u[5];return ge===void 0&&(A===void 0||e.every(A,e.isModifier))&&(w===void 0||typeof w=="boolean")&&typeof z!="boolean"&&typeof U!="string"},1:function(u){var A=u[1],w=u[2],z=u[3],U=u[4],ge=u[5];return(A===void 0||e.every(A,e.isDecorator))&&(w===void 0||e.isArray(w))&&(z===void 0||typeof z=="boolean")&&(typeof U=="string"||e.isIdentifier(U))&&ge!==void 0&&e.isModuleReference(ge)}}).deprecate({1:ne}).finish(),ie.createImportDeclaration=e.buildOverload("createImportDeclaration").overload({0:function(u,A,w,z){return ye(u,A,w,z)},1:function(u,A,w,z,U){return ye(A,w,z,U)}}).bind({0:function(u){var A=u[0],w=u[1],z=u[2],U=u[3],ge=u[4];return ge===void 0&&(A===void 0||e.every(A,e.isModifier))&&(w===void 0||!e.isArray(w))&&z!==void 0&&e.isExpression(z)&&(U===void 0||e.isAssertClause(U))},1:function(u){var A=u[0],w=u[1],z=u[2],U=u[3],ge=u[4];return(A===void 0||e.every(A,e.isDecorator))&&(w===void 0||e.isArray(w))&&(z===void 0||e.isImportClause(z))&&U!==void 0&&e.isExpression(U)&&(ge===void 0||e.isAssertClause(ge))}}).deprecate({1:ne}).finish(),ie.updateImportDeclaration=e.buildOverload("updateImportDeclaration").overload({0:function(u,A,w,z,U){return b(u,A,w,z,U)},1:function(u,A,w,z,U,ge){return b(u,w,z,U,ge)}}).bind({0:function(u){var A=u[1],w=u[2],z=u[3],U=u[4],ge=u[5];return ge===void 0&&(A===void 0||e.every(A,e.isModifier))&&(w===void 0||!e.isArray(w))&&(z===void 0||e.isExpression(z))&&(U===void 0||e.isAssertClause(U))},1:function(u){var A=u[1],w=u[2],z=u[3],U=u[4],ge=u[5];return(A===void 0||e.every(A,e.isDecorator))&&(w===void 0||e.isArray(w))&&(z===void 0||e.isImportClause(z))&&U!==void 0&&e.isExpression(U)&&(ge===void 0||e.isAssertClause(ge))}}).deprecate({1:ne}).finish(),ie.createExportAssignment=e.buildOverload("createExportAssignment").overload({0:function(u,A,w){return x(u,A,w)},1:function(u,A,w,z){return x(A,w,z)}}).bind({0:function(u){var A=u[0],w=u[1],z=u[2],U=u[3];return U===void 0&&(A===void 0||e.every(A,e.isModifier))&&(w===void 0||typeof w=="boolean")&&typeof z=="object"},1:function(u){var A=u[0],w=u[1],z=u[2],U=u[3];return(A===void 0||e.every(A,e.isDecorator))&&(w===void 0||e.isArray(w))&&(z===void 0||typeof z=="boolean")&&U!==void 0&&e.isExpression(U)}}).deprecate({1:ne}).finish(),ie.updateExportAssignment=e.buildOverload("updateExportAssignment").overload({0:function(u,A,w){return T(u,A,w)},1:function(u,A,w,z){return T(u,w,z)}}).bind({0:function(u){var A=u[1],w=u[2],z=u[3];return z===void 0&&(A===void 0||e.every(A,e.isModifier))&&w!==void 0&&!e.isArray(w)},1:function(u){var A=u[1],w=u[2],z=u[3];return(A===void 0||e.every(A,e.isDecorator))&&(w===void 0||e.isArray(w))&&z!==void 0&&e.isExpression(z)}}).deprecate({1:ne}).finish(),ie.createExportDeclaration=e.buildOverload("createExportDeclaration").overload({0:function(u,A,w,z,U){return Z(u,A,w,z,U)},1:function(u,A,w,z,U,ge){return Z(A,w,z,U,ge)}}).bind({0:function(u){var A=u[0],w=u[1],z=u[2],U=u[3],ge=u[4],pe=u[5];return pe===void 0&&(A===void 0||e.every(A,e.isModifier))&&typeof w=="boolean"&&typeof z!="boolean"&&(U===void 0||e.isExpression(U))&&(ge===void 0||e.isAssertClause(ge))},1:function(u){var A=u[0],w=u[1],z=u[2],U=u[3],ge=u[4],pe=u[5];return(A===void 0||e.every(A,e.isDecorator))&&(w===void 0||e.isArray(w))&&typeof z=="boolean"&&(U===void 0||e.isNamedExportBindings(U))&&(ge===void 0||e.isExpression(ge))&&(pe===void 0||e.isAssertClause(pe))}}).deprecate({1:ne}).finish(),ie.updateExportDeclaration=e.buildOverload("updateExportDeclaration").overload({0:function(u,A,w,z,U,ge){return B(u,A,w,z,U,ge)},1:function(u,A,w,z,U,ge,pe){return B(u,w,z,U,ge,pe)}}).bind({0:function(u){var A=u[1],w=u[2],z=u[3],U=u[4],ge=u[5],pe=u[6];return pe===void 0&&(A===void 0||e.every(A,e.isModifier))&&typeof w=="boolean"&&typeof z!="boolean"&&(U===void 0||e.isExpression(U))&&(ge===void 0||e.isAssertClause(ge))},1:function(u){var A=u[1],w=u[2],z=u[3],U=u[4],ge=u[5],pe=u[6];return(A===void 0||e.every(A,e.isDecorator))&&(w===void 0||e.isArray(w))&&typeof z=="boolean"&&(U===void 0||e.isNamedExportBindings(U))&&(ge===void 0||e.isExpression(ge))&&(pe===void 0||e.isAssertClause(pe))}}).deprecate({1:ne}).finish()}var O=e.createNodeFactory;e.createNodeFactory=function(ie,_e){var Q=O(ie,_e);return se(Q),Q},se(e.factory)})(fr||(fr={}));var fr;(function(e){typeof console!="undefined"&&(e.Debug.loggingHost={log:function(o,ne){switch(o){case e.LogLevel.Error:return console.error(ne);case e.LogLevel.Warning:return console.warn(ne);case e.LogLevel.Info:return console.log(ne);case e.LogLevel.Verbose:return console.log(ne)}}})})(fr||(fr={}))}}]);