import{k as gO,m as f6}from"./index.7556f252.js";function yO(Ly,Yb){return Yb.forEach(function(Pa){Pa&&typeof Pa!="string"&&!Array.isArray(Pa)&&Object.keys(Pa).forEach(function(pc){if(pc!=="default"&&!(pc in Ly)){var Rp=Object.getOwnPropertyDescriptor(Pa,pc);Object.defineProperty(Ly,pc,Rp.get?Rp:{enumerable:!0,get:function(){return Pa[pc]}})}})}),Object.freeze(Object.defineProperty(Ly,Symbol.toStringTag,{value:"Module"}))}var Qb={exports:{}};(function(Ly,Yb){(function(Pa){Ly.exports=Pa()})(function(){var Pa=(Fa,Zr)=>()=>(Zr||Fa((Zr={exports:{}}).exports,Zr),Zr.exports),pc=Pa((Fa,Zr)=>{var Vr=function(si){return si&&si.Math==Math&&si};Zr.exports=Vr(typeof globalThis=="object"&&globalThis)||Vr(typeof window=="object"&&window)||Vr(typeof self=="object"&&self)||Vr(typeof f6=="object"&&f6)||function(){return this}()||Function("return this")()}),Rp=Pa((Fa,Zr)=>{Zr.exports=function(Vr){try{return!!Vr()}catch{return!0}}}),Kg=Pa((Fa,Zr)=>{var Vr=Rp();Zr.exports=!Vr(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),l1=Pa((Fa,Zr)=>{var Vr=Rp();Zr.exports=!Vr(function(){var si=function(){}.bind();return typeof si!="function"||si.hasOwnProperty("prototype")})}),_1=Pa((Fa,Zr)=>{var Vr=l1(),si=Function.prototype.call;Zr.exports=Vr?si.bind(si):function(){return si.apply(si,arguments)}}),m6=Pa(Fa=>{var Zr={}.propertyIsEnumerable,Vr=Object.getOwnPropertyDescriptor,si=Vr&&!Zr.call({1:2},1);Fa.f=si?function(fi){var yi=Vr(this,fi);return!!yi&&yi.enumerable}:Zr}),$b=Pa((Fa,Zr)=>{Zr.exports=function(Vr,si){return{enumerable:!(Vr&1),configurable:!(Vr&2),writable:!(Vr&4),value:si}}}),jp=Pa((Fa,Zr)=>{var Vr=l1(),si=Function.prototype,fi=si.bind,yi=si.call,ua=Vr&&fi.bind(yi,yi);Zr.exports=Vr?function(_r){return _r&&ua(_r)}:function(_r){return _r&&function(){return yi.apply(_r,arguments)}}}),d1=Pa((Fa,Zr)=>{var Vr=jp(),si=Vr({}.toString),fi=Vr("".slice);Zr.exports=function(yi){return fi(si(yi),8,-1)}}),g6=Pa((Fa,Zr)=>{var Vr=pc(),si=jp(),fi=Rp(),yi=d1(),ua=Vr.Object,_r=si("".split);Zr.exports=fi(function(){return!ua("z").propertyIsEnumerable(0)})?function(Ma){return yi(Ma)=="String"?_r(Ma,""):ua(Ma)}:ua}),Xb=Pa((Fa,Zr)=>{var Vr=pc(),si=Vr.TypeError;Zr.exports=function(fi){if(fi==null)throw si("Can't call method on "+fi);return fi}}),p1=Pa((Fa,Zr)=>{var Vr=g6(),si=Xb();Zr.exports=function(fi){return Vr(si(fi))}}),Bp=Pa((Fa,Zr)=>{Zr.exports=function(Vr){return typeof Vr=="function"}}),zg=Pa((Fa,Zr)=>{var Vr=Bp();Zr.exports=function(si){return typeof si=="object"?si!==null:Vr(si)}}),Yv=Pa((Fa,Zr)=>{var Vr=pc(),si=Bp(),fi=function(yi){return si(yi)?yi:void 0};Zr.exports=function(yi,ua){return arguments.length<2?fi(Vr[yi]):Vr[yi]&&Vr[yi][ua]}}),y6=Pa((Fa,Zr)=>{var Vr=jp();Zr.exports=Vr({}.isPrototypeOf)}),v6=Pa((Fa,Zr)=>{var Vr=Yv();Zr.exports=Vr("navigator","userAgent")||""}),h6=Pa((Fa,Zr)=>{var Vr=pc(),si=v6(),fi=Vr.process,yi=Vr.Deno,ua=fi&&fi.versions||yi&&yi.version,_r=ua&&ua.v8,Ma,Xa;_r&&(Ma=_r.split("."),Xa=Ma[0]>0&&Ma[0]<4?1:+(Ma[0]+Ma[1])),!Xa&&si&&(Ma=si.match(/Edge\/(\d+)/),(!Ma||Ma[1]>=74)&&(Ma=si.match(/Chrome\/(\d+)/),Ma&&(Xa=+Ma[1]))),Zr.exports=Xa}),Zb=Pa((Fa,Zr)=>{var Vr=h6(),si=Rp();Zr.exports=!!Object.getOwnPropertySymbols&&!si(function(){var fi=Symbol();return!String(fi)||!(Object(fi)instanceof Symbol)||!Symbol.sham&&Vr&&Vr<41})}),eS=Pa((Fa,Zr)=>{var Vr=Zb();Zr.exports=Vr&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),tS=Pa((Fa,Zr)=>{var Vr=pc(),si=Yv(),fi=Bp(),yi=y6(),ua=eS(),_r=Vr.Object;Zr.exports=ua?function(Ma){return typeof Ma=="symbol"}:function(Ma){var Xa=si("Symbol");return fi(Xa)&&yi(Xa.prototype,_r(Ma))}}),x6=Pa((Fa,Zr)=>{var Vr=pc(),si=Vr.String;Zr.exports=function(fi){try{return si(fi)}catch{return"Object"}}}),f1=Pa((Fa,Zr)=>{var Vr=pc(),si=Bp(),fi=x6(),yi=Vr.TypeError;Zr.exports=function(ua){if(si(ua))return ua;throw yi(fi(ua)+" is not a function")}}),b6=Pa((Fa,Zr)=>{var Vr=f1();Zr.exports=function(si,fi){var yi=si[fi];return yi==null?void 0:Vr(yi)}}),S6=Pa((Fa,Zr)=>{var Vr=pc(),si=_1(),fi=Bp(),yi=zg(),ua=Vr.TypeError;Zr.exports=function(_r,Ma){var Xa,La;if(Ma==="string"&&fi(Xa=_r.toString)&&!yi(La=si(Xa,_r))||fi(Xa=_r.valueOf)&&!yi(La=si(Xa,_r))||Ma!=="string"&&fi(Xa=_r.toString)&&!yi(La=si(Xa,_r)))return La;throw ua("Can't convert object to primitive value")}}),D6=Pa((Fa,Zr)=>{Zr.exports=!1}),m1=Pa((Fa,Zr)=>{var Vr=pc(),si=Object.defineProperty;Zr.exports=function(fi,yi){try{si(Vr,fi,{value:yi,configurable:!0,writable:!0})}catch{Vr[fi]=yi}return yi}}),g1=Pa((Fa,Zr)=>{var Vr=pc(),si=m1(),fi="__core-js_shared__",yi=Vr[fi]||si(fi,{});Zr.exports=yi}),nS=Pa((Fa,Zr)=>{var Vr=D6(),si=g1();(Zr.exports=function(fi,yi){return si[fi]||(si[fi]=yi!==void 0?yi:{})})("versions",[]).push({version:"3.21.1",mode:Vr?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),rS=Pa((Fa,Zr)=>{var Vr=pc(),si=Xb(),fi=Vr.Object;Zr.exports=function(yi){return fi(si(yi))}}),Qm=Pa((Fa,Zr)=>{var Vr=jp(),si=rS(),fi=Vr({}.hasOwnProperty);Zr.exports=Object.hasOwn||function(yi,ua){return fi(si(yi),ua)}}),iS=Pa((Fa,Zr)=>{var Vr=jp(),si=0,fi=Math.random(),yi=Vr(1 .toString);Zr.exports=function(ua){return"Symbol("+(ua===void 0?"":ua)+")_"+yi(++si+fi,36)}}),$v=Pa((Fa,Zr)=>{var Vr=pc(),si=nS(),fi=Qm(),yi=iS(),ua=Zb(),_r=eS(),Ma=si("wks"),Xa=Vr.Symbol,La=Xa&&Xa.for,No=_r?Xa:Xa&&Xa.withoutSetter||yi;Zr.exports=function(_o){if(!fi(Ma,_o)||!(ua||typeof Ma[_o]=="string")){var Qa="Symbol."+_o;ua&&fi(Xa,_o)?Ma[_o]=Xa[_o]:_r&&La?Ma[_o]=La(Qa):Ma[_o]=No(Qa)}return Ma[_o]}}),T6=Pa((Fa,Zr)=>{var Vr=pc(),si=_1(),fi=zg(),yi=tS(),ua=b6(),_r=S6(),Ma=$v(),Xa=Vr.TypeError,La=Ma("toPrimitive");Zr.exports=function(No,_o){if(!fi(No)||yi(No))return No;var Qa=ua(No,La),Mr;if(Qa){if(_o===void 0&&(_o="default"),Mr=si(Qa,No,_o),!fi(Mr)||yi(Mr))return Mr;throw Xa("Can't convert object to primitive value")}return _o===void 0&&(_o="number"),_r(No,_o)}}),aS=Pa((Fa,Zr)=>{var Vr=T6(),si=tS();Zr.exports=function(fi){var yi=Vr(fi,"string");return si(yi)?yi:yi+""}}),E6=Pa((Fa,Zr)=>{var Vr=pc(),si=zg(),fi=Vr.document,yi=si(fi)&&si(fi.createElement);Zr.exports=function(ua){return yi?fi.createElement(ua):{}}}),oS=Pa((Fa,Zr)=>{var Vr=Kg(),si=Rp(),fi=E6();Zr.exports=!Vr&&!si(function(){return Object.defineProperty(fi("div"),"a",{get:function(){return 7}}).a!=7})}),sS=Pa(Fa=>{var Zr=Kg(),Vr=_1(),si=m6(),fi=$b(),yi=p1(),ua=aS(),_r=Qm(),Ma=oS(),Xa=Object.getOwnPropertyDescriptor;Fa.f=Zr?Xa:function(La,No){if(La=yi(La),No=ua(No),Ma)try{return Xa(La,No)}catch{}if(_r(La,No))return fi(!Vr(si.f,La,No),La[No])}}),C6=Pa((Fa,Zr)=>{var Vr=Kg(),si=Rp();Zr.exports=Vr&&si(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),cS=Pa((Fa,Zr)=>{var Vr=pc(),si=zg(),fi=Vr.String,yi=Vr.TypeError;Zr.exports=function(ua){if(si(ua))return ua;throw yi(fi(ua)+" is not an object")}}),uS=Pa(Fa=>{var Zr=pc(),Vr=Kg(),si=oS(),fi=C6(),yi=cS(),ua=aS(),_r=Zr.TypeError,Ma=Object.defineProperty,Xa=Object.getOwnPropertyDescriptor,La="enumerable",No="configurable",_o="writable";Fa.f=Vr?fi?function(Qa,Mr,Xo){if(yi(Qa),Mr=ua(Mr),yi(Xo),typeof Qa=="function"&&Mr==="prototype"&&"value"in Xo&&_o in Xo&&!Xo[_o]){var us=Xa(Qa,Mr);us&&us[_o]&&(Qa[Mr]=Xo.value,Xo={configurable:No in Xo?Xo[No]:us[No],enumerable:La in Xo?Xo[La]:us[La],writable:!1})}return Ma(Qa,Mr,Xo)}:Ma:function(Qa,Mr,Xo){if(yi(Qa),Mr=ua(Mr),yi(Xo),si)try{return Ma(Qa,Mr,Xo)}catch{}if("get"in Xo||"set"in Xo)throw _r("Accessors not supported");return"value"in Xo&&(Qa[Mr]=Xo.value),Qa}}),y1=Pa((Fa,Zr)=>{var Vr=Kg(),si=uS(),fi=$b();Zr.exports=Vr?function(yi,ua,_r){return si.f(yi,ua,fi(1,_r))}:function(yi,ua,_r){return yi[ua]=_r,yi}}),v1=Pa((Fa,Zr)=>{var Vr=jp(),si=Bp(),fi=g1(),yi=Vr(Function.toString);si(fi.inspectSource)||(fi.inspectSource=function(ua){return yi(ua)}),Zr.exports=fi.inspectSource}),k6=Pa((Fa,Zr)=>{var Vr=pc(),si=Bp(),fi=v1(),yi=Vr.WeakMap;Zr.exports=si(yi)&&/native code/.test(fi(yi))}),N6=Pa((Fa,Zr)=>{var Vr=nS(),si=iS(),fi=Vr("keys");Zr.exports=function(yi){return fi[yi]||(fi[yi]=si(yi))}}),lS=Pa((Fa,Zr)=>{Zr.exports={}}),P6=Pa((Fa,Zr)=>{var Vr=k6(),si=pc(),fi=jp(),yi=zg(),ua=y1(),_r=Qm(),Ma=g1(),Xa=N6(),La=lS(),No="Object already initialized",_o=si.TypeError,Qa=si.WeakMap,Mr,Xo,us,Pu=function(Oc){return us(Oc)?Xo(Oc):Mr(Oc,{})},Ol=function(Oc){return function(ld){var jy;if(!yi(ld)||(jy=Xo(ld)).type!==Oc)throw _o("Incompatible receiver, "+Oc+" required");return jy}};Vr||Ma.state?(pu=Ma.state||(Ma.state=new Qa),o_=fi(pu.get),vf=fi(pu.has),Ry=fi(pu.set),Mr=function(Oc,ld){if(vf(pu,Oc))throw new _o(No);return ld.facade=Oc,Ry(pu,Oc,ld),ld},Xo=function(Oc){return o_(pu,Oc)||{}},us=function(Oc){return vf(pu,Oc)}):(hf=Xa("state"),La[hf]=!0,Mr=function(Oc,ld){if(_r(Oc,hf))throw new _o(No);return ld.facade=Oc,ua(Oc,hf,ld),ld},Xo=function(Oc){return _r(Oc,hf)?Oc[hf]:{}},us=function(Oc){return _r(Oc,hf)});var pu,o_,vf,Ry,hf;Zr.exports={set:Mr,get:Xo,has:us,enforce:Pu,getterFor:Ol}}),A6=Pa((Fa,Zr)=>{var Vr=Kg(),si=Qm(),fi=Function.prototype,yi=Vr&&Object.getOwnPropertyDescriptor,ua=si(fi,"name"),_r=ua&&function(){}.name==="something",Ma=ua&&(!Vr||Vr&&yi(fi,"name").configurable);Zr.exports={EXISTS:ua,PROPER:_r,CONFIGURABLE:Ma}}),F6=Pa((Fa,Zr)=>{var Vr=pc(),si=Bp(),fi=Qm(),yi=y1(),ua=m1(),_r=v1(),Ma=P6(),Xa=A6().CONFIGURABLE,La=Ma.get,No=Ma.enforce,_o=String(String).split("String");(Zr.exports=function(Qa,Mr,Xo,us){var Pu=us?!!us.unsafe:!1,Ol=us?!!us.enumerable:!1,pu=us?!!us.noTargetGet:!1,o_=us&&us.name!==void 0?us.name:Mr,vf;if(si(Xo)&&(String(o_).slice(0,7)==="Symbol("&&(o_="["+String(o_).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!fi(Xo,"name")||Xa&&Xo.name!==o_)&&yi(Xo,"name",o_),vf=No(Xo),vf.source||(vf.source=_o.join(typeof o_=="string"?o_:""))),Qa===Vr){Ol?Qa[Mr]=Xo:ua(Mr,Xo);return}else Pu?!pu&&Qa[Mr]&&(Ol=!0):delete Qa[Mr];Ol?Qa[Mr]=Xo:yi(Qa,Mr,Xo)})(Function.prototype,"toString",function(){return si(this)&&La(this).source||_r(this)})}),_S=Pa((Fa,Zr)=>{var Vr=Math.ceil,si=Math.floor;Zr.exports=function(fi){var yi=+fi;return yi!==yi||yi===0?0:(yi>0?si:Vr)(yi)}}),w6=Pa((Fa,Zr)=>{var Vr=_S(),si=Math.max,fi=Math.min;Zr.exports=function(yi,ua){var _r=Vr(yi);return _r<0?si(_r+ua,0):fi(_r,ua)}}),I6=Pa((Fa,Zr)=>{var Vr=_S(),si=Math.min;Zr.exports=function(fi){return fi>0?si(Vr(fi),9007199254740991):0}}),h1=Pa((Fa,Zr)=>{var Vr=I6();Zr.exports=function(si){return Vr(si.length)}}),O6=Pa((Fa,Zr)=>{var Vr=p1(),si=w6(),fi=h1(),yi=function(ua){return function(_r,Ma,Xa){var La=Vr(_r),No=fi(La),_o=si(Xa,No),Qa;if(ua&&Ma!=Ma){for(;No>_o;)if(Qa=La[_o++],Qa!=Qa)return!0}else for(;No>_o;_o++)if((ua||_o in La)&&La[_o]===Ma)return ua||_o||0;return!ua&&-1}};Zr.exports={includes:yi(!0),indexOf:yi(!1)}}),M6=Pa((Fa,Zr)=>{var Vr=jp(),si=Qm(),fi=p1(),yi=O6().indexOf,ua=lS(),_r=Vr([].push);Zr.exports=function(Ma,Xa){var La=fi(Ma),No=0,_o=[],Qa;for(Qa in La)!si(ua,Qa)&&si(La,Qa)&&_r(_o,Qa);for(;Xa.length>No;)si(La,Qa=Xa[No++])&&(~yi(_o,Qa)||_r(_o,Qa));return _o}}),L6=Pa((Fa,Zr)=>{Zr.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),R6=Pa(Fa=>{var Zr=M6(),Vr=L6(),si=Vr.concat("length","prototype");Fa.f=Object.getOwnPropertyNames||function(fi){return Zr(fi,si)}}),j6=Pa(Fa=>{Fa.f=Object.getOwnPropertySymbols}),B6=Pa((Fa,Zr)=>{var Vr=Yv(),si=jp(),fi=R6(),yi=j6(),ua=cS(),_r=si([].concat);Zr.exports=Vr("Reflect","ownKeys")||function(Ma){var Xa=fi.f(ua(Ma)),La=yi.f;return La?_r(Xa,La(Ma)):Xa}}),J6=Pa((Fa,Zr)=>{var Vr=Qm(),si=B6(),fi=sS(),yi=uS();Zr.exports=function(ua,_r,Ma){for(var Xa=si(_r),La=yi.f,No=fi.f,_o=0;_o{var Vr=Rp(),si=Bp(),fi=/#|\.prototype\./,yi=function(La,No){var _o=_r[ua(La)];return _o==Xa?!0:_o==Ma?!1:si(No)?Vr(No):!!No},ua=yi.normalize=function(La){return String(La).replace(fi,".").toLowerCase()},_r=yi.data={},Ma=yi.NATIVE="N",Xa=yi.POLYFILL="P";Zr.exports=yi}),dS=Pa((Fa,Zr)=>{var Vr=pc(),si=sS().f,fi=y1(),yi=F6(),ua=m1(),_r=J6(),Ma=K6();Zr.exports=function(Xa,La){var No=Xa.target,_o=Xa.global,Qa=Xa.stat,Mr,Xo,us,Pu,Ol,pu;if(_o?Xo=Vr:Qa?Xo=Vr[No]||ua(No,{}):Xo=(Vr[No]||{}).prototype,Xo)for(us in La){if(Ol=La[us],Xa.noTargetGet?(pu=si(Xo,us),Pu=pu&&pu.value):Pu=Xo[us],Mr=Ma(_o?us:No+(Qa?".":"#")+us,Xa.forced),!Mr&&Pu!==void 0){if(typeof Ol==typeof Pu)continue;_r(Ol,Pu)}(Xa.sham||Pu&&Pu.sham)&&fi(Ol,"sham",!0),yi(Xo,us,Ol,Xa)}}}),z6=Pa(()=>{var Fa=dS(),Zr=pc();Fa({global:!0},{globalThis:Zr})}),U6=Pa(()=>{z6()}),pS=Pa((Fa,Zr)=>{var Vr=d1();Zr.exports=Array.isArray||function(si){return Vr(si)=="Array"}}),q6=Pa((Fa,Zr)=>{var Vr=jp(),si=f1(),fi=l1(),yi=Vr(Vr.bind);Zr.exports=function(ua,_r){return si(ua),_r===void 0?ua:fi?yi(ua,_r):function(){return ua.apply(_r,arguments)}}}),W6=Pa((Fa,Zr)=>{var Vr=pc(),si=pS(),fi=h1(),yi=q6(),ua=Vr.TypeError,_r=function(Ma,Xa,La,No,_o,Qa,Mr,Xo){for(var us=_o,Pu=0,Ol=Mr?yi(Mr,Xo):!1,pu,o_;Pu0&&si(pu))o_=fi(pu),us=_r(Ma,Xa,pu,o_,us,Qa-1)-1;else{if(us>=9007199254740991)throw ua("Exceed the acceptable array length");Ma[us]=pu}us++}Pu++}return us};Zr.exports=_r}),V6=Pa((Fa,Zr)=>{var Vr=$v(),si=Vr("toStringTag"),fi={};fi[si]="z",Zr.exports=String(fi)==="[object z]"}),H6=Pa((Fa,Zr)=>{var Vr=pc(),si=V6(),fi=Bp(),yi=d1(),ua=$v(),_r=ua("toStringTag"),Ma=Vr.Object,Xa=yi(function(){return arguments}())=="Arguments",La=function(No,_o){try{return No[_o]}catch{}};Zr.exports=si?yi:function(No){var _o,Qa,Mr;return No===void 0?"Undefined":No===null?"Null":typeof(Qa=La(_o=Ma(No),_r))=="string"?Qa:Xa?yi(_o):(Mr=yi(_o))=="Object"&&fi(_o.callee)?"Arguments":Mr}}),G6=Pa((Fa,Zr)=>{var Vr=jp(),si=Rp(),fi=Bp(),yi=H6(),ua=Yv(),_r=v1(),Ma=function(){},Xa=[],La=ua("Reflect","construct"),No=/^\s*(?:class|function)\b/,_o=Vr(No.exec),Qa=!No.exec(Ma),Mr=function(us){if(!fi(us))return!1;try{return La(Ma,Xa,us),!0}catch{return!1}},Xo=function(us){if(!fi(us))return!1;switch(yi(us)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Qa||!!_o(No,_r(us))}catch{return!0}};Xo.sham=!0,Zr.exports=!La||si(function(){var us;return Mr(Mr.call)||!Mr(Object)||!Mr(function(){us=!0})||us})?Xo:Mr}),Q6=Pa((Fa,Zr)=>{var Vr=pc(),si=pS(),fi=G6(),yi=zg(),ua=$v(),_r=ua("species"),Ma=Vr.Array;Zr.exports=function(Xa){var La;return si(Xa)&&(La=Xa.constructor,fi(La)&&(La===Ma||si(La.prototype))?La=void 0:yi(La)&&(La=La[_r],La===null&&(La=void 0))),La===void 0?Ma:La}}),Y6=Pa((Fa,Zr)=>{var Vr=Q6();Zr.exports=function(si,fi){return new(Vr(si))(fi===0?0:fi)}}),$6=Pa(()=>{var Fa=dS(),Zr=W6(),Vr=f1(),si=rS(),fi=h1(),yi=Y6();Fa({target:"Array",proto:!0},{flatMap:function(ua){var _r=si(this),Ma=fi(_r),Xa;return Vr(ua),Xa=yi(_r,0),Xa.length=Zr(Xa,_r,_r,Ma,0,1,ua,arguments.length>1?arguments[1]:void 0),Xa}})}),X6=Pa((Fa,Zr)=>{U6(),$6();var Vr=Object.defineProperty,si=Object.getOwnPropertyDescriptor,fi=Object.getOwnPropertyNames,yi=Object.prototype.hasOwnProperty,ua=(te,X)=>function(){return te&&(X=(0,te[fi(te)[0]])(te=0)),X},_r=(te,X)=>function(){return X||(0,te[fi(te)[0]])((X={exports:{}}).exports,X),X.exports},Ma=(te,X)=>{for(var tt in X)Vr(te,tt,{get:X[tt],enumerable:!0})},Xa=(te,X,tt,Tt)=>{if(X&&typeof X=="object"||typeof X=="function")for(let fn of fi(X))!yi.call(te,fn)&&fn!==tt&&Vr(te,fn,{get:()=>X[fn],enumerable:!(Tt=si(X,fn))||Tt.enumerable});return te},La=te=>Xa(Vr({},"__esModule",{value:!0}),te),No,_o,Qa,Mr=ua({""(){No={},_o=[],Qa={env:No,argv:_o}}}),Xo=_r({"src/common/parser-create-error.js"(te,X){Mr();function tt(Tt,fn){let Pt=new SyntaxError(Tt+" ("+fn.start.line+":"+fn.start.column+")");return Pt.loc=fn,Pt}X.exports=tt}}),us=_r({"src/utils/try-combinations.js"(te,X){Mr();function tt(){let Tt;for(var fn=arguments.length,Pt=new Array(fn),dt=0;dtS1,arch:()=>Z6,cpus:()=>Oc,default:()=>gS,endianness:()=>Ol,freemem:()=>Ry,getNetworkInterfaces:()=>mS,hostname:()=>pu,loadavg:()=>o_,networkInterfaces:()=>fS,platform:()=>eN,release:()=>jy,tmpDir:()=>x1,tmpdir:()=>b1,totalmem:()=>hf,type:()=>ld,uptime:()=>vf});function Ol(){if(typeof Xv>"u"){var te=new ArrayBuffer(2),X=new Uint8Array(te),tt=new Uint16Array(te);if(X[0]=1,X[1]=2,tt[0]===258)Xv="BE";else if(tt[0]===513)Xv="LE";else throw new Error("unable to figure out endianess")}return Xv}function pu(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function o_(){return[]}function vf(){return 0}function Ry(){return Number.MAX_VALUE}function hf(){return Number.MAX_VALUE}function Oc(){return[]}function ld(){return"Browser"}function jy(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function fS(){}function mS(){}function Z6(){return"javascript"}function eN(){return"browser"}function x1(){return"/tmp"}var Xv,b1,S1,gS,tN=ua({"node-modules-polyfills:os"(){Mr(),b1=x1,S1=` `,gS={EOL:S1,tmpdir:b1,tmpDir:x1,networkInterfaces:fS,getNetworkInterfaces:mS,release:jy,type:ld,cpus:Oc,totalmem:hf,freemem:Ry,uptime:vf,loadavg:o_,hostname:pu,endianness:Ol}}}),nN=_r({"node-modules-polyfills-commonjs:os"(te,X){Mr();var tt=(tN(),La(Pu));if(tt&&tt.default){X.exports=tt.default;for(let Tt in tt)X.exports[Tt]=tt[Tt]}else tt&&(X.exports=tt)}}),rN=_r({"node_modules/detect-newline/index.js"(te,X){Mr();var tt=Tt=>{if(typeof Tt!="string")throw new TypeError("Expected a string");let fn=Tt.match(/(?:\r?\n)/g)||[];if(fn.length===0)return;let Pt=fn.filter(wt=>wt===`\r `).length,dt=fn.length-Pt;return Pt>dt?`\r `:` `};X.exports=tt,X.exports.graceful=Tt=>typeof Tt=="string"&&tt(Tt)||` `}}),iN=_r({"node_modules/jest-docblock/build/index.js"(te){Mr(),Object.defineProperty(te,"__esModule",{value:!0}),te.extract=r,te.parse=G,te.parseWithComments=ue,te.print=h,te.strip=v;function X(){let k=nN();return X=function(){return k},k}function tt(){let k=Tt(rN());return tt=function(){return k},k}function Tt(k){return k&&k.__esModule?k:{default:k}}var fn=/\*\/$/,Pt=/^\/\*\*/,dt=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,wt=/(^|\s+)\/\/([^\r\n]*)/g,ne=/^(\r?\n)+/,e=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,a=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,u=/(\r?\n|^) *\* ?/g,P=[];function r(k){let se=k.match(dt);return se?se[0].trimLeft():""}function v(k){let se=k.match(dt);return se&&se[0]?k.substring(se[0].length):k}function G(k){return ue(k).pragmas}function ue(k){let se=(0,tt().default)(k)||X().EOL;k=k.replace(Pt,"").replace(fn,"").replace(u,"$1");let le="";for(;le!==k;)le=k,k=k.replace(e,"".concat(se,"$1 $2").concat(se));k=k.replace(ne,"").trimRight();let f=Object.create(null),b=k.replace(a,"").replace(ne,"").trimRight(),y;for(;y=a.exec(k);){let K=y[2].replace(wt,"");typeof f[y[1]]=="string"||Array.isArray(f[y[1]])?f[y[1]]=P.concat(f[y[1]],K):f[y[1]]=K}return{comments:b,pragmas:f}}function h(k){let{comments:se="",pragmas:le={}}=k,f=(0,tt().default)(se)||X().EOL,b="/**",y=" *",K=" */",ce=Object.keys(le),Y=ce.map(F=>S(F,le[F])).reduce((F,O)=>F.concat(O),[]).map(F=>y+" "+F+f).join("");if(!se){if(ce.length===0)return"";if(ce.length===1&&!Array.isArray(le[ce[0]])){let F=le[ce[0]];return"".concat(b," ").concat(S(ce[0],F)[0]).concat(K)}}let re=se.split(f).map(F=>"".concat(y," ").concat(F)).join(f)+f;return b+f+(se?re:"")+(se&&ce.length?y+f:"")+Y+K}function S(k,se){return P.concat(se).map(le=>"@".concat(k," ").concat(le).trim())}}}),aN=_r({"src/common/end-of-line.js"(te,X){Mr();function tt(dt){let wt=dt.indexOf("\r");return wt>=0?dt.charAt(wt+1)===` `?"crlf":"cr":"lf"}function Tt(dt){switch(dt){case"cr":return"\r";case"crlf":return`\r `;default:return` `}}function fn(dt,wt){let ne;switch(wt){case` `:ne=/\n/g;break;case"\r":ne=/\r/g;break;case`\r `:ne=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(wt),"."))}let e=dt.match(ne);return e?e.length:0}function Pt(dt){return dt.replace(/\r\n?/g,` `)}X.exports={guessEndOfLine:tt,convertEndOfLineToChars:Tt,countEndOfLineChars:fn,normalizeEndOfLine:Pt}}}),oN=_r({"src/language-js/utils/get-shebang.js"(te,X){Mr();function tt(Tt){if(!Tt.startsWith("#!"))return"";let fn=Tt.indexOf(` `);return fn===-1?Tt:Tt.slice(0,fn)}X.exports=tt}}),sN=_r({"src/language-js/pragma.js"(te,X){Mr();var{parseWithComments:tt,strip:Tt,extract:fn,print:Pt}=iN(),{normalizeEndOfLine:dt}=aN(),wt=oN();function ne(u){let P=wt(u);P&&(u=u.slice(P.length+1));let r=fn(u),{pragmas:v,comments:G}=tt(r);return{shebang:P,text:u,pragmas:v,comments:G}}function e(u){let P=Object.keys(ne(u).pragmas);return P.includes("prettier")||P.includes("format")}function a(u){let{shebang:P,text:r,pragmas:v,comments:G}=ne(u),ue=Tt(r),h=Pt({pragmas:Object.assign({format:""},v),comments:G.trimStart()});return(P?"".concat(P,` `):"")+dt(h)+(ue.startsWith(` `)?` `:` `)+ue}X.exports={hasPragma:e,insertPragma:a}}}),cN=_r({"src/utils/is-non-empty-array.js"(te,X){Mr();function tt(Tt){return Array.isArray(Tt)&&Tt.length>0}X.exports=tt}}),yS=_r({"src/language-js/loc.js"(te,X){Mr();var tt=cN();function Tt(ne,e){let{ignoreDecorators:a}=e||{};if(!a){let u=ne.declaration&&ne.declaration.decorators||ne.decorators;if(tt(u))return Tt(u[0])}return ne.range?ne.range[0]:ne.start}function fn(ne){return ne.range?ne.range[1]:ne.end}function Pt(ne,e){let a=Tt(ne);return Number.isInteger(a)&&a===Tt(e)}function dt(ne,e){let a=fn(ne);return Number.isInteger(a)&&a===fn(e)}function wt(ne,e){return Pt(ne,e)&&dt(ne,e)}X.exports={locStart:Tt,locEnd:fn,hasSameLocStart:Pt,hasSameLoc:wt}}}),uN=_r({"src/language-js/parse/utils/create-parser.js"(te,X){Mr();var{hasPragma:tt}=sN(),{locStart:Tt,locEnd:fn}=yS();function Pt(dt){return dt=typeof dt=="function"?{parse:dt}:dt,Object.assign({astFormat:"estree",hasPragma:tt,locStart:Tt,locEnd:fn},dt)}X.exports=Pt}}),lN=_r({"src/language-js/parse/utils/replace-hashbang.js"(te,X){Mr();function tt(Tt){return Tt.charAt(0)==="#"&&Tt.charAt(1)==="!"?"//"+Tt.slice(2):Tt}X.exports=tt}}),_N=_r({"src/language-js/utils/is-ts-keyword-type.js"(te,X){Mr();function tt(Tt){let{type:fn}=Tt;return fn.startsWith("TS")&&fn.endsWith("Keyword")}X.exports=tt}}),dN=_r({"src/language-js/utils/is-block-comment.js"(te,X){Mr();function tt(Tt){return Tt.type==="Block"||Tt.type==="CommentBlock"||Tt.type==="MultiLine"}X.exports=tt}}),pN=_r({"src/language-js/utils/is-type-cast-comment.js"(te,X){Mr();var tt=dN();function Tt(fn){return tt(fn)&&fn.value[0]==="*"&&/@type\b/.test(fn.value)}X.exports=Tt}}),fN=_r({"src/utils/get-last.js"(te,X){Mr();var tt=Tt=>Tt[Tt.length-1];X.exports=tt}}),vS=_r({"src/language-js/parse/postprocess/visit-node.js"(te,X){Mr();function tt(Tt,fn){if(Array.isArray(Tt)){for(let Pt=0;Pt{let v=a.get(r);return!v||!P.includes(v)}))&&fn(e,"Leading decorators must be attached to a class declaration")}function dt(ne,e){ne.kind!==166||ne.modifiers&&!ne.modifiers.some(a=>a.kind===126)||ne.initializer&&e.value===null&&fn(e,"Abstract property cannot have an initializer")}function wt(ne,e){let{esTreeNodeToTSNodeMap:a,tsNodeToESTreeNodeMap:u}=e.tsParseResult;Tt(ne,P=>{let r=a.get(P);if(!r)return;let v=u.get(r);v===P&&(Pt(r,v,u),dt(r,v))})}X.exports={throwErrorForInvalidNodes:wt}}}),gN=_r({"src/language-js/parse/postprocess/index.js"(te,X){Mr();var{locStart:tt,locEnd:Tt}=yS(),fn=_N(),Pt=pN(),dt=fN(),wt=vS(),{throwErrorForInvalidNodes:ne}=mN();function e(r,v){if(v.parser==="typescript"&&/@|abstract/.test(v.originalText)&&ne(r,v),v.parser!=="typescript"&&v.parser!=="flow"&&v.parser!=="acorn"&&v.parser!=="espree"&&v.parser!=="meriyah"){let ue=new Set;r=wt(r,h=>{h.leadingComments&&h.leadingComments.some(Pt)&&ue.add(tt(h))}),r=wt(r,h=>{if(h.type==="ParenthesizedExpression"){let{expression:S}=h;if(S.type==="TypeCastExpression")return S.range=h.range,S;let k=tt(h);if(!ue.has(k))return S.extra=Object.assign(Object.assign({},S.extra),{},{parenthesized:!0}),S}})}return r=wt(r,ue=>{switch(ue.type){case"ChainExpression":return a(ue.expression);case"LogicalExpression":{if(u(ue))return P(ue);break}case"VariableDeclaration":{let h=dt(ue.declarations);h&&h.init&&G(ue,h);break}case"TSParenthesizedType":return fn(ue.typeAnnotation)||ue.typeAnnotation.type==="TSThisType"||(ue.typeAnnotation.range=[tt(ue),Tt(ue)]),ue.typeAnnotation;case"TSTypeParameter":if(typeof ue.name=="string"){let h=tt(ue);ue.name={type:"Identifier",name:ue.name,range:[h,h+ue.name.length]}}break;case"SequenceExpression":{let h=dt(ue.expressions);ue.range=[tt(ue),Math.min(Tt(h),Tt(ue))];break}case"TopicReference":v.__isUsingHackPipeline=!0;break;case"ExportAllDeclaration":{let{exported:h}=ue;if(v.parser==="meriyah"&&h&&h.type==="Identifier"){let S=v.originalText.slice(tt(h),Tt(h));(S.startsWith('"')||S.startsWith("'"))&&(ue.exported=Object.assign(Object.assign({},ue.exported),{},{type:"Literal",value:ue.exported.name,raw:S}))}break}}}),r;function G(ue,h){v.originalText[Tt(h)]!==";"&&(ue.range=[tt(ue),Tt(h)])}}function a(r){switch(r.type){case"CallExpression":r.type="OptionalCallExpression",r.callee=a(r.callee);break;case"MemberExpression":r.type="OptionalMemberExpression",r.object=a(r.object);break;case"TSNonNullExpression":r.expression=a(r.expression);break}return r}function u(r){return r.type==="LogicalExpression"&&r.right.type==="LogicalExpression"&&r.operator===r.right.operator}function P(r){return u(r)?P({type:"LogicalExpression",operator:r.operator,left:P({type:"LogicalExpression",operator:r.operator,left:r.left,right:r.right.left,range:[tt(r.left),Tt(r.right.left)]}),right:r.right.right,range:[tt(r),Tt(r)]}):r}X.exports=e}}),Ym=_r({"scripts/build/shims/debug.cjs"(te,X){Mr(),X.exports=()=>()=>{}}}),yN=_r({"node_modules/is-extglob/index.js"(te,X){Mr(),X.exports=function(tt){if(typeof tt!="string"||tt==="")return!1;for(var Tt;Tt=/(\\).|([@?!+*]\(.*\))/g.exec(tt);){if(Tt[2])return!0;tt=tt.slice(Tt.index+Tt[0].length)}return!1}}}),vN=_r({"node_modules/is-glob/index.js"(te,X){Mr();var tt=yN(),Tt={"{":"}","(":")","[":"]"},fn=function(dt){if(dt[0]==="!")return!0;for(var wt=0,ne=-2,e=-2,a=-2,u=-2,P=-2;wtwt&&(P===-1||P>e||(P=dt.indexOf("\\",wt),P===-1||P>e)))||a!==-1&&dt[wt]==="{"&&dt[wt+1]!=="}"&&(a=dt.indexOf("}",wt),a>wt&&(P=dt.indexOf("\\",wt),P===-1||P>a))||u!==-1&&dt[wt]==="("&&dt[wt+1]==="?"&&/[:!=]/.test(dt[wt+2])&&dt[wt+3]!==")"&&(u=dt.indexOf(")",wt),u>wt&&(P=dt.indexOf("\\",wt),P===-1||P>u))||ne!==-1&&dt[wt]==="("&&dt[wt+1]!=="|"&&(nene&&(P=dt.indexOf("\\",ne),P===-1||P>u))))return!0;if(dt[wt]==="\\"){var r=dt[wt+1];wt+=2;var v=Tt[r];if(v){var G=dt.indexOf(v,wt);G!==-1&&(wt=G+1)}if(dt[wt]==="!")return!0}else wt++}return!1},Pt=function(dt){if(dt[0]==="!")return!0;for(var wt=0;wt{};X.exports=tt}}),Ug=_r({"node_modules/semver/internal/re.js"(te,X){Mr();var{MAX_SAFE_COMPONENT_LENGTH:tt}=Zv(),Tt=e0();te=X.exports={};var fn=te.re=[],Pt=te.src=[],dt=te.t={},wt=0,ne=(e,a,u)=>{let P=wt++;Tt(P,a),dt[e]=P,Pt[P]=a,fn[P]=new RegExp(a,u?"g":void 0)};ne("NUMERICIDENTIFIER","0|[1-9]\\d*"),ne("NUMERICIDENTIFIERLOOSE","[0-9]+"),ne("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),ne("MAINVERSION","(".concat(Pt[dt.NUMERICIDENTIFIER],")\\.(").concat(Pt[dt.NUMERICIDENTIFIER],")\\.(").concat(Pt[dt.NUMERICIDENTIFIER],")")),ne("MAINVERSIONLOOSE","(".concat(Pt[dt.NUMERICIDENTIFIERLOOSE],")\\.(").concat(Pt[dt.NUMERICIDENTIFIERLOOSE],")\\.(").concat(Pt[dt.NUMERICIDENTIFIERLOOSE],")")),ne("PRERELEASEIDENTIFIER","(?:".concat(Pt[dt.NUMERICIDENTIFIER],"|").concat(Pt[dt.NONNUMERICIDENTIFIER],")")),ne("PRERELEASEIDENTIFIERLOOSE","(?:".concat(Pt[dt.NUMERICIDENTIFIERLOOSE],"|").concat(Pt[dt.NONNUMERICIDENTIFIER],")")),ne("PRERELEASE","(?:-(".concat(Pt[dt.PRERELEASEIDENTIFIER],"(?:\\.").concat(Pt[dt.PRERELEASEIDENTIFIER],")*))")),ne("PRERELEASELOOSE","(?:-?(".concat(Pt[dt.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(Pt[dt.PRERELEASEIDENTIFIERLOOSE],")*))")),ne("BUILDIDENTIFIER","[0-9A-Za-z-]+"),ne("BUILD","(?:\\+(".concat(Pt[dt.BUILDIDENTIFIER],"(?:\\.").concat(Pt[dt.BUILDIDENTIFIER],")*))")),ne("FULLPLAIN","v?".concat(Pt[dt.MAINVERSION]).concat(Pt[dt.PRERELEASE],"?").concat(Pt[dt.BUILD],"?")),ne("FULL","^".concat(Pt[dt.FULLPLAIN],"$")),ne("LOOSEPLAIN","[v=\\s]*".concat(Pt[dt.MAINVERSIONLOOSE]).concat(Pt[dt.PRERELEASELOOSE],"?").concat(Pt[dt.BUILD],"?")),ne("LOOSE","^".concat(Pt[dt.LOOSEPLAIN],"$")),ne("GTLT","((?:<|>)?=?)"),ne("XRANGEIDENTIFIERLOOSE","".concat(Pt[dt.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),ne("XRANGEIDENTIFIER","".concat(Pt[dt.NUMERICIDENTIFIER],"|x|X|\\*")),ne("XRANGEPLAIN","[v=\\s]*(".concat(Pt[dt.XRANGEIDENTIFIER],")(?:\\.(").concat(Pt[dt.XRANGEIDENTIFIER],")(?:\\.(").concat(Pt[dt.XRANGEIDENTIFIER],")(?:").concat(Pt[dt.PRERELEASE],")?").concat(Pt[dt.BUILD],"?)?)?")),ne("XRANGEPLAINLOOSE","[v=\\s]*(".concat(Pt[dt.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(Pt[dt.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(Pt[dt.XRANGEIDENTIFIERLOOSE],")(?:").concat(Pt[dt.PRERELEASELOOSE],")?").concat(Pt[dt.BUILD],"?)?)?")),ne("XRANGE","^".concat(Pt[dt.GTLT],"\\s*").concat(Pt[dt.XRANGEPLAIN],"$")),ne("XRANGELOOSE","^".concat(Pt[dt.GTLT],"\\s*").concat(Pt[dt.XRANGEPLAINLOOSE],"$")),ne("COERCE","(^|[^\\d])(\\d{1,".concat(tt,"})(?:\\.(\\d{1,").concat(tt,"}))?(?:\\.(\\d{1,").concat(tt,"}))?(?:$|[^\\d])")),ne("COERCERTL",Pt[dt.COERCE],!0),ne("LONETILDE","(?:~>?)"),ne("TILDETRIM","(\\s*)".concat(Pt[dt.LONETILDE],"\\s+"),!0),te.tildeTrimReplace="$1~",ne("TILDE","^".concat(Pt[dt.LONETILDE]).concat(Pt[dt.XRANGEPLAIN],"$")),ne("TILDELOOSE","^".concat(Pt[dt.LONETILDE]).concat(Pt[dt.XRANGEPLAINLOOSE],"$")),ne("LONECARET","(?:\\^)"),ne("CARETTRIM","(\\s*)".concat(Pt[dt.LONECARET],"\\s+"),!0),te.caretTrimReplace="$1^",ne("CARET","^".concat(Pt[dt.LONECARET]).concat(Pt[dt.XRANGEPLAIN],"$")),ne("CARETLOOSE","^".concat(Pt[dt.LONECARET]).concat(Pt[dt.XRANGEPLAINLOOSE],"$")),ne("COMPARATORLOOSE","^".concat(Pt[dt.GTLT],"\\s*(").concat(Pt[dt.LOOSEPLAIN],")$|^$")),ne("COMPARATOR","^".concat(Pt[dt.GTLT],"\\s*(").concat(Pt[dt.FULLPLAIN],")$|^$")),ne("COMPARATORTRIM","(\\s*)".concat(Pt[dt.GTLT],"\\s*(").concat(Pt[dt.LOOSEPLAIN],"|").concat(Pt[dt.XRANGEPLAIN],")"),!0),te.comparatorTrimReplace="$1$2$3",ne("HYPHENRANGE","^\\s*(".concat(Pt[dt.XRANGEPLAIN],")\\s+-\\s+(").concat(Pt[dt.XRANGEPLAIN],")\\s*$")),ne("HYPHENRANGELOOSE","^\\s*(".concat(Pt[dt.XRANGEPLAINLOOSE],")\\s+-\\s+(").concat(Pt[dt.XRANGEPLAINLOOSE],")\\s*$")),ne("STAR","(<|>)?=?\\s*\\*"),ne("GTE0","^\\s*>=\\s*0.0.0\\s*$"),ne("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}}),t0=_r({"node_modules/semver/internal/parse-options.js"(te,X){Mr();var tt=["includePrerelease","loose","rtl"],Tt=fn=>fn?typeof fn!="object"?{loose:!0}:tt.filter(Pt=>fn[Pt]).reduce((Pt,dt)=>(Pt[dt]=!0,Pt),{}):{};X.exports=Tt}}),D1=_r({"node_modules/semver/internal/identifiers.js"(te,X){Mr();var tt=/^[0-9]+$/,Tt=(Pt,dt)=>{let wt=tt.test(Pt),ne=tt.test(dt);return wt&&ne&&(Pt=+Pt,dt=+dt),Pt===dt?0:wt&&!ne?-1:ne&&!wt?1:PtTt(dt,Pt);X.exports={compareIdentifiers:Tt,rcompareIdentifiers:fn}}}),m_=_r({"node_modules/semver/classes/semver.js"(te,X){Mr();var tt=e0(),{MAX_LENGTH:Tt,MAX_SAFE_INTEGER:fn}=Zv(),{re:Pt,t:dt}=Ug(),wt=t0(),{compareIdentifiers:ne}=D1(),e=class{constructor(a,u){if(u=wt(u),a instanceof e){if(a.loose===!!u.loose&&a.includePrerelease===!!u.includePrerelease)return a;a=a.version}else if(typeof a!="string")throw new TypeError("Invalid Version: ".concat(a));if(a.length>Tt)throw new TypeError("version is longer than ".concat(Tt," characters"));tt("SemVer",a,u),this.options=u,this.loose=!!u.loose,this.includePrerelease=!!u.includePrerelease;let P=a.trim().match(u.loose?Pt[dt.LOOSE]:Pt[dt.FULL]);if(!P)throw new TypeError("Invalid Version: ".concat(a));if(this.raw=a,this.major=+P[1],this.minor=+P[2],this.patch=+P[3],this.major>fn||this.major<0)throw new TypeError("Invalid major version");if(this.minor>fn||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>fn||this.patch<0)throw new TypeError("Invalid patch version");P[4]?this.prerelease=P[4].split(".").map(r=>{if(/^[0-9]+$/.test(r)){let v=+r;if(v>=0&&v=0;)typeof this.prerelease[P]=="number"&&(this.prerelease[P]++,P=-2);P===-1&&this.prerelease.push(0)}u&&(this.prerelease[0]===u?isNaN(this.prerelease[1])&&(this.prerelease=[u,0]):this.prerelease=[u,0]);break;default:throw new Error("invalid increment argument: ".concat(a))}return this.format(),this.raw=this.version,this}};X.exports=e}}),qg=_r({"node_modules/semver/functions/parse.js"(te,X){Mr();var{MAX_LENGTH:tt}=Zv(),{re:Tt,t:fn}=Ug(),Pt=m_(),dt=t0(),wt=(ne,e)=>{if(e=dt(e),ne instanceof Pt)return ne;if(typeof ne!="string"||ne.length>tt||!(e.loose?Tt[fn.LOOSE]:Tt[fn.FULL]).test(ne))return null;try{return new Pt(ne,e)}catch{return null}};X.exports=wt}}),hN=_r({"node_modules/semver/functions/valid.js"(te,X){Mr();var tt=qg(),Tt=(fn,Pt)=>{let dt=tt(fn,Pt);return dt?dt.version:null};X.exports=Tt}}),xN=_r({"node_modules/semver/functions/clean.js"(te,X){Mr();var tt=qg(),Tt=(fn,Pt)=>{let dt=tt(fn.trim().replace(/^[=v]+/,""),Pt);return dt?dt.version:null};X.exports=Tt}}),bN=_r({"node_modules/semver/functions/inc.js"(te,X){Mr();var tt=m_(),Tt=(fn,Pt,dt,wt)=>{typeof dt=="string"&&(wt=dt,dt=void 0);try{return new tt(fn,dt).inc(Pt,wt).version}catch{return null}};X.exports=Tt}}),Jp=_r({"node_modules/semver/functions/compare.js"(te,X){Mr();var tt=m_(),Tt=(fn,Pt,dt)=>new tt(fn,dt).compare(new tt(Pt,dt));X.exports=Tt}}),T1=_r({"node_modules/semver/functions/eq.js"(te,X){Mr();var tt=Jp(),Tt=(fn,Pt,dt)=>tt(fn,Pt,dt)===0;X.exports=Tt}}),SN=_r({"node_modules/semver/functions/diff.js"(te,X){Mr();var tt=qg(),Tt=T1(),fn=(Pt,dt)=>{if(Tt(Pt,dt))return null;{let wt=tt(Pt),ne=tt(dt),e=wt.prerelease.length||ne.prerelease.length,a=e?"pre":"",u=e?"prerelease":"";for(let P in wt)if((P==="major"||P==="minor"||P==="patch")&&wt[P]!==ne[P])return a+P;return u}};X.exports=fn}}),DN=_r({"node_modules/semver/functions/major.js"(te,X){Mr();var tt=m_(),Tt=(fn,Pt)=>new tt(fn,Pt).major;X.exports=Tt}}),TN=_r({"node_modules/semver/functions/minor.js"(te,X){Mr();var tt=m_(),Tt=(fn,Pt)=>new tt(fn,Pt).minor;X.exports=Tt}}),EN=_r({"node_modules/semver/functions/patch.js"(te,X){Mr();var tt=m_(),Tt=(fn,Pt)=>new tt(fn,Pt).patch;X.exports=Tt}}),CN=_r({"node_modules/semver/functions/prerelease.js"(te,X){Mr();var tt=qg(),Tt=(fn,Pt)=>{let dt=tt(fn,Pt);return dt&&dt.prerelease.length?dt.prerelease:null};X.exports=Tt}}),kN=_r({"node_modules/semver/functions/rcompare.js"(te,X){Mr();var tt=Jp(),Tt=(fn,Pt,dt)=>tt(Pt,fn,dt);X.exports=Tt}}),NN=_r({"node_modules/semver/functions/compare-loose.js"(te,X){Mr();var tt=Jp(),Tt=(fn,Pt)=>tt(fn,Pt,!0);X.exports=Tt}}),E1=_r({"node_modules/semver/functions/compare-build.js"(te,X){Mr();var tt=m_(),Tt=(fn,Pt,dt)=>{let wt=new tt(fn,dt),ne=new tt(Pt,dt);return wt.compare(ne)||wt.compareBuild(ne)};X.exports=Tt}}),PN=_r({"node_modules/semver/functions/sort.js"(te,X){Mr();var tt=E1(),Tt=(fn,Pt)=>fn.sort((dt,wt)=>tt(dt,wt,Pt));X.exports=Tt}}),AN=_r({"node_modules/semver/functions/rsort.js"(te,X){Mr();var tt=E1(),Tt=(fn,Pt)=>fn.sort((dt,wt)=>tt(wt,dt,Pt));X.exports=Tt}}),n0=_r({"node_modules/semver/functions/gt.js"(te,X){Mr();var tt=Jp(),Tt=(fn,Pt,dt)=>tt(fn,Pt,dt)>0;X.exports=Tt}}),C1=_r({"node_modules/semver/functions/lt.js"(te,X){Mr();var tt=Jp(),Tt=(fn,Pt,dt)=>tt(fn,Pt,dt)<0;X.exports=Tt}}),hS=_r({"node_modules/semver/functions/neq.js"(te,X){Mr();var tt=Jp(),Tt=(fn,Pt,dt)=>tt(fn,Pt,dt)!==0;X.exports=Tt}}),k1=_r({"node_modules/semver/functions/gte.js"(te,X){Mr();var tt=Jp(),Tt=(fn,Pt,dt)=>tt(fn,Pt,dt)>=0;X.exports=Tt}}),N1=_r({"node_modules/semver/functions/lte.js"(te,X){Mr();var tt=Jp(),Tt=(fn,Pt,dt)=>tt(fn,Pt,dt)<=0;X.exports=Tt}}),xS=_r({"node_modules/semver/functions/cmp.js"(te,X){Mr();var tt=T1(),Tt=hS(),fn=n0(),Pt=k1(),dt=C1(),wt=N1(),ne=(e,a,u,P)=>{switch(a){case"===":return typeof e=="object"&&(e=e.version),typeof u=="object"&&(u=u.version),e===u;case"!==":return typeof e=="object"&&(e=e.version),typeof u=="object"&&(u=u.version),e!==u;case"":case"=":case"==":return tt(e,u,P);case"!=":return Tt(e,u,P);case">":return fn(e,u,P);case">=":return Pt(e,u,P);case"<":return dt(e,u,P);case"<=":return wt(e,u,P);default:throw new TypeError("Invalid operator: ".concat(a))}};X.exports=ne}}),FN=_r({"node_modules/semver/functions/coerce.js"(te,X){Mr();var tt=m_(),Tt=qg(),{re:fn,t:Pt}=Ug(),dt=(wt,ne)=>{if(wt instanceof tt)return wt;if(typeof wt=="number"&&(wt=String(wt)),typeof wt!="string")return null;ne=ne||{};let e=null;if(!ne.rtl)e=wt.match(fn[Pt.COERCE]);else{let a;for(;(a=fn[Pt.COERCERTL].exec(wt))&&(!e||e.index+e[0].length!==wt.length);)(!e||a.index+a[0].length!==e.index+e[0].length)&&(e=a),fn[Pt.COERCERTL].lastIndex=a.index+a[1].length+a[2].length;fn[Pt.COERCERTL].lastIndex=-1}return e===null?null:Tt("".concat(e[2],".").concat(e[3]||"0",".").concat(e[4]||"0"),ne)};X.exports=dt}}),wN=_r({"node_modules/semver/node_modules/yallist/iterator.js"(te,X){Mr(),X.exports=function(tt){tt.prototype[Symbol.iterator]=function*(){for(let Tt=this.head;Tt;Tt=Tt.next)yield Tt.value}}}}),IN=_r({"node_modules/semver/node_modules/yallist/yallist.js"(te,X){Mr(),X.exports=tt,tt.Node=dt,tt.create=tt;function tt(wt){var ne=this;if(ne instanceof tt||(ne=new tt),ne.tail=null,ne.head=null,ne.length=0,wt&&typeof wt.forEach=="function")wt.forEach(function(u){ne.push(u)});else if(arguments.length>0)for(var e=0,a=arguments.length;e1)e=ne;else if(this.head)a=this.head.next,e=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var u=0;a!==null;u++)e=wt(e,a.value,u),a=a.next;return e},tt.prototype.reduceReverse=function(wt,ne){var e,a=this.tail;if(arguments.length>1)e=ne;else if(this.tail)a=this.tail.prev,e=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var u=this.length-1;a!==null;u--)e=wt(e,a.value,u),a=a.prev;return e},tt.prototype.toArray=function(){for(var wt=new Array(this.length),ne=0,e=this.head;e!==null;ne++)wt[ne]=e.value,e=e.next;return wt},tt.prototype.toArrayReverse=function(){for(var wt=new Array(this.length),ne=0,e=this.tail;e!==null;ne++)wt[ne]=e.value,e=e.prev;return wt},tt.prototype.slice=function(wt,ne){ne=ne||this.length,ne<0&&(ne+=this.length),wt=wt||0,wt<0&&(wt+=this.length);var e=new tt;if(nethis.length&&(ne=this.length);for(var a=0,u=this.head;u!==null&&athis.length&&(ne=this.length);for(var a=this.length,u=this.tail;u!==null&&a>ne;a--)u=u.prev;for(;u!==null&&a>wt;a--,u=u.prev)e.push(u.value);return e},tt.prototype.splice=function(wt,ne){wt>this.length&&(wt=this.length-1),wt<0&&(wt=this.length+wt);for(var e=0,a=this.head;a!==null&&e1,v=class{constructor(le){if(typeof le=="number"&&(le={max:le}),le||(le={}),le.max&&(typeof le.max!="number"||le.max<0))throw new TypeError("max must be a non-negative number");this[Tt]=le.max||1/0;let f=le.length||r;if(this[Pt]=typeof f!="function"?r:f,this[dt]=le.stale||!1,le.maxAge&&typeof le.maxAge!="number")throw new TypeError("maxAge must be a number");this[wt]=le.maxAge||0,this[ne]=le.dispose,this[e]=le.noDisposeOnSet||!1,this[P]=le.updateAgeOnGet||!1,this.reset()}set max(le){if(typeof le!="number"||le<0)throw new TypeError("max must be a non-negative number");this[Tt]=le||1/0,h(this)}get max(){return this[Tt]}set allowStale(le){this[dt]=!!le}get allowStale(){return this[dt]}set maxAge(le){if(typeof le!="number")throw new TypeError("maxAge must be a non-negative number");this[wt]=le,h(this)}get maxAge(){return this[wt]}set lengthCalculator(le){typeof le!="function"&&(le=r),le!==this[Pt]&&(this[Pt]=le,this[fn]=0,this[a].forEach(f=>{f.length=this[Pt](f.value,f.key),this[fn]+=f.length})),h(this)}get lengthCalculator(){return this[Pt]}get length(){return this[fn]}get itemCount(){return this[a].length}rforEach(le,f){f=f||this;for(let b=this[a].tail;b!==null;){let y=b.prev;se(this,le,b,f),b=y}}forEach(le,f){f=f||this;for(let b=this[a].head;b!==null;){let y=b.next;se(this,le,b,f),b=y}}keys(){return this[a].toArray().map(le=>le.key)}values(){return this[a].toArray().map(le=>le.value)}reset(){this[ne]&&this[a]&&this[a].length&&this[a].forEach(le=>this[ne](le.key,le.value)),this[u]=new Map,this[a]=new tt,this[fn]=0}dump(){return this[a].map(le=>ue(this,le)?!1:{k:le.key,v:le.value,e:le.now+(le.maxAge||0)}).toArray().filter(le=>le)}dumpLru(){return this[a]}set(le,f,b){if(b=b||this[wt],b&&typeof b!="number")throw new TypeError("maxAge must be a number");let y=b?Date.now():0,K=this[Pt](f,le);if(this[u].has(le)){if(K>this[Tt])return S(this,this[u].get(le)),!1;let Y=this[u].get(le).value;return this[ne]&&(this[e]||this[ne](le,Y.value)),Y.now=y,Y.maxAge=b,Y.value=f,this[fn]+=K-Y.length,Y.length=K,this.get(le),h(this),!0}let ce=new k(le,f,K,y,b);return ce.length>this[Tt]?(this[ne]&&this[ne](le,f),!1):(this[fn]+=ce.length,this[a].unshift(ce),this[u].set(le,this[a].head),h(this),!0)}has(le){if(!this[u].has(le))return!1;let f=this[u].get(le).value;return!ue(this,f)}get(le){return G(this,le,!0)}peek(le){return G(this,le,!1)}pop(){let le=this[a].tail;return le?(S(this,le),le.value):null}del(le){S(this,this[u].get(le))}load(le){this.reset();let f=Date.now();for(let b=le.length-1;b>=0;b--){let y=le[b],K=y.e||0;if(K===0)this.set(y.k,y.v);else{let ce=K-f;ce>0&&this.set(y.k,y.v,ce)}}}prune(){this[u].forEach((le,f)=>G(this,f,!1))}},G=(le,f,b)=>{let y=le[u].get(f);if(y){let K=y.value;if(ue(le,K)){if(S(le,y),!le[dt])return}else b&&(le[P]&&(y.value.now=Date.now()),le[a].unshiftNode(y));return K.value}},ue=(le,f)=>{if(!f||!f.maxAge&&!le[wt])return!1;let b=Date.now()-f.now;return f.maxAge?b>f.maxAge:le[wt]&&b>le[wt]},h=le=>{if(le[fn]>le[Tt])for(let f=le[a].tail;le[fn]>le[Tt]&&f!==null;){let b=f.prev;S(le,f),f=b}},S=(le,f)=>{if(f){let b=f.value;le[ne]&&le[ne](b.key,b.value),le[fn]-=b.length,le[u].delete(b.key),le[a].removeNode(f)}},k=class{constructor(le,f,b,y,K){this.key=le,this.value=f,this.length=b,this.now=y,this.maxAge=K||0}},se=(le,f,b,y)=>{let K=b.value;ue(le,K)&&(S(le,b),le[dt]||(K=void 0)),K&&f.call(y,K.value,K.key,le)};X.exports=v}}),Kp=_r({"node_modules/semver/classes/range.js"(te,X){Mr();var tt=class{constructor(F,O){if(O=Pt(O),F instanceof tt)return F.loose===!!O.loose&&F.includePrerelease===!!O.includePrerelease?F:new tt(F.raw,O);if(F instanceof dt)return this.raw=F.value,this.set=[[F]],this.format(),this;if(this.options=O,this.loose=!!O.loose,this.includePrerelease=!!O.includePrerelease,this.raw=F,this.set=F.split(/\s*\|\|\s*/).map(Q=>this.parseRange(Q.trim())).filter(Q=>Q.length),!this.set.length)throw new TypeError("Invalid SemVer Range: ".concat(F));if(this.set.length>1){let Q=this.set[0];if(this.set=this.set.filter(de=>!v(de[0])),this.set.length===0)this.set=[Q];else if(this.set.length>1){for(let de of this.set)if(de.length===1&&G(de[0])){this.set=[de];break}}}this.format()}format(){return this.range=this.set.map(F=>F.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(F){F=F.trim();let O=Object.keys(this.options).join(","),Q="parseRange:".concat(O,":").concat(F),de=fn.get(Q);if(de)return de;let $=this.options.loose,I=$?e[a.HYPHENRANGELOOSE]:e[a.HYPHENRANGE];F=F.replace(I,Y(this.options.includePrerelease)),wt("hyphen replace",F),F=F.replace(e[a.COMPARATORTRIM],u),wt("comparator trim",F,e[a.COMPARATORTRIM]),F=F.replace(e[a.TILDETRIM],P),F=F.replace(e[a.CARETTRIM],r),F=F.split(/\s+/).join(" ");let Z=$?e[a.COMPARATORLOOSE]:e[a.COMPARATOR],z=F.split(" ").map(A=>h(A,this.options)).join(" ").split(/\s+/).map(A=>ce(A,this.options)).filter(this.options.loose?A=>!!A.match(Z):()=>!0).map(A=>new dt(A,this.options));z.length;let ie=new Map;for(let A of z){if(v(A))return[A];ie.set(A.value,A)}ie.size>1&&ie.has("")&&ie.delete("");let m=[...ie.values()];return fn.set(Q,m),m}intersects(F,O){if(!(F instanceof tt))throw new TypeError("a Range is required");return this.set.some(Q=>ue(Q,O)&&F.set.some(de=>ue(de,O)&&Q.every($=>de.every(I=>$.intersects(I,O)))))}test(F){if(!F)return!1;if(typeof F=="string")try{F=new ne(F,this.options)}catch{return!1}for(let O=0;OF.value==="<0.0.0-0",G=F=>F.value==="",ue=(F,O)=>{let Q=!0,de=F.slice(),$=de.pop();for(;Q&&de.length;)Q=de.every(I=>$.intersects(I,O)),$=de.pop();return Q},h=(F,O)=>(wt("comp",F,O),F=le(F,O),wt("caret",F),F=k(F,O),wt("tildes",F),F=b(F,O),wt("xrange",F),F=K(F,O),wt("stars",F),F),S=F=>!F||F.toLowerCase()==="x"||F==="*",k=(F,O)=>F.trim().split(/\s+/).map(Q=>se(Q,O)).join(" "),se=(F,O)=>{let Q=O.loose?e[a.TILDELOOSE]:e[a.TILDE];return F.replace(Q,(de,$,I,Z,z)=>{wt("tilde",F,de,$,I,Z,z);let ie;return S($)?ie="":S(I)?ie=">=".concat($,".0.0 <").concat(+$+1,".0.0-0"):S(Z)?ie=">=".concat($,".").concat(I,".0 <").concat($,".").concat(+I+1,".0-0"):z?(wt("replaceTilde pr",z),ie=">=".concat($,".").concat(I,".").concat(Z,"-").concat(z," <").concat($,".").concat(+I+1,".0-0")):ie=">=".concat($,".").concat(I,".").concat(Z," <").concat($,".").concat(+I+1,".0-0"),wt("tilde return",ie),ie})},le=(F,O)=>F.trim().split(/\s+/).map(Q=>f(Q,O)).join(" "),f=(F,O)=>{wt("caret",F,O);let Q=O.loose?e[a.CARETLOOSE]:e[a.CARET],de=O.includePrerelease?"-0":"";return F.replace(Q,($,I,Z,z,ie)=>{wt("caret",F,$,I,Z,z,ie);let m;return S(I)?m="":S(Z)?m=">=".concat(I,".0.0").concat(de," <").concat(+I+1,".0.0-0"):S(z)?I==="0"?m=">=".concat(I,".").concat(Z,".0").concat(de," <").concat(I,".").concat(+Z+1,".0-0"):m=">=".concat(I,".").concat(Z,".0").concat(de," <").concat(+I+1,".0.0-0"):ie?(wt("replaceCaret pr",ie),I==="0"?Z==="0"?m=">=".concat(I,".").concat(Z,".").concat(z,"-").concat(ie," <").concat(I,".").concat(Z,".").concat(+z+1,"-0"):m=">=".concat(I,".").concat(Z,".").concat(z,"-").concat(ie," <").concat(I,".").concat(+Z+1,".0-0"):m=">=".concat(I,".").concat(Z,".").concat(z,"-").concat(ie," <").concat(+I+1,".0.0-0")):(wt("no pr"),I==="0"?Z==="0"?m=">=".concat(I,".").concat(Z,".").concat(z).concat(de," <").concat(I,".").concat(Z,".").concat(+z+1,"-0"):m=">=".concat(I,".").concat(Z,".").concat(z).concat(de," <").concat(I,".").concat(+Z+1,".0-0"):m=">=".concat(I,".").concat(Z,".").concat(z," <").concat(+I+1,".0.0-0")),wt("caret return",m),m})},b=(F,O)=>(wt("replaceXRanges",F,O),F.split(/\s+/).map(Q=>y(Q,O)).join(" ")),y=(F,O)=>{F=F.trim();let Q=O.loose?e[a.XRANGELOOSE]:e[a.XRANGE];return F.replace(Q,(de,$,I,Z,z,ie)=>{wt("xRange",F,de,$,I,Z,z,ie);let m=S(I),A=m||S(Z),g=A||S(z),C=g;return $==="="&&C&&($=""),ie=O.includePrerelease?"-0":"",m?$===">"||$==="<"?de="<0.0.0-0":de="*":$&&C?(A&&(Z=0),z=0,$===">"?($=">=",A?(I=+I+1,Z=0,z=0):(Z=+Z+1,z=0)):$==="<="&&($="<",A?I=+I+1:Z=+Z+1),$==="<"&&(ie="-0"),de="".concat($+I,".").concat(Z,".").concat(z).concat(ie)):A?de=">=".concat(I,".0.0").concat(ie," <").concat(+I+1,".0.0-0"):g&&(de=">=".concat(I,".").concat(Z,".0").concat(ie," <").concat(I,".").concat(+Z+1,".0-0")),wt("xRange return",de),de})},K=(F,O)=>(wt("replaceStars",F,O),F.trim().replace(e[a.STAR],"")),ce=(F,O)=>(wt("replaceGTE0",F,O),F.trim().replace(e[O.includePrerelease?a.GTE0PRE:a.GTE0],"")),Y=F=>(O,Q,de,$,I,Z,z,ie,m,A,g,C,N)=>(S(de)?Q="":S($)?Q=">=".concat(de,".0.0").concat(F?"-0":""):S(I)?Q=">=".concat(de,".").concat($,".0").concat(F?"-0":""):Z?Q=">=".concat(Q):Q=">=".concat(Q).concat(F?"-0":""),S(m)?ie="":S(A)?ie="<".concat(+m+1,".0.0-0"):S(g)?ie="<".concat(m,".").concat(+A+1,".0-0"):C?ie="<=".concat(m,".").concat(A,".").concat(g,"-").concat(C):F?ie="<".concat(m,".").concat(A,".").concat(+g+1,"-0"):ie="<=".concat(ie),"".concat(Q," ").concat(ie).trim()),re=(F,O,Q)=>{for(let de=0;de0){let $=F[de].semver;if($.major===O.major&&$.minor===O.minor&&$.patch===O.patch)return!0}return!1}return!0}}}),r0=_r({"node_modules/semver/classes/comparator.js"(te,X){Mr();var tt=Symbol("SemVer ANY"),Tt=class{static get ANY(){return tt}constructor(u,P){if(P=fn(P),u instanceof Tt){if(u.loose===!!P.loose)return u;u=u.value}ne("comparator",u,P),this.options=P,this.loose=!!P.loose,this.parse(u),this.semver===tt?this.value="":this.value=this.operator+this.semver.version,ne("comp",this)}parse(u){let P=this.options.loose?Pt[dt.COMPARATORLOOSE]:Pt[dt.COMPARATOR],r=u.match(P);if(!r)throw new TypeError("Invalid comparator: ".concat(u));this.operator=r[1]!==void 0?r[1]:"",this.operator==="="&&(this.operator=""),r[2]?this.semver=new e(r[2],this.options.loose):this.semver=tt}toString(){return this.value}test(u){if(ne("Comparator.test",u,this.options.loose),this.semver===tt||u===tt)return!0;if(typeof u=="string")try{u=new e(u,this.options)}catch{return!1}return wt(u,this.operator,this.semver,this.options)}intersects(u,P){if(!(u instanceof Tt))throw new TypeError("a Comparator is required");if((!P||typeof P!="object")&&(P={loose:!!P,includePrerelease:!1}),this.operator==="")return this.value===""?!0:new a(u.value,P).test(this.value);if(u.operator==="")return u.value===""?!0:new a(this.value,P).test(u.semver);let r=(this.operator===">="||this.operator===">")&&(u.operator===">="||u.operator===">"),v=(this.operator==="<="||this.operator==="<")&&(u.operator==="<="||u.operator==="<"),G=this.semver.version===u.semver.version,ue=(this.operator===">="||this.operator==="<=")&&(u.operator===">="||u.operator==="<="),h=wt(this.semver,"<",u.semver,P)&&(this.operator===">="||this.operator===">")&&(u.operator==="<="||u.operator==="<"),S=wt(this.semver,">",u.semver,P)&&(this.operator==="<="||this.operator==="<")&&(u.operator===">="||u.operator===">");return r||v||G&&ue||h||S}};X.exports=Tt;var fn=t0(),{re:Pt,t:dt}=Ug(),wt=xS(),ne=e0(),e=m_(),a=Kp()}}),i0=_r({"node_modules/semver/functions/satisfies.js"(te,X){Mr();var tt=Kp(),Tt=(fn,Pt,dt)=>{try{Pt=new tt(Pt,dt)}catch{return!1}return Pt.test(fn)};X.exports=Tt}}),MN=_r({"node_modules/semver/ranges/to-comparators.js"(te,X){Mr();var tt=Kp(),Tt=(fn,Pt)=>new tt(fn,Pt).set.map(dt=>dt.map(wt=>wt.value).join(" ").trim().split(" "));X.exports=Tt}}),LN=_r({"node_modules/semver/ranges/max-satisfying.js"(te,X){Mr();var tt=m_(),Tt=Kp(),fn=(Pt,dt,wt)=>{let ne=null,e=null,a=null;try{a=new Tt(dt,wt)}catch{return null}return Pt.forEach(u=>{a.test(u)&&(!ne||e.compare(u)===-1)&&(ne=u,e=new tt(ne,wt))}),ne};X.exports=fn}}),RN=_r({"node_modules/semver/ranges/min-satisfying.js"(te,X){Mr();var tt=m_(),Tt=Kp(),fn=(Pt,dt,wt)=>{let ne=null,e=null,a=null;try{a=new Tt(dt,wt)}catch{return null}return Pt.forEach(u=>{a.test(u)&&(!ne||e.compare(u)===1)&&(ne=u,e=new tt(ne,wt))}),ne};X.exports=fn}}),jN=_r({"node_modules/semver/ranges/min-version.js"(te,X){Mr();var tt=m_(),Tt=Kp(),fn=n0(),Pt=(dt,wt)=>{dt=new Tt(dt,wt);let ne=new tt("0.0.0");if(dt.test(ne)||(ne=new tt("0.0.0-0"),dt.test(ne)))return ne;ne=null;for(let e=0;e{let r=new tt(P.semver.version);switch(P.operator){case">":r.prerelease.length===0?r.patch++:r.prerelease.push(0),r.raw=r.format();case"":case">=":(!u||fn(r,u))&&(u=r);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: ".concat(P.operator))}}),u&&(!ne||fn(ne,u))&&(ne=u)}return ne&&dt.test(ne)?ne:null};X.exports=Pt}}),BN=_r({"node_modules/semver/ranges/valid.js"(te,X){Mr();var tt=Kp(),Tt=(fn,Pt)=>{try{return new tt(fn,Pt).range||"*"}catch{return null}};X.exports=Tt}}),P1=_r({"node_modules/semver/ranges/outside.js"(te,X){Mr();var tt=m_(),Tt=r0(),{ANY:fn}=Tt,Pt=Kp(),dt=i0(),wt=n0(),ne=C1(),e=N1(),a=k1(),u=(P,r,v,G)=>{P=new tt(P,G),r=new Pt(r,G);let ue,h,S,k,se;switch(v){case">":ue=wt,h=e,S=ne,k=">",se=">=";break;case"<":ue=ne,h=a,S=wt,k="<",se="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(dt(P,r,G))return!1;for(let le=0;le{K.semver===fn&&(K=new Tt(">=0.0.0")),b=b||K,y=y||K,ue(K.semver,b.semver,G)?b=K:S(K.semver,y.semver,G)&&(y=K)}),b.operator===k||b.operator===se||(!y.operator||y.operator===k)&&h(P,y.semver)||y.operator===se&&S(P,y.semver))return!1}return!0};X.exports=u}}),JN=_r({"node_modules/semver/ranges/gtr.js"(te,X){Mr();var tt=P1(),Tt=(fn,Pt,dt)=>tt(fn,Pt,">",dt);X.exports=Tt}}),KN=_r({"node_modules/semver/ranges/ltr.js"(te,X){Mr();var tt=P1(),Tt=(fn,Pt,dt)=>tt(fn,Pt,"<",dt);X.exports=Tt}}),zN=_r({"node_modules/semver/ranges/intersects.js"(te,X){Mr();var tt=Kp(),Tt=(fn,Pt,dt)=>(fn=new tt(fn,dt),Pt=new tt(Pt,dt),fn.intersects(Pt));X.exports=Tt}}),UN=_r({"node_modules/semver/ranges/simplify.js"(te,X){Mr();var tt=i0(),Tt=Jp();X.exports=(fn,Pt,dt)=>{let wt=[],ne=null,e=null,a=fn.sort((v,G)=>Tt(v,G,dt));for(let v of a)tt(v,Pt,dt)?(e=v,ne||(ne=v)):(e&&wt.push([ne,e]),e=null,ne=null);ne&&wt.push([ne,null]);let u=[];for(let[v,G]of wt)v===G?u.push(v):!G&&v===a[0]?u.push("*"):G?v===a[0]?u.push("<=".concat(G)):u.push("".concat(v," - ").concat(G)):u.push(">=".concat(v));let P=u.join(" || "),r=typeof Pt.raw=="string"?Pt.raw:String(Pt);return P.length2&&arguments[2]!==void 0?arguments[2]:{};if(u===P)return!0;u=new tt(u,r),P=new tt(P,r);let v=!1;e:for(let G of u.set){for(let ue of P.set){let h=ne(G,ue,r);if(v=v||h!==null,h)continue e}if(v)return!1}return!0},ne=(u,P,r)=>{if(u===P)return!0;if(u.length===1&&u[0].semver===fn){if(P.length===1&&P[0].semver===fn)return!0;r.includePrerelease?u=[new Tt(">=0.0.0-0")]:u=[new Tt(">=0.0.0")]}if(P.length===1&&P[0].semver===fn){if(r.includePrerelease)return!0;P=[new Tt(">=0.0.0")]}let v=new Set,G,ue;for(let y of u)y.operator===">"||y.operator===">="?G=e(G,y,r):y.operator==="<"||y.operator==="<="?ue=a(ue,y,r):v.add(y.semver);if(v.size>1)return null;let h;if(G&&ue&&(h=dt(G.semver,ue.semver,r),h>0||h===0&&(G.operator!==">="||ue.operator!=="<=")))return null;for(let y of v){if(G&&!Pt(y,String(G),r)||ue&&!Pt(y,String(ue),r))return null;for(let K of P)if(!Pt(y,String(K),r))return!1;return!0}let S,k,se,le,f=ue&&!r.includePrerelease&&ue.semver.prerelease.length?ue.semver:!1,b=G&&!r.includePrerelease&&G.semver.prerelease.length?G.semver:!1;f&&f.prerelease.length===1&&ue.operator==="<"&&f.prerelease[0]===0&&(f=!1);for(let y of P){if(le=le||y.operator===">"||y.operator===">=",se=se||y.operator==="<"||y.operator==="<=",G){if(b&&y.semver.prerelease&&y.semver.prerelease.length&&y.semver.major===b.major&&y.semver.minor===b.minor&&y.semver.patch===b.patch&&(b=!1),y.operator===">"||y.operator===">="){if(S=e(G,y,r),S===y&&S!==G)return!1}else if(G.operator===">="&&!Pt(G.semver,String(y),r))return!1}if(ue){if(f&&y.semver.prerelease&&y.semver.prerelease.length&&y.semver.major===f.major&&y.semver.minor===f.minor&&y.semver.patch===f.patch&&(f=!1),y.operator==="<"||y.operator==="<="){if(k=a(ue,y,r),k===y&&k!==ue)return!1}else if(ue.operator==="<="&&!Pt(ue.semver,String(y),r))return!1}if(!y.operator&&(ue||G)&&h!==0)return!1}return!(G&&se&&!ue&&h!==0||ue&&le&&!G&&h!==0||b||f)},e=(u,P,r)=>{if(!u)return P;let v=dt(u.semver,P.semver,r);return v>0?u:v<0||P.operator===">"&&u.operator===">="?P:u},a=(u,P,r)=>{if(!u)return P;let v=dt(u.semver,P.semver,r);return v<0?u:v>0||P.operator==="<"&&u.operator==="<="?P:u};X.exports=wt}}),A1=_r({"node_modules/semver/index.js"(te,X){Mr();var tt=Ug();X.exports={re:tt.re,src:tt.src,tokens:tt.t,SEMVER_SPEC_VERSION:Zv().SEMVER_SPEC_VERSION,SemVer:m_(),compareIdentifiers:D1().compareIdentifiers,rcompareIdentifiers:D1().rcompareIdentifiers,parse:qg(),valid:hN(),clean:xN(),inc:bN(),diff:SN(),major:DN(),minor:TN(),patch:EN(),prerelease:CN(),compare:Jp(),rcompare:kN(),compareLoose:NN(),compareBuild:E1(),sort:PN(),rsort:AN(),gt:n0(),lt:C1(),eq:T1(),neq:hS(),gte:k1(),lte:N1(),cmp:xS(),coerce:FN(),Comparator:r0(),Range:Kp(),satisfies:i0(),toComparators:MN(),maxSatisfying:LN(),minSatisfying:RN(),minVersion:jN(),validRange:BN(),outside:P1(),gtr:JN(),ltr:KN(),intersects:zN(),simplifyRange:UN(),subset:qN()}}}),bS={};Ma(bS,{basename:()=>CS,default:()=>PS,delimiter:()=>M1,dirname:()=>ES,extname:()=>kS,isAbsolute:()=>w1,join:()=>DS,normalize:()=>F1,relative:()=>TS,resolve:()=>a0,sep:()=>O1});function SS(te,X){for(var tt=0,Tt=te.length-1;Tt>=0;Tt--){var fn=te[Tt];fn==="."?te.splice(Tt,1):fn===".."?(te.splice(Tt,1),tt++):tt&&(te.splice(Tt,1),tt--)}if(X)for(;tt--;tt)te.unshift("..");return te}function a0(){for(var te="",X=!1,tt=arguments.length-1;tt>=-1&&!X;tt--){var Tt=tt>=0?arguments[tt]:"/";if(typeof Tt!="string")throw new TypeError("Arguments to path.resolve must be strings");!Tt||(te=Tt+"/"+te,X=Tt.charAt(0)==="/")}return te=SS(I1(te.split("/"),function(fn){return!!fn}),!X).join("/"),(X?"/":"")+te||"."}function F1(te){var X=w1(te),tt=AS(te,-1)==="/";return te=SS(I1(te.split("/"),function(Tt){return!!Tt}),!X).join("/"),!te&&!X&&(te="."),te&&tt&&(te+="/"),(X?"/":"")+te}function w1(te){return te.charAt(0)==="/"}function DS(){var te=Array.prototype.slice.call(arguments,0);return F1(I1(te,function(X,tt){if(typeof X!="string")throw new TypeError("Arguments to path.join must be strings");return X}).join("/"))}function TS(te,X){te=a0(te).substr(1),X=a0(X).substr(1);function tt(e){for(var a=0;a=0&&e[u]==="";u--);return a>u?[]:e.slice(a,u-a+1)}for(var Tt=tt(te.split("/")),fn=tt(X.split("/")),Pt=Math.min(Tt.length,fn.length),dt=Pt,wt=0;wtwS});var wS,VN=ua({"node-modules-polyfills:fs"(){Mr(),wS={}}}),L1=_r({"node-modules-polyfills-commonjs:fs"(te,X){Mr();var tt=(VN(),La(FS));if(tt&&tt.default){X.exports=tt.default;for(let Tt in tt)X.exports[Tt]=tt[Tt]}else tt&&(X.exports=tt)}}),Wu=_r({"node_modules/typescript/lib/typescript.js"(te,X){Mr();var tt=te&&te.__spreadArray||function(e,a,u){if(u||arguments.length===2)for(var P=0,r=a.length,v;P0&&v[v.length-1])&&(S[0]===6||S[0]===2)){u=0;continue}if(S[0]===3&&(!v||S[1]>v[0]&&S[1]=0;Ke--){var nt=De(D[Ke],Ke);if(nt)return nt}}e.forEachRight=r;function v(D,De){if(D!==void 0)for(var Ke=0;Ke=0;Ke--){var nt=D[Ke];if(De(nt,Ke))return nt}}e.findLast=b;function y(D,De,Ke){for(var nt=Ke||0;nt=0;nt--)if(De(D[nt],nt))return nt;return-1}e.findLastIndex=K;function ce(D,De){for(var Ke=0;Ke0;return!1}e.some=Ne;function w(D,De,Ke){for(var nt,Mt=0;Mt0&&e.Debug.assertGreaterThanOrEqual(Ke(De[_n],De[_n-1]),0);t:for(var Dn=Mt;MtDn&&e.Debug.assertGreaterThanOrEqual(Ke(D[Mt],D[Mt-1]),0),Ke(De[_n],D[Mt])){case-1:nt.push(De[_n]);continue e;case 0:continue e;case 1:continue t}}return nt}e.relativeComplement=ve;function be(D,De){for(var Ke=0,nt=0,Mt=D;nt>1),mr=Ke(D[Vn],Vn);switch(nt(mr,De)){case-1:_n=Vn+1;break;case 0:return Vn;case 1:Dn=Vn-1;break}}return~_n}e.binarySearchKey=pn;function he(D,De,Ke,nt,Mt){if(D&&D.length>0){var _n=D.length;if(_n>0){var Dn=nt===void 0||nt<0?0:nt,Vn=Mt===void 0||Dn+Mt>_n-1?_n-1:Dn+Mt,mr=void 0;for(arguments.length<=2?(mr=D[Dn],Dn++):mr=Ke;Dn<=Vn;)mr=De(mr,D[Dn],Dn),Dn++;return mr}}return Ke}e.reduceLeft=he;var yt=Object.prototype.hasOwnProperty;function Gt(D,De){return yt.call(D,De)}e.hasProperty=Gt;function rn(D,De){return yt.call(D,De)?D[De]:void 0}e.getProperty=rn;function Zt(D){var De=[];for(var Ke in D)yt.call(D,Ke)&&De.push(Ke);return De}e.getOwnKeys=Zt;function kn(D){var De=[];do for(var Ke=Object.getOwnPropertyNames(D),nt=0,Mt=Ke;ntDe?1:0)}e.compareStringsCaseInsensitive=Yn;function Ar(D,De){return li(D,De)}e.compareStringsCaseSensitive=Ar;function gr(D){return D?Yn:Ar}e.getStringComparer=gr;var Si=function(){var D,De,Ke=Vn();return mr;function nt(Xr,Pi,ji){if(Xr===Pi)return 0;if(Xr===void 0)return-1;if(Pi===void 0)return 1;var da=ji(Xr,Pi);return da<0?-1:da>0?1:0}function Mt(Xr){var Pi=new Intl.Collator(Xr,{usage:"sort",sensitivity:"variant"}).compare;return function(ji,da){return nt(ji,da,Pi)}}function _n(Xr){if(Xr!==void 0)return Dn();return function(ji,da){return nt(ji,da,Pi)};function Pi(ji,da){return ji.localeCompare(da)}}function Dn(){return function(ji,da){return nt(ji,da,Xr)};function Xr(ji,da){return Pi(ji.toUpperCase(),da.toUpperCase())||Pi(ji,da)}function Pi(ji,da){return jida?1:0}}function Vn(){return typeof Intl=="object"&&typeof Intl.Collator=="function"?Mt:typeof String.prototype.localeCompare=="function"&&typeof String.prototype.toLocaleUpperCase=="function"&&"a".localeCompare("B")<0?_n:Dn}function mr(Xr){return Xr===void 0?D||(D=Ke(Xr)):Xr==="en-US"?De||(De=Ke(Xr)):Ke(Xr)}}(),_i,Nn;function Rn(){return Nn}e.getUILocale=Rn;function Bn(D){Nn!==D&&(Nn=D,_i=void 0)}e.setUILocale=Bn;function jt(D,De){var Ke=_i||(_i=Si(Nn));return Ke(D,De)}e.compareStringsCaseSensitiveUI=jt;function pr(D,De,Ke,nt){return D===De?0:D===void 0?-1:De===void 0?1:nt(D[Ke],De[Ke])}e.compareProperties=pr;function br(D,De){return lr(D?1:0,De?1:0)}e.compareBooleans=br;function Ci(D,De,Ke){for(var nt=Math.min(2,Math.floor(D.length*.34)),Mt=Math.floor(D.length*.4)+1,_n,Dn=0,Vn=De;DnKe?Dn-Ke:1),Xr=Math.floor(De.length>Ke+Dn?Ke+Dn:De.length);Mt[0]=Dn;for(var Pi=Dn,ji=1;jiKe)return;var Ho=nt;nt=Mt,Mt=Ho}var vs=nt[De.length];return vs>Ke?void 0:vs}function Da(D,De){var Ke=D.length-De.length;return Ke>=0&&D.indexOf(De,Ke)===Ke}e.endsWith=Da;function $i(D,De){return Da(D,De)?D.slice(0,D.length-De.length):D}e.removeSuffix=$i;function Xt(D,De){return Da(D,De)?D.slice(0,D.length-De.length):void 0}e.tryRemoveSuffix=Xt;function ja(D,De){return D.indexOf(De)!==-1}e.stringContains=ja;function xa(D){for(var De=D.length,Ke=De-1;Ke>0;Ke--){var nt=D.charCodeAt(Ke);if(nt>=48&&nt<=57)do--Ke,nt=D.charCodeAt(Ke);while(Ke>0&&nt>=48&&nt<=57);else if(Ke>4&&(nt===110||nt===78)){if(--Ke,nt=D.charCodeAt(Ke),nt!==105&&nt!==73||(--Ke,nt=D.charCodeAt(Ke),nt!==109&&nt!==77))break;--Ke,nt=D.charCodeAt(Ke)}else break;if(nt!==45&&nt!==46)break;De=Ke}return De===D.length?D:D.slice(0,De)}e.removeMinAndVersionNumbers=xa;function so(D,De){for(var Ke=0;KeMt&&(Mt=mr.prefix.length,nt=Vn)}return nt}e.findBestPatternMatch=ta;function ls(D,De){return D.lastIndexOf(De,0)===0}e.startsWith=ls;function qo(D,De){return ls(D,De)?D.substr(De.length):D}e.removePrefix=qo;function bo(D,De,Ke){return Ke===void 0&&(Ke=Pn),ls(Ke(D),Ke(De))?D.substring(De.length):void 0}e.tryRemovePrefix=bo;function pa(D,De){var Ke=D.prefix,nt=D.suffix;return De.length>=Ke.length+nt.length&&ls(De,Ke)&&Da(De,nt)}function oo(D,De){return function(Ke){return D(Ke)&&De(Ke)}}e.and=oo;function Ro(){for(var D=[],De=0;De=0&&e.isWhiteSpaceLike(D.charCodeAt(De));)De--;return D.slice(0,De+1)}})(ne||(ne={}));var ne;(function(e){var a;(function(u){u[u.Off=0]="Off",u[u.Error=1]="Error",u[u.Warning=2]="Warning",u[u.Info=3]="Info",u[u.Verbose=4]="Verbose"})(a=e.LogLevel||(e.LogLevel={})),function(u){var P,r=0;u.currentLogLevel=a.Warning,u.isDebugging=!1;function v(){return P!=null?P:P=new e.Version(e.version)}u.getTypeScriptVersion=v;function G(st){return u.currentLogLevel<=st}u.shouldLog=G;function ue(st,At){u.loggingHost&&G(st)&&u.loggingHost.log(st,At)}function h(st){ue(a.Info,st)}u.log=h,function(st){function At(Ht){ue(a.Error,Ht)}st.error=At;function qt(Ht){ue(a.Warning,Ht)}st.warn=qt;function Ue(Ht){ue(a.Info,Ht)}st.log=Ue;function Ie(Ht){ue(a.Verbose,Ht)}st.trace=Ie}(h=u.log||(u.log={}));var S={};function k(){return r}u.getAssertionLevel=k;function se(st){var At=r;if(r=st,st>At)for(var qt=0,Ue=e.getOwnKeys(S);qt=Ht.level&&(u[Ie]=Ht,S[Ie]=void 0)}}u.setAssertionLevel=se;function le(st){return r>=st}u.shouldAssert=le;function f(st,At){return le(st)?!0:(S[At]={level:st,assertion:u[At]},u[At]=e.noop,!1)}function b(st,At){debugger;var qt=new Error(st?"Debug Failure. ".concat(st):"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(qt,At||b),qt}u.fail=b;function y(st,At,qt){return b("".concat(At||"Unexpected node.",`\r Node `).concat(j(st.kind)," was unexpected."),qt||y)}u.failBadSyntaxKind=y;function K(st,At,qt,Ue){st||(At=At?"False expression: ".concat(At):"False expression.",qt&&(At+=`\r Verbose Debug Information: `+(typeof qt=="string"?qt:qt())),b(At,Ue||K))}u.assert=K;function ce(st,At,qt,Ue,Ie){if(st!==At){var Ht=qt?Ue?"".concat(qt," ").concat(Ue):qt:"";b("Expected ".concat(st," === ").concat(At,". ").concat(Ht),Ie||ce)}}u.assertEqual=ce;function Y(st,At,qt,Ue){st>=At&&b("Expected ".concat(st," < ").concat(At,". ").concat(qt||""),Ue||Y)}u.assertLessThan=Y;function re(st,At,qt){st>At&&b("Expected ".concat(st," <= ").concat(At),qt||re)}u.assertLessThanOrEqual=re;function F(st,At,qt){st= ").concat(At),qt||F)}u.assertGreaterThanOrEqual=F;function O(st,At,qt){st==null&&b(At,qt||O)}u.assertIsDefined=O;function Q(st,At,qt){return O(st,At,qt||Q),st}u.checkDefined=Q;function de(st,At,qt){for(var Ue=0,Ie=st;Ue0&&Ue[0][0]===0?Ue[0][1]:"0";if(qt){for(var Ie="",Ht=st,_t=0,It=Ue;_tst)break;Be!==0&&Be&st&&(Ie="".concat(Ie).concat(Ie?"|":"").concat(We),Ht&=~Be)}if(Ht===0)return Ie}else for(var Ft=0,Lt=Ue;Ft=0;return fe?Ce(st,Ht,It,At.message):Be?ge(st,Ht,It,At.message):e.noop}function ft(st,At){return function(){return st(),At.apply(this,arguments)}}function vt(st,At){var qt=ze(N(st),At);return ft(qt,st)}u.deprecate=vt}(e.Debug||(e.Debug={}))})(ne||(ne={}));var ne;(function(e){var a=/^(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,u=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)(?:\.(?:0|[1-9]\d*|[a-z-][a-z0-9-]*))*$/i,P=/^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i,r=/^(0|[1-9]\d*)$/,v=function(){function Z(z,ie,m,A,g){if(ie===void 0&&(ie=0),m===void 0&&(m=0),A===void 0&&(A=""),g===void 0&&(g=""),typeof z=="string"){var C=e.Debug.checkDefined(G(z),"Invalid version");z=C.major,ie=C.minor,m=C.patch,A=C.prerelease,g=C.build}e.Debug.assert(z>=0,"Invalid argument: major"),e.Debug.assert(ie>=0,"Invalid argument: minor"),e.Debug.assert(m>=0,"Invalid argument: patch"),e.Debug.assert(!A||u.test(A),"Invalid argument: prerelease"),e.Debug.assert(!g||P.test(g),"Invalid argument: build"),this.major=z,this.minor=ie,this.patch=m,this.prerelease=A?A.split("."):e.emptyArray,this.build=g?g.split("."):e.emptyArray}return Z.tryParse=function(z){var ie=G(z);if(ie){var m=ie.major,A=ie.minor,g=ie.patch,C=ie.prerelease,N=ie.build;return new Z(m,A,g,C,N)}},Z.prototype.compareTo=function(z){return this===z?0:z===void 0?1:e.compareValues(this.major,z.major)||e.compareValues(this.minor,z.minor)||e.compareValues(this.patch,z.patch)||ue(this.prerelease,z.prerelease)},Z.prototype.increment=function(z){switch(z){case"major":return new Z(this.major+1,0,0);case"minor":return new Z(this.major,this.minor+1,0);case"patch":return new Z(this.major,this.minor,this.patch+1);default:return e.Debug.assertNever(z)}},Z.prototype.toString=function(){var z="".concat(this.major,".").concat(this.minor,".").concat(this.patch);return e.some(this.prerelease)&&(z+="-".concat(this.prerelease.join("."))),e.some(this.build)&&(z+="+".concat(this.build.join("."))),z},Z.zero=new Z(0,0,0),Z}();e.Version=v;function G(Z){var z=a.exec(Z);if(z){var ie=z[1],m=z[2],A=m===void 0?"0":m,g=z[3],C=g===void 0?"0":g,N=z[4],_=N===void 0?"":N,d=z[5],E=d===void 0?"":d;if(!(_&&!u.test(_))&&!(E&&!P.test(E)))return{major:parseInt(ie,10),minor:parseInt(A,10),patch:parseInt(C,10),prerelease:_,build:E}}}function ue(Z,z){if(Z===z)return 0;if(Z.length===0)return z.length===0?0:1;if(z.length===0)return-1;for(var ie=Math.min(Z.length,z.length),m=0;m|>=|=)?\s*([a-z0-9-+.*]+)$/i;function b(Z){for(var z=[],ie=0,m=e.trimString(Z).split(S);ie=",m.version)),Y(A.major)||ie.push(Y(A.minor)?re("<",A.version.increment("major")):Y(A.patch)?re("<",A.version.increment("minor")):re("<=",A.version)),!0):!1}function ce(Z,z,ie){var m=y(z);if(!m)return!1;var A=m.version,g=m.major,C=m.minor,N=m.patch;if(Y(g))(Z==="<"||Z===">")&&ie.push(re("<",v.zero));else switch(Z){case"~":ie.push(re(">=",A)),ie.push(re("<",A.increment(Y(C)?"major":"minor")));break;case"^":ie.push(re(">=",A)),ie.push(re("<",A.increment(A.major>0||Y(C)?"major":A.minor>0||Y(N)?"minor":"patch")));break;case"<":case">=":ie.push(re(Z,A));break;case"<=":case">":ie.push(Y(C)?re(Z==="<="?"<":">=",A.increment("major")):Y(N)?re(Z==="<="?"<":">=",A.increment("minor")):re(Z,A));break;case"=":case void 0:Y(C)||Y(N)?(ie.push(re(">=",A)),ie.push(re("<",A.increment(Y(C)?"major":"minor")))):ie.push(re("=",A));break;default:return!1}return!0}function Y(Z){return Z==="*"||Z==="x"||Z==="X"}function re(Z,z){return{operator:Z,operand:z}}function F(Z,z){if(z.length===0)return!0;for(var ie=0,m=z;ie":return m>0;case">=":return m>=0;case"=":return m===0;default:return e.Debug.assertNever(z)}}function de(Z){return e.map(Z,$).join(" || ")||"*"}function $(Z){return e.map(Z,I).join(" ")}function I(Z){return"".concat(Z.operator).concat(Z.operand)}})(ne||(ne={}));var ne;(function(e){function a(G,ue){return typeof G=="object"&&typeof G.timeOrigin=="number"&&typeof G.mark=="function"&&typeof G.measure=="function"&&typeof G.now=="function"&&typeof ue=="function"}function u(){if(typeof performance=="object"&&typeof PerformanceObserver=="function"&&a(performance,PerformanceObserver))return{shouldWriteNativeEvents:!0,performance,PerformanceObserver}}var P=u()||void 0,r=P==null?void 0:P.performance;function v(){return P}e.tryGetNativePerformanceHooks=v,e.timestamp=r?function(){return r.now()}:Date.now?Date.now:function(){return+new Date}})(ne||(ne={}));var ne;(function(e){(function(a){var u,P;function r(re,F,O,Q){return re?v(F,O,Q):a.nullTimer}a.createTimerIf=r;function v(re,F,O){var Q=0;return{enter:de,exit:$};function de(){++Q===1&&se(F)}function $(){--Q===0?(se(O),le(re,F,O)):Q<0&&e.Debug.fail("enter/exit count does not match.")}}a.createTimer=v,a.nullTimer={enter:e.noop,exit:e.noop};var G=!1,ue=e.timestamp(),h=new e.Map,S=new e.Map,k=new e.Map;function se(re){var F;if(G){var O=(F=S.get(re))!==null&&F!==void 0?F:0;S.set(re,O+1),h.set(re,e.timestamp()),P==null||P.mark(re)}}a.mark=se;function le(re,F,O){var Q,de;if(G){var $=(Q=O!==void 0?h.get(O):void 0)!==null&&Q!==void 0?Q:e.timestamp(),I=(de=F!==void 0?h.get(F):void 0)!==null&&de!==void 0?de:ue,Z=k.get(re)||0;k.set(re,Z+($-I)),P==null||P.measure(re,F,O)}}a.measure=le;function f(re){return S.get(re)||0}a.getCount=f;function b(re){return k.get(re)||0}a.getDuration=b;function y(re){k.forEach(function(F,O){return re(O,F)})}a.forEachMeasure=y;function K(){return G}a.isEnabled=K;function ce(re){var F;return re===void 0&&(re=e.sys),G||(G=!0,u||(u=e.tryGetNativePerformanceHooks()),u&&(ue=u.performance.timeOrigin,(u.shouldWriteNativeEvents||((F=re==null?void 0:re.cpuProfilingEnabled)===null||F===void 0?void 0:F.call(re))||(re==null?void 0:re.debugMode))&&(P=u.performance))),!0}a.enable=ce;function Y(){G&&(h.clear(),S.clear(),k.clear(),P=void 0,G=!1)}a.disable=Y})(e.performance||(e.performance={}))})(ne||(ne={}));var ne;(function(e){var a,u={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},P;try{var r=(a=Qa.env.TS_ETW_MODULE_PATH)!==null&&a!==void 0?a:"./node_modules/@microsoft/typescript-etw";P=void 0}catch{P=void 0}e.perfLogger=P&&P.logEvent?P:u})(ne||(ne={}));var ne;(function(e){var a;(function(u){var P,r=0,v=0,G,ue=[],h,S=[];function k($,I,Z){if(e.Debug.assert(!e.tracing,"Tracing already started"),P===void 0)try{P=L1()}catch(g){throw new Error(`tracing requires having fs (original error: `.concat(g.message||g,")"))}G=$,ue.length=0,h===void 0&&(h=e.combinePaths(I,"legend.json")),P.existsSync(I)||P.mkdirSync(I,{recursive:!0});var z=G==="build"?".".concat(Qa.pid,"-").concat(++r):G==="server"?".".concat(Qa.pid):"",ie=e.combinePaths(I,"trace".concat(z,".json")),m=e.combinePaths(I,"types".concat(z,".json"));S.push({configFilePath:Z,tracePath:ie,typesPath:m}),v=P.openSync(ie,"w"),e.tracing=u;var A={cat:"__metadata",ph:"M",ts:1e3*e.timestamp(),pid:1,tid:1};P.writeSync(v,`[ `+[Tt({name:"process_name",args:{name:"tsc"}},A),Tt({name:"thread_name",args:{name:"Main"}},A),Tt(Tt({name:"TracingStartedInBrowser"},A),{cat:"disabled-by-default-devtools.timeline"})].map(function(g){return JSON.stringify(g)}).join(`, `))}u.startTracing=k;function se(){e.Debug.assert(e.tracing,"Tracing is not in progress"),e.Debug.assert(!!ue.length==(G!=="server")),P.writeSync(v,` ] `),P.closeSync(v),e.tracing=void 0,ue.length?Q(ue):S[S.length-1].typesPath=void 0}u.stopTracing=se;function le($){G!=="server"&&ue.push($)}u.recordType=le,function($){$.Parse="parse",$.Program="program",$.Bind="bind",$.Check="check",$.CheckTypes="checkTypes",$.Emit="emit",$.Session="session"}(u.Phase||(u.Phase={}));function f($,I,Z){F("I",$,I,Z,'"s":"g"')}u.instant=f;var b=[];function y($,I,Z,z){z===void 0&&(z=!1),z&&F("B",$,I,Z),b.push({phase:$,name:I,args:Z,time:1e3*e.timestamp(),separateBeginAndEnd:z})}u.push=y;function K(){e.Debug.assert(b.length>0),re(b.length-1,1e3*e.timestamp()),b.length--}u.pop=K;function ce(){for(var $=1e3*e.timestamp(),I=b.length-1;I>=0;I--)re(I,$);b.length=0}u.popAll=ce;var Y=1e3*10;function re($,I){var Z=b[$],z=Z.phase,ie=Z.name,m=Z.args,A=Z.time,g=Z.separateBeginAndEnd;g?F("E",z,ie,m,void 0,I):Y-A%Y<=I-A&&F("X",z,ie,m,'"dur":'.concat(I-A),A)}function F($,I,Z,z,ie,m){m===void 0&&(m=1e3*e.timestamp()),!(G==="server"&&I==="checkTypes")&&(e.performance.mark("beginTracing"),P.writeSync(v,`, {"pid":1,"tid":1,"ph":"`.concat($,'","cat":"').concat(I,'","ts":').concat(m,',"name":"').concat(Z,'"')),ie&&P.writeSync(v,",".concat(ie)),z&&P.writeSync(v,',"args":'.concat(JSON.stringify(z))),P.writeSync(v,"}"),e.performance.mark("endTracing"),e.performance.measure("Tracing","beginTracing","endTracing"))}function O($){var I=e.getSourceFileOfNode($);return I?{path:I.path,start:Z(e.getLineAndCharacterOfPosition(I,$.pos)),end:Z(e.getLineAndCharacterOfPosition(I,$.end))}:void 0;function Z(z){return{line:z.line+1,character:z.character+1}}}function Q($){var I,Z,z,ie,m,A,g,C,N,_,d,E,j,B,W,J,M,pe,Ne,w,R,L;e.performance.mark("beginDumpTypes");var V=S[S.length-1].typesPath,Te=P.openSync(V,"w"),Se=new e.Map;P.writeSync(Te,"[");for(var we=$.length,He=0;He"u")){var m=Qa.version;if(m){var A=m.indexOf(".");if(A!==-1)return parseInt(m.substring(1,A))}}}e.getNodeMajorVersion=z,e.sys=void 0;function ie(m){e.sys=void 0}e.setSys=ie,e.sys&&e.sys.getEnvironmentVariable&&(S(e.sys),e.Debug.setAssertionLevel(/^development$/i.test(e.sys.getEnvironmentVariable("NODE_ENV"))?1:0)),e.sys&&e.sys.debugMode&&(e.Debug.isDebugging=!0)})(ne||(ne={}));var ne;(function(e){e.directorySeparator="/",e.altDirectorySeparator="\\";var a="://",u=/\\/g;function P(Fe){return Fe===47||Fe===92}e.isAnyDirectorySeparator=P;function r(Fe){return K(Fe)<0}e.isUrl=r;function v(Fe){return K(Fe)>0}e.isRootedDiskPath=v;function G(Fe){var ot=K(Fe);return ot>0&&ot===Fe.length}e.isDiskPathRoot=G;function ue(Fe){return K(Fe)!==0}e.pathIsAbsolute=ue;function h(Fe){return/^\.\.?($|[\\/])/.test(Fe)}e.pathIsRelative=h;function S(Fe){return!ue(Fe)&&!h(Fe)}e.pathIsBareSpecifier=S;function k(Fe){return e.stringContains(re(Fe),".")}e.hasExtension=k;function se(Fe,ot){return Fe.length>ot.length&&e.endsWith(Fe,ot)}e.fileExtensionIs=se;function le(Fe,ot){for(var ke=0,ve=ot;ke0&&P(Fe.charCodeAt(Fe.length-1))}e.hasTrailingDirectorySeparator=f;function b(Fe){return Fe>=97&&Fe<=122||Fe>=65&&Fe<=90}function y(Fe,ot){var ke=Fe.charCodeAt(ot);if(ke===58)return ot+1;if(ke===37&&Fe.charCodeAt(ot+1)===51){var ve=Fe.charCodeAt(ot+2);if(ve===97||ve===65)return ot+3}return-1}function K(Fe){if(!Fe)return 0;var ot=Fe.charCodeAt(0);if(ot===47||ot===92){if(Fe.charCodeAt(1)!==ot)return 1;var ke=Fe.indexOf(ot===47?e.directorySeparator:e.altDirectorySeparator,2);return ke<0?Fe.length:ke+1}if(b(ot)&&Fe.charCodeAt(1)===58){var ve=Fe.charCodeAt(2);if(ve===47||ve===92)return 3;if(Fe.length===2)return 2}var be=Fe.indexOf(a);if(be!==-1){var Oe=be+a.length,Ce=Fe.indexOf(e.directorySeparator,Oe);if(Ce!==-1){var ge=Fe.slice(0,be),ze=Fe.slice(Oe,Ce);if(ge==="file"&&(ze===""||ze==="localhost")&&b(Fe.charCodeAt(Ce+1))){var ft=y(Fe,Ce+2);if(ft!==-1){if(Fe.charCodeAt(ft)===47)return~(ft+1);if(ft===Fe.length)return~ft}}return~(Ce+1)}return~Fe.length}return 0}function ce(Fe){var ot=K(Fe);return ot<0?~ot:ot}e.getRootLength=ce;function Y(Fe){Fe=Z(Fe);var ot=ce(Fe);return ot===Fe.length?Fe:(Fe=j(Fe),Fe.slice(0,Math.max(ot,Fe.lastIndexOf(e.directorySeparator))))}e.getDirectoryPath=Y;function re(Fe,ot,ke){Fe=Z(Fe);var ve=ce(Fe);if(ve===Fe.length)return"";Fe=j(Fe);var be=Fe.slice(Math.max(ce(Fe),Fe.lastIndexOf(e.directorySeparator)+1)),Oe=ot!==void 0&&ke!==void 0?Q(be,ot,ke):void 0;return Oe?be.slice(0,be.length-Oe.length):be}e.getBaseFileName=re;function F(Fe,ot,ke){if(e.startsWith(ot,".")||(ot="."+ot),Fe.length>=ot.length&&Fe.charCodeAt(Fe.length-ot.length)===46){var ve=Fe.slice(Fe.length-ot.length);if(ke(ve,ot))return ve}}function O(Fe,ot,ke){if(typeof ot=="string")return F(Fe,ot,ke)||"";for(var ve=0,be=ot;ve=0?ve.substring(be):""}e.getAnyExtensionFromPath=Q;function de(Fe,ot){var ke=Fe.substring(0,ot),ve=Fe.substring(ot).split(e.directorySeparator);return ve.length&&!e.lastOrUndefined(ve)&&ve.pop(),tt([ke],ve,!0)}function $(Fe,ot){return ot===void 0&&(ot=""),Fe=ie(ot,Fe),de(Fe,ce(Fe))}e.getPathComponents=$;function I(Fe){if(Fe.length===0)return"";var ot=Fe[0]&&B(Fe[0]);return ot+Fe.slice(1).join(e.directorySeparator)}e.getPathFromPathComponents=I;function Z(Fe){var ot=Fe.indexOf("\\");return ot===-1?Fe:(u.lastIndex=ot,Fe.replace(u,e.directorySeparator))}e.normalizeSlashes=Z;function z(Fe){if(!e.some(Fe))return[];for(var ot=[Fe[0]],ke=1;ke1){if(ot[ot.length-1]!==".."){ot.pop();continue}}else if(ot[0])continue}ot.push(ve)}}return ot}e.reducePathComponents=z;function ie(Fe){for(var ot=[],ke=1;ke0==ce(ot)>0,"Paths must either both be absolute or both be relative");var ve=typeof ke=="function"?ke:e.identity,be=typeof ke=="boolean"?ke:!1,Oe=Te(Fe,ot,be?e.equateStringsCaseInsensitive:e.equateStringsCaseSensitive,ve);return I(Oe)}e.getRelativePathFromDirectory=Se;function we(Fe,ot,ke){return v(Fe)?et(ot,Fe,ot,ke,!1):Fe}e.convertToRelativePath=we;function He(Fe,ot,ke){return W(Se(Y(Fe),ot,ke))}e.getRelativePathFromFile=He;function et(Fe,ot,ke,ve,be){var Oe=Te(m(ke,Fe),m(ke,ot),e.equateStringsCaseSensitive,ve),Ce=Oe[0];if(be&&v(Ce)){var ge=Ce.charAt(0)===e.directorySeparator?"file://":"file:///";Oe[0]=ge+Ce}return I(Oe)}e.getRelativePathToDirectoryOrUrl=et;function pt(Fe,ot){for(;;){var ke=ot(Fe);if(ke!==void 0)return ke;var ve=Y(Fe);if(ve===Fe)return;Fe=ve}}e.forEachAncestorDirectory=pt;function Me(Fe){return e.endsWith(Fe,"/node_modules")}e.isNodeModulesDirectory=Me})(ne||(ne={}));var ne;(function(e){function a(u,P,r,v,G,ue,h){return{code:u,category:P,key:r,message:v,reportsUnnecessary:G,elidedInCompatabilityPyramid:ue,reportsDeprecated:h}}e.Diagnostics={Unterminated_string_literal:a(1002,e.DiagnosticCategory.Error,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:a(1003,e.DiagnosticCategory.Error,"Identifier_expected_1003","Identifier expected."),_0_expected:a(1005,e.DiagnosticCategory.Error,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:a(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_to_match_the_token_here:a(1007,e.DiagnosticCategory.Error,"The_parser_expected_to_find_a_to_match_the_token_here_1007","The parser expected to find a '}' to match the '{' token here."),Trailing_comma_not_allowed:a(1009,e.DiagnosticCategory.Error,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:a(1010,e.DiagnosticCategory.Error,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:a(1011,e.DiagnosticCategory.Error,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:a(1012,e.DiagnosticCategory.Error,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(1028,e.DiagnosticCategory.Error,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:a(1029,e.DiagnosticCategory.Error,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:a(1030,e.DiagnosticCategory.Error,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_class_elements_of_this_kind:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(1047,e.DiagnosticCategory.Error,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(1097,e.DiagnosticCategory.Error,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:a(1098,e.DiagnosticCategory.Error,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:a(1099,e.DiagnosticCategory.Error,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(1109,e.DiagnosticCategory.Error,"Expression_expected_1109","Expression expected."),Type_expected:a(1110,e.DiagnosticCategory.Error,"Type_expected_1110","Type expected."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(1123,e.DiagnosticCategory.Error,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:a(1124,e.DiagnosticCategory.Error,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:a(1125,e.DiagnosticCategory.Error,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:a(1126,e.DiagnosticCategory.Error,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:a(1127,e.DiagnosticCategory.Error,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:a(1128,e.DiagnosticCategory.Error,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:a(1129,e.DiagnosticCategory.Error,"Statement_expected_1129","Statement expected."),case_or_default_expected:a(1130,e.DiagnosticCategory.Error,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:a(1131,e.DiagnosticCategory.Error,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:a(1132,e.DiagnosticCategory.Error,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:a(1134,e.DiagnosticCategory.Error,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:a(1135,e.DiagnosticCategory.Error,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:a(1136,e.DiagnosticCategory.Error,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:a(1137,e.DiagnosticCategory.Error,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:a(1138,e.DiagnosticCategory.Error,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:a(1139,e.DiagnosticCategory.Error,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:a(1140,e.DiagnosticCategory.Error,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:a(1141,e.DiagnosticCategory.Error,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:a(1142,e.DiagnosticCategory.Error,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:a(1144,e.DiagnosticCategory.Error,"or_expected_1144","'{' or ';' expected."),Declaration_expected:a(1146,e.DiagnosticCategory.Error,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:a(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:a(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:a(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:a(1155,e.DiagnosticCategory.Error,"const_declarations_must_be_initialized_1155","'const' declarations must be initialized."),const_declarations_can_only_be_declared_inside_a_block:a(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:a(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:a(1160,e.DiagnosticCategory.Error,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:a(1161,e.DiagnosticCategory.Error,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(1172,e.DiagnosticCategory.Error,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:a(1173,e.DiagnosticCategory.Error,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:a(1174,e.DiagnosticCategory.Error,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:a(1175,e.DiagnosticCategory.Error,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:a(1176,e.DiagnosticCategory.Error,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:a(1177,e.DiagnosticCategory.Error,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:a(1178,e.DiagnosticCategory.Error,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:a(1179,e.DiagnosticCategory.Error,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:a(1180,e.DiagnosticCategory.Error,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:a(1181,e.DiagnosticCategory.Error,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:a(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:a(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:a(1184,e.DiagnosticCategory.Error,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:a(1185,e.DiagnosticCategory.Error,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:a(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:a(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:a(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:a(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:a(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:a(1191,e.DiagnosticCategory.Error,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:a(1192,e.DiagnosticCategory.Error,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:a(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:a(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:a(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:a(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:a(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:a(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:a(1199,e.DiagnosticCategory.Error,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:a(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:a(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:a(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:a(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:a(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:a(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:a(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."),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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(1223,e.DiagnosticCategory.Error,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:a(1224,e.DiagnosticCategory.Error,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:a(1225,e.DiagnosticCategory.Error,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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'."),with_statements_are_not_allowed_in_an_async_function_block:a(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:a(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."),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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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_node12_or_nodenext:a(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', 'node12', or 'nodenext'."),Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_or_nodenext:a(1324,e.DiagnosticCategory.Error,"Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_or_nodenext_1324","Dynamic imports only support a second argument when the '--module' option is set to 'esnext' or 'nodenext'."),Argument_of_dynamic_import_cannot_be_spread_element:a(1325,e.DiagnosticCategory.Error,"Argument_of_dynamic_import_cannot_be_spread_element_1325","Argument of dynamic import cannot be spread element."),Dynamic_import_cannot_have_type_arguments:a(1326,e.DiagnosticCategory.Error,"Dynamic_import_cannot_have_type_arguments_1326","Dynamic import cannot have type arguments."),String_literal_with_double_quotes_expected:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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}')'?"),Type_arguments_cannot_be_used_here:a(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_node12_or_nodenext:a(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', 'node12', or 'nodenext'."),A_label_is_not_allowed_here:a(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:a(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:a(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:a(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:a(1348,e.DiagnosticCategory.Error,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:a(1349,e.DiagnosticCategory.Error,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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."),_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type:a(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:a(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:a(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:a(1364,e.DiagnosticCategory.Message,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:a(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:a(1366,e.DiagnosticCategory.Message,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:a(1367,e.DiagnosticCategory.Message,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Did_you_mean_0:a(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:a(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:a(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:a(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:a(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:a(1376,e.DiagnosticCategory.Message,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:a(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_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:a(1378,e.DiagnosticCategory.Error,"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_o_1378","Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 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:a(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:a(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:a(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:a(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:a(1383,e.DiagnosticCategory.Error,"Only_named_exports_may_use_export_type_1383","Only named exports may use 'export type'."),A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list:a(1384,e.DiagnosticCategory.Error,"A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list_1384","A 'new' expression with type arguments must always be followed by a parenthesized argument list."),Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(1399,e.DiagnosticCategory.Message,"File_is_included_via_import_here_1399","File is included via import here."),Referenced_via_0_from_file_1:a(1400,e.DiagnosticCategory.Message,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),File_is_included_via_reference_here:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(1422,e.DiagnosticCategory.Message,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),File_is_library_specified_here:a(1423,e.DiagnosticCategory.Message,"File_is_library_specified_here_1423","File is library specified here."),Default_library:a(1424,e.DiagnosticCategory.Message,"Default_library_1424","Default library"),Default_library_for_target_0:a(1425,e.DiagnosticCategory.Message,"Default_library_for_target_0_1425","Default library for target '{0}'"),File_is_default_library_for_target_specified_here:a(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:a(1427,e.DiagnosticCategory.Message,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:a(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:a(1429,e.DiagnosticCategory.Message,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),The_file_is_in_the_program_because_Colon:a(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:a(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_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:a(1432,e.DiagnosticCategory.Error,"Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_or__1432","Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', or 'nodenext', and the 'target' option is set to 'es2017' or higher."),Decorators_may_not_be_applied_to_this_parameters:a(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:a(1434,e.DiagnosticCategory.Error,"Unexpected_keyword_or_identifier_1434","Unexpected keyword or identifier."),Unknown_keyword_or_identifier_Did_you_mean_0:a(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:a(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:a(1437,e.DiagnosticCategory.Error,"Namespace_must_be_given_a_name_1437","Namespace must be given a name."),Interface_must_be_given_a_name:a(1438,e.DiagnosticCategory.Error,"Interface_must_be_given_a_name_1438","Interface must be given a name."),Type_alias_must_be_given_a_name:a(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:a(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:a(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:a(1442,e.DiagnosticCategory.Error,"Expected_for_property_initializer_1442","Expected '=' for property initializer."),Module_declaration_names_may_only_use_or_quoted_strings:a(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:a(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:a(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:a(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:a(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:a(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:a(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"),The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output:a(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_synchronously_Use_dynamic_import_instead:a(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 synchronously. Use dynamic import instead."),catch_or_finally_expected:a(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:a(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:a(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."),The_types_of_0_are_incompatible_between_these_types:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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."),Duplicate_identifier_0:a(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:a(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:a(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:a(2303,e.DiagnosticCategory.Error,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:a(2304,e.DiagnosticCategory.Error,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2323,e.DiagnosticCategory.Error,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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_in_expression_must_be_a_private_identifier_or_of_type_any_string_number_or_symbol:a(2360,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_in_expression_must_be_a_private_identifier_or_of_type_any_string_number_or__2360","The left-hand side of an 'in' expression must be a private identifier or of type 'any', 'string', 'number', or 'symbol'."),The_right_hand_side_of_an_in_expression_must_not_be_a_primitive:a(2361,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_in_expression_must_not_be_a_primitive_2361","The right-hand side of an 'in' expression must not be a primitive."),The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:a(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:a(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:a(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:a(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:a(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_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap:a(2367,e.DiagnosticCategory.Error,"This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap_2367","This condition will always return '{0}' since the types '{1}' and '{2}' have no overlap."),Type_parameter_name_cannot_be_0:a(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:a(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:a(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:a(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:a(2372,e.DiagnosticCategory.Error,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2387,e.DiagnosticCategory.Error,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:a(2388,e.DiagnosticCategory.Error,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:a(2389,e.DiagnosticCategory.Error,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:a(2390,e.DiagnosticCategory.Error,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:a(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:a(2392,e.DiagnosticCategory.Error,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:a(2393,e.DiagnosticCategory.Error,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2414,e.DiagnosticCategory.Error,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:a(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:a(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:a(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:a(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:a(2419,e.DiagnosticCategory.Error,"Types_of_construct_signatures_are_incompatible_2419","Types of construct signatures are incompatible."),Class_0_incorrectly_implements_interface_1:a(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:a(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:a(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:a(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:a(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:a(2427,e.DiagnosticCategory.Error,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:a(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:a(2430,e.DiagnosticCategory.Error,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2449,e.DiagnosticCategory.Error,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:a(2450,e.DiagnosticCategory.Error,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:a(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:a(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:a(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:a(2456,e.DiagnosticCategory.Error,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2468,e.DiagnosticCategory.Error,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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."),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2530,e.DiagnosticCategory.Error,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:a(2531,e.DiagnosticCategory.Error,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:a(2532,e.DiagnosticCategory.Error,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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}'?"),Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators:a(2569,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterati_2569","Type '{0}' is not an array type or a string type. Use compiler option '--downlevelIteration' to allow iterating of iterators."),Could_not_find_name_0_Did_you_mean_1:a(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:a(2571,e.DiagnosticCategory.Error,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),A_rest_element_type_must_be_an_array_type:a(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:a(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:a(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:a(2577,e.DiagnosticCategory.Error,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag:a(2594,e.DiagnosticCategory.Error,"This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the__2594","This module is declared with using '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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2634,e.DiagnosticCategory.Error,"_0_index_signatures_are_incompatible_2634","'{0}' index signatures are incompatible."),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2728,e.DiagnosticCategory.Message,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:a(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:a(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:a(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:a(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:a(2733,e.DiagnosticCategory.Error,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2750,e.DiagnosticCategory.Error,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:a(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:a(2752,e.DiagnosticCategory.Error,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:a(2753,e.DiagnosticCategory.Error,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:a(2754,e.DiagnosticCategory.Error,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2769,e.DiagnosticCategory.Error,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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."),Initializer_for_property_0:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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_node12_or_nodenext_Consider_adding_an_extension_to_the_import_path:a(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 'node12' or 'nodenext'. Consider adding an extension to the import path."),Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node12_or_nodenext_Did_you_mean_0:a(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 'node12' or 'nodenext'. Did you mean '{0}'?"),Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls:a(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:a(2837,e.DiagnosticCategory.Error,"Import_assertion_values_must_be_string_literal_expressions_2837","Import assertion values must be string literal expressions."),Import_declaration_0_is_using_private_name_1:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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'."),The_current_host_does_not_support_the_0_option:a(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:a(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:a(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:a(5012,e.DiagnosticCategory.Error,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:a(5014,e.DiagnosticCategory.Error,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:a(5023,e.DiagnosticCategory.Error,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(5072,e.DiagnosticCategory.Error,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:a(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:a(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:a(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:a(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:a(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:a(5078,e.DiagnosticCategory.Error,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:a(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:a(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:a(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:a(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:a(5083,e.DiagnosticCategory.Error,"Cannot_read_file_0_5083","Cannot read file '{0}'."),Tuple_members_must_all_have_names_or_all_not_have_names:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6001,e.DiagnosticCategory.Message,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:a(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:a(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:a(6005,e.DiagnosticCategory.Message,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:a(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:a(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:a(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:a(6009,e.DiagnosticCategory.Message,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:a(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:a(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:a(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:a(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:a(6014,e.DiagnosticCategory.Message,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version:a(6015,e.DiagnosticCategory.Message,"Specify_ECMAScript_target_version_6015","Specify ECMAScript target version."),Specify_module_code_generation:a(6016,e.DiagnosticCategory.Message,"Specify_module_code_generation_6016","Specify module code generation."),Print_this_message:a(6017,e.DiagnosticCategory.Message,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:a(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:a(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:a(6023,e.DiagnosticCategory.Message,"Syntax_Colon_0_6023","Syntax: {0}"),options:a(6024,e.DiagnosticCategory.Message,"options_6024","options"),file:a(6025,e.DiagnosticCategory.Message,"file_6025","file"),Examples_Colon_0:a(6026,e.DiagnosticCategory.Message,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:a(6027,e.DiagnosticCategory.Message,"Options_Colon_6027","Options:"),Version_0:a(6029,e.DiagnosticCategory.Message,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:a(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:a(6031,e.DiagnosticCategory.Message,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:a(6032,e.DiagnosticCategory.Message,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:a(6034,e.DiagnosticCategory.Message,"KIND_6034","KIND"),FILE:a(6035,e.DiagnosticCategory.Message,"FILE_6035","FILE"),VERSION:a(6036,e.DiagnosticCategory.Message,"VERSION_6036","VERSION"),LOCATION:a(6037,e.DiagnosticCategory.Message,"LOCATION_6037","LOCATION"),DIRECTORY:a(6038,e.DiagnosticCategory.Message,"DIRECTORY_6038","DIRECTORY"),STRATEGY:a(6039,e.DiagnosticCategory.Message,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:a(6040,e.DiagnosticCategory.Message,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Errors_Files:a(6041,e.DiagnosticCategory.Message,"Errors_Files_6041","Errors Files"),Generates_corresponding_map_file:a(6043,e.DiagnosticCategory.Message,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:a(6044,e.DiagnosticCategory.Error,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:a(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:a(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:a(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:a(6050,e.DiagnosticCategory.Error,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:a(6051,e.DiagnosticCategory.Error,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6061,e.DiagnosticCategory.Message,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:a(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:a(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:a(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:a(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:a(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:a(6071,e.DiagnosticCategory.Message,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6080,e.DiagnosticCategory.Message,"Specify_JSX_code_generation_6080","Specify JSX code generation."),File_0_has_an_unsupported_extension_so_skipping_it:a(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:a(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:a(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:a(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:a(6085,e.DiagnosticCategory.Message,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:a(6086,e.DiagnosticCategory.Message,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6099,e.DiagnosticCategory.Message,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6110,e.DiagnosticCategory.Message,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:a(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:a(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:a(6113,e.DiagnosticCategory.Message,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6134,e.DiagnosticCategory.Message,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6149,e.DiagnosticCategory.Message,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6162,e.DiagnosticCategory.Message,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:a(6163,e.DiagnosticCategory.Message,"The_character_set_of_the_input_files_6163","The character set of the input files."),Do_not_truncate_error_messages:a(6165,e.DiagnosticCategory.Message,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:a(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:a(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:a(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:a(6169,e.DiagnosticCategory.Message,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:a(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:a(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:a(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:a(6180,e.DiagnosticCategory.Message,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),List_of_language_service_plugins:a(6181,e.DiagnosticCategory.Message,"List_of_language_service_plugins_6181","List of language service plugins."),Scoped_package_detected_looking_in_0:a(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:a(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:a(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:a(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:a(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:a(6188,e.DiagnosticCategory.Error,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:a(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:a(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:a(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:a(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:a(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:a(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:a(6196,e.DiagnosticCategory.Error,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:a(6197,e.DiagnosticCategory.Message,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:a(6198,e.DiagnosticCategory.Error,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:a(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:a(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:a(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:a(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:a(6203,e.DiagnosticCategory.Message,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:a(6204,e.DiagnosticCategory.Message,"and_here_6204","and here."),All_type_parameters_are_unused:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6215,e.DiagnosticCategory.Message,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:a(6216,e.DiagnosticCategory.Message,"Found_1_error_6216","Found 1 error."),Found_0_errors:a(6217,e.DiagnosticCategory.Message,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:a(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:a(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:a(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:a(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:a(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:a(6223,e.DiagnosticCategory.Message,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6235,e.DiagnosticCategory.Message,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6244,e.DiagnosticCategory.Message,"Modules_6244","Modules"),File_Management:a(6245,e.DiagnosticCategory.Message,"File_Management_6245","File Management"),Emit:a(6246,e.DiagnosticCategory.Message,"Emit_6246","Emit"),JavaScript_Support:a(6247,e.DiagnosticCategory.Message,"JavaScript_Support_6247","JavaScript Support"),Type_Checking:a(6248,e.DiagnosticCategory.Message,"Type_Checking_6248","Type Checking"),Editor_Support:a(6249,e.DiagnosticCategory.Message,"Editor_Support_6249","Editor Support"),Watch_and_Build_Modes:a(6250,e.DiagnosticCategory.Message,"Watch_and_Build_Modes_6250","Watch and Build Modes"),Compiler_Diagnostics:a(6251,e.DiagnosticCategory.Message,"Compiler_Diagnostics_6251","Compiler Diagnostics"),Interop_Constraints:a(6252,e.DiagnosticCategory.Message,"Interop_Constraints_6252","Interop Constraints"),Backwards_Compatibility:a(6253,e.DiagnosticCategory.Message,"Backwards_Compatibility_6253","Backwards Compatibility"),Language_and_Environment:a(6254,e.DiagnosticCategory.Message,"Language_and_Environment_6254","Language and Environment"),Projects:a(6255,e.DiagnosticCategory.Message,"Projects_6255","Projects"),Output_Formatting:a(6256,e.DiagnosticCategory.Message,"Output_Formatting_6256","Output Formatting"),Completeness:a(6257,e.DiagnosticCategory.Message,"Completeness_6257","Completeness"),_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6302,e.DiagnosticCategory.Message,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:a(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:a(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:a(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:a(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:a(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:a(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:a(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_oldest_output_1_is_older_than_newest_input_2:a(6350,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2_6350","Project '{0}' is out of date because oldest output '{1}' is older than newest input '{2}'"),Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2:a(6351,e.DiagnosticCategory.Message,"Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2_6351","Project '{0}' is up to date because newest input '{1}' is older than oldest output '{2}'"),Project_0_is_out_of_date_because_output_file_1_does_not_exist:a(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:a(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:a(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:a(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:a(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:a(6357,e.DiagnosticCategory.Message,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:a(6358,e.DiagnosticCategory.Message,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:a(6359,e.DiagnosticCategory.Message,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),Project_0_is_up_to_date:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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}'"),Enable_incremental_compilation:a(6378,e.DiagnosticCategory.Message,"Enable_incremental_compilation_6378","Enable incremental compilation"),Composite_projects_may_not_disable_incremental_compilation:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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."),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6602,e.DiagnosticCategory.Message,"Allow_accessing_UMD_globals_from_modules_6602","Allow accessing UMD globals from modules."),Disable_error_reporting_for_unreachable_code:a(6603,e.DiagnosticCategory.Message,"Disable_error_reporting_for_unreachable_code_6603","Disable error reporting for unreachable code."),Disable_error_reporting_for_unused_labels:a(6604,e.DiagnosticCategory.Message,"Disable_error_reporting_for_unused_labels_6604","Disable error reporting for unused labels."),Ensure_use_strict_is_always_emitted:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6614,e.DiagnosticCategory.Message,"Create_sourcemaps_for_d_ts_files_6614","Create sourcemaps for d.ts files."),Output_compiler_performance_information_after_building:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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_a_local_variables_aren_t_read:a(6675,e.DiagnosticCategory.Message,"Enable_error_reporting_when_a_local_variables_aren_t_read_6675","Enable error reporting when a local variables aren't read."),Raise_an_error_when_a_function_parameter_isn_t_read:a(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:a(6677,e.DiagnosticCategory.Message,"Deprecated_setting_Use_outFile_instead_6677","Deprecated setting. Use `outFile` instead."),Specify_an_output_folder_for_all_emitted_files:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6688,e.DiagnosticCategory.Message,"Disable_emitting_comments_6688","Disable emitting comments."),Enable_importing_json_files:a(6689,e.DiagnosticCategory.Message,"Enable_importing_json_files_6689","Enable importing .json files"),Specify_the_root_folder_within_your_source_files:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6706,e.DiagnosticCategory.Message,"Log_paths_used_during_the_moduleResolution_process_6706","Log paths used during the `moduleResolution` process."),Specify_the_folder_for_tsbuildinfo_incremental_compilation_files:a(6707,e.DiagnosticCategory.Message,"Specify_the_folder_for_tsbuildinfo_incremental_compilation_files_6707","Specify the folder for .tsbuildinfo incremental compilation files."),Specify_options_for_automatic_acquisition_of_declaration_files:a(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:a(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:a(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:a(6712,e.DiagnosticCategory.Message,"Emit_ECMAScript_standard_compliant_class_fields_6712","Emit ECMAScript-standard-compliant class fields."),Enable_verbose_logging:a(6713,e.DiagnosticCategory.Message,"Enable_verbose_logging_6713","Enable verbose logging"),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:a(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:a(6715,e.DiagnosticCategory.Message,"Specify_how_the_TypeScript_watch_mode_works_6715","Specify how the TypeScript watch mode works."),Include_undefined_in_index_signature_results:a(6716,e.DiagnosticCategory.Message,"Include_undefined_in_index_signature_results_6716","Include 'undefined' in index signature results"),Require_undeclared_properties_from_index_signatures_to_use_element_accesses:a(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:a(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"),Type_catch_clause_variables_as_unknown_instead_of_any:a(6803,e.DiagnosticCategory.Message,"Type_catch_clause_variables_as_unknown_instead_of_any_6803","Type catch clause variables as 'unknown' instead of 'any'."),one_of_Colon:a(6900,e.DiagnosticCategory.Message,"one_of_Colon_6900","one of:"),one_or_more_Colon:a(6901,e.DiagnosticCategory.Message,"one_or_more_Colon_6901","one or more:"),type_Colon:a(6902,e.DiagnosticCategory.Message,"type_Colon_6902","type:"),default_Colon:a(6903,e.DiagnosticCategory.Message,"default_Colon_6903","default:"),module_system_or_esModuleInterop:a(6904,e.DiagnosticCategory.Message,"module_system_or_esModuleInterop_6904",'module === "system" or esModuleInterop'),false_unless_strict_is_set:a(6905,e.DiagnosticCategory.Message,"false_unless_strict_is_set_6905","`false`, unless `strict` is set"),false_unless_composite_is_set:a(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:a(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:a(6908,e.DiagnosticCategory.Message,"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908",'`[]` if `files` is specified, otherwise `["**/*"]`'),true_if_composite_false_otherwise:a(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:a(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:a(6911,e.DiagnosticCategory.Message,"Computed_from_the_list_of_input_files_6911","Computed from the list of input files"),Platform_specific:a(6912,e.DiagnosticCategory.Message,"Platform_specific_6912","Platform specific"),You_can_learn_about_all_of_the_compiler_options_at_0:a(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:a(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:a(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:a(6916,e.DiagnosticCategory.Message,"COMMON_COMMANDS_6916","COMMON COMMANDS"),ALL_COMPILER_OPTIONS:a(6917,e.DiagnosticCategory.Message,"ALL_COMPILER_OPTIONS_6917","ALL COMPILER OPTIONS"),WATCH_OPTIONS:a(6918,e.DiagnosticCategory.Message,"WATCH_OPTIONS_6918","WATCH OPTIONS"),BUILD_OPTIONS:a(6919,e.DiagnosticCategory.Message,"BUILD_OPTIONS_6919","BUILD OPTIONS"),COMMON_COMPILER_OPTIONS:a(6920,e.DiagnosticCategory.Message,"COMMON_COMPILER_OPTIONS_6920","COMMON COMPILER OPTIONS"),COMMAND_LINE_FLAGS:a(6921,e.DiagnosticCategory.Message,"COMMAND_LINE_FLAGS_6921","COMMAND LINE FLAGS"),tsc_Colon_The_TypeScript_Compiler:a(6922,e.DiagnosticCategory.Message,"tsc_Colon_The_TypeScript_Compiler_6922","tsc: The TypeScript Compiler"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6930,e.DiagnosticCategory.Message,"true_for_ES2022_and_above_including_ESNext_6930","`true` for ES2022 and above, including ESNext."),Variable_0_implicitly_has_an_1_type:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(7027,e.DiagnosticCategory.Error,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:a(7028,e.DiagnosticCategory.Error,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:a(7029,e.DiagnosticCategory.Error,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(7061,e.DiagnosticCategory.Error,"A_mapped_type_may_not_declare_properties_or_methods_7061","A mapped type may not declare properties or methods."),JSON_imports_are_experimental_in_ES_module_mode_imports:a(7062,e.DiagnosticCategory.Error,"JSON_imports_are_experimental_in_ES_module_mode_imports_7062","JSON imports are experimental in ES module mode imports."),You_cannot_rename_this_element:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(8019,e.DiagnosticCategory.Message,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(8034,e.DiagnosticCategory.Error,"The_tag_was_first_specified_here_8034","The tag was first specified here."),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(90001,e.DiagnosticCategory.Message,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:a(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:a(90003,e.DiagnosticCategory.Message,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:a(90004,e.DiagnosticCategory.Message,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:a(90005,e.DiagnosticCategory.Message,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:a(90006,e.DiagnosticCategory.Message,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:a(90007,e.DiagnosticCategory.Message,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:a(90008,e.DiagnosticCategory.Message,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:a(90010,e.DiagnosticCategory.Message,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:a(90011,e.DiagnosticCategory.Message,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:a(90012,e.DiagnosticCategory.Message,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_1:a(90013,e.DiagnosticCategory.Message,"Import_0_from_1_90013",`Import '{0}' from "{1}"`),Change_0_to_1:a(90014,e.DiagnosticCategory.Message,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Declare_property_0:a(90016,e.DiagnosticCategory.Message,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:a(90017,e.DiagnosticCategory.Message,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:a(90018,e.DiagnosticCategory.Message,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:a(90019,e.DiagnosticCategory.Message,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:a(90020,e.DiagnosticCategory.Message,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:a(90021,e.DiagnosticCategory.Message,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:a(90022,e.DiagnosticCategory.Message,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:a(90023,e.DiagnosticCategory.Message,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:a(90024,e.DiagnosticCategory.Message,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:a(90025,e.DiagnosticCategory.Message,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:a(90026,e.DiagnosticCategory.Message,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:a(90027,e.DiagnosticCategory.Message,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:a(90028,e.DiagnosticCategory.Message,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:a(90029,e.DiagnosticCategory.Message,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:a(90030,e.DiagnosticCategory.Message,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:a(90031,e.DiagnosticCategory.Message,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Add_parameter_name:a(90034,e.DiagnosticCategory.Message,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:a(90035,e.DiagnosticCategory.Message,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:a(90036,e.DiagnosticCategory.Message,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:a(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:a(90038,e.DiagnosticCategory.Message,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:a(90039,e.DiagnosticCategory.Message,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:a(90041,e.DiagnosticCategory.Message,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:a(90053,e.DiagnosticCategory.Message,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Includes_imports_of_types_referenced_by_0:a(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:a(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:a(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:a(90057,e.DiagnosticCategory.Message,"Add_import_from_0_90057",'Add import from "{0}"'),Update_import_from_0:a(90058,e.DiagnosticCategory.Message,"Update_import_from_0_90058",'Update import from "{0}"'),Convert_function_to_an_ES2015_class:a(95001,e.DiagnosticCategory.Message,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_0_to_1_in_0:a(95003,e.DiagnosticCategory.Message,"Convert_0_to_1_in_0_95003","Convert '{0}' to '{1} in {0}'"),Extract_to_0_in_1:a(95004,e.DiagnosticCategory.Message,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:a(95005,e.DiagnosticCategory.Message,"Extract_function_95005","Extract function"),Extract_constant:a(95006,e.DiagnosticCategory.Message,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:a(95007,e.DiagnosticCategory.Message,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:a(95008,e.DiagnosticCategory.Message,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:a(95009,e.DiagnosticCategory.Message,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Infer_type_of_0_from_usage:a(95011,e.DiagnosticCategory.Message,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:a(95012,e.DiagnosticCategory.Message,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:a(95013,e.DiagnosticCategory.Message,"Convert_to_default_import_95013","Convert to default import"),Install_0:a(95014,e.DiagnosticCategory.Message,"Install_0_95014","Install '{0}'"),Replace_import_with_0:a(95015,e.DiagnosticCategory.Message,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:a(95016,e.DiagnosticCategory.Message,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES_module:a(95017,e.DiagnosticCategory.Message,"Convert_to_ES_module_95017","Convert to ES module"),Add_undefined_type_to_property_0:a(95018,e.DiagnosticCategory.Message,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:a(95019,e.DiagnosticCategory.Message,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:a(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:a(95021,e.DiagnosticCategory.Message,"Convert_all_type_literals_to_mapped_type_95021","Convert all type literals to mapped type"),Add_all_missing_members:a(95022,e.DiagnosticCategory.Message,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:a(95023,e.DiagnosticCategory.Message,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:a(95024,e.DiagnosticCategory.Message,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:a(95025,e.DiagnosticCategory.Message,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:a(95026,e.DiagnosticCategory.Message,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:a(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:a(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:a(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:a(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:a(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:a(95032,e.DiagnosticCategory.Message,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:a(95033,e.DiagnosticCategory.Message,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:a(95034,e.DiagnosticCategory.Message,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:a(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:a(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:a(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:a(95038,e.DiagnosticCategory.Message,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:a(95039,e.DiagnosticCategory.Message,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:a(95040,e.DiagnosticCategory.Message,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:a(95041,e.DiagnosticCategory.Message,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:a(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:a(95043,e.DiagnosticCategory.Message,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:a(95044,e.DiagnosticCategory.Message,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:a(95045,e.DiagnosticCategory.Message,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:a(95046,e.DiagnosticCategory.Message,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:a(95047,e.DiagnosticCategory.Message,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:a(95048,e.DiagnosticCategory.Message,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:a(95049,e.DiagnosticCategory.Message,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:a(95050,e.DiagnosticCategory.Message,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:a(95051,e.DiagnosticCategory.Message,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:a(95052,e.DiagnosticCategory.Message,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:a(95053,e.DiagnosticCategory.Message,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:a(95054,e.DiagnosticCategory.Message,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:a(95055,e.DiagnosticCategory.Message,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:a(95056,e.DiagnosticCategory.Message,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:a(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:a(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:a(95059,e.DiagnosticCategory.Message,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:a(95060,e.DiagnosticCategory.Message,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:a(95061,e.DiagnosticCategory.Message,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:a(95062,e.DiagnosticCategory.Message,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:a(95063,e.DiagnosticCategory.Message,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:a(95064,e.DiagnosticCategory.Message,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:a(95065,e.DiagnosticCategory.Message,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:a(95066,e.DiagnosticCategory.Message,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:a(95067,e.DiagnosticCategory.Message,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:a(95068,e.DiagnosticCategory.Message,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:a(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:a(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:a(95071,e.DiagnosticCategory.Message,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:a(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:a(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:a(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:a(95075,e.DiagnosticCategory.Message,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Extract_type:a(95077,e.DiagnosticCategory.Message,"Extract_type_95077","Extract type"),Extract_to_type_alias:a(95078,e.DiagnosticCategory.Message,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:a(95079,e.DiagnosticCategory.Message,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:a(95080,e.DiagnosticCategory.Message,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:a(95081,e.DiagnosticCategory.Message,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:a(95082,e.DiagnosticCategory.Message,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:a(95083,e.DiagnosticCategory.Message,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:a(95084,e.DiagnosticCategory.Message,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:a(95085,e.DiagnosticCategory.Message,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:a(95086,e.DiagnosticCategory.Message,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:a(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:a(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:a(95089,e.DiagnosticCategory.Message,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:a(95090,e.DiagnosticCategory.Message,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:a(95091,e.DiagnosticCategory.Message,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:a(95092,e.DiagnosticCategory.Message,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:a(95093,e.DiagnosticCategory.Message,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:a(95094,e.DiagnosticCategory.Message,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:a(95095,e.DiagnosticCategory.Message,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:a(95096,e.DiagnosticCategory.Message,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:a(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:a(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:a(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:a(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:a(95101,e.DiagnosticCategory.Message,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Convert_function_expression_0_to_arrow_function:a(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:a(95106,e.DiagnosticCategory.Message,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:a(95107,e.DiagnosticCategory.Message,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:a(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:a(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_json_to_read_more_about_this_file:a(95110,e.DiagnosticCategory.Message,"Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file_95110","Visit https://aka.ms/tsconfig.json to read more about this file"),Add_a_return_statement:a(95111,e.DiagnosticCategory.Message,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:a(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:a(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:a(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:a(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:a(95116,e.DiagnosticCategory.Message,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:a(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:a(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:a(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:a(95120,e.DiagnosticCategory.Message,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:a(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:a(95122,e.DiagnosticCategory.Message,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:a(95123,e.DiagnosticCategory.Message,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:a(95124,e.DiagnosticCategory.Message,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:a(95125,e.DiagnosticCategory.Message,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:a(95126,e.DiagnosticCategory.Message,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:a(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:a(95128,e.DiagnosticCategory.Message,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:a(95129,e.DiagnosticCategory.Message,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:a(95130,e.DiagnosticCategory.Message,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:a(95131,e.DiagnosticCategory.Message,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:a(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:a(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:a(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:a(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:a(95136,e.DiagnosticCategory.Message,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:a(95137,e.DiagnosticCategory.Message,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:a(95138,e.DiagnosticCategory.Message,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:a(95139,e.DiagnosticCategory.Message,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:a(95140,e.DiagnosticCategory.Message,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:a(95141,e.DiagnosticCategory.Message,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:a(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:a(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:a(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:a(95145,e.DiagnosticCategory.Message,"Use_element_access_for_0_95145","Use element access for '{0}'"),Use_element_access_for_all_undeclared_properties:a(95146,e.DiagnosticCategory.Message,"Use_element_access_for_all_undeclared_properties_95146","Use element access for all undeclared properties."),Delete_all_unused_imports:a(95147,e.DiagnosticCategory.Message,"Delete_all_unused_imports_95147","Delete all unused imports"),Infer_function_return_type:a(95148,e.DiagnosticCategory.Message,"Infer_function_return_type_95148","Infer function return type"),Return_type_must_be_inferred_from_a_function:a(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:a(95150,e.DiagnosticCategory.Message,"Could_not_determine_function_return_type_95150","Could not determine function return type"),Could_not_convert_to_arrow_function:a(95151,e.DiagnosticCategory.Message,"Could_not_convert_to_arrow_function_95151","Could not convert to arrow function"),Could_not_convert_to_named_function:a(95152,e.DiagnosticCategory.Message,"Could_not_convert_to_named_function_95152","Could not convert to named function"),Could_not_convert_to_anonymous_function:a(95153,e.DiagnosticCategory.Message,"Could_not_convert_to_anonymous_function_95153","Could not convert to anonymous function"),Can_only_convert_string_concatenation:a(95154,e.DiagnosticCategory.Message,"Can_only_convert_string_concatenation_95154","Can only convert string concatenation"),Selection_is_not_a_valid_statement_or_statements:a(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:a(95156,e.DiagnosticCategory.Message,"Add_missing_function_declaration_0_95156","Add missing function declaration '{0}'"),Add_all_missing_function_declarations:a(95157,e.DiagnosticCategory.Message,"Add_all_missing_function_declarations_95157","Add all missing function declarations"),Method_not_implemented:a(95158,e.DiagnosticCategory.Message,"Method_not_implemented_95158","Method not implemented."),Function_not_implemented:a(95159,e.DiagnosticCategory.Message,"Function_not_implemented_95159","Function not implemented."),Add_override_modifier:a(95160,e.DiagnosticCategory.Message,"Add_override_modifier_95160","Add 'override' modifier"),Remove_override_modifier:a(95161,e.DiagnosticCategory.Message,"Remove_override_modifier_95161","Remove 'override' modifier"),Add_all_missing_override_modifiers:a(95162,e.DiagnosticCategory.Message,"Add_all_missing_override_modifiers_95162","Add all missing 'override' modifiers"),Remove_all_unnecessary_override_modifiers:a(95163,e.DiagnosticCategory.Message,"Remove_all_unnecessary_override_modifiers_95163","Remove all unnecessary 'override' modifiers"),Can_only_convert_named_export:a(95164,e.DiagnosticCategory.Message,"Can_only_convert_named_export_95164","Can only convert named export"),Add_missing_properties:a(95165,e.DiagnosticCategory.Message,"Add_missing_properties_95165","Add missing properties"),Add_all_missing_properties:a(95166,e.DiagnosticCategory.Message,"Add_all_missing_properties_95166","Add all missing properties"),Add_missing_attributes:a(95167,e.DiagnosticCategory.Message,"Add_missing_attributes_95167","Add missing attributes"),Add_all_missing_attributes:a(95168,e.DiagnosticCategory.Message,"Add_all_missing_attributes_95168","Add all missing attributes"),Add_undefined_to_optional_property_type:a(95169,e.DiagnosticCategory.Message,"Add_undefined_to_optional_property_type_95169","Add 'undefined' to optional property type"),Convert_named_imports_to_default_import:a(95170,e.DiagnosticCategory.Message,"Convert_named_imports_to_default_import_95170","Convert named imports to default import"),Delete_unused_param_tag_0:a(95171,e.DiagnosticCategory.Message,"Delete_unused_param_tag_0_95171","Delete unused '@param' tag '{0}'"),Delete_all_unused_param_tags:a(95172,e.DiagnosticCategory.Message,"Delete_all_unused_param_tags_95172","Delete all unused '@param' tags"),Rename_param_tag_name_0_to_1:a(95173,e.DiagnosticCategory.Message,"Rename_param_tag_name_0_to_1_95173","Rename '@param' tag name '{0}' to '{1}'"),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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.")}})(ne||(ne={}));var ne;(function(e){var a;function u(ge){return ge>=79}e.tokenIsIdentifierOrKeyword=u;function P(ge){return ge===31||u(ge)}e.tokenIsIdentifierOrKeywordOrGreaterThan=P,e.textToKeywordObj=(a={abstract:126,any:130,as:127,asserts:128,assert:129,bigint:157,boolean:133,break:81,case:82,catch:83,class:84,continue:86,const:85},a.constructor=134,a.debugger=87,a.declare=135,a.default=88,a.delete=89,a.do=90,a.else=91,a.enum=92,a.export=93,a.extends=94,a.false=95,a.finally=96,a.for=97,a.from=155,a.function=98,a.get=136,a.if=99,a.implements=117,a.import=100,a.in=101,a.infer=137,a.instanceof=102,a.interface=118,a.intrinsic=138,a.is=139,a.keyof=140,a.let=119,a.module=141,a.namespace=142,a.never=143,a.new=103,a.null=104,a.number=146,a.object=147,a.package=120,a.private=121,a.protected=122,a.public=123,a.override=158,a.readonly=144,a.require=145,a.global=156,a.return=105,a.set=148,a.static=124,a.string=149,a.super=106,a.switch=107,a.symbol=150,a.this=108,a.throw=109,a.true=110,a.try=111,a.type=151,a.typeof=112,a.undefined=152,a.unique=153,a.unknown=154,a.var=113,a.void=114,a.while=115,a.with=116,a.yield=125,a.async=131,a.await=132,a.of=159,a);var r=new e.Map(e.getEntries(e.textToKeywordObj)),v=new e.Map(e.getEntries(Tt(Tt({},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}))),G=[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],ue=[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],h=[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],S=[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],k=[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],se=[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],le=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/,f=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/;function b(ge,ze){if(ge=2?b(ge,k):ze===1?b(ge,h):b(ge,G)}e.isUnicodeIdentifierStart=y;function K(ge,ze){return ze>=2?b(ge,se):ze===1?b(ge,S):b(ge,ue)}function ce(ge){var ze=[];return ge.forEach(function(ft,vt){ze[ft]=vt}),ze}var Y=ce(v);function re(ge){return Y[ge]}e.tokenToString=re;function F(ge){return v.get(ge)}e.stringToToken=F;function O(ge){for(var ze=new Array,ft=0,vt=0;ft127&&g(st)&&(ze.push(vt),vt=ft);break}}return ze.push(vt),ze}e.computeLineStarts=O;function Q(ge,ze,ft,vt){return ge.getPositionOfLineAndCharacter?ge.getPositionOfLineAndCharacter(ze,ft,vt):de($(ge),ze,ft,ge.text,vt)}e.getPositionOfLineAndCharacter=Q;function de(ge,ze,ft,vt,st){(ze<0||ze>=ge.length)&&(st?ze=ze<0?0:ze>=ge.length?ge.length-1:ze:e.Debug.fail("Bad line number. Line: ".concat(ze,", lineStarts.length: ").concat(ge.length," , line map is correct? ").concat(vt!==void 0?e.arraysEqual(ge,O(vt)):"unknown")));var At=ge[ze]+ft;return st?At>ge[ze+1]?ge[ze+1]:typeof vt=="string"&&At>vt.length?vt.length:At:(ze=8192&&ge<=8203||ge===8239||ge===8287||ge===12288||ge===65279}e.isWhiteSpaceSingleLine=A;function g(ge){return ge===10||ge===13||ge===8232||ge===8233}e.isLineBreak=g;function C(ge){return ge>=48&&ge<=57}function N(ge){return C(ge)||ge>=65&&ge<=70||ge>=97&&ge<=102}function _(ge){return ge<=1114111}function d(ge){return ge>=48&&ge<=55}e.isOctalDigit=d;function E(ge,ze){var ft=ge.charCodeAt(ze);switch(ft){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 ze===0;default:return ft>127}}e.couldStartTrivia=E;function j(ge,ze,ft,vt,st){if(e.positionIsSynthesized(ze))return ze;for(var At=!1;;){var qt=ge.charCodeAt(ze);switch(qt){case 13:ge.charCodeAt(ze+1)===10&&ze++;case 10:if(ze++,ft)return ze;At=!!st;continue;case 9:case 11:case 12:case 32:ze++;continue;case 47:if(vt)break;if(ge.charCodeAt(ze+1)===47){for(ze+=2;ze127&&m(qt)){ze++;continue}break}return ze}}e.skipTrivia=j;var B=7;function W(ge,ze){if(e.Debug.assert(ze>=0),ze===0||g(ge.charCodeAt(ze-1))){var ft=ge.charCodeAt(ze);if(ze+B=0&&ft127&&m(Ft)){It&&g(Ft)&&(_t=!0),ft++;continue}break e}}return It&&(Be=st(Ue,Ie,Ht,_t,At,Be)),Be}function R(ge,ze,ft,vt){return w(!1,ge,ze,!1,ft,vt)}e.forEachLeadingCommentRange=R;function L(ge,ze,ft,vt){return w(!1,ge,ze,!0,ft,vt)}e.forEachTrailingCommentRange=L;function V(ge,ze,ft,vt,st){return w(!0,ge,ze,!1,ft,vt,st)}e.reduceEachLeadingCommentRange=V;function Te(ge,ze,ft,vt,st){return w(!0,ge,ze,!0,ft,vt,st)}e.reduceEachTrailingCommentRange=Te;function Se(ge,ze,ft,vt,st,At){return At||(At=[]),At.push({kind:ft,pos:ge,end:ze,hasTrailingNewLine:vt}),At}function we(ge,ze){return V(ge,ze,Se,void 0,void 0)}e.getLeadingCommentRanges=we;function He(ge,ze){return Te(ge,ze,Se,void 0,void 0)}e.getTrailingCommentRanges=He;function et(ge){var ze=M.exec(ge);if(ze)return ze[0]}e.getShebang=et;function pt(ge,ze){return ge>=65&&ge<=90||ge>=97&&ge<=122||ge===36||ge===95||ge>127&&y(ge,ze)}e.isIdentifierStart=pt;function Me(ge,ze,ft){return ge>=65&&ge<=90||ge>=97&&ge<=122||ge>=48&&ge<=57||ge===36||ge===95||(ft===1?ge===45||ge===58:!1)||ge>127&&K(ge,ze)}e.isIdentifierPart=Me;function Fe(ge,ze,ft){var vt=ke(ge,0);if(!pt(vt,ze))return!1;for(var st=ve(vt);st116},isReservedWord:function(){return fe>=81&&fe<=116},isUnterminated:function(){return(We&4)!==0},getCommentDirectives:function(){return Ft},getNumericLiteralFlags:function(){return We&1008},getTokenFlags:function(){return We},reScanGreaterToken:H,reScanAsteriskEqualsToken:ae,reScanSlashToken:Re,reScanTemplateToken:Qe,reScanTemplateHeadOrNoSubstitutionTemplate:cn,scanJsxIdentifier:en,scanJsxAttributeValue:mn,reScanJsxAttributeValue:hn,reScanJsxToken:vn,reScanLessThanToken:Ut,reScanHashToken:$e,reScanQuestionToken:Ct,reScanInvalidIdentifier:ee,scanJsxToken:kt,scanJsDocToken:Pn,scan:Le,getText:xn,clearCommentDirectives:rr,setText:Fr,setScriptTarget:pi,setLanguageVariant:Oi,setOnError:di,setTextPos:li,setInJSDocType:lr,tryScan:qn,lookAhead:Tn,scanRange:An};return e.Debug.isDebugging&&Object.defineProperty(Rt,"__debugShowCurrentPositionInText",{get:function(){var In=Rt.getText();return In.slice(0,Rt.getStartPos())+"\u2551"+In.slice(Rt.getStartPos())}}),Rt;function Et(In,Qn,Yn){if(Qn===void 0&&(Qn=Ie),st){var Ar=Ie;Ie=Qn,st(In,Yn||0),Ie=Ar}}function pn(){for(var In=Ie,Qn=!1,Yn=!1,Ar="";;){var gr=Ue.charCodeAt(Ie);if(gr===95){We|=512,Qn?(Qn=!1,Yn=!0,Ar+=Ue.substring(In,Ie)):Et(Yn?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,Ie,1),Ie++,In=Ie;continue}if(C(gr)){Qn=!0,Yn=!1,Ie++;continue}break}return Ue.charCodeAt(Ie-1)===95&&Et(e.Diagnostics.Numeric_separators_are_not_allowed_here,Ie-1,1),Ar+Ue.substring(In,Ie)}function he(){var In=Ie,Qn=pn(),Yn,Ar;Ue.charCodeAt(Ie)===46&&(Ie++,Yn=pn());var gr=Ie;if(Ue.charCodeAt(Ie)===69||Ue.charCodeAt(Ie)===101){Ie++,We|=16,(Ue.charCodeAt(Ie)===43||Ue.charCodeAt(Ie)===45)&&Ie++;var Si=Ie,_i=pn();_i?(Ar=Ue.substring(gr,Si)+_i,gr=Ie):Et(e.Diagnostics.Digit_expected)}var Nn;if(We&512?(Nn=Qn,Yn&&(Nn+="."+Yn),Ar&&(Nn+=Ar)):Nn=Ue.substring(In,gr),Yn!==void 0||We&16)return yt(In,Yn===void 0&&!!(We&16)),{type:8,value:""+ +Nn};Be=Nn;var Rn=lt();return yt(In),{type:Rn,value:Be}}function yt(In,Qn){if(pt(ke(Ue,Ie),ge)){var Yn=Ie,Ar=Ve().length;Ar===1&&Ue[Yn]==="n"?Et(Qn?e.Diagnostics.A_bigint_literal_cannot_use_exponential_notation:e.Diagnostics.A_bigint_literal_must_be_an_integer,In,Yn-In+1):(Et(e.Diagnostics.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,Yn,Ar),Ie=Yn)}}function Gt(){for(var In=Ie;d(Ue.charCodeAt(Ie));)Ie++;return+Ue.substring(In,Ie)}function rn(In,Qn){var Yn=kn(In,!1,Qn);return Yn?parseInt(Yn,16):-1}function Zt(In,Qn){return kn(In,!0,Qn)}function kn(In,Qn,Yn){for(var Ar=[],gr=!1,Si=!1;Ar.length=65&&_i<=70)_i+=97-65;else if(!(_i>=48&&_i<=57||_i>=97&&_i<=102))break;Ar.push(_i),Ie++,Si=!1}return Ar.length=Ht){Yn+=Ue.substring(Ar,Ie),We|=4,Et(e.Diagnostics.Unterminated_string_literal);break}var gr=Ue.charCodeAt(Ie);if(gr===Qn){Yn+=Ue.substring(Ar,Ie),Ie++;break}if(gr===92&&!In){Yn+=Ue.substring(Ar,Ie),Yn+=Ze(),Ar=Ie;continue}if(g(gr)&&!In){Yn+=Ue.substring(Ar,Ie),We|=4,Et(e.Diagnostics.Unterminated_string_literal);break}Ie++}return Yn}function Sr(In){var Qn=Ue.charCodeAt(Ie)===96;Ie++;for(var Yn=Ie,Ar="",gr;;){if(Ie>=Ht){Ar+=Ue.substring(Yn,Ie),We|=4,Et(e.Diagnostics.Unterminated_template_literal),gr=Qn?14:17;break}var Si=Ue.charCodeAt(Ie);if(Si===96){Ar+=Ue.substring(Yn,Ie),Ie++,gr=Qn?14:17;break}if(Si===36&&Ie+1=Ht)return Et(e.Diagnostics.Unexpected_end_of_text),"";var Yn=Ue.charCodeAt(Ie);switch(Ie++,Yn){case 48:return In&&Ie=0?String.fromCharCode(Qn):(Et(e.Diagnostics.Hexadecimal_digit_expected),"")}function Je(){var In=Zt(1,!1),Qn=In?parseInt(In,16):-1,Yn=!1;return Qn<0?(Et(e.Diagnostics.Hexadecimal_digit_expected),Yn=!0):Qn>1114111&&(Et(e.Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),Yn=!0),Ie>=Ht?(Et(e.Diagnostics.Unexpected_end_of_text),Yn=!0):Ue.charCodeAt(Ie)===125?Ie++:(Et(e.Diagnostics.Unterminated_Unicode_escape_sequence),Yn=!0),Yn?"":Ce(Qn)}function Bt(){if(Ie+5=2&&ke(Ue,Ie+1)===117&&ke(Ue,Ie+2)===123){var In=Ie;Ie+=3;var Qn=Zt(1,!1),Yn=Qn?parseInt(Qn,16):-1;return Ie=In,Yn}return-1}function Ve(){for(var In="",Qn=Ie;Ie=0&&Me(Yn,ge)){Ie+=3,We|=8,In+=Je(),Qn=Ie;continue}if(Yn=Bt(),!(Yn>=0&&Me(Yn,ge)))break;We|=1024,In+=Ue.substring(Qn,Ie),In+=Ce(Yn),Ie+=6,Qn=Ie}else break}return In+=Ue.substring(Qn,Ie),In}function Nt(){var In=Be.length;if(In>=2&&In<=12){var Qn=Be.charCodeAt(0);if(Qn>=97&&Qn<=122){var Yn=r.get(Be);if(Yn!==void 0)return fe=Yn}}return fe=79}function Ge(In){for(var Qn="",Yn=!1,Ar=!1;;){var gr=Ue.charCodeAt(Ie);if(gr===95){We|=512,Yn?(Yn=!1,Ar=!0):Et(Ar?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,Ie,1),Ie++;continue}if(Yn=!0,!C(gr)||gr-48>=In)break;Qn+=Ue[Ie],Ie++,Ar=!1}return Ue.charCodeAt(Ie-1)===95&&Et(e.Diagnostics.Numeric_separators_are_not_allowed_here,Ie-1,1),Qn}function lt(){if(Ue.charCodeAt(Ie)===110)return Be+="n",We&384&&(Be=e.parsePseudoBigInt(Be)+"n"),Ie++,9;var In=We&128?parseInt(Be.slice(2),2):We&256?parseInt(Be.slice(2),8):+Be;return Be=""+In,8}function Le(){var In;_t=Ie,We=0;for(var Qn=!1;;){if(It=Ie,Ie>=Ht)return fe=1;var Yn=ke(Ue,Ie);if(Yn===35&&Ie===0&&pe(Ue,Ie)){if(Ie=Ne(Ue,Ie),ze)continue;return fe=6}switch(Yn){case 10:case 13:if(We|=1,ze){Ie++;continue}else return Yn===13&&Ie+1=0&&pt(_i,ge))return Ie+=3,We|=8,Be=Je()+Ve(),fe=Nt();var Nn=Bt();return Nn>=0&&pt(Nn,ge)?(Ie+=6,We|=1024,Be=String.fromCharCode(Nn)+Ve(),fe=Nt()):(Et(e.Diagnostics.Invalid_character),Ie++,fe=0);case 35:return Ie!==0&&Ue[Ie+1]==="!"?(Et(e.Diagnostics.can_only_be_used_at_the_start_of_a_file),Ie++,fe=0):(pt(ke(Ue,Ie+1),ge)?(Ie++,xe(ke(Ue,Ie),ge)):(Be=String.fromCharCode(ke(Ue,Ie)),Et(e.Diagnostics.Invalid_character,Ie++,ve(Yn))),fe=80);default:var Rn=xe(Yn,ge);if(Rn)return fe=Rn;if(A(Yn)){Ie+=ve(Yn);continue}else if(g(Yn)){We|=1,Ie+=ve(Yn);continue}var Bn=ve(Yn);return Et(e.Diagnostics.Invalid_character,Ie,Bn),Ie+=Bn,fe=0}}}function ee(){e.Debug.assert(fe===0,"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'."),Ie=It=_t,We=0;var In=ke(Ue,Ie),Qn=xe(In,99);return Qn?fe=Qn:(Ie+=ve(In),fe)}function xe(In,Qn){var Yn=In;if(pt(Yn,Qn)){for(Ie+=ve(Yn);Ie=Ht)return fe=1;var Qn=Ue.charCodeAt(Ie);if(Qn===60)return Ue.charCodeAt(Ie+1)===47?(Ie+=2,fe=30):(Ie++,fe=29);if(Qn===123)return Ie++,fe=18;for(var Yn=0;Ie0)break;m(Qn)||(Yn=Ie)}Ie++}return Be=Ue.substring(_t,Ie),Yn===-1?12:11}function en(){if(u(fe)){for(var In=!1;Ie=Ht)return fe=1;var In=ke(Ue,Ie);switch(Ie+=ve(In),In){case 9:case 11:case 12:case 32:for(;Ie=0&&pt(Qn,ge))return Ie+=3,We|=8,Be=Je()+Ve(),fe=Nt();var Yn=Bt();return Yn>=0&&pt(Yn,ge)?(Ie+=6,We|=1024,Be=String.fromCharCode(Yn)+Ve(),fe=Nt()):(Ie++,fe=0)}if(pt(In,ge)){for(var Ar=In;Ie=0),Ie=In,_t=In,It=In,fe=0,Be=void 0,We=0}function lr(In){Lt+=In?1:-1}}e.createScanner=ot;var ke=String.prototype.codePointAt?function(ge,ze){return ge.codePointAt(ze)}:function(ge,ze){var ft=ge.length;if(!(ze<0||ze>=ft)){var vt=ge.charCodeAt(ze);if(vt>=55296&&vt<=56319&&ft>ze+1){var st=ge.charCodeAt(ze+1);if(st>=56320&&st<=57343)return(vt-55296)*1024+st-56320+65536}return vt}};function ve(ge){return ge>=65536?2:1}function be(ge){if(e.Debug.assert(0<=ge&&ge<=1114111),ge<=65535)return String.fromCharCode(ge);var ze=Math.floor((ge-65536)/1024)+55296,ft=(ge-65536)%1024+56320;return String.fromCharCode(ze,ft)}var Oe=String.fromCodePoint?function(ge){return String.fromCodePoint(ge)}:be;function Ce(ge){return Oe(ge)}e.utf16EncodeAsString=Ce})(ne||(ne={}));var ne;(function(e){function a(je){return e.pathIsRelative(je)||e.isRootedDiskPath(je)}e.isExternalModuleNameRelative=a;function u(je){return e.sortAndDeduplicate(je,e.compareDiagnostics)}e.sortAndDeduplicateDiagnostics=u;function P(je){switch(e.getEmitScriptTarget(je)){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=P;function r(je){return je.start+je.length}e.textSpanEnd=r;function v(je){return je.length===0}e.textSpanIsEmpty=v;function G(je,un){return un>=je.start&&un=je.pos&&un<=je.end}e.textRangeContainsPositionInclusive=ue;function h(je,un){return un.start>=je.start&&r(un)<=r(je)}e.textSpanContainsTextSpan=h;function S(je,un){return k(je,un)!==void 0}e.textSpanOverlapsWith=S;function k(je,un){var Cr=y(je,un);return Cr&&Cr.length===0?void 0:Cr}e.textSpanOverlap=k;function se(je,un){return f(je.start,je.length,un.start,un.length)}e.textSpanIntersectsWithTextSpan=se;function le(je,un,Cr){return f(je.start,je.length,un,Cr)}e.textSpanIntersectsWith=le;function f(je,un,Cr,aa){var Mi=je+un,ro=Cr+aa;return Cr<=Mi&&ro>=je}e.decodedTextSpanIntersectsWith=f;function b(je,un){return un<=r(je)&&un>=je.start}e.textSpanIntersectsWithPosition=b;function y(je,un){var Cr=Math.max(je.start,un.start),aa=Math.min(r(je),r(un));return Cr<=aa?ce(Cr,aa):void 0}e.textSpanIntersection=y;function K(je,un){if(je<0)throw new Error("start < 0");if(un<0)throw new Error("length < 0");return{start:je,length:un}}e.createTextSpan=K;function ce(je,un){return K(je,un-je)}e.createTextSpanFromBounds=ce;function Y(je){return K(je.span.start,je.newLength)}e.textChangeRangeNewSpan=Y;function re(je){return v(je.span)&&je.newLength===0}e.textChangeRangeIsUnchanged=re;function F(je,un){if(un<0)throw new Error("newLength < 0");return{span:je,newLength:un}}e.createTextChangeRange=F,e.unchangedTextChangeRange=F(K(0,0),0);function O(je){if(je.length===0)return e.unchangedTextChangeRange;if(je.length===1)return je[0];for(var un=je[0],Cr=un.span.start,aa=r(un.span),Mi=Cr+un.newLength,ro=1;ro=2&&je.charCodeAt(0)===95&&je.charCodeAt(1)===95?"_"+je:je}e.escapeLeadingUnderscores=E;function j(je){var un=je;return un.length>=3&&un.charCodeAt(0)===95&&un.charCodeAt(1)===95&&un.charCodeAt(2)===95?un.substr(1):un}e.unescapeLeadingUnderscores=j;function B(je){return j(je.escapedText)}e.idText=B;function W(je){return je.valueDeclaration&&An(je.valueDeclaration)?B(je.valueDeclaration.name):j(je.escapedName)}e.symbolName=W;function J(je){var un=je.parent.parent;if(un){if(Vn(un))return M(un);switch(un.kind){case 236:if(un.declarationList&&un.declarationList.declarations[0])return M(un.declarationList.declarations[0]);break;case 237:var Cr=un.expression;switch(Cr.kind===220&&Cr.operatorToken.kind===63&&(Cr=Cr.left),Cr.kind){case 205:return Cr.name;case 206:var aa=Cr.argumentExpression;if(e.isIdentifier(aa))return aa}break;case 211:return M(un.expression);case 249:{if(Vn(un.statement)||pa(un.statement))return M(un.statement);break}}}}function M(je){var un=L(je);return un&&e.isIdentifier(un)?un:void 0}function pe(je,un){return!!(w(je)&&e.isIdentifier(je.name)&&B(je.name)===B(un)||e.isVariableStatement(je)&&e.some(je.declarationList.declarations,function(Cr){return pe(Cr,un)}))}e.nodeHasName=pe;function Ne(je){return je.name||J(je)}e.getNameOfJSDocTypedef=Ne;function w(je){return!!je.name}e.isNamedDeclaration=w;function R(je){switch(je.kind){case 79:return je;case 345:case 338:{var un=je.name;if(un.kind===160)return un.right;break}case 207:case 220:{var Cr=je;switch(e.getAssignmentDeclarationKind(Cr)){case 1:case 4:case 5:case 3:return e.getElementOrPropertyAccessArgumentExpressionOrName(Cr.left);case 7:case 8:case 9:return Cr.arguments[1];default:return}}case 343:return Ne(je);case 337:return J(je);case 270:{var aa=je.expression;return e.isIdentifier(aa)?aa:void 0}case 206:var Mi=je;if(e.isBindableStaticElementAccessExpression(Mi))return Mi.argumentExpression}return je.name}e.getNonAssignedNameOfDeclaration=R;function L(je){if(je!==void 0)return R(je)||(e.isFunctionExpression(je)||e.isArrowFunction(je)||e.isClassExpression(je)?V(je):void 0)}e.getNameOfDeclaration=L;function V(je){if(je.parent){if(e.isPropertyAssignment(je.parent)||e.isBindingElement(je.parent))return je.parent.name;if(e.isBinaryExpression(je.parent)&&je===je.parent.right){if(e.isIdentifier(je.parent.left))return je.parent.left;if(e.isAccessExpression(je.parent.left))return e.getElementOrPropertyAccessArgumentExpressionOrName(je.parent.left)}else if(e.isVariableDeclaration(je.parent)&&e.isIdentifier(je.parent.name))return je.parent.name}else return}e.getAssignedName=V;function Te(je,un){if(je.name)if(e.isIdentifier(je.name)){var Cr=je.name.escapedText;return We(je.parent,un).filter(function(ro){return e.isJSDocParameterTag(ro)&&e.isIdentifier(ro.name)&&ro.name.escapedText===Cr})}else{var aa=je.parent.parameters.indexOf(je);e.Debug.assert(aa>-1,"Parameters should always be in their parents' parameter list");var Mi=We(je.parent,un).filter(e.isJSDocParameterTag);if(aa=160}e.isNodeKind=it;function ut(je){return je>=0&&je<=159}e.isTokenKind=ut;function Qe(je){return ut(je.kind)}e.isToken=Qe;function cn(je){return je.hasOwnProperty("pos")&&je.hasOwnProperty("end")}e.isNodeArray=cn;function vn(je){return 8<=je&&je<=14}e.isLiteralKind=vn;function Ut(je){return vn(je.kind)}e.isLiteralExpression=Ut;function $e(je){return 14<=je&&je<=17}e.isTemplateLiteralKind=$e;function Ct(je){return $e(je.kind)}e.isTemplateLiteralToken=Ct;function kt(je){var un=je.kind;return un===16||un===17}e.isTemplateMiddleOrTemplateTail=kt;function en(je){return e.isImportSpecifier(je)||e.isExportSpecifier(je)}e.isImportOrExportSpecifier=en;function mn(je){switch(je.kind){case 269:case 274:return je.isTypeOnly||je.parent.parent.isTypeOnly;case 267:return je.parent.isTypeOnly;case 266:case 264:return je.isTypeOnly;default:return!1}}e.isTypeOnlyImportOrExportDeclaration=mn;function hn(je){return e.isStringLiteral(je)||e.isIdentifier(je)}e.isAssertionKey=hn;function Pn(je){return je.kind===10||$e(je.kind)}e.isStringTextContainingNode=Pn;function Fn(je){return e.isIdentifier(je)&&(je.autoGenerateFlags&7)>0}e.isGeneratedIdentifier=Fn;function An(je){return(e.isPropertyDeclaration(je)||Rn(je))&&e.isPrivateIdentifier(je.name)}e.isPrivateIdentifierClassElementDeclaration=An;function Tn(je){return e.isPropertyAccessExpression(je)&&e.isPrivateIdentifier(je.name)}e.isPrivateIdentifierPropertyAccessExpression=Tn;function qn(je){switch(je){case 126:case 131:case 85:case 135:case 88:case 93:case 123:case 121:case 122:case 144:case 124:case 158:return!0}return!1}e.isModifierKind=qn;function xn(je){return!!(e.modifierToFlag(je)&16476)}e.isParameterPropertyModifier=xn;function rr(je){return xn(je)||je===124||je===158}e.isClassMemberModifier=rr;function Fr(je){return qn(je.kind)}e.isModifier=Fr;function di(je){var un=je.kind;return un===160||un===79}e.isEntityName=di;function pi(je){var un=je.kind;return un===79||un===80||un===10||un===8||un===161}e.isPropertyName=pi;function Oi(je){var un=je.kind;return un===79||un===200||un===201}e.isBindingName=Oi;function li(je){return!!je&&Ar(je.kind)}e.isFunctionLike=li;function lr(je){return!!je&&(Ar(je.kind)||e.isClassStaticBlockDeclaration(je))}e.isFunctionLikeOrClassStaticBlockDeclaration=lr;function In(je){return je&&Yn(je.kind)}e.isFunctionLikeDeclaration=In;function Qn(je){return je.kind===110||je.kind===95}e.isBooleanLiteral=Qn;function Yn(je){switch(je){case 255:case 168:case 170:case 171:case 172:case 212:case 213:return!0;default:return!1}}function Ar(je){switch(je){case 167:case 173:case 321:case 174:case 175:case 178:case 315:case 179:return!0;default:return Yn(je)}}e.isFunctionLikeKind=Ar;function gr(je){return e.isSourceFile(je)||e.isModuleBlock(je)||e.isBlock(je)&&li(je.parent)}e.isFunctionOrModuleBlock=gr;function Si(je){var un=je.kind;return un===170||un===166||un===168||un===171||un===172||un===175||un===169||un===233}e.isClassElement=Si;function _i(je){return je&&(je.kind===256||je.kind===225)}e.isClassLike=_i;function Nn(je){return je&&(je.kind===171||je.kind===172)}e.isAccessor=Nn;function Rn(je){switch(je.kind){case 168:case 171:case 172:return!0;default:return!1}}e.isMethodOrAccessor=Rn;function Bn(je){var un=je.kind;return un===174||un===173||un===165||un===167||un===175}e.isTypeElement=Bn;function jt(je){return Bn(je)||Si(je)}e.isClassOrTypeElement=jt;function pr(je){var un=je.kind;return un===294||un===295||un===296||un===168||un===171||un===172}e.isObjectLiteralElementLike=pr;function br(je){return e.isTypeNodeKind(je.kind)}e.isTypeNode=br;function Ci(je){switch(je.kind){case 178:case 179:return!0}return!1}e.isFunctionOrConstructorTypeNode=Ci;function Bi(je){if(je){var un=je.kind;return un===201||un===200}return!1}e.isBindingPattern=Bi;function Da(je){var un=je.kind;return un===203||un===204}e.isAssignmentPattern=Da;function $i(je){var un=je.kind;return un===202||un===226}e.isArrayBindingElement=$i;function Xt(je){switch(je.kind){case 253:case 163:case 202:return!0}return!1}e.isDeclarationBindingElement=Xt;function ja(je){return xa(je)||po(je)}e.isBindingOrAssignmentPattern=ja;function xa(je){switch(je.kind){case 200:case 204:return!0}return!1}e.isObjectBindingOrAssignmentPattern=xa;function so(je){switch(je.kind){case 202:case 294:case 295:case 296:return!0}return!1}e.isObjectBindingOrAssignmentElement=so;function po(je){switch(je.kind){case 201:case 203:return!0}return!1}e.isArrayBindingOrAssignmentPattern=po;function Ua(je){var un=je.kind;return un===205||un===160||un===199}e.isPropertyAccessOrQualifiedNameOrImportTypeNode=Ua;function is(je){var un=je.kind;return un===205||un===160}e.isPropertyAccessOrQualifiedName=is;function ao(je){switch(je.kind){case 279:case 278:case 207:case 208:case 209:case 164:return!0;default:return!1}}e.isCallLikeExpression=ao;function Mo(je){return je.kind===207||je.kind===208}e.isCallOrNewExpression=Mo;function xo(je){var un=je.kind;return un===222||un===14}e.isTemplateLiteral=xo;function as(je){return ta(Ge(je).kind)}e.isLeftHandSideExpression=as;function ta(je){switch(je){case 205:case 206:case 208:case 207:case 277:case 278:case 281:case 209:case 203:case 211:case 204:case 225:case 212:case 79:case 80:case 13:case 8:case 9:case 10:case 14:case 222:case 95:case 104:case 108:case 110:case 106:case 229:case 230:case 100:return!0;default:return!1}}function ls(je){return qo(Ge(je).kind)}e.isUnaryExpression=ls;function qo(je){switch(je){case 218:case 219:case 214:case 215:case 216:case 217:case 210:return!0;default:return ta(je)}}function bo(je){switch(je.kind){case 219:return!0;case 218:return je.operator===45||je.operator===46;default:return!1}}e.isUnaryExpressionWithWrite=bo;function pa(je){return oo(Ge(je).kind)}e.isExpression=pa;function oo(je){switch(je){case 221:case 223:case 213:case 220:case 224:case 228:case 226:case 349:case 348:return!0;default:return qo(je)}}function Ro(je){var un=je.kind;return un===210||un===228}e.isAssertionExpression=Ro;function jo(je){return e.isNotEmittedStatement(je)||e.isPartiallyEmittedExpression(je)}e.isNotEmittedOrPartiallyEmittedNode=jo;function _s(je,un){switch(je.kind){case 241:case 242:case 243:case 239:case 240:return!0;case 249:return un&&_s(je.statement,un)}return!1}e.isIterationStatement=_s;function ds(je){return e.isExportAssignment(je)||e.isExportDeclaration(je)}e.isScopeMarker=ds;function Fs(je){return e.some(je,ds)}e.hasScopeMarker=Fs;function ec(je){return!e.isAnyImportOrReExport(je)&&!e.isExportAssignment(je)&&!e.hasSyntacticModifier(je,1)&&!e.isAmbientModule(je)}e.needsScopeMarker=ec;function xt(je){return e.isAnyImportOrReExport(je)||e.isExportAssignment(je)||e.hasSyntacticModifier(je,1)}e.isExternalModuleIndicator=xt;function Sn(je){return je.kind===242||je.kind===243}e.isForInOrOfStatement=Sn;function fr(je){return e.isBlock(je)||pa(je)}e.isConciseBody=fr;function ai(je){return e.isBlock(je)}e.isFunctionBody=ai;function gi(je){return e.isVariableDeclarationList(je)||pa(je)}e.isForInitializer=gi;function qe(je){var un=je.kind;return un===261||un===260||un===79}e.isModuleBody=qe;function D(je){var un=je.kind;return un===261||un===260}e.isNamespaceBody=D;function De(je){var un=je.kind;return un===79||un===260}e.isJSDocNamespaceBody=De;function Ke(je){var un=je.kind;return un===268||un===267}e.isNamedImportBindings=Ke;function nt(je){return je.kind===260||je.kind===259}e.isModuleOrEnumDeclaration=nt;function Mt(je){return je===213||je===202||je===256||je===225||je===169||je===170||je===259||je===297||je===274||je===255||je===212||je===171||je===266||je===264||je===269||je===257||je===284||je===168||je===167||je===260||je===263||je===267||je===273||je===163||je===294||je===166||je===165||je===172||je===295||je===258||je===162||je===253||je===343||je===336||je===345}function _n(je){return je===255||je===275||je===256||je===257||je===258||je===259||je===260||je===265||je===264||je===271||je===270||je===263}function Dn(je){return je===245||je===244||je===252||je===239||je===237||je===235||je===242||je===243||je===241||je===238||je===249||je===246||je===248||je===250||je===251||je===236||je===240||je===247||je===347||je===351||je===350}function Vn(je){return je.kind===162?je.parent&&je.parent.kind!==342||e.isInJSFile(je):Mt(je.kind)}e.isDeclaration=Vn;function mr(je){return _n(je.kind)}e.isDeclarationStatement=mr;function Xr(je){return Dn(je.kind)}e.isStatementButNotDeclaration=Xr;function Pi(je){var un=je.kind;return Dn(un)||_n(un)||ji(je)}e.isStatement=Pi;function ji(je){return je.kind!==234||je.parent!==void 0&&(je.parent.kind===251||je.parent.kind===291)?!1:!e.isFunctionBlock(je)}function da(je){var un=je.kind;return Dn(un)||_n(un)||un===234}e.isStatementOrBlock=da;function fo(je){var un=je.kind;return un===276||un===160||un===79}e.isModuleReference=fo;function Ho(je){var un=je.kind;return un===108||un===79||un===205}e.isJsxTagNameExpression=Ho;function vs(je){var un=je.kind;return un===277||un===287||un===278||un===11||un===281}e.isJsxChild=vs;function ns(je){var un=je.kind;return un===284||un===286}e.isJsxAttributeLike=ns;function Os(je){var un=je.kind;return un===10||un===287}e.isStringLiteralOrJsxExpression=Os;function qs(je){var un=je.kind;return un===279||un===278}e.isJsxOpeningLikeElement=qs;function jn(je){var un=je.kind;return un===288||un===289}e.isCaseOrDefaultClause=jn;function ci(je){return je.kind>=307&&je.kind<=345}e.isJSDocNode=ci;function hi(je){return je.kind===318||je.kind===317||je.kind===319||ii(je)||fa(je)||e.isJSDocTypeLiteral(je)||e.isJSDocSignature(je)}e.isJSDocCommentContainingNode=hi;function fa(je){return je.kind>=325&&je.kind<=345}e.isJSDocTag=fa;function wa(je){return je.kind===172}e.isSetAccessor=wa;function eo(je){return je.kind===171}e.isGetAccessor=eo;function zi(je){var un=je.jsDoc;return!!un&&un.length>0}e.hasJSDocNodes=zi;function Ia(je){return!!je.type}e.hasType=Ia;function Za(je){return!!je.initializer}e.hasInitializer=Za;function Do(je){switch(je.kind){case 253:case 163:case 202:case 165:case 166:case 294:case 297:return!0;default:return!1}}e.hasOnlyExpressionInitializer=Do;function Bo(je){return je.kind===284||je.kind===286||pr(je)}e.isObjectLiteralElement=Bo;function ye(je){return je.kind===177||je.kind===227}e.isTypeReferenceType=ye;var Jt=1073741823;function En(je){for(var un=Jt,Cr=0,aa=je;Cr=0),e.getLineStarts(oe)[c]}e.getStartPositionOfLine=N;function _(c){var oe=m(c),gt=e.getLineAndCharacterOfPosition(oe,c.pos);return"".concat(oe.fileName,"(").concat(gt.line+1,",").concat(gt.character+1,")")}e.nodePosToString=_;function d(c,oe){e.Debug.assert(c>=0);var gt=e.getLineStarts(oe),Yt=c,Un=oe.text;if(Yt+1===gt.length)return Un.length-1;var Kr=gt[Yt],kr=gt[Yt+1]-1;for(e.Debug.assert(e.isLineBreak(Un.charCodeAt(kr)));Kr<=kr&&e.isLineBreak(Un.charCodeAt(kr));)kr--;return kr}e.getEndLinePosition=d;function E(c,oe,gt){return!(gt&>(oe))&&!c.identifiers.has(oe)}e.isFileLevelUniqueName=E;function j(c){return c===void 0?!0:c.pos===c.end&&c.pos>=0&&c.kind!==1}e.nodeIsMissing=j;function B(c){return!j(c)}e.nodeIsPresent=B;function W(c,oe,gt){if(oe===void 0||oe.length===0)return c;for(var Yt=0;Yt0?Se(c._children[0],oe,gt):e.skipTrivia((oe||m(c)).text,c.pos,!1,!1,mr(c))}e.getTokenPosOfNode=Se;function we(c,oe){return j(c)||!c.decorators?Se(c,oe):e.skipTrivia((oe||m(c)).text,c.decorators.end)}e.getNonDecoratorTokenPosOfNode=we;function He(c,oe,gt){return gt===void 0&&(gt=!1),Me(c.text,oe,gt)}e.getSourceTextOfNodeFromSourceFile=He;function et(c){return!!e.findAncestor(c,e.isJSDocTypeExpression)}function pt(c){return!!(e.isExportDeclaration(c)&&c.exportClause&&e.isNamespaceExport(c.exportClause)&&c.exportClause.name.escapedText==="default")}e.isExportNamespaceAsDefaultDeclaration=pt;function Me(c,oe,gt){if(gt===void 0&&(gt=!1),j(oe))return"";var Yt=c.substring(gt?oe.pos:e.skipTrivia(c,oe.pos),oe.end);return et(oe)&&(Yt=Yt.split(/\r\n|\n|\r/).map(function(Un){return e.trimStringStart(Un.replace(/^\s*\*/,""))}).join(` `)),Yt}e.getTextOfNodeFromSourceText=Me;function Fe(c,oe){return oe===void 0&&(oe=!1),He(m(c),c,oe)}e.getTextOfNode=Fe;function ot(c){return c.pos}function ke(c,oe){return e.binarySearch(c,oe,ot,e.compareValues)}e.indexOfNode=ke;function ve(c){var oe=c.emitNode;return oe&&oe.flags||0}e.getEmitFlags=ve;function be(){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=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"}(e.GetLiteralTextFlags||(e.GetLiteralTextFlags={}));function Oe(c,oe,gt){var Yt;if(Ce(c,gt))return He(oe,c);switch(c.kind){case 10:{var Un=gt&2?bd:gt&1||ve(c)&16777216?vd:h_;return c.singleQuote?"'"+Un(c.text,39)+"'":'"'+Un(c.text,34)+'"'}case 14:case 15:case 16:case 17:{var Un=gt&1||ve(c)&16777216?vd:h_,Kr=(Yt=c.rawText)!==null&&Yt!==void 0?Yt:q_(Un(c.text,96));switch(c.kind){case 14:return"`"+Kr+"`";case 15:return"`"+Kr+"${";case 16:return"}"+Kr+"${";case 17:return"}"+Kr+"`"}break}case 8:case 9:return c.text;case 13:return gt&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=Oe;function Ce(c,oe){return Wp(c)||!c.parent||oe&4&&c.isUnterminated?!1:e.isNumericLiteral(c)&&c.numericLiteralFlags&512?!!(oe&8):!e.isBigIntLiteral(c)}function ge(c){return e.isString(c)?'"'+h_(c)+'"':""+c}e.getTextOfConstantValue=ge;function ze(c){return e.getBaseFileName(c).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}e.makeIdentifierFromModuleName=ze;function ft(c){return(e.getCombinedNodeFlags(c)&3)!==0||vt(c)}e.isBlockOrCatchScoped=ft;function vt(c){var oe=z_(c);return oe.kind===253&&oe.parent.kind===291}e.isCatchClauseVariableDeclarationOrBindingElement=vt;function st(c){return e.isModuleDeclaration(c)&&(c.name.kind===10||It(c))}e.isAmbientModule=st;function At(c){return e.isModuleDeclaration(c)&&c.name.kind===10}e.isModuleWithStringLiteralName=At;function qt(c){return e.isModuleDeclaration(c)&&e.isStringLiteral(c.name)}e.isNonGlobalAmbientModule=qt;function Ue(c){return e.isModuleDeclaration(c)||e.isIdentifier(c)}e.isEffectiveModuleDeclaration=Ue;function Ie(c){return Ht(c.valueDeclaration)}e.isShorthandAmbientModuleSymbol=Ie;function Ht(c){return!!c&&c.kind===260&&!c.body}function _t(c){return c.kind===303||c.kind===260||e.isFunctionLikeOrClassStaticBlockDeclaration(c)}e.isBlockScopedContainerTopLevel=_t;function It(c){return!!(c.flags&1024)}e.isGlobalScopeAugmentation=It;function fe(c){return st(c)&&Be(c)}e.isExternalModuleAugmentation=fe;function Be(c){switch(c.parent.kind){case 303:return e.isExternalModule(c.parent);case 261:return st(c.parent.parent)&&e.isSourceFile(c.parent.parent.parent)&&!e.isExternalModule(c.parent.parent.parent)}return!1}e.isModuleAugmentationExternal=Be;function We(c){var oe;return(oe=c.declarations)===null||oe===void 0?void 0:oe.find(function(gt){return!fe(gt)&&!(e.isModuleDeclaration(gt)&&It(gt))})}e.getNonAugmentationDeclaration=We;function Ft(c){return c===e.ModuleKind.CommonJS||c===e.ModuleKind.Node12||c===e.ModuleKind.NodeNext}function Lt(c,oe){return e.isExternalModule(c)||oe.isolatedModules||Ft(Ku(oe))&&!!c.commonJsModuleIndicator}e.isEffectiveExternalModule=Lt;function Rt(c,oe){switch(c.scriptKind){case 1:case 3:case 2:case 4:break;default:return!1}return c.isDeclarationFile?!1:bs(oe,"alwaysStrict")||e.startsWithUseStrict(c.statements)?!0:e.isExternalModule(c)||oe.isolatedModules?Ku(oe)>=e.ModuleKind.ES2015?!0:!oe.noImplicitUseStrict:!1}e.isEffectiveStrictModeSourceFile=Rt;function Et(c,oe){switch(c.kind){case 303:case 262:case 291:case 260:case 241:case 242:case 243:case 170:case 168:case 171:case 172:case 255:case 212:case 213:case 166:case 169:return!0;case 234:return!e.isFunctionLikeOrClassStaticBlockDeclaration(oe)}return!1}e.isBlockScope=Et;function pn(c){switch(c.kind){case 336:case 343:case 321:return!0;default:return e.assertType(c),he(c)}}e.isDeclarationWithTypeParameters=pn;function he(c){switch(c.kind){case 173:case 174:case 167:case 175:case 178:case 179:case 315:case 256:case 225:case 257:case 258:case 342:case 255:case 168:case 170:case 171:case 172:case 212:case 213:return!0;default:return e.assertType(c),!1}}e.isDeclarationWithTypeParameterChildren=he;function yt(c){switch(c.kind){case 265:case 264:return!0;default:return!1}}e.isAnyImportSyntax=yt;function Gt(c){switch(c.kind){case 265:case 264:case 236:case 256:case 255:case 260:case 258:case 257:case 259:return!0;default:return!1}}e.isLateVisibilityPaintedStatement=Gt;function rn(c){return Zt(c)||e.isModuleDeclaration(c)||e.isImportTypeNode(c)||kt(c)}e.hasPossibleExternalModuleReference=rn;function Zt(c){return yt(c)||e.isExportDeclaration(c)}e.isAnyImportOrReExport=Zt;function kn(c){return e.findAncestor(c.parent,function(oe){return Et(oe,oe.parent)})}e.getEnclosingBlockScopeContainer=kn;function Zn(c,oe){for(var gt=kn(c);gt;)oe(gt),gt=kn(gt)}e.forEachEnclosingBlockScopeContainer=Zn;function Sr(c){return!c||K(c)===0?"(Missing)":Fe(c)}e.declarationNameToString=Sr;function Ze(c){return c.declaration?Sr(c.declaration.parameters[0].name):void 0}e.getNameFromIndexInfo=Ze;function tn(c){return c.kind===161&&!Fu(c.expression)}e.isComputedNonLiteralName=tn;function Je(c){switch(c.kind){case 79:case 80:return c.escapedText;case 10:case 8:case 14:return e.escapeLeadingUnderscores(c.text);case 161:return Fu(c.expression)?e.escapeLeadingUnderscores(c.expression.text):e.Debug.fail("Text of property name cannot be read from non-literal-valued ComputedPropertyNames");default:return e.Debug.assertNever(c)}}e.getTextOfPropertyName=Je;function Bt(c){switch(c.kind){case 108:return"this";case 80:case 79:return K(c)===0?e.idText(c):Fe(c);case 160:return Bt(c.left)+"."+Bt(c.right);case 205:return e.isIdentifier(c.name)||e.isPrivateIdentifier(c.name)?Bt(c.expression)+"."+Bt(c.name):e.Debug.assertNever(c.name);case 309:return Bt(c.left)+Bt(c.right);default:return e.Debug.assertNever(c)}}e.entityNameToString=Bt;function zt(c,oe,gt,Yt,Un,Kr){var kr=m(c);return Nt(kr,c,oe,gt,Yt,Un,Kr)}e.createDiagnosticForNode=zt;function Ve(c,oe,gt,Yt,Un,Kr,kr){var ki=e.skipTrivia(c.text,oe.pos);return u_(c,ki,oe.end-ki,gt,Yt,Un,Kr,kr)}e.createDiagnosticForNodeArray=Ve;function Nt(c,oe,gt,Yt,Un,Kr,kr){var ki=it(c,oe);return u_(c,ki.start,ki.length,gt,Yt,Un,Kr,kr)}e.createDiagnosticForNodeInSourceFile=Nt;function Ge(c,oe,gt){var Yt=m(c),Un=it(Yt,c);return Le(Yt,Un.start,Un.length,oe,gt)}e.createDiagnosticForNodeFromMessageChain=Ge;function lt(c,oe,gt){e.Debug.assertGreaterThanOrEqual(oe,0),e.Debug.assertGreaterThanOrEqual(gt,0),c&&(e.Debug.assertLessThanOrEqual(oe,c.text.length),e.Debug.assertLessThanOrEqual(oe+gt,c.text.length))}function Le(c,oe,gt,Yt,Un){return lt(c,oe,gt),{file:c,start:oe,length:gt,code:Yt.code,category:Yt.category,messageText:Yt.next?Yt:Yt.messageText,relatedInformation:Un}}e.createFileDiagnosticFromMessageChain=Le;function ee(c,oe,gt){return{file:c,start:0,length:0,code:oe.code,category:oe.category,messageText:oe.next?oe:oe.messageText,relatedInformation:gt}}e.createDiagnosticForFileFromMessageChain=ee;function xe(c){return typeof c.messageText=="string"?{code:c.code,category:c.category,messageText:c.messageText,next:c.next}:c.messageText}e.createDiagnosticMessageChainFromDiagnostic=xe;function H(c,oe,gt){return{file:c,start:oe.pos,length:oe.end-oe.pos,code:gt.code,category:gt.category,messageText:gt.message}}e.createDiagnosticForRange=H;function ae(c,oe){var gt=e.createScanner(c.languageVersion,!0,c.languageVariant,c.text,void 0,oe);gt.scan();var Yt=gt.getTokenPos();return e.createTextSpanFromBounds(Yt,gt.getTextPos())}e.getSpanOfTokenAtPosition=ae;function Re(c,oe){var gt=e.skipTrivia(c.text,oe.pos);if(oe.body&&oe.body.kind===234){var Yt=e.getLineAndCharacterOfPosition(c,oe.body.pos).line,Un=e.getLineAndCharacterOfPosition(c,oe.body.end).line;if(Yt0?oe.statements[0].pos:oe.end;return e.createTextSpanFromBounds(Un,Kr)}if(gt===void 0)return ae(c,oe.pos);e.Debug.assert(!e.isJSDoc(gt));var kr=j(gt),ki=kr||e.isJsxText(oe)?gt.pos:e.skipTrivia(c.text,gt.pos);return kr?(e.Debug.assert(ki===gt.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),e.Debug.assert(ki===gt.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")):(e.Debug.assert(ki>=gt.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),e.Debug.assert(ki<=gt.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),e.createTextSpanFromBounds(ki,gt.end)}e.getErrorSpanForNode=it;function ut(c){return(c.externalModuleIndicator||c.commonJsModuleIndicator)!==void 0}e.isExternalOrCommonJsModule=ut;function Qe(c){return c.scriptKind===6}e.isJsonSourceFile=Qe;function cn(c){return!!(e.getCombinedModifierFlags(c)&2048)}e.isEnumConst=cn;function vn(c){return!!(e.getCombinedModifierFlags(c)&64&&!e.isParameterPropertyDeclaration(c,c.parent))}e.isDeclarationReadonly=vn;function Ut(c){return!!(e.getCombinedNodeFlags(c)&2)}e.isVarConst=Ut;function $e(c){return!!(e.getCombinedNodeFlags(c)&1)}e.isLet=$e;function Ct(c){return c.kind===207&&c.expression.kind===106}e.isSuperCall=Ct;function kt(c){return c.kind===207&&c.expression.kind===100}e.isImportCall=kt;function en(c){return e.isMetaProperty(c)&&c.keywordToken===100&&c.name.escapedText==="meta"}e.isImportMeta=en;function mn(c){return e.isImportTypeNode(c)&&e.isLiteralTypeNode(c.argument)&&e.isStringLiteral(c.argument.literal)}e.isLiteralImportTypeNode=mn;function hn(c){return c.kind===237&&c.expression.kind===10}e.isPrologueDirective=hn;function Pn(c){return!!(ve(c)&1048576)}e.isCustomPrologue=Pn;function Fn(c){return Pn(c)&&e.isFunctionDeclaration(c)}e.isHoistedFunction=Fn;function An(c){return e.isIdentifier(c.name)&&!c.initializer}function Tn(c){return Pn(c)&&e.isVariableStatement(c)&&e.every(c.declarationList.declarations,An)}e.isHoistedVariableStatement=Tn;function qn(c,oe){return c.kind!==11?e.getLeadingCommentRanges(oe.text,c.pos):void 0}e.getLeadingCommentRangesOfNode=qn;function xn(c,oe){var gt=c.kind===163||c.kind===162||c.kind===212||c.kind===213||c.kind===211||c.kind===253||c.kind===274?e.concatenate(e.getTrailingCommentRanges(oe,c.pos),e.getLeadingCommentRanges(oe,c.pos)):e.getLeadingCommentRanges(oe,c.pos);return e.filter(gt,function(Yt){return oe.charCodeAt(Yt.pos+1)===42&&oe.charCodeAt(Yt.pos+2)===42&&oe.charCodeAt(Yt.pos+3)!==47})}e.getJSDocCommentRanges=xn,e.fullTripleSlashReferencePathRegEx=/^(\/\/\/\s*/;var rr=/^(\/\/\/\s*/;e.fullTripleSlashAMDReferencePathRegEx=/^(\/\/\/\s*/;var Fr=/^(\/\/\/\s*/;function di(c){if(176<=c.kind&&c.kind<=199)return!0;switch(c.kind){case 130:case 154:case 146:case 157:case 149:case 133:case 150:case 147:case 152:case 143:return!0;case 114:return c.parent.kind!==216;case 227:return!Ul(c);case 162:return c.parent.kind===194||c.parent.kind===189;case 79:(c.parent.kind===160&&c.parent.right===c||c.parent.kind===205&&c.parent.name===c)&&(c=c.parent),e.Debug.assert(c.kind===79||c.kind===160||c.kind===205,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 160:case 205:case 108:{var oe=c.parent;if(oe.kind===180)return!1;if(oe.kind===199)return!oe.isTypeOf;if(176<=oe.kind&&oe.kind<=199)return!0;switch(oe.kind){case 227:return!Ul(oe);case 162:return c===oe.constraint;case 342:return c===oe.constraint;case 166:case 165:case 163:case 253:return c===oe.type;case 255:case 212:case 213:case 170:case 168:case 167:case 171:case 172:return c===oe.type;case 173:case 174:case 175:return c===oe.type;case 210:return c===oe.type;case 207:case 208:return e.contains(oe.typeArguments,c);case 209:return!1}}}return!1}e.isPartOfTypeNode=di;function pi(c,oe){for(;c;){if(c.kind===oe)return!0;c=c.parent}return!1}e.isChildOfNodeWithKind=pi;function Oi(c,oe){return gt(c);function gt(Yt){switch(Yt.kind){case 246:return oe(Yt);case 262:case 234:case 238:case 239:case 240:case 241:case 242:case 243:case 247:case 248:case 288:case 289:case 249:case 251:case 291:return e.forEachChild(Yt,gt)}}}e.forEachReturnStatement=Oi;function li(c,oe){return gt(c);function gt(Yt){switch(Yt.kind){case 223:oe(Yt);var Un=Yt.expression;Un&>(Un);return;case 259:case 257:case 260:case 258:return;default:if(e.isFunctionLike(Yt)){if(Yt.name&&Yt.name.kind===161){gt(Yt.name.expression);return}}else di(Yt)||e.forEachChild(Yt,gt)}}}e.forEachYieldExpression=li;function lr(c){return c&&c.kind===182?c.elementType:c&&c.kind===177?e.singleOrUndefined(c.typeArguments):void 0}e.getRestParameterElementType=lr;function In(c){switch(c.kind){case 257:case 256:case 225:case 181:return c.members;case 204:return c.properties}}e.getMembersOfDeclaration=In;function Qn(c){if(c)switch(c.kind){case 202:case 297:case 163:case 294:case 166:case 165:case 295:case 253:return!0}return!1}e.isVariableLike=Qn;function Yn(c){return Qn(c)||e.isAccessor(c)}e.isVariableLikeOrAccessor=Yn;function Ar(c){return c.parent.kind===254&&c.parent.parent.kind===236}e.isVariableDeclarationInVariableStatement=Ar;function gr(c){return e.isVariableDeclaration(c)?Ut(c)&&e.isIdentifier(c.name)&&Ar(c):e.isPropertyDeclaration(c)?bl(c)&&Eu(c):e.isPropertySignature(c)&&bl(c)}e.isValidESSymbolDeclaration=gr;function Si(c){switch(c.kind){case 168:case 167:case 170:case 171:case 172:case 255:case 212:return!0}return!1}e.introducesArgumentsExoticObject=Si;function _i(c,oe){for(;;){if(oe&&oe(c),c.statement.kind!==249)return c.statement;c=c.statement}}e.unwrapInnermostStatementOfLabel=_i;function Nn(c){return c&&c.kind===234&&e.isFunctionLike(c.parent)}e.isFunctionBlock=Nn;function Rn(c){return c&&c.kind===168&&c.parent.kind===204}e.isObjectLiteralMethod=Rn;function Bn(c){return(c.kind===168||c.kind===171||c.kind===172)&&(c.parent.kind===204||c.parent.kind===225)}e.isObjectLiteralOrClassExpressionMethodOrAccessor=Bn;function jt(c){return c&&c.kind===1}e.isIdentifierTypePredicate=jt;function pr(c){return c&&c.kind===0}e.isThisTypePredicate=pr;function br(c,oe,gt){return c.properties.filter(function(Yt){if(Yt.kind===294){var Un=Je(Yt.name);return oe===Un||!!gt&>===Un}return!1})}e.getPropertyAssignment=br;function Ci(c,oe,gt){return e.firstDefined(br(c,oe),function(Yt){return e.isArrayLiteralExpression(Yt.initializer)?e.find(Yt.initializer.elements,function(Un){return e.isStringLiteral(Un)&&Un.text===gt}):void 0})}e.getPropertyArrayElementValue=Ci;function Bi(c){if(c&&c.statements.length){var oe=c.statements[0].expression;return e.tryCast(oe,e.isObjectLiteralExpression)}}e.getTsConfigObjectLiteralExpression=Bi;function Da(c,oe,gt){return e.firstDefined($i(c,oe),function(Yt){return e.isArrayLiteralExpression(Yt.initializer)?e.find(Yt.initializer.elements,function(Un){return e.isStringLiteral(Un)&&Un.text===gt}):void 0})}e.getTsConfigPropArrayElementValue=Da;function $i(c,oe){var gt=Bi(c);return gt?br(gt,oe):e.emptyArray}e.getTsConfigPropArray=$i;function Xt(c){return e.findAncestor(c.parent,e.isFunctionLike)}e.getContainingFunction=Xt;function ja(c){return e.findAncestor(c.parent,e.isFunctionLikeDeclaration)}e.getContainingFunctionDeclaration=ja;function xa(c){return e.findAncestor(c.parent,e.isClassLike)}e.getContainingClass=xa;function so(c){return e.findAncestor(c.parent,function(oe){return e.isClassLike(oe)||e.isFunctionLike(oe)?"quit":e.isClassStaticBlockDeclaration(oe)})}e.getContainingClassStaticBlock=so;function po(c){return e.findAncestor(c.parent,e.isFunctionLikeOrClassStaticBlockDeclaration)}e.getContainingFunctionOrClassStaticBlock=po;function Ua(c,oe){for(e.Debug.assert(c.kind!==303);;){if(c=c.parent,!c)return e.Debug.fail();switch(c.kind){case 161:if(e.isClassLike(c.parent.parent))return c;c=c.parent;break;case 164:c.parent.kind===163&&e.isClassElement(c.parent.parent)?c=c.parent.parent:e.isClassElement(c.parent)&&(c=c.parent);break;case 213:if(!oe)continue;case 255:case 212:case 260:case 169:case 166:case 165:case 168:case 167:case 170:case 171:case 172:case 173:case 174:case 175:case 259:case 303:return c}}}e.getThisContainer=Ua;function is(c){switch(c.kind){case 213:case 255:case 212:case 166:return!0;case 234:switch(c.parent.kind){case 170:case 168:case 171:case 172:return!0;default:return!1}default:return!1}}e.isThisContainerOrFunctionBlock=is;function ao(c){e.isIdentifier(c)&&(e.isClassDeclaration(c.parent)||e.isFunctionDeclaration(c.parent))&&c.parent.name===c&&(c=c.parent);var oe=Ua(c,!0);return e.isSourceFile(oe)}e.isInTopLevelContext=ao;function Mo(c){var oe=Ua(c,!1);if(oe)switch(oe.kind){case 170:case 255:case 212:return oe}}e.getNewTargetContainer=Mo;function xo(c,oe){for(;;){if(c=c.parent,!c)return c;switch(c.kind){case 161:c=c.parent;break;case 255:case 212:case 213:if(!oe)continue;case 166:case 165:case 168:case 167:case 170:case 171:case 172:case 169:return c;case 164:c.parent.kind===163&&e.isClassElement(c.parent.parent)?c=c.parent.parent:e.isClassElement(c.parent)&&(c=c.parent);break}}}e.getSuperContainer=xo;function as(c){if(c.kind===212||c.kind===213){for(var oe=c,gt=c.parent;gt.kind===211;)oe=gt,gt=gt.parent;if(gt.kind===207&>.expression===oe)return gt}}e.getImmediatelyInvokedFunctionExpression=as;function ta(c){return c.kind===106||ls(c)}e.isSuperOrSuperProperty=ta;function ls(c){var oe=c.kind;return(oe===205||oe===206)&&c.expression.kind===106}e.isSuperProperty=ls;function qo(c){var oe=c.kind;return(oe===205||oe===206)&&c.expression.kind===108}e.isThisProperty=qo;function bo(c){var oe;return!!c&&e.isVariableDeclaration(c)&&((oe=c.initializer)===null||oe===void 0?void 0:oe.kind)===108}e.isThisInitializedDeclaration=bo;function pa(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=pa;function oo(c){switch(c.kind){case 177:return c.typeName;case 227:return Xu(c.expression)?c.expression:void 0;case 79:case 160:return c}}e.getEntityNameFromTypeNode=oo;function Ro(c){switch(c.kind){case 209:return c.tag;case 279:case 278:return c.tagName;default:return c.expression}}e.getInvokedExpression=Ro;function jo(c,oe,gt){if(e.isNamedDeclaration(c)&&e.isPrivateIdentifier(c.name))return!1;switch(c.kind){case 256:return!0;case 166:return oe.kind===256;case 171:case 172:case 168:return c.body!==void 0&&oe.kind===256;case 163:return oe.body!==void 0&&(oe.kind===170||oe.kind===168||oe.kind===172)&>.kind===256}return!1}e.nodeCanBeDecorated=jo;function _s(c,oe,gt){return c.decorators!==void 0&&jo(c,oe,gt)}e.nodeIsDecorated=_s;function ds(c,oe,gt){return _s(c,oe,gt)||Fs(c,oe)}e.nodeOrChildIsDecorated=ds;function Fs(c,oe){switch(c.kind){case 256:return e.some(c.members,function(gt){return ds(gt,c,oe)});case 168:case 172:case 170:return e.some(c.parameters,function(gt){return _s(gt,c,oe)});default:return!1}}e.childIsDecorated=Fs;function ec(c){if(_s(c))return!0;var oe=tu(c);return!!oe&&Fs(oe,c)}e.classOrConstructorParameterIsDecorated=ec;function xt(c){var oe=c.parent;return oe.kind===279||oe.kind===278||oe.kind===280?oe.tagName===c:!1}e.isJSXTagName=xt;function Sn(c){switch(c.kind){case 106:case 104:case 110:case 95:case 13:case 203:case 204:case 205:case 206:case 207:case 208:case 209:case 228:case 210:case 229:case 211:case 212:case 225:case 213:case 216:case 214:case 215:case 218:case 219:case 220:case 221:case 224:case 222:case 226:case 277:case 278:case 281:case 223:case 217:case 230:return!0;case 160:for(;c.parent.kind===160;)c=c.parent;return c.parent.kind===180||e.isJSDocLinkLike(c.parent)||e.isJSDocNameReference(c.parent)||e.isJSDocMemberName(c.parent)||xt(c);case 309:for(;e.isJSDocMemberName(c.parent);)c=c.parent;return c.parent.kind===180||e.isJSDocLinkLike(c.parent)||e.isJSDocNameReference(c.parent)||e.isJSDocMemberName(c.parent)||xt(c);case 80:return e.isBinaryExpression(c.parent)&&c.parent.left===c&&c.parent.operatorToken.kind===101;case 79:if(c.parent.kind===180||e.isJSDocLinkLike(c.parent)||e.isJSDocNameReference(c.parent)||e.isJSDocMemberName(c.parent)||xt(c))return!0;case 8:case 9:case 10:case 14:case 108:return fr(c);default:return!1}}e.isExpressionNode=Sn;function fr(c){var oe=c.parent;switch(oe.kind){case 253:case 163:case 166:case 165:case 297:case 294:case 202:return oe.initializer===c;case 237:case 238:case 239:case 240:case 246:case 247:case 248:case 288:case 250:return oe.expression===c;case 241:var gt=oe;return gt.initializer===c&>.initializer.kind!==254||gt.condition===c||gt.incrementor===c;case 242:case 243:var Yt=oe;return Yt.initializer===c&&Yt.initializer.kind!==254||Yt.expression===c;case 210:case 228:return c===oe.expression;case 232:return c===oe.expression;case 161:return c===oe.expression;case 164:case 287:case 286:case 296:return!0;case 227:return oe.expression===c&&Ul(oe);case 295:return oe.objectAssignmentInitializer===c;default:return Sn(oe)}}e.isInExpressionContext=fr;function ai(c){for(;c.kind===160||c.kind===79;)c=c.parent;return c.kind===180}e.isPartOfTypeQuery=ai;function gi(c){return e.isNamespaceExport(c)&&!!c.parent.moduleSpecifier}e.isNamespaceReexportDeclaration=gi;function qe(c){return c.kind===264&&c.moduleReference.kind===276}e.isExternalModuleImportEqualsDeclaration=qe;function D(c){return e.Debug.assert(qe(c)),c.moduleReference.expression}e.getExternalModuleImportEqualsDeclarationExpression=D;function De(c){return da(c)&&Ee(c.initializer).arguments[0]}e.getExternalModuleRequireArgument=De;function Ke(c){return c.kind===264&&c.moduleReference.kind!==276}e.isInternalModuleImportEqualsDeclaration=Ke;function nt(c){return _n(c)}e.isSourceFileJS=nt;function Mt(c){return!_n(c)}e.isSourceFileNotJS=Mt;function _n(c){return!!c&&!!(c.flags&131072)}e.isInJSFile=_n;function Dn(c){return!!c&&!!(c.flags&33554432)}e.isInJsonFile=Dn;function Vn(c){return!Qe(c)}e.isSourceFileNotJson=Vn;function mr(c){return!!c&&!!(c.flags&4194304)}e.isInJSDoc=mr;function Xr(c){return e.isTypeReferenceNode(c)&&e.isIdentifier(c.typeName)&&c.typeName.escapedText==="Object"&&c.typeArguments&&c.typeArguments.length===2&&(c.typeArguments[0].kind===149||c.typeArguments[0].kind===146)}e.isJSDocIndexSignature=Xr;function Pi(c,oe){if(c.kind!==207)return!1;var gt=c,Yt=gt.expression,Un=gt.arguments;if(Yt.kind!==79||Yt.escapedText!=="require"||Un.length!==1)return!1;var Kr=Un[0];return!oe||e.isStringLiteralLike(Kr)}e.isRequireCall=Pi;function ji(c){return fo(c,!1)}e.isVariableDeclarationInitializedToRequire=ji;function da(c){return fo(c,!0)}e.isVariableDeclarationInitializedToBareOrAccessedRequire=da;function fo(c,oe){return c.kind===202&&(c=c.parent.parent),e.isVariableDeclaration(c)&&!!c.initializer&&Pi(oe?Ee(c.initializer):c.initializer,!0)}function Ho(c){return e.isVariableStatement(c)&&c.declarationList.declarations.length>0&&e.every(c.declarationList.declarations,function(oe){return ji(oe)})}e.isRequireVariableStatement=Ho;function vs(c){return c===39||c===34}e.isSingleOrDoubleQuote=vs;function ns(c,oe){return He(oe,c).charCodeAt(0)===34}e.isStringDoubleQuoted=ns;function Os(c){return e.isBinaryExpression(c)||Zu(c)||e.isIdentifier(c)||e.isCallExpression(c)}e.isAssignmentDeclaration=Os;function qs(c){return _n(c)&&c.initializer&&e.isBinaryExpression(c.initializer)&&(c.initializer.operatorToken.kind===56||c.initializer.operatorToken.kind===60)&&c.name&&Xu(c.name)&&Ia(c.name,c.initializer.left)?c.initializer.right:c.initializer}e.getEffectiveInitializer=qs;function jn(c){var oe=qs(c);return oe&&fa(oe,Zi(c.name))}e.getDeclaredExpandoInitializer=jn;function ci(c,oe){return e.forEach(c.properties,function(gt){return e.isPropertyAssignment(gt)&&e.isIdentifier(gt.name)&>.name.escapedText==="value"&>.initializer&&fa(gt.initializer,oe)})}function hi(c){if(c&&c.parent&&e.isBinaryExpression(c.parent)&&c.parent.operatorToken.kind===63){var oe=Zi(c.parent.left);return fa(c.parent.right,oe)||wa(c.parent.left,c.parent.right,oe)}if(c&&e.isCallExpression(c)&&En(c)){var gt=ci(c.arguments[2],c.arguments[1].text==="prototype");if(gt)return gt}}e.getAssignedExpandoInitializer=hi;function fa(c,oe){if(e.isCallExpression(c)){var gt=Ga(c.expression);return gt.kind===212||gt.kind===213?c:void 0}if(c.kind===212||c.kind===225||c.kind===213||e.isObjectLiteralExpression(c)&&(c.properties.length===0||oe))return c}e.getExpandoInitializer=fa;function wa(c,oe,gt){var Yt=e.isBinaryExpression(oe)&&(oe.operatorToken.kind===56||oe.operatorToken.kind===60)&&fa(oe.right,gt);if(Yt&&Ia(c,oe.left))return Yt}function eo(c){var oe=e.isVariableDeclaration(c.parent)?c.parent.name:e.isBinaryExpression(c.parent)&&c.parent.operatorToken.kind===63?c.parent.left:void 0;return oe&&fa(c.right,Zi(oe))&&Xu(oe)&&Ia(oe,c.left)}e.isDefaultedExpandoInitializer=eo;function zi(c){if(e.isBinaryExpression(c.parent)){var oe=(c.parent.operatorToken.kind===56||c.parent.operatorToken.kind===60)&&e.isBinaryExpression(c.parent.parent)?c.parent.parent:c.parent;if(oe.operatorToken.kind===63&&e.isIdentifier(oe.left))return oe.left}else if(e.isVariableDeclaration(c.parent))return c.parent.name}e.getNameOfExpando=zi;function Ia(c,oe){if(dd(c)&&dd(oe))return pd(c)===pd(oe);if(e.isIdentifier(c)&&or(oe)&&(oe.expression.kind===108||e.isIdentifier(oe.expression)&&(oe.expression.escapedText==="window"||oe.expression.escapedText==="self"||oe.expression.escapedText==="global"))){var gt=aa(oe);return e.isPrivateIdentifier(gt)&&e.Debug.fail("Unexpected PrivateIdentifier in name expression with literal-like access."),Ia(c,gt)}return or(c)&&or(oe)?Ot(c)===Ot(oe)&&Ia(c.expression,oe.expression):!1}e.isSameEntityName=Ia;function Za(c){for(;yu(c,!0);)c=c.right;return c}e.getRightMostAssignedExpression=Za;function Do(c){return e.isIdentifier(c)&&c.escapedText==="exports"}e.isExportsIdentifier=Do;function Bo(c){return e.isIdentifier(c)&&c.escapedText==="module"}e.isModuleIdentifier=Bo;function ye(c){return(e.isPropertyAccessExpression(c)||ii(c))&&Bo(c.expression)&&Ot(c)==="exports"}e.isModuleExportsAccessExpression=ye;function Jt(c){var oe=Mi(c);return oe===5||_n(c)?oe:0}e.getAssignmentDeclarationKind=Jt;function En(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"&&Fu(c.arguments[1])&&Cr(c.arguments[0],!0)}e.isBindableObjectDefinePropertyCall=En;function or(c){return e.isPropertyAccessExpression(c)||ii(c)}e.isLiteralLikeAccess=or;function ii(c){return e.isElementAccessExpression(c)&&Fu(c.argumentExpression)}e.isLiteralLikeElementAccess=ii;function je(c,oe){return e.isPropertyAccessExpression(c)&&(!oe&&c.expression.kind===108||e.isIdentifier(c.name)&&Cr(c.expression,!0))||un(c,oe)}e.isBindableStaticAccessExpression=je;function un(c,oe){return ii(c)&&(!oe&&c.expression.kind===108||Xu(c.expression)||je(c.expression,!0))}e.isBindableStaticElementAccessExpression=un;function Cr(c,oe){return Xu(c)||je(c,oe)}e.isBindableStaticNameExpression=Cr;function aa(c){return e.isPropertyAccessExpression(c)?c.name:c.argumentExpression}e.getNameOrArgument=aa;function Mi(c){if(e.isCallExpression(c)){if(!En(c))return 0;var oe=c.arguments[0];return Do(oe)||ye(oe)?8:je(oe)&&Ot(oe)==="prototype"?9:7}return c.operatorToken.kind!==63||!Zu(c.left)||ro(Za(c))?0:Cr(c.left.expression,!0)&&Ot(c.left)==="prototype"&&e.isObjectLiteralExpression(Ac(c))?6:fc(c.left)}function ro(c){return e.isVoidExpression(c)&&e.isNumericLiteral(c.expression)&&c.expression.text==="0"}function ms(c){if(e.isPropertyAccessExpression(c))return c.name;var oe=Ga(c.argumentExpression);return e.isNumericLiteral(oe)||e.isStringLiteralLike(oe)?oe:c}e.getElementOrPropertyAccessArgumentExpressionOrName=ms;function Ot(c){var oe=ms(c);if(oe){if(e.isIdentifier(oe))return oe.escapedText;if(e.isStringLiteralLike(oe)||e.isNumericLiteral(oe))return e.escapeLeadingUnderscores(oe.text)}}e.getElementOrPropertyAccessName=Ot;function fc(c){if(c.expression.kind===108)return 4;if(ye(c))return 2;if(Cr(c.expression,!0)){if(Zi(c.expression))return 3;for(var oe=c;!e.isIdentifier(oe.expression);)oe=oe.expression;var gt=oe.expression;if((gt.escapedText==="exports"||gt.escapedText==="module"&&Ot(oe)==="exports")&&je(c))return 1;if(Cr(c,!0)||e.isElementAccessExpression(c)&&_d(c))return 5}return 0}e.getAssignmentDeclarationPropertyAccessKind=fc;function Ac(c){for(;e.isBinaryExpression(c.right);)c=c.right;return c.right}e.getInitializerOfBinaryExpression=Ac;function Mc(c){return e.isBinaryExpression(c)&&Jt(c)===3}e.isPrototypePropertyAssignment=Mc;function Qo(c){return _n(c)&&c.parent&&c.parent.kind===237&&(!e.isElementAccessExpression(c)||ii(c))&&!!e.getJSDocTypeTag(c.parent)}e.isSpecialPropertyDeclaration=Qo;function Lc(c,oe){var gt=c.valueDeclaration;(!gt||!(oe.flags&8388608&&!(gt.flags&8388608))&&Os(gt)&&!Os(oe)||gt.kind!==oe.kind&&Ue(gt))&&(c.valueDeclaration=oe)}e.setValueDeclaration=Lc;function Rc(c){if(!c||!c.valueDeclaration)return!1;var oe=c.valueDeclaration;return oe.kind===255||e.isVariableDeclaration(oe)&&oe.initializer&&e.isFunctionLike(oe.initializer)}e.isFunctionSymbol=Rc;function vu(c){var oe,gt,Yt;switch(c.kind){case 253:return c.initializer.arguments[0].text;case 265:return(oe=e.tryCast(c.moduleSpecifier,e.isStringLiteralLike))===null||oe===void 0?void 0:oe.text;case 264:return(Yt=e.tryCast((gt=e.tryCast(c.moduleReference,e.isExternalModuleReference))===null||gt===void 0?void 0:gt.expression,e.isStringLiteralLike))===null||Yt===void 0?void 0:Yt.text;default:e.Debug.assertNever(c)}}e.tryGetModuleSpecifierFromDeclaration=vu;function Vu(c){return gl(c)||e.Debug.failBadSyntaxKind(c.parent)}e.importFromModuleSpecifier=Vu;function gl(c){switch(c.parent.kind){case 265:case 271:return c.parent;case 276:return c.parent.parent;case 207:return kt(c.parent)||Pi(c.parent,!1)?c.parent:void 0;case 195:return e.Debug.assert(e.isStringLiteral(c)),e.tryCast(c.parent.parent,e.isImportTypeNode);default:return}}e.tryGetImportFromModuleSpecifier=gl;function So(c){switch(c.kind){case 265:case 271:return c.moduleSpecifier;case 264:return c.moduleReference.kind===276?c.moduleReference.expression:void 0;case 199:return mn(c)?c.argument.literal:void 0;case 207:return c.arguments[0];case 260:return c.name.kind===10?c.name:void 0;default:return e.Debug.assertNever(c)}}e.getExternalModuleName=So;function hu(c){switch(c.kind){case 265:return c.importClause&&e.tryCast(c.importClause.namedBindings,e.isNamespaceImport);case 264:return c;case 271:return c.exportClause&&e.tryCast(c.exportClause,e.isNamespaceExport);default:return e.Debug.assertNever(c)}}e.getNamespaceDeclarationNode=hu;function Hu(c){return c.kind===265&&!!c.importClause&&!!c.importClause.name}e.isDefaultImport=Hu;function Fc(c,oe){if(c.name){var gt=oe(c);if(gt)return gt}if(c.namedBindings){var gt=e.isNamespaceImport(c.namedBindings)?oe(c.namedBindings):e.forEach(c.namedBindings.elements,oe);if(gt)return gt}}e.forEachImportClauseDeclaration=Fc;function ol(c){if(c)switch(c.kind){case 163:case 168:case 167:case 295:case 294:case 166:case 165:return c.questionToken!==void 0}return!1}e.hasQuestionToken=ol;function sl(c){var oe=e.isJSDocFunctionType(c)?e.firstOrUndefined(c.parameters):void 0,gt=e.tryCast(oe&&oe.name,e.isIdentifier);return!!gt&>.escapedText==="new"}e.isJSDocConstructSignature=sl;function qi(c){return c.kind===343||c.kind===336||c.kind===337}e.isJSDocTypeAlias=qi;function Ml(c){return qi(c)||e.isTypeAliasDeclaration(c)}e.isTypeAlias=Ml;function Ll(c){return e.isExpressionStatement(c)&&e.isBinaryExpression(c.expression)&&c.expression.operatorToken.kind===63?Za(c.expression):void 0}function eu(c){return e.isExpressionStatement(c)&&e.isBinaryExpression(c.expression)&&Jt(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 Kt(c){switch(c.kind){case 236:var oe=ln(c);return oe&&oe.initializer;case 166:return c.initializer;case 294:return c.initializer}}e.getSingleInitializerOfVariableStatementOrPropertyDeclaration=Kt;function ln(c){return e.isVariableStatement(c)?e.firstOrUndefined(c.declarationList.declarations):void 0}e.getSingleVariableOfVariableStatement=ln;function Mn(c){return e.isModuleDeclaration(c)&&c.body&&c.body.kind===260?c.body:void 0}function ir(c,oe){var gt;Qn(c)&&e.hasInitializer(c)&&e.hasJSDocNodes(c.initializer)&&(gt=e.addRange(gt,hr(c,e.last(c.initializer.jsDoc))));for(var Yt=c;Yt&&Yt.parent;){if(e.hasJSDocNodes(Yt)&&(gt=e.addRange(gt,hr(c,e.last(Yt.jsDoc)))),Yt.kind===163){gt=e.addRange(gt,(oe?e.getJSDocParameterTagsNoCache:e.getJSDocParameterTags)(Yt));break}if(Yt.kind===162){gt=e.addRange(gt,(oe?e.getJSDocTypeParameterTagsNoCache:e.getJSDocTypeParameterTags)(Yt));break}Yt=Ur(Yt)}return gt||e.emptyArray}e.getJSDocCommentsAndTags=ir;function hr(c,oe){if(e.isJSDoc(oe)){var gt=e.filter(oe.tags,function(Yt){return Tr(c,Yt)});return oe.tags===gt?[oe]:gt}return Tr(c,oe)?[oe]:void 0}function Tr(c,oe){return!e.isJSDocTypeTag(oe)||!oe.parent||!e.isJSDoc(oe.parent)||!e.isParenthesizedExpression(oe.parent.parent)||oe.parent.parent===c}function Ur(c){var oe=c.parent;if(oe.kind===294||oe.kind===270||oe.kind===166||oe.kind===237&&c.kind===205||oe.kind===246||Mn(oe)||e.isBinaryExpression(c)&&c.operatorToken.kind===63)return oe;if(oe.parent&&(ln(oe.parent)===c||e.isBinaryExpression(oe)&&oe.operatorToken.kind===63))return oe.parent;if(oe.parent&&oe.parent.parent&&(ln(oe.parent.parent)||Kt(oe.parent.parent)===c||eu(oe.parent.parent)))return oe.parent.parent}e.getNextJSDocCommentLocation=Ur;function ui(c){if(c.symbol)return c.symbol;if(e.isIdentifier(c.name)){var oe=c.name.escapedText,gt=Ti(c);if(gt){var Yt=e.find(gt.parameters,function(Un){return Un.name.kind===79&&Un.name.escapedText===oe});return Yt&&Yt.symbol}}}e.getParameterSymbolFromJSDoc=ui;function ia(c){if(e.isJSDoc(c.parent)&&c.parent.tags){var oe=e.find(c.parent.tags,qi);if(oe)return oe}return Ti(c)}e.getEffectiveContainerForJSDocTemplateTag=ia;function Ti(c){var oe=Di(c);return oe&&e.isFunctionLike(oe)?oe:void 0}e.getHostSignatureFromJSDoc=Ti;function Di(c){var oe=Xi(c);if(oe)return eu(oe)||Ll(oe)||Kt(oe)||ln(oe)||Mn(oe)||oe}e.getEffectiveJSDocHost=Di;function Xi(c){var oe=Fo(c);if(oe){var gt=oe.parent;if(gt&>.jsDoc&&oe===e.lastOrUndefined(gt.jsDoc))return gt}}e.getJSDocHost=Xi;function Fo(c){return e.findAncestor(c.parent,e.isJSDoc)}e.getJSDocRoot=Fo;function io(c){var oe=c.name.escapedText,gt=c.parent.parent.parent.typeParameters;return gt&&e.find(gt,function(Yt){return Yt.name.escapedText===oe})}e.getTypeParameterFromJsDoc=io;function me(c){var oe=e.lastOrUndefined(c.parameters);return!!oe&&mt(oe)}e.hasRestParameter=me;function mt(c){var oe=e.isJSDocParameterTag(c)?c.typeExpression&&c.typeExpression.type:c.type;return c.dotDotDotToken!==void 0||!!oe&&oe.kind===316}e.isRestParameter=mt;function Dt(c){return!!c.typeArguments}e.hasTypeArguments=Dt,function(c){c[c.None=0]="None",c[c.Definite=1]="Definite",c[c.Compound=2]="Compound"}(e.AssignmentKind||(e.AssignmentKind={}));function Cn(c){for(var oe=c.parent;;){switch(oe.kind){case 220:var gt=oe.operatorToken.kind;return dp(gt)&&oe.left===c?gt===63||k_(gt)?1:2:0;case 218:case 219:var Yt=oe.operator;return Yt===45||Yt===46?2:0;case 242:case 243:return oe.initializer===c?1:0;case 211:case 203:case 224:case 229:c=oe;break;case 296:c=oe.parent;break;case 295:if(oe.name!==c)return 0;c=oe.parent;break;case 294:if(oe.name===c)return 0;c=oe.parent;break;default:return 0}oe=c.parent}}e.getAssignmentTargetKind=Cn;function Gn(c){return Cn(c)!==0}e.isAssignmentTarget=Gn;function qr(c){switch(c.kind){case 234:case 236:case 247:case 238:case 248:case 262:case 288:case 289:case 249:case 241:case 242:case 243:case 239:case 240:case 251:case 291:return!0}return!1}e.isNodeWithPossibleHoistedDeclaration=qr;function xi(c){return e.isFunctionExpression(c)||e.isArrowFunction(c)||e.isMethodOrAccessor(c)||e.isFunctionDeclaration(c)||e.isConstructorDeclaration(c)}e.isValueSignatureDeclaration=xi;function ba(c,oe){for(;c&&c.kind===oe;)c=c.parent;return c}function go(c){return ba(c,190)}e.walkUpParenthesizedTypes=go;function wo(c){return ba(c,211)}e.walkUpParenthesizedExpressions=wo;function yo(c){for(var oe;c&&c.kind===190;)oe=c,c=c.parent;return[oe,c]}e.walkUpParenthesizedTypesAndGetParentAndChild=yo;function Ga(c,oe){var gt=oe?17:1;return e.skipOuterExpressions(c,gt)}e.skipParentheses=Ga;function co(c){return c.kind!==205&&c.kind!==206?!1:(c=wo(c.parent),c&&c.kind===214)}e.isDeleteTarget=co;function ps(c,oe){for(;c;){if(c===oe)return!0;c=c.parent}return!1}e.isNodeDescendantOf=ps;function hs(c){return!e.isSourceFile(c)&&!e.isBindingPattern(c)&&e.isDeclaration(c.parent)&&c.parent.name===c}e.isDeclarationName=hs;function Us(c){var oe=c.parent;switch(c.kind){case 10:case 14:case 8:if(e.isComputedPropertyName(oe))return oe.parent;case 79:if(e.isDeclaration(oe))return oe.name===c?oe:void 0;if(e.isQualifiedName(oe)){var gt=oe.parent;return e.isJSDocParameterTag(gt)&>.name===oe?gt:void 0}else{var Yt=oe.parent;return e.isBinaryExpression(Yt)&&Jt(Yt)!==0&&(Yt.left.symbol||Yt.symbol)&&e.getNameOfDeclaration(Yt)===c?Yt:void 0}case 80:return e.isDeclaration(oe)&&oe.name===c?oe:void 0;default:return}}e.getDeclarationFromName=Us;function wc(c){return Fu(c)&&c.parent.kind===161&&e.isDeclaration(c.parent.parent)}e.isLiteralComputedPropertyDeclarationName=wc;function Wt(c){var oe=c.parent;switch(oe.kind){case 166:case 165:case 168:case 167:case 171:case 172:case 297:case 294:case 205:return oe.name===c;case 160:return oe.right===c;case 202:case 269:return oe.propertyName===c;case 274:case 284:return!0}return!1}e.isIdentifierName=Wt;function xu(c){return c.kind===264||c.kind===263||c.kind===266&&!!c.name||c.kind===267||c.kind===273||c.kind===269||c.kind===274||c.kind===270&&tc(c)||e.isBinaryExpression(c)&&Jt(c)===2&&tc(c)||e.isPropertyAccessExpression(c)&&e.isBinaryExpression(c.parent)&&c.parent.left===c&&c.parent.operatorToken.kind===63&&bu(c.parent.right)||c.kind===295||c.kind===294&&bu(c.initializer)}e.isAliasSymbolDeclaration=xu;function fu(c){switch(c.parent.kind){case 266:case 269:case 267:case 274:case 270:case 264:return c.parent;case 160:do c=c.parent;while(c.parent.kind===160);return fu(c)}}e.getAliasDeclarationFromName=fu;function bu(c){return Xu(c)||e.isClassExpression(c)}e.isAliasableExpression=bu;function tc(c){var oe=Rl(c);return bu(oe)}e.exportAssignmentIsAlias=tc;function Rl(c){return e.isExportAssignment(c)?c.expression:c.right}e.getExportAssignmentExpression=Rl;function jl(c){return c.kind===295?c.name:c.kind===294?c.initializer:c.parent.right}e.getPropertyAssignmentAliasLikeExpression=jl;function bf(c){var oe=Co(c);if(oe&&_n(c)){var gt=e.getJSDocAugmentsTag(c);if(gt)return gt.class}return oe}e.getEffectiveBaseTypeNode=bf;function Co(c){var oe=Au(c.heritageClauses,94);return oe&&oe.types.length>0?oe.types[0]:void 0}e.getClassExtendsHeritageElement=Co;function Hd(c){if(_n(c))return e.getJSDocImplementsTags(c).map(function(gt){return gt.class});var oe=Au(c.heritageClauses,117);return oe==null?void 0:oe.types}e.getEffectiveImplementsTypeNodes=Hd;function Gd(c){return e.isInterfaceDeclaration(c)?Xs(c)||e.emptyArray:e.isClassLike(c)&&e.concatenate(e.singleElementArray(bf(c)),Hd(c))||e.emptyArray}e.getAllSuperTypeNodes=Gd;function Xs(c){var oe=Au(c.heritageClauses,94);return oe?oe.types:void 0}e.getInterfaceBaseTypeNodes=Xs;function Au(c,oe){if(c)for(var gt=0,Yt=c;gt=0)return la[Vo]}}function Kr(Ca){var la;Ca.file?(la=gt.get(Ca.file.fileName),la||(la=[],gt.set(Ca.file.fileName,la),e.insertSorted(oe,Ca.file.fileName,e.compareStringsCaseSensitive))):(Yt&&(Yt=!1,c=c.slice()),la=c),e.insertSorted(la,Ca,Zm)}function kr(){return Yt=!0,c}function ki(Ca){if(Ca)return gt.get(Ca)||[];var la=e.flatMapToMutable(oe,function(Vo){return gt.get(Vo)});return c.length&&la.unshift.apply(la,c),la}}e.createDiagnosticCollection=U_;var Vp=/\$\{/g;function q_(c){return c.replace(Vp,"\\${")}function Ef(c){return c&&!!(e.isNoSubstitutionTemplateLiteral(c)?c.templateFlags:c.head.templateFlags||e.some(c.templateSpans,function(oe){return!!oe.literal.templateFlags}))}e.hasInvalidEscape=Ef;var Xd=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,gd=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,Zd=/\r\n|[\\\`\u0000-\u001f\t\v\f\b\r\u2028\u2029\u0085]/g,yd=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 v_(c){var oe=c.toString(16).toUpperCase(),gt=("0000"+oe).slice(-4);return"\\u"+gt}function ep(c,oe,gt){if(c.charCodeAt(0)===0){var Yt=gt.charCodeAt(oe+c.length);return Yt>=48&&Yt<=57?"\\x00":"\\0"}return yd.get(c)||v_(c.charCodeAt(0))}function vd(c,oe){var gt=oe===96?Zd:oe===39?gd:Xd;return c.replace(gt,ep)}e.escapeString=vd;var tp=/[^\u0000-\u007F]/g;function h_(c,oe){return c=vd(c,oe),tp.test(c)?c.replace(tp,function(gt){return v_(gt.charCodeAt(0))}):c}e.escapeNonAsciiString=h_;var Cf=/[\"\u0000-\u001f\u2028\u2029\u0085]/g,oc=/[\'\u0000-\u001f\u2028\u2029\u0085]/g,Yu=new e.Map(e.getEntries({'"':""","'":"'"}));function hd(c){var oe=c.toString(16).toUpperCase();return"&#x"+oe+";"}function xd(c){return c.charCodeAt(0)===0?"�":Yu.get(c)||hd(c.charCodeAt(0))}function bd(c,oe){var gt=oe===39?oc:Cf;return c.replace(gt,xd)}e.escapeJsxAttributeString=bd;function x_(c){var oe=c.length;return oe>=2&&c.charCodeAt(0)===c.charCodeAt(oe-1)&&np(c.charCodeAt(0))?c.substring(1,oe-1):c}e.stripQuotes=x_;function np(c){return c===39||c===34||c===96}function Ou(c){var oe=c.charCodeAt(0);return oe>=97&&oe<=122||e.stringContains(c,"-")||e.stringContains(c,":")}e.isIntrinsicJsxName=Ou;var mc=[""," "];function mu(c){for(var oe=mc[1],gt=mc.length;gt<=c;gt++)mc.push(mc[gt-1]+oe);return mc[c]}e.getIndentString=mu;function jc(){return mc[1].length}e.getIndentSize=jc;function hl(c){var oe,gt,Yt,Un,Kr,kr=!1;function ki(ks){var ka=e.computeLineStarts(ks);ka.length>1?(Un=Un+ka.length-1,Kr=oe.length-ks.length+e.last(ka),Yt=Kr-oe.length===0):Yt=!1}function Ca(ks){ks&&ks.length&&(Yt&&(ks=mu(gt)+ks,Yt=!1),oe+=ks,ki(ks))}function la(ks){ks&&(kr=!1),Ca(ks)}function Vo(ks){ks&&(kr=!0),Ca(ks)}function Po(){oe="",gt=0,Yt=!0,Un=0,Kr=0,kr=!1}function Pc(ks){ks!==void 0&&(oe+=ks,ki(ks),kr=!1)}function Dc(ks){ks&&ks.length&&la(ks)}function Gs(ks){(!Yt||ks)&&(oe+=c,Un++,Kr=oe.length,Yt=!0,kr=!1)}function tl(){return Yt?oe.length:oe.length+c.length}return Po(),{write:la,rawWrite:Pc,writeLiteral:Dc,writeLine:Gs,increaseIndent:function(){gt++},decreaseIndent:function(){gt--},getIndent:function(){return gt},getTextPos:function(){return oe.length},getLine:function(){return Un},getColumn:function(){return Yt?gt*jc():oe.length-Kr},getText:function(){return oe},isAtStartOfLine:function(){return Yt},hasTrailingComment:function(){return kr},hasTrailingWhitespace:function(){return!!oe.length&&e.isWhiteSpaceLike(oe.charCodeAt(oe.length-1))},clear:Po,reportInaccessibleThisError:e.noop,reportPrivateInBaseOfClassExpression:e.noop,reportInaccessibleUniqueSymbolError:e.noop,trackSymbol:function(){return!1},writeKeyword:la,writeOperator:la,writeParameter:la,writeProperty:la,writePunctuation:la,writeSpace:la,writeStringLiteral:la,writeSymbol:function(ks,ka){return la(ks)},writeTrailingSemicolon:la,writeComment:Vo,getTextPosWithWriteLine:tl}}e.createTextWriter=hl;function W_(c){var oe=!1;function gt(){oe&&(c.writeTrailingSemicolon(";"),oe=!1)}return Tt(Tt({},c),{writeTrailingSemicolon:function(){oe=!0},writeLiteral:function(Yt){gt(),c.writeLiteral(Yt)},writeStringLiteral:function(Yt){gt(),c.writeStringLiteral(Yt)},writeSymbol:function(Yt,Un){gt(),c.writeSymbol(Yt,Un)},writePunctuation:function(Yt){gt(),c.writePunctuation(Yt)},writeKeyword:function(Yt){gt(),c.writeKeyword(Yt)},writeOperator:function(Yt){gt(),c.writeOperator(Yt)},writeParameter:function(Yt){gt(),c.writeParameter(Yt)},writeSpace:function(Yt){gt(),c.writeSpace(Yt)},writeProperty:function(Yt){gt(),c.writeProperty(Yt)},writeComment:function(Yt){gt(),c.writeComment(Yt)},writeLine:function(){gt(),c.writeLine()},increaseIndent:function(){gt(),c.increaseIndent()},decreaseIndent:function(){gt(),c.decreaseIndent()}})}e.getTrailingSemicolonDeferringWriter=W_;function Du(c){return c.useCaseSensitiveFileNames?c.useCaseSensitiveFileNames():!1}e.hostUsesCaseSensitiveFileNames=Du;function os(c){return e.createGetCanonicalFileName(Du(c))}e.hostGetCanonicalFileName=os;function Vs(c,oe,gt){return oe.moduleName||Sd(c,oe.fileName,gt&>.fileName)}e.getResolvedExternalModuleName=Vs;function Yo(c,oe){return c.getCanonicalFileName(e.getNormalizedAbsolutePath(oe,c.getCurrentDirectory()))}function Vc(c,oe,gt){var Yt=oe.getExternalModuleFileFromDeclaration(gt);if(!(!Yt||Yt.isDeclarationFile)){var Un=So(gt);if(!(Un&&e.isStringLiteralLike(Un)&&!e.pathIsRelative(Un.text)&&Yo(c,Yt.path).indexOf(Yo(c,e.ensureTrailingDirectorySeparator(c.getCommonSourceDirectory())))===-1))return Vs(c,Yt)}}e.getExternalModuleNameFromDeclaration=Vc;function Sd(c,oe,gt){var Yt=function(Ca){return c.getCanonicalFileName(Ca)},Un=e.toPath(gt?e.getDirectoryPath(gt):c.getCommonSourceDirectory(),c.getCurrentDirectory(),Yt),Kr=e.getNormalizedAbsolutePath(oe,c.getCurrentDirectory()),kr=e.getRelativePathToDirectoryOrUrl(Un,Kr,Un,Yt,!1),ki=Sm(kr);return gt?e.ensurePathIsNonModuleName(ki):ki}e.getExternalModuleNameFromPath=Sd;function Tu(c,oe,gt){var Yt=oe.getCompilerOptions(),Un;return Yt.outDir?Un=Sm(Ms(c,oe,Yt.outDir)):Un=Sm(c),Un+gt}e.getOwnEmitOutputFilePath=Tu;function rp(c,oe){return b_(c,oe.getCompilerOptions(),oe.getCurrentDirectory(),oe.getCommonSourceDirectory(),function(gt){return oe.getCanonicalFileName(gt)})}e.getDeclarationEmitOutputFilePath=rp;function b_(c,oe,gt,Yt,Un){var Kr=oe.declarationDir||oe.outDir,kr=Kr?ll(c,Kr,gt,Yt,Un):c,ki=S_(kr);return Sm(kr)+ki}e.getDeclarationEmitOutputFilePathWorker=b_;function S_(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=S_;function Qr(c){return c.outFile||c.out}e.outFile=Qr;function ys(c,oe){var gt,Yt;if(c.paths)return(gt=c.baseUrl)!==null&>!==void 0?gt:e.Debug.checkDefined(c.pathsBasePath||((Yt=oe.getCurrentDirectory)===null||Yt===void 0?void 0:Yt.call(oe)),"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.")}e.getPathsBasePath=ys;function Sa(c,oe,gt){var Yt=c.getCompilerOptions();if(Qr(Yt)){var Un=Ku(Yt),Kr=Yt.emitDeclarationOnly||Un===e.ModuleKind.AMD||Un===e.ModuleKind.System;return e.filter(c.getSourceFiles(),function(ki){return(Kr||!e.isExternalModule(ki))&&Bl(ki,c,gt)})}else{var kr=oe===void 0?c.getSourceFiles():[oe];return e.filter(kr,function(ki){return Bl(ki,c,gt)})}}e.getSourceFilesToEmit=Sa;function Bl(c,oe,gt){var Yt=oe.getCompilerOptions();return!(Yt.noEmitForJsFiles&&nt(c))&&!c.isDeclarationFile&&!oe.isSourceFileFromExternalLibrary(c)&&(gt||!(Qe(c)&&oe.getResolvedProjectReferenceToRedirect(c.fileName))&&!oe.isSourceOfProjectReferenceRedirect(c.fileName))}e.sourceFileMayBeEmitted=Bl;function Ms(c,oe,gt){return ll(c,gt,oe.getCurrentDirectory(),oe.getCommonSourceDirectory(),function(Yt){return oe.getCanonicalFileName(Yt)})}e.getSourceFilePathInNewDir=Ms;function ll(c,oe,gt,Yt,Un){var Kr=e.getNormalizedAbsolutePath(c,gt),kr=Un(Kr).indexOf(Un(Yt))===0;return Kr=kr?Kr.substring(Yt.length):Kr,e.combinePaths(oe,Kr)}e.getSourceFilePathInNewDirWorker=ll;function Wr(c,oe,gt,Yt,Un,Kr){c.writeFile(gt,Yt,Un,function(kr){oe.add(Yp(e.Diagnostics.Could_not_write_file_0_Colon_1,gt,kr))},Kr)}e.writeFile=Wr;function Dd(c,oe,gt){if(c.length>e.getRootLength(c)&&!gt(c)){var Yt=e.getDirectoryPath(c);Dd(Yt,oe,gt),oe(c)}}function ip(c,oe,gt,Yt,Un,Kr){try{Yt(c,oe,gt)}catch{Dd(e.getDirectoryPath(e.normalizePath(c)),Un,Kr),Yt(c,oe,gt)}}e.writeFileEnsuringDirectories=ip;function Jo(c,oe){var gt=e.getLineStarts(c);return e.computeLineOfPosition(gt,oe)}e.getLineOfLocalPosition=Jo;function sc(c,oe){return e.computeLineOfPosition(c,oe)}e.getLineOfLocalPositionFromLineMap=sc;function tu(c){return e.find(c.members,function(oe){return e.isConstructorDeclaration(oe)&&B(oe.body)})}e.getFirstConstructorWithBody=tu;function D_(c){if(c&&c.parameters.length>0){var oe=c.parameters.length===2&&cc(c.parameters[0]);return c.parameters[oe?1:0]}}e.getSetAccessorValueParameter=D_;function ap(c){var oe=D_(c);return oe&&oe.type}e.getSetAccessorTypeAnnotationNode=ap;function T_(c){if(c.parameters.length&&!e.isJSDocSignature(c)){var oe=c.parameters[0];if(cc(oe))return oe}}e.getThisParameter=T_;function cc(c){return op(c.name)}e.parameterIsThisKeyword=cc;function op(c){return!!c&&c.kind===79&&Jl(c)}e.isThisIdentifier=op;function $u(c){if(!op(c))return!1;for(;e.isQualifiedName(c.parent)&&c.parent.left===c;)c=c.parent;return c.parent.kind===180}e.isThisInTypeQuery=$u;function Jl(c){return c.originalKeywordKind===108}e.identifierIsThisKeyword=Jl;function V_(c,oe){var gt,Yt,Un,Kr;return gs(oe)?(gt=oe,oe.kind===171?Un=oe:oe.kind===172?Kr=oe:e.Debug.fail("Accessor has wrong kind")):e.forEach(c,function(kr){if(e.isAccessor(kr)&&gu(kr)===gu(oe)){var ki=y_(kr.name),Ca=y_(oe.name);ki===Ca&&(gt?Yt||(Yt=kr):gt=kr,kr.kind===171&&!Un&&(Un=kr),kr.kind===172&&!Kr&&(Kr=kr))}}),{firstAccessor:gt,secondAccessor:Yt,getAccessor:Un,setAccessor:Kr}}e.getAllAccessorDeclarations=V_;function E_(c){if(!(!_n(c)&&e.isFunctionDeclaration(c))){var oe=c.type;return oe||!_n(c)?oe:e.isJSDocPropertyLikeTag(c)?c.typeExpression&&c.typeExpression.type:e.getJSDocType(c)}}e.getEffectiveTypeAnnotationNode=E_;function Td(c){return c.type}e.getTypeAnnotationNode=Td;function Ed(c){return e.isJSDocSignature(c)?c.type&&c.type.typeExpression&&c.type.typeExpression.type:c.type||(_n(c)?e.getJSDocReturnType(c):void 0)}e.getEffectiveReturnTypeNode=Ed;function sp(c){return e.flatMap(e.getJSDocTags(c),function(oe){return cp(oe)?oe.typeParameters:void 0})}e.getJSDocTypeParameterDeclarations=sp;function cp(c){return e.isJSDocTemplateTag(c)&&!(c.parent.kind===318&&c.parent.tags.some(qi))}function H_(c){var oe=D_(c);return oe&&E_(oe)}e.getEffectiveSetAccessorTypeAnnotationNode=H_;function Ls(c,oe,gt,Yt){xl(c,oe,gt.pos,Yt)}e.emitNewLineBeforeLeadingComments=Ls;function xl(c,oe,gt,Yt){Yt&&Yt.length&>!==Yt[0].pos&&sc(c,gt)!==sc(c,Yt[0].pos)&&oe.writeLine()}e.emitNewLineBeforeLeadingCommentsOfPosition=xl;function Cd(c,oe,gt,Yt){gt!==Yt&&sc(c,gt)!==sc(c,Yt)&&oe.writeLine()}e.emitNewLineBeforeLeadingCommentOfPosition=Cd;function s_(c,oe,gt,Yt,Un,Kr,kr,ki){if(Yt&&Yt.length>0){Un&>.writeSpace(" ");for(var Ca=!1,la=0,Vo=Yt;la=Gs+2)break}la.push(Dc),Vo=Dc}if(la.length){var Gs=sc(oe,e.last(la).end),ks=sc(oe,e.skipTrivia(c,Un.pos));ks>=Gs+2&&(Ls(oe,gt,Un,ki),s_(c,oe,gt,la,!1,!0,Kr,Yt),Ca={nodePos:Un.pos,detachedCommentEndPos:e.last(la).end})}}return Ca;function ka(Dp){return V(c,Dp.pos)}}e.emitDetachedComments=Ya;function Lr(c,oe,gt,Yt,Un,Kr){if(c.charCodeAt(Yt+1)===42)for(var kr=e.computeLineAndCharacterOfPosition(oe,Yt),ki=oe.length,Ca=void 0,la=Yt,Vo=kr.line;la0){var Gs=Dc%jc(),tl=mu((Dc-Gs)/jc());for(gt.rawWrite(tl);Gs;)gt.rawWrite(" "),Gs--}else gt.rawWrite("")}Qs(c,Un,gt,Kr,la,Po),la=Po}else gt.writeComment(c.substring(Yt,Un))}e.writeCommentRange=Lr;function Qs(c,oe,gt,Yt,Un,Kr){var kr=Math.min(oe,Kr-1),ki=e.trimString(c.substring(Un,kr));ki?(gt.writeComment(ki),kr!==oe&>.writeLine()):gt.rawWrite(Yt)}function kd(c,oe,gt){for(var Yt=0;oe=0&&c.kind<=159?0:(c.modifierFlagsCache&536870912||(c.modifierFlagsCache=Bc(c)|536870912),oe&&!(c.modifierFlagsCache&4096)&&(gt||_n(c))&&c.parent&&(c.modifierFlagsCache|=lp(c)|4096),c.modifierFlagsCache&-536875009)}function Cu(c){return up(c,!0)}e.getEffectiveModifierFlags=Cu;function Y_(c){return up(c,!0,!0)}e.getEffectiveModifierFlagsAlwaysIncludeJSDoc=Y_;function C_(c){return up(c,!1)}e.getSyntacticModifierFlags=C_;function lp(c){var oe=0;return!!c.parent&&!e.isParameter(c)&&(_n(c)&&(e.getJSDocPublicTagNoCache(c)&&(oe|=4),e.getJSDocPrivateTagNoCache(c)&&(oe|=8),e.getJSDocProtectedTagNoCache(c)&&(oe|=16),e.getJSDocReadonlyTagNoCache(c)&&(oe|=64),e.getJSDocOverrideTagNoCache(c)&&(oe|=16384)),e.getJSDocDeprecatedTagNoCache(c)&&(oe|=8192)),oe}function Nf(c){return Bc(c)|lp(c)}e.getEffectiveModifierFlagsNoCache=Nf;function Bc(c){var oe=Ts(c.modifiers);return(c.flags&4||c.kind===79&&c.isInJSDocNamespace)&&(oe|=1),oe}e.getSyntacticModifierFlagsNoCache=Bc;function Ts(c){var oe=0;if(c)for(var gt=0,Yt=c;gt=63&&c<=78}e.isAssignmentOperator=dp;function Sl(c){var oe=Pd(c);return oe&&!oe.isImplements?oe.class:void 0}e.tryGetClassExtendingExpressionWithTypeArguments=Sl;function Pd(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=Pd;function yu(c,oe){return e.isBinaryExpression(c)&&(oe?c.operatorToken.kind===63:dp(c.operatorToken.kind))&&e.isLeftHandSideExpression(c.left)}e.isAssignmentExpression=yu;function Hp(c){return yu(c.parent)&&c.parent.left===c}e.isLeftHandSideOfAssignment=Hp;function Ad(c){if(yu(c,!0)){var oe=c.left.kind;return oe===204||oe===203}return!1}e.isDestructuringAssignment=Ad;function Ul(c){return Sl(c)!==void 0}e.isExpressionWithTypeArgumentsInClassExtendsClause=Ul;function Xu(c){return c.kind===79||Fd(c)}e.isEntityNameExpression=Xu;function Pf(c){switch(c.kind){case 79:return c;case 160:do c=c.left;while(c.kind!==79);return c;case 205:do c=c.expression;while(c.kind!==79);return c}}e.getFirstIdentifier=Pf;function _l(c){return c.kind===79||c.kind===108||c.kind===106||c.kind===230||c.kind===205&&_l(c.expression)||c.kind===211&&_l(c.expression)}e.isDottedName=_l;function Fd(c){return e.isPropertyAccessExpression(c)&&e.isIdentifier(c.name)&&Xu(c.expression)}e.isPropertyAccessEntityNameExpression=Fd;function ql(c){if(e.isPropertyAccessExpression(c)){var oe=ql(c.expression);if(oe!==void 0)return oe+"."+Bt(c.name)}else if(e.isElementAccessExpression(c)){var oe=ql(c.expression);if(oe!==void 0&&e.isPropertyName(c.argumentExpression))return oe+"."+y_(c.argumentExpression)}else if(e.isIdentifier(c))return e.unescapeLeadingUnderscores(c.escapedText)}e.tryGetPropertyAccessOrIdentifierToString=ql;function Zi(c){return je(c)&&Ot(c)==="prototype"}e.isPrototypeAccess=Zi;function c_(c){return c.parent.kind===160&&c.parent.right===c||c.parent.kind===205&&c.parent.name===c}e.isRightSideOfQualifiedNameOrPropertyAccess=c_;function Dr(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=Dr;function $_(c){return c.kind===204&&c.properties.length===0}e.isEmptyObjectLiteral=$_;function pp(c){return c.kind===203&&c.elements.length===0}e.isEmptyArrayLiteral=pp;function X_(c){if(!(!fp(c)||!c.declarations))for(var oe=0,gt=c.declarations;oe0&&Mu(c.declarations[0],512)}function Af(c){return e.find(y0,function(oe){return e.fileExtensionIs(c,oe)})}e.tryExtractTSExtension=Af;function Xf(c){for(var oe=[],gt=c.length,Yt=0;Yt>6|192),oe.push(Un&63|128)):Un<65536?(oe.push(Un>>12|224),oe.push(Un>>6&63|128),oe.push(Un&63|128)):Un<131072?(oe.push(Un>>18|240),oe.push(Un>>12&63|128),oe.push(Un>>6&63|128),oe.push(Un&63|128)):e.Debug.assert(!1,"Unexpected code point")}return oe}var Hc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function Gp(c){for(var oe="",gt=Xf(c),Yt=0,Un=gt.length,Kr,kr,ki,Ca;Yt>2,kr=(gt[Yt]&3)<<4|gt[Yt+1]>>4,ki=(gt[Yt+1]&15)<<2|gt[Yt+2]>>6,Ca=gt[Yt+2]&63,Yt+1>=Un?ki=Ca=64:Yt+2>=Un&&(Ca=64),oe+=Hc.charAt(Kr)+Hc.charAt(kr)+Hc.charAt(ki)+Hc.charAt(Ca),Yt+=3;return oe}e.convertToBase64=Gp;function wd(c){for(var oe="",gt=0,Yt=c.length;gt>4&3,Vo=(kr&15)<<4|ki>>2&15,Po=(ki&3)<<6|Ca&63;Vo===0&&ki!==0?Yt.push(la):Po===0&&Ca!==0?Yt.push(la,Vo):Yt.push(la,Vo,Po),Un+=4}return wd(Yt)}e.base64decode=mp;function gp(c,oe){try{var gt=oe.readFile(c);if(!gt)return{};var Yt=e.parseConfigFileTextToJson(c,gt);return Yt.error?{}:Yt.config}catch{return{}}}e.readJson=gp;function Z_(c,oe){return!oe.directoryExists||oe.directoryExists(c)}e.directoryProbablyExists=Z_;var Wl=`\r `,hc=` `;function ed(c,oe){switch(c.newLine){case 0:return Wl;case 1:return hc}return oe?oe():e.sys?e.sys.newLine:Wl}e.getNewLineCharacter=ed;function iu(c,oe){return oe===void 0&&(oe=c),e.Debug.assert(oe>=c||oe===-1),{pos:c,end:oe}}e.createRange=iu;function td(c,oe){return iu(c.pos,oe)}e.moveRangeEnd=td;function Id(c,oe){return iu(oe,c.end)}e.moveRangePos=Id;function ku(c){return c.decorators&&c.decorators.length>0?Id(c,c.decorators.end):c}e.moveRangePastDecorators=ku;function x(c){return c.modifiers&&c.modifiers.length>0?Id(c,c.modifiers.end):ku(c)}e.moveRangePastModifiers=x;function rt(c){return c.pos===c.end}e.isCollapsedRange=rt;function on(c,oe){return iu(c,c+e.tokenToString(oe).length)}e.createTokenRange=on;function Wn(c,oe){return Qi(c,c,oe)}e.rangeIsOnSingleLine=Wn;function wr(c,oe,gt){return Zs(js(c,gt,!1),js(oe,gt,!1),gt)}e.rangeStartPositionsAreOnSameLine=wr;function $r(c,oe,gt){return Zs(c.end,oe.end,gt)}e.rangeEndPositionsAreOnSameLine=$r;function Qi(c,oe,gt){return Zs(js(c,gt,!1),oe.end,gt)}e.rangeStartIsOnSameLineAsRangeEnd=Qi;function ma(c,oe,gt){return Zs(c.end,js(oe,gt,!1),gt)}e.rangeEndIsOnSameLineAsRangeStart=ma;function $o(c,oe,gt,Yt){var Un=js(oe,gt,Yt);return e.getLinesBetweenPositions(gt,c.end,Un)}e.getLinesBetweenRangeEndAndRangeStart=$o;function Zo(c,oe,gt){return e.getLinesBetweenPositions(gt,c.end,oe.end)}e.getLinesBetweenRangeEndPositions=Zo;function ss(c,oe){return!Zs(c.pos,c.end,oe)}e.isNodeArrayMultiLine=ss;function Zs(c,oe,gt){return e.getLinesBetweenPositions(gt,c,oe)===0}e.positionsAreOnSameLine=Zs;function js(c,oe,gt){return rg(c.pos)?-1:e.skipTrivia(oe.text,c.pos,!1,gt)}e.getStartPositionOfRange=js;function xc(c,oe,gt,Yt){var Un=e.skipTrivia(gt.text,c,!1,Yt),Kr=Ru(Un,oe,gt);return e.getLinesBetweenPositions(gt,Kr!=null?Kr:oe,Un)}e.getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter=xc;function Lu(c,oe,gt,Yt){var Un=e.skipTrivia(gt.text,c,!1,Yt);return e.getLinesBetweenPositions(gt,c,Math.min(oe,Un))}e.getLinesBetweenPositionAndNextNonWhitespaceCharacter=Lu;function Ru(c,oe,gt){for(oe===void 0&&(oe=0);c-- >oe;)if(!e.isWhiteSpaceLike(gt.text.charCodeAt(c)))return c}function ju(c){var oe=e.getParseTreeNode(c);if(oe)switch(oe.parent.kind){case 259:case 260:return oe===oe.parent.name}return!1}e.isDeclarationNameOfEnumOrNamespace=ju;function N_(c){return e.filter(c.declarations,Zf)}e.getInitializedVariables=N_;function Zf(c){return c.initializer!==void 0}function Od(c){return c.watch&&c.hasOwnProperty("watch")}e.isWatchSet=Od;function Jc(c){c.close()}e.closeFileWatcher=Jc;function Vl(c){return c.flags&33554432?c.checkFlags:0}e.getCheckFlags=Vl;function Pe(c,oe){if(oe===void 0&&(oe=!1),c.valueDeclaration){var gt=oe&&c.declarations&&e.find(c.declarations,function(ki){return ki.kind===172})||c.valueDeclaration,Yt=e.getCombinedModifierFlags(gt);return c.parent&&c.parent.flags&32?Yt:Yt&-29}if(Vl(c)&6){var Un=c.checkFlags,Kr=Un&1024?8:Un&256?4:16,kr=Un&2048?32:0;return Kr|kr}return c.flags&4194304?36:0}e.getDeclarationModifierFlagsFromSymbol=Pe;function bt(c,oe){return c.flags&2097152?oe.getAliasedSymbol(c):c}e.skipAlias=bt;function Vt(c){return c.exportSymbol?c.exportSymbol.flags|c.flags:c.flags}e.getCombinedLocalAndExportSymbolFlags=Vt;function yn(c){return Rr(c)===1}e.isWriteOnlyAccess=yn;function Jn(c){return Rr(c)!==0}e.isWriteAccess=Jn;var sr;(function(c){c[c.Read=0]="Read",c[c.Write=1]="Write",c[c.ReadWrite=2]="ReadWrite"})(sr||(sr={}));function Rr(c){var oe=c.parent;if(!oe)return 0;switch(oe.kind){case 211:return Rr(oe);case 219:case 218:var gt=oe.operator;return gt===45||gt===46?ki():0;case 220:var Yt=oe,Un=Yt.left,Kr=Yt.operatorToken;return Un===c&&dp(Kr.kind)?Kr.kind===63?1:ki():0;case 205:return oe.name!==c?0:Rr(oe);case 294:{var kr=Rr(oe.parent);return c===oe.name?mi(kr):kr}case 295:return c===oe.objectAssignmentInitializer?0:Rr(oe.parent);case 203:return Rr(oe);default:return 0}function ki(){return oe.parent&&wo(oe.parent).kind===237?1:2}}function mi(c){switch(c){case 0:return 1;case 1:return 0;case 2:return 2;default:return e.Debug.assertNever(c)}}function Wi(c,oe){if(!c||!oe||Object.keys(c).length!==Object.keys(oe).length)return!1;for(var gt in c)if(typeof c[gt]=="object"){if(!Wi(c[gt],oe[gt]))return!1}else if(typeof c[gt]!="function"&&c[gt]!==oe[gt])return!1;return!0}e.compareDataObjects=Wi;function Ki(c,oe){c.forEach(oe),c.clear()}e.clearMap=Ki;function mo(c,oe,gt){var Yt=gt.onDeleteValue,Un=gt.onExistingValue;c.forEach(function(Kr,kr){var ki=oe.get(kr);ki===void 0?(c.delete(kr),Yt(Kr,kr)):Un&&Un(Kr,ki,kr)})}e.mutateMapSkippingNewValues=mo;function Cs(c,oe,gt){mo(c,oe,gt);var Yt=gt.createNewValue;oe.forEach(function(Un,Kr){c.has(Kr)||c.set(Kr,Yt(Kr,Un))})}e.mutateMap=Cs;function vo(c){if(c.flags&32){var oe=fs(c);return!!oe&&Mu(oe,128)}return!1}e.isAbstractConstructorSymbol=vo;function fs(c){var oe;return(oe=c.declarations)===null||oe===void 0?void 0:oe.find(e.isClassLike)}e.getClassLikeDeclarationOfSymbol=fs;function Bs(c){return c.flags&3899393?c.objectFlags:0}e.getObjectFlags=Bs;function Kc(c,oe){return oe.getSignaturesOfType(c,0).length!==0||oe.getSignaturesOfType(c,1).length!==0}e.typeHasCallOrConstructSignatures=Kc;function Ic(c,oe){return!!e.forEachAncestorDirectory(c,function(gt){return oe(gt)?!0:void 0})}e.forSomeAncestorDirectory=Ic;function au(c){return!!c&&!!c.declarations&&!!c.declarations[0]&&e.isNamespaceExportDeclaration(c.declarations[0])}e.isUMDExportSymbol=au;function bc(c){var oe=c.moduleSpecifier;return e.isStringLiteral(oe)?oe.text:Fe(oe)}e.showModuleSpecifier=bc;function P_(c){var oe;return e.forEachChild(c,function(gt){B(gt)&&(oe=gt)},function(gt){for(var Yt=gt.length-1;Yt>=0;Yt--)if(B(gt[Yt])){oe=gt[Yt];break}}),oe}e.getLastChild=P_;function Gc(c,oe,gt){return gt===void 0&&(gt=!0),c.has(oe)?!1:(c.set(oe,gt),!0)}e.addToSeen=Gc;function Qc(c){return e.isClassLike(c)||e.isInterfaceDeclaration(c)||e.isTypeLiteralNode(c)}e.isObjectTypeDeclaration=Qc;function Bu(c){return c>=176&&c<=199||c===130||c===154||c===146||c===157||c===147||c===133||c===149||c===150||c===114||c===152||c===143||c===227||c===310||c===311||c===312||c===313||c===314||c===315||c===316}e.isTypeNodeKind=Bu;function Zu(c){return c.kind===205||c.kind===206}e.isAccessExpression=Zu;function Ju(c){return c.kind===205?c.name:(e.Debug.assert(c.kind===206),c.argumentExpression)}e.getNameOfAccessExpression=Ju;function p(c){switch(c.kind){case"text":case"internal":return!0;default:return!1}}e.isBundleFileTextLike=p;function q(c){return c.kind===268||c.kind===272}e.isNamedImportsOrExports=q;function Ee(c){for(;Zu(c);)c=c.expression;return c}e.getLeftmostAccessExpression=Ee;function at(c,oe){for(;;){switch(c.kind){case 219:c=c.operand;continue;case 220:c=c.left;continue;case 221:c=c.condition;continue;case 209:c=c.tag;continue;case 207:if(oe)return c;case 228:case 206:case 205:case 229:case 348:c=c.expression;continue}return c}}e.getLeftmostExpression=at;function $t(c,oe){this.flags=c,this.escapedName=oe,this.declarations=void 0,this.valueDeclaration=void 0,this.id=void 0,this.mergeId=void 0,this.parent=void 0}function nr(c,oe){this.flags=oe,(e.Debug.isDebugging||e.tracing)&&(this.checker=c)}function yr(c,oe){this.flags=oe,e.Debug.isDebugging&&(this.checker=c)}function ya(c,oe,gt){this.pos=oe,this.end=gt,this.kind=c,this.id=0,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.original=void 0}function cs(c,oe,gt){this.pos=oe,this.end=gt,this.kind=c,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0}function Hs(c,oe,gt){this.pos=oe,this.end=gt,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 Qp(c,oe,gt){this.fileName=c,this.text=oe,this.skipTrivia=gt||function(Yt){return Yt}}e.objectAllocator={getNodeConstructor:function(){return ya},getTokenConstructor:function(){return cs},getIdentifierConstructor:function(){return Hs},getPrivateIdentifierConstructor:function(){return ya},getSourceFileConstructor:function(){return ya},getSymbolConstructor:function(){return $t},getTypeConstructor:function(){return nr},getSignatureConstructor:function(){return yr},getSourceMapSourceConstructor:function(){return Qp}};function A_(c){Object.assign(e.objectAllocator,c)}e.setObjectAllocator=A_;function yp(c,oe,gt){return gt===void 0&&(gt=0),c.replace(/{(\d+)}/g,function(Yt,Un){return""+e.Debug.checkDefined(oe[+Un+gt])})}e.formatStringFromArgs=yp;var vp;function wf(c){vp=c}e.setLocalizedDiagnosticMessages=wf;function Ky(c){!vp&&c&&(vp=c())}e.maybeSetLocalizedDiagnosticMessages=Ky;function If(c){return vp&&vp[c.key]||c.message}e.getLocaleSpecificMessage=If;function Wg(c,oe,gt,Yt){lt(void 0,oe,gt);var Un=If(Yt);return arguments.length>4&&(Un=yp(Un,arguments,4)),{file:void 0,start:oe,length:gt,messageText:Un,category:Yt.category,code:Yt.code,reportsUnnecessary:Yt.reportsUnnecessary,fileName:c}}e.createDetachedDiagnostic=Wg;function zy(c){return c.file===void 0&&c.start!==void 0&&c.length!==void 0&&typeof c.fileName=="string"}function Jr(c,oe){var gt=oe.fileName||"",Yt=oe.text.length;e.Debug.assertEqual(c.fileName,gt),e.Debug.assertLessThanOrEqual(c.start,Yt),e.Debug.assertLessThanOrEqual(c.start+c.length,Yt);var Un={file:oe,start:c.start,length:c.length,messageText:c.messageText,category:c.category,code:c.code,reportsUnnecessary:c.reportsUnnecessary};if(c.relatedInformation){Un.relatedInformation=[];for(var Kr=0,kr=c.relatedInformation;Kr4&&(Un=yp(Un,arguments,4)),{file:c,start:oe,length:gt,messageText:Un,category:Yt.category,code:Yt.code,reportsUnnecessary:Yt.reportsUnnecessary,reportsDeprecated:Yt.reportsDeprecated}}e.createFileDiagnostic=u_;function w_(c,oe){var gt=If(oe);return arguments.length>2&&(gt=yp(gt,arguments,2)),gt}e.formatMessage=w_;function Yp(c){var oe=If(c);return arguments.length>1&&(oe=yp(oe,arguments,1)),{file:void 0,start:void 0,length:void 0,messageText:oe,category:c.category,code:c.code,reportsUnnecessary:c.reportsUnnecessary,reportsDeprecated:c.reportsDeprecated}}e.createCompilerDiagnostic=Yp;function Xm(c,oe){return{file:void 0,start:void 0,length:void 0,code:c.code,category:c.category,messageText:c.next?c:c.messageText,relatedInformation:oe}}e.createCompilerDiagnosticFromMessageChain=Xm;function em(c,oe){var gt=If(oe);return arguments.length>2&&(gt=yp(gt,arguments,2)),{messageText:gt,category:oe.category,code:oe.code,next:c===void 0||Array.isArray(c)?c:[c]}}e.chainDiagnosticMessages=em;function ym(c,oe){for(var gt=c;gt.next;)gt=gt.next[0];gt.next=[oe]}e.concatenateDiagnosticMessageChains=ym;function l_(c){return c.file?c.file.path:void 0}function Zm(c,oe){return tm(c,oe)||vm(c,oe)||0}e.compareDiagnostics=Zm;function tm(c,oe){return e.compareStringsCaseSensitive(l_(c),l_(oe))||e.compareValues(c.start,oe.start)||e.compareValues(c.length,oe.length)||e.compareValues(c.code,oe.code)||$p(c.messageText,oe.messageText)||0}e.compareDiagnosticsSkipRelatedInformation=tm;function vm(c,oe){return!c.relatedInformation&&!oe.relatedInformation?0:c.relatedInformation&&oe.relatedInformation?e.compareValues(c.relatedInformation.length,oe.relatedInformation.length)||e.forEach(c.relatedInformation,function(gt,Yt){var Un=oe.relatedInformation[Yt];return Zm(gt,Un)})||0:c.relatedInformation?-1:1}function $p(c,oe){if(typeof c=="string"&&typeof oe=="string")return e.compareStringsCaseSensitive(c,oe);if(typeof c=="string")return-1;if(typeof oe=="string")return 1;var gt=e.compareStringsCaseSensitive(c.messageText,oe.messageText);if(gt)return gt;if(!c.next&&!oe.next)return 0;if(!c.next)return-1;if(!oe.next)return 1;for(var Yt=Math.min(c.next.length,oe.next.length),Un=0;Unoe.next.length?1:0}function Vg(c){return c===4||c===2||c===1||c===6?1:0}e.getLanguageVariant=Vg;function nm(c){return c.target||c.module===e.ModuleKind.Node12&&7||c.module===e.ModuleKind.NodeNext&&99||0}e.getEmitScriptTarget=nm;function Ku(c){return typeof c.module=="number"?c.module:nm(c)>=2?e.ModuleKind.ES2015:e.ModuleKind.CommonJS}e.getEmitModuleKind=Ku;function Uy(c){var oe=c.moduleResolution;if(oe===void 0)switch(Ku(c)){case e.ModuleKind.CommonJS:oe=e.ModuleResolutionKind.NodeJs;break;case e.ModuleKind.Node12:oe=e.ModuleResolutionKind.Node12;break;case e.ModuleKind.NodeNext:oe=e.ModuleResolutionKind.NodeNext;break;default:oe=e.ModuleResolutionKind.Classic;break}return oe}e.getEmitModuleResolutionKind=Uy;function hp(c){switch(Ku(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.Node12:case e.ModuleKind.NodeNext:return!0;default:return!1}}e.hasJsonModuleEmitEnabled=hp;function ou(c){return c.allowUnreachableCode===!1}e.unreachableCodeIsError=ou;function xp(c){return c.allowUnusedLabels===!1}e.unusedLabelIsError=xp;function xr(c){return!!(Hi(c)&&c.declarationMap)}e.getAreDeclarationMapsEnabled=xr;function Ai(c){if(c.esModuleInterop!==void 0)return c.esModuleInterop;switch(Ku(c)){case e.ModuleKind.Node12:case e.ModuleKind.NodeNext:return!0}}e.getESModuleInterop=Ai;function bi(c){var oe=Ku(c);return c.allowSyntheticDefaultImports!==void 0?c.allowSyntheticDefaultImports:Ai(c)||oe===e.ModuleKind.System}e.getAllowSyntheticDefaultImports=bi;function Hi(c){return!!(c.declaration||c.composite)}e.getEmitDeclarations=Hi;function va(c){return!!(c.preserveConstEnums||c.isolatedModules)}e.shouldPreserveConstEnums=va;function Ba(c){return!!(c.incremental||c.composite)}e.isIncrementalCompilation=Ba;function bs(c,oe){return c[oe]===void 0?!!c.strict:!!c[oe]}e.getStrictOptionValue=bs;function Sc(c){return c.allowJs===void 0?!!c.checkJs:c.allowJs}e.getAllowJSCompilerOption=Sc;function zc(c){return c.useDefineForClassFields===void 0?nm(c)>=9:c.useDefineForClassFields}e.getUseDefineForClassFields=zc;function Yc(c,oe){return k(oe,c,e.semanticDiagnosticsOptionDeclarations)}e.compilerOptionsAffectSemanticDiagnostics=Yc;function Nu(c,oe){return k(oe,c,e.affectsEmitOptionDeclarations)}e.compilerOptionsAffectEmit=Nu;function Hl(c,oe){return oe.strictFlag?bs(c,oe.name):c[oe.name]}e.getCompilerOptionValue=Hl;function Xp(c){var oe=c.jsx;return oe===2||oe===4||oe===5}e.getJSXTransformEnabled=Xp;function I_(c,oe){var gt=oe==null?void 0:oe.pragmas.get("jsximportsource"),Yt=e.isArray(gt)?gt[gt.length-1]:gt;return c.jsx===4||c.jsx===5||c.jsxImportSource||Yt?(Yt==null?void 0:Yt.arguments.factory)||c.jsxImportSource||"react":void 0}e.getJSXImplicitImportBase=I_;function hm(c,oe){return c?"".concat(c,"/").concat(oe.jsx===5?"jsx-dev-runtime":"jsx-runtime"):void 0}e.getJSXRuntimeImport=hm;function Wo(c){for(var oe=!1,gt=0;gt=2&&Kr.length>=2&&!_0(Un[Un.length-2],Yt)&&!_0(Kr[Kr.length-2],Yt)&&Yt(Un[Un.length-1])===Yt(Kr[Kr.length-1]);)Un.pop(),Kr.pop(),kr=!0;return kr?[e.getPathFromPathComponents(Un),e.getPathFromPathComponents(Kr)]:void 0}function _0(c,oe){return c!==void 0&&(oe(c)==="node_modules"||e.startsWith(c,"@"))}function d0(c){return e.isAnyDirectorySeparator(c.charCodeAt(0))?c.slice(1):void 0}function j1(c,oe,gt){var Yt=e.tryRemovePrefix(c,oe,gt);return Yt===void 0?void 0:d0(Yt)}e.tryRemoveDirectoryPrefix=j1;var qy=/[^\w\s\/]/g;function p0(c){return c.replace(qy,f0)}e.regExpEscape=p0;function f0(c){return"\\"+c}var m0=[42,63];e.commonPackageFolders=["node_modules","bower_components","jspm_packages"];var tg="(?!(".concat(e.commonPackageFolders.join("|"),")(/|$))"),Gl={singleAsteriskRegexFragment:"([^./]|(\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:"(/".concat(tg,"[^/.][^/]*)*?"),replaceWildcardCharacter:function(c){return ng(c,Gl.singleAsteriskRegexFragment)}},Gg={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/".concat(tg,"[^/.][^/]*)*?"),replaceWildcardCharacter:function(c){return ng(c,Gg.singleAsteriskRegexFragment)}},rm={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/.+?)?",replaceWildcardCharacter:function(c){return ng(c,rm.singleAsteriskRegexFragment)}},xm={files:Gl,directories:Gg,exclude:rm};function bp(c,oe,gt){var Yt=Wy(c,oe,gt);if(!(!Yt||!Yt.length)){var Un=Yt.map(function(kr){return"(".concat(kr,")")}).join("|"),Kr=gt==="exclude"?"($|/)":"$";return"^(".concat(Un,")").concat(Kr)}}e.getRegularExpressionForWildcard=bp;function Wy(c,oe,gt){if(!(c===void 0||c.length===0))return e.flatMap(c,function(Yt){return Yt&&Vy(Yt,oe,gt,xm[gt])})}e.getRegularExpressionsForWildcards=Wy;function Ql(c){return!/[.*?]/.test(c)}e.isImplicitGlob=Ql;function B1(c,oe,gt){var Yt=c&&Vy(c,oe,gt,xm[gt]);return Yt&&"^(".concat(Yt,")").concat(gt==="exclude"?"($|/)":"$")}e.getPatternFromSpec=B1;function Vy(c,oe,gt,Yt){var Un=Yt.singleAsteriskRegexFragment,Kr=Yt.doubleAsteriskRegexFragment,kr=Yt.replaceWildcardCharacter,ki="",Ca=!1,la=e.getNormalizedPathComponents(c,oe),Vo=e.last(la);if(!(gt!=="exclude"&&Vo==="**")){la[0]=e.removeTrailingDirectorySeparator(la[0]),Ql(Vo)&&la.push("**","*");for(var Po=0,Pc=0,Dc=la;Pc0;)ki+=")?",Po--;return ki}}function ng(c,oe){return c==="*"?oe:c==="?"?"[^/]":"\\"+c}function __(c,oe,gt,Yt,Un){c=e.normalizePath(c),Un=e.normalizePath(Un);var Kr=e.combinePaths(Un,c);return{includeFilePatterns:e.map(Wy(gt,Kr,"files"),function(kr){return"^".concat(kr,"$")}),includeFilePattern:bp(gt,Kr,"files"),includeDirectoryPattern:bp(gt,Kr,"directories"),excludePattern:bp(oe,Kr,"exclude"),basePaths:g0(c,gt,Yt)}}e.getFileMatcherPatterns=__;function im(c,oe){return new RegExp(c,oe?"":"i")}e.getRegexFromPattern=im;function su(c,oe,gt,Yt,Un,Kr,kr,ki,Ca){c=e.normalizePath(c),Kr=e.normalizePath(Kr);for(var la=__(c,gt,Yt,Un,Kr),Vo=la.includeFilePatterns&&la.includeFilePatterns.map(function(Ld){return im(Ld,Un)}),Po=la.includeDirectoryPattern&&im(la.includeDirectoryPattern,Un),Pc=la.excludePattern&&im(la.excludePattern,Un),Dc=Vo?Vo.map(function(){return[]}):[[]],Gs=new e.Map,tl=e.createGetCanonicalFileName(Un),ks=0,ka=la.basePaths;ks=0)}e.positionIsSynthesized=rg;function $y(c){return c===".ts"||c===".tsx"||c===".d.ts"||c===".cts"||c===".mts"||c===".d.mts"||c===".d.cts"}e.extensionIsTS=$y;function V1(c){return $y(c)||c===".json"}e.resolutionExtensionIsTSOrJson=V1;function H1(c){var oe=am(c);return oe!==void 0?oe:e.Debug.fail("File ".concat(c," has unknown extension."))}e.extensionFromPath=H1;function G1(c){return am(c)!==void 0}e.isAnySupportedFileExtension=G1;function am(c){return e.find(Yy,function(oe){return e.fileExtensionIs(c,oe)})}e.tryGetExtensionFromPath=am;function Xy(c,oe){return c.checkJsDirective?c.checkJsDirective.enabled:oe.checkJs}e.isCheckJsEnabledForFile=Xy,e.emptyFileSystemEntries={files:e.emptyArray,directories:e.emptyArray};function Zy(c,oe){for(var gt=[],Yt=0,Un=c;YtYt&&(Yt=Kr)}return{min:gt,max:Yt}}e.minAndMax=Tl;function el(c){return{pos:Se(c),end:c.end}}e.rangeOfNode=el;function Md(c,oe){var gt=oe.pos-1,Yt=e.skipTrivia(c.text,oe.end)+1;return{pos:gt,end:Yt}}e.rangeOfTypeParameters=Md;function Yl(c,oe,gt){return oe.skipLibCheck&&c.isDeclarationFile||oe.skipDefaultLibCheck&&c.hasNoDefaultLib||gt.isSourceOfProjectReferenceRedirect(c.fileName)}e.skipTypeChecking=Yl;function Yg(c,oe){return c===oe||typeof c=="object"&&c!==null&&typeof oe=="object"&&oe!==null&&e.equalOwnProperties(c,oe,Yg)}e.isJsonEqual=Yg;function ig(c){var oe;switch(c.charCodeAt(1)){case 98:case 66:oe=1;break;case 111:case 79:oe=3;break;case 120:case 88:oe=4;break;default:for(var gt=c.length-1,Yt=0;c.charCodeAt(Yt)===48;)Yt++;return c.slice(Yt,gt)||"0"}for(var Un=2,Kr=c.length-1,kr=(Kr-Un)*oe,ki=new Uint16Array((kr>>>4)+(kr&15?1:0)),Ca=Kr-1,la=0;Ca>=Un;Ca--,la+=oe){var Vo=la>>>4,Po=c.charCodeAt(Ca),Pc=Po<=57?Po-48:10+Po-(Po<=70?65:97),Dc=Pc<<(la&15);ki[Vo]|=Dc;var Gs=Dc>>>16;Gs&&(ki[Vo+1]|=Gs)}for(var tl="",ks=ki.length-1,ka=!0;ka;){var Dp=0;ka=!1;for(var Vo=ks;Vo>=0;Vo--){var Ja=Dp<<16|ki[Vo],Ld=Ja/10|0;ki[Vo]=Ld,Dp=Ja-Ld*10,Ld&&!ka&&(ks=Vo,ka=!0)}tl=Dp+tl}return tl}e.parsePseudoBigInt=ig;function ag(c){var oe=c.negative,gt=c.base10Value;return(oe&>!=="0"?"-":"")+gt}e.pseudoBigIntToString=ag;function El(c){return!!(c.flags&8388608)||ai(c)||$1(c)||ev(c)||!(Sn(c)||T0(c))}e.isValidTypeOnlyAliasUseSite=El;function T0(c){return e.isIdentifier(c)&&e.isShorthandPropertyAssignment(c.parent)&&c.parent.name===c}function ev(c){for(;c.kind===79||c.kind===205;)c=c.parent;if(c.kind!==161)return!1;if(Mu(c.parent,128))return!0;var oe=c.parent.parent.kind;return oe===257||oe===181}function $1(c){if(c.kind!==79)return!1;var oe=e.findAncestor(c.parent,function(gt){switch(gt.kind){case 290:return!0;case 205:case 227:return!1;default:return"quit"}});return(oe==null?void 0:oe.token)===117||(oe==null?void 0:oe.parent.kind)===257}function $c(c){return e.isTypeReferenceNode(c)&&e.isIdentifier(c.typeName)}e.isIdentifierTypeReference=$c;function dl(c,oe){if(oe===void 0&&(oe=e.equateValues),c.length<2)return!0;for(var gt=c[0],Yt=1,Un=c.length;Yt=0?e.factory.createNumericLiteral(+c):e.factory.createStringLiteral(c,!!gt)}e.createPropertyNameNodeForIdentifierOrLiteral=iv;function n2(c){return!!(c.flags&262144&&c.isThisType)}e.isThisTypeParameter=n2;function av(c){var oe=0,gt=0,Yt=0,Un=0,Kr;(function(la){la[la.BeforeNodeModules=0]="BeforeNodeModules",la[la.NodeModules=1]="NodeModules",la[la.Scope=2]="Scope",la[la.PackageContent=3]="PackageContent"})(Kr||(Kr={}));for(var kr=0,ki=0,Ca=0;ki>=0;)switch(kr=ki,ki=c.indexOf("/",kr+1),Ca){case 0:c.indexOf(e.nodeModulesPathPart,kr)===kr&&(oe=kr,gt=ki,Ca=1);break;case 1:case 2:Ca===1&&c.charAt(kr+1)==="@"?Ca=2:(Yt=ki,Ca=3);break;case 3:c.indexOf(e.nodeModulesPathPart,kr)===kr?Ca=1:Ca=3;break}return Un=kr,Ca>1?{topLevelNodeModulesIndex:oe,topLevelPackageNameIndex:gt,packageRootIndex:Yt,fileNameIndex:Un}:void 0}e.getNodeModulePathParts=av})(ne||(ne={}));var ne;(function(e){function a(){var u,P,r,v,G;return{createBaseSourceFileNode:ue,createBaseIdentifierNode:h,createBasePrivateIdentifierNode:S,createBaseTokenNode:k,createBaseNode:se};function ue(le){return new(G||(G=e.objectAllocator.getSourceFileConstructor()))(le,-1,-1)}function h(le){return new(r||(r=e.objectAllocator.getIdentifierConstructor()))(le,-1,-1)}function S(le){return new(v||(v=e.objectAllocator.getPrivateIdentifierConstructor()))(le,-1,-1)}function k(le){return new(P||(P=e.objectAllocator.getTokenConstructor()))(le,-1,-1)}function se(le){return new(u||(u=e.objectAllocator.getNodeConstructor()))(le,-1,-1)}}e.createBaseNodeFactory=a})(ne||(ne={}));var ne;(function(e){function a(u){var P,r;return{getParenthesizeLeftSideOfBinaryForOperator:v,getParenthesizeRightSideOfBinaryForOperator:G,parenthesizeLeftSideOfBinary:se,parenthesizeRightSideOfBinary:le,parenthesizeExpressionOfComputedPropertyName:f,parenthesizeConditionOfConditionalExpression:b,parenthesizeBranchOfConditionalExpression:y,parenthesizeExpressionOfExportDefault:K,parenthesizeExpressionOfNew:ce,parenthesizeLeftSideOfAccess:Y,parenthesizeOperandOfPostfixUnary:re,parenthesizeOperandOfPrefixUnary:F,parenthesizeExpressionsOfCommaDelimitedList:O,parenthesizeExpressionForDisallowedComma:Q,parenthesizeExpressionOfExpressionStatement:de,parenthesizeConciseBodyOfArrowFunction:$,parenthesizeMemberOfConditionalType:I,parenthesizeMemberOfElementType:Z,parenthesizeElementTypeOfArrayType:z,parenthesizeConstituentTypesOfUnionOrIntersectionType:ie,parenthesizeTypeArguments:A};function v(g){P||(P=new e.Map);var C=P.get(g);return C||(C=function(N){return se(g,N)},P.set(g,C)),C}function G(g){r||(r=new e.Map);var C=r.get(g);return C||(C=function(N){return le(g,void 0,N)},r.set(g,C)),C}function ue(g,C,N,_){var d=e.getOperatorPrecedence(220,g),E=e.getOperatorAssociativity(220,g),j=e.skipPartiallyEmittedExpressions(C);if(!N&&C.kind===213&&d>3)return!0;var B=e.getExpressionPrecedence(j);switch(e.compareValues(B,d)){case-1:return!(!N&&E===1&&C.kind===223);case 1:return!1;case 0:if(N)return E===1;if(e.isBinaryExpression(j)&&j.operatorToken.kind===g){if(h(g))return!1;if(g===39){var W=_?S(_):0;if(e.isLiteralKind(W)&&W===S(j))return!1}}var J=e.getExpressionAssociativity(j);return J===0}}function h(g){return g===41||g===51||g===50||g===52}function S(g){if(g=e.skipPartiallyEmittedExpressions(g),e.isLiteralKind(g.kind))return g.kind;if(g.kind===220&&g.operatorToken.kind===39){if(g.cachedLiteralKind!==void 0)return g.cachedLiteralKind;var C=S(g.left),N=e.isLiteralKind(C)&&C===S(g.right)?C:0;return g.cachedLiteralKind=N,N}return 0}function k(g,C,N,_){var d=e.skipPartiallyEmittedExpressions(C);return d.kind===211?C:ue(g,C,N,_)?u.createParenthesizedExpression(C):C}function se(g,C){return k(g,C,!0)}function le(g,C,N){return k(g,N,!1,C)}function f(g){return e.isCommaSequence(g)?u.createParenthesizedExpression(g):g}function b(g){var C=e.getOperatorPrecedence(221,57),N=e.skipPartiallyEmittedExpressions(g),_=e.getExpressionPrecedence(N);return e.compareValues(_,C)!==1?u.createParenthesizedExpression(g):g}function y(g){var C=e.skipPartiallyEmittedExpressions(g);return e.isCommaSequence(C)?u.createParenthesizedExpression(g):g}function K(g){var C=e.skipPartiallyEmittedExpressions(g),N=e.isCommaSequence(C);if(!N)switch(e.getLeftmostExpression(C,!1).kind){case 225:case 212:N=!0}return N?u.createParenthesizedExpression(g):g}function ce(g){var C=e.getLeftmostExpression(g,!0);switch(C.kind){case 207:return u.createParenthesizedExpression(g);case 208:return C.arguments?g:u.createParenthesizedExpression(g)}return Y(g)}function Y(g){var C=e.skipPartiallyEmittedExpressions(g);return e.isLeftHandSideExpression(C)&&(C.kind!==208||C.arguments)?g:e.setTextRange(u.createParenthesizedExpression(g),g)}function re(g){return e.isLeftHandSideExpression(g)?g:e.setTextRange(u.createParenthesizedExpression(g),g)}function F(g){return e.isUnaryExpression(g)?g:e.setTextRange(u.createParenthesizedExpression(g),g)}function O(g){var C=e.sameMap(g,Q);return e.setTextRange(u.createNodeArray(C,g.hasTrailingComma),g)}function Q(g){var C=e.skipPartiallyEmittedExpressions(g),N=e.getExpressionPrecedence(C),_=e.getOperatorPrecedence(220,27);return N>_?g:e.setTextRange(u.createParenthesizedExpression(g),g)}function de(g){var C=e.skipPartiallyEmittedExpressions(g);if(e.isCallExpression(C)){var N=C.expression,_=e.skipPartiallyEmittedExpressions(N).kind;if(_===212||_===213){var d=u.updateCallExpression(C,e.setTextRange(u.createParenthesizedExpression(N),N),C.typeArguments,C.arguments);return u.restoreOuterExpressions(g,d,8)}}var E=e.getLeftmostExpression(C,!1).kind;return E===204||E===212?e.setTextRange(u.createParenthesizedExpression(g),g):g}function $(g){return!e.isBlock(g)&&(e.isCommaSequence(g)||e.getLeftmostExpression(g,!1).kind===204)?e.setTextRange(u.createParenthesizedExpression(g),g):g}function I(g){return g.kind===188?u.createParenthesizedType(g):g}function Z(g){switch(g.kind){case 186:case 187:case 178:case 179:return u.createParenthesizedType(g)}return I(g)}function z(g){switch(g.kind){case 180:case 192:case 189:return u.createParenthesizedType(g)}return Z(g)}function ie(g){return u.createNodeArray(e.sameMap(g,Z))}function m(g,C){return C===0&&e.isFunctionOrConstructorTypeNode(g)&&g.typeParameters?u.createParenthesizedType(g):g}function A(g){if(e.some(g))return u.createNodeArray(e.sameMap(g,m))}}e.createParenthesizerRules=a,e.nullParenthesizerRules={getParenthesizeLeftSideOfBinaryForOperator:function(u){return e.identity},getParenthesizeRightSideOfBinaryForOperator:function(u){return e.identity},parenthesizeLeftSideOfBinary:function(u,P){return P},parenthesizeRightSideOfBinary:function(u,P,r){return r},parenthesizeExpressionOfComputedPropertyName:e.identity,parenthesizeConditionOfConditionalExpression:e.identity,parenthesizeBranchOfConditionalExpression:e.identity,parenthesizeExpressionOfExportDefault:e.identity,parenthesizeExpressionOfNew:function(u){return e.cast(u,e.isLeftHandSideExpression)},parenthesizeLeftSideOfAccess:function(u){return e.cast(u,e.isLeftHandSideExpression)},parenthesizeOperandOfPostfixUnary:function(u){return e.cast(u,e.isLeftHandSideExpression)},parenthesizeOperandOfPrefixUnary:function(u){return e.cast(u,e.isUnaryExpression)},parenthesizeExpressionsOfCommaDelimitedList:function(u){return e.cast(u,e.isNodeArray)},parenthesizeExpressionForDisallowedComma:e.identity,parenthesizeExpressionOfExpressionStatement:e.identity,parenthesizeConciseBodyOfArrowFunction:e.identity,parenthesizeMemberOfConditionalType:e.identity,parenthesizeMemberOfElementType:e.identity,parenthesizeElementTypeOfArrayType:e.identity,parenthesizeConstituentTypesOfUnionOrIntersectionType:function(u){return e.cast(u,e.isNodeArray)},parenthesizeTypeArguments:function(u){return u&&e.cast(u,e.isNodeArray)}}})(ne||(ne={}));var ne;(function(e){function a(u){return{convertToFunctionBlock:P,convertToFunctionExpression:r,convertToArrayAssignmentElement:v,convertToObjectAssignmentElement:G,convertToAssignmentPattern:ue,convertToObjectAssignmentPattern:h,convertToArrayAssignmentPattern:S,convertToAssignmentElementTarget:k};function P(se,le){if(e.isBlock(se))return se;var f=u.createReturnStatement(se);e.setTextRange(f,se);var b=u.createBlock([f],le);return e.setTextRange(b,se),b}function r(se){if(!se.body)return e.Debug.fail("Cannot convert a FunctionDeclaration without a body");var le=u.createFunctionExpression(se.modifiers,se.asteriskToken,se.name,se.typeParameters,se.parameters,se.type,se.body);return e.setOriginalNode(le,se),e.setTextRange(le,se),e.getStartsOnNewLine(se)&&e.setStartsOnNewLine(le,!0),le}function v(se){if(e.isBindingElement(se)){if(se.dotDotDotToken)return e.Debug.assertNode(se.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(u.createSpreadElement(se.name),se),se);var le=k(se.name);return se.initializer?e.setOriginalNode(e.setTextRange(u.createAssignment(le,se.initializer),se),se):le}return e.cast(se,e.isExpression)}function G(se){if(e.isBindingElement(se)){if(se.dotDotDotToken)return e.Debug.assertNode(se.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(u.createSpreadAssignment(se.name),se),se);if(se.propertyName){var le=k(se.name);return e.setOriginalNode(e.setTextRange(u.createPropertyAssignment(se.propertyName,se.initializer?u.createAssignment(le,se.initializer):le),se),se)}return e.Debug.assertNode(se.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(u.createShorthandPropertyAssignment(se.name,se.initializer),se),se)}return e.cast(se,e.isObjectLiteralElementLike)}function ue(se){switch(se.kind){case 201:case 203:return S(se);case 200:case 204:return h(se)}}function h(se){return e.isObjectBindingPattern(se)?e.setOriginalNode(e.setTextRange(u.createObjectLiteralExpression(e.map(se.elements,G)),se),se):e.cast(se,e.isObjectLiteralExpression)}function S(se){return e.isArrayBindingPattern(se)?e.setOriginalNode(e.setTextRange(u.createArrayLiteralExpression(e.map(se.elements,v)),se),se):e.cast(se,e.isArrayLiteralExpression)}function k(se){return e.isBindingPattern(se)?ue(se):e.cast(se,e.isExpression)}}e.createNodeConverters=a,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}})(ne||(ne={}));var ne;(function(e){var a=0;(function(z){z[z.None=0]="None",z[z.NoParenthesizerRules=1]="NoParenthesizerRules",z[z.NoNodeConverters=2]="NoNodeConverters",z[z.NoIndentationOnFreshPropertyAccess=4]="NoIndentationOnFreshPropertyAccess",z[z.NoOriginalNode=8]="NoOriginalNode"})(e.NodeFactoryFlags||(e.NodeFactoryFlags={}));function u(z,ie){var m=z&8?P:r,A=e.memoize(function(){return z&1?e.nullParenthesizerRules:e.createParenthesizerRules(pe)}),g=e.memoize(function(){return z&2?e.nullNodeConverters:e.createNodeConverters(pe)}),C=e.memoizeOne(function(p){return function(q,Ee){return Mi(q,p,Ee)}}),N=e.memoizeOne(function(p){return function(q){return je(p,q)}}),_=e.memoizeOne(function(p){return function(q){return Cr(q,p)}}),d=e.memoizeOne(function(p){return function(){return hd(p)}}),E=e.memoizeOne(function(p){return function(q){return xd(p,q)}}),j=e.memoizeOne(function(p){return function(q,Ee){return bd(p,q,Ee)}}),B=e.memoizeOne(function(p){return function(q,Ee){return Jl(p,q,Ee)}}),W=e.memoizeOne(function(p){return function(q,Ee,at){return V_(p,q,Ee,at)}}),J=e.memoizeOne(function(p){return function(q,Ee,at){return E_(p,q,Ee,at)}}),M=e.memoizeOne(function(p){return function(q,Ee,at,$t){return Td(p,q,Ee,at,$t)}}),pe={get parenthesizer(){return A()},get converters(){return g()},createNodeArray:Ne,createNumericLiteral:ke,createBigIntLiteral:ve,createStringLiteral:Oe,createStringLiteralFromNode:Ce,createRegularExpressionLiteral:ge,createLiteralLikeNode:ze,createIdentifier:st,updateIdentifier:At,createTempVariable:qt,createLoopVariable:Ue,createUniqueName:Ie,getGeneratedNameForNode:Ht,createPrivateIdentifier:_t,createToken:fe,createSuper:Be,createThis:We,createNull:Ft,createTrue:Lt,createFalse:Rt,createModifier:Et,createModifiersFromModifierFlags:pn,createQualifiedName:he,updateQualifiedName:yt,createComputedPropertyName:Gt,updateComputedPropertyName:rn,createTypeParameterDeclaration:Zt,updateTypeParameterDeclaration:kn,createParameterDeclaration:Zn,updateParameterDeclaration:Sr,createDecorator:Ze,updateDecorator:tn,createPropertySignature:Je,updatePropertySignature:Bt,createPropertyDeclaration:zt,updatePropertyDeclaration:Ve,createMethodSignature:Nt,updateMethodSignature:Ge,createMethodDeclaration:lt,updateMethodDeclaration:Le,createConstructorDeclaration:H,updateConstructorDeclaration:ae,createGetAccessorDeclaration:Re,updateGetAccessorDeclaration:it,createSetAccessorDeclaration:ut,updateSetAccessorDeclaration:Qe,createCallSignature:cn,updateCallSignature:vn,createConstructSignature:Ut,updateConstructSignature:$e,createIndexSignature:Ct,updateIndexSignature:kt,createClassStaticBlockDeclaration:ee,updateClassStaticBlockDeclaration:xe,createTemplateLiteralTypeSpan:en,updateTemplateLiteralTypeSpan:mn,createKeywordTypeNode:hn,createTypePredicateNode:Pn,updateTypePredicateNode:Fn,createTypeReferenceNode:An,updateTypeReferenceNode:Tn,createFunctionTypeNode:qn,updateFunctionTypeNode:xn,createConstructorTypeNode:rr,updateConstructorTypeNode:pi,createTypeQueryNode:lr,updateTypeQueryNode:In,createTypeLiteralNode:Qn,updateTypeLiteralNode:Yn,createArrayTypeNode:Ar,updateArrayTypeNode:gr,createTupleTypeNode:Si,updateTupleTypeNode:_i,createNamedTupleMember:Nn,updateNamedTupleMember:Rn,createOptionalTypeNode:Bn,updateOptionalTypeNode:jt,createRestTypeNode:pr,updateRestTypeNode:br,createUnionTypeNode:Da,updateUnionTypeNode:$i,createIntersectionTypeNode:Xt,updateIntersectionTypeNode:ja,createConditionalTypeNode:xa,updateConditionalTypeNode:so,createInferTypeNode:po,updateInferTypeNode:Ua,createImportTypeNode:Mo,updateImportTypeNode:xo,createParenthesizedType:as,updateParenthesizedType:ta,createThisTypeNode:ls,createTypeOperatorNode:qo,updateTypeOperatorNode:bo,createIndexedAccessTypeNode:pa,updateIndexedAccessTypeNode:oo,createMappedTypeNode:Ro,updateMappedTypeNode:jo,createLiteralTypeNode:_s,updateLiteralTypeNode:ds,createTemplateLiteralType:is,updateTemplateLiteralType:ao,createObjectBindingPattern:Fs,updateObjectBindingPattern:ec,createArrayBindingPattern:xt,updateArrayBindingPattern:Sn,createBindingElement:fr,updateBindingElement:ai,createArrayLiteralExpression:qe,updateArrayLiteralExpression:D,createObjectLiteralExpression:De,updateObjectLiteralExpression:Ke,createPropertyAccessExpression:z&4?function(p,q){return e.setEmitFlags(nt(p,q),131072)}:nt,updatePropertyAccessExpression:Mt,createPropertyAccessChain:z&4?function(p,q,Ee){return e.setEmitFlags(_n(p,q,Ee),131072)}:_n,updatePropertyAccessChain:Dn,createElementAccessExpression:Vn,updateElementAccessExpression:mr,createElementAccessChain:Xr,updateElementAccessChain:Pi,createCallExpression:ji,updateCallExpression:da,createCallChain:fo,updateCallChain:Ho,createNewExpression:vs,updateNewExpression:ns,createTaggedTemplateExpression:Os,updateTaggedTemplateExpression:qs,createTypeAssertion:jn,updateTypeAssertion:ci,createParenthesizedExpression:hi,updateParenthesizedExpression:fa,createFunctionExpression:wa,updateFunctionExpression:eo,createArrowFunction:zi,updateArrowFunction:Ia,createDeleteExpression:Za,updateDeleteExpression:Do,createTypeOfExpression:Bo,updateTypeOfExpression:ye,createVoidExpression:Jt,updateVoidExpression:En,createAwaitExpression:or,updateAwaitExpression:ii,createPrefixUnaryExpression:je,updatePrefixUnaryExpression:un,createPostfixUnaryExpression:Cr,updatePostfixUnaryExpression:aa,createBinaryExpression:Mi,updateBinaryExpression:ms,createConditionalExpression:Ot,updateConditionalExpression:fc,createTemplateExpression:Ac,updateTemplateExpression:Mc,createTemplateHead:Rc,createTemplateMiddle:vu,createTemplateTail:Vu,createNoSubstitutionTemplateLiteral:gl,createTemplateLiteralLikeNode:Lc,createYieldExpression:So,updateYieldExpression:hu,createSpreadElement:Hu,updateSpreadElement:Fc,createClassExpression:ol,updateClassExpression:sl,createOmittedExpression:qi,createExpressionWithTypeArguments:Ml,updateExpressionWithTypeArguments:Ll,createAsExpression:eu,updateAsExpression:Kt,createNonNullExpression:ln,updateNonNullExpression:Mn,createNonNullChain:ir,updateNonNullChain:hr,createMetaProperty:Tr,updateMetaProperty:Ur,createTemplateSpan:ui,updateTemplateSpan:ia,createSemicolonClassElement:Ti,createBlock:Di,updateBlock:Xi,createVariableStatement:Fo,updateVariableStatement:io,createEmptyStatement:me,createExpressionStatement:mt,updateExpressionStatement:Dt,createIfStatement:Cn,updateIfStatement:Gn,createDoStatement:qr,updateDoStatement:xi,createWhileStatement:ba,updateWhileStatement:go,createForStatement:wo,updateForStatement:yo,createForInStatement:Ga,updateForInStatement:co,createForOfStatement:ps,updateForOfStatement:hs,createContinueStatement:Us,updateContinueStatement:wc,createBreakStatement:Wt,updateBreakStatement:xu,createReturnStatement:fu,updateReturnStatement:bu,createWithStatement:tc,updateWithStatement:Rl,createSwitchStatement:jl,updateSwitchStatement:bf,createLabeledStatement:Co,updateLabeledStatement:Hd,createThrowStatement:Gd,updateThrowStatement:Xs,createTryStatement:Au,updateTryStatement:yl,createDebuggerStatement:K_,createVariableDeclaration:vl,updateVariableDeclaration:Gu,createVariableDeclarationList:nc,updateVariableDeclarationList:g_,createFunctionDeclaration:Ji,updateFunctionDeclaration:Ni,createClassDeclaration:cl,updateClassDeclaration:Wc,createInterfaceDeclaration:zp,updateInterfaceDeclaration:Fu,createTypeAliasDeclaration:Qd,updateTypeAliasDeclaration:gs,createEnumDeclaration:_d,updateEnumDeclaration:y_,createModuleDeclaration:dd,updateModuleDeclaration:pd,createModuleBlock:Su,updateModuleBlock:Qf,createCaseBlock:fd,updateCaseBlock:Up,createNamespaceExportDeclaration:Yd,updateNamespaceExportDeclaration:Yf,createImportEqualsDeclaration:$d,updateImportEqualsDeclaration:qp,createImportDeclaration:z_,updateImportDeclaration:Sf,createImportClause:Wp,updateImportClause:$f,createAssertClause:Df,updateAssertClause:Tf,createAssertEntry:md,updateAssertEntry:ul,createNamespaceImport:wu,updateNamespaceImport:Qu,createNamespaceExport:Iu,updateNamespaceExport:U_,createNamedImports:Vp,updateNamedImports:q_,createImportSpecifier:Ef,updateImportSpecifier:Xd,createExportAssignment:gd,updateExportAssignment:Zd,createExportDeclaration:yd,updateExportDeclaration:v_,createNamedExports:ep,updateNamedExports:vd,createExportSpecifier:tp,updateExportSpecifier:h_,createMissingDeclaration:Cf,createExternalModuleReference:oc,updateExternalModuleReference:Yu,get createJSDocAllType(){return d(310)},get createJSDocUnknownType(){return d(311)},get createJSDocNonNullableType(){return E(313)},get updateJSDocNonNullableType(){return j(313)},get createJSDocNullableType(){return E(312)},get updateJSDocNullableType(){return j(312)},get createJSDocOptionalType(){return E(314)},get updateJSDocOptionalType(){return j(314)},get createJSDocVariadicType(){return E(316)},get updateJSDocVariadicType(){return j(316)},get createJSDocNamepathType(){return E(317)},get updateJSDocNamepathType(){return j(317)},createJSDocFunctionType:x_,updateJSDocFunctionType:np,createJSDocTypeLiteral:Ou,updateJSDocTypeLiteral:mc,createJSDocTypeExpression:mu,updateJSDocTypeExpression:jc,createJSDocSignature:hl,updateJSDocSignature:W_,createJSDocTemplateTag:Vs,updateJSDocTemplateTag:Yo,createJSDocTypedefTag:Vc,updateJSDocTypedefTag:Sd,createJSDocParameterTag:Tu,updateJSDocParameterTag:rp,createJSDocPropertyTag:b_,updateJSDocPropertyTag:S_,createJSDocCallbackTag:Qr,updateJSDocCallbackTag:ys,createJSDocAugmentsTag:Sa,updateJSDocAugmentsTag:Bl,createJSDocImplementsTag:Ms,updateJSDocImplementsTag:$u,createJSDocSeeTag:ll,updateJSDocSeeTag:Wr,createJSDocNameReference:Dd,updateJSDocNameReference:ip,createJSDocMemberName:Jo,updateJSDocMemberName:sc,createJSDocLink:tu,updateJSDocLink:D_,createJSDocLinkCode:ap,updateJSDocLinkCode:T_,createJSDocLinkPlain:cc,updateJSDocLinkPlain:op,get createJSDocTypeTag(){return J(341)},get updateJSDocTypeTag(){return M(341)},get createJSDocReturnTag(){return J(339)},get updateJSDocReturnTag(){return M(339)},get createJSDocThisTag(){return J(340)},get updateJSDocThisTag(){return M(340)},get createJSDocEnumTag(){return J(337)},get updateJSDocEnumTag(){return M(337)},get createJSDocAuthorTag(){return B(328)},get updateJSDocAuthorTag(){return W(328)},get createJSDocClassTag(){return B(330)},get updateJSDocClassTag(){return W(330)},get createJSDocPublicTag(){return B(331)},get updateJSDocPublicTag(){return W(331)},get createJSDocPrivateTag(){return B(332)},get updateJSDocPrivateTag(){return W(332)},get createJSDocProtectedTag(){return B(333)},get updateJSDocProtectedTag(){return W(333)},get createJSDocReadonlyTag(){return B(334)},get updateJSDocReadonlyTag(){return W(334)},get createJSDocOverrideTag(){return B(335)},get updateJSDocOverrideTag(){return W(335)},get createJSDocDeprecatedTag(){return B(329)},get updateJSDocDeprecatedTag(){return W(329)},createJSDocUnknownTag:Ed,updateJSDocUnknownTag:sp,createJSDocText:cp,updateJSDocText:H_,createJSDocComment:Ls,updateJSDocComment:xl,createJsxElement:Cd,updateJsxElement:s_,createJsxSelfClosingElement:Ya,updateJsxSelfClosingElement:Lr,createJsxOpeningElement:Qs,updateJsxOpeningElement:kd,createJsxClosingElement:Rs,updateJsxClosingElement:kf,createJsxFragment:nu,createJsxText:gu,updateJsxText:Eu,createJsxOpeningFragment:G_,createJsxJsxClosingFragment:Q_,updateJsxFragment:Mu,createJsxAttribute:rc,updateJsxAttribute:bl,createJsxAttributes:xs,updateJsxAttributes:ru,createJsxSpreadAttribute:up,updateJsxSpreadAttribute:Cu,createJsxExpression:Y_,updateJsxExpression:C_,createCaseClause:lp,updateCaseClause:Nf,createDefaultClause:Bc,updateDefaultClause:Ts,createHeritageClause:Kl,updateHeritageClause:Nd,createCatchClause:zl,updateCatchClause:k_,createPropertyAssignment:_p,updatePropertyAssignment:Sl,createShorthandPropertyAssignment:Pd,updateShorthandPropertyAssignment:Hp,createSpreadAssignment:Ad,updateSpreadAssignment:Ul,createEnumMember:Xu,updateEnumMember:Pf,createSourceFile:_l,updateSourceFile:ql,createBundle:Zi,updateBundle:c_,createUnparsedSource:Dr,createUnparsedPrologue:pp,createUnparsedPrepend:X_,createUnparsedTextLike:fp,createUnparsedSyntheticReference:Af,createInputFiles:Xf,createSyntheticExpression:Hc,createSyntaxList:Gp,createNotEmittedStatement:wd,createPartiallyEmittedExpression:Ff,updatePartiallyEmittedExpression:mp,createCommaListExpression:Z_,updateCommaListExpression:Wl,createEndOfDeclarationMarker:hc,createMergeDeclarationMarker:ed,createSyntheticReferenceExpression:iu,updateSyntheticReferenceExpression:td,cloneNode:Id,get createComma(){return C(27)},get createAssignment(){return C(63)},get createLogicalOr(){return C(56)},get createLogicalAnd(){return C(55)},get createBitwiseOr(){return C(51)},get createBitwiseXor(){return C(52)},get createBitwiseAnd(){return C(50)},get createStrictEquality(){return C(36)},get createStrictInequality(){return C(37)},get createEquality(){return C(34)},get createInequality(){return C(35)},get createLessThan(){return C(29)},get createLessThanEquals(){return C(32)},get createGreaterThan(){return C(31)},get createGreaterThanEquals(){return C(33)},get createLeftShift(){return C(47)},get createRightShift(){return C(48)},get createUnsignedRightShift(){return C(49)},get createAdd(){return C(39)},get createSubtract(){return C(40)},get createMultiply(){return C(41)},get createDivide(){return C(43)},get createModulo(){return C(44)},get createExponent(){return C(42)},get createPrefixPlus(){return N(39)},get createPrefixMinus(){return N(40)},get createPrefixIncrement(){return N(45)},get createPrefixDecrement(){return N(46)},get createBitwiseNot(){return N(54)},get createLogicalNot(){return N(53)},get createPostfixIncrement(){return _(45)},get createPostfixDecrement(){return _(46)},createImmediatelyInvokedFunctionExpression:ku,createImmediatelyInvokedArrowFunction:x,createVoidZero:rt,createExportDefault:on,createExternalModuleExport:Wn,createTypeCheck:wr,createMethodCall:$r,createGlobalMethodCall:Zo,createFunctionBindCall:Qi,createFunctionCallCall:ma,createFunctionApplyCall:$o,createArraySliceCall:ss,createArrayConcatCall:Zs,createObjectDefinePropertyCall:js,createReflectGetCall:xc,createReflectSetCall:Lu,createPropertyDescriptor:ju,createCallBinding:Pe,createAssignmentTargetWrapper:bt,inlineExpressions:Vt,getInternalName:Jn,getLocalName:sr,getExportName:Rr,getDeclarationName:mi,getNamespaceMemberName:Wi,getExternalModuleOrNamespaceExportName:Ki,restoreOuterExpressions:Od,restoreEnclosingLabel:Jc,createUseStrictPrologue:vo,copyPrologue:mo,copyStandardPrologue:fs,copyCustomPrologue:Bs,ensureUseStrict:Kc,liftToBlock:Ic,mergeLexicalEnvironment:bc,updateModifiers:P_};return pe;function Ne(p,q){if(p===void 0||p===e.emptyArray)p=[];else if(e.isNodeArray(p)){if(q===void 0||p.hasTrailingComma===q)return p.transformFlags===void 0&&f(p),e.Debug.attachNodeArrayDebugInfo(p),p;var Ee=p.slice();return Ee.pos=p.pos,Ee.end=p.end,Ee.hasTrailingComma=q,Ee.transformFlags=p.transformFlags,e.Debug.attachNodeArrayDebugInfo(Ee),Ee}var at=p.length,$t=at>=1&&at<=4?p.slice():p;return e.setTextRangePosEnd($t,-1,-1),$t.hasTrailingComma=!!q,f($t),e.Debug.attachNodeArrayDebugInfo($t),$t}function w(p){return ie.createBaseNode(p)}function R(p,q,Ee){var at=w(p);return at.decorators=Gc(q),at.modifiers=Gc(Ee),at.transformFlags|=le(at.decorators)|le(at.modifiers),at.symbol=void 0,at.localSymbol=void 0,at.locals=void 0,at.nextContainer=void 0,at}function L(p,q,Ee,at){var $t=R(p,q,Ee);if(at=Qc(at),$t.name=at,at)switch($t.kind){case 168:case 171:case 172:case 166:case 294:if(e.isIdentifier(at)){$t.transformFlags|=S(at);break}default:$t.transformFlags|=se(at);break}return $t}function V(p,q,Ee,at,$t){var nr=L(p,q,Ee,at);return nr.typeParameters=Gc($t),nr.transformFlags|=le(nr.typeParameters),$t&&(nr.transformFlags|=1),nr}function Te(p,q,Ee,at,$t,nr,yr){var ya=V(p,q,Ee,at,$t);return ya.parameters=Ne(nr),ya.type=yr,ya.transformFlags|=le(ya.parameters)|se(ya.type),yr&&(ya.transformFlags|=1),ya}function Se(p,q){return q.typeArguments&&(p.typeArguments=q.typeArguments),m(p,q)}function we(p,q,Ee,at,$t,nr,yr,ya){var cs=Te(p,q,Ee,at,$t,nr,yr);return cs.body=ya,cs.transformFlags|=se(cs.body)&-16777217,ya||(cs.transformFlags|=1),cs}function He(p,q){return q.exclamationToken&&(p.exclamationToken=q.exclamationToken),q.typeArguments&&(p.typeArguments=q.typeArguments),Se(p,q)}function et(p,q,Ee,at,$t,nr){var yr=V(p,q,Ee,at,$t);return yr.heritageClauses=Gc(nr),yr.transformFlags|=le(yr.heritageClauses),yr}function pt(p,q,Ee,at,$t,nr,yr){var ya=et(p,q,Ee,at,$t,nr);return ya.members=Ne(yr),ya.transformFlags|=le(ya.members),ya}function Me(p,q,Ee,at,$t){var nr=L(p,q,Ee,at);return nr.initializer=$t,nr.transformFlags|=se(nr.initializer),nr}function Fe(p,q,Ee,at,$t,nr){var yr=Me(p,q,Ee,at,nr);return yr.type=$t,yr.transformFlags|=se($t),$t&&(yr.transformFlags|=1),yr}function ot(p,q){var Ee=It(p);return Ee.text=q,Ee}function ke(p,q){q===void 0&&(q=0);var Ee=ot(8,typeof p=="number"?p+"":p);return Ee.numericLiteralFlags=q,q&384&&(Ee.transformFlags|=1024),Ee}function ve(p){var q=ot(9,typeof p=="string"?p:e.pseudoBigIntToString(p)+"n");return q.transformFlags|=4,q}function be(p,q){var Ee=ot(10,p);return Ee.singleQuote=q,Ee}function Oe(p,q,Ee){var at=be(p,q);return at.hasExtendedUnicodeEscape=Ee,Ee&&(at.transformFlags|=1024),at}function Ce(p){var q=be(e.getTextOfIdentifierOrLiteral(p),void 0);return q.textSourceNode=p,q}function ge(p){var q=ot(13,p);return q}function ze(p,q){switch(p){case 8:return ke(q,0);case 9:return ve(q);case 10:return Oe(q,void 0);case 11:return gu(q,!1);case 12:return gu(q,!0);case 13:return ge(q);case 14:return Lc(p,q,void 0,0)}}function ft(p,q){q===void 0&&p&&(q=e.stringToToken(p)),q===79&&(q=void 0);var Ee=ie.createBaseIdentifierNode(79);return Ee.originalKeywordKind=q,Ee.escapedText=e.escapeLeadingUnderscores(p),Ee}function vt(p,q){var Ee=ft(p,void 0);return Ee.autoGenerateFlags=q,Ee.autoGenerateId=a,a++,Ee}function st(p,q,Ee){var at=ft(p,Ee);return q&&(at.typeArguments=Ne(q)),at.originalKeywordKind===132&&(at.transformFlags|=16777216),at}function At(p,q){return p.typeArguments!==q?m(st(e.idText(p),q),p):p}function qt(p,q){var Ee=1;q&&(Ee|=8);var at=vt("",Ee);return p&&p(at),at}function Ue(p){var q=2;return p&&(q|=8),vt("",q)}function Ie(p,q){return q===void 0&&(q=0),e.Debug.assert(!(q&7),"Argument out of range: flags"),e.Debug.assert((q&48)!==32,"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"),vt(p,3|q)}function Ht(p,q){q===void 0&&(q=0),e.Debug.assert(!(q&7),"Argument out of range: flags");var Ee=vt(p&&e.isIdentifier(p)?e.idText(p):"",4|q);return Ee.original=p,Ee}function _t(p){e.startsWith(p,"#")||e.Debug.fail("First character of private identifier must be #: "+p);var q=ie.createBasePrivateIdentifierNode(80);return q.escapedText=e.escapeLeadingUnderscores(p),q.transformFlags|=8388608,q}function It(p){return ie.createBaseTokenNode(p)}function fe(p){e.Debug.assert(p>=0&&p<=159,"Invalid token"),e.Debug.assert(p<=14||p>=17,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),e.Debug.assert(p<=8||p>=14,"Invalid token. Use 'createLiteralLikeNode' to create literals."),e.Debug.assert(p!==79,"Invalid token. Use 'createIdentifier' to create identifiers");var q=It(p),Ee=0;switch(p){case 131:Ee=384;break;case 123:case 121:case 122:case 144:case 126:case 135:case 85:case 130:case 146:case 157:case 143:case 147:case 158:case 149:case 133:case 150:case 114:case 154:case 152:Ee=1;break;case 106:Ee=33555456;break;case 124:Ee=1024;break;case 108:Ee=8192;break}return Ee&&(q.transformFlags|=Ee),q}function Be(){return fe(106)}function We(){return fe(108)}function Ft(){return fe(104)}function Lt(){return fe(110)}function Rt(){return fe(95)}function Et(p){return fe(p)}function pn(p){var q=[];return p&1&&q.push(Et(93)),p&2&&q.push(Et(135)),p&512&&q.push(Et(88)),p&2048&&q.push(Et(85)),p&4&&q.push(Et(123)),p&8&&q.push(Et(121)),p&16&&q.push(Et(122)),p&128&&q.push(Et(126)),p&32&&q.push(Et(124)),p&16384&&q.push(Et(158)),p&64&&q.push(Et(144)),p&256&&q.push(Et(131)),q.length?q:void 0}function he(p,q){var Ee=w(160);return Ee.left=p,Ee.right=Qc(q),Ee.transformFlags|=se(Ee.left)|S(Ee.right),Ee}function yt(p,q,Ee){return p.left!==q||p.right!==Ee?m(he(q,Ee),p):p}function Gt(p){var q=w(161);return q.expression=A().parenthesizeExpressionOfComputedPropertyName(p),q.transformFlags|=se(q.expression)|1024|65536,q}function rn(p,q){return p.expression!==q?m(Gt(q),p):p}function Zt(p,q,Ee){var at=L(162,void 0,void 0,p);return at.constraint=q,at.default=Ee,at.transformFlags=1,at}function kn(p,q,Ee,at){return p.name!==q||p.constraint!==Ee||p.default!==at?m(Zt(q,Ee,at),p):p}function Zn(p,q,Ee,at,$t,nr,yr){var ya=Fe(163,p,q,at,nr,yr&&A().parenthesizeExpressionForDisallowedComma(yr));return ya.dotDotDotToken=Ee,ya.questionToken=$t,e.isThisIdentifier(ya.name)?ya.transformFlags=1:(ya.transformFlags|=se(ya.dotDotDotToken)|se(ya.questionToken),$t&&(ya.transformFlags|=1),e.modifiersToFlags(ya.modifiers)&16476&&(ya.transformFlags|=4096),(yr||Ee)&&(ya.transformFlags|=1024)),ya}function Sr(p,q,Ee,at,$t,nr,yr,ya){return p.decorators!==q||p.modifiers!==Ee||p.dotDotDotToken!==at||p.name!==$t||p.questionToken!==nr||p.type!==yr||p.initializer!==ya?m(Zn(q,Ee,at,$t,nr,yr,ya),p):p}function Ze(p){var q=w(164);return q.expression=A().parenthesizeLeftSideOfAccess(p),q.transformFlags|=se(q.expression)|1|4096,q}function tn(p,q){return p.expression!==q?m(Ze(q),p):p}function Je(p,q,Ee,at){var $t=L(165,void 0,p,q);return $t.type=at,$t.questionToken=Ee,$t.transformFlags=1,$t}function Bt(p,q,Ee,at,$t){return p.modifiers!==q||p.name!==Ee||p.questionToken!==at||p.type!==$t?m(Je(q,Ee,at,$t),p):p}function zt(p,q,Ee,at,$t,nr){var yr=Fe(166,p,q,Ee,$t,nr);return yr.questionToken=at&&e.isQuestionToken(at)?at:void 0,yr.exclamationToken=at&&e.isExclamationToken(at)?at:void 0,yr.transformFlags|=se(yr.questionToken)|se(yr.exclamationToken)|8388608,(e.isComputedPropertyName(yr.name)||e.hasStaticModifier(yr)&&yr.initializer)&&(yr.transformFlags|=4096),(at||e.modifiersToFlags(yr.modifiers)&2)&&(yr.transformFlags|=1),yr}function Ve(p,q,Ee,at,$t,nr,yr){return p.decorators!==q||p.modifiers!==Ee||p.name!==at||p.questionToken!==($t!==void 0&&e.isQuestionToken($t)?$t:void 0)||p.exclamationToken!==($t!==void 0&&e.isExclamationToken($t)?$t:void 0)||p.type!==nr||p.initializer!==yr?m(zt(q,Ee,at,$t,nr,yr),p):p}function Nt(p,q,Ee,at,$t,nr){var yr=Te(167,void 0,p,q,at,$t,nr);return yr.questionToken=Ee,yr.transformFlags=1,yr}function Ge(p,q,Ee,at,$t,nr,yr){return p.modifiers!==q||p.name!==Ee||p.questionToken!==at||p.typeParameters!==$t||p.parameters!==nr||p.type!==yr?Se(Nt(q,Ee,at,$t,nr,yr),p):p}function lt(p,q,Ee,at,$t,nr,yr,ya,cs){var Hs=we(168,p,q,at,nr,yr,ya,cs);return Hs.asteriskToken=Ee,Hs.questionToken=$t,Hs.transformFlags|=se(Hs.asteriskToken)|se(Hs.questionToken)|1024,$t&&(Hs.transformFlags|=1),e.modifiersToFlags(Hs.modifiers)&256?Ee?Hs.transformFlags|=128:Hs.transformFlags|=256:Ee&&(Hs.transformFlags|=2048),Hs}function Le(p,q,Ee,at,$t,nr,yr,ya,cs,Hs){return p.decorators!==q||p.modifiers!==Ee||p.asteriskToken!==at||p.name!==$t||p.questionToken!==nr||p.typeParameters!==yr||p.parameters!==ya||p.type!==cs||p.body!==Hs?He(lt(q,Ee,at,$t,nr,yr,ya,cs,Hs),p):p}function ee(p,q,Ee){var at=V(169,p,q,void 0,void 0);return at.body=Ee,at.transformFlags=se(Ee)|8388608,at}function xe(p,q,Ee,at){return p.decorators!==q||p.modifier!==Ee||p.body!==at?m(ee(q,Ee,at),p):p}function H(p,q,Ee,at){var $t=we(170,p,q,void 0,void 0,Ee,void 0,at);return $t.transformFlags|=1024,$t}function ae(p,q,Ee,at,$t){return p.decorators!==q||p.modifiers!==Ee||p.parameters!==at||p.body!==$t?He(H(q,Ee,at,$t),p):p}function Re(p,q,Ee,at,$t,nr){return we(171,p,q,Ee,void 0,at,$t,nr)}function it(p,q,Ee,at,$t,nr,yr){return p.decorators!==q||p.modifiers!==Ee||p.name!==at||p.parameters!==$t||p.type!==nr||p.body!==yr?He(Re(q,Ee,at,$t,nr,yr),p):p}function ut(p,q,Ee,at,$t){return we(172,p,q,Ee,void 0,at,void 0,$t)}function Qe(p,q,Ee,at,$t,nr){return p.decorators!==q||p.modifiers!==Ee||p.name!==at||p.parameters!==$t||p.body!==nr?He(ut(q,Ee,at,$t,nr),p):p}function cn(p,q,Ee){var at=Te(173,void 0,void 0,void 0,p,q,Ee);return at.transformFlags=1,at}function vn(p,q,Ee,at){return p.typeParameters!==q||p.parameters!==Ee||p.type!==at?Se(cn(q,Ee,at),p):p}function Ut(p,q,Ee){var at=Te(174,void 0,void 0,void 0,p,q,Ee);return at.transformFlags=1,at}function $e(p,q,Ee,at){return p.typeParameters!==q||p.parameters!==Ee||p.type!==at?Se(Ut(q,Ee,at),p):p}function Ct(p,q,Ee,at){var $t=Te(175,p,q,void 0,void 0,Ee,at);return $t.transformFlags=1,$t}function kt(p,q,Ee,at,$t){return p.parameters!==at||p.type!==$t||p.decorators!==q||p.modifiers!==Ee?Se(Ct(q,Ee,at,$t),p):p}function en(p,q){var Ee=w(198);return Ee.type=p,Ee.literal=q,Ee.transformFlags=1,Ee}function mn(p,q,Ee){return p.type!==q||p.literal!==Ee?m(en(q,Ee),p):p}function hn(p){return fe(p)}function Pn(p,q,Ee){var at=w(176);return at.assertsModifier=p,at.parameterName=Qc(q),at.type=Ee,at.transformFlags=1,at}function Fn(p,q,Ee,at){return p.assertsModifier!==q||p.parameterName!==Ee||p.type!==at?m(Pn(q,Ee,at),p):p}function An(p,q){var Ee=w(177);return Ee.typeName=Qc(p),Ee.typeArguments=q&&A().parenthesizeTypeArguments(Ne(q)),Ee.transformFlags=1,Ee}function Tn(p,q,Ee){return p.typeName!==q||p.typeArguments!==Ee?m(An(q,Ee),p):p}function qn(p,q,Ee){var at=Te(178,void 0,void 0,void 0,p,q,Ee);return at.transformFlags=1,at}function xn(p,q,Ee,at){return p.typeParameters!==q||p.parameters!==Ee||p.type!==at?Se(qn(q,Ee,at),p):p}function rr(){for(var p=[],q=0;q0;default:return!0}}function Pe(p,q,Ee,at){at===void 0&&(at=!1);var $t=e.skipOuterExpressions(p,15),nr,yr;return e.isSuperProperty($t)?(nr=We(),yr=$t):e.isSuperKeyword($t)?(nr=We(),yr=Ee!==void 0&&Ee<2?e.setTextRange(st("_super"),$t):$t):e.getEmitFlags($t)&4096?(nr=rt(),yr=A().parenthesizeLeftSideOfAccess($t)):e.isPropertyAccessExpression($t)?Vl($t.expression,at)?(nr=qt(q),yr=nt(e.setTextRange(pe.createAssignment(nr,$t.expression),$t.expression),$t.name),e.setTextRange(yr,$t)):(nr=$t.expression,yr=$t):e.isElementAccessExpression($t)?Vl($t.expression,at)?(nr=qt(q),yr=Vn(e.setTextRange(pe.createAssignment(nr,$t.expression),$t.expression),$t.argumentExpression),e.setTextRange(yr,$t)):(nr=$t.expression,yr=$t):(nr=rt(),yr=A().parenthesizeLeftSideOfAccess(p)),{target:yr,thisArg:nr}}function bt(p,q){return nt(hi(De([ut(void 0,void 0,"value",[Zn(void 0,void 0,void 0,p,void 0,void 0,void 0)],Di([mt(q)]))])),"value")}function Vt(p){return p.length>10?Z_(p):e.reduceLeft(p,pe.createComma)}function yn(p,q,Ee,at){at===void 0&&(at=0);var $t=e.getNameOfDeclaration(p);if($t&&e.isIdentifier($t)&&!e.isGeneratedIdentifier($t)){var nr=e.setParent(e.setTextRange(Id($t),$t),$t.parent);return at|=e.getEmitFlags($t),Ee||(at|=48),q||(at|=1536),at&&e.setEmitFlags(nr,at),nr}return Ht(p)}function Jn(p,q,Ee){return yn(p,q,Ee,49152)}function sr(p,q,Ee){return yn(p,q,Ee,16384)}function Rr(p,q,Ee){return yn(p,q,Ee,8192)}function mi(p,q,Ee){return yn(p,q,Ee)}function Wi(p,q,Ee,at){var $t=nt(p,e.nodeIsSynthesized(q)?q:Id(q));e.setTextRange($t,q);var nr=0;return at||(nr|=48),Ee||(nr|=1536),nr&&e.setEmitFlags($t,nr),$t}function Ki(p,q,Ee,at){return p&&e.hasSyntacticModifier(q,1)?Wi(p,yn(q),Ee,at):Rr(q,Ee,at)}function mo(p,q,Ee,at){var $t=fs(p,q,0,Ee);return Bs(p,q,$t,at)}function Cs(p){return e.isStringLiteral(p.expression)&&p.expression.text==="use strict"}function vo(){return e.startOnNewLine(mt(Oe("use strict")))}function fs(p,q,Ee,at){Ee===void 0&&(Ee=0),e.Debug.assert(q.length===0,"Prologue directives should be at the first statement in the target statements array");for(var $t=!1,nr=p.length;Eeya&&Hs.splice.apply(Hs,tt([$t,0],q.slice(ya,cs),!1)),ya>yr&&Hs.splice.apply(Hs,tt([at,0],q.slice(yr,ya),!1)),yr>nr&&Hs.splice.apply(Hs,tt([Ee,0],q.slice(nr,yr),!1)),nr>0)if(Ee===0)Hs.splice.apply(Hs,tt([0,0],q.slice(0,nr),!1));else{for(var Qp=new e.Map,A_=0;A_=0;A_--){var vp=q[A_];Qp.has(vp.expression.text)||Hs.unshift(vp)}}return e.isNodeArray(p)?e.setTextRange(Ne(Hs,p.hasTrailingComma),p):p}function P_(p,q){var Ee,at;return typeof q=="number"?at=pn(q):at=q,e.isParameter(p)?Sr(p,p.decorators,at,p.dotDotDotToken,p.name,p.questionToken,p.type,p.initializer):e.isPropertySignature(p)?Bt(p,at,p.name,p.questionToken,p.type):e.isPropertyDeclaration(p)?Ve(p,p.decorators,at,p.name,(Ee=p.questionToken)!==null&&Ee!==void 0?Ee:p.exclamationToken,p.type,p.initializer):e.isMethodSignature(p)?Ge(p,at,p.name,p.questionToken,p.typeParameters,p.parameters,p.type):e.isMethodDeclaration(p)?Le(p,p.decorators,at,p.asteriskToken,p.name,p.questionToken,p.typeParameters,p.parameters,p.type,p.body):e.isConstructorDeclaration(p)?ae(p,p.decorators,at,p.parameters,p.body):e.isGetAccessorDeclaration(p)?it(p,p.decorators,at,p.name,p.parameters,p.type,p.body):e.isSetAccessorDeclaration(p)?Qe(p,p.decorators,at,p.name,p.parameters,p.body):e.isIndexSignatureDeclaration(p)?kt(p,p.decorators,at,p.parameters,p.type):e.isFunctionExpression(p)?eo(p,at,p.asteriskToken,p.name,p.typeParameters,p.parameters,p.type,p.body):e.isArrowFunction(p)?Ia(p,at,p.typeParameters,p.parameters,p.type,p.equalsGreaterThanToken,p.body):e.isClassExpression(p)?sl(p,p.decorators,at,p.name,p.typeParameters,p.heritageClauses,p.members):e.isVariableStatement(p)?io(p,at,p.declarationList):e.isFunctionDeclaration(p)?Ni(p,p.decorators,at,p.asteriskToken,p.name,p.typeParameters,p.parameters,p.type,p.body):e.isClassDeclaration(p)?Wc(p,p.decorators,at,p.name,p.typeParameters,p.heritageClauses,p.members):e.isInterfaceDeclaration(p)?Fu(p,p.decorators,at,p.name,p.typeParameters,p.heritageClauses,p.members):e.isTypeAliasDeclaration(p)?gs(p,p.decorators,at,p.name,p.typeParameters,p.type):e.isEnumDeclaration(p)?y_(p,p.decorators,at,p.name,p.members):e.isModuleDeclaration(p)?pd(p,p.decorators,at,p.name,p.body):e.isImportEqualsDeclaration(p)?qp(p,p.decorators,at,p.isTypeOnly,p.name,p.moduleReference):e.isImportDeclaration(p)?Sf(p,p.decorators,at,p.importClause,p.moduleSpecifier,p.assertClause):e.isExportAssignment(p)?Zd(p,p.decorators,at,p.expression):e.isExportDeclaration(p)?v_(p,p.decorators,at,p.isTypeOnly,p.exportClause,p.moduleSpecifier,p.assertClause):e.Debug.assertNever(p)}function Gc(p){return p?Ne(p):void 0}function Qc(p){return typeof p=="string"?st(p):p}function Bu(p){return typeof p=="string"?Oe(p):typeof p=="number"?ke(p):typeof p=="boolean"?p?Lt():Rt():p}function Zu(p){return typeof p=="number"?fe(p):p}function Ju(p){return p&&e.isNotEmittedStatement(p)?e.setTextRange($(me(),p),p):p}}e.createNodeFactory=u;function P(z,ie){return z!==ie&&e.setTextRange(z,ie),z}function r(z,ie){return z!==ie&&($(z,ie),e.setTextRange(z,ie)),z}function v(z){switch(z){case 341:return"type";case 339:return"returns";case 340:return"this";case 337:return"enum";case 328:return"author";case 330:return"class";case 331:return"public";case 332:return"private";case 333:return"protected";case 334:return"readonly";case 335:return"override";case 342:return"template";case 343:return"typedef";case 338:return"param";case 345:return"prop";case 336:return"callback";case 326:return"augments";case 327:return"implements";default:return e.Debug.fail("Unsupported kind: ".concat(e.Debug.formatSyntaxKind(z)))}}var G,ue={};function h(z,ie){switch(G||(G=e.createScanner(99,!1,0)),z){case 14:G.setText("`"+ie+"`");break;case 15:G.setText("`"+ie+"${");break;case 16:G.setText("}"+ie+"${");break;case 17:G.setText("}"+ie+"`");break}var m=G.scan();if(m===19&&(m=G.reScanTemplateToken(!1)),G.isUnterminated())return G.setText(void 0),ue;var A;switch(m){case 14:case 15:case 16:case 17:A=G.getTokenValue();break}return A===void 0||G.scan()!==1?(G.setText(void 0),ue):(G.setText(void 0),A)}function S(z){return se(z)&-16777217}function k(z,ie){return ie|z.transformFlags&33562624}function se(z){if(!z)return 0;var ie=z.transformFlags&~b(z.kind);return e.isNamedDeclaration(z)&&e.isPropertyName(z.name)?k(z.name,ie):ie}function le(z){return z?z.transformFlags:0}function f(z){for(var ie=0,m=0,A=z;m=176&&z<=199)return-2;switch(z){case 207:case 208:case 203:return 536887296;case 260:return 589443072;case 163:return 536870912;case 213:return 557748224;case 212:case 255:return 591310848;case 254:return 537165824;case 256:case 225:return 536940544;case 170:return 591306752;case 166:return 570433536;case 168:case 171:case 172:return 574529536;case 130:case 146:case 157:case 143:case 149:case 147:case 133:case 150:case 114:case 162:case 165:case 167:case 173:case 174:case 175:case 257:case 258:return-2;case 204:return 536973312;case 291:return 536903680;case 200:case 201:return 536887296;case 210:case 228:case 348:case 211:case 106:return 536870912;case 205:case 206:return 536870912;default:return 536870912}}e.getTransformFlagsSubtreeExclusions=b;var y=e.createBaseNodeFactory();function K(z){return z.flags|=8,z}var ce={createBaseSourceFileNode:function(z){return K(y.createBaseSourceFileNode(z))},createBaseIdentifierNode:function(z){return K(y.createBaseIdentifierNode(z))},createBasePrivateIdentifierNode:function(z){return K(y.createBasePrivateIdentifierNode(z))},createBaseTokenNode:function(z){return K(y.createBaseTokenNode(z))},createBaseNode:function(z){return K(y.createBaseNode(z))}};e.factory=u(4,ce);function Y(z,ie,m){var A,g,C,N,_,d,E,j,B,W;e.isString(z)?(C="",N=z,_=z.length,d=ie,E=m):(e.Debug.assert(ie==="js"||ie==="dts"),C=(ie==="js"?z.javascriptPath:z.declarationPath)||"",d=ie==="js"?z.javascriptMapPath:z.declarationMapPath,j=function(){return ie==="js"?z.javascriptText:z.declarationText},B=function(){return ie==="js"?z.javascriptMapText:z.declarationMapText},_=function(){return j().length},z.buildInfo&&z.buildInfo.bundle&&(e.Debug.assert(m===void 0||typeof m=="boolean"),A=m,g=ie==="js"?z.buildInfo.bundle.js:z.buildInfo.bundle.dts,W=z.oldFileOfCurrentEmit));var J=W?F(e.Debug.checkDefined(g)):re(g,A,_);return J.fileName=C,J.sourceMapPath=d,J.oldFileOfCurrentEmit=W,j&&B?(Object.defineProperty(J,"text",{get:j}),Object.defineProperty(J,"sourceMapText",{get:B})):(e.Debug.assert(!W),J.text=N!=null?N:"",J.sourceMapText=E),J}e.createUnparsedSourceFile=Y;function re(z,ie,m){for(var A,g,C,N,_,d,E,j,B=0,W=z?z.sections:e.emptyArray;B0&&(d[B-j]=W)}j>0&&(d.length-=j)}}e.moveEmitHelpers=z;function ie(g){var C;return(C=g.emitNode)===null||C===void 0?void 0:C.snippetElement}e.getSnippetElement=ie;function m(g,C){var N=a(g);return N.snippetElement=C,g}e.setSnippetElement=m;function A(g){return a(g).flags|=134217728,g}e.ignoreSourceNewlines=A})(ne||(ne={}));var ne;(function(e){function a(ue){var h=ue.factory,S=e.memoize(function(){return e.setEmitFlags(h.createTrue(),268435456)}),k=e.memoize(function(){return e.setEmitFlags(h.createFalse(),268435456)});return{getUnscopedHelperName:se,createDecorateHelper:le,createMetadataHelper:f,createParamHelper:b,createAssignHelper:y,createAwaitHelper:K,createAsyncGeneratorHelper:ce,createAsyncDelegatorHelper:Y,createAsyncValuesHelper:re,createRestHelper:F,createAwaiterHelper:O,createExtendsHelper:Q,createTemplateObjectHelper:de,createSpreadArrayHelper:$,createValuesHelper:I,createReadHelper:Z,createGeneratorHelper:z,createCreateBindingHelper:ie,createImportStarHelper:m,createImportStarCallbackHelper:A,createImportDefaultHelper:g,createExportStarHelper:C,createClassPrivateFieldGetHelper:N,createClassPrivateFieldSetHelper:_,createClassPrivateFieldInHelper:d};function se(E){return e.setEmitFlags(h.createIdentifier(E),4098)}function le(E,j,B,W){ue.requestEmitHelper(e.decorateHelper);var J=[];return J.push(h.createArrayLiteralExpression(E,!0)),J.push(j),B&&(J.push(B),W&&J.push(W)),h.createCallExpression(se("__decorate"),void 0,J)}function f(E,j){return ue.requestEmitHelper(e.metadataHelper),h.createCallExpression(se("__metadata"),void 0,[h.createStringLiteral(E),j])}function b(E,j,B){return ue.requestEmitHelper(e.paramHelper),e.setTextRange(h.createCallExpression(se("__param"),void 0,[h.createNumericLiteral(j+""),E]),B)}function y(E){return e.getEmitScriptTarget(ue.getCompilerOptions())>=2?h.createCallExpression(h.createPropertyAccessExpression(h.createIdentifier("Object"),"assign"),void 0,E):(ue.requestEmitHelper(e.assignHelper),h.createCallExpression(se("__assign"),void 0,E))}function K(E){return ue.requestEmitHelper(e.awaitHelper),h.createCallExpression(se("__await"),void 0,[E])}function ce(E,j){return ue.requestEmitHelper(e.awaitHelper),ue.requestEmitHelper(e.asyncGeneratorHelper),(E.emitNode||(E.emitNode={})).flags|=786432,h.createCallExpression(se("__asyncGenerator"),void 0,[j?h.createThis():h.createVoidZero(),h.createIdentifier("arguments"),E])}function Y(E){return ue.requestEmitHelper(e.awaitHelper),ue.requestEmitHelper(e.asyncDelegator),h.createCallExpression(se("__asyncDelegator"),void 0,[E])}function re(E){return ue.requestEmitHelper(e.asyncValues),h.createCallExpression(se("__asyncValues"),void 0,[E])}function F(E,j,B,W){ue.requestEmitHelper(e.restHelper);for(var J=[],M=0,pe=0;pe= 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 (_) 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 r;function v(){return r||(r=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(ue){return ue.name}))}e.getAllUnscopedEmitHelpers=v,e.asyncSuperHelper={name:"typescript:async-super",scoped:!0,text:P(fn([` const `," = name => super[name];"],[` const `," = name => super[name];"]),"_superIndex")},e.advancedAsyncSuperHelper={name:"typescript:advanced-async-super",scoped:!0,text:P(fn([` 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 G(ue,h){return e.isCallExpression(ue)&&e.isIdentifier(ue.expression)&&(e.getEmitFlags(ue.expression)&4096)!==0&&ue.expression.escapedText===h}e.isCallToHelper=G})(ne||(ne={}));var ne;(function(e){function a(Ot){return Ot.kind===8}e.isNumericLiteral=a;function u(Ot){return Ot.kind===9}e.isBigIntLiteral=u;function P(Ot){return Ot.kind===10}e.isStringLiteral=P;function r(Ot){return Ot.kind===11}e.isJsxText=r;function v(Ot){return Ot.kind===13}e.isRegularExpressionLiteral=v;function G(Ot){return Ot.kind===14}e.isNoSubstitutionTemplateLiteral=G;function ue(Ot){return Ot.kind===15}e.isTemplateHead=ue;function h(Ot){return Ot.kind===16}e.isTemplateMiddle=h;function S(Ot){return Ot.kind===17}e.isTemplateTail=S;function k(Ot){return Ot.kind===25}e.isDotDotDotToken=k;function se(Ot){return Ot.kind===27}e.isCommaToken=se;function le(Ot){return Ot.kind===39}e.isPlusToken=le;function f(Ot){return Ot.kind===40}e.isMinusToken=f;function b(Ot){return Ot.kind===41}e.isAsteriskToken=b;function y(Ot){return Ot.kind===53}e.isExclamationToken=y;function K(Ot){return Ot.kind===57}e.isQuestionToken=K;function ce(Ot){return Ot.kind===58}e.isColonToken=ce;function Y(Ot){return Ot.kind===28}e.isQuestionDotToken=Y;function re(Ot){return Ot.kind===38}e.isEqualsGreaterThanToken=re;function F(Ot){return Ot.kind===79}e.isIdentifier=F;function O(Ot){return Ot.kind===80}e.isPrivateIdentifier=O;function Q(Ot){return Ot.kind===93}e.isExportModifier=Q;function de(Ot){return Ot.kind===131}e.isAsyncModifier=de;function $(Ot){return Ot.kind===128}e.isAssertsKeyword=$;function I(Ot){return Ot.kind===132}e.isAwaitKeyword=I;function Z(Ot){return Ot.kind===144}e.isReadonlyKeyword=Z;function z(Ot){return Ot.kind===124}e.isStaticModifier=z;function ie(Ot){return Ot.kind===126}e.isAbstractModifier=ie;function m(Ot){return Ot.kind===106}e.isSuperKeyword=m;function A(Ot){return Ot.kind===100}e.isImportKeyword=A;function g(Ot){return Ot.kind===160}e.isQualifiedName=g;function C(Ot){return Ot.kind===161}e.isComputedPropertyName=C;function N(Ot){return Ot.kind===162}e.isTypeParameterDeclaration=N;function _(Ot){return Ot.kind===163}e.isParameter=_;function d(Ot){return Ot.kind===164}e.isDecorator=d;function E(Ot){return Ot.kind===165}e.isPropertySignature=E;function j(Ot){return Ot.kind===166}e.isPropertyDeclaration=j;function B(Ot){return Ot.kind===167}e.isMethodSignature=B;function W(Ot){return Ot.kind===168}e.isMethodDeclaration=W;function J(Ot){return Ot.kind===169}e.isClassStaticBlockDeclaration=J;function M(Ot){return Ot.kind===170}e.isConstructorDeclaration=M;function pe(Ot){return Ot.kind===171}e.isGetAccessorDeclaration=pe;function Ne(Ot){return Ot.kind===172}e.isSetAccessorDeclaration=Ne;function w(Ot){return Ot.kind===173}e.isCallSignatureDeclaration=w;function R(Ot){return Ot.kind===174}e.isConstructSignatureDeclaration=R;function L(Ot){return Ot.kind===175}e.isIndexSignatureDeclaration=L;function V(Ot){return Ot.kind===176}e.isTypePredicateNode=V;function Te(Ot){return Ot.kind===177}e.isTypeReferenceNode=Te;function Se(Ot){return Ot.kind===178}e.isFunctionTypeNode=Se;function we(Ot){return Ot.kind===179}e.isConstructorTypeNode=we;function He(Ot){return Ot.kind===180}e.isTypeQueryNode=He;function et(Ot){return Ot.kind===181}e.isTypeLiteralNode=et;function pt(Ot){return Ot.kind===182}e.isArrayTypeNode=pt;function Me(Ot){return Ot.kind===183}e.isTupleTypeNode=Me;function Fe(Ot){return Ot.kind===196}e.isNamedTupleMember=Fe;function ot(Ot){return Ot.kind===184}e.isOptionalTypeNode=ot;function ke(Ot){return Ot.kind===185}e.isRestTypeNode=ke;function ve(Ot){return Ot.kind===186}e.isUnionTypeNode=ve;function be(Ot){return Ot.kind===187}e.isIntersectionTypeNode=be;function Oe(Ot){return Ot.kind===188}e.isConditionalTypeNode=Oe;function Ce(Ot){return Ot.kind===189}e.isInferTypeNode=Ce;function ge(Ot){return Ot.kind===190}e.isParenthesizedTypeNode=ge;function ze(Ot){return Ot.kind===191}e.isThisTypeNode=ze;function ft(Ot){return Ot.kind===192}e.isTypeOperatorNode=ft;function vt(Ot){return Ot.kind===193}e.isIndexedAccessTypeNode=vt;function st(Ot){return Ot.kind===194}e.isMappedTypeNode=st;function At(Ot){return Ot.kind===195}e.isLiteralTypeNode=At;function qt(Ot){return Ot.kind===199}e.isImportTypeNode=qt;function Ue(Ot){return Ot.kind===198}e.isTemplateLiteralTypeSpan=Ue;function Ie(Ot){return Ot.kind===197}e.isTemplateLiteralTypeNode=Ie;function Ht(Ot){return Ot.kind===200}e.isObjectBindingPattern=Ht;function _t(Ot){return Ot.kind===201}e.isArrayBindingPattern=_t;function It(Ot){return Ot.kind===202}e.isBindingElement=It;function fe(Ot){return Ot.kind===203}e.isArrayLiteralExpression=fe;function Be(Ot){return Ot.kind===204}e.isObjectLiteralExpression=Be;function We(Ot){return Ot.kind===205}e.isPropertyAccessExpression=We;function Ft(Ot){return Ot.kind===206}e.isElementAccessExpression=Ft;function Lt(Ot){return Ot.kind===207}e.isCallExpression=Lt;function Rt(Ot){return Ot.kind===208}e.isNewExpression=Rt;function Et(Ot){return Ot.kind===209}e.isTaggedTemplateExpression=Et;function pn(Ot){return Ot.kind===210}e.isTypeAssertionExpression=pn;function he(Ot){return Ot.kind===211}e.isParenthesizedExpression=he;function yt(Ot){return Ot.kind===212}e.isFunctionExpression=yt;function Gt(Ot){return Ot.kind===213}e.isArrowFunction=Gt;function rn(Ot){return Ot.kind===214}e.isDeleteExpression=rn;function Zt(Ot){return Ot.kind===215}e.isTypeOfExpression=Zt;function kn(Ot){return Ot.kind===216}e.isVoidExpression=kn;function Zn(Ot){return Ot.kind===217}e.isAwaitExpression=Zn;function Sr(Ot){return Ot.kind===218}e.isPrefixUnaryExpression=Sr;function Ze(Ot){return Ot.kind===219}e.isPostfixUnaryExpression=Ze;function tn(Ot){return Ot.kind===220}e.isBinaryExpression=tn;function Je(Ot){return Ot.kind===221}e.isConditionalExpression=Je;function Bt(Ot){return Ot.kind===222}e.isTemplateExpression=Bt;function zt(Ot){return Ot.kind===223}e.isYieldExpression=zt;function Ve(Ot){return Ot.kind===224}e.isSpreadElement=Ve;function Nt(Ot){return Ot.kind===225}e.isClassExpression=Nt;function Ge(Ot){return Ot.kind===226}e.isOmittedExpression=Ge;function lt(Ot){return Ot.kind===227}e.isExpressionWithTypeArguments=lt;function Le(Ot){return Ot.kind===228}e.isAsExpression=Le;function ee(Ot){return Ot.kind===229}e.isNonNullExpression=ee;function xe(Ot){return Ot.kind===230}e.isMetaProperty=xe;function H(Ot){return Ot.kind===231}e.isSyntheticExpression=H;function ae(Ot){return Ot.kind===348}e.isPartiallyEmittedExpression=ae;function Re(Ot){return Ot.kind===349}e.isCommaListExpression=Re;function it(Ot){return Ot.kind===232}e.isTemplateSpan=it;function ut(Ot){return Ot.kind===233}e.isSemicolonClassElement=ut;function Qe(Ot){return Ot.kind===234}e.isBlock=Qe;function cn(Ot){return Ot.kind===236}e.isVariableStatement=cn;function vn(Ot){return Ot.kind===235}e.isEmptyStatement=vn;function Ut(Ot){return Ot.kind===237}e.isExpressionStatement=Ut;function $e(Ot){return Ot.kind===238}e.isIfStatement=$e;function Ct(Ot){return Ot.kind===239}e.isDoStatement=Ct;function kt(Ot){return Ot.kind===240}e.isWhileStatement=kt;function en(Ot){return Ot.kind===241}e.isForStatement=en;function mn(Ot){return Ot.kind===242}e.isForInStatement=mn;function hn(Ot){return Ot.kind===243}e.isForOfStatement=hn;function Pn(Ot){return Ot.kind===244}e.isContinueStatement=Pn;function Fn(Ot){return Ot.kind===245}e.isBreakStatement=Fn;function An(Ot){return Ot.kind===246}e.isReturnStatement=An;function Tn(Ot){return Ot.kind===247}e.isWithStatement=Tn;function qn(Ot){return Ot.kind===248}e.isSwitchStatement=qn;function xn(Ot){return Ot.kind===249}e.isLabeledStatement=xn;function rr(Ot){return Ot.kind===250}e.isThrowStatement=rr;function Fr(Ot){return Ot.kind===251}e.isTryStatement=Fr;function di(Ot){return Ot.kind===252}e.isDebuggerStatement=di;function pi(Ot){return Ot.kind===253}e.isVariableDeclaration=pi;function Oi(Ot){return Ot.kind===254}e.isVariableDeclarationList=Oi;function li(Ot){return Ot.kind===255}e.isFunctionDeclaration=li;function lr(Ot){return Ot.kind===256}e.isClassDeclaration=lr;function In(Ot){return Ot.kind===257}e.isInterfaceDeclaration=In;function Qn(Ot){return Ot.kind===258}e.isTypeAliasDeclaration=Qn;function Yn(Ot){return Ot.kind===259}e.isEnumDeclaration=Yn;function Ar(Ot){return Ot.kind===260}e.isModuleDeclaration=Ar;function gr(Ot){return Ot.kind===261}e.isModuleBlock=gr;function Si(Ot){return Ot.kind===262}e.isCaseBlock=Si;function _i(Ot){return Ot.kind===263}e.isNamespaceExportDeclaration=_i;function Nn(Ot){return Ot.kind===264}e.isImportEqualsDeclaration=Nn;function Rn(Ot){return Ot.kind===265}e.isImportDeclaration=Rn;function Bn(Ot){return Ot.kind===266}e.isImportClause=Bn;function jt(Ot){return Ot.kind===292}e.isAssertClause=jt;function pr(Ot){return Ot.kind===293}e.isAssertEntry=pr;function br(Ot){return Ot.kind===267}e.isNamespaceImport=br;function Ci(Ot){return Ot.kind===273}e.isNamespaceExport=Ci;function Bi(Ot){return Ot.kind===268}e.isNamedImports=Bi;function Da(Ot){return Ot.kind===269}e.isImportSpecifier=Da;function $i(Ot){return Ot.kind===270}e.isExportAssignment=$i;function Xt(Ot){return Ot.kind===271}e.isExportDeclaration=Xt;function ja(Ot){return Ot.kind===272}e.isNamedExports=ja;function xa(Ot){return Ot.kind===274}e.isExportSpecifier=xa;function so(Ot){return Ot.kind===275}e.isMissingDeclaration=so;function po(Ot){return Ot.kind===347}e.isNotEmittedStatement=po;function Ua(Ot){return Ot.kind===352}e.isSyntheticReference=Ua;function is(Ot){return Ot.kind===350}e.isMergeDeclarationMarker=is;function ao(Ot){return Ot.kind===351}e.isEndOfDeclarationMarker=ao;function Mo(Ot){return Ot.kind===276}e.isExternalModuleReference=Mo;function xo(Ot){return Ot.kind===277}e.isJsxElement=xo;function as(Ot){return Ot.kind===278}e.isJsxSelfClosingElement=as;function ta(Ot){return Ot.kind===279}e.isJsxOpeningElement=ta;function ls(Ot){return Ot.kind===280}e.isJsxClosingElement=ls;function qo(Ot){return Ot.kind===281}e.isJsxFragment=qo;function bo(Ot){return Ot.kind===282}e.isJsxOpeningFragment=bo;function pa(Ot){return Ot.kind===283}e.isJsxClosingFragment=pa;function oo(Ot){return Ot.kind===284}e.isJsxAttribute=oo;function Ro(Ot){return Ot.kind===285}e.isJsxAttributes=Ro;function jo(Ot){return Ot.kind===286}e.isJsxSpreadAttribute=jo;function _s(Ot){return Ot.kind===287}e.isJsxExpression=_s;function ds(Ot){return Ot.kind===288}e.isCaseClause=ds;function Fs(Ot){return Ot.kind===289}e.isDefaultClause=Fs;function ec(Ot){return Ot.kind===290}e.isHeritageClause=ec;function xt(Ot){return Ot.kind===291}e.isCatchClause=xt;function Sn(Ot){return Ot.kind===294}e.isPropertyAssignment=Sn;function fr(Ot){return Ot.kind===295}e.isShorthandPropertyAssignment=fr;function ai(Ot){return Ot.kind===296}e.isSpreadAssignment=ai;function gi(Ot){return Ot.kind===297}e.isEnumMember=gi;function qe(Ot){return Ot.kind===299}e.isUnparsedPrepend=qe;function D(Ot){return Ot.kind===303}e.isSourceFile=D;function De(Ot){return Ot.kind===304}e.isBundle=De;function Ke(Ot){return Ot.kind===305}e.isUnparsedSource=Ke;function nt(Ot){return Ot.kind===307}e.isJSDocTypeExpression=nt;function Mt(Ot){return Ot.kind===308}e.isJSDocNameReference=Mt;function _n(Ot){return Ot.kind===309}e.isJSDocMemberName=_n;function Dn(Ot){return Ot.kind===322}e.isJSDocLink=Dn;function Vn(Ot){return Ot.kind===323}e.isJSDocLinkCode=Vn;function mr(Ot){return Ot.kind===324}e.isJSDocLinkPlain=mr;function Xr(Ot){return Ot.kind===310}e.isJSDocAllType=Xr;function Pi(Ot){return Ot.kind===311}e.isJSDocUnknownType=Pi;function ji(Ot){return Ot.kind===312}e.isJSDocNullableType=ji;function da(Ot){return Ot.kind===313}e.isJSDocNonNullableType=da;function fo(Ot){return Ot.kind===314}e.isJSDocOptionalType=fo;function Ho(Ot){return Ot.kind===315}e.isJSDocFunctionType=Ho;function vs(Ot){return Ot.kind===316}e.isJSDocVariadicType=vs;function ns(Ot){return Ot.kind===317}e.isJSDocNamepathType=ns;function Os(Ot){return Ot.kind===318}e.isJSDoc=Os;function qs(Ot){return Ot.kind===320}e.isJSDocTypeLiteral=qs;function jn(Ot){return Ot.kind===321}e.isJSDocSignature=jn;function ci(Ot){return Ot.kind===326}e.isJSDocAugmentsTag=ci;function hi(Ot){return Ot.kind===328}e.isJSDocAuthorTag=hi;function fa(Ot){return Ot.kind===330}e.isJSDocClassTag=fa;function wa(Ot){return Ot.kind===336}e.isJSDocCallbackTag=wa;function eo(Ot){return Ot.kind===331}e.isJSDocPublicTag=eo;function zi(Ot){return Ot.kind===332}e.isJSDocPrivateTag=zi;function Ia(Ot){return Ot.kind===333}e.isJSDocProtectedTag=Ia;function Za(Ot){return Ot.kind===334}e.isJSDocReadonlyTag=Za;function Do(Ot){return Ot.kind===335}e.isJSDocOverrideTag=Do;function Bo(Ot){return Ot.kind===329}e.isJSDocDeprecatedTag=Bo;function ye(Ot){return Ot.kind===344}e.isJSDocSeeTag=ye;function Jt(Ot){return Ot.kind===337}e.isJSDocEnumTag=Jt;function En(Ot){return Ot.kind===338}e.isJSDocParameterTag=En;function or(Ot){return Ot.kind===339}e.isJSDocReturnTag=or;function ii(Ot){return Ot.kind===340}e.isJSDocThisTag=ii;function je(Ot){return Ot.kind===341}e.isJSDocTypeTag=je;function un(Ot){return Ot.kind===342}e.isJSDocTemplateTag=un;function Cr(Ot){return Ot.kind===343}e.isJSDocTypedefTag=Cr;function aa(Ot){return Ot.kind===325}e.isJSDocUnknownTag=aa;function Mi(Ot){return Ot.kind===345}e.isJSDocPropertyTag=Mi;function ro(Ot){return Ot.kind===327}e.isJSDocImplementsTag=ro;function ms(Ot){return Ot.kind===346}e.isSyntaxList=ms})(ne||(ne={}));var ne;(function(e){function a(_t){return _t.createExportDeclaration(void 0,void 0,!1,_t.createNamedExports([]),void 0)}e.createEmptyExports=a;function u(_t,It,fe,Be){if(e.isComputedPropertyName(fe))return e.setTextRange(_t.createElementAccessExpression(It,fe.expression),Be);var We=e.setTextRange(e.isMemberName(fe)?_t.createPropertyAccessExpression(It,fe):_t.createElementAccessExpression(It,fe),fe);return e.getOrCreateEmitNode(We).flags|=64,We}e.createMemberAccessForPropertyName=u;function P(_t,It){var fe=e.parseNodeFactory.createIdentifier(_t||"React");return e.setParent(fe,e.getParseTreeNode(It)),fe}function r(_t,It,fe){if(e.isQualifiedName(It)){var Be=r(_t,It.left,fe),We=_t.createIdentifier(e.idText(It.right));return We.escapedText=It.right.escapedText,_t.createPropertyAccessExpression(Be,We)}else return P(e.idText(It),fe)}function v(_t,It,fe,Be){return It?r(_t,It,Be):_t.createPropertyAccessExpression(P(fe,Be),"createElement")}e.createJsxFactoryExpression=v;function G(_t,It,fe,Be){return It?r(_t,It,Be):_t.createPropertyAccessExpression(P(fe,Be),"Fragment")}function ue(_t,It,fe,Be,We,Ft){var Lt=[fe];if(Be&&Lt.push(Be),We&&We.length>0)if(Be||Lt.push(_t.createNull()),We.length>1)for(var Rt=0,Et=We;Rt0)if(We.length>1)for(var pn=0,he=We;pn=e.ModuleKind.ES2015&&Et<=e.ModuleKind.ESNext||fe.impliedNodeFormat===e.ModuleKind.ESNext){var pn=e.getEmitHelpers(fe);if(pn){for(var he=[],yt=0,Gt=pn;yt0?Zt[yt-1]:void 0;return e.Debug.assertEqual(Gt[yt],It),Zt[yt]=he.onEnter(rn[yt],Sr,Zn),Gt[yt]=Rt(he,It),yt}_t.enter=It;function fe(he,yt,Gt,rn,Zt,kn,Zn){e.Debug.assertEqual(Gt[yt],fe),e.Debug.assertIsDefined(he.onLeft),Gt[yt]=Rt(he,fe);var Sr=he.onLeft(rn[yt].left,Zt[yt],rn[yt]);return Sr?(pn(yt,rn,Sr),Et(yt,Gt,rn,Zt,Sr)):yt}_t.left=fe;function Be(he,yt,Gt,rn,Zt,kn,Zn){return e.Debug.assertEqual(Gt[yt],Be),e.Debug.assertIsDefined(he.onOperator),Gt[yt]=Rt(he,Be),he.onOperator(rn[yt].operatorToken,Zt[yt],rn[yt]),yt}_t.operator=Be;function We(he,yt,Gt,rn,Zt,kn,Zn){e.Debug.assertEqual(Gt[yt],We),e.Debug.assertIsDefined(he.onRight),Gt[yt]=Rt(he,We);var Sr=he.onRight(rn[yt].right,Zt[yt],rn[yt]);return Sr?(pn(yt,rn,Sr),Et(yt,Gt,rn,Zt,Sr)):yt}_t.right=We;function Ft(he,yt,Gt,rn,Zt,kn,Zn){e.Debug.assertEqual(Gt[yt],Ft),Gt[yt]=Rt(he,Ft);var Sr=he.onExit(rn[yt],Zt[yt]);if(yt>0){if(yt--,he.foldState){var Ze=Gt[yt]===Ft?"right":"left";Zt[yt]=he.foldState(Zt[yt],Sr,Ze)}}else kn.value=Sr;return yt}_t.exit=Ft;function Lt(he,yt,Gt,rn,Zt,kn,Zn){return e.Debug.assertEqual(Gt[yt],Lt),yt}_t.done=Lt;function Rt(he,yt){switch(yt){case It:if(he.onLeft)return fe;case fe:if(he.onOperator)return Be;case Be:if(he.onRight)return We;case We:return Ft;case Ft:return Lt;case Lt:return Lt;default:e.Debug.fail("Invalid state")}}_t.nextState=Rt;function Et(he,yt,Gt,rn,Zt){return he++,yt[he]=It,Gt[he]=Zt,rn[he]=void 0,he}function pn(he,yt,Gt){if(e.Debug.shouldAssert(2))for(;he>=0;)e.Debug.assert(yt[he]!==Gt,"Circular traversal detected."),he--}})(Ue||(Ue={}));var Ie=function(){function _t(It,fe,Be,We,Ft,Lt){this.onEnter=It,this.onLeft=fe,this.onOperator=Be,this.onRight=We,this.onExit=Ft,this.foldState=Lt}return _t}();function Ht(_t,It,fe,Be,We,Ft){var Lt=new Ie(_t,It,fe,Be,We,Ft);return Rt;function Rt(Et,pn){for(var he={value:void 0},yt=[Ue.enter],Gt=[Et],rn=[void 0],Zt=0;yt[Zt]!==Ue.done;)Zt=yt[Zt](Lt,Zt,yt,Gt,rn,he,pn);return e.Debug.assertEqual(Zt,0),he.value}}e.createBinaryExpressionTrampoline=Ht})(ne||(ne={}));var ne;(function(e){function a(u,P){return P?e.setTextRangePosEnd(u,P.pos,P.end):u}e.setTextRange=a})(ne||(ne={}));var ne;(function(e){var a;(function(_){_[_.None=0]="None",_[_.Yield=1]="Yield",_[_.Await=2]="Await",_[_.Type=4]="Type",_[_.IgnoreMissingOpenBrace=16]="IgnoreMissingOpenBrace",_[_.JSDoc=32]="JSDoc"})(a||(a={}));var u;(function(_){_[_.TryParse=0]="TryParse",_[_.Lookahead=1]="Lookahead",_[_.Reparse=2]="Reparse"})(u||(u={}));var P,r,v,G,ue;e.parseBaseNodeFactory={createBaseSourceFileNode:function(_){return new(ue||(ue=e.objectAllocator.getSourceFileConstructor()))(_,-1,-1)},createBaseIdentifierNode:function(_){return new(v||(v=e.objectAllocator.getIdentifierConstructor()))(_,-1,-1)},createBasePrivateIdentifierNode:function(_){return new(G||(G=e.objectAllocator.getPrivateIdentifierConstructor()))(_,-1,-1)},createBaseTokenNode:function(_){return new(r||(r=e.objectAllocator.getTokenConstructor()))(_,-1,-1)},createBaseNode:function(_){return new(P||(P=e.objectAllocator.getNodeConstructor()))(_,-1,-1)}},e.parseNodeFactory=e.createNodeFactory(1,e.parseBaseNodeFactory);function h(_,d){return d&&_(d)}function S(_,d,E){if(E){if(d)return d(E);for(var j=0,B=E;j=0;--pe)j.push(W[pe]),B.push(J)}else{var M=d(W,J);if(M){if(M==="skip")continue;return M}if(W.kind>=160)for(var Ne=0,w=f(W);Ne=Bs.pos}),au=Ic>=0?e.findIndex(Jn,function(bc){return bc.start>=Kc.pos},Ic):-1;Ic>=0&&e.addRange(He,Jn,Ic,au>=0?au:void 0),Pn(function(){var bc=Ce;for(Ce|=32768,d.setTextPos(Kc.pos),ut();ae()!==1;){var P_=d.getStartPos(),Gc=gi(0,Ya);if(yn.push(Gc),P_===d.getStartPos()&&ut(),sr>=0){var Qc=Pe.statements[sr];if(Gc.end===Qc.pos)break;Gc.end>Qc.pos&&(sr=vo(Pe.statements,sr+1))}}Ce=bc},2),Rr=sr>=0?Cs(Pe.statements,sr):-1};Rr!==-1;)mi();if(sr>=0){var Wi=Pe.statements[sr];e.addRange(yn,Pe.statements,sr);var Ki=e.findIndex(Jn,function(Bs){return Bs.start>=Wi.pos});Ki>=0&&e.addRange(He,Jn,Ki)}return pt=bt,w.updateSourceFile(Pe,e.setTextRange(w.createNodeArray(yn),Pe.statements));function mo(Bs){return!(Bs.flags&32768)&&!!(Bs.transformFlags&16777216)}function Cs(Bs,Kc){for(var Ic=Kc;Ic116}function qn(){return ae()===79?!0:ae()===125&&Je()||ae()===132&&Ve()?!1:ae()>116}function xn(Pe,bt,Vt){return Vt===void 0&&(Vt=!0),ae()===Pe?(Vt&&ut(),!0):(bt?Nt(bt):Nt(e.Diagnostics._0_expected,e.tokenToString(Pe)),!1)}var rr=Object.keys(e.textToKeywordObj).filter(function(Pe){return Pe.length>2});function Fr(Pe){var bt;if(e.isTaggedTemplateExpression(Pe)){lt(e.skipTrivia(V,Pe.template.pos),Pe.template.end,e.Diagnostics.Module_declaration_names_may_only_use_or_quoted_strings);return}var Vt=e.isIdentifier(Pe)?e.idText(Pe):void 0;if(!Vt||!e.isIdentifierText(Vt,Te)){Nt(e.Diagnostics._0_expected,e.tokenToString(26));return}var yn=e.skipTrivia(V,Pe.pos);switch(Vt){case"const":case"let":case"var":lt(yn,Pe.end,e.Diagnostics.Variable_declaration_not_allowed_at_this_location);return;case"declare":return;case"interface":di(e.Diagnostics.Interface_name_cannot_be_0,e.Diagnostics.Interface_must_be_given_a_name,18);return;case"is":lt(yn,d.getTextPos(),e.Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return;case"module":case"namespace":di(e.Diagnostics.Namespace_name_cannot_be_0,e.Diagnostics.Namespace_must_be_given_a_name,18);return;case"type":di(e.Diagnostics.Type_alias_name_cannot_be_0,e.Diagnostics.Type_alias_must_be_given_a_name,63);return}var Jn=(bt=e.getSpellingSuggestion(Vt,rr,function(sr){return sr}))!==null&&bt!==void 0?bt:pi(Vt);if(Jn){lt(yn,Pe.end,e.Diagnostics.Unknown_keyword_or_identifier_Did_you_mean_0,Jn);return}ae()!==0&<(yn,Pe.end,e.Diagnostics.Unexpected_keyword_or_identifier)}function di(Pe,bt,Vt){ae()===Vt?Nt(bt):Nt(Pe,d.getTokenValue())}function pi(Pe){for(var bt=0,Vt=rr;btyn.length+2&&e.startsWith(Pe,yn))return"".concat(yn," ").concat(Pe.slice(yn.length))}}function Oi(Pe,bt,Vt){if(ae()===59&&!d.hasPrecedingLineBreak()){Nt(e.Diagnostics.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations);return}if(ae()===20){Nt(e.Diagnostics.Cannot_start_a_function_call_in_a_type_annotation),ut();return}if(bt&&!_i()){Vt?Nt(e.Diagnostics._0_expected,e.tokenToString(26)):Nt(e.Diagnostics.Expected_for_property_initializer);return}if(!Nn()){if(Vt){Nt(e.Diagnostics._0_expected,e.tokenToString(26));return}Fr(Pe)}}function li(Pe){return ae()===Pe?(Qe(),!0):(Nt(e.Diagnostics._0_expected,e.tokenToString(Pe)),!1)}function lr(Pe){return ae()===Pe?(ut(),!0):!1}function In(Pe){if(ae()===Pe)return gr()}function Qn(Pe){if(ae()===Pe)return Si()}function Yn(Pe,bt,Vt){return In(Pe)||pr(Pe,!1,bt||e.Diagnostics._0_expected,Vt||e.tokenToString(Pe))}function Ar(Pe){return Qn(Pe)||pr(Pe,!1,e.Diagnostics._0_expected,e.tokenToString(Pe))}function gr(){var Pe=xe(),bt=ae();return ut(),jt(w.createToken(bt),Pe)}function Si(){var Pe=xe(),bt=ae();return Qe(),jt(w.createToken(bt),Pe)}function _i(){return ae()===26?!0:ae()===19||ae()===1||d.hasPrecedingLineBreak()}function Nn(){return _i()?(ae()===26&&ut(),!0):!1}function Rn(){return Nn()||xn(26)}function Bn(Pe,bt,Vt,yn){var Jn=w.createNodeArray(Pe,yn);return e.setTextRangePosEnd(Jn,bt,Vt!=null?Vt:d.getStartPos()),Jn}function jt(Pe,bt,Vt){return e.setTextRangePosEnd(Pe,bt,Vt!=null?Vt:d.getStartPos()),Ce&&(Pe.flags|=Ce),ze&&(ze=!1,Pe.flags|=65536),Pe}function pr(Pe,bt,Vt,yn){bt?Ge(d.getStartPos(),0,Vt,yn):Vt&&Nt(Vt,yn);var Jn=xe(),sr=Pe===79?w.createIdentifier("",void 0,void 0):e.isTemplateLiteralKind(Pe)?w.createTemplateLiteralLikeNode(Pe,"","",void 0):Pe===8?w.createNumericLiteral("",void 0):Pe===10?w.createStringLiteral("",void 0):Pe===275?w.createMissingDeclaration():w.createToken(Pe);return jt(sr,Jn)}function br(Pe){var bt=ot.get(Pe);return bt===void 0&&ot.set(Pe,bt=Pe),bt}function Ci(Pe,bt,Vt){if(Pe){ve++;var yn=xe(),Jn=ae(),sr=br(d.getTokenValue());return Re(),jt(w.createIdentifier(sr,void 0,Jn),yn)}if(ae()===80)return Nt(Vt||e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),Ci(!0);if(ae()===0&&d.tryScan(function(){return d.reScanInvalidIdentifier()===79}))return Ci(!0);ve++;var Rr=ae()===1,mi=d.isReservedWord(),Wi=d.getTokenText(),Ki=mi?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:e.Diagnostics.Identifier_expected;return pr(79,Rr,bt||Ki,Wi)}function Bi(Pe){return Ci(Tn(),void 0,Pe)}function Da(Pe,bt){return Ci(qn(),Pe,bt)}function $i(Pe){return Ci(e.tokenIsIdentifierOrKeyword(ae()),Pe)}function Xt(){return e.tokenIsIdentifierOrKeyword(ae())||ae()===10||ae()===8}function ja(){return e.tokenIsIdentifierOrKeyword(ae())||ae()===10}function xa(Pe){if(ae()===10||ae()===8){var bt=Za();return bt.text=br(bt.text),bt}return Pe&&ae()===22?po():ae()===80?is():$i()}function so(){return xa(!0)}function po(){var Pe=xe();xn(22);var bt=yt(nc);return xn(23),jt(w.createComputedPropertyName(bt),Pe)}function Ua(Pe){var bt=ke.get(Pe);return bt===void 0&&ke.set(Pe,bt=Pe),bt}function is(){var Pe=xe(),bt=w.createPrivateIdentifier(Ua(d.getTokenText()));return ut(),jt(bt,Pe)}function ao(Pe){return ae()===Pe&&An(xo)}function Mo(){return ut(),d.hasPrecedingLineBreak()?!1:qo()}function xo(){switch(ae()){case 85:return ut()===92;case 93:return ut(),ae()===88?Fn(bo):ae()===151?Fn(ta):as();case 88:return bo();case 124:case 136:case 148:return ut(),qo();default:return Mo()}}function as(){return ae()!==41&&ae()!==127&&ae()!==18&&qo()}function ta(){return ut(),as()}function ls(){return e.isModifierKind(ae())&&An(xo)}function qo(){return ae()===22||ae()===18||ae()===41||ae()===25||Xt()}function bo(){return ut(),ae()===84||ae()===98||ae()===118||ae()===126&&Fn(Ed)||ae()===131&&Fn(sp)}function pa(Pe,bt){var Vt=qe(Pe);if(Vt)return!0;switch(Pe){case 0:case 1:case 3:return!(ae()===26&&bt)&&xl();case 2:return ae()===82||ae()===88;case 4:return Fn(Kt);case 5:return Fn(Nd)||ae()===26&&!bt;case 6:return ae()===22||Xt();case 12:switch(ae()){case 22:case 41:case 25:case 24:return!0;default:return Xt()}case 18:return Xt();case 9:return ae()===22||ae()===25||Xt();case 24:return ja();case 7:return ae()===18?Fn(oo):bt?qn()&&!ds():K_()&&!ds();case 8:return Q_();case 10:return ae()===27||ae()===25||Q_();case 19:return qn();case 15:switch(ae()){case 27:case 24:return!0}case 11:return ae()===25||vl();case 16:return Lc(!1);case 17:return Lc(!0);case 20:case 21:return ae()===27||yo();case 22:return $_();case 23:return e.tokenIsIdentifierOrKeyword(ae());case 13:return e.tokenIsIdentifierOrKeyword(ae())||ae()===18;case 14:return!0}return e.Debug.fail("Non-exhaustive case in 'isListElement'.")}function oo(){if(e.Debug.assert(ae()===18),ut()===19){var Pe=ut();return Pe===27||Pe===18||Pe===94||Pe===117}return!0}function Ro(){return ut(),qn()}function jo(){return ut(),e.tokenIsIdentifierOrKeyword(ae())}function _s(){return ut(),e.tokenIsIdentifierOrKeywordOrGreaterThan(ae())}function ds(){return ae()===117||ae()===94?Fn(Fs):!1}function Fs(){return ut(),vl()}function ec(){return ut(),yo()}function xt(Pe){if(ae()===1)return!0;switch(Pe){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:case 24:return ae()===19;case 3:return ae()===19||ae()===82||ae()===88;case 7:return ae()===18||ae()===94||ae()===117;case 8:return Sn();case 19:return ae()===31||ae()===20||ae()===18||ae()===94||ae()===117;case 11:return ae()===21||ae()===26;case 15:case 21:case 10:return ae()===23;case 17:case 16:case 18:return ae()===21||ae()===23;case 20:return ae()!==27;case 22:return ae()===18||ae()===19;case 13:return ae()===31||ae()===43;case 14:return ae()===29&&Fn(Wl);default:return!1}}function Sn(){return!!(_i()||Up(ae())||ae()===38)}function fr(){for(var Pe=0;Pe<25;Pe++)if(be&1<=0)}function fo(Pe){return Pe===6?e.Diagnostics.An_enum_member_name_must_be_followed_by_a_or:void 0}function Ho(){var Pe=Bn([],xe());return Pe.isMissingList=!0,Pe}function vs(Pe){return!!Pe.isMissingList}function ns(Pe,bt,Vt,yn){if(xn(Vt)){var Jn=da(Pe,bt);return xn(yn),Jn}return Ho()}function Os(Pe,bt){for(var Vt=xe(),yn=Pe?$i(bt):Da(bt),Jn=xe();lr(24);){if(ae()===29){yn.jsdocDotPos=Jn;break}Jn=xe(),yn=jt(w.createQualifiedName(yn,jn(Pe,!1)),Vt)}return yn}function qs(Pe,bt){return jt(w.createQualifiedName(Pe,bt),Pe.pos)}function jn(Pe,bt){if(d.hasPrecedingLineBreak()&&e.tokenIsIdentifierOrKeyword(ae())){var Vt=Fn(Td);if(Vt)return pr(79,!0,e.Diagnostics.Identifier_expected)}if(ae()===80){var yn=is();return bt?yn:pr(79,!0,e.Diagnostics.Identifier_expected)}return Pe?$i():Da()}function ci(Pe){var bt=xe(),Vt=[],yn;do yn=Ia(Pe),Vt.push(yn);while(yn.literal.kind===16);return Bn(Vt,bt)}function hi(Pe){var bt=xe();return jt(w.createTemplateExpression(Do(Pe),ci(Pe)),bt)}function fa(){var Pe=xe();return jt(w.createTemplateLiteralType(Do(!1),wa()),Pe)}function wa(){var Pe=xe(),bt=[],Vt;do Vt=eo(),bt.push(Vt);while(Vt.literal.kind===16);return Bn(bt,Pe)}function eo(){var Pe=xe();return jt(w.createTemplateLiteralTypeSpan(Xs(),zi(!1)),Pe)}function zi(Pe){return ae()===19?(Ut(Pe),Bo()):Yn(17,e.Diagnostics._0_expected,e.tokenToString(19))}function Ia(Pe){var bt=xe();return jt(w.createTemplateSpan(yt(nc),zi(Pe)),bt)}function Za(){return Jt(ae())}function Do(Pe){Pe&&$e();var bt=Jt(ae());return e.Debug.assert(bt.kind===15,"Template head has wrong token kind"),bt}function Bo(){var Pe=Jt(ae());return e.Debug.assert(Pe.kind===16||Pe.kind===17,"Template fragment has wrong token kind"),Pe}function ye(Pe){var bt=Pe===14||Pe===17,Vt=d.getTokenText();return Vt.substring(1,Vt.length-(d.isUnterminated()?0:bt?1:2))}function Jt(Pe){var bt=xe(),Vt=e.isTemplateLiteralKind(Pe)?w.createTemplateLiteralLikeNode(Pe,d.getTokenValue(),ye(Pe),d.getTokenFlags()&2048):Pe===8?w.createNumericLiteral(d.getTokenValue(),d.getNumericLiteralFlags()):Pe===10?w.createStringLiteral(d.getTokenValue(),void 0,d.hasExtendedUnicodeEscape()):e.isLiteralKind(Pe)?w.createLiteralLikeNode(Pe,d.getTokenValue()):e.Debug.fail();return d.hasExtendedUnicodeEscape()&&(Vt.hasExtendedUnicodeEscape=!0),d.isUnterminated()&&(Vt.isUnterminated=!0),ut(),jt(Vt,bt)}function En(){return Os(!0,e.Diagnostics.Type_expected)}function or(){if(!d.hasPrecedingLineBreak()&&Ct()===29)return ns(20,Xs,29,31)}function ii(){var Pe=xe();return jt(w.createTypeReferenceNode(En(),or()),Pe)}function je(Pe){switch(Pe.kind){case 177:return e.nodeIsMissing(Pe.typeName);case 178:case 179:{var bt=Pe,Vt=bt.parameters,yn=bt.type;return vs(Vt)||je(yn)}case 190:return je(Pe.type);default:return!1}}function un(Pe){return ut(),jt(w.createTypePredicateNode(void 0,Pe,Xs()),Pe.pos)}function Cr(){var Pe=xe();return ut(),jt(w.createThisTypeNode(),Pe)}function aa(){var Pe=xe();return ut(),jt(w.createJSDocAllType(),Pe)}function Mi(){var Pe=xe();return ut(),jt(w.createJSDocNonNullableType(wo()),Pe)}function ro(){var Pe=xe();return ut(),ae()===27||ae()===19||ae()===21||ae()===31||ae()===63||ae()===51?jt(w.createJSDocUnknownType(),Pe):jt(w.createJSDocNullableType(Xs()),Pe)}function ms(){var Pe=xe(),bt=H();if(Fn(gp)){ut();var Vt=Fc(36),yn=So(58,!1);return Ie(jt(w.createJSDocFunctionType(Vt,yn),Pe),bt)}return jt(w.createTypeReferenceNode($i(),void 0),Pe)}function Ot(){var Pe=xe(),bt;return(ae()===108||ae()===103)&&(bt=$i(),xn(58)),jt(w.createParameterDeclaration(void 0,void 0,void 0,bt,void 0,fc(),void 0),Pe)}function fc(){d.setInJSDocType(!0);var Pe=xe();if(lr(141)){var bt=w.createJSDocNamepathType(void 0);e:for(;;)switch(ae()){case 19:case 1:case 27:case 5:break e;default:Qe()}return d.setInJSDocType(!1),jt(bt,Pe)}var Vt=lr(25),yn=Co();return d.setInJSDocType(!1),Vt&&(yn=jt(w.createJSDocVariadicType(yn),Pe)),ae()===63?(ut(),jt(w.createJSDocOptionalType(yn),Pe)):yn}function Ac(){var Pe=xe();return xn(112),jt(w.createTypeQueryNode(Os(!0)),Pe)}function Mc(){var Pe=xe(),bt=Da(),Vt,yn;lr(94)&&(yo()||!vl()?Vt=Xs():yn=md());var Jn=lr(63)?Xs():void 0,sr=w.createTypeParameterDeclaration(bt,Vt,Jn);return sr.expression=yn,jt(sr,Pe)}function Qo(){if(ae()===29)return ns(19,Mc,29,31)}function Lc(Pe){return ae()===25||Q_()||e.isModifierKind(ae())||ae()===59||yo(!Pe)}function Rc(Pe){var bt=rc(e.Diagnostics.Private_identifiers_cannot_be_used_as_parameters);return e.getFullWidth(bt)===0&&!e.some(Pe)&&e.isModifierKind(ae())&&ut(),bt}function vu(){return gl(!0)}function Vu(){return gl(!1)}function gl(Pe){var bt=xe(),Vt=H(),yn=Pe?kn(Sl):Sl();if(ae()===108){var Jn=w.createParameterDeclaration(yn,void 0,void 0,Ci(!0),void 0,yl(),void 0);return yn&&Le(yn[0],e.Diagnostics.Decorators_may_not_be_applied_to_this_parameters),Ie(jt(Jn,bt),Vt)}var sr=ge;ge=!1;var Rr=yu(),mi=Ie(jt(w.createParameterDeclaration(yn,Rr,In(25),Rc(Rr),In(57),yl(),g_()),bt),Vt);return ge=sr,mi}function So(Pe,bt){if(hu(Pe,bt))return Co()}function hu(Pe,bt){return Pe===38?(xn(Pe),!0):lr(58)?!0:bt&&ae()===38?(Nt(e.Diagnostics._0_expected,e.tokenToString(58)),ut(),!0):!1}function Hu(Pe){var bt=Je(),Vt=Ve();Lt(!!(Pe&1)),Et(!!(Pe&2));var yn=Pe&32?da(17,Ot):da(16,Vt?vu:Vu);return Lt(bt),Et(Vt),yn}function Fc(Pe){if(!xn(20))return Ho();var bt=Hu(Pe);return xn(21),bt}function ol(){lr(27)||Rn()}function sl(Pe){var bt=xe(),Vt=H();Pe===174&&xn(103);var yn=Qo(),Jn=Fc(4),sr=So(58,!0);ol();var Rr=Pe===173?w.createCallSignature(yn,Jn,sr):w.createConstructSignature(yn,Jn,sr);return Ie(jt(Rr,bt),Vt)}function qi(){return ae()===22&&Fn(Ml)}function Ml(){if(ut(),ae()===25||ae()===23)return!0;if(e.isModifierKind(ae())){if(ut(),qn())return!0}else if(qn())ut();else return!1;return ae()===58||ae()===27?!0:ae()!==57?!1:(ut(),ae()===58||ae()===27||ae()===23)}function Ll(Pe,bt,Vt,yn){var Jn=ns(16,Vu,22,23),sr=yl();ol();var Rr=w.createIndexSignature(Vt,yn,Jn,sr);return Ie(jt(Rr,Pe),bt)}function eu(Pe,bt,Vt){var yn=so(),Jn=In(57),sr;if(ae()===20||ae()===29){var Rr=Qo(),mi=Fc(4),Wi=So(58,!0);sr=w.createMethodSignature(Vt,yn,Jn,Rr,mi,Wi)}else{var Wi=yl();sr=w.createPropertySignature(Vt,yn,Jn,Wi),ae()===63&&(sr.initializer=g_())}return ol(),Ie(jt(sr,Pe),bt)}function Kt(){if(ae()===20||ae()===29||ae()===136||ae()===148)return!0;for(var Pe=!1;e.isModifierKind(ae());)Pe=!0,ut();return ae()===22?!0:(Xt()&&(Pe=!0,ut()),Pe?ae()===20||ae()===29||ae()===57||ae()===58||ae()===27||_i():!1)}function ln(){if(ae()===20||ae()===29)return sl(173);if(ae()===103&&Fn(Mn))return sl(174);var Pe=xe(),bt=H(),Vt=yu();return ao(136)?Kl(Pe,bt,void 0,Vt,171):ao(148)?Kl(Pe,bt,void 0,Vt,172):qi()?Ll(Pe,bt,void 0,Vt):eu(Pe,bt,Vt)}function Mn(){return ut(),ae()===20||ae()===29}function ir(){return ut()===24}function hr(){switch(ut()){case 20:case 29:case 24:return!0}return!1}function Tr(){var Pe=xe();return jt(w.createTypeLiteralNode(Ur()),Pe)}function Ur(){var Pe;return xn(18)?(Pe=ai(4,ln),xn(19)):Pe=Ho(),Pe}function ui(){return ut(),ae()===39||ae()===40?ut()===144:(ae()===144&&ut(),ae()===22&&Ro()&&ut()===101)}function ia(){var Pe=xe(),bt=$i();xn(101);var Vt=Xs();return jt(w.createTypeParameterDeclaration(bt,Vt,void 0),Pe)}function Ti(){var Pe=xe();xn(18);var bt;(ae()===144||ae()===39||ae()===40)&&(bt=gr(),bt.kind!==144&&xn(144)),xn(22);var Vt=ia(),yn=lr(127)?Xs():void 0;xn(23);var Jn;(ae()===57||ae()===39||ae()===40)&&(Jn=gr(),Jn.kind!==57&&xn(57));var sr=yl();Rn();var Rr=ai(4,ln);return xn(19),jt(w.createMappedTypeNode(bt,Vt,yn,Jn,sr,Rr),Pe)}function Di(){var Pe=xe();if(lr(25))return jt(w.createRestTypeNode(Xs()),Pe);var bt=Xs();if(e.isJSDocNullableType(bt)&&bt.pos===bt.type.pos){var Vt=w.createOptionalTypeNode(bt.type);return e.setTextRange(Vt,bt),Vt.flags=bt.flags,Vt}return bt}function Xi(){return ut()===58||ae()===57&&ut()===58}function Fo(){return ae()===25?e.tokenIsIdentifierOrKeyword(ut())&&Xi():e.tokenIsIdentifierOrKeyword(ae())&&Xi()}function io(){if(Fn(Fo)){var Pe=xe(),bt=H(),Vt=In(25),yn=$i(),Jn=In(57);xn(58);var sr=Di(),Rr=w.createNamedTupleMember(Vt,yn,Jn,sr);return Ie(jt(Rr,Pe),bt)}return Di()}function me(){var Pe=xe();return jt(w.createTupleTypeNode(ns(21,io,22,23)),Pe)}function mt(){var Pe=xe();xn(20);var bt=Xs();return xn(21),jt(w.createParenthesizedType(bt),Pe)}function Dt(){var Pe;if(ae()===126){var bt=xe();ut();var Vt=jt(w.createToken(126),bt);Pe=Bn([Vt],bt)}return Pe}function Cn(){var Pe=xe(),bt=H(),Vt=Dt(),yn=lr(103),Jn=Qo(),sr=Fc(4),Rr=So(38,!1),mi=yn?w.createConstructorTypeNode(Vt,Jn,sr,Rr):w.createFunctionTypeNode(Jn,sr,Rr);return yn||(mi.modifiers=Vt),Ie(jt(mi,Pe),bt)}function Gn(){var Pe=gr();return ae()===24?void 0:Pe}function qr(Pe){var bt=xe();Pe&&ut();var Vt=ae()===110||ae()===95||ae()===104?gr():Jt(ae());return Pe&&(Vt=jt(w.createPrefixUnaryExpression(40,Vt),bt)),jt(w.createLiteralTypeNode(Vt),bt)}function xi(){return ut(),ae()===100}function ba(){L|=1048576;var Pe=xe(),bt=lr(112);xn(100),xn(20);var Vt=Xs();xn(21);var yn=lr(24)?En():void 0,Jn=or();return jt(w.createImportTypeNode(Vt,yn,Jn,bt),Pe)}function go(){return ut(),ae()===8||ae()===9}function wo(){switch(ae()){case 130:case 154:case 149:case 146:case 157:case 150:case 133:case 152:case 143:case 147:return An(Gn)||ii();case 66:d.reScanAsteriskEqualsToken();case 41:return aa();case 60:d.reScanQuestionToken();case 57:return ro();case 98:return ms();case 53:return Mi();case 14:case 10:case 8:case 9:case 110:case 95:case 104:return qr();case 40:return Fn(go)?qr(!0):ii();case 114:return gr();case 108:{var Pe=Cr();return ae()===139&&!d.hasPrecedingLineBreak()?un(Pe):Pe}case 112:return Fn(xi)?ba():Ac();case 18:return Fn(ui)?Ti():Tr();case 22:return me();case 20:return mt();case 100:return ba();case 128:return Fn(Td)?Gd():ii();case 15:return fa();default:return ii()}}function yo(Pe){switch(ae()){case 130:case 154:case 149:case 146:case 157:case 133:case 144:case 150:case 153:case 114:case 152:case 104:case 108:case 112:case 143:case 18:case 22:case 29:case 51:case 50:case 103:case 10:case 8:case 9:case 110:case 95:case 147:case 41:case 57:case 53:case 25:case 137:case 100:case 128:case 14:case 15:return!0;case 98:return!Pe;case 40:return!Pe&&Fn(go);case 20:return!Pe&&Fn(Ga);default:return qn()}}function Ga(){return ut(),ae()===21||Lc(!1)||yo()}function co(){for(var Pe=xe(),bt=wo();!d.hasPrecedingLineBreak();)switch(ae()){case 53:ut(),bt=jt(w.createJSDocNonNullableType(bt),Pe);break;case 57:if(Fn(ec))return bt;ut(),bt=jt(w.createJSDocNullableType(bt),Pe);break;case 22:if(xn(22),yo()){var Vt=Xs();xn(23),bt=jt(w.createIndexedAccessTypeNode(bt,Vt),Pe)}else xn(23),bt=jt(w.createArrayTypeNode(bt),Pe);break;default:return bt}return bt}function ps(Pe){var bt=xe();return xn(Pe),jt(w.createTypeOperatorNode(Pe,wc()),bt)}function hs(){var Pe=xe();return jt(w.createTypeParameterDeclaration(Da(),void 0,void 0),Pe)}function Us(){var Pe=xe();return xn(137),jt(w.createInferTypeNode(hs()),Pe)}function wc(){var Pe=ae();switch(Pe){case 140:case 153:case 144:return ps(Pe);case 137:return Us()}return co()}function Wt(Pe){if(Rl()){var bt=Cn(),Vt=void 0;return e.isFunctionTypeNode(bt)?Vt=Pe?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:Vt=Pe?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,Le(bt,Vt),bt}}function xu(Pe,bt,Vt){var yn=xe(),Jn=Pe===51,sr=lr(Pe),Rr=sr&&Wt(Jn)||bt();if(ae()===Pe||sr){for(var mi=[Rr];lr(Pe);)mi.push(Wt(Jn)||bt());Rr=jt(Vt(Bn(mi,yn)),yn)}return Rr}function fu(){return xu(50,wc,w.createIntersectionTypeNode)}function bu(){return xu(51,fu,w.createUnionTypeNode)}function tc(){return ut(),ae()===103}function Rl(){return ae()===29||ae()===20&&Fn(bf)?!0:ae()===103||ae()===126&&Fn(tc)}function jl(){if(e.isModifierKind(ae())&&yu(),qn()||ae()===108)return ut(),!0;if(ae()===22||ae()===18){var Pe=He.length;return rc(),Pe===He.length}return!1}function bf(){return ut(),!!(ae()===21||ae()===25||jl()&&(ae()===58||ae()===27||ae()===57||ae()===63||ae()===21&&(ut(),ae()===38)))}function Co(){var Pe=xe(),bt=qn()&&An(Hd),Vt=Xs();return bt?jt(w.createTypePredicateNode(void 0,bt,Vt),Pe):Vt}function Hd(){var Pe=Da();if(ae()===139&&!d.hasPrecedingLineBreak())return ut(),Pe}function Gd(){var Pe=xe(),bt=Yn(128),Vt=ae()===108?Cr():Da(),yn=lr(139)?Xs():void 0;return jt(w.createTypePredicateNode(bt,Vt,yn),Pe)}function Xs(){return pn(40960,Au)}function Au(Pe){if(Rl())return Cn();var bt=xe(),Vt=bu();if(!Pe&&!d.hasPrecedingLineBreak()&&lr(94)){var yn=Au(!0);xn(57);var Jn=Au();xn(58);var sr=Au();return jt(w.createConditionalTypeNode(Vt,yn,Jn,sr),bt)}return Vt}function yl(){return lr(58)?Xs():void 0}function K_(){switch(ae()){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 Fn(hr);default:return qn()}}function vl(){if(K_())return!0;switch(ae()){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 45:case 46:case 29:case 132:case 125:case 80:return!0;default:return Yf()?!0:qn()}}function Gu(){return ae()!==18&&ae()!==98&&ae()!==84&&ae()!==59&&vl()}function nc(){var Pe=zt();Pe&&Rt(!1);for(var bt=xe(),Vt=Ji(),yn;yn=In(27);)Vt=$d(Vt,yn,Ji(),bt);return Pe&&Rt(!0),Vt}function g_(){return lr(63)?Ji():void 0}function Ji(){if(Ni())return Wc();var Pe=Fu()||y_();if(Pe)return Pe;var bt=xe(),Vt=fd(0);return Vt.kind===79&&ae()===38?zp(bt,Vt,void 0):e.isLeftHandSideExpression(Vt)&&e.isAssignmentOperator(cn())?$d(Vt,gr(),Ji(),bt):Qf(Vt,bt)}function Ni(){return ae()===125?Je()?!0:Fn(cp):!1}function cl(){return ut(),!d.hasPrecedingLineBreak()&&qn()}function Wc(){var Pe=xe();return ut(),!d.hasPrecedingLineBreak()&&(ae()===41||vl())?jt(w.createYieldExpression(In(41),Ji()),Pe):jt(w.createYieldExpression(void 0,void 0),Pe)}function zp(Pe,bt,Vt){e.Debug.assert(ae()===38,"parseSimpleArrowFunctionExpression should only have been called if we had a =>");var yn=w.createParameterDeclaration(void 0,void 0,void 0,bt,void 0,void 0,void 0);jt(yn,bt.pos);var Jn=Bn([yn],yn.pos,yn.end),sr=Yn(38),Rr=Su(!!Vt),mi=w.createArrowFunction(Vt,void 0,Jn,void 0,sr,Rr);return _t(jt(mi,Pe))}function Fu(){var Pe=Qd();if(Pe!==0)return Pe===1?pd(!0):An(_d)}function Qd(){return ae()===20||ae()===29||ae()===131?Fn(gs):ae()===38?1:0}function gs(){if(ae()===131&&(ut(),d.hasPrecedingLineBreak()||ae()!==20&&ae()!==29))return 0;var Pe=ae(),bt=ut();if(Pe===20){if(bt===21){var Vt=ut();switch(Vt){case 38:case 58:case 18:return 1;default:return 0}}if(bt===22||bt===18)return 2;if(bt===25||e.isModifierKind(bt)&&bt!==131&&Fn(Ro))return 1;if(!qn()&&bt!==108)return 0;switch(ut()){case 58:return 1;case 57:return ut(),ae()===58||ae()===27||ae()===63||ae()===21?1:0;case 27:case 63:case 21:return 2}return 0}else{if(e.Debug.assert(Pe===29),!qn())return 0;if(we===1){var yn=Fn(function(){var Jn=ut();if(Jn===94){var sr=ut();switch(sr){case 63:case 31:return!1;default:return!0}}else if(Jn===27||Jn===63)return!0;return!1});return yn?1:0}return 2}}function _d(){var Pe=d.getTokenPos();if(!(Oe!=null&&Oe.has(Pe))){var bt=pd(!1);return bt||(Oe||(Oe=new e.Set)).add(Pe),bt}}function y_(){if(ae()===131&&Fn(dd)===1){var Pe=xe(),bt=Hp(),Vt=fd(0);return zp(Pe,Vt,bt)}}function dd(){if(ae()===131){if(ut(),d.hasPrecedingLineBreak()||ae()===38)return 0;var Pe=fd(0);if(!d.hasPrecedingLineBreak()&&Pe.kind===79&&ae()===38)return 1}return 0}function pd(Pe){var bt=xe(),Vt=H(),yn=Hp(),Jn=e.some(yn,e.isAsyncModifier)?2:0,sr=Qo(),Rr;if(xn(20)){if(Rr=Hu(Jn),!xn(21)&&!Pe)return}else{if(!Pe)return;Rr=Ho()}var mi=So(58,!1);if(!(mi&&!Pe&&je(mi))){for(var Wi=mi;(Wi==null?void 0:Wi.kind)===190;)Wi=Wi.type;var Ki=Wi&&e.isJSDocFunctionType(Wi);if(!(!Pe&&ae()!==38&&(Ki||ae()!==18))){var mo=ae(),Cs=Yn(38),vo=mo===38||mo===18?Su(e.some(yn,e.isAsyncModifier)):Da(),fs=w.createArrowFunction(yn,sr,Rr,mi,Cs,vo);return Ie(jt(fs,bt),Vt)}}}function Su(Pe){if(ae()===18)return Sa(Pe?2:0);if(ae()!==26&&ae()!==98&&ae()!==84&&xl()&&!Gu())return Sa(16|(Pe?2:0));var bt=ge;ge=!1;var Vt=Pe?kn(Ji):Zn(Ji);return ge=bt,Vt}function Qf(Pe,bt){var Vt=In(57);if(!Vt)return Pe;var yn;return jt(w.createConditionalExpression(Pe,Vt,pn(E,Ji),yn=Yn(58),e.nodeIsPresent(yn)?Ji():pr(79,!1,e.Diagnostics._0_expected,e.tokenToString(58))),bt)}function fd(Pe){var bt=xe(),Vt=md();return Yd(Pe,Vt,bt)}function Up(Pe){return Pe===101||Pe===159}function Yd(Pe,bt,Vt){for(;;){cn();var yn=e.getBinaryOperatorPrecedence(ae()),Jn=ae()===42?yn>=Pe:yn>Pe;if(!Jn||ae()===101&&Bt())break;if(ae()===127){if(d.hasPrecedingLineBreak())break;ut(),bt=qp(bt,Xs())}else bt=$d(bt,gr(),fd(yn),Vt)}return bt}function Yf(){return Bt()&&ae()===101?!1:e.getBinaryOperatorPrecedence(ae())>0}function $d(Pe,bt,Vt,yn){return jt(w.createBinaryExpression(Pe,bt,Vt),yn)}function qp(Pe,bt){return jt(w.createAsExpression(Pe,bt),Pe.pos)}function z_(){var Pe=xe();return jt(w.createPrefixUnaryExpression(ae(),it(ul)),Pe)}function Sf(){var Pe=xe();return jt(w.createDeleteExpression(it(ul)),Pe)}function Wp(){var Pe=xe();return jt(w.createTypeOfExpression(it(ul)),Pe)}function $f(){var Pe=xe();return jt(w.createVoidExpression(it(ul)),Pe)}function Df(){return ae()===132?Ve()?!0:Fn(cp):!1}function Tf(){var Pe=xe();return jt(w.createAwaitExpression(it(ul)),Pe)}function md(){if(wu()){var Pe=xe(),bt=Qu();return ae()===42?Yd(e.getBinaryOperatorPrecedence(ae()),bt,Pe):bt}var Vt=ae(),yn=ul();if(ae()===42){var Pe=e.skipTrivia(V,yn.pos),Jn=yn.end;yn.kind===210?lt(Pe,Jn,e.Diagnostics.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):lt(Pe,Jn,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(Vt))}return yn}function ul(){switch(ae()){case 39:case 40:case 54:case 53:return z_();case 89:return Sf();case 112:return Wp();case 114:return $f();case 29:return oc();case 132:if(Df())return Tf();default:return Qu()}}function wu(){switch(ae()){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 132:return!1;case 29:if(we!==1)return!1;default:return!0}}function Qu(){if(ae()===45||ae()===46){var Pe=xe();return jt(w.createPrefixUnaryExpression(ae(),it(Iu)),Pe)}else if(we===1&&ae()===29&&Fn(_s))return q_(!0);var bt=Iu();if(e.Debug.assert(e.isLeftHandSideExpression(bt)),(ae()===45||ae()===46)&&!d.hasPrecedingLineBreak()){var Vt=ae();return ut(),jt(w.createPostfixUnaryExpression(bt,Vt),bt.pos)}return bt}function Iu(){var Pe=xe(),bt;return ae()===100?Fn(Mn)?(L|=1048576,bt=gr()):Fn(ir)?(ut(),ut(),bt=jt(w.createMetaProperty(100,$i()),Pe),L|=2097152):bt=U_():bt=ae()===106?Vp():U_(),mu(Pe,bt)}function U_(){var Pe=xe(),bt=Du();return np(Pe,bt,!0)}function Vp(){var Pe=xe(),bt=gr();if(ae()===29){var Vt=xe(),yn=An(hl);yn!==void 0&<(Vt,xe(),e.Diagnostics.super_may_not_use_type_arguments)}return ae()===20||ae()===24||ae()===22?bt:(Yn(24,e.Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access),jt(w.createPropertyAccessExpression(bt,jn(!0,!0)),Pe))}function q_(Pe,bt,Vt){var yn=xe(),Jn=yd(Pe),sr;if(Jn.kind===279){var Rr=gd(Jn),mi=void 0,Wi=Rr[Rr.length-1];if((Wi==null?void 0:Wi.kind)===277&&!N(Wi.openingElement.tagName,Wi.closingElement.tagName)&&N(Jn.tagName,Wi.closingElement.tagName)){var Ki=Wi.children.end,mo=jt(w.createJsxElement(Wi.openingElement,Wi.children,jt(w.createJsxClosingElement(jt(w.createIdentifier(""),Ki,Ki)),Ki,Ki)),Wi.openingElement.pos,Ki);Rr=Bn(tt(tt([],Rr.slice(0,Rr.length-1),!0),[mo],!1),Rr.pos,Ki),mi=Wi.closingElement}else mi=h_(Jn,Pe),N(Jn.tagName,mi.tagName)||(Vt&&e.isJsxOpeningElement(Vt)&&N(mi.tagName,Vt.tagName)?Le(Jn.tagName,e.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,e.getTextOfNodeFromSourceText(V,Jn.tagName)):Le(mi.tagName,e.Diagnostics.Expected_corresponding_JSX_closing_tag_for_0,e.getTextOfNodeFromSourceText(V,Jn.tagName)));sr=jt(w.createJsxElement(Jn,Rr,mi),yn)}else Jn.kind===282?sr=jt(w.createJsxFragment(Jn,gd(Jn),Cf(Pe)),yn):(e.Debug.assert(Jn.kind===278),sr=Jn);if(Pe&&ae()===29){var Cs=typeof bt>"u"?sr.pos:bt,vo=An(function(){return q_(!0,Cs)});if(vo){var fs=pr(27,!1);return e.setTextRangePosWidth(fs,vo.pos,0),lt(e.skipTrivia(V,Cs),vo.end,e.Diagnostics.JSX_expressions_must_have_one_parent_element),jt(w.createBinaryExpression(sr,fs,vo),yn)}}return sr}function Ef(){var Pe=xe(),bt=w.createJsxText(d.getTokenValue(),Me===12);return Me=d.scanJsxToken(),jt(bt,Pe)}function Xd(Pe,bt){switch(bt){case 1:if(e.isJsxOpeningFragment(Pe))Le(Pe,e.Diagnostics.JSX_fragment_has_no_corresponding_closing_tag);else{var Vt=Pe.tagName,yn=e.skipTrivia(V,Vt.pos);lt(yn,Vt.end,e.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,e.getTextOfNodeFromSourceText(V,Pe.tagName))}return;case 30:case 7:return;case 11:case 12:return Ef();case 18:return ep(!1);case 29:return q_(!1,void 0,Pe);default:return e.Debug.assertNever(bt)}}function gd(Pe){var bt=[],Vt=xe(),yn=be;for(be|=1<<14;;){var Jn=Xd(Pe,Me=d.reScanJsxToken());if(!Jn||(bt.push(Jn),e.isJsxOpeningElement(Pe)&&(Jn==null?void 0:Jn.kind)===277&&!N(Jn.openingElement.tagName,Jn.closingElement.tagName)&&N(Pe.tagName,Jn.closingElement.tagName)))break}return be=yn,Bn(bt,Vt)}function Zd(){var Pe=xe();return jt(w.createJsxAttributes(ai(13,vd)),Pe)}function yd(Pe){var bt=xe();if(xn(29),ae()===31)return mn(),jt(w.createJsxOpeningFragment(),bt);var Vt=v_(),yn=(Ce&131072)===0?Dr():void 0,Jn=Zd(),sr;return ae()===31?(mn(),sr=w.createJsxOpeningElement(Vt,yn,Jn)):(xn(43),xn(31,void 0,!1)&&(Pe?ut():mn()),sr=w.createJsxSelfClosingElement(Vt,yn,Jn)),jt(sr,bt)}function v_(){var Pe=xe();en();for(var bt=ae()===108?gr():$i();lr(24);)bt=jt(w.createPropertyAccessExpression(bt,jn(!0,!1)),Pe);return bt}function ep(Pe){var bt=xe();if(xn(18)){var Vt,yn;return ae()!==19&&(Vt=In(25),yn=nc()),Pe?xn(19):xn(19,void 0,!1)&&mn(),jt(w.createJsxExpression(Vt,yn),bt)}}function vd(){if(ae()===18)return tp();en();var Pe=xe();return jt(w.createJsxAttribute($i(),ae()!==63?void 0:hn()===10?Za():ep(!0)),Pe)}function tp(){var Pe=xe();xn(18),xn(25);var bt=nc();return xn(19),jt(w.createJsxSpreadAttribute(bt),Pe)}function h_(Pe,bt){var Vt=xe();xn(30);var yn=v_();return xn(31,void 0,!1)&&(bt||!N(Pe.tagName,yn)?ut():mn()),jt(w.createJsxClosingElement(yn),Vt)}function Cf(Pe){var bt=xe();return xn(30),e.tokenIsIdentifierOrKeyword(ae())&&Le(v_(),e.Diagnostics.Expected_corresponding_closing_tag_for_JSX_fragment),xn(31,void 0,!1)&&(Pe?ut():mn()),jt(w.createJsxJsxClosingFragment(),bt)}function oc(){var Pe=xe();xn(29);var bt=Xs();xn(31);var Vt=ul();return jt(w.createTypeAssertion(bt,Vt),Pe)}function Yu(){return ut(),e.tokenIsIdentifierOrKeyword(ae())||ae()===22||Ou()}function hd(){return ae()===28&&Fn(Yu)}function xd(Pe){if(Pe.flags&32)return!0;if(e.isNonNullExpression(Pe)){for(var bt=Pe.expression;e.isNonNullExpression(bt)&&!(bt.flags&32);)bt=bt.expression;if(bt.flags&32){for(;e.isNonNullExpression(Pe);)Pe.flags|=32,Pe=Pe.expression;return!0}}return!1}function bd(Pe,bt,Vt){var yn=jn(!0,!0),Jn=Vt||xd(bt),sr=Jn?w.createPropertyAccessChain(bt,Vt,yn):w.createPropertyAccessExpression(bt,yn);return Jn&&e.isPrivateIdentifier(sr.name)&&Le(sr.name,e.Diagnostics.An_optional_chain_cannot_contain_private_identifiers),jt(sr,Pe)}function x_(Pe,bt,Vt){var yn;if(ae()===23)yn=pr(79,!0,e.Diagnostics.An_element_access_expression_should_take_an_argument);else{var Jn=yt(nc);e.isStringOrNumericLiteralLike(Jn)&&(Jn.text=br(Jn.text)),yn=Jn}xn(23);var sr=Vt||xd(bt)?w.createElementAccessChain(bt,Vt,yn):w.createElementAccessExpression(bt,yn);return jt(sr,Pe)}function np(Pe,bt,Vt){for(;;){var yn=void 0,Jn=!1;if(Vt&&hd()?(yn=Yn(28),Jn=e.tokenIsIdentifierOrKeyword(ae())):Jn=lr(24),Jn){bt=bd(Pe,bt,yn);continue}if(!yn&&ae()===53&&!d.hasPrecedingLineBreak()){ut(),bt=jt(w.createNonNullExpression(bt),Pe);continue}if((yn||!zt())&&lr(22)){bt=x_(Pe,bt,yn);continue}if(Ou()){bt=mc(Pe,bt,yn,void 0);continue}return bt}}function Ou(){return ae()===14||ae()===15}function mc(Pe,bt,Vt,yn){var Jn=w.createTaggedTemplateExpression(bt,yn,ae()===14?($e(),Za()):hi(!0));return(Vt||bt.flags&32)&&(Jn.flags|=32),Jn.questionDotToken=Vt,jt(Jn,Pe)}function mu(Pe,bt){for(;;){bt=np(Pe,bt,!0);var Vt=In(28);if((Ce&131072)===0&&(ae()===29||ae()===47)){var yn=An(hl);if(yn){if(Ou()){bt=mc(Pe,bt,Vt,yn);continue}var Jn=jc(),sr=Vt||xd(bt)?w.createCallChain(bt,Vt,yn,Jn):w.createCallExpression(bt,yn,Jn);bt=jt(sr,Pe);continue}}else if(ae()===20){var Jn=jc(),sr=Vt||xd(bt)?w.createCallChain(bt,Vt,void 0,Jn):w.createCallExpression(bt,void 0,Jn);bt=jt(sr,Pe);continue}if(Vt){var Rr=pr(79,!1,e.Diagnostics.Identifier_expected);bt=jt(w.createPropertyAccessChain(bt,Vt,Rr),Pe)}break}return bt}function jc(){xn(20);var Pe=da(11,Vc);return xn(21),Pe}function hl(){if((Ce&131072)===0&&Ct()===29){ut();var Pe=da(20,Xs);if(xn(31))return Pe&&W_()?Pe:void 0}}function W_(){switch(ae()){case 20:case 14:case 15:case 24:case 21:case 23:case 58:case 26:case 57:case 34:case 36:case 35:case 37:case 55:case 56:case 60:case 52:case 50:case 51:case 19:case 1:return!0;case 27:case 18:default:return!1}}function Du(){switch(ae()){case 8:case 9:case 10:case 14:return Za();case 108:case 106:case 104:case 110:case 95:return gr();case 20:return os();case 22:return Sd();case 18:return rp();case 131:if(!Fn(sp))break;return b_();case 84:return Ul();case 98:return b_();case 103:return Qr();case 43:case 68:if(vn()===13)return Za();break;case 15:return hi(!1);case 80:return is()}return Da(e.Diagnostics.Expression_expected)}function os(){var Pe=xe(),bt=H();xn(20);var Vt=yt(nc);return xn(21),Ie(jt(w.createParenthesizedExpression(Vt),Pe),bt)}function Vs(){var Pe=xe();xn(25);var bt=Ji();return jt(w.createSpreadElement(bt),Pe)}function Yo(){return ae()===25?Vs():ae()===27?jt(w.createOmittedExpression(),xe()):Ji()}function Vc(){return pn(E,Yo)}function Sd(){var Pe=xe();xn(22);var bt=d.hasPrecedingLineBreak(),Vt=da(15,Yo);return xn(23),jt(w.createArrayLiteralExpression(Vt,bt),Pe)}function Tu(){var Pe=xe(),bt=H();if(In(25)){var Vt=Ji();return Ie(jt(w.createSpreadAssignment(Vt),Pe),bt)}var yn=Sl(),Jn=yu();if(ao(136))return Kl(Pe,bt,yn,Jn,171);if(ao(148))return Kl(Pe,bt,yn,Jn,172);var sr=In(41),Rr=qn(),mi=so(),Wi=In(57),Ki=In(53);if(sr||ae()===20||ae()===29)return Nf(Pe,bt,yn,Jn,sr,mi,Wi,Ki);var mo,Cs=Rr&&ae()!==58;if(Cs){var vo=In(63),fs=vo?yt(Ji):void 0;mo=w.createShorthandPropertyAssignment(mi,fs),mo.equalsToken=vo}else{xn(58);var Bs=yt(Ji);mo=w.createPropertyAssignment(mi,Bs)}return mo.decorators=yn,mo.modifiers=Jn,mo.questionToken=Wi,mo.exclamationToken=Ki,Ie(jt(mo,Pe),bt)}function rp(){var Pe=xe(),bt=d.getTokenPos();xn(18);var Vt=d.hasPrecedingLineBreak(),yn=da(12,Tu,!0);if(!xn(19)){var Jn=e.lastOrUndefined(He);Jn&&Jn.code===e.Diagnostics._0_expected.code&&e.addRelatedInfo(Jn,e.createDetachedDiagnostic(R,bt,1,e.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}return jt(w.createObjectLiteralExpression(yn,Vt),Pe)}function b_(){var Pe=zt();Rt(!1);var bt=xe(),Vt=H(),yn=yu();xn(98);var Jn=In(41),sr=Jn?1:0,Rr=e.some(yn,e.isAsyncModifier)?2:0,mi=sr&&Rr?Sr(S_):sr?rn(S_):Rr?kn(S_):S_(),Wi=Qo(),Ki=Fc(sr|Rr),mo=So(58,!1),Cs=Sa(sr|Rr);Rt(Pe);var vo=w.createFunctionExpression(yn,Jn,mi,Wi,Ki,mo,Cs);return Ie(jt(vo,bt),Vt)}function S_(){return Tn()?Bi():void 0}function Qr(){var Pe=xe();if(xn(103),lr(24)){var bt=$i();return jt(w.createMetaProperty(103,bt),Pe)}for(var Vt=xe(),yn=Du(),Jn;;){yn=np(Vt,yn,!1),Jn=An(hl),Ou()&&(e.Debug.assert(!!Jn,"Expected a type argument list; all plain tagged template starts should be consumed in 'parseMemberExpressionRest'"),yn=mc(Vt,yn,void 0,Jn),Jn=void 0);break}var sr;return ae()===20?sr=jc():Jn&<(Pe,d.getStartPos(),e.Diagnostics.A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list),jt(w.createNewExpression(yn,Jn,sr),Pe)}function ys(Pe,bt){var Vt=xe(),yn=H(),Jn=d.getTokenPos();if(xn(18,bt)||Pe){var sr=d.hasPrecedingLineBreak(),Rr=ai(1,Ya);if(!xn(19)){var mi=e.lastOrUndefined(He);mi&&mi.code===e.Diagnostics._0_expected.code&&e.addRelatedInfo(mi,e.createDetachedDiagnostic(R,Jn,1,e.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}var Wi=Ie(jt(w.createBlock(Rr,sr),Vt),yn);return ae()===63&&(Nt(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),ut()),Wi}else{var Rr=Ho();return Ie(jt(w.createBlock(Rr,void 0),Vt),yn)}}function Sa(Pe,bt){var Vt=Je();Lt(!!(Pe&1));var yn=Ve();Et(!!(Pe&2));var Jn=ge;ge=!1;var sr=zt();sr&&Rt(!1);var Rr=ys(!!(Pe&16),bt);return sr&&Rt(!0),ge=Jn,Lt(Vt),Et(yn),Rr}function Bl(){var Pe=xe(),bt=H();return xn(26),Ie(jt(w.createEmptyStatement(),Pe),bt)}function Ms(){var Pe=xe(),bt=H();xn(99),xn(20);var Vt=yt(nc);xn(21);var yn=Ya(),Jn=lr(91)?Ya():void 0;return Ie(jt(w.createIfStatement(Vt,yn,Jn),Pe),bt)}function ll(){var Pe=xe(),bt=H();xn(90);var Vt=Ya();xn(115),xn(20);var yn=yt(nc);return xn(21),lr(26),Ie(jt(w.createDoStatement(Vt,yn),Pe),bt)}function Wr(){var Pe=xe(),bt=H();xn(115),xn(20);var Vt=yt(nc);xn(21);var yn=Ya();return Ie(jt(w.createWhileStatement(Vt,yn),Pe),bt)}function Dd(){var Pe=xe(),bt=H();xn(97);var Vt=In(132);xn(20);var yn;ae()!==26&&(ae()===113||ae()===119||ae()===85?yn=ru(!0):yn=Gt(nc));var Jn;if(Vt?xn(159):lr(159)){var sr=yt(Ji);xn(21),Jn=w.createForOfStatement(Vt,yn,sr,Ya())}else if(lr(101)){var sr=yt(nc);xn(21),Jn=w.createForInStatement(yn,sr,Ya())}else{xn(26);var Rr=ae()!==26&&ae()!==21?yt(nc):void 0;xn(26);var mi=ae()!==21?yt(nc):void 0;xn(21),Jn=w.createForStatement(yn,Rr,mi,Ya())}return Ie(jt(Jn,Pe),bt)}function ip(Pe){var bt=xe(),Vt=H();xn(Pe===245?81:86);var yn=_i()?void 0:Da();Rn();var Jn=Pe===245?w.createBreakStatement(yn):w.createContinueStatement(yn);return Ie(jt(Jn,bt),Vt)}function Jo(){var Pe=xe(),bt=H();xn(105);var Vt=_i()?void 0:yt(nc);return Rn(),Ie(jt(w.createReturnStatement(Vt),Pe),bt)}function sc(){var Pe=xe(),bt=H();xn(116),xn(20);var Vt=yt(nc);xn(21);var yn=he(16777216,Ya);return Ie(jt(w.createWithStatement(Vt,yn),Pe),bt)}function tu(){var Pe=xe();xn(82);var bt=yt(nc);xn(58);var Vt=ai(3,Ya);return jt(w.createCaseClause(bt,Vt),Pe)}function D_(){var Pe=xe();xn(88),xn(58);var bt=ai(3,Ya);return jt(w.createDefaultClause(bt),Pe)}function ap(){return ae()===82?tu():D_()}function T_(){var Pe=xe();xn(18);var bt=ai(2,ap);return xn(19),jt(w.createCaseBlock(bt),Pe)}function cc(){var Pe=xe(),bt=H();xn(107),xn(20);var Vt=yt(nc);xn(21);var yn=T_();return Ie(jt(w.createSwitchStatement(Vt,yn),Pe),bt)}function op(){var Pe=xe(),bt=H();xn(109);var Vt=d.hasPrecedingLineBreak()?void 0:yt(nc);return Vt===void 0&&(ve++,Vt=jt(w.createIdentifier(""),xe())),Nn()||Fr(Vt),Ie(jt(w.createThrowStatement(Vt),Pe),bt)}function $u(){var Pe=xe(),bt=H();xn(111);var Vt=ys(!1),yn=ae()===83?Jl():void 0,Jn;return(!yn||ae()===96)&&(xn(96,e.Diagnostics.catch_or_finally_expected),Jn=ys(!1)),Ie(jt(w.createTryStatement(Vt,yn,Jn),Pe),bt)}function Jl(){var Pe=xe();xn(83);var bt;lr(20)?(bt=xs(),xn(21)):bt=void 0;var Vt=ys(!1);return jt(w.createCatchClause(bt,Vt),Pe)}function V_(){var Pe=xe(),bt=H();return xn(87),Rn(),Ie(jt(w.createDebuggerStatement(),Pe),bt)}function E_(){var Pe=xe(),bt=H(),Vt,yn=ae()===20,Jn=yt(nc);return e.isIdentifier(Jn)&&lr(58)?Vt=w.createLabeledStatement(Jn,Ya()):(Nn()||Fr(Jn),Vt=w.createExpressionStatement(Jn),yn&&(bt=!1)),Ie(jt(Vt,Pe),bt)}function Td(){return ut(),e.tokenIsIdentifierOrKeyword(ae())&&!d.hasPrecedingLineBreak()}function Ed(){return ut(),ae()===84&&!d.hasPrecedingLineBreak()}function sp(){return ut(),ae()===98&&!d.hasPrecedingLineBreak()}function cp(){return ut(),(e.tokenIsIdentifierOrKeyword(ae())||ae()===8||ae()===9||ae()===10)&&!d.hasPrecedingLineBreak()}function H_(){for(;;)switch(ae()){case 113:case 119:case 85:case 98:case 84:case 92:return!0;case 118:case 151:return cl();case 141:case 142:return kf();case 126:case 131:case 135:case 121:case 122:case 123:case 144:if(ut(),d.hasPrecedingLineBreak())return!1;continue;case 156:return ut(),ae()===18||ae()===79||ae()===93;case 100:return ut(),ae()===10||ae()===41||ae()===18||e.tokenIsIdentifierOrKeyword(ae());case 93:var Pe=ut();if(Pe===151&&(Pe=Fn(ut)),Pe===63||Pe===41||Pe===18||Pe===88||Pe===127)return!0;continue;case 124:ut();continue;default:return!1}}function Ls(){return Fn(H_)}function xl(){switch(ae()){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 Ls()||Fn(hr);case 85:case 93:return Ls();case 131:case 135:case 118:case 141:case 142:case 151:case 156:return!0;case 123:case 121:case 122:case 124:case 144:return Ls()||!Fn(Td);default:return vl()}}function Cd(){return ut(),Tn()||ae()===18||ae()===22}function s_(){return Fn(Cd)}function Ya(){switch(ae()){case 26:return Bl();case 18:return ys(!1);case 113:return Cu(xe(),H(),void 0,void 0);case 119:if(s_())return Cu(xe(),H(),void 0,void 0);break;case 98:return Y_(xe(),H(),void 0,void 0);case 84:return Xu(xe(),H(),void 0,void 0);case 99:return Ms();case 90:return ll();case 115:return Wr();case 97:return Dd();case 86:return ip(244);case 81:return ip(245);case 105:return Jo();case 116:return sc();case 107:return cc();case 109:return op();case 111:case 83:case 96:return $u();case 87:return V_();case 59:return Qs();case 131:case 118:case 151:case 141:case 142:case 135:case 85:case 92:case 93:case 100:case 121:case 122:case 123:case 126:case 124:case 144:case 156:if(Ls())return Qs();break}return E_()}function Lr(Pe){return Pe.kind===135}function Qs(){var Pe=e.some(Fn(function(){return Sl(),yu()}),Lr);if(Pe){var bt=kd();if(bt)return bt}var Vt=xe(),yn=H(),Jn=Sl(),sr=yu();if(Pe){for(var Rr=0,mi=sr;Rr=0),e.Debug.assert(Ki<=vo),e.Debug.assert(vo<=Cs.length),!k(Cs,Ki))return;var fs,Bs,Kc,Ic,au,bc=[],P_=[];return d.scanRange(Ki+3,mo-5,function(){var xr=1,Ai,bi=Ki-(Cs.lastIndexOf(` `,Ki)+1)+4;function Hi(Nu){Ai||(Ai=bi),bc.push(Nu),bi+=Nu.length}for(Qe();hp(5););hp(4)&&(xr=0,bi=0);e:for(;;){switch(ae()){case 59:xr===0||xr===1?(Qc(bc),au||(au=xe()),ya(p(bi)),xr=0,Ai=void 0):Hi(d.getTokenText());break;case 4:bc.push(d.getTokenText()),xr=0,bi=0;break;case 41:var va=d.getTokenText();xr===1||xr===2?(xr=2,Hi(va)):(xr=1,bi+=va.length);break;case 5:var Ba=d.getTokenText();xr===2?bc.push(Ba):Ai!==void 0&&bi+Ba.length>Ai&&bc.push(Ba.slice(Ai-bi)),bi+=Ba.length;break;case 1:break e;case 18:xr=2;var bs=d.getStartPos(),Sc=d.getTextPos()-1,zc=$t(Sc);if(zc){Ic||Gc(bc),P_.push(jt(w.createJSDocText(bc.join("")),Ic!=null?Ic:Ki,bs)),P_.push(zc),bc=[],Ic=d.getTextPos();break}default:xr=2,Hi(d.getTokenText());break}Qe()}Qc(bc),P_.length&&bc.length&&P_.push(jt(w.createJSDocText(bc.join("")),Ic!=null?Ic:Ki,au)),P_.length&&fs&&e.Debug.assertIsDefined(au,"having parsed tags implies that the end of the comment span should be set");var Yc=fs&&Bn(fs,Bs,Kc);return jt(w.createJSDocComment(P_.length?Bn(P_,Ki,au):bc.length?bc.join(""):void 0,Yc),Ki,vo)});function Gc(xr){for(;xr.length&&(xr[0]===` `||xr[0]==="\r");)xr.shift()}function Qc(xr){for(;xr.length&&xr[xr.length-1].trim()==="";)xr.pop()}function Bu(){for(;;){if(Qe(),ae()===1)return!0;if(!(ae()===5||ae()===4))return!1}}function Zu(){if(!((ae()===5||ae()===4)&&Fn(Bu)))for(;ae()===5||ae()===4;)Qe()}function Ju(){if((ae()===5||ae()===4)&&Fn(Bu))return"";for(var xr=d.hasPrecedingLineBreak(),Ai=!1,bi="";xr&&ae()===41||ae()===5||ae()===4;)bi+=d.getTokenText(),ae()===4?(xr=!0,Ai=!0,bi=""):ae()===41&&(xr=!1),Qe();return Ai?bi:""}function p(xr){e.Debug.assert(ae()===59);var Ai=d.getTokenPos();Qe();var bi=xp(void 0),Hi=Ju(),va;switch(bi.escapedText){case"author":va=If(Ai,bi,xr,Hi);break;case"implements":va=zy(Ai,bi,xr,Hi);break;case"augments":case"extends":va=Jr(Ai,bi,xr,Hi);break;case"class":case"constructor":va=w_(Ai,w.createJSDocClassTag,bi,xr,Hi);break;case"public":va=w_(Ai,w.createJSDocPublicTag,bi,xr,Hi);break;case"private":va=w_(Ai,w.createJSDocPrivateTag,bi,xr,Hi);break;case"protected":va=w_(Ai,w.createJSDocProtectedTag,bi,xr,Hi);break;case"readonly":va=w_(Ai,w.createJSDocReadonlyTag,bi,xr,Hi);break;case"override":va=w_(Ai,w.createJSDocOverrideTag,bi,xr,Hi);break;case"deprecated":Ht=!0,va=w_(Ai,w.createJSDocDeprecatedTag,bi,xr,Hi);break;case"this":va=Yp(Ai,bi,xr,Hi);break;case"enum":va=Xm(Ai,bi,xr,Hi);break;case"arg":case"argument":case"param":return A_(Ai,bi,2,xr);case"return":case"returns":va=vp(Ai,bi,xr,Hi);break;case"template":va=Uy(Ai,bi,xr,Hi);break;case"type":va=wf(Ai,bi,xr,Hi);break;case"typedef":va=em(Ai,bi,xr,Hi);break;case"callback":va=Zm(Ai,bi,xr,Hi);break;case"see":va=Ky(Ai,bi,xr,Hi);break;default:va=yr(Ai,bi,xr,Hi);break}return va}function q(xr,Ai,bi,Hi){return Hi||(bi+=Ai-xr),Ee(bi,Hi.slice(bi))}function Ee(xr,Ai){var bi=xe(),Hi=[],va=[],Ba,bs=0,Sc=!0,zc;function Yc(Wo){zc||(zc=xr),Hi.push(Wo),xr+=Wo.length}Ai!==void 0&&(Ai!==""&&Yc(Ai),bs=1);var Nu=ae();e:for(;;){switch(Nu){case 4:bs=0,Hi.push(d.getTokenText()),xr=0;break;case 59:if(bs===3||bs===2&&(!Sc||Fn(at))){Hi.push(d.getTokenText());break}d.setTextPos(d.getTextPos()-1);case 1:break e;case 5:if(bs===2||bs===3)Yc(d.getTokenText());else{var Hl=d.getTokenText();zc!==void 0&&xr+Hl.length>zc&&Hi.push(Hl.slice(zc-xr)),xr+=Hl.length}break;case 18:bs=2;var Xp=d.getStartPos(),I_=d.getTextPos()-1,hm=$t(I_);hm?(va.push(jt(w.createJSDocText(Hi.join("")),Ba!=null?Ba:bi,Xp)),va.push(hm),Hi=[],Ba=d.getTextPos()):Yc(d.getTokenText());break;case 61:bs===3?bs=2:bs=3,Yc(d.getTokenText());break;case 41:if(bs===0){bs=1,xr+=1;break}default:bs!==3&&(bs=2),Yc(d.getTokenText());break}Sc=ae()===5,Nu=Qe()}if(Gc(Hi),Qc(Hi),va.length)return Hi.length&&va.push(jt(w.createJSDocText(Hi.join("")),Ba!=null?Ba:bi)),Bn(va,bi,d.getTextPos());if(Hi.length)return Hi.join("")}function at(){var xr=Qe();return xr===5||xr===4}function $t(xr){var Ai=An(nr);if(Ai){Qe(),Zu();var bi=xe(),Hi=e.tokenIsIdentifierOrKeyword(ae())?Os(!0):void 0;if(Hi)for(;ae()===80;)kt(),Qe(),Hi=jt(w.createJSDocMemberName(Hi,Da()),bi);for(var va=[];ae()!==19&&ae()!==4&&ae()!==1;)va.push(d.getTokenText()),Qe();var Ba=Ai==="link"?w.createJSDocLink:Ai==="linkcode"?w.createJSDocLinkCode:w.createJSDocLinkPlain;return jt(Ba(Hi,va.join("")),xr,d.getTextPos())}}function nr(){if(Ju(),ae()===18&&Qe()===59&&e.tokenIsIdentifierOrKeyword(Qe())){var xr=d.getTokenValue();if(xr==="link"||xr==="linkcode"||xr==="linkplain")return xr}}function yr(xr,Ai,bi,Hi){return jt(w.createJSDocUnknownTag(Ai,q(xr,xe(),bi,Hi)),xr)}function ya(xr){!xr||(fs?fs.push(xr):(fs=[xr],Bs=xr.pos),Kc=xr.end)}function cs(){return Ju(),ae()===18?Vt():void 0}function Hs(){var xr=hp(22);xr&&Zu();var Ai=hp(61),bi=ou();return Ai&&Ar(61),xr&&(Zu(),In(63)&&nc(),xn(23)),{name:bi,isBracketed:xr}}function Qp(xr){switch(xr.kind){case 147:return!0;case 182:return Qp(xr.elementType);default:return e.isTypeReferenceNode(xr)&&e.isIdentifier(xr.typeName)&&xr.typeName.escapedText==="Object"&&!xr.typeArguments}}function A_(xr,Ai,bi,Hi){var va=cs(),Ba=!va;Ju();var bs=Hs(),Sc=bs.name,zc=bs.isBracketed,Yc=Ju();Ba&&!Fn(nr)&&(va=cs());var Nu=q(xr,xe(),Hi,Yc),Hl=bi!==4&&yp(va,Sc,bi,Hi);Hl&&(va=Hl,Ba=!0);var Xp=bi===1?w.createJSDocPropertyTag(Ai,Sc,zc,va,Ba,Nu):w.createJSDocParameterTag(Ai,Sc,zc,va,Ba,Nu);return jt(Xp,xr)}function yp(xr,Ai,bi,Hi){if(xr&&Qp(xr.type)){for(var va=xe(),Ba=void 0,bs=void 0;Ba=An(function(){return $p(bi,Hi,Ai)});)(Ba.kind===338||Ba.kind===345)&&(bs=e.append(bs,Ba));if(bs){var Sc=jt(w.createJSDocTypeLiteral(bs,xr.type.kind===182),va);return jt(w.createJSDocTypeExpression(Sc),va)}}}function vp(xr,Ai,bi,Hi){e.some(fs,e.isJSDocReturnTag)&<(Ai.pos,d.getTokenPos(),e.Diagnostics._0_tag_already_specified,Ai.escapedText);var va=cs();return jt(w.createJSDocReturnTag(Ai,va,q(xr,xe(),bi,Hi)),xr)}function wf(xr,Ai,bi,Hi){e.some(fs,e.isJSDocTypeTag)&<(Ai.pos,d.getTokenPos(),e.Diagnostics._0_tag_already_specified,Ai.escapedText);var va=Vt(!0),Ba=bi!==void 0&&Hi!==void 0?q(xr,xe(),bi,Hi):void 0;return jt(w.createJSDocTypeTag(Ai,va,Ba),xr)}function Ky(xr,Ai,bi,Hi){var va=ae()===22||Fn(function(){return Qe()===59&&e.tokenIsIdentifierOrKeyword(Qe())&&d.getTokenValue()==="link"}),Ba=va?void 0:yn(),bs=bi!==void 0&&Hi!==void 0?q(xr,xe(),bi,Hi):void 0;return jt(w.createJSDocSeeTag(Ai,Ba,bs),xr)}function If(xr,Ai,bi,Hi){var va=xe(),Ba=Wg(),bs=d.getStartPos(),Sc=q(xr,bs,bi,Hi);Sc||(bs=d.getStartPos());var zc=typeof Sc!="string"?Bn(e.concatenate([jt(Ba,va,bs)],Sc),va):Ba.text+Sc;return jt(w.createJSDocAuthorTag(Ai,zc),xr)}function Wg(){for(var xr=[],Ai=!1,bi=d.getToken();bi!==1&&bi!==4;){if(bi===29)Ai=!0;else{if(bi===59&&!Ai)break;if(bi===31&&Ai){xr.push(d.getTokenText()),d.setTextPos(d.getTokenPos()+1);break}}xr.push(d.getTokenText()),bi=Qe()}return w.createJSDocText(xr.join(""))}function zy(xr,Ai,bi,Hi){var va=F_();return jt(w.createJSDocImplementsTag(Ai,va,q(xr,xe(),bi,Hi)),xr)}function Jr(xr,Ai,bi,Hi){var va=F_();return jt(w.createJSDocAugmentsTag(Ai,va,q(xr,xe(),bi,Hi)),xr)}function F_(){var xr=lr(18),Ai=xe(),bi=u_(),Hi=Dr(),va=w.createExpressionWithTypeArguments(bi,Hi),Ba=jt(va,Ai);return xr&&xn(19),Ba}function u_(){for(var xr=xe(),Ai=xp();lr(24);){var bi=xp();Ai=jt(w.createPropertyAccessExpression(Ai,bi),xr)}return Ai}function w_(xr,Ai,bi,Hi,va){return jt(Ai(bi,q(xr,xe(),Hi,va)),xr)}function Yp(xr,Ai,bi,Hi){var va=Vt(!0);return Zu(),jt(w.createJSDocThisTag(Ai,va,q(xr,xe(),bi,Hi)),xr)}function Xm(xr,Ai,bi,Hi){var va=Vt(!0);return Zu(),jt(w.createJSDocEnumTag(Ai,va,q(xr,xe(),bi,Hi)),xr)}function em(xr,Ai,bi,Hi){var va,Ba=cs();Ju();var bs=ym();Zu();var Sc=Ee(bi),zc;if(!Ba||Qp(Ba.type)){for(var Yc=void 0,Nu=void 0,Hl=void 0,Xp=!1;Yc=An(function(){return vm(bi)});)if(Xp=!0,Yc.kind===341)if(Nu){Nt(e.Diagnostics.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);var I_=e.lastOrUndefined(He);I_&&e.addRelatedInfo(I_,e.createDetachedDiagnostic(R,0,0,e.Diagnostics.The_tag_was_first_specified_here));break}else Nu=Yc;else Hl=e.append(Hl,Yc);if(Xp){var hm=Ba&&Ba.type.kind===182,Wo=w.createJSDocTypeLiteral(Hl,hm);Ba=Nu&&Nu.typeExpression&&!Qp(Nu.typeExpression.type)?Nu.typeExpression:jt(Wo,xr),zc=Ba.end}}zc=zc||Sc!==void 0?xe():((va=bs!=null?bs:Ba)!==null&&va!==void 0?va:Ai).end,Sc||(Sc=q(xr,zc,bi,Hi));var Hg=w.createJSDocTypedefTag(Ai,Ba,bs,Sc);return jt(Hg,xr,zc)}function ym(xr){var Ai=d.getTokenPos();if(e.tokenIsIdentifierOrKeyword(ae())){var bi=xp();if(lr(24)){var Hi=ym(!0),va=w.createModuleDeclaration(void 0,void 0,bi,Hi,xr?4:void 0);return jt(va,Ai)}return xr&&(bi.isInJSDocNamespace=!0),bi}}function l_(xr){for(var Ai=xe(),bi,Hi;bi=An(function(){return $p(4,xr)});)Hi=e.append(Hi,bi);return Bn(Hi||[],Ai)}function Zm(xr,Ai,bi,Hi){var va=ym();Zu();var Ba=Ee(bi),bs=l_(bi),Sc=An(function(){if(hp(59)){var Yc=p(bi);if(Yc&&Yc.kind===339)return Yc}}),zc=jt(w.createJSDocSignature(void 0,bs,Sc),xr);return Ba||(Ba=q(xr,xe(),bi,Hi)),jt(w.createJSDocCallbackTag(Ai,zc,va,Ba),xr)}function tm(xr,Ai){for(;!e.isIdentifier(xr)||!e.isIdentifier(Ai);)if(!e.isIdentifier(xr)&&!e.isIdentifier(Ai)&&xr.right.escapedText===Ai.right.escapedText)xr=xr.left,Ai=Ai.left;else return!1;return xr.escapedText===Ai.escapedText}function vm(xr){return $p(1,xr)}function $p(xr,Ai,bi){for(var Hi=!0,va=!1;;)switch(Qe()){case 59:if(Hi){var Ba=Vg(xr,Ai);return Ba&&(Ba.kind===338||Ba.kind===345)&&xr!==4&&bi&&(e.isIdentifier(Ba.name)||!tm(bi,Ba.name.left))?!1:Ba}va=!1;break;case 4:Hi=!0,va=!1;break;case 41:va&&(Hi=!1),va=!0;break;case 79:Hi=!1;break;case 1:return!1}}function Vg(xr,Ai){e.Debug.assert(ae()===59);var bi=d.getStartPos();Qe();var Hi=xp();Zu();var va;switch(Hi.escapedText){case"type":return xr===1&&wf(bi,Hi);case"prop":case"property":va=1;break;case"arg":case"argument":case"param":va=6;break;default:return!1}return xr&va?A_(bi,Hi,xr,Ai):!1}function nm(){var xr=xe(),Ai=hp(22);Ai&&Zu();var bi=xp(e.Diagnostics.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces),Hi;if(Ai&&(Zu(),xn(63),Hi=he(4194304,fc),xn(23)),!e.nodeIsMissing(bi))return jt(w.createTypeParameterDeclaration(bi,void 0,Hi),xr)}function Ku(){var xr=xe(),Ai=[];do{Zu();var bi=nm();bi!==void 0&&Ai.push(bi),Ju()}while(hp(27));return Bn(Ai,xr)}function Uy(xr,Ai,bi,Hi){var va=ae()===18?Vt():void 0,Ba=Ku();return jt(w.createJSDocTemplateTag(Ai,va,Ba,q(xr,xe(),bi,Hi)),xr)}function hp(xr){return ae()===xr?(Qe(),!0):!1}function ou(){var xr=xp();for(lr(22)&&xn(23);lr(24);){var Ai=xp();lr(22)&&xn(23),xr=qs(xr,Ai)}return xr}function xp(xr){if(!e.tokenIsIdentifierOrKeyword(ae()))return pr(79,!xr,xr||e.Diagnostics.Identifier_expected);ve++;var Ai=d.getTokenPos(),bi=d.getTextPos(),Hi=ae(),va=br(d.getTokenValue()),Ba=jt(w.createIdentifier(va,void 0,Hi),Ai,bi);return Qe(),Ba}}})(Vl=_.JSDocParser||(_.JSDocParser={}))})(O||(O={}));var Q;(function(_){function d(V,Te,Se,we){if(we=we||e.Debug.shouldAssert(2),w(V,Te,Se,we),e.textChangeRangeIsUnchanged(Se))return V;if(V.statements.length===0)return O.parseSourceFile(V.fileName,Te,V.languageVersion,void 0,!0,V.scriptKind);var He=V;e.Debug.assert(!He.hasBeenIncrementallyParsed),He.hasBeenIncrementallyParsed=!0,O.fixupParentReferences(He);var et=V.text,pt=R(V),Me=pe(V,Se);w(V,Te,Me,we),e.Debug.assert(Me.span.start<=Se.span.start),e.Debug.assert(e.textSpanEnd(Me.span)===e.textSpanEnd(Se.span)),e.Debug.assert(e.textSpanEnd(e.textChangeRangeNewSpan(Me))===e.textSpanEnd(e.textChangeRangeNewSpan(Se)));var Fe=e.textChangeRangeNewSpan(Me).length-Me.span.length;M(He,Me.span.start,e.textSpanEnd(Me.span),e.textSpanEnd(e.textChangeRangeNewSpan(Me)),Fe,et,Te,we);var ot=O.parseSourceFile(V.fileName,Te,V.languageVersion,pt,!0,V.scriptKind);return ot.commentDirectives=E(V.commentDirectives,ot.commentDirectives,Me.span.start,e.textSpanEnd(Me.span),Fe,et,Te,we),ot.impliedNodeFormat=V.impliedNodeFormat,ot}_.updateSourceFile=d;function E(V,Te,Se,we,He,et,pt,Me){if(!V)return Te;for(var Fe,ot=!1,ke=0,ve=V;kewe){ze();var ge={range:{pos:Oe.pos+He,end:Oe.end+He},type:Ce};Fe=e.append(Fe,ge),Me&&e.Debug.assert(et.substring(Oe.pos,Oe.end)===pt.substring(ge.range.pos,ge.range.end))}}return ze(),Fe;function ze(){ot||(ot=!0,Fe?Te&&Fe.push.apply(Fe,Te):Fe=Te)}}function j(V,Te,Se,we,He,et){Te?Me(V):pt(V);return;function pt(Fe){var ot="";if(et&&B(Fe)&&(ot=we.substring(Fe.pos,Fe.end)),Fe._children&&(Fe._children=void 0),e.setTextRangePosEnd(Fe,Fe.pos+Se,Fe.end+Se),et&&B(Fe)&&e.Debug.assert(ot===He.substring(Fe.pos,Fe.end)),se(Fe,pt,Me),e.hasJSDocNodes(Fe))for(var ke=0,ve=Fe.jsDoc;ke=Te,"Adjusting an element that was entirely before the change range"),e.Debug.assert(V.pos<=Se,"Adjusting an element that was entirely after the change range"),e.Debug.assert(V.pos<=V.end);var et=Math.min(V.pos,we),pt=V.end>=Se?V.end+He:Math.min(V.end,we);e.Debug.assert(et<=pt),V.parent&&(e.Debug.assertGreaterThanOrEqual(et,V.parent.pos),e.Debug.assertLessThanOrEqual(pt,V.parent.end)),e.setTextRangePosEnd(V,et,pt)}function J(V,Te){if(Te){var Se=V.pos,we=function(Me){e.Debug.assert(Me.pos>=Se),Se=Me.end};if(e.hasJSDocNodes(V))for(var He=0,et=V.jsDoc;HeSe){j(ke,!1,He,et,pt,Me);return}var ve=ke.end;if(ve>=Te){if(ke.intersectsChange=!0,ke._children=void 0,W(ke,Te,Se,we,He),se(ke,Fe,ot),e.hasJSDocNodes(ke))for(var be=0,Oe=ke.jsDoc;beSe){j(ke,!0,He,et,pt,Me);return}var ve=ke.end;if(ve>=Te){ke.intersectsChange=!0,ke._children=void 0,W(ke,Te,Se,we,He);for(var be=0,Oe=ke;be0&&He<=Se;He++){var et=Ne(V,we);e.Debug.assert(et.pos<=we);var pt=et.pos;we=Math.max(0,pt-1)}var Me=e.createTextSpanFromBounds(we,e.textSpanEnd(Te.span)),Fe=Te.newLength+(Te.span.start-we);return e.createTextChangeRange(Me,Fe)}function Ne(V,Te){var Se=V,we;if(se(V,pt),we){var He=et(we);He.pos>Se.pos&&(Se=He)}return Se;function et(Me){for(;;){var Fe=e.getLastChild(Me);if(Fe)Me=Fe;else return Me}}function pt(Me){if(!e.nodeIsMissing(Me))if(Me.pos<=Te){if(Me.pos>=Se.pos&&(Se=Me),TeTe),!0}}function w(V,Te,Se,we){var He=V.text;if(Se&&(e.Debug.assert(He.length-Se.span.length+Se.newLength===Te.length),we||e.Debug.shouldAssert(3))){var et=He.substr(0,Se.span.start),pt=Te.substr(0,Se.span.start);e.Debug.assert(et===pt);var Me=He.substring(e.textSpanEnd(Se.span),He.length),Fe=Te.substring(e.textSpanEnd(e.textChangeRangeNewSpan(Se)),Te.length);e.Debug.assert(Me===Fe)}}function R(V){var Te=V.statements,Se=0;e.Debug.assert(Se=ot.pos&&pt=ot.pos&&pt_.checkJsDirective.pos)&&(_.checkJsDirective={enabled:j==="ts-check",end:w.range.end,pos:w.range.pos})});break}case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:e.Debug.fail("Unhandled pragma kind")}})}e.processPragmasIntoFields=I;var Z=new e.Map;function z(_){if(Z.has(_))return Z.get(_);var d=new RegExp("(\\s".concat(_,`\\s*=\\s*)(?:(?:'([^']*)')|(?:"([^"]*)"))`),"im");return Z.set(_,d),d}var ie=/^\/\/\/\s*<(\S+)\s.*?\/>/im,m=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im;function A(_,d,E){var j=d.kind===2&&ie.exec(E);if(j){var B=j[1].toLowerCase(),W=e.commentPragmas[B];if(!W||!(W.kind&1))return;if(W.args){for(var J={},M=0,pe=W.args;M=qn.length)break;var Fr=rr;if(qn.charCodeAt(Fr)===34){for(rr++;rr32;)rr++;xn.push(qn.substring(Fr,rr))}}Fn(xn)}}e.parseCommandLineWorker=y;function K($e,Ct,kt,en,mn,hn){if(en.isTSConfigOnly){var Pn=$e[Ct];Pn==="null"?(mn[en.name]=void 0,Ct++):en.type==="boolean"?Pn==="false"?(mn[en.name]=Je(en,!1,hn),Ct++):(Pn==="true"&&Ct++,hn.push(e.createCompilerDiagnostic(e.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line,en.name))):(hn.push(e.createCompilerDiagnostic(e.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line,en.name)),Pn&&!e.startsWith(Pn,"-")&&Ct++)}else if(!$e[Ct]&&en.type!=="boolean"&&hn.push(e.createCompilerDiagnostic(kt.optionTypeMismatchDiagnostic,en.name,V(en))),$e[Ct]!=="null")switch(en.type){case"number":mn[en.name]=Je(en,parseInt($e[Ct]),hn),Ct++;break;case"boolean":var Pn=$e[Ct];mn[en.name]=Je(en,Pn!=="false",hn),(Pn==="false"||Pn==="true")&&Ct++;break;case"string":mn[en.name]=Je(en,$e[Ct]||"",hn),Ct++;break;case"list":var Fn=le(en,$e[Ct],hn);mn[en.name]=Fn||[],Fn&&Ct++;break;default:mn[en.name]=se(en,$e[Ct],hn),Ct++;break}else mn[en.name]=void 0,Ct++;return Ct}e.compilerOptionsDidYouMeanDiagnostics={alternateMode:ue,getOptionsNameMap:G,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 ce($e,Ct){return y(e.compilerOptionsDidYouMeanDiagnostics,$e,Ct)}e.parseCommandLine=ce;function Y($e,Ct){return re(G,$e,Ct)}e.getOptionFromName=Y;function re($e,Ct,kt){kt===void 0&&(kt=!1),Ct=Ct.toLowerCase();var en=$e(),mn=en.optionsNameMap,hn=en.shortOptionNames;if(kt){var Pn=hn.get(Ct);Pn!==void 0&&(Ct=Pn)}return mn.get(Ct)}var F;function O(){return F||(F=r(e.buildOpts))}var Q={diagnostic:e.Diagnostics.Compiler_option_0_may_not_be_used_with_build,getOptionsNameMap:G},de={alternateMode:Q,getOptionsNameMap:O,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 $($e){var Ct=y(de,$e),kt=Ct.options,en=Ct.watchOptions,mn=Ct.fileNames,hn=Ct.errors,Pn=kt;return mn.length===0&&mn.push("."),Pn.clean&&Pn.force&&hn.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","force")),Pn.clean&&Pn.verbose&&hn.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","verbose")),Pn.clean&&Pn.watch&&hn.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","watch")),Pn.watch&&Pn.dry&&hn.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"watch","dry")),{buildOptions:Pn,watchOptions:en,projects:mn,errors:hn}}e.parseBuildCommand=$;function I($e){for(var Ct=[],kt=1;kt=0)return Pn.push(e.createCompilerDiagnostic(e.Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0,tt(tt([],hn,!0),[Tn],!1).join(" -> "))),{raw:$e||R(Ct,Pn)};var qn=$e?We($e,kt,en,mn,Pn):Ft(Ct,kt,en,mn,Pn);if(!((An=qn.options)===null||An===void 0)&&An.paths&&(qn.options.pathsBasePath=en),qn.extendedConfigPath){hn=hn.concat([Tn]);var xn=Rt(Ct,qn.extendedConfigPath,kt,hn,Pn,Fn);if(xn&&fe(xn)){var rr=xn.raw,Fr=qn.raw,di,pi=function(Oi){!Fr[Oi]&&rr[Oi]&&(Fr[Oi]=e.map(rr[Oi],function(li){return e.isRootedDiskPath(li)?li:e.combinePaths(di||(di=e.convertToRelativePath(e.getDirectoryPath(qn.extendedConfigPath),en,e.createGetCanonicalFileName(kt.useCaseSensitiveFileNames))),li)}))};pi("include"),pi("exclude"),pi("files"),Fr.compileOnSave===void 0&&(Fr.compileOnSave=rr.compileOnSave),qn.options=e.assign({},xn.options,qn.options),qn.watchOptions=qn.watchOptions&&xn.watchOptions?e.assign({},xn.watchOptions,qn.watchOptions):qn.watchOptions||xn.watchOptions}}return qn}function We($e,Ct,kt,en,mn){e.hasProperty($e,"excludes")&&mn.push(e.createCompilerDiagnostic(e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude));var hn=Gt($e.compilerOptions,kt,mn,en),Pn=Zt($e.typeAcquisition||$e.typingOptions,kt,mn,en),Fn=kn($e.watchOptions,kt,mn);$e.compileOnSave=Et($e,kt,mn);var An;if($e.extends)if(!e.isString($e.extends))mn.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"extends","string"));else{var Tn=en?At(en,kt):kt;An=Lt($e.extends,Ct,Tn,mn,e.createCompilerDiagnostic)}return{raw:$e,options:hn,watchOptions:Fn,typeAcquisition:Pn,extendedConfigPath:An}}function Ft($e,Ct,kt,en,mn){var hn=yt(en),Pn,Fn,An,Tn,qn,xn={onSetValidOptionKeyValueInParent:function(Fr,di,pi){var Oi;switch(Fr){case"compilerOptions":Oi=hn;break;case"watchOptions":Oi=An||(An={});break;case"typeAcquisition":Oi=Pn||(Pn=rn(en));break;case"typingOptions":Oi=Fn||(Fn=rn(en));break;default:e.Debug.fail("Unknown option")}Oi[di.name]=Ze(di,kt,pi)},onSetValidOptionKeyValueInRoot:function(Fr,di,pi,Oi){switch(Fr){case"extends":var li=en?At(en,kt):kt;Tn=Lt(pi,Ct,li,mn,function(lr,In){return e.createDiagnosticForNodeInSourceFile($e,Oi,lr,In)});return}},onSetUnknownOptionKeyValueInRoot:function(Fr,di,pi,Oi){Fr==="excludes"&&mn.push(e.createDiagnosticForNodeInSourceFile($e,di,e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude)),e.find(P,function(li){return li.name===Fr})&&(qn=e.append(qn,di))}},rr=w($e,mn,!0,xn);return Pn||(Fn?Pn=Fn.enableAutoDiscovery!==void 0?{enable:Fn.enableAutoDiscovery,include:Fn.include,exclude:Fn.exclude}:Fn:Pn=rn(en)),qn&&rr&&rr.compilerOptions===void 0&&mn.push(e.createDiagnosticForNodeInSourceFile($e,qn[0],e.Diagnostics._0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file,e.getTextOfPropertyName(qn[0]))),{raw:rr,options:hn,watchOptions:An,typeAcquisition:Pn,extendedConfigPath:Tn}}function Lt($e,Ct,kt,en,mn){if($e=e.normalizeSlashes($e),e.isRootedDiskPath($e)||e.startsWith($e,"./")||e.startsWith($e,"../")){var hn=e.getNormalizedAbsolutePath($e,kt);if(!Ct.fileExists(hn)&&!e.endsWith(hn,".json")&&(hn="".concat(hn,".json"),!Ct.fileExists(hn))){en.push(mn(e.Diagnostics.File_0_not_found,$e));return}return hn}var Pn=e.nodeModuleNameResolver($e,e.combinePaths(kt,"tsconfig.json"),{moduleResolution:e.ModuleResolutionKind.NodeJs},Ct,void 0,void 0,!0);if(Pn.resolvedModule)return Pn.resolvedModule.resolvedFileName;en.push(mn(e.Diagnostics.File_0_not_found,$e))}function Rt($e,Ct,kt,en,mn,hn){var Pn,Fn=kt.useCaseSensitiveFileNames?Ct:e.toFileNameLowerCase(Ct),An,Tn,qn;if(hn&&(An=hn.get(Fn))?(Tn=An.extendedResult,qn=An.extendedConfig):(Tn=m(Ct,function(xn){return kt.readFile(xn)}),Tn.parseDiagnostics.length||(qn=Be(void 0,Tn,kt,e.getDirectoryPath(Ct),e.getBaseFileName(Ct),en,mn,hn)),hn&&hn.set(Fn,{extendedResult:Tn,extendedConfig:qn})),$e&&($e.extendedSourceFiles=[Tn.fileName],Tn.extendedSourceFiles&&(Pn=$e.extendedSourceFiles).push.apply(Pn,Tn.extendedSourceFiles)),Tn.parseDiagnostics.length){mn.push.apply(mn,Tn.parseDiagnostics);return}return qn}function Et($e,Ct,kt){if(!e.hasProperty($e,e.compileOnSaveCommandLineOption.name))return!1;var en=Sr(e.compileOnSaveCommandLineOption,$e.compileOnSave,Ct,kt);return typeof en=="boolean"&&en}function pn($e,Ct,kt){var en=[],mn=Gt($e,Ct,en,kt);return{options:mn,errors:en}}e.convertCompilerOptionsFromJson=pn;function he($e,Ct,kt){var en=[],mn=Zt($e,Ct,en,kt);return{options:mn,errors:en}}e.convertTypeAcquisitionFromJson=he;function yt($e){var Ct=$e&&e.getBaseFileName($e)==="jsconfig.json"?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0,noEmit:!0}:{};return Ct}function Gt($e,Ct,kt,en){var mn=yt(en);return Zn(j(),$e,Ct,mn,e.compilerOptionsDidYouMeanDiagnostics,kt),en&&(mn.configFilePath=e.normalizeSlashes(en)),mn}function rn($e){return{enable:!!$e&&e.getBaseFileName($e)==="jsconfig.json",include:[],exclude:[]}}function Zt($e,Ct,kt,en){var mn=rn(en),hn=h($e);return Zn(M(),hn,Ct,mn,C,kt),mn}function kn($e,Ct,kt){return Zn(W(),$e,Ct,void 0,d,kt)}function Zn($e,Ct,kt,en,mn,hn){if(Ct){for(var Pn in Ct){var Fn=$e.get(Pn);Fn?(en||(en={}))[Fn.name]=Sr(Fn,Ct[Pn],kt,hn):hn.push(b(Pn,mn,e.createCompilerDiagnostic))}return en}}function Sr($e,Ct,kt,en){if(Te($e,Ct)){var mn=$e.type;if(mn==="list"&&e.isArray(Ct))return zt($e,Ct,kt,en);if(!e.isString(mn))return Bt($e,Ct,en);var hn=Je($e,Ct,en);return st(hn)?hn:tn($e,kt,hn)}else en.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,$e.name,V($e)))}e.convertJsonOption=Sr;function Ze($e,Ct,kt){if(!st(kt)){if($e.type==="list"){var en=$e;return en.element.isFilePath||!e.isString(en.element.type)?e.filter(e.map(kt,function(mn){return Ze(en.element,Ct,mn)}),function(mn){return!!mn}):kt}else if(!e.isString($e.type))return $e.type.get(e.isString(kt)?kt.toLowerCase():kt);return tn($e,Ct,kt)}}function tn($e,Ct,kt){return $e.isFilePath&&(kt=e.getNormalizedAbsolutePath(kt,Ct),kt===""&&(kt=".")),kt}function Je($e,Ct,kt){var en;if(!st(Ct)){var mn=(en=$e.extraValidation)===null||en===void 0?void 0:en.call($e,Ct);if(!mn)return Ct;kt.push(e.createCompilerDiagnostic.apply(void 0,mn))}}function Bt($e,Ct,kt){if(!st(Ct)){var en=Ct.toLowerCase(),mn=$e.type.get(en);if(mn!==void 0)return Je($e,mn,kt);kt.push(S($e))}}function zt($e,Ct,kt,en){return e.filter(e.map(Ct,function(mn){return Sr($e.element,mn,kt,en)}),function(mn){return!!mn})}var Ve=/(^|\/)\*\*\/?$/,Nt=/^[^*?]*(?=\/[^/]*[*?])/;function Ge($e,Ct,kt,en,mn){mn===void 0&&(mn=e.emptyArray),Ct=e.normalizePath(Ct);var hn=e.createGetCanonicalFileName(en.useCaseSensitiveFileNames),Pn=new e.Map,Fn=new e.Map,An=new e.Map,Tn=$e.validatedFilesSpec,qn=$e.validatedIncludeSpecs,xn=$e.validatedExcludeSpecs,rr=e.getSupportedExtensions(kt,mn),Fr=e.getSupportedExtensionsWithJsonIfResolveJsonModule(kt,rr);if(Tn)for(var di=0,pi=Tn;di0)for(var In=function(Si){if(e.fileExtensionIs(Si,".json")){if(!lr){var _i=qn.filter(function(pr){return e.endsWith(pr,".json")}),Nn=e.map(e.getRegularExpressionsForWildcards(_i,Ct,"files"),function(pr){return"^".concat(pr,"$")});lr=Nn?Nn.map(function(pr){return e.getRegexFromPattern(pr,en.useCaseSensitiveFileNames)}):e.emptyArray}var Rn=e.findIndex(lr,function(pr){return pr.test(Si)});if(Rn!==-1){var Bn=hn(Si);!Pn.has(Bn)&&!An.has(Bn)&&An.set(Bn,Si)}return"continue"}if(ut(Si,Pn,Fn,rr,hn))return"continue";Qe(Si,Fn,rr,hn);var jt=hn(Si);!Pn.has(jt)&&!Fn.has(jt)&&Fn.set(jt,Si)},Qn=0,Yn=en.readDirectory(Ct,e.flatten(Fr),xn,qn,void 0);QnCt}function ee($e,Ct,kt,en){return xe($e,e.filter(Ct,function(mn){return!Le(mn)}),kt,en)}e.matchesExclude=ee;function xe($e,Ct,kt,en,mn){var hn=e.getRegularExpressionForWildcard(Ct,e.combinePaths(e.normalizePath(en),mn),"exclude"),Pn=hn&&e.getRegexFromPattern(hn,kt);return Pn?Pn.test($e)?!0:!e.hasExtension($e)&&Pn.test(e.ensureTrailingDirectorySeparator($e)):!1}function H($e,Ct,kt,en,mn){return $e.filter(function(Pn){if(!e.isString(Pn))return!1;var Fn=ae(Pn,kt);return Fn!==void 0&&Ct.push(hn.apply(void 0,Fn)),Fn===void 0});function hn(Pn,Fn){var An=e.getTsConfigPropArrayElementValue(en,mn,Fn);return An?e.createDiagnosticForNodeInSourceFile(en,An,Pn,Fn):e.createCompilerDiagnostic(Pn,Fn)}}function ae($e,Ct){if(Ct&&Ve.test($e))return[e.Diagnostics.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,$e];if(Le($e))return[e.Diagnostics.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,$e]}function Re($e,Ct,kt){var en=$e.validatedIncludeSpecs,mn=$e.validatedExcludeSpecs,hn=e.getRegularExpressionForWildcard(mn,Ct,"exclude"),Pn=hn&&new RegExp(hn,kt?"":"i"),Fn={};if(en!==void 0){for(var An=[],Tn=0,qn=en;Tn=0;hn--){var Pn=mn[hn];if(e.fileExtensionIs($e,Pn))return;var Fn=en(e.changeExtension($e,Pn));Ct.delete(Fn)}}function cn($e){var Ct={};for(var kt in $e)if($e.hasOwnProperty(kt)){var en=Y(kt);en!==void 0&&(Ct[kt]=vn($e[kt],en))}return Ct}e.convertCompilerOptionsForTelemetry=cn;function vn($e,Ct){switch(Ct.type){case"object":return"";case"string":return"";case"number":return typeof $e=="number"?$e:"";case"boolean":return typeof $e=="boolean"?$e:"";case"list":var kt=Ct.element;return e.isArray($e)?$e.map(function(en){return vn(en,kt)}):"";default:return e.forEachEntry(Ct.type,function(en,mn){if(en===$e)return mn})}}function Ut($e){switch($e.type){case"number":return 1;case"boolean":return!0;case"string":return $e.isFilePath?"./":"";case"list":return[];case"object":return{};default:var Ct=$e.type.keys().next();return Ct.done?e.Debug.fail("Expected 'option.type' to have entries."):Ct.value}}})(ne||(ne={}));var ne;(function(e){function a(Ge){Ge.trace(e.formatMessage.apply(void 0,arguments))}e.trace=a;function u(Ge,lt){return!!Ge.traceResolution&<.trace!==void 0}e.isTraceEnabled=u;function P(Ge,lt){var Le;if(lt&&Ge){var ee=Ge.packageJsonContent;typeof ee.name=="string"&&typeof ee.version=="string"&&(Le={name:ee.name,subModuleName:lt.path.slice(Ge.packageDirectory.length+e.directorySeparator.length),version:ee.version})}return lt&&{path:lt.path,extension:lt.ext,packageId:Le}}function r(Ge){return P(void 0,Ge)}function v(Ge){if(Ge)return e.Debug.assert(Ge.packageId===void 0),{path:Ge.path,ext:Ge.extension}}var G;(function(Ge){Ge[Ge.TypeScript=0]="TypeScript",Ge[Ge.JavaScript=1]="JavaScript",Ge[Ge.Json=2]="Json",Ge[Ge.TSConfig=3]="TSConfig",Ge[Ge.DtsOnly=4]="DtsOnly"})(G||(G={}));function ue(Ge){if(Ge)return e.Debug.assert(e.extensionIsTS(Ge.extension)),{fileName:Ge.path,packageId:Ge.packageId}}function h(Ge,lt,Le,ee){var xe;return ee?((xe=ee.failedLookupLocations).push.apply(xe,Le),ee):{resolvedModule:Ge&&{resolvedFileName:Ge.path,originalPath:Ge.originalPath===!0?void 0:Ge.originalPath,extension:Ge.extension,isExternalLibraryImport:lt,packageId:Ge.packageId},failedLookupLocations:Le}}function S(Ge,lt,Le,ee){if(!e.hasProperty(Ge,lt)){ee.traceEnabled&&a(ee.host,e.Diagnostics.package_json_does_not_have_a_0_field,lt);return}var xe=Ge[lt];if(typeof xe!==Le||xe===null){ee.traceEnabled&&a(ee.host,e.Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2,lt,Le,xe===null?"null":typeof xe);return}return xe}function k(Ge,lt,Le,ee){var xe=S(Ge,lt,"string",ee);if(xe!==void 0){if(!xe){ee.traceEnabled&&a(ee.host,e.Diagnostics.package_json_had_a_falsy_0_field,lt);return}var H=e.normalizePath(e.combinePaths(Le,xe));return ee.traceEnabled&&a(ee.host,e.Diagnostics.package_json_has_0_field_1_that_references_2,lt,xe,H),H}}function se(Ge,lt,Le){return k(Ge,"typings",lt,Le)||k(Ge,"types",lt,Le)}function le(Ge,lt,Le){return k(Ge,"tsconfig",lt,Le)}function f(Ge,lt,Le){return k(Ge,"main",lt,Le)}function b(Ge,lt){var Le=S(Ge,"typesVersions","object",lt);if(Le!==void 0)return lt.traceEnabled&&a(lt.host,e.Diagnostics.package_json_has_a_typesVersions_field_with_version_specific_path_mappings),Le}function y(Ge,lt){var Le=b(Ge,lt);if(Le!==void 0){if(lt.traceEnabled)for(var ee in Le)e.hasProperty(Le,ee)&&!e.VersionRange.tryParse(ee)&&a(lt.host,e.Diagnostics.package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range,ee);var xe=ce(Le);if(!xe){lt.traceEnabled&&a(lt.host,e.Diagnostics.package_json_does_not_have_a_typesVersions_entry_that_matches_version_0,e.versionMajorMinor);return}var H=xe.version,ae=xe.paths;if(typeof ae!="object"){lt.traceEnabled&&a(lt.host,e.Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2,"typesVersions['".concat(H,"']"),"object",typeof ae);return}return xe}}var K;function ce(Ge){K||(K=new e.Version(e.version));for(var lt in Ge)if(e.hasProperty(Ge,lt)){var Le=e.VersionRange.tryParse(lt);if(Le!==void 0&&Le.test(K))return{version:lt,paths:Ge[lt]}}}e.getPackageJsonTypesVersionsPaths=ce;function Y(Ge,lt){if(Ge.typeRoots)return Ge.typeRoots;var Le;if(Ge.configFilePath?Le=e.getDirectoryPath(Ge.configFilePath):lt.getCurrentDirectory&&(Le=lt.getCurrentDirectory()),Le!==void 0)return re(Le,lt)}e.getEffectiveTypeRoots=Y;function re(Ge,lt){if(!lt.directoryExists)return[e.combinePaths(Ge,F)];var Le;return e.forEachAncestorDirectory(e.normalizePath(Ge),function(ee){var xe=e.combinePaths(ee,F);lt.directoryExists(xe)&&(Le||(Le=[])).push(xe)}),Le}var F=e.combinePaths("node_modules","@types");function O(Ge,lt,Le){var ee=typeof Le.useCaseSensitiveFileNames=="function"?Le.useCaseSensitiveFileNames():Le.useCaseSensitiveFileNames;return e.comparePaths(Ge,lt,!ee)===0}function Q(Ge,lt,Le,ee,xe,H){var ae=u(Le,ee);xe&&(Le=xe.commandLine.options);var Re=lt?e.getDirectoryPath(lt):void 0,it=Re?H&&H.getOrCreateCacheForDirectory(Re,xe):void 0,ut=it&&it.get(Ge,void 0);if(ut)return ae&&(a(ee,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_1,Ge,lt),xe&&a(ee,e.Diagnostics.Using_compiler_options_of_project_reference_redirect_0,xe.sourceFile.fileName),a(ee,e.Diagnostics.Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1,Ge,Re),Pn(ut)),ut;var Qe=Y(Le,ee);ae&&(lt===void 0?Qe===void 0?a(ee,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set,Ge):a(ee,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1,Ge,Qe):Qe===void 0?a(ee,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set,Ge,lt):a(ee,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_2,Ge,lt,Qe),xe&&a(ee,e.Diagnostics.Using_compiler_options_of_project_reference_redirect_0,xe.sourceFile.fileName));var cn=[],vn=de(Le),Ut={compilerOptions:Le,host:ee,traceEnabled:ae,failedLookupLocations:cn,packageJsonInfoCache:H,features:vn,conditions:["node","require","types"]},$e=Fn(),Ct=!0;$e||($e=An(),Ct=!1);var kt;if($e){var en=$e.fileName,mn=$e.packageId,hn=Le.preserveSymlinks?en:pt(en,ee,ae);kt={primary:Ct,resolvedFileName:hn,originalPath:O(en,hn,ee)?void 0:en,packageId:mn,isExternalLibraryImport:Fe(en)}}return ut={resolvedTypeReferenceDirective:kt,failedLookupLocations:cn},it==null||it.set(Ge,void 0,ut),ae&&Pn(ut),ut;function Pn(Tn){var qn;!((qn=Tn.resolvedTypeReferenceDirective)===null||qn===void 0)&&qn.resolvedFileName?Tn.resolvedTypeReferenceDirective.packageId?a(ee,e.Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3,Ge,Tn.resolvedTypeReferenceDirective.resolvedFileName,e.packageIdToString(Tn.resolvedTypeReferenceDirective.packageId),Tn.resolvedTypeReferenceDirective.primary):a(ee,e.Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2,Ge,Tn.resolvedTypeReferenceDirective.resolvedFileName,Tn.resolvedTypeReferenceDirective.primary):a(ee,e.Diagnostics.Type_reference_directive_0_was_not_resolved,Ge)}function Fn(){if(Qe&&Qe.length)return ae&&a(ee,e.Diagnostics.Resolving_with_primary_search_path_0,Qe.join(", ")),e.firstDefined(Qe,function(Tn){var qn=e.combinePaths(Tn,Ge),xn=e.getDirectoryPath(qn),rr=e.directoryProbablyExists(xn,ee);return!rr&&ae&&a(ee,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,xn),ue(ft(G.DtsOnly,qn,!rr,Ut))});ae&&a(ee,e.Diagnostics.Root_directory_cannot_be_determined_skipping_primary_search_paths)}function An(){var Tn=lt&&e.getDirectoryPath(lt);if(Tn!==void 0){ae&&a(ee,e.Diagnostics.Looking_up_in_node_modules_folder_initial_location_0,Tn);var qn;if(e.isExternalModuleNameRelative(Ge)){var xn=e.normalizePathAndParts(e.combinePaths(Tn,Ge)).path;qn=Me(G.DtsOnly,xn,!1,Ut,!0)}else{var rr=pn(G.DtsOnly,Ge,Tn,Ut,void 0,void 0);qn=rr&&rr.value}return ue(qn)}else ae&&a(ee,e.Diagnostics.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder)}}e.resolveTypeReferenceDirective=Q;function de(Ge){return e.getEmitModuleResolutionKind(Ge)===e.ModuleResolutionKind.Node12?pe.Node12Default:e.getEmitModuleResolutionKind(Ge)===e.ModuleResolutionKind.NodeNext?pe.NodeNextDefault:pe.None}function $(Ge,lt,Le,ee,xe){var H={compilerOptions:Le,host:ee,traceEnabled:u(Le,ee),failedLookupLocations:[],packageJsonInfoCache:xe==null?void 0:xe.getPackageJsonInfoCache(),conditions:e.emptyArray,features:pe.None};return e.forEachAncestorDirectory(lt,function(ae){if(e.getBaseFileName(ae)!=="node_modules"){var Re=e.combinePaths(ae,"node_modules"),it=e.combinePaths(Re,Ge);return qt(it,!1,H)}})}e.resolvePackageNameToPackageJson=$;function I(Ge,lt){if(Ge.types)return Ge.types;var Le=[];if(lt.directoryExists&<.getDirectories){var ee=Y(Ge,lt);if(ee)for(var xe=0,H=ee;xe0);var ee={sourceFile:Ge.configFile,commandLine:{options:Ge}};lt.setOwnMap(lt.getOrCreateMapOfCacheRedirects(ee)),Le==null||Le.setOwnMap(Le.getOrCreateMapOfCacheRedirects(ee))}lt.setOwnOptions(Ge),Le==null||Le.setOwnOptions(Ge)}}function A(Ge,lt,Le){return{getOrCreateCacheForDirectory:H,clear:ee,update:xe};function ee(){Le.clear()}function xe(ae){m(ae,Le)}function H(ae,Re){var it=e.toPath(ae,Ge,lt);return ie(Le,Re,it,function(){return g()})}}function g(){var Ge=new e.Map,lt=new e.Map,Le={get:function(xe,H){return Ge.get(ee(xe,H))},set:function(xe,H,ae){return Ge.set(ee(xe,H),ae),Le},delete:function(xe,H){return Ge.delete(ee(xe,H)),Le},has:function(xe,H){return Ge.has(ee(xe,H))},forEach:function(xe){return Ge.forEach(function(H,ae){var Re=lt.get(ae),it=Re[0],ut=Re[1];return xe(H,it,ut)})},size:function(){return Ge.size}};return Le;function ee(xe,H){var ae=H===void 0?xe:"".concat(H,"|").concat(xe);return lt.set(ae,[xe,H]),ae}}e.createModeAwareCache=g;function C(Ge,lt,Le){e.Debug.assert(lt.length===Le.length);for(var ee=g(),xe=0;xe=0||Ut.indexOf(".")>=0||Ut.indexOf("node_modules")>=0)return!1;var $e=e.combinePaths(Ge.packageDirectory,Qe),Ct=e.getNormalizedAbsolutePath($e,(vn=(cn=Le.host).getCurrentDirectory)===null||vn===void 0?void 0:vn.call(cn)),kt=Ce(ee,Ct,!1,Le);if(kt)return xe=e.appendIfUnique(xe,kt,function(Fn,An){return Fn.path===An.path}),!0}else if(Array.isArray(Qe))for(var en=0,mn=Qe;en0;){var ae=qt(e.getPathFromPathComponents(H),!1,xe);if(ae)return ae;H.pop()}}e.getPackageScopeForPath=At;function qt(Ge,lt,Le){var ee,xe,H,ae=Le.host,Re=Le.traceEnabled,it=e.combinePaths(Ge,"package.json");if(lt){Le.failedLookupLocations.push(it);return}var ut=(ee=Le.packageJsonInfoCache)===null||ee===void 0?void 0:ee.getPackageJsonInfo(it);if(ut!==void 0){if(typeof ut!="boolean")return Re&&a(ae,e.Diagnostics.File_0_exists_according_to_earlier_cached_lookups,it),ut;ut&&Re&&a(ae,e.Diagnostics.File_0_does_not_exist_according_to_earlier_cached_lookups,it),Le.failedLookupLocations.push(it);return}var Qe=e.directoryProbablyExists(Ge,ae);if(Qe&&ae.fileExists(it)){var cn=e.readJson(it,ae);Re&&a(ae,e.Diagnostics.Found_package_json_at_0,it);var vn=y(cn,Le),Ut={packageDirectory:Ge,packageJsonContent:cn,versionPaths:vn,resolvedEntrypoints:void 0};return(xe=Le.packageJsonInfoCache)===null||xe===void 0||xe.setPackageJsonInfo(it,Ut),Ut}else Qe&&Re&&a(ae,e.Diagnostics.File_0_does_not_exist,it),(H=Le.packageJsonInfoCache)===null||H===void 0||H.setPackageJsonInfo(it,Qe),Le.failedLookupLocations.push(it)}e.getPackageJsonInfo=qt;function Ue(Ge,lt,Le,ee,xe,H){var ae;if(xe)switch(Ge){case G.JavaScript:case G.Json:ae=f(xe,lt,ee);break;case G.TypeScript:ae=se(xe,lt,ee)||f(xe,lt,ee);break;case G.DtsOnly:ae=se(xe,lt,ee);break;case G.TSConfig:ae=le(xe,lt,ee);break;default:return e.Debug.assertNever(Ge)}var Re=function($e,Ct,kt,en){var mn=ze(Ct,kt,en);if(mn){var hn=Ie($e,mn);if(hn)return r(hn);en.traceEnabled&&a(en.host,e.Diagnostics.File_0_has_an_unsupported_extension_so_skipping_it,mn)}var Pn=$e===G.DtsOnly?G.TypeScript:$e;return Me(Pn,Ct,kt,en,!1)},it=ae?!e.directoryProbablyExists(e.getDirectoryPath(ae),ee.host):void 0,ut=Le||!e.directoryProbablyExists(lt,ee.host),Qe=e.combinePaths(lt,Ge===G.TSConfig?"tsconfig":"index");if(H&&(!ae||e.containsPath(lt,ae))){var cn=e.getRelativePathFromDirectory(lt,ae||Qe,!1);ee.traceEnabled&&a(ee.host,e.Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,H.version,e.version,cn);var vn=Zt(Ge,cn,lt,H.paths,void 0,Re,it||ut,ee);if(vn)return v(vn.value)}var Ut=ae&&v(Re(Ge,ae,it,ee));if(Ut)return Ut;if(!(ee.features&pe.EsmMode))return be(Ge,Qe,ut,ee)}function Ie(Ge,lt){var Le=e.tryGetExtensionFromPath(lt);return Le!==void 0&&Ht(Ge,Le)?{path:lt,ext:Le}:void 0}function Ht(Ge,lt){switch(Ge){case G.JavaScript:return lt===".js"||lt===".jsx";case G.TSConfig:case G.Json:return lt===".json";case G.TypeScript:return lt===".ts"||lt===".tsx"||lt===".d.ts";case G.DtsOnly:return lt===".d.ts"}}function _t(Ge){var lt=Ge.indexOf(e.directorySeparator);return Ge[0]==="@"&&(lt=Ge.indexOf(e.directorySeparator,lt+1)),lt===-1?{packageName:Ge,rest:""}:{packageName:Ge.slice(0,lt),rest:Ge.slice(lt+1)}}e.parsePackageName=_t;function It(Ge){return e.every(e.getOwnKeys(Ge),function(lt){return e.startsWith(lt,".")})}e.allKeysStartWithDot=It;function fe(Ge){return!e.some(e.getOwnKeys(Ge),function(lt){return e.startsWith(lt,".")})}function Be(Ge,lt,Le,ee,xe,H){var ae,Re,it=typeof ee.host.useCaseSensitiveFileNames=="function"?ee.host.useCaseSensitiveFileNames():ee.host.useCaseSensitiveFileNames,ut=e.toPath(e.combinePaths(Le,"dummy"),(Re=(ae=ee.host).getCurrentDirectory)===null||Re===void 0?void 0:Re.call(ae),e.createGetCanonicalFileName(it===void 0?!0:it)),Qe=At(ut,ee.packageJsonInfoCache,ee.host,ee.compilerOptions);if(!(!Qe||!Qe.packageJsonContent.exports)&&typeof Qe.packageJsonContent.name=="string"){var cn=e.getPathComponents(lt),vn=e.getPathComponents(Qe.packageJsonContent.name);if(e.every(vn,function($e,Ct){return cn[Ct]===$e})){var Ut=cn.slice(vn.length);return We(Qe,Ge,e.length(Ut)?".".concat(e.directorySeparator).concat(Ut.join(e.directorySeparator)):".",ee,xe,H)}}}function We(Ge,lt,Le,ee,xe,H){if(Ge.packageJsonContent.exports){if(Le==="."){var ae=void 0;if(typeof Ge.packageJsonContent.exports=="string"||Array.isArray(Ge.packageJsonContent.exports)||typeof Ge.packageJsonContent.exports=="object"&&fe(Ge.packageJsonContent.exports)?ae=Ge.packageJsonContent.exports:e.hasProperty(Ge.packageJsonContent.exports,".")&&(ae=Ge.packageJsonContent.exports["."]),ae){var Re=Rt(lt,ee,xe,H,Le,Ge,!1);return Re(ae,"",!1)}}else if(It(Ge.packageJsonContent.exports)){if(typeof Ge.packageJsonContent.exports!="object")return ee.traceEnabled&&a(ee.host,e.Diagnostics.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,Le,Ge.packageDirectory),Nt(void 0);var it=Lt(lt,ee,xe,H,Le,Ge.packageJsonContent.exports,Ge,!1);if(it)return it}return ee.traceEnabled&&a(ee.host,e.Diagnostics.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,Le,Ge.packageDirectory),Nt(void 0)}}function Ft(Ge,lt,Le,ee,xe,H){var ae,Re;if(lt==="#"||e.startsWith(lt,"#/"))return ee.traceEnabled&&a(ee.host,e.Diagnostics.Invalid_import_specifier_0_has_no_possible_resolutions,lt),Nt(void 0);var it=typeof ee.host.useCaseSensitiveFileNames=="function"?ee.host.useCaseSensitiveFileNames():ee.host.useCaseSensitiveFileNames,ut=e.toPath(e.combinePaths(Le,"dummy"),(Re=(ae=ee.host).getCurrentDirectory)===null||Re===void 0?void 0:Re.call(ae),e.createGetCanonicalFileName(it===void 0?!0:it)),Qe=At(ut,ee.packageJsonInfoCache,ee.host,ee.compilerOptions);if(!Qe)return ee.traceEnabled&&a(ee.host,e.Diagnostics.Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve,ut),Nt(void 0);if(!Qe.packageJsonContent.imports)return ee.traceEnabled&&a(ee.host,e.Diagnostics.package_json_scope_0_has_no_imports_defined,Qe.packageDirectory),Nt(void 0);var cn=Lt(Ge,ee,xe,H,lt,Qe.packageJsonContent.imports,Qe,!0);return cn||(ee.traceEnabled&&a(ee.host,e.Diagnostics.Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1,lt,Qe.packageDirectory),Nt(void 0))}function Lt(Ge,lt,Le,ee,xe,H,ae,Re){var it=Rt(Ge,lt,Le,ee,xe,ae,Re);if(!e.endsWith(xe,e.directorySeparator)&&xe.indexOf("*")===-1&&e.hasProperty(H,xe)){var ut=H[xe];return it(ut,"",!1)}for(var Qe=e.sort(e.filter(e.getOwnKeys(H),function(en){return en.indexOf("*")!==-1||e.endsWith(en,"/")}),function(en,mn){return en.length-mn.length}),cn=0,vn=Qe;cn0&&!e.endsWith(it,"/"))return lt.traceEnabled&&a(lt.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,H.packageDirectory,xe),Nt(void 0);if(!e.startsWith(it,"./")){if(ae&&!e.startsWith(it,"../")&&!e.startsWith(it,"/")&&!e.isRootedDiskPath(it)){var Ut=Qe?it.replace(/\*/g,ut):it+ut,$e=et(lt.features,Ut,H.packageDirectory+"/",lt.compilerOptions,lt.host,Le,[Ge],ee);return Nt($e.resolvedModule?{path:$e.resolvedModule.resolvedFileName,extension:$e.resolvedModule.extension,packageId:$e.resolvedModule.packageId,originalPath:$e.resolvedModule.originalPath}:void 0)}return lt.traceEnabled&&a(lt.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,H.packageDirectory,xe),Nt(void 0)}var Ct=e.pathIsRelative(it)?e.getPathComponents(it).slice(1):e.getPathComponents(it),kt=Ct.slice(1);if(kt.indexOf("..")>=0||kt.indexOf(".")>=0||kt.indexOf("node_modules")>=0)return lt.traceEnabled&&a(lt.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,H.packageDirectory,xe),Nt(void 0);var en=e.combinePaths(H.packageDirectory,it),mn=e.getPathComponents(ut);if(mn.indexOf("..")>=0||mn.indexOf(".")>=0||mn.indexOf("node_modules")>=0)return lt.traceEnabled&&a(lt.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,H.packageDirectory,xe),Nt(void 0);var hn=e.getNormalizedAbsolutePath(Qe?en.replace(/\*/g,ut):en+ut,(vn=(cn=lt.host).getCurrentDirectory)===null||vn===void 0?void 0:vn.call(cn));return Nt(P(H,Ce(Ge,hn,!1,lt)))}else if(typeof it=="object"&&it!==null)if(Array.isArray(it)){if(!e.length(it))return lt.traceEnabled&&a(lt.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,H.packageDirectory,xe),Nt(void 0);for(var Pn=0,Fn=it;Pn=0||Et(lt.conditions,xn)){var rr=it[xn],$e=Re(rr,ut,Qe);if($e)return $e}}return}else if(it===null)return lt.traceEnabled&&a(lt.host,e.Diagnostics.package_json_scope_0_explicitly_maps_specifier_1_to_null,H.packageDirectory,xe),Nt(void 0);return lt.traceEnabled&&a(lt.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,H.packageDirectory,xe),Nt(void 0)}}function Et(Ge,lt){if(Ge.indexOf("types")===-1||!e.startsWith(lt,"types@"))return!1;var Le=e.VersionRange.tryParse(lt.substring(6));return Le?Le.test(e.version):!1}e.isApplicableVersionedTypesKey=Et;function pn(Ge,lt,Le,ee,xe,H){return yt(Ge,lt,Le,ee,!1,xe,H)}function he(Ge,lt,Le){return yt(G.DtsOnly,Ge,lt,Le,!0,void 0,void 0)}function yt(Ge,lt,Le,ee,xe,H,ae){var Re=H&&H.getOrCreateCacheForModuleName(lt,ee.features===0?void 0:ee.features&pe.EsmMode?e.ModuleKind.ESNext:e.ModuleKind.CommonJS,ae);return e.forEachAncestorDirectory(e.normalizeSlashes(Le),function(it){if(e.getBaseFileName(it)!=="node_modules"){var ut=Bt(Re,lt,it,ee);return ut||Nt(Gt(Ge,lt,it,ee,xe,H,ae))}})}function Gt(Ge,lt,Le,ee,xe,H,ae){var Re=e.combinePaths(Le,"node_modules"),it=e.directoryProbablyExists(Re,ee.host);!it&&ee.traceEnabled&&a(ee.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,Re);var ut=xe?void 0:rn(Ge,lt,Re,it,ee,H,ae);if(ut)return ut;if(Ge===G.TypeScript||Ge===G.DtsOnly){var Qe=e.combinePaths(Re,"@types"),cn=it;return it&&!e.directoryProbablyExists(Qe,ee.host)&&(ee.traceEnabled&&a(ee.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,Qe),cn=!1),rn(G.DtsOnly,Zn(lt,ee),Qe,cn,ee,H,ae)}}function rn(Ge,lt,Le,ee,xe,H,ae){var Re=e.normalizePath(e.combinePaths(Le,lt)),it=qt(Re,!ee,xe);if(!(xe.features&pe.Exports)&&it){var ut=be(Ge,Re,!ee,xe);if(ut)return r(ut);var Qe=Ue(Ge,Re,!ee,xe,it.packageJsonContent,it.versionPaths);return P(it,Qe)}var cn=_t(lt),vn=cn.packageName,Ut=cn.rest,$e=function(mn,hn,Pn,Fn){var An;if(it&&it.packageJsonContent.exports&&Fn.features&pe.Exports)return(An=We(it,mn,e.combinePaths(".",Ut),Fn,H,ae))===null||An===void 0?void 0:An.value;var Tn=be(mn,hn,Pn,Fn)||Ue(mn,hn,Pn,Fn,it&&it.packageJsonContent,it&&it.versionPaths);return P(it,Tn)};if(Ut!==""){var Ct=e.combinePaths(Le,vn);if(it=qt(Ct,!ee,xe),it&&it.versionPaths){xe.traceEnabled&&a(xe.host,e.Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,it.versionPaths.version,e.version,Ut);var kt=ee&&e.directoryProbablyExists(Ct,xe.host),en=Zt(Ge,Ut,Ct,it.versionPaths.paths,void 0,$e,!kt,xe);if(en)return en.value}}return $e(Ge,Re,!ee,xe)}function Zt(Ge,lt,Le,ee,xe,H,ae,Re){xe||(xe=e.tryParsePatterns(ee));var it=e.matchPatternOrExact(xe,lt);if(it){var ut=e.isString(it)?void 0:e.matchedText(it,lt),Qe=e.isString(it)?it:e.patternText(it);Re.traceEnabled&&a(Re.host,e.Diagnostics.Module_name_0_matched_pattern_1,lt,Qe);var cn=e.forEach(ee[Qe],function(vn){var Ut=ut?vn.replace("*",ut):vn,$e=e.normalizePath(e.combinePaths(Le,Ut));Re.traceEnabled&&a(Re.host,e.Diagnostics.Trying_substitution_0_candidate_module_location_Colon_1,vn,Ut);var Ct=e.tryGetExtensionFromPath(vn);if(Ct!==void 0){var kt=ze($e,ae,Re);if(kt!==void 0)return r({path:kt,ext:Ct})}return H(Ge,$e,ae||!e.directoryProbablyExists(e.getDirectoryPath($e),Re.host),Re)});return{value:cn}}}var kn="__";function Zn(Ge,lt){var Le=Ze(Ge);return lt.traceEnabled&&Le!==Ge&&a(lt.host,e.Diagnostics.Scoped_package_detected_looking_in_0,Le),Le}function Sr(Ge){return"@types/".concat(Ze(Ge))}e.getTypesPackageName=Sr;function Ze(Ge){if(e.startsWith(Ge,"@")){var lt=Ge.replace(e.directorySeparator,kn);if(lt!==Ge)return lt.slice(1)}return Ge}e.mangleScopedPackageName=Ze;function tn(Ge){var lt=e.removePrefix(Ge,"@types/");return lt!==Ge?Je(lt):Ge}e.getPackageNameFromTypesPackageName=tn;function Je(Ge){return e.stringContains(Ge,kn)?"@"+Ge.replace(kn,e.directorySeparator):Ge}e.unmangleScopedPackageName=Je;function Bt(Ge,lt,Le,ee){var xe=Ge&&Ge.get(Le);if(xe)return ee.traceEnabled&&a(ee.host,e.Diagnostics.Resolution_for_module_0_was_found_in_cache_from_location_1,lt,Le),ee.resultFromCache=xe,{value:xe.resolvedModule&&{path:xe.resolvedModule.resolvedFileName,originalPath:xe.resolvedModule.originalPath||!0,extension:xe.resolvedModule.extension,packageId:xe.resolvedModule.packageId}}}function zt(Ge,lt,Le,ee,xe,H){var ae=u(Le,ee),Re=[],it={compilerOptions:Le,host:ee,traceEnabled:ae,failedLookupLocations:Re,packageJsonInfoCache:xe,features:pe.None,conditions:[]},ut=e.getDirectoryPath(lt),Qe=cn(G.TypeScript)||cn(G.JavaScript);return h(Qe&&Qe.value,!1,Re,it.resultFromCache);function cn(vn){var Ut=j(vn,Ge,ut,ve,it);if(Ut)return{value:Ut};if(e.isExternalModuleNameRelative(Ge)){var $e=e.normalizePath(e.combinePaths(ut,Ge));return Nt(ve(vn,$e,!1,it))}else{var Ct=xe&&xe.getOrCreateCacheForModuleName(Ge,void 0,H),kt=e.forEachAncestorDirectory(ut,function(en){var mn=Bt(Ct,Ge,en,it);if(mn)return mn;var hn=e.normalizePath(e.combinePaths(en,Ge));return Nt(ve(vn,hn,!1,it))});if(kt)return kt;if(vn===G.TypeScript)return he(Ge,ut,it)}}}e.classicNameResolver=zt;function Ve(Ge,lt,Le,ee,xe,H){var ae=u(Le,ee);ae&&a(ee,e.Diagnostics.Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2,lt,Ge,xe);var Re=[],it={compilerOptions:Le,host:ee,traceEnabled:ae,failedLookupLocations:Re,packageJsonInfoCache:H,features:pe.None,conditions:[]},ut=Gt(G.DtsOnly,Ge,xe,it,!1,void 0,void 0);return h(ut,!0,Re,it.resultFromCache)}e.loadModuleFromGlobalCache=Ve;function Nt(Ge){return Ge!==void 0?{value:Ge}:void 0}})(ne||(ne={}));var ne;(function(e){(function(y){y[y.NonInstantiated=0]="NonInstantiated",y[y.Instantiated=1]="Instantiated",y[y.ConstEnumOnly=2]="ConstEnumOnly"})(e.ModuleInstanceState||(e.ModuleInstanceState={}));function a(y,K){return y.body&&!y.body.parent&&(e.setParent(y.body,y),e.setParentRecursive(y.body,!1)),y.body?u(y.body,K):1}e.getModuleInstanceState=a;function u(y,K){K===void 0&&(K=new e.Map);var ce=e.getNodeId(y);if(K.has(ce))return K.get(ce)||0;K.set(ce,void 0);var Y=P(y,K);return K.set(ce,Y),Y}function P(y,K){switch(y.kind){case 257:case 258:return 0;case 259:if(e.isEnumConst(y))return 2;break;case 265:case 264:if(!e.hasSyntacticModifier(y,1))return 0;break;case 271:var ce=y;if(!ce.moduleSpecifier&&ce.exportClause&&ce.exportClause.kind===272){for(var Y=0,re=0,F=ce.exportClause.elements;reY&&(Y=Q),Y===1)return Y}return Y}break;case 261:{var de=0;return e.forEachChild(y,function($){var I=u($,K);switch(I){case 0:return;case 2:de=2;return;case 1:return de=1,!0;default:e.Debug.assertNever(I)}}),de}case 260:return a(y,K);case 79:if(y.isInJSDocNamespace)return 0}return 1}function r(y,K){for(var ce=y.propertyName||y.name,Y=y.parent;Y;){if(e.isBlock(Y)||e.isModuleBlock(Y)||e.isSourceFile(Y)){for(var re=Y.statements,F=void 0,O=0,Q=re;OF)&&(F=$),F===1)return F}}if(F!==void 0)return F}Y=Y.parent}return 1}var v;(function(y){y[y.None=0]="None",y[y.IsContainer=1]="IsContainer",y[y.IsBlockScopedContainer=2]="IsBlockScopedContainer",y[y.IsControlFlowContainer=4]="IsControlFlowContainer",y[y.IsFunctionLike=8]="IsFunctionLike",y[y.IsFunctionExpression=16]="IsFunctionExpression",y[y.HasLocals=32]="HasLocals",y[y.IsInterface=64]="IsInterface",y[y.IsObjectLiteralOrClassExpressionMethodOrAccessor=128]="IsObjectLiteralOrClassExpressionMethodOrAccessor"})(v||(v={}));function G(y){return e.Debug.attachFlowNodeDebugInfo(y),y}var ue=S();function h(y,K){e.performance.mark("beforeBind"),e.perfLogger.logStartBindFile(""+y.fileName),ue(y,K),e.perfLogger.logStopBindFile(),e.performance.mark("afterBind"),e.performance.measure("Bind","beforeBind","afterBind")}e.bindSourceFile=h;function S(){var y,K,ce,Y,re,F,O,Q,de,$,I,Z,z,ie,m,A,g,C,N,_,d,E,j=!1,B=0,W,J,M={flags:1},pe={flags:1},Ne=ut();function w(ye,Jt,En,or,ii){return e.createDiagnosticForNodeInSourceFile(e.getSourceFileOfNode(ye)||y,ye,Jt,En,or,ii)}function R(ye,Jt){y=ye,K=Jt,ce=e.getEmitScriptTarget(K),E=L(y,Jt),J=new e.Set,B=0,W=e.objectAllocator.getSymbolConstructor(),e.Debug.attachFlowNodeDebugInfo(M),e.Debug.attachFlowNodeDebugInfo(pe),y.locals||(e.tracing===null||e.tracing===void 0||e.tracing.push("bind","bindSourceFile",{path:y.path},!0),ta(y),e.tracing===null||e.tracing===void 0||e.tracing.pop(),y.symbolCount=B,y.classifiableNames=J,_i()),y=void 0,K=void 0,ce=void 0,Y=void 0,re=void 0,F=void 0,O=void 0,Q=void 0,de=void 0,$=!1,I=void 0,Z=void 0,z=void 0,ie=void 0,m=void 0,A=void 0,g=void 0,N=void 0,_=!1,j=!1,d=0}return R;function L(ye,Jt){return e.getStrictOptionValue(Jt,"alwaysStrict")&&!ye.isDeclarationFile?!0:!!ye.externalModuleIndicator}function V(ye,Jt){return B++,new W(ye,Jt)}function Te(ye,Jt,En){ye.flags|=En,Jt.symbol=ye,ye.declarations=e.appendIfUnique(ye.declarations,Jt),En&1955&&!ye.exports&&(ye.exports=e.createSymbolTable()),En&6240&&!ye.members&&(ye.members=e.createSymbolTable()),ye.constEnumOnlyModule&&ye.flags&304&&(ye.constEnumOnlyModule=!1),En&111551&&e.setValueDeclaration(ye,Jt)}function Se(ye){if(ye.kind===270)return ye.isExportEquals?"export=":"default";var Jt=e.getNameOfDeclaration(ye);if(Jt){if(e.isAmbientModule(ye)){var En=e.getTextOfIdentifierOrLiteral(Jt);return e.isGlobalScopeAugmentation(ye)?"__global":'"'.concat(En,'"')}if(Jt.kind===161){var or=Jt.expression;if(e.isStringOrNumericLiteralLike(or))return e.escapeLeadingUnderscores(or.text);if(e.isSignedNumericLiteral(or))return e.tokenToString(or.operator)+or.operand.text;e.Debug.fail("Only computed properties with literal names have declaration names")}if(e.isPrivateIdentifier(Jt)){var ii=e.getContainingClass(ye);if(!ii)return;var je=ii.symbol;return e.getSymbolNameForPrivateIdentifier(je,Jt.escapedText)}return e.isPropertyNameLiteral(Jt)?e.getEscapedTextOfIdentifierOrLiteral(Jt):void 0}switch(ye.kind){case 170:return"__constructor";case 178:case 173:case 321:return"__call";case 179:case 174:return"__new";case 175:return"__index";case 271:return"__export";case 303:return"export=";case 220:if(e.getAssignmentDeclarationKind(ye)===2)return"export=";e.Debug.fail("Unknown binary declaration kind");break;case 315:return e.isJSDocConstructSignature(ye)?"__new":"__call";case 163:e.Debug.assert(ye.parent.kind===315,"Impossible parameter parent kind",function(){return"parent is: ".concat(e.SyntaxKind?e.SyntaxKind[ye.parent.kind]:ye.parent.kind,", expected JSDocFunctionType")});var un=ye.parent,Cr=un.parameters.indexOf(ye);return"arg"+Cr}}function we(ye){return e.isNamedDeclaration(ye)?e.declarationNameToString(ye.name):e.unescapeLeadingUnderscores(e.Debug.checkDefined(Se(ye)))}function He(ye,Jt,En,or,ii,je,un){e.Debug.assert(un||!e.hasDynamicName(En));var Cr=e.hasSyntacticModifier(En,512)||e.isExportSpecifier(En)&&En.name.escapedText==="default",aa=un?"__computed":Cr&&Jt?"default":Se(En),Mi;if(aa===void 0)Mi=V(0,"__missing");else if(Mi=ye.get(aa),or&2885600&&J.add(aa),!Mi)ye.set(aa,Mi=V(0,aa)),je&&(Mi.isReplaceableByMethod=!0);else{if(je&&!Mi.isReplaceableByMethod)return Mi;if(Mi.flags&ii){if(Mi.isReplaceableByMethod)ye.set(aa,Mi=V(0,aa));else if(!(or&3&&Mi.flags&67108864)){e.isNamedDeclaration(En)&&e.setParent(En.name,En);var ro=Mi.flags&2?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0,ms=!0;(Mi.flags&384||or&384)&&(ro=e.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations,ms=!1);var Ot=!1;e.length(Mi.declarations)&&(Cr||Mi.declarations&&Mi.declarations.length&&En.kind===270&&!En.isExportEquals)&&(ro=e.Diagnostics.A_module_cannot_have_multiple_default_exports,ms=!1,Ot=!0);var fc=[];e.isTypeAliasDeclaration(En)&&e.nodeIsMissing(En.type)&&e.hasSyntacticModifier(En,1)&&Mi.flags&2887656&&fc.push(w(En,e.Diagnostics.Did_you_mean_0,"export type { ".concat(e.unescapeLeadingUnderscores(En.name.escapedText)," }")));var Ac=e.getNameOfDeclaration(En)||En;e.forEach(Mi.declarations,function(Qo,Lc){var Rc=e.getNameOfDeclaration(Qo)||Qo,vu=w(Rc,ro,ms?we(Qo):void 0);y.bindDiagnostics.push(Ot?e.addRelatedInfo(vu,w(Ac,Lc===0?e.Diagnostics.Another_export_default_is_here:e.Diagnostics.and_here)):vu),Ot&&fc.push(w(Rc,e.Diagnostics.The_first_export_default_is_here))});var Mc=w(Ac,ro,ms?we(En):void 0);y.bindDiagnostics.push(e.addRelatedInfo.apply(void 0,tt([Mc],fc,!1))),Mi=V(0,aa)}}}return Te(Mi,En,or),Mi.parent?e.Debug.assert(Mi.parent===Jt,"Existing symbol parent should match new one"):Mi.parent=Jt,Mi}function et(ye,Jt,En){var or=!!(e.getCombinedModifierFlags(ye)&1)||pt(ye);if(Jt&2097152)return ye.kind===274||ye.kind===264&&or?He(re.symbol.exports,re.symbol,ye,Jt,En):He(re.locals,void 0,ye,Jt,En);if(e.isJSDocTypeAlias(ye)&&e.Debug.assert(e.isInJSFile(ye)),!e.isAmbientModule(ye)&&(or||re.flags&64)){if(!re.locals||e.hasSyntacticModifier(ye,512)&&!Se(ye))return He(re.symbol.exports,re.symbol,ye,Jt,En);var ii=Jt&111551?1048576:0,je=He(re.locals,void 0,ye,ii,En);return je.exportSymbol=He(re.symbol.exports,re.symbol,ye,Jt,En),ye.localSymbol=je,je}else return He(re.locals,void 0,ye,Jt,En)}function pt(ye){if(ye.parent&&e.isModuleDeclaration(ye)&&(ye=ye.parent),!e.isJSDocTypeAlias(ye))return!1;if(!e.isJSDocEnumTag(ye)&&!!ye.fullName)return!0;var Jt=e.getNameOfDeclaration(ye);return Jt?!!(e.isPropertyAccessEntityNameExpression(Jt.parent)&&da(Jt.parent)||e.isDeclaration(Jt.parent)&&e.getCombinedModifierFlags(Jt.parent)&1):!1}function Me(ye,Jt){var En=re,or=F,ii=O;if(Jt&1?(ye.kind!==213&&(F=re),re=O=ye,Jt&32&&(re.locals=e.createSymbolTable()),xn(re)):Jt&2&&(O=ye,O.locals=void 0),Jt&4){var je=I,un=Z,Cr=z,aa=ie,Mi=g,ro=N,ms=_,Ot=Jt&16&&!e.hasSyntacticModifier(ye,256)&&!ye.asteriskToken&&!!e.getImmediatelyInvokedFunctionExpression(ye);Ot||(I=G({flags:2}),Jt&144&&(I.node=ye)),ie=Ot||ye.kind===170||ye.kind===169||e.isInJSFile(ye)&&(ye.kind===255||ye.kind===212)?st():void 0,g=void 0,Z=void 0,z=void 0,N=void 0,_=!1,ve(ye),ye.flags&=-2817,!(I.flags&1)&&Jt&8&&e.nodeIsPresent(ye.body)&&(ye.flags|=256,_&&(ye.flags|=512),ye.endFlowNode=I),ye.kind===303&&(ye.flags|=d,ye.endFlowNode=I),ie&&(Ie(ie,I),I=Be(ie),(ye.kind===170||ye.kind===169||e.isInJSFile(ye)&&(ye.kind===255||ye.kind===212))&&(ye.returnFlowNode=I)),Ot||(I=je),Z=un,z=Cr,ie=aa,g=Mi,N=ro,_=ms}else Jt&64?($=!1,ve(ye),ye.flags=$?ye.flags|128:ye.flags&-129):ve(ye);re=En,F=or,O=ii}function Fe(ye){ot(ye,function(Jt){return Jt.kind===255?ta(Jt):void 0}),ot(ye,function(Jt){return Jt.kind!==255?ta(Jt):void 0})}function ot(ye,Jt){Jt===void 0&&(Jt=ta),ye!==void 0&&e.forEach(ye,Jt)}function ke(ye){e.forEachChild(ye,ta,ot)}function ve(ye){var Jt=j;if(j=!1,Bo(ye)){ke(ye),ls(ye),j=Jt;return}switch(ye.kind>=236&&ye.kind<=252&&!K.allowUnreachableCode&&(ye.flowNode=I),ye.kind){case 240:Gt(ye);break;case 239:rn(ye);break;case 241:Zt(ye);break;case 242:case 243:kn(ye);break;case 238:Zn(ye);break;case 246:case 250:Sr(ye);break;case 245:case 244:Je(ye);break;case 251:Bt(ye);break;case 248:zt(ye);break;case 262:Ve(ye);break;case 288:Nt(ye);break;case 237:Ge(ye);break;case 249:Le(ye);break;case 218:ae(ye);break;case 219:Re(ye);break;case 220:if(e.isDestructuringAssignment(ye)){j=Jt,it(ye);return}Ne(ye);break;case 214:Qe(ye);break;case 221:cn(ye);break;case 253:Ut(ye);break;case 205:case 206:An(ye);break;case 207:Tn(ye);break;case 229:Fn(ye);break;case 343:case 336:case 337:Ct(ye);break;case 303:{Fe(ye.statements),ta(ye.endOfFileToken);break}case 234:case 261:Fe(ye.statements);break;case 202:$e(ye);break;case 204:case 203:case 294:case 224:j=Jt;default:ke(ye);break}ls(ye),j=Jt}function be(ye){switch(ye.kind){case 79:case 80:case 108:case 205:case 206:return Ce(ye);case 207:return ge(ye);case 211:case 229:return be(ye.expression);case 220:return ft(ye);case 218:return ye.operator===53&&be(ye.operand);case 215:return be(ye.expression)}return!1}function Oe(ye){return e.isDottedName(ye)||(e.isPropertyAccessExpression(ye)||e.isNonNullExpression(ye)||e.isParenthesizedExpression(ye))&&Oe(ye.expression)||e.isBinaryExpression(ye)&&ye.operatorToken.kind===27&&Oe(ye.right)||e.isElementAccessExpression(ye)&&e.isStringOrNumericLiteralLike(ye.argumentExpression)&&Oe(ye.expression)||e.isAssignmentExpression(ye)&&Oe(ye.left)}function Ce(ye){return Oe(ye)||e.isOptionalChain(ye)&&Ce(ye.expression)}function ge(ye){if(ye.arguments)for(var Jt=0,En=ye.arguments;Jt=117&&ye.originalKeywordKind<=125?y.bindDiagnostics.push(w(ye,Rn(ye),e.declarationNameToString(ye))):ye.originalKeywordKind===132?e.isExternalModule(y)&&e.isInTopLevelContext(ye)?y.bindDiagnostics.push(w(ye,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module,e.declarationNameToString(ye))):ye.flags&32768&&y.bindDiagnostics.push(w(ye,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,e.declarationNameToString(ye))):ye.originalKeywordKind===125&&ye.flags&8192&&y.bindDiagnostics.push(w(ye,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,e.declarationNameToString(ye))))}function Rn(ye){return e.getContainingClass(ye)?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:y.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 Bn(ye){ye.escapedText==="#constructor"&&(y.parseDiagnostics.length||y.bindDiagnostics.push(w(ye,e.Diagnostics.constructor_is_a_reserved_word,e.declarationNameToString(ye))))}function jt(ye){E&&e.isLeftHandSideExpression(ye.left)&&e.isAssignmentOperator(ye.operatorToken.kind)&&Bi(ye,ye.left)}function pr(ye){E&&ye.variableDeclaration&&Bi(ye,ye.variableDeclaration.name)}function br(ye){if(E&&ye.expression.kind===79){var Jt=e.getErrorSpanForNode(y,ye.expression);y.bindDiagnostics.push(e.createFileDiagnostic(y,Jt.start,Jt.length,e.Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}function Ci(ye){return e.isIdentifier(ye)&&(ye.escapedText==="eval"||ye.escapedText==="arguments")}function Bi(ye,Jt){if(Jt&&Jt.kind===79){var En=Jt;if(Ci(En)){var or=e.getErrorSpanForNode(y,Jt);y.bindDiagnostics.push(e.createFileDiagnostic(y,or.start,or.length,Da(ye),e.idText(En)))}}}function Da(ye){return e.getContainingClass(ye)?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:y.externalModuleIndicator?e.Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode:e.Diagnostics.Invalid_use_of_0_in_strict_mode}function $i(ye){E&&Bi(ye,ye.name)}function Xt(ye){return e.getContainingClass(ye)?e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:y.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 ja(ye){if(ce<2&&O.kind!==303&&O.kind!==260&&!e.isFunctionLikeOrClassStaticBlockDeclaration(O)){var Jt=e.getErrorSpanForNode(y,ye);y.bindDiagnostics.push(e.createFileDiagnostic(y,Jt.start,Jt.length,Xt(ye)))}}function xa(ye){ce<1&&E&&ye.numericLiteralFlags&32&&y.bindDiagnostics.push(w(ye,e.Diagnostics.Octal_literals_are_not_allowed_in_strict_mode))}function so(ye){E&&Bi(ye,ye.operand)}function po(ye){E&&(ye.operator===45||ye.operator===46)&&Bi(ye,ye.operand)}function Ua(ye){E&&ao(ye,e.Diagnostics.with_statements_are_not_allowed_in_strict_mode)}function is(ye){E&&e.getEmitScriptTarget(K)>=2&&(e.isDeclarationStatement(ye.statement)||e.isVariableStatement(ye.statement))&&ao(ye.label,e.Diagnostics.A_label_is_not_allowed_here)}function ao(ye,Jt,En,or,ii){var je=e.getSpanOfTokenAtPosition(y,ye.pos);y.bindDiagnostics.push(e.createFileDiagnostic(y,je.start,je.length,Jt,En,or,ii))}function Mo(ye,Jt,En){xo(ye,Jt,Jt,En)}function xo(ye,Jt,En,or){as(ye,{pos:e.getTokenPosOfNode(Jt,y),end:En.end},or)}function as(ye,Jt,En){var or=e.createFileDiagnostic(y,Jt.pos,Jt.end-Jt.pos,En);ye?y.bindDiagnostics.push(or):y.bindSuggestionDiagnostics=e.append(y.bindSuggestionDiagnostics,Tt(Tt({},or),{category:e.DiagnosticCategory.Suggestion}))}function ta(ye){if(ye){e.setParent(ye,Y),e.tracing&&(ye.tracingPath=y.path);var Jt=E;if(pa(ye),ye.kind>159){var En=Y;Y=ye;var or=qn(ye);or===0?ve(ye):Me(ye,or),Y=En}else{var En=Y;ye.kind===1&&(Y=ye),ls(ye),Y=En}E=Jt}}function ls(ye){if(e.hasJSDocNodes(ye))if(e.isInJSFile(ye))for(var Jt=0,En=ye.jsDoc;Jt>",0,Re),Mo=Dl(void 0,void 0,void 0,e.emptyArray,Re,void 0,0,0),xo=Dl(void 0,void 0,void 0,e.emptyArray,Qe,void 0,0,0),as=Dl(void 0,void 0,void 0,e.emptyArray,Re,void 0,0,0),ta=Dl(void 0,void 0,void 0,e.emptyArray,In,void 0,0,0),ls=$l(Tn,An,!0),qo=new e.Map,bo={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=ud(Re,Re,Re),oo=ud(Re,Re,$e),Ro=ud(lr,Re,kt),jo={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:f4,getGlobalIterableType:p4,getGlobalIterableIteratorType:m4,getGlobalGeneratorType:g4,resolveIterationType:fm,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},_s={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:y4,getGlobalIterableType:xD,getGlobalIterableIteratorType:v4,getGlobalGeneratorType:h4,resolveIterationType:function(t,n){return t},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},ds,Fs=new e.Map,ec=!1,xt,Sn,fr,ai,gi,qe,D,De,Ke,nt,Mt,_n,Dn,Vn,mr,Xr,Pi,ji,da,fo,Ho,vs,ns,Os,qs,jn,ci,hi,fa,wa,eo,zi,Ia,Za,Do,Bo,ye,Jt,En,or,ii,je,un,Cr,aa=new e.Map,Mi=0,ro=0,ms=0,Ot=!1,fc=0,Ac,Mc,Qo,Lc=rl(""),Rc=M_(0),vu=P2({negative:!1,base10Value:"0"}),Vu=[],gl=[],So=[],hu=0,Hu=10,Fc=[],ol=[],sl=[],qi=[],Ml=[],Ll=[],eu=[],Kt=[],ln=[],Mn=[],ir=[],hr=[],Tr=[],Ur=[],ui=[],ia=[],Ti=e.createDiagnosticCollection(),Di=e.createDiagnosticCollection(),Xi=new e.Map(e.getEntries({string:An,number:Tn,bigint:qn,boolean:pi,symbol:Oi,undefined:kt})),Fo=up(),io,me,mt,Dt=new e.Map,Cn=new e.Map,Gn=new e.Map,qr=new e.Map,xi=new e.Map,ba=new e.Map,go=e.createSymbolTable();go.set(Rt.escapedName,Rt);var wo=[[".mts",".mjs"],[".ts",".js"],[".cts",".cjs"],[".mjs",".mjs"],[".js",".js"],[".cjs",".cjs"],[".tsx",Oe.jsx===1?".jsx":".js"],[".jsx",".jsx"],[".json",".json"]];return y9(),Gt;function yo(t){if(t){var n=e.getSourceFileOfNode(t);if(n)if(e.isJsxOpeningFragment(t)){if(n.localJsxFragmentNamespace)return n.localJsxFragmentNamespace;var i=n.pragmas.get("jsxfrag");if(i){var o=e.isArray(i)?i[0]:i;if(n.localJsxFragmentFactory=e.parseIsolatedEntityName(o.arguments.factory,Ce),e.visitNode(n.localJsxFragmentFactory,co),n.localJsxFragmentFactory)return n.localJsxFragmentNamespace=e.getFirstIdentifier(n.localJsxFragmentFactory).escapedText}var s=Jb(t);if(s)return n.localJsxFragmentFactory=s,n.localJsxFragmentNamespace=e.getFirstIdentifier(s).escapedText}else{var l=Ga(n);if(l)return n.localJsxNamespace=l}}return io||(io="React",Oe.jsxFactory?(me=e.parseIsolatedEntityName(Oe.jsxFactory,Ce),e.visitNode(me,co),me&&(io=e.getFirstIdentifier(me).escapedText)):Oe.reactNamespace&&(io=e.escapeLeadingUnderscores(Oe.reactNamespace))),me||(me=e.factory.createQualifiedName(e.factory.createIdentifier(e.unescapeLeadingUnderscores(io)),"createElement")),io}function Ga(t){if(t.localJsxNamespace)return t.localJsxNamespace;var n=t.pragmas.get("jsx");if(n){var i=e.isArray(n)?n[0]:n;if(t.localJsxFactory=e.parseIsolatedEntityName(i.arguments.factory,Ce),e.visitNode(t.localJsxFactory,co),t.localJsxFactory)return t.localJsxNamespace=e.getFirstIdentifier(t.localJsxFactory).escapedText}}function co(t){return e.setTextRangePosEnd(t,-1,-1),e.visitEachChild(t,co,e.nullTransformationContext)}function ps(t,n){return jk(t,n),We}function hs(t,n,i,o,s,l){var T=t?e.createDiagnosticForNode(t,n,i,o,s,l):e.createCompilerDiagnostic(n,i,o,s,l),U=Ti.lookup(T);return U||(Ti.add(T),T)}function Us(t,n,i,o,s,l,T){var U=Wt(n,i,o,s,l,T);return U.skippedOn=t,U}function wc(t,n,i,o,s,l){return t?e.createDiagnosticForNode(t,n,i,o,s,l):e.createCompilerDiagnostic(n,i,o,s,l)}function Wt(t,n,i,o,s,l){var T=wc(t,n,i,o,s,l);return Ti.add(T),T}function xu(t,n){t?Ti.add(n):Di.add(Tt(Tt({},n),{category:e.DiagnosticCategory.Suggestion}))}function fu(t,n,i,o,s,l,T){if(n.pos<0||n.end<0){if(!t)return;var U=e.getSourceFileOfNode(n);xu(t,"message"in i?e.createFileDiagnostic(U,0,0,i,o,s,l,T):e.createDiagnosticForFileFromMessageChain(U,i));return}xu(t,"message"in i?e.createDiagnosticForNode(n,i,o,s,l,T):e.createDiagnosticForNodeFromMessageChain(n,i))}function bu(t,n,i,o,s,l,T){var U=Wt(t,i,o,s,l,T);if(n){var _e=e.createDiagnosticForNode(t,e.Diagnostics.Did_you_forget_to_use_await);e.addRelatedInfo(U,_e)}return U}function tc(t,n){var i=Array.isArray(t)?e.forEach(t,e.getJSDocDeprecatedTag):e.getJSDocDeprecatedTag(t);return i&&e.addRelatedInfo(n,e.createDiagnosticForNode(i,e.Diagnostics.The_declaration_was_marked_as_deprecated_here)),Di.add(n),n}function Rl(t){return!!(Eh(t)&134217728)}function jl(t,n,i){var o=e.createDiagnosticForNode(t,e.Diagnostics._0_is_deprecated,i);return tc(n,o)}function bf(t,n,i,o){var s=i?e.createDiagnosticForNode(t,e.Diagnostics.The_signature_0_of_1_is_deprecated,o,i):e.createDiagnosticForNode(t,e.Diagnostics._0_is_deprecated,o);return tc(n,s)}function Co(t,n,i){He++;var o=new V(t|33554432,n);return o.checkFlags=i||0,o}function Hd(t){var n=0;return t&2&&(n|=111551),t&1&&(n|=111550),t&4&&(n|=0),t&8&&(n|=900095),t&16&&(n|=110991),t&32&&(n|=899503),t&64&&(n|=788872),t&256&&(n|=899327),t&128&&(n|=899967),t&512&&(n|=110735),t&8192&&(n|=103359),t&32768&&(n|=46015),t&65536&&(n|=78783),t&262144&&(n|=526824),t&524288&&(n|=788968),t&2097152&&(n|=2097152),n}function Gd(t,n){n.mergeId||(n.mergeId=v,v++),Fc[n.mergeId]=t}function Xs(t){var n=Co(t.flags,t.escapedName);return n.declarations=t.declarations?t.declarations.slice():[],n.parent=t.parent,t.valueDeclaration&&(n.valueDeclaration=t.valueDeclaration),t.constEnumOnlyModule&&(n.constEnumOnlyModule=!0),t.members&&(n.members=new e.Map(t.members)),t.exports&&(n.exports=new e.Map(t.exports)),Gd(n,t),n}function Au(t,n,i){if(i===void 0&&(i=!1),!(t.flags&Hd(n.flags))||(n.flags|t.flags)&67108864){if(n===t)return t;if(!(t.flags&33554432)){var o=os(t);if(o===ee)return n;t=Xs(o)}n.flags&512&&t.flags&512&&t.constEnumOnlyModule&&!n.constEnumOnlyModule&&(t.constEnumOnlyModule=!1),t.flags|=n.flags,n.valueDeclaration&&e.setValueDeclaration(t,n.valueDeclaration),e.addRange(t.declarations,n.declarations),n.members&&(t.members||(t.members=e.createSymbolTable()),Gu(t.members,n.members,i)),n.exports&&(t.exports||(t.exports=e.createSymbolTable()),Gu(t.exports,n.exports,i)),i||Gd(t,n)}else if(t.flags&1024)t!==Et&&Wt(n.declarations&&e.getNameOfDeclaration(n.declarations[0]),e.Diagnostics.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity,Zi(t));else{var s=!!(t.flags&384||n.flags&384),l=!!(t.flags&2||n.flags&2),T=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,U=n.declarations&&e.getSourceFileOfNode(n.declarations[0]),_e=t.declarations&&e.getSourceFileOfNode(t.declarations[0]),Ae=e.isPlainJsFile(U,Oe.checkJs),Ye=e.isPlainJsFile(_e,Oe.checkJs),Xe=Zi(n);if(U&&_e&&ds&&!s&&U!==_e){var ct=e.comparePaths(U.path,_e.path)===-1?U:_e,ht=ct===U?_e:U,Qt=e.getOrUpdate(ds,"".concat(ct.path,"|").concat(ht.path),function(){return{firstFile:ct,secondFile:ht,conflictingSymbols:new e.Map}}),sn=e.getOrUpdate(Qt.conflictingSymbols,Xe,function(){return{isBlockScoped:l,firstFileLocations:[],secondFileLocations:[]}});Ae||On(sn.firstFileLocations,n),Ye||On(sn.secondFileLocations,t)}else Ae||yl(n,T,Xe,t),Ye||yl(t,T,Xe,n)}return t;function On(Ln,Kn){if(Kn.declarations)for(var $n=0,ri=Kn.declarations;$n=5||e.some(l.relatedInformation,function(Qt){return e.compareDiagnostics(Qt,ht)===0||e.compareDiagnostics(Qt,ct)===0}))return"continue";e.addRelatedInfo(l,e.length(l.relatedInformation)?ht:ct)},U=0,_e=o||e.emptyArray;U<_e.length;U++){var Ae=_e[U];T(Ae)}}function vl(t,n){if(!(t!=null&&t.size))return n;if(!(n!=null&&n.size))return t;var i=e.createSymbolTable();return Gu(i,t),Gu(i,n),i}function Gu(t,n,i){i===void 0&&(i=!1),n.forEach(function(o,s){var l=t.get(s);t.set(s,l?Au(l,o,i):o)})}function nc(t){var n,i,o,s=t.parent;if(((n=s.symbol.declarations)===null||n===void 0?void 0:n[0])!==s){e.Debug.assert(s.symbol.declarations.length>1);return}if(e.isGlobalScopeAugmentation(s))Gu(Lt,s.symbol.exports);else{var l=t.parent.parent.flags&8388608?void 0:e.Diagnostics.Invalid_module_name_in_augmentation_module_0_cannot_be_found,T=sc(t,t,l,!0);if(!T)return;if(T=cc(T),T.flags&1920)if(e.some(Sn,function(Qt){return T===Qt.symbol})){var U=Au(s.symbol,T,!0);fr||(fr=new e.Map),fr.set(t.text,U)}else{if(((i=T.exports)===null||i===void 0?void 0:i.get("__export"))&&((o=s.symbol.exports)===null||o===void 0?void 0:o.size))for(var _e=ng(T,"resolvedExports"),Ae=0,Ye=e.arrayFrom(s.symbol.exports.entries());AeXe.end)return!1;var Qt=e.findAncestor(ct,function(sn){if(sn===Xe)return"quit";switch(sn.kind){case 213:return!0;case 166:return ht&&(e.isPropertyDeclaration(Xe)&&sn.parent===Xe.parent||e.isParameterPropertyDeclaration(Xe,Xe.parent)&&sn.parent===Xe.parent.parent)?"quit":!0;case 234:switch(sn.parent.kind){case 171:case 168:case 172:return!0;default:return!1}default:return!1}});return Qt===void 0}}function Qd(t,n,i){var o=e.getEmitScriptTarget(Oe),s=n;if(e.isParameter(i)&&s.body&&t.valueDeclaration&&t.valueDeclaration.pos>=s.body.pos&&t.valueDeclaration.end<=s.body.end&&o>=2){var l=Ni(s);return l.declarationRequiresScopeChange===void 0&&(l.declarationRequiresScopeChange=e.forEach(s.parameters,T)||!1),!l.declarationRequiresScopeChange}return!1;function T(_e){return U(_e.name)||!!_e.initializer&&U(_e.initializer)}function U(_e){switch(_e.kind){case 213:case 212:case 255:case 170:return!1;case 168:case 171:case 172:case 294:return U(_e.name);case 166:return e.hasStaticModifier(_e)?o<99||!ze:U(_e.name);default:return e.isNullishCoalesce(_e)||e.isOptionalChain(_e)?o<7:e.isBindingElement(_e)&&_e.dotDotDotToken&&e.isObjectBindingPattern(_e.parent)?o<4:e.isTypeNode(_e)?!1:e.forEachChild(_e,U)||!1}}}function gs(t,n,i,o,s,l,T,U){return T===void 0&&(T=!1),U===void 0&&(U=!0),_d(t,n,i,o,s,l,T,U,Wc)}function _d(t,n,i,o,s,l,T,U,_e){var Ae,Ye,Xe,ct=t,ht,Qt,sn,On,Ln,Kn=!1,$n=t,ri,dr=!1;e:for(;t;){if(t.locals&&!cl(t)&&(ht=_e(t.locals,n,i))){var Li=!0;if(e.isFunctionLike(t)&&Qt&&Qt!==t.body?(i&ht.flags&788968&&Qt.kind!==318&&(Li=ht.flags&262144?Qt===t.type||Qt.kind===163||Qt.kind===338||Qt.kind===339||Qt.kind===162:!1),i&ht.flags&3&&(Qd(ht,t,Qt)?Li=!1:ht.flags&1&&(Li=Qt.kind===163||Qt===t.type&&!!e.findAncestor(ht.valueDeclaration,e.isParameter)))):t.kind===188&&(Li=Qt===t.trueType),Li)break e;ht=void 0}switch(Kn=Kn||dd(t,Qt),t.kind){case 303:if(!e.isExternalOrCommonJsModule(t))break;dr=!0;case 260:var vi=((Ae=Lr(t))===null||Ae===void 0?void 0:Ae.exports)||ve;if(t.kind===303||e.isModuleDeclaration(t)&&t.flags&8388608&&!e.isGlobalScopeAugmentation(t)){if(ht=vi.get("default")){var Ea=e.getLocalSymbolForExportDefault(ht);if(Ea&&ht.flags&i&&Ea.escapedName===n)break e;ht=void 0}var Ui=vi.get(n);if(Ui&&Ui.flags===2097152&&(e.getDeclarationOfKind(Ui,274)||e.getDeclarationOfKind(Ui,273)))break}if(n!=="default"&&(ht=_e(vi,n,i&2623475)))if(e.isSourceFile(t)&&t.commonJsModuleIndicator&&!(!((Ye=ht.declarations)===null||Ye===void 0)&&Ye.some(e.isJSDocTypeAlias)))ht=void 0;else break e;break;case 259:if(ht=_e(((Xe=Lr(t))===null||Xe===void 0?void 0:Xe.exports)||ve,n,i&8))break e;break;case 166:if(!e.isStatic(t)){var Wa=Q_(t.parent);Wa&&Wa.locals&&_e(Wa.locals,n,i&111551)&&(On=t)}break;case 256:case 225:case 257:if(ht=_e(Lr(t).members||ve,n,i&788968)){if(!Qf(ht,t)){ht=void 0;break}if(Qt&&e.isStatic(Qt)){Wt($n,e.Diagnostics.Static_members_cannot_reference_class_type_parameters);return}break e}if(t.kind===225&&i&32){var Va=t.name;if(Va&&n===Va.escapedText){ht=t.symbol;break e}}break;case 227:if(Qt===t.expression&&t.parent.token===94){var Ka=t.parent.parent;if(e.isClassLike(Ka)&&(ht=_e(Lr(Ka).members,n,i&788968))){o&&Wt($n,e.Diagnostics.Base_class_expressions_cannot_reference_class_type_parameters);return}}break;case 161:if(ri=t.parent.parent,(e.isClassLike(ri)||ri.kind===257)&&(ht=_e(Lr(ri).members,n,i&788968))){Wt($n,e.Diagnostics.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);return}break;case 213:if(e.getEmitScriptTarget(Oe)>=2)break;case 168:case 170:case 171:case 172:case 255:if(i&3&&n==="arguments"){ht=pn;break e}break;case 212:if(i&3&&n==="arguments"){ht=pn;break e}if(i&16){var Ko=t.name;if(Ko&&n===Ko.escapedText){ht=t.symbol;break e}}break;case 164:t.parent&&t.parent.kind===163&&(t=t.parent),t.parent&&(e.isClassElement(t.parent)||t.parent.kind===256)&&(t=t.parent);break;case 343:case 336:case 337:var er=e.getJSDocRoot(t);er&&(t=er.parent);break;case 163:Qt&&(Qt===t.initializer||Qt===t.name&&e.isBindingPattern(Qt))&&(Ln||(Ln=t));break;case 202:Qt&&(Qt===t.initializer||Qt===t.name&&e.isBindingPattern(Qt))&&e.isParameterDeclaration(t)&&!Ln&&(Ln=t);break;case 189:if(i&262144){var Hn=t.typeParameter.name;if(Hn&&n===Hn.escapedText){ht=t.typeParameter.symbol;break e}}break}pd(t)&&(sn=t),Qt=t,t=e.isJSDocTemplateTag(t)?e.getEffectiveContainerForJSDocTemplateTag(t)||t.parent:(e.isJSDocParameterTag(t)||e.isJSDocReturnTag(t))&&e.getHostSignatureFromJSDoc(t)||t.parent}if(l&&ht&&(!sn||ht!==sn.symbol)&&(ht.isReferenced|=i),!ht){if(Qt&&(e.Debug.assert(Qt.kind===303),Qt.commonJsModuleIndicator&&n==="exports"&&i&Qt.symbol.flags))return Qt.symbol;T||(ht=_e(Lt,n,i))}if(!ht&&ct&&e.isInJSFile(ct)&&ct.parent&&e.isRequireCall(ct.parent,!1))return he;if(!ht){if(o&&pe&&(!$n||!fd($n,n,s)&&!Up($n)&&!Yf($n,n,i)&&!z_($n,n)&&!Sf($n,n,i)&&!Df($n,n,i)&&!$d($n,n,i))){var zr=void 0;if(U&&huLn.pos&&er.parent.locals&&_e(er.parent.locals,Or.escapedName,i)===Or&&Wt($n,e.Diagnostics.Parameter_0_cannot_reference_identifier_1_declared_after_it,e.declarationNameToString(Ln.name),e.declarationNameToString($n))}if(ht&&$n&&i&111551&&ht.flags&2097152&&!(ht.flags&111551)&&!e.isValidTypeOnlyAliasUseSite($n)){var Nr=Tu(ht);if(Nr){var Aa=Nr.kind===274?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,ti=e.unescapeLeadingUnderscores(n);y_(Wt($n,Aa,ti),Nr,ti)}}}return ht}function y_(t,n,i){return n?e.addRelatedInfo(t,e.createDiagnosticForNode(n,n.kind===274?e.Diagnostics._0_was_exported_here:e.Diagnostics._0_was_imported_here,i)):t}function dd(t,n){return t.kind!==213&&t.kind!==212?e.isTypeQueryNode(t)||(e.isFunctionLikeDeclaration(t)||t.kind===166&&!e.isStatic(t))&&(!n||n!==t.name):n&&n===t.name?!1:t.asteriskToken||e.hasSyntacticModifier(t,256)?!0:!e.getImmediatelyInvokedFunctionExpression(t)}function pd(t){switch(t.kind){case 255:case 256:case 257:case 259:case 258:case 260:return!0;default:return!1}}function Su(t){return e.isString(t)?e.unescapeLeadingUnderscores(t):e.declarationNameToString(t)}function Qf(t,n){if(t.declarations)for(var i=0,o=t.declarations;i=e.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop",Ae=o.exports.get("export="),Ye=Ae.valueDeclaration,Xe=Wt(t.name,e.Diagnostics.Module_0_can_only_be_default_imported_using_the_1_flag,Zi(o),_e);Ye&&e.addRelatedInfo(Xe,e.createDiagnosticForNode(Ye,e.Diagnostics.This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,_e))}else ep(o,t);else if(U||T){var ct=cc(o,n)||os(o,n);return Vc(t,o,ct,!1),ct}return Vc(t,s,void 0,!1),s}}function ep(t,n){var i,o,s;if(!((i=t.exports)===null||i===void 0)&&i.has(n.symbol.escapedName))Wt(n.name,e.Diagnostics.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,Zi(t),Zi(n.symbol));else{var l=Wt(n.name,e.Diagnostics.Module_0_has_no_default_export,Zi(t)),T=(o=t.exports)===null||o===void 0?void 0:o.get("__export");if(T){var U=(s=T.declarations)===null||s===void 0?void 0:s.find(function(_e){var Ae,Ye;return!!(e.isExportDeclaration(_e)&&_e.moduleSpecifier&&((Ye=(Ae=Jo(_e,_e.moduleSpecifier))===null||Ae===void 0?void 0:Ae.exports)===null||Ye===void 0?void 0:Ye.has("default")))});U&&e.addRelatedInfo(l,e.createDiagnosticForNode(U,e.Diagnostics.export_Asterisk_does_not_re_export_a_default))}}}function vd(t,n){var i=t.parent.parent.moduleSpecifier,o=Jo(t,i),s=$u(o,i,n,!1);return Vc(t,o,s,!1),s}function tp(t,n){var i=t.parent.moduleSpecifier,o=i&&Jo(t,i),s=i&&$u(o,i,n,!1);return Vc(t,o,s,!1),s}function h_(t,n){if(t===ee&&n===ee)return ee;if(t.flags&790504)return t;var i=Co(t.flags|n.flags,t.escapedName);return i.declarations=e.deduplicate(e.concatenate(t.declarations,n.declarations),e.equateValues),i.parent=t.parent||n.parent,t.valueDeclaration&&(i.valueDeclaration=t.valueDeclaration),n.members&&(i.members=new e.Map(n.members)),t.exports&&(i.exports=new e.Map(t.exports)),i}function Cf(t,n,i,o){if(t.flags&1536){var s=Ls(t).get(n.escapedText),l=os(s,o);return Vc(i,s,l,!1),l}}function oc(t,n){if(t.flags&3){var i=t.valueDeclaration.type;if(i)return os(ka(Vi(i),n))}}function Yu(t,n,i){var o,s;i===void 0&&(i=!1);var l=e.getExternalModuleRequireArgument(t)||t.moduleSpecifier,T=Jo(t,l),U=!e.isPropertyAccessExpression(n)&&n.propertyName||n.name;if(e.isIdentifier(U)){var _e=U.escapedText==="default"&&!!(Oe.allowSyntheticDefaultImports||e.getESModuleInterop(Oe)),Ae=$u(T,l,!1,_e);if(Ae&&U.escapedText){if(e.isShorthandAmbientModuleSymbol(T))return T;var Ye=void 0;T&&T.exports&&T.exports.get("export=")?Ye=ka(Jr(Ae),U.escapedText,!0):Ye=oc(Ae,U.escapedText),Ye=os(Ye,i);var Xe=Cf(Ae,U,n,i);if(Xe===void 0&&U.escapedText==="default"){var ct=(o=T.declarations)===null||o===void 0?void 0:o.find(e.isSourceFile);(Zd(l)||yd(ct,T,i,l))&&(Xe=cc(T,i)||os(T,i))}var ht=Xe&&Ye&&Xe!==Ye?h_(Ye,Xe):Xe||Ye;if(!ht){var Qt=ys(T,t),sn=e.declarationNameToString(U),On=Ph(U,Ae);if(On!==void 0){var Ln=Zi(On),Kn=Wt(U,e.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2,Qt,sn,Ln);On.valueDeclaration&&e.addRelatedInfo(Kn,e.createDiagnosticForNode(On.valueDeclaration,e.Diagnostics._0_is_declared_here,Ln))}else!((s=T.exports)===null||s===void 0)&&s.has("default")?Wt(U,e.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,Qt,sn):hd(t,U,sn,T,Qt)}return ht}}}function hd(t,n,i,o,s){var l,T,U=(T=(l=o.valueDeclaration)===null||l===void 0?void 0:l.locals)===null||T===void 0?void 0:T.get(n.escapedText),_e=o.exports;if(U){var Ae=_e==null?void 0:_e.get("export=");if(Ae)gu(Ae,U)?xd(t,n,i,s):Wt(n,e.Diagnostics.Module_0_has_no_exported_member_1,s,i);else{var Ye=_e?e.find(ug(_e),function(ct){return!!gu(ct,U)}):void 0,Xe=Ye?Wt(n,e.Diagnostics.Module_0_declares_1_locally_but_it_is_exported_as_2,s,i,Zi(Ye)):Wt(n,e.Diagnostics.Module_0_declares_1_locally_but_it_is_not_exported,s,i);U.declarations&&e.addRelatedInfo.apply(void 0,tt([Xe],e.map(U.declarations,function(ct,ht){return e.createDiagnosticForNode(ct,ht===0?e.Diagnostics._0_is_declared_here:e.Diagnostics.and_here,i)}),!1))}}else Wt(n,e.Diagnostics.Module_0_has_no_exported_member_1,s,i)}function xd(t,n,i,o){if(ge>=e.ModuleKind.ES2015){var s=e.getESModuleInterop(Oe)?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;Wt(n,s,i)}else if(e.isInJSFile(t)){var s=e.getESModuleInterop(Oe)?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;Wt(n,s,i)}else{var s=e.getESModuleInterop(Oe)?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;Wt(n,s,i,i,o)}}function bd(t,n){var i=e.isBindingElement(t)?e.getRootDeclaration(t):t.parent.parent.parent,o=x_(i),s=Yu(i,o||t,n),l=t.propertyName||t.name;return o&&s&&e.isIdentifier(l)?os(ka(Jr(s),l.escapedText),n):(Vc(t,void 0,s,!1),s)}function x_(t){if(e.isVariableDeclaration(t)&&t.initializer&&e.isPropertyAccessExpression(t.initializer))return t.initializer}function np(t,n){var i=cc(t.parent.symbol,n);return Vc(t,void 0,i,!1),i}function Ou(t,n,i){var o=t.parent.parent.moduleSpecifier?Yu(t.parent.parent,t,i):Ms(t.propertyName||t.name,n,!1,i);return Vc(t,void 0,o,!1),o}function mc(t,n){var i=e.isExportAssignment(t)?t.expression:t.right,o=mu(i,n);return Vc(t,void 0,o,!1),o}function mu(t,n){if(e.isClassExpression(t))return Ys(t).symbol;if(!(!e.isEntityName(t)&&!e.isEntityNameExpression(t))){var i=Ms(t,901119,!0,n);return i||(Ys(t),Ni(t).resolvedSymbol)}}function jc(t,n){var i=t.initializer;return mu(i,n)}function hl(t,n){if(e.isBinaryExpression(t.parent)&&t.parent.left===t&&t.parent.operatorToken.kind===63)return mu(t.parent.right,n)}function W_(t,n){switch(n===void 0&&(n=!1),t.kind){case 264:case 253:return U_(t,n);case 266:return v_(t,n);case 267:return vd(t,n);case 273:return tp(t,n);case 269:case 202:return bd(t,n);case 274:return Ou(t,901119,n);case 270:case 220:return mc(t,n);case 263:return np(t,n);case 295:return Ms(t.name,901119,!0,n);case 294:return jc(t,n);case 206:case 205:return hl(t,n);default:return e.Debug.fail()}}function Du(t,n){return n===void 0&&(n=901119),t?(t.flags&(2097152|n))===2097152||!!(t.flags&2097152&&t.flags&67108864):!1}function os(t,n){return!n&&Du(t)?Vs(t):t}function Vs(t){e.Debug.assert((t.flags&2097152)!==0,"Should only get Alias here.");var n=Ji(t);if(n.target)n.target===xe&&(n.target=ee);else{n.target=xe;var i=wu(t);if(!i)return e.Debug.fail();var o=W_(i);n.target===xe?n.target=o||ee:Wt(i,e.Diagnostics.Circular_definition_of_import_alias_0,Zi(t))}return n.target}function Yo(t){var n=Ji(t);if(n.target!==xe)return Vs(t)}function Vc(t,n,i,o){if(!t||e.isPropertyAccessExpression(t))return!1;var s=Lr(t);if(e.isTypeOnlyImportOrExportDeclaration(t)){var l=Ji(s);return l.typeOnlyDeclaration=t,!0}var T=Ji(s);return Sd(T,n,o)||Sd(T,i,o)}function Sd(t,n,i){var o,s,l;if(n&&(t.typeOnlyDeclaration===void 0||i&&t.typeOnlyDeclaration===!1)){var T=(s=(o=n.exports)===null||o===void 0?void 0:o.get("export="))!==null&&s!==void 0?s:n,U=T.declarations&&e.find(T.declarations,e.isTypeOnlyImportOrExportDeclaration);t.typeOnlyDeclaration=(l=U!=null?U:Ji(T).typeOnlyDeclaration)!==null&&l!==void 0?l:!1}return!!t.typeOnlyDeclaration}function Tu(t){if(t.flags&2097152){var n=Ji(t);return n.typeOnlyDeclaration||void 0}}function rp(t){var n=Lr(t),i=Vs(n);if(i){var o=i===ee||i.flags&111551&&!Fy(i)&&!Tu(n);o&&b_(n)}}function b_(t){var n=Ji(t);if(!n.referenced){n.referenced=!0;var i=wu(t);if(!i)return e.Debug.fail();if(e.isInternalModuleImportEqualsDeclaration(i)){var o=os(t);(o===ee||o.flags&111551)&&Ys(i.moduleReference)}}}function S_(t){var n=Ji(t);n.constEnumReferenced||(n.constEnumReferenced=!0)}function Qr(t,n){return t.kind===79&&e.isRightSideOfQualifiedNameOrPropertyAccess(t)&&(t=t.parent),t.kind===79||t.parent.kind===160?Ms(t,1920,!1,n):(e.Debug.assert(t.parent.kind===264),Ms(t,901119,!1,n))}function ys(t,n){return t.parent?ys(t.parent,n)+"."+Zi(t):Zi(t,n,void 0,20)}function Sa(t){for(;e.isQualifiedName(t.parent);)t=t.parent;return t}function Bl(t){var n=e.getFirstIdentifier(t),i=gs(n,n.escapedText,111551,void 0,n,!0);if(i){for(;e.isQualifiedName(n.parent);){var o=Jr(i);if(i=ka(o,n.parent.right.escapedText),!i)return;n=n.parent}return i}}function Ms(t,n,i,o,s){if(!e.nodeIsMissing(t)){var l=1920|(e.isInJSFile(t)?n&111551:0),T;if(t.kind===79){var U=n===l||e.nodeIsSynthesized(t)?e.Diagnostics.Cannot_find_namespace_0:JT(e.getFirstIdentifier(t)),_e=e.isInJSFile(t)&&!e.nodeIsSynthesized(t)?ll(t,n):void 0;if(T=Ya(gs(s||t,t.escapedText,n,i||_e?void 0:U,t,!0,!1)),!T)return Ya(_e)}else if(t.kind===160||t.kind===205){var Ae=t.kind===160?t.left:t.expression,Ye=t.kind===160?t.right:t.name,Xe=Ms(Ae,l,i,!1,s);if(!Xe||e.nodeIsMissing(Ye))return;if(Xe===ee)return Xe;if(Xe.valueDeclaration&&e.isInJSFile(Xe.valueDeclaration)&&e.isVariableDeclaration(Xe.valueDeclaration)&&Xe.valueDeclaration.initializer&&mC(Xe.valueDeclaration.initializer)){var ct=Xe.valueDeclaration.initializer.arguments[0],ht=Jo(ct,ct);if(ht){var Qt=cc(ht);Qt&&(Xe=Qt)}}if(T=Ya(Wc(Ls(Xe),Ye.escapedText,n)),!T){if(!i){var sn=ys(Xe),On=e.declarationNameToString(Ye),Ln=Ph(Ye,Xe);if(Ln){Wt(Ye,e.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2,sn,On,Zi(Ln));return}var Kn=e.isQualifiedName(t)&&Sa(t),$n=ai&&n&788968&&Kn&&!e.isTypeOfExpression(Kn.parent)&&Bl(Kn);if($n){Wt(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(t.parent)){var ri=Ya(Wc(Ls(Xe),Ye.escapedText,788968));if(ri){Wt(t.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,Zi(ri),e.unescapeLeadingUnderscores(t.parent.right.escapedText));return}}Wt(Ye,e.Diagnostics.Namespace_0_has_no_exported_member_1,sn,On)}return}}else throw e.Debug.assertNever(t,"Unknown entity name kind.");return e.Debug.assert((e.getCheckFlags(T)&1)===0,"Should never get an instantiated symbol here."),!e.nodeIsSynthesized(t)&&e.isEntityName(t)&&(T.flags&2097152||t.parent.kind===270)&&Vc(e.getAliasDeclarationFromName(t),T,void 0,!0),T.flags&n||o?T:Vs(T)}}function ll(t,n){if(L0(t.parent)){var i=Wr(t.parent);if(i)return gs(i,t.escapedText,n,void 0,t,!0)}}function Wr(t){var n=e.findAncestor(t,function(l){return e.isJSDocNode(l)||l.flags&4194304?e.isJSDocTypeAlias(l):"quit"});if(!n){var i=e.getJSDocHost(t);if(i&&e.isExpressionStatement(i)&&e.isPrototypePropertyAssignment(i.expression)){var o=Lr(i.expression.left);if(o)return Dd(o)}if(i&&e.isFunctionExpression(i)&&e.isPrototypePropertyAssignment(i.parent)&&e.isExpressionStatement(i.parent.parent)){var o=Lr(i.parent.left);if(o)return Dd(o)}if(i&&(e.isObjectLiteralMethod(i)||e.isPropertyAssignment(i))&&e.isBinaryExpression(i.parent.parent)&&e.getAssignmentDeclarationKind(i.parent.parent)===6){var o=Lr(i.parent.parent.left);if(o)return Dd(o)}var s=e.getEffectiveJSDocHost(t);if(s&&e.isFunctionLike(s)){var o=Lr(s);return o&&o.valueDeclaration}}}function Dd(t){var n=t.parent.valueDeclaration;if(n){var i=e.isAssignmentDeclaration(n)?e.getAssignedExpandoInitializer(n):e.hasOnlyExpressionInitializer(n)?e.getDeclaredExpandoInitializer(n):void 0;return i||n}}function ip(t){var n=t.valueDeclaration;if(!(!n||!e.isInJSFile(n)||t.flags&524288||e.getExpandoInitializer(n,!1))){var i=e.isVariableDeclaration(n)?e.getDeclaredExpandoInitializer(n):e.getAssignedExpandoInitializer(n);if(i){var o=Lr(i);if(o)return rb(o,t)}}}function Jo(t,n,i){var o=e.getEmitModuleResolutionKind(Oe)===e.ModuleResolutionKind.Classic,s=o?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 sc(t,n,i?void 0:s)}function sc(t,n,i,o){return o===void 0&&(o=!1),e.isStringLiteralLike(n)?tu(t,n.text,i,n,o):void 0}function tu(t,n,i,o,s){var l,T,U,_e,Ae,Ye,Xe;if(s===void 0&&(s=!1),e.startsWith(n,"@types/")){var ct=e.Diagnostics.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1,ht=e.removePrefix(n,"@types/");Wt(o,ct,ht,n)}var Qt=ov(n,!0);if(Qt)return Qt;var sn=e.getSourceFileOfNode(t),On=e.isStringLiteralLike(t)?t:((l=e.findAncestor(t,e.isImportCall))===null||l===void 0?void 0:l.arguments[0])||((T=e.findAncestor(t,e.isImportDeclaration))===null||T===void 0?void 0:T.moduleSpecifier)||((U=e.findAncestor(t,e.isExternalModuleImportEqualsDeclaration))===null||U===void 0?void 0:U.moduleReference.expression)||((_e=e.findAncestor(t,e.isExportDeclaration))===null||_e===void 0?void 0:_e.moduleSpecifier)||((Ae=e.isModuleDeclaration(t)?t:t.parent&&e.isModuleDeclaration(t.parent)&&t.parent.name===t?t.parent:void 0)===null||Ae===void 0?void 0:Ae.name)||((Ye=e.isLiteralImportTypeNode(t)?t:void 0)===null||Ye===void 0?void 0:Ye.argument.literal),Ln=On&&e.isStringLiteralLike(On)?e.getModeForUsageLocation(sn,On):sn.impliedNodeFormat,Kn=e.getResolvedModule(sn,n,Ln),$n=Kn&&e.getResolutionDiagnostic(Oe,Kn),ri=Kn&&(!$n||$n===e.Diagnostics.Module_0_was_resolved_to_1_but_jsx_is_not_set)&&M.getSourceFile(Kn.resolvedFileName);if(ri){if($n&&Wt(o,$n,n,Kn.resolvedFileName),ri.symbol){if(Kn.isExternalLibraryImport&&!e.resolutionExtensionIsTSOrJson(Kn.extension)&&D_(!1,o,Kn,n),e.getEmitModuleResolutionKind(Oe)===e.ModuleResolutionKind.Node12||e.getEmitModuleResolutionKind(Oe)===e.ModuleResolutionKind.NodeNext){var dr=sn.impliedNodeFormat===e.ModuleKind.CommonJS&&!e.findAncestor(t,e.isImportCall)||!!e.findAncestor(t,e.isImportEqualsDeclaration);dr&&ri.impliedNodeFormat===e.ModuleKind.ESNext&&Wt(o,e.Diagnostics.Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_synchronously_Use_dynamic_import_instead,n),Ln===e.ModuleKind.ESNext&&Oe.resolveJsonModule&&Kn.extension===".json"&&Wt(o,e.Diagnostics.JSON_imports_are_experimental_in_ES_module_mode_imports)}return Ya(ri.symbol)}i&&Wt(o,e.Diagnostics.File_0_is_not_a_module,ri.fileName);return}if(Sn){var Li=e.findBestPatternMatch(Sn,function(Gi){return Gi.pattern},n);if(Li){var vi=fr&&fr.get(n);return Ya(vi||Li.symbol)}}if(Kn&&!e.resolutionExtensionIsTSOrJson(Kn.extension)&&$n===void 0||$n===e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type){if(s){var ct=e.Diagnostics.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented;Wt(o,ct,n,Kn.resolvedFileName)}else D_(Ue&&!!i,o,Kn,n);return}if(i){if(Kn){var Ea=M.getProjectReferenceRedirect(Kn.resolvedFileName);if(Ea){Wt(o,e.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,Ea,Kn.resolvedFileName);return}}if($n)Wt(o,$n,n,Kn.resolvedFileName);else{var Ui=e.tryExtractTSExtension(n),Wa=e.pathIsRelative(n)&&!e.hasExtension(n),Va=e.getEmitModuleResolutionKind(Oe),Ka=Va===e.ModuleResolutionKind.Node12||Va===e.ModuleResolutionKind.NodeNext;if(Ui){var ct=e.Diagnostics.An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead,Ko=e.removeExtension(n,Ui),er=Ko;ge>=e.ModuleKind.ES2015&&(er+=Ui===".mts"?".mjs":Ui===".cts"?".cjs":".js"),Wt(o,ct,Ui,er)}else if(!Oe.resolveJsonModule&&e.fileExtensionIs(n,".json")&&e.getEmitModuleResolutionKind(Oe)!==e.ModuleResolutionKind.Classic&&e.hasJsonModuleEmitEnabled(Oe))Wt(o,e.Diagnostics.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,n);else if(Ln===e.ModuleKind.ESNext&&Ka&&Wa){var Hn=e.getNormalizedAbsolutePath(n,e.getDirectoryPath(sn.path)),zr=(Xe=wo.find(function(Gi){var ei=Gi[0];return Gi[1],M.fileExists(Hn+ei)}))===null||Xe===void 0?void 0:Xe[1];zr?Wt(o,e.Diagnostics.Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node12_or_nodenext_Did_you_mean_0,n+zr):Wt(o,e.Diagnostics.Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node12_or_nodenext_Consider_adding_an_extension_to_the_import_path)}else Wt(o,i,n)}}}function D_(t,n,i,o){var s=i.packageId,l=i.resolvedFileName,T=!e.isExternalModuleNameRelative(o)&&s?ap(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)):T_(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,o):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,o,e.mangleScopedPackageName(s.name)):void 0;fu(t,n,e.chainDiagnosticMessages(T,e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,o,l))}function ap(t){return Ne().has(e.getTypesPackageName(t))}function T_(t){return!!Ne().get(t)}function cc(t,n){if(t!=null&&t.exports){var i=os(t.exports.get("export="),n),o=op(Ya(i),Ya(t));return Ya(o)||t}}function op(t,n){if(!t||t===ee||t===n||n.exports.size===1||t.flags&2097152)return t;var i=Ji(t);if(i.cjsExportMerged)return i.cjsExportMerged;var o=t.flags&33554432?t:Xs(t);return o.flags=o.flags|512,o.exports===void 0&&(o.exports=e.createSymbolTable()),n.exports.forEach(function(s,l){l!=="export="&&o.exports.set(l,o.exports.has(l)?Au(o.exports.get(l),s):s)}),Ji(o).cjsExportMerged=o,i.cjsExportMerged=o}function $u(t,n,i,o){var s=cc(t,i);if(!i&&s){if(!o&&!(s.flags&1539)&&!e.getDeclarationOfKind(s,303)){var l=ge>=e.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop";return Wt(n,e.Diagnostics.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,l),s}var T=n.parent;if(e.isImportDeclaration(T)&&e.getNamespaceDeclarationNode(T)||e.isImportCall(T)){var U=e.isImportCall(T)?T.arguments[0]:T.moduleSpecifier,_e=Jr(s),Ae=pC(_e,s,t,U);if(Ae)return Jl(s,Ae,T);if(e.getESModuleInterop(Oe)){var Ye=Dp(_e,0);if((!Ye||!Ye.length)&&(Ye=Dp(_e,1)),Ye&&Ye.length||ka(_e,"default",!0)){var Xe=fC(_e,s,t,U);return Jl(s,Xe,T)}}}}return s}function Jl(t,n,i){var o=Co(t.flags,t.escapedName);o.declarations=t.declarations?t.declarations.slice():[],o.parent=t.parent,o.target=t,o.originatingImport=i,t.valueDeclaration&&(o.valueDeclaration=t.valueDeclaration),t.constEnumOnlyModule&&(o.constEnumOnlyModule=!0),t.members&&(o.members=new e.Map(t.members)),t.exports&&(o.exports=new e.Map(t.exports));var s=dl(n);return o.type=Ts(o,s.members,e.emptyArray,e.emptyArray,s.indexInfos),o}function V_(t){return t.exports.get("export=")!==void 0}function E_(t){return ug(xl(t))}function Td(t){var n=E_(t),i=cc(t);if(i!==t){var o=Jr(i);H_(o)&&e.addRange(n,To(o))}return n}function Ed(t,n){var i=xl(t);i.forEach(function(l,T){Y_(T)||n(l,T)});var o=cc(t);if(o!==t){var s=Jr(o);H_(s)&&X1(s,function(l,T){n(l,T)})}}function sp(t,n){var i=xl(n);if(i)return i.get(t)}function cp(t,n){var i=sp(t,n);if(i)return i;var o=cc(n);if(o!==n){var s=Jr(o);return H_(s)?ka(s,t):void 0}}function H_(t){return!(t.flags&131068||e.getObjectFlags(t)&1||Ec(t)||qa(t))}function Ls(t){return t.flags&6256?ng(t,"resolvedExports"):t.flags&1536?xl(t):t.exports||ve}function xl(t){var n=Ji(t);return n.resolvedExports||(n.resolvedExports=s_(t))}function Cd(t,n,i,o){!n||n.forEach(function(s,l){if(l!=="default"){var T=t.get(l);if(!T)t.set(l,s),i&&o&&i.set(l,{specifierText:e.getTextOfNode(o.moduleSpecifier)});else if(i&&o&&T&&os(T)!==os(s)){var U=i.get(l);U.exportsWithDuplicate?U.exportsWithDuplicate.push(o):U.exportsWithDuplicate=[o]}}})}function s_(t){var n=[];return t=cc(t),i(t)||ve;function i(o){if(o&&o.exports&&e.pushIfUnique(n,o)){var s=new e.Map(o.exports),l=o.exports.get("__export");if(l){var T=e.createSymbolTable(),U=new e.Map;if(l.declarations)for(var _e=0,Ae=l.declarations;_e=Ye?Ae.substr(0,Ye-3)+"...":Ae}function $_(t,n){var i=X_(t.symbol)?Dr(t,t.symbol.valueDeclaration):Dr(t),o=X_(n.symbol)?Dr(n,n.symbol.valueDeclaration):Dr(n);return i===o&&(i=pp(t),o=pp(n)),[i,o]}function pp(t){return Dr(t,void 0,64)}function X_(t){return t&&!!t.valueDeclaration&&e.isExpression(t.valueDeclaration)&&!Nl(t.valueDeclaration)}function fp(t){return t===void 0&&(t=0),t&814775659}function Af(t){return!!t.symbol&&!!(t.symbol.flags&32)&&(t===Ba(t.symbol)||!!(t.flags&524288)&&!!(e.getObjectFlags(t)&16777216))}function Xf(){return{typeToTypeNode:function(nn,St,Or,Nr){return t(St,Or,Nr,function(ti){return o(nn,ti)})},indexInfoToIndexSignatureDeclaration:function(nn,St,Or,Nr){return t(St,Or,Nr,function(ti){return Ae(nn,ti,void 0)})},signatureToSignatureDeclaration:function(nn,St,Or,Nr,ti){return t(Or,Nr,ti,function(Gr){return Ye(nn,St,Gr)})},symbolToEntityName:function(nn,St,Or,Nr,ti){return t(Or,Nr,ti,function(Gr){return Wa(nn,Gr,St,!1)})},symbolToExpression:function(nn,St,Or,Nr,ti){return t(Or,Nr,ti,function(Gr){return Va(nn,Gr,St)})},symbolToTypeParameterDeclarations:function(nn,St,Or,Nr){return t(St,Or,Nr,function(ti){return Kn(nn,ti)})},symbolToParameterDeclaration:function(nn,St,Or,Nr){return t(St,Or,Nr,function(ti){return Qt(nn,ti)})},typeParameterToDeclaration:function(nn,St,Or,Nr){return t(St,Or,Nr,function(ti){return ht(nn,ti)})},symbolTableToDeclarationStatements:function(nn,St,Or,Nr,ti){return t(St,Or,Nr,function(Gr){return no(nn,Gr,ti)})}};function t(nn,St,Or,Nr){var ti,Gr;e.Debug.assert(nn===void 0||(nn.flags&8)===0);var ni={enclosingDeclaration:nn,flags:St||0,tracker:Or&&Or.trackSymbol?Or:{trackSymbol:function(){return!1},moduleResolverHost:St&134217728?{getCommonSourceDirectory:M.getCommonSourceDirectory?function(){return M.getCommonSourceDirectory()}:function(){return""},getCurrentDirectory:function(){return M.getCurrentDirectory()},getSymlinkCache:e.maybeBind(M,M.getSymlinkCache),getPackageJsonInfoCache:function(){var jr;return(jr=M.getPackageJsonInfoCache)===null||jr===void 0?void 0:jr.call(M)},useCaseSensitiveFileNames:e.maybeBind(M,M.useCaseSensitiveFileNames),redirectTargetsMap:M.redirectTargetsMap,getProjectReferenceRedirect:function(jr){return M.getProjectReferenceRedirect(jr)},isSourceOfProjectReferenceRedirect:function(jr){return M.isSourceOfProjectReferenceRedirect(jr)},fileExists:function(jr){return M.fileExists(jr)},getFileIncludeReasons:function(){return M.getFileIncludeReasons()},readFile:M.readFile?function(jr){return M.readFile(jr)}:void 0}:void 0},encounteredError:!1,reportedDiagnostic:!1,visitedTypes:void 0,symbolDepth:void 0,inferTypeParameters:void 0,approximateLength:0};ni.tracker=n(ni,ni.tracker);var Ei=Nr(ni);return ni.truncating&&ni.flags&1&&((Gr=(ti=ni.tracker)===null||ti===void 0?void 0:ti.reportTruncationError)===null||Gr===void 0||Gr.call(ti)),ni.encounteredError?void 0:Ei}function n(nn,St){var Or=St.trackSymbol;return Tt(Tt({},St),{reportCyclicStructureError:Nr(St.reportCyclicStructureError),reportInaccessibleThisError:Nr(St.reportInaccessibleThisError),reportInaccessibleUniqueSymbolError:Nr(St.reportInaccessibleUniqueSymbolError),reportLikelyUnsafeImportRequiredError:Nr(St.reportLikelyUnsafeImportRequiredError),reportNonlocalAugmentation:Nr(St.reportNonlocalAugmentation),reportPrivateInBaseOfClassExpression:Nr(St.reportPrivateInBaseOfClassExpression),reportNonSerializableProperty:Nr(St.reportNonSerializableProperty),trackSymbol:Or&&function(){for(var ti=[],Gr=0;Gr(nn.flags&1?e.noTruncationMaximumTruncationLength:e.defaultMaximumTruncationLength)}function o(nn,St){w&&w.throwIfCancellationRequested&&w.throwIfCancellationRequested();var Or=St.flags&8388608;if(St.flags&=-8388609,!nn){if(!(St.flags&262144)){St.encounteredError=!0;return}return St.approximateLength+=3,e.factory.createKeywordTypeNode(130)}if(St.flags&536870912||(nn=Po(nn)),nn.flags&1)return nn.aliasSymbol?e.factory.createTypeReferenceNode(Li(nn.aliasSymbol),U(nn.aliasTypeArguments,St)):nn===cn?e.addSyntheticLeadingComment(e.factory.createKeywordTypeNode(130),3,"unresolved"):(St.approximateLength+=3,e.factory.createKeywordTypeNode(nn===Ut?138:130));if(nn.flags&2)return e.factory.createKeywordTypeNode(154);if(nn.flags&4)return St.approximateLength+=6,e.factory.createKeywordTypeNode(149);if(nn.flags&8)return St.approximateLength+=6,e.factory.createKeywordTypeNode(146);if(nn.flags&64)return St.approximateLength+=6,e.factory.createKeywordTypeNode(157);if(nn.flags&16&&!nn.aliasSymbol)return St.approximateLength+=7,e.factory.createKeywordTypeNode(133);if(nn.flags&1024&&!(nn.flags&1048576)){var Nr=Qs(nn.symbol),ti=vi(Nr,St,788968);if(Wo(Nr)===nn)return ti;var Gr=e.symbolName(nn.symbol);return e.isIdentifierText(Gr,0)?Wd(ti,e.factory.createTypeReferenceNode(Gr,void 0)):e.isImportTypeNode(ti)?(ti.isTypeOf=!0,e.factory.createIndexedAccessTypeNode(ti,e.factory.createLiteralTypeNode(e.factory.createStringLiteral(Gr)))):e.isTypeReferenceNode(ti)?e.factory.createIndexedAccessTypeNode(e.factory.createTypeQueryNode(ti.typeName),e.factory.createLiteralTypeNode(e.factory.createStringLiteral(Gr))):e.Debug.fail("Unhandled type node kind returned from `symbolToTypeNode`.")}if(nn.flags&1056)return vi(nn.symbol,St,788968);if(nn.flags&128)return St.approximateLength+=nn.value.length+2,e.factory.createLiteralTypeNode(e.setEmitFlags(e.factory.createStringLiteral(nn.value,!!(St.flags&268435456)),16777216));if(nn.flags&256){var ni=nn.value;return St.approximateLength+=(""+ni).length,e.factory.createLiteralTypeNode(ni<0?e.factory.createPrefixUnaryExpression(40,e.factory.createNumericLiteral(-ni)):e.factory.createNumericLiteral(ni))}if(nn.flags&2048)return St.approximateLength+=e.pseudoBigIntToString(nn.value).length+1,e.factory.createLiteralTypeNode(e.factory.createBigIntLiteral(nn.value));if(nn.flags&512)return St.approximateLength+=nn.intrinsicName.length,e.factory.createLiteralTypeNode(nn.intrinsicName==="true"?e.factory.createTrue():e.factory.createFalse());if(nn.flags&8192){if(!(St.flags&1048576)){if(Pd(nn.symbol,St.enclosingDeclaration))return St.approximateLength+=6,vi(nn.symbol,St,111551);St.tracker.reportInaccessibleUniqueSymbolError&&St.tracker.reportInaccessibleUniqueSymbolError()}return St.approximateLength+=13,e.factory.createTypeOperatorNode(153,e.factory.createKeywordTypeNode(150))}if(nn.flags&16384)return St.approximateLength+=4,e.factory.createKeywordTypeNode(114);if(nn.flags&32768)return St.approximateLength+=9,e.factory.createKeywordTypeNode(152);if(nn.flags&65536)return St.approximateLength+=4,e.factory.createLiteralTypeNode(e.factory.createNull());if(nn.flags&131072)return St.approximateLength+=5,e.factory.createKeywordTypeNode(143);if(nn.flags&4096)return St.approximateLength+=6,e.factory.createKeywordTypeNode(150);if(nn.flags&67108864)return St.approximateLength+=6,e.factory.createKeywordTypeNode(147);if(e.isThisTypeParameter(nn))return St.flags&4194304&&(!St.encounteredError&&!(St.flags&32768)&&(St.encounteredError=!0),St.tracker.reportInaccessibleThisError&&St.tracker.reportInaccessibleThisError()),St.approximateLength+=4,e.factory.createThisTypeNode();if(!Or&&nn.aliasSymbol&&(St.flags&16384||Sl(nn.aliasSymbol,St.enclosingDeclaration))){var Ei=U(nn.aliasTypeArguments,St);return Y_(nn.aliasSymbol.escapedName)&&!(nn.aliasSymbol.flags&32)?e.factory.createTypeReferenceNode(e.factory.createIdentifier(""),Ei):vi(nn.aliasSymbol,St,788968,Ei)}var jr=e.getObjectFlags(nn);if(jr&4)return e.Debug.assert(!!(nn.flags&524288)),nn.node?Ps(nn,$s):$s(nn);if(nn.flags&262144||jr&3){if(nn.flags&262144&&e.contains(St.inferTypeParameters,nn))return St.approximateLength+=e.symbolName(nn.symbol).length+6,e.factory.createInferTypeNode(ct(nn,St,void 0));if(St.flags&4&&nn.flags&262144&&!Sl(nn.symbol,St.enclosingDeclaration)){var dn=Ui(nn,St);return St.approximateLength+=e.idText(dn).length,e.factory.createTypeReferenceNode(e.factory.createIdentifier(e.idText(dn)),void 0)}return nn.symbol?vi(nn.symbol,St,788968):e.factory.createTypeReferenceNode(e.factory.createIdentifier("?"),void 0)}if(nn.flags&1048576&&nn.origin&&(nn=nn.origin),nn.flags&3145728){var wn=nn.flags&1048576?Gp(nn.types):nn.types;if(e.length(wn)===1)return o(wn[0],St);var Xn=U(wn,St,!0);if(Xn&&Xn.length>0)return nn.flags&1048576?e.factory.createUnionTypeNode(Xn):e.factory.createIntersectionTypeNode(Xn);!St.encounteredError&&!(St.flags&262144)&&(St.encounteredError=!0);return}if(jr&48)return e.Debug.assert(!!(nn.flags&524288)),Nc(nn);if(nn.flags&4194304){var tr=nn.type;St.approximateLength+=6;var ur=o(tr,St);return e.factory.createTypeOperatorNode(140,ur)}if(nn.flags&134217728){var Ir=nn.texts,Yi=nn.types,Na=e.factory.createTemplateHead(Ir[0]),wi=e.factory.createNodeArray(e.map(Yi,function(na,$a){return e.factory.createTemplateLiteralTypeSpan(o(na,St),($a10)return s(St);St.symbolDepth.set(bn,Yr+1)}St.visitedTypes.add(dc);var Hr=St.approximateLength,Er=$a(na),Ri=St.approximateLength-Hr;return!St.reportedDiagnostic&&!St.encounteredError&&(St.truncating&&(Er.truncating=!0),Er.addedLength=Ri,(Ao=zn==null?void 0:zn.serializedTypes)===null||Ao===void 0||Ao.set(cr,Er)),St.visitedTypes.delete(dc),bn&&St.symbolDepth.set(bn,Yr),Er;function ra(Ha){return!e.nodeIsSynthesized(Ha)&&e.getParseTreeNode(Ha)===Ha?Ha:e.setTextRange(e.factory.cloneNode(e.visitEachChild(Ha,ra,e.nullTransformationContext)),Ha)}}function Il(na){if($c(na)||na.containsError)return rs(na);var $a=dl(na);if(!$a.properties.length&&!$a.indexInfos.length){if(!$a.callSignatures.length&&!$a.constructSignatures.length)return St.approximateLength+=2,e.setEmitFlags(e.factory.createTypeLiteralNode(void 0),1);if($a.callSignatures.length===1&&!$a.constructSignatures.length){var Ds=$a.callSignatures[0],Ao=Ye(Ds,178,St);return Ao}if($a.constructSignatures.length===1&&!$a.callSignatures.length){var Ds=$a.constructSignatures[0],Ao=Ye(Ds,179,St);return Ao}}var dc=e.filter($a.constructSignatures,function(Yr){return!!(Yr.flags&4)});if(e.some(dc)){var an=e.map(dc,dg),bn=$a.callSignatures.length+($a.constructSignatures.length-dc.length)+$a.indexInfos.length+(St.flags&2048?e.countWhere($a.properties,function(Yr){return!(Yr.flags&4194304)}):e.length($a.properties));return bn&&an.push(Kl($a)),o(Oo(an),St)}var zn=St.flags;St.flags|=4194304;var cr=Oy($a);St.flags=zn;var ar=e.factory.createTypeLiteralNode(cr);return St.approximateLength+=2,e.setEmitFlags(ar,St.flags&1024?0:1),ar}function $s(na){var $a=Lo(na);if(na.target===De||na.target===Ke){if(St.flags&2){var Ds=o($a[0],St);return e.factory.createTypeReferenceNode(na.target===De?"Array":"ReadonlyArray",[Ds])}var Ao=o($a[0],St),dc=e.factory.createArrayTypeNode(Ao);return na.target===De?dc:e.factory.createTypeOperatorNode(144,dc)}else if(na.target.objectFlags&8){if($a=e.sameMap($a,function(es,Es){return Mm(es,!!(na.target.elementFlags[Es]&2))}),$a.length>0){var an=Tp(na),bn=U($a.slice(0,an),St);if(bn){if(na.target.labeledElementDeclarations)for(var zn=0;zn0){var As=(na.target.typeParameters||e.emptyArray).length;ws=U($a.slice(zn,As),St)}var cr=St.flags;St.flags|=16;var Ks=vi(na.symbol,St,788968,ws);return St.flags=cr,Hr?Wd(Hr,Ks):Ks}}function Wd(na,$a){if(e.isImportTypeNode(na)){var Ds=na.typeArguments,Ao=na.qualifier;Ao&&(e.isIdentifier(Ao)?Ao=e.factory.updateIdentifier(Ao,Ds):Ao=e.factory.updateQualifiedName(Ao,Ao.left,e.factory.updateIdentifier(Ao.right,Ds))),Ds=$a.typeArguments;for(var dc=Iy($a),an=0,bn=dc;an2)return[o(nn[0],St),e.factory.createTypeReferenceNode("... ".concat(nn.length-2," more ..."),void 0),o(nn[nn.length-1],St)]}else return[e.factory.createTypeReferenceNode("...",void 0)];for(var Nr=!(St.flags&64),ti=Nr?e.createUnderscoreEscapedMultiMap():void 0,Gr=[],ni=0,Ei=0,jr=nn;Ei0)):ti=[nn],ti;function ni(Ei,jr,dn){var wn=k_(Ei,St.enclosingDeclaration,jr,!!(St.flags&128)),Xn;if(!wn||_p(wn[0],St.enclosingDeclaration,wn.length===1?jr:zl(jr))){var tr=Rs(wn?wn[0]:Ei,St.enclosingDeclaration,jr);if(e.length(tr)){Xn=tr.map(function(zo){return e.some(zo.declarations,_l)?dr(zo,St):void 0});var ur=tr.map(function(zo,Ns){return Ns});ur.sort(ko);for(var Ir=ur.map(function(zo){return tr[zo]}),Yi=0,Na=Ir;Yi1?Yi(ti,ti.length-1,1):void 0,Ei=Nr||$n(ti,0,St),jr=dr(ti[0],St);!(St.flags&67108864)&&e.getEmitModuleResolutionKind(Oe)!==e.ModuleResolutionKind.Classic&&jr.indexOf("/node_modules/")>=0&&(St.encounteredError=!0,St.tracker.reportLikelyUnsafeImportRequiredError&&St.tracker.reportLikelyUnsafeImportRequiredError(jr));var dn=e.factory.createLiteralTypeNode(e.factory.createStringLiteral(jr));if(St.tracker.trackExternalModuleSymbolOfImportTypeNode&&St.tracker.trackExternalModuleSymbolOfImportTypeNode(ti[0]),St.approximateLength+=jr.length+10,!ni||e.isEntityName(ni)){if(ni){var ur=e.isIdentifier(ni)?ni:ni.right;ur.typeArguments=void 0}return e.factory.createImportTypeNode(dn,ni,Ei,Gr)}else{var wn=ri(ni),Xn=wn.objectType.typeName;return e.factory.createIndexedAccessTypeNode(e.factory.createImportTypeNode(dn,Xn,Ei,Gr),wn.indexType)}}var tr=Yi(ti,ti.length-1,0);if(e.isIndexedAccessTypeNode(tr))return tr;if(Gr)return e.factory.createTypeQueryNode(tr);var ur=e.isIdentifier(tr)?tr:tr.right,Ir=ur.typeArguments;return ur.typeArguments=void 0,e.factory.createTypeReferenceNode(tr,Ir);function Yi(Na,wi,Oa){var ko=wi===Na.length-1?Nr:$n(Na,wi,St),zo=Na[wi],Ns=Na[wi-1],rs;if(wi===0)St.flags|=16777216,rs=Wl(zo,St),St.approximateLength+=(rs?rs.length:0)+1,St.flags^=16777216;else if(Ns&&Ls(Ns)){var Nc=Ls(Ns);e.forEachEntry(Nc,function($s,Wd){if(gu($s,zo)&&!rm(Wd)&&Wd!=="export=")return rs=e.unescapeLeadingUnderscores(Wd),!0})}if(rs||(rs=Wl(zo,St)),St.approximateLength+=rs.length+1,!(St.flags&16)&&Ns&&__(Ns)&&__(Ns).get(zo.escapedName)&&gu(__(Ns).get(zo.escapedName),zo)){var Ps=Yi(Na,wi-1,Oa);return e.isIndexedAccessTypeNode(Ps)?e.factory.createIndexedAccessTypeNode(Ps,e.factory.createLiteralTypeNode(e.factory.createStringLiteral(rs))):e.factory.createIndexedAccessTypeNode(e.factory.createTypeReferenceNode(Ps,ko),e.factory.createLiteralTypeNode(e.factory.createStringLiteral(rs)))}var Il=e.setEmitFlags(e.factory.createIdentifier(rs,ko),16777216);if(Il.symbol=zo,wi>Oa){var Ps=Yi(Na,wi-1,Oa);return e.isEntityName(Ps)?e.factory.createQualifiedName(Ps,Il):e.Debug.fail("Impossible construct - an export of an indexed access cannot be reachable")}return Il}}function Ea(nn,St,Or){var Nr=gs(St.enclosingDeclaration,nn,788968,void 0,nn,!1);return Nr?!(Nr.flags&262144&&Nr===Or.symbol):!1}function Ui(nn,St){var Or,Nr;if(St.flags&4&&St.typeParameterNames){var ti=St.typeParameterNames.get(pl(nn));if(ti)return ti}var Gr=Wa(nn.symbol,St,788968,!0);if(!(Gr.kind&79))return e.factory.createIdentifier("(Missing type parameter)");if(St.flags&4){for(var ni=Gr.escapedText,Ei=((Or=St.typeParameterNamesByTextNextNameCount)===null||Or===void 0?void 0:Or.get(ni))||0,jr=ni;((Nr=St.typeParameterNamesByText)===null||Nr===void 0?void 0:Nr.has(jr))||Ea(jr,St,nn);)Ei++,jr="".concat(ni,"_").concat(Ei);jr!==ni&&(Gr=e.factory.createIdentifier(jr,Gr.typeArguments)),(St.typeParameterNamesByTextNextNameCount||(St.typeParameterNamesByTextNextNameCount=new e.Map)).set(ni,Ei),(St.typeParameterNames||(St.typeParameterNames=new e.Map)).set(pl(nn),Gr),(St.typeParameterNamesByText||(St.typeParameterNamesByText=new e.Set)).add(ni)}return Gr}function Wa(nn,St,Or,Nr){var ti=On(nn,St,Or);return Nr&&ti.length!==1&&!St.encounteredError&&!(St.flags&65536)&&(St.encounteredError=!0),Gr(ti,ti.length-1);function Gr(ni,Ei){var jr=$n(ni,Ei,St),dn=ni[Ei];Ei===0&&(St.flags|=16777216);var wn=Wl(dn,St);Ei===0&&(St.flags^=16777216);var Xn=e.setEmitFlags(e.factory.createIdentifier(wn,jr),16777216);return Xn.symbol=dn,Ei>0?e.factory.createQualifiedName(Gr(ni,Ei-1),Xn):Xn}}function Va(nn,St,Or){var Nr=On(nn,St,Or);return ti(Nr,Nr.length-1);function ti(Gr,ni){var Ei=$n(Gr,ni,St),jr=Gr[ni];ni===0&&(St.flags|=16777216);var dn=Wl(jr,St);ni===0&&(St.flags^=16777216);var wn=dn.charCodeAt(0);if(e.isSingleOrDoubleQuote(wn)&&e.some(jr.declarations,_l))return e.factory.createStringLiteral(dr(jr,St));var Xn=wn===35?dn.length>1&&e.isIdentifierStart(dn.charCodeAt(1),Ce):e.isIdentifierStart(wn,Ce);if(ni===0||Xn){var tr=e.setEmitFlags(e.factory.createIdentifier(dn,Ei),16777216);return tr.symbol=jr,ni>0?e.factory.createPropertyAccessExpression(ti(Gr,ni-1),tr):tr}else{wn===91&&(dn=dn.substring(1,dn.length-1),wn=dn.charCodeAt(0));var ur=void 0;return e.isSingleOrDoubleQuote(wn)&&!(jr.flags&8)?ur=e.factory.createStringLiteral(e.stripQuotes(dn).replace(/\\./g,function(Ir){return Ir.substring(1)}),wn===39):""+ +dn===dn&&(ur=e.factory.createNumericLiteral(+dn)),ur||(ur=e.setEmitFlags(e.factory.createIdentifier(dn,Ei),16777216),ur.symbol=jr),e.factory.createElementAccessExpression(ti(Gr,ni-1),ur)}}}function Ka(nn){var St=e.getNameOfDeclaration(nn);return!!St&&e.isStringLiteral(St)}function Ko(nn){var St=e.getNameOfDeclaration(nn);return!!(St&&e.isStringLiteral(St)&&(St.singleQuote||!e.nodeIsSynthesized(St)&&e.startsWith(e.getTextOfNode(St,!1),"'")))}function er(nn,St){var Or=!!e.length(nn.declarations)&&e.every(nn.declarations,Ko),Nr=Hn(nn,St,Or);if(Nr)return Nr;var ti=e.unescapeLeadingUnderscores(nn.escapedName),Gr=!!e.length(nn.declarations)&&e.every(nn.declarations,Ka);return e.createPropertyNameNodeForIdentifierOrLiteral(ti,e.getEmitScriptTarget(Oe),Or,Gr)}function Hn(nn,St,Or){var Nr=Ji(nn).nameType;if(Nr){if(Nr.flags&384){var ti=""+Nr.value;return!e.isIdentifierText(ti,e.getEmitScriptTarget(Oe))&&!e.isNumericLiteralName(ti)?e.factory.createStringLiteral(ti,!!Or):e.isNumericLiteralName(ti)&&e.startsWith(ti,"-")?e.factory.createComputedPropertyName(e.factory.createNumericLiteral(+ti)):e.createPropertyNameNodeForIdentifierOrLiteral(ti,e.getEmitScriptTarget(Oe))}if(Nr.flags&8192)return e.factory.createComputedPropertyName(Va(Nr.symbol,St,111551))}}function zr(nn){var St=Tt({},nn);return St.typeParameterNames&&(St.typeParameterNames=new e.Map(St.typeParameterNames)),St.typeParameterNamesByText&&(St.typeParameterNamesByText=new e.Set(St.typeParameterNamesByText)),St.typeParameterSymbolList&&(St.typeParameterSymbolList=new e.Set(St.typeParameterSymbolList)),St.tracker=n(St,St.tracker),St}function Gi(nn,St){return nn.declarations&&e.find(nn.declarations,function(Or){return!!e.getEffectiveTypeAnnotationNode(Or)&&(!St||!!e.findAncestor(Or,function(Nr){return Nr===St}))})}function ei(nn,St){return!(e.getObjectFlags(St)&4)||!e.isTypeReferenceNode(nn)||e.length(nn.typeArguments)>=kl(St.target.typeParameters)}function ea(nn,St,Or,Nr,ti,Gr){if(!$r(St)&&Nr){var ni=Gi(Or,Nr);if(ni&&!e.isFunctionLikeDeclaration(ni)&&!e.isGetAccessorDeclaration(ni)){var Ei=e.getEffectiveTypeAnnotationNode(ni);if(Vi(Ei)===St&&ei(Ei,St)){var jr=oi(nn,Ei,ti,Gr);if(jr)return jr}}}var dn=nn.flags;St.flags&8192&&St.symbol===Or&&(!nn.enclosingDeclaration||e.some(Or.declarations,function(Xn){return e.getSourceFileOfNode(Xn)===e.getSourceFileOfNode(nn.enclosingDeclaration)}))&&(nn.flags|=1048576);var wn=o(St,nn);return nn.flags=dn,wn}function Aa(nn,St,Or,Nr,ti){if(!$r(St)&&nn.enclosingDeclaration){var Gr=Or.declaration&&e.getEffectiveReturnTypeNode(Or.declaration);if(!!e.findAncestor(Gr,function(dn){return dn===nn.enclosingDeclaration})&&Gr){var ni=Vi(Gr),Ei=ni.flags&262144&&ni.isThisType?ha(ni,Or.mapper):ni;if(Ei===St&&ei(Gr,St)){var jr=oi(nn,Gr,Nr,ti);if(jr)return jr}}}return o(St,nn)}function to(nn,St,Or){var Nr,ti,Gr=!1,ni=e.getFirstIdentifier(nn);if(e.isInJSFile(nn)&&(e.isExportsIdentifier(ni)||e.isModuleExportsAccessExpression(ni.parent)||e.isQualifiedName(ni.parent)&&e.isModuleIdentifier(ni.parent.left)&&e.isExportsIdentifier(ni.parent.right)))return Gr=!0,{introducesError:Gr,node:nn};var Ei=Ms(ni,67108863,!0,!0);if(Ei&&(Ad(Ei,St.enclosingDeclaration,67108863,!1).accessibility!==0?Gr=!0:((ti=(Nr=St.tracker)===null||Nr===void 0?void 0:Nr.trackSymbol)===null||ti===void 0||ti.call(Nr,Ei,St.enclosingDeclaration,67108863),Or==null||Or(Ei)),e.isIdentifier(nn))){var jr=Wo(Ei),dn=Ei.flags&262144&&!Sl(jr.symbol,St.enclosingDeclaration)?Ui(jr,St):e.factory.cloneNode(nn);return dn.symbol=Ei,{introducesError:Gr,node:e.setEmitFlags(e.setOriginalNode(dn,nn),16777216)}}return{introducesError:Gr,node:nn}}function oi(nn,St,Or,Nr){w&&w.throwIfCancellationRequested&&w.throwIfCancellationRequested();var ti=!1,Gr=e.getSourceFileOfNode(St),ni=e.visitNode(St,Ei);if(ti)return;return ni===St?e.setTextRange(e.factory.cloneNode(St),St):ni;function Ei(jr){if(e.isJSDocAllType(jr)||jr.kind===317)return e.factory.createKeywordTypeNode(130);if(e.isJSDocUnknownType(jr))return e.factory.createKeywordTypeNode(154);if(e.isJSDocNullableType(jr))return e.factory.createUnionTypeNode([e.visitNode(jr.type,Ei),e.factory.createLiteralTypeNode(e.factory.createNull())]);if(e.isJSDocOptionalType(jr))return e.factory.createUnionTypeNode([e.visitNode(jr.type,Ei),e.factory.createKeywordTypeNode(152)]);if(e.isJSDocNonNullableType(jr))return e.visitNode(jr.type,Ei);if(e.isJSDocVariadicType(jr))return e.factory.createArrayTypeNode(e.visitNode(jr.type,Ei));if(e.isJSDocTypeLiteral(jr))return e.factory.createTypeLiteralNode(e.map(jr.jsDocPropertyTags,function(wi){var Oa=e.isIdentifier(wi.name)?wi.name:wi.name.right,ko=on(Vi(jr),Oa.escapedText),zo=ko&&wi.typeExpression&&Vi(wi.typeExpression.type)!==ko?o(ko,nn):void 0;return e.factory.createPropertySignature(void 0,Oa,wi.isBracketed||wi.typeExpression&&e.isJSDocOptionalType(wi.typeExpression.type)?e.factory.createToken(57):void 0,zo||wi.typeExpression&&e.visitNode(wi.typeExpression.type,Ei)||e.factory.createKeywordTypeNode(130))}));if(e.isTypeReferenceNode(jr)&&e.isIdentifier(jr.typeName)&&jr.typeName.escapedText==="")return e.setOriginalNode(e.factory.createKeywordTypeNode(130),jr);if((e.isExpressionWithTypeArguments(jr)||e.isTypeReferenceNode(jr))&&e.isJSDocIndexSignature(jr))return e.factory.createTypeLiteralNode([e.factory.createIndexSignature(void 0,void 0,[e.factory.createParameterDeclaration(void 0,void 0,void 0,"x",void 0,e.visitNode(jr.typeArguments[0],Ei))],e.visitNode(jr.typeArguments[1],Ei))]);if(e.isJSDocFunctionType(jr))if(e.isJSDocConstructSignature(jr)){var dn;return e.factory.createConstructorTypeNode(jr.modifiers,e.visitNodes(jr.typeParameters,Ei),e.mapDefined(jr.parameters,function(wi,Oa){return wi.name&&e.isIdentifier(wi.name)&&wi.name.escapedText==="new"?(dn=wi.type,void 0):e.factory.createParameterDeclaration(void 0,void 0,Ir(wi),Yi(wi,Oa),wi.questionToken,e.visitNode(wi.type,Ei),void 0)}),e.visitNode(dn||jr.type,Ei)||e.factory.createKeywordTypeNode(130))}else return e.factory.createFunctionTypeNode(e.visitNodes(jr.typeParameters,Ei),e.map(jr.parameters,function(wi,Oa){return e.factory.createParameterDeclaration(void 0,void 0,Ir(wi),Yi(wi,Oa),wi.questionToken,e.visitNode(wi.type,Ei),void 0)}),e.visitNode(jr.type,Ei)||e.factory.createKeywordTypeNode(130));if(e.isTypeReferenceNode(jr)&&e.isInJSDoc(jr)&&(!ei(jr,Vi(jr))||lD(jr)||ee===mg(jr,788968,!0)))return e.setOriginalNode(o(Vi(jr),nn),jr);if(e.isLiteralImportTypeNode(jr)){var wn=Ni(jr).resolvedSymbol;return e.isInJSDoc(jr)&&wn&&(!jr.isTypeOf&&!(wn.flags&788968)||!(e.length(jr.typeArguments)>=kl(l_(wn))))?e.setOriginalNode(o(Vi(jr),nn),jr):e.factory.updateImportTypeNode(jr,e.factory.updateLiteralTypeNode(jr.argument,Na(jr,jr.argument.literal)),jr.qualifier,e.visitNodes(jr.typeArguments,Ei,e.isTypeNode),jr.isTypeOf)}if(e.isEntityName(jr)||e.isEntityNameExpression(jr)){var Xn=to(jr,nn,Or),tr=Xn.introducesError,ur=Xn.node;if(ti=ti||tr,ur!==jr)return ur}return Gr&&e.isTupleTypeNode(jr)&&e.getLineAndCharacterOfPosition(Gr,jr.pos).line===e.getLineAndCharacterOfPosition(Gr,jr.end).line&&e.setEmitFlags(jr,1),e.visitEachChild(jr,Ei,e.nullTransformationContext);function Ir(wi){return wi.dotDotDotToken||(wi.type&&e.isJSDocVariadicType(wi.type)?e.factory.createToken(25):void 0)}function Yi(wi,Oa){return wi.name&&e.isIdentifier(wi.name)&&wi.name.escapedText==="this"?"this":Ir(wi)?"args":"arg".concat(Oa)}function Na(wi,Oa){if(Nr){if(nn.tracker&&nn.tracker.moduleResolverHost){var ko=Kb(wi);if(ko){var zo=e.createGetCanonicalFileName(!!M.useCaseSensitiveFileNames),Ns={getCanonicalFileName:zo,getCurrentDirectory:function(){return nn.tracker.moduleResolverHost.getCurrentDirectory()},getCommonSourceDirectory:function(){return nn.tracker.moduleResolverHost.getCommonSourceDirectory()}},rs=e.getResolvedExternalModuleName(Ns,ko);return e.factory.createStringLiteral(rs)}}}else if(nn.tracker&&nn.tracker.trackExternalModuleSymbolOfImportTypeNode){var Nc=sc(Oa,Oa,void 0);Nc&&nn.tracker.trackExternalModuleSymbolOfImportTypeNode(Nc)}return Oa}}}function no(nn,St,Or){var Nr=ra(e.factory.createPropertyDeclaration,168,!0),ti=ra(function(gn,Br,Ii,Pr,_a){return e.factory.createPropertySignature(Br,Ii,Pr,_a)},167,!1),Gr=St.enclosingDeclaration,ni=[],Ei=new e.Set,jr=[],dn=St;St=Tt(Tt({},dn),{usedSymbolNames:new e.Set(dn.usedSymbolNames),remappedSymbolNames:new e.Map,tracker:Tt(Tt({},dn.tracker),{trackSymbol:function(gn,Br,Ii){var Pr=Ad(gn,Br,Ii,!1);if(Pr.accessibility===0){var _a=Ln(gn,St,Ii);gn.flags&4||Ps(_a[0])}else if(dn.tracker&&dn.tracker.trackSymbol)return dn.tracker.trackSymbol(gn,Br,Ii);return!1}})}),St.tracker=n(St,St.tracker),e.forEachEntry(nn,function(gn,Br){var Ii=e.unescapeLeadingUnderscores(Br);zs(gn,Ii)});var wn=!Or,Xn=nn.get("export=");return Xn&&nn.size>1&&Xn.flags&2097152&&(nn=e.createSymbolTable(),nn.set("export=",Xn)),Ns(nn),wi(ni);function tr(gn){return!!gn&&gn.kind===79}function ur(gn){return e.isVariableStatement(gn)?e.filter(e.map(gn.declarationList.declarations,e.getNameOfDeclaration),tr):e.filter([e.getNameOfDeclaration(gn)],tr)}function Ir(gn){var Br=e.find(gn,e.isExportAssignment),Ii=e.findIndex(gn,e.isModuleDeclaration),Pr=Ii!==-1?gn[Ii]:void 0;if(Pr&&Br&&Br.isExportEquals&&e.isIdentifier(Br.expression)&&e.isIdentifier(Pr.name)&&e.idText(Pr.name)===e.idText(Br.expression)&&Pr.body&&e.isModuleBlock(Pr.body)){var _a=e.filter(gn,function(ca){return!!(e.getEffectiveModifierFlags(ca)&1)}),sa=Pr.name,ga=Pr.body;if(e.length(_a)&&(Pr=e.factory.updateModuleDeclaration(Pr,Pr.decorators,Pr.modifiers,Pr.name,ga=e.factory.updateModuleBlock(ga,e.factory.createNodeArray(tt(tt([],Pr.body.statements,!0),[e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.map(e.flatMap(_a,function(ca){return ur(ca)}),function(ca){return e.factory.createExportSpecifier(!1,void 0,ca)})),void 0)],!1)))),gn=tt(tt(tt([],gn.slice(0,Ii),!0),[Pr],!1),gn.slice(Ii+1),!0)),!e.find(gn,function(ca){return ca!==Pr&&e.nodeHasName(ca,sa)})){ni=[];var Ra=!e.some(ga.statements,function(ca){return e.hasSyntacticModifier(ca,1)||e.isExportAssignment(ca)||e.isExportDeclaration(ca)});e.forEach(ga.statements,function(ca){$s(ca,Ra?1:0)}),gn=tt(tt([],e.filter(gn,function(ca){return ca!==Pr&&ca!==Br}),!0),ni,!0)}}return gn}function Yi(gn){var Br=e.filter(gn,function(oa){return e.isExportDeclaration(oa)&&!oa.moduleSpecifier&&!!oa.exportClause&&e.isNamedExports(oa.exportClause)});if(e.length(Br)>1){var Ii=e.filter(gn,function(oa){return!e.isExportDeclaration(oa)||!!oa.moduleSpecifier||!oa.exportClause});gn=tt(tt([],Ii,!0),[e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.flatMap(Br,function(oa){return e.cast(oa.exportClause,e.isNamedExports).elements})),void 0)],!1)}var Pr=e.filter(gn,function(oa){return e.isExportDeclaration(oa)&&!!oa.moduleSpecifier&&!!oa.exportClause&&e.isNamedExports(oa.exportClause)});if(e.length(Pr)>1){var _a=e.group(Pr,function(oa){return e.isStringLiteral(oa.moduleSpecifier)?">"+oa.moduleSpecifier.text:">"});if(_a.length!==Pr.length)for(var sa=function(oa){oa.length>1&&(gn=tt(tt([],e.filter(gn,function(Eo){return oa.indexOf(Eo)===-1}),!0),[e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.flatMap(oa,function(Eo){return e.cast(Eo.exportClause,e.isNamedExports).elements})),oa[0].moduleSpecifier)],!1))},ga=0,Ra=_a;ga=0){var Ii=gn[Br],Pr=e.mapDefined(Ii.exportClause.elements,function(_a){if(!_a.propertyName){var sa=e.indicesOf(gn),ga=e.filter(sa,function(Eo){return e.nodeHasName(gn[Eo],_a.name)});if(e.length(ga)&&e.every(ga,function(Eo){return Oa(gn[Eo])})){for(var Ra=0,ca=ga;Ra0&&e.isSingleOrDoubleQuote(Pr.charCodeAt(0))?e.stripQuotes(Pr):Pr}return Br==="default"?Br="_default":Br==="export="&&(Br="_exports"),Br=e.isIdentifierText(Br,Ce)&&!e.isStringANonContextualKeyword(Br)?Br:"_"+Br.replace(/[^a-zA-Z0-9]/g,"_"),Br}function zs(gn,Br){var Ii=g(gn);return St.remappedSymbolNames.has(Ii)?St.remappedSymbolNames.get(Ii):(Br=Es(gn,Br),St.remappedSymbolNames.set(Ii,Br),Br)}}}function Hc(t,n,i,o){return i===void 0&&(i=16384),o?s(o).getText():e.usingSingleLineStringWriter(s);function s(l){var T=e.factory.createTypePredicateNode(t.kind===2||t.kind===3?e.factory.createToken(128):void 0,t.kind===1||t.kind===3?e.factory.createIdentifier(t.parameterName):e.factory.createThisTypeNode(),t.type&&Ft.typeToTypeNode(t.type,n,fp(i)|70221824|512)),U=e.createPrinter({removeComments:!0}),_e=n&&e.getSourceFileOfNode(n);return U.writeNode(4,T,_e,l),l}}function Gp(t){for(var n=[],i=0,o=0;o=0){for(var o=Vu.length,s=i;s=0;i--){if(Id(Vu[i],So[i]))return-1;if(Vu[i]===t&&So[i]===n)return i}return-1}function Id(t,n){switch(n){case 0:return!!Ji(t).type;case 5:return!!Ni(t).resolvedEnumType;case 2:return!!Ji(t).declaredType;case 1:return!!t.resolvedBaseConstructorType;case 3:return!!t.resolvedReturnType;case 4:return!!t.immediateBaseConstraint;case 6:return!!t.resolvedTypeArguments;case 7:return!!t.baseTypesResolved}return e.Debug.assertNever(n)}function ku(){return Vu.pop(),So.pop(),gl.pop()}function x(t){return e.findAncestor(e.getRootDeclaration(t),function(n){switch(n.kind){case 253:case 254:case 269:case 268:case 267:case 266:return!1;default:return!0}}).parent}function rt(t){var n=Wo(Qs(t));return n.typeParameters?rd(n,e.map(n.typeParameters,function(i){return Re})):n}function on(t,n){var i=ka(t,n);return i?Jr(i):void 0}function Wn(t,n){var i;return on(t,n)||((i=Zp(t,n))===null||i===void 0?void 0:i.type)||$e}function wr(t){return t&&(t.flags&1)!==0}function $r(t){return t===Qe||!!(t.flags&1&&t.aliasSymbol)}function Qi(t,n){if(n!==0)return Vl(t,!1,n);var i=Lr(t);return i&&Ji(i).type||Vl(t,!1,n)}function ma(t,n,i){if(t=Cc(t,function(sn){return!(sn.flags&98304)}),t.flags&131072)return br;if(t.flags&1048576)return Js(t,function(sn){return ma(sn,n,i)});for(var o=Fi(e.map(n,Cp)),s=[],l=[],T=0,U=To(t);T=2?E4(Re):mr;var T=e.map(o,function(Ye){return e.isOmittedExpression(Ye)?Re:Bs(Ye,n,i)}),U=e.findLastIndex(o,function(Ye){return!(Ye===l||e.isOmittedExpression(Ye)||Eg(Ye))},o.length-1)+1,_e=e.map(o,function(Ye,Xe){return Ye===l?4:Xe>=U?2:1}),Ae=Xl(T,_e);return n&&(Ae=nD(Ae),Ae.pattern=t,Ae.objectFlags|=262144),Ae}function au(t,n,i){return n===void 0&&(n=!1),i===void 0&&(i=!1),t.kind===200?Kc(t,n,i):Ic(t,n,i)}function bc(t,n){return Gc(Vl(t,!0,0),t,n)}function P_(t){var n=Lr(t),i=_4(!1);return i&&n&&n===i}function Gc(t,n,i){return t?(t.flags&4096&&P_(n.parent)&&(t=A2(n)),i&&ih(n,t),t.flags&8192&&(e.isBindingElement(n)||!n.type)&&t.symbol!==Lr(n)&&(t=Oi),du(t)):(t=e.isParameter(n)&&n.dotDotDotToken?mr:Re,i&&(Qc(n)||uf(n,t)),t)}function Qc(t){var n=e.getRootDeclaration(t),i=n.kind===163?n.parent:n;return Uh(i)}function Bu(t){var n=e.getEffectiveTypeAnnotationNode(t);if(n)return Vi(n)}function Zu(t){var n=Ji(t);if(!n.type){var i=Ju(t);n.type||(n.type=i)}return n.type}function Ju(t){if(t.flags&4194304)return rt(t);if(t===he)return Re;if(t.flags&134217728&&t.valueDeclaration){var n=Lr(e.getSourceFileOfNode(t.valueDeclaration)),i=Co(n.flags,"exports");i.declarations=n.declarations?n.declarations.slice():[],i.parent=t,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 o=e.createSymbolTable();return o.set("exports",i),Ts(t,o,e.emptyArray,e.emptyArray,e.emptyArray)}e.Debug.assertIsDefined(t.valueDeclaration);var s=t.valueDeclaration;if(e.isCatchClauseVariableDeclarationOrBindingElement(s)){var l=e.getEffectiveTypeAnnotationNode(s);if(l===void 0)return Ht?$e:Re;var T=mf(l);return wr(T)||T===$e?T:Qe}if(e.isSourceFile(s)&&e.isJsonSourceFile(s))return s.statements.length?du(cf(Ta(s.statements[0].expression))):br;if(!iu(t,0))return t.flags&512&&!(t.flags&67108864)?Hs(t):wf(t);var U;if(s.kind===270)U=Gc(Bu(s)||Ys(s.expression),s);else if(e.isBinaryExpression(s)||e.isInJSFile(s)&&(e.isCallExpression(s)||(e.isPropertyAccessExpression(s)||e.isBindableStaticElementAccessExpression(s))&&e.isBinaryExpression(s.parent)))U=mi(t);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(t.flags&9136)return Hs(t);U=e.isBinaryExpression(s.parent)?mi(t):Bu(s)||Re}else if(e.isPropertyAssignment(s))U=Bu(s)||LC(s);else if(e.isJsxAttribute(s))U=Bu(s)||DE(s);else if(e.isShorthandPropertyAssignment(s))U=Bu(s)||Ig(s.name,0);else if(e.isObjectLiteralMethod(s))U=Bu(s)||RC(s,0);else if(e.isParameter(s)||e.isPropertyDeclaration(s)||e.isPropertySignature(s)||e.isVariableDeclaration(s)||e.isBindingElement(s)||e.isJSDocPropertyLikeTag(s))U=bc(s,!0);else if(e.isEnumDeclaration(s))U=Hs(t);else if(e.isEnumMember(s))U=A_(t);else if(e.isAccessor(s))U=ya(t)||e.Debug.fail("Non-write accessor resolution must always produce a type");else return e.Debug.fail("Unhandled declaration kind! "+e.Debug.formatSyntaxKind(s.kind)+" for "+e.Debug.formatSymbol(t));return ku()?U:t.flags&512&&!(t.flags&67108864)?Hs(t):wf(t)}function p(t){if(t)if(t.kind===171){var n=e.getEffectiveReturnTypeNode(t);return n}else{var i=e.getEffectiveSetAccessorTypeAnnotationNode(t);return i}}function q(t){var n=p(t);return n&&Vi(n)}function Ee(t){var n=qb(t);return n&&n.symbol}function at(t){return Of(p_(t))}function $t(t){var n=Ji(t);return n.type||(n.type=yr(t)||e.Debug.fail("Read type of accessor must always produce a type"))}function nr(t){var n=Ji(t);return n.writeType||(n.writeType=yr(t,!0))}function yr(t,n){if(n===void 0&&(n=!1),!iu(t,0))return Qe;var i=ya(t,n);if(!ku()&&(i=Re,Ue)){var o=e.getDeclarationOfKind(t,171);Wt(o,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,Zi(t))}return i}function ya(t,n){n===void 0&&(n=!1);var i=e.getDeclarationOfKind(t,171),o=e.getDeclarationOfKind(t,172);if(n){var s=q(o);if(s)return Ae(s,t)}if(i&&e.isInJSFile(i)){var l=N_(i);if(l)return Ae(l,t)}var T=q(i);if(T)return Ae(T,t);var U=q(o);if(U)return U;if(i&&i.body){var _e=Bh(i);return Ae(_e,t)}if(o)return Uh(o)||fu(Ue,o,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,Zi(t)),Re;if(i)return e.Debug.assert(!!i,"there must exist a getter as we are current checking either setter or getter in this function"),Uh(i)||fu(Ue,i,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,Zi(t)),Re;return;function Ae(Ye,Xe){if(e.getCheckFlags(Xe)&1){var ct=Ji(Xe);return ha(Ye,ct.mapper)}return Ye}}function cs(t){var n=Ku(Ba(t));return n.flags&8650752?n:n.flags&2097152?e.find(n.types,function(i){return!!(i.flags&8650752)}):void 0}function Hs(t){var n=Ji(t),i=n;if(!n.type){var o=t.valueDeclaration&&Lh(t.valueDeclaration,!1);if(o){var s=rb(t,o);s&&(t=n=s)}i.type=n.type=Qp(t)}return n.type}function Qp(t){var n=t.valueDeclaration;if(t.flags&1536&&e.isShorthandAmbientModuleSymbol(t))return Re;if(n&&(n.kind===220||e.isAccessExpression(n)&&n.parent.kind===220))return mi(t);if(t.flags&512&&n&&e.isSourceFile(n)&&n.commonJsModuleIndicator){var i=cc(t);if(i!==t){if(!iu(t,0))return Qe;var o=Ya(t.exports.get("export=")),s=mi(o,o===i?void 0:i);return ku()?s:wf(t)}}var l=ru(16,t);if(t.flags&32){var T=cs(t);return T?Oo([l,T]):l}else return vt&&t.flags&16777216?sd(l):l}function A_(t){var n=Ji(t);return n.type||(n.type=Xp(t))}function yp(t){var n=Ji(t);if(!n.type){var i=Vs(t),o=t.declarations&&W_(wu(t),!0),s=e.firstDefined(o==null?void 0:o.declarations,function(l){return e.isExportAssignment(l)?Bu(l):void 0});n.type=(o==null?void 0:o.declarations)&&e1(o.declarations)&&t.declarations.length?yn(o):e1(t.declarations)?it:s||(i.flags&111551?Jr(i):Qe)}return n.type}function vp(t){var n=Ji(t);if(!n.type){if(!iu(t,0))return n.type=Qe;var i=ha(Jr(n.target),n.mapper);ku()||(i=wf(t)),n.type=i}return n.type}function wf(t){var n=t.valueDeclaration;return e.getEffectiveTypeAnnotationNode(n)?(Wt(t.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Zi(t)),Qe):(Ue&&(n.kind!==163||n.initializer)&&Wt(t.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,Zi(t)),Re)}function Ky(t){var n=Ji(t);return n.type||(e.Debug.assertIsDefined(n.deferralParent),e.Debug.assertIsDefined(n.deferralConstituents),n.type=n.deferralParent.flags&1048576?Fi(n.deferralConstituents):Oo(n.deferralConstituents)),n.type}function If(t){var n=Ji(t);return!n.writeType&&n.deferralWriteConstituents&&(e.Debug.assertIsDefined(n.deferralParent),e.Debug.assertIsDefined(n.deferralConstituents),n.writeType=n.deferralParent.flags&1048576?Fi(n.deferralWriteConstituents):Oo(n.deferralWriteConstituents)),n.writeType}function Wg(t){var n=e.getCheckFlags(t);if(n&65536){var i=If(t);if(i)return i}if(t.flags&33554432){var i=t.writeType;if(i)return i}return zy(t)}function zy(t){if(t.flags&98304){var n=nr(t);if(n)return n}return Jr(t)}function Jr(t){var n=e.getCheckFlags(t);return n&65536?Ky(t):n&1?vp(t):n&262144?Y1(t):n&8192?P8(t):t.flags&7?Zu(t):t.flags&9136?Hs(t):t.flags&8?A_(t):t.flags&98304?$t(t):t.flags&2097152?yp(t):Qe}function F_(t){return Mm(Jr(t),!!(t.flags&16777216))}function u_(t,n){return t!==void 0&&n!==void 0&&(e.getObjectFlags(t)&4)!==0&&t.target===n}function w_(t){return e.getObjectFlags(t)&4?t.target:t}function Yp(t,n){return i(t);function i(o){if(e.getObjectFlags(o)&7){var s=w_(o);return s===n||e.some(ou(s),i)}else if(o.flags&2097152)return e.some(o.types,i);return!1}}function Xm(t,n){for(var i=0,o=n;i0)return!0;if(t.flags&8650752){var n=Uc(t);return!!n&&tm(n)}return!1}function $p(t){var n=e.getClassLikeDeclarationOfSymbol(t.symbol);return n&&e.getEffectiveBaseTypeNode(n)}function Vg(t,n,i){var o=e.length(n),s=e.isInJSFile(i);return e.filter(Ja(t,1),function(l){return(s||o>=kl(l.typeParameters))&&o<=e.length(l.typeParameters)})}function nm(t,n,i){var o=Vg(t,n,i),s=e.map(n,Vi);return e.sameMap(o,function(l){return e.some(l.typeParameters)?sv(l,s,e.isInJSFile(i)):l})}function Ku(t){if(!t.resolvedBaseConstructorType){var n=e.getClassLikeDeclarationOfSymbol(t.symbol),i=n&&e.getEffectiveBaseTypeNode(n),o=$p(t);if(!o)return t.resolvedBaseConstructorType=kt;if(!iu(t,1))return Qe;var s=Ta(o.expression);if(i&&o!==i&&(e.Debug.assert(!i.typeArguments),Ta(i.expression)),s.flags&2621440&&dl(s),!ku())return Wt(t.symbol.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,Zi(t.symbol)),t.resolvedBaseConstructorType=Qe;if(!(s.flags&1)&&s!==Fn&&!vm(s)){var l=Wt(o.expression,e.Diagnostics.Type_0_is_not_a_constructor_function_type,Dr(s));if(s.flags&262144){var T=pg(s),U=$e;if(T){var _e=Ja(T,1);_e[0]&&(U=Io(_e[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,Zi(s.symbol),Dr(U)))}return t.resolvedBaseConstructorType=Qe}t.resolvedBaseConstructorType=s}return t.resolvedBaseConstructorType}function Uy(t){var n=e.emptyArray;if(t.symbol.declarations)for(var i=0,o=t.symbol.declarations;i=ht&&_e<=Qt){var sn=Qt?w0(ct,tf(U,ct.typeParameters,ht,T)):bm(ct);sn.typeParameters=t.localTypeParameters,sn.resolvedReturnType=t,sn.flags=s?sn.flags|4:sn.flags&-5,Ae.push(sn)}}return Ae}function Gy(t,n,i,o,s){for(var l=0,T=t;l0)return;for(var o=1;o1&&(i=i===void 0?o:-1);for(var s=0,l=t[o];s1){var Ae=T.thisParameter,Ye=e.forEach(U,function($n){return $n.thisParameter});if(Ye){var Xe=Oo(e.mapDefined(U,function($n){return $n.thisParameter&&Jr($n.thisParameter)}));Ae=_m(Ye,Xe)}_e=y0(T,U),_e.thisParameter=Ae}(n||(n=[])).push(_e)}}}}if(!e.length(n)&&i!==-1){for(var ct=t[i!==void 0?i:0],ht=ct.slice(),Qt=function($n){if($n!==ct){var ri=$n[0];if(e.Debug.assert(!!ri,"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass"),ht=!!ri.typeParameters&&e.some(ht,function(dr){return!!dr.typeParameters&&!h0(ri.typeParameters,dr.typeParameters)})?void 0:e.map(ht,function(dr){return Yy(dr,ri)}),!ht)return"break"}},sn=0,On=t;sn=s?t:n,T=l===t?n:t,U=l===t?o:s,_e=i_(t)||i_(n),Ae=_e&&!i_(l),Ye=new Array(U+(Ae?1:0)),Xe=0;Xe=r_(l)&&Xe>=r_(T),Ln=Xe>=o?void 0:Ag(t,Xe),Kn=Xe>=s?void 0:Ag(n,Xe),$n=Ln===Kn?Ln:Ln?Kn?void 0:Ln:Kn,ri=Co(1|(On&&!sn?16777216:0),$n||"arg".concat(Xe));ri.type=sn?gc(Qt):Qt,Ye[Xe]=ri}if(Ae){var dr=Co(1,"args");dr.type=gc(fl(T,U)),T===n&&(dr.type=ha(dr.type,i)),Ye[U]=dr}return Ye}function Yy(t,n){var i=t.typeParameters||n.typeParameters,o;t.typeParameters&&n.typeParameters&&(o=lu(n.typeParameters,t.typeParameters));var s=t.declaration,l=q1(t,n,o),T=x0(t.thisParameter,n.thisParameter,o),U=Math.max(t.minArgumentCount,n.minArgumentCount),_e=Dl(s,i,T,l,void 0,void 0,U,(t.flags|n.flags)&39);return _e.compositeKind=1048576,_e.compositeSignatures=e.concatenate(t.compositeKind!==2097152&&t.compositeSignatures||[t],[n]),o&&(_e.mapper=t.compositeKind!==2097152&&t.mapper&&t.compositeSignatures?Rf(t.mapper,o):o),_e}function Sm(t){var n=uc(t[0]);if(n){for(var i=[],o=function(U){var _e=U.keyType;e.every(t,function(Ae){return!!Cl(Ae,_e)})&&i.push($l(_e,Fi(e.map(t,function(Ae){return d_(Ae,_e)})),e.some(t,function(Ae){return Cl(Ae,_e).isReadonly})))},s=0,l=n;s0}),i=e.map(t,tm);if(n>0&&n===e.countWhere(i,function(s){return s})){var o=i.indexOf(!0);i[o]=!1}return i}function D0(t,n,i,o){for(var s=[],l=0;l0&&(Xe=e.map(Xe,function(ct){var ht=bm(ct);return ht.resolvedReturnType=D0(Io(ct),s,l,Ae),ht})),i=rg(i,Xe)}n=rg(n,Ja(Ye,0)),o=e.reduceLeft(uc(Ye),function(ct,ht){return $y(ct,ht,!1)},o)},_e=0;_e=7):n.flags&528?_n:n.flags&12288?vD(Ce>=2):n.flags&67108864?br:n.flags&4194304?Nn:n.flags&2&&!vt?br:n}function ki(t){return Po(kr(Po(t)))}function Ca(t,n,i){for(var o,s,l,T,U,_e=t.flags&1048576,Ae=_e?0:16777216,Ye=4,Xe=_e?0:8,ct=!1,ht=0,Qt=t.types;ht2?(ei.checkFlags|=65536,ei.deferralParent=t,ei.deferralConstituents=Va,ei.deferralWriteConstituents=Ka):(ei.type=_e?Fi(Va):Oo(Va),Ka&&(ei.writeType=_e?Fi(Ka):Oo(Ka))),ei}}function la(t,n,i){var o,s,l=((o=t.propertyCacheWithoutObjectFunctionPropertyAugment)===null||o===void 0?void 0:o.get(n))||!i?(s=t.propertyCache)===null||s===void 0?void 0:s.get(n):void 0;if(!l&&(l=Ca(t,n,i),l)){var T=i?t.propertyCacheWithoutObjectFunctionPropertyAugment||(t.propertyCacheWithoutObjectFunctionPropertyAugment=e.createSymbolTable()):t.propertyCache||(t.propertyCache=e.createSymbolTable());T.set(n,l)}return l}function Vo(t,n,i){var o=la(t,n,i);return o&&!(e.getCheckFlags(o)&16)?o:void 0}function Po(t){return t.flags&1048576&&t.objectFlags&33554432?t.resolvedReducedType||(t.resolvedReducedType=Pc(t)):t.flags&2097152?(t.objectFlags&33554432||(t.objectFlags|=33554432|(e.some(Tm(t),Dc)?67108864:0)),t.objectFlags&67108864?lr:t):t}function Pc(t){var n=e.sameMap(t.types,Po);if(n===t.types)return t;var i=Fi(n);return i.flags&1048576&&(i.resolvedReducedType=i),i}function Dc(t){return Gs(t)||tl(t)}function Gs(t){return!(t.flags&16777216)&&(e.getCheckFlags(t)&131264)===192&&!!(Jr(t).flags&131072)}function tl(t){return!t.valueDeclaration&&!!(e.getCheckFlags(t)&1024)}function ks(t,n){if(n.flags&2097152&&e.getObjectFlags(n)&67108864){var i=e.find(Tm(n),Gs);if(i)return e.chainDiagnosticMessages(t,e.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents,Dr(n,void 0,536870912),Zi(i));var o=e.find(Tm(n),tl);if(o)return e.chainDiagnosticMessages(t,e.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some,Dr(n,void 0,536870912),Zi(o))}return t}function ka(t,n,i){if(t=ki(t),t.flags&524288){var o=dl(t),s=o.members.get(n);if(s&&G_(s))return s;if(i)return;var l=o===Xt?gi:o.callSignatures.length?qe:o.constructSignatures.length?D:void 0;if(l){var T=nd(l,n);if(T)return T}return nd(ai,n)}if(t.flags&3145728)return Vo(t,n,i)}function Dp(t,n){if(t.flags&3670016){var i=dl(t);return n===0?i.callSignatures:i.constructSignatures}return e.emptyArray}function Ja(t,n){return Dp(ki(t),n)}function Ld(t,n){return e.find(t,function(i){return i.keyType===n})}function sg(t,n){for(var i,o,s,l=0,T=t;l=0),i>=r_(n,3)}var o=e.getImmediatelyInvokedFunctionExpression(t.parent);return o?!t.type&&!t.dotDotDotToken&&t.parent.parameters.indexOf(t)>=o.arguments.length:!1}function A0(t){return e.isPropertyDeclaration(t)&&t.questionToken}function _g(t){if(!e.isJSDocPropertyLikeTag(t))return!1;var n=t.isBracketed,i=t.typeExpression;return n||!!i&&i.type.kind===314}function Cm(t,n,i,o){return{kind:t,parameterName:n,parameterIndex:i,type:o}}function kl(t){var n=0;if(t)for(var i=0;i=i&&l<=s){for(var T=t?t.slice():[],U=l;UU.arguments.length&&!ht||lg(Xe);sn||(s=i.length)}if((t.kind===171||t.kind===172)&&bp(t)&&(!T||!l)){var On=t.kind===171?172:171,Ln=e.getDeclarationOfKind(Lr(t),On);Ln&&(l=Ee(Ln))}var Kn=t.kind===170?Ba(Ya(t.parent.symbol)):void 0,$n=Kn?Kn.localTypeParameters:cg(t);(e.hasRestParameter(t)||e.isInJSFile(t)&&H3(t,i))&&(o|=1),(e.isConstructorTypeNode(t)&&e.hasSyntacticModifier(t,128)||e.isConstructorDeclaration(t)&&e.hasSyntacticModifier(t.parent,128))&&(o|=4),n.resolvedSignature=Dl(t,$n,l,i,void 0,void 0,s,o)}return n.resolvedSignature}function H3(t,n){if(e.isJSDocSignature(t)||!r2(t))return!1;var i=e.lastOrUndefined(t.parameters),o=i?e.getJSDocParameterTags(i):e.getJSDocTags(t).filter(e.isJSDocParameterTag),s=e.firstDefined(o,function(T){return T.typeExpression&&e.isJSDocVariadicType(T.typeExpression.type)?T.typeExpression.type:void 0}),l=Co(3,"args",32768);return l.type=s?gc(Vi(s.type)):mr,s&&n.pop(),n.push(l),!0}function F0(t){if(e.isInJSFile(t)&&e.isFunctionLikeDeclaration(t)){var n=e.getJSDocTypeTag(t);return(n==null?void 0:n.typeExpression)&&dm(Vi(n.typeExpression))}}function G3(t,n){var i=F0(t);if(i){var o=t.parameters.indexOf(n);return n.dotDotDotToken?Fg(i,o):fl(i,o)}}function Q3(t){var n=F0(t);return n&&Io(n)}function r2(t){var n=Ni(t);return n.containsArgumentsReference===void 0&&(n.flags&8192?n.containsArgumentsReference=!0:n.containsArgumentsReference=i(t.body)),n.containsArgumentsReference;function i(o){if(!o)return!1;switch(o.kind){case 79:return o.escapedText===pn.escapedName&&wy(o)===pn;case 166:case 168:case 171:case 172:return o.name.kind===161&&i(o.name);case 205:case 206:return i(o.expression);case 294:return i(o.initializer);default:return!e.nodeStartsNewLexicalEnvironment(o)&&!e.isPartOfTypeNode(o)&&!!e.forEachChild(o,i)}}}function nf(t){if(!t||!t.declarations)return e.emptyArray;for(var n=[],i=0;i0&&o.body){var s=t.declarations[i-1];if(o.parent===s.parent&&o.kind===s.kind&&o.pos===s.end)continue}n.push(p_(o))}}return n}function GS(t){var n=Jo(t,t);if(n){var i=cc(n);if(i)return Jr(i)}return Re}function Of(t){if(t.thisParameter)return Jr(t.thisParameter)}function nl(t){if(!t.resolvedTypePredicate){if(t.target){var n=nl(t.target);t.resolvedTypePredicate=n?DP(n,t.mapper):ao}else if(t.compositeSignatures)t.resolvedTypePredicate=L4(t.compositeSignatures,t.compositeKind)||ao;else{var i=t.declaration&&e.getEffectiveReturnTypeNode(t.declaration),o=void 0;if(!i&&e.isInJSFile(t.declaration)){var s=F0(t.declaration);s&&t!==s&&(o=nl(s))}t.resolvedTypePredicate=i&&e.isTypePredicateNode(i)?Y3(i,t):o||ao}e.Debug.assert(!!t.resolvedTypePredicate)}return t.resolvedTypePredicate===ao?void 0:t.resolvedTypePredicate}function Y3(t,n){var i=t.parameterName,o=t.type&&Vi(t.type);return i.kind===191?Cm(t.assertsModifier?2:0,void 0,void 0,o):Cm(t.assertsModifier?3:1,i.escapedText,e.findIndex(n.parameters,function(s){return s.escapedName===i.escapedText}),o)}function QS(t,n,i){return n!==2097152?Fi(t,i):Oo(t)}function Io(t){if(!t.resolvedReturnType){if(!iu(t,3))return Qe;var n=t.target?ha(Io(t.target),t.mapper):t.compositeSignatures?ha(QS(e.map(t.compositeSignatures,Io),t.compositeKind,2),t.mapper):km(t.declaration)||(e.nodeIsMissing(t.declaration.body)?Re:Bh(t.declaration));if(t.flags&8?n=kT(n):t.flags&16&&(n=sd(n)),!ku()){if(t.declaration){var i=e.getEffectiveReturnTypeNode(t.declaration);if(i)Wt(i,e.Diagnostics.Return_type_annotation_circularly_references_itself);else if(Ue){var o=t.declaration,s=e.getNameOfDeclaration(o);s?Wt(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)):Wt(o,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=Re}t.resolvedReturnType=n}return t.resolvedReturnType}function km(t){if(t.kind===170)return Ba(Ya(t.parent.symbol));if(e.isJSDocConstructSignature(t))return Vi(t.parameters[0].type);var n=e.getEffectiveReturnTypeNode(t);if(n)return Vi(n);if(t.kind===171&&bp(t)){var i=e.isInJSFile(t)&&N_(t);if(i)return i;var o=e.getDeclarationOfKind(Lr(t),172),s=q(o);if(s)return s}return Q3(t)}function i2(t){return!t.resolvedReturnType&&td(t,3)>=0}function $3(t){return YS(t)||Re}function YS(t){if(W(t)){var n=Jr(t.parameters[t.parameters.length-1]),i=qa(n)?cy(n):n;return i&&d_(i,Tn)}}function sv(t,n,i,o){var s=a2(t,tf(n,t.typeParameters,kl(t.typeParameters),i));if(o){var l=$E(Io(s));if(l){var T=bm(l);T.typeParameters=o;var U=bm(s);return U.resolvedReturnType=dg(T),U}}return s}function a2(t,n){var i=t.instantiations||(t.instantiations=new e.Map),o=zu(n),s=i.get(o);return s||i.set(o,s=w0(t,n)),s}function w0(t,n){return wm(t,X3(t,n),!0)}function X3(t,n){return lu(t.typeParameters,n)}function Xg(t){return t.typeParameters?t.erasedSignatureCache||(t.erasedSignatureCache=Z3(t)):t}function Z3(t){return wm(t,eT(t.typeParameters),!0)}function e4(t){return t.typeParameters?t.canonicalSignatureCache||(t.canonicalSignatureCache=t4(t)):t}function t4(t){return sv(t,e.map(t.typeParameters,function(n){return n.target&&!cu(n.target)?n.target:n}),e.isInJSFile(t.declaration))}function n4(t){var n=t.typeParameters;if(n){if(t.baseSignatureCache)return t.baseSignatureCache;for(var i=eT(n),o=lu(n,e.map(n,function(T){return cu(T)||$e})),s=e.map(n,function(T){return ha(T,o)||$e}),l=0;l1&&(n+=":"+l),o+=l}return n}function Nm(t,n){return t?"@".concat(g(t))+(n?":".concat(zu(n)):""):""}function s2(t,n){for(var i=0,o=0,s=t;oo.length)){var _e=T&&e.isExpressionWithTypeArguments(t)&&!e.isJSDocAugmentsTag(t.parent),Ae=l===o.length?_e?e.Diagnostics.Expected_0_type_arguments_provide_these_with_an_extends_tag:e.Diagnostics.Generic_type_0_requires_1_type_argument_s:_e?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,Ye=Dr(i,void 0,2);if(Wt(t,Ae,Ye,l,o.length),!T)return Qe}if(t.kind===177&&TD(t,e.length(t.typeArguments)!==o.length))return c2(i,t,void 0);var Xe=e.concatenate(i.outerTypeParameters,tf(R0(t),o,l,T));return rd(i,Xe)}return rf(t,n)?i:Qe}function fg(t,n,i,o){var s=Wo(t);if(s===Ut&&z.has(t.escapedName)&&n&&n.length===1)return B0(t,n[0]);var l=Ji(t),T=l.typeParameters,U=zu(n)+Nm(i,o),_e=l.instantiations.get(U);return _e||l.instantiations.set(U,_e=iT(s,lu(T,tf(n,T,kl(T),e.isInJSFile(t.valueDeclaration))),i,o)),_e}function i4(t,n){if(e.getCheckFlags(n)&1048576){var i=R0(t),o=Nm(n,i),s=ae.get(o);return s||(s=xs(1,"error"),s.aliasSymbol=n,s.aliasTypeArguments=i,ae.set(o,s)),s}var l=Wo(n),T=Ji(n).typeParameters;if(T){var U=e.length(t.typeArguments),_e=kl(T);if(U<_e||U>T.length)return Wt(t,_e===T.length?e.Diagnostics.Generic_type_0_requires_1_type_argument_s:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,Zi(n),_e,T.length),Qe;var Ae=cm(t),Ye=Ae&&(iD(n)||!iD(Ae))?Ae:void 0;return fg(n,R0(t),Ye,Pm(Ye))}return rf(t,n)?l:Qe}function iD(t){var n,i=(n=t.declarations)===null||n===void 0?void 0:n.find(e.isTypeAlias);return!!(i&&e.getContainingFunction(i))}function a4(t){switch(t.kind){case 177:return t.typeName;case 227:var n=t.expression;if(e.isEntityNameExpression(n))return n}}function aD(t){return t.parent?"".concat(aD(t.parent),".").concat(t.escapedName):t.escapedName}function O0(t){var n=t.kind===160?t.right:t.kind===205?t.name:t,i=n.escapedText;if(i){var o=t.kind===160?O0(t.left):t.kind===205?O0(t.expression):void 0,s=o?"".concat(aD(o),".").concat(i):i,l=H.get(s);return l||(H.set(s,l=Co(524288,i,1048576)),l.parent=o,l.declaredType=cn),l}return ee}function mg(t,n,i){var o=a4(t);if(!o)return ee;var s=Ms(o,n,i);return s&&s!==ee?s:i?ee:O0(o)}function M0(t,n){if(n===ee)return Qe;if(n=ip(n)||n,n.flags&96)return rD(t,n);if(n.flags&524288)return i4(t,n);var i=Hg(n);if(i)return rf(t,n)?uu(i):Qe;if(n.flags&111551&&L0(t)){var o=o4(t,n);return o||(mg(t,788968),Jr(n))}return Qe}function o4(t,n){var i=Ni(t);if(!i.resolvedJSDocType){var o=Jr(n),s=o;if(n.valueDeclaration){var l=t.kind===199&&t.qualifier;o.symbol&&o.symbol!==n&&l&&(s=M0(t,o.symbol))}i.resolvedJSDocType=s}return i.resolvedJSDocType}function oD(t,n){if(n.flags&3||n===t)return t;var i="".concat(pl(t),">").concat(pl(n)),o=Nt.get(i);if(o)return o;var s=rc(33554432);return s.baseType=t,s.substitute=n,Nt.set(i,s),s}function sD(t){return t.kind===183&&t.elements.length===1}function cD(t,n,i){return sD(n)&&sD(i)?cD(t,n.elements[0],i.elements[0]):af(Vi(n))===af(t)?Vi(i):void 0}function uD(t,n){for(var i,o=!0;n&&!e.isStatement(n)&&n.kind!==318;){var s=n.parent;if(s.kind===163&&(o=!o),(o||t.flags&8650752)&&s.kind===188&&n===s.trueType){var l=cD(t,s.checkType,s.extendsType);l&&(i=e.append(i,l))}n=s}return i?oD(t,Oo(e.append(i,t))):t}function L0(t){return!!(t.flags&4194304)&&(t.kind===177||t.kind===199)}function rf(t,n){return t.typeArguments?(Wt(t,e.Diagnostics.Type_0_is_not_generic,n?Zi(n):t.typeName?e.declarationNameToString(t.typeName):u),!1):!0}function lD(t){if(e.isIdentifier(t.typeName)){var n=t.typeArguments;switch(t.typeName.escapedText){case"String":return rf(t),An;case"Number":return rf(t),Tn;case"Boolean":return rf(t),pi;case"Void":return rf(t),li;case"Undefined":return rf(t),kt;case"Null":return rf(t),Pn;case"Function":case"function":return rf(t),gi;case"array":return(!n||!n.length)&&!Ue?mr:void 0;case"promise":return(!n||!n.length)&&!Ue?Mv(Re):void 0;case"Object":if(n&&n.length===2){if(e.isJSDocIndexSignature(t)){var i=Vi(n[0]),o=Vi(n[1]),s=i===An||i===Tn?[$l(i,o,!1)]:e.emptyArray;return Ts(void 0,ve,e.emptyArray,e.emptyArray,s)}return Re}return rf(t),Ue?void 0:Re}}}function s4(t){var n=Vi(t.type);return vt?Z0(n,65536):n}function cv(t){var n=Ni(t);if(!n.resolvedType){if(e.isConstTypeReference(t)&&e.isAssertionExpression(t.parent))return n.resolvedSymbol=ee,n.resolvedType=Ys(t.parent.expression);var i=void 0,o=void 0,s=788968;L0(t)&&(o=lD(t),o||(i=mg(t,s,!0),i===ee?i=mg(t,s|111551):mg(t,s),o=M0(t,i))),o||(i=mg(t,s),o=M0(t,i)),n.resolvedSymbol=i,n.resolvedType=o}return n.resolvedType}function R0(t){return e.map(t.typeArguments,Vi)}function _D(t){var n=Ni(t);if(!n.resolvedType){var i=e.isThisIdentifier(t.exprName)?Ev(t.exprName):Ta(t.exprName);n.resolvedType=uu(du(i))}return n.resolvedType}function dD(t,n){function i(s){var l=s.declarations;if(l)for(var T=0,U=l;T=0)return lv(e.map(n,function(Ln,Kn){return t.elementFlags[Kn]&8?Ln:$e}))?Js(n[l],function(Ln){return CD(t,e.replaceElement(n,l,Ln))}):Qe}for(var T=[],U=[],_e=[],Ae=-1,Ye=-1,Xe=-1,ct=function(Ln){var Kn=n[Ln],$n=t.elementFlags[Ln];if($n&8)if(Kn.flags&58982400||$c(Kn))On(Kn,8,(i=t.labeledElementDeclarations)===null||i===void 0?void 0:i[Ln]);else if(qa(Kn)){var ri=Lo(Kn);if(ri.length+T.length>=1e4)return Wt(ke,e.isPartOfTypeNode(ke)?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:Qe};e.forEach(ri,function(dr,Li){var vi;return On(dr,Kn.target.elementFlags[Li],(vi=Kn.target.labeledElementDeclarations)===null||vi===void 0?void 0:vi[Li])})}else On(wp(Kn)&&d_(Kn,Tn)||Qe,4,(o=t.labeledElementDeclarations)===null||o===void 0?void 0:o[Ln]);else On(Kn,$n,(s=t.labeledElementDeclarations)===null||s===void 0?void 0:s[Ln])},ht=0;ht=0&&Yeo.fixedLength?f8(t)||Xl(e.emptyArray):Xl(Lo(t).slice(n,s),o.elementFlags.slice(n,s),!1,o.labeledElementDeclarations&&o.labeledElementDeclarations.slice(n,s))}function kD(t){return Fi(e.append(e.arrayOf(t.target.fixedLength,function(n){return rl(""+n)}),Zl(t.target.readonly?Ke:De)))}function ND(t,n){var i=e.findIndex(t.elementFlags,function(o){return!(o&n)});return i>=0?i:t.elementFlags.length}function j0(t,n){return t.elementFlags.length-e.findLastIndex(t.elementFlags,function(i){return!(i&n)})-1}function A4(t){return Jc(Vi(t.type),!0)}function pl(t){return t.id}function Ep(t,n){return e.binarySearch(t,n,pl,e.compareValues)>=0}function m2(t,n){var i=e.binarySearch(t,n,pl,e.compareValues);return i<0?(t.splice(~i,0,n),!0):!1}function F4(t,n,i){var o=i.flags;if(o&1048576)return PD(t,n|(M4(i)?1048576:0),i.types);if(!(o&131072))if(n|=o&205258751,o&465829888&&(n|=33554432),i===ut&&(n|=8388608),!vt&&o&98304)e.getObjectFlags(i)&131072||(n|=4194304);else{var s=t.length,l=s&&i.id>t[s-1].id?~s:e.binarySearch(t,i,pl,e.compareValues);l<0&&t.splice(~l,0,i)}return n}function PD(t,n,i){for(var o=0,s=i;o0;){T--;var _e=t[T];if(s||_e.flags&469499904)for(var Ae=_e.flags&61603840?e.find(To(_e),function(On){return e_(Jr(On))}):void 0,Ye=Ae&&uu(Jr(Ae)),Xe=0,ct=t;Xe1e6){e.tracing===null||e.tracing===void 0||e.tracing.instant("checkTypes","removeSubtypes_DepthLimit",{typeIds:t.map(function(On){return On.id})}),Wt(ke,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent);return}}if(U++,Ae&&ht.flags&61603840){var sn=on(ht,Ae.escapedName);if(sn&&e_(sn)&&uu(sn)!==Ye)continue}if(od(_e,ht,Cn)&&(!(e.getObjectFlags(w_(_e))&1)||!(e.getObjectFlags(w_(ht))&1)||Im(_e,ht))){e.orderedRemoveItemAt(t,T);break}}}}return Ge.set(i,t),t}function I4(t,n,i){for(var o=t.length;o>0;){o--;var s=t[o],l=s.flags,T=l&402653312&&n&4||l&256&&n&8||l&2048&&n&64||l&8192&&n&4096||i&&l&32768&&n&16384||sf(s)&&Ep(t,s.regularType);T&&e.orderedRemoveItemAt(t,o)}}function O4(t){var n=e.filter(t,vg);if(n.length)for(var i=t.length,o=function(){i--;var s=t[i];s.flags&128&&e.some(n,function(l){return RT(s,l)})&&e.orderedRemoveItemAt(t,i)};i>0;)o()}function M4(t){return!!(t.flags&1048576&&(t.aliasSymbol||t.origin))}function AD(t,n){for(var i=0,o=n;i=0&&Ep(l,kt)&&e.orderedRemoveItemAt(l,U)}if((T&402664320||T&16384&&T&32768)&&I4(l,T,!!(n&2)),T&128&&T&134217728&&O4(l),n===2&&(l=w4(l,!!(T&524288)),!l))return Qe;if(l.length===0)return T&65536?T&4194304?Pn:Fn:T&32768?T&4194304?kt:en:lr}if(!s&&T&1048576){var _e=[];AD(_e,t);for(var Ae=[],Ye=function(Kn){e.some(_e,function($n){return Ep($n.types,Kn)})||Ae.push(Kn)},Xe=0,ct=l;Xe0;){i--;var o=t[i],s=o.flags&4&&n&128||o.flags&8&&n&256||o.flags&64&&n&2048||o.flags&4096&&n&8192;s&&e.orderedRemoveItemAt(t,i)}}function J4(t,n){for(var i=0,o=t;i0;){n--;var o=t[n];if(o.flags&134217728)for(var s=0,l=i;s=1e5?(e.tracing===null||e.tracing===void 0||e.tracing.instant("checkTypes","checkCrossProductUnion_DepthLimit",{typeIds:t.map(function(i){return i.id}),size:n}),Wt(ke,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent),!1):!0}function q4(t){for(var n=OD(t),i=[],o=0;o=0;T--)if(t[T].flags&1048576){var U=t[T].types,_e=U.length;s[T]=U[l%_e],l=Math.floor(l/_e)}var Ae=Oo(s);Ae.flags&131072||i.push(Ae)}return i}function W4(t){var n=Ni(t);if(!n.resolvedType){var i=cm(t);n.resolvedType=Oo(e.map(t.types,Vi),i,Pm(i))}return n.resolvedType}function MD(t,n){var i=rc(4194304);return i.type=t,i.stringsOnly=n,i}function V4(t){var n=bl(4194304);return n.type=t,n}function LD(t,n){return n?t.resolvedStringIndexType||(t.resolvedStringIndexType=MD(t,!0)):t.resolvedIndexType||(t.resolvedIndexType=MD(t,!1))}function H4(t,n,i){var o=Tl(t),s=el(t),l=Md(t.target||t);if(!l&&!i)return s;var T=[];if(ig(t)){if(Mf(s))return LD(t,n);var U=kr(ag(t));Zy(U,8576,n,Ae)}else Jf(am(s),Ae);Mf(s)&&Jf(s,Ae);var _e=i?Cc(Fi(T),function(Ye){return!(Ye.flags&5)}):Fi(T);if(_e.flags&1048576&&s.flags&1048576&&zu(_e.types)===zu(s.types))return s;return _e;function Ae(Ye){var Xe=l?ha(l,ay(t.mapper,o,Ye)):Ye;T.push(Xe===An?Si:Xe)}}function G4(t){var n=Tl(t);return i(Md(t)||n);function i(o){return o.flags&68157439?!0:o.flags&16777216?o.root.isDistributive&&o.checkType===n:o.flags&137363456?e.every(o.types,i):o.flags&8388608?i(o.objectType)&&i(o.indexType):o.flags&33554432?i(o.substitute):o.flags&268435456?i(o.type):!1}}function Cp(t){return e.isPrivateIdentifier(t)?lr:e.isIdentifier(t)?rl(e.unescapeLeadingUnderscores(t.escapedText)):uu(e.isComputedPropertyName(t)?cd(t):Ta(t))}function gg(t,n,i){if(i||!(e.getDeclarationModifierFlagsFromSymbol(t)&24)){var o=Ji(im(t)).nameType;if(!o){var s=e.getNameOfDeclaration(t.valueDeclaration);o=t.escapedName==="default"?rl("default"):s&&Cp(s)||(e.isKnownSymbol(t)?void 0:rl(e.symbolName(t)))}if(o&&o.flags&n)return o}return lr}function RD(t,n){return!!(t.flags&n||t.flags&2097152&&e.some(t.types,function(i){return RD(i,n)}))}function Q4(t,n,i){var o=i&&(e.getObjectFlags(t)&7||t.aliasSymbol)?V4(t):void 0,s=e.map(To(t),function(T){return gg(T,n)}),l=e.map(uc(t),function(T){return T!==ls&&RD(T.keyType,n)?T.keyType===An&&n&8?Si:T.keyType:lr});return Fi(e.concatenate(s,l),1,void 0,void 0,o)}function Zl(t,n,i){return n===void 0&&(n=_t),t=Po(t),t.flags&1048576?Oo(e.map(t.types,function(o){return Zl(o,n,i)})):t.flags&2097152?Fi(e.map(t.types,function(o){return Zl(o,n,i)})):t.flags&58982400||Sg(t)||$c(t)&&!G4(t)?LD(t,n):e.getObjectFlags(t)&32?H4(t,n,i):t===ut?ut:t.flags&2?lr:t.flags&131073?Nn:Q4(t,(i?128:402653316)|(n?0:12584),n===_t&&!i)}function jD(t){if(_t)return t;var n=S4();return n?fg(n,[t,An]):An}function Y4(t){var n=jD(Zl(t));return n.flags&131072?An:n}function $4(t){var n=Ni(t);if(!n.resolvedType)switch(t.operator){case 140:n.resolvedType=Zl(Vi(t.type));break;case 153:n.resolvedType=t.type.kind===150?A2(e.walkUpParenthesizedTypes(t.parent)):Qe;break;case 144:n.resolvedType=Vi(t.type);break;default:throw e.Debug.assertNever(t.operator)}return n.resolvedType}function X4(t){var n=Ni(t);return n.resolvedType||(n.resolvedType=yg(tt([t.head.text],e.map(t.templateSpans,function(i){return i.literal.text}),!0),e.map(t.templateSpans,function(i){return Vi(i.type)}))),n.resolvedType}function yg(t,n){var i=e.findIndex(n,function(Ae){return!!(Ae.flags&1179648)});if(i>=0)return lv(n)?Js(n[i],function(Ae){return yg(t,e.replaceElement(n,i,Ae))}):Qe;if(e.contains(n,ut))return ut;var o=[],s=[],l=t[0];if(!_e(t,n))return An;if(o.length===0)return rl(l);if(s.push(l),e.every(s,function(Ae){return Ae===""})&&e.every(o,function(Ae){return!!(Ae.flags&4)}))return An;var T="".concat(zu(o),"|").concat(e.map(s,function(Ae){return Ae.length}).join(","),"|").concat(s.join("")),U=zt.get(T);return U||zt.set(T,U=eP(s,o)),U;function _e(Ae,Ye){for(var Xe=0;Xe=0){if(s&&j_(n,function(dr){return!dr.target.hasRestElement})&&!(l&16)){var ct=b2(s);qa(n)?Wt(ct,e.Diagnostics.Tuple_type_0_of_length_1_has_no_element_at_index_2,Dr(n),Tp(n),e.unescapeLeadingUnderscores(_e)):Wt(ct,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(_e),Dr(n))}return ri(Cl(n,Tn)),Js(n,function(dr){var Li=cy(dr)||kt;return l&1?Fi([Li,kt]):Li})}}if(!(i.flags&98304)&&Ws(i,402665900)){if(n.flags&131073)return n;var ht=om(n,i)||Cl(n,An);if(ht){if(l&2&&ht.keyType!==Tn){U&&Wt(U,e.Diagnostics.Type_0_cannot_be_used_to_index_type_1,Dr(i),Dr(t));return}if(s&&ht.keyType===An&&!Ws(i,12)){var ct=b2(s);return Wt(ct,e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,Dr(i)),l&1?Fi([ht.type,kt]):ht.type}return ri(ht),l&1?Fi([ht.type,kt]):ht.type}if(i.flags&131072)return lr;if(ny(n))return Re;if(U&&!lb(n)){if(lf(n)){if(Ue&&i.flags&384)return Ti.add(e.createDiagnosticForNode(U,e.Diagnostics.Property_0_does_not_exist_on_type_1,i.value,Dr(n))),kt;if(i.flags&12){var Qt=e.map(n.properties,function(dr){return Jr(dr)});return Fi(e.append(Qt,kt))}}if(n.symbol===Et&&_e!==void 0&&Et.exports.has(_e)&&Et.exports.get(_e).flags&418)Wt(U,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(_e),Dr(n));else if(Ue&&!Oe.suppressImplicitAnyIndexErrors&&!(l&128))if(_e!==void 0&&zE(_e,n)){var sn=Dr(n);Wt(U,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,_e,sn,sn+"["+e.getTextOfNode(U.argumentExpression)+"]")}else if(d_(n,Tn))Wt(U.argumentExpression,e.Diagnostics.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number);else{var On=void 0;if(_e!==void 0&&(On=Gx(_e,n)))On!==void 0&&Wt(U.argumentExpression,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,_e,Dr(n),On);else{var Ln=K5(n,U,i);if(Ln!==void 0)Wt(U,e.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,Dr(n),Ln);else{var Kn=void 0;if(i.flags&1024)Kn=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,"["+Dr(i)+"]",Dr(n));else if(i.flags&8192){var $n=ys(i.symbol,U);Kn=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,"["+$n+"]",Dr(n))}else i.flags&128||i.flags&256?Kn=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,i.value,Dr(n)):i.flags&12&&(Kn=e.chainDiagnosticMessages(void 0,e.Diagnostics.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,Dr(i),Dr(n)));Kn=e.chainDiagnosticMessages(Kn,e.Diagnostics.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,Dr(o),Dr(n)),Ti.add(e.createDiagnosticForNodeFromMessageChain(U,Kn))}}}return}}if(ny(n))return Re;if(s){var ct=b2(s);i.flags&384?Wt(ct,e.Diagnostics.Property_0_does_not_exist_on_type_1,""+i.value,Dr(n)):i.flags&12?Wt(ct,e.Diagnostics.Type_0_has_no_matching_index_signature_for_type_1,Dr(n),Dr(i)):Wt(ct,e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,Dr(i))}if(wr(i))return i;return;function ri(dr){dr&&dr.isReadonly&&U&&(e.isAssignmentTarget(U)||e.isDeleteTarget(U))&&Wt(U,e.Diagnostics.Index_signature_in_type_0_only_permits_reading,Dr(n))}}function b2(t){return t.kind===206?t.argumentExpression:t.kind===193?t.indexType:t.kind===161?t.expression:t}function JD(t){return!!(t.flags&77)}function vg(t){return!!(t.flags&134217728)&&e.every(t.types,JD)}function ry(t){return!!iy(t)}function sm(t){return!!(iy(t)&8388608)}function Mf(t){return!!(iy(t)&16777216)}function iy(t){return t.flags&3145728?(t.objectFlags&4194304||(t.objectFlags|=4194304|e.reduceLeft(t.types,function(n,i){return n|iy(i)},0)),t.objectFlags&25165824):t.flags&33554432?(t.objectFlags&4194304||(t.objectFlags|=4194304|iy(t.substitute)|iy(t.baseType)),t.objectFlags&25165824):(t.flags&58982400||$c(t)||Sg(t)?8388608:0)|(t.flags&465829888&&!vg(t)?16777216:0)}function id(t,n){return t.flags&8388608?oP(t,n):t.flags&16777216?sP(t,n):t}function KD(t,n,i){if(t.flags&3145728){var o=e.map(t.types,function(s){return id(Xc(s,n),i)});return t.flags&2097152||i?Oo(o):Fi(o)}}function aP(t,n,i){if(n.flags&1048576){var o=e.map(n.types,function(s){return id(Xc(t,s),i)});return i?Oo(o):Fi(o)}}function oP(t,n){var i=n?"simplifiedForWriting":"simplifiedForReading";if(t[i])return t[i]===xa?t:t[i];t[i]=xa;var o=id(t.objectType,n),s=id(t.indexType,n),l=aP(o,s,n);if(l)return t[i]=l;if(!(s.flags&465829888)){var T=KD(o,s,n);if(T)return t[i]=T}if(Sg(o)&&s.flags&296){var U=X0(o,s.flags&8?0:o.target.fixedLength,0,n);if(U)return t[i]=U}return $c(o)?t[i]=Js(J0(o,t.indexType),function(_e){return id(_e,n)}):t[i]=t}function sP(t,n){var i=t.checkType,o=t.extendsType,s=Np(t),l=Pp(t);if(l.flags&131072&&af(s)===af(i)){if(i.flags&1||ho(jf(i),jf(o)))return id(s,n);if(zD(i,o))return lr}else if(s.flags&131072&&af(l)===af(i)){if(!(i.flags&1)&&ho(jf(i),jf(o)))return lr;if(i.flags&1||zD(i,o))return id(l,n)}return t}function zD(t,n){return!!(Fi([Dm(t,n),lr]).flags&131072)}function J0(t,n){var i=lu([Tl(t)],[n]),o=Rf(t.mapper,i);return ha(Yl(t),o)}function Xc(t,n,i,o,s,l){return i===void 0&&(i=0),kp(t,n,i,o,s,l)||(o?Qe:$e)}function UD(t,n){return j_(t,function(i){if(i.flags&384){var o=Ql(i);if(e.isNumericLiteralName(o)){var s=+o;return s>=0&&s=n?$e:i})}function Rf(t,n){return t?W0(3,t,n):n}function bP(t,n){return t?W0(4,t,n):n}function Fm(t,n,i){return i?W0(4,um(t,n),i):um(t,n)}function ay(t,n,i){return t?W0(4,t,um(n,i)):um(n,i)}function SP(t){return t.constraint===$e?t:t.restrictiveInstantiation||(t.restrictiveInstantiation=Cu(t.symbol),t.restrictiveInstantiation.constraint=$e,t.restrictiveInstantiation)}function tT(t){var n=Cu(t.symbol);return n.target=t,n}function DP(t,n){return Cm(t.kind,t.parameterName,t.parameterIndex,ha(t.type,n))}function wm(t,n,i){var o;if(t.typeParameters&&!i){o=e.map(t.typeParameters,tT),n=Rf(lu(t.typeParameters,o),n);for(var s=0,l=o;s=5e6)return e.tracing===null||e.tracing===void 0||e.tracing.instant("checkTypes","instantiateType_DepthLimit",{typeId:t.id,instantiationDepth:Fe,instantiationCount:Me}),Wt(ke,e.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite),Qe;pt++,Me++,Fe++;var s=PP(t,n,i,o);return Fe--,s}function PP(t,n,i,o){var s=t.flags;if(s&262144)return Ap(t,n);if(s&524288){var l=t.objectFlags;if(l&52){if(l&4&&!t.node){var T=t.resolvedTypeArguments,U=Bd(T,n);return U!==T?f2(t.target,U):t}return l&1024?AP(t,n):TP(t,n,i,o)}return t}if(s&3145728){var _e=t.flags&1048576?t.origin:void 0,Ae=_e&&_e.flags&3145728?_e.types:t.types,Ye=Bd(Ae,n);if(Ye===Ae&&i===t.aliasSymbol)return t;var Xe=i||t.aliasSymbol,ct=i?o:Bd(t.aliasTypeArguments,n);return s&2097152||_e&&_e.flags&2097152?Oo(Ye,Xe,ct):Fi(Ye,1,Xe,ct)}if(s&4194304)return Zl(ha(t.type,n));if(s&134217728)return yg(t.texts,Bd(t.types,n));if(s&268435456)return B0(t.symbol,ha(t.type,n));if(s&8388608){var Xe=i||t.aliasSymbol,ct=i?o:Bd(t.aliasTypeArguments,n);return Xc(ha(t.objectType,n),ha(t.indexType,n),t.accessFlags,void 0,Xe,ct)}if(s&16777216)return M2(t,Rf(t.mapper,n),i,o);if(s&33554432){var ht=ha(t.baseType,n);if(ht.flags&8650752)return oD(ht,ha(t.substitute,n));var Qt=ha(t.substitute,n);return Qt.flags&3||ho(jf(ht),jf(Qt))?ht:Qt}return t}function AP(t,n){var i=ha(t.mappedType,n);if(!(e.getObjectFlags(i)&32))return t;var o=ha(t.constraintType,n);if(!(o.flags&4194304))return t;var s=IT(ha(t.source,n),i,o);return s||t}function H0(t){return t.flags&262143?t:t.permissiveInstantiation||(t.permissiveInstantiation=ha(t,pr))}function jf(t){return t.flags&262143?t:(t.restrictiveInstantiation||(t.restrictiveInstantiation=ha(t,jt),t.restrictiveInstantiation.restrictiveInstantiation=t.restrictiveInstantiation),t.restrictiveInstantiation)}function FP(t,n){return $l(t.keyType,ha(t.type,n),t.isReadonly,t.declaration)}function Nl(t){switch(e.Debug.assert(t.kind!==168||e.isObjectLiteralMethod(t)),t.kind){case 212:case 213:case 168:case 255:return aT(t);case 204:return e.some(t.properties,Nl);case 203:return e.some(t.elements,Nl);case 221:return Nl(t.whenTrue)||Nl(t.whenFalse);case 220:return(t.operatorToken.kind===56||t.operatorToken.kind===60)&&(Nl(t.left)||Nl(t.right));case 294:return Nl(t.initializer);case 211:return Nl(t.expression);case 285:return e.some(t.properties,Nl)||e.isJsxOpeningElement(t.parent)&&e.some(t.parent.parent.children,Nl);case 284:{var n=t.initializer;return!!n&&Nl(n)}case 287:{var i=t.expression;return!!i&&Nl(i)}}return!1}function aT(t){return(!e.isFunctionDeclaration(t)||e.isInJSFile(t)&&!!N_(t))&&(e.hasContextSensitiveParameters(t)||wP(t))}function wP(t){return!t.typeParameters&&!e.getEffectiveReturnTypeNode(t)&&!!t.body&&t.body.kind!==234&&Nl(t.body)}function L2(t){return(e.isInJSFile(t)&&e.isFunctionDeclaration(t)||e.isFunctionExpressionOrArrowFunction(t)||e.isObjectLiteralMethod(t))&&aT(t)}function oT(t){if(t.flags&524288){var n=dl(t);if(n.constructSignatures.length||n.callSignatures.length){var i=ru(16,t.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(t.flags&2097152)return Oo(e.map(t.types,oT));return t}function ad(t,n){return od(t,n,xi)}function oy(t,n){return od(t,n,xi)?-1:0}function R2(t,n){return od(t,n,Gn)?-1:0}function IP(t,n){return od(t,n,Dt)?-1:0}function Jd(t,n){return od(t,n,Dt)}function ho(t,n){return od(t,n,Gn)}function Im(t,n){return t.flags&1048576?e.every(t.types,function(i){return Im(i,n)}):n.flags&1048576?e.some(n.types,function(i){return Im(t,i)}):t.flags&58982400?Im(Uc(t)||$e,n):n===ai?!!(t.flags&67633152):n===gi?!!(t.flags&524288)&&yx(t):Yp(t,w_(n))||Ec(n)&&!xg(n)&&Im(t,Ke)}function hg(t,n){return od(t,n,qr)}function G0(t,n){return hg(t,n)||hg(n,t)}function _u(t,n,i,o,s,l){return Pl(t,n,Gn,i,o,s,l)}function Fp(t,n,i,o,s,l){return j2(t,n,Gn,i,o,s,l,void 0)}function j2(t,n,i,o,s,l,T,U){return od(t,n,i)?!0:!o||!pv(s,t,n,i,l,T,U)?Pl(t,n,i,o,l,T,U):!1}function sT(t){return!!(t.flags&16777216||t.flags&2097152&&e.some(t.types,sT))}function pv(t,n,i,o,s,l,T){if(!t||sT(i))return!1;if(!Pl(n,i,o,void 0)&&OP(t,n,i,o,s,l,T))return!0;switch(t.kind){case 287:case 211:return pv(t.expression,n,i,o,s,l,T);case 220:switch(t.operatorToken.kind){case 63:case 27:return pv(t.right,n,i,o,s,l,T)}break;case 204:return UP(t,n,i,o,l,T);case 203:return KP(t,n,i,o,l,T);case 285:return JP(t,n,i,o,l,T);case 213:return MP(t,n,i,o,l,T)}return!1}function OP(t,n,i,o,s,l,T){for(var U=Ja(n,0),_e=Ja(n,1),Ae=0,Ye=[_e,U];Ae1,sn=Cc(ct,bT),On=Cc(ct,function(vi){return!bT(vi)});if(Qt){if(sn!==lr){var Ln=Xl(Dh(_e,0)),Kn=BP(_e,Li);T=sy(Kn,Ln,sn,o,s,l)||T}else if(!od(Xc(n,Xe),ct,o)){T=!0;var $n=Wt(_e.openingElement.tagName,e.Diagnostics.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided,Ye,Dr(ct));l&&l.skipLogging&&(l.errors||(l.errors=[])).push($n)}}else if(On!==lr){var ri=ht[0],dr=cT(ri,Xe,Li);dr&&(T=sy(function(){return Pt(this,function(vi){switch(vi.label){case 0:return[4,dr];case 1:return vi.sent(),[2]}})}(),n,i,o,s,l)||T)}else if(!od(Xc(n,Xe),ct,o)){T=!0;var $n=Wt(_e.openingElement.tagName,e.Diagnostics.This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided,Ye,Dr(ct));l&&l.skipLogging&&(l.errors||(l.errors=[])).push($n)}}return T;function Li(){if(!U){var vi=e.getTextOfNode(t.parent.tagName),Ea=Th(Km(t)),Ui=Ea===void 0?"children":e.unescapeLeadingUnderscores(Ea),Wa=Xc(i,rl(Ui)),Va=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;U=Tt(Tt({},Va),{key:"!!ALREADY FORMATTED!!",message:e.formatMessage(void 0,Va,vi,Ui,Dr(Wa))})}return U}}function uT(t,n){var i,o,s,l;return Pt(this,function(T){switch(T.label){case 0:if(i=e.length(t.elements),!i)return[2];o=0,T.label=1;case 1:return o_e:r_(t)>_e);if(Ae)return 0;t.typeParameters&&t.typeParameters!==n.typeParameters&&(n=e4(n),t=XE(t,n,void 0,T));var Ye=Zc(t),Xe=xy(t),ct=xy(n);if((Xe||ct)&&ha(Xe||ct,U),Xe&&ct&&Ye!==_e)return 0;var ht=n.declaration?n.declaration.kind:0,Qt=!(i&3)&&st&&ht!==168&&ht!==167&&ht!==170,sn=-1,On=Of(t);if(On&&On!==li){var Ln=Of(n);if(Ln){var Kn=!Qt&&T(On,Ln,!1)||T(Ln,On,o);if(!Kn)return o&&s(e.Diagnostics.The_this_types_of_each_signature_are_incompatible),0;sn&=Kn}}for(var $n=Xe||ct?Math.min(Ye,_e):Math.max(Ye,_e),ri=Xe||ct?$n-1:-1,dr=0;dr<$n;dr++){var Li=dr===ri?Fg(t,dr):Uf(t,dr),vi=dr===ri?Fg(n,dr):Uf(n,dr);if(Li&&vi){var Ea=i&3?void 0:dm(Kd(Li)),Ui=i&3?void 0:dm(Kd(vi)),Wa=Ea&&Ui&&!nl(Ea)&&!nl(Ui)&&(il(Li)&98304)===(il(vi)&98304),Kn=Wa?B2(Ui,Ea,i&8|(Qt?2:1),o,s,l,T,U):!(i&3)&&!Qt&&T(Li,vi,!1)||T(vi,Li,o);if(Kn&&i&8&&dr>=r_(t)&&dr0||Rb(Hr)),uo=!!(e.getObjectFlags(Hr)&2048);if(za&&!QP(Hr,Er,uo)){if(cr){var ws=Dr(an.aliasSymbol?an:Hr),As=Dr(bn.aliasSymbol?bn:Er),Ks=Ja(Hr,0),es=Ja(Hr,1);Ks.length>0&&oi(Io(Ks[0]),Er,1,!1)||es.length>0&&oi(Io(es[0]),Er,1,!1)?zr(e.Diagnostics.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,ws,As):zr(e.Diagnostics.Type_0_has_no_properties_in_common_with_type_1,ws,As)}return 0}nn(Hr,Er);var Es=Hr.flags&1048576&&Hr.types.length<4&&!(Er.flags&1048576)||Er.flags&1048576&&Er.types.length<4&&!(Hr.flags&469499904),zs=Es?ti(Hr,Er,cr,Yr):tr(Hr,Er,cr,Yr,zn);if(zs&&!ri&&(Er.flags&2097152&&(Ha||za)||E2(Er)&&!Ec(Er)&&!qa(Er)&&Hr.flags&2097152&&kr(Hr).flags&3670016&&!e.some(Hr.types,function(gn){return!!(e.getObjectFlags(gn)&524288)}))&&(ri=!0,zs&=tr(Hr,Er,cr,4,zn),ri=!1),zs)return zs}return cr&&no(an,bn,Hr,Er,ar),0}function no(an,bn,zn,cr,ar){var Yr=!!Y2(an),Hr=!!Y2(bn);zn=an.aliasSymbol||Yr?an:zn,cr=bn.aliasSymbol||Hr?bn:cr;var Er=Ln>0;if(Er&&Ln--,zn.flags&524288&&cr.flags&524288){var Ri=U;Aa(zn,cr,!0),U!==Ri&&(Er=!!U)}if(zn.flags&524288&&cr.flags&131068)ea(zn,cr);else if(zn.symbol&&zn.flags&524288&&ai===zn)zr(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(zn)&2048&&cr.flags&2097152){var ra=cr.types,Ha=pf(j.IntrinsicAttributes,o),za=pf(j.IntrinsicClassAttributes,o);if(!$r(Ha)&&!$r(za)&&(e.contains(ra,Ha)||e.contains(ra,za)))return}else U=ks(U,bn);if(!ar&&Er){Kn=[zn,cr];return}ei(ar,zn,cr)}function nn(an,bn){if(!!e.tracing&&an.flags&3145728&&bn.flags&3145728){var zn=an,cr=bn;if(zn.objectFlags&cr.objectFlags&65536)return;var ar=zn.types.length,Yr=cr.types.length;ar*Yr>1e6&&e.tracing.instant("checkTypes","traceUnionsOrIntersectionsTooLarge_DepthLimit",{sourceId:an.id,sourceSize:ar,targetId:bn.id,targetSize:Yr,pos:o==null?void 0:o.pos,end:o==null?void 0:o.end})}}function St(an,bn){var zn=function(cr,ar){var Yr;ar=kr(ar);var Hr=ar.flags&3145728?Vo(ar,bn):nd(ar,bn),Er=Hr&&Jr(Hr)||((Yr=Zp(ar,bn))===null||Yr===void 0?void 0:Yr.type)||kt;return e.append(cr,Er)};return Fi(e.reduceLeft(an,zn,void 0)||e.emptyArray)}function Or(an,bn,zn){var cr;if(!Pv(bn)||!Ue&&e.getObjectFlags(bn)&8192)return!1;var ar=!!(e.getObjectFlags(an)&2048);if((i===Gn||i===qr)&&(xv(ai,bn)||!ar&&L_(bn)))return!1;var Yr=bn,Hr;bn.flags&1048576&&(Yr=u6(an,bn,oi)||fO(bn),Hr=Yr.flags&1048576?Yr.types:[Yr]);for(var Er=function(uo){if(Nr(uo,an.symbol)&&!pT(an,uo)){if(!Jx(Yr,uo.escapedName,ar)){if(zn){var ws=Cc(Yr,Pv);if(!o)return{value:e.Debug.fail()};if(e.isJsxAttributes(o)||e.isJsxOpeningLikeElement(o)||e.isJsxOpeningLikeElement(o.parent)){uo.valueDeclaration&&e.isJsxAttribute(uo.valueDeclaration)&&e.getSourceFileOfNode(o)===e.getSourceFileOfNode(uo.valueDeclaration.name)&&(o=uo.valueDeclaration.name);var As=Zi(uo),Ks=qE(As,ws),es=Ks?Zi(Ks):void 0;es?zr(e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,As,Dr(ws),es):zr(e.Diagnostics.Property_0_does_not_exist_on_type_1,As,Dr(ws))}else{var Es=((cr=an.symbol)===null||cr===void 0?void 0:cr.declarations)&&e.firstOrUndefined(an.symbol.declarations),es=void 0;if(uo.valueDeclaration&&e.findAncestor(uo.valueDeclaration,function(Ii){return Ii===Es})&&e.getSourceFileOfNode(Es)===e.getSourceFileOfNode(o)){var zs=uo.valueDeclaration;e.Debug.assertNode(zs,e.isObjectLiteralElementLike),o=zs;var gn=zs.name;e.isIdentifier(gn)&&(es=Gx(gn,ws))}es!==void 0?zr(e.Diagnostics.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2,Zi(uo),Dr(ws),es):zr(e.Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,Zi(uo),Dr(ws))}}return{value:!0}}if(Hr&&!oi(Jr(uo),St(Hr,uo.escapedName),3,zn))return zn&&er(e.Diagnostics.Types_of_property_0_are_incompatible,Zi(uo)),{value:!0}}},Ri=0,ra=To(an);Ri=Hr.types.length&&Yr.length%Hr.types.length===0){var ra=oi(Ri,Hr.types[Er%Hr.types.length],3,!1,void 0,cr);if(ra){ar&=ra;continue}}var Ha=oi(Ri,bn,1,zn,void 0,cr);if(!Ha)return 0;ar&=Ha}return ar}function Xn(an,bn,zn,cr,ar){if(an===void 0&&(an=e.emptyArray),bn===void 0&&(bn=e.emptyArray),zn===void 0&&(zn=e.emptyArray),an.length!==bn.length&&i===xi)return 0;for(var Yr=an.length<=bn.length?an.length:bn.length,Hr=-1,Er=0;Er25)return e.tracing===null||e.tracing===void 0||e.tracing.instant("checkTypes","typeRelatedToDiscriminatedType_DepthLimit",{sourceId:an.id,targetId:bn.id,numCombinations:ar}),0}for(var Ri=new Array(cr.length),ra=new e.Set,Ha=0;Ha5?zr(e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,Dr(an),Dr(bn),e.map(ra.slice(0,4),function(za){return Zi(za)}).join(", "),ra.length-4):zr(e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,Dr(an),Dr(bn),e.map(ra,function(za){return Zi(za)}).join(", ")),ar&&U&&Ln++)}function rs(an,bn,zn,cr,ar){if(i===xi)return Nc(an,bn,cr);var Yr=-1;if(qa(bn)){if(Ec(an)||qa(an)){if(!bn.target.readonly&&(xg(an)||qa(an)&&an.target.readonly))return 0;var Hr=Tp(an),Er=Tp(bn),Ri=qa(an)?an.target.combinedFlags&4:4,ra=bn.target.combinedFlags&4,Ha=qa(an)?an.target.minLength:0,za=bn.target.minLength;if(!Ri&&Hr=Er-Ks)?an.target.elementFlags[zs]:4,Br=bn.target.elementFlags[Es];if(Br&8&&!(gn&8))return zn&&zr(e.Diagnostics.Source_provides_no_match_for_variadic_element_at_position_0_in_target,Es),0;if(gn&8&&!(Br&12))return zn&&zr(e.Diagnostics.Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target,zs,Es),0;if(Br&1&&!(gn&1))return zn&&zr(e.Diagnostics.Source_provides_no_match_for_required_element_at_position_0_in_target,Es),0;if(!(es&&((gn&12||Br&12)&&(es=!1),es&&(cr==null?void 0:cr.has(""+Es))))){var Ii=qa(an)?Es=Er-Ks?Mm(uo[zs],!!(gn&Br&2)):X0(an,As,Ks)||lr:uo[0],Pr=ws[Es],_a=gn&8&&Br&4?gc(Pr):Mm(Pr,!!(Br&2)),sa=oi(Ii,_a,3,zn,void 0,ar);if(!sa)return zn&&(Er>1||Hr>1)&&(Es=Er-Ks||Hr-As-Ks===1?er(e.Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,zs,Es):er(e.Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,As,Hr-Ks-1,Es)),0;Yr&=sa}}return Yr}if(bn.target.combinedFlags&12)return 0}var ga=(i===Dt||i===Cn)&&!lf(an)&&!$2(an)&&!qa(an),Ra=dx(an,bn,ga,!1);if(Ra)return zn&&Ns(an,bn,Ra,ga),0;if(lf(bn))for(var ca=0,oa=Oa(To(an),cr);ca0&&e.every(n.properties,function(i){return!!(i.flags&16777216)})}return t.flags&2097152?e.every(t.types,gT):!1}function QP(t,n,i){for(var o=0,s=To(t);o";continue}Xe+="-"+Qt.id}return Xe}}function H2(t,n,i,o,s){if(o===xi&&t.id>n.id){var l=t;t=n,n=l}var T=i?":"+i:"";return Q0(t)&&Q0(n)?e8(t,n,T,s):"".concat(t.id,",").concat(n.id).concat(T)}function mv(t,n){if(e.getCheckFlags(t)&6){for(var i=0,o=t.containingType.types;i=o)for(var s=yv(t),l=0,T=0,U=0;U=T&&(l++,l>=o))return!0;T=_e.id}}return!1}function yv(t){if(t.flags&524288&&!px(t)){if(e.getObjectFlags(t)&&4&&t.node)return t.node;if(t.symbol&&!(e.getObjectFlags(t)&16&&t.symbol.flags&32))return t.symbol;if(qa(t))return t.target}if(t.flags&262144)return t.symbol;if(t.flags&8388608){do t=t.objectType;while(t.flags&8388608);return t}return t.flags&16777216?t.root:t}function i8(t,n){return G2(t,n,oy)!==0}function G2(t,n,i){if(t===n)return-1;var o=e.getDeclarationModifierFlagsFromSymbol(t)&24,s=e.getDeclarationModifierFlagsFromSymbol(n)&24;if(o!==s)return 0;if(o){if(Vm(t)!==Vm(n))return 0}else if((t.flags&16777216)!==(n.flags&16777216))return 0;return a_(t)!==a_(n)?0:i(Jr(t),Jr(n))}function a8(t,n,i){var o=Zc(t),s=Zc(n),l=r_(t),T=r_(n),U=i_(t),_e=i_(n);return!!(o===s&&l===T&&U===_e||i&&l<=T)}function vv(t,n,i,o,s,l){if(t===n)return-1;if(!a8(t,n,i)||e.length(t.typeParameters)!==e.length(n.typeParameters))return 0;if(n.typeParameters){for(var T=lu(t.typeParameters,n.typeParameters),U=0;Ue.length(n.typeParameters)&&(s=su(s,e.last(Lo(t)))),t.objectFlags|=67108864,t.cachedEquivalentBaseType=s}}}function xT(t){return vt?t===Yn:t===en}function $2(t){var n=Q2(t);return!!n&&xT(n)}function bg(t){return qa(t)||!!ka(t,"0")}function bT(t){return wp(t)||bg(t)}function l8(t,n){var i=on(t,""+n);if(i)return i;if(j_(t,qa))return Js(t,function(o){return cy(o)||kt})}function _8(t){return!(t.flags&240512)}function e_(t){return!!(t.flags&109440)}function ST(t){return t.flags&2097152?e.some(t.types,e_):!!(t.flags&109440)}function d8(t){return t.flags&2097152&&e.find(t.types,e_)||t}function Om(t){return t.flags&16?!0:t.flags&1048576?t.flags&1024?!0:e.every(t.types,e_):e_(t)}function t_(t){return t.flags&1024?Nu(t):t.flags&402653312?An:t.flags&256?Tn:t.flags&2048?qn:t.flags&512?pi:t.flags&1048576?Js(t,t_):t}function cf(t){return t.flags&1024&&sf(t)?Nu(t):t.flags&128&&sf(t)?An:t.flags&256&&sf(t)?Tn:t.flags&2048&&sf(t)?qn:t.flags&512&&sf(t)?pi:t.flags&1048576?Js(t,cf):t}function DT(t){return t.flags&8192?Oi:t.flags&1048576?Js(t,DT):t}function X2(t,n){return Kh(t,n)||(t=DT(cf(t))),t}function p8(t,n,i){if(t&&e_(t)){var o=n?i?Ey(n):n:void 0;t=X2(t,o)}return t}function Z2(t,n,i,o){if(t&&e_(t)){var s=n?Wm(i,n,o):void 0;t=X2(t,s)}return t}function qa(t){return!!(e.getObjectFlags(t)&4&&t.target.objectFlags&8)}function Sg(t){return qa(t)&&!!(t.target.combinedFlags&8)}function TT(t){return Sg(t)&&t.target.elementFlags.length===1}function cy(t){return X0(t,t.target.fixedLength)}function f8(t){var n=cy(t);return n&&gc(n)}function X0(t,n,i,o){i===void 0&&(i=0),o===void 0&&(o=!1);var s=Tp(t)-i;if(n-1&&(gs(l,l.name.escapedText,788968,void 0,l.name.escapedText,!0)||l.name.originalKeywordKind&&e.isTypeNodeKind(l.name.originalKeywordKind))){var T="arg"+l.parent.parameters.indexOf(l),U=e.declarationNameToString(l.name)+(l.dotDotDotToken?"[]":"");fu(Ue,t,e.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,T,U);return}s=t.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 202:if(s=e.Diagnostics.Binding_element_0_implicitly_has_an_1_type,!Ue)return;break;case 315:Wt(t,e.Diagnostics.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,o);return;case 255:case 168:case 167:case 171:case 172:case 212:case 213:if(Ue&&!t.name){i===3?Wt(t,e.Diagnostics.Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation,o):Wt(t,e.Diagnostics.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,o);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 194:Ue&&Wt(t,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}fu(Ue,t,s,e.declarationNameToString(e.getNameOfDeclaration(t)),o)}}function ih(t,n,i){pe&&Ue&&e.getObjectFlags(n)&131072&&(!i||!Ix(t))&&(rh(n)||uf(t,n,i))}function ix(t,n,i){var o=Zc(t),s=Zc(n),l=hy(t),T=hy(n),U=T?s-1:s,_e=l?U:Math.min(o,U),Ae=Of(t);if(Ae){var Ye=Of(n);Ye&&i(Ae,Ye)}for(var Xe=0;Xe<_e;Xe++)i(fl(t,Xe),fl(n,Xe));T&&i(Fg(t,_e),T)}function ax(t,n,i){var o=nl(t),s=nl(n);o&&s&&y2(o,s)&&o.type&&s.type?i(o.type,s.type):i(Io(t),Io(n))}function ly(t,n,i,o){return ox(t.map(sx),n,i,o||R2)}function E8(t,n){return n===void 0&&(n=0),t&&ox(e.map(t.inferences,FT),t.signature,t.flags|n,t.compareTypes)}function ox(t,n,i,o){var s={inferences:t,signature:n,flags:i,compareTypes:o,mapper:Lf(function(l){return AT(s,l,!0)}),nonFixingMapper:Lf(function(l){return AT(s,l,!1)})};return s}function AT(t,n,i){for(var o=t.inferences,s=0;st.target.minLength||!n.target.hasRestElement&&(t.target.hasRestElement||n.target.fixedLength0){for(var On=ct,Ln=ht;Ln=Kn(On).indexOf(sn,Ln),!(Ln>=0);){if(On++,On===t.length)return;Ln=0}$n(On,Ln),ht+=sn.length}else if(ht0)for(var Ei=0,jr=Hn;Ei1){var n=e.filter(t,px);if(n.length){var i=Fi(n,2);return e.concatenate(e.filter(t,function(o){return!px(o)}),[i])}}return t}function K8(t){return t.priority&416?Oo(t.contraCandidates):u8(t.contraCandidates)}function z8(t,n){var i=J8(t.candidates),o=B8(t.typeParameter),s=!o&&t.topLevel&&(t.isFixed||!ux(Io(n),t.typeParameter)),l=o?e.sameMap(i,uu):s?e.sameMap(i,cf):i,T=t.priority&416?Fi(l,2):c8(l);return du(T)}function BT(t,n){var i=t.inferences[n];if(!i.inferredType){var o=void 0,s=t.signature;if(s){var l=i.candidates?z8(i,s):void 0;if(i.contraCandidates)o=l&&!(l.flags&131072)&&e.some(i.contraCandidates,function(Ae){return Jd(l,Ae)})?l:K8(i);else if(l)o=l;else if(t.flags&1)o=In;else{var T=c(i.typeParameter);T&&(o=ha(T,bP(xP(t,n),t.nonFixingMapper)))}}else o=OT(i);i.inferredType=o||fx(!!(t.flags&2));var U=cu(i.typeParameter);if(U){var _e=ha(U,t.nonFixingMapper);(!o||!t.compareTypes(o,su(_e,o)))&&(i.inferredType=o=_e)}}return i.inferredType}function fx(t){return t?Re:$e}function mx(t){for(var n=[],i=0;i=10&&o*2>=t.length?i:void 0}function ch(t){var n=t.types;if(!(n.length<10||e.getObjectFlags(t)&65536||e.countWhere(n,function(s){return!!(s.flags&59506688)})<10)){if(t.keyPropertyName===void 0){var i=e.forEach(n,function(s){return s.flags&59506688?e.forEach(To(s),function(l){return e_(Jr(l))?l.escapedName:void 0}):void 0}),o=i&&U8(n,i);t.keyPropertyName=o?i:"",t.constituentMap=o}return t.keyPropertyName.length?t.keyPropertyName:void 0}}function uh(t,n){var i,o=(i=t.constituentMap)===null||i===void 0?void 0:i.get(pl(uu(n)));return o!==$e?o:void 0}function UT(t,n){var i=ch(t),o=i&&on(n,i);return o&&uh(t,o)}function q8(t,n){var i=ch(t),o=i&&e.find(n.properties,function(l){return l.symbol&&l.kind===294&&l.symbol.escapedName===i&&Cv(l.initializer)}),s=o&&Bv(o.initializer);return s&&uh(t,s)}function qT(t,n){return ic(t,n)||KT(t,n)}function WT(t,n){if(t.arguments)for(var i=0,o=t.arguments;i=0&&Xn.parameterIndex=Xn&&Ir-1){var Oa=ur.filter(function(rs){return rs!==void 0}),ko=Ir=2){var o=i.parent.parent;if(o.kind===253&&e.getCombinedNodeFlags(i)&2||o.kind===163){var s=Ni(n);if(!(s.flags&268435456)){s.flags|=268435456;var l=Qi(o,0);if(s.flags&=-268435457,l&&l.flags&1048576&&!(o.kind===163&&yh(t))){var T=i.parent,U=Op(T,l,l,void 0,n.flowNode);return U.flags&131072?lr:ju(i,U)}}}}if(e.isParameter(i)&&!i.type&&!i.initializer&&!i.dotDotDotToken){var _e=i.parent;if(_e.parameters.length>=2&&L2(_e)){var Ae=gy(_e);if(Ae&&Ae.parameters.length===1&&W(Ae)){var Ye=Jr(Ae.parameters[0]);if(Ye.flags&1048576&&j_(Ye,qa)&&!yh(t)){var U=Op(_e,Ye,Ye,void 0,n.flowNode),Xe=_e.parameters.indexOf(i)-(e.getThisParameter(_e)?1:0);return Xc(U,M_(Xe))}}}}}return Jr(t)}function SA(t,n){if(e.isThisInTypeQuery(t))return Ev(t);var i=Al(t);if(i===ee)return Qe;if(i===pn){if(JE(t))return Wt(t,e.Diagnostics.arguments_cannot_be_referenced_in_property_initializers),Qe;var o=e.getContainingFunction(t);return Ce<2&&(o.kind===213?Wt(t,e.Diagnostics.The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression):e.hasSyntacticModifier(o,256)&&Wt(t,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)),Ni(o).flags|=8192,Jr(i)}t.parent&&e.isPropertyAccessExpression(t.parent)&&t.parent.expression===t||vh(i,t);var s=Eu(i),l=wk(s,t);Rl(l)&&x2(t,l)&&l.declarations&&jl(t,l.declarations,t.escapedText);var T=s.valueDeclaration;if(T&&s.flags&32){if(T.kind===256&&e.nodeIsDecorated(T))for(var o=e.getContainingClass(t);o!==void 0;){if(o===T&&o.name!==t){Ni(T).flags|=16777216,Ni(t).flags|=33554432;break}o=e.getContainingClass(o)}else if(T.kind===225)for(var o=e.getThisContainer(t,!1);o.kind!==303;){if(o.parent===T){(e.isPropertyDeclaration(o)&&e.isStatic(o)||e.isClassStaticBlockDeclaration(o))&&(Ni(T).flags|=16777216,Ni(t).flags|=33554432);break}o=e.getThisContainer(o,!1)}}EA(t,i);var U=bA(s,t),_e=e.getAssignmentTargetKind(t);if(_e){if(!(s.flags&3)&&!(e.isInJSFile(t)&&s.flags&512)){var Ae=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 Wt(t,Ae,Zi(i)),Qe}if(a_(s))return s.flags&3?Wt(t,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant,Zi(i)):Wt(t,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,Zi(i)),Qe}var Ye=s.flags&2097152;if(s.flags&3){if(_e===1)return U}else if(Ye)T=wu(i);else return U;if(!T)return U;U=bx(U,t,n);for(var Xe=e.getRootDeclaration(T).kind===163,ct=fy(T),ht=fy(t),Qt=ht!==ct,sn=t.parent&&t.parent.parent&&e.isSpreadAssignment(t.parent)&&hx(t.parent.parent),On=i.flags&134217728;ht!==ct&&(ht.kind===212||ht.kind===213||e.isObjectLiteralOrClassExpressionMethodOrAccessor(ht))&&(Tv(s)&&U!==Xr||Xe&&!yh(s));)ht=fy(ht);var Ln=Xe||Ye||Qt||sn||On||e.isBindingElement(T)||U!==it&&U!==Xr&&(!vt||(U.flags&16387)!==0||Tg(t)||t.parent.kind===274)||t.parent.kind===229||T.kind===253&&T.exclamationToken||T.flags&8388608,Kn=Ln?Xe?gA(U,T):U:U===it||U===Xr?kt:sd(U),$n=Op(t,U,Kn,ht);if(!rE(t)&&(U===it||U===Xr)){if($n===it||$n===Xr)return Ue&&(Wt(e.getNameOfDeclaration(T),e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined,Zi(i),Dr($n)),Wt(t,e.Diagnostics.Variable_0_implicitly_has_an_1_type,Zi(i),Dr($n))),Py($n)}else if(!Ln&&!(il(U)&32768)&&il($n)&32768)return Wt(t,e.Diagnostics.Variable_0_is_used_before_being_assigned,Zi(i)),U;return _e?t_($n):$n}function DA(t,n){return!!e.findAncestor(t,function(i){return i===n?"quit":e.isFunctionLike(i)||i.parent&&e.isPropertyDeclaration(i.parent)&&!e.hasStaticModifier(i.parent)&&i.parent.initializer===i})}function TA(t,n){return e.findAncestor(t,function(i){return i===n?"quit":i===n.initializer||i===n.condition||i===n.incrementor||i===n.statement})}function Sx(t){return e.findAncestor(t,function(n){return!n||e.nodeStartsNewLexicalEnvironment(n)?"quit":e.isIterationStatement(n,!1)})}function EA(t,n){if(!(Ce>=2||(n.flags&34)===0||!n.valueDeclaration||e.isSourceFile(n.valueDeclaration)||n.valueDeclaration.parent.kind===291)){var i=e.getEnclosingBlockScopeContainer(n.valueDeclaration),o=DA(t,i),s=Sx(i);if(s){if(o){var l=!0;if(e.isForStatement(i)){var T=e.getAncestor(n.valueDeclaration,254);if(T&&T.parent===i){var U=TA(t.parent,i);if(U){var _e=Ni(U);_e.flags|=131072;var Ae=_e.capturedBlockScopeBindings||(_e.capturedBlockScopeBindings=[]);e.pushIfUnique(Ae,n),U===i.initializer&&(l=!1)}}}l&&(Ni(s).flags|=65536)}if(e.isForStatement(i)){var T=e.getAncestor(n.valueDeclaration,254);T&&T.parent===i&&kA(t,i)&&(Ni(n.valueDeclaration).flags|=4194304)}Ni(n.valueDeclaration).flags|=524288}o&&(Ni(n.valueDeclaration).flags|=262144)}}function CA(t,n){var i=Ni(t);return!!i&&e.contains(i.capturedBlockScopeBindings,Lr(n))}function kA(t,n){for(var i=t;i.parent.kind===211;)i=i.parent;var o=!1;if(e.isAssignmentTarget(i))o=!0;else if(i.parent.kind===218||i.parent.kind===219){var s=i.parent;o=s.operator===45||s.operator===46}return o?!!e.findAncestor(i,function(l){return l===n?"quit":l===n.statement}):!1}function Dx(t,n){if(Ni(t).flags|=2,n.kind===166||n.kind===170){var i=n.parent;Ni(i).flags|=4}else Ni(n).flags|=4}function cE(t){return e.isSuperCall(t)?t:e.isFunctionLike(t)?void 0:e.forEachChild(t,cE)}function uE(t){var n=Lr(t),i=Wo(n),o=Ku(i);return o===Fn}function lE(t,n,i){var o=n.parent,s=e.getClassExtendsHeritageElement(o);s&&!uE(o)&&t.flowNode&&!gh(t.flowNode,!1)&&Wt(t,i)}function NA(t,n){e.isPropertyDeclaration(n)&&e.hasStaticModifier(n)&&n.initializer&&e.textRangeContainsPositionInclusive(n.initializer,t.pos)&&e.length(n.parent.decorators)&&Wt(t,e.Diagnostics.Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class)}function Ev(t){var n=Tg(t),i=e.getThisContainer(t,!0),o=!1;switch(i.kind===170&&lE(t,i,e.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class),i.kind===213&&(i=e.getThisContainer(i,!1),o=!0),NA(t,i),i.kind){case 260:Wt(t,e.Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 259:Wt(t,e.Diagnostics.this_cannot_be_referenced_in_current_location);break;case 170:_E(t,i)&&Wt(t,e.Diagnostics.this_cannot_be_referenced_in_constructor_arguments);break;case 161:Wt(t,e.Diagnostics.this_cannot_be_referenced_in_a_computed_property_name);break}!n&&o&&Ce<2&&Dx(t,i);var s=Tx(t,!0,i);if(Ie){var l=Jr(Et);if(s===l&&o)Wt(t,e.Diagnostics.The_containing_arrow_function_captures_the_global_value_of_this);else if(!s){var T=Wt(t,e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);if(!e.isSourceFile(i)){var U=Tx(i);U&&U!==l&&e.addRelatedInfo(T,e.createDiagnosticForNode(i,e.Diagnostics.An_outer_value_of_this_is_shadowed_by_this_container))}}}return s||Re}function Tx(t,n,i){n===void 0&&(n=!0),i===void 0&&(i=e.getThisContainer(t,!1));var o=e.isInJSFile(t);if(e.isFunctionLike(i)&&(!kx(t)||e.getThisParameter(i))){var s=at(i)||o&&FA(i);if(!s){var l=AA(i);if(o&&l){var T=Ta(l).symbol;T&&T.members&&T.flags&16&&(s=Wo(T).thisType)}else wl(i)&&(s=Wo(Ya(i.symbol)).thisType);s||(s=pE(i))}if(s)return Op(t,s)}if(e.isClassLike(i.parent)){var U=Lr(i.parent),_e=e.isStatic(i)?Jr(U):Wo(U).thisType;return Op(t,_e)}if(e.isSourceFile(i))if(i.commonJsModuleIndicator){var Ae=Lr(i);return Ae&&Jr(Ae)}else{if(i.externalModuleIndicator)return kt;if(n)return Jr(Et)}}function PA(t){var n=e.getThisContainer(t,!1);if(e.isFunctionLike(n)){var i=p_(n);if(i.thisParameter)return ph(i.thisParameter)}if(e.isClassLike(n.parent)){var o=Lr(n.parent);return e.isStatic(n)?Jr(o):Wo(o).thisType}}function AA(t){if(t.kind===212&&e.isBinaryExpression(t.parent)&&e.getAssignmentDeclarationKind(t.parent)===3)return t.parent.left.expression.expression;if(t.kind===168&&t.parent.kind===204&&e.isBinaryExpression(t.parent.parent)&&e.getAssignmentDeclarationKind(t.parent.parent)===6)return t.parent.parent.left.expression;if(t.kind===212&&t.parent.kind===294&&t.parent.parent.kind===204&&e.isBinaryExpression(t.parent.parent.parent)&&e.getAssignmentDeclarationKind(t.parent.parent.parent)===6)return t.parent.parent.parent.left.expression;if(t.kind===212&&e.isPropertyAssignment(t.parent)&&e.isIdentifier(t.parent.name)&&(t.parent.name.escapedText==="value"||t.parent.name.escapedText==="get"||t.parent.name.escapedText==="set")&&e.isObjectLiteralExpression(t.parent.parent)&&e.isCallExpression(t.parent.parent.parent)&&t.parent.parent.parent.arguments[2]===t.parent.parent&&e.getAssignmentDeclarationKind(t.parent.parent.parent)===9)return t.parent.parent.parent.arguments[0].expression;if(e.isMethodDeclaration(t)&&e.isIdentifier(t.name)&&(t.name.escapedText==="value"||t.name.escapedText==="get"||t.name.escapedText==="set")&&e.isObjectLiteralExpression(t.parent)&&e.isCallExpression(t.parent.parent)&&t.parent.parent.arguments[2]===t.parent&&e.getAssignmentDeclarationKind(t.parent.parent)===9)return t.parent.parent.arguments[0].expression}function FA(t){var n=e.getJSDocType(t);if(n&&n.kind===315){var i=n;if(i.parameters.length>0&&i.parameters[0].name&&i.parameters[0].name.escapedText==="this")return Vi(i.parameters[0].type)}var o=e.getJSDocThisTag(t);if(o&&o.typeExpression)return Vi(o.typeExpression)}function _E(t,n){return!!e.findAncestor(t,function(i){return e.isFunctionLikeDeclaration(i)?"quit":i.kind===163&&i.parent===n})}function Ex(t){var n=t.parent.kind===207&&t.parent.expression===t,i=e.getSuperContainer(t,!0),o=i,s=!1;if(!n)for(;o&&o.kind===213;)o=e.getSuperContainer(o,!0),s=Ce<2;var l=Xe(o),T=0;if(!l){var U=e.findAncestor(t,function(ct){return ct===o?"quit":ct.kind===161});return U&&U.kind===161?Wt(t,e.Diagnostics.super_cannot_be_referenced_in_a_computed_property_name):n?Wt(t,e.Diagnostics.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors):!o||!o.parent||!(e.isClassLike(o.parent)||o.parent.kind===204)?Wt(t,e.Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions):Wt(t,e.Diagnostics.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class),Qe}if(!n&&i.kind===170&&lE(t,o,e.Diagnostics.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class),e.isStatic(o)||n?(T=512,!n&&Ce>=2&&Ce<=8&&(e.isPropertyDeclaration(o)||e.isClassStaticBlockDeclaration(o))&&e.forEachEnclosingBlockScopeContainer(t.parent,function(ct){(!e.isSourceFile(ct)||e.isExternalOrCommonJsModule(ct))&&(Ni(ct).flags|=134217728)})):T=256,Ni(t).flags|=T,o.kind===168&&e.hasSyntacticModifier(o,256)&&(e.isSuperProperty(t.parent)&&e.isAssignmentTarget(t.parent)?Ni(o).flags|=4096:Ni(o).flags|=2048),s&&Dx(t.parent,o),o.parent.kind===204)return Ce<2?(Wt(t,e.Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),Qe):Re;var _e=o.parent;if(!e.getClassExtendsHeritageElement(_e))return Wt(t,e.Diagnostics.super_can_only_be_referenced_in_a_derived_class),Qe;var Ae=Wo(Lr(_e)),Ye=Ae&&ou(Ae)[0];if(!Ye)return Qe;if(o.kind===170&&_E(t,o))return Wt(t,e.Diagnostics.super_cannot_be_referenced_in_constructor_arguments),Qe;return T===512?Ku(Ae):su(Ye,Ae.thisType);function Xe(ct){return ct?n?ct.kind===170:e.isClassLike(ct.parent)||ct.parent.kind===204?e.isStatic(ct)?ct.kind===168||ct.kind===167||ct.kind===171||ct.kind===172||ct.kind===166||ct.kind===169:ct.kind===168||ct.kind===167||ct.kind===171||ct.kind===172||ct.kind===166||ct.kind===165||ct.kind===170:!1:!1}}function wA(t){return(t.kind===168||t.kind===171||t.kind===172)&&t.parent.kind===204?t.parent:t.kind===212&&t.parent.kind===294?t.parent.parent:void 0}function dE(t){return e.getObjectFlags(t)&4&&t.target===Vn?Lo(t)[0]:void 0}function IA(t){return Js(t,function(n){return n.flags&2097152?e.forEach(n.types,dE):dE(n)})}function pE(t){if(t.kind!==213){if(L2(t)){var n=gy(t);if(n){var i=n.thisParameter;if(i)return Jr(i)}}var o=e.isInJSFile(t);if(Ie||o){var s=wA(t);if(s){for(var l=df(s),T=s,U=l;U;){var _e=IA(U);if(_e)return ha(_e,cx(my(s)));if(T.parent.kind!==294)break;T=T.parent.parent,U=df(T)}return du(l?Kd(l):Ys(s))}var Ae=e.walkUpParenthesizedExpressions(t.parent);if(Ae.kind===220&&Ae.operatorToken.kind===63){var Ye=Ae.left;if(e.isAccessExpression(Ye)){var Xe=Ye.expression;if(o&&e.isIdentifier(Xe)){var ct=e.getSourceFileOfNode(Ae);if(ct.commonJsModuleIndicator&&Al(Xe)===ct.symbol)return}return du(Ys(Xe))}}}}}function fE(t){var n=t.parent;if(L2(n)){var i=e.getImmediatelyInvokedFunctionExpression(n);if(i&&i.arguments){var o=eb(i),s=n.parameters.indexOf(t);if(t.dotDotDotToken)return Zx(o,s,o.length,Re,void 0,0);var l=Ni(i),T=l.resolvedSignature;l.resolvedSignature=Mo;var U=s=o?Xc(Jr(i.parameters[o]),M_(n-o),256):fl(i,n)}function JA(t,n){if(t.parent.kind===209)return gE(t.parent,n)}function KA(t,n){var i=t.parent,o=i.left,s=i.operatorToken,l=i.right;switch(s.kind){case 63:case 76:case 75:case 77:return t===l?UA(i):void 0;case 56:case 60:var T=Uu(i,n);return t===l&&(T&&T.pattern||!T&&!e.isDefaultedExpandoInitializer(i))?yc(o):T;case 55:case 27:return t===l?Uu(i,n):void 0;default:return}}function zA(t){if(t.symbol)return t.symbol;if(e.isIdentifier(t))return Al(t);if(e.isPropertyAccessExpression(t)){var n=yc(t.expression);return e.isPrivateIdentifier(t.name)?i(n,t.name):ka(n,t.name.escapedText)}return;function i(o,s){var l=kh(s.escapedText,s);return l&&qx(o,l)}}function UA(t){var n,i,o=e.getAssignmentDeclarationKind(t);switch(o){case 0:case 4:var s=zA(t.left),l=s&&s.valueDeclaration;if(l&&(e.isPropertyDeclaration(l)||e.isPropertySignature(l))){var T=e.getEffectiveTypeAnnotationNode(l);return T&&ha(Vi(T),Ji(s).mapper)||l.initializer&&yc(t.left)}return o===0?yc(t.left):yE(t);case 5:if(hh(t,o))return yE(t);if(t.left.symbol){var U=t.left.symbol.valueDeclaration;if(!U)return;var _e=e.cast(t.left,e.isAccessExpression),T=e.getEffectiveTypeAnnotationNode(U);if(T)return Vi(T);if(e.isIdentifier(_e.expression)){var Ae=_e.expression,Ye=gs(Ae,Ae.escapedText,111551,void 0,Ae.escapedText,!0);if(Ye){var Xe=Ye.valueDeclaration&&e.getEffectiveTypeAnnotationNode(Ye.valueDeclaration);if(Xe){var ct=e.getElementOrPropertyAccessName(_e);if(ct!==void 0)return zf(Vi(Xe),ct)}return}}return e.isInJSFile(U)?void 0:yc(t.left)}else return yc(t.left);case 1:case 6:case 3:var ht=(n=t.left.symbol)===null||n===void 0?void 0:n.valueDeclaration;case 2:ht||(ht=(i=t.symbol)===null||i===void 0?void 0:i.valueDeclaration);var Qt=ht&&e.getEffectiveTypeAnnotationNode(ht);return Qt?Vi(Qt):void 0;case 7:case 8:case 9:return e.Debug.fail("Does not apply");default:return e.Debug.assertNever(o)}}function hh(t,n){if(n===void 0&&(n=e.getAssignmentDeclarationKind(t)),n===4)return!0;if(!e.isInJSFile(t)||n!==5||!e.isIdentifier(t.left.expression))return!1;var i=t.left.expression.escapedText,o=gs(t.left,i,111551,void 0,void 0,!0,!0);return e.isThisInitializedDeclaration(o==null?void 0:o.valueDeclaration)}function yE(t){if(!t.symbol)return yc(t.left);if(t.symbol.valueDeclaration){var n=e.getEffectiveTypeAnnotationNode(t.symbol.valueDeclaration);if(n){var i=Vi(n);if(i)return i}}var o=e.cast(t.left,e.isAccessExpression);if(e.isObjectLiteralMethod(e.getThisContainer(o.expression,!1))){var s=Ev(o.expression),l=e.getElementOrPropertyAccessName(o);return l!==void 0&&zf(s,l)||void 0}}function qA(t){return!!(e.getCheckFlags(t)&262144&&!t.type&&td(t,0)>=0)}function zf(t,n,i){return Js(t,function(o){var s;if($c(o)){var l=el(o),T=Uc(l)||l,U=i||rl(e.unescapeLeadingUnderscores(n));if(ho(U,T))return J0(o,U)}else if(o.flags&3670016){var _e=ka(o,n);if(_e)return qA(_e)?void 0:Jr(_e);if(qa(o)){var Ae=cy(o);if(Ae&&e.isNumericLiteralName(n)&&+n>=0)return Ae}return(s=sg($g(o),i||rl(e.unescapeLeadingUnderscores(n))))===null||s===void 0?void 0:s.type}},!0)}function WA(t,n){if(e.Debug.assert(e.isObjectLiteralMethod(t)),!(t.flags&16777216))return Ax(t,n)}function Ax(t,n){var i=t.parent,o=e.isPropertyAssignment(t)&&Cx(t);if(o)return o;var s=df(i,n);if(s){if(bp(t)){var l=Lr(t);return zf(s,l.escapedName,Ji(l).nameType)}if(t.name){var T=Cp(t.name);return Js(s,function(U){var _e;return(_e=sg($g(U),T))===null||_e===void 0?void 0:_e.type},!0)}}}function Fx(t,n){return t&&(zf(t,""+n)||Js(t,function(i){return Eb(1,i,kt,void 0,!1)},!0))}function VA(t,n){var i=t.parent;return t===i.whenTrue||t===i.whenFalse?Uu(i,n):void 0}function HA(t,n){var i=df(t.openingElement.tagName),o=Th(Km(t));if(i&&!wr(i)&&o&&o!==""){var s=e.getSemanticJsxChildren(t.children),l=s.indexOf(n),T=zf(i,o);return T&&(s.length===1?T:Js(T,function(U){return wp(U)?Xc(U,M_(l)):U},!0))}}function GA(t){var n=t.parent;return e.isJsxAttributeLike(n)?Uu(t):e.isJsxElement(n)?HA(n,t):void 0}function vE(t){if(e.isJsxAttribute(t)){var n=df(t.parent);return!n||wr(n)?void 0:zf(n,t.name.escapedText)}else return Uu(t.parent)}function Cv(t){switch(t.kind){case 10:case 8:case 9:case 14:case 110:case 95:case 104:case 79:case 152:return!0;case 205:case 211:return Cv(t.expression);case 287:return!t.expression||Cv(t.expression)}return!1}function QA(t,n){return q8(n,t)||W2(n,e.concatenate(e.map(e.filter(t.properties,function(i){return!!i.symbol&&i.kind===294&&Cv(i.initializer)&&dy(n,i.symbol.escapedName)}),function(i){return[function(){return Bv(i.initializer)},i.symbol.escapedName]}),e.map(e.filter(To(n),function(i){var o;return!!(i.flags&16777216)&&!!(!((o=t==null?void 0:t.symbol)===null||o===void 0)&&o.members)&&!t.symbol.members.has(i.escapedName)&&dy(n,i.escapedName)}),function(i){return[function(){return kt},i.escapedName]})),ho,n)}function YA(t,n){return W2(n,e.concatenate(e.map(e.filter(t.properties,function(i){return!!i.symbol&&i.kind===284&&dy(n,i.symbol.escapedName)&&(!i.initializer||Cv(i.initializer))}),function(i){return[i.initializer?function(){return Bv(i.initializer)}:function(){return Fr},i.symbol.escapedName]}),e.map(e.filter(To(n),function(i){var o;return!!(i.flags&16777216)&&!!(!((o=t==null?void 0:t.symbol)===null||o===void 0)&&o.members)&&!t.symbol.members.has(i.escapedName)&&dy(n,i.escapedName)}),function(i){return[function(){return kt},i.escapedName]})),ho,n)}function df(t,n){var i=e.isObjectLiteralMethod(t)?WA(t,n):Uu(t,n),o=xh(i,t,n);if(o&&!(n&&n&2&&o.flags&8650752)){var s=Js(o,kr,!0);return s.flags&1048576&&e.isObjectLiteralExpression(t)?QA(t,s):s.flags&1048576&&e.isJsxAttributes(t)?YA(t,s):s}}function xh(t,n,i){if(t&&Ss(t,465829888)){var o=my(n);if(o&&e.some(o.inferences,pm)){if(i&&i&1)return bh(t,o.nonFixingMapper);if(o.returnMapper)return bh(t,o.returnMapper)}}return t}function bh(t,n){return t.flags&465829888?ha(t,n):t.flags&1048576?Fi(e.map(t.types,function(i){return bh(i,n)}),0):t.flags&2097152?Oo(e.map(t.types,function(i){return bh(i,n)})):t}function Uu(t,n){if(t.flags&16777216)return;if(t.contextualType)return t.contextualType;var i=t.parent;switch(i.kind){case 253:case 163:case 166:case 165:case 202:return LA(t,n);case 213:case 246:return RA(t);case 223:return BA(i);case 217:return jA(i,n);case 207:case 208:return gE(i,t);case 210:case 228:return e.isConstTypeReference(i.type)?T(i):Vi(i.type);case 220:return KA(t,n);case 294:case 295:return Ax(i,n);case 296:return Uu(i.parent,n);case 203:{var o=i,s=df(o,n);return Fx(s,e.indexOfNode(o.elements,t))}case 221:return VA(t,n);case 232:return e.Debug.assert(i.parent.kind===222),JA(i.parent,t);case 211:{var l=e.isInJSFile(i)?e.getJSDocTypeTag(i):void 0;return l?e.isJSDocTypeTag(l)&&e.isConstTypeReference(l.typeExpression.type)?T(i):Vi(l.typeExpression.type):Uu(i,n)}case 229:return Uu(i,n);case 287:return GA(i);case 284:case 286:return vE(i);case 279:case 278:return $A(i,n)}return;function T(U){return Uu(U)}}function my(t){var n=e.findAncestor(t,function(i){return!!i.inferenceContext});return n&&n.inferenceContext}function $A(t,n){return e.isJsxOpeningElement(t)&&t.parent.contextualType&&n!==4?t.parent.contextualType:Px(t,0)}function Sh(t,n){return nC(n)!==0?XA(t,n):t5(t,n)}function XA(t,n){var i=ob(t,$e);i=hE(n,Km(n),i);var o=pf(j.IntrinsicAttributes,n);return $r(o)||(i=Dm(o,i)),i}function ZA(t,n){if(t.compositeSignatures){for(var i=[],o=0,s=t.compositeSignatures;o=2){var U=tf([l,i],T,2,e.isInJSFile(t));return fg(o,U)}}if(e.length(s.typeParameters)>=2){var U=tf([l,i],s.typeParameters,2,e.isInJSFile(t));return rd(s,U)}}return i}function t5(t,n){var i=Km(n),o=b5(i),s=o===void 0?ob(t,$e):o===""?Io(t):ZA(t,o);if(!s)return!!o&&!!e.length(n.attributes.properties)&&Wt(n,e.Diagnostics.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,e.unescapeLeadingUnderscores(o)),$e;if(s=hE(n,i,s),wr(s))return s;var l=s,T=pf(j.IntrinsicClassAttributes,n);if(!$r(T)){var U=l_(T.symbol),_e=Io(t);l=Dm(U?rd(T,tf([_e],U,kl(U),e.isInJSFile(n))):T,l)}var Ae=pf(j.IntrinsicAttributes,n);return $r(Ae)||(l=Dm(Ae,l)),l}function n5(t){return e.getStrictOptionValue(Oe,"noImplicitAny")?e.reduceLeft(t,function(n,i){return n===i||!n?n:h0(n.typeParameters,i.typeParameters)?a5(n,i):void 0}):void 0}function r5(t,n,i){if(!t||!n)return t||n;var o=Fi([Jr(t),ha(Jr(n),i)]);return _m(t,o)}function i5(t,n,i){for(var o=Zc(t),s=Zc(n),l=o>=s?t:n,T=l===t?n:t,U=l===t?o:s,_e=i_(t)||i_(n),Ae=_e&&!i_(l),Ye=new Array(U+(Ae?1:0)),Xe=0;Xe=r_(l)&&Xe>=r_(T),Ln=Xe>=o?void 0:Ag(t,Xe),Kn=Xe>=s?void 0:Ag(n,Xe),$n=Ln===Kn?Ln:Ln?Kn?void 0:Ln:Kn,ri=Co(1|(On&&!sn?16777216:0),$n||"arg".concat(Xe));ri.type=sn?gc(Qt):Qt,Ye[Xe]=ri}if(Ae){var dr=Co(1,"args");dr.type=gc(fl(T,U)),T===n&&(dr.type=ha(dr.type,i)),Ye[U]=dr}return Ye}function a5(t,n){var i=t.typeParameters||n.typeParameters,o;t.typeParameters&&n.typeParameters&&(o=lu(n.typeParameters,t.typeParameters));var s=t.declaration,l=i5(t,n,o),T=r5(t.thisParameter,n.thisParameter,o),U=Math.max(t.minArgumentCount,n.minArgumentCount),_e=Dl(s,i,T,l,void 0,void 0,U,(t.flags|n.flags)&39);return _e.compositeKind=2097152,_e.compositeSignatures=e.concatenate(t.compositeKind===2097152&&t.compositeSignatures||[t],[n]),o&&(_e.mapper=t.compositeKind===2097152&&t.mapper&&t.compositeSignatures?Rf(t.mapper,o):o),_e}function wx(t,n){var i=Ja(t,0),o=e.filter(i,function(s){return!o5(s,n)});return o.length===1?o[0]:n5(o)}function o5(t,n){for(var i=0;i0&&(T=of(T,to(),t.symbol,Qt,Ae),l=[],s=e.createSymbolTable(),On=!1,Ln=!1,Kn=!1);var Ka=Po(Ta(Ui.expression));if(kv(Ka)){var ei=k2(Ka,Ae);if(o&&TE(ei,o,Ui),Li=l.length,$r(T))continue;T=of(T,ei,t.symbol,Qt,Ae)}else Wt(Ui,e.Diagnostics.Spread_types_may_only_be_created_from_object_types),T=Qe;continue}else e.Debug.assert(Ui.kind===171||Ui.kind===172),Ay(Ui);Va&&!(Va.flags&8576)?ho(Va,_i)&&(ho(Va,Tn)?Ln=!0:ho(Va,Oi)?Kn=!0:On=!0,i&&(sn=!0)):s.set(Wa.escapedName,Wa),l.push(Wa)}if(_e&&t.parent.kind!==296)for(var ea=0,Aa=To(U);ea0&&(T=of(T,to(),t.symbol,Qt,Ae),l=[],s=e.createSymbolTable(),On=!1,Ln=!1),Js(T,function(oi){return oi===br?to():oi});return to();function to(){var oi=[];On&&oi.push(Ox(t,Li,l,An)),Ln&&oi.push(Ox(t,Li,l,Tn)),Kn&&oi.push(Ox(t,Li,l,Oi));var no=Ts(t.symbol,s,e.emptyArray,e.emptyArray,oi);return no.objectFlags|=Qt|128|262144,ht&&(no.objectFlags|=8192),sn&&(no.objectFlags|=512),i&&(no.pattern=t),no}}function kv(t){var n=CT(Js(t,Em));return!!(n.flags&126615553||n.flags&3145728&&e.every(n.types,kv))}function p5(t){Bx(t)}function f5(t,n){return Ay(t),Nv(t)||Re}function m5(t){Bx(t.openingElement),Cg(t.closingElement.tagName)?Rx(t.closingElement):Ta(t.closingElement.tagName),Dh(t)}function g5(t,n){return Ay(t),Nv(t)||Re}function y5(t){Bx(t.openingFragment);var n=e.getSourceFileOfNode(t);return e.getJSXTransformEnabled(Oe)&&(Oe.jsxFactory||n.pragmas.has("jsx"))&&!Oe.jsxFragmentFactory&&!n.pragmas.has("jsxfrag")&&Wt(t,Oe.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),Dh(t),Nv(t)||Re}function Lx(t){return e.stringContains(t,"-")}function Cg(t){return t.kind===79&&e.isIntrinsicJsxName(t.escapedText)}function DE(t,n){return t.initializer?Ig(t.initializer,n):Fr}function v5(t,n){for(var i=t.attributes,o=vt?e.createSymbolTable():void 0,s=e.createSymbolTable(),l=Ci,T=!1,U,_e=!1,Ae=2048,Ye=Th(Km(t)),Xe=0,ct=i.properties;Xe0&&(l=of(l,vi(),i.symbol,Ae,!1),s=e.createSymbolTable());var sn=Po(Ys(ht.expression,n));wr(sn)&&(T=!0),kv(sn)?(l=of(l,sn,i.symbol,Ae,!1),o&&TE(sn,o,ht)):U=U?Oo([U,sn]):sn}}T||s.size>0&&(l=of(l,vi(),i.symbol,Ae,!1));var Ln=t.parent.kind===277?t.parent:void 0;if(Ln&&Ln.openingElement===t&&Ln.children.length>0){var Kn=Dh(Ln,n);if(!T&&Ye&&Ye!==""){_e&&Wt(i,e.Diagnostics._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,e.unescapeLeadingUnderscores(Ye));var $n=df(t.attributes),ri=$n&&zf($n,Ye),dr=Co(4,Ye);dr.type=Kn.length===1?Kn[0]:ri&&Rm(ri,bg)?Xl(Kn):gc(Fi(Kn)),dr.valueDeclaration=e.factory.createPropertySignature(void 0,e.unescapeLeadingUnderscores(Ye),void 0,void 0),e.setParent(dr.valueDeclaration,i),dr.valueDeclaration.symbol=dr;var Li=e.createSymbolTable();Li.set(Ye,dr),l=of(l,Ts(i.symbol,Li,e.emptyArray,e.emptyArray,e.emptyArray),i.symbol,Ae,!1)}}if(T)return Re;if(U&&l!==Ci)return Oo([U,l]);return U||(l===Ci?vi():l);function vi(){Ae|=It;var Ea=Ts(i.symbol,s,e.emptyArray,e.emptyArray,e.emptyArray);return Ea.objectFlags|=Ae|128|262144,Ea}}function Dh(t,n){for(var i=[],o=0,s=t.children;o1&&i.declarations&&Wt(i.declarations[0],e.Diagnostics.The_global_type_JSX_0_may_not_have_more_than_one_property,e.unescapeLeadingUnderscores(t))}}function x5(t){return t&&Wc(t.exports,j.LibraryManagedAttributes,788968)}function b5(t){return EE(j.ElementAttributesPropertyNameContainer,t)}function Th(t){return EE(j.ElementChildrenAttributeNameContainer,t)}function CE(t,n){if(t.flags&4)return[Mo];if(t.flags&128){var i=kE(t,n);if(i){var o=Mh(n,i);return[o]}else return Wt(n,e.Diagnostics.Property_0_does_not_exist_on_type_1,t.value,"JSX."+j.IntrinsicElements),e.emptyArray}var s=kr(t),l=Ja(s,1);return l.length===0&&(l=Ja(s,0)),l.length===0&&s.flags&1048576&&(l=Qy(e.map(s.types,function(T){return CE(T,n)}))),l}function kE(t,n){var i=pf(j.IntrinsicElements,n);if(!$r(i)){var o=t.value,s=ka(i,e.escapeLeadingUnderscores(o));if(s)return Jr(s);var l=d_(i,An);return l||void 0}return Re}function S5(t,n,i){if(t===1){var o=AE(i);o&&Pl(n,o,Gn,i.tagName,e.Diagnostics.Its_return_type_0_is_not_a_valid_JSX_element,T)}else if(t===0){var s=PE(i);s&&Pl(n,s,Gn,i.tagName,e.Diagnostics.Its_instance_type_0_is_not_a_valid_JSX_element,T)}else{var o=AE(i),s=PE(i);if(!o||!s)return;var l=Fi([o,s]);Pl(n,l,Gn,i.tagName,e.Diagnostics.Its_element_type_0_is_not_a_valid_JSX_element,T)}function T(){var U=e.getTextOfNode(i.tagName);return e.chainDiagnosticMessages(void 0,e.Diagnostics._0_cannot_be_used_as_a_JSX_component,U)}}function NE(t){e.Debug.assert(Cg(t.tagName));var n=Ni(t);if(!n.resolvedJsxElementAttributesType){var i=Rx(t);return n.jsxFlags&1?n.resolvedJsxElementAttributesType=Jr(i)||Qe:n.jsxFlags&2?n.resolvedJsxElementAttributesType=d_(pf(j.IntrinsicElements,t),An)||Qe:n.resolvedJsxElementAttributesType=Qe}return n.resolvedJsxElementAttributesType}function PE(t){var n=pf(j.ElementClass,t);if(!$r(n))return n}function Nv(t){return pf(j.Element,t)}function AE(t){var n=Nv(t);if(n)return Fi([n,Pn])}function D5(t){var n=pf(j.IntrinsicElements,t);return n?To(n):e.emptyArray}function T5(t){(Oe.jsx||0)===0&&Wt(t,e.Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided),Nv(t)===void 0&&Ue&&Wt(t,e.Diagnostics.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist)}function Bx(t){var n=e.isJsxOpeningLikeElement(t);if(n&&j9(t),T5(t),!jx(t)){var i=Ti&&Oe.jsx===2?e.Diagnostics.Cannot_find_name_0:void 0,o=yo(t),s=n?t.tagName:t,l=void 0;if(e.isJsxOpeningFragment(t)&&o==="null"||(l=gs(s,o,111551,i,o,!0)),l&&(l.isReferenced=67108863,l.flags&2097152&&!Tu(l)&&b_(l)),e.isJsxOpeningFragment(t)){var T=e.getSourceFileOfNode(t),U=Ga(T);U&&gs(s,U,111551,i,U,!0)}}if(n){var _e=t,Ae=Pg(_e);Rh(Ae,t),S5(nC(_e),Io(Ae),_e)}}function Jx(t,n,i){if(t.flags&524288){if(nd(t,n)||Zp(t,n)||rm(n)&&Cl(t,An)||i&&Lx(n))return!0}else if(t.flags&3145728&&Pv(t))for(var o=0,s=t.types;o=1&&ho(i,fl(_e,0))}return!1}var s=e.isAssignmentTarget(n)?"set":"get";if(o(s)){var l=e.tryGetPropertyAccessOrIdentifierToString(n.expression);return l===void 0?l=s:l+="."+s,l}}function z5(t,n){var i=n.types.filter(function(o){return!!(o.flags&128)});return e.getSpellingSuggestion(t.value,i,function(o){return o.value})}function Av(t,n,i){return e.getSpellingSuggestion(t,n,o);function o(s){var l=e.symbolName(s);if(!e.startsWith(l,'"')){if(s.flags&i)return l;if(s.flags&2097152){var T=Yo(s);if(T&&T.flags&i)return l}}}}function Fv(t,n,i){var o=t&&t.flags&106500&&t.valueDeclaration;if(o){var s=e.hasEffectiveModifier(o,8),l=t.valueDeclaration&&e.isNamedDeclaration(t.valueDeclaration)&&e.isPrivateIdentifier(t.valueDeclaration.name);if(!(!s&&!l)&&!(n&&e.isWriteOnlyAccess(n)&&!(t.flags&65536))){if(i){var T=e.findAncestor(n,e.isFunctionLikeDeclaration);if(T&&T.symbol===t)return}(e.getCheckFlags(t)&1?Ji(t).target:t).isReferenced=67108863}}}function WE(t,n){return t.kind===108||!!n&&e.isEntityNameExpression(t)&&n===Al(e.getFirstIdentifier(t))}function U5(t,n){switch(t.kind){case 205:return Yx(t,t.expression.kind===106,n,du(Ta(t.expression)));case 160:return Yx(t,!1,n,du(Ta(t.left)));case 199:return Yx(t,!1,n,Vi(t))}}function VE(t,n,i){return $x(t,t.kind===205&&t.expression.kind===106,!1,n,i)}function Yx(t,n,i,o){if(wr(o))return!0;var s=ka(o,i);return!!s&&$x(t,n,!1,o,s)}function $x(t,n,i,o,s){if(wr(o))return!0;if(s.valueDeclaration&&e.isPrivateIdentifierClassElementDeclaration(s.valueDeclaration)){var l=e.getContainingClass(s.valueDeclaration);return!e.isOptionalChain(t)&&!!e.findAncestor(t,function(T){return T===l})}return FE(t,n,i,o,s)}function q5(t){var n=t.initializer;if(n.kind===254){var i=n.declarations[0];if(i&&!e.isBindingPattern(i.name))return Lr(i)}else if(n.kind===79)return Al(n)}function W5(t){return uc(t).length===1&&!!Cl(t,Tn)}function V5(t){var n=e.skipParentheses(t);if(n.kind===79){var i=Al(n);if(i.flags&3)for(var o=t,s=t.parent;s;){if(s.kind===242&&o===s.statement&&q5(s)===i&&W5(yc(s.expression)))return!0;o=s,s=s.parent}}return!1}function H5(t,n){return t.flags&32?G5(t,n):HE(t,kg(t.expression),n)}function G5(t,n){var i=Ta(t.expression),o=uy(i,t.expression);return eh(HE(t,Fl(o,t.expression),n),t,o!==i)}function HE(t,n,i){var o=e.getAssignmentTargetKind(t)!==0||RE(t)?du(n):n,s=t.argumentExpression,l=Ta(s);if($r(o)||o===In)return o;if(lb(o)&&!e.isStringLiteralLike(s))return Wt(s,e.Diagnostics.A_const_enum_member_can_only_be_accessed_using_a_string_literal),Qe;var T=V5(s)?Tn:l,U=e.isAssignmentTarget(t)?4|(sm(o)&&!e.isThisTypeParameter(o)?2:0):32,_e=kp(o,T,U,t)||Qe;return YC(BE(t,Ni(t).resolvedSymbol,_e,s,i),t)}function GE(t){return e.isCallOrNewExpression(t)||e.isTaggedTemplateExpression(t)||e.isJsxOpeningLikeElement(t)}function zm(t){return GE(t)&&e.forEach(t.typeArguments,lo),t.kind===209?Ta(t.template):e.isJsxOpeningLikeElement(t)?Ta(t.attributes):t.kind!==164&&e.forEach(t.arguments,function(n){Ta(n)}),Mo}function n_(t){return zm(t),xo}function Q5(t,n,i){var o,s,l=0,T,U=-1,_e;e.Debug.assert(!n.length);for(var Ae=0,Ye=t;Ae=0)return Ye>=r_(i)&&(i_(i)||YeT)return!1;if(l||s>=U)return!0;for(var Xe=s;Xe=o&&n.length<=i}function dm(t){return yy(t,0,!1)}function $E(t){return yy(t,0,!1)||yy(t,1,!1)}function yy(t,n,i){if(t.flags&524288){var o=dl(t);if(i||o.properties.length===0&&o.indexInfos.length===0){if(n===0&&o.callSignatures.length===1&&o.constructSignatures.length===0)return o.callSignatures[0];if(n===1&&o.constructSignatures.length===1&&o.callSignatures.length===0)return o.constructSignatures[0]}}}function XE(t,n,i,o){var s=ly(t.typeParameters,t,0,o),l=hy(n),T=i&&(l&&l.flags&262144?i.nonFixingMapper:i.mapper),U=T?wm(n,T):n;return ix(U,t,function(_e,Ae){R_(s.inferences,_e,Ae)}),i||ax(n,t,function(_e,Ae){R_(s.inferences,_e,Ae,128)}),sv(t,mx(s),e.isInJSFile(n.declaration))}function $5(t,n,i,o){var s=Sh(n,t),l=qm(t.attributes,s,o,i);return R_(o.inferences,l,s),mx(o)}function ZE(t){if(!t)return li;var n=Ta(t);return e.isOptionalChainRoot(t.parent)?Kd(n):e.isOptionalChain(t.parent)?tx(n):n}function Xx(t,n,i,o,s){if(e.isJsxOpeningLikeElement(t))return $5(t,n,o,s);if(t.kind!==164){var l=Uu(t,e.every(n.typeParameters,function(Ea){return!!c(Ea)})?8:0);if(l){var T=my(t),U=cx(E8(T,1)),_e=ha(l,U),Ae=dm(_e),Ye=Ae&&Ae.typeParameters?dg(a2(Ae,Ae.typeParameters)):_e,Xe=Io(n);R_(s.inferences,Ye,Xe,128);var ct=ly(n.typeParameters,n,s.flags),ht=ha(l,T&&T.returnMapper);R_(ct.inferences,ht,Xe),s.returnMapper=e.some(ct.inferences,pm)?cx(C8(ct)):void 0}}var Qt=xy(n),sn=Qt?Math.min(Zc(n)-1,i.length):i.length;if(Qt&&Qt.flags&262144){var On=e.find(s.inferences,function(Ea){return Ea.typeParameter===Qt});On&&(On.impliedArity=e.findIndex(i,Ah,sn)<0?i.length-sn:void 0)}var Ln=Of(n);if(Ln){var Kn=rC(t);R_(s.inferences,ZE(Kn),Ln)}for(var $n=0;$n=i-1){var T=t[i-1];if(Ah(T))return eC(T.kind===231?T.type:qm(T.expression,o,s,l))}for(var U=[],_e=[],Ae=[],Ye=n;YeKn&&(Kn=Va)}}if(!Ln)return!0;for(var Ka=1/0,Ko=0,er=ct;Ko0||e.isJsxOpeningElement(t)&&t.parent.children.length>0?[t.attributes]:e.emptyArray;var o=t.arguments||e.emptyArray,s=Fh(o);if(s>=0){for(var l=o.slice(0,s),T=function(_e){var Ae=o[_e],Ye=Ae.kind===224&&(ro?Ta(Ae.expression):Ys(Ae.expression));Ye&&qa(Ye)?e.forEach(Lo(Ye),function(Xe,ct){var ht,Qt=Ye.target.elementFlags[ct],sn=ff(Ae,Qt&4?gc(Xe):Xe,!!(Qt&12),(ht=Ye.target.labeledElementDeclarations)===null||ht===void 0?void 0:ht[ct]);l.push(sn)}):l.push(Ae)},U=s;U-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,T=Number.NEGATIVE_INFINITY,U=Number.NEGATIVE_INFINITY,_e=Number.POSITIVE_INFINITY,Ae,Ye=0,Xe=n;YeU&&(U=ht),i.lengtho?_e=Math.min(_e,Xe):T1&&(Kn=Gr(Xe,Dt,ht,$n)),Kn||(Kn=Gr(Xe,Gn,ht,$n)),Kn)return Kn;if(Ae)if(sn)if(sn.length===1||sn.length>3){var ri=sn[sn.length-1],dr;sn.length>3&&(dr=e.chainDiagnosticMessages(dr,e.Diagnostics.The_last_overload_gave_the_following_error),dr=e.chainDiagnosticMessages(dr,e.Diagnostics.No_overload_matches_this_call));var Li=wv(t,ct,ri,Gn,0,!0,function(){return dr});if(Li)for(var vi=0,Ea=Li;vi3&&e.addRelatedInfo(Ui,e.createDiagnosticForNode(ri.declaration,e.Diagnostics.The_last_overload_is_declared_here)),ti(ri,Ui),Ti.add(Ui)}else e.Debug.fail("No error for last overload signature")}else{for(var Wa=[],Va=0,Ka=Number.MAX_VALUE,Ko=0,er=0,Hn=function(ni){var Ei=function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.Overload_0_of_1_2_gave_the_following_error,er+1,Xe.length,c_(ni))},jr=wv(t,ct,ni,Gn,0,!0,Ei);jr?(jr.length<=Ka&&(Ka=jr.length,Ko=er),Va=Math.max(Va,jr.length),Wa.push(jr)):e.Debug.fail("No error for 3 or fewer overload signatures"),er++},zr=0,Gi=sn;zr1?Wa[Ko]:e.flatten(Wa);e.Debug.assert(ea.length>0,"No errors reported for 3 or fewer overload signatures");var Aa=e.chainDiagnosticMessages(e.map(ea,e.createDiagnosticMessageChainFromDiagnostic),e.Diagnostics.No_overload_matches_this_call),to=tt([],e.flatMap(ea,function(ni){return ni.relatedInformation}),!0),oi=void 0;if(e.every(ea,function(ni){return ni.start===ea[0].start&&ni.length===ea[0].length&&ni.file===ea[0].file})){var no=ea[0],nn=no.file,St=no.start,Or=no.length;oi={file:nn,start:St,length:Or,code:Aa.code,category:Aa.category,messageText:Aa,relatedInformation:to}}else oi=e.createDiagnosticForNodeFromMessageChain(t,Aa,to);ti(sn[0],oi),Ti.add(oi)}else if(On)Ti.add(oC(t,[On],ct));else if(Ln)tC(Ln,t.typeArguments,!0,l);else{var Nr=e.filter(n,function(ni){return YE(ni,Ye)});Nr.length===0?Ti.add(tF(t,n,Ye)):U?l&&Ti.add(Ih(t,l)):Ti.add(oC(t,Nr,ct))}return nF(t,Xe,ct,!!i);function ti(ni,Ei){var jr,dn,wn=sn,Xn=On,tr=Ln,ur=((dn=(jr=ni.declaration)===null||jr===void 0?void 0:jr.symbol)===null||dn===void 0?void 0:dn.declarations)||e.emptyArray,Ir=ur.length>1,Yi=Ir?e.find(ur,function(Oa){return e.isFunctionLikeDeclaration(Oa)&&e.nodeIsPresent(Oa.body)}):void 0;if(Yi){var Na=p_(Yi),wi=!Na.typeParameters;Gr([Na],Gn,wi)&&e.addRelatedInfo(Ei,e.createDiagnosticForNode(Yi,e.Diagnostics.The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible))}sn=wn,On=Xn,Ln=tr}function Gr(ni,Ei,jr,dn){if(dn===void 0&&(dn=!1),sn=void 0,On=void 0,Ln=void 0,jr){var wn=ni[0];if(e.some(Ye)||!wh(t,ct,wn,dn))return;if(wv(t,ct,wn,Ei,0,!1,void 0)){sn=[wn];return}return wn}for(var Xn=0;Xn0),Ay(t),o||n.length===1||n.some(function(s){return!!s.typeParameters})?aF(t,n,i):rF(n)}function rF(t){var n=e.mapDefined(t,function(ct){return ct.thisParameter}),i;n.length&&(i=sC(n,n.map(vy)));for(var o=e.minAndMax(t,iF),s=o.min,l=o.max,T=[],U=function(ct){var ht=e.mapDefined(t,function(Qt){return W(Qt)?ctn.length;)o.pop();for(;o.length=n)return s;T>o&&(o=T,i=s)}return i}function uF(t,n,i){if(t.expression.kind===106){var o=Ex(t.expression);if(wr(o)){for(var s=0,l=t.arguments;s=0&&Wt(t.arguments[o],e.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}var s=kg(t.expression);if(s===In)return ta;if(s=kr(s),$r(s))return n_(t);if(wr(s))return t.typeArguments&&Wt(t,e.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments),zm(t);var l=Ja(s,1);if(l.length){if(!dF(t,l[0]))return n_(t);if(l.some(function(Ae){return Ae.flags&4}))return Wt(t,e.Diagnostics.Cannot_create_an_instance_of_an_abstract_class),n_(t);var T=s.symbol&&e.getClassLikeDeclarationOfSymbol(s.symbol);return T&&e.hasSyntacticModifier(T,128)?(Wt(t,e.Diagnostics.Cannot_create_an_instance_of_an_abstract_class),n_(t)):Ng(t,l,n,i,0)}var U=Ja(s,0);if(U.length){var _e=Ng(t,U,n,i,0);return Ue||(_e.declaration&&!wl(_e.declaration)&&Io(_e)!==li&&Wt(t,e.Diagnostics.Only_a_void_function_can_be_called_with_the_new_keyword),Of(_e)===li&&Wt(t,e.Diagnostics.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void)),_e}return nb(t.expression,s,1),n_(t)}function tb(t,n){var i=ou(n);if(!e.length(i))return!1;var o=i[0];if(o.flags&2097152){for(var s=o.types,l=S0(s),T=0,U=0,_e=o.types;U<_e.length;U++){var Ae=_e[U];if(!l[T]&&e.getObjectFlags(Ae)&3&&(Ae.symbol===t||tb(t,Ae)))return!0;T++}return!1}return o.symbol===t?!0:tb(t,o)}function dF(t,n){if(!n||!n.declaration)return!0;var i=n.declaration,o=e.getSelectedEffectiveModifierFlags(i,24);if(!o||i.kind!==170)return!0;var s=e.getClassLikeDeclarationOfSymbol(i.parent.symbol),l=Wo(i.parent.symbol);if(!Mb(t,s)){var T=e.getContainingClass(t);if(T&&o&16){var U=mf(T);if(tb(i.parent.symbol,U))return!0}return o&8&&Wt(t,e.Diagnostics.Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration,Dr(l)),o&16&&Wt(t,e.Diagnostics.Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration,Dr(l)),!1}return!0}function uC(t,n,i){var o,s=i===0,l=fm(n),T=l&&Ja(l,i).length>0;if(n.flags&1048576){for(var U=n.types,_e=!1,Ae=0,Ye=U;Ae1?Ys(t.arguments[1]):void 0,s=2;s=i-1)return n===i-1?s:gc(Xc(s,Tn));for(var l=[],T=[],U=[],_e=n;_e0&&(s=t.parameters.length-1+U)}}if(s===void 0){if(!i&&t.flags&32)return 0;s=t.minArgumentCount}if(o)return s;for(var _e=s-1;_e>=0;_e--){var Ae=fl(t,_e);if(Cc(Ae,QE).flags&131072)break;s=_e}t.resolvedMinArgumentCount=s}return t.resolvedMinArgumentCount}function i_(t){if(W(t)){var n=Jr(t.parameters[t.parameters.length-1]);return!qa(n)||n.target.hasRestElement}return!1}function hy(t){if(W(t)){var n=Jr(t.parameters[t.parameters.length-1]);if(!qa(n))return n;if(n.target.hasRestElement)return ty(n,n.target.fixedLength)}}function xy(t){var n=hy(t);return n&&!Ec(n)&&!wr(n)&&(Po(n).flags&131072)===0?n:void 0}function ab(t){return ob(t,lr)}function ob(t,n){return t.parameters.length>0?fl(t,0):n}function FF(t,n,i){for(var o=t.parameters.length-(W(t)?1:0),s=0;s0&&(l=Fi(Ae,2)):_e=lr;var Ye=OF(t,n),Xe=Ye.yieldTypes,ct=Ye.nextTypes;T=e.some(Xe)?Fi(Xe,2):void 0,U=e.some(ct)?Oo(ct):void 0}else{var ht=NC(t,n);if(!ht)return i&2?Lv(t,lr):lr;if(ht.length===0)return i&2?Lv(t,li):li;l=Fi(ht,2)}if(l||T||U){if(T&&ih(t,T,3),l&&ih(t,l,1),U&&ih(t,U,2),l&&e_(l)||T&&e_(T)||U&&e_(U)){var Qt=Ix(t),sn=Qt?Qt===p_(t)?s?void 0:l:xh(Io(Qt),t):void 0;s?(T=Z2(T,sn,0,o),l=Z2(l,sn,1,o),U=Z2(U,sn,2,o)):l=p8(l,sn,o)}T&&(T=du(T)),l&&(l=du(l)),U&&(U=du(U))}return s?TC(T||lr,l||_e,U||mE(2,t)||$e,o):o?Mv(l||_e):l||_e}function TC(t,n,i,o){var s=o?jo:_s,l=s.getGlobalGeneratorType(!1);if(t=s.resolveIterationType(t,void 0)||$e,n=s.resolveIterationType(n,void 0)||$e,i=s.resolveIterationType(i,void 0)||$e,l===$i){var T=s.getGlobalIterableIteratorType(!1),U=T!==$i?fk(T,s):void 0,_e=U?U.returnType:Re,Ae=U?U.nextType:kt;return ho(n,_e)&&ho(Ae,i)?T!==$i?ey(T,[t]):(s.getGlobalIterableIteratorType(!0),br):(s.getGlobalGeneratorType(!0),br)}return ey(l,[t,n,i])}function OF(t,n){var i=[],o=[],s=(e.getFunctionFlags(t)&2)!==0;return e.forEachYieldExpression(t.body,function(l){var T=l.expression?Ta(l.expression,n):en;e.pushIfUnique(i,EC(l,T,Re,s));var U;if(l.asteriskToken){var _e=Wv(T,s?19:17,l.expression);U=_e&&_e.nextType}else U=Uu(l);U&&e.pushIfUnique(o,U)}),{yieldTypes:i,nextTypes:o}}function EC(t,n,i,o){var s=t.expression||t,l=t.asteriskToken?qd(o?19:17,n,i,s):n;return o?fm(l,s,t.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 sb(t,n,i,o){var s=0;if(o){for(var l=n;l1&&n.charCodeAt(i-1)>=48&&n.charCodeAt(i-1)<=57;)i--;for(var o=n.slice(0,i),s=1;;s++){var l=o+s;if(!fb(t,l))return l}}function JC(t){var n=dm(t);if(n&&!n.typeParameters)return Io(n)}function d7(t){var n=Ta(t.expression),i=uy(n,t.expression),o=JC(n);return o&&eh(o,t,i!==n)}function yc(t){var n=KC(t);if(n)return n;if(t.flags&67108864&&Qo){var i=Qo[A(t)];if(i)return i}var o=fc,s=Ta(t);if(fc!==o){var l=Qo||(Qo=[]);l[A(t)]=s,e.setNodeFlags(t,t.flags|67108864)}return s}function KC(t){var n=e.skipParentheses(t,!0);if(e.isJSDocTypeAssertion(n)){var i=e.getJSDocTypeAssertionType(n);if(!e.isConstTypeReference(i))return Vi(i)}if(n=e.skipParentheses(t),e.isCallExpression(n)&&n.expression.kind!==106&&!e.isRequireCall(n,!0)&&!_C(n)){var i=e.isCallChain(n)?d7(n):JC(kg(n.expression));if(i)return i}else{if(e.isAssertionExpression(n)&&!e.isConstTypeReference(n.type))return Vi(n.type);if(t.kind===8||t.kind===10||t.kind===110||t.kind===95)return Ta(t)}}function Bv(t){var n=Ni(t);if(n.contextFreeType)return n.contextFreeType;var i=t.contextualType;t.contextualType=Re;try{var o=n.contextFreeType=Ta(t,4);return o}finally{t.contextualType=i}}function Ta(t,n,i){e.tracing===null||e.tracing===void 0||e.tracing.push("check","checkExpression",{kind:t.kind,pos:t.pos,end:t.end,path:t.tracingPath});var o=ke;ke=t,Me=0;var s=m7(t,n,i),l=jC(t,s,n);return lb(l)&&p7(t,l),ke=o,e.tracing===null||e.tracing===void 0||e.tracing.pop(),l}function p7(t,n){var i=t.parent.kind===205&&t.parent.expression===t||t.parent.kind===206&&t.parent.expression===t||(t.kind===79||t.kind===160)&&t1(t)||t.parent.kind===180&&t.parent.exprName===t||t.parent.kind===274;if(i||Wt(t,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),Oe.isolatedModules){e.Debug.assert(!!(n.symbol.flags&128));var o=n.symbol.valueDeclaration;o.flags&8388608&&Wt(t,e.Diagnostics.Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided)}}function f7(t,n){if(e.hasJSDocNodes(t)&&e.isJSDocTypeAssertion(t)){var i=e.getJSDocTypeAssertionType(t);return yC(i,i,t.expression,n)}return Ta(t.expression,n)}function m7(t,n,i){var o=t.kind;if(w)switch(o){case 225:case 212:case 213:w.throwIfCancellationRequested()}switch(o){case 79:return SA(t,n);case 80:return F5(t);case 108:return Ev(t);case 106:return Ex(t);case 104:return Fn;case 14:case 10:return Am(rl(t.text));case 8:return Vb(t),Am(M_(+t.text));case 9:return aO(t),Am(P2({negative:!1,base10Value:e.parsePseudoBigInt(t.text)}));case 110:return Fr;case 95:return xn;case 222:return i7(t);case 13:return Dn;case 203:return xE(t,n,i);case 204:return d5(t,n);case 205:return ME(t,n);case 160:return LE(t,n);case 206:return H5(t,n);case 207:if(t.expression.kind===100)return SF(t);case 208:return bF(t,n);case 209:return DF(t);case 211:return f7(t,n);case 225:return Ww(t);case 212:case 213:return PC(t,n);case 215:return zF(t);case 210:case 228:return TF(t);case 229:return CF(t);case 230:return kF(t);case 214:return JF(t);case 216:return UF(t);case 217:return qF(t);case 218:return WF(t);case 219:return VF(t);case 220:return Be(t,n);case 221:return r7(t,n);case 224:return s5(t,n);case 226:return en;case 223:return n7(t);case 231:return c5(t);case 287:return E5(t,n);case 277:return g5(t);case 278:return f5(t);case 281:return y5(t);case 285:return h5(t,n);case 279:e.Debug.fail("Shouldn't ever directly check a JsxOpeningElement")}return Qe}function zC(t){t.expression&&_c(t.expression,e.Diagnostics.Type_expected),lo(t.constraint),lo(t.default);var n=I_(Lr(t));Uc(n),oe(n)||Wt(t.default,e.Diagnostics.Type_parameter_0_has_a_circular_default,Dr(n));var i=cu(n),o=c(n);i&&o&&_u(o,su(ha(i,um(n,o)),o),t.default,e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1),pe&&Rg(t.name,e.Diagnostics.Type_parameter_name_cannot_be_0)}function UC(t){B_(t),Gh(t);var n=e.getContainingFunction(t);e.hasSyntacticModifier(t,16476)&&(n.kind===170&&e.nodeIsPresent(n.body)||Wt(t,e.Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation),n.kind===170&&e.isIdentifier(t.name)&&t.name.escapedText==="constructor"&&Wt(t.name,e.Diagnostics.constructor_cannot_be_used_as_a_parameter_property_name)),t.questionToken&&e.isBindingPattern(t.name)&&n.body&&Wt(t,e.Diagnostics.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature),t.name&&e.isIdentifier(t.name)&&(t.name.escapedText==="this"||t.name.escapedText==="new")&&(n.parameters.indexOf(t)!==0&&Wt(t,e.Diagnostics.A_0_parameter_must_be_the_first_parameter,t.name.escapedText),(n.kind===170||n.kind===174||n.kind===179)&&Wt(t,e.Diagnostics.A_constructor_cannot_have_a_this_parameter),n.kind===213&&Wt(t,e.Diagnostics.An_arrow_function_cannot_have_a_this_parameter),(n.kind===171||n.kind===172)&&Wt(t,e.Diagnostics.get_and_set_accessors_cannot_declare_this_parameters)),t.dotDotDotToken&&!e.isBindingPattern(t.name)&&!ho(Po(Jr(t.symbol)),Pi)&&Wt(t,e.Diagnostics.A_rest_parameter_must_be_of_an_array_type)}function g7(t){var n=y7(t);if(!n){Wt(t,e.Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return}var i=p_(n),o=nl(i);if(o){lo(t.type);var s=t.parameterName;if(o.kind===0||o.kind===2)z0(s);else if(o.parameterIndex>=0){if(W(i)&&o.parameterIndex===i.parameters.length-1)Wt(s,e.Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter);else if(o.type){var l=function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type)};_u(o.type,Jr(i.parameters[o.parameterIndex]),t.type,void 0,l)}}else if(s){for(var T=!1,U=0,_e=n.parameters;U<_e.length;U++){var Ae=_e[U].name;if(e.isBindingPattern(Ae)&&qC(Ae,s,o.parameterName)){T=!0;break}}T||Wt(t.parameterName,e.Diagnostics.Cannot_find_parameter_0,o.parameterName)}}}function y7(t){switch(t.parent.kind){case 213:case 173:case 255:case 212:case 178:case 168:case 167:var n=t.parent;if(t===n.type)return n}}function qC(t,n,i){for(var o=0,s=t.elements;o0&&n.declarations[0]!==t)return}var i=$S(Lr(t));if(i!=null&&i.declarations){for(var o=new e.Map,s=function(_e){_e.parameters.length===1&&_e.parameters[0].type&&Jf(Vi(_e.parameters[0].type),function(Ae){var Ye=o.get(pl(Ae));Ye?Ye.declarations.push(_e):o.set(pl(Ae),{type:Ae,declarations:[_e]})})},l=0,T=i.declarations;l1)for(var Ae=0,Ye=_e.declarations;Ae0}function hb(t){var n;if(t.flags&16777216){var i=_2(!1);return!!i&&t.aliasSymbol===i&&((n=t.aliasTypeArguments)===null||n===void 0?void 0:n.length)===1}return!1}function ky(t){return t.flags&1048576?Js(t,ky):hb(t)?t.aliasTypeArguments[0]:t}function z7(t){if(wr(t)||hb(t))return t;if(sm(t)){var n=Uc(t);if(!n||n.flags&3||L_(n)||$C(n)){var i=_2(!0);if(i)return fg(i,[ky(t)])}}return e.Debug.assert(Ey(t)===void 0,"type provided should not be a non-generic 'promise'-like."),t}function fm(t,n,i,o){var s=zd(t,n,i,o);return s&&z7(s)}function zd(t,n,i,o){if(wr(t)||hb(t))return t;var s=t;if(s.awaitedTypeOfType)return s.awaitedTypeOfType;if(t.flags&1048576){var l=n?function(_e){return zd(_e,n,i,o)}:zd;return s.awaitedTypeOfType=Js(t,l)}var T=Ey(t);if(T){if(t.id===T.id||ia.lastIndexOf(T.id)>=0){n&&Wt(n,e.Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method);return}ia.push(t.id);var U=zd(T,n,i,o);return ia.pop(),U?s.awaitedTypeOfType=U:void 0}if($C(t)){n&&(e.Debug.assertIsDefined(i),Wt(n,i,o));return}return s.awaitedTypeOfType=t}function U7(t,n){var i=Vi(n);if(Ce>=2){if($r(i))return;var o=uv(!0);if(o!==$i&&!u_(i,o)){Wt(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,Dr(zd(i)||li));return}}else{if(W7(n),$r(i))return;var s=e.getEntityNameFromTypeNode(n);if(s===void 0){Wt(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,Dr(i));return}var l=Ms(s,111551,!0),T=l?Jr(l):Qe;if($r(T)){s.kind===79&&s.escapedText==="Promise"&&w_(i)===uv(!1)?Wt(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):Wt(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 U=d4(!0);if(U===br){Wt(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(!_u(T,U,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 _e=s&&e.getFirstIdentifier(s),Ae=Wc(t.locals,_e.escapedText,111551);if(Ae){Wt(Ae.valueDeclaration,e.Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,e.idText(_e),e.entityNameToString(s));return}}Cy(i,!1,t,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}function q7(t){var n=Pg(t);Rh(n,t);var i=Io(n);if(!(i.flags&1)){var o,s;switch(t.parent.kind){case 256:o=e.Diagnostics.Decorator_function_return_type_0_is_not_assignable_to_type_1;var l=Lr(t.parent),T=Jr(l);s=Fi([T,li]);break;case 166:case 163:o=e.Diagnostics.Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any,s=li;break;case 168:case 171:case 172:o=e.Diagnostics.Decorator_function_return_type_0_is_not_assignable_to_type_1;var U=mf(t.parent),_e=SD(U);s=Fi([_e,li]);break;default:return e.Debug.fail()}_u(i,s,t,o)}}function W7(t){XC(t&&e.getEntityNameFromTypeNode(t))}function XC(t){if(t){var n=e.getFirstIdentifier(t),i=(t.kind===79?788968:1920)|2097152,o=gs(n,n.escapedText,i,void 0,void 0,!0);o&&o.flags&2097152&&G_(o)&&!Fy(Vs(o))&&!Tu(o)&&b_(o)}}function Og(t){var n=xb(t);n&&e.isEntityName(n)&&XC(n)}function xb(t){if(t)switch(t.kind){case 187:case 186:return ZC(t.types);case 188:return ZC([t.trueType,t.falseType]);case 190:case 196:return xb(t.type);case 177:return t.typeName}}function ZC(t){for(var n,i=0,o=t;i0),i.length>1&&Wt(i[1],e.Diagnostics.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag);var o=ek(t.class.expression),s=e.getClassExtendsHeritageElement(n);if(s){var l=ek(s.expression);l&&o.escapedText!==l.escapedText&&Wt(o,e.Diagnostics.JSDoc_0_1_does_not_match_the_extends_2_clause,e.idText(t.tagName),e.idText(o),e.idText(l))}}function tw(t){var n=e.getJSDocHost(t);n&&e.isPrivateIdentifierClassElementDeclaration(n)&&Wt(t,e.Diagnostics.An_accessibility_modifier_cannot_be_used_with_a_private_identifier)}function ek(t){switch(t.kind){case 79:return t;case 205:return t.name;default:return}}function tk(t){var n;Jv(t),Sy(t);var i=e.getFunctionFlags(t);if(t.name&&t.name.kind===161&&cd(t.name),bp(t)){var o=Lr(t),s=t.localSymbol||o,l=(n=s.declarations)===null||n===void 0?void 0:n.find(function(_e){return _e.kind===t.kind&&!(_e.flags&131072)});t===l&&Wh(s),o.parent&&Wh(o)}var T=t.kind===167?void 0:t.body;if(lo(T),cb(t,km(t)),pe&&!e.getEffectiveReturnTypeNode(t)&&(e.nodeIsMissing(T)&&!Uh(t)&&uf(t,Re),i&1&&e.nodeIsPresent(T)&&Io(p_(t))),e.isInJSFile(t)){var U=e.getJSDocTypeTag(t);U&&U.typeExpression&&!wx(Vi(U.typeExpression),t)&&Wt(U.typeExpression.type,e.Diagnostics.The_type_of_a_function_declaration_must_match_the_function_s_signature)}}function Ud(t){if(pe){var n=e.getSourceFileOfNode(t),i=aa.get(n.path);i||(i=[],aa.set(n.path,i)),i.push(t)}}function nk(t,n){for(var i=0,o=t;i=2||!e.hasRestParameter(t)||t.flags&8388608||e.nodeIsMissing(t.body)||e.forEach(t.parameters,function(n){n.name&&!e.isBindingPattern(n.name)&&n.name.escapedText===pn.escapedName&&Us("noEmit",n,e.Diagnostics.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)})}function Ny(t,n,i){if((n==null?void 0:n.escapedText)!==i||t.kind===166||t.kind===165||t.kind===168||t.kind===167||t.kind===171||t.kind===172||t.kind===294||t.flags&8388608||(e.isImportClause(t)||e.isImportEqualsDeclaration(t)||e.isImportSpecifier(t))&&e.isTypeOnlyImportOrExportDeclaration(t))return!1;var o=e.getRootDeclaration(t);return!(e.isParameter(o)&&e.nodeIsMissing(o.parent.body))}function sw(t){e.findAncestor(t,function(n){if(Hm(n)&4){var i=t.kind!==79;return i?Wt(e.getNameOfDeclaration(t),e.Diagnostics.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference):Wt(t,e.Diagnostics.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference),!0}return!1})}function cw(t){e.findAncestor(t,function(n){if(Hm(n)&8){var i=t.kind!==79;return i?Wt(e.getNameOfDeclaration(t),e.Diagnostics.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference):Wt(t,e.Diagnostics.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference),!0}return!1})}function uw(t,n){if(!(ge>=e.ModuleKind.ES2015&&!(ge>=e.ModuleKind.Node12&&e.getSourceFileOfNode(t).impliedNodeFormat===e.ModuleKind.CommonJS))&&!(!n||!Ny(t,n,"require")&&!Ny(t,n,"exports"))&&!(e.isModuleDeclaration(t)&&e.getModuleInstanceState(t)!==1)){var i=x(t);i.kind===303&&e.isExternalOrCommonJsModule(i)&&Us("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 lw(t,n){if(!(!n||Ce>=4||!Ny(t,n,"Promise"))&&!(e.isModuleDeclaration(t)&&e.getModuleInstanceState(t)!==1)){var i=x(t);i.kind===303&&e.isExternalOrCommonJsModule(i)&&i.flags&2048&&Us("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 _w(t,n){Ce<=8&&(Ny(t,n,"WeakMap")||Ny(t,n,"WeakSet"))&&Ur.push(t)}function dw(t){var n=e.getEnclosingBlockScopeContainer(t);Hm(n)&67108864&&(e.Debug.assert(e.isNamedDeclaration(t)&&e.isIdentifier(t.name)&&typeof t.name.escapedText=="string","The target of a WeakMap/WeakSet collision check should be an identifier"),Us("noEmit",t,e.Diagnostics.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel,t.name.escapedText))}function pw(t,n){n&&Ce>=2&&Ce<=8&&Ny(t,n,"Reflect")&&ui.push(t)}function fw(t){var n=!1;if(e.isClassExpression(t))for(var i=0,o=t.members;i1&&e.some(ht.declarations,function(Kn){return Kn!==t&&e.isVariableLike(Kn)&&!ck(Kn,t)})&&Wt(t.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(t.name))}else{var Ln=Py(bc(t));!$r(Qt)&&!$r(Ln)&&!ad(Qt,Ln)&&!(ht.flags&67108864)&&sk(ht.valueDeclaration,Qt,t,Ln),t.initializer&&Fp(Ys(t.initializer),Ln,t,t.initializer,void 0),ht.valueDeclaration&&!ck(t,ht.valueDeclaration)&&Wt(t.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(t.name))}t.kind!==166&&t.kind!==165&&(Dy(t),(t.kind===253||t.kind===202)&&mw(t),Mg(t,t.name))}}function sk(t,n,i,o){var s=e.getNameOfDeclaration(i),l=i.kind===166||i.kind===165?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,T=e.declarationNameToString(s),U=Wt(s,l,T,Dr(n),Dr(o));t&&e.addRelatedInfo(U,e.createDiagnosticForNode(t,e.Diagnostics._0_was_also_declared_here,T))}function ck(t,n){if(t.kind===163&&n.kind===253||t.kind===253&&n.kind===163)return!0;if(e.hasQuestionToken(t)!==e.hasQuestionToken(n))return!1;var i=504;return e.getSelectedEffectiveModifierFlags(t,i)===e.getSelectedEffectiveModifierFlags(n,i)}function Db(t){e.tracing===null||e.tracing===void 0||e.tracing.push("check","checkVariableDeclaration",{kind:t.kind,pos:t.pos,end:t.end,path:t.tracingPath}),G9(t),Gh(t),e.tracing===null||e.tracing===void 0||e.tracing.pop()}function gw(t){return W9(t),Gh(t)}function yw(t){!B_(t)&&!Wb(t.declarationList)&&Q9(t),e.forEach(t.declarationList.declarations,lo)}function vw(t){J_(t),Ta(t.expression)}function hw(t){J_(t);var n=Lg(t.expression);Tb(t.expression,n,t.thenStatement),lo(t.thenStatement),t.thenStatement.kind===235&&Wt(t.thenStatement,e.Diagnostics.The_body_of_an_if_statement_cannot_be_the_empty_statement),lo(t.elseStatement)}function Tb(t,n,i){if(!!vt&&!il(n)){var o=e.isBinaryExpression(t)?t.right:t;if(!(e.isPropertyAccessExpression(o)&&MC(o.expression))){var s=e.isIdentifier(o)?o:e.isPropertyAccessExpression(o)?o.name:e.isBinaryExpression(o)&&e.isIdentifier(o.right)?o.right:void 0,l=Ja(n,0),T=!!Ty(n);if(!(l.length===0&&!T)){var U=s&&ml(s);if(!(!U&&!T)){var _e=U&&e.isBinaryExpression(t.parent)&&bw(t.parent,U)||U&&i&&xw(t,i,s,U);_e||(T?bu(o,!0,e.Diagnostics.This_condition_will_always_return_true_since_this_0_is_always_defined,pp(n)):Wt(o,e.Diagnostics.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead))}}}}}function xw(t,n,i,o){return!!e.forEachChild(n,function s(l){if(e.isIdentifier(l)){var T=ml(l);if(T&&T===o){if(e.isIdentifier(t))return!0;for(var U=i.parent,_e=l.parent;U&&_e;){if(e.isIdentifier(U)&&e.isIdentifier(_e)||U.kind===108&&_e.kind===108)return ml(U)===ml(_e);if(e.isPropertyAccessExpression(U)&&e.isPropertyAccessExpression(_e)){if(ml(U.name)!==ml(_e.name))return!1;_e=_e.expression,U=U.expression}else if(e.isCallExpression(U)&&e.isCallExpression(_e))_e=_e.expression,U=U.expression;else return!1}}}return e.forEachChild(l,s)})}function bw(t,n){for(;e.isBinaryExpression(t)&&t.operatorToken.kind===55;){var i=e.forEachChild(t.right,function o(s){if(e.isIdentifier(s)){var l=ml(s);if(l&&l===n)return!0}return e.forEachChild(s,o)});if(i)return!0;t=t.parent}return!1}function Sw(t){J_(t),lo(t.statement),Lg(t.expression)}function Dw(t){J_(t),Lg(t.expression),lo(t.statement)}function uk(t,n){return t.flags&16384&&Wt(n,e.Diagnostics.An_expression_of_type_void_cannot_be_tested_for_truthiness),t}function Lg(t,n){return uk(Ta(t,n),t)}function Tw(t){J_(t)||t.initializer&&t.initializer.kind===254&&Wb(t.initializer),t.initializer&&(t.initializer.kind===254?e.forEach(t.initializer.declarations,Db):Ta(t.initializer)),t.condition&&Lg(t.condition),t.incrementor&&Ta(t.incrementor),lo(t.statement),t.locals&&Ud(t)}function Ew(t){t6(t);var n=e.getContainingFunctionOrClassStaticBlock(t);if(t.awaitModifier)if(n&&e.isClassStaticBlockDeclaration(n))vr(t.awaitModifier,e.Diagnostics.For_await_loops_cannot_be_used_inside_a_class_static_block);else{var i=e.getFunctionFlags(n);(i&6)===2&&Ce<99&&kc(t,16384)}else Oe.downlevelIteration&&Ce<2&&kc(t,256);if(t.initializer.kind===254)lk(t);else{var o=t.initializer,s=qv(t);if(o.kind===203||o.kind===204)qf(o,s||Qe);else{var l=Ta(o);by(o,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&&Fp(s,l,o,t.expression)}}lo(t.statement),t.locals&&Ud(t)}function Cw(t){t6(t);var n=Ux(Ta(t.expression));if(t.initializer.kind===254){var i=t.initializer.declarations[0];i&&e.isBindingPattern(i.name)&&Wt(i.name,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern),lk(t)}else{var o=t.initializer,s=Ta(o);o.kind===203||o.kind===204?Wt(o,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern):ho(Y4(n),s)?by(o,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):Wt(o,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any)}(n===lr||!Ws(n,126091264))&&Wt(t.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,Dr(n)),lo(t.statement),t.locals&&Ud(t)}function lk(t){var n=t.initializer;if(n.declarations.length>=1){var i=n.declarations[0];Db(i)}}function qv(t){var n=t.awaitModifier?15:13;return qd(n,kg(t.expression),kt,t.expression)}function qd(t,n,i,o){return wr(n)?n:Eb(t,n,i,o,!0)||Re}function Eb(t,n,i,o,s){var l=(t&2)!==0;if(n===lr){Pb(o,n,l);return}var T=Ce>=2,U=!T&&Oe.downlevelIteration,_e=Oe.noUncheckedIndexedAccess&&!!(t&128);if(T||U||l){var Ae=Wv(n,t,T?o:void 0);if(s&&Ae){var Ye=t&8?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:t&32?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:t&64?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:t&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;Ye&&_u(i,Ae.nextType,o,Ye)}if(Ae||T)return _e?py(Ae&&Ae.yieldType):Ae&&Ae.yieldType}var Xe=n,ct=!1,ht=!1;if(t&4){if(Xe.flags&1048576){var Qt=n.types,sn=e.filter(Qt,function(Li){return!(Li.flags&402653316)});sn!==Qt&&(Xe=Fi(sn,2))}else Xe.flags&402653316&&(Xe=lr);if(ht=Xe!==n,ht&&(Ce<1&&o&&(Wt(o,e.Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher),ct=!0),Xe.flags&131072))return _e?py(An):An}if(!wp(Xe)){if(o&&!ct){var On=!!(t&4)&&!ht,Ln=dr(On,U),Kn=Ln[0],$n=Ln[1];bu(o,$n&&!!Ty(Xe),Kn,Dr(Xe))}return ht?_e?py(An):An:void 0}var ri=d_(Xe,Tn);if(ht&&ri)return ri.flags&402653316&&!Oe.noUncheckedIndexedAccess?An:Fi(_e?[ri,An,kt]:[ri,An],2);return t&128?py(ri):ri;function dr(Li,vi){var Ea;if(vi)return Li?[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 Ui=_k(t,0,n,void 0);return Ui?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators,!1]:kw((Ea=n.symbol)===null||Ea===void 0?void 0:Ea.escapedName)?[e.Diagnostics.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,!0]:Li?[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 kw(t){switch(t){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 _k(t,n,i,o){if(!wr(i)){var s=Wv(i,t,o);return s&&s[B(n)]}}function ud(t,n,i){if(t===void 0&&(t=lr),n===void 0&&(n=lr),i===void 0&&(i=$e),t.flags&67359327&&n.flags&180227&&i.flags&180227){var o=zu([t,n,i]),s=qo.get(o);return s||(s={yieldType:t,returnType:n,nextType:i},qo.set(o,s)),s}return{yieldType:t,returnType:n,nextType:i}}function dk(t){for(var n,i,o,s=0,l=t;s1)for(var ct=0,ht=o;ct=1&&t.escapedText==="Object"&&(gei)return!1;for(var Ae=0;Ae<_e;Ae++){var Ye=U[Ae],Xe=n[Ae];if(Ye.name.escapedText!==Xe.symbol.escapedName)return!1;var ct=e.getEffectiveConstraintOfTypeParameter(Ye),ht=ct&&Vi(ct),Qt=cu(Xe);if(ht&&Qt&&!ad(ht,Qt))return!1;var sn=Ye.default&&Vi(Ye.default),On=c(Xe);if(sn&&On&&!ad(sn,On))return!1}}return!0}function Ww(t){return Tk(t),Ay(t),Jr(Lr(t))}function Vw(t){e.forEach(t.members,lo),Ud(t)}function Hw(t){e.some(t.decorators)&&e.some(t.members,function(n){return e.hasStaticModifier(n)&&e.isPrivateIdentifierClassElementDeclaration(n)})&&vr(t.decorators[0],e.Diagnostics.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator),!t.name&&!e.hasSyntacticModifier(t,512)&&_c(t,e.Diagnostics.A_class_declaration_without_the_default_modifier_must_have_a_name),Tk(t),e.forEach(t.members,lo),Ud(t)}function Tk(t){N9(t),Jv(t),Mg(t,t.name),Vv(e.getEffectiveTypeParameterDeclarations(t)),Dy(t);var n=Lr(t),i=Wo(n),o=su(i),s=Jr(n);Dk(n),Wh(n),v7(t);var l=!!(t.flags&8388608);l||h7(t);var T=e.getEffectiveBaseTypeNode(t);if(T){e.forEach(T.typeArguments,lo),Ce<2&&kc(T.parent,1);var U=e.getClassExtendsHeritageElement(t);U&&U!==T&&Ta(U.expression);var _e=ou(i);if(_e.length&&pe){var Ae=_e[0],Ye=Ku(i),Xe=kr(Ye);if(Qw(Xe,T),lo(T.expression),e.some(T.typeArguments)){e.forEach(T.typeArguments,lo);for(var ct=0,ht=Vg(Xe,T.typeArguments,T);ct=o&&U.pos<=s){var _e=e.factory.createPropertyAccessExpression(e.factory.createThis(),t);e.setParent(_e.expression,_e),e.setParent(_e,U),_e.flowNode=U.returnFlowNode;var Ae=Op(_e,n,sd(n));if(!(il(Ae)&32768))return!0}}return!1}function Pk(t,n,i){var o=e.factory.createPropertyAccessExpression(e.factory.createThis(),t);e.setParent(o.expression,o),e.setParent(o,i),o.flowNode=i.returnFlowNode;var s=Op(o,n,sd(n));return!(il(s)&32768)}function rI(t){if(B_(t)||L9(t),Vv(t.typeParameters),pe){Rg(t.name,e.Diagnostics.Interface_name_cannot_be_0),Dy(t);var n=Lr(t);Dk(n);var i=e.getDeclarationOfKind(n,257);if(t===i){var o=Wo(n),s=su(o);if(eI(o,t.name)){for(var l=0,T=ou(o);l>Xe;case 49:return Ye>>>Xe;case 47:return Ye<1){var o=e.isEnumConst(t);e.forEach(n.declarations,function(l){e.isEnumDeclaration(l)&&e.isEnumConst(l)!==o&&Wt(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!==259)return!1;var T=l;if(!T.members.length)return!1;var U=T.members[0];U.initializer||(s?Wt(U.name,e.Diagnostics.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element):s=!0)})}}}function cI(t){e.isPrivateIdentifier(t.name)&&Wt(t,e.Diagnostics.An_enum_member_cannot_be_named_with_a_private_identifier)}function uI(t){var n=t.declarations;if(n)for(var i=0,o=n;i1&&C(t,e.shouldPreserveConstEnums(Oe))){var T=uI(l);T&&(e.getSourceFileOfNode(t)!==e.getSourceFileOfNode(T)?Wt(t.name,e.Diagnostics.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged):t.pos=e.ModuleKind.ES2015&&e.getSourceFileOfNode(t).impliedNodeFormat===void 0&&!t.isTypeOnly&&!(t.flags&8388608)&&vr(t,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 mI(t){if(!Hv(t,e.isInJSFile(t)?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(!B_(t)&&e.hasEffectiveModifiers(t)&&_c(t,e.Diagnostics.An_export_declaration_cannot_have_modifiers),t.moduleSpecifier&&t.exportClause&&e.isNamedExports(t.exportClause)&&e.length(t.exportClause.elements)&&Ce===0&&kc(t,4194304),gI(t),!t.moduleSpecifier||Ib(t))if(t.exportClause&&!e.isNamespaceExport(t.exportClause)){e.forEach(t.exportClause.elements,SI);var n=t.parent.kind===261&&e.isAmbientModule(t.parent.parent),i=!n&&t.parent.kind===261&&!t.moduleSpecifier&&t.flags&8388608;t.parent.kind!==303&&!n&&!i&&Wt(t,e.Diagnostics.Export_declarations_are_not_permitted_in_a_namespace)}else{var o=Jo(t,t.moduleSpecifier);o&&V_(o)?Wt(t.moduleSpecifier,e.Diagnostics.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,Zi(o)):t.exportClause&&Xh(t.exportClause),ge!==e.ModuleKind.System&&(ge=e.ModuleKind.ES2015&&e.getSourceFileOfNode(t).impliedNodeFormat!==e.ModuleKind.CommonJS?vr(t,e.Diagnostics.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead):ge===e.ModuleKind.System&&vr(t,e.Diagnostics.Export_assignment_is_not_supported_when_module_flag_is_system))}}function TI(t){return e.forEachEntry(t.exports,function(n,i){return i!=="export="})}function Ok(t){var n=Lr(t),i=Ji(n);if(!i.exportsChecked){var o=n.exports.get("export=");if(o&&TI(n)){var s=wu(o)||o.valueDeclaration;s&&!mp(s)&&!e.isInJSFile(s)&&Wt(s,e.Diagnostics.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements)}var l=xl(n);l&&l.forEach(function(T,U){var _e=T.declarations,Ae=T.flags;if(U!=="__export"&&!(Ae&1984)){var Ye=e.countWhere(_e,Q);if(!(Ae&524288&&Ye<=2)&&Ye>1&&!e1(_e))for(var Xe=0,ct=_e;Xe1&&t.every(function(n){return e.isInJSFile(n)&&e.isAccessExpression(n)&&(e.isExportsIdentifier(n.expression)||e.isModuleExportsAccessExpression(n.expression))})}function lo(t){if(t){var n=ke;ke=t,Me=0,EI(t),ke=n}}function EI(t){e.isInJSFile(t)&&e.forEach(t.jsDoc,function(i){var o=i.tags;return e.forEach(o,lo)});var n=t.kind;if(w)switch(n){case 260:case 256:case 257:case 255:w.throwIfCancellationRequested()}switch(n>=236&&n<=252&&t.flowNode&&!Sv(t.flowNode)&&fu(Oe.allowUnreachableCode===!1,t,e.Diagnostics.Unreachable_code_detected),n){case 162:return zC(t);case 163:return UC(t);case 166:return VC(t);case 165:return x7(t);case 179:case 178:case 173:case 174:case 175:return Sy(t);case 168:case 167:return b7(t);case 169:return S7(t);case 170:return D7(t);case 171:case 172:return GC(t);case 177:return vb(t);case 176:return g7(t);case 180:return k7(t);case 181:return N7(t);case 182:return P7(t);case 183:return A7(t);case 186:case 187:return F7(t);case 190:case 184:case 185:return lo(t.type);case 191:return M7(t);case 192:return L7(t);case 188:return R7(t);case 189:return j7(t);case 197:return B7(t);case 199:return J7(t);case 196:return K7(t);case 326:return ew(t);case 327:return Z7(t);case 343:case 336:case 337:return H7(t);case 342:return G7(t);case 341:return Q7(t);case 338:return Y7(t);case 345:return $7(t);case 315:X7(t);case 313:case 312:case 310:case 311:case 320:Mk(t),e.forEachChild(t,lo);return;case 316:CI(t);return;case 307:return lo(t.type);case 331:case 333:case 332:return tw(t);case 193:return w7(t);case 194:return I7(t);case 255:return V7(t);case 234:case 261:return Hh(t);case 236:return yw(t);case 237:return vw(t);case 238:return hw(t);case 239:return Sw(t);case 240:return Dw(t);case 241:return Tw(t);case 242:return Cw(t);case 243:return Ew(t);case 244:case 245:return Iw(t);case 246:return Ow(t);case 247:return Mw(t);case 248:return Lw(t);case 249:return Rw(t);case 250:return jw(t);case 251:return Bw(t);case 253:return Db(t);case 202:return gw(t);case 256:return Hw(t);case 257:return rI(t);case 258:return iI(t);case 259:return sI(t);case 260:return _I(t);case 265:return pI(t);case 264:return fI(t);case 271:return mI(t);case 270:return DI(t);case 235:case 252:J_(t);return;case 275:return E7(t)}}function Mk(t){e.isInJSFile(t)||vr(t,e.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments)}function CI(t){Mk(t),lo(t.type);var n=t.parent;if(e.isParameter(n)&&e.isJSDocFunctionType(n.parent)){e.last(n.parent.parameters)!==n&&Wt(t,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list);return}e.isJSDocTypeExpression(n)||Wt(t,e.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);var i=t.parent.parent;if(!e.isJSDocParameterTag(i)){Wt(t,e.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);return}var o=e.getParameterSymbolFromJSDoc(i);if(o){var s=e.getHostSignatureFromJSDoc(i);(!s||e.last(s.parameters).symbol!==o)&&Wt(t,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list)}}function kI(t){var n=Vi(t.type),i=t.parent,o=t.parent.parent;if(e.isJSDocTypeExpression(t.parent)&&e.isJSDocParameterTag(o)){var s=e.getHostSignatureFromJSDoc(o),l=e.isJSDocCallbackTag(o.parent.parent);if(s||l){var T=l?e.lastOrUndefined(o.parent.parent.typeExpression.parameters):e.lastOrUndefined(s.parameters),U=e.getParameterSymbolFromJSDoc(o);if(!T||U&&T.symbol===U&&e.isRestParameter(T))return gc(n)}}return e.isParameter(i)&&e.isJSDocFunctionType(i.parent)?gc(n):Jc(n)}function Ay(t){var n=e.getSourceFileOfNode(t),i=Ni(n);i.flags&1||(i.deferredNodes||(i.deferredNodes=new e.Set),i.deferredNodes.add(t))}function NI(t){var n=Ni(t);n.deferredNodes&&n.deferredNodes.forEach(PI)}function PI(t){e.tracing===null||e.tracing===void 0||e.tracing.push("check","checkDeferredNode",{kind:t.kind,pos:t.pos,end:t.end,path:t.tracingPath});var n=ke;switch(ke=t,Me=0,t.kind){case 207:case 208:case 209:case 164:case 279:zm(t);break;case 212:case 213:case 168:case 167:jF(t);break;case 171:case 172:GC(t);break;case 225:Vw(t);break;case 278:p5(t);break;case 277:m5(t);break}ke=n,e.tracing===null||e.tracing===void 0||e.tracing.pop()}function Ob(t){e.tracing===null||e.tracing===void 0||e.tracing.push("check","checkSourceFile",{path:t.path},!0),e.performance.mark("beforeCheck"),AI(t),e.performance.mark("afterCheck"),e.performance.measure("Check","beforeCheck","afterCheck"),e.tracing===null||e.tracing===void 0||e.tracing.pop()}function Lk(t,n){if(n)return!1;switch(t){case 0:return!!Oe.noUnusedLocals;case 1:return!!Oe.noUnusedParameters;default:return e.Debug.assertNever(t)}}function Rk(t){return aa.get(t.path)||e.emptyArray}function AI(t){var n=Ni(t);if(!(n.flags&1)){if(e.skipTypeChecking(t,Oe,M))return;rO(t),e.clear(hr),e.clear(Tr),e.clear(Ur),e.clear(ui),e.forEach(t.statements,lo),lo(t.endOfFileToken),NI(t),e.isExternalOrCommonJsModule(t)&&Ud(t),!t.isDeclarationFile&&(Oe.noUnusedLocals||Oe.noUnusedParameters)&&nk(Rk(t),function(i,o,s){!e.containsParseError(i)&&Lk(o,!!(i.flags&8388608))&&Ti.add(s)}),Oe.importsNotUsedAsValues===2&&!t.isDeclarationFile&&e.isExternalModule(t)&&bI(t),e.isExternalOrCommonJsModule(t)&&Ok(t),hr.length&&(e.forEach(hr,sw),e.clear(hr)),Tr.length&&(e.forEach(Tr,cw),e.clear(Tr)),Ur.length&&(e.forEach(Ur,dw),e.clear(Ur)),ui.length&&(e.forEach(ui,fw),e.clear(ui)),n.flags|=1}}function jk(t,n){try{return w=n,FI(t)}finally{w=void 0}}function FI(t){if(Bk(),t){var n=Ti.getGlobalDiagnostics(),i=n.length;Ob(t);var o=Ti.getDiagnostics(t.fileName),s=Ti.getGlobalDiagnostics();if(s!==n){var l=e.relativeComplement(n,s,e.compareDiagnostics);return e.concatenate(l,o)}else if(i===0&&s.length>0)return e.concatenate(s,o);return o}return e.forEach(M.getSourceFiles(),Ob),Ti.getDiagnostics()}function wI(){return Bk(),Ti.getGlobalDiagnostics()}function Bk(){if(!pe)throw new Error("Trying to get diagnostics from a type checker that does not produce them.")}function II(t,n){if(t.flags&16777216)return[];var i=e.createSymbolTable(),o=!1;return s(),i.delete("this"),ug(i);function s(){for(;t;){switch(t.locals&&!cl(t)&&T(t.locals,n),t.kind){case 303:if(!e.isExternalModule(t))break;case 260:U(Lr(t).exports,n&2623475);break;case 259:T(Lr(t).exports,n&8);break;case 225:var _e=t.name;_e&&l(t.symbol,n);case 256:case 257:o||T(__(Lr(t)),n&788968);break;case 212:var Ae=t.name;Ae&&l(t.symbol,n);break}e.introducesArgumentsExoticObject(t)&&l(pn,n),o=e.isStatic(t),t=t.parent}T(Lt,n)}function l(_e,Ae){if(e.getCombinedLocalAndExportSymbolFlags(_e)&Ae){var Ye=_e.escapedName;i.has(Ye)||i.set(Ye,_e)}}function T(_e,Ae){Ae&&_e.forEach(function(Ye){l(Ye,Ae)})}function U(_e,Ae){Ae&&_e.forEach(function(Ye){!e.getDeclarationOfKind(Ye,274)&&!e.getDeclarationOfKind(Ye,273)&&l(Ye,Ae)})}}function OI(t){return t.kind===79&&Gv(t.parent)&&e.getNameOfDeclaration(t.parent)===t}function Gv(t){switch(t.kind){case 162:case 256:case 257:case 258:case 259:case 343:case 336:case 337:return!0;case 266:return t.isTypeOnly;case 269:case 274:return t.parent.parent.isTypeOnly;default:return!1}}function Jk(t){for(;t.parent.kind===160;)t=t.parent;return t.parent.kind===177}function MI(t){for(;t.parent.kind===205;)t=t.parent;return t.parent.kind===227}function Kk(t,n){for(var i;t=e.getContainingClass(t),!(!t||(i=n(t))););return i}function LI(t){return!!e.findAncestor(t,function(n){return e.isConstructorDeclaration(n)&&e.nodeIsPresent(n.body)||e.isPropertyDeclaration(n)?!0:e.isClassLike(n)||e.isFunctionLikeDeclaration(n)?"quit":!1})}function Mb(t,n){return!!Kk(t,function(i){return i===n})}function RI(t){for(;t.parent.kind===160;)t=t.parent;if(t.parent.kind===264)return t.parent.moduleReference===t?t.parent:void 0;if(t.parent.kind===270)return t.parent.expression===t?t.parent:void 0}function t1(t){return RI(t)!==void 0}function jI(t){var n=e.getAssignmentDeclarationKind(t.parent.parent);switch(n){case 1:case 3:return Lr(t.parent);case 4:case 2:case 5:return Lr(t.parent.parent)}}function BI(t){for(var n=t.parent;e.isQualifiedName(n);)t=n,n=n.parent;if(n&&n.kind===199&&n.qualifier===t)return n}function zk(t){if(e.isDeclarationName(t))return Lr(t.parent);if(e.isInJSFile(t)&&t.parent.kind===205&&t.parent===t.parent.parent.left&&!e.isPrivateIdentifier(t)&&!e.isJSDocMemberName(t)){var n=jI(t);if(n)return n}if(t.parent.kind===270&&e.isEntityNameExpression(t)){var i=Ms(t,2998271,!0);if(i&&i!==ee)return i}else if(e.isEntityName(t)&&t1(t)){var o=e.getAncestor(t,264);return e.Debug.assert(o!==void 0),Qr(t,!0)}if(e.isEntityName(t)){var s=BI(t);if(s){Vi(s);var l=Ni(t).resolvedSymbol;return l===ee?void 0:l}}for(;e.isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName(t);)t=t.parent;if(MI(t)){var T=0;t.parent.kind===227?(T=788968,e.isExpressionWithTypeArgumentsInClassExtendsClause(t.parent)&&(T|=111551)):T=1920,T|=2097152;var U=e.isEntityNameExpression(t)?Ms(t,T):void 0;if(U)return U}if(t.parent.kind===338)return e.getParameterSymbolFromJSDoc(t.parent);if(t.parent.kind===162&&t.parent.parent.kind===342){e.Debug.assert(!e.isInJSFile(t));var _e=e.getTypeParameterFromJsDoc(t.parent);return _e&&_e.symbol}if(e.isExpressionNode(t)){if(e.nodeIsMissing(t))return;var Ae=e.findAncestor(t,e.or(e.isJSDocLinkLike,e.isJSDocNameReference,e.isJSDocMemberName)),T=Ae?901119:111551;if(t.kind===79){if(e.isJSXTagName(t)&&Cg(t)){var Ye=Rx(t.parent);return Ye===ee?void 0:Ye}var Xe=Ms(t,T,!1,!Ae,e.getHostSignatureFromJSDoc(t));if(!Xe&&Ae){var ct=e.findAncestor(t,e.or(e.isClassLike,e.isInterfaceDeclaration));if(ct)return n1(t,Lr(ct))}return Xe}else{if(e.isPrivateIdentifier(t))return Nh(t);if(t.kind===205||t.kind===160){var ht=Ni(t);return ht.resolvedSymbol?ht.resolvedSymbol:(t.kind===205?ME(t,0):LE(t,0),!ht.resolvedSymbol&&Ae&&e.isQualifiedName(t)?n1(t):ht.resolvedSymbol)}else if(e.isJSDocMemberName(t))return n1(t)}}else if(Jk(t)){var T=t.parent.kind===177?788968:1920,Ye=Ms(t,T,!1,!0);return Ye&&Ye!==ee?Ye:O0(t)}if(t.parent.kind===176)return Ms(t,1)}function n1(t,n){if(e.isEntityName(t)){var i=901119,o=Ms(t,i,!1,!0,e.getHostSignatureFromJSDoc(t));if(!o&&e.isIdentifier(t)&&n&&(o=Ya(Wc(Ls(n),t.escapedText,i))),o)return o}var s=e.isIdentifier(t)?n:n1(t.left),l=e.isIdentifier(t)?t.escapedText:t.right.escapedText;if(s){var T=s.flags&111551&&ka(Jr(s),"prototype"),U=T?Jr(T):Wo(s);return ka(U,l)}}function ml(t,n){if(t.kind===303)return e.isExternalModule(t)?Ya(t.symbol):void 0;var i=t.parent,o=i.parent;if(!(t.flags&16777216)){if(E(t)){var s=Lr(i);return e.isImportOrExportSpecifier(t.parent)&&t.parent.propertyName===t?Mx(s):s}else if(e.isLiteralComputedPropertyDeclarationName(t))return Lr(i.parent);if(t.kind===79){if(t1(t))return zk(t);if(i.kind===202&&o.kind===200&&t===i.propertyName){var l=mf(o),T=ka(l,t.escapedText);if(T)return T}else if(e.isMetaProperty(i)){var U=mf(i),T=ka(U,t.escapedText);if(T)return T;if(i.keywordToken===103)return ib(i).symbol}}switch(t.kind){case 79:case 80:case 205:case 160:if(!e.isThisInTypeQuery(t))return zk(t);case 108:var _e=e.getThisContainer(t,!1);if(e.isFunctionLike(_e)){var Ae=p_(_e);if(Ae.thisParameter)return Ae.thisParameter}if(e.isInExpressionContext(t))return Ta(t).symbol;case 191:return z0(t).symbol;case 106:return Ta(t).symbol;case 134:var Ye=t.parent;return Ye&&Ye.kind===170?Ye.parent.symbol:void 0;case 10:case 14:if(e.isExternalModuleImportEqualsDeclaration(t.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(t.parent.parent)===t||(t.parent.kind===265||t.parent.kind===271)&&t.parent.moduleSpecifier===t||e.isInJSFile(t)&&e.isRequireCall(t.parent,!1)||e.isImportCall(t.parent)||e.isLiteralTypeNode(t.parent)&&e.isLiteralImportTypeNode(t.parent.parent)&&t.parent.parent.argument===t.parent)return Jo(t,t,n);if(e.isCallExpression(i)&&e.isBindableObjectDefinePropertyCall(i)&&i.arguments[1]===t)return Lr(i);case 8:var Xe=e.isElementAccessExpression(i)?i.argumentExpression===t?yc(i.expression):void 0:e.isLiteralTypeNode(i)&&e.isIndexedAccessTypeNode(o)?Vi(o.objectType):void 0;return Xe&&ka(Xe,e.escapeLeadingUnderscores(t.text));case 88:case 98:case 38:case 84:return Lr(t.parent);case 199:return e.isLiteralImportTypeNode(t)?ml(t.argument.literal,n):void 0;case 93:return e.isExportAssignment(t.parent)?e.Debug.checkDefined(t.parent.symbol):void 0;case 100:case 103:return e.isMetaProperty(t.parent)?vC(t.parent).symbol:void 0;case 230:return Ta(t).symbol;default:return}}}function JI(t){if(e.isIdentifier(t)&&e.isPropertyAccessExpression(t.parent)&&t.parent.name===t){var n=Cp(t),i=yc(t.parent.expression),o=i.flags&1048576?i.types:[i];return e.flatMap(o,function(s){return e.filter(uc(s),function(l){return Rd(n,l.keyType)})})}}function KI(t){if(t&&t.kind===295)return Ms(t.name,2208703)}function zI(t){return e.isExportSpecifier(t)?t.parent.parent.moduleSpecifier?Yu(t.parent.parent,t):Ms(t.propertyName||t.name,2998271):Ms(t,2998271)}function mf(t){if(e.isSourceFile(t)&&!e.isExternalModule(t)||t.flags&16777216)return Qe;var n=e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments(t),i=n&&Ba(Lr(n.class));if(e.isPartOfTypeNode(t)){var o=Vi(t);return i?su(o,i.thisType):o}if(e.isExpressionNode(t))return Uk(t);if(i&&!n.isImplements){var s=e.firstOrUndefined(ou(i));return s?su(s,i.thisType):Qe}if(Gv(t)){var l=Lr(t);return Wo(l)}if(OI(t)){var l=ml(t);return l?Wo(l):Qe}if(e.isDeclaration(t)){var l=Lr(t);return Jr(l)}if(E(t)){var l=ml(t);return l?Jr(l):Qe}if(e.isBindingPattern(t))return Vl(t.parent,!0,0)||Qe;if(t1(t)){var l=ml(t);if(l){var T=Wo(l);return $r(T)?Jr(l):T}}return e.isMetaProperty(t.parent)&&t.parent.keywordToken===t.kind?vC(t.parent):Qe}function r1(t){if(e.Debug.assert(t.kind===204||t.kind===203),t.parent.kind===243){var n=qv(t.parent);return qf(t,n||Qe)}if(t.parent.kind===220){var n=yc(t.parent.right);return qf(t,n||Qe)}if(t.parent.kind===294){var i=e.cast(t.parent.parent,e.isObjectLiteralExpression),o=r1(i)||Qe,s=e.indexOfNode(i.properties,t.parent);return FC(i,o,s)}var l=e.cast(t.parent,e.isArrayLiteralExpression),T=r1(l)||Qe,U=qd(65,T,kt,t.parent)||Qe;return wC(l,T,l.elements.indexOf(t),U)}function UI(t){var n=r1(e.cast(t.parent.parent,e.isAssignmentPattern));return n&&ka(n,t.escapedText)}function Uk(t){return e.isRightSideOfQualifiedNameOrPropertyAccess(t)&&(t=t.parent),uu(yc(t))}function qI(t){var n=Lr(t.parent);return e.isStatic(t)?Jr(n):Wo(n)}function WI(t){var n=t.name;switch(n.kind){case 79:return rl(e.idText(n));case 8:case 10:return rl(n.text);case 161:var i=cd(n);return Ws(i,12288)?i:An;default:return e.Debug.fail("Unsupported property name.")}}function Lb(t){t=kr(t);var n=e.createSymbolTable(To(t)),i=Ja(t,0).length?qe:Ja(t,1).length?D:void 0;return i&&e.forEach(To(i),function(o){n.has(o.escapedName)||n.set(o.escapedName,o)}),C_(n)}function Rb(t){return e.typeHasCallOrConstructSignatures(t,Gt)}function qk(t){var n=VI(t);return n?e.flatMap(n,qk):[t]}function VI(t){if(e.getCheckFlags(t)&6)return e.mapDefined(Ji(t).containingType.types,function(l){return ka(l,t.escapedName)});if(t.flags&33554432){var n=t,i=n.leftSpread,o=n.rightSpread,s=n.syntheticOrigin;return i?[i,o]:s?[s]:e.singleElementArray(HI(t))}}function HI(t){for(var n,i=t;i=Ji(i).target;)n=i;return n}function GI(t){if(e.isGeneratedIdentifier(t))return!1;var n=e.getParseTreeNode(t,e.isIdentifier);if(!n)return!1;var i=n.parent;if(!i)return!1;var o=(e.isPropertyAccessExpression(i)||e.isPropertyAssignment(i))&&i.name===n;return!o&&wy(n)===pn}function QI(t){var n=Jo(t.parent,t);if(!n||e.isShorthandAmbientModuleSymbol(n))return!0;var i=V_(n);n=cc(n);var o=Ji(n);return o.exportsSomeValue===void 0&&(o.exportsSomeValue=i?!!(n.flags&111551):e.forEachEntry(xl(n),s)),o.exportsSomeValue;function s(l){return l=os(l),l&&!!(l.flags&111551)}}function YI(t){return e.isModuleOrEnumDeclaration(t.parent)&&t===t.parent.name}function $I(t,n){var i,o=e.getParseTreeNode(t,e.isIdentifier);if(o){var s=wy(o,YI(o));if(s){if(s.flags&1048576){var l=Ya(s.exportSymbol);if(!n&&l.flags&944&&!(l.flags&3))return;s=l}var T=Qs(s);if(T){if(T.flags&512&&((i=T.valueDeclaration)===null||i===void 0?void 0:i.kind)===303){var U=T.valueDeclaration,_e=e.getSourceFileOfNode(o),Ae=U!==_e;return Ae?void 0:U}return e.findAncestor(o.parent,function(Ye){return e.isModuleOrEnumDeclaration(Ye)&&Lr(Ye)===T})}}}}function XI(t){if(t.generatedImportReference)return t.generatedImportReference;var n=e.getParseTreeNode(t,e.isIdentifier);if(n){var i=wy(n);if(Du(i,111551)&&!Tu(i))return wu(i)}}function ZI(t){return t.valueDeclaration&&e.isBindingElement(t.valueDeclaration)&&e.walkUpBindingElementsAndPatterns(t.valueDeclaration).parent.kind===291}function Wk(t){if(t.flags&418&&t.valueDeclaration&&!e.isSourceFile(t.valueDeclaration)){var n=Ji(t);if(n.isDeclarationWithCollidingName===void 0){var i=e.getEnclosingBlockScopeContainer(t.valueDeclaration);if(e.isStatementWithLocals(i)||ZI(t)){var o=Ni(t.valueDeclaration);if(gs(i.parent,t.escapedName,111551,void 0,void 0,!1))n.isDeclarationWithCollidingName=!0;else if(o.flags&262144){var s=o.flags&524288,l=e.isIterationStatement(i,!1),T=i.kind===234&&e.isIterationStatement(i.parent,!1);n.isDeclarationWithCollidingName=!e.isBlockScopedContainerTopLevel(i)&&(!s||!l&&!T)}else n.isDeclarationWithCollidingName=!1}}return n.isDeclarationWithCollidingName}return!1}function e9(t){if(!e.isGeneratedIdentifier(t)){var n=e.getParseTreeNode(t,e.isIdentifier);if(n){var i=wy(n);if(i&&Wk(i))return i.valueDeclaration}}}function t9(t){var n=e.getParseTreeNode(t,e.isDeclaration);if(n){var i=Lr(n);if(i)return Wk(i)}return!1}function Vk(t){switch(t.kind){case 264:return i1(Lr(t));case 266:case 267:case 269:case 274:var n=Lr(t);return!!n&&i1(n)&&!Tu(n);case 271:var i=t.exportClause;return!!i&&(e.isNamespaceExport(i)||e.some(i.elements,Vk));case 270:return t.expression&&t.expression.kind===79?i1(Lr(t)):!0}return!1}function n9(t){var n=e.getParseTreeNode(t,e.isImportEqualsDeclaration);if(n===void 0||n.parent.kind!==303||!e.isInternalModuleImportEqualsDeclaration(n))return!1;var i=i1(Lr(n));return i&&n.moduleReference&&!e.nodeIsMissing(n.moduleReference)}function i1(t){if(!t)return!1;var n=Eu(Vs(t));return n===ee?!0:!!(n.flags&111551)&&(e.shouldPreserveConstEnums(Oe)||!Fy(n))}function Fy(t){return _b(t)||!!t.constEnumOnlyModule}function a1(t,n){if(Qu(t)){var i=Lr(t),o=i&&Ji(i);if(o!=null&&o.referenced)return!0;var s=Ji(i).target;if(s&&e.getEffectiveModifierFlags(t)&1&&s.flags&111551&&(e.shouldPreserveConstEnums(Oe)||!Fy(s)))return!0}return n?!!e.forEachChild(t,function(l){return a1(l,n)}):!1}function Hk(t){if(e.nodeIsPresent(t.body)){if(e.isGetAccessor(t)||e.isSetAccessor(t))return!1;var n=Lr(t),i=nf(n);return i.length>1||i.length===1&&i[0].declaration!==t}return!1}function Gk(t){return!!vt&&!ef(t)&&!e.isJSDocParameterTag(t)&&!!t.initializer&&!e.hasSyntacticModifier(t,16476)}function r9(t){return vt&&ef(t)&&!t.initializer&&e.hasSyntacticModifier(t,16476)}function i9(t){return!!vt&&ef(t)&&!t.initializer}function a9(t){var n=e.getParseTreeNode(t,e.isFunctionDeclaration);if(!n)return!1;var i=Lr(n);return!i||!(i.flags&16)?!1:!!e.forEachEntry(Ls(i),function(o){return o.flags&111551&&o.valueDeclaration&&e.isPropertyAccessExpression(o.valueDeclaration)})}function o9(t){var n=e.getParseTreeNode(t,e.isFunctionDeclaration);if(!n)return e.emptyArray;var i=Lr(n);return i&&To(Jr(i))||e.emptyArray}function Hm(t){var n,i=t.id||0;return i<0||i>=sl.length?0:((n=sl[i])===null||n===void 0?void 0:n.flags)||0}function o1(t){return Ak(t.parent),Ni(t).enumMemberValue}function Qk(t){switch(t.kind){case 297:case 205:case 206:return!0}return!1}function jb(t){if(t.kind===297)return o1(t);var n=Ni(t).resolvedSymbol;if(n&&n.flags&8){var i=n.valueDeclaration;if(e.isEnumConst(i.parent))return o1(i)}}function Bb(t){return!!(t.flags&524288)&&Ja(t,0).length>0}function s9(t,n){var i,o,s=e.getParseTreeNode(t,e.isEntityName);if(!s||n&&(n=e.getParseTreeNode(n),!n))return e.TypeReferenceSerializationKind.Unknown;var l=!1;if(e.isQualifiedName(s)){var T=Ms(e.getFirstIdentifier(s),111551,!0,!0,n);l=!!(!((i=T==null?void 0:T.declarations)===null||i===void 0)&&i.every(e.isTypeOnlyImportOrExportDeclaration))}var U=Ms(s,111551,!0,!0,n),_e=U&&U.flags&2097152?Vs(U):U;l||(l=!!(!((o=U==null?void 0:U.declarations)===null||o===void 0)&&o.every(e.isTypeOnlyImportOrExportDeclaration)));var Ae=Ms(s,788968,!0,!1,n);if(_e&&_e===Ae){var Ye=l2(!1);if(Ye&&_e===Ye)return e.TypeReferenceSerializationKind.Promise;var Xe=Jr(_e);if(Xe&&vm(Xe))return l?e.TypeReferenceSerializationKind.TypeWithCallSignature:e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue}if(!Ae)return l?e.TypeReferenceSerializationKind.ObjectType:e.TypeReferenceSerializationKind.Unknown;var ct=Wo(Ae);return $r(ct)?l?e.TypeReferenceSerializationKind.ObjectType:e.TypeReferenceSerializationKind.Unknown:ct.flags&3?e.TypeReferenceSerializationKind.ObjectType:Ws(ct,245760)?e.TypeReferenceSerializationKind.VoidNullableOrNeverType:Ws(ct,528)?e.TypeReferenceSerializationKind.BooleanType:Ws(ct,296)?e.TypeReferenceSerializationKind.NumberLikeType:Ws(ct,2112)?e.TypeReferenceSerializationKind.BigIntLikeType:Ws(ct,402653316)?e.TypeReferenceSerializationKind.StringLikeType:qa(ct)?e.TypeReferenceSerializationKind.ArrayLikeType:Ws(ct,12288)?e.TypeReferenceSerializationKind.ESSymbolType:Bb(ct)?e.TypeReferenceSerializationKind.TypeWithCallSignature:Ec(ct)?e.TypeReferenceSerializationKind.ArrayLikeType:e.TypeReferenceSerializationKind.ObjectType}function c9(t,n,i,o,s){var l=e.getParseTreeNode(t,e.isVariableLikeOrAccessor);if(!l)return e.factory.createToken(130);var T=Lr(l),U=T&&!(T.flags&133120)?cf(Jr(T)):Qe;return U.flags&8192&&U.symbol===T&&(i|=1048576),s&&(U=sd(U)),Ft.typeToTypeNode(U,n,i|1024,o)}function u9(t,n,i,o){var s=e.getParseTreeNode(t,e.isFunctionLike);if(!s)return e.factory.createToken(130);var l=p_(s);return Ft.typeToTypeNode(Io(l),n,i|1024,o)}function l9(t,n,i,o){var s=e.getParseTreeNode(t,e.isExpression);if(!s)return e.factory.createToken(130);var l=du(Uk(s));return Ft.typeToTypeNode(l,n,i|1024,o)}function _9(t){return Lt.has(e.escapeLeadingUnderscores(t))}function wy(t,n){var i=Ni(t).resolvedSymbol;if(i)return i;var o=t;if(n){var s=t.parent;e.isDeclaration(s)&&t===s.name&&(o=x(s))}return gs(o,t.escapedText,3257279,void 0,void 0,!0)}function d9(t){if(!e.isGeneratedIdentifier(t)){var n=e.getParseTreeNode(t,e.isIdentifier);if(n){var i=wy(n);if(i)return Eu(i).valueDeclaration}}}function p9(t){return e.isDeclarationReadonly(t)||e.isVariableDeclaration(t)&&e.isVarConst(t)?sf(Jr(Lr(t))):!1}function f9(t,n,i){var o=t.flags&1024?Ft.symbolToExpression(t.symbol,111551,n,void 0,i):t===Fr?e.factory.createTrue():t===xn&&e.factory.createFalse();if(o)return o;var s=t.value;return typeof s=="object"?e.factory.createBigIntLiteral(s):typeof s=="number"?e.factory.createNumericLiteral(s):e.factory.createStringLiteral(s)}function m9(t,n){var i=Jr(Lr(t));return f9(i,t,n)}function Yk(t){return t?(yo(t),e.getSourceFileOfNode(t).localJsxFactory||me):me}function Jb(t){if(t){var n=e.getSourceFileOfNode(t);if(n){if(n.localJsxFragmentFactory)return n.localJsxFragmentFactory;var i=n.pragmas.get("jsxfrag"),o=e.isArray(i)?i[0]:i;if(o)return n.localJsxFragmentFactory=e.parseIsolatedEntityName(o.arguments.factory,Ce),n.localJsxFragmentFactory}}if(Oe.jsxFragmentFactory)return e.parseIsolatedEntityName(Oe.jsxFragmentFactory,Ce)}function g9(){var t=M.getResolvedTypeReferenceDirectives(),n;return t&&(n=new e.Map,t.forEach(function(_e,Ae){if(!(!_e||!_e.resolvedFileName)){var Ye=M.getSourceFile(_e.resolvedFileName);Ye&&U(Ye,Ae)}})),{getReferencedExportContainer:$I,getReferencedImportDeclaration:XI,getReferencedDeclarationWithCollidingName:e9,isDeclarationWithCollidingName:t9,isValueAliasDeclaration:function(_e){var Ae=e.getParseTreeNode(_e);return Ae?Vk(Ae):!0},hasGlobalName:_9,isReferencedAliasDeclaration:function(_e,Ae){var Ye=e.getParseTreeNode(_e);return Ye?a1(Ye,Ae):!0},getNodeCheckFlags:function(_e){var Ae=e.getParseTreeNode(_e);return Ae?Hm(Ae):0},isTopLevelValueImportEqualsWithEntityName:n9,isDeclarationVisible:hc,isImplementationOfOverload:Hk,isRequiredInitializedParameter:Gk,isOptionalUninitializedParameterProperty:r9,isExpandoFunctionDeclaration:a9,getPropertiesOfContainerFunction:o9,createTypeOfDeclaration:c9,createReturnTypeOfSignatureDeclaration:u9,createTypeOfExpression:l9,createLiteralConstValue:m9,isSymbolAccessible:Ad,isEntityNameVisible:ql,getConstantValue:function(_e){var Ae=e.getParseTreeNode(_e,Qk);return Ae?jb(Ae):void 0},collectLinkedAliases:ed,getReferencedValueDeclaration:d9,getTypeReferenceSerializationKind:s9,isOptionalParameter:ef,moduleExportsSomeValue:QI,isArgumentsLocalBinding:GI,getExternalModuleFileFromDeclaration:function(_e){var Ae=e.getParseTreeNode(_e,e.hasPossibleExternalModuleReference);return Ae&&Kb(Ae)},getTypeReferenceDirectivesForEntityName:s,getTypeReferenceDirectivesForSymbol:l,isLiteralConstDeclaration:p9,isLateBound:function(_e){var Ae=e.getParseTreeNode(_e,e.isDeclaration),Ye=Ae&&Lr(Ae);return!!(Ye&&e.getCheckFlags(Ye)&4096)},getJsxFactoryEntity:Yk,getJsxFragmentFactoryEntity:Jb,getAllAccessorDeclarations:function(_e){_e=e.getParseTreeNode(_e,e.isGetOrSetAccessorDeclaration);var Ae=_e.kind===172?171:172,Ye=e.getDeclarationOfKind(Lr(_e),Ae),Xe=Ye&&Ye.pos<_e.pos?Ye:_e,ct=Ye&&Ye.pos<_e.pos?_e:Ye,ht=_e.kind===172?_e:Ye,Qt=_e.kind===171?_e:Ye;return{firstAccessor:Xe,secondAccessor:ct,setAccessor:ht,getAccessor:Qt}},getSymbolOfExternalModuleSpecifier:function(_e){return sc(_e,_e,void 0)},isBindingCapturedByNode:function(_e,Ae){var Ye=e.getParseTreeNode(_e),Xe=e.getParseTreeNode(Ae);return!!Ye&&!!Xe&&(e.isVariableDeclaration(Xe)||e.isBindingElement(Xe))&&CA(Ye,Xe)},getDeclarationStatementsForSourceFile:function(_e,Ae,Ye,Xe){var ct=e.getParseTreeNode(_e);e.Debug.assert(ct&&ct.kind===303,"Non-sourcefile node passed into getDeclarationsForSourceFile");var ht=Lr(_e);return ht?ht.exports?Ft.symbolTableToDeclarationStatements(ht.exports,_e,Ae,Ye,Xe):[]:_e.locals?Ft.symbolTableToDeclarationStatements(_e.locals,_e,Ae,Ye,Xe):[]},isImportRequiredByAugmentation:i};function i(_e){var Ae=e.getSourceFileOfNode(_e);if(!Ae.symbol)return!1;var Ye=Kb(_e);if(!Ye||Ye===Ae)return!1;for(var Xe=xl(Ae.symbol),ct=0,ht=e.arrayFrom(Xe.values());ct3})||Wt(t,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,T,4):l&1048576?e.some(nf(U),function(_e){return Zc(_e)>4})||Wt(t,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,T,5):l&1024&&(e.some(nf(U),function(_e){return Zc(_e)>2})||Wt(t,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,T,3)):Wt(t,e.Diagnostics.This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0,e.externalHelpersModuleNameText,T)}}R|=n}}}function v9(t){switch(t){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 h9(t,n){return L||(L=tu(t,e.externalHelpersModuleNameText,e.Diagnostics.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,n)||ee),L}function B_(t){return x9(t)||b9(t)}function x9(t){if(!t.decorators)return!1;if(e.nodeCanBeDecorated(t,t.parent,t.parent.parent)){if(t.kind===171||t.kind===172){var n=e.getAllAccessorDeclarations(t.parent.members,t);if(n.firstAccessor.decorators&&t===n.secondAccessor)return _c(t,e.Diagnostics.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}}else return t.kind===168&&!e.nodeIsPresent(t.body)?_c(t,e.Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload):_c(t,e.Diagnostics.Decorators_are_not_valid_here);return!1}function b9(t){var n=S9(t);if(n!==void 0)return n;for(var i,o,s,l,T=0,U=0,_e=t.modifiers;U<_e.length;U++){var Ae=_e[U];if(Ae.kind!==144){if(t.kind===165||t.kind===167)return vr(Ae,e.Diagnostics._0_modifier_cannot_appear_on_a_type_member,e.tokenToString(Ae.kind));if(t.kind===175&&(Ae.kind!==124||!e.isClassLike(t.parent)))return vr(Ae,e.Diagnostics._0_modifier_cannot_appear_on_an_index_signature,e.tokenToString(Ae.kind))}switch(Ae.kind){case 85:if(t.kind!==259)return vr(t,e.Diagnostics.A_class_member_cannot_have_the_0_keyword,e.tokenToString(85));break;case 158:if(T&16384)return vr(Ae,e.Diagnostics._0_modifier_already_seen,"override");if(T&2)return vr(Ae,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"override","declare");if(T&64)return vr(Ae,e.Diagnostics._0_modifier_must_precede_1_modifier,"override","readonly");if(T&256)return vr(Ae,e.Diagnostics._0_modifier_must_precede_1_modifier,"override","async");T|=16384,l=Ae;break;case 123:case 122:case 121:var Ye=wd(e.modifierToFlag(Ae.kind));if(T&28)return vr(Ae,e.Diagnostics.Accessibility_modifier_already_seen);if(T&16384)return vr(Ae,e.Diagnostics._0_modifier_must_precede_1_modifier,Ye,"override");if(T&32)return vr(Ae,e.Diagnostics._0_modifier_must_precede_1_modifier,Ye,"static");if(T&64)return vr(Ae,e.Diagnostics._0_modifier_must_precede_1_modifier,Ye,"readonly");if(T&256)return vr(Ae,e.Diagnostics._0_modifier_must_precede_1_modifier,Ye,"async");if(t.parent.kind===261||t.parent.kind===303)return vr(Ae,e.Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element,Ye);if(T&128)return Ae.kind===121?vr(Ae,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,Ye,"abstract"):vr(Ae,e.Diagnostics._0_modifier_must_precede_1_modifier,Ye,"abstract");if(e.isPrivateIdentifierClassElementDeclaration(t))return vr(Ae,e.Diagnostics.An_accessibility_modifier_cannot_be_used_with_a_private_identifier);T|=e.modifierToFlag(Ae.kind);break;case 124:if(T&32)return vr(Ae,e.Diagnostics._0_modifier_already_seen,"static");if(T&64)return vr(Ae,e.Diagnostics._0_modifier_must_precede_1_modifier,"static","readonly");if(T&256)return vr(Ae,e.Diagnostics._0_modifier_must_precede_1_modifier,"static","async");if(t.parent.kind===261||t.parent.kind===303)return vr(Ae,e.Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element,"static");if(t.kind===163)return vr(Ae,e.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"static");if(T&128)return vr(Ae,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(T&16384)return vr(Ae,e.Diagnostics._0_modifier_must_precede_1_modifier,"static","override");T|=32,i=Ae;break;case 144:if(T&64)return vr(Ae,e.Diagnostics._0_modifier_already_seen,"readonly");if(t.kind!==166&&t.kind!==165&&t.kind!==175&&t.kind!==163)return vr(Ae,e.Diagnostics.readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature);T|=64;break;case 93:if(T&1)return vr(Ae,e.Diagnostics._0_modifier_already_seen,"export");if(T&2)return vr(Ae,e.Diagnostics._0_modifier_must_precede_1_modifier,"export","declare");if(T&128)return vr(Ae,e.Diagnostics._0_modifier_must_precede_1_modifier,"export","abstract");if(T&256)return vr(Ae,e.Diagnostics._0_modifier_must_precede_1_modifier,"export","async");if(e.isClassLike(t.parent))return vr(Ae,e.Diagnostics._0_modifier_cannot_appear_on_class_elements_of_this_kind,"export");if(t.kind===163)return vr(Ae,e.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"export");T|=1;break;case 88:var Xe=t.parent.kind===303?t.parent:t.parent.parent;if(Xe.kind===260&&!e.isAmbientModule(Xe))return vr(Ae,e.Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);if(!(T&1))return vr(Ae,e.Diagnostics._0_modifier_must_precede_1_modifier,"export","default");T|=512;break;case 135:if(T&2)return vr(Ae,e.Diagnostics._0_modifier_already_seen,"declare");if(T&256)return vr(Ae,e.Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(T&16384)return vr(Ae,e.Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context,"override");if(e.isClassLike(t.parent)&&!e.isPropertyDeclaration(t))return vr(Ae,e.Diagnostics._0_modifier_cannot_appear_on_class_elements_of_this_kind,"declare");if(t.kind===163)return vr(Ae,e.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"declare");if(t.parent.flags&8388608&&t.parent.kind===261)return vr(Ae,e.Diagnostics.A_declare_modifier_cannot_be_used_in_an_already_ambient_context);if(e.isPrivateIdentifierClassElementDeclaration(t))return vr(Ae,e.Diagnostics._0_modifier_cannot_be_used_with_a_private_identifier,"declare");T|=2,o=Ae;break;case 126:if(T&128)return vr(Ae,e.Diagnostics._0_modifier_already_seen,"abstract");if(t.kind!==256&&t.kind!==179){if(t.kind!==168&&t.kind!==166&&t.kind!==171&&t.kind!==172)return vr(Ae,e.Diagnostics.abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration);if(!(t.parent.kind===256&&e.hasSyntacticModifier(t.parent,128)))return vr(Ae,e.Diagnostics.Abstract_methods_can_only_appear_within_an_abstract_class);if(T&32)return vr(Ae,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(T&8)return vr(Ae,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"private","abstract");if(T&256&&s)return vr(s,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"async","abstract");if(T&16384)return vr(Ae,e.Diagnostics._0_modifier_must_precede_1_modifier,"abstract","override")}if(e.isNamedDeclaration(t)&&t.name.kind===80)return vr(Ae,e.Diagnostics._0_modifier_cannot_be_used_with_a_private_identifier,"abstract");T|=128;break;case 131:if(T&256)return vr(Ae,e.Diagnostics._0_modifier_already_seen,"async");if(T&2||t.parent.flags&8388608)return vr(Ae,e.Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(t.kind===163)return vr(Ae,e.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"async");if(T&128)return vr(Ae,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"async","abstract");T|=256,s=Ae;break}}return t.kind===170?T&32?vr(i,e.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"static"):T&16384?vr(l,e.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"override"):T&256?vr(s,e.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"async"):!1:(t.kind===265||t.kind===264)&&T&2?vr(o,e.Diagnostics.A_0_modifier_cannot_be_used_with_an_import_declaration,"declare"):t.kind===163&&T&16476&&e.isBindingPattern(t.name)?vr(t,e.Diagnostics.A_parameter_property_may_not_be_declared_using_a_binding_pattern):t.kind===163&&T&16476&&t.dotDotDotToken?vr(t,e.Diagnostics.A_parameter_property_cannot_be_declared_using_a_rest_parameter):T&256?T9(t,s):!1}function S9(t){return t.modifiers?D9(t)?_c(t,e.Diagnostics.Modifiers_cannot_appear_here):void 0:!1}function D9(t){switch(t.kind){case 171:case 172:case 170:case 166:case 165:case 168:case 167:case 175:case 260:case 265:case 264:case 271:case 270:case 212:case 213:case 163:return!1;default:if(t.parent.kind===261||t.parent.kind===303)return!1;switch(t.kind){case 255:return zb(t,131);case 256:case 179:return zb(t,126);case 257:case 236:case 258:case 169:return!0;case 259:return zb(t,85);default:e.Debug.fail()}}}function zb(t,n){return t.modifiers.length>1||t.modifiers[0].kind!==n}function T9(t,n){switch(t.kind){case 168:case 255:case 212:case 213:return!1}return vr(n,e.Diagnostics._0_modifier_cannot_be_used_here,"async")}function mm(t,n){return n===void 0&&(n=e.Diagnostics.Trailing_comma_not_allowed),t&&t.hasTrailingComma?gf(t[0],t.end-1,1,n):!1}function $k(t,n){if(t&&t.length===0){var i=t.pos-1,o=e.skipTrivia(n.text,t.end)+1;return gf(n,i,o-i,e.Diagnostics.Type_parameter_list_cannot_be_empty)}return!1}function E9(t){for(var n=!1,i=t.length,o=0;o=3){var n=t.body&&e.isBlock(t.body)&&e.findUseStrictPrologue(t.body.statements);if(n){var i=C9(t.parameters);if(e.length(i)){e.forEach(i,function(s){e.addRelatedInfo(Wt(s,e.Diagnostics.This_parameter_is_not_allowed_with_use_strict_directive),e.createDiagnosticForNode(n,e.Diagnostics.use_strict_directive_used_here))});var o=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,tt([Wt(n,e.Diagnostics.use_strict_directive_cannot_be_used_with_non_simple_parameter_list)],o,!1)),!0}}}return!1}function s1(t){var n=e.getSourceFileOfNode(t);return B_(t)||$k(t.typeParameters,n)||E9(t.parameters)||P9(t,n)||e.isFunctionLikeDeclaration(t)&&k9(t)}function N9(t){var n=e.getSourceFileOfNode(t);return M9(t)||$k(t.typeParameters,n)}function P9(t,n){if(!e.isArrowFunction(t))return!1;t.typeParameters&&!(e.length(t.typeParameters)>1||t.typeParameters.hasTrailingComma||t.typeParameters[0].constraint)&&n&&e.fileExtensionIsOneOf(n.fileName,[".mts",".cts"])&&vr(t.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=t.equalsGreaterThanToken,o=e.getLineAndCharacterOfPosition(n,i.pos).line,s=e.getLineAndCharacterOfPosition(n,i.end).line;return o!==s&&vr(i,e.Diagnostics.Line_terminator_not_permitted_before_arrow)}function A9(t){var n=t.parameters[0];if(t.parameters.length!==1)return vr(n?n.name:t,e.Diagnostics.An_index_signature_must_have_exactly_one_parameter);if(mm(t.parameters,e.Diagnostics.An_index_signature_cannot_have_a_trailing_comma),n.dotDotDotToken)return vr(n.dotDotDotToken,e.Diagnostics.An_index_signature_cannot_have_a_rest_parameter);if(e.hasEffectiveModifiers(n))return vr(n.name,e.Diagnostics.An_index_signature_parameter_cannot_have_an_accessibility_modifier);if(n.questionToken)return vr(n.questionToken,e.Diagnostics.An_index_signature_parameter_cannot_have_a_question_mark);if(n.initializer)return vr(n.name,e.Diagnostics.An_index_signature_parameter_cannot_have_an_initializer);if(!n.type)return vr(n.name,e.Diagnostics.An_index_signature_parameter_must_have_a_type_annotation);var i=Vi(n.type);return Rm(i,function(o){return!!(o.flags&8576)})||ry(i)?vr(n.name,e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead):j_(i,I0)?t.type?!1:vr(t,e.Diagnostics.An_index_signature_must_have_a_type_annotation):vr(n.name,e.Diagnostics.An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type)}function F9(t){return B_(t)||A9(t)}function w9(t,n){if(n&&n.length===0){var i=e.getSourceFileOfNode(t),o=n.pos-1,s=e.skipTrivia(i.text,n.end)+1;return gf(i,o,s-o,e.Diagnostics.Type_argument_list_cannot_be_empty)}return!1}function Qv(t,n){return mm(n)||w9(t,n)}function I9(t){return t.questionDotToken||t.flags&32?vr(t.template,e.Diagnostics.Tagged_template_expressions_are_not_permitted_in_an_optional_chain):!1}function Xk(t){var n=t.types;if(mm(n))return!0;if(n&&n.length===0){var i=e.tokenToString(t.token);return gf(t,n.pos,0,e.Diagnostics._0_list_cannot_be_empty,i)}return e.some(n,O9)}function O9(t){return Qv(t,t.typeArguments)}function M9(t){var n=!1,i=!1;if(!B_(t)&&t.heritageClauses)for(var o=0,s=t.heritageClauses;o1)return _c(l.types[1],e.Diagnostics.Classes_can_only_extend_a_single_class);n=!0}else{if(e.Debug.assert(l.token===117),i)return _c(l,e.Diagnostics.implements_clause_already_seen);i=!0}Xk(l)}}function L9(t){var n=!1;if(t.heritageClauses)for(var i=0,o=t.heritageClauses;i1){var i=t.kind===242?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 _c(l.declarations[1],i)}var U=T[0];if(U.initializer){var i=t.kind===242?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 vr(U.name,i)}if(U.type){var i=t.kind===242?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 vr(U,i)}}}return!1}function K9(t){if(!(t.flags&8388608)&&t.parent.kind!==181&&t.parent.kind!==257){if(Ce<1)return vr(t.name,e.Diagnostics.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher);if(Ce<2&&e.isPrivateIdentifier(t.name))return vr(t.name,e.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(t.body===void 0&&!e.hasSyntacticModifier(t,128))return gf(t,t.end-1,1,e.Diagnostics._0_expected,"{")}if(t.body){if(e.hasSyntacticModifier(t,128))return vr(t,e.Diagnostics.An_abstract_accessor_cannot_have_an_implementation);if(t.parent.kind===181||t.parent.kind===257)return vr(t.body,e.Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts)}if(t.typeParameters)return vr(t.name,e.Diagnostics.An_accessor_cannot_have_type_parameters);if(!z9(t))return vr(t.name,t.kind===171?e.Diagnostics.A_get_accessor_cannot_have_parameters:e.Diagnostics.A_set_accessor_must_have_exactly_one_parameter);if(t.kind===172){if(t.type)return vr(t.name,e.Diagnostics.A_set_accessor_cannot_have_a_return_type_annotation);var n=e.Debug.checkDefined(e.getSetAccessorValueParameter(t),"Return value does not match parameter count assertion.");if(n.dotDotDotToken)return vr(n.dotDotDotToken,e.Diagnostics.A_set_accessor_cannot_have_rest_parameter);if(n.questionToken)return vr(n.questionToken,e.Diagnostics.A_set_accessor_cannot_have_an_optional_parameter);if(n.initializer)return vr(t.name,e.Diagnostics.A_set_accessor_parameter_cannot_have_an_initializer)}return!1}function z9(t){return qb(t)||t.parameters.length===(t.kind===171?0:1)}function qb(t){if(t.parameters.length===(t.kind===171?1:2))return e.getThisParameter(t)}function U9(t){if(t.operator===153){if(t.type.kind!==150)return vr(t.type,e.Diagnostics._0_expected,e.tokenToString(150));var n=e.walkUpParenthesizedTypes(t.parent);switch(e.isInJSFile(n)&&e.isJSDocTypeExpression(n)&&(n=n.parent,e.isJSDocTypeTag(n)&&(n=n.parent.parent)),n.kind){case 253:var i=n;if(i.name.kind!==79)return vr(t,e.Diagnostics.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name);if(!e.isVariableDeclarationInVariableStatement(i))return vr(t,e.Diagnostics.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement);if(!(i.parent.flags&2))return vr(n.name,e.Diagnostics.A_variable_whose_type_is_a_unique_symbol_type_must_be_const);break;case 166:if(!e.isStatic(n)||!e.hasEffectiveReadonlyModifier(n))return vr(n.name,e.Diagnostics.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly);break;case 165:if(!e.hasSyntacticModifier(n,64))return vr(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 vr(t,e.Diagnostics.unique_symbol_types_are_not_allowed_here)}}else if(t.operator===144&&t.type.kind!==182&&t.type.kind!==183)return _c(t,e.Diagnostics.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types,e.tokenToString(150))}function jg(t,n){if(Wy(t))return vr(t,n)}function n6(t){if(s1(t))return!0;if(t.kind===168){if(t.parent.kind===204){if(t.modifiers&&!(t.modifiers.length===1&&e.first(t.modifiers).kind===131))return _c(t,e.Diagnostics.Modifiers_cannot_appear_here);if(Zk(t.questionToken,e.Diagnostics.An_object_member_cannot_be_declared_optional)||e6(t.exclamationToken,e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context))return!0;if(t.body===void 0)return gf(t,t.end-1,1,e.Diagnostics._0_expected,"{")}if(Ub(t))return!0}if(e.isClassLike(t.parent)){if(Ce<2&&e.isPrivateIdentifier(t.name))return vr(t.name,e.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(t.flags&8388608)return jg(t.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(t.kind===168&&!t.body)return jg(t.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(t.parent.kind===257)return jg(t.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(t.parent.kind===181)return jg(t.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 q9(t){for(var n=t;n;){if(e.isFunctionLikeOrClassStaticBlockDeclaration(n))return vr(t,e.Diagnostics.Jump_target_cannot_cross_function_boundary);switch(n.kind){case 249:if(t.label&&n.label.escapedText===t.label.escapedText){var i=t.kind===244&&!e.isIterationStatement(n.statement,!0);return i?vr(t,e.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement):!1}break;case 248:if(t.kind===245&&!t.label)return!1;break;default:if(e.isIterationStatement(n,!1)&&!t.label)return!1;break}n=n.parent}if(t.label){var o=t.kind===245?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 vr(t,o)}else{var o=t.kind===245?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 vr(t,o)}}function W9(t){if(t.dotDotDotToken){var n=t.parent.elements;if(t!==e.last(n))return vr(t,e.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);if(mm(n,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),t.propertyName)return vr(t.name,e.Diagnostics.A_rest_element_cannot_have_a_property_name)}if(t.dotDotDotToken&&t.initializer)return gf(t,t.initializer.pos-1,1,e.Diagnostics.A_rest_element_cannot_have_an_initializer)}function r6(t){return e.isStringOrNumericLiteralLike(t)||t.kind===218&&t.operator===40&&t.operand.kind===8}function V9(t){return t.kind===9||t.kind===218&&t.operator===40&&t.operand.kind===9}function H9(t){if((e.isPropertyAccessExpression(t)||e.isElementAccessExpression(t)&&r6(t.argumentExpression))&&e.isEntityNameExpression(t.expression))return!!(Ys(t).flags&1024)}function i6(t){var n=t.initializer;if(n){var i=!(r6(n)||H9(n)||n.kind===110||n.kind===95||V9(n)),o=e.isDeclarationReadonly(t)||e.isVariableDeclaration(t)&&e.isVarConst(t);if(o&&!t.type){if(i)return vr(n,e.Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference)}else return vr(n,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts);if(!o||i)return vr(n,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}}function G9(t){if(t.parent.parent.kind!==242&&t.parent.parent.kind!==243){if(t.flags&8388608)i6(t);else if(!t.initializer){if(e.isBindingPattern(t.name)&&!e.isBindingPattern(t.parent))return vr(t,e.Diagnostics.A_destructuring_declaration_must_have_an_initializer);if(e.isVarConst(t))return vr(t,e.Diagnostics.const_declarations_must_be_initialized)}}if(t.exclamationToken&&(t.parent.parent.kind!==236||!t.type||t.initializer||t.flags&8388608)){var n=t.initializer?e.Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:t.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 vr(t.exclamationToken,n)}(ge0}function _c(t,n,i,o,s){var l=e.getSourceFileOfNode(t);if(!Wf(l)){var T=e.getSpanOfTokenAtPosition(l,t.pos);return Ti.add(e.createFileDiagnostic(l,T.start,T.length,n,i,o,s)),!0}return!1}function gf(t,n,i,o,s,l,T){var U=e.getSourceFileOfNode(t);return Wf(U)?!1:(Ti.add(e.createFileDiagnostic(U,n,i,o,s,l,T)),!0)}function $9(t,n,i,o,s,l){var T=e.getSourceFileOfNode(n);return Wf(T)?!1:(Us(t,n,i,o,s,l),!0)}function vr(t,n,i,o,s){var l=e.getSourceFileOfNode(t);return Wf(l)?!1:(Ti.add(e.createDiagnosticForNode(t,n,i,o,s)),!0)}function X9(t){var n=e.isInJSFile(t)?e.getJSDocTypeParameterDeclarations(t):void 0,i=t.typeParameters||n&&e.firstOrUndefined(n);if(i){var o=i.pos===i.end?i.pos:e.skipTrivia(e.getSourceFileOfNode(t).text,i.pos);return gf(t,o,i.end-o,e.Diagnostics.Type_parameters_cannot_appear_on_a_constructor_declaration)}}function Z9(t){var n=e.getEffectiveReturnTypeNode(t);if(n)return vr(n,e.Diagnostics.Type_annotation_cannot_appear_on_a_constructor_declaration)}function eO(t){if(e.isComputedPropertyName(t.name)&&e.isBinaryExpression(t.name.expression)&&t.name.expression.operatorToken.kind===101)return vr(t.parent.members[0],e.Diagnostics.A_mapped_type_may_not_declare_properties_or_methods);if(e.isClassLike(t.parent)){if(e.isStringLiteral(t.name)&&t.name.text==="constructor")return vr(t.name,e.Diagnostics.Classes_may_not_have_a_field_named_constructor);if(jg(t.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(Ce<2&&e.isPrivateIdentifier(t.name))return vr(t.name,e.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher)}else if(t.parent.kind===257){if(jg(t.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(t.initializer)return vr(t.initializer,e.Diagnostics.An_interface_property_cannot_have_an_initializer)}else if(e.isTypeLiteralNode(t.parent)){if(jg(t.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(t.initializer)return vr(t.initializer,e.Diagnostics.A_type_literal_property_cannot_have_an_initializer)}if(t.flags&8388608&&i6(t),e.isPropertyDeclaration(t)&&t.exclamationToken&&(!e.isClassLike(t.parent)||!t.type||t.initializer||t.flags&8388608||e.isStatic(t)||e.hasAbstractModifier(t))){var n=t.initializer?e.Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:t.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 vr(t.exclamationToken,n)}}function tO(t){return t.kind===257||t.kind===258||t.kind===265||t.kind===264||t.kind===271||t.kind===270||t.kind===263||e.hasSyntacticModifier(t,515)?!1:_c(t,e.Diagnostics.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}function nO(t){for(var n=0,i=t.statements;n=1?n=e.Diagnostics.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:e.isChildOfNodeWithKind(t,195)?n=e.Diagnostics.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:e.isChildOfNodeWithKind(t,297)&&(n=e.Diagnostics.Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0),n){var i=e.isPrefixUnaryExpression(t.parent)&&t.parent.operator===40,o=(i?"-":"")+"0o"+t.text;return vr(i?t.parent:t,n,o)}}return iO(t),!1}function iO(t){var n=e.getTextOfNode(t).indexOf(".")!==-1,i=t.numericLiteralFlags&16;if(!(n||i)){var o=+t.text;o<=Math.pow(2,53)-1||xu(!1,e.createDiagnosticForNode(t,e.Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers))}}function aO(t){var n=e.isLiteralTypeNode(t.parent)||e.isPrefixUnaryExpression(t.parent)&&e.isLiteralTypeNode(t.parent.parent);return!!(!n&&Ce<7&&vr(t,e.Diagnostics.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020))}function oO(t,n,i,o,s){var l=e.getSourceFileOfNode(t);if(!Wf(l)){var T=e.getSpanOfTokenAtPosition(l,t.pos);return Ti.add(e.createFileDiagnostic(l,e.textSpanEnd(T),0,n,i,o,s)),!0}return!1}function sO(){return xt||(xt=[],Lt.forEach(function(t,n){a.test(n)&&xt.push(t)})),xt}function cO(t){var n;return t.isTypeOnly&&t.name&&t.namedBindings?vr(t,e.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both):t.isTypeOnly&&((n=t.namedBindings)===null||n===void 0?void 0:n.kind)===268?c6(t.namedBindings):!1}function c6(t){return!!e.forEach(t.elements,function(n){if(n.isTypeOnly)return _c(n,n.kind===269?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 uO(t){if(ge===e.ModuleKind.ES2015)return vr(t,e.Diagnostics.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node12_or_nodenext);if(t.typeArguments)return vr(t,e.Diagnostics.Dynamic_import_cannot_have_type_arguments);var n=t.arguments;if(ge!==e.ModuleKind.ESNext&&ge!==e.ModuleKind.NodeNext&&(mm(n),n.length>1)){var i=n[1];return vr(i,e.Diagnostics.Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_or_nodenext)}if(n.length===0||n.length>2)return vr(t,e.Diagnostics.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments);var o=e.find(n,e.isSpreadElement);return o?vr(o,e.Diagnostics.Argument_of_dynamic_import_cannot_be_spread_element):!1}function lO(t,n){var i=e.getObjectFlags(t);if(i&20&&n.flags&1048576)return e.find(n.types,function(o){if(o.flags&524288){var s=i&e.getObjectFlags(o);if(s&4)return t.target===o.target;if(s&16)return!!t.aliasSymbol&&t.aliasSymbol===o.aliasSymbol}return!1})}function _O(t,n){if(e.getObjectFlags(t)&128&&Rm(n,wp))return e.find(n.types,function(i){return!wp(i)})}function dO(t,n){var i=0,o=Ja(t,i).length>0||(i=1,Ja(t,i).length>0);if(o)return e.find(n.types,function(s){return Ja(s,i).length>0})}function pO(t,n){var i;if(!(t.flags&406978556))for(var o=0,s=0,l=n.types;s=o&&(i=T,o=_e)}}}return i}function fO(t){if(Ss(t,67108864)){var n=Cc(t,function(i){return!(i.flags&131068)});if(!(n.flags&131072))return n}return t}function u6(t,n,i,o){if(n.flags&1048576&&t.flags&2621440){var s=UT(n,t);if(s)return s;var l=To(t);if(l){var T=zT(l,n);if(T)return W2(n,e.map(T,function(U){return[function(){return Jr(U)},U.escapedName]}),i,void 0,o)}}}}e.createTypeChecker=N;function _(M){return!e.isAccessor(M)}function d(M){return M.kind!==255&&M.kind!==168||!!M.body}function E(M){switch(M.parent.kind){case 269:case 274:return e.isIdentifier(M);default:return e.isDeclarationName(M)}}var j;(function(M){M.JSX="JSX",M.IntrinsicElements="IntrinsicElements",M.ElementClass="ElementClass",M.ElementAttributesPropertyNameContainer="ElementAttributesProperty",M.ElementChildrenAttributeNameContainer="ElementChildrenAttribute",M.Element="Element",M.IntrinsicAttributes="IntrinsicAttributes",M.IntrinsicClassAttributes="IntrinsicClassAttributes",M.LibraryManagedAttributes="LibraryManagedAttributes"})(j||(j={}));function B(M){switch(M){case 0:return"yieldType";case 1:return"returnType";case 2:return"nextType"}}function W(M){return!!(M.flags&1)}e.signatureHasRestParameter=W;function J(M){return!!(M.flags&2)}e.signatureHasLiteralTypes=J})(ne||(ne={}));var ne;(function(e){function a(f,b,y,K){if(f===void 0||b===void 0)return f;var ce=b(f);if(ce===f)return f;var Y;if(ce!==void 0)return e.isArray(ce)?Y=(K||le)(ce):Y=ce,e.Debug.assertNode(Y,y),Y}e.visitNode=a;function u(f,b,y,K,ce){if(f===void 0||b===void 0)return f;var Y,re=f.length;(K===void 0||K<0)&&(K=0),(ce===void 0||ce>re-K)&&(ce=re-K);var F,O=-1,Q=-1;(K>0||ce=2&&(ce=v(ce,y)),y.setLexicalEnvironmentFlags(1,!1)),y.suspendLexicalEnvironment(),ce}e.visitParameterList=r;function v(f,b){for(var y,K=0;K0&&re<=159||re===191)return f;var F=y.factory;switch(re){case 79:return e.Debug.type(f),F.updateIdentifier(f,K(f.typeArguments,b,e.isTypeNodeOrTypeParameterDeclaration));case 160:return e.Debug.type(f),F.updateQualifiedName(f,Y(f.left,b,e.isEntityName),Y(f.right,b,e.isIdentifier));case 161:return e.Debug.type(f),F.updateComputedPropertyName(f,Y(f.expression,b,e.isExpression));case 162:return e.Debug.type(f),F.updateTypeParameterDeclaration(f,Y(f.name,b,e.isIdentifier),Y(f.constraint,b,e.isTypeNode),Y(f.default,b,e.isTypeNode));case 163:return e.Debug.type(f),F.updateParameterDeclaration(f,K(f.decorators,b,e.isDecorator),K(f.modifiers,b,e.isModifier),Y(f.dotDotDotToken,ce,e.isDotDotDotToken),Y(f.name,b,e.isBindingName),Y(f.questionToken,ce,e.isQuestionToken),Y(f.type,b,e.isTypeNode),Y(f.initializer,b,e.isExpression));case 164:return e.Debug.type(f),F.updateDecorator(f,Y(f.expression,b,e.isExpression));case 165:return e.Debug.type(f),F.updatePropertySignature(f,K(f.modifiers,b,e.isModifier),Y(f.name,b,e.isPropertyName),Y(f.questionToken,ce,e.isToken),Y(f.type,b,e.isTypeNode));case 166:return e.Debug.type(f),F.updatePropertyDeclaration(f,K(f.decorators,b,e.isDecorator),K(f.modifiers,b,e.isModifier),Y(f.name,b,e.isPropertyName),Y(f.questionToken||f.exclamationToken,ce,e.isQuestionOrExclamationToken),Y(f.type,b,e.isTypeNode),Y(f.initializer,b,e.isExpression));case 167:return e.Debug.type(f),F.updateMethodSignature(f,K(f.modifiers,b,e.isModifier),Y(f.name,b,e.isPropertyName),Y(f.questionToken,ce,e.isQuestionToken),K(f.typeParameters,b,e.isTypeParameterDeclaration),K(f.parameters,b,e.isParameterDeclaration),Y(f.type,b,e.isTypeNode));case 168:return e.Debug.type(f),F.updateMethodDeclaration(f,K(f.decorators,b,e.isDecorator),K(f.modifiers,b,e.isModifier),Y(f.asteriskToken,ce,e.isAsteriskToken),Y(f.name,b,e.isPropertyName),Y(f.questionToken,ce,e.isQuestionToken),K(f.typeParameters,b,e.isTypeParameterDeclaration),r(f.parameters,b,y,K),Y(f.type,b,e.isTypeNode),S(f.body,b,y,Y));case 170:return e.Debug.type(f),F.updateConstructorDeclaration(f,K(f.decorators,b,e.isDecorator),K(f.modifiers,b,e.isModifier),r(f.parameters,b,y,K),S(f.body,b,y,Y));case 171:return e.Debug.type(f),F.updateGetAccessorDeclaration(f,K(f.decorators,b,e.isDecorator),K(f.modifiers,b,e.isModifier),Y(f.name,b,e.isPropertyName),r(f.parameters,b,y,K),Y(f.type,b,e.isTypeNode),S(f.body,b,y,Y));case 172:return e.Debug.type(f),F.updateSetAccessorDeclaration(f,K(f.decorators,b,e.isDecorator),K(f.modifiers,b,e.isModifier),Y(f.name,b,e.isPropertyName),r(f.parameters,b,y,K),S(f.body,b,y,Y));case 169:return e.Debug.type(f),y.startLexicalEnvironment(),y.suspendLexicalEnvironment(),F.updateClassStaticBlockDeclaration(f,K(f.decorators,b,e.isDecorator),K(f.modifiers,b,e.isModifier),S(f.body,b,y,Y));case 173:return e.Debug.type(f),F.updateCallSignature(f,K(f.typeParameters,b,e.isTypeParameterDeclaration),K(f.parameters,b,e.isParameterDeclaration),Y(f.type,b,e.isTypeNode));case 174:return e.Debug.type(f),F.updateConstructSignature(f,K(f.typeParameters,b,e.isTypeParameterDeclaration),K(f.parameters,b,e.isParameterDeclaration),Y(f.type,b,e.isTypeNode));case 175:return e.Debug.type(f),F.updateIndexSignature(f,K(f.decorators,b,e.isDecorator),K(f.modifiers,b,e.isModifier),K(f.parameters,b,e.isParameterDeclaration),Y(f.type,b,e.isTypeNode));case 176:return e.Debug.type(f),F.updateTypePredicateNode(f,Y(f.assertsModifier,b,e.isAssertsKeyword),Y(f.parameterName,b,e.isIdentifierOrThisTypeNode),Y(f.type,b,e.isTypeNode));case 177:return e.Debug.type(f),F.updateTypeReferenceNode(f,Y(f.typeName,b,e.isEntityName),K(f.typeArguments,b,e.isTypeNode));case 178:return e.Debug.type(f),F.updateFunctionTypeNode(f,K(f.typeParameters,b,e.isTypeParameterDeclaration),K(f.parameters,b,e.isParameterDeclaration),Y(f.type,b,e.isTypeNode));case 179:return e.Debug.type(f),F.updateConstructorTypeNode(f,K(f.modifiers,b,e.isModifier),K(f.typeParameters,b,e.isTypeParameterDeclaration),K(f.parameters,b,e.isParameterDeclaration),Y(f.type,b,e.isTypeNode));case 180:return e.Debug.type(f),F.updateTypeQueryNode(f,Y(f.exprName,b,e.isEntityName));case 181:return e.Debug.type(f),F.updateTypeLiteralNode(f,K(f.members,b,e.isTypeElement));case 182:return e.Debug.type(f),F.updateArrayTypeNode(f,Y(f.elementType,b,e.isTypeNode));case 183:return e.Debug.type(f),F.updateTupleTypeNode(f,K(f.elements,b,e.isTypeNode));case 184:return e.Debug.type(f),F.updateOptionalTypeNode(f,Y(f.type,b,e.isTypeNode));case 185:return e.Debug.type(f),F.updateRestTypeNode(f,Y(f.type,b,e.isTypeNode));case 186:return e.Debug.type(f),F.updateUnionTypeNode(f,K(f.types,b,e.isTypeNode));case 187:return e.Debug.type(f),F.updateIntersectionTypeNode(f,K(f.types,b,e.isTypeNode));case 188:return e.Debug.type(f),F.updateConditionalTypeNode(f,Y(f.checkType,b,e.isTypeNode),Y(f.extendsType,b,e.isTypeNode),Y(f.trueType,b,e.isTypeNode),Y(f.falseType,b,e.isTypeNode));case 189:return e.Debug.type(f),F.updateInferTypeNode(f,Y(f.typeParameter,b,e.isTypeParameterDeclaration));case 199:return e.Debug.type(f),F.updateImportTypeNode(f,Y(f.argument,b,e.isTypeNode),Y(f.qualifier,b,e.isEntityName),u(f.typeArguments,b,e.isTypeNode),f.isTypeOf);case 196:return e.Debug.type(f),F.updateNamedTupleMember(f,a(f.dotDotDotToken,b,e.isDotDotDotToken),a(f.name,b,e.isIdentifier),a(f.questionToken,b,e.isQuestionToken),a(f.type,b,e.isTypeNode));case 190:return e.Debug.type(f),F.updateParenthesizedType(f,Y(f.type,b,e.isTypeNode));case 192:return e.Debug.type(f),F.updateTypeOperatorNode(f,Y(f.type,b,e.isTypeNode));case 193:return e.Debug.type(f),F.updateIndexedAccessTypeNode(f,Y(f.objectType,b,e.isTypeNode),Y(f.indexType,b,e.isTypeNode));case 194:return e.Debug.type(f),F.updateMappedTypeNode(f,Y(f.readonlyToken,ce,e.isReadonlyKeywordOrPlusOrMinusToken),Y(f.typeParameter,b,e.isTypeParameterDeclaration),Y(f.nameType,b,e.isTypeNode),Y(f.questionToken,ce,e.isQuestionOrPlusOrMinusToken),Y(f.type,b,e.isTypeNode),K(f.members,b,e.isTypeElement));case 195:return e.Debug.type(f),F.updateLiteralTypeNode(f,Y(f.literal,b,e.isExpression));case 197:return e.Debug.type(f),F.updateTemplateLiteralType(f,Y(f.head,b,e.isTemplateHead),K(f.templateSpans,b,e.isTemplateLiteralTypeSpan));case 198:return e.Debug.type(f),F.updateTemplateLiteralTypeSpan(f,Y(f.type,b,e.isTypeNode),Y(f.literal,b,e.isTemplateMiddleOrTemplateTail));case 200:return e.Debug.type(f),F.updateObjectBindingPattern(f,K(f.elements,b,e.isBindingElement));case 201:return e.Debug.type(f),F.updateArrayBindingPattern(f,K(f.elements,b,e.isArrayBindingElement));case 202:return e.Debug.type(f),F.updateBindingElement(f,Y(f.dotDotDotToken,ce,e.isDotDotDotToken),Y(f.propertyName,b,e.isPropertyName),Y(f.name,b,e.isBindingName),Y(f.initializer,b,e.isExpression));case 203:return e.Debug.type(f),F.updateArrayLiteralExpression(f,K(f.elements,b,e.isExpression));case 204:return e.Debug.type(f),F.updateObjectLiteralExpression(f,K(f.properties,b,e.isObjectLiteralElementLike));case 205:return f.flags&32?(e.Debug.type(f),F.updatePropertyAccessChain(f,Y(f.expression,b,e.isExpression),Y(f.questionDotToken,ce,e.isQuestionDotToken),Y(f.name,b,e.isMemberName))):(e.Debug.type(f),F.updatePropertyAccessExpression(f,Y(f.expression,b,e.isExpression),Y(f.name,b,e.isMemberName)));case 206:return f.flags&32?(e.Debug.type(f),F.updateElementAccessChain(f,Y(f.expression,b,e.isExpression),Y(f.questionDotToken,ce,e.isQuestionDotToken),Y(f.argumentExpression,b,e.isExpression))):(e.Debug.type(f),F.updateElementAccessExpression(f,Y(f.expression,b,e.isExpression),Y(f.argumentExpression,b,e.isExpression)));case 207:return f.flags&32?(e.Debug.type(f),F.updateCallChain(f,Y(f.expression,b,e.isExpression),Y(f.questionDotToken,ce,e.isQuestionDotToken),K(f.typeArguments,b,e.isTypeNode),K(f.arguments,b,e.isExpression))):(e.Debug.type(f),F.updateCallExpression(f,Y(f.expression,b,e.isExpression),K(f.typeArguments,b,e.isTypeNode),K(f.arguments,b,e.isExpression)));case 208:return e.Debug.type(f),F.updateNewExpression(f,Y(f.expression,b,e.isExpression),K(f.typeArguments,b,e.isTypeNode),K(f.arguments,b,e.isExpression));case 209:return e.Debug.type(f),F.updateTaggedTemplateExpression(f,Y(f.tag,b,e.isExpression),u(f.typeArguments,b,e.isTypeNode),Y(f.template,b,e.isTemplateLiteral));case 210:return e.Debug.type(f),F.updateTypeAssertion(f,Y(f.type,b,e.isTypeNode),Y(f.expression,b,e.isExpression));case 211:return e.Debug.type(f),F.updateParenthesizedExpression(f,Y(f.expression,b,e.isExpression));case 212:return e.Debug.type(f),F.updateFunctionExpression(f,K(f.modifiers,b,e.isModifier),Y(f.asteriskToken,ce,e.isAsteriskToken),Y(f.name,b,e.isIdentifier),K(f.typeParameters,b,e.isTypeParameterDeclaration),r(f.parameters,b,y,K),Y(f.type,b,e.isTypeNode),S(f.body,b,y,Y));case 213:return e.Debug.type(f),F.updateArrowFunction(f,K(f.modifiers,b,e.isModifier),K(f.typeParameters,b,e.isTypeParameterDeclaration),r(f.parameters,b,y,K),Y(f.type,b,e.isTypeNode),Y(f.equalsGreaterThanToken,ce,e.isEqualsGreaterThanToken),S(f.body,b,y,Y));case 214:return e.Debug.type(f),F.updateDeleteExpression(f,Y(f.expression,b,e.isExpression));case 215:return e.Debug.type(f),F.updateTypeOfExpression(f,Y(f.expression,b,e.isExpression));case 216:return e.Debug.type(f),F.updateVoidExpression(f,Y(f.expression,b,e.isExpression));case 217:return e.Debug.type(f),F.updateAwaitExpression(f,Y(f.expression,b,e.isExpression));case 218:return e.Debug.type(f),F.updatePrefixUnaryExpression(f,Y(f.operand,b,e.isExpression));case 219:return e.Debug.type(f),F.updatePostfixUnaryExpression(f,Y(f.operand,b,e.isExpression));case 220:return e.Debug.type(f),F.updateBinaryExpression(f,Y(f.left,b,e.isExpression),Y(f.operatorToken,ce,e.isBinaryOperatorToken),Y(f.right,b,e.isExpression));case 221:return e.Debug.type(f),F.updateConditionalExpression(f,Y(f.condition,b,e.isExpression),Y(f.questionToken,ce,e.isQuestionToken),Y(f.whenTrue,b,e.isExpression),Y(f.colonToken,ce,e.isColonToken),Y(f.whenFalse,b,e.isExpression));case 222:return e.Debug.type(f),F.updateTemplateExpression(f,Y(f.head,b,e.isTemplateHead),K(f.templateSpans,b,e.isTemplateSpan));case 223:return e.Debug.type(f),F.updateYieldExpression(f,Y(f.asteriskToken,ce,e.isAsteriskToken),Y(f.expression,b,e.isExpression));case 224:return e.Debug.type(f),F.updateSpreadElement(f,Y(f.expression,b,e.isExpression));case 225:return e.Debug.type(f),F.updateClassExpression(f,K(f.decorators,b,e.isDecorator),K(f.modifiers,b,e.isModifier),Y(f.name,b,e.isIdentifier),K(f.typeParameters,b,e.isTypeParameterDeclaration),K(f.heritageClauses,b,e.isHeritageClause),K(f.members,b,e.isClassElement));case 227:return e.Debug.type(f),F.updateExpressionWithTypeArguments(f,Y(f.expression,b,e.isExpression),K(f.typeArguments,b,e.isTypeNode));case 228:return e.Debug.type(f),F.updateAsExpression(f,Y(f.expression,b,e.isExpression),Y(f.type,b,e.isTypeNode));case 229:return f.flags&32?(e.Debug.type(f),F.updateNonNullChain(f,Y(f.expression,b,e.isExpression))):(e.Debug.type(f),F.updateNonNullExpression(f,Y(f.expression,b,e.isExpression)));case 230:return e.Debug.type(f),F.updateMetaProperty(f,Y(f.name,b,e.isIdentifier));case 232:return e.Debug.type(f),F.updateTemplateSpan(f,Y(f.expression,b,e.isExpression),Y(f.literal,b,e.isTemplateMiddleOrTemplateTail));case 234:return e.Debug.type(f),F.updateBlock(f,K(f.statements,b,e.isStatement));case 236:return e.Debug.type(f),F.updateVariableStatement(f,K(f.modifiers,b,e.isModifier),Y(f.declarationList,b,e.isVariableDeclarationList));case 237:return e.Debug.type(f),F.updateExpressionStatement(f,Y(f.expression,b,e.isExpression));case 238:return e.Debug.type(f),F.updateIfStatement(f,Y(f.expression,b,e.isExpression),Y(f.thenStatement,b,e.isStatement,F.liftToBlock),Y(f.elseStatement,b,e.isStatement,F.liftToBlock));case 239:return e.Debug.type(f),F.updateDoStatement(f,k(f.statement,b,y),Y(f.expression,b,e.isExpression));case 240:return e.Debug.type(f),F.updateWhileStatement(f,Y(f.expression,b,e.isExpression),k(f.statement,b,y));case 241:return e.Debug.type(f),F.updateForStatement(f,Y(f.initializer,b,e.isForInitializer),Y(f.condition,b,e.isExpression),Y(f.incrementor,b,e.isExpression),k(f.statement,b,y));case 242:return e.Debug.type(f),F.updateForInStatement(f,Y(f.initializer,b,e.isForInitializer),Y(f.expression,b,e.isExpression),k(f.statement,b,y));case 243:return e.Debug.type(f),F.updateForOfStatement(f,Y(f.awaitModifier,ce,e.isAwaitKeyword),Y(f.initializer,b,e.isForInitializer),Y(f.expression,b,e.isExpression),k(f.statement,b,y));case 244:return e.Debug.type(f),F.updateContinueStatement(f,Y(f.label,b,e.isIdentifier));case 245:return e.Debug.type(f),F.updateBreakStatement(f,Y(f.label,b,e.isIdentifier));case 246:return e.Debug.type(f),F.updateReturnStatement(f,Y(f.expression,b,e.isExpression));case 247:return e.Debug.type(f),F.updateWithStatement(f,Y(f.expression,b,e.isExpression),Y(f.statement,b,e.isStatement,F.liftToBlock));case 248:return e.Debug.type(f),F.updateSwitchStatement(f,Y(f.expression,b,e.isExpression),Y(f.caseBlock,b,e.isCaseBlock));case 249:return e.Debug.type(f),F.updateLabeledStatement(f,Y(f.label,b,e.isIdentifier),Y(f.statement,b,e.isStatement,F.liftToBlock));case 250:return e.Debug.type(f),F.updateThrowStatement(f,Y(f.expression,b,e.isExpression));case 251:return e.Debug.type(f),F.updateTryStatement(f,Y(f.tryBlock,b,e.isBlock),Y(f.catchClause,b,e.isCatchClause),Y(f.finallyBlock,b,e.isBlock));case 253:return e.Debug.type(f),F.updateVariableDeclaration(f,Y(f.name,b,e.isBindingName),Y(f.exclamationToken,ce,e.isExclamationToken),Y(f.type,b,e.isTypeNode),Y(f.initializer,b,e.isExpression));case 254:return e.Debug.type(f),F.updateVariableDeclarationList(f,K(f.declarations,b,e.isVariableDeclaration));case 255:return e.Debug.type(f),F.updateFunctionDeclaration(f,K(f.decorators,b,e.isDecorator),K(f.modifiers,b,e.isModifier),Y(f.asteriskToken,ce,e.isAsteriskToken),Y(f.name,b,e.isIdentifier),K(f.typeParameters,b,e.isTypeParameterDeclaration),r(f.parameters,b,y,K),Y(f.type,b,e.isTypeNode),S(f.body,b,y,Y));case 256:return e.Debug.type(f),F.updateClassDeclaration(f,K(f.decorators,b,e.isDecorator),K(f.modifiers,b,e.isModifier),Y(f.name,b,e.isIdentifier),K(f.typeParameters,b,e.isTypeParameterDeclaration),K(f.heritageClauses,b,e.isHeritageClause),K(f.members,b,e.isClassElement));case 257:return e.Debug.type(f),F.updateInterfaceDeclaration(f,K(f.decorators,b,e.isDecorator),K(f.modifiers,b,e.isModifier),Y(f.name,b,e.isIdentifier),K(f.typeParameters,b,e.isTypeParameterDeclaration),K(f.heritageClauses,b,e.isHeritageClause),K(f.members,b,e.isTypeElement));case 258:return e.Debug.type(f),F.updateTypeAliasDeclaration(f,K(f.decorators,b,e.isDecorator),K(f.modifiers,b,e.isModifier),Y(f.name,b,e.isIdentifier),K(f.typeParameters,b,e.isTypeParameterDeclaration),Y(f.type,b,e.isTypeNode));case 259:return e.Debug.type(f),F.updateEnumDeclaration(f,K(f.decorators,b,e.isDecorator),K(f.modifiers,b,e.isModifier),Y(f.name,b,e.isIdentifier),K(f.members,b,e.isEnumMember));case 260:return e.Debug.type(f),F.updateModuleDeclaration(f,K(f.decorators,b,e.isDecorator),K(f.modifiers,b,e.isModifier),Y(f.name,b,e.isModuleName),Y(f.body,b,e.isModuleBody));case 261:return e.Debug.type(f),F.updateModuleBlock(f,K(f.statements,b,e.isStatement));case 262:return e.Debug.type(f),F.updateCaseBlock(f,K(f.clauses,b,e.isCaseOrDefaultClause));case 263:return e.Debug.type(f),F.updateNamespaceExportDeclaration(f,Y(f.name,b,e.isIdentifier));case 264:return e.Debug.type(f),F.updateImportEqualsDeclaration(f,K(f.decorators,b,e.isDecorator),K(f.modifiers,b,e.isModifier),f.isTypeOnly,Y(f.name,b,e.isIdentifier),Y(f.moduleReference,b,e.isModuleReference));case 265:return e.Debug.type(f),F.updateImportDeclaration(f,K(f.decorators,b,e.isDecorator),K(f.modifiers,b,e.isModifier),Y(f.importClause,b,e.isImportClause),Y(f.moduleSpecifier,b,e.isExpression),Y(f.assertClause,b,e.isAssertClause));case 292:return e.Debug.type(f),F.updateAssertClause(f,K(f.elements,b,e.isAssertEntry),f.multiLine);case 293:return e.Debug.type(f),F.updateAssertEntry(f,Y(f.name,b,e.isAssertionKey),Y(f.value,b,e.isExpressionNode));case 266:return e.Debug.type(f),F.updateImportClause(f,f.isTypeOnly,Y(f.name,b,e.isIdentifier),Y(f.namedBindings,b,e.isNamedImportBindings));case 267:return e.Debug.type(f),F.updateNamespaceImport(f,Y(f.name,b,e.isIdentifier));case 273:return e.Debug.type(f),F.updateNamespaceExport(f,Y(f.name,b,e.isIdentifier));case 268:return e.Debug.type(f),F.updateNamedImports(f,K(f.elements,b,e.isImportSpecifier));case 269:return e.Debug.type(f),F.updateImportSpecifier(f,f.isTypeOnly,Y(f.propertyName,b,e.isIdentifier),Y(f.name,b,e.isIdentifier));case 270:return e.Debug.type(f),F.updateExportAssignment(f,K(f.decorators,b,e.isDecorator),K(f.modifiers,b,e.isModifier),Y(f.expression,b,e.isExpression));case 271:return e.Debug.type(f),F.updateExportDeclaration(f,K(f.decorators,b,e.isDecorator),K(f.modifiers,b,e.isModifier),f.isTypeOnly,Y(f.exportClause,b,e.isNamedExportBindings),Y(f.moduleSpecifier,b,e.isExpression),Y(f.assertClause,b,e.isAssertClause));case 272:return e.Debug.type(f),F.updateNamedExports(f,K(f.elements,b,e.isExportSpecifier));case 274:return e.Debug.type(f),F.updateExportSpecifier(f,f.isTypeOnly,Y(f.propertyName,b,e.isIdentifier),Y(f.name,b,e.isIdentifier));case 276:return e.Debug.type(f),F.updateExternalModuleReference(f,Y(f.expression,b,e.isExpression));case 277:return e.Debug.type(f),F.updateJsxElement(f,Y(f.openingElement,b,e.isJsxOpeningElement),K(f.children,b,e.isJsxChild),Y(f.closingElement,b,e.isJsxClosingElement));case 278:return e.Debug.type(f),F.updateJsxSelfClosingElement(f,Y(f.tagName,b,e.isJsxTagNameExpression),K(f.typeArguments,b,e.isTypeNode),Y(f.attributes,b,e.isJsxAttributes));case 279:return e.Debug.type(f),F.updateJsxOpeningElement(f,Y(f.tagName,b,e.isJsxTagNameExpression),K(f.typeArguments,b,e.isTypeNode),Y(f.attributes,b,e.isJsxAttributes));case 280:return e.Debug.type(f),F.updateJsxClosingElement(f,Y(f.tagName,b,e.isJsxTagNameExpression));case 281:return e.Debug.type(f),F.updateJsxFragment(f,Y(f.openingFragment,b,e.isJsxOpeningFragment),K(f.children,b,e.isJsxChild),Y(f.closingFragment,b,e.isJsxClosingFragment));case 284:return e.Debug.type(f),F.updateJsxAttribute(f,Y(f.name,b,e.isIdentifier),Y(f.initializer,b,e.isStringLiteralOrJsxExpression));case 285:return e.Debug.type(f),F.updateJsxAttributes(f,K(f.properties,b,e.isJsxAttributeLike));case 286:return e.Debug.type(f),F.updateJsxSpreadAttribute(f,Y(f.expression,b,e.isExpression));case 287:return e.Debug.type(f),F.updateJsxExpression(f,Y(f.expression,b,e.isExpression));case 288:return e.Debug.type(f),F.updateCaseClause(f,Y(f.expression,b,e.isExpression),K(f.statements,b,e.isStatement));case 289:return e.Debug.type(f),F.updateDefaultClause(f,K(f.statements,b,e.isStatement));case 290:return e.Debug.type(f),F.updateHeritageClause(f,K(f.types,b,e.isExpressionWithTypeArguments));case 291:return e.Debug.type(f),F.updateCatchClause(f,Y(f.variableDeclaration,b,e.isVariableDeclaration),Y(f.block,b,e.isBlock));case 294:return e.Debug.type(f),F.updatePropertyAssignment(f,Y(f.name,b,e.isPropertyName),Y(f.initializer,b,e.isExpression));case 295:return e.Debug.type(f),F.updateShorthandPropertyAssignment(f,Y(f.name,b,e.isIdentifier),Y(f.objectAssignmentInitializer,b,e.isExpression));case 296:return e.Debug.type(f),F.updateSpreadAssignment(f,Y(f.expression,b,e.isExpression));case 297:return e.Debug.type(f),F.updateEnumMember(f,Y(f.name,b,e.isPropertyName),Y(f.initializer,b,e.isExpression));case 303:return e.Debug.type(f),F.updateSourceFile(f,P(f.statements,b,y));case 348:return e.Debug.type(f),F.updatePartiallyEmittedExpression(f,Y(f.expression,b,e.isExpression));case 349:return e.Debug.type(f),F.updateCommaListExpression(f,K(f.elements,b,e.isExpression));default:return f}}}e.visitEachChild=se;function le(f){return e.Debug.assert(f.length<=1,"Too many nodes written to output."),e.singleOrUndefined(f)}})(ne||(ne={}));var ne;(function(e){function a(O,Q,de,$,I){var Z=I.extendedDiagnostics?e.performance.createTimer("Source Map","beforeSourcemap","afterSourcemap"):e.performance.nullTimer,z=Z.enter,ie=Z.exit,m=[],A=[],g=new e.Map,C,N=[],_,d=[],E="",j=0,B=0,W=0,J=0,M=0,pe=0,Ne=!1,w=0,R=0,L=0,V=0,Te=0,Se=0,we=!1,He=!1,et=!1;return{getSources:function(){return m},addSource:pt,setSourceContent:Me,addName:Fe,addMapping:ve,appendSourceMap:be,toJSON:ft,toString:function(){return JSON.stringify(ft())}};function pt(st){z();var At=e.getRelativePathToDirectoryOrUrl($,st,O.getCurrentDirectory(),O.getCanonicalFileName,!0),qt=g.get(At);return qt===void 0&&(qt=A.length,A.push(At),m.push(st),g.set(At,qt)),ie(),qt}function Me(st,At){if(z(),At!==null){for(C||(C=[]);C.lengthAt||V===At&&Te>qt)}function ve(st,At,qt,Ue,Ie,Ht){e.Debug.assert(st>=w,"generatedLine cannot backtrack"),e.Debug.assert(At>=0,"generatedCharacter cannot be negative"),e.Debug.assert(qt===void 0||qt>=0,"sourceIndex cannot be negative"),e.Debug.assert(Ue===void 0||Ue>=0,"sourceLine cannot be negative"),e.Debug.assert(Ie===void 0||Ie>=0,"sourceCharacter cannot be negative"),z(),(ot(st,At)||ke(qt,Ue,Ie))&&(ge(),w=st,R=At,He=!1,et=!1,we=!0),qt!==void 0&&Ue!==void 0&&Ie!==void 0&&(L=qt,V=Ue,Te=Ie,He=!0,Ht!==void 0&&(Se=Ht,et=!0)),ie()}function be(st,At,qt,Ue,Ie,Ht){e.Debug.assert(st>=w,"generatedLine cannot backtrack"),e.Debug.assert(At>=0,"generatedCharacter cannot be negative"),z();for(var _t=[],It,fe=S(qt.mappings),Be=fe.next();!Be.done;Be=fe.next()){var We=Be.value;if(Ht&&(We.generatedLine>Ht.line||We.generatedLine===Ht.line&&We.generatedCharacter>Ht.character))break;if(!(Ie&&(We.generatedLine=1024&&ze()}function ge(){if(!(!we||!Oe())){if(z(),j0&&(E+=String.fromCharCode.apply(void 0,d),d.length=0)}function ft(){return ge(),ze(),{version:3,file:Q,sourceRoot:de,sources:A,names:N,mappings:E,sourcesContent:C}}function vt(st){st<0?st=(-st<<1)+1:st=st<<1;do{var At=st&31;st=st>>5,st>0&&(At=At|32),Ce(le(At))}while(st>0)}}e.createSourceMapGenerator=a;var u=/^\/\/[@#] source[M]appingURL=(.+)\r?\n?$/,P=/^\s*(\/\/[@#] .*)?$/;function r(O,Q){return{getLineCount:function(){return Q.length},getLineText:function(de){return O.substring(Q[de],Q[de+1])}}}e.getLineInfo=r;function v(O){for(var Q=O.getLineCount()-1;Q>=0;Q--){var de=O.getLineText(Q),$=u.exec(de);if($)return e.trimStringEnd($[1]);if(!de.match(P))break}}e.tryGetSourceMappingURL=v;function G(O){return typeof O=="string"||O===null}function ue(O){return O!==null&&typeof O=="object"&&O.version===3&&typeof O.file=="string"&&typeof O.mappings=="string"&&e.isArray(O.sources)&&e.every(O.sources,e.isString)&&(O.sourceRoot===void 0||O.sourceRoot===null||typeof O.sourceRoot=="string")&&(O.sourcesContent===void 0||O.sourcesContent===null||e.isArray(O.sourcesContent)&&e.every(O.sourcesContent,G))&&(O.names===void 0||O.names===null||e.isArray(O.names)&&e.every(O.names,e.isString))}e.isRawSourceMap=ue;function h(O){try{var Q=JSON.parse(O);if(ue(Q))return Q}catch{}}e.tryParseRawSourceMap=h;function S(O){var Q=!1,de=0,$=0,I=0,Z=0,z=0,ie=0,m=0,A;return{get pos(){return de},get error(){return A},get state(){return g(!0,!0)},next:function(){for(;!Q&&de=O.length)return N("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;var M=f(O.charCodeAt(de));if(M===-1)return N("Invalid character in VLQ"),-1;B=(M&32)!==0,J=J|(M&31)<>1:(J=J>>1,J=-J),J}}e.decodeMappings=S;function k(O,Q){return O===Q||O.generatedLine===Q.generatedLine&&O.generatedCharacter===Q.generatedCharacter&&O.sourceIndex===Q.sourceIndex&&O.sourceLine===Q.sourceLine&&O.sourceCharacter===Q.sourceCharacter&&O.nameIndex===Q.nameIndex}e.sameMapping=k;function se(O){return O.sourceIndex!==void 0&&O.sourceLine!==void 0&&O.sourceCharacter!==void 0}e.isSourceMapping=se;function le(O){return O>=0&&O<26?65+O:O>=26&&O<52?97+O-26:O>=52&&O<62?48+O-52:O===62?43:O===63?47:e.Debug.fail("".concat(O,": not a base64 value"))}function f(O){return O>=65&&O<=90?O-65:O>=97&&O<=122?O-97+26:O>=48&&O<=57?O-48+52:O===43?62:O===47?63:-1}function b(O){return O.sourceIndex!==void 0&&O.sourcePosition!==void 0}function y(O,Q){return O.generatedPosition===Q.generatedPosition&&O.sourceIndex===Q.sourceIndex&&O.sourcePosition===Q.sourcePosition}function K(O,Q){return e.Debug.assert(O.sourceIndex===Q.sourceIndex),e.compareValues(O.sourcePosition,Q.sourcePosition)}function ce(O,Q){return e.compareValues(O.generatedPosition,Q.generatedPosition)}function Y(O){return O.sourcePosition}function re(O){return O.generatedPosition}function F(O,Q,de){var $=e.getDirectoryPath(de),I=Q.sourceRoot?e.getNormalizedAbsolutePath(Q.sourceRoot,$):$,Z=e.getNormalizedAbsolutePath(Q.file,$),z=O.getSourceFileLike(Z),ie=Q.sources.map(function(W){return e.getNormalizedAbsolutePath(W,I)}),m=new e.Map(ie.map(function(W,J){return[O.getCanonicalFileName(W),J]})),A,g,C;return{getSourcePosition:B,getGeneratedPosition:j};function N(W){var J=z!==void 0?e.getPositionOfLineAndCharacter(z,W.generatedLine,W.generatedCharacter,!0):-1,M,pe;if(se(W)){var Ne=O.getSourceFileLike(ie[W.sourceIndex]);M=Q.sources[W.sourceIndex],pe=Ne!==void 0?e.getPositionOfLineAndCharacter(Ne,W.sourceLine,W.sourceCharacter,!0):-1}return{generatedPosition:J,source:M,sourceIndex:W.sourceIndex,sourcePosition:pe,nameIndex:W.nameIndex}}function _(){if(A===void 0){var W=S(Q.mappings),J=e.arrayFrom(W,N);W.error!==void 0?(O.log&&O.log("Encountered error while decoding sourcemap: ".concat(W.error)),A=e.emptyArray):A=J}return A}function d(W){if(C===void 0){for(var J=[],M=0,pe=_();M0&&Z!==I.elements.length||!!(I.elements.length-Z)&&e.isDefaultImport($)}e.getImportNeedsImportStarHelper=G;function ue($){return!G($)&&(e.isDefaultImport($)||!!$.importClause&&e.isNamedImports($.importClause.namedBindings)&&u($.importClause.namedBindings))}e.getImportNeedsImportDefaultHelper=ue;function h($,I,Z,z){for(var ie=[],m=e.createMultiMap(),A=[],g=new e.Map,C,N=!1,_,d=!1,E=!1,j=!1,B=0,W=I.statements;B=64&&$<=78}e.isCompoundAssignment=f;function b($){switch($){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=b;function y($){if(e.isExpressionStatement($)){var I=e.skipParentheses($.expression);return e.isSuperCall(I)?I:void 0}}e.getSuperCallFromStatement=y;function K($,I){for(var Z=I;Z<$.length;Z+=1){var z=$[Z];if(y(z))return Z}return-1}e.findSuperStatementIndex=K;function ce($,I,Z){return e.filter($.members,function(z){return F(z,I,Z)})}e.getProperties=ce;function Y($){return O($)||e.isClassStaticBlockDeclaration($)}function re($){return e.filter($.members,Y)}e.getStaticPropertiesAndClassStaticBlock=re;function F($,I,Z){return e.isPropertyDeclaration($)&&(!!$.initializer||!I)&&e.hasStaticModifier($)===Z}function O($){return e.isPropertyDeclaration($)&&e.hasStaticModifier($)}function Q($){return $.kind===166&&$.initializer!==void 0}e.isInitializedProperty=Q;function de($){return!e.isStatic($)&&e.isMethodOrAccessor($)&&e.isPrivateIdentifier($.name)}e.isNonStaticMethodOrAccessorWithPrivateName=de})(ne||(ne={}));var ne;(function(e){(function(F){F[F.All=0]="All",F[F.ObjectRest=1]="ObjectRest"})(e.FlattenLevel||(e.FlattenLevel={}));function a(F,O,Q,de,$,I){var Z=F,z;if(e.isDestructuringAssignment(F))for(z=F.right;e.isEmptyArrayLiteral(F.left)||e.isEmptyObjectLiteral(F.left);)if(e.isDestructuringAssignment(z))Z=F=z,z=F.right;else return e.visitNode(z,O,e.isExpression);var ie,m={context:Q,level:de,downlevelIteration:!!Q.getCompilerOptions().downlevelIteration,hoistTempVariables:!0,emitExpression:A,emitBindingOrAssignment:g,createArrayBindingOrAssignmentPattern:function(C){return y(Q.factory,C)},createObjectBindingOrAssignmentPattern:function(C){return ce(Q.factory,C)},createArrayBindingOrAssignmentElement:re,visitor:O};if(z&&(z=e.visitNode(z,O,e.isExpression),e.isIdentifier(z)&&u(F,z.escapedText)||r(F)?z=f(m,z,!1,Z):$?z=f(m,z,!0,Z):e.nodeIsSynthesized(F)&&(Z=z)),ue(m,F,z,Z,e.isDestructuringAssignment(F)),z&&$){if(!e.some(ie))return z;ie.push(z)}return Q.factory.inlineExpressions(ie)||Q.factory.createOmittedExpression();function A(C){ie=e.append(ie,C)}function g(C,N,_,d){e.Debug.assertNode(C,I?e.isIdentifier:e.isExpression);var E=I?I(C,N,_):e.setTextRange(Q.factory.createAssignment(e.visitNode(C,O,e.isExpression),N),_);E.original=d,A(E)}}e.flattenDestructuringAssignment=a;function u(F,O){var Q=e.getTargetOfBindingOrAssignmentElement(F);return e.isBindingOrAssignmentPattern(Q)?P(Q,O):e.isIdentifier(Q)?Q.escapedText===O:!1}function P(F,O){for(var Q=e.getElementsOfBindingOrAssignmentPattern(F),de=0,$=Q;de<$.length;de++){var I=$[de];if(u(I,O))return!0}return!1}function r(F){var O=e.tryGetPropertyNameOfBindingOrAssignmentElement(F);if(O&&e.isComputedPropertyName(O)&&!e.isLiteralExpression(O.expression))return!0;var Q=e.getTargetOfBindingOrAssignmentElement(F);return!!Q&&e.isBindingOrAssignmentPattern(Q)&&v(Q)}function v(F){return!!e.forEach(e.getElementsOfBindingOrAssignmentPattern(F),r)}function G(F,O,Q,de,$,I,Z){I===void 0&&(I=!1);var z,ie=[],m=[],A={context:Q,level:de,downlevelIteration:!!Q.getCompilerOptions().downlevelIteration,hoistTempVariables:I,emitExpression:Ne,emitBindingOrAssignment:w,createArrayBindingOrAssignmentPattern:function(R){return b(Q.factory,R)},createObjectBindingOrAssignmentPattern:function(R){return K(Q.factory,R)},createArrayBindingOrAssignmentElement:function(R){return Y(Q.factory,R)},visitor:O};if(e.isVariableDeclaration(F)){var g=e.getInitializerOfBindingOrAssignmentElement(F);g&&(e.isIdentifier(g)&&u(F,g.escapedText)||r(F))&&(g=f(A,e.visitNode(g,A.visitor),!1,g),F=Q.factory.updateVariableDeclaration(F,F.name,void 0,void 0,g))}if(ue(A,F,$,F,Z),z){var C=Q.factory.createTempVariable(void 0);if(I){var N=Q.factory.inlineExpressions(z);z=void 0,w(C,N,void 0,void 0)}else{Q.hoistVariableDeclaration(C);var _=e.last(ie);_.pendingExpressions=e.append(_.pendingExpressions,Q.factory.createAssignment(C,_.value)),e.addRange(_.pendingExpressions,z),_.value=C}}for(var d=0,E=ie;d=1&&!(g.transformFlags&49152)&&!(e.getTargetOfBindingOrAssignmentElement(g).transformFlags&49152)&&!e.isComputedPropertyName(N))ie=e.append(ie,e.visitNode(g,F.visitor));else{ie&&(F.emitBindingOrAssignment(F.createObjectBindingOrAssignmentPattern(ie),de,$,Q),ie=void 0);var C=le(F,de,N);e.isComputedPropertyName(N)&&(m=e.append(m,C.argumentExpression)),ue(F,g,C,g)}}}ie&&F.emitBindingOrAssignment(F.createObjectBindingOrAssignmentPattern(ie),de,$,Q)}function S(F,O,Q,de,$){var I=e.getElementsOfBindingOrAssignmentPattern(Q),Z=I.length;if(F.level<1&&F.downlevelIteration)de=f(F,e.setTextRange(F.context.getEmitHelperFactory().createReadHelper(de,Z>0&&e.getRestIndicatorOfBindingOrAssignmentElement(I[Z-1])?void 0:Z),$),!1,$);else if(Z!==1&&(F.level<1||Z===0)||e.every(I,e.isOmittedExpression)){var z=!e.isDeclarationBindingElement(O)||Z!==0;de=f(F,de,z,$)}for(var ie,m,A=0;A=1)if(g.transformFlags&32768||F.hasTransformedPriorElement&&!k(g)){F.hasTransformedPriorElement=!0;var C=F.context.factory.createTempVariable(void 0);F.hoistTempVariables&&F.context.hoistVariableDeclaration(C),m=e.append(m,[C,g]),ie=e.append(ie,F.createArrayBindingOrAssignmentElement(C))}else ie=e.append(ie,g);else{if(e.isOmittedExpression(g))continue;if(e.getRestIndicatorOfBindingOrAssignmentElement(g)){if(A===Z-1){var N=F.context.factory.createArraySliceCall(de,A);ue(F,g,N,g)}}else{var N=F.context.factory.createElementAccessExpression(de,A);ue(F,g,N,g)}}}if(ie&&F.emitBindingOrAssignment(F.createArrayBindingOrAssignmentPattern(ie),de,$,Q),m)for(var _=0,d=m;_=e.ModuleKind.ES2015)&&!e.isJsonSourceFile(qe);return v.updateSourceFile(qe,e.visitLexicalEnvironment(qe.statements,d,r,0,D))}function R(qe,D){var De=0;e.some(D)&&(De|=1);var Ke=e.getEffectiveBaseTypeNode(qe);return Ke&&e.skipOuterExpressions(Ke.expression).kind!==104&&(De|=64),e.classOrConstructorParameterIsDecorated(qe)&&(De|=2),e.childIsDecorated(qe)&&(De|=4),Bi(qe)?De|=8:Xt(qe)?De|=32:$i(qe)&&(De|=16),b<=1&&De&7&&(De|=128),De}function L(qe){return!!(qe.transformFlags&4096)}function V(qe){return e.some(qe.decorators)||e.some(qe.typeParameters)||e.some(qe.heritageClauses,L)||e.some(qe.members,L)}function Te(qe){if(!V(qe)&&!(re&&e.hasSyntacticModifier(qe,1)))return e.visitEachChild(qe,N,r);var D=e.getProperties(qe,!0,!0),De=R(qe,D);De&128&&r.startLexicalEnvironment();var Ke=qe.name||(De&5?v.getGeneratedNameForNode(qe):void 0),nt=De&2?we(qe,Ke):Se(qe,Ke,De),Mt=[nt];if(ft(Mt,qe,!1),ft(Mt,qe,!0),At(Mt,qe),De&128){var _n=e.createTokenRange(e.skipTrivia(Y.text,qe.members.end),19),Dn=v.getInternalName(qe),Vn=v.createPartiallyEmittedExpression(Dn);e.setTextRangeEnd(Vn,_n.end),e.setEmitFlags(Vn,1536);var mr=v.createReturnStatement(Vn);e.setTextRangePos(mr,_n.pos),e.setEmitFlags(mr,1920),Mt.push(mr),e.insertStatementsAfterStandardPrologue(Mt,r.endLexicalEnvironment());var Xr=v.createImmediatelyInvokedArrowFunction(Mt);e.setEmitFlags(Xr,33554432);var Pi=v.createVariableStatement(void 0,v.createVariableDeclarationList([v.createVariableDeclaration(v.getLocalName(qe,!1,!1),void 0,void 0,Xr)]));e.setOriginalNode(Pi,qe),e.setCommentRange(Pi,qe),e.setSourceMapRange(Pi,e.moveRangePastDecorators(qe)),e.startOnNewLine(Pi),Mt=[Pi]}return De&8?xa(Mt,qe):(De&128||De&2)&&(De&32?Mt.push(v.createExportDefault(v.getLocalName(qe,!1,!0))):De&16&&Mt.push(v.createExternalModuleExport(v.getLocalName(qe,!1,!0)))),Mt.length>1&&(Mt.push(v.createEndOfDeclarationMarker(qe)),e.setEmitFlags(nt,e.getEmitFlags(nt)|4194304)),e.singleOrMany(Mt)}function Se(qe,D,De){var Ke=De&128?void 0:e.visitNodes(qe.modifiers,pe,e.isModifier),nt=v.createClassDeclaration(void 0,Ke,D,void 0,e.visitNodes(qe.heritageClauses,N,e.isHeritageClause),et(qe)),Mt=e.getEmitFlags(qe);return De&1&&(Mt|=32),e.setTextRange(nt,qe),e.setOriginalNode(nt,qe),e.setEmitFlags(nt,Mt),nt}function we(qe,D){var De=e.moveRangePastDecorators(qe),Ke=Mo(qe),nt=b<=2?v.getInternalName(qe,!1,!0):v.getLocalName(qe,!1,!0),Mt=e.visitNodes(qe.heritageClauses,N,e.isHeritageClause),_n=et(qe),Dn=v.createClassExpression(void 0,void 0,D,void 0,Mt,_n);e.setOriginalNode(Dn,qe),e.setTextRange(Dn,De);var Vn=v.createVariableStatement(void 0,v.createVariableDeclarationList([v.createVariableDeclaration(nt,void 0,void 0,Ke?v.createAssignment(Ke,Dn):Dn)],1));return e.setOriginalNode(Vn,qe),e.setTextRange(Vn,De),e.setCommentRange(Vn,qe),Vn}function He(qe){if(!V(qe))return e.visitEachChild(qe,N,r);var D=v.createClassExpression(void 0,void 0,qe.name,void 0,e.visitNodes(qe.heritageClauses,N,e.isHeritageClause),et(qe));return e.setOriginalNode(D,qe),e.setTextRange(D,qe),D}function et(qe){var D=[],De=e.getFirstConstructorWithBody(qe),Ke=De&&e.filter(De.parameters,function(Dn){return e.isParameterPropertyDeclaration(Dn,De)});if(Ke)for(var nt=0,Mt=Ke;nt0&&e.parameterIsThisKeyword(De[0]),nt=Ke?1:0,Mt=Ke?De.length-1:De.length,_n=0;_n0?D.kind===166?v.createVoidZero():v.createNull():void 0,Dn=G().createDecorateHelper(Ke,nt,Mt,_n);return e.setTextRange(Dn,e.moveRangePastDecorators(D)),e.setEmitFlags(Dn,1536),Dn}}function At(qe,D){var De=qt(D);De&&qe.push(e.setOriginalNode(v.createExpressionStatement(De),D))}function qt(qe){var D=ve(qe),De=ze(qe,qe,D);if(De){var Ke=Z&&Z[e.getOriginalNodeId(qe)],nt=b<=2?v.getInternalName(qe,!1,!0):v.getLocalName(qe,!1,!0),Mt=G().createDecorateHelper(De,nt),_n=v.createAssignment(nt,Ke?v.createAssignment(Ke,Mt):Mt);return e.setEmitFlags(_n,1536),e.setSourceMapRange(_n,e.moveRangePastDecorators(qe)),_n}}function Ue(qe){return e.visitNode(qe.expression,N,e.isExpression)}function Ie(qe,D){var De;if(qe){De=[];for(var Ke=0,nt=qe;Ke=0&&e.addRange(Ke,e.visitNodes(qe.statements,N,e.isStatement,nt,Mt+1-nt));var _n=e.mapDefined(De,lt);Mt>=0?e.addRange(Ke,_n):Ke=e.addRange(_n,Ke),e.addRange(Ke,e.visitNodes(qe.statements,N,e.isStatement,Mt+1)),Ke=v.mergeLexicalEnvironment(Ke,S());var Dn=v.createBlock(e.setTextRange(v.createNodeArray(Ke),qe.statements),!0);return e.setTextRange(Dn,qe),e.setOriginalNode(Dn,qe),Dn}function lt(qe){var D=qe.name;if(e.isIdentifier(D)){var De=e.setParent(e.setTextRange(v.cloneNode(D),D),D.parent);e.setEmitFlags(De,1584);var Ke=e.setParent(e.setTextRange(v.cloneNode(D),D),D.parent);return e.setEmitFlags(Ke,1536),e.startOnNewLine(e.removeAllComments(e.setTextRange(e.setOriginalNode(v.createExpressionStatement(v.createAssignment(e.setTextRange(v.createPropertyAccessExpression(v.createThis(),De),qe.name),Ke)),qe),e.moveRangePos(qe,-1))))}}function Le(qe){if(zt(qe)){var D=v.updateMethodDeclaration(qe,void 0,e.visitNodes(qe.modifiers,pe,e.isModifier),qe.asteriskToken,tn(qe),void 0,void 0,e.visitParameterList(qe.parameters,N,r),void 0,e.visitFunctionBody(qe.body,N,r));return D!==qe&&(e.setCommentRange(D,qe),e.setSourceMapRange(D,e.moveRangePastDecorators(qe))),D}}function ee(qe){return!(e.nodeIsMissing(qe.body)&&e.hasSyntacticModifier(qe,128))}function xe(qe){if(ee(qe)){var D=v.updateGetAccessorDeclaration(qe,void 0,e.visitNodes(qe.modifiers,pe,e.isModifier),tn(qe),e.visitParameterList(qe.parameters,N,r),void 0,e.visitFunctionBody(qe.body,N,r)||v.createBlock([]));return D!==qe&&(e.setCommentRange(D,qe),e.setSourceMapRange(D,e.moveRangePastDecorators(qe))),D}}function H(qe){if(ee(qe)){var D=v.updateSetAccessorDeclaration(qe,void 0,e.visitNodes(qe.modifiers,pe,e.isModifier),tn(qe),e.visitParameterList(qe.parameters,N,r),e.visitFunctionBody(qe.body,N,r)||v.createBlock([]));return D!==qe&&(e.setCommentRange(D,qe),e.setSourceMapRange(D,e.moveRangePastDecorators(qe))),D}}function ae(qe){if(!zt(qe))return v.createNotEmittedStatement(qe);var D=v.updateFunctionDeclaration(qe,void 0,e.visitNodes(qe.modifiers,pe,e.isModifier),qe.asteriskToken,qe.name,void 0,e.visitParameterList(qe.parameters,N,r),void 0,e.visitFunctionBody(qe.body,N,r)||v.createBlock([]));if(Bi(qe)){var De=[D];return xa(De,qe),De}return D}function Re(qe){if(!zt(qe))return v.createOmittedExpression();var D=v.updateFunctionExpression(qe,e.visitNodes(qe.modifiers,pe,e.isModifier),qe.asteriskToken,qe.name,void 0,e.visitParameterList(qe.parameters,N,r),void 0,e.visitFunctionBody(qe.body,N,r)||v.createBlock([]));return D}function it(qe){var D=v.updateArrowFunction(qe,e.visitNodes(qe.modifiers,pe,e.isModifier),void 0,e.visitParameterList(qe.parameters,N,r),void 0,qe.equalsGreaterThanToken,e.visitFunctionBody(qe.body,N,r));return D}function ut(qe){if(!e.parameterIsThisKeyword(qe)){var D=v.updateParameterDeclaration(qe,void 0,void 0,qe.dotDotDotToken,e.visitNode(qe.name,N,e.isBindingName),void 0,void 0,e.visitNode(qe.initializer,N,e.isExpression));return D!==qe&&(e.setCommentRange(D,qe),e.setTextRange(D,e.moveRangePastModifiers(qe)),e.setSourceMapRange(D,e.moveRangePastModifiers(qe)),e.setEmitFlags(D.name,32)),D}}function Qe(qe){if(Bi(qe)){var D=e.getInitializedVariables(qe.declarationList);return D.length===0?void 0:e.setTextRange(v.createExpressionStatement(v.inlineExpressions(e.map(D,cn))),qe)}else return e.visitEachChild(qe,N,r)}function cn(qe){var D=qe.name;return e.isBindingPattern(D)?e.flattenDestructuringAssignment(qe,N,r,0,!1,po):e.setTextRange(v.createAssignment(Ua(D),e.visitNode(qe.initializer,N,e.isExpression)),qe)}function vn(qe){return v.updateVariableDeclaration(qe,e.visitNode(qe.name,N,e.isBindingName),void 0,void 0,e.visitNode(qe.initializer,N,e.isExpression))}function Ut(qe){var D=e.skipOuterExpressions(qe.expression,-7);if(e.isAssertionExpression(D)){var De=e.visitNode(qe.expression,N,e.isExpression);return v.createPartiallyEmittedExpression(De,qe)}return e.visitEachChild(qe,N,r)}function $e(qe){var D=e.visitNode(qe.expression,N,e.isExpression);return v.createPartiallyEmittedExpression(D,qe)}function Ct(qe){var D=e.visitNode(qe.expression,N,e.isLeftHandSideExpression);return v.createPartiallyEmittedExpression(D,qe)}function kt(qe){return v.updateCallExpression(qe,e.visitNode(qe.expression,N,e.isExpression),void 0,e.visitNodes(qe.arguments,N,e.isExpression))}function en(qe){return v.updateNewExpression(qe,e.visitNode(qe.expression,N,e.isExpression),void 0,e.visitNodes(qe.arguments,N,e.isExpression))}function mn(qe){return v.updateTaggedTemplateExpression(qe,e.visitNode(qe.tag,N,e.isExpression),void 0,e.visitNode(qe.template,N,e.isExpression))}function hn(qe){return v.updateJsxSelfClosingElement(qe,e.visitNode(qe.tagName,N,e.isJsxTagNameExpression),void 0,e.visitNode(qe.attributes,N,e.isJsxAttributes))}function Pn(qe){return v.updateJsxOpeningElement(qe,e.visitNode(qe.tagName,N,e.isJsxTagNameExpression),void 0,e.visitNode(qe.attributes,N,e.isJsxAttributes))}function Fn(qe){return!e.isEnumConst(qe)||e.shouldPreserveConstEnums(le)}function An(qe){if(!Fn(qe))return v.createNotEmittedStatement(qe);var D=[],De=2,Ke=li(D,qe);Ke&&(y!==e.ModuleKind.System||O!==Y)&&(De|=512);var nt=is(qe),Mt=ao(qe),_n=e.hasSyntacticModifier(qe,1)?v.getExternalModuleOrNamespaceExportName(F,qe,!1,!0):v.getLocalName(qe,!1,!0),Dn=v.createLogicalOr(_n,v.createAssignment(_n,v.createObjectLiteralExpression()));if(Fr(qe)){var Vn=v.getLocalName(qe,!1,!0);Dn=v.createAssignment(Vn,Dn)}var mr=v.createExpressionStatement(v.createCallExpression(v.createFunctionExpression(void 0,void 0,void 0,void 0,[v.createParameterDeclaration(void 0,void 0,void 0,nt)],void 0,Tn(qe,Mt)),void 0,[Dn]));return e.setOriginalNode(mr,qe),Ke&&(e.setSyntheticLeadingComments(mr,void 0),e.setSyntheticTrailingComments(mr,void 0)),e.setTextRange(mr,qe),e.addEmitFlags(mr,De),D.push(mr),D.push(v.createEndOfDeclarationMarker(qe)),D}function Tn(qe,D){var De=F;F=D;var Ke=[];ue();var nt=e.map(qe.members,qn);return e.insertStatementsAfterStandardPrologue(Ke,S()),e.addRange(Ke,nt),F=De,v.createBlock(e.setTextRange(v.createNodeArray(Ke),qe.members),!0)}function qn(qe){var D=Ze(qe,!1),De=xn(qe),Ke=v.createAssignment(v.createElementAccessExpression(F,D),De),nt=De.kind===10?Ke:v.createAssignment(v.createElementAccessExpression(F,Ke),D);return e.setTextRange(v.createExpressionStatement(e.setTextRange(nt,qe)),qe)}function xn(qe){var D=se.getConstantValue(qe);return D!==void 0?typeof D=="string"?v.createStringLiteral(D):v.createNumericLiteral(D):(ta(),qe.initializer?e.visitNode(qe.initializer,N,e.isExpression):v.createVoidZero())}function rr(qe){var D=e.getParseTreeNode(qe,e.isModuleDeclaration);return D?e.isInstantiatedModule(D,e.shouldPreserveConstEnums(le)):!0}function Fr(qe){return Bi(qe)||Da(qe)&&y!==e.ModuleKind.ES2015&&y!==e.ModuleKind.ES2020&&y!==e.ModuleKind.ES2022&&y!==e.ModuleKind.ESNext&&y!==e.ModuleKind.System}function di(qe){de||(de=new e.Map);var D=Oi(qe);de.has(D)||de.set(D,qe)}function pi(qe){if(de){var D=Oi(qe);return de.get(D)===qe}return!0}function Oi(qe){return e.Debug.assertNode(qe.name,e.isIdentifier),qe.name.escapedText}function li(qe,D){var De=v.createVariableStatement(e.visitNodes(D.modifiers,pe,e.isModifier),v.createVariableDeclarationList([v.createVariableDeclaration(v.getLocalName(D,!1,!0))],O.kind===303?0:1));if(e.setOriginalNode(De,D),di(D),pi(D))return D.kind===259?e.setSourceMapRange(De.declarationList,D):e.setSourceMapRange(De,D),e.setCommentRange(De,D),e.addEmitFlags(De,4195328),qe.push(De),!0;var Ke=v.createMergeDeclarationMarker(De);return e.setEmitFlags(Ke,4195840),qe.push(Ke),!1}function lr(qe){if(!rr(qe))return v.createNotEmittedStatement(qe);e.Debug.assertNode(qe.name,e.isIdentifier,"A TypeScript namespace should have an Identifier name."),qo();var D=[],De=2,Ke=li(D,qe);Ke&&(y!==e.ModuleKind.System||O!==Y)&&(De|=512);var nt=is(qe),Mt=ao(qe),_n=e.hasSyntacticModifier(qe,1)?v.getExternalModuleOrNamespaceExportName(F,qe,!1,!0):v.getLocalName(qe,!1,!0),Dn=v.createLogicalOr(_n,v.createAssignment(_n,v.createObjectLiteralExpression()));if(Fr(qe)){var Vn=v.getLocalName(qe,!1,!0);Dn=v.createAssignment(Vn,Dn)}var mr=v.createExpressionStatement(v.createCallExpression(v.createFunctionExpression(void 0,void 0,void 0,void 0,[v.createParameterDeclaration(void 0,void 0,void 0,nt)],void 0,In(qe,Mt)),void 0,[Dn]));return e.setOriginalNode(mr,qe),Ke&&(e.setSyntheticLeadingComments(mr,void 0),e.setSyntheticTrailingComments(mr,void 0)),e.setTextRange(mr,qe),e.addEmitFlags(mr,De),D.push(mr),D.push(v.createEndOfDeclarationMarker(qe)),D}function In(qe,D){var De=F,Ke=re,nt=de;F=D,re=qe,de=void 0;var Mt=[];ue();var _n,Dn;if(qe.body)if(qe.body.kind===261)g(qe.body,function(Pi){return e.addRange(Mt,e.visitNodes(Pi.statements,B,e.isStatement))}),_n=qe.body.statements,Dn=qe.body;else{var Vn=lr(qe.body);Vn&&(e.isArray(Vn)?e.addRange(Mt,Vn):Mt.push(Vn));var mr=Qn(qe).body;_n=e.moveRangePos(mr.statements,-1)}e.insertStatementsAfterStandardPrologue(Mt,S()),F=De,re=Ke,de=nt;var Xr=v.createBlock(e.setTextRange(v.createNodeArray(Mt),_n),!0);return e.setTextRange(Xr,Dn),(!qe.body||qe.body.kind!==261)&&e.setEmitFlags(Xr,e.getEmitFlags(Xr)|1536),Xr}function Qn(qe){if(qe.body.kind===260){var D=Qn(qe.body);return D||qe.body}}function Yn(qe){if(!qe.importClause)return qe;if(!qe.importClause.isTypeOnly){var D=e.visitNode(qe.importClause,Ar,e.isImportClause);return D||le.importsNotUsedAsValues===1||le.importsNotUsedAsValues===2?v.updateImportDeclaration(qe,void 0,void 0,D,qe.moduleSpecifier,qe.assertClause):void 0}}function Ar(qe){e.Debug.assert(!qe.isTypeOnly);var D=gi(qe)?qe.name:void 0,De=e.visitNode(qe.namedBindings,gr,e.isNamedImportBindings);return D||De?v.updateImportClause(qe,!1,D,De):void 0}function gr(qe){if(qe.kind===267)return gi(qe)?qe:void 0;var D=le.preserveValueImports&&(le.importsNotUsedAsValues===1||le.importsNotUsedAsValues===2),De=e.visitNodes(qe.elements,Si,e.isImportSpecifier);return D||e.some(De)?v.updateNamedImports(qe,De):void 0}function Si(qe){return!qe.isTypeOnly&&gi(qe)?qe:void 0}function _i(qe){return se.isValueAliasDeclaration(qe)?e.visitEachChild(qe,N,r):void 0}function Nn(qe){if(!qe.isTypeOnly){if(!qe.exportClause||e.isNamespaceExport(qe.exportClause))return qe;var D=!!qe.moduleSpecifier&&(le.importsNotUsedAsValues===1||le.importsNotUsedAsValues===2),De=e.visitNode(qe.exportClause,function(Ke){return jt(Ke,D)},e.isNamedExportBindings);return De?v.updateExportDeclaration(qe,void 0,void 0,qe.isTypeOnly,De,qe.moduleSpecifier,qe.assertClause):void 0}}function Rn(qe,D){var De=e.visitNodes(qe.elements,pr,e.isExportSpecifier);return D||e.some(De)?v.updateNamedExports(qe,De):void 0}function Bn(qe){return v.updateNamespaceExport(qe,e.visitNode(qe.name,N,e.isIdentifier))}function jt(qe,D){return e.isNamespaceExport(qe)?Bn(qe):Rn(qe,D)}function pr(qe){return!qe.isTypeOnly&&se.isValueAliasDeclaration(qe)?qe:void 0}function br(qe){return gi(qe)||!e.isExternalModule(Y)&&se.isTopLevelValueImportEqualsWithEntityName(qe)}function Ci(qe){if(!qe.isTypeOnly){if(e.isExternalModuleImportEqualsDeclaration(qe)){var D=gi(qe);return!D&&le.importsNotUsedAsValues===1?e.setOriginalNode(e.setTextRange(v.createImportDeclaration(void 0,void 0,void 0,qe.moduleReference.expression,void 0),qe),qe):D?e.visitEachChild(qe,N,r):void 0}if(br(qe)){var De=e.createExpressionFromEntityName(v,qe.moduleReference);return e.setEmitFlags(De,3584),$i(qe)||!Bi(qe)?e.setOriginalNode(e.setTextRange(v.createVariableStatement(e.visitNodes(qe.modifiers,pe,e.isModifier),v.createVariableDeclarationList([e.setOriginalNode(v.createVariableDeclaration(qe.name,void 0,void 0,De),qe)])),qe),qe):e.setOriginalNode(so(qe.name,De,qe),qe)}}}function Bi(qe){return re!==void 0&&e.hasSyntacticModifier(qe,1)}function Da(qe){return re===void 0&&e.hasSyntacticModifier(qe,1)}function $i(qe){return Da(qe)&&!e.hasSyntacticModifier(qe,512)}function Xt(qe){return Da(qe)&&e.hasSyntacticModifier(qe,512)}function ja(qe){return v.createExpressionStatement(qe)}function xa(qe,D){var De=v.createAssignment(v.getExternalModuleOrNamespaceExportName(F,D,!1,!0),v.getLocalName(D));e.setSourceMapRange(De,e.createRange(D.name?D.name.pos:D.pos,D.end));var Ke=v.createExpressionStatement(De);e.setSourceMapRange(Ke,e.createRange(-1,D.end)),qe.push(Ke)}function so(qe,D,De){return e.setTextRange(v.createExpressionStatement(v.createAssignment(v.getNamespaceMemberName(F,qe,!1,!0),D)),De)}function po(qe,D,De){return e.setTextRange(v.createAssignment(Ua(qe),D),De)}function Ua(qe){return v.getNamespaceMemberName(F,qe,!1,!0)}function is(qe){var D=v.getGeneratedNameForNode(qe);return e.setSourceMapRange(D,qe.name),D}function ao(qe){return v.getGeneratedNameForNode(qe)}function Mo(qe){if(se.getNodeCheckFlags(qe)&16777216){ls();var D=v.createUniqueName(qe.name&&!e.isGeneratedIdentifier(qe.name)?e.idText(qe.name):"default");return Z[e.getOriginalNodeId(qe)]=D,k(D),D}}function xo(qe){return v.createPropertyAccessExpression(v.getDeclarationName(qe),"prototype")}function as(qe,D){return e.isStatic(D)?v.getDeclarationName(qe):xo(qe)}function ta(){(I&8)===0&&(I|=8,r.enableSubstitution(79))}function ls(){(I&1)===0&&(I|=1,r.enableSubstitution(79),Z=[])}function qo(){(I&2)===0&&(I|=2,r.enableSubstitution(79),r.enableSubstitution(295),r.enableEmitNotification(260))}function bo(qe){return e.getOriginalNode(qe).kind===260}function pa(qe){return e.getOriginalNode(qe).kind===259}function oo(qe,D,De){var Ke=z,nt=Y;e.isSourceFile(D)&&(Y=D),I&2&&bo(D)&&(z|=2),I&8&&pa(D)&&(z|=8),K(qe,D,De),z=Ke,Y=nt}function Ro(qe,D){return D=ce(qe,D),qe===1?_s(D):e.isShorthandPropertyAssignment(D)?jo(D):D}function jo(qe){if(I&2){var D=qe.name,De=ec(D);if(De){if(qe.objectAssignmentInitializer){var Ke=v.createAssignment(De,qe.objectAssignmentInitializer);return e.setTextRange(v.createPropertyAssignment(D,Ke),qe)}return e.setTextRange(v.createPropertyAssignment(D,De),qe)}}return qe}function _s(qe){switch(qe.kind){case 79:return ds(qe);case 205:return xt(qe);case 206:return Sn(qe)}return qe}function ds(qe){return Fs(qe)||ec(qe)||qe}function Fs(qe){if(I&1&&se.getNodeCheckFlags(qe)&33554432){var D=se.getReferencedValueDeclaration(qe);if(D){var De=Z[D.id];if(De){var Ke=v.cloneNode(De);return e.setSourceMapRange(Ke,qe),e.setCommentRange(Ke,qe),Ke}}}}function ec(qe){if(I&z&&!e.isGeneratedIdentifier(qe)&&!e.isLocalName(qe)){var D=se.getReferencedExportContainer(qe,!1);if(D&&D.kind!==303){var De=z&2&&D.kind===260||z&8&&D.kind===259;if(De)return e.setTextRange(v.createPropertyAccessExpression(v.getGeneratedNameForNode(D),qe),qe)}}}function xt(qe){return fr(qe)}function Sn(qe){return fr(qe)}function fr(qe){var D=ai(qe);if(D!==void 0){e.setConstantValue(qe,D);var De=typeof D=="string"?v.createStringLiteral(D):v.createNumericLiteral(D);if(!le.removeComments){var Ke=e.getOriginalNode(qe,e.isAccessExpression),nt=e.isPropertyAccessExpression(Ke)?e.declarationNameToString(Ke.name):e.getTextOfNode(Ke.argumentExpression);e.addSyntheticTrailingComment(De,3," ".concat(nt," "))}return De}return qe}function ai(qe){if(!le.isolatedModules)return e.isPropertyAccessExpression(qe)||e.isElementAccessExpression(qe)?se.getConstantValue(qe):void 0}function gi(qe){return le.preserveValueImports?se.isValueAliasDeclaration(qe):se.isReferencedAliasDeclaration(qe)}}e.transformTypeScript=P})(ne||(ne={}));var ne;(function(e){var a;(function(h){h[h.ClassAliases=1]="ClassAliases",h[h.ClassStaticThisOrSuperReference=2]="ClassStaticThisOrSuperReference"})(a||(a={})),function(h){h.Field="f",h.Method="m",h.Accessor="a"}(e.PrivateIdentifierKind||(e.PrivateIdentifierKind={}));var u;(function(h){h[h.None=0]="None",h[h.ClassWasDecorated=1]="ClassWasDecorated",h[h.NeedsClassConstructorReference=2]="NeedsClassConstructorReference",h[h.NeedsClassSuperReference=4]="NeedsClassSuperReference",h[h.NeedsSubstitutionForThisInClassStaticField=8]="NeedsSubstitutionForThisInClassStaticField"})(u||(u={}));function P(h){var S=h.factory,k=h.hoistVariableDeclaration,se=h.endLexicalEnvironment,le=h.startLexicalEnvironment,f=h.resumeLexicalEnvironment,b=h.addBlockScopedVariable,y=h.getEmitResolver(),K=h.getCompilerOptions(),ce=e.getEmitScriptTarget(K),Y=e.getUseDefineForClassFields(K),re=ce<9,F=ce<9,O=F&&ce>=2,Q=h.onSubstituteNode;h.onSubstituteNode=yt;var de=h.onEmitNode;h.onEmitNode=he;var $,I,Z,z,ie=[],m=new e.Map,A,g,C;return e.chainBundle(h,N);function N(H){var ae=h.getCompilerOptions();if(H.isDeclarationFile||Y&&e.getEmitScriptTarget(ae)>=9)return H;var Re=e.visitEachChild(H,E,h);return e.addEmitHelpers(Re,h.readEmitHelpers()),Re}function _(H,ae){if(H.transformFlags&8388608)switch(H.kind){case 225:case 256:return Oe(H);case 166:return L(H);case 236:return pe(H);case 80:return W(H);case 169:return At(H)}if(H.transformFlags&8388608||H.transformFlags&33554432&&O&&C&&A)switch(H.kind){case 218:case 219:return He(H,ae);case 220:return ve(H,ae);case 207:return Fe(H);case 209:return ot(H);case 205:return Se(H);case 206:return we(H);case 237:return pt(H);case 241:return et(H);case 255:case 212:case 170:case 168:case 171:case 172:{var Re=C;C=void 0;var it=e.visitEachChild(H,E,h);return C=Re,it}}return e.visitEachChild(H,E,h)}function d(H){return _(H,!0)}function E(H){return _(H,!1)}function j(H){switch(H.kind){case 290:return e.visitEachChild(H,j,h);case 227:return ft(H)}return E(H)}function B(H){switch(H.kind){case 204:case 203:return xe(H);default:return E(H)}}function W(H){return!re||e.isStatement(H.parent)?H:e.setOriginalNode(S.createIdentifier(""),H)}function J(H){if(!re)return H;var ae=H.left;e.Debug.assertNode(ae,e.isPrivateIdentifier),e.Debug.assert(H.operatorToken.kind===101);var Re=Ge(ae);if(Re){var it=e.visitNode(H.right,E,e.isExpression);return e.setOriginalNode(h.getEmitHelperFactory().createClassPrivateFieldInHelper(Re.brandCheckIdentifier,it),H)}return e.visitEachChild(H,E,h)}function M(H){switch(H.kind){case 170:return;case 171:case 172:case 168:return w(H);case 166:return L(H);case 161:return Ne(H);case 233:return H;default:return E(H)}}function pe(H){var ae=z;z=[];var Re=e.visitEachChild(H,E,h),it=e.some(z)?tt([Re],z,!0):Re;return z=ae,it}function Ne(H){var ae=e.visitEachChild(H,E,h);if(e.some(Z)){var Re=Z;Re.push(ae.expression),Z=[],ae=S.updateComputedPropertyName(ae,S.inlineExpressions(Re))}return ae}function w(H){if(e.Debug.assert(!e.some(H.decorators)),!re||!e.isPrivateIdentifier(H.name))return e.visitEachChild(H,M,h);var ae=Ge(H.name);if(e.Debug.assert(ae,"Undeclared private name for property declaration."),!ae.isValid)return H;var Re=R(H);Re&&Bt().push(S.createAssignment(Re,S.createFunctionExpression(e.filter(H.modifiers,function(it){return!e.isStaticModifier(it)}),H.asteriskToken,Re,void 0,e.visitParameterList(H.parameters,M,h),void 0,e.visitFunctionBody(H.body,M,h))))}function R(H){e.Debug.assert(e.isPrivateIdentifier(H.name));var ae=Ge(H.name);if(e.Debug.assert(ae,"Undeclared private name for property declaration."),ae.kind==="m")return ae.methodName;if(ae.kind==="a"){if(e.isGetAccessor(H))return ae.getterName;if(e.isSetAccessor(H))return ae.setterName}}function L(H){if(e.Debug.assert(!e.some(H.decorators)),e.isPrivateIdentifier(H.name)){if(!re)return e.isStatic(H)?e.visitEachChild(H,E,h):S.updatePropertyDeclaration(H,void 0,e.visitNodes(H.modifiers,E,e.isModifier),H.name,void 0,void 0,void 0);var ae=Ge(H.name);if(e.Debug.assert(ae,"Undeclared private name for property declaration."),!ae.isValid)return H}var Re=Zn(H.name,!!H.initializer||Y);if(Re&&!e.isSimpleInlineableExpression(Re)&&Bt().push(Re),e.isStatic(H)&&!re&&!Y){var it=fe(H,S.createThis());if(it){var ut=S.createClassStaticBlockDeclaration(void 0,void 0,S.createBlock([it]));return e.setOriginalNode(ut,H),e.setCommentRange(ut,H),e.setCommentRange(it,{pos:-1,end:-1}),e.setSyntheticLeadingComments(it,void 0),e.setSyntheticTrailingComments(it,void 0),ut}}}function V(H,ae){return Te(H,e.visitNode(ae,E,e.isExpression))}function Te(H,ae){switch(e.setCommentRange(ae,e.moveRangePos(ae,-1)),H.kind){case"a":return h.getEmitHelperFactory().createClassPrivateFieldGetHelper(ae,H.brandCheckIdentifier,H.kind,H.getterName);case"m":return h.getEmitHelperFactory().createClassPrivateFieldGetHelper(ae,H.brandCheckIdentifier,H.kind,H.methodName);case"f":return h.getEmitHelperFactory().createClassPrivateFieldGetHelper(ae,H.brandCheckIdentifier,H.kind,H.variableName);default:e.Debug.assertNever(H,"Unknown private element type")}}function Se(H){if(re&&e.isPrivateIdentifier(H.name)){var ae=Ge(H.name);if(ae)return e.setTextRange(e.setOriginalNode(V(ae,H.expression),H),H)}if(O&&e.isSuperProperty(H)&&e.isIdentifier(H.name)&&C&&A){var Re=A.classConstructor,it=A.superClassReference,ut=A.facts;if(ut&1)return pn(H);if(Re&&it){var Qe=S.createReflectGetCall(it,S.createStringLiteralFromNode(H.name),Re);return e.setOriginalNode(Qe,H.expression),e.setTextRange(Qe,H.expression),Qe}}return e.visitEachChild(H,E,h)}function we(H){if(O&&e.isSuperProperty(H)&&C&&A){var ae=A.classConstructor,Re=A.superClassReference,it=A.facts;if(it&1)return pn(H);if(ae&&Re){var ut=S.createReflectGetCall(Re,e.visitNode(H.argumentExpression,E,e.isExpression),ae);return e.setOriginalNode(ut,H.expression),e.setTextRange(ut,H.expression),ut}}return e.visitEachChild(H,E,h)}function He(H,ae){if(H.operator===45||H.operator===46){if(re&&e.isPrivateIdentifierPropertyAccessExpression(H.operand)){var Re=void 0;if(Re=Ge(H.operand.name)){var it=e.visitNode(H.operand.expression,E,e.isExpression),ut=Me(it),Qe=ut.readExpression,cn=ut.initializeExpression,vn=V(Re,Qe),Ut=e.isPrefixUnaryExpression(H)||ae?void 0:S.createTempVariable(k);return vn=e.expandPreOrPostfixIncrementOrDecrementExpression(S,H,vn,k,Ut),vn=be(Re,cn||Qe,vn,63),e.setOriginalNode(vn,H),e.setTextRange(vn,H),Ut&&(vn=S.createComma(vn,Ut),e.setTextRange(vn,H)),vn}}else if(O&&e.isSuperProperty(H.operand)&&C&&A){var $e=A.classConstructor,Ct=A.superClassReference,kt=A.facts;if(kt&1){var en=pn(H.operand);return e.isPrefixUnaryExpression(H)?S.updatePrefixUnaryExpression(H,en):S.updatePostfixUnaryExpression(H,en)}if($e&&Ct){var mn=void 0,hn=void 0;if(e.isPropertyAccessExpression(H.operand)?e.isIdentifier(H.operand.name)&&(hn=mn=S.createStringLiteralFromNode(H.operand.name)):e.isSimpleInlineableExpression(H.operand.argumentExpression)?hn=mn=H.operand.argumentExpression:(hn=S.createTempVariable(k),mn=S.createAssignment(hn,e.visitNode(H.operand.argumentExpression,E,e.isExpression))),mn&&hn){var vn=S.createReflectGetCall(Ct,hn,$e);e.setTextRange(vn,H.operand);var Ut=ae?void 0:S.createTempVariable(k);return vn=e.expandPreOrPostfixIncrementOrDecrementExpression(S,H,vn,k,Ut),vn=S.createReflectSetCall(Ct,mn,vn,$e),e.setOriginalNode(vn,H),e.setTextRange(vn,H),Ut&&(vn=S.createComma(vn,Ut),e.setTextRange(vn,H)),vn}}}}return e.visitEachChild(H,E,h)}function et(H){return S.updateForStatement(H,e.visitNode(H.initializer,d,e.isForInitializer),e.visitNode(H.condition,E,e.isExpression),e.visitNode(H.incrementor,d,e.isExpression),e.visitIterationBody(H.statement,E,h))}function pt(H){return S.updateExpressionStatement(H,e.visitNode(H.expression,d,e.isExpression))}function Me(H){var ae=e.nodeIsSynthesized(H)?H:S.cloneNode(H);if(e.isSimpleInlineableExpression(H))return{readExpression:ae,initializeExpression:void 0};var Re=S.createTempVariable(k),it=S.createAssignment(Re,ae);return{readExpression:Re,initializeExpression:it}}function Fe(H){if(re&&e.isPrivateIdentifierPropertyAccessExpression(H.expression)){var ae=S.createCallBinding(H.expression,k,ce),Re=ae.thisArg,it=ae.target;return e.isCallChain(H)?S.updateCallChain(H,S.createPropertyAccessChain(e.visitNode(it,E),H.questionDotToken,"call"),void 0,void 0,tt([e.visitNode(Re,E,e.isExpression)],e.visitNodes(H.arguments,E,e.isExpression),!0)):S.updateCallExpression(H,S.createPropertyAccessExpression(e.visitNode(it,E),"call"),void 0,tt([e.visitNode(Re,E,e.isExpression)],e.visitNodes(H.arguments,E,e.isExpression),!0))}if(O&&e.isSuperProperty(H.expression)&&C&&(A==null?void 0:A.classConstructor)){var ut=S.createFunctionCallCall(e.visitNode(H.expression,E,e.isExpression),A.classConstructor,e.visitNodes(H.arguments,E,e.isExpression));return e.setOriginalNode(ut,H),e.setTextRange(ut,H),ut}return e.visitEachChild(H,E,h)}function ot(H){if(re&&e.isPrivateIdentifierPropertyAccessExpression(H.tag)){var ae=S.createCallBinding(H.tag,k,ce),Re=ae.thisArg,it=ae.target;return S.updateTaggedTemplateExpression(H,S.createCallExpression(S.createPropertyAccessExpression(e.visitNode(it,E),"bind"),void 0,[e.visitNode(Re,E,e.isExpression)]),void 0,e.visitNode(H.template,E,e.isTemplateLiteral))}if(O&&e.isSuperProperty(H.tag)&&C&&(A==null?void 0:A.classConstructor)){var ut=S.createFunctionBindCall(e.visitNode(H.tag,E,e.isExpression),A.classConstructor,[]);return e.setOriginalNode(ut,H),e.setTextRange(ut,H),S.updateTaggedTemplateExpression(H,ut,void 0,e.visitNode(H.template,E,e.isTemplateLiteral))}return e.visitEachChild(H,E,h)}function ke(H){if(re){A&&m.set(e.getOriginalNodeId(H),A),le();var ae=C;C=H;var Re=e.visitNodes(H.body.statements,E,e.isStatement);Re=S.mergeLexicalEnvironment(Re,se()),C=ae;var it=S.createImmediatelyInvokedArrowFunction(Re);return e.setOriginalNode(it,H),e.setTextRange(it,H),e.addEmitFlags(it,2),it}}function ve(H,ae){if(e.isDestructuringAssignment(H)){var Re=Z;Z=void 0,H=S.updateBinaryExpression(H,e.visitNode(H.left,B),H.operatorToken,e.visitNode(H.right,E));var it=e.some(Z)?S.inlineExpressions(e.compact(tt(tt([],Z,!0),[H],!1))):H;return Z=Re,it}if(e.isAssignmentExpression(H)){if(re&&e.isPrivateIdentifierPropertyAccessExpression(H.left)){var ut=Ge(H.left.name);if(ut)return e.setTextRange(e.setOriginalNode(be(ut,H.left.expression,H.right,H.operatorToken.kind),H),H)}else if(O&&e.isSuperProperty(H.left)&&C&&A){var Qe=A.classConstructor,cn=A.superClassReference,vn=A.facts;if(vn&1)return S.updateBinaryExpression(H,pn(H.left),H.operatorToken,e.visitNode(H.right,E,e.isExpression));if(Qe&&cn){var Ut=e.isElementAccessExpression(H.left)?e.visitNode(H.left.argumentExpression,E,e.isExpression):e.isIdentifier(H.left.name)?S.createStringLiteralFromNode(H.left.name):void 0;if(Ut){var $e=e.visitNode(H.right,E,e.isExpression);if(e.isCompoundAssignment(H.operatorToken.kind)){var Ct=Ut;e.isSimpleInlineableExpression(Ut)||(Ct=S.createTempVariable(k),Ut=S.createAssignment(Ct,Ut));var kt=S.createReflectGetCall(cn,Ct,Qe);e.setOriginalNode(kt,H.left),e.setTextRange(kt,H.left),$e=S.createBinaryExpression(kt,e.getNonAssignmentOperatorForCompoundAssignment(H.operatorToken.kind),$e),e.setTextRange($e,H)}var en=ae?void 0:S.createTempVariable(k);return en&&($e=S.createAssignment(en,$e),e.setTextRange(en,H)),$e=S.createReflectSetCall(cn,Ut,$e,Qe),e.setOriginalNode($e,H),e.setTextRange($e,H),en&&($e=S.createComma($e,en),e.setTextRange($e,H)),$e}}}}return H.operatorToken.kind===101&&e.isPrivateIdentifier(H.left)?J(H):e.visitEachChild(H,E,h)}function be(H,ae,Re,it){if(ae=e.visitNode(ae,E,e.isExpression),Re=e.visitNode(Re,E,e.isExpression),e.isCompoundAssignment(it)){var ut=Me(ae),Qe=ut.readExpression,cn=ut.initializeExpression;ae=cn||Qe,Re=S.createBinaryExpression(Te(H,Qe),e.getNonAssignmentOperatorForCompoundAssignment(it),Re)}switch(e.setCommentRange(ae,e.moveRangePos(ae,-1)),H.kind){case"a":return h.getEmitHelperFactory().createClassPrivateFieldSetHelper(ae,H.brandCheckIdentifier,Re,H.kind,H.setterName);case"m":return h.getEmitHelperFactory().createClassPrivateFieldSetHelper(ae,H.brandCheckIdentifier,Re,H.kind,void 0);case"f":return h.getEmitHelperFactory().createClassPrivateFieldSetHelper(ae,H.brandCheckIdentifier,Re,H.kind,H.variableName);default:e.Debug.assertNever(H,"Unknown private element type")}}function Oe(H){if(!e.forEach(H.members,Ce))return e.visitEachChild(H,E,h);var ae=Z;if(Z=void 0,Sr(),re){var Re=e.getNameOfDeclaration(H);Re&&e.isIdentifier(Re)&&(Je().className=e.idText(Re));var it=ge(H);e.some(it)&&(Je().weakSetName=Ve("instances",it[0].name))}var ut=e.isClassDeclaration(H)?vt(H):st(H);return Ze(),Z=ae,ut}function Ce(H){return e.isPropertyDeclaration(H)||e.isClassStaticBlockDeclaration(H)||re&&H.name&&e.isPrivateIdentifier(H.name)}function ge(H){return e.filter(H.members,e.isNonStaticMethodOrAccessorWithPrivateName)}function ze(H){var ae=0,Re=e.getOriginalNode(H);e.isClassDeclaration(Re)&&e.classOrConstructorParameterIsDecorated(Re)&&(ae|=1);for(var it=0,ut=H.members;it=0&&(Ut=Ct+1,kt=tt(tt(tt([],kt.slice(0,$e),!0),e.visitNodes(ae.body.statements,E,e.isStatement,$e,Ut-$e),!0),kt.slice($e),!0))),vn&&kt.push(S.createExpressionStatement(S.createCallExpression(S.createSuper(),void 0,[S.createSpreadElement(S.createIdentifier("arguments"))])));var en=0;if(ae!=null&&ae.body)if(Y)kt=kt.filter(function(qn){return!e.isParameterPropertyDeclaration(e.getOriginalNode(qn),ae)});else{for(var mn=0,hn=ae.body.statements;mn0){var Fn=e.visitNodes(ae.body.statements,E,e.isStatement,Ut,en);Ct>=0?e.addRange(kt,Fn):vn?kt=tt(tt([kt[0]],Fn,!0),kt.slice(1),!0):kt=tt(tt([],Fn,!0),kt,!0),Ut+=en}}var An=S.createThis();return Et(kt,Qe,An),It(kt,ut,An),ae&&e.addRange(kt,e.visitNodes(ae.body.statements,Tn,e.isStatement,Ut+$e)),kt=S.mergeLexicalEnvironment(kt,se()),e.setTextRange(S.createBlock(e.setTextRange(S.createNodeArray(kt),ae?ae.body.statements:H.members),!0),ae?ae.body:void 0);function Tn(qn){if(!(Y&&e.isParameterPropertyDeclaration(e.getOriginalNode(qn),ae)))return E(qn)}}function It(H,ae,Re){for(var it=0,ut=ae;it=0;--it){var ut=ie[it];if(ut){var Re=(ae=ut.privateIdentifierEnvironment)===null||ae===void 0?void 0:ae.identifiers.get(H.escapedText);if(Re)return Re}}}function lt(H){var ae=S.getGeneratedNameForNode(H),Re=Ge(H.name);if(!Re)return e.visitEachChild(H,E,h);var it=H.expression;return(e.isThisProperty(H)||e.isSuperProperty(H)||!e.isSimpleCopiableExpression(H.expression))&&(it=S.createTempVariable(k,!0),Bt().push(S.createBinaryExpression(it,63,e.visitNode(H.expression,E,e.isExpression)))),S.createAssignmentTargetWrapper(ae,be(Re,it,ae,63))}function Le(H){var ae=e.getTargetOfBindingOrAssignmentElement(H);if(ae){var Re=void 0;if(e.isPrivateIdentifierPropertyAccessExpression(ae))Re=lt(ae);else if(O&&e.isSuperProperty(ae)&&C&&A){var it=A.classConstructor,ut=A.superClassReference,Qe=A.facts;if(Qe&1)Re=pn(ae);else if(it&&ut){var cn=e.isElementAccessExpression(ae)?e.visitNode(ae.argumentExpression,E,e.isExpression):e.isIdentifier(ae.name)?S.createStringLiteralFromNode(ae.name):void 0;if(cn){var vn=S.createTempVariable(void 0);Re=S.createAssignmentTargetWrapper(vn,S.createReflectSetCall(ut,cn,vn,it))}}}if(Re)return e.isAssignmentExpression(H)?S.updateBinaryExpression(H,Re,H.operatorToken,e.visitNode(H.right,E,e.isExpression)):e.isSpreadElement(H)?S.updateSpreadElement(H,Re):Re}return e.visitNode(H,B)}function ee(H){if(e.isObjectBindingOrAssignmentElement(H)&&!e.isShorthandPropertyAssignment(H)){var ae=e.getTargetOfBindingOrAssignmentElement(H),Re=void 0;if(ae){if(e.isPrivateIdentifierPropertyAccessExpression(ae))Re=lt(ae);else if(O&&e.isSuperProperty(ae)&&C&&A){var it=A.classConstructor,ut=A.superClassReference,Qe=A.facts;if(Qe&1)Re=pn(ae);else if(it&&ut){var cn=e.isElementAccessExpression(ae)?e.visitNode(ae.argumentExpression,E,e.isExpression):e.isIdentifier(ae.name)?S.createStringLiteralFromNode(ae.name):void 0;if(cn){var vn=S.createTempVariable(void 0);Re=S.createAssignmentTargetWrapper(vn,S.createReflectSetCall(ut,cn,vn,it))}}}}if(e.isPropertyAssignment(H)){var Ut=e.getInitializerOfBindingOrAssignmentElement(H);return S.updatePropertyAssignment(H,e.visitNode(H.name,E,e.isPropertyName),Re?Ut?S.createAssignment(Re,e.visitNode(Ut,E)):Re:e.visitNode(H.initializer,B,e.isExpression))}if(e.isSpreadAssignment(H))return S.updateSpreadAssignment(H,Re||e.visitNode(H.expression,B,e.isExpression));e.Debug.assert(Re===void 0,"Should not have generated a wrapped target")}return e.visitNode(H,E)}function xe(H){return e.isArrayLiteralExpression(H)?S.updateArrayLiteralExpression(H,e.visitNodes(H.elements,Le,e.isExpression)):S.updateObjectLiteralExpression(H,e.visitNodes(H.properties,ee,e.isObjectLiteralElementLike))}}e.transformClassFields=P;function r(h,S){return e.factory.createAssignment(h,e.factory.createObjectLiteralExpression([e.factory.createPropertyAssignment("value",S||e.factory.createVoidZero())]))}function v(h,S,k){return e.factory.createCallExpression(e.factory.createPropertyAccessExpression(k,"set"),void 0,[h,S||e.factory.createVoidZero()])}function G(h,S){return e.factory.createCallExpression(e.factory.createPropertyAccessExpression(S,"add"),void 0,[h])}function ue(h){return h.escapedText==="#constructor"}})(ne||(ne={}));var ne;(function(e){var a;(function(v){v[v.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper"})(a||(a={}));var u;(function(v){v[v.NonTopLevel=1]="NonTopLevel",v[v.HasLexicalThis=2]="HasLexicalThis"})(u||(u={}));function P(v){var G=v.factory,ue=v.getEmitHelperFactory,h=v.resumeLexicalEnvironment,S=v.endLexicalEnvironment,k=v.hoistVariableDeclaration,se=v.getEmitResolver(),le=v.getCompilerOptions(),f=e.getEmitScriptTarget(le),b,y=0,K,ce,Y,re=[],F=0,O=v.onEmitNode,Q=v.onSubstituteNode;return v.onEmitNode=pt,v.onSubstituteNode=Me,e.chainBundle(v,de);function de(Ce){if(Ce.isDeclarationFile)return Ce;$(1,!1),$(2,!e.isEffectiveStrictModeSourceFile(Ce,le));var ge=e.visitEachChild(Ce,A,v);return e.addEmitHelpers(ge,v.readEmitHelpers()),ge}function $(Ce,ge){F=ge?F|Ce:F&~Ce}function I(Ce){return(F&Ce)!==0}function Z(){return!I(1)}function z(){return I(2)}function ie(Ce,ge,ze){var ft=Ce&~F;if(ft){$(ft,!0);var vt=ge(ze);return $(ft,!1),vt}return ge(ze)}function m(Ce){return e.visitEachChild(Ce,A,v)}function A(Ce){if((Ce.transformFlags&256)===0)return Ce;switch(Ce.kind){case 131:return;case 217:return j(Ce);case 168:return ie(3,B,Ce);case 255:return ie(3,W,Ce);case 212:return ie(3,J,Ce);case 213:return ie(1,M,Ce);case 205:return ce&&e.isPropertyAccessExpression(Ce)&&Ce.expression.kind===106&&ce.add(Ce.name.escapedText),e.visitEachChild(Ce,A,v);case 206:return ce&&Ce.expression.kind===106&&(Y=!0),e.visitEachChild(Ce,A,v);case 171:case 172:case 170:case 256:case 225:return ie(3,m,Ce);default:return e.visitEachChild(Ce,A,v)}}function g(Ce){if(e.isNodeWithPossibleHoistedDeclaration(Ce))switch(Ce.kind){case 236:return N(Ce);case 241:return E(Ce);case 242:return _(Ce);case 243:return d(Ce);case 291:return C(Ce);case 234:case 248:case 262:case 288:case 289:case 251:case 239:case 240:case 238:case 247:case 249:return e.visitEachChild(Ce,g,v);default:return e.Debug.assertNever(Ce,"Unhandled node.")}return A(Ce)}function C(Ce){var ge=new e.Set;pe(Ce.variableDeclaration,ge);var ze;if(ge.forEach(function(st,At){K.has(At)&&(ze||(ze=new e.Set(K)),ze.delete(At))}),ze){var ft=K;K=ze;var vt=e.visitEachChild(Ce,g,v);return K=ft,vt}else return e.visitEachChild(Ce,g,v)}function N(Ce){if(Ne(Ce.declarationList)){var ge=w(Ce.declarationList,!1);return ge?G.createExpressionStatement(ge):void 0}return e.visitEachChild(Ce,A,v)}function _(Ce){return G.updateForInStatement(Ce,Ne(Ce.initializer)?w(Ce.initializer,!0):e.visitNode(Ce.initializer,A,e.isForInitializer),e.visitNode(Ce.expression,A,e.isExpression),e.visitIterationBody(Ce.statement,g,v))}function d(Ce){return G.updateForOfStatement(Ce,e.visitNode(Ce.awaitModifier,A,e.isToken),Ne(Ce.initializer)?w(Ce.initializer,!0):e.visitNode(Ce.initializer,A,e.isForInitializer),e.visitNode(Ce.expression,A,e.isExpression),e.visitIterationBody(Ce.statement,g,v))}function E(Ce){var ge=Ce.initializer;return G.updateForStatement(Ce,Ne(ge)?w(ge,!1):e.visitNode(Ce.initializer,A,e.isForInitializer),e.visitNode(Ce.condition,A,e.isExpression),e.visitNode(Ce.incrementor,A,e.isExpression),e.visitIterationBody(Ce.statement,g,v))}function j(Ce){return Z()?e.visitEachChild(Ce,A,v):e.setOriginalNode(e.setTextRange(G.createYieldExpression(void 0,e.visitNode(Ce.expression,A,e.isExpression)),Ce),Ce)}function B(Ce){return G.updateMethodDeclaration(Ce,void 0,e.visitNodes(Ce.modifiers,A,e.isModifier),Ce.asteriskToken,Ce.name,void 0,void 0,e.visitParameterList(Ce.parameters,A,v),void 0,e.getFunctionFlags(Ce)&2?Se(Ce):e.visitFunctionBody(Ce.body,A,v))}function W(Ce){return G.updateFunctionDeclaration(Ce,void 0,e.visitNodes(Ce.modifiers,A,e.isModifier),Ce.asteriskToken,Ce.name,void 0,e.visitParameterList(Ce.parameters,A,v),void 0,e.getFunctionFlags(Ce)&2?Se(Ce):e.visitFunctionBody(Ce.body,A,v))}function J(Ce){return G.updateFunctionExpression(Ce,e.visitNodes(Ce.modifiers,A,e.isModifier),Ce.asteriskToken,Ce.name,void 0,e.visitParameterList(Ce.parameters,A,v),void 0,e.getFunctionFlags(Ce)&2?Se(Ce):e.visitFunctionBody(Ce.body,A,v))}function M(Ce){return G.updateArrowFunction(Ce,e.visitNodes(Ce.modifiers,A,e.isModifier),void 0,e.visitParameterList(Ce.parameters,A,v),void 0,Ce.equalsGreaterThanToken,e.getFunctionFlags(Ce)&2?Se(Ce):e.visitFunctionBody(Ce.body,A,v))}function pe(Ce,ge){var ze=Ce.name;if(e.isIdentifier(ze))ge.add(ze.escapedText);else for(var ft=0,vt=ze.elements;ft=2&&se.getNodeCheckFlags(Ce)&6144;if(Rt&&(et(),ce.size)){var Et=r(G,se,Ce,ce);re[e.getNodeId(Et)]=!0,e.insertStatementsAfterStandardPrologue(Ft,[Et])}var We=G.createBlock(Ft,!0);e.setTextRange(We,Ce.body),Rt&&Y&&(se.getNodeCheckFlags(Ce)&4096?e.addEmitHelper(We,e.advancedAsyncSuperHelper):se.getNodeCheckFlags(Ce)&2048&&e.addEmitHelper(We,e.asyncSuperHelper)),It=We}return K=At,vt||(ce=Ht,Y=_t),It}function we(Ce,ge){return e.isBlock(Ce)?G.updateBlock(Ce,e.visitNodes(Ce.statements,g,e.isStatement,ge)):G.converters.convertToFunctionBlock(e.visitNode(Ce,g,e.isConciseBody))}function He(Ce){var ge=Ce&&e.getEntityNameFromTypeNode(Ce);if(ge&&e.isEntityName(ge)){var ze=se.getTypeReferenceSerializationKind(ge);if(ze===e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue||ze===e.TypeReferenceSerializationKind.Unknown)return ge}}function et(){(b&1)===0&&(b|=1,v.enableSubstitution(207),v.enableSubstitution(205),v.enableSubstitution(206),v.enableEmitNotification(256),v.enableEmitNotification(168),v.enableEmitNotification(171),v.enableEmitNotification(172),v.enableEmitNotification(170),v.enableEmitNotification(236))}function pt(Ce,ge,ze){if(b&1&&be(ge)){var ft=se.getNodeCheckFlags(ge)&6144;if(ft!==y){var vt=y;y=ft,O(Ce,ge,ze),y=vt;return}}else if(b&&re[e.getNodeId(ge)]){var vt=y;y=0,O(Ce,ge,ze),y=vt;return}O(Ce,ge,ze)}function Me(Ce,ge){return ge=Q(Ce,ge),Ce===1&&y?Fe(ge):ge}function Fe(Ce){switch(Ce.kind){case 205:return ot(Ce);case 206:return ke(Ce);case 207:return ve(Ce)}return Ce}function ot(Ce){return Ce.expression.kind===106?e.setTextRange(G.createPropertyAccessExpression(G.createUniqueName("_super",48),Ce.name),Ce):Ce}function ke(Ce){return Ce.expression.kind===106?Oe(Ce.argumentExpression,Ce):Ce}function ve(Ce){var ge=Ce.expression;if(e.isSuperProperty(ge)){var ze=e.isPropertyAccessExpression(ge)?ot(ge):ke(ge);return G.createCallExpression(G.createPropertyAccessExpression(ze,"call"),void 0,tt([G.createThis()],Ce.arguments,!0))}return Ce}function be(Ce){var ge=Ce.kind;return ge===256||ge===170||ge===168||ge===171||ge===172}function Oe(Ce,ge){return y&4096?e.setTextRange(G.createPropertyAccessExpression(G.createCallExpression(G.createUniqueName("_superIndex",48),void 0,[Ce]),"value"),ge):e.setTextRange(G.createCallExpression(G.createUniqueName("_superIndex",48),void 0,[Ce]),ge)}}e.transformES2017=P;function r(v,G,ue,h){var S=(G.getNodeCheckFlags(ue)&4096)!==0,k=[];return h.forEach(function(se,le){var f=e.unescapeLeadingUnderscores(le),b=[];b.push(v.createPropertyAssignment("get",v.createArrowFunction(void 0,void 0,[],void 0,void 0,e.setEmitFlags(v.createPropertyAccessExpression(e.setEmitFlags(v.createSuper(),4),f),4)))),S&&b.push(v.createPropertyAssignment("set",v.createArrowFunction(void 0,void 0,[v.createParameterDeclaration(void 0,void 0,void 0,"v",void 0,void 0,void 0)],void 0,void 0,v.createAssignment(e.setEmitFlags(v.createPropertyAccessExpression(e.setEmitFlags(v.createSuper(),4),f),4),v.createIdentifier("v"))))),k.push(v.createPropertyAssignment(f,v.createObjectLiteralExpression(b)))}),v.createVariableStatement(void 0,v.createVariableDeclarationList([v.createVariableDeclaration(v.createUniqueName("_super",48),void 0,void 0,v.createCallExpression(v.createPropertyAccessExpression(v.createIdentifier("Object"),"create"),void 0,[v.createNull(),v.createObjectLiteralExpression(k,!0)]))],2))}e.createSuperAccessVariableStatement=r})(ne||(ne={}));var ne;(function(e){var a;(function(r){r[r.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper"})(a||(a={}));var u;(function(r){r[r.None=0]="None",r[r.HasLexicalThis=1]="HasLexicalThis",r[r.IterationContainer=2]="IterationContainer",r[r.AncestorFactsMask=3]="AncestorFactsMask",r[r.SourceFileIncludes=1]="SourceFileIncludes",r[r.SourceFileExcludes=2]="SourceFileExcludes",r[r.StrictModeSourceFileIncludes=0]="StrictModeSourceFileIncludes",r[r.ClassOrFunctionIncludes=1]="ClassOrFunctionIncludes",r[r.ClassOrFunctionExcludes=2]="ClassOrFunctionExcludes",r[r.ArrowFunctionIncludes=0]="ArrowFunctionIncludes",r[r.ArrowFunctionExcludes=2]="ArrowFunctionExcludes",r[r.IterationStatementIncludes=2]="IterationStatementIncludes",r[r.IterationStatementExcludes=0]="IterationStatementExcludes"})(u||(u={}));function P(r){var v=r.factory,G=r.getEmitHelperFactory,ue=r.resumeLexicalEnvironment,h=r.endLexicalEnvironment,S=r.hoistVariableDeclaration,k=r.getEmitResolver(),se=r.getCompilerOptions(),le=e.getEmitScriptTarget(se),f=r.onEmitNode;r.onEmitNode=fe;var b=r.onSubstituteNode;r.onSubstituteNode=Be;var y=!1,K,ce,Y,re=0,F=0,O,Q,de,$,I=[];return e.chainBundle(r,A);function Z(he,yt){return F!==(F&~he|yt)}function z(he,yt){var Gt=F;return F=(F&~he|yt)&3,Gt}function ie(he){F=he}function m(he){Q=e.append(Q,v.createVariableDeclaration(he))}function A(he){if(he.isDeclarationFile)return he;O=he;var yt=R(he);return e.addEmitHelpers(yt,r.readEmitHelpers()),O=void 0,Q=void 0,yt}function g(he){return E(he,!1)}function C(he){return E(he,!0)}function N(he){if(he.kind!==131)return he}function _(he,yt,Gt,rn){if(Z(Gt,rn)){var Zt=z(Gt,rn),kn=he(yt);return ie(Zt),kn}return he(yt)}function d(he){return e.visitEachChild(he,g,r)}function E(he,yt){if((he.transformFlags&128)===0)return he;switch(he.kind){case 217:return j(he);case 223:return B(he);case 246:return W(he);case 249:return J(he);case 204:return pe(he);case 220:return V(he,yt);case 349:return Te(he,yt);case 291:return Se(he);case 236:return we(he);case 253:return He(he);case 239:case 240:case 242:return _(d,he,0,2);case 243:return Fe(he,void 0);case 241:return _(pt,he,0,2);case 216:return Me(he);case 170:return _(ze,he,2,1);case 168:return _(st,he,2,1);case 171:return _(ft,he,2,1);case 172:return _(vt,he,2,1);case 255:return _(At,he,2,1);case 212:return _(Ue,he,2,1);case 213:return _(qt,he,2,0);case 163:return Ce(he);case 237:return Ne(he);case 211:return w(he,yt);case 209:return L(he);case 205:return de&&e.isPropertyAccessExpression(he)&&he.expression.kind===106&&de.add(he.name.escapedText),e.visitEachChild(he,g,r);case 206:return de&&he.expression.kind===106&&($=!0),e.visitEachChild(he,g,r);case 256:case 225:return _(d,he,2,1);default:return e.visitEachChild(he,g,r)}}function j(he){return ce&2&&ce&1?e.setOriginalNode(e.setTextRange(v.createYieldExpression(void 0,G().createAwaitHelper(e.visitNode(he.expression,g,e.isExpression))),he),he):e.visitEachChild(he,g,r)}function B(he){if(ce&2&&ce&1){if(he.asteriskToken){var yt=e.visitNode(e.Debug.checkDefined(he.expression),g,e.isExpression);return e.setOriginalNode(e.setTextRange(v.createYieldExpression(void 0,G().createAwaitHelper(v.updateYieldExpression(he,he.asteriskToken,e.setTextRange(G().createAsyncDelegatorHelper(e.setTextRange(G().createAsyncValuesHelper(yt),yt)),yt)))),he),he)}return e.setOriginalNode(e.setTextRange(v.createYieldExpression(void 0,ve(he.expression?e.visitNode(he.expression,g,e.isExpression):v.createVoidZero())),he),he)}return e.visitEachChild(he,g,r)}function W(he){return ce&2&&ce&1?v.updateReturnStatement(he,ve(he.expression?e.visitNode(he.expression,g,e.isExpression):v.createVoidZero())):e.visitEachChild(he,g,r)}function J(he){if(ce&2){var yt=e.unwrapInnermostStatementOfLabel(he);return yt.kind===243&&yt.awaitModifier?Fe(yt,he):v.restoreEnclosingLabel(e.visitNode(yt,g,e.isStatement,v.liftToBlock),he)}return e.visitEachChild(he,g,r)}function M(he){for(var yt,Gt=[],rn=0,Zt=he;rn1){for(var rn=1;rn=2&&k.getNodeCheckFlags(he)&6144;if(Zn){It();var Sr=e.createSuperAccessVariableStatement(v,k,he,de);I[e.getNodeId(Sr)]=!0,e.insertStatementsAfterStandardPrologue(yt,[Sr])}yt.push(kn),e.insertStatementsAfterStandardPrologue(yt,h());var Ze=v.updateBlock(he.body,yt);return Zn&&$&&(k.getNodeCheckFlags(he)&4096?e.addEmitHelper(Ze,e.advancedAsyncSuperHelper):k.getNodeCheckFlags(he)&2048&&e.addEmitHelper(Ze,e.asyncSuperHelper)),de=rn,$=Zt,Ze}function Ht(he){var yt;ue();var Gt=0,rn=[],Zt=(yt=e.visitNode(he.body,g,e.isConciseBody))!==null&&yt!==void 0?yt:v.createBlock([]);e.isBlock(Zt)&&(Gt=v.copyPrologue(Zt.statements,rn,!1,g)),e.addRange(rn,_t(void 0,he));var kn=h();if(Gt>0||e.some(rn)||e.some(kn)){var Zn=v.converters.convertToFunctionBlock(Zt,!0);return e.insertStatementsAfterStandardPrologue(rn,kn),e.addRange(rn,Zn.statements.slice(Gt)),v.updateBlock(Zn,e.setTextRange(v.createNodeArray(rn),Zn.statements))}return Zt}function _t(he,yt){for(var Gt=!1,rn=0,Zt=yt.parameters;rn0){var Zn=e.flattenDestructuringBinding(kn,g,r,0,v.getGeneratedNameForNode(kn));if(e.some(Zn)){var Sr=v.createVariableDeclarationList(Zn),Ze=v.createVariableStatement(void 0,Sr);e.setEmitFlags(Ze,1048576),he=e.append(he,Ze)}}else if(kn.initializer){var tn=v.getGeneratedNameForNode(kn),Je=e.visitNode(kn.initializer,g,e.isExpression),Bt=v.createAssignment(tn,Je),Ze=v.createExpressionStatement(Bt);e.setEmitFlags(Ze,1048576),he=e.append(he,Ze)}}else if(kn.initializer){var tn=v.cloneNode(kn.name);e.setTextRange(tn,kn.name),e.setEmitFlags(tn,48);var Je=e.visitNode(kn.initializer,g,e.isExpression);e.addEmitFlags(Je,1584);var Bt=v.createAssignment(tn,Je);e.setTextRange(Bt,kn),e.setEmitFlags(Bt,1536);var zt=v.createBlock([v.createExpressionStatement(Bt)]);e.setTextRange(zt,kn),e.setEmitFlags(zt,1953);var Ve=v.createTypeCheck(v.cloneNode(kn.name),"undefined"),Ze=v.createIfStatement(Ve,zt);e.startOnNewLine(Ze),e.setTextRange(Ze,kn),e.setEmitFlags(Ze,1050528),he=e.append(he,Ze)}}else if(kn.transformFlags&32768){Gt=!0;var Zn=e.flattenDestructuringBinding(kn,g,r,1,v.getGeneratedNameForNode(kn),!1,!0);if(e.some(Zn)){var Sr=v.createVariableDeclarationList(Zn),Ze=v.createVariableStatement(void 0,Sr);e.setEmitFlags(Ze,1048576),he=e.append(he,Ze)}}}return he}function It(){(K&1)===0&&(K|=1,r.enableSubstitution(207),r.enableSubstitution(205),r.enableSubstitution(206),r.enableEmitNotification(256),r.enableEmitNotification(168),r.enableEmitNotification(171),r.enableEmitNotification(172),r.enableEmitNotification(170),r.enableEmitNotification(236))}function fe(he,yt,Gt){if(K&1&&Et(yt)){var rn=k.getNodeCheckFlags(yt)&6144;if(rn!==re){var Zt=re;re=rn,f(he,yt,Gt),re=Zt;return}}else if(K&&I[e.getNodeId(yt)]){var Zt=re;re=0,f(he,yt,Gt),re=Zt;return}f(he,yt,Gt)}function Be(he,yt){return yt=b(he,yt),he===1&&re?We(yt):yt}function We(he){switch(he.kind){case 205:return Ft(he);case 206:return Lt(he);case 207:return Rt(he)}return he}function Ft(he){return he.expression.kind===106?e.setTextRange(v.createPropertyAccessExpression(v.createUniqueName("_super",48),he.name),he):he}function Lt(he){return he.expression.kind===106?pn(he.argumentExpression,he):he}function Rt(he){var yt=he.expression;if(e.isSuperProperty(yt)){var Gt=e.isPropertyAccessExpression(yt)?Ft(yt):Lt(yt);return v.createCallExpression(v.createPropertyAccessExpression(Gt,"call"),void 0,tt([v.createThis()],he.arguments,!0))}return he}function Et(he){var yt=he.kind;return yt===256||yt===170||yt===168||yt===171||yt===172}function pn(he,yt){return re&4096?e.setTextRange(v.createPropertyAccessExpression(v.createCallExpression(v.createIdentifier("_superIndex"),void 0,[he]),"value"),yt):e.setTextRange(v.createCallExpression(v.createIdentifier("_superIndex"),void 0,[he]),yt)}}e.transformES2018=P})(ne||(ne={}));var ne;(function(e){function a(u){var P=u.factory;return e.chainBundle(u,r);function r(ue){return ue.isDeclarationFile?ue:e.visitEachChild(ue,v,u)}function v(ue){if((ue.transformFlags&64)===0)return ue;switch(ue.kind){case 291:return G(ue);default:return e.visitEachChild(ue,v,u)}}function G(ue){return ue.variableDeclaration?e.visitEachChild(ue,v,u):P.updateCatchClause(ue,P.createVariableDeclaration(P.createTempVariable(void 0)),e.visitNode(ue.block,v,e.isBlock))}}e.transformES2019=a})(ne||(ne={}));var ne;(function(e){function a(u){var P=u.factory,r=u.hoistVariableDeclaration;return e.chainBundle(u,v);function v(K){return K.isDeclarationFile?K:e.visitEachChild(K,G,u)}function G(K){if((K.transformFlags&32)===0)return K;switch(K.kind){case 207:{var ce=k(K,!1);return e.Debug.assertNotNode(ce,e.isSyntheticReference),ce}case 205:case 206:if(e.isOptionalChain(K)){var ce=le(K,!1,!1);return e.Debug.assertNotNode(ce,e.isSyntheticReference),ce}return e.visitEachChild(K,G,u);case 220:return K.operatorToken.kind===60?b(K):e.visitEachChild(K,G,u);case 214:return y(K);default:return e.visitEachChild(K,G,u)}}function ue(K){e.Debug.assertNotNode(K,e.isNonNullChain);for(var ce=[K];!K.questionDotToken&&!e.isTaggedTemplateExpression(K);)K=e.cast(e.skipPartiallyEmittedExpressions(K.expression),e.isOptionalChain),e.Debug.assertNotNode(K,e.isNonNullChain),ce.unshift(K);return{expression:K.expression,chain:ce}}function h(K,ce,Y){var re=se(K.expression,ce,Y);return e.isSyntheticReference(re)?P.createSyntheticReferenceExpression(P.updateParenthesizedExpression(K,re.expression),re.thisArg):P.updateParenthesizedExpression(K,re)}function S(K,ce,Y){if(e.isOptionalChain(K))return le(K,ce,Y);var re=e.visitNode(K.expression,G,e.isExpression);e.Debug.assertNotNode(re,e.isSyntheticReference);var F;return ce&&(e.isSimpleCopiableExpression(re)?F=re:(F=P.createTempVariable(r),re=P.createAssignment(F,re))),re=K.kind===205?P.updatePropertyAccessExpression(K,re,e.visitNode(K.name,G,e.isIdentifier)):P.updateElementAccessExpression(K,re,e.visitNode(K.argumentExpression,G,e.isExpression)),F?P.createSyntheticReferenceExpression(re,F):re}function k(K,ce){if(e.isOptionalChain(K))return le(K,ce,!1);if(e.isParenthesizedExpression(K.expression)&&e.isOptionalChain(e.skipParentheses(K.expression))){var Y=h(K.expression,!0,!1),re=e.visitNodes(K.arguments,G,e.isExpression);return e.isSyntheticReference(Y)?e.setTextRange(P.createFunctionCallCall(Y.expression,Y.thisArg,re),K):P.updateCallExpression(K,Y,void 0,re)}return e.visitEachChild(K,G,u)}function se(K,ce,Y){switch(K.kind){case 211:return h(K,ce,Y);case 205:case 206:return S(K,ce,Y);case 207:return k(K,ce);default:return e.visitNode(K,G,e.isExpression)}}function le(K,ce,Y){var re=ue(K),F=re.expression,O=re.chain,Q=se(e.skipPartiallyEmittedExpressions(F),e.isCallChain(O[0]),!1),de=e.isSyntheticReference(Q)?Q.thisArg:void 0,$=e.isSyntheticReference(Q)?Q.expression:Q,I=P.restoreOuterExpressions(F,$,8);e.isSimpleCopiableExpression($)||($=P.createTempVariable(r),I=P.createAssignment($,I));for(var Z=$,z,ie=0;ie1||!!(!((He=et[0])===null||He===void 0)&&He.dotDotDotToken),Me=[R,L];if(V&&Me.push(E(V.initializer)),G.jsx===5){var Fe=e.getOriginalNode(ue);if(Fe&&e.isSourceFile(Fe)){V===void 0&&Me.push(r.createVoidZero()),Me.push(pt?r.createTrue():r.createFalse());var ot=e.getLineAndCharacterOfPosition(Fe,we.pos);Me.push(r.createObjectLiteralExpression([r.createPropertyAssignment("fileName",S()),r.createPropertyAssignment("lineNumber",r.createNumericLiteral(ot.line+1)),r.createPropertyAssignment("columnNumber",r.createNumericLiteral(ot.character+1))])),Me.push(r.createThis())}}var ke=e.setTextRange(r.createCallExpression(se(pt),void 0,Me),we);return Se&&e.startOnNewLine(ke),ke}function z(R,L,V,Te){var Se=pe(R),we=R.attributes.properties,He=e.length(we)?g(we):r.createNull(),et=h.importSpecifier===void 0?e.createJsxFactoryExpression(r,P.getEmitResolver().getJsxFactoryEntity(ue),G.reactNamespace,R):f("createElement"),pt=e.createExpressionForJsxElement(r,et,Se,He,e.mapDefined(L,ce),Te);return V&&e.startOnNewLine(pt),pt}function ie(R,L,V,Te){var Se;if(L&&L.length){var we=de(L);we&&(Se=we)}return Z(le(),Se||r.createObjectLiteralExpression([]),void 0,L,V,Te)}function m(R,L,V,Te){var Se=e.createExpressionForJsxFragment(r,P.getEmitResolver().getJsxFactoryEntity(ue),P.getEmitResolver().getJsxFragmentFactoryEntity(ue),G.reactNamespace,e.mapDefined(L,ce),R,Te);return V&&e.startOnNewLine(Se),Se}function A(R){return r.createSpreadAssignment(e.visitNode(R.expression,y,e.isExpression))}function g(R,L){var V=e.getEmitScriptTarget(G);return V&&V>=5?r.createObjectLiteralExpression(C(R,L)):N(R,L)}function C(R,L){var V=e.flatten(e.spanMap(R,e.isJsxSpreadAttribute,function(Te,Se){return e.map(Te,function(we){return Se?A(we):d(we)})}));return L&&V.push(L),V}function N(R,L){var V=e.flatten(e.spanMap(R,e.isJsxSpreadAttribute,function(Te,Se){return Se?e.map(Te,_):r.createObjectLiteralExpression(e.map(Te,d))}));return e.isJsxSpreadAttribute(R[0])&&V.unshift(r.createObjectLiteralExpression()),L&&V.push(r.createObjectLiteralExpression([L])),e.singleOrUndefined(V)||v().createAssignHelper(V)}function _(R){return e.visitNode(R.expression,y,e.isExpression)}function d(R){var L=Ne(R),V=E(R.initializer);return r.createPropertyAssignment(L,V)}function E(R){if(R===void 0)return r.createTrue();if(R.kind===10){var L=R.singleQuote!==void 0?R.singleQuote:!e.isStringDoubleQuoted(R,ue),V=r.createStringLiteral(M(R.text)||R.text,L);return e.setTextRange(V,R)}else return R.kind===287?R.expression===void 0?r.createTrue():e.visitNode(R.expression,y,e.isExpression):e.Debug.failBadSyntaxKind(R)}function j(R){var L=B(R.text);return L===void 0?void 0:r.createStringLiteral(L)}function B(R){for(var L,V=0,Te=-1,Se=0;Se0?(e.insertStatementAfterCustomPrologue(D,e.setEmitFlags(k.createVariableStatement(void 0,k.createVariableDeclarationList(e.flattenDestructuringBinding(De,N,S,0,k.getGeneratedNameForNode(De)))),1048576)),!0):nt?(e.insertStatementAfterCustomPrologue(D,e.setEmitFlags(k.createExpressionStatement(k.createAssignment(k.getGeneratedNameForNode(De),e.visitNode(nt,N,e.isExpression))),1048576)),!0):!1}function ft(D,De,Ke,nt){nt=e.visitNode(nt,N,e.isExpression);var Mt=k.createIfStatement(k.createTypeCheck(k.cloneNode(Ke),"undefined"),e.setEmitFlags(e.setTextRange(k.createBlock([k.createExpressionStatement(e.setEmitFlags(e.setTextRange(k.createAssignment(e.setEmitFlags(e.setParent(e.setTextRange(k.cloneNode(Ke),Ke),Ke.parent),48),e.setEmitFlags(nt,48|e.getEmitFlags(nt)|1536)),De),1536))]),De),1953));e.startOnNewLine(Mt),e.setTextRange(Mt,De),e.setEmitFlags(Mt,1050528),e.insertStatementAfterCustomPrologue(D,Mt)}function vt(D,De){return!!(D&&D.dotDotDotToken&&!De)}function st(D,De,Ke){var nt=[],Mt=e.lastOrUndefined(De.parameters);if(!vt(Mt,Ke))return!1;var _n=Mt.name.kind===79?e.setParent(e.setTextRange(k.cloneNode(Mt.name),Mt.name),Mt.name.parent):k.createTempVariable(void 0);e.setEmitFlags(_n,48);var Dn=Mt.name.kind===79?k.cloneNode(Mt.name):_n,Vn=De.parameters.length-1,mr=k.createLoopVariable();nt.push(e.setEmitFlags(e.setTextRange(k.createVariableStatement(void 0,k.createVariableDeclarationList([k.createVariableDeclaration(_n,void 0,void 0,k.createArrayLiteralExpression([]))])),Mt),1048576));var Xr=k.createForStatement(e.setTextRange(k.createVariableDeclarationList([k.createVariableDeclaration(mr,void 0,void 0,k.createNumericLiteral(Vn))]),Mt),e.setTextRange(k.createLessThan(mr,k.createPropertyAccessExpression(k.createIdentifier("arguments"),"length")),Mt),e.setTextRange(k.createPostfixIncrement(mr),Mt),k.createBlock([e.startOnNewLine(e.setTextRange(k.createExpressionStatement(k.createAssignment(k.createElementAccessExpression(Dn,Vn===0?mr:k.createSubtract(mr,k.createNumericLiteral(Vn))),k.createElementAccessExpression(k.createIdentifier("arguments"),mr))),Mt))]));return e.setEmitFlags(Xr,1048576),e.startOnNewLine(Xr),nt.push(Xr),Mt.name.kind!==79&&nt.push(e.setEmitFlags(e.setTextRange(k.createVariableStatement(void 0,k.createVariableDeclarationList(e.flattenDestructuringBinding(Mt,N,S,0,Dn))),Mt),1048576)),e.insertStatementsAfterCustomPrologue(D,nt),!0}function At(D,De){return Q&65536&&De.kind!==213?(Ue(D,De,k.createThis()),!0):!1}function qt(D,De){_s();var Ke=k.createExpressionStatement(k.createBinaryExpression(k.createThis(),63,De));e.insertStatementAfterCustomPrologue(D,Ke),e.setCommentRange(Ke,e.getOriginalNode(De).parent)}function Ue(D,De,Ke){_s();var nt=k.createVariableStatement(void 0,k.createVariableDeclarationList([k.createVariableDeclaration(k.createUniqueName("_this",48),void 0,void 0,Ke)]));e.setEmitFlags(nt,1050112),e.setSourceMapRange(nt,De),e.insertStatementAfterCustomPrologue(D,nt)}function Ie(D,De,Ke){if(Q&32768){var nt=void 0;switch(De.kind){case 213:return D;case 168:case 171:case 172:nt=k.createVoidZero();break;case 170:nt=k.createPropertyAccessExpression(e.setEmitFlags(k.createThis(),4),"constructor");break;case 255:case 212:nt=k.createConditionalExpression(k.createLogicalAnd(e.setEmitFlags(k.createThis(),4),k.createBinaryExpression(e.setEmitFlags(k.createThis(),4),102,k.getLocalName(De))),void 0,k.createPropertyAccessExpression(e.setEmitFlags(k.createThis(),4),"constructor"),void 0,k.createVoidZero());break;default:return e.Debug.failBadSyntaxKind(De)}var Mt=k.createVariableStatement(void 0,k.createVariableDeclarationList([k.createVariableDeclaration(k.createUniqueName("_newTarget",48),void 0,void 0,nt)]));e.setEmitFlags(Mt,1050112),Ke&&(D=D.slice()),e.insertStatementAfterCustomPrologue(D,Mt)}return D}function Ht(D,De){for(var Ke=0,nt=De.members;Ke0&&_n.push(k.createStringLiteral(Mt.literal.text)),De=k.createCallExpression(k.createPropertyAccessExpression(De,"concat"),void 0,_n)}return e.setTextRange(De,D)}function pa(D){return Q&8&&!D?k.createPropertyAccessExpression(k.createUniqueName("_super",48),"prototype"):k.createUniqueName("_super",48)}function oo(D){return D.keywordToken===103&&D.name.escapedText==="target"?(Q|=32768,k.createUniqueName("_newTarget",48)):D}function Ro(D,De,Ke){if(Z&1&&e.isFunctionLike(De)){var nt=ie(32670,e.getEmitFlags(De)&8?81:65);re(D,De,Ke),m(nt,0,0);return}re(D,De,Ke)}function jo(){(Z&2)===0&&(Z|=2,S.enableSubstitution(79))}function _s(){(Z&1)===0&&(Z|=1,S.enableSubstitution(108),S.enableEmitNotification(170),S.enableEmitNotification(168),S.enableEmitNotification(171),S.enableEmitNotification(172),S.enableEmitNotification(213),S.enableEmitNotification(212),S.enableEmitNotification(255))}function ds(D,De){return De=Y(D,De),D===1?xt(De):e.isIdentifier(De)?Fs(De):De}function Fs(D){if(Z&2&&!e.isInternalName(D)){var De=e.getParseTreeNode(D,e.isIdentifier);if(De&&ec(De))return e.setTextRange(k.getGeneratedNameForNode(De),D)}return D}function ec(D){switch(D.parent.kind){case 202:case 256:case 259:case 253:return D.parent.name===D&&ce.isDeclarationWithCollidingName(D.parent)}return!1}function xt(D){switch(D.kind){case 79:return Sn(D);case 108:return ai(D)}return D}function Sn(D){if(Z&2&&!e.isInternalName(D)){var De=ce.getReferencedDeclarationWithCollidingName(D);if(De&&!(e.isClassLike(De)&&fr(De,D)))return e.setTextRange(k.getGeneratedNameForNode(e.getNameOfDeclaration(De)),D)}return D}function fr(D,De){var Ke=e.getParseTreeNode(De);if(!Ke||Ke===D||Ke.end<=D.pos||Ke.pos>=D.end)return!1;for(var nt=e.getEnclosingBlockScopeContainer(D);Ke;){if(Ke===nt||Ke===D)return!1;if(e.isClassElement(Ke)&&Ke.parent===D)return!0;Ke=Ke.parent}return!1}function ai(D){return Z&1&&Q&16?e.setTextRange(k.createUniqueName("_this",48),D):D}function gi(D,De){return e.isStatic(De)?k.getInternalName(D):k.createPropertyAccessExpression(k.getInternalName(D),"prototype")}function qe(D,De){if(!D||!De||e.some(D.parameters))return!1;var Ke=e.firstOrUndefined(D.body.statements);if(!Ke||!e.nodeIsSynthesized(Ke)||Ke.kind!==237)return!1;var nt=Ke.expression;if(!e.nodeIsSynthesized(nt)||nt.kind!==207)return!1;var Mt=nt.expression;if(!e.nodeIsSynthesized(Mt)||Mt.kind!==106)return!1;var _n=e.singleOrUndefined(nt.arguments);if(!_n||!e.nodeIsSynthesized(_n)||_n.kind!==224)return!1;var Dn=_n.expression;return e.isIdentifier(Dn)&&Dn.escapedText==="arguments"}}e.transformES2015=h})(ne||(ne={}));var ne;(function(e){function a(u){var P=u.factory,r=u.getCompilerOptions(),v,G;(r.jsx===1||r.jsx===3)&&(v=u.onEmitNode,u.onEmitNode=S,u.enableEmitNotification(279),u.enableEmitNotification(280),u.enableEmitNotification(278),G=[]);var ue=u.onSubstituteNode;return u.onSubstituteNode=k,u.enableSubstitution(205),u.enableSubstitution(294),e.chainBundle(u,h);function h(b){return b}function S(b,y,K){switch(y.kind){case 279:case 280:case 278:var ce=y.tagName;G[e.getOriginalNodeId(ce)]=!0;break}v(b,y,K)}function k(b,y){return y.id&&G&&G[y.id]?ue(b,y):(y=ue(b,y),e.isPropertyAccessExpression(y)?se(y):e.isPropertyAssignment(y)?le(y):y)}function se(b){if(e.isPrivateIdentifier(b.name))return b;var y=f(b.name);return y?e.setTextRange(P.createElementAccessExpression(b.expression,y),b):b}function le(b){var y=e.isIdentifier(b.name)&&f(b.name);return y?P.updatePropertyAssignment(b,y,b.initializer):b}function f(b){var y=b.originalKeywordKind||(e.nodeIsSynthesized(b)?e.stringToToken(e.idText(b)):void 0);if(y!==void 0&&y>=81&&y<=116)return e.setTextRange(P.createStringLiteralFromNode(b),b)}}e.transformES5=a})(ne||(ne={}));var ne;(function(e){var a;(function(h){h[h.Nop=0]="Nop",h[h.Statement=1]="Statement",h[h.Assign=2]="Assign",h[h.Break=3]="Break",h[h.BreakWhenTrue=4]="BreakWhenTrue",h[h.BreakWhenFalse=5]="BreakWhenFalse",h[h.Yield=6]="Yield",h[h.YieldStar=7]="YieldStar",h[h.Return=8]="Return",h[h.Throw=9]="Throw",h[h.Endfinally=10]="Endfinally"})(a||(a={}));var u;(function(h){h[h.Open=0]="Open",h[h.Close=1]="Close"})(u||(u={}));var P;(function(h){h[h.Exception=0]="Exception",h[h.With=1]="With",h[h.Switch=2]="Switch",h[h.Loop=3]="Loop",h[h.Labeled=4]="Labeled"})(P||(P={}));var r;(function(h){h[h.Try=0]="Try",h[h.Catch=1]="Catch",h[h.Finally=2]="Finally",h[h.Done=3]="Done"})(r||(r={}));var v;(function(h){h[h.Next=0]="Next",h[h.Throw=1]="Throw",h[h.Return=2]="Return",h[h.Break=3]="Break",h[h.Yield=4]="Yield",h[h.YieldStar=5]="YieldStar",h[h.Catch=6]="Catch",h[h.Endfinally=7]="Endfinally"})(v||(v={}));function G(h){switch(h){case 2:return"return";case 3:return"break";case 4:return"yield";case 5:return"yield*";case 7:return"endfinally";default:return}}function ue(h){var S=h.factory,k=h.getEmitHelperFactory,se=h.resumeLexicalEnvironment,le=h.endLexicalEnvironment,f=h.hoistFunctionDeclaration,b=h.hoistVariableDeclaration,y=h.getCompilerOptions(),K=e.getEmitScriptTarget(y),ce=h.getEmitResolver(),Y=h.onSubstituteNode;h.onSubstituteNode=xe;var re,F,O,Q,de,$,I,Z,z,ie,m=1,A,g,C,N,_=0,d=0,E,j,B,W,J,M,pe,Ne;return e.chainBundle(h,w);function w(xt){if(xt.isDeclarationFile||(xt.transformFlags&2048)===0)return xt;var Sn=e.visitEachChild(xt,R,h);return e.addEmitHelpers(Sn,h.readEmitHelpers()),Sn}function R(xt){var Sn=xt.transformFlags;return Q?L(xt):O?V(xt):e.isFunctionLikeDeclaration(xt)&&xt.asteriskToken?Se(xt):Sn&2048?e.visitEachChild(xt,R,h):xt}function L(xt){switch(xt.kind){case 239:return Rt(xt);case 240:return pn(xt);case 248:return zt(xt);case 249:return Nt(xt);default:return V(xt)}}function V(xt){switch(xt.kind){case 255:return we(xt);case 212:return He(xt);case 171:case 172:return et(xt);case 236:return Me(xt);case 241:return yt(xt);case 242:return rn(xt);case 245:return Sr(xt);case 244:return kn(xt);case 246:return tn(xt);default:return xt.transformFlags&524288?Te(xt):xt.transformFlags&2099200?e.visitEachChild(xt,R,h):xt}}function Te(xt){switch(xt.kind){case 220:return Fe(xt);case 349:return be(xt);case 221:return Ce(xt);case 223:return ge(xt);case 203:return ze(xt);case 204:return vt(xt);case 206:return st(xt);case 207:return At(xt);case 208:return qt(xt);default:return e.visitEachChild(xt,R,h)}}function Se(xt){switch(xt.kind){case 255:return we(xt);case 212:return He(xt);default:return e.Debug.failBadSyntaxKind(xt)}}function we(xt){if(xt.asteriskToken)xt=e.setOriginalNode(e.setTextRange(S.createFunctionDeclaration(void 0,xt.modifiers,void 0,xt.name,void 0,e.visitParameterList(xt.parameters,R,h),void 0,pt(xt.body)),xt),xt);else{var Sn=O,fr=Q;O=!1,Q=!1,xt=e.visitEachChild(xt,R,h),O=Sn,Q=fr}if(O){f(xt);return}else return xt}function He(xt){if(xt.asteriskToken)xt=e.setOriginalNode(e.setTextRange(S.createFunctionExpression(void 0,void 0,xt.name,void 0,e.visitParameterList(xt.parameters,R,h),void 0,pt(xt.body)),xt),xt);else{var Sn=O,fr=Q;O=!1,Q=!1,xt=e.visitEachChild(xt,R,h),O=Sn,Q=fr}return xt}function et(xt){var Sn=O,fr=Q;return O=!1,Q=!1,xt=e.visitEachChild(xt,R,h),O=Sn,Q=fr,xt}function pt(xt){var Sn=[],fr=O,ai=Q,gi=de,qe=$,D=I,De=Z,Ke=z,nt=ie,Mt=m,_n=A,Dn=g,Vn=C,mr=N;O=!0,Q=!1,de=void 0,$=void 0,I=void 0,Z=void 0,z=void 0,ie=void 0,m=1,A=void 0,g=void 0,C=void 0,N=S.createTempVariable(void 0),se();var Xr=S.copyPrologue(xt.statements,Sn,!1,R);Ue(xt.statements,Xr);var Pi=so();return e.insertStatementsAfterStandardPrologue(Sn,le()),Sn.push(S.createReturnStatement(Pi)),O=fr,Q=ai,de=gi,$=qe,I=D,Z=De,z=Ke,ie=nt,m=Mt,A=_n,g=Dn,C=Vn,N=mr,e.setTextRange(S.createBlock(Sn,xt.multiLine),xt)}function Me(xt){if(xt.transformFlags&524288){Be(xt.declarationList);return}else{if(e.getEmitFlags(xt)&1048576)return xt;for(var Sn=0,fr=xt.declarationList.declarations;Sn0&&(xa(1,[S.createExpressionStatement(S.inlineExpressions(Sn))]),Sn=[]),Sn.push(e.visitNode(ai,R,e.isExpression)))}}function be(xt){for(var Sn=[],fr=0,ai=xt.elements;fr0&&(xa(1,[S.createExpressionStatement(S.inlineExpressions(Sn))]),Sn=[]),Sn.push(e.visitNode(gi,R,e.isExpression)))}return S.inlineExpressions(Sn)}function Oe(xt){var Sn=ut(),fr=it();return jt(fr,e.visitNode(xt.left,R,e.isExpression),xt.left),xt.operatorToken.kind===55?Ci(Sn,fr,xt.left):br(Sn,fr,xt.left),jt(fr,e.visitNode(xt.right,R,e.isExpression),xt.right),Qe(Sn),fr}function Ce(xt){if(Le(xt.whenTrue)||Le(xt.whenFalse)){var Sn=ut(),fr=ut(),ai=it();return Ci(Sn,e.visitNode(xt.condition,R,e.isExpression),xt.condition),jt(ai,e.visitNode(xt.whenTrue,R,e.isExpression),xt.whenTrue),pr(fr),Qe(Sn),jt(ai,e.visitNode(xt.whenFalse,R,e.isExpression),xt.whenFalse),Qe(fr),ai}return e.visitEachChild(xt,R,h)}function ge(xt){var Sn=ut(),fr=e.visitNode(xt.expression,R,e.isExpression);if(xt.asteriskToken){var ai=(e.getEmitFlags(xt.expression)&8388608)===0?e.setTextRange(k().createValuesHelper(fr),xt):fr;Bi(ai,xt)}else Da(fr,xt);return Qe(Sn),Nn(xt)}function ze(xt){return ft(xt.elements,void 0,void 0,xt.multiLine)}function ft(xt,Sn,fr,ai){var gi=ee(xt),qe;if(gi>0){qe=it();var D=e.visitNodes(xt,R,e.isExpression,0,gi);jt(qe,S.createArrayLiteralExpression(Sn?tt([Sn],D,!0):D)),Sn=void 0}var De=e.reduceLeft(xt,Ke,[],gi);return qe?S.createArrayConcatCall(qe,[S.createArrayLiteralExpression(De,ai)]):e.setTextRange(S.createArrayLiteralExpression(Sn?tt([Sn],De,!0):De,ai),fr);function Ke(nt,Mt){if(Le(Mt)&&nt.length>0){var _n=qe!==void 0;qe||(qe=it()),jt(qe,_n?S.createArrayConcatCall(qe,[S.createArrayLiteralExpression(nt,ai)]):S.createArrayLiteralExpression(Sn?tt([Sn],nt,!0):nt,ai)),Sn=void 0,nt=[]}return nt.push(e.visitNode(Mt,R,e.isExpression)),nt}}function vt(xt){var Sn=xt.properties,fr=xt.multiLine,ai=ee(Sn),gi=it();jt(gi,S.createObjectLiteralExpression(e.visitNodes(Sn,R,e.isObjectLiteralElementLike,0,ai),fr));var qe=e.reduceLeft(Sn,D,[],ai);return qe.push(fr?e.startOnNewLine(e.setParent(e.setTextRange(S.cloneNode(gi),gi),gi.parent)):gi),S.inlineExpressions(qe);function D(De,Ke){Le(Ke)&&De.length>0&&(Bn(S.createExpressionStatement(S.inlineExpressions(De))),De=[]);var nt=e.createExpressionForObjectLiteralElementLike(S,xt,Ke,gi),Mt=e.visitNode(nt,R,e.isExpression);return Mt&&(fr&&e.startOnNewLine(Mt),De.push(Mt)),De}}function st(xt){return Le(xt.argumentExpression)?S.updateElementAccessExpression(xt,Re(e.visitNode(xt.expression,R,e.isLeftHandSideExpression)),e.visitNode(xt.argumentExpression,R,e.isExpression)):e.visitEachChild(xt,R,h)}function At(xt){if(!e.isImportCall(xt)&&e.forEach(xt.arguments,Le)){var Sn=S.createCallBinding(xt.expression,b,K,!0),fr=Sn.target,ai=Sn.thisArg;return e.setOriginalNode(e.setTextRange(S.createFunctionApplyCall(Re(e.visitNode(fr,R,e.isLeftHandSideExpression)),ai,ft(xt.arguments)),xt),xt)}return e.visitEachChild(xt,R,h)}function qt(xt){if(e.forEach(xt.arguments,Le)){var Sn=S.createCallBinding(S.createPropertyAccessExpression(xt.expression,"bind"),b),fr=Sn.target,ai=Sn.thisArg;return e.setOriginalNode(e.setTextRange(S.createNewExpression(S.createFunctionApplyCall(Re(e.visitNode(fr,R,e.isExpression)),ai,ft(xt.arguments,S.createVoidZero())),void 0,[]),xt),xt)}return e.visitEachChild(xt,R,h)}function Ue(xt,Sn){Sn===void 0&&(Sn=0);for(var fr=xt.length,ai=Sn;ai0)break;Ke.push(We(ai))}Ke.length&&(Bn(S.createExpressionStatement(S.inlineExpressions(Ke))),De+=Ke.length,Ke=[])}}function We(xt){return e.setSourceMapRange(S.createAssignment(e.setSourceMapRange(S.cloneNode(xt.name),xt.name),e.visitNode(xt.initializer,R,e.isExpression)),xt)}function Ft(xt){if(Le(xt))if(Le(xt.thenStatement)||Le(xt.elseStatement)){var Sn=ut(),fr=xt.elseStatement?ut():void 0;Ci(xt.elseStatement?fr:Sn,e.visitNode(xt.expression,R,e.isExpression),xt.expression),Ie(xt.thenStatement),xt.elseStatement&&(pr(Sn),Qe(fr),Ie(xt.elseStatement)),Qe(Sn)}else Bn(e.visitNode(xt,R,e.isStatement));else Bn(e.visitNode(xt,R,e.isStatement))}function Lt(xt){if(Le(xt)){var Sn=ut(),fr=ut();An(Sn),Qe(fr),Ie(xt.statement),Qe(Sn),br(fr,e.visitNode(xt.expression,R,e.isExpression)),Tn()}else Bn(e.visitNode(xt,R,e.isStatement))}function Rt(xt){return Q?(Fn(),xt=e.visitEachChild(xt,R,h),Tn(),xt):e.visitEachChild(xt,R,h)}function Et(xt){if(Le(xt)){var Sn=ut(),fr=An(Sn);Qe(Sn),Ci(fr,e.visitNode(xt.expression,R,e.isExpression)),Ie(xt.statement),pr(Sn),Tn()}else Bn(e.visitNode(xt,R,e.isStatement))}function pn(xt){return Q?(Fn(),xt=e.visitEachChild(xt,R,h),Tn(),xt):e.visitEachChild(xt,R,h)}function he(xt){if(Le(xt)){var Sn=ut(),fr=ut(),ai=An(fr);if(xt.initializer){var gi=xt.initializer;e.isVariableDeclarationList(gi)?Be(gi):Bn(e.setTextRange(S.createExpressionStatement(e.visitNode(gi,R,e.isExpression)),gi))}Qe(Sn),xt.condition&&Ci(ai,e.visitNode(xt.condition,R,e.isExpression)),Ie(xt.statement),Qe(fr),xt.incrementor&&Bn(e.setTextRange(S.createExpressionStatement(e.visitNode(xt.incrementor,R,e.isExpression)),xt.incrementor)),pr(Sn),Tn()}else Bn(e.visitNode(xt,R,e.isStatement))}function yt(xt){Q&&Fn();var Sn=xt.initializer;if(Sn&&e.isVariableDeclarationList(Sn)){for(var fr=0,ai=Sn.declarations;fr0?S.inlineExpressions(e.map(qe,We)):void 0,e.visitNode(xt.condition,R,e.isExpression),e.visitNode(xt.incrementor,R,e.isExpression),e.visitIterationBody(xt.statement,R,h))}else xt=e.visitEachChild(xt,R,h);return Q&&Tn(),xt}function Gt(xt){if(Le(xt)){var Sn=it(),fr=it(),ai=S.createLoopVariable(),gi=xt.initializer;b(ai),jt(Sn,S.createArrayLiteralExpression()),Bn(S.createForInStatement(fr,e.visitNode(xt.expression,R,e.isExpression),S.createExpressionStatement(S.createCallExpression(S.createPropertyAccessExpression(Sn,"push"),void 0,[fr])))),jt(ai,S.createNumericLiteral(0));var qe=ut(),D=ut(),De=An(D);Qe(qe),Ci(De,S.createLessThan(ai,S.createPropertyAccessExpression(Sn,"length")));var Ke=void 0;if(e.isVariableDeclarationList(gi)){for(var nt=0,Mt=gi.declarations;nt0?pr(Sn,xt):Bn(xt)}function kn(xt){if(Q){var Sn=Yn(xt.label&&e.idText(xt.label));if(Sn>0)return Si(Sn,xt)}return e.visitEachChild(xt,R,h)}function Zn(xt){var Sn=Qn(xt.label?e.idText(xt.label):void 0);Sn>0?pr(Sn,xt):Bn(xt)}function Sr(xt){if(Q){var Sn=Qn(xt.label&&e.idText(xt.label));if(Sn>0)return Si(Sn,xt)}return e.visitEachChild(xt,R,h)}function Ze(xt){$i(e.visitNode(xt.expression,R,e.isExpression),xt)}function tn(xt){return _i(e.visitNode(xt.expression,R,e.isExpression),xt)}function Je(xt){Le(xt)?(Ct(Re(e.visitNode(xt.expression,R,e.isExpression))),Ie(xt.statement),kt()):Bn(e.visitNode(xt,R,e.isStatement))}function Bt(xt){if(Le(xt.caseBlock)){for(var Sn=xt.caseBlock,fr=Sn.clauses.length,ai=xn(),gi=Re(e.visitNode(xt.expression,R,e.isExpression)),qe=[],D=-1,De=0;De0)break;Mt.push(S.createCaseClause(e.visitNode(Ke.expression,R,e.isExpression),[Si(qe[De],Ke.expression)]))}else _n++}Mt.length&&(Bn(S.createSwitchStatement(gi,S.createCaseBlock(Mt))),nt+=Mt.length,Mt=[]),_n>0&&(nt+=_n,_n=0)}D>=0?pr(qe[D]):pr(ai);for(var De=0;De=0;fr--){var ai=Z[fr];if(li(ai)){if(ai.labelText===xt)return!0}else break}return!1}function Qn(xt){if(Z)if(xt)for(var Sn=Z.length-1;Sn>=0;Sn--){var fr=Z[Sn];if(li(fr)&&fr.labelText===xt||Oi(fr)&&In(xt,Sn-1))return fr.breakLabel}else for(var Sn=Z.length-1;Sn>=0;Sn--){var fr=Z[Sn];if(Oi(fr))return fr.breakLabel}return 0}function Yn(xt){if(Z)if(xt)for(var Sn=Z.length-1;Sn>=0;Sn--){var fr=Z[Sn];if(lr(fr)&&In(xt,Sn-1))return fr.continueLabel}else for(var Sn=Z.length-1;Sn>=0;Sn--){var fr=Z[Sn];if(lr(fr))return fr.continueLabel}return 0}function Ar(xt){if(xt!==void 0&&xt>0){ie===void 0&&(ie=[]);var Sn=S.createNumericLiteral(-1);return ie[xt]===void 0?ie[xt]=[Sn]:ie[xt].push(Sn),Sn}return S.createOmittedExpression()}function gr(xt){var Sn=S.createNumericLiteral(xt);return e.addSyntheticTrailingComment(Sn,3,G(xt)),Sn}function Si(xt,Sn){return e.Debug.assertLessThan(0,xt,"Invalid label"),e.setTextRange(S.createReturnStatement(S.createArrayLiteralExpression([gr(3),Ar(xt)])),Sn)}function _i(xt,Sn){return e.setTextRange(S.createReturnStatement(S.createArrayLiteralExpression(xt?[gr(2),xt]:[gr(2)])),Sn)}function Nn(xt){return e.setTextRange(S.createCallExpression(S.createPropertyAccessExpression(N,"sent"),void 0,[]),xt)}function Rn(){xa(0)}function Bn(xt){xt?xa(1,[xt]):Rn()}function jt(xt,Sn,fr){xa(2,[xt,Sn],fr)}function pr(xt,Sn){xa(3,[xt],Sn)}function br(xt,Sn,fr){xa(4,[xt,Sn],fr)}function Ci(xt,Sn,fr){xa(5,[xt,Sn],fr)}function Bi(xt,Sn){xa(7,[xt],Sn)}function Da(xt,Sn){xa(6,[xt],Sn)}function $i(xt,Sn){xa(8,[xt],Sn)}function Xt(xt,Sn){xa(9,[xt],Sn)}function ja(){xa(10)}function xa(xt,Sn,fr){A===void 0&&(A=[],g=[],C=[]),z===void 0&&Qe(ut());var ai=A.length;A[ai]=xt,g[ai]=Sn,C[ai]=fr}function so(){_=0,d=0,E=void 0,j=!1,B=!1,W=void 0,J=void 0,M=void 0,pe=void 0,Ne=void 0;var xt=po();return k().createGeneratorHelper(e.setEmitFlags(S.createFunctionExpression(void 0,void 0,void 0,void 0,[S.createParameterDeclaration(void 0,void 0,void 0,N)],void 0,S.createBlock(xt,xt.length>0)),524288))}function po(){if(A){for(var xt=0;xt=0;Sn--){var fr=Ne[Sn];J=[S.createWithStatement(fr.expression,S.createBlock(J))]}if(pe){var ai=pe.startLabel,gi=pe.catchLabel,qe=pe.finallyLabel,D=pe.endLabel;J.unshift(S.createExpressionStatement(S.createCallExpression(S.createPropertyAccessExpression(S.createPropertyAccessExpression(N,"trys"),"push"),void 0,[S.createArrayLiteralExpression([Ar(ai),Ar(gi),Ar(qe),Ar(D)])]))),pe=void 0}xt&&J.push(S.createExpressionStatement(S.createAssignment(S.createPropertyAccessExpression(N,"label"),S.createNumericLiteral(d+1))))}W.push(S.createCaseClause(S.createNumericLiteral(d),J||[])),J=void 0}function xo(xt){if(z)for(var Sn=0;Sn(e.isExportName(he)?1:0);return!1}function j(he,yt){return E(he.left)?e.flattenDestructuringAssignment(he,_,P,0,!yt,ke):e.visitEachChild(he,_,P)}function B(he){return v.updateForStatement(he,e.visitNode(he.initializer,d,e.isForInitializer),e.visitNode(he.condition,_,e.isExpression),e.visitNode(he.incrementor,d,e.isExpression),e.visitIterationBody(he.statement,_,P))}function W(he){return v.updateExpressionStatement(he,e.visitNode(he.expression,d,e.isExpression))}function J(he,yt){return v.updateParenthesizedExpression(he,e.visitNode(he.expression,yt?d:_,e.isExpression))}function M(he,yt){return v.updatePartiallyEmittedExpression(he,e.visitNode(he.expression,yt?d:_,e.isExpression))}function pe(he,yt){if((he.operator===45||he.operator===46)&&e.isIdentifier(he.operand)&&!e.isGeneratedIdentifier(he.operand)&&!e.isLocalName(he.operand)&&!e.isDeclarationNameOfEnumOrNamespace(he.operand)){var Gt=pn(he.operand);if(Gt){var rn=void 0,Zt=e.visitNode(he.operand,_,e.isExpression);e.isPrefixUnaryExpression(he)?Zt=v.updatePrefixUnaryExpression(he,Zt):(Zt=v.updatePostfixUnaryExpression(he,Zt),yt||(rn=v.createTempVariable(S),Zt=v.createAssignment(rn,Zt),e.setTextRange(Zt,he)),Zt=v.createComma(Zt,v.cloneNode(he.operand)),e.setTextRange(Zt,he));for(var kn=0,Zn=Gt;kn=2?Zn=v.createArrowFunction(void 0,void 0,Zt,void 0,void 0,kn):(Zn=v.createFunctionExpression(void 0,void 0,void 0,void 0,Zt,void 0,kn),yt&&e.setEmitFlags(Zn,8));var Sr=v.createNewExpression(v.createIdentifier("Promise"),void 0,[Zn]);return e.getESModuleInterop(k)?v.createCallExpression(v.createPropertyAccessExpression(Sr,v.createIdentifier("then")),void 0,[G().createImportStarCallbackHelper()]):Sr}function L(he,yt){var Gt=v.createCallExpression(v.createPropertyAccessExpression(v.createIdentifier("Promise"),"resolve"),void 0,[]),rn=v.createCallExpression(v.createIdentifier("require"),void 0,he?[he]:[]);e.getESModuleInterop(k)&&(rn=G().createImportStarHelper(rn));var Zt;return f>=2?Zt=v.createArrowFunction(void 0,void 0,[],void 0,void 0,rn):(Zt=v.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,v.createBlock([v.createReturnStatement(rn)])),yt&&e.setEmitFlags(Zt,8)),v.createCallExpression(v.createPropertyAccessExpression(Gt,"then"),void 0,[Zt])}function V(he,yt){return!e.getESModuleInterop(k)||e.getEmitFlags(he)&67108864?yt:e.getExportNeedsImportStarHelper(he)?G().createImportStarHelper(yt):yt}function Te(he,yt){return!e.getESModuleInterop(k)||e.getEmitFlags(he)&67108864?yt:e.getImportNeedsImportStarHelper(he)?G().createImportStarHelper(yt):e.getImportNeedsImportDefaultHelper(he)?G().createImportDefaultHelper(yt):yt}function Se(he){var yt,Gt=e.getNamespaceDeclarationNode(he);if(b!==e.ModuleKind.AMD)if(he.importClause){var rn=[];Gt&&!e.isDefaultImport(he)?rn.push(v.createVariableDeclaration(v.cloneNode(Gt.name),void 0,void 0,Te(he,we(he)))):(rn.push(v.createVariableDeclaration(v.getGeneratedNameForNode(he),void 0,void 0,Te(he,we(he)))),Gt&&e.isDefaultImport(he)&&rn.push(v.createVariableDeclaration(v.cloneNode(Gt.name),void 0,void 0,v.getGeneratedNameForNode(he)))),yt=e.append(yt,e.setOriginalNode(e.setTextRange(v.createVariableStatement(void 0,v.createVariableDeclarationList(rn,f>=2?2:0)),he),he))}else return e.setOriginalNode(e.setTextRange(v.createExpressionStatement(we(he)),he),he);else Gt&&e.isDefaultImport(he)&&(yt=e.append(yt,v.createVariableStatement(void 0,v.createVariableDeclarationList([e.setOriginalNode(e.setTextRange(v.createVariableDeclaration(v.cloneNode(Gt.name),void 0,void 0,v.getGeneratedNameForNode(he)),he),he)],f>=2?2:0))));if(Oe(he)){var Zt=e.getOriginalNodeId(he);Y[Zt]=ge(Y[Zt],he)}else yt=ge(yt,he);return e.singleOrMany(yt)}function we(he){var yt=e.getExternalModuleNameLiteral(v,he,re,le,se,k),Gt=[];return yt&&Gt.push(yt),v.createCallExpression(v.createIdentifier("require"),void 0,Gt)}function He(he){e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(he),"import= for internal module references should be handled in an earlier transformer.");var yt;if(b!==e.ModuleKind.AMD?e.hasSyntacticModifier(he,1)?yt=e.append(yt,e.setOriginalNode(e.setTextRange(v.createExpressionStatement(Ht(he.name,we(he))),he),he)):yt=e.append(yt,e.setOriginalNode(e.setTextRange(v.createVariableStatement(void 0,v.createVariableDeclarationList([v.createVariableDeclaration(v.cloneNode(he.name),void 0,void 0,we(he))],f>=2?2:0)),he),he)):e.hasSyntacticModifier(he,1)&&(yt=e.append(yt,e.setOriginalNode(e.setTextRange(v.createExpressionStatement(Ht(v.getExportName(he),v.getLocalName(he))),he),he))),Oe(he)){var Gt=e.getOriginalNodeId(he);Y[Gt]=ze(Y[Gt],he)}else yt=ze(yt,he);return e.singleOrMany(yt)}function et(he){if(he.moduleSpecifier){var yt=v.getGeneratedNameForNode(he);if(he.exportClause&&e.isNamedExports(he.exportClause)){var Gt=[];b!==e.ModuleKind.AMD&&Gt.push(e.setOriginalNode(e.setTextRange(v.createVariableStatement(void 0,v.createVariableDeclarationList([v.createVariableDeclaration(yt,void 0,void 0,we(he))])),he),he));for(var rn=0,Zt=he.exportClause.elements;rn=e.ModuleKind.ES2020?Y(I):void 0;case 270:return F(I);case 271:var Z=I;return O(Z)}return I}function ce(I){var Z=e.getExternalModuleNameLiteral(P,I,e.Debug.checkDefined(le),v,G,ue),z=[];if(Z&&z.push(Z),!f){var ie=P.createUniqueName("_createRequire",48),m=P.createImportDeclaration(void 0,void 0,P.createImportClause(!1,void 0,P.createNamedImports([P.createImportSpecifier(!1,P.createIdentifier("createRequire"),ie)])),P.createStringLiteral("module")),A=P.createUniqueName("__require",48),g=P.createVariableStatement(void 0,P.createVariableDeclarationList([P.createVariableDeclaration(A,void 0,void 0,P.createCallExpression(P.cloneNode(ie),void 0,[P.createPropertyAccessExpression(P.createMetaProperty(100,P.createIdentifier("meta")),P.createIdentifier("url"))]))],h>=2?2:0));f=[m,g]}var C=f[1].declarationList.declarations[0].name;return e.Debug.assertNode(C,e.isIdentifier),P.createCallExpression(P.cloneNode(C),void 0,z)}function Y(I){e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(I),"import= for internal module references should be handled in an earlier transformer.");var Z;return Z=e.append(Z,e.setOriginalNode(e.setTextRange(P.createVariableStatement(void 0,P.createVariableDeclarationList([P.createVariableDeclaration(P.cloneNode(I.name),void 0,void 0,ce(I))],h>=2?2:0)),I),I)),Z=re(Z,I),e.singleOrMany(Z)}function re(I,Z){return e.hasSyntacticModifier(Z,1)&&(I=e.append(I,P.createExportDeclaration(void 0,void 0,Z.isTypeOnly,P.createNamedExports([P.createExportSpecifier(!1,void 0,e.idText(Z.name))])))),I}function F(I){return I.isExportEquals?void 0:I}function O(I){if(ue.module!==void 0&&ue.module>e.ModuleKind.ES2015||!I.exportClause||!e.isNamespaceExport(I.exportClause)||!I.moduleSpecifier)return I;var Z=I.exportClause.name,z=P.getGeneratedNameForNode(Z),ie=P.createImportDeclaration(void 0,void 0,P.createImportClause(!1,void 0,P.createNamespaceImport(z)),I.moduleSpecifier,I.assertClause);e.setOriginalNode(ie,I.exportClause);var m=e.isExportNamespaceAsDefaultDeclaration(I)?P.createExportDefault(z):P.createExportDeclaration(void 0,void 0,!1,P.createNamedExports([P.createExportSpecifier(!1,z,Z)]));return e.setOriginalNode(m,I),[ie,m]}function Q(I,Z,z){e.isSourceFile(Z)?((e.isExternalModule(Z)||ue.isolatedModules)&&ue.importHelpers&&(se=new e.Map),S(I,Z,z),se=void 0):S(I,Z,z)}function de(I,Z){return Z=k(I,Z),se&&e.isIdentifier(Z)&&e.getEmitFlags(Z)&4096?$(Z):Z}function $(I){var Z=e.idText(I),z=se.get(Z);return z||se.set(Z,z=P.createUniqueName(Z,48)),z}}e.transformECMAScriptModule=a})(ne||(ne={}));var ne;(function(e){function a(u){var P=u.onSubstituteNode,r=u.onEmitNode,v=e.transformECMAScriptModule(u),G=u.onSubstituteNode,ue=u.onEmitNode;u.onSubstituteNode=P,u.onEmitNode=r;var h=e.transformModule(u),S=u.onSubstituteNode,k=u.onEmitNode;u.onSubstituteNode=le,u.onEmitNode=f,u.enableSubstitution(303),u.enableEmitNotification(303);var se;return K;function le(Y,re){return e.isSourceFile(re)?(se=re,P(Y,re)):se?se.impliedNodeFormat===e.ModuleKind.ESNext?G(Y,re):S(Y,re):P(Y,re)}function f(Y,re,F){return e.isSourceFile(re)&&(se=re),se?se.impliedNodeFormat===e.ModuleKind.ESNext?ue(Y,re,F):k(Y,re,F):r(Y,re,F)}function b(Y){return Y.impliedNodeFormat===e.ModuleKind.ESNext?v:h}function y(Y){if(Y.isDeclarationFile)return Y;se=Y;var re=b(Y)(Y);return se=void 0,e.Debug.assert(e.isSourceFile(re)),re}function K(Y){return Y.kind===303?y(Y):ce(Y)}function ce(Y){return u.factory.createBundle(e.map(Y.sourceFiles,y),Y.prepends)}}e.transformNodeModule=a})(ne||(ne={}));var ne;(function(e){function a(r){return e.isVariableDeclaration(r)||e.isPropertyDeclaration(r)||e.isPropertySignature(r)||e.isBindingElement(r)||e.isSetAccessor(r)||e.isGetAccessor(r)||e.isConstructSignatureDeclaration(r)||e.isCallSignatureDeclaration(r)||e.isMethodDeclaration(r)||e.isMethodSignature(r)||e.isFunctionDeclaration(r)||e.isParameter(r)||e.isTypeParameterDeclaration(r)||e.isExpressionWithTypeArguments(r)||e.isImportEqualsDeclaration(r)||e.isTypeAliasDeclaration(r)||e.isConstructorDeclaration(r)||e.isIndexSignatureDeclaration(r)||e.isPropertyAccessExpression(r)||e.isJSDocTypeAlias(r)}e.canProduceDiagnostics=a;function u(r){if(e.isSetAccessor(r)||e.isGetAccessor(r))return v;return e.isMethodSignature(r)||e.isMethodDeclaration(r)?ue:P(r);function v(S){var k=G(S);return k!==void 0?{diagnosticMessage:k,errorNode:r,typeName:r.name}:void 0}function G(S){return e.isStatic(r)?S.errorModuleName?S.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:r.parent.kind===256?S.errorModuleName?S.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:S.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 ue(S){var k=h(S);return k!==void 0?{diagnosticMessage:k,errorNode:r,typeName:r.name}:void 0}function h(S){return e.isStatic(r)?S.errorModuleName?S.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:r.parent.kind===256?S.errorModuleName?S.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:S.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=u;function P(r){if(e.isVariableDeclaration(r)||e.isPropertyDeclaration(r)||e.isPropertySignature(r)||e.isPropertyAccessExpression(r)||e.isBindingElement(r)||e.isConstructorDeclaration(r))return G;return e.isSetAccessor(r)||e.isGetAccessor(r)?ue:e.isConstructSignatureDeclaration(r)||e.isCallSignatureDeclaration(r)||e.isMethodDeclaration(r)||e.isMethodSignature(r)||e.isFunctionDeclaration(r)||e.isIndexSignatureDeclaration(r)?h:e.isParameter(r)?e.isParameterPropertyDeclaration(r,r.parent)&&e.hasSyntacticModifier(r.parent,8)?G:S:e.isTypeParameterDeclaration(r)?se:e.isExpressionWithTypeArguments(r)?le:e.isImportEqualsDeclaration(r)?f:e.isTypeAliasDeclaration(r)||e.isJSDocTypeAlias(r)?b:e.Debug.assertNever(r,"Attempted to set a declaration diagnostic context for unhandled node kind: ".concat(e.SyntaxKind[r.kind]));function v(y){if(r.kind===253||r.kind===202)return y.errorModuleName?y.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(r.kind===166||r.kind===205||r.kind===165||r.kind===163&&e.hasSyntacticModifier(r.parent,8))return e.isStatic(r)?y.errorModuleName?y.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:r.parent.kind===256||r.kind===163?y.errorModuleName?y.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:y.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 G(y){var K=v(y);return K!==void 0?{diagnosticMessage:K,errorNode:r,typeName:r.name}:void 0}function ue(y){var K;return r.kind===172?e.isStatic(r)?K=y.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:K=y.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(r)?K=y.errorModuleName?y.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:K=y.errorModuleName?y.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:K,errorNode:r.name,typeName:r.name}}function h(y){var K;switch(r.kind){case 174:K=y.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 173:K=y.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 175:K=y.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 168:case 167:e.isStatic(r)?K=y.errorModuleName?y.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:r.parent.kind===256?K=y.errorModuleName?y.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:K=y.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 255:K=y.errorModuleName?y.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: "+r.kind)}return{diagnosticMessage:K,errorNode:r.name||r}}function S(y){var K=k(y);return K!==void 0?{diagnosticMessage:K,errorNode:r,typeName:r.name}:void 0}function k(y){switch(r.parent.kind){case 170:return y.errorModuleName?y.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 174:case 179:return y.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 173:return y.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 175:return y.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 168:case 167:return e.isStatic(r.parent)?y.errorModuleName?y.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:r.parent.parent.kind===256?y.errorModuleName?y.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:y.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 255:case 178:return y.errorModuleName?y.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 172:case 171:return y.errorModuleName?y.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.SyntaxKind[r.parent.kind]))}}function se(){var y;switch(r.parent.kind){case 256:y=e.Diagnostics.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 257:y=e.Diagnostics.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 194:y=e.Diagnostics.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;break;case 179:case 174:y=e.Diagnostics.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 173:y=e.Diagnostics.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 168:case 167:e.isStatic(r.parent)?y=e.Diagnostics.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:r.parent.parent.kind===256?y=e.Diagnostics.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:y=e.Diagnostics.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;break;case 178:case 255:y=e.Diagnostics.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 258:y=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: "+r.parent.kind)}return{diagnosticMessage:y,errorNode:r,typeName:r.name}}function le(){var y;return e.isClassDeclaration(r.parent.parent)?y=e.isHeritageClause(r.parent)&&r.parent.token===117?e.Diagnostics.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:r.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:y=e.Diagnostics.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1,{diagnosticMessage:y,errorNode:r,typeName:e.getNameOfDeclaration(r.parent.parent)}}function f(){return{diagnosticMessage:e.Diagnostics.Import_declaration_0_is_using_private_name_1,errorNode:r,typeName:r.name}}function b(y){return{diagnosticMessage:y.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(r)?e.Debug.checkDefined(r.typeExpression):r.type,typeName:e.isJSDocTypeAlias(r)?e.getNameOfDeclaration(r):r.name}}}e.createGetSymbolAccessibilityDiagnosticForNode=P})(ne||(ne={}));var ne;(function(e){function a(f,b,y){var K=f.getCompilerOptions(),ce=e.transformNodes(b,f,e.factory,K,y?[y]:e.filter(f.getSourceFiles(),e.isSourceFileNotJson),[v],!1);return ce.diagnostics}e.getDeclarationDiagnostics=a;function u(f,b){var y=b.text.substring(f.pos,f.end);return e.stringContains(y,"@internal")}function P(f,b){var y=e.getParseTreeNode(f);if(y&&y.kind===163){var K=y.parent.parameters.indexOf(y),ce=K>0?y.parent.parameters[K-1]:void 0,Y=b.text,re=ce?e.concatenate(e.getTrailingCommentRanges(Y,e.skipTrivia(Y,ce.end+1,!1,!0)),e.getLeadingCommentRanges(Y,f.pos)):e.getTrailingCommentRanges(Y,e.skipTrivia(Y,f.pos,!1,!0));return re&&re.length&&u(e.last(re),b)}var F=y&&e.getLeadingCommentRangesOfNode(y,b);return!!e.forEach(F,function(O){return u(O,b)})}e.isInternalDeclaration=P;var r=531469;function v(f){var b=function(){return e.Debug.fail("Diagnostic emitted without context")},y=b,K=!0,ce=!1,Y=!1,re=!1,F=!1,O,Q,de,$,I,Z,z=f.factory,ie=f.getEmitHost(),m={trackSymbol:w,reportInaccessibleThisError:Se,reportInaccessibleUniqueSymbolError:V,reportCyclicStructureError:Te,reportPrivateInBaseOfClassExpression:R,reportLikelyUnsafeImportRequiredError:we,reportTruncationError:He,moduleResolverHost:ie,trackReferencedAmbientModule:M,trackExternalModuleSymbolOfImportTypeNode:Ne,reportNonlocalAugmentation:et,reportNonSerializableProperty:pt},A,g,C,N,_,d,E=f.getEmitResolver(),j=f.getCompilerOptions(),B=j.noResolve,W=j.stripInternal;return Fe;function J(Je){if(Je){Q=Q||new e.Set;for(var Bt=0,zt=Je;Bt0?f.parameters[0].type:void 0}function k(f){switch(f.kind){case 166:case 165:return!e.hasEffectiveModifier(f,8);case 163:case 253:return!0}return!1}function se(f){switch(f.kind){case 255:case 260:case 264:case 257:case 256:case 258:case 259:case 236:case 265:case 271:case 270:return!0}return!1}function le(f){switch(f.kind){case 174:case 170:case 168:case 171:case 172:case 166:case 165:case 167:case 173:case 175:case 253:case 162:case 227:case 177:case 188:case 178:case 179:case 199:return!0}return!1}})(ne||(ne={}));var ne;(function(e){function a(b){switch(b){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.Node12:case e.ModuleKind.NodeNext:return e.transformNodeModule;default:return e.transformModule}}var u;(function(b){b[b.Uninitialized=0]="Uninitialized",b[b.Initialized=1]="Initialized",b[b.Completed=2]="Completed",b[b.Disposed=3]="Disposed"})(u||(u={}));var P;(function(b){b[b.Substitution=1]="Substitution",b[b.EmitNotifications=2]="EmitNotifications"})(P||(P={})),e.noTransformers={scriptTransformers:e.emptyArray,declarationTransformers:e.emptyArray};function r(b,y,K){return{scriptTransformers:v(b,y,K),declarationTransformers:G(y)}}e.getTransformers=r;function v(b,y,K){if(K)return e.emptyArray;var ce=e.getEmitScriptTarget(b),Y=e.getEmitModuleKind(b),re=[];return e.addRange(re,y&&e.map(y.before,S)),re.push(e.transformTypeScript),re.push(e.transformClassFields),e.getJSXTransformEnabled(b)&&re.push(e.transformJsx),ce<99&&re.push(e.transformESNext),ce<8&&re.push(e.transformES2021),ce<7&&re.push(e.transformES2020),ce<6&&re.push(e.transformES2019),ce<5&&re.push(e.transformES2018),ce<4&&re.push(e.transformES2017),ce<3&&re.push(e.transformES2016),ce<2&&(re.push(e.transformES2015),re.push(e.transformGenerators)),re.push(a(Y)),ce<1&&re.push(e.transformES5),e.addRange(re,y&&e.map(y.after,S)),re}function G(b){var y=[];return y.push(e.transformDeclarations),e.addRange(y,b&&e.map(b.afterDeclarations,k)),y}function ue(b){return function(y){return e.isBundle(y)?b.transformBundle(y):b.transformSourceFile(y)}}function h(b,y){return function(K){var ce=b(K);return typeof ce=="function"?y(K,ce):ue(ce)}}function S(b){return h(b,e.chainBundle)}function k(b){return h(b,function(y,K){return K})}function se(b,y){return y}e.noEmitSubstitution=se;function le(b,y,K){K(b,y)}e.noEmitNotification=le;function f(b,y,K,ce,Y,re,F){for(var O=new Array(353),Q,de,$,I=0,Z=[],z=[],ie=[],m=[],A=0,g=!1,C=[],N=0,_,d,E=se,j=le,B=0,W=[],J={factory:K,getCompilerOptions:function(){return ce},getEmitResolver:function(){return b},getEmitHost:function(){return y},getEmitHelperFactory:e.memoize(function(){return e.createEmitHelperFactory(J)}),startLexicalEnvironment:be,suspendLexicalEnvironment:Oe,resumeLexicalEnvironment:Ce,endLexicalEnvironment:ge,setLexicalEnvironmentFlags:ze,getLexicalEnvironmentFlags:ft,hoistVariableDeclaration:ot,hoistFunctionDeclaration:ke,addInitializationStatement:ve,startBlockScope:vt,endBlockScope:st,addBlockScopedVariable:At,requestEmitHelper:qt,readEmitHelpers:Ue,enableSubstitution:we,enableEmitNotification:pt,isSubstitutionEnabled:He,isEmitNotificationEnabled:Me,get onSubstituteNode(){return E},set onSubstituteNode(Ht){e.Debug.assert(B<1,"Cannot modify transformation hooks after initialization has completed."),e.Debug.assert(Ht!==void 0,"Value must not be 'undefined'"),E=Ht},get onEmitNode(){return j},set onEmitNode(Ht){e.Debug.assert(B<1,"Cannot modify transformation hooks after initialization has completed."),e.Debug.assert(Ht!==void 0,"Value must not be 'undefined'"),j=Ht},addDiagnostic:function(Ht){W.push(Ht)}},M=0,pe=Y;M0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(B<2,"Cannot modify the lexical environment after transformation has completed.");var _t=e.setEmitFlags(K.createVariableDeclaration(Ht),64);Q?Q.push(_t):Q=[_t],I&1&&(I|=2)}function ke(Ht){e.Debug.assert(B>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(B<2,"Cannot modify the lexical environment after transformation has completed."),e.setEmitFlags(Ht,1048576),de?de.push(Ht):de=[Ht]}function ve(Ht){e.Debug.assert(B>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(B<2,"Cannot modify the lexical environment after transformation has completed."),e.setEmitFlags(Ht,1048576),$?$.push(Ht):$=[Ht]}function be(){e.Debug.assert(B>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(B<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!g,"Lexical environment is suspended."),Z[A]=Q,z[A]=de,ie[A]=$,m[A]=I,A++,Q=void 0,de=void 0,$=void 0,I=0}function Oe(){e.Debug.assert(B>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(B<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!g,"Lexical environment is already suspended."),g=!0}function Ce(){e.Debug.assert(B>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(B<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(g,"Lexical environment is not suspended."),g=!1}function ge(){e.Debug.assert(B>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(B<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!g,"Lexical environment is suspended.");var Ht;if(Q||de||$){if(de&&(Ht=tt([],de,!0)),Q){var _t=K.createVariableStatement(void 0,K.createVariableDeclarationList(Q));e.setEmitFlags(_t,1048576),Ht?Ht.push(_t):Ht=[_t]}$&&(Ht?Ht=tt(tt([],Ht,!0),$,!0):Ht=tt([],$,!0))}return A--,Q=Z[A],de=z[A],$=ie[A],I=m[A],A===0&&(Z=[],z=[],ie=[],m=[]),Ht}function ze(Ht,_t){I=_t?I|Ht:I&~Ht}function ft(){return I}function vt(){e.Debug.assert(B>0,"Cannot start a block scope during initialization."),e.Debug.assert(B<2,"Cannot start a block scope after transformation has completed."),C[N]=_,N++,_=void 0}function st(){e.Debug.assert(B>0,"Cannot end a block scope during initialization."),e.Debug.assert(B<2,"Cannot end a block scope after transformation has completed.");var Ht=e.some(_)?[K.createVariableStatement(void 0,K.createVariableDeclarationList(_.map(function(_t){return K.createVariableDeclaration(_t)}),1))]:void 0;return N--,_=C[N],N===0&&(C=[]),Ht}function At(Ht){e.Debug.assert(N>0,"Cannot add a block scoped variable outside of an iteration body."),(_||(_=[])).push(Ht)}function qt(Ht){if(e.Debug.assert(B>0,"Cannot modify the transformation context during initialization."),e.Debug.assert(B<2,"Cannot modify the transformation context after transformation has completed."),e.Debug.assert(!Ht.scoped,"Cannot request a scoped emit helper."),Ht.dependencies)for(var _t=0,It=Ht.dependencies;_t0,"Cannot modify the transformation context during initialization."),e.Debug.assert(B<2,"Cannot modify the transformation context after transformation has completed.");var Ht=d;return d=void 0,Ht}function Ie(){if(B<3){for(var Ht=0,_t=Y;Ht<_t.length;Ht++){var It=_t[Ht];e.disposeEmitNodes(e.getSourceFileOfNode(e.getParseTreeNode(It)))}Q=void 0,Z=void 0,de=void 0,z=void 0,E=void 0,j=void 0,d=void 0,B=3}}}e.transformNodes=f,e.nullTransformationContext={factory:e.factory,getCompilerOptions:function(){return{}},getEmitResolver:e.notImplemented,getEmitHost:e.notImplemented,getEmitHelperFactory:e.notImplemented,startLexicalEnvironment:e.noop,resumeLexicalEnvironment:e.noop,suspendLexicalEnvironment:e.noop,endLexicalEnvironment:e.returnUndefined,setLexicalEnvironmentFlags:e.noop,getLexicalEnvironmentFlags:function(){return 0},hoistVariableDeclaration:e.noop,hoistFunctionDeclaration:e.noop,addInitializationStatement:e.noop,startBlockScope:e.noop,endBlockScope:e.returnUndefined,addBlockScopedVariable:e.noop,requestEmitHelper:e.noop,readEmitHelpers:e.notImplemented,enableSubstitution:e.noop,enableEmitNotification:e.noop,isSubstitutionEnabled:e.notImplemented,isEmitNotificationEnabled:e.notImplemented,onSubstituteNode:se,onEmitNode:le,addDiagnostic:e.noop}})(ne||(ne={}));var ne;(function(e){var a=z();function u(g){return e.fileExtensionIs(g,".tsbuildinfo")}e.isBuildInfoFile=u;function P(g,C,N,_,d,E){_===void 0&&(_=!1);var j=e.isArray(N)?N:e.getSourceFilesToEmit(g,N,_),B=g.getCompilerOptions();if(e.outFile(B)){var W=g.getPrependNodes();if(j.length||W.length){var J=e.factory.createBundle(j,W),M=C(G(J,g,_),J);if(M)return M}}else{if(!d)for(var pe=0,Ne=j;pe"),Wr(),Ut(x.type),Qs(x)}function bo(x){Sa("function"),hl(x,x.parameters),Qr(":"),Ut(x.type)}function pa(x){Qr("?"),Ut(x.type)}function oo(x){Qr("!"),Ut(x.type)}function Ro(x){Ut(x.type),Qr("=")}function jo(x){Lr(x),oc(x,x.modifiers),Sa("new"),Wr(),jc(x,x.typeParameters),hl(x,x.parameters),Wr(),Qr("=>"),Wr(),Ut(x.type),Qs(x)}function _s(x){Sa("typeof"),Wr(),Ut(x.exprName)}function ds(x){Qr("{");var rt=e.getEmitFlags(x)&1?768:32897;Yo(x,x.members,rt|524288),Qr("}")}function Fs(x){Ut(x.elementType,Zt.parenthesizeElementTypeOfArrayType),Qr("["),Qr("]")}function ec(x){Qr("..."),Ut(x.type)}function xt(x){qi(22,x.pos,Qr,x);var rt=e.getEmitFlags(x)&1?528:657;Yo(x,x.elements,rt|524288),qi(23,x.elements.end,Qr,x)}function Sn(x){Ut(x.dotDotDotToken),Ut(x.name),Ut(x.questionToken),qi(58,x.name.end,Qr,x),Wr(),Ut(x.type)}function fr(x){Ut(x.type,Zt.parenthesizeElementTypeOfArrayType),Qr("?")}function ai(x){Yo(x,x.types,516,Zt.parenthesizeMemberOfElementType)}function gi(x){Yo(x,x.types,520,Zt.parenthesizeMemberOfElementType)}function qe(x){Ut(x.checkType,Zt.parenthesizeMemberOfConditionalType),Wr(),Sa("extends"),Wr(),Ut(x.extendsType,Zt.parenthesizeMemberOfConditionalType),Wr(),Qr("?"),Wr(),Ut(x.trueType),Wr(),Qr(":"),Wr(),Ut(x.falseType)}function D(x){Sa("infer"),Wr(),Ut(x.typeParameter)}function De(x){Qr("("),Ut(x.type),Qr(")")}function Ke(){Sa("this")}function nt(x){T_(x.operator,Sa),Wr(),Ut(x.type,Zt.parenthesizeMemberOfElementType)}function Mt(x){Ut(x.objectType,Zt.parenthesizeMemberOfElementType),Qr("["),Ut(x.indexType),Qr("]")}function _n(x){var rt=e.getEmitFlags(x);Qr("{"),rt&1?Wr():(Jo(),sc()),x.readonlyToken&&(Ut(x.readonlyToken),x.readonlyToken.kind!==144&&Sa("readonly"),Wr()),Qr("["),hn(3,x.typeParameter),x.nameType&&(Wr(),Sa("as"),Wr(),Ut(x.nameType)),Qr("]"),x.questionToken&&(Ut(x.questionToken),x.questionToken.kind!==57&&Qr("?")),Qr(":"),Wr(),Ut(x.type),ys(),rt&1?Wr():(Jo(),tu()),Qr("}")}function Dn(x){Ct(x.literal)}function Vn(x){Ut(x.head),Yo(x,x.templateSpans,262144)}function mr(x){x.isTypeOf&&(Sa("typeof"),Wr()),Sa("import"),Qr("("),Ut(x.argument),Qr(")"),x.qualifier&&(Qr("."),Ut(x.qualifier)),mu(x,x.typeArguments)}function Xr(x){Qr("{"),Yo(x,x.elements,525136),Qr("}")}function Pi(x){Qr("["),Yo(x,x.elements,524880),Qr("]")}function ji(x){Ut(x.dotDotDotToken),x.propertyName&&(Ut(x.propertyName),Qr(":"),Wr()),Ut(x.name),hd(x.initializer,x.name.end,x,Zt.parenthesizeExpressionForDisallowedComma)}function da(x){var rt=x.elements,on=x.multiLine?65536:0;Vc(x,rt,8914|on,Zt.parenthesizeExpressionForDisallowedComma)}function fo(x){e.forEach(x.properties,kf);var rt=e.getEmitFlags(x)&65536;rt&&sc();var on=x.multiLine?65536:0,Wn=Se.languageVersion>=1&&!e.isJsonSourceFile(Se)?64:0;Yo(x,x.properties,526226|Wn|on),rt&&tu()}function Ho(x){Ct(x.expression,Zt.parenthesizeLeftSideOfAccess);var rt=x.questionDotToken||e.setTextRangePosEnd(e.factory.createToken(24),x.expression.end,x.name.pos),on=Ls(x,x.expression,rt),Wn=Ls(x,rt,x.name);$u(on,!1);var wr=rt.kind!==28&&vs(x.expression)&&!be.hasTrailingComment()&&!be.hasTrailingWhitespace();wr&&Qr("."),x.questionDotToken?Ut(rt):qi(rt.kind,x.expression.end,Qr,x),$u(Wn,!1),Ut(x.name),Jl(on,Wn)}function vs(x){if(x=e.skipPartiallyEmittedExpressions(x),e.isNumericLiteral(x)){var rt=Ya(x,!0,!1);return!x.numericLiteralFlags&&!e.stringContains(rt,e.tokenToString(24))}else if(e.isAccessExpression(x)){var on=e.getConstantValue(x);return typeof on=="number"&&isFinite(on)&&Math.floor(on)===on}}function ns(x){Ct(x.expression,Zt.parenthesizeLeftSideOfAccess),Ut(x.questionDotToken),qi(22,x.expression.end,Qr,x),Ct(x.argumentExpression),qi(23,x.argumentExpression.end,Qr,x)}function Os(x){var rt=e.getEmitFlags(x)&536870912;rt&&(Qr("("),Tu("0"),Qr(","),Wr()),Ct(x.expression,Zt.parenthesizeLeftSideOfAccess),rt&&Qr(")"),Ut(x.questionDotToken),mu(x,x.typeArguments),Vc(x,x.arguments,2576,Zt.parenthesizeExpressionForDisallowedComma)}function qs(x){qi(103,x.pos,Sa,x),Wr(),Ct(x.expression,Zt.parenthesizeExpressionOfNew),mu(x,x.typeArguments),Vc(x,x.arguments,18960,Zt.parenthesizeExpressionForDisallowedComma)}function jn(x){var rt=e.getEmitFlags(x)&536870912;rt&&(Qr("("),Tu("0"),Qr(","),Wr()),Ct(x.tag,Zt.parenthesizeLeftSideOfAccess),rt&&Qr(")"),mu(x,x.typeArguments),Wr(),Ct(x.template)}function ci(x){Qr("<"),Ut(x.type),Qr(">"),Ct(x.expression,Zt.parenthesizeOperandOfPrefixUnary)}function hi(x){var rt=qi(20,x.pos,Qr,x),on=sp(x.expression,x);Ct(x.expression,void 0),cp(x.expression,x),Jl(on),qi(21,x.expression?x.expression.end:rt,Qr,x)}function fa(x){nu(x.name),Xi(x)}function wa(x){mc(x,x.decorators),oc(x,x.modifiers),Fo(x,eo)}function eo(x){jc(x,x.typeParameters),Du(x,x.parameters),Yu(x.type),Wr(),Ut(x.equalsGreaterThanToken)}function zi(x){qi(89,x.pos,Sa,x),Wr(),Ct(x.expression,Zt.parenthesizeOperandOfPrefixUnary)}function Ia(x){qi(112,x.pos,Sa,x),Wr(),Ct(x.expression,Zt.parenthesizeOperandOfPrefixUnary)}function Za(x){qi(114,x.pos,Sa,x),Wr(),Ct(x.expression,Zt.parenthesizeOperandOfPrefixUnary)}function Do(x){qi(132,x.pos,Sa,x),Wr(),Ct(x.expression,Zt.parenthesizeOperandOfPrefixUnary)}function Bo(x){T_(x.operator,Bl),ye(x)&&Wr(),Ct(x.operand,Zt.parenthesizeOperandOfPrefixUnary)}function ye(x){var rt=x.operand;return rt.kind===218&&(x.operator===39&&(rt.operator===39||rt.operator===45)||x.operator===40&&(rt.operator===40||rt.operator===46))}function Jt(x){Ct(x.operand,Zt.parenthesizeOperandOfPostfixUnary),T_(x.operator,Bl)}function En(){return e.createBinaryExpressionTrampoline(x,rt,on,Wn,wr,void 0);function x(Qi,ma){if(ma){ma.stackIndex++,ma.preserveSourceNewlinesStack[ma.stackIndex]=ke,ma.containerPosStack[ma.stackIndex]=fe,ma.containerEndStack[ma.stackIndex]=Be,ma.declarationListContainerEndStack[ma.stackIndex]=We;var $o=ma.shouldEmitCommentsStack[ma.stackIndex]=Pn(Qi),Zo=ma.shouldEmitSourceMapsStack[ma.stackIndex]=Fn(Qi);W==null||W(Qi),$o&&Kl(Qi),Zo&&gp(Qi),en(Qi)}else ma={stackIndex:0,preserveSourceNewlinesStack:[void 0],containerPosStack:[-1],containerEndStack:[-1],declarationListContainerEndStack:[-1],shouldEmitCommentsStack:[!1],shouldEmitSourceMapsStack:[!1]};return ma}function rt(Qi,ma,$o){return $r(Qi,$o,"left")}function on(Qi,ma,$o){var Zo=Qi.kind!==27,ss=Ls($o,$o.left,Qi),Zs=Ls($o,Qi,$o.right);$u(ss,Zo),ql(Qi.pos),ap(Qi,Qi.kind===101?Sa:Bl),Dr(Qi.end,!0),$u(Zs,!0)}function Wn(Qi,ma,$o){return $r(Qi,$o,"right")}function wr(Qi,ma){var $o=Ls(Qi,Qi.left,Qi.operatorToken),Zo=Ls(Qi,Qi.operatorToken,Qi.right);if(Jl($o,Zo),ma.stackIndex>0){var ss=ma.preserveSourceNewlinesStack[ma.stackIndex],Zs=ma.containerPosStack[ma.stackIndex],js=ma.containerEndStack[ma.stackIndex],xc=ma.declarationListContainerEndStack[ma.stackIndex],Lu=ma.shouldEmitCommentsStack[ma.stackIndex],Ru=ma.shouldEmitSourceMapsStack[ma.stackIndex];mn(ss),Ru&&Z_(Qi),Lu&&Nd(Qi,Zs,js,xc),J==null||J(Qi),ma.stackIndex--}}function $r(Qi,ma,$o){var Zo=$o==="left"?Zt.getParenthesizeLeftSideOfBinaryForOperator(ma.operatorToken.kind):Zt.getParenthesizeRightSideOfBinaryForOperator(ma.operatorToken.kind),ss=An(0,1,Qi);if(ss===di&&(e.Debug.assertIsDefined(pn),Qi=Zo(e.cast(pn,e.isExpression)),ss=Tn(1,1,Qi),pn=void 0),(ss===Ts||ss===mp||ss===xn)&&e.isBinaryExpression(Qi))return Qi;he=Zo,ss(1,Qi)}}function or(x){var rt=Ls(x,x.condition,x.questionToken),on=Ls(x,x.questionToken,x.whenTrue),Wn=Ls(x,x.whenTrue,x.colonToken),wr=Ls(x,x.colonToken,x.whenFalse);Ct(x.condition,Zt.parenthesizeConditionOfConditionalExpression),$u(rt,!0),Ut(x.questionToken),$u(on,!0),Ct(x.whenTrue,Zt.parenthesizeBranchOfConditionalExpression),Jl(rt,on),$u(Wn,!0),Ut(x.colonToken),$u(wr,!0),Ct(x.whenFalse,Zt.parenthesizeBranchOfConditionalExpression),Jl(Wn,wr)}function ii(x){Ut(x.head),Yo(x,x.templateSpans,262144)}function je(x){qi(125,x.pos,Sa,x),Ut(x.asteriskToken),x_(x.expression&&eu(x.expression),Kt)}function un(x){qi(25,x.pos,Qr,x),Ct(x.expression,Zt.parenthesizeExpressionForDisallowedComma)}function Cr(x){nu(x.name),qr(x)}function aa(x){Ct(x.expression,Zt.parenthesizeLeftSideOfAccess),mu(x,x.typeArguments)}function Mi(x){Ct(x.expression,void 0),x.type&&(Wr(),Sa("as"),Wr(),Ut(x.type))}function ro(x){Ct(x.expression,Zt.parenthesizeLeftSideOfAccess),Bl("!")}function ms(x){D_(x.keywordToken,x.pos,Qr),Qr("."),Ut(x.name)}function Ot(x){Ct(x.expression),Ut(x.literal)}function fc(x){Ac(x,!x.multiLine&&xl(x))}function Ac(x,rt){qi(18,x.pos,Qr,x);var on=rt||e.getEmitFlags(x)&1?768:129;Yo(x,x.statements,on),qi(19,x.statements.end,Qr,x,!!(on&1))}function Mc(x){oc(x,x.modifiers),Ut(x.declarationList),ys()}function Qo(x){x?Qr(";"):ys()}function Lc(x){Ct(x.expression,Zt.parenthesizeExpressionOfExpressionStatement),(!e.isJsonSourceFile(Se)||e.nodeIsSynthesized(x.expression))&&ys()}function Rc(x){var rt=qi(99,x.pos,Sa,x);Wr(),qi(20,rt,Qr,x),Ct(x.expression),qi(21,x.expression.end,Qr,x),Ou(x,x.thenStatement),x.elseStatement&&(cc(x,x.thenStatement,x.elseStatement),qi(91,x.thenStatement.end,Sa,x),x.elseStatement.kind===238?(Wr(),Ut(x.elseStatement)):Ou(x,x.elseStatement))}function vu(x,rt){var on=qi(115,rt,Sa,x);Wr(),qi(20,on,Qr,x),Ct(x.expression),qi(21,x.expression.end,Qr,x)}function Vu(x){qi(90,x.pos,Sa,x),Ou(x,x.statement),e.isBlock(x.statement)&&!ke?Wr():cc(x,x.statement,x.expression),vu(x,x.statement.end),ys()}function gl(x){vu(x,x.pos),Ou(x,x.statement)}function So(x){var rt=qi(97,x.pos,Sa,x);Wr();var on=qi(20,rt,Qr,x);Fc(x.initializer),on=qi(26,x.initializer?x.initializer.end:on,Qr,x),x_(x.condition),on=qi(26,x.condition?x.condition.end:on,Qr,x),x_(x.incrementor),qi(21,x.incrementor?x.incrementor.end:on,Qr,x),Ou(x,x.statement)}function hu(x){var rt=qi(97,x.pos,Sa,x);Wr(),qi(20,rt,Qr,x),Fc(x.initializer),Wr(),qi(101,x.initializer.end,Sa,x),Wr(),Ct(x.expression),qi(21,x.expression.end,Qr,x),Ou(x,x.statement)}function Hu(x){var rt=qi(97,x.pos,Sa,x);Wr(),np(x.awaitModifier),qi(20,rt,Qr,x),Fc(x.initializer),Wr(),qi(159,x.initializer.end,Sa,x),Wr(),Ct(x.expression),qi(21,x.expression.end,Qr,x),Ou(x,x.statement)}function Fc(x){x!==void 0&&(x.kind===254?Ut(x):Ct(x))}function ol(x){qi(86,x.pos,Sa,x),bd(x.label),ys()}function sl(x){qi(81,x.pos,Sa,x),bd(x.label),ys()}function qi(x,rt,on,Wn,wr){var $r=e.getParseTreeNode(Wn),Qi=$r&&$r.kind===Wn.kind,ma=rt;if(Qi&&Se&&(rt=e.skipTrivia(Se.text,rt)),Qi&&Wn.pos!==ma){var $o=wr&&Se&&!e.positionsAreOnSameLine(ma,rt,Se);$o&&sc(),ql(ma),$o&&tu()}if(rt=T_(x,on,rt),Qi&&Wn.end!==rt){var Zo=Wn.kind===287;Dr(rt,!Zo,Zo)}return rt}function Ml(x){return x.kind===2||!!x.hasTrailingNewLine}function Ll(x){return Se?e.some(e.getLeadingCommentRanges(Se.text,x.pos),Ml)||e.some(e.getSyntheticLeadingComments(x),Ml)?!0:e.isPartiallyEmittedExpression(x)?x.pos!==x.expression.pos&&e.some(e.getTrailingCommentRanges(Se.text,x.expression.pos),Ml)?!0:Ll(x.expression):!1:!1}function eu(x){if(!Et&&e.isPartiallyEmittedExpression(x)&&Ll(x)){var rt=e.getParseTreeNode(x);if(rt&&e.isParenthesizedExpression(rt)){var on=e.factory.createParenthesizedExpression(x.expression);return e.setOriginalNode(on,x),e.setTextRange(on,rt),on}return e.factory.createParenthesizedExpression(x)}return x}function Kt(x){return eu(Zt.parenthesizeExpressionForDisallowedComma(x))}function ln(x){qi(105,x.pos,Sa,x),x_(x.expression&&eu(x.expression),eu),ys()}function Mn(x){var rt=qi(116,x.pos,Sa,x);Wr(),qi(20,rt,Qr,x),Ct(x.expression),qi(21,x.expression.end,Qr,x),Ou(x,x.statement)}function ir(x){var rt=qi(107,x.pos,Sa,x);Wr(),qi(20,rt,Qr,x),Ct(x.expression),qi(21,x.expression.end,Qr,x),Wr(),Ut(x.caseBlock)}function hr(x){Ut(x.label),qi(58,x.label.end,Qr,x),Wr(),Ut(x.statement)}function Tr(x){qi(109,x.pos,Sa,x),x_(eu(x.expression),eu),ys()}function Ur(x){qi(111,x.pos,Sa,x),Wr(),Ut(x.tryBlock),x.catchClause&&(cc(x,x.tryBlock,x.catchClause),Ut(x.catchClause)),x.finallyBlock&&(cc(x,x.catchClause||x.tryBlock,x.finallyBlock),qi(96,(x.catchClause||x.tryBlock).end,Sa,x),Wr(),Ut(x.finallyBlock))}function ui(x){D_(87,x.pos,Sa),ys()}function ia(x){Ut(x.name),Ut(x.exclamationToken),Yu(x.type),hd(x.initializer,x.type?x.type.end:x.name.end,x,Zt.parenthesizeExpressionForDisallowedComma)}function Ti(x){Sa(e.isLet(x)?"let":e.isVarConst(x)?"const":"var"),Wr(),Yo(x,x.declarations,528)}function Di(x){Xi(x)}function Xi(x){mc(x,x.decorators),oc(x,x.modifiers),Sa("function"),Ut(x.asteriskToken),Wr(),$e(x.name),Fo(x,io)}function Fo(x,rt){var on=x.body;if(on)if(e.isBlock(on)){var Wn=e.getEmitFlags(x)&65536;Wn&&sc(),Lr(x),e.forEach(x.parameters,Rs),Rs(x.body),rt(x),mt(on),Qs(x),Wn&&tu()}else rt(x),Wr(),Ct(on,Zt.parenthesizeConciseBodyOfArrowFunction);else rt(x),ys()}function io(x){jc(x,x.typeParameters),hl(x,x.parameters),Yu(x.type)}function me(x){if(e.getEmitFlags(x)&1)return!0;if(x.multiLine||!e.nodeIsSynthesized(x)&&!e.rangeIsOnSingleLine(x,Se)||V_(x,x.statements,2)||Td(x,x.statements,2))return!1;for(var rt,on=0,Wn=x.statements;on0)return!1;rt=wr}return!0}function mt(x){W==null||W(x),Wr(),Qr("{"),sc();var rt=me(x)?Dt:Cn;yu?yu(x,x.statements,rt):rt(x),tu(),D_(19,x.statements.end,Qr,x),J==null||J(x)}function Dt(x){Cn(x,!0)}function Cn(x,rt){var on=v_(x.statements),Wn=be.getTextPos();Oi(x),on===0&&Wn===be.getTextPos()&&rt?(tu(),Yo(x,x.statements,768),sc()):Yo(x,x.statements,1,void 0,on)}function Gn(x){qr(x)}function qr(x){e.forEach(x.members,kf),mc(x,x.decorators),oc(x,x.modifiers),Sa("class"),x.name&&(Wr(),$e(x.name));var rt=e.getEmitFlags(x)&65536;rt&&sc(),jc(x,x.typeParameters),Yo(x,x.heritageClauses,0),Wr(),Qr("{"),Yo(x,x.members,129),Qr("}"),rt&&tu()}function xi(x){mc(x,x.decorators),oc(x,x.modifiers),Sa("interface"),Wr(),Ut(x.name),jc(x,x.typeParameters),Yo(x,x.heritageClauses,512),Wr(),Qr("{"),Yo(x,x.members,129),Qr("}")}function ba(x){mc(x,x.decorators),oc(x,x.modifiers),Sa("type"),Wr(),Ut(x.name),jc(x,x.typeParameters),Wr(),Qr("="),Wr(),Ut(x.type),ys()}function go(x){oc(x,x.modifiers),Sa("enum"),Wr(),Ut(x.name),Wr(),Qr("{"),Yo(x,x.members,145),Qr("}")}function wo(x){oc(x,x.modifiers),~x.flags&1024&&(Sa(x.flags&16?"namespace":"module"),Wr()),Ut(x.name);var rt=x.body;if(!rt)return ys();for(;rt&&e.isModuleDeclaration(rt);)Qr("."),Ut(rt.name),rt=rt.body;Wr(),Ut(rt)}function yo(x){Lr(x),e.forEach(x.statements,Rs),Ac(x,xl(x)),Qs(x)}function Ga(x){qi(18,x.pos,Qr,x),Yo(x,x.clauses,129),qi(19,x.clauses.end,Qr,x,!0)}function co(x){oc(x,x.modifiers),qi(100,x.modifiers?x.modifiers.end:x.pos,Sa,x),Wr(),x.isTypeOnly&&(qi(151,x.pos,Sa,x),Wr()),Ut(x.name),Wr(),qi(63,x.name.end,Qr,x),Wr(),ps(x.moduleReference),ys()}function ps(x){x.kind===79?Ct(x):Ut(x)}function hs(x){oc(x,x.modifiers),qi(100,x.modifiers?x.modifiers.end:x.pos,Sa,x),Wr(),x.importClause&&(Ut(x.importClause),Wr(),qi(155,x.importClause.end,Sa,x),Wr()),Ct(x.moduleSpecifier),x.assertClause&&bd(x.assertClause),ys()}function Us(x){x.isTypeOnly&&(qi(151,x.pos,Sa,x),Wr()),Ut(x.name),x.name&&x.namedBindings&&(qi(27,x.name.end,Qr,x),Wr()),Ut(x.namedBindings)}function wc(x){var rt=qi(41,x.pos,Qr,x);Wr(),qi(127,rt,Sa,x),Wr(),Ut(x.name)}function Wt(x){Gd(x)}function xu(x){Xs(x)}function fu(x){var rt=qi(93,x.pos,Sa,x);Wr(),x.isExportEquals?qi(63,rt,Bl,x):qi(88,rt,Sa,x),Wr(),Ct(x.expression,x.isExportEquals?Zt.getParenthesizeRightSideOfBinaryForOperator(63):Zt.parenthesizeExpressionOfExportDefault),ys()}function bu(x){var rt=qi(93,x.pos,Sa,x);if(Wr(),x.isTypeOnly&&(rt=qi(151,rt,Sa,x),Wr()),x.exportClause?Ut(x.exportClause):rt=qi(41,rt,Qr,x),x.moduleSpecifier){Wr();var on=x.exportClause?x.exportClause.end:rt;qi(155,on,Sa,x),Wr(),Ct(x.moduleSpecifier)}x.assertClause&&bd(x.assertClause),ys()}function tc(x){qi(129,x.pos,Sa,x),Wr();var rt=x.elements;Yo(x,rt,526226)}function Rl(x){Ut(x.name),Qr(":"),Wr();var rt=x.value;if((e.getEmitFlags(rt)&512)===0){var on=e.getCommentRange(rt);Dr(on.pos)}Ut(rt)}function jl(x){var rt=qi(93,x.pos,Sa,x);Wr(),rt=qi(127,rt,Sa,x),Wr(),rt=qi(142,rt,Sa,x),Wr(),Ut(x.name),ys()}function bf(x){var rt=qi(41,x.pos,Qr,x);Wr(),qi(127,rt,Sa,x),Wr(),Ut(x.name)}function Co(x){Gd(x)}function Hd(x){Xs(x)}function Gd(x){Qr("{"),Yo(x,x.elements,525136),Qr("}")}function Xs(x){x.isTypeOnly&&(Sa("type"),Wr()),x.propertyName&&(Ut(x.propertyName),Wr(),qi(127,x.propertyName.end,Sa,x),Wr()),Ut(x.name)}function Au(x){Sa("require"),Qr("("),Ct(x.expression),Qr(")")}function yl(x){Ut(x.openingElement),Yo(x,x.children,262144),Ut(x.closingElement)}function K_(x){Qr("<"),gs(x.tagName),mu(x,x.typeArguments),Wr(),Ut(x.attributes),Qr("/>")}function vl(x){Ut(x.openingFragment),Yo(x,x.children,262144),Ut(x.closingFragment)}function Gu(x){if(Qr("<"),e.isJsxOpeningElement(x)){var rt=sp(x.tagName,x);gs(x.tagName),mu(x,x.typeArguments),x.attributes.properties&&x.attributes.properties.length>0&&Wr(),Ut(x.attributes),cp(x.attributes,x),Jl(rt)}Qr(">")}function nc(x){be.writeLiteral(x.text)}function g_(x){Qr("")}function Ji(x){Yo(x,x.properties,262656)}function Ni(x){Ut(x.name),xd("=",Qr,x.initializer,kt)}function cl(x){Qr("{..."),Ct(x.expression),Qr("}")}function Wc(x){var rt=!1;return e.forEachTrailingCommentRange((Se==null?void 0:Se.text)||"",x+1,function(){return rt=!0}),rt}function zp(x){var rt=!1;return e.forEachLeadingCommentRange((Se==null?void 0:Se.text)||"",x+1,function(){return rt=!0}),rt}function Fu(x){return Wc(x)||zp(x)}function Qd(x){var rt;if(x.expression||!Et&&!e.nodeIsSynthesized(x)&&Fu(x.pos)){var on=Se&&!e.nodeIsSynthesized(x)&&e.getLineAndCharacterOfPosition(Se,x.pos).line!==e.getLineAndCharacterOfPosition(Se,x.end).line;on&&be.increaseIndent();var Wn=qi(18,x.pos,Qr,x);Ut(x.dotDotDotToken),Ct(x.expression),qi(19,((rt=x.expression)===null||rt===void 0?void 0:rt.end)||Wn,Qr,x),on&&be.decreaseIndent()}}function gs(x){x.kind===79?Ct(x):Ut(x)}function _d(x){qi(82,x.pos,Sa,x),Wr(),Ct(x.expression,Zt.parenthesizeExpressionForDisallowedComma),dd(x,x.statements,x.expression.end)}function y_(x){var rt=qi(88,x.pos,Sa,x);dd(x,x.statements,rt)}function dd(x,rt,on){var Wn=rt.length===1&&(e.nodeIsSynthesized(x)||e.nodeIsSynthesized(rt[0])||e.rangeStartPositionsAreOnSameLine(x,rt[0],Se)),wr=163969;Wn?(D_(58,on,Qr,x),Wr(),wr&=-130):qi(58,on,Qr,x),Yo(x,rt,wr)}function pd(x){Wr(),T_(x.token,Sa),Wr(),Yo(x,x.types,528)}function Su(x){var rt=qi(83,x.pos,Sa,x);Wr(),x.variableDeclaration&&(qi(20,rt,Qr,x),Ut(x.variableDeclaration),qi(21,x.variableDeclaration.end,Qr,x),Wr()),Ut(x.block)}function Qf(x){Ut(x.name),Qr(":"),Wr();var rt=x.initializer;if((e.getEmitFlags(rt)&512)===0){var on=e.getCommentRange(rt);Dr(on.pos)}Ct(rt,Zt.parenthesizeExpressionForDisallowedComma)}function fd(x){Ut(x.name),x.objectAssignmentInitializer&&(Wr(),Qr("="),Wr(),Ct(x.objectAssignmentInitializer,Zt.parenthesizeExpressionForDisallowedComma))}function Up(x){x.expression&&(qi(25,x.pos,Qr,x),Ct(x.expression,Zt.parenthesizeExpressionForDisallowedComma))}function Yd(x){Ut(x.name),hd(x.initializer,x.name.end,x,Zt.parenthesizeExpressionForDisallowedComma)}function Yf(x){if(Ce("/**"),x.comment){var rt=e.getTextOfJSDocComment(x.comment);if(rt)for(var on=rt.split(/\r\n?|\n/g),Wn=0,wr=on;Wn'),ze&&ze.sections.push({pos:wr,end:be.getTextPos(),kind:"no-default-lib"}),Jo()}if(Se&&Se.moduleName&&(ll('/// ')),Jo()),Se&&Se.amdDependencies)for(var $r=0,Qi=Se.amdDependencies;$r')):ll('/// ')),Jo()}for(var $o=0,Zo=rt;$o')),ze&&ze.sections.push({pos:wr,end:be.getTextPos(),kind:"reference",data:ss.fileName}),Jo()}for(var Zs=0,js=on;Zs')),ze&&ze.sections.push({pos:wr,end:be.getTextPos(),kind:"type",data:ss.fileName}),Jo()}for(var xc=0,Lu=Wn;xc')),ze&&ze.sections.push({pos:wr,end:be.getTextPos(),kind:"lib",data:ss.fileName}),Jo()}}function gd(x){var rt=x.statements;Lr(x),e.forEach(x.statements,Rs),Oi(x);var on=e.findIndex(rt,function(Wn){return!e.isPrologueDirective(Wn)});Ef(x),Yo(x,rt,1,void 0,on===-1?rt.length:on),Qs(x)}function Zd(x){var rt=e.getEmitFlags(x);!(rt&512)&&x.pos!==x.expression.pos&&Dr(x.expression.pos),Ct(x.expression),!(rt&1024)&&x.end!==x.expression.end&&ql(x.expression.end)}function yd(x){Vc(x,x.elements,528,void 0)}function v_(x,rt,on,Wn){for(var wr=!!rt,$r=0;$r=on.length||Qi===0;if($o&&Wn&32768){M&&M(on),pe&&pe(on);return}if(Wn&15360&&(Qr(ie(Wn)),$o&&on&&Dr(on.pos,!0)),M&&M(on),$o)Wn&1&&!(ke&&(!rt||e.rangeIsOnSingleLine(rt,Se)))?Jo():Wn&256&&!(Wn&524288)&&Wr();else{e.Debug.type(on);var Zo=(Wn&262144)===0,ss=Zo,Zs=V_(rt,on,Wn);Zs?(Jo(Zs),ss=!1):Wn&256&&Wr(),Wn&128&&sc();for(var js=void 0,xc=void 0,Lu=!1,Ru=0;Ru0?((Wn&131)===0&&(sc(),Lu=!0),Jo(N_),ss=!1):js&&Wn&512&&Wr()}if(xc=Ge(ju),ss){var Zf=e.getCommentRange(ju);Dr(Zf.pos)}else ss=Zo;ve=ju.pos,x.length===1?x(ju):x(ju,wr),Lu&&(tu(),Lu=!1),js=ju}var Od=js?e.getEmitFlags(js):0,Jc=Et||!!(Od&1024),Vl=(on==null?void 0:on.hasTrailingComma)&&Wn&64&&Wn&16;Vl&&(js&&!Jc?qi(27,js.end,Qr,js):Qr(",")),js&&(rt?rt.end:-1)!==js.end&&Wn&60&&!Jc&&ql(Vl&&(on==null?void 0:on.end)?on.end:js.end),Wn&128&&tu(),lt(xc);var Pe=Td(rt,on,Wn);Pe?Jo(Pe):Wn&2097408&&Wr()}pe&&pe(on),Wn&15360&&($o&&on&&ql(on.end),Qr(m(Wn)))}}function Tu(x){be.writeLiteral(x)}function rp(x){be.writeStringLiteral(x)}function b_(x){be.write(x)}function S_(x,rt){be.writeSymbol(x,rt)}function Qr(x){be.writePunctuation(x)}function ys(){be.writeTrailingSemicolon(";")}function Sa(x){be.writeKeyword(x)}function Bl(x){be.writeOperator(x)}function Ms(x){be.writeParameter(x)}function ll(x){be.writeComment(x)}function Wr(){be.writeSpace(" ")}function Dd(x){be.writeProperty(x)}function ip(x){be.nonEscapingWrite?be.nonEscapingWrite(x):be.write(x)}function Jo(x){x===void 0&&(x=1);for(var rt=0;rt0)}function sc(){be.increaseIndent()}function tu(){be.decreaseIndent()}function D_(x,rt,on,Wn){return qt?T_(x,on,rt):iu(Wn,x,on,rt,T_)}function ap(x,rt){Ne&&Ne(x),rt(e.tokenToString(x.kind)),w&&w(x)}function T_(x,rt,on){var Wn=e.tokenToString(x);return rt(Wn),on<0?on:on+Wn.length}function cc(x,rt,on){if(e.getEmitFlags(x)&1)Wr();else if(ke){var Wn=Ls(x,rt,on);Wn?Jo(Wn):Wr()}else Jo()}function op(x){for(var rt=x.split(/\r\n?|\n/g),on=e.guessIndentation(rt),Wn=0,wr=rt;Wn0||Wn>0)&&on!==Wn&&(wr||Ul(on,x.kind!==347),(!wr||on>=0&&(rt&512)!==0)&&(fe=on),(!$r||Wn>=0&&(rt&1024)!==0)&&(Be=Wn,x.kind===254&&(We=Wn))),e.forEach(e.getSyntheticLeadingComments(x),_p),rn()}function k_(x,rt,on,Wn,wr,$r,Qi){Gt();var ma=Wn<0||(rt&1024)!==0||x.kind===11;e.forEach(e.getSyntheticTrailingComments(x),dp),(on>0||Wn>0)&&on!==Wn&&(fe=wr,Be=$r,We=Qi,!ma&&x.kind!==347&&Zi(Wn)),rn()}function _p(x){(x.hasLeadingNewline||x.kind===2)&&be.writeLine(),Sl(x),x.hasTrailingNewLine||x.kind===2?be.writeLine():be.writeSpace(" ")}function dp(x){be.isAtStartOfLine()||be.writeSpace(" "),Sl(x),x.hasTrailingNewLine&&be.writeLine()}function Sl(x){var rt=Pd(x),on=x.kind===3?e.computeLineStarts(rt):void 0;e.writeCommentRange(rt,on,be,0,rt.length,L)}function Pd(x){return x.kind===3?"/*".concat(x.text,"*/"):"//".concat(x.text)}function yu(x,rt,on){Gt();var Wn=rt.pos,wr=rt.end,$r=e.getEmitFlags(x),Qi=Wn<0||($r&512)!==0,ma=Et||wr<0||($r&1024)!==0;Qi||Hc(rt),rn(),$r&2048&&!Et?(Et=!0,on(x),Et=!1):on(x),Gt(),ma||(Ul(rt.end,!0),Rt&&!be.isAtStartOfLine()&&be.writeLine()),rn()}function Hp(x,rt){return x=e.getOriginalNode(x),x.parent&&x.parent===e.getOriginalNode(rt).parent}function Ad(x,rt){if(rt.pos-1&&Wn.indexOf(rt)===wr+1}function Ul(x,rt){Rt=!1,rt?x===0&&(Se==null?void 0:Se.isDeclarationFile)?X_(x,Pf):X_(x,Fd):x===0&&X_(x,Xu)}function Xu(x,rt,on,Wn,wr){wd(x,rt)&&Fd(x,rt,on,Wn,wr)}function Pf(x,rt,on,Wn,wr){wd(x,rt)||Fd(x,rt,on,Wn,wr)}function _l(x,rt){return g.onlyPrintJsDocStyle?e.isJSDocLikeText(x,rt)||e.isPinnedComment(x,rt):!0}function Fd(x,rt,on,Wn,wr){!_l(Se.text,x)||(Rt||(e.emitNewLineBeforeLeadingCommentOfPosition(vn(),be,wr,x),Rt=!0),hc(x),e.writeCommentRange(Se.text,vn(),be,x,rt,L),hc(rt),Wn?be.writeLine():on===3&&be.writeSpace(" "))}function ql(x){Et||x===-1||Ul(x,!0)}function Zi(x){fp(x,c_)}function c_(x,rt,on,Wn){!_l(Se.text,x)||(be.isAtStartOfLine()||be.writeSpace(" "),hc(x),e.writeCommentRange(Se.text,vn(),be,x,rt,L),hc(rt),Wn&&be.writeLine())}function Dr(x,rt,on){Et||(Gt(),fp(x,rt?c_:on?$_:pp),rn())}function $_(x,rt,on){hc(x),e.writeCommentRange(Se.text,vn(),be,x,rt,L),hc(rt),on===2&&be.writeLine()}function pp(x,rt,on,Wn){hc(x),e.writeCommentRange(Se.text,vn(),be,x,rt,L),hc(rt),Wn?be.writeLine():be.writeSpace(" ")}function X_(x,rt){Se&&(fe===-1||x!==fe)&&(Af(x)?Xf(rt):e.forEachLeadingCommentRange(Se.text,x,rt,x))}function fp(x,rt){Se&&(Be===-1||x!==Be&&x!==We)&&e.forEachTrailingCommentRange(Se.text,x,rt)}function Af(x){return Lt!==void 0&&e.last(Lt).nodePos===x}function Xf(x){var rt=e.last(Lt).detachedCommentEndPos;Lt.length-1?Lt.pop():Lt=void 0,e.forEachLeadingCommentRange(Se.text,rt,x,rt)}function Hc(x){var rt=e.emitDetachedComments(Se.text,vn(),be,Gp,x,L,Et);rt&&(Lt?Lt.push(rt):Lt=[rt])}function Gp(x,rt,on,Wn,wr,$r){!_l(Se.text,Wn)||(hc(Wn),e.writeCommentRange(x,rt,on,Wn,wr,$r),hc(wr))}function wd(x,rt){return e.isRecognizedTripleSlashComment(Se.text,x,rt)}function Ff(x){return x.parsedSourceMap===void 0&&x.sourceMapText!==void 0&&(x.parsedSourceMap=e.tryParseRawSourceMap(x.sourceMapText)||!1),x.parsedSourceMap||void 0}function mp(x,rt){var on=Tn(3,x,rt);gp(rt),on(x,rt),Z_(rt)}function gp(x){var rt=e.getEmitFlags(x),on=e.getSourceMapRange(x);if(e.isUnparsedNode(x)){e.Debug.assertIsDefined(x.parent,"UnparsedNodes must have parent pointers");var Wn=Ff(x.parent);Wn&&Ue&&Ue.appendSourceMap(be.getLine(),be.getColumn(),Wn,x.parent.sourceMapPath,x.parent.getLineAndCharacterOfPosition(x.pos),x.parent.getLineAndCharacterOfPosition(x.end))}else{var wr=on.source||Ie;x.kind!==347&&(rt&16)===0&&on.pos>=0&&ed(on.source||Ie,Wl(wr,on.pos)),rt&64&&(qt=!0)}}function Z_(x){var rt=e.getEmitFlags(x),on=e.getSourceMapRange(x);e.isUnparsedNode(x)||(rt&64&&(qt=!1),x.kind!==347&&(rt&32)===0&&on.end>=0&&ed(on.source||Ie,on.end))}function Wl(x,rt){return x.skipTrivia?x.skipTrivia(rt):e.skipTrivia(x.text,rt)}function hc(x){if(!(qt||e.positionIsSynthesized(x)||ku(Ie))){var rt=e.getLineAndCharacterOfPosition(Ie,x),on=rt.line,Wn=rt.character;Ue.addMapping(be.getLine(),be.getColumn(),Ht,on,Wn,void 0)}}function ed(x,rt){if(x!==Ie){var on=Ie,Wn=Ht;td(x),hc(rt),Id(on,Wn)}else hc(rt)}function iu(x,rt,on,Wn,wr){if(qt||x&&e.isInJsonFile(x))return wr(rt,on,Wn);var $r=x&&x.emitNode,Qi=$r&&$r.flags||0,ma=$r&&$r.tokenSourceMapRanges&&$r.tokenSourceMapRanges[rt],$o=ma&&ma.source||Ie;return Wn=Wl($o,ma?ma.pos:Wn),(Qi&128)===0&&Wn>=0&&ed($o,Wn),Wn=wr(rt,on,Wn),ma&&(Wn=ma.end),(Qi&256)===0&&Wn>=0&&ed($o,Wn),Wn}function td(x){if(!qt){if(Ie=x,x===_t){Ht=It;return}ku(x)||(Ht=Ue.addSource(x.fileName),g.inlineSources&&Ue.setSourceContent(Ht,x.text),_t=x,It=Ht)}}function Id(x,rt){Ie=x,Ht=rt}function ku(x){return e.fileExtensionIs(x.fileName,".json")}}e.createPrinter=Z;function z(){var g=[];return g[1024]=["{","}"],g[2048]=["(",")"],g[4096]=["<",">"],g[8192]=["[","]"],g}function ie(g){return a[g&15360][0]}function m(g){return a[g&15360][1]}var A;(function(g){g[g.Auto=0]="Auto",g[g.CountMask=268435455]="CountMask",g[g._i=268435456]="_i"})(A||(A={}))})(ne||(ne={}));var ne;(function(e){function a(y,K,ce){if(!y.getDirectories||!y.readDirectory)return;var Y=new e.Map,re=e.createGetCanonicalFileName(ce);return{useCaseSensitiveFileNames:ce,fileExists:A,readFile:function(J,M){return y.readFile(J,M)},directoryExists:y.directoryExists&&g,getDirectories:N,readDirectory:_,createDirectory:y.createDirectory&&C,writeFile:y.writeFile&&m,addOrDeleteFileOrDirectory:E,addOrDeleteFile:j,clearCache:W,realpath:y.realpath&&d};function F(J){return e.toPath(J,K,re)}function O(J){return Y.get(e.ensureTrailingDirectorySeparator(J))}function Q(J){return O(e.getDirectoryPath(J))}function de(J){return e.getBaseFileName(e.normalizePath(J))}function $(J,M){var pe;if(!y.realpath||e.ensureTrailingDirectorySeparator(F(y.realpath(J)))===M){var Ne={files:e.map(y.readDirectory(J,void 0,void 0,["*.*"]),de)||[],directories:y.getDirectories(J)||[]};return Y.set(e.ensureTrailingDirectorySeparator(M),Ne),Ne}if(!((pe=y.directoryExists)===null||pe===void 0)&&pe.call(y,J))return Y.set(M,!1),!1}function I(J,M){M=e.ensureTrailingDirectorySeparator(M);var pe=O(M);if(pe)return pe;try{return $(J,M)}catch{e.Debug.assert(!Y.has(e.ensureTrailingDirectorySeparator(M)));return}}function Z(J,M){return re(J)===re(M)}function z(J,M){return e.some(J,function(pe){return Z(pe,M)})}function ie(J,M,pe){if(z(J,M)){if(!pe)return e.filterMutate(J,function(Ne){return!Z(Ne,M)})}else if(pe)return J.push(M)}function m(J,M,pe){var Ne=F(J),w=Q(Ne);return w&&B(w,de(J),!0),y.writeFile(J,M,pe)}function A(J){var M=F(J),pe=Q(M);return pe&&z(pe.files,de(J))||y.fileExists(J)}function g(J){var M=F(J);return Y.has(e.ensureTrailingDirectorySeparator(M))||y.directoryExists(J)}function C(J){var M=F(J),pe=Q(M),Ne=de(J);pe&&ie(pe.directories,Ne,!0),y.createDirectory(J)}function N(J){var M=F(J),pe=I(J,M);return pe?pe.directories.slice():y.getDirectories(J)}function _(J,M,pe,Ne,w){var R=F(J),L=I(J,R),V;if(L!==void 0)return e.matchFiles(J,M,pe,Ne,ce,K,w,Te,d);return y.readDirectory(J,M,pe,Ne,w);function Te(we){var He=F(we);if(He===R)return L||Se(we,He);var et=I(we,He);return et!==void 0?et||Se(we,He):e.emptyFileSystemEntries}function Se(we,He){if(V&&He===R)return V;var et={files:e.map(y.readDirectory(we,void 0,void 0,["*.*"]),de)||e.emptyArray,directories:y.getDirectories(we)||e.emptyArray};return He===R&&(V=et),et}}function d(J){return y.realpath?y.realpath(J):J}function E(J,M){var pe=O(M);if(pe!==void 0){W();return}var Ne=Q(M);if(Ne){if(!y.directoryExists){W();return}var w=de(J),R={fileExists:y.fileExists(M),directoryExists:y.directoryExists(M)};return R.directoryExists||z(Ne.directories,w)?W():B(Ne,w,R.fileExists),R}}function j(J,M,pe){if(pe!==e.FileWatcherEventKind.Changed){var Ne=Q(M);Ne&&B(Ne,de(J),pe===e.FileWatcherEventKind.Created)}}function B(J,M,pe){ie(J.files,M,pe)}function W(){Y.clear()}}e.createCachedDirectoryStructureHost=a,function(y){y[y.None=0]="None",y[y.Partial=1]="Partial",y[y.Full=2]="Full"}(e.ConfigFileProgramReloadLevel||(e.ConfigFileProgramReloadLevel={}));function u(y,K,ce,Y,re){var F,O=e.arrayToMap(((F=K==null?void 0:K.configFile)===null||F===void 0?void 0:F.extendedSourceFiles)||e.emptyArray,re);ce.forEach(function(Q,de){O.has(de)||(Q.projects.delete(y),Q.close())}),O.forEach(function(Q,de){var $=ce.get(de);$?$.projects.add(y):ce.set(de,{projects:new e.Set([y]),watcher:Y(Q,de),close:function(){var I=ce.get(de);!I||I.projects.size!==0||(I.watcher.close(),ce.delete(de))}})})}e.updateSharedExtendedConfigFileWatcher=u;function P(y,K){K.forEach(function(ce){ce.projects.delete(y)&&ce.close()})}e.clearSharedExtendedConfigFileWatcher=P;function r(y,K,ce){!y.delete(K)||y.forEach(function(Y,re){var F,O=Y.extendedResult;!((F=O.extendedSourceFiles)===null||F===void 0)&&F.some(function(Q){return ce(Q)===K})&&r(y,re,ce)})}e.cleanExtendedConfigCache=r;function v(y,K,ce){var Y=new e.Map(y);e.mutateMap(K,Y,{createNewValue:ce,onDeleteValue:e.closeFileWatcher})}e.updatePackageJsonWatch=v;function G(y,K,ce){var Y=y.getMissingFilePaths(),re=e.arrayToMap(Y,e.identity,e.returnTrue);e.mutateMap(K,re,{createNewValue:ce,onDeleteValue:e.closeFileWatcher})}e.updateMissingFilePathsWatch=G;function ue(y,K,ce){e.mutateMap(y,K,{createNewValue:Y,onDeleteValue:b,onExistingValue:re});function Y(F,O){return{watcher:ce(F,O),flags:O}}function re(F,O,Q){F.flags!==O&&(F.watcher.close(),y.set(Q,Y(Q,O)))}}e.updateWatchingWildcardDirectories=ue;function h(y){var K=y.watchedDirPath,ce=y.fileOrDirectory,Y=y.fileOrDirectoryPath,re=y.configFileName,F=y.options,O=y.program,Q=y.extraFileExtensions,de=y.currentDirectory,$=y.useCaseSensitiveFileNames,I=y.writeLog,Z=y.toPath,z=e.removeIgnoredPath(Y);if(!z)return I("Project: ".concat(re," Detected ignored path: ").concat(ce)),!0;if(Y=z,Y===K)return!1;if(e.hasExtension(Y)&&!e.isSupportedSourceFileName(ce,F,Q))return I("Project: ".concat(re," Detected file add/remove of non supported extension: ").concat(ce)),!0;if(e.isExcludedFile(ce,F.configFile.configFileSpecs,e.getNormalizedAbsolutePath(e.getDirectoryPath(re),de),$,de))return I("Project: ".concat(re," Detected excluded file: ").concat(ce)),!0;if(!O||e.outFile(F)||F.outDir)return!1;if(e.fileExtensionIs(Y,".d.ts")){if(F.declarationDir)return!1}else if(!e.fileExtensionIsOneOf(Y,e.supportedJSExtensionsFlat))return!1;var ie=e.removeFileExtension(Y),m=e.isArray(O)?void 0:S(O)?O.getProgramOrUndefined():O,A=!m&&!e.isArray(O)?O:void 0;if(g(ie+".ts")||g(ie+".tsx"))return I("Project: ".concat(re," Detected output file: ").concat(ce)),!0;return!1;function g(C){return m?!!m.getSourceFileByPath(C):A?A.getState().fileInfos.has(C):!!e.find(O,function(N){return Z(N)===C})}}e.isIgnoredFileFromWildCardWatching=h;function S(y){return!!y.getState}function k(y,K){return y?y.isEmittedFile(K):!1}e.isEmittedFileOfProgram=k;var se;(function(y){y[y.None=0]="None",y[y.TriggerOnly=1]="TriggerOnly",y[y.Verbose=2]="Verbose"})(se=e.WatchLogLevel||(e.WatchLogLevel={}));function le(y,K,ce,Y){e.setSysLog(K===se.Verbose?ce:e.noop);var re={watchFile:function(A,g,C,N){return y.watchFile(A,g,C,N)},watchDirectory:function(A,g,C,N){return y.watchDirectory(A,g,(C&1)!==0,N)}},F=K!==se.None?{watchFile:ie("watchFile"),watchDirectory:ie("watchDirectory")}:void 0,O=K===se.Verbose?{watchFile:Z,watchDirectory:z}:F||re,Q=K===se.Verbose?I:e.returnNoopFileWatcher;return{watchFile:de("watchFile"),watchDirectory:de("watchDirectory")};function de(A){return function(g,C,N,_,d,E){var j;return e.matchesExclude(g,A==="watchFile"?_==null?void 0:_.excludeFiles:_==null?void 0:_.excludeDirectories,$(),((j=y.getCurrentDirectory)===null||j===void 0?void 0:j.call(y))||"")?Q(g,N,_,d,E):O[A].call(void 0,g,C,N,_,d,E)}}function $(){return typeof y.useCaseSensitiveFileNames=="boolean"?y.useCaseSensitiveFileNames:y.useCaseSensitiveFileNames()}function I(A,g,C,N,_){return ce("ExcludeWatcher:: Added:: ".concat(m(A,g,C,N,_,Y))),{close:function(){return ce("ExcludeWatcher:: Close:: ".concat(m(A,g,C,N,_,Y)))}}}function Z(A,g,C,N,_,d){ce("FileWatcher:: Added:: ".concat(m(A,C,N,_,d,Y)));var E=F.watchFile(A,g,C,N,_,d);return{close:function(){ce("FileWatcher:: Close:: ".concat(m(A,C,N,_,d,Y))),E.close()}}}function z(A,g,C,N,_,d){var E="DirectoryWatcher:: Added:: ".concat(m(A,C,N,_,d,Y));ce(E);var j=e.timestamp(),B=F.watchDirectory(A,g,C,N,_,d),W=e.timestamp()-j;return ce("Elapsed:: ".concat(W,"ms ").concat(E)),{close:function(){var J="DirectoryWatcher:: Close:: ".concat(m(A,C,N,_,d,Y));ce(J);var M=e.timestamp();B.close();var pe=e.timestamp()-M;ce("Elapsed:: ".concat(pe,"ms ").concat(J))}}}function ie(A){return function(g,C,N,_,d,E){return re[A].call(void 0,g,function(){for(var j=[],B=0;B=4,Ce=(ke+1+"").length;Oe&&(Ce=Math.max(b.length,Ce));for(var ge="",ze=Me;ze<=ke;ze++){ge+=et.getNewLine(),Oe&&Me+1=e.length(Mn==null?void 0:Mn.imports)+e.length(Mn==null?void 0:Mn.moduleAugmentations))return!1;var xi=e.getResolvedModule(Mn,Gn,Mn&&$(Mn,qr)),ba=xi&&Ce.getSourceFile(xi.resolvedFileName);if(xi&&ba)return!1;var go=Ie.get(Gn);return go?(e.isTraceEnabled(ve,Et)&&e.trace(Et,e.Diagnostics.Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified,Gn,go),!0):!1}}function jt(){return!ie(Ce.getProjectReferences(),Ce.getResolvedProjectReferences(),function(Kt,ln,Mn){var ir=(ln?ln.commandLine.projectReferences:Oe)[Mn],hr=Mi(ir);return Kt?!hr||hr.sourceFile!==Kt.sourceFile||!e.arrayIsEqualTo(Kt.commandLine.fileNames,hr.commandLine.fileNames):hr!==void 0},function(Kt,ln){var Mn=ln?Bo(ln.sourceFile.path).commandLine.projectReferences:Oe;return!e.arrayIsEqualTo(Kt,Mn,e.projectReferenceIsEqualTo)})}function pr(){var Kt;if(!Ce)return 0;var ln=Ce.getCompilerOptions();if(e.changesAffectModuleResolution(ln,ve))return 0;var Mn=Ce.getRootFileNames();if(!e.arrayIsEqualTo(Mn,ke)||!jt())return 0;Oe&&(it=Oe.map(Mi));var ir=[],hr=[];if(hn=2,Ce.getMissingFilePaths().some(function(tc){return Et.fileExists(tc)}))return 0;var Tr=Ce.getSourceFiles(),Ur;(function(tc){tc[tc.Exists=0]="Exists",tc[tc.Modified=1]="Modified"})(Ur||(Ur={}));for(var ui=new e.Map,ia=0,Ti=Tr;ia=0;){if(ln.markUsed(Tr))return Tr;var Ur=Mn.text.slice(hr[Tr],hr[Tr+1]).trim();if(Ur!==""&&!/^(\s*)\/\/(.*)$/.test(Ur))return-1;Tr--}return-1}function ai(Kt){return jo(function(){var ln=[];return Mn(Kt,Kt),e.forEachChildRecursively(Kt,Mn,ir),ln;function Mn(ui,ia){switch(ia.kind){case 163:case 166:case 168:if(ia.questionToken===ui)return ln.push(Ur(ui,e.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),"skip";case 167:case 170:case 171:case 172:case 212:case 255:case 213:case 253:if(ia.type===ui)return ln.push(Ur(ui,e.Diagnostics.Type_annotations_can_only_be_used_in_TypeScript_files)),"skip"}switch(ui.kind){case 266:if(ui.isTypeOnly)return ln.push(Ur(ia,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"import type")),"skip";break;case 271:if(ui.isTypeOnly)return ln.push(Ur(ui,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"export type")),"skip";break;case 264:return ln.push(Ur(ui,e.Diagnostics.import_can_only_be_used_in_TypeScript_files)),"skip";case 270:if(ui.isExportEquals)return ln.push(Ur(ui,e.Diagnostics.export_can_only_be_used_in_TypeScript_files)),"skip";break;case 290:var Ti=ui;if(Ti.token===117)return ln.push(Ur(ui,e.Diagnostics.implements_clauses_can_only_be_used_in_TypeScript_files)),"skip";break;case 257:var Di=e.tokenToString(118);return e.Debug.assertIsDefined(Di),ln.push(Ur(ui,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,Di)),"skip";case 260:var Xi=ui.flags&16?e.tokenToString(142):e.tokenToString(141);return e.Debug.assertIsDefined(Xi),ln.push(Ur(ui,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,Xi)),"skip";case 258:return ln.push(Ur(ui,e.Diagnostics.Type_aliases_can_only_be_used_in_TypeScript_files)),"skip";case 259:var Fo=e.Debug.checkDefined(e.tokenToString(92));return ln.push(Ur(ui,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,Fo)),"skip";case 229:return ln.push(Ur(ui,e.Diagnostics.Non_null_assertions_can_only_be_used_in_TypeScript_files)),"skip";case 228:return ln.push(Ur(ui.type,e.Diagnostics.Type_assertion_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 210:e.Debug.fail()}}function ir(ui,ia){switch(ia.decorators===ui&&!ve.experimentalDecorators&&ln.push(Ur(ia,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)),ia.kind){case 256:case 225:case 168:case 170:case 171:case 172:case 212:case 255:case 213:if(ui===ia.typeParameters)return ln.push(Tr(ui,e.Diagnostics.Type_parameter_declarations_can_only_be_used_in_TypeScript_files)),"skip";case 236:if(ui===ia.modifiers)return hr(ia.modifiers,ia.kind===236),"skip";break;case 166:if(ui===ia.modifiers){for(var Ti=0,Di=ui;Ti=1&&e.isStringLiteralLike(mt.arguments[0])?(e.setParentRecursive(mt,!1),ir=e.append(ir,mt.arguments[0])):e.isLiteralImportTypeNode(mt)&&(e.setParentRecursive(mt,!1),ir=e.append(ir,mt.argument.literal))}}function Fo(io,me){for(var mt=io,Dt=function(Gn){if(Gn.pos<=me&&(me0),Object.defineProperties(Ur,{id:{get:function(){return this.redirectInfo.redirectTarget.id},set:function(ui){this.redirectInfo.redirectTarget.id=ui}},symbol:{get:function(){return this.redirectInfo.redirectTarget.symbol},set:function(ui){this.redirectInfo.redirectTarget.symbol=ui}}}),Ur}function qs(Kt,ln,Mn,ir,hr){e.tracing===null||e.tracing===void 0||e.tracing.push("program","findSourceFile",{fileName:Kt,isDefaultLib:ln||void 0,fileIncludeKind:e.FileIncludeKind[ir.kind]});var Tr=jn(Kt,ln,Mn,ir,hr);return e.tracing===null||e.tracing===void 0||e.tracing.pop(),Tr}function jn(Kt,ln,Mn,ir,hr){var Tr=_i(Kt);if(vn){var Ur=Za(Tr);if(!Ur&&Et.realpath&&ve.preserveSymlinks&&e.isDeclarationFileName(Kt)&&e.stringContains(Kt,e.nodeModulesPathPart)){var ui=_i(Et.realpath(Kt));ui!==Tr&&(Ur=Za(ui))}if(Ur){var ia=e.isString(Ur)?qs(Ur,ln,Mn,ir,hr):void 0;return ia&&hi(ia,Tr,void 0),ia}}var Ti=Kt;if(H.has(Tr)){var Di=H.get(Tr);if(ci(Di||void 0,ir),Di&&ve.forceConsistentCasingInFileNames){var Xi=Di.fileName,Fo=_i(Xi)!==_i(Kt);Fo&&(Kt=fa(Kt)||Kt);var io=e.getNormalizedAbsolutePathWithoutRoot(Xi,Zt),me=e.getNormalizedAbsolutePathWithoutRoot(Kt,Zt);io!==me&&ns(Kt,Di,ir)}return Di&&Rt.get(Di.path)&&Ft===0?(Rt.set(Di.path,!1),ve.noResolve||(ye(Di,ln),Jt(Di)),ve.noLib||je(Di),Lt.set(Di.path,!1),Cr(Di)):Di&&Lt.get(Di.path)&&Ft0),Gn.fileName=Kt,Gn.path=Tr,Gn.resolvedPath=_i(Kt),Gn.originalFileName=Ti,Gn.impliedNodeFormat=_(Gn.resolvedPath,tn==null?void 0:tn.getPackageJsonInfoCache(),Et,ve),ci(Gn,ir),Et.useCaseSensitiveFileNames()){var go=e.toFileNameLowerCase(Tr),wo=Re.get(go);wo?ns(Kt,wo,ir):Re.set(go,Gn)}he=he||Gn.hasNoDefaultLib&&!Mn,ve.noResolve||(ye(Gn,ln),Jt(Gn)),ve.noLib||je(Gn),Cr(Gn),ln?ge.push(Gn):ze.push(Gn)}return Gn}function ci(Kt,ln){Kt&&Ht.add(Kt.path,ln)}function hi(Kt,ln,Mn){Mn?(H.set(Mn,Kt),H.set(ln,Kt||!1)):H.set(ln,Kt)}function fa(Kt){var ln=wa(Kt);return ln&&eo(ln,Kt)}function wa(Kt){if(!(!it||!it.length||e.fileExtensionIs(Kt,".d.ts")||e.fileExtensionIs(Kt,".json")))return zi(Kt)}function eo(Kt,ln){var Mn=e.outFile(Kt.commandLine.options);return Mn?e.changeExtension(Mn,".d.ts"):e.getOutputDeclarationFileName(ln,Kt.commandLine,!Et.useCaseSensitiveFileNames())}function zi(Kt){Qe===void 0&&(Qe=new e.Map,Ia(function(Mn){_i(ve.configFilePath)!==Mn.sourceFile.path&&Mn.commandLine.fileNames.forEach(function(ir){return Qe.set(_i(ir),Mn.sourceFile.path)})}));var ln=Qe.get(_i(Kt));return ln&&Bo(ln)}function Ia(Kt){return e.forEachResolvedProjectReference(it,Kt)}function Za(Kt){if(e.isDeclarationFileName(Kt))return cn===void 0&&(cn=new e.Map,Ia(function(ln){var Mn=e.outFile(ln.commandLine.options);if(Mn){var ir=e.changeExtension(Mn,".d.ts");cn.set(_i(ir),!0)}else{var hr=e.memoize(function(){return e.getCommonSourceDirectoryOfConfig(ln.commandLine,!Et.useCaseSensitiveFileNames())});e.forEach(ln.commandLine.fileNames,function(Tr){if(!e.fileExtensionIs(Tr,".d.ts")&&!e.fileExtensionIs(Tr,".json")){var Ur=e.getOutputDeclarationFileName(Tr,ln.commandLine,!Et.useCaseSensitiveFileNames(),hr);cn.set(_i(Ur),Tr)}})}})),cn.get(Kt)}function Do(Kt){return vn&&!!zi(Kt)}function Bo(Kt){if(ut)return ut.get(Kt)||void 0}function ye(Kt,ln){e.forEach(Kt.referencedFiles,function(Mn,ir){Ho(u(Mn.fileName,Kt.fileName),ln,!1,void 0,{kind:e.FileIncludeKind.ReferenceFile,file:Kt.path,index:ir})})}function Jt(Kt){var ln=e.map(Kt.typeReferenceDirectives,function(ui){return e.toFileNameLowerCase(ui.fileName)});if(ln)for(var Mn=In(ln,Kt),ir=0;irWe,Fo=Di&&!w(hr,Ur)&&!hr.noResolve&&Tr1})&&So(e.Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}if(ve.useDefineForClassFields&&Xi===0&&So(e.Diagnostics.Option_0_cannot_be_specified_when_option_target_is_ES3,"useDefineForClassFields"),ve.checkJs&&!e.getAllowJSCompilerOption(ve)&&rn.add(e.createCompilerDiagnostic(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs")),ve.emitDeclarationOnly&&(e.getEmitDeclarations(ve)||So(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite"),ve.noEmit&&So(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"emitDeclarationOnly","noEmit")),ve.emitDecoratorMetadata&&!ve.experimentalDecorators&&So(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators"),ve.jsxFactory?(ve.reactNamespace&&So(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory"),(ve.jsx===4||ve.jsx===5)&&So(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFactory",e.inverseJsxOptionMap.get(""+ve.jsx)),e.parseIsolatedEntityName(ve.jsxFactory,Xi)||hu("jsxFactory",e.Diagnostics.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,ve.jsxFactory)):ve.reactNamespace&&!e.isIdentifierText(ve.reactNamespace,Xi)&&hu("reactNamespace",e.Diagnostics.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,ve.reactNamespace),ve.jsxFragmentFactory&&(ve.jsxFactory||So(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"jsxFragmentFactory","jsxFactory"),(ve.jsx===4||ve.jsx===5)&&So(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFragmentFactory",e.inverseJsxOptionMap.get(""+ve.jsx)),e.parseIsolatedEntityName(ve.jsxFragmentFactory,Xi)||hu("jsxFragmentFactory",e.Diagnostics.Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name,ve.jsxFragmentFactory)),ve.reactNamespace&&(ve.jsx===4||ve.jsx===5)&&So(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"reactNamespace",e.inverseJsxOptionMap.get(""+ve.jsx)),ve.jsxImportSource&&ve.jsx===2&&So(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxImportSource",e.inverseJsxOptionMap.get(""+ve.jsx)),ve.preserveValueImports&&e.getEmitModuleKind(ve)Xi?e.createDiagnosticForNodeInSourceFile(Di,Fo.elements[Xi],Kt.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(!ve.types)return;ir=gl("types",Kt.typeReference),hr=e.Diagnostics.File_is_entry_point_of_type_library_specified_here;break;case e.FileIncludeKind.LibFile:if(Kt.index!==void 0){ir=gl("lib",ve.lib[Kt.index]),hr=e.Diagnostics.File_is_library_specified_here;break}var io=e.forEachEntry(e.targetOptionDeclaration.type,function(me,mt){return me===e.getEmitScriptTarget(ve)?mt:void 0});ir=io?Vu("target",io):void 0,hr=e.Diagnostics.File_is_default_library_for_target_specified_here;break;default:e.Debug.assertNever(Kt)}return ir&&e.createDiagnosticForNodeInSourceFile(ve.configFile,ir,hr)}}function Mc(){var Kt=ve.suppressOutputPathCheck?void 0:e.getTsBuildInfoEmitOutputFilePath(ve);ie(Oe,it,function(ln,Mn,ir){var hr=(Mn?Mn.commandLine.projectReferences:Oe)[ir],Tr=Mn&&Mn.sourceFile;if(!ln){Hu(Tr,ir,e.Diagnostics.File_0_not_found,hr.path);return}var Ur=ln.commandLine.options;if(!Ur.composite||Ur.noEmit){var ui=Mn?Mn.commandLine.fileNames:ke;ui.length&&(Ur.composite||Hu(Tr,ir,e.Diagnostics.Referenced_project_0_must_have_setting_composite_Colon_true,hr.path),Ur.noEmit&&Hu(Tr,ir,e.Diagnostics.Referenced_project_0_may_not_disable_emit,hr.path))}if(hr.prepend){var ia=e.outFile(Ur);ia?Et.fileExists(ia)||Hu(Tr,ir,e.Diagnostics.Output_file_0_from_project_1_does_not_exist,ia,hr.path):Hu(Tr,ir,e.Diagnostics.Cannot_prepend_project_0_because_it_does_not_have_outFile_set,hr.path)}!Mn&&Kt&&Kt===e.getTsBuildInfoEmitOutputFilePath(Ur)&&(Hu(Tr,ir,e.Diagnostics.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1,Kt,hr.path),Sr.set(_i(Kt),!0))})}function Qo(Kt,ln,Mn,ir,hr,Tr){for(var Ur=!0,ui=vu(),ia=0,Ti=ui;ialn&&(rn.add(e.createDiagnosticForNodeInSourceFile(ve.configFile,me.elements[ln],Mn,ir,hr,Tr)),Ur=!1)}}Ur&&rn.add(e.createCompilerDiagnostic(Mn,ir,hr,Tr))}function Lc(Kt,ln,Mn,ir){for(var hr=!0,Tr=vu(),Ur=0,ui=Tr;Urln?rn.add(e.createDiagnosticForNodeInSourceFile(Kt||ve.configFile,Tr.elements[ln],Mn,ir,hr)):rn.add(e.createCompilerDiagnostic(Mn,ir,hr))}function Fc(Kt,ln,Mn,ir,hr,Tr,Ur){var ui=ol(),ia=!ui||!sl(ui,Kt,ln,Mn,ir,hr,Tr,Ur);ia&&rn.add(e.createCompilerDiagnostic(ir,hr,Tr,Ur))}function ol(){if(Ze===void 0){Ze=!1;var Kt=e.getTsConfigObjectLiteralExpression(ve.configFile);if(Kt)for(var ln=0,Mn=e.getPropertyAssignment(Kt,"compilerOptions");ln0)for(var _=A.getTypeChecker(),d=0,E=g.imports;d0)for(var J=0,M=g.referencedFiles;J1&&He(we)}return N;function He(pt){if(pt.declarations)for(var Me=0,Fe=pt.declarations;Me0;){var J=W.pop();if(!B.has(J)){var M=g.getSourceFileByPath(J);B.set(J,M),M&&Y(A,g,M,N,_,d,E)&&W.push.apply(W,de(A,M.resolvedPath))}}return e.arrayFrom(e.mapDefinedIterator(B.values(),function(pe){return pe}))}}(e.BuilderState||(e.BuilderState={}))})(ne||(ne={}));var ne;(function(e){(function(_){_[_.DtsOnly=0]="DtsOnly",_[_.Full=1]="Full"})(e.BuilderFileEmit||(e.BuilderFileEmit={}));function a(_,d){return _===d||_!==void 0&&d!==void 0&&_.size===d.size&&!e.forEachKey(_,function(E){return!d.has(E)})}function u(_,d,E,j){var B=e.BuilderState.create(_,d,E,j);B.program=_;var W=_.getCompilerOptions();B.compilerOptions=W,e.outFile(W)||(B.semanticDiagnosticsPerFile=new e.Map),B.changedFilesSet=new e.Set;var J=e.BuilderState.canReuseOldState(B.referencedMap,E),M=J?E.compilerOptions:void 0,pe=J&&E.semanticDiagnosticsPerFile&&!!B.semanticDiagnosticsPerFile&&!e.compilerOptionsAffectSemanticDiagnostics(W,M);if(J){if(!E.currentChangedFilePath){var Ne=E.currentAffectedFilesSignatures;e.Debug.assert(!E.affectedFiles&&(!Ne||!Ne.size),"Cannot reuse if only few affected files of currentChangedFile were iterated")}var w=E.changedFilesSet;pe&&e.Debug.assert(!w||!e.forEachKey(w,function(Se){return E.semanticDiagnosticsPerFile.has(Se)}),"Semantic diagnostics shouldnt be available for changed files"),w==null||w.forEach(function(Se){return B.changedFilesSet.add(Se)}),!e.outFile(W)&&E.affectedFilesPendingEmit&&(B.affectedFilesPendingEmit=E.affectedFilesPendingEmit.slice(),B.affectedFilesPendingEmitKind=E.affectedFilesPendingEmitKind&&new e.Map(E.affectedFilesPendingEmitKind),B.affectedFilesPendingEmitIndex=E.affectedFilesPendingEmitIndex,B.seenAffectedFiles=new e.Set)}var R=B.referencedMap,L=J?E.referencedMap:void 0,V=pe&&!W.skipLibCheck==!M.skipLibCheck,Te=V&&!W.skipDefaultLibCheck==!M.skipDefaultLibCheck;return B.fileInfos.forEach(function(Se,we){var He,et;if(!J||!(He=E.fileInfos.get(we))||He.version!==Se.version||!a(et=R&&R.getValues(we),L&&L.getValues(we))||et&&e.forEachKey(et,function(Fe){return!B.fileInfos.has(Fe)&&E.fileInfos.has(Fe)}))B.changedFilesSet.add(we);else if(pe){var pt=_.getSourceFileByPath(we);if(pt.isDeclarationFile&&!V||pt.hasNoDefaultLib&&!Te)return;var Me=E.semanticDiagnosticsPerFile.get(we);Me&&(B.semanticDiagnosticsPerFile.set(we,E.hasReusableDiagnostic?P(Me,_,d):Me),B.semanticDiagnosticsFromOldState||(B.semanticDiagnosticsFromOldState=new e.Set),B.semanticDiagnosticsFromOldState.add(we))}}),J&&e.forEachEntry(E.fileInfos,function(Se,we){return Se.affectsGlobalScope&&!B.fileInfos.has(we)})?e.BuilderState.getAllFilesExcludingDefaultLibraryFile(B,_,void 0).forEach(function(Se){return B.changedFilesSet.add(Se.resolvedPath)}):M&&!e.outFile(W)&&e.compilerOptionsAffectEmit(W,M)&&(_.getSourceFiles().forEach(function(Se){return A(B,Se.resolvedPath,1)}),e.Debug.assert(!B.seenAffectedFiles||!B.seenAffectedFiles.size),B.seenAffectedFiles=B.seenAffectedFiles||new e.Set),J&&e.forEachEntry(E.fileInfos,function(Se,we){B.fileInfos.has(we)&&B.fileInfos.get(we).impliedFormat!==Se.impliedFormat&&B.changedFilesSet.add(we)}),B.buildInfoEmitPending=!!B.changedFilesSet.size,B}function P(_,d,E){if(!_.length)return e.emptyArray;var j=e.getDirectoryPath(e.getNormalizedAbsolutePath(e.getTsBuildInfoEmitOutputFilePath(d.getCompilerOptions()),d.getCurrentDirectory()));return _.map(function(W){var J=r(W,d,B);J.reportsUnnecessary=W.reportsUnnecessary,J.reportsDeprecated=W.reportDeprecated,J.source=W.source,J.skippedOn=W.skippedOn;var M=W.relatedInformation;return J.relatedInformation=M?M.length?M.map(function(pe){return r(pe,d,B)}):[]:void 0,J});function B(W){return e.toPath(W,j,E)}}function r(_,d,E){var j=_.file;return Tt(Tt({},_),{file:j?d.getSourceFileByPath(E(j)):void 0})}function v(_){e.BuilderState.releaseCache(_),_.program=void 0}function G(_){var d,E=e.BuilderState.clone(_);return E.semanticDiagnosticsPerFile=_.semanticDiagnosticsPerFile&&new e.Map(_.semanticDiagnosticsPerFile),E.changedFilesSet=new e.Set(_.changedFilesSet),E.affectedFiles=_.affectedFiles,E.affectedFilesIndex=_.affectedFilesIndex,E.currentChangedFilePath=_.currentChangedFilePath,E.currentAffectedFilesSignatures=_.currentAffectedFilesSignatures&&new e.Map(_.currentAffectedFilesSignatures),E.currentAffectedFilesExportedModulesMap=(d=_.currentAffectedFilesExportedModulesMap)===null||d===void 0?void 0:d.clone(),E.seenAffectedFiles=_.seenAffectedFiles&&new e.Set(_.seenAffectedFiles),E.cleanedDiagnosticsOfLibFiles=_.cleanedDiagnosticsOfLibFiles,E.semanticDiagnosticsFromOldState=_.semanticDiagnosticsFromOldState&&new e.Set(_.semanticDiagnosticsFromOldState),E.program=_.program,E.compilerOptions=_.compilerOptions,E.affectedFilesPendingEmit=_.affectedFilesPendingEmit&&_.affectedFilesPendingEmit.slice(),E.affectedFilesPendingEmitKind=_.affectedFilesPendingEmitKind&&new e.Map(_.affectedFilesPendingEmitKind),E.affectedFilesPendingEmitIndex=_.affectedFilesPendingEmitIndex,E.seenEmittedFiles=_.seenEmittedFiles&&new e.Map(_.seenEmittedFiles),E.programEmitComplete=_.programEmitComplete,E}function ue(_,d){e.Debug.assert(!d||!_.affectedFiles||_.affectedFiles[_.affectedFilesIndex-1]!==d||!_.semanticDiagnosticsPerFile.has(d.resolvedPath))}function h(_,d,E){for(;;){var j=_.affectedFiles;if(j){for(var B=_.seenAffectedFiles,W=_.affectedFilesIndex;W0;){var M=J.pop();if(!W.has(M)&&(W.set(M,!0),E(_,M),f(_,M))){var pe=e.Debug.checkDefined(_.program).getSourceFileByPath(M);J.push.apply(J,e.BuilderState.getReferencedByPaths(_,pe.resolvedPath))}}}e.Debug.assert(!!_.currentAffectedFilesExportedModulesMap);var Ne=new e.Set;(j=_.currentAffectedFilesExportedModulesMap.getKeys(d.resolvedPath))===null||j===void 0||j.forEach(function(w){return y(_,w,Ne,E)}),(B=_.exportedModulesMap.getKeys(d.resolvedPath))===null||B===void 0||B.forEach(function(w){var R;return!_.currentAffectedFilesExportedModulesMap.hasKey(w)&&!(!((R=_.currentAffectedFilesExportedModulesMap.deletedKeys())===null||R===void 0)&&R.has(w))&&y(_,w,Ne,E)})}}function y(_,d,E,j){var B;(B=_.referencedMap.getKeys(d))===null||B===void 0||B.forEach(function(W){return K(_,W,E,j)})}function K(_,d,E,j){var B,W,J;!e.tryAddToSet(E,d)||(j(_,d),e.Debug.assert(!!_.currentAffectedFilesExportedModulesMap),(B=_.currentAffectedFilesExportedModulesMap.getKeys(d))===null||B===void 0||B.forEach(function(M){return K(_,M,E,j)}),(W=_.exportedModulesMap.getKeys(d))===null||W===void 0||W.forEach(function(M){var pe;return!_.currentAffectedFilesExportedModulesMap.hasKey(M)&&!(!((pe=_.currentAffectedFilesExportedModulesMap.deletedKeys())===null||pe===void 0)&&pe.has(M))&&K(_,M,E,j)}),(J=_.referencedMap.getKeys(d))===null||J===void 0||J.forEach(function(M){return!E.has(M)&&j(_,M)}))}function ce(_,d,E,j,B){B?_.buildInfoEmitPending=!1:d===_.program?(_.changedFilesSet.clear(),_.programEmitComplete=!0):(_.seenAffectedFiles.add(d.resolvedPath),E!==void 0&&(_.seenEmittedFiles||(_.seenEmittedFiles=new e.Map)).set(d.resolvedPath,E),j?(_.affectedFilesPendingEmitIndex++,_.buildInfoEmitPending=!0):_.affectedFilesIndex++)}function Y(_,d,E){return ce(_,E),{result:d,affected:E}}function re(_,d,E,j,B,W){return ce(_,E,j,B,W),{result:d,affected:E}}function F(_,d,E){return e.concatenate(O(_,d,E),e.Debug.checkDefined(_.program).getProgramDiagnostics(d))}function O(_,d,E){var j=d.resolvedPath;if(_.semanticDiagnosticsPerFile){var B=_.semanticDiagnosticsPerFile.get(j);if(B)return e.filterSemanticDiagnostics(B,_.compilerOptions)}var W=e.Debug.checkDefined(_.program).getBindAndCheckDiagnostics(d,E);return _.semanticDiagnosticsPerFile&&_.semanticDiagnosticsPerFile.set(j,W),e.filterSemanticDiagnostics(W,_.compilerOptions)}function Q(_,d){if(e.outFile(_.compilerOptions))return;var E=e.Debug.checkDefined(_.program).getCurrentDirectory(),j=e.getDirectoryPath(e.getNormalizedAbsolutePath(e.getTsBuildInfoEmitOutputFilePath(_.compilerOptions),E)),B=[],W=new e.Map,J,M,pe=e.arrayFrom(_.fileInfos.entries(),function(be){var Oe=be[0],Ce=be[1],ge=ke(Oe);e.Debug.assert(B[ge-1]===ot(Oe));var ze=_.currentAffectedFilesSignatures&&_.currentAffectedFilesSignatures.get(Oe),ft=ze!=null?ze:Ce.signature;return Ce.version===ft?Ce.affectsGlobalScope?{version:Ce.version,signature:void 0,affectsGlobalScope:!0,impliedFormat:Ce.impliedFormat}:Ce.version:ft!==void 0?ze===void 0?Ce:{version:Ce.version,signature:ze,affectsGlobalScope:Ce.affectsGlobalScope,impliedFormat:Ce.impliedFormat}:{version:Ce.version,signature:!1,affectsGlobalScope:Ce.affectsGlobalScope,impliedFormat:Ce.impliedFormat}}),Ne;_.referencedMap&&(Ne=e.arrayFrom(_.referencedMap.keys()).sort(e.compareStringsCaseSensitive).map(function(be){return[ke(be),ve(_.referencedMap.getValues(be))]}));var w;_.exportedModulesMap&&(w=e.mapDefined(e.arrayFrom(_.exportedModulesMap.keys()).sort(e.compareStringsCaseSensitive),function(be){var Oe;if(_.currentAffectedFilesExportedModulesMap){if(!((Oe=_.currentAffectedFilesExportedModulesMap.deletedKeys())===null||Oe===void 0)&&Oe.has(be))return;var Ce=_.currentAffectedFilesExportedModulesMap.getValues(be);if(Ce)return[ke(be),ve(Ce)]}return[ke(be),ve(_.exportedModulesMap.getValues(be))]}));var R;if(_.semanticDiagnosticsPerFile)for(var L=0,V=e.arrayFrom(_.semanticDiagnosticsPerFile.keys()).sort(e.compareStringsCaseSensitive);L1||v.charCodeAt(0)!==47;if(S&&v.search(/[a-zA-Z]:/)!==0&&h.search(/[a-zA-z]\$\//)===0){if(ue=v.indexOf(e.directorySeparator,ue+1),ue===-1)return!1;h=v.substring(G+h.length,ue+1)}if(S&&h.search(/users\//i)!==0)return!0;for(var k=ue+1,se=2;se>0;se--)if(k=v.indexOf(e.directorySeparator,k)+1,k===0)return!1;return!0}e.canWatchDirectory=u;function P(v,G,ue){var h,S,k,se=e.createMultiMap(),le=[],f=e.createMultiMap(),b=!1,y,K,ce,Y=e.memoize(function(){return v.getCurrentDirectory()}),re=v.getCachedDirectoryStructureHost(),F=new e.Map,O=e.createCacheWithRedirects(),Q=e.createCacheWithRedirects(),de=e.createModuleResolutionCache(Y(),v.getCanonicalFileName,void 0,O,Q),$=new e.Map,I=e.createCacheWithRedirects(),Z=e.createTypeReferenceDirectiveResolutionCache(Y(),v.getCanonicalFileName,void 0,de.getPackageJsonInfoCache(),I),z=[".ts",".tsx",".js",".jsx",".json"],ie=new e.Map,m=new e.Map,A=G&&e.removeTrailingDirectorySeparator(e.getNormalizedAbsolutePath(G,Y())),g=A&&v.toPath(A),C=g!==void 0?g.split(e.directorySeparator).length:0,N=new e.Map;return{getModuleResolutionCache:function(){return de},startRecordingFilesWithChangedResolutions:B,finishRecordingFilesWithChangedResolutions:W,startCachingPerDirectoryResolution:pe,finishCachingPerDirectoryResolution:Ne,resolveModuleNames:Te,getResolvedModuleWithFailedLookupLocationsFromCache:Se,resolveTypeReferenceDirectives:V,removeResolutionsFromProjectReferenceRedirects:ge,removeResolutionsOfFile:ze,hasChangedAutomaticTypeDirectiveNames:function(){return b},invalidateResolutionOfFile:vt,invalidateResolutionsOfFailedLookupLocations:qt,setFilesWithInvalidatedNonRelativeUnresolvedImports:st,createHasInvalidatedResolution:M,isFileWithInvalidatedNonRelativeUnresolvedImports:J,updateTypeRootsWatch:It,closeTypeRootsWatch:Ie,clear:j};function _(Be){return Be.resolvedModule}function d(Be){return Be.resolvedTypeReferenceDirective}function E(Be,We){return Be===void 0||We.length<=Be.length?!1:e.startsWith(We,Be)&&We[Be.length]===e.directorySeparator}function j(){e.clearMap(m,e.closeFileWatcherOf),ie.clear(),se.clear(),Ie(),F.clear(),$.clear(),f.clear(),le.length=0,y=void 0,K=void 0,ce=void 0,pe(),b=!1}function B(){h=[]}function W(){var Be=h;return h=void 0,Be}function J(Be){if(!k)return!1;var We=k.get(Be);return!!We&&!!We.length}function M(Be){if(qt(),Be)return S=void 0,e.returnTrue;var We=S;return S=void 0,function(Ft){return!!We&&We.has(Ft)||J(Ft)}}function pe(){de.clear(),Z.clear(),se.forEach(ot),se.clear()}function Ne(){k=void 0,pe(),m.forEach(function(Be,We){Be.refCount===0&&(m.delete(We),Be.watcher.close())}),b=!1}function w(Be,We,Ft,Lt,Rt){var Et,pn=e.resolveModuleName(Be,We,Ft,Lt,de,Rt);if(!v.getGlobalCache)return pn;var he=v.getGlobalCache();if(he!==void 0&&!e.isExternalModuleNameRelative(Be)&&!(pn.resolvedModule&&e.extensionIsTS(pn.resolvedModule.extension))){var yt=e.loadModuleFromGlobalCache(e.Debug.checkDefined(v.globalCacheResolutionModuleName)(Be),v.projectName,Ft,Lt,he,de),Gt=yt.resolvedModule,rn=yt.failedLookupLocations;if(Gt)return pn.resolvedModule=Gt,(Et=pn.failedLookupLocations).push.apply(Et,rn),pn}return pn}function R(Be,We,Ft,Lt,Rt){return e.resolveTypeReferenceDirective(Be,We,Ft,Lt,Rt,Z)}function L(Be){var We,Ft,Lt,Rt=Be.names,Et=Be.containingFile,pn=Be.redirectedReference,he=Be.cache,yt=Be.perDirectoryCacheWithRedirects,Gt=Be.loader,rn=Be.getResolutionWithResolvedFileName,Zt=Be.shouldRetryResolution,kn=Be.reusedNames,Zn=Be.logChanges,Sr=Be.containingSourceFile,Ze=v.toPath(Et),tn=he.get(Ze)||he.set(Ze,e.createModeAwareCache()).get(Ze),Je=e.getDirectoryPath(Ze),Bt=yt.getOrCreateMapOfCacheRedirects(pn),zt=Bt.get(Je);zt||(zt=e.createModeAwareCache(),Bt.set(Je,zt));for(var Ve=[],Nt=v.getCompilationSettings(),Ge=Zn&&J(Ze),lt=v.getCurrentProgram(),Le=lt&<.getResolvedProjectReferenceToRedirect(Et),ee=Le?!pn||pn.sourceFile.path!==Le.sourceFile.path:!!pn,xe=e.createModeAwareCache(),H=0,ae=0,Re=Rt;aeC+1?{dir:Lt.slice(0,C+1).join(e.directorySeparator),dirPath:Ft.slice(0,C+1).join(e.directorySeparator)}:{dir:A,dirPath:g,nonRecursive:!1}}return et(e.getDirectoryPath(e.getNormalizedAbsolutePath(Be,Y())),e.getDirectoryPath(We))}function et(Be,We){for(;e.pathContainsNodeModules(We);)Be=e.getDirectoryPath(Be),We=e.getDirectoryPath(We);if(e.isNodeModulesDirectory(We))return u(e.getDirectoryPath(We))?{dir:Be,dirPath:We}:void 0;var Ft=!0,Lt,Rt;if(g!==void 0)for(;!E(We,g);){var Et=e.getDirectoryPath(We);if(Et===We)break;Ft=!1,Lt=We,Rt=Be,We=Et,Be=e.getDirectoryPath(Be)}return u(We)?{dir:Rt||Be,dirPath:Lt||We,nonRecursive:Ft}:void 0}function pt(Be){return e.fileExtensionIsOneOf(Be,z)}function Me(Be,We,Ft,Lt){if(We.refCount)We.refCount++,e.Debug.assertIsDefined(We.files);else{We.refCount=1,e.Debug.assert(e.length(We.files)===0),e.isExternalModuleNameRelative(Be)?Fe(We):se.add(Be,We);var Rt=Lt(We);Rt&&Rt.resolvedFileName&&f.add(v.toPath(Rt.resolvedFileName),We)}(We.files||(We.files=[])).push(Ft)}function Fe(Be){e.Debug.assert(!!Be.refCount);var We=Be.failedLookupLocations;if(We.length){le.push(Be);for(var Ft=!1,Lt=0,Rt=We;Lt1),ie.set(Gt,kn-1))),Zt===g?Et=!0:be(Zt)}}Et&&be(g)}}}function be(Be){var We=m.get(Be);We.refCount--}function Oe(Be,We,Ft){return v.watchDirectoryOfFailedLookupLocation(Be,function(Lt){var Rt=v.toPath(Lt);re&&re.addOrDeleteFileOrDirectory(Lt,Rt),At(Rt,We===Rt)},Ft?0:1)}function Ce(Be,We,Ft){var Lt=Be.get(We);Lt&&(Lt.forEach(function(Rt){return ve(Rt,We,Ft)}),Be.delete(We))}function ge(Be){if(e.fileExtensionIs(Be,".json")){var We=v.getCurrentProgram();if(We){var Ft=We.getResolvedProjectReferenceByPath(Be);!Ft||Ft.commandLine.fileNames.forEach(function(Lt){return ze(v.toPath(Lt))})}}}function ze(Be){Ce(F,Be,_),Ce($,Be,d)}function ft(Be,We){if(!Be)return!1;for(var Ft=!1,Lt=0,Rt=Be;Lt1&&et.sort(O),w.push.apply(w,et));var pt=e.getDirectoryPath(we);if(pt===we)return L=we,"break";we=pt,L=we},L,V=e.getDirectoryPath(W);Ne.size!==0;){var Te=R(V);if(V=L,Te==="break")break}if(Ne.size){var Se=e.arrayFrom(Ne.values());Se.length>1&&Se.sort(O),w.push.apply(w,Se)}return w}function Z(W,J){var M,pe=(M=W.declarations)===null||M===void 0?void 0:M.find(function(R){return e.isNonGlobalAmbientModule(R)&&(!e.isExternalModuleAugmentation(R)||!e.isExternalModuleNameRelative(e.getTextOfIdentifierOrLiteral(R.name)))});if(pe)return pe.name.text;var Ne=e.mapDefined(W.declarations,function(R){var L,V,Te,Se;if(!e.isModuleDeclaration(R))return;var we=Me(R);if(!(((L=we==null?void 0:we.parent)===null||L===void 0?void 0:L.parent)&&e.isModuleBlock(we.parent)&&e.isAmbientModule(we.parent.parent)&&e.isSourceFile(we.parent.parent.parent)))return;var He=(Se=(Te=(V=we.parent.parent.symbol.exports)===null||V===void 0?void 0:V.get("export="))===null||Te===void 0?void 0:Te.valueDeclaration)===null||Se===void 0?void 0:Se.expression;if(!He)return;var et=J.getSymbolAtLocation(He);if(!et)return;var pt=(et==null?void 0:et.flags)&2097152?J.getAliasedSymbol(et):et;if(pt===R.symbol)return we.parent.parent;function Me(Fe){for(;Fe.flags&4;)Fe=Fe.parent;return Fe}}),w=Ne[0];if(w)return w.name.text}function z(W,J,M){for(var pe in M)for(var Ne=0,w=M[pe];Ne=Te.length+Se.length&&e.startsWith(J,Te)&&e.endsWith(J,Se)||!Se&&J===e.removeTrailingDirectorySeparator(Te)){var we=J.substr(Te.length,J.length-Se.length-Te.length);return pe.replace("*",we)}}else if(L===J||L===W)return pe}}var ie;(function(W){W[W.Exact=0]="Exact",W[W.Directory=1]="Directory",W[W.Pattern=2]="Pattern"})(ie||(ie={}));function m(W,J,M,pe,Ne,w,R){if(R===void 0&&(R=0),typeof Ne=="string"){var L=e.getNormalizedAbsolutePath(e.combinePaths(M,Ne),void 0),V=e.hasTSFileExtension(J)?e.removeFileExtension(J)+E(J,W):void 0;switch(R){case 0:if(e.comparePaths(J,L)===0||V&&e.comparePaths(V,L)===0)return{moduleFileToTry:pe};break;case 1:if(e.containsPath(L,J)){var Te=e.getRelativePathFromDirectory(L,J,!1);return{moduleFileToTry:e.getNormalizedAbsolutePath(e.combinePaths(e.combinePaths(pe,Ne),Te),void 0)}}break;case 2:var Se=L.indexOf("*"),we=L.slice(0,Se),He=L.slice(Se+1);if(e.startsWith(J,we)&&e.endsWith(J,He)){var et=J.slice(we.length,J.length-He.length);return{moduleFileToTry:pe.replace("*",et)}}if(V&&e.startsWith(V,we)&&e.endsWith(V,He)){var et=V.slice(we.length,V.length-He.length);return{moduleFileToTry:pe.replace("*",et)}}break}}else{if(Array.isArray(Ne))return e.forEach(Ne,function(ve){return m(W,J,M,pe,ve,w)});if(typeof Ne=="object"&&Ne!==null){if(e.allKeysStartWithDot(Ne))return e.forEach(e.getOwnKeys(Ne),function(ve){var be=e.getNormalizedAbsolutePath(e.combinePaths(pe,ve),void 0),Oe=e.endsWith(ve,"/")?1:e.stringContains(ve,"*")?2:0;return m(W,J,M,be,Ne[ve],w,Oe)});for(var pt=0,Me=e.getOwnKeys(Ne);pt=0||e.isApplicableVersionedTypesKey(w,Fe)){var ot=Ne[Fe],ke=m(W,J,M,pe,ot,w);if(ke)return ke}}}}}function A(W,J,M,pe,Ne,w){var R=N(J,W,pe);if(R!==void 0){var L=N(M,W,pe),V=L!==void 0?e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(L,R,pe)):R;return e.getEmitModuleResolutionKind(w)===e.ModuleResolutionKind.NodeJs?_(V,Ne,w):e.removeFileExtension(V)}}function g(W,J,M,pe,Ne,w){var R=W.path,L=W.isRedirect,V=J.getCanonicalFileName,Te=J.sourceDirectory;if(!pe.fileExists||!pe.readFile)return;var Se=e.getNodeModulePathParts(R);if(!Se)return;var we=R,He=!1;if(!w)for(var et=Se.packageRootIndex,pt=void 0;;){var Me=ze(et),Fe=Me.moduleFileToTry,ot=Me.packageRootPath,ke=Me.blockedByExports,ve=Me.verbatimFromExports;if(e.getEmitModuleResolutionKind(Ne)!==e.ModuleResolutionKind.Classic){if(ke)return;if(ve)return Fe}if(ot){we=ot,He=!0;break}if(pt||(pt=Fe),et=R.indexOf(e.directorySeparator,et+1),et===-1){we=ft(pt);break}}if(L&&!He)return;var be=pe.getGlobalTypingsCacheLocation&&pe.getGlobalTypingsCacheLocation(),Oe=V(we.substring(0,Se.topLevelNodeModulesIndex));if(!(e.startsWith(Te,Oe)||be&&e.startsWith(V(be),Oe)))return;var Ce=we.substring(Se.topLevelPackageNameIndex+1),ge=e.getPackageNameFromTypesPackageName(Ce);return e.getEmitModuleResolutionKind(Ne)===e.ModuleResolutionKind.Classic&&ge===Ce?void 0:ge;function ze(vt){var st,At,qt=R.substring(0,vt),Ue=e.combinePaths(qt,"package.json"),Ie=R,Ht=(At=(st=pe.getPackageJsonInfoCache)===null||st===void 0?void 0:st.call(pe))===null||At===void 0?void 0:At.getPackageJsonInfo(Ue);if(typeof Ht=="object"||Ht===void 0&&pe.fileExists(Ue)){var _t=(Ht==null?void 0:Ht.packageJsonContent)||JSON.parse(pe.readFile(Ue));if(e.getEmitModuleResolutionKind(Ne)===e.ModuleResolutionKind.Node12||e.getEmitModuleResolutionKind(Ne)===e.ModuleResolutionKind.NodeNext){var It=["node",M.impliedNodeFormat===e.ModuleKind.ESNext?"import":"require","types"],fe=_t.exports&&typeof _t.name=="string"?m(Ne,R,qt,e.getPackageNameFromTypesPackageName(_t.name),_t.exports,It):void 0;if(fe){var Be=e.hasTSFileExtension(fe.moduleFileToTry)?{moduleFileToTry:e.removeFileExtension(fe.moduleFileToTry)+E(fe.moduleFileToTry,Ne)}:fe;return Tt(Tt({},Be),{verbatimFromExports:!0})}if(_t.exports)return{moduleFileToTry:R,blockedByExports:!0}}var We=_t.typesVersions?e.getPackageJsonTypesVersionsPaths(_t.typesVersions):void 0;if(We){var Ft=R.slice(qt.length+1),Lt=z(e.removeFileExtension(Ft),_(Ft,0,Ne),We.paths);Lt!==void 0&&(Ie=e.combinePaths(qt,Lt))}var Rt=_t.typings||_t.types||_t.main;if(e.isString(Rt)){var Et=e.toPath(Rt,qt,V);if(e.removeFileExtension(Et)===e.removeFileExtension(V(Ie)))return{packageRootPath:qt,moduleFileToTry:Ie}}}return{moduleFileToTry:Ie}}function ft(vt){var st=e.removeFileExtension(vt);return V(st.substring(Se.fileNameIndex))==="/index"&&!C(pe,st.substring(0,Se.fileNameIndex))?st.substring(0,Se.fileNameIndex):st}}function C(W,J){if(W.fileExists)for(var M=e.flatten(e.getSupportedExtensions({allowJs:!0},[{extension:"node",isMixedContent:!1},{extension:"json",isMixedContent:!1,scriptKind:6}])),pe=0,Ne=M;pe1?f(B,j):"";return"".concat(E).concat(e.flattenDiagnosticMessageText(M.messageText,E)).concat(E).concat(E).concat(pe)}e.getErrorSummaryText=le;function f(_,d){var E=_.filter(function(R,L,V){return L===V.findIndex(function(Te){return(Te==null?void 0:Te.fileName)===(R==null?void 0:R.fileName)})});if(E.length===0)return"";var j=function(R){return Math.log(R)*Math.LOG10E+1},B=E.map(function(R){return[R,e.countWhere(_,function(L){return L.fileName===R.fileName})]}),W=B.reduce(function(R,L){return Math.max(R,L[1]||0)},0),J=e.Diagnostics.Errors_Files.message,M=J.split(" ")[0].length,pe=Math.max(M,j(W)),Ne=Math.max(j(W)-M,0),w="";return w+=" ".repeat(Ne)+J+` `,B.forEach(function(R){var L=R[0],V=R[1],Te=Math.log(V)*Math.LOG10E+1|0,Se=Te0?e.ExitStatus.DiagnosticsPresent_OutputsSkipped:w.length>0?e.ExitStatus.DiagnosticsPresent_OutputsGenerated:e.ExitStatus.Success}e.emitFilesAndReportErrorsAndGetExitStatus=de,e.noopFileWatcher={close:e.noop},e.returnNoopFileWatcher=function(){return e.noopFileWatcher};function $(_,d){_===void 0&&(_=e.sys);var E=d||G(_);return{onWatchStatusChange:E,watchFile:e.maybeBind(_,_.watchFile)||e.returnNoopFileWatcher,watchDirectory:e.maybeBind(_,_.watchDirectory)||e.returnNoopFileWatcher,setTimeout:e.maybeBind(_,_.setTimeout)||e.noop,clearTimeout:e.maybeBind(_,_.clearTimeout)||e.noop}}e.createWatchHost=$,e.WatchType={ConfigFile:"Config file",ExtendedConfigFile:"Extended config file",SourceFile:"Source file",MissingFile:"Missing file",WildcardDirectory:"Wild card directory",FailedLookupLocations:"Failed Lookup Locations",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"};function I(_,d){var E=_.trace?d.extendedDiagnostics?e.WatchLogLevel.Verbose:d.diagnostics?e.WatchLogLevel.TriggerOnly:e.WatchLogLevel.None:e.WatchLogLevel.None,j=E!==e.WatchLogLevel.None?function(W){return _.trace(W)}:e.noop,B=e.getWatchFactory(_,E,j);return B.writeLog=j,B}e.createWatchFactory=I;function Z(_,d,E){E===void 0&&(E=_);var j=_.useCaseSensitiveFileNames(),B=e.memoize(function(){return _.getNewLine()});return{getSourceFile:function(J,M,pe){var Ne;try{e.performance.mark("beforeIORead"),Ne=_.readFile(J,d().charset),e.performance.mark("afterIORead"),e.performance.measure("I/O Read","beforeIORead","afterIORead")}catch(w){pe&&pe(w.message),Ne=""}return Ne!==void 0?e.createSourceFile(J,Ne,M):void 0},getDefaultLibLocation:e.maybeBind(_,_.getDefaultLibLocation),getDefaultLibFileName:function(J){return _.getDefaultLibFileName(J)},writeFile:W,getCurrentDirectory:e.memoize(function(){return _.getCurrentDirectory()}),useCaseSensitiveFileNames:function(){return j},getCanonicalFileName:e.createGetCanonicalFileName(j),getNewLine:function(){return e.getNewLineCharacter(d(),B)},fileExists:function(J){return _.fileExists(J)},readFile:function(J){return _.readFile(J)},trace:e.maybeBind(_,_.trace),directoryExists:e.maybeBind(E,E.directoryExists),getDirectories:e.maybeBind(E,E.getDirectories),realpath:e.maybeBind(_,_.realpath),getEnvironmentVariable:e.maybeBind(_,_.getEnvironmentVariable)||function(){return""},createHash:e.maybeBind(_,_.createHash),readDirectory:e.maybeBind(_,_.readDirectory),disableUseFileVersionAsSignature:_.disableUseFileVersionAsSignature};function W(J,M,pe,Ne){try{e.performance.mark("beforeIOWrite"),e.writeFileEnsuringDirectories(J,M,pe,function(w,R,L){return _.writeFile(w,R,L)},function(w){return _.createDirectory(w)},function(w){return _.directoryExists(w)}),e.performance.mark("afterIOWrite"),e.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(w){Ne&&Ne(w.message)}}}e.createCompilerHostFromProgramHost=Z;function z(_,d){var E=_.getSourceFile,j=e.maybeBind(d,d.createHash)||e.generateDjb2Hash;_.getSourceFile=function(){for(var B=[],W=0;Wfe?Be:fe}function ue(fe){return e.fileExtensionIs(fe,".d.ts")}function h(fe){return!!fe&&!!fe.buildOrder}e.isCircularBuildOrder=h;function S(fe){return h(fe)?fe.buildOrder:fe}e.getBuildOrderFromAnyBuildOrder=S;function k(fe,Be){return function(We){var Ft=Be?"[".concat(e.formatColorAndReset(e.getLocaleTimeString(fe),e.ForegroundColorEscapeSequences.Grey),"] "):"".concat(e.getLocaleTimeString(fe)," - ");Ft+="".concat(e.flattenDiagnosticMessageText(We.messageText,fe.newLine)).concat(fe.newLine+fe.newLine),fe.write(Ft)}}e.createBuilderStatusReporter=k;function se(fe,Be,We,Ft){var Lt=e.createProgramHost(fe,Be);return Lt.getModifiedTime=fe.getModifiedTime?function(Rt){return fe.getModifiedTime(Rt)}:e.returnUndefined,Lt.setModifiedTime=fe.setModifiedTime?function(Rt,Et){return fe.setModifiedTime(Rt,Et)}:e.noop,Lt.deleteFile=fe.deleteFile?function(Rt){return fe.deleteFile(Rt)}:e.noop,Lt.reportDiagnostic=We||e.createDiagnosticReporter(fe),Lt.reportSolutionBuilderStatus=Ft||k(fe),Lt.now=e.maybeBind(fe,fe.now),Lt}function le(fe,Be,We,Ft,Lt){fe===void 0&&(fe=e.sys);var Rt=se(fe,Be,We,Ft);return Rt.reportErrorSummary=Lt,Rt}e.createSolutionBuilderHost=le;function f(fe,Be,We,Ft,Lt){fe===void 0&&(fe=e.sys);var Rt=se(fe,Be,We,Ft),Et=e.createWatchHost(fe,Lt);return e.copyProperties(Rt,Et),Rt}e.createSolutionBuilderWithWatchHost=f;function b(fe){var Be={};return e.commonOptionsWithBuild.forEach(function(We){e.hasProperty(fe,We.name)&&(Be[We.name]=fe[We.name])}),Be}function y(fe,Be,We){return ze(!1,fe,Be,We)}e.createSolutionBuilder=y;function K(fe,Be,We,Ft){return ze(!0,fe,Be,We,Ft)}e.createSolutionBuilderWithWatch=K;function ce(fe,Be,We,Ft,Lt){var Rt=Be,Et=Be,pn=Rt.getCurrentDirectory(),he=e.createGetCanonicalFileName(Rt.useCaseSensitiveFileNames()),yt=b(Ft),Gt=e.createCompilerHostFromProgramHost(Rt,function(){return Bt.projectCompilerOptions});e.setGetSourceFileAsHashVersioned(Gt,Rt),Gt.getParsedCommandLine=function(zt){return Q(Bt,zt,re(Bt,zt))},Gt.resolveModuleNames=e.maybeBind(Rt,Rt.resolveModuleNames),Gt.resolveTypeReferenceDirectives=e.maybeBind(Rt,Rt.resolveTypeReferenceDirectives);var rn=Gt.resolveModuleNames?void 0:e.createModuleResolutionCache(pn,he),Zt=Gt.resolveTypeReferenceDirectives?void 0:e.createTypeReferenceDirectiveResolutionCache(pn,he,void 0,rn==null?void 0:rn.getPackageJsonInfoCache());if(!Gt.resolveModuleNames){var kn=function(zt,Ve,Nt,Ge){return e.resolveModuleName(zt,Nt,Bt.projectCompilerOptions,Gt,rn,Ge,Ve).resolvedModule};Gt.resolveModuleNames=function(zt,Ve,Nt,Ge,lt,Le){return e.loadWithModeAwareCache(e.Debug.checkEachDefined(zt),e.Debug.checkDefined(Le),Ve,Ge,kn)},Gt.getModuleResolutionCache=function(){return rn}}if(!Gt.resolveTypeReferenceDirectives){var Zn=function(zt,Ve,Nt){return e.resolveTypeReferenceDirective(zt,Ve,Bt.projectCompilerOptions,Gt,Nt,Bt.typeReferenceDirectiveResolutionCache).resolvedTypeReferenceDirective};Gt.resolveTypeReferenceDirectives=function(zt,Ve,Nt){return e.loadWithLocalCache(e.Debug.checkEachDefined(zt),Ve,Nt,Zn)}}var Sr=e.createWatchFactory(Et,Ft),Ze=Sr.watchFile,tn=Sr.watchDirectory,Je=Sr.writeLog,Bt={host:Rt,hostWithWatch:Et,currentDirectory:pn,getCanonicalFileName:he,parseConfigFileHost:e.parseConfigHostFromCompilerHostLike(Rt),write:e.maybeBind(Rt,Rt.trace),options:Ft,baseCompilerOptions:yt,rootNames:We,baseWatchOptions:Lt,resolvedConfigFilePaths:new e.Map,configFileCache:new e.Map,projectStatus:new e.Map,buildInfoChecked:new e.Map,extendedConfigCache:new e.Map,builderPrograms:new e.Map,diagnostics:new e.Map,projectPendingBuild:new e.Map,projectErrorsReported:new e.Map,compilerHost:Gt,moduleResolutionCache:rn,typeReferenceDirectiveResolutionCache:Zt,buildOrder:void 0,readFileWithCache:function(zt){return Rt.readFile(zt)},projectCompilerOptions:yt,cache:void 0,allProjectBuildPending:!0,needsSummary:!0,watchAllProjectsPending:fe,currentInvalidatedProject:void 0,watch:fe,allWatchedWildcardDirectories:new e.Map,allWatchedInputFiles:new e.Map,allWatchedConfigFiles:new e.Map,allWatchedExtendedConfigFiles:new e.Map,allWatchedPackageJsonFiles:new e.Map,lastCachedPackageJsonLookups:new e.Map,timerToBuildInvalidatedProject:void 0,reportFileChangeDetected:!1,watchFile:Ze,watchDirectory:tn,writeLog:Je};return Bt}function Y(fe,Be){return e.toPath(Be,fe.currentDirectory,fe.getCanonicalFileName)}function re(fe,Be){var We=fe.resolvedConfigFilePaths,Ft=We.get(Be);if(Ft!==void 0)return Ft;var Lt=Y(fe,Be);return We.set(Be,Lt),Lt}function F(fe){return!!fe.options}function O(fe,Be){var We=fe.configFileCache.get(Be);return We&&F(We)?We:void 0}function Q(fe,Be,We){var Ft=fe.configFileCache,Lt=Ft.get(We);if(Lt)return F(Lt)?Lt:void 0;var Rt,Et=fe.parseConfigFileHost,pn=fe.baseCompilerOptions,he=fe.baseWatchOptions,yt=fe.extendedConfigCache,Gt=fe.host,rn;return Gt.getParsedCommandLine?(rn=Gt.getParsedCommandLine(Be),rn||(Rt=e.createCompilerDiagnostic(e.Diagnostics.File_0_not_found,Be))):(Et.onUnRecoverableConfigFileDiagnostic=function(Zt){return Rt=Zt},rn=e.getParsedCommandLineOfConfigFile(Be,pn,Et,yt,he),Et.onUnRecoverableConfigFileDiagnostic=e.noop),Ft.set(We,rn||Rt),rn}function de(fe,Be){return e.resolveConfigFileProjectName(e.resolvePath(fe.currentDirectory,Be))}function $(fe,Be){for(var We=new e.Map,Ft=new e.Map,Lt=[],Rt,Et,pn=0,he=Be;pnxe)}}}function B(fe,Be,We){var Ft=fe.options;return Be.type!==e.UpToDateStatusType.OutOfDateWithPrepend||Ft.force?!0:We.fileNames.length===0||!!e.getConfigFileParsingDiagnostics(We).length||!e.isIncrementalCompilation(We.options)}function W(fe,Be,We){if(!!fe.projectPendingBuild.size&&!h(Be)){if(fe.currentInvalidatedProject)return e.arrayIsEqualTo(fe.currentInvalidatedProject.buildOrder,Be)?fe.currentInvalidatedProject:void 0;for(var Ft=fe.options,Lt=fe.projectPendingBuild,Rt=0;RtRt&&(Lt=yt,Rt=Gt)}}if(!Be.fileNames.length&&!e.canJsonReportNoInputFiles(Be.raw))return{type:e.UpToDateStatusType.ContainerOnly};var rn=e.getAllProjectOutputs(Be,!Et.useCaseSensitiveFileNames()),Zt="(none)",kn=u,Zn="(none)",Sr=a,Ze,tn=a,Je=!1;if(!Ft)for(var Bt=0,zt=rn;BtSr&&(Sr=Nt,Zn=Ve),ue(Ve)){var Ge=e.getModifiedTime(Et,Ve);tn=G(tn,Ge)}}var lt=!1,Le=!1,ee;if(Be.projectReferences){fe.projectStatus.set(We,{type:e.UpToDateStatusType.ComputingUpstream});for(var xe=0,H=Be.projectReferences;xe=0}a.hasArgument=u;function P(v){var G=e.sys.args.indexOf(v);return G>=0&&Gh)return 2;if(f.charCodeAt(0)===46)return 3;if(f.charCodeAt(0)===95)return 4;if(b){var y=/^@([^/]+)\/([^/]+)$/.exec(f);if(y){var K=k(y[1],!1);if(K!==0)return{name:y[1],isScopeName:!0,result:K};var ce=k(y[2],!1);return ce!==0?{name:y[2],isScopeName:!1,result:ce}:0}}return encodeURIComponent(f)!==f?5:0}function se(f,b){return typeof f=="object"?le(b,f.result,f.name,f.isScopeName):le(b,f,b,!1)}a.renderPackageNameValidationFailure=se;function le(f,b,y,K){var ce=K?"Scope":"Package";switch(b){case 1:return"'".concat(f,"':: ").concat(ce," name '").concat(y,"' cannot be empty");case 2:return"'".concat(f,"':: ").concat(ce," name '").concat(y,"' should be less than ").concat(h," characters");case 3:return"'".concat(f,"':: ").concat(ce," name '").concat(y,"' cannot start with '.'");case 4:return"'".concat(f,"':: ").concat(ce," name '").concat(y,"' cannot start with '_'");case 5:return"'".concat(f,"':: ").concat(ce," name '").concat(y,"' contains non URI safe characters");case 0:return e.Debug.fail();default:throw e.Debug.assertNever(b)}}})(e.JsTyping||(e.JsTyping={}))})(ne||(ne={}));var ne;(function(e){(function(r){var v=function(){function ue(h){this.text=h}return ue.prototype.getText=function(h,S){return h===0&&S===this.text.length?this.text:this.text.substring(h,S)},ue.prototype.getLength=function(){return this.text.length},ue.prototype.getChangeRange=function(){},ue}();function G(ue){return new v(ue)}r.fromString=G})(e.ScriptSnapshot||(e.ScriptSnapshot={})),function(r){r[r.Dependencies=1]="Dependencies",r[r.DevDependencies=2]="DevDependencies",r[r.PeerDependencies=4]="PeerDependencies",r[r.OptionalDependencies=8]="OptionalDependencies",r[r.All=15]="All"}(e.PackageJsonDependencyGroup||(e.PackageJsonDependencyGroup={})),function(r){r[r.Off=0]="Off",r[r.On=1]="On",r[r.Auto=2]="Auto"}(e.PackageJsonAutoImportPreference||(e.PackageJsonAutoImportPreference={})),function(r){r[r.Semantic=0]="Semantic",r[r.PartialSemantic=1]="PartialSemantic",r[r.Syntactic=2]="Syntactic"}(e.LanguageServiceMode||(e.LanguageServiceMode={})),e.emptyOptions={},function(r){r.Original="original",r.TwentyTwenty="2020"}(e.SemanticClassificationFormat||(e.SemanticClassificationFormat={})),function(r){r[r.Invoked=1]="Invoked",r[r.TriggerCharacter=2]="TriggerCharacter",r[r.TriggerForIncompleteCompletions=3]="TriggerForIncompleteCompletions"}(e.CompletionTriggerKind||(e.CompletionTriggerKind={})),function(r){r.Type="Type",r.Parameter="Parameter",r.Enum="Enum"}(e.InlayHintKind||(e.InlayHintKind={})),function(r){r.none="none",r.definition="definition",r.reference="reference",r.writtenReference="writtenReference"}(e.HighlightSpanKind||(e.HighlightSpanKind={}));var a;(function(r){r[r.None=0]="None",r[r.Block=1]="Block",r[r.Smart=2]="Smart"})(a=e.IndentStyle||(e.IndentStyle={}));var u;(function(r){r.Ignore="ignore",r.Insert="insert",r.Remove="remove"})(u=e.SemicolonPreference||(e.SemicolonPreference={}));function P(r){return{indentSize:4,tabSize:4,newLineCharacter:r||` `,convertTabsToSpaces:!0,indentStyle:a.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:u.Ignore,trimTrailingWhitespace:!0}}e.getDefaultFormatCodeSettings=P,e.testFormatSettings=P(` `),function(r){r[r.aliasName=0]="aliasName",r[r.className=1]="className",r[r.enumName=2]="enumName",r[r.fieldName=3]="fieldName",r[r.interfaceName=4]="interfaceName",r[r.keyword=5]="keyword",r[r.lineBreak=6]="lineBreak",r[r.numericLiteral=7]="numericLiteral",r[r.stringLiteral=8]="stringLiteral",r[r.localName=9]="localName",r[r.methodName=10]="methodName",r[r.moduleName=11]="moduleName",r[r.operator=12]="operator",r[r.parameterName=13]="parameterName",r[r.propertyName=14]="propertyName",r[r.punctuation=15]="punctuation",r[r.space=16]="space",r[r.text=17]="text",r[r.typeParameterName=18]="typeParameterName",r[r.enumMemberName=19]="enumMemberName",r[r.functionName=20]="functionName",r[r.regularExpressionLiteral=21]="regularExpressionLiteral",r[r.link=22]="link",r[r.linkName=23]="linkName",r[r.linkText=24]="linkText"}(e.SymbolDisplayPartKind||(e.SymbolDisplayPartKind={})),function(r){r.Comment="comment",r.Region="region",r.Code="code",r.Imports="imports"}(e.OutliningSpanKind||(e.OutliningSpanKind={})),function(r){r[r.JavaScript=0]="JavaScript",r[r.SourceMap=1]="SourceMap",r[r.Declaration=2]="Declaration"}(e.OutputFileType||(e.OutputFileType={})),function(r){r[r.None=0]="None",r[r.InMultiLineCommentTrivia=1]="InMultiLineCommentTrivia",r[r.InSingleQuoteStringLiteral=2]="InSingleQuoteStringLiteral",r[r.InDoubleQuoteStringLiteral=3]="InDoubleQuoteStringLiteral",r[r.InTemplateHeadOrNoSubstitutionTemplate=4]="InTemplateHeadOrNoSubstitutionTemplate",r[r.InTemplateMiddleOrTail=5]="InTemplateMiddleOrTail",r[r.InTemplateSubstitutionPosition=6]="InTemplateSubstitutionPosition"}(e.EndOfLineState||(e.EndOfLineState={})),function(r){r[r.Punctuation=0]="Punctuation",r[r.Keyword=1]="Keyword",r[r.Operator=2]="Operator",r[r.Comment=3]="Comment",r[r.Whitespace=4]="Whitespace",r[r.Identifier=5]="Identifier",r[r.NumberLiteral=6]="NumberLiteral",r[r.BigIntLiteral=7]="BigIntLiteral",r[r.StringLiteral=8]="StringLiteral",r[r.RegExpLiteral=9]="RegExpLiteral"}(e.TokenClass||(e.TokenClass={})),function(r){r.unknown="",r.warning="warning",r.keyword="keyword",r.scriptElement="script",r.moduleElement="module",r.classElement="class",r.localClassElement="local class",r.interfaceElement="interface",r.typeElement="type",r.enumElement="enum",r.enumMemberElement="enum member",r.variableElement="var",r.localVariableElement="local var",r.functionElement="function",r.localFunctionElement="local function",r.memberFunctionElement="method",r.memberGetAccessorElement="getter",r.memberSetAccessorElement="setter",r.memberVariableElement="property",r.constructorImplementationElement="constructor",r.callSignatureElement="call",r.indexSignatureElement="index",r.constructSignatureElement="construct",r.parameterElement="parameter",r.typeParameterElement="type parameter",r.primitiveType="primitive type",r.label="label",r.alias="alias",r.constElement="const",r.letElement="let",r.directory="directory",r.externalModuleName="external module name",r.jsxAttribute="JSX attribute",r.string="string",r.link="link",r.linkName="link name",r.linkText="link text"}(e.ScriptElementKind||(e.ScriptElementKind={})),function(r){r.none="",r.publicMemberModifier="public",r.privateMemberModifier="private",r.protectedMemberModifier="protected",r.exportedModifier="export",r.ambientModifier="declare",r.staticModifier="static",r.abstractModifier="abstract",r.optionalModifier="optional",r.deprecatedModifier="deprecated",r.dtsModifier=".d.ts",r.tsModifier=".ts",r.tsxModifier=".tsx",r.jsModifier=".js",r.jsxModifier=".jsx",r.jsonModifier=".json",r.dmtsModifier=".d.mts",r.mtsModifier=".mts",r.mjsModifier=".mjs",r.dctsModifier=".d.cts",r.ctsModifier=".cts",r.cjsModifier=".cjs"}(e.ScriptElementKindModifier||(e.ScriptElementKindModifier={})),function(r){r.comment="comment",r.identifier="identifier",r.keyword="keyword",r.numericLiteral="number",r.bigintLiteral="bigint",r.operator="operator",r.stringLiteral="string",r.whiteSpace="whitespace",r.text="text",r.punctuation="punctuation",r.className="class name",r.enumName="enum name",r.interfaceName="interface name",r.moduleName="module name",r.typeParameterName="type parameter name",r.typeAliasName="type alias name",r.parameterName="parameter name",r.docCommentTagName="doc comment tag name",r.jsxOpenTagName="jsx open tag name",r.jsxCloseTagName="jsx close tag name",r.jsxSelfClosingTagName="jsx self closing tag name",r.jsxAttribute="jsx attribute",r.jsxText="jsx text",r.jsxAttributeStringLiteralValue="jsx attribute string literal value"}(e.ClassificationTypeNames||(e.ClassificationTypeNames={})),function(r){r[r.comment=1]="comment",r[r.identifier=2]="identifier",r[r.keyword=3]="keyword",r[r.numericLiteral=4]="numericLiteral",r[r.operator=5]="operator",r[r.stringLiteral=6]="stringLiteral",r[r.regularExpressionLiteral=7]="regularExpressionLiteral",r[r.whiteSpace=8]="whiteSpace",r[r.text=9]="text",r[r.punctuation=10]="punctuation",r[r.className=11]="className",r[r.enumName=12]="enumName",r[r.interfaceName=13]="interfaceName",r[r.moduleName=14]="moduleName",r[r.typeParameterName=15]="typeParameterName",r[r.typeAliasName=16]="typeAliasName",r[r.parameterName=17]="parameterName",r[r.docCommentTagName=18]="docCommentTagName",r[r.jsxOpenTagName=19]="jsxOpenTagName",r[r.jsxCloseTagName=20]="jsxCloseTagName",r[r.jsxSelfClosingTagName=21]="jsxSelfClosingTagName",r[r.jsxAttribute=22]="jsxAttribute",r[r.jsxText=23]="jsxText",r[r.jsxAttributeStringLiteralValue=24]="jsxAttributeStringLiteralValue",r[r.bigintLiteral=25]="bigintLiteral"}(e.ClassificationType||(e.ClassificationType={}))})(ne||(ne={}));var ne;(function(e){e.scanner=e.createScanner(99,!0),function(me){me[me.None=0]="None",me[me.Value=1]="Value",me[me.Type=2]="Type",me[me.Namespace=4]="Namespace",me[me.All=7]="All"}(e.SemanticMeaning||(e.SemanticMeaning={}));function a(me){switch(me.kind){case 253:return e.isInJSFile(me)&&e.getJSDocEnumTag(me)?7:1;case 163:case 202:case 166:case 165:case 294:case 295:case 168:case 167:case 170:case 171:case 172:case 255:case 212:case 213:case 291:case 284:return 1;case 162:case 257:case 258:case 181:return 2;case 343:return me.name===void 0?3:2;case 297:case 256:return 3;case 260:return e.isAmbientModule(me)||e.getModuleInstanceState(me)===1?5:4;case 259:case 268:case 269:case 264:case 265:case 270:case 271:return 7;case 303:return 5}return 7}e.getMeaningFromDeclaration=a;function u(me){me=At(me);var mt=me.parent;return me.kind===303?1:e.isExportAssignment(mt)||e.isExportSpecifier(mt)||e.isExternalModuleReference(mt)||e.isImportSpecifier(mt)||e.isImportClause(mt)||e.isImportEqualsDeclaration(mt)&&me===mt.name?7:r(me)?P(me):e.isDeclarationName(me)?a(mt):e.isEntityName(me)&&e.findAncestor(me,e.or(e.isJSDocNameReference,e.isJSDocLinkLike,e.isJSDocMemberName))?7:h(me)?2:v(me)?4:e.isTypeParameterDeclaration(mt)?(e.Debug.assert(e.isJSDocTemplateTag(mt.parent)),2):e.isLiteralTypeNode(mt)?3:1}e.getMeaningFromLocation=u;function P(me){var mt=me.kind===160?me:e.isQualifiedName(me.parent)&&me.parent.right===me?me.parent:void 0;return mt&&mt.parent.kind===264?7:4}function r(me){for(;me.parent.kind===160;)me=me.parent;return e.isInternalModuleImportEqualsDeclaration(me.parent)&&me.parent.moduleReference===me}e.isInRightSideOfInternalImportEqualsDeclaration=r;function v(me){return G(me)||ue(me)}function G(me){var mt=me,Dt=!0;if(mt.parent.kind===160){for(;mt.parent&&mt.parent.kind===160;)mt=mt.parent;Dt=mt.right===me}return mt.parent.kind===177&&!Dt}function ue(me){var mt=me,Dt=!0;if(mt.parent.kind===205){for(;mt.parent&&mt.parent.kind===205;)mt=mt.parent;Dt=mt.name===me}if(!Dt&&mt.parent.kind===227&&mt.parent.parent.kind===290){var Cn=mt.parent.parent.parent;return Cn.kind===256&&mt.parent.parent.token===117||Cn.kind===257&&mt.parent.parent.token===94}return!1}function h(me){switch(e.isRightSideOfQualifiedNameOrPropertyAccess(me)&&(me=me.parent),me.kind){case 108:return!e.isExpressionNode(me);case 191:return!0}switch(me.parent.kind){case 177:return!0;case 199:return!me.parent.isTypeOf;case 227:return!e.isExpressionWithTypeArgumentsInClassExtendsClause(me.parent)}return!1}function S(me,mt,Dt){return mt===void 0&&(mt=!1),Dt===void 0&&(Dt=!1),Y(me,e.isCallExpression,y,mt,Dt)}e.isCallExpressionTarget=S;function k(me,mt,Dt){return mt===void 0&&(mt=!1),Dt===void 0&&(Dt=!1),Y(me,e.isNewExpression,y,mt,Dt)}e.isNewExpressionTarget=k;function se(me,mt,Dt){return mt===void 0&&(mt=!1),Dt===void 0&&(Dt=!1),Y(me,e.isCallOrNewExpression,y,mt,Dt)}e.isCallOrNewExpressionTarget=se;function le(me,mt,Dt){return mt===void 0&&(mt=!1),Dt===void 0&&(Dt=!1),Y(me,e.isTaggedTemplateExpression,K,mt,Dt)}e.isTaggedTemplateTag=le;function f(me,mt,Dt){return mt===void 0&&(mt=!1),Dt===void 0&&(Dt=!1),Y(me,e.isDecorator,y,mt,Dt)}e.isDecoratorTarget=f;function b(me,mt,Dt){return mt===void 0&&(mt=!1),Dt===void 0&&(Dt=!1),Y(me,e.isJsxOpeningLikeElement,ce,mt,Dt)}e.isJsxOpeningLikeElementTagName=b;function y(me){return me.expression}function K(me){return me.tag}function ce(me){return me.tagName}function Y(me,mt,Dt,Cn,Gn){var qr=Cn?F(me):re(me);return Gn&&(qr=e.skipOuterExpressions(qr)),!!qr&&!!qr.parent&&mt(qr.parent)&&Dt(qr.parent)===qr}function re(me){return ie(me)?me.parent:me}e.climbPastPropertyAccess=re;function F(me){return ie(me)||m(me)?me.parent:me}e.climbPastPropertyOrElementAccess=F;function O(me,mt){for(;me;){if(me.kind===249&&me.label.escapedText===mt)return me.label;me=me.parent}}e.getTargetLabel=O;function Q(me,mt){return e.isPropertyAccessExpression(me.expression)?me.expression.name.text===mt:!1}e.hasPropertyAccessExpressionWithName=Q;function de(me){var mt;return e.isIdentifier(me)&&((mt=e.tryCast(me.parent,e.isBreakOrContinueStatement))===null||mt===void 0?void 0:mt.label)===me}e.isJumpStatementTarget=de;function $(me){var mt;return e.isIdentifier(me)&&((mt=e.tryCast(me.parent,e.isLabeledStatement))===null||mt===void 0?void 0:mt.label)===me}e.isLabelOfLabeledStatement=$;function I(me){return $(me)||de(me)}e.isLabelName=I;function Z(me){var mt;return((mt=e.tryCast(me.parent,e.isJSDocTag))===null||mt===void 0?void 0:mt.tagName)===me}e.isTagName=Z;function z(me){var mt;return((mt=e.tryCast(me.parent,e.isQualifiedName))===null||mt===void 0?void 0:mt.right)===me}e.isRightSideOfQualifiedName=z;function ie(me){var mt;return((mt=e.tryCast(me.parent,e.isPropertyAccessExpression))===null||mt===void 0?void 0:mt.name)===me}e.isRightSideOfPropertyAccess=ie;function m(me){var mt;return((mt=e.tryCast(me.parent,e.isElementAccessExpression))===null||mt===void 0?void 0:mt.argumentExpression)===me}e.isArgumentExpressionOfElementAccess=m;function A(me){var mt;return((mt=e.tryCast(me.parent,e.isModuleDeclaration))===null||mt===void 0?void 0:mt.name)===me}e.isNameOfModuleDeclaration=A;function g(me){var mt;return e.isIdentifier(me)&&((mt=e.tryCast(me.parent,e.isFunctionLike))===null||mt===void 0?void 0:mt.name)===me}e.isNameOfFunctionDeclaration=g;function C(me){switch(me.parent.kind){case 166:case 165:case 294:case 297:case 168:case 167:case 171:case 172:case 260:return e.getNameOfDeclaration(me.parent)===me;case 206:return me.parent.argumentExpression===me;case 161:return!0;case 195:return me.parent.parent.kind===193;default:return!1}}e.isLiteralNameOfPropertyDeclarationOrIndexAccess=C;function N(me){return e.isExternalModuleImportEqualsDeclaration(me.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(me.parent.parent)===me}e.isExpressionOfExternalModuleImportEqualsDeclaration=N;function _(me){for(e.isJSDocTypeAlias(me)&&(me=me.parent.parent);;){if(me=me.parent,!me)return;switch(me.kind){case 303:case 168:case 167:case 255:case 212:case 171:case 172:case 256:case 257:case 259:case 260:return me}}}e.getContainerNode=_;function d(me){switch(me.kind){case 303:return e.isExternalModule(me)?"module":"script";case 260:return"module";case 256:case 225:return"class";case 257:return"interface";case 258:case 336:case 343:return"type";case 259:return"enum";case 253:return xi(me);case 202:return xi(e.getRootDeclaration(me));case 213:case 255:case 212:return"function";case 171:return"getter";case 172:return"setter";case 168:case 167:return"method";case 294:var mt=me.initializer;return e.isFunctionLike(mt)?"method":"property";case 166:case 165:case 295:case 296:return"property";case 175:return"index";case 174:return"construct";case 173:return"call";case 170:case 169:return"constructor";case 162:return"type parameter";case 297:return"enum member";case 163:return e.hasSyntacticModifier(me,16476)?"property":"parameter";case 264:case 269:case 274:case 267:case 273:return"alias";case 220:var Dt=e.getAssignmentDeclarationKind(me),Cn=me.right;switch(Dt){case 7:case 8:case 9:case 0:return"";case 1:case 2:var Gn=d(Cn);return Gn===""?"const":Gn;case 3:return e.isFunctionExpression(Cn)?"method":"property";case 4:return"property";case 5:return e.isFunctionExpression(Cn)?"method":"property";case 6:return"local class";default:return e.assertType(Dt),""}case 79:return e.isImportClause(me.parent)?"alias":"";case 270:var qr=d(me.expression);return qr===""?"const":qr;default:return""}function xi(ba){return e.isVarConst(ba)?"const":e.isLet(ba)?"let":"var"}}e.getNodeKind=d;function E(me){switch(me.kind){case 108:return!0;case 79:return e.identifierIsThisKeyword(me)&&me.parent.kind===163;default:return!1}}e.isThis=E;var j=/^\/\/\/\s*=Dt.end}e.startEndContainsRange=Ne;function w(me,mt,Dt){return me.pos<=mt&&me.end>=Dt}e.rangeContainsStartEnd=w;function R(me,mt,Dt){return V(me.pos,me.end,mt,Dt)}e.rangeOverlapsWithStartEnd=R;function L(me,mt,Dt,Cn){return V(me.getStart(mt),me.end,Dt,Cn)}e.nodeOverlapsWithStartEnd=L;function V(me,mt,Dt,Cn){var Gn=Math.max(me,Dt),qr=Math.min(mt,Cn);return Gnmt?1:wo(yo[co])?yo[co-1]&&wo(yo[co-1])?1:0:Cn&&hs===mt&&yo[co-1]&&yo[co-1].getEnd()===mt&&wo(yo[co-1])?1:-1});return xi?{value:xi}:Ga>=0&&yo[Ga]?(qr=yo[Ga],"continue-outer"):{value:qr}};e:for(;;){var go=ba();if(typeof go=="object")return go.value;switch(go){case"continue-outer":continue e}}function wo(yo){var Ga=Dt?yo.getFullStart():yo.getStart(me,!0);if(Ga>mt)return!1;var co=yo.getEnd();if(mtDt.getStart(me)&&mtme.end||qr.pos===me.end;return xi&&Bt(qr,Dt)?Cn(qr):void 0})}}e.findNextToken=Be;function We(me,mt,Dt,Cn){var Gn=qr(Dt||mt);return e.Debug.assert(!(Gn&&he(Gn))),Gn;function qr(xi){if(Ft(xi)&&xi.kind!==1)return xi;var ba=xi.getChildren(mt),go=e.binarySearchKey(ba,me,function(hs,Us){return Us},function(hs,Us){return me=ba[hs-1].end?0:1:-1});if(go>=0&&ba[go]){var wo=ba[go];if(me=me||!Bt(wo,mt)||he(wo);if(Ga){var co=Rt(ba,go,mt,xi.kind);return co&&Lt(co,mt)}else return qr(wo)}}e.Debug.assert(Dt!==void 0||xi.kind===303||xi.kind===1||e.isJSDocCommentContainingNode(xi));var ps=Rt(ba,ba.length,mt,xi.kind);return ps&&Lt(ps,mt)}}e.findPrecedingToken=We;function Ft(me){return e.isToken(me)&&!he(me)}function Lt(me,mt){if(Ft(me))return me;var Dt=me.getChildren(mt);if(Dt.length===0)return me;var Cn=Rt(Dt,Dt.length,mt,me.kind);return Cn&&Lt(Cn,mt)}function Rt(me,mt,Dt,Cn){for(var Gn=mt-1;Gn>=0;Gn--){var qr=me[Gn];if(he(qr))Gn===0&&(Cn===11||Cn===278)&&e.Debug.fail("`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`");else if(Bt(me[Gn],Dt))return me[Gn]}}function Et(me,mt,Dt){if(Dt===void 0&&(Dt=We(mt,me)),Dt&&e.isStringTextContainingNode(Dt)){var Cn=Dt.getStart(me),Gn=Dt.getEnd();if(CnDt.getStart(me)}e.isInTemplateString=yt;function Gt(me,mt){var Dt=Ht(me,mt);return!!(e.isJsxText(Dt)||Dt.kind===18&&e.isJsxExpression(Dt.parent)&&e.isJsxElement(Dt.parent.parent)||Dt.kind===29&&e.isJsxOpeningLikeElement(Dt.parent)&&e.isJsxElement(Dt.parent.parent))}e.isInJSXText=Gt;function rn(me,mt){function Dt(Cn){for(;Cn;)if(Cn.kind>=278&&Cn.kind<=287||Cn.kind===11||Cn.kind===29||Cn.kind===31||Cn.kind===79||Cn.kind===19||Cn.kind===18||Cn.kind===43)Cn=Cn.parent;else if(Cn.kind===277){if(mt>Cn.getStart(me))return!0;Cn=Cn.parent}else return!1;return!1}return Dt(Ht(me,mt))}e.isInsideJsxElement=rn;function Zt(me,mt,Dt){var Cn=e.tokenToString(me.kind),Gn=e.tokenToString(mt),qr=me.getFullStart(),xi=Dt.text.lastIndexOf(Gn,qr);if(xi!==-1){if(Dt.text.lastIndexOf(Cn,qr-1)=mt})}e.getPossibleGenericSignatures=Sr;function Ze(me,mt){if(mt.text.lastIndexOf("<",me?me.pos:mt.text.length)!==-1)for(var Dt=me,Cn=0,Gn=0;Dt;){switch(Dt.kind){case 29:if(Dt=We(Dt.getFullStart(),mt),Dt&&Dt.kind===28&&(Dt=We(Dt.getFullStart(),mt)),!Dt||!e.isIdentifier(Dt))return;if(!Cn)return e.isDeclarationName(Dt)?void 0:{called:Dt,nTypeArguments:Gn};Cn--;break;case 49:Cn=3;break;case 48:Cn=2;break;case 31:Cn++;break;case 19:if(Dt=Zt(Dt,18,mt),!Dt)return;break;case 21:if(Dt=Zt(Dt,20,mt),!Dt)return;break;case 23:if(Dt=Zt(Dt,22,mt),!Dt)return;break;case 27:Gn++;break;case 38:case 79:case 10:case 8:case 9:case 110:case 95:case 112:case 94:case 140:case 24:case 51:case 57:case 58:break;default:if(e.isTypeNode(Dt))break;return}Dt=We(Dt.getFullStart(),mt)}}e.getPossibleTypeArgumentsInfo=Ze;function tn(me,mt,Dt){return e.formatting.getRangeOfEnclosingComment(me,mt,void 0,Dt)}e.isInComment=tn;function Je(me,mt){var Dt=Ht(me,mt);return!!e.findAncestor(Dt,e.isJSDoc)}e.hasDocComment=Je;function Bt(me,mt){return me.kind===1?!!me.jsDoc:me.getWidth(mt)!==0}function zt(me,mt){mt===void 0&&(mt=0);var Dt=[],Cn=e.isDeclaration(me)?e.getCombinedNodeFlagsAlwaysIncludeJSDoc(me)&~mt:0;return Cn&8&&Dt.push("private"),Cn&16&&Dt.push("protected"),Cn&4&&Dt.push("public"),(Cn&32||e.isClassStaticBlockDeclaration(me))&&Dt.push("static"),Cn&128&&Dt.push("abstract"),Cn&1&&Dt.push("export"),Cn&8192&&Dt.push("deprecated"),me.flags&8388608&&Dt.push("declare"),me.kind===270&&Dt.push("export"),Dt.length>0?Dt.join(","):""}e.getNodeModifiers=zt;function Ve(me){if(me.kind===177||me.kind===207)return me.typeArguments;if(e.isFunctionLike(me)||me.kind===256||me.kind===257)return me.typeParameters}e.getTypeArgumentOrTypeParameterList=Ve;function Nt(me){return me===2||me===3}e.isComment=Nt;function Ge(me){return!!(me===10||me===13||e.isTemplateLiteralKind(me))}e.isStringOrRegularExpressionOrTemplateLiteral=Ge;function lt(me){return 18<=me&&me<=78}e.isPunctuation=lt;function Le(me,mt,Dt){return e.isTemplateLiteralKind(me.kind)&&me.getStart(Dt)=2||!!me.noEmit}e.compilerOptionsIndicateEsModules=di;function pi(me,mt){return{fileExists:function(Dt){return me.fileExists(Dt)},getCurrentDirectory:function(){return mt.getCurrentDirectory()},readFile:e.maybeBind(mt,mt.readFile),useCaseSensitiveFileNames:e.maybeBind(mt,mt.useCaseSensitiveFileNames),getSymlinkCache:e.maybeBind(mt,mt.getSymlinkCache)||me.getSymlinkCache,getModuleSpecifierCache:e.maybeBind(mt,mt.getModuleSpecifierCache),getPackageJsonInfoCache:function(){var Dt;return(Dt=me.getModuleResolutionCache())===null||Dt===void 0?void 0:Dt.getPackageJsonInfoCache()},getGlobalTypingsCacheLocation:e.maybeBind(mt,mt.getGlobalTypingsCacheLocation),redirectTargetsMap:me.redirectTargetsMap,getProjectReferenceRedirect:function(Dt){return me.getProjectReferenceRedirect(Dt)},isSourceOfProjectReferenceRedirect:function(Dt){return me.isSourceOfProjectReferenceRedirect(Dt)},getNearestAncestorDirectoryWithPackageJson:e.maybeBind(mt,mt.getNearestAncestorDirectoryWithPackageJson),getFileIncludeReasons:function(){return me.getFileIncludeReasons()}}}e.createModuleSpecifierResolutionHost=pi;function Oi(me,mt){return Tt(Tt({},pi(me,mt)),{getCommonSourceDirectory:function(){return me.getCommonSourceDirectory()}})}e.getModuleSpecifierResolverHost=Oi;function li(me,mt,Dt,Cn){return me||mt&&mt.length?lr(me,mt,Dt,Cn):void 0}e.makeImportIfNecessary=li;function lr(me,mt,Dt,Cn,Gn){return e.factory.createImportDeclaration(void 0,void 0,me||mt?e.factory.createImportClause(!!Gn,me,mt&&mt.length?e.factory.createNamedImports(mt):void 0):void 0,typeof Dt=="string"?In(Dt,Cn):Dt,void 0)}e.makeImport=lr;function In(me,mt){return e.factory.createStringLiteral(me,mt===0)}e.makeStringLiteral=In,function(me){me[me.Single=0]="Single",me[me.Double=1]="Double"}(e.QuotePreference||(e.QuotePreference={}));function Qn(me,mt){return e.isStringDoubleQuoted(me,mt)?1:0}e.quotePreferenceFromString=Qn;function Yn(me,mt){if(mt.quotePreference&&mt.quotePreference!=="auto")return mt.quotePreference==="single"?0:1;var Dt=me.imports&&e.find(me.imports,function(Cn){return e.isStringLiteral(Cn)&&!e.nodeIsSynthesized(Cn.parent)});return Dt?Qn(Dt,me):1}e.getQuotePreference=Yn;function Ar(me){switch(me){case 0:return"'";case 1:return'"';default:return e.Debug.assertNever(me)}}e.getQuoteFromPreference=Ar;function gr(me){var mt=Si(me);return mt===void 0?void 0:e.unescapeLeadingUnderscores(mt)}e.symbolNameNoDefault=gr;function Si(me){return me.escapedName!=="default"?me.escapedName:e.firstDefined(me.declarations,function(mt){var Dt=e.getNameOfDeclaration(mt);return Dt&&Dt.kind===79?Dt.escapedText:void 0})}e.symbolEscapedNameNoDefault=Si;function _i(me){return e.isStringLiteralLike(me)&&(e.isExternalModuleReference(me.parent)||e.isImportDeclaration(me.parent)||e.isRequireCall(me.parent,!1)&&me.parent.arguments[0]===me||e.isImportCall(me.parent)&&me.parent.arguments[0]===me)}e.isModuleSpecifierLike=_i;function Nn(me){return e.isBindingElement(me)&&e.isObjectBindingPattern(me.parent)&&e.isIdentifier(me.name)&&!me.propertyName}e.isObjectBindingElementWithoutPropertyName=Nn;function Rn(me,mt){var Dt=me.getTypeAtLocation(mt.parent);return Dt&&me.getPropertyOfType(Dt,mt.name.text)}e.getPropertySymbolFromBindingElement=Rn;function Bn(me,mt,Dt){if(me)for(;me.parent;){if(e.isSourceFile(me.parent)||!jt(Dt,me.parent,mt))return me;me=me.parent}}e.getParentNodeInSpan=Bn;function jt(me,mt,Dt){return e.textSpanContainsPosition(me,mt.getStart(Dt))&&mt.getEnd()<=e.textSpanEnd(me)}function pr(me,mt){return me.modifiers&&e.find(me.modifiers,function(Dt){return Dt.kind===mt})}e.findModifier=pr;function br(me,mt,Dt,Cn){var Gn=e.isArray(Dt)?Dt[0]:Dt,qr=Gn.kind===236?e.isRequireVariableStatement:e.isAnyImportSyntax,xi=e.filter(mt.statements,qr),ba=e.isArray(Dt)?e.stableSort(Dt,e.OrganizeImports.compareImportsOrRequireStatements):[Dt];if(!xi.length)me.insertNodesAtTopOfFile(mt,ba,Cn);else if(xi&&e.OrganizeImports.importsAreSorted(xi))for(var go=0,wo=ba;gome&&Ga&&Ga!=="..."&&(e.isWhiteSpaceLike(Ga.charCodeAt(Ga.length-1))||mt.push(Ua(" ",e.SymbolDisplayPartKind.space)),mt.push(Ua("...",e.SymbolDisplayPartKind.punctuation))),mt},writeKeyword:function(Ga){return ba(Ga,e.SymbolDisplayPartKind.keyword)},writeOperator:function(Ga){return ba(Ga,e.SymbolDisplayPartKind.operator)},writePunctuation:function(Ga){return ba(Ga,e.SymbolDisplayPartKind.punctuation)},writeTrailingSemicolon:function(Ga){return ba(Ga,e.SymbolDisplayPartKind.punctuation)},writeSpace:function(Ga){return ba(Ga,e.SymbolDisplayPartKind.space)},writeStringLiteral:function(Ga){return ba(Ga,e.SymbolDisplayPartKind.stringLiteral)},writeParameter:function(Ga){return ba(Ga,e.SymbolDisplayPartKind.parameterName)},writeProperty:function(Ga){return ba(Ga,e.SymbolDisplayPartKind.propertyName)},writeLiteral:function(Ga){return ba(Ga,e.SymbolDisplayPartKind.stringLiteral)},writeSymbol:go,writeLine:wo,write:qr,writeComment:qr,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 Cn},increaseIndent:function(){Cn++},decreaseIndent:function(){Cn--},clear:yo,trackSymbol:function(){return!1},reportInaccessibleThisError:e.noop,reportInaccessibleUniqueSymbolError:e.noop,reportPrivateInBaseOfClassExpression:e.noop};function xi(){if(!(Gn>me)&&Dt){var Ga=e.getIndentString(Cn);Ga&&(Gn+=Ga.length,mt.push(Ua(Ga,e.SymbolDisplayPartKind.space))),Dt=!1}}function ba(Ga,co){Gn>me||(xi(),Gn+=Ga.length,mt.push(Ua(Ga,co)))}function go(Ga,co){Gn>me||(xi(),Gn+=Ga.length,mt.push(po(Ga,co)))}function wo(){Gn>me||(Gn+=1,mt.push(xt()),Dt=!0)}function yo(){mt=[],Dt=!0,Cn=0,Gn=0}}function po(me,mt){return Ua(me,Dt(mt));function Dt(Cn){var Gn=Cn.flags;return Gn&3?ja(Cn)?e.SymbolDisplayPartKind.parameterName:e.SymbolDisplayPartKind.localName:Gn&4||Gn&32768||Gn&65536?e.SymbolDisplayPartKind.propertyName:Gn&8?e.SymbolDisplayPartKind.enumMemberName:Gn&16?e.SymbolDisplayPartKind.functionName:Gn&32?e.SymbolDisplayPartKind.className:Gn&64?e.SymbolDisplayPartKind.interfaceName:Gn&384?e.SymbolDisplayPartKind.enumName:Gn&1536?e.SymbolDisplayPartKind.moduleName:Gn&8192?e.SymbolDisplayPartKind.methodName:Gn&262144?e.SymbolDisplayPartKind.typeParameterName:Gn&524288||Gn&2097152?e.SymbolDisplayPartKind.aliasName:e.SymbolDisplayPartKind.text}}e.symbolPart=po;function Ua(me,mt){return{text:me,kind:e.SymbolDisplayPartKind[mt]}}e.displayPart=Ua;function is(){return Ua(" ",e.SymbolDisplayPartKind.space)}e.spacePart=is;function ao(me){return Ua(e.tokenToString(me),e.SymbolDisplayPartKind.keyword)}e.keywordPart=ao;function Mo(me){return Ua(e.tokenToString(me),e.SymbolDisplayPartKind.punctuation)}e.punctuationPart=Mo;function xo(me){return Ua(e.tokenToString(me),e.SymbolDisplayPartKind.operator)}e.operatorPart=xo;function as(me){return Ua(me,e.SymbolDisplayPartKind.parameterName)}e.parameterNamePart=as;function ta(me){return Ua(me,e.SymbolDisplayPartKind.propertyName)}e.propertyNamePart=ta;function ls(me){var mt=e.stringToToken(me);return mt===void 0?qo(me):ao(mt)}e.textOrKeywordPart=ls;function qo(me){return Ua(me,e.SymbolDisplayPartKind.text)}e.textPart=qo;function bo(me){return Ua(me,e.SymbolDisplayPartKind.aliasName)}e.typeAliasNamePart=bo;function pa(me){return Ua(me,e.SymbolDisplayPartKind.typeParameterName)}e.typeParameterNamePart=pa;function oo(me){return Ua(me,e.SymbolDisplayPartKind.linkText)}e.linkTextPart=oo;function Ro(me,mt){return{text:me,kind:e.SymbolDisplayPartKind[e.SymbolDisplayPartKind.linkName],target:{fileName:e.getSourceFileOfNode(mt).fileName,textSpan:Qe(mt)}}}e.linkNamePart=Ro;function jo(me){return Ua(me,e.SymbolDisplayPartKind.link)}e.linkPart=jo;function _s(me,mt){var Dt,Cn=e.isJSDocLink(me)?"link":e.isJSDocLinkCode(me)?"linkcode":"linkplain",Gn=[jo("{@".concat(Cn," "))];if(!me.name)me.text&&Gn.push(oo(me.text));else{var qr=mt==null?void 0:mt.getSymbolAtLocation(me.name),xi=ds(me.text),ba=e.getTextOfNode(me.name)+me.text.slice(0,xi),go=me.text.slice(xi),wo=(qr==null?void 0:qr.valueDeclaration)||((Dt=qr==null?void 0:qr.declarations)===null||Dt===void 0?void 0:Dt[0]);wo?(Gn.push(Ro(ba,wo)),go&&Gn.push(oo(go))):Gn.push(oo(ba+(xi||go.indexOf("://")===0?"":" ")+go))}return Gn.push(jo("}")),Gn}e.buildLinkParts=_s;function ds(me){if(me.indexOf("()")===0)return 2;if(me[0]!=="<")return 0;for(var mt=0,Dt=0;Dt"&&mt--,Dt++,!mt)return Dt;return 0}var Fs=`\r `;function ec(me,mt){var Dt;return(mt==null?void 0:mt.newLineCharacter)||((Dt=me.getNewLine)===null||Dt===void 0?void 0:Dt.call(me))||Fs}e.getNewLineOrDefaultFromHost=ec;function xt(){return Ua(` `,e.SymbolDisplayPartKind.lineBreak)}e.lineBreakPart=xt;function Sn(me){try{return me(xa),xa.displayParts()}finally{xa.clear()}}e.mapToDisplayParts=Sn;function fr(me,mt,Dt,Cn){return Cn===void 0&&(Cn=0),Sn(function(Gn){me.writeType(mt,Dt,Cn|1024|16384,Gn)})}e.typeToDisplayParts=fr;function ai(me,mt,Dt,Cn,Gn){return Gn===void 0&&(Gn=0),Sn(function(qr){me.writeSymbol(mt,Dt,Cn,Gn|8,qr)})}e.symbolToDisplayParts=ai;function gi(me,mt,Dt,Cn){return Cn===void 0&&(Cn=0),Cn|=25632,Sn(function(Gn){me.writeSignature(mt,Dt,Cn,void 0,Gn)})}e.signatureToDisplayParts=gi;function qe(me){return!!me.parent&&e.isImportOrExportSpecifier(me.parent)&&me.parent.propertyName===me}e.isImportOrExportSpecifierName=qe;function D(me,mt){return e.ensureScriptKind(me,mt.getScriptKind&&mt.getScriptKind(me))}e.getScriptKind=D;function De(me,mt){for(var Dt=me;nt(Dt)||Ke(Dt)&&Dt.target;)Ke(Dt)&&Dt.target?Dt=Dt.target:Dt=e.skipAlias(Dt,mt);return Dt}e.getSymbolTarget=De;function Ke(me){return(me.flags&33554432)!==0}function nt(me){return(me.flags&2097152)!==0}function Mt(me,mt){return e.getSymbolId(e.skipAlias(me,mt))}e.getUniqueSymbolId=Mt;function _n(me,mt){for(;e.isWhiteSpaceLike(me.charCodeAt(mt));)mt+=1;return mt}e.getFirstNonSpaceCharacterPosition=_n;function Dn(me,mt){for(;mt>-1&&e.isWhiteSpaceSingleLine(me.charCodeAt(mt));)mt-=1;return mt+1}e.getPrecedingNonSpaceCharacterPosition=Dn;function Vn(me,mt){mt===void 0&&(mt=!0);var Dt=me&&Xr(me);return Dt&&!mt&&da(Dt),Dt}e.getSynthesizedDeepClone=Vn;function mr(me,mt,Dt){var Cn=Dt(me);return Cn?e.setOriginalNode(Cn,me):Cn=Xr(me,Dt),Cn&&!mt&&da(Cn),Cn}e.getSynthesizedDeepCloneWithReplacements=mr;function Xr(me,mt){var Dt=mt?function(xi){return mr(xi,!0,mt)}:Vn,Cn=mt?function(xi){return xi&&ji(xi,!0,mt)}:function(xi){return xi&&Pi(xi)},Gn=e.visitEachChild(me,Dt,e.nullTransformationContext,Cn,Dt);if(Gn===me){var qr=e.isStringLiteral(me)?e.setOriginalNode(e.factory.createStringLiteralFromNode(me),me):e.isNumericLiteral(me)?e.setOriginalNode(e.factory.createNumericLiteral(me.text,me.numericLiteralFlags),me):e.factory.cloneNode(me);return e.setTextRange(qr,me)}return Gn.parent=void 0,Gn}function Pi(me,mt){return mt===void 0&&(mt=!0),me&&e.factory.createNodeArray(me.map(function(Dt){return Vn(Dt,mt)}),me.hasTrailingComma)}e.getSynthesizedDeepClones=Pi;function ji(me,mt,Dt){return e.factory.createNodeArray(me.map(function(Cn){return mr(Cn,mt,Dt)}),me.hasTrailingComma)}e.getSynthesizedDeepClonesWithReplacements=ji;function da(me){fo(me),Ho(me)}e.suppressLeadingAndTrailingTrivia=da;function fo(me){Os(me,512,qs)}e.suppressLeadingTrivia=fo;function Ho(me){Os(me,1024,e.getLastChild)}e.suppressTrailingTrivia=Ho;function vs(me,mt){var Dt=me.getSourceFile(),Cn=Dt.text;ns(me,Cn)?hi(me,mt,Dt):wa(me,mt,Dt),fa(me,mt,Dt)}e.copyComments=vs;function ns(me,mt){for(var Dt=me.getFullStart(),Cn=me.getStart(),Gn=Dt;Gn=0),qr}e.getRenameLocation=ci;function hi(me,mt,Dt,Cn,Gn){e.forEachLeadingCommentRange(Dt.text,me.pos,eo(mt,Dt,Cn,Gn,e.addSyntheticLeadingComment))}e.copyLeadingComments=hi;function fa(me,mt,Dt,Cn,Gn){e.forEachTrailingCommentRange(Dt.text,me.end,eo(mt,Dt,Cn,Gn,e.addSyntheticTrailingComment))}e.copyTrailingComments=fa;function wa(me,mt,Dt,Cn,Gn){e.forEachTrailingCommentRange(Dt.text,me.pos,eo(mt,Dt,Cn,Gn,e.addSyntheticLeadingComment))}e.copyTrailingAsLeadingComments=wa;function eo(me,mt,Dt,Cn,Gn){return function(qr,xi,ba,go){ba===3?(qr+=2,xi-=2):qr+=2,Gn(me,Dt||ba,mt.text.slice(qr,xi),Cn!==void 0?Cn:go)}}function zi(me,mt){if(e.startsWith(me,mt))return 0;var Dt=me.indexOf(" "+mt);return Dt===-1&&(Dt=me.indexOf("."+mt)),Dt===-1&&(Dt=me.indexOf('"'+mt)),Dt===-1?-1:Dt+1}function Ia(me){return e.isBinaryExpression(me)&&me.operatorToken.kind===27||e.isObjectLiteralExpression(me)||e.isAsExpression(me)&&e.isObjectLiteralExpression(me.expression)}e.needsParentheses=Ia;function Za(me,mt){var Dt=me.parent;switch(Dt.kind){case 208:return mt.getContextualType(Dt);case 220:{var Cn=Dt,Gn=Cn.left,qr=Cn.operatorToken,xi=Cn.right;return Bo(qr.kind)?mt.getTypeAtLocation(me===xi?Gn:xi):mt.getContextualType(me)}case 288:return Dt.expression===me?En(Dt,mt):void 0;default:return mt.getContextualType(me)}}e.getContextualTypeFromParent=Za;function Do(me,mt,Dt){var Cn=Yn(me,mt),Gn=JSON.stringify(Dt);return Cn===0?"'".concat(e.stripQuotes(Gn).replace(/'/g,"\\'").replace(/\\"/g,'"'),"'"):Gn}e.quote=Do;function Bo(me){switch(me){case 36:case 34:case 37:case 35:return!0;default:return!1}}e.isEqualityOperatorKind=Bo;function ye(me){switch(me.kind){case 10:case 14:case 222:case 209:return!0;default:return!1}}e.isStringLiteralOrTemplate=ye;function Jt(me){return!!me.getStringIndexType()||!!me.getNumberIndexType()}e.hasIndexSignature=Jt;function En(me,mt){return mt.getTypeAtLocation(me.parent.parent.expression)}e.getSwitchedType=En,e.ANONYMOUS="anonymous function";function or(me,mt,Dt,Cn){var Gn=Dt.getTypeChecker(),qr=!0,xi=function(){return qr=!1},ba=Gn.typeToTypeNode(me,mt,1,{trackSymbol:function(go,wo,yo){return qr=qr&&Gn.isSymbolAccessible(go,wo,yo,!1).accessibility===0,!qr},reportInaccessibleThisError:xi,reportPrivateInBaseOfClassExpression:xi,reportInaccessibleUniqueSymbolError:xi,moduleResolverHost:Oi(Dt,Cn)});return qr?ba:void 0}e.getTypeNodeIfAccessible=or;function ii(me){return me===173||me===174||me===175||me===165||me===167}function je(me){return me===255||me===170||me===168||me===171||me===172}function un(me){return me===260}function Cr(me){return me===236||me===237||me===239||me===244||me===245||me===246||me===250||me===252||me===166||me===258||me===265||me===264||me===271||me===263||me===270}e.syntaxRequiresTrailingSemicolonOrASI=Cr,e.syntaxMayBeASICandidate=e.or(ii,je,un,Cr);function aa(me,mt){var Dt=me.getLastToken(mt);if(Dt&&Dt.kind===26)return!1;if(ii(me.kind)){if(Dt&&Dt.kind===27)return!1}else if(un(me.kind)){var Cn=e.last(me.getChildren(mt));if(Cn&&e.isModuleBlock(Cn))return!1}else if(je(me.kind)){var Cn=e.last(me.getChildren(mt));if(Cn&&e.isFunctionBlock(Cn))return!1}else if(!Cr(me.kind))return!1;if(me.kind===239)return!0;var Gn=e.findAncestor(me,function(go){return!go.parent}),qr=Be(me,Gn,mt);if(!qr||qr.kind===19)return!0;var xi=mt.getLineAndCharacterOfPosition(me.getEnd()).line,ba=mt.getLineAndCharacterOfPosition(qr.getStart(mt)).line;return xi!==ba}function Mi(me,mt,Dt){var Cn=e.findAncestor(mt,function(Gn){return Gn.end!==me?"quit":e.syntaxMayBeASICandidate(Gn.kind)});return!!Cn&&aa(Cn,Dt)}e.positionIsASICandidate=Mi;function ro(me){var mt=0,Dt=0,Cn=5;return e.forEachChild(me,function Gn(qr){if(Cr(qr.kind)){var xi=qr.getLastToken(me);(xi==null?void 0:xi.kind)===26?mt++:Dt++}else if(ii(qr.kind)){var xi=qr.getLastToken(me);if((xi==null?void 0:xi.kind)===26)mt++;else if(xi&&xi.kind!==27){var ba=e.getLineAndCharacterOfPosition(me,xi.getStart(me)).line,go=e.getLineAndCharacterOfPosition(me,e.getSpanOfTokenAtPosition(me,xi.end).start).line;ba!==go&&Dt++}}return mt+Dt>=Cn?!0:e.forEachChild(qr,Gn)}),mt===0&&Dt<=1?!0:mt/Dt>1/Cn}e.probablyUsesSemicolons=ro;function ms(me,mt){return Qo(me,me.getDirectories,mt)||[]}e.tryGetDirectories=ms;function Ot(me,mt,Dt,Cn,Gn){return Qo(me,me.readDirectory,mt,Dt,Cn,Gn)||e.emptyArray}e.tryReadDirectory=Ot;function fc(me,mt){return Qo(me,me.fileExists,mt)}e.tryFileExists=fc;function Ac(me,mt){return Mc(function(){return e.directoryProbablyExists(mt,me)})||!1}e.tryDirectoryExists=Ac;function Mc(me){try{return me()}catch{return}}e.tryAndIgnoreErrors=Mc;function Qo(me,mt){for(var Dt=[],Cn=2;Cn"u")return!0;var wc=e.stripQuotes(co.getName());return wo(wc)?!0:qr(Us)||qr(wc)}function ba(co,ps){if(!Cn.length)return!0;var hs=yo(co.fileName,ps);return hs?qr(hs):!0}function go(co){return!Cn.length||wo(co)||e.pathIsRelative(co)||e.isRootedDiskPath(co)?!0:qr(co)}function wo(co){return!!(e.isSourceFileJS(me)&&e.JsTyping.nodeCoreModules.has(co)&&(Gn===void 0&&(Gn=hu(me)),Gn))}function yo(co,ps){if(e.stringContains(co,"node_modules")){var hs=e.moduleSpecifiers.getNodeModulesPackageName(Dt.getCompilationSettings(),me,co,ps,mt);if(!!hs&&!e.pathIsRelative(hs)&&!e.isRootedDiskPath(hs))return Ga(hs)}}function Ga(co){var ps=e.getPathComponents(e.getPackageNameFromTypesPackageName(co)).slice(1);return e.startsWith(ps[0],"@")?"".concat(ps[0],"/").concat(ps[1]):ps[0]}}e.createPackageJsonImportFilter=gl;function So(me){try{return JSON.parse(me)}catch{return}}function hu(me){return e.some(me.imports,function(mt){var Dt=mt.text;return e.JsTyping.nodeCoreModules.has(Dt)})}e.consumesNodeCoreModules=hu;function Hu(me){return e.contains(e.getPathComponents(me),"node_modules")}e.isInsideNodeModules=Hu;function Fc(me){return me.file!==void 0&&me.start!==void 0&&me.length!==void 0}e.isDiagnosticWithLocation=Fc;function ol(me,mt){var Dt=Qe(me),Cn=e.binarySearchKey(mt,Dt,e.identity,e.compareTextSpans);if(Cn>=0){var Gn=mt[Cn];return e.Debug.assertEqual(Gn.file,me.getSourceFile(),"Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile"),e.cast(Gn,Fc)}}e.findDiagnosticForNode=ol;function sl(me,mt){var Dt,Cn=e.binarySearchKey(mt,me.start,function(ba){return ba.start},e.compareValues);for(Cn<0&&(Cn=~Cn);((Dt=mt[Cn-1])===null||Dt===void 0?void 0:Dt.start)===me.start;)Cn--;for(var Gn=[],qr=e.textSpanEnd(me);;){var xi=e.tryCast(mt[Cn],Fc);if(!xi||xi.start>qr)break;e.textSpanContainsTextSpan(me,xi)&&Gn.push(xi),Cn++}return Gn}e.getDiagnosticsWithinSpan=sl;function qi(me){var mt=me.startPosition,Dt=me.endPosition;return e.createTextSpanFromBounds(mt,Dt===void 0?mt:Dt)}e.getRefactorContextSpan=qi;function Ml(me,mt){var Dt=Ht(me,mt.start),Cn=e.findAncestor(Dt,function(Gn){return Gn.getStart(me)e.textSpanEnd(mt)?"quit":e.isExpression(Gn)&&Bi(mt,Qe(Gn,me))});return Cn}e.getFixableErrorSpanExpression=Ml;function Ll(me,mt,Dt){return Dt===void 0&&(Dt=e.identity),me?e.isArray(me)?Dt(e.map(me,mt)):mt(me,0):void 0}e.mapOneOrMany=Ll;function eu(me){return e.isArray(me)?e.first(me):me}e.firstOrOnly=eu;function Kt(me,mt){if(Mn(me)){var Dt=ir(me);if(Dt)return Dt;var Cn=e.codefix.moduleSymbolToValidIdentifier(hr(me),mt,!1),Gn=e.codefix.moduleSymbolToValidIdentifier(hr(me),mt,!0);return Cn===Gn?Cn:[Cn,Gn]}return me.name}e.getNamesForExportedSymbol=Kt;function ln(me,mt,Dt){return Mn(me)?ir(me)||e.codefix.moduleSymbolToValidIdentifier(hr(me),mt,!!Dt):me.name}e.getNameForExportedSymbol=ln;function Mn(me){return!(me.flags&33554432)&&(me.escapedName==="export="||me.escapedName==="default")}function ir(me){return e.firstDefined(me.declarations,function(mt){var Dt;return e.isExportAssignment(mt)?(Dt=e.tryCast(e.skipOuterExpressions(mt.expression),e.isIdentifier))===null||Dt===void 0?void 0:Dt.text:void 0})}function hr(me){var mt;return e.Debug.checkDefined(me.parent,"Symbol parent was undefined. Flags: ".concat(e.Debug.formatSymbolFlags(me.flags),". ")+"Declarations: ".concat((mt=me.declarations)===null||mt===void 0?void 0:mt.map(function(Dt){var Cn=e.Debug.formatSyntaxKind(Dt.kind),Gn=e.isInJSFile(Dt),qr=Dt.expression;return(Gn?"[JS]":"")+Cn+(qr?" (expression: ".concat(e.Debug.formatSyntaxKind(qr.kind),")"):"")}).join(", "),"."))}function Tr(me,mt,Dt){var Cn=mt.length;if(Cn+Dt>me.length)return!1;for(var Gn=0;GnJ&&K.set(N,W)}else K.set(N,W)}}}var M=A===1,pe=M&&e.getLocalSymbolForExportDefault(Z)||Z,Ne=A===0||e.isExternalModuleSymbol(pe)?e.unescapeLeadingUnderscores(z):e.getNamesForExportedSymbol(pe,void 0),w=typeof Ne=="string"?Ne:Ne[0],R=typeof Ne=="string"?void 0:Ne[1],L=e.stripQuotes(ie.name),V=f++,Te=e.skipAlias(Z,C),Se=Z.flags&33554432?void 0:Z,we=ie.flags&33554432?void 0:ie;(!Se||!we)&&y.set(V,[Z,ie]),b.add(F(w,Z,e.isExternalModuleNameRelative(L)?void 0:L,C),{id:V,symbolTableKey:z,symbolName:w,capitalizedSymbolName:R,moduleName:L,moduleFile:m,moduleFileName:m==null?void 0:m.fileName,packageName:N,exportKind:A,targetFlags:Te.flags,isFromPackageJson:g,symbol:Se,moduleSymbol:we})},get:function(I,Z){if(I===ce){var z=b.get(Z);return z==null?void 0:z.map(re)}},search:function(I,Z,z,ie){I===ce&&b.forEach(function(m,A){var g=O(A),C=g.symbolName,N=g.ambientModuleName,_=Z&&m[0].capitalizedSymbolName||C;if(z(_,m[0].targetFlags)){var d=m.map(re),E=d.filter(function(j,B){return $(j,m[B].packageName)});E.length&&ie(E,_,!!N,A)}})},releaseSymbols:function(){y.clear()},onFileChanged:function(I,Z,z){return Q(I)&&Q(Z)?!1:ce&&ce!==Z.path||z&&e.consumesNodeCoreModules(I)!==e.consumesNodeCoreModules(Z)||!e.arrayIsEqualTo(I.moduleAugmentations,Z.moduleAugmentations)||!de(I,Z)?(Y.clear(),!0):(ce=Z.path,!1)}};return e.Debug.isDebugging&&Object.defineProperty(Y,"__cache",{get:function(){return b}}),Y;function re(I){if(I.symbol&&I.moduleSymbol)return I;var Z=I.id,z=I.exportKind,ie=I.targetFlags,m=I.isFromPackageJson,A=I.moduleFileName,g=y.get(Z)||e.emptyArray,C=g[0],N=g[1];if(C&&N)return{symbol:C,moduleSymbol:N,moduleFileName:A,exportKind:z,targetFlags:ie,isFromPackageJson:m};var _=(m?le.getPackageJsonAutoImportProvider():le.getCurrentProgram()).getTypeChecker(),d=I.moduleSymbol||N||e.Debug.checkDefined(I.moduleFile?_.getMergedSymbol(I.moduleFile.symbol):_.tryFindAmbientModule(I.moduleName)),E=I.symbol||C||e.Debug.checkDefined(z===2?_.resolveExternalModuleSymbol(d):_.tryGetMemberInModuleExportsAndProperties(e.unescapeLeadingUnderscores(I.symbolTableKey),d),"Could not find symbol '".concat(I.symbolName,"' by key '").concat(I.symbolTableKey,"' in module ").concat(d.name));return y.set(Z,[E,d]),{symbol:E,moduleSymbol:d,moduleFileName:A,exportKind:z,targetFlags:ie,isFromPackageJson:m}}function F(I,Z,z,ie){var m=z||"";return"".concat(I,"|").concat(e.getSymbolId(e.skipAlias(Z,ie)),"|").concat(m)}function O(I){var Z=I.substring(0,I.indexOf("|")),z=I.substring(I.lastIndexOf("|")+1),ie=z===""?void 0:z;return{symbolName:Z,ambientModuleName:ie}}function Q(I){return!I.commonJsModuleIndicator&&!I.externalModuleIndicator&&!I.moduleAugmentations&&!I.ambientModuleNames}function de(I,Z){if(!e.arrayIsEqualTo(I.ambientModuleNames,Z.ambientModuleNames))return!1;for(var z=-1,ie=-1,m=function(_){var d=function(E){return e.isNonGlobalAmbientModule(E)&&E.name.text===_};if(z=e.findIndex(I.statements,d,z+1),ie=e.findIndex(Z.statements,d,ie+1),I.statements[z]!==Z.statements[ie])return{value:!1}},A=0,g=Z.ambientModuleNames;A=$.length){var B=P(O,z,e.lastOrUndefined(m));B!==void 0&&(_=B)}}while(z!==1);function W(){switch(z){case 43:case 68:!u[ie]&&O.reScanSlashToken()===13&&(z=13);break;case 29:ie===79&&E++;break;case 31:E>0&&E--;break;case 130:case 149:case 146:case 133:case 150:E>0&&!Z&&(z=79);break;case 15:m.push(z);break;case 18:m.length>0&&m.push(z);break;case 19:if(m.length>0){var J=e.lastOrUndefined(m);J===15?(z=O.reScanTemplateToken(!1),z===17?m.pop():e.Debug.assertEqual(z,16,"Should have been a template middle.")):(e.Debug.assertEqual(J,18,"Should have been an open brace"),m.pop())}break;default:if(!e.isKeyword(z))break;(ie===24||e.isKeyword(ie)&&e.isKeyword(z)&&!ue(ie,z))&&(z=79)}}return{endOfLineState:_,spans:d}}return{getClassificationsForLine:Q,getEncodedLexicalClassifications:de}}e.createClassifier=a;var u=e.arrayToNumericMap([79,10,8,9,13,108,45,46,21,23,19,110,95],function(O){return O},function(){return!0});function P(O,Q,de){switch(Q){case 10:{if(!O.isUnterminated())return;for(var $=O.getTokenText(),I=$.length-1,Z=0;$.charCodeAt(I-Z)===92;)Z++;return(Z&1)===0?void 0:$.charCodeAt(0)===34?3:2}case 3:return O.isUnterminated()?1:void 0;default:if(e.isTemplateLiteralKind(Q)){if(!O.isUnterminated())return;switch(Q){case 17:return 5;case 14:return 4;default:return e.Debug.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+Q)}}return de===15?6:void 0}}function r(O,Q,de,$,I){if($!==8){O===0&&de>0&&(O+=de);var Z=Q-O;Z>0&&I.push(O-de,Z,$)}}function v(O,Q){for(var de=[],$=O.spans,I=0,Z=0;Z<$.length;Z+=3){var z=$[Z],ie=$[Z+1],m=$[Z+2];if(I>=0){var A=z-I;A>0&&de.push({length:A,classification:e.TokenClass.Whitespace})}de.push({length:ie,classification:G(m)}),I=z+ie}var g=Q.length-I;return g>0&&de.push({length:g,classification:e.TokenClass.Whitespace}),{entries:de,finalLexState:O.endOfLineState}}function G(O){switch(O){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 ue(O,Q){if(!e.isAccessibilityModifier(O))return!0;switch(Q){case 136:case 148:case 134:case 124:return!0;default:return!1}}function h(O){switch(O){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(O)}}function S(O){switch(O){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 127: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 k(O){switch(O){case 39:case 40:case 54:case 53:case 45:case 46:return!0;default:return!1}}function se(O){if(e.isKeyword(O))return 3;if(S(O)||k(O))return 5;if(O>=18&&O<=78)return 10;switch(O){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(O)?6:2}}function le(O,Q,de,$,I){return Y(b(O,Q,de,$,I))}e.getSemanticClassifications=le;function f(O,Q){switch(Q){case 260:case 256:case 257:case 255:case 225:case 212:case 213:O.throwIfCancellationRequested()}}function b(O,Q,de,$,I){var Z=[];return de.forEachChild(function ie(m){if(!(!m||!e.textSpanIntersectsWith(I,m.pos,m.getFullWidth()))){if(f(Q,m.kind),e.isIdentifier(m)&&!e.nodeIsMissing(m)&&$.has(m.escapedText)){var A=O.getSymbolAtLocation(m),g=A&&y(A,e.getMeaningFromLocation(m),O);g&&z(m.getStart(de),m.getEnd(),g)}m.forEachChild(ie)}}),{spans:Z,endOfLineState:0};function z(ie,m,A){var g=m-ie;e.Debug.assert(g>0,"Classification had non-positive length of ".concat(g)),Z.push(ie),Z.push(g),Z.push(A)}}e.getEncodedSemanticClassifications=b;function y(O,Q,de){var $=O.getFlags();if(($&2885600)!==0)return $&32?11:$&384?12:$&524288?16:$&1536?Q&4||Q&1&&K(O)?14:void 0:$&2097152?y(de.getAliasedSymbol(O),Q,de):Q&2?$&64?13:$&262144?15:void 0:void 0}function K(O){return e.some(O.declarations,function(Q){return e.isModuleDeclaration(Q)&&e.getModuleInstanceState(Q)===1})}function ce(O){switch(O){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 Y(O){e.Debug.assert(O.spans.length%3===0);for(var Q=O.spans,de=[],$=0;$])*)(\/>)?)?/im,R=/(\s)(\S+)(\s*)(=)(\s*)('[^']+'|"[^"]+")/img,L=Q.text.substr(pe,Ne),V=w.exec(L);if(!V||!V[3]||!(V[3]in e.commentPragmas))return!1;var Te=pe;C(Te,V[1].length),Te+=V[1].length,m(Te,V[2].length,10),Te+=V[2].length,m(Te,V[3].length,21),Te+=V[3].length;for(var Se=V[4],we=Te;;){var He=R.exec(Se);if(!He)break;var et=Te+He.index+He[1].length;et>we&&(C(we,et-we),we=et),m(we,He[2].length,22),we+=He[2].length,He[3].length&&(C(we,He[3].length),we+=He[3].length),m(we,He[4].length,5),we+=He[4].length,He[5].length&&(C(we,He[5].length),we+=He[5].length),m(we,He[6].length,24),we+=He[6].length}Te+=V[4].length,Te>we&&C(we,Te-we),V[5]&&(m(Te,V[5].length,10),Te+=V[5].length);var pt=pe+Ne;return Te=0),R>0){var L=Ne||J(pe.kind,pe);L&&m(w,R,L)}return!0}function W(pe){switch(pe.parent&&pe.parent.kind){case 279:if(pe.parent.tagName===pe)return 19;break;case 280:if(pe.parent.tagName===pe)return 20;break;case 278:if(pe.parent.tagName===pe)return 21;break;case 284:if(pe.parent.name===pe)return 22;break}}function J(pe,Ne){if(e.isKeyword(pe))return 3;if((pe===29||pe===31)&&Ne&&e.getTypeArgumentOrTypeParameterList(Ne.parent))return 10;if(e.isPunctuation(pe)){if(Ne){var w=Ne.parent;if(pe===63&&(w.kind===253||w.kind===166||w.kind===163||w.kind===284)||w.kind===220||w.kind===218||w.kind===219||w.kind===221)return 5}return 10}else{if(pe===8)return 4;if(pe===9)return 25;if(pe===10)return Ne&&Ne.parent.kind===284?24:6;if(pe===13||e.isTemplateLiteralKind(pe))return 6;if(pe===11)return 23;if(pe===79){if(Ne){switch(Ne.parent.kind){case 256:return Ne.parent.name===Ne?11:void 0;case 162:return Ne.parent.name===Ne?15:void 0;case 257:return Ne.parent.name===Ne?13:void 0;case 259:return Ne.parent.name===Ne?12:void 0;case 260:return Ne.parent.name===Ne?14:void 0;case 163:return Ne.parent.name===Ne?e.isThisIdentifier(Ne)?3:17:void 0}if(e.isConstTypeReference(Ne.parent))return 3}return 2}}}function M(pe){if(!!pe&&e.decodedTextSpanIntersectsWith($,I,pe.pos,pe.getFullWidth())){f(O,pe.kind);for(var Ne=0,w=pe.getChildren(Q);Ne0}))return 0;if(re(function(F){return F.getCallSignatures().length>0})&&!re(function(F){return F.getProperties().length>0})||le(K))return ce===9?11:10}}return ce}function S(y,K){return e.isBindingElement(y)&&(y=k(y)),e.isVariableDeclaration(y)?(!e.isSourceFile(y.parent.parent.parent)||e.isCatchClause(y.parent))&&y.getSourceFile()===K:e.isFunctionDeclaration(y)?!e.isSourceFile(y.parent)&&y.getSourceFile()===K:!1}function k(y){for(;;)if(e.isBindingElement(y.parent.parent))y=y.parent.parent;else return y.parent.parent}function se(y){var K=y.parent;return K&&(e.isImportClause(K)||e.isImportSpecifier(K)||e.isNamespaceImport(K))}function le(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 b=new e.Map([[253,7],[163,6],[166,9],[260,3],[259,1],[297,8],[256,0],[168,11],[255,10],[212,10],[167,11],[171,9],[172,9],[165,9],[257,2],[258,5],[162,4],[294,9],[295,9]])})(a.v2020||(a.v2020={}))})(e.classifier||(e.classifier={}))})(ne||(ne={}));var ne;(function(e){(function(a){(function(u){function P(L,V,Te,Se,we,He,et,pt){if(e.isInReferenceComment(L,V)){var Me=j(L,V,Se,we);return Me&&ue(Me)}if(e.isInString(L,V,Te)){if(!Te||!e.isStringLiteralLike(Te))return;var Me=k(L,Te,V,He.getTypeChecker(),Se,we,pt);return r(Me,Te,L,we,He,et,Se,pt)}}u.getStringLiteralCompletions=P;function r(L,V,Te,Se,we,He,et,pt){if(L!==void 0){var Me=e.createTextSpanFromStringLiteralLikeContent(V);switch(L.kind){case 0:return ue(L.paths);case 1:{var Fe=e.createSortedArray();return a.getCompletionEntriesFromSymbols(L.symbols,Fe,V,V,Te,Te,Se,we,99,He,4,pt,et,void 0),{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:L.hasIndexSignature,optionalReplacementSpan:Me,entries:Fe}}case 2:{var Fe=L.types.map(function(ke){return{name:ke.value,kindModifiers:"",kind:"string",sortText:a.SortText.LocationPriority,replacementSpan:e.getReplacementSpanForContextToken(V)}});return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:L.isNewIdentifier,optionalReplacementSpan:Me,entries:Fe}}default:return e.Debug.assertNever(L)}}}function v(L,V,Te,Se,we,He,et,pt,Me){if(!(!Se||!e.isStringLiteralLike(Se))){var Fe=k(V,Se,Te,we,He,et,Me);return Fe&&G(L,Se,Fe,V,we,pt)}}u.getStringLiteralCompletionDetails=v;function G(L,V,Te,Se,we,He){switch(Te.kind){case 0:{var et=e.find(Te.paths,function(pt){return pt.name===L});return et&&a.createCompletionDetails(L,h(et.extension),et.kind,[e.textPart(L)])}case 1:{var et=e.find(Te.symbols,function(Me){return Me.name===L});return et&&a.createCompletionDetailsForSymbol(et,we,Se,V,He)}case 2:return e.find(Te.types,function(pt){return pt.value===L})?a.createCompletionDetails(L,"","type",[e.textPart(L)]):void 0;default:return e.Debug.assertNever(Te)}}function ue(L){var V=!1,Te=!0,Se=L.map(function(we){var He=we.name,et=we.kind,pt=we.span,Me=we.extension;return{name:He,kind:et,kindModifiers:h(Me),sortText:a.SortText.LocationPriority,replacementSpan:pt}});return{isGlobalCompletion:V,isMemberCompletion:!1,isNewIdentifierLocation:Te,entries:Se}}function h(L){switch(L){case".d.ts":return".d.ts";case".js":return".js";case".json":return".json";case".jsx":return".jsx";case".ts":return".ts";case".tsx":return".tsx";case".d.mts":return".d.mts";case".mjs":return".mjs";case".mts":return".mts";case".d.cts":return".d.cts";case".cjs":return".cjs";case".cts":return".cts";case".tsbuildinfo":return e.Debug.fail("Extension ".concat(".tsbuildinfo"," is unsupported."));case void 0:return"";default:return e.Debug.assertNever(L)}}var S;(function(L){L[L.Paths=0]="Paths",L[L.Properties=1]="Properties",L[L.Types=2]="Types"})(S||(S={}));function k(L,V,Te,Se,we,He,et){var pt=se(V.parent);switch(pt.kind){case 195:{var Me=se(pt.parent);switch(Me.kind){case 177:{var Fe=Me,ot=e.findAncestor(pt,function(At){return At.parent===Fe});return ot?{kind:2,types:K(Se.getTypeArgumentConstraint(ot)),isNewIdentifier:!1}:void 0}case 193:var ke=Me,ve=ke.indexType,be=ke.objectType;return e.rangeContainsPosition(ve,Te)?b(Se.getTypeFromTypeNode(be)):void 0;case 199:return{kind:0,paths:F(L,V,we,He,Se,et)};case 186:{if(!e.isTypeReferenceNode(Me.parent))return;var Oe=le(Me,pt),Ce=K(Se.getTypeArgumentConstraint(Me)).filter(function(At){return!e.contains(Oe,At.value)});return{kind:2,types:Ce,isNewIdentifier:!1}}default:return}}case 294:return e.isObjectLiteralExpression(pt.parent)&&pt.name===V?y(Se,pt.parent):st();case 206:{var ge=pt,ze=ge.expression,ft=ge.argumentExpression;return V===e.skipParentheses(ft)?b(Se.getTypeAtLocation(ze)):void 0}case 207:case 208:if(!R(V)&&!e.isImportCall(pt)){var vt=e.SignatureHelp.getArgumentInfoForCompletions(V,Te,L);return vt?f(vt,Se):st()}case 265:case 271:case 276:return{kind:0,paths:F(L,V,we,He,Se,et)};default:return st()}function st(){return{kind:2,types:K(e.getContextualTypeFromParent(V,Se)),isNewIdentifier:!1}}}function se(L){switch(L.kind){case 190:return e.walkUpParenthesizedTypes(L);case 211:return e.walkUpParenthesizedExpressions(L);default:return L}}function le(L,V){return e.mapDefined(L.types,function(Te){return Te!==V&&e.isLiteralTypeNode(Te)&&e.isStringLiteral(Te.literal)?Te.literal.text:void 0})}function f(L,V){var Te=!1,Se=new e.Map,we=[];V.getResolvedSignature(L.invocation,we,L.argumentCount);var He=e.flatMap(we,function(et){if(!(!e.signatureHasRestParameter(et)&&L.argumentCount>et.parameters.length)){var pt=et.getTypeParameterAtPosition(L.argumentIndex);return Te=Te||!!(pt.flags&4),K(pt,Se)}});return{kind:2,types:He,isNewIdentifier:Te}}function b(L){return L&&{kind:1,symbols:e.filter(L.getApparentProperties(),function(V){return!(V.valueDeclaration&&e.isPrivateIdentifierClassElementDeclaration(V.valueDeclaration))}),hasIndexSignature:e.hasIndexSignature(L)}}function y(L,V){var Te=L.getContextualType(V);if(Te){var Se=L.getContextualType(V,4),we=a.getPropertiesForObjectExpression(Te,Se,V,L);return{kind:1,symbols:we,hasIndexSignature:e.hasIndexSignature(Te)}}}function K(L,V){return V===void 0&&(V=new e.Map),L?(L=e.skipConstraint(L),L.isUnion()?e.flatMap(L.types,function(Te){return K(Te,V)}):L.isStringLiteral()&&!(L.flags&1024)&&e.addToSeen(V,L.value)?[L]:e.emptyArray):e.emptyArray}function ce(L,V,Te){return{name:L,kind:V,extension:Te}}function Y(L){return ce(L,"directory",void 0)}function re(L,V,Te){var Se=J(L,V),we=L.length===0?void 0:e.createTextSpan(V,L.length);return Te.map(function(He){var et=He.name,pt=He.kind,Me=He.extension;return Math.max(et.indexOf(e.directorySeparator),et.indexOf(e.altDirectorySeparator))!==-1?{name:et,kind:pt,extension:Me,span:we}:{name:et,kind:pt,extension:Me,span:Se}})}function F(L,V,Te,Se,we,He){return re(V.text,V.getStart(L)+1,O(L,V,Te,Se,we,He))}function O(L,V,Te,Se,we,He){var et=e.normalizeSlashes(V.text),pt=L.path,Me=e.getDirectoryPath(pt);return M(et)||!Te.baseUrl&&(e.isRootedDiskPath(et)||e.isUrl(et))?de(et,Me,Te,Se,pt,Fe()):A(et,Me,Te,Se,we);function Fe(){var ot=e.isStringLiteralLike(V)?e.getModeForUsageLocation(L,V):void 0;return He.importModuleSpecifierEnding==="js"||ot===e.ModuleKind.ESNext?2:0}}function Q(L,V){return V===void 0&&(V=0),{extensions:e.flatten($(L)),includeExtensionsOption:V}}function de(L,V,Te,Se,we,He){var et=Q(Te,He);return Te.rootDirs?Z(Te.rootDirs,L,V,et,Te,Se,we):ie(L,V,et,Se,we)}function $(L){var V=e.getSupportedExtensions(L);return e.getEmitModuleResolutionKind(L)===e.ModuleResolutionKind.NodeJs?e.getSupportedExtensionsWithJsonIfResolveJsonModule(L,V):V}function I(L,V,Te,Se){L=L.map(function(He){return e.normalizePath(e.isRootedDiskPath(He)?He:e.combinePaths(V,He))});var we=e.firstDefined(L,function(He){return e.containsPath(He,Te,V,Se)?Te.substr(He.length):void 0});return e.deduplicate(tt(tt([],L.map(function(He){return e.combinePaths(He,we)}),!0),[Te],!1),e.equateStringsCaseSensitive,e.compareStringsCaseSensitive)}function Z(L,V,Te,Se,we,He,et){var pt=we.project||He.getCurrentDirectory(),Me=!(He.useCaseSensitiveFileNames&&He.useCaseSensitiveFileNames()),Fe=I(L,pt,Te,Me);return e.flatMap(Fe,function(ot){return ie(V,ot,Se,He,et)})}var z;(function(L){L[L.Exclude=0]="Exclude",L[L.Include=1]="Include",L[L.ModuleSpecifierCompletion=2]="ModuleSpecifierCompletion"})(z||(z={}));function ie(L,V,Te,Se,we,He){var et=Te.extensions,pt=Te.includeExtensionsOption;He===void 0&&(He=[]),L===void 0&&(L=""),L=e.normalizeSlashes(L),e.hasTrailingDirectorySeparator(L)||(L=e.getDirectoryPath(L)),L===""&&(L="."+e.directorySeparator),L=e.ensureTrailingDirectorySeparator(L);var Me=e.resolvePath(V,L),Fe=e.hasTrailingDirectorySeparator(Me)?Me:e.getDirectoryPath(Me),ot=!(Se.useCaseSensitiveFileNames&&Se.useCaseSensitiveFileNames());if(!e.tryDirectoryExists(Se,Fe))return He;var ke=e.tryReadDirectory(Se,Fe,et,void 0,["./*"]);if(ke){for(var ve=new e.Map,be=0,Oe=ke;be=Oe.pos&&V<=Oe.end});if(et){var pt=L.text.slice(et.pos,V),Me=pe.exec(pt);if(Me){var Fe=Me[1],ot=Me[2],ke=Me[3],ve=e.getDirectoryPath(L.path),be=ot==="path"?ie(ke,ve,Q(Te,1),Se,L.path):ot==="types"?B(Se,Te,ve,g(ke),Q(Te)):e.Debug.fail();return re(ke,et.pos+Fe.length,be)}}}function B(L,V,Te,Se,we,He){He===void 0&&(He=[]);for(var et=new e.Map,pt=e.tryAndIgnoreErrors(function(){return e.getEffectiveTypeRoots(V,L)})||e.emptyArray,Me=0,Fe=pt;Me=2&&L.charCodeAt(0)===46){var V=L.length>=3&&L.charCodeAt(1)===46?2:1,Te=L.charCodeAt(V);return Te===47||Te===92}return!1}var pe=/^(\/\/\/\s*"),Qe=e.createTextSpanFromNode(H.tagName),cn={name:ut,kind:"class",kindModifiers:void 0,sortText:u.LocationPriority};return{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:!1,optionalReplacementSpan:Qe,entries:[cn]}}}function C(ee,xe,H,ae,Re){e.getNameTable(ee).forEach(function(it,ut){if(it!==xe){var Qe=e.unescapeLeadingUnderscores(ut);!H.has(Qe)&&e.isIdentifierText(Qe,ae)&&(H.add(Qe),e.insertSorted(Re,{name:Qe,kind:"warning",kindModifiers:"",sortText:u.JavascriptIdentifiers,isFromUncheckedFile:!0},re))}})}function N(ee,xe,H){return typeof H=="object"?e.pseudoBigIntToString(H)+"n":e.isString(H)?e.quote(ee,xe,H):JSON.stringify(H)}function _(ee,xe,H){return{name:N(ee,xe,H),kind:"string",kindModifiers:"",sortText:u.LocationPriority}}function d(ee,xe,H,ae,Re,it,ut,Qe,cn,vn,Ut,$e,Ct,kt,en,mn,hn,Pn,Fn,An,Tn,qn){var xn,rr,Fr,di=e.getReplacementSpanForContextToken(H),pi,Oi,li=L(Ut),lr,In,Qn=Qe.getTypeChecker(),Yn=Ut&&f(Ut),Ar=Ut&&ue(Ut)||vn;if(Ut&&G(Ut))Fr=vn?"this".concat(Yn?"?.":"","[").concat(w(it,Pn,cn),"]"):"this".concat(Yn?"?.":".").concat(cn);else if((Ar||Yn)&&Ct){Fr=Ar?vn?"[".concat(w(it,Pn,cn),"]"):"[".concat(cn,"]"):cn,(Yn||Ct.questionDotToken)&&(Fr="?.".concat(Fr));var gr=e.findChildOfKind(Ct,24,it)||e.findChildOfKind(Ct,28,it);if(!gr)return;var Si=e.startsWith(cn,Ct.name.text)?Ct.name.end:gr.end;di=e.createTextSpanFromBounds(gr.getStart(it),Si)}if(kt&&(Fr===void 0&&(Fr=cn),Fr="{".concat(Fr,"}"),typeof kt!="boolean"&&(di=e.createTextSpanFromNode(kt,it))),Ut&&le(Ut)&&Ct){Fr===void 0&&(Fr=cn);var _i=e.findPrecedingToken(Ct.pos,it),Nn="";_i&&e.positionIsASICandidate(_i.end,_i.parent,it)&&(Nn=";"),Nn+="(await ".concat(Ct.expression.getText(),")"),Fr=vn?"".concat(Nn).concat(Fr):"".concat(Nn).concat(Yn?"?.":".").concat(Fr),di=e.createTextSpanFromBounds(Ct.getStart(it),Ct.end)}if(S(Ut)&&(lr=[e.textPart(Ut.moduleSpecifier)],en&&(xn=Ne(cn,en,ae,Ut,mn,hn,Pn),Fr=xn.insertText,di=xn.replacementSpan,Oi=Pn.includeCompletionsWithSnippetText?!0:void 0)),(Ut==null?void 0:Ut.kind)===64&&(In=!0),Pn.includeCompletionsWithClassMemberSnippets&&Pn.includeCompletionsWithInsertText&&Fn===3&&E(ee,Re)){var Rn=void 0;rr=j(ut,Qe,hn,Pn,cn,ee,Re,ae,An),Fr=rr.insertText,Oi=rr.isSnippet,Rn=rr.importAdder,Rn!=null&&Rn.hasFixes()&&(In=!0,li=r.ClassMemberSnippet)}if(Tn&&!qn&&Pn.includeCompletionsWithSnippetText&&Pn.jsxAttributeCompletionStyle&&Pn.jsxAttributeCompletionStyle!=="none"){var Bn=Pn.jsxAttributeCompletionStyle==="braces",jt=Qn.getTypeOfSymbolAtLocation(ee,Re);Pn.jsxAttributeCompletionStyle==="auto"&&!(jt.flags&528)&&!(jt.flags&1048576&&e.find(jt.types,function(pr){return!!(pr.flags&528)}))&&(jt.flags&402653316||jt.flags&1048576&&e.every(jt.types,function(pr){return!!(pr.flags&402686084)})?(Fr="".concat(e.escapeSnippetText(cn),"=").concat(e.quote(it,Pn,"$1")),Oi=!0):Bn=!0),Bn&&(Fr="".concat(e.escapeSnippetText(cn),"={$1}"),Oi=!0)}if(!(Fr!==void 0&&!Pn.includeCompletionsWithInsertText))return(h(Ut)||S(Ut))&&(pi=M(Ut),In=!en),{name:cn,kind:e.SymbolDisplay.getSymbolKind(Qn,ee,Re),kindModifiers:e.SymbolDisplay.getSymbolModifiers(Qn,ee),sortText:xe,source:li,hasAction:In?!0:void 0,isRecommended:R(ee,$e,Qn)||void 0,insertText:Fr,replacementSpan:di,sourceDisplay:lr,isSnippet:Oi,isPackageJsonImport:se(Ut)||void 0,isImportStatementCompletion:!!en||void 0,data:pi}}function E(ee,xe){if(e.isInJSFile(xe))return!1;var H=106500;return!!(ee.flags&H)&&(e.isClassLike(xe)||xe.parent&&xe.parent.parent&&e.isClassElement(xe.parent)&&xe===xe.parent.name&&e.isClassLike(xe.parent.parent)||xe.parent&&e.isSyntaxList(xe)&&e.isClassLike(xe.parent))}function j(ee,xe,H,ae,Re,it,ut,Qe,cn){var vn=e.findAncestor(ut,e.isClassLike);if(!vn)return{insertText:Re};var Ut,$e=Re,Ct=xe.getTypeChecker(),kt=ut.getSourceFile(),en=J({removeComments:!0,module:H.module,target:H.target,omitTrailingSemicolon:!1,newLine:e.getNewLineKind(e.getNewLineCharacter(H,e.maybeBind(ee,ee.getNewLine)))}),mn=e.codefix.createImportAdder(kt,xe,ae,ee),hn;if(ae.includeCompletionsWithSnippetText){Ut=!0;var Pn=e.factory.createEmptyStatement();hn=e.factory.createBlock([Pn],!0),e.setSnippetElement(Pn,{kind:0,order:0})}else hn=e.factory.createBlock([],!0);var Fn=0,An=Qe&&W(Qe)===126,Tn=[];if(e.codefix.addNewNodeForMemberSymbol(it,vn,kt,{program:xe,host:ee},ae,mn,function(Fr){var di=0;An&&(di|=128),e.isClassElement(Fr)&&Ct.getMemberOverrideModifierStatus(vn,Fr)===1&&(di|=16384);var pi=0;Tn.length||(Qe&&(pi=B(Qe)),Fn=Fr.modifierFlagsCache|di|pi),Fr=e.factory.updateModifiers(Fr,Fn&~pi),Tn.push(Fr)},hn,2,An),Tn.length)if(cn){var qn={text:en.printSnippetList(131073,e.factory.createNodeArray(Tn),kt),getLineAndCharacterOfPosition:function(Fr){return e.getLineAndCharacterOfPosition(this,Fr)}},xn=e.getFormatCodeSettingsForWriting(cn,kt),rr=e.flatMap(Tn,function(Fr){var di=e.textChanges.assignPositionsToNode(Fr);return e.formatting.formatNodeGivenIndentation(di,qn,kt.languageVariant,0,0,Tt(Tt({},cn),{options:xn}))});$e=e.textChanges.applyChanges(qn.text,rr)}else $e=en.printSnippetList(131073,e.factory.createNodeArray(Tn),kt);return{insertText:$e,isSnippet:Ut,importAdder:mn}}function B(ee){var xe=0,H;return(H=W(ee))&&(xe|=e.modifierToFlag(H)),e.isPropertyDeclaration(ee.parent)&&(xe|=e.modifiersToFlags(ee.parent.modifiers)),xe}function W(ee){if(e.isModifier(ee))return ee.kind;if(e.isIdentifier(ee)&&ee.originalKeywordKind&&e.isModifierKind(ee.originalKeywordKind))return ee.originalKeywordKind}function J(ee){var xe=e.textChanges.createWriter(e.getNewLineCharacter(ee)),H=e.createPrinter(ee,xe),ae=Tt(Tt({},xe),{write:function(it){return xe.write(e.escapeSnippetText(it))},nonEscapingWrite:xe.write,writeLiteral:function(it){return xe.writeLiteral(e.escapeSnippetText(it))},writeStringLiteral:function(it){return xe.writeStringLiteral(e.escapeSnippetText(it))},writeSymbol:function(it,ut){return xe.writeSymbol(e.escapeSnippetText(it),ut)},writeParameter:function(it){return xe.writeParameter(e.escapeSnippetText(it))},writeComment:function(it){return xe.writeComment(e.escapeSnippetText(it))},writeProperty:function(it){return xe.writeProperty(e.escapeSnippetText(it))}});return{printSnippetList:Re};function Re(it,ut,Qe){return ae.clear(),H.writeList(it,ut,Qe,ae),ae.getText()}}function M(ee){var xe=ee.fileName?void 0:e.stripQuotes(ee.moduleSymbol.name),H=ee.isFromPackageJson?!0:void 0;if(S(ee)){var ae={exportName:ee.exportName,moduleSpecifier:ee.moduleSpecifier,ambientModuleName:xe,fileName:ee.fileName,isPackageJsonImport:H};return ae}var Re={exportName:ee.exportName,exportMapKey:ee.exportMapKey,fileName:ee.fileName,ambientModuleName:ee.fileName?void 0:e.stripQuotes(ee.moduleSymbol.name),isPackageJsonImport:ee.isFromPackageJson?!0:void 0};return Re}function pe(ee,xe,H){var ae=ee.exportName==="default",Re=!!ee.isPackageJsonImport;if(F(ee)){var it={kind:32,exportName:ee.exportName,moduleSpecifier:ee.moduleSpecifier,symbolName:xe,fileName:ee.fileName,moduleSymbol:H,isDefaultExport:ae,isFromPackageJson:Re};return it}var ut={kind:4,exportName:ee.exportName,exportMapKey:ee.exportMapKey,symbolName:xe,fileName:ee.fileName,moduleSymbol:H,isDefaultExport:ae,isFromPackageJson:Re};return ut}function Ne(ee,xe,H,ae,Re,it,ut){var Qe,cn,vn,Ut=xe.getSourceFile(),$e=e.createTextSpanFromNode(e.findAncestor(xe,e.or(e.isImportDeclaration,e.isImportEqualsDeclaration))||xe,Ut),Ct=e.quote(Ut,ut,ae.moduleSpecifier),kt=ae.isDefaultExport?1:ae.exportName==="export="?2:0,en=ut.includeCompletionsWithSnippetText?"$1":"",mn=e.codefix.getImportKind(Ut,kt,it,!0),hn=((cn=(Qe=e.tryCast(xe,e.isImportDeclaration))===null||Qe===void 0?void 0:Qe.importClause)===null||cn===void 0?void 0:cn.isTypeOnly)||((vn=e.tryCast(xe,e.isImportEqualsDeclaration))===null||vn===void 0?void 0:vn.isTypeOnly),Pn=tn(xe,H),Fn=hn?" ".concat(e.tokenToString(151)," "):" ",An=Pn?"".concat(e.tokenToString(151)," "):"",Tn=Re?";":"";switch(mn){case 3:return{replacementSpan:$e,insertText:"import".concat(Fn).concat(e.escapeSnippetText(ee)).concat(en," = require(").concat(Ct,")").concat(Tn)};case 1:return{replacementSpan:$e,insertText:"import".concat(Fn).concat(e.escapeSnippetText(ee)).concat(en," from ").concat(Ct).concat(Tn)};case 2:return{replacementSpan:$e,insertText:"import".concat(Fn,"* as ").concat(e.escapeSnippetText(ee)," from ").concat(Ct).concat(Tn)};case 0:return{replacementSpan:$e,insertText:"import".concat(Fn,"{ ").concat(An).concat(e.escapeSnippetText(ee)).concat(en," } from ").concat(Ct).concat(Tn)}}}function w(ee,xe,H){return/^\d+$/.test(H)?H:e.quote(ee,xe,H)}function R(ee,xe,H){return ee===xe||!!(ee.flags&1048576)&&H.getExportSymbolOfSymbol(ee)===xe}function L(ee){if(h(ee))return e.stripQuotes(ee.moduleSymbol.name);if(S(ee))return ee.moduleSpecifier;if((ee==null?void 0:ee.kind)===1)return r.ThisProperty;if((ee==null?void 0:ee.kind)===64)return r.TypeOnlyAlias}function V(ee,xe,H,ae,Re,it,ut,Qe,cn,vn,Ut,$e,Ct,kt,en,mn,hn,Pn,Fn,An,Tn,qn,xn,rr){for(var Fr,di=e.timestamp(),pi=zt(Re),Oi=e.probablyUsesSemicolons(it),li=Qe.getTypeChecker(),lr=new e.Map,In=0;In90)?!1:ut?!0:lt(Bo,fa)},function(Bo,ye,Jt,En){if(!(ut&&!e.some(Bo,function(ro){return ut.source===e.stripQuotes(ro.moduleSymbol.name)}))){var or=e.find(Bo,Za);if(or){var ii=Do.tryResolve(Bo,Jt)||{},je=ii.exportInfo,un=je===void 0?or:je,Cr=ii.moduleSpecifier,aa=un.exportKind===1,Mi=aa&&e.getLocalSymbolForExportDefault(un.symbol)||un.symbol;ds(Mi,{kind:Cr?32:4,moduleSpecifier:Cr,symbolName:ye,exportMapKey:En,exportName:un.exportKind===2?"export=":un.symbol.name,fileName:un.moduleFileName,isDefaultExport:aa,moduleSymbol:un.moduleSymbol,isFromPackageJson:un.isFromPackageJson})}}}),Bn=Do.resolutionLimitExceeded()});function Za(Do){var Bo=e.tryCast(Do.moduleSymbol.valueDeclaration,e.isSourceFile);if(!Bo){var ye=e.stripQuotes(Do.moduleSymbol.name);return e.JsTyping.nodeCoreModules.has(ye)&&e.startsWith(ye,"node:")!==e.shouldUseUriStyleNodeCoreModules(H,ee)?!1:Ia?Ia.allowsImportingAmbientModule(Do.moduleSymbol,Da(Do.isFromPackageJson)):!0}return e.isImportableFile(Do.isFromPackageJson?zi:ee,H,Bo,it,Ia,Da(Do.isFromPackageJson),wa)}}function ds(jn,ci){var hi=e.getSymbolId(jn);br[hi]!==15&&(pr[jt.length]=ci,br[hi]=lr?11:16,jt.push(jn))}function Fs(jn,ci,hi){for(var fa=jn;fa&&!e.positionBelongsToNode(fa,ci,hi);)fa=fa.parent;return fa}function ec(jn){var ci=e.timestamp(),hi=fr(jn)||Vn(jn)||Pi(jn)||xt(jn)||e.isBigIntLiteral(jn);return xe("getCompletionsAtPosition: isCompletionListBlocker: "+(e.timestamp()-ci)),hi}function xt(jn){if(jn.kind===11)return!0;if(jn.kind===31&&jn.parent){if(In===jn.parent&&(In.kind===279||In.kind===278))return!1;if(jn.parent.kind===279)return In.parent.kind!==279;if(jn.parent.kind===280||jn.parent.kind===278)return!!jn.parent.parent&&jn.parent.parent.kind===277}return!1}function Sn(){if(Tn){var jn=Tn.parent.kind,ci=fe(Tn);switch(ci){case 27:return jn===207||jn===170||jn===208||jn===203||jn===220||jn===178||jn===204;case 20:return jn===207||jn===170||jn===208||jn===211||jn===190;case 22:return jn===203||jn===175||jn===161;case 141:case 142:case 100:return!0;case 24:return jn===260;case 18:return jn===256||jn===204;case 63:return jn===253||jn===220;case 15:return jn===222;case 16:return jn===232;case 131:return jn===168||jn===295;case 41:return jn===168}if(_t(ci))return!0}return!1}function fr(jn){return(e.isRegularExpressionLiteral(jn)||e.isStringTextContainingNode(jn))&&(e.rangeContainsPositionExclusive(e.createTextRangeFromSpan(e.createTextSpanFromNode(jn)),Re)||Re===jn.end&&(!!jn.isUnterminated||e.isRegularExpressionLiteral(jn)))}function ai(){var jn=he(Tn);if(!jn)return 0;var ci=e.isIntersectionTypeNode(jn.parent)?jn.parent:void 0,hi=ci||jn,fa=yt(hi,vn);if(!fa)return 0;var wa=vn.getTypeFromTypeNode(hi),eo=Et(fa,vn),zi=Et(wa,vn),Ia=new e.Set;return zi.forEach(function(Za){return Ia.add(Za.escapedName)}),jt=e.concatenate(jt,e.filter(eo,function(Za){return!Ia.has(Za.escapedName)})),Nn=0,Yn=!0,1}function gi(){var jn=Ke(Tn);if(!jn)return 0;Nn=0;var ci,hi;if(jn.kind===204){var fa=Sr(jn,vn);if(fa===void 0)return jn.flags&16777216?2:(Rn=!0,0);var wa=vn.getContextualType(jn,4),eo=(wa||fa).getStringIndexType(),zi=(wa||fa).getNumberIndexType();if(Yn=!!eo||!!zi,ci=Ft(fa,wa,jn,vn),hi=jn.properties,ci.length===0&&!zi)return Rn=!0,0}else{e.Debug.assert(jn.kind===200),Yn=!1;var Ia=e.getRootDeclaration(jn.parent);if(!e.isVariableLike(Ia))return e.Debug.fail("Root declaration is not variable-like.");var Za=e.hasInitializer(Ia)||e.hasType(Ia)||Ia.parent.parent.kind===243;if(!Za&&Ia.kind===163&&(e.isExpression(Ia.parent)?Za=!!vn.getContextualType(Ia.parent):(Ia.parent.kind===168||Ia.parent.kind===172)&&(Za=e.isExpression(Ia.parent.parent)&&!!vn.getContextualType(Ia.parent.parent))),Za){var Do=vn.getTypeAtLocation(jn);if(!Do)return 2;ci=vn.getPropertiesOfType(Do).filter(function(Bo){return vn.isPropertyAccessible(jn,!1,!1,Do,Bo)}),hi=jn.elements}}return ci&&ci.length>0&&(jt=e.concatenate(jt,da(ci,e.Debug.checkDefined(hi)))),Ho(),1}function qe(){if(!Tn)return 0;var jn=Tn.kind===18||Tn.kind===27?e.tryCast(Tn.parent,e.isNamedImportsOrExports):e.isTypeKeywordTokenOrIdentifier(Tn)?e.tryCast(Tn.parent.parent,e.isNamedImportsOrExports):void 0;if(!jn)return 0;e.isTypeKeywordTokenOrIdentifier(Tn)||(Qn=8);var ci=(jn.kind===268?jn.parent.parent:jn.parent).moduleSpecifier;if(!ci)return Yn=!0,jn.kind===268?2:0;var hi=vn.getSymbolAtLocation(ci);if(!hi)return Yn=!0,2;Nn=3,Yn=!1;var fa=vn.getExportsAndPropertiesOfModule(hi),wa=new e.Set(jn.elements.filter(function(zi){return!qs(zi)}).map(function(zi){return(zi.propertyName||zi.name).escapedText})),eo=fa.filter(function(zi){return zi.escapedName!=="default"&&!wa.has(zi.escapedName)});return jt=e.concatenate(jt,eo),eo.length||(Qn=0),1}function D(){var jn,ci=Tn&&(Tn.kind===18||Tn.kind===27)?e.tryCast(Tn.parent,e.isNamedExports):void 0;if(!ci)return 0;var hi=e.findAncestor(ci,e.or(e.isSourceFile,e.isModuleDeclaration));return Nn=5,Yn=!1,(jn=hi.locals)===null||jn===void 0||jn.forEach(function(fa,wa){var eo,zi;jt.push(fa),!((zi=(eo=hi.symbol)===null||eo===void 0?void 0:eo.exports)===null||zi===void 0)&&zi.has(wa)&&(br[e.getSymbolId(fa)]=12)}),1}function De(){var jn=pn(H,Tn,In,Re);if(!jn)return 0;if(Nn=3,Yn=!0,Qn=Tn.kind===41?0:e.isClassLike(jn)?2:3,!e.isClassLike(jn))return 1;var ci=Tn.kind===26?Tn.parent.parent:Tn.parent,hi=e.isClassElement(ci)?e.getEffectiveModifierFlags(ci):0;if(Tn.kind===79&&!qs(Tn))switch(Tn.getText()){case"private":hi=hi|8;break;case"static":hi=hi|32;break;case"override":hi=hi|16384;break}if(e.isClassStaticBlockDeclaration(ci)&&(hi|=32),!(hi&8)){var fa=e.isClassLike(jn)&&hi&16384?e.singleElementArray(e.getEffectiveBaseTypeNode(jn)):e.getAllSuperTypeNodes(jn),wa=e.flatMap(fa,function(eo){var zi=vn.getTypeAtLocation(eo);return hi&32?(zi==null?void 0:zi.symbol)&&vn.getPropertiesOfType(vn.getTypeOfSymbolAtLocation(zi.symbol,jn)):zi&&vn.getPropertiesOfType(zi)});jt=e.concatenate(jt,ns(wa,jn.members,hi))}return 1}function Ke(jn){if(jn){var ci=jn.parent;switch(jn.kind){case 18:case 27:if(e.isObjectLiteralExpression(ci)||e.isObjectBindingPattern(ci))return ci;break;case 41:return e.isMethodDeclaration(ci)?e.tryCast(ci.parent,e.isObjectLiteralExpression):void 0;case 79:return jn.text==="async"&&e.isShorthandPropertyAssignment(jn.parent)?jn.parent.parent:void 0}}}function nt(jn){return!!jn.parent&&e.isParameter(jn.parent)&&e.isConstructorDeclaration(jn.parent.parent)&&(e.isParameterPropertyModifier(jn.kind)||e.isDeclarationName(jn))}function Mt(jn){if(jn){var ci=jn.parent;switch(jn.kind){case 20:case 27:return e.isConstructorDeclaration(jn.parent)?jn.parent:void 0;default:if(nt(jn))return ci.parent}}}function _n(jn){if(jn){var ci,hi=e.findAncestor(jn.parent,function(fa){return e.isClassLike(fa)?"quit":e.isFunctionLikeDeclaration(fa)&&ci===fa.body?!0:(ci=fa,!1)});return hi&&hi}}function Dn(jn){if(jn){var ci=jn.parent;switch(jn.kind){case 31:case 30:case 43:case 79:case 205:case 285:case 284:case 286:if(ci&&(ci.kind===278||ci.kind===279)){if(jn.kind===31){var hi=e.findPrecedingToken(jn.pos,H,void 0);if(!ci.typeArguments||hi&&hi.kind===43)break}return ci}else if(ci.kind===284)return ci.parent.parent;break;case 10:if(ci&&(ci.kind===284||ci.kind===286))return ci.parent.parent;break;case 19:if(ci&&ci.kind===287&&ci.parent&&ci.parent.kind===284)return ci.parent.parent.parent;if(ci&&ci.kind===286)return ci.parent.parent;break}}}function Vn(jn){var ci=jn.parent,hi=ci.kind;switch(jn.kind){case 27:return hi===253||ji(jn)||hi===236||hi===259||Xr(hi)||hi===257||hi===201||hi===258||e.isClassLike(ci)&&!!ci.typeParameters&&ci.typeParameters.end>=jn.pos;case 24:return hi===201;case 58:return hi===202;case 22:return hi===201;case 20:return hi===291||Xr(hi);case 18:return hi===259;case 29:return hi===256||hi===225||hi===257||hi===258||e.isFunctionLikeKind(hi);case 124:return hi===166&&!e.isClassLike(ci.parent);case 25:return hi===163||!!ci.parent&&ci.parent.kind===201;case 123:case 121:case 122:return hi===163&&!e.isConstructorDeclaration(ci.parent);case 127:return hi===269||hi===274||hi===267;case 136:case 148:return!Gt(jn);case 79:if(hi===269&&jn===ci.name&&jn.text==="type")return!1;break;case 84:case 92:case 118:case 98:case 113:case 100:case 119:case 85:case 137:return!0;case 151:return hi!==269;case 41:return e.isFunctionLike(jn.parent)&&!e.isMethodDeclaration(jn.parent)}if(_t(fe(jn))&&Gt(jn)||nt(jn)&&(!e.isIdentifier(jn)||e.isParameterPropertyModifier(fe(jn))||qs(jn)))return!1;switch(fe(jn)){case 126:case 84:case 85:case 135:case 92:case 98:case 118:case 119:case 121:case 122:case 123:case 124:case 113:return!0;case 131:return e.isPropertyDeclaration(jn.parent)}var fa=e.findAncestor(jn.parent,e.isClassLike);if(fa&&jn===An&&mr(jn,Re))return!1;var wa=e.getAncestor(jn.parent,166);if(wa&&jn!==An&&e.isClassLike(An.parent.parent)&&Re<=An.end){if(mr(jn,An.end))return!1;if(jn.kind!==63&&(e.isInitializedProperty(wa)||e.hasType(wa)))return!0}return e.isDeclarationName(jn)&&!e.isShorthandPropertyAssignment(jn.parent)&&!e.isJsxAttribute(jn.parent)&&!(e.isClassLike(jn.parent)&&(jn!==An||Re>An.end))}function mr(jn,ci){return jn.kind!==63&&(jn.kind===26||!e.positionsAreOnSameLine(jn.end,ci,H))}function Xr(jn){return e.isFunctionLikeKind(jn)&&jn!==170}function Pi(jn){if(jn.kind===8){var ci=jn.getFullText();return ci.charAt(ci.length-1)==="."}return!1}function ji(jn){return jn.parent.kind===254&&!e.isPossiblyTypeArgumentPosition(jn,H,vn)}function da(jn,ci){if(ci.length===0)return jn;for(var hi=new e.Set,fa=new e.Set,wa=0,eo=ci;wa=0&&!y(m,A[g],115);g--);return e.forEach(S(ie.statement),function(C){se(ie,C)&&y(m,C.getFirstToken(),81,86)}),m}function ce(ie){var m=le(ie);if(m)switch(m.kind){case 241:case 242:case 243:case 239:case 240:return K(m);case 248:return Y(m)}}function Y(ie){var m=[];return y(m,ie.getFirstToken(),107),e.forEach(ie.caseBlock.clauses,function(A){y(m,A.getFirstToken(),82,88),e.forEach(S(A),function(g){se(ie,g)&&y(m,g.getFirstToken(),81)})}),m}function re(ie,m){var A=[];if(y(A,ie.getFirstToken(),111),ie.catchClause&&y(A,ie.catchClause.getFirstToken(),83),ie.finallyBlock){var g=e.findChildOfKind(ie,96,m);y(A,g,96)}return A}function F(ie,m){var A=h(ie);if(A){var g=[];return e.forEach(ue(A),function(C){g.push(e.findChildOfKind(C,109,m))}),e.isFunctionBlock(A)&&e.forEachReturnStatement(A,function(C){g.push(e.findChildOfKind(C,105,m))}),g}}function O(ie,m){var A=e.getContainingFunction(ie);if(A){var g=[];return e.forEachReturnStatement(e.cast(A.body,e.isBlock),function(C){g.push(e.findChildOfKind(C,105,m))}),e.forEach(ue(A.body),function(C){g.push(e.findChildOfKind(C,109,m))}),g}}function Q(ie){var m=e.getContainingFunction(ie);if(m){var A=[];return m.modifiers&&m.modifiers.forEach(function(g){y(A,g,131)}),e.forEachChild(m,function(g){$(g,function(C){e.isAwaitExpression(C)&&y(A,C.getFirstToken(),132)})}),A}}function de(ie){var m=e.getContainingFunction(ie);if(m){var A=[];return e.forEachChild(m,function(g){$(g,function(C){e.isYieldExpression(C)&&y(A,C.getFirstToken(),125)})}),A}}function $(ie,m){m(ie),!e.isFunctionLike(ie)&&!e.isClassLike(ie)&&!e.isInterfaceDeclaration(ie)&&!e.isModuleDeclaration(ie)&&!e.isTypeAliasDeclaration(ie)&&!e.isTypeNode(ie)&&e.forEachChild(ie,function(A){return $(A,m)})}function I(ie,m){for(var A=Z(ie,m),g=[],C=0;C=N.end;E--)if(!e.isWhiteSpaceSingleLine(m.text.charCodeAt(E))){d=!1;break}if(d){g.push({fileName:m.fileName,textSpan:e.createTextSpanFromBounds(N.getStart(),_.end),kind:"reference"}),C++;continue}}g.push(P(A[C],m))}return g}function Z(ie,m){for(var A=[];e.isIfStatement(ie.parent)&&ie.parent.elseStatement===ie;)ie=ie.parent;for(;;){var g=ie.getChildren(m);y(A,g[0],99);for(var C=g.length-1;C>=0&&!y(A,g[C],91);C--);if(!ie.elseStatement||!e.isIfStatement(ie.elseStatement))break;ie=ie.elseStatement}return A}function z(ie,m){return!!e.findAncestor(ie.parent,function(A){return e.isLabeledStatement(A)?A.label.escapedText===m:"quit"})}})(e.DocumentHighlights||(e.DocumentHighlights={}))})(ne||(ne={}));var ne;(function(e){function a(v){return!!v.sourceFile}function u(v,G){return P(v,G)}e.createDocumentRegistry=u;function P(v,G,ue){G===void 0&&(G="");var h=new e.Map,S=e.createGetCanonicalFileName(!!v);function k(){var F=e.arrayFrom(h.keys()).filter(function(O){return O&&O.charAt(0)==="_"}).map(function(O){var Q=h.get(O),de=[];return Q.forEach(function($,I){a($)?de.push({name:I,scriptKind:$.sourceFile.scriptKind,refCount:$.languageServiceRefCount}):$.forEach(function(Z,z){return de.push({name:I,scriptKind:z,refCount:Z.languageServiceRefCount})})}),de.sort(function($,I){return I.refCount-$.refCount}),{bucket:O,sourceFiles:de}});return JSON.stringify(F,void 0,2)}function se(F,O,Q,de,$){var I=e.toPath(F,G,S),Z=r(O);return le(F,I,O,Z,Q,de,$)}function le(F,O,Q,de,$,I,Z){return K(F,O,Q,de,$,I,!0,Z)}function f(F,O,Q,de,$){var I=e.toPath(F,G,S),Z=r(O);return b(F,I,O,Z,Q,de,$)}function b(F,O,Q,de,$,I,Z){return K(F,O,Q,de,$,I,!1,Z)}function y(F,O){var Q=a(F)?F:F.get(e.Debug.checkDefined(O,"If there are more than one scriptKind's for same document the scriptKind should be provided"));return e.Debug.assert(O===void 0||!Q||Q.sourceFile.scriptKind===O,"Script kind should match provided ScriptKind:".concat(O," and sourceFile.scriptKind: ").concat(Q==null?void 0:Q.sourceFile.scriptKind,", !entry: ").concat(!Q)),Q}function K(F,O,Q,de,$,I,Z,z){z=e.ensureScriptKind(F,z);var ie=z===6?100:e.getEmitScriptTarget(Q),m=h.size,A=e.getOrUpdate(h,de,function(){return new e.Map});if(e.tracing){h.size>m&&e.tracing.instant("session","createdDocumentRegistryBucket",{configFilePath:Q.configFilePath,key:de});var g=!e.fileExtensionIs(O,".d.ts")&&e.forEachEntry(h,function(E,j){return j!==de&&E.has(O)&&j});g&&e.tracing.instant("session","documentRegistryBucketOverlap",{path:O,key1:g,key2:de})}var C=A.get(O),N=C&&y(C,z);if(!N&&ue){var _=ue.getDocument(de,O);_&&(e.Debug.assert(Z),N={sourceFile:_,languageServiceRefCount:0},d())}if(N)N.sourceFile.version!==I&&(N.sourceFile=e.updateLanguageServiceSourceFile(N.sourceFile,$,I,$.getChangeRange(N.sourceFile.scriptSnapshot)),ue&&ue.setDocument(de,O,N.sourceFile)),Z&&N.languageServiceRefCount++;else{var _=e.createLanguageServiceSourceFile(F,$,ie,I,!1,z);ue&&ue.setDocument(de,O,_),N={sourceFile:_,languageServiceRefCount:1},d()}return e.Debug.assert(N.languageServiceRefCount!==0),N.sourceFile;function d(){if(!C)A.set(O,N);else if(a(C)){var E=new e.Map;E.set(C.sourceFile.scriptKind,C),E.set(z,N),A.set(O,E)}else C.set(z,N)}}function ce(F,O,Q){var de=e.toPath(F,G,S),$=r(O);return Y(de,$,Q)}function Y(F,O,Q){var de=e.Debug.checkDefined(h.get(O)),$=de.get(F),I=y($,Q);I.languageServiceRefCount--,e.Debug.assert(I.languageServiceRefCount>=0),I.languageServiceRefCount===0&&(a($)?de.delete(F):($.delete(Q),$.size===1&&de.set(F,e.firstDefinedIterator($.values(),e.identity))))}function re(F,O){return e.arrayFrom(h.entries(),function(Q){var de=Q[0],$=Q[1],I=$.get(F),Z=I&&y(I,O);return[de,Z&&Z.languageServiceRefCount]})}return{acquireDocument:se,acquireDocumentWithKey:le,updateDocument:f,updateDocumentWithKey:b,releaseDocument:ce,releaseDocumentWithKey:Y,getLanguageServiceRefCounts:re,reportStats:k,getKeyForCompilationSettings:r}}e.createDocumentRegistryInternal=P;function r(v){return e.sourceFileAffectingCompilerOptions.map(function(G){return e.getCompilerOptionValue(v,G)}).join("|")}})(ne||(ne={}));var ne;(function(e){(function(a){function u(F,O,Q,de){var $=ue(F,Q,de);return function(I,Z,z){var ie=P(F,O,$,Z,Q,de),m=ie.directImports,A=ie.indirectUsers;return Tt({indirectUsers:A},r(m,I,Z.exportKind,Q,z))}}a.createImportTracker=u,function(F){F[F.Named=0]="Named",F[F.Default=1]="Default",F[F.ExportEquals=2]="ExportEquals"}(a.ExportKind||(a.ExportKind={})),function(F){F[F.Import=0]="Import",F[F.Export=1]="Export"}(a.ImportExport||(a.ImportExport={}));function P(F,O,Q,de,$,I){var Z=de.exportingModuleSymbol,z=de.exportKind,ie=e.nodeSeenTracker(),m=e.nodeSeenTracker(),A=[],g=!!Z.globalExports,C=g?void 0:[];return _(Z),{directImports:A,indirectUsers:N()};function N(){if(g)return F;if(Z.declarations)for(var J=0,M=Z.declarations;J2&&(e.Debug.assert(g===void 0),C+=1,N-=1),e.createTextSpanFromBounds(C,N)}function $(m){return m.kind===0?m.textSpan:de(m.node,m.node.getSourceFile())}a.getTextSpanOfEntry=$;function I(m){var A=e.getDeclarationFromName(m);return!!A&&z(A)||m.kind===88||e.isWriteAccess(m)}function Z(m,A){var g;if(!A)return!1;var C=e.getDeclarationFromName(m)||(m.kind===88?m.parent:e.isLiteralComputedPropertyDeclarationName(m)||m.kind===134&&e.isConstructorDeclaration(m.parent)?m.parent.parent:void 0),N=C&&e.isBinaryExpression(C)?C.left:void 0;return!!(C&&((g=A.declarations)===null||g===void 0?void 0:g.some(function(_){return _===C||_===N})))}function z(m){if(m.flags&8388608)return!0;switch(m.kind){case 220:case 202:case 256:case 225:case 88:case 259:case 297:case 274:case 266:case 264:case 269:case 257:case 336:case 343:case 284:case 260:case 263:case 267:case 273:case 163:case 295:case 258:case 162:return!0;case 294:return!e.isArrayLiteralOrObjectLiteralDestructuringPattern(m.parent);case 255:case 212:case 170:case 168:case 171:case 172:return!!m.body;case 253:case 166:return!!m.initializer||e.isCatchClause(m.parent);case 167:case 165:case 345:case 338:return!1;default:return e.Debug.failBadSyntaxKind(m)}}var ie;(function(m){function A(Le,ee,xe,H,ae,Re,it){var ut,Qe;if(Re===void 0&&(Re={}),it===void 0&&(it=new e.Set(H.map(function(Tn){return Tn.fileName}))),Re.use===1?ee=e.getAdjustedReferenceLocation(ee):Re.use===2&&(ee=e.getAdjustedRenameLocation(ee)),e.isSourceFile(ee)){var cn=e.GoToDefinition.getReferenceAtPosition(ee,Le,xe);if(!(cn!=null&&cn.file))return;var vn=xe.getTypeChecker().getMergedSymbol(cn.file.symbol);if(vn)return j(xe,vn,!1,H,it);var Ut=xe.getFileIncludeReasons();return Ut?[{definition:{type:5,reference:cn.reference,file:ee},references:C(cn.file,Ut,xe)||e.emptyArray}]:void 0}if(!Re.implementations){var $e=W(ee,H,ae);if($e)return $e}var Ct=xe.getTypeChecker(),kt=Ct.getSymbolAtLocation(e.isConstructorDeclaration(ee)&&ee.parent.name||ee);if(!kt){if(!Re.implementations&&e.isStringLiteralLike(ee)){if(e.isModuleSpecifierLike(ee)){var Ut=xe.getFileIncludeReasons(),en=(Qe=(ut=ee.getSourceFile().resolvedModules)===null||ut===void 0?void 0:ut.get(ee.text,e.getModeForUsageLocation(ee.getSourceFile(),ee)))===null||Qe===void 0?void 0:Qe.resolvedFileName,mn=en?xe.getSourceFile(en):void 0;if(mn)return[{definition:{type:4,node:ee},references:C(mn,Ut,xe)||e.emptyArray}]}return Zt(ee,H,Ct,ae)}return}if(kt.escapedName==="export=")return j(xe,kt.parent,!1,H,it);var hn=_(kt,xe,H,ae,Re,it);if(hn&&!(kt.flags&33554432))return hn;var Pn=N(ee,kt,Ct),Fn=Pn&&_(Pn,xe,H,ae,Re,it),An=J(kt,ee,H,it,Ct,ae,Re);return d(xe,hn,An,Fn)}m.getReferencedSymbolsForNode=A;function g(Le,ee,xe,H){var ae,Re;H===void 0&&(H=new e.Set(xe.map(function(cn){return cn.fileName})));var it=(ae=ee.getSourceFile(Le))===null||ae===void 0?void 0:ae.symbol;if(it)return((Re=j(ee,it,!1,xe,H)[0])===null||Re===void 0?void 0:Re.references)||e.emptyArray;var ut=ee.getFileIncludeReasons(),Qe=ee.getSourceFile(Le);return Qe&&ut&&C(Qe,ut,ee)||e.emptyArray}m.getReferencesForFileName=g;function C(Le,ee,xe){for(var H,ae=ee.get(Le.path)||e.emptyArray,Re=0,it=ae;Re=0&&!(ut>xe.end);){var Qe=ut+it;(ut===0||!e.isIdentifierPart(ae.charCodeAt(ut-1),99))&&(Qe===Re||!e.isIdentifierPart(ae.charCodeAt(Qe),99))&&H.push(ut),ut=ae.indexOf(ee,ut+it+1)}return H}function be(Le,ee){var xe=Le.getSourceFile(),H=ee.text,ae=e.mapDefined(ke(xe,H,Le),function(Re){return Re===ee||e.isJumpStatementTarget(Re)&&e.getTargetLabel(Re,H)===ee?u(Re):void 0});return[{definition:{type:1,node:ee},references:ae}]}function Oe(Le,ee){switch(Le.kind){case 80:if(e.isJSDocMemberName(Le.parent))return!0;case 79:return Le.text.length===ee.length;case 14:case 10:{var xe=Le;return(e.isLiteralNameOfPropertyDeclarationOrIndexAccess(xe)||e.isNameOfModuleDeclaration(Le)||e.isExpressionOfExternalModuleImportEqualsDeclaration(Le)||e.isCallExpression(Le.parent)&&e.isBindableObjectDefinePropertyCall(Le.parent)&&Le.parent.arguments[1]===Le)&&xe.text.length===ee.length}case 8:return e.isLiteralNameOfPropertyDeclarationOrIndexAccess(Le)&&Le.text.length===ee.length;case 88:return ee.length===7;default:return!1}}function Ce(Le,ee,xe,H){var ae=e.flatMap(Le,function(Re){return xe.throwIfCancellationRequested(),e.mapDefined(ke(Re,e.tokenToString(ee),Re),function(it){if(it.kind===ee&&(!H||H(it)))return u(it)})});return ae.length?[{definition:{type:2,node:ae[0].node},references:ae}]:void 0}function ge(Le,ee,xe,H){return H===void 0&&(H=!0),xe.cancellationToken.throwIfCancellationRequested(),ze(Le,Le,ee,xe,H)}function ze(Le,ee,xe,H,ae){if(H.markSearchedSymbols(ee,xe.allSearchSymbols))for(var Re=0,it=ve(ee,xe.text,Le);Re0;ge--){var Oe=be[ge];$(ke,Oe)}return[be.length-1,be[0]]}function $(ke,ve){var be=F(ke,ve);ce(h,be),ue.push(h),S.push(k),k=void 0,h=be}function I(){h.children&&(A(h.children,h),W(h.children)),h=ue.pop(),k=S.pop()}function Z(ke,ve,be){$(ke,be),m(ve),I()}function z(ke){ke.initializer&&Fe(ke.initializer)?($(ke),e.forEachChild(ke.initializer,m),I()):Z(ke,ke.initializer)}function ie(ke){return!e.hasDynamicName(ke)||ke.kind!==220&&e.isPropertyAccessExpression(ke.name.expression)&&e.isIdentifier(ke.name.expression.expression)&&e.idText(ke.name.expression.expression)==="Symbol"}function m(ke){var ve;if(v.throwIfCancellationRequested(),!(!ke||e.isToken(ke)))switch(ke.kind){case 170:var be=ke;Z(be,be.body);for(var Oe=0,Ce=be.parameters;Oe0&&($(Lt,he),e.forEachChild(Lt.right,m),I()):e.isFunctionExpression(Lt.right)||e.isArrowFunction(Lt.right)?Z(ke,Lt.right,he):($(Lt,he),Z(ke,Lt.right,Rt.name),I()),Q(pn);return}case 7:case 9:{var yt=ke,he=Ft===7?yt.arguments[0]:yt.arguments[0].expression,Gt=yt.arguments[1],rn=de(ke,he),pn=rn[0],Zt=rn[1];$(ke,Zt),$(ke,e.setTextRange(e.factory.createIdentifier(Gt.text),Gt)),m(ke.arguments[2]),I(),I(),Q(pn);return}case 5:{var Lt=ke,Rt=Lt.left,kn=Rt.expression;if(e.isIdentifier(kn)&&e.getElementOrPropertyAccessName(Rt)!=="prototype"&&k&&k.has(kn.text)){e.isFunctionExpression(Lt.right)||e.isArrowFunction(Lt.right)?Z(ke,Lt.right,kn):e.isBindableStaticAccessExpression(Rt)&&($(Lt,kn),Z(Lt.left,Lt.right,e.getNameOrArgument(Rt)),I());return}break}case 4:case 0:case 8:break;default:e.Debug.assertNever(Ft)}}default:e.hasJSDocNodes(ke)&&e.forEach(ke.jsDoc,function(Zn){e.forEach(Zn.tags,function(Sr){e.isJSDocTypeAlias(Sr)&&re(Sr)})}),e.forEachChild(ke,m)}}function A(ke,ve){var be=new e.Map;e.filterMutate(ke,function(Oe,Ce){var ge=Oe.name||e.getNameOfDeclaration(Oe.node),ze=ge&&y(ge);if(!ze)return!0;var ft=be.get(ze);if(!ft)return be.set(ze,Oe),!0;if(ft instanceof Array){for(var vt=0,st=ft;vt0)return ot(be)}switch(ke.kind){case 303:var Oe=ke;return e.isExternalModule(Oe)?'"'.concat(e.escapeString(e.getBaseFileName(e.removeFileExtension(e.normalizePath(Oe.fileName)))),'"'):"";case 270:return e.isExportAssignment(ke)&&ke.isExportEquals?"export=":"default";case 213:case 255:case 212:case 256:case 225:return e.getSyntacticModifierFlags(ke)&512?"default":pt(ke);case 170:return"constructor";case 174:return"new()";case 173:return"()";case 175:return"[]";default:return""}}function Ne(ke){var ve=[];function be(Ce){if(Oe(Ce)&&(ve.push(Ce),Ce.children))for(var ge=0,ze=Ce.children;ge0)return ot(e.declarationNameToString(ke.name));if(e.isVariableDeclaration(ve))return ot(e.declarationNameToString(ve.name));if(e.isBinaryExpression(ve)&&ve.operatorToken.kind===63)return y(ve.left).replace(P,"");if(e.isPropertyAssignment(ve))return y(ve.name);if(e.getSyntacticModifierFlags(ke)&512)return"default";if(e.isClassLike(ke))return"";if(e.isCallExpression(ve)){var be=Me(ve.expression);if(be!==void 0){if(be=ot(be),be.length>r)return"".concat(be," callback");var Oe=ot(e.mapDefined(ve.arguments,function(Ce){return e.isStringLiteralLike(Ce)?Ce.getText(G):void 0}).join(", "));return"".concat(be,"(").concat(Oe,") callback")}}return""}function Me(ke){if(e.isIdentifier(ke))return ke.text;if(e.isPropertyAccessExpression(ke)){var ve=Me(ke.expression),be=ke.name.text;return ve===void 0?be:"".concat(ve,".").concat(be)}else return}function Fe(ke){switch(ke.kind){case 213:case 212:case 225:return!0;default:return!1}}function ot(ke){return ke=ke.length>r?ke.substring(0,r)+"...":ke,ke.replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}})(e.NavigationBar||(e.NavigationBar={}))})(ne||(ne={}));var ne;(function(e){(function(a){function u($,I,Z,z,ie,m){var A=e.textChanges.ChangeTracker.fromContext({host:Z,formatContext:I,preferences:ie}),g=function(J){return e.stableSort(G(P(J,$,z,m)),function(M,pe){return re(M,pe)})},C=$.statements.filter(e.isImportDeclaration);W(C,g);var N=$.statements.filter(e.isExportDeclaration);W(N,h);for(var _=0,d=$.statements.filter(e.isAmbientModule);_0?d[0]:j[0],Se=V.length===0?Ne?void 0:e.factory.createNamedImports(e.emptyArray):j.length===0?e.factory.createNamedImports(V):e.factory.updateNamedImports(j[0].importClause.namedBindings,V);_&&Ne&&Se?(A.push(S(Te,Ne,void 0)),A.push(S((I=j[0])!==null&&I!==void 0?I:Te,void 0,Se))):A.push(S(Te,Ne,Se))}}return A}a.coalesceImports=G;function ue($){for(var I,Z={defaultImports:[],namespaceImports:[],namedImports:[]},z={defaultImports:[],namespaceImports:[],namedImports:[]},ie=0,m=$;ie1&&Y.push(S(F,O,"comment"))}}function h(y,K,ce,Y){e.isJsxText(y)||ue(y.pos,K,ce,Y)}function S(y,K,ce){return f(e.createTextSpanFromBounds(y,K),ce)}function k(y,K){switch(y.kind){case 234:if(e.isFunctionLike(y.parent))return se(y.parent,y,K);switch(y.parent.kind){case 239:case 242:case 243:case 241:case 238:case 240:case 247:case 291:return Z(y.parent);case 251:var ce=y.parent;if(ce.tryBlock===y)return Z(y.parent);if(ce.finallyBlock===y){var Y=e.findChildOfKind(ce,96,K);if(Y)return Z(Y)}default:return f(e.createTextSpanFromNode(y,K),"code")}case 261:return Z(y.parent);case 256:case 225:case 257:case 259:case 262:case 181:case 200:return Z(y);case 183:return Z(y,!1,!e.isTupleTypeNode(y.parent),22);case 288:case 289:return z(y.statements);case 204:return I(y);case 203:return I(y,22);case 277:return O(y);case 281:return Q(y);case 278:case 279:return de(y.attributes);case 222:case 14:return $(y);case 201:return Z(y,!1,!e.isBindingElement(y.parent),22);case 213:return F(y);case 207:return re(y)}function re(ie){if(ie.arguments.length){var m=e.findChildOfKind(ie,20,K),A=e.findChildOfKind(ie,21,K);if(!(!m||!A||e.positionsAreOnSameLine(m.pos,A.pos,K)))return le(m,A,ie,K,!1,!0)}}function F(ie){if(!(e.isBlock(ie.body)||e.positionsAreOnSameLine(ie.body.getFullStart(),ie.body.getEnd(),K))){var m=e.createTextSpanFromBounds(ie.body.getFullStart(),ie.body.getEnd());return f(m,"code",e.createTextSpanFromNode(ie))}}function O(ie){var m=e.createTextSpanFromBounds(ie.openingElement.getStart(K),ie.closingElement.getEnd()),A=ie.openingElement.tagName.getText(K),g="<"+A+">...";return f(m,"code",m,!1,g)}function Q(ie){var m=e.createTextSpanFromBounds(ie.openingFragment.getStart(K),ie.closingFragment.getEnd()),A="<>...";return f(m,"code",m,!1,A)}function de(ie){if(ie.properties.length!==0)return S(ie.getStart(K),ie.getEnd(),"code")}function $(ie){if(!(ie.kind===14&&ie.text.length===0))return S(ie.getStart(K),ie.getEnd(),"code")}function I(ie,m){return m===void 0&&(m=18),Z(ie,!1,!e.isArrayLiteralExpression(ie.parent)&&!e.isCallExpression(ie.parent),m)}function Z(ie,m,A,g,C){m===void 0&&(m=!1),A===void 0&&(A=!0),g===void 0&&(g=18),C===void 0&&(C=g===18?19:23);var N=e.findChildOfKind(y,g,K),_=e.findChildOfKind(y,C,K);return N&&_&&le(N,_,ie,K,m,A)}function z(ie){return ie.length?f(e.createTextSpanFromRange(ie),"code"):void 0}}function se(y,K,ce){var Y=b(y,K,ce),re=e.findChildOfKind(K,19,ce);return Y&&re&&le(Y,re,y,ce,y.kind!==213)}function le(y,K,ce,Y,re,F){re===void 0&&(re=!1),F===void 0&&(F=!0);var O=e.createTextSpanFromBounds(F?y.getFullStart():y.getStart(Y),K.getEnd());return f(O,"code",e.createTextSpanFromNode(ce,Y),re)}function f(y,K,ce,Y,re){return ce===void 0&&(ce=y),Y===void 0&&(Y=!1),re===void 0&&(re="..."),{textSpan:y,kind:K,hintSpan:ce,bannerText:re,autoCollapse:Y}}function b(y,K,ce){if(e.isNodeArrayMultiLine(y.parameters,ce)){var Y=e.findChildOfKind(y,20,ce);if(Y)return Y}return e.findChildOfKind(K,18,ce)}})(e.OutliningElementsCollector||(e.OutliningElementsCollector={}))})(ne||(ne={}));var ne;(function(e){var a;(function(g){g[g.exact=0]="exact",g[g.prefix=1]="prefix",g[g.substring=2]="substring",g[g.camelCase=3]="camelCase"})(a=e.PatternMatchKind||(e.PatternMatchKind={}));function u(g,C){return{kind:g,isCaseSensitive:C}}function P(g){var C=new e.Map,N=g.trim().split(".").map(function(_){return f(_.trim())});if(!N.some(function(_){return!_.subWordTextChunks.length}))return{getFullMatch:function(_,d){return r(_,d,N,C)},getMatchForLastSegmentOfPattern:function(_){return ue(_,e.last(N),C)},patternContainsDots:N.length>1}}e.createPatternMatcher=P;function r(g,C,N,_){var d=ue(C,e.last(N),_);if(!!d&&!(N.length-1>g.length)){for(var E,j=N.length-2,B=g.length-1;j>=0;j-=1,B-=1)E=h(E,ue(g[B],N[j],_));return E}}function v(g,C){var N=C.get(g);return N||C.set(g,N=de(g)),N}function G(g,C,N){var _=K(g,C.textLowerCase);if(_===0)return u(C.text.length===g.length?a.exact:a.prefix,e.startsWith(g,C.text));if(C.isLowerCase){if(_===-1)return;for(var d=v(g,N),E=0,j=d;E0)return u(a.substring,!0);if(C.characterSpans.length>0){var W=v(g,N),J=le(g,W,C,!1)?!0:le(g,W,C,!0)?!1:void 0;if(J!==void 0)return u(a.camelCase,J)}}}function ue(g,C,N){if(A(C.totalTextChunk.text,function(J){return J!==32&&J!==42})){var _=G(g,C.totalTextChunk,N);if(_)return _}for(var d=C.subWordTextChunks,E,j=0,B=d;j=65&&g<=90)return!0;if(g<127||!e.isUnicodeIdentifierStart(g,99))return!1;var C=String.fromCharCode(g);return C===C.toUpperCase()}function y(g){if(g>=97&&g<=122)return!0;if(g<127||!e.isUnicodeIdentifierStart(g,99))return!1;var C=String.fromCharCode(g);return C===C.toLowerCase()}function K(g,C){for(var N=g.length-C.length,_=function(j){if(A(C,function(B,W){return ce(g.charCodeAt(W+j))===B}))return{value:j}},d=0;d<=N;d++){var E=_(d);if(typeof E=="object")return E.value}return-1}function ce(g){return g>=65&&g<=90?97+(g-65):g<127?g:String.fromCharCode(g).toLowerCase().charCodeAt(0)}function Y(g){return g>=48&&g<=57}function re(g){return b(g)||y(g)||Y(g)||g===95||g===36}function F(g){for(var C=[],N=0,_=0,d=0;d0&&(C.push(O(g.substr(N,_))),_=0)}return _>0&&C.push(O(g.substr(N,_))),C}function O(g){var C=g.toLowerCase();return{text:g,textLowerCase:C,isLowerCase:g===C,characterSpans:Q(g)}}function Q(g){return $(g,!1)}e.breakIntoCharacterSpans=Q;function de(g){return $(g,!0)}e.breakIntoWordSpans=de;function $(g,C){for(var N=[],_=0,d=1;dle)break e;var Q=e.singleOrUndefined(e.getTrailingCommentRanges(f.text,F.end));if(Q&&Q.kind===2&&m(Q.pos,Q.end),P(f,le,F)){if(e.isBlock(F)||e.isTemplateSpan(F)||e.isTemplateHead(F)||e.isTemplateTail(F)||re&&e.isTemplateHead(re)||e.isVariableDeclarationList(F)&&e.isVariableStatement(K)||e.isSyntaxList(F)&&e.isVariableDeclarationList(K)||e.isVariableDeclaration(F)&&e.isSyntaxList(K)&&ce.length===1||e.isJSDocTypeExpression(F)||e.isJSDocSignature(F)||e.isJSDocTypeLiteral(F)){K=F;break}if(e.isTemplateSpan(K)&&O&&e.isTemplateMiddleOrTemplateTail(O)){var de=F.getFullStart()-2,$=O.getStart()+1;ie(de,$)}var I=e.isSyntaxList(F)&&S(re)&&k(O)&&!e.positionsAreOnSameLine(re.getStart(),O.getStart(),f),Z=I?re.getEnd():F.getStart(),z=I?O.getStart():se(f,F);e.hasJSDocNodes(F)&&((b=F.jsDoc)===null||b===void 0?void 0:b.length)&&ie(e.first(F.jsDoc).getStart(),z),ie(Z,z),(e.isStringLiteral(F)||e.isTemplateLiteral(F))&&ie(Z+1,z-1),K=F;break}if(Y===ce.length-1)break e}}return y;function ie(A,g){if(A!==g){var C=e.createTextSpanFromBounds(A,g);(!y||!e.textSpansEqual(C,y.textSpan)&&e.textSpanIntersectsWithPosition(C,le))&&(y=Tt({textSpan:C},y&&{parent:y}))}}function m(A,g){ie(A,g);for(var C=A;f.text.charCodeAt(C)===47;)C++;ie(C,g)}}a.getSmartSelectionRange=u;function P(le,f,b){if(e.Debug.assert(b.pos<=f),f0&&e.last(pe).kind===27&&Ne++,Ne}function O(J,M,pe,Ne){return e.Debug.assert(pe>=M.getStart(),"Assumed 'position' could not occur before node."),e.isTemplateLiteralToken(M)?e.isInsideTemplateLiteral(M,pe,Ne)?0:J+2:J+1}function Q(J,M,pe){var Ne=e.isNoSubstitutionTemplateLiteral(J.template)?1:J.template.templateSpans.length+1;return M!==0&&e.Debug.assertLessThan(M,Ne),{isTypeParameterList:!1,invocation:{kind:0,node:J},argumentsSpan:$(J,pe),argumentIndex:M,argumentCount:Ne}}function de(J,M){var pe=J.getFullStart(),Ne=e.skipTrivia(M.text,J.getEnd(),!1);return e.createTextSpan(pe,Ne-pe)}function $(J,M){var pe=J.template,Ne=pe.getStart(),w=pe.getEnd();if(pe.kind===222){var R=e.last(pe.templateSpans);R.literal.getFullWidth()===0&&(w=e.skipTrivia(M.text,w,!1))}return e.createTextSpan(Ne,w-Ne)}function I(J,M,pe,Ne,w){for(var R=function(Te){e.Debug.assert(e.rangeContainsRange(Te.parent,Te),"Not a subspan",function(){return"Child: ".concat(e.Debug.formatSyntaxKind(Te.kind),", parent: ").concat(e.Debug.formatSyntaxKind(Te.parent.kind))});var Se=f(Te,M,pe,Ne);if(Se)return{value:Se}},L=J;!e.isSourceFile(L)&&(w||!e.isBlock(L));L=L.parent){var V=R(L);if(typeof V=="object")return V.value}}function Z(J,M,pe){var Ne=J.getChildren(pe),w=Ne.indexOf(M);return e.Debug.assert(w>=0&&Ne.length>w+1),Ne[w+1]}function z(J){return J.kind===0?e.getInvokedExpression(J.node):J.called}function ie(J){return J.kind===0?J.node:J.kind===1?J.called:J.node}var m=70246400;function A(J,M,pe,Ne,w,R){var L,V=pe.isTypeParameterList,Te=pe.argumentCount,Se=pe.argumentsSpan,we=pe.invocation,He=pe.argumentIndex,et=ie(we),pt=we.kind===2?we.symbol:w.getSymbolAtLocation(z(we))||R&&((L=M.declaration)===null||L===void 0?void 0:L.symbol),Me=pt?e.symbolToDisplayParts(w,pt,R?Ne:void 0,void 0):e.emptyArray,Fe=e.map(J,function(At){return _(At,Me,V,w,et,Ne)});He!==0&&e.Debug.assertLessThan(He,Te);for(var ot=0,ke=0,ve=0;ve1))for(var Oe=0,Ce=0,ge=be;Ce=Te){ot=ke+Oe;break}Oe++}ke+=be.length}e.Debug.assert(ot!==-1);var ft={items:e.flatMapToMutable(Fe,e.identity),applicableSpan:Se,selectedItemIndex:ot,argumentIndex:He,argumentCount:Te},vt=ft.items[ot];if(vt.isVariadic){var st=e.findIndex(vt.parameters,function(At){return!!At.isRest});-1j?E.substr(0,j-3)+"...":E}function _(E){var j=71286784,B={removeComments:!0},W=e.createPrinter(B);return e.usingSingleLineStringWriter(function(J){var M=y.typeToTypeNode(E,void 0,j,J);e.Debug.assertIsDefined(M,"should always get typenode"),W.writeNode(4,M,h,J)})}function d(E){return E==="undefined"}}a.provideInlayHints=G})(e.InlayHints||(e.InlayHints={}))})(ne||(ne={}));var ne;(function(e){var a=/^data:(?:application\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+\/=]+)$)?/;function u(G){var ue=e.createGetCanonicalFileName(G.useCaseSensitiveFileNames()),h=G.getCurrentDirectory(),S=new e.Map,k=new e.Map;return{tryGetSourcePosition:f,tryGetGeneratedPosition:b,toLineColumnOffset:Y,clearCache:re};function se(F){return e.toPath(F,h,ue)}function le(F,O){var Q=se(F),de=k.get(Q);if(de)return de;var $;if(G.getDocumentPositionMapper)$=G.getDocumentPositionMapper(F,O);else if(G.readFile){var I=ce(F);$=I&&e.getDocumentPositionMapper({getSourceFileLike:ce,getCanonicalFileName:ue,log:function(Z){return G.log(Z)}},F,e.getLineInfo(I.text,e.getLineStarts(I)),function(Z){return!G.fileExists||G.fileExists(Z)?G.readFile(Z):void 0})}return k.set(Q,$||e.identitySourceMapConsumer),$||e.identitySourceMapConsumer}function f(F){if(e.isDeclarationFileName(F.fileName)){var O=y(F.fileName);if(O){var Q=le(F.fileName).getSourcePosition(F);return!Q||Q===F?void 0:f(Q)||Q}}}function b(F){if(!e.isDeclarationFileName(F.fileName)){var O=y(F.fileName);if(O){var Q=G.getProgram();if(!Q.isSourceOfProjectReferenceRedirect(O.fileName)){var de=Q.getCompilerOptions(),$=e.outFile(de),I=$?e.removeFileExtension($)+".d.ts":e.getDeclarationEmitOutputFilePathWorker(F.fileName,Q.getCompilerOptions(),h,Q.getCommonSourceDirectory(),ue);if(I!==void 0){var Z=le(I,F.fileName).getGeneratedPosition(F);return Z===F?void 0:Z}}}}}function y(F){var O=G.getProgram();if(O){var Q=se(F),de=O.getSourceFileByPath(Q);return de&&de.resolvedPath===Q?de:void 0}}function K(F){var O=se(F),Q=S.get(O);if(Q!==void 0)return Q||void 0;if(!G.readFile||G.fileExists&&!G.fileExists(O)){S.set(O,!1);return}var de=G.readFile(O),$=de?v(de):!1;return S.set(O,$),$||void 0}function ce(F){return G.getSourceFileLike?G.getSourceFileLike(F):y(F)||K(F)}function Y(F,O){var Q=ce(F);return Q.getLineAndCharacterOfPosition(O)}function re(){S.clear(),k.clear()}}e.getSourceMapper=u;function P(G,ue,h,S){var k=e.tryGetSourceMappingURL(h);if(k){var se=a.exec(k);if(se){if(se[1]){var le=se[1];return r(G,e.base64decode(e.sys,le),ue)}k=void 0}}var f=[];k&&f.push(k),f.push(ue+".map");for(var b=k&&e.getNormalizedAbsolutePath(k,e.getDirectoryPath(ue)),y=0,K=f;yO?!1:re.arguments.length0?e.arrayFrom(se.values()).join(","):""}a.getSymbolModifiers=G;function ue(S,k,se,le,f,b,y){var K;b===void 0&&(b=e.getMeaningFromLocation(f));var ce=[],Y=[],re=[],F=e.getCombinedLocalAndExportSymbolFlags(k),O=b&1?r(S,k,f):"",Q=!1,de=f.kind===108&&e.isInExpressionContext(f)||e.isThisInTypeQuery(f),$,I,Z,z,ie=!1;if(f.kind===108&&!de)return{displayParts:[e.keywordPart(108)],documentation:[],symbolKind:"primitive type",tags:void 0};if(O!==""||F&32||F&2097152){if(O==="getter"||O==="setter"){var m=e.find(k.declarations,function(ze){return ze.name===f});if(m)switch(m.kind){case 171:O="getter";break;case 172:O="setter";break;default:e.Debug.assertNever(m)}else O="property"}var A=void 0;if($=de?S.getTypeAtLocation(f):S.getTypeOfSymbolAtLocation(k,f),f.parent&&f.parent.kind===205){var g=f.parent.name;(g===f||g&&g.getFullWidth()===0)&&(f=f.parent)}var C=void 0;if(e.isCallOrNewExpression(f)?C=f:(e.isCallExpressionTarget(f)||e.isNewExpressionTarget(f)||f.parent&&(e.isJsxOpeningLikeElement(f.parent)||e.isTaggedTemplateExpression(f.parent))&&e.isFunctionLike(k.valueDeclaration))&&(C=f.parent),C){A=S.getResolvedSignature(C);var N=C.kind===208||e.isCallExpression(C)&&C.expression.kind===106,_=N?$.getConstructSignatures():$.getCallSignatures();if(A&&!e.contains(_,A.target)&&!e.contains(_,A)&&(A=_.length?_[0]:void 0),A){switch(N&&F&32?(O="constructor",be($.symbol,O)):F&2097152?(O="alias",Oe(O),ce.push(e.spacePart()),N&&(A.flags&4&&(ce.push(e.keywordPart(126)),ce.push(e.spacePart())),ce.push(e.keywordPart(103)),ce.push(e.spacePart())),ve(k)):be(k,O),O){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":ce.push(e.punctuationPart(58)),ce.push(e.spacePart()),!(e.getObjectFlags($)&16)&&$.symbol&&(e.addRange(ce,e.symbolToDisplayParts(S,$.symbol,le,void 0,5)),ce.push(e.lineBreakPart())),N&&(A.flags&4&&(ce.push(e.keywordPart(126)),ce.push(e.spacePart())),ce.push(e.keywordPart(103)),ce.push(e.spacePart())),Ce(A,_,262144);break;default:Ce(A,_)}Q=!0,ie=_.length>1}}else if(e.isNameOfFunctionDeclaration(f)&&!(F&98304)||f.kind===134&&f.parent.kind===170){var d=f.parent,E=k.declarations&&e.find(k.declarations,function(ze){return ze===(f.kind===134?d.parent:d)});if(E){var _=d.kind===170?$.getNonNullableType().getConstructSignatures():$.getNonNullableType().getCallSignatures();S.isImplementationOfOverload(d)?A=_[0]:A=S.getSignatureFromDeclaration(d),d.kind===170?(O="constructor",be($.symbol,O)):be(d.kind===173&&!($.symbol.flags&2048||$.symbol.flags&4096)?$.symbol:k,O),A&&Ce(A,_),Q=!0,ie=_.length>1}}}if(F&32&&!Q&&!de&&(ot(),e.getDeclarationOfKind(k,225)?Oe("local class"):ce.push(e.keywordPart(84)),ce.push(e.spacePart()),ve(k),ge(k,se)),F&64&&b&2&&(Fe(),ce.push(e.keywordPart(118)),ce.push(e.spacePart()),ve(k),ge(k,se)),F&524288&&b&2&&(Fe(),ce.push(e.keywordPart(151)),ce.push(e.spacePart()),ve(k),ge(k,se),ce.push(e.spacePart()),ce.push(e.operatorPart(63)),ce.push(e.spacePart()),e.addRange(ce,e.typeToDisplayParts(S,e.isConstTypeReference(f.parent)?S.getTypeAtLocation(f.parent):S.getDeclaredTypeOfSymbol(k),le,8388608))),F&384&&(Fe(),e.some(k.declarations,function(ze){return e.isEnumDeclaration(ze)&&e.isEnumConst(ze)})&&(ce.push(e.keywordPart(85)),ce.push(e.spacePart())),ce.push(e.keywordPart(92)),ce.push(e.spacePart()),ve(k)),F&1536&&!de){Fe();var m=e.getDeclarationOfKind(k,260),j=m&&m.name&&m.name.kind===79;ce.push(e.keywordPart(j?142:141)),ce.push(e.spacePart()),ve(k)}if(F&262144&&b&2)if(Fe(),ce.push(e.punctuationPart(20)),ce.push(e.textPart("type parameter")),ce.push(e.punctuationPart(21)),ce.push(e.spacePart()),ve(k),k.parent)ke(),ve(k.parent,le),ge(k.parent,le);else{var B=e.getDeclarationOfKind(k,162);if(B===void 0)return e.Debug.fail();var m=B.parent;if(m)if(e.isFunctionLikeKind(m.kind)){ke();var A=S.getSignatureFromDeclaration(m);m.kind===174?(ce.push(e.keywordPart(103)),ce.push(e.spacePart())):m.kind!==173&&m.name&&ve(m.symbol),e.addRange(ce,e.signatureToDisplayParts(S,A,se,32))}else m.kind===258&&(ke(),ce.push(e.keywordPart(151)),ce.push(e.spacePart()),ve(m.symbol),ge(m.symbol,se))}if(F&8){O="enum member",be(k,"enum member");var m=(K=k.declarations)===null||K===void 0?void 0:K[0];if((m==null?void 0:m.kind)===297){var W=S.getConstantValue(m);W!==void 0&&(ce.push(e.spacePart()),ce.push(e.operatorPart(63)),ce.push(e.spacePart()),ce.push(e.displayPart(e.getTextOfConstantValue(W),typeof W=="number"?e.SymbolDisplayPartKind.numericLiteral:e.SymbolDisplayPartKind.stringLiteral)))}}if(k.flags&2097152){if(Fe(),!Q){var J=S.getAliasedSymbol(k);if(J!==k&&J.declarations&&J.declarations.length>0){var M=J.declarations[0],pe=e.getNameOfDeclaration(M);if(pe){var Ne=e.isModuleWithStringLiteralName(M)&&e.hasSyntacticModifier(M,2),w=k.name!=="default"&&!Ne,R=ue(S,J,e.getSourceFileOfNode(M),M,pe,b,w?k:J);ce.push.apply(ce,R.displayParts),ce.push(e.lineBreakPart()),Z=R.documentation,z=R.tags}else Z=J.getContextualDocumentationComment(M,S),z=J.getJsDocTags(S)}}if(k.declarations)switch(k.declarations[0].kind){case 263:ce.push(e.keywordPart(93)),ce.push(e.spacePart()),ce.push(e.keywordPart(142));break;case 270:ce.push(e.keywordPart(93)),ce.push(e.spacePart()),ce.push(e.keywordPart(k.declarations[0].isExportEquals?63:88));break;case 274:ce.push(e.keywordPart(93));break;default:ce.push(e.keywordPart(100))}ce.push(e.spacePart()),ve(k),e.forEach(k.declarations,function(ze){if(ze.kind===264){var ft=ze;if(e.isExternalModuleImportEqualsDeclaration(ft))ce.push(e.spacePart()),ce.push(e.operatorPart(63)),ce.push(e.spacePart()),ce.push(e.keywordPart(145)),ce.push(e.punctuationPart(20)),ce.push(e.displayPart(e.getTextOfNode(e.getExternalModuleImportEqualsDeclarationExpression(ft)),e.SymbolDisplayPartKind.stringLiteral)),ce.push(e.punctuationPart(21));else{var vt=S.getSymbolAtLocation(ft.moduleReference);vt&&(ce.push(e.spacePart()),ce.push(e.operatorPart(63)),ce.push(e.spacePart()),ve(vt,le))}return!0}})}if(!Q)if(O!==""){if($){if(de?(Fe(),ce.push(e.keywordPart(108))):be(k,O),O==="property"||O==="getter"||O==="setter"||O==="JSX attribute"||F&3||O==="local var"||de){if(ce.push(e.punctuationPart(58)),ce.push(e.spacePart()),$.symbol&&$.symbol.flags&262144){var L=e.mapToDisplayParts(function(ze){var ft=S.typeParameterToDeclaration($,le,u);Me().writeNode(4,ft,e.getSourceFileOfNode(e.getParseTreeNode(le)),ze)});e.addRange(ce,L)}else e.addRange(ce,e.typeToDisplayParts(S,$,le));if(k.target&&k.target.tupleLabelDeclaration){var V=k.target.tupleLabelDeclaration;e.Debug.assertNode(V.name,e.isIdentifier),ce.push(e.spacePart()),ce.push(e.punctuationPart(20)),ce.push(e.textPart(e.idText(V.name))),ce.push(e.punctuationPart(21))}}else if(F&16||F&8192||F&16384||F&131072||F&98304||O==="method"){var _=$.getNonNullableType().getCallSignatures();_.length&&(Ce(_[0],_),ie=_.length>1)}}}else O=P(S,k,f);if(Y.length===0&&!ie&&(Y=k.getContextualDocumentationComment(le,S)),Y.length===0&&F&4&&k.parent&&k.declarations&&e.forEach(k.parent.declarations,function(ze){return ze.kind===303}))for(var Te=0,Se=k.declarations;Te0))break}}if(Y.length===0&&e.isIdentifier(f)&&k.valueDeclaration&&e.isBindingElement(k.valueDeclaration)){var m=k.valueDeclaration,He=m.parent;if(e.isIdentifier(m.name)&&e.isObjectBindingPattern(He)){var et=e.getTextOfIdentifierOrLiteral(m.name),pt=S.getTypeAtLocation(He);Y=e.firstDefined(pt.isUnion()?pt.types:[pt],function(ft){var vt=ft.getProperty(et);return vt?vt.getDocumentationComment(S):void 0})||e.emptyArray}}return re.length===0&&!ie&&(re=k.getContextualJsDocTags(le,S)),Y.length===0&&Z&&(Y=Z),re.length===0&&z&&(re=z),{displayParts:ce,documentation:Y,symbolKind:O,tags:re.length===0?void 0:re};function Me(){return I||(I=e.createPrinter({removeComments:!0})),I}function Fe(){ce.length&&ce.push(e.lineBreakPart()),ot()}function ot(){y&&(Oe("alias"),ce.push(e.spacePart()))}function ke(){ce.push(e.spacePart()),ce.push(e.keywordPart(101)),ce.push(e.spacePart())}function ve(ze,ft){y&&ze===k&&(ze=y);var vt=e.symbolToDisplayParts(S,ze,ft||se,void 0,7);e.addRange(ce,vt),k.flags&16777216&&ce.push(e.punctuationPart(57))}function be(ze,ft){Fe(),ft&&(Oe(ft),ze&&!e.some(ze.declarations,function(vt){return e.isArrowFunction(vt)||(e.isFunctionExpression(vt)||e.isClassExpression(vt))&&!vt.name})&&(ce.push(e.spacePart()),ve(ze)))}function Oe(ze){switch(ze){case"var":case"function":case"let":case"const":case"constructor":ce.push(e.textOrKeywordPart(ze));return;default:ce.push(e.punctuationPart(20)),ce.push(e.textOrKeywordPart(ze)),ce.push(e.punctuationPart(21));return}}function Ce(ze,ft,vt){vt===void 0&&(vt=0),e.addRange(ce,e.signatureToDisplayParts(S,ze,le,vt|32)),ft.length>1&&(ce.push(e.spacePart()),ce.push(e.punctuationPart(20)),ce.push(e.operatorPart(39)),ce.push(e.displayPart((ft.length-1).toString(),e.SymbolDisplayPartKind.numericLiteral)),ce.push(e.spacePart()),ce.push(e.textPart(ft.length===2?"overload":"overloads")),ce.push(e.punctuationPart(21))),Y=ze.getDocumentationComment(S),re=ze.getJsDocTags(),ft.length>1&&Y.length===0&&re.length===0&&(Y=ft[0].getDocumentationComment(S),re=ft[0].getJsDocTags())}function ge(ze,ft){var vt=e.mapToDisplayParts(function(st){var At=S.symbolToTypeParameterDeclarations(ze,ft,u);Me().writeList(53776,At,e.getSourceFileOfNode(e.getParseTreeNode(ft)),st)});e.addRange(ce,vt)}}a.getSymbolDisplayPartsDocumentationAndSymbolKind=ue;function h(S){return S.parent?!1:e.forEach(S.declarations,function(k){if(k.kind===212)return!0;if(k.kind!==253&&k.kind!==255)return!1;for(var se=k.parent;!e.isFunctionBlock(se);se=se.parent)if(se.kind===303||se.kind===261)return!1;return!0})}})(e.SymbolDisplay||(e.SymbolDisplay={}))})(ne||(ne={}));var ne;(function(e){function a(v,G){var ue=[],h=G.compilerOptions?r(G.compilerOptions,ue):{},S=e.getDefaultCompilerOptions();for(var k in S)e.hasProperty(S,k)&&h[k]===void 0&&(h[k]=S[k]);for(var se=0,le=e.transpileOptionValueCompilerOptions;se>=S;return Y}function y(K,ce){var Y=(K>>ce&k)+1;return e.Debug.assert((Y&k)===Y,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules."),K&~(k<=g.length)return!1;var d=g[C];if(_.end<=d.start)return!1;if(e.startEndOverlapsWithStartEnd(_.pos,_.end,d.start,d.start+d.length))return!0;C++}};function N(){return!1}}function y(m,A,g){var C=m.getStart(g);if(C===A.pos&&m.end===A.end)return C;var N=e.findPrecedingToken(A.pos,g);return!N||N.end>=A.pos?m.pos:N.end}function K(m,A,g){for(var C=-1,N;m;){var _=g.getLineAndCharacterOfPosition(m.getStart(g)).line;if(C!==-1&&_!==C)break;if(a.SmartIndenter.shouldIndentChildNode(A,m,N,g))return A.indentSize;C=_,N=m,m=m.parent}return 0}function ce(m,A,g,C,N,_){var d={pos:m.pos,end:m.end};return a.getFormattingScanner(A.text,g,d.pos,d.end,function(E){return F(d,m,C,N,E,_,1,function(j){return!1},A)})}a.formatNodeGivenIndentation=ce;function Y(m,A,g,C){if(!m)return[];var N={pos:e.getLineStartPositionForPosition(m.getStart(A),A),end:m.end};return re(N,A,g,C)}function re(m,A,g,C){var N=f(m,A);return a.getFormattingScanner(A.text,A.languageVariant,y(N,m,A),m.end,function(_){return F(m,N,a.SmartIndenter.getIndentationForNode(N,m,A,g.options),K(N,g.options,A),_,g,C,b(A.parseDiagnostics,m),A)})}function F(m,A,g,C,N,_,d,E,j){var B=_.options,W=_.getRules,J=_.host,M=new a.FormattingContext(j,d,B),pe,Ne,w,R,L=-1,V=[];if(N.advance(),N.isOnToken()){var Te=j.getLineAndCharacterOfPosition(A.getStart(j)).line,Se=Te;A.decorators&&(Se=j.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(A,j)).line),ke(A,A,Te,Se,g,C)}if(!N.isOnToken()){var we=a.SmartIndenter.nodeWillIndentChild(B,A,void 0,j,!1)?g+B.indentSize:g,He=N.getCurrentLeadingTrivia();He&&(ve(He,we,!1,function(fe){return Oe(fe,j.getLineAndCharacterOfPosition(fe.pos),A,A,void 0)}),B.trimTrailingWhitespace!==!1&&qt(He))}if(pe&&N.getStartPos()>=m.end){var et=N.isOnEOF()?N.readEOFTokenRange():N.isOnToken()?N.readTokenInfo(A).token:void 0;et&&Ce(et,j.getLineAndCharacterOfPosition(et.pos).line,A,pe,w,Ne,A,void 0)}return V;function pt(fe,Be,We,Ft,Lt){if(e.rangeOverlapsWithStartEnd(Ft,fe,Be)||e.rangeContainsStartEnd(Ft,fe,Be)){if(Lt!==-1)return Lt}else{var Rt=j.getLineAndCharacterOfPosition(fe).line,Et=e.getLineStartPositionForPosition(fe,j),pn=a.SmartIndenter.findFirstNonWhitespaceColumn(Et,fe,j,B);if(Rt!==We||fe===pn){var he=a.SmartIndenter.getBaseIndentation(B);return he>pn?he:pn}}return-1}function Me(fe,Be,We,Ft,Lt,Rt){var Et=a.SmartIndenter.shouldIndentChildNode(B,fe)?B.indentSize:0;return Rt===Be?{indentation:Be===R?L:Lt.getIndentation(),delta:Math.min(B.indentSize,Lt.getDelta(fe)+Et)}:We===-1?fe.kind===20&&Be===R?{indentation:L,delta:Lt.getDelta(fe)}:a.SmartIndenter.childStartsOnTheSameLineWithElseInIfStatement(Ft,fe,Be,j)||a.SmartIndenter.childIsUnindentedBranchOfConditionalExpression(Ft,fe,Be,j)||a.SmartIndenter.argumentStartsOnSameLineAsPreviousArgument(Ft,fe,Be,j)?{indentation:Lt.getIndentation(),delta:Et}:{indentation:Lt.getIndentation()+Lt.getDelta(fe),delta:Et}:{indentation:We,delta:Et}}function Fe(fe){if(fe.modifiers&&fe.modifiers.length)return fe.modifiers[0].kind;switch(fe.kind){case 256:return 84;case 257:return 118;case 255:return 98;case 259:return 259;case 171:return 136;case 172:return 148;case 168:if(fe.asteriskToken)return 41;case 166:case 163:var Be=e.getNameOfDeclaration(fe);if(Be)return Be.kind}}function ot(fe,Be,We,Ft){return{getIndentationForComment:function(Et,pn,he){switch(Et){case 19:case 23:case 21:return We+Rt(he)}return pn!==-1?pn:We},getIndentationForToken:function(Et,pn,he,yt){return!yt&&Lt(Et,pn,he)?We+Rt(he):We},getIndentation:function(){return We},getDelta:Rt,recomputeIndentation:function(Et,pn){a.SmartIndenter.shouldIndentChildNode(B,pn,fe,j)&&(We+=Et?B.indentSize:-B.indentSize,Ft=a.SmartIndenter.shouldIndentChildNode(B,fe)?B.indentSize:0)}};function Lt(Et,pn,he){switch(pn){case 18:case 19:case 21:case 91:case 115:case 59:return!1;case 43:case 31:switch(he.kind){case 279:case 280:case 278:case 227:return!1}break;case 22:case 23:if(he.kind!==194)return!1;break}return Be!==Et&&!(fe.decorators&&pn===Fe(fe))}function Rt(Et){return a.SmartIndenter.nodeWillIndentChild(B,fe,Et,j,!0)?Ft:0}}function ke(fe,Be,We,Ft,Lt,Rt){if(!e.rangeOverlapsWithStartEnd(m,fe.getStart(j),fe.getEnd()))return;var Et=ot(fe,We,Lt,Rt),pn=Be;for(e.forEachChild(fe,function(Zt){yt(Zt,-1,fe,Et,We,Ft,!1)},function(Zt){Gt(Zt,fe,We,Et)});N.isOnToken()&&N.getStartPos()Math.min(fe.end,m.end))break;rn(he,fe,Et,fe)}function yt(Zt,kn,Zn,Sr,Ze,tn,Je,Bt){var zt=Zt.getStart(j),Ve=j.getLineAndCharacterOfPosition(zt).line,Nt=Ve;Zt.decorators&&(Nt=j.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(Zt,j)).line);var Ge=-1;if(Je&&e.rangeContainsRange(m,Zn)&&(Ge=pt(zt,Zt.end,Ze,m,kn),Ge!==-1&&(kn=Ge)),!e.rangeOverlapsWithStartEnd(m,Zt.pos,Zt.end))return Zt.endm.end)return kn;if(lt.token.end>zt){lt.token.pos>zt&&N.skipToStartOf(Zt);break}rn(lt,fe,Sr,fe)}if(!N.isOnToken()||N.getStartPos()>=m.end)return kn;if(e.isToken(Zt)){var lt=N.readTokenInfo(Zt);if(Zt.kind!==11)return e.Debug.assert(lt.token.end===Zt.end,"Token end is child end"),rn(lt,fe,Sr,Zt),kn}var Le=Zt.kind===164?Ve:tn,ee=Me(Zt,Ve,Ge,fe,Sr,Le);return ke(Zt,pn,Ve,Nt,ee.indentation,ee.delta),pn=fe,Bt&&Zn.kind===203&&kn===-1&&(kn=ee.indentation),kn}function Gt(Zt,kn,Zn,Sr){e.Debug.assert(e.isNodeArray(Zt));var Ze=de(kn,Zt),tn=Sr,Je=Zn;if(Ze!==0)for(;N.isOnToken()&&N.getStartPos()Zt.pos)break;if(Bt.token.kind===Ze){Je=j.getLineAndCharacterOfPosition(Bt.token.pos).line,rn(Bt,kn,Sr,kn);var zt=void 0;if(L!==-1)zt=L;else{var Ve=e.getLineStartPositionForPosition(Bt.token.pos,j);zt=a.SmartIndenter.findFirstNonWhitespaceColumn(Ve,Bt.token.pos,j,B)}tn=ot(kn,Zn,zt,B.indentSize)}else rn(Bt,kn,Sr,kn)}for(var Nt=-1,Ge=0;Ge0){var Je=ie(tn,B);Ht(Sr,Ze.character,Je)}else Ie(Sr,Ze.character)}}}function st(fe,Be,We){for(var Ft=fe;FtRt)){var Et=At(Lt,Rt);Et!==-1&&(e.Debug.assert(Et===Lt||!e.isWhiteSpaceSingleLine(j.text.charCodeAt(Et-1))),Ie(Et,Rt+1-Et))}}}function At(fe,Be){for(var We=Be;We>=fe&&e.isWhiteSpaceSingleLine(j.text.charCodeAt(We));)We--;return We!==Be?We+1:-1}function qt(fe){for(var Be=pe?pe.end:m.pos,We=0,Ft=fe;WeE.text.length)return S(j);if(j.indentStyle===e.IndentStyle.None)return 0;var W=e.findPrecedingToken(d,E,void 0,!0),J=a.getRangeOfEnclosingComment(E,d,W||null);if(J&&J.kind===3)return v(E,d,j,J);if(!W)return S(j);var M=e.isStringOrRegularExpressionOrTemplateLiteral(W.kind);if(M&&W.getStart(E)<=d&&d=0),W<=J)return A(e.getStartPositionOfLine(J,d),E,d,j);var M=e.getStartPositionOfLine(W,d),pe=m(M,E,d,j),Ne=pe.column,w=pe.character;if(Ne===0)return Ne;var R=d.text.charCodeAt(M+w);return R===42?Ne-1:Ne}function G(d,E,j){for(var B=E;B>0;){var W=d.text.charCodeAt(B);if(!e.isWhiteSpaceLike(W))break;B--}var J=e.getLineStartPositionForPosition(B,d);return A(J,B,d,j)}function ue(d,E,j,B,W,J){for(var M,pe=j;pe;){if(e.positionBelongsToNode(pe,E,d)&&N(J,pe,M,d,!0)){var Ne=K(pe,d),w=y(j,pe,B,d),R=w!==0?W&&w===2?J.indentSize:0:B!==Ne.line?J.indentSize:0;return k(pe,Ne,void 0,R,d,!0,J)}var L=Z(pe,d,J,!0);if(L!==-1)return L;M=pe,pe=pe.parent}return S(J)}function h(d,E,j,B){var W=j.getLineAndCharacterOfPosition(d.getStart(j));return k(d,W,E,0,j,!1,B)}u.getIndentationForNode=h;function S(d){return d.baseIndentSize||0}u.getBaseIndentation=S;function k(d,E,j,B,W,J,M){for(var pe,Ne=d.parent;Ne;){var w=!0;if(j){var R=d.getStart(W);w=Rj.end}var L=se(Ne,d,W),V=L.line===E.line||Y(Ne,d,E.line,W);if(w){var Te=(pe=O(d,W))===null||pe===void 0?void 0:pe[0],Se=!!Te&&K(Te,W).line>L.line,we=Z(d,W,M,Se);if(we!==-1||(we=f(d,Ne,E,V,W,M),we!==-1))return we+B}N(M,Ne,d,W,J)&&!V&&(B+=M.indentSize);var He=ce(Ne,d,E.line,W);d=Ne,Ne=d.parent,E=He?W.getLineAndCharacterOfPosition(d.getStart(W)):L}return B+S(M)}function se(d,E,j){var B=O(E,j),W=B?B.pos:d.getStart(j);return j.getLineAndCharacterOfPosition(W)}function le(d,E,j){var B=e.findListItemInfo(d);return B&&B.listItemIndex>0?z(B.list.getChildren(),B.listItemIndex-1,E,j):-1}function f(d,E,j,B,W,J){var M=(e.isDeclaration(d)||e.isStatementButNotDeclaration(d))&&(E.kind===303||!B);return M?ie(j,W,J):-1}var b;(function(d){d[d.Unknown=0]="Unknown",d[d.OpenBrace=1]="OpenBrace",d[d.CloseBrace=2]="CloseBrace"})(b||(b={}));function y(d,E,j,B){var W=e.findNextToken(d,E,B);if(!W)return 0;if(W.kind===18)return 1;if(W.kind===19){var J=K(W,B).line;return j===J?2:0}return 0}function K(d,E){return E.getLineAndCharacterOfPosition(d.getStart(E))}function ce(d,E,j,B){if(!(e.isCallExpression(d)&&e.contains(d.arguments,E)))return!1;var W=d.expression.getEnd(),J=e.getLineAndCharacterOfPosition(B,W).line;return J===j}u.isArgumentAndStartLineOverlapsExpressionBeingCalled=ce;function Y(d,E,j,B){if(d.kind===238&&d.elseStatement===E){var W=e.findChildOfKind(d,91,B);e.Debug.assert(W!==void 0);var J=K(W,B).line;return J===j}return!1}u.childStartsOnTheSameLineWithElseInIfStatement=Y;function re(d,E,j,B){if(e.isConditionalExpression(d)&&(E===d.whenTrue||E===d.whenFalse)){var W=e.getLineAndCharacterOfPosition(B,d.condition.end).line;if(E===d.whenTrue)return j===W;var J=K(d.whenTrue,B).line,M=e.getLineAndCharacterOfPosition(B,d.whenTrue.end).line;return W===J&&M===j}return!1}u.childIsUnindentedBranchOfConditionalExpression=re;function F(d,E,j,B){if(e.isCallOrNewExpression(d)){if(!d.arguments)return!1;var W=e.find(d.arguments,function(Ne){return Ne.pos===E.pos});if(!W)return!1;var J=d.arguments.indexOf(W);if(J===0)return!1;var M=d.arguments[J-1],pe=e.getLineAndCharacterOfPosition(B,M.getEnd()).line;if(j===pe)return!0}return!1}u.argumentStartsOnSameLineAsPreviousArgument=F;function O(d,E){return d.parent&&de(d.getStart(E),d.getEnd(),d.parent,E)}u.getContainingList=O;function Q(d,E,j){return E&&de(d,d,E,j)}function de(d,E,j,B){switch(j.kind){case 177:return W(j.typeArguments);case 204:return W(j.properties);case 203:return W(j.elements);case 181:return W(j.members);case 255:case 212:case 213:case 168:case 167:case 173:case 170:case 179:case 174:return W(j.typeParameters)||W(j.parameters);case 171:return W(j.parameters);case 256:case 225:case 257:case 258:case 342:return W(j.typeParameters);case 208:case 207:return W(j.typeArguments)||W(j.arguments);case 254:return W(j.declarations);case 268:case 272:return W(j.elements);case 200:case 201:return W(j.elements)}function W(J){return J&&e.rangeContainsStartEnd($(j,J,B),d,E)?J:void 0}}function $(d,E,j){for(var B=d.getChildren(j),W=1;W=0&&E=0;M--)if(d[M].kind!==27){var pe=j.getLineAndCharacterOfPosition(d[M].end).line;if(pe!==J.line)return ie(J,j,B);J=K(d[M],j)}return-1}function ie(d,E,j){var B=E.getPositionOfLineAndCharacter(d.line,0);return A(B,B+d.character,E,j)}function m(d,E,j,B){for(var W=0,J=0,M=d;M0?1:0,pt=e.getStartPositionOfLine(e.getLineOfLocalPosition(j,Se)+et,j);return pt=h(j.text,pt),e.getStartPositionOfLine(e.getLineOfLocalPosition(j,pt),j)}function b(j,B,W){var J=B.end,M=W.trailingTriviaOption;if(M===ue.Include){var pe=e.getTrailingCommentRanges(j.text,J);if(pe)for(var Ne=e.getLineOfLocalPosition(j,B.end),w=0,R=pe;wNe)break;var V=e.getLineOfLocalPosition(j,L.end);if(V>Ne)return e.skipTrivia(j.text,L.end,!0,!0)}}}function y(j,B,W){var J,M=B.end,pe=W.trailingTriviaOption;if(pe===ue.Exclude)return M;if(pe===ue.ExcludeWhitespace){var Ne=e.concatenate(e.getTrailingCommentRanges(j.text,M),e.getLeadingCommentRanges(j.text,M)),w=(J=Ne==null?void 0:Ne[Ne.length-1])===null||J===void 0?void 0:J.end;return w||M}var R=b(j,B,W);if(R)return R;var L=e.skipTrivia(j.text,M,!0);return L!==M&&(pe===ue.Include||e.isLineBreak(j.text.charCodeAt(L-1)))?L:M}function K(j,B){return!!B&&!!j.parent&&(B.kind===27||B.kind===26&&j.parent.kind===204)}function ce(j){return e.isFunctionExpression(j)||e.isFunctionDeclaration(j)}a.isThisTypeAnnotatable=ce;var Y=function(){function j(B,W){this.newLineCharacter=B,this.formatContext=W,this.changes=[],this.newFiles=[],this.classesWithNodesInsertedAtStart=new e.Map,this.deletedNodes=[]}return j.fromContext=function(B){return new j(e.getNewLineOrDefaultFromHost(B.host,B.formatContext.options),B.formatContext)},j.with=function(B,W){var J=j.fromContext(B);return W(J),J.getChanges()},j.prototype.pushRaw=function(B,W){e.Debug.assertEqual(B.fileName,W.fileName);for(var J=0,M=W.textChanges;J",joiner:", "})},j.prototype.getOptionsForInsertNodeBefore=function(B,W,J){return e.isStatement(B)||e.isClassElement(B)?{suffix:J?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}:e.isVariableDeclaration(B)?{suffix:", "}:e.isParameter(B)?e.isParameter(W)?{suffix:", "}:{}:e.isStringLiteral(B)&&e.isImportDeclaration(B.parent)||e.isNamedImports(B)?{suffix:", "}:e.isImportSpecifier(B)?{suffix:","+(J?this.newLineCharacter:" ")}:e.Debug.failBadSyntaxKind(B)},j.prototype.insertNodeAtConstructorStart=function(B,W,J){var M=e.firstOrUndefined(W.body.statements);!M||!W.body.multiLine?this.replaceConstructorBody(B,W,tt([J],W.body.statements,!0)):this.insertNodeBefore(B,M,J)},j.prototype.insertNodeAtConstructorStartAfterSuperCall=function(B,W,J){var M=e.find(W.body.statements,function(pe){return e.isExpressionStatement(pe)&&e.isSuperCall(pe.expression)});!M||!W.body.multiLine?this.replaceConstructorBody(B,W,tt(tt([],W.body.statements,!0),[J],!1)):this.insertNodeAfter(B,M,J)},j.prototype.insertNodeAtConstructorEnd=function(B,W,J){var M=e.lastOrUndefined(W.body.statements);!M||!W.body.multiLine?this.replaceConstructorBody(B,W,tt(tt([],W.body.statements,!0),[J],!1)):this.insertNodeAfter(B,M,J)},j.prototype.replaceConstructorBody=function(B,W,J){this.replaceNode(B,W.body,e.factory.createBlock(J,!0))},j.prototype.insertNodeAtEndOfScope=function(B,W,J){var M=f(B,W.getLastToken(),{});this.insertNodeAt(B,M,J,{prefix:e.isLineBreak(B.text.charCodeAt(W.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})},j.prototype.insertNodeAtClassStart=function(B,W,J){this.insertNodeAtStartWorker(B,W,J)},j.prototype.insertNodeAtObjectStart=function(B,W,J){this.insertNodeAtStartWorker(B,W,J)},j.prototype.insertNodeAtStartWorker=function(B,W,J){var M,pe=(M=this.guessIndentationFromExistingMembers(B,W))!==null&&M!==void 0?M:this.computeIndentationForNewMember(B,W);this.insertNodeAt(B,de(W).pos,J,this.getInsertNodeAtStartInsertOptions(B,W,pe))},j.prototype.guessIndentationFromExistingMembers=function(B,W){for(var J,M=W,pe=0,Ne=de(W);pe0?{fileName:Se.fileName,textChanges:pt}:void 0})}j.getTextChangesFromChanges=B;function W(w,R,L,V,Te){var Se=J(w,e.getScriptKindFromFileName(R),L,V,Te);return{fileName:R,textChanges:[e.createTextChange(e.createTextSpan(0,0),Se)],isNewFile:!0}}j.newFileChanges=W;function J(w,R,L,V,Te){var Se=L.map(function(et){return et===4?"":Ne(et,w,V).text}).join(V),we=e.createSourceFile("any file name",Se,99,!0,R),He=e.formatting.formatDocument(we,Te);return Z(Se,He)+V}j.newFileChangesWorker=J;function M(w,R,L,V,Te){var Se;if(w.kind===se.Remove)return"";if(w.kind===se.Text)return w.text;var we=w.options,He=we===void 0?{}:we,et=w.range.pos,pt=function(ot){return pe(ot,R,et,He,L,V,Te)},Me=w.kind===se.ReplaceWithMultipleNodes?w.nodes.map(function(ot){return e.removeSuffix(pt(ot),L)}).join(((Se=w.options)===null||Se===void 0?void 0:Se.joiner)||L):pt(w.node),Fe=He.preserveLeadingWhitespace||He.indentation!==void 0||e.getLineStartPositionForPosition(et,R)===et?Me:Me.replace(/^\s+/,"");return(He.prefix||"")+Fe+(!He.suffix||e.endsWith(Fe,He.suffix)?"":He.suffix)}function pe(w,R,L,V,Te,Se,we){var He=V.indentation,et=V.prefix,pt=V.delta,Me=Ne(w,R,Te),Fe=Me.node,ot=Me.text;we&&we(Fe,ot);var ke=e.getFormatCodeSettingsForWriting(Se,R),ve=He!==void 0?He:e.formatting.SmartIndenter.getIndentation(L,R,ke,et===Te||e.getLineStartPositionForPosition(L,R)===L);pt===void 0&&(pt=e.formatting.SmartIndenter.shouldIndentChildNode(ke,w)&&ke.indentSize||0);var be={text:ot,getLineAndCharacterOfPosition:function(Ce){return e.getLineAndCharacterOfPosition(this,Ce)}},Oe=e.formatting.formatNodeGivenIndentation(Fe,be,R.languageVariant,ve,pt,Tt(Tt({},Se),{options:ke}));return Z(ot,Oe)}function Ne(w,R,L){var V=A(L),Te=e.getNewLineKind(L);return e.createPrinter({newLine:Te,neverAsciiEscape:!0,preserveSourceNewlines:!0,terminateUnterminatedLiterals:!0},V).writeNode(4,w,R,V),{text:V.getText(),node:ie(w)}}j.getNonformattedText=Ne})(I||(I={}));function Z(j,B){for(var W=B.length-1;W>=0;W--){var J=B[W],M=J.span,pe=J.newText;j="".concat(j.substring(0,M.start)).concat(pe).concat(j.substring(e.textSpanEnd(M)))}return j}a.applyChanges=Z;function z(j){return e.skipTrivia(j,0)===j.length}function ie(j){var B=e.visitEachChild(j,ie,e.nullTransformationContext,m,ie),W=e.nodeIsSynthesized(B)?B:Object.create(B);return e.setTextRangePosEnd(W,u(j),r(j)),W}a.assignPositionsToNode=ie;function m(j,B,W,J,M){var pe=e.visitNodes(j,B,W,J,M);if(!pe)return pe;var Ne=pe===j?e.factory.createNodeArray(pe.slice(0)):pe;return e.setTextRangePosEnd(Ne,u(j),r(j)),Ne}function A(j){var B=0,W=e.createTextWriter(j),J=function(Ie){Ie&&P(Ie,B)},M=function(Ie){Ie&&v(Ie,B)},pe=function(Ie){Ie&&P(Ie,B)},Ne=function(Ie){Ie&&v(Ie,B)},w=function(Ie){Ie&&P(Ie,B)},R=function(Ie){Ie&&v(Ie,B)};function L(Ie,Ht){if(Ht||!z(Ie)){B=W.getTextPos();for(var _t=0;e.isWhiteSpaceLike(Ie.charCodeAt(Ie.length-_t-1));)_t++;B-=_t}}function V(Ie){W.write(Ie),L(Ie,!1)}function Te(Ie){W.writeComment(Ie)}function Se(Ie){W.writeKeyword(Ie),L(Ie,!1)}function we(Ie){W.writeOperator(Ie),L(Ie,!1)}function He(Ie){W.writePunctuation(Ie),L(Ie,!1)}function et(Ie){W.writeTrailingSemicolon(Ie),L(Ie,!1)}function pt(Ie){W.writeParameter(Ie),L(Ie,!1)}function Me(Ie){W.writeProperty(Ie),L(Ie,!1)}function Fe(Ie){W.writeSpace(Ie),L(Ie,!1)}function ot(Ie){W.writeStringLiteral(Ie),L(Ie,!1)}function ke(Ie,Ht){W.writeSymbol(Ie,Ht),L(Ie,!1)}function ve(Ie){W.writeLine(Ie)}function be(){W.increaseIndent()}function Oe(){W.decreaseIndent()}function Ce(){return W.getText()}function ge(Ie){W.rawWrite(Ie),L(Ie,!1)}function ze(Ie){W.writeLiteral(Ie),L(Ie,!0)}function ft(){return W.getTextPos()}function vt(){return W.getLine()}function st(){return W.getColumn()}function At(){return W.getIndent()}function qt(){return W.isAtStartOfLine()}function Ue(){W.clear(),B=0}return{onBeforeEmitNode:J,onAfterEmitNode:M,onBeforeEmitNodeArray:pe,onAfterEmitNodeArray:Ne,onBeforeEmitToken:w,onAfterEmitToken:R,write:V,writeComment:Te,writeKeyword:Se,writeOperator:we,writePunctuation:He,writeTrailingSemicolon:et,writeParameter:pt,writeProperty:Me,writeSpace:Fe,writeStringLiteral:ot,writeSymbol:ke,writeLine:ve,increaseIndent:be,decreaseIndent:Oe,getText:Ce,rawWrite:ge,writeLiteral:ze,getTextPos:ft,getLine:vt,getColumn:st,getIndent:At,isAtStartOfLine:qt,hasTrailingComment:function(){return W.hasTrailingComment()},hasTrailingWhitespace:function(){return W.hasTrailingWhitespace()},clear:Ue}}a.createWriter=A;function g(j){for(var B,W=0,J=j.statements;W=et+2)break}if(j.statements.length){V===void 0&&(V=j.getLineAndCharacterOfPosition(j.statements[0].getStart()).line);var pt=j.getLineAndCharacterOfPosition(we.end).line;if(V1)break}var I=O<2;return function(Z){var z=Z.fixId,ie=Z.fixAllDescription,m=dt(Z,["fixId","fixAllDescription"]);return I?m:Tt(Tt({},m),{fixId:z,fixAllDescription:ie})}}function se(Y){var re=ce(Y),F=u.get(String(Y.errorCode));return e.flatMap(F,function(O){return e.map(O.getCodeActions(Y),k(O,re))})}a.getFixes=se;function le(Y){return P.get(e.cast(Y.fixId,e.isString)).getAllCodeActions(Y)}a.getAllFixes=le;function f(Y,re){return{changes:Y,commands:re}}a.createCombinedCodeActions=f;function b(Y,re){return{fileName:Y,textChanges:re}}a.createFileTextChanges=b;function y(Y,re,F){var O=[],Q=e.textChanges.ChangeTracker.with(Y,function(de){return K(Y,re,function($){return F(de,$,O)})});return f(Q,O.length===0?void 0:O)}a.codeFixAll=y;function K(Y,re,F){for(var O=0,Q=ce(Y);Oe.textSpanEnd(S)?"quit":(e.isArrowFunction(le)||e.isMethodDeclaration(le)||e.isFunctionExpression(le)||e.isFunctionDeclaration(le))&&e.textSpansEqual(S,e.createTextSpanFromNode(le,h))});return se}}function ue(h,S){return function(k){var se=k.start,le=k.length,f=k.relatedInformation,b=k.code;return e.isNumber(se)&&e.isNumber(le)&&e.textSpansEqual({start:se,length:le},h)&&b===S&&!!f&&e.some(f,function(y){return y.code===e.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code})}}})(e.codefix||(e.codefix={}))})(ne||(ne={}));var ne;(function(e){(function(a){var u="addMissingAwait",P=e.Diagnostics.Property_0_does_not_exist_on_type_1.code,r=[e.Diagnostics.This_expression_is_not_callable.code,e.Diagnostics.This_expression_is_not_constructable.code],v=tt([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_condition_will_always_return_0_since_the_types_1_and_2_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_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators.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,P],r,!0);a.registerCodeFix({fixIds:[u],errorCodes:v,getCodeActions:function(K){var ce=K.sourceFile,Y=K.errorCode,re=K.span,F=K.cancellationToken,O=K.program,Q=G(ce,Y,re,F,O);if(Q){var de=K.program.getTypeChecker(),$=function(I){return e.textChanges.ChangeTracker.with(K,I)};return e.compact([ue(K,Q,Y,de,$),h(K,Q,Y,de,$)])}},getAllCodeActions:function(K){var ce=K.sourceFile,Y=K.program,re=K.cancellationToken,F=K.program.getTypeChecker(),O=new e.Set;return a.codeFixAll(K,v,function(Q,de){var $=G(ce,de.code,de,re,Y);if($){var I=function(Z){return Z(Q),[]};return ue(K,$,de.code,F,I,O)||h(K,$,de.code,F,I,O)}})}});function G(K,ce,Y,re,F){var O=e.getFixableErrorSpanExpression(K,Y);return O&&S(K,ce,Y,re,F)&&f(O)?O:void 0}function ue(K,ce,Y,re,F,O){var Q=K.sourceFile,de=K.program,$=K.cancellationToken,I=k(ce,Q,$,de,re);if(I){var Z=F(function(z){e.forEach(I.initializers,function(ie){var m=ie.expression;return b(z,Y,Q,re,m,O)}),O&&I.needsSecondPassForFixAll&&b(z,Y,Q,re,ce,O)});return a.createCodeFixActionWithoutFixAll("addMissingAwaitToInitializer",Z,I.initializers.length===1?[e.Diagnostics.Add_await_to_initializer_for_0,I.initializers[0].declarationSymbol.name]:e.Diagnostics.Add_await_to_initializers)}}function h(K,ce,Y,re,F,O){var Q=F(function(de){return b(de,Y,K.sourceFile,re,ce,O)});return a.createCodeFixAction(u,Q,e.Diagnostics.Add_await,u,e.Diagnostics.Fix_all_expressions_possibly_missing_await)}function S(K,ce,Y,re,F){var O=F.getDiagnosticsProducingTypeChecker(),Q=O.getDiagnostics(K,re);return e.some(Q,function(de){var $=de.start,I=de.length,Z=de.relatedInformation,z=de.code;return e.isNumber($)&&e.isNumber(I)&&e.textSpansEqual({start:$,length:I},Y)&&z===ce&&!!Z&&e.some(Z,function(ie){return ie.code===e.Diagnostics.Did_you_forget_to_use_await.code})})}function k(K,ce,Y,re,F){var O=se(K,F);if(O){for(var Q=O.isCompleteFix,de,$=function(ie){var m=F.getSymbolAtLocation(ie);if(!m)return"continue";var A=e.tryCast(m.valueDeclaration,e.isVariableDeclaration),g=A&&e.tryCast(A.name,e.isIdentifier),C=e.getAncestor(A,236);if(!A||!C||A.type||!A.initializer||C.getSourceFile()!==ce||e.hasSyntacticModifier(C,1)||!g||!f(A.initializer))return Q=!1,"continue";var N=re.getSemanticDiagnostics(ce,Y),_=e.FindAllReferences.Core.eachSymbolReferenceInFile(g,F,ce,function(d){return ie!==d&&!le(d,N,ce,F)});if(_)return Q=!1,"continue";(de||(de=[])).push({expression:A.initializer,declarationSymbol:m})},I=0,Z=O.identifiers;I0)return[a.createCodeFixAction(u,se,e.Diagnostics.Add_const_to_unresolved_variable,u,e.Diagnostics.Add_const_to_all_unresolved_variables)]},fixIds:[u],getAllCodeActions:function(k){var se=new e.Set;return a.codeFixAll(k,P,function(le,f){return r(le,f.file,f.start,k.program,se)})}});function r(k,se,le,f,b){var y=e.getTokenAtPosition(se,le),K=e.findAncestor(y,function(O){return e.isForInOrOfStatement(O.parent)?O.parent.initializer===O:G(O)?!1:"quit"});if(K)return v(k,K,se,b);var ce=y.parent;if(e.isBinaryExpression(ce)&&ce.operatorToken.kind===63&&e.isExpressionStatement(ce.parent))return v(k,y,se,b);if(e.isArrayLiteralExpression(ce)){var Y=f.getTypeChecker();return e.every(ce.elements,function(O){return ue(O,Y)})?v(k,ce,se,b):void 0}var re=e.findAncestor(y,function(O){return e.isExpressionStatement(O.parent)?!0:h(O)?!1:"quit"});if(re){var F=f.getTypeChecker();return S(re,F)?v(k,re,se,b):void 0}}function v(k,se,le,f){(!f||e.tryAddToSet(f,se))&&k.insertModifierBefore(le,85,se)}function G(k){switch(k.kind){case 79:case 203:case 204:case 294:case 295:return!0;default:return!1}}function ue(k,se){var le=e.isIdentifier(k)?k:e.isAssignmentExpression(k,!0)&&e.isIdentifier(k.left)?k.left:void 0;return!!le&&!se.getSymbolAtLocation(le)}function h(k){switch(k.kind){case 79:case 220:case 27:return!0;default:return!1}}function S(k,se){return e.isBinaryExpression(k)?k.operatorToken.kind===27?e.every([k.left,k.right],function(le){return S(le,se)}):k.operatorToken.kind===63&&e.isIdentifier(k.left)&&!se.getSymbolAtLocation(k.left):!1}})(e.codefix||(e.codefix={}))})(ne||(ne={}));var ne;(function(e){(function(a){var u="addMissingDeclareProperty",P=[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];a.registerCodeFix({errorCodes:P,getCodeActions:function(v){var G=e.textChanges.ChangeTracker.with(v,function(ue){return r(ue,v.sourceFile,v.span.start)});if(G.length>0)return[a.createCodeFixAction(u,G,e.Diagnostics.Prefix_with_declare,u,e.Diagnostics.Prefix_all_incorrect_property_declarations_with_declare)]},fixIds:[u],getAllCodeActions:function(v){var G=new e.Set;return a.codeFixAll(v,P,function(ue,h){return r(ue,h.file,h.start,G)})}});function r(v,G,ue,h){var S=e.getTokenAtPosition(G,ue);if(e.isIdentifier(S)){var k=S.parent;k.kind===166&&(!h||e.tryAddToSet(h,k))&&v.insertModifierBefore(G,135,k)}}})(e.codefix||(e.codefix={}))})(ne||(ne={}));var ne;(function(e){(function(a){var u="addMissingInvocationForDecorator",P=[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];a.registerCodeFix({errorCodes:P,getCodeActions:function(v){var G=e.textChanges.ChangeTracker.with(v,function(ue){return r(ue,v.sourceFile,v.span.start)});return[a.createCodeFixAction(u,G,e.Diagnostics.Call_decorator_expression,u,e.Diagnostics.Add_to_all_uncalled_decorators)]},fixIds:[u],getAllCodeActions:function(v){return a.codeFixAll(v,P,function(G,ue){return r(G,ue.file,ue.start)})}});function r(v,G,ue){var h=e.getTokenAtPosition(G,ue),S=e.findAncestor(h,e.isDecorator);e.Debug.assert(!!S,"Expected position to be owned by a decorator.");var k=e.factory.createCallExpression(S.expression,void 0,void 0);v.replaceNode(G,S.expression,k)}})(e.codefix||(e.codefix={}))})(ne||(ne={}));var ne;(function(e){(function(a){var u="addNameToNamelessParameter",P=[e.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code];a.registerCodeFix({errorCodes:P,getCodeActions:function(v){var G=e.textChanges.ChangeTracker.with(v,function(ue){return r(ue,v.sourceFile,v.span.start)});return[a.createCodeFixAction(u,G,e.Diagnostics.Add_parameter_name,u,e.Diagnostics.Add_names_to_all_parameters_without_names)]},fixIds:[u],getAllCodeActions:function(v){return a.codeFixAll(v,P,function(G,ue){return r(G,ue.file,ue.start)})}});function r(v,G,ue){var h=e.getTokenAtPosition(G,ue),S=h.parent;if(!e.isParameter(S))return e.Debug.fail("Tried to add a parameter name to a non-parameter: "+e.Debug.formatSyntaxKind(h.kind));var k=S.parent.parameters.indexOf(S);e.Debug.assert(!S.type,"Tried to add a parameter name to a parameter that already had one."),e.Debug.assert(k>-1,"Parameter not found in parent parameter list.");var se=e.factory.createTypeReferenceNode(S.name,void 0),le=e.factory.createParameterDeclaration(void 0,S.modifiers,S.dotDotDotToken,"arg"+k,S.questionToken,S.dotDotDotToken?e.factory.createArrayTypeNode(se):se,S.initializer);v.replaceNode(G,S,le)}})(e.codefix||(e.codefix={}))})(ne||(ne={}));var ne;(function(e){(function(a){var u="addOptionalPropertyUndefined",P=[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];a.registerCodeFix({errorCodes:P,getCodeActions:function(h){var S=h.program.getTypeChecker(),k=r(h.sourceFile,h.span,S);if(k.length){var se=e.textChanges.ChangeTracker.with(h,function(le){return ue(le,k)});return[a.createCodeFixActionWithoutFixAll(u,se,e.Diagnostics.Add_undefined_to_optional_property_type)]}},fixIds:[u]});function r(h,S,k){var se,le,f=G(e.getFixableErrorSpanExpression(h,S),k);if(!f)return e.emptyArray;var b=f.source,y=f.target,K=v(b,y,k)?k.getTypeAtLocation(y.expression):k.getTypeAtLocation(y);return!((le=(se=K.symbol)===null||se===void 0?void 0:se.declarations)===null||le===void 0)&&le.some(function(ce){return e.getSourceFileOfNode(ce).fileName.match(/\.d\.ts$/)})?e.emptyArray:k.getExactOptionalProperties(K)}function v(h,S,k){return e.isPropertyAccessExpression(S)&&!!k.getExactOptionalProperties(k.getTypeAtLocation(S.expression)).length&&k.getTypeAtLocation(h)===k.getUndefinedType()}function G(h,S){var k;if(h){if(e.isBinaryExpression(h.parent)&&h.parent.operatorToken.kind===63)return{source:h.parent.right,target:h.parent.left};if(e.isVariableDeclaration(h.parent)&&h.parent.initializer)return{source:h.parent.initializer,target:h.parent.name};if(e.isCallExpression(h.parent)){var se=S.getSymbolAtLocation(h.parent.expression);if(!(se!=null&&se.valueDeclaration)||!e.isFunctionLikeKind(se.valueDeclaration.kind)||!e.isExpression(h))return;var le=h.parent.arguments.indexOf(h);if(le===-1)return;var f=se.valueDeclaration.parameters[le].name;if(e.isIdentifier(f))return{source:h,target:f}}else if(e.isPropertyAssignment(h.parent)&&e.isIdentifier(h.parent.name)||e.isShorthandPropertyAssignment(h.parent)){var b=G(h.parent.parent,S);if(!b)return;var y=S.getPropertyOfType(S.getTypeAtLocation(b.target),h.parent.name.text),K=(k=y==null?void 0:y.declarations)===null||k===void 0?void 0:k[0];return K?{source:e.isPropertyAssignment(h.parent)?h.parent.initializer:h.parent.name,target:K}:void 0}}else return}function ue(h,S){for(var k=0,se=S;k1?(h.delete(S,y),h.insertNodeAfter(S,ce,K)):h.replaceNode(S,ce,K)}function Y(O){var Q=[];return O.members&&O.members.forEach(function(I,Z){if(Z==="constructor"&&I.valueDeclaration){h.delete(S,I.valueDeclaration.parent);return}var z=$(I,void 0);z&&Q.push.apply(Q,z)}),O.exports&&O.exports.forEach(function(I){if(I.name==="prototype"&&I.declarations){var Z=I.declarations[0];if(I.declarations.length===1&&e.isPropertyAccessExpression(Z)&&e.isBinaryExpression(Z.parent)&&Z.parent.operatorToken.kind===63&&e.isObjectLiteralExpression(Z.parent.right)){var z=Z.parent.right,ie=$(z.symbol,void 0);ie&&Q.push.apply(Q,ie)}}else{var ie=$(I,[e.factory.createToken(124)]);ie&&Q.push.apply(Q,ie)}}),Q;function de(I,Z){return e.isAccessExpression(I)?e.isPropertyAccessExpression(I)&&G(I)?!0:e.isFunctionLike(Z):e.every(I.properties,function(z){return!!(e.isMethodDeclaration(z)||e.isGetOrSetAccessorDeclaration(z)||e.isPropertyAssignment(z)&&e.isFunctionExpression(z.initializer)&&!!z.name||G(z))})}function $(I,Z){var z=[];if(!(I.flags&8192)&&!(I.flags&4096))return z;var ie=I.valueDeclaration,m=ie.parent,A=m.right;if(!de(ie,A))return z;var g=m.parent&&m.parent.kind===237?m.parent:m;if(h.delete(S,g),!A)return z.push(e.factory.createPropertyDeclaration([],Z,I.name,void 0,void 0,void 0)),z;if(e.isAccessExpression(ie)&&(e.isFunctionExpression(A)||e.isArrowFunction(A))){var C=e.getQuotePreference(S,le),N=ue(ie,f,C);return N?d(z,A,N):z}else{if(e.isObjectLiteralExpression(A))return e.flatMap(A.properties,function(B){return e.isMethodDeclaration(B)||e.isGetOrSetAccessorDeclaration(B)?z.concat(B):e.isPropertyAssignment(B)&&e.isFunctionExpression(B.initializer)?d(z,B.initializer,B.name):G(B)?z:[]});if(e.isSourceFileJS(S)||!e.isPropertyAccessExpression(ie))return z;var _=e.factory.createPropertyDeclaration(void 0,Z,ie.name,void 0,void 0,A);return e.copyLeadingComments(m.parent,_,S),z.push(_),z}function d(B,W,J){return e.isFunctionExpression(W)?E(B,W,J):j(B,W,J)}function E(B,W,J){var M=e.concatenate(Z,v(W,131)),pe=e.factory.createMethodDeclaration(void 0,M,void 0,J,void 0,void 0,W.parameters,void 0,W.body);return e.copyLeadingComments(m,pe,S),B.concat(pe)}function j(B,W,J){var M=W.body,pe;M.kind===234?pe=M:pe=e.factory.createBlock([e.factory.createReturnStatement(M)]);var Ne=e.concatenate(Z,v(W,131)),w=e.factory.createMethodDeclaration(void 0,Ne,void 0,J,void 0,void 0,W.parameters,void 0,pe);return e.copyLeadingComments(m,w,S),B.concat(w)}}}function re(O){var Q=O.initializer;if(!(!Q||!e.isFunctionExpression(Q)||!e.isIdentifier(O.name))){var de=Y(O.symbol);Q.body&&de.unshift(e.factory.createConstructorDeclaration(void 0,void 0,Q.parameters,Q.body));var $=v(O.parent.parent,93),I=e.factory.createClassDeclaration(void 0,$,O.name,void 0,void 0,de);return I}}function F(O){var Q=Y(b);O.body&&Q.unshift(e.factory.createConstructorDeclaration(void 0,void 0,O.parameters,O.body));var de=v(O,93),$=e.factory.createClassDeclaration(void 0,de,O.name,void 0,void 0,Q);return $}}function v(h,S){return e.filter(h.modifiers,function(k){return k.kind===S})}function G(h){return h.name?!!(e.isIdentifier(h.name)&&h.name.text==="constructor"):!1}function ue(h,S,k){if(e.isPropertyAccessExpression(h))return h.name;var se=h.argumentExpression;if(e.isNumericLiteral(se))return se;if(e.isStringLiteralLike(se))return e.isIdentifierText(se.text,e.getEmitScriptTarget(S))?e.factory.createIdentifier(se.text):e.isNoSubstitutionTemplateLiteral(se)?e.factory.createStringLiteral(se.text,k===0):se}})(e.codefix||(e.codefix={}))})(ne||(ne={}));var ne;(function(e){(function(a){var u="convertToAsyncFunction",P=[e.Diagnostics.This_may_be_converted_to_an_async_function.code],r=!0;a.registerCodeFix({errorCodes:P,getCodeActions:function(w){r=!0;var R=e.textChanges.ChangeTracker.with(w,function(L){return G(L,w.sourceFile,w.span.start,w.program.getTypeChecker())});return r?[a.createCodeFixAction(u,R,e.Diagnostics.Convert_to_async_function,u,e.Diagnostics.Convert_all_to_async_functions)]:[]},fixIds:[u],getAllCodeActions:function(w){return a.codeFixAll(w,P,function(R,L){return G(R,L.file,L.start,w.program.getTypeChecker())})}});var v;(function(w){w[w.Identifier=0]="Identifier",w[w.BindingPattern=1]="BindingPattern"})(v||(v={}));function G(w,R,L,V){var Te=e.getTokenAtPosition(R,L),Se;if(e.isIdentifier(Te)&&e.isVariableDeclaration(Te.parent)&&Te.parent.initializer&&e.isFunctionLikeDeclaration(Te.parent.initializer)?Se=Te.parent.initializer:Se=e.tryCast(e.getContainingFunction(e.getTokenAtPosition(R,L)),e.canBeConvertedToAsync),!!Se){var we=new e.Map,He=e.isInJSFile(Se),et=h(Se,V),pt=f(Se,V,we);if(e.returnsPromise(pt,V)){var Me=pt.body&&e.isBlock(pt.body)?ue(pt.body,V):e.emptyArray,Fe={checker:V,synthNamesMap:we,setOfExpressionsToReturn:et,isInJSFile:He};if(Me.length){var ot=Se.modifiers?Se.modifiers.end:Se.decorators?e.skipTrivia(R.text,Se.decorators.end):Se.getStart(R),ke=Se.modifiers?{prefix:" "}:{suffix:" "};w.insertModifierAt(R,ot,131,ke);for(var ve=function(ze){if(e.forEachChild(ze,function ft(vt){if(e.isCallExpression(vt)){var st=ce(vt,vt,Fe,!1);if(y())return!0;w.replaceNodeWithNodes(R,ze,st)}else if(!e.isFunctionLike(vt)&&(e.forEachChild(vt,ft),y()))return!0}),y())return{value:void 0}},be=0,Oe=Me;be0)return ft;if(ke){var ze=m(Se.checker,ke,ot);if(Ne(Te,Se))return z(ze,se(Te,w,Se.checker));var vt=Z(L,ze,void 0);return L&&L.types.push(Se.checker.getAwaitedType(ke)||ke),vt}else return K()}}default:return K()}return e.emptyArray}function m(w,R,L){var V=e.getSynthesizedDeepClone(L);return w.getPromisedTypeOfPromise(R)?e.factory.createAwaitExpression(V):V}function A(w,R){var L=R.getSignaturesOfType(w,0);return e.lastOrUndefined(L)}function g(w,R,L,V){for(var Te=[],Se=0,we=w;Se0)return}else e.isFunctionLike(we)||e.forEachChild(we,Se)}),Te}function N(w,R){var L=[],V;if(e.isFunctionLikeDeclaration(w)){if(w.parameters.length>0){var Te=w.parameters[0].name;V=Se(Te)}}else e.isIdentifier(w)?V=we(w):e.isPropertyAccessExpression(w)&&e.isIdentifier(w.name)&&(V=we(w.name));if(!V||"identifier"in V&&V.identifier.text==="undefined")return;return V;function Se(pt){if(e.isIdentifier(pt))return we(pt);var Me=e.flatMap(pt.elements,function(Fe){return e.isOmittedExpression(Fe)?[]:[Se(Fe.name)]});return E(pt,Me)}function we(pt){var Me=et(pt),Fe=He(Me);if(!Fe)return d(pt,L);var ot=R.synthNamesMap.get(e.getSymbolId(Fe).toString());return ot||d(pt,L)}function He(pt){return pt.symbol?pt.symbol:R.checker.getSymbolAtLocation(pt)}function et(pt){return pt.original?pt.original:pt}}function _(w){return w?M(w)?!w.identifier.text:e.every(w.elements,_):!0}function d(w,R){return R===void 0&&(R=[]),{kind:0,identifier:w,types:R,hasBeenDeclared:!1,hasBeenReferenced:!1}}function E(w,R,L){return R===void 0&&(R=e.emptyArray),L===void 0&&(L=[]),{kind:1,bindingPattern:w,elements:R,types:L}}function j(w){return w.hasBeenReferenced=!0,w.identifier}function B(w){return M(w)?J(w):W(w)}function W(w){for(var R=0,L=w.elements;R1?[[b(_),y(_)],!0]:[[y(_)],!0]:[[b(_)],!1]}function b(C){return A(void 0,C)}function y(C){return A([e.factory.createExportSpecifier(!1,void 0,"default")],C)}function K(C,N,_){var d=C.left,E=C.right,j=C.parent,B=d.name.text;if((e.isFunctionExpression(E)||e.isArrowFunction(E)||e.isClassExpression(E))&&(!E.name||E.name.text===B)){_.replaceRange(N,{pos:d.getStart(N),end:E.getStart(N)},e.factory.createToken(93),{suffix:" "}),E.name||_.insertName(N,E,B);var W=e.findChildOfKind(j,26,N);W&&_.delete(N,W)}else _.replaceNodeRangeWithNodes(N,d.expression,e.findChildOfKind(d,24,N),[e.factory.createToken(93),e.factory.createToken(85)],{joiner:" ",suffix:" "})}function ce(C,N,_){var d=[e.factory.createToken(93)];switch(N.kind){case 212:{var E=N.name;if(E&&E.text!==C)return j()}case 213:return I(C,d,N,_);case 225:return Z(C,d,N,_);default:return j()}function j(){return m(d,e.factory.createIdentifier(C),Y(N,_))}}function Y(C,N){if(!N||!e.some(e.arrayFrom(N.keys()),function(d){return e.rangeContainsRange(C,d)}))return C;return e.isArray(C)?e.getSynthesizedDeepClonesWithReplacements(C,!0,_):e.getSynthesizedDeepCloneWithReplacements(C,!0,_);function _(d){if(d.kind===205){var E=N.get(d);return N.delete(d),E}}}function re(C,N,_,d,E,j){switch(C.kind){case 200:{var B=e.mapAllOrFail(C.elements,function(J){return J.dotDotDotToken||J.initializer||J.propertyName&&!e.isIdentifier(J.propertyName)||!e.isIdentifier(J.name)?void 0:ie(J.propertyName&&J.propertyName.text,J.name.text)});if(B)return g([e.makeImport(void 0,B,N,j)])}case 201:{var W=O(a.moduleSpecifierToValidIdentifier(N.text,E),d);return g([e.makeImport(e.factory.createIdentifier(W),void 0,N,j),m(void 0,e.getSynthesizedDeepClone(C),e.factory.createIdentifier(W))])}case 79:return F(C,N,_,d,j);default:return e.Debug.assertNever(C,"Convert to ES module got invalid name kind ".concat(C.kind))}}function F(C,N,_,d,E){for(var j=_.getSymbolAtLocation(C),B=new e.Map,W=!1,J,M=0,pe=d.original.get(C.text);M0||st.length>0||At.size>0||qt.size>0}}var G;(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"})(G||(G={}));var ue;(function(be){be[be.Allowed=1]="Allowed",be[be.Required=2]="Required",be[be.NotAllowed=4]="NotAllowed"})(ue||(ue={}));function h(be,Oe,Ce,ge,ze,ft,vt,st,At,qt){var Ue=vt.getCompilerOptions(),Ie=e.pathIsBareSpecifier(e.stripQuotes(Oe.name))?[le(be,Oe,vt,ft)]:f(Ce,be,Oe,ge,ze,ft,vt,qt,!0),Ht=Q(Ce,vt),_t=e.isValidTypeOnlyAliasUseSite(e.getTokenAtPosition(Ce,At)),It=e.Debug.checkDefined(k(Ce,Ie,Oe,ge,vt,At,_t,Ht,ft,qt));return{moduleSpecifier:It.moduleSpecifier,codeAction:se(w({host:ft,formatContext:st,preferences:qt},Ce,ge,It,!1,e.getQuotePreference(Ce,qt),Ue))}}a.getImportCompletionAction=h;function S(be,Oe,Ce,ge,ze,ft){var vt=Ce.getCompilerOptions(),st=J(be,Ce.getTypeChecker(),Oe,vt),At=B(be,Oe,st,Ce),qt=st!==Oe.text;return At&&se(w({host:ge,formatContext:ze,preferences:ft},be,st,At,qt,1,vt))}a.getPromoteTypeOnlyCompletionAction=S;function k(be,Oe,Ce,ge,ze,ft,vt,st,At,qt){e.Debug.assert(Oe.some(function(Ie){return Ie.moduleSymbol===Ce||Ie.symbol.parent===Ce}),"Some exportInfo should match the specified moduleSymbol");var Ue=e.createPackageJsonImportFilter(be,qt,At);return ie(y(Oe,ge,ft,vt,st,ze,be,At,qt),be,ze,Ue,At)}function se(be){var Oe=be.description,Ce=be.changes,ge=be.commands;return{description:Oe,changes:Ce,commands:ge}}function le(be,Oe,Ce,ge){var ze,ft,vt=Ce.getCompilerOptions(),st=qt(Ce.getTypeChecker(),!1);if(st)return st;var At=(ft=(ze=ge.getPackageJsonAutoImportProvider)===null||ze===void 0?void 0:ze.call(ge))===null||ft===void 0?void 0:ft.getTypeChecker();return e.Debug.checkDefined(At&&qt(At,!0),"Could not find symbol in specified module for code actions");function qt(Ue,Ie){var Ht=e.getDefaultLikeExportInfo(Oe,Ue,vt);if(Ht&&e.skipAlias(Ht.symbol,Ue)===be)return{symbol:Ht.symbol,moduleSymbol:Oe,moduleFileName:void 0,exportKind:Ht.exportKind,targetFlags:e.skipAlias(be,Ue).flags,isFromPackageJson:Ie};var _t=Ue.tryGetMemberInModuleExportsAndProperties(be.name,Oe);if(_t&&e.skipAlias(_t,Ue)===be)return{symbol:_t,moduleSymbol:Oe,moduleFileName:void 0,exportKind:0,targetFlags:e.skipAlias(be,Ue).flags,isFromPackageJson:Ie}}}function f(be,Oe,Ce,ge,ze,ft,vt,st,At){var qt=[],Ue=vt.getCompilerOptions(),Ie=e.memoizeOne(function(_t){return e.createModuleSpecifierResolutionHost(_t?ft.getPackageJsonAutoImportProvider():vt,ft)});return e.forEachExternalModuleToImportFrom(vt,ft,At,function(_t,It,fe,Be){var We=fe.getTypeChecker();if(!(It&&_t!==Ce&&e.startsWith(be.fileName,e.getDirectoryPath(It.fileName)))){var Ft=e.getDefaultLikeExportInfo(_t,We,Ue);Ft&&(Ft.name===ge||ke(_t,e.getEmitScriptTarget(Ue),ze)===ge)&&e.skipAlias(Ft.symbol,We)===Oe&&Ht(fe,It,Be)&&qt.push({symbol:Ft.symbol,moduleSymbol:_t,moduleFileName:It==null?void 0:It.fileName,exportKind:Ft.exportKind,targetFlags:e.skipAlias(Ft.symbol,We).flags,isFromPackageJson:Be});for(var Lt=0,Rt=We.getExportsAndPropertiesOfModule(_t);Lt0}:{kind:3,moduleSpecifier:yt,importKind:d(Oe,Be.exportKind,Ue),useRequire:ze,addAsTypeOnly:he,exportInfo:Be,isReExport:We>0}})});return{computedWithoutCacheCount:It,fixes:fe}}function $(be,Oe,Ce,ge,ze,ft,vt,st,At){var qt=e.firstDefined(Oe,function(Ue){return I(Ue,ft,vt,Ce.getTypeChecker(),Ce.getCompilerOptions())});return qt?[qt]:de(Ce,ge,ze,ft,vt,be,st,At).fixes}function I(be,Oe,Ce,ge,ze){var ft=be.declaration,vt=be.importKind,st=be.symbol,At=be.targetFlags,qt=e.tryGetModuleSpecifierFromDeclaration(ft);if(qt){var Ue=Ce?4:re(Oe,!0,st,At,ge,ze);return{kind:3,moduleSpecifier:qt,importKind:vt,addAsTypeOnly:Ue,useRequire:Ce}}}function Z(be,Oe,Ce,ge){var ze=e.getTokenAtPosition(be.sourceFile,Ce),ft;if(Oe===e.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code)ft=N(be,ze);else if(e.isIdentifier(ze))if(Oe===e.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type.code){var vt=J(be.sourceFile,be.program.getTypeChecker(),ze,be.program.getCompilerOptions()),st=B(be.sourceFile,ze,vt,be.program);return st&&{fixes:[st],symbolName:vt,errorIdentifierText:ze.text}}else ft=j(be,ze,ge);else return;var At=e.createPackageJsonImportFilter(be.sourceFile,be.preferences,be.host);return ft&&Tt(Tt({},ft),{fixes:z(ft.fixes,be.sourceFile,be.program,At,be.host)})}function z(be,Oe,Ce,ge,ze){var ft=function(vt){return e.toPath(vt,ze.getCurrentDirectory(),e.hostGetCanonicalFileName(ze))};return e.sort(be,function(vt,st){return e.compareValues(vt.kind,st.kind)||m(vt,st,Oe,Ce,ge.allowsImportingSpecifier,ft)})}function ie(be,Oe,Ce,ge,ze){if(e.some(be))return be[0].kind===0||be[0].kind===2?be[0]:be.reduce(function(ft,vt){return m(vt,ft,Oe,Ce,ge.allowsImportingSpecifier,function(st){return e.toPath(st,ze.getCurrentDirectory(),e.hostGetCanonicalFileName(ze))})===-1?vt:ft})}function m(be,Oe,Ce,ge,ze,ft){return be.kind!==0&&Oe.kind!==0?e.compareBooleans(ze(Oe.moduleSpecifier),ze(be.moduleSpecifier))||C(be.moduleSpecifier,Oe.moduleSpecifier,Ce,ge)||e.compareBooleans(A(be,Ce,ge.getCompilerOptions(),ft),A(Oe,Ce,ge.getCompilerOptions(),ft))||e.compareNumberOfDirectorySeparators(be.moduleSpecifier,Oe.moduleSpecifier):0}function A(be,Oe,Ce,ge){var ze;if(be.isReExport&&((ze=be.exportInfo)===null||ze===void 0?void 0:ze.moduleFileName)&&e.getEmitModuleResolutionKind(Ce)===e.ModuleResolutionKind.NodeJs&&g(be.exportInfo.moduleFileName)){var ft=ge(e.getDirectoryPath(be.exportInfo.moduleFileName));return e.startsWith(Oe.path,ft)}return!1}function g(be){return e.getBaseFileName(be,[".js",".jsx",".d.ts",".ts",".tsx"],!0)==="index"}function C(be,Oe,Ce,ge){return e.startsWith(be,"node:")&&!e.startsWith(Oe,"node:")?e.shouldUseUriStyleNodeCoreModules(Ce,ge)?-1:1:e.startsWith(Oe,"node:")&&!e.startsWith(be,"node:")?e.shouldUseUriStyleNodeCoreModules(Ce,ge)?1:-1:0}function N(be,Oe){var Ce,ge=be.sourceFile,ze=be.program,ft=be.host,vt=be.preferences,st=ze.getTypeChecker(),At=_(Oe,st);if(At){var qt=st.getAliasedSymbol(At),Ue=At.name,Ie=[{symbol:At,moduleSymbol:qt,moduleFileName:void 0,exportKind:3,targetFlags:qt.flags,isFromPackageJson:!1}],Ht=Q(ge,ze),_t=y(Ie,Ue,e.isIdentifier(Oe)?Oe.getStart(ge):void 0,!1,Ht,ze,ge,ft,vt);return{fixes:_t,symbolName:Ue,errorIdentifierText:(Ce=e.tryCast(Oe,e.isIdentifier))===null||Ce===void 0?void 0:Ce.text}}}function _(be,Oe){var Ce=e.isIdentifier(be)?Oe.getSymbolAtLocation(be):void 0;if(e.isUMDExportSymbol(Ce))return Ce;var ge=be.parent;return e.isJsxOpeningLikeElement(ge)&&ge.tagName===be||e.isJsxOpeningFragment(ge)?e.tryCast(Oe.resolveName(Oe.getJsxNamespace(ge),e.isJsxOpeningLikeElement(ge)?be:ge,111551,!1),e.isUMDExportSymbol):void 0}function d(be,Oe,Ce,ge){switch(Oe){case 0:return 0;case 1:return 1;case 2:return Ne(be,Ce,!!ge);case 3:return E(be,Ce,!!ge);default:return e.Debug.assertNever(Oe)}}a.getImportKind=d;function E(be,Oe,Ce){if(e.getAllowSyntheticDefaultImports(Oe))return 1;var ge=e.getEmitModuleKind(Oe);switch(ge){case e.ModuleKind.AMD:case e.ModuleKind.CommonJS:case e.ModuleKind.UMD:return e.isInJSFile(be)&&(e.isExternalModule(be)||Ce)?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.Node12:case e.ModuleKind.NodeNext:return be.impliedNodeFormat===e.ModuleKind.ESNext?2:3;default:return e.Debug.assertNever(ge,"Unexpected moduleKind ".concat(ge))}}function j(be,Oe,Ce){var ge=be.sourceFile,ze=be.program,ft=be.cancellationToken,vt=be.host,st=be.preferences,At=ze.getTypeChecker(),qt=ze.getCompilerOptions(),Ue=J(ge,At,Oe,qt);e.Debug.assert(Ue!=="default","'default' isn't a legal identifier and couldn't occur here");var Ie=e.isValidTypeOnlyAliasUseSite(Oe),Ht=Q(ge,ze),_t=pe(Ue,e.isJSXTagName(Oe),e.getMeaningFromLocation(Oe),ft,ge,ze,Ce,vt,st),It=e.arrayFrom(e.flatMapIterator(_t.entries(),function(fe){fe[0];var Be=fe[1];return y(Be,Ue,Oe.getStart(ge),Ie,Ht,ze,ge,vt,st)}));return{fixes:It,symbolName:Ue,errorIdentifierText:Oe.text}}function B(be,Oe,Ce,ge){var ze=ge.getTypeChecker(),ft=ze.resolveName(Ce,Oe,111551,!0);if(ft){var vt=ze.getTypeOnlyAliasDeclaration(ft);if(!(!vt||e.getSourceFileOfNode(vt)!==be))return{kind:4,typeOnlyAliasDeclaration:vt}}}function W(be){return be===2||be===3}function J(be,Oe,Ce,ge){var ze=Ce.parent;if((e.isJsxOpeningLikeElement(ze)||e.isJsxClosingElement(ze))&&ze.tagName===Ce&&W(ge.jsx)){var ft=Oe.getJsxNamespace(be);if(M(ft,Ce,Oe))return ft}return Ce.text}function M(be,Oe,Ce){if(e.isIntrinsicJsxName(Oe.text))return!0;var ge=Ce.resolveName(be,Oe,111551,!0);return!ge||e.some(ge.declarations,e.isTypeOnlyImportOrExportDeclaration)&&!(ge.flags&111551)}function pe(be,Oe,Ce,ge,ze,ft,vt,st,At){var qt,Ue=e.createMultiMap(),Ie=e.createPackageJsonImportFilter(ze,At,st),Ht=(qt=st.getModuleSpecifierCache)===null||qt===void 0?void 0:qt.call(st),_t=e.memoizeOne(function(fe){return e.createModuleSpecifierResolutionHost(fe?st.getPackageJsonAutoImportProvider():ft,st)});function It(fe,Be,We,Ft,Lt,Rt){var Et=_t(Rt);if(Be&&e.isImportableFile(Lt,ze,Be,At,Ie,Et,Ht)||!Be&&Ie.allowsImportingAmbientModule(fe,Et)){var pn=Lt.getTypeChecker();Ue.add(e.getUniqueSymbolId(We,pn).toString(),{symbol:We,moduleSymbol:fe,moduleFileName:Be==null?void 0:Be.fileName,exportKind:Ft,targetFlags:e.skipAlias(We,pn).flags,isFromPackageJson:Rt})}}return e.forEachExternalModuleToImportFrom(ft,st,vt,function(fe,Be,We,Ft){var Lt=We.getTypeChecker();ge.throwIfCancellationRequested();var Rt=We.getCompilerOptions(),Et=e.getDefaultLikeExportInfo(fe,Lt,Rt);Et&&(Et.name===be||ke(fe,e.getEmitScriptTarget(Rt),Oe)===be)&&ot(Et.symbolForMeaning,Ce)&&It(fe,Be,Et.symbol,Et.exportKind,We,Ft);var pn=Lt.tryGetMemberInModuleExportsAndProperties(be,fe);pn&&ot(pn,Ce)&&It(fe,Be,pn,0,We,Ft)}),Ue}function Ne(be,Oe,Ce){var ge=e.getAllowSyntheticDefaultImports(Oe),ze=e.isInJSFile(be);if(!ze&&e.getEmitModuleKind(Oe)>=e.ModuleKind.ES2015)return ge?1:2;if(ze)return e.isExternalModule(be)||Ce?ge?1:2:3;for(var ft=0,vt=be.statements;ft1&&e.OrganizeImports.importSpecifiersAreSorted(Oe.parent.elements)){be.delete(ge,Oe);var ft=e.factory.updateImportSpecifier(Oe,!1,Oe.propertyName,Oe.name),vt=e.OrganizeImports.getImportSpecifierInsertionIndex(Oe.parent.elements,ft);be.insertImportSpecifierAtIndex(ge,ft,Oe.parent,vt)}else be.deleteRange(ge,Oe.getFirstToken());return Oe}else return e.Debug.assert(Oe.parent.parent.isTypeOnly),st(Oe.parent.parent),Oe.parent.parent;case 266:return st(Oe),Oe;case 267:return st(Oe.parent),Oe.parent;case 264:return be.deleteRange(ge,Oe.getChildAt(1)),Oe;default:e.Debug.failBadSyntaxKind(Oe)}function st(At){if(be.delete(ge,e.getTypeKeywordOfTypeOnlyImport(At,ge)),ze){var qt=e.tryCast(At.namedBindings,e.isNamedImports);if(qt&&qt.elements.length>1){e.OrganizeImports.importSpecifiersAreSorted(qt.elements)&&Oe.kind===269&&qt.elements.indexOf(Oe)!==0&&(be.delete(ge,Oe),be.insertImportSpecifierAtIndex(ge,Oe,qt,0));for(var Ue=0,Ie=qt.elements;Ue"),[e.Diagnostics.Convert_function_expression_0_to_arrow_function,le?le.text:e.ANONYMOUS]):(v.replaceNode(G,se,e.factory.createToken(85)),v.insertText(G,le.end," = "),v.insertText(G,f.pos," =>"),[e.Diagnostics.Convert_function_declaration_0_to_arrow_function,le.text])}}}})(e.codefix||(e.codefix={}))})(ne||(ne={}));var ne;(function(e){(function(a){var u="fixIncorrectNamedTupleSyntax",P=[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];a.registerCodeFix({errorCodes:P,getCodeActions:function(G){var ue=G.sourceFile,h=G.span,S=r(ue,h.start),k=e.textChanges.ChangeTracker.with(G,function(se){return v(se,ue,S)});return[a.createCodeFixAction(u,k,e.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels,u,e.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels)]},fixIds:[u]});function r(G,ue){var h=e.getTokenAtPosition(G,ue);return e.findAncestor(h,function(S){return S.kind===196})}function v(G,ue,h){if(h){for(var S=h.type,k=!1,se=!1;S.kind===184||S.kind===185||S.kind===190;)S.kind===184?k=!0:S.kind===185&&(se=!0),S=S.type;var le=e.factory.updateNamedTupleMember(h,h.dotDotDotToken||(se?e.factory.createToken(25):void 0),h.name,h.questionToken||(k?e.factory.createToken(57):void 0),S);le!==h&&G.replaceNode(ue,h,le)}}})(e.codefix||(e.codefix={}))})(ne||(ne={}));var ne;(function(e){(function(a){var u="fixSpelling",P=[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];a.registerCodeFix({errorCodes:P,getCodeActions:function(h){var S=h.sourceFile,k=h.errorCode,se=r(S,h.span.start,h,k);if(se){var le=se.node,f=se.suggestedSymbol,b=e.getEmitScriptTarget(h.host.getCompilationSettings()),y=e.textChanges.ChangeTracker.with(h,function(K){return v(K,S,le,f,b)});return[a.createCodeFixAction("spelling",y,[e.Diagnostics.Change_spelling_to_0,e.symbolName(f)],u,e.Diagnostics.Fix_all_detected_spelling_errors)]}},fixIds:[u],getAllCodeActions:function(h){return a.codeFixAll(h,P,function(S,k){var se=r(k.file,k.start,h,k.code),le=e.getEmitScriptTarget(h.host.getCompilationSettings());se&&v(S,h.sourceFile,se.node,se.suggestedSymbol,le)})}});function r(h,S,k,se){var le=e.getTokenAtPosition(h,S),f=le.parent;if(!((se===e.Diagnostics.No_overload_matches_this_call.code||se===e.Diagnostics.Type_0_is_not_assignable_to_type_1.code)&&!e.isJsxAttribute(f))){var b=k.program.getTypeChecker(),y;if(e.isPropertyAccessExpression(f)&&f.name===le){e.Debug.assert(e.isMemberName(le),"Expected an identifier for spelling (property access)");var K=b.getTypeAtLocation(f.expression);f.flags&32&&(K=b.getNonNullableType(K)),y=b.getSuggestedSymbolForNonexistentProperty(le,K)}else if(e.isBinaryExpression(f)&&f.operatorToken.kind===101&&f.left===le&&e.isPrivateIdentifier(le)){var ce=b.getTypeAtLocation(f.right);y=b.getSuggestedSymbolForNonexistentProperty(le,ce)}else if(e.isQualifiedName(f)&&f.right===le){var Y=b.getSymbolAtLocation(f.left);Y&&Y.flags&1536&&(y=b.getSuggestedSymbolForNonexistentModule(f.right,Y))}else if(e.isImportSpecifier(f)&&f.name===le){e.Debug.assertNode(le,e.isIdentifier,"Expected an identifier for spelling (import)");var re=e.findAncestor(le,e.isImportDeclaration),F=ue(h,k,re);F&&F.symbol&&(y=b.getSuggestedSymbolForNonexistentModule(le,F.symbol))}else if(e.isJsxAttribute(f)&&f.name===le){e.Debug.assertNode(le,e.isIdentifier,"Expected an identifier for JSX attribute");var O=e.findAncestor(le,e.isJsxOpeningLikeElement),Q=b.getContextualTypeForArgumentAtIndex(O,0);y=b.getSuggestedSymbolForNonexistentJSXAttribute(le,Q)}else if(e.hasSyntacticModifier(f,16384)&&e.isClassElement(f)&&f.name===le){var de=e.findAncestor(le,e.isClassLike),$=de?e.getEffectiveBaseTypeNode(de):void 0,I=$?b.getTypeAtLocation($):void 0;I&&(y=b.getSuggestedSymbolForNonexistentClassMember(e.getTextOfNode(le),I))}else{var Z=e.getMeaningFromLocation(le),z=e.getTextOfNode(le);e.Debug.assert(z!==void 0,"name should be defined"),y=b.getSuggestedSymbolForNonexistentSymbol(le,z,G(Z))}return y===void 0?void 0:{node:le,suggestedSymbol:y}}}function v(h,S,k,se,le){var f=e.symbolName(se);if(!e.isIdentifierText(f,le)&&e.isPropertyAccessExpression(k.parent)){var b=se.valueDeclaration;b&&e.isNamedDeclaration(b)&&e.isPrivateIdentifier(b.name)?h.replaceNode(S,k,e.factory.createIdentifier(f)):h.replaceNode(S,k.parent,e.factory.createElementAccessExpression(k.parent.expression,e.factory.createStringLiteral(f)))}else h.replaceNode(S,k,e.factory.createIdentifier(f))}function G(h){var S=0;return h&4&&(S|=1920),h&2&&(S|=788968),h&1&&(S|=111551),S}function ue(h,S,k){if(!(!k||!e.isStringLiteralLike(k.moduleSpecifier))){var se=e.getResolvedModule(h,k.moduleSpecifier.text,e.getModeForUsageLocation(h,k.moduleSpecifier));if(se)return S.program.getSourceFile(se.resolvedFileName)}}})(e.codefix||(e.codefix={}))})(ne||(ne={}));var ne;(function(e){(function(a){var u="returnValueCorrect",P="fixAddReturnStatement",r="fixRemoveBracesFromArrowFunctionBody",v="fixWrapTheBlockWithParen",G=[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],ue;(function(re){re[re.MissingReturnStatement=0]="MissingReturnStatement",re[re.MissingParentheses=1]="MissingParentheses"})(ue||(ue={})),a.registerCodeFix({errorCodes:G,fixIds:[P,r,v],getCodeActions:function(re){var F=re.program,O=re.sourceFile,Q=re.span.start,de=re.errorCode,$=se(F.getTypeChecker(),O,Q,de);if($)return $.kind===ue.MissingReturnStatement?e.append([K(re,$.expression,$.statement)],e.isArrowFunction($.declaration)?ce(re,$.declaration,$.expression,$.commentSource):void 0):[Y(re,$.declaration,$.expression)]},getAllCodeActions:function(re){return a.codeFixAll(re,G,function(F,O){var Q=se(re.program.getTypeChecker(),O.file,O.start,O.code);if(Q)switch(re.fixId){case P:f(F,O.file,Q.expression,Q.statement);break;case r:if(!e.isArrowFunction(Q.declaration))return;b(F,O.file,Q.declaration,Q.expression,Q.commentSource,!1);break;case v:if(!e.isArrowFunction(Q.declaration))return;y(F,O.file,Q.declaration,Q.expression);break;default:e.Debug.fail(JSON.stringify(re.fixId))}})}});function h(re,F,O){var Q=re.createSymbol(4,F.escapedText);Q.type=re.getTypeAtLocation(O);var de=e.createSymbolTable([Q]);return re.createAnonymousType(void 0,de,[],[],[])}function S(re,F,O,Q){if(!(!F.body||!e.isBlock(F.body)||e.length(F.body.statements)!==1)){var de=e.first(F.body.statements);if(e.isExpressionStatement(de)&&k(re,F,re.getTypeAtLocation(de.expression),O,Q))return{declaration:F,kind:ue.MissingReturnStatement,expression:de.expression,statement:de,commentSource:de.expression};if(e.isLabeledStatement(de)&&e.isExpressionStatement(de.statement)){var $=e.factory.createObjectLiteralExpression([e.factory.createPropertyAssignment(de.label,de.statement.expression)]),I=h(re,de.label,de.statement.expression);if(k(re,F,I,O,Q))return e.isArrowFunction(F)?{declaration:F,kind:ue.MissingParentheses,expression:$,statement:de,commentSource:de.statement.expression}:{declaration:F,kind:ue.MissingReturnStatement,expression:$,statement:de,commentSource:de.statement.expression}}else if(e.isBlock(de)&&e.length(de.statements)===1){var Z=e.first(de.statements);if(e.isLabeledStatement(Z)&&e.isExpressionStatement(Z.statement)){var $=e.factory.createObjectLiteralExpression([e.factory.createPropertyAssignment(Z.label,Z.statement.expression)]),I=h(re,Z.label,Z.statement.expression);if(k(re,F,I,O,Q))return{declaration:F,kind:ue.MissingReturnStatement,expression:$,statement:de,commentSource:Z}}}}}function k(re,F,O,Q,de){if(de){var $=re.getSignatureFromDeclaration(F);if($){e.hasSyntacticModifier(F,256)&&(O=re.createPromiseType(O));var I=re.createSignature(F,$.typeParameters,$.thisParameter,$.parameters,O,void 0,$.minArgumentCount,$.flags);O=re.createAnonymousType(void 0,e.createSymbolTable(),[I],[],[])}else O=re.getAnyType()}return re.isTypeAssignableTo(O,Q)}function se(re,F,O,Q){var de=e.getTokenAtPosition(F,O);if(de.parent){var $=e.findAncestor(de.parent,e.isFunctionLikeDeclaration);switch(Q){case e.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code:return!$||!$.body||!$.type||!e.rangeContainsRange($.type,de)?void 0:S(re,$,re.getTypeFromTypeNode($.type),!1);case e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code:if(!$||!e.isCallExpression($.parent)||!$.body)return;var I=$.parent.arguments.indexOf($),Z=re.getContextualTypeForArgumentAtIndex($.parent,I);return Z?S(re,$,Z,!0):void 0;case e.Diagnostics.Type_0_is_not_assignable_to_type_1.code:if(!e.isDeclarationName(de)||!e.isVariableLike(de.parent)&&!e.isJsxAttribute(de.parent))return;var z=le(de.parent);return!z||!e.isFunctionLikeDeclaration(z)||!z.body?void 0:S(re,z,re.getTypeAtLocation(de.parent),!0)}}}function le(re){switch(re.kind){case 253:case 163:case 202:case 166:case 294:return re.initializer;case 284:return re.initializer&&(e.isJsxExpression(re.initializer)?re.initializer.expression:void 0);case 295:case 165:case 297:case 345:case 338:return}}function f(re,F,O,Q){e.suppressLeadingAndTrailingTrivia(O);var de=e.probablyUsesSemicolons(F);re.replaceNode(F,Q,e.factory.createReturnStatement(O),{leadingTriviaOption:e.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Exclude,suffix:de?";":void 0})}function b(re,F,O,Q,de,$){var I=$||e.needsParentheses(Q)?e.factory.createParenthesizedExpression(Q):Q;e.suppressLeadingAndTrailingTrivia(de),e.copyComments(de,I),re.replaceNode(F,O.body,I)}function y(re,F,O,Q){re.replaceNode(F,O.body,e.factory.createParenthesizedExpression(Q))}function K(re,F,O){var Q=e.textChanges.ChangeTracker.with(re,function(de){return f(de,re.sourceFile,F,O)});return a.createCodeFixAction(u,Q,e.Diagnostics.Add_a_return_statement,P,e.Diagnostics.Add_all_missing_return_statement)}function ce(re,F,O,Q){var de=e.textChanges.ChangeTracker.with(re,function($){return b($,re.sourceFile,F,O,Q,!1)});return a.createCodeFixAction(u,de,e.Diagnostics.Remove_braces_from_arrow_function_body,r,e.Diagnostics.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues)}function Y(re,F,O){var Q=e.textChanges.ChangeTracker.with(re,function(de){return y(de,re.sourceFile,F,O)});return a.createCodeFixAction(u,Q,e.Diagnostics.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal,v,e.Diagnostics.Wrap_all_object_literal_with_parentheses)}})(e.codefix||(e.codefix={}))})(ne||(ne={}));var ne;(function(e){(function(a){var u="fixMissingMember",P="fixMissingProperties",r="fixMissingAttributes",v="fixMissingFunctionDeclaration",G=[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];a.registerCodeFix({errorCodes:G,getCodeActions:function(m){var A=m.program.getTypeChecker(),g=h(m.sourceFile,m.span.start,m.errorCode,A,m.program);if(g){if(g.kind===3){var C=e.textChanges.ChangeTracker.with(m,function(N){return $(N,m,g)});return[a.createCodeFixAction(P,C,e.Diagnostics.Add_missing_properties,P,e.Diagnostics.Add_all_missing_properties)]}if(g.kind===4){var C=e.textChanges.ChangeTracker.with(m,function(_){return de(_,m,g)});return[a.createCodeFixAction(r,C,e.Diagnostics.Add_missing_attributes,r,e.Diagnostics.Add_all_missing_attributes)]}if(g.kind===2){var C=e.textChanges.ChangeTracker.with(m,function(_){return Q(_,m,g)});return[a.createCodeFixAction(v,C,[e.Diagnostics.Add_missing_function_declaration_0,g.token.text],v,e.Diagnostics.Add_all_missing_function_declarations)]}if(g.kind===0){var C=e.textChanges.ChangeTracker.with(m,function(_){return O(_,m.program.getTypeChecker(),g)});return[a.createCodeFixAction(u,C,[e.Diagnostics.Add_missing_enum_member_0,g.token.text],u,e.Diagnostics.Add_all_missing_members)]}return e.concatenate(re(m,g),k(m,g))}},fixIds:[u,v,P,r],getAllCodeActions:function(m){var A=m.program,g=m.fixId,C=A.getTypeChecker(),N=new e.Map,_=new e.Map;return a.createCombinedCodeActions(e.textChanges.ChangeTracker.with(m,function(d){a.eachDiagnostic(m,G,function(E){var j=h(E.file,E.start,E.code,C,m.program);if(!(!j||!e.addToSeen(N,e.getNodeId(j.parentDeclaration)+"#"+j.token.text))){if(g===v&&j.kind===2)Q(d,m,j);else if(g===P&&j.kind===3)$(d,m,j);else if(g===r&&j.kind===4)de(d,m,j);else if(j.kind===0&&O(d,C,j),j.kind===1){var B=j.parentDeclaration,W=j.token,J=e.getOrUpdate(_,B,function(){return[]});J.some(function(M){return M.token.text===W.text})||J.push(j)}}}),_.forEach(function(E,j){for(var B=a.getAllSupers(j,C),W=function(Ne){if(B.some(function(He){var et=_.get(He);return!!et&&et.some(function(pt){var Me=pt.token;return Me.text===Ne.token.text})}))return"continue";var w=Ne.parentDeclaration,R=Ne.declSourceFile,L=Ne.modifierFlags,V=Ne.token,Te=Ne.call,Se=Ne.isJSFile;if(Te&&!e.isPrivateIdentifier(V))F(m,d,Te,V,L&32,w,R);else if(Se&&!e.isInterfaceDeclaration(w))le(d,R,w,V,!!(L&32));else{var we=y(A.getTypeChecker(),w,V);K(d,R,w,V.text,we,L&32)}},J=0,M=E;J=e.ModuleKind.ES2015&&G99;if(k){var h=e.textChanges.ChangeTracker.with(u,function(le){var f=e.getTsConfigObjectLiteralExpression(r);if(f){var b=[["target",e.factory.createStringLiteral("es2017")]];G===e.ModuleKind.CommonJS&&b.push(["module",e.factory.createStringLiteral("commonjs")]),a.setJsonCompilerOptionValues(le,r,b)}});v.push(a.createCodeFixActionWithoutFixAll("fixTargetOption",h,[e.Diagnostics.Set_the_target_option_in_your_configuration_file_to_0,"es2017"]))}return v.length?v:void 0}}})})(e.codefix||(e.codefix={}))})(ne||(ne={}));var ne;(function(e){(function(a){var u="fixPropertyAssignment",P=[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];a.registerCodeFix({errorCodes:P,fixIds:[u],getCodeActions:function(G){var ue=G.sourceFile,h=G.span,S=v(ue,h.start),k=e.textChanges.ChangeTracker.with(G,function(se){return r(se,G.sourceFile,S)});return[a.createCodeFixAction(u,k,[e.Diagnostics.Change_0_to_1,"=",":"],u,[e.Diagnostics.Switch_each_misused_0_to_1,"=",":"])]},getAllCodeActions:function(G){return a.codeFixAll(G,P,function(ue,h){return r(ue,h.file,v(h.file,h.start))})}});function r(G,ue,h){G.replaceNode(ue,h,e.factory.createPropertyAssignment(h.name,h.objectAssignmentInitializer))}function v(G,ue){return e.cast(e.getTokenAtPosition(G,ue).parent,e.isShorthandPropertyAssignment)}})(e.codefix||(e.codefix={}))})(ne||(ne={}));var ne;(function(e){(function(a){var u="extendsInterfaceBecomesImplements",P=[e.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements.code];a.registerCodeFix({errorCodes:P,getCodeActions:function(G){var ue=G.sourceFile,h=r(ue,G.span.start);if(h){var S=h.extendsToken,k=h.heritageClauses,se=e.textChanges.ChangeTracker.with(G,function(le){return v(le,ue,S,k)});return[a.createCodeFixAction(u,se,e.Diagnostics.Change_extends_to_implements,u,e.Diagnostics.Change_all_extended_interfaces_to_implements)]}},fixIds:[u],getAllCodeActions:function(G){return a.codeFixAll(G,P,function(ue,h){var S=r(h.file,h.start);S&&v(ue,h.file,S.extendsToken,S.heritageClauses)})}});function r(G,ue){var h=e.getTokenAtPosition(G,ue),S=e.getContainingClass(h).heritageClauses,k=S[0].getFirstToken();return k.kind===94?{extendsToken:k,heritageClauses:S}:void 0}function v(G,ue,h,S){if(G.replaceNode(ue,h,e.factory.createToken(117)),S.length===2&&S[0].token===94&&S[1].token===117){var k=S[1].getFirstToken(),se=k.getFullStart();G.replaceRange(ue,{pos:se,end:se},e.factory.createToken(27));for(var le=ue.text,f=k.end;f":">","}":"}"};function G(h){return e.hasProperty(v,h)}function ue(h,S,k,se,le){var f=k.getText()[se];if(G(f)){var b=le?v[f]:"{".concat(e.quote(k,S,f),"}");h.replaceRangeWithText(k,{pos:se,end:se+1},b)}}})(e.codefix||(e.codefix={}))})(ne||(ne={}));var ne;(function(e){(function(a){var u="deleteUnmatchedParameter",P="renameUnmatchedParameter",r=[e.Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name.code];a.registerCodeFix({fixIds:[u,P],errorCodes:r,getCodeActions:function(h){var S=h.sourceFile,k=h.span,se=[],le=ue(S,k.start);if(le)return e.append(se,v(h,le)),e.append(se,G(h,le)),se},getAllCodeActions:function(h){var S=new e.Map;return a.createCombinedCodeActions(e.textChanges.ChangeTracker.with(h,function(k){a.eachDiagnostic(h,r,function(se){var le=se.file,f=se.start,b=ue(le,f);b&&S.set(b.signature,e.append(S.get(b.signature),b.jsDocParameterTag))}),S.forEach(function(se,le){if(h.fixId===u){var f=new e.Set(se);k.filterJSDocTags(le.getSourceFile(),le,function(b){return!f.has(b)})}})}))}});function v(h,S){var k=S.name,se=S.signature,le=S.jsDocParameterTag,f=e.textChanges.ChangeTracker.with(h,function(b){return b.filterJSDocTags(h.sourceFile,se,function(y){return y!==le})});return a.createCodeFixAction(u,f,[e.Diagnostics.Delete_unused_param_tag_0,k.getText(h.sourceFile)],u,e.Diagnostics.Delete_all_unused_param_tags)}function G(h,S){var k=S.name,se=S.signature,le=S.jsDocParameterTag;if(e.length(se.parameters)){for(var f=h.sourceFile,b=e.getJSDocTags(se),y=new e.Set,K=0,ce=b;K1?e.Diagnostics.Remove_unused_declarations_for_Colon_0:e.Diagnostics.Remove_unused_declaration_for_Colon_0,e.map(j,function(pe){return pe.getText(ie)}).join(", ")];return[S(e.textChanges.ChangeTracker.with(Z,function(pe){return y(pe,ie,N.parent)}),B)]}return[S(e.textChanges.ChangeTracker.with(Z,function(pe){return pe.delete(ie,N.parent.parent)}),e.Diagnostics.Remove_unused_destructuring_declaration)]}if(f(ie,N))return[S(e.textChanges.ChangeTracker.with(Z,function(pe){return b(pe,ie,N.parent)}),e.Diagnostics.Remove_variable_statement)];var W=[];if(N.kind===137){var _=e.textChanges.ChangeTracker.with(Z,function(Ne){return h(Ne,ie,N)}),J=e.cast(N.parent,e.isInferTypeNode).typeParameter.name.text;W.push(a.createCodeFixAction(u,_,[e.Diagnostics.Replace_infer_0_with_unknown,J],G,e.Diagnostics.Replace_all_unused_infer_with_unknown))}else{var E=e.textChanges.ChangeTracker.with(Z,function(Ne){return Y(ie,N,Ne,g,C,m,A,!1)});if(E.length){var J=e.isComputedPropertyName(N.parent)?N.parent:N;W.push(S(E,[e.Diagnostics.Remove_unused_declaration_for_Colon_0,J.getText(ie)]))}}var M=e.textChanges.ChangeTracker.with(Z,function(pe){return K(pe,z,ie,N)});return M.length&&W.push(a.createCodeFixAction(u,M,[e.Diagnostics.Prefix_0_with_an_underscore,N.getText(ie)],P,e.Diagnostics.Prefix_all_unused_declarations_with_where_possible)),W},fixIds:[P,r,v,G],getAllCodeActions:function(Z){var z=Z.sourceFile,ie=Z.program,m=Z.cancellationToken,A=ie.getTypeChecker(),g=ie.getSourceFiles();return a.codeFixAll(Z,ue,function(C,N){var _=e.getTokenAtPosition(z,N.start);switch(Z.fixId){case P:K(C,N.code,z,_);break;case v:{var d=le(_);d?C.delete(z,d):se(_)&&Y(z,_,C,A,g,ie,m,!0);break}case r:{if(_.kind===137||se(_))break;if(e.isJSDocTemplateTag(_))C.delete(z,_);else if(_.kind===29)k(C,z,_);else if(e.isObjectBindingPattern(_.parent)){if(_.parent.parent.initializer)break;(!e.isParameter(_.parent.parent)||O(_.parent.parent,A,g))&&C.delete(z,_.parent.parent)}else{if(e.isArrayBindingPattern(_.parent.parent)&&_.parent.parent.parent.initializer)break;f(z,_)?b(C,z,_.parent):Y(z,_,C,A,g,ie,m,!0)}break}case G:_.kind===137&&h(C,z,_);break;default:e.Debug.fail(JSON.stringify(Z.fixId))}})}});function h(Z,z,ie){Z.replaceNode(z,ie.parent,e.factory.createKeywordTypeNode(154))}function S(Z,z){return a.createCodeFixAction(u,Z,z,r,e.Diagnostics.Delete_all_unused_declarations)}function k(Z,z,ie){Z.delete(z,e.Debug.checkDefined(e.cast(ie.parent,e.isDeclarationWithTypeParameterChildren).typeParameters,"The type parameter to delete should exist"))}function se(Z){return Z.kind===100||Z.kind===79&&(Z.parent.kind===269||Z.parent.kind===266)}function le(Z){return Z.kind===100?e.tryCast(Z.parent,e.isImportDeclaration):void 0}function f(Z,z){return e.isVariableDeclarationList(z.parent)&&e.first(z.parent.getChildren(Z))===z}function b(Z,z,ie){Z.delete(z,ie.parent.kind===236?ie.parent:ie)}function y(Z,z,ie){e.forEach(ie.elements,function(m){return Z.delete(z,m)})}function K(Z,z,ie,m){z!==e.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code&&(m.kind===137&&(m=e.cast(m.parent,e.isInferTypeNode).typeParameter.name),e.isIdentifier(m)&&ce(m)&&(Z.replaceNode(ie,m,e.factory.createIdentifier("_".concat(m.text))),e.isParameter(m.parent)&&e.getJSDocParameterTags(m.parent).forEach(function(A){e.isIdentifier(A.name)&&Z.replaceNode(ie,A.name,e.factory.createIdentifier("_".concat(A.name.text)))})))}function ce(Z){switch(Z.parent.kind){case 163:case 162:return!0;case 253:{var z=Z.parent;switch(z.parent.parent.kind){case 243:case 242:return!0}}}return!1}function Y(Z,z,ie,m,A,g,C,N){re(z,ie,Z,m,A,g,C,N),e.isIdentifier(z)&&e.FindAllReferences.Core.eachSymbolReferenceInFile(z,m,Z,function(_){e.isPropertyAccessExpression(_.parent)&&_.parent.name===_&&(_=_.parent),!N&&I(_)&&ie.delete(Z,_.parent.parent)})}function re(Z,z,ie,m,A,g,C,N){var _=Z.parent;if(e.isParameter(_))F(z,ie,_,m,A,g,C,N);else if(!(N&&e.isIdentifier(Z)&&e.FindAllReferences.Core.isSymbolReferencedInFile(Z,m,ie))){var d=e.isImportClause(_)?Z:e.isComputedPropertyName(_)?_.parent:_;e.Debug.assert(d!==ie,"should not delete whole source file"),z.delete(ie,d)}}function F(Z,z,ie,m,A,g,C,N){N===void 0&&(N=!1),Q(m,z,ie,A,g,C,N)&&(ie.modifiers&&ie.modifiers.length>0&&(!e.isIdentifier(ie.name)||e.FindAllReferences.Core.isSymbolReferencedInFile(ie.name,m,z))?ie.modifiers.forEach(function(_){return Z.deleteModifier(z,_)}):!ie.initializer&&O(ie,m,A)&&Z.delete(z,ie))}function O(Z,z,ie){var m=Z.parent.parameters.indexOf(Z);return!e.FindAllReferences.Core.someSignatureUsage(Z.parent,ie,z,function(A,g){return!g||g.arguments.length>m})}function Q(Z,z,ie,m,A,g,C){var N=ie.parent;switch(N.kind){case 168:case 170:var _=N.parameters.indexOf(ie),d=e.isMethodDeclaration(N)?N.name:N,E=e.FindAllReferences.Core.getReferencedSymbolsForNode(N.pos,d,A,m,g);if(E)for(var j=0,B=E;j_,w=e.isPropertyAccessExpression(pe.node.parent)&&e.isSuperKeyword(pe.node.parent.expression)&&e.isCallExpression(pe.node.parent.parent)&&pe.node.parent.parent.arguments.length>_,R=(e.isMethodDeclaration(pe.node.parent)||e.isMethodSignature(pe.node.parent))&&pe.node.parent!==ie.parent&&pe.node.parent.parameters.length>_;if(Ne||w||R)return!1}}return!0;case 255:return N.name&&de(Z,z,N.name)?$(N,ie,C):!0;case 212:case 213:return $(N,ie,C);case 172:return!1;case 171:return!0;default:return e.Debug.failBadSyntaxKind(N)}}function de(Z,z,ie){return!!e.FindAllReferences.Core.eachSymbolReferenceInFile(ie,Z,z,function(m){return e.isIdentifier(m)&&e.isCallExpression(m.parent)&&m.parent.arguments.indexOf(m)>=0})}function $(Z,z,ie){var m=Z.parameters,A=m.indexOf(z);return e.Debug.assert(A!==-1,"The parameter should already be in the list"),ie?m.slice(A+1).every(function(g){return e.isIdentifier(g.name)&&!g.symbol.isReferenced}):A===m.length-1}function I(Z){return(e.isBinaryExpression(Z.parent)&&Z.parent.left===Z||(e.isPostfixUnaryExpression(Z.parent)||e.isPrefixUnaryExpression(Z.parent))&&Z.parent.operand===Z)&&e.isExpressionStatement(Z.parent.parent)}})(e.codefix||(e.codefix={}))})(ne||(ne={}));var ne;(function(e){(function(a){var u="fixUnreachableCode",P=[e.Diagnostics.Unreachable_code_detected.code];a.registerCodeFix({errorCodes:P,getCodeActions:function(G){var ue=G.program.getSyntacticDiagnostics(G.sourceFile,G.cancellationToken);if(!ue.length){var h=e.textChanges.ChangeTracker.with(G,function(S){return r(S,G.sourceFile,G.span.start,G.span.length,G.errorCode)});return[a.createCodeFixAction(u,h,e.Diagnostics.Remove_unreachable_code,u,e.Diagnostics.Remove_all_unreachable_code)]}},fixIds:[u],getAllCodeActions:function(G){return a.codeFixAll(G,P,function(ue,h){return r(ue,h.file,h.start,h.length,h.code)})}});function r(G,ue,h,S,k){var se=e.getTokenAtPosition(ue,h),le=e.findAncestor(se,e.isStatement);if(le.getStart(ue)!==se.getStart(ue)){var f=JSON.stringify({statementKind:e.Debug.formatSyntaxKind(le.kind),tokenKind:e.Debug.formatSyntaxKind(se.kind),errorCode:k,start:h,length:S});e.Debug.fail("Token and statement should start at the same point. "+f)}var b=(e.isBlock(le.parent)?le.parent:le).parent;if(!e.isBlock(le.parent)||le===e.first(le.parent.statements))switch(b.kind){case 238:if(b.elseStatement){if(e.isBlock(le.parent))break;G.replaceNode(ue,le,e.factory.createBlock(e.emptyArray));return}case 240:case 241:G.delete(ue,b);return}if(e.isBlock(le.parent)){var y=h+S,K=e.Debug.checkDefined(v(e.sliceAfter(le.parent.statements,le),function(ce){return ce.posMe.length){var Fe=N.getSignatureFromDeclaration(C[C.length-1]);ve(pe,Fe,B,E,m||le(pe))}else e.Debug.assert(C.length===Me.length,"Declarations and signatures should match count"),ie(S(N,I,de,Me,E,J&&!!(A&1),B,pe,m));break}function ve(be,Oe,Ce,ge,ze){var ft=v(168,I,be,Oe,ze,ge,Ce,J&&!!(A&1),de,z);ft&&ie(ft)}}a.addNewNodeForMemberSymbol=r;function v(Q,de,$,I,Z,z,ie,m,A,g){var C=de.program,N=C.getTypeChecker(),_=e.getEmitScriptTarget(C.getCompilerOptions()),d=1073742081|($===0?268435456:0),E=N.signatureToSignatureDeclaration(I,Q,A,d,P(de));if(E){var j=E.typeParameters,B=E.parameters,W=E.type;if(g){if(j){var J=e.sameMap(j,function(R){var L=R.constraint,V=R.default;if(L){var Te=re(L,_);Te&&(L=Te.typeNode,O(g,Te.symbols))}if(V){var Te=re(V,_);Te&&(V=Te.typeNode,O(g,Te.symbols))}return e.factory.updateTypeParameterDeclaration(R,R.name,L,V)});j!==J&&(j=e.setTextRange(e.factory.createNodeArray(J,j.hasTrailingComma),j))}var M=e.sameMap(B,function(R){var L=re(R.type,_),V=R.type;return L&&(V=L.typeNode,O(g,L.symbols)),e.factory.updateParameterDeclaration(R,R.decorators,R.modifiers,R.dotDotDotToken,R.name,R.questionToken,V,R.initializer)});if(B!==M&&(B=e.setTextRange(e.factory.createNodeArray(M,B.hasTrailingComma),B)),W){var pe=re(W,_);pe&&(W=pe.typeNode,O(g,pe.symbols))}}var Ne=m?e.factory.createToken(57):void 0,w=E.asteriskToken;if(e.isFunctionExpression(E))return e.factory.updateFunctionExpression(E,ie,E.asteriskToken,e.tryCast(z,e.isIdentifier),j,B,W,Z!=null?Z:E.body);if(e.isArrowFunction(E))return e.factory.updateArrowFunction(E,ie,j,B,W,E.equalsGreaterThanToken,Z!=null?Z:E.body);if(e.isMethodDeclaration(E))return e.factory.updateMethodDeclaration(E,void 0,ie,w,z!=null?z:e.factory.createIdentifier(""),Ne,j,B,W,Z)}}a.createSignatureDeclarationFromSignature=v;function G(Q,de,$,I,Z,z,ie){var m=e.getQuotePreference(de.sourceFile,de.preferences),A=e.getEmitScriptTarget(de.program.getCompilerOptions()),g=P(de),C=de.program.getTypeChecker(),N=e.isInJSFile(ie),_=I.typeArguments,d=I.arguments,E=I.parent,j=N?void 0:C.getContextualType(I),B=e.map(d,function(R){return e.isIdentifier(R)?R.text:e.isPropertyAccessExpression(R)&&e.isIdentifier(R.name)?R.name.text:void 0}),W=N?[]:e.map(d,function(R){return ue(C,$,C.getBaseTypeOfLiteralType(C.getTypeAtLocation(R)),ie,A,void 0,g)}),J=z?e.factory.createNodeArray(e.factory.createModifiersFromModifierFlags(z)):void 0,M=e.isYieldExpression(E)?e.factory.createToken(41):void 0,pe=N||_===void 0?void 0:e.map(_,function(R,L){return e.factory.createTypeParameterDeclaration(84+_.length-1<=90?String.fromCharCode(84+L):"T".concat(L))}),Ne=h(d.length,B,W,void 0,N),w=N||j===void 0?void 0:C.typeToTypeNode(j,ie,void 0,g);return Q===168?e.factory.createMethodDeclaration(void 0,J,M,Z,void 0,pe,Ne,w,e.isInterfaceDeclaration(ie)?void 0:le(m)):e.factory.createFunctionDeclaration(void 0,J,M,Z,pe,Ne,w,f(e.Diagnostics.Function_not_implemented.message,m))}a.createSignatureDeclarationFromCallExpression=G;function ue(Q,de,$,I,Z,z,ie){var m=Q.typeToTypeNode($,I,z,ie);if(m&&e.isImportTypeNode(m)){var A=re(m,Z);A&&(O(de,A.symbols),m=A.typeNode)}return e.getSynthesizedDeepClone(m)}a.typeToAutoImportableTypeNode=ue;function h(Q,de,$,I,Z){for(var z=[],ie=0;ie=I?e.factory.createToken(57):void 0,Z?void 0:$&&$[ie]||e.factory.createKeywordTypeNode(130),void 0);z.push(m)}return z}function S(Q,de,$,I,Z,z,ie,m,A){for(var g=I[0],C=I[0].minArgumentCount,N=!1,_=0,d=I;_=g.parameters.length&&(!e.signatureHasRestParameter(E)||e.signatureHasRestParameter(g))&&(g=E)}var j=g.parameters.length-(e.signatureHasRestParameter(g)?1:0),B=g.parameters.map(function(pe){return pe.name}),W=h(j,B,void 0,C,!1);if(N){var J=e.factory.createArrayTypeNode(e.factory.createKeywordTypeNode(130)),M=e.factory.createParameterDeclaration(void 0,void 0,e.factory.createToken(25),B[j]||"rest",j>=C?e.factory.createToken(57):void 0,J,void 0);W.push(M)}return se(ie,Z,z,void 0,W,k(I,Q,de,$),m,A)}function k(Q,de,$,I){if(e.length(Q)){var Z=de.getUnionType(e.map(Q,de.getReturnTypeOfSignature));return de.typeToTypeNode(Z,I,void 0,P($))}}function se(Q,de,$,I,Z,z,ie,m){return e.factory.createMethodDeclaration(void 0,Q,void 0,de,$?e.factory.createToken(57):void 0,I,Z,z,m||le(ie))}function le(Q){return f(e.Diagnostics.Method_not_implemented.message,Q)}function f(Q,de){return e.factory.createBlock([e.factory.createThrowStatement(e.factory.createNewExpression(e.factory.createIdentifier("Error"),void 0,[e.factory.createStringLiteral(Q,de===0)]))],!0)}a.createStubbedBody=f;function b(Q){if(Q&4)return e.factory.createToken(123);if(Q&16)return e.factory.createToken(122)}function y(Q,de,$){var I=e.getTsConfigObjectLiteralExpression(de);if(I){var Z=Y(I,"compilerOptions");if(Z===void 0){Q.insertNodeAtObjectStart(de,I,ce("compilerOptions",e.factory.createObjectLiteralExpression($.map(function(_){var d=_[0],E=_[1];return ce(d,E)}),!0)));return}var z=Z.initializer;if(e.isObjectLiteralExpression(z))for(var ie=0,m=$;ie0)return[a.createCodeFixAction(u,G,e.Diagnostics.Convert_to_a_bigint_numeric_literal,u,e.Diagnostics.Convert_all_to_bigint_numeric_literals)]},fixIds:[u],getAllCodeActions:function(v){return a.codeFixAll(v,P,function(G,ue){return r(G,ue.file,ue)})}});function r(v,G,ue){var h=e.tryCast(e.getTokenAtPosition(G,ue.start),e.isNumericLiteral);if(h){var S=h.getText(G)+"n";v.replaceNode(G,h,e.factory.createBigIntLiteral(S))}}})(e.codefix||(e.codefix={}))})(ne||(ne={}));var ne;(function(e){(function(a){var u="fixAddModuleReferTypeMissingTypeof",P=u,r=[e.Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0.code];a.registerCodeFix({errorCodes:r,getCodeActions:function(ue){var h=ue.sourceFile,S=ue.span,k=v(h,S.start),se=e.textChanges.ChangeTracker.with(ue,function(le){return G(le,h,k)});return[a.createCodeFixAction(P,se,e.Diagnostics.Add_missing_typeof,P,e.Diagnostics.Add_missing_typeof)]},fixIds:[P],getAllCodeActions:function(ue){return a.codeFixAll(ue,r,function(h,S){return G(h,ue.sourceFile,v(S.file,S.start))})}});function v(ue,h){var S=e.getTokenAtPosition(ue,h);return e.Debug.assert(S.kind===100,"This token should be an ImportKeyword"),e.Debug.assert(S.parent.kind===199,"Token parent should be an ImportType"),S.parent}function G(ue,h,S){var k=e.factory.updateImportTypeNode(S,S.argument,S.qualifier,S.typeArguments,!0);ue.replaceNode(h,S,k)}})(e.codefix||(e.codefix={}))})(ne||(ne={}));var ne;(function(e){(function(a){var u="wrapJsxInFragment",P=[e.Diagnostics.JSX_expressions_must_have_one_parent_element.code];a.registerCodeFix({errorCodes:P,getCodeActions:function(ue){var h=ue.sourceFile,S=ue.span,k=r(h,S.start);if(k){var se=e.textChanges.ChangeTracker.with(ue,function(le){return v(le,h,k)});return[a.createCodeFixAction(u,se,e.Diagnostics.Wrap_in_JSX_fragment,u,e.Diagnostics.Wrap_all_unparented_JSX_in_JSX_fragment)]}},fixIds:[u],getAllCodeActions:function(ue){return a.codeFixAll(ue,P,function(h,S){var k=r(ue.sourceFile,S.start);!k||v(h,ue.sourceFile,k)})}});function r(ue,h){var S=e.getTokenAtPosition(ue,h),k=S.parent,se=k.parent;if(!(!e.isBinaryExpression(se)&&(se=se.parent,!e.isBinaryExpression(se)))&&!!e.nodeIsMissing(se.operatorToken))return se}function v(ue,h,S){var k=G(S);k&&ue.replaceNode(h,S,e.factory.createJsxFragment(e.factory.createJsxOpeningFragment(),k,e.factory.createJsxJsxClosingFragment()))}function G(ue){for(var h=[],S=ue;;)if(e.isBinaryExpression(S)&&e.nodeIsMissing(S.operatorToken)&&S.operatorToken.kind===27){if(h.push(S.left),e.isJsxChild(S.right))return h.push(S.right),h;if(e.isBinaryExpression(S.right)){S=S.right;continue}else return}else return}})(e.codefix||(e.codefix={}))})(ne||(ne={}));var ne;(function(e){(function(a){var u="fixConvertToMappedObjectType",P=[e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead.code];a.registerCodeFix({errorCodes:P,getCodeActions:function(ue){var h=ue.sourceFile,S=ue.span,k=r(h,S.start);if(k){var se=e.textChanges.ChangeTracker.with(ue,function(f){return G(f,h,k)}),le=e.idText(k.container.name);return[a.createCodeFixAction(u,se,[e.Diagnostics.Convert_0_to_mapped_object_type,le],u,[e.Diagnostics.Convert_0_to_mapped_object_type,le])]}},fixIds:[u],getAllCodeActions:function(ue){return a.codeFixAll(ue,P,function(h,S){var k=r(S.file,S.start);k&&G(h,S.file,k)})}});function r(ue,h){var S=e.getTokenAtPosition(ue,h),k=e.tryCast(S.parent.parent,e.isIndexSignatureDeclaration);if(k){var se=e.isInterfaceDeclaration(k.parent)?k.parent:e.tryCast(k.parent.parent,e.isTypeAliasDeclaration);if(se)return{indexSignature:k,container:se}}}function v(ue,h){return e.factory.createTypeAliasDeclaration(ue.decorators,ue.modifiers,ue.name,ue.typeParameters,h)}function G(ue,h,S){var k=S.indexSignature,se=S.container,le=e.isInterfaceDeclaration(se)?se.members:se.type.members,f=le.filter(function(Y){return!e.isIndexSignatureDeclaration(Y)}),b=e.first(k.parameters),y=e.factory.createTypeParameterDeclaration(e.cast(b.name,e.isIdentifier),b.type),K=e.factory.createMappedTypeNode(e.hasEffectiveReadonlyModifier(k)?e.factory.createModifier(144):void 0,y,void 0,k.questionToken,k.type,void 0),ce=e.factory.createIntersectionTypeNode(tt(tt(tt([],e.getAllSuperTypeNodes(se),!0),[K],!1),f.length?[e.factory.createTypeLiteralNode(f)]:e.emptyArray,!0));ue.replaceNode(h,se,v(se,ce))}})(e.codefix||(e.codefix={}))})(ne||(ne={}));var ne;(function(e){(function(a){var u="removeAccidentalCallParentheses",P=[e.Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without.code];a.registerCodeFix({errorCodes:P,getCodeActions:function(r){var v=e.findAncestor(e.getTokenAtPosition(r.sourceFile,r.span.start),e.isCallExpression);if(v){var G=e.textChanges.ChangeTracker.with(r,function(ue){ue.deleteRange(r.sourceFile,{pos:v.expression.end,end:v.end})});return[a.createCodeFixActionWithoutFixAll(u,G,e.Diagnostics.Remove_parentheses)]}},fixIds:[u]})})(e.codefix||(e.codefix={}))})(ne||(ne={}));var ne;(function(e){(function(a){var u="removeUnnecessaryAwait",P=[e.Diagnostics.await_has_no_effect_on_the_type_of_this_expression.code];a.registerCodeFix({errorCodes:P,getCodeActions:function(v){var G=e.textChanges.ChangeTracker.with(v,function(ue){return r(ue,v.sourceFile,v.span)});if(G.length>0)return[a.createCodeFixAction(u,G,e.Diagnostics.Remove_unnecessary_await,u,e.Diagnostics.Remove_all_unnecessary_uses_of_await)]},fixIds:[u],getAllCodeActions:function(v){return a.codeFixAll(v,P,function(G,ue){return r(G,ue.file,ue)})}});function r(v,G,ue){var h=e.tryCast(e.getTokenAtPosition(G,ue.start),function(b){return b.kind===132}),S=h&&e.tryCast(h.parent,e.isAwaitExpression);if(S){var k=S,se=e.isParenthesizedExpression(S.parent);if(se){var le=e.getLeftmostExpression(S.expression,!1);if(e.isIdentifier(le)){var f=e.findPrecedingToken(S.parent.pos,G);f&&f.kind!==103&&(k=S.parent)}}v.replaceNode(G,k,S.expression)}}})(e.codefix||(e.codefix={}))})(ne||(ne={}));var ne;(function(e){(function(a){var u=[e.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code],P="splitTypeOnlyImport";a.registerCodeFix({errorCodes:u,fixIds:[P],getCodeActions:function(G){var ue=e.textChanges.ChangeTracker.with(G,function(h){return v(h,r(G.sourceFile,G.span),G)});if(ue.length)return[a.createCodeFixAction(P,ue,e.Diagnostics.Split_into_two_separate_import_declarations,P,e.Diagnostics.Split_all_invalid_type_only_imports)]},getAllCodeActions:function(G){return a.codeFixAll(G,u,function(ue,h){v(ue,r(G.sourceFile,h),G)})}});function r(G,ue){return e.findAncestor(e.getTokenAtPosition(G,ue.start),e.isImportDeclaration)}function v(G,ue,h){if(ue){var S=e.Debug.checkDefined(ue.importClause);G.replaceNode(h.sourceFile,ue,e.factory.updateImportDeclaration(ue,ue.decorators,ue.modifiers,e.factory.updateImportClause(S,S.isTypeOnly,S.name,void 0),ue.moduleSpecifier,ue.assertClause)),G.insertNodeAfter(h.sourceFile,ue,e.factory.createImportDeclaration(void 0,void 0,e.factory.updateImportClause(S,S.isTypeOnly,void 0,S.namedBindings),ue.moduleSpecifier,ue.assertClause))}}})(e.codefix||(e.codefix={}))})(ne||(ne={}));var ne;(function(e){(function(a){var u="fixConvertConstToLet",P=[e.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant.code];a.registerCodeFix({errorCodes:P,getCodeActions:function(G){var ue=G.sourceFile,h=G.span,S=G.program,k=r(ue,h.start,S);if(k!==void 0){var se=e.textChanges.ChangeTracker.with(G,function(le){return v(le,ue,k)});return[a.createCodeFixAction(u,se,e.Diagnostics.Convert_const_to_let,u,e.Diagnostics.Convert_const_to_let)]}},fixIds:[u]});function r(G,ue,h){var S,k=h.getTypeChecker(),se=k.getSymbolAtLocation(e.getTokenAtPosition(G,ue)),le=e.tryCast((S=se==null?void 0:se.valueDeclaration)===null||S===void 0?void 0:S.parent,e.isVariableDeclarationList);if(le!==void 0){var f=e.findChildOfKind(le,85,G);if(f!==void 0)return e.createRange(f.pos,f.end)}}function v(G,ue,h){G.replaceRangeWithText(ue,h,"let")}})(e.codefix||(e.codefix={}))})(ne||(ne={}));var ne;(function(e){(function(a){var u="fixExpectedComma",P=e.Diagnostics._0_expected.code,r=[P];a.registerCodeFix({errorCodes:r,getCodeActions:function(ue){var h=ue.sourceFile,S=v(h,ue.span.start,ue.errorCode);if(S){var k=e.textChanges.ChangeTracker.with(ue,function(se){return G(se,h,S)});return[a.createCodeFixAction(u,k,[e.Diagnostics.Change_0_to_1,";",","],u,[e.Diagnostics.Change_0_to_1,";",","])]}},fixIds:[u],getAllCodeActions:function(ue){return a.codeFixAll(ue,r,function(h,S){var k=v(S.file,S.start,S.code);k&&G(h,ue.sourceFile,k)})}});function v(ue,h,S){var k=e.getTokenAtPosition(ue,h);return k.kind===26&&k.parent&&(e.isObjectLiteralExpression(k.parent)||e.isArrayLiteralExpression(k.parent))?{node:k}:void 0}function G(ue,h,S){var k=S.node,se=e.factory.createToken(27);ue.replaceNode(h,k,se)}})(e.codefix||(e.codefix={}))})(ne||(ne={}));var ne;(function(e){(function(a){var u="addVoidToPromise",P="addVoidToPromise",r=[e.Diagnostics.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise.code];a.registerCodeFix({errorCodes:r,fixIds:[P],getCodeActions:function(ue){var h=e.textChanges.ChangeTracker.with(ue,function(S){return v(S,ue.sourceFile,ue.span,ue.program)});if(h.length>0)return[a.createCodeFixAction(u,h,e.Diagnostics.Add_void_to_Promise_resolved_without_a_value,P,e.Diagnostics.Add_void_to_all_Promises_resolved_without_a_value)]},getAllCodeActions:function(ue){return a.codeFixAll(ue,r,function(h,S){return v(h,S.file,S,ue.program,new e.Set)})}});function v(ue,h,S,k,se){var le=e.getTokenAtPosition(h,S.start);if(!(!e.isIdentifier(le)||!e.isCallExpression(le.parent)||le.parent.expression!==le||le.parent.arguments.length!==0)){var f=k.getTypeChecker(),b=f.getSymbolAtLocation(le),y=b==null?void 0:b.valueDeclaration;if(!(!y||!e.isParameter(y)||!e.isNewExpression(y.parent.parent))&&!(se!=null&&se.has(y))){se==null||se.add(y);var K=G(y.parent.parent);if(e.some(K)){var ce=K[0],Y=!e.isUnionTypeNode(ce)&&!e.isParenthesizedTypeNode(ce)&&e.isParenthesizedTypeNode(e.factory.createUnionTypeNode([ce,e.factory.createKeywordTypeNode(114)]).types[0]);Y&&ue.insertText(h,ce.pos,"("),ue.insertText(h,ce.end,Y?") | void":" | void")}else{var re=f.getResolvedSignature(le.parent),F=re==null?void 0:re.parameters[0],O=F&&f.getTypeOfSymbolAtLocation(F,y.parent.parent);e.isInJSFile(y)?(!O||O.flags&3)&&(ue.insertText(h,y.parent.parent.end,")"),ue.insertText(h,e.skipTrivia(h.text,y.parent.parent.pos),"/** @type {Promise} */(")):(!O||O.flags&2)&&ue.insertText(h,y.parent.parent.expression.end,"")}}}}function G(ue){var h;if(e.isInJSFile(ue)){if(e.isParenthesizedExpression(ue.parent)){var S=(h=e.getJSDocTypeTag(ue.parent))===null||h===void 0?void 0:h.typeExpression.type;if(S&&e.isTypeReferenceNode(S)&&e.isIdentifier(S.typeName)&&e.idText(S.typeName)==="Promise")return S.typeArguments}}else return ue.typeArguments}})(e.codefix||(e.codefix={}))})(ne||(ne={}));var ne;(function(e){(function(a){var u="Convert export",P={name:"Convert default export to named export",description:e.Diagnostics.Convert_default_export_to_named_export.message,kind:"refactor.rewrite.export.named"},r={name:"Convert named export to default export",description:e.Diagnostics.Convert_named_export_to_default_export.message,kind:"refactor.rewrite.export.default"};a.registerRefactor(u,{kinds:[P.kind,r.kind],getAvailableActions:function(f){var b=v(f,f.triggerReason==="invoked");if(!b)return e.emptyArray;if(!a.isRefactorErrorInfo(b)){var y=b.wasDefault?P:r;return[{name:u,description:y.description,actions:[y]}]}return f.preferences.provideRefactorNotApplicableReason?[{name:u,description:e.Diagnostics.Convert_default_export_to_named_export.message,actions:[Tt(Tt({},P),{notApplicableReason:b.error}),Tt(Tt({},r),{notApplicableReason:b.error})]}]:e.emptyArray},getEditsForAction:function(f,b){e.Debug.assert(b===P.name||b===r.name,"Unexpected action name");var y=v(f);e.Debug.assert(y&&!a.isRefactorErrorInfo(y),"Expected applicable refactor info");var K=e.textChanges.ChangeTracker.with(f,function(ce){return G(f.file,f.program,y,ce,f.cancellationToken)});return{edits:K,renameFilename:void 0,renameLocation:void 0}}});function v(f,b){b===void 0&&(b=!0);var y=f.file,K=f.program,ce=e.getRefactorContextSpan(f),Y=e.getTokenAtPosition(y,ce.start),re=!!(Y.parent&&e.getSyntacticModifierFlags(Y.parent)&1)&&b?Y.parent:e.getParentNodeInSpan(Y,y,ce);if(!re||!e.isSourceFile(re.parent)&&!(e.isModuleBlock(re.parent)&&e.isAmbientModule(re.parent.parent)))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_export_statement)};var F=e.isSourceFile(re.parent)?re.parent.symbol:re.parent.parent.symbol,O=e.getSyntacticModifierFlags(re)||(e.isExportAssignment(re)&&!re.isExportEquals?513:0),Q=!!(O&512);if(!(O&1)||!Q&&F.exports.has("default"))return{error:e.getLocaleSpecificMessage(e.Diagnostics.This_file_already_has_a_default_export)};var de=K.getTypeChecker(),$=function(ie){return e.isIdentifier(ie)&&de.getSymbolAtLocation(ie)?void 0:{error:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_named_export)}};switch(re.kind){case 255:case 256:case 257:case 259:case 258:case 260:{var I=re;return I.name?$(I.name)||{exportNode:I,exportName:I.name,wasDefault:Q,exportingModuleSymbol:F}:void 0}case 236:{var Z=re;if(!(Z.declarationList.flags&2)||Z.declarationList.declarations.length!==1)return;var z=e.first(Z.declarationList.declarations);return z.initializer?(e.Debug.assert(!Q,"Can't have a default flag here"),$(z.name)||{exportNode:Z,exportName:z.name,wasDefault:Q,exportingModuleSymbol:F}):void 0}case 270:{var I=re;return I.isExportEquals?void 0:$(I.expression)||{exportNode:I,exportName:I.expression,wasDefault:Q,exportingModuleSymbol:F}}default:return}}function G(f,b,y,K,ce){ue(f,y,K,b.getTypeChecker()),h(b,y,K,ce)}function ue(f,b,y,K){var ce=b.wasDefault,Y=b.exportNode,re=b.exportName;if(ce)if(e.isExportAssignment(Y)&&!Y.isExportEquals){var F=Y.expression,O=le(F.text,F.text);y.replaceNode(f,Y,e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([O])))}else y.delete(f,e.Debug.checkDefined(e.findModifier(Y,88),"Should find a default keyword in modifier list"));else{var Q=e.Debug.checkDefined(e.findModifier(Y,93),"Should find an export keyword in modifier list");switch(Y.kind){case 255:case 256:case 257:y.insertNodeAfter(f,Q,e.factory.createToken(88));break;case 236:var de=e.first(Y.declarationList.declarations);if(!e.FindAllReferences.Core.isSymbolReferencedInFile(re,K,f)&&!de.type){y.replaceNode(f,Y,e.factory.createExportDefault(e.Debug.checkDefined(de.initializer,"Initializer was previously known to be present")));break}case 259:case 258:case 260:y.deleteModifier(f,Q),y.insertNodeAfter(f,Y,e.factory.createExportDefault(e.factory.createIdentifier(re.text)));break;default:e.Debug.fail("Unexpected exportNode kind ".concat(Y.kind))}}}function h(f,b,y,K){var ce=b.wasDefault,Y=b.exportName,re=b.exportingModuleSymbol,F=f.getTypeChecker(),O=e.Debug.checkDefined(F.getSymbolAtLocation(Y),"Export name should resolve to a symbol");e.FindAllReferences.Core.eachExportReference(f.getSourceFiles(),F,K,O,re,Y.text,ce,function(Q){var de=Q.getSourceFile();ce?S(de,Q,y,Y.text):k(de,Q,y)})}function S(f,b,y,K){var ce=b.parent;switch(ce.kind){case 205:y.replaceNode(f,b,e.factory.createIdentifier(K));break;case 269:case 274:{var Y=ce;y.replaceNode(f,Y,se(K,Y.name.text));break}case 266:{var re=ce;e.Debug.assert(re.name===b,"Import clause name should match provided ref");var Y=se(K,b.text),F=re.namedBindings;if(!F)y.replaceNode(f,b,e.factory.createNamedImports([Y]));else if(F.kind===267){y.deleteRange(f,{pos:b.getStart(f),end:F.getStart(f)});var O=e.isStringLiteral(re.parent.moduleSpecifier)?e.quotePreferenceFromString(re.parent.moduleSpecifier,f):1,Q=e.makeImport(void 0,[se(K,b.text)],re.parent.moduleSpecifier,O);y.insertNodeAfter(f,re.parent,Q)}else y.delete(f,b),y.insertNodeAtEndOfList(f,F.elements,Y);break}default:e.Debug.failBadSyntaxKind(ce)}}function k(f,b,y){var K=b.parent;switch(K.kind){case 205:y.replaceNode(f,b,e.factory.createIdentifier("default"));break;case 269:{var ce=e.factory.createIdentifier(K.name.text);K.parent.elements.length===1?y.replaceNode(f,K.parent,ce):(y.delete(f,K),y.insertNodeBefore(f,K.parent,ce));break}case 274:{y.replaceNode(f,K,le("default",K.name.text));break}default:e.Debug.assertNever(K,"Unexpected parent kind ".concat(K.kind))}}function se(f,b){return e.factory.createImportSpecifier(!1,f===b?void 0:e.factory.createIdentifier(f),e.factory.createIdentifier(b))}function le(f,b){return e.factory.createExportSpecifier(!1,f===b?void 0:e.factory.createIdentifier(f),e.factory.createIdentifier(b))}})(e.refactor||(e.refactor={}))})(ne||(ne={}));var ne;(function(e){(function(a){var u,P="Convert import",r=(u={},u[0]={name:"Convert namespace import to named imports",description:e.Diagnostics.Convert_namespace_import_to_named_imports.message,kind:"refactor.rewrite.import.named"},u[2]={name:"Convert named imports to namespace import",description:e.Diagnostics.Convert_named_imports_to_namespace_import.message,kind:"refactor.rewrite.import.namespace"},u[1]={name:"Convert named imports to default import",description:e.Diagnostics.Convert_named_imports_to_default_import.message,kind:"refactor.rewrite.import.default"},u);a.registerRefactor(P,{kinds:e.getOwnValues(r).map(function(f){return f.kind}),getAvailableActions:function(f){var b=v(f,f.triggerReason==="invoked");if(!b)return e.emptyArray;if(!a.isRefactorErrorInfo(b)){var y=r[b.convertTo];return[{name:P,description:y.description,actions:[y]}]}return f.preferences.provideRefactorNotApplicableReason?e.getOwnValues(r).map(function(K){return{name:P,description:K.description,actions:[Tt(Tt({},K),{notApplicableReason:b.error})]}}):e.emptyArray},getEditsForAction:function(f,b){e.Debug.assert(e.some(e.getOwnValues(r),function(ce){return ce.name===b}),"Unexpected action name");var y=v(f);e.Debug.assert(y&&!a.isRefactorErrorInfo(y),"Expected applicable refactor info");var K=e.textChanges.ChangeTracker.with(f,function(ce){return G(f.file,f.program,ce,y)});return{edits:K,renameFilename:void 0,renameLocation:void 0}}});function v(f,b){b===void 0&&(b=!0);var y=f.file,K=e.getRefactorContextSpan(f),ce=e.getTokenAtPosition(y,K.start),Y=b?e.findAncestor(ce,e.isImportDeclaration):e.getParentNodeInSpan(ce,y,K);if(!Y||!e.isImportDeclaration(Y))return{error:"Selection is not an import declaration."};var re=K.start+K.length,F=e.findNextToken(Y,Y.parent,y);if(!(F&&re>F.getStart())){var O=Y.importClause;if(!O)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_import_clause)};if(!O.namedBindings)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_namespace_import_or_named_imports)};if(O.namedBindings.kind===267)return{convertTo:0,import:O.namedBindings};var Q=f.program.getCompilerOptions(),de=e.getAllowSyntheticDefaultImports(Q)&&se(O.parent.moduleSpecifier,f.program.getTypeChecker());return de?{convertTo:1,import:O.namedBindings}:{convertTo:2,import:O.namedBindings}}}function G(f,b,y,K){var ce=b.getTypeChecker();K.convertTo===0?ue(f,ce,y,K.import,e.getAllowSyntheticDefaultImports(b.getCompilerOptions())):k(f,ce,y,K.import,K.convertTo===1)}function ue(f,b,y,K,ce){var Y=!1,re=[],F=new e.Map;e.FindAllReferences.Core.eachSymbolReferenceInFile(K.name,b,f,function(m){if(!e.isPropertyAccessOrQualifiedName(m.parent))Y=!0;else{var A=h(m.parent).text;b.resolveName(A,m,67108863,!0)&&F.set(A,!0),e.Debug.assert(S(m.parent)===m,"Parent expression should match id"),re.push(m.parent)}});for(var O=new e.Map,Q=0,de=re;Q=A.pos?g.getEnd():A.getEnd()),N=m?re(A):Y(A,C),_=N&&k(N)?F(N):void 0;if(!_)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};var d=z.getTypeChecker();return e.isConditionalExpression(_)?le(_,d):f(_)}}function le($,I){var Z=$.condition,z=O($.whenTrue);if(!z||I.isNullableType(I.getTypeAtLocation(z)))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};if((e.isPropertyAccessExpression(Z)||e.isIdentifier(Z))&&y(Z,z.expression))return{finalExpression:z,occurrences:[Z],expression:$};if(e.isBinaryExpression(Z)){var ie=b(z.expression,Z);return ie?{finalExpression:z,occurrences:ie,expression:$}:{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_matching_access_expressions)}}}function f($){if($.operatorToken.kind!==55)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_logical_AND_access_chains)};var I=O($.right);if(!I)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};var Z=b(I.expression,$.left);return Z?{finalExpression:I,occurrences:Z,expression:$}:{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_matching_access_expressions)}}function b($,I){for(var Z=[];e.isBinaryExpression(I)&&I.operatorToken.kind===55;){var z=y(e.skipParentheses($),e.skipParentheses(I.right));if(!z)break;Z.push(z),$=z,I=I.left}var ie=y($,I);return ie&&Z.push(ie),Z.length>0?Z:void 0}function y($,I){if(!(!e.isIdentifier(I)&&!e.isPropertyAccessExpression(I)&&!e.isElementAccessExpression(I)))return K($,I)?I:void 0}function K($,I){for(;(e.isCallExpression($)||e.isPropertyAccessExpression($)||e.isElementAccessExpression($))&&ce($)!==ce(I);)$=$.expression;for(;e.isPropertyAccessExpression($)&&e.isPropertyAccessExpression(I)||e.isElementAccessExpression($)&&e.isElementAccessExpression(I);){if(ce($)!==ce(I))return!1;$=$.expression,I=I.expression}return e.isIdentifier($)&&e.isIdentifier(I)&&$.getText()===I.getText()}function ce($){if(e.isIdentifier($)||e.isStringOrNumericLiteralLike($))return $.getText();if(e.isPropertyAccessExpression($))return ce($.name);if(e.isElementAccessExpression($))return ce($.argumentExpression)}function Y($,I){for(;$.parent;){if(k($)&&I.length!==0&&$.end>=I.start+I.length)return $;$=$.parent}}function re($){for(;$.parent;){if(k($)&&!k($.parent))return $;$=$.parent}}function F($){if(h($))return $;if(e.isVariableStatement($)){var I=e.getSingleVariableOfVariableStatement($),Z=I==null?void 0:I.initializer;return Z&&h(Z)?Z:void 0}return $.expression&&h($.expression)?$.expression:void 0}function O($){if($=e.skipParentheses($),e.isBinaryExpression($))return O($.left);if((e.isPropertyAccessExpression($)||e.isElementAccessExpression($)||e.isCallExpression($))&&!e.isOptionalChain($))return $}function Q($,I,Z){if(e.isPropertyAccessExpression(I)||e.isElementAccessExpression(I)||e.isCallExpression(I)){var z=Q($,I.expression,Z),ie=Z.length>0?Z[Z.length-1]:void 0,m=(ie==null?void 0:ie.getText())===I.expression.getText();if(m&&Z.pop(),e.isCallExpression(I))return m?e.factory.createCallChain(z,e.factory.createToken(28),I.typeArguments,I.arguments):e.factory.createCallChain(z,I.questionDotToken,I.typeArguments,I.arguments);if(e.isPropertyAccessExpression(I))return m?e.factory.createPropertyAccessChain(z,e.factory.createToken(28),I.name):e.factory.createPropertyAccessChain(z,I.questionDotToken,I.name);if(e.isElementAccessExpression(I))return m?e.factory.createElementAccessChain(z,e.factory.createToken(28),I.argumentExpression):e.factory.createElementAccessChain(z,I.questionDotToken,I.argumentExpression)}return I}function de($,I,Z,z,ie){var m=z.finalExpression,A=z.occurrences,g=z.expression,C=A[A.length-1],N=Q(I,m,A);N&&(e.isPropertyAccessExpression(N)||e.isElementAccessExpression(N)||e.isCallExpression(N))&&(e.isBinaryExpression(g)?Z.replaceNodeRange($,C,m,N):e.isConditionalExpression(g)&&Z.replaceNode($,g,e.factory.createBinaryExpression(N,e.factory.createToken(60),g.whenFalse)))}})(a.convertToOptionalChainExpression||(a.convertToOptionalChainExpression={}))})(e.refactor||(e.refactor={}))})(ne||(ne={}));var ne;(function(e){(function(a){(function(u){var P="Convert overload list to single signature",r=e.Diagnostics.Convert_overload_list_to_single_signature.message,v={name:P,description:r,kind:"refactor.rewrite.function.overloadList"};a.registerRefactor(P,{kinds:[v.kind],getEditsForAction:ue,getAvailableActions:G});function G(k){var se=k.file,le=k.startPosition,f=k.program,b=S(se,le,f);return b?[{name:P,description:r,actions:[v]}]:e.emptyArray}function ue(k){var se=k.file,le=k.startPosition,f=k.program,b=S(se,le,f);if(!b)return;var y=f.getTypeChecker(),K=b[b.length-1],ce=K;switch(K.kind){case 167:{ce=e.factory.updateMethodSignature(K,K.modifiers,K.name,K.questionToken,K.typeParameters,re(b),K.type);break}case 168:{ce=e.factory.updateMethodDeclaration(K,K.decorators,K.modifiers,K.asteriskToken,K.name,K.questionToken,K.typeParameters,re(b),K.type,K.body);break}case 173:{ce=e.factory.updateCallSignature(K,K.typeParameters,re(b),K.type);break}case 170:{ce=e.factory.updateConstructorDeclaration(K,K.decorators,K.modifiers,re(b),K.body);break}case 174:{ce=e.factory.updateConstructSignature(K,K.typeParameters,re(b),K.type);break}case 255:{ce=e.factory.updateFunctionDeclaration(K,K.decorators,K.modifiers,K.asteriskToken,K.name,K.typeParameters,re(b),K.type,K.body);break}default:return e.Debug.failBadSyntaxKind(K,"Unhandled signature kind in overload list conversion refactoring")}if(ce===K)return;var Y=e.textChanges.ChangeTracker.with(k,function(Q){Q.replaceNodeRange(se,b[0],b[b.length-1],ce)});return{renameFilename:void 0,renameLocation:void 0,edits:Y};function re(Q){var de=Q[Q.length-1];return e.isFunctionLikeDeclaration(de)&&de.body&&(Q=Q.slice(0,Q.length-1)),e.factory.createNodeArray([e.factory.createParameterDeclaration(void 0,void 0,e.factory.createToken(25),"args",void 0,e.factory.createUnionTypeNode(e.map(Q,F)))])}function F(Q){var de=e.map(Q.parameters,O);return e.setEmitFlags(e.factory.createTupleTypeNode(de),e.some(de,function($){return!!e.length(e.getSyntheticLeadingComments($))})?0:1)}function O(Q){e.Debug.assert(e.isIdentifier(Q.name));var de=e.setTextRange(e.factory.createNamedTupleMember(Q.dotDotDotToken,Q.name,Q.questionToken,Q.type||e.factory.createKeywordTypeNode(130)),Q),$=Q.symbol&&Q.symbol.getDocumentationComment(y);if($){var I=e.displayPartsToString($);I.length&&e.setSyntheticLeadingComments(de,[{text:`* `.concat(I.split(` `).map(function(Z){return" * ".concat(Z)}).join(` `),` `),kind:3,pos:-1,end:-1,hasTrailingNewLine:!0,hasLeadingNewline:!0}])}return de}}function h(k){switch(k.kind){case 167:case 168:case 173:case 170:case 174:case 255:return!0}return!1}function S(k,se,le){var f=e.getTokenAtPosition(k,se),b=e.findAncestor(f,h);if(b){var y=le.getTypeChecker(),K=b.symbol;if(K){var ce=K.declarations;if(!(e.length(ce)<=1)&&!!e.every(ce,function(Q){return e.getSourceFileOfNode(Q)===k})&&!!h(ce[0])){var Y=ce[0].kind;if(e.every(ce,function(Q){return Q.kind===Y})){var re=ce;if(!e.some(re,function(Q){return!!Q.typeParameters||e.some(Q.parameters,function(de){return!!de.decorators||!!de.modifiers||!e.isIdentifier(de.name)})})){var F=e.mapDefined(re,function(Q){return y.getSignatureFromDeclaration(Q)});if(e.length(F)===e.length(ce)){var O=y.getReturnTypeOfSignature(F[0]);if(e.every(F,function(Q){return y.getReturnTypeOfSignature(Q)===O}))return re}}}}}}}})(a.addOrRemoveBracesToArrowFunction||(a.addOrRemoveBracesToArrowFunction={}))})(e.refactor||(e.refactor={}))})(ne||(ne={}));var ne;(function(e){(function(a){(function(u){var P="Extract Symbol",r={name:"Extract Constant",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_constant),kind:"refactor.extract.constant"},v={name:"Extract Function",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_function),kind:"refactor.extract.function"};a.registerRefactor(P,{kinds:[r.kind,v.kind],getEditsForAction:ue,getAvailableActions:G});function G(L){var V=L.kind,Te=k(L.file,e.getRefactorContextSpan(L),L.triggerReason==="invoked"),Se=Te.targetRange;if(Se===void 0){if(!Te.errors||Te.errors.length===0||!L.preferences.provideRefactorNotApplicableReason)return e.emptyArray;var we=[];return a.refactorKindBeginsWith(v.kind,V)&&we.push({name:P,description:v.description,actions:[Tt(Tt({},v),{notApplicableReason:At(Te.errors)})]}),a.refactorKindBeginsWith(r.kind,V)&&we.push({name:P,description:r.description,actions:[Tt(Tt({},r),{notApplicableReason:At(Te.errors)})]}),we}var He=ce(Se,L);if(He===void 0)return e.emptyArray;for(var et=[],pt=new e.Map,Me,Fe=[],ot=new e.Map,ke,ve=0,be=0,Oe=He;be=V.start+V.length)return(_t||(_t=[])).push(e.createDiagnosticForNode(We,h.cannotExtractSuper)),!0}else ke|=S.UsesThis;break;case 213:e.forEachChild(We,function pn(he){if(e.isThis(he))ke|=S.UsesThis;else{if(e.isClassLike(he)||e.isFunctionLike(he)&&!e.isArrowFunction(he))return!1;e.forEachChild(he,pn)}});case 256:case 255:e.isSourceFile(We.parent)&&We.parent.externalModuleIndicator===void 0&&(_t||(_t=[])).push(e.createDiagnosticForNode(We,h.functionWillNotBeVisibleInTheNewScope));case 225:case 212:case 168:case 170:case 171:case 172:return!1}var Rt=It;switch(We.kind){case 238:It=0;break;case 251:It=0;break;case 234:We.parent&&We.parent.kind===251&&We.parent.finallyBlock===We&&(It=4);break;case 289:case 288:It|=1;break;default:e.isIterationStatement(We,!1)&&(It|=3);break}switch(We.kind){case 191:case 108:ke|=S.UsesThis;break;case 249:{var Et=We.label;(fe||(fe=[])).push(Et.escapedText),e.forEachChild(We,Be),fe.pop();break}case 245:case 244:{var Et=We.label;Et?e.contains(fe,Et.escapedText)||(_t||(_t=[])).push(e.createDiagnosticForNode(We,h.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):It&(We.kind===245?1:2)||(_t||(_t=[])).push(e.createDiagnosticForNode(We,h.cannotExtractRangeContainingConditionalBreakOrContinueStatements));break}case 217:ke|=S.IsAsyncFunction;break;case 223:ke|=S.IsGenerator;break;case 246:It&4?ke|=S.HasReturn:(_t||(_t=[])).push(e.createDiagnosticForNode(We,h.cannotExtractRangeContainingConditionalReturnStatement));break;default:e.forEachChild(We,Be);break}It=Rt}}}u.getRangeToExtract=k;function se(L,V,Te){var Se=L.getStart(Te),we=V.getEnd();return Te.text.charCodeAt(we)===59&&we++,{start:Se,length:we-Se}}function le(L){if(e.isStatement(L))return[L];if(e.isExpressionNode(L))return e.isExpressionStatement(L.parent)?[L.parent]:L}function f(L){return e.isFunctionLikeDeclaration(L)||e.isSourceFile(L)||e.isModuleBlock(L)||e.isClassLike(L)}function b(L){var V=B(L.range)?e.first(L.range):L.range;if(L.facts&S.UsesThis){var Te=e.getContainingClass(V);if(Te){var Se=e.findAncestor(V,e.isFunctionLikeDeclaration);return Se?[Se,Te]:[Te]}}for(var we=[];;)if(V=V.parent,V.kind===163&&(V=e.findAncestor(V,function(He){return e.isFunctionLikeDeclaration(He)}).parent),f(V)&&(we.push(V),V.kind===303))return we}function y(L,V,Te){var Se=Y(L,V),we=Se.scopes,He=Se.readsAndWrites,et=He.target,pt=He.usagesPerScope,Me=He.functionErrorsPerScope,Fe=He.exposedVariableDeclarations;return e.Debug.assert(!Me[Te].length,"The extraction went missing? How?"),V.cancellationToken.throwIfCancellationRequested(),I(et,we[Te],pt[Te],Fe,L,V)}function K(L,V,Te){var Se=Y(L,V),we=Se.scopes,He=Se.readsAndWrites,et=He.target,pt=He.usagesPerScope,Me=He.constantErrorsPerScope,Fe=He.exposedVariableDeclarations;e.Debug.assert(!Me[Te].length,"The extraction went missing? How?"),e.Debug.assert(Fe.length===0,"Extract constant accepted a range containing a variable declaration?"),V.cancellationToken.throwIfCancellationRequested();var ot=e.isExpression(et)?et:et.statements[0].expression;return Z(ot,we[Te],pt[Te],L.facts,V)}function ce(L,V){var Te=Y(L,V),Se=Te.scopes,we=Te.readsAndWrites,He=we.functionErrorsPerScope,et=we.constantErrorsPerScope,pt=Se.map(function(Me,Fe){var ot=re(Me),ke=F(Me),ve=e.isFunctionLikeDeclaration(Me)?O(Me):e.isClassLike(Me)?Q(Me):de(Me),be,Oe;return ve===1?(be=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[ot,"global"]),Oe=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[ke,"global"])):ve===0?(be=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[ot,"module"]),Oe=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[ke,"module"])):(be=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1),[ot,ve]),Oe=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1),[ke,ve])),Fe===0&&!e.isClassLike(Me)&&(Oe=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_enclosing_scope),[ke])),{functionExtraction:{description:be,errors:He[Fe]},constantExtraction:{description:Oe,errors:et[Fe]}}});return pt}function Y(L,V){var Te=V.file,Se=b(L),we=W(L,Te),He=M(L,Se,we,Te,V.program.getTypeChecker(),V.cancellationToken);return{scopes:Se,readsAndWrites:He}}function re(L){return e.isFunctionLikeDeclaration(L)?"inner function":e.isClassLike(L)?"method":"function"}function F(L){return e.isClassLike(L)?"readonly field":"constant"}function O(L){switch(L.kind){case 170:return"constructor";case 212:case 255:return L.name?"function '".concat(L.name.text,"'"):e.ANONYMOUS;case 213:return"arrow function";case 168:return"method '".concat(L.name.getText(),"'");case 171:return"'get ".concat(L.name.getText(),"'");case 172:return"'set ".concat(L.name.getText(),"'");default:throw e.Debug.assertNever(L,"Unexpected scope kind ".concat(L.kind))}}function Q(L){return L.kind===256?L.name?"class '".concat(L.name.text,"'"):"anonymous class declaration":L.name?"class expression '".concat(L.name.text,"'"):"anonymous class expression"}function de(L){return L.kind===261?"namespace '".concat(L.parent.name.getText(),"'"):L.externalModuleIndicator?0:1}var $;(function(L){L[L.Module=0]="Module",L[L.Global=1]="Global"})($||($={}));function I(L,V,Te,Se,we,He){var et=Te.usages,pt=Te.typeParameterUsages,Me=Te.substitutions,Fe=He.program.getTypeChecker(),ot=e.getEmitScriptTarget(He.program.getCompilerOptions()),ke=e.codefix.createImportAdder(He.file,He.program,He.preferences,He.host),ve=V.getSourceFile(),be=e.getUniqueName(e.isClassLike(V)?"newMethod":"newFunction",ve),Oe=e.isInJSFile(V),Ce=e.factory.createIdentifier(be),ge,ze=[],ft=[],vt;et.forEach(function(ee,xe){var H;if(!Oe){var ae=Fe.getTypeOfSymbolAtLocation(ee.symbol,ee.node);ae=Fe.getBaseTypeOfLiteralType(ae),H=e.codefix.typeToAutoImportableTypeNode(Fe,ke,ae,V,ot,1)}var Re=e.factory.createParameterDeclaration(void 0,void 0,void 0,xe,void 0,H);ze.push(Re),ee.usage===2&&(vt||(vt=[])).push(ee),ft.push(e.factory.createIdentifier(xe))});var st=e.arrayFrom(pt.values()).map(function(ee){return{type:ee,declaration:ie(ee)}}),At=st.sort(m),qt=At.length===0?void 0:At.map(function(ee){return ee.declaration}),Ue=qt!==void 0?qt.map(function(ee){return e.factory.createTypeReferenceNode(ee.name,void 0)}):void 0;if(e.isExpression(L)&&!Oe){var Ie=Fe.getContextualType(L);ge=Fe.typeToTypeNode(Ie,V,1)}var Ht=g(L,Se,vt,Me,!!(we.facts&S.HasReturn)),_t=Ht.body,It=Ht.returnValueProperty;e.suppressLeadingAndTrailingTrivia(_t);var fe;if(e.isClassLike(V)){var Be=Oe?[]:[e.factory.createModifier(121)];we.facts&S.InStaticRegion&&Be.push(e.factory.createModifier(124)),we.facts&S.IsAsyncFunction&&Be.push(e.factory.createModifier(131)),fe=e.factory.createMethodDeclaration(void 0,Be.length?Be:void 0,we.facts&S.IsGenerator?e.factory.createToken(41):void 0,Ce,void 0,qt,ze,ge,_t)}else fe=e.factory.createFunctionDeclaration(void 0,we.facts&S.IsAsyncFunction?[e.factory.createToken(131)]:void 0,we.facts&S.IsGenerator?e.factory.createToken(41):void 0,Ce,qt,ze,ge,_t);var We=e.textChanges.ChangeTracker.fromContext(He),Ft=(B(we.range)?e.last(we.range):we.range).end,Lt=_(Ft,V);Lt?We.insertNodeBefore(He.file,Lt,fe,!0):We.insertNodeAtEndOfScope(He.file,V,fe),ke.writeFixes(We);var Rt=[],Et=A(V,we,be),pn=e.factory.createCallExpression(Et,Ue,ft);if(we.facts&S.IsGenerator&&(pn=e.factory.createYieldExpression(e.factory.createToken(41),pn)),we.facts&S.IsAsyncFunction&&(pn=e.factory.createAwaitExpression(pn)),R(L)&&(pn=e.factory.createJsxExpression(void 0,pn)),Se.length&&!vt)if(e.Debug.assert(!It,"Expected no returnValueProperty"),e.Debug.assert(!(we.facts&S.HasReturn),"Expected RangeFacts.HasReturn flag to be unset"),Se.length===1){var he=Se[0];Rt.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(e.getSynthesizedDeepClone(he.name),void 0,e.getSynthesizedDeepClone(he.type),pn)],he.parent.flags)))}else{for(var yt=[],Gt=[],rn=Se[0].parent.flags,Zt=!1,kn=0,Zn=Se;kn1)return L;Te=L,L=L.parent}}function ie(L){var V,Te=L.symbol;if(Te&&Te.declarations)for(var Se=0,we=Te.declarations;Se0;if(e.isBlock(L)&&!He&&Se.size===0)return{body:e.factory.createBlock(L.statements,!0),returnValueProperty:void 0};var et,pt=!1,Me=e.factory.createNodeArray(e.isBlock(L)?L.statements.slice(0):[e.isStatement(L)?L:e.factory.createReturnStatement(e.skipParentheses(L))]);if(He||Se.size){var Fe=e.visitNodes(Me,ke).slice();if(He&&!we&&e.isStatement(L)){var ot=j(V,Te);ot.length===1?Fe.push(e.factory.createReturnStatement(ot[0].name)):Fe.push(e.factory.createReturnStatement(e.factory.createObjectLiteralExpression(ot)))}return{body:e.factory.createBlock(Fe,!0),returnValueProperty:et}}else return{body:e.factory.createBlock(Me,!0),returnValueProperty:void 0};function ke(ve){if(!pt&&e.isReturnStatement(ve)&&He){var be=j(V,Te);return ve.expression&&(et||(et="__return"),be.unshift(e.factory.createPropertyAssignment(et,e.visitNode(ve.expression,ke)))),be.length===1?e.factory.createReturnStatement(be[0].name):e.factory.createReturnStatement(e.factory.createObjectLiteralExpression(be))}else{var Oe=pt;pt=pt||e.isFunctionLikeDeclaration(ve)||e.isClassLike(ve);var Ce=Se.get(e.getNodeId(ve).toString()),ge=Ce?e.getSynthesizedDeepClone(Ce):e.visitEachChild(ve,ke,e.nullTransformationContext);return pt=Oe,ge}}}function C(L,V){return V.size?Te(L):L;function Te(Se){var we=V.get(e.getNodeId(Se).toString());return we?e.getSynthesizedDeepClone(we):e.visitEachChild(Se,Te,e.nullTransformationContext)}}function N(L){if(e.isFunctionLikeDeclaration(L)){var V=L.body;if(e.isBlock(V))return V.statements}else{if(e.isModuleBlock(L)||e.isSourceFile(L))return L.statements;if(e.isClassLike(L))return L.members;e.assertType(L)}return e.emptyArray}function _(L,V){return e.find(N(V),function(Te){return Te.pos>=L&&e.isFunctionLikeDeclaration(Te)&&!e.isConstructorDeclaration(Te)})}function d(L,V){var Te=V.members;e.Debug.assert(Te.length>0,"Found no members");for(var Se,we=!0,He=0,et=Te;HeL)return Se||Te[0];if(we&&!e.isPropertyDeclaration(pt)){if(Se!==void 0)return pt;we=!1}Se=pt}return Se===void 0?e.Debug.fail():Se}function E(L,V){e.Debug.assert(!e.isClassLike(V));for(var Te,Se=L;Se!==V;Se=Se.parent)f(Se)&&(Te=Se);for(var Se=(Te||L).parent;;Se=Se.parent){if(w(Se)){for(var we=void 0,He=0,et=Se.statements;HeL.pos)break;we=pt}return!we&&e.isCaseClause(Se)?(e.Debug.assert(e.isSwitchStatement(Se.parent.parent),"Grandparent isn't a switch statement"),Se.parent.parent):e.Debug.checkDefined(we,"prevStatement failed to get set")}e.Debug.assert(Se!==V,"Didn't encounter a block-like before encountering scope")}}function j(L,V){var Te=e.map(L,function(we){return e.factory.createShorthandPropertyAssignment(we.symbol.name)}),Se=e.map(V,function(we){return e.factory.createShorthandPropertyAssignment(we.symbol.name)});return Te===void 0?Se:Se===void 0?Te:Te.concat(Se)}function B(L){return e.isArray(L)}function W(L,V){return B(L.range)?{pos:e.first(L.range).getStart(V),end:e.last(L.range).getEnd()}:L.range}var J;(function(L){L[L.Read=1]="Read",L[L.Write=2]="Write"})(J||(J={}));function M(L,V,Te,Se,we,He){var et=new e.Map,pt=[],Me=[],Fe=[],ot=[],ke=[],ve=new e.Map,be=[],Oe,Ce=B(L.range)?L.range.length===1&&e.isExpressionStatement(L.range[0])?L.range[0].expression:void 0:L.range,ge;if(Ce===void 0){var ze=L.range,ft=e.first(ze).getStart(),vt=e.last(ze).end;ge=e.createFileDiagnostic(Se,ft,vt-ft,h.expressionExpected)}else we.getTypeAtLocation(Ce).flags&147456&&(ge=e.createDiagnosticForNode(Ce,h.uselessConstantType));for(var st=0,At=V;st0){for(var Be=new e.Map,We=0,Ft=_t;Ft!==void 0&&We0&&(zt.usages.size>0||zt.typeParameterUsages.size>0)){var Ve=B(L.range)?L.range[0]:L.range;ot[Bt].push(e.createDiagnosticForNode(Ve,h.cannotAccessVariablesFromNestedScopes))}var Nt=!1,Ge;if(pt[Bt].usages.forEach(function(Le){Le.usage===2&&(Nt=!0,Le.symbol.flags&106500&&Le.symbol.valueDeclaration&&e.hasEffectiveModifier(Le.symbol.valueDeclaration,64)&&(Ge=Le.symbol.valueDeclaration))}),e.Debug.assert(B(L.range)||be.length===0,"No variable declarations expected if something was extracted"),Nt&&!B(L.range)){var lt=e.createDiagnosticForNode(L.range,h.cannotWriteInExpression);Fe[Bt].push(lt),ot[Bt].push(lt)}else if(Ge&&Bt>0){var lt=e.createDiagnosticForNode(Ge,h.cannotExtractReadonlyPropertyInitializerOutsideConstructor);Fe[Bt].push(lt),ot[Bt].push(lt)}else if(Oe){var lt=e.createDiagnosticForNode(Oe,h.cannotExtractExportedEntity);Fe[Bt].push(lt),ot[Bt].push(lt)}},Gt=0;Gt=zt)return Ge;if(Ie.set(Ge,zt),lt){for(var Le=0,ee=pt;Le=0)){var zt=e.isIdentifier(Bt)?tn(Bt):we.getSymbolAtLocation(Bt);if(zt){var Ve=e.find(ke,function(Ge){return Ge.symbol===zt});if(Ve)if(e.isVariableDeclaration(Ve)){var Nt=Ve.symbol.id.toString();ve.has(Nt)||(be.push(Ve),ve.set(Nt,!0))}else Oe=Oe||Ve}e.forEachChild(Bt,Ze)}}function tn(Bt){return Bt.parent&&e.isShorthandPropertyAssignment(Bt.parent)&&Bt.parent.name===Bt?we.getShorthandAssignmentValueSymbol(Bt.parent):we.getSymbolAtLocation(Bt)}function Je(Bt,zt,Ve){if(Bt){var Nt=Bt.getDeclarations();if(Nt&&Nt.some(function(lt){return lt.parent===zt}))return e.factory.createIdentifier(Bt.name);var Ge=Je(Bt.parent,zt,Ve);if(Ge!==void 0)return Ve?e.factory.createQualifiedName(Ge,e.factory.createIdentifier(Bt.name)):e.factory.createPropertyAccessExpression(Ge,Bt.name)}}}function pe(L){return e.findAncestor(L,function(V){return V.parent&&Ne(V)&&!e.isBinaryExpression(V.parent)})}function Ne(L){var V=L.parent;switch(V.kind){case 297:return!1}switch(L.kind){case 10:return V.kind!==265&&V.kind!==269;case 224:case 200:case 202:return!1;case 79:return V.kind!==202&&V.kind!==269&&V.kind!==274}return!0}function w(L){switch(L.kind){case 234:case 303:case 261:case 288:return!0;default:return!1}}function R(L){return(e.isJsxElement(L)||e.isJsxSelfClosingElement(L)||e.isJsxFragment(L))&&(e.isJsxElement(L.parent)||e.isJsxFragment(L.parent))}})(a.extractSymbol||(a.extractSymbol={}))})(e.refactor||(e.refactor={}))})(ne||(ne={}));var ne;(function(e){(function(a){var u="Extract type",P={name:"Extract to type alias",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_type_alias),kind:"refactor.extract.type"},r={name:"Extract to interface",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_interface),kind:"refactor.extract.interface"},v={name:"Extract to typedef",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_typedef),kind:"refactor.extract.typedef"};a.registerRefactor(u,{kinds:[P.kind,r.kind,v.kind],getAvailableActions:function(f){var b=G(f,f.triggerReason==="invoked");return b?a.isRefactorErrorInfo(b)?f.preferences.provideRefactorNotApplicableReason?[{name:u,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_type),actions:[Tt(Tt({},v),{notApplicableReason:b.error}),Tt(Tt({},P),{notApplicableReason:b.error}),Tt(Tt({},r),{notApplicableReason:b.error})]}]:e.emptyArray:[{name:u,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_type),actions:b.isJS?[v]:e.append([P],b.typeElements&&r)}]:e.emptyArray},getEditsForAction:function(f,b){var y=f.file,K=G(f);e.Debug.assert(K&&!a.isRefactorErrorInfo(K),"Expected to find a range to extract");var ce=e.getUniqueName("NewType",y),Y=e.textChanges.ChangeTracker.with(f,function(O){switch(b){case P.name:return e.Debug.assert(!K.isJS,"Invalid actionName/JS combo"),k(O,y,ce,K);case v.name:return e.Debug.assert(K.isJS,"Invalid actionName/JS combo"),le(O,y,ce,K);case r.name:return e.Debug.assert(!K.isJS&&!!K.typeElements,"Invalid actionName/JS combo"),se(O,y,ce,K);default:e.Debug.fail("Unexpected action name")}}),re=y.fileName,F=e.getRenameLocation(Y,re,ce,!1);return{edits:Y,renameFilename:re,renameLocation:F}}});function G(f,b){b===void 0&&(b=!0);var y=f.file,K=f.startPosition,ce=e.isSourceFileJS(y),Y=e.getTokenAtPosition(y,K),re=e.createTextRangeFromSpan(e.getRefactorContextSpan(f)),F=re.pos===re.end&&b,O=e.findAncestor(Y,function(Z){return Z.parent&&e.isTypeNode(Z)&&!h(re,Z.parent,y)&&(F||e.nodeOverlapsWithStartEnd(Y,y,re.pos,re.end))});if(!O||!e.isTypeNode(O))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Selection_is_not_a_valid_type_node)};var Q=f.program.getTypeChecker(),de=e.Debug.checkDefined(e.findAncestor(O,e.isStatement),"Should find a statement"),$=S(Q,O,de,y);if(!$)return{error:e.getLocaleSpecificMessage(e.Diagnostics.No_type_could_be_extracted_from_this_type_node)};var I=ue(Q,O);return{isJS:ce,selection:O,firstStatement:de,typeParameters:$,typeElements:I}}function ue(f,b){if(b)if(e.isIntersectionTypeNode(b)){for(var y=[],K=new e.Map,ce=0,Y=b.types;ceot.pos});if(ve!==-1){var be=ke[ve];if(e.isNamedDeclaration(be)&&be.name&&e.rangeContainsRange(be.name,ot))return{toMove:[ke[ve]],afterLast:ke[ve+1]};if(!(ot.pos>be.getStart(Fe))){var Oe=e.findIndex(ke,function(Ce){return Ce.end>ot.end},ve);if(!(Oe!==-1&&(Oe===0||ke[Oe].getStart(Fe)=r&&e.every(d,function(j){return $(j,E)})}function $(d,E){if(e.isRestParameter(d)){var j=E.getTypeAtLocation(d);if(!E.isArrayType(j)&&!E.isTupleType(j))return!1}return!d.modifiers&&!d.decorators&&e.isIdentifier(d.name)}function I(d){return e.isVariableDeclaration(d)&&e.isVarConst(d)&&e.isIdentifier(d.name)&&!d.type}function Z(d){return d.length>0&&e.isThis(d[0].name)}function z(d){return Z(d)?d.length-1:d.length}function ie(d){return Z(d)&&(d=e.factory.createNodeArray(d.slice(1),d.hasTrailingComma)),d}function m(d,E){return e.isIdentifier(E)&&e.getTextOfIdentifierOrLiteral(E)===d?e.factory.createShorthandPropertyAssignment(d):e.factory.createPropertyAssignment(d,E)}function A(d,E){var j=ie(d.parameters),B=e.isRestParameter(e.last(j)),W=B?E.slice(0,j.length-1):E,J=e.map(W,function(w,R){var L=C(j[R]),V=m(L,w);return e.suppressLeadingAndTrailingTrivia(V.name),e.isPropertyAssignment(V)&&e.suppressLeadingAndTrailingTrivia(V.initializer),e.copyComments(w,V),V});if(B&&E.length>=j.length){var M=E.slice(j.length-1),pe=e.factory.createPropertyAssignment(C(e.last(j)),e.factory.createArrayLiteralExpression(M));J.push(pe)}var Ne=e.factory.createObjectLiteralExpression(J,!1);return Ne}function g(d,E,j){var B=E.getTypeChecker(),W=ie(d.parameters),J=e.map(W,V),M=e.factory.createObjectBindingPattern(J),pe=Te(W),Ne;e.every(W,He)&&(Ne=e.factory.createObjectLiteralExpression());var w=e.factory.createParameterDeclaration(void 0,void 0,void 0,M,void 0,pe,Ne);if(Z(d.parameters)){var R=d.parameters[0],L=e.factory.createParameterDeclaration(void 0,void 0,void 0,R.name,void 0,R.type);return e.suppressLeadingAndTrailingTrivia(L.name),e.copyComments(R.name,L.name),R.type&&(e.suppressLeadingAndTrailingTrivia(L.type),e.copyComments(R.type,L.type)),e.factory.createNodeArray([L,w])}return e.factory.createNodeArray([w]);function V(et){var pt=e.factory.createBindingElement(void 0,void 0,C(et),e.isRestParameter(et)&&He(et)?e.factory.createArrayLiteralExpression():et.initializer);return e.suppressLeadingAndTrailingTrivia(pt),et.initializer&&pt.initializer&&e.copyComments(et.initializer,pt.initializer),pt}function Te(et){var pt=e.map(et,Se),Me=e.addEmitFlags(e.factory.createTypeLiteralNode(pt),1);return Me}function Se(et){var pt=et.type;!pt&&(et.initializer||e.isRestParameter(et))&&(pt=we(et));var Me=e.factory.createPropertySignature(void 0,C(et),He(et)?e.factory.createToken(57):et.questionToken,pt);return e.suppressLeadingAndTrailingTrivia(Me),e.copyComments(et.name,Me.name),et.type&&Me.type&&e.copyComments(et.type,Me.type),Me}function we(et){var pt=B.getTypeAtLocation(et);return e.getTypeNodeIfAccessible(pt,et,E,j)}function He(et){if(e.isRestParameter(et)){var pt=B.getTypeAtLocation(et);return!B.isTupleType(pt)}return B.isOptionalParameter(et)}}function C(d){return e.getTextOfIdentifierOrLiteral(d.name)}function N(d){switch(d.parent.kind){case 256:var E=d.parent;if(E.name)return[E.name];var j=e.Debug.checkDefined(e.findModifier(E,88),"Nameless class declaration should be a default export");return[j];case 225:var B=d.parent,W=d.parent.parent,J=B.name;return J?[J,W.name]:[W.name]}}function _(d){switch(d.kind){case 255:if(d.name)return[d.name];var E=e.Debug.checkDefined(e.findModifier(d,88),"Nameless function declaration should be a default export");return[E];case 168:return[d.name];case 170:var j=e.Debug.checkDefined(e.findChildOfKind(d,134,d.getSourceFile()),"Constructor declaration should have constructor keyword");if(d.parent.kind===225){var B=d.parent.parent;return[B.name,j]}return[j];case 213:return[d.parent.name];case 212:return d.name?[d.name,d.parent.name]:[d.parent.name];default:return e.Debug.assertNever(d,"Unexpected function declaration kind ".concat(d.kind))}}})(a.convertParamsToDestructuredObject||(a.convertParamsToDestructuredObject={}))})(e.refactor||(e.refactor={}))})(ne||(ne={}));var ne;(function(e){(function(a){(function(u){var P="Convert to template string",r=e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_template_string),v={name:P,description:r,kind:"refactor.rewrite.string"};a.registerRefactor(P,{kinds:[v.kind],getEditsForAction:h,getAvailableActions:G});function G(O){var Q=O.file,de=O.startPosition,$=ue(Q,de),I=se($),Z={name:P,description:r,actions:[]};return e.isBinaryExpression(I)&&le(I).isValidConcatenation?(Z.actions.push(v),[Z]):O.preferences.provideRefactorNotApplicableReason?(Z.actions.push(Tt(Tt({},v),{notApplicableReason:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_string_concatenation)})),[Z]):e.emptyArray}function ue(O,Q){var de=e.getTokenAtPosition(O,Q),$=se(de),I=!le($).isValidConcatenation;return I&&e.isParenthesizedExpression($.parent)&&e.isBinaryExpression($.parent.parent)?$.parent.parent:de}function h(O,Q){var de=O.file,$=O.startPosition,I=ue(de,$);switch(Q){case r:return{edits:S(O,I)};default:return e.Debug.fail("invalid action")}}function S(O,Q){var de=se(Q),$=O.file,I=Y(le(de),$),Z=e.getTrailingCommentRanges($.text,de.end);if(Z){var z=Z[Z.length-1],ie={pos:Z[0].pos,end:z.end};return e.textChanges.ChangeTracker.with(O,function(m){m.deleteRange($,ie),m.replaceNode($,de,I)})}else return e.textChanges.ChangeTracker.with(O,function(m){return m.replaceNode($,de,I)})}function k(O){return O.operatorToken.kind!==63}function se(O){var Q=e.findAncestor(O.parent,function(de){switch(de.kind){case 205:case 206:return!1;case 222:case 220:return!(e.isBinaryExpression(de.parent)&&k(de.parent));default:return"quit"}});return Q||O}function le(O){var Q=function(ie){if(!e.isBinaryExpression(ie))return{nodes:[ie],operators:[],validOperators:!0,hasString:e.isStringLiteral(ie)||e.isNoSubstitutionTemplateLiteral(ie)};var m=Q(ie.left),A=m.nodes,g=m.operators,C=m.hasString,N=m.validOperators;if(!(C||e.isStringLiteral(ie.right)||e.isTemplateExpression(ie.right)))return{nodes:[ie],operators:[],hasString:!1,validOperators:!0};var _=ie.operatorToken.kind===39,d=N&&_;return A.push(ie.right),g.push(ie.operatorToken),{nodes:A,operators:g,hasString:!0,validOperators:d}},de=Q(O),$=de.nodes,I=de.operators,Z=de.validOperators,z=de.hasString;return{nodes:$,operators:I,isValidConcatenation:Z&&z}}var f=function(O,Q){return function(de,$){de0;){var Z=$.shift();e.copyTrailingComments(O[Z],I,Q,3,!1),de(Z,I)}}};function y(O){return O.replace(/\\.|[$`]/g,function(Q){return Q[0]==="\\"?Q:"\\"+Q})}function K(O){var Q=e.isTemplateHead(O)||e.isTemplateMiddle(O)?-2:-1;return e.getTextOfNode(O).slice(1,Q)}function ce(O,Q){for(var de=[],$="",I="";O1)return le.getUnionType(e.mapDefined(b,function(K){return K.getReturnType()}))}var y=le.getSignatureFromDeclaration(f);if(y)return le.getReturnTypeOfSignature(y)}})(a.inferFunctionReturnType||(a.inferFunctionReturnType={}))})(e.refactor||(e.refactor={}))})(ne||(ne={}));var ne;(function(e){e.servicesVersion="0.8";function a(R,L,V,Te){var Se=e.isNodeKind(R)?new u(R,L,V):R===79?new S(79,L,V):R===80?new k(80,L,V):new h(R,L,V);return Se.parent=Te,Se.flags=Te.flags&25358336,Se}var u=function(){function R(L,V,Te){this.pos=V,this.end=Te,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.kind=L}return R.prototype.assertHasRealPosition=function(L){e.Debug.assert(!e.positionIsSynthesized(this.pos)&&!e.positionIsSynthesized(this.end),L||"Node must have a real position for this operation")},R.prototype.getSourceFile=function(){return e.getSourceFileOfNode(this)},R.prototype.getStart=function(L,V){return this.assertHasRealPosition(),e.getTokenPosOfNode(this,L,V)},R.prototype.getFullStart=function(){return this.assertHasRealPosition(),this.pos},R.prototype.getEnd=function(){return this.assertHasRealPosition(),this.end},R.prototype.getWidth=function(L){return this.assertHasRealPosition(),this.getEnd()-this.getStart(L)},R.prototype.getFullWidth=function(){return this.assertHasRealPosition(),this.end-this.pos},R.prototype.getLeadingTriviaWidth=function(L){return this.assertHasRealPosition(),this.getStart(L)-this.pos},R.prototype.getFullText=function(L){return this.assertHasRealPosition(),(L||this.getSourceFile()).text.substring(this.pos,this.end)},R.prototype.getText=function(L){return this.assertHasRealPosition(),L||(L=this.getSourceFile()),L.text.substring(this.getStart(L),this.getEnd())},R.prototype.getChildCount=function(L){return this.getChildren(L).length},R.prototype.getChildAt=function(L,V){return this.getChildren(V)[L]},R.prototype.getChildren=function(L){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=P(this,L))},R.prototype.getFirstToken=function(L){this.assertHasRealPosition();var V=this.getChildren(L);if(V.length){var Te=e.find(V,function(Se){return Se.kind<307||Se.kind>345});return Te.kind<160?Te:Te.getFirstToken(L)}},R.prototype.getLastToken=function(L){this.assertHasRealPosition();var V=this.getChildren(L),Te=e.lastOrUndefined(V);if(Te)return Te.kind<160?Te:Te.getLastToken(L)},R.prototype.forEachChild=function(L,V){return e.forEachChild(this,L,V)},R}();function P(R,L){if(!e.isNodeKind(R.kind))return e.emptyArray;var V=[];if(e.isJSDocCommentContainingNode(R))return R.forEachChild(function(He){V.push(He)}),V;e.scanner.setText((L||R.getSourceFile()).text);var Te=R.pos,Se=function(He){r(V,Te,He.pos,R),V.push(He),Te=He.end},we=function(He){r(V,Te,He.pos,R),V.push(v(He,R)),Te=He.end};return e.forEach(R.jsDoc,Se),Te=R.pos,R.forEachChild(Se,we),r(V,Te,R.end,R),e.scanner.setText(void 0),V}function r(R,L,V,Te){for(e.scanner.setTextPos(L);L=Se.length&&(we=this.getEnd()),we||(we=Se[Te+1]-1);var He=this.getFullText();return He[we]===` `&&He[we-1]==="\r"?we-1:we},L.prototype.getNamedDeclarations=function(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations},L.prototype.computeNamedDeclarations=function(){var V=e.createMultiMap();return this.forEachChild(He),V;function Te(et){var pt=we(et);pt&&V.add(pt,et)}function Se(et){var pt=V.get(et);return pt||V.set(et,pt=[]),pt}function we(et){var pt=e.getNonAssignedNameOfDeclaration(et);return pt&&(e.isComputedPropertyName(pt)&&e.isPropertyAccessExpression(pt.expression)?pt.expression.name.text:e.isPropertyName(pt)?e.getNameFromPropertyName(pt):void 0)}function He(et){switch(et.kind){case 255:case 212:case 168:case 167:var pt=et,Me=we(pt);if(Me){var Fe=Se(Me),ot=e.lastOrUndefined(Fe);ot&&pt.parent===ot.parent&&pt.symbol===ot.symbol?pt.body&&!ot.body&&(Fe[Fe.length-1]=pt):Fe.push(pt)}e.forEachChild(et,He);break;case 256:case 225:case 257:case 258:case 259:case 260:case 264:case 274:case 269:case 266:case 267:case 171:case 172:case 181:Te(et),e.forEachChild(et,He);break;case 163:if(!e.hasSyntacticModifier(et,16476))break;case 253:case 202:{var ke=et;if(e.isBindingPattern(ke.name)){e.forEachChild(ke.name,He);break}ke.initializer&&He(ke.initializer)}case 297:case 166:case 165:Te(et);break;case 271:var ve=et;ve.exportClause&&(e.isNamedExports(ve.exportClause)?e.forEach(ve.exportClause.elements,He):He(ve.exportClause.name));break;case 265:var be=et.importClause;be&&(be.name&&Te(be.name),be.namedBindings&&(be.namedBindings.kind===267?Te(be.namedBindings):e.forEach(be.namedBindings.elements,He)));break;case 220:e.getAssignmentDeclarationKind(et)!==0&&Te(et);default:e.forEachChild(et,He)}}},L}(u),Y=function(){function R(L,V,Te){this.fileName=L,this.text=V,this.skipTrivia=Te}return R.prototype.getLineAndCharacterOfPosition=function(L){return e.getLineAndCharacterOfPosition(this,L)},R}();function re(){return{getNodeConstructor:function(){return u},getTokenConstructor:function(){return h},getIdentifierConstructor:function(){return S},getPrivateIdentifierConstructor:function(){return k},getSourceFileConstructor:function(){return ce},getSymbolConstructor:function(){return ue},getTypeConstructor:function(){return se},getSignatureConstructor:function(){return le},getSourceMapSourceConstructor:function(){return Y}}}function F(R){var L=!0;for(var V in R)if(e.hasProperty(R,V)&&!O(V)){L=!1;break}if(L)return R;var Te={};for(var V in R)if(e.hasProperty(R,V)){var Se=O(V)?V:V.charAt(0).toLowerCase()+V.substr(1);Te[Se]=R[V]}return Te}e.toEditorSettings=F;function O(R){return!R.length||R.charAt(0)===R.charAt(0).toLowerCase()}function Q(R){return R?e.map(R,function(L){return L.text}).join(""):""}e.displayPartsToString=Q;function de(){return{target:1,jsx:1}}e.getDefaultCompilerOptions=de;function $(){return e.codefix.getSupportedErrorCodes()}e.getSupportedCodeFixes=$;var I=function(){function R(L,V){this.host=L,this.currentDirectory=L.getCurrentDirectory(),this.fileNameToEntry=new e.Map;for(var Te=L.getScriptFileNames(),Se=0,we=Te;Se=this.throttleWaitMilliseconds?(this.lastCancellationCheckTime=L,this.hostCancellationToken.isCancellationRequested()):!1},R.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw e.tracing===null||e.tracing===void 0||e.tracing.instant("session","cancellationThrown",{kind:"ThrottledCancellationToken"}),new e.OperationCanceledException},R}();e.ThrottledCancellationToken=C;var N=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints"],_=tt(tt([],N,!0),["getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getOccurrencesAtPosition","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"],!1);function d(R,L,V){var Te,Se;L===void 0&&(L=e.createDocumentRegistry(R.useCaseSensitiveFileNames&&R.useCaseSensitiveFileNames(),R.getCurrentDirectory()));var we;V===void 0?we=e.LanguageServiceMode.Semantic:typeof V=="boolean"?we=V?e.LanguageServiceMode.Syntactic:e.LanguageServiceMode.Semantic:we=V;var He=new Z(R),et,pt,Me=0,Fe=R.getCancellationToken?new g(R.getCancellationToken()):A,ot=R.getCurrentDirectory();e.maybeSetLocalizedDiagnosticMessages((Se=R.getLocalizedDiagnosticMessages)===null||Se===void 0?void 0:Se.bind(R));function ke(Nn){R.log&&R.log(Nn)}var ve=e.hostUsesCaseSensitiveFileNames(R),be=e.createGetCanonicalFileName(ve),Oe=e.getSourceMapper({useCaseSensitiveFileNames:function(){return ve},getCurrentDirectory:function(){return ot},getProgram:ze,fileExists:e.maybeBind(R,R.fileExists),readFile:e.maybeBind(R,R.readFile),getDocumentPositionMapper:e.maybeBind(R,R.getDocumentPositionMapper),getSourceFileLike:e.maybeBind(R,R.getSourceFileLike),log:ke});function Ce(Nn){var Rn=et.getSourceFile(Nn);if(!Rn){var Bn=new Error("Could not find source file: '".concat(Nn,"'."));throw Bn.ProgramFiles=et.getSourceFiles().map(function(jt){return jt.fileName}),Bn}return Rn}function ge(){var Nn,Rn,Bn;if(e.Debug.assert(we!==e.LanguageServiceMode.Syntactic),R.getProjectVersion){var jt=R.getProjectVersion();if(jt){if(pt===jt&&!(!((Nn=R.hasChangedAutomaticTypeDirectiveNames)===null||Nn===void 0)&&Nn.call(R)))return;pt=jt}}var pr=R.getTypeRootsVersion?R.getTypeRootsVersion():0;Me!==pr&&(ke("TypeRoots version has changed; provide new program"),et=void 0,Me=pr);var br=new I(R,be),Ci=br.getRootFileNames(),Bi=R.getCompilationSettings()||de(),Da=R.hasInvalidatedResolution||e.returnFalse,$i=e.maybeBind(R,R.hasChangedAutomaticTypeDirectiveNames),Xt=(Rn=R.getProjectReferences)===null||Rn===void 0?void 0:Rn.call(R),ja,xa={useCaseSensitiveFileNames:ve,fileExists:xo,readFile:as,readDirectory:ta,trace:e.maybeBind(R,R.trace),getCurrentDirectory:function(){return ot},onUnRecoverableConfigFileDiagnostic:e.noop};if(e.isProgramUptoDate(et,Ci,Bi,function(pa,oo){return R.getScriptVersion(oo)},xo,Da,$i,is,Xt))return;var so={getSourceFile:qo,getSourceFileByPath:bo,getCancellationToken:function(){return Fe},getCanonicalFileName:be,useCaseSensitiveFileNames:function(){return ve},getNewLine:function(){return e.getNewLineCharacter(Bi,function(){return e.getNewLineOrDefaultFromHost(R)})},getDefaultLibFileName:function(pa){return R.getDefaultLibFileName(pa)},writeFile:e.noop,getCurrentDirectory:function(){return ot},fileExists:xo,readFile:as,getSymlinkCache:e.maybeBind(R,R.getSymlinkCache),realpath:e.maybeBind(R,R.realpath),directoryExists:function(pa){return e.directoryProbablyExists(pa,R)},getDirectories:function(pa){return R.getDirectories?R.getDirectories(pa):[]},readDirectory:ta,onReleaseOldSourceFile:ls,onReleaseParsedCommandLine:Mo,hasInvalidatedResolution:Da,hasChangedAutomaticTypeDirectiveNames:$i,trace:xa.trace,resolveModuleNames:e.maybeBind(R,R.resolveModuleNames),getModuleResolutionCache:e.maybeBind(R,R.getModuleResolutionCache),resolveTypeReferenceDirectives:e.maybeBind(R,R.resolveTypeReferenceDirectives),useSourceOfProjectReferenceRedirect:e.maybeBind(R,R.useSourceOfProjectReferenceRedirect),getParsedCommandLine:is};(Bn=R.setCompilerHost)===null||Bn===void 0||Bn.call(R,so);var po=L.getKeyForCompilationSettings(Bi),Ua={rootNames:Ci,options:Bi,host:so,oldProgram:et,projectReferences:Xt};et=e.createProgram(Ua),br=void 0,ja=void 0,Oe.clearCache(),et.getTypeChecker();return;function is(pa){var oo=e.toPath(pa,ot,be),Ro=ja==null?void 0:ja.get(oo);if(Ro!==void 0)return Ro||void 0;var jo=R.getParsedCommandLine?R.getParsedCommandLine(pa):ao(pa);return(ja||(ja=new e.Map)).set(oo,jo||!1),jo}function ao(pa){var oo=qo(pa,100);if(oo)return oo.path=e.toPath(pa,ot,be),oo.resolvedPath=oo.path,oo.originalFileName=oo.fileName,e.parseJsonSourceFileConfigFileContent(oo,xa,e.getNormalizedAbsolutePath(e.getDirectoryPath(pa),ot),void 0,e.getNormalizedAbsolutePath(pa,ot))}function Mo(pa,oo,Ro){var jo;R.getParsedCommandLine?(jo=R.onReleaseParsedCommandLine)===null||jo===void 0||jo.call(R,pa,oo,Ro):oo&&ls(oo.sourceFile,Ro)}function xo(pa){var oo=e.toPath(pa,ot,be),Ro=br&&br.getEntryByPath(oo);return Ro?!e.isString(Ro):!!R.fileExists&&R.fileExists(pa)}function as(pa){var oo=e.toPath(pa,ot,be),Ro=br&&br.getEntryByPath(oo);return Ro?e.isString(Ro)?void 0:e.getSnapshotText(Ro.scriptSnapshot):R.readFile&&R.readFile(pa)}function ta(pa,oo,Ro,jo,_s){return e.Debug.checkDefined(R.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'"),R.readDirectory(pa,oo,Ro,jo,_s)}function ls(pa,oo){var Ro=L.getKeyForCompilationSettings(oo);L.releaseDocumentWithKey(pa.resolvedPath,Ro,pa.scriptKind)}function qo(pa,oo,Ro,jo){return bo(pa,e.toPath(pa,ot,be),oo,Ro,jo)}function bo(pa,oo,Ro,jo,_s){e.Debug.assert(br!==void 0,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");var ds=br&&br.getOrCreateEntryByPath(pa,oo);if(ds){if(!_s){var Fs=et&&et.getSourceFileByPath(oo);if(Fs){if(ds.scriptKind===Fs.scriptKind)return L.updateDocumentWithKey(pa,oo,Bi,po,ds.scriptSnapshot,ds.version,ds.scriptKind);L.releaseDocumentWithKey(Fs.resolvedPath,L.getKeyForCompilationSettings(et.getCompilerOptions()),Fs.scriptKind)}}return L.acquireDocumentWithKey(pa,oo,Bi,po,ds.scriptSnapshot,ds.version,ds.scriptKind)}}}function ze(){if(we===e.LanguageServiceMode.Syntactic){e.Debug.assert(et===void 0);return}return ge(),et}function ft(){var Nn;return(Nn=R.getPackageJsonAutoImportProvider)===null||Nn===void 0?void 0:Nn.call(R)}function vt(){et=void 0}function st(){if(et){var Nn=L.getKeyForCompilationSettings(et.getCompilerOptions());e.forEach(et.getSourceFiles(),function(Rn){return L.releaseDocumentWithKey(Rn.resolvedPath,Nn,Rn.scriptKind)}),et=void 0}R=void 0}function At(Nn){return ge(),et.getSyntacticDiagnostics(Ce(Nn),Fe).slice()}function qt(Nn){ge();var Rn=Ce(Nn),Bn=et.getSemanticDiagnostics(Rn,Fe);if(!e.getEmitDeclarations(et.getCompilerOptions()))return Bn.slice();var jt=et.getDeclarationDiagnostics(Rn,Fe);return tt(tt([],Bn,!0),jt,!0)}function Ue(Nn){return ge(),e.computeSuggestionDiagnostics(Ce(Nn),et,Fe)}function Ie(){return ge(),tt(tt([],et.getOptionsDiagnostics(Fe),!0),et.getGlobalDiagnostics(Fe),!0)}function Ht(Nn,Rn,Bn,jt){Bn===void 0&&(Bn=e.emptyOptions);var pr=Tt(Tt({},e.identity(Bn)),{includeCompletionsForModuleExports:Bn.includeCompletionsForModuleExports||Bn.includeExternalModuleExports,includeCompletionsWithInsertText:Bn.includeCompletionsWithInsertText||Bn.includeInsertTextCompletions});return ge(),e.Completions.getCompletionsAtPosition(R,et,ke,Ce(Nn),Rn,pr,Bn.triggerCharacter,Bn.triggerKind,Fe,jt&&e.formatting.getFormatContext(jt,R))}function _t(Nn,Rn,Bn,jt,pr,br,Ci){return br===void 0&&(br=e.emptyOptions),ge(),e.Completions.getCompletionEntryDetails(et,ke,Ce(Nn),Rn,{name:Bn,source:pr,data:Ci},R,jt&&e.formatting.getFormatContext(jt,R),br,Fe)}function It(Nn,Rn,Bn,jt,pr){return pr===void 0&&(pr=e.emptyOptions),ge(),e.Completions.getCompletionEntrySymbol(et,ke,Ce(Nn),Rn,{name:Bn,source:jt},R,pr)}function fe(Nn,Rn){ge();var Bn=Ce(Nn),jt=e.getTouchingPropertyName(Bn,Rn);if(jt!==Bn){var pr=et.getTypeChecker(),br=Be(jt),Ci=M(br,pr);if(!Ci||pr.isUnknownSymbol(Ci)){var Bi=We(Bn,br,Rn)?pr.getTypeAtLocation(br):void 0;return Bi&&{kind:"",kindModifiers:"",textSpan:e.createTextSpanFromNode(br,Bn),displayParts:pr.runWithCancellationToken(Fe,function(so){return e.typeToDisplayParts(so,Bi,e.getContainerNode(br))}),documentation:Bi.symbol?Bi.symbol.getDocumentationComment(pr):void 0,tags:Bi.symbol?Bi.symbol.getJsDocTags(pr):void 0}}var Da=pr.runWithCancellationToken(Fe,function(so){return e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(so,Ci,Bn,e.getContainerNode(br),br)}),$i=Da.symbolKind,Xt=Da.displayParts,ja=Da.documentation,xa=Da.tags;return{kind:$i,kindModifiers:e.SymbolDisplay.getSymbolModifiers(pr,Ci),textSpan:e.createTextSpanFromNode(br,Bn),displayParts:Xt,documentation:ja,tags:xa}}}function Be(Nn){return e.isNewExpression(Nn.parent)&&Nn.pos===Nn.parent.pos?Nn.parent.expression:e.isNamedTupleMember(Nn.parent)&&Nn.pos===Nn.parent.pos?Nn.parent:Nn}function We(Nn,Rn,Bn){switch(Rn.kind){case 79:return!e.isLabelName(Rn)&&!e.isTagName(Rn)&&!e.isConstTypeReference(Rn.parent);case 205:case 160:return!e.isInComment(Nn,Bn);case 108:case 191:case 106:case 196:return!0;default:return!1}}function Ft(Nn,Rn){return ge(),e.GoToDefinition.getDefinitionAtPosition(et,Ce(Nn),Rn)}function Lt(Nn,Rn){return ge(),e.GoToDefinition.getDefinitionAndBoundSpan(et,Ce(Nn),Rn)}function Rt(Nn,Rn){return ge(),e.GoToDefinition.getTypeDefinitionAtPosition(et.getTypeChecker(),Ce(Nn),Rn)}function Et(Nn,Rn){return ge(),e.FindAllReferences.getImplementationsAtPosition(et,Fe,et.getSourceFiles(),Ce(Nn),Rn)}function pn(Nn,Rn){return e.flatMap(he(Nn,Rn,[Nn]),function(Bn){return Bn.highlightSpans.map(function(jt){return Tt(Tt({fileName:Bn.fileName,textSpan:jt.textSpan,isWriteAccess:jt.kind==="writtenReference",isDefinition:!1},jt.isInString&&{isInString:!0}),jt.contextSpan&&{contextSpan:jt.contextSpan})})})}function he(Nn,Rn,Bn){var jt=e.normalizePath(Nn);e.Debug.assert(Bn.some(function(Ci){return e.normalizePath(Ci)===jt})),ge();var pr=e.mapDefined(Bn,function(Ci){return et.getSourceFile(Ci)}),br=Ce(Nn);return e.DocumentHighlights.getDocumentHighlights(et,Fe,br,Rn,pr)}function yt(Nn,Rn,Bn,jt,pr){ge();var br=Ce(Nn),Ci=e.getAdjustedRenameLocation(e.getTouchingPropertyName(br,Rn));if(e.Rename.nodeIsEligibleForRename(Ci))if(e.isIdentifier(Ci)&&(e.isJsxOpeningElement(Ci.parent)||e.isJsxClosingElement(Ci.parent))&&e.isIntrinsicJsxName(Ci.escapedText)){var Bi=Ci.parent.parent,Da=Bi.openingElement,$i=Bi.closingElement;return[Da,$i].map(function(Xt){var ja=e.createTextSpanFromNode(Xt.tagName,br);return Tt({fileName:br.fileName,textSpan:ja},e.FindAllReferences.toContextSpan(ja,br,Xt.parent))})}else return rn(Ci,Rn,{findInStrings:Bn,findInComments:jt,providePrefixAndSuffixTextForRename:pr,use:2},function(Xt,ja,xa){return e.FindAllReferences.toRenameLocation(Xt,ja,xa,pr||!1)})}function Gt(Nn,Rn){return ge(),rn(e.getTouchingPropertyName(Ce(Nn),Rn),Rn,{use:1},function(Bn,jt,pr){return e.FindAllReferences.toReferenceEntry(Bn,pr.getSymbolAtLocation(jt))})}function rn(Nn,Rn,Bn,jt){ge();var pr=Bn&&Bn.use===2?et.getSourceFiles().filter(function(br){return!et.isSourceFileDefaultLibrary(br)}):et.getSourceFiles();return e.FindAllReferences.findReferenceOrRenameEntries(et,Fe,pr,Nn,Rn,Bn,jt)}function Zt(Nn,Rn){return ge(),e.FindAllReferences.findReferencedSymbols(et,Fe,et.getSourceFiles(),Ce(Nn),Rn)}function kn(Nn){var Rn;ge();var Bn=(Rn=et.getSourceFile(Nn))===null||Rn===void 0?void 0:Rn.symbol;return e.FindAllReferences.Core.getReferencesForFileName(Nn,et,et.getSourceFiles()).map(function(jt){return e.FindAllReferences.toReferenceEntry(jt,Bn)})}function Zn(Nn,Rn,Bn,jt){jt===void 0&&(jt=!1),ge();var pr=Bn?[Ce(Bn)]:et.getSourceFiles();return e.NavigateTo.getNavigateToItems(pr,et.getTypeChecker(),Fe,Nn,Rn,jt)}function Sr(Nn,Rn,Bn){ge();var jt=Ce(Nn),pr=R.getCustomTransformers&&R.getCustomTransformers();return e.getFileEmitOutput(et,jt,!!Rn,Fe,pr,Bn)}function Ze(Nn,Rn,Bn){var jt=Bn===void 0?e.emptyOptions:Bn,pr=jt.triggerReason;ge();var br=Ce(Nn);return e.SignatureHelp.getSignatureHelpItems(et,br,Rn,pr,Fe)}function tn(Nn){return He.getCurrentSourceFile(Nn)}function Je(Nn,Rn,Bn){var jt=He.getCurrentSourceFile(Nn),pr=e.getTouchingPropertyName(jt,Rn);if(pr!==jt){switch(pr.kind){case 205:case 160:case 10:case 95:case 110:case 104:case 106:case 108:case 191:case 79:break;default:return}for(var br=pr;;)if(e.isRightSideOfPropertyAccess(br)||e.isRightSideOfQualifiedName(br))br=br.parent;else if(e.isNameOfModuleDeclaration(br))if(br.parent.parent.kind===260&&br.parent.parent.body===br.parent)br=br.parent.parent.name;else break;else break;return e.createTextSpanFromBounds(br.getStart(),pr.getEnd())}}function Bt(Nn,Rn){var Bn=He.getCurrentSourceFile(Nn);return e.BreakpointResolver.spanInSourceFileAtLocation(Bn,Rn)}function zt(Nn){return e.NavigationBar.getNavigationBarItems(He.getCurrentSourceFile(Nn),Fe)}function Ve(Nn){return e.NavigationBar.getNavigationTree(He.getCurrentSourceFile(Nn),Fe)}function Nt(Nn,Rn,Bn){ge();var jt=Bn||"original";return jt==="2020"?e.classifier.v2020.getSemanticClassifications(et,Fe,Ce(Nn),Rn):e.getSemanticClassifications(et.getTypeChecker(),Fe,Ce(Nn),et.getClassifiableNames(),Rn)}function Ge(Nn,Rn,Bn){ge();var jt=Bn||"original";return jt==="original"?e.getEncodedSemanticClassifications(et.getTypeChecker(),Fe,Ce(Nn),et.getClassifiableNames(),Rn):e.classifier.v2020.getEncodedSemanticClassifications(et,Fe,Ce(Nn),Rn)}function lt(Nn,Rn){return e.getSyntacticClassifications(Fe,He.getCurrentSourceFile(Nn),Rn)}function Le(Nn,Rn){return e.getEncodedSyntacticClassifications(Fe,He.getCurrentSourceFile(Nn),Rn)}function ee(Nn){var Rn=He.getCurrentSourceFile(Nn);return e.OutliningElementsCollector.collectElements(Rn,Fe)}var xe=new e.Map(e.getEntries((Te={},Te[18]=19,Te[20]=21,Te[22]=23,Te[31]=29,Te)));xe.forEach(function(Nn,Rn){return xe.set(Nn.toString(),Number(Rn))});function H(Nn,Rn){var Bn=He.getCurrentSourceFile(Nn),jt=e.getTouchingToken(Bn,Rn),pr=jt.getStart(Bn)===Rn?xe.get(jt.kind.toString()):void 0,br=pr&&e.findChildOfKind(jt.parent,pr,Bn);return br?[e.createTextSpanFromNode(jt,Bn),e.createTextSpanFromNode(br,Bn)].sort(function(Ci,Bi){return Ci.start-Bi.start}):e.emptyArray}function ae(Nn,Rn,Bn){var jt=e.timestamp(),pr=F(Bn),br=He.getCurrentSourceFile(Nn);ke("getIndentationAtPosition: getCurrentSourceFile: "+(e.timestamp()-jt)),jt=e.timestamp();var Ci=e.formatting.SmartIndenter.getIndentation(Rn,br,pr);return ke("getIndentationAtPosition: computeIndentation : "+(e.timestamp()-jt)),Ci}function Re(Nn,Rn,Bn,jt){var pr=He.getCurrentSourceFile(Nn);return e.formatting.formatSelection(Rn,Bn,pr,e.formatting.getFormatContext(F(jt),R))}function it(Nn,Rn){return e.formatting.formatDocument(He.getCurrentSourceFile(Nn),e.formatting.getFormatContext(F(Rn),R))}function ut(Nn,Rn,Bn,jt){var pr=He.getCurrentSourceFile(Nn),br=e.formatting.getFormatContext(F(jt),R);if(!e.isInComment(pr,Rn))switch(Bn){case"{":return e.formatting.formatOnOpeningCurly(Rn,pr,br);case"}":return e.formatting.formatOnClosingCurly(Rn,pr,br);case";":return e.formatting.formatOnSemicolon(Rn,pr,br);case` `:return e.formatting.formatOnEnter(Rn,pr,br)}return[]}function Qe(Nn,Rn,Bn,jt,pr,br){br===void 0&&(br=e.emptyOptions),ge();var Ci=Ce(Nn),Bi=e.createTextSpanFromBounds(Rn,Bn),Da=e.formatting.getFormatContext(pr,R);return e.flatMap(e.deduplicate(jt,e.equateValues,e.compareValues),function($i){return Fe.throwIfCancellationRequested(),e.codefix.getFixes({errorCode:$i,sourceFile:Ci,span:Bi,program:et,host:R,cancellationToken:Fe,formatContext:Da,preferences:br})})}function cn(Nn,Rn,Bn,jt){jt===void 0&&(jt=e.emptyOptions),ge(),e.Debug.assert(Nn.type==="file");var pr=Ce(Nn.fileName),br=e.formatting.getFormatContext(Bn,R);return e.codefix.getAllFixes({fixId:Rn,sourceFile:pr,program:et,host:R,cancellationToken:Fe,formatContext:br,preferences:jt})}function vn(Nn,Rn,Bn){Bn===void 0&&(Bn=e.emptyOptions),ge(),e.Debug.assert(Nn.type==="file");var jt=Ce(Nn.fileName),pr=e.formatting.getFormatContext(Rn,R);return e.OrganizeImports.organizeImports(jt,pr,R,et,Bn,Nn.skipDestructiveCodeActions)}function Ut(Nn,Rn,Bn,jt){return jt===void 0&&(jt=e.emptyOptions),e.getEditsForFileRename(ze(),Nn,Rn,R,e.formatting.getFormatContext(Bn,R),jt,Oe)}function $e(Nn,Rn){var Bn=typeof Nn=="string"?Rn:Nn;return e.isArray(Bn)?Promise.all(Bn.map(function(jt){return Ct(jt)})):Ct(Bn)}function Ct(Nn){var Rn=function(Bn){return e.toPath(Bn,ot,be)};return e.Debug.assertEqual(Nn.type,"install package"),R.installPackage?R.installPackage({fileName:Rn(Nn.file),packageName:Nn.packageName}):Promise.reject("Host does not implement `installPackage`")}function kt(Nn,Rn,Bn){return e.JsDoc.getDocCommentTemplateAtPosition(e.getNewLineOrDefaultFromHost(R),He.getCurrentSourceFile(Nn),Rn,Bn)}function en(Nn,Rn,Bn){if(Bn===60)return!1;var jt=He.getCurrentSourceFile(Nn);if(e.isInString(jt,Rn))return!1;if(e.isInsideJsxElementOrAttribute(jt,Rn))return Bn===123;if(e.isInTemplateString(jt,Rn))return!1;switch(Bn){case 39:case 34:case 96:return!e.isInComment(jt,Rn)}return!0}function mn(Nn,Rn){var Bn=He.getCurrentSourceFile(Nn),jt=e.findPrecedingToken(Rn,Bn);if(jt){var pr=jt.kind===31&&e.isJsxOpeningElement(jt.parent)?jt.parent.parent:e.isJsxText(jt)&&e.isJsxElement(jt.parent)?jt.parent:void 0;if(pr&&qn(pr))return{newText:"")};var br=jt.kind===31&&e.isJsxOpeningFragment(jt.parent)?jt.parent.parent:e.isJsxText(jt)&&e.isJsxFragment(jt.parent)?jt.parent:void 0;if(br&&xn(br))return{newText:""}}}function hn(Nn,Rn){return{lineStarts:Nn.getLineStarts(),firstLine:Nn.getLineAndCharacterOfPosition(Rn.pos).line,lastLine:Nn.getLineAndCharacterOfPosition(Rn.end).line}}function Pn(Nn,Rn,Bn){for(var jt=He.getCurrentSourceFile(Nn),pr=[],br=hn(jt,Rn),Ci=br.lineStarts,Bi=br.firstLine,Da=br.lastLine,$i=Bn||!1,Xt=Number.MAX_VALUE,ja=new e.Map,xa=new RegExp(/\S/),so=e.isInsideJsxElement(jt,Ci[Bi]),po=so?"{/*":"//",Ua=Bi;Ua<=Da;Ua++){var is=jt.text.substring(Ci[Ua],jt.getLineEndOfPosition(Ci[Ua])),ao=xa.exec(is);ao&&(Xt=Math.min(Xt,ao.index),ja.set(Ua.toString(),ao.index),is.substr(ao.index,po.length)!==po&&($i=Bn===void 0||Bn))}for(var Ua=Bi;Ua<=Da;Ua++)if(!(Bi!==Da&&Ci[Ua]===Rn.end)){var Mo=ja.get(Ua.toString());Mo!==void 0&&(so?pr.push.apply(pr,Fn(Nn,{pos:Ci[Ua]+Xt,end:jt.getLineEndOfPosition(Ci[Ua])},$i,so)):$i?pr.push({newText:po,span:{length:0,start:Ci[Ua]+Xt}}):jt.text.substr(Ci[Ua]+Mo,po.length)===po&&pr.push({newText:"",span:{length:po.length,start:Ci[Ua]+Mo}}))}return pr}function Fn(Nn,Rn,Bn,jt){for(var pr,br=He.getCurrentSourceFile(Nn),Ci=[],Bi=br.text,Da=!1,$i=Bn||!1,Xt=[],ja=Rn.pos,xa=jt!==void 0?jt:e.isInsideJsxElement(br,ja),so=xa?"{/*":"/*",po=xa?"*/}":"*/",Ua=xa?"\\{\\/\\*":"\\/\\*",is=xa?"\\*\\/\\}":"\\*\\/";ja<=Rn.end;){var ao=Bi.substr(ja,so.length)===so?so.length:0,Mo=e.isInComment(br,ja+ao);if(Mo)xa&&(Mo.pos--,Mo.end++),Xt.push(Mo.pos),Mo.kind===3&&Xt.push(Mo.end),Da=!0,ja=Mo.end+1;else{var xo=Bi.substring(ja,Rn.end).search("(".concat(Ua,")|(").concat(is,")"));$i=Bn!==void 0?Bn:$i||!e.isTextWhiteSpaceLike(Bi,ja,xo===-1?Rn.end:ja+xo),ja=xo===-1?Rn.end+1:ja+xo+po.length}}if($i||!Da){((pr=e.isInComment(br,Rn.pos))===null||pr===void 0?void 0:pr.kind)!==2&&e.insertSorted(Xt,Rn.pos,e.compareValues),e.insertSorted(Xt,Rn.end,e.compareValues);var as=Xt[0];Bi.substr(as,so.length)!==so&&Ci.push({newText:so,span:{length:0,start:as}});for(var ta=1;ta0?bo-po.length:0,ao=Bi.substr(pa,po.length)===po?po.length:0;Ci.push({newText:"",span:{length:so.length,start:bo-ao}})}return Ci}function An(Nn,Rn){var Bn=He.getCurrentSourceFile(Nn),jt=hn(Bn,Rn),pr=jt.firstLine,br=jt.lastLine;return pr===br&&Rn.pos!==Rn.end?Fn(Nn,Rn,!0):Pn(Nn,Rn,!0)}function Tn(Nn,Rn){var Bn=He.getCurrentSourceFile(Nn),jt=[],pr=Rn.pos,br=Rn.end;pr===br&&(br+=e.isInsideJsxElement(Bn,pr)?2:1);for(var Ci=pr;Ci<=br;Ci++){var Bi=e.isInComment(Bn,Ci);if(Bi){switch(Bi.kind){case 2:jt.push.apply(jt,Pn(Nn,{end:Bi.end,pos:Bi.pos+1},!1));break;case 3:jt.push.apply(jt,Fn(Nn,{end:Bi.end,pos:Bi.pos+1},!1))}Ci=Bi.end+1}}return jt}function qn(Nn){var Rn=Nn.openingElement,Bn=Nn.closingElement,jt=Nn.parent;return!e.tagNamesAreEquivalent(Rn.tagName,Bn.tagName)||e.isJsxElement(jt)&&e.tagNamesAreEquivalent(Rn.tagName,jt.openingElement.tagName)&&qn(jt)}function xn(Nn){var Rn=Nn.closingFragment,Bn=Nn.parent;return!!(Rn.flags&65536)||e.isJsxFragment(Bn)&&xn(Bn)}function rr(Nn,Rn,Bn){var jt=He.getCurrentSourceFile(Nn),pr=e.formatting.getRangeOfEnclosingComment(jt,Rn);return pr&&(!Bn||pr.kind===3)?e.createTextSpanFromRange(pr):void 0}function Fr(Nn,Rn){ge();var Bn=Ce(Nn);Fe.throwIfCancellationRequested();var jt=Bn.text,pr=[];if(Rn.length>0&&!is(Bn.fileName))for(var br=po(),Ci=void 0;Ci=br.exec(jt);){Fe.throwIfCancellationRequested();var Bi=3;e.Debug.assert(Ci.length===Rn.length+Bi);var Da=Ci[1],$i=Ci.index+Da.length;if(e.isInComment(Bn,$i)){for(var Xt=void 0,ja=0;ja=97&&ao<=122||ao>=65&&ao<=90||ao>=48&&ao<=57}function is(ao){return e.stringContains(ao,"/node_modules/")}}function di(Nn,Rn,Bn){return ge(),e.Rename.getRenameInfo(et,Ce(Nn),Rn,Bn)}function pi(Nn,Rn,Bn,jt,pr,br){var Ci=typeof Rn=="number"?[Rn,void 0]:[Rn.pos,Rn.end],Bi=Ci[0],Da=Ci[1];return{file:Nn,startPosition:Bi,endPosition:Da,program:ze(),host:R,formatContext:e.formatting.getFormatContext(jt,R),cancellationToken:Fe,preferences:Bn,triggerReason:pr,kind:br}}function Oi(Nn,Rn,Bn){return{file:Nn,program:ze(),host:R,span:Rn,preferences:Bn,cancellationToken:Fe}}function li(Nn,Rn){return e.SmartSelectionRange.getSmartSelectionRange(Rn,He.getCurrentSourceFile(Nn))}function lr(Nn,Rn,Bn,jt,pr){Bn===void 0&&(Bn=e.emptyOptions),ge();var br=Ce(Nn);return e.refactor.getApplicableRefactors(pi(br,Rn,Bn,e.emptyOptions,jt,pr))}function In(Nn,Rn,Bn,jt,pr,br){br===void 0&&(br=e.emptyOptions),ge();var Ci=Ce(Nn);return e.refactor.getEditsForRefactor(pi(Ci,Bn,br,Rn),jt,pr)}function Qn(Nn,Rn){return Rn===0?{line:0,character:0}:Oe.toLineColumnOffset(Nn,Rn)}function Yn(Nn,Rn){ge();var Bn=e.CallHierarchy.resolveCallHierarchyDeclaration(et,e.getTouchingPropertyName(Ce(Nn),Rn));return Bn&&e.mapOneOrMany(Bn,function(jt){return e.CallHierarchy.createCallHierarchyItem(et,jt)})}function Ar(Nn,Rn){ge();var Bn=Ce(Nn),jt=e.firstOrOnly(e.CallHierarchy.resolveCallHierarchyDeclaration(et,Rn===0?Bn:e.getTouchingPropertyName(Bn,Rn)));return jt?e.CallHierarchy.getIncomingCalls(et,jt,Fe):[]}function gr(Nn,Rn){ge();var Bn=Ce(Nn),jt=e.firstOrOnly(e.CallHierarchy.resolveCallHierarchyDeclaration(et,Rn===0?Bn:e.getTouchingPropertyName(Bn,Rn)));return jt?e.CallHierarchy.getOutgoingCalls(et,jt):[]}function Si(Nn,Rn,Bn){Bn===void 0&&(Bn=e.emptyOptions),ge();var jt=Ce(Nn);return e.InlayHints.provideInlayHints(Oi(jt,Rn,Bn))}var _i={dispose:st,cleanupSemanticCache:vt,getSyntacticDiagnostics:At,getSemanticDiagnostics:qt,getSuggestionDiagnostics:Ue,getCompilerOptionsDiagnostics:Ie,getSyntacticClassifications:lt,getSemanticClassifications:Nt,getEncodedSyntacticClassifications:Le,getEncodedSemanticClassifications:Ge,getCompletionsAtPosition:Ht,getCompletionEntryDetails:_t,getCompletionEntrySymbol:It,getSignatureHelpItems:Ze,getQuickInfoAtPosition:fe,getDefinitionAtPosition:Ft,getDefinitionAndBoundSpan:Lt,getImplementationAtPosition:Et,getTypeDefinitionAtPosition:Rt,getReferencesAtPosition:Gt,findReferences:Zt,getFileReferences:kn,getOccurrencesAtPosition:pn,getDocumentHighlights:he,getNameOrDottedNameSpan:Je,getBreakpointStatementAtPosition:Bt,getNavigateToItems:Zn,getRenameInfo:di,getSmartSelectionRange:li,findRenameLocations:yt,getNavigationBarItems:zt,getNavigationTree:Ve,getOutliningSpans:ee,getTodoComments:Fr,getBraceMatchingAtPosition:H,getIndentationAtPosition:ae,getFormattingEditsForRange:Re,getFormattingEditsForDocument:it,getFormattingEditsAfterKeystroke:ut,getDocCommentTemplateAtPosition:kt,isValidBraceCompletionAtPosition:en,getJsxClosingTagAtPosition:mn,getSpanOfEnclosingComment:rr,getCodeFixesAtPosition:Qe,getCombinedCodeFix:cn,applyCodeActionCommand:$e,organizeImports:vn,getEditsForFileRename:Ut,getEmitOutput:Sr,getNonBoundSourceFile:tn,getProgram:ze,getAutoImportProvider:ft,getApplicableRefactors:lr,getEditsForRefactor:In,toLineColumnOffset:Qn,getSourceMapper:function(){return Oe},clearSourceMapperCache:function(){return Oe.clearCache()},prepareCallHierarchy:Yn,provideCallHierarchyIncomingCalls:Ar,provideCallHierarchyOutgoingCalls:gr,toggleLineComment:Pn,toggleMultilineComment:Fn,commentSelection:An,uncommentSelection:Tn,provideInlayHints:Si};switch(we){case e.LanguageServiceMode.Semantic:break;case e.LanguageServiceMode.PartialSemantic:N.forEach(function(Nn){return _i[Nn]=function(){throw new Error("LanguageService Operation: ".concat(Nn," not allowed in LanguageServiceMode.PartialSemantic"))}});break;case e.LanguageServiceMode.Syntactic:_.forEach(function(Nn){return _i[Nn]=function(){throw new Error("LanguageService Operation: ".concat(Nn," not allowed in LanguageServiceMode.Syntactic"))}});break;default:e.Debug.assertNever(we)}return _i}e.createLanguageService=d;function E(R){return R.nameTable||j(R),R.nameTable}e.getNameTable=E;function j(R){var L=R.nameTable=new e.Map;R.forEachChild(function V(Te){if(e.isIdentifier(Te)&&!e.isTagName(Te)&&Te.escapedText||e.isStringOrNumericLiteralLike(Te)&&B(Te)){var Se=e.getEscapedTextOfIdentifierOrLiteral(Te);L.set(Se,L.get(Se)===void 0?Te.pos:-1)}else if(e.isPrivateIdentifier(Te)){var Se=Te.escapedText;L.set(Se,L.get(Se)===void 0?Te.pos:-1)}if(e.forEachChild(Te,V),e.hasJSDocNodes(Te))for(var we=0,He=Te.jsDoc;weG){var ue=e.findPrecedingToken(v.pos,P);if(!ue||P.getLineAndCharacterOfPosition(ue.getEnd()).line!==G)return;v=ue}if(v.flags&8388608)return;return b(v);function h(y,K){var ce=y.decorators?e.skipTrivia(P.text,y.decorators.end):y.getStart(P);return e.createTextSpanFromBounds(ce,(K||y).getEnd())}function S(y,K){return h(y,e.findNextToken(K,K.parent,P))}function k(y,K){return y&&G===P.getLineAndCharacterOfPosition(y.getStart(P)).line?b(y):b(K)}function se(y){return e.createTextSpanFromBounds(e.skipTrivia(P.text,y.pos),y.end)}function le(y){return b(e.findPrecedingToken(y.pos,P))}function f(y){return b(e.findNextToken(y,y.parent,P))}function b(y){if(y){var K=y.parent;switch(y.kind){case 236:return $(y.declarationList.declarations[0]);case 253:case 166:case 165:return $(y);case 163:return Z(y);case 255:case 168:case 167:case 171:case 172:case 170:case 212:case 213:return ie(y);case 234:if(e.isFunctionBlock(y))return m(y);case 261:return A(y);case 291:return A(y.block);case 237:return h(y.expression);case 246:return h(y.getChildAt(0),y.expression);case 240:return S(y,y.expression);case 239:return b(y.statement);case 252:return h(y.getChildAt(0));case 238:return S(y,y.expression);case 249:return b(y.statement);case 245:case 244:return h(y.getChildAt(0),y.label);case 241:return C(y);case 242:return S(y,y.expression);case 243:return g(y);case 248:return S(y,y.expression);case 288:case 289:return b(y.statements[0]);case 251:return A(y.tryBlock);case 250:return h(y,y.expression);case 270:return h(y,y.expression);case 264:return h(y,y.moduleReference);case 265:return h(y,y.moduleSpecifier);case 271:return h(y,y.moduleSpecifier);case 260:if(e.getModuleInstanceState(y)!==1)return;case 256:case 259:case 297:case 202:return h(y);case 247:return b(y.statement);case 164:return se(K.decorators);case 200:case 201:return N(y);case 257:case 258:return;case 26:case 1:return k(e.findPrecedingToken(y.pos,P));case 27:return le(y);case 18:return d(y);case 19:return E(y);case 23:return j(y);case 20:return B(y);case 21:return W(y);case 58:return J(y);case 31:case 29:return M(y);case 115:return pe(y);case 91:case 83:case 96:return f(y);case 159:return Ne(y);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(y))return _(y);if((y.kind===79||y.kind===224||y.kind===294||y.kind===295)&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(K))return h(y);if(y.kind===220){var ce=y,Y=ce.left,re=ce.operatorToken;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(Y))return _(Y);if(re.kind===63&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(y.parent))return h(y);if(re.kind===27)return b(Y)}if(e.isExpressionNode(y))switch(K.kind){case 239:return le(y);case 164:return b(y.parent);case 241:case 243:return h(y);case 220:if(y.parent.operatorToken.kind===27)return h(y);break;case 213:if(y.parent.body===y)return h(y);break}switch(y.parent.kind){case 294:if(y.parent.name===y&&!e.isArrayLiteralOrObjectLiteralDestructuringPattern(y.parent.parent))return b(y.parent.initializer);break;case 210:if(y.parent.type===y)return f(y.parent.type);break;case 253:case 163:{var F=y.parent,O=F.initializer,Q=F.type;if(O===y||Q===y||e.isAssignmentOperator(y.kind))return le(y);break}case 220:{var Y=y.parent.left;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(Y)&&y!==Y)return le(y);break}default:if(e.isFunctionLike(y.parent)&&y.parent.type===y)return le(y)}return b(y.parent)}}function de(w){return e.isVariableDeclarationList(w.parent)&&w.parent.declarations[0]===w?h(e.findPrecedingToken(w.pos,P,w.parent),w):h(w)}function $(w){if(w.parent.parent.kind===242)return b(w.parent.parent);var R=w.parent;if(e.isBindingPattern(w.name))return N(w.name);if(w.initializer||e.hasSyntacticModifier(w,1)||R.parent.kind===243)return de(w);if(e.isVariableDeclarationList(w.parent)&&w.parent.declarations[0]!==w)return b(e.findPrecedingToken(w.pos,P,w.parent))}function I(w){return!!w.initializer||w.dotDotDotToken!==void 0||e.hasSyntacticModifier(w,12)}function Z(w){if(e.isBindingPattern(w.name))return N(w.name);if(I(w))return h(w);var R=w.parent,L=R.parameters.indexOf(w);return e.Debug.assert(L!==-1),L!==0?Z(R.parameters[L-1]):b(R.body)}function z(w){return e.hasSyntacticModifier(w,1)||w.parent.kind===256&&w.kind!==170}function ie(w){if(w.body)return z(w)?h(w):b(w.body)}function m(w){var R=w.statements.length?w.statements[0]:w.getLastToken();return z(w.parent)?k(w.parent,R):b(R)}function A(w){switch(w.parent.kind){case 260:if(e.getModuleInstanceState(w.parent)!==1)return;case 240:case 238:case 242:return k(w.parent,w.statements[0]);case 241:case 243:return k(e.findPrecedingToken(w.pos,P,w.parent),w.statements[0])}return b(w.statements[0])}function g(w){if(w.initializer.kind===254){var R=w.initializer;if(R.declarations.length>0)return b(R.declarations[0])}else return b(w.initializer)}function C(w){if(w.initializer)return g(w);if(w.condition)return h(w.condition);if(w.incrementor)return h(w.incrementor)}function N(w){var R=e.forEach(w.elements,function(L){return L.kind!==226?L:void 0});return R?b(R):w.parent.kind===202?h(w.parent):de(w.parent)}function _(w){e.Debug.assert(w.kind!==201&&w.kind!==200);var R=w.kind===203?w.elements:w.properties,L=e.forEach(R,function(V){return V.kind!==226?V:void 0});return L?b(L):h(w.parent.kind===220?w.parent:w)}function d(w){switch(w.parent.kind){case 259:var R=w.parent;return k(e.findPrecedingToken(w.pos,P,w.parent),R.members.length?R.members[0]:R.getLastToken(P));case 256:var L=w.parent;return k(e.findPrecedingToken(w.pos,P,w.parent),L.members.length?L.members[0]:L.getLastToken(P));case 262:return k(w.parent.parent,w.parent.clauses[0])}return b(w.parent)}function E(w){switch(w.parent.kind){case 261:if(e.getModuleInstanceState(w.parent.parent)!==1)return;case 259:case 256:return h(w);case 234:if(e.isFunctionBlock(w.parent))return h(w);case 291:return b(e.lastOrUndefined(w.parent.statements));case 262:var R=w.parent,L=e.lastOrUndefined(R.clauses);return L?b(e.lastOrUndefined(L.statements)):void 0;case 200:var V=w.parent;return b(e.lastOrUndefined(V.elements)||V);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(w.parent)){var Te=w.parent;return h(e.lastOrUndefined(Te.properties)||Te)}return b(w.parent)}}function j(w){switch(w.parent.kind){case 201:var R=w.parent;return h(e.lastOrUndefined(R.elements)||R);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(w.parent)){var L=w.parent;return h(e.lastOrUndefined(L.elements)||L)}return b(w.parent)}}function B(w){return w.parent.kind===239||w.parent.kind===207||w.parent.kind===208?le(w):w.parent.kind===211?f(w):b(w.parent)}function W(w){switch(w.parent.kind){case 212:case 255:case 213:case 168:case 167:case 171:case 172:case 170:case 240:case 239:case 241:case 243:case 207:case 208:case 211:return le(w);default:return b(w.parent)}}function J(w){return e.isFunctionLike(w.parent)||w.parent.kind===294||w.parent.kind===163?le(w):b(w.parent)}function M(w){return w.parent.kind===210?f(w):b(w.parent)}function pe(w){return w.parent.kind===239?S(w,w.parent.expression):b(w.parent)}function Ne(w){return w.parent.kind===243?f(w):b(w.parent)}}}a.spanInSourceFileAtLocation=u})(e.BreakpointResolver||(e.BreakpointResolver={}))})(ne||(ne={}));var ne;(function(e){function a(u,P,r){var v=[];r=e.fixupCompilerOptions(r,v);var G=e.isArray(u)?u:[u],ue=e.transformNodes(void 0,void 0,e.factory,r,G,P,!0);return ue.diagnostics=e.concatenate(ue.diagnostics,v),ue}e.transform=a})(ne||(ne={}));var ne;(function(e){var a=void 0;e.LanguageServiceShimHostAdapter=a;var u=void 0;e.CoreServicesShimHostAdapter=u,e.realizeDiagnostics=void 0,e.TypeScriptServicesFactory=void 0})(ne||(ne={})),typeof X<"u"&&X.exports&&(X.exports=ne);var ne;(function(e){var a={since:"4.0",warnAfter:"4.1",message:"Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead."};e.createNodeArray=e.Debug.deprecate(e.factory.createNodeArray,a),e.createNumericLiteral=e.Debug.deprecate(e.factory.createNumericLiteral,a),e.createBigIntLiteral=e.Debug.deprecate(e.factory.createBigIntLiteral,a),e.createStringLiteral=e.Debug.deprecate(e.factory.createStringLiteral,a),e.createStringLiteralFromNode=e.Debug.deprecate(e.factory.createStringLiteralFromNode,a),e.createRegularExpressionLiteral=e.Debug.deprecate(e.factory.createRegularExpressionLiteral,a),e.createLoopVariable=e.Debug.deprecate(e.factory.createLoopVariable,a),e.createUniqueName=e.Debug.deprecate(e.factory.createUniqueName,a),e.createPrivateIdentifier=e.Debug.deprecate(e.factory.createPrivateIdentifier,a),e.createSuper=e.Debug.deprecate(e.factory.createSuper,a),e.createThis=e.Debug.deprecate(e.factory.createThis,a),e.createNull=e.Debug.deprecate(e.factory.createNull,a),e.createTrue=e.Debug.deprecate(e.factory.createTrue,a),e.createFalse=e.Debug.deprecate(e.factory.createFalse,a),e.createModifier=e.Debug.deprecate(e.factory.createModifier,a),e.createModifiersFromModifierFlags=e.Debug.deprecate(e.factory.createModifiersFromModifierFlags,a),e.createQualifiedName=e.Debug.deprecate(e.factory.createQualifiedName,a),e.updateQualifiedName=e.Debug.deprecate(e.factory.updateQualifiedName,a),e.createComputedPropertyName=e.Debug.deprecate(e.factory.createComputedPropertyName,a),e.updateComputedPropertyName=e.Debug.deprecate(e.factory.updateComputedPropertyName,a),e.createTypeParameterDeclaration=e.Debug.deprecate(e.factory.createTypeParameterDeclaration,a),e.updateTypeParameterDeclaration=e.Debug.deprecate(e.factory.updateTypeParameterDeclaration,a),e.createParameter=e.Debug.deprecate(e.factory.createParameterDeclaration,a),e.updateParameter=e.Debug.deprecate(e.factory.updateParameterDeclaration,a),e.createDecorator=e.Debug.deprecate(e.factory.createDecorator,a),e.updateDecorator=e.Debug.deprecate(e.factory.updateDecorator,a),e.createProperty=e.Debug.deprecate(e.factory.createPropertyDeclaration,a),e.updateProperty=e.Debug.deprecate(e.factory.updatePropertyDeclaration,a),e.createMethod=e.Debug.deprecate(e.factory.createMethodDeclaration,a),e.updateMethod=e.Debug.deprecate(e.factory.updateMethodDeclaration,a),e.createConstructor=e.Debug.deprecate(e.factory.createConstructorDeclaration,a),e.updateConstructor=e.Debug.deprecate(e.factory.updateConstructorDeclaration,a),e.createGetAccessor=e.Debug.deprecate(e.factory.createGetAccessorDeclaration,a),e.updateGetAccessor=e.Debug.deprecate(e.factory.updateGetAccessorDeclaration,a),e.createSetAccessor=e.Debug.deprecate(e.factory.createSetAccessorDeclaration,a),e.updateSetAccessor=e.Debug.deprecate(e.factory.updateSetAccessorDeclaration,a),e.createCallSignature=e.Debug.deprecate(e.factory.createCallSignature,a),e.updateCallSignature=e.Debug.deprecate(e.factory.updateCallSignature,a),e.createConstructSignature=e.Debug.deprecate(e.factory.createConstructSignature,a),e.updateConstructSignature=e.Debug.deprecate(e.factory.updateConstructSignature,a),e.updateIndexSignature=e.Debug.deprecate(e.factory.updateIndexSignature,a),e.createKeywordTypeNode=e.Debug.deprecate(e.factory.createKeywordTypeNode,a),e.createTypePredicateNodeWithModifier=e.Debug.deprecate(e.factory.createTypePredicateNode,a),e.updateTypePredicateNodeWithModifier=e.Debug.deprecate(e.factory.updateTypePredicateNode,a),e.createTypeReferenceNode=e.Debug.deprecate(e.factory.createTypeReferenceNode,a),e.updateTypeReferenceNode=e.Debug.deprecate(e.factory.updateTypeReferenceNode,a),e.createFunctionTypeNode=e.Debug.deprecate(e.factory.createFunctionTypeNode,a),e.updateFunctionTypeNode=e.Debug.deprecate(e.factory.updateFunctionTypeNode,a),e.createConstructorTypeNode=e.Debug.deprecate(function(u,P,r){return e.factory.createConstructorTypeNode(void 0,u,P,r)},a),e.updateConstructorTypeNode=e.Debug.deprecate(function(u,P,r,v){return e.factory.updateConstructorTypeNode(u,u.modifiers,P,r,v)},a),e.createTypeQueryNode=e.Debug.deprecate(e.factory.createTypeQueryNode,a),e.updateTypeQueryNode=e.Debug.deprecate(e.factory.updateTypeQueryNode,a),e.createTypeLiteralNode=e.Debug.deprecate(e.factory.createTypeLiteralNode,a),e.updateTypeLiteralNode=e.Debug.deprecate(e.factory.updateTypeLiteralNode,a),e.createArrayTypeNode=e.Debug.deprecate(e.factory.createArrayTypeNode,a),e.updateArrayTypeNode=e.Debug.deprecate(e.factory.updateArrayTypeNode,a),e.createTupleTypeNode=e.Debug.deprecate(e.factory.createTupleTypeNode,a),e.updateTupleTypeNode=e.Debug.deprecate(e.factory.updateTupleTypeNode,a),e.createOptionalTypeNode=e.Debug.deprecate(e.factory.createOptionalTypeNode,a),e.updateOptionalTypeNode=e.Debug.deprecate(e.factory.updateOptionalTypeNode,a),e.createRestTypeNode=e.Debug.deprecate(e.factory.createRestTypeNode,a),e.updateRestTypeNode=e.Debug.deprecate(e.factory.updateRestTypeNode,a),e.createUnionTypeNode=e.Debug.deprecate(e.factory.createUnionTypeNode,a),e.updateUnionTypeNode=e.Debug.deprecate(e.factory.updateUnionTypeNode,a),e.createIntersectionTypeNode=e.Debug.deprecate(e.factory.createIntersectionTypeNode,a),e.updateIntersectionTypeNode=e.Debug.deprecate(e.factory.updateIntersectionTypeNode,a),e.createConditionalTypeNode=e.Debug.deprecate(e.factory.createConditionalTypeNode,a),e.updateConditionalTypeNode=e.Debug.deprecate(e.factory.updateConditionalTypeNode,a),e.createInferTypeNode=e.Debug.deprecate(e.factory.createInferTypeNode,a),e.updateInferTypeNode=e.Debug.deprecate(e.factory.updateInferTypeNode,a),e.createImportTypeNode=e.Debug.deprecate(e.factory.createImportTypeNode,a),e.updateImportTypeNode=e.Debug.deprecate(e.factory.updateImportTypeNode,a),e.createParenthesizedType=e.Debug.deprecate(e.factory.createParenthesizedType,a),e.updateParenthesizedType=e.Debug.deprecate(e.factory.updateParenthesizedType,a),e.createThisTypeNode=e.Debug.deprecate(e.factory.createThisTypeNode,a),e.updateTypeOperatorNode=e.Debug.deprecate(e.factory.updateTypeOperatorNode,a),e.createIndexedAccessTypeNode=e.Debug.deprecate(e.factory.createIndexedAccessTypeNode,a),e.updateIndexedAccessTypeNode=e.Debug.deprecate(e.factory.updateIndexedAccessTypeNode,a),e.createMappedTypeNode=e.Debug.deprecate(e.factory.createMappedTypeNode,a),e.updateMappedTypeNode=e.Debug.deprecate(e.factory.updateMappedTypeNode,a),e.createLiteralTypeNode=e.Debug.deprecate(e.factory.createLiteralTypeNode,a),e.updateLiteralTypeNode=e.Debug.deprecate(e.factory.updateLiteralTypeNode,a),e.createObjectBindingPattern=e.Debug.deprecate(e.factory.createObjectBindingPattern,a),e.updateObjectBindingPattern=e.Debug.deprecate(e.factory.updateObjectBindingPattern,a),e.createArrayBindingPattern=e.Debug.deprecate(e.factory.createArrayBindingPattern,a),e.updateArrayBindingPattern=e.Debug.deprecate(e.factory.updateArrayBindingPattern,a),e.createBindingElement=e.Debug.deprecate(e.factory.createBindingElement,a),e.updateBindingElement=e.Debug.deprecate(e.factory.updateBindingElement,a),e.createArrayLiteral=e.Debug.deprecate(e.factory.createArrayLiteralExpression,a),e.updateArrayLiteral=e.Debug.deprecate(e.factory.updateArrayLiteralExpression,a),e.createObjectLiteral=e.Debug.deprecate(e.factory.createObjectLiteralExpression,a),e.updateObjectLiteral=e.Debug.deprecate(e.factory.updateObjectLiteralExpression,a),e.createPropertyAccess=e.Debug.deprecate(e.factory.createPropertyAccessExpression,a),e.updatePropertyAccess=e.Debug.deprecate(e.factory.updatePropertyAccessExpression,a),e.createPropertyAccessChain=e.Debug.deprecate(e.factory.createPropertyAccessChain,a),e.updatePropertyAccessChain=e.Debug.deprecate(e.factory.updatePropertyAccessChain,a),e.createElementAccess=e.Debug.deprecate(e.factory.createElementAccessExpression,a),e.updateElementAccess=e.Debug.deprecate(e.factory.updateElementAccessExpression,a),e.createElementAccessChain=e.Debug.deprecate(e.factory.createElementAccessChain,a),e.updateElementAccessChain=e.Debug.deprecate(e.factory.updateElementAccessChain,a),e.createCall=e.Debug.deprecate(e.factory.createCallExpression,a),e.updateCall=e.Debug.deprecate(e.factory.updateCallExpression,a),e.createCallChain=e.Debug.deprecate(e.factory.createCallChain,a),e.updateCallChain=e.Debug.deprecate(e.factory.updateCallChain,a),e.createNew=e.Debug.deprecate(e.factory.createNewExpression,a),e.updateNew=e.Debug.deprecate(e.factory.updateNewExpression,a),e.createTypeAssertion=e.Debug.deprecate(e.factory.createTypeAssertion,a),e.updateTypeAssertion=e.Debug.deprecate(e.factory.updateTypeAssertion,a),e.createParen=e.Debug.deprecate(e.factory.createParenthesizedExpression,a),e.updateParen=e.Debug.deprecate(e.factory.updateParenthesizedExpression,a),e.createFunctionExpression=e.Debug.deprecate(e.factory.createFunctionExpression,a),e.updateFunctionExpression=e.Debug.deprecate(e.factory.updateFunctionExpression,a),e.createDelete=e.Debug.deprecate(e.factory.createDeleteExpression,a),e.updateDelete=e.Debug.deprecate(e.factory.updateDeleteExpression,a),e.createTypeOf=e.Debug.deprecate(e.factory.createTypeOfExpression,a),e.updateTypeOf=e.Debug.deprecate(e.factory.updateTypeOfExpression,a),e.createVoid=e.Debug.deprecate(e.factory.createVoidExpression,a),e.updateVoid=e.Debug.deprecate(e.factory.updateVoidExpression,a),e.createAwait=e.Debug.deprecate(e.factory.createAwaitExpression,a),e.updateAwait=e.Debug.deprecate(e.factory.updateAwaitExpression,a),e.createPrefix=e.Debug.deprecate(e.factory.createPrefixUnaryExpression,a),e.updatePrefix=e.Debug.deprecate(e.factory.updatePrefixUnaryExpression,a),e.createPostfix=e.Debug.deprecate(e.factory.createPostfixUnaryExpression,a),e.updatePostfix=e.Debug.deprecate(e.factory.updatePostfixUnaryExpression,a),e.createBinary=e.Debug.deprecate(e.factory.createBinaryExpression,a),e.updateConditional=e.Debug.deprecate(e.factory.updateConditionalExpression,a),e.createTemplateExpression=e.Debug.deprecate(e.factory.createTemplateExpression,a),e.updateTemplateExpression=e.Debug.deprecate(e.factory.updateTemplateExpression,a),e.createTemplateHead=e.Debug.deprecate(e.factory.createTemplateHead,a),e.createTemplateMiddle=e.Debug.deprecate(e.factory.createTemplateMiddle,a),e.createTemplateTail=e.Debug.deprecate(e.factory.createTemplateTail,a),e.createNoSubstitutionTemplateLiteral=e.Debug.deprecate(e.factory.createNoSubstitutionTemplateLiteral,a),e.updateYield=e.Debug.deprecate(e.factory.updateYieldExpression,a),e.createSpread=e.Debug.deprecate(e.factory.createSpreadElement,a),e.updateSpread=e.Debug.deprecate(e.factory.updateSpreadElement,a),e.createOmittedExpression=e.Debug.deprecate(e.factory.createOmittedExpression,a),e.createAsExpression=e.Debug.deprecate(e.factory.createAsExpression,a),e.updateAsExpression=e.Debug.deprecate(e.factory.updateAsExpression,a),e.createNonNullExpression=e.Debug.deprecate(e.factory.createNonNullExpression,a),e.updateNonNullExpression=e.Debug.deprecate(e.factory.updateNonNullExpression,a),e.createNonNullChain=e.Debug.deprecate(e.factory.createNonNullChain,a),e.updateNonNullChain=e.Debug.deprecate(e.factory.updateNonNullChain,a),e.createMetaProperty=e.Debug.deprecate(e.factory.createMetaProperty,a),e.updateMetaProperty=e.Debug.deprecate(e.factory.updateMetaProperty,a),e.createTemplateSpan=e.Debug.deprecate(e.factory.createTemplateSpan,a),e.updateTemplateSpan=e.Debug.deprecate(e.factory.updateTemplateSpan,a),e.createSemicolonClassElement=e.Debug.deprecate(e.factory.createSemicolonClassElement,a),e.createBlock=e.Debug.deprecate(e.factory.createBlock,a),e.updateBlock=e.Debug.deprecate(e.factory.updateBlock,a),e.createVariableStatement=e.Debug.deprecate(e.factory.createVariableStatement,a),e.updateVariableStatement=e.Debug.deprecate(e.factory.updateVariableStatement,a),e.createEmptyStatement=e.Debug.deprecate(e.factory.createEmptyStatement,a),e.createExpressionStatement=e.Debug.deprecate(e.factory.createExpressionStatement,a),e.updateExpressionStatement=e.Debug.deprecate(e.factory.updateExpressionStatement,a),e.createStatement=e.Debug.deprecate(e.factory.createExpressionStatement,a),e.updateStatement=e.Debug.deprecate(e.factory.updateExpressionStatement,a),e.createIf=e.Debug.deprecate(e.factory.createIfStatement,a),e.updateIf=e.Debug.deprecate(e.factory.updateIfStatement,a),e.createDo=e.Debug.deprecate(e.factory.createDoStatement,a),e.updateDo=e.Debug.deprecate(e.factory.updateDoStatement,a),e.createWhile=e.Debug.deprecate(e.factory.createWhileStatement,a),e.updateWhile=e.Debug.deprecate(e.factory.updateWhileStatement,a),e.createFor=e.Debug.deprecate(e.factory.createForStatement,a),e.updateFor=e.Debug.deprecate(e.factory.updateForStatement,a),e.createForIn=e.Debug.deprecate(e.factory.createForInStatement,a),e.updateForIn=e.Debug.deprecate(e.factory.updateForInStatement,a),e.createForOf=e.Debug.deprecate(e.factory.createForOfStatement,a),e.updateForOf=e.Debug.deprecate(e.factory.updateForOfStatement,a),e.createContinue=e.Debug.deprecate(e.factory.createContinueStatement,a),e.updateContinue=e.Debug.deprecate(e.factory.updateContinueStatement,a),e.createBreak=e.Debug.deprecate(e.factory.createBreakStatement,a),e.updateBreak=e.Debug.deprecate(e.factory.updateBreakStatement,a),e.createReturn=e.Debug.deprecate(e.factory.createReturnStatement,a),e.updateReturn=e.Debug.deprecate(e.factory.updateReturnStatement,a),e.createWith=e.Debug.deprecate(e.factory.createWithStatement,a),e.updateWith=e.Debug.deprecate(e.factory.updateWithStatement,a),e.createSwitch=e.Debug.deprecate(e.factory.createSwitchStatement,a),e.updateSwitch=e.Debug.deprecate(e.factory.updateSwitchStatement,a),e.createLabel=e.Debug.deprecate(e.factory.createLabeledStatement,a),e.updateLabel=e.Debug.deprecate(e.factory.updateLabeledStatement,a),e.createThrow=e.Debug.deprecate(e.factory.createThrowStatement,a),e.updateThrow=e.Debug.deprecate(e.factory.updateThrowStatement,a),e.createTry=e.Debug.deprecate(e.factory.createTryStatement,a),e.updateTry=e.Debug.deprecate(e.factory.updateTryStatement,a),e.createDebuggerStatement=e.Debug.deprecate(e.factory.createDebuggerStatement,a),e.createVariableDeclarationList=e.Debug.deprecate(e.factory.createVariableDeclarationList,a),e.updateVariableDeclarationList=e.Debug.deprecate(e.factory.updateVariableDeclarationList,a),e.createFunctionDeclaration=e.Debug.deprecate(e.factory.createFunctionDeclaration,a),e.updateFunctionDeclaration=e.Debug.deprecate(e.factory.updateFunctionDeclaration,a),e.createClassDeclaration=e.Debug.deprecate(e.factory.createClassDeclaration,a),e.updateClassDeclaration=e.Debug.deprecate(e.factory.updateClassDeclaration,a),e.createInterfaceDeclaration=e.Debug.deprecate(e.factory.createInterfaceDeclaration,a),e.updateInterfaceDeclaration=e.Debug.deprecate(e.factory.updateInterfaceDeclaration,a),e.createTypeAliasDeclaration=e.Debug.deprecate(e.factory.createTypeAliasDeclaration,a),e.updateTypeAliasDeclaration=e.Debug.deprecate(e.factory.updateTypeAliasDeclaration,a),e.createEnumDeclaration=e.Debug.deprecate(e.factory.createEnumDeclaration,a),e.updateEnumDeclaration=e.Debug.deprecate(e.factory.updateEnumDeclaration,a),e.createModuleDeclaration=e.Debug.deprecate(e.factory.createModuleDeclaration,a),e.updateModuleDeclaration=e.Debug.deprecate(e.factory.updateModuleDeclaration,a),e.createModuleBlock=e.Debug.deprecate(e.factory.createModuleBlock,a),e.updateModuleBlock=e.Debug.deprecate(e.factory.updateModuleBlock,a),e.createCaseBlock=e.Debug.deprecate(e.factory.createCaseBlock,a),e.updateCaseBlock=e.Debug.deprecate(e.factory.updateCaseBlock,a),e.createNamespaceExportDeclaration=e.Debug.deprecate(e.factory.createNamespaceExportDeclaration,a),e.updateNamespaceExportDeclaration=e.Debug.deprecate(e.factory.updateNamespaceExportDeclaration,a),e.createImportEqualsDeclaration=e.Debug.deprecate(e.factory.createImportEqualsDeclaration,a),e.updateImportEqualsDeclaration=e.Debug.deprecate(e.factory.updateImportEqualsDeclaration,a),e.createImportDeclaration=e.Debug.deprecate(e.factory.createImportDeclaration,a),e.updateImportDeclaration=e.Debug.deprecate(e.factory.updateImportDeclaration,a),e.createNamespaceImport=e.Debug.deprecate(e.factory.createNamespaceImport,a),e.updateNamespaceImport=e.Debug.deprecate(e.factory.updateNamespaceImport,a),e.createNamedImports=e.Debug.deprecate(e.factory.createNamedImports,a),e.updateNamedImports=e.Debug.deprecate(e.factory.updateNamedImports,a),e.createImportSpecifier=e.Debug.deprecate(e.factory.createImportSpecifier,a),e.updateImportSpecifier=e.Debug.deprecate(e.factory.updateImportSpecifier,a),e.createExportAssignment=e.Debug.deprecate(e.factory.createExportAssignment,a),e.updateExportAssignment=e.Debug.deprecate(e.factory.updateExportAssignment,a),e.createNamedExports=e.Debug.deprecate(e.factory.createNamedExports,a),e.updateNamedExports=e.Debug.deprecate(e.factory.updateNamedExports,a),e.createExportSpecifier=e.Debug.deprecate(e.factory.createExportSpecifier,a),e.updateExportSpecifier=e.Debug.deprecate(e.factory.updateExportSpecifier,a),e.createExternalModuleReference=e.Debug.deprecate(e.factory.createExternalModuleReference,a),e.updateExternalModuleReference=e.Debug.deprecate(e.factory.updateExternalModuleReference,a),e.createJSDocTypeExpression=e.Debug.deprecate(e.factory.createJSDocTypeExpression,a),e.createJSDocTypeTag=e.Debug.deprecate(e.factory.createJSDocTypeTag,a),e.createJSDocReturnTag=e.Debug.deprecate(e.factory.createJSDocReturnTag,a),e.createJSDocThisTag=e.Debug.deprecate(e.factory.createJSDocThisTag,a),e.createJSDocComment=e.Debug.deprecate(e.factory.createJSDocComment,a),e.createJSDocParameterTag=e.Debug.deprecate(e.factory.createJSDocParameterTag,a),e.createJSDocClassTag=e.Debug.deprecate(e.factory.createJSDocClassTag,a),e.createJSDocAugmentsTag=e.Debug.deprecate(e.factory.createJSDocAugmentsTag,a),e.createJSDocEnumTag=e.Debug.deprecate(e.factory.createJSDocEnumTag,a),e.createJSDocTemplateTag=e.Debug.deprecate(e.factory.createJSDocTemplateTag,a),e.createJSDocTypedefTag=e.Debug.deprecate(e.factory.createJSDocTypedefTag,a),e.createJSDocCallbackTag=e.Debug.deprecate(e.factory.createJSDocCallbackTag,a),e.createJSDocSignature=e.Debug.deprecate(e.factory.createJSDocSignature,a),e.createJSDocPropertyTag=e.Debug.deprecate(e.factory.createJSDocPropertyTag,a),e.createJSDocTypeLiteral=e.Debug.deprecate(e.factory.createJSDocTypeLiteral,a),e.createJSDocImplementsTag=e.Debug.deprecate(e.factory.createJSDocImplementsTag,a),e.createJSDocAuthorTag=e.Debug.deprecate(e.factory.createJSDocAuthorTag,a),e.createJSDocPublicTag=e.Debug.deprecate(e.factory.createJSDocPublicTag,a),e.createJSDocPrivateTag=e.Debug.deprecate(e.factory.createJSDocPrivateTag,a),e.createJSDocProtectedTag=e.Debug.deprecate(e.factory.createJSDocProtectedTag,a),e.createJSDocReadonlyTag=e.Debug.deprecate(e.factory.createJSDocReadonlyTag,a),e.createJSDocTag=e.Debug.deprecate(e.factory.createJSDocUnknownTag,a),e.createJsxElement=e.Debug.deprecate(e.factory.createJsxElement,a),e.updateJsxElement=e.Debug.deprecate(e.factory.updateJsxElement,a),e.createJsxSelfClosingElement=e.Debug.deprecate(e.factory.createJsxSelfClosingElement,a),e.updateJsxSelfClosingElement=e.Debug.deprecate(e.factory.updateJsxSelfClosingElement,a),e.createJsxOpeningElement=e.Debug.deprecate(e.factory.createJsxOpeningElement,a),e.updateJsxOpeningElement=e.Debug.deprecate(e.factory.updateJsxOpeningElement,a),e.createJsxClosingElement=e.Debug.deprecate(e.factory.createJsxClosingElement,a),e.updateJsxClosingElement=e.Debug.deprecate(e.factory.updateJsxClosingElement,a),e.createJsxFragment=e.Debug.deprecate(e.factory.createJsxFragment,a),e.createJsxText=e.Debug.deprecate(e.factory.createJsxText,a),e.updateJsxText=e.Debug.deprecate(e.factory.updateJsxText,a),e.createJsxOpeningFragment=e.Debug.deprecate(e.factory.createJsxOpeningFragment,a),e.createJsxJsxClosingFragment=e.Debug.deprecate(e.factory.createJsxJsxClosingFragment,a),e.updateJsxFragment=e.Debug.deprecate(e.factory.updateJsxFragment,a),e.createJsxAttribute=e.Debug.deprecate(e.factory.createJsxAttribute,a),e.updateJsxAttribute=e.Debug.deprecate(e.factory.updateJsxAttribute,a),e.createJsxAttributes=e.Debug.deprecate(e.factory.createJsxAttributes,a),e.updateJsxAttributes=e.Debug.deprecate(e.factory.updateJsxAttributes,a),e.createJsxSpreadAttribute=e.Debug.deprecate(e.factory.createJsxSpreadAttribute,a),e.updateJsxSpreadAttribute=e.Debug.deprecate(e.factory.updateJsxSpreadAttribute,a),e.createJsxExpression=e.Debug.deprecate(e.factory.createJsxExpression,a),e.updateJsxExpression=e.Debug.deprecate(e.factory.updateJsxExpression,a),e.createCaseClause=e.Debug.deprecate(e.factory.createCaseClause,a),e.updateCaseClause=e.Debug.deprecate(e.factory.updateCaseClause,a),e.createDefaultClause=e.Debug.deprecate(e.factory.createDefaultClause,a),e.updateDefaultClause=e.Debug.deprecate(e.factory.updateDefaultClause,a),e.createHeritageClause=e.Debug.deprecate(e.factory.createHeritageClause,a),e.updateHeritageClause=e.Debug.deprecate(e.factory.updateHeritageClause,a),e.createCatchClause=e.Debug.deprecate(e.factory.createCatchClause,a),e.updateCatchClause=e.Debug.deprecate(e.factory.updateCatchClause,a),e.createPropertyAssignment=e.Debug.deprecate(e.factory.createPropertyAssignment,a),e.updatePropertyAssignment=e.Debug.deprecate(e.factory.updatePropertyAssignment,a),e.createShorthandPropertyAssignment=e.Debug.deprecate(e.factory.createShorthandPropertyAssignment,a),e.updateShorthandPropertyAssignment=e.Debug.deprecate(e.factory.updateShorthandPropertyAssignment,a),e.createSpreadAssignment=e.Debug.deprecate(e.factory.createSpreadAssignment,a),e.updateSpreadAssignment=e.Debug.deprecate(e.factory.updateSpreadAssignment,a),e.createEnumMember=e.Debug.deprecate(e.factory.createEnumMember,a),e.updateEnumMember=e.Debug.deprecate(e.factory.updateEnumMember,a),e.updateSourceFileNode=e.Debug.deprecate(e.factory.updateSourceFile,a),e.createNotEmittedStatement=e.Debug.deprecate(e.factory.createNotEmittedStatement,a),e.createPartiallyEmittedExpression=e.Debug.deprecate(e.factory.createPartiallyEmittedExpression,a),e.updatePartiallyEmittedExpression=e.Debug.deprecate(e.factory.updatePartiallyEmittedExpression,a),e.createCommaList=e.Debug.deprecate(e.factory.createCommaListExpression,a),e.updateCommaList=e.Debug.deprecate(e.factory.updateCommaListExpression,a),e.createBundle=e.Debug.deprecate(e.factory.createBundle,a),e.updateBundle=e.Debug.deprecate(e.factory.updateBundle,a),e.createImmediatelyInvokedFunctionExpression=e.Debug.deprecate(e.factory.createImmediatelyInvokedFunctionExpression,a),e.createImmediatelyInvokedArrowFunction=e.Debug.deprecate(e.factory.createImmediatelyInvokedArrowFunction,a),e.createVoidZero=e.Debug.deprecate(e.factory.createVoidZero,a),e.createExportDefault=e.Debug.deprecate(e.factory.createExportDefault,a),e.createExternalModuleExport=e.Debug.deprecate(e.factory.createExternalModuleExport,a),e.createNamespaceExport=e.Debug.deprecate(e.factory.createNamespaceExport,a),e.updateNamespaceExport=e.Debug.deprecate(e.factory.updateNamespaceExport,a),e.createToken=e.Debug.deprecate(function(u){return e.factory.createToken(u)},a),e.createIdentifier=e.Debug.deprecate(function(u){return e.factory.createIdentifier(u,void 0,void 0)},a),e.createTempVariable=e.Debug.deprecate(function(u){return e.factory.createTempVariable(u,void 0)},a),e.getGeneratedNameForNode=e.Debug.deprecate(function(u){return e.factory.getGeneratedNameForNode(u,void 0)},a),e.createOptimisticUniqueName=e.Debug.deprecate(function(u){return e.factory.createUniqueName(u,16)},a),e.createFileLevelUniqueName=e.Debug.deprecate(function(u){return e.factory.createUniqueName(u,48)},a),e.createIndexSignature=e.Debug.deprecate(function(u,P,r,v){return e.factory.createIndexSignature(u,P,r,v)},a),e.createTypePredicateNode=e.Debug.deprecate(function(u,P){return e.factory.createTypePredicateNode(void 0,u,P)},a),e.updateTypePredicateNode=e.Debug.deprecate(function(u,P,r){return e.factory.updateTypePredicateNode(u,void 0,P,r)},a),e.createLiteral=e.Debug.deprecate(function(u){return typeof u=="number"?e.factory.createNumericLiteral(u):typeof u=="object"&&"base10Value"in u?e.factory.createBigIntLiteral(u):typeof u=="boolean"?u?e.factory.createTrue():e.factory.createFalse():typeof u=="string"?e.factory.createStringLiteral(u,void 0):e.factory.createStringLiteralFromNode(u)},{since:"4.0",warnAfter:"4.1",message:"Use `factory.createStringLiteral`, `factory.createStringLiteralFromNode`, `factory.createNumericLiteral`, `factory.createBigIntLiteral`, `factory.createTrue`, `factory.createFalse`, or the factory supplied by your transformation context instead."}),e.createMethodSignature=e.Debug.deprecate(function(u,P,r,v,G){return e.factory.createMethodSignature(void 0,v,G,u,P,r)},a),e.updateMethodSignature=e.Debug.deprecate(function(u,P,r,v,G,ue){return e.factory.updateMethodSignature(u,u.modifiers,G,ue,P,r,v)},a),e.createTypeOperatorNode=e.Debug.deprecate(function(u,P){var r;return P?r=u:(P=u,r=140),e.factory.createTypeOperatorNode(r,P)},a),e.createTaggedTemplate=e.Debug.deprecate(function(u,P,r){var v;return r?v=P:r=P,e.factory.createTaggedTemplateExpression(u,v,r)},a),e.updateTaggedTemplate=e.Debug.deprecate(function(u,P,r,v){var G;return v?G=r:v=r,e.factory.updateTaggedTemplateExpression(u,P,G,v)},a),e.updateBinary=e.Debug.deprecate(function(u,P,r,v){return v===void 0&&(v=u.operatorToken),typeof v=="number"&&(v=v===u.operatorToken.kind?u.operatorToken:e.factory.createToken(v)),e.factory.updateBinaryExpression(u,P,v,r)},a),e.createConditional=e.Debug.deprecate(function(u,P,r,v,G){return arguments.length===5?e.factory.createConditionalExpression(u,P,r,v,G):arguments.length===3?e.factory.createConditionalExpression(u,e.factory.createToken(57),P,e.factory.createToken(58),r):e.Debug.fail("Argument count mismatch")},a),e.createYield=e.Debug.deprecate(function(u,P){var r;return P?r=u:P=u,e.factory.createYieldExpression(r,P)},a),e.createClassExpression=e.Debug.deprecate(function(u,P,r,v,G){return e.factory.createClassExpression(void 0,u,P,r,v,G)},a),e.updateClassExpression=e.Debug.deprecate(function(u,P,r,v,G,ue){return e.factory.updateClassExpression(u,void 0,P,r,v,G,ue)},a),e.createPropertySignature=e.Debug.deprecate(function(u,P,r,v,G){var ue=e.factory.createPropertySignature(u,P,r,v);return ue.initializer=G,ue},a),e.updatePropertySignature=e.Debug.deprecate(function(u,P,r,v,G,ue){var h=e.factory.updatePropertySignature(u,P,r,v,G);return u.initializer!==ue&&(h===u&&(h=e.factory.cloneNode(u)),h.initializer=ue),h},a),e.createExpressionWithTypeArguments=e.Debug.deprecate(function(u,P){return e.factory.createExpressionWithTypeArguments(P,u)},a),e.updateExpressionWithTypeArguments=e.Debug.deprecate(function(u,P,r){return e.factory.updateExpressionWithTypeArguments(u,r,P)},a),e.createArrowFunction=e.Debug.deprecate(function(u,P,r,v,G,ue){return arguments.length===6?e.factory.createArrowFunction(u,P,r,v,G,ue):arguments.length===5?e.factory.createArrowFunction(u,P,r,v,void 0,G):e.Debug.fail("Argument count mismatch")},a),e.updateArrowFunction=e.Debug.deprecate(function(u,P,r,v,G,ue,h){return arguments.length===7?e.factory.updateArrowFunction(u,P,r,v,G,ue,h):arguments.length===6?e.factory.updateArrowFunction(u,P,r,v,G,u.equalsGreaterThanToken,ue):e.Debug.fail("Argument count mismatch")},a),e.createVariableDeclaration=e.Debug.deprecate(function(u,P,r,v){return arguments.length===4?e.factory.createVariableDeclaration(u,P,r,v):arguments.length>=1&&arguments.length<=3?e.factory.createVariableDeclaration(u,void 0,P,r):e.Debug.fail("Argument count mismatch")},a),e.updateVariableDeclaration=e.Debug.deprecate(function(u,P,r,v,G){return arguments.length===5?e.factory.updateVariableDeclaration(u,P,r,v,G):arguments.length===4?e.factory.updateVariableDeclaration(u,P,u.exclamationToken,r,v):e.Debug.fail("Argument count mismatch")},a),e.createImportClause=e.Debug.deprecate(function(u,P,r){return r===void 0&&(r=!1),e.factory.createImportClause(r,u,P)},a),e.updateImportClause=e.Debug.deprecate(function(u,P,r,v){return e.factory.updateImportClause(u,v,P,r)},a),e.createExportDeclaration=e.Debug.deprecate(function(u,P,r,v,G){return G===void 0&&(G=!1),e.factory.createExportDeclaration(u,P,G,r,v)},a),e.updateExportDeclaration=e.Debug.deprecate(function(u,P,r,v,G,ue){return e.factory.updateExportDeclaration(u,P,r,ue,v,G,u.assertClause)},a),e.createJSDocParamTag=e.Debug.deprecate(function(u,P,r,v){return e.factory.createJSDocParameterTag(void 0,u,P,r,!1,v?e.factory.createNodeArray([e.factory.createJSDocText(v)]):void 0)},a),e.createComma=e.Debug.deprecate(function(u,P){return e.factory.createComma(u,P)},a),e.createLessThan=e.Debug.deprecate(function(u,P){return e.factory.createLessThan(u,P)},a),e.createAssignment=e.Debug.deprecate(function(u,P){return e.factory.createAssignment(u,P)},a),e.createStrictEquality=e.Debug.deprecate(function(u,P){return e.factory.createStrictEquality(u,P)},a),e.createStrictInequality=e.Debug.deprecate(function(u,P){return e.factory.createStrictInequality(u,P)},a),e.createAdd=e.Debug.deprecate(function(u,P){return e.factory.createAdd(u,P)},a),e.createSubtract=e.Debug.deprecate(function(u,P){return e.factory.createSubtract(u,P)},a),e.createLogicalAnd=e.Debug.deprecate(function(u,P){return e.factory.createLogicalAnd(u,P)},a),e.createLogicalOr=e.Debug.deprecate(function(u,P){return e.factory.createLogicalOr(u,P)},a),e.createPostfixIncrement=e.Debug.deprecate(function(u){return e.factory.createPostfixIncrement(u)},a),e.createLogicalNot=e.Debug.deprecate(function(u){return e.factory.createLogicalNot(u)},a),e.createNode=e.Debug.deprecate(function(u,P,r){return P===void 0&&(P=0),r===void 0&&(r=0),e.setTextRangePosEnd(u===303?e.parseBaseNodeFactory.createBaseSourceFileNode(u):u===79?e.parseBaseNodeFactory.createBaseIdentifierNode(u):u===80?e.parseBaseNodeFactory.createBasePrivateIdentifierNode(u):e.isNodeKind(u)?e.parseBaseNodeFactory.createBaseNode(u):e.parseBaseNodeFactory.createBaseTokenNode(u),P,r)},{since:"4.0",warnAfter:"4.1",message:"Use an appropriate `factory` method instead."}),e.getMutableClone=e.Debug.deprecate(function(u){var P=e.factory.cloneNode(u);return e.setTextRange(P,u),e.setParent(P,u.parent),P},{since:"4.0",warnAfter:"4.1",message:"Use an appropriate `factory.update...` method instead, use `setCommentRange` or `setSourceMapRange`, and avoid setting `parent`."}),e.isTypeAssertion=e.Debug.deprecate(function(u){return u.kind===210},{since:"4.0",warnAfter:"4.1",message:"Use `isTypeAssertionExpression` instead."}),e.isIdentifierOrPrivateIdentifier=e.Debug.deprecate(function(u){return e.isMemberName(u)},{since:"4.2",warnAfter:"4.3",message:"Use `isMemberName` instead."})})(ne||(ne={}))}}),IS=_r({"node_modules/@typescript-eslint/types/dist/generated/ast-spec.js"(te){Mr(),Object.defineProperty(te,"__esModule",{value:!0}),te.AST_TOKEN_TYPES=te.AST_NODE_TYPES=void 0,function(X){X.ArrayExpression="ArrayExpression",X.ArrayPattern="ArrayPattern",X.ArrowFunctionExpression="ArrowFunctionExpression",X.AssignmentExpression="AssignmentExpression",X.AssignmentPattern="AssignmentPattern",X.AwaitExpression="AwaitExpression",X.BinaryExpression="BinaryExpression",X.BlockStatement="BlockStatement",X.BreakStatement="BreakStatement",X.CallExpression="CallExpression",X.CatchClause="CatchClause",X.ChainExpression="ChainExpression",X.ClassBody="ClassBody",X.ClassDeclaration="ClassDeclaration",X.ClassExpression="ClassExpression",X.ConditionalExpression="ConditionalExpression",X.ContinueStatement="ContinueStatement",X.DebuggerStatement="DebuggerStatement",X.Decorator="Decorator",X.DoWhileStatement="DoWhileStatement",X.EmptyStatement="EmptyStatement",X.ExportAllDeclaration="ExportAllDeclaration",X.ExportDefaultDeclaration="ExportDefaultDeclaration",X.ExportNamedDeclaration="ExportNamedDeclaration",X.ExportSpecifier="ExportSpecifier",X.ExpressionStatement="ExpressionStatement",X.ForInStatement="ForInStatement",X.ForOfStatement="ForOfStatement",X.ForStatement="ForStatement",X.FunctionDeclaration="FunctionDeclaration",X.FunctionExpression="FunctionExpression",X.Identifier="Identifier",X.IfStatement="IfStatement",X.ImportAttribute="ImportAttribute",X.ImportDeclaration="ImportDeclaration",X.ImportDefaultSpecifier="ImportDefaultSpecifier",X.ImportExpression="ImportExpression",X.ImportNamespaceSpecifier="ImportNamespaceSpecifier",X.ImportSpecifier="ImportSpecifier",X.JSXAttribute="JSXAttribute",X.JSXClosingElement="JSXClosingElement",X.JSXClosingFragment="JSXClosingFragment",X.JSXElement="JSXElement",X.JSXEmptyExpression="JSXEmptyExpression",X.JSXExpressionContainer="JSXExpressionContainer",X.JSXFragment="JSXFragment",X.JSXIdentifier="JSXIdentifier",X.JSXMemberExpression="JSXMemberExpression",X.JSXNamespacedName="JSXNamespacedName",X.JSXOpeningElement="JSXOpeningElement",X.JSXOpeningFragment="JSXOpeningFragment",X.JSXSpreadAttribute="JSXSpreadAttribute",X.JSXSpreadChild="JSXSpreadChild",X.JSXText="JSXText",X.LabeledStatement="LabeledStatement",X.Literal="Literal",X.LogicalExpression="LogicalExpression",X.MemberExpression="MemberExpression",X.MetaProperty="MetaProperty",X.MethodDefinition="MethodDefinition",X.NewExpression="NewExpression",X.ObjectExpression="ObjectExpression",X.ObjectPattern="ObjectPattern",X.PrivateIdentifier="PrivateIdentifier",X.Program="Program",X.Property="Property",X.PropertyDefinition="PropertyDefinition",X.RestElement="RestElement",X.ReturnStatement="ReturnStatement",X.SequenceExpression="SequenceExpression",X.SpreadElement="SpreadElement",X.StaticBlock="StaticBlock",X.Super="Super",X.SwitchCase="SwitchCase",X.SwitchStatement="SwitchStatement",X.TaggedTemplateExpression="TaggedTemplateExpression",X.TemplateElement="TemplateElement",X.TemplateLiteral="TemplateLiteral",X.ThisExpression="ThisExpression",X.ThrowStatement="ThrowStatement",X.TryStatement="TryStatement",X.UnaryExpression="UnaryExpression",X.UpdateExpression="UpdateExpression",X.VariableDeclaration="VariableDeclaration",X.VariableDeclarator="VariableDeclarator",X.WhileStatement="WhileStatement",X.WithStatement="WithStatement",X.YieldExpression="YieldExpression",X.TSAbstractKeyword="TSAbstractKeyword",X.TSAbstractMethodDefinition="TSAbstractMethodDefinition",X.TSAbstractPropertyDefinition="TSAbstractPropertyDefinition",X.TSAnyKeyword="TSAnyKeyword",X.TSArrayType="TSArrayType",X.TSAsExpression="TSAsExpression",X.TSAsyncKeyword="TSAsyncKeyword",X.TSBigIntKeyword="TSBigIntKeyword",X.TSBooleanKeyword="TSBooleanKeyword",X.TSCallSignatureDeclaration="TSCallSignatureDeclaration",X.TSClassImplements="TSClassImplements",X.TSConditionalType="TSConditionalType",X.TSConstructorType="TSConstructorType",X.TSConstructSignatureDeclaration="TSConstructSignatureDeclaration",X.TSDeclareFunction="TSDeclareFunction",X.TSDeclareKeyword="TSDeclareKeyword",X.TSEmptyBodyFunctionExpression="TSEmptyBodyFunctionExpression",X.TSEnumDeclaration="TSEnumDeclaration",X.TSEnumMember="TSEnumMember",X.TSExportAssignment="TSExportAssignment",X.TSExportKeyword="TSExportKeyword",X.TSExternalModuleReference="TSExternalModuleReference",X.TSFunctionType="TSFunctionType",X.TSImportEqualsDeclaration="TSImportEqualsDeclaration",X.TSImportType="TSImportType",X.TSIndexedAccessType="TSIndexedAccessType",X.TSIndexSignature="TSIndexSignature",X.TSInferType="TSInferType",X.TSInterfaceBody="TSInterfaceBody",X.TSInterfaceDeclaration="TSInterfaceDeclaration",X.TSInterfaceHeritage="TSInterfaceHeritage",X.TSIntersectionType="TSIntersectionType",X.TSIntrinsicKeyword="TSIntrinsicKeyword",X.TSLiteralType="TSLiteralType",X.TSMappedType="TSMappedType",X.TSMethodSignature="TSMethodSignature",X.TSModuleBlock="TSModuleBlock",X.TSModuleDeclaration="TSModuleDeclaration",X.TSNamedTupleMember="TSNamedTupleMember",X.TSNamespaceExportDeclaration="TSNamespaceExportDeclaration",X.TSNeverKeyword="TSNeverKeyword",X.TSNonNullExpression="TSNonNullExpression",X.TSNullKeyword="TSNullKeyword",X.TSNumberKeyword="TSNumberKeyword",X.TSObjectKeyword="TSObjectKeyword",X.TSOptionalType="TSOptionalType",X.TSParameterProperty="TSParameterProperty",X.TSPrivateKeyword="TSPrivateKeyword",X.TSPropertySignature="TSPropertySignature",X.TSProtectedKeyword="TSProtectedKeyword",X.TSPublicKeyword="TSPublicKeyword",X.TSQualifiedName="TSQualifiedName",X.TSReadonlyKeyword="TSReadonlyKeyword",X.TSRestType="TSRestType",X.TSStaticKeyword="TSStaticKeyword",X.TSStringKeyword="TSStringKeyword",X.TSSymbolKeyword="TSSymbolKeyword",X.TSTemplateLiteralType="TSTemplateLiteralType",X.TSThisType="TSThisType",X.TSTupleType="TSTupleType",X.TSTypeAliasDeclaration="TSTypeAliasDeclaration",X.TSTypeAnnotation="TSTypeAnnotation",X.TSTypeAssertion="TSTypeAssertion",X.TSTypeLiteral="TSTypeLiteral",X.TSTypeOperator="TSTypeOperator",X.TSTypeParameter="TSTypeParameter",X.TSTypeParameterDeclaration="TSTypeParameterDeclaration",X.TSTypeParameterInstantiation="TSTypeParameterInstantiation",X.TSTypePredicate="TSTypePredicate",X.TSTypeQuery="TSTypeQuery",X.TSTypeReference="TSTypeReference",X.TSUndefinedKeyword="TSUndefinedKeyword",X.TSUnionType="TSUnionType",X.TSUnknownKeyword="TSUnknownKeyword",X.TSVoidKeyword="TSVoidKeyword"}(te.AST_NODE_TYPES||(te.AST_NODE_TYPES={})),function(X){X.Boolean="Boolean",X.Identifier="Identifier",X.JSXIdentifier="JSXIdentifier",X.JSXText="JSXText",X.Keyword="Keyword",X.Null="Null",X.Numeric="Numeric",X.Punctuator="Punctuator",X.RegularExpression="RegularExpression",X.String="String",X.Template="Template",X.Block="Block",X.Line="Line"}(te.AST_TOKEN_TYPES||(te.AST_TOKEN_TYPES={}))}}),HN=_r({"node_modules/@typescript-eslint/types/dist/lib.js"(te){Mr(),Object.defineProperty(te,"__esModule",{value:!0})}}),GN=_r({"node_modules/@typescript-eslint/types/dist/parser-options.js"(te){Mr(),Object.defineProperty(te,"__esModule",{value:!0})}}),QN=_r({"node_modules/@typescript-eslint/types/dist/ts-estree.js"(te){Mr();var X=te&&te.__createBinding||(Object.create?function(fn,Pt,dt,wt){wt===void 0&&(wt=dt);var ne=Object.getOwnPropertyDescriptor(Pt,dt);(!ne||("get"in ne?!Pt.__esModule:ne.writable||ne.configurable))&&(ne={enumerable:!0,get:function(){return Pt[dt]}}),Object.defineProperty(fn,wt,ne)}:function(fn,Pt,dt,wt){wt===void 0&&(wt=dt),fn[wt]=Pt[dt]}),tt=te&&te.__setModuleDefault||(Object.create?function(fn,Pt){Object.defineProperty(fn,"default",{enumerable:!0,value:Pt})}:function(fn,Pt){fn.default=Pt}),Tt=te&&te.__importStar||function(fn){if(fn&&fn.__esModule)return fn;var Pt={};if(fn!=null)for(var dt in fn)dt!=="default"&&Object.prototype.hasOwnProperty.call(fn,dt)&&X(Pt,fn,dt);return tt(Pt,fn),Pt};Object.defineProperty(te,"__esModule",{value:!0}),te.TSESTree=void 0,te.TSESTree=Tt(IS())}}),OS=_r({"node_modules/@typescript-eslint/types/dist/index.js"(te){Mr();var X=te&&te.__createBinding||(Object.create?function(fn,Pt,dt,wt){wt===void 0&&(wt=dt);var ne=Object.getOwnPropertyDescriptor(Pt,dt);(!ne||("get"in ne?!Pt.__esModule:ne.writable||ne.configurable))&&(ne={enumerable:!0,get:function(){return Pt[dt]}}),Object.defineProperty(fn,wt,ne)}:function(fn,Pt,dt,wt){wt===void 0&&(wt=dt),fn[wt]=Pt[dt]}),tt=te&&te.__exportStar||function(fn,Pt){for(var dt in fn)dt!=="default"&&!Object.prototype.hasOwnProperty.call(Pt,dt)&&X(Pt,fn,dt)};Object.defineProperty(te,"__esModule",{value:!0}),te.AST_TOKEN_TYPES=te.AST_NODE_TYPES=void 0;var Tt=IS();Object.defineProperty(te,"AST_NODE_TYPES",{enumerable:!0,get:function(){return Tt.AST_NODE_TYPES}}),Object.defineProperty(te,"AST_TOKEN_TYPES",{enumerable:!0,get:function(){return Tt.AST_TOKEN_TYPES}}),tt(HN(),te),tt(GN(),te),tt(QN(),te)}}),YN=_r({"node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.js"(te){Mr(),Object.defineProperty(te,"__esModule",{value:!0})}}),$N=_r({"node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js"(te){Mr(),Object.defineProperty(te,"__esModule",{value:!0}),OS()}}),s0=_r({"node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js"(te){Mr();var X=te&&te.__createBinding||(Object.create?function(fn,Pt,dt,wt){wt===void 0&&(wt=dt);var ne=Object.getOwnPropertyDescriptor(Pt,dt);(!ne||("get"in ne?!Pt.__esModule:ne.writable||ne.configurable))&&(ne={enumerable:!0,get:function(){return Pt[dt]}}),Object.defineProperty(fn,wt,ne)}:function(fn,Pt,dt,wt){wt===void 0&&(wt=dt),fn[wt]=Pt[dt]}),tt=te&&te.__exportStar||function(fn,Pt){for(var dt in fn)dt!=="default"&&!Object.prototype.hasOwnProperty.call(Pt,dt)&&X(Pt,fn,dt)};Object.defineProperty(te,"__esModule",{value:!0}),te.TSESTree=te.AST_TOKEN_TYPES=te.AST_NODE_TYPES=void 0;var Tt=OS();Object.defineProperty(te,"AST_NODE_TYPES",{enumerable:!0,get:function(){return Tt.AST_NODE_TYPES}}),Object.defineProperty(te,"AST_TOKEN_TYPES",{enumerable:!0,get:function(){return Tt.AST_TOKEN_TYPES}}),Object.defineProperty(te,"TSESTree",{enumerable:!0,get:function(){return Tt.TSESTree}}),tt(YN(),te),tt($N(),te)}}),XN=_r({"node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.js"(te){Mr(),Object.defineProperty(te,"__esModule",{value:!0}),te.xhtmlEntities=void 0,te.xhtmlEntities={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"}}}),c0=_r({"node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js"(te){Mr();var X=te&&te.__createBinding||(Object.create?function(N,_,d,E){E===void 0&&(E=d);var j=Object.getOwnPropertyDescriptor(_,d);(!j||("get"in j?!_.__esModule:j.writable||j.configurable))&&(j={enumerable:!0,get:function(){return _[d]}}),Object.defineProperty(N,E,j)}:function(N,_,d,E){E===void 0&&(E=d),N[E]=_[d]}),tt=te&&te.__setModuleDefault||(Object.create?function(N,_){Object.defineProperty(N,"default",{enumerable:!0,value:_})}:function(N,_){N.default=_}),Tt=te&&te.__importStar||function(N){if(N&&N.__esModule)return N;var _={};if(N!=null)for(var d in N)d!=="default"&&Object.prototype.hasOwnProperty.call(N,d)&&X(_,N,d);return tt(_,N),_};Object.defineProperty(te,"__esModule",{value:!0}),te.firstDefined=te.nodeHasTokens=te.createError=te.TSError=te.convertTokens=te.convertToken=te.getTokenType=te.isChildUnwrappableOptionalChain=te.isChainExpression=te.isOptional=te.isComputedProperty=te.unescapeStringLiteralText=te.hasJSXAncestor=te.findFirstMatchingAncestor=te.findNextToken=te.getTSNodeAccessibility=te.getDeclarationKind=te.isJSXToken=te.isToken=te.getRange=te.canContainDirective=te.getLocFor=te.getLineAndCharacterFor=te.getBinaryExpressionType=te.isJSDocComment=te.isComment=te.isComma=te.getLastModifier=te.hasModifier=te.isESTreeClassMember=te.getTextForTokenKind=te.isLogicalOperator=te.isAssignmentOperator=void 0;var fn=Tt(Wu()),Pt=s0(),dt=XN(),wt=fn.SyntaxKind,ne=[wt.BarBarToken,wt.AmpersandAmpersandToken,wt.QuestionQuestionToken];function e(N){return N.kind>=wt.FirstAssignment&&N.kind<=wt.LastAssignment}te.isAssignmentOperator=e;function a(N){return ne.includes(N.kind)}te.isLogicalOperator=a;function u(N){return fn.tokenToString(N)}te.getTextForTokenKind=u;function P(N){return N.kind!==wt.SemicolonClassElement}te.isESTreeClassMember=P;function r(N,_){return!!_.modifiers&&!!_.modifiers.length&&_.modifiers.some(d=>d.kind===N)}te.hasModifier=r;function v(N){return!!N.modifiers&&!!N.modifiers.length&&N.modifiers[N.modifiers.length-1]||null}te.getLastModifier=v;function G(N){return N.kind===wt.CommaToken}te.isComma=G;function ue(N){return N.kind===wt.SingleLineCommentTrivia||N.kind===wt.MultiLineCommentTrivia}te.isComment=ue;function h(N){return N.kind===wt.JSDocComment}te.isJSDocComment=h;function S(N){return e(N)?Pt.AST_NODE_TYPES.AssignmentExpression:a(N)?Pt.AST_NODE_TYPES.LogicalExpression:Pt.AST_NODE_TYPES.BinaryExpression}te.getBinaryExpressionType=S;function k(N,_){let d=_.getLineAndCharacterOfPosition(N);return{line:d.line+1,column:d.character}}te.getLineAndCharacterFor=k;function se(N,_,d){return{start:k(N,d),end:k(_,d)}}te.getLocFor=se;function le(N){if(N.kind===fn.SyntaxKind.Block)switch(N.parent.kind){case fn.SyntaxKind.Constructor:case fn.SyntaxKind.GetAccessor:case fn.SyntaxKind.SetAccessor:case fn.SyntaxKind.ArrowFunction:case fn.SyntaxKind.FunctionExpression:case fn.SyntaxKind.FunctionDeclaration:case fn.SyntaxKind.MethodDeclaration:return!0;default:return!1}return!0}te.canContainDirective=le;function f(N,_){return[N.getStart(_),N.getEnd()]}te.getRange=f;function b(N){return N.kind>=wt.FirstToken&&N.kind<=wt.LastToken}te.isToken=b;function y(N){return N.kind>=wt.JsxElement&&N.kind<=wt.JsxAttribute}te.isJSXToken=y;function K(N){return N.flags&fn.NodeFlags.Let?"let":N.flags&fn.NodeFlags.Const?"const":"var"}te.getDeclarationKind=K;function ce(N){let _=N.modifiers;if(!_)return null;for(let d=0;d<_.length;d++)switch(_[d].kind){case wt.PublicKeyword:return"public";case wt.ProtectedKeyword:return"protected";case wt.PrivateKeyword:return"private"}return null}te.getTSNodeAccessibility=ce;function Y(N,_,d){return E(_);function E(j){return fn.isToken(j)&&j.pos===N.end?j:C(j.getChildren(d),B=>(B.pos<=N.pos&&B.end>N.end||B.pos===N.end)&&g(B,d)?E(B):void 0)}}te.findNextToken=Y;function re(N,_){for(;N;){if(_(N))return N;N=N.parent}}te.findFirstMatchingAncestor=re;function F(N){return!!re(N,y)}te.hasJSXAncestor=F;function O(N){return N.replace(/&(?:#\d+|#x[\da-fA-F]+|[0-9a-zA-Z]+);/g,_=>{let d=_.slice(1,-1);if(d[0]==="#"){let E=d[1]==="x"?parseInt(d.slice(2),16):parseInt(d.slice(1),10);return E>1114111?_:String.fromCodePoint(E)}return dt.xhtmlEntities[d]||_})}te.unescapeStringLiteralText=O;function Q(N){return N.kind===wt.ComputedPropertyName}te.isComputedProperty=Q;function de(N){return N.questionToken?N.questionToken.kind===wt.QuestionToken:!1}te.isOptional=de;function $(N){return N.type===Pt.AST_NODE_TYPES.ChainExpression}te.isChainExpression=$;function I(N,_){return $(_)&&N.expression.kind!==fn.SyntaxKind.ParenthesizedExpression}te.isChildUnwrappableOptionalChain=I;function Z(N){if("originalKeywordKind"in N&&N.originalKeywordKind)return N.originalKeywordKind===wt.NullKeyword?Pt.AST_TOKEN_TYPES.Null:N.originalKeywordKind>=wt.FirstFutureReservedWord&&N.originalKeywordKind<=wt.LastKeyword?Pt.AST_TOKEN_TYPES.Identifier:Pt.AST_TOKEN_TYPES.Keyword;if(N.kind>=wt.FirstKeyword&&N.kind<=wt.LastFutureReservedWord)return N.kind===wt.FalseKeyword||N.kind===wt.TrueKeyword?Pt.AST_TOKEN_TYPES.Boolean:Pt.AST_TOKEN_TYPES.Keyword;if(N.kind>=wt.FirstPunctuation&&N.kind<=wt.LastPunctuation)return Pt.AST_TOKEN_TYPES.Punctuator;if(N.kind>=wt.NoSubstitutionTemplateLiteral&&N.kind<=wt.TemplateTail)return Pt.AST_TOKEN_TYPES.Template;switch(N.kind){case wt.NumericLiteral:return Pt.AST_TOKEN_TYPES.Numeric;case wt.JsxText:return Pt.AST_TOKEN_TYPES.JSXText;case wt.StringLiteral:return N.parent&&(N.parent.kind===wt.JsxAttribute||N.parent.kind===wt.JsxElement)?Pt.AST_TOKEN_TYPES.JSXText:Pt.AST_TOKEN_TYPES.String;case wt.RegularExpressionLiteral:return Pt.AST_TOKEN_TYPES.RegularExpression;case wt.Identifier:case wt.ConstructorKeyword:case wt.GetKeyword:case wt.SetKeyword:}return N.parent&&N.kind===wt.Identifier&&(y(N.parent)||N.parent.kind===wt.PropertyAccessExpression&&F(N))?Pt.AST_TOKEN_TYPES.JSXIdentifier:Pt.AST_TOKEN_TYPES.Identifier}te.getTokenType=Z;function z(N,_){let d=N.kind===wt.JsxText?N.getFullStart():N.getStart(_),E=N.getEnd(),j=_.text.slice(d,E),B=Z(N);return B===Pt.AST_TOKEN_TYPES.RegularExpression?{type:B,value:j,range:[d,E],loc:se(d,E,_),regex:{pattern:j.slice(1,j.lastIndexOf("/")),flags:j.slice(j.lastIndexOf("/")+1)}}:{type:B,value:j,range:[d,E],loc:se(d,E,_)}}te.convertToken=z;function ie(N){let _=[];function d(E){if(!(ue(E)||h(E)))if(b(E)&&E.kind!==wt.EndOfFileToken){let j=z(E,N);j&&_.push(j)}else E.getChildren(N).forEach(d)}return d(N),_}te.convertTokens=ie;var m=class extends Error{constructor(N,_,d,E,j){super(N),this.fileName=_,this.index=d,this.lineNumber=E,this.column=j,Object.defineProperty(this,"name",{value:new.target.name,enumerable:!1,configurable:!0})}};te.TSError=m;function A(N,_,d){let E=N.getLineAndCharacterOfPosition(_);return new m(d,N.fileName,_,E.line+1,E.character)}te.createError=A;function g(N,_){return N.kind===wt.EndOfFileToken?!!N.jsDoc:N.getWidth(_)!==0}te.nodeHasTokens=g;function C(N,_){if(N!==void 0)for(let d=0;d{let G=this.convertChild(v);if(r)if((G==null?void 0:G.expression)&&fn.isExpressionStatement(v)&&fn.isStringLiteral(v.expression)){let ue=G.expression.raw;return G.directive=ue.slice(1,-1),G}else r=!1;return G}).filter(v=>v)}convertTypeArgumentsToTypeParameters(u,P){let r=(0,Pt.findNextToken)(u,this.ast,this.ast);return this.createNode(P,{type:dt.AST_NODE_TYPES.TSTypeParameterInstantiation,range:[u.pos-1,r.end],params:u.map(v=>this.convertType(v))})}convertTSTypeParametersToTypeParametersDeclaration(u){let P=(0,Pt.findNextToken)(u,this.ast,this.ast);return{type:dt.AST_NODE_TYPES.TSTypeParameterDeclaration,range:[u.pos-1,P.end],loc:(0,Pt.getLocFor)(u.pos-1,P.end,this.ast),params:u.map(r=>this.convertType(r))}}convertParameters(u){return!u||!u.length?[]:u.map(P=>{var r;let v=this.convertChild(P);return!((r=P.decorators)===null||r===void 0)&&r.length&&(v.decorators=P.decorators.map(G=>this.convertChild(G))),v})}convertChainExpression(u,P){let{child:r,isOptional:v}=(()=>u.type===dt.AST_NODE_TYPES.MemberExpression?{child:u.object,isOptional:u.optional}:u.type===dt.AST_NODE_TYPES.CallExpression?{child:u.callee,isOptional:u.optional}:{child:u.expression,isOptional:!1})(),G=(0,Pt.isChildUnwrappableOptionalChain)(P,r);if(!G&&!v)return u;if(G&&(0,Pt.isChainExpression)(r)){let ue=r.expression;u.type===dt.AST_NODE_TYPES.MemberExpression?u.object=ue:u.type===dt.AST_NODE_TYPES.CallExpression?u.callee=ue:u.expression=ue}return this.createNode(P,{type:dt.AST_NODE_TYPES.ChainExpression,expression:u})}deeplyCopy(u){if(u.kind===fn.SyntaxKind.JSDocFunctionType)throw(0,Pt.createError)(this.ast,u.pos,"JSDoc types can only be used inside documentation comments.");let P="TS".concat(ne[u.kind]);if(this.options.errorOnUnknownASTType&&!dt.AST_NODE_TYPES[P])throw new Error('Unknown AST_NODE_TYPE: "'.concat(P,'"'));let r=this.createNode(u,{type:P});return"type"in u&&(r.typeAnnotation=u.type&&"kind"in u.type&&fn.isTypeNode(u.type)?this.convertTypeAnnotation(u.type,u):null),"typeArguments"in u&&(r.typeParameters=u.typeArguments&&"pos"in u.typeArguments?this.convertTypeArgumentsToTypeParameters(u.typeArguments,u):null),"typeParameters"in u&&(r.typeParameters=u.typeParameters&&"pos"in u.typeParameters?this.convertTSTypeParametersToTypeParametersDeclaration(u.typeParameters):null),"decorators"in u&&u.decorators&&u.decorators.length&&(r.decorators=u.decorators.map(v=>this.convertChild(v))),Object.entries(u).filter(v=>{let[G]=v;return!/^(?:_children|kind|parent|pos|end|flags|modifierFlagsCache|jsDoc|type|typeArguments|typeParameters|decorators|transformFlags)$/.test(G)}).forEach(v=>{let[G,ue]=v;Array.isArray(ue)?r[G]=ue.map(h=>this.convertChild(h)):ue&&typeof ue=="object"&&ue.kind?r[G]=this.convertChild(ue):r[G]=ue}),r}convertJSXIdentifier(u){let P=this.createNode(u,{type:dt.AST_NODE_TYPES.JSXIdentifier,name:u.getText()});return this.registerTSNodeInNodeMap(u,P),P}convertJSXNamespaceOrIdentifier(u){let P=u.getText(),r=P.indexOf(":");if(r>0){let v=(0,Pt.getRange)(u,this.ast),G=this.createNode(u,{type:dt.AST_NODE_TYPES.JSXNamespacedName,namespace:this.createNode(u,{type:dt.AST_NODE_TYPES.JSXIdentifier,name:P.slice(0,r),range:[v[0],v[0]+r]}),name:this.createNode(u,{type:dt.AST_NODE_TYPES.JSXIdentifier,name:P.slice(r+1),range:[v[0]+r+1,v[1]]}),range:v});return this.registerTSNodeInNodeMap(u,G),G}return this.convertJSXIdentifier(u)}convertJSXTagName(u,P){let r;switch(u.kind){case ne.PropertyAccessExpression:if(u.name.kind===ne.PrivateIdentifier)throw new Error("Non-private identifier expected.");r=this.createNode(u,{type:dt.AST_NODE_TYPES.JSXMemberExpression,object:this.convertJSXTagName(u.expression,P),property:this.convertJSXIdentifier(u.name)});break;case ne.ThisKeyword:case ne.Identifier:default:return this.convertJSXNamespaceOrIdentifier(u)}return this.registerTSNodeInNodeMap(u,r),r}convertMethodSignature(u){let P=this.createNode(u,{type:dt.AST_NODE_TYPES.TSMethodSignature,computed:(0,Pt.isComputedProperty)(u.name),key:this.convertChild(u.name),params:this.convertParameters(u.parameters),kind:(()=>{switch(u.kind){case ne.GetAccessor:return"get";case ne.SetAccessor:return"set";case ne.MethodSignature:return"method"}})()});(0,Pt.isOptional)(u)&&(P.optional=!0),u.type&&(P.returnType=this.convertTypeAnnotation(u.type,u)),(0,Pt.hasModifier)(ne.ReadonlyKeyword,u)&&(P.readonly=!0),u.typeParameters&&(P.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(u.typeParameters));let r=(0,Pt.getTSNodeAccessibility)(u);return r&&(P.accessibility=r),(0,Pt.hasModifier)(ne.ExportKeyword,u)&&(P.export=!0),(0,Pt.hasModifier)(ne.StaticKeyword,u)&&(P.static=!0),P}convertAssertClasue(u){return u===void 0?[]:u.elements.map(P=>this.convertChild(P))}applyModifiersToResult(u,P){if(!P||!P.length)return;let r=[];for(let v=0;vu.range[1]&&(u.range[1]=P[1],u.loc.end=(0,Pt.getLineAndCharacterFor)(u.range[1],this.ast))}assertModuleSpecifier(u){if(u.moduleSpecifier&&u.moduleSpecifier.kind!==ne.StringLiteral)throw(0,Pt.createError)(this.ast,u.moduleSpecifier.pos,"Module specifier must be a string literal.")}convertNode(u,P){var r,v,G,ue,h,S,k,se,le,f;switch(u.kind){case ne.SourceFile:return this.createNode(u,{type:dt.AST_NODE_TYPES.Program,body:this.convertBodyExpressions(u.statements,u),sourceType:u.externalModuleIndicator?"module":"script",range:[u.getStart(this.ast),u.endOfFileToken.end]});case ne.Block:return this.createNode(u,{type:dt.AST_NODE_TYPES.BlockStatement,body:this.convertBodyExpressions(u.statements,u)});case ne.Identifier:return this.createNode(u,{type:dt.AST_NODE_TYPES.Identifier,name:u.text});case ne.PrivateIdentifier:return this.createNode(u,{type:dt.AST_NODE_TYPES.PrivateIdentifier,name:u.text.slice(1)});case ne.WithStatement:return this.createNode(u,{type:dt.AST_NODE_TYPES.WithStatement,object:this.convertChild(u.expression),body:this.convertChild(u.statement)});case ne.ReturnStatement:return this.createNode(u,{type:dt.AST_NODE_TYPES.ReturnStatement,argument:this.convertChild(u.expression)});case ne.LabeledStatement:return this.createNode(u,{type:dt.AST_NODE_TYPES.LabeledStatement,label:this.convertChild(u.label),body:this.convertChild(u.statement)});case ne.ContinueStatement:return this.createNode(u,{type:dt.AST_NODE_TYPES.ContinueStatement,label:this.convertChild(u.label)});case ne.BreakStatement:return this.createNode(u,{type:dt.AST_NODE_TYPES.BreakStatement,label:this.convertChild(u.label)});case ne.IfStatement:return this.createNode(u,{type:dt.AST_NODE_TYPES.IfStatement,test:this.convertChild(u.expression),consequent:this.convertChild(u.thenStatement),alternate:this.convertChild(u.elseStatement)});case ne.SwitchStatement:return this.createNode(u,{type:dt.AST_NODE_TYPES.SwitchStatement,discriminant:this.convertChild(u.expression),cases:u.caseBlock.clauses.map(b=>this.convertChild(b))});case ne.CaseClause:case ne.DefaultClause:return this.createNode(u,{type:dt.AST_NODE_TYPES.SwitchCase,test:u.kind===ne.CaseClause?this.convertChild(u.expression):null,consequent:u.statements.map(b=>this.convertChild(b))});case ne.ThrowStatement:return this.createNode(u,{type:dt.AST_NODE_TYPES.ThrowStatement,argument:this.convertChild(u.expression)});case ne.TryStatement:return this.createNode(u,{type:dt.AST_NODE_TYPES.TryStatement,block:this.convertChild(u.tryBlock),handler:this.convertChild(u.catchClause),finalizer:this.convertChild(u.finallyBlock)});case ne.CatchClause:return this.createNode(u,{type:dt.AST_NODE_TYPES.CatchClause,param:u.variableDeclaration?this.convertBindingNameWithTypeAnnotation(u.variableDeclaration.name,u.variableDeclaration.type):null,body:this.convertChild(u.block)});case ne.WhileStatement:return this.createNode(u,{type:dt.AST_NODE_TYPES.WhileStatement,test:this.convertChild(u.expression),body:this.convertChild(u.statement)});case ne.DoStatement:return this.createNode(u,{type:dt.AST_NODE_TYPES.DoWhileStatement,test:this.convertChild(u.expression),body:this.convertChild(u.statement)});case ne.ForStatement:return this.createNode(u,{type:dt.AST_NODE_TYPES.ForStatement,init:this.convertChild(u.initializer),test:this.convertChild(u.condition),update:this.convertChild(u.incrementor),body:this.convertChild(u.statement)});case ne.ForInStatement:return this.createNode(u,{type:dt.AST_NODE_TYPES.ForInStatement,left:this.convertPattern(u.initializer),right:this.convertChild(u.expression),body:this.convertChild(u.statement)});case ne.ForOfStatement:return this.createNode(u,{type:dt.AST_NODE_TYPES.ForOfStatement,left:this.convertPattern(u.initializer),right:this.convertChild(u.expression),body:this.convertChild(u.statement),await:Boolean(u.awaitModifier&&u.awaitModifier.kind===ne.AwaitKeyword)});case ne.FunctionDeclaration:{let b=(0,Pt.hasModifier)(ne.DeclareKeyword,u),y=this.createNode(u,{type:b||!u.body?dt.AST_NODE_TYPES.TSDeclareFunction:dt.AST_NODE_TYPES.FunctionDeclaration,id:this.convertChild(u.name),generator:!!u.asteriskToken,expression:!1,async:(0,Pt.hasModifier)(ne.AsyncKeyword,u),params:this.convertParameters(u.parameters),body:this.convertChild(u.body)||void 0});return u.type&&(y.returnType=this.convertTypeAnnotation(u.type,u)),b&&(y.declare=!0),u.typeParameters&&(y.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(u.typeParameters)),this.fixExports(u,y)}case ne.VariableDeclaration:{let b=this.createNode(u,{type:dt.AST_NODE_TYPES.VariableDeclarator,id:this.convertBindingNameWithTypeAnnotation(u.name,u.type,u),init:this.convertChild(u.initializer)});return u.exclamationToken&&(b.definite=!0),b}case ne.VariableStatement:{let b=this.createNode(u,{type:dt.AST_NODE_TYPES.VariableDeclaration,declarations:u.declarationList.declarations.map(y=>this.convertChild(y)),kind:(0,Pt.getDeclarationKind)(u.declarationList)});return u.decorators&&(b.decorators=u.decorators.map(y=>this.convertChild(y))),(0,Pt.hasModifier)(ne.DeclareKeyword,u)&&(b.declare=!0),this.fixExports(u,b)}case ne.VariableDeclarationList:return this.createNode(u,{type:dt.AST_NODE_TYPES.VariableDeclaration,declarations:u.declarations.map(b=>this.convertChild(b)),kind:(0,Pt.getDeclarationKind)(u)});case ne.ExpressionStatement:return this.createNode(u,{type:dt.AST_NODE_TYPES.ExpressionStatement,expression:this.convertChild(u.expression)});case ne.ThisKeyword:return this.createNode(u,{type:dt.AST_NODE_TYPES.ThisExpression});case ne.ArrayLiteralExpression:return this.allowPattern?this.createNode(u,{type:dt.AST_NODE_TYPES.ArrayPattern,elements:u.elements.map(b=>this.convertPattern(b))}):this.createNode(u,{type:dt.AST_NODE_TYPES.ArrayExpression,elements:u.elements.map(b=>this.convertChild(b))});case ne.ObjectLiteralExpression:return this.allowPattern?this.createNode(u,{type:dt.AST_NODE_TYPES.ObjectPattern,properties:u.properties.map(b=>this.convertPattern(b))}):this.createNode(u,{type:dt.AST_NODE_TYPES.ObjectExpression,properties:u.properties.map(b=>this.convertChild(b))});case ne.PropertyAssignment:return this.createNode(u,{type:dt.AST_NODE_TYPES.Property,key:this.convertChild(u.name),value:this.converter(u.initializer,u,this.inTypeMode,this.allowPattern),computed:(0,Pt.isComputedProperty)(u.name),method:!1,shorthand:!1,kind:"init"});case ne.ShorthandPropertyAssignment:return u.objectAssignmentInitializer?this.createNode(u,{type:dt.AST_NODE_TYPES.Property,key:this.convertChild(u.name),value:this.createNode(u,{type:dt.AST_NODE_TYPES.AssignmentPattern,left:this.convertPattern(u.name),right:this.convertChild(u.objectAssignmentInitializer)}),computed:!1,method:!1,shorthand:!0,kind:"init"}):this.createNode(u,{type:dt.AST_NODE_TYPES.Property,key:this.convertChild(u.name),value:this.convertChild(u.name),computed:!1,method:!1,shorthand:!0,kind:"init"});case ne.ComputedPropertyName:return this.convertChild(u.expression);case ne.PropertyDeclaration:{let b=(0,Pt.hasModifier)(ne.AbstractKeyword,u),y=this.createNode(u,{type:b?dt.AST_NODE_TYPES.TSAbstractPropertyDefinition:dt.AST_NODE_TYPES.PropertyDefinition,key:this.convertChild(u.name),value:b?null:this.convertChild(u.initializer),computed:(0,Pt.isComputedProperty)(u.name),static:(0,Pt.hasModifier)(ne.StaticKeyword,u),readonly:(0,Pt.hasModifier)(ne.ReadonlyKeyword,u)||void 0,declare:(0,Pt.hasModifier)(ne.DeclareKeyword,u),override:(0,Pt.hasModifier)(ne.OverrideKeyword,u)});u.type&&(y.typeAnnotation=this.convertTypeAnnotation(u.type,u)),u.decorators&&(y.decorators=u.decorators.map(ce=>this.convertChild(ce)));let K=(0,Pt.getTSNodeAccessibility)(u);return K&&(y.accessibility=K),(u.name.kind===ne.Identifier||u.name.kind===ne.ComputedPropertyName||u.name.kind===ne.PrivateIdentifier)&&u.questionToken&&(y.optional=!0),u.exclamationToken&&(y.definite=!0),y.key.type===dt.AST_NODE_TYPES.Literal&&u.questionToken&&(y.optional=!0),y}case ne.GetAccessor:case ne.SetAccessor:if(u.parent.kind===ne.InterfaceDeclaration||u.parent.kind===ne.TypeLiteral)return this.convertMethodSignature(u);case ne.MethodDeclaration:{let b=this.createNode(u,{type:u.body?dt.AST_NODE_TYPES.FunctionExpression:dt.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,id:null,generator:!!u.asteriskToken,expression:!1,async:(0,Pt.hasModifier)(ne.AsyncKeyword,u),body:this.convertChild(u.body),range:[u.parameters.pos-1,u.end],params:[]});u.type&&(b.returnType=this.convertTypeAnnotation(u.type,u)),u.typeParameters&&(b.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(u.typeParameters),this.fixParentLocation(b,b.typeParameters.range));let y;if(P.kind===ne.ObjectLiteralExpression)b.params=u.parameters.map(K=>this.convertChild(K)),y=this.createNode(u,{type:dt.AST_NODE_TYPES.Property,key:this.convertChild(u.name),value:b,computed:(0,Pt.isComputedProperty)(u.name),method:u.kind===ne.MethodDeclaration,shorthand:!1,kind:"init"});else{b.params=this.convertParameters(u.parameters);let K=(0,Pt.hasModifier)(ne.AbstractKeyword,u)?dt.AST_NODE_TYPES.TSAbstractMethodDefinition:dt.AST_NODE_TYPES.MethodDefinition;y=this.createNode(u,{type:K,key:this.convertChild(u.name),value:b,computed:(0,Pt.isComputedProperty)(u.name),static:(0,Pt.hasModifier)(ne.StaticKeyword,u),kind:"method",override:(0,Pt.hasModifier)(ne.OverrideKeyword,u)}),u.decorators&&(y.decorators=u.decorators.map(Y=>this.convertChild(Y)));let ce=(0,Pt.getTSNodeAccessibility)(u);ce&&(y.accessibility=ce)}return u.questionToken&&(y.optional=!0),u.kind===ne.GetAccessor?y.kind="get":u.kind===ne.SetAccessor?y.kind="set":!y.static&&u.name.kind===ne.StringLiteral&&u.name.text==="constructor"&&y.type!==dt.AST_NODE_TYPES.Property&&(y.kind="constructor"),y}case ne.Constructor:{let b=(0,Pt.getLastModifier)(u),y=b&&(0,Pt.findNextToken)(b,u,this.ast)||u.getFirstToken(),K=this.createNode(u,{type:u.body?dt.AST_NODE_TYPES.FunctionExpression:dt.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,id:null,params:this.convertParameters(u.parameters),generator:!1,expression:!1,async:!1,body:this.convertChild(u.body),range:[u.parameters.pos-1,u.end]});u.typeParameters&&(K.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(u.typeParameters),this.fixParentLocation(K,K.typeParameters.range)),u.type&&(K.returnType=this.convertTypeAnnotation(u.type,u));let ce=this.createNode(u,{type:dt.AST_NODE_TYPES.Identifier,name:"constructor",range:[y.getStart(this.ast),y.end]}),Y=(0,Pt.hasModifier)(ne.StaticKeyword,u),re=this.createNode(u,{type:(0,Pt.hasModifier)(ne.AbstractKeyword,u)?dt.AST_NODE_TYPES.TSAbstractMethodDefinition:dt.AST_NODE_TYPES.MethodDefinition,key:ce,value:K,computed:!1,static:Y,kind:Y?"method":"constructor",override:!1}),F=(0,Pt.getTSNodeAccessibility)(u);return F&&(re.accessibility=F),re}case ne.FunctionExpression:{let b=this.createNode(u,{type:dt.AST_NODE_TYPES.FunctionExpression,id:this.convertChild(u.name),generator:!!u.asteriskToken,params:this.convertParameters(u.parameters),body:this.convertChild(u.body),async:(0,Pt.hasModifier)(ne.AsyncKeyword,u),expression:!1});return u.type&&(b.returnType=this.convertTypeAnnotation(u.type,u)),u.typeParameters&&(b.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(u.typeParameters)),b}case ne.SuperKeyword:return this.createNode(u,{type:dt.AST_NODE_TYPES.Super});case ne.ArrayBindingPattern:return this.createNode(u,{type:dt.AST_NODE_TYPES.ArrayPattern,elements:u.elements.map(b=>this.convertPattern(b))});case ne.OmittedExpression:return null;case ne.ObjectBindingPattern:return this.createNode(u,{type:dt.AST_NODE_TYPES.ObjectPattern,properties:u.elements.map(b=>this.convertPattern(b))});case ne.BindingElement:if(P.kind===ne.ArrayBindingPattern){let b=this.convertChild(u.name,P);return u.initializer?this.createNode(u,{type:dt.AST_NODE_TYPES.AssignmentPattern,left:b,right:this.convertChild(u.initializer)}):u.dotDotDotToken?this.createNode(u,{type:dt.AST_NODE_TYPES.RestElement,argument:b}):b}else{let b;return u.dotDotDotToken?b=this.createNode(u,{type:dt.AST_NODE_TYPES.RestElement,argument:this.convertChild((r=u.propertyName)!==null&&r!==void 0?r:u.name)}):b=this.createNode(u,{type:dt.AST_NODE_TYPES.Property,key:this.convertChild((v=u.propertyName)!==null&&v!==void 0?v:u.name),value:this.convertChild(u.name),computed:Boolean(u.propertyName&&u.propertyName.kind===ne.ComputedPropertyName),method:!1,shorthand:!u.propertyName,kind:"init"}),u.initializer&&(b.value=this.createNode(u,{type:dt.AST_NODE_TYPES.AssignmentPattern,left:this.convertChild(u.name),right:this.convertChild(u.initializer),range:[u.name.getStart(this.ast),u.initializer.end]})),b}case ne.ArrowFunction:{let b=this.createNode(u,{type:dt.AST_NODE_TYPES.ArrowFunctionExpression,generator:!1,id:null,params:this.convertParameters(u.parameters),body:this.convertChild(u.body),async:(0,Pt.hasModifier)(ne.AsyncKeyword,u),expression:u.body.kind!==ne.Block});return u.type&&(b.returnType=this.convertTypeAnnotation(u.type,u)),u.typeParameters&&(b.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(u.typeParameters)),b}case ne.YieldExpression:return this.createNode(u,{type:dt.AST_NODE_TYPES.YieldExpression,delegate:!!u.asteriskToken,argument:this.convertChild(u.expression)});case ne.AwaitExpression:return this.createNode(u,{type:dt.AST_NODE_TYPES.AwaitExpression,argument:this.convertChild(u.expression)});case ne.NoSubstitutionTemplateLiteral:return this.createNode(u,{type:dt.AST_NODE_TYPES.TemplateLiteral,quasis:[this.createNode(u,{type:dt.AST_NODE_TYPES.TemplateElement,value:{raw:this.ast.text.slice(u.getStart(this.ast)+1,u.end-1),cooked:u.text},tail:!0})],expressions:[]});case ne.TemplateExpression:{let b=this.createNode(u,{type:dt.AST_NODE_TYPES.TemplateLiteral,quasis:[this.convertChild(u.head)],expressions:[]});return u.templateSpans.forEach(y=>{b.expressions.push(this.convertChild(y.expression)),b.quasis.push(this.convertChild(y.literal))}),b}case ne.TaggedTemplateExpression:return this.createNode(u,{type:dt.AST_NODE_TYPES.TaggedTemplateExpression,typeParameters:u.typeArguments?this.convertTypeArgumentsToTypeParameters(u.typeArguments,u):void 0,tag:this.convertChild(u.tag),quasi:this.convertChild(u.template)});case ne.TemplateHead:case ne.TemplateMiddle:case ne.TemplateTail:{let b=u.kind===ne.TemplateTail;return this.createNode(u,{type:dt.AST_NODE_TYPES.TemplateElement,value:{raw:this.ast.text.slice(u.getStart(this.ast)+1,u.end-(b?1:2)),cooked:u.text},tail:b})}case ne.SpreadAssignment:case ne.SpreadElement:return this.allowPattern?this.createNode(u,{type:dt.AST_NODE_TYPES.RestElement,argument:this.convertPattern(u.expression)}):this.createNode(u,{type:dt.AST_NODE_TYPES.SpreadElement,argument:this.convertChild(u.expression)});case ne.Parameter:{let b,y;return u.dotDotDotToken?b=y=this.createNode(u,{type:dt.AST_NODE_TYPES.RestElement,argument:this.convertChild(u.name)}):u.initializer?(b=this.convertChild(u.name),y=this.createNode(u,{type:dt.AST_NODE_TYPES.AssignmentPattern,left:b,right:this.convertChild(u.initializer)}),u.modifiers&&(y.range[0]=b.range[0],y.loc=(0,Pt.getLocFor)(y.range[0],y.range[1],this.ast))):b=y=this.convertChild(u.name,P),u.type&&(b.typeAnnotation=this.convertTypeAnnotation(u.type,u),this.fixParentLocation(b,b.typeAnnotation.range)),u.questionToken&&(u.questionToken.end>b.range[1]&&(b.range[1]=u.questionToken.end,b.loc.end=(0,Pt.getLineAndCharacterFor)(b.range[1],this.ast)),b.optional=!0),u.modifiers?this.createNode(u,{type:dt.AST_NODE_TYPES.TSParameterProperty,accessibility:(G=(0,Pt.getTSNodeAccessibility)(u))!==null&&G!==void 0?G:void 0,readonly:(0,Pt.hasModifier)(ne.ReadonlyKeyword,u)||void 0,static:(0,Pt.hasModifier)(ne.StaticKeyword,u)||void 0,export:(0,Pt.hasModifier)(ne.ExportKeyword,u)||void 0,override:(0,Pt.hasModifier)(ne.OverrideKeyword,u)||void 0,parameter:y}):y}case ne.ClassDeclaration:case ne.ClassExpression:{let b=(ue=u.heritageClauses)!==null&&ue!==void 0?ue:[],y=u.kind===ne.ClassDeclaration?dt.AST_NODE_TYPES.ClassDeclaration:dt.AST_NODE_TYPES.ClassExpression,K=b.find(F=>F.token===ne.ExtendsKeyword),ce=b.find(F=>F.token===ne.ImplementsKeyword),Y=this.createNode(u,{type:y,id:this.convertChild(u.name),body:this.createNode(u,{type:dt.AST_NODE_TYPES.ClassBody,body:[],range:[u.members.pos-1,u.end]}),superClass:K!=null&&K.types[0]?this.convertChild(K.types[0].expression):null});if(K){if(K.types.length>1)throw(0,Pt.createError)(this.ast,K.types[1].pos,"Classes can only extend a single class.");!((h=K.types[0])===null||h===void 0)&&h.typeArguments&&(Y.superTypeParameters=this.convertTypeArgumentsToTypeParameters(K.types[0].typeArguments,K.types[0]))}u.typeParameters&&(Y.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(u.typeParameters)),ce&&(Y.implements=ce.types.map(F=>this.convertChild(F))),(0,Pt.hasModifier)(ne.AbstractKeyword,u)&&(Y.abstract=!0),(0,Pt.hasModifier)(ne.DeclareKeyword,u)&&(Y.declare=!0),u.decorators&&(Y.decorators=u.decorators.map(F=>this.convertChild(F)));let re=u.members.filter(Pt.isESTreeClassMember);return re.length&&(Y.body.body=re.map(F=>this.convertChild(F))),this.fixExports(u,Y)}case ne.ModuleBlock:return this.createNode(u,{type:dt.AST_NODE_TYPES.TSModuleBlock,body:this.convertBodyExpressions(u.statements,u)});case ne.ImportDeclaration:{this.assertModuleSpecifier(u);let b=this.createNode(u,{type:dt.AST_NODE_TYPES.ImportDeclaration,source:this.convertChild(u.moduleSpecifier),specifiers:[],importKind:"value",assertions:this.convertAssertClasue(u.assertClause)});if(u.importClause&&(u.importClause.isTypeOnly&&(b.importKind="type"),u.importClause.name&&b.specifiers.push(this.convertChild(u.importClause)),u.importClause.namedBindings))switch(u.importClause.namedBindings.kind){case ne.NamespaceImport:b.specifiers.push(this.convertChild(u.importClause.namedBindings));break;case ne.NamedImports:b.specifiers=b.specifiers.concat(u.importClause.namedBindings.elements.map(y=>this.convertChild(y)));break}return b}case ne.NamespaceImport:return this.createNode(u,{type:dt.AST_NODE_TYPES.ImportNamespaceSpecifier,local:this.convertChild(u.name)});case ne.ImportSpecifier:return this.createNode(u,{type:dt.AST_NODE_TYPES.ImportSpecifier,local:this.convertChild(u.name),imported:this.convertChild((S=u.propertyName)!==null&&S!==void 0?S:u.name),importKind:u.isTypeOnly?"type":"value"});case ne.ImportClause:{let b=this.convertChild(u.name);return this.createNode(u,{type:dt.AST_NODE_TYPES.ImportDefaultSpecifier,local:b,range:b.range})}case ne.ExportDeclaration:return this.assertModuleSpecifier(u),((k=u.exportClause)===null||k===void 0?void 0:k.kind)===ne.NamedExports?this.createNode(u,{type:dt.AST_NODE_TYPES.ExportNamedDeclaration,source:this.convertChild(u.moduleSpecifier),specifiers:u.exportClause.elements.map(b=>this.convertChild(b)),exportKind:u.isTypeOnly?"type":"value",declaration:null,assertions:this.convertAssertClasue(u.assertClause)}):this.createNode(u,{type:dt.AST_NODE_TYPES.ExportAllDeclaration,source:this.convertChild(u.moduleSpecifier),exportKind:u.isTypeOnly?"type":"value",exported:u.exportClause&&u.exportClause.kind===ne.NamespaceExport?this.convertChild(u.exportClause.name):null,assertions:this.convertAssertClasue(u.assertClause)});case ne.ExportSpecifier:return this.createNode(u,{type:dt.AST_NODE_TYPES.ExportSpecifier,local:this.convertChild((se=u.propertyName)!==null&&se!==void 0?se:u.name),exported:this.convertChild(u.name),exportKind:u.isTypeOnly?"type":"value"});case ne.ExportAssignment:return u.isExportEquals?this.createNode(u,{type:dt.AST_NODE_TYPES.TSExportAssignment,expression:this.convertChild(u.expression)}):this.createNode(u,{type:dt.AST_NODE_TYPES.ExportDefaultDeclaration,declaration:this.convertChild(u.expression),exportKind:"value"});case ne.PrefixUnaryExpression:case ne.PostfixUnaryExpression:{let b=(0,Pt.getTextForTokenKind)(u.operator);return b==="++"||b==="--"?this.createNode(u,{type:dt.AST_NODE_TYPES.UpdateExpression,operator:b,prefix:u.kind===ne.PrefixUnaryExpression,argument:this.convertChild(u.operand)}):this.createNode(u,{type:dt.AST_NODE_TYPES.UnaryExpression,operator:b,prefix:u.kind===ne.PrefixUnaryExpression,argument:this.convertChild(u.operand)})}case ne.DeleteExpression:return this.createNode(u,{type:dt.AST_NODE_TYPES.UnaryExpression,operator:"delete",prefix:!0,argument:this.convertChild(u.expression)});case ne.VoidExpression:return this.createNode(u,{type:dt.AST_NODE_TYPES.UnaryExpression,operator:"void",prefix:!0,argument:this.convertChild(u.expression)});case ne.TypeOfExpression:return this.createNode(u,{type:dt.AST_NODE_TYPES.UnaryExpression,operator:"typeof",prefix:!0,argument:this.convertChild(u.expression)});case ne.TypeOperator:return this.createNode(u,{type:dt.AST_NODE_TYPES.TSTypeOperator,operator:(0,Pt.getTextForTokenKind)(u.operator),typeAnnotation:this.convertChild(u.type)});case ne.BinaryExpression:if((0,Pt.isComma)(u.operatorToken)){let b=this.createNode(u,{type:dt.AST_NODE_TYPES.SequenceExpression,expressions:[]}),y=this.convertChild(u.left);return y.type===dt.AST_NODE_TYPES.SequenceExpression&&u.left.kind!==ne.ParenthesizedExpression?b.expressions=b.expressions.concat(y.expressions):b.expressions.push(y),b.expressions.push(this.convertChild(u.right)),b}else{let b=(0,Pt.getBinaryExpressionType)(u.operatorToken);return this.allowPattern&&b===dt.AST_NODE_TYPES.AssignmentExpression?this.createNode(u,{type:dt.AST_NODE_TYPES.AssignmentPattern,left:this.convertPattern(u.left,u),right:this.convertChild(u.right)}):this.createNode(u,{type:b,operator:(0,Pt.getTextForTokenKind)(u.operatorToken.kind),left:this.converter(u.left,u,this.inTypeMode,b===dt.AST_NODE_TYPES.AssignmentExpression),right:this.convertChild(u.right)})}case ne.PropertyAccessExpression:{let b=this.convertChild(u.expression),y=this.convertChild(u.name),K=!1,ce=this.createNode(u,{type:dt.AST_NODE_TYPES.MemberExpression,object:b,property:y,computed:K,optional:u.questionDotToken!==void 0});return this.convertChainExpression(ce,u)}case ne.ElementAccessExpression:{let b=this.convertChild(u.expression),y=this.convertChild(u.argumentExpression),K=!0,ce=this.createNode(u,{type:dt.AST_NODE_TYPES.MemberExpression,object:b,property:y,computed:K,optional:u.questionDotToken!==void 0});return this.convertChainExpression(ce,u)}case ne.CallExpression:{if(u.expression.kind===ne.ImportKeyword){if(u.arguments.length!==1&&u.arguments.length!==2)throw(0,Pt.createError)(this.ast,u.arguments.pos,"Dynamic import requires exactly one or two arguments.");return this.createNode(u,{type:dt.AST_NODE_TYPES.ImportExpression,source:this.convertChild(u.arguments[0]),attributes:u.arguments[1]?this.convertChild(u.arguments[1]):null})}let b=this.convertChild(u.expression),y=u.arguments.map(ce=>this.convertChild(ce)),K=this.createNode(u,{type:dt.AST_NODE_TYPES.CallExpression,callee:b,arguments:y,optional:u.questionDotToken!==void 0});return u.typeArguments&&(K.typeParameters=this.convertTypeArgumentsToTypeParameters(u.typeArguments,u)),this.convertChainExpression(K,u)}case ne.NewExpression:{let b=this.createNode(u,{type:dt.AST_NODE_TYPES.NewExpression,callee:this.convertChild(u.expression),arguments:u.arguments?u.arguments.map(y=>this.convertChild(y)):[]});return u.typeArguments&&(b.typeParameters=this.convertTypeArgumentsToTypeParameters(u.typeArguments,u)),b}case ne.ConditionalExpression:return this.createNode(u,{type:dt.AST_NODE_TYPES.ConditionalExpression,test:this.convertChild(u.condition),consequent:this.convertChild(u.whenTrue),alternate:this.convertChild(u.whenFalse)});case ne.MetaProperty:return this.createNode(u,{type:dt.AST_NODE_TYPES.MetaProperty,meta:this.createNode(u.getFirstToken(),{type:dt.AST_NODE_TYPES.Identifier,name:(0,Pt.getTextForTokenKind)(u.keywordToken)}),property:this.convertChild(u.name)});case ne.Decorator:return this.createNode(u,{type:dt.AST_NODE_TYPES.Decorator,expression:this.convertChild(u.expression)});case ne.StringLiteral:return this.createNode(u,{type:dt.AST_NODE_TYPES.Literal,value:P.kind===ne.JsxAttribute?(0,Pt.unescapeStringLiteralText)(u.text):u.text,raw:u.getText()});case ne.NumericLiteral:return this.createNode(u,{type:dt.AST_NODE_TYPES.Literal,value:Number(u.text),raw:u.getText()});case ne.BigIntLiteral:{let b=(0,Pt.getRange)(u,this.ast),y=this.ast.text.slice(b[0],b[1]),K=y.slice(0,-1).replace(/_/g,""),ce=typeof BigInt<"u"?BigInt(K):null;return this.createNode(u,{type:dt.AST_NODE_TYPES.Literal,raw:y,value:ce,bigint:ce===null?K:String(ce),range:b})}case ne.RegularExpressionLiteral:{let b=u.text.slice(1,u.text.lastIndexOf("/")),y=u.text.slice(u.text.lastIndexOf("/")+1),K=null;try{K=new RegExp(b,y)}catch{K=null}return this.createNode(u,{type:dt.AST_NODE_TYPES.Literal,value:K,raw:u.text,regex:{pattern:b,flags:y}})}case ne.TrueKeyword:return this.createNode(u,{type:dt.AST_NODE_TYPES.Literal,value:!0,raw:"true"});case ne.FalseKeyword:return this.createNode(u,{type:dt.AST_NODE_TYPES.Literal,value:!1,raw:"false"});case ne.NullKeyword:return!wt.typescriptVersionIsAtLeast["4.0"]&&this.inTypeMode?this.createNode(u,{type:dt.AST_NODE_TYPES.TSNullKeyword}):this.createNode(u,{type:dt.AST_NODE_TYPES.Literal,value:null,raw:"null"});case ne.EmptyStatement:return this.createNode(u,{type:dt.AST_NODE_TYPES.EmptyStatement});case ne.DebuggerStatement:return this.createNode(u,{type:dt.AST_NODE_TYPES.DebuggerStatement});case ne.JsxElement:return this.createNode(u,{type:dt.AST_NODE_TYPES.JSXElement,openingElement:this.convertChild(u.openingElement),closingElement:this.convertChild(u.closingElement),children:u.children.map(b=>this.convertChild(b))});case ne.JsxFragment:return this.createNode(u,{type:dt.AST_NODE_TYPES.JSXFragment,openingFragment:this.convertChild(u.openingFragment),closingFragment:this.convertChild(u.closingFragment),children:u.children.map(b=>this.convertChild(b))});case ne.JsxSelfClosingElement:return this.createNode(u,{type:dt.AST_NODE_TYPES.JSXElement,openingElement:this.createNode(u,{type:dt.AST_NODE_TYPES.JSXOpeningElement,typeParameters:u.typeArguments?this.convertTypeArgumentsToTypeParameters(u.typeArguments,u):void 0,selfClosing:!0,name:this.convertJSXTagName(u.tagName,u),attributes:u.attributes.properties.map(b=>this.convertChild(b)),range:(0,Pt.getRange)(u,this.ast)}),closingElement:null,children:[]});case ne.JsxOpeningElement:return this.createNode(u,{type:dt.AST_NODE_TYPES.JSXOpeningElement,typeParameters:u.typeArguments?this.convertTypeArgumentsToTypeParameters(u.typeArguments,u):void 0,selfClosing:!1,name:this.convertJSXTagName(u.tagName,u),attributes:u.attributes.properties.map(b=>this.convertChild(b))});case ne.JsxClosingElement:return this.createNode(u,{type:dt.AST_NODE_TYPES.JSXClosingElement,name:this.convertJSXTagName(u.tagName,u)});case ne.JsxOpeningFragment:return this.createNode(u,{type:dt.AST_NODE_TYPES.JSXOpeningFragment});case ne.JsxClosingFragment:return this.createNode(u,{type:dt.AST_NODE_TYPES.JSXClosingFragment});case ne.JsxExpression:{let b=u.expression?this.convertChild(u.expression):this.createNode(u,{type:dt.AST_NODE_TYPES.JSXEmptyExpression,range:[u.getStart(this.ast)+1,u.getEnd()-1]});return u.dotDotDotToken?this.createNode(u,{type:dt.AST_NODE_TYPES.JSXSpreadChild,expression:b}):this.createNode(u,{type:dt.AST_NODE_TYPES.JSXExpressionContainer,expression:b})}case ne.JsxAttribute:return this.createNode(u,{type:dt.AST_NODE_TYPES.JSXAttribute,name:this.convertJSXNamespaceOrIdentifier(u.name),value:this.convertChild(u.initializer)});case ne.JsxText:{let b=u.getFullStart(),y=u.getEnd(),K=this.ast.text.slice(b,y);return this.createNode(u,{type:dt.AST_NODE_TYPES.JSXText,value:(0,Pt.unescapeStringLiteralText)(K),raw:K,range:[b,y]})}case ne.JsxSpreadAttribute:return this.createNode(u,{type:dt.AST_NODE_TYPES.JSXSpreadAttribute,argument:this.convertChild(u.expression)});case ne.QualifiedName:return this.createNode(u,{type:dt.AST_NODE_TYPES.TSQualifiedName,left:this.convertChild(u.left),right:this.convertChild(u.right)});case ne.TypeReference:return this.createNode(u,{type:dt.AST_NODE_TYPES.TSTypeReference,typeName:this.convertType(u.typeName),typeParameters:u.typeArguments?this.convertTypeArgumentsToTypeParameters(u.typeArguments,u):void 0});case ne.TypeParameter:return this.createNode(u,{type:dt.AST_NODE_TYPES.TSTypeParameter,name:this.convertType(u.name),constraint:u.constraint?this.convertType(u.constraint):void 0,default:u.default?this.convertType(u.default):void 0});case ne.ThisType:return this.createNode(u,{type:dt.AST_NODE_TYPES.TSThisType});case ne.AnyKeyword:case ne.BigIntKeyword:case ne.BooleanKeyword:case ne.NeverKeyword:case ne.NumberKeyword:case ne.ObjectKeyword:case ne.StringKeyword:case ne.SymbolKeyword:case ne.UnknownKeyword:case ne.VoidKeyword:case ne.UndefinedKeyword:case ne.IntrinsicKeyword:return this.createNode(u,{type:dt.AST_NODE_TYPES["TS".concat(ne[u.kind])]});case ne.NonNullExpression:{let b=this.createNode(u,{type:dt.AST_NODE_TYPES.TSNonNullExpression,expression:this.convertChild(u.expression)});return this.convertChainExpression(b,u)}case ne.TypeLiteral:return this.createNode(u,{type:dt.AST_NODE_TYPES.TSTypeLiteral,members:u.members.map(b=>this.convertChild(b))});case ne.ArrayType:return this.createNode(u,{type:dt.AST_NODE_TYPES.TSArrayType,elementType:this.convertType(u.elementType)});case ne.IndexedAccessType:return this.createNode(u,{type:dt.AST_NODE_TYPES.TSIndexedAccessType,objectType:this.convertType(u.objectType),indexType:this.convertType(u.indexType)});case ne.ConditionalType:return this.createNode(u,{type:dt.AST_NODE_TYPES.TSConditionalType,checkType:this.convertType(u.checkType),extendsType:this.convertType(u.extendsType),trueType:this.convertType(u.trueType),falseType:this.convertType(u.falseType)});case ne.TypeQuery:return this.createNode(u,{type:dt.AST_NODE_TYPES.TSTypeQuery,exprName:this.convertType(u.exprName)});case ne.MappedType:{let b=this.createNode(u,{type:dt.AST_NODE_TYPES.TSMappedType,typeParameter:this.convertType(u.typeParameter),nameType:(le=this.convertType(u.nameType))!==null&&le!==void 0?le:null});return u.readonlyToken&&(u.readonlyToken.kind===ne.ReadonlyKeyword?b.readonly=!0:b.readonly=(0,Pt.getTextForTokenKind)(u.readonlyToken.kind)),u.questionToken&&(u.questionToken.kind===ne.QuestionToken?b.optional=!0:b.optional=(0,Pt.getTextForTokenKind)(u.questionToken.kind)),u.type&&(b.typeAnnotation=this.convertType(u.type)),b}case ne.ParenthesizedExpression:return this.convertChild(u.expression,P);case ne.TypeAliasDeclaration:{let b=this.createNode(u,{type:dt.AST_NODE_TYPES.TSTypeAliasDeclaration,id:this.convertChild(u.name),typeAnnotation:this.convertType(u.type)});return(0,Pt.hasModifier)(ne.DeclareKeyword,u)&&(b.declare=!0),u.typeParameters&&(b.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(u.typeParameters)),this.fixExports(u,b)}case ne.MethodSignature:return this.convertMethodSignature(u);case ne.PropertySignature:{let b=this.createNode(u,{type:dt.AST_NODE_TYPES.TSPropertySignature,optional:(0,Pt.isOptional)(u)||void 0,computed:(0,Pt.isComputedProperty)(u.name),key:this.convertChild(u.name),typeAnnotation:u.type?this.convertTypeAnnotation(u.type,u):void 0,initializer:this.convertChild(u.initializer)||void 0,readonly:(0,Pt.hasModifier)(ne.ReadonlyKeyword,u)||void 0,static:(0,Pt.hasModifier)(ne.StaticKeyword,u)||void 0,export:(0,Pt.hasModifier)(ne.ExportKeyword,u)||void 0}),y=(0,Pt.getTSNodeAccessibility)(u);return y&&(b.accessibility=y),b}case ne.IndexSignature:{let b=this.createNode(u,{type:dt.AST_NODE_TYPES.TSIndexSignature,parameters:u.parameters.map(K=>this.convertChild(K))});u.type&&(b.typeAnnotation=this.convertTypeAnnotation(u.type,u)),(0,Pt.hasModifier)(ne.ReadonlyKeyword,u)&&(b.readonly=!0);let y=(0,Pt.getTSNodeAccessibility)(u);return y&&(b.accessibility=y),(0,Pt.hasModifier)(ne.ExportKeyword,u)&&(b.export=!0),(0,Pt.hasModifier)(ne.StaticKeyword,u)&&(b.static=!0),b}case ne.ConstructorType:{let b=this.createNode(u,{type:dt.AST_NODE_TYPES.TSConstructorType,params:this.convertParameters(u.parameters),abstract:(0,Pt.hasModifier)(ne.AbstractKeyword,u)});return u.type&&(b.returnType=this.convertTypeAnnotation(u.type,u)),u.typeParameters&&(b.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(u.typeParameters)),b}case ne.FunctionType:case ne.ConstructSignature:case ne.CallSignature:{let b=u.kind===ne.ConstructSignature?dt.AST_NODE_TYPES.TSConstructSignatureDeclaration:u.kind===ne.CallSignature?dt.AST_NODE_TYPES.TSCallSignatureDeclaration:dt.AST_NODE_TYPES.TSFunctionType,y=this.createNode(u,{type:b,params:this.convertParameters(u.parameters)});return u.type&&(y.returnType=this.convertTypeAnnotation(u.type,u)),u.typeParameters&&(y.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(u.typeParameters)),y}case ne.ExpressionWithTypeArguments:{let b=this.createNode(u,{type:P&&P.kind===ne.InterfaceDeclaration?dt.AST_NODE_TYPES.TSInterfaceHeritage:dt.AST_NODE_TYPES.TSClassImplements,expression:this.convertChild(u.expression)});return u.typeArguments&&(b.typeParameters=this.convertTypeArgumentsToTypeParameters(u.typeArguments,u)),b}case ne.InterfaceDeclaration:{let b=(f=u.heritageClauses)!==null&&f!==void 0?f:[],y=this.createNode(u,{type:dt.AST_NODE_TYPES.TSInterfaceDeclaration,body:this.createNode(u,{type:dt.AST_NODE_TYPES.TSInterfaceBody,body:u.members.map(K=>this.convertChild(K)),range:[u.members.pos-1,u.end]}),id:this.convertChild(u.name)});if(u.typeParameters&&(y.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(u.typeParameters)),b.length>0){let K=[],ce=[];for(let Y of b)if(Y.token===ne.ExtendsKeyword)for(let re of Y.types)K.push(this.convertChild(re,u));else for(let re of Y.types)ce.push(this.convertChild(re,u));K.length&&(y.extends=K),ce.length&&(y.implements=ce)}return(0,Pt.hasModifier)(ne.AbstractKeyword,u)&&(y.abstract=!0),(0,Pt.hasModifier)(ne.DeclareKeyword,u)&&(y.declare=!0),this.fixExports(u,y)}case ne.TypePredicate:{let b=this.createNode(u,{type:dt.AST_NODE_TYPES.TSTypePredicate,asserts:u.assertsModifier!==void 0,parameterName:this.convertChild(u.parameterName),typeAnnotation:null});return u.type&&(b.typeAnnotation=this.convertTypeAnnotation(u.type,u),b.typeAnnotation.loc=b.typeAnnotation.typeAnnotation.loc,b.typeAnnotation.range=b.typeAnnotation.typeAnnotation.range),b}case ne.ImportType:return this.createNode(u,{type:dt.AST_NODE_TYPES.TSImportType,isTypeOf:!!u.isTypeOf,parameter:this.convertChild(u.argument),qualifier:this.convertChild(u.qualifier),typeParameters:u.typeArguments?this.convertTypeArgumentsToTypeParameters(u.typeArguments,u):null});case ne.EnumDeclaration:{let b=this.createNode(u,{type:dt.AST_NODE_TYPES.TSEnumDeclaration,id:this.convertChild(u.name),members:u.members.map(y=>this.convertChild(y))});return this.applyModifiersToResult(b,u.modifiers),this.fixExports(u,b)}case ne.EnumMember:{let b=this.createNode(u,{type:dt.AST_NODE_TYPES.TSEnumMember,id:this.convertChild(u.name)});return u.initializer&&(b.initializer=this.convertChild(u.initializer)),u.name.kind===fn.SyntaxKind.ComputedPropertyName&&(b.computed=!0),b}case ne.ModuleDeclaration:{let b=this.createNode(u,{type:dt.AST_NODE_TYPES.TSModuleDeclaration,id:this.convertChild(u.name)});return u.body&&(b.body=this.convertChild(u.body)),this.applyModifiersToResult(b,u.modifiers),u.flags&fn.NodeFlags.GlobalAugmentation&&(b.global=!0),this.fixExports(u,b)}case ne.ParenthesizedType:return this.convertType(u.type);case ne.UnionType:return this.createNode(u,{type:dt.AST_NODE_TYPES.TSUnionType,types:u.types.map(b=>this.convertType(b))});case ne.IntersectionType:return this.createNode(u,{type:dt.AST_NODE_TYPES.TSIntersectionType,types:u.types.map(b=>this.convertType(b))});case ne.AsExpression:return this.createNode(u,{type:dt.AST_NODE_TYPES.TSAsExpression,expression:this.convertChild(u.expression),typeAnnotation:this.convertType(u.type)});case ne.InferType:return this.createNode(u,{type:dt.AST_NODE_TYPES.TSInferType,typeParameter:this.convertType(u.typeParameter)});case ne.LiteralType:return wt.typescriptVersionIsAtLeast["4.0"]&&u.literal.kind===ne.NullKeyword?this.createNode(u.literal,{type:dt.AST_NODE_TYPES.TSNullKeyword}):this.createNode(u,{type:dt.AST_NODE_TYPES.TSLiteralType,literal:this.convertType(u.literal)});case ne.TypeAssertionExpression:return this.createNode(u,{type:dt.AST_NODE_TYPES.TSTypeAssertion,typeAnnotation:this.convertType(u.type),expression:this.convertChild(u.expression)});case ne.ImportEqualsDeclaration:return this.createNode(u,{type:dt.AST_NODE_TYPES.TSImportEqualsDeclaration,id:this.convertChild(u.name),moduleReference:this.convertChild(u.moduleReference),importKind:u.isTypeOnly?"type":"value",isExport:(0,Pt.hasModifier)(ne.ExportKeyword,u)});case ne.ExternalModuleReference:return this.createNode(u,{type:dt.AST_NODE_TYPES.TSExternalModuleReference,expression:this.convertChild(u.expression)});case ne.NamespaceExportDeclaration:return this.createNode(u,{type:dt.AST_NODE_TYPES.TSNamespaceExportDeclaration,id:this.convertChild(u.name)});case ne.AbstractKeyword:return this.createNode(u,{type:dt.AST_NODE_TYPES.TSAbstractKeyword});case ne.TupleType:{let b="elementTypes"in u?u.elementTypes.map(y=>this.convertType(y)):u.elements.map(y=>this.convertType(y));return this.createNode(u,{type:dt.AST_NODE_TYPES.TSTupleType,elementTypes:b})}case ne.NamedTupleMember:{let b=this.createNode(u,{type:dt.AST_NODE_TYPES.TSNamedTupleMember,elementType:this.convertType(u.type,u),label:this.convertChild(u.name,u),optional:u.questionToken!=null});return u.dotDotDotToken?(b.range[0]=b.label.range[0],b.loc.start=b.label.loc.start,this.createNode(u,{type:dt.AST_NODE_TYPES.TSRestType,typeAnnotation:b})):b}case ne.OptionalType:return this.createNode(u,{type:dt.AST_NODE_TYPES.TSOptionalType,typeAnnotation:this.convertType(u.type)});case ne.RestType:return this.createNode(u,{type:dt.AST_NODE_TYPES.TSRestType,typeAnnotation:this.convertType(u.type)});case ne.TemplateLiteralType:{let b=this.createNode(u,{type:dt.AST_NODE_TYPES.TSTemplateLiteralType,quasis:[this.convertChild(u.head)],types:[]});return u.templateSpans.forEach(y=>{b.types.push(this.convertChild(y.type)),b.quasis.push(this.convertChild(y.literal))}),b}case ne.ClassStaticBlockDeclaration:return this.createNode(u,{type:dt.AST_NODE_TYPES.StaticBlock,body:this.convertBodyExpressions(u.body.statements,u)});case ne.AssertEntry:return this.createNode(u,{type:dt.AST_NODE_TYPES.ImportAttribute,key:this.convertChild(u.name),value:this.convertChild(u.value)});default:return this.deeplyCopy(u)}}};te.Converter=a}}),xf={};Ma(xf,{__assign:()=>l0,__asyncDelegator:()=>d3,__asyncGenerator:()=>_3,__asyncValues:()=>p3,__await:()=>Jy,__awaiter:()=>a3,__classPrivateFieldGet:()=>y3,__classPrivateFieldSet:()=>v3,__createBinding:()=>s3,__decorate:()=>n3,__exportStar:()=>c3,__extends:()=>e3,__generator:()=>o3,__importDefault:()=>g3,__importStar:()=>m3,__makeTemplateObject:()=>f3,__metadata:()=>i3,__param:()=>r3,__read:()=>LS,__rest:()=>t3,__spread:()=>u3,__spreadArrays:()=>l3,__values:()=>R1});function e3(te,X){u0(te,X);function tt(){this.constructor=te}te.prototype=X===null?Object.create(X):(tt.prototype=X.prototype,new tt)}function t3(te,X){var tt={};for(var Tt in te)Object.prototype.hasOwnProperty.call(te,Tt)&&X.indexOf(Tt)<0&&(tt[Tt]=te[Tt]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fn=0,Tt=Object.getOwnPropertySymbols(te);fn=0;wt--)(dt=te[wt])&&(Pt=(fn<3?dt(Pt):fn>3?dt(X,tt,Pt):dt(X,tt))||Pt);return fn>3&&Pt&&Object.defineProperty(X,tt,Pt),Pt}function r3(te,X){return function(tt,Tt){X(tt,Tt,te)}}function i3(te,X){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(te,X)}function a3(te,X,tt,Tt){function fn(Pt){return Pt instanceof tt?Pt:new tt(function(dt){dt(Pt)})}return new(tt||(tt=Promise))(function(Pt,dt){function wt(a){try{e(Tt.next(a))}catch(u){dt(u)}}function ne(a){try{e(Tt.throw(a))}catch(u){dt(u)}}function e(a){a.done?Pt(a.value):fn(a.value).then(wt,ne)}e((Tt=Tt.apply(te,X||[])).next())})}function o3(te,X){var tt={label:0,sent:function(){if(Pt[0]&1)throw Pt[1];return Pt[1]},trys:[],ops:[]},Tt,fn,Pt,dt;return dt={next:wt(0),throw:wt(1),return:wt(2)},typeof Symbol=="function"&&(dt[Symbol.iterator]=function(){return this}),dt;function wt(e){return function(a){return ne([e,a])}}function ne(e){if(Tt)throw new TypeError("Generator is already executing.");for(;tt;)try{if(Tt=1,fn&&(Pt=e[0]&2?fn.return:e[0]?fn.throw||((Pt=fn.return)&&Pt.call(fn),0):fn.next)&&!(Pt=Pt.call(fn,e[1])).done)return Pt;switch(fn=0,Pt&&(e=[e[0]&2,Pt.value]),e[0]){case 0:case 1:Pt=e;break;case 4:return tt.label++,{value:e[1],done:!1};case 5:tt.label++,fn=e[1],e=[0];continue;case 7:e=tt.ops.pop(),tt.trys.pop();continue;default:if(Pt=tt.trys,!(Pt=Pt.length>0&&Pt[Pt.length-1])&&(e[0]===6||e[0]===2)){tt=0;continue}if(e[0]===3&&(!Pt||e[1]>Pt[0]&&e[1]=te.length&&(te=void 0),{value:te&&te[Tt++],done:!te}}};throw new TypeError(X?"Object is not iterable.":"Symbol.iterator is not defined.")}function LS(te,X){var tt=typeof Symbol=="function"&&te[Symbol.iterator];if(!tt)return te;var Tt=tt.call(te),fn,Pt=[],dt;try{for(;(X===void 0||X-- >0)&&!(fn=Tt.next()).done;)Pt.push(fn.value)}catch(wt){dt={error:wt}}finally{try{fn&&!fn.done&&(tt=Tt.return)&&tt.call(Tt)}finally{if(dt)throw dt.error}}return Pt}function u3(){for(var te=[],X=0;X1||wt(P,r)})})}function wt(P,r){try{ne(Tt[P](r))}catch(v){u(Pt[0][3],v)}}function ne(P){P.value instanceof Jy?Promise.resolve(P.value.v).then(e,a):u(Pt[0][2],P)}function e(P){wt("next",P)}function a(P){wt("throw",P)}function u(P,r){P(r),Pt.shift(),Pt.length&&wt(Pt[0][0],Pt[0][1])}}function d3(te){var X,tt;return X={},Tt("next"),Tt("throw",function(fn){throw fn}),Tt("return"),X[Symbol.iterator]=function(){return this},X;function Tt(fn,Pt){X[fn]=te[fn]?function(dt){return(tt=!tt)?{value:Jy(te[fn](dt)),done:fn==="return"}:Pt?Pt(dt):dt}:Pt}}function p3(te){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var X=te[Symbol.asyncIterator],tt;return X?X.call(te):(te=typeof R1=="function"?R1(te):te[Symbol.iterator](),tt={},Tt("next"),Tt("throw"),Tt("return"),tt[Symbol.asyncIterator]=function(){return this},tt);function Tt(Pt){tt[Pt]=te[Pt]&&function(dt){return new Promise(function(wt,ne){dt=te[Pt](dt),fn(wt,ne,dt.done,dt.value)})}}function fn(Pt,dt,wt,ne){Promise.resolve(ne).then(function(e){Pt({value:e,done:wt})},dt)}}function f3(te,X){return Object.defineProperty?Object.defineProperty(te,"raw",{value:X}):te.raw=X,te}function m3(te){if(te&&te.__esModule)return te;var X={};if(te!=null)for(var tt in te)Object.hasOwnProperty.call(te,tt)&&(X[tt]=te[tt]);return X.default=te,X}function g3(te){return te&&te.__esModule?te:{default:te}}function y3(te,X){if(!X.has(te))throw new TypeError("attempted to get private field on non-instance");return X.get(te)}function v3(te,X,tt){if(!X.has(te))throw new TypeError("attempted to set private field on non-instance");return X.set(te,tt),tt}var u0,l0,Gf=ua({"node_modules/tslib/tslib.es6.js"(){Mr(),u0=function(te,X){return u0=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(tt,Tt){tt.__proto__=Tt}||function(tt,Tt){for(var fn in Tt)Tt.hasOwnProperty(fn)&&(tt[fn]=Tt[fn])},u0(te,X)},l0=function(){return l0=Object.assign||function(te){for(var X,tt=1,Tt=arguments.length;tt=X.SyntaxKind.FirstLiteralToken&&Xt.kind<=X.SyntaxKind.LastLiteralToken}te.isLiteralExpression=pn;function he(Xt){return Xt.kind===X.SyntaxKind.LiteralType}te.isLiteralTypeNode=he;function yt(Xt){return Xt.kind===X.SyntaxKind.MappedType}te.isMappedTypeNode=yt;function Gt(Xt){return Xt.kind===X.SyntaxKind.MetaProperty}te.isMetaProperty=Gt;function rn(Xt){return Xt.kind===X.SyntaxKind.MethodDeclaration}te.isMethodDeclaration=rn;function Zt(Xt){return Xt.kind===X.SyntaxKind.MethodSignature}te.isMethodSignature=Zt;function kn(Xt){return Xt.kind===X.SyntaxKind.ModuleBlock}te.isModuleBlock=kn;function Zn(Xt){return Xt.kind===X.SyntaxKind.ModuleDeclaration}te.isModuleDeclaration=Zn;function Sr(Xt){return Xt.kind===X.SyntaxKind.NamedExports}te.isNamedExports=Sr;function Ze(Xt){return Xt.kind===X.SyntaxKind.NamedImports}te.isNamedImports=Ze;function tn(Xt){return Zn(Xt)&&Xt.name.kind===X.SyntaxKind.Identifier&&Xt.body!==void 0&&(Xt.body.kind===X.SyntaxKind.ModuleBlock||tn(Xt.body))}te.isNamespaceDeclaration=tn;function Je(Xt){return Xt.kind===X.SyntaxKind.NamespaceImport}te.isNamespaceImport=Je;function Bt(Xt){return Xt.kind===X.SyntaxKind.NamespaceExportDeclaration}te.isNamespaceExportDeclaration=Bt;function zt(Xt){return Xt.kind===X.SyntaxKind.NewExpression}te.isNewExpression=zt;function Ve(Xt){return Xt.kind===X.SyntaxKind.NonNullExpression}te.isNonNullExpression=Ve;function Nt(Xt){return Xt.kind===X.SyntaxKind.NoSubstitutionTemplateLiteral}te.isNoSubstitutionTemplateLiteral=Nt;function Ge(Xt){return Xt.kind===X.SyntaxKind.NullKeyword}te.isNullLiteral=Ge;function lt(Xt){return Xt.kind===X.SyntaxKind.NumericLiteral}te.isNumericLiteral=lt;function Le(Xt){switch(Xt.kind){case X.SyntaxKind.StringLiteral:case X.SyntaxKind.NumericLiteral:case X.SyntaxKind.NoSubstitutionTemplateLiteral:return!0;default:return!1}}te.isNumericOrStringLikeLiteral=Le;function ee(Xt){return Xt.kind===X.SyntaxKind.ObjectBindingPattern}te.isObjectBindingPattern=ee;function xe(Xt){return Xt.kind===X.SyntaxKind.ObjectLiteralExpression}te.isObjectLiteralExpression=xe;function H(Xt){return Xt.kind===X.SyntaxKind.OmittedExpression}te.isOmittedExpression=H;function ae(Xt){return Xt.kind===X.SyntaxKind.Parameter}te.isParameterDeclaration=ae;function Re(Xt){return Xt.kind===X.SyntaxKind.ParenthesizedExpression}te.isParenthesizedExpression=Re;function it(Xt){return Xt.kind===X.SyntaxKind.ParenthesizedType}te.isParenthesizedTypeNode=it;function ut(Xt){return Xt.kind===X.SyntaxKind.PostfixUnaryExpression}te.isPostfixUnaryExpression=ut;function Qe(Xt){return Xt.kind===X.SyntaxKind.PrefixUnaryExpression}te.isPrefixUnaryExpression=Qe;function cn(Xt){return Xt.kind===X.SyntaxKind.PropertyAccessExpression}te.isPropertyAccessExpression=cn;function vn(Xt){return Xt.kind===X.SyntaxKind.PropertyAssignment}te.isPropertyAssignment=vn;function Ut(Xt){return Xt.kind===X.SyntaxKind.PropertyDeclaration}te.isPropertyDeclaration=Ut;function $e(Xt){return Xt.kind===X.SyntaxKind.PropertySignature}te.isPropertySignature=$e;function Ct(Xt){return Xt.kind===X.SyntaxKind.QualifiedName}te.isQualifiedName=Ct;function kt(Xt){return Xt.kind===X.SyntaxKind.RegularExpressionLiteral}te.isRegularExpressionLiteral=kt;function en(Xt){return Xt.kind===X.SyntaxKind.ReturnStatement}te.isReturnStatement=en;function mn(Xt){return Xt.kind===X.SyntaxKind.SetAccessor}te.isSetAccessorDeclaration=mn;function hn(Xt){return Xt.kind===X.SyntaxKind.ShorthandPropertyAssignment}te.isShorthandPropertyAssignment=hn;function Pn(Xt){return Xt.parameters!==void 0}te.isSignatureDeclaration=Pn;function Fn(Xt){return Xt.kind===X.SyntaxKind.SourceFile}te.isSourceFile=Fn;function An(Xt){return Xt.kind===X.SyntaxKind.SpreadAssignment}te.isSpreadAssignment=An;function Tn(Xt){return Xt.kind===X.SyntaxKind.SpreadElement}te.isSpreadElement=Tn;function qn(Xt){return Xt.kind===X.SyntaxKind.StringLiteral}te.isStringLiteral=qn;function xn(Xt){return Xt.kind===X.SyntaxKind.SwitchStatement}te.isSwitchStatement=xn;function rr(Xt){return Xt.kind===X.SyntaxKind.SyntaxList}te.isSyntaxList=rr;function Fr(Xt){return Xt.kind===X.SyntaxKind.TaggedTemplateExpression}te.isTaggedTemplateExpression=Fr;function di(Xt){return Xt.kind===X.SyntaxKind.TemplateExpression}te.isTemplateExpression=di;function pi(Xt){return Xt.kind===X.SyntaxKind.TemplateExpression||Xt.kind===X.SyntaxKind.NoSubstitutionTemplateLiteral}te.isTemplateLiteral=pi;function Oi(Xt){return Xt.kind===X.SyntaxKind.StringLiteral||Xt.kind===X.SyntaxKind.NoSubstitutionTemplateLiteral}te.isTextualLiteral=Oi;function li(Xt){return Xt.kind===X.SyntaxKind.ThrowStatement}te.isThrowStatement=li;function lr(Xt){return Xt.kind===X.SyntaxKind.TryStatement}te.isTryStatement=lr;function In(Xt){return Xt.kind===X.SyntaxKind.TupleType}te.isTupleTypeNode=In;function Qn(Xt){return Xt.kind===X.SyntaxKind.TypeAliasDeclaration}te.isTypeAliasDeclaration=Qn;function Yn(Xt){return Xt.kind===X.SyntaxKind.TypeAssertionExpression}te.isTypeAssertion=Yn;function Ar(Xt){return Xt.kind===X.SyntaxKind.TypeLiteral}te.isTypeLiteralNode=Ar;function gr(Xt){return Xt.kind===X.SyntaxKind.TypeOfExpression}te.isTypeOfExpression=gr;function Si(Xt){return Xt.kind===X.SyntaxKind.TypeOperator}te.isTypeOperatorNode=Si;function _i(Xt){return Xt.kind===X.SyntaxKind.TypeParameter}te.isTypeParameterDeclaration=_i;function Nn(Xt){return Xt.kind===X.SyntaxKind.TypePredicate}te.isTypePredicateNode=Nn;function Rn(Xt){return Xt.kind===X.SyntaxKind.TypeReference}te.isTypeReferenceNode=Rn;function Bn(Xt){return Xt.kind===X.SyntaxKind.TypeQuery}te.isTypeQueryNode=Bn;function jt(Xt){return Xt.kind===X.SyntaxKind.UnionType}te.isUnionTypeNode=jt;function pr(Xt){return Xt.kind===X.SyntaxKind.VariableDeclaration}te.isVariableDeclaration=pr;function br(Xt){return Xt.kind===X.SyntaxKind.VariableStatement}te.isVariableStatement=br;function Ci(Xt){return Xt.kind===X.SyntaxKind.VariableDeclarationList}te.isVariableDeclarationList=Ci;function Bi(Xt){return Xt.kind===X.SyntaxKind.VoidExpression}te.isVoidExpression=Bi;function Da(Xt){return Xt.kind===X.SyntaxKind.WhileStatement}te.isWhileStatement=Da;function $i(Xt){return Xt.kind===X.SyntaxKind.WithStatement}te.isWithStatement=$i}}),x3=_r({"node_modules/tsutils/typeguard/2.9/node.js"(te){Mr(),Object.defineProperty(te,"__esModule",{value:!0}),te.isImportTypeNode=void 0;var X=(Gf(),La(xf));X.__exportStar(h3(),te);var tt=Wu();function Tt(fn){return fn.kind===tt.SyntaxKind.ImportType}te.isImportTypeNode=Tt}}),b3=_r({"node_modules/tsutils/typeguard/3.0/node.js"(te){Mr(),Object.defineProperty(te,"__esModule",{value:!0}),te.isSyntheticExpression=te.isRestTypeNode=te.isOptionalTypeNode=void 0;var X=(Gf(),La(xf));X.__exportStar(x3(),te);var tt=Wu();function Tt(dt){return dt.kind===tt.SyntaxKind.OptionalType}te.isOptionalTypeNode=Tt;function fn(dt){return dt.kind===tt.SyntaxKind.RestType}te.isRestTypeNode=fn;function Pt(dt){return dt.kind===tt.SyntaxKind.SyntheticExpression}te.isSyntheticExpression=Pt}}),RS=_r({"node_modules/tsutils/typeguard/3.2/node.js"(te){Mr(),Object.defineProperty(te,"__esModule",{value:!0}),te.isBigIntLiteral=void 0;var X=(Gf(),La(xf));X.__exportStar(b3(),te);var tt=Wu();function Tt(fn){return fn.kind===tt.SyntaxKind.BigIntLiteral}te.isBigIntLiteral=Tt}}),jS=_r({"node_modules/tsutils/typeguard/node.js"(te){Mr(),Object.defineProperty(te,"__esModule",{value:!0});var X=(Gf(),La(xf));X.__exportStar(RS(),te)}}),S3=_r({"node_modules/tsutils/typeguard/2.8/type.js"(te){Mr(),Object.defineProperty(te,"__esModule",{value:!0}),te.isUniqueESSymbolType=te.isUnionType=te.isUnionOrIntersectionType=te.isTypeVariable=te.isTypeReference=te.isTypeParameter=te.isSubstitutionType=te.isObjectType=te.isLiteralType=te.isIntersectionType=te.isInterfaceType=te.isInstantiableType=te.isIndexedAccessype=te.isIndexedAccessType=te.isGenericType=te.isEnumType=te.isConditionalType=void 0;var X=Wu();function tt(k){return(k.flags&X.TypeFlags.Conditional)!==0}te.isConditionalType=tt;function Tt(k){return(k.flags&X.TypeFlags.Enum)!==0}te.isEnumType=Tt;function fn(k){return(k.flags&X.TypeFlags.Object)!==0&&(k.objectFlags&X.ObjectFlags.ClassOrInterface)!==0&&(k.objectFlags&X.ObjectFlags.Reference)!==0}te.isGenericType=fn;function Pt(k){return(k.flags&X.TypeFlags.IndexedAccess)!==0}te.isIndexedAccessType=Pt;function dt(k){return(k.flags&X.TypeFlags.Index)!==0}te.isIndexedAccessype=dt;function wt(k){return(k.flags&X.TypeFlags.Instantiable)!==0}te.isInstantiableType=wt;function ne(k){return(k.flags&X.TypeFlags.Object)!==0&&(k.objectFlags&X.ObjectFlags.ClassOrInterface)!==0}te.isInterfaceType=ne;function e(k){return(k.flags&X.TypeFlags.Intersection)!==0}te.isIntersectionType=e;function a(k){return(k.flags&(X.TypeFlags.StringOrNumberLiteral|X.TypeFlags.BigIntLiteral))!==0}te.isLiteralType=a;function u(k){return(k.flags&X.TypeFlags.Object)!==0}te.isObjectType=u;function P(k){return(k.flags&X.TypeFlags.Substitution)!==0}te.isSubstitutionType=P;function r(k){return(k.flags&X.TypeFlags.TypeParameter)!==0}te.isTypeParameter=r;function v(k){return(k.flags&X.TypeFlags.Object)!==0&&(k.objectFlags&X.ObjectFlags.Reference)!==0}te.isTypeReference=v;function G(k){return(k.flags&X.TypeFlags.TypeVariable)!==0}te.isTypeVariable=G;function ue(k){return(k.flags&X.TypeFlags.UnionOrIntersection)!==0}te.isUnionOrIntersectionType=ue;function h(k){return(k.flags&X.TypeFlags.Union)!==0}te.isUnionType=h;function S(k){return(k.flags&X.TypeFlags.UniqueESSymbol)!==0}te.isUniqueESSymbolType=S}}),BS=_r({"node_modules/tsutils/typeguard/2.9/type.js"(te){Mr(),Object.defineProperty(te,"__esModule",{value:!0});var X=(Gf(),La(xf));X.__exportStar(S3(),te)}}),D3=_r({"node_modules/tsutils/typeguard/3.0/type.js"(te){Mr(),Object.defineProperty(te,"__esModule",{value:!0}),te.isTupleTypeReference=te.isTupleType=void 0;var X=(Gf(),La(xf));X.__exportStar(BS(),te);var tt=Wu(),Tt=BS();function fn(dt){return(dt.flags&tt.TypeFlags.Object&&dt.objectFlags&tt.ObjectFlags.Tuple)!==0}te.isTupleType=fn;function Pt(dt){return Tt.isTypeReference(dt)&&fn(dt.target)}te.isTupleTypeReference=Pt}}),JS=_r({"node_modules/tsutils/typeguard/3.2/type.js"(te){Mr(),Object.defineProperty(te,"__esModule",{value:!0});var X=(Gf(),La(xf));X.__exportStar(D3(),te)}}),T3=_r({"node_modules/tsutils/typeguard/3.2/index.js"(te){Mr(),Object.defineProperty(te,"__esModule",{value:!0});var X=(Gf(),La(xf));X.__exportStar(RS(),te),X.__exportStar(JS(),te)}}),E3=_r({"node_modules/tsutils/typeguard/type.js"(te){Mr(),Object.defineProperty(te,"__esModule",{value:!0});var X=(Gf(),La(xf));X.__exportStar(JS(),te)}}),C3=_r({"node_modules/tsutils/util/type.js"(te){Mr(),Object.defineProperty(te,"__esModule",{value:!0}),te.getBaseClassMemberOfClassElement=te.getIteratorYieldResultFromIteratorResult=te.getInstanceTypeOfClassLikeDeclaration=te.getConstructorTypeOfClassLikeDeclaration=te.getSymbolOfClassLikeDeclaration=te.getPropertyNameFromType=te.symbolHasReadonlyDeclaration=te.isPropertyReadonlyInType=te.getWellKnownSymbolPropertyOfType=te.getPropertyOfType=te.isBooleanLiteralType=te.isFalsyType=te.isThenableType=te.someTypePart=te.intersectionTypeParts=te.unionTypeParts=te.getCallSignaturesOfType=te.isTypeAssignableToString=te.isTypeAssignableToNumber=te.isOptionalChainingUndefinedMarkerType=te.removeOptionalChainingUndefinedMarkerType=te.removeOptionalityFromType=te.isEmptyObjectType=void 0;var X=Wu(),tt=E3(),Tt=KS(),fn=jS();function Pt(z){if(tt.isObjectType(z)&&z.objectFlags&X.ObjectFlags.Anonymous&&z.getProperties().length===0&&z.getCallSignatures().length===0&&z.getConstructSignatures().length===0&&z.getStringIndexType()===void 0&&z.getNumberIndexType()===void 0){let ie=z.getBaseTypes();return ie===void 0||ie.every(Pt)}return!1}te.isEmptyObjectType=Pt;function dt(z,ie){if(!wt(ie,X.TypeFlags.Undefined))return ie;let m=wt(ie,X.TypeFlags.Null);return ie=z.getNonNullableType(ie),m?z.getNullableType(ie,X.TypeFlags.Null):ie}te.removeOptionalityFromType=dt;function wt(z,ie){for(let m of v(z))if(Tt.isTypeFlagSet(m,ie))return!0;return!1}function ne(z,ie){if(!tt.isUnionType(ie))return e(z,ie)?ie.getNonNullableType():ie;let m=0,A=!1;for(let g of ie.types)e(z,g)?A=!0:m|=g.flags;return A?z.getNullableType(ie.getNonNullableType(),m):ie}te.removeOptionalChainingUndefinedMarkerType=ne;function e(z,ie){return Tt.isTypeFlagSet(ie,X.TypeFlags.Undefined)&&z.getNullableType(ie.getNonNullableType(),X.TypeFlags.Undefined)!==ie}te.isOptionalChainingUndefinedMarkerType=e;function a(z,ie){return P(z,ie,X.TypeFlags.NumberLike)}te.isTypeAssignableToNumber=a;function u(z,ie){return P(z,ie,X.TypeFlags.StringLike)}te.isTypeAssignableToString=u;function P(z,ie,m){m|=X.TypeFlags.Any;let A;return function g(C){if(tt.isTypeParameter(C)&&C.symbol!==void 0&&C.symbol.declarations!==void 0){if(A===void 0)A=new Set([C]);else if(!A.has(C))A.add(C);else return!1;let N=C.symbol.declarations[0];return N.constraint===void 0?!0:g(z.getTypeFromTypeNode(N.constraint))}return tt.isUnionType(C)?C.types.every(g):tt.isIntersectionType(C)?C.types.some(g):Tt.isTypeFlagSet(C,m)}(ie)}function r(z){if(tt.isUnionType(z)){let ie=[];for(let m of z.types)ie.push(...r(m));return ie}if(tt.isIntersectionType(z)){let ie;for(let m of z.types){let A=r(m);if(A.length!==0){if(ie!==void 0)return[];ie=A}}return ie===void 0?[]:ie}return z.getCallSignatures()}te.getCallSignaturesOfType=r;function v(z){return tt.isUnionType(z)?z.types:[z]}te.unionTypeParts=v;function G(z){return tt.isIntersectionType(z)?z.types:[z]}te.intersectionTypeParts=G;function ue(z,ie,m){return ie(z)?z.types.some(m):m(z)}te.someTypePart=ue;function h(z,ie){let m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:z.getTypeAtLocation(ie);for(let A of v(z.getApparentType(m))){let g=A.getProperty("then");if(g===void 0)continue;let C=z.getTypeOfSymbolAtLocation(g,ie);for(let N of v(C))for(let _ of N.getCallSignatures())if(_.parameters.length!==0&&S(z,_.parameters[0],ie))return!0}return!1}te.isThenableType=h;function S(z,ie,m){let A=z.getApparentType(z.getTypeOfSymbolAtLocation(ie,m));if(ie.valueDeclaration.dotDotDotToken&&(A=A.getNumberIndexType(),A===void 0))return!1;for(let g of v(A))if(g.getCallSignatures().length!==0)return!0;return!1}function k(z){return z.flags&(X.TypeFlags.Undefined|X.TypeFlags.Null|X.TypeFlags.Void)?!0:tt.isLiteralType(z)?!z.value:se(z,!1)}te.isFalsyType=k;function se(z,ie){return Tt.isTypeFlagSet(z,X.TypeFlags.BooleanLiteral)&&z.intrinsicName===(ie?"true":"false")}te.isBooleanLiteralType=se;function le(z,ie){return ie.startsWith("__")?z.getProperties().find(m=>m.escapedName===ie):z.getProperty(ie)}te.getPropertyOfType=le;function f(z,ie,m){let A="__@"+ie;for(let g of z.getProperties()){if(!g.name.startsWith(A))continue;let C=m.getApparentType(m.getTypeAtLocation(g.valueDeclaration.name.expression)).symbol;if(g.escapedName===b(m,C,ie))return g}}te.getWellKnownSymbolPropertyOfType=f;function b(z,ie,m){let A=ie&&z.getTypeOfSymbolAtLocation(ie,ie.valueDeclaration).getProperty(m),g=A&&z.getTypeOfSymbolAtLocation(A,A.valueDeclaration);return g&&tt.isUniqueESSymbolType(g)?g.escapedName:"__@"+m}function y(z,ie,m){let A=!1,g=!1;for(let C of v(z))if(le(C,ie)===void 0){let N=(Tt.isNumericPropertyName(ie)?m.getIndexInfoOfType(C,X.IndexKind.Number):void 0)||m.getIndexInfoOfType(C,X.IndexKind.String);if(N!==void 0&&N.isReadonly){if(A)return!0;g=!0}}else{if(g||K(C,ie,m))return!0;A=!0}return!1}te.isPropertyReadonlyInType=y;function K(z,ie,m){return ue(z,tt.isIntersectionType,A=>{let g=le(A,ie);if(g===void 0)return!1;if(g.flags&X.SymbolFlags.Transient){if(/^(?:[1-9]\d*|0)$/.test(ie)&&tt.isTupleTypeReference(A))return A.target.readonly;switch(ce(A,ie,m)){case!0:return!0;case!1:return!1}}return Tt.isSymbolFlagSet(g,X.SymbolFlags.ValueModule)||Y(g,m)})}function ce(z,ie,m){if(!tt.isObjectType(z)||!Tt.isObjectFlagSet(z,X.ObjectFlags.Mapped))return;let A=z.symbol.declarations[0];return A.readonlyToken!==void 0&&!/^__@[^@]+$/.test(ie)?A.readonlyToken.kind!==X.SyntaxKind.MinusToken:y(z.modifiersType,ie,m)}function Y(z,ie){return(z.flags&X.SymbolFlags.Accessor)===X.SymbolFlags.GetAccessor||z.declarations!==void 0&&z.declarations.some(m=>Tt.isModifierFlagSet(m,X.ModifierFlags.Readonly)||fn.isVariableDeclaration(m)&&Tt.isNodeFlagSet(m.parent,X.NodeFlags.Const)||fn.isCallExpression(m)&&Tt.isReadonlyAssignmentDeclaration(m,ie)||fn.isEnumMember(m)||(fn.isPropertyAssignment(m)||fn.isShorthandPropertyAssignment(m))&&Tt.isInConstContext(m.parent))}te.symbolHasReadonlyDeclaration=Y;function re(z){if(z.flags&(X.TypeFlags.StringLiteral|X.TypeFlags.NumberLiteral)){let ie=String(z.value);return{displayName:ie,symbolName:X.escapeLeadingUnderscores(ie)}}if(tt.isUniqueESSymbolType(z))return{displayName:"[".concat(z.symbol?"".concat(F(z.symbol)?"Symbol.":"").concat(z.symbol.name):z.escapedName.replace(/^__@|@\d+$/g,""),"]"),symbolName:z.escapedName}}te.getPropertyNameFromType=re;function F(z){return Tt.isSymbolFlagSet(z,X.SymbolFlags.Property)&&z.valueDeclaration!==void 0&&fn.isInterfaceDeclaration(z.valueDeclaration.parent)&&z.valueDeclaration.parent.name.text==="SymbolConstructor"&&O(z.valueDeclaration.parent)}function O(z){return Tt.isNodeFlagSet(z.parent,X.NodeFlags.GlobalAugmentation)||fn.isSourceFile(z.parent)&&!X.isExternalModule(z.parent)}function Q(z,ie){var m;return ie.getSymbolAtLocation((m=z.name)!==null&&m!==void 0?m:Tt.getChildOfKind(z,X.SyntaxKind.ClassKeyword))}te.getSymbolOfClassLikeDeclaration=Q;function de(z,ie){return z.kind===X.SyntaxKind.ClassExpression?ie.getTypeAtLocation(z):ie.getTypeOfSymbolAtLocation(Q(z,ie),z)}te.getConstructorTypeOfClassLikeDeclaration=de;function $(z,ie){return z.kind===X.SyntaxKind.ClassDeclaration?ie.getTypeAtLocation(z):ie.getDeclaredTypeOfSymbol(Q(z,ie))}te.getInstanceTypeOfClassLikeDeclaration=$;function I(z,ie,m){return tt.isUnionType(z)&&z.types.find(A=>{let g=A.getProperty("done");return g!==void 0&&se(dt(m,m.getTypeOfSymbolAtLocation(g,ie)),!1)})||z}te.getIteratorYieldResultFromIteratorResult=I;function Z(z,ie){if(!fn.isClassLikeDeclaration(z.parent))return;let m=Tt.getBaseOfClassLikeExpression(z.parent);if(m===void 0)return;let A=Tt.getSingleLateBoundPropertyNameOfPropertyName(z.name,ie);if(A===void 0)return;let g=ie.getTypeAtLocation(Tt.hasModifier(z.modifiers,X.SyntaxKind.StaticKeyword)?m.expression:m);return le(g,A.symbolName)}te.getBaseClassMemberOfClassElement=Z}}),KS=_r({"node_modules/tsutils/util/util.js"(te){Mr(),Object.defineProperty(te,"__esModule",{value:!0}),te.isValidIdentifier=te.getLineBreakStyle=te.getLineRanges=te.forEachComment=te.forEachTokenWithTrivia=te.forEachToken=te.isFunctionWithBody=te.hasOwnThisReference=te.isBlockScopeBoundary=te.isFunctionScopeBoundary=te.isTypeScopeBoundary=te.isScopeBoundary=te.ScopeBoundarySelector=te.ScopeBoundary=te.isInSingleStatementContext=te.isBlockScopedDeclarationStatement=te.isBlockScopedVariableDeclaration=te.isBlockScopedVariableDeclarationList=te.getVariableDeclarationKind=te.VariableDeclarationKind=te.forEachDeclaredVariable=te.forEachDestructuringIdentifier=te.getPropertyName=te.getWrappedNodeAtPosition=te.getAstNodeAtPosition=te.commentText=te.isPositionInComment=te.getCommentAtPosition=te.getTokenAtPosition=te.getNextToken=te.getPreviousToken=te.getNextStatement=te.getPreviousStatement=te.isModifierFlagSet=te.isObjectFlagSet=te.isSymbolFlagSet=te.isTypeFlagSet=te.isNodeFlagSet=te.hasAccessModifier=te.isParameterProperty=te.hasModifier=te.getModifier=te.isThisParameter=te.isKeywordKind=te.isJsDocKind=te.isTypeNodeKind=te.isAssignmentKind=te.isNodeKind=te.isTokenKind=te.getChildOfKind=void 0,te.getBaseOfClassLikeExpression=te.hasExhaustiveCaseClauses=te.formatPseudoBigInt=te.unwrapParentheses=te.getSingleLateBoundPropertyNameOfPropertyName=te.getLateBoundPropertyNamesOfPropertyName=te.getLateBoundPropertyNames=te.getPropertyNameOfWellKnownSymbol=te.isWellKnownSymbolLiterally=te.isBindableObjectDefinePropertyCall=te.isReadonlyAssignmentDeclaration=te.isInConstContext=te.isConstAssertion=te.getTsCheckDirective=te.getCheckJsDirective=te.isAmbientModule=te.isCompilerOptionEnabled=te.isStrictCompilerOptionEnabled=te.getIIFE=te.isAmbientModuleBlock=te.isStatementInAmbientContext=te.findImportLikeNodes=te.findImports=te.ImportKind=te.parseJsDocOfNode=te.getJsDoc=te.canHaveJsDoc=te.isReassignmentTarget=te.getAccessKind=te.AccessKind=te.isExpressionValueUsed=te.getDeclarationOfBindingElement=te.hasSideEffects=te.SideEffectOptions=te.isSameLine=te.isNumericPropertyName=te.isValidJsxIdentifier=te.isValidNumericLiteral=te.isValidPropertyName=te.isValidPropertyAccess=void 0;var X=Wu(),tt=jS(),Tt=T3(),fn=C3();function Pt(Ze,tn,Je){for(let Bt of Ze.getChildren(Je))if(Bt.kind===tn)return Bt}te.getChildOfKind=Pt;function dt(Ze){return Ze>=X.SyntaxKind.FirstToken&&Ze<=X.SyntaxKind.LastToken}te.isTokenKind=dt;function wt(Ze){return Ze>=X.SyntaxKind.FirstNode}te.isNodeKind=wt;function ne(Ze){return Ze>=X.SyntaxKind.FirstAssignment&&Ze<=X.SyntaxKind.LastAssignment}te.isAssignmentKind=ne;function e(Ze){return Ze>=X.SyntaxKind.FirstTypeNode&&Ze<=X.SyntaxKind.LastTypeNode}te.isTypeNodeKind=e;function a(Ze){return Ze>=X.SyntaxKind.FirstJSDocNode&&Ze<=X.SyntaxKind.LastJSDocNode}te.isJsDocKind=a;function u(Ze){return Ze>=X.SyntaxKind.FirstKeyword&&Ze<=X.SyntaxKind.LastKeyword}te.isKeywordKind=u;function P(Ze){return Ze.name.kind===X.SyntaxKind.Identifier&&Ze.name.originalKeywordKind===X.SyntaxKind.ThisKeyword}te.isThisParameter=P;function r(Ze,tn){if(Ze.modifiers!==void 0){for(let Je of Ze.modifiers)if(Je.kind===tn)return Je}}te.getModifier=r;function v(Ze){if(Ze===void 0)return!1;for(var tn=arguments.length,Je=new Array(tn>1?tn-1:0),Bt=1;Bt0)return tn.statements[Je-1]}}te.getPreviousStatement=se;function le(Ze){let tn=Ze.parent;if(tt.isBlockLike(tn)){let Je=tn.statements.indexOf(Ze);if(Je=Ze.end))return dt(Ze.kind)?Ze:K(Ze,tn,Je!=null?Je:Ze.getSourceFile(),Bt===!0)}te.getTokenAtPosition=y;function K(Ze,tn,Je,Bt){if(!Bt&&(Ze=O(Ze,tn),dt(Ze.kind)))return Ze;e:for(;;){for(let zt of Ze.getChildren(Je))if(zt.end>tn&&(Bt||zt.kind!==X.SyntaxKind.JSDocComment)){if(dt(zt.kind))return zt;Ze=zt;continue e}return}}function ce(Ze,tn){let Je=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ze,Bt=y(Je,tn,Ze);if(Bt===void 0||Bt.kind===X.SyntaxKind.JsxText||tn>=Bt.end-(X.tokenToString(Bt.kind)||"").length)return;let zt=Bt.pos===0?(X.getShebang(Ze.text)||"").length:Bt.pos;return zt!==0&&X.forEachTrailingCommentRange(Ze.text,zt,Y,tn)||X.forEachLeadingCommentRange(Ze.text,zt,Y,tn)}te.getCommentAtPosition=ce;function Y(Ze,tn,Je,Bt,zt){return zt>=Ze&&zttn||Ze.end<=tn)){for(;wt(Ze.kind);){let Je=X.forEachChild(Ze,Bt=>Bt.pos<=tn&&Bt.end>tn?Bt:void 0);if(Je===void 0)break;Ze=Je}return Ze}}te.getAstNodeAtPosition=O;function Q(Ze,tn){if(Ze.node.pos>tn||Ze.node.end<=tn)return;e:for(;;){for(let Je of Ze.children){if(Je.node.pos>tn)return Ze;if(Je.node.end>tn){Ze=Je;continue e}}return Ze}}te.getWrappedNodeAtPosition=Q;function de(Ze){if(Ze.kind===X.SyntaxKind.ComputedPropertyName){let tn=rn(Ze.expression);if(tt.isPrefixUnaryExpression(tn)){let Je=!1;switch(tn.operator){case X.SyntaxKind.MinusToken:Je=!0;case X.SyntaxKind.PlusToken:return tt.isNumericLiteral(tn.operand)?"".concat(Je?"-":"").concat(tn.operand.text):Tt.isBigIntLiteral(tn.operand)?"".concat(Je?"-":"").concat(tn.operand.text.slice(0,-1)):void 0;default:return}}return Tt.isBigIntLiteral(tn)?tn.text.slice(0,-1):tt.isNumericOrStringLikeLiteral(tn)?tn.text:void 0}return Ze.kind===X.SyntaxKind.PrivateIdentifier?void 0:Ze.text}te.getPropertyName=de;function $(Ze,tn){for(let Je of Ze.elements){if(Je.kind!==X.SyntaxKind.BindingElement)continue;let Bt;if(Je.name.kind===X.SyntaxKind.Identifier?Bt=tn(Je):Bt=$(Je.name,tn),Bt)return Bt}}te.forEachDestructuringIdentifier=$;function I(Ze,tn){for(let Je of Ze.declarations){let Bt;if(Je.name.kind===X.SyntaxKind.Identifier?Bt=tn(Je):Bt=$(Je.name,tn),Bt)return Bt}}te.forEachDeclaredVariable=I,function(Ze){Ze[Ze.Var=0]="Var",Ze[Ze.Let=1]="Let",Ze[Ze.Const=2]="Const"}(te.VariableDeclarationKind||(te.VariableDeclarationKind={}));function Z(Ze){return Ze.flags&X.NodeFlags.Let?1:Ze.flags&X.NodeFlags.Const?2:0}te.getVariableDeclarationKind=Z;function z(Ze){return(Ze.flags&X.NodeFlags.BlockScoped)!==0}te.isBlockScopedVariableDeclarationList=z;function ie(Ze){let tn=Ze.parent;return tn.kind===X.SyntaxKind.CatchClause||z(tn)}te.isBlockScopedVariableDeclaration=ie;function m(Ze){switch(Ze.kind){case X.SyntaxKind.VariableStatement:return z(Ze.declarationList);case X.SyntaxKind.ClassDeclaration:case X.SyntaxKind.EnumDeclaration:case X.SyntaxKind.InterfaceDeclaration:case X.SyntaxKind.TypeAliasDeclaration:return!0;default:return!1}}te.isBlockScopedDeclarationStatement=m;function A(Ze){switch(Ze.parent.kind){case X.SyntaxKind.ForStatement:case X.SyntaxKind.ForInStatement:case X.SyntaxKind.ForOfStatement:case X.SyntaxKind.WhileStatement:case X.SyntaxKind.DoStatement:case X.SyntaxKind.IfStatement:case X.SyntaxKind.WithStatement:case X.SyntaxKind.LabeledStatement:return!0;default:return!1}}te.isInSingleStatementContext=A,function(Ze){Ze[Ze.None=0]="None",Ze[Ze.Function=1]="Function",Ze[Ze.Block=2]="Block",Ze[Ze.Type=4]="Type",Ze[Ze.ConditionalType=8]="ConditionalType"}(te.ScopeBoundary||(te.ScopeBoundary={})),function(Ze){Ze[Ze.Function=1]="Function",Ze[Ze.Block=3]="Block",Ze[Ze.Type=7]="Type",Ze[Ze.InferType=8]="InferType"}(te.ScopeBoundarySelector||(te.ScopeBoundarySelector={}));function g(Ze){return N(Ze)||_(Ze)||C(Ze)}te.isScopeBoundary=g;function C(Ze){switch(Ze.kind){case X.SyntaxKind.InterfaceDeclaration:case X.SyntaxKind.TypeAliasDeclaration:case X.SyntaxKind.MappedType:return 4;case X.SyntaxKind.ConditionalType:return 8;default:return 0}}te.isTypeScopeBoundary=C;function N(Ze){switch(Ze.kind){case X.SyntaxKind.FunctionExpression:case X.SyntaxKind.ArrowFunction:case X.SyntaxKind.Constructor:case X.SyntaxKind.ModuleDeclaration:case X.SyntaxKind.ClassDeclaration:case X.SyntaxKind.ClassExpression:case X.SyntaxKind.EnumDeclaration:case X.SyntaxKind.MethodDeclaration:case X.SyntaxKind.FunctionDeclaration:case X.SyntaxKind.GetAccessor:case X.SyntaxKind.SetAccessor:case X.SyntaxKind.MethodSignature:case X.SyntaxKind.CallSignature:case X.SyntaxKind.ConstructSignature:case X.SyntaxKind.ConstructorType:case X.SyntaxKind.FunctionType:return 1;case X.SyntaxKind.SourceFile:return X.isExternalModule(Ze)?1:0;default:return 0}}te.isFunctionScopeBoundary=N;function _(Ze){switch(Ze.kind){case X.SyntaxKind.Block:let tn=Ze.parent;return tn.kind!==X.SyntaxKind.CatchClause&&(tn.kind===X.SyntaxKind.SourceFile||!N(tn))?2:0;case X.SyntaxKind.ForStatement:case X.SyntaxKind.ForInStatement:case X.SyntaxKind.ForOfStatement:case X.SyntaxKind.CaseBlock:case X.SyntaxKind.CatchClause:case X.SyntaxKind.WithStatement:return 2;default:return 0}}te.isBlockScopeBoundary=_;function d(Ze){switch(Ze.kind){case X.SyntaxKind.ClassDeclaration:case X.SyntaxKind.ClassExpression:case X.SyntaxKind.FunctionExpression:return!0;case X.SyntaxKind.FunctionDeclaration:return Ze.body!==void 0;case X.SyntaxKind.MethodDeclaration:case X.SyntaxKind.GetAccessor:case X.SyntaxKind.SetAccessor:return Ze.parent.kind===X.SyntaxKind.ObjectLiteralExpression;default:return!1}}te.hasOwnThisReference=d;function E(Ze){switch(Ze.kind){case X.SyntaxKind.GetAccessor:case X.SyntaxKind.SetAccessor:case X.SyntaxKind.FunctionDeclaration:case X.SyntaxKind.MethodDeclaration:case X.SyntaxKind.Constructor:return Ze.body!==void 0;case X.SyntaxKind.FunctionExpression:case X.SyntaxKind.ArrowFunction:return!0;default:return!1}}te.isFunctionWithBody=E;function j(Ze,tn){let Je=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ze.getSourceFile(),Bt=[];for(;;){if(dt(Ze.kind))tn(Ze);else if(Ze.kind!==X.SyntaxKind.JSDocComment){let zt=Ze.getChildren(Je);if(zt.length===1){Ze=zt[0];continue}for(let Ve=zt.length-1;Ve>=0;--Ve)Bt.push(zt[Ve])}if(Bt.length===0)break;Ze=Bt.pop()}}te.forEachToken=j;function B(Ze,tn){let Je=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ze.getSourceFile(),Bt=Je.text,zt=X.createScanner(Je.languageVersion,!1,Je.languageVariant,Bt);return j(Ze,Ve=>{let Nt=Ve.kind===X.SyntaxKind.JsxText||Ve.pos===Ve.end?Ve.pos:Ve.getStart(Je);if(Nt!==Ve.pos){zt.setTextPos(Ve.pos);let Ge=zt.scan(),lt=zt.getTokenPos();for(;lt2&&arguments[2]!==void 0?arguments[2]:Ze.getSourceFile(),Bt=Je.text,zt=Je.languageVariant!==X.LanguageVariant.JSX;return j(Ze,Nt=>{if(Nt.pos!==Nt.end&&(Nt.kind!==X.SyntaxKind.JsxText&&X.forEachLeadingCommentRange(Bt,Nt.pos===0?(X.getShebang(Bt)||"").length:Nt.pos,Ve),zt||J(Nt)))return X.forEachTrailingCommentRange(Bt,Nt.end,Ve)},Je);function Ve(Nt,Ge,lt){tn(Bt,{pos:Nt,end:Ge,kind:lt})}}te.forEachComment=W;function J(Ze){switch(Ze.kind){case X.SyntaxKind.CloseBraceToken:return Ze.parent.kind!==X.SyntaxKind.JsxExpression||!M(Ze.parent.parent);case X.SyntaxKind.GreaterThanToken:switch(Ze.parent.kind){case X.SyntaxKind.JsxOpeningElement:return Ze.end!==Ze.parent.end;case X.SyntaxKind.JsxOpeningFragment:return!1;case X.SyntaxKind.JsxSelfClosingElement:return Ze.end!==Ze.parent.end||!M(Ze.parent.parent);case X.SyntaxKind.JsxClosingElement:case X.SyntaxKind.JsxClosingFragment:return!M(Ze.parent.parent.parent)}}return!0}function M(Ze){return Ze.kind===X.SyntaxKind.JsxElement||Ze.kind===X.SyntaxKind.JsxFragment}function pe(Ze){let tn=Ze.getLineStarts(),Je=[],Bt=tn.length,zt=Ze.text,Ve=0;for(let Nt=1;NtVe&&X.isLineBreak(zt.charCodeAt(lt-1));--lt);Je.push({pos:Ve,end:Ge,contentLength:lt-Ve}),Ve=Ge}return Je.push({pos:Ve,end:Ze.end,contentLength:Ze.end-Ve}),Je}te.getLineRanges=pe;function Ne(Ze){let tn=Ze.getLineStarts();return tn.length===1||tn[1]<2||Ze.text[tn[1]-2]!=="\r"?` `:`\r `}te.getLineBreakStyle=Ne;var w;function R(Ze,tn){return w===void 0?w=X.createScanner(tn,!1,void 0,Ze):(w.setScriptTarget(tn),w.setText(Ze)),w.scan(),w}function L(Ze){let tn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:X.ScriptTarget.Latest,Je=R(Ze,tn);return Je.isIdentifier()&&Je.getTextPos()===Ze.length&&Je.getTokenPos()===0}te.isValidIdentifier=L;function V(Ze){return Ze>=65536?2:1}function Te(Ze){let tn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:X.ScriptTarget.Latest;if(Ze.length===0)return!1;let Je=Ze.codePointAt(0);if(!X.isIdentifierStart(Je,tn))return!1;for(let Bt=V(Je);Bt1&&arguments[1]!==void 0?arguments[1]:X.ScriptTarget.Latest;if(Te(Ze,tn))return!0;let Je=R(Ze,tn);return Je.getTextPos()===Ze.length&&Je.getToken()===X.SyntaxKind.NumericLiteral&&Je.getTokenValue()===Ze}te.isValidPropertyName=Se;function we(Ze){let tn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:X.ScriptTarget.Latest,Je=R(Ze,tn);return Je.getToken()===X.SyntaxKind.NumericLiteral&&Je.getTextPos()===Ze.length&&Je.getTokenPos()===0}te.isValidNumericLiteral=we;function He(Ze){let tn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:X.ScriptTarget.Latest;if(Ze.length===0)return!1;let Je=!1,Bt=Ze.codePointAt(0);if(!X.isIdentifierStart(Bt,tn))return!1;for(let zt=V(Bt);zt2&&arguments[2]!==void 0?arguments[2]:Ze.getSourceFile();if(Oe(Ze)&&Ze.kind!==X.SyntaxKind.EndOfFileToken){let Bt=Ce(Ze,Je);if(Bt.length!==0||!tn)return Bt}return ze(Ze,Ze.getStart(Je),Je,tn)}te.parseJsDocOfNode=ge;function ze(Ze,tn,Je,Bt){let zt=X[Bt&&pt(Je,Ze.pos,tn)?"forEachTrailingCommentRange":"forEachLeadingCommentRange"](Je.text,Ze.pos,(ee,xe,H)=>H===X.SyntaxKind.MultiLineCommentTrivia&&Je.text[ee+2]==="*"?{pos:ee}:void 0);if(zt===void 0)return[];let Ve=zt.pos,Nt=Je.text.slice(Ve,tn),Ge=X.createSourceFile("jsdoc.ts","".concat(Nt,"var a;"),Je.languageVersion),lt=Ce(Ge.statements[0],Ge);for(let ee of lt)Le(ee,Ze);return lt;function Le(ee,xe){return ee.pos+=Ve,ee.end+=Ve,ee.parent=xe,X.forEachChild(ee,H=>Le(H,ee),H=>{H.pos+=Ve,H.end+=Ve;for(let ae of H)Le(ae,ee)})}}(function(Ze){Ze[Ze.ImportDeclaration=1]="ImportDeclaration",Ze[Ze.ImportEquals=2]="ImportEquals",Ze[Ze.ExportFrom=4]="ExportFrom",Ze[Ze.DynamicImport=8]="DynamicImport",Ze[Ze.Require=16]="Require",Ze[Ze.ImportType=32]="ImportType",Ze[Ze.All=63]="All",Ze[Ze.AllImports=59]="AllImports",Ze[Ze.AllStaticImports=3]="AllStaticImports",Ze[Ze.AllImportExpressions=24]="AllImportExpressions",Ze[Ze.AllRequireLike=18]="AllRequireLike",Ze[Ze.AllNestedImports=56]="AllNestedImports",Ze[Ze.AllTopLevelImports=7]="AllTopLevelImports"})(te.ImportKind||(te.ImportKind={}));function ft(Ze,tn){let Je=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,Bt=[];for(let Ve of vt(Ze,tn,Je))switch(Ve.kind){case X.SyntaxKind.ImportDeclaration:zt(Ve.moduleSpecifier);break;case X.SyntaxKind.ImportEqualsDeclaration:zt(Ve.moduleReference.expression);break;case X.SyntaxKind.ExportDeclaration:zt(Ve.moduleSpecifier);break;case X.SyntaxKind.CallExpression:zt(Ve.arguments[0]);break;case X.SyntaxKind.ImportType:tt.isLiteralTypeNode(Ve.argument)&&zt(Ve.argument.literal);break;default:throw new Error("unexpected node")}return Bt;function zt(Ve){tt.isTextualLiteral(Ve)&&Bt.push(Ve)}}te.findImports=ft;function vt(Ze,tn){let Je=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return new st(Ze,tn,Je).find()}te.findImportLikeNodes=vt;var st=class{constructor(Ze,tn,Je){this._sourceFile=Ze,this._options=tn,this._ignoreFileName=Je,this._result=[]}find(){return this._sourceFile.isDeclarationFile&&(this._options&=-25),this._options&7&&this._findImports(this._sourceFile.statements),this._options&56&&this._findNestedImports(),this._result}_findImports(Ze){for(let tn of Ze)tt.isImportDeclaration(tn)?this._options&1&&this._result.push(tn):tt.isImportEqualsDeclaration(tn)?this._options&2&&tn.moduleReference.kind===X.SyntaxKind.ExternalModuleReference&&this._result.push(tn):tt.isExportDeclaration(tn)?tn.moduleSpecifier!==void 0&&this._options&4&&this._result.push(tn):tt.isModuleDeclaration(tn)&&this._findImportsInModule(tn)}_findImportsInModule(Ze){if(Ze.body!==void 0){if(Ze.body.kind===X.SyntaxKind.ModuleDeclaration)return this._findImportsInModule(Ze.body);this._findImports(Ze.body.statements)}}_findNestedImports(){let Ze=this._ignoreFileName||(this._sourceFile.flags&X.NodeFlags.JavaScriptFile)!==0,tn,Je;if((this._options&56)===16){if(!Ze)return;tn=/\brequire\s*[1&&this._result.push(zt.parent)}}else zt.kind===X.SyntaxKind.Identifier&&zt.end-7===Bt.index&&zt.parent.kind===X.SyntaxKind.CallExpression&&zt.parent.expression===zt&&zt.parent.arguments.length===1&&this._result.push(zt.parent)}}};function At(Ze){for(;Ze.flags&X.NodeFlags.NestedNamespace;)Ze=Ze.parent;return v(Ze.modifiers,X.SyntaxKind.DeclareKeyword)||qt(Ze.parent)}te.isStatementInAmbientContext=At;function qt(Ze){for(;Ze.kind===X.SyntaxKind.ModuleBlock;){do Ze=Ze.parent;while(Ze.flags&X.NodeFlags.NestedNamespace);if(v(Ze.modifiers,X.SyntaxKind.DeclareKeyword))return!0;Ze=Ze.parent}return!1}te.isAmbientModuleBlock=qt;function Ue(Ze){let tn=Ze.parent;for(;tn.kind===X.SyntaxKind.ParenthesizedExpression;)tn=tn.parent;return tt.isCallExpression(tn)&&Ze.end<=tn.expression.end?tn:void 0}te.getIIFE=Ue;function Ie(Ze,tn){return(Ze.strict?Ze[tn]!==!1:Ze[tn]===!0)&&(tn!=="strictPropertyInitialization"||Ie(Ze,"strictNullChecks"))}te.isStrictCompilerOptionEnabled=Ie;function Ht(Ze,tn){switch(tn){case"stripInternal":case"declarationMap":case"emitDeclarationOnly":return Ze[tn]===!0&&Ht(Ze,"declaration");case"declaration":return Ze.declaration||Ht(Ze,"composite");case"incremental":return Ze.incremental===void 0?Ht(Ze,"composite"):Ze.incremental;case"skipDefaultLibCheck":return Ze.skipDefaultLibCheck||Ht(Ze,"skipLibCheck");case"suppressImplicitAnyIndexErrors":return Ze.suppressImplicitAnyIndexErrors===!0&&Ht(Ze,"noImplicitAny");case"allowSyntheticDefaultImports":return Ze.allowSyntheticDefaultImports!==void 0?Ze.allowSyntheticDefaultImports:Ht(Ze,"esModuleInterop")||Ze.module===X.ModuleKind.System;case"noUncheckedIndexedAccess":return Ze.noUncheckedIndexedAccess===!0&&Ht(Ze,"strictNullChecks");case"allowJs":return Ze.allowJs===void 0?Ht(Ze,"checkJs"):Ze.allowJs;case"noImplicitAny":case"noImplicitThis":case"strictNullChecks":case"strictFunctionTypes":case"strictPropertyInitialization":case"alwaysStrict":case"strictBindCallApply":return Ie(Ze,tn)}return Ze[tn]===!0}te.isCompilerOptionEnabled=Ht;function _t(Ze){return Ze.name.kind===X.SyntaxKind.StringLiteral||(Ze.flags&X.NodeFlags.GlobalAugmentation)!==0}te.isAmbientModule=_t;function It(Ze){return fe(Ze)}te.getCheckJsDirective=It;function fe(Ze){let tn;return X.forEachLeadingCommentRange(Ze,(X.getShebang(Ze)||"").length,(Je,Bt,zt)=>{if(zt===X.SyntaxKind.SingleLineCommentTrivia){let Ve=Ze.slice(Je,Bt),Nt=/^\/{2,3}\s*@ts-(no)?check(?:\s|$)/i.exec(Ve);Nt!==null&&(tn={pos:Je,end:Bt,enabled:Nt[1]===void 0})}}),tn}te.getTsCheckDirective=fe;function Be(Ze){return tt.isTypeReferenceNode(Ze.type)&&Ze.type.typeName.kind===X.SyntaxKind.Identifier&&Ze.type.typeName.escapedText==="const"}te.isConstAssertion=Be;function We(Ze){let tn=Ze;for(;;){let Je=tn.parent;e:switch(Je.kind){case X.SyntaxKind.TypeAssertionExpression:case X.SyntaxKind.AsExpression:return Be(Je);case X.SyntaxKind.PrefixUnaryExpression:if(tn.kind!==X.SyntaxKind.NumericLiteral)return!1;switch(Je.operator){case X.SyntaxKind.PlusToken:case X.SyntaxKind.MinusToken:tn=Je;break e;default:return!1}case X.SyntaxKind.PropertyAssignment:if(Je.initializer!==tn)return!1;tn=Je.parent;break;case X.SyntaxKind.ShorthandPropertyAssignment:tn=Je.parent;break;case X.SyntaxKind.ParenthesizedExpression:case X.SyntaxKind.ArrayLiteralExpression:case X.SyntaxKind.ObjectLiteralExpression:case X.SyntaxKind.TemplateExpression:tn=Je;break;default:return!1}}}te.isInConstContext=We;function Ft(Ze,tn){if(!Lt(Ze))return!1;let Je=tn.getTypeAtLocation(Ze.arguments[2]);if(Je.getProperty("value")===void 0)return Je.getProperty("set")===void 0;let Bt=Je.getProperty("writable");if(Bt===void 0)return!1;let zt=Bt.valueDeclaration!==void 0&&tt.isPropertyAssignment(Bt.valueDeclaration)?tn.getTypeAtLocation(Bt.valueDeclaration.initializer):tn.getTypeOfSymbolAtLocation(Bt,Ze.arguments[2]);return fn.isBooleanLiteralType(zt,!1)}te.isReadonlyAssignmentDeclaration=Ft;function Lt(Ze){return Ze.arguments.length===3&&tt.isEntityNameExpression(Ze.arguments[0])&&tt.isNumericOrStringLikeLiteral(Ze.arguments[1])&&tt.isPropertyAccessExpression(Ze.expression)&&Ze.expression.name.escapedText==="defineProperty"&&tt.isIdentifier(Ze.expression.expression)&&Ze.expression.expression.escapedText==="Object"}te.isBindableObjectDefinePropertyCall=Lt;function Rt(Ze){return X.isPropertyAccessExpression(Ze)&&X.isIdentifier(Ze.expression)&&Ze.expression.escapedText==="Symbol"}te.isWellKnownSymbolLiterally=Rt;function Et(Ze){return{displayName:"[Symbol.".concat(Ze.name.text,"]"),symbolName:"__@"+Ze.name.text}}te.getPropertyNameOfWellKnownSymbol=Et;var pn=(Ze=>{let[tn,Je]=Ze;return tn<"4"||tn==="4"&&Je<"3"})(X.versionMajorMinor.split("."));function he(Ze,tn){let Je={known:!0,names:[]};if(Ze=rn(Ze),pn&&Rt(Ze))Je.names.push(Et(Ze));else{let Bt=tn.getTypeAtLocation(Ze);for(let zt of fn.unionTypeParts(tn.getBaseConstraintOfType(Bt)||Bt)){let Ve=fn.getPropertyNameFromType(zt);Ve?Je.names.push(Ve):Je.known=!1}}return Je}te.getLateBoundPropertyNames=he;function yt(Ze,tn){let Je=de(Ze);return Je!==void 0?{known:!0,names:[{displayName:Je,symbolName:X.escapeLeadingUnderscores(Je)}]}:Ze.kind===X.SyntaxKind.PrivateIdentifier?{known:!0,names:[{displayName:Ze.text,symbolName:tn.getSymbolAtLocation(Ze).escapedName}]}:he(Ze.expression,tn)}te.getLateBoundPropertyNamesOfPropertyName=yt;function Gt(Ze,tn){let Je=de(Ze);if(Je!==void 0)return{displayName:Je,symbolName:X.escapeLeadingUnderscores(Je)};if(Ze.kind===X.SyntaxKind.PrivateIdentifier)return{displayName:Ze.text,symbolName:tn.getSymbolAtLocation(Ze).escapedName};let{expression:Bt}=Ze;return pn&&Rt(Bt)?Et(Bt):fn.getPropertyNameFromType(tn.getTypeAtLocation(Bt))}te.getSingleLateBoundPropertyNameOfPropertyName=Gt;function rn(Ze){for(;Ze.kind===X.SyntaxKind.ParenthesizedExpression;)Ze=Ze.expression;return Ze}te.unwrapParentheses=rn;function Zt(Ze){return"".concat(Ze.negative?"-":"").concat(Ze.base10Value,"n")}te.formatPseudoBigInt=Zt;function kn(Ze,tn){let Je=Ze.caseBlock.clauses.filter(tt.isCaseClause);if(Je.length===0)return!1;let Bt=fn.unionTypeParts(tn.getTypeAtLocation(Ze.expression));if(Bt.length>Je.length)return!1;let zt=new Set(Bt.map(Zn));if(zt.has(void 0))return!1;let Ve=new Set;for(let Nt of Je){let Ge=tn.getTypeAtLocation(Nt.expression);if(te.isTypeFlagSet(Ge,X.TypeFlags.Never))continue;let lt=Zn(Ge);if(zt.has(lt))Ve.add(lt);else if(lt!=="null"&<!=="undefined")return!1}return zt.size===Ve.size}te.hasExhaustiveCaseClauses=kn;function Zn(Ze){if(te.isTypeFlagSet(Ze,X.TypeFlags.Null))return"null";if(te.isTypeFlagSet(Ze,X.TypeFlags.Undefined))return"undefined";if(te.isTypeFlagSet(Ze,X.TypeFlags.NumberLiteral))return"".concat(te.isTypeFlagSet(Ze,X.TypeFlags.EnumLiteral)?"enum:":"").concat(Ze.value);if(te.isTypeFlagSet(Ze,X.TypeFlags.StringLiteral))return"".concat(te.isTypeFlagSet(Ze,X.TypeFlags.EnumLiteral)?"enum:":"","string:").concat(Ze.value);if(te.isTypeFlagSet(Ze,X.TypeFlags.BigIntLiteral))return Zt(Ze.value);if(Tt.isUniqueESSymbolType(Ze))return Ze.escapedName;if(fn.isBooleanLiteralType(Ze,!0))return"true";if(fn.isBooleanLiteralType(Ze,!1))return"false"}function Sr(Ze){var tn;if(((tn=Ze.heritageClauses)===null||tn===void 0?void 0:tn[0].token)===X.SyntaxKind.ExtendsKeyword)return Ze.heritageClauses[0].types[0]}te.getBaseOfClassLikeExpression=Sr}}),k3=_r({"node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js"(te){Mr();var X=te&&te.__createBinding||(Object.create?function(e,a,u,P){P===void 0&&(P=u);var r=Object.getOwnPropertyDescriptor(a,u);(!r||("get"in r?!a.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return a[u]}}),Object.defineProperty(e,P,r)}:function(e,a,u,P){P===void 0&&(P=u),e[P]=a[u]}),tt=te&&te.__setModuleDefault||(Object.create?function(e,a){Object.defineProperty(e,"default",{enumerable:!0,value:a})}:function(e,a){e.default=a}),Tt=te&&te.__importStar||function(e){if(e&&e.__esModule)return e;var a={};if(e!=null)for(var u in e)u!=="default"&&Object.prototype.hasOwnProperty.call(e,u)&&X(a,e,u);return tt(a,e),a};Object.defineProperty(te,"__esModule",{value:!0}),te.convertComments=void 0;var fn=Tt(Wu()),Pt=KS(),dt=c0(),wt=s0();function ne(e,a){let u=[];return(0,Pt.forEachComment)(e,(P,r)=>{let v=r.kind==fn.SyntaxKind.SingleLineCommentTrivia?wt.AST_TOKEN_TYPES.Line:wt.AST_TOKEN_TYPES.Block,G=[r.pos,r.end],ue=(0,dt.getLocFor)(G[0],G[1],e),h=G[0]+2,S=r.kind===fn.SyntaxKind.SingleLineCommentTrivia?G[1]-h:G[1]-h-2;u.push({type:v,value:a.slice(h,h+S),range:G,loc:ue})},e),u}te.convertComments=ne}}),zS=_r({"node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs"(te){Mr(),Object.defineProperty(te,"__esModule",{value:!0});var X={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["exported","source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportExpression:["source"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXClosingFragment:[],JSXOpeningFragment:[],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],StaticBlock:["body"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},tt=Object.keys(X);for(let wt of tt)Object.freeze(X[wt]);Object.freeze(X);var Tt=new Set(["parent","leadingComments","trailingComments"]);function fn(wt){return!Tt.has(wt)&&wt[0]!=="_"}function Pt(wt){return Object.keys(wt).filter(fn)}function dt(wt){let ne=Object.assign({},X);for(let e of Object.keys(wt))if(Object.prototype.hasOwnProperty.call(ne,e)){let a=new Set(wt[e]);for(let u of ne[e])a.add(u);ne[e]=Object.freeze(Array.from(a))}else ne[e]=Object.freeze(Array.from(wt[e]));return Object.freeze(ne)}te.KEYS=X,te.getKeys=Pt,te.unionWith=dt}}),N3=_r({"node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js"(te){Mr(),Object.defineProperty(te,"__esModule",{value:!0}),te.getKeys=void 0;var X=zS(),tt=X.getKeys;te.getKeys=tt}}),P3=_r({"node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js"(te){Mr();var X=te&&te.__createBinding||(Object.create?function(wt,ne,e,a){a===void 0&&(a=e);var u=Object.getOwnPropertyDescriptor(ne,e);(!u||("get"in u?!ne.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return ne[e]}}),Object.defineProperty(wt,a,u)}:function(wt,ne,e,a){a===void 0&&(a=e),wt[a]=ne[e]}),tt=te&&te.__setModuleDefault||(Object.create?function(wt,ne){Object.defineProperty(wt,"default",{enumerable:!0,value:ne})}:function(wt,ne){wt.default=ne}),Tt=te&&te.__importStar||function(wt){if(wt&&wt.__esModule)return wt;var ne={};if(wt!=null)for(var e in wt)e!=="default"&&Object.prototype.hasOwnProperty.call(wt,e)&&X(ne,wt,e);return tt(ne,wt),ne};Object.defineProperty(te,"__esModule",{value:!0}),te.visitorKeys=void 0;var fn=Tt(zS()),Pt={ImportAttribute:["key","value"],ArrayPattern:["decorators","elements","typeAnnotation"],ArrowFunctionExpression:["typeParameters","params","returnType","body"],AssignmentPattern:["decorators","left","right","typeAnnotation"],CallExpression:["callee","typeParameters","arguments"],ClassDeclaration:["decorators","id","typeParameters","superClass","superTypeParameters","implements","body"],ClassExpression:["decorators","id","typeParameters","superClass","superTypeParameters","implements","body"],ExportAllDeclaration:["exported","source","assertions"],ExportNamedDeclaration:["declaration","specifiers","source","assertions"],FunctionDeclaration:["id","typeParameters","params","returnType","body"],FunctionExpression:["id","typeParameters","params","returnType","body"],Identifier:["decorators","typeAnnotation"],ImportDeclaration:["specifiers","source","assertions"],ImportExpression:["source","attributes"],MethodDefinition:["decorators","key","value"],NewExpression:["callee","typeParameters","arguments"],ObjectPattern:["decorators","properties","typeAnnotation"],PropertyDefinition:["decorators","key","typeAnnotation","value"],RestElement:["decorators","argument","typeAnnotation"],TaggedTemplateExpression:["tag","typeParameters","quasi"],StaticBlock:["body"],JSXOpeningElement:["name","typeParameters","attributes"],JSXClosingFragment:[],JSXOpeningFragment:[],JSXSpreadChild:["expression"],Decorator:["expression"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAnyKeyword:[],TSArrayType:["elementType"],TSAsExpression:["expression","typeAnnotation"],TSAsyncKeyword:[],TSBigIntKeyword:[],TSBooleanKeyword:[],TSCallSignatureDeclaration:["typeParameters","params","returnType"],TSClassImplements:["expression","typeParameters"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSConstructorType:["typeParameters","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","params","returnType"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSExportAssignment:["expression"],TSExportKeyword:[],TSExternalModuleReference:["expression"],TSFunctionType:["typeParameters","params","returnType"],TSImportEqualsDeclaration:["id","moduleReference"],TSImportType:["parameter","qualifier","typeParameters"],TSIndexedAccessType:["indexType","objectType"],TSIndexSignature:["parameters","typeAnnotation"],TSInferType:["typeParameter"],TSInterfaceBody:["body"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceHeritage:["expression","typeParameters"],TSIntersectionType:["types"],TSIntrinsicKeyword:[],TSLiteralType:["literal"],TSMappedType:["nameType","typeParameter","typeAnnotation"],TSMethodSignature:["typeParameters","key","params","returnType"],TSModuleBlock:["body"],TSModuleDeclaration:["id","body"],TSNamedTupleMember:["elementType"],TSNamespaceExportDeclaration:["id"],TSNeverKeyword:[],TSNonNullExpression:["expression"],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSOptionalType:["typeAnnotation"],TSParameterProperty:["decorators","parameter"],TSPrivateKeyword:[],TSPropertySignature:["typeAnnotation","key","initializer"],TSProtectedKeyword:[],TSPublicKeyword:[],TSQualifiedName:["left","right"],TSReadonlyKeyword:[],TSRestType:["typeAnnotation"],TSStaticKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSTemplateLiteralType:["quasis","types"],TSThisType:[],TSTupleType:["elementTypes"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSTypeAnnotation:["typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSTypeLiteral:["members"],TSTypeOperator:["typeAnnotation"],TSTypeParameter:["name","constraint","default"],TSTypeParameterDeclaration:["params"],TSTypeParameterInstantiation:["params"],TSTypePredicate:["typeAnnotation","parameterName"],TSTypeQuery:["exprName"],TSTypeReference:["typeName","typeParameters"],TSUndefinedKeyword:[],TSUnionType:["types"],TSUnknownKeyword:[],TSVoidKeyword:[]},dt=fn.unionWith(Pt);te.visitorKeys=dt}}),US=_r({"node_modules/@typescript-eslint/visitor-keys/dist/index.js"(te){Mr(),Object.defineProperty(te,"__esModule",{value:!0}),te.visitorKeys=te.getKeys=void 0;var X=N3();Object.defineProperty(te,"getKeys",{enumerable:!0,get:function(){return X.getKeys}});var tt=P3();Object.defineProperty(te,"visitorKeys",{enumerable:!0,get:function(){return tt.visitorKeys}})}}),qS=_r({"node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js"(te){Mr(),Object.defineProperty(te,"__esModule",{value:!0}),te.simpleTraverse=void 0;var X=US();function tt(dt){return dt!==null&&typeof dt=="object"&&typeof dt.type=="string"}function Tt(dt,wt){let ne=dt[wt.type];return ne!=null?ne:[]}var fn=class{constructor(dt){let wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;this.allVisitorKeys=X.visitorKeys,this.selectors=dt,this.setParentPointers=wt}traverse(dt,wt){if(!tt(dt))return;this.setParentPointers&&(dt.parent=wt),"enter"in this.selectors?this.selectors.enter(dt,wt):dt.type in this.selectors&&this.selectors[dt.type](dt,wt);let ne=Tt(this.allVisitorKeys,dt);if(!(ne.length<1))for(let e of ne){let a=dt[e];if(Array.isArray(a))for(let u of a)this.traverse(u,dt);else this.traverse(a,dt)}}};function Pt(dt,wt){let ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;new fn(wt,ne).traverse(dt,void 0)}te.simpleTraverse=Pt}}),A3=_r({"node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js"(te){Mr(),Object.defineProperty(te,"__esModule",{value:!0}),te.astConverter=void 0;var X=MS(),tt=k3(),Tt=c0(),fn=qS();function Pt(dt,wt,ne){let{parseDiagnostics:e}=dt;if(e.length)throw(0,X.convertError)(e[0]);let a=new X.Converter(dt,{errorOnUnknownASTType:wt.errorOnUnknownASTType||!1,shouldPreserveNodeMaps:ne}),u=a.convertProgram();(!wt.range||!wt.loc)&&(0,fn.simpleTraverse)(u,{enter:r=>{wt.range||delete r.range,wt.loc||delete r.loc}}),wt.tokens&&(u.tokens=(0,Tt.convertTokens)(dt)),wt.comment&&(u.comments=(0,tt.convertComments)(dt,wt.code));let P=a.getASTMaps();return{estree:u,astMaps:P}}te.astConverter=Pt}}),$m=_r({"node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js"(te){Mr();var X=te&&te.__createBinding||(Object.create?function(k,se,le,f){f===void 0&&(f=le);var b=Object.getOwnPropertyDescriptor(se,le);(!b||("get"in b?!se.__esModule:b.writable||b.configurable))&&(b={enumerable:!0,get:function(){return se[le]}}),Object.defineProperty(k,f,b)}:function(k,se,le,f){f===void 0&&(f=le),k[f]=se[le]}),tt=te&&te.__setModuleDefault||(Object.create?function(k,se){Object.defineProperty(k,"default",{enumerable:!0,value:se})}:function(k,se){k.default=se}),Tt=te&&te.__importStar||function(k){if(k&&k.__esModule)return k;var se={};if(k!=null)for(var le in k)le!=="default"&&Object.prototype.hasOwnProperty.call(k,le)&&X(se,k,le);return tt(se,k),se},fn=te&&te.__importDefault||function(k){return k&&k.__esModule?k:{default:k}};Object.defineProperty(te,"__esModule",{value:!0}),te.getModuleResolver=te.getAstFromProgram=te.getScriptKind=te.getCanonicalFileName=te.ensureAbsolutePath=te.createDefaultCompilerOptionsFromExtra=te.canonicalDirname=te.CORE_COMPILER_OPTIONS=void 0;var Pt=fn(By()),dt=Tt(Wu()),wt={noEmit:!0,noUnusedLocals:!0,noUnusedParameters:!0};te.CORE_COMPILER_OPTIONS=wt;var ne=Object.assign(Object.assign({},wt),{allowNonTsExtensions:!0,allowJs:!0,checkJs:!0});function e(k){return k.debugLevel.has("typescript")?Object.assign(Object.assign({},ne),{extendedDiagnostics:!0}):ne}te.createDefaultCompilerOptionsFromExtra=e;var a=dt.sys!==void 0?dt.sys.useCaseSensitiveFileNames:!0,u=a?k=>k:k=>k.toLowerCase();function P(k){let se=Pt.default.normalize(k);return se.endsWith(Pt.default.sep)&&(se=se.slice(0,-1)),u(se)}te.getCanonicalFileName=P;function r(k,se){return Pt.default.isAbsolute(k)?k:Pt.default.join(se.tsconfigRootDir||"/prettier-security-dirname-placeholder",k)}te.ensureAbsolutePath=r;function v(k){return Pt.default.dirname(k)}te.canonicalDirname=v;function G(k){let se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:k.filePath;switch(Pt.default.extname(se).toLowerCase()){case".ts":return dt.ScriptKind.TS;case".tsx":return dt.ScriptKind.TSX;case".js":return dt.ScriptKind.JS;case".jsx":return dt.ScriptKind.JSX;case".json":return dt.ScriptKind.JSON;default:return k.jsx?dt.ScriptKind.TSX:dt.ScriptKind.TS}}te.getScriptKind=G;function ue(k){return k?k.endsWith(".d.ts")?".d.ts":Pt.default.extname(k):null}function h(k,se){let le=k.getSourceFile(se.filePath),f=ue(se.filePath),b=ue(le==null?void 0:le.fileName);if(f===b)return le&&{ast:le,program:k}}te.getAstFromProgram=h;function S(k){let se;try{throw new Error("Dynamic require is not supported")}catch{let le=["Could not find the provided parserOptions.moduleResolver.","Hint: use an absolute path if you are not in control over where the ESLint instance runs."];throw new Error(le.join(` `))}return se}te.getModuleResolver=S}}),F3=_r({"node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js"(te){Mr();var X=te&&te.__createBinding||(Object.create?function(u,P,r,v){v===void 0&&(v=r);var G=Object.getOwnPropertyDescriptor(P,r);(!G||("get"in G?!P.__esModule:G.writable||G.configurable))&&(G={enumerable:!0,get:function(){return P[r]}}),Object.defineProperty(u,v,G)}:function(u,P,r,v){v===void 0&&(v=r),u[v]=P[r]}),tt=te&&te.__setModuleDefault||(Object.create?function(u,P){Object.defineProperty(u,"default",{enumerable:!0,value:P})}:function(u,P){u.default=P}),Tt=te&&te.__importStar||function(u){if(u&&u.__esModule)return u;var P={};if(u!=null)for(var r in u)r!=="default"&&Object.prototype.hasOwnProperty.call(u,r)&&X(P,u,r);return tt(P,u),P},fn=te&&te.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(te,"__esModule",{value:!0}),te.createDefaultProgram=void 0;var Pt=fn(Ym()),dt=fn(By()),wt=Tt(Wu()),ne=$m(),e=(0,Pt.default)("typescript-eslint:typescript-estree:createDefaultProgram");function a(u,P){if(e("Getting default program for: %s",P.filePath||"unnamed file"),!P.projects||P.projects.length!==1)return;let r=P.projects[0],v=wt.getParsedCommandLineOfConfigFile(r,(0,ne.createDefaultCompilerOptionsFromExtra)(P),Object.assign(Object.assign({},wt.sys),{onUnRecoverableConfigFileDiagnostic:()=>{}}));if(!v)return;let G=wt.createCompilerHost(v.options,!0);P.moduleResolver&&(G.resolveModuleNames=(0,ne.getModuleResolver)(P.moduleResolver).resolveModuleNames);let ue=G.readFile;G.readFile=k=>dt.default.normalize(k)===dt.default.normalize(P.filePath)?u:ue(k);let h=wt.createProgram([P.filePath],v.options,G),S=h.getSourceFile(P.filePath);return S&&{ast:S,program:h}}te.createDefaultProgram=a}}),w3=_r({"node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js"(te){Mr();var X=te&&te.__createBinding||(Object.create?function(a,u,P,r){r===void 0&&(r=P);var v=Object.getOwnPropertyDescriptor(u,P);(!v||("get"in v?!u.__esModule:v.writable||v.configurable))&&(v={enumerable:!0,get:function(){return u[P]}}),Object.defineProperty(a,r,v)}:function(a,u,P,r){r===void 0&&(r=P),a[r]=u[P]}),tt=te&&te.__setModuleDefault||(Object.create?function(a,u){Object.defineProperty(a,"default",{enumerable:!0,value:u})}:function(a,u){a.default=u}),Tt=te&&te.__importStar||function(a){if(a&&a.__esModule)return a;var u={};if(a!=null)for(var P in a)P!=="default"&&Object.prototype.hasOwnProperty.call(a,P)&&X(u,a,P);return tt(u,a),u},fn=te&&te.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(te,"__esModule",{value:!0}),te.createIsolatedProgram=void 0;var Pt=fn(Ym()),dt=Tt(Wu()),wt=$m(),ne=(0,Pt.default)("typescript-eslint:typescript-estree:createIsolatedProgram");function e(a,u){ne("Getting isolated program in %s mode for: %s",u.jsx?"TSX":"TS",u.filePath);let P={fileExists(){return!0},getCanonicalFileName(){return u.filePath},getCurrentDirectory(){return""},getDirectories(){return[]},getDefaultLibFileName(){return"lib.d.ts"},getNewLine(){return` `},getSourceFile(G){return dt.createSourceFile(G,a,dt.ScriptTarget.Latest,!0,(0,wt.getScriptKind)(u,G))},readFile(){},useCaseSensitiveFileNames(){return!0},writeFile(){return null}},r=dt.createProgram([u.filePath],Object.assign({noResolve:!0,target:dt.ScriptTarget.Latest,jsx:u.jsx?dt.JsxEmit.Preserve:void 0},(0,wt.createDefaultCompilerOptionsFromExtra)(u)),P),v=r.getSourceFile(u.filePath);if(!v)throw new Error("Expected an ast to be returned for the single-file isolated program.");return{ast:v,program:r}}te.createIsolatedProgram=e}}),WS=_r({"node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js"(te){Mr();var X=te&&te.__createBinding||(Object.create?function(re,F,O,Q){Q===void 0&&(Q=O);var de=Object.getOwnPropertyDescriptor(F,O);(!de||("get"in de?!F.__esModule:de.writable||de.configurable))&&(de={enumerable:!0,get:function(){return F[O]}}),Object.defineProperty(re,Q,de)}:function(re,F,O,Q){Q===void 0&&(Q=O),re[Q]=F[O]}),tt=te&&te.__setModuleDefault||(Object.create?function(re,F){Object.defineProperty(re,"default",{enumerable:!0,value:F})}:function(re,F){re.default=F}),Tt=te&&te.__importStar||function(re){if(re&&re.__esModule)return re;var F={};if(re!=null)for(var O in re)O!=="default"&&Object.prototype.hasOwnProperty.call(re,O)&&X(F,re,O);return tt(F,re),F},fn=te&&te.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(te,"__esModule",{value:!0}),te.getProgramsForProjects=te.createWatchProgram=te.clearWatchCaches=void 0;var Pt=fn(Ym()),dt=fn(L1()),wt=fn(A1()),ne=Tt(Wu()),e=$m(),a=(0,Pt.default)("typescript-eslint:typescript-estree:createWatchProgram"),u=new Map,P=new Map,r=new Map,v=new Map,G=new Map,ue=new Map;function h(){u.clear(),P.clear(),r.clear(),ue.clear(),v.clear(),G.clear()}te.clearWatchCaches=h;function S(re){return(F,O)=>{let Q=(0,e.getCanonicalFileName)(F),de=(()=>{let $=re.get(Q);return $||($=new Set,re.set(Q,$)),$})();return de.add(O),{close:()=>{de.delete(O)}}}}var k={code:"",filePath:""};function se(re){throw new Error(ne.flattenDiagnosticMessageText(re.messageText,ne.sys.newLine))}function le(re){var F;return!((F=ne.sys)===null||F===void 0)&&F.createHash?ne.sys.createHash(re):re}function f(re,F,O){let Q=O.EXPERIMENTAL_useSourceOfProjectReferenceRedirect?new Set(F.getSourceFiles().map(de=>(0,e.getCanonicalFileName)(de.fileName))):new Set(F.getRootFileNames().map(de=>(0,e.getCanonicalFileName)(de)));return v.set(re,Q),Q}function b(re,F,O){let Q=(0,e.getCanonicalFileName)(F),de=[];k.code=re,k.filePath=Q;let $=P.get(Q),I=le(re);ue.get(Q)!==I&&$&&$.size>0&&$.forEach(Z=>Z(Q,ne.FileWatcherEventKind.Changed));for(let[Z,z]of u.entries()){let ie=v.get(Z),m=null;if(ie||(m=z.getProgram().getProgram(),ie=f(Z,m,O)),ie.has(Q))return a("Found existing program for file. %s",Q),m=m!=null?m:z.getProgram().getProgram(),m.getTypeChecker(),[m]}a("File did not belong to any existing programs, moving to create/update. %s",Q);for(let Z of O.projects){let z=u.get(Z);if(z){let A=Y(z,Q,Z);if(!A)continue;if(A.getTypeChecker(),f(Z,A,O).has(Q))return a("Found updated program for file. %s",Q),[A];de.push(A);continue}let ie=K(Z,O);u.set(Z,ie);let m=ie.getProgram().getProgram();if(m.getTypeChecker(),f(Z,m,O).has(Q))return a("Found program for file. %s",Q),[m];de.push(m)}return de}te.getProgramsForProjects=b;var y=wt.default.satisfies(ne.version,">=3.9.0-beta",{includePrerelease:!0});function K(re,F){a("Creating watch program for %s.",re);let O=ne.createWatchCompilerHost(re,(0,e.createDefaultCompilerOptionsFromExtra)(F),ne.sys,ne.createAbstractBuilder,se,()=>{});F.moduleResolver&&(O.resolveModuleNames=(0,e.getModuleResolver)(F.moduleResolver).resolveModuleNames);let Q=O.readFile;O.readFile=(Z,z)=>{let ie=(0,e.getCanonicalFileName)(Z),m=ie===k.filePath?k.code:Q(ie,z);return m!==void 0&&ue.set(ie,le(m)),m},O.onUnRecoverableConfigFileDiagnostic=se,O.afterProgramCreate=Z=>{let z=Z.getConfigFileParsingDiagnostics().filter(ie=>ie.category===ne.DiagnosticCategory.Error&&ie.code!==18003);z.length>0&&se(z[0])},O.watchFile=S(P),O.watchDirectory=S(r);let de=O.onCachedDirectoryStructureHostCreate;O.onCachedDirectoryStructureHostCreate=Z=>{let z=Z.readDirectory;Z.readDirectory=(ie,m,A,g,C)=>z(ie,m?m.concat(F.extraFileExtensions):void 0,A,g,C),de(Z)},O.extraFileExtensions=F.extraFileExtensions.map(Z=>({extension:Z,isMixedContent:!0,scriptKind:ne.ScriptKind.Deferred})),O.trace=a,O.useSourceOfProjectReferenceRedirect=()=>F.EXPERIMENTAL_useSourceOfProjectReferenceRedirect;let $;y?(O.setTimeout=void 0,O.clearTimeout=void 0):(a("Running without timeout fix"),O.setTimeout=function(Z,z){for(var ie=arguments.length,m=new Array(ie>2?ie-2:0),A=2;A{$=void 0});let I=ne.createWatchProgram(O);if(!y){let Z=I.getProgram;I.getProgram=()=>($&&$(),$=void 0,Z.call(I))}return I}te.createWatchProgram=K;function ce(re){let F=dt.default.statSync(re).mtimeMs,O=G.get(re);return G.set(re,F),O===void 0?!1:Math.abs(O-F)>Number.EPSILON}function Y(re,F,O){let Q=re.getProgram().getProgram();if(Qa.env.TSESTREE_NO_INVALIDATION==="true")return Q;ce(O)&&(a("tsconfig has changed - triggering program update. %s",O),P.get(O).forEach(A=>A(O,ne.FileWatcherEventKind.Changed)),v.delete(O));let de=Q.getSourceFile(F);if(de)return Q;a("File was not found in program - triggering folder update. %s",F);let $=(0,e.canonicalDirname)(F),I=null,Z=$,z=!1;for(;I!==Z;){I=Z;let A=r.get(I);A&&(A.forEach(g=>{$!==I&&g($,ne.FileWatcherEventKind.Changed),g(I,ne.FileWatcherEventKind.Changed)}),z=!0),Z=(0,e.canonicalDirname)(I)}if(!z)return a("No callback found for file, not part of this program. %s",F),null;if(v.delete(O),Q=re.getProgram().getProgram(),de=Q.getSourceFile(F),de)return Q;a("File was still not found in program after directory update - checking file deletions. %s",F);let ie=Q.getRootFileNames().find(A=>!dt.default.existsSync(A));if(!ie)return null;let m=P.get((0,e.getCanonicalFileName)(ie));return m?(a("Marking file as deleted. %s",ie),m.forEach(A=>A(ie,ne.FileWatcherEventKind.Deleted)),v.delete(O),Q=re.getProgram().getProgram(),de=Q.getSourceFile(F),de?Q:(a("File was still not found in program after deletion check, assuming it is not part of this program. %s",F),null)):(a("Could not find watch callbacks for root file. %s",ie),Q)}}}),I3=_r({"node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js"(te){Mr();var X=te&&te.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(te,"__esModule",{value:!0}),te.createProjectProgram=void 0;var tt=X(Ym()),Tt=X(By()),fn=WS(),Pt=c0(),dt=$m(),wt=(0,tt.default)("typescript-eslint:typescript-estree:createProjectProgram"),ne=[".ts",".tsx",".js",".jsx"];function e(a,u,P){wt("Creating project program for: %s",P.filePath);let r=(0,Pt.firstDefined)((0,fn.getProgramsForProjects)(a,P.filePath,P),v=>(0,dt.getAstFromProgram)(v,P));if(!r&&!u){let v=['"parserOptions.project" has been set for @typescript-eslint/parser.',"The file does not match your project config: ".concat(Tt.default.relative(P.tsconfigRootDir||"/prettier-security-dirname-placeholder",P.filePath),".")],G=!1,ue=P.extraFileExtensions||[];ue.forEach(S=>{S.startsWith(".")||v.push('Found unexpected extension "'.concat(S,'" specified with the "extraFileExtensions" option. Did you mean ".').concat(S,'"?')),ne.includes(S)&&v.push('You unnecessarily included the extension "'.concat(S,'" with the "extraFileExtensions" option. This extension is already handled by the parser by default.'))});let h=Tt.default.extname(P.filePath);if(!ne.includes(h)){let S="The extension for the file (".concat(h,") is non-standard");ue.length>0?ue.includes(h)||(v.push("".concat(S,'. It should be added to your existing "parserOptions.extraFileExtensions".')),G=!0):(v.push("".concat(S,'. You should add "parserOptions.extraFileExtensions" to your config.')),G=!0)}throw G||v.push("The file must be included in at least one of the projects provided."),new Error(v.join(` `))}return r}te.createProjectProgram=e}}),O3=_r({"node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js"(te){Mr();var X=te&&te.__createBinding||(Object.create?function(a,u,P,r){r===void 0&&(r=P);var v=Object.getOwnPropertyDescriptor(u,P);(!v||("get"in v?!u.__esModule:v.writable||v.configurable))&&(v={enumerable:!0,get:function(){return u[P]}}),Object.defineProperty(a,r,v)}:function(a,u,P,r){r===void 0&&(r=P),a[r]=u[P]}),tt=te&&te.__setModuleDefault||(Object.create?function(a,u){Object.defineProperty(a,"default",{enumerable:!0,value:u})}:function(a,u){a.default=u}),Tt=te&&te.__importStar||function(a){if(a&&a.__esModule)return a;var u={};if(a!=null)for(var P in a)P!=="default"&&Object.prototype.hasOwnProperty.call(a,P)&&X(u,a,P);return tt(u,a),u},fn=te&&te.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(te,"__esModule",{value:!0}),te.createSourceFile=void 0;var Pt=fn(Ym()),dt=Tt(Wu()),wt=$m(),ne=(0,Pt.default)("typescript-eslint:typescript-estree:createSourceFile");function e(a,u){return ne("Getting AST without type information in %s mode for: %s",u.jsx?"TSX":"TS",u.filePath),dt.createSourceFile(u.filePath,a,dt.ScriptTarget.Latest,!0,(0,wt.getScriptKind)(u))}te.createSourceFile=e}}),M3=_r({"node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js"(te){Mr(),Object.defineProperty(te,"__esModule",{value:!0}),te.getFirstSemanticOrSyntacticError=void 0;var X=Wu();function tt(Pt,dt){try{let wt=Tt(Pt.getSyntacticDiagnostics(dt));if(wt.length)return fn(wt[0]);let ne=Tt(Pt.getSemanticDiagnostics(dt));return ne.length?fn(ne[0]):void 0}catch(wt){console.warn('Warning From TSC: "'.concat(wt.message));return}}te.getFirstSemanticOrSyntacticError=tt;function Tt(Pt){return Pt.filter(dt=>{switch(dt.code){case 1013:case 1014:case 1044:case 1045:case 1048:case 1049:case 1070:case 1071:case 1085:case 1090:case 1096:case 1097:case 1098:case 1099:case 1117:case 1121:case 1123:case 1141:case 1162:case 1164:case 1172:case 1173:case 1175:case 1176:case 1190:case 1196:case 1200:case 1206:case 1211:case 1242:case 1246:case 1255:case 1308:case 2364:case 2369:case 2452:case 2462:case 8017:case 17012:case 17013:return!0}return!1})}function fn(Pt){return Object.assign(Object.assign({},Pt),{message:(0,X.flattenDiagnosticMessageText)(Pt.messageText,X.sys.newLine)})}}}),VS=_r({"node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js"(te){Mr();var X=te&&te.__createBinding||(Object.create?function(v,G,ue,h){h===void 0&&(h=ue);var S=Object.getOwnPropertyDescriptor(G,ue);(!S||("get"in S?!G.__esModule:S.writable||S.configurable))&&(S={enumerable:!0,get:function(){return G[ue]}}),Object.defineProperty(v,h,S)}:function(v,G,ue,h){h===void 0&&(h=ue),v[h]=G[ue]}),tt=te&&te.__setModuleDefault||(Object.create?function(v,G){Object.defineProperty(v,"default",{enumerable:!0,value:G})}:function(v,G){v.default=G}),Tt=te&&te.__importStar||function(v){if(v&&v.__esModule)return v;var G={};if(v!=null)for(var ue in v)ue!=="default"&&Object.prototype.hasOwnProperty.call(v,ue)&&X(G,v,ue);return tt(G,v),G},fn=te&&te.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(te,"__esModule",{value:!0}),te.createProgramFromConfigFile=te.useProvidedPrograms=void 0;var Pt=fn(Ym()),dt=Tt(L1()),wt=Tt(By()),ne=Tt(Wu()),e=$m(),a=(0,Pt.default)("typescript-eslint:typescript-estree:useProvidedProgram");function u(v,G){a("Retrieving ast for %s from provided program instance(s)",G.filePath);let ue;for(let h of v)if(ue=(0,e.getAstFromProgram)(h,G),ue)break;if(!ue){let h=wt.relative(G.tsconfigRootDir||"/prettier-security-dirname-placeholder",G.filePath),S=['"parserOptions.programs" has been provided for @typescript-eslint/parser.',"The file was not found in any of the provided program instance(s): ".concat(h)];throw new Error(S.join(` `))}return ue.program.getTypeChecker(),ue}te.useProvidedPrograms=u;function P(v,G){if(ne.sys===void 0)throw new Error("`createProgramFromConfigFile` is only supported in a Node-like environment.");let ue=ne.getParsedCommandLineOfConfigFile(v,e.CORE_COMPILER_OPTIONS,{onUnRecoverableConfigFileDiagnostic:S=>{throw new Error(r([S]))},fileExists:dt.existsSync,getCurrentDirectory:()=>G&&wt.resolve(G)||"/prettier-security-dirname-placeholder",readDirectory:ne.sys.readDirectory,readFile:S=>dt.readFileSync(S,"utf-8"),useCaseSensitiveFileNames:ne.sys.useCaseSensitiveFileNames});if(ue.errors.length)throw new Error(r(ue.errors));let h=ne.createCompilerHost(ue.options,!0);return ne.createProgram(ue.fileNames,ue.options,h)}te.createProgramFromConfigFile=P;function r(v){return ne.formatDiagnostics(v,{getCanonicalFileName:G=>G,getCurrentDirectory:Qa.cwd,getNewLine:()=>` `})}}}),L3=_r({"node_modules/@typescript-eslint/typescript-estree/dist/parser.js"(te){Mr();var X=te&&te.__createBinding||(Object.create?function(g,C,N,_){_===void 0&&(_=N);var d=Object.getOwnPropertyDescriptor(C,N);(!d||("get"in d?!C.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return C[N]}}),Object.defineProperty(g,_,d)}:function(g,C,N,_){_===void 0&&(_=N),g[_]=C[N]}),tt=te&&te.__setModuleDefault||(Object.create?function(g,C){Object.defineProperty(g,"default",{enumerable:!0,value:C})}:function(g,C){g.default=C}),Tt=te&&te.__importStar||function(g){if(g&&g.__esModule)return g;var C={};if(g!=null)for(var N in g)N!=="default"&&Object.prototype.hasOwnProperty.call(g,N)&&X(C,g,N);return tt(C,g),C},fn=te&&te.__importDefault||function(g){return g&&g.__esModule?g:{default:g}};Object.defineProperty(te,"__esModule",{value:!0}),te.clearParseAndGenerateServicesCalls=te.clearProgramCache=te.parseWithNodeMaps=te.parseAndGenerateServices=te.parse=void 0;var Pt=fn(Ym());fn(vN());var dt=fn(A1()),wt=By(),ne=Tt(Wu()),e=A3(),a=MS(),u=F3(),P=w3(),r=I3(),v=O3(),G=M3(),ue=$m(),h=VS(),S=(0,Pt.default)("typescript-eslint:typescript-estree:parser"),k=">=3.3.1 <4.7.0",se=[],le=ne.version,f=dt.default.satisfies(le,[k].concat(se).join(" || ")),b,y=!1,K=new Map;function ce(){K.clear()}te.clearProgramCache=ce;function Y(g){return typeof g!="string"?String(g):g}function re(g,C,N,_){return C&&(0,h.useProvidedPrograms)(C,b)||N&&(0,r.createProjectProgram)(g,_,b)||N&&_&&(0,u.createDefaultProgram)(g,b)||(0,P.createIsolatedProgram)(g,b)}function F(){let{jsx:g}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return g?"estree.tsx":"estree.ts"}function O(){b={code:"",comment:!1,comments:[],createDefaultProgram:!1,debugLevel:new Set,errorOnTypeScriptSyntacticAndSemanticIssues:!1,errorOnUnknownASTType:!1,EXPERIMENTAL_useSourceOfProjectReferenceRedirect:!1,extraFileExtensions:[],filePath:F(),jsx:!1,loc:!1,log:console.log,preserveNodeMaps:!0,programs:null,projects:[],range:!1,strict:!1,tokens:null,tsconfigRootDir:"/prettier-security-dirname-placeholder",singleRun:!1,moduleResolver:""}}function Q(g){var C;if(g.debugLevel===!0?b.debugLevel=new Set(["typescript-eslint"]):Array.isArray(g.debugLevel)&&(b.debugLevel=new Set(g.debugLevel)),b.debugLevel.size>0){let N=[];b.debugLevel.has("typescript-eslint")&&N.push("typescript-eslint:*"),(b.debugLevel.has("eslint")||Pt.default.enabled("eslint:*,-eslint:code-path"))&&N.push("eslint:*,-eslint:code-path"),Pt.default.enable(N.join(","))}if(b.range=typeof g.range=="boolean"&&g.range,b.loc=typeof g.loc=="boolean"&&g.loc,typeof g.tokens=="boolean"&&g.tokens&&(b.tokens=[]),typeof g.comment=="boolean"&&g.comment&&(b.comment=!0,b.comments=[]),typeof g.jsx=="boolean"&&g.jsx&&(b.jsx=!0),typeof g.filePath=="string"&&g.filePath!==""?b.filePath=g.filePath:b.filePath=F(b),typeof g.errorOnUnknownASTType=="boolean"&&g.errorOnUnknownASTType&&(b.errorOnUnknownASTType=!0),typeof g.loggerFn=="function"?b.log=g.loggerFn:g.loggerFn===!1&&(b.log=()=>{}),typeof g.tsconfigRootDir=="string"&&(b.tsconfigRootDir=g.tsconfigRootDir),b.filePath=(0,ue.ensureAbsolutePath)(b.filePath,b),Array.isArray(g.programs)){if(!g.programs.length)throw new Error("You have set parserOptions.programs to an empty array. This will cause all files to not be found in existing programs. Either provide one or more existing TypeScript Program instances in the array, or remove the parserOptions.programs setting.");b.programs=g.programs,S("parserOptions.programs was provided, so parserOptions.project will be ignored.")}b.programs||(((C=g.projectFolderIgnoreList)!==null&&C!==void 0?C:["**/node_modules/**"]).reduce((N,_)=>(typeof _=="string"&&N.push(_),N),[]).map(N=>N.startsWith("!")?N:"!".concat(N)),b.projects=[]),Array.isArray(g.extraFileExtensions)&&g.extraFileExtensions.every(N=>typeof N=="string")&&(b.extraFileExtensions=g.extraFileExtensions),typeof g.preserveNodeMaps=="boolean"&&(b.preserveNodeMaps=g.preserveNodeMaps),b.createDefaultProgram=typeof g.createDefaultProgram=="boolean"&&g.createDefaultProgram,b.EXPERIMENTAL_useSourceOfProjectReferenceRedirect=typeof g.EXPERIMENTAL_useSourceOfProjectReferenceRedirect=="boolean"&&g.EXPERIMENTAL_useSourceOfProjectReferenceRedirect,typeof g.moduleResolver=="string"&&(b.moduleResolver=g.moduleResolver)}function de(){var g;if(!f&&!y){if(!(typeof Qa>"u")&&((g=Qa.stdout)===null||g===void 0?void 0:g.isTTY)){let C="=============",N=[C,"WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.","You may find that it works just fine, or you may not.","SUPPORTED TYPESCRIPT VERSIONS: ".concat(k),"YOUR TYPESCRIPT VERSION: ".concat(le),"Please only submit bug reports when using the officially supported version.",C];b.log(N.join(` `))}y=!0}}function $(g){if(Qa.env.TSESTREE_SINGLE_RUN==="false"){b.singleRun=!1;return}if(Qa.env.TSESTREE_SINGLE_RUN==="true"){b.singleRun=!0;return}if(g!=null&&g.allowAutomaticSingleRunInference&&(Qa.env.CI==="true"||Qa.argv[1].endsWith((0,wt.normalize)("node_modules/.bin/eslint")))){b.singleRun=!0;return}b.singleRun=!1}function I(g,C){let{ast:N}=Z(g,C,!1);return N}te.parse=I;function Z(g,C,N){if(O(),C!=null&&C.errorOnTypeScriptSyntacticAndSemanticIssues)throw new Error('"errorOnTypeScriptSyntacticAndSemanticIssues" is only supported for parseAndGenerateServices()');g=Y(g),b.code=g,typeof C<"u"&&Q(C),de(),$(C);let _=(0,v.createSourceFile)(g,b),{estree:d,astMaps:E}=(0,e.astConverter)(_,b,N);return{ast:d,esTreeNodeToTSNodeMap:E.esTreeNodeToTSNodeMap,tsNodeToESTreeNodeMap:E.tsNodeToESTreeNodeMap}}function z(g,C){return Z(g,C,!0)}te.parseWithNodeMaps=z;var ie={};function m(){ie={}}te.clearParseAndGenerateServicesCalls=m;function A(g,C){var N;O(),g=Y(g),b.code=g,typeof C<"u"&&(Q(C),typeof C.errorOnTypeScriptSyntacticAndSemanticIssues=="boolean"&&C.errorOnTypeScriptSyntacticAndSemanticIssues&&(b.errorOnTypeScriptSyntacticAndSemanticIssues=!0)),de(),$(C),b.singleRun&&!b.programs&&((N=b.projects)===null||N===void 0?void 0:N.length)>0&&(b.programs={*[Symbol.iterator](){for(let J of b.projects){let M=K.get(J);if(M)yield M;else{S("Detected single-run/CLI usage, creating Program once ahead of time for project: %s",J);let pe=(0,h.createProgramFromConfigFile)(J);K.set(J,pe),yield pe}}}});let _=b.programs!=null||b.projects&&b.projects.length>0,d,E;if(b.singleRun&&C.filePath&&(ie[C.filePath]=(ie[C.filePath]||0)+1),b.singleRun&&C.filePath&&ie[C.filePath]>1){let J=(0,P.createIsolatedProgram)(g,b);d=J.ast,E=J.program}else{let J=re(g,b.programs,_,b.createDefaultProgram);d=J.ast,E=J.program}let j=typeof b.preserveNodeMaps=="boolean"?b.preserveNodeMaps:!0,{estree:B,astMaps:W}=(0,e.astConverter)(d,b,j);if(E&&b.errorOnTypeScriptSyntacticAndSemanticIssues){let J=(0,G.getFirstSemanticOrSyntacticError)(E,d);if(J)throw(0,a.convertError)(J)}return{ast:B,services:{hasFullTypeInformation:_,program:E,esTreeNodeToTSNodeMap:W.esTreeNodeToTSNodeMap,tsNodeToESTreeNodeMap:W.tsNodeToESTreeNodeMap}}}te.parseAndGenerateServices=A}}),R3=_r({"node_modules/@typescript-eslint/typescript-estree/package.json"(te,X){X.exports={name:"@typescript-eslint/typescript-estree",version:"5.17.0",description:"A parser that converts TypeScript source code into an ESTree compatible form",main:"dist/index.js",types:"dist/index.d.ts",files:["dist","README.md","LICENSE"],engines:{node:"^12.22.0 || ^14.17.0 || >=16.0.0"},repository:{type:"git",url:"https://github.com/typescript-eslint/typescript-eslint.git",directory:"packages/typescript-estree"},bugs:{url:"https://github.com/typescript-eslint/typescript-eslint/issues"},license:"BSD-2-Clause",keywords:["ast","estree","ecmascript","javascript","typescript","parser","syntax"],scripts:{build:"tsc -b tsconfig.build.json",postbuild:"downlevel-dts dist _ts3.4/dist",clean:"tsc -b tsconfig.build.json --clean",postclean:"rimraf dist && rimraf _ts3.4 && rimraf coverage",format:'prettier --write "./**/*.{ts,js,json,md}" --ignore-path ../../.prettierignore',lint:"eslint . --ext .js,.ts --ignore-path='../../.eslintignore'",test:"jest --coverage",typecheck:"tsc -p tsconfig.json --noEmit"},dependencies:{"@typescript-eslint/types":"5.17.0","@typescript-eslint/visitor-keys":"5.17.0",debug:"^4.3.2",globby:"^11.0.4","is-glob":"^4.0.3",semver:"^7.3.5",tsutils:"^3.21.0"},devDependencies:{"@babel/code-frame":"^7.16.0","@babel/parser":"^7.16.0","@types/babel__code-frame":"^7.0.3","@types/debug":"*","@types/glob":"*","@types/is-glob":"*","@types/semver":"*","@types/tmp":"*","@typescript-eslint/shared-fixtures":"5.17.0",glob:"*","jest-specific-snapshot":"*","make-dir":"*",tmp:"*",typescript:"*"},peerDependenciesMeta:{typescript:{optional:!0}},funding:{type:"opencollective",url:"https://opencollective.com/typescript-eslint"},typesVersions:{"<3.8":{"*":["_ts3.4/*"]}},gitHead:"790a1eeac93cd3405a774db80a06da7bc15d0876"}}}),j3=_r({"node_modules/@typescript-eslint/typescript-estree/dist/index.js"(te){Mr();var X=te&&te.__createBinding||(Object.create?function(ne,e,a,u){u===void 0&&(u=a);var P=Object.getOwnPropertyDescriptor(e,a);(!P||("get"in P?!e.__esModule:P.writable||P.configurable))&&(P={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(ne,u,P)}:function(ne,e,a,u){u===void 0&&(u=a),ne[u]=e[a]}),tt=te&&te.__exportStar||function(ne,e){for(var a in ne)a!=="default"&&!Object.prototype.hasOwnProperty.call(e,a)&&X(e,ne,a)};Object.defineProperty(te,"__esModule",{value:!0}),te.version=te.visitorKeys=te.createProgram=te.clearCaches=te.simpleTraverse=te.clearProgramCache=te.parseWithNodeMaps=te.parseAndGenerateServices=te.parse=void 0;var Tt=L3();Object.defineProperty(te,"parse",{enumerable:!0,get:function(){return Tt.parse}}),Object.defineProperty(te,"parseAndGenerateServices",{enumerable:!0,get:function(){return Tt.parseAndGenerateServices}}),Object.defineProperty(te,"parseWithNodeMaps",{enumerable:!0,get:function(){return Tt.parseWithNodeMaps}}),Object.defineProperty(te,"clearProgramCache",{enumerable:!0,get:function(){return Tt.clearProgramCache}});var fn=qS();Object.defineProperty(te,"simpleTraverse",{enumerable:!0,get:function(){return fn.simpleTraverse}}),tt(s0(),te);var Pt=WS();Object.defineProperty(te,"clearCaches",{enumerable:!0,get:function(){return Pt.clearWatchCaches}});var dt=VS();Object.defineProperty(te,"createProgram",{enumerable:!0,get:function(){return dt.createProgramFromConfigFile}});var wt=US();Object.defineProperty(te,"visitorKeys",{enumerable:!0,get:function(){return wt.visitorKeys}}),te.version=R3().version}});Mr();var B3=Xo(),J3=us(),K3=uN(),z3=lN(),U3=gN(),HS={loc:!0,range:!0,comment:!0,jsx:!0,tokens:!0,loggerFn:!1,project:[]};function q3(te){let{message:X,lineNumber:tt,column:Tt}=te;return typeof tt!="number"?te:B3(X,{start:{line:tt,column:Tt+1}})}function W3(te,X){let tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Tt=z3(te),fn=V3(te),{parseWithNodeMaps:Pt}=j3(),{result:dt,error:wt}=J3(()=>Pt(Tt,Object.assign(Object.assign({},HS),{},{jsx:fn})),()=>Pt(Tt,Object.assign(Object.assign({},HS),{},{jsx:!fn})));if(!dt)throw q3(wt);return tt.originalText=te,tt.tsParseResult=dt,U3(dt.ast,tt)}function V3(te){return new RegExp(["(?:^[^\"'`]*)"].join(""),"m").test(te)}Zr.exports={parsers:{typescript:K3(W3)}}});return X6()})})(Qb);var vO=gO(Qb.exports),xO=yO({__proto__:null,default:vO},[Qb.exports]);export{xO as p};