(function(){var aL={647:function(Wl,Ys,Ql){"use strict";var ud="/";Ql.d(Ys,{I5:function(){return Fc},hV:function(){return My}}),Wl=Ql.hmd(Wl);var Ru=Ql(671);var Vr=function(e,o,ue){if(ue||arguments.length===2)for(var $=0,Y=o.length,W;$0&&W[W.length-1])&&(A[0]===6||A[0]===2)){ue=0;continue}if(A[0]===3&&(!W||A[1]>W[0]&&A[1]=0;We--){var sn=Ie(j[We],We);if(sn)return sn}}e.forEachRight=ye;function O(j,Ie){if(j!==void 0)for(var We=0;We=0;We--){var sn=j[We];if(Ie(sn,We))return sn}}e.findLast=H;function L(j,Ie,We){for(var sn=We||0;sn=0;sn--)if(Ie(j[sn],sn))return sn;return-1}e.findLastIndex=ee;function k(j,Ie){for(var We=0;We0;return!1}e.some=Ae;function Oe(j,Ie,We){for(var sn,Hn=0;Hn0&&e.Debug.assertGreaterThanOrEqual(We(Ie[vr],Ie[vr-1]),0);n:for(var Sr=Hn;HnSr&&e.Debug.assertGreaterThanOrEqual(We(j[Hn],j[Hn-1]),0),We(Ie[vr],j[Hn])){case-1:sn.push(Ie[vr]);continue e;case 0:continue e;case 1:continue n}}return sn}e.relativeComplement=pn;function Qe(j,Ie){for(var We=0,sn=0,Hn=j;sn>1),Et=We(j[ot],ot);switch(sn(Et,Ie)){case-1:vr=ot+1;break;case 0:return ot;case 1:Sr=ot-1;break}}return~vr}e.binarySearchKey=gn;function Wn(j,Ie,We,sn,Hn){if(j&&j.length>0){var vr=j.length;if(vr>0){var Sr=sn===void 0||sn<0?0:sn,ot=Hn===void 0||Sr+Hn>vr-1?vr-1:Sr+Hn,Et=void 0;for(arguments.length<=2?(Et=j[Sr],Sr++):Et=We;Sr<=ot;)Et=Ie(Et,j[Sr],Sr),Sr++;return Et}}return We}e.reduceLeft=Wn;var ze=Object.prototype.hasOwnProperty;function Tn(j,Ie){return ze.call(j,Ie)}e.hasProperty=Tn;function On(j,Ie){return ze.call(j,Ie)?j[Ie]:void 0}e.getProperty=On;function ur(j){var Ie=[];for(var We in j)ze.call(j,We)&&Ie.push(We);return Ie}e.getOwnKeys=ur;function hr(j){var Ie=[];do for(var We=Object.getOwnPropertyNames(j),sn=0,Hn=We;snIe?1:0)}e.compareStringsCaseInsensitive=Rr;function Lr(j,Ie){return at(j,Ie)}e.compareStringsCaseSensitive=Lr;function Xr(j){return j?Rr:Lr}e.getStringComparer=Xr;var nt=function(){var j,Ie,We=ot();return Et;function sn(ra,Na,ei){if(ra===Na)return 0;if(ra===void 0)return-1;if(Na===void 0)return 1;var Li=ei(ra,Na);return Li<0?-1:Li>0?1:0}function Hn(ra){var Na=new Intl.Collator(ra,{usage:"sort",sensitivity:"variant"}).compare;return function(ei,Li){return sn(ei,Li,Na)}}function vr(ra){if(ra!==void 0)return Sr();return function(ei,Li){return sn(ei,Li,Na)};function Na(ei,Li){return ei.localeCompare(Li)}}function Sr(){return function(ei,Li){return sn(ei,Li,ra)};function ra(ei,Li){return Na(ei.toUpperCase(),Li.toUpperCase())||Na(ei,Li)}function Na(ei,Li){return eiLi?1:0}}function ot(){return typeof Intl=="object"&&typeof Intl.Collator=="function"?Hn:typeof String.prototype.localeCompare=="function"&&typeof String.prototype.toLocaleUpperCase=="function"&&"a".localeCompare("B")<0?vr:Sr}function Et(ra){return ra===void 0?j||(j=We(ra)):ra==="en-US"?Ie||(Ie=We(ra)):We(ra)}}(),vt,or;function $t(){return or}e.getUILocale=$t;function Va(j){or!==j&&(or=j,vt=void 0)}e.setUILocale=Va;function li(j,Ie){var We=vt||(vt=nt(or));return We(j,Ie)}e.compareStringsCaseSensitiveUI=li;function zi(j,Ie,We,sn){return j===Ie?0:j===void 0?-1:Ie===void 0?1:sn(j[We],Ie[We])}e.compareProperties=zi;function Ma(j,Ie){return Hr(j?1:0,Ie?1:0)}e.compareBooleans=Ma;function di(j,Ie,We){for(var sn=Math.min(2,Math.floor(j.length*.34)),Hn=Math.floor(j.length*.4)+1,vr,Sr=0,ot=Ie;SrWe?Sr-We:1),ra=Math.floor(Ie.length>We+Sr?We+Sr:Ie.length);Hn[0]=Sr;for(var Na=Sr,ei=1;eiWe)return;var ho=sn;sn=Hn,Hn=ho}var vs=sn[Ie.length];return vs>We?void 0:vs}function uo(j,Ie){var We=j.length-Ie.length;return We>=0&&j.indexOf(Ie,We)===We}e.endsWith=uo;function bi(j,Ie){return uo(j,Ie)?j.slice(0,j.length-Ie.length):j}e.removeSuffix=bi;function Mi(j,Ie){return uo(j,Ie)?j.slice(0,j.length-Ie.length):void 0}e.tryRemoveSuffix=Mi;function Go(j,Ie){return j.indexOf(Ie)!==-1}e.stringContains=Go;function io(j){for(var Ie=j.length,We=Ie-1;We>0;We--){var sn=j.charCodeAt(We);if(sn>=48&&sn<=57)do--We,sn=j.charCodeAt(We);while(We>0&&sn>=48&&sn<=57);else if(We>4&&(sn===110||sn===78)){if(--We,sn=j.charCodeAt(We),sn!==105&&sn!==73||(--We,sn=j.charCodeAt(We),sn!==109&&sn!==77))break;--We,sn=j.charCodeAt(We)}else break;if(sn!==45&&sn!==46)break;Ie=We}return Ie===j.length?j:j.slice(0,Ie)}e.removeMinAndVersionNumbers=io;function wi(j,Ie){for(var We=0;WeHn&&(Hn=Et.prefix.length,sn=ot)}return sn}e.findBestPatternMatch=Ni;function vo(j,Ie){return j.lastIndexOf(Ie,0)===0}e.startsWith=vo;function Io(j,Ie){return vo(j,Ie)?j.substr(Ie.length):j}e.removePrefix=Io;function Bo(j,Ie,We){return We===void 0&&(We=dt),vo(We(j),We(Ie))?j.substring(Ie.length):void 0}e.tryRemovePrefix=Bo;function Uo(j,Ie){var We=j.prefix,sn=j.suffix;return Ie.length>=We.length+sn.length&&vo(Ie,We)&&uo(Ie,sn)}function cs(j,Ie){return function(We){return j(We)&&Ie(We)}}e.and=cs;function us(){for(var j=[],Ie=0;Ie=0&&e.isWhiteSpaceLike(j.charCodeAt(Ie));)Ie--;return j.slice(0,Ie+1)}})(vn||(vn={}));var vn;(function(e){var o;(function($){$[$.Off=0]="Off",$[$.Error=1]="Error",$[$.Warning=2]="Warning",$[$.Info=3]="Info",$[$.Verbose=4]="Verbose"})(o=e.LogLevel||(e.LogLevel={}));var ue;(function($){var Y,W=0;$.currentLogLevel=o.Warning,$.isDebugging=!1;function re(){return Y!=null?Y:Y=new e.Version(e.version)}$.getTypeScriptVersion=re;function ye(fn){return $.currentLogLevel<=fn}$.shouldLog=ye;function O(fn,En){$.loggingHost&&ye(fn)&&$.loggingHost.log(fn,En)}function A(fn){O(o.Info,fn)}$.log=A,function(fn){function En(rn){O(o.Error,rn)}fn.error=En;function i(rn){O(o.Warning,rn)}fn.warn=i;function In(rn){O(o.Info,rn)}fn.log=In;function X(rn){O(o.Verbose,rn)}fn.trace=X}(A=$.log||($.log={}));var D={};function de(){return W}$.getAssertionLevel=de;function _e(fn){var En=W;if(W=fn,fn>En)for(var i=0,In=e.getOwnKeys(D);i=rn.level&&($[X]=rn,D[X]=void 0)}}$.setAssertionLevel=_e;function y(fn){return W>=fn}$.shouldAssert=y;function V(fn,En){return y(fn)?!0:(D[En]={level:fn,assertion:$[En]},$[En]=e.noop,!1)}function Z(fn,En){var i=new Error(fn?"Debug Failure. "+fn:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(i,En||Z),i}$.fail=Z;function E(fn,En,i){return Z((En||"Unexpected node.")+`\r Node `+N(fn.kind)+" was unexpected.",i||E)}$.failBadSyntaxKind=E;function H(fn,En,i,In){fn||(En=En?"False expression: "+En:"False expression.",i&&(En+=`\r Verbose Debug Information: `+(typeof i=="string"?i:i())),Z(En,In||H))}$.assert=H;function L(fn,En,i,In,X){if(fn!==En){var rn=i?In?i+" "+In:i:"";Z("Expected "+fn+" === "+En+". "+rn,X||L)}}$.assertEqual=L;function ee(fn,En,i,In){fn>=En&&Z("Expected "+fn+" < "+En+". "+(i||""),In||ee)}$.assertLessThan=ee;function k(fn,En,i){fn>En&&Z("Expected "+fn+" <= "+En,i||k)}$.assertLessThanOrEqual=k;function b(fn,En,i){fn= "+En,i||b)}$.assertGreaterThanOrEqual=b;function ie(fn,En,i){fn==null&&Z(En,i||ie)}$.assertIsDefined=ie;function q(fn,En,i){return ie(fn,En,i||q),fn}$.checkDefined=q,$.assertDefined=q;function oe(fn,En,i){for(var In=0,X=fn;In0&&In[0][0]===0?In[0][1]:"0";if(i){for(var X="",rn=fn,$n=0,Vn=In;$nfn)break;Pe!==0&&Pe&fn&&(X=""+X+(X?"|":"")+xe,rn&=~Pe)}if(rn===0)return X}else for(var Ze=0,hn=In;Ze=0;return le?Qe(fn,rn,Vn,En.message):Pe?Re(fn,rn,Vn,En.message):e.noop}function Ln(fn,En){return function(){return fn(),En.apply(this,arguments)}}function Un(fn,En){var i=He(p(fn),En);return Ln(i,fn)}$.deprecate=Un})(ue=e.Debug||(e.Debug={}))})(vn||(vn={}));var vn;(function(e){var o=/^(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,ue=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)(?:\.(?:0|[1-9]\d*|[a-z-][a-z0-9-]*))*$/i,$=/^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i,Y=/^(0|[1-9]\d*)$/,W=function(){function w(R,ne,U,C,d){if(ne===void 0&&(ne=0),U===void 0&&(U=0),C===void 0&&(C=""),d===void 0&&(d=""),typeof R=="string"){var G=e.Debug.checkDefined(re(R),"Invalid version");R=G.major,ne=G.minor,U=G.patch,C=G.prerelease,d=G.build}e.Debug.assert(R>=0,"Invalid argument: major"),e.Debug.assert(ne>=0,"Invalid argument: minor"),e.Debug.assert(U>=0,"Invalid argument: patch"),e.Debug.assert(!C||ue.test(C),"Invalid argument: prerelease"),e.Debug.assert(!d||$.test(d),"Invalid argument: build"),this.major=R,this.minor=ne,this.patch=U,this.prerelease=C?C.split("."):e.emptyArray,this.build=d?d.split("."):e.emptyArray}return w.tryParse=function(R){var ne=re(R);if(ne){var U=ne.major,C=ne.minor,d=ne.patch,G=ne.prerelease,g=ne.build;return new w(U,C,d,G,g)}},w.prototype.compareTo=function(R){return this===R?0:R===void 0?1:e.compareValues(this.major,R.major)||e.compareValues(this.minor,R.minor)||e.compareValues(this.patch,R.patch)||ye(this.prerelease,R.prerelease)},w.prototype.increment=function(R){switch(R){case"major":return new w(this.major+1,0,0);case"minor":return new w(this.major,this.minor+1,0);case"patch":return new w(this.major,this.minor,this.patch+1);default:return e.Debug.assertNever(R)}},w.prototype.toString=function(){var R=this.major+"."+this.minor+"."+this.patch;return e.some(this.prerelease)&&(R+="-"+this.prerelease.join(".")),e.some(this.build)&&(R+="+"+this.build.join(".")),R},w.zero=new w(0,0,0),w}();e.Version=W;function re(w){var R=o.exec(w);if(R){var ne=R[1],U=R[2],C=U===void 0?"0":U,d=R[3],G=d===void 0?"0":d,g=R[4],p=g===void 0?"":g,f=R[5],T=f===void 0?"":f;if(!(p&&!ue.test(p))&&!(T&&!$.test(T)))return{major:parseInt(ne,10),minor:parseInt(C,10),patch:parseInt(G,10),prerelease:p,build:T}}}function ye(w,R){if(w===R)return 0;if(w.length===0)return R.length===0?0:1;if(R.length===0)return-1;for(var ne=Math.min(w.length,R.length),U=0;U|>=|=)?\s*([a-z0-9-+.*]+)$/i;function V(w){for(var R=[],ne=0,U=e.trimString(w).split(A);ne=",U.version)),L(C.major)||ne.push(L(C.minor)?ee("<",C.version.increment("major")):L(C.patch)?ee("<",C.version.increment("minor")):ee("<=",C.version)),!0):!1}function H(w,R,ne){var U=Z(R);if(!U)return!1;var C=U.version,d=U.major,G=U.minor,g=U.patch;if(L(d))(w==="<"||w===">")&&ne.push(ee("<",W.zero));else switch(w){case"~":ne.push(ee(">=",C)),ne.push(ee("<",C.increment(L(G)?"major":"minor")));break;case"^":ne.push(ee(">=",C)),ne.push(ee("<",C.increment(C.major>0||L(G)?"major":C.minor>0||L(g)?"minor":"patch")));break;case"<":case">=":ne.push(ee(w,C));break;case"<=":case">":ne.push(L(G)?ee(w==="<="?"<":">=",C.increment("major")):L(g)?ee(w==="<="?"<":">=",C.increment("minor")):ee(w,C));break;case"=":case void 0:L(G)||L(g)?(ne.push(ee(">=",C)),ne.push(ee("<",C.increment(L(G)?"major":"minor")))):ne.push(ee("=",C));break;default:return!1}return!0}function L(w){return w==="*"||w==="x"||w==="X"}function ee(w,R){return{operator:w,operand:R}}function k(w,R){if(R.length===0)return!0;for(var ne=0,U=R;ne":return U>0;case">=":return U>=0;case"=":return U===0;default:return e.Debug.assertNever(R)}}function q(w){return e.map(w,oe).join(" || ")||"*"}function oe(w){return e.map(w,se).join(" ")}function se(w){return""+w.operator+w.operand}})(vn||(vn={}));var vn;(function(e){function o(ye,O){return typeof ye=="object"&&typeof ye.timeOrigin=="number"&&typeof ye.mark=="function"&&typeof ye.measure=="function"&&typeof ye.now=="function"&&typeof O=="function"}function ue(){if(typeof performance=="object"&&typeof PerformanceObserver=="function"&&o(performance,PerformanceObserver))return{shouldWriteNativeEvents:!0,performance,PerformanceObserver}}function $(){if(typeof Ru!="undefined"&&Ru.nextTick&&!Ru.browser)try{var ye,O={},A=O.performance,D=O.PerformanceObserver;if(o(A,D)){ye=A;var de=new e.Version(Ru.versions.node),_e=new e.VersionRange("<12.16.3 || 13 <13.13");return _e.test(de)&&(ye={get timeOrigin(){return A.timeOrigin},now:function(){return A.now()},mark:function(y){return A.mark(y)},measure:function(y,V,Z){V===void 0&&(V="nodeStart"),Z===void 0&&(Z="__performance.measure-fix__",A.mark(Z)),A.measure(y,V,Z),Z==="__performance.measure-fix__"&&A.clearMarks("__performance.measure-fix__")}}),{shouldWriteNativeEvents:!1,performance:ye,PerformanceObserver:D}}}catch(y){}}var Y=ue()||$(),W=Y==null?void 0:Y.performance;function re(){return Y}e.tryGetNativePerformanceHooks=re,e.timestamp=W?function(){return W.now()}:Date.now?Date.now:function(){return+new Date}})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $,Y;function W(k,b,ie,q){return k?re(b,ie,q):ue.nullTimer}ue.createTimerIf=W;function re(k,b,ie){var q=0;return{enter:oe,exit:se};function oe(){++q===1&&_e(b)}function se(){--q===0?(_e(ie),y(k,b,ie)):q<0&&e.Debug.fail("enter/exit count does not match.")}}ue.createTimer=re,ue.nullTimer={enter:e.noop,exit:e.noop};var ye=!1,O=e.timestamp(),A=new e.Map,D=new e.Map,de=new e.Map;function _e(k){var b;if(ye){var ie=(b=D.get(k))!==null&&b!==void 0?b:0;D.set(k,ie+1),A.set(k,e.timestamp()),Y==null||Y.mark(k)}}ue.mark=_e;function y(k,b,ie){var q,oe;if(ye){var se=(q=ie!==void 0?A.get(ie):void 0)!==null&&q!==void 0?q:e.timestamp(),w=(oe=b!==void 0?A.get(b):void 0)!==null&&oe!==void 0?oe:O,R=de.get(k)||0;de.set(k,R+(se-w)),Y==null||Y.measure(k,b,ie)}}ue.measure=y;function V(k){return D.get(k)||0}ue.getCount=V;function Z(k){return de.get(k)||0}ue.getDuration=Z;function E(k){de.forEach(function(b,ie){return k(ie,b)})}ue.forEachMeasure=E;function H(){return ye}ue.isEnabled=H;function L(k){var b;return k===void 0&&(k=e.sys),ye||(ye=!0,$||($=e.tryGetNativePerformanceHooks()),$&&(O=$.performance.timeOrigin,($.shouldWriteNativeEvents||!((b=k==null?void 0:k.cpuProfilingEnabled)===null||b===void 0)&&b.call(k)||k!=null&&k.debugMode)&&(Y=$.performance))),!0}ue.enable=L;function ee(){ye&&(A.clear(),D.clear(),de.clear(),Y=void 0,ye=!1)}ue.disable=ee})(o=e.performance||(e.performance={}))})(vn||(vn={}));var vn;(function(e){var o,ue={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},$;try{var Y=(o={NODE_ENV:"production",PUBLIC_PATH:"https://www-cdn.educoder.net/"}.TS_ETW_MODULE_PATH)!==null&&o!==void 0?o:"./node_modules/@microsoft/typescript-etw";$=void 0}catch(W){$=void 0}e.perfLogger=$&&$.logEvent?$:ue})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $,Y=0,W=0,re,ye=[],O,A=[];function D(se,w,R){if(e.Debug.assert(!e.tracing,"Tracing already started"),$===void 0)try{$=void 0}catch(G){throw new Error(`tracing requires having fs (original error: `+(G.message||G)+")")}re=se,ye.length=0,O===void 0&&(O=e.combinePaths(w,"legend.json")),$.existsSync(w)||$.mkdirSync(w,{recursive:!0});var ne=re==="build"?"."+Ru.pid+"-"+ ++Y:re==="server"?"."+Ru.pid:"",U=e.combinePaths(w,"trace"+ne+".json"),C=e.combinePaths(w,"types"+ne+".json");A.push({configFilePath:R,tracePath:U,typesPath:C}),W=$.openSync(U,"w"),e.tracing=ue;var d={cat:"__metadata",ph:"M",ts:1e3*e.timestamp(),pid:1,tid:1};$.writeSync(W,`[ `+[Mt({name:"process_name",args:{name:"tsc"}},d),Mt({name:"thread_name",args:{name:"Main"}},d),Mt(Mt({name:"TracingStartedInBrowser"},d),{cat:"disabled-by-default-devtools.timeline"})].map(function(G){return JSON.stringify(G)}).join(`, `))}ue.startTracing=D;function de(){e.Debug.assert(e.tracing,"Tracing is not in progress"),e.Debug.assert(!!ye.length==(re!=="server")),$.writeSync(W,` ] `),$.closeSync(W),e.tracing=void 0,ye.length?q(ye):A[A.length-1].typesPath=void 0}ue.stopTracing=de;function _e(se){re!=="server"&&ye.push(se)}ue.recordType=_e;var y;(function(se){se.Parse="parse",se.Program="program",se.Bind="bind",se.Check="check",se.CheckTypes="checkTypes",se.Emit="emit",se.Session="session"})(y=ue.Phase||(ue.Phase={}));function V(se,w,R){b("I",se,w,R,'"s":"g"')}ue.instant=V;var Z=[];function E(se,w,R,ne){ne===void 0&&(ne=!1),ne&&b("B",se,w,R),Z.push({phase:se,name:w,args:R,time:1e3*e.timestamp(),separateBeginAndEnd:ne})}ue.push=E;function H(){e.Debug.assert(Z.length>0),k(Z.length-1,1e3*e.timestamp()),Z.length--}ue.pop=H;function L(){for(var se=1e3*e.timestamp(),w=Z.length-1;w>=0;w--)k(w,se);Z.length=0}ue.popAll=L;var ee=1e3*10;function k(se,w){var R=Z[se],ne=R.phase,U=R.name,C=R.args,d=R.time,G=R.separateBeginAndEnd;G?b("E",ne,U,C,void 0,w):ee-d%ee<=w-d&&b("X",ne,U,C,'"dur":'+(w-d),d)}function b(se,w,R,ne,U,C){C===void 0&&(C=1e3*e.timestamp()),!(re==="server"&&w==="checkTypes")&&(e.performance.mark("beginTracing"),$.writeSync(W,`, {"pid":1,"tid":1,"ph":"`+se+'","cat":"'+w+'","ts":'+C+',"name":"'+R+'"'),U&&$.writeSync(W,","+U),ne&&$.writeSync(W,',"args":'+JSON.stringify(ne)),$.writeSync(W,"}"),e.performance.mark("endTracing"),e.performance.measure("Tracing","beginTracing","endTracing"))}function ie(se){var w=e.getSourceFileOfNode(se);return w?{path:w.path,start:R(e.getLineAndCharacterOfPosition(w,se.pos)),end:R(e.getLineAndCharacterOfPosition(w,se.end))}:void 0;function R(ne){return{line:ne.line+1,character:ne.character+1}}}function q(se){var w,R,ne,U,C,d,G,g,p,f,T,m,N,P,x,M,me,z,K,I,Ae,Oe;e.performance.mark("beginDumpTypes");var te=A[A.length-1].typesPath,Se=$.openSync(te,"w"),be=new e.Map;$.writeSync(Se,"[");for(var Ce=se.length,Be=0;Be0}e.isRootedDiskPath=W;function re(fe){var Ne=E(fe);return Ne>0&&Ne===fe.length}e.isDiskPathRoot=re;function ye(fe){return E(fe)!==0}e.pathIsAbsolute=ye;function O(fe){return/^\.\.?($|[\\/])/.test(fe)}e.pathIsRelative=O;function A(fe){return!ye(fe)&&!O(fe)}e.pathIsBareSpecifier=A;function D(fe){return e.stringContains(ee(fe),".")}e.hasExtension=D;function de(fe,Ne){return fe.length>Ne.length&&e.endsWith(fe,Ne)}e.fileExtensionIs=de;function _e(fe,Ne){for(var qe=0,pe=Ne;qe0&&$(fe.charCodeAt(fe.length-1))}e.hasTrailingDirectorySeparator=y;function V(fe){return fe>=97&&fe<=122||fe>=65&&fe<=90}function Z(fe,Ne){var qe=fe.charCodeAt(Ne);if(qe===58)return Ne+1;if(qe===37&&fe.charCodeAt(Ne+1)===51){var pe=fe.charCodeAt(Ne+2);if(pe===97||pe===65)return Ne+3}return-1}function E(fe){if(!fe)return 0;var Ne=fe.charCodeAt(0);if(Ne===47||Ne===92){if(fe.charCodeAt(1)!==Ne)return 1;var qe=fe.indexOf(Ne===47?e.directorySeparator:e.altDirectorySeparator,2);return qe<0?fe.length:qe+1}if(V(Ne)&&fe.charCodeAt(1)===58){var pe=fe.charCodeAt(2);if(pe===47||pe===92)return 3;if(fe.length===2)return 2}var we=fe.indexOf(o);if(we!==-1){var pn=we+o.length,Qe=fe.indexOf(e.directorySeparator,pn);if(Qe!==-1){var Re=fe.slice(0,we),He=fe.slice(pn,Qe);if(Re==="file"&&(He===""||He==="localhost")&&V(fe.charCodeAt(Qe+1))){var Ln=Z(fe,Qe+2);if(Ln!==-1){if(fe.charCodeAt(Ln)===47)return~(Ln+1);if(Ln===fe.length)return~Ln}}return~(Qe+1)}return~fe.length}return 0}function H(fe){var Ne=E(fe);return Ne<0?~Ne:Ne}e.getRootLength=H;function L(fe){fe=w(fe);var Ne=H(fe);return Ne===fe.length?fe:(fe=m(fe),fe.slice(0,Math.max(Ne,fe.lastIndexOf(e.directorySeparator))))}e.getDirectoryPath=L;function ee(fe,Ne,qe){fe=w(fe);var pe=H(fe);if(pe===fe.length)return"";fe=m(fe);var we=fe.slice(Math.max(H(fe),fe.lastIndexOf(e.directorySeparator)+1)),pn=Ne!==void 0&&qe!==void 0?ie(we,Ne,qe):void 0;return pn?we.slice(0,we.length-pn.length):we}e.getBaseFileName=ee;function k(fe,Ne,qe){if(e.startsWith(Ne,".")||(Ne="."+Ne),fe.length>=Ne.length&&fe.charCodeAt(fe.length-Ne.length)===46){var pe=fe.slice(fe.length-Ne.length);if(qe(pe,Ne))return pe}}function b(fe,Ne,qe){if(typeof Ne=="string")return k(fe,Ne,qe)||"";for(var pe=0,we=Ne;pe=0?pe.substring(we):""}e.getAnyExtensionFromPath=ie;function q(fe,Ne){var qe=fe.substring(0,Ne),pe=fe.substring(Ne).split(e.directorySeparator);return pe.length&&!e.lastOrUndefined(pe)&&pe.pop(),Vr([qe],pe,!0)}function oe(fe,Ne){return Ne===void 0&&(Ne=""),fe=ne(Ne,fe),q(fe,H(fe))}e.getPathComponents=oe;function se(fe){if(fe.length===0)return"";var Ne=fe[0]&&N(fe[0]);return Ne+fe.slice(1).join(e.directorySeparator)}e.getPathFromPathComponents=se;function w(fe){var Ne=fe.indexOf("\\");return Ne===-1?fe:(ue.lastIndex=Ne,fe.replace(ue,e.directorySeparator))}e.normalizeSlashes=w;function R(fe){if(!e.some(fe))return[];for(var Ne=[fe[0]],qe=1;qe1){if(Ne[Ne.length-1]!==".."){Ne.pop();continue}}else if(Ne[0])continue}Ne.push(pe)}}return Ne}e.reducePathComponents=R;function ne(fe){for(var Ne=[],qe=1;qe0==H(Ne)>0,"Paths must either both be absolute or both be relative");var pe=typeof qe=="function"?qe:e.identity,we=typeof qe=="boolean"?qe:!1,pn=te(fe,Ne,we?e.equateStringsCaseInsensitive:e.equateStringsCaseSensitive,pe);return se(pn)}e.getRelativePathFromDirectory=Se;function be(fe,Ne,qe){return W(fe)?Be(Ne,fe,Ne,qe,!1):fe}e.convertToRelativePath=be;function Ce(fe,Ne,qe){return P(Se(L(fe),Ne,qe))}e.getRelativePathFromFile=Ce;function Be(fe,Ne,qe,pe,we){var pn=te(U(qe,fe),U(qe,Ne),e.equateStringsCaseSensitive,pe),Qe=pn[0];if(we&&W(Qe)){var Re=Qe.charAt(0)===e.directorySeparator?"file://":"file:///";pn[0]=Re+Qe}return se(pn)}e.getRelativePathToDirectoryOrUrl=Be;function De(fe,Ne){for(;;){var qe=Ne(fe);if(qe!==void 0)return qe;var pe=L(fe);if(pe===fe)return;fe=pe}}e.forEachAncestorDirectory=De;function en(fe){return e.endsWith(fe,"/node_modules")}e.isNodeModulesDirectory=en})(vn||(vn={}));var vn;(function(e){function o(R){for(var ne=5381,U=0;U type. Did you mean to write 'Promise<{0}>'?"),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:o(1066,e.DiagnosticCategory.Error,"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066","In ambient enum declarations member initializer must be constant expression."),Unexpected_token_A_constructor_method_accessor_or_property_was_expected:o(1068,e.DiagnosticCategory.Error,"Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068","Unexpected token. A constructor, method, accessor, or property was expected."),Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces:o(1069,e.DiagnosticCategory.Error,"Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces_1069","Unexpected token. A type parameter name was expected without curly braces."),_0_modifier_cannot_appear_on_a_type_member:o(1070,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_type_member_1070","'{0}' modifier cannot appear on a type member."),_0_modifier_cannot_appear_on_an_index_signature:o(1071,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_an_index_signature_1071","'{0}' modifier cannot appear on an index signature."),A_0_modifier_cannot_be_used_with_an_import_declaration:o(1079,e.DiagnosticCategory.Error,"A_0_modifier_cannot_be_used_with_an_import_declaration_1079","A '{0}' modifier cannot be used with an import declaration."),Invalid_reference_directive_syntax:o(1084,e.DiagnosticCategory.Error,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:o(1085,e.DiagnosticCategory.Error,"Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0_1085","Octal literals are not available when targeting ECMAScript 5 and higher. Use the syntax '{0}'."),_0_modifier_cannot_appear_on_a_constructor_declaration:o(1089,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_constructor_declaration_1089","'{0}' modifier cannot appear on a constructor declaration."),_0_modifier_cannot_appear_on_a_parameter:o(1090,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_parameter_1090","'{0}' modifier cannot appear on a parameter."),Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:o(1091,e.DiagnosticCategory.Error,"Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement_1091","Only a single variable declaration is allowed in a 'for...in' statement."),Type_parameters_cannot_appear_on_a_constructor_declaration:o(1092,e.DiagnosticCategory.Error,"Type_parameters_cannot_appear_on_a_constructor_declaration_1092","Type parameters cannot appear on a constructor declaration."),Type_annotation_cannot_appear_on_a_constructor_declaration:o(1093,e.DiagnosticCategory.Error,"Type_annotation_cannot_appear_on_a_constructor_declaration_1093","Type annotation cannot appear on a constructor declaration."),An_accessor_cannot_have_type_parameters:o(1094,e.DiagnosticCategory.Error,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:o(1095,e.DiagnosticCategory.Error,"A_set_accessor_cannot_have_a_return_type_annotation_1095","A 'set' accessor cannot have a return type annotation."),An_index_signature_must_have_exactly_one_parameter:o(1096,e.DiagnosticCategory.Error,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:o(1097,e.DiagnosticCategory.Error,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:o(1098,e.DiagnosticCategory.Error,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:o(1099,e.DiagnosticCategory.Error,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:o(1100,e.DiagnosticCategory.Error,"Invalid_use_of_0_in_strict_mode_1100","Invalid use of '{0}' in strict mode."),with_statements_are_not_allowed_in_strict_mode:o(1101,e.DiagnosticCategory.Error,"with_statements_are_not_allowed_in_strict_mode_1101","'with' statements are not allowed in strict mode."),delete_cannot_be_called_on_an_identifier_in_strict_mode:o(1102,e.DiagnosticCategory.Error,"delete_cannot_be_called_on_an_identifier_in_strict_mode_1102","'delete' cannot be called on an identifier in strict mode."),for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:o(1103,e.DiagnosticCategory.Error,"for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1103","'for await' loops are only allowed within async functions and at the top levels of modules."),A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement:o(1104,e.DiagnosticCategory.Error,"A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement_1104","A 'continue' statement can only be used within an enclosing iteration statement."),A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:o(1105,e.DiagnosticCategory.Error,"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105","A 'break' statement can only be used within an enclosing iteration or switch statement."),The_left_hand_side_of_a_for_of_statement_may_not_be_async:o(1106,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_may_not_be_async_1106","The left-hand side of a 'for...of' statement may not be 'async'."),Jump_target_cannot_cross_function_boundary:o(1107,e.DiagnosticCategory.Error,"Jump_target_cannot_cross_function_boundary_1107","Jump target cannot cross function boundary."),A_return_statement_can_only_be_used_within_a_function_body:o(1108,e.DiagnosticCategory.Error,"A_return_statement_can_only_be_used_within_a_function_body_1108","A 'return' statement can only be used within a function body."),Expression_expected:o(1109,e.DiagnosticCategory.Error,"Expression_expected_1109","Expression expected."),Type_expected:o(1110,e.DiagnosticCategory.Error,"Type_expected_1110","Type expected."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:o(1113,e.DiagnosticCategory.Error,"A_default_clause_cannot_appear_more_than_once_in_a_switch_statement_1113","A 'default' clause cannot appear more than once in a 'switch' statement."),Duplicate_label_0:o(1114,e.DiagnosticCategory.Error,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:o(1115,e.DiagnosticCategory.Error,"A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement_1115","A 'continue' statement can only jump to a label of an enclosing iteration statement."),A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:o(1116,e.DiagnosticCategory.Error,"A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116","A 'break' statement can only jump to a label of an enclosing statement."),An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode:o(1117,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode_1117","An object literal cannot have multiple properties with the same name in strict mode."),An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name:o(1118,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118","An object literal cannot have multiple get/set accessors with the same name."),An_object_literal_cannot_have_property_and_accessor_with_the_same_name:o(1119,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119","An object literal cannot have property and accessor with the same name."),An_export_assignment_cannot_have_modifiers:o(1120,e.DiagnosticCategory.Error,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_in_strict_mode:o(1121,e.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_strict_mode_1121","Octal literals are not allowed in strict mode."),Variable_declaration_list_cannot_be_empty:o(1123,e.DiagnosticCategory.Error,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:o(1124,e.DiagnosticCategory.Error,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:o(1125,e.DiagnosticCategory.Error,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:o(1126,e.DiagnosticCategory.Error,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:o(1127,e.DiagnosticCategory.Error,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:o(1128,e.DiagnosticCategory.Error,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:o(1129,e.DiagnosticCategory.Error,"Statement_expected_1129","Statement expected."),case_or_default_expected:o(1130,e.DiagnosticCategory.Error,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:o(1131,e.DiagnosticCategory.Error,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:o(1132,e.DiagnosticCategory.Error,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:o(1134,e.DiagnosticCategory.Error,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:o(1135,e.DiagnosticCategory.Error,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:o(1136,e.DiagnosticCategory.Error,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:o(1137,e.DiagnosticCategory.Error,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:o(1138,e.DiagnosticCategory.Error,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:o(1139,e.DiagnosticCategory.Error,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:o(1140,e.DiagnosticCategory.Error,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:o(1141,e.DiagnosticCategory.Error,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:o(1142,e.DiagnosticCategory.Error,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:o(1144,e.DiagnosticCategory.Error,"or_expected_1144","'{' or ';' expected."),Declaration_expected:o(1146,e.DiagnosticCategory.Error,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:o(1147,e.DiagnosticCategory.Error,"Import_declarations_in_a_namespace_cannot_reference_a_module_1147","Import declarations in a namespace cannot reference a module."),Cannot_use_imports_exports_or_module_augmentations_when_module_is_none:o(1148,e.DiagnosticCategory.Error,"Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148","Cannot use imports, exports, or module augmentations when '--module' is 'none'."),File_name_0_differs_from_already_included_file_name_1_only_in_casing:o(1149,e.DiagnosticCategory.Error,"File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149","File name '{0}' differs from already included file name '{1}' only in casing."),const_declarations_must_be_initialized:o(1155,e.DiagnosticCategory.Error,"const_declarations_must_be_initialized_1155","'const' declarations must be initialized."),const_declarations_can_only_be_declared_inside_a_block:o(1156,e.DiagnosticCategory.Error,"const_declarations_can_only_be_declared_inside_a_block_1156","'const' declarations can only be declared inside a block."),let_declarations_can_only_be_declared_inside_a_block:o(1157,e.DiagnosticCategory.Error,"let_declarations_can_only_be_declared_inside_a_block_1157","'let' declarations can only be declared inside a block."),Unterminated_template_literal:o(1160,e.DiagnosticCategory.Error,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:o(1161,e.DiagnosticCategory.Error,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:o(1162,e.DiagnosticCategory.Error,"An_object_member_cannot_be_declared_optional_1162","An object member cannot be declared optional."),A_yield_expression_is_only_allowed_in_a_generator_body:o(1163,e.DiagnosticCategory.Error,"A_yield_expression_is_only_allowed_in_a_generator_body_1163","A 'yield' expression is only allowed in a generator body."),Computed_property_names_are_not_allowed_in_enums:o(1164,e.DiagnosticCategory.Error,"Computed_property_names_are_not_allowed_in_enums_1164","Computed property names are not allowed in enums."),A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:o(1165,e.DiagnosticCategory.Error,"A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165","A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type:o(1166,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_1166","A computed property name in a class property declaration must have a simple literal type or a 'unique symbol' type."),A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:o(1168,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_ty_1168","A computed property name in a method overload must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:o(1169,e.DiagnosticCategory.Error,"A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169","A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:o(1170,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type__1170","A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_comma_expression_is_not_allowed_in_a_computed_property_name:o(1171,e.DiagnosticCategory.Error,"A_comma_expression_is_not_allowed_in_a_computed_property_name_1171","A comma expression is not allowed in a computed property name."),extends_clause_already_seen:o(1172,e.DiagnosticCategory.Error,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:o(1173,e.DiagnosticCategory.Error,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:o(1174,e.DiagnosticCategory.Error,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:o(1175,e.DiagnosticCategory.Error,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:o(1176,e.DiagnosticCategory.Error,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:o(1177,e.DiagnosticCategory.Error,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:o(1178,e.DiagnosticCategory.Error,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:o(1179,e.DiagnosticCategory.Error,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:o(1180,e.DiagnosticCategory.Error,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:o(1181,e.DiagnosticCategory.Error,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:o(1182,e.DiagnosticCategory.Error,"A_destructuring_declaration_must_have_an_initializer_1182","A destructuring declaration must have an initializer."),An_implementation_cannot_be_declared_in_ambient_contexts:o(1183,e.DiagnosticCategory.Error,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:o(1184,e.DiagnosticCategory.Error,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:o(1185,e.DiagnosticCategory.Error,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:o(1186,e.DiagnosticCategory.Error,"A_rest_element_cannot_have_an_initializer_1186","A rest element cannot have an initializer."),A_parameter_property_may_not_be_declared_using_a_binding_pattern:o(1187,e.DiagnosticCategory.Error,"A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187","A parameter property may not be declared using a binding pattern."),Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement:o(1188,e.DiagnosticCategory.Error,"Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement_1188","Only a single variable declaration is allowed in a 'for...of' statement."),The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:o(1189,e.DiagnosticCategory.Error,"The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189","The variable declaration of a 'for...in' statement cannot have an initializer."),The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer:o(1190,e.DiagnosticCategory.Error,"The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190","The variable declaration of a 'for...of' statement cannot have an initializer."),An_import_declaration_cannot_have_modifiers:o(1191,e.DiagnosticCategory.Error,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:o(1192,e.DiagnosticCategory.Error,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:o(1193,e.DiagnosticCategory.Error,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:o(1194,e.DiagnosticCategory.Error,"Export_declarations_are_not_permitted_in_a_namespace_1194","Export declarations are not permitted in a namespace."),export_Asterisk_does_not_re_export_a_default:o(1195,e.DiagnosticCategory.Error,"export_Asterisk_does_not_re_export_a_default_1195","'export *' does not re-export a default."),Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified:o(1196,e.DiagnosticCategory.Error,"Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196","Catch clause variable type annotation must be 'any' or 'unknown' if specified."),Catch_clause_variable_cannot_have_an_initializer:o(1197,e.DiagnosticCategory.Error,"Catch_clause_variable_cannot_have_an_initializer_1197","Catch clause variable cannot have an initializer."),An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive:o(1198,e.DiagnosticCategory.Error,"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198","An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive."),Unterminated_Unicode_escape_sequence:o(1199,e.DiagnosticCategory.Error,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:o(1200,e.DiagnosticCategory.Error,"Line_terminator_not_permitted_before_arrow_1200","Line terminator not permitted before arrow."),Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead:o(1202,e.DiagnosticCategory.Error,"Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202",`Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from "mod"', 'import {a} from "mod"', 'import d from "mod"', or another module format instead.`),Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead:o(1203,e.DiagnosticCategory.Error,"Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203","Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead."),Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type:o(1205,e.DiagnosticCategory.Error,"Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type_1205","Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'."),Decorators_are_not_valid_here:o(1206,e.DiagnosticCategory.Error,"Decorators_are_not_valid_here_1206","Decorators are not valid here."),Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:o(1207,e.DiagnosticCategory.Error,"Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207","Decorators cannot be applied to multiple get/set accessors of the same name."),_0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_import_export_or_an_empty_export_statement_to_make_it_a_module:o(1208,e.DiagnosticCategory.Error,"_0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_imp_1208","'{0}' cannot be compiled under '--isolatedModules' because it is considered a global script file. Add an import, export, or an empty 'export {}' statement to make it a module."),Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode:o(1210,e.DiagnosticCategory.Error,"Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of__1210","Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of '{0}'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode."),A_class_declaration_without_the_default_modifier_must_have_a_name:o(1211,e.DiagnosticCategory.Error,"A_class_declaration_without_the_default_modifier_must_have_a_name_1211","A class declaration without the 'default' modifier must have a name."),Identifier_expected_0_is_a_reserved_word_in_strict_mode:o(1212,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212","Identifier expected. '{0}' is a reserved word in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:o(1213,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_stric_1213","Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:o(1214,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode_1214","Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode."),Invalid_use_of_0_Modules_are_automatically_in_strict_mode:o(1215,e.DiagnosticCategory.Error,"Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215","Invalid use of '{0}'. Modules are automatically in strict mode."),Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules:o(1216,e.DiagnosticCategory.Error,"Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules_1216","Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules."),Export_assignment_is_not_supported_when_module_flag_is_system:o(1218,e.DiagnosticCategory.Error,"Export_assignment_is_not_supported_when_module_flag_is_system_1218","Export assignment is not supported when '--module' flag is 'system'."),Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning:o(1219,e.DiagnosticCategory.Error,"Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219","Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option in your 'tsconfig' or 'jsconfig' to remove this warning."),Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher:o(1220,e.DiagnosticCategory.Error,"Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher_1220","Generators are only available when targeting ECMAScript 2015 or higher."),Generators_are_not_allowed_in_an_ambient_context:o(1221,e.DiagnosticCategory.Error,"Generators_are_not_allowed_in_an_ambient_context_1221","Generators are not allowed in an ambient context."),An_overload_signature_cannot_be_declared_as_a_generator:o(1222,e.DiagnosticCategory.Error,"An_overload_signature_cannot_be_declared_as_a_generator_1222","An overload signature cannot be declared as a generator."),_0_tag_already_specified:o(1223,e.DiagnosticCategory.Error,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:o(1224,e.DiagnosticCategory.Error,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:o(1225,e.DiagnosticCategory.Error,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:o(1226,e.DiagnosticCategory.Error,"Type_predicate_0_is_not_assignable_to_1_1226","Type predicate '{0}' is not assignable to '{1}'."),Parameter_0_is_not_in_the_same_position_as_parameter_1:o(1227,e.DiagnosticCategory.Error,"Parameter_0_is_not_in_the_same_position_as_parameter_1_1227","Parameter '{0}' is not in the same position as parameter '{1}'."),A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods:o(1228,e.DiagnosticCategory.Error,"A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods_1228","A type predicate is only allowed in return type position for functions and methods."),A_type_predicate_cannot_reference_a_rest_parameter:o(1229,e.DiagnosticCategory.Error,"A_type_predicate_cannot_reference_a_rest_parameter_1229","A type predicate cannot reference a rest parameter."),A_type_predicate_cannot_reference_element_0_in_a_binding_pattern:o(1230,e.DiagnosticCategory.Error,"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230","A type predicate cannot reference element '{0}' in a binding pattern."),An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:o(1231,e.DiagnosticCategory.Error,"An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration_1231","An export assignment must be at the top level of a file or module declaration."),An_import_declaration_can_only_be_used_in_a_namespace_or_module:o(1232,e.DiagnosticCategory.Error,"An_import_declaration_can_only_be_used_in_a_namespace_or_module_1232","An import declaration can only be used in a namespace or module."),An_export_declaration_can_only_be_used_in_a_module:o(1233,e.DiagnosticCategory.Error,"An_export_declaration_can_only_be_used_in_a_module_1233","An export declaration can only be used in a module."),An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:o(1234,e.DiagnosticCategory.Error,"An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234","An ambient module declaration is only allowed at the top level in a file."),A_namespace_declaration_is_only_allowed_in_a_namespace_or_module:o(1235,e.DiagnosticCategory.Error,"A_namespace_declaration_is_only_allowed_in_a_namespace_or_module_1235","A namespace declaration is only allowed in a namespace or module."),The_return_type_of_a_property_decorator_function_must_be_either_void_or_any:o(1236,e.DiagnosticCategory.Error,"The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236","The return type of a property decorator function must be either 'void' or 'any'."),The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any:o(1237,e.DiagnosticCategory.Error,"The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237","The return type of a parameter decorator function must be either 'void' or 'any'."),Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression:o(1238,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression_1238","Unable to resolve signature of class decorator when called as an expression."),Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression:o(1239,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression_1239","Unable to resolve signature of parameter decorator when called as an expression."),Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression:o(1240,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression_1240","Unable to resolve signature of property decorator when called as an expression."),Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression:o(1241,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression_1241","Unable to resolve signature of method decorator when called as an expression."),abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration:o(1242,e.DiagnosticCategory.Error,"abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242","'abstract' modifier can only appear on a class, method, or property declaration."),_0_modifier_cannot_be_used_with_1_modifier:o(1243,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_1_modifier_1243","'{0}' modifier cannot be used with '{1}' modifier."),Abstract_methods_can_only_appear_within_an_abstract_class:o(1244,e.DiagnosticCategory.Error,"Abstract_methods_can_only_appear_within_an_abstract_class_1244","Abstract methods can only appear within an abstract class."),Method_0_cannot_have_an_implementation_because_it_is_marked_abstract:o(1245,e.DiagnosticCategory.Error,"Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245","Method '{0}' cannot have an implementation because it is marked abstract."),An_interface_property_cannot_have_an_initializer:o(1246,e.DiagnosticCategory.Error,"An_interface_property_cannot_have_an_initializer_1246","An interface property cannot have an initializer."),A_type_literal_property_cannot_have_an_initializer:o(1247,e.DiagnosticCategory.Error,"A_type_literal_property_cannot_have_an_initializer_1247","A type literal property cannot have an initializer."),A_class_member_cannot_have_the_0_keyword:o(1248,e.DiagnosticCategory.Error,"A_class_member_cannot_have_the_0_keyword_1248","A class member cannot have the '{0}' keyword."),A_decorator_can_only_decorate_a_method_implementation_not_an_overload:o(1249,e.DiagnosticCategory.Error,"A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249","A decorator can only decorate a method implementation, not an overload."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5:o(1250,e.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:o(1251,e.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_d_1251","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:o(1252,e.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_1252","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode."),_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag:o(1253,e.DiagnosticCategory.Error,"_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag_1253","'{0}' tag cannot be used independently as a top level JSDoc tag."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:o(1254,e.DiagnosticCategory.Error,"A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254","A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),A_definite_assignment_assertion_is_not_permitted_in_this_context:o(1255,e.DiagnosticCategory.Error,"A_definite_assignment_assertion_is_not_permitted_in_this_context_1255","A definite assignment assertion '!' is not permitted in this context."),A_required_element_cannot_follow_an_optional_element:o(1257,e.DiagnosticCategory.Error,"A_required_element_cannot_follow_an_optional_element_1257","A required element cannot follow an optional element."),A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration:o(1258,e.DiagnosticCategory.Error,"A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration_1258","A default export must be at the top level of a file or module declaration."),Module_0_can_only_be_default_imported_using_the_1_flag:o(1259,e.DiagnosticCategory.Error,"Module_0_can_only_be_default_imported_using_the_1_flag_1259","Module '{0}' can only be default-imported using the '{1}' flag"),Keywords_cannot_contain_escape_characters:o(1260,e.DiagnosticCategory.Error,"Keywords_cannot_contain_escape_characters_1260","Keywords cannot contain escape characters."),Already_included_file_name_0_differs_from_file_name_1_only_in_casing:o(1261,e.DiagnosticCategory.Error,"Already_included_file_name_0_differs_from_file_name_1_only_in_casing_1261","Already included file name '{0}' differs from file name '{1}' only in casing."),Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module:o(1262,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module_1262","Identifier expected. '{0}' is a reserved word at the top-level of a module."),Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:o(1263,e.DiagnosticCategory.Error,"Declarations_with_initializers_cannot_also_have_definite_assignment_assertions_1263","Declarations with initializers cannot also have definite assignment assertions."),Declarations_with_definite_assignment_assertions_must_also_have_type_annotations:o(1264,e.DiagnosticCategory.Error,"Declarations_with_definite_assignment_assertions_must_also_have_type_annotations_1264","Declarations with definite assignment assertions must also have type annotations."),A_rest_element_cannot_follow_another_rest_element:o(1265,e.DiagnosticCategory.Error,"A_rest_element_cannot_follow_another_rest_element_1265","A rest element cannot follow another rest element."),An_optional_element_cannot_follow_a_rest_element:o(1266,e.DiagnosticCategory.Error,"An_optional_element_cannot_follow_a_rest_element_1266","An optional element cannot follow a rest element."),Property_0_cannot_have_an_initializer_because_it_is_marked_abstract:o(1267,e.DiagnosticCategory.Error,"Property_0_cannot_have_an_initializer_because_it_is_marked_abstract_1267","Property '{0}' cannot have an initializer because it is marked abstract."),An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type:o(1268,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type_1268","An index signature parameter type must be 'string', 'number', 'symbol', or a template literal type."),with_statements_are_not_allowed_in_an_async_function_block:o(1300,e.DiagnosticCategory.Error,"with_statements_are_not_allowed_in_an_async_function_block_1300","'with' statements are not allowed in an async function block."),await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:o(1308,e.DiagnosticCategory.Error,"await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1308","'await' expressions are only allowed within async functions and at the top levels of modules."),Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern:o(1312,e.DiagnosticCategory.Error,"Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_1312","Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern."),The_body_of_an_if_statement_cannot_be_the_empty_statement:o(1313,e.DiagnosticCategory.Error,"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313","The body of an 'if' statement cannot be the empty statement."),Global_module_exports_may_only_appear_in_module_files:o(1314,e.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_in_module_files_1314","Global module exports may only appear in module files."),Global_module_exports_may_only_appear_in_declaration_files:o(1315,e.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_in_declaration_files_1315","Global module exports may only appear in declaration files."),Global_module_exports_may_only_appear_at_top_level:o(1316,e.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_at_top_level_1316","Global module exports may only appear at top level."),A_parameter_property_cannot_be_declared_using_a_rest_parameter:o(1317,e.DiagnosticCategory.Error,"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317","A parameter property cannot be declared using a rest parameter."),An_abstract_accessor_cannot_have_an_implementation:o(1318,e.DiagnosticCategory.Error,"An_abstract_accessor_cannot_have_an_implementation_1318","An abstract accessor cannot have an implementation."),A_default_export_can_only_be_used_in_an_ECMAScript_style_module:o(1319,e.DiagnosticCategory.Error,"A_default_export_can_only_be_used_in_an_ECMAScript_style_module_1319","A default export can only be used in an ECMAScript-style module."),Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:o(1320,e.DiagnosticCategory.Error,"Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member_1320","Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member."),Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:o(1321,e.DiagnosticCategory.Error,"Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321","Type of 'yield' operand in an async generator must either be a valid promise or must not contain a callable 'then' member."),Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:o(1322,e.DiagnosticCategory.Error,"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322","Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member."),Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system_or_umd:o(1323,e.DiagnosticCategory.Error,"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system__1323","Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'esnext', 'commonjs', 'amd', 'system', or 'umd'."),Dynamic_import_must_have_one_specifier_as_an_argument:o(1324,e.DiagnosticCategory.Error,"Dynamic_import_must_have_one_specifier_as_an_argument_1324","Dynamic import must have one specifier as an argument."),Specifier_of_dynamic_import_cannot_be_spread_element:o(1325,e.DiagnosticCategory.Error,"Specifier_of_dynamic_import_cannot_be_spread_element_1325","Specifier of dynamic import cannot be spread element."),Dynamic_import_cannot_have_type_arguments:o(1326,e.DiagnosticCategory.Error,"Dynamic_import_cannot_have_type_arguments_1326","Dynamic import cannot have type arguments."),String_literal_with_double_quotes_expected:o(1327,e.DiagnosticCategory.Error,"String_literal_with_double_quotes_expected_1327","String literal with double quotes expected."),Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal:o(1328,e.DiagnosticCategory.Error,"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328","Property value can only be string literal, numeric literal, 'true', 'false', 'null', object literal or array literal."),_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0:o(1329,e.DiagnosticCategory.Error,"_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329","'{0}' accepts too few arguments to be used as a decorator here. Did you mean to call it first and write '@{0}()'?"),A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly:o(1330,e.DiagnosticCategory.Error,"A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly_1330","A property of an interface or type literal whose type is a 'unique symbol' type must be 'readonly'."),A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly:o(1331,e.DiagnosticCategory.Error,"A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly_1331","A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'."),A_variable_whose_type_is_a_unique_symbol_type_must_be_const:o(1332,e.DiagnosticCategory.Error,"A_variable_whose_type_is_a_unique_symbol_type_must_be_const_1332","A variable whose type is a 'unique symbol' type must be 'const'."),unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name:o(1333,e.DiagnosticCategory.Error,"unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name_1333","'unique symbol' types may not be used on a variable declaration with a binding name."),unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement:o(1334,e.DiagnosticCategory.Error,"unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334","'unique symbol' types are only allowed on variables in a variable statement."),unique_symbol_types_are_not_allowed_here:o(1335,e.DiagnosticCategory.Error,"unique_symbol_types_are_not_allowed_here_1335","'unique symbol' types are not allowed here."),An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead:o(1337,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_o_1337","An index signature parameter type cannot be a literal type or generic type. Consider using a mapped object type instead."),infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type:o(1338,e.DiagnosticCategory.Error,"infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338","'infer' declarations are only permitted in the 'extends' clause of a conditional type."),Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:o(1339,e.DiagnosticCategory.Error,"Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here_1339","Module '{0}' does not refer to a value, but is used as a value here."),Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0:o(1340,e.DiagnosticCategory.Error,"Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0_1340","Module '{0}' does not refer to a type, but is used as a type here. Did you mean 'typeof import('{0}')'?"),Type_arguments_cannot_be_used_here:o(1342,e.DiagnosticCategory.Error,"Type_arguments_cannot_be_used_here_1342","Type arguments cannot be used here."),The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_esnext_or_system:o(1343,e.DiagnosticCategory.Error,"The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_esnext_or_system_1343","The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'esnext', or 'system'."),A_label_is_not_allowed_here:o(1344,e.DiagnosticCategory.Error,"A_label_is_not_allowed_here_1344","'A label is not allowed here."),An_expression_of_type_void_cannot_be_tested_for_truthiness:o(1345,e.DiagnosticCategory.Error,"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345","An expression of type 'void' cannot be tested for truthiness."),This_parameter_is_not_allowed_with_use_strict_directive:o(1346,e.DiagnosticCategory.Error,"This_parameter_is_not_allowed_with_use_strict_directive_1346","This parameter is not allowed with 'use strict' directive."),use_strict_directive_cannot_be_used_with_non_simple_parameter_list:o(1347,e.DiagnosticCategory.Error,"use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347","'use strict' directive cannot be used with non-simple parameter list."),Non_simple_parameter_declared_here:o(1348,e.DiagnosticCategory.Error,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:o(1349,e.DiagnosticCategory.Error,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:o(1350,e.DiagnosticCategory.Message,"Print_the_final_configuration_instead_of_building_1350","Print the final configuration instead of building."),An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal:o(1351,e.DiagnosticCategory.Error,"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351","An identifier or keyword cannot immediately follow a numeric literal."),A_bigint_literal_cannot_use_exponential_notation:o(1352,e.DiagnosticCategory.Error,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:o(1353,e.DiagnosticCategory.Error,"A_bigint_literal_must_be_an_integer_1353","A bigint literal must be an integer."),readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types:o(1354,e.DiagnosticCategory.Error,"readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354","'readonly' type modifier is only permitted on array and tuple literal types."),A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals:o(1355,e.DiagnosticCategory.Error,"A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355","A 'const' assertions can only be applied to references to enum members, or string, number, boolean, array, or object literals."),Did_you_mean_to_mark_this_function_as_async:o(1356,e.DiagnosticCategory.Error,"Did_you_mean_to_mark_this_function_as_async_1356","Did you mean to mark this function as 'async'?"),An_enum_member_name_must_be_followed_by_a_or:o(1357,e.DiagnosticCategory.Error,"An_enum_member_name_must_be_followed_by_a_or_1357","An enum member name must be followed by a ',', '=', or '}'."),Tagged_template_expressions_are_not_permitted_in_an_optional_chain:o(1358,e.DiagnosticCategory.Error,"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358","Tagged template expressions are not permitted in an optional chain."),Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:o(1359,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here_1359","Identifier expected. '{0}' is a reserved word that cannot be used here."),Did_you_mean_to_parenthesize_this_function_type:o(1360,e.DiagnosticCategory.Error,"Did_you_mean_to_parenthesize_this_function_type_1360","Did you mean to parenthesize this function type?"),_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type:o(1361,e.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type_1361","'{0}' cannot be used as a value because it was imported using 'import type'."),_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:o(1362,e.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type_1362","'{0}' cannot be used as a value because it was exported using 'export type'."),A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both:o(1363,e.DiagnosticCategory.Error,"A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both_1363","A type-only import can specify a default import or named bindings, but not both."),Convert_to_type_only_export:o(1364,e.DiagnosticCategory.Message,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:o(1365,e.DiagnosticCategory.Message,"Convert_all_re_exported_types_to_type_only_exports_1365","Convert all re-exported types to type-only exports"),Split_into_two_separate_import_declarations:o(1366,e.DiagnosticCategory.Message,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:o(1367,e.DiagnosticCategory.Message,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Did_you_mean_0:o(1369,e.DiagnosticCategory.Message,"Did_you_mean_0_1369","Did you mean '{0}'?"),This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error:o(1371,e.DiagnosticCategory.Error,"This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set__1371","This import is never used as a value and must use 'import type' because 'importsNotUsedAsValues' is set to 'error'."),Convert_to_type_only_import:o(1373,e.DiagnosticCategory.Message,"Convert_to_type_only_import_1373","Convert to type-only import"),Convert_all_imports_not_used_as_a_value_to_type_only_imports:o(1374,e.DiagnosticCategory.Message,"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374","Convert all imports not used as a value to type-only imports"),await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:o(1375,e.DiagnosticCategory.Error,"await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_fi_1375","'await' expressions are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),_0_was_imported_here:o(1376,e.DiagnosticCategory.Message,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:o(1377,e.DiagnosticCategory.Message,"_0_was_exported_here_1377","'{0}' was exported here."),Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_the_target_option_is_set_to_es2017_or_higher:o(1378,e.DiagnosticCategory.Error,"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_t_1378","Top-level 'await' expressions are only allowed when the 'module' option is set to 'esnext' or 'system', and the 'target' option is set to 'es2017' or higher."),An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:o(1379,e.DiagnosticCategory.Error,"An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type_1379","An import alias cannot reference a declaration that was exported using 'export type'."),An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type:o(1380,e.DiagnosticCategory.Error,"An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type_1380","An import alias cannot reference a declaration that was imported using 'import type'."),Unexpected_token_Did_you_mean_or_rbrace:o(1381,e.DiagnosticCategory.Error,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `}`?"),Unexpected_token_Did_you_mean_or_gt:o(1382,e.DiagnosticCategory.Error,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `>`?"),Only_named_exports_may_use_export_type:o(1383,e.DiagnosticCategory.Error,"Only_named_exports_may_use_export_type_1383","Only named exports may use 'export type'."),A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list:o(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:o(1385,e.DiagnosticCategory.Error,"Function_type_notation_must_be_parenthesized_when_used_in_a_union_type_1385","Function type notation must be parenthesized when used in a union type."),Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:o(1386,e.DiagnosticCategory.Error,"Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type_1386","Constructor type notation must be parenthesized when used in a union type."),Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:o(1387,e.DiagnosticCategory.Error,"Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1387","Function type notation must be parenthesized when used in an intersection type."),Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:o(1388,e.DiagnosticCategory.Error,"Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1388","Constructor type notation must be parenthesized when used in an intersection type."),_0_is_not_allowed_as_a_variable_declaration_name:o(1389,e.DiagnosticCategory.Error,"_0_is_not_allowed_as_a_variable_declaration_name_1389","'{0}' is not allowed as a variable declaration name."),Provides_a_root_package_name_when_using_outFile_with_declarations:o(1390,e.DiagnosticCategory.Message,"Provides_a_root_package_name_when_using_outFile_with_declarations_1390","Provides a root package name when using outFile with declarations."),The_bundledPackageName_option_must_be_provided_when_using_outFile_and_node_module_resolution_with_declaration_emit:o(1391,e.DiagnosticCategory.Error,"The_bundledPackageName_option_must_be_provided_when_using_outFile_and_node_module_resolution_with_de_1391","The 'bundledPackageName' option must be provided when using outFile and node module resolution with declaration emit."),An_import_alias_cannot_use_import_type:o(1392,e.DiagnosticCategory.Error,"An_import_alias_cannot_use_import_type_1392","An import alias cannot use 'import type'"),Imported_via_0_from_file_1:o(1393,e.DiagnosticCategory.Message,"Imported_via_0_from_file_1_1393","Imported via {0} from file '{1}'"),Imported_via_0_from_file_1_with_packageId_2:o(1394,e.DiagnosticCategory.Message,"Imported_via_0_from_file_1_with_packageId_2_1394","Imported via {0} from file '{1}' with packageId '{2}'"),Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions:o(1395,e.DiagnosticCategory.Message,"Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions_1395","Imported via {0} from file '{1}' to import 'importHelpers' as specified in compilerOptions"),Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions:o(1396,e.DiagnosticCategory.Message,"Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions_1396","Imported via {0} from file '{1}' with packageId '{2}' to import 'importHelpers' as specified in compilerOptions"),Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions:o(1397,e.DiagnosticCategory.Message,"Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions_1397","Imported via {0} from file '{1}' to import 'jsx' and 'jsxs' factory functions"),Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions:o(1398,e.DiagnosticCategory.Message,"Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions_1398","Imported via {0} from file '{1}' with packageId '{2}' to import 'jsx' and 'jsxs' factory functions"),File_is_included_via_import_here:o(1399,e.DiagnosticCategory.Message,"File_is_included_via_import_here_1399","File is included via import here."),Referenced_via_0_from_file_1:o(1400,e.DiagnosticCategory.Message,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),File_is_included_via_reference_here:o(1401,e.DiagnosticCategory.Message,"File_is_included_via_reference_here_1401","File is included via reference here."),Type_library_referenced_via_0_from_file_1:o(1402,e.DiagnosticCategory.Message,"Type_library_referenced_via_0_from_file_1_1402","Type library referenced via '{0}' from file '{1}'"),Type_library_referenced_via_0_from_file_1_with_packageId_2:o(1403,e.DiagnosticCategory.Message,"Type_library_referenced_via_0_from_file_1_with_packageId_2_1403","Type library referenced via '{0}' from file '{1}' with packageId '{2}'"),File_is_included_via_type_library_reference_here:o(1404,e.DiagnosticCategory.Message,"File_is_included_via_type_library_reference_here_1404","File is included via type library reference here."),Library_referenced_via_0_from_file_1:o(1405,e.DiagnosticCategory.Message,"Library_referenced_via_0_from_file_1_1405","Library referenced via '{0}' from file '{1}'"),File_is_included_via_library_reference_here:o(1406,e.DiagnosticCategory.Message,"File_is_included_via_library_reference_here_1406","File is included via library reference here."),Matched_by_include_pattern_0_in_1:o(1407,e.DiagnosticCategory.Message,"Matched_by_include_pattern_0_in_1_1407","Matched by include pattern '{0}' in '{1}'"),File_is_matched_by_include_pattern_specified_here:o(1408,e.DiagnosticCategory.Message,"File_is_matched_by_include_pattern_specified_here_1408","File is matched by include pattern specified here."),Part_of_files_list_in_tsconfig_json:o(1409,e.DiagnosticCategory.Message,"Part_of_files_list_in_tsconfig_json_1409","Part of 'files' list in tsconfig.json"),File_is_matched_by_files_list_specified_here:o(1410,e.DiagnosticCategory.Message,"File_is_matched_by_files_list_specified_here_1410","File is matched by 'files' list specified here."),Output_from_referenced_project_0_included_because_1_specified:o(1411,e.DiagnosticCategory.Message,"Output_from_referenced_project_0_included_because_1_specified_1411","Output from referenced project '{0}' included because '{1}' specified"),Output_from_referenced_project_0_included_because_module_is_specified_as_none:o(1412,e.DiagnosticCategory.Message,"Output_from_referenced_project_0_included_because_module_is_specified_as_none_1412","Output from referenced project '{0}' included because '--module' is specified as 'none'"),File_is_output_from_referenced_project_specified_here:o(1413,e.DiagnosticCategory.Message,"File_is_output_from_referenced_project_specified_here_1413","File is output from referenced project specified here."),Source_from_referenced_project_0_included_because_1_specified:o(1414,e.DiagnosticCategory.Message,"Source_from_referenced_project_0_included_because_1_specified_1414","Source from referenced project '{0}' included because '{1}' specified"),Source_from_referenced_project_0_included_because_module_is_specified_as_none:o(1415,e.DiagnosticCategory.Message,"Source_from_referenced_project_0_included_because_module_is_specified_as_none_1415","Source from referenced project '{0}' included because '--module' is specified as 'none'"),File_is_source_from_referenced_project_specified_here:o(1416,e.DiagnosticCategory.Message,"File_is_source_from_referenced_project_specified_here_1416","File is source from referenced project specified here."),Entry_point_of_type_library_0_specified_in_compilerOptions:o(1417,e.DiagnosticCategory.Message,"Entry_point_of_type_library_0_specified_in_compilerOptions_1417","Entry point of type library '{0}' specified in compilerOptions"),Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1:o(1418,e.DiagnosticCategory.Message,"Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1_1418","Entry point of type library '{0}' specified in compilerOptions with packageId '{1}'"),File_is_entry_point_of_type_library_specified_here:o(1419,e.DiagnosticCategory.Message,"File_is_entry_point_of_type_library_specified_here_1419","File is entry point of type library specified here."),Entry_point_for_implicit_type_library_0:o(1420,e.DiagnosticCategory.Message,"Entry_point_for_implicit_type_library_0_1420","Entry point for implicit type library '{0}'"),Entry_point_for_implicit_type_library_0_with_packageId_1:o(1421,e.DiagnosticCategory.Message,"Entry_point_for_implicit_type_library_0_with_packageId_1_1421","Entry point for implicit type library '{0}' with packageId '{1}'"),Library_0_specified_in_compilerOptions:o(1422,e.DiagnosticCategory.Message,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),File_is_library_specified_here:o(1423,e.DiagnosticCategory.Message,"File_is_library_specified_here_1423","File is library specified here."),Default_library:o(1424,e.DiagnosticCategory.Message,"Default_library_1424","Default library"),Default_library_for_target_0:o(1425,e.DiagnosticCategory.Message,"Default_library_for_target_0_1425","Default library for target '{0}'"),File_is_default_library_for_target_specified_here:o(1426,e.DiagnosticCategory.Message,"File_is_default_library_for_target_specified_here_1426","File is default library for target specified here."),Root_file_specified_for_compilation:o(1427,e.DiagnosticCategory.Message,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:o(1428,e.DiagnosticCategory.Message,"File_is_output_of_project_reference_source_0_1428","File is output of project reference source '{0}'"),File_redirects_to_file_0:o(1429,e.DiagnosticCategory.Message,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),The_file_is_in_the_program_because_Colon:o(1430,e.DiagnosticCategory.Message,"The_file_is_in_the_program_because_Colon_1430","The file is in the program because:"),for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:o(1431,e.DiagnosticCategory.Error,"for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_1431","'for await' loops are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_the_target_option_is_set_to_es2017_or_higher:o(1432,e.DiagnosticCategory.Error,"Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_the_1432","Top-level 'for await' loops are only allowed when the 'module' option is set to 'esnext' or 'system', and the 'target' option is set to 'es2017' or higher."),Decorators_may_not_be_applied_to_this_parameters:o(1433,e.DiagnosticCategory.Error,"Decorators_may_not_be_applied_to_this_parameters_1433","Decorators may not be applied to 'this' parameters."),Unexpected_keyword_or_identifier:o(1434,e.DiagnosticCategory.Error,"Unexpected_keyword_or_identifier_1434","Unexpected keyword or identifier."),Unknown_keyword_or_identifier_Did_you_mean_0:o(1435,e.DiagnosticCategory.Error,"Unknown_keyword_or_identifier_Did_you_mean_0_1435","Unknown keyword or identifier. Did you mean '{0}'?"),Decorators_must_precede_the_name_and_all_keywords_of_property_declarations:o(1436,e.DiagnosticCategory.Error,"Decorators_must_precede_the_name_and_all_keywords_of_property_declarations_1436","Decorators must precede the name and all keywords of property declarations."),Namespace_must_be_given_a_name:o(1437,e.DiagnosticCategory.Error,"Namespace_must_be_given_a_name_1437","Namespace must be given a name."),Interface_must_be_given_a_name:o(1438,e.DiagnosticCategory.Error,"Interface_must_be_given_a_name_1438","Interface must be given a name."),Type_alias_must_be_given_a_name:o(1439,e.DiagnosticCategory.Error,"Type_alias_must_be_given_a_name_1439","Type alias must be given a name."),Variable_declaration_not_allowed_at_this_location:o(1440,e.DiagnosticCategory.Error,"Variable_declaration_not_allowed_at_this_location_1440","Variable declaration not allowed at this location."),Cannot_start_a_function_call_in_a_type_annotation:o(1441,e.DiagnosticCategory.Error,"Cannot_start_a_function_call_in_a_type_annotation_1441","Cannot start a function call in a type annotation."),Expected_for_property_initializer:o(1442,e.DiagnosticCategory.Error,"Expected_for_property_initializer_1442","Expected '=' for property initializer."),Module_declaration_names_may_only_use_or_quoted_strings:o(1443,e.DiagnosticCategory.Error,"Module_declaration_names_may_only_use_or_quoted_strings_1443",`Module declaration names may only use ' or " quoted strings.`),The_types_of_0_are_incompatible_between_these_types:o(2200,e.DiagnosticCategory.Error,"The_types_of_0_are_incompatible_between_these_types_2200","The types of '{0}' are incompatible between these types."),The_types_returned_by_0_are_incompatible_between_these_types:o(2201,e.DiagnosticCategory.Error,"The_types_returned_by_0_are_incompatible_between_these_types_2201","The types returned by '{0}' are incompatible between these types."),Call_signature_return_types_0_and_1_are_incompatible:o(2202,e.DiagnosticCategory.Error,"Call_signature_return_types_0_and_1_are_incompatible_2202","Call signature return types '{0}' and '{1}' are incompatible.",void 0,!0),Construct_signature_return_types_0_and_1_are_incompatible:o(2203,e.DiagnosticCategory.Error,"Construct_signature_return_types_0_and_1_are_incompatible_2203","Construct signature return types '{0}' and '{1}' are incompatible.",void 0,!0),Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:o(2204,e.DiagnosticCategory.Error,"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204","Call signatures with no arguments have incompatible return types '{0}' and '{1}'.",void 0,!0),Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:o(2205,e.DiagnosticCategory.Error,"Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2205","Construct signatures with no arguments have incompatible return types '{0}' and '{1}'.",void 0,!0),Duplicate_identifier_0:o(2300,e.DiagnosticCategory.Error,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:o(2301,e.DiagnosticCategory.Error,"Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301","Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),Static_members_cannot_reference_class_type_parameters:o(2302,e.DiagnosticCategory.Error,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:o(2303,e.DiagnosticCategory.Error,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:o(2304,e.DiagnosticCategory.Error,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:o(2305,e.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:o(2306,e.DiagnosticCategory.Error,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:o(2307,e.DiagnosticCategory.Error,"Cannot_find_module_0_or_its_corresponding_type_declarations_2307","Cannot find module '{0}' or its corresponding type declarations."),Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity:o(2308,e.DiagnosticCategory.Error,"Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambig_2308","Module {0} has already exported a member named '{1}'. Consider explicitly re-exporting to resolve the ambiguity."),An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements:o(2309,e.DiagnosticCategory.Error,"An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements_2309","An export assignment cannot be used in a module with other exported elements."),Type_0_recursively_references_itself_as_a_base_type:o(2310,e.DiagnosticCategory.Error,"Type_0_recursively_references_itself_as_a_base_type_2310","Type '{0}' recursively references itself as a base type."),A_class_may_only_extend_another_class:o(2311,e.DiagnosticCategory.Error,"A_class_may_only_extend_another_class_2311","A class may only extend another class."),An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members:o(2312,e.DiagnosticCategory.Error,"An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_me_2312","An interface can only extend an object type or intersection of object types with statically known members."),Type_parameter_0_has_a_circular_constraint:o(2313,e.DiagnosticCategory.Error,"Type_parameter_0_has_a_circular_constraint_2313","Type parameter '{0}' has a circular constraint."),Generic_type_0_requires_1_type_argument_s:o(2314,e.DiagnosticCategory.Error,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:o(2315,e.DiagnosticCategory.Error,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:o(2316,e.DiagnosticCategory.Error,"Global_type_0_must_be_a_class_or_interface_type_2316","Global type '{0}' must be a class or interface type."),Global_type_0_must_have_1_type_parameter_s:o(2317,e.DiagnosticCategory.Error,"Global_type_0_must_have_1_type_parameter_s_2317","Global type '{0}' must have {1} type parameter(s)."),Cannot_find_global_type_0:o(2318,e.DiagnosticCategory.Error,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:o(2319,e.DiagnosticCategory.Error,"Named_property_0_of_types_1_and_2_are_not_identical_2319","Named property '{0}' of types '{1}' and '{2}' are not identical."),Interface_0_cannot_simultaneously_extend_types_1_and_2:o(2320,e.DiagnosticCategory.Error,"Interface_0_cannot_simultaneously_extend_types_1_and_2_2320","Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'."),Excessive_stack_depth_comparing_types_0_and_1:o(2321,e.DiagnosticCategory.Error,"Excessive_stack_depth_comparing_types_0_and_1_2321","Excessive stack depth comparing types '{0}' and '{1}'."),Type_0_is_not_assignable_to_type_1:o(2322,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:o(2323,e.DiagnosticCategory.Error,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:o(2324,e.DiagnosticCategory.Error,"Property_0_is_missing_in_type_1_2324","Property '{0}' is missing in type '{1}'."),Property_0_is_private_in_type_1_but_not_in_type_2:o(2325,e.DiagnosticCategory.Error,"Property_0_is_private_in_type_1_but_not_in_type_2_2325","Property '{0}' is private in type '{1}' but not in type '{2}'."),Types_of_property_0_are_incompatible:o(2326,e.DiagnosticCategory.Error,"Types_of_property_0_are_incompatible_2326","Types of property '{0}' are incompatible."),Property_0_is_optional_in_type_1_but_required_in_type_2:o(2327,e.DiagnosticCategory.Error,"Property_0_is_optional_in_type_1_but_required_in_type_2_2327","Property '{0}' is optional in type '{1}' but required in type '{2}'."),Types_of_parameters_0_and_1_are_incompatible:o(2328,e.DiagnosticCategory.Error,"Types_of_parameters_0_and_1_are_incompatible_2328","Types of parameters '{0}' and '{1}' are incompatible."),Index_signature_for_type_0_is_missing_in_type_1:o(2329,e.DiagnosticCategory.Error,"Index_signature_for_type_0_is_missing_in_type_1_2329","Index signature for type '{0}' is missing in type '{1}'."),_0_and_1_index_signatures_are_incompatible:o(2330,e.DiagnosticCategory.Error,"_0_and_1_index_signatures_are_incompatible_2330","'{0}' and '{1}' index signatures are incompatible."),this_cannot_be_referenced_in_a_module_or_namespace_body:o(2331,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_module_or_namespace_body_2331","'this' cannot be referenced in a module or namespace body."),this_cannot_be_referenced_in_current_location:o(2332,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_constructor_arguments:o(2333,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_constructor_arguments_2333","'this' cannot be referenced in constructor arguments."),this_cannot_be_referenced_in_a_static_property_initializer:o(2334,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_static_property_initializer_2334","'this' cannot be referenced in a static property initializer."),super_can_only_be_referenced_in_a_derived_class:o(2335,e.DiagnosticCategory.Error,"super_can_only_be_referenced_in_a_derived_class_2335","'super' can only be referenced in a derived class."),super_cannot_be_referenced_in_constructor_arguments:o(2336,e.DiagnosticCategory.Error,"super_cannot_be_referenced_in_constructor_arguments_2336","'super' cannot be referenced in constructor arguments."),Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors:o(2337,e.DiagnosticCategory.Error,"Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337","Super calls are not permitted outside constructors or in nested functions inside constructors."),super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class:o(2338,e.DiagnosticCategory.Error,"super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_der_2338","'super' property access is permitted only in a constructor, member function, or member accessor of a derived class."),Property_0_does_not_exist_on_type_1:o(2339,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_2339","Property '{0}' does not exist on type '{1}'."),Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword:o(2340,e.DiagnosticCategory.Error,"Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword_2340","Only public and protected methods of the base class are accessible via the 'super' keyword."),Property_0_is_private_and_only_accessible_within_class_1:o(2341,e.DiagnosticCategory.Error,"Property_0_is_private_and_only_accessible_within_class_1_2341","Property '{0}' is private and only accessible within class '{1}'."),An_index_expression_argument_must_be_of_type_string_number_symbol_or_any:o(2342,e.DiagnosticCategory.Error,"An_index_expression_argument_must_be_of_type_string_number_symbol_or_any_2342","An index expression argument must be of type 'string', 'number', 'symbol', or 'any'."),This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0:o(2343,e.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_ve_2343","This syntax requires an imported helper named '{1}' which does not exist in '{0}'. Consider upgrading your version of '{0}'."),Type_0_does_not_satisfy_the_constraint_1:o(2344,e.DiagnosticCategory.Error,"Type_0_does_not_satisfy_the_constraint_1_2344","Type '{0}' does not satisfy the constraint '{1}'."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1:o(2345,e.DiagnosticCategory.Error,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345","Argument of type '{0}' is not assignable to parameter of type '{1}'."),Call_target_does_not_contain_any_signatures:o(2346,e.DiagnosticCategory.Error,"Call_target_does_not_contain_any_signatures_2346","Call target does not contain any signatures."),Untyped_function_calls_may_not_accept_type_arguments:o(2347,e.DiagnosticCategory.Error,"Untyped_function_calls_may_not_accept_type_arguments_2347","Untyped function calls may not accept type arguments."),Value_of_type_0_is_not_callable_Did_you_mean_to_include_new:o(2348,e.DiagnosticCategory.Error,"Value_of_type_0_is_not_callable_Did_you_mean_to_include_new_2348","Value of type '{0}' is not callable. Did you mean to include 'new'?"),This_expression_is_not_callable:o(2349,e.DiagnosticCategory.Error,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:o(2350,e.DiagnosticCategory.Error,"Only_a_void_function_can_be_called_with_the_new_keyword_2350","Only a void function can be called with the 'new' keyword."),This_expression_is_not_constructable:o(2351,e.DiagnosticCategory.Error,"This_expression_is_not_constructable_2351","This expression is not constructable."),Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first:o(2352,e.DiagnosticCategory.Error,"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352","Conversion of type '{0}' to type '{1}' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first."),Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1:o(2353,e.DiagnosticCategory.Error,"Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353","Object literal may only specify known properties, and '{0}' does not exist in type '{1}'."),This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found:o(2354,e.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354","This syntax requires an imported helper but module '{0}' cannot be found."),A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value:o(2355,e.DiagnosticCategory.Error,"A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value_2355","A function whose declared type is neither 'void' nor 'any' must return a value."),An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type:o(2356,e.DiagnosticCategory.Error,"An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type_2356","An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type."),The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access:o(2357,e.DiagnosticCategory.Error,"The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357","The operand of an increment or decrement operator must be a variable or a property access."),The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:o(2358,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358","The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter."),The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type:o(2359,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359","The right-hand side of an 'instanceof' expression must be of type 'any' or of a type assignable to the 'Function' interface type."),The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol:o(2360,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol_2360","The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'."),The_right_hand_side_of_an_in_expression_must_not_be_a_primitive:o(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:o(2362,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362","The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:o(2363,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363","The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access:o(2364,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364","The left-hand side of an assignment expression must be a variable or a property access."),Operator_0_cannot_be_applied_to_types_1_and_2:o(2365,e.DiagnosticCategory.Error,"Operator_0_cannot_be_applied_to_types_1_and_2_2365","Operator '{0}' cannot be applied to types '{1}' and '{2}'."),Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined:o(2366,e.DiagnosticCategory.Error,"Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366","Function lacks ending return statement and return type does not include 'undefined'."),This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap:o(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:o(2368,e.DiagnosticCategory.Error,"Type_parameter_name_cannot_be_0_2368","Type parameter name cannot be '{0}'."),A_parameter_property_is_only_allowed_in_a_constructor_implementation:o(2369,e.DiagnosticCategory.Error,"A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369","A parameter property is only allowed in a constructor implementation."),A_rest_parameter_must_be_of_an_array_type:o(2370,e.DiagnosticCategory.Error,"A_rest_parameter_must_be_of_an_array_type_2370","A rest parameter must be of an array type."),A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation:o(2371,e.DiagnosticCategory.Error,"A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371","A parameter initializer is only allowed in a function or constructor implementation."),Parameter_0_cannot_reference_itself:o(2372,e.DiagnosticCategory.Error,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:o(2373,e.DiagnosticCategory.Error,"Parameter_0_cannot_reference_identifier_1_declared_after_it_2373","Parameter '{0}' cannot reference identifier '{1}' declared after it."),Duplicate_index_signature_for_type_0:o(2374,e.DiagnosticCategory.Error,"Duplicate_index_signature_for_type_0_2374","Duplicate index signature for type '{0}'."),A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_properties_parameter_properties_or_private_identifiers:o(2376,e.DiagnosticCategory.Error,"A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_proper_2376","A 'super' call must be the first statement in the constructor when a class contains initialized properties, parameter properties, or private identifiers."),Constructors_for_derived_classes_must_contain_a_super_call:o(2377,e.DiagnosticCategory.Error,"Constructors_for_derived_classes_must_contain_a_super_call_2377","Constructors for derived classes must contain a 'super' call."),A_get_accessor_must_return_a_value:o(2378,e.DiagnosticCategory.Error,"A_get_accessor_must_return_a_value_2378","A 'get' accessor must return a value."),The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type:o(2380,e.DiagnosticCategory.Error,"The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type_2380","The return type of a 'get' accessor must be assignable to its 'set' accessor type"),A_signature_with_an_implementation_cannot_use_a_string_literal_type:o(2381,e.DiagnosticCategory.Error,"A_signature_with_an_implementation_cannot_use_a_string_literal_type_2381","A signature with an implementation cannot use a string literal type."),Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature:o(2382,e.DiagnosticCategory.Error,"Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature_2382","Specialized overload signature is not assignable to any non-specialized signature."),Overload_signatures_must_all_be_exported_or_non_exported:o(2383,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_exported_or_non_exported_2383","Overload signatures must all be exported or non-exported."),Overload_signatures_must_all_be_ambient_or_non_ambient:o(2384,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_ambient_or_non_ambient_2384","Overload signatures must all be ambient or non-ambient."),Overload_signatures_must_all_be_public_private_or_protected:o(2385,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_public_private_or_protected_2385","Overload signatures must all be public, private or protected."),Overload_signatures_must_all_be_optional_or_required:o(2386,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:o(2387,e.DiagnosticCategory.Error,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:o(2388,e.DiagnosticCategory.Error,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:o(2389,e.DiagnosticCategory.Error,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:o(2390,e.DiagnosticCategory.Error,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:o(2391,e.DiagnosticCategory.Error,"Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391","Function implementation is missing or not immediately following the declaration."),Multiple_constructor_implementations_are_not_allowed:o(2392,e.DiagnosticCategory.Error,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:o(2393,e.DiagnosticCategory.Error,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:o(2394,e.DiagnosticCategory.Error,"This_overload_signature_is_not_compatible_with_its_implementation_signature_2394","This overload signature is not compatible with its implementation signature."),Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local:o(2395,e.DiagnosticCategory.Error,"Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local_2395","Individual declarations in merged declaration '{0}' must be all exported or all local."),Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters:o(2396,e.DiagnosticCategory.Error,"Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396","Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters."),Declaration_name_conflicts_with_built_in_global_identifier_0:o(2397,e.DiagnosticCategory.Error,"Declaration_name_conflicts_with_built_in_global_identifier_0_2397","Declaration name conflicts with built-in global identifier '{0}'."),constructor_cannot_be_used_as_a_parameter_property_name:o(2398,e.DiagnosticCategory.Error,"constructor_cannot_be_used_as_a_parameter_property_name_2398","'constructor' cannot be used as a parameter property name."),Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference:o(2399,e.DiagnosticCategory.Error,"Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference_2399","Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference."),Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference:o(2400,e.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400","Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference."),Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference:o(2401,e.DiagnosticCategory.Error,"Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference_2401","Duplicate identifier '_super'. Compiler uses '_super' to capture base class reference."),Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:o(2402,e.DiagnosticCategory.Error,"Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402","Expression resolves to '_super' that compiler uses to capture base class reference."),Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2:o(2403,e.DiagnosticCategory.Error,"Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403","Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'."),The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:o(2404,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation_2404","The left-hand side of a 'for...in' statement cannot use a type annotation."),The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any:o(2405,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any_2405","The left-hand side of a 'for...in' statement must be of type 'string' or 'any'."),The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access:o(2406,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access_2406","The left-hand side of a 'for...in' statement must be a variable or a property access."),The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0:o(2407,e.DiagnosticCategory.Error,"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407","The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type '{0}'."),Setters_cannot_return_a_value:o(2408,e.DiagnosticCategory.Error,"Setters_cannot_return_a_value_2408","Setters cannot return a value."),Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class:o(2409,e.DiagnosticCategory.Error,"Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class_2409","Return type of constructor signature must be assignable to the instance type of the class."),The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any:o(2410,e.DiagnosticCategory.Error,"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410","The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'."),Property_0_of_type_1_is_not_assignable_to_2_index_type_3:o(2411,e.DiagnosticCategory.Error,"Property_0_of_type_1_is_not_assignable_to_2_index_type_3_2411","Property '{0}' of type '{1}' is not assignable to '{2}' index type '{3}'."),_0_index_type_1_is_not_assignable_to_2_index_type_3:o(2413,e.DiagnosticCategory.Error,"_0_index_type_1_is_not_assignable_to_2_index_type_3_2413","'{0}' index type '{1}' is not assignable to '{2}' index type '{3}'."),Class_name_cannot_be_0:o(2414,e.DiagnosticCategory.Error,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:o(2415,e.DiagnosticCategory.Error,"Class_0_incorrectly_extends_base_class_1_2415","Class '{0}' incorrectly extends base class '{1}'."),Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2:o(2416,e.DiagnosticCategory.Error,"Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416","Property '{0}' in type '{1}' is not assignable to the same property in base type '{2}'."),Class_static_side_0_incorrectly_extends_base_class_static_side_1:o(2417,e.DiagnosticCategory.Error,"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417","Class static side '{0}' incorrectly extends base class static side '{1}'."),Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:o(2418,e.DiagnosticCategory.Error,"Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1_2418","Type of computed property's value is '{0}', which is not assignable to type '{1}'."),Types_of_construct_signatures_are_incompatible:o(2419,e.DiagnosticCategory.Error,"Types_of_construct_signatures_are_incompatible_2419","Types of construct signatures are incompatible."),Class_0_incorrectly_implements_interface_1:o(2420,e.DiagnosticCategory.Error,"Class_0_incorrectly_implements_interface_1_2420","Class '{0}' incorrectly implements interface '{1}'."),A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members:o(2422,e.DiagnosticCategory.Error,"A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_memb_2422","A class can only implement an object type or intersection of object types with statically known members."),Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor:o(2423,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_access_2423","Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor."),Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function:o(2425,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_functi_2425","Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function."),Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:o(2426,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_functi_2426","Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function."),Interface_name_cannot_be_0:o(2427,e.DiagnosticCategory.Error,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:o(2428,e.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_type_parameters_2428","All declarations of '{0}' must have identical type parameters."),Interface_0_incorrectly_extends_interface_1:o(2430,e.DiagnosticCategory.Error,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:o(2431,e.DiagnosticCategory.Error,"Enum_name_cannot_be_0_2431","Enum name cannot be '{0}'."),In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element:o(2432,e.DiagnosticCategory.Error,"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432","In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element."),A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged:o(2433,e.DiagnosticCategory.Error,"A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433","A namespace declaration cannot be in a different file from a class or function with which it is merged."),A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged:o(2434,e.DiagnosticCategory.Error,"A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434","A namespace declaration cannot be located prior to a class or function with which it is merged."),Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces:o(2435,e.DiagnosticCategory.Error,"Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces_2435","Ambient modules cannot be nested in other modules or namespaces."),Ambient_module_declaration_cannot_specify_relative_module_name:o(2436,e.DiagnosticCategory.Error,"Ambient_module_declaration_cannot_specify_relative_module_name_2436","Ambient module declaration cannot specify relative module name."),Module_0_is_hidden_by_a_local_declaration_with_the_same_name:o(2437,e.DiagnosticCategory.Error,"Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437","Module '{0}' is hidden by a local declaration with the same name."),Import_name_cannot_be_0:o(2438,e.DiagnosticCategory.Error,"Import_name_cannot_be_0_2438","Import name cannot be '{0}'."),Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name:o(2439,e.DiagnosticCategory.Error,"Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relati_2439","Import or export declaration in an ambient module declaration cannot reference module through relative module name."),Import_declaration_conflicts_with_local_declaration_of_0:o(2440,e.DiagnosticCategory.Error,"Import_declaration_conflicts_with_local_declaration_of_0_2440","Import declaration conflicts with local declaration of '{0}'."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module:o(2441,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_2441","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module."),Types_have_separate_declarations_of_a_private_property_0:o(2442,e.DiagnosticCategory.Error,"Types_have_separate_declarations_of_a_private_property_0_2442","Types have separate declarations of a private property '{0}'."),Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2:o(2443,e.DiagnosticCategory.Error,"Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2_2443","Property '{0}' is protected but type '{1}' is not a class derived from '{2}'."),Property_0_is_protected_in_type_1_but_public_in_type_2:o(2444,e.DiagnosticCategory.Error,"Property_0_is_protected_in_type_1_but_public_in_type_2_2444","Property '{0}' is protected in type '{1}' but public in type '{2}'."),Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses:o(2445,e.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses_2445","Property '{0}' is protected and only accessible within class '{1}' and its subclasses."),Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2:o(2446,e.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_cl_2446","Property '{0}' is protected and only accessible through an instance of class '{1}'. This is an instance of class '{2}'."),The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead:o(2447,e.DiagnosticCategory.Error,"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447","The '{0}' operator is not allowed for boolean types. Consider using '{1}' instead."),Block_scoped_variable_0_used_before_its_declaration:o(2448,e.DiagnosticCategory.Error,"Block_scoped_variable_0_used_before_its_declaration_2448","Block-scoped variable '{0}' used before its declaration."),Class_0_used_before_its_declaration:o(2449,e.DiagnosticCategory.Error,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:o(2450,e.DiagnosticCategory.Error,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:o(2451,e.DiagnosticCategory.Error,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:o(2452,e.DiagnosticCategory.Error,"An_enum_member_cannot_have_a_numeric_name_2452","An enum member cannot have a numeric name."),The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_type_arguments_explicitly:o(2453,e.DiagnosticCategory.Error,"The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_typ_2453","The type argument for type parameter '{0}' cannot be inferred from the usage. Consider specifying the type arguments explicitly."),Variable_0_is_used_before_being_assigned:o(2454,e.DiagnosticCategory.Error,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0:o(2455,e.DiagnosticCategory.Error,"Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0_2455","Type argument candidate '{1}' is not a valid type argument because it is not a supertype of candidate '{0}'."),Type_alias_0_circularly_references_itself:o(2456,e.DiagnosticCategory.Error,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:o(2457,e.DiagnosticCategory.Error,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:o(2458,e.DiagnosticCategory.Error,"An_AMD_module_cannot_have_multiple_name_assignments_2458","An AMD module cannot have multiple name assignments."),Module_0_declares_1_locally_but_it_is_not_exported:o(2459,e.DiagnosticCategory.Error,"Module_0_declares_1_locally_but_it_is_not_exported_2459","Module '{0}' declares '{1}' locally, but it is not exported."),Module_0_declares_1_locally_but_it_is_exported_as_2:o(2460,e.DiagnosticCategory.Error,"Module_0_declares_1_locally_but_it_is_exported_as_2_2460","Module '{0}' declares '{1}' locally, but it is exported as '{2}'."),Type_0_is_not_an_array_type:o(2461,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_2461","Type '{0}' is not an array type."),A_rest_element_must_be_last_in_a_destructuring_pattern:o(2462,e.DiagnosticCategory.Error,"A_rest_element_must_be_last_in_a_destructuring_pattern_2462","A rest element must be last in a destructuring pattern."),A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature:o(2463,e.DiagnosticCategory.Error,"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463","A binding pattern parameter cannot be optional in an implementation signature."),A_computed_property_name_must_be_of_type_string_number_symbol_or_any:o(2464,e.DiagnosticCategory.Error,"A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464","A computed property name must be of type 'string', 'number', 'symbol', or 'any'."),this_cannot_be_referenced_in_a_computed_property_name:o(2465,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_computed_property_name_2465","'this' cannot be referenced in a computed property name."),super_cannot_be_referenced_in_a_computed_property_name:o(2466,e.DiagnosticCategory.Error,"super_cannot_be_referenced_in_a_computed_property_name_2466","'super' cannot be referenced in a computed property name."),A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type:o(2467,e.DiagnosticCategory.Error,"A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type_2467","A computed property name cannot reference a type parameter from its containing type."),Cannot_find_global_value_0:o(2468,e.DiagnosticCategory.Error,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:o(2469,e.DiagnosticCategory.Error,"The_0_operator_cannot_be_applied_to_type_symbol_2469","The '{0}' operator cannot be applied to type 'symbol'."),Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object:o(2470,e.DiagnosticCategory.Error,"Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object_2470","'Symbol' reference does not refer to the global Symbol constructor object."),A_computed_property_name_of_the_form_0_must_be_of_type_symbol:o(2471,e.DiagnosticCategory.Error,"A_computed_property_name_of_the_form_0_must_be_of_type_symbol_2471","A computed property name of the form '{0}' must be of type 'symbol'."),Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher:o(2472,e.DiagnosticCategory.Error,"Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher_2472","Spread operator in 'new' expressions is only available when targeting ECMAScript 5 and higher."),Enum_declarations_must_all_be_const_or_non_const:o(2473,e.DiagnosticCategory.Error,"Enum_declarations_must_all_be_const_or_non_const_2473","Enum declarations must all be const or non-const."),const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values:o(2474,e.DiagnosticCategory.Error,"const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values_2474","const enum member initializers can only contain literal values and other computed enum values."),const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query:o(2475,e.DiagnosticCategory.Error,"const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475","'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment or type query."),A_const_enum_member_can_only_be_accessed_using_a_string_literal:o(2476,e.DiagnosticCategory.Error,"A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476","A const enum member can only be accessed using a string literal."),const_enum_member_initializer_was_evaluated_to_a_non_finite_value:o(2477,e.DiagnosticCategory.Error,"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477","'const' enum member initializer was evaluated to a non-finite value."),const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:o(2478,e.DiagnosticCategory.Error,"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478","'const' enum member initializer was evaluated to disallowed value 'NaN'."),Property_0_does_not_exist_on_const_enum_1:o(2479,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_const_enum_1_2479","Property '{0}' does not exist on 'const' enum '{1}'."),let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:o(2480,e.DiagnosticCategory.Error,"let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480","'let' is not allowed to be used as a name in 'let' or 'const' declarations."),Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1:o(2481,e.DiagnosticCategory.Error,"Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1_2481","Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'."),The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation:o(2483,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation_2483","The left-hand side of a 'for...of' statement cannot use a type annotation."),Export_declaration_conflicts_with_exported_declaration_of_0:o(2484,e.DiagnosticCategory.Error,"Export_declaration_conflicts_with_exported_declaration_of_0_2484","Export declaration conflicts with exported declaration of '{0}'."),The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access:o(2487,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access_2487","The left-hand side of a 'for...of' statement must be a variable or a property access."),Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator:o(2488,e.DiagnosticCategory.Error,"Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488","Type '{0}' must have a '[Symbol.iterator]()' method that returns an iterator."),An_iterator_must_have_a_next_method:o(2489,e.DiagnosticCategory.Error,"An_iterator_must_have_a_next_method_2489","An iterator must have a 'next()' method."),The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property:o(2490,e.DiagnosticCategory.Error,"The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property_2490","The type returned by the '{0}()' method of an iterator must have a 'value' property."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern:o(2491,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern_2491","The left-hand side of a 'for...in' statement cannot be a destructuring pattern."),Cannot_redeclare_identifier_0_in_catch_clause:o(2492,e.DiagnosticCategory.Error,"Cannot_redeclare_identifier_0_in_catch_clause_2492","Cannot redeclare identifier '{0}' in catch clause."),Tuple_type_0_of_length_1_has_no_element_at_index_2:o(2493,e.DiagnosticCategory.Error,"Tuple_type_0_of_length_1_has_no_element_at_index_2_2493","Tuple type '{0}' of length '{1}' has no element at index '{2}'."),Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher:o(2494,e.DiagnosticCategory.Error,"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494","Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher."),Type_0_is_not_an_array_type_or_a_string_type:o(2495,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_2495","Type '{0}' is not an array type or a string type."),The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression:o(2496,e.DiagnosticCategory.Error,"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496","The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression."),This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export:o(2497,e.DiagnosticCategory.Error,"This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_2497","This module can only be referenced with ECMAScript imports/exports by turning on the '{0}' flag and referencing its default export."),Module_0_uses_export_and_cannot_be_used_with_export_Asterisk:o(2498,e.DiagnosticCategory.Error,"Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498","Module '{0}' uses 'export =' and cannot be used with 'export *'."),An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments:o(2499,e.DiagnosticCategory.Error,"An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments_2499","An interface can only extend an identifier/qualified-name with optional type arguments."),A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments:o(2500,e.DiagnosticCategory.Error,"A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments_2500","A class can only implement an identifier/qualified-name with optional type arguments."),A_rest_element_cannot_contain_a_binding_pattern:o(2501,e.DiagnosticCategory.Error,"A_rest_element_cannot_contain_a_binding_pattern_2501","A rest element cannot contain a binding pattern."),_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation:o(2502,e.DiagnosticCategory.Error,"_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation_2502","'{0}' is referenced directly or indirectly in its own type annotation."),Cannot_find_namespace_0:o(2503,e.DiagnosticCategory.Error,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:o(2504,e.DiagnosticCategory.Error,"Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504","Type '{0}' must have a '[Symbol.asyncIterator]()' method that returns an async iterator."),A_generator_cannot_have_a_void_type_annotation:o(2505,e.DiagnosticCategory.Error,"A_generator_cannot_have_a_void_type_annotation_2505","A generator cannot have a 'void' type annotation."),_0_is_referenced_directly_or_indirectly_in_its_own_base_expression:o(2506,e.DiagnosticCategory.Error,"_0_is_referenced_directly_or_indirectly_in_its_own_base_expression_2506","'{0}' is referenced directly or indirectly in its own base expression."),Type_0_is_not_a_constructor_function_type:o(2507,e.DiagnosticCategory.Error,"Type_0_is_not_a_constructor_function_type_2507","Type '{0}' is not a constructor function type."),No_base_constructor_has_the_specified_number_of_type_arguments:o(2508,e.DiagnosticCategory.Error,"No_base_constructor_has_the_specified_number_of_type_arguments_2508","No base constructor has the specified number of type arguments."),Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members:o(2509,e.DiagnosticCategory.Error,"Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_2509","Base constructor return type '{0}' is not an object type or intersection of object types with statically known members."),Base_constructors_must_all_have_the_same_return_type:o(2510,e.DiagnosticCategory.Error,"Base_constructors_must_all_have_the_same_return_type_2510","Base constructors must all have the same return type."),Cannot_create_an_instance_of_an_abstract_class:o(2511,e.DiagnosticCategory.Error,"Cannot_create_an_instance_of_an_abstract_class_2511","Cannot create an instance of an abstract class."),Overload_signatures_must_all_be_abstract_or_non_abstract:o(2512,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_abstract_or_non_abstract_2512","Overload signatures must all be abstract or non-abstract."),Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression:o(2513,e.DiagnosticCategory.Error,"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513","Abstract method '{0}' in class '{1}' cannot be accessed via super expression."),Classes_containing_abstract_methods_must_be_marked_abstract:o(2514,e.DiagnosticCategory.Error,"Classes_containing_abstract_methods_must_be_marked_abstract_2514","Classes containing abstract methods must be marked abstract."),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:o(2515,e.DiagnosticCategory.Error,"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515","Non-abstract class '{0}' does not implement inherited abstract member '{1}' from class '{2}'."),All_declarations_of_an_abstract_method_must_be_consecutive:o(2516,e.DiagnosticCategory.Error,"All_declarations_of_an_abstract_method_must_be_consecutive_2516","All declarations of an abstract method must be consecutive."),Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type:o(2517,e.DiagnosticCategory.Error,"Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type_2517","Cannot assign an abstract constructor type to a non-abstract constructor type."),A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard:o(2518,e.DiagnosticCategory.Error,"A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518","A 'this'-based type guard is not compatible with a parameter-based type guard."),An_async_iterator_must_have_a_next_method:o(2519,e.DiagnosticCategory.Error,"An_async_iterator_must_have_a_next_method_2519","An async iterator must have a 'next()' method."),Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions:o(2520,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520","Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions."),Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions:o(2521,e.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions_2521","Expression resolves to variable declaration '{0}' that compiler uses to support async functions."),The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method:o(2522,e.DiagnosticCategory.Error,"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522","The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method."),yield_expressions_cannot_be_used_in_a_parameter_initializer:o(2523,e.DiagnosticCategory.Error,"yield_expressions_cannot_be_used_in_a_parameter_initializer_2523","'yield' expressions cannot be used in a parameter initializer."),await_expressions_cannot_be_used_in_a_parameter_initializer:o(2524,e.DiagnosticCategory.Error,"await_expressions_cannot_be_used_in_a_parameter_initializer_2524","'await' expressions cannot be used in a parameter initializer."),Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value:o(2525,e.DiagnosticCategory.Error,"Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value_2525","Initializer provides no value for this binding element and the binding element has no default value."),A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface:o(2526,e.DiagnosticCategory.Error,"A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526","A 'this' type is available only in a non-static member of a class or interface."),The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary:o(2527,e.DiagnosticCategory.Error,"The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527","The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary."),A_module_cannot_have_multiple_default_exports:o(2528,e.DiagnosticCategory.Error,"A_module_cannot_have_multiple_default_exports_2528","A module cannot have multiple default exports."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions:o(2529,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_func_2529","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions."),Property_0_is_incompatible_with_index_signature:o(2530,e.DiagnosticCategory.Error,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:o(2531,e.DiagnosticCategory.Error,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:o(2532,e.DiagnosticCategory.Error,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:o(2533,e.DiagnosticCategory.Error,"Object_is_possibly_null_or_undefined_2533","Object is possibly 'null' or 'undefined'."),A_function_returning_never_cannot_have_a_reachable_end_point:o(2534,e.DiagnosticCategory.Error,"A_function_returning_never_cannot_have_a_reachable_end_point_2534","A function returning 'never' cannot have a reachable end point."),Enum_type_0_has_members_with_initializers_that_are_not_literals:o(2535,e.DiagnosticCategory.Error,"Enum_type_0_has_members_with_initializers_that_are_not_literals_2535","Enum type '{0}' has members with initializers that are not literals."),Type_0_cannot_be_used_to_index_type_1:o(2536,e.DiagnosticCategory.Error,"Type_0_cannot_be_used_to_index_type_1_2536","Type '{0}' cannot be used to index type '{1}'."),Type_0_has_no_matching_index_signature_for_type_1:o(2537,e.DiagnosticCategory.Error,"Type_0_has_no_matching_index_signature_for_type_1_2537","Type '{0}' has no matching index signature for type '{1}'."),Type_0_cannot_be_used_as_an_index_type:o(2538,e.DiagnosticCategory.Error,"Type_0_cannot_be_used_as_an_index_type_2538","Type '{0}' cannot be used as an index type."),Cannot_assign_to_0_because_it_is_not_a_variable:o(2539,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_not_a_variable_2539","Cannot assign to '{0}' because it is not a variable."),Cannot_assign_to_0_because_it_is_a_read_only_property:o(2540,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_read_only_property_2540","Cannot assign to '{0}' because it is a read-only property."),The_target_of_an_assignment_must_be_a_variable_or_a_property_access:o(2541,e.DiagnosticCategory.Error,"The_target_of_an_assignment_must_be_a_variable_or_a_property_access_2541","The target of an assignment must be a variable or a property access."),Index_signature_in_type_0_only_permits_reading:o(2542,e.DiagnosticCategory.Error,"Index_signature_in_type_0_only_permits_reading_2542","Index signature in type '{0}' only permits reading."),Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference:o(2543,e.DiagnosticCategory.Error,"Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_me_2543","Duplicate identifier '_newTarget'. Compiler uses variable declaration '_newTarget' to capture 'new.target' meta-property reference."),Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference:o(2544,e.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta__2544","Expression resolves to variable declaration '_newTarget' that compiler uses to capture 'new.target' meta-property reference."),A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any:o(2545,e.DiagnosticCategory.Error,"A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any_2545","A mixin class must have a constructor with a single rest parameter of type 'any[]'."),The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:o(2547,e.DiagnosticCategory.Error,"The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_pro_2547","The type returned by the '{0}()' method of an async iterator must be a promise for a type with a 'value' property."),Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:o(2548,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator_2548","Type '{0}' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:o(2549,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549","Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2_or_later:o(2550,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_c_2550","Property '{0}' does not exist on type '{1}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{2}' or later."),Property_0_does_not_exist_on_type_1_Did_you_mean_2:o(2551,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Did_you_mean_2_2551","Property '{0}' does not exist on type '{1}'. Did you mean '{2}'?"),Cannot_find_name_0_Did_you_mean_1:o(2552,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_1_2552","Cannot find name '{0}'. Did you mean '{1}'?"),Computed_values_are_not_permitted_in_an_enum_with_string_valued_members:o(2553,e.DiagnosticCategory.Error,"Computed_values_are_not_permitted_in_an_enum_with_string_valued_members_2553","Computed values are not permitted in an enum with string valued members."),Expected_0_arguments_but_got_1:o(2554,e.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:o(2555,e.DiagnosticCategory.Error,"Expected_at_least_0_arguments_but_got_1_2555","Expected at least {0} arguments, but got {1}."),A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter:o(2556,e.DiagnosticCategory.Error,"A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter_2556","A spread argument must either have a tuple type or be passed to a rest parameter."),Expected_0_type_arguments_but_got_1:o(2558,e.DiagnosticCategory.Error,"Expected_0_type_arguments_but_got_1_2558","Expected {0} type arguments, but got {1}."),Type_0_has_no_properties_in_common_with_type_1:o(2559,e.DiagnosticCategory.Error,"Type_0_has_no_properties_in_common_with_type_1_2559","Type '{0}' has no properties in common with type '{1}'."),Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it:o(2560,e.DiagnosticCategory.Error,"Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it_2560","Value of type '{0}' has no properties in common with type '{1}'. Did you mean to call it?"),Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2:o(2561,e.DiagnosticCategory.Error,"Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_writ_2561","Object literal may only specify known properties, but '{0}' does not exist in type '{1}'. Did you mean to write '{2}'?"),Base_class_expressions_cannot_reference_class_type_parameters:o(2562,e.DiagnosticCategory.Error,"Base_class_expressions_cannot_reference_class_type_parameters_2562","Base class expressions cannot reference class type parameters."),The_containing_function_or_module_body_is_too_large_for_control_flow_analysis:o(2563,e.DiagnosticCategory.Error,"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563","The containing function or module body is too large for control flow analysis."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor:o(2564,e.DiagnosticCategory.Error,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564","Property '{0}' has no initializer and is not definitely assigned in the constructor."),Property_0_is_used_before_being_assigned:o(2565,e.DiagnosticCategory.Error,"Property_0_is_used_before_being_assigned_2565","Property '{0}' is used before being assigned."),A_rest_element_cannot_have_a_property_name:o(2566,e.DiagnosticCategory.Error,"A_rest_element_cannot_have_a_property_name_2566","A rest element cannot have a property name."),Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:o(2567,e.DiagnosticCategory.Error,"Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations_2567","Enum declarations can only merge with namespace or other enum declarations."),Property_0_may_not_exist_on_type_1_Did_you_mean_2:o(2568,e.DiagnosticCategory.Error,"Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568","Property '{0}' may not exist on type '{1}'. Did you mean '{2}'?"),Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators:o(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:o(2570,e.DiagnosticCategory.Error,"Could_not_find_name_0_Did_you_mean_1_2570","Could not find name '{0}'. Did you mean '{1}'?"),Object_is_of_type_unknown:o(2571,e.DiagnosticCategory.Error,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),Rest_signatures_are_incompatible:o(2572,e.DiagnosticCategory.Error,"Rest_signatures_are_incompatible_2572","Rest signatures are incompatible."),Property_0_is_incompatible_with_rest_element_type:o(2573,e.DiagnosticCategory.Error,"Property_0_is_incompatible_with_rest_element_type_2573","Property '{0}' is incompatible with rest element type."),A_rest_element_type_must_be_an_array_type:o(2574,e.DiagnosticCategory.Error,"A_rest_element_type_must_be_an_array_type_2574","A rest element type must be an array type."),No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments:o(2575,e.DiagnosticCategory.Error,"No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments_2575","No overload expects {0} arguments, but overloads do exist that expect either {1} or {2} arguments."),Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead:o(2576,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead_2576","Property '{0}' does not exist on type '{1}'. Did you mean to access the static member '{2}' instead?"),Return_type_annotation_circularly_references_itself:o(2577,e.DiagnosticCategory.Error,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:o(2578,e.DiagnosticCategory.Error,"Unused_ts_expect_error_directive_2578","Unused '@ts-expect-error' directive."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode:o(2580,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2580","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery:o(2581,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2581","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha:o(2582,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2582","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later:o(2583,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583","Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{1}' or later."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom:o(2584,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2584","Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:o(2585,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_2585","'{0}' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later."),Enum_type_0_circularly_references_itself:o(2586,e.DiagnosticCategory.Error,"Enum_type_0_circularly_references_itself_2586","Enum type '{0}' circularly references itself."),JSDoc_type_0_circularly_references_itself:o(2587,e.DiagnosticCategory.Error,"JSDoc_type_0_circularly_references_itself_2587","JSDoc type '{0}' circularly references itself."),Cannot_assign_to_0_because_it_is_a_constant:o(2588,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_constant_2588","Cannot assign to '{0}' because it is a constant."),Type_instantiation_is_excessively_deep_and_possibly_infinite:o(2589,e.DiagnosticCategory.Error,"Type_instantiation_is_excessively_deep_and_possibly_infinite_2589","Type instantiation is excessively deep and possibly infinite."),Expression_produces_a_union_type_that_is_too_complex_to_represent:o(2590,e.DiagnosticCategory.Error,"Expression_produces_a_union_type_that_is_too_complex_to_represent_2590","Expression produces a union type that is too complex to represent."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig:o(2591,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2591","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig:o(2592,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2592","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery` and then add 'jquery' to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig:o(2593,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2593","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig."),This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag:o(2594,e.DiagnosticCategory.Error,"This_module_is_declared_with_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:o(2595,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_default_import_2595","'{0}' can only be imported by using a default import."),_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:o(2596,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import_2596","'{0}' can only be imported by turning on the 'esModuleInterop' flag and using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:o(2597,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import_2597","'{0}' can only be imported by using a 'require' call or by using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:o(2598,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using__2598","'{0}' can only be imported by using a 'require' call or by turning on the 'esModuleInterop' flag and using a default import."),JSX_element_attributes_type_0_may_not_be_a_union_type:o(2600,e.DiagnosticCategory.Error,"JSX_element_attributes_type_0_may_not_be_a_union_type_2600","JSX element attributes type '{0}' may not be a union type."),The_return_type_of_a_JSX_element_constructor_must_return_an_object_type:o(2601,e.DiagnosticCategory.Error,"The_return_type_of_a_JSX_element_constructor_must_return_an_object_type_2601","The return type of a JSX element constructor must return an object type."),JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist:o(2602,e.DiagnosticCategory.Error,"JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist_2602","JSX element implicitly has type 'any' because the global type 'JSX.Element' does not exist."),Property_0_in_type_1_is_not_assignable_to_type_2:o(2603,e.DiagnosticCategory.Error,"Property_0_in_type_1_is_not_assignable_to_type_2_2603","Property '{0}' in type '{1}' is not assignable to type '{2}'."),JSX_element_type_0_does_not_have_any_construct_or_call_signatures:o(2604,e.DiagnosticCategory.Error,"JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604","JSX element type '{0}' does not have any construct or call signatures."),JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements:o(2605,e.DiagnosticCategory.Error,"JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements_2605","JSX element type '{0}' is not a constructor function for JSX elements."),Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:o(2606,e.DiagnosticCategory.Error,"Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606","Property '{0}' of JSX spread attribute is not assignable to target property."),JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property:o(2607,e.DiagnosticCategory.Error,"JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property_2607","JSX element class does not support attributes because it does not have a '{0}' property."),The_global_type_JSX_0_may_not_have_more_than_one_property:o(2608,e.DiagnosticCategory.Error,"The_global_type_JSX_0_may_not_have_more_than_one_property_2608","The global type 'JSX.{0}' may not have more than one property."),JSX_spread_child_must_be_an_array_type:o(2609,e.DiagnosticCategory.Error,"JSX_spread_child_must_be_an_array_type_2609","JSX spread child must be an array type."),_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:o(2610,e.DiagnosticCategory.Error,"_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property_2610","'{0}' is defined as an accessor in class '{1}', but is overridden here in '{2}' as an instance property."),_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor:o(2611,e.DiagnosticCategory.Error,"_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor_2611","'{0}' is defined as a property in class '{1}', but is overridden here in '{2}' as an accessor."),Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration:o(2612,e.DiagnosticCategory.Error,"Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_2612","Property '{0}' will overwrite the base property in '{1}'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration."),Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead:o(2613,e.DiagnosticCategory.Error,"Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead_2613","Module '{0}' has no default export. Did you mean to use 'import { {1} } from {0}' instead?"),Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead:o(2614,e.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead_2614","Module '{0}' has no exported member '{1}'. Did you mean to use 'import {1} from {0}' instead?"),Type_of_property_0_circularly_references_itself_in_mapped_type_1:o(2615,e.DiagnosticCategory.Error,"Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615","Type of property '{0}' circularly references itself in mapped type '{1}'."),_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:o(2616,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import_2616","'{0}' can only be imported by using 'import {1} = require({2})' or a default import."),_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:o(2617,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_us_2617","'{0}' can only be imported by using 'import {1} = require({2})' or by turning on the 'esModuleInterop' flag and using a default import."),Source_has_0_element_s_but_target_requires_1:o(2618,e.DiagnosticCategory.Error,"Source_has_0_element_s_but_target_requires_1_2618","Source has {0} element(s) but target requires {1}."),Source_has_0_element_s_but_target_allows_only_1:o(2619,e.DiagnosticCategory.Error,"Source_has_0_element_s_but_target_allows_only_1_2619","Source has {0} element(s) but target allows only {1}."),Target_requires_0_element_s_but_source_may_have_fewer:o(2620,e.DiagnosticCategory.Error,"Target_requires_0_element_s_but_source_may_have_fewer_2620","Target requires {0} element(s) but source may have fewer."),Target_allows_only_0_element_s_but_source_may_have_more:o(2621,e.DiagnosticCategory.Error,"Target_allows_only_0_element_s_but_source_may_have_more_2621","Target allows only {0} element(s) but source may have more."),Source_provides_no_match_for_required_element_at_position_0_in_target:o(2623,e.DiagnosticCategory.Error,"Source_provides_no_match_for_required_element_at_position_0_in_target_2623","Source provides no match for required element at position {0} in target."),Source_provides_no_match_for_variadic_element_at_position_0_in_target:o(2624,e.DiagnosticCategory.Error,"Source_provides_no_match_for_variadic_element_at_position_0_in_target_2624","Source provides no match for variadic element at position {0} in target."),Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target:o(2625,e.DiagnosticCategory.Error,"Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target_2625","Variadic element at position {0} in source does not match element at position {1} in target."),Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target:o(2626,e.DiagnosticCategory.Error,"Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target_2626","Type at position {0} in source is not compatible with type at position {1} in target."),Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target:o(2627,e.DiagnosticCategory.Error,"Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target_2627","Type at positions {0} through {1} in source is not compatible with type at position {2} in target."),Cannot_assign_to_0_because_it_is_an_enum:o(2628,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_an_enum_2628","Cannot assign to '{0}' because it is an enum."),Cannot_assign_to_0_because_it_is_a_class:o(2629,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_class_2629","Cannot assign to '{0}' because it is a class."),Cannot_assign_to_0_because_it_is_a_function:o(2630,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_function_2630","Cannot assign to '{0}' because it is a function."),Cannot_assign_to_0_because_it_is_a_namespace:o(2631,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_namespace_2631","Cannot assign to '{0}' because it is a namespace."),Cannot_assign_to_0_because_it_is_an_import:o(2632,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_an_import_2632","Cannot assign to '{0}' because it is an import."),JSX_property_access_expressions_cannot_include_JSX_namespace_names:o(2633,e.DiagnosticCategory.Error,"JSX_property_access_expressions_cannot_include_JSX_namespace_names_2633","JSX property access expressions cannot include JSX namespace names"),_0_index_signatures_are_incompatible:o(2634,e.DiagnosticCategory.Error,"_0_index_signatures_are_incompatible_2634","'{0}' index signatures are incompatible."),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:o(2649,e.DiagnosticCategory.Error,"Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity_2649","Cannot augment module '{0}' with value exports because it resolves to a non-module entity."),A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums:o(2651,e.DiagnosticCategory.Error,"A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_memb_2651","A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums."),Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead:o(2652,e.DiagnosticCategory.Error,"Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_d_2652","Merged declaration '{0}' cannot include a default export declaration. Consider adding a separate 'export default {0}' declaration instead."),Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1:o(2653,e.DiagnosticCategory.Error,"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653","Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'."),Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_package_author_to_update_the_package_definition:o(2654,e.DiagnosticCategory.Error,"Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_pack_2654","Exported external package typings file cannot contain tripleslash references. Please contact the package author to update the package definition."),Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_the_package_definition:o(2656,e.DiagnosticCategory.Error,"Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_2656","Exported external package typings file '{0}' is not a module. Please contact the package author to update the package definition."),JSX_expressions_must_have_one_parent_element:o(2657,e.DiagnosticCategory.Error,"JSX_expressions_must_have_one_parent_element_2657","JSX expressions must have one parent element."),Type_0_provides_no_match_for_the_signature_1:o(2658,e.DiagnosticCategory.Error,"Type_0_provides_no_match_for_the_signature_1_2658","Type '{0}' provides no match for the signature '{1}'."),super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher:o(2659,e.DiagnosticCategory.Error,"super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659","'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher."),super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions:o(2660,e.DiagnosticCategory.Error,"super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660","'super' can only be referenced in members of derived classes or object literal expressions."),Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module:o(2661,e.DiagnosticCategory.Error,"Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module_2661","Cannot export '{0}'. Only local declarations can be exported from a module."),Cannot_find_name_0_Did_you_mean_the_static_member_1_0:o(2662,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662","Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?"),Cannot_find_name_0_Did_you_mean_the_instance_member_this_0:o(2663,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663","Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?"),Invalid_module_name_in_augmentation_module_0_cannot_be_found:o(2664,e.DiagnosticCategory.Error,"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664","Invalid module name in augmentation, module '{0}' cannot be found."),Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented:o(2665,e.DiagnosticCategory.Error,"Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augm_2665","Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented."),Exports_and_export_assignments_are_not_permitted_in_module_augmentations:o(2666,e.DiagnosticCategory.Error,"Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666","Exports and export assignments are not permitted in module augmentations."),Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module:o(2667,e.DiagnosticCategory.Error,"Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667","Imports are not permitted in module augmentations. Consider moving them to the enclosing external module."),export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible:o(2668,e.DiagnosticCategory.Error,"export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always__2668","'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible."),Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:o(2669,e.DiagnosticCategory.Error,"Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669","Augmentations for the global scope can only be directly nested in external modules or ambient module declarations."),Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context:o(2670,e.DiagnosticCategory.Error,"Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670","Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context."),Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity:o(2671,e.DiagnosticCategory.Error,"Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity_2671","Cannot augment module '{0}' because it resolves to a non-module entity."),Cannot_assign_a_0_constructor_type_to_a_1_constructor_type:o(2672,e.DiagnosticCategory.Error,"Cannot_assign_a_0_constructor_type_to_a_1_constructor_type_2672","Cannot assign a '{0}' constructor type to a '{1}' constructor type."),Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration:o(2673,e.DiagnosticCategory.Error,"Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration_2673","Constructor of class '{0}' is private and only accessible within the class declaration."),Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration:o(2674,e.DiagnosticCategory.Error,"Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration_2674","Constructor of class '{0}' is protected and only accessible within the class declaration."),Cannot_extend_a_class_0_Class_constructor_is_marked_as_private:o(2675,e.DiagnosticCategory.Error,"Cannot_extend_a_class_0_Class_constructor_is_marked_as_private_2675","Cannot extend a class '{0}'. Class constructor is marked as private."),Accessors_must_both_be_abstract_or_non_abstract:o(2676,e.DiagnosticCategory.Error,"Accessors_must_both_be_abstract_or_non_abstract_2676","Accessors must both be abstract or non-abstract."),A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type:o(2677,e.DiagnosticCategory.Error,"A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type_2677","A type predicate's type must be assignable to its parameter's type."),Type_0_is_not_comparable_to_type_1:o(2678,e.DiagnosticCategory.Error,"Type_0_is_not_comparable_to_type_1_2678","Type '{0}' is not comparable to type '{1}'."),A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void:o(2679,e.DiagnosticCategory.Error,"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679","A function that is called with the 'new' keyword cannot have a 'this' type that is 'void'."),A_0_parameter_must_be_the_first_parameter:o(2680,e.DiagnosticCategory.Error,"A_0_parameter_must_be_the_first_parameter_2680","A '{0}' parameter must be the first parameter."),A_constructor_cannot_have_a_this_parameter:o(2681,e.DiagnosticCategory.Error,"A_constructor_cannot_have_a_this_parameter_2681","A constructor cannot have a 'this' parameter."),get_and_set_accessor_must_have_the_same_this_type:o(2682,e.DiagnosticCategory.Error,"get_and_set_accessor_must_have_the_same_this_type_2682","'get' and 'set' accessor must have the same 'this' type."),this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:o(2683,e.DiagnosticCategory.Error,"this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_2683","'this' implicitly has type 'any' because it does not have a type annotation."),The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1:o(2684,e.DiagnosticCategory.Error,"The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1_2684","The 'this' context of type '{0}' is not assignable to method's 'this' of type '{1}'."),The_this_types_of_each_signature_are_incompatible:o(2685,e.DiagnosticCategory.Error,"The_this_types_of_each_signature_are_incompatible_2685","The 'this' types of each signature are incompatible."),_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead:o(2686,e.DiagnosticCategory.Error,"_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead_2686","'{0}' refers to a UMD global, but the current file is a module. Consider adding an import instead."),All_declarations_of_0_must_have_identical_modifiers:o(2687,e.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_modifiers_2687","All declarations of '{0}' must have identical modifiers."),Cannot_find_type_definition_file_for_0:o(2688,e.DiagnosticCategory.Error,"Cannot_find_type_definition_file_for_0_2688","Cannot find type definition file for '{0}'."),Cannot_extend_an_interface_0_Did_you_mean_implements:o(2689,e.DiagnosticCategory.Error,"Cannot_extend_an_interface_0_Did_you_mean_implements_2689","Cannot extend an interface '{0}'. Did you mean 'implements'?"),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0:o(2690,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0_2690","'{0}' only refers to a type, but is being used as a value here. Did you mean to use '{1} in {0}'?"),An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead:o(2691,e.DiagnosticCategory.Error,"An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead_2691","An import path cannot end with a '{0}' extension. Consider importing '{1}' instead."),_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible:o(2692,e.DiagnosticCategory.Error,"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692","'{0}' is a primitive, but '{1}' is a wrapper object. Prefer using '{0}' when possible."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here:o(2693,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_2693","'{0}' only refers to a type, but is being used as a value here."),Namespace_0_has_no_exported_member_1:o(2694,e.DiagnosticCategory.Error,"Namespace_0_has_no_exported_member_1_2694","Namespace '{0}' has no exported member '{1}'."),Left_side_of_comma_operator_is_unused_and_has_no_side_effects:o(2695,e.DiagnosticCategory.Error,"Left_side_of_comma_operator_is_unused_and_has_no_side_effects_2695","Left side of comma operator is unused and has no side effects.",!0),The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead:o(2696,e.DiagnosticCategory.Error,"The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead_2696","The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?"),An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:o(2697,e.DiagnosticCategory.Error,"An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_in_2697","An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option."),Spread_types_may_only_be_created_from_object_types:o(2698,e.DiagnosticCategory.Error,"Spread_types_may_only_be_created_from_object_types_2698","Spread types may only be created from object types."),Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1:o(2699,e.DiagnosticCategory.Error,"Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699","Static property '{0}' conflicts with built-in property 'Function.{0}' of constructor function '{1}'."),Rest_types_may_only_be_created_from_object_types:o(2700,e.DiagnosticCategory.Error,"Rest_types_may_only_be_created_from_object_types_2700","Rest types may only be created from object types."),The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:o(2701,e.DiagnosticCategory.Error,"The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access_2701","The target of an object rest assignment must be a variable or a property access."),_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here:o(2702,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702","'{0}' only refers to a type, but is being used as a namespace here."),The_operand_of_a_delete_operator_must_be_a_property_reference:o(2703,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_must_be_a_property_reference_2703","The operand of a 'delete' operator must be a property reference."),The_operand_of_a_delete_operator_cannot_be_a_read_only_property:o(2704,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_cannot_be_a_read_only_property_2704","The operand of a 'delete' operator cannot be a read-only property."),An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:o(2705,e.DiagnosticCategory.Error,"An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_de_2705","An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option."),Required_type_parameters_may_not_follow_optional_type_parameters:o(2706,e.DiagnosticCategory.Error,"Required_type_parameters_may_not_follow_optional_type_parameters_2706","Required type parameters may not follow optional type parameters."),Generic_type_0_requires_between_1_and_2_type_arguments:o(2707,e.DiagnosticCategory.Error,"Generic_type_0_requires_between_1_and_2_type_arguments_2707","Generic type '{0}' requires between {1} and {2} type arguments."),Cannot_use_namespace_0_as_a_value:o(2708,e.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:o(2709,e.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_type_2709","Cannot use namespace '{0}' as a type."),_0_are_specified_twice_The_attribute_named_0_will_be_overwritten:o(2710,e.DiagnosticCategory.Error,"_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710","'{0}' are specified twice. The attribute named '{0}' will be overwritten."),A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:o(2711,e.DiagnosticCategory.Error,"A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES20_2711","A dynamic import call returns a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option."),A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:o(2712,e.DiagnosticCategory.Error,"A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declarat_2712","A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option."),Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1:o(2713,e.DiagnosticCategory.Error,"Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_p_2713",`Cannot access '{0}.{1}' because '{0}' is a type, but not a namespace. Did you mean to retrieve the type of the property '{1}' in '{0}' with '{0}["{1}"]'?`),The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context:o(2714,e.DiagnosticCategory.Error,"The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context_2714","The expression of an export assignment must be an identifier or qualified name in an ambient context."),Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor:o(2715,e.DiagnosticCategory.Error,"Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor_2715","Abstract property '{0}' in class '{1}' cannot be accessed in the constructor."),Type_parameter_0_has_a_circular_default:o(2716,e.DiagnosticCategory.Error,"Type_parameter_0_has_a_circular_default_2716","Type parameter '{0}' has a circular default."),Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:o(2717,e.DiagnosticCategory.Error,"Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_t_2717","Subsequent property declarations must have the same type. Property '{0}' must be of type '{1}', but here has type '{2}'."),Duplicate_property_0:o(2718,e.DiagnosticCategory.Error,"Duplicate_property_0_2718","Duplicate property '{0}'."),Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:o(2719,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_2719","Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated."),Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:o(2720,e.DiagnosticCategory.Error,"Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclas_2720","Class '{0}' incorrectly implements class '{1}'. Did you mean to extend '{1}' and inherit its members as a subclass?"),Cannot_invoke_an_object_which_is_possibly_null:o(2721,e.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_null_2721","Cannot invoke an object which is possibly 'null'."),Cannot_invoke_an_object_which_is_possibly_undefined:o(2722,e.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_undefined_2722","Cannot invoke an object which is possibly 'undefined'."),Cannot_invoke_an_object_which_is_possibly_null_or_undefined:o(2723,e.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_null_or_undefined_2723","Cannot invoke an object which is possibly 'null' or 'undefined'."),_0_has_no_exported_member_named_1_Did_you_mean_2:o(2724,e.DiagnosticCategory.Error,"_0_has_no_exported_member_named_1_Did_you_mean_2_2724","'{0}' has no exported member named '{1}'. Did you mean '{2}'?"),Class_name_cannot_be_Object_when_targeting_ES5_with_module_0:o(2725,e.DiagnosticCategory.Error,"Class_name_cannot_be_Object_when_targeting_ES5_with_module_0_2725","Class name cannot be 'Object' when targeting ES5 with module {0}."),Cannot_find_lib_definition_for_0:o(2726,e.DiagnosticCategory.Error,"Cannot_find_lib_definition_for_0_2726","Cannot find lib definition for '{0}'."),Cannot_find_lib_definition_for_0_Did_you_mean_1:o(2727,e.DiagnosticCategory.Error,"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727","Cannot find lib definition for '{0}'. Did you mean '{1}'?"),_0_is_declared_here:o(2728,e.DiagnosticCategory.Message,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:o(2729,e.DiagnosticCategory.Error,"Property_0_is_used_before_its_initialization_2729","Property '{0}' is used before its initialization."),An_arrow_function_cannot_have_a_this_parameter:o(2730,e.DiagnosticCategory.Error,"An_arrow_function_cannot_have_a_this_parameter_2730","An arrow function cannot have a 'this' parameter."),Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String:o(2731,e.DiagnosticCategory.Error,"Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731","Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Consider wrapping this expression in 'String(...)'."),Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension:o(2732,e.DiagnosticCategory.Error,"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732","Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension."),Property_0_was_also_declared_here:o(2733,e.DiagnosticCategory.Error,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:o(2734,e.DiagnosticCategory.Error,"Are_you_missing_a_semicolon_2734","Are you missing a semicolon?"),Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1:o(2735,e.DiagnosticCategory.Error,"Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1_2735","Did you mean for '{0}' to be constrained to type 'new (...args: any[]) => {1}'?"),Operator_0_cannot_be_applied_to_type_1:o(2736,e.DiagnosticCategory.Error,"Operator_0_cannot_be_applied_to_type_1_2736","Operator '{0}' cannot be applied to type '{1}'."),BigInt_literals_are_not_available_when_targeting_lower_than_ES2020:o(2737,e.DiagnosticCategory.Error,"BigInt_literals_are_not_available_when_targeting_lower_than_ES2020_2737","BigInt literals are not available when targeting lower than ES2020."),An_outer_value_of_this_is_shadowed_by_this_container:o(2738,e.DiagnosticCategory.Message,"An_outer_value_of_this_is_shadowed_by_this_container_2738","An outer value of 'this' is shadowed by this container."),Type_0_is_missing_the_following_properties_from_type_1_Colon_2:o(2739,e.DiagnosticCategory.Error,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_2739","Type '{0}' is missing the following properties from type '{1}': {2}"),Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more:o(2740,e.DiagnosticCategory.Error,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more_2740","Type '{0}' is missing the following properties from type '{1}': {2}, and {3} more."),Property_0_is_missing_in_type_1_but_required_in_type_2:o(2741,e.DiagnosticCategory.Error,"Property_0_is_missing_in_type_1_but_required_in_type_2_2741","Property '{0}' is missing in type '{1}' but required in type '{2}'."),The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary:o(2742,e.DiagnosticCategory.Error,"The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_a_2742","The inferred type of '{0}' cannot be named without a reference to '{1}'. This is likely not portable. A type annotation is necessary."),No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments:o(2743,e.DiagnosticCategory.Error,"No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments_2743","No overload expects {0} type arguments, but overloads do exist that expect either {1} or {2} type arguments."),Type_parameter_defaults_can_only_reference_previously_declared_type_parameters:o(2744,e.DiagnosticCategory.Error,"Type_parameter_defaults_can_only_reference_previously_declared_type_parameters_2744","Type parameter defaults can only reference previously declared type parameters."),This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided:o(2745,e.DiagnosticCategory.Error,"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745","This JSX tag's '{0}' prop expects type '{1}' which requires multiple children, but only a single child was provided."),This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided:o(2746,e.DiagnosticCategory.Error,"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746","This JSX tag's '{0}' prop expects a single child of type '{1}', but multiple children were provided."),_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2:o(2747,e.DiagnosticCategory.Error,"_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_t_2747","'{0}' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of '{1}' is '{2}'."),Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided:o(2748,e.DiagnosticCategory.Error,"Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided_2748","Cannot access ambient const enums when the '--isolatedModules' flag is provided."),_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0:o(2749,e.DiagnosticCategory.Error,"_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0_2749","'{0}' refers to a value, but is being used as a type here. Did you mean 'typeof {0}'?"),The_implementation_signature_is_declared_here:o(2750,e.DiagnosticCategory.Error,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:o(2751,e.DiagnosticCategory.Error,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:o(2752,e.DiagnosticCategory.Error,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:o(2753,e.DiagnosticCategory.Error,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:o(2754,e.DiagnosticCategory.Error,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:o(2755,e.DiagnosticCategory.Error,"No_constituent_of_type_0_is_callable_2755","No constituent of type '{0}' is callable."),Not_all_constituents_of_type_0_are_callable:o(2756,e.DiagnosticCategory.Error,"Not_all_constituents_of_type_0_are_callable_2756","Not all constituents of type '{0}' are callable."),Type_0_has_no_call_signatures:o(2757,e.DiagnosticCategory.Error,"Type_0_has_no_call_signatures_2757","Type '{0}' has no call signatures."),Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:o(2758,e.DiagnosticCategory.Error,"Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_2758","Each member of the union type '{0}' has signatures, but none of those signatures are compatible with each other."),No_constituent_of_type_0_is_constructable:o(2759,e.DiagnosticCategory.Error,"No_constituent_of_type_0_is_constructable_2759","No constituent of type '{0}' is constructable."),Not_all_constituents_of_type_0_are_constructable:o(2760,e.DiagnosticCategory.Error,"Not_all_constituents_of_type_0_are_constructable_2760","Not all constituents of type '{0}' are constructable."),Type_0_has_no_construct_signatures:o(2761,e.DiagnosticCategory.Error,"Type_0_has_no_construct_signatures_2761","Type '{0}' has no construct signatures."),Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other:o(2762,e.DiagnosticCategory.Error,"Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762","Each member of the union type '{0}' has construct signatures, but none of those signatures are compatible with each other."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:o(2763,e.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_s_2763","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but for-of will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:o(2764,e.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_al_2764","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array spread will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:o(2765,e.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring__2765","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array destructuring will always send '{0}'."),Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:o(2766,e.DiagnosticCategory.Error,"Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_co_2766","Cannot delegate iteration to value because the 'next' method of its iterator expects type '{1}', but the containing generator will always send '{0}'."),The_0_property_of_an_iterator_must_be_a_method:o(2767,e.DiagnosticCategory.Error,"The_0_property_of_an_iterator_must_be_a_method_2767","The '{0}' property of an iterator must be a method."),The_0_property_of_an_async_iterator_must_be_a_method:o(2768,e.DiagnosticCategory.Error,"The_0_property_of_an_async_iterator_must_be_a_method_2768","The '{0}' property of an async iterator must be a method."),No_overload_matches_this_call:o(2769,e.DiagnosticCategory.Error,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:o(2770,e.DiagnosticCategory.Error,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:o(2771,e.DiagnosticCategory.Error,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:o(2772,e.DiagnosticCategory.Error,"Overload_0_of_1_2_gave_the_following_error_2772","Overload {0} of {1}, '{2}', gave the following error."),Did_you_forget_to_use_await:o(2773,e.DiagnosticCategory.Error,"Did_you_forget_to_use_await_2773","Did you forget to use 'await'?"),This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead:o(2774,e.DiagnosticCategory.Error,"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774","This condition will always return true since this function is always defined. Did you mean to call it instead?"),Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation:o(2775,e.DiagnosticCategory.Error,"Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation_2775","Assertions require every name in the call target to be declared with an explicit type annotation."),Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name:o(2776,e.DiagnosticCategory.Error,"Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776","Assertions require the call target to be an identifier or qualified name."),The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access:o(2777,e.DiagnosticCategory.Error,"The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access_2777","The operand of an increment or decrement operator may not be an optional property access."),The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:o(2778,e.DiagnosticCategory.Error,"The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access_2778","The target of an object rest assignment may not be an optional property access."),The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access:o(2779,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779","The left-hand side of an assignment expression may not be an optional property access."),The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access:o(2780,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access_2780","The left-hand side of a 'for...in' statement may not be an optional property access."),The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access:o(2781,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access_2781","The left-hand side of a 'for...of' statement may not be an optional property access."),_0_needs_an_explicit_type_annotation:o(2782,e.DiagnosticCategory.Message,"_0_needs_an_explicit_type_annotation_2782","'{0}' needs an explicit type annotation."),_0_is_specified_more_than_once_so_this_usage_will_be_overwritten:o(2783,e.DiagnosticCategory.Error,"_0_is_specified_more_than_once_so_this_usage_will_be_overwritten_2783","'{0}' is specified more than once, so this usage will be overwritten."),get_and_set_accessors_cannot_declare_this_parameters:o(2784,e.DiagnosticCategory.Error,"get_and_set_accessors_cannot_declare_this_parameters_2784","'get' and 'set' accessors cannot declare 'this' parameters."),This_spread_always_overwrites_this_property:o(2785,e.DiagnosticCategory.Error,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:o(2786,e.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_JSX_component_2786","'{0}' cannot be used as a JSX component."),Its_return_type_0_is_not_a_valid_JSX_element:o(2787,e.DiagnosticCategory.Error,"Its_return_type_0_is_not_a_valid_JSX_element_2787","Its return type '{0}' is not a valid JSX element."),Its_instance_type_0_is_not_a_valid_JSX_element:o(2788,e.DiagnosticCategory.Error,"Its_instance_type_0_is_not_a_valid_JSX_element_2788","Its instance type '{0}' is not a valid JSX element."),Its_element_type_0_is_not_a_valid_JSX_element:o(2789,e.DiagnosticCategory.Error,"Its_element_type_0_is_not_a_valid_JSX_element_2789","Its element type '{0}' is not a valid JSX element."),The_operand_of_a_delete_operator_must_be_optional:o(2790,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_must_be_optional_2790","The operand of a 'delete' operator must be optional."),Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later:o(2791,e.DiagnosticCategory.Error,"Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791","Exponentiation cannot be performed on 'bigint' values unless the 'target' option is set to 'es2016' or later."),Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option:o(2792,e.DiagnosticCategory.Error,"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_th_2792","Cannot find module '{0}'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?"),The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible:o(2793,e.DiagnosticCategory.Error,"The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_2793","The call would have succeeded against this implementation, but implementation signatures of overloads are not externally visible."),Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise:o(2794,e.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise_2794","Expected {0} arguments, but got {1}. Did you forget to include 'void' in your type argument to 'Promise'?"),The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types:o(2795,e.DiagnosticCategory.Error,"The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types_2795","The 'intrinsic' keyword can only be used to declare compiler provided intrinsic types."),It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tagged_template_expression_which_cannot_be_invoked:o(2796,e.DiagnosticCategory.Error,"It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tag_2796","It is likely that you are missing a comma to separate these two template expressions. They form a tagged template expression which cannot be invoked."),A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract:o(2797,e.DiagnosticCategory.Error,"A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_2797","A mixin class that extends from a type variable containing an abstract construct signature must also be declared 'abstract'."),The_declaration_was_marked_as_deprecated_here:o(2798,e.DiagnosticCategory.Error,"The_declaration_was_marked_as_deprecated_here_2798","The declaration was marked as deprecated here."),Type_produces_a_tuple_type_that_is_too_large_to_represent:o(2799,e.DiagnosticCategory.Error,"Type_produces_a_tuple_type_that_is_too_large_to_represent_2799","Type produces a tuple type that is too large to represent."),Expression_produces_a_tuple_type_that_is_too_large_to_represent:o(2800,e.DiagnosticCategory.Error,"Expression_produces_a_tuple_type_that_is_too_large_to_represent_2800","Expression produces a tuple type that is too large to represent."),This_condition_will_always_return_true_since_this_0_is_always_defined:o(2801,e.DiagnosticCategory.Error,"This_condition_will_always_return_true_since_this_0_is_always_defined_2801","This condition will always return true since this '{0}' is always defined."),Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher:o(2802,e.DiagnosticCategory.Error,"Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es201_2802","Type '{0}' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher."),Cannot_assign_to_private_method_0_Private_methods_are_not_writable:o(2803,e.DiagnosticCategory.Error,"Cannot_assign_to_private_method_0_Private_methods_are_not_writable_2803","Cannot assign to private method '{0}'. Private methods are not writable."),Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name:o(2804,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name_2804","Duplicate identifier '{0}'. Static and instance elements cannot share the same private name."),Static_fields_with_private_names_can_t_have_initializers_when_the_useDefineForClassFields_flag_is_not_specified_with_a_target_of_esnext_Consider_adding_the_useDefineForClassFields_flag:o(2805,e.DiagnosticCategory.Error,"Static_fields_with_private_names_can_t_have_initializers_when_the_useDefineForClassFields_flag_is_no_2805","Static fields with private names can't have initializers when the '--useDefineForClassFields' flag is not specified with a '--target' of 'esnext'. Consider adding the '--useDefineForClassFields' flag."),Private_accessor_was_defined_without_a_getter:o(2806,e.DiagnosticCategory.Error,"Private_accessor_was_defined_without_a_getter_2806","Private accessor was defined without a getter."),This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0:o(2807,e.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_o_2807","This syntax requires an imported helper named '{1}' with {2} parameters, which is not compatible with the one in '{0}'. Consider upgrading your version of '{0}'."),A_get_accessor_must_be_at_least_as_accessible_as_the_setter:o(2808,e.DiagnosticCategory.Error,"A_get_accessor_must_be_at_least_as_accessible_as_the_setter_2808","A get accessor must be at least as accessible as the setter"),Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_the_whole_assignment_in_parentheses:o(2809,e.DiagnosticCategory.Error,"Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_d_2809","Declaration or statement expected. This '=' follows a block of statements, so if you intended to write a destructuring assignment, you might need to wrap the the whole assignment in parentheses."),Property_0_may_not_be_used_in_a_static_property_s_initializer_in_the_same_class_when_target_is_esnext_and_useDefineForClassFields_is_false:o(2810,e.DiagnosticCategory.Error,"Property_0_may_not_be_used_in_a_static_property_s_initializer_in_the_same_class_when_target_is_esnex_2810","Property '{0}' may not be used in a static property's initializer in the same class when 'target' is 'esnext' and 'useDefineForClassFields' is 'false'."),Initializer_for_property_0:o(2811,e.DiagnosticCategory.Error,"Initializer_for_property_0_2811","Initializer for property '{0}'"),Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:o(2812,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom_2812","Property '{0}' does not exist on type '{1}'. Try changing the 'lib' compiler option to include 'dom'."),Class_declaration_cannot_implement_overload_list_for_0:o(2813,e.DiagnosticCategory.Error,"Class_declaration_cannot_implement_overload_list_for_0_2813","Class declaration cannot implement overload list for '{0}'."),Function_with_bodies_can_only_merge_with_classes_that_are_ambient:o(2814,e.DiagnosticCategory.Error,"Function_with_bodies_can_only_merge_with_classes_that_are_ambient_2814","Function with bodies can only merge with classes that are ambient."),arguments_cannot_be_referenced_in_property_initializers:o(2815,e.DiagnosticCategory.Error,"arguments_cannot_be_referenced_in_property_initializers_2815","'arguments' cannot be referenced in property initializers."),Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class:o(2816,e.DiagnosticCategory.Error,"Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class_2816","Cannot use 'this' in a static property initializer of a decorated class."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block:o(2817,e.DiagnosticCategory.Error,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block_2817","Property '{0}' has no initializer and is not definitely assigned in a class static block."),Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers:o(2818,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializer_2818","Duplicate identifier '{0}'. Compiler reserves name '{1}' when emitting 'super' references in static initializers."),Namespace_name_cannot_be_0:o(2819,e.DiagnosticCategory.Error,"Namespace_name_cannot_be_0_2819","Namespace name cannot be '{0}'."),Import_declaration_0_is_using_private_name_1:o(4e3,e.DiagnosticCategory.Error,"Import_declaration_0_is_using_private_name_1_4000","Import declaration '{0}' is using private name '{1}'."),Type_parameter_0_of_exported_class_has_or_is_using_private_name_1:o(4002,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002","Type parameter '{0}' of exported class has or is using private name '{1}'."),Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1:o(4004,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004","Type parameter '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:o(4006,e.DiagnosticCategory.Error,"Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4006","Type parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:o(4008,e.DiagnosticCategory.Error,"Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4008","Type parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:o(4010,e.DiagnosticCategory.Error,"Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4010","Type parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:o(4012,e.DiagnosticCategory.Error,"Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4012","Type parameter '{0}' of public method from exported class has or is using private name '{1}'."),Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:o(4014,e.DiagnosticCategory.Error,"Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4014","Type parameter '{0}' of method from exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_function_has_or_is_using_private_name_1:o(4016,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_function_has_or_is_using_private_name_1_4016","Type parameter '{0}' of exported function has or is using private name '{1}'."),Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:o(4019,e.DiagnosticCategory.Error,"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019","Implements clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_0_has_or_is_using_private_name_1:o(4020,e.DiagnosticCategory.Error,"extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020","'extends' clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_has_or_is_using_private_name_0:o(4021,e.DiagnosticCategory.Error,"extends_clause_of_exported_class_has_or_is_using_private_name_0_4021","'extends' clause of exported class has or is using private name '{0}'."),extends_clause_of_exported_interface_0_has_or_is_using_private_name_1:o(4022,e.DiagnosticCategory.Error,"extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022","'extends' clause of exported interface '{0}' has or is using private name '{1}'."),Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:o(4023,e.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4023","Exported variable '{0}' has or is using name '{1}' from external module {2} but cannot be named."),Exported_variable_0_has_or_is_using_name_1_from_private_module_2:o(4024,e.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_name_1_from_private_module_2_4024","Exported variable '{0}' has or is using name '{1}' from private module '{2}'."),Exported_variable_0_has_or_is_using_private_name_1:o(4025,e.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_private_name_1_4025","Exported variable '{0}' has or is using private name '{1}'."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:o(4026,e.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot__4026","Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:o(4027,e.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4027","Public static property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:o(4028,e.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_private_name_1_4028","Public static property '{0}' of exported class has or is using private name '{1}'."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:o(4029,e.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_name_4029","Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:o(4030,e.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4030","Public property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_property_0_of_exported_class_has_or_is_using_private_name_1:o(4031,e.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_private_name_1_4031","Public property '{0}' of exported class has or is using private name '{1}'."),Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:o(4032,e.DiagnosticCategory.Error,"Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4032","Property '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Property_0_of_exported_interface_has_or_is_using_private_name_1:o(4033,e.DiagnosticCategory.Error,"Property_0_of_exported_interface_has_or_is_using_private_name_1_4033","Property '{0}' of exported interface has or is using private name '{1}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:o(4034,e.DiagnosticCategory.Error,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_mod_4034","Parameter type of public static setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:o(4035,e.DiagnosticCategory.Error,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1_4035","Parameter type of public static setter '{0}' from exported class has or is using private name '{1}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:o(4036,e.DiagnosticCategory.Error,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4036","Parameter type of public setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:o(4037,e.DiagnosticCategory.Error,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1_4037","Parameter type of public setter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:o(4038,e.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_modul_4038","Return type of public static getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:o(4039,e.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_4039","Return type of public static getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:o(4040,e.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1_4040","Return type of public static getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:o(4041,e.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_4041","Return type of public getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:o(4042,e.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4042","Return type of public getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1:o(4043,e.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1_4043","Return type of public getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:o(4044,e.DiagnosticCategory.Error,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_mod_4044","Return type of constructor signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0:o(4045,e.DiagnosticCategory.Error,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0_4045","Return type of constructor signature from exported interface has or is using private name '{0}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:o(4046,e.DiagnosticCategory.Error,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4046","Return type of call signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0:o(4047,e.DiagnosticCategory.Error,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0_4047","Return type of call signature from exported interface has or is using private name '{0}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:o(4048,e.DiagnosticCategory.Error,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4048","Return type of index signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0:o(4049,e.DiagnosticCategory.Error,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0_4049","Return type of index signature from exported interface has or is using private name '{0}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:o(4050,e.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module__4050","Return type of public static method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:o(4051,e.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4051","Return type of public static method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:o(4052,e.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0_4052","Return type of public static method from exported class has or is using private name '{0}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:o(4053,e.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_c_4053","Return type of public method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:o(4054,e.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4054","Return type of public method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:o(4055,e.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0_4055","Return type of public method from exported class has or is using private name '{0}'."),Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:o(4056,e.DiagnosticCategory.Error,"Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4056","Return type of method from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0:o(4057,e.DiagnosticCategory.Error,"Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0_4057","Return type of method from exported interface has or is using private name '{0}'."),Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:o(4058,e.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named_4058","Return type of exported function has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:o(4059,e.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1_4059","Return type of exported function has or is using name '{0}' from private module '{1}'."),Return_type_of_exported_function_has_or_is_using_private_name_0:o(4060,e.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_private_name_0_4060","Return type of exported function has or is using private name '{0}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:o(4061,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_can_4061","Parameter '{0}' of constructor from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:o(4062,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2_4062","Parameter '{0}' of constructor from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1:o(4063,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1_4063","Parameter '{0}' of constructor from exported class has or is using private name '{1}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:o(4064,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_mod_4064","Parameter '{0}' of constructor signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:o(4065,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4065","Parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:o(4066,e.DiagnosticCategory.Error,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4066","Parameter '{0}' of call signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:o(4067,e.DiagnosticCategory.Error,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4067","Parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:o(4068,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module__4068","Parameter '{0}' of public static method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:o(4069,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4069","Parameter '{0}' of public static method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:o(4070,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4070","Parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:o(4071,e.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_c_4071","Parameter '{0}' of public method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:o(4072,e.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4072","Parameter '{0}' of public method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:o(4073,e.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4073","Parameter '{0}' of public method from exported class has or is using private name '{1}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:o(4074,e.DiagnosticCategory.Error,"Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4074","Parameter '{0}' of method from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:o(4075,e.DiagnosticCategory.Error,"Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4075","Parameter '{0}' of method from exported interface has or is using private name '{1}'."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:o(4076,e.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4076","Parameter '{0}' of exported function has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:o(4077,e.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2_4077","Parameter '{0}' of exported function has or is using name '{1}' from private module '{2}'."),Parameter_0_of_exported_function_has_or_is_using_private_name_1:o(4078,e.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_private_name_1_4078","Parameter '{0}' of exported function has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1:o(4081,e.DiagnosticCategory.Error,"Exported_type_alias_0_has_or_is_using_private_name_1_4081","Exported type alias '{0}' has or is using private name '{1}'."),Default_export_of_the_module_has_or_is_using_private_name_0:o(4082,e.DiagnosticCategory.Error,"Default_export_of_the_module_has_or_is_using_private_name_0_4082","Default export of the module has or is using private name '{0}'."),Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1:o(4083,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1_4083","Type parameter '{0}' of exported type alias has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:o(4084,e.DiagnosticCategory.Error,"Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2_4084","Exported type alias '{0}' has or is using private name '{1}' from module {2}."),Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict:o(4090,e.DiagnosticCategory.Error,"Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_librar_4090","Conflicting definitions for '{0}' found at '{1}' and '{2}'. Consider installing a specific version of this library to resolve the conflict."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:o(4091,e.DiagnosticCategory.Error,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4091","Parameter '{0}' of index signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1:o(4092,e.DiagnosticCategory.Error,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1_4092","Parameter '{0}' of index signature from exported interface has or is using private name '{1}'."),Property_0_of_exported_class_expression_may_not_be_private_or_protected:o(4094,e.DiagnosticCategory.Error,"Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094","Property '{0}' of exported class expression may not be private or protected."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:o(4095,e.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_4095","Public static method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:o(4096,e.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4096","Public static method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:o(4097,e.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_private_name_1_4097","Public static method '{0}' of exported class has or is using private name '{1}'."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:o(4098,e.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098","Public method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:o(4099,e.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099","Public method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_method_0_of_exported_class_has_or_is_using_private_name_1:o(4100,e.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100","Public method '{0}' of exported class has or is using private name '{1}'."),Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:o(4101,e.DiagnosticCategory.Error,"Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4101","Method '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Method_0_of_exported_interface_has_or_is_using_private_name_1:o(4102,e.DiagnosticCategory.Error,"Method_0_of_exported_interface_has_or_is_using_private_name_1_4102","Method '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1:o(4103,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1_4103","Type parameter '{0}' of exported mapped object type is using private name '{1}'."),The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1:o(4104,e.DiagnosticCategory.Error,"The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1_4104","The type '{0}' is 'readonly' and cannot be assigned to the mutable type '{1}'."),Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter:o(4105,e.DiagnosticCategory.Error,"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105","Private or protected member '{0}' cannot be accessed on a type parameter."),Parameter_0_of_accessor_has_or_is_using_private_name_1:o(4106,e.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_private_name_1_4106","Parameter '{0}' of accessor has or is using private name '{1}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:o(4107,e.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2_4107","Parameter '{0}' of accessor has or is using name '{1}' from private module '{2}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:o(4108,e.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4108","Parameter '{0}' of accessor has or is using name '{1}' from external module '{2}' but cannot be named."),Type_arguments_for_0_circularly_reference_themselves:o(4109,e.DiagnosticCategory.Error,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:o(4110,e.DiagnosticCategory.Error,"Tuple_type_arguments_circularly_reference_themselves_4110","Tuple type arguments circularly reference themselves."),Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0:o(4111,e.DiagnosticCategory.Error,"Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0_4111","Property '{0}' comes from an index signature, so it must be accessed with ['{0}']."),This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class:o(4112,e.DiagnosticCategory.Error,"This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another__4112","This member cannot have an 'override' modifier because its containing class '{0}' does not extend another class."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0:o(4113,e.DiagnosticCategory.Error,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_4113","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0:o(4114,e.DiagnosticCategory.Error,"This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0_4114","This member must have an 'override' modifier because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:o(4115,e.DiagnosticCategory.Error,"This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115","This parameter property must have an 'override' modifier because it overrides a member in base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0:o(4116,e.DiagnosticCategory.Error,"This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared__4116","This member must have an 'override' modifier because it overrides an abstract method that is declared in the base class '{0}'."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:o(4117,e.DiagnosticCategory.Error,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you__4117","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'. Did you mean '{1}'?"),The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized:o(4118,e.DiagnosticCategory.Error,"The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized_4118","The type of this node cannot be serialized because its property '{0}' cannot be serialized."),The_current_host_does_not_support_the_0_option:o(5001,e.DiagnosticCategory.Error,"The_current_host_does_not_support_the_0_option_5001","The current host does not support the '{0}' option."),Cannot_find_the_common_subdirectory_path_for_the_input_files:o(5009,e.DiagnosticCategory.Error,"Cannot_find_the_common_subdirectory_path_for_the_input_files_5009","Cannot find the common subdirectory path for the input files."),File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:o(5010,e.DiagnosticCategory.Error,"File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010","File specification cannot end in a recursive directory wildcard ('**'): '{0}'."),Cannot_read_file_0_Colon_1:o(5012,e.DiagnosticCategory.Error,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:o(5014,e.DiagnosticCategory.Error,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:o(5023,e.DiagnosticCategory.Error,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:o(5024,e.DiagnosticCategory.Error,"Compiler_option_0_requires_a_value_of_type_1_5024","Compiler option '{0}' requires a value of type {1}."),Unknown_compiler_option_0_Did_you_mean_1:o(5025,e.DiagnosticCategory.Error,"Unknown_compiler_option_0_Did_you_mean_1_5025","Unknown compiler option '{0}'. Did you mean '{1}'?"),Could_not_write_file_0_Colon_1:o(5033,e.DiagnosticCategory.Error,"Could_not_write_file_0_Colon_1_5033","Could not write file '{0}': {1}."),Option_project_cannot_be_mixed_with_source_files_on_a_command_line:o(5042,e.DiagnosticCategory.Error,"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042","Option 'project' cannot be mixed with source files on a command line."),Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher:o(5047,e.DiagnosticCategory.Error,"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047","Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher."),Option_0_cannot_be_specified_when_option_target_is_ES3:o(5048,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_when_option_target_is_ES3_5048","Option '{0}' cannot be specified when option 'target' is 'ES3'."),Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided:o(5051,e.DiagnosticCategory.Error,"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051","Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided."),Option_0_cannot_be_specified_without_specifying_option_1:o(5052,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_without_specifying_option_1_5052","Option '{0}' cannot be specified without specifying option '{1}'."),Option_0_cannot_be_specified_with_option_1:o(5053,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_with_option_1_5053","Option '{0}' cannot be specified with option '{1}'."),A_tsconfig_json_file_is_already_defined_at_Colon_0:o(5054,e.DiagnosticCategory.Error,"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054","A 'tsconfig.json' file is already defined at: '{0}'."),Cannot_write_file_0_because_it_would_overwrite_input_file:o(5055,e.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_would_overwrite_input_file_5055","Cannot write file '{0}' because it would overwrite input file."),Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files:o(5056,e.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files_5056","Cannot write file '{0}' because it would be overwritten by multiple input files."),Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0:o(5057,e.DiagnosticCategory.Error,"Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057","Cannot find a tsconfig.json file at the specified directory: '{0}'."),The_specified_path_does_not_exist_Colon_0:o(5058,e.DiagnosticCategory.Error,"The_specified_path_does_not_exist_Colon_0_5058","The specified path does not exist: '{0}'."),Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier:o(5059,e.DiagnosticCategory.Error,"Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059","Invalid value for '--reactNamespace'. '{0}' is not a valid identifier."),Pattern_0_can_have_at_most_one_Asterisk_character:o(5061,e.DiagnosticCategory.Error,"Pattern_0_can_have_at_most_one_Asterisk_character_5061","Pattern '{0}' can have at most one '*' character."),Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character:o(5062,e.DiagnosticCategory.Error,"Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character_5062","Substitution '{0}' in pattern '{1}' can have at most one '*' character."),Substitutions_for_pattern_0_should_be_an_array:o(5063,e.DiagnosticCategory.Error,"Substitutions_for_pattern_0_should_be_an_array_5063","Substitutions for pattern '{0}' should be an array."),Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2:o(5064,e.DiagnosticCategory.Error,"Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2_5064","Substitution '{0}' for pattern '{1}' has incorrect type, expected 'string', got '{2}'."),File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:o(5065,e.DiagnosticCategory.Error,"File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildca_5065","File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '{0}'."),Substitutions_for_pattern_0_shouldn_t_be_an_empty_array:o(5066,e.DiagnosticCategory.Error,"Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066","Substitutions for pattern '{0}' shouldn't be an empty array."),Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name:o(5067,e.DiagnosticCategory.Error,"Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name_5067","Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name."),Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig:o(5068,e.DiagnosticCategory.Error,"Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript__5068","Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig."),Option_0_cannot_be_specified_without_specifying_option_1_or_option_2:o(5069,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_without_specifying_option_1_or_option_2_5069","Option '{0}' cannot be specified without specifying option '{1}' or option '{2}'."),Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy:o(5070,e.DiagnosticCategory.Error,"Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070","Option '--resolveJsonModule' cannot be specified without 'node' module resolution strategy."),Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext:o(5071,e.DiagnosticCategory.Error,"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071","Option '--resolveJsonModule' can only be specified when module code generation is 'commonjs', 'amd', 'es2015' or 'esNext'."),Unknown_build_option_0:o(5072,e.DiagnosticCategory.Error,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:o(5073,e.DiagnosticCategory.Error,"Build_option_0_requires_a_value_of_type_1_5073","Build option '{0}' requires a value of type {1}."),Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified:o(5074,e.DiagnosticCategory.Error,"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074","Option '--incremental' can only be specified using tsconfig, emitting to single file or when option '--tsBuildInfoFile' is specified."),_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2:o(5075,e.DiagnosticCategory.Error,"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075","'{0}' is assignable to the constraint of type '{1}', but '{1}' could be instantiated with a different subtype of constraint '{2}'."),_0_and_1_operations_cannot_be_mixed_without_parentheses:o(5076,e.DiagnosticCategory.Error,"_0_and_1_operations_cannot_be_mixed_without_parentheses_5076","'{0}' and '{1}' operations cannot be mixed without parentheses."),Unknown_build_option_0_Did_you_mean_1:o(5077,e.DiagnosticCategory.Error,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:o(5078,e.DiagnosticCategory.Error,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:o(5079,e.DiagnosticCategory.Error,"Unknown_watch_option_0_Did_you_mean_1_5079","Unknown watch option '{0}'. Did you mean '{1}'?"),Watch_option_0_requires_a_value_of_type_1:o(5080,e.DiagnosticCategory.Error,"Watch_option_0_requires_a_value_of_type_1_5080","Watch option '{0}' requires a value of type {1}."),Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0:o(5081,e.DiagnosticCategory.Error,"Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0_5081","Cannot find a tsconfig.json file at the current directory: {0}."),_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1:o(5082,e.DiagnosticCategory.Error,"_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1_5082","'{0}' could be instantiated with an arbitrary type which could be unrelated to '{1}'."),Cannot_read_file_0:o(5083,e.DiagnosticCategory.Error,"Cannot_read_file_0_5083","Cannot read file '{0}'."),Tuple_members_must_all_have_names_or_all_not_have_names:o(5084,e.DiagnosticCategory.Error,"Tuple_members_must_all_have_names_or_all_not_have_names_5084","Tuple members must all have names or all not have names."),A_tuple_member_cannot_be_both_optional_and_rest:o(5085,e.DiagnosticCategory.Error,"A_tuple_member_cannot_be_both_optional_and_rest_5085","A tuple member cannot be both optional and rest."),A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type:o(5086,e.DiagnosticCategory.Error,"A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_c_5086","A labeled tuple element is declared as optional with a question mark after the name and before the colon, rather than after the type."),A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type:o(5087,e.DiagnosticCategory.Error,"A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type_5087","A labeled tuple element is declared as rest with a '...' before the name, rather than before the type."),The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary:o(5088,e.DiagnosticCategory.Error,"The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088","The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary."),Option_0_cannot_be_specified_when_option_jsx_is_1:o(5089,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_when_option_jsx_is_1_5089","Option '{0}' cannot be specified when option 'jsx' is '{1}'."),Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash:o(5090,e.DiagnosticCategory.Error,"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090","Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?"),Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled:o(5091,e.DiagnosticCategory.Error,"Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled_5091","Option 'preserveConstEnums' cannot be disabled when 'isolatedModules' is enabled."),The_root_value_of_a_0_file_must_be_an_object:o(5092,e.DiagnosticCategory.Error,"The_root_value_of_a_0_file_must_be_an_object_5092","The root value of a '{0}' file must be an object."),Compiler_option_0_may_only_be_used_with_build:o(5093,e.DiagnosticCategory.Error,"Compiler_option_0_may_only_be_used_with_build_5093","Compiler option '--{0}' may only be used with '--build'."),Compiler_option_0_may_not_be_used_with_build:o(5094,e.DiagnosticCategory.Error,"Compiler_option_0_may_not_be_used_with_build_5094","Compiler option '--{0}' may not be used with '--build'."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:o(6e3,e.DiagnosticCategory.Message,"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000","Generates a sourcemap for each corresponding '.d.ts' file."),Concatenate_and_emit_output_to_single_file:o(6001,e.DiagnosticCategory.Message,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:o(6002,e.DiagnosticCategory.Message,"Generates_corresponding_d_ts_file_6002","Generates corresponding '.d.ts' file."),Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:o(6655,e.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6655","Specify the location where debugger should locate map files instead of generated locations."),Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations:o(6004,e.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004","Specify the location where debugger should locate TypeScript files instead of source locations."),Watch_input_files:o(6005,e.DiagnosticCategory.Message,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:o(6006,e.DiagnosticCategory.Message,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:o(6007,e.DiagnosticCategory.Message,"Do_not_erase_const_enum_declarations_in_generated_code_6007","Do not erase const enum declarations in generated code."),Do_not_emit_outputs_if_any_errors_were_reported:o(6008,e.DiagnosticCategory.Message,"Do_not_emit_outputs_if_any_errors_were_reported_6008","Do not emit outputs if any errors were reported."),Do_not_emit_comments_to_output:o(6009,e.DiagnosticCategory.Message,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:o(6010,e.DiagnosticCategory.Message,"Do_not_emit_outputs_6010","Do not emit outputs."),Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking:o(6011,e.DiagnosticCategory.Message,"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011","Allow default imports from modules with no default export. This does not affect code emit, just typechecking."),Skip_type_checking_of_declaration_files:o(6012,e.DiagnosticCategory.Message,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:o(6013,e.DiagnosticCategory.Message,"Do_not_resolve_the_real_path_of_symlinks_6013","Do not resolve the real path of symlinks."),Only_emit_d_ts_declaration_files:o(6014,e.DiagnosticCategory.Message,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version:o(6015,e.DiagnosticCategory.Message,"Specify_ECMAScript_target_version_6015","Specify ECMAScript target version."),Specify_module_code_generation:o(6016,e.DiagnosticCategory.Message,"Specify_module_code_generation_6016","Specify module code generation."),Print_this_message:o(6017,e.DiagnosticCategory.Message,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:o(6019,e.DiagnosticCategory.Message,"Print_the_compiler_s_version_6019","Print the compiler's version."),Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json:o(6020,e.DiagnosticCategory.Message,"Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json_6020","Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'."),Syntax_Colon_0:o(6023,e.DiagnosticCategory.Message,"Syntax_Colon_0_6023","Syntax: {0}"),options:o(6024,e.DiagnosticCategory.Message,"options_6024","options"),file:o(6025,e.DiagnosticCategory.Message,"file_6025","file"),Examples_Colon_0:o(6026,e.DiagnosticCategory.Message,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:o(6027,e.DiagnosticCategory.Message,"Options_Colon_6027","Options:"),Version_0:o(6029,e.DiagnosticCategory.Message,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:o(6030,e.DiagnosticCategory.Message,"Insert_command_line_options_and_files_from_a_file_6030","Insert command line options and files from a file."),Starting_compilation_in_watch_mode:o(6031,e.DiagnosticCategory.Message,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:o(6032,e.DiagnosticCategory.Message,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:o(6034,e.DiagnosticCategory.Message,"KIND_6034","KIND"),FILE:o(6035,e.DiagnosticCategory.Message,"FILE_6035","FILE"),VERSION:o(6036,e.DiagnosticCategory.Message,"VERSION_6036","VERSION"),LOCATION:o(6037,e.DiagnosticCategory.Message,"LOCATION_6037","LOCATION"),DIRECTORY:o(6038,e.DiagnosticCategory.Message,"DIRECTORY_6038","DIRECTORY"),STRATEGY:o(6039,e.DiagnosticCategory.Message,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:o(6040,e.DiagnosticCategory.Message,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Generates_corresponding_map_file:o(6043,e.DiagnosticCategory.Message,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:o(6044,e.DiagnosticCategory.Error,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:o(6045,e.DiagnosticCategory.Error,"Unterminated_quoted_string_in_response_file_0_6045","Unterminated quoted string in response file '{0}'."),Argument_for_0_option_must_be_Colon_1:o(6046,e.DiagnosticCategory.Error,"Argument_for_0_option_must_be_Colon_1_6046","Argument for '{0}' option must be: {1}."),Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1:o(6048,e.DiagnosticCategory.Error,"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048","Locale must be of the form or -. For example '{0}' or '{1}'."),Unsupported_locale_0:o(6049,e.DiagnosticCategory.Error,"Unsupported_locale_0_6049","Unsupported locale '{0}'."),Unable_to_open_file_0:o(6050,e.DiagnosticCategory.Error,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:o(6051,e.DiagnosticCategory.Error,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:o(6052,e.DiagnosticCategory.Message,"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052","Raise error on expressions and declarations with an implied 'any' type."),File_0_not_found:o(6053,e.DiagnosticCategory.Error,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:o(6054,e.DiagnosticCategory.Error,"File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1_6054","File '{0}' has an unsupported extension. The only supported extensions are {1}."),Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures:o(6055,e.DiagnosticCategory.Message,"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055","Suppress noImplicitAny errors for indexing objects lacking index signatures."),Do_not_emit_declarations_for_code_that_has_an_internal_annotation:o(6056,e.DiagnosticCategory.Message,"Do_not_emit_declarations_for_code_that_has_an_internal_annotation_6056","Do not emit declarations for code that has an '@internal' annotation."),Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir:o(6058,e.DiagnosticCategory.Message,"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058","Specify the root directory of input files. Use to control the output directory structure with --outDir."),File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files:o(6059,e.DiagnosticCategory.Error,"File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059","File '{0}' is not under 'rootDir' '{1}'. 'rootDir' is expected to contain all source files."),Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix:o(6060,e.DiagnosticCategory.Message,"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060","Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix)."),NEWLINE:o(6061,e.DiagnosticCategory.Message,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:o(6064,e.DiagnosticCategory.Error,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'null' on command line."),Enables_experimental_support_for_ES7_decorators:o(6065,e.DiagnosticCategory.Message,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:o(6066,e.DiagnosticCategory.Message,"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066","Enables experimental support for emitting type metadata for decorators."),Enables_experimental_support_for_ES7_async_functions:o(6068,e.DiagnosticCategory.Message,"Enables_experimental_support_for_ES7_async_functions_6068","Enables experimental support for ES7 async functions."),Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6:o(6069,e.DiagnosticCategory.Message,"Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6_6069","Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6)."),Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:o(6070,e.DiagnosticCategory.Message,"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070","Initializes a TypeScript project and creates a tsconfig.json file."),Successfully_created_a_tsconfig_json_file:o(6071,e.DiagnosticCategory.Message,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:o(6072,e.DiagnosticCategory.Message,"Suppress_excess_property_checks_for_object_literals_6072","Suppress excess property checks for object literals."),Stylize_errors_and_messages_using_color_and_context_experimental:o(6073,e.DiagnosticCategory.Message,"Stylize_errors_and_messages_using_color_and_context_experimental_6073","Stylize errors and messages using color and context (experimental)."),Do_not_report_errors_on_unused_labels:o(6074,e.DiagnosticCategory.Message,"Do_not_report_errors_on_unused_labels_6074","Do not report errors on unused labels."),Report_error_when_not_all_code_paths_in_function_return_a_value:o(6075,e.DiagnosticCategory.Message,"Report_error_when_not_all_code_paths_in_function_return_a_value_6075","Report error when not all code paths in function return a value."),Report_errors_for_fallthrough_cases_in_switch_statement:o(6076,e.DiagnosticCategory.Message,"Report_errors_for_fallthrough_cases_in_switch_statement_6076","Report errors for fallthrough cases in switch statement."),Do_not_report_errors_on_unreachable_code:o(6077,e.DiagnosticCategory.Message,"Do_not_report_errors_on_unreachable_code_6077","Do not report errors on unreachable code."),Disallow_inconsistently_cased_references_to_the_same_file:o(6078,e.DiagnosticCategory.Message,"Disallow_inconsistently_cased_references_to_the_same_file_6078","Disallow inconsistently-cased references to the same file."),Specify_library_files_to_be_included_in_the_compilation:o(6079,e.DiagnosticCategory.Message,"Specify_library_files_to_be_included_in_the_compilation_6079","Specify library files to be included in the compilation."),Specify_JSX_code_generation:o(6080,e.DiagnosticCategory.Message,"Specify_JSX_code_generation_6080","Specify JSX code generation."),File_0_has_an_unsupported_extension_so_skipping_it:o(6081,e.DiagnosticCategory.Message,"File_0_has_an_unsupported_extension_so_skipping_it_6081","File '{0}' has an unsupported extension, so skipping it."),Only_amd_and_system_modules_are_supported_alongside_0:o(6082,e.DiagnosticCategory.Error,"Only_amd_and_system_modules_are_supported_alongside_0_6082","Only 'amd' and 'system' modules are supported alongside --{0}."),Base_directory_to_resolve_non_absolute_module_names:o(6083,e.DiagnosticCategory.Message,"Base_directory_to_resolve_non_absolute_module_names_6083","Base directory to resolve non-absolute module names."),Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit:o(6084,e.DiagnosticCategory.Message,"Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react__6084","[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for createElement when targeting 'react' JSX emit"),Enable_tracing_of_the_name_resolution_process:o(6085,e.DiagnosticCategory.Message,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:o(6086,e.DiagnosticCategory.Message,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:o(6087,e.DiagnosticCategory.Message,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:o(6088,e.DiagnosticCategory.Message,"Module_resolution_kind_is_not_specified_using_0_6088","Module resolution kind is not specified, using '{0}'."),Module_name_0_was_successfully_resolved_to_1:o(6089,e.DiagnosticCategory.Message,"Module_name_0_was_successfully_resolved_to_1_6089","======== Module name '{0}' was successfully resolved to '{1}'. ========"),Module_name_0_was_not_resolved:o(6090,e.DiagnosticCategory.Message,"Module_name_0_was_not_resolved_6090","======== Module name '{0}' was not resolved. ========"),paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0:o(6091,e.DiagnosticCategory.Message,"paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091","'paths' option is specified, looking for a pattern to match module name '{0}'."),Module_name_0_matched_pattern_1:o(6092,e.DiagnosticCategory.Message,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:o(6093,e.DiagnosticCategory.Message,"Trying_substitution_0_candidate_module_location_Colon_1_6093","Trying substitution '{0}', candidate module location: '{1}'."),Resolving_module_name_0_relative_to_base_url_1_2:o(6094,e.DiagnosticCategory.Message,"Resolving_module_name_0_relative_to_base_url_1_2_6094","Resolving module name '{0}' relative to base url '{1}' - '{2}'."),Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1:o(6095,e.DiagnosticCategory.Message,"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1_6095","Loading module as file / folder, candidate module location '{0}', target file type '{1}'."),File_0_does_not_exist:o(6096,e.DiagnosticCategory.Message,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exist_use_it_as_a_name_resolution_result:o(6097,e.DiagnosticCategory.Message,"File_0_exist_use_it_as_a_name_resolution_result_6097","File '{0}' exist - use it as a name resolution result."),Loading_module_0_from_node_modules_folder_target_file_type_1:o(6098,e.DiagnosticCategory.Message,"Loading_module_0_from_node_modules_folder_target_file_type_1_6098","Loading module '{0}' from 'node_modules' folder, target file type '{1}'."),Found_package_json_at_0:o(6099,e.DiagnosticCategory.Message,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:o(6100,e.DiagnosticCategory.Message,"package_json_does_not_have_a_0_field_6100","'package.json' does not have a '{0}' field."),package_json_has_0_field_1_that_references_2:o(6101,e.DiagnosticCategory.Message,"package_json_has_0_field_1_that_references_2_6101","'package.json' has '{0}' field '{1}' that references '{2}'."),Allow_javascript_files_to_be_compiled:o(6102,e.DiagnosticCategory.Message,"Allow_javascript_files_to_be_compiled_6102","Allow javascript files to be compiled."),Option_0_should_have_array_of_strings_as_a_value:o(6103,e.DiagnosticCategory.Error,"Option_0_should_have_array_of_strings_as_a_value_6103","Option '{0}' should have array of strings as a value."),Checking_if_0_is_the_longest_matching_prefix_for_1_2:o(6104,e.DiagnosticCategory.Message,"Checking_if_0_is_the_longest_matching_prefix_for_1_2_6104","Checking if '{0}' is the longest matching prefix for '{1}' - '{2}'."),Expected_type_of_0_field_in_package_json_to_be_1_got_2:o(6105,e.DiagnosticCategory.Message,"Expected_type_of_0_field_in_package_json_to_be_1_got_2_6105","Expected type of '{0}' field in 'package.json' to be '{1}', got '{2}'."),baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1:o(6106,e.DiagnosticCategory.Message,"baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106","'baseUrl' option is set to '{0}', using this value to resolve non-relative module name '{1}'."),rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0:o(6107,e.DiagnosticCategory.Message,"rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0_6107","'rootDirs' option is set, using it to resolve relative module name '{0}'."),Longest_matching_prefix_for_0_is_1:o(6108,e.DiagnosticCategory.Message,"Longest_matching_prefix_for_0_is_1_6108","Longest matching prefix for '{0}' is '{1}'."),Loading_0_from_the_root_dir_1_candidate_location_2:o(6109,e.DiagnosticCategory.Message,"Loading_0_from_the_root_dir_1_candidate_location_2_6109","Loading '{0}' from the root dir '{1}', candidate location '{2}'."),Trying_other_entries_in_rootDirs:o(6110,e.DiagnosticCategory.Message,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:o(6111,e.DiagnosticCategory.Message,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:o(6112,e.DiagnosticCategory.Message,"Do_not_emit_use_strict_directives_in_module_output_6112","Do not emit 'use strict' directives in module output."),Enable_strict_null_checks:o(6113,e.DiagnosticCategory.Message,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:o(6114,e.DiagnosticCategory.Error,"Unknown_option_excludes_Did_you_mean_exclude_6114","Unknown option 'excludes'. Did you mean 'exclude'?"),Raise_error_on_this_expressions_with_an_implied_any_type:o(6115,e.DiagnosticCategory.Message,"Raise_error_on_this_expressions_with_an_implied_any_type_6115","Raise error on 'this' expressions with an implied 'any' type."),Resolving_type_reference_directive_0_containing_file_1_root_directory_2:o(6116,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116","======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========"),Resolving_using_primary_search_paths:o(6117,e.DiagnosticCategory.Message,"Resolving_using_primary_search_paths_6117","Resolving using primary search paths..."),Resolving_from_node_modules_folder:o(6118,e.DiagnosticCategory.Message,"Resolving_from_node_modules_folder_6118","Resolving from node_modules folder..."),Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:o(6119,e.DiagnosticCategory.Message,"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119","======== Type reference directive '{0}' was successfully resolved to '{1}', primary: {2}. ========"),Type_reference_directive_0_was_not_resolved:o(6120,e.DiagnosticCategory.Message,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:o(6121,e.DiagnosticCategory.Message,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:o(6122,e.DiagnosticCategory.Message,"Root_directory_cannot_be_determined_skipping_primary_search_paths_6122","Root directory cannot be determined, skipping primary search paths."),Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set:o(6123,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set_6123","======== Resolving type reference directive '{0}', containing file '{1}', root directory not set. ========"),Type_declaration_files_to_be_included_in_compilation:o(6124,e.DiagnosticCategory.Message,"Type_declaration_files_to_be_included_in_compilation_6124","Type declaration files to be included in compilation."),Looking_up_in_node_modules_folder_initial_location_0:o(6125,e.DiagnosticCategory.Message,"Looking_up_in_node_modules_folder_initial_location_0_6125","Looking up in 'node_modules' folder, initial location '{0}'."),Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder:o(6126,e.DiagnosticCategory.Message,"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126","Containing file is not specified and root directory cannot be determined, skipping lookup in 'node_modules' folder."),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1:o(6127,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1_6127","======== Resolving type reference directive '{0}', containing file not set, root directory '{1}'. ========"),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set:o(6128,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set_6128","======== Resolving type reference directive '{0}', containing file not set, root directory not set. ========"),Resolving_real_path_for_0_result_1:o(6130,e.DiagnosticCategory.Message,"Resolving_real_path_for_0_result_1_6130","Resolving real path for '{0}', result '{1}'."),Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system:o(6131,e.DiagnosticCategory.Error,"Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system_6131","Cannot compile modules using option '{0}' unless the '--module' flag is 'amd' or 'system'."),File_name_0_has_a_1_extension_stripping_it:o(6132,e.DiagnosticCategory.Message,"File_name_0_has_a_1_extension_stripping_it_6132","File name '{0}' has a '{1}' extension - stripping it."),_0_is_declared_but_its_value_is_never_read:o(6133,e.DiagnosticCategory.Error,"_0_is_declared_but_its_value_is_never_read_6133","'{0}' is declared but its value is never read.",!0),Report_errors_on_unused_locals:o(6134,e.DiagnosticCategory.Message,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:o(6135,e.DiagnosticCategory.Message,"Report_errors_on_unused_parameters_6135","Report errors on unused parameters."),The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files:o(6136,e.DiagnosticCategory.Message,"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136","The maximum dependency depth to search under node_modules and load JavaScript files."),Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1:o(6137,e.DiagnosticCategory.Error,"Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1_6137","Cannot import type declaration files. Consider importing '{0}' instead of '{1}'."),Property_0_is_declared_but_its_value_is_never_read:o(6138,e.DiagnosticCategory.Error,"Property_0_is_declared_but_its_value_is_never_read_6138","Property '{0}' is declared but its value is never read.",!0),Import_emit_helpers_from_tslib:o(6139,e.DiagnosticCategory.Message,"Import_emit_helpers_from_tslib_6139","Import emit helpers from 'tslib'."),Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2:o(6140,e.DiagnosticCategory.Error,"Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140","Auto discovery for typings is enabled in project '{0}'. Running extra resolution pass for module '{1}' using cache location '{2}'."),Parse_in_strict_mode_and_emit_use_strict_for_each_source_file:o(6141,e.DiagnosticCategory.Message,"Parse_in_strict_mode_and_emit_use_strict_for_each_source_file_6141",'Parse in strict mode and emit "use strict" for each source file.'),Module_0_was_resolved_to_1_but_jsx_is_not_set:o(6142,e.DiagnosticCategory.Error,"Module_0_was_resolved_to_1_but_jsx_is_not_set_6142","Module '{0}' was resolved to '{1}', but '--jsx' is not set."),Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1:o(6144,e.DiagnosticCategory.Message,"Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1_6144","Module '{0}' was resolved as locally declared ambient module in file '{1}'."),Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified:o(6145,e.DiagnosticCategory.Message,"Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified_6145","Module '{0}' was resolved as ambient module declared in '{1}' since this file was not modified."),Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h:o(6146,e.DiagnosticCategory.Message,"Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h_6146","Specify the JSX factory function to use when targeting 'react' JSX emit, e.g. 'React.createElement' or 'h'."),Resolution_for_module_0_was_found_in_cache_from_location_1:o(6147,e.DiagnosticCategory.Message,"Resolution_for_module_0_was_found_in_cache_from_location_1_6147","Resolution for module '{0}' was found in cache from location '{1}'."),Directory_0_does_not_exist_skipping_all_lookups_in_it:o(6148,e.DiagnosticCategory.Message,"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148","Directory '{0}' does not exist, skipping all lookups in it."),Show_diagnostic_information:o(6149,e.DiagnosticCategory.Message,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:o(6150,e.DiagnosticCategory.Message,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:o(6151,e.DiagnosticCategory.Message,"Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file_6151","Emit a single file with source maps instead of having a separate file."),Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set:o(6152,e.DiagnosticCategory.Message,"Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap__6152","Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set."),Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule:o(6153,e.DiagnosticCategory.Message,"Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153","Transpile each file as a separate module (similar to 'ts.transpileModule')."),Print_names_of_generated_files_part_of_the_compilation:o(6154,e.DiagnosticCategory.Message,"Print_names_of_generated_files_part_of_the_compilation_6154","Print names of generated files part of the compilation."),Print_names_of_files_part_of_the_compilation:o(6155,e.DiagnosticCategory.Message,"Print_names_of_files_part_of_the_compilation_6155","Print names of files part of the compilation."),The_locale_used_when_displaying_messages_to_the_user_e_g_en_us:o(6156,e.DiagnosticCategory.Message,"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156","The locale used when displaying messages to the user (e.g. 'en-us')"),Do_not_generate_custom_helper_functions_like_extends_in_compiled_output:o(6157,e.DiagnosticCategory.Message,"Do_not_generate_custom_helper_functions_like_extends_in_compiled_output_6157","Do not generate custom helper functions like '__extends' in compiled output."),Do_not_include_the_default_library_file_lib_d_ts:o(6158,e.DiagnosticCategory.Message,"Do_not_include_the_default_library_file_lib_d_ts_6158","Do not include the default library file (lib.d.ts)."),Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files:o(6159,e.DiagnosticCategory.Message,"Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files_6159","Do not add triple-slash references or imported modules to the list of compiled files."),Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files:o(6160,e.DiagnosticCategory.Message,"Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files_6160","[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default library declaration files."),List_of_folders_to_include_type_definitions_from:o(6161,e.DiagnosticCategory.Message,"List_of_folders_to_include_type_definitions_from_6161","List of folders to include type definitions from."),Disable_size_limitations_on_JavaScript_projects:o(6162,e.DiagnosticCategory.Message,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:o(6163,e.DiagnosticCategory.Message,"The_character_set_of_the_input_files_6163","The character set of the input files."),Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:o(6622,e.DiagnosticCategory.Message,"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6622","Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files."),Do_not_truncate_error_messages:o(6165,e.DiagnosticCategory.Message,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:o(6166,e.DiagnosticCategory.Message,"Output_directory_for_generated_declaration_files_6166","Output directory for generated declaration files."),A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl:o(6167,e.DiagnosticCategory.Message,"A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl_6167","A series of entries which re-map imports to lookup locations relative to the 'baseUrl'."),List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime:o(6168,e.DiagnosticCategory.Message,"List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168","List of root folders whose combined content represents the structure of the project at runtime."),Show_all_compiler_options:o(6169,e.DiagnosticCategory.Message,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:o(6170,e.DiagnosticCategory.Message,"Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170","[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file"),Command_line_Options:o(6171,e.DiagnosticCategory.Message,"Command_line_Options_6171","Command-line Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3:o(6179,e.DiagnosticCategory.Message,"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179","Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'."),Enable_all_strict_type_checking_options:o(6180,e.DiagnosticCategory.Message,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),List_of_language_service_plugins:o(6181,e.DiagnosticCategory.Message,"List_of_language_service_plugins_6181","List of language service plugins."),Scoped_package_detected_looking_in_0:o(6182,e.DiagnosticCategory.Message,"Scoped_package_detected_looking_in_0_6182","Scoped package detected, looking in '{0}'"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:o(6183,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_6183","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:o(6184,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package__6184","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Enable_strict_checking_of_function_types:o(6186,e.DiagnosticCategory.Message,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:o(6187,e.DiagnosticCategory.Message,"Enable_strict_checking_of_property_initialization_in_classes_6187","Enable strict checking of property initialization in classes."),Numeric_separators_are_not_allowed_here:o(6188,e.DiagnosticCategory.Error,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:o(6189,e.DiagnosticCategory.Error,"Multiple_consecutive_numeric_separators_are_not_permitted_6189","Multiple consecutive numeric separators are not permitted."),Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen:o(6191,e.DiagnosticCategory.Message,"Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191","Whether to keep outdated console output in watch mode instead of clearing the screen."),All_imports_in_import_declaration_are_unused:o(6192,e.DiagnosticCategory.Error,"All_imports_in_import_declaration_are_unused_6192","All imports in import declaration are unused.",!0),Found_1_error_Watching_for_file_changes:o(6193,e.DiagnosticCategory.Message,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:o(6194,e.DiagnosticCategory.Message,"Found_0_errors_Watching_for_file_changes_6194","Found {0} errors. Watching for file changes."),Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols:o(6195,e.DiagnosticCategory.Message,"Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195","Resolve 'keyof' to string valued property names only (no numbers or symbols)."),_0_is_declared_but_never_used:o(6196,e.DiagnosticCategory.Error,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:o(6197,e.DiagnosticCategory.Message,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:o(6198,e.DiagnosticCategory.Error,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:o(6199,e.DiagnosticCategory.Error,"All_variables_are_unused_6199","All variables are unused.",!0),Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0:o(6200,e.DiagnosticCategory.Error,"Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0_6200","Definitions of the following identifiers conflict with those in another file: {0}"),Conflicts_are_in_this_file:o(6201,e.DiagnosticCategory.Message,"Conflicts_are_in_this_file_6201","Conflicts are in this file."),Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0:o(6202,e.DiagnosticCategory.Error,"Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0_6202","Project references may not form a circular graph. Cycle detected: {0}"),_0_was_also_declared_here:o(6203,e.DiagnosticCategory.Message,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:o(6204,e.DiagnosticCategory.Message,"and_here_6204","and here."),All_type_parameters_are_unused:o(6205,e.DiagnosticCategory.Error,"All_type_parameters_are_unused_6205","All type parameters are unused."),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:o(6206,e.DiagnosticCategory.Message,"package_json_has_a_typesVersions_field_with_version_specific_path_mappings_6206","'package.json' has a 'typesVersions' field with version-specific path mappings."),package_json_does_not_have_a_typesVersions_entry_that_matches_version_0:o(6207,e.DiagnosticCategory.Message,"package_json_does_not_have_a_typesVersions_entry_that_matches_version_0_6207","'package.json' does not have a 'typesVersions' entry that matches version '{0}'."),package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2:o(6208,e.DiagnosticCategory.Message,"package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_ma_6208","'package.json' has a 'typesVersions' entry '{0}' that matches compiler version '{1}', looking for a pattern to match module name '{2}'."),package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range:o(6209,e.DiagnosticCategory.Message,"package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range_6209","'package.json' has a 'typesVersions' entry '{0}' that is not a valid semver range."),An_argument_for_0_was_not_provided:o(6210,e.DiagnosticCategory.Message,"An_argument_for_0_was_not_provided_6210","An argument for '{0}' was not provided."),An_argument_matching_this_binding_pattern_was_not_provided:o(6211,e.DiagnosticCategory.Message,"An_argument_matching_this_binding_pattern_was_not_provided_6211","An argument matching this binding pattern was not provided."),Did_you_mean_to_call_this_expression:o(6212,e.DiagnosticCategory.Message,"Did_you_mean_to_call_this_expression_6212","Did you mean to call this expression?"),Did_you_mean_to_use_new_with_this_expression:o(6213,e.DiagnosticCategory.Message,"Did_you_mean_to_use_new_with_this_expression_6213","Did you mean to use 'new' with this expression?"),Enable_strict_bind_call_and_apply_methods_on_functions:o(6214,e.DiagnosticCategory.Message,"Enable_strict_bind_call_and_apply_methods_on_functions_6214","Enable strict 'bind', 'call', and 'apply' methods on functions."),Using_compiler_options_of_project_reference_redirect_0:o(6215,e.DiagnosticCategory.Message,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:o(6216,e.DiagnosticCategory.Message,"Found_1_error_6216","Found 1 error."),Found_0_errors:o(6217,e.DiagnosticCategory.Message,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:o(6218,e.DiagnosticCategory.Message,"Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2_6218","======== Module name '{0}' was successfully resolved to '{1}' with Package ID '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3:o(6219,e.DiagnosticCategory.Message,"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219","======== Type reference directive '{0}' was successfully resolved to '{1}' with Package ID '{2}', primary: {3}. ========"),package_json_had_a_falsy_0_field:o(6220,e.DiagnosticCategory.Message,"package_json_had_a_falsy_0_field_6220","'package.json' had a falsy '{0}' field."),Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects:o(6221,e.DiagnosticCategory.Message,"Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects_6221","Disable use of source files instead of declaration files from referenced projects."),Emit_class_fields_with_Define_instead_of_Set:o(6222,e.DiagnosticCategory.Message,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:o(6223,e.DiagnosticCategory.Message,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:o(6224,e.DiagnosticCategory.Message,"Disable_solution_searching_for_this_project_6224","Disable solution searching for this project."),Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling_UseFsEvents_UseFsEventsOnParentDirectory:o(6225,e.DiagnosticCategory.Message,"Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_Dynami_6225","Specify strategy for watching file: 'FixedPollingInterval' (default), 'PriorityPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling', 'UseFsEvents', 'UseFsEventsOnParentDirectory'."),Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling:o(6226,e.DiagnosticCategory.Message,"Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively__6226","Specify strategy for watching directory on platforms that don't support recursive watching natively: 'UseFsEvents' (default), 'FixedPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling'."),Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority_FixedChunkSize:o(6227,e.DiagnosticCategory.Message,"Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_6227","Specify strategy for creating a polling watch when it fails to create using file system events: 'FixedInterval' (default), 'PriorityInterval', 'DynamicPriority', 'FixedChunkSize'."),Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3:o(6229,e.DiagnosticCategory.Error,"Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3_6229","Tag '{0}' expects at least '{1}' arguments, but the JSX factory '{2}' provides at most '{3}'."),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line:o(6230,e.DiagnosticCategory.Error,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'false' or 'null' on command line."),Could_not_resolve_the_path_0_with_the_extensions_Colon_1:o(6231,e.DiagnosticCategory.Error,"Could_not_resolve_the_path_0_with_the_extensions_Colon_1_6231","Could not resolve the path '{0}' with the extensions: {1}."),Declaration_augments_declaration_in_another_file_This_cannot_be_serialized:o(6232,e.DiagnosticCategory.Error,"Declaration_augments_declaration_in_another_file_This_cannot_be_serialized_6232","Declaration augments declaration in another file. This cannot be serialized."),This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file:o(6233,e.DiagnosticCategory.Error,"This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233","This is the declaration being augmented. Consider moving the augmenting declaration into the same file."),This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without:o(6234,e.DiagnosticCategory.Error,"This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234","This expression is not callable because it is a 'get' accessor. Did you mean to use it without '()'?"),Disable_loading_referenced_projects:o(6235,e.DiagnosticCategory.Message,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:o(6236,e.DiagnosticCategory.Error,"Arguments_for_the_rest_parameter_0_were_not_provided_6236","Arguments for the rest parameter '{0}' were not provided."),Generates_an_event_trace_and_a_list_of_types:o(6237,e.DiagnosticCategory.Message,"Generates_an_event_trace_and_a_list_of_types_6237","Generates an event trace and a list of types."),Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react:o(6238,e.DiagnosticCategory.Error,"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238","Specify the module specifier to be used to import the 'jsx' and 'jsxs' factory functions from. eg, react"),File_0_exists_according_to_earlier_cached_lookups:o(6239,e.DiagnosticCategory.Message,"File_0_exists_according_to_earlier_cached_lookups_6239","File '{0}' exists according to earlier cached lookups."),File_0_does_not_exist_according_to_earlier_cached_lookups:o(6240,e.DiagnosticCategory.Message,"File_0_does_not_exist_according_to_earlier_cached_lookups_6240","File '{0}' does not exist according to earlier cached lookups."),Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1:o(6241,e.DiagnosticCategory.Message,"Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241","Resolution for type reference directive '{0}' was found in cache from location '{1}'."),Resolving_type_reference_directive_0_containing_file_1:o(6242,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_6242","======== Resolving type reference directive '{0}', containing file '{1}'. ========"),Interpret_optional_property_types_as_written_rather_than_adding_undefined:o(6243,e.DiagnosticCategory.Message,"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243","Interpret optional property types as written, rather than adding 'undefined'."),Modules:o(6244,e.DiagnosticCategory.Message,"Modules_6244","Modules"),File_Management:o(6245,e.DiagnosticCategory.Message,"File_Management_6245","File Management"),Emit:o(6246,e.DiagnosticCategory.Message,"Emit_6246","Emit"),JavaScript_Support:o(6247,e.DiagnosticCategory.Message,"JavaScript_Support_6247","JavaScript Support"),Type_Checking:o(6248,e.DiagnosticCategory.Message,"Type_Checking_6248","Type Checking"),Editor_Support:o(6249,e.DiagnosticCategory.Message,"Editor_Support_6249","Editor Support"),Watch_and_Build_Modes:o(6250,e.DiagnosticCategory.Message,"Watch_and_Build_Modes_6250","Watch and Build Modes"),Compiler_Diagnostics:o(6251,e.DiagnosticCategory.Message,"Compiler_Diagnostics_6251","Compiler Diagnostics"),Interop_Constraints:o(6252,e.DiagnosticCategory.Message,"Interop_Constraints_6252","Interop Constraints"),Backwards_Compatibility:o(6253,e.DiagnosticCategory.Message,"Backwards_Compatibility_6253","Backwards Compatibility"),Language_and_Environment:o(6254,e.DiagnosticCategory.Message,"Language_and_Environment_6254","Language and Environment"),Projects:o(6255,e.DiagnosticCategory.Message,"Projects_6255","Projects"),Output_Formatting:o(6256,e.DiagnosticCategory.Message,"Output_Formatting_6256","Output Formatting"),Completeness:o(6257,e.DiagnosticCategory.Message,"Completeness_6257","Completeness"),Projects_to_reference:o(6300,e.DiagnosticCategory.Message,"Projects_to_reference_6300","Projects to reference"),Enable_project_compilation:o(6302,e.DiagnosticCategory.Message,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:o(6304,e.DiagnosticCategory.Error,"Composite_projects_may_not_disable_declaration_emit_6304","Composite projects may not disable declaration emit."),Output_file_0_has_not_been_built_from_source_file_1:o(6305,e.DiagnosticCategory.Error,"Output_file_0_has_not_been_built_from_source_file_1_6305","Output file '{0}' has not been built from source file '{1}'."),Referenced_project_0_must_have_setting_composite_Colon_true:o(6306,e.DiagnosticCategory.Error,"Referenced_project_0_must_have_setting_composite_Colon_true_6306",`Referenced project '{0}' must have setting "composite": true.`),File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern:o(6307,e.DiagnosticCategory.Error,"File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_includ_6307","File '{0}' is not listed within the file list of project '{1}'. Projects must list all files or use an 'include' pattern."),Cannot_prepend_project_0_because_it_does_not_have_outFile_set:o(6308,e.DiagnosticCategory.Error,"Cannot_prepend_project_0_because_it_does_not_have_outFile_set_6308","Cannot prepend project '{0}' because it does not have 'outFile' set"),Output_file_0_from_project_1_does_not_exist:o(6309,e.DiagnosticCategory.Error,"Output_file_0_from_project_1_does_not_exist_6309","Output file '{0}' from project '{1}' does not exist"),Referenced_project_0_may_not_disable_emit:o(6310,e.DiagnosticCategory.Error,"Referenced_project_0_may_not_disable_emit_6310","Referenced project '{0}' may not disable emit."),Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2:o(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:o(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:o(6352,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352","Project '{0}' is out of date because output file '{1}' does not exist"),Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date:o(6353,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date_6353","Project '{0}' is out of date because its dependency '{1}' is out of date"),Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies:o(6354,e.DiagnosticCategory.Message,"Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies_6354","Project '{0}' is up to date with .d.ts files from its dependencies"),Projects_in_this_build_Colon_0:o(6355,e.DiagnosticCategory.Message,"Projects_in_this_build_Colon_0_6355","Projects in this build: {0}"),A_non_dry_build_would_delete_the_following_files_Colon_0:o(6356,e.DiagnosticCategory.Message,"A_non_dry_build_would_delete_the_following_files_Colon_0_6356","A non-dry build would delete the following files: {0}"),A_non_dry_build_would_build_project_0:o(6357,e.DiagnosticCategory.Message,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:o(6358,e.DiagnosticCategory.Message,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:o(6359,e.DiagnosticCategory.Message,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),delete_this_Project_0_is_up_to_date_because_it_was_previously_built:o(6360,e.DiagnosticCategory.Message,"delete_this_Project_0_is_up_to_date_because_it_was_previously_built_6360","delete this - Project '{0}' is up to date because it was previously built"),Project_0_is_up_to_date:o(6361,e.DiagnosticCategory.Message,"Project_0_is_up_to_date_6361","Project '{0}' is up to date"),Skipping_build_of_project_0_because_its_dependency_1_has_errors:o(6362,e.DiagnosticCategory.Message,"Skipping_build_of_project_0_because_its_dependency_1_has_errors_6362","Skipping build of project '{0}' because its dependency '{1}' has errors"),Project_0_can_t_be_built_because_its_dependency_1_has_errors:o(6363,e.DiagnosticCategory.Message,"Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363","Project '{0}' can't be built because its dependency '{1}' has errors"),Build_one_or_more_projects_and_their_dependencies_if_out_of_date:o(6364,e.DiagnosticCategory.Message,"Build_one_or_more_projects_and_their_dependencies_if_out_of_date_6364","Build one or more projects and their dependencies, if out of date"),Delete_the_outputs_of_all_projects:o(6365,e.DiagnosticCategory.Message,"Delete_the_outputs_of_all_projects_6365","Delete the outputs of all projects"),Show_what_would_be_built_or_deleted_if_specified_with_clean:o(6367,e.DiagnosticCategory.Message,"Show_what_would_be_built_or_deleted_if_specified_with_clean_6367","Show what would be built (or deleted, if specified with '--clean')"),Option_build_must_be_the_first_command_line_argument:o(6369,e.DiagnosticCategory.Error,"Option_build_must_be_the_first_command_line_argument_6369","Option '--build' must be the first command line argument."),Options_0_and_1_cannot_be_combined:o(6370,e.DiagnosticCategory.Error,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:o(6371,e.DiagnosticCategory.Message,"Updating_unchanged_output_timestamps_of_project_0_6371","Updating unchanged output timestamps of project '{0}'..."),Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed:o(6372,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372","Project '{0}' is out of date because output of its dependency '{1}' has changed"),Updating_output_of_project_0:o(6373,e.DiagnosticCategory.Message,"Updating_output_of_project_0_6373","Updating output of project '{0}'..."),A_non_dry_build_would_update_timestamps_for_output_of_project_0:o(6374,e.DiagnosticCategory.Message,"A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374","A non-dry build would update timestamps for output of project '{0}'"),A_non_dry_build_would_update_output_of_project_0:o(6375,e.DiagnosticCategory.Message,"A_non_dry_build_would_update_output_of_project_0_6375","A non-dry build would update output of project '{0}'"),Cannot_update_output_of_project_0_because_there_was_error_reading_file_1:o(6376,e.DiagnosticCategory.Message,"Cannot_update_output_of_project_0_because_there_was_error_reading_file_1_6376","Cannot update output of project '{0}' because there was error reading file '{1}'"),Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1:o(6377,e.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1_6377","Cannot write file '{0}' because it will overwrite '.tsbuildinfo' file generated by referenced project '{1}'"),Enable_incremental_compilation:o(6378,e.DiagnosticCategory.Message,"Enable_incremental_compilation_6378","Enable incremental compilation"),Composite_projects_may_not_disable_incremental_compilation:o(6379,e.DiagnosticCategory.Error,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:o(6380,e.DiagnosticCategory.Message,"Specify_file_to_store_incremental_compilation_information_6380","Specify file to store incremental compilation information"),Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2:o(6381,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381","Project '{0}' is out of date because output for it was generated with version '{1}' that differs with current version '{2}'"),Skipping_build_of_project_0_because_its_dependency_1_was_not_built:o(6382,e.DiagnosticCategory.Message,"Skipping_build_of_project_0_because_its_dependency_1_was_not_built_6382","Skipping build of project '{0}' because its dependency '{1}' was not built"),Project_0_can_t_be_built_because_its_dependency_1_was_not_built:o(6383,e.DiagnosticCategory.Message,"Project_0_can_t_be_built_because_its_dependency_1_was_not_built_6383","Project '{0}' can't be built because its dependency '{1}' was not built"),Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:o(6384,e.DiagnosticCategory.Message,"Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_di_6384","Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it."),_0_is_deprecated:o(6385,e.DiagnosticCategory.Suggestion,"_0_is_deprecated_6385","'{0}' is deprecated.",void 0,void 0,!0),Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found:o(6386,e.DiagnosticCategory.Message,"Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_nativ_6386","Performance timings for '--diagnostics' or '--extendedDiagnostics' are not available in this session. A native implementation of the Web Performance API could not be found."),The_signature_0_of_1_is_deprecated:o(6387,e.DiagnosticCategory.Suggestion,"The_signature_0_of_1_is_deprecated_6387","The signature '{0}' of '{1}' is deprecated.",void 0,void 0,!0),Project_0_is_being_forcibly_rebuilt:o(6388,e.DiagnosticCategory.Message,"Project_0_is_being_forcibly_rebuilt_6388","Project '{0}' is being forcibly rebuilt"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:o(6389,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved_6389","Reusing resolution of module '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:o(6390,e.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6390","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:o(6391,e.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved:o(6392,e.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved_6392","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:o(6393,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6393","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:o(6394,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6394","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:o(6395,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved_6395","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:o(6396,e.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6396","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:o(6397,e.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6397","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:o(6398,e.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_re_6398","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:o(6500,e.DiagnosticCategory.Message,"The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1_6500","The expected type comes from property '{0}' which is declared here on type '{1}'"),The_expected_type_comes_from_this_index_signature:o(6501,e.DiagnosticCategory.Message,"The_expected_type_comes_from_this_index_signature_6501","The expected type comes from this index signature."),The_expected_type_comes_from_the_return_type_of_this_signature:o(6502,e.DiagnosticCategory.Message,"The_expected_type_comes_from_the_return_type_of_this_signature_6502","The expected type comes from the return type of this signature."),Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing:o(6503,e.DiagnosticCategory.Message,"Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing_6503","Print names of files that are part of the compilation and then stop processing."),File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option:o(6504,e.DiagnosticCategory.Error,"File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option_6504","File '{0}' is a JavaScript file. Did you mean to enable the 'allowJs' option?"),Print_names_of_files_and_the_reason_they_are_part_of_the_compilation:o(6505,e.DiagnosticCategory.Message,"Print_names_of_files_and_the_reason_they_are_part_of_the_compilation_6505","Print names of files and the reason they are part of the compilation."),Consider_adding_a_declare_modifier_to_this_class:o(6506,e.DiagnosticCategory.Message,"Consider_adding_a_declare_modifier_to_this_class_6506","Consider adding a 'declare' modifier to this class."),Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files:o(6600,e.DiagnosticCategory.Message,"Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these__6600","Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files."),Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export:o(6601,e.DiagnosticCategory.Message,"Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export_6601","Allow 'import x from y' when a module doesn't have a default export."),Allow_accessing_UMD_globals_from_modules:o(6602,e.DiagnosticCategory.Message,"Allow_accessing_UMD_globals_from_modules_6602","Allow accessing UMD globals from modules."),Disable_error_reporting_for_unreachable_code:o(6603,e.DiagnosticCategory.Message,"Disable_error_reporting_for_unreachable_code_6603","Disable error reporting for unreachable code."),Disable_error_reporting_for_unused_labels:o(6604,e.DiagnosticCategory.Message,"Disable_error_reporting_for_unused_labels_6604","Disable error reporting for unused labels."),Ensure_use_strict_is_always_emitted:o(6605,e.DiagnosticCategory.Message,"Ensure_use_strict_is_always_emitted_6605","Ensure 'use strict' is always emitted."),Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:o(6606,e.DiagnosticCategory.Message,"Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_wi_6606","Have recompiles in projects that use `incremental` and `watch` mode assume that changes within a file will only affect files directly depending on it."),Specify_the_base_directory_to_resolve_non_relative_module_names:o(6607,e.DiagnosticCategory.Message,"Specify_the_base_directory_to_resolve_non_relative_module_names_6607","Specify the base directory to resolve non-relative module names."),No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files:o(6608,e.DiagnosticCategory.Message,"No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files_6608","No longer supported. In early versions, manually set the text encoding for reading files."),Enable_error_reporting_in_type_checked_JavaScript_files:o(6609,e.DiagnosticCategory.Message,"Enable_error_reporting_in_type_checked_JavaScript_files_6609","Enable error reporting in type-checked JavaScript files."),Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references:o(6611,e.DiagnosticCategory.Message,"Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references_6611","Enable constraints that allow a TypeScript project to be used with project references."),Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project:o(6612,e.DiagnosticCategory.Message,"Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project_6612","Generate .d.ts files from TypeScript and JavaScript files in your project."),Specify_the_output_directory_for_generated_declaration_files:o(6613,e.DiagnosticCategory.Message,"Specify_the_output_directory_for_generated_declaration_files_6613","Specify the output directory for generated declaration files."),Create_sourcemaps_for_d_ts_files:o(6614,e.DiagnosticCategory.Message,"Create_sourcemaps_for_d_ts_files_6614","Create sourcemaps for d.ts files."),Output_compiler_performance_information_after_building:o(6615,e.DiagnosticCategory.Message,"Output_compiler_performance_information_after_building_6615","Output compiler performance information after building."),Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project:o(6616,e.DiagnosticCategory.Message,"Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project_6616","Disables inference for type acquisition by looking at filenames in a project."),Reduce_the_number_of_projects_loaded_automatically_by_TypeScript:o(6617,e.DiagnosticCategory.Message,"Reduce_the_number_of_projects_loaded_automatically_by_TypeScript_6617","Reduce the number of projects loaded automatically by TypeScript."),Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server:o(6618,e.DiagnosticCategory.Message,"Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server_6618","Remove the 20mb cap on total source code size for JavaScript files in the TypeScript language server."),Opt_a_project_out_of_multi_project_reference_checking_when_editing:o(6619,e.DiagnosticCategory.Message,"Opt_a_project_out_of_multi_project_reference_checking_when_editing_6619","Opt a project out of multi-project reference checking when editing."),Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects:o(6620,e.DiagnosticCategory.Message,"Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects_6620","Disable preferring source files instead of declaration files when referencing composite projects"),Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration:o(6621,e.DiagnosticCategory.Message,"Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration_6621","Emit more compliant, but verbose and less performant JavaScript for iteration."),Only_output_d_ts_files_and_not_JavaScript_files:o(6623,e.DiagnosticCategory.Message,"Only_output_d_ts_files_and_not_JavaScript_files_6623","Only output d.ts files and not JavaScript files."),Emit_design_type_metadata_for_decorated_declarations_in_source_files:o(6624,e.DiagnosticCategory.Message,"Emit_design_type_metadata_for_decorated_declarations_in_source_files_6624","Emit design-type metadata for decorated declarations in source files."),Disable_the_type_acquisition_for_JavaScript_projects:o(6625,e.DiagnosticCategory.Message,"Disable_the_type_acquisition_for_JavaScript_projects_6625","Disable the type acquisition for JavaScript projects"),Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility:o(6626,e.DiagnosticCategory.Message,"Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheti_6626","Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility."),Filters_results_from_the_include_option:o(6627,e.DiagnosticCategory.Message,"Filters_results_from_the_include_option_6627","Filters results from the `include` option."),Remove_a_list_of_directories_from_the_watch_process:o(6628,e.DiagnosticCategory.Message,"Remove_a_list_of_directories_from_the_watch_process_6628","Remove a list of directories from the watch process."),Remove_a_list_of_files_from_the_watch_mode_s_processing:o(6629,e.DiagnosticCategory.Message,"Remove_a_list_of_files_from_the_watch_mode_s_processing_6629","Remove a list of files from the watch mode's processing."),Enable_experimental_support_for_TC39_stage_2_draft_decorators:o(6630,e.DiagnosticCategory.Message,"Enable_experimental_support_for_TC39_stage_2_draft_decorators_6630","Enable experimental support for TC39 stage 2 draft decorators."),Print_files_read_during_the_compilation_including_why_it_was_included:o(6631,e.DiagnosticCategory.Message,"Print_files_read_during_the_compilation_including_why_it_was_included_6631","Print files read during the compilation including why it was included."),Output_more_detailed_compiler_performance_information_after_building:o(6632,e.DiagnosticCategory.Message,"Output_more_detailed_compiler_performance_information_after_building_6632","Output more detailed compiler performance information after building."),Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_are_inherited:o(6633,e.DiagnosticCategory.Message,"Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_a_6633","Specify one or more path or node module references to base configuration files from which settings are inherited."),Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers:o(6634,e.DiagnosticCategory.Message,"Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers_6634","Specify what approach the watcher should use if the system runs out of native file watchers."),Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include:o(6635,e.DiagnosticCategory.Message,"Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include_6635","Include a list of files. This does not support glob patterns, as opposed to `include`."),Build_all_projects_including_those_that_appear_to_be_up_to_date:o(6636,e.DiagnosticCategory.Message,"Build_all_projects_including_those_that_appear_to_be_up_to_date_6636","Build all projects, including those that appear to be up to date"),Ensure_that_casing_is_correct_in_imports:o(6637,e.DiagnosticCategory.Message,"Ensure_that_casing_is_correct_in_imports_6637","Ensure that casing is correct in imports."),Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging:o(6638,e.DiagnosticCategory.Message,"Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging_6638","Emit a v8 CPU profile of the compiler run for debugging."),Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file:o(6639,e.DiagnosticCategory.Message,"Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file_6639","Allow importing helper functions from tslib once per project, instead of including them per-file."),Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation:o(6641,e.DiagnosticCategory.Message,"Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation_6641","Specify a list of glob patterns that match files to be included in compilation."),Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects:o(6642,e.DiagnosticCategory.Message,"Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642","Save .tsbuildinfo files to allow for incremental compilation of projects."),Include_sourcemap_files_inside_the_emitted_JavaScript:o(6643,e.DiagnosticCategory.Message,"Include_sourcemap_files_inside_the_emitted_JavaScript_6643","Include sourcemap files inside the emitted JavaScript."),Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript:o(6644,e.DiagnosticCategory.Message,"Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript_6644","Include source code in the sourcemaps inside the emitted JavaScript."),Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports:o(6645,e.DiagnosticCategory.Message,"Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports_6645","Ensure that each file can be safely transpiled without relying on other imports."),Specify_what_JSX_code_is_generated:o(6646,e.DiagnosticCategory.Message,"Specify_what_JSX_code_is_generated_6646","Specify what JSX code is generated."),Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h:o(6647,e.DiagnosticCategory.Message,"Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h_6647","Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'"),Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment:o(6648,e.DiagnosticCategory.Message,"Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragme_6648","Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'."),Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk:o(6649,e.DiagnosticCategory.Message,"Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Ast_6649","Specify module specifier used to import the JSX factory functions when using `jsx: react-jsx*`.`"),Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option:o(6650,e.DiagnosticCategory.Message,"Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650","Make keyof only return strings instead of string, numbers or symbols. Legacy option."),Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment:o(6651,e.DiagnosticCategory.Message,"Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment_6651","Specify a set of bundled library declaration files that describe the target runtime environment."),Print_the_names_of_emitted_files_after_a_compilation:o(6652,e.DiagnosticCategory.Message,"Print_the_names_of_emitted_files_after_a_compilation_6652","Print the names of emitted files after a compilation."),Print_all_of_the_files_read_during_the_compilation:o(6653,e.DiagnosticCategory.Message,"Print_all_of_the_files_read_during_the_compilation_6653","Print all of the files read during the compilation."),Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit:o(6654,e.DiagnosticCategory.Message,"Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit_6654","Set the language of the messaging from TypeScript. This does not affect emit."),Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs:o(6656,e.DiagnosticCategory.Message,"Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicabl_6656","Specify the maximum folder depth used for checking JavaScript files from `node_modules`. Only applicable with `allowJs`."),Specify_what_module_code_is_generated:o(6657,e.DiagnosticCategory.Message,"Specify_what_module_code_is_generated_6657","Specify what module code is generated."),Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier:o(6658,e.DiagnosticCategory.Message,"Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier_6658","Specify how TypeScript looks up a file from a given module specifier."),Set_the_newline_character_for_emitting_files:o(6659,e.DiagnosticCategory.Message,"Set_the_newline_character_for_emitting_files_6659","Set the newline character for emitting files."),Disable_emitting_files_from_a_compilation:o(6660,e.DiagnosticCategory.Message,"Disable_emitting_files_from_a_compilation_6660","Disable emitting files from a compilation."),Disable_generating_custom_helper_functions_like_extends_in_compiled_output:o(6661,e.DiagnosticCategory.Message,"Disable_generating_custom_helper_functions_like_extends_in_compiled_output_6661","Disable generating custom helper functions like `__extends` in compiled output."),Disable_emitting_files_if_any_type_checking_errors_are_reported:o(6662,e.DiagnosticCategory.Message,"Disable_emitting_files_if_any_type_checking_errors_are_reported_6662","Disable emitting files if any type checking errors are reported."),Disable_truncating_types_in_error_messages:o(6663,e.DiagnosticCategory.Message,"Disable_truncating_types_in_error_messages_6663","Disable truncating types in error messages."),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:o(6664,e.DiagnosticCategory.Message,"Enable_error_reporting_for_fallthrough_cases_in_switch_statements_6664","Enable error reporting for fallthrough cases in switch statements."),Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type:o(6665,e.DiagnosticCategory.Message,"Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type_6665","Enable error reporting for expressions and declarations with an implied `any` type.."),Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier:o(6666,e.DiagnosticCategory.Message,"Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier_6666","Ensure overriding members in derived classes are marked with an override modifier."),Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function:o(6667,e.DiagnosticCategory.Message,"Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function_6667","Enable error reporting for codepaths that do not explicitly return in a function."),Enable_error_reporting_when_this_is_given_the_type_any:o(6668,e.DiagnosticCategory.Message,"Enable_error_reporting_when_this_is_given_the_type_any_6668","Enable error reporting when `this` is given the type `any`."),Disable_adding_use_strict_directives_in_emitted_JavaScript_files:o(6669,e.DiagnosticCategory.Message,"Disable_adding_use_strict_directives_in_emitted_JavaScript_files_6669","Disable adding 'use strict' directives in emitted JavaScript files."),Disable_including_any_library_files_including_the_default_lib_d_ts:o(6670,e.DiagnosticCategory.Message,"Disable_including_any_library_files_including_the_default_lib_d_ts_6670","Disable including any library files, including the default lib.d.ts."),Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type:o(6671,e.DiagnosticCategory.Message,"Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type_6671","Enforces using indexed accessors for keys declared using an indexed type"),Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project:o(6672,e.DiagnosticCategory.Message,"Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add__6672","Disallow `import`s, `require`s or ``s from expanding the number of files TypeScript should add to a project."),Disable_strict_checking_of_generic_signatures_in_function_types:o(6673,e.DiagnosticCategory.Message,"Disable_strict_checking_of_generic_signatures_in_function_types_6673","Disable strict checking of generic signatures in function types."),Add_undefined_to_a_type_when_accessed_using_an_index:o(6674,e.DiagnosticCategory.Message,"Add_undefined_to_a_type_when_accessed_using_an_index_6674","Add `undefined` to a type when accessed using an index."),Enable_error_reporting_when_a_local_variables_aren_t_read:o(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:o(6676,e.DiagnosticCategory.Message,"Raise_an_error_when_a_function_parameter_isn_t_read_6676","Raise an error when a function parameter isn't read"),Deprecated_setting_Use_outFile_instead:o(6677,e.DiagnosticCategory.Message,"Deprecated_setting_Use_outFile_instead_6677","Deprecated setting. Use `outFile` instead."),Specify_an_output_folder_for_all_emitted_files:o(6678,e.DiagnosticCategory.Message,"Specify_an_output_folder_for_all_emitted_files_6678","Specify an output folder for all emitted files."),Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output:o(6679,e.DiagnosticCategory.Message,"Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designa_6679","Specify a file that bundles all outputs into one JavaScript file. If `declaration` is true, also designates a file that bundles all .d.ts output."),Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations:o(6680,e.DiagnosticCategory.Message,"Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations_6680","Specify a set of entries that re-map imports to additional lookup locations."),Specify_a_list_of_language_service_plugins_to_include:o(6681,e.DiagnosticCategory.Message,"Specify_a_list_of_language_service_plugins_to_include_6681","Specify a list of language service plugins to include."),Disable_erasing_const_enum_declarations_in_generated_code:o(6682,e.DiagnosticCategory.Message,"Disable_erasing_const_enum_declarations_in_generated_code_6682","Disable erasing `const enum` declarations in generated code."),Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node:o(6683,e.DiagnosticCategory.Message,"Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node_6683","Disable resolving symlinks to their realpath. This correlates to the same flag in node."),Disable_wiping_the_console_in_watch_mode:o(6684,e.DiagnosticCategory.Message,"Disable_wiping_the_console_in_watch_mode_6684","Disable wiping the console in watch mode"),Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read:o(6685,e.DiagnosticCategory.Message,"Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read_6685","Enable color and formatting in TypeScript's output to make compiler errors easier to read"),Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit:o(6686,e.DiagnosticCategory.Message,"Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit_6686","Specify the object invoked for `createElement`. This only applies when targeting `react` JSX emit."),Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references:o(6687,e.DiagnosticCategory.Message,"Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references_6687","Specify an array of objects that specify paths for projects. Used in project references."),Disable_emitting_comments:o(6688,e.DiagnosticCategory.Message,"Disable_emitting_comments_6688","Disable emitting comments."),Enable_importing_json_files:o(6689,e.DiagnosticCategory.Message,"Enable_importing_json_files_6689","Enable importing .json files"),Specify_the_root_folder_within_your_source_files:o(6690,e.DiagnosticCategory.Message,"Specify_the_root_folder_within_your_source_files_6690","Specify the root folder within your source files."),Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules:o(6691,e.DiagnosticCategory.Message,"Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules_6691","Allow multiple folders to be treated as one when resolving modules."),Skip_type_checking_d_ts_files_that_are_included_with_TypeScript:o(6692,e.DiagnosticCategory.Message,"Skip_type_checking_d_ts_files_that_are_included_with_TypeScript_6692","Skip type checking .d.ts files that are included with TypeScript."),Skip_type_checking_all_d_ts_files:o(6693,e.DiagnosticCategory.Message,"Skip_type_checking_all_d_ts_files_6693","Skip type checking all .d.ts files."),Create_source_map_files_for_emitted_JavaScript_files:o(6694,e.DiagnosticCategory.Message,"Create_source_map_files_for_emitted_JavaScript_files_6694","Create source map files for emitted JavaScript files."),Specify_the_root_path_for_debuggers_to_find_the_reference_source_code:o(6695,e.DiagnosticCategory.Message,"Specify_the_root_path_for_debuggers_to_find_the_reference_source_code_6695","Specify the root path for debuggers to find the reference source code."),Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function:o(6697,e.DiagnosticCategory.Message,"Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function_6697","Check that the arguments for `bind`, `call`, and `apply` methods match the original function."),When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible:o(6698,e.DiagnosticCategory.Message,"When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible_6698","When assigning functions, check to ensure parameters and the return values are subtype-compatible."),When_type_checking_take_into_account_null_and_undefined:o(6699,e.DiagnosticCategory.Message,"When_type_checking_take_into_account_null_and_undefined_6699","When type checking, take into account `null` and `undefined`."),Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor:o(6700,e.DiagnosticCategory.Message,"Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor_6700","Check for class properties that are declared but not set in the constructor."),Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments:o(6701,e.DiagnosticCategory.Message,"Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments_6701","Disable emitting declarations that have `@internal` in their JSDoc comments."),Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals:o(6702,e.DiagnosticCategory.Message,"Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals_6702","Disable reporting of excess property errors during the creation of object literals."),Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures:o(6703,e.DiagnosticCategory.Message,"Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures_6703","Suppress `noImplicitAny` errors when indexing objects that lack index signatures."),Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively:o(6704,e.DiagnosticCategory.Message,"Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_supp_6704","Synchronously call callbacks and update the state of directory watchers on platforms that don`t support recursive watching natively."),Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations:o(6705,e.DiagnosticCategory.Message,"Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declaratio_6705","Set the JavaScript language version for emitted JavaScript and include compatible library declarations."),Log_paths_used_during_the_moduleResolution_process:o(6706,e.DiagnosticCategory.Message,"Log_paths_used_during_the_moduleResolution_process_6706","Log paths used during the `moduleResolution` process."),Specify_the_folder_for_tsbuildinfo_incremental_compilation_files:o(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:o(6709,e.DiagnosticCategory.Message,"Specify_options_for_automatic_acquisition_of_declaration_files_6709","Specify options for automatic acquisition of declaration files."),Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types:o(6710,e.DiagnosticCategory.Message,"Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types_6710","Specify multiple folders that act like `./node_modules/@types`."),Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file:o(6711,e.DiagnosticCategory.Message,"Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file_6711","Specify type package names to be included without being referenced in a source file."),Emit_ECMAScript_standard_compliant_class_fields:o(6712,e.DiagnosticCategory.Message,"Emit_ECMAScript_standard_compliant_class_fields_6712","Emit ECMAScript-standard-compliant class fields."),Enable_verbose_logging:o(6713,e.DiagnosticCategory.Message,"Enable_verbose_logging_6713","Enable verbose logging"),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:o(6714,e.DiagnosticCategory.Message,"Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality_6714","Specify how directories are watched on systems that lack recursive file-watching functionality."),Specify_how_the_TypeScript_watch_mode_works:o(6715,e.DiagnosticCategory.Message,"Specify_how_the_TypeScript_watch_mode_works_6715","Specify how the TypeScript watch mode works."),Include_undefined_in_index_signature_results:o(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:o(6717,e.DiagnosticCategory.Message,"Require_undeclared_properties_from_index_signatures_to_use_element_accesses_6717","Require undeclared properties from index signatures to use element accesses."),Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types:o(6718,e.DiagnosticCategory.Message,"Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_6718","Specify emit/checking behavior for imports that are only used for types"),Type_catch_clause_variables_as_unknown_instead_of_any:o(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:o(6900,e.DiagnosticCategory.Message,"one_of_Colon_6900","one of:"),one_or_more_Colon:o(6901,e.DiagnosticCategory.Message,"one_or_more_Colon_6901","one or more:"),type_Colon:o(6902,e.DiagnosticCategory.Message,"type_Colon_6902","type:"),default_Colon:o(6903,e.DiagnosticCategory.Message,"default_Colon_6903","default:"),module_system_or_esModuleInterop:o(6904,e.DiagnosticCategory.Message,"module_system_or_esModuleInterop_6904",'module === "system" or esModuleInterop'),false_unless_strict_is_set:o(6905,e.DiagnosticCategory.Message,"false_unless_strict_is_set_6905","`false`, unless `strict` is set"),false_unless_composite_is_set:o(6906,e.DiagnosticCategory.Message,"false_unless_composite_is_set_6906","`false`, unless `composite` is set"),node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified:o(6907,e.DiagnosticCategory.Message,"node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified_6907",'`["node_modules", "bower_components", "jspm_packages"]`, plus the value of `outDir` if one is specified.'),if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk:o(6908,e.DiagnosticCategory.Message,"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908",'`[]` if `files` is specified, otherwise `["**/*"]`'),true_if_composite_false_otherwise:o(6909,e.DiagnosticCategory.Message,"true_if_composite_false_otherwise_6909","`true` if `composite`, `false` otherwise"),module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node:o(69010,e.DiagnosticCategory.Message,"module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010","module === `AMD` or `UMD` or `System` or `ES6`, then `Classic`, Otherwise `Node`"),Computed_from_the_list_of_input_files:o(6911,e.DiagnosticCategory.Message,"Computed_from_the_list_of_input_files_6911","Computed from the list of input files"),Platform_specific:o(6912,e.DiagnosticCategory.Message,"Platform_specific_6912","Platform specific"),You_can_learn_about_all_of_the_compiler_options_at_0:o(6913,e.DiagnosticCategory.Message,"You_can_learn_about_all_of_the_compiler_options_at_0_6913","You can learn about all of the compiler options at {0}"),Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_config_watch_mode_with_Colon:o(6914,e.DiagnosticCategory.Message,"Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_conf_6914","Including --watch, -w will start watching the current project for the file changes. Once set, you can config watch mode with:"),Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_trigger_building_composite_projects_which_you_can_learn_more_about_at_0:o(6915,e.DiagnosticCategory.Message,"Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915","Using --build, -b will make tsc behave more like a build orchestrator than a compiler. This is used to trigger building composite projects which you can learn more about at {0}"),COMMON_COMMANDS:o(6916,e.DiagnosticCategory.Message,"COMMON_COMMANDS_6916","COMMON COMMANDS"),ALL_COMPILER_OPTIONS:o(6917,e.DiagnosticCategory.Message,"ALL_COMPILER_OPTIONS_6917","ALL COMPILER OPTIONS"),WATCH_OPTIONS:o(6918,e.DiagnosticCategory.Message,"WATCH_OPTIONS_6918","WATCH OPTIONS"),BUILD_OPTIONS:o(6919,e.DiagnosticCategory.Message,"BUILD_OPTIONS_6919","BUILD OPTIONS"),COMMON_COMPILER_OPTIONS:o(6920,e.DiagnosticCategory.Message,"COMMON_COMPILER_OPTIONS_6920","COMMON COMPILER OPTIONS"),COMMAND_LINE_FLAGS:o(6921,e.DiagnosticCategory.Message,"COMMAND_LINE_FLAGS_6921","COMMAND LINE FLAGS"),tsc_Colon_The_TypeScript_Compiler:o(6922,e.DiagnosticCategory.Message,"tsc_Colon_The_TypeScript_Compiler_6922","tsc: The TypeScript Compiler"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:o(6923,e.DiagnosticCategory.Message,"Compiles_the_current_project_tsconfig_json_in_the_working_directory_6923","Compiles the current project (tsconfig.json in the working directory.)"),Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options:o(6924,e.DiagnosticCategory.Message,"Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924","Ignoring tsconfig.json, compiles the specified files with default compiler options."),Build_a_composite_project_in_the_working_directory:o(6925,e.DiagnosticCategory.Message,"Build_a_composite_project_in_the_working_directory_6925","Build a composite project in the working directory."),Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory:o(6926,e.DiagnosticCategory.Message,"Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory_6926","Creates a tsconfig.json with the recommended settings in the working directory."),Compiles_the_TypeScript_project_located_at_the_specified_path:o(6927,e.DiagnosticCategory.Message,"Compiles_the_TypeScript_project_located_at_the_specified_path_6927","Compiles the TypeScript project located at the specified path."),An_expanded_version_of_this_information_showing_all_possible_compiler_options:o(6928,e.DiagnosticCategory.Message,"An_expanded_version_of_this_information_showing_all_possible_compiler_options_6928","An expanded version of this information, showing all possible compiler options"),Compiles_the_current_project_with_additional_settings:o(6929,e.DiagnosticCategory.Message,"Compiles_the_current_project_with_additional_settings_6929","Compiles the current project, with additional settings."),Variable_0_implicitly_has_an_1_type:o(7005,e.DiagnosticCategory.Error,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:o(7006,e.DiagnosticCategory.Error,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:o(7008,e.DiagnosticCategory.Error,"Member_0_implicitly_has_an_1_type_7008","Member '{0}' implicitly has an '{1}' type."),new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type:o(7009,e.DiagnosticCategory.Error,"new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009","'new' expression, whose target lacks a construct signature, implicitly has an 'any' type."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:o(7010,e.DiagnosticCategory.Error,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type_7010","'{0}', which lacks return-type annotation, implicitly has an '{1}' return type."),Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:o(7011,e.DiagnosticCategory.Error,"Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7011","Function expression, which lacks return-type annotation, implicitly has an '{0}' return type."),Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:o(7013,e.DiagnosticCategory.Error,"Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7013","Construct signature, which lacks return-type annotation, implicitly has an 'any' return type."),Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:o(7014,e.DiagnosticCategory.Error,"Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7014","Function type, which lacks return-type annotation, implicitly has an '{0}' return type."),Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number:o(7015,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number_7015","Element implicitly has an 'any' type because index expression is not of type 'number'."),Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type:o(7016,e.DiagnosticCategory.Error,"Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type_7016","Could not find a declaration file for module '{0}'. '{1}' implicitly has an 'any' type."),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature:o(7017,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_7017","Element implicitly has an 'any' type because type '{0}' has no index signature."),Object_literal_s_property_0_implicitly_has_an_1_type:o(7018,e.DiagnosticCategory.Error,"Object_literal_s_property_0_implicitly_has_an_1_type_7018","Object literal's property '{0}' implicitly has an '{1}' type."),Rest_parameter_0_implicitly_has_an_any_type:o(7019,e.DiagnosticCategory.Error,"Rest_parameter_0_implicitly_has_an_any_type_7019","Rest parameter '{0}' implicitly has an 'any[]' type."),Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:o(7020,e.DiagnosticCategory.Error,"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020","Call signature, which lacks return-type annotation, implicitly has an 'any' return type."),_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer:o(7022,e.DiagnosticCategory.Error,"_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or__7022","'{0}' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer."),_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:o(7023,e.DiagnosticCategory.Error,"_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_reference_7023","'{0}' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:o(7024,e.DiagnosticCategory.Error,"Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_ref_7024","Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation:o(7025,e.DiagnosticCategory.Error,"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025","Generator implicitly has yield type '{0}' because it does not yield any values. Consider supplying a return type annotation."),JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists:o(7026,e.DiagnosticCategory.Error,"JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists_7026","JSX element implicitly has type 'any' because no interface 'JSX.{0}' exists."),Unreachable_code_detected:o(7027,e.DiagnosticCategory.Error,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:o(7028,e.DiagnosticCategory.Error,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:o(7029,e.DiagnosticCategory.Error,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:o(7030,e.DiagnosticCategory.Error,"Not_all_code_paths_return_a_value_7030","Not all code paths return a value."),Binding_element_0_implicitly_has_an_1_type:o(7031,e.DiagnosticCategory.Error,"Binding_element_0_implicitly_has_an_1_type_7031","Binding element '{0}' implicitly has an '{1}' type."),Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation:o(7032,e.DiagnosticCategory.Error,"Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation_7032","Property '{0}' implicitly has type 'any', because its set accessor lacks a parameter type annotation."),Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation:o(7033,e.DiagnosticCategory.Error,"Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation_7033","Property '{0}' implicitly has type 'any', because its get accessor lacks a return type annotation."),Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined:o(7034,e.DiagnosticCategory.Error,"Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined_7034","Variable '{0}' implicitly has type '{1}' in some locations where its type cannot be determined."),Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0:o(7035,e.DiagnosticCategory.Error,"Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare__7035","Try `npm i --save-dev @types/{1}` if it exists or add a new declaration (.d.ts) file containing `declare module '{0}';`"),Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0:o(7036,e.DiagnosticCategory.Error,"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036","Dynamic import's specifier must be of type 'string', but here has type '{0}'."),Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports:o(7037,e.DiagnosticCategory.Message,"Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037","Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'."),Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead:o(7038,e.DiagnosticCategory.Message,"Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038","Type originates at this import. A namespace-style import cannot be called or constructed, and will cause a failure at runtime. Consider using a default import or import require here instead."),Mapped_object_type_implicitly_has_an_any_template_type:o(7039,e.DiagnosticCategory.Error,"Mapped_object_type_implicitly_has_an_any_template_type_7039","Mapped object type implicitly has an 'any' template type."),If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1:o(7040,e.DiagnosticCategory.Error,"If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040","If the '{0}' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}'"),The_containing_arrow_function_captures_the_global_value_of_this:o(7041,e.DiagnosticCategory.Error,"The_containing_arrow_function_captures_the_global_value_of_this_7041","The containing arrow function captures the global value of 'this'."),Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used:o(7042,e.DiagnosticCategory.Error,"Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used_7042","Module '{0}' was resolved to '{1}', but '--resolveJsonModule' is not used."),Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:o(7043,e.DiagnosticCategory.Suggestion,"Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7043","Variable '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:o(7044,e.DiagnosticCategory.Suggestion,"Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7044","Parameter '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:o(7045,e.DiagnosticCategory.Suggestion,"Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7045","Member '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage:o(7046,e.DiagnosticCategory.Suggestion,"Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage_7046","Variable '{0}' implicitly has type '{1}' in some locations, but a better type may be inferred from usage."),Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:o(7047,e.DiagnosticCategory.Suggestion,"Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage_7047","Rest parameter '{0}' implicitly has an 'any[]' type, but a better type may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage:o(7048,e.DiagnosticCategory.Suggestion,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage_7048","Property '{0}' implicitly has type 'any', but a better type for its get accessor may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage:o(7049,e.DiagnosticCategory.Suggestion,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage_7049","Property '{0}' implicitly has type 'any', but a better type for its set accessor may be inferred from usage."),_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage:o(7050,e.DiagnosticCategory.Suggestion,"_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage_7050","'{0}' implicitly has an '{1}' return type, but a better type may be inferred from usage."),Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1:o(7051,e.DiagnosticCategory.Error,"Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1_7051","Parameter has a name but no type. Did you mean '{0}: {1}'?"),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1:o(7052,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1_7052","Element implicitly has an 'any' type because type '{0}' has no index signature. Did you mean to call '{1}'?"),Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1:o(7053,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1_7053","Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'."),No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1:o(7054,e.DiagnosticCategory.Error,"No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054","No index signature with a parameter of type '{0}' was found on type '{1}'."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:o(7055,e.DiagnosticCategory.Error,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type_7055","'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type."),The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed:o(7056,e.DiagnosticCategory.Error,"The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_ty_7056","The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed."),yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation:o(7057,e.DiagnosticCategory.Error,"yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057","'yield' expression implicitly results in an 'any' type because its containing generator lacks a return-type annotation."),You_cannot_rename_this_element:o(8e3,e.DiagnosticCategory.Error,"You_cannot_rename_this_element_8000","You cannot rename this element."),You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library:o(8001,e.DiagnosticCategory.Error,"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001","You cannot rename elements that are defined in the standard TypeScript library."),import_can_only_be_used_in_TypeScript_files:o(8002,e.DiagnosticCategory.Error,"import_can_only_be_used_in_TypeScript_files_8002","'import ... =' can only be used in TypeScript files."),export_can_only_be_used_in_TypeScript_files:o(8003,e.DiagnosticCategory.Error,"export_can_only_be_used_in_TypeScript_files_8003","'export =' can only be used in TypeScript files."),Type_parameter_declarations_can_only_be_used_in_TypeScript_files:o(8004,e.DiagnosticCategory.Error,"Type_parameter_declarations_can_only_be_used_in_TypeScript_files_8004","Type parameter declarations can only be used in TypeScript files."),implements_clauses_can_only_be_used_in_TypeScript_files:o(8005,e.DiagnosticCategory.Error,"implements_clauses_can_only_be_used_in_TypeScript_files_8005","'implements' clauses can only be used in TypeScript files."),_0_declarations_can_only_be_used_in_TypeScript_files:o(8006,e.DiagnosticCategory.Error,"_0_declarations_can_only_be_used_in_TypeScript_files_8006","'{0}' declarations can only be used in TypeScript files."),Type_aliases_can_only_be_used_in_TypeScript_files:o(8008,e.DiagnosticCategory.Error,"Type_aliases_can_only_be_used_in_TypeScript_files_8008","Type aliases can only be used in TypeScript files."),The_0_modifier_can_only_be_used_in_TypeScript_files:o(8009,e.DiagnosticCategory.Error,"The_0_modifier_can_only_be_used_in_TypeScript_files_8009","The '{0}' modifier can only be used in TypeScript files."),Type_annotations_can_only_be_used_in_TypeScript_files:o(8010,e.DiagnosticCategory.Error,"Type_annotations_can_only_be_used_in_TypeScript_files_8010","Type annotations can only be used in TypeScript files."),Type_arguments_can_only_be_used_in_TypeScript_files:o(8011,e.DiagnosticCategory.Error,"Type_arguments_can_only_be_used_in_TypeScript_files_8011","Type arguments can only be used in TypeScript files."),Parameter_modifiers_can_only_be_used_in_TypeScript_files:o(8012,e.DiagnosticCategory.Error,"Parameter_modifiers_can_only_be_used_in_TypeScript_files_8012","Parameter modifiers can only be used in TypeScript files."),Non_null_assertions_can_only_be_used_in_TypeScript_files:o(8013,e.DiagnosticCategory.Error,"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013","Non-null assertions can only be used in TypeScript files."),Type_assertion_expressions_can_only_be_used_in_TypeScript_files:o(8016,e.DiagnosticCategory.Error,"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016","Type assertion expressions can only be used in TypeScript files."),Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:o(8017,e.DiagnosticCategory.Error,"Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0_8017","Octal literal types must use ES2015 syntax. Use the syntax '{0}'."),Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0:o(8018,e.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0_8018","Octal literals are not allowed in enums members initializer. Use the syntax '{0}'."),Report_errors_in_js_files:o(8019,e.DiagnosticCategory.Message,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:o(8020,e.DiagnosticCategory.Error,"JSDoc_types_can_only_be_used_inside_documentation_comments_8020","JSDoc types can only be used inside documentation comments."),JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags:o(8021,e.DiagnosticCategory.Error,"JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags_8021","JSDoc '@typedef' tag should either have a type annotation or be followed by '@property' or '@member' tags."),JSDoc_0_is_not_attached_to_a_class:o(8022,e.DiagnosticCategory.Error,"JSDoc_0_is_not_attached_to_a_class_8022","JSDoc '@{0}' is not attached to a class."),JSDoc_0_1_does_not_match_the_extends_2_clause:o(8023,e.DiagnosticCategory.Error,"JSDoc_0_1_does_not_match_the_extends_2_clause_8023","JSDoc '@{0} {1}' does not match the 'extends {2}' clause."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name:o(8024,e.DiagnosticCategory.Error,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_8024","JSDoc '@param' tag has name '{0}', but there is no parameter with that name."),Class_declarations_cannot_have_more_than_one_augments_or_extends_tag:o(8025,e.DiagnosticCategory.Error,"Class_declarations_cannot_have_more_than_one_augments_or_extends_tag_8025","Class declarations cannot have more than one '@augments' or '@extends' tag."),Expected_0_type_arguments_provide_these_with_an_extends_tag:o(8026,e.DiagnosticCategory.Error,"Expected_0_type_arguments_provide_these_with_an_extends_tag_8026","Expected {0} type arguments; provide these with an '@extends' tag."),Expected_0_1_type_arguments_provide_these_with_an_extends_tag:o(8027,e.DiagnosticCategory.Error,"Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027","Expected {0}-{1} type arguments; provide these with an '@extends' tag."),JSDoc_may_only_appear_in_the_last_parameter_of_a_signature:o(8028,e.DiagnosticCategory.Error,"JSDoc_may_only_appear_in_the_last_parameter_of_a_signature_8028","JSDoc '...' may only appear in the last parameter of a signature."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type:o(8029,e.DiagnosticCategory.Error,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_h_8029","JSDoc '@param' tag has name '{0}', but there is no parameter with that name. It would match 'arguments' if it had an array type."),The_type_of_a_function_declaration_must_match_the_function_s_signature:o(8030,e.DiagnosticCategory.Error,"The_type_of_a_function_declaration_must_match_the_function_s_signature_8030","The type of a function declaration must match the function's signature."),You_cannot_rename_a_module_via_a_global_import:o(8031,e.DiagnosticCategory.Error,"You_cannot_rename_a_module_via_a_global_import_8031","You cannot rename a module via a global import."),Qualified_name_0_is_not_allowed_without_a_leading_param_object_1:o(8032,e.DiagnosticCategory.Error,"Qualified_name_0_is_not_allowed_without_a_leading_param_object_1_8032","Qualified name '{0}' is not allowed without a leading '@param {object} {1}'."),A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags:o(8033,e.DiagnosticCategory.Error,"A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags_8033","A JSDoc '@typedef' comment may not contain multiple '@type' tags."),The_tag_was_first_specified_here:o(8034,e.DiagnosticCategory.Error,"The_tag_was_first_specified_here_8034","The tag was first specified here."),Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_class_extends_clause:o(9002,e.DiagnosticCategory.Error,"Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_clas_9002","Only identifiers/qualified-names with optional type arguments are currently supported in a class 'extends' clause."),class_expressions_are_not_currently_supported:o(9003,e.DiagnosticCategory.Error,"class_expressions_are_not_currently_supported_9003","'class' expressions are not currently supported."),Language_service_is_disabled:o(9004,e.DiagnosticCategory.Error,"Language_service_is_disabled_9004","Language service is disabled."),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:o(9005,e.DiagnosticCategory.Error,"Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005","Declaration emit for this file requires using private name '{0}'. An explicit type annotation may unblock declaration emit."),Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:o(9006,e.DiagnosticCategory.Error,"Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006","Declaration emit for this file requires using private name '{0}' from module '{1}'. An explicit type annotation may unblock declaration emit."),JSX_attributes_must_only_be_assigned_a_non_empty_expression:o(17e3,e.DiagnosticCategory.Error,"JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000","JSX attributes must only be assigned a non-empty 'expression'."),JSX_elements_cannot_have_multiple_attributes_with_the_same_name:o(17001,e.DiagnosticCategory.Error,"JSX_elements_cannot_have_multiple_attributes_with_the_same_name_17001","JSX elements cannot have multiple attributes with the same name."),Expected_corresponding_JSX_closing_tag_for_0:o(17002,e.DiagnosticCategory.Error,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),JSX_attribute_expected:o(17003,e.DiagnosticCategory.Error,"JSX_attribute_expected_17003","JSX attribute expected."),Cannot_use_JSX_unless_the_jsx_flag_is_provided:o(17004,e.DiagnosticCategory.Error,"Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004","Cannot use JSX unless the '--jsx' flag is provided."),A_constructor_cannot_contain_a_super_call_when_its_class_extends_null:o(17005,e.DiagnosticCategory.Error,"A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005","A constructor cannot contain a 'super' call when its class extends 'null'."),An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:o(17006,e.DiagnosticCategory.Error,"An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_ex_17006","An unary expression with the '{0}' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:o(17007,e.DiagnosticCategory.Error,"A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Con_17007","A type assertion expression is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),JSX_element_0_has_no_corresponding_closing_tag:o(17008,e.DiagnosticCategory.Error,"JSX_element_0_has_no_corresponding_closing_tag_17008","JSX element '{0}' has no corresponding closing tag."),super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class:o(17009,e.DiagnosticCategory.Error,"super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class_17009","'super' must be called before accessing 'this' in the constructor of a derived class."),Unknown_type_acquisition_option_0:o(17010,e.DiagnosticCategory.Error,"Unknown_type_acquisition_option_0_17010","Unknown type acquisition option '{0}'."),super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class:o(17011,e.DiagnosticCategory.Error,"super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class_17011","'super' must be called before accessing a property of 'super' in the constructor of a derived class."),_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2:o(17012,e.DiagnosticCategory.Error,"_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012","'{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{2}'?"),Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor:o(17013,e.DiagnosticCategory.Error,"Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constru_17013","Meta-property '{0}' is only allowed in the body of a function declaration, function expression, or constructor."),JSX_fragment_has_no_corresponding_closing_tag:o(17014,e.DiagnosticCategory.Error,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:o(17015,e.DiagnosticCategory.Error,"Expected_corresponding_closing_tag_for_JSX_fragment_17015","Expected corresponding closing tag for JSX fragment."),The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:o(17016,e.DiagnosticCategory.Error,"The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_com_17016","The 'jsxFragmentFactory' compiler option must be provided to use JSX fragments with the 'jsxFactory' compiler option."),An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments:o(17017,e.DiagnosticCategory.Error,"An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments_17017","An @jsxFrag pragma is required when using an @jsx pragma with JSX fragments."),Unknown_type_acquisition_option_0_Did_you_mean_1:o(17018,e.DiagnosticCategory.Error,"Unknown_type_acquisition_option_0_Did_you_mean_1_17018","Unknown type acquisition option '{0}'. Did you mean '{1}'?"),Circularity_detected_while_resolving_configuration_Colon_0:o(18e3,e.DiagnosticCategory.Error,"Circularity_detected_while_resolving_configuration_Colon_0_18000","Circularity detected while resolving configuration: {0}"),A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not:o(18001,e.DiagnosticCategory.Error,"A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not_18001","A path in an 'extends' option must be relative or rooted, but '{0}' is not."),The_files_list_in_config_file_0_is_empty:o(18002,e.DiagnosticCategory.Error,"The_files_list_in_config_file_0_is_empty_18002","The 'files' list in config file '{0}' is empty."),No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2:o(18003,e.DiagnosticCategory.Error,"No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2_18003","No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'."),File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module:o(80001,e.DiagnosticCategory.Suggestion,"File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module_80001","File is a CommonJS module; it may be converted to an ES6 module."),This_constructor_function_may_be_converted_to_a_class_declaration:o(80002,e.DiagnosticCategory.Suggestion,"This_constructor_function_may_be_converted_to_a_class_declaration_80002","This constructor function may be converted to a class declaration."),Import_may_be_converted_to_a_default_import:o(80003,e.DiagnosticCategory.Suggestion,"Import_may_be_converted_to_a_default_import_80003","Import may be converted to a default import."),JSDoc_types_may_be_moved_to_TypeScript_types:o(80004,e.DiagnosticCategory.Suggestion,"JSDoc_types_may_be_moved_to_TypeScript_types_80004","JSDoc types may be moved to TypeScript types."),require_call_may_be_converted_to_an_import:o(80005,e.DiagnosticCategory.Suggestion,"require_call_may_be_converted_to_an_import_80005","'require' call may be converted to an import."),This_may_be_converted_to_an_async_function:o(80006,e.DiagnosticCategory.Suggestion,"This_may_be_converted_to_an_async_function_80006","This may be converted to an async function."),await_has_no_effect_on_the_type_of_this_expression:o(80007,e.DiagnosticCategory.Suggestion,"await_has_no_effect_on_the_type_of_this_expression_80007","'await' has no effect on the type of this expression."),Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers:o(80008,e.DiagnosticCategory.Suggestion,"Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accur_80008","Numeric literals with absolute values equal to 2^53 or greater are too large to be represented accurately as integers."),Add_missing_super_call:o(90001,e.DiagnosticCategory.Message,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:o(90002,e.DiagnosticCategory.Message,"Make_super_call_the_first_statement_in_the_constructor_90002","Make 'super()' call the first statement in the constructor"),Change_extends_to_implements:o(90003,e.DiagnosticCategory.Message,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:o(90004,e.DiagnosticCategory.Message,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:o(90005,e.DiagnosticCategory.Message,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:o(90006,e.DiagnosticCategory.Message,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:o(90007,e.DiagnosticCategory.Message,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:o(90008,e.DiagnosticCategory.Message,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:o(90010,e.DiagnosticCategory.Message,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:o(90011,e.DiagnosticCategory.Message,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:o(90012,e.DiagnosticCategory.Message,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_module_1:o(90013,e.DiagnosticCategory.Message,"Import_0_from_module_1_90013",`Import '{0}' from module "{1}"`),Change_0_to_1:o(90014,e.DiagnosticCategory.Message,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Add_0_to_existing_import_declaration_from_1:o(90015,e.DiagnosticCategory.Message,"Add_0_to_existing_import_declaration_from_1_90015",`Add '{0}' to existing import declaration from "{1}"`),Declare_property_0:o(90016,e.DiagnosticCategory.Message,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:o(90017,e.DiagnosticCategory.Message,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:o(90018,e.DiagnosticCategory.Message,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:o(90019,e.DiagnosticCategory.Message,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:o(90020,e.DiagnosticCategory.Message,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:o(90021,e.DiagnosticCategory.Message,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:o(90022,e.DiagnosticCategory.Message,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:o(90023,e.DiagnosticCategory.Message,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:o(90024,e.DiagnosticCategory.Message,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:o(90025,e.DiagnosticCategory.Message,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:o(90026,e.DiagnosticCategory.Message,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:o(90027,e.DiagnosticCategory.Message,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:o(90028,e.DiagnosticCategory.Message,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:o(90029,e.DiagnosticCategory.Message,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:o(90030,e.DiagnosticCategory.Message,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:o(90031,e.DiagnosticCategory.Message,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Import_default_0_from_module_1:o(90032,e.DiagnosticCategory.Message,"Import_default_0_from_module_1_90032",`Import default '{0}' from module "{1}"`),Add_default_import_0_to_existing_import_declaration_from_1:o(90033,e.DiagnosticCategory.Message,"Add_default_import_0_to_existing_import_declaration_from_1_90033",`Add default import '{0}' to existing import declaration from "{1}"`),Add_parameter_name:o(90034,e.DiagnosticCategory.Message,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:o(90035,e.DiagnosticCategory.Message,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:o(90036,e.DiagnosticCategory.Message,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:o(90037,e.DiagnosticCategory.Message,"Fix_all_incorrect_return_type_of_an_async_functions_90037","Fix all incorrect return type of an async functions"),Declare_private_method_0:o(90038,e.DiagnosticCategory.Message,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:o(90039,e.DiagnosticCategory.Message,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:o(90041,e.DiagnosticCategory.Message,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:o(90053,e.DiagnosticCategory.Message,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Convert_function_to_an_ES2015_class:o(95001,e.DiagnosticCategory.Message,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_function_0_to_class:o(95002,e.DiagnosticCategory.Message,"Convert_function_0_to_class_95002","Convert function '{0}' to class"),Convert_0_to_1_in_0:o(95003,e.DiagnosticCategory.Message,"Convert_0_to_1_in_0_95003","Convert '{0}' to '{1} in {0}'"),Extract_to_0_in_1:o(95004,e.DiagnosticCategory.Message,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:o(95005,e.DiagnosticCategory.Message,"Extract_function_95005","Extract function"),Extract_constant:o(95006,e.DiagnosticCategory.Message,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:o(95007,e.DiagnosticCategory.Message,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:o(95008,e.DiagnosticCategory.Message,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:o(95009,e.DiagnosticCategory.Message,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Annotate_with_types_from_JSDoc:o(95010,e.DiagnosticCategory.Message,"Annotate_with_types_from_JSDoc_95010","Annotate with types from JSDoc"),Infer_type_of_0_from_usage:o(95011,e.DiagnosticCategory.Message,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:o(95012,e.DiagnosticCategory.Message,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:o(95013,e.DiagnosticCategory.Message,"Convert_to_default_import_95013","Convert to default import"),Install_0:o(95014,e.DiagnosticCategory.Message,"Install_0_95014","Install '{0}'"),Replace_import_with_0:o(95015,e.DiagnosticCategory.Message,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:o(95016,e.DiagnosticCategory.Message,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES6_module:o(95017,e.DiagnosticCategory.Message,"Convert_to_ES6_module_95017","Convert to ES6 module"),Add_undefined_type_to_property_0:o(95018,e.DiagnosticCategory.Message,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:o(95019,e.DiagnosticCategory.Message,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:o(95020,e.DiagnosticCategory.Message,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Convert_all_type_literals_to_mapped_type:o(95021,e.DiagnosticCategory.Message,"Convert_all_type_literals_to_mapped_type_95021","Convert all type literals to mapped type"),Add_all_missing_members:o(95022,e.DiagnosticCategory.Message,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:o(95023,e.DiagnosticCategory.Message,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:o(95024,e.DiagnosticCategory.Message,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:o(95025,e.DiagnosticCategory.Message,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:o(95026,e.DiagnosticCategory.Message,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:o(95027,e.DiagnosticCategory.Message,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:o(95028,e.DiagnosticCategory.Message,"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028","Add definite assignment assertions to all uninitialized properties"),Add_undefined_type_to_all_uninitialized_properties:o(95029,e.DiagnosticCategory.Message,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:o(95030,e.DiagnosticCategory.Message,"Change_all_jsdoc_style_types_to_TypeScript_95030","Change all jsdoc-style types to TypeScript"),Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types:o(95031,e.DiagnosticCategory.Message,"Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types_95031","Change all jsdoc-style types to TypeScript (and add '| undefined' to nullable types)"),Implement_all_unimplemented_interfaces:o(95032,e.DiagnosticCategory.Message,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:o(95033,e.DiagnosticCategory.Message,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:o(95034,e.DiagnosticCategory.Message,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:o(95035,e.DiagnosticCategory.Message,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:o(95036,e.DiagnosticCategory.Message,"Make_all_super_calls_the_first_statement_in_their_constructor_95036","Make all 'super()' calls the first statement in their constructor"),Add_qualifier_to_all_unresolved_variables_matching_a_member_name:o(95037,e.DiagnosticCategory.Message,"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037","Add qualifier to all unresolved variables matching a member name"),Change_all_extended_interfaces_to_implements:o(95038,e.DiagnosticCategory.Message,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:o(95039,e.DiagnosticCategory.Message,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:o(95040,e.DiagnosticCategory.Message,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:o(95041,e.DiagnosticCategory.Message,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:o(95042,e.DiagnosticCategory.Message,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:o(95043,e.DiagnosticCategory.Message,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:o(95044,e.DiagnosticCategory.Message,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:o(95045,e.DiagnosticCategory.Message,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:o(95046,e.DiagnosticCategory.Message,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:o(95047,e.DiagnosticCategory.Message,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:o(95048,e.DiagnosticCategory.Message,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:o(95049,e.DiagnosticCategory.Message,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:o(95050,e.DiagnosticCategory.Message,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:o(95051,e.DiagnosticCategory.Message,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:o(95052,e.DiagnosticCategory.Message,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:o(95053,e.DiagnosticCategory.Message,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:o(95054,e.DiagnosticCategory.Message,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:o(95055,e.DiagnosticCategory.Message,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:o(95056,e.DiagnosticCategory.Message,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:o(95057,e.DiagnosticCategory.Message,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:o(95058,e.DiagnosticCategory.Message,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:o(95059,e.DiagnosticCategory.Message,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:o(95060,e.DiagnosticCategory.Message,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:o(95061,e.DiagnosticCategory.Message,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:o(95062,e.DiagnosticCategory.Message,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:o(95063,e.DiagnosticCategory.Message,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:o(95064,e.DiagnosticCategory.Message,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:o(95065,e.DiagnosticCategory.Message,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:o(95066,e.DiagnosticCategory.Message,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:o(95067,e.DiagnosticCategory.Message,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:o(95068,e.DiagnosticCategory.Message,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:o(95069,e.DiagnosticCategory.Message,"Add_unknown_conversion_for_non_overlapping_types_95069","Add 'unknown' conversion for non-overlapping types"),Add_unknown_to_all_conversions_of_non_overlapping_types:o(95070,e.DiagnosticCategory.Message,"Add_unknown_to_all_conversions_of_non_overlapping_types_95070","Add 'unknown' to all conversions of non-overlapping types"),Add_missing_new_operator_to_call:o(95071,e.DiagnosticCategory.Message,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:o(95072,e.DiagnosticCategory.Message,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:o(95073,e.DiagnosticCategory.Message,"Add_names_to_all_parameters_without_names_95073","Add names to all parameters without names"),Enable_the_experimentalDecorators_option_in_your_configuration_file:o(95074,e.DiagnosticCategory.Message,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:o(95075,e.DiagnosticCategory.Message,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Extract_type:o(95077,e.DiagnosticCategory.Message,"Extract_type_95077","Extract type"),Extract_to_type_alias:o(95078,e.DiagnosticCategory.Message,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:o(95079,e.DiagnosticCategory.Message,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:o(95080,e.DiagnosticCategory.Message,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:o(95081,e.DiagnosticCategory.Message,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:o(95082,e.DiagnosticCategory.Message,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:o(95083,e.DiagnosticCategory.Message,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:o(95084,e.DiagnosticCategory.Message,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:o(95085,e.DiagnosticCategory.Message,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:o(95086,e.DiagnosticCategory.Message,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:o(95087,e.DiagnosticCategory.Message,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:o(95088,e.DiagnosticCategory.Message,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:o(95089,e.DiagnosticCategory.Message,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:o(95090,e.DiagnosticCategory.Message,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:o(95091,e.DiagnosticCategory.Message,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:o(95092,e.DiagnosticCategory.Message,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:o(95093,e.DiagnosticCategory.Message,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:o(95094,e.DiagnosticCategory.Message,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:o(95095,e.DiagnosticCategory.Message,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:o(95096,e.DiagnosticCategory.Message,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:o(95097,e.DiagnosticCategory.Message,"Add_export_to_make_this_file_into_a_module_95097","Add 'export {}' to make this file into a module"),Set_the_target_option_in_your_configuration_file_to_0:o(95098,e.DiagnosticCategory.Message,"Set_the_target_option_in_your_configuration_file_to_0_95098","Set the 'target' option in your configuration file to '{0}'"),Set_the_module_option_in_your_configuration_file_to_0:o(95099,e.DiagnosticCategory.Message,"Set_the_module_option_in_your_configuration_file_to_0_95099","Set the 'module' option in your configuration file to '{0}'"),Convert_invalid_character_to_its_html_entity_code:o(95100,e.DiagnosticCategory.Message,"Convert_invalid_character_to_its_html_entity_code_95100","Convert invalid character to its html entity code"),Convert_all_invalid_characters_to_HTML_entity_code:o(95101,e.DiagnosticCategory.Message,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Add_class_tag:o(95102,e.DiagnosticCategory.Message,"Add_class_tag_95102","Add '@class' tag"),Add_this_tag:o(95103,e.DiagnosticCategory.Message,"Add_this_tag_95103","Add '@this' tag"),Add_this_parameter:o(95104,e.DiagnosticCategory.Message,"Add_this_parameter_95104","Add 'this' parameter."),Convert_function_expression_0_to_arrow_function:o(95105,e.DiagnosticCategory.Message,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:o(95106,e.DiagnosticCategory.Message,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:o(95107,e.DiagnosticCategory.Message,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:o(95108,e.DiagnosticCategory.Message,"Wrap_invalid_character_in_an_expression_container_95108","Wrap invalid character in an expression container"),Wrap_all_invalid_characters_in_an_expression_container:o(95109,e.DiagnosticCategory.Message,"Wrap_all_invalid_characters_in_an_expression_container_95109","Wrap all invalid characters in an expression container"),Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file:o(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:o(95111,e.DiagnosticCategory.Message,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:o(95112,e.DiagnosticCategory.Message,"Remove_braces_from_arrow_function_body_95112","Remove braces from arrow function body"),Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal:o(95113,e.DiagnosticCategory.Message,"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113","Wrap the following body with parentheses which should be an object literal"),Add_all_missing_return_statement:o(95114,e.DiagnosticCategory.Message,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:o(95115,e.DiagnosticCategory.Message,"Remove_braces_from_all_arrow_function_bodies_with_relevant_issues_95115","Remove braces from all arrow function bodies with relevant issues"),Wrap_all_object_literal_with_parentheses:o(95116,e.DiagnosticCategory.Message,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:o(95117,e.DiagnosticCategory.Message,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:o(95118,e.DiagnosticCategory.Message,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:o(95119,e.DiagnosticCategory.Message,"Generate_get_and_set_accessors_for_all_overriding_properties_95119","Generate 'get' and 'set' accessors for all overriding properties"),Wrap_in_JSX_fragment:o(95120,e.DiagnosticCategory.Message,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:o(95121,e.DiagnosticCategory.Message,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:o(95122,e.DiagnosticCategory.Message,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:o(95123,e.DiagnosticCategory.Message,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:o(95124,e.DiagnosticCategory.Message,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:o(95125,e.DiagnosticCategory.Message,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:o(95126,e.DiagnosticCategory.Message,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:o(95127,e.DiagnosticCategory.Message,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:o(95128,e.DiagnosticCategory.Message,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:o(95129,e.DiagnosticCategory.Message,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:o(95130,e.DiagnosticCategory.Message,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:o(95131,e.DiagnosticCategory.Message,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:o(95132,e.DiagnosticCategory.Message,"Could_not_find_namespace_import_or_named_imports_95132","Could not find namespace import or named imports"),Selection_is_not_a_valid_type_node:o(95133,e.DiagnosticCategory.Message,"Selection_is_not_a_valid_type_node_95133","Selection is not a valid type node"),No_type_could_be_extracted_from_this_type_node:o(95134,e.DiagnosticCategory.Message,"No_type_could_be_extracted_from_this_type_node_95134","No type could be extracted from this type node"),Could_not_find_property_for_which_to_generate_accessor:o(95135,e.DiagnosticCategory.Message,"Could_not_find_property_for_which_to_generate_accessor_95135","Could not find property for which to generate accessor"),Name_is_not_valid:o(95136,e.DiagnosticCategory.Message,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:o(95137,e.DiagnosticCategory.Message,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:o(95138,e.DiagnosticCategory.Message,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:o(95139,e.DiagnosticCategory.Message,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:o(95140,e.DiagnosticCategory.Message,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:o(95141,e.DiagnosticCategory.Message,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:o(95142,e.DiagnosticCategory.Message,"Can_only_convert_logical_AND_access_chains_95142","Can only convert logical AND access chains"),Add_void_to_Promise_resolved_without_a_value:o(95143,e.DiagnosticCategory.Message,"Add_void_to_Promise_resolved_without_a_value_95143","Add 'void' to Promise resolved without a value"),Add_void_to_all_Promises_resolved_without_a_value:o(95144,e.DiagnosticCategory.Message,"Add_void_to_all_Promises_resolved_without_a_value_95144","Add 'void' to all Promises resolved without a value"),Use_element_access_for_0:o(95145,e.DiagnosticCategory.Message,"Use_element_access_for_0_95145","Use element access for '{0}'"),Use_element_access_for_all_undeclared_properties:o(95146,e.DiagnosticCategory.Message,"Use_element_access_for_all_undeclared_properties_95146","Use element access for all undeclared properties."),Delete_all_unused_imports:o(95147,e.DiagnosticCategory.Message,"Delete_all_unused_imports_95147","Delete all unused imports"),Infer_function_return_type:o(95148,e.DiagnosticCategory.Message,"Infer_function_return_type_95148","Infer function return type"),Return_type_must_be_inferred_from_a_function:o(95149,e.DiagnosticCategory.Message,"Return_type_must_be_inferred_from_a_function_95149","Return type must be inferred from a function"),Could_not_determine_function_return_type:o(95150,e.DiagnosticCategory.Message,"Could_not_determine_function_return_type_95150","Could not determine function return type"),Could_not_convert_to_arrow_function:o(95151,e.DiagnosticCategory.Message,"Could_not_convert_to_arrow_function_95151","Could not convert to arrow function"),Could_not_convert_to_named_function:o(95152,e.DiagnosticCategory.Message,"Could_not_convert_to_named_function_95152","Could not convert to named function"),Could_not_convert_to_anonymous_function:o(95153,e.DiagnosticCategory.Message,"Could_not_convert_to_anonymous_function_95153","Could not convert to anonymous function"),Can_only_convert_string_concatenation:o(95154,e.DiagnosticCategory.Message,"Can_only_convert_string_concatenation_95154","Can only convert string concatenation"),Selection_is_not_a_valid_statement_or_statements:o(95155,e.DiagnosticCategory.Message,"Selection_is_not_a_valid_statement_or_statements_95155","Selection is not a valid statement or statements"),Add_missing_function_declaration_0:o(95156,e.DiagnosticCategory.Message,"Add_missing_function_declaration_0_95156","Add missing function declaration '{0}'"),Add_all_missing_function_declarations:o(95157,e.DiagnosticCategory.Message,"Add_all_missing_function_declarations_95157","Add all missing function declarations"),Method_not_implemented:o(95158,e.DiagnosticCategory.Message,"Method_not_implemented_95158","Method not implemented."),Function_not_implemented:o(95159,e.DiagnosticCategory.Message,"Function_not_implemented_95159","Function not implemented."),Add_override_modifier:o(95160,e.DiagnosticCategory.Message,"Add_override_modifier_95160","Add 'override' modifier"),Remove_override_modifier:o(95161,e.DiagnosticCategory.Message,"Remove_override_modifier_95161","Remove 'override' modifier"),Add_all_missing_override_modifiers:o(95162,e.DiagnosticCategory.Message,"Add_all_missing_override_modifiers_95162","Add all missing 'override' modifiers"),Remove_all_unnecessary_override_modifiers:o(95163,e.DiagnosticCategory.Message,"Remove_all_unnecessary_override_modifiers_95163","Remove all unnecessary 'override' modifiers"),Can_only_convert_named_export:o(95164,e.DiagnosticCategory.Message,"Can_only_convert_named_export_95164","Can only convert named export"),Add_missing_properties:o(95165,e.DiagnosticCategory.Message,"Add_missing_properties_95165","Add missing properties"),Add_all_missing_properties:o(95166,e.DiagnosticCategory.Message,"Add_all_missing_properties_95166","Add all missing properties"),Add_missing_attributes:o(95167,e.DiagnosticCategory.Message,"Add_missing_attributes_95167","Add missing attributes"),Add_all_missing_attributes:o(95168,e.DiagnosticCategory.Message,"Add_all_missing_attributes_95168","Add all missing attributes"),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:o(18004,e.DiagnosticCategory.Error,"No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer_18004","No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer."),Classes_may_not_have_a_field_named_constructor:o(18006,e.DiagnosticCategory.Error,"Classes_may_not_have_a_field_named_constructor_18006","Classes may not have a field named 'constructor'."),JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array:o(18007,e.DiagnosticCategory.Error,"JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array_18007","JSX expressions may not use the comma operator. Did you mean to write an array?"),Private_identifiers_cannot_be_used_as_parameters:o(18009,e.DiagnosticCategory.Error,"Private_identifiers_cannot_be_used_as_parameters_18009","Private identifiers cannot be used as parameters."),An_accessibility_modifier_cannot_be_used_with_a_private_identifier:o(18010,e.DiagnosticCategory.Error,"An_accessibility_modifier_cannot_be_used_with_a_private_identifier_18010","An accessibility modifier cannot be used with a private identifier."),The_operand_of_a_delete_operator_cannot_be_a_private_identifier:o(18011,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_cannot_be_a_private_identifier_18011","The operand of a 'delete' operator cannot be a private identifier."),constructor_is_a_reserved_word:o(18012,e.DiagnosticCategory.Error,"constructor_is_a_reserved_word_18012","'#constructor' is a reserved word."),Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier:o(18013,e.DiagnosticCategory.Error,"Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier_18013","Property '{0}' is not accessible outside class '{1}' because it has a private identifier."),The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling:o(18014,e.DiagnosticCategory.Error,"The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_priv_18014","The property '{0}' cannot be accessed on type '{1}' within this class because it is shadowed by another private identifier with the same spelling."),Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2:o(18015,e.DiagnosticCategory.Error,"Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2_18015","Property '{0}' in type '{1}' refers to a different member that cannot be accessed from within type '{2}'."),Private_identifiers_are_not_allowed_outside_class_bodies:o(18016,e.DiagnosticCategory.Error,"Private_identifiers_are_not_allowed_outside_class_bodies_18016","Private identifiers are not allowed outside class bodies."),The_shadowing_declaration_of_0_is_defined_here:o(18017,e.DiagnosticCategory.Error,"The_shadowing_declaration_of_0_is_defined_here_18017","The shadowing declaration of '{0}' is defined here"),The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here:o(18018,e.DiagnosticCategory.Error,"The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here_18018","The declaration of '{0}' that you probably intended to use is defined here"),_0_modifier_cannot_be_used_with_a_private_identifier:o(18019,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_a_private_identifier_18019","'{0}' modifier cannot be used with a private identifier."),An_enum_member_cannot_be_named_with_a_private_identifier:o(18024,e.DiagnosticCategory.Error,"An_enum_member_cannot_be_named_with_a_private_identifier_18024","An enum member cannot be named with a private identifier."),can_only_be_used_at_the_start_of_a_file:o(18026,e.DiagnosticCategory.Error,"can_only_be_used_at_the_start_of_a_file_18026","'#!' can only be used at the start of a file."),Compiler_reserves_name_0_when_emitting_private_identifier_downlevel:o(18027,e.DiagnosticCategory.Error,"Compiler_reserves_name_0_when_emitting_private_identifier_downlevel_18027","Compiler reserves name '{0}' when emitting private identifier downlevel."),Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher:o(18028,e.DiagnosticCategory.Error,"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028","Private identifiers are only available when targeting ECMAScript 2015 and higher."),Private_identifiers_are_not_allowed_in_variable_declarations:o(18029,e.DiagnosticCategory.Error,"Private_identifiers_are_not_allowed_in_variable_declarations_18029","Private identifiers are not allowed in variable declarations."),An_optional_chain_cannot_contain_private_identifiers:o(18030,e.DiagnosticCategory.Error,"An_optional_chain_cannot_contain_private_identifiers_18030","An optional chain cannot contain private identifiers."),The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents:o(18031,e.DiagnosticCategory.Error,"The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituent_18031","The intersection '{0}' was reduced to 'never' because property '{1}' has conflicting types in some constituents."),The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some:o(18032,e.DiagnosticCategory.Error,"The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_pr_18032","The intersection '{0}' was reduced to 'never' because property '{1}' exists in multiple constituents and is private in some."),Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhaustiveness_checks_consider_using_an_object_literal_instead:o(18033,e.DiagnosticCategory.Error,"Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhau_18033","Only numeric enums can have computed members, but this expression has type '{0}'. If you do not need exhaustiveness checks, consider using an object literal instead."),Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compiler_option_is_specified_e_g_Fragment:o(18034,e.DiagnosticCategory.Message,"Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compi_18034","Specify the JSX fragment factory function to use when targeting 'react' JSX emit with 'jsxFactory' compiler option is specified, e.g. 'Fragment'."),Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name:o(18035,e.DiagnosticCategory.Error,"Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name_18035","Invalid value for 'jsxFragmentFactory'. '{0}' is not a valid identifier or qualified-name."),Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator:o(18036,e.DiagnosticCategory.Error,"Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_dec_18036","Class decorators can't be used with static private identifier. Consider removing the experimental decorator."),Await_expression_cannot_be_used_inside_a_class_static_block:o(18037,e.DiagnosticCategory.Error,"Await_expression_cannot_be_used_inside_a_class_static_block_18037","Await expression cannot be used inside a class static block."),For_await_loops_cannot_be_used_inside_a_class_static_block:o(18038,e.DiagnosticCategory.Error,"For_await_loops_cannot_be_used_inside_a_class_static_block_18038","'For await' loops cannot be used inside a class static block."),Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block:o(18039,e.DiagnosticCategory.Error,"Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block_18039","Invalid use of '{0}'. It cannot be used inside a class static block."),A_return_statement_cannot_be_used_inside_a_class_static_block:o(18041,e.DiagnosticCategory.Error,"A_return_statement_cannot_be_used_inside_a_class_static_block_18041","A 'return' statement cannot be used inside a class static block.")}})(vn||(vn={}));var vn;(function(e){var o;function ue(Re){return Re>=79}e.tokenIsIdentifierOrKeyword=ue;function $(Re){return Re===31||ue(Re)}e.tokenIsIdentifierOrKeywordOrGreaterThan=$,e.textToKeywordObj=(o={abstract:126,any:129,as:127,asserts:128,bigint:156,boolean:132,break:81,case:82,catch:83,class:84,continue:86,const:85},o.constructor=133,o.debugger=87,o.declare=134,o.default=88,o.delete=89,o.do=90,o.else=91,o.enum=92,o.export=93,o.extends=94,o.false=95,o.finally=96,o.for=97,o.from=154,o.function=98,o.get=135,o.if=99,o.implements=117,o.import=100,o.in=101,o.infer=136,o.instanceof=102,o.interface=118,o.intrinsic=137,o.is=138,o.keyof=139,o.let=119,o.module=140,o.namespace=141,o.never=142,o.new=103,o.null=104,o.number=145,o.object=146,o.package=120,o.private=121,o.protected=122,o.public=123,o.override=157,o.readonly=143,o.require=144,o.global=155,o.return=105,o.set=147,o.static=124,o.string=148,o.super=106,o.switch=107,o.symbol=149,o.this=108,o.throw=109,o.true=110,o.try=111,o.type=150,o.typeof=112,o.undefined=151,o.unique=152,o.unknown=153,o.var=113,o.void=114,o.while=115,o.with=116,o.yield=125,o.async=130,o.await=131,o.of=158,o);var Y=new e.Map(e.getEntries(e.textToKeywordObj)),W=new e.Map(e.getEntries(Mt(Mt({},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}))),re=[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],ye=[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],O=[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],A=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1319,1329,1366,1369,1369,1377,1415,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1520,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2048,2093,2112,2139,2208,2208,2210,2220,2276,2302,2304,2403,2406,2415,2417,2423,2425,2431,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3161,3168,3171,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3330,3331,3333,3340,3342,3344,3346,3386,3389,3396,3398,3400,3402,3406,3415,3415,3424,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6263,6272,6314,6320,6389,6400,6428,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6617,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7376,7378,7380,7414,7424,7654,7676,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8204,8205,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,11823,11823,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12442,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42647,42655,42737,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43047,43072,43123,43136,43204,43216,43225,43232,43255,43259,43259,43264,43309,43312,43347,43360,43388,43392,43456,43471,43481,43520,43574,43584,43597,43600,43609,43616,43638,43642,43643,43648,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65062,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],D=[65,90,97,122,170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,895,895,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1327,1329,1366,1369,1369,1376,1416,1488,1514,1519,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2144,2154,2208,2228,2230,2237,2308,2361,2365,2365,2384,2384,2392,2401,2417,2432,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2556,2556,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2809,2809,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3129,3133,3133,3160,3162,3168,3169,3200,3200,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3412,3414,3423,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6264,6272,6312,6314,6314,6320,6389,6400,6430,6480,6509,6512,6516,6528,6571,6576,6601,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7296,7304,7312,7354,7357,7359,7401,7404,7406,7411,7413,7414,7418,7418,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12443,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42653,42656,42735,42775,42783,42786,42888,42891,42943,42946,42950,42999,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43261,43262,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43488,43492,43494,43503,43514,43518,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43646,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66176,66204,66208,66256,66304,66335,66349,66378,66384,66421,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68096,68112,68115,68117,68119,68121,68149,68192,68220,68224,68252,68288,68295,68297,68324,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68899,69376,69404,69415,69415,69424,69445,69600,69622,69635,69687,69763,69807,69840,69864,69891,69926,69956,69956,69968,70002,70006,70006,70019,70066,70081,70084,70106,70106,70108,70108,70144,70161,70163,70187,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70366,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70461,70461,70480,70480,70493,70497,70656,70708,70727,70730,70751,70751,70784,70831,70852,70853,70855,70855,71040,71086,71128,71131,71168,71215,71236,71236,71296,71338,71352,71352,71424,71450,71680,71723,71840,71903,71935,71935,72096,72103,72106,72144,72161,72161,72163,72163,72192,72192,72203,72242,72250,72250,72272,72272,72284,72329,72349,72349,72384,72440,72704,72712,72714,72750,72768,72768,72818,72847,72960,72966,72968,72969,72971,73008,73030,73030,73056,73061,73063,73064,73066,73097,73112,73112,73440,73458,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92880,92909,92928,92975,92992,92995,93027,93047,93053,93071,93760,93823,93952,94026,94032,94032,94099,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,123136,123180,123191,123197,123214,123214,123584,123627,124928,125124,125184,125251,125259,125259,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101],de=[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],_e=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/,y=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/;function V(Re,He){if(Re=2?V(Re,D):He===1?V(Re,O):V(Re,re)}e.isUnicodeIdentifierStart=Z;function E(Re,He){return He>=2?V(Re,de):He===1?V(Re,A):V(Re,ye)}function H(Re){var He=[];return Re.forEach(function(Ln,Un){He[Ln]=Un}),He}var L=H(W);function ee(Re){return L[Re]}e.tokenToString=ee;function k(Re){return W.get(Re)}e.stringToToken=k;function b(Re){for(var He=new Array,Ln=0,Un=0;Ln127&&d(fn)&&(He.push(Un),Un=Ln);break}}return He.push(Un),He}e.computeLineStarts=b;function ie(Re,He,Ln,Un){return Re.getPositionOfLineAndCharacter?Re.getPositionOfLineAndCharacter(He,Ln,Un):q(oe(Re),He,Ln,Re.text,Un)}e.getPositionOfLineAndCharacter=ie;function q(Re,He,Ln,Un,fn){(He<0||He>=Re.length)&&(fn?He=He<0?0:He>=Re.length?Re.length-1:He:e.Debug.fail("Bad line number. Line: "+He+", lineStarts.length: "+Re.length+" , line map is correct? "+(Un!==void 0?e.arraysEqual(Re,b(Un)):"unknown")));var En=Re[He]+Ln;return fn?En>Re[He+1]?Re[He+1]:typeof Un=="string"&&En>Un.length?Un.length:En:(He=8192&&Re<=8203||Re===8239||Re===8287||Re===12288||Re===65279}e.isWhiteSpaceSingleLine=C;function d(Re){return Re===10||Re===13||Re===8232||Re===8233}e.isLineBreak=d;function G(Re){return Re>=48&&Re<=57}function g(Re){return G(Re)||Re>=65&&Re<=70||Re>=97&&Re<=102}function p(Re){return Re<=1114111}function f(Re){return Re>=48&&Re<=55}e.isOctalDigit=f;function T(Re,He){var Ln=Re.charCodeAt(He);switch(Ln){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 He===0;default:return Ln>127}}e.couldStartTrivia=T;function m(Re,He,Ln,Un,fn){if(e.positionIsSynthesized(He))return He;for(var En=!1;;){var i=Re.charCodeAt(He);switch(i){case 13:Re.charCodeAt(He+1)===10&&He++;case 10:if(He++,Ln)return He;En=!!fn;continue;case 9:case 11:case 12:case 32:He++;continue;case 47:if(Un)break;if(Re.charCodeAt(He+1)===47){for(He+=2;He127&&U(i)){He++;continue}break}return He}}e.skipTrivia=m;var N=7;function P(Re,He){if(e.Debug.assert(He>=0),He===0||d(Re.charCodeAt(He-1))){var Ln=Re.charCodeAt(He);if(He+N=0&&Ln127&&U(Ze)){Vn&&d(Ze)&&($n=!0),Ln++;continue}break e}}return Vn&&(Pe=fn(In,X,rn,$n,En,Pe)),Pe}function I(Re,He,Ln,Un){return K(!1,Re,He,!1,Ln,Un)}e.forEachLeadingCommentRange=I;function Ae(Re,He,Ln,Un){return K(!1,Re,He,!0,Ln,Un)}e.forEachTrailingCommentRange=Ae;function Oe(Re,He,Ln,Un,fn){return K(!0,Re,He,!1,Ln,Un,fn)}e.reduceEachLeadingCommentRange=Oe;function te(Re,He,Ln,Un,fn){return K(!0,Re,He,!0,Ln,Un,fn)}e.reduceEachTrailingCommentRange=te;function Se(Re,He,Ln,Un,fn,En){return En||(En=[]),En.push({kind:Ln,pos:Re,end:He,hasTrailingNewLine:Un}),En}function be(Re,He){return Oe(Re,He,Se,void 0,void 0)}e.getLeadingCommentRanges=be;function Ce(Re,He){return te(Re,He,Se,void 0,void 0)}e.getTrailingCommentRanges=Ce;function Be(Re){var He=M.exec(Re);if(He)return He[0]}e.getShebang=Be;function De(Re,He){return Re>=65&&Re<=90||Re>=97&&Re<=122||Re===36||Re===95||Re>127&&Z(Re,He)}e.isIdentifierStart=De;function en(Re,He,Ln){return Re>=65&&Re<=90||Re>=97&&Re<=122||Re>=48&&Re<=57||Re===36||Re===95||(Ln===1?Re===45||Re===58:!1)||Re>127&&E(Re,He)}e.isIdentifierPart=en;function fe(Re,He,Ln){var Un=qe(Re,0);if(!De(Un,He))return!1;for(var fn=pe(Un);fn116},isReservedWord:function(){return le>=81&&le<=116},isUnterminated:function(){return(xe&4)!==0},getCommentDirectives:function(){return Ze},getNumericLiteralFlags:function(){return xe&1008},getTokenFlags:function(){return xe},reScanGreaterToken:Bn,reScanAsteriskEqualsToken:J,reScanSlashToken:Cn,reScanTemplateToken:Rn,reScanTemplateHeadOrNoSubstitutionTemplate:Ye,scanJsxIdentifier:Dr,scanJsxAttributeValue:qr,reScanJsxAttributeValue:ft,reScanJsxToken:xn,reScanLessThanToken:an,reScanHashToken:zn,reScanQuestionToken:ir,reScanInvalidIdentifier:cr,scanJsxToken:gr,scanJsDocToken:xt,scan:yr,getText:Cr,clearCommentDirectives:Jt,setText:Ot,setScriptTarget:Ya,setLanguageVariant:eo,setOnError:ri,setTextPos:za,setInJSDocType:ua,tryScan:qt,lookAhead:Ur,scanRange:dt};return e.Debug.isDebugging&&Object.defineProperty(Le,"__debugShowCurrentPositionInText",{get:function(){var Ar=Le.getText();return Ar.slice(0,Le.getStartPos())+"\u2551"+Ar.slice(Le.getStartPos())}}),Le;function $e(Ar,at,Hr){if(at===void 0&&(at=X),fn){var Wt=X;X=at,fn(Ar,Hr||0),X=Wt}}function An(){for(var Ar=X,at=!1,Hr=!1,Wt="";;){var Zt=In.charCodeAt(X);if(Zt===95){xe|=512,at?(at=!1,Hr=!0,Wt+=In.substring(Ar,X)):$e(Hr?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,X,1),X++,Ar=X;continue}if(G(Zt)){at=!0,Hr=!1,X++;continue}break}return In.charCodeAt(X-1)===95&&$e(e.Diagnostics.Numeric_separators_are_not_allowed_here,X-1,1),Wt+In.substring(Ar,X)}function Ue(){var Ar=X,at=An(),Hr,Wt;In.charCodeAt(X)===46&&(X++,Hr=An());var Zt=X;if(In.charCodeAt(X)===69||In.charCodeAt(X)===101){X++,xe|=16,(In.charCodeAt(X)===43||In.charCodeAt(X)===45)&&X++;var Rr=X,Lr=An();Lr?(Wt=In.substring(Zt,Rr)+Lr,Zt=X):$e(e.Diagnostics.Digit_expected)}var Xr;if(xe&512?(Xr=at,Hr&&(Xr+="."+Hr),Wt&&(Xr+=Wt)):Xr=In.substring(Ar,Zt),Hr!==void 0||xe&16)return gn(Ar,Hr===void 0&&!!(xe&16)),{type:8,value:""+ +Xr};Pe=Xr;var nt=Xn();return gn(Ar),{type:nt,value:Pe}}function gn(Ar,at){if(De(qe(In,X),Re)){var Hr=X,Wt=Me().length;Wt===1&&In[Hr]==="n"?$e(at?e.Diagnostics.A_bigint_literal_cannot_use_exponential_notation:e.Diagnostics.A_bigint_literal_must_be_an_integer,Ar,Hr-Ar+1):($e(e.Diagnostics.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,Hr,Wt),X=Hr)}}function Wn(){for(var Ar=X;f(In.charCodeAt(X));)X++;return+In.substring(Ar,X)}function ze(Ar,at){var Hr=On(Ar,!1,at);return Hr?parseInt(Hr,16):-1}function Tn(Ar,at){return On(Ar,!0,at)}function On(Ar,at,Hr){for(var Wt=[],Zt=!1,Rr=!1;Wt.length=65&&Lr<=70)Lr+=32;else if(!(Lr>=48&&Lr<=57||Lr>=97&&Lr<=102))break;Wt.push(Lr),X++,Rr=!1}return Wt.length=rn){Hr+=In.substring(Wt,X),xe|=4,$e(e.Diagnostics.Unterminated_string_literal);break}var Zt=In.charCodeAt(X);if(Zt===at){Hr+=In.substring(Wt,X),X++;break}if(Zt===92&&!Ar){Hr+=In.substring(Wt,X),Hr+=wr(),Wt=X;continue}if(d(Zt)&&!Ar){Hr+=In.substring(Wt,X),xe|=4,$e(e.Diagnostics.Unterminated_string_literal);break}X++}return Hr}function hr(Ar){var at=In.charCodeAt(X)===96;X++;for(var Hr=X,Wt="",Zt;;){if(X>=rn){Wt+=In.substring(Hr,X),xe|=4,$e(e.Diagnostics.Unterminated_template_literal),Zt=at?14:17;break}var Rr=In.charCodeAt(X);if(Rr===96){Wt+=In.substring(Hr,X),X++,Zt=at?14:17;break}if(Rr===36&&X+1=rn)return $e(e.Diagnostics.Unexpected_end_of_text),"";var Hr=In.charCodeAt(X);switch(X++,Hr){case 48:return Ar&&X=0?String.fromCharCode(at):($e(e.Diagnostics.Hexadecimal_digit_expected),"")}function Ke(){var Ar=Tn(1,!1),at=Ar?parseInt(Ar,16):-1,Hr=!1;return at<0?($e(e.Diagnostics.Hexadecimal_digit_expected),Hr=!0):at>1114111&&($e(e.Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),Hr=!0),X>=rn?($e(e.Diagnostics.Unexpected_end_of_text),Hr=!0):In.charCodeAt(X)===125?X++:($e(e.Diagnostics.Unterminated_Unicode_escape_sequence),Hr=!0),Hr?"":Qe(at)}function jn(){if(X+5=2&&qe(In,X+1)===117&&qe(In,X+2)===123){var Ar=X;X+=3;var at=Tn(1,!1),Hr=at?parseInt(at,16):-1;return X=Ar,Hr}return-1}function Me(){for(var Ar="",at=X;X=0&&en(Hr,Re)){X+=3,xe|=8,Ar+=Ke(),at=X;continue}if(Hr=jn(),!(Hr>=0&&en(Hr,Re)))break;xe|=1024,Ar+=In.substring(at,X),Ar+=Qe(Hr),X+=6,at=X}else break}return Ar+=In.substring(at,X),Ar}function Mn(){var Ar=Pe.length;if(Ar>=2&&Ar<=12){var at=Pe.charCodeAt(0);if(at>=97&&at<=122){var Hr=Y.get(Pe);if(Hr!==void 0)return le=Hr}}return le=79}function ar(Ar){for(var at="",Hr=!1,Wt=!1;;){var Zt=In.charCodeAt(X);if(Zt===95){xe|=512,Hr?(Hr=!1,Wt=!0):$e(Wt?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,X,1),X++;continue}if(Hr=!0,!G(Zt)||Zt-48>=Ar)break;at+=In[X],X++,Wt=!1}return In.charCodeAt(X-1)===95&&$e(e.Diagnostics.Numeric_separators_are_not_allowed_here,X-1,1),at}function Xn(){if(In.charCodeAt(X)===110)return Pe+="n",xe&384&&(Pe=e.parsePseudoBigInt(Pe)+"n"),X++,9;var Ar=xe&128?parseInt(Pe.slice(2),2):xe&256?parseInt(Pe.slice(2),8):+Pe;return Pe=""+Ar,8}function yr(){var Ar;$n=X,xe=0;for(var at=!1;;){if(Vn=X,X>=rn)return le=1;var Hr=qe(In,X);if(Hr===35&&X===0&&me(In,X)){if(X=z(In,X),He)continue;return le=6}switch(Hr){case 10:case 13:if(xe|=1,He){X++;continue}else return Hr===13&&X+1=0&&De(Lr,Re))return X+=3,xe|=8,Pe=Ke()+Me(),le=Mn();var Xr=jn();return Xr>=0&&De(Xr,Re)?(X+=6,xe|=1024,Pe=String.fromCharCode(Xr)+Me(),le=Mn()):($e(e.Diagnostics.Invalid_character),X++,le=0);case 35:return X!==0&&In[X+1]==="!"?($e(e.Diagnostics.can_only_be_used_at_the_start_of_a_file),X++,le=0):(De(qe(In,X+1),Re)?(X++,Fe(qe(In,X),Re)):(Pe=String.fromCharCode(qe(In,X)),$e(e.Diagnostics.Invalid_character,X++,pe(Hr))),le=80);default:var nt=Fe(Hr,Re);if(nt)return le=nt;if(C(Hr)){X+=pe(Hr);continue}else if(d(Hr)){xe|=1,X+=pe(Hr);continue}var vt=pe(Hr);return $e(e.Diagnostics.Invalid_character,X,vt),X+=vt,le=0}}}function cr(){e.Debug.assert(le===0,"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'."),X=Vn=$n,xe=0;var Ar=qe(In,X),at=Fe(Ar,99);return at?le=at:(X+=pe(Ar),le)}function Fe(Ar,at){var Hr=Ar;if(De(Hr,at)){for(X+=pe(Hr);X=rn)return le=1;var at=In.charCodeAt(X);if(at===60)return In.charCodeAt(X+1)===47?(X+=2,le=30):(X++,le=29);if(at===123)return X++,le=18;for(var Hr=0;X0)break;U(at)||(Hr=X)}X++}return Pe=In.substring($n,X),Hr===-1?12:11}function Dr(){if(ue(le)){for(var Ar=!1;X=rn)return le=1;var Ar=qe(In,X);switch(X+=pe(Ar),Ar){case 9:case 11:case 12:case 32:for(;X=0&&De(at,Re))return X+=3,xe|=8,Pe=Ke()+Me(),le=Mn();var Hr=jn();return Hr>=0&&De(Hr,Re)?(X+=6,xe|=1024,Pe=String.fromCharCode(Hr)+Me(),le=Mn()):(X++,le=0)}if(De(Ar,Re)){for(var Wt=Ar;X=0),X=Ar,$n=Ar,Vn=Ar,le=0,Pe=void 0,xe=0}function ua(Ar){hn+=Ar?1:-1}}e.createScanner=Ne;var qe=String.prototype.codePointAt?function(Re,He){return Re.codePointAt(He)}:function(He,Ln){var Un=He.length;if(!(Ln<0||Ln>=Un)){var fn=He.charCodeAt(Ln);if(fn>=55296&&fn<=56319&&Un>Ln+1){var En=He.charCodeAt(Ln+1);if(En>=56320&&En<=57343)return(fn-55296)*1024+En-56320+65536}return fn}};function pe(Re){return Re>=65536?2:1}function we(Re){if(e.Debug.assert(0<=Re&&Re<=1114111),Re<=65535)return String.fromCharCode(Re);var He=Math.floor((Re-65536)/1024)+55296,Ln=(Re-65536)%1024+56320;return String.fromCharCode(He,Ln)}var pn=String.fromCodePoint?function(Re){return String.fromCodePoint(Re)}:we;function Qe(Re){return pn(Re)}e.utf16EncodeAsString=Qe})(vn||(vn={}));var vn;(function(e){function o(Te){return e.pathIsRelative(Te)||e.isRootedDiskPath(Te)}e.isExternalModuleNameRelative=o;function ue(Te){return e.sortAndDeduplicate(Te,e.compareDiagnostics)}e.sortAndDeduplicateDiagnostics=ue;function $(Te){switch(Te.target){case 99:return"lib.esnext.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=$;function Y(Te){return Te.start+Te.length}e.textSpanEnd=Y;function W(Te){return Te.length===0}e.textSpanIsEmpty=W;function re(Te,Fn){return Fn>=Te.start&&Fn=Te.pos&&Fn<=Te.end}e.textRangeContainsPositionInclusive=ye;function O(Te,Fn){return Fn.start>=Te.start&&Y(Fn)<=Y(Te)}e.textSpanContainsTextSpan=O;function A(Te,Fn){return D(Te,Fn)!==void 0}e.textSpanOverlapsWith=A;function D(Te,Fn){var et=Z(Te,Fn);return et&&et.length===0?void 0:et}e.textSpanOverlap=D;function de(Te,Fn){return y(Te.start,Te.length,Fn.start,Fn.length)}e.textSpanIntersectsWithTextSpan=de;function _e(Te,Fn,et){return y(Te.start,Te.length,Fn,et)}e.textSpanIntersectsWith=_e;function y(Te,Fn,et,Xt){var ca=Te+Fn,ha=et+Xt;return et<=ca&&ha>=Te}e.decodedTextSpanIntersectsWith=y;function V(Te,Fn){return Fn<=Y(Te)&&Fn>=Te.start}e.textSpanIntersectsWithPosition=V;function Z(Te,Fn){var et=Math.max(Te.start,Fn.start),Xt=Math.min(Y(Te),Y(Fn));return et<=Xt?H(et,Xt):void 0}e.textSpanIntersection=Z;function E(Te,Fn){if(Te<0)throw new Error("start < 0");if(Fn<0)throw new Error("length < 0");return{start:Te,length:Fn}}e.createTextSpan=E;function H(Te,Fn){return E(Te,Fn-Te)}e.createTextSpanFromBounds=H;function L(Te){return E(Te.span.start,Te.newLength)}e.textChangeRangeNewSpan=L;function ee(Te){return W(Te.span)&&Te.newLength===0}e.textChangeRangeIsUnchanged=ee;function k(Te,Fn){if(Fn<0)throw new Error("newLength < 0");return{span:Te,newLength:Fn}}e.createTextChangeRange=k,e.unchangedTextChangeRange=k(E(0,0),0);function b(Te){if(Te.length===0)return e.unchangedTextChangeRange;if(Te.length===1)return Te[0];for(var Fn=Te[0],et=Fn.span.start,Xt=Y(Fn.span),ca=et+Fn.newLength,ha=1;ha=2&&Te.charCodeAt(0)===95&&Te.charCodeAt(1)===95?"_"+Te:Te}e.escapeLeadingUnderscores=T;function m(Te){var Fn=Te;return Fn.length>=3&&Fn.charCodeAt(0)===95&&Fn.charCodeAt(1)===95&&Fn.charCodeAt(2)===95?Fn.substr(1):Fn}e.unescapeLeadingUnderscores=m;function N(Te){return m(Te.escapedText)}e.idText=N;function P(Te){return Te.valueDeclaration&&xt(Te.valueDeclaration)?N(Te.valueDeclaration.name):m(Te.escapedName)}e.symbolName=P;function x(Te){var Fn=Te.parent.parent;if(Fn){if(We(Fn))return M(Fn);switch(Fn.kind){case 235:if(Fn.declarationList&&Fn.declarationList.declarations[0])return M(Fn.declarationList.declarations[0]);break;case 236:var et=Fn.expression;switch(et.kind===219&&et.operatorToken.kind===63&&(et=et.left),et.kind){case 204:return et.name;case 205:var Xt=et.argumentExpression;if(e.isIdentifier(Xt))return Xt}break;case 210:return M(Fn.expression);case 248:{if(We(Fn.statement)||$a(Fn.statement))return M(Fn.statement);break}}}}function M(Te){var Fn=Ae(Te);return Fn&&e.isIdentifier(Fn)?Fn:void 0}function me(Te,Fn){return!!(K(Te)&&e.isIdentifier(Te.name)&&N(Te.name)===N(Fn)||e.isVariableStatement(Te)&&e.some(Te.declarationList.declarations,function(et){return me(et,Fn)}))}e.nodeHasName=me;function z(Te){return Te.name||x(Te)}e.getNameOfJSDocTypedef=z;function K(Te){return!!Te.name}e.isNamedDeclaration=K;function I(Te){switch(Te.kind){case 79:return Te;case 342:case 335:{var Fn=Te.name;if(Fn.kind===159)return Fn.right;break}case 206:case 219:{var et=Te;switch(e.getAssignmentDeclarationKind(et)){case 1:case 4:case 5:case 3:return e.getElementOrPropertyAccessArgumentExpressionOrName(et.left);case 7:case 8:case 9:return et.arguments[1];default:return}}case 340:return z(Te);case 334:return x(Te);case 269:{var Xt=Te.expression;return e.isIdentifier(Xt)?Xt:void 0}case 205:var ca=Te;if(e.isBindableStaticElementAccessExpression(ca))return ca.argumentExpression}return Te.name}e.getNonAssignedNameOfDeclaration=I;function Ae(Te){if(Te!==void 0)return I(Te)||(e.isFunctionExpression(Te)||e.isArrowFunction(Te)||e.isClassExpression(Te)?Oe(Te):void 0)}e.getNameOfDeclaration=Ae;function Oe(Te){if(Te.parent){if(e.isPropertyAssignment(Te.parent)||e.isBindingElement(Te.parent))return Te.parent.name;if(e.isBinaryExpression(Te.parent)&&Te===Te.parent.right){if(e.isIdentifier(Te.parent.left))return Te.parent.left;if(e.isAccessExpression(Te.parent.left))return e.getElementOrPropertyAccessArgumentExpressionOrName(Te.parent.left)}else if(e.isVariableDeclaration(Te.parent)&&e.isIdentifier(Te.parent.name))return Te.parent.name}else return}e.getAssignedName=Oe;function te(Te,Fn){if(Te.name)if(e.isIdentifier(Te.name)){var et=Te.name.escapedText;return xe(Te.parent,Fn).filter(function(ha){return e.isJSDocParameterTag(ha)&&e.isIdentifier(ha.name)&&ha.name.escapedText===et})}else{var Xt=Te.parent.parameters.indexOf(Te);e.Debug.assert(Xt>-1,"Parameters should always be in their parents' parameter list");var ca=xe(Te.parent,Fn).filter(e.isJSDocParameterTag);if(Xt=159}e.isNodeKind=Cn;function Gn(Te){return Te>=0&&Te<=158}e.isTokenKind=Gn;function cn(Te){return Gn(Te.kind)}e.isToken=cn;function Rn(Te){return Te.hasOwnProperty("pos")&&Te.hasOwnProperty("end")}e.isNodeArray=Rn;function Ye(Te){return 8<=Te&&Te<=14}e.isLiteralKind=Ye;function xn(Te){return Ye(Te.kind)}e.isLiteralExpression=xn;function an(Te){return 14<=Te&&Te<=17}e.isTemplateLiteralKind=an;function zn(Te){return an(Te.kind)}e.isTemplateLiteralToken=zn;function ir(Te){var Fn=Te.kind;return Fn===16||Fn===17}e.isTemplateMiddleOrTemplateTail=ir;function gr(Te){return e.isImportSpecifier(Te)||e.isExportSpecifier(Te)}e.isImportOrExportSpecifier=gr;function Dr(Te){switch(Te.kind){case 268:case 273:return Te.parent.parent.isTypeOnly;case 266:return Te.parent.isTypeOnly;case 265:case 263:return Te.isTypeOnly;default:return!1}}e.isTypeOnlyImportOrExportDeclaration=Dr;function qr(Te){return Te.kind===10||an(Te.kind)}e.isStringTextContainingNode=qr;function ft(Te){return e.isIdentifier(Te)&&(Te.autoGenerateFlags&7)>0}e.isGeneratedIdentifier=ft;function xt(Te){return(e.isPropertyDeclaration(Te)||Lr(Te))&&e.isPrivateIdentifier(Te.name)}e.isPrivateIdentifierClassElementDeclaration=xt;function Kr(Te){return e.isPropertyAccessExpression(Te)&&e.isPrivateIdentifier(Te.name)}e.isPrivateIdentifierPropertyAccessExpression=Kr;function dt(Te){switch(Te){case 126:case 130:case 85:case 134:case 88:case 93:case 123:case 121:case 122:case 143:case 124:case 157:return!0}return!1}e.isModifierKind=dt;function Ur(Te){return!!(e.modifierToFlag(Te)&16476)}e.isParameterPropertyModifier=Ur;function qt(Te){return Ur(Te)||Te===124||Te===157}e.isClassMemberModifier=qt;function Cr(Te){return dt(Te.kind)}e.isModifier=Cr;function Jt(Te){var Fn=Te.kind;return Fn===159||Fn===79}e.isEntityName=Jt;function Ot(Te){var Fn=Te.kind;return Fn===79||Fn===80||Fn===10||Fn===8||Fn===160}e.isPropertyName=Ot;function ri(Te){var Fn=Te.kind;return Fn===79||Fn===199||Fn===200}e.isBindingName=ri;function Ya(Te){return!!Te&&at(Te.kind)}e.isFunctionLike=Ya;function eo(Te){return!!Te&&(at(Te.kind)||e.isClassStaticBlockDeclaration(Te))}e.isFunctionLikeOrClassStaticBlockDeclaration=eo;function za(Te){return Te&&Ar(Te.kind)}e.isFunctionLikeDeclaration=za;function ua(Te){return Te.kind===110||Te.kind===95}e.isBooleanLiteral=ua;function Ar(Te){switch(Te){case 254:case 167:case 169:case 170:case 171:case 211:case 212:return!0;default:return!1}}function at(Te){switch(Te){case 166:case 172:case 318:case 173:case 174:case 177:case 312:case 178:return!0;default:return Ar(Te)}}e.isFunctionLikeKind=at;function Hr(Te){return e.isSourceFile(Te)||e.isModuleBlock(Te)||e.isBlock(Te)&&Ya(Te.parent)}e.isFunctionOrModuleBlock=Hr;function Wt(Te){var Fn=Te.kind;return Fn===169||Fn===165||Fn===167||Fn===170||Fn===171||Fn===174||Fn===168||Fn===232}e.isClassElement=Wt;function Zt(Te){return Te&&(Te.kind===255||Te.kind===224)}e.isClassLike=Zt;function Rr(Te){return Te&&(Te.kind===170||Te.kind===171)}e.isAccessor=Rr;function Lr(Te){switch(Te.kind){case 167:case 170:case 171:return!0;default:return!1}}e.isMethodOrAccessor=Lr;function Xr(Te){var Fn=Te.kind;return Fn===173||Fn===172||Fn===164||Fn===166||Fn===174}e.isTypeElement=Xr;function nt(Te){return Xr(Te)||Wt(Te)}e.isClassOrTypeElement=nt;function vt(Te){var Fn=Te.kind;return Fn===291||Fn===292||Fn===293||Fn===167||Fn===170||Fn===171}e.isObjectLiteralElementLike=vt;function or(Te){return e.isTypeNodeKind(Te.kind)}e.isTypeNode=or;function $t(Te){switch(Te.kind){case 177:case 178:return!0}return!1}e.isFunctionOrConstructorTypeNode=$t;function Va(Te){if(Te){var Fn=Te.kind;return Fn===200||Fn===199}return!1}e.isBindingPattern=Va;function li(Te){var Fn=Te.kind;return Fn===202||Fn===203}e.isAssignmentPattern=li;function zi(Te){var Fn=Te.kind;return Fn===201||Fn===225}e.isArrayBindingElement=zi;function Ma(Te){switch(Te.kind){case 252:case 162:case 201:return!0}return!1}e.isDeclarationBindingElement=Ma;function di(Te){return Yi(Te)||bi(Te)}e.isBindingOrAssignmentPattern=di;function Yi(Te){switch(Te.kind){case 199:case 203:return!0}return!1}e.isObjectBindingOrAssignmentPattern=Yi;function uo(Te){switch(Te.kind){case 201:case 291:case 292:case 293:return!0}return!1}e.isObjectBindingOrAssignmentElement=uo;function bi(Te){switch(Te.kind){case 200:case 202:return!0}return!1}e.isArrayBindingOrAssignmentPattern=bi;function Mi(Te){var Fn=Te.kind;return Fn===204||Fn===159||Fn===198}e.isPropertyAccessOrQualifiedNameOrImportTypeNode=Mi;function Go(Te){var Fn=Te.kind;return Fn===204||Fn===159}e.isPropertyAccessOrQualifiedName=Go;function io(Te){switch(Te.kind){case 278:case 277:case 206:case 207:case 208:case 163:return!0;default:return!1}}e.isCallLikeExpression=io;function wi(Te){return Te.kind===206||Te.kind===207}e.isCallOrNewExpression=wi;function Ho(Te){var Fn=Te.kind;return Fn===221||Fn===14}e.isTemplateLiteral=Ho;function qi(Te){return Qi(Mn(Te).kind)}e.isLeftHandSideExpression=qi;function Qi(Te){switch(Te){case 204:case 205:case 207:case 206:case 276:case 277:case 280:case 208:case 202:case 210:case 203:case 224:case 211:case 79:case 13:case 8:case 9:case 10:case 14:case 221:case 95:case 104:case 108:case 110:case 106:case 228:case 229:case 100:return!0;default:return!1}}function as(Te){return gs(Mn(Te).kind)}e.isUnaryExpression=as;function gs(Te){switch(Te){case 217:case 218:case 213:case 214:case 215:case 216:case 209:return!0;default:return Qi(Te)}}function Da(Te){switch(Te.kind){case 218:return!0;case 217:return Te.operator===45||Te.operator===46;default:return!1}}e.isUnaryExpressionWithWrite=Da;function $a(Te){return Ni(Mn(Te).kind)}e.isExpression=$a;function Ni(Te){switch(Te){case 220:case 222:case 212:case 219:case 223:case 227:case 225:case 346:case 345:return!0;default:return gs(Te)}}function vo(Te){var Fn=Te.kind;return Fn===209||Fn===227}e.isAssertionExpression=vo;function Io(Te){return e.isNotEmittedStatement(Te)||e.isPartiallyEmittedExpression(Te)}e.isNotEmittedOrPartiallyEmittedNode=Io;function Bo(Te,Fn){switch(Te.kind){case 240:case 241:case 242:case 238:case 239:return!0;case 248:return Fn&&Bo(Te.statement,Fn)}return!1}e.isIterationStatement=Bo;function Uo(Te){return e.isExportAssignment(Te)||e.isExportDeclaration(Te)}e.isScopeMarker=Uo;function cs(Te){return e.some(Te,Uo)}e.hasScopeMarker=cs;function us(Te){return!e.isAnyImportOrReExport(Te)&&!e.isExportAssignment(Te)&&!e.hasSyntacticModifier(Te,1)&&!e.isAmbientModule(Te)}e.needsScopeMarker=us;function Jo(Te){return e.isAnyImportOrReExport(Te)||e.isExportAssignment(Te)||e.hasSyntacticModifier(Te,1)}e.isExternalModuleIndicator=Jo;function is(Te){return Te.kind===241||Te.kind===242}e.isForInOrOfStatement=is;function mn(Te){return e.isBlock(Te)||$a(Te)}e.isConciseBody=mn;function _r(Te){return e.isBlock(Te)}e.isFunctionBody=_r;function $r(Te){return e.isVariableDeclarationList(Te)||$a(Te)}e.isForInitializer=$r;function ia(Te){var Fn=Te.kind;return Fn===260||Fn===259||Fn===79}e.isModuleBody=ia;function ti(Te){var Fn=Te.kind;return Fn===260||Fn===259}e.isNamespaceBody=ti;function va(Te){var Fn=Te.kind;return Fn===79||Fn===259}e.isJSDocNamespaceBody=va;function Ve(Te){var Fn=Te.kind;return Fn===267||Fn===266}e.isNamedImportBindings=Ve;function ce(Te){return Te.kind===259||Te.kind===258}e.isModuleOrEnumDeclaration=ce;function dn(Te){return Te===212||Te===201||Te===255||Te===224||Te===168||Te===169||Te===258||Te===294||Te===273||Te===254||Te===211||Te===170||Te===265||Te===263||Te===268||Te===256||Te===283||Te===167||Te===166||Te===259||Te===262||Te===266||Te===272||Te===162||Te===291||Te===165||Te===164||Te===171||Te===292||Te===257||Te===161||Te===252||Te===340||Te===333||Te===342}function j(Te){return Te===254||Te===274||Te===255||Te===256||Te===257||Te===258||Te===259||Te===264||Te===263||Te===270||Te===269||Te===262}function Ie(Te){return Te===244||Te===243||Te===251||Te===238||Te===236||Te===234||Te===241||Te===242||Te===240||Te===237||Te===248||Te===245||Te===247||Te===249||Te===250||Te===235||Te===239||Te===246||Te===344||Te===348||Te===347}function We(Te){return Te.kind===161?Te.parent&&Te.parent.kind!==339||e.isInJSFile(Te):dn(Te.kind)}e.isDeclaration=We;function sn(Te){return j(Te.kind)}e.isDeclarationStatement=sn;function Hn(Te){return Ie(Te.kind)}e.isStatementButNotDeclaration=Hn;function vr(Te){var Fn=Te.kind;return Ie(Fn)||j(Fn)||Sr(Te)}e.isStatement=vr;function Sr(Te){return Te.kind!==233||Te.parent!==void 0&&(Te.parent.kind===250||Te.parent.kind===290)?!1:!e.isFunctionBlock(Te)}function ot(Te){var Fn=Te.kind;return Ie(Fn)||j(Fn)||Fn===233}e.isStatementOrBlock=ot;function Et(Te){var Fn=Te.kind;return Fn===275||Fn===159||Fn===79}e.isModuleReference=Et;function ra(Te){var Fn=Te.kind;return Fn===108||Fn===79||Fn===204}e.isJsxTagNameExpression=ra;function Na(Te){var Fn=Te.kind;return Fn===276||Fn===286||Fn===277||Fn===11||Fn===280}e.isJsxChild=Na;function ei(Te){var Fn=Te.kind;return Fn===283||Fn===285}e.isJsxAttributeLike=ei;function Li(Te){var Fn=Te.kind;return Fn===10||Fn===286}e.isStringLiteralOrJsxExpression=Li;function Zi(Te){var Fn=Te.kind;return Fn===278||Fn===277}e.isJsxOpeningLikeElement=Zi;function ho(Te){var Fn=Te.kind;return Fn===287||Fn===288}e.isCaseOrDefaultClause=ho;function vs(Te){return Te.kind>=304&&Te.kind<=342}e.isJSDocNode=vs;function Ao(Te){return Te.kind===315||Te.kind===314||Te.kind===316||Kn(Te)||oo(Te)||e.isJSDocTypeLiteral(Te)||e.isJSDocSignature(Te)}e.isJSDocCommentContainingNode=Ao;function oo(Te){return Te.kind>=322&&Te.kind<=342}e.isJSDocTag=oo;function Zo(Te){return Te.kind===171}e.isSetAccessor=Zo;function cl(Te){return Te.kind===170}e.isGetAccessor=cl;function ws(Te){var Fn=Te.jsDoc;return!!Fn&&Fn.length>0}e.hasJSDocNodes=ws;function vl(Te){return!!Te.type}e.hasType=vl;function ul(Te){return!!Te.initializer}e.hasInitializer=ul;function ps(Te){switch(Te.kind){case 252:case 162:case 201:case 164:case 165:case 291:case 294:return!0;default:return!1}}e.hasOnlyExpressionInitializer=ps;function jl(Te){return Te.kind===283||Te.kind===285||vt(Te)}e.isObjectLiteralElement=jl;function Hl(Te){return Te.kind===176||Te.kind===226}e.isTypeReferenceType=Hl;var Hs=1073741823;function Fs(Te){for(var Fn=Hs,et=0,Xt=Te;et=0),e.getLineStarts(Q)[l]}e.getStartPositionOfLine=G;function g(l){var Q=U(l),ln=e.getLineAndCharacterOfPosition(Q,l.pos);return Q.fileName+"("+(ln.line+1)+","+(ln.character+1)+")"}e.nodePosToString=g;function p(l,Q){e.Debug.assert(l>=0);var ln=e.getLineStarts(Q),wn=l,Fr=Q.text;if(wn+1===ln.length)return Fr.length-1;var zr=ln[wn],oa=ln[wn+1]-1;for(e.Debug.assert(e.isLineBreak(Fr.charCodeAt(oa)));zr<=oa&&e.isLineBreak(Fr.charCodeAt(oa));)oa--;return oa}e.getEndLinePosition=p;function f(l,Q,ln){return!(ln&&ln(Q))&&!l.identifiers.has(Q)}e.isFileLevelUniqueName=f;function T(l){return l===void 0?!0:l.pos===l.end&&l.pos>=0&&l.kind!==1}e.nodeIsMissing=T;function m(l){return!T(l)}e.nodeIsPresent=m;function N(l,Q,ln){if(Q===void 0||Q.length===0)return l;for(var wn=0;wn0?te(l._children[0],Q,ln):e.skipTrivia((Q||U(l)).text,l.pos,!1,!1,We(l))}e.getTokenPosOfNode=te;function Se(l,Q){return T(l)||!l.decorators?te(l,Q):e.skipTrivia((Q||U(l)).text,l.decorators.end)}e.getNonDecoratorTokenPosOfNode=Se;function be(l,Q,ln){return ln===void 0&&(ln=!1),De(l.text,Q,ln)}e.getSourceTextOfNodeFromSourceFile=be;function Ce(l){return!!e.findAncestor(l,e.isJSDocTypeExpression)}function Be(l){return!!(e.isExportDeclaration(l)&&l.exportClause&&e.isNamespaceExport(l.exportClause)&&l.exportClause.name.escapedText==="default")}e.isExportNamespaceAsDefaultDeclaration=Be;function De(l,Q,ln){if(ln===void 0&&(ln=!1),T(Q))return"";var wn=l.substring(ln?Q.pos:e.skipTrivia(l,Q.pos),Q.end);return Ce(Q)&&(wn=wn.split(/\r\n|\n|\r/).map(function(Fr){return e.trimStringStart(Fr.replace(/^\s*\*/,""))}).join(` `)),wn}e.getTextOfNodeFromSourceText=De;function en(l,Q){return Q===void 0&&(Q=!1),be(U(l),l,Q)}e.getTextOfNode=en;function fe(l){return l.pos}function Ne(l,Q){return e.binarySearch(l,Q,fe,e.compareValues)}e.indexOfNode=Ne;function qe(l){var Q=l.emitNode;return Q&&Q.flags||0}e.getEmitFlags=qe;function pe(){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},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"]},esnext:{NumberFormat:["formatToParts"]}}}e.getScriptTargetFeatures=pe;var we;(function(l){l[l.None=0]="None",l[l.NeverAsciiEscape=1]="NeverAsciiEscape",l[l.JsxAttributeEscape=2]="JsxAttributeEscape",l[l.TerminateUnterminatedLiterals=4]="TerminateUnterminatedLiterals",l[l.AllowNumericSeparator=8]="AllowNumericSeparator"})(we=e.GetLiteralTextFlags||(e.GetLiteralTextFlags={}));function pn(l,Q,ln){var wn;if(Qe(l,ln))return be(Q,l);switch(l.kind){case 10:{var Fr=ln&2?_i:ln&1||qe(l)&16777216?pr:Er;return l.singleQuote?"'"+Fr(l.text,39)+"'":'"'+Fr(l.text,34)+'"'}case 14:case 15:case 16:case 17:{var Fr=ln&1||qe(l)&16777216?pr:Er,zr=(wn=l.rawText)!==null&&wn!==void 0?wn:wf(Fr(l.text,96));switch(l.kind){case 14:return"`"+zr+"`";case 15:return"`"+zr+"${";case 16:return"}"+zr+"${";case 17:return"}"+zr+"`"}break}case 8:case 9:return l.text;case 13:return ln&4&&l.isUnterminated?l.text+(l.text.charCodeAt(l.text.length-1)===92?" /":"/"):l.text}return e.Debug.fail("Literal kind '"+l.kind+"' not accounted for.")}e.getLiteralText=pn;function Qe(l,Q){return Jl(l)||!l.parent||Q&4&&l.isUnterminated?!1:e.isNumericLiteral(l)&&l.numericLiteralFlags&512?!!(Q&8):!e.isBigIntLiteral(l)}function Re(l){return e.isString(l)?'"'+Er(l)+'"':""+l}e.getTextOfConstantValue=Re;function He(l){return e.getBaseFileName(l).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}e.makeIdentifierFromModuleName=He;function Ln(l){return(e.getCombinedNodeFlags(l)&3)!==0||Un(l)}e.isBlockOrCatchScoped=Ln;function Un(l){var Q=Xc(l);return Q.kind===252&&Q.parent.kind===290}e.isCatchClauseVariableDeclarationOrBindingElement=Un;function fn(l){return e.isModuleDeclaration(l)&&(l.name.kind===10||Vn(l))}e.isAmbientModule=fn;function En(l){return e.isModuleDeclaration(l)&&l.name.kind===10}e.isModuleWithStringLiteralName=En;function i(l){return e.isModuleDeclaration(l)&&e.isStringLiteral(l.name)}e.isNonGlobalAmbientModule=i;function In(l){return e.isModuleDeclaration(l)||e.isIdentifier(l)}e.isEffectiveModuleDeclaration=In;function X(l){return rn(l.valueDeclaration)}e.isShorthandAmbientModuleSymbol=X;function rn(l){return!!l&&l.kind===259&&!l.body}function $n(l){return l.kind===300||l.kind===259||e.isFunctionLikeOrClassStaticBlockDeclaration(l)}e.isBlockScopedContainerTopLevel=$n;function Vn(l){return!!(l.flags&1024)}e.isGlobalScopeAugmentation=Vn;function le(l){return fn(l)&&Pe(l)}e.isExternalModuleAugmentation=le;function Pe(l){switch(l.parent.kind){case 300:return e.isExternalModule(l.parent);case 260:return fn(l.parent.parent)&&e.isSourceFile(l.parent.parent.parent)&&!e.isExternalModule(l.parent.parent.parent)}return!1}e.isModuleAugmentationExternal=Pe;function xe(l){var Q;return(Q=l.declarations)===null||Q===void 0?void 0:Q.find(function(ln){return!le(ln)&&!(e.isModuleDeclaration(ln)&&Vn(ln))})}e.getNonAugmentationDeclaration=xe;function Ze(l,Q){return e.isExternalModule(l)||Q.isolatedModules||Qd(Q)===e.ModuleKind.CommonJS&&!!l.commonJsModuleIndicator}e.isEffectiveExternalModule=Ze;function hn(l,Q){switch(l.scriptKind){case 1:case 3:case 2:case 4:break;default:return!1}return l.isDeclarationFile?!1:ga(Q,"alwaysStrict")||e.startsWithUseStrict(l.statements)?!0:e.isExternalModule(l)||Q.isolatedModules?Qd(Q)>=e.ModuleKind.ES2015?!0:!Q.noImplicitUseStrict:!1}e.isEffectiveStrictModeSourceFile=hn;function Le(l,Q){switch(l.kind){case 300:case 261:case 290:case 259:case 240:case 241:case 242:case 169:case 167:case 170:case 171:case 254:case 211:case 212:case 165:case 168:return!0;case 233:return!e.isFunctionLikeOrClassStaticBlockDeclaration(Q)}return!1}e.isBlockScope=Le;function $e(l){switch(l.kind){case 333:case 340:case 318:return!0;default:return e.assertType(l),An(l)}}e.isDeclarationWithTypeParameters=$e;function An(l){switch(l.kind){case 172:case 173:case 166:case 174:case 177:case 178:case 312:case 255:case 224:case 256:case 257:case 339:case 254:case 167:case 169:case 170:case 171:case 211:case 212:return!0;default:return e.assertType(l),!1}}e.isDeclarationWithTypeParameterChildren=An;function Ue(l){switch(l.kind){case 264:case 263:return!0;default:return!1}}e.isAnyImportSyntax=Ue;function gn(l){switch(l.kind){case 264:case 263:case 235:case 255:case 254:case 259:case 257:case 256:case 258:return!0;default:return!1}}e.isLateVisibilityPaintedStatement=gn;function Wn(l){return ze(l)||e.isModuleDeclaration(l)||e.isImportTypeNode(l)||zn(l)}e.hasPossibleExternalModuleReference=Wn;function ze(l){return Ue(l)||e.isExportDeclaration(l)}e.isAnyImportOrReExport=ze;function Tn(l){return e.findAncestor(l.parent,function(Q){return Le(Q,Q.parent)})}e.getEnclosingBlockScopeContainer=Tn;function On(l,Q){for(var ln=Tn(l);ln;)Q(ln),ln=Tn(ln)}e.forEachEnclosingBlockScopeContainer=On;function ur(l){return!l||H(l)===0?"(Missing)":en(l)}e.declarationNameToString=ur;function hr(l){return l.declaration?ur(l.declaration.parameters[0].name):void 0}e.getNameFromIndexInfo=hr;function wr(l){return l.kind===160&&!Ks(l.expression)}e.isComputedNonLiteralName=wr;function Qr(l){switch(l.kind){case 79:case 80:return l.escapedText;case 10:case 8:case 14:return e.escapeLeadingUnderscores(l.text);case 160:return Ks(l.expression)?e.escapeLeadingUnderscores(l.expression.text):e.Debug.fail("Text of property name cannot be read from non-literal-valued ComputedPropertyNames");default:return e.Debug.assertNever(l)}}e.getTextOfPropertyName=Qr;function Ke(l){switch(l.kind){case 108:return"this";case 80:case 79:return H(l)===0?e.idText(l):en(l);case 159:return Ke(l.left)+"."+Ke(l.right);case 204:return e.isIdentifier(l.name)||e.isPrivateIdentifier(l.name)?Ke(l.expression)+"."+Ke(l.name):e.Debug.assertNever(l.name);case 306:return Ke(l.left)+Ke(l.right);default:return e.Debug.assertNever(l)}}e.entityNameToString=Ke;function jn(l,Q,ln,wn,Fr,zr){var oa=U(l);return Me(oa,l,Q,ln,wn,Fr,zr)}e.createDiagnosticForNode=jn;function Zn(l,Q,ln,wn,Fr,zr,oa){var La=e.skipTrivia(l.text,Q.pos);return n_(l,La,Q.end-La,ln,wn,Fr,zr,oa)}e.createDiagnosticForNodeArray=Zn;function Me(l,Q,ln,wn,Fr,zr,oa){var La=J(l,Q);return n_(l,La.start,La.length,ln,wn,Fr,zr,oa)}e.createDiagnosticForNodeInSourceFile=Me;function Mn(l,Q,ln){var wn=U(l),Fr=J(wn,l);return Xn(wn,Fr.start,Fr.length,Q,ln)}e.createDiagnosticForNodeFromMessageChain=Mn;function ar(l,Q,ln){e.Debug.assertGreaterThanOrEqual(Q,0),e.Debug.assertGreaterThanOrEqual(ln,0),l&&(e.Debug.assertLessThanOrEqual(Q,l.text.length),e.Debug.assertLessThanOrEqual(Q+ln,l.text.length))}function Xn(l,Q,ln,wn,Fr){return ar(l,Q,ln),{file:l,start:Q,length:ln,code:wn.code,category:wn.category,messageText:wn.next?wn:wn.messageText,relatedInformation:Fr}}e.createFileDiagnosticFromMessageChain=Xn;function yr(l,Q,ln){return{file:l,start:0,length:0,code:Q.code,category:Q.category,messageText:Q.next?Q:Q.messageText,relatedInformation:ln}}e.createDiagnosticForFileFromMessageChain=yr;function cr(l,Q,ln){return{file:l,start:Q.pos,length:Q.end-Q.pos,code:ln.code,category:ln.category,messageText:ln.message}}e.createDiagnosticForRange=cr;function Fe(l,Q){var ln=e.createScanner(l.languageVersion,!0,l.languageVariant,l.text,void 0,Q);ln.scan();var wn=ln.getTokenPos();return e.createTextSpanFromBounds(wn,ln.getTextPos())}e.getSpanOfTokenAtPosition=Fe;function Bn(l,Q){var ln=e.skipTrivia(l.text,Q.pos);if(Q.body&&Q.body.kind===233){var wn=e.getLineAndCharacterOfPosition(l,Q.body.pos).line,Fr=e.getLineAndCharacterOfPosition(l,Q.body.end).line;if(wn0?Q.statements[0].pos:Q.end;return e.createTextSpanFromBounds(Fr,zr)}if(ln===void 0)return Fe(l,Q.pos);e.Debug.assert(!e.isJSDoc(ln));var oa=T(ln),La=oa||e.isJsxText(Q)?ln.pos:e.skipTrivia(l.text,ln.pos);return oa?(e.Debug.assert(La===ln.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),e.Debug.assert(La===ln.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")):(e.Debug.assert(La>=ln.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),e.Debug.assert(La<=ln.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),e.createTextSpanFromBounds(La,ln.end)}e.getErrorSpanForNode=J;function Cn(l){return(l.externalModuleIndicator||l.commonJsModuleIndicator)!==void 0}e.isExternalOrCommonJsModule=Cn;function Gn(l){return l.scriptKind===6}e.isJsonSourceFile=Gn;function cn(l){return!!(e.getCombinedModifierFlags(l)&2048)}e.isEnumConst=cn;function Rn(l){return!!(e.getCombinedModifierFlags(l)&64&&!e.isParameterPropertyDeclaration(l,l.parent))}e.isDeclarationReadonly=Rn;function Ye(l){return!!(e.getCombinedNodeFlags(l)&2)}e.isVarConst=Ye;function xn(l){return!!(e.getCombinedNodeFlags(l)&1)}e.isLet=xn;function an(l){return l.kind===206&&l.expression.kind===106}e.isSuperCall=an;function zn(l){return l.kind===206&&l.expression.kind===100}e.isImportCall=zn;function ir(l){return e.isMetaProperty(l)&&l.keywordToken===100&&l.name.escapedText==="meta"}e.isImportMeta=ir;function gr(l){return e.isImportTypeNode(l)&&e.isLiteralTypeNode(l.argument)&&e.isStringLiteral(l.argument.literal)}e.isLiteralImportTypeNode=gr;function Dr(l){return l.kind===236&&l.expression.kind===10}e.isPrologueDirective=Dr;function qr(l){return!!(qe(l)&1048576)}e.isCustomPrologue=qr;function ft(l){return qr(l)&&e.isFunctionDeclaration(l)}e.isHoistedFunction=ft;function xt(l){return e.isIdentifier(l.name)&&!l.initializer}function Kr(l){return qr(l)&&e.isVariableStatement(l)&&e.every(l.declarationList.declarations,xt)}e.isHoistedVariableStatement=Kr;function dt(l,Q){return l.kind!==11?e.getLeadingCommentRanges(Q.text,l.pos):void 0}e.getLeadingCommentRangesOfNode=dt;function Ur(l,Q){var ln=l.kind===162||l.kind===161||l.kind===211||l.kind===212||l.kind===210||l.kind===252?e.concatenate(e.getTrailingCommentRanges(Q,l.pos),e.getLeadingCommentRanges(Q,l.pos)):e.getLeadingCommentRanges(Q,l.pos);return e.filter(ln,function(wn){return Q.charCodeAt(wn.pos+1)===42&&Q.charCodeAt(wn.pos+2)===42&&Q.charCodeAt(wn.pos+3)!==47})}e.getJSDocCommentRanges=Ur,e.fullTripleSlashReferencePathRegEx=/^(\/\/\/\s*/;var qt=/^(\/\/\/\s*/;e.fullTripleSlashAMDReferencePathRegEx=/^(\/\/\/\s*/;var Cr=/^(\/\/\/\s*/;function Jt(l){if(175<=l.kind&&l.kind<=198)return!0;switch(l.kind){case 129:case 153:case 145:case 156:case 148:case 132:case 149:case 146:case 151:case 142:return!0;case 114:return l.parent.kind!==215;case 226:return!gc(l);case 161:return l.parent.kind===193||l.parent.kind===188;case 79:(l.parent.kind===159&&l.parent.right===l||l.parent.kind===204&&l.parent.name===l)&&(l=l.parent),e.Debug.assert(l.kind===79||l.kind===159||l.kind===204,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 159:case 204:case 108:{var Q=l.parent;if(Q.kind===179)return!1;if(Q.kind===198)return!Q.isTypeOf;if(175<=Q.kind&&Q.kind<=198)return!0;switch(Q.kind){case 226:return!gc(Q);case 161:return l===Q.constraint;case 339:return l===Q.constraint;case 165:case 164:case 162:case 252:return l===Q.type;case 254:case 211:case 212:case 169:case 167:case 166:case 170:case 171:return l===Q.type;case 172:case 173:case 174:return l===Q.type;case 209:return l===Q.type;case 206:case 207:return e.contains(Q.typeArguments,l);case 208:return!1}}}return!1}e.isPartOfTypeNode=Jt;function Ot(l,Q){for(;l;){if(l.kind===Q)return!0;l=l.parent}return!1}e.isChildOfNodeWithKind=Ot;function ri(l,Q){return ln(l);function ln(wn){switch(wn.kind){case 245:return Q(wn);case 261:case 233:case 237:case 238:case 239:case 240:case 241:case 242:case 246:case 247:case 287:case 288:case 248:case 250:case 290:return e.forEachChild(wn,ln)}}}e.forEachReturnStatement=ri;function Ya(l,Q){return ln(l);function ln(wn){switch(wn.kind){case 222:Q(wn);var Fr=wn.expression;Fr&&ln(Fr);return;case 258:case 256:case 259:case 257:return;default:if(e.isFunctionLike(wn)){if(wn.name&&wn.name.kind===160){ln(wn.name.expression);return}}else Jt(wn)||e.forEachChild(wn,ln)}}}e.forEachYieldExpression=Ya;function eo(l){return l&&l.kind===181?l.elementType:l&&l.kind===176?e.singleOrUndefined(l.typeArguments):void 0}e.getRestParameterElementType=eo;function za(l){switch(l.kind){case 256:case 255:case 224:case 180:return l.members;case 203:return l.properties}}e.getMembersOfDeclaration=za;function ua(l){if(l)switch(l.kind){case 201:case 294:case 162:case 291:case 165:case 164:case 292:case 252:return!0}return!1}e.isVariableLike=ua;function Ar(l){return ua(l)||e.isAccessor(l)}e.isVariableLikeOrAccessor=Ar;function at(l){return l.parent.kind===253&&l.parent.parent.kind===235}e.isVariableDeclarationInVariableStatement=at;function Hr(l){return e.isVariableDeclaration(l)?Ye(l)&&e.isIdentifier(l.name)&&at(l):e.isPropertyDeclaration(l)?Hd(l)&&mp(l):e.isPropertySignature(l)&&Hd(l)}e.isValidESSymbolDeclaration=Hr;function Wt(l){switch(l.kind){case 167:case 166:case 169:case 170:case 171:case 254:case 211:return!0}return!1}e.introducesArgumentsExoticObject=Wt;function Zt(l,Q){for(;;){if(Q&&Q(l),l.statement.kind!==248)return l.statement;l=l.statement}}e.unwrapInnermostStatementOfLabel=Zt;function Rr(l){return l&&l.kind===233&&e.isFunctionLike(l.parent)}e.isFunctionBlock=Rr;function Lr(l){return l&&l.kind===167&&l.parent.kind===203}e.isObjectLiteralMethod=Lr;function Xr(l){return l.kind===167&&(l.parent.kind===203||l.parent.kind===224)}e.isObjectLiteralOrClassExpressionMethod=Xr;function nt(l){return l&&l.kind===1}e.isIdentifierTypePredicate=nt;function vt(l){return l&&l.kind===0}e.isThisTypePredicate=vt;function or(l,Q,ln){return l.properties.filter(function(wn){if(wn.kind===291){var Fr=Qr(wn.name);return Q===Fr||!!ln&&ln===Fr}return!1})}e.getPropertyAssignment=or;function $t(l,Q,ln){return e.firstDefined(or(l,Q),function(wn){return e.isArrayLiteralExpression(wn.initializer)?e.find(wn.initializer.elements,function(Fr){return e.isStringLiteral(Fr)&&Fr.text===ln}):void 0})}e.getPropertyArrayElementValue=$t;function Va(l){if(l&&l.statements.length){var Q=l.statements[0].expression;return e.tryCast(Q,e.isObjectLiteralExpression)}}e.getTsConfigObjectLiteralExpression=Va;function li(l,Q,ln){return e.firstDefined(zi(l,Q),function(wn){return e.isArrayLiteralExpression(wn.initializer)?e.find(wn.initializer.elements,function(Fr){return e.isStringLiteral(Fr)&&Fr.text===ln}):void 0})}e.getTsConfigPropArrayElementValue=li;function zi(l,Q){var ln=Va(l);return ln?or(ln,Q):e.emptyArray}e.getTsConfigPropArray=zi;function Ma(l){return e.findAncestor(l.parent,e.isFunctionLike)}e.getContainingFunction=Ma;function di(l){return e.findAncestor(l.parent,e.isFunctionLikeDeclaration)}e.getContainingFunctionDeclaration=di;function Yi(l){return e.findAncestor(l.parent,e.isClassLike)}e.getContainingClass=Yi;function uo(l){return e.findAncestor(l.parent,function(Q){return e.isClassLike(Q)||e.isFunctionLike(Q)?"quit":e.isClassStaticBlockDeclaration(Q)})}e.getContainingClassStaticBlock=uo;function bi(l){return e.findAncestor(l.parent,e.isFunctionLikeOrClassStaticBlockDeclaration)}e.getContainingFunctionOrClassStaticBlock=bi;function Mi(l,Q){for(e.Debug.assert(l.kind!==300);;){if(l=l.parent,!l)return e.Debug.fail();switch(l.kind){case 160:if(e.isClassLike(l.parent.parent))return l;l=l.parent;break;case 163:l.parent.kind===162&&e.isClassElement(l.parent.parent)?l=l.parent.parent:e.isClassElement(l.parent)&&(l=l.parent);break;case 212:if(!Q)continue;case 254:case 211:case 259:case 168:case 165:case 164:case 167:case 166:case 169:case 170:case 171:case 172:case 173:case 174:case 258:case 300:return l}}}e.getThisContainer=Mi;function Go(l){e.isIdentifier(l)&&(e.isClassDeclaration(l.parent)||e.isFunctionDeclaration(l.parent))&&l.parent.name===l&&(l=l.parent);var Q=Mi(l,!0);return e.isSourceFile(Q)}e.isInTopLevelContext=Go;function io(l){var Q=Mi(l,!1);if(Q)switch(Q.kind){case 169:case 254:case 211:return Q}}e.getNewTargetContainer=io;function wi(l,Q){for(;;){if(l=l.parent,!l)return l;switch(l.kind){case 160:l=l.parent;break;case 254:case 211:case 212:if(!Q)continue;case 165:case 164:case 167:case 166:case 169:case 170:case 171:case 168:return l;case 163:l.parent.kind===162&&e.isClassElement(l.parent.parent)?l=l.parent.parent:e.isClassElement(l.parent)&&(l=l.parent);break}}}e.getSuperContainer=wi;function Ho(l){if(l.kind===211||l.kind===212){for(var Q=l,ln=l.parent;ln.kind===210;)Q=ln,ln=ln.parent;if(ln.kind===206&&ln.expression===Q)return ln}}e.getImmediatelyInvokedFunctionExpression=Ho;function qi(l){return l.kind===106||Qi(l)}e.isSuperOrSuperProperty=qi;function Qi(l){var Q=l.kind;return(Q===204||Q===205)&&l.expression.kind===106}e.isSuperProperty=Qi;function as(l){var Q=l.kind;return(Q===204||Q===205)&&l.expression.kind===108}e.isThisProperty=as;function gs(l){var Q;return!!l&&e.isVariableDeclaration(l)&&((Q=l.initializer)===null||Q===void 0?void 0:Q.kind)===108}e.isThisInitializedDeclaration=gs;function Da(l){return!!l&&(e.isShorthandPropertyAssignment(l)||e.isPropertyAssignment(l))&&e.isBinaryExpression(l.parent.parent)&&l.parent.parent.operatorToken.kind===63&&l.parent.parent.right.kind===108}e.isThisInitializedObjectBindingExpression=Da;function $a(l){switch(l.kind){case 176:return l.typeName;case 226:return sc(l.expression)?l.expression:void 0;case 79:case 159:return l}}e.getEntityNameFromTypeNode=$a;function Ni(l){switch(l.kind){case 208:return l.tag;case 278:case 277:return l.tagName;default:return l.expression}}e.getInvokedExpression=Ni;function vo(l,Q,ln){if(e.isNamedDeclaration(l)&&e.isPrivateIdentifier(l.name))return!1;switch(l.kind){case 255:return!0;case 165:return Q.kind===255;case 170:case 171:case 167:return l.body!==void 0&&Q.kind===255;case 162:return Q.body!==void 0&&(Q.kind===169||Q.kind===167||Q.kind===171)&&ln.kind===255}return!1}e.nodeCanBeDecorated=vo;function Io(l,Q,ln){return l.decorators!==void 0&&vo(l,Q,ln)}e.nodeIsDecorated=Io;function Bo(l,Q,ln){return Io(l,Q,ln)||Uo(l,Q)}e.nodeOrChildIsDecorated=Bo;function Uo(l,Q){switch(l.kind){case 255:return e.some(l.members,function(ln){return Bo(ln,l,Q)});case 167:case 171:case 169:return e.some(l.parameters,function(ln){return Io(ln,l,Q)});default:return!1}}e.childIsDecorated=Uo;function cs(l){if(Io(l))return!0;var Q=Gf(l);return!!Q&&Uo(Q,l)}e.classOrConstructorParameterIsDecorated=cs;function us(l){var Q=l.parent;return Q.kind===278||Q.kind===277||Q.kind===279?Q.tagName===l:!1}e.isJSXTagName=us;function Jo(l){switch(l.kind){case 106:case 104:case 110:case 95:case 13:case 202:case 203:case 204:case 205:case 206:case 207:case 208:case 227:case 209:case 228:case 210:case 211:case 224:case 212:case 215:case 213:case 214:case 217:case 218:case 219:case 220:case 223:case 221:case 225:case 276:case 277:case 280:case 222:case 216:case 229:return!0;case 159:for(;l.parent.kind===159;)l=l.parent;return l.parent.kind===179||e.isJSDocLinkLike(l.parent)||e.isJSDocNameReference(l.parent)||e.isJSDocMemberName(l.parent)||us(l);case 306:for(;e.isJSDocMemberName(l.parent);)l=l.parent;return l.parent.kind===179||e.isJSDocLinkLike(l.parent)||e.isJSDocNameReference(l.parent)||e.isJSDocMemberName(l.parent)||us(l);case 79:if(l.parent.kind===179||e.isJSDocLinkLike(l.parent)||e.isJSDocNameReference(l.parent)||e.isJSDocMemberName(l.parent)||us(l))return!0;case 8:case 9:case 10:case 14:case 108:return is(l);default:return!1}}e.isExpressionNode=Jo;function is(l){var Q=l.parent;switch(Q.kind){case 252:case 162:case 165:case 164:case 294:case 291:case 201:return Q.initializer===l;case 236:case 237:case 238:case 239:case 245:case 246:case 247:case 287:case 249:return Q.expression===l;case 240:var ln=Q;return ln.initializer===l&&ln.initializer.kind!==253||ln.condition===l||ln.incrementor===l;case 241:case 242:var wn=Q;return wn.initializer===l&&wn.initializer.kind!==253||wn.expression===l;case 209:case 227:return l===Q.expression;case 231:return l===Q.expression;case 160:return l===Q.expression;case 163:case 286:case 285:case 293:return!0;case 226:return Q.expression===l&&gc(Q);case 292:return Q.objectAssignmentInitializer===l;default:return Jo(Q)}}e.isInExpressionContext=is;function mn(l){for(;l.kind===159||l.kind===79;)l=l.parent;return l.kind===179}e.isPartOfTypeQuery=mn;function _r(l){return e.isNamespaceExport(l)&&!!l.parent.moduleSpecifier}e.isNamespaceReexportDeclaration=_r;function $r(l){return l.kind===263&&l.moduleReference.kind===275}e.isExternalModuleImportEqualsDeclaration=$r;function ia(l){return e.Debug.assert($r(l)),l.moduleReference.expression}e.getExternalModuleImportEqualsDeclarationExpression=ia;function ti(l){return vr(l)&&_(l.initializer).arguments[0]}e.getExternalModuleRequireArgument=ti;function va(l){return l.kind===263&&l.moduleReference.kind!==275}e.isInternalModuleImportEqualsDeclaration=va;function Ve(l){return dn(l)}e.isSourceFileJS=Ve;function ce(l){return!dn(l)}e.isSourceFileNotJS=ce;function dn(l){return!!l&&!!(l.flags&131072)}e.isInJSFile=dn;function j(l){return!!l&&!!(l.flags&33554432)}e.isInJsonFile=j;function Ie(l){return!Gn(l)}e.isSourceFileNotJson=Ie;function We(l){return!!l&&!!(l.flags&4194304)}e.isInJSDoc=We;function sn(l){return e.isTypeReferenceNode(l)&&e.isIdentifier(l.typeName)&&l.typeName.escapedText==="Object"&&l.typeArguments&&l.typeArguments.length===2&&(l.typeArguments[0].kind===148||l.typeArguments[0].kind===145)}e.isJSDocIndexSignature=sn;function Hn(l,Q){if(l.kind!==206)return!1;var ln=l,wn=ln.expression,Fr=ln.arguments;if(wn.kind!==79||wn.escapedText!=="require"||Fr.length!==1)return!1;var zr=Fr[0];return!Q||e.isStringLiteralLike(zr)}e.isRequireCall=Hn;function vr(l){return l.kind===201&&(l=l.parent.parent),e.isVariableDeclaration(l)&&!!l.initializer&&Hn(_(l.initializer),!0)}e.isRequireVariableDeclaration=vr;function Sr(l){return e.isVariableStatement(l)&&l.declarationList.declarations.length>0&&e.every(l.declarationList.declarations,function(Q){return vr(Q)})}e.isRequireVariableStatement=Sr;function ot(l){return l===39||l===34}e.isSingleOrDoubleQuote=ot;function Et(l,Q){return be(Q,l).charCodeAt(0)===34}e.isStringDoubleQuoted=Et;function ra(l){return e.isBinaryExpression(l)||zl(l)||e.isIdentifier(l)||e.isCallExpression(l)}e.isAssignmentDeclaration=ra;function Na(l){return dn(l)&&l.initializer&&e.isBinaryExpression(l.initializer)&&(l.initializer.operatorToken.kind===56||l.initializer.operatorToken.kind===60)&&l.name&&sc(l.name)&&Zo(l.name,l.initializer.left)?l.initializer.right:l.initializer}e.getEffectiveInitializer=Na;function ei(l){var Q=Na(l);return Q&&ho(Q,Gu(l.name))}e.getDeclaredExpandoInitializer=ei;function Li(l,Q){return e.forEach(l.properties,function(ln){return e.isPropertyAssignment(ln)&&e.isIdentifier(ln.name)&&ln.name.escapedText==="value"&&ln.initializer&&ho(ln.initializer,Q)})}function Zi(l){if(l&&l.parent&&e.isBinaryExpression(l.parent)&&l.parent.operatorToken.kind===63){var Q=Gu(l.parent.left);return ho(l.parent.right,Q)||vs(l.parent.left,l.parent.right,Q)}if(l&&e.isCallExpression(l)&&jl(l)){var ln=Li(l.arguments[2],l.arguments[1].text==="prototype");if(ln)return ln}}e.getAssignedExpandoInitializer=Zi;function ho(l,Q){if(e.isCallExpression(l)){var ln=Pi(l.expression);return ln.kind===211||ln.kind===212?l:void 0}if(l.kind===211||l.kind===224||l.kind===212||e.isObjectLiteralExpression(l)&&(l.properties.length===0||Q))return l}e.getExpandoInitializer=ho;function vs(l,Q,ln){var wn=e.isBinaryExpression(Q)&&(Q.operatorToken.kind===56||Q.operatorToken.kind===60)&&ho(Q.right,ln);if(wn&&Zo(l,Q.left))return wn}function Ao(l){var Q=e.isVariableDeclaration(l.parent)?l.parent.name:e.isBinaryExpression(l.parent)&&l.parent.operatorToken.kind===63?l.parent.left:void 0;return Q&&ho(l.right,Gu(Q))&&sc(Q)&&Zo(Q,l.left)}e.isDefaultedExpandoInitializer=Ao;function oo(l){if(e.isBinaryExpression(l.parent)){var Q=(l.parent.operatorToken.kind===56||l.parent.operatorToken.kind===60)&&e.isBinaryExpression(l.parent.parent)?l.parent.parent:l.parent;if(Q.operatorToken.kind===63&&e.isIdentifier(Q.left))return Q.left}else if(e.isVariableDeclaration(l.parent))return l.parent.name}e.getNameOfExpando=oo;function Zo(l,Q){if(Qu(l)&&Qu(Q))return gf(l)===gf(Q);if(e.isIdentifier(l)&&Hl(Q)&&(Q.expression.kind===108||e.isIdentifier(Q.expression)&&(Q.expression.escapedText==="window"||Q.expression.escapedText==="self"||Q.expression.escapedText==="global"))){var ln=Te(Q);return e.isPrivateIdentifier(ln)&&e.Debug.fail("Unexpected PrivateIdentifier in name expression with literal-like access."),Zo(l,ln)}return Hl(l)&&Hl(Q)?ca(l)===ca(Q)&&Zo(l.expression,Q.expression):!1}e.isSameEntityName=Zo;function cl(l){for(;Wf(l,!0);)l=l.right;return l}e.getRightMostAssignedExpression=cl;function ws(l){return e.isIdentifier(l)&&l.escapedText==="exports"}e.isExportsIdentifier=ws;function vl(l){return e.isIdentifier(l)&&l.escapedText==="module"}e.isModuleIdentifier=vl;function ul(l){return(e.isPropertyAccessExpression(l)||Hs(l))&&vl(l.expression)&&ca(l)==="exports"}e.isModuleExportsAccessExpression=ul;function ps(l){var Q=Fn(l);return Q===5||dn(l)?Q:0}e.getAssignmentDeclarationKind=ps;function jl(l){return e.length(l.arguments)===3&&e.isPropertyAccessExpression(l.expression)&&e.isIdentifier(l.expression.expression)&&e.idText(l.expression.expression)==="Object"&&e.idText(l.expression.name)==="defineProperty"&&Ks(l.arguments[1])&&Kn(l.arguments[0],!0)}e.isBindableObjectDefinePropertyCall=jl;function Hl(l){return e.isPropertyAccessExpression(l)||Hs(l)}e.isLiteralLikeAccess=Hl;function Hs(l){return e.isElementAccessExpression(l)&&Ks(l.argumentExpression)}e.isLiteralLikeElementAccess=Hs;function Fs(l,Q){return e.isPropertyAccessExpression(l)&&(!Q&&l.expression.kind===108||e.isIdentifier(l.name)&&Kn(l.expression,!0))||ge(l,Q)}e.isBindableStaticAccessExpression=Fs;function ge(l,Q){return Hs(l)&&(!Q&&l.expression.kind===108||sc(l.expression)||Fs(l.expression,!0))}e.isBindableStaticElementAccessExpression=ge;function Kn(l,Q){return sc(l)||Fs(l,Q)}e.isBindableStaticNameExpression=Kn;function Te(l){return e.isPropertyAccessExpression(l)?l.name:l.argumentExpression}e.getNameOrArgument=Te;function Fn(l){if(e.isCallExpression(l)){if(!jl(l))return 0;var Q=l.arguments[0];return ws(Q)||ul(Q)?8:Fs(Q)&&ca(Q)==="prototype"?9:7}return l.operatorToken.kind!==63||!zl(l.left)||et(cl(l))?0:Kn(l.left.expression,!0)&&ca(l.left)==="prototype"&&e.isObjectLiteralExpression(To(l))?6:ha(l.left)}function et(l){return e.isVoidExpression(l)&&e.isNumericLiteral(l.expression)&&l.expression.text==="0"}function Xt(l){if(e.isPropertyAccessExpression(l))return l.name;var Q=Pi(l.argumentExpression);return e.isNumericLiteral(Q)||e.isStringLiteralLike(Q)?Q:l}e.getElementOrPropertyAccessArgumentExpressionOrName=Xt;function ca(l){var Q=Xt(l);if(Q){if(e.isIdentifier(Q))return Q.escapedText;if(e.isStringLiteralLike(Q)||e.isNumericLiteral(Q))return e.escapeLeadingUnderscores(Q.text)}}e.getElementOrPropertyAccessName=ca;function ha(l){if(l.expression.kind===108)return 4;if(ul(l))return 2;if(Kn(l.expression,!0)){if(Gu(l.expression))return 3;for(var Q=l;!e.isIdentifier(Q.expression);)Q=Q.expression;var ln=Q.expression;if((ln.escapedText==="exports"||ln.escapedText==="module"&&ca(Q)==="exports")&&Fs(l))return 1;if(Kn(l,!0)||e.isElementAccessExpression(l)&&_f(l))return 5}return 0}e.getAssignmentDeclarationPropertyAccessKind=ha;function To(l){for(;e.isBinaryExpression(l.right);)l=l.right;return l.right}e.getInitializerOfBinaryExpression=To;function Pn(l){return e.isBinaryExpression(l)&&ps(l)===3}e.isPrototypePropertyAssignment=Pn;function Vo(l){return dn(l)&&l.parent&&l.parent.kind===236&&(!e.isElementAccessExpression(l)||Hs(l))&&!!e.getJSDocTypeTag(l.parent)}e.isSpecialPropertyDeclaration=Vo;function Ko(l,Q){var ln=l.valueDeclaration;(!ln||!(Q.flags&8388608&&!(ln.flags&8388608))&&ra(ln)&&!ra(Q)||ln.kind!==Q.kind&&In(ln))&&(l.valueDeclaration=Q)}e.setValueDeclaration=Ko;function hs(l){if(!l||!l.valueDeclaration)return!1;var Q=l.valueDeclaration;return Q.kind===254||e.isVariableDeclaration(Q)&&Q.initializer&&e.isFunctionLike(Q.initializer)}e.isFunctionSymbol=hs;function hl(l){var Q,ln,wn;switch(l.kind){case 252:return l.initializer.arguments[0].text;case 264:return(Q=e.tryCast(l.moduleSpecifier,e.isStringLiteralLike))===null||Q===void 0?void 0:Q.text;case 263:return(wn=e.tryCast((ln=e.tryCast(l.moduleReference,e.isExternalModuleReference))===null||ln===void 0?void 0:ln.expression,e.isStringLiteralLike))===null||wn===void 0?void 0:wn.text;default:e.Debug.assertNever(l)}}e.tryGetModuleSpecifierFromDeclaration=hl;function Bi(l){return Js(l)||e.Debug.failBadSyntaxKind(l.parent)}e.importFromModuleSpecifier=Bi;function Js(l){switch(l.parent.kind){case 264:case 270:return l.parent;case 275:return l.parent.parent;case 206:return zn(l.parent)||Hn(l.parent,!1)?l.parent:void 0;case 194:return e.Debug.assert(e.isStringLiteral(l)),e.tryCast(l.parent.parent,e.isImportTypeNode);default:return}}e.tryGetImportFromModuleSpecifier=Js;function rl(l){switch(l.kind){case 264:case 270:return l.moduleSpecifier;case 263:return l.moduleReference.kind===275?l.moduleReference.expression:void 0;case 198:return gr(l)?l.argument.literal:void 0;case 206:return l.arguments[0];case 259:return l.name.kind===10?l.name:void 0;default:return e.Debug.assertNever(l)}}e.getExternalModuleName=rl;function Ol(l){switch(l.kind){case 264:return l.importClause&&e.tryCast(l.importClause.namedBindings,e.isNamespaceImport);case 263:return l;case 270:return l.exportClause&&e.tryCast(l.exportClause,e.isNamespaceExport);default:return e.Debug.assertNever(l)}}e.getNamespaceDeclarationNode=Ol;function nc(l){return l.kind===264&&!!l.importClause&&!!l.importClause.name}e.isDefaultImport=nc;function Sc(l,Q){if(l.name){var ln=Q(l);if(ln)return ln}if(l.namedBindings){var ln=e.isNamespaceImport(l.namedBindings)?Q(l.namedBindings):e.forEach(l.namedBindings.elements,Q);if(ln)return ln}}e.forEachImportClauseDeclaration=Sc;function Zl(l){if(l)switch(l.kind){case 162:case 167:case 166:case 292:case 291:case 165:case 164:return l.questionToken!==void 0}return!1}e.hasQuestionToken=Zl;function du(l){var Q=e.isJSDocFunctionType(l)?e.firstOrUndefined(l.parameters):void 0,ln=e.tryCast(Q&&Q.name,e.isIdentifier);return!!ln&&ln.escapedText==="new"}e.isJSDocConstructSignature=du;function dc(l){return l.kind===340||l.kind===333||l.kind===334}e.isJSDocTypeAlias=dc;function $l(l){return dc(l)||e.isTypeAliasDeclaration(l)}e.isTypeAlias=$l;function kn(l){return e.isExpressionStatement(l)&&e.isBinaryExpression(l.expression)&&l.expression.operatorToken.kind===63?cl(l.expression):void 0}function lr(l){return e.isExpressionStatement(l)&&e.isBinaryExpression(l.expression)&&ps(l.expression)!==0&&e.isBinaryExpression(l.expression.right)&&(l.expression.right.operatorToken.kind===56||l.expression.right.operatorToken.kind===60)?l.expression.right.right:void 0}function Or(l){switch(l.kind){case 235:var Q=st(l);return Q&&Q.initializer;case 165:return l.initializer;case 291:return l.initializer}}e.getSingleInitializerOfVariableStatementOrPropertyDeclaration=Or;function st(l){return e.isVariableStatement(l)?e.firstOrUndefined(l.declarationList.declarations):void 0}e.getSingleVariableOfVariableStatement=st;function yt(l){return e.isModuleDeclaration(l)&&l.body&&l.body.kind===259?l.body:void 0}function Tt(l,Q){var ln;ua(l)&&e.hasInitializer(l)&&e.hasJSDocNodes(l.initializer)&&(ln=e.append(ln,e.last(l.initializer.jsDoc)));for(var wn=l;wn&&wn.parent;){if(e.hasJSDocNodes(wn)&&(ln=e.append(ln,e.last(wn.jsDoc))),wn.kind===162){ln=e.addRange(ln,(Q?e.getJSDocParameterTagsNoCache:e.getJSDocParameterTags)(wn));break}if(wn.kind===161){ln=e.addRange(ln,(Q?e.getJSDocTypeParameterTagsNoCache:e.getJSDocTypeParameterTags)(wn));break}wn=Ut(wn)}return ln||e.emptyArray}e.getJSDocCommentsAndTags=Tt;function Ut(l){var Q=l.parent;if(Q.kind===291||Q.kind===269||Q.kind===165||Q.kind===236&&l.kind===204||Q.kind===245||yt(Q)||e.isBinaryExpression(l)&&l.operatorToken.kind===63)return Q;if(Q.parent&&(st(Q.parent)===l||e.isBinaryExpression(Q)&&Q.operatorToken.kind===63))return Q.parent;if(Q.parent&&Q.parent.parent&&(st(Q.parent.parent)||Or(Q.parent.parent)===l||lr(Q.parent.parent)))return Q.parent.parent}e.getNextJSDocCommentLocation=Ut;function ea(l){if(l.symbol)return l.symbol;if(e.isIdentifier(l.name)){var Q=l.name.escapedText,ln=zt(l);if(ln){var wn=e.find(ln.parameters,function(Fr){return Fr.name.kind===79&&Fr.name.escapedText===Q});return wn&&wn.symbol}}}e.getParameterSymbolFromJSDoc=ea;function zt(l){var Q=Ii(l);return Q&&e.isFunctionLike(Q)?Q:void 0}e.getHostSignatureFromJSDoc=zt;function Ii(l){var Q=ba(l);if(Q)return lr(Q)||kn(Q)||Or(Q)||st(Q)||yt(Q)||Q}e.getEffectiveJSDocHost=Ii;function ba(l){var Q=wa(l);if(Q){var ln=Q.parent;if(ln&&ln.jsDoc&&Q===e.lastOrUndefined(ln.jsDoc))return ln}}e.getJSDocHost=ba;function wa(l){return e.findAncestor(l.parent,e.isJSDoc)}e.getJSDocRoot=wa;function Ui(l){var Q=l.name.escapedText,ln=l.parent.parent.parent.typeParameters;return ln&&e.find(ln,function(wn){return wn.name.escapedText===Q})}e.getTypeParameterFromJsDoc=Ui;function Fi(l){var Q=e.lastOrUndefined(l.parameters);return!!Q&&he(Q)}e.hasRestParameter=Fi;function he(l){var Q=e.isJSDocParameterTag(l)?l.typeExpression&&l.typeExpression.type:l.type;return l.dotDotDotToken!==void 0||!!Q&&Q.kind===313}e.isRestParameter=he;function un(l){return!!l.typeArguments}e.hasTypeArguments=un;var Sn;(function(l){l[l.None=0]="None",l[l.Definite=1]="Definite",l[l.Compound=2]="Compound"})(Sn=e.AssignmentKind||(e.AssignmentKind={}));function Tr(l){for(var Q=l.parent;;){switch(Q.kind){case 219:var ln=Q.operatorToken.kind;return Vf(ln)&&Q.left===l?ln===63||Rc(ln)?1:2:0;case 217:case 218:var wn=Q.operator;return wn===45||wn===46?2:0;case 241:case 242:return Q.initializer===l?1:0;case 210:case 202:case 223:case 228:l=Q;break;case 293:l=Q.parent;break;case 292:if(Q.name!==l)return 0;l=Q.parent;break;case 291:if(Q.name===l)return 0;l=Q.parent;break;default:return 0}Q=l.parent}}e.getAssignmentTargetKind=Tr;function Wr(l){return Tr(l)!==0}e.isAssignmentTarget=Wr;function Yt(l){switch(l.kind){case 233:case 235:case 246:case 237:case 247:case 261:case 287:case 288:case 248:case 240:case 241:case 242:case 238:case 239:case 250:case 290:return!0}return!1}e.isNodeWithPossibleHoistedDeclaration=Yt;function Ia(l){return e.isFunctionExpression(l)||e.isArrowFunction(l)||e.isMethodOrAccessor(l)||e.isFunctionDeclaration(l)||e.isConstructorDeclaration(l)}e.isValueSignatureDeclaration=Ia;function hi(l,Q){for(;l&&l.kind===Q;)l=l.parent;return l}function yo(l){return hi(l,189)}e.walkUpParenthesizedTypes=yo;function Oo(l){return hi(l,210)}e.walkUpParenthesizedExpressions=Oo;function ys(l){for(var Q;l&&l.kind===189;)Q=l,l=l.parent;return[Q,l]}e.walkUpParenthesizedTypesAndGetParentAndChild=ys;function Pi(l){return e.skipOuterExpressions(l,1)}e.skipParentheses=Pi;function Po(l){return l.kind!==204&&l.kind!==205?!1:(l=Oo(l.parent),l&&l.kind===213)}e.isDeleteTarget=Po;function Jn(l,Q){for(;l;){if(l===Q)return!0;l=l.parent}return!1}e.isNodeDescendantOf=Jn;function zo(l){return!e.isSourceFile(l)&&!e.isBindingPattern(l)&&e.isDeclaration(l.parent)&&l.parent.name===l}e.isDeclarationName=zo;function Es(l){var Q=l.parent;switch(l.kind){case 10:case 14:case 8:if(e.isComputedPropertyName(Q))return Q.parent;case 79:if(e.isDeclaration(Q))return Q.name===l?Q:void 0;if(e.isQualifiedName(Q)){var ln=Q.parent;return e.isJSDocParameterTag(ln)&&ln.name===Q?ln:void 0}else{var wn=Q.parent;return e.isBinaryExpression(wn)&&ps(wn)!==0&&(wn.left.symbol||wn.symbol)&&e.getNameOfDeclaration(wn)===l?wn:void 0}case 80:return e.isDeclaration(Q)&&Q.name===l?Q:void 0;default:return}}e.getDeclarationFromName=Es;function Rs(l){return Ks(l)&&l.parent.kind===160&&e.isDeclaration(l.parent.parent)}e.isLiteralComputedPropertyDeclarationName=Rs;function pu(l){var Q=l.parent;switch(Q.kind){case 165:case 164:case 167:case 166:case 170:case 171:case 294:case 291:case 204:return Q.name===l;case 159:return Q.right===l;case 201:case 268:return Q.propertyName===l;case 273:case 283:return!0}return!1}e.isIdentifierName=pu;function ol(l){return l.kind===263||l.kind===262||l.kind===265&&!!l.name||l.kind===266||l.kind===272||l.kind===268||l.kind===273||l.kind===269&&tl(l)||e.isBinaryExpression(l)&&ps(l)===2&&tl(l)||e.isPropertyAccessExpression(l)&&e.isBinaryExpression(l.parent)&&l.parent.left===l&&l.parent.operatorToken.kind===63&&fo(l.parent.right)||l.kind===292||l.kind===291&&fo(l.initializer)}e.isAliasSymbolDeclaration=ol;function mu(l){switch(l.parent.kind){case 265:case 268:case 266:case 273:case 269:case 263:return l.parent;case 159:do l=l.parent;while(l.parent.kind===159);return mu(l)}}e.getAliasDeclarationFromName=mu;function fo(l){return sc(l)||e.isClassExpression(l)}e.isAliasableExpression=fo;function tl(l){var Q=zc(l);return fo(Q)}e.exportAssignmentIsAlias=tl;function zc(l){return e.isExportAssignment(l)?l.expression:l.right}e.getExportAssignmentExpression=zc;function _u(l){return l.kind===292?l.name:l.kind===291?l.initializer:l.parent.right}e.getPropertyAssignmentAliasLikeExpression=_u;function qc(l){var Q=gu(l);if(Q&&dn(l)){var ln=e.getJSDocAugmentsTag(l);if(ln)return ln.class}return Q}e.getEffectiveBaseTypeNode=qc;function gu(l){var Q=Pu(l.heritageClauses,94);return Q&&Q.types.length>0?Q.types[0]:void 0}e.getClassExtendsHeritageElement=gu;function Xu(l){if(dn(l))return e.getJSDocImplementsTags(l).map(function(ln){return ln.class});var Q=Pu(l.heritageClauses,117);return Q==null?void 0:Q.types}e.getEffectiveImplementsTypeNodes=Xu;function fd(l){return e.isInterfaceDeclaration(l)?ic(l)||e.emptyArray:e.isClassLike(l)&&e.concatenate(e.singleElementArray(qc(l)),Xu(l))||e.emptyArray}e.getAllSuperTypeNodes=fd;function ic(l){var Q=Pu(l.heritageClauses,94);return Q?Q.types:void 0}e.getInterfaceBaseTypeNodes=ic;function Pu(l,Q){if(l)for(var ln=0,wn=l;ln=0)return Ci[Ei]}}function zr(yi){var Ci;yi.file?(Ci=ln.get(yi.file.fileName),Ci||(Ci=[],ln.set(yi.file.fileName,Ci),e.insertSorted(Q,yi.file.fileName,e.compareStringsCaseSensitive))):(wn&&(wn=!1,l=l.slice()),Ci=l),e.insertSorted(Ci,yi,xm)}function oa(){return wn=!0,l}function La(yi){if(yi)return ln.get(yi)||[];var Ci=e.flatMapToMutable(Q,function(Ei){return ln.get(Ei)});return l.length&&Ci.unshift.apply(Ci,l),Ci}}e.createDiagnosticCollection=sl;var Mf=/\$\{/g;function wf(l){return l.replace(Mf,"\\${")}function c(l){return l&&!!(e.isNoSubstitutionTemplateLiteral(l)?l.templateFlags:l.head.templateFlags||e.some(l.templateSpans,function(Q){return!!Q.literal.templateFlags}))}e.hasInvalidEscape=c;var h=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,ae=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,je=/\r\n|[\\\`\u0000-\u001f\t\v\f\b\r\u2028\u2029\u0085]/g,_n=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 Nn(l){var Q=l.toString(16).toUpperCase(),ln=("0000"+Q).slice(-4);return"\\u"+ln}function er(l,Q,ln){if(l.charCodeAt(0)===0){var wn=ln.charCodeAt(Q+l.length);return wn>=48&&wn<=57?"\\x00":"\\0"}return _n.get(l)||Nn(l.charCodeAt(0))}function pr(l,Q){var ln=Q===96?je:Q===39?ae:h;return l.replace(ln,er)}e.escapeString=pr;var kr=/[^\u0000-\u007F]/g;function Er(l,Q){return l=pr(l,Q),kr.test(l)?l.replace(kr,function(ln){return Nn(ln.charCodeAt(0))}):l}e.escapeNonAsciiString=Er;var gt=/[\"\u0000-\u001f\u2028\u2029\u0085]/g,rt=/[\'\u0000-\u001f\u2028\u2029\u0085]/g,ma=new e.Map(e.getEntries({'"':""","'":"'"}));function Ai(l){var Q=l.toString(16).toUpperCase();return"&#x"+Q+";"}function Ba(l){return l.charCodeAt(0)===0?"�":ma.get(l)||Ai(l.charCodeAt(0))}function _i(l,Q){var ln=Q===39?rt:gt;return l.replace(ln,Ba)}e.escapeJsxAttributeString=_i;function No(l){var Q=l.length;return Q>=2&&l.charCodeAt(0)===l.charCodeAt(Q-1)&&to(l.charCodeAt(0))?l.substring(1,Q-1):l}e.stripQuotes=No;function to(l){return l===39||l===34||l===96}function Ca(l){var Q=l.charCodeAt(0);return Q>=97&&Q<=122||e.stringContains(l,"-")||e.stringContains(l,":")}e.isIntrinsicJsxName=Ca;var Qt=[""," "];function ni(l){for(var Q=Qt[1],ln=Qt.length;ln<=l;ln++)Qt.push(Qt[ln-1]+Q);return Qt[l]}e.getIndentString=ni;function Wa(){return Qt[1].length}e.getIndentSize=Wa;function qa(l){var Q,ln,wn,Fr,zr,oa=!1;function La(Vs){var ou=e.computeLineStarts(Vs);ou.length>1?(Fr=Fr+ou.length-1,zr=Q.length-Vs.length+e.last(ou),wn=zr-Q.length===0):wn=!1}function yi(Vs){Vs&&Vs.length&&(wn&&(Vs=ni(ln)+Vs,wn=!1),Q+=Vs,La(Vs))}function Ci(Vs){Vs&&(oa=!1),yi(Vs)}function Ei(Vs){Vs&&(oa=!0),yi(Vs)}function po(){Q="",ln=0,wn=!0,Fr=0,zr=0,oa=!1}function Ns(Vs){Vs!==void 0&&(Q+=Vs,La(Vs),oa=!1)}function _l(Vs){Vs&&Vs.length&&Ci(Vs)}function ks(Vs){(!wn||Vs)&&(Q+=l,Fr++,zr=Q.length,wn=!0,oa=!1)}function Yl(){return wn?Q.length:Q.length+l.length}return po(),{write:Ci,rawWrite:Ns,writeLiteral:_l,writeLine:ks,increaseIndent:function(){ln++},decreaseIndent:function(){ln--},getIndent:function(){return ln},getTextPos:function(){return Q.length},getLine:function(){return Fr},getColumn:function(){return wn?ln*Wa():Q.length-zr},getText:function(){return Q},isAtStartOfLine:function(){return wn},hasTrailingComment:function(){return oa},hasTrailingWhitespace:function(){return!!Q.length&&e.isWhiteSpaceLike(Q.charCodeAt(Q.length-1))},clear:po,reportInaccessibleThisError:e.noop,reportPrivateInBaseOfClassExpression:e.noop,reportInaccessibleUniqueSymbolError:e.noop,trackSymbol:function(){return!1},writeKeyword:Ci,writeOperator:Ci,writeParameter:Ci,writeProperty:Ci,writePunctuation:Ci,writeSpace:Ci,writeStringLiteral:Ci,writeSymbol:function(Vs,ou){return Ci(Vs)},writeTrailingSemicolon:Ci,writeComment:Ei,getTextPosWithWriteLine:Yl}}e.createTextWriter=qa;function so(l){var Q=!1;function ln(){Q&&(l.writeTrailingSemicolon(";"),Q=!1)}return Mt(Mt({},l),{writeTrailingSemicolon:function(){Q=!0},writeLiteral:function(wn){ln(),l.writeLiteral(wn)},writeStringLiteral:function(wn){ln(),l.writeStringLiteral(wn)},writeSymbol:function(wn,Fr){ln(),l.writeSymbol(wn,Fr)},writePunctuation:function(wn){ln(),l.writePunctuation(wn)},writeKeyword:function(wn){ln(),l.writeKeyword(wn)},writeOperator:function(wn){ln(),l.writeOperator(wn)},writeParameter:function(wn){ln(),l.writeParameter(wn)},writeSpace:function(wn){ln(),l.writeSpace(wn)},writeProperty:function(wn){ln(),l.writeProperty(wn)},writeComment:function(wn){ln(),l.writeComment(wn)},writeLine:function(){ln(),l.writeLine()},increaseIndent:function(){ln(),l.increaseIndent()},decreaseIndent:function(){ln(),l.decreaseIndent()}})}e.getTrailingSemicolonDeferringWriter=so;function Vi(l){return l.useCaseSensitiveFileNames?l.useCaseSensitiveFileNames():!1}e.hostUsesCaseSensitiveFileNames=Vi;function ki(l){return e.createGetCanonicalFileName(Vi(l))}e.hostGetCanonicalFileName=ki;function Gs(l,Q,ln){return Q.moduleName||Pt(l,Q.fileName,ln&&ln.fileName)}e.getResolvedExternalModuleName=Gs;function Ds(l,Q){return l.getCanonicalFileName(e.getNormalizedAbsolutePath(Q,l.getCurrentDirectory()))}function ko(l,Q,ln){var wn=Q.getExternalModuleFileFromDeclaration(ln);if(!(!wn||wn.isDeclarationFile)){var Fr=rl(ln);if(!(Fr&&e.isStringLiteralLike(Fr)&&!e.pathIsRelative(Fr.text)&&Ds(l,wn.path).indexOf(Ds(l,e.ensureTrailingDirectorySeparator(l.getCommonSourceDirectory())))===-1))return Gs(l,wn)}}e.getExternalModuleNameFromDeclaration=ko;function Pt(l,Q,ln){var wn=function(yi){return l.getCanonicalFileName(yi)},Fr=e.toPath(ln?e.getDirectoryPath(ln):l.getCommonSourceDirectory(),l.getCurrentDirectory(),wn),zr=e.getNormalizedAbsolutePath(Q,l.getCurrentDirectory()),oa=e.getRelativePathToDirectoryOrUrl(Fr,zr,Fr,wn,!1),La=Mc(oa);return ln?e.ensurePathIsNonModuleName(La):La}e.getExternalModuleNameFromPath=Pt;function wo(l,Q,ln){var wn=Q.getCompilerOptions(),Fr;return wn.outDir?Fr=Mc(Ls(l,Q,wn.outDir)):Fr=Mc(l),Fr+ln}e.getOwnEmitOutputFilePath=wo;function gi(l,Q){return Qc(l,Q.getCompilerOptions(),Q.getCurrentDirectory(),Q.getCommonSourceDirectory(),function(ln){return Q.getCanonicalFileName(ln)})}e.getDeclarationEmitOutputFilePath=gi;function Qc(l,Q,ln,wn,Fr){var zr=Q.declarationDir||Q.outDir,oa=zr?Dl(l,zr,ln,wn,Fr):l;return Mc(oa)+".d.ts"}e.getDeclarationEmitOutputFilePathWorker=Qc;function Vd(l){return l.outFile||l.out}e.outFile=Vd;function hu(l,Q){var ln,wn;if(l.paths)return(ln=l.baseUrl)!==null&&ln!==void 0?ln:e.Debug.checkDefined(l.pathsBasePath||((wn=Q.getCurrentDirectory)===null||wn===void 0?void 0:wn.call(Q)),"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.")}e.getPathsBasePath=hu;function Dt(l,Q,ln){var wn=l.getCompilerOptions();if(Vd(wn)){var Fr=Qd(wn),zr=wn.emitDeclarationOnly||Fr===e.ModuleKind.AMD||Fr===e.ModuleKind.System;return e.filter(l.getSourceFiles(),function(La){return(zr||!e.isExternalModule(La))&&hf(La,l,ln)})}else{var oa=Q===void 0?l.getSourceFiles():[Q];return e.filter(oa,function(La){return hf(La,l,ln)})}}e.getSourceFilesToEmit=Dt;function hf(l,Q,ln){var wn=Q.getCompilerOptions();return!(wn.noEmitForJsFiles&&Ve(l))&&!l.isDeclarationFile&&!Q.isSourceFileFromExternalLibrary(l)&&(ln||!(Gn(l)&&Q.getResolvedProjectReferenceToRedirect(l.fileName))&&!Q.isSourceOfProjectReferenceRedirect(l.fileName))}e.sourceFileMayBeEmitted=hf;function Ls(l,Q,ln){return Dl(l,ln,Q.getCurrentDirectory(),Q.getCommonSourceDirectory(),function(wn){return Q.getCanonicalFileName(wn)})}e.getSourceFilePathInNewDir=Ls;function Dl(l,Q,ln,wn,Fr){var zr=e.getNormalizedAbsolutePath(l,ln),oa=Fr(zr).indexOf(Fr(wn))===0;return zr=oa?zr.substring(wn.length):zr,e.combinePaths(Q,zr)}e.getSourceFilePathInNewDirWorker=Dl;function ec(l,Q,ln,wn,Fr,zr){l.writeFile(ln,wn,Fr,function(oa){Q.add(H_(e.Diagnostics.Could_not_write_file_0_Colon_1,ln,oa))},zr)}e.writeFile=ec;function Ff(l,Q,ln){if(l.length>e.getRootLength(l)&&!ln(l)){var wn=e.getDirectoryPath(l);Ff(wn,Q,ln),Q(l)}}function dp(l,Q,ln,wn,Fr,zr){try{wn(l,Q,ln)}catch(oa){Ff(e.getDirectoryPath(e.normalizePath(l)),Fr,zr),wn(l,Q,ln)}}e.writeFileEnsuringDirectories=dp;function Mu(l,Q){var ln=e.getLineStarts(l);return e.computeLineOfPosition(ln,Q)}e.getLineOfLocalPosition=Mu;function Bc(l,Q){return e.computeLineOfPosition(l,Q)}e.getLineOfLocalPositionFromLineMap=Bc;function Gf(l){return e.find(l.members,function(Q){return e.isConstructorDeclaration(Q)&&m(Q.body)})}e.getFirstConstructorWithBody=Gf;function al(l){if(l&&l.parameters.length>0){var Q=l.parameters.length===2&&yf(l.parameters[0]);return l.parameters[Q?1:0]}}e.getSetAccessorValueParameter=al;function Ic(l){var Q=al(l);return Q&&Q.type}e.getSetAccessorTypeAnnotationNode=Ic;function Wd(l){if(l.parameters.length&&!e.isJSDocSignature(l)){var Q=l.parameters[0];if(yf(Q))return Q}}e.getThisParameter=Wd;function yf(l){return Eo(l.name)}e.parameterIsThisKeyword=yf;function Eo(l){return!!l&&l.kind===79&&Kl(l)}e.isThisIdentifier=Eo;function wt(l){if(!Eo(l))return!1;for(;e.isQualifiedName(l.parent)&&l.parent.left===l;)l=l.parent;return l.parent.kind===179}e.isThisInTypeQuery=wt;function Kl(l){return l.originalKeywordKind===108}e.identifierIsThisKeyword=Kl;function wp(l,Q){var ln,wn,Fr,zr;return mf(Q)?(ln=Q,Q.kind===170?Fr=Q:Q.kind===171?zr=Q:e.Debug.fail("Accessor has wrong kind")):e.forEach(l,function(oa){if(e.isAccessor(oa)&&qo(oa)===qo(Q)){var La=vu(oa.name),yi=vu(Q.name);La===yi&&(ln?wn||(wn=oa):ln=oa,oa.kind===170&&!Fr&&(Fr=oa),oa.kind===171&&!zr&&(zr=oa))}}),{firstAccessor:ln,secondAccessor:wn,getAccessor:Fr,setAccessor:zr}}e.getAllAccessorDeclarations=wp;function ef(l){if(!(!dn(l)&&e.isFunctionDeclaration(l))){var Q=l.type;return Q||!dn(l)?Q:e.isJSDocPropertyLikeTag(l)?l.typeExpression&&l.typeExpression.type:e.getJSDocType(l)}}e.getEffectiveTypeAnnotationNode=ef;function Zc(l){return l.type}e.getTypeAnnotationNode=Zc;function jd(l){return e.isJSDocSignature(l)?l.type&&l.type.typeExpression&&l.type.typeExpression.type:l.type||(dn(l)?e.getJSDocReturnType(l):void 0)}e.getEffectiveReturnTypeNode=jd;function Bf(l){return e.flatMap(e.getJSDocTags(l),function(Q){return _c(Q)?Q.typeParameters:void 0})}e.getJSDocTypeParameterDeclarations=Bf;function _c(l){return e.isJSDocTemplateTag(l)&&!(l.parent.kind===315&&l.parent.tags.some(dc))}function $c(l){var Q=al(l);return Q&&ef(Q)}e.getEffectiveSetAccessorTypeAnnotationNode=$c;function Nc(l,Q,ln,wn){kc(l,Q,ln.pos,wn)}e.emitNewLineBeforeLeadingComments=Nc;function kc(l,Q,ln,wn){wn&&wn.length&&ln!==wn[0].pos&&Bc(l,ln)!==Bc(l,wn[0].pos)&&Q.writeLine()}e.emitNewLineBeforeLeadingCommentsOfPosition=kc;function Pl(l,Q,ln,wn){ln!==wn&&Bc(l,ln)!==Bc(l,wn)&&Q.writeLine()}e.emitNewLineBeforeLeadingCommentOfPosition=Pl;function Bs(l,Q,ln,wn,Fr,zr,oa,La){if(wn&&wn.length>0){Fr&&ln.writeSpace(" ");for(var yi=!1,Ci=0,Ei=wn;Ci=ks+2)break}Ci.push(_l),Ei=_l}if(Ci.length){var ks=Bc(Q,e.last(Ci).end),Vs=Bc(Q,e.skipTrivia(l,Fr.pos));Vs>=ks+2&&(Nc(Q,ln,Fr,La),Bs(l,Q,ln,Ci,!1,!0,zr,wn),yi={nodePos:Fr.pos,detachedCommentEndPos:e.last(Ci).end})}}return yi;function ou(xd){return Ae(l,xd.pos)}}e.emitDetachedComments=As;function fl(l,Q,ln,wn,Fr,zr){if(l.charCodeAt(wn+1)===42)for(var oa=e.computeLineAndCharacterOfPosition(Q,wn),La=Q.length,yi=void 0,Ci=wn,Ei=oa.line;Ci0){var ks=_l%Wa(),Yl=ni((_l-ks)/Wa());for(ln.rawWrite(Yl);ks;)ln.rawWrite(" "),ks--}else ln.rawWrite("")}pp(l,Fr,ln,zr,Ci,po),Ci=po}else ln.writeComment(l.substring(wn,Fr))}e.writeCommentRange=fl;function pp(l,Q,ln,wn,Fr,zr){var oa=Math.min(Q,zr-1),La=e.trimString(l.substring(Fr,oa));La?(ln.writeComment(La),oa!==Q&&ln.writeLine()):ln.rawWrite(wn)}function Uc(l,Q,ln){for(var wn=0;Q=0&&l.kind<=158?0:(l.modifierFlagsCache&536870912||(l.modifierFlagsCache=yd(l)|536870912),Q&&!(l.modifierFlagsCache&4096)&&(ln||dn(l))&&l.parent&&(l.modifierFlagsCache|=Ef(l)|4096),l.modifierFlagsCache&-536875009)}function Jd(l){return Eu(l,!0)}e.getEffectiveModifierFlags=Jd;function Uf(l){return Eu(l,!0,!0)}e.getEffectiveModifierFlagsAlwaysIncludeJSDoc=Uf;function tf(l){return Eu(l,!1)}e.getSyntacticModifierFlags=tf;function Ef(l){var Q=0;return l.parent&&!e.isParameter(l)&&(dn(l)&&(e.getJSDocPublicTagNoCache(l)&&(Q|=4),e.getJSDocPrivateTagNoCache(l)&&(Q|=8),e.getJSDocProtectedTagNoCache(l)&&(Q|=16),e.getJSDocReadonlyTagNoCache(l)&&(Q|=64),e.getJSDocOverrideTagNoCache(l)&&(Q|=16384)),e.getJSDocDeprecatedTagNoCache(l)&&(Q|=8192)),Q}function hd(l){return yd(l)|Ef(l)}e.getEffectiveModifierFlagsNoCache=hd;function yd(l){var Q=af(l.modifiers);return(l.flags&4||l.kind===79&&l.isInJSDocNamespace)&&(Q|=1),Q}e.getSyntacticModifierFlagsNoCache=yd;function af(l){var Q=0;if(l)for(var ln=0,wn=l;ln=63&&l<=78}e.isAssignmentOperator=Vf;function wu(l){var Q=Ed(l);return Q&&!Q.isImplements?Q.class:void 0}e.tryGetClassExtendingExpressionWithTypeArguments=wu;function Ed(l){return e.isExpressionWithTypeArguments(l)&&e.isHeritageClause(l.parent)&&e.isClassLike(l.parent.parent)?{class:l.parent.parent,isImplements:l.parent.token===117}:void 0}e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments=Ed;function Wf(l,Q){return e.isBinaryExpression(l)&&(Q?l.operatorToken.kind===63:Vf(l.operatorToken.kind))&&e.isLeftHandSideExpression(l.left)}e.isAssignmentExpression=Wf;function bd(l){return Wf(l.parent)&&l.parent.left===l}e.isLeftHandSideOfAssignment=bd;function of(l){if(Wf(l,!0)){var Q=l.left.kind;return Q===203||Q===202}return!1}e.isDestructuringAssignment=of;function gc(l){return wu(l)!==void 0}e.isExpressionWithTypeArgumentsInClassExtendsClause=gc;function sc(l){return l.kind===79||vp(l)}e.isEntityNameExpression=sc;function Td(l){switch(l.kind){case 79:return l;case 159:do l=l.left;while(l.kind!==79);return l;case 204:do l=l.expression;while(l.kind!==79);return l}}e.getFirstIdentifier=Td;function Fu(l){return l.kind===79||l.kind===108||l.kind===106||l.kind===229||l.kind===204&&Fu(l.expression)||l.kind===210&&Fu(l.expression)}e.isDottedName=Fu;function vp(l){return e.isPropertyAccessExpression(l)&&e.isIdentifier(l.name)&&sc(l.expression)}e.isPropertyAccessEntityNameExpression=vp;function Sd(l){if(e.isPropertyAccessExpression(l)){var Q=Sd(l.expression);if(Q!==void 0)return Q+"."+Ke(l.name)}else if(e.isElementAccessExpression(l)){var Q=Sd(l.expression);if(Q!==void 0&&e.isPropertyName(l.argumentExpression))return Q+"."+vu(l.argumentExpression)}else if(e.isIdentifier(l))return e.unescapeLeadingUnderscores(l.escapedText)}e.tryGetPropertyAccessOrIdentifierToString=Sd;function Gu(l){return Fs(l)&&ca(l)==="prototype"}e.isPrototypeAccess=Gu;function sf(l){return l.parent.kind===159&&l.parent.right===l||l.parent.kind===204&&l.parent.name===l}e.isRightSideOfQualifiedNameOrPropertyAccess=sf;function eu(l){return e.isQualifiedName(l.parent)&&l.parent.right===l||e.isPropertyAccessExpression(l.parent)&&l.parent.name===l||e.isJSDocMemberName(l.parent)&&l.parent.right===l}e.isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName=eu;function zd(l){return l.kind===203&&l.properties.length===0}e.isEmptyObjectLiteral=zd;function Vc(l){return l.kind===202&&l.elements.length===0}e.isEmptyArrayLiteral=Vc;function Dd(l){if(!(!qd(l)||!l.declarations))for(var Q=0,ln=l.declarations;Q0&&el(l.declarations[0],512)}function Oc(l){return e.find(e.supportedTSExtensionsForExtractExtension,function(Q){return e.fileExtensionIs(l,Q)})}e.tryExtractTSExtension=Oc;function jf(l){for(var Q=[],ln=l.length,wn=0;wn>6|192),Q.push(Fr&63|128)):Fr<65536?(Q.push(Fr>>12|224),Q.push(Fr>>6&63|128),Q.push(Fr&63|128)):Fr<131072?(Q.push(Fr>>18|240),Q.push(Fr>>12&63|128),Q.push(Fr>>6&63|128),Q.push(Fr&63|128)):e.Debug.assert(!1,"Unexpected code point")}return Q}var bu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function Os(l){for(var Q="",ln=jf(l),wn=0,Fr=ln.length,zr,oa,La,yi;wn>2,oa=(ln[wn]&3)<<4|ln[wn+1]>>4,La=(ln[wn+1]&15)<<2|ln[wn+2]>>6,yi=ln[wn+2]&63,wn+1>=Fr?La=yi=64:wn+2>=Fr&&(yi=64),Q+=bu.charAt(zr)+bu.charAt(oa)+bu.charAt(La)+bu.charAt(yi),wn+=3;return Q}e.convertToBase64=Os;function Fp(l){for(var Q="",ln=0,wn=l.length;ln>4&3,Ei=(oa&15)<<4|La>>2&15,po=(La&3)<<6|yi&63;Ei===0&&La!==0?wn.push(Ci):po===0&&yi!==0?wn.push(Ci,Ei):wn.push(Ci,Ei,po),Fr+=4}return Fp(wn)}e.base64decode=Hf;function Ld(l,Q){try{var ln=Q.readFile(l);if(!ln)return{};var wn=e.parseConfigFileTextToJson(l,ln);return wn.error?{}:wn.config}catch(Fr){return{}}}e.readJson=Ld;function Xd(l,Q){return!Q.directoryExists||Q.directoryExists(l)}e.directoryProbablyExists=Xd;var Yd=`\r `,bf=` `;function v(l,Q){switch(l.newLine){case 0:return Yd;case 1:return bf}return Q?Q():e.sys?e.sys.newLine:Yd}e.getNewLineCharacter=v;function nn(l,Q){return Q===void 0&&(Q=l),e.Debug.assert(Q>=l||Q===-1),{pos:l,end:Q}}e.createRange=nn;function mr(l,Q){return nn(l.pos,Q)}e.moveRangeEnd=mr;function Br(l,Q){return nn(Q,l.end)}e.moveRangePos=Br;function ya(l){return l.decorators&&l.decorators.length>0?Br(l,l.decorators.end):l}e.moveRangePastDecorators=ya;function Pa(l){return l.modifiers&&l.modifiers.length>0?Br(l,l.modifiers.end):ya(l)}e.moveRangePastModifiers=Pa;function Ha(l){return l.pos===l.end}e.isCollapsedRange=Ha;function ci(l,Q){return nn(l,l+e.tokenToString(Q).length)}e.createTokenRange=ci;function Xi(l,Q){return pl(l,l,Q)}e.rangeIsOnSingleLine=Xi;function ns(l,Q,ln){return Al(jc(l,ln,!1),jc(Q,ln,!1),ln)}e.rangeStartPositionsAreOnSameLine=ns;function fs(l,Q,ln){return Al(l.end,Q.end,ln)}e.rangeEndPositionsAreOnSameLine=fs;function pl(l,Q,ln){return Al(jc(l,ln,!1),Q.end,ln)}e.rangeStartIsOnSameLineAsRangeEnd=pl;function Cs(l,Q,ln){return Al(l.end,jc(Q,ln,!1),ln)}e.rangeEndIsOnSameLineAsRangeStart=Cs;function Ll(l,Q,ln,wn){var Fr=jc(Q,ln,wn);return e.getLinesBetweenPositions(ln,l.end,Fr)}e.getLinesBetweenRangeEndAndRangeStart=Ll;function Wc(l,Q,ln){return e.getLinesBetweenPositions(ln,l.end,Q.end)}e.getLinesBetweenRangeEndPositions=Wc;function Bu(l,Q){return!Al(l.pos,l.end,Q)}e.isNodeArrayMultiLine=Bu;function Al(l,Q,ln){return e.getLinesBetweenPositions(ln,l,Q)===0}e.positionsAreOnSameLine=Al;function jc(l,Q,ln){return Rm(l.pos)?-1:e.skipTrivia(Q.text,l.pos,!1,ln)}e.getStartPositionOfRange=jc;function Gp(l,Q,ln,wn){var Fr=e.skipTrivia(ln.text,l,!1,wn),zr=Up(Fr,Q,ln);return e.getLinesBetweenPositions(ln,zr!=null?zr:Q,Fr)}e.getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter=Gp;function Bp(l,Q,ln,wn){var Fr=e.skipTrivia(ln.text,l,!1,wn);return e.getLinesBetweenPositions(ln,l,Math.min(Q,Fr))}e.getLinesBetweenPositionAndNextNonWhitespaceCharacter=Bp;function Up(l,Q,ln){for(Q===void 0&&(Q=0);l-- >Q;)if(!e.isWhiteSpaceLike(ln.text.charCodeAt(l)))return l}function Vp(l){var Q=e.getParseTreeNode(l);if(Q)switch(Q.parent.kind){case 258:case 259:return Q===Q.parent.name}return!1}e.isDeclarationNameOfEnumOrNamespace=Vp;function lf(l){return e.filter(l.declarations,Cm)}e.getInitializedVariables=lf;function Cm(l){return l.initializer!==void 0}function dm(l){return l.watch&&l.hasOwnProperty("watch")}e.isWatchSet=dm;function $m(l){l.close()}e.closeFileWatcher=$m;function Wp(l){return l.flags&33554432?l.checkFlags:0}e.getCheckFlags=Wp;function Ad(l,Q){if(Q===void 0&&(Q=!1),l.valueDeclaration){var ln=Q&&l.declarations&&e.find(l.declarations,function(La){return La.kind===171})||l.valueDeclaration,wn=e.getCombinedModifierFlags(ln);return l.parent&&l.parent.flags&32?wn:wn&-29}if(Wp(l)&6){var Fr=l.checkFlags,zr=Fr&1024?8:Fr&256?4:16,oa=Fr&2048?32:0;return zr|oa}return l.flags&4194304?36:0}e.getDeclarationModifierFlagsFromSymbol=Ad;function Cd(l,Q){return l.flags&2097152?Q.getAliasedSymbol(l):l}e.skipAlias=Cd;function ke(l){return l.exportSymbol?l.exportSymbol.flags|l.flags:l.flags}e.getCombinedLocalAndExportSymbolFlags=ke;function bn(l){return Mr(l)===1}e.isWriteOnlyAccess=bn;function Yn(l){return Mr(l)!==0}e.isWriteAccess=Yn;var dr;(function(l){l[l.Read=0]="Read",l[l.Write=1]="Write",l[l.ReadWrite=2]="ReadWrite"})(dr||(dr={}));function Mr(l){var Q=l.parent;if(!Q)return 0;switch(Q.kind){case 210:return Mr(Q);case 218:case 217:var ln=Q.operator;return ln===45||ln===46?La():0;case 219:var wn=Q,Fr=wn.left,zr=wn.operatorToken;return Fr===l&&Vf(zr.kind)?zr.kind===63?1:La():0;case 204:return Q.name!==l?0:Mr(Q);case 291:{var oa=Mr(Q.parent);return l===Q.name?lt(oa):oa}case 292:return l===Q.objectAssignmentInitializer?0:Mr(Q.parent);case 202:return Mr(Q);default:return 0}function La(){return Q.parent&&Oo(Q.parent).kind===236?1:2}}function lt(l){switch(l){case 0:return 1;case 1:return 0;case 2:return 2;default:return e.Debug.assertNever(l)}}function Gt(l,Q){if(!l||!Q||Object.keys(l).length!==Object.keys(Q).length)return!1;for(var ln in l)if(typeof l[ln]=="object"){if(!Gt(l[ln],Q[ln]))return!1}else if(typeof l[ln]!="function"&&l[ln]!==Q[ln])return!1;return!0}e.compareDataObjects=Gt;function ta(l,Q){l.forEach(Q),l.clear()}e.clearMap=ta;function pi(l,Q,ln){var wn=ln.onDeleteValue,Fr=ln.onExistingValue;l.forEach(function(zr,oa){var La=Q.get(oa);La===void 0?(l.delete(oa),wn(zr,oa)):Fr&&Fr(zr,La,oa)})}e.mutateMapSkippingNewValues=pi;function ka(l,Q,ln){pi(l,Q,ln);var wn=ln.createNewValue;Q.forEach(function(Fr,zr){l.has(zr)||l.set(zr,wn(zr,Fr))})}e.mutateMap=ka;function Do(l){if(l.flags&32){var Q=Is(l);return!!Q&&el(Q,128)}return!1}e.isAbstractConstructorSymbol=Do;function Is(l){var Q;return(Q=l.declarations)===null||Q===void 0?void 0:Q.find(e.isClassLike)}e.getClassLikeDeclarationOfSymbol=Is;function Lo(l){return l.flags&3899393?l.objectFlags:0}e.getObjectFlags=Lo;function ms(l,Q){return Q.getSignaturesOfType(l,0).length!==0||Q.getSignaturesOfType(l,1).length!==0}e.typeHasCallOrConstructSignatures=ms;function Us(l,Q){return!!e.forEachAncestorDirectory(l,function(ln){return Q(ln)?!0:void 0})}e.forSomeAncestorDirectory=Us;function yl(l){return!!l&&!!l.declarations&&!!l.declarations[0]&&e.isNamespaceExportDeclaration(l.declarations[0])}e.isUMDExportSymbol=yl;function Cl(l){var Q=l.moduleSpecifier;return e.isStringLiteral(Q)?Q.text:en(Q)}e.showModuleSpecifier=Cl;function Pc(l){var Q;return e.forEachChild(l,function(ln){m(ln)&&(Q=ln)},function(ln){for(var wn=ln.length-1;wn>=0;wn--)if(m(ln[wn])){Q=ln[wn];break}}),Q}e.getLastChild=Pc;function tc(l,Q,ln){return ln===void 0&&(ln=!0),l.has(Q)?!1:(l.set(Q,ln),!0)}e.addToSeen=tc;function Tf(l){return e.isClassLike(l)||e.isInterfaceDeclaration(l)||e.isTypeLiteralNode(l)}e.isObjectTypeDeclaration=Tf;function Ml(l){return l>=175&&l<=198||l===129||l===153||l===145||l===156||l===146||l===132||l===148||l===149||l===114||l===151||l===142||l===226||l===307||l===308||l===309||l===310||l===311||l===312||l===313}e.isTypeNodeKind=Ml;function zl(l){return l.kind===204||l.kind===205}e.isAccessExpression=zl;function Jf(l){return l.kind===204?l.name:(e.Debug.assert(l.kind===205),l.argumentExpression)}e.getNameOfAccessExpression=Jf;function kt(l){switch(l.kind){case"text":case"internal":return!0;default:return!1}}e.isBundleFileTextLike=kt;function El(l){return l.kind===267||l.kind===271}e.isNamedImportsOrExports=El;function _(l){for(;zl(l);)l=l.expression;return l}e.getLeftmostAccessExpression=_;function B(l,Q){for(;;){switch(l.kind){case 218:l=l.operand;continue;case 219:l=l.left;continue;case 220:l=l.condition;continue;case 208:l=l.tag;continue;case 206:if(Q)return l;case 227:case 205:case 204:case 228:case 345:l=l.expression;continue}return l}}e.getLeftmostExpression=B;function Ee(l,Q){this.flags=l,this.escapedName=Q,this.declarations=void 0,this.valueDeclaration=void 0,this.id=void 0,this.mergeId=void 0,this.parent=void 0}function on(l,Q){this.flags=Q,(e.Debug.isDebugging||e.tracing)&&(this.checker=l)}function qn(l,Q){this.flags=Q,e.Debug.isDebugging&&(this.checker=l)}function Zr(l,Q,ln){this.pos=Q,this.end=ln,this.kind=l,this.id=0,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.original=void 0}function Nt(l,Q,ln){this.pos=Q,this.end=ln,this.kind=l,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0}function Si(l,Q,ln){this.pos=Q,this.end=ln,this.kind=l,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.flowNode=void 0}function Yo(l,Q,ln){this.fileName=l,this.text=Q,this.skipTrivia=ln||function(wn){return wn}}e.objectAllocator={getNodeConstructor:function(){return Zr},getTokenConstructor:function(){return Nt},getIdentifierConstructor:function(){return Si},getPrivateIdentifierConstructor:function(){return Zr},getSourceFileConstructor:function(){return Zr},getSymbolConstructor:function(){return Ee},getTypeConstructor:function(){return on},getSignatureConstructor:function(){return qn},getSourceMapSourceConstructor:function(){return Yo}};function nl(l){e.objectAllocator=l}e.setObjectAllocator=nl;function nu(l,Q,ln){return ln===void 0&&(ln=0),l.replace(/{(\d+)}/g,function(wn,Fr){return""+e.Debug.checkDefined(Q[+Fr+ln])})}e.formatStringFromArgs=nu;function Sf(l){e.localizedDiagnosticMessages=l}e.setLocalizedDiagnosticMessages=Sf;function Kf(l){return e.localizedDiagnosticMessages&&e.localizedDiagnosticMessages[l.key]||l.message}e.getLocaleSpecificMessage=Kf;function cf(l,Q,ln,wn){ar(void 0,Q,ln);var Fr=Kf(wn);return arguments.length>4&&(Fr=nu(Fr,arguments,4)),{file:void 0,start:Q,length:ln,messageText:Fr,category:wn.category,code:wn.code,reportsUnnecessary:wn.reportsUnnecessary,fileName:l}}e.createDetachedDiagnostic=cf;function j_(l){return l.file===void 0&&l.start!==void 0&&l.length!==void 0&&typeof l.fileName=="string"}function e_(l,Q){var ln=Q.fileName||"",wn=Q.text.length;e.Debug.assertEqual(l.fileName,ln),e.Debug.assertLessThanOrEqual(l.start,wn),e.Debug.assertLessThanOrEqual(l.start+l.length,wn);var Fr={file:Q,start:l.start,length:l.length,messageText:l.messageText,category:l.category,code:l.code,reportsUnnecessary:l.reportsUnnecessary};if(l.relatedInformation){Fr.relatedInformation=[];for(var zr=0,oa=l.relatedInformation;zr4&&(Fr=nu(Fr,arguments,4)),{file:l,start:Q,length:ln,messageText:Fr,category:wn.category,code:wn.code,reportsUnnecessary:wn.reportsUnnecessary,reportsDeprecated:wn.reportsDeprecated}}e.createFileDiagnostic=n_;function Bg(l,Q){var ln=Kf(Q);return arguments.length>2&&(ln=nu(ln,arguments,2)),ln}e.formatMessage=Bg;function H_(l){var Q=Kf(l);return arguments.length>1&&(Q=nu(Q,arguments,1)),{file:void 0,start:void 0,length:void 0,messageText:Q,category:l.category,code:l.code,reportsUnnecessary:l.reportsUnnecessary,reportsDeprecated:l.reportsDeprecated}}e.createCompilerDiagnostic=H_;function jp(l,Q){return{file:void 0,start:void 0,length:void 0,code:l.code,category:l.category,messageText:l.next?l:l.messageText,relatedInformation:Q}}e.createCompilerDiagnosticFromMessageChain=jp;function Ug(l,Q){var ln=Kf(Q);return arguments.length>2&&(ln=nu(ln,arguments,2)),{messageText:ln,category:Q.category,code:Q.code,next:l===void 0||Array.isArray(l)?l:[l]}}e.chainDiagnosticMessages=Ug;function hp(l,Q){for(var ln=l;ln.next;)ln=ln.next[0];ln.next=[Q]}e.concatenateDiagnosticMessageChains=hp;function lc(l){return l.file?l.file.path:void 0}function xm(l,Q){return pm(l,Q)||Im(l,Q)||0}e.compareDiagnostics=xm;function pm(l,Q){return e.compareStringsCaseSensitive(lc(l),lc(Q))||e.compareValues(l.start,Q.start)||e.compareValues(l.length,Q.length)||e.compareValues(l.code,Q.code)||mm(l.messageText,Q.messageText)||0}e.compareDiagnosticsSkipRelatedInformation=pm;function Im(l,Q){return!l.relatedInformation&&!Q.relatedInformation?0:l.relatedInformation&&Q.relatedInformation?e.compareValues(l.relatedInformation.length,Q.relatedInformation.length)||e.forEach(l.relatedInformation,function(ln,wn){var Fr=Q.relatedInformation[wn];return xm(ln,Fr)})||0:l.relatedInformation?-1:1}function mm(l,Q){if(typeof l=="string"&&typeof Q=="string")return e.compareStringsCaseSensitive(l,Q);if(typeof l=="string")return-1;if(typeof Q=="string")return 1;var ln=e.compareStringsCaseSensitive(l.messageText,Q.messageText);if(ln)return ln;if(!l.next&&!Q.next)return 0;if(!l.next)return-1;if(!Q.next)return 1;for(var wn=Math.min(l.next.length,Q.next.length),Fr=0;FrQ.next.length?1:0}function Nm(l){return l===4||l===2||l===1||l===6?1:0}e.getLanguageVariant=Nm;function r_(l){return l.target||0}e.getEmitScriptTarget=r_;function Qd(l){return typeof l.module=="number"?l.module:r_(l)>=2?e.ModuleKind.ES2015:e.ModuleKind.CommonJS}e.getEmitModuleKind=Qd;function zf(l){var Q=l.moduleResolution;return Q===void 0&&(Q=Qd(l)===e.ModuleKind.CommonJS?e.ModuleResolutionKind.NodeJs:e.ModuleResolutionKind.Classic),Q}e.getEmitModuleResolutionKind=zf;function Vg(l){switch(Qd(l)){case e.ModuleKind.CommonJS:case e.ModuleKind.AMD:case e.ModuleKind.ES2015:case e.ModuleKind.ES2020:case e.ModuleKind.ESNext:return!0;default:return!1}}e.hasJsonModuleEmitEnabled=Vg;function rs(l){return l.allowUnreachableCode===!1}e.unreachableCodeIsError=rs;function J_(l){return l.allowUnusedLabels===!1}e.unusedLabelIsError=J_;function _m(l){return!!(t_(l)&&l.declarationMap)}e.getAreDeclarationMapsEnabled=_m;function Hp(l){var Q=Qd(l);return l.allowSyntheticDefaultImports!==void 0?l.allowSyntheticDefaultImports:l.esModuleInterop||Q===e.ModuleKind.System}e.getAllowSyntheticDefaultImports=Hp;function t_(l){return!!(l.declaration||l.composite)}e.getEmitDeclarations=t_;function Zd(l){return!!(l.preserveConstEnums||l.isolatedModules)}e.shouldPreserveConstEnums=Zd;function ht(l){return!!(l.incremental||l.composite)}e.isIncrementalCompilation=ht;function ga(l,Q){return l[Q]===void 0?!!l.strict:!!l[Q]}e.getStrictOptionValue=ga;function _a(l){return l.allowJs===void 0?!!l.checkJs:l.allowJs}e.getAllowJSCompilerOption=_a;function Fa(l){return l.useDefineForClassFields===void 0?l.target===99:l.useDefineForClassFields}e.getUseDefineForClassFields=Fa;function ui(l,Q){return de(Q,l,e.semanticDiagnosticsOptionDeclarations)}e.compilerOptionsAffectSemanticDiagnostics=ui;function Gi(l,Q){return de(Q,l,e.affectsEmitOptionDeclarations)}e.compilerOptionsAffectEmit=Gi;function ds(l,Q){return Q.strictFlag?ga(l,Q.name):l[Q.name]}e.getCompilerOptionValue=ds;function ml(l){var Q=l.jsx;return Q===2||Q===4||Q===5}e.getJSXTransformEnabled=ml;function xl(l,Q){var ln=Q==null?void 0:Q.pragmas.get("jsximportsource"),wn=e.isArray(ln)?ln[ln.length-1]:ln;return l.jsx===4||l.jsx===5||l.jsxImportSource||wn?(wn==null?void 0:wn.arguments.factory)||l.jsxImportSource||"react":void 0}e.getJSXImplicitImportBase=xl;function wl(l,Q){return l?l+"/"+(Q.jsx===5?"jsx-dev-runtime":"jsx-runtime"):void 0}e.getJSXRuntimeImport=wl;function ru(l){for(var Q=!1,ln=0;ln0;)La+=")?",po--;return La}}function a_(l,Q){return l==="*"?Q:l==="?"?"[^/]":"\\"+l}function Jg(l,Q,ln,wn,Fr){l=e.normalizePath(l),Fr=e.normalizePath(Fr);var zr=e.combinePaths(Fr,l);return{includeFilePatterns:e.map(z_(ln,zr,"files"),function(oa){return"^"+oa+"$"}),includeFilePattern:K_(ln,zr,"files"),includeDirectoryPattern:K_(ln,zr,"directories"),excludePattern:K_(Q,zr,"exclude"),basePaths:Gy(l,ln,wn)}}e.getFileMatcherPatterns=Jg;function q_(l,Q){return new RegExp(l,Q?"":"i")}e.getRegexFromPattern=q_;function Fy(l,Q,ln,wn,Fr,zr,oa,La,yi,Ci){l=e.normalizePath(l),zr=e.normalizePath(zr);for(var Ei=Jg(l,ln,wn,Fr,zr),po=Ei.includeFilePatterns&&Ei.includeFilePatterns.map(function(c_){return q_(c_,Fr)}),Ns=Ei.includeDirectoryPattern&&q_(Ei.includeDirectoryPattern,Fr),_l=Ei.excludePattern&&q_(Ei.excludePattern,Fr),ks=po?po.map(function(){return[]}):[[]],Yl=new e.Map,Vs=e.createGetCanonicalFileName(Fr),ou=0,xd=Ei.basePaths;ou=0;ln--)if(e.fileExtensionIs(l,Q[ln]))return Su(ln,Q);return 0}e.getExtensionPriority=Jy;function Su(l,Q){return l<2?0:l=0)}e.positionIsSynthesized=Rm;function rh(l){return l===".ts"||l===".tsx"||l===".d.ts"}e.extensionIsTS=rh;function hc(l){return rh(l)||l===".json"}e.resolutionExtensionIsTSOrJson=hc;function Du(l){var Q=Df(l);return Q!==void 0?Q:e.Debug.fail("File "+l+" has unknown extension.")}e.extensionFromPath=Du;function qf(l){return Df(l)!==void 0}e.isAnySupportedFileExtension=qf;function Df(l){return e.find($d,function(Q){return e.fileExtensionIs(l,Q)})}e.tryGetExtensionFromPath=Df;function o_(l,Q){return l.checkJsDirective?l.checkJsDirective.enabled:Q.checkJs}e.isCheckJsEnabledForFile=o_,e.emptyFileSystemEntries={files:e.emptyArray,directories:e.emptyArray};function bo(l,Q){for(var ln=[],wn=0,Fr=l;wnwn&&(wn=zr)}return{min:ln,max:wn}}e.minAndMax=Ep;function yc(l){return{pos:te(l),end:l.end}}e.rangeOfNode=yc;function qy(l,Q){var ln=Q.pos-1,wn=e.skipTrivia(l.text,Q.end)+1;return{pos:ln,end:wn}}e.rangeOfTypeParameters=qy;function Xg(l,Q,ln){return Q.skipLibCheck&&l.isDeclarationFile||Q.skipDefaultLibCheck&&l.hasNoDefaultLib||ln.isSourceOfProjectReferenceRedirect(l.fileName)}e.skipTypeChecking=Xg;function Yg(l,Q){return l===Q||typeof l=="object"&&l!==null&&typeof Q=="object"&&Q!==null&&e.equalOwnProperties(l,Q,Yg)}e.isJsonEqual=Yg;function Qg(l){var Q;switch(l.charCodeAt(1)){case 98:case 66:Q=1;break;case 111:case 79:Q=3;break;case 120:case 88:Q=4;break;default:for(var ln=l.length-1,wn=0;l.charCodeAt(wn)===48;)wn++;return l.slice(wn,ln)||"0"}for(var Fr=2,zr=l.length-1,oa=(zr-Fr)*Q,La=new Uint16Array((oa>>>4)+(oa&15?1:0)),yi=zr-1,Ci=0;yi>=Fr;yi--,Ci+=Q){var Ei=Ci>>>4,po=l.charCodeAt(yi),Ns=po<=57?po-48:10+po-(po<=70?65:97),_l=Ns<<(Ci&15);La[Ei]|=_l;var ks=_l>>>16;ks&&(La[Ei+1]|=ks)}for(var Yl="",Vs=La.length-1,ou=!0;ou;){var xd=0;ou=!1;for(var Ei=Vs;Ei>=0;Ei--){var qp=xd<<16|La[Ei],Xf=qp/10|0;La[Ei]=Xf,xd=qp-Xf*10,Xf&&!ou&&(Vs=Ei,ou=!0)}Yl=xd+Yl}return Yl}e.parsePseudoBigInt=Qg;function th(l){var Q=l.negative,ln=l.base10Value;return(Q&&ln!=="0"?"-":"")+ln}e.pseudoBigIntToString=th;function ah(l){return!!(l.flags&8388608)||mn(l)||s_(l)||Xl(l)||!(Jo(l)||Yy(l))}e.isValidTypeOnlyAliasUseSite=ah;function Xy(l){return l.kind===273}e.typeOnlyDeclarationIsExport=Xy;function Yy(l){return e.isIdentifier(l)&&e.isShorthandPropertyAssignment(l.parent)&&l.parent.name===l}function Xl(l){for(;l.kind===79||l.kind===204;)l=l.parent;if(l.kind!==160)return!1;if(el(l.parent,128))return!0;var Q=l.parent.parent.kind;return Q===256||Q===180}function s_(l){if(l.kind!==79)return!1;var Q=e.findAncestor(l.parent,function(ln){switch(ln.kind){case 289:return!0;case 204:case 226:return!1;default:return"quit"}});return(Q==null?void 0:Q.token)===117||(Q==null?void 0:Q.parent.kind)===256}function Zg(l){return e.isTypeReferenceNode(l)&&e.isIdentifier(l.typeName)}e.isIdentifierTypeReference=Zg;function $g(l,Q){if(Q===void 0&&(Q=e.equateValues),l.length<2)return!0;for(var ln=l[0],wn=1,Fr=l.length;wn3)return!0;var N=e.getExpressionPrecedence(m);switch(e.compareValues(N,f)){case-1:return!(!g&&T===1&&G.kind===222);case 1:return!1;case 0:if(g)return T===1;if(e.isBinaryExpression(m)&&m.operatorToken.kind===d){if(O(d))return!1;if(d===39){var P=p?A(p):0;if(e.isLiteralKind(P)&&P===A(m))return!1}}var x=e.getExpressionAssociativity(m);return x===0}}function O(d){return d===41||d===51||d===50||d===52}function A(d){if(d=e.skipPartiallyEmittedExpressions(d),e.isLiteralKind(d.kind))return d.kind;if(d.kind===219&&d.operatorToken.kind===39){if(d.cachedLiteralKind!==void 0)return d.cachedLiteralKind;var G=A(d.left),g=e.isLiteralKind(G)&&G===A(d.right)?G:0;return d.cachedLiteralKind=g,g}return 0}function D(d,G,g,p){var f=e.skipPartiallyEmittedExpressions(G);return f.kind===210?G:ye(d,G,g,p)?ue.createParenthesizedExpression(G):G}function de(d,G){return D(d,G,!0)}function _e(d,G,g){return D(d,g,!1,G)}function y(d){return e.isCommaSequence(d)?ue.createParenthesizedExpression(d):d}function V(d){var G=e.getOperatorPrecedence(220,57),g=e.skipPartiallyEmittedExpressions(d),p=e.getExpressionPrecedence(g);return e.compareValues(p,G)!==1?ue.createParenthesizedExpression(d):d}function Z(d){var G=e.skipPartiallyEmittedExpressions(d);return e.isCommaSequence(G)?ue.createParenthesizedExpression(d):d}function E(d){var G=e.skipPartiallyEmittedExpressions(d),g=e.isCommaSequence(G);if(!g)switch(e.getLeftmostExpression(G,!1).kind){case 224:case 211:g=!0}return g?ue.createParenthesizedExpression(d):d}function H(d){var G=e.getLeftmostExpression(d,!0);switch(G.kind){case 206:return ue.createParenthesizedExpression(d);case 207:return G.arguments?d:ue.createParenthesizedExpression(d)}return L(d)}function L(d){var G=e.skipPartiallyEmittedExpressions(d);return e.isLeftHandSideExpression(G)&&(G.kind!==207||G.arguments)?d:e.setTextRange(ue.createParenthesizedExpression(d),d)}function ee(d){return e.isLeftHandSideExpression(d)?d:e.setTextRange(ue.createParenthesizedExpression(d),d)}function k(d){return e.isUnaryExpression(d)?d:e.setTextRange(ue.createParenthesizedExpression(d),d)}function b(d){var G=e.sameMap(d,ie);return e.setTextRange(ue.createNodeArray(G,d.hasTrailingComma),d)}function ie(d){var G=e.skipPartiallyEmittedExpressions(d),g=e.getExpressionPrecedence(G),p=e.getOperatorPrecedence(219,27);return g>p?d:e.setTextRange(ue.createParenthesizedExpression(d),d)}function q(d){var G=e.skipPartiallyEmittedExpressions(d);if(e.isCallExpression(G)){var g=G.expression,p=e.skipPartiallyEmittedExpressions(g).kind;if(p===211||p===212){var f=ue.updateCallExpression(G,e.setTextRange(ue.createParenthesizedExpression(g),g),G.typeArguments,G.arguments);return ue.restoreOuterExpressions(d,f,8)}}var T=e.getLeftmostExpression(G,!1).kind;return T===203||T===211?e.setTextRange(ue.createParenthesizedExpression(d),d):d}function oe(d){return!e.isBlock(d)&&(e.isCommaSequence(d)||e.getLeftmostExpression(d,!1).kind===203)?e.setTextRange(ue.createParenthesizedExpression(d),d):d}function se(d){return d.kind===187?ue.createParenthesizedType(d):d}function w(d){switch(d.kind){case 185:case 186:case 177:case 178:return ue.createParenthesizedType(d)}return se(d)}function R(d){switch(d.kind){case 179:case 191:case 188:return ue.createParenthesizedType(d)}return w(d)}function ne(d){return ue.createNodeArray(e.sameMap(d,w))}function U(d,G){return G===0&&e.isFunctionOrConstructorTypeNode(d)&&d.typeParameters?ue.createParenthesizedType(d):d}function C(d){if(e.some(d))return ue.createNodeArray(e.sameMap(d,U))}}e.createParenthesizerRules=o,e.nullParenthesizerRules={getParenthesizeLeftSideOfBinaryForOperator:function(ue){return e.identity},getParenthesizeRightSideOfBinaryForOperator:function(ue){return e.identity},parenthesizeLeftSideOfBinary:function(ue,$){return $},parenthesizeRightSideOfBinary:function(ue,$,Y){return Y},parenthesizeExpressionOfComputedPropertyName:e.identity,parenthesizeConditionOfConditionalExpression:e.identity,parenthesizeBranchOfConditionalExpression:e.identity,parenthesizeExpressionOfExportDefault:e.identity,parenthesizeExpressionOfNew:function(ue){return e.cast(ue,e.isLeftHandSideExpression)},parenthesizeLeftSideOfAccess:function(ue){return e.cast(ue,e.isLeftHandSideExpression)},parenthesizeOperandOfPostfixUnary:function(ue){return e.cast(ue,e.isLeftHandSideExpression)},parenthesizeOperandOfPrefixUnary:function(ue){return e.cast(ue,e.isUnaryExpression)},parenthesizeExpressionsOfCommaDelimitedList:function(ue){return e.cast(ue,e.isNodeArray)},parenthesizeExpressionForDisallowedComma:e.identity,parenthesizeExpressionOfExpressionStatement:e.identity,parenthesizeConciseBodyOfArrowFunction:e.identity,parenthesizeMemberOfConditionalType:e.identity,parenthesizeMemberOfElementType:e.identity,parenthesizeElementTypeOfArrayType:e.identity,parenthesizeConstituentTypesOfUnionOrIntersectionType:function(ue){return e.cast(ue,e.isNodeArray)},parenthesizeTypeArguments:function(ue){return ue&&e.cast(ue,e.isNodeArray)}}})(vn||(vn={}));var vn;(function(e){function o(ue){return{convertToFunctionBlock:$,convertToFunctionExpression:Y,convertToArrayAssignmentElement:W,convertToObjectAssignmentElement:re,convertToAssignmentPattern:ye,convertToObjectAssignmentPattern:O,convertToArrayAssignmentPattern:A,convertToAssignmentElementTarget:D};function $(de,_e){if(e.isBlock(de))return de;var y=ue.createReturnStatement(de);e.setTextRange(y,de);var V=ue.createBlock([y],_e);return e.setTextRange(V,de),V}function Y(de){if(!de.body)return e.Debug.fail("Cannot convert a FunctionDeclaration without a body");var _e=ue.createFunctionExpression(de.modifiers,de.asteriskToken,de.name,de.typeParameters,de.parameters,de.type,de.body);return e.setOriginalNode(_e,de),e.setTextRange(_e,de),e.getStartsOnNewLine(de)&&e.setStartsOnNewLine(_e,!0),_e}function W(de){if(e.isBindingElement(de)){if(de.dotDotDotToken)return e.Debug.assertNode(de.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(ue.createSpreadElement(de.name),de),de);var _e=D(de.name);return de.initializer?e.setOriginalNode(e.setTextRange(ue.createAssignment(_e,de.initializer),de),de):_e}return e.cast(de,e.isExpression)}function re(de){if(e.isBindingElement(de)){if(de.dotDotDotToken)return e.Debug.assertNode(de.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(ue.createSpreadAssignment(de.name),de),de);if(de.propertyName){var _e=D(de.name);return e.setOriginalNode(e.setTextRange(ue.createPropertyAssignment(de.propertyName,de.initializer?ue.createAssignment(_e,de.initializer):_e),de),de)}return e.Debug.assertNode(de.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(ue.createShorthandPropertyAssignment(de.name,de.initializer),de),de)}return e.cast(de,e.isObjectLiteralElementLike)}function ye(de){switch(de.kind){case 200:case 202:return A(de);case 199:case 203:return O(de)}}function O(de){return e.isObjectBindingPattern(de)?e.setOriginalNode(e.setTextRange(ue.createObjectLiteralExpression(e.map(de.elements,re)),de),de):e.cast(de,e.isObjectLiteralExpression)}function A(de){return e.isArrayBindingPattern(de)?e.setOriginalNode(e.setTextRange(ue.createArrayLiteralExpression(e.map(de.elements,W)),de),de):e.cast(de,e.isArrayLiteralExpression)}function D(de){return e.isBindingPattern(de)?ye(de):e.cast(de,e.isExpression)}}e.createNodeConverters=o,e.nullNodeConverters={convertToFunctionBlock:e.notImplemented,convertToFunctionExpression:e.notImplemented,convertToArrayAssignmentElement:e.notImplemented,convertToObjectAssignmentElement:e.notImplemented,convertToAssignmentPattern:e.notImplemented,convertToObjectAssignmentPattern:e.notImplemented,convertToArrayAssignmentPattern:e.notImplemented,convertToAssignmentElementTarget:e.notImplemented}})(vn||(vn={}));var vn;(function(e){var o=0,ue;(function(ne){ne[ne.None=0]="None",ne[ne.NoParenthesizerRules=1]="NoParenthesizerRules",ne[ne.NoNodeConverters=2]="NoNodeConverters",ne[ne.NoIndentationOnFreshPropertyAccess=4]="NoIndentationOnFreshPropertyAccess",ne[ne.NoOriginalNode=8]="NoOriginalNode"})(ue=e.NodeFactoryFlags||(e.NodeFactoryFlags={}));function $(ne,U){var C=ne&8?Y:W,d=e.memoize(function(){return ne&1?e.nullParenthesizerRules:e.createParenthesizerRules(z)}),G=e.memoize(function(){return ne&2?e.nullNodeConverters:e.createNodeConverters(z)}),g=e.memoizeOne(function(_){return function(B,Ee){return Pn(B,_,Ee)}}),p=e.memoizeOne(function(_){return function(B){return Xt(_,B)}}),f=e.memoizeOne(function(_){return function(B){return ha(B,_)}}),T=e.memoizeOne(function(_){return function(){return Ba(_)}}),m=e.memoizeOne(function(_){return function(B){return _i(_,B)}}),N=e.memoizeOne(function(_){return function(B,Ee){return No(_,B,Ee)}}),P=e.memoizeOne(function(_){return function(B,Ee){return ef(_,B,Ee)}}),x=e.memoizeOne(function(_){return function(B,Ee,on){return Zc(_,B,Ee,on)}}),M=e.memoizeOne(function(_){return function(B,Ee,on){return jd(_,B,Ee,on)}}),me=e.memoizeOne(function(_){return function(B,Ee,on,qn){return Bf(_,B,Ee,on,qn)}}),z={get parenthesizer(){return d()},get converters(){return G()},createNodeArray:K,createNumericLiteral:pe,createBigIntLiteral:we,createStringLiteral:Qe,createStringLiteralFromNode:Re,createRegularExpressionLiteral:He,createLiteralLikeNode:Ln,createIdentifier:En,updateIdentifier:i,createTempVariable:In,createLoopVariable:X,createUniqueName:rn,getGeneratedNameForNode:$n,createPrivateIdentifier:Vn,createToken:Pe,createSuper:xe,createThis:Ze,createNull:hn,createTrue:Le,createFalse:$e,createModifier:An,createModifiersFromModifierFlags:Ue,createQualifiedName:gn,updateQualifiedName:Wn,createComputedPropertyName:ze,updateComputedPropertyName:Tn,createTypeParameterDeclaration:On,updateTypeParameterDeclaration:ur,createParameterDeclaration:hr,updateParameterDeclaration:wr,createDecorator:Qr,updateDecorator:Ke,createPropertySignature:jn,updatePropertySignature:Zn,createPropertyDeclaration:Me,updatePropertyDeclaration:Mn,createMethodSignature:ar,updateMethodSignature:Xn,createMethodDeclaration:yr,updateMethodDeclaration:cr,createConstructorDeclaration:J,updateConstructorDeclaration:Cn,createGetAccessorDeclaration:Gn,updateGetAccessorDeclaration:cn,createSetAccessorDeclaration:Rn,updateSetAccessorDeclaration:Ye,createCallSignature:xn,updateCallSignature:an,createConstructSignature:zn,updateConstructSignature:ir,createIndexSignature:gr,updateIndexSignature:Dr,createClassStaticBlockDeclaration:Fe,updateClassStaticBlockDeclaration:Bn,createTemplateLiteralTypeSpan:qr,updateTemplateLiteralTypeSpan:ft,createKeywordTypeNode:xt,createTypePredicateNode:Kr,updateTypePredicateNode:dt,createTypeReferenceNode:Ur,updateTypeReferenceNode:qt,createFunctionTypeNode:Cr,updateFunctionTypeNode:Jt,createConstructorTypeNode:Ot,updateConstructorTypeNode:eo,createTypeQueryNode:Ar,updateTypeQueryNode:at,createTypeLiteralNode:Hr,updateTypeLiteralNode:Wt,createArrayTypeNode:Zt,updateArrayTypeNode:Rr,createTupleTypeNode:Lr,updateTupleTypeNode:Xr,createNamedTupleMember:nt,updateNamedTupleMember:vt,createOptionalTypeNode:or,updateOptionalTypeNode:$t,createRestTypeNode:Va,updateRestTypeNode:li,createUnionTypeNode:di,updateUnionTypeNode:Yi,createIntersectionTypeNode:uo,updateIntersectionTypeNode:bi,createConditionalTypeNode:Mi,updateConditionalTypeNode:Go,createInferTypeNode:io,updateInferTypeNode:wi,createImportTypeNode:Qi,updateImportTypeNode:as,createParenthesizedType:gs,updateParenthesizedType:Da,createThisTypeNode:$a,createTypeOperatorNode:Ni,updateTypeOperatorNode:vo,createIndexedAccessTypeNode:Io,updateIndexedAccessTypeNode:Bo,createMappedTypeNode:Uo,updateMappedTypeNode:cs,createLiteralTypeNode:us,updateLiteralTypeNode:Jo,createTemplateLiteralType:Ho,updateTemplateLiteralType:qi,createObjectBindingPattern:is,updateObjectBindingPattern:mn,createArrayBindingPattern:_r,updateArrayBindingPattern:$r,createBindingElement:ia,updateBindingElement:ti,createArrayLiteralExpression:Ve,updateArrayLiteralExpression:ce,createObjectLiteralExpression:dn,updateObjectLiteralExpression:j,createPropertyAccessExpression:ne&4?function(_,B){return e.setEmitFlags(Ie(_,B),131072)}:Ie,updatePropertyAccessExpression:We,createPropertyAccessChain:ne&4?function(_,B,Ee){return e.setEmitFlags(sn(_,B,Ee),131072)}:sn,updatePropertyAccessChain:Hn,createElementAccessExpression:vr,updateElementAccessExpression:Sr,createElementAccessChain:ot,updateElementAccessChain:Et,createCallExpression:ra,updateCallExpression:Na,createCallChain:ei,updateCallChain:Li,createNewExpression:Zi,updateNewExpression:ho,createTaggedTemplateExpression:vs,updateTaggedTemplateExpression:Ao,createTypeAssertion:oo,updateTypeAssertion:Zo,createParenthesizedExpression:cl,updateParenthesizedExpression:ws,createFunctionExpression:vl,updateFunctionExpression:ul,createArrowFunction:ps,updateArrowFunction:jl,createDeleteExpression:Hl,updateDeleteExpression:Hs,createTypeOfExpression:Fs,updateTypeOfExpression:ge,createVoidExpression:Kn,updateVoidExpression:Te,createAwaitExpression:Fn,updateAwaitExpression:et,createPrefixUnaryExpression:Xt,updatePrefixUnaryExpression:ca,createPostfixUnaryExpression:ha,updatePostfixUnaryExpression:To,createBinaryExpression:Pn,updateBinaryExpression:Ko,createConditionalExpression:hs,updateConditionalExpression:hl,createTemplateExpression:Bi,updateTemplateExpression:Js,createTemplateHead:nc,createTemplateMiddle:Sc,createTemplateTail:Zl,createNoSubstitutionTemplateLiteral:du,createTemplateLiteralLikeNode:Ol,createYieldExpression:dc,updateYieldExpression:$l,createSpreadElement:kn,updateSpreadElement:lr,createClassExpression:Or,updateClassExpression:st,createOmittedExpression:yt,createExpressionWithTypeArguments:Tt,updateExpressionWithTypeArguments:Ut,createAsExpression:ea,updateAsExpression:zt,createNonNullExpression:Ii,updateNonNullExpression:ba,createNonNullChain:wa,updateNonNullChain:Ui,createMetaProperty:Fi,updateMetaProperty:he,createTemplateSpan:un,updateTemplateSpan:Sn,createSemicolonClassElement:Tr,createBlock:Wr,updateBlock:Yt,createVariableStatement:Ia,updateVariableStatement:hi,createEmptyStatement:yo,createExpressionStatement:Oo,updateExpressionStatement:ys,createIfStatement:Pi,updateIfStatement:Po,createDoStatement:Jn,updateDoStatement:zo,createWhileStatement:Es,updateWhileStatement:Rs,createForStatement:pu,updateForStatement:ol,createForInStatement:mu,updateForInStatement:fo,createForOfStatement:tl,updateForOfStatement:zc,createContinueStatement:_u,updateContinueStatement:qc,createBreakStatement:gu,updateBreakStatement:Xu,createReturnStatement:fd,updateReturnStatement:ic,createWithStatement:Pu,updateWithStatement:Bd,createSwitchStatement:Za,updateSwitchStatement:da,createLabeledStatement:pc,updateLabeledStatement:$o,createThrowStatement:Yu,updateThrowStatement:Dc,createTryStatement:xf,updateTryStatement:es,createDebuggerStatement:If,createVariableDeclaration:Qs,updateVariableDeclaration:Gc,createVariableDeclarationList:Ks,updateVariableDeclarationList:rc,createFunctionDeclaration:mf,updateFunctionDeclaration:_f,createClassDeclaration:vu,updateClassDeclaration:Qu,createInterfaceDeclaration:gf,updateInterfaceDeclaration:Nf,createTypeAliasDeclaration:kf,updateTypeAliasDeclaration:dd,createEnumDeclaration:pd,updateEnumDeclaration:Rf,createModuleDeclaration:Of,updateModuleDeclaration:md,createModuleBlock:Zu,updateModuleBlock:Xc,createCaseBlock:Pf,updateCaseBlock:Jl,createNamespaceExportDeclaration:$u,updateNamespaceExportDeclaration:Yc,createImportEqualsDeclaration:Ud,updateImportEqualsDeclaration:Lc,createImportDeclaration:mc,updateImportDeclaration:oc,createImportClause:Ti,updateImportClause:vf,createNamespaceImport:zs,updateNamespaceImport:xs,createNamespaceExport:sl,updateNamespaceExport:Mf,createNamedImports:wf,updateNamedImports:c,createImportSpecifier:h,updateImportSpecifier:ae,createExportAssignment:je,updateExportAssignment:_n,createExportDeclaration:Nn,updateExportDeclaration:er,createNamedExports:pr,updateNamedExports:kr,createExportSpecifier:Er,updateExportSpecifier:gt,createMissingDeclaration:rt,createExternalModuleReference:ma,updateExternalModuleReference:Ai,get createJSDocAllType(){return T(307)},get createJSDocUnknownType(){return T(308)},get createJSDocNonNullableType(){return m(310)},get updateJSDocNonNullableType(){return N(310)},get createJSDocNullableType(){return m(309)},get updateJSDocNullableType(){return N(309)},get createJSDocOptionalType(){return m(311)},get updateJSDocOptionalType(){return N(311)},get createJSDocVariadicType(){return m(313)},get updateJSDocVariadicType(){return N(313)},get createJSDocNamepathType(){return m(314)},get updateJSDocNamepathType(){return N(314)},createJSDocFunctionType:to,updateJSDocFunctionType:Ca,createJSDocTypeLiteral:Qt,updateJSDocTypeLiteral:ni,createJSDocTypeExpression:Wa,updateJSDocTypeExpression:qa,createJSDocSignature:so,updateJSDocSignature:Vi,createJSDocTemplateTag:Ds,updateJSDocTemplateTag:ko,createJSDocTypedefTag:Pt,updateJSDocTypedefTag:wo,createJSDocParameterTag:gi,updateJSDocParameterTag:Qc,createJSDocPropertyTag:Vd,updateJSDocPropertyTag:hu,createJSDocCallbackTag:Dt,updateJSDocCallbackTag:hf,createJSDocAugmentsTag:Ls,updateJSDocAugmentsTag:Dl,createJSDocImplementsTag:ec,updateJSDocImplementsTag:wp,createJSDocSeeTag:Ff,updateJSDocSeeTag:dp,createJSDocNameReference:Mu,updateJSDocNameReference:Bc,createJSDocMemberName:Gf,updateJSDocMemberName:al,createJSDocLink:Ic,updateJSDocLink:Wd,createJSDocLinkCode:yf,updateJSDocLinkCode:Eo,createJSDocLinkPlain:wt,updateJSDocLinkPlain:Kl,get createJSDocTypeTag(){return M(338)},get updateJSDocTypeTag(){return me(338)},get createJSDocReturnTag(){return M(336)},get updateJSDocReturnTag(){return me(336)},get createJSDocThisTag(){return M(337)},get updateJSDocThisTag(){return me(337)},get createJSDocEnumTag(){return M(334)},get updateJSDocEnumTag(){return me(334)},get createJSDocAuthorTag(){return P(325)},get updateJSDocAuthorTag(){return x(325)},get createJSDocClassTag(){return P(327)},get updateJSDocClassTag(){return x(327)},get createJSDocPublicTag(){return P(328)},get updateJSDocPublicTag(){return x(328)},get createJSDocPrivateTag(){return P(329)},get updateJSDocPrivateTag(){return x(329)},get createJSDocProtectedTag(){return P(330)},get updateJSDocProtectedTag(){return x(330)},get createJSDocReadonlyTag(){return P(331)},get updateJSDocReadonlyTag(){return x(331)},get createJSDocOverrideTag(){return P(332)},get updateJSDocOverrideTag(){return x(332)},get createJSDocDeprecatedTag(){return P(326)},get updateJSDocDeprecatedTag(){return x(326)},createJSDocUnknownTag:_c,updateJSDocUnknownTag:$c,createJSDocText:Nc,updateJSDocText:kc,createJSDocComment:Pl,updateJSDocComment:Bs,createJsxElement:As,updateJsxElement:fl,createJsxSelfClosingElement:pp,updateJsxSelfClosingElement:Uc,createJsxOpeningElement:dl,updateJsxOpeningElement:nf,createJsxClosingElement:_d,updateJsxClosingElement:el,createJsxFragment:qo,createJsxText:yu,updateJsxText:rf,createJsxOpeningFragment:gd,createJsxJsxClosingFragment:Hd,updateJsxFragment:mp,createJsxAttribute:_p,updateJsxAttribute:vd,createJsxAttributes:Eu,updateJsxAttributes:Jd,createJsxSpreadAttribute:Uf,updateJsxSpreadAttribute:tf,createJsxExpression:Ef,updateJsxExpression:hd,createCaseClause:yd,updateCaseClause:af,createDefaultClause:Kd,updateDefaultClause:gp,createHeritageClause:Qa,updateHeritageClause:Rc,createCatchClause:Lt,updateCatchClause:Vf,createPropertyAssignment:wu,updatePropertyAssignment:Wf,createShorthandPropertyAssignment:bd,updateShorthandPropertyAssignment:gc,createSpreadAssignment:sc,updateSpreadAssignment:Td,createEnumMember:Fu,updateEnumMember:vp,createSourceFile:Sd,updateSourceFile:sf,createBundle:eu,updateBundle:zd,createUnparsedSource:Vc,createUnparsedPrologue:qd,createUnparsedPrepend:Oc,createUnparsedTextLike:jf,createUnparsedSyntheticReference:bu,createInputFiles:Os,createSyntheticExpression:Fp,createSyntaxList:no,createNotEmittedStatement:Hf,createPartiallyEmittedExpression:Ld,updatePartiallyEmittedExpression:Xd,createCommaListExpression:bf,updateCommaListExpression:v,createEndOfDeclarationMarker:nn,createMergeDeclarationMarker:mr,createSyntheticReferenceExpression:Br,updateSyntheticReferenceExpression:ya,cloneNode:Pa,get createComma(){return g(27)},get createAssignment(){return g(63)},get createLogicalOr(){return g(56)},get createLogicalAnd(){return g(55)},get createBitwiseOr(){return g(51)},get createBitwiseXor(){return g(52)},get createBitwiseAnd(){return g(50)},get createStrictEquality(){return g(36)},get createStrictInequality(){return g(37)},get createEquality(){return g(34)},get createInequality(){return g(35)},get createLessThan(){return g(29)},get createLessThanEquals(){return g(32)},get createGreaterThan(){return g(31)},get createGreaterThanEquals(){return g(33)},get createLeftShift(){return g(47)},get createRightShift(){return g(48)},get createUnsignedRightShift(){return g(49)},get createAdd(){return g(39)},get createSubtract(){return g(40)},get createMultiply(){return g(41)},get createDivide(){return g(43)},get createModulo(){return g(44)},get createExponent(){return g(42)},get createPrefixPlus(){return p(39)},get createPrefixMinus(){return p(40)},get createPrefixIncrement(){return p(45)},get createPrefixDecrement(){return p(46)},get createBitwiseNot(){return p(54)},get createLogicalNot(){return p(53)},get createPostfixIncrement(){return f(45)},get createPostfixDecrement(){return f(46)},createImmediatelyInvokedFunctionExpression:Ha,createImmediatelyInvokedArrowFunction:ci,createVoidZero:Xi,createExportDefault:ns,createExternalModuleExport:fs,createTypeCheck:pl,createMethodCall:Cs,createGlobalMethodCall:Al,createFunctionBindCall:Ll,createFunctionCallCall:Wc,createFunctionApplyCall:Bu,createArraySliceCall:jc,createArrayConcatCall:Gp,createObjectDefinePropertyCall:Bp,createReflectGetCall:Up,createReflectSetCall:Vp,createPropertyDescriptor:Cm,createCallBinding:ke,createAssignmentTargetWrapper:bn,inlineExpressions:Yn,getInternalName:Mr,getLocalName:lt,getExportName:Gt,getDeclarationName:ta,getNamespaceMemberName:pi,getExternalModuleOrNamespaceExportName:ka,restoreOuterExpressions:Wp,restoreEnclosingLabel:Ad,createUseStrictPrologue:Lo,copyPrologue:Do,copyStandardPrologue:ms,copyCustomPrologue:Us,ensureUseStrict:yl,liftToBlock:Cl,mergeLexicalEnvironment:tc,updateModifiers:Tf};return z;function K(_,B){if(_===void 0||_===e.emptyArray)_=[];else if(e.isNodeArray(_)){if(B===void 0||_.hasTrailingComma===B)return _.transformFlags===void 0&&V(_),e.Debug.attachNodeArrayDebugInfo(_),_;var Ee=_.slice();return Ee.pos=_.pos,Ee.end=_.end,Ee.hasTrailingComma=B,Ee.transformFlags=_.transformFlags,e.Debug.attachNodeArrayDebugInfo(Ee),Ee}var on=_.length,qn=on>=1&&on<=4?_.slice():_;return e.setTextRangePosEnd(qn,-1,-1),qn.hasTrailingComma=!!B,V(qn),e.Debug.attachNodeArrayDebugInfo(qn),qn}function I(_){return U.createBaseNode(_)}function Ae(_,B,Ee){var on=I(_);return on.decorators=Ml(B),on.modifiers=Ml(Ee),on.transformFlags|=y(on.decorators)|y(on.modifiers),on.symbol=void 0,on.localSymbol=void 0,on.locals=void 0,on.nextContainer=void 0,on}function Oe(_,B,Ee,on){var qn=Ae(_,B,Ee);if(on=zl(on),qn.name=on,on)switch(qn.kind){case 167:case 170:case 171:case 165:case 291:if(e.isIdentifier(on)){qn.transformFlags|=D(on);break}default:qn.transformFlags|=_e(on);break}return qn}function te(_,B,Ee,on,qn){var Zr=Oe(_,B,Ee,on);return Zr.typeParameters=Ml(qn),Zr.transformFlags|=y(Zr.typeParameters),qn&&(Zr.transformFlags|=1),Zr}function Se(_,B,Ee,on,qn,Zr,Nt){var Si=te(_,B,Ee,on,qn);return Si.parameters=K(Zr),Si.type=Nt,Si.transformFlags|=y(Si.parameters)|_e(Si.type),Nt&&(Si.transformFlags|=1),Si}function be(_,B){return B.typeArguments&&(_.typeArguments=B.typeArguments),C(_,B)}function Ce(_,B,Ee,on,qn,Zr,Nt,Si){var Yo=Se(_,B,Ee,on,qn,Zr,Nt);return Yo.body=Si,Yo.transformFlags|=_e(Yo.body)&-16777217,Si||(Yo.transformFlags|=1),Yo}function Be(_,B){return B.exclamationToken&&(_.exclamationToken=B.exclamationToken),B.typeArguments&&(_.typeArguments=B.typeArguments),be(_,B)}function De(_,B,Ee,on,qn,Zr){var Nt=te(_,B,Ee,on,qn);return Nt.heritageClauses=Ml(Zr),Nt.transformFlags|=y(Nt.heritageClauses),Nt}function en(_,B,Ee,on,qn,Zr,Nt){var Si=De(_,B,Ee,on,qn,Zr);return Si.members=K(Nt),Si.transformFlags|=y(Si.members),Si}function fe(_,B,Ee,on,qn){var Zr=Oe(_,B,Ee,on);return Zr.initializer=qn,Zr.transformFlags|=_e(Zr.initializer),Zr}function Ne(_,B,Ee,on,qn,Zr){var Nt=fe(_,B,Ee,on,Zr);return Nt.type=qn,Nt.transformFlags|=_e(qn),qn&&(Nt.transformFlags|=1),Nt}function qe(_,B){var Ee=le(_);return Ee.text=B,Ee}function pe(_,B){B===void 0&&(B=0);var Ee=qe(8,typeof _=="number"?_+"":_);return Ee.numericLiteralFlags=B,B&384&&(Ee.transformFlags|=512),Ee}function we(_){var B=qe(9,typeof _=="string"?_:e.pseudoBigIntToString(_)+"n");return B.transformFlags|=4,B}function pn(_,B){var Ee=qe(10,_);return Ee.singleQuote=B,Ee}function Qe(_,B,Ee){var on=pn(_,B);return on.hasExtendedUnicodeEscape=Ee,Ee&&(on.transformFlags|=512),on}function Re(_){var B=pn(e.getTextOfIdentifierOrLiteral(_),void 0);return B.textSourceNode=_,B}function He(_){var B=qe(13,_);return B}function Ln(_,B){switch(_){case 8:return pe(B,0);case 9:return we(B);case 10:return Qe(B,void 0);case 11:return yu(B,!1);case 12:return yu(B,!0);case 13:return He(B);case 14:return Ol(_,B,void 0,0)}}function Un(_,B){B===void 0&&_&&(B=e.stringToToken(_)),B===79&&(B=void 0);var Ee=U.createBaseIdentifierNode(79);return Ee.originalKeywordKind=B,Ee.escapedText=e.escapeLeadingUnderscores(_),Ee}function fn(_,B){var Ee=Un(_,void 0);return Ee.autoGenerateFlags=B,Ee.autoGenerateId=o,o++,Ee}function En(_,B,Ee){var on=Un(_,Ee);return B&&(on.typeArguments=K(B)),on.originalKeywordKind===131&&(on.transformFlags|=16777216),on}function i(_,B){return _.typeArguments!==B?C(En(e.idText(_),B),_):_}function In(_,B){var Ee=1;B&&(Ee|=8);var on=fn("",Ee);return _&&_(on),on}function X(_){var B=2;return _&&(B|=8),fn("",B)}function rn(_,B){return B===void 0&&(B=0),e.Debug.assert(!(B&7),"Argument out of range: flags"),e.Debug.assert((B&48)!==32,"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"),fn(_,3|B)}function $n(_,B){B===void 0&&(B=0),e.Debug.assert(!(B&7),"Argument out of range: flags");var Ee=fn(_&&e.isIdentifier(_)?e.idText(_):"",4|B);return Ee.original=_,Ee}function Vn(_){e.startsWith(_,"#")||e.Debug.fail("First character of private identifier must be #: "+_);var B=U.createBasePrivateIdentifierNode(80);return B.escapedText=e.escapeLeadingUnderscores(_),B.transformFlags|=8388608,B}function le(_){return U.createBaseTokenNode(_)}function Pe(_){e.Debug.assert(_>=0&&_<=158,"Invalid token"),e.Debug.assert(_<=14||_>=17,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),e.Debug.assert(_<=8||_>=14,"Invalid token. Use 'createLiteralLikeNode' to create literals."),e.Debug.assert(_!==79,"Invalid token. Use 'createIdentifier' to create identifiers");var B=le(_),Ee=0;switch(_){case 130:Ee=192;break;case 123:case 121:case 122:case 143:case 126:case 134:case 85:case 129:case 145:case 156:case 142:case 146:case 157:case 148:case 132:case 149:case 114:case 153:case 151:Ee=1;break;case 106:Ee=33554944;break;case 124:Ee=512;break;case 108:Ee=8192;break}return Ee&&(B.transformFlags|=Ee),B}function xe(){return Pe(106)}function Ze(){return Pe(108)}function hn(){return Pe(104)}function Le(){return Pe(110)}function $e(){return Pe(95)}function An(_){return Pe(_)}function Ue(_){var B=[];return _&1&&B.push(An(93)),_&2&&B.push(An(134)),_&512&&B.push(An(88)),_&2048&&B.push(An(85)),_&4&&B.push(An(123)),_&8&&B.push(An(121)),_&16&&B.push(An(122)),_&128&&B.push(An(126)),_&32&&B.push(An(124)),_&16384&&B.push(An(157)),_&64&&B.push(An(143)),_&256&&B.push(An(130)),B}function gn(_,B){var Ee=I(159);return Ee.left=_,Ee.right=zl(B),Ee.transformFlags|=_e(Ee.left)|D(Ee.right),Ee}function Wn(_,B,Ee){return _.left!==B||_.right!==Ee?C(gn(B,Ee),_):_}function ze(_){var B=I(160);return B.expression=d().parenthesizeExpressionOfComputedPropertyName(_),B.transformFlags|=_e(B.expression)|512|65536,B}function Tn(_,B){return _.expression!==B?C(ze(B),_):_}function On(_,B,Ee){var on=Oe(161,void 0,void 0,_);return on.constraint=B,on.default=Ee,on.transformFlags=1,on}function ur(_,B,Ee,on){return _.name!==B||_.constraint!==Ee||_.default!==on?C(On(B,Ee,on),_):_}function hr(_,B,Ee,on,qn,Zr,Nt){var Si=Ne(162,_,B,on,Zr,Nt&&d().parenthesizeExpressionForDisallowedComma(Nt));return Si.dotDotDotToken=Ee,Si.questionToken=qn,e.isThisIdentifier(Si.name)?Si.transformFlags=1:(Si.transformFlags|=_e(Si.dotDotDotToken)|_e(Si.questionToken),qn&&(Si.transformFlags|=1),e.modifiersToFlags(Si.modifiers)&16476&&(Si.transformFlags|=4096),(Nt||Ee)&&(Si.transformFlags|=512)),Si}function wr(_,B,Ee,on,qn,Zr,Nt,Si){return _.decorators!==B||_.modifiers!==Ee||_.dotDotDotToken!==on||_.name!==qn||_.questionToken!==Zr||_.type!==Nt||_.initializer!==Si?C(hr(B,Ee,on,qn,Zr,Nt,Si),_):_}function Qr(_){var B=I(163);return B.expression=d().parenthesizeLeftSideOfAccess(_),B.transformFlags|=_e(B.expression)|1|4096,B}function Ke(_,B){return _.expression!==B?C(Qr(B),_):_}function jn(_,B,Ee,on){var qn=Oe(164,void 0,_,B);return qn.type=on,qn.questionToken=Ee,qn.transformFlags=1,qn}function Zn(_,B,Ee,on,qn){return _.modifiers!==B||_.name!==Ee||_.questionToken!==on||_.type!==qn?C(jn(B,Ee,on,qn),_):_}function Me(_,B,Ee,on,qn,Zr){var Nt=Ne(165,_,B,Ee,qn,Zr);return Nt.questionToken=on&&e.isQuestionToken(on)?on:void 0,Nt.exclamationToken=on&&e.isExclamationToken(on)?on:void 0,Nt.transformFlags|=_e(Nt.questionToken)|_e(Nt.exclamationToken)|8388608,(e.isComputedPropertyName(Nt.name)||e.hasStaticModifier(Nt)&&Nt.initializer)&&(Nt.transformFlags|=4096),(on||e.modifiersToFlags(Nt.modifiers)&2)&&(Nt.transformFlags|=1),Nt}function Mn(_,B,Ee,on,qn,Zr,Nt){return _.decorators!==B||_.modifiers!==Ee||_.name!==on||_.questionToken!==(qn!==void 0&&e.isQuestionToken(qn)?qn:void 0)||_.exclamationToken!==(qn!==void 0&&e.isExclamationToken(qn)?qn:void 0)||_.type!==Zr||_.initializer!==Nt?C(Me(B,Ee,on,qn,Zr,Nt),_):_}function ar(_,B,Ee,on,qn,Zr){var Nt=Se(166,void 0,_,B,on,qn,Zr);return Nt.questionToken=Ee,Nt.transformFlags=1,Nt}function Xn(_,B,Ee,on,qn,Zr,Nt){return _.modifiers!==B||_.name!==Ee||_.questionToken!==on||_.typeParameters!==qn||_.parameters!==Zr||_.type!==Nt?be(ar(B,Ee,on,qn,Zr,Nt),_):_}function yr(_,B,Ee,on,qn,Zr,Nt,Si,Yo){var nl=Ce(167,_,B,on,Zr,Nt,Si,Yo);return nl.asteriskToken=Ee,nl.questionToken=qn,nl.transformFlags|=_e(nl.asteriskToken)|_e(nl.questionToken)|512,qn&&(nl.transformFlags|=1),e.modifiersToFlags(nl.modifiers)&256?Ee?nl.transformFlags|=64:nl.transformFlags|=128:Ee&&(nl.transformFlags|=1024),nl}function cr(_,B,Ee,on,qn,Zr,Nt,Si,Yo,nl){return _.decorators!==B||_.modifiers!==Ee||_.asteriskToken!==on||_.name!==qn||_.questionToken!==Zr||_.typeParameters!==Nt||_.parameters!==Si||_.type!==Yo||_.body!==nl?Be(yr(B,Ee,on,qn,Zr,Nt,Si,Yo,nl),_):_}function Fe(_,B,Ee){var on=te(168,_,B,void 0,void 0);return on.body=Ee,on.transformFlags=_e(Ee)|8388608,on}function Bn(_,B,Ee,on){return _.decorators!==B||_.modifier!==Ee||_.body!==on?C(Fe(B,Ee,on),_):_}function J(_,B,Ee,on){var qn=Ce(169,_,B,void 0,void 0,Ee,void 0,on);return qn.transformFlags|=512,qn}function Cn(_,B,Ee,on,qn){return _.decorators!==B||_.modifiers!==Ee||_.parameters!==on||_.body!==qn?Be(J(B,Ee,on,qn),_):_}function Gn(_,B,Ee,on,qn,Zr){return Ce(170,_,B,Ee,void 0,on,qn,Zr)}function cn(_,B,Ee,on,qn,Zr,Nt){return _.decorators!==B||_.modifiers!==Ee||_.name!==on||_.parameters!==qn||_.type!==Zr||_.body!==Nt?Be(Gn(B,Ee,on,qn,Zr,Nt),_):_}function Rn(_,B,Ee,on,qn){return Ce(171,_,B,Ee,void 0,on,void 0,qn)}function Ye(_,B,Ee,on,qn,Zr){return _.decorators!==B||_.modifiers!==Ee||_.name!==on||_.parameters!==qn||_.body!==Zr?Be(Rn(B,Ee,on,qn,Zr),_):_}function xn(_,B,Ee){var on=Se(172,void 0,void 0,void 0,_,B,Ee);return on.transformFlags=1,on}function an(_,B,Ee,on){return _.typeParameters!==B||_.parameters!==Ee||_.type!==on?be(xn(B,Ee,on),_):_}function zn(_,B,Ee){var on=Se(173,void 0,void 0,void 0,_,B,Ee);return on.transformFlags=1,on}function ir(_,B,Ee,on){return _.typeParameters!==B||_.parameters!==Ee||_.type!==on?be(zn(B,Ee,on),_):_}function gr(_,B,Ee,on){var qn=Se(174,_,B,void 0,void 0,Ee,on);return qn.transformFlags=1,qn}function Dr(_,B,Ee,on,qn){return _.parameters!==on||_.type!==qn||_.decorators!==B||_.modifiers!==Ee?be(gr(B,Ee,on,qn),_):_}function qr(_,B){var Ee=I(197);return Ee.type=_,Ee.literal=B,Ee.transformFlags=1,Ee}function ft(_,B,Ee){return _.type!==B||_.literal!==Ee?C(qr(B,Ee),_):_}function xt(_){return Pe(_)}function Kr(_,B,Ee){var on=I(175);return on.assertsModifier=_,on.parameterName=zl(B),on.type=Ee,on.transformFlags=1,on}function dt(_,B,Ee,on){return _.assertsModifier!==B||_.parameterName!==Ee||_.type!==on?C(Kr(B,Ee,on),_):_}function Ur(_,B){var Ee=I(176);return Ee.typeName=zl(_),Ee.typeArguments=B&&d().parenthesizeTypeArguments(K(B)),Ee.transformFlags=1,Ee}function qt(_,B,Ee){return _.typeName!==B||_.typeArguments!==Ee?C(Ur(B,Ee),_):_}function Cr(_,B,Ee){var on=Se(177,void 0,void 0,void 0,_,B,Ee);return on.transformFlags=1,on}function Jt(_,B,Ee,on){return _.typeParameters!==B||_.parameters!==Ee||_.type!==on?be(Cr(B,Ee,on),_):_}function Ot(){for(var _=[],B=0;B0;default:return!0}}function ke(_,B,Ee,on){on===void 0&&(on=!1);var qn=e.skipOuterExpressions(_,15),Zr,Nt;return e.isSuperProperty(qn)?(Zr=Ze(),Nt=qn):e.isSuperKeyword(qn)?(Zr=Ze(),Nt=Ee!==void 0&&Ee<2?e.setTextRange(En("_super"),qn):qn):e.getEmitFlags(qn)&4096?(Zr=Xi(),Nt=d().parenthesizeLeftSideOfAccess(qn)):e.isPropertyAccessExpression(qn)?Cd(qn.expression,on)?(Zr=In(B),Nt=Ie(e.setTextRange(z.createAssignment(Zr,qn.expression),qn.expression),qn.name),e.setTextRange(Nt,qn)):(Zr=qn.expression,Nt=qn):e.isElementAccessExpression(qn)?Cd(qn.expression,on)?(Zr=In(B),Nt=vr(e.setTextRange(z.createAssignment(Zr,qn.expression),qn.expression),qn.argumentExpression),e.setTextRange(Nt,qn)):(Zr=qn.expression,Nt=qn):(Zr=Xi(),Nt=d().parenthesizeLeftSideOfAccess(_)),{target:Nt,thisArg:Zr}}function bn(_,B){return Ie(cl(dn([Rn(void 0,void 0,"value",[hr(void 0,void 0,void 0,_,void 0,void 0,void 0)],Wr([Oo(B)]))])),"value")}function Yn(_){return _.length>10?bf(_):e.reduceLeft(_,z.createComma)}function dr(_,B,Ee,on){on===void 0&&(on=0);var qn=e.getNameOfDeclaration(_);if(qn&&e.isIdentifier(qn)&&!e.isGeneratedIdentifier(qn)){var Zr=e.setParent(e.setTextRange(Pa(qn),qn),qn.parent);return on|=e.getEmitFlags(qn),Ee||(on|=48),B||(on|=1536),on&&e.setEmitFlags(Zr,on),Zr}return $n(_)}function Mr(_,B,Ee){return dr(_,B,Ee,49152)}function lt(_,B,Ee){return dr(_,B,Ee,16384)}function Gt(_,B,Ee){return dr(_,B,Ee,8192)}function ta(_,B,Ee){return dr(_,B,Ee)}function pi(_,B,Ee,on){var qn=Ie(_,e.nodeIsSynthesized(B)?B:Pa(B));e.setTextRange(qn,B);var Zr=0;return on||(Zr|=48),Ee||(Zr|=1536),Zr&&e.setEmitFlags(qn,Zr),qn}function ka(_,B,Ee,on){return _&&e.hasSyntacticModifier(B,1)?pi(_,dr(B),Ee,on):Gt(B,Ee,on)}function Do(_,B,Ee,on){var qn=ms(_,B,Ee);return Us(_,B,qn,on)}function Is(_){return e.isStringLiteral(_.expression)&&_.expression.text==="use strict"}function Lo(){return e.startOnNewLine(Oo(Qe("use strict")))}function ms(_,B,Ee){e.Debug.assert(B.length===0,"Prologue directives should be at the first statement in the target statements array");for(var on=!1,qn=0,Zr=_.length;qnSi&&nl.splice.apply(nl,Vr([qn,0],B.slice(Si,Yo),!1)),Si>Nt&&nl.splice.apply(nl,Vr([on,0],B.slice(Nt,Si),!1)),Nt>Zr&&nl.splice.apply(nl,Vr([Ee,0],B.slice(Zr,Nt),!1)),Zr>0)if(Ee===0)nl.splice.apply(nl,Vr([0,0],B.slice(0,Zr),!1));else{for(var nu=new e.Map,Sf=0;Sf=0;Sf--){var cf=B[Sf];nu.has(cf.expression.text)||nl.unshift(cf)}}return e.isNodeArray(_)?e.setTextRange(K(nl,_.hasTrailingComma),_):_}function Tf(_,B){var Ee;return typeof B=="number"&&(B=Ue(B)),e.isParameter(_)?wr(_,_.decorators,B,_.dotDotDotToken,_.name,_.questionToken,_.type,_.initializer):e.isPropertySignature(_)?Zn(_,B,_.name,_.questionToken,_.type):e.isPropertyDeclaration(_)?Mn(_,_.decorators,B,_.name,(Ee=_.questionToken)!==null&&Ee!==void 0?Ee:_.exclamationToken,_.type,_.initializer):e.isMethodSignature(_)?Xn(_,B,_.name,_.questionToken,_.typeParameters,_.parameters,_.type):e.isMethodDeclaration(_)?cr(_,_.decorators,B,_.asteriskToken,_.name,_.questionToken,_.typeParameters,_.parameters,_.type,_.body):e.isConstructorDeclaration(_)?Cn(_,_.decorators,B,_.parameters,_.body):e.isGetAccessorDeclaration(_)?cn(_,_.decorators,B,_.name,_.parameters,_.type,_.body):e.isSetAccessorDeclaration(_)?Ye(_,_.decorators,B,_.name,_.parameters,_.body):e.isIndexSignatureDeclaration(_)?Dr(_,_.decorators,B,_.parameters,_.type):e.isFunctionExpression(_)?ul(_,B,_.asteriskToken,_.name,_.typeParameters,_.parameters,_.type,_.body):e.isArrowFunction(_)?jl(_,B,_.typeParameters,_.parameters,_.type,_.equalsGreaterThanToken,_.body):e.isClassExpression(_)?st(_,_.decorators,B,_.name,_.typeParameters,_.heritageClauses,_.members):e.isVariableStatement(_)?hi(_,B,_.declarationList):e.isFunctionDeclaration(_)?_f(_,_.decorators,B,_.asteriskToken,_.name,_.typeParameters,_.parameters,_.type,_.body):e.isClassDeclaration(_)?Qu(_,_.decorators,B,_.name,_.typeParameters,_.heritageClauses,_.members):e.isInterfaceDeclaration(_)?Nf(_,_.decorators,B,_.name,_.typeParameters,_.heritageClauses,_.members):e.isTypeAliasDeclaration(_)?dd(_,_.decorators,B,_.name,_.typeParameters,_.type):e.isEnumDeclaration(_)?Rf(_,_.decorators,B,_.name,_.members):e.isModuleDeclaration(_)?md(_,_.decorators,B,_.name,_.body):e.isImportEqualsDeclaration(_)?Lc(_,_.decorators,B,_.isTypeOnly,_.name,_.moduleReference):e.isImportDeclaration(_)?oc(_,_.decorators,B,_.importClause,_.moduleSpecifier):e.isExportAssignment(_)?_n(_,_.decorators,B,_.expression):e.isExportDeclaration(_)?er(_,_.decorators,B,_.isTypeOnly,_.exportClause,_.moduleSpecifier):e.Debug.assertNever(_)}function Ml(_){return _?K(_):void 0}function zl(_){return typeof _=="string"?En(_):_}function Jf(_){return typeof _=="string"?Qe(_):typeof _=="number"?pe(_):typeof _=="boolean"?_?Le():$e():_}function kt(_){return typeof _=="number"?Pe(_):_}function El(_){return _&&e.isNotEmittedStatement(_)?e.setTextRange(se(yo(),_),_):_}}e.createNodeFactory=$;function Y(ne,U){return ne!==U&&e.setTextRange(ne,U),ne}function W(ne,U){return ne!==U&&(se(ne,U),e.setTextRange(ne,U)),ne}function re(ne){switch(ne){case 338:return"type";case 336:return"returns";case 337:return"this";case 334:return"enum";case 325:return"author";case 327:return"class";case 328:return"public";case 329:return"private";case 330:return"protected";case 331:return"readonly";case 332:return"override";case 339:return"template";case 340:return"typedef";case 335:return"param";case 342:return"prop";case 333:return"callback";case 323:return"augments";case 324:return"implements";default:return e.Debug.fail("Unsupported kind: "+e.Debug.formatSyntaxKind(ne))}}var ye,O={};function A(ne,U){switch(ye||(ye=e.createScanner(99,!1,0)),ne){case 14:ye.setText("`"+U+"`");break;case 15:ye.setText("`"+U+"${");break;case 16:ye.setText("}"+U+"${");break;case 17:ye.setText("}"+U+"`");break}var C=ye.scan();if(C===19&&(C=ye.reScanTemplateToken(!1)),ye.isUnterminated())return ye.setText(void 0),O;var d;switch(C){case 14:case 15:case 16:case 17:d=ye.getTokenValue();break}return d===void 0||ye.scan()!==1?(ye.setText(void 0),O):(ye.setText(void 0),d)}function D(ne){return _e(ne)&-16777217}function de(ne,U){return U|ne.transformFlags&33562624}function _e(ne){if(!ne)return 0;var U=ne.transformFlags&~Z(ne.kind);return e.isNamedDeclaration(ne)&&e.isPropertyName(ne.name)?de(ne.name,U):U}function y(ne){return ne?ne.transformFlags:0}function V(ne){for(var U=0,C=0,d=ne;C=175&&ne<=198)return-2;switch(ne){case 206:case 207:case 202:return 536887296;case 259:return 589443072;case 162:return 536870912;case 212:return 557748224;case 211:case 254:return 591310848;case 253:return 537165824;case 255:case 224:return 536940544;case 169:return 591306752;case 165:return 570433536;case 167:case 170:case 171:return 574529536;case 129:case 145:case 156:case 142:case 148:case 146:case 132:case 149:case 114:case 161:case 164:case 166:case 172:case 173:case 174:case 256:case 257:return-2;case 203:return 536973312;case 290:return 536903680;case 199:case 200:return 536887296;case 209:case 227:case 345:case 210:case 106:return 536870912;case 204:case 205:return 536870912;default:return 536870912}}e.getTransformFlagsSubtreeExclusions=Z;var E=e.createBaseNodeFactory();function H(ne){return ne.flags|=8,ne}var L={createBaseSourceFileNode:function(ne){return H(E.createBaseSourceFileNode(ne))},createBaseIdentifierNode:function(ne){return H(E.createBaseIdentifierNode(ne))},createBasePrivateIdentifierNode:function(ne){return H(E.createBasePrivateIdentifierNode(ne))},createBaseTokenNode:function(ne){return H(E.createBaseTokenNode(ne))},createBaseNode:function(ne){return H(E.createBaseNode(ne))}};e.factory=$(4,L);function ee(ne,U,C){var d,G,g,p,f,T,m,N,P,x;e.isString(ne)?(g="",p=ne,f=ne.length,T=U,m=C):(e.Debug.assert(U==="js"||U==="dts"),g=(U==="js"?ne.javascriptPath:ne.declarationPath)||"",T=U==="js"?ne.javascriptMapPath:ne.declarationMapPath,N=function(){return U==="js"?ne.javascriptText:ne.declarationText},P=function(){return U==="js"?ne.javascriptMapText:ne.declarationMapText},f=function(){return N().length},ne.buildInfo&&ne.buildInfo.bundle&&(e.Debug.assert(C===void 0||typeof C=="boolean"),d=C,G=U==="js"?ne.buildInfo.bundle.js:ne.buildInfo.bundle.dts,x=ne.oldFileOfCurrentEmit));var M=x?b(e.Debug.assertDefined(G)):k(G,d,f);return M.fileName=g,M.sourceMapPath=T,M.oldFileOfCurrentEmit=x,N&&P?(Object.defineProperty(M,"text",{get:N}),Object.defineProperty(M,"sourceMapText",{get:P})):(e.Debug.assert(!x),M.text=p!=null?p:"",M.sourceMapText=m),M}e.createUnparsedSourceFile=ee;function k(ne,U,C){for(var d,G,g,p,f,T,m,N,P=0,x=ne?ne.sections:e.emptyArray;P0&&(g[T-f]=m)}f>0&&(g.length-=f)}}e.moveEmitHelpers=R;function ne(U){return o(U).flags|=134217728,U}e.ignoreSourceNewlines=ne})(vn||(vn={}));var vn;(function(e){function o(ye){var O=ye.factory,A=e.memoize(function(){return e.setEmitFlags(O.createTrue(),268435456)}),D=e.memoize(function(){return e.setEmitFlags(O.createFalse(),268435456)});return{getUnscopedHelperName:de,createDecorateHelper:_e,createMetadataHelper:y,createParamHelper:V,createAssignHelper:Z,createAwaitHelper:E,createAsyncGeneratorHelper:H,createAsyncDelegatorHelper:L,createAsyncValuesHelper:ee,createRestHelper:k,createAwaiterHelper:b,createExtendsHelper:ie,createTemplateObjectHelper:q,createSpreadArrayHelper:oe,createValuesHelper:se,createReadHelper:w,createGeneratorHelper:R,createCreateBindingHelper:ne,createImportStarHelper:U,createImportStarCallbackHelper:C,createImportDefaultHelper:d,createExportStarHelper:G,createClassPrivateFieldGetHelper:g,createClassPrivateFieldSetHelper:p};function de(f){return e.setEmitFlags(O.createIdentifier(f),4098)}function _e(f,T,m,N){ye.requestEmitHelper(e.decorateHelper);var P=[];return P.push(O.createArrayLiteralExpression(f,!0)),P.push(T),m&&(P.push(m),N&&P.push(N)),O.createCallExpression(de("__decorate"),void 0,P)}function y(f,T){return ye.requestEmitHelper(e.metadataHelper),O.createCallExpression(de("__metadata"),void 0,[O.createStringLiteral(f),T])}function V(f,T,m){return ye.requestEmitHelper(e.paramHelper),e.setTextRange(O.createCallExpression(de("__param"),void 0,[O.createNumericLiteral(T+""),f]),m)}function Z(f){return ye.getCompilerOptions().target>=2?O.createCallExpression(O.createPropertyAccessExpression(O.createIdentifier("Object"),"assign"),void 0,f):(ye.requestEmitHelper(e.assignHelper),O.createCallExpression(de("__assign"),void 0,f))}function E(f){return ye.requestEmitHelper(e.awaitHelper),O.createCallExpression(de("__await"),void 0,[f])}function H(f,T){return ye.requestEmitHelper(e.awaitHelper),ye.requestEmitHelper(e.asyncGeneratorHelper),(f.emitNode||(f.emitNode={})).flags|=786432,O.createCallExpression(de("__asyncGenerator"),void 0,[T?O.createThis():O.createVoidZero(),O.createIdentifier("arguments"),f])}function L(f){return ye.requestEmitHelper(e.awaitHelper),ye.requestEmitHelper(e.asyncDelegator),O.createCallExpression(de("__asyncDelegator"),void 0,[f])}function ee(f){return ye.requestEmitHelper(e.asyncValues),O.createCallExpression(de("__asyncValues"),void 0,[f])}function k(f,T,m,N){ye.requestEmitHelper(e.restHelper);for(var P=[],x=0,M=0;M= 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; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (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; };`};var Y;function W(){return Y||(Y=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.createBindingHelper,e.setModuleDefaultHelper],function(ye){return ye.name}))}e.getAllUnscopedEmitHelpers=W,e.asyncSuperHelper={name:"typescript:async-super",scoped:!0,text:$(Fg([` const `," = name => super[name];"],[` const `," = name => super[name];"]),"_superIndex")},e.advancedAsyncSuperHelper={name:"typescript:advanced-async-super",scoped:!0,text:$(Fg([` 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 re(ye,O){return e.isCallExpression(ye)&&e.isIdentifier(ye.expression)&&(e.getEmitFlags(ye.expression)&4096)!==0&&ye.expression.escapedText===O}e.isCallToHelper=re})(vn||(vn={}));var vn;(function(e){function o(Pn){return Pn.kind===8}e.isNumericLiteral=o;function ue(Pn){return Pn.kind===9}e.isBigIntLiteral=ue;function $(Pn){return Pn.kind===10}e.isStringLiteral=$;function Y(Pn){return Pn.kind===11}e.isJsxText=Y;function W(Pn){return Pn.kind===13}e.isRegularExpressionLiteral=W;function re(Pn){return Pn.kind===14}e.isNoSubstitutionTemplateLiteral=re;function ye(Pn){return Pn.kind===15}e.isTemplateHead=ye;function O(Pn){return Pn.kind===16}e.isTemplateMiddle=O;function A(Pn){return Pn.kind===17}e.isTemplateTail=A;function D(Pn){return Pn.kind===25}e.isDotDotDotToken=D;function de(Pn){return Pn.kind===27}e.isCommaToken=de;function _e(Pn){return Pn.kind===39}e.isPlusToken=_e;function y(Pn){return Pn.kind===40}e.isMinusToken=y;function V(Pn){return Pn.kind===41}e.isAsteriskToken=V;function Z(Pn){return Pn.kind===53}e.isExclamationToken=Z;function E(Pn){return Pn.kind===57}e.isQuestionToken=E;function H(Pn){return Pn.kind===58}e.isColonToken=H;function L(Pn){return Pn.kind===28}e.isQuestionDotToken=L;function ee(Pn){return Pn.kind===38}e.isEqualsGreaterThanToken=ee;function k(Pn){return Pn.kind===79}e.isIdentifier=k;function b(Pn){return Pn.kind===80}e.isPrivateIdentifier=b;function ie(Pn){return Pn.kind===93}e.isExportModifier=ie;function q(Pn){return Pn.kind===130}e.isAsyncModifier=q;function oe(Pn){return Pn.kind===128}e.isAssertsKeyword=oe;function se(Pn){return Pn.kind===131}e.isAwaitKeyword=se;function w(Pn){return Pn.kind===143}e.isReadonlyKeyword=w;function R(Pn){return Pn.kind===124}e.isStaticModifier=R;function ne(Pn){return Pn.kind===126}e.isAbstractModifier=ne;function U(Pn){return Pn.kind===106}e.isSuperKeyword=U;function C(Pn){return Pn.kind===100}e.isImportKeyword=C;function d(Pn){return Pn.kind===159}e.isQualifiedName=d;function G(Pn){return Pn.kind===160}e.isComputedPropertyName=G;function g(Pn){return Pn.kind===161}e.isTypeParameterDeclaration=g;function p(Pn){return Pn.kind===162}e.isParameter=p;function f(Pn){return Pn.kind===163}e.isDecorator=f;function T(Pn){return Pn.kind===164}e.isPropertySignature=T;function m(Pn){return Pn.kind===165}e.isPropertyDeclaration=m;function N(Pn){return Pn.kind===166}e.isMethodSignature=N;function P(Pn){return Pn.kind===167}e.isMethodDeclaration=P;function x(Pn){return Pn.kind===168}e.isClassStaticBlockDeclaration=x;function M(Pn){return Pn.kind===169}e.isConstructorDeclaration=M;function me(Pn){return Pn.kind===170}e.isGetAccessorDeclaration=me;function z(Pn){return Pn.kind===171}e.isSetAccessorDeclaration=z;function K(Pn){return Pn.kind===172}e.isCallSignatureDeclaration=K;function I(Pn){return Pn.kind===173}e.isConstructSignatureDeclaration=I;function Ae(Pn){return Pn.kind===174}e.isIndexSignatureDeclaration=Ae;function Oe(Pn){return Pn.kind===175}e.isTypePredicateNode=Oe;function te(Pn){return Pn.kind===176}e.isTypeReferenceNode=te;function Se(Pn){return Pn.kind===177}e.isFunctionTypeNode=Se;function be(Pn){return Pn.kind===178}e.isConstructorTypeNode=be;function Ce(Pn){return Pn.kind===179}e.isTypeQueryNode=Ce;function Be(Pn){return Pn.kind===180}e.isTypeLiteralNode=Be;function De(Pn){return Pn.kind===181}e.isArrayTypeNode=De;function en(Pn){return Pn.kind===182}e.isTupleTypeNode=en;function fe(Pn){return Pn.kind===195}e.isNamedTupleMember=fe;function Ne(Pn){return Pn.kind===183}e.isOptionalTypeNode=Ne;function qe(Pn){return Pn.kind===184}e.isRestTypeNode=qe;function pe(Pn){return Pn.kind===185}e.isUnionTypeNode=pe;function we(Pn){return Pn.kind===186}e.isIntersectionTypeNode=we;function pn(Pn){return Pn.kind===187}e.isConditionalTypeNode=pn;function Qe(Pn){return Pn.kind===188}e.isInferTypeNode=Qe;function Re(Pn){return Pn.kind===189}e.isParenthesizedTypeNode=Re;function He(Pn){return Pn.kind===190}e.isThisTypeNode=He;function Ln(Pn){return Pn.kind===191}e.isTypeOperatorNode=Ln;function Un(Pn){return Pn.kind===192}e.isIndexedAccessTypeNode=Un;function fn(Pn){return Pn.kind===193}e.isMappedTypeNode=fn;function En(Pn){return Pn.kind===194}e.isLiteralTypeNode=En;function i(Pn){return Pn.kind===198}e.isImportTypeNode=i;function In(Pn){return Pn.kind===197}e.isTemplateLiteralTypeSpan=In;function X(Pn){return Pn.kind===196}e.isTemplateLiteralTypeNode=X;function rn(Pn){return Pn.kind===199}e.isObjectBindingPattern=rn;function $n(Pn){return Pn.kind===200}e.isArrayBindingPattern=$n;function Vn(Pn){return Pn.kind===201}e.isBindingElement=Vn;function le(Pn){return Pn.kind===202}e.isArrayLiteralExpression=le;function Pe(Pn){return Pn.kind===203}e.isObjectLiteralExpression=Pe;function xe(Pn){return Pn.kind===204}e.isPropertyAccessExpression=xe;function Ze(Pn){return Pn.kind===205}e.isElementAccessExpression=Ze;function hn(Pn){return Pn.kind===206}e.isCallExpression=hn;function Le(Pn){return Pn.kind===207}e.isNewExpression=Le;function $e(Pn){return Pn.kind===208}e.isTaggedTemplateExpression=$e;function An(Pn){return Pn.kind===209}e.isTypeAssertionExpression=An;function Ue(Pn){return Pn.kind===210}e.isParenthesizedExpression=Ue;function gn(Pn){return Pn.kind===211}e.isFunctionExpression=gn;function Wn(Pn){return Pn.kind===212}e.isArrowFunction=Wn;function ze(Pn){return Pn.kind===213}e.isDeleteExpression=ze;function Tn(Pn){return Pn.kind===214}e.isTypeOfExpression=Tn;function On(Pn){return Pn.kind===215}e.isVoidExpression=On;function ur(Pn){return Pn.kind===216}e.isAwaitExpression=ur;function hr(Pn){return Pn.kind===217}e.isPrefixUnaryExpression=hr;function wr(Pn){return Pn.kind===218}e.isPostfixUnaryExpression=wr;function Qr(Pn){return Pn.kind===219}e.isBinaryExpression=Qr;function Ke(Pn){return Pn.kind===220}e.isConditionalExpression=Ke;function jn(Pn){return Pn.kind===221}e.isTemplateExpression=jn;function Zn(Pn){return Pn.kind===222}e.isYieldExpression=Zn;function Me(Pn){return Pn.kind===223}e.isSpreadElement=Me;function Mn(Pn){return Pn.kind===224}e.isClassExpression=Mn;function ar(Pn){return Pn.kind===225}e.isOmittedExpression=ar;function Xn(Pn){return Pn.kind===226}e.isExpressionWithTypeArguments=Xn;function yr(Pn){return Pn.kind===227}e.isAsExpression=yr;function cr(Pn){return Pn.kind===228}e.isNonNullExpression=cr;function Fe(Pn){return Pn.kind===229}e.isMetaProperty=Fe;function Bn(Pn){return Pn.kind===230}e.isSyntheticExpression=Bn;function J(Pn){return Pn.kind===345}e.isPartiallyEmittedExpression=J;function Cn(Pn){return Pn.kind===346}e.isCommaListExpression=Cn;function Gn(Pn){return Pn.kind===231}e.isTemplateSpan=Gn;function cn(Pn){return Pn.kind===232}e.isSemicolonClassElement=cn;function Rn(Pn){return Pn.kind===233}e.isBlock=Rn;function Ye(Pn){return Pn.kind===235}e.isVariableStatement=Ye;function xn(Pn){return Pn.kind===234}e.isEmptyStatement=xn;function an(Pn){return Pn.kind===236}e.isExpressionStatement=an;function zn(Pn){return Pn.kind===237}e.isIfStatement=zn;function ir(Pn){return Pn.kind===238}e.isDoStatement=ir;function gr(Pn){return Pn.kind===239}e.isWhileStatement=gr;function Dr(Pn){return Pn.kind===240}e.isForStatement=Dr;function qr(Pn){return Pn.kind===241}e.isForInStatement=qr;function ft(Pn){return Pn.kind===242}e.isForOfStatement=ft;function xt(Pn){return Pn.kind===243}e.isContinueStatement=xt;function Kr(Pn){return Pn.kind===244}e.isBreakStatement=Kr;function dt(Pn){return Pn.kind===245}e.isReturnStatement=dt;function Ur(Pn){return Pn.kind===246}e.isWithStatement=Ur;function qt(Pn){return Pn.kind===247}e.isSwitchStatement=qt;function Cr(Pn){return Pn.kind===248}e.isLabeledStatement=Cr;function Jt(Pn){return Pn.kind===249}e.isThrowStatement=Jt;function Ot(Pn){return Pn.kind===250}e.isTryStatement=Ot;function ri(Pn){return Pn.kind===251}e.isDebuggerStatement=ri;function Ya(Pn){return Pn.kind===252}e.isVariableDeclaration=Ya;function eo(Pn){return Pn.kind===253}e.isVariableDeclarationList=eo;function za(Pn){return Pn.kind===254}e.isFunctionDeclaration=za;function ua(Pn){return Pn.kind===255}e.isClassDeclaration=ua;function Ar(Pn){return Pn.kind===256}e.isInterfaceDeclaration=Ar;function at(Pn){return Pn.kind===257}e.isTypeAliasDeclaration=at;function Hr(Pn){return Pn.kind===258}e.isEnumDeclaration=Hr;function Wt(Pn){return Pn.kind===259}e.isModuleDeclaration=Wt;function Zt(Pn){return Pn.kind===260}e.isModuleBlock=Zt;function Rr(Pn){return Pn.kind===261}e.isCaseBlock=Rr;function Lr(Pn){return Pn.kind===262}e.isNamespaceExportDeclaration=Lr;function Xr(Pn){return Pn.kind===263}e.isImportEqualsDeclaration=Xr;function nt(Pn){return Pn.kind===264}e.isImportDeclaration=nt;function vt(Pn){return Pn.kind===265}e.isImportClause=vt;function or(Pn){return Pn.kind===266}e.isNamespaceImport=or;function $t(Pn){return Pn.kind===272}e.isNamespaceExport=$t;function Va(Pn){return Pn.kind===267}e.isNamedImports=Va;function li(Pn){return Pn.kind===268}e.isImportSpecifier=li;function zi(Pn){return Pn.kind===269}e.isExportAssignment=zi;function Ma(Pn){return Pn.kind===270}e.isExportDeclaration=Ma;function di(Pn){return Pn.kind===271}e.isNamedExports=di;function Yi(Pn){return Pn.kind===273}e.isExportSpecifier=Yi;function uo(Pn){return Pn.kind===274}e.isMissingDeclaration=uo;function bi(Pn){return Pn.kind===344}e.isNotEmittedStatement=bi;function Mi(Pn){return Pn.kind===349}e.isSyntheticReference=Mi;function Go(Pn){return Pn.kind===347}e.isMergeDeclarationMarker=Go;function io(Pn){return Pn.kind===348}e.isEndOfDeclarationMarker=io;function wi(Pn){return Pn.kind===275}e.isExternalModuleReference=wi;function Ho(Pn){return Pn.kind===276}e.isJsxElement=Ho;function qi(Pn){return Pn.kind===277}e.isJsxSelfClosingElement=qi;function Qi(Pn){return Pn.kind===278}e.isJsxOpeningElement=Qi;function as(Pn){return Pn.kind===279}e.isJsxClosingElement=as;function gs(Pn){return Pn.kind===280}e.isJsxFragment=gs;function Da(Pn){return Pn.kind===281}e.isJsxOpeningFragment=Da;function $a(Pn){return Pn.kind===282}e.isJsxClosingFragment=$a;function Ni(Pn){return Pn.kind===283}e.isJsxAttribute=Ni;function vo(Pn){return Pn.kind===284}e.isJsxAttributes=vo;function Io(Pn){return Pn.kind===285}e.isJsxSpreadAttribute=Io;function Bo(Pn){return Pn.kind===286}e.isJsxExpression=Bo;function Uo(Pn){return Pn.kind===287}e.isCaseClause=Uo;function cs(Pn){return Pn.kind===288}e.isDefaultClause=cs;function us(Pn){return Pn.kind===289}e.isHeritageClause=us;function Jo(Pn){return Pn.kind===290}e.isCatchClause=Jo;function is(Pn){return Pn.kind===291}e.isPropertyAssignment=is;function mn(Pn){return Pn.kind===292}e.isShorthandPropertyAssignment=mn;function _r(Pn){return Pn.kind===293}e.isSpreadAssignment=_r;function $r(Pn){return Pn.kind===294}e.isEnumMember=$r;function ia(Pn){return Pn.kind===296}e.isUnparsedPrepend=ia;function ti(Pn){return Pn.kind===300}e.isSourceFile=ti;function va(Pn){return Pn.kind===301}e.isBundle=va;function Ve(Pn){return Pn.kind===302}e.isUnparsedSource=Ve;function ce(Pn){return Pn.kind===304}e.isJSDocTypeExpression=ce;function dn(Pn){return Pn.kind===305}e.isJSDocNameReference=dn;function j(Pn){return Pn.kind===306}e.isJSDocMemberName=j;function Ie(Pn){return Pn.kind===319}e.isJSDocLink=Ie;function We(Pn){return Pn.kind===320}e.isJSDocLinkCode=We;function sn(Pn){return Pn.kind===321}e.isJSDocLinkPlain=sn;function Hn(Pn){return Pn.kind===307}e.isJSDocAllType=Hn;function vr(Pn){return Pn.kind===308}e.isJSDocUnknownType=vr;function Sr(Pn){return Pn.kind===309}e.isJSDocNullableType=Sr;function ot(Pn){return Pn.kind===310}e.isJSDocNonNullableType=ot;function Et(Pn){return Pn.kind===311}e.isJSDocOptionalType=Et;function ra(Pn){return Pn.kind===312}e.isJSDocFunctionType=ra;function Na(Pn){return Pn.kind===313}e.isJSDocVariadicType=Na;function ei(Pn){return Pn.kind===314}e.isJSDocNamepathType=ei;function Li(Pn){return Pn.kind===315}e.isJSDoc=Li;function Zi(Pn){return Pn.kind===317}e.isJSDocTypeLiteral=Zi;function ho(Pn){return Pn.kind===318}e.isJSDocSignature=ho;function vs(Pn){return Pn.kind===323}e.isJSDocAugmentsTag=vs;function Ao(Pn){return Pn.kind===325}e.isJSDocAuthorTag=Ao;function oo(Pn){return Pn.kind===327}e.isJSDocClassTag=oo;function Zo(Pn){return Pn.kind===333}e.isJSDocCallbackTag=Zo;function cl(Pn){return Pn.kind===328}e.isJSDocPublicTag=cl;function ws(Pn){return Pn.kind===329}e.isJSDocPrivateTag=ws;function vl(Pn){return Pn.kind===330}e.isJSDocProtectedTag=vl;function ul(Pn){return Pn.kind===331}e.isJSDocReadonlyTag=ul;function ps(Pn){return Pn.kind===332}e.isJSDocOverrideTag=ps;function jl(Pn){return Pn.kind===326}e.isJSDocDeprecatedTag=jl;function Hl(Pn){return Pn.kind===341}e.isJSDocSeeTag=Hl;function Hs(Pn){return Pn.kind===334}e.isJSDocEnumTag=Hs;function Fs(Pn){return Pn.kind===335}e.isJSDocParameterTag=Fs;function ge(Pn){return Pn.kind===336}e.isJSDocReturnTag=ge;function Kn(Pn){return Pn.kind===337}e.isJSDocThisTag=Kn;function Te(Pn){return Pn.kind===338}e.isJSDocTypeTag=Te;function Fn(Pn){return Pn.kind===339}e.isJSDocTemplateTag=Fn;function et(Pn){return Pn.kind===340}e.isJSDocTypedefTag=et;function Xt(Pn){return Pn.kind===322}e.isJSDocUnknownTag=Xt;function ca(Pn){return Pn.kind===342}e.isJSDocPropertyTag=ca;function ha(Pn){return Pn.kind===324}e.isJSDocImplementsTag=ha;function To(Pn){return Pn.kind===343}e.isSyntaxList=To})(vn||(vn={}));var vn;(function(e){function o(X){return X.createExportDeclaration(void 0,void 0,!1,X.createNamedExports([]),void 0)}e.createEmptyExports=o;function ue(X,rn,$n,Vn){if(e.isComputedPropertyName($n))return e.setTextRange(X.createElementAccessExpression(rn,$n.expression),Vn);var le=e.setTextRange(e.isMemberName($n)?X.createPropertyAccessExpression(rn,$n):X.createElementAccessExpression(rn,$n),$n);return e.getOrCreateEmitNode(le).flags|=64,le}e.createMemberAccessForPropertyName=ue;function $(X,rn){var $n=e.parseNodeFactory.createIdentifier(X||"React");return e.setParent($n,e.getParseTreeNode(rn)),$n}function Y(X,rn,$n){if(e.isQualifiedName(rn)){var Vn=Y(X,rn.left,$n),le=X.createIdentifier(e.idText(rn.right));return le.escapedText=rn.right.escapedText,X.createPropertyAccessExpression(Vn,le)}else return $(e.idText(rn),$n)}function W(X,rn,$n,Vn){return rn?Y(X,rn,Vn):X.createPropertyAccessExpression($($n,Vn),"createElement")}e.createJsxFactoryExpression=W;function re(X,rn,$n,Vn){return rn?Y(X,rn,Vn):X.createPropertyAccessExpression($($n,Vn),"Fragment")}function ye(X,rn,$n,Vn,le,Pe){var xe=[$n];if(Vn&&xe.push(Vn),le&&le.length>0)if(Vn||xe.push(X.createNull()),le.length>1)for(var Ze=0,hn=le;Ze0)if(le.length>1)for(var Le=0,$e=le;Le<$e.length;Le++){var An=$e[Le];U(An),hn.push(An)}else hn.push(le[0]);return e.setTextRange(X.createCallExpression(W(X,rn,Vn,Pe),void 0,hn),xe)}e.createExpressionForJsxFragment=O;function A(X,rn,$n){if(e.isVariableDeclarationList(rn)){var Vn=e.first(rn.declarations),le=X.updateVariableDeclaration(Vn,Vn.name,void 0,void 0,$n);return e.setTextRange(X.createVariableStatement(void 0,X.updateVariableDeclarationList(rn,[le])),rn)}else{var Pe=e.setTextRange(X.createAssignment(rn,$n),rn);return e.setTextRange(X.createExpressionStatement(Pe),rn)}}e.createForOfBindingStatement=A;function D(X,rn,$n){return e.isBlock(rn)?X.updateBlock(rn,e.setTextRange(X.createNodeArray(Vr([$n],rn.statements,!0)),rn.statements)):X.createBlock(X.createNodeArray([rn,$n]),!0)}e.insertLeadingStatement=D;function de(X,rn){if(e.isQualifiedName(rn)){var $n=de(X,rn.left),Vn=e.setParent(e.setTextRange(X.cloneNode(rn.right),rn.right),rn.right.parent);return e.setTextRange(X.createPropertyAccessExpression($n,Vn),rn)}else return e.setParent(e.setTextRange(X.cloneNode(rn),rn),rn.parent)}e.createExpressionFromEntityName=de;function _e(X,rn){return e.isIdentifier(rn)?X.createStringLiteralFromNode(rn):e.isComputedPropertyName(rn)?e.setParent(e.setTextRange(X.cloneNode(rn.expression),rn.expression),rn.expression.parent):e.setParent(e.setTextRange(X.cloneNode(rn),rn),rn.parent)}e.createExpressionForPropertyName=_e;function y(X,rn,$n,Vn,le){var Pe=e.getAllAccessorDeclarations(rn,$n),xe=Pe.firstAccessor,Ze=Pe.getAccessor,hn=Pe.setAccessor;if($n===xe)return e.setTextRange(X.createObjectDefinePropertyCall(Vn,_e(X,$n.name),X.createPropertyDescriptor({enumerable:X.createFalse(),configurable:!0,get:Ze&&e.setTextRange(e.setOriginalNode(X.createFunctionExpression(Ze.modifiers,void 0,void 0,void 0,Ze.parameters,void 0,Ze.body),Ze),Ze),set:hn&&e.setTextRange(e.setOriginalNode(X.createFunctionExpression(hn.modifiers,void 0,void 0,void 0,hn.parameters,void 0,hn.body),hn),hn)},!le)),xe)}function V(X,rn,$n){return e.setOriginalNode(e.setTextRange(X.createAssignment(ue(X,$n,rn.name,rn.name),rn.initializer),rn),rn)}function Z(X,rn,$n){return e.setOriginalNode(e.setTextRange(X.createAssignment(ue(X,$n,rn.name,rn.name),X.cloneNode(rn.name)),rn),rn)}function E(X,rn,$n){return e.setOriginalNode(e.setTextRange(X.createAssignment(ue(X,$n,rn.name,rn.name),e.setOriginalNode(e.setTextRange(X.createFunctionExpression(rn.modifiers,rn.asteriskToken,void 0,void 0,rn.parameters,void 0,rn.body),rn),rn)),rn),rn)}function H(X,rn,$n,Vn){switch($n.name&&e.isPrivateIdentifier($n.name)&&e.Debug.failBadSyntaxKind($n.name,"Private identifiers are not allowed in object literals."),$n.kind){case 170:case 171:return y(X,rn.properties,$n,Vn,!!rn.multiLine);case 291:return V(X,$n,Vn);case 292:return Z(X,$n,Vn);case 167:return E(X,$n,Vn)}}e.createExpressionForObjectLiteralElementLike=H;function L(X,rn,$n,Vn,le){var Pe=rn.operator;e.Debug.assert(Pe===45||Pe===46,"Expected 'node' to be a pre- or post-increment or pre- or post-decrement expression");var xe=X.createTempVariable(Vn);$n=X.createAssignment(xe,$n),e.setTextRange($n,rn.operand);var Ze=e.isPrefixUnaryExpression(rn)?X.createPrefixUnaryExpression(Pe,xe):X.createPostfixUnaryExpression(xe,Pe);return e.setTextRange(Ze,rn),le&&(Ze=X.createAssignment(le,Ze),e.setTextRange(Ze,rn)),$n=X.createComma($n,Ze),e.setTextRange($n,rn),e.isPostfixUnaryExpression(rn)&&($n=X.createComma($n,xe),e.setTextRange($n,rn)),$n}e.expandPreOrPostfixIncrementOrDecrementExpression=L;function ee(X){return(e.getEmitFlags(X)&32768)!==0}e.isInternalName=ee;function k(X){return(e.getEmitFlags(X)&16384)!==0}e.isLocalName=k;function b(X){return(e.getEmitFlags(X)&8192)!==0}e.isExportName=b;function ie(X){return e.isStringLiteral(X.expression)&&X.expression.text==="use strict"}function q(X){for(var rn=0,$n=X;rn<$n.length;rn++){var Vn=$n[rn];if(e.isPrologueDirective(Vn)){if(ie(Vn))return Vn}else break}}e.findUseStrictPrologue=q;function oe(X){var rn=e.firstOrUndefined(X);return rn!==void 0&&e.isPrologueDirective(rn)&&ie(rn)}e.startsWithUseStrict=oe;function se(X){return X.kind===219&&X.operatorToken.kind===27||X.kind===346}e.isCommaSequence=se;function w(X,rn){switch(rn===void 0&&(rn=15),X.kind){case 210:return(rn&1)!==0;case 209:case 227:return(rn&2)!==0;case 228:return(rn&4)!==0;case 345:return(rn&8)!==0}return!1}e.isOuterExpression=w;function R(X,rn){for(rn===void 0&&(rn=15);w(X,rn);)X=X.expression;return X}e.skipOuterExpressions=R;function ne(X){return R(X,6)}e.skipAssertions=ne;function U(X){return e.setStartsOnNewLine(X,!0)}e.startOnNewLine=U;function C(X){var rn=e.getOriginalNode(X,e.isSourceFile),$n=rn&&rn.emitNode;return $n&&$n.externalHelpersModuleName}e.getExternalHelpersModuleName=C;function d(X){var rn=e.getOriginalNode(X,e.isSourceFile),$n=rn&&rn.emitNode;return!!$n&&(!!$n.externalHelpersModuleName||!!$n.externalHelpers)}e.hasRecordedExternalHelpers=d;function G(X,rn,$n,Vn,le,Pe,xe){if(Vn.importHelpers&&e.isEffectiveExternalModule($n,Vn)){var Ze=void 0,hn=e.getEmitModuleKind(Vn);if(hn>=e.ModuleKind.ES2015&&hn<=e.ModuleKind.ESNext){var Le=e.getEmitHelpers($n);if(Le){for(var $e=[],An=0,Ue=Le;An0?Wn[An-1]:void 0;return e.Debug.assertEqual(Ue[An],rn),Wn[An]=$e.onEnter(gn[An],On,Tn),Ue[An]=Ze($e,rn),An}X.enter=rn;function $n($e,An,Ue,gn,Wn,ze,Tn){e.Debug.assertEqual(Ue[An],$n),e.Debug.assertIsDefined($e.onLeft),Ue[An]=Ze($e,$n);var On=$e.onLeft(gn[An].left,Wn[An],gn[An]);return On?(Le(An,gn,On),hn(An,Ue,gn,Wn,On)):An}X.left=$n;function Vn($e,An,Ue,gn,Wn,ze,Tn){return e.Debug.assertEqual(Ue[An],Vn),e.Debug.assertIsDefined($e.onOperator),Ue[An]=Ze($e,Vn),$e.onOperator(gn[An].operatorToken,Wn[An],gn[An]),An}X.operator=Vn;function le($e,An,Ue,gn,Wn,ze,Tn){e.Debug.assertEqual(Ue[An],le),e.Debug.assertIsDefined($e.onRight),Ue[An]=Ze($e,le);var On=$e.onRight(gn[An].right,Wn[An],gn[An]);return On?(Le(An,gn,On),hn(An,Ue,gn,Wn,On)):An}X.right=le;function Pe($e,An,Ue,gn,Wn,ze,Tn){e.Debug.assertEqual(Ue[An],Pe),Ue[An]=Ze($e,Pe);var On=$e.onExit(gn[An],Wn[An]);if(An>0){if(An--,$e.foldState){var ur=Ue[An]===Pe?"right":"left";Wn[An]=$e.foldState(Wn[An],On,ur)}}else ze.value=On;return An}X.exit=Pe;function xe($e,An,Ue,gn,Wn,ze,Tn){return e.Debug.assertEqual(Ue[An],xe),An}X.done=xe;function Ze($e,An){switch(An){case rn:if($e.onLeft)return $n;case $n:if($e.onOperator)return Vn;case Vn:if($e.onRight)return le;case le:return Pe;case Pe:return xe;case xe:return xe;default:e.Debug.fail("Invalid state")}}X.nextState=Ze;function hn($e,An,Ue,gn,Wn){return $e++,An[$e]=rn,Ue[$e]=Wn,gn[$e]=void 0,$e}function Le($e,An,Ue){if(e.Debug.shouldAssert(2))for(;$e>=0;)e.Debug.assert(An[$e]!==Ue,"Circular traversal detected."),$e--}})(En||(En={}));var i=function(){function X(rn,$n,Vn,le,Pe,xe){this.onEnter=rn,this.onLeft=$n,this.onOperator=Vn,this.onRight=le,this.onExit=Pe,this.foldState=xe}return X}();function In(X,rn,$n,Vn,le,Pe){var xe=new i(X,rn,$n,Vn,le,Pe);return Ze;function Ze(hn,Le){for(var $e={value:void 0},An=[En.enter],Ue=[hn],gn=[void 0],Wn=0;An[Wn]!==En.done;)Wn=An[Wn](xe,Wn,An,Ue,gn,$e,Le);return e.Debug.assertEqual(Wn,0),$e.value}}e.createBinaryExpressionTrampoline=In})(vn||(vn={}));var vn;(function(e){function o(ue,$){return $?e.setTextRangePosEnd(ue,$.pos,$.end):ue}e.setTextRange=o})(vn||(vn={}));var vn;(function(e){var o;(function(p){p[p.None=0]="None",p[p.Yield=1]="Yield",p[p.Await=2]="Await",p[p.Type=4]="Type",p[p.IgnoreMissingOpenBrace=16]="IgnoreMissingOpenBrace",p[p.JSDoc=32]="JSDoc"})(o||(o={}));var ue;(function(p){p[p.TryParse=0]="TryParse",p[p.Lookahead=1]="Lookahead",p[p.Reparse=2]="Reparse"})(ue||(ue={}));var $,Y,W,re,ye;e.parseBaseNodeFactory={createBaseSourceFileNode:function(p){return new(ye||(ye=e.objectAllocator.getSourceFileConstructor()))(p,-1,-1)},createBaseIdentifierNode:function(p){return new(W||(W=e.objectAllocator.getIdentifierConstructor()))(p,-1,-1)},createBasePrivateIdentifierNode:function(p){return new(re||(re=e.objectAllocator.getPrivateIdentifierConstructor()))(p,-1,-1)},createBaseTokenNode:function(p){return new(Y||(Y=e.objectAllocator.getTokenConstructor()))(p,-1,-1)},createBaseNode:function(p){return new($||($=e.objectAllocator.getNodeConstructor()))(p,-1,-1)}},e.parseNodeFactory=e.createNodeFactory(1,e.parseBaseNodeFactory);function O(p,f){return f&&p(f)}function A(p,f,T){if(T){if(f)return f(T);for(var m=0,N=T;m=0;--me)m.push(P[me]),N.push(x)}else{var M=f(P,x);if(M){if(M==="skip")continue;return M}if(P.kind>=159)for(var z=0,K=y(P);z=Us.pos}),Pc=Cl>=0?e.findIndex(Mr,function(tc){return tc.start>=yl.pos},Cl):-1;Cl>=0&&e.addRange(Ce,Mr,Cl,Pc>=0?Pc:void 0),xt(function(){var tc=Qe;for(Qe|=32768,f.setTextPos(yl.pos),cn();J()!==1;){var Tf=f.getStartPos(),Ml=ia(0,dl);if(dr.push(Ml),Tf===f.getStartPos()&&cn(),lt>=0){var zl=ke.statements[lt];if(Ml.end===zl.pos)break;Ml.end>zl.pos&&(lt=Lo(ke.statements,lt+1))}}Qe=tc},2),Gt=lt>=0?Is(ke.statements,lt):-1};Gt!==-1;)ta();if(lt>=0){var pi=ke.statements[lt];e.addRange(dr,ke.statements,lt);var ka=e.findIndex(Mr,function(Us){return Us.start>=pi.pos});ka>=0&&e.addRange(Ce,Mr,ka)}return De=bn,K.updateSourceFile(ke,e.setTextRange(K.createNodeArray(dr),ke.statements));function Do(Us){return!(Us.flags&32768)&&!!(Us.transformFlags&16777216)}function Is(Us,yl){for(var Cl=yl;Cl116}function qt(){return J()===79?!0:J()===125&&Ke()||J()===131&&Me()?!1:J()>116}function Cr(ke,bn,Yn){return Yn===void 0&&(Yn=!0),J()===ke?(Yn&&cn(),!0):(bn?Mn(bn):Mn(e.Diagnostics._0_expected,e.tokenToString(ke)),!1)}var Jt=Object.keys(e.textToKeywordObj).filter(function(ke){return ke.length>2});function Ot(ke){var bn;if(e.isTaggedTemplateExpression(ke)){Xn(e.skipTrivia(Oe,ke.template.pos),ke.template.end,e.Diagnostics.Module_declaration_names_may_only_use_or_quoted_strings);return}var Yn=e.isIdentifier(ke)?e.idText(ke):void 0;if(!Yn||!e.isIdentifierText(Yn,te)){Mn(e.Diagnostics._0_expected,e.tokenToString(26));return}var dr=e.skipTrivia(Oe,ke.pos);switch(Yn){case"const":case"let":case"var":Xn(dr,ke.end,e.Diagnostics.Variable_declaration_not_allowed_at_this_location);return;case"declare":return;case"interface":ri(e.Diagnostics.Interface_name_cannot_be_0,e.Diagnostics.Interface_must_be_given_a_name,18);return;case"is":Xn(dr,f.getTextPos(),e.Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return;case"module":case"namespace":ri(e.Diagnostics.Namespace_name_cannot_be_0,e.Diagnostics.Namespace_must_be_given_a_name,18);return;case"type":ri(e.Diagnostics.Type_alias_name_cannot_be_0,e.Diagnostics.Type_alias_must_be_given_a_name,63);return}var Mr=(bn=e.getSpellingSuggestion(Yn,Jt,function(lt){return lt}))!==null&&bn!==void 0?bn:Ya(Yn);if(Mr){Xn(dr,ke.end,e.Diagnostics.Unknown_keyword_or_identifier_Did_you_mean_0,Mr);return}J()!==0&&Xn(dr,ke.end,e.Diagnostics.Unexpected_keyword_or_identifier)}function ri(ke,bn,Yn){J()===Yn?Mn(bn):Mn(ke,e.tokenToString(J()))}function Ya(ke){for(var bn=0,Yn=Jt;bndr.length+2&&e.startsWith(ke,dr))return dr+" "+ke.slice(dr.length)}}function eo(ke,bn,Yn){if(J()===59&&!f.hasPrecedingLineBreak()){Mn(e.Diagnostics.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations);return}if(J()===20){Mn(e.Diagnostics.Cannot_start_a_function_call_in_a_type_annotation),cn();return}if(bn&&!Lr()){Yn?Mn(e.Diagnostics._0_expected,e.tokenToString(26)):Mn(e.Diagnostics.Expected_for_property_initializer);return}if(!Xr()){if(Yn){J()===18&&Mn(e.Diagnostics._0_expected,e.tokenToString(26));return}Ot(ke)}}function za(ke){return J()===ke?(Rn(),!0):(Mn(e.Diagnostics._0_expected,e.tokenToString(ke)),!1)}function ua(ke){return J()===ke?(cn(),!0):!1}function Ar(ke){if(J()===ke)return Zt()}function at(ke){if(J()===ke)return Rr()}function Hr(ke,bn,Yn){return Ar(ke)||$t(ke,!1,bn||e.Diagnostics._0_expected,Yn||e.tokenToString(ke))}function Wt(ke){return at(ke)||$t(ke,!1,e.Diagnostics._0_expected,e.tokenToString(ke))}function Zt(){var ke=Fe(),bn=J();return cn(),or(K.createToken(bn),ke)}function Rr(){var ke=Fe(),bn=J();return Rn(),or(K.createToken(bn),ke)}function Lr(){return J()===26?!0:J()===19||J()===1||f.hasPrecedingLineBreak()}function Xr(){return Lr()?(J()===26&&cn(),!0):!1}function nt(){return Xr()||Cr(26)}function vt(ke,bn,Yn,dr){var Mr=K.createNodeArray(ke,dr);return e.setTextRangePosEnd(Mr,bn,Yn!=null?Yn:f.getStartPos()),Mr}function or(ke,bn,Yn){return e.setTextRangePosEnd(ke,bn,Yn!=null?Yn:f.getStartPos()),Qe&&(ke.flags|=Qe),He&&(He=!1,ke.flags|=65536),ke}function $t(ke,bn,Yn,dr){bn?ar(f.getStartPos(),0,Yn,dr):Yn&&Mn(Yn,dr);var Mr=Fe(),lt=ke===79?K.createIdentifier("",void 0,void 0):e.isTemplateLiteralKind(ke)?K.createTemplateLiteralLikeNode(ke,"","",void 0):ke===8?K.createNumericLiteral("",void 0):ke===10?K.createStringLiteral("",void 0):ke===274?K.createMissingDeclaration():K.createToken(ke);return or(lt,Mr)}function Va(ke){var bn=Ne.get(ke);return bn===void 0&&Ne.set(ke,bn=ke),bn}function li(ke,bn,Yn){if(ke){pe++;var dr=Fe(),Mr=J(),lt=Va(f.getTokenValue());return Cn(),or(K.createIdentifier(lt,void 0,Mr),dr)}if(J()===80)return Mn(Yn||e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),li(!0);if(J()===0&&f.tryScan(function(){return f.reScanInvalidIdentifier()===79}))return li(!0);pe++;var Gt=J()===1,ta=f.isReservedWord(),pi=f.getTokenText(),ka=ta?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:e.Diagnostics.Identifier_expected;return $t(79,Gt,bn||ka,pi)}function zi(ke){return li(Ur(),void 0,ke)}function Ma(ke,bn){return li(qt(),ke,bn)}function di(ke){return li(e.tokenIsIdentifierOrKeyword(J()),ke)}function Yi(){return e.tokenIsIdentifierOrKeyword(J())||J()===10||J()===8}function uo(ke){if(J()===10||J()===8){var bn=ps();return bn.text=Va(bn.text),bn}return ke&&J()===22?Mi():J()===80?io():di()}function bi(){return uo(!0)}function Mi(){var ke=Fe();Cr(22);var bn=gn(Qs);return Cr(23),or(K.createComputedPropertyName(bn),ke)}function Go(ke){var bn=qe.get(ke);return bn===void 0&&qe.set(ke,bn=ke),bn}function io(){var ke=Fe(),bn=K.createPrivateIdentifier(Go(f.getTokenText()));return cn(),or(bn,ke)}function wi(ke){return J()===ke&&dt(qi)}function Ho(){return cn(),f.hasPrecedingLineBreak()?!1:Da()}function qi(){switch(J()){case 85:return cn()===92;case 93:return cn(),J()===88?Kr($a):J()===150?Kr(as):Qi();case 88:return $a();case 124:return Ho();case 135:case 147:return cn(),Da();default:return Ho()}}function Qi(){return J()!==41&&J()!==127&&J()!==18&&Da()}function as(){return cn(),Qi()}function gs(){return e.isModifierKind(J())&&dt(qi)}function Da(){return J()===22||J()===18||J()===41||J()===25||Yi()}function $a(){return cn(),J()===84||J()===98||J()===118||J()===126&&Kr(Nc)||J()===130&&Kr(kc)}function Ni(ke,bn){var Yn=ti(ke);if(Yn)return!0;switch(ke){case 0:case 1:case 3:return!(J()===26&&bn)&&fl();case 2:return J()===82||J()===88;case 4:return Kr(Ut);case 5:return Kr(Vf)||J()===26&&!bn;case 6:return J()===22||Yi();case 12:switch(J()){case 22:case 41:case 25:case 24:return!0;default:return Yi()}case 18:return Yi();case 9:return J()===22||J()===25||Yi();case 7:return J()===18?Kr(vo):bn?qt()&&!cs():xf()&&!cs();case 8:return vd();case 10:return J()===27||J()===25||vd();case 19:return qt();case 15:switch(J()){case 27:case 24:return!0}case 11:return J()===25||es();case 16:return Js(!1);case 17:return Js(!0);case 20:case 21:return J()===27||Rs();case 22:return Oc();case 23:return e.tokenIsIdentifierOrKeyword(J());case 13:return e.tokenIsIdentifierOrKeyword(J())||J()===18;case 14:return!0}return e.Debug.fail("Non-exhaustive case in 'isListElement'.")}function vo(){if(e.Debug.assert(J()===18),cn()===19){var ke=cn();return ke===27||ke===18||ke===94||ke===117}return!0}function Io(){return cn(),qt()}function Bo(){return cn(),e.tokenIsIdentifierOrKeyword(J())}function Uo(){return cn(),e.tokenIsIdentifierOrKeywordOrGreaterThan(J())}function cs(){return J()===117||J()===94?Kr(us):!1}function us(){return cn(),es()}function Jo(){return cn(),Rs()}function is(ke){if(J()===1)return!0;switch(ke){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:return J()===19;case 3:return J()===19||J()===82||J()===88;case 7:return J()===18||J()===94||J()===117;case 8:return mn();case 19:return J()===31||J()===20||J()===18||J()===94||J()===117;case 11:return J()===21||J()===26;case 15:case 21:case 10:return J()===23;case 17:case 16:case 18:return J()===21||J()===23;case 20:return J()!==27;case 22:return J()===18||J()===19;case 13:return J()===31||J()===43;case 14:return J()===29&&Kr(mr);default:return!1}}function mn(){return!!(Lr()||Xc(J())||J()===38)}function _r(){for(var ke=0;ke<24;ke++)if(we&1<=0)}function ra(ke){return ke===6?e.Diagnostics.An_enum_member_name_must_be_followed_by_a_or:void 0}function Na(){var ke=vt([],Fe());return ke.isMissingList=!0,ke}function ei(ke){return!!ke.isMissingList}function Li(ke,bn,Yn,dr){if(Cr(Yn)){var Mr=Et(ke,bn);return Cr(dr),Mr}return Na()}function Zi(ke,bn){for(var Yn=Fe(),dr=ke?di(bn):Ma(bn),Mr=Fe();ua(24);){if(J()===29){dr.jsdocDotPos=Mr;break}Mr=Fe(),dr=or(K.createQualifiedName(dr,vs(ke,!1)),Yn)}return dr}function ho(ke,bn){return or(K.createQualifiedName(ke,bn),ke.pos)}function vs(ke,bn){if(f.hasPrecedingLineBreak()&&e.tokenIsIdentifierOrKeyword(J())){var Yn=Kr($c);if(Yn)return $t(79,!0,e.Diagnostics.Identifier_expected)}if(J()===80){var dr=io();return bn?dr:$t(79,!0,e.Diagnostics.Identifier_expected)}return ke?di():Ma()}function Ao(ke){var bn=Fe(),Yn=[],dr;do dr=ul(ke),Yn.push(dr);while(dr.literal.kind===16);return vt(Yn,bn)}function oo(ke){var bn=Fe();return or(K.createTemplateExpression(jl(ke),Ao(ke)),bn)}function Zo(){var ke=Fe();return or(K.createTemplateLiteralType(jl(!1),cl()),ke)}function cl(){var ke=Fe(),bn=[],Yn;do Yn=ws(),bn.push(Yn);while(Yn.literal.kind===16);return vt(bn,ke)}function ws(){var ke=Fe();return or(K.createTemplateLiteralTypeSpan($o(),vl(!1)),ke)}function vl(ke){return J()===19?(an(ke),Hl()):Hr(17,e.Diagnostics._0_expected,e.tokenToString(19))}function ul(ke){var bn=Fe();return or(K.createTemplateSpan(gn(Qs),vl(ke)),bn)}function ps(){return Fs(J())}function jl(ke){ke&&zn();var bn=Fs(J());return e.Debug.assert(bn.kind===15,"Template head has wrong token kind"),bn}function Hl(){var ke=Fs(J());return e.Debug.assert(ke.kind===16||ke.kind===17,"Template fragment has wrong token kind"),ke}function Hs(ke){var bn=ke===14||ke===17,Yn=f.getTokenText();return Yn.substring(1,Yn.length-(f.isUnterminated()?0:bn?1:2))}function Fs(ke){var bn=Fe(),Yn=e.isTemplateLiteralKind(ke)?K.createTemplateLiteralLikeNode(ke,f.getTokenValue(),Hs(ke),f.getTokenFlags()&2048):ke===8?K.createNumericLiteral(f.getTokenValue(),f.getNumericLiteralFlags()):ke===10?K.createStringLiteral(f.getTokenValue(),void 0,f.hasExtendedUnicodeEscape()):e.isLiteralKind(ke)?K.createLiteralLikeNode(ke,f.getTokenValue()):e.Debug.fail();return f.hasExtendedUnicodeEscape()&&(Yn.hasExtendedUnicodeEscape=!0),f.isUnterminated()&&(Yn.isUnterminated=!0),cn(),or(Yn,bn)}function ge(){return Zi(!0,e.Diagnostics.Type_expected)}function Kn(){if(!f.hasPrecedingLineBreak()&&ir()===29)return Li(20,$o,29,31)}function Te(){var ke=Fe();return or(K.createTypeReferenceNode(ge(),Kn()),ke)}function Fn(ke){switch(ke.kind){case 176:return e.nodeIsMissing(ke.typeName);case 177:case 178:{var bn=ke,Yn=bn.parameters,dr=bn.type;return ei(Yn)||Fn(dr)}case 189:return Fn(ke.type);default:return!1}}function et(ke){return cn(),or(K.createTypePredicateNode(void 0,ke,$o()),ke.pos)}function Xt(){var ke=Fe();return cn(),or(K.createThisTypeNode(),ke)}function ca(){var ke=Fe();return cn(),or(K.createJSDocAllType(),ke)}function ha(){var ke=Fe();return cn(),or(K.createJSDocNonNullableType(Es()),ke)}function To(){var ke=Fe();return cn(),J()===27||J()===19||J()===21||J()===31||J()===63||J()===51?or(K.createJSDocUnknownType(),ke):or(K.createJSDocNullableType($o()),ke)}function Pn(){var ke=Fe(),bn=Bn();if(Kr(v)){cn();var Yn=$l(36),dr=Zl(58,!1);return X(or(K.createJSDocFunctionType(Yn,dr),ke),bn)}return or(K.createTypeReferenceNode(di(),void 0),ke)}function Vo(){var ke=Fe(),bn;return(J()===108||J()===103)&&(bn=di(),Cr(58)),or(K.createParameterDeclaration(void 0,void 0,void 0,bn,void 0,Ko(),void 0),ke)}function Ko(){f.setInJSDocType(!0);var ke=Fe();if(ua(140)){var bn=K.createJSDocNamepathType(void 0);e:for(;;)switch(J()){case 19:case 1:case 27:case 5:break e;default:Rn()}return f.setInJSDocType(!1),or(bn,ke)}var Yn=ua(25),dr=Za();return f.setInJSDocType(!1),Yn&&(dr=or(K.createJSDocVariadicType(dr),ke)),J()===63?(cn(),or(K.createJSDocOptionalType(dr),ke)):dr}function hs(){var ke=Fe();return Cr(112),or(K.createTypeQueryNode(Zi(!0)),ke)}function hl(){var ke=Fe(),bn=Ma(),Yn,dr;ua(94)&&(Rs()||!es()?Yn=$o():dr=zs());var Mr=ua(63)?$o():void 0,lt=K.createTypeParameterDeclaration(bn,Yn,Mr);return lt.expression=dr,or(lt,ke)}function Bi(){if(J()===29)return Li(19,hl,29,31)}function Js(ke){return J()===25||vd()||e.isModifierKind(J())||J()===59||Rs(!ke)}function rl(ke){var bn=Eu(e.Diagnostics.Private_identifiers_cannot_be_used_as_parameters);return e.getFullWidth(bn)===0&&!e.some(ke)&&e.isModifierKind(J())&&cn(),bn}function Ol(){return Sc(!0)}function nc(){return Sc(!1)}function Sc(ke){var bn=Fe(),Yn=Bn(),dr=ke?On(of):of();if(J()===108){var Mr=K.createParameterDeclaration(dr,void 0,void 0,li(!0),void 0,Dc(),void 0);return dr&&yr(dr[0],e.Diagnostics.Decorators_may_not_be_applied_to_this_parameters),X(or(Mr,bn),Yn)}var lt=Re;Re=!1;var Gt=sc(),ta=X(or(K.createParameterDeclaration(dr,Gt,Ar(25),rl(Gt),Ar(57),Dc(),Gc()),bn),Yn);return Re=lt,ta}function Zl(ke,bn){if(du(ke,bn))return Za()}function du(ke,bn){return ke===38?(Cr(ke),!0):ua(58)?!0:bn&&J()===38?(Mn(e.Diagnostics._0_expected,e.tokenToString(58)),cn(),!0):!1}function dc(ke){var bn=Ke(),Yn=Me();hn(!!(ke&1)),$e(!!(ke&2));var dr=ke&32?Et(17,Vo):Et(16,Yn?Ol:nc);return hn(bn),$e(Yn),dr}function $l(ke){if(!Cr(20))return Na();var bn=dc(ke);return Cr(21),bn}function kn(){ua(27)||nt()}function lr(ke){var bn=Fe(),Yn=Bn();ke===173&&Cr(103);var dr=Bi(),Mr=$l(4),lt=Zl(58,!0);kn();var Gt=ke===172?K.createCallSignature(dr,Mr,lt):K.createConstructSignature(dr,Mr,lt);return X(or(Gt,bn),Yn)}function Or(){return J()===22&&Kr(st)}function st(){if(cn(),J()===25||J()===23)return!0;if(e.isModifierKind(J())){if(cn(),qt())return!0}else if(qt())cn();else return!1;return J()===58||J()===27?!0:J()!==57?!1:(cn(),J()===58||J()===27||J()===23)}function yt(ke,bn,Yn,dr){var Mr=Li(16,nc,22,23),lt=Dc();kn();var Gt=K.createIndexSignature(Yn,dr,Mr,lt);return X(or(Gt,ke),bn)}function Tt(ke,bn,Yn){var dr=bi(),Mr=Ar(57),lt;if(J()===20||J()===29){var Gt=Bi(),ta=$l(4),pi=Zl(58,!0);lt=K.createMethodSignature(Yn,dr,Mr,Gt,ta,pi)}else{var pi=Dc();lt=K.createPropertySignature(Yn,dr,Mr,pi),J()===63&&(lt.initializer=Gc())}return kn(),X(or(lt,ke),bn)}function Ut(){if(J()===20||J()===29||J()===135||J()===147)return!0;for(var ke=!1;e.isModifierKind(J());)ke=!0,cn();return J()===22?!0:(Yi()&&(ke=!0,cn()),ke?J()===20||J()===29||J()===57||J()===58||J()===27||Lr():!1)}function ea(){if(J()===20||J()===29)return lr(172);if(J()===103&&Kr(zt))return lr(173);var ke=Fe(),bn=Bn(),Yn=sc();return wi(135)?Lt(ke,bn,void 0,Yn,170):wi(147)?Lt(ke,bn,void 0,Yn,171):Or()?yt(ke,bn,void 0,Yn):Tt(ke,bn,Yn)}function zt(){return cn(),J()===20||J()===29}function Ii(){return cn()===24}function ba(){switch(cn()){case 20:case 29:case 24:return!0}return!1}function wa(){var ke=Fe();return or(K.createTypeLiteralNode(Ui()),ke)}function Ui(){var ke;return Cr(18)?(ke=$r(4,ea),Cr(19)):ke=Na(),ke}function Fi(){return cn(),J()===39||J()===40?cn()===143:(J()===143&&cn(),J()===22&&Io()&&cn()===101)}function he(){var ke=Fe(),bn=di();Cr(101);var Yn=$o();return or(K.createTypeParameterDeclaration(bn,Yn,void 0),ke)}function un(){var ke=Fe();Cr(18);var bn;(J()===143||J()===39||J()===40)&&(bn=Zt(),bn.kind!==143&&Cr(143)),Cr(22);var Yn=he(),dr=ua(127)?$o():void 0;Cr(23);var Mr;(J()===57||J()===39||J()===40)&&(Mr=Zt(),Mr.kind!==57&&Cr(57));var lt=Dc();return nt(),Cr(19),or(K.createMappedTypeNode(bn,Yn,dr,Mr,lt),ke)}function Sn(){var ke=Fe();if(ua(25))return or(K.createRestTypeNode($o()),ke);var bn=$o();if(e.isJSDocNullableType(bn)&&bn.pos===bn.type.pos){var Yn=K.createOptionalTypeNode(bn.type);return e.setTextRange(Yn,bn),Yn.flags=bn.flags,Yn}return bn}function Tr(){return cn()===58||J()===57&&cn()===58}function Wr(){return J()===25?e.tokenIsIdentifierOrKeyword(cn())&&Tr():e.tokenIsIdentifierOrKeyword(J())&&Tr()}function Yt(){if(Kr(Wr)){var ke=Fe(),bn=Bn(),Yn=Ar(25),dr=di(),Mr=Ar(57);Cr(58);var lt=Sn(),Gt=K.createNamedTupleMember(Yn,dr,Mr,lt);return X(or(Gt,ke),bn)}return Sn()}function Ia(){var ke=Fe();return or(K.createTupleTypeNode(Li(21,Yt,22,23)),ke)}function hi(){var ke=Fe();Cr(20);var bn=$o();return Cr(21),or(K.createParenthesizedType(bn),ke)}function yo(){var ke;if(J()===126){var bn=Fe();cn();var Yn=or(K.createToken(126),bn);ke=vt([Yn],bn)}return ke}function Oo(){var ke=Fe(),bn=Bn(),Yn=yo(),dr=ua(103),Mr=Bi(),lt=$l(4),Gt=Zl(38,!1),ta=dr?K.createConstructorTypeNode(Yn,Mr,lt,Gt):K.createFunctionTypeNode(Mr,lt,Gt);return dr||(ta.modifiers=Yn),X(or(ta,ke),bn)}function ys(){var ke=Zt();return J()===24?void 0:ke}function Pi(ke){var bn=Fe();ke&&cn();var Yn=J()===110||J()===95||J()===104?Zt():Fs(J());return ke&&(Yn=or(K.createPrefixUnaryExpression(40,Yn),bn)),or(K.createLiteralTypeNode(Yn),bn)}function Po(){return cn(),J()===100}function Jn(){Ae|=1048576;var ke=Fe(),bn=ua(112);Cr(100),Cr(20);var Yn=$o();Cr(21);var dr=ua(24)?ge():void 0,Mr=Kn();return or(K.createImportTypeNode(Yn,dr,Mr,bn),ke)}function zo(){return cn(),J()===8||J()===9}function Es(){switch(J()){case 129:case 153:case 148:case 145:case 156:case 149:case 132:case 151:case 142:case 146:return dt(ys)||Te();case 66:f.reScanAsteriskEqualsToken();case 41:return ca();case 60:f.reScanQuestionToken();case 57:return To();case 98:return Pn();case 53:return ha();case 14:case 10:case 8:case 9:case 110:case 95:case 104:return Pi();case 40:return Kr(zo)?Pi(!0):Te();case 114:return Zt();case 108:{var ke=Xt();return J()===138&&!f.hasPrecedingLineBreak()?et(ke):ke}case 112:return Kr(Po)?Jn():hs();case 18:return Kr(Fi)?un():wa();case 22:return Ia();case 20:return hi();case 100:return Jn();case 128:return Kr($c)?pc():Te();case 15:return Zo();default:return Te()}}function Rs(ke){switch(J()){case 129:case 153:case 148:case 145:case 156:case 132:case 143:case 149:case 152:case 114:case 151:case 104:case 108:case 112:case 142:case 18:case 22:case 29:case 51:case 50:case 103:case 10:case 8:case 9:case 110:case 95:case 146:case 41:case 57:case 53:case 25:case 136:case 100:case 128:case 14:case 15:return!0;case 98:return!ke;case 40:return!ke&&Kr(zo);case 20:return!ke&&Kr(pu);default:return qt()}}function pu(){return cn(),J()===21||Js(!1)||Rs()}function ol(){for(var ke=Fe(),bn=Es();!f.hasPrecedingLineBreak();)switch(J()){case 53:cn(),bn=or(K.createJSDocNonNullableType(bn),ke);break;case 57:if(Kr(Jo))return bn;cn(),bn=or(K.createJSDocNullableType(bn),ke);break;case 22:if(Cr(22),Rs()){var Yn=$o();Cr(23),bn=or(K.createIndexedAccessTypeNode(bn,Yn),ke)}else Cr(23),bn=or(K.createArrayTypeNode(bn),ke);break;default:return bn}return bn}function mu(ke){var bn=Fe();return Cr(ke),or(K.createTypeOperatorNode(ke,zc()),bn)}function fo(){var ke=Fe();return or(K.createTypeParameterDeclaration(Ma(),void 0,void 0),ke)}function tl(){var ke=Fe();return Cr(136),or(K.createInferTypeNode(fo()),ke)}function zc(){var ke=J();switch(ke){case 139:case 152:case 143:return mu(ke);case 136:return tl()}return ol()}function _u(ke){if(ic()){var bn=Oo(),Yn=void 0;return e.isFunctionTypeNode(bn)?Yn=ke?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:Yn=ke?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,yr(bn,Yn),bn}}function qc(ke,bn,Yn){var dr=Fe(),Mr=ke===51,lt=ua(ke),Gt=lt&&_u(Mr)||bn();if(J()===ke||lt){for(var ta=[Gt];ua(ke);)ta.push(_u(Mr)||bn());Gt=or(Yn(vt(ta,dr)),dr)}return Gt}function gu(){return qc(50,zc,K.createIntersectionTypeNode)}function Xu(){return qc(51,gu,K.createUnionTypeNode)}function fd(){return cn(),J()===103}function ic(){return J()===29||J()===20&&Kr(Bd)?!0:J()===103||J()===126&&Kr(fd)}function Pu(){if(e.isModifierKind(J())&&sc(),qt()||J()===108)return cn(),!0;if(J()===22||J()===18){var ke=Ce.length;return Eu(),ke===Ce.length}return!1}function Bd(){return cn(),!!(J()===21||J()===25||Pu()&&(J()===58||J()===27||J()===57||J()===63||J()===21&&(cn(),J()===38)))}function Za(){var ke=Fe(),bn=qt()&&dt(da),Yn=$o();return bn?or(K.createTypePredicateNode(void 0,bn,Yn),ke):Yn}function da(){var ke=Ma();if(J()===138&&!f.hasPrecedingLineBreak())return cn(),ke}function pc(){var ke=Fe(),bn=Hr(128),Yn=J()===108?Xt():Ma(),dr=ua(138)?$o():void 0;return or(K.createTypePredicateNode(bn,Yn,dr),ke)}function $o(){return An(40960,Yu)}function Yu(ke){if(ic())return Oo();var bn=Fe(),Yn=Xu();if(!ke&&!f.hasPrecedingLineBreak()&&ua(94)){var dr=Yu(!0);Cr(57);var Mr=Yu();Cr(58);var lt=Yu();return or(K.createConditionalTypeNode(Yn,dr,Mr,lt),bn)}return Yn}function Dc(){return ua(58)?$o():void 0}function xf(){switch(J()){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 Kr(ba);default:return qt()}}function es(){if(xf())return!0;switch(J()){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 45:case 46:case 29:case 131:case 125:case 80:return!0;default:return Jl()?!0:qt()}}function If(){return J()!==18&&J()!==98&&J()!==84&&J()!==59&&es()}function Qs(){var ke=Zn();ke&&Le(!1);for(var bn=Fe(),Yn=Ks(),dr;dr=Ar(27);)Yn=$u(Yn,dr,Ks(),bn);return ke&&Le(!0),Yn}function Gc(){return ua(63)?Ks():void 0}function Ks(){if(rc())return _f();var ke=Qu()||dd();if(ke)return ke;var bn=Fe(),Yn=Zu(0);return Yn.kind===79&&J()===38?vu(bn,Yn,void 0):e.isLeftHandSideExpression(Yn)&&e.isAssignmentOperator(Ye())?$u(Yn,Zt(),Ks(),bn):md(Yn,bn)}function rc(){return J()===125?Ke()?!0:Kr(Pl):!1}function mf(){return cn(),!f.hasPrecedingLineBreak()&&qt()}function _f(){var ke=Fe();return cn(),!f.hasPrecedingLineBreak()&&(J()===41||es())?or(K.createYieldExpression(Ar(41),Ks()),ke):or(K.createYieldExpression(void 0,void 0),ke)}function vu(ke,bn,Yn){e.Debug.assert(J()===38,"parseSimpleArrowFunctionExpression should only have been called if we had a =>");var dr=K.createParameterDeclaration(void 0,void 0,void 0,bn,void 0,void 0,void 0);or(dr,bn.pos);var Mr=vt([dr],dr.pos,dr.end),lt=Hr(38),Gt=Of(!!Yn),ta=K.createArrowFunction(Yn,void 0,Mr,void 0,lt,Gt);return $n(or(ta,ke))}function Qu(){var ke=gf();if(ke!==0)return ke===1?Rf(!0):dt(kf)}function gf(){return J()===20||J()===29||J()===130?Kr(Nf):J()===38?1:0}function Nf(){if(J()===130&&(cn(),f.hasPrecedingLineBreak()||J()!==20&&J()!==29))return 0;var ke=J(),bn=cn();if(ke===20){if(bn===21){var Yn=cn();switch(Yn){case 38:case 58:case 18:return 1;default:return 0}}if(bn===22||bn===18)return 2;if(bn===25||e.isModifierKind(bn)&&bn!==130&&Kr(Io))return 1;if(!qt()&&bn!==108)return 0;switch(cn()){case 58:return 1;case 57:return cn(),J()===58||J()===27||J()===63||J()===21?1:0;case 27:case 63:case 21:return 2}return 0}else{if(e.Debug.assert(ke===29),!qt())return 0;if(be===1){var dr=Kr(function(){var Mr=cn();if(Mr===94){var lt=cn();switch(lt){case 63:case 31:return!1;default:return!0}}else if(Mr===27)return!0;return!1});return dr?1:0}return 2}}function kf(){var ke=f.getTokenPos();if(!(pn!=null&&pn.has(ke))){var bn=Rf(!1);return bn||(pn||(pn=new e.Set)).add(ke),bn}}function dd(){if(J()===130&&Kr(pd)===1){var ke=Fe(),bn=Td(),Yn=Zu(0);return vu(ke,Yn,bn)}}function pd(){if(J()===130){if(cn(),f.hasPrecedingLineBreak()||J()===38)return 0;var ke=Zu(0);if(!f.hasPrecedingLineBreak()&&ke.kind===79&&J()===38)return 1}return 0}function Rf(ke){var bn=Fe(),Yn=Bn(),dr=Td(),Mr=e.some(dr,e.isAsyncModifier)?2:0,lt=Bi(),Gt;if(Cr(20)){if(Gt=dc(Mr),!Cr(21)&&!ke)return}else{if(!ke)return;Gt=Na()}var ta=Zl(58,!1);if(!(ta&&!ke&&Fn(ta))){var pi=ta&&e.isJSDocFunctionType(ta);if(!(!ke&&J()!==38&&(pi||J()!==18))){var ka=J(),Do=Hr(38),Is=ka===38||ka===18?Of(e.some(dr,e.isAsyncModifier)):Ma(),Lo=K.createArrowFunction(dr,lt,Gt,ta,Do,Is);return X(or(Lo,bn),Yn)}}}function Of(ke){if(J()===18)return ec(ke?2:0);if(J()!==26&&J()!==98&&J()!==84&&fl()&&!If())return ec(16|(ke?2:0));var bn=Re;Re=!1;var Yn=ke?On(Ks):ur(Ks);return Re=bn,Yn}function md(ke,bn){var Yn=Ar(57);if(!Yn)return ke;var dr;return or(K.createConditionalExpression(ke,Yn,An(T,Ks),dr=Hr(58),e.nodeIsPresent(dr)?Ks():$t(79,!1,e.Diagnostics._0_expected,e.tokenToString(58))),bn)}function Zu(ke){var bn=Fe(),Yn=zs();return Pf(ke,Yn,bn)}function Xc(ke){return ke===101||ke===158}function Pf(ke,bn,Yn){for(;;){Ye();var dr=e.getBinaryOperatorPrecedence(J()),Mr=J()===42?dr>=ke:dr>ke;if(!Mr||J()===101&&jn())break;if(J()===127){if(f.hasPrecedingLineBreak())break;cn(),bn=Yc(bn,$o())}else bn=$u(bn,Zt(),Zu(dr),Yn)}return bn}function Jl(){return jn()&&J()===101?!1:e.getBinaryOperatorPrecedence(J())>0}function $u(ke,bn,Yn,dr){return or(K.createBinaryExpression(ke,bn,Yn),dr)}function Yc(ke,bn){return or(K.createAsExpression(ke,bn),ke.pos)}function Ud(){var ke=Fe();return or(K.createPrefixUnaryExpression(J(),Gn(xs)),ke)}function Lc(){var ke=Fe();return or(K.createDeleteExpression(Gn(xs)),ke)}function mc(){var ke=Fe();return or(K.createTypeOfExpression(Gn(xs)),ke)}function oc(){var ke=Fe();return or(K.createVoidExpression(Gn(xs)),ke)}function Ti(){return J()===131?Me()?!0:Kr(Pl):!1}function vf(){var ke=Fe();return or(K.createAwaitExpression(Gn(xs)),ke)}function zs(){if(sl()){var ke=Fe(),bn=Mf();return J()===42?Pf(e.getBinaryOperatorPrecedence(J()),bn,ke):bn}var Yn=J(),dr=xs();if(J()===42){var ke=e.skipTrivia(Oe,dr.pos),Mr=dr.end;dr.kind===209?Xn(ke,Mr,e.Diagnostics.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):Xn(ke,Mr,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(Yn))}return dr}function xs(){switch(J()){case 39:case 40:case 54:case 53:return Ud();case 89:return Lc();case 112:return mc();case 114:return oc();case 29:return Ba();case 131:if(Ti())return vf();default:return Mf()}}function sl(){switch(J()){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 131:return!1;case 29:if(be!==1)return!1;default:return!0}}function Mf(){if(J()===45||J()===46){var ke=Fe();return or(K.createPrefixUnaryExpression(J(),Gn(wf)),ke)}else if(be===1&&J()===29&&Kr(Uo))return ae(!0);var bn=wf();if(e.Debug.assert(e.isLeftHandSideExpression(bn)),(J()===45||J()===46)&&!f.hasPrecedingLineBreak()){var Yn=J();return cn(),or(K.createPostfixUnaryExpression(bn,Yn),bn.pos)}return bn}function wf(){var ke=Fe(),bn;return J()===100?Kr(zt)?(Ae|=1048576,bn=Zt()):Kr(Ii)?(cn(),cn(),bn=or(K.createMetaProperty(100,di()),ke),Ae|=2097152):bn=c():bn=J()===106?h():c(),so(ke,bn)}function c(){var ke=Fe(),bn=Ds();return ni(ke,bn,!0)}function h(){var ke=Fe(),bn=Zt();if(J()===29){var Yn=Fe(),dr=dt(ki);dr!==void 0&&Xn(Yn,Fe(),e.Diagnostics.super_may_not_use_type_arguments)}return J()===20||J()===24||J()===22?bn:(Hr(24,e.Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access),or(K.createPropertyAccessExpression(bn,vs(!0,!0)),ke))}function ae(ke,bn,Yn){var dr=Fe(),Mr=pr(ke),lt;if(Mr.kind===278){var Gt=Nn(Mr),ta=void 0,pi=Gt[Gt.length-1];if((pi==null?void 0:pi.kind)===276&&!g(pi.openingElement.tagName,pi.closingElement.tagName)&&g(Mr.tagName,pi.closingElement.tagName)){var ka=pi.openingElement.end,Do=or(K.createJsxElement(pi.openingElement,vt([],ka,ka),or(K.createJsxClosingElement(or(K.createIdentifier(""),ka,ka)),ka,ka)),pi.openingElement.pos,ka);Gt=vt(Vr(Vr([],Gt.slice(0,Gt.length-1),!0),[Do],!1),Gt.pos,ka),ta=pi.closingElement}else ta=ma(Mr,ke),g(Mr.tagName,ta.tagName)||(Yn&&e.isJsxOpeningElement(Yn)&&g(ta.tagName,Yn.tagName)?yr(Mr.tagName,e.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,e.getTextOfNodeFromSourceText(Oe,Mr.tagName)):yr(ta.tagName,e.Diagnostics.Expected_corresponding_JSX_closing_tag_for_0,e.getTextOfNodeFromSourceText(Oe,Mr.tagName)));lt=or(K.createJsxElement(Mr,Gt,ta),dr)}else Mr.kind===281?lt=or(K.createJsxFragment(Mr,Nn(Mr),Ai(ke)),dr):(e.Debug.assert(Mr.kind===277),lt=Mr);if(ke&&J()===29){var Is=typeof bn=="undefined"?lt.pos:bn,Lo=dt(function(){return ae(!0,Is)});if(Lo){var ms=$t(27,!1);return e.setTextRangePosWidth(ms,Lo.pos,0),Xn(e.skipTrivia(Oe,Is),Lo.end,e.Diagnostics.JSX_expressions_must_have_one_parent_element),or(K.createBinaryExpression(lt,ms,Lo),dr)}}return lt}function je(){var ke=Fe(),bn=K.createJsxText(f.getTokenValue(),en===12);return en=f.scanJsxToken(),or(bn,ke)}function _n(ke,bn){switch(bn){case 1:if(e.isJsxOpeningFragment(ke))yr(ke,e.Diagnostics.JSX_fragment_has_no_corresponding_closing_tag);else{var Yn=ke.tagName,dr=e.skipTrivia(Oe,Yn.pos);Xn(dr,Yn.end,e.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,e.getTextOfNodeFromSourceText(Oe,ke.tagName))}return;case 30:case 7:return;case 11:case 12:return je();case 18:return Er(!1);case 29:return ae(!1,void 0,ke);default:return e.Debug.assertNever(bn)}}function Nn(ke){var bn=[],Yn=Fe(),dr=we;for(we|=16384;;){var Mr=_n(ke,en=f.reScanJsxToken());if(!Mr||(bn.push(Mr),e.isJsxOpeningElement(ke)&&(Mr==null?void 0:Mr.kind)===276&&!g(Mr.openingElement.tagName,Mr.closingElement.tagName)&&g(ke.tagName,Mr.closingElement.tagName)))break}return we=dr,vt(bn,Yn)}function er(){var ke=Fe();return or(K.createJsxAttributes($r(13,gt)),ke)}function pr(ke){var bn=Fe();if(Cr(29),J()===31)return qr(),or(K.createJsxOpeningFragment(),bn);var Yn=kr(),dr=Qe&131072?void 0:qd(),Mr=er(),lt;return J()===31?(qr(),lt=K.createJsxOpeningElement(Yn,dr,Mr)):(Cr(43),Cr(31,void 0,!1)&&(ke?cn():qr()),lt=K.createJsxSelfClosingElement(Yn,dr,Mr)),or(lt,bn)}function kr(){var ke=Fe();Dr();for(var bn=J()===108?Zt():di();ua(24);)bn=or(K.createPropertyAccessExpression(bn,vs(!0,!1)),ke);return bn}function Er(ke){var bn=Fe();if(Cr(18)){var Yn,dr;return J()!==19&&(Yn=Ar(25),dr=Qs()),ke?Cr(19):Cr(19,void 0,!1)&&qr(),or(K.createJsxExpression(Yn,dr),bn)}}function gt(){if(J()===18)return rt();Dr();var ke=Fe();return or(K.createJsxAttribute(di(),J()!==63?void 0:ft()===10?ps():Er(!0)),ke)}function rt(){var ke=Fe();Cr(18),Cr(25);var bn=Qs();return Cr(19),or(K.createJsxSpreadAttribute(bn),ke)}function ma(ke,bn){var Yn=Fe();Cr(30);var dr=kr();return Cr(31,void 0,!1)&&(bn||!g(ke.tagName,dr)?cn():qr()),or(K.createJsxClosingElement(dr),Yn)}function Ai(ke){var bn=Fe();return Cr(30),e.tokenIsIdentifierOrKeyword(J())&&yr(kr(),e.Diagnostics.Expected_corresponding_closing_tag_for_JSX_fragment),Cr(31,void 0,!1)&&(ke?cn():qr()),or(K.createJsxJsxClosingFragment(),bn)}function Ba(){var ke=Fe();Cr(29);var bn=$o();Cr(31);var Yn=xs();return or(K.createTypeAssertion(bn,Yn),ke)}function _i(){return cn(),e.tokenIsIdentifierOrKeyword(J())||J()===22||Wa()}function No(){return J()===28&&Kr(_i)}function to(ke){if(ke.flags&32)return!0;if(e.isNonNullExpression(ke)){for(var bn=ke.expression;e.isNonNullExpression(bn)&&!(bn.flags&32);)bn=bn.expression;if(bn.flags&32){for(;e.isNonNullExpression(ke);)ke.flags|=32,ke=ke.expression;return!0}}return!1}function Ca(ke,bn,Yn){var dr=vs(!0,!0),Mr=Yn||to(bn),lt=Mr?K.createPropertyAccessChain(bn,Yn,dr):K.createPropertyAccessExpression(bn,dr);return Mr&&e.isPrivateIdentifier(lt.name)&&yr(lt.name,e.Diagnostics.An_optional_chain_cannot_contain_private_identifiers),or(lt,ke)}function Qt(ke,bn,Yn){var dr;if(J()===23)dr=$t(79,!0,e.Diagnostics.An_element_access_expression_should_take_an_argument);else{var Mr=gn(Qs);e.isStringOrNumericLiteralLike(Mr)&&(Mr.text=Va(Mr.text)),dr=Mr}Cr(23);var lt=Yn||to(bn)?K.createElementAccessChain(bn,Yn,dr):K.createElementAccessExpression(bn,dr);return or(lt,ke)}function ni(ke,bn,Yn){for(;;){var dr=void 0,Mr=!1;if(Yn&&No()?(dr=Hr(28),Mr=e.tokenIsIdentifierOrKeyword(J())):Mr=ua(24),Mr){bn=Ca(ke,bn,dr);continue}if(!dr&&J()===53&&!f.hasPrecedingLineBreak()){cn(),bn=or(K.createNonNullExpression(bn),ke);continue}if((dr||!Zn())&&ua(22)){bn=Qt(ke,bn,dr);continue}if(Wa()){bn=qa(ke,bn,dr,void 0);continue}return bn}}function Wa(){return J()===14||J()===15}function qa(ke,bn,Yn,dr){var Mr=K.createTaggedTemplateExpression(bn,dr,J()===14?(zn(),ps()):oo(!0));return(Yn||bn.flags&32)&&(Mr.flags|=32),Mr.questionDotToken=Yn,or(Mr,ke)}function so(ke,bn){for(;;){bn=ni(ke,bn,!0);var Yn=Ar(28);if(!(Qe&131072)&&(J()===29||J()===47)){var dr=dt(ki);if(dr){if(Wa()){bn=qa(ke,bn,Yn,dr);continue}var Mr=Vi(),lt=Yn||to(bn)?K.createCallChain(bn,Yn,dr,Mr):K.createCallExpression(bn,dr,Mr);bn=or(lt,ke);continue}}else if(J()===20){var Mr=Vi(),lt=Yn||to(bn)?K.createCallChain(bn,Yn,void 0,Mr):K.createCallExpression(bn,void 0,Mr);bn=or(lt,ke);continue}if(Yn){var Gt=$t(79,!1,e.Diagnostics.Identifier_expected);bn=or(K.createPropertyAccessChain(bn,Yn,Gt),ke)}break}return bn}function Vi(){Cr(20);var ke=Et(11,gi);return Cr(21),ke}function ki(){if(!(Qe&131072)&&ir()===29){cn();var ke=Et(20,$o);if(Cr(31))return ke&&Gs()?ke:void 0}}function Gs(){switch(J()){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 Ds(){switch(J()){case 8:case 9:case 10:case 14:return ps();case 108:case 106:case 104:case 110:case 95:return Zt();case 20:return ko();case 22:return Qc();case 18:return hu();case 130:if(!Kr(kc))break;return Dt();case 84:return vp();case 98:return Dt();case 103:return Ls();case 43:case 68:if(xn()===13)return ps();break;case 15:return oo(!1)}return Ma(e.Diagnostics.Expression_expected)}function ko(){var ke=Fe(),bn=Bn();Cr(20);var Yn=gn(Qs);return Cr(21),X(or(K.createParenthesizedExpression(Yn),ke),bn)}function Pt(){var ke=Fe();Cr(25);var bn=Ks();return or(K.createSpreadElement(bn),ke)}function wo(){return J()===25?Pt():J()===27?or(K.createOmittedExpression(),Fe()):Ks()}function gi(){return An(T,wo)}function Qc(){var ke=Fe();Cr(22);var bn=f.hasPrecedingLineBreak(),Yn=Et(15,wo);return Cr(23),or(K.createArrayLiteralExpression(Yn,bn),ke)}function Vd(){var ke=Fe(),bn=Bn();if(Ar(25)){var Yn=Ks();return X(or(K.createSpreadAssignment(Yn),ke),bn)}var dr=of(),Mr=sc();if(wi(135))return Lt(ke,bn,dr,Mr,170);if(wi(147))return Lt(ke,bn,dr,Mr,171);var lt=Ar(41),Gt=qt(),ta=bi(),pi=Ar(57),ka=Ar(53);if(lt||J()===20||J()===29)return gp(ke,bn,dr,Mr,lt,ta,pi,ka);var Do,Is=Gt&&J()!==58;if(Is){var Lo=Ar(63),ms=Lo?gn(Ks):void 0;Do=K.createShorthandPropertyAssignment(ta,ms),Do.equalsToken=Lo}else{Cr(58);var Us=gn(Ks);Do=K.createPropertyAssignment(ta,Us)}return Do.decorators=dr,Do.modifiers=Mr,Do.questionToken=pi,Do.exclamationToken=ka,X(or(Do,ke),bn)}function hu(){var ke=Fe(),bn=f.getTokenPos();Cr(18);var Yn=f.hasPrecedingLineBreak(),dr=Et(12,Vd,!0);if(!Cr(19)){var Mr=e.lastOrUndefined(Ce);Mr&&Mr.code===e.Diagnostics._0_expected.code&&e.addRelatedInfo(Mr,e.createDetachedDiagnostic(I,bn,1,e.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}return or(K.createObjectLiteralExpression(dr,Yn),ke)}function Dt(){var ke=Zn();Le(!1);var bn=Fe(),Yn=Bn(),dr=sc();Cr(98);var Mr=Ar(41),lt=Mr?1:0,Gt=e.some(dr,e.isAsyncModifier)?2:0,ta=lt&&Gt?hr(hf):lt?ze(hf):Gt?On(hf):hf(),pi=Bi(),ka=$l(lt|Gt),Do=Zl(58,!1),Is=ec(lt|Gt);Le(ke);var Lo=K.createFunctionExpression(dr,Mr,ta,pi,ka,Do,Is);return X(or(Lo,bn),Yn)}function hf(){return Ur()?zi():void 0}function Ls(){var ke=Fe();if(Cr(103),ua(24)){var bn=di();return or(K.createMetaProperty(103,bn),ke)}for(var Yn=Fe(),dr=Ds(),Mr;;){dr=ni(Yn,dr,!1),Mr=dt(ki),Wa()&&(e.Debug.assert(!!Mr,"Expected a type argument list; all plain tagged template starts should be consumed in 'parseMemberExpressionRest'"),dr=qa(Yn,dr,void 0,Mr),Mr=void 0);break}var lt;return J()===20?lt=Vi():Mr&&Xn(ke,f.getStartPos(),e.Diagnostics.A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list),or(K.createNewExpression(dr,Mr,lt),ke)}function Dl(ke,bn){var Yn=Fe(),dr=Bn(),Mr=f.getTokenPos();if(Cr(18,bn)||ke){var lt=f.hasPrecedingLineBreak(),Gt=$r(1,dl);if(!Cr(19)){var ta=e.lastOrUndefined(Ce);ta&&ta.code===e.Diagnostics._0_expected.code&&e.addRelatedInfo(ta,e.createDetachedDiagnostic(I,Mr,1,e.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}var pi=X(or(K.createBlock(Gt,lt),Yn),dr);return J()===63&&(Mn(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),cn()),pi}else{var Gt=Na();return X(or(K.createBlock(Gt,void 0),Yn),dr)}}function ec(ke,bn){var Yn=Ke();hn(!!(ke&1));var dr=Me();$e(!!(ke&2));var Mr=Re;Re=!1;var lt=Zn();lt&&Le(!1);var Gt=Dl(!!(ke&16),bn);return lt&&Le(!0),Re=Mr,hn(Yn),$e(dr),Gt}function Ff(){var ke=Fe(),bn=Bn();return Cr(26),X(or(K.createEmptyStatement(),ke),bn)}function dp(){var ke=Fe(),bn=Bn();Cr(99),Cr(20);var Yn=gn(Qs);Cr(21);var dr=dl(),Mr=ua(91)?dl():void 0;return X(or(K.createIfStatement(Yn,dr,Mr),ke),bn)}function Mu(){var ke=Fe(),bn=Bn();Cr(90);var Yn=dl();Cr(115),Cr(20);var dr=gn(Qs);return Cr(21),ua(26),X(or(K.createDoStatement(Yn,dr),ke),bn)}function Bc(){var ke=Fe(),bn=Bn();Cr(115),Cr(20);var Yn=gn(Qs);Cr(21);var dr=dl();return X(or(K.createWhileStatement(Yn,dr),ke),bn)}function Gf(){var ke=Fe(),bn=Bn();Cr(97);var Yn=Ar(131);Cr(20);var dr;J()!==26&&(J()===113||J()===119||J()===85?dr=tf(!0):dr=Wn(Qs));var Mr;if(Yn?Cr(158):ua(158)){var lt=gn(Ks);Cr(21),Mr=K.createForOfStatement(Yn,dr,lt,dl())}else if(ua(101)){var lt=gn(Qs);Cr(21),Mr=K.createForInStatement(dr,lt,dl())}else{Cr(26);var Gt=J()!==26&&J()!==21?gn(Qs):void 0;Cr(26);var ta=J()!==21?gn(Qs):void 0;Cr(21),Mr=K.createForStatement(dr,Gt,ta,dl())}return X(or(Mr,ke),bn)}function al(ke){var bn=Fe(),Yn=Bn();Cr(ke===244?81:86);var dr=Lr()?void 0:Ma();nt();var Mr=ke===244?K.createBreakStatement(dr):K.createContinueStatement(dr);return X(or(Mr,bn),Yn)}function Ic(){var ke=Fe(),bn=Bn();Cr(105);var Yn=Lr()?void 0:gn(Qs);return nt(),X(or(K.createReturnStatement(Yn),ke),bn)}function Wd(){var ke=Fe(),bn=Bn();Cr(116),Cr(20);var Yn=gn(Qs);Cr(21);var dr=Ue(16777216,dl);return X(or(K.createWithStatement(Yn,dr),ke),bn)}function yf(){var ke=Fe();Cr(82);var bn=gn(Qs);Cr(58);var Yn=$r(3,dl);return or(K.createCaseClause(bn,Yn),ke)}function Eo(){var ke=Fe();Cr(88),Cr(58);var bn=$r(3,dl);return or(K.createDefaultClause(bn),ke)}function wt(){return J()===82?yf():Eo()}function Kl(){var ke=Fe();Cr(18);var bn=$r(2,wt);return Cr(19),or(K.createCaseBlock(bn),ke)}function wp(){var ke=Fe(),bn=Bn();Cr(107),Cr(20);var Yn=gn(Qs);Cr(21);var dr=Kl();return X(or(K.createSwitchStatement(Yn,dr),ke),bn)}function ef(){var ke=Fe(),bn=Bn();Cr(109);var Yn=f.hasPrecedingLineBreak()?void 0:gn(Qs);return Yn===void 0&&(pe++,Yn=or(K.createIdentifier(""),Fe())),Xr()||Ot(Yn),X(or(K.createThrowStatement(Yn),ke),bn)}function Zc(){var ke=Fe(),bn=Bn();Cr(111);var Yn=Dl(!1),dr=J()===83?jd():void 0,Mr;return(!dr||J()===96)&&(Cr(96),Mr=Dl(!1)),X(or(K.createTryStatement(Yn,dr,Mr),ke),bn)}function jd(){var ke=Fe();Cr(83);var bn;ua(20)?(bn=Uf(),Cr(21)):bn=void 0;var Yn=Dl(!1);return or(K.createCatchClause(bn,Yn),ke)}function Bf(){var ke=Fe(),bn=Bn();return Cr(87),nt(),X(or(K.createDebuggerStatement(),ke),bn)}function _c(){var ke=Fe(),bn=Bn(),Yn,dr=J()===20,Mr=gn(Qs);return e.isIdentifier(Mr)&&ua(58)?Yn=K.createLabeledStatement(Mr,dl()):(Xr()||Ot(Mr),Yn=K.createExpressionStatement(Mr),dr&&(bn=!1)),X(or(Yn,ke),bn)}function $c(){return cn(),e.tokenIsIdentifierOrKeyword(J())&&!f.hasPrecedingLineBreak()}function Nc(){return cn(),J()===84&&!f.hasPrecedingLineBreak()}function kc(){return cn(),J()===98&&!f.hasPrecedingLineBreak()}function Pl(){return cn(),(e.tokenIsIdentifierOrKeyword(J())||J()===8||J()===9||J()===10)&&!f.hasPrecedingLineBreak()}function Bs(){for(;;)switch(J()){case 113:case 119:case 85:case 98:case 84:case 92:return!0;case 118:case 150:return mf();case 140:case 141:return mp();case 126:case 130:case 134:case 121:case 122:case 123:case 143:if(cn(),f.hasPrecedingLineBreak())return!1;continue;case 155:return cn(),J()===18||J()===79||J()===93;case 100:return cn(),J()===10||J()===41||J()===18||e.tokenIsIdentifierOrKeyword(J());case 93:var ke=cn();if(ke===150&&(ke=Kr(cn)),ke===63||ke===41||ke===18||ke===88||ke===127)return!0;continue;case 124:cn();continue;default:return!1}}function As(){return Kr(Bs)}function fl(){switch(J()){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 As()||Kr(ba);case 85:case 93:return As();case 130:case 134:case 118:case 140:case 141:case 150:case 155:return!0;case 123:case 121:case 122:case 124:case 143:return As()||!Kr($c);default:return es()}}function pp(){return cn(),Ur()||J()===18||J()===22}function Uc(){return Kr(pp)}function dl(){switch(J()){case 26:return Ff();case 18:return Dl(!1);case 113:return hd(Fe(),Bn(),void 0,void 0);case 119:if(Uc())return hd(Fe(),Bn(),void 0,void 0);break;case 98:return yd(Fe(),Bn(),void 0,void 0);case 84:return Sd(Fe(),Bn(),void 0,void 0);case 99:return dp();case 90:return Mu();case 115:return Bc();case 97:return Gf();case 86:return al(243);case 81:return al(244);case 105:return Ic();case 116:return Wd();case 107:return wp();case 109:return ef();case 111:case 83:case 96:return Zc();case 87:return Bf();case 59:return _d();case 130:case 118:case 150:case 140:case 141:case 134:case 85:case 92:case 93:case 100:case 121:case 122:case 123:case 126:case 124:case 143:case 155:if(As())return _d();break}return _c()}function nf(ke){return ke.kind===134}function _d(){var ke=e.some(Kr(function(){return of(),sc()}),nf);if(ke){var bn=el();if(bn)return bn}var Yn=Fe(),dr=Bn(),Mr=of(),lt=sc();if(ke){for(var Gt=0,ta=lt;Gt=0),e.Debug.assert(ka<=Lo),e.Debug.assert(Lo<=Is.length),!D(Is,ka))return;var ms,Us,yl,Cl,Pc,tc=[],Tf=[];return f.scanRange(ka+3,Do-5,function(){var ht=1,ga,_a=ka-(Is.lastIndexOf(` `,ka)+1)+4;function Fa(ru){ga||(ga=_a),tc.push(ru),_a+=ru.length}for(Rn();Hp(5););Hp(4)&&(ht=0,_a=0);e:for(;;){switch(J()){case 59:ht===0||ht===1?(zl(tc),Pc||(Pc=Fe()),Si(_(_a)),ht=0,ga=void 0):Fa(f.getTokenText());break;case 4:tc.push(f.getTokenText()),ht=0,_a=0;break;case 41:var ui=f.getTokenText();ht===1||ht===2?(ht=2,Fa(ui)):(ht=1,_a+=ui.length);break;case 5:var Gi=f.getTokenText();ht===2?tc.push(Gi):ga!==void 0&&_a+Gi.length>ga&&tc.push(Gi.slice(ga-_a)),_a+=Gi.length;break;case 1:break e;case 18:ht=2;var ds=f.getStartPos(),ml=f.getTextPos()-1,xl=qn(ml);if(xl){Cl||Ml(tc),Tf.push(or(K.createJSDocText(tc.join("")),Cl!=null?Cl:ka,ds)),Tf.push(xl),tc=[],Cl=f.getTextPos();break}default:ht=2,Fa(f.getTokenText());break}Rn()}zl(tc),Tf.length&&tc.length&&Tf.push(or(K.createJSDocText(tc.join("")),Cl!=null?Cl:ka,Pc)),Tf.length&&ms&&e.Debug.assertIsDefined(Pc,"having parsed tags implies that the end of the comment span should be set");var wl=ms&&vt(ms,Us,yl);return or(K.createJSDocComment(Tf.length?vt(Tf,ka,Pc):tc.length?tc.join(""):void 0,wl),ka,Lo)});function Ml(ht){for(;ht.length&&(ht[0]===` `||ht[0]==="\r");)ht.shift()}function zl(ht){for(;ht.length&&ht[ht.length-1].trim()==="";)ht.pop()}function Jf(){for(;;){if(Rn(),J()===1)return!0;if(!(J()===5||J()===4))return!1}}function kt(){if(!((J()===5||J()===4)&&Kr(Jf)))for(;J()===5||J()===4;)Rn()}function El(){if((J()===5||J()===4)&&Kr(Jf))return"";for(var ht=f.hasPrecedingLineBreak(),ga=!1,_a="";ht&&J()===41||J()===5||J()===4;)_a+=f.getTokenText(),J()===4?(ht=!0,ga=!0,_a=""):J()===41&&(ht=!1),Rn();return ga?_a:""}function _(ht){e.Debug.assert(J()===59);var ga=f.getTokenPos();Rn();var _a=Zd(void 0),Fa=El(),ui;switch(_a.escapedText){case"author":ui=vc(ga,_a,ht,Fa);break;case"implements":ui=Bg(ga,_a,ht,Fa);break;case"augments":case"extends":ui=H_(ga,_a,ht,Fa);break;case"class":case"constructor":ui=hp(ga,K.createJSDocClassTag,_a,ht,Fa);break;case"public":ui=hp(ga,K.createJSDocPublicTag,_a,ht,Fa);break;case"private":ui=hp(ga,K.createJSDocPrivateTag,_a,ht,Fa);break;case"protected":ui=hp(ga,K.createJSDocProtectedTag,_a,ht,Fa);break;case"readonly":ui=hp(ga,K.createJSDocReadonlyTag,_a,ht,Fa);break;case"override":ui=hp(ga,K.createJSDocOverrideTag,_a,ht,Fa);break;case"deprecated":rn=!0,ui=hp(ga,K.createJSDocDeprecatedTag,_a,ht,Fa);break;case"this":ui=lc(ga,_a,ht,Fa);break;case"enum":ui=xm(ga,_a,ht,Fa);break;case"arg":case"argument":case"param":return Sf(ga,_a,2,ht);case"return":case"returns":ui=cf(ga,_a,ht,Fa);break;case"template":ui=_m(ga,_a,ht,Fa);break;case"type":ui=j_(ga,_a,ht,Fa);break;case"typedef":ui=pm(ga,_a,ht,Fa);break;case"callback":ui=Nm(ga,_a,ht,Fa);break;case"see":ui=e_(ga,_a,ht,Fa);break;default:ui=Nt(ga,_a,ht,Fa);break}return ui}function B(ht,ga,_a,Fa){return Fa||(_a+=ga-ht),Ee(_a,Fa.slice(_a))}function Ee(ht,ga){var _a=Fe(),Fa=[],ui=[],Gi,ds=0,ml=!0,xl;function wl(Hc){xl||(xl=ht),Fa.push(Hc),ht+=Hc.length}ga!==void 0&&(ga!==""&&wl(ga),ds=1);var ru=J();e:for(;;){switch(ru){case 4:ds=0,Fa.push(f.getTokenText()),ht=0;break;case 59:if(ds===3||ds===2&&(!ml||Kr(on))){Fa.push(f.getTokenText());break}f.setTextPos(f.getTextPos()-1);case 1:break e;case 5:if(ds===2||ds===3)wl(f.getTokenText());else{var ql=f.getTokenText();xl!==void 0&&ht+ql.length>xl&&Fa.push(ql.slice(xl-ht)),ht+=ql.length}break;case 18:ds=2;var yp=f.getStartPos(),Jp=f.getTextPos()-1,Kp=qn(Jp);Kp?(ui.push(or(K.createJSDocText(Fa.join("")),Gi!=null?Gi:_a,yp)),ui.push(Kp),Fa=[],Gi=f.getTextPos()):wl(f.getTokenText());break;case 61:ds===3?ds=2:ds=3,wl(f.getTokenText());break;case 41:if(ds===0){ds=1,ht+=1;break}default:ds!==3&&(ds=2),wl(f.getTokenText());break}ml=J()===5,ru=Rn()}if(Ml(Fa),zl(Fa),ui.length)return Fa.length&&ui.push(or(K.createJSDocText(Fa.join("")),Gi!=null?Gi:_a)),vt(ui,_a,f.getTextPos());if(Fa.length)return Fa.join("")}function on(){var ht=Rn();return ht===5||ht===4}function qn(ht){var ga=dt(Zr);if(ga){Rn(),kt();var _a=Fe(),Fa=e.tokenIsIdentifierOrKeyword(J())?Zi(!0):void 0;if(Fa)for(;J()===80;)gr(),Rn(),Fa=or(K.createJSDocMemberName(Fa,Ma()),_a);for(var ui=[];J()!==19&&J()!==4&&J()!==1;)ui.push(f.getTokenText()),Rn();var Gi=ga==="link"?K.createJSDocLink:ga==="linkcode"?K.createJSDocLinkCode:K.createJSDocLinkPlain;return or(Gi(Fa,ui.join("")),ht,f.getTextPos())}}function Zr(){if(El(),J()===18&&Rn()===59&&e.tokenIsIdentifierOrKeyword(Rn())){var ht=f.getTokenValue();if(ht==="link"||ht==="linkcode"||ht==="linkplain")return ht}}function Nt(ht,ga,_a,Fa){return or(K.createJSDocUnknownTag(ga,B(ht,Fe(),_a,Fa)),ht)}function Si(ht){ht&&(ms?ms.push(ht):(ms=[ht],Us=ht.pos),yl=ht.end)}function Yo(){return El(),J()===18?Yn():void 0}function nl(){var ht=Hp(22);ht&&kt();var ga=Hp(61),_a=t_();return ga&&Wt(61),ht&&(kt(),Ar(63)&&Qs(),Cr(23)),{name:_a,isBracketed:ht}}function nu(ht){switch(ht.kind){case 146:return!0;case 181:return nu(ht.elementType);default:return e.isTypeReferenceNode(ht)&&e.isIdentifier(ht.typeName)&&ht.typeName.escapedText==="Object"&&!ht.typeArguments}}function Sf(ht,ga,_a,Fa){var ui=Yo(),Gi=!ui;El();var ds=nl(),ml=ds.name,xl=ds.isBracketed,wl=El();Gi&&!Kr(Zr)&&(ui=Yo());var ru=B(ht,Fe(),Fa,wl),ql=_a!==4&&Kf(ui,ml,_a,Fa);ql&&(ui=ql,Gi=!0);var yp=_a===1?K.createJSDocPropertyTag(ga,ml,xl,ui,Gi,ru):K.createJSDocParameterTag(ga,ml,xl,ui,Gi,ru);return or(yp,ht)}function Kf(ht,ga,_a,Fa){if(ht&&nu(ht.type)){for(var ui=Fe(),Gi=void 0,ds=void 0;Gi=dt(function(){return zf(_a,Fa,ga)});)(Gi.kind===335||Gi.kind===342)&&(ds=e.append(ds,Gi));if(ds){var ml=or(K.createJSDocTypeLiteral(ds,ht.type.kind===181),ui);return or(K.createJSDocTypeExpression(ml),ui)}}}function cf(ht,ga,_a,Fa){e.some(ms,e.isJSDocReturnTag)&&Xn(ga.pos,f.getTokenPos(),e.Diagnostics._0_tag_already_specified,ga.escapedText);var ui=Yo();return or(K.createJSDocReturnTag(ga,ui,B(ht,Fe(),_a,Fa)),ht)}function j_(ht,ga,_a,Fa){e.some(ms,e.isJSDocTypeTag)&&Xn(ga.pos,f.getTokenPos(),e.Diagnostics._0_tag_already_specified,ga.escapedText);var ui=Yn(!0),Gi=_a!==void 0&&Fa!==void 0?B(ht,Fe(),_a,Fa):void 0;return or(K.createJSDocTypeTag(ga,ui,Gi),ht)}function e_(ht,ga,_a,Fa){var ui=Kr(function(){return Rn()===59&&e.tokenIsIdentifierOrKeyword(Rn())&&f.getTokenValue()==="link"}),Gi=ui?void 0:dr(),ds=_a!==void 0&&Fa!==void 0?B(ht,Fe(),_a,Fa):void 0;return or(K.createJSDocSeeTag(ga,Gi,ds),ht)}function vc(ht,ga,_a,Fa){var ui=Fe(),Gi=n_(),ds=f.getStartPos(),ml=B(ht,ds,_a,Fa);ml||(ds=f.getStartPos());var xl=typeof ml!="string"?vt(e.concatenate([or(Gi,ui,ds)],ml),ui):Gi.text+ml;return or(K.createJSDocAuthorTag(ga,xl),ht)}function n_(){for(var ht=[],ga=!1,_a=f.getToken();_a!==1&&_a!==4;){if(_a===29)ga=!0;else{if(_a===59&&!ga)break;if(_a===31&&ga){ht.push(f.getTokenText()),f.setTextPos(f.getTokenPos()+1);break}}ht.push(f.getTokenText()),_a=Rn()}return K.createJSDocText(ht.join(""))}function Bg(ht,ga,_a,Fa){var ui=jp();return or(K.createJSDocImplementsTag(ga,ui,B(ht,Fe(),_a,Fa)),ht)}function H_(ht,ga,_a,Fa){var ui=jp();return or(K.createJSDocAugmentsTag(ga,ui,B(ht,Fe(),_a,Fa)),ht)}function jp(){var ht=ua(18),ga=Fe(),_a=Ug(),Fa=qd(),ui=K.createExpressionWithTypeArguments(_a,Fa),Gi=or(ui,ga);return ht&&Cr(19),Gi}function Ug(){for(var ht=Fe(),ga=Zd();ua(24);){var _a=Zd();ga=or(K.createPropertyAccessExpression(ga,_a),ht)}return ga}function hp(ht,ga,_a,Fa,ui){return or(ga(_a,B(ht,Fe(),Fa,ui)),ht)}function lc(ht,ga,_a,Fa){var ui=Yn(!0);return kt(),or(K.createJSDocThisTag(ga,ui,B(ht,Fe(),_a,Fa)),ht)}function xm(ht,ga,_a,Fa){var ui=Yn(!0);return kt(),or(K.createJSDocEnumTag(ga,ui,B(ht,Fe(),_a,Fa)),ht)}function pm(ht,ga,_a,Fa){var ui,Gi=Yo();El();var ds=Im();kt();var ml=Ee(_a),xl;if(!Gi||nu(Gi.type)){for(var wl=void 0,ru=void 0,ql=void 0,yp=!1;wl=dt(function(){return Qd(_a)});)if(yp=!0,wl.kind===338)if(ru){Mn(e.Diagnostics.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);var Jp=e.lastOrUndefined(Ce);Jp&&e.addRelatedInfo(Jp,e.createDetachedDiagnostic(I,0,0,e.Diagnostics.The_tag_was_first_specified_here));break}else ru=wl;else ql=e.append(ql,wl);if(yp){var Kp=Gi&&Gi.type.kind===181,Hc=K.createJSDocTypeLiteral(ql,Kp);Gi=ru&&ru.typeExpression&&!nu(ru.typeExpression.type)?ru.typeExpression:or(Hc,ht),xl=Gi.end}}xl=xl||ml!==void 0?Fe():((ui=ds!=null?ds:Gi)!==null&&ui!==void 0?ui:ga).end,ml||(ml=B(ht,xl,_a,Fa));var zp=K.createJSDocTypedefTag(ga,Gi,ds,ml);return or(zp,ht,xl)}function Im(ht){var ga=f.getTokenPos();if(e.tokenIsIdentifierOrKeyword(J())){var _a=Zd();if(ua(24)){var Fa=Im(!0),ui=K.createModuleDeclaration(void 0,void 0,_a,Fa,ht?4:void 0);return or(ui,ga)}return ht&&(_a.isInJSDocNamespace=!0),_a}}function mm(ht){for(var ga=Fe(),_a,Fa;_a=dt(function(){return zf(4,ht)});)Fa=e.append(Fa,_a);return vt(Fa||[],ga)}function Nm(ht,ga,_a,Fa){var ui=Im();kt();var Gi=Ee(_a),ds=mm(_a),ml=dt(function(){if(Hp(59)){var wl=_(_a);if(wl&&wl.kind===336)return wl}}),xl=or(K.createJSDocSignature(void 0,ds,ml),ht);return Gi||(Gi=B(ht,Fe(),_a,Fa)),or(K.createJSDocCallbackTag(ga,xl,ui,Gi),ht)}function r_(ht,ga){for(;!e.isIdentifier(ht)||!e.isIdentifier(ga);)if(!e.isIdentifier(ht)&&!e.isIdentifier(ga)&&ht.right.escapedText===ga.right.escapedText)ht=ht.left,ga=ga.left;else return!1;return ht.escapedText===ga.escapedText}function Qd(ht){return zf(1,ht)}function zf(ht,ga,_a){for(var Fa=!0,ui=!1;;)switch(Rn()){case 59:if(Fa){var Gi=Vg(ht,ga);return Gi&&(Gi.kind===335||Gi.kind===342)&&ht!==4&&_a&&(e.isIdentifier(Gi.name)||!r_(_a,Gi.name.left))?!1:Gi}ui=!1;break;case 4:Fa=!0,ui=!1;break;case 41:ui&&(Fa=!1),ui=!0;break;case 79:Fa=!1;break;case 1:return!1}}function Vg(ht,ga){e.Debug.assert(J()===59);var _a=f.getStartPos();Rn();var Fa=Zd();kt();var ui;switch(Fa.escapedText){case"type":return ht===1&&j_(_a,Fa);case"prop":case"property":ui=1;break;case"arg":case"argument":case"param":ui=6;break;default:return!1}return ht&ui?Sf(_a,Fa,ht,ga):!1}function rs(){var ht=Fe(),ga=Zd(e.Diagnostics.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces);if(!e.nodeIsMissing(ga))return or(K.createTypeParameterDeclaration(ga,void 0,void 0),ht)}function J_(){var ht=Fe(),ga=[];do{kt();var _a=rs();_a!==void 0&&ga.push(_a),El()}while(Hp(27));return vt(ga,ht)}function _m(ht,ga,_a,Fa){var ui=J()===18?Yn():void 0,Gi=J_();return or(K.createJSDocTemplateTag(ga,ui,Gi,B(ht,Fe(),_a,Fa)),ht)}function Hp(ht){return J()===ht?(Rn(),!0):!1}function t_(){var ht=Zd();for(ua(22)&&Cr(23);ua(24);){var ga=Zd();ua(22)&&Cr(23),ht=ho(ht,ga)}return ht}function Zd(ht){if(!e.tokenIsIdentifierOrKeyword(J()))return $t(79,!ht,ht||e.Diagnostics.Identifier_expected);pe++;var ga=f.getTokenPos(),_a=f.getTextPos(),Fa=J(),ui=Va(f.getTokenValue()),Gi=or(K.createIdentifier(ui,void 0,Fa),ga,_a);return Rn(),Gi}}})(Cd=p.JSDocParser||(p.JSDocParser={}))})(b||(b={}));var ie;(function(p){function f(Oe,te,Se,be){if(be=be||e.Debug.shouldAssert(2),K(Oe,te,Se,be),e.textChangeRangeIsUnchanged(Se))return Oe;if(Oe.statements.length===0)return b.parseSourceFile(Oe.fileName,te,Oe.languageVersion,void 0,!0,Oe.scriptKind);var Ce=Oe;e.Debug.assert(!Ce.hasBeenIncrementallyParsed),Ce.hasBeenIncrementallyParsed=!0,b.fixupParentReferences(Ce);var Be=Oe.text,De=I(Oe),en=me(Oe,Se);K(Oe,te,en,be),e.Debug.assert(en.span.start<=Se.span.start),e.Debug.assert(e.textSpanEnd(en.span)===e.textSpanEnd(Se.span)),e.Debug.assert(e.textSpanEnd(e.textChangeRangeNewSpan(en))===e.textSpanEnd(e.textChangeRangeNewSpan(Se)));var fe=e.textChangeRangeNewSpan(en).length-en.span.length;M(Ce,en.span.start,e.textSpanEnd(en.span),e.textSpanEnd(e.textChangeRangeNewSpan(en)),fe,Be,te,be);var Ne=b.parseSourceFile(Oe.fileName,te,Oe.languageVersion,De,!0,Oe.scriptKind);return Ne.commentDirectives=T(Oe.commentDirectives,Ne.commentDirectives,en.span.start,e.textSpanEnd(en.span),fe,Be,te,be),Ne}p.updateSourceFile=f;function T(Oe,te,Se,be,Ce,Be,De,en){if(!Oe)return te;for(var fe,Ne=!1,qe=0,pe=Oe;qebe){He();var Re={range:{pos:pn.pos+Ce,end:pn.end+Ce},type:Qe};fe=e.append(fe,Re),en&&e.Debug.assert(Be.substring(pn.pos,pn.end)===De.substring(Re.range.pos,Re.range.end))}}return He(),fe;function He(){Ne||(Ne=!0,fe?te&&fe.push.apply(fe,te):fe=te)}}function m(Oe,te,Se,be,Ce,Be){te?en(Oe):De(Oe);return;function De(fe){var Ne="";if(Be&&N(fe)&&(Ne=be.substring(fe.pos,fe.end)),fe._children&&(fe._children=void 0),e.setTextRangePosEnd(fe,fe.pos+Se,fe.end+Se),Be&&N(fe)&&e.Debug.assert(Ne===Ce.substring(fe.pos,fe.end)),de(fe,De,en),e.hasJSDocNodes(fe))for(var qe=0,pe=fe.jsDoc;qe=te,"Adjusting an element that was entirely before the change range"),e.Debug.assert(Oe.pos<=Se,"Adjusting an element that was entirely after the change range"),e.Debug.assert(Oe.pos<=Oe.end);var Be=Math.min(Oe.pos,be),De=Oe.end>=Se?Oe.end+Ce:Math.min(Oe.end,be);e.Debug.assert(Be<=De),Oe.parent&&(e.Debug.assertGreaterThanOrEqual(Be,Oe.parent.pos),e.Debug.assertLessThanOrEqual(De,Oe.parent.end)),e.setTextRangePosEnd(Oe,Be,De)}function x(Oe,te){if(te){var Se=Oe.pos,be=function(en){e.Debug.assert(en.pos>=Se),Se=en.end};if(e.hasJSDocNodes(Oe))for(var Ce=0,Be=Oe.jsDoc;CeSe){m(qe,!1,Ce,Be,De,en);return}var pe=qe.end;if(pe>=te){if(qe.intersectsChange=!0,qe._children=void 0,P(qe,te,Se,be,Ce),de(qe,fe,Ne),e.hasJSDocNodes(qe))for(var we=0,pn=qe.jsDoc;weSe){m(qe,!0,Ce,Be,De,en);return}var pe=qe.end;if(pe>=te){qe.intersectsChange=!0,qe._children=void 0,P(qe,te,Se,be,Ce);for(var we=0,pn=qe;we0&&Ce<=Se;Ce++){var Be=z(Oe,be);e.Debug.assert(Be.pos<=be);var De=Be.pos;be=Math.max(0,De-1)}var en=e.createTextSpanFromBounds(be,e.textSpanEnd(te.span)),fe=te.newLength+(te.span.start-be);return e.createTextChangeRange(en,fe)}function z(Oe,te){var Se=Oe,be;if(de(Oe,De),be){var Ce=Be(be);Ce.pos>Se.pos&&(Se=Ce)}return Se;function Be(en){for(;;){var fe=e.getLastChild(en);if(fe)en=fe;else return en}}function De(en){if(!e.nodeIsMissing(en))if(en.pos<=te){if(en.pos>=Se.pos&&(Se=en),tete),!0}}function K(Oe,te,Se,be){var Ce=Oe.text;if(Se&&(e.Debug.assert(Ce.length-Se.span.length+Se.newLength===te.length),be||e.Debug.shouldAssert(3))){var Be=Ce.substr(0,Se.span.start),De=te.substr(0,Se.span.start);e.Debug.assert(Be===De);var en=Ce.substring(e.textSpanEnd(Se.span),Ce.length),fe=te.substring(e.textSpanEnd(e.textChangeRangeNewSpan(Se)),te.length);e.Debug.assert(en===fe)}}function I(Oe){var te=Oe.statements,Se=0;e.Debug.assert(Se=Ne.pos&&De=Ne.pos&&Dep.checkJsDirective.pos)&&(p.checkJsDirective={enabled:m==="ts-check",end:K.range.end,pos:K.range.pos})});break}case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:e.Debug.fail("Unhandled pragma kind")}})}e.processPragmasIntoFields=se;var w=new e.Map;function R(p){if(w.has(p))return w.get(p);var f=new RegExp("(\\s"+p+`\\s*=\\s*)(?:(?:'([^']*)')|(?:"([^"]*)"))`,"im");return w.set(p,f),f}var ne=/^\/\/\/\s*<(\S+)\s.*?\/>/im,U=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im;function C(p,f,T){var m=f.kind===2&&ne.exec(T);if(m){var N=m[1].toLowerCase(),P=e.commentPragmas[N];if(!P||!(P.kind&1))return;if(P.args){for(var x={},M=0,me=P.args;M=Kr.length)break;var qt=Ur;if(Kr.charCodeAt(qt)===34){for(Ur++;Ur32;)Ur++;dt.push(Kr.substring(qt,Ur))}}qr(dt)}}e.parseCommandLineWorker=Z;function E(Ye,xn,an,zn,ir,gr){if(zn.isTSConfigOnly){var Dr=Ye[xn];Dr==="null"?(ir[zn.name]=void 0,xn++):zn.type==="boolean"?Dr==="false"?(ir[zn.name]=wr(zn,!1,gr),xn++):(Dr==="true"&&xn++,gr.push(e.createCompilerDiagnostic(e.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line,zn.name))):(gr.push(e.createCompilerDiagnostic(e.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line,zn.name)),Dr&&!e.startsWith(Dr,"-")&&xn++)}else if(!Ye[xn]&&zn.type!=="boolean"&&gr.push(e.createCompilerDiagnostic(an.optionTypeMismatchDiagnostic,zn.name,Oe(zn))),Ye[xn]!=="null")switch(zn.type){case"number":ir[zn.name]=wr(zn,parseInt(Ye[xn]),gr),xn++;break;case"boolean":var Dr=Ye[xn];ir[zn.name]=wr(zn,Dr!=="false",gr),(Dr==="false"||Dr==="true")&&xn++;break;case"string":ir[zn.name]=wr(zn,Ye[xn]||"",gr),xn++;break;case"list":var qr=_e(zn,Ye[xn],gr);ir[zn.name]=qr||[],qr&&xn++;break;default:ir[zn.name]=de(zn,Ye[xn],gr),xn++;break}else ir[zn.name]=void 0,xn++;return xn}e.compilerOptionsDidYouMeanDiagnostics={alternateMode:ye,getOptionsNameMap:re,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 H(Ye,xn){return Z(e.compilerOptionsDidYouMeanDiagnostics,Ye,xn)}e.parseCommandLine=H;function L(Ye,xn){return ee(re,Ye,xn)}e.getOptionFromName=L;function ee(Ye,xn,an){an===void 0&&(an=!1),xn=xn.toLowerCase();var zn=Ye(),ir=zn.optionsNameMap,gr=zn.shortOptionNames;if(an){var Dr=gr.get(xn);Dr!==void 0&&(xn=Dr)}return ir.get(xn)}var k;function b(){return k||(k=Y(e.buildOpts))}var ie={diagnostic:e.Diagnostics.Compiler_option_0_may_not_be_used_with_build,getOptionsNameMap:re},q={alternateMode:ie,getOptionsNameMap:b,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 oe(Ye){var xn=Z(q,Ye),an=xn.options,zn=xn.watchOptions,ir=xn.fileNames,gr=xn.errors,Dr=an;return ir.length===0&&ir.push("."),Dr.clean&&Dr.force&&gr.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","force")),Dr.clean&&Dr.verbose&&gr.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","verbose")),Dr.clean&&Dr.watch&&gr.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","watch")),Dr.watch&&Dr.dry&&gr.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"watch","dry")),{buildOptions:Dr,watchOptions:zn,projects:ir,errors:gr}}e.parseBuildCommand=oe;function se(Ye){for(var xn=[],an=1;an=0)return Dr.push(e.createCompilerDiagnostic(e.Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0,Vr(Vr([],gr,!0),[xt],!1).join(" -> "))),{raw:Ye||I(xn,Dr)};var Kr=Ye?le(Ye,an,zn,ir,Dr):Pe(xn,an,zn,ir,Dr);if(!((ft=Kr.options)===null||ft===void 0)&&ft.paths&&(Kr.options.pathsBasePath=zn),Kr.extendedConfigPath){gr=gr.concat([xt]);var dt=Ze(xn,Kr.extendedConfigPath,an,gr,Dr,qr);if(dt&&$n(dt)){var Ur=dt.raw,qt=Kr.raw,Cr,Jt=function(Ot){!qt[Ot]&&Ur[Ot]&&(qt[Ot]=e.map(Ur[Ot],function(ri){return e.isRootedDiskPath(ri)?ri:e.combinePaths(Cr||(Cr=e.convertToRelativePath(e.getDirectoryPath(Kr.extendedConfigPath),zn,e.createGetCanonicalFileName(an.useCaseSensitiveFileNames))),ri)}))};Jt("include"),Jt("exclude"),Jt("files"),qt.compileOnSave===void 0&&(qt.compileOnSave=Ur.compileOnSave),Kr.options=e.assign({},dt.options,Kr.options),Kr.watchOptions=Kr.watchOptions&&dt.watchOptions?e.assign({},dt.watchOptions,Kr.watchOptions):Kr.watchOptions||dt.watchOptions}}return Kr}function le(Ye,xn,an,zn,ir){e.hasProperty(Ye,"excludes")&&ir.push(e.createCompilerDiagnostic(e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude));var gr=Ue(Ye.compilerOptions,an,ir,zn),Dr=Wn(Ye.typeAcquisition||Ye.typingOptions,an,ir,zn),qr=ze(Ye.watchOptions,an,ir);Ye.compileOnSave=hn(Ye,an,ir);var ft;if(Ye.extends)if(!e.isString(Ye.extends))ir.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"extends","string"));else{var xt=zn?Un(zn,an):an;ft=xe(Ye.extends,xn,xt,ir,e.createCompilerDiagnostic)}return{raw:Ye,options:gr,watchOptions:qr,typeAcquisition:Dr,extendedConfigPath:ft}}function Pe(Ye,xn,an,zn,ir){var gr=An(zn),Dr,qr,ft,xt,Kr={onSetValidOptionKeyValueInParent:function(Ur,qt,Cr){var Jt;switch(Ur){case"compilerOptions":Jt=gr;break;case"watchOptions":Jt=ft||(ft={});break;case"typeAcquisition":Jt=Dr||(Dr=gn(zn));break;case"typingOptions":Jt=qr||(qr=gn(zn));break;default:e.Debug.fail("Unknown option")}Jt[qt.name]=ur(qt,an,Cr)},onSetValidOptionKeyValueInRoot:function(Ur,qt,Cr,Jt){switch(Ur){case"extends":var Ot=zn?Un(zn,an):an;xt=xe(Cr,xn,Ot,ir,function(ri,Ya){return e.createDiagnosticForNodeInSourceFile(Ye,Jt,ri,Ya)});return}},onSetUnknownOptionKeyValueInRoot:function(Ur,qt,Cr,Jt){Ur==="excludes"&&ir.push(e.createDiagnosticForNodeInSourceFile(Ye,qt,e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude))}},dt=K(Ye,ir,!0,Kr);return Dr||(qr?Dr=qr.enableAutoDiscovery!==void 0?{enable:qr.enableAutoDiscovery,include:qr.include,exclude:qr.exclude}:qr:Dr=gn(zn)),{raw:dt,options:gr,watchOptions:ft,typeAcquisition:Dr,extendedConfigPath:xt}}function xe(Ye,xn,an,zn,ir){if(Ye=e.normalizeSlashes(Ye),e.isRootedDiskPath(Ye)||e.startsWith(Ye,"./")||e.startsWith(Ye,"../")){var gr=e.getNormalizedAbsolutePath(Ye,an);if(!xn.fileExists(gr)&&!e.endsWith(gr,".json")&&(gr=gr+".json",!xn.fileExists(gr))){zn.push(ir(e.Diagnostics.File_0_not_found,Ye));return}return gr}var Dr=e.nodeModuleNameResolver(Ye,e.combinePaths(an,"tsconfig.json"),{moduleResolution:e.ModuleResolutionKind.NodeJs},xn,void 0,void 0,!0);if(Dr.resolvedModule)return Dr.resolvedModule.resolvedFileName;zn.push(ir(e.Diagnostics.File_0_not_found,Ye))}function Ze(Ye,xn,an,zn,ir,gr){var Dr,qr=an.useCaseSensitiveFileNames?xn:e.toFileNameLowerCase(xn),ft,xt,Kr;if(gr&&(ft=gr.get(qr))?(xt=ft.extendedResult,Kr=ft.extendedConfig):(xt=U(xn,function(dt){return an.readFile(dt)}),xt.parseDiagnostics.length||(Kr=Vn(void 0,xt,an,e.getDirectoryPath(xn),e.getBaseFileName(xn),zn,ir,gr)),gr&&gr.set(qr,{extendedResult:xt,extendedConfig:Kr})),Ye&&(Ye.extendedSourceFiles=[xt.fileName],xt.extendedSourceFiles&&(Dr=Ye.extendedSourceFiles).push.apply(Dr,xt.extendedSourceFiles)),xt.parseDiagnostics.length){ir.push.apply(ir,xt.parseDiagnostics);return}return Kr}function hn(Ye,xn,an){if(!e.hasProperty(Ye,e.compileOnSaveCommandLineOption.name))return!1;var zn=On(e.compileOnSaveCommandLineOption,Ye.compileOnSave,xn,an);return typeof zn=="boolean"&&zn}function Le(Ye,xn,an){var zn=[],ir=Ue(Ye,xn,zn,an);return{options:ir,errors:zn}}e.convertCompilerOptionsFromJson=Le;function $e(Ye,xn,an){var zn=[],ir=Wn(Ye,xn,zn,an);return{options:ir,errors:zn}}e.convertTypeAcquisitionFromJson=$e;function An(Ye){var xn=Ye&&e.getBaseFileName(Ye)==="jsconfig.json"?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0,noEmit:!0}:{};return xn}function Ue(Ye,xn,an,zn){var ir=An(zn);return Tn(m(),Ye,xn,ir,e.compilerOptionsDidYouMeanDiagnostics,an),zn&&(ir.configFilePath=e.normalizeSlashes(zn)),ir}function gn(Ye){return{enable:!!Ye&&e.getBaseFileName(Ye)==="jsconfig.json",include:[],exclude:[]}}function Wn(Ye,xn,an,zn){var ir=gn(zn),gr=O(Ye);return Tn(M(),gr,xn,ir,G,an),ir}function ze(Ye,xn,an){return Tn(P(),Ye,xn,void 0,f,an)}function Tn(Ye,xn,an,zn,ir,gr){if(xn){for(var Dr in xn){var qr=Ye.get(Dr);qr?(zn||(zn={}))[qr.name]=On(qr,xn[Dr],an,gr):gr.push(V(Dr,ir,e.createCompilerDiagnostic))}return zn}}function On(Ye,xn,an,zn){if(te(Ye,xn)){var ir=Ye.type;if(ir==="list"&&e.isArray(xn))return Ke(Ye,xn,an,zn);if(!e.isString(ir))return Qr(Ye,xn,zn);var gr=wr(Ye,xn,zn);return Ln(gr)?gr:hr(Ye,an,gr)}else zn.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,Ye.name,Oe(Ye)))}e.convertJsonOption=On;function ur(Ye,xn,an){if(!Ln(an)){if(Ye.type==="list"){var zn=Ye;return zn.element.isFilePath||!e.isString(zn.element.type)?e.filter(e.map(an,function(ir){return ur(zn.element,xn,ir)}),function(ir){return!!ir}):an}else if(!e.isString(Ye.type))return Ye.type.get(e.isString(an)?an.toLowerCase():an);return hr(Ye,xn,an)}}function hr(Ye,xn,an){return Ye.isFilePath&&(an=e.getNormalizedAbsolutePath(an,xn),an===""&&(an=".")),an}function wr(Ye,xn,an){var zn;if(!Ln(xn)){var ir=(zn=Ye.extraValidation)===null||zn===void 0?void 0:zn.call(Ye,xn);if(!ir)return xn;an.push(e.createCompilerDiagnostic.apply(void 0,ir))}}function Qr(Ye,xn,an){if(!Ln(xn)){var zn=xn.toLowerCase(),ir=Ye.type.get(zn);if(ir!==void 0)return wr(Ye,ir,an);an.push(A(Ye))}}function Ke(Ye,xn,an,zn){return e.filter(e.map(xn,function(ir){return On(Ye.element,ir,an,zn)}),function(ir){return!!ir})}var jn=/(^|\/)\*\*\/?$/,Zn=/^[^*?]*(?=\/[^/]*[*?])/;function Me(Ye,xn,an,zn,ir){ir===void 0&&(ir=e.emptyArray),xn=e.normalizePath(xn);var gr=e.createGetCanonicalFileName(zn.useCaseSensitiveFileNames),Dr=new e.Map,qr=new e.Map,ft=new e.Map,xt=Ye.validatedFilesSpec,Kr=Ye.validatedIncludeSpecs,dt=Ye.validatedExcludeSpecs,Ur=e.getSupportedExtensions(an,ir),qt=e.getSuppoertedExtensionsWithJsonIfResolveJsonModule(an,Ur);if(xt)for(var Cr=0,Jt=xt;Cr0)for(var eo=function(Hr){if(e.fileExtensionIs(Hr,".json")){if(!Ya){var Wt=Kr.filter(function(nt){return e.endsWith(nt,".json")}),Zt=e.map(e.getRegularExpressionsForWildcards(Wt,xn,"files"),function(nt){return"^"+nt+"$"});Ya=Zt?Zt.map(function(nt){return e.getRegexFromPattern(nt,zn.useCaseSensitiveFileNames)}):e.emptyArray}var Rr=e.findIndex(Ya,function(nt){return nt.test(Hr)});if(Rr!==-1){var Lr=gr(Hr);!Dr.has(Lr)&&!ft.has(Lr)&&ft.set(Lr,Hr)}return"continue"}if(Cn(Hr,Dr,qr,Ur,gr))return"continue";Gn(Hr,qr,Ur,gr);var Xr=gr(Hr);!Dr.has(Xr)&&!qr.has(Xr)&&qr.set(Xr,Hr)},za=0,ua=zn.readDirectory(xn,qt,dt,Kr,void 0);zaxn}function Xn(Ye,xn,an,zn){return yr(Ye,e.filter(xn,function(ir){return!ar(ir)}),an,zn)}e.matchesExclude=Xn;function yr(Ye,xn,an,zn,ir){var gr=e.getRegularExpressionForWildcard(xn,e.combinePaths(e.normalizePath(zn),ir),"exclude"),Dr=gr&&e.getRegexFromPattern(gr,an);return Dr?Dr.test(Ye)?!0:!e.hasExtension(Ye)&&Dr.test(e.ensureTrailingDirectorySeparator(Ye)):!1}function cr(Ye,xn,an,zn,ir){return Ye.filter(function(Dr){if(!e.isString(Dr))return!1;var qr=Fe(Dr,an);return qr!==void 0&&xn.push(gr.apply(void 0,qr)),qr===void 0});function gr(Dr,qr){var ft=e.getTsConfigPropArrayElementValue(zn,ir,qr);return ft?e.createDiagnosticForNodeInSourceFile(zn,ft,Dr,qr):e.createCompilerDiagnostic(Dr,qr)}}function Fe(Ye,xn){if(xn&&jn.test(Ye))return[e.Diagnostics.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,Ye];if(ar(Ye))return[e.Diagnostics.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,Ye]}function Bn(Ye,xn,an){var zn=Ye.validatedIncludeSpecs,ir=Ye.validatedExcludeSpecs,gr=e.getRegularExpressionForWildcard(ir,xn,"exclude"),Dr=gr&&new RegExp(gr,an?"":"i"),qr={};if(zn!==void 0){for(var ft=[],xt=0,Kr=zn;xt0);var Le={sourceFile:xe.configFile,commandLine:{options:xe}};Ze.setOwnMap(Ze.getOrCreateMapOfCacheRedirects(Le)),hn==null||hn.setOwnMap(hn.getOrCreateMapOfCacheRedirects(Le))}Ze.setOwnOptions(xe),hn==null||hn.setOwnOptions(xe)}}function R(xe,Ze,hn){return{getOrCreateCacheForDirectory:An,clear:Le,update:$e};function Le(){hn.clear()}function $e(Ue){w(Ue,hn)}function An(Ue,gn){var Wn=e.toPath(Ue,xe,Ze);return se(hn,gn,Wn,function(){return new e.Map})}}function ne(xe,Ze,hn,Le,$e){var An=R(xe,Ze,Le||(Le=q(hn)));$e||($e=q(hn));var Ue=oe(xe,Ze);return Mt(Mt(Mt({},Ue),An),{getOrCreateCacheForModuleName:ze,clear:gn,update:Wn,getPackageJsonInfoCache:function(){return Ue}});function gn(){An.clear(),$e.clear(),Ue.clear()}function Wn(On){w(On,Le,$e)}function ze(On,ur){return e.Debug.assert(!e.isExternalModuleNameRelative(On)),se($e,ur,On,Tn)}function Tn(){var On=new e.Map;return{get:ur,set:hr};function ur(Qr){return On.get(e.toPath(Qr,xe,Ze))}function hr(Qr,Ke){var jn=e.toPath(Qr,xe,Ze);if(!On.has(jn)){On.set(jn,Ke);for(var Zn=Ke.resolvedModule&&(Ke.resolvedModule.originalPath||Ke.resolvedModule.resolvedFileName),Me=Zn&&wr(jn,Zn),Mn=jn;Mn!==Me;){var ar=e.getDirectoryPath(Mn);if(ar===Mn||On.has(ar))break;On.set(ar,Ke),Mn=ar}}}function wr(Qr,Ke){for(var jn=e.toPath(e.getDirectoryPath(Ke),xe,Ze),Zn=0,Me=Math.min(Qr.length,jn.length);Znee&&(ee=q),ee===1)return ee}return ee}break;case 260:{var oe=0;return e.forEachChild(E,function(se){var w=$(se,H);switch(w){case 0:return;case 2:oe=2;return;case 1:return oe=1,!0;default:e.Debug.assertNever(w)}}),oe}case 259:return ue(E,H);case 79:if(E.isInJSDocNamespace)return 0}return 1}function W(E,H){for(var L=E.propertyName||E.name,ee=E.parent;ee;){if(e.isBlock(ee)||e.isModuleBlock(ee)||e.isSourceFile(ee)){for(var k=ee.statements,b=void 0,ie=0,q=k;ieb)&&(b=se),b===1)return b}}if(b!==void 0)return b}ee=ee.parent}return 1}var re;(function(E){E[E.None=0]="None",E[E.IsContainer=1]="IsContainer",E[E.IsBlockScopedContainer=2]="IsBlockScopedContainer",E[E.IsControlFlowContainer=4]="IsControlFlowContainer",E[E.IsFunctionLike=8]="IsFunctionLike",E[E.IsFunctionExpression=16]="IsFunctionExpression",E[E.HasLocals=32]="HasLocals",E[E.IsInterface=64]="IsInterface",E[E.IsObjectLiteralOrClassExpressionMethod=128]="IsObjectLiteralOrClassExpressionMethod"})(re||(re={}));function ye(E){return e.Debug.attachFlowNodeDebugInfo(E),E}var O=D();function A(E,H){e.tracing===null||e.tracing===void 0||e.tracing.push("bind","bindSourceFile",{path:E.path},!0),e.performance.mark("beforeBind"),e.perfLogger.logStartBindFile(""+E.fileName),O(E,H),e.perfLogger.logStopBindFile(),e.performance.mark("afterBind"),e.performance.measure("Bind","beforeBind","afterBind"),e.tracing===null||e.tracing===void 0||e.tracing.pop()}e.bindSourceFile=A;function D(){var E,H,L,ee,k,b,ie,q,oe,se,w,R,ne,U,C,d,G,g,p,f,T,m,N=!1,P=0,x,M,me={flags:1},z={flags:1},K=Rn();function I(ge,Kn,Te,Fn,et){return e.createDiagnosticForNodeInSourceFile(e.getSourceFileOfNode(ge)||E,ge,Kn,Te,Fn,et)}function Ae(ge,Kn){E=ge,H=Kn,L=e.getEmitScriptTarget(H),m=Oe(E,Kn),M=new e.Set,P=0,x=e.objectAllocator.getSymbolConstructor(),e.Debug.attachFlowNodeDebugInfo(me),e.Debug.attachFlowNodeDebugInfo(z),E.locals||(Da(E),E.symbolCount=P,E.classifiableNames=M,Xr()),E=void 0,H=void 0,L=void 0,ee=void 0,k=void 0,b=void 0,ie=void 0,q=void 0,oe=void 0,se=!1,w=void 0,R=void 0,ne=void 0,U=void 0,C=void 0,d=void 0,G=void 0,p=void 0,f=!1,N=!1,T=0}return Ae;function Oe(ge,Kn){return e.getStrictOptionValue(Kn,"alwaysStrict")&&!ge.isDeclarationFile?!0:!!ge.externalModuleIndicator}function te(ge,Kn){return P++,new x(ge,Kn)}function Se(ge,Kn,Te){ge.flags|=Te,Kn.symbol=ge,ge.declarations=e.appendIfUnique(ge.declarations,Kn),Te&1955&&!ge.exports&&(ge.exports=e.createSymbolTable()),Te&6240&&!ge.members&&(ge.members=e.createSymbolTable()),ge.constEnumOnlyModule&&ge.flags&304&&(ge.constEnumOnlyModule=!1),Te&111551&&e.setValueDeclaration(ge,Kn)}function be(ge){if(ge.kind===269)return ge.isExportEquals?"export=":"default";var Kn=e.getNameOfDeclaration(ge);if(Kn){if(e.isAmbientModule(ge)){var Te=e.getTextOfIdentifierOrLiteral(Kn);return e.isGlobalScopeAugmentation(ge)?"__global":'"'+Te+'"'}if(Kn.kind===160){var Fn=Kn.expression;if(e.isStringOrNumericLiteralLike(Fn))return e.escapeLeadingUnderscores(Fn.text);if(e.isSignedNumericLiteral(Fn))return e.tokenToString(Fn.operator)+Fn.operand.text;e.Debug.fail("Only computed properties with literal names have declaration names")}if(e.isPrivateIdentifier(Kn)){var et=e.getContainingClass(ge);if(!et)return;var Xt=et.symbol;return e.getSymbolNameForPrivateIdentifier(Xt,Kn.escapedText)}return e.isPropertyNameLiteral(Kn)?e.getEscapedTextOfIdentifierOrLiteral(Kn):void 0}switch(ge.kind){case 169:return"__constructor";case 177:case 172:case 318:return"__call";case 178:case 173:return"__new";case 174:return"__index";case 270:return"__export";case 300:return"export=";case 219:if(e.getAssignmentDeclarationKind(ge)===2)return"export=";e.Debug.fail("Unknown binary declaration kind");break;case 312:return e.isJSDocConstructSignature(ge)?"__new":"__call";case 162:e.Debug.assert(ge.parent.kind===312,"Impossible parameter parent kind",function(){return"parent is: "+(e.SyntaxKind?e.SyntaxKind[ge.parent.kind]:ge.parent.kind)+", expected JSDocFunctionType"});var ca=ge.parent,ha=ca.parameters.indexOf(ge);return"arg"+ha}}function Ce(ge){return e.isNamedDeclaration(ge)?e.declarationNameToString(ge.name):e.unescapeLeadingUnderscores(e.Debug.checkDefined(be(ge)))}function Be(ge,Kn,Te,Fn,et,Xt,ca){e.Debug.assert(ca||!e.hasDynamicName(Te));var ha=e.hasSyntacticModifier(Te,512)||e.isExportSpecifier(Te)&&Te.name.escapedText==="default",To=ca?"__computed":ha&&Kn?"default":be(Te),Pn;if(To===void 0)Pn=te(0,"__missing");else if(Pn=ge.get(To),Fn&2885600&&M.add(To),!Pn)ge.set(To,Pn=te(0,To)),Xt&&(Pn.isReplaceableByMethod=!0);else{if(Xt&&!Pn.isReplaceableByMethod)return Pn;if(Pn.flags&et){if(Pn.isReplaceableByMethod)ge.set(To,Pn=te(0,To));else if(!(Fn&3&&Pn.flags&67108864)){e.isNamedDeclaration(Te)&&e.setParent(Te.name,Te);var Vo=Pn.flags&2?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0,Ko=!0;(Pn.flags&384||Fn&384)&&(Vo=e.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations,Ko=!1);var hs=!1;e.length(Pn.declarations)&&(ha||Pn.declarations&&Pn.declarations.length&&Te.kind===269&&!Te.isExportEquals)&&(Vo=e.Diagnostics.A_module_cannot_have_multiple_default_exports,Ko=!1,hs=!0);var hl=[];e.isTypeAliasDeclaration(Te)&&e.nodeIsMissing(Te.type)&&e.hasSyntacticModifier(Te,1)&&Pn.flags&2887656&&hl.push(I(Te,e.Diagnostics.Did_you_mean_0,"export type { "+e.unescapeLeadingUnderscores(Te.name.escapedText)+" }"));var Bi=e.getNameOfDeclaration(Te)||Te;e.forEach(Pn.declarations,function(rl,Ol){var nc=e.getNameOfDeclaration(rl)||rl,Sc=I(nc,Vo,Ko?Ce(rl):void 0);E.bindDiagnostics.push(hs?e.addRelatedInfo(Sc,I(Bi,Ol===0?e.Diagnostics.Another_export_default_is_here:e.Diagnostics.and_here)):Sc),hs&&hl.push(I(nc,e.Diagnostics.The_first_export_default_is_here))});var Js=I(Bi,Vo,Ko?Ce(Te):void 0);E.bindDiagnostics.push(e.addRelatedInfo.apply(void 0,Vr([Js],hl,!1))),Pn=te(0,To)}}}return Se(Pn,Te,Fn),Pn.parent?e.Debug.assert(Pn.parent===Kn,"Existing symbol parent should match new one"):Pn.parent=Kn,Pn}function De(ge,Kn,Te){var Fn=!!(e.getCombinedModifierFlags(ge)&1)||en(ge);if(Kn&2097152)return ge.kind===273||ge.kind===263&&Fn?Be(k.symbol.exports,k.symbol,ge,Kn,Te):Be(k.locals,void 0,ge,Kn,Te);if(e.isJSDocTypeAlias(ge)&&e.Debug.assert(e.isInJSFile(ge)),!e.isAmbientModule(ge)&&(Fn||k.flags&64)){if(!k.locals||e.hasSyntacticModifier(ge,512)&&!be(ge))return Be(k.symbol.exports,k.symbol,ge,Kn,Te);var et=Kn&111551?1048576:0,Xt=Be(k.locals,void 0,ge,et,Te);return Xt.exportSymbol=Be(k.symbol.exports,k.symbol,ge,Kn,Te),ge.localSymbol=Xt,Xt}else return Be(k.locals,void 0,ge,Kn,Te)}function en(ge){if(ge.parent&&e.isModuleDeclaration(ge)&&(ge=ge.parent),!e.isJSDocTypeAlias(ge))return!1;if(!e.isJSDocEnumTag(ge)&&ge.fullName)return!0;var Kn=e.getNameOfDeclaration(ge);return Kn?!!(e.isPropertyAccessEntityNameExpression(Kn.parent)&&Na(Kn.parent)||e.isDeclaration(Kn.parent)&&e.getCombinedModifierFlags(Kn.parent)&1):!1}function fe(ge,Kn){var Te=k,Fn=b,et=ie;if(Kn&1?(ge.kind!==212&&(b=k),k=ie=ge,Kn&32&&(k.locals=e.createSymbolTable()),Jt(k)):Kn&2&&(ie=ge,ie.locals=void 0),Kn&4){var Xt=w,ca=R,ha=ne,To=U,Pn=G,Vo=p,Ko=f,hs=Kn&16&&!e.hasSyntacticModifier(ge,256)&&!ge.asteriskToken&&!!e.getImmediatelyInvokedFunctionExpression(ge);hs||(w=ye({flags:2}),Kn&144&&(w.node=ge)),U=hs||ge.kind===169||ge.kind===168||e.isInJSFile(ge)&&(ge.kind===254||ge.kind===211)?En():void 0,G=void 0,R=void 0,ne=void 0,p=void 0,f=!1,we(ge),ge.flags&=-2817,!(w.flags&1)&&Kn&8&&e.nodeIsPresent(ge.body)&&(ge.flags|=256,f&&(ge.flags|=512),ge.endFlowNode=w),ge.kind===300&&(ge.flags|=T,ge.endFlowNode=w),U&&(rn(U,w),w=xe(U),(ge.kind===169||ge.kind===168||e.isInJSFile(ge)&&(ge.kind===254||ge.kind===211))&&(ge.returnFlowNode=w)),hs||(w=Xt),R=ca,ne=ha,U=To,G=Pn,p=Vo,f=Ko}else Kn&64?(se=!1,we(ge),ge.flags=se?ge.flags|128:ge.flags&-129):we(ge);k=Te,b=Fn,ie=et}function Ne(ge){qe(ge,function(Kn){return Kn.kind===254?Da(Kn):void 0}),qe(ge,function(Kn){return Kn.kind!==254?Da(Kn):void 0})}function qe(ge,Kn){Kn===void 0&&(Kn=Da),ge!==void 0&&e.forEach(ge,Kn)}function pe(ge){e.forEachChild(ge,Da,qe)}function we(ge){var Kn=N;if(N=!1,Fs(ge)){pe(ge),$a(ge),N=Kn;return}switch(ge.kind>=235&&ge.kind<=251&&!H.allowUnreachableCode&&(ge.flowNode=w),ge.kind){case 239:ze(ge);break;case 238:Tn(ge);break;case 240:On(ge);break;case 241:case 242:ur(ge);break;case 237:hr(ge);break;case 245:case 249:wr(ge);break;case 244:case 243:jn(ge);break;case 250:Zn(ge);break;case 247:Me(ge);break;case 261:Mn(ge);break;case 287:ar(ge);break;case 236:Xn(ge);break;case 248:cr(ge);break;case 217:Cn(ge);break;case 218:Gn(ge);break;case 219:if(e.isDestructuringAssignment(ge)){N=Kn,cn(ge);return}K(ge);break;case 213:Ye(ge);break;case 220:xn(ge);break;case 252:zn(ge);break;case 204:case 205:Ur(ge);break;case 206:qt(ge);break;case 228:dt(ge);break;case 340:case 333:case 334:gr(ge);break;case 300:{Ne(ge.statements),Da(ge.endOfFileToken);break}case 233:case 260:Ne(ge.statements);break;case 201:ir(ge);break;case 203:case 202:case 291:case 223:N=Kn;default:pe(ge);break}$a(ge),N=Kn}function pn(ge){switch(ge.kind){case 79:case 80:case 108:case 204:case 205:return Re(ge);case 206:return He(ge);case 210:case 228:return pn(ge.expression);case 219:return Un(ge);case 217:return ge.operator===53&&pn(ge.operand);case 214:return pn(ge.expression)}return!1}function Qe(ge){return e.isDottedName(ge)||(e.isPropertyAccessExpression(ge)||e.isNonNullExpression(ge)||e.isParenthesizedExpression(ge))&&Qe(ge.expression)||e.isBinaryExpression(ge)&&ge.operatorToken.kind===27&&Qe(ge.right)||e.isElementAccessExpression(ge)&&e.isStringOrNumericLiteralLike(ge.argumentExpression)&&Qe(ge.expression)||e.isAssignmentExpression(ge)&&Qe(ge.left)}function Re(ge){return Qe(ge)||e.isOptionalChain(ge)&&Re(ge.expression)}function He(ge){if(ge.arguments)for(var Kn=0,Te=ge.arguments;Kn=117&&ge.originalKeywordKind<=125?E.bindDiagnostics.push(I(ge,vt(ge),e.declarationNameToString(ge))):ge.originalKeywordKind===131?e.isExternalModule(E)&&e.isInTopLevelContext(ge)?E.bindDiagnostics.push(I(ge,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module,e.declarationNameToString(ge))):ge.flags&32768&&E.bindDiagnostics.push(I(ge,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,e.declarationNameToString(ge))):ge.originalKeywordKind===125&&ge.flags&8192&&E.bindDiagnostics.push(I(ge,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,e.declarationNameToString(ge))))}function vt(ge){return e.getContainingClass(ge)?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:E.externalModuleIndicator?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode}function or(ge){ge.escapedText==="#constructor"&&(E.parseDiagnostics.length||E.bindDiagnostics.push(I(ge,e.Diagnostics.constructor_is_a_reserved_word,e.declarationNameToString(ge))))}function $t(ge){m&&e.isLeftHandSideExpression(ge.left)&&e.isAssignmentOperator(ge.operatorToken.kind)&&Ma(ge,ge.left)}function Va(ge){m&&ge.variableDeclaration&&Ma(ge,ge.variableDeclaration.name)}function li(ge){if(m&&ge.expression.kind===79){var Kn=e.getErrorSpanForNode(E,ge.expression);E.bindDiagnostics.push(e.createFileDiagnostic(E,Kn.start,Kn.length,e.Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}function zi(ge){return e.isIdentifier(ge)&&(ge.escapedText==="eval"||ge.escapedText==="arguments")}function Ma(ge,Kn){if(Kn&&Kn.kind===79){var Te=Kn;if(zi(Te)){var Fn=e.getErrorSpanForNode(E,Kn);E.bindDiagnostics.push(e.createFileDiagnostic(E,Fn.start,Fn.length,di(ge),e.idText(Te)))}}}function di(ge){return e.getContainingClass(ge)?e.Diagnostics.Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode:E.externalModuleIndicator?e.Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode:e.Diagnostics.Invalid_use_of_0_in_strict_mode}function Yi(ge){m&&Ma(ge,ge.name)}function uo(ge){return e.getContainingClass(ge)?e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:E.externalModuleIndicator?e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5}function bi(ge){if(L<2&&ie.kind!==300&&ie.kind!==259&&!e.isFunctionLikeOrClassStaticBlockDeclaration(ie)){var Kn=e.getErrorSpanForNode(E,ge);E.bindDiagnostics.push(e.createFileDiagnostic(E,Kn.start,Kn.length,uo(ge)))}}function Mi(ge){m&&ge.numericLiteralFlags&32&&E.bindDiagnostics.push(I(ge,e.Diagnostics.Octal_literals_are_not_allowed_in_strict_mode))}function Go(ge){m&&Ma(ge,ge.operand)}function io(ge){m&&(ge.operator===45||ge.operator===46)&&Ma(ge,ge.operand)}function wi(ge){m&&qi(ge,e.Diagnostics.with_statements_are_not_allowed_in_strict_mode)}function Ho(ge){m&&H.target>=2&&(e.isDeclarationStatement(ge.statement)||e.isVariableStatement(ge.statement))&&qi(ge.label,e.Diagnostics.A_label_is_not_allowed_here)}function qi(ge,Kn,Te,Fn,et){var Xt=e.getSpanOfTokenAtPosition(E,ge.pos);E.bindDiagnostics.push(e.createFileDiagnostic(E,Xt.start,Xt.length,Kn,Te,Fn,et))}function Qi(ge,Kn,Te){as(ge,Kn,Kn,Te)}function as(ge,Kn,Te,Fn){gs(ge,{pos:e.getTokenPosOfNode(Kn,E),end:Te.end},Fn)}function gs(ge,Kn,Te){var Fn=e.createFileDiagnostic(E,Kn.pos,Kn.end-Kn.pos,Te);ge?E.bindDiagnostics.push(Fn):E.bindSuggestionDiagnostics=e.append(E.bindSuggestionDiagnostics,Mt(Mt({},Fn),{category:e.DiagnosticCategory.Suggestion}))}function Da(ge){if(ge){e.setParent(ge,ee);var Kn=m;if(Io(ge),ge.kind>158){var Te=ee;ee=ge;var Fn=Cr(ge);Fn===0?we(ge):fe(ge,Fn),ee=Te}else{var Te=ee;ge.kind===1&&(ee=ge),$a(ge),ee=Te}m=Kn}}function $a(ge){if(e.hasJSDocNodes(ge))if(e.isInJSFile(ge))for(var Kn=0,Te=ge.jsDoc;Kn>",0,cr),bi=Tu(void 0,void 0,void 0,e.emptyArray,cr,void 0,0,0),Mi=Tu(void 0,void 0,void 0,e.emptyArray,J,void 0,0,0),Go=Tu(void 0,void 0,void 0,e.emptyArray,cr,void 0,0,0),io=Tu(void 0,void 0,void 0,e.emptyArray,Ot,void 0,0,0),wi=Uu(Dr,gr,!0),Ho=new e.Map,qi={get yieldType(){return e.Debug.fail("Not supported")},get returnType(){return e.Debug.fail("Not supported")},get nextType(){return e.Debug.fail("Not supported")}},Qi=sd(cr,cr,cr),as=sd(cr,cr,cn),gs=sd(Jt,cr,Rn),Da={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:TL,getGlobalIterableType:bL,getGlobalIterableIteratorType:SL,getGlobalGeneratorType:DL,resolveIterationType:ku,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},$a={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:LL,getGlobalIterableType:mT,getGlobalIterableIteratorType:AL,getGlobalGeneratorType:CL,resolveIterationType:function(n,r){return n},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},Ni,vo=new e.Map,Io=!1,Bo,Uo,cs,us,Jo,is,mn,_r,$r,ia,ti,va,Ve,ce,dn,j,Ie,We,sn,Hn,vr,Sr,ot,Et,ra,Na,ei,Li,Zi,ho,vs,Ao,oo,Zo,cl,ws,vl,ul,ps,jl,Hl,Hs,Fs=new e.Map,ge=0,Kn=0,Te=0,Fn=!1,et=0,Xt,ca,ha,To=Jc(""),Pn=Zf(0),Vo=CE({negative:!1,base10Value:"0"}),Ko=[],hs=[],hl=[],Bi=0,Js=10,rl=[],Ol=[],nc=[],Sc=[],Zl=[],du=[],dc=[],$l=[],kn=[],lr=[],Or=[],st=[],yt=[],Tt=[],Ut=[],ea=[],zt=e.createDiagnosticCollection(),Ii=e.createDiagnosticCollection(),ba=new e.Map(e.getEntries({string:gr,number:Dr,bigint:qr,boolean:Ur,symbol:qt,undefined:Rn})),wa=pp(),Ui,Fi,he,un=new e.Map,Sn=new e.Map,Tr=new e.Map,Wr=new e.Map,Yt=new e.Map,Ia=new e.Map,hi=e.createSymbolTable();return hi.set(Ze.escapedName,Ze),_P(),Ue;function yo(n){if(n){var r=e.getSourceFileOfNode(n);if(r)if(e.isJsxOpeningFragment(n)){if(r.localJsxFragmentNamespace)return r.localJsxFragmentNamespace;var t=r.pragmas.get("jsxfrag");if(t){var a=e.isArray(t)?t[0]:t;if(r.localJsxFragmentFactory=e.parseIsolatedEntityName(a.arguments.factory,we),e.visitNode(r.localJsxFragmentFactory,S),r.localJsxFragmentFactory)return r.localJsxFragmentNamespace=e.getFirstIdentifier(r.localJsxFragmentFactory).escapedText}var s=w1(n);if(s)return r.localJsxFragmentFactory=s,r.localJsxFragmentNamespace=e.getFirstIdentifier(s).escapedText}else{if(r.localJsxNamespace)return r.localJsxNamespace;var u=r.pragmas.get("jsx");if(u){var a=e.isArray(u)?u[0]:u;if(r.localJsxFactory=e.parseIsolatedEntityName(a.arguments.factory,we),e.visitNode(r.localJsxFactory,S),r.localJsxFactory)return r.localJsxNamespace=e.getFirstIdentifier(r.localJsxFactory).escapedText}}}return Ui||(Ui="React",pe.jsxFactory?(Fi=e.parseIsolatedEntityName(pe.jsxFactory,we),e.visitNode(Fi,S),Fi&&(Ui=e.getFirstIdentifier(Fi).escapedText)):pe.reactNamespace&&(Ui=e.escapeLeadingUnderscores(pe.reactNamespace))),Fi||(Fi=e.factory.createQualifiedName(e.factory.createIdentifier(e.unescapeLeadingUnderscores(Ui)),"createElement")),Ui;function S(F){return e.setTextRangePosEnd(F,-1,-1),e.visitEachChild(F,S,e.nullTransformationContext)}}function Oo(n,r){return xD(n,r),le}function ys(n,r,t,a,s,u){var S=n?e.createDiagnosticForNode(n,r,t,a,s,u):e.createCompilerDiagnostic(r,t,a,s,u),F=zt.lookup(S);return F||(zt.add(S),S)}function Pi(n,r,t,a,s,u,S){var F=Jn(r,t,a,s,u,S);return F.skippedOn=n,F}function Po(n,r,t,a,s,u){return n?e.createDiagnosticForNode(n,r,t,a,s,u):e.createCompilerDiagnostic(r,t,a,s,u)}function Jn(n,r,t,a,s,u){var S=Po(n,r,t,a,s,u);return zt.add(S),S}function zo(n,r){n?zt.add(r):Ii.add(Mt(Mt({},r),{category:e.DiagnosticCategory.Suggestion}))}function Es(n,r,t,a,s,u,S){if(r.pos<0||r.end<0){if(!n)return;var F=e.getSourceFileOfNode(r);zo(n,"message"in t?e.createFileDiagnostic(F,0,0,t,a,s,u,S):e.createDiagnosticForFileFromMessageChain(F,t));return}zo(n,"message"in t?e.createDiagnosticForNode(r,t,a,s,u,S):e.createDiagnosticForNodeFromMessageChain(r,t))}function Rs(n,r,t,a,s,u,S){var F=Jn(n,t,a,s,u,S);if(r){var ve=e.createDiagnosticForNode(n,e.Diagnostics.Did_you_forget_to_use_await);e.addRelatedInfo(F,ve)}return F}function pu(n,r){var t=Array.isArray(n)?e.forEach(n,e.getJSDocDeprecatedTag):e.getJSDocDeprecatedTag(n);return t&&e.addRelatedInfo(r,e.createDiagnosticForNode(t,e.Diagnostics.The_declaration_was_marked_as_deprecated_here)),Ii.add(r),r}function ol(n,r,t){var a=e.createDiagnosticForNode(n,e.Diagnostics._0_is_deprecated,t);return pu(r,a)}function mu(n,r,t,a){var s=t?e.createDiagnosticForNode(n,e.Diagnostics.The_signature_0_of_1_is_deprecated,a,t):e.createDiagnosticForNode(n,e.Diagnostics._0_is_deprecated,a);return pu(r,s)}function fo(n,r,t){be++;var a=new Ae(n|33554432,r);return a.checkFlags=t||0,a}function tl(n){var r=0;return n&2&&(r|=111551),n&1&&(r|=111550),n&4&&(r|=0),n&8&&(r|=900095),n&16&&(r|=110991),n&32&&(r|=899503),n&64&&(r|=788872),n&256&&(r|=899327),n&128&&(r|=899967),n&512&&(r|=110735),n&8192&&(r|=103359),n&32768&&(r|=46015),n&65536&&(r|=78783),n&262144&&(r|=526824),n&524288&&(r|=788968),n&2097152&&(r|=2097152),r}function zc(n,r){r.mergeId||(r.mergeId=W,W++),rl[r.mergeId]=n}function _u(n){var r=fo(n.flags,n.escapedName);return r.declarations=n.declarations?n.declarations.slice():[],r.parent=n.parent,n.valueDeclaration&&(r.valueDeclaration=n.valueDeclaration),n.constEnumOnlyModule&&(r.constEnumOnlyModule=!0),n.members&&(r.members=new e.Map(n.members)),n.exports&&(r.exports=new e.Map(n.exports)),zc(r,n),r}function qc(n,r,t){if(t===void 0&&(t=!1),!(n.flags&tl(r.flags))||(r.flags|n.flags)&67108864){if(r===n)return n;if(!(n.flags&33554432)){var a=Ba(n);if(a===Xn)return r;n=_u(a)}r.flags&512&&n.flags&512&&n.constEnumOnlyModule&&!r.constEnumOnlyModule&&(n.constEnumOnlyModule=!1),n.flags|=r.flags,r.valueDeclaration&&e.setValueDeclaration(n,r.valueDeclaration),e.addRange(n.declarations,r.declarations),r.members&&(n.members||(n.members=e.createSymbolTable()),ic(n.members,r.members,t)),r.exports&&(n.exports||(n.exports=e.createSymbolTable()),ic(n.exports,r.exports,t)),t||zc(n,r)}else if(n.flags&1024)n!==hn&&Jn(r.declarations&&e.getNameOfDeclaration(r.declarations[0]),e.Diagnostics.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity,Qa(n));else{var s=!!(n.flags&384||r.flags&384),u=!!(n.flags&2||r.flags&2),S=s?e.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:u?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0,F=r.declarations&&e.getSourceFileOfNode(r.declarations[0]),ve=n.declarations&&e.getSourceFileOfNode(n.declarations[0]),Ge=Qa(r);if(F&&ve&&Ni&&!s&&F!==ve){var Je=e.comparePaths(F.path,ve.path)===-1?F:ve,Xe=Je===F?ve:F,tn=e.getOrUpdate(Ni,Je.path+"|"+Xe.path,function(){return{firstFile:Je,secondFile:Xe,conflictingSymbols:new e.Map}}),Dn=e.getOrUpdate(tn.conflictingSymbols,Ge,function(){return{isBlockScoped:u,firstFileLocations:[],secondFileLocations:[]}});nr(Dn.firstFileLocations,r),nr(Dn.secondFileLocations,n)}else gu(r,S,Ge,n),gu(n,S,Ge,r)}return n;function nr(sr,Ir){if(Ir.declarations)for(var xr=0,Gr=Ir.declarations;xr=5||e.some(u.relatedInformation,function(nr){return e.compareDiagnostics(nr,Dn)===0||e.compareDiagnostics(nr,tn)===0}))return"continue";e.addRelatedInfo(u,e.length(u.relatedInformation)?Dn:tn)},F=0,ve=a||e.emptyArray;F1);return}if(e.isGlobalScopeAugmentation(s))ic(xe,s.symbol.exports);else{var u=n.parent.parent.flags&8388608?void 0:e.Diagnostics.Invalid_module_name_in_augmentation_module_0_cannot_be_found,S=gi(n,n,u,!0);if(!S)return;if(S=Dt(S),S.flags&1920)if(e.some(Uo,function(nr){return S===nr.symbol})){var F=qc(s.symbol,S,!0);cs||(cs=new e.Map),cs.set(n.text,F)}else{if(!((t=S.exports)===null||t===void 0)&&t.get("__export")&&(!((a=s.symbol.exports)===null||a===void 0)&&a.size))for(var ve=Kp(S,"resolvedExports"),Ge=0,Je=e.arrayFrom(s.symbol.exports.entries());GeXe.end)return!1;var nr=e.findAncestor(tn,function(sr){if(sr===Xe)return"quit";switch(sr.kind){case 212:return!0;case 165:return Dn&&(e.isPropertyDeclaration(Xe)&&sr.parent===Xe.parent||e.isParameterPropertyDeclaration(Xe,Xe.parent)&&sr.parent===Xe.parent.parent)?"quit":!0;case 233:switch(sr.parent.kind){case 170:case 167:case 171:return!0;default:return!1}default:return!1}});return nr===void 0}}function xf(n,r,t){var a=e.getEmitScriptTarget(pe),s=r;if(e.isParameter(t)&&s.body&&n.valueDeclaration&&n.valueDeclaration.pos>=s.body.pos&&n.valueDeclaration.end<=s.body.end&&a>=2){var u=da(s);return u.declarationRequiresScopeChange===void 0&&(u.declarationRequiresScopeChange=e.forEach(s.parameters,S)||!1),!u.declarationRequiresScopeChange}return!1;function S(ve){return F(ve.name)||!!ve.initializer&&F(ve.initializer)}function F(ve){switch(ve.kind){case 212:case 211:case 254:case 169:return!1;case 167:case 170:case 171:case 291:return F(ve.name);case 165:return e.hasStaticModifier(ve)?a<99||!Qe:F(ve.name);default:return e.isNullishCoalesce(ve)||e.isOptionalChain(ve)?a<7:e.isBindingElement(ve)&&ve.dotDotDotToken&&e.isObjectBindingPattern(ve.parent)?a<4:e.isTypeNode(ve)?!1:e.forEachChild(ve,F)||!1}}}function es(n,r,t,a,s,u,S,F){return S===void 0&&(S=!1),If(n,r,t,a,s,u,S,$o,F)}function If(n,r,t,a,s,u,S,F,ve){var Ge,Je=n,Xe,tn,Dn,nr,sr,Ir=!1,xr=n,Gr,ct=!1;e:for(;n;){if(n.locals&&!pc(n)&&(Xe=F(n.locals,r,t))){var Vt=!0;if(e.isFunctionLike(n)&&tn&&tn!==n.body?(t&Xe.flags&788968&&tn.kind!==315&&(Vt=Xe.flags&262144?tn===n.type||tn.kind===162||tn.kind===161:!1),t&Xe.flags&3&&(xf(Xe,n,tn)?Vt=!1:Xe.flags&1&&(Vt=tn.kind===162||tn===n.type&&!!e.findAncestor(Xe.valueDeclaration,e.isParameter)))):n.kind===187&&(Vt=tn===n.trueType),Vt)break e;Xe=void 0}switch(Ir=Ir||Gc(n,tn),n.kind){case 300:if(!e.isExternalOrCommonJsModule(n))break;ct=!0;case 259:var _t=wt(n).exports||Ne;if(n.kind===300||e.isModuleDeclaration(n)&&n.flags&8388608&&!e.isGlobalScopeAugmentation(n)){if(Xe=_t.get("default")){var Ta=e.getLocalSymbolForExportDefault(Xe);if(Ta&&Xe.flags&t&&Ta.escapedName===r)break e;Xe=void 0}var sa=_t.get(r);if(sa&&sa.flags===2097152&&(e.getDeclarationOfKind(sa,273)||e.getDeclarationOfKind(sa,272)))break}if(r!=="default"&&(Xe=F(_t,r,t&2623475)))if(e.isSourceFile(n)&&n.commonJsModuleIndicator&&!(!((Ge=Xe.declarations)===null||Ge===void 0)&&Ge.some(e.isJSDocTypeAlias)))Xe=void 0;else break e;break;case 258:if(Xe=F(wt(n).exports,r,t&8))break e;break;case 165:if(!e.isStatic(n)){var mi=kc(n.parent);mi&&mi.locals&&F(mi.locals,r,t&111551)&&(nr=n)}break;case 255:case 224:case 256:if(Xe=F(wt(n).members||Ne,r,t&788968)){if(!mf(Xe,n)){Xe=void 0;break}if(tn&&e.isStatic(tn)){Jn(xr,e.Diagnostics.Static_members_cannot_reference_class_type_parameters);return}break e}if(n.kind===224&&t&32){var ai=n.name;if(ai&&r===ai.escapedText){Xe=n.symbol;break e}}break;case 226:if(tn===n.expression&&n.parent.token===94){var Hi=n.parent.parent;if(e.isClassLike(Hi)&&(Xe=F(wt(Hi).members,r,t&788968))){a&&Jn(xr,e.Diagnostics.Base_class_expressions_cannot_reference_class_type_parameters);return}}break;case 160:if(Gr=n.parent.parent,(e.isClassLike(Gr)||Gr.kind===256)&&(Xe=F(wt(Gr).members,r,t&788968))){Jn(xr,e.Diagnostics.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);return}break;case 212:if(pe.target>=2)break;case 167:case 169:case 170:case 171:case 254:if(t&3&&r==="arguments"){Xe=Le;break e}break;case 211:if(t&3&&r==="arguments"){Xe=Le;break e}if(t&16){var ii=n.name;if(ii&&r===ii.escapedText){Xe=n.symbol;break e}}break;case 163:n.parent&&n.parent.kind===162&&(n=n.parent),n.parent&&(e.isClassElement(n.parent)||n.parent.kind===255)&&(n=n.parent);break;case 340:case 333:case 334:var go=e.getJSDocRoot(n);go&&(n=go.parent);break;case 162:tn&&(tn===n.initializer||tn===n.name&&e.isBindingPattern(tn))&&(sr||(sr=n));break;case 201:tn&&(tn===n.initializer||tn===n.name&&e.isBindingPattern(tn))&&e.isParameterDeclaration(n)&&!sr&&(sr=n);break;case 188:if(t&262144){var xo=n.typeParameter.name;if(xo&&r===xo.escapedText){Xe=n.typeParameter.symbol;break e}}break}Ks(n)&&(Dn=n),tn=n,n=n.parent}if(u&&Xe&&(!Dn||Xe!==Dn.symbol)&&(Xe.isReferenced|=t),!Xe){if(tn&&(e.Debug.assert(tn.kind===300),tn.commonJsModuleIndicator&&r==="exports"&&t&tn.symbol.flags))return tn.symbol;S||(Xe=F(xe,r,t))}if(!Xe&&Je&&e.isInJSFile(Je)&&Je.parent&&e.isRequireCall(Je.parent,!1))return $e;if(!Xe){if(a&&(!xr||!_f(xr,r,s)&&!vu(xr)&&!gf(xr,r,t)&&!dd(xr,r)&&!pd(xr,r,t)&&!md(xr,r,t)&&!Nf(xr,r,t))){var Yr=void 0;if(ve&&Bisr.pos&&go.parent.locals&&F(go.parent.locals,yn.escapedName,t)===yn&&Jn(xr,e.Diagnostics.Parameter_0_cannot_reference_identifier_1_declared_after_it,e.declarationNameToString(sr.name),e.declarationNameToString(xr))}Xe&&xr&&t&111551&&Xe.flags&2097152&&Qs(Xe,r,xr)}return Xe}function Qs(n,r,t){if(!e.isValidTypeOnlyAliasUseSite(t)){var a=Qt(n);if(a){var s=e.typeOnlyDeclarationIsExport(a),u=s?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,S=s?e.Diagnostics._0_was_exported_here:e.Diagnostics._0_was_imported_here,F=e.unescapeLeadingUnderscores(r);e.addRelatedInfo(Jn(t,u,F),e.createDiagnosticForNode(a,S,F))}}}function Gc(n,r){return n.kind!==212&&n.kind!==211?e.isTypeQueryNode(n)||(e.isFunctionLikeDeclaration(n)||n.kind===165&&!e.isStatic(n))&&(!r||r!==n.name):r&&r===n.name?!1:n.asteriskToken||e.hasSyntacticModifier(n,256)?!0:!e.getImmediatelyInvokedFunctionExpression(n)}function Ks(n){switch(n.kind){case 254:case 255:case 256:case 258:case 257:case 259:return!0;default:return!1}}function rc(n){return e.isString(n)?e.unescapeLeadingUnderscores(n):e.declarationNameToString(n)}function mf(n,r){if(n.declarations)for(var t=0,a=n.declarations;t=e.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop",ve=a.exports.get("export="),Ge=ve.valueDeclaration,Je=Jn(n.name,e.Diagnostics.Module_0_can_only_be_default_imported_using_the_1_flag,Qa(a),F);Ge&&e.addRelatedInfo(Je,e.createDiagnosticForNode(Ge,e.Diagnostics.This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,F))}else zs(a,n);else if(S){var Xe=Dt(a,r)||Ba(a,r);return to(n,a,Xe,!1),Xe}return to(n,s,void 0,!1),s}}function zs(n,r){var t,a,s;if(!((t=n.exports)===null||t===void 0)&&t.has(r.symbol.escapedName))Jn(r.name,e.Diagnostics.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,Qa(n),Qa(r.symbol));else{var u=Jn(r.name,e.Diagnostics.Module_0_has_no_default_export,Qa(n)),S=(a=n.exports)===null||a===void 0?void 0:a.get("__export");if(S){var F=(s=S.declarations)===null||s===void 0?void 0:s.find(function(ve){var Ge,Je;return!!(e.isExportDeclaration(ve)&&ve.moduleSpecifier&&(!((Je=(Ge=wo(ve,ve.moduleSpecifier))===null||Ge===void 0?void 0:Ge.exports)===null||Je===void 0)&&Je.has("default")))});F&&e.addRelatedInfo(u,e.createDiagnosticForNode(F,e.Diagnostics.export_Asterisk_does_not_re_export_a_default))}}}function xs(n,r){var t=n.parent.parent.moduleSpecifier,a=wo(n,t),s=Ls(a,t,r,!1);return to(n,a,s,!1),s}function sl(n,r){var t=n.parent.moduleSpecifier,a=t&&wo(n,t),s=t&&Ls(a,t,r,!1);return to(n,a,s,!1),s}function Mf(n,r){if(n===Xn&&r===Xn)return Xn;if(n.flags&790504)return n;var t=fo(n.flags|r.flags,n.escapedName);return t.declarations=e.deduplicate(e.concatenate(n.declarations,r.declarations),e.equateValues),t.parent=n.parent||r.parent,n.valueDeclaration&&(t.valueDeclaration=n.valueDeclaration),r.members&&(t.members=new e.Map(r.members)),n.exports&&(t.exports=new e.Map(n.exports)),t}function wf(n,r,t,a){if(n.flags&1536){var s=al(n).get(r.escapedText),u=Ba(s,a);return to(t,s,u,!1),u}}function c(n,r){if(n.flags&3){var t=n.valueDeclaration.type;if(t)return Ba(wn(Ra(t),r))}}function h(n,r,t){var a,s;t===void 0&&(t=!1);var u=e.getExternalModuleRequireArgument(n)||n.moduleSpecifier,S=wo(n,u),F=!e.isPropertyAccessExpression(r)&&r.propertyName||r.name;if(e.isIdentifier(F)){var ve=F.escapedText==="default"&&!!(pe.allowSyntheticDefaultImports||pe.esModuleInterop),Ge=Ls(S,u,!1,ve);if(Ge&&F.escapedText){if(e.isShorthandAmbientModuleSymbol(S))return S;var Je=void 0;S&&S.exports&&S.exports.get("export=")?Je=wn(kt(Ge),F.escapedText,!0):Je=c(Ge,F.escapedText),Je=Ba(Je,t);var Xe=wf(Ge,F,r,t);if(Xe===void 0&&F.escapedText==="default"){var tn=(a=S.declarations)===null||a===void 0?void 0:a.find(e.isSourceFile);Ti(tn,S,t)&&(Xe=Dt(S,t)||Ba(S,t))}var Dn=Xe&&Je&&Xe!==Je?Mf(Je,Xe):Xe||Je;if(!Dn){var nr=Vi(S,n),sr=e.declarationNameToString(F),Ir=Zh(F,Ge);if(Ir!==void 0){var xr=Qa(Ir),Gr=Jn(F,e.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2,nr,sr,xr);Ir.valueDeclaration&&e.addRelatedInfo(Gr,e.createDiagnosticForNode(Ir.valueDeclaration,e.Diagnostics._0_is_declared_here,xr))}else!((s=S.exports)===null||s===void 0)&&s.has("default")?Jn(F,e.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,nr,sr):ae(n,F,sr,S,nr)}return Dn}}}function ae(n,r,t,a,s){var u,S,F=(S=(u=a.valueDeclaration)===null||u===void 0?void 0:u.locals)===null||S===void 0?void 0:S.get(r.escapedText),ve=a.exports;if(F){var Ge=ve==null?void 0:ve.get("export=");if(Ge)_c(Ge,F)?je(n,r,t,s):Jn(r,e.Diagnostics.Module_0_has_no_exported_member_1,s,t);else{var Je=ve?e.find(ou(ve),function(tn){return!!_c(tn,F)}):void 0,Xe=Je?Jn(r,e.Diagnostics.Module_0_declares_1_locally_but_it_is_exported_as_2,s,t,Qa(Je)):Jn(r,e.Diagnostics.Module_0_declares_1_locally_but_it_is_not_exported,s,t);F.declarations&&e.addRelatedInfo.apply(void 0,Vr([Xe],e.map(F.declarations,function(tn,Dn){return e.createDiagnosticForNode(tn,Dn===0?e.Diagnostics._0_is_declared_here:e.Diagnostics.and_here,t)}),!1))}}else Jn(r,e.Diagnostics.Module_0_has_no_exported_member_1,s,t)}function je(n,r,t,a){if(pn>=e.ModuleKind.ES2015){var s=pe.esModuleInterop?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;Jn(r,s,t)}else if(e.isInJSFile(n)){var s=pe.esModuleInterop?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;Jn(r,s,t)}else{var s=pe.esModuleInterop?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;Jn(r,s,t,t,a)}}function _n(n,r){var t=e.isBindingElement(n)?e.getRootDeclaration(n):n.parent.parent.parent,a=Nn(t),s=h(t,a||n,r),u=n.propertyName||n.name;return a&&s&&e.isIdentifier(u)?Ba(wn(kt(s),u.escapedText),r):(to(n,void 0,s,!1),s)}function Nn(n){if(e.isVariableDeclaration(n)&&n.initializer&&e.isPropertyAccessExpression(n.initializer))return n.initializer}function er(n,r){var t=Dt(n.parent.symbol,r);return to(n,void 0,t,!1),t}function pr(n,r,t){var a=n.parent.parent.moduleSpecifier?h(n.parent.parent,n,t):ki(n.propertyName||n.name,r,!1,t);return to(n,void 0,a,!1),a}function kr(n,r){var t=e.isExportAssignment(n)?n.expression:n.right,a=Er(t,r);return to(n,void 0,a,!1),a}function Er(n,r){if(e.isClassExpression(n))return ll(n).symbol;if(!(!e.isEntityName(n)&&!e.isEntityNameExpression(n))){var t=ki(n,901119,!0,r);return t||(ll(n),da(n).resolvedSymbol)}}function gt(n,r){var t=n.initializer;return Er(t,r)}function rt(n,r){if(e.isBinaryExpression(n.parent)&&n.parent.left===n&&n.parent.operatorToken.kind===63)return Er(n.parent.right,r)}function ma(n,r){switch(r===void 0&&(r=!1),n.kind){case 263:case 252:return Ud(n,r);case 265:return vf(n,r);case 266:return xs(n,r);case 272:return sl(n,r);case 268:case 201:return _n(n,r);case 273:return pr(n,901119,r);case 269:case 219:return kr(n,r);case 262:return er(n,r);case 292:return ki(n.name,901119,!0,r);case 291:return gt(n,r);case 205:case 204:return rt(n,r);default:return e.Debug.fail()}}function Ai(n,r){return r===void 0&&(r=901119),n?(n.flags&(2097152|r))===2097152||!!(n.flags&2097152&&n.flags&67108864):!1}function Ba(n,r){return!r&&Ai(n)?_i(n):n}function _i(n){e.Debug.assert((n.flags&2097152)!==0,"Should only get Alias here.");var r=Za(n);if(r.target)r.target===yr&&(r.target=Xn);else{r.target=yr;var t=Jl(n);if(!t)return e.Debug.fail();var a=ma(t);r.target===yr?r.target=a||Xn:Jn(t,e.Diagnostics.Circular_definition_of_import_alias_0,Qa(n))}return r.target}function No(n){var r=Za(n);if(r.target!==yr)return _i(n)}function to(n,r,t,a){if(!n||e.isPropertyAccessExpression(n))return!1;var s=wt(n);if(e.isTypeOnlyImportOrExportDeclaration(n)){var u=Za(s);return u.typeOnlyDeclaration=n,!0}var S=Za(s);return Ca(S,r,a)||Ca(S,t,a)}function Ca(n,r,t){var a,s,u;if(r&&(n.typeOnlyDeclaration===void 0||t&&n.typeOnlyDeclaration===!1)){var S=(s=(a=r.exports)===null||a===void 0?void 0:a.get("export="))!==null&&s!==void 0?s:r,F=S.declarations&&e.find(S.declarations,e.isTypeOnlyImportOrExportDeclaration);n.typeOnlyDeclaration=(u=F!=null?F:Za(S).typeOnlyDeclaration)!==null&&u!==void 0?u:!1}return!!n.typeOnlyDeclaration}function Qt(n){if(n.flags&2097152){var r=Za(n);return r.typeOnlyDeclaration||void 0}}function ni(n){var r=wt(n),t=_i(r);if(t){var a=t===Xn||t.flags&111551&&!Pg(t)&&!Qt(r);a&&Wa(r)}}function Wa(n){var r=Za(n);if(!r.referenced){r.referenced=!0;var t=Jl(n);if(!t)return e.Debug.fail();if(e.isInternalModuleImportEqualsDeclaration(t)){var a=Ba(n);(a===Xn||a.flags&111551)&&ll(t.moduleReference)}}}function qa(n){var r=Za(n);r.constEnumReferenced||(r.constEnumReferenced=!0)}function so(n,r){return n.kind===79&&e.isRightSideOfQualifiedNameOrPropertyAccess(n)&&(n=n.parent),n.kind===79||n.parent.kind===159?ki(n,1920,!1,r):(e.Debug.assert(n.parent.kind===263),ki(n,901119,!1,r))}function Vi(n,r){return n.parent?Vi(n.parent,r)+"."+Qa(n):Qa(n,r,void 0,20)}function ki(n,r,t,a,s){if(!e.nodeIsMissing(n)){var u=1920|(e.isInJSFile(n)?r&111551:0),S;if(n.kind===79){var F=r===u||e.nodeIsSynthesized(n)?e.Diagnostics.Cannot_find_namespace_0:MS(e.getFirstIdentifier(n)),ve=e.isInJSFile(n)&&!e.nodeIsSynthesized(n)?Gs(n,r):void 0;if(S=Eo(es(s||n,n.escapedText,r,t||ve?void 0:F,n,!0)),!S)return Eo(ve)}else if(n.kind===159||n.kind===204){var Ge=n.kind===159?n.left:n.expression,Je=n.kind===159?n.right:n.name,Xe=ki(Ge,u,t,!1,s);if(!Xe||e.nodeIsMissing(Je))return;if(Xe===Xn)return Xe;if(Xe.valueDeclaration&&e.isInJSFile(Xe.valueDeclaration)&&e.isVariableDeclaration(Xe.valueDeclaration)&&Xe.valueDeclaration.initializer&&f2(Xe.valueDeclaration.initializer)){var tn=Xe.valueDeclaration.initializer.arguments[0],Dn=wo(tn,tn);if(Dn){var nr=Dt(Dn);nr&&(Xe=nr)}}if(S=Eo($o(al(Xe),Je.escapedText,r)),!S){if(!t){var sr=Vi(Xe),Ir=e.declarationNameToString(Je),xr=Zh(Je,Xe);xr?Jn(Je,e.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2,sr,Ir,Qa(xr)):Jn(Je,e.Diagnostics.Namespace_0_has_no_exported_member_1,sr,Ir)}return}}else throw e.Debug.assertNever(n,"Unknown entity name kind.");return e.Debug.assert((e.getCheckFlags(S)&1)===0,"Should never get an instantiated symbol here."),!e.nodeIsSynthesized(n)&&e.isEntityName(n)&&(S.flags&2097152||n.parent.kind===269)&&to(e.getAliasDeclarationFromName(n),S,void 0,!0),S.flags&r||a?S:_i(S)}}function Gs(n,r){if(uh(n.parent)){var t=Ds(n.parent);if(t)return es(t,n.escapedText,r,void 0,n,!0)}}function Ds(n){var r=e.findAncestor(n,function(u){return e.isJSDocNode(u)||u.flags&4194304?e.isJSDocTypeAlias(u):"quit"});if(!r){var t=e.getJSDocHost(n);if(t&&e.isExpressionStatement(t)&&e.isBinaryExpression(t.expression)&&e.getAssignmentDeclarationKind(t.expression)===3){var a=wt(t.expression.left);if(a)return ko(a)}if(t&&(e.isObjectLiteralMethod(t)||e.isPropertyAssignment(t))&&e.isBinaryExpression(t.parent.parent)&&e.getAssignmentDeclarationKind(t.parent.parent)===6){var a=wt(t.parent.parent.left);if(a)return ko(a)}var s=e.getEffectiveJSDocHost(n);if(s&&e.isFunctionLike(s)){var a=wt(s);return a&&a.valueDeclaration}}}function ko(n){var r=n.parent.valueDeclaration;if(r){var t=e.isAssignmentDeclaration(r)?e.getAssignedExpandoInitializer(r):e.hasOnlyExpressionInitializer(r)?e.getDeclaredExpandoInitializer(r):void 0;return t||r}}function Pt(n){var r=n.valueDeclaration;if(!(!r||!e.isInJSFile(r)||n.flags&524288||e.getExpandoInitializer(r,!1))){var t=e.isVariableDeclaration(r)?e.getDeclaredExpandoInitializer(r):e.getAssignedExpandoInitializer(r);if(t){var a=wt(t);if(a)return e1(a,n)}}}function wo(n,r,t){var a=e.getEmitModuleResolutionKind(pe)===e.ModuleResolutionKind.Classic,s=a?e.Diagnostics.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option:e.Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations;return gi(n,r,t?void 0:s)}function gi(n,r,t,a){return a===void 0&&(a=!1),e.isStringLiteralLike(r)?Qc(n,r.text,t,r,a):void 0}function Qc(n,r,t,a,s){if(s===void 0&&(s=!1),e.startsWith(r,"@types/")){var u=e.Diagnostics.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1,S=e.removePrefix(r,"@types/");Jn(a,u,S,r)}var F=qp(r,!0);if(F)return F;var ve=e.getSourceFileOfNode(n),Ge=e.getResolvedModule(ve,r),Je=Ge&&e.getResolutionDiagnostic(pe,Ge),Xe=Ge&&!Je&&x.getSourceFile(Ge.resolvedFileName);if(Xe){if(Xe.symbol)return Ge.isExternalLibraryImport&&!e.resolutionExtensionIsTSOrJson(Ge.extension)&&Vd(!1,a,Ge,r),Eo(Xe.symbol);t&&Jn(a,e.Diagnostics.File_0_is_not_a_module,Xe.fileName);return}if(Uo){var tn=e.findBestPatternMatch(Uo,function(ct){return ct.pattern},r);if(tn){var Dn=cs&&cs.get(r);return Eo(Dn||tn.symbol)}}if(Ge&&!e.resolutionExtensionIsTSOrJson(Ge.extension)&&Je===void 0||Je===e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type){if(s){var u=e.Diagnostics.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented;Jn(a,u,r,Ge.resolvedFileName)}else Vd(En&&!!t,a,Ge,r);return}if(t){if(Ge){var nr=x.getProjectReferenceRedirect(Ge.resolvedFileName);if(nr){Jn(a,e.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,nr,Ge.resolvedFileName);return}}if(Je)Jn(a,Je,r,Ge.resolvedFileName);else{var sr=e.tryExtractTSExtension(r);if(sr){var u=e.Diagnostics.An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead,Ir=e.removeExtension(r,sr),xr=Ir,Gr=e.getEmitModuleKind(pe);Gr>=e.ModuleKind.ES2015&&(xr+=".js"),Jn(a,u,sr,xr)}else!pe.resolveJsonModule&&e.fileExtensionIs(r,".json")&&e.getEmitModuleResolutionKind(pe)===e.ModuleResolutionKind.NodeJs&&e.hasJsonModuleEmitEnabled(pe)?Jn(a,e.Diagnostics.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,r):Jn(a,t,r)}}}function Vd(n,r,t,a){var s=t.packageId,u=t.resolvedFileName,S=!e.isExternalModuleNameRelative(a)&&s?hu(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)):e.chainDiagnosticMessages(void 0,e.Diagnostics.Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,a,e.mangleScopedPackageName(s.name)):void 0;Es(n,r,e.chainDiagnosticMessages(S,e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,a,u))}function hu(n){return me().has(e.getTypesPackageName(n))}function Dt(n,r){if(n!=null&&n.exports){var t=Ba(n.exports.get("export="),r),a=hf(Eo(t),Eo(n));return Eo(a)||n}}function hf(n,r){if(!n||n===Xn||n===r||r.exports.size===1||n.flags&2097152)return n;var t=Za(n);if(t.cjsExportMerged)return t.cjsExportMerged;var a=n.flags&33554432?n:_u(n);return a.flags=a.flags|512,a.exports===void 0&&(a.exports=e.createSymbolTable()),r.exports.forEach(function(s,u){u!=="export="&&a.exports.set(u,a.exports.has(u)?qc(a.exports.get(u),s):s)}),Za(a).cjsExportMerged=a,t.cjsExportMerged=a}function Ls(n,r,t,a){var s=Dt(n,t);if(!t&&s){if(!a&&!(s.flags&1539)&&!e.getDeclarationOfKind(s,300)){var u=pn>=e.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop";return Jn(r,e.Diagnostics.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,u),s}if(pe.esModuleInterop){var S=r.parent;if(e.isImportDeclaration(S)&&e.getNamespaceDeclarationNode(S)||e.isImportCall(S)){var F=kt(s),ve=Fr(F,0);if((!ve||!ve.length)&&(ve=Fr(F,1)),ve&&ve.length){var Ge=u2(F,s,n),Je=fo(s.flags,s.escapedName);Je.declarations=s.declarations?s.declarations.slice():[],Je.parent=s.parent,Je.target=s,Je.originatingImport=S,s.valueDeclaration&&(Je.valueDeclaration=s.valueDeclaration),s.constEnumOnlyModule&&(Je.constEnumOnlyModule=!0),s.members&&(Je.members=new e.Map(s.members)),s.exports&&(Je.exports=new e.Map(s.exports));var Xe=Du(Ge);return Je.type=qo(Je,Xe.members,e.emptyArray,e.emptyArray,Xe.indexInfos),Je}}}}return s}function Dl(n){return n.exports.get("export=")!==void 0}function ec(n){return ou(Ic(n))}function Ff(n){var r=ec(n),t=Dt(n);if(t!==n){var a=kt(t);Gf(a)&&e.addRange(r,bo(a))}return r}function dp(n,r){var t=Ic(n);t.forEach(function(u,S){dl(S)||r(u,S)});var a=Dt(n);if(a!==n){var s=kt(a);Gf(s)&&bo(s).forEach(function(u){r(u,u.escapedName)})}}function Mu(n,r){var t=Ic(r);if(t)return t.get(n)}function Bc(n,r){var t=Mu(n,r);if(t)return t;var a=Dt(r);if(a!==r){var s=kt(a);return Gf(s)?wn(s,n):void 0}}function Gf(n){return!(n.flags&131068||e.getObjectFlags(n)&1||Gl(n)||ji(n))}function al(n){return n.flags&6256?Kp(n,"resolvedExports"):n.flags&1536?Ic(n):n.exports||Ne}function Ic(n){var r=Za(n);return r.resolvedExports||(r.resolvedExports=yf(n))}function Wd(n,r,t,a){r&&r.forEach(function(s,u){if(u!=="default"){var S=n.get(u);if(!S)n.set(u,s),t&&a&&t.set(u,{specifierText:e.getTextOfNode(a.moduleSpecifier)});else if(t&&a&&S&&Ba(S)!==Ba(s)){var F=t.get(u);F.exportsWithDuplicate?F.exportsWithDuplicate.push(a):F.exportsWithDuplicate=[a]}}})}function yf(n){var r=[];return n=Dt(n),t(n)||Ne;function t(a){if(a&&a.exports&&e.pushIfUnique(r,a)){var s=new e.Map(a.exports),u=a.exports.get("__export");if(u){var S=e.createSymbolTable(),F=new e.Map;if(u.declarations)for(var ve=0,Ge=u.declarations;ve=Je?Ge.substr(0,Je-3)+"...":Ge}function Vf(n,r){var t=Ed(n.symbol)?Lt(n,n.symbol.valueDeclaration):Lt(n),a=Ed(r.symbol)?Lt(r,r.symbol.valueDeclaration):Lt(r);return t===a&&(t=wu(n),a=wu(r)),[t,a]}function wu(n){return Lt(n,void 0,64)}function Ed(n){return n&&!!n.valueDeclaration&&e.isExpression(n.valueDeclaration)&&!Au(n.valueDeclaration)}function Wf(n){return n===void 0&&(n=0),n&814775659}function bd(n){return!!n.symbol&&!!(n.symbol.flags&32)&&(n===lc(n.symbol)||!!(n.flags&524288)&&!!(e.getObjectFlags(n)&16777216))}function of(){return{typeToTypeNode:function(rr,yn,pt,mt){return n(yn,pt,mt,function(Ft){return a(rr,Ft)})},indexInfoToIndexSignatureDeclaration:function(rr,yn,pt,mt){return n(yn,pt,mt,function(Ft){return Ge(rr,Ft,void 0)})},signatureToSignatureDeclaration:function(rr,yn,pt,mt,Ft){return n(pt,mt,Ft,function(Bt){return Je(rr,yn,Bt)})},symbolToEntityName:function(rr,yn,pt,mt,Ft){return n(pt,mt,Ft,function(Bt){return mi(rr,Bt,yn,!1)})},symbolToExpression:function(rr,yn,pt,mt,Ft){return n(pt,mt,Ft,function(Bt){return ai(rr,Bt,yn)})},symbolToTypeParameterDeclarations:function(rr,yn,pt,mt){return n(yn,pt,mt,function(Ft){return xr(rr,Ft)})},symbolToParameterDeclaration:function(rr,yn,pt,mt){return n(yn,pt,mt,function(Ft){return Dn(rr,Ft)})},typeParameterToDeclaration:function(rr,yn,pt,mt){return n(yn,pt,mt,function(Ft){return tn(rr,Ft)})},symbolTableToDeclarationStatements:function(rr,yn,pt,mt,Ft){return n(yn,pt,mt,function(Bt){return Wi(rr,Bt,Ft)})}};function n(rr,yn,pt,mt){var Ft,Bt;e.Debug.assert(rr===void 0||(rr.flags&8)===0);var Ht={enclosingDeclaration:rr,flags:yn||0,tracker:pt&&pt.trackSymbol?pt:{trackSymbol:function(){return!1},moduleResolverHost:yn&134217728?{getCommonSourceDirectory:x.getCommonSourceDirectory?function(){return x.getCommonSourceDirectory()}:function(){return""},getCurrentDirectory:function(){return x.getCurrentDirectory()},getSymlinkCache:e.maybeBind(x,x.getSymlinkCache),useCaseSensitiveFileNames:e.maybeBind(x,x.useCaseSensitiveFileNames),redirectTargetsMap:x.redirectTargetsMap,getProjectReferenceRedirect:function(Qn){return x.getProjectReferenceRedirect(Qn)},isSourceOfProjectReferenceRedirect:function(Qn){return x.isSourceOfProjectReferenceRedirect(Qn)},fileExists:function(Qn){return x.fileExists(Qn)},getFileIncludeReasons:function(){return x.getFileIncludeReasons()}}:void 0},encounteredError:!1,reportedDiagnostic:!1,visitedTypes:void 0,symbolDepth:void 0,inferTypeParameters:void 0,approximateLength:0};Ht.tracker=r(Ht,Ht.tracker);var fa=mt(Ht);return Ht.truncating&&Ht.flags&1&&((Bt=(Ft=Ht.tracker)===null||Ft===void 0?void 0:Ft.reportTruncationError)===null||Bt===void 0||Bt.call(Ft)),Ht.encounteredError?void 0:fa}function r(rr,yn){var pt=yn.trackSymbol;return Mt(Mt({},yn),{reportCyclicStructureError:mt(yn.reportCyclicStructureError),reportInaccessibleThisError:mt(yn.reportInaccessibleThisError),reportInaccessibleUniqueSymbolError:mt(yn.reportInaccessibleUniqueSymbolError),reportLikelyUnsafeImportRequiredError:mt(yn.reportLikelyUnsafeImportRequiredError),reportNonlocalAugmentation:mt(yn.reportNonlocalAugmentation),reportPrivateInBaseOfClassExpression:mt(yn.reportPrivateInBaseOfClassExpression),reportNonSerializableProperty:mt(yn.reportNonSerializableProperty),trackSymbol:pt&&function(){for(var Ft=[],Bt=0;Bt(rr.flags&1?e.noTruncationMaximumTruncationLength:e.defaultMaximumTruncationLength)}function a(rr,yn){z&&z.throwIfCancellationRequested&&z.throwIfCancellationRequested();var pt=yn.flags&8388608;if(yn.flags&=-8388609,!rr){if(!(yn.flags&262144)){yn.encounteredError=!0;return}return yn.approximateLength+=3,e.factory.createKeywordTypeNode(129)}if(yn.flags&536870912||(rr=iu(rr)),rr.flags&1)return yn.approximateLength+=3,e.factory.createKeywordTypeNode(rr===Gn?137:129);if(rr.flags&2)return e.factory.createKeywordTypeNode(153);if(rr.flags&4)return yn.approximateLength+=6,e.factory.createKeywordTypeNode(148);if(rr.flags&8)return yn.approximateLength+=6,e.factory.createKeywordTypeNode(145);if(rr.flags&64)return yn.approximateLength+=6,e.factory.createKeywordTypeNode(156);if(rr.flags&16&&!rr.aliasSymbol)return yn.approximateLength+=7,e.factory.createKeywordTypeNode(132);if(rr.flags&1024&&!(rr.flags&1048576)){var mt=Kl(rr.symbol),Ft=_t(mt,yn,788968);if(rs(mt)===rr)return Ft;var Bt=e.symbolName(rr.symbol);return e.isIdentifierText(Bt,0)?Rp(Ft,e.factory.createTypeReferenceNode(Bt,void 0)):e.isImportTypeNode(Ft)?(Ft.isTypeOf=!0,e.factory.createIndexedAccessTypeNode(Ft,e.factory.createLiteralTypeNode(e.factory.createStringLiteral(Bt)))):e.isTypeReferenceNode(Ft)?e.factory.createIndexedAccessTypeNode(e.factory.createTypeQueryNode(Ft.typeName),e.factory.createLiteralTypeNode(e.factory.createStringLiteral(Bt))):e.Debug.fail("Unhandled type node kind returned from `symbolToTypeNode`.")}if(rr.flags&1056)return _t(rr.symbol,yn,788968);if(rr.flags&128)return yn.approximateLength+=rr.value.length+2,e.factory.createLiteralTypeNode(e.setEmitFlags(e.factory.createStringLiteral(rr.value,!!(yn.flags&268435456)),16777216));if(rr.flags&256){var Ht=rr.value;return yn.approximateLength+=(""+Ht).length,e.factory.createLiteralTypeNode(Ht<0?e.factory.createPrefixUnaryExpression(40,e.factory.createNumericLiteral(-Ht)):e.factory.createNumericLiteral(Ht))}if(rr.flags&2048)return yn.approximateLength+=e.pseudoBigIntToString(rr.value).length+1,e.factory.createLiteralTypeNode(e.factory.createBigIntLiteral(rr.value));if(rr.flags&512)return yn.approximateLength+=rr.intrinsicName.length,e.factory.createLiteralTypeNode(rr.intrinsicName==="true"?e.factory.createTrue():e.factory.createFalse());if(rr.flags&8192){if(!(yn.flags&1048576)){if(Eu(rr.symbol,yn.enclosingDeclaration))return yn.approximateLength+=6,_t(rr.symbol,yn,111551);yn.tracker.reportInaccessibleUniqueSymbolError&&yn.tracker.reportInaccessibleUniqueSymbolError()}return yn.approximateLength+=13,e.factory.createTypeOperatorNode(152,e.factory.createKeywordTypeNode(149))}if(rr.flags&16384)return yn.approximateLength+=4,e.factory.createKeywordTypeNode(114);if(rr.flags&32768)return yn.approximateLength+=9,e.factory.createKeywordTypeNode(151);if(rr.flags&65536)return yn.approximateLength+=4,e.factory.createLiteralTypeNode(e.factory.createNull());if(rr.flags&131072)return yn.approximateLength+=5,e.factory.createKeywordTypeNode(142);if(rr.flags&4096)return yn.approximateLength+=6,e.factory.createKeywordTypeNode(149);if(rr.flags&67108864)return yn.approximateLength+=6,e.factory.createKeywordTypeNode(146);if(uv(rr))return yn.flags&4194304&&(!yn.encounteredError&&!(yn.flags&32768)&&(yn.encounteredError=!0),yn.tracker.reportInaccessibleThisError&&yn.tracker.reportInaccessibleThisError()),yn.approximateLength+=4,e.factory.createThisTypeNode();if(!pt&&rr.aliasSymbol&&(yn.flags&16384||vd(rr.aliasSymbol,yn.enclosingDeclaration))){var fa=F(rr.aliasTypeArguments,yn);return dl(rr.aliasSymbol.escapedName)&&!(rr.aliasSymbol.flags&32)?e.factory.createTypeReferenceNode(e.factory.createIdentifier(""),fa):_t(rr.aliasSymbol,yn,788968,fa)}var Qn=e.getObjectFlags(rr);if(Qn&4)return e.Debug.assert(!!(rr.flags&524288)),rr.node?Ws(rr,Xs):Xs(rr);if(rr.flags&262144||Qn&3){if(rr.flags&262144&&e.contains(yn.inferTypeParameters,rr))return yn.approximateLength+=e.symbolName(rr.symbol).length+6,e.factory.createInferTypeNode(Xe(rr,yn,void 0));if(yn.flags&4&&rr.flags&262144&&!vd(rr.symbol,yn.enclosingDeclaration)){var Nr=sa(rr,yn);return yn.approximateLength+=e.idText(Nr).length,e.factory.createTypeReferenceNode(e.factory.createIdentifier(e.idText(Nr)),void 0)}return rr.symbol?_t(rr.symbol,yn,788968):e.factory.createTypeReferenceNode(e.factory.createIdentifier("?"),void 0)}if(rr.flags&1048576&&rr.origin&&(rr=rr.origin),rr.flags&3145728){var Jr=rr.flags&1048576?sc(rr.types):rr.types;if(e.length(Jr)===1)return a(Jr[0],yn);var tt=F(Jr,yn,!0);if(tt&&tt.length>0)return rr.flags&1048576?e.factory.createUnionTypeNode(tt):e.factory.createIntersectionTypeNode(tt);!yn.encounteredError&&!(yn.flags&262144)&&(yn.encounteredError=!0);return}if(Qn&48)return e.Debug.assert(!!(rr.flags&524288)),il(rr);if(rr.flags&4194304){var ut=rr.type;yn.approximateLength+=6;var Ct=a(ut,yn);return e.factory.createTypeOperatorNode(139,Ct)}if(rr.flags&134217728){var pa=rr.texts,Oa=rr.types,Di=e.factory.createTemplateHead(pa[0]),xa=e.factory.createNodeArray(e.map(Oa,function(ja,Ki){return e.factory.createTemplateLiteralTypeSpan(a(ja,yn),(Ki10)return s(yn);yn.symbolDepth.set(jr,bt+1)}yn.visitedTypes.add(tr);var It=yn.approximateLength,Ja=Ki(ja),Ri=yn.approximateLength-It;return!yn.reportedDiagnostic&&!yn.encounteredError&&(yn.truncating&&(Ja.truncating=!0),Ja.addedLength=Ri,(So=it==null?void 0:it.serializedTypes)===null||So===void 0||So.set(Kt,Ja)),yn.visitedTypes.delete(tr),jr&&yn.symbolDepth.set(jr,bt),Ja;function Oi(ro){return!e.nodeIsSynthesized(ro)&&e.getParseTreeNode(ro)===ro?ro:e.setTextRange(e.factory.cloneNode(e.visitEachChild(ro,Oi,e.nullTransformationContext)),ro)}}function ld(ja){if(hc(ja)||ja.containsError)return Zs(ja);var Ki=Du(ja);if(!Ki.properties.length&&!Ki.indexInfos.length){if(!Ki.callSignatures.length&&!Ki.constructSignatures.length)return yn.approximateLength+=2,e.setEmitFlags(e.factory.createTypeLiteralNode(void 0),1);if(Ki.callSignatures.length===1&&!Ki.constructSignatures.length){var Ts=Ki.callSignatures[0],So=Je(Ts,177,yn);return So}if(Ki.constructSignatures.length===1&&!Ki.callSignatures.length){var Ts=Ki.constructSignatures[0],So=Je(Ts,178,yn);return So}}var tr=e.filter(Ki.constructSignatures,function(bt){return!!(bt.flags&4)});if(e.some(tr)){var br=e.map(tr,f_),jr=Ki.callSignatures.length+(Ki.constructSignatures.length-tr.length)+Ki.indexInfos.length+(yn.flags&2048?e.countWhere(Ki.properties,function(bt){return!(bt.flags&4194304)}):e.length(Ki.properties));return jr&&br.push(mp(Ki)),a(Ro(br),yn)}var it=yn.flags;yn.flags|=4194304;var Kt=U_(Ki);yn.flags=it;var St=e.factory.createTypeLiteralNode(Kt);return yn.approximateLength+=2,e.setEmitFlags(St,yn.flags&1024?0:1),St}function Xs(ja){var Ki=Co(ja);if(ja.target===_r||ja.target===$r){if(yn.flags&2){var Ts=a(Ki[0],yn);return e.factory.createTypeReferenceNode(ja.target===_r?"Array":"ReadonlyArray",[Ts])}var So=a(Ki[0],yn),tr=e.factory.createArrayTypeNode(So);return ja.target===_r?tr:e.factory.createTypeOperatorNode(143,tr)}else if(ja.target.objectFlags&8){if(Ki=e.sameMap(Ki,function(ss,Ss){return Bm(ss,!!(ja.target.elementFlags[Ss]&2))}),Ki.length>0){var br=rp(ja),jr=F(Ki.slice(0,br),yn);if(jr){if(ja.target.labeledElementDeclarations)for(var it=0;it0){var js=(ja.target.typeParameters||e.emptyArray).length;_s=F(Ki.slice(it,js),yn)}var Kt=yn.flags;yn.flags|=16;var os=_t(ja.symbol,yn,788968,_s);return yn.flags=Kt,It?Rp(It,os):os}}function Rp(ja,Ki){if(e.isImportTypeNode(ja)){var Ts=ja.typeArguments,So=ja.qualifier;So&&(e.isIdentifier(So)?So=e.factory.updateIdentifier(So,Ts):So=e.factory.updateQualifiedName(So,So.left,e.factory.updateIdentifier(So.right,Ts))),Ts=Ki.typeArguments;for(var tr=Mg(Ki),br=0,jr=tr;br2)return[a(rr[0],yn),e.factory.createTypeReferenceNode("... "+(rr.length-2)+" more ...",void 0),a(rr[rr.length-1],yn)]}else return[e.factory.createTypeReferenceNode("...",void 0)];for(var mt=!(yn.flags&64),Ft=mt?e.createUnderscoreEscapedMultiMap():void 0,Bt=[],Ht=0,fa=0,Qn=rr;fa0)):Ft=[rr],Ft;function Ht(fa,Qn,Nr){var Jr=gd(fa,yn.enclosingDeclaration,Qn,!!(yn.flags&128)),tt;if(!Jr||Hd(Jr[0],yn.enclosingDeclaration,Jr.length===1?Qn:rf(Qn))){var ut=ef(Jr?Jr[0]:fa,yn.enclosingDeclaration,Qn);if(e.length(ut)){tt=ut.map(function(Mo){return e.some(Mo.declarations,af)?Vt(Mo,yn):void 0});var Ct=ut.map(function(Mo,Qo){return Qo});Ct.sort(Wo);for(var pa=Ct.map(function(Mo){return ut[Mo]}),Oa=0,Di=pa;Oa1?Oa(Ft,Ft.length-1,1):void 0,fa=mt||Gr(Ft,0,yn),Qn=Vt(Ft[0],yn);!(yn.flags&67108864)&&e.getEmitModuleResolutionKind(pe)===e.ModuleResolutionKind.NodeJs&&Qn.indexOf("/node_modules/")>=0&&(yn.encounteredError=!0,yn.tracker.reportLikelyUnsafeImportRequiredError&&yn.tracker.reportLikelyUnsafeImportRequiredError(Qn));var Nr=e.factory.createLiteralTypeNode(e.factory.createStringLiteral(Qn));if(yn.tracker.trackExternalModuleSymbolOfImportTypeNode&&yn.tracker.trackExternalModuleSymbolOfImportTypeNode(Ft[0]),yn.approximateLength+=Qn.length+10,!Ht||e.isEntityName(Ht)){if(Ht){var Jr=e.isIdentifier(Ht)?Ht:Ht.right;Jr.typeArguments=void 0}return e.factory.createImportTypeNode(Nr,Ht,fa,Bt)}else{var tt=ct(Ht),ut=tt.objectType.typeName;return e.factory.createIndexedAccessTypeNode(e.factory.createImportTypeNode(Nr,ut,fa,Bt),tt.indexType)}}var Ct=Oa(Ft,Ft.length-1,0);if(e.isIndexedAccessTypeNode(Ct))return Ct;if(Bt)return e.factory.createTypeQueryNode(Ct);var Jr=e.isIdentifier(Ct)?Ct:Ct.right,pa=Jr.typeArguments;return Jr.typeArguments=void 0,e.factory.createTypeReferenceNode(Ct,pa);function Oa(Di,xa,lo){var Wo=xa===Di.length-1?mt:Gr(Di,xa,yn),Mo=Di[xa],Qo=Di[xa-1],Zs;if(xa===0)yn.flags|=16777216,Zs=sf(Mo,yn),yn.approximateLength+=(Zs?Zs.length:0)+1,yn.flags^=16777216;else if(Qo&&al(Qo)){var il=al(Qo);e.forEachEntry(il,function(Xs,Rp){if(_c(Xs,Mo)&&!ml(Rp)&&Rp!=="export=")return Zs=e.unescapeLeadingUnderscores(Rp),!0})}if(Zs||(Zs=sf(Mo,yn)),yn.approximateLength+=Zs.length+1,!(yn.flags&16)&&Qo&&Hc(Qo)&&Hc(Qo).get(Mo.escapedName)&&_c(Hc(Qo).get(Mo.escapedName),Mo)){var Ws=Oa(Di,xa-1,lo);return e.isIndexedAccessTypeNode(Ws)?e.factory.createIndexedAccessTypeNode(Ws,e.factory.createLiteralTypeNode(e.factory.createStringLiteral(Zs))):e.factory.createIndexedAccessTypeNode(e.factory.createTypeReferenceNode(Ws,Wo),e.factory.createLiteralTypeNode(e.factory.createStringLiteral(Zs)))}var ld=e.setEmitFlags(e.factory.createIdentifier(Zs,Wo),16777216);if(ld.symbol=Mo,xa>lo){var Ws=Oa(Di,xa-1,lo);return e.isEntityName(Ws)?e.factory.createQualifiedName(Ws,ld):e.Debug.fail("Impossible construct - an export of an indexed access cannot be reachable")}return ld}}function Ta(rr,yn,pt){var mt=es(yn.enclosingDeclaration,rr,788968,void 0,rr,!1);return mt?!(mt.flags&262144&&mt===pt.symbol):!1}function sa(rr,yn){var pt,mt;if(yn.flags&4&&yn.typeParameterNames){var Ft=yn.typeParameterNames.get(cu(rr));if(Ft)return Ft}var Bt=mi(rr.symbol,yn,788968,!0);if(!(Bt.kind&79))return e.factory.createIdentifier("(Missing type parameter)");if(yn.flags&4){for(var Ht=Bt.escapedText,fa=((pt=yn.typeParameterNamesByTextNextNameCount)===null||pt===void 0?void 0:pt.get(Ht))||0,Qn=Ht;!((mt=yn.typeParameterNamesByText)===null||mt===void 0)&&mt.has(Qn)||Ta(Qn,yn,rr);)fa++,Qn=Ht+"_"+fa;Qn!==Ht&&(Bt=e.factory.createIdentifier(Qn,Bt.typeArguments)),(yn.typeParameterNamesByTextNextNameCount||(yn.typeParameterNamesByTextNextNameCount=new e.Map)).set(Ht,fa),(yn.typeParameterNames||(yn.typeParameterNames=new e.Map)).set(cu(rr),Bt),(yn.typeParameterNamesByText||(yn.typeParameterNamesByText=new e.Set)).add(Ht)}return Bt}function mi(rr,yn,pt,mt){var Ft=sr(rr,yn,pt);return mt&&Ft.length!==1&&!yn.encounteredError&&!(yn.flags&65536)&&(yn.encounteredError=!0),Bt(Ft,Ft.length-1);function Bt(Ht,fa){var Qn=Gr(Ht,fa,yn),Nr=Ht[fa];fa===0&&(yn.flags|=16777216);var Jr=sf(Nr,yn);fa===0&&(yn.flags^=16777216);var tt=e.setEmitFlags(e.factory.createIdentifier(Jr,Qn),16777216);return tt.symbol=Nr,fa>0?e.factory.createQualifiedName(Bt(Ht,fa-1),tt):tt}}function ai(rr,yn,pt){var mt=sr(rr,yn,pt);return Ft(mt,mt.length-1);function Ft(Bt,Ht){var fa=Gr(Bt,Ht,yn),Qn=Bt[Ht];Ht===0&&(yn.flags|=16777216);var Nr=sf(Qn,yn);Ht===0&&(yn.flags^=16777216);var Jr=Nr.charCodeAt(0);if(e.isSingleOrDoubleQuote(Jr)&&e.some(Qn.declarations,af))return e.factory.createStringLiteral(Vt(Qn,yn));var tt=Jr===35?Nr.length>1&&e.isIdentifierStart(Nr.charCodeAt(1),we):e.isIdentifierStart(Jr,we);if(Ht===0||tt){var ut=e.setEmitFlags(e.factory.createIdentifier(Nr,fa),16777216);return ut.symbol=Qn,Ht>0?e.factory.createPropertyAccessExpression(Ft(Bt,Ht-1),ut):ut}else{Jr===91&&(Nr=Nr.substring(1,Nr.length-1),Jr=Nr.charCodeAt(0));var Ct=void 0;return e.isSingleOrDoubleQuote(Jr)?Ct=e.factory.createStringLiteral(Nr.substring(1,Nr.length-1).replace(/\\./g,function(pa){return pa.substring(1)}),Jr===39):""+ +Nr===Nr&&(Ct=e.factory.createNumericLiteral(+Nr)),Ct||(Ct=e.setEmitFlags(e.factory.createIdentifier(Nr,fa),16777216),Ct.symbol=Qn),e.factory.createElementAccessExpression(Ft(Bt,Ht-1),Ct)}}}function Hi(rr){var yn=e.getNameOfDeclaration(rr);return!!yn&&e.isStringLiteral(yn)}function ii(rr){var yn=e.getNameOfDeclaration(rr);return!!(yn&&e.isStringLiteral(yn)&&(yn.singleQuote||!e.nodeIsSynthesized(yn)&&e.startsWith(e.getTextOfNode(yn,!1),"'")))}function go(rr,yn){var pt=!!e.length(rr.declarations)&&e.every(rr.declarations,ii),mt=xo(rr,yn,pt);if(mt)return mt;var Ft=e.unescapeLeadingUnderscores(rr.escapedName),Bt=!!e.length(rr.declarations)&&e.every(rr.declarations,Hi);return Yr(Ft,Bt,pt)}function xo(rr,yn,pt){var mt=Za(rr).nameType;if(mt){if(mt.flags&384){var Ft=""+mt.value;return!e.isIdentifierText(Ft,pe.target)&&!id(Ft)?e.factory.createStringLiteral(Ft,!!pt):id(Ft)&&e.startsWith(Ft,"-")?e.factory.createComputedPropertyName(e.factory.createNumericLiteral(+Ft)):Yr(Ft)}if(mt.flags&8192)return e.factory.createComputedPropertyName(ai(mt.symbol,yn,111551))}}function Yr(rr,yn,pt){return e.isIdentifierText(rr,pe.target)?e.factory.createIdentifier(rr):!yn&&id(rr)&&+rr>=0?e.factory.createNumericLiteral(+rr):e.factory.createStringLiteral(rr,!!pt)}function Pr(rr){var yn=Mt({},rr);return yn.typeParameterNames&&(yn.typeParameterNames=new e.Map(yn.typeParameterNames)),yn.typeParameterNamesByText&&(yn.typeParameterNamesByText=new e.Set(yn.typeParameterNamesByText)),yn.typeParameterSymbolList&&(yn.typeParameterSymbolList=new e.Set(yn.typeParameterSymbolList)),yn.tracker=r(yn,yn.tracker),yn}function Aa(rr,yn){return rr.declarations&&e.find(rr.declarations,function(pt){return!!e.getEffectiveTypeAnnotationNode(pt)&&(!yn||!!e.findAncestor(pt,function(mt){return mt===yn}))})}function Ga(rr,yn){return!(e.getObjectFlags(yn)&4)||!e.isTypeReferenceNode(rr)||e.length(rr.typeArguments)>=Lu(yn.target.typeParameters)}function na(rr,yn,pt,mt,Ft,Bt){if(yn!==J&&mt){var Ht=Aa(pt,mt);if(Ht&&!e.isFunctionLikeDeclaration(Ht)&&!e.isGetAccessorDeclaration(Ht)){var fa=e.getEffectiveTypeAnnotationNode(Ht);if(Ra(fa)===yn&&Ga(fa,yn)){var Qn=Ji(rr,fa,Ft,Bt);if(Qn)return Qn}}}var Nr=rr.flags;yn.flags&8192&&yn.symbol===pt&&(!rr.enclosingDeclaration||e.some(pt.declarations,function(tt){return e.getSourceFileOfNode(tt)===e.getSourceFileOfNode(rr.enclosingDeclaration)}))&&(rr.flags|=1048576);var Jr=a(yn,rr);return rr.flags=Nr,Jr}function si(rr,yn,pt,mt,Ft){if(yn!==J&&rr.enclosingDeclaration){var Bt=pt.declaration&&e.getEffectiveReturnTypeNode(pt.declaration);if(e.findAncestor(Bt,function(Nr){return Nr===rr.enclosingDeclaration})&&Bt){var Ht=Ra(Bt),fa=Ht.flags&262144&&Ht.isThisType?fi(Ht,pt.mapper):Ht;if(fa===yn&&Ga(Bt,yn)){var Qn=Ji(rr,Bt,mt,Ft);if(Qn)return Qn}}}return a(yn,rr)}function jt(rr,yn,pt){var mt,Ft,Bt=!1,Ht=e.getFirstIdentifier(rr);if(e.isInJSFile(rr)&&(e.isExportsIdentifier(Ht)||e.isModuleExportsAccessExpression(Ht.parent)||e.isQualifiedName(Ht.parent)&&e.isModuleIdentifier(Ht.parent.left)&&e.isExportsIdentifier(Ht.parent.right)))return Bt=!0,{introducesError:Bt,node:rr};var fa=ki(Ht,67108863,!0,!0);if(fa&&(tf(fa,yn.enclosingDeclaration,67108863,!1).accessibility!==0?Bt=!0:((Ft=(mt=yn.tracker)===null||mt===void 0?void 0:mt.trackSymbol)===null||Ft===void 0||Ft.call(mt,fa,yn.enclosingDeclaration,67108863),pt==null||pt(fa)),e.isIdentifier(rr))){var Qn=fa.flags&262144?sa(rs(fa),yn):e.factory.cloneNode(rr);return Qn.symbol=fa,{introducesError:Bt,node:e.setEmitFlags(e.setOriginalNode(Qn,rr),16777216)}}return{introducesError:Bt,node:rr}}function Ji(rr,yn,pt,mt){z&&z.throwIfCancellationRequested&&z.throwIfCancellationRequested();var Ft=!1,Bt=e.getSourceFileOfNode(yn),Ht=e.visitNode(yn,fa);if(Ft)return;return Ht===yn?e.setTextRange(e.factory.cloneNode(yn),yn):Ht;function fa(Qn){if(e.isJSDocAllType(Qn)||Qn.kind===314)return e.factory.createKeywordTypeNode(129);if(e.isJSDocUnknownType(Qn))return e.factory.createKeywordTypeNode(153);if(e.isJSDocNullableType(Qn))return e.factory.createUnionTypeNode([e.visitNode(Qn.type,fa),e.factory.createLiteralTypeNode(e.factory.createNull())]);if(e.isJSDocOptionalType(Qn))return e.factory.createUnionTypeNode([e.visitNode(Qn.type,fa),e.factory.createKeywordTypeNode(151)]);if(e.isJSDocNonNullableType(Qn))return e.visitNode(Qn.type,fa);if(e.isJSDocVariadicType(Qn))return e.factory.createArrayTypeNode(e.visitNode(Qn.type,fa));if(e.isJSDocTypeLiteral(Qn))return e.factory.createTypeLiteralNode(e.map(Qn.jsDocPropertyTags,function(xa){var lo=e.isIdentifier(xa.name)?xa.name:xa.name.right,Wo=Os(Ra(Qn),lo.escapedText),Mo=Wo&&xa.typeExpression&&Ra(xa.typeExpression.type)!==Wo?a(Wo,rr):void 0;return e.factory.createPropertySignature(void 0,lo,xa.isBracketed||xa.typeExpression&&e.isJSDocOptionalType(xa.typeExpression.type)?e.factory.createToken(57):void 0,Mo||xa.typeExpression&&e.visitNode(xa.typeExpression.type,fa)||e.factory.createKeywordTypeNode(129))}));if(e.isTypeReferenceNode(Qn)&&e.isIdentifier(Qn.typeName)&&Qn.typeName.escapedText==="")return e.setOriginalNode(e.factory.createKeywordTypeNode(129),Qn);if((e.isExpressionWithTypeArguments(Qn)||e.isTypeReferenceNode(Qn))&&e.isJSDocIndexSignature(Qn))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(Qn.typeArguments[0],fa))],e.visitNode(Qn.typeArguments[1],fa))]);if(e.isJSDocFunctionType(Qn))if(e.isJSDocConstructSignature(Qn)){var Nr;return e.factory.createConstructorTypeNode(Qn.modifiers,e.visitNodes(Qn.typeParameters,fa),e.mapDefined(Qn.parameters,function(xa,lo){return xa.name&&e.isIdentifier(xa.name)&&xa.name.escapedText==="new"?(Nr=xa.type,void 0):e.factory.createParameterDeclaration(void 0,void 0,pa(xa),Oa(xa,lo),xa.questionToken,e.visitNode(xa.type,fa),void 0)}),e.visitNode(Nr||Qn.type,fa)||e.factory.createKeywordTypeNode(129))}else return e.factory.createFunctionTypeNode(e.visitNodes(Qn.typeParameters,fa),e.map(Qn.parameters,function(xa,lo){return e.factory.createParameterDeclaration(void 0,void 0,pa(xa),Oa(xa,lo),xa.questionToken,e.visitNode(xa.type,fa),void 0)}),e.visitNode(Qn.type,fa)||e.factory.createKeywordTypeNode(129));if(e.isTypeReferenceNode(Qn)&&e.isInJSDoc(Qn)&&(!Ga(Qn,Ra(Qn))||oT(Qn)||Xn===m_(ig(Qn),788968,!0)))return e.setOriginalNode(a(Ra(Qn),rr),Qn);if(e.isLiteralImportTypeNode(Qn)){var Jr=da(Qn).resolvedSymbol;return e.isInJSDoc(Qn)&&Jr&&(!Qn.isTypeOf&&!(Jr.flags&788968)||!(e.length(Qn.typeArguments)>=Lu(Nt(Jr))))?e.setOriginalNode(a(Ra(Qn),rr),Qn):e.factory.updateImportTypeNode(Qn,e.factory.updateLiteralTypeNode(Qn.argument,Di(Qn,Qn.argument.literal)),Qn.qualifier,e.visitNodes(Qn.typeArguments,fa,e.isTypeNode),Qn.isTypeOf)}if(e.isEntityName(Qn)||e.isEntityNameExpression(Qn)){var tt=jt(Qn,rr,pt),ut=tt.introducesError,Ct=tt.node;if(Ft=Ft||ut,Ct!==Qn)return Ct}return Bt&&e.isTupleTypeNode(Qn)&&e.getLineAndCharacterOfPosition(Bt,Qn.pos).line===e.getLineAndCharacterOfPosition(Bt,Qn.end).line&&e.setEmitFlags(Qn,1),e.visitEachChild(Qn,fa,e.nullTransformationContext);function pa(xa){return xa.dotDotDotToken||(xa.type&&e.isJSDocVariadicType(xa.type)?e.factory.createToken(25):void 0)}function Oa(xa,lo){return xa.name&&e.isIdentifier(xa.name)&&xa.name.escapedText==="this"?"this":pa(xa)?"args":"arg"+lo}function Di(xa,lo){if(mt){if(rr.tracker&&rr.tracker.moduleResolverHost){var Wo=F1(xa);if(Wo){var Mo=e.createGetCanonicalFileName(!!x.useCaseSensitiveFileNames),Qo={getCanonicalFileName:Mo,getCurrentDirectory:function(){return rr.tracker.moduleResolverHost.getCurrentDirectory()},getCommonSourceDirectory:function(){return rr.tracker.moduleResolverHost.getCommonSourceDirectory()}},Zs=e.getResolvedExternalModuleName(Qo,Wo);return e.factory.createStringLiteral(Zs)}}}else if(rr.tracker&&rr.tracker.trackExternalModuleSymbolOfImportTypeNode){var il=gi(lo,lo,void 0);il&&rr.tracker.trackExternalModuleSymbolOfImportTypeNode(il)}return lo}}}function Wi(rr,yn,pt){var mt=Ri(e.factory.createPropertyDeclaration,167,!0),Ft=Ri(function(fr,Rt,Ea,aa,la){return e.factory.createPropertySignature(Rt,Ea,aa,la)},166,!1),Bt=yn.enclosingDeclaration,Ht=[],fa=new e.Set,Qn=[],Nr=yn;yn=Mt(Mt({},Nr),{usedSymbolNames:new e.Set(Nr.usedSymbolNames),remappedSymbolNames:new e.Map,tracker:Mt(Mt({},Nr.tracker),{trackSymbol:function(fr,Rt,Ea){var aa=tf(fr,Rt,Ea,!1);if(aa.accessibility===0){var la=Ir(fr,yn,Ea);fr.flags&4||Ws(la[0])}else if(Nr.tracker&&Nr.tracker.trackSymbol)return Nr.tracker.trackSymbol(fr,Rt,Ea);return!1}})}),yn.tracker=r(yn,yn.tracker),e.forEachEntry(rr,function(fr,Rt){var Ea=e.unescapeLeadingUnderscores(Rt);Ss(fr,Ea)});var Jr=!pt,tt=rr.get("export=");return tt&&rr.size>1&&tt.flags&2097152&&(rr=e.createSymbolTable(),rr.set("export=",tt)),Qo(rr),xa(Ht);function ut(fr){return!!fr&&fr.kind===79}function Ct(fr){return e.isVariableStatement(fr)?e.filter(e.map(fr.declarationList.declarations,e.getNameOfDeclaration),ut):e.filter([e.getNameOfDeclaration(fr)],ut)}function pa(fr){var Rt=e.find(fr,e.isExportAssignment),Ea=e.findIndex(fr,e.isModuleDeclaration),aa=Ea!==-1?fr[Ea]:void 0;if(aa&&Rt&&Rt.isExportEquals&&e.isIdentifier(Rt.expression)&&e.isIdentifier(aa.name)&&e.idText(aa.name)===e.idText(Rt.expression)&&aa.body&&e.isModuleBlock(aa.body)){var la=e.filter(fr,function(Xa){return!!(e.getEffectiveModifierFlags(Xa)&1)}),oi=aa.name,Ka=aa.body;if(e.length(la)&&(aa=e.factory.updateModuleDeclaration(aa,aa.decorators,aa.modifiers,aa.name,Ka=e.factory.updateModuleBlock(Ka,e.factory.createNodeArray(Vr(Vr([],aa.body.statements,!0),[e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.map(e.flatMap(la,function(Xa){return Ct(Xa)}),function(Xa){return e.factory.createExportSpecifier(void 0,Xa)})),void 0)],!1)))),fr=Vr(Vr(Vr([],fr.slice(0,Ea),!0),[aa],!1),fr.slice(Ea+1),!0)),!e.find(fr,function(Xa){return Xa!==aa&&e.nodeHasName(Xa,oi)})){Ht=[];var xi=!e.some(Ka.statements,function(Xa){return e.hasSyntacticModifier(Xa,1)||e.isExportAssignment(Xa)||e.isExportDeclaration(Xa)});e.forEach(Ka.statements,function(Xa){Xs(Xa,xi?1:0)}),fr=Vr(Vr([],e.filter(fr,function(Xa){return Xa!==aa&&Xa!==Rt}),!0),Ht,!0)}}return fr}function Oa(fr){var Rt=e.filter(fr,function(Ua){return e.isExportDeclaration(Ua)&&!Ua.moduleSpecifier&&!!Ua.exportClause&&e.isNamedExports(Ua.exportClause)});if(e.length(Rt)>1){var Ea=e.filter(fr,function(Ua){return!e.isExportDeclaration(Ua)||!!Ua.moduleSpecifier||!Ua.exportClause});fr=Vr(Vr([],Ea,!0),[e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.flatMap(Rt,function(Ua){return e.cast(Ua.exportClause,e.isNamedExports).elements})),void 0)],!1)}var aa=e.filter(fr,function(Ua){return e.isExportDeclaration(Ua)&&!!Ua.moduleSpecifier&&!!Ua.exportClause&&e.isNamedExports(Ua.exportClause)});if(e.length(aa)>1){var la=e.group(aa,function(Ua){return e.isStringLiteral(Ua.moduleSpecifier)?">"+Ua.moduleSpecifier.text:">"});if(la.length!==aa.length)for(var oi=function(Ua){Ua.length>1&&(fr=Vr(Vr([],e.filter(fr,function(co){return Ua.indexOf(co)===-1}),!0),[e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.flatMap(Ua,function(co){return e.cast(co.exportClause,e.isNamedExports).elements})),Ua[0].moduleSpecifier)],!1))},Ka=0,xi=la;Ka=0){var Ea=fr[Rt],aa=e.mapDefined(Ea.exportClause.elements,function(la){if(!la.propertyName){var oi=e.indicesOf(fr),Ka=e.filter(oi,function(co){return e.nodeHasName(fr[co],la.name)});if(e.length(Ka)&&e.every(Ka,function(co){return lo(fr[co])})){for(var xi=0,Xa=Ka;xi0&&e.isSingleOrDoubleQuote(aa.charCodeAt(0))?e.stripQuotes(aa):aa}return Rt==="default"?Rt="_default":Rt==="export="&&(Rt="_exports"),Rt=e.isIdentifierText(Rt,we)&&!e.isStringANonContextualKeyword(Rt)?Rt:"_"+Rt.replace(/[^a-zA-Z0-9]/g,"_"),Rt}function Ss(fr,Rt){var Ea=C(fr);return yn.remappedSymbolNames.has(Ea)?yn.remappedSymbolNames.get(Ea):(Rt=ss(fr,Rt),yn.remappedSymbolNames.set(Ea,Rt),Rt)}}}function gc(n,r,t,a){return t===void 0&&(t=16384),a?s(a).getText():e.usingSingleLineStringWriter(s);function s(u){var S=e.factory.createTypePredicateNode(n.kind===2||n.kind===3?e.factory.createToken(128):void 0,n.kind===1||n.kind===3?e.factory.createIdentifier(n.parameterName):e.factory.createThisTypeNode(),n.type&&Pe.typeToTypeNode(n.type,r,Wf(t)|70221824|512)),F=e.createPrinter({removeComments:!0}),ve=r&&e.getSourceFileOfNode(r);return F.writeNode(4,S,ve,u),u}}function sc(n){for(var r=[],t=0,a=0;a=0){for(var a=Ko.length,s=t;s=0;t--){if(qd(Ko[t],hl[t]))return-1;if(Ko[t]===n&&hl[t]===r)return t}return-1}function qd(n,r){switch(r){case 0:return!!Za(n).type;case 5:return!!da(n).resolvedEnumType;case 2:return!!Za(n).declaredType;case 1:return!!n.resolvedBaseConstructorType;case 3:return!!n.resolvedReturnType;case 4:return!!n.immediateBaseConstraint;case 6:return!!n.resolvedTypeArguments;case 7:return!!n.baseTypesResolved}return e.Debug.assertNever(r)}function Oc(){return Ko.pop(),hl.pop(),hs.pop()}function jf(n){return e.findAncestor(e.getRootDeclaration(n),function(r){switch(r.kind){case 252:case 253:case 268:case 267:case 266:case 265:return!1;default:return!0}}).parent}function bu(n){var r=rs(Kl(n));return r.typeParameters?Yf(r,e.map(r.typeParameters,function(t){return cr})):r}function Os(n,r){var t=wn(n,r);return t?kt(t):void 0}function Fp(n,r){var t;return Os(n,r)||((t=Yl(n,r))===null||t===void 0?void 0:t.type)||cn}function no(n){return n&&(n.flags&1)!==0}function Hf(n){var r=wt(n);return r&&Za(r).type||ns(n,!1)}function Ld(n,r,t){if(n=Nl(n,function(Je){return!(Je.flags&98304)}),n.flags&131072)return Lr;if(n.flags&1048576)return Ps(n,function(Je){return Ld(Je,r,t)});var a=Sa(e.map(r,tp));if(vm(n)||Pm(a)){if(a.flags&131072)return n;var s=kL();return s?ag(s,[n,a]):J}for(var u=e.createSymbolTable(),S=0,F=bo(n);S=2?OL(cr):dn;var S=e.map(a,function(Je){return e.isOmittedExpression(Je)?cr:dm(Je,r,t)}),F=e.findLastIndex(a,function(Je){return!(Je===u||e.isOmittedExpression(Je)||L_(Je))},a.length-1)+1,ve=e.map(a,function(Je,Xe){return Je===u?4:Xe>=F?2:1}),Ge=Vu(S,ve);return r&&(Ge=$1(Ge),Ge.pattern=n,Ge.objectFlags|=262144),Ge}function Ad(n,r,t){return r===void 0&&(r=!1),t===void 0&&(t=!1),n.kind===199?$m(n,r,t):Wp(n,r,t)}function Cd(n,r){return bn(ns(n,!0),n,r)}function ke(n){var r=wt(n),t=hL(!1);return t&&r&&r===t}function bn(n,r,t){return n?(n.flags&4096&&ke(r.parent)&&(n=xE(r)),t&&Ih(r,n),n.flags&8192&&(e.isBindingElement(r)||!r.type)&&n.symbol!==wt(r)&&(n=qt),fc(n)):(n=e.isParameter(r)&&r.dotDotDotToken?dn:cr,t&&(Yn(r)||Cp(r,n)),n)}function Yn(n){var r=e.getRootDeclaration(n),t=r.kind===162?r.parent:r;return py(t)}function dr(n){var r=e.getEffectiveTypeAnnotationNode(n);if(r)return Ra(r)}function Mr(n){var r=Za(n);if(!r.type){var t=lt(n);r.type||(r.type=t)}return r.type}function lt(n){if(n.flags&4194304)return bu(n);if(n===$e)return cr;if(n.flags&134217728&&n.valueDeclaration){var r=wt(e.getSourceFileOfNode(n.valueDeclaration)),t=fo(r.flags,"exports");t.declarations=r.declarations?r.declarations.slice():[],t.parent=n,t.target=r,r.valueDeclaration&&(t.valueDeclaration=r.valueDeclaration),r.members&&(t.members=new e.Map(r.members)),r.exports&&(t.exports=new e.Map(r.exports));var a=e.createSymbolTable();return a.set("exports",t),qo(n,a,e.emptyArray,e.emptyArray,e.emptyArray)}e.Debug.assertIsDefined(n.valueDeclaration);var s=n.valueDeclaration;if(e.isCatchClauseVariableDeclarationOrBindingElement(s)){var u=e.getEffectiveTypeAnnotationNode(s);if(u===void 0)return In?cn:cr;var S=sm(u);return no(S)||S===cn?S:J}if(e.isSourceFile(s)&&e.isJsonSourceFile(s))return s.statements.length?fc(Ap(vi(s.statements[0].expression))):Lr;if(!Vc(n,0))return n.flags&512&&!(n.flags&67108864)?yl(n):Ml(n);var F;if(s.kind===269)F=bn(ll(s.expression),s);else if(e.isBinaryExpression(s)||e.isInJSFile(s)&&(e.isCallExpression(s)||(e.isPropertyAccessExpression(s)||e.isBindableStaticElementAccessExpression(s))&&e.isBinaryExpression(s.parent)))F=jc(n);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(n.flags&9136)return yl(n);F=e.isBinaryExpression(s.parent)?jc(n):dr(s)||cr}else if(e.isPropertyAssignment(s))F=dr(s)||k2(s);else if(e.isJsxAttribute(s))F=dr(s)||b0(s);else if(e.isShorthandPropertyAssignment(s))F=dr(s)||P_(s.name,0);else if(e.isObjectLiteralMethod(s))F=dr(s)||R2(s,0);else if(e.isParameter(s)||e.isPropertyDeclaration(s)||e.isPropertySignature(s)||e.isVariableDeclaration(s)||e.isBindingElement(s)||e.isJSDocPropertyLikeTag(s))F=Cd(s,!0);else if(e.isEnumDeclaration(s))F=yl(n);else if(e.isEnumMember(s))F=Pc(n);else if(e.isAccessor(s))F=ms(n)||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(n));return Oc()?F:n.flags&512&&!(n.flags&67108864)?yl(n):Ml(n)}function Gt(n){if(n)if(n.kind===170){var r=e.getEffectiveReturnTypeNode(n);return r}else{var t=e.getEffectiveSetAccessorTypeAnnotationNode(n);return t}}function ta(n){var r=Gt(n);return r&&Ra(r)}function pi(n){var r=U1(n);return r&&r.symbol}function ka(n){return Id(su(n))}function Do(n){var r=Za(n);return r.type||(r.type=Lo(n)||e.Debug.fail("Read type of accessor must always produce a type"))}function Is(n){var r=Za(n);return r.writeType||(r.writeType=Lo(n,!0))}function Lo(n,r){if(r===void 0&&(r=!1),!Vc(n,0))return J;var t=ms(n,r);if(!Oc()&&(t=cr,En)){var a=e.getDeclarationOfKind(n,170);Jn(a,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,Qa(n))}return t}function ms(n,r){r===void 0&&(r=!1);var t=e.getDeclarationOfKind(n,170),a=e.getDeclarationOfKind(n,171),s=ta(a);if(r&&s)return ve(s,n);if(t&&e.isInJSFile(t)){var u=Pa(t);if(u)return ve(u,n)}var S=ta(t);if(S)return ve(S,n);if(s)return s;if(t&&t.body){var F=cy(t);return ve(F,n)}if(a)return py(a)||Es(En,a,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,Qa(n)),cr;if(t)return e.Debug.assert(!!t,"there must exist a getter as we are current checking either setter or getter in this function"),py(t)||Es(En,t,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,Qa(n)),cr;return;function ve(Ge,Je){if(e.getCheckFlags(Je)&1){var Xe=Za(Je);return fi(Ge,Xe.mapper)}return Ge}}function Us(n){var r=cf(lc(n));return r.flags&8650752?r:r.flags&2097152?e.find(r.types,function(t){return!!(t.flags&8650752)}):void 0}function yl(n){var r=Za(n),t=r;if(!r.type){var a=n.valueDeclaration&&oy(n.valueDeclaration,!1);if(a){var s=e1(n,a);s&&(n=r=s)}t.type=r.type=Cl(n)}return r.type}function Cl(n){var r=n.valueDeclaration;if(n.flags&1536&&e.isShorthandAmbientModuleSymbol(n))return cr;if(r&&(r.kind===219||e.isAccessExpression(r)&&r.parent.kind===219))return jc(n);if(n.flags&512&&r&&e.isSourceFile(r)&&r.commonJsModuleIndicator){var t=Dt(n);if(t!==n){if(!Vc(n,0))return J;var a=Eo(n.exports.get("export=")),s=jc(a,a===t?void 0:t);return Oc()?s:Ml(n)}}var u=fl(16,n);if(n.flags&32){var S=Us(n);return S?Ro([u,S]):u}else return He&&n.flags&16777216?td(u):u}function Pc(n){var r=Za(n);return r.type||(r.type=Qd(n))}function tc(n){var r=Za(n);if(!r.type){var t=_i(n),a=n.declarations&&ma(Jl(n),!0);r.type=a!=null&&a.declarations&&Ly(a.declarations)&&n.declarations.length?Ll(a):Ly(n.declarations)?Fe:t.flags&111551?kt(t):J}return r.type}function Tf(n){var r=Za(n);if(!r.type){if(!Vc(n,0))return r.type=J;var t=fi(kt(r.target),r.mapper);Oc()||(t=Ml(n)),r.type=t}return r.type}function Ml(n){var r=n.valueDeclaration;return e.getEffectiveTypeAnnotationNode(r)?(Jn(n.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Qa(n)),J):(En&&(r.kind!==162||r.initializer)&&Jn(n.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,Qa(n)),cr)}function zl(n){var r=Za(n);return r.type||(e.Debug.assertIsDefined(r.deferralParent),e.Debug.assertIsDefined(r.deferralConstituents),r.type=r.deferralParent.flags&1048576?Sa(r.deferralConstituents):Ro(r.deferralConstituents)),r.type}function Jf(n){if(n.flags&98304){var r=Is(n);if(r)return r}return kt(n)}function kt(n){var r=e.getCheckFlags(n);return r&65536?zl(n):r&1?Tf(n):r&262144?Jy(n):r&8192?wC(n):n.flags&7?Mr(n):n.flags&9136?yl(n):n.flags&8?Pc(n):n.flags&98304?Do(n):n.flags&2097152?tc(n):J}function El(n){return Bm(kt(n),!!(n.flags&16777216))}function _(n,r){return n!==void 0&&r!==void 0&&(e.getObjectFlags(n)&4)!==0&&n.target===r}function B(n){return e.getObjectFlags(n)&4?n.target:n}function Ee(n,r){return t(n);function t(a){if(e.getObjectFlags(a)&7){var s=B(a);return s===r||e.some(vc(s),t)}else if(a.flags&2097152)return e.some(a.types,t);return!1}}function on(n,r){for(var t=0,a=r;t0)return!0;if(n.flags&8650752){var r=Xl(n);return!!r&&Yo(r)}return!1}function nu(n){return e.getEffectiveBaseTypeNode(n.symbol.valueDeclaration)}function Sf(n,r,t){var a=e.length(r),s=e.isInJSFile(t);return e.filter(zr(n,1),function(u){return(s||a>=Lu(u.typeParameters))&&a<=e.length(u.typeParameters)})}function Kf(n,r,t){var a=Sf(n,r,t),s=e.map(r,Ra);return e.sameMap(a,function(u){return e.some(u.typeParameters)?ov(u,s,e.isInJSFile(t)):u})}function cf(n){if(!n.resolvedBaseConstructorType){var r=n.symbol.valueDeclaration,t=e.getEffectiveBaseTypeNode(r),a=nu(n);if(!a)return n.resolvedBaseConstructorType=Rn;if(!Vc(n,1))return J;var s=vi(a.expression);if(t&&a!==t&&(e.Debug.assert(!t.typeArguments),vi(t.expression)),s.flags&2621440&&Du(s),!Oc())return Jn(n.symbol.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,Qa(n.symbol)),n.resolvedBaseConstructorType=J;if(!(s.flags&1)&&s!==ir&&!nl(s)){var u=Jn(a.expression,e.Diagnostics.Type_0_is_not_a_constructor_function_type,Lt(s));if(s.flags&262144){var S=d_(s),F=cn;if(S){var ve=zr(S,1);ve[0]&&(F=_o(ve[0]))}s.symbol.declarations&&e.addRelatedInfo(u,e.createDiagnosticForNode(s.symbol.declarations[0],e.Diagnostics.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,Qa(s.symbol),Lt(F)))}return n.resolvedBaseConstructorType=J}n.resolvedBaseConstructorType=s}return n.resolvedBaseConstructorType}function j_(n){var r=e.emptyArray;if(n.symbol.declarations)for(var t=0,a=n.symbol.declarations;t=Dn&&ve<=nr){var sr=nr?sh(tn,np(F,tn.typeParameters,Dn,S)):gm(tn);sr.typeParameters=n.localTypeParameters,sr.resolvedReturnType=n,sr.flags=s?sr.flags|4:sr.flags&-5,Ge.push(sr)}}return Ge}function Hg(n,r,t,a,s){for(var u=0,S=n;u0)return;for(var a=1;a1&&(t=t===void 0?a:-1);for(var s=0,u=n[a];s1){var Ge=S.thisParameter,Je=e.forEach(F,function(ct){return ct.thisParameter});if(Je){var Xe=Ro(e.mapDefined(F,function(ct){return ct.thisParameter&&kt(ct.thisParameter)}));Ge=Sm(Je,Xe)}ve=jg(S,F),ve.thisParameter=Ge}(r||(r=[])).push(ve)}}}}if(!e.length(r)&&t!==-1){for(var tn=n[t!==void 0?t:0],Dn=tn.slice(),nr=function(ct){if(ct!==tn){var Vt=ct[0];if(e.Debug.assert(!!Vt,"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass"),Dn=Vt.typeParameters&&e.some(Dn,function(_t){return!!_t.typeParameters&&!Jg(Vt.typeParameters,_t.typeParameters)})?void 0:e.map(Dn,function(_t){return Gy(_t,Vt)}),!Dn)return"break"}},sr=0,Ir=n;sr=s?n:r,S=u===n?r:n,F=u===n?a:s,ve=Ku(n)||Ku(r),Ge=ve&&!Ku(u),Je=new Array(F+(Ge?1:0)),Xe=0;Xe=Ju(u)&&Xe>=Ju(S),xr=Xe>=a?void 0:k_(n,Xe),Gr=Xe>=s?void 0:k_(r,Xe),ct=xr===Gr?xr:xr?Gr?void 0:xr:Gr,Vt=fo(1|(Ir&&!sr?16777216:0),ct||"arg"+Xe);Vt.type=sr?bl(nr):nr,Je[Xe]=Vt}if(Ge){var _t=fo(1,"args");_t.type=bl(fu(S,F)),S===r&&(_t.type=fi(_t.type,t)),Je[F]=_t}return Je}function Gy(n,r){var t=n.typeParameters||r.typeParameters,a;n.typeParameters&&r.typeParameters&&(a=uc(r.typeParameters,n.typeParameters));var s=n.declaration,u=Fy(n,r,a),S=q_(n.thisParameter,r.thisParameter,a),F=Math.max(n.minArgumentCount,r.minArgumentCount),ve=Tu(s,t,S,u,void 0,void 0,F,(n.flags|r.flags)&39);return ve.compositeKind=1048576,ve.compositeSignatures=e.concatenate(n.compositeKind!==2097152&&n.compositeSignatures||[n],[r]),a&&(ve.mapper=n.compositeKind!==2097152&&n.mapper&&n.compositeSignatures?Em(n.mapper,a):a),ve}function Zv(n){var r=Ei(n[0]);if(r){for(var t=[],a=function(F){var ve=F.keyType;e.every(n,function(Ge){return!!po(Ge,ve)})&&t.push(Uu(ve,Sa(e.map(n,function(Ge){return Ns(Ge,ve)})),e.some(n,function(Ge){return po(Ge,ve).isReadonly})))},s=0,u=r;s0}),t=e.map(n,Yo);if(r>0&&r===e.countWhere(t,function(s){return s})){var a=t.indexOf(!0);t[a]=!1}return t}function Uy(n,r,t,a){for(var s=[],u=0;u0&&(Xe=e.map(Xe,function(tn){var Dn=gm(tn);return Dn.resolvedReturnType=Uy(_o(tn),s,u,Ge),Dn})),t=Kg(t,Xe)}r=Kg(r,zr(Je,0)),a=e.reduceLeft(Ei(Je),function(tn,Dn){return eh(tn,Dn,!1)},a)},ve=0;ve=7):r.flags&528?va:r.flags&12288?pT(we>=2):r.flags&67108864?Lr:r.flags&4194304?at:r.flags&2&&!He?Lr:r}function l_(n){return iu(Il(iu(n)))}function oh(n,r,t){for(var a,s,u,S,F,ve=n.flags&1048576,Ge=ve?0:16777216,Je=4,Xe=0,tn=!1,Dn=0,nr=n.types;Dn2?(Aa.checkFlags|=65536,Aa.deferralParent=n,Aa.deferralConstituents=ii):Aa.type=ve?Sa(ii):Ro(ii),Aa}}function nv(n,r,t){var a,s,u=!((a=n.propertyCacheWithoutObjectFunctionPropertyAugment)===null||a===void 0)&&a.get(r)||!t?(s=n.propertyCache)===null||s===void 0?void 0:s.get(r):void 0;if(!u&&(u=oh(n,r,t),u)){var S=t?n.propertyCacheWithoutObjectFunctionPropertyAugment||(n.propertyCacheWithoutObjectFunctionPropertyAugment=e.createSymbolTable()):n.propertyCache||(n.propertyCache=e.createSymbolTable());S.set(r,u)}return u}function $_(n,r,t){var a=nv(n,r,t);return a&&!(e.getCheckFlags(a)&16)?a:void 0}function iu(n){return n.flags&1048576&&n.objectFlags&33554432?n.resolvedReducedType||(n.resolvedReducedType=eE(n)):n.flags&2097152?(n.objectFlags&33554432||(n.objectFlags|=33554432|(e.some(o_(n),nE)?67108864:0)),n.objectFlags&67108864?Jt:n):n}function eE(n){var r=e.sameMap(n.types,iu);if(r===n.types)return n;var t=Sa(r);return t.flags&1048576&&(t.resolvedReducedType=t),t}function nE(n){return l(n)||Q(n)}function l(n){return!(n.flags&16777216)&&(e.getCheckFlags(n)&131264)===192&&!!(kt(n).flags&131072)}function Q(n){return!n.valueDeclaration&&!!(e.getCheckFlags(n)&1024)}function ln(n,r){if(r.flags&2097152&&e.getObjectFlags(r)&67108864){var t=e.find(o_(r),l);if(t)return e.chainDiagnosticMessages(n,e.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents,Lt(r,void 0,536870912),Qa(t));var a=e.find(o_(r),Q);if(a)return e.chainDiagnosticMessages(n,e.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some,Lt(r,void 0,536870912),Qa(a))}return n}function wn(n,r,t){if(n=l_(n),n.flags&524288){var a=Du(n),s=a.members.get(r);if(s&&Nc(s))return s;if(t)return;var u=a===$t?Jo:a.callSignatures.length?is:a.constructSignatures.length?mn:void 0;if(u){var S=Df(u,r);if(S)return S}return Df(us,r)}if(n.flags&3145728)return $_(n,r,t)}function Fr(n,r){if(n.flags&3670016){var t=Du(n);return r===0?t.callSignatures:t.constructSignatures}return e.emptyArray}function zr(n,r){return Fr(l_(n),r)}function oa(n,r){return e.find(n,function(t){return t.keyType===r})}function La(n,r){for(var t,a,s,u=0,S=n;u=0),t>=Ju(r,3)}var a=e.getImmediatelyInvokedFunctionExpression(n.parent);return a?!n.type&&!n.dotDotDotToken&&n.parent.parameters.indexOf(n)>=a.arguments.length:!1}function c_(n){return e.isPropertyDeclaration(n)&&n.questionToken}function u_(n){if(!e.isJSDocPropertyLikeTag(n))return!1;var r=n.isBracketed,t=n.typeExpression;return r||!!t&&t.type.kind===311}function Xp(n,r,t,a){return{kind:n,parameterName:r,parameterIndex:t,type:a}}function Lu(n){var r=0;if(n)for(var t=0;t=t&&u<=s){for(var S=n?n.slice():[],F=u;FF.arguments.length&&!Dn||xd(Xe);sr||(s=t.length)}if((n.kind===170||n.kind===171)&&wl(n)&&(!S||!u)){var Ir=n.kind===170?171:170,xr=e.getDeclarationOfKind(wt(n),Ir);xr&&(u=pi(xr))}var Gr=n.kind===169?lc(Eo(n.parent.symbol)):void 0,ct=Gr?Gr.localTypeParameters:Vs(n);(e.hasRestParameter(n)||e.isInJSFile(n)&&rE(n,t))&&(a|=1),(e.isConstructorTypeNode(n)&&e.hasSyntacticModifier(n,128)||e.isConstructorDeclaration(n)&&e.hasSyntacticModifier(n.parent,128))&&(a|=4),r.resolvedSignature=Tu(n,ct,u,t,void 0,void 0,s,a)}return r.resolvedSignature}function rE(n,r){if(e.isJSDocSignature(n)||!eg(n))return!1;var t=e.lastOrUndefined(n.parameters),a=t?e.getJSDocParameterTags(t):e.getJSDocTags(n).filter(e.isJSDocParameterTag),s=e.firstDefined(a,function(S){return S.typeExpression&&e.isJSDocVariadicType(S.typeExpression.type)?S.typeExpression.type:void 0}),u=fo(3,"args",32768);return u.type=s?bl(Ra(s.type)):dn,s&&r.pop(),r.push(u),!0}function rv(n){if(e.isInJSFile(n)&&e.isFunctionLikeDeclaration(n)){var r=e.getJSDocTypeTag(n);return(r==null?void 0:r.typeExpression)&&Dm(Ra(r.typeExpression))}}function tv(n){var r=rv(n);return r&&_o(r)}function eg(n){var r=da(n);return r.containsArgumentsReference===void 0&&(r.flags&8192?r.containsArgumentsReference=!0:r.containsArgumentsReference=t(n.body)),r.containsArgumentsReference;function t(a){if(!a)return!1;switch(a.kind){case 79:return a.escapedText===Le.escapedName&&xu(a)===Le;case 165:case 167:case 170:case 171:return a.name.kind===160&&t(a.name);case 204:case 205:return t(a.expression);default:return!e.nodeStartsNewLexicalEnvironment(a)&&!e.isPartOfTypeNode(a)&&!!e.forEachChild(a,t)}}}function uf(n){if(!n||!n.declarations)return e.emptyArray;for(var r=[],t=0;t0&&a.body){var s=n.declarations[t-1];if(a.parent===s.parent&&a.kind===s.kind&&a.pos===s.end)continue}r.push(su(a))}}return r}function ng(n){var r=wo(n,n);if(r){var t=Dt(r);if(t)return kt(t)}return cr}function Id(n){if(n.thisParameter)return kt(n.thisParameter)}function Cc(n){if(!n.resolvedTypePredicate){if(n.target){var r=Cc(n.target);n.resolvedTypePredicate=r?RA(r,n.mapper):uo}else if(n.compositeSignatures)n.resolvedTypePredicate=HL(n.compositeSignatures,n.compositeKind)||uo;else{var t=n.declaration&&e.getEffectiveReturnTypeNode(n.declaration),a=void 0;if(!t&&e.isInJSFile(n.declaration)){var s=rv(n.declaration);s&&n!==s&&(a=Cc(s))}n.resolvedTypePredicate=t&&e.isTypePredicateNode(t)?av(t,n):a||uo}e.Debug.assert(!!n.resolvedTypePredicate)}return n.resolvedTypePredicate===uo?void 0:n.resolvedTypePredicate}function av(n,r){var t=n.parameterName,a=n.type&&Ra(n.type);return t.kind===190?Xp(n.assertsModifier?2:0,void 0,void 0,a):Xp(n.assertsModifier?3:1,t.escapedText,e.findIndex(r.parameters,function(s){return s.escapedName===t.escapedText}),a)}function iv(n,r,t){return r!==2097152?Sa(n,t):Ro(n)}function _o(n){if(!n.resolvedReturnType){if(!Vc(n,3))return J;var r=n.target?fi(_o(n.target),n.mapper):n.compositeSignatures?fi(iv(e.map(n.compositeSignatures,_o),n.compositeKind,2),n.mapper):bp(n.declaration)||(e.nodeIsMissing(n.declaration.body)?cr:cy(n.declaration));if(n.flags&8?r=TS(r):n.flags&16&&(r=td(r)),!Oc()){if(n.declaration){var t=e.getEffectiveReturnTypeNode(n.declaration);if(t)Jn(t,e.Diagnostics.Return_type_annotation_circularly_references_itself);else if(En){var a=n.declaration,s=e.getNameOfDeclaration(a);s?Jn(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)):Jn(a,e.Diagnostics.Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions)}}r=cr}n.resolvedReturnType=r}return n.resolvedReturnType}function bp(n){if(n.kind===169)return lc(Eo(n.parent.symbol));if(e.isJSDocConstructSignature(n))return Ra(n.parameters[0].type);var r=e.getEffectiveReturnTypeNode(n);if(r)return Ra(r);if(n.kind===170&&wl(n)){var t=e.isInJSFile(n)&&Pa(n);if(t)return t;var a=e.getDeclarationOfKind(wt(n),171),s=ta(a);if(s)return s}return tv(n)}function rg(n){return!n.resolvedReturnType&&Dd(n,3)>=0}function tE(n){return z1(n)||cr}function z1(n){if(N(n)){var r=kt(n.parameters[n.parameters.length-1]),t=ji(r)?dg(r):r;return t&&Ns(t,Dr)}}function ov(n,r,t,a){var s=aE(n,np(r,n.typeParameters,Lu(n.typeParameters),t));if(a){var u=q0(_o(s));if(u){var S=gm(u);S.typeParameters=a;var F=gm(s);return F.resolvedReturnType=f_(S),F}}return s}function aE(n,r){var t=n.instantiations||(n.instantiations=new e.Map),a=lu(r),s=t.get(a);return s||t.set(a,s=sh(n,r)),s}function sh(n,r){return Fm(n,oL(n,r),!0)}function oL(n,r){return uc(n.typeParameters,r)}function tg(n){return n.typeParameters?n.erasedSignatureCache||(n.erasedSignatureCache=sL(n)):n}function sL(n){return Fm(n,zT(n.typeParameters),!0)}function lL(n){return n.typeParameters?n.canonicalSignatureCache||(n.canonicalSignatureCache=cL(n)):n}function cL(n){return ov(n,e.map(n.typeParameters,function(r){return r.target&&!yc(r.target)?r.target:r}),e.isInJSFile(n.declaration))}function uL(n){var r=n.typeParameters;if(r){if(n.baseSignatureCache)return n.baseSignatureCache;for(var t=zT(r),a=uc(r,e.map(r,function(S){return yc(S)||cn})),s=e.map(r,function(S){return fi(S,a)||cn}),u=0;u1&&(r+=":"+u),a+=u}return r}function p_(n,r){return n?"@"+C(n)+(r?":"+lu(r):""):""}function oE(n,r){for(var t=0,a=0,s=n;aa.length)){var ve=S&&e.isExpressionWithTypeArguments(n)&&!e.isJSDocAugmentsTag(n.parent),Ge=u===a.length?ve?e.Diagnostics.Expected_0_type_arguments_provide_these_with_an_extends_tag:e.Diagnostics.Generic_type_0_requires_1_type_argument_s:ve?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,Je=Lt(t,void 0,2);if(Jn(n,Ge,Je,u,a.length),!S)return J}if(n.kind===176&&hT(n,e.length(n.typeArguments)!==a.length))return sE(t,n,void 0);var Xe=e.concatenate(t.outerTypeParameters,np(lE(n),a,u,S));return Yf(t,Xe)}return Tp(n,r)?t:J}function ag(n,r,t,a){var s=rs(n);if(s===Gn&&w.has(n.escapedName)&&r&&r.length===1)return ph(n,r[0]);var u=Za(n),S=u.typeParameters,F=lu(r)+p_(t,a),ve=u.instantiations.get(F);return ve||u.instantiations.set(F,ve=QT(s,uc(S,np(r,S,Lu(S),e.isInJSFile(n.valueDeclaration))),t,a)),ve}function dL(n,r){var t=rs(r),a=Za(r).typeParameters;if(a){var s=e.length(n.typeArguments),u=Lu(a);if(sa.length)return Jn(n,u===a.length?e.Diagnostics.Generic_type_0_requires_1_type_argument_s:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,Qa(r),u,a.length),J;var S=hm(n),F=S&&(nT(r)||!nT(S))?S:void 0;return ag(r,lE(n),F,Mm(F))}return Tp(n,r)?t:J}function nT(n){var r,t=(r=n.declarations)===null||r===void 0?void 0:r.find(e.isTypeAlias);return!!(t&&e.getContainingFunction(t))}function ig(n){switch(n.kind){case 176:return n.typeName;case 226:var r=n.expression;if(e.isEntityNameExpression(r))return r}}function m_(n,r,t){return n&&ki(n,r,t)||Xn}function ch(n,r){if(r===Xn)return J;if(r=Pt(r)||r,r.flags&96)return eT(n,r);if(r.flags&524288)return dL(n,r);var t=J_(r);if(t)return Tp(n,r)?cc(t):J;if(r.flags&111551&&uh(n)){var a=pL(n,r);return a||(m_(ig(n),788968),kt(r))}return J}function pL(n,r){var t=da(n);if(!t.resolvedJSDocType){var a=kt(r),s=a;if(r.valueDeclaration){var u=n.kind===198&&n.qualifier;a.symbol&&a.symbol!==r&&u&&(s=ch(n,a.symbol))}t.resolvedJSDocType=s}return t.resolvedJSDocType}function rT(n,r){if(r.flags&3||r===n)return n;var t=cu(n)+">"+cu(r),a=Zn.get(t);if(a)return a;var s=Pl(33554432);return s.baseType=n,s.substitute=r,Zn.set(t,s),s}function tT(n){return n.kind===182&&n.elements.length===1}function aT(n,r,t){return tT(r)&&tT(t)?aT(n,r.elements[0],t.elements[0]):Sp(Ra(r))===n?Ra(t):void 0}function iT(n,r){for(var t,a=!0;r&&!e.isStatement(r)&&r.kind!==315;){var s=r.parent;if(s.kind===162&&(a=!a),(a||n.flags&8650752)&&s.kind===187&&r===s.trueType){var u=aT(n,s.checkType,s.extendsType);u&&(t=e.append(t,u))}r=s}return t?rT(n,Ro(e.append(t,n))):n}function uh(n){return!!(n.flags&4194304)&&(n.kind===176||n.kind===198)}function Tp(n,r){return n.typeArguments?(Jn(n,e.Diagnostics.Type_0_is_not_generic,r?Qa(r):n.typeName?e.declarationNameToString(n.typeName):ue),!1):!0}function oT(n){if(e.isIdentifier(n.typeName)){var r=n.typeArguments;switch(n.typeName.escapedText){case"String":return Tp(n),gr;case"Number":return Tp(n),Dr;case"Boolean":return Tp(n),Ur;case"Void":return Tp(n),Cr;case"Undefined":return Tp(n),Rn;case"Null":return Tp(n),zn;case"Function":case"function":return Tp(n),Jo;case"array":return(!r||!r.length)&&!En?dn:void 0;case"promise":return(!r||!r.length)&&!En?Ov(cr):void 0;case"Object":if(r&&r.length===2){if(e.isJSDocIndexSignature(n)){var t=Ra(r[0]),a=Ra(r[1]),s=t===gr||t===Dr?[Uu(t,a,!1)]:e.emptyArray;return qo(void 0,Ne,e.emptyArray,e.emptyArray,s)}return cr}return Tp(n),En?void 0:cr}}}function mL(n){var r=Ra(n.type);return He?$E(r,65536):r}function sv(n){var r=da(n);if(!r.resolvedType){if(e.isConstTypeReference(n)&&e.isAssertionExpression(n.parent))return r.resolvedSymbol=Xn,r.resolvedType=ll(n.parent.expression);var t=void 0,a=void 0,s=788968;uh(n)&&(a=oT(n),a||(t=m_(ig(n),s,!0),t===Xn?t=m_(ig(n),s|111551):m_(ig(n),s),a=ch(n,t))),a||(t=m_(ig(n),s),a=ch(n,t)),r.resolvedSymbol=t,r.resolvedType=a}return r.resolvedType}function lE(n){return e.map(n.typeArguments,Ra)}function sT(n){var r=da(n);if(!r.resolvedType){var t=e.isThisIdentifier(n.exprName)?jh(n.exprName):vi(n.exprName);r.resolvedType=cc(fc(t))}return r.resolvedType}function lT(n,r){function t(s){var u=s.declarations;if(u)for(var S=0,F=u;S=0)return lv(e.map(r,function(xr,Gr){return n.elementFlags[Gr]&8?xr:cn}))?Ps(r[u],function(xr){return ET(n,e.replaceElement(r,u,xr))}):J}for(var S=[],F=[],ve=[],Ge=-1,Je=-1,Xe=-1,tn=function(xr){var Gr=r[xr],ct=n.elementFlags[xr];if(ct&8)if(Gr.flags&58982400||hc(Gr))Ir(Gr,8,(t=n.labeledElementDeclarations)===null||t===void 0?void 0:t[xr]);else if(ji(Gr)){var Vt=Co(Gr);if(Vt.length+S.length>=1e4)return Jn(fe,e.isPartOfTypeNode(fe)?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:J};e.forEach(Vt,function(_t,Ta){var sa;return Ir(_t,Gr.target.elementFlags[Ta],(sa=Gr.target.labeledElementDeclarations)===null||sa===void 0?void 0:sa[Ta])})}else Ir(lp(Gr)&&Ns(Gr,Dr)||J,4,(a=n.labeledElementDeclarations)===null||a===void 0?void 0:a[xr]);else Ir(Gr,ct,(s=n.labeledElementDeclarations)===null||s===void 0?void 0:s[xr])},Dn=0;Dn=0&&Jea.fixedLength?bC(n)||Vu(e.emptyArray):Vu(Co(n).slice(r,s),a.elementFlags.slice(r,s),!1,a.labeledElementDeclarations&&a.labeledElementDeclarations.slice(r,s))}function bT(n){return Sa(e.append(e.arrayOf(n.target.fixedLength,function(r){return Jc(""+r)}),ff(n.target.readonly?$r:_r)))}function TT(n,r){var t=e.findIndex(n.elementFlags,function(a){return!(a&r)});return t>=0?t:n.elementFlags.length}function dh(n,r){return n.elementFlags.length-e.findLastIndex(n.elementFlags,function(t){return!(t&r)})-1}function GL(n){return Xi(Ra(n.type),!0)}function cu(n){return n.id}function Yp(n,r){return e.binarySearch(n,r,cu,e.compareValues)>=0}function pE(n,r){var t=e.binarySearch(n,r,cu,e.compareValues);return t<0?(n.splice(~t,0,r),!0):!1}function BL(n,r,t){var a=t.flags;if(a&1048576)return ST(n,r|(jL(t)?1048576:0),t.types);if(!(a&131072))if(r|=a&205258751,a&469499904&&(r|=262144),t===Bn&&(r|=8388608),!He&&a&98304)e.getObjectFlags(t)&131072||(r|=4194304);else{var s=n.length,u=s&&t.id>n[s-1].id?~s:e.binarySearch(n,t,cu,e.compareValues);u<0&&n.splice(~u,0,t)}return r}function ST(n,r,t){for(var a=0,s=t;a0;){S--;var ve=n[S];if(s||ve.flags&469499904)for(var Ge=ve.flags&61603840?e.find(bo(ve),function(Ir){return Wu(kt(Ir))}):void 0,Je=Ge&&cc(kt(Ge)),Xe=0,tn=n;Xe1e6){e.tracing===null||e.tracing===void 0||e.tracing.instant("checkTypes","removeSubtypes_DepthLimit",{typeIds:n.map(function(Ir){return Ir.id})}),Jn(fe,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent);return}}if(F++,Ge&&Dn.flags&61603840){var sr=Os(Dn,Ge.escapedName);if(sr&&Wu(sr)&&cc(sr)!==Je)continue}if(rd(ve,Dn,Sn)&&(!(e.getObjectFlags(B(ve))&1)||!(e.getObjectFlags(B(Dn))&1)||v_(ve,Dn))){e.orderedRemoveItemAt(n,S);break}}}}return Me.set(t,n),n}function VL(n,r,t){for(var a=n.length;a>0;){a--;var s=n[a],u=s.flags,S=u&402653312&&r&4||u&256&&r&8||u&2048&&r&64||u&8192&&r&4096||t&&u&32768&&r&16384||Lp(s)&&Yp(n,s.regularType);S&&e.orderedRemoveItemAt(n,a)}}function WL(n){var r=e.filter(n,cv);if(r.length)for(var t=n.length,a=function(){t--;var s=n[t];s.flags&128&&e.some(r,function(u){return ed(s,u)})&&e.orderedRemoveItemAt(n,t)};t>0;)a()}function jL(n){return!!(n.flags&1048576&&(n.aliasSymbol||n.origin))}function DT(n,r){for(var t=0,a=r;t=0&&Yp(u,Rn)&&e.orderedRemoveItemAt(u,F)}if((S&402664320||S&16384&&S&32768)&&VL(u,S,!!(r&2)),S&128&&S&134217728&&WL(u),r===2&&(u=UL(u,!!(S&524288)),!u))return J;if(u.length===0)return S&65536?S&4194304?zn:ir:S&32768?S&4194304?Rn:Ye:Jt}if(!s&&S&1048576){var ve=[];DT(ve,n);for(var Ge=[],Je=function(Gr){e.some(ve,function(ct){return Yp(ct.types,Gr)})||Ge.push(Gr)},Xe=0,tn=u;Xe0;){t--;var a=n[t],s=a.flags&4&&r&128||a.flags&8&&r&256||a.flags&64&&r&2048||a.flags&4096&&r&8192;s&&e.orderedRemoveItemAt(n,t)}}function qL(n,r){for(var t=0,a=n;t0;){r--;var a=n[r];if(a.flags&134217728)for(var s=0,u=t;s=1e5?(e.tracing===null||e.tracing===void 0||e.tracing.instant("checkTypes","checkCrossProductUnion_DepthLimit",{typeIds:n.map(function(t){return t.id}),size:r}),Jn(fe,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent),!1):!0}function ZL(n){for(var r=CT(n),t=[],a=0;a=0;S--)if(n[S].flags&1048576){var F=n[S].types,ve=F.length;s[S]=F[u%ve],u=Math.floor(u/ve)}var Ge=Ro(s);Ge.flags&131072||t.push(Ge)}return t}function $L(n){var r=da(n);if(!r.resolvedType){var t=hm(n);r.resolvedType=Ro(e.map(n.types,Ra),t,Mm(t))}return r.resolvedType}function xT(n,r){var t=Pl(4194304);return t.type=n,t.stringsOnly=r,t}function eA(n){var r=Bs(4194304);return r.type=n,r}function nA(n,r){return r?n.resolvedStringIndexType||(n.resolvedStringIndexType=xT(n,!0)):n.resolvedIndexType||(n.resolvedIndexType=xT(n,!1))}function IT(n,r,t){return fi(n,pv(r.mapper,Su(r),t))}function rA(n,r){var t=Nl(tu(n),function(u){return!(r&&u.flags&5)}),a=n.declaration.nameType&&Ra(n.declaration.nameType),s=a&&ad(t,function(u){return!!(u.flags&131084)})&&bo(Il(Q_(n)));return a?Sa([Ps(t,function(u){return IT(a,n,u)}),Ps(Sa(e.map(s||e.emptyArray,function(u){return Om(u,8576)})),function(u){return IT(a,n,u)})]):t}function tA(n){var r=Su(n);return t($d(n)||r);function t(a){return a.flags&68157439?!0:a.flags&16777216?a.root.isDistributive&&a.checkType===r:a.flags&137363456?e.every(a.types,t):a.flags&8388608?t(a.objectType)&&t(a.indexType):a.flags&33554432?t(a.substitute):a.flags&268435456?t(a.type):!1}}function tp(n){return e.isPrivateIdentifier(n)?Jt:e.isIdentifier(n)?Jc(e.unescapeLeadingUnderscores(n.escapedText)):cc(e.isComputedPropertyName(n)?od(n):vi(n))}function Om(n,r,t){if(t||!(e.getDeclarationModifierFlagsFromSymbol(n)&24)){var a=Za(zp(n)).nameType;if(!a){var s=e.getNameOfDeclaration(n.valueDeclaration);a=n.escapedName==="default"?Jc("default"):s&&tp(s)||(e.isKnownSymbol(n)?void 0:Jc(e.symbolName(n)))}if(a&&a.flags&r)return a}return Jt}function aA(n,r,t){var a=t&&(e.getObjectFlags(n)&7||n.aliasSymbol)?eA(n):void 0,s=e.map(bo(n),function(S){return Om(S,r)}),u=e.map(Ei(n),function(S){return S!==wi&&S.keyType.flags&r?S.keyType===gr&&r&8?ua:S.keyType:Jt});return Sa(e.concatenate(s,u),1,void 0,void 0,a)}function ff(n,r,t){return r===void 0&&(r=X),n=iu(n),n.flags&1048576?Ro(e.map(n.types,function(a){return ff(a,r,t)})):n.flags&2097152?Sa(e.map(n.types,function(a){return ff(a,r,t)})):n.flags&58982400||b_(n)||hc(n)&&!tA(n)?nA(n,r):e.getObjectFlags(n)&32?rA(n,t):n===Bn?Bn:n.flags&2?Jt:n.flags&131073?at:aA(n,(t?128:402653316)|(r?0:12584),r===X&&!t)}function NT(n){if(X)return n;var r=NL();return r?ag(r,[n,gr]):gr}function iA(n){var r=NT(ff(n));return r.flags&131072?gr:r}function oA(n){var r=da(n);if(!r.resolvedType)switch(n.operator){case 139:r.resolvedType=ff(Ra(n.type));break;case 152:r.resolvedType=n.type.kind===149?xE(e.walkUpParenthesizedTypes(n.parent)):J;break;case 143:r.resolvedType=Ra(n.type);break;default:throw e.Debug.assertNever(n.operator)}return r.resolvedType}function sA(n){var r=da(n);return r.resolvedType||(r.resolvedType=g_(Vr([n.head.text],e.map(n.templateSpans,function(t){return t.literal.text}),!0),e.map(n.templateSpans,function(t){return Ra(t.type)}))),r.resolvedType}function g_(n,r){var t=e.findIndex(r,function(Ge){return!!(Ge.flags&1179648)});if(t>=0)return lv(r)?Ps(r[t],function(Ge){return g_(n,e.replaceElement(r,t,Ge))}):J;if(e.contains(r,Bn))return Bn;var a=[],s=[],u=n[0];if(!ve(n,r))return gr;if(a.length===0)return Jc(u);if(s.push(u),e.every(s,function(Ge){return Ge===""})&&e.every(a,function(Ge){return!!(Ge.flags&4)}))return gr;var S=lu(a)+"|"+e.map(s,function(Ge){return Ge.length}).join(",")+"|"+s.join(""),F=Ke.get(S);return F||Ke.set(S,F=cA(s,a)),F;function ve(Ge,Je){for(var Xe=0;Xe=0){if(s&&ad(r,function(_t){return!_t.target.hasRestElement})&&!(u&16)){var tn=yE(s);ji(r)?Jn(tn,e.Diagnostics.Tuple_type_0_of_length_1_has_no_element_at_index_2,Lt(r),rp(r),e.unescapeLeadingUnderscores(ve)):Jn(tn,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(ve),Lt(r))}return Vt(po(r,Dr)),Ps(r,function(_t){var Ta=dg(_t)||Rn;return u&1?Sa([Ta,Rn]):Ta})}}if(!(t.flags&98304)&&qs(t,402665900)){if(r.flags&131073)return r;var Dn=ks(r,t)||po(r,gr);if(Dn){if(u&2&&Dn.keyType!==Dr){F&&Jn(F,e.Diagnostics.Type_0_cannot_be_used_to_index_type_1,Lt(t),Lt(n));return}if(s&&Dn.keyType===gr&&!qs(t,12)){var tn=yE(s);return Jn(tn,e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,Lt(t)),u&1?Sa([Dn.type,Rn]):Dn.type}return Vt(Dn),u&1?Sa([Dn.type,Rn]):Dn.type}if(t.flags&131072)return Jt;if(lg(r))return cr;if(F&&!s1(r)){if(xp(r)){if(En&&t.flags&384)return zt.add(e.createDiagnosticForNode(F,e.Diagnostics.Property_0_does_not_exist_on_type_1,t.value,Lt(r))),Rn;if(t.flags&12){var nr=e.map(r.properties,function(_t){return kt(_t)});return Sa(e.append(nr,Rn))}}if(r.symbol===hn&&ve!==void 0&&hn.exports.has(ve)&&hn.exports.get(ve).flags&418)Jn(F,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(ve),Lt(r));else if(En&&!pe.suppressImplicitAnyIndexErrors&&!(u&128))if(ve!==void 0&&B0(ve,r)){var sr=Lt(r);Jn(F,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,ve,sr,sr+"["+e.getTextOfNode(F.argumentExpression)+"]")}else if(Ns(r,Dr))Jn(F.argumentExpression,e.Diagnostics.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number);else{var Ir=void 0;if(ve!==void 0&&(Ir=zb(ve,r)))Ir!==void 0&&Jn(F.argumentExpression,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,ve,Lt(r),Ir);else{var xr=JI(r,F,t);if(xr!==void 0)Jn(F,e.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,Lt(r),xr);else{var Gr=void 0;if(t.flags&1024)Gr=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,"["+Lt(t)+"]",Lt(r));else if(t.flags&8192){var ct=Vi(t.symbol,F);Gr=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,"["+ct+"]",Lt(r))}else t.flags&128||t.flags&256?Gr=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,t.value,Lt(r)):t.flags&12&&(Gr=e.chainDiagnosticMessages(void 0,e.Diagnostics.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,Lt(t),Lt(r)));Gr=e.chainDiagnosticMessages(Gr,e.Diagnostics.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,Lt(a),Lt(r)),zt.add(e.createDiagnosticForNodeFromMessageChain(F,Gr))}}}return}}if(lg(r))return cr;if(s){var tn=yE(s);t.flags&384?Jn(tn,e.Diagnostics.Property_0_does_not_exist_on_type_1,""+t.value,Lt(r)):t.flags&12?Jn(tn,e.Diagnostics.Type_0_has_no_matching_index_signature_for_type_1,Lt(r),Lt(t)):Jn(tn,e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,Lt(t))}if(no(t))return t;return;function Vt(_t){_t&&_t.isReadonly&&F&&(e.isAssignmentTarget(F)||e.isDeleteTarget(F))&&Jn(F,e.Diagnostics.Index_signature_in_type_0_only_permits_reading,Lt(r))}}function yE(n){return n.kind===205?n.argumentExpression:n.kind===192?n.indexType:n.kind===160?n.expression:n}function RT(n){return!!(n.flags&77)}function cv(n){return!!(n.flags&134217728)&&e.every(n.types,RT)}function mh(n){return!!cg(n)}function vm(n){return!!(cg(n)&8388608)}function Pm(n){return!!(cg(n)&16777216)}function cg(n){return n.flags&3145728?(n.objectFlags&4194304||(n.objectFlags|=4194304|e.reduceLeft(n.types,function(r,t){return r|cg(t)},0)),n.objectFlags&25165824):n.flags&33554432?(n.objectFlags&4194304||(n.objectFlags|=4194304|cg(n.substitute)|cg(n.baseType)),n.objectFlags&25165824):(n.flags&58982400||hc(n)||b_(n)?8388608:0)|(n.flags&465829888&&!cv(n)?16777216:0)}function uv(n){return!!(n.flags&262144&&n.isThisType)}function Qf(n,r){return n.flags&8388608?_A(n,r):n.flags&16777216?vA(n,r):n}function OT(n,r,t){if(n.flags&3145728){var a=e.map(n.types,function(s){return Qf(Ec(s,r),t)});return n.flags&2097152||t?Ro(a):Sa(a)}}function mA(n,r,t){if(r.flags&1048576){var a=e.map(r.types,function(s){return Qf(Ec(n,s),t)});return t?Ro(a):Sa(a)}}function _A(n,r){var t=r?"simplifiedForWriting":"simplifiedForReading";if(n[t])return n[t]===li?n:n[t];n[t]=li;var a=Qf(n.objectType,r),s=Qf(n.indexType,r),u=mA(a,s,r);if(u)return n[t]=u;if(!(s.flags&465829888)){var S=OT(a,s,r);if(S)return n[t]=S}if(b_(a)&&s.flags&296){var F=Lh(a,s.flags&8?0:a.target.fixedLength,0,r);if(F)return n[t]=F}return hc(a)?n[t]=Ps(MT(a,n.indexType),function(ve){return Qf(ve,r)}):n[t]=n}function gA(n){var r=n.root.inferTypeParameters&&uc(n.root.inferTypeParameters,e.map(n.root.inferTypeParameters,function(){return Bn})),t=n.checkType,a=n.extendsType;return mo($p(t),$p(fi(a,r)))}function vA(n,r){var t=n.checkType,a=n.extendsType,s=ip(n),u=op(n);if(u.flags&131072&&Sp(s)===Sp(t)){if(t.flags&1||mo($p(t),$p(a)))return Qf(s,r);if(PT(t,a))return Jt}else if(s.flags&131072&&Sp(u)===Sp(t)){if(!(t.flags&1)&&mo($p(t),$p(a)))return Jt;if(t.flags&1||PT(t,a))return Qf(u,r)}return n}function PT(n,r){return!!(Sa([km(n,r),Jt]).flags&131072)}function MT(n,r){var t=uc([Su(n)],[r]),a=Em(n.mapper,t);return fi(Mc(n),a)}function Ec(n,r,t,a,s,u){return t===void 0&&(t=0),ap(n,r,t,a,s,u)||(a?J:cn)}function wT(n,r){return ad(n,function(t){if(t.flags&384){var a=ql(t);if(id(a)){var s=+a;return s>=0&&s=r?cn:t})}function Em(n,r){return n?yh(3,n,r):r}function NA(n,r){return n?yh(4,n,r):r}function bm(n,r,t){return t?yh(4,ym(n,r),t):ym(n,r)}function pv(n,r,t){return n?yh(4,n,ym(r,t)):ym(r,t)}function kA(n){return n.constraint===cn?n:n.restrictiveInstantiation||(n.restrictiveInstantiation=Uc(n.symbol),n.restrictiveInstantiation.constraint=cn,n.restrictiveInstantiation)}function IE(n){var r=Uc(n.symbol);return r.target=n,r}function RA(n,r){return Xp(n.kind,n.parameterName,n.parameterIndex,fi(n.type,r))}function Fm(n,r,t){var a;if(n.typeParameters&&!t){a=e.map(n.typeParameters,IE),r=Em(uc(n.typeParameters,a),r);for(var s=0,u=a;s=5e6)return e.tracing===null||e.tracing===void 0||e.tracing.instant("checkTypes","instantiateType_DepthLimit",{typeId:n.id,instantiationDepth:en,instantiationCount:De}),Jn(fe,e.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite),J;Be++,De++,en++;var s=BA(n,r,t,a);return en--,s}function BA(n,r,t,a){var s=n.flags;if(s&262144)return Qp(n,r);if(s&524288){var u=n.objectFlags;if(u&52){if(u&4&&!n.node){var S=n.resolvedTypeArguments,F=kd(S,r);return F!==S?dE(n.target,F):n}return u&1024?UA(n,r):OA(n,r,t,a)}return n}if(s&3145728){var ve=n.flags&1048576?n.origin:void 0,Ge=ve&&ve.flags&3145728?ve.types:n.types,Je=kd(Ge,r);if(Je===Ge&&t===n.aliasSymbol)return n;var Xe=t||n.aliasSymbol,tn=t?a:kd(n.aliasTypeArguments,r);return s&2097152||ve&&ve.flags&2097152?Ro(Je,Xe,tn):Sa(Je,1,Xe,tn)}if(s&4194304)return ff(fi(n.type,r));if(s&134217728)return g_(n.texts,kd(n.types,r));if(s&268435456)return ph(n.symbol,fi(n.type,r));if(s&8388608){var Xe=t||n.aliasSymbol,tn=t?a:kd(n.aliasTypeArguments,r);return Ec(fi(n.objectType,r),fi(n.indexType,r),n.accessFlags,void 0,Xe,tn)}if(s&16777216)return PE(n,Em(n.mapper,r),t,a);if(s&33554432){var Dn=fi(n.baseType,r);if(Dn.flags&8650752)return rT(Dn,fi(n.substitute,r));var nr=fi(n.substitute,r);return nr.flags&3||mo($p(Dn),$p(nr))?Dn:nr}return n}function UA(n,r){var t=fi(n.mappedType,r);if(!(e.getObjectFlags(t)&32))return n;var a=fi(n.constraintType,r);if(!(a.flags&4194304))return n;var s=IS(fi(n.source,r),t,a);return s||n}function Eh(n){return n.flags&262143?n:n.permissiveInstantiation||(n.permissiveInstantiation=fi(n,Rr))}function $p(n){return n.flags&262143?n:(n.restrictiveInstantiation||(n.restrictiveInstantiation=fi(n,Zt),n.restrictiveInstantiation.restrictiveInstantiation=n.restrictiveInstantiation),n.restrictiveInstantiation)}function VA(n,r){return Uu(n.keyType,fi(n.type,r),n.isReadonly,n.declaration)}function Au(n){switch(e.Debug.assert(n.kind!==167||e.isObjectLiteralMethod(n)),n.kind){case 211:case 212:case 167:case 254:return ZT(n);case 203:return e.some(n.properties,Au);case 202:return e.some(n.elements,Au);case 220:return Au(n.whenTrue)||Au(n.whenFalse);case 219:return(n.operatorToken.kind===56||n.operatorToken.kind===60)&&(Au(n.left)||Au(n.right));case 291:return Au(n.initializer);case 210:return Au(n.expression);case 284:return e.some(n.properties,Au)||e.isJsxOpeningElement(n.parent)&&e.some(n.parent.parent.children,Au);case 283:{var r=n.initializer;return!!r&&Au(r)}case 286:{var t=n.expression;return!!t&&Au(t)}}return!1}function ZT(n){return(!e.isFunctionDeclaration(n)||e.isInJSFile(n)&&!!Pa(n))&&(e.hasContextSensitiveParameters(n)||WA(n))}function WA(n){return!n.typeParameters&&!e.getEffectiveReturnTypeNode(n)&&!!n.body&&n.body.kind!==233&&Au(n.body)}function $T(n){return(e.isInJSFile(n)&&e.isFunctionDeclaration(n)||Ob(n)||e.isObjectLiteralMethod(n))&&ZT(n)}function eS(n){if(n.flags&524288){var r=Du(n);if(r.constructSignatures.length||r.callSignatures.length){var t=fl(16,n.symbol);return t.members=r.members,t.properties=r.properties,t.callSignatures=e.emptyArray,t.constructSignatures=e.emptyArray,t.indexInfos=e.emptyArray,t}}else if(n.flags&2097152)return Ro(e.map(n.types,eS));return n}function $f(n,r){return rd(n,r,Yt)}function ug(n,r){return rd(n,r,Yt)?-1:0}function ME(n,r){return rd(n,r,Tr)?-1:0}function jA(n,r){return rd(n,r,un)?-1:0}function ed(n,r){return rd(n,r,un)}function mo(n,r){return rd(n,r,Tr)}function v_(n,r){return n.flags&1048576?e.every(n.types,function(t){return v_(t,r)}):r.flags&1048576?e.some(r.types,function(t){return v_(n,t)}):n.flags&58982400?v_(Xl(n)||cn,r):r===us?!!(n.flags&67633152):r===Jo?!!(n.flags&524288)&&vb(n):Ee(n,B(r))||Gl(r)&&!y_(r)&&v_(n,$r)}function h_(n,r){return rd(n,r,Wr)}function bh(n,r){return h_(n,r)||h_(r,n)}function xc(n,r,t,a,s,u){return Cu(n,r,Tr,t,a,s,u)}function sp(n,r,t,a,s,u){return wE(n,r,Tr,t,a,s,u,void 0)}function wE(n,r,t,a,s,u,S,F){return rd(n,r,t)?!0:!a||!mv(s,n,r,t,u,S,F)?Cu(n,r,t,a,u,S,F):!1}function nS(n){return!!(n.flags&16777216||n.flags&2097152&&e.some(n.types,nS))}function mv(n,r,t,a,s,u,S){if(!n||nS(t))return!1;if(!Cu(r,t,a,void 0)&&HA(n,r,t,a,s,u,S))return!0;switch(n.kind){case 286:case 210:return mv(n.expression,r,t,a,s,u,S);case 219:switch(n.operatorToken.kind){case 63:case 27:return mv(n.right,r,t,a,s,u,S)}break;case 203:return $A(n,r,t,a,u,S);case 202:return QA(n,r,t,a,u,S);case 284:return YA(n,r,t,a,u,S);case 212:return JA(n,r,t,a,u,S)}return!1}function HA(n,r,t,a,s,u,S){for(var F=zr(r,0),ve=zr(r,1),Ge=0,Je=[ve,F];Ge1,sr=Nl(tn,gS),Ir=Nl(tn,function(sa){return!gS(sa)});if(nr){if(sr!==Jt){var xr=Vu(qh(ve,0)),Gr=XA(ve,Ta);S=fg(Gr,xr,sr,a,s,u)||S}else if(!rd(Ec(r,Xe),tn,a)){S=!0;var ct=Jn(ve.openingElement.tagName,e.Diagnostics.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided,Je,Lt(tn));u&&u.skipLogging&&(u.errors||(u.errors=[])).push(ct)}}else if(Ir!==Jt){var Vt=Dn[0],_t=rS(Vt,Xe,Ta);_t&&(S=fg(function(){return Ou(this,function(sa){switch(sa.label){case 0:return[4,_t];case 1:return sa.sent(),[2]}})}(),r,t,a,s,u)||S)}else if(!rd(Ec(r,Xe),tn,a)){S=!0;var ct=Jn(ve.openingElement.tagName,e.Diagnostics.This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided,Je,Lt(tn));u&&u.skipLogging&&(u.errors||(u.errors=[])).push(ct)}}return S;function Ta(){if(!F){var sa=e.getTextOfNode(n.parent.tagName),mi=Xh(Km(n)),ai=mi===void 0?"children":e.unescapeLeadingUnderscores(mi),Hi=Ec(t,Jc(ai)),ii=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;F=Mt(Mt({},ii),{key:"!!ALREADY FORMATTED!!",message:e.formatMessage(void 0,ii,sa,ai,Lt(Hi))})}return F}}function tS(n,r){var t,a,s,u;return Ou(this,function(S){switch(S.label){case 0:if(t=e.length(n.elements),!t)return[2];a=0,S.label=1;case 1:return ave:Ju(n)>ve);if(Ge)return 0;n.typeParameters&&n.typeParameters!==r.typeParameters&&(r=lL(r),n=X0(n,r,void 0,S));var Je=ac(n),Xe=Dg(n),tn=Dg(r);if((Xe||tn)&&fi(Xe||tn,F),Xe&&tn&&Je!==ve)return 0;var Dn=r.declaration?r.declaration.kind:0,nr=!(t&3)&&Ln&&Dn!==167&&Dn!==166&&Dn!==169,sr=-1,Ir=Id(n);if(Ir&&Ir!==Cr){var xr=Id(r);if(xr){var Gr=!nr&&S(Ir,xr,!1)||S(xr,Ir,a);if(!Gr)return a&&s(e.Diagnostics.The_this_types_of_each_signature_are_incompatible),0;sr&=Gr}}for(var ct=Xe||tn?Math.min(Je,ve):Math.max(Je,ve),Vt=Xe||tn?ct-1:-1,_t=0;_t=Ju(n)&&_t0||O1(St));if(Oi&&!aC(St,bt,Ja)){if(jr){var ro=Lt(tr.aliasSymbol?tr:St),$i=Lt(br.aliasSymbol?br:bt),Ms=zr(St,0),_s=zr(St,1);Ms.length>0&&jt(_o(Ms[0]),bt,!1)||_s.length>0&&jt(_o(_s[0]),bt,!1)?Pr(e.Diagnostics.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,ro,$i):Pr(e.Diagnostics.Type_0_has_no_properties_in_common_with_type_1,ro,$i)}return 0}Ji(St,bt);var js=0,os=go();if((St.flags&3145728||bt.flags&3145728)&&(js=YS(St)*YS(bt)>=4?Jr(St,bt,jr,Kt|8):tt(St,bt,jr,Kt|8)),!js&&!(St.flags&1048576)&&(St.flags&469499904||bt.flags&469499904)&&(js=Jr(St,bt,jr,Kt))&&ii(os),!js&&St.flags&2359296){var ss=Yy(St.flags&2097152?St.types:[St],!!(bt.flags&1048576));ss&&(St.flags&2097152||bt.flags&1048576)&&ad(ss,function(fr){return fr!==St})&&(js=jt(ss,bt,!1,void 0,Kt))&&ii(os)}return js&&!ct&&(bt.flags&2097152&&(Ri||Oi)||SE(bt)&&!Gl(bt)&&!ji(bt)&&St.flags&2097152&&Il(St).flags&3670016&&!e.some(St.types,function(fr){return!!(e.getObjectFlags(fr)&524288)}))&&(ct=!0,js&=Jr(St,bt,jr,4),ct=!1),Ss(St,bt,js,Ja),js;function Ss(fr,Rt,Ea,aa){if(!Ea&&jr){var la=!!qE(tr),oi=!!qE(br);fr=tr.aliasSymbol||la?tr:fr,Rt=br.aliasSymbol||oi?br:Rt;var Ka=Ir>0;if(Ka&&Ir--,fr.flags&524288&&Rt.flags&524288){var xi=F;si(fr,Rt,jr),F!==xi&&(Ka=!!F)}if(fr.flags&524288&&Rt.flags&131068)na(fr,Rt);else if(fr.symbol&&fr.flags&524288&&us===fr)Pr(e.Diagnostics.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead);else if(aa&&Rt.flags&2097152){var Xa=Rt.types,Ua=Np(T.IntrinsicAttributes,a),co=Np(T.IntrinsicClassAttributes,a);if(Ua!==J&&co!==J&&(e.contains(Xa,Ua)||e.contains(Xa,co)))return Ea}else F=ln(F,br);if(!it&&Ka)return xr=[fr,Rt],Ea;Ga(it,fr,Rt)}}}function Ji(tr,br){if(e.tracing&&tr.flags&3145728&&br.flags&3145728){var jr=tr,it=br;if(jr.objectFlags&it.objectFlags&65536)return;var Kt=jr.types.length,St=it.types.length;Kt*St>1e6&&e.tracing.instant("checkTypes","traceUnionsOrIntersectionsTooLarge_DepthLimit",{sourceId:tr.id,sourceSize:Kt,targetId:br.id,targetSize:St,pos:a==null?void 0:a.pos,end:a==null?void 0:a.end})}}function Wi(tr,br){if(tr.flags!==br.flags)return 0;if(tr.flags&67358815)return-1;if(Ji(tr,br),tr.flags&3145728){var jr=mt(tr,br);return jr&&(jr&=mt(br,tr)),jr}return Jr(tr,br,!1,0)}function rr(tr,br){var jr=function(it,Kt){var St;Kt=Il(Kt);var bt=Kt.flags&3145728?$_(Kt,br):Df(Kt,br),It=bt&&kt(bt)||((St=Yl(Kt,br))===null||St===void 0?void 0:St.type)||Rn;return e.append(it,It)};return Sa(e.reduceLeft(tr,jr,void 0)||e.emptyArray)}function yn(tr,br,jr){var it;if(!Cv(br)||!En&&e.getObjectFlags(br)&8192)return!1;var Kt=!!(e.getObjectFlags(tr)&2048);if((t===Tr||t===Wr)&&(Vm(us,br)||!Kt&&nd(br)))return!1;var St=br,bt;br.flags&1048576&&(St=$D(tr,br,jt)||pM(br),bt=St.flags&1048576?St.types:[St]);for(var It=function($i){if(pt($i,tr.symbol)&&!sS(tr,$i)){if(!Ub(St,$i.escapedName,Kt)){if(jr){var Ms=Nl(St,Cv);if(!a)return{value:e.Debug.fail()};if(e.isJsxAttributes(a)||e.isJsxOpeningLikeElement(a)||e.isJsxOpeningLikeElement(a.parent)){$i.valueDeclaration&&e.isJsxAttribute($i.valueDeclaration)&&e.getSourceFileOfNode(a)===e.getSourceFileOfNode($i.valueDeclaration.name)&&(a=$i.valueDeclaration.name);var _s=Qa($i),js=V0(_s,Ms),os=js?Qa(js):void 0;os?Pr(e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,_s,Lt(Ms),os):Pr(e.Diagnostics.Property_0_does_not_exist_on_type_1,_s,Lt(Ms))}else{var ss=((it=tr.symbol)===null||it===void 0?void 0:it.declarations)&&e.firstOrUndefined(tr.symbol.declarations),os=void 0;if($i.valueDeclaration&&e.findAncestor($i.valueDeclaration,function(Ea){return Ea===ss})&&e.getSourceFileOfNode(ss)===e.getSourceFileOfNode(a)){var Ss=$i.valueDeclaration;e.Debug.assertNode(Ss,e.isObjectLiteralElementLike),a=Ss;var fr=Ss.name;e.isIdentifier(fr)&&(os=zb(fr,Ms))}os!==void 0?Pr(e.Diagnostics.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2,Qa($i),Lt(Ms),os):Pr(e.Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,Qa($i),Lt(Ms))}}return{value:!0}}if(bt&&!jt(kt($i),rr(bt,$i.escapedName),jr))return jr&&xo(e.Diagnostics.Types_of_property_0_are_incompatible,Qa($i)),{value:!0}}},Ja=0,Ri=bo(tr);Ja=bt.types.length&&St.length%bt.types.length===0){var Ri=jt(Ja,bt.types[It%bt.types.length],!1,void 0,it);if(Ri){Kt&=Ri;continue}}var Oi=jt(Ja,br,jr,void 0,it);if(!Oi)return 0;Kt&=Oi}return Kt}function Nr(tr,br,jr,it,Kt){if(tr===void 0&&(tr=e.emptyArray),br===void 0&&(br=e.emptyArray),jr===void 0&&(jr=e.emptyArray),tr.length!==br.length&&t===Yt)return 0;for(var St=tr.length<=br.length?tr.length:br.length,bt=-1,It=0;It25)return e.tracing===null||e.tracing===void 0||e.tracing.instant("checkTypes","typeRelatedToDiscriminatedType_DepthLimit",{sourceId:tr.id,targetId:br.id,numCombinations:Kt}),0}for(var Ja=new Array(it.length),Ri=new e.Set,Oi=0;Oi5?Pr(e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,Lt(tr),Lt(br),e.map(Ri.slice(0,4),function(ro){return Qa(ro)}).join(", "),Ri.length-4):Pr(e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,Lt(tr),Lt(br),e.map(Ri,function(ro){return Qa(ro)}).join(", ")),Kt&&F&&Ir++)}function Qo(tr,br,jr,it,Kt){if(t===Yt)return Zs(tr,br,it);var St=-1;if(ji(br)){if(Gl(tr)||ji(tr)){if(!br.target.readonly&&(y_(tr)||ji(tr)&&tr.target.readonly))return 0;var bt=rp(tr),It=rp(br),Ja=ji(tr)?tr.target.combinedFlags&4:4,Ri=br.target.combinedFlags&4,Oi=ji(tr)?tr.target.minLength:0,ro=br.target.minLength;if(!Ja&&bt=It-js)?tr.target.elementFlags[Ss]:4,Rt=br.target.elementFlags[ss];if(Rt&8&&!(fr&8))return jr&&Pr(e.Diagnostics.Source_provides_no_match_for_variadic_element_at_position_0_in_target,ss),0;if(fr&8&&!(Rt&12))return jr&&Pr(e.Diagnostics.Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target,Ss,ss),0;if(Rt&1&&!(fr&1))return jr&&Pr(e.Diagnostics.Source_provides_no_match_for_required_element_at_position_0_in_target,ss),0;if(!(os&&((fr&12||Rt&12)&&(os=!1),os&&(it!=null&&it.has(""+ss))))){var Ea=ji(tr)?ss<_s||ss>=It-js?Bm($i[Ss],!!(fr&Rt&2)):Lh(tr,_s,js)||Jt:$i[0],aa=Ms[ss],la=fr&8&&Rt&4?bl(aa):Bm(aa,!!(Rt&2)),oi=jt(Ea,la,jr,void 0,Kt);if(!oi)return jr&&(It>1||bt>1)&&(ss<_s||ss>=It-js||bt-_s-js===1?xo(e.Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,Ss,ss):xo(e.Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,_s,bt-js-1,ss)),0;St&=oi}}return St}if(br.target.combinedFlags&12)return 0}var Ka=(t===un||t===Sn)&&!xp(tr)&&!XE(tr)&&!ji(tr),xi=fb(tr,br,Ka,!1);if(xi)return jr&&Mo(tr,br,xi,Ka),0;if(xp(br))for(var Xa=0,Ua=xa(bo(tr),it);Xa0&&e.every(r.properties,function(t){return!!(t.flags&16777216)})}return n.flags&2097152?e.every(n.types,cS):!1}function aC(n,r,t){for(var a=0,s=bo(n);a":a+="-"+S.id}return a}function dS(n,r,t,a){if(a===Yt&&n.id>r.id){var s=n;n=r,r=s}var u=t?":"+t:"";if(Th(n)&&Th(r)){var S=[];return HE(n,S)+","+HE(r,S)+u}return n.id+","+r.id+u}function gv(n,r){if(e.getCheckFlags(n)&6){for(var t=0,a=n.containingType.types;t=5){for(var a=vv(n),s=0,u=0;u=5))return!0}return!1}function vv(n){if(n.flags&524288&&!db(n)){if(e.getObjectFlags(n)&&n.node)return n.node;if(n.symbol&&!(e.getObjectFlags(n)&16&&n.symbol.flags&32))return n.symbol;if(ji(n))return n.target}if(n.flags&262144)return n.symbol;if(n.flags&8388608){do n=n.objectType;while(n.flags&8388608);return n}return n.flags&16777216?n.root:n}function pS(n,r){return KE(n,r,ug)!==0}function KE(n,r,t){if(n===r)return-1;var a=e.getDeclarationModifierFlagsFromSymbol(n)&24,s=e.getDeclarationModifierFlagsFromSymbol(r)&24;if(a!==s)return 0;if(a){if(Ym(n)!==Ym(r))return 0}else if((n.flags&16777216)!==(r.flags&16777216))return 0;return df(n)!==df(r)?0:t(kt(n),kt(r))}function dC(n,r,t){var a=ac(n),s=ac(r),u=Ju(n),S=Ju(r),F=Ku(n),ve=Ku(r);return!!(a===s&&u===S&&F===ve||t&&u<=S)}function hv(n,r,t,a,s,u){if(n===r)return-1;if(!dC(n,r,t)||e.length(n.typeParameters)!==e.length(r.typeParameters))return 0;if(r.typeParameters){for(var S=uc(n.typeParameters,r.typeParameters),F=0;Fe.length(r.typeParameters)&&(s=Ac(s,e.last(Co(n)))),n.objectFlags|=67108864,n.cachedEquivalentBaseType=s}}}function _S(n){return He?n===Ya:n===Ye}function XE(n){var r=zE(n);return!!r&&_S(r)}function E_(n){return ji(n)||!!wn(n,"0")}function gS(n){return lp(n)||E_(n)}function vC(n,r){var t=Os(n,""+r);if(t)return t;if(ad(n,ji))return Ps(n,function(a){return dg(a)||Rn})}function hC(n){return!(n.flags&240512)}function Wu(n){return!!(n.flags&109440)}function vS(n){return n.flags&2097152?e.some(n.types,Wu):!!(n.flags&109440)}function yC(n){return n.flags&2097152&&e.find(n.types,Wu)||n}function Gm(n){return n.flags&16?!0:n.flags&1048576?n.flags&1024?!0:e.every(n.types,Wu):Wu(n)}function ju(n){return n.flags&1024?Nm(n):n.flags&128?gr:n.flags&256?Dr:n.flags&2048?qr:n.flags&512?Ur:n.flags&1048576?Ps(n,ju):n}function Ap(n){return n.flags&1024&&Lp(n)?Nm(n):n.flags&128&&Lp(n)?gr:n.flags&256&&Lp(n)?Dr:n.flags&2048&&Lp(n)?qr:n.flags&512&&Lp(n)?Ur:n.flags&1048576?Ps(n,Ap):n}function hS(n){return n.flags&8192?qt:n.flags&1048576?Ps(n,hS):n}function YE(n,r){return fy(n,r)||(n=hS(Ap(n))),n}function EC(n,r,t){if(n&&Wu(n)){var a=r?t?Fv(r):r:void 0;n=YE(n,a)}return n}function QE(n,r,t,a){if(n&&Wu(n)){var s=r?Xm(t,r,a):void 0;n=YE(n,s)}return n}function ji(n){return!!(e.getObjectFlags(n)&4&&n.target.objectFlags&8)}function b_(n){return ji(n)&&!!(n.target.combinedFlags&8)}function yS(n){return b_(n)&&n.target.elementFlags.length===1}function dg(n){return Lh(n,n.target.fixedLength)}function bC(n){var r=dg(n);return r&&bl(r)}function Lh(n,r,t,a){t===void 0&&(t=0),a===void 0&&(a=!1);var s=rp(n)-t;if(r-1&&(es(u,u.name.escapedText,788968,void 0,u.name.escapedText,!0)||u.name.originalKeywordKind&&e.isTypeNodeKind(u.name.originalKeywordKind))){var S="arg"+u.parent.parameters.indexOf(u);Es(En,n,e.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,S,e.declarationNameToString(u.name));return}s=n.dotDotDotToken?En?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:En?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 201:if(s=e.Diagnostics.Binding_element_0_implicitly_has_an_1_type,!En)return;break;case 312:Jn(n,e.Diagnostics.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,a);return;case 254:case 167:case 166:case 170:case 171:case 211:case 212:if(En&&!n.name){t===3?Jn(n,e.Diagnostics.Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation,a):Jn(n,e.Diagnostics.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,a);return}s=En?t===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 193:En&&Jn(n,e.Diagnostics.Mapped_object_type_implicitly_has_an_any_template_type);return;default:s=En?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}Es(En,n,s,e.declarationNameToString(e.getNameOfDeclaration(n)),a)}}function Ih(n,r,t){M&&En&&e.getObjectFlags(r)&131072&&(!t||!Pb(n))&&(xh(r)||Cp(n,r,t))}function tb(n,r,t){var a=ac(n),s=ac(r),u=Sg(n),S=Sg(r),F=S?s-1:s,ve=u?F:Math.min(a,F),Ge=Id(n);if(Ge){var Je=Id(r);Je&&t(Ge,Je)}for(var Xe=0;Xen.target.minLength||!r.target.hasRestElement&&(n.target.hasRestElement||r.target.fixedLength0){for(var Ir=tn,xr=Dn;xr=Gr(Ir).indexOf(sr,xr),!(xr>=0);){if(Ir++,Ir===n.length)return;xr=0}ct(Ir,xr),Dn+=sr.length}else if(Dn0)for(var Qn=0,Nr=Pr;Qn1){var r=e.filter(n,db);if(r.length){var t=Sa(r,2);return e.concatenate(e.filter(n,function(a){return!db(a)}),[t])}}return n}function zC(n){return n.priority&416?Ro(n.contraCandidates):gC(n.contraCandidates)}function qC(n,r){var t=KC(n.candidates),a=JC(n.typeParameter),s=!a&&n.topLevel&&(n.isFixed||!lb(_o(r),n.typeParameter)),u=a?e.sameMap(t,cc):s?e.sameMap(t,Ap):t,S=n.priority&416?Sa(u,2):_C(u);return fc(S)}function PS(n,r){var t=n.inferences[r];if(!t.inferredType){var a=void 0,s=n.signature;if(s){var u=t.candidates?qC(t,s):void 0;if(t.contraCandidates){var S=zC(t);a=u&&!(u.flags&131072)&&ed(u,S)?u:S}else if(u)a=u;else if(n.flags&1)a=Ot;else{var F=ep(t.typeParameter);F&&(a=fi(F,NA(IA(n,r),n.nonFixingMapper)))}}else a=NS(t);t.inferredType=a||pb(!!(n.flags&2));var ve=yc(t.typeParameter);if(ve){var Ge=fi(ve,n.nonFixingMapper);(!a||!n.compareTypes(a,Ac(Ge,a)))&&(t.inferredType=a=Ge)}}return t.inferredType}function pb(n){return n?cr:cn}function mb(n){for(var r=[],t=0;t=10&&a*2>=n.length?t:void 0}function Oh(n){var r=n.types;if(!(r.length<10||e.getObjectFlags(n)&65536)){if(n.keyPropertyName===void 0){var t=e.forEach(r,function(s){return s.flags&59506688?e.forEach(bo(s),function(u){return Wu(kt(u))?u.escapedName:void 0}):void 0}),a=t&&YC(r,t);n.keyPropertyName=a?t:"",n.constituentMap=a}return n.keyPropertyName.length?n.keyPropertyName:void 0}}function Ph(n,r){var t,a=(t=n.constituentMap)===null||t===void 0?void 0:t.get(cu(cc(r)));return a!==cn?a:void 0}function GS(n,r){var t=Oh(n),a=t&&Os(r,t);return a&&Ph(n,a)}function QC(n,r){var t=Oh(n),a=t&&e.find(r.properties,function(u){return u.symbol&&u.kind===291&&u.symbol.escapedName===t&&Dv(u.initializer)}),s=a&&kl(a.initializer);return s&&Ph(n,s)}function BS(n,r){return Tl(n,r)||wS(n,r)}function US(n,r){if(n.arguments)for(var t=0,a=n.arguments;t=0&&Jr.parameterIndex=Jr&&Ct-1){var xa=ut.filter(function(Qo){return Qo!==void 0}),lo=Ct=2||!(r.flags&34)||!r.valueDeclaration||e.isSourceFile(r.valueDeclaration)||r.valueDeclaration.parent.kind===290)){var t=e.getEnclosingBlockScopeContainer(r.valueDeclaration),a=xx(n,t),s=Tb(t);if(s){if(a){var u=!0;if(e.isForStatement(t)){var S=e.getAncestor(r.valueDeclaration,253);if(S&&S.parent===t){var F=Ix(n.parent,t);if(F){var ve=da(F);ve.flags|=131072;var Ge=ve.capturedBlockScopeBindings||(ve.capturedBlockScopeBindings=[]);e.pushIfUnique(Ge,r),F===t.initializer&&(u=!1)}}}u&&(da(s).flags|=65536)}if(e.isForStatement(t)){var S=e.getAncestor(r.valueDeclaration,253);S&&S.parent===t&&Rx(n,t)&&(da(r.valueDeclaration).flags|=4194304)}da(r.valueDeclaration).flags|=524288}a&&(da(r.valueDeclaration).flags|=262144)}}function kx(n,r){var t=da(n);return!!t&&e.contains(t.capturedBlockScopeBindings,wt(r))}function Rx(n,r){for(var t=n;t.parent.kind===210;)t=t.parent;var a=!1;if(e.isAssignmentTarget(t))a=!0;else if(t.parent.kind===217||t.parent.kind===218){var s=t.parent;a=s.operator===45||s.operator===46}return a?!!e.findAncestor(t,function(u){return u===r?"quit":u===r.statement}):!1}function Sb(n,r){if(da(n).flags|=2,r.kind===165||r.kind===169){var t=r.parent;da(t).flags|=4}else da(r).flags|=4}function i0(n){return e.isSuperCall(n)?n:e.isFunctionLike(n)?void 0:e.forEachChild(n,i0)}function o0(n){var r=wt(n),t=rs(r),a=cf(t);return a===ir}function s0(n,r,t){var a=r.parent,s=e.getClassExtendsHeritageElement(a);s&&!o0(a)&&n.flowNode&&!Vh(n.flowNode,!1)&&Jn(n,t)}function Ox(n,r){e.isPropertyDeclaration(r)&&e.hasStaticModifier(r)&&r.initializer&&e.textRangeContainsPositionInclusive(r.initializer,n.pos)&&e.length(r.parent.decorators)&&Jn(n,e.Diagnostics.Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class)}function jh(n){var r=S_(n),t=e.getThisContainer(n,!0),a=!1;switch(t.kind===169&&s0(n,t,e.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class),t.kind===212&&(t=e.getThisContainer(t,!1),a=!0),Ox(n,t),t.kind){case 259:Jn(n,e.Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 258:Jn(n,e.Diagnostics.this_cannot_be_referenced_in_current_location);break;case 169:l0(n,t)&&Jn(n,e.Diagnostics.this_cannot_be_referenced_in_constructor_arguments);break;case 160:Jn(n,e.Diagnostics.this_cannot_be_referenced_in_a_computed_property_name);break}!r&&a&&we<2&&Sb(n,t);var s=Db(n,!0,t);if(i){var u=kt(hn);if(s===u&&a)Jn(n,e.Diagnostics.The_containing_arrow_function_captures_the_global_value_of_this);else if(!s){var S=Jn(n,e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);if(!e.isSourceFile(t)){var F=Db(t);F&&F!==u&&e.addRelatedInfo(S,e.createDiagnosticForNode(t,e.Diagnostics.An_outer_value_of_this_is_shadowed_by_this_container))}}}return s||cr}function Db(n,r,t){r===void 0&&(r=!0),t===void 0&&(t=e.getThisContainer(n,!1));var a=e.isInJSFile(n);if(e.isFunctionLike(t)&&(!Cb(n)||e.getThisParameter(t))){var s=ka(t)||a&&wx(t);if(!s){var u=Mx(t);if(a&&u){var S=vi(u).symbol;S&&S.members&&S.flags&16&&(s=rs(S).thisType)}else Nu(t)&&(s=rs(Eo(t.symbol)).thisType);s||(s=u0(t))}if(s)return tm(n,s)}if(e.isClassLike(t.parent)){var F=wt(t.parent),ve=e.isStatic(t)?kt(F):rs(F).thisType;return tm(n,ve)}if(e.isSourceFile(t))if(t.commonJsModuleIndicator){var Ge=wt(t);return Ge&&kt(Ge)}else{if(t.externalModuleIndicator)return Rn;if(r)return kt(hn)}}function Px(n){var r=e.getThisContainer(n,!1);if(e.isFunctionLike(r)){var t=su(r);if(t.thisParameter)return Gh(t.thisParameter)}if(e.isClassLike(r.parent)){var a=wt(r.parent);return e.isStatic(r)?kt(a):rs(a).thisType}}function Mx(n){if(n.kind===211&&e.isBinaryExpression(n.parent)&&e.getAssignmentDeclarationKind(n.parent)===3)return n.parent.left.expression.expression;if(n.kind===167&&n.parent.kind===203&&e.isBinaryExpression(n.parent.parent)&&e.getAssignmentDeclarationKind(n.parent.parent)===6)return n.parent.parent.left.expression;if(n.kind===211&&n.parent.kind===291&&n.parent.parent.kind===203&&e.isBinaryExpression(n.parent.parent.parent)&&e.getAssignmentDeclarationKind(n.parent.parent.parent)===6)return n.parent.parent.parent.left.expression;if(n.kind===211&&e.isPropertyAssignment(n.parent)&&e.isIdentifier(n.parent.name)&&(n.parent.name.escapedText==="value"||n.parent.name.escapedText==="get"||n.parent.name.escapedText==="set")&&e.isObjectLiteralExpression(n.parent.parent)&&e.isCallExpression(n.parent.parent.parent)&&n.parent.parent.parent.arguments[2]===n.parent.parent&&e.getAssignmentDeclarationKind(n.parent.parent.parent)===9)return n.parent.parent.parent.arguments[0].expression;if(e.isMethodDeclaration(n)&&e.isIdentifier(n.name)&&(n.name.escapedText==="value"||n.name.escapedText==="get"||n.name.escapedText==="set")&&e.isObjectLiteralExpression(n.parent)&&e.isCallExpression(n.parent.parent)&&n.parent.parent.arguments[2]===n.parent&&e.getAssignmentDeclarationKind(n.parent.parent)===9)return n.parent.parent.arguments[0].expression}function wx(n){var r=e.getJSDocType(n);if(r&&r.kind===312){var t=r;if(t.parameters.length>0&&t.parameters[0].name&&t.parameters[0].name.escapedText==="this")return Ra(t.parameters[0].type)}var a=e.getJSDocThisTag(n);if(a&&a.typeExpression)return Ra(a.typeExpression)}function l0(n,r){return!!e.findAncestor(n,function(t){return e.isFunctionLikeDeclaration(t)?"quit":t.kind===162&&t.parent===r})}function Lb(n){var r=n.parent.kind===206&&n.parent.expression===n,t=e.getSuperContainer(n,!0),a=t,s=!1;if(!r)for(;a&&a.kind===212;)a=e.getSuperContainer(a,!0),s=we<2;var u=Xe(a),S=0;if(!u){var F=e.findAncestor(n,function(tn){return tn===a?"quit":tn.kind===160});return F&&F.kind===160?Jn(n,e.Diagnostics.super_cannot_be_referenced_in_a_computed_property_name):r?Jn(n,e.Diagnostics.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors):!a||!a.parent||!(e.isClassLike(a.parent)||a.parent.kind===203)?Jn(n,e.Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions):Jn(n,e.Diagnostics.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class),J}if(!r&&t.kind===169&&s0(n,a,e.Diagnostics.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class),e.isStatic(a)||r?(S=512,!r&&we>=2&&we<=8&&(e.isPropertyDeclaration(a)||e.isClassStaticBlockDeclaration(a))&&e.forEachEnclosingBlockScopeContainer(n.parent,function(tn){(!e.isSourceFile(tn)||e.isExternalOrCommonJsModule(tn))&&(da(tn).flags|=134217728)})):S=256,da(n).flags|=S,a.kind===167&&e.hasSyntacticModifier(a,256)&&(e.isSuperProperty(n.parent)&&e.isAssignmentTarget(n.parent)?da(a).flags|=4096:da(a).flags|=2048),s&&Sb(n.parent,a),a.parent.kind===203)return we<2?(Jn(n,e.Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),J):cr;var ve=a.parent;if(!e.getClassExtendsHeritageElement(ve))return Jn(n,e.Diagnostics.super_can_only_be_referenced_in_a_derived_class),J;var Ge=rs(wt(ve)),Je=Ge&&vc(Ge)[0];if(!Je)return J;if(a.kind===169&&l0(n,a))return Jn(n,e.Diagnostics.super_cannot_be_referenced_in_constructor_arguments),J;return S===512?cf(Ge):Ac(Je,Ge.thisType);function Xe(tn){return tn?r?tn.kind===169:e.isClassLike(tn.parent)||tn.parent.kind===203?e.isStatic(tn)?tn.kind===167||tn.kind===166||tn.kind===170||tn.kind===171||tn.kind===165||tn.kind===168:tn.kind===167||tn.kind===166||tn.kind===170||tn.kind===171||tn.kind===165||tn.kind===164||tn.kind===169:!1:!1}}function Fx(n){return(n.kind===167||n.kind===170||n.kind===171)&&n.parent.kind===203?n.parent:n.kind===211&&n.parent.kind===291?n.parent.parent:void 0}function c0(n){return e.getObjectFlags(n)&4&&n.target===ce?Co(n)[0]:void 0}function Gx(n){return Ps(n,function(r){return r.flags&2097152?e.forEach(r.types,c0):c0(r)})}function u0(n){if(n.kind!==212){if($T(n)){var r=Lv(n);if(r){var t=r.thisParameter;if(t)return kt(t)}}var a=e.isInJSFile(n);if(i||a){var s=Fx(n);if(s){for(var u=Ip(s),S=s,F=u;F;){var ve=Gx(F);if(ve)return fi(ve,sb(yg(s)));if(S.parent.kind!==291)break;S=S.parent.parent,F=Ip(S)}return fc(u?Rd(u):ll(s))}var Ge=e.walkUpParenthesizedExpressions(n.parent);if(Ge.kind===219&&Ge.operatorToken.kind===63){var Je=Ge.left;if(e.isAccessExpression(Je)){var Xe=Je.expression;if(a&&e.isIdentifier(Xe)){var tn=e.getSourceFileOfNode(Ge);if(tn.commonJsModuleIndicator&&xu(Xe)===tn.symbol)return}return fc(ll(Xe))}}}}}function f0(n){var r=n.parent;if($T(r)){var t=e.getImmediatelyInvokedFunctionExpression(r);if(t&&t.arguments){var a=Qb(t),s=r.parameters.indexOf(n);if(n.dotDotDotToken)return Yb(a,s,a.length,cr,void 0,0);var u=da(t),S=u.resolvedSignature;u.resolvedSignature=bi;var F=s=a?Ec(kt(t.parameters[a]),Zf(r-a),256):fu(t,r)}function Jx(n,r){if(n.parent.kind===208)return p0(n.parent,r)}function Kx(n,r){var t=n.parent,a=t.left,s=t.operatorToken,u=t.right;switch(s.kind){case 63:case 76:case 75:case 77:return n===u?qx(t):void 0;case 56:case 60:var S=uu(t,r);return n===u&&(S&&S.pattern||!S&&!e.isDefaultedExpandoInitializer(t))?kl(a):S;case 55:case 27:return n===u?uu(t,r):void 0;default:return}}function zx(n){if(n.symbol)return n.symbol;if(e.isIdentifier(n))return xu(n);if(e.isPropertyAccessExpression(n)){var r=kl(n.expression);return e.isPrivateIdentifier(n.name)?t(r,n.name):wn(r,n.name.escapedText)}return;function t(a,s){var u=jb(s.escapedText,s);return u&&Hb(a,u)}}function qx(n){var r,t,a=e.getAssignmentDeclarationKind(n);switch(a){case 0:case 4:var s=zx(n.left),u=s&&s.valueDeclaration;if(u&&(e.isPropertyDeclaration(u)||e.isPropertySignature(u))){var S=e.getEffectiveTypeAnnotationNode(u);return S&&fi(Ra(S),Za(s).mapper)||u.initializer&&kl(n.left)}return a===0?kl(n.left):m0(n);case 5:if(Hh(n,a))return m0(n);if(n.left.symbol){var F=n.left.symbol.valueDeclaration;if(!F)return;var ve=e.cast(n.left,e.isAccessExpression),S=e.getEffectiveTypeAnnotationNode(F);if(S)return Ra(S);if(e.isIdentifier(ve.expression)){var Ge=ve.expression,Je=es(Ge,Ge.escapedText,111551,void 0,Ge.escapedText,!0);if(Je){var Xe=Je.valueDeclaration&&e.getEffectiveTypeAnnotationNode(Je.valueDeclaration);if(Xe){var tn=e.getElementOrPropertyAccessName(ve);if(tn!==void 0)return am(Ra(Xe),tn)}return}}return e.isInJSFile(F)?void 0:kl(n.left)}else return kl(n.left);case 1:case 6:case 3:var Dn=(r=n.left.symbol)===null||r===void 0?void 0:r.valueDeclaration;case 2:Dn||(Dn=(t=n.symbol)===null||t===void 0?void 0:t.valueDeclaration);var nr=Dn&&e.getEffectiveTypeAnnotationNode(Dn);return nr?Ra(nr):void 0;case 7:case 8:case 9:return e.Debug.fail("Does not apply");default:return e.Debug.assertNever(a)}}function Hh(n,r){if(r===void 0&&(r=e.getAssignmentDeclarationKind(n)),r===4)return!0;if(!e.isInJSFile(n)||r!==5||!e.isIdentifier(n.left.expression))return!1;var t=n.left.expression.escapedText,a=es(n.left,t,111551,void 0,void 0,!0,!0);return e.isThisInitializedDeclaration(a==null?void 0:a.valueDeclaration)}function m0(n){if(!n.symbol)return kl(n.left);if(n.symbol.valueDeclaration){var r=e.getEffectiveTypeAnnotationNode(n.symbol.valueDeclaration);if(r){var t=Ra(r);if(t)return t}}var a=e.cast(n.left,e.isAccessExpression);if(e.isObjectLiteralMethod(e.getThisContainer(a.expression,!1))){var s=jh(a.expression),u=e.getElementOrPropertyAccessName(a);return u!==void 0&&am(s,u)||void 0}}function Xx(n){return!!(e.getCheckFlags(n)&262144&&!n.type&&Dd(n,0)>=0)}function am(n,r){return Ps(n,function(t){var a;if(hc(t)){var s=tu(t),u=Xl(s)||s,S=Jc(e.unescapeLeadingUnderscores(r));if(mo(S,u))return MT(t,S)}else if(t.flags&3670016){var F=wn(t,r);if(F)return Xx(F)?void 0:kt(F);if(ji(t)){var ve=dg(t);if(ve&&id(r)&&+r>=0)return ve}return(a=La(Ci(t),Jc(e.unescapeLeadingUnderscores(r))))===null||a===void 0?void 0:a.type}},!0)}function Yx(n,r){if(e.Debug.assert(e.isObjectLiteralMethod(n)),!(n.flags&16777216))return Nb(n,r)}function Nb(n,r){var t=n.parent,a=e.isPropertyAssignment(n)&&Ab(n);if(a)return a;var s=Ip(t,r);if(s){if(wl(n))return am(s,wt(n).escapedName);if(n.name){var u=tp(n.name);return Ps(s,function(S){var F;return(F=La(Ci(S),u))===null||F===void 0?void 0:F.type},!0)}}}function kb(n,r){return n&&(am(n,""+r)||Ps(n,function(t){return T1(1,t,Rn,void 0,!1)},!0))}function Qx(n,r){var t=n.parent;return n===t.whenTrue||n===t.whenFalse?uu(t,r):void 0}function Zx(n,r){var t=Ip(n.openingElement.tagName),a=Xh(Km(n));if(t&&!no(t)&&a&&a!==""){var s=e.getSemanticJsxChildren(n.children),u=s.indexOf(r),S=am(t,a);return S&&(s.length===1?S:Ps(S,function(F){return lp(F)?Ec(F,Zf(u)):F},!0))}}function $x(n){var r=n.parent;return e.isJsxAttributeLike(r)?uu(n):e.isJsxElement(r)?Zx(r,n):void 0}function _0(n){if(e.isJsxAttribute(n)){var r=Ip(n.parent);return!r||no(r)?void 0:am(r,n.name.escapedText)}else return uu(n.parent)}function Dv(n){switch(n.kind){case 10:case 8:case 9:case 14:case 110:case 95:case 104:case 79:case 151:return!0;case 204:case 210:return Dv(n.expression);case 286:return!n.expression||Dv(n.expression)}return!1}function eI(n,r){return QC(r,n)||WE(r,e.concatenate(e.map(e.filter(n.properties,function(t){return!!t.symbol&&t.kind===291&&Dv(t.initializer)&&gg(r,t.symbol.escapedName)}),function(t){return[function(){return d1(t.initializer)},t.symbol.escapedName]}),e.map(e.filter(bo(r),function(t){var a;return!!(t.flags&16777216)&&!!(!((a=n==null?void 0:n.symbol)===null||a===void 0)&&a.members)&&!n.symbol.members.has(t.escapedName)&&gg(r,t.escapedName)}),function(t){return[function(){return Rn},t.escapedName]})),mo,r)}function nI(n,r){return WE(r,e.concatenate(e.map(e.filter(n.properties,function(t){return!!t.symbol&&t.kind===283&&gg(r,t.symbol.escapedName)&&(!t.initializer||Dv(t.initializer))}),function(t){return[t.initializer?function(){return vi(t.initializer)}:function(){return Kr},t.symbol.escapedName]}),e.map(e.filter(bo(r),function(t){var a;return!!(t.flags&16777216)&&!!(!((a=n==null?void 0:n.symbol)===null||a===void 0)&&a.members)&&!n.symbol.members.has(t.escapedName)&&gg(r,t.escapedName)}),function(t){return[function(){return Rn},t.escapedName]})),mo,r)}function Ip(n,r){var t=e.isObjectLiteralMethod(n)?Yx(n,r):uu(n,r),a=Jh(t,n,r);if(a&&!(r&&r&2&&a.flags&8650752)){var s=Ps(a,Il,!0);return s.flags&1048576&&e.isObjectLiteralExpression(n)?eI(n,s):s.flags&1048576&&e.isJsxAttributes(n)?nI(n,s):s}}function Jh(n,r,t){if(n&&bs(n,465829888)){var a=yg(r);if(a&&e.some(a.inferences,Lm)){if(t&&t&1)return Kh(n,a.nonFixingMapper);if(a.returnMapper)return Kh(n,a.returnMapper)}}return n}function Kh(n,r){return n.flags&465829888?fi(n,r):n.flags&1048576?Sa(e.map(n.types,function(t){return Kh(t,r)}),0):n.flags&2097152?Ro(e.map(n.types,function(t){return Kh(t,r)})):n}function uu(n,r){if(n.flags&16777216)return;if(n.contextualType)return n.contextualType;var t=n.parent;switch(t.kind){case 252:case 162:case 165:case 164:case 201:return Vx(n,r);case 212:case 245:return Wx(n);case 222:return Hx(t);case 216:return jx(t,r);case 206:if(t.expression.kind===100)return gr;case 207:return p0(t,n);case 209:case 227:return e.isConstTypeReference(t.type)?S(t):Ra(t.type);case 219:return Kx(n,r);case 291:case 292:return Nb(t,r);case 293:return uu(t.parent,r);case 202:{var a=t,s=Ip(a,r);return kb(s,e.indexOfNode(a.elements,n))}case 220:return Qx(n,r);case 231:return e.Debug.assert(t.parent.kind===221),Jx(t.parent,n);case 210:{var u=e.isInJSFile(t)?e.getJSDocTypeTag(t):void 0;return u?Ra(u.typeExpression.type):uu(t,r)}case 228:return uu(t,r);case 286:return $x(t);case 283:case 285:return _0(t);case 278:case 277:return rI(t,r)}return;function S(F){return uu(F)}}function yg(n){var r=e.findAncestor(n,function(t){return!!t.inferenceContext});return r&&r.inferenceContext}function rI(n,r){return e.isJsxOpeningElement(n)&&n.parent.contextualType&&r!==4?n.parent.contextualType:Ib(n,0)}function zh(n,r){return $0(r)!==0?tI(n,r):oI(n,r)}function tI(n,r){var t=t1(n,cn);t=g0(r,Km(r),t);var a=Np(T.IntrinsicAttributes,r);return a!==J&&(t=km(a,t)),t}function aI(n,r){if(n.compositeSignatures){for(var t=[],a=0,s=n.compositeSignatures;a=2){var F=np([u,t],S,2,e.isInJSFile(n));return ag(a,F)}}if(e.length(s.typeParameters)>=2){var F=np([u,t],s.typeParameters,2,e.isInJSFile(n));return Yf(s,F)}}return t}function oI(n,r){var t=Km(r),a=AI(t),s=a===void 0?t1(n,cn):a===""?_o(n):aI(n,a);if(!s)return a&&e.length(r.attributes.properties)&&Jn(r,e.Diagnostics.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,e.unescapeLeadingUnderscores(a)),cn;if(s=g0(r,t,s),no(s))return s;var u=s,S=Np(T.IntrinsicClassAttributes,r);if(S!==J){var F=Nt(S.symbol),ve=_o(n);u=km(F?Yf(S,np([ve],F,Lu(F),e.isInJSFile(r))):S,u)}var Ge=Np(T.IntrinsicAttributes,r);return Ge!==J&&(u=km(Ge,u)),u}function sI(n){return e.getStrictOptionValue(pe,"noImplicitAny")?e.reduceLeft(n,function(r,t){return r===t||!r?r:Jg(r.typeParameters,t.typeParameters)?uI(r,t):void 0}):void 0}function lI(n,r,t){if(!n||!r)return n||r;var a=Sa([kt(n),fi(kt(r),t)]);return Sm(n,a)}function cI(n,r,t){for(var a=ac(n),s=ac(r),u=a>=s?n:r,S=u===n?r:n,F=u===n?a:s,ve=Ku(n)||Ku(r),Ge=ve&&!Ku(u),Je=new Array(F+(Ge?1:0)),Xe=0;Xe=Ju(u)&&Xe>=Ju(S),xr=Xe>=a?void 0:k_(n,Xe),Gr=Xe>=s?void 0:k_(r,Xe),ct=xr===Gr?xr:xr?Gr?void 0:xr:Gr,Vt=fo(1|(Ir&&!sr?16777216:0),ct||"arg"+Xe);Vt.type=sr?bl(nr):nr,Je[Xe]=Vt}if(Ge){var _t=fo(1,"args");_t.type=bl(fu(S,F)),S===r&&(_t.type=fi(_t.type,t)),Je[F]=_t}return Je}function uI(n,r){var t=n.typeParameters||r.typeParameters,a;n.typeParameters&&r.typeParameters&&(a=uc(r.typeParameters,n.typeParameters));var s=n.declaration,u=cI(n,r,a),S=lI(n.thisParameter,r.thisParameter,a),F=Math.max(n.minArgumentCount,r.minArgumentCount),ve=Tu(s,t,S,u,void 0,void 0,F,(n.flags|r.flags)&39);return ve.compositeKind=2097152,ve.compositeSignatures=e.concatenate(n.compositeKind===2097152&&n.compositeSignatures||[n],[r]),a&&(ve.mapper=n.compositeKind===2097152&&n.mapper&&n.compositeSignatures?Em(n.mapper,a):a),ve}function Rb(n,r){var t=zr(n,0),a=e.filter(t,function(s){return!fI(s,r)});return a.length===1?a[0]:sI(a)}function fI(n,r){for(var t=0;t0&&(S=Dp(S,Ji(),n.symbol,nr,Ge),u=[],s=e.createSymbolTable(),Ir=!1,xr=!1,Gr=!1);var go=iu(vi(ai.expression));if(A_(go)){var na=LE(go,Ge);if(a&&T0(na,a,ai),Ta=u.length,S===J)continue;S=Dp(S,na,n.symbol,nr,Ge)}else Jn(ai,e.Diagnostics.Spread_types_may_only_be_created_from_object_types),S=J;continue}else e.Debug.assert(ai.kind===170||ai.kind===171),Og(ai);ii&&!(ii.flags&8576)?mo(ii,Ar)&&(mo(ii,Dr)?xr=!0:mo(ii,qt)?Gr=!0:Ir=!0,t&&(sr=!0)):s.set(Hi.escapedName,Hi),u.push(Hi)}if(ve&&n.parent.kind!==293)for(var si=0,jt=bo(F);si0&&(S=Dp(S,Ji(),n.symbol,nr,Ge),u=[],s=e.createSymbolTable(),Ir=!1,xr=!1),Ps(S,function(Wi){return Wi===Lr?Ji():Wi});return Ji();function Ji(){var Wi=[];Ir&&Wi.push(Mb(n,Ta,u,gr)),xr&&Wi.push(Mb(n,Ta,u,Dr)),Gr&&Wi.push(Mb(n,Ta,u,qt));var rr=qo(n.symbol,s,e.emptyArray,e.emptyArray,Wi);return rr.objectFlags|=nr|128|262144,Dn&&(rr.objectFlags|=8192),sr&&(rr.objectFlags|=512),t&&(rr.pattern=n),rr}}function A_(n){if(n.flags&465829888){var r=Xl(n);if(r!==void 0)return A_(r)}return!!(n.flags&126615553||wc(n)&117632&&A_(bS(n))||n.flags&3145728&&e.every(n.types,A_))}function hI(n){Bb(n)}function yI(n,r){return Og(n),Av(n)||cr}function EI(n){Bb(n.openingElement),C_(n.closingElement.tagName)?Fb(n.closingElement):vi(n.closingElement.tagName),qh(n)}function bI(n,r){return Og(n),Av(n)||cr}function TI(n){Bb(n.openingFragment);var r=e.getSourceFileOfNode(n);return e.getJSXTransformEnabled(pe)&&(pe.jsxFactory||r.pragmas.has("jsx"))&&!pe.jsxFragmentFactory&&!r.pragmas.has("jsxfrag")&&Jn(n,pe.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),qh(n),Av(n)||cr}function wb(n){return e.stringContains(n,"-")}function C_(n){return n.kind===79&&e.isIntrinsicJsxName(n.escapedText)}function b0(n,r){return n.initializer?P_(n.initializer,r):Kr}function SI(n,r){for(var t=n.attributes,a=He?e.createSymbolTable():void 0,s=e.createSymbolTable(),u=Xr,S=!1,F,ve=!1,Ge=2048,Je=Xh(Km(n)),Xe=0,tn=t.properties;Xe0&&(u=Dp(u,sa(),t.symbol,Ge,!1),s=e.createSymbolTable());var sr=iu(ll(Dn.expression,r));no(sr)&&(S=!0),A_(sr)?(u=Dp(u,sr,t.symbol,Ge,!1),a&&T0(sr,a,Dn)):F=F?Ro([F,sr]):sr}}S||s.size>0&&(u=Dp(u,sa(),t.symbol,Ge,!1));var xr=n.parent.kind===276?n.parent:void 0;if(xr&&xr.openingElement===n&&xr.children.length>0){var Gr=qh(xr,r);if(!S&&Je&&Je!==""){ve&&Jn(t,e.Diagnostics._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,e.unescapeLeadingUnderscores(Je));var ct=Ip(n.attributes),Vt=ct&&am(ct,Je),_t=fo(4,Je);_t.type=Gr.length===1?Gr[0]:Vt&&D_(Vt,E_)?Vu(Gr):bl(Sa(Gr)),_t.valueDeclaration=e.factory.createPropertySignature(void 0,e.unescapeLeadingUnderscores(Je),void 0,void 0),e.setParent(_t.valueDeclaration,t),_t.valueDeclaration.symbol=_t;var Ta=e.createSymbolTable();Ta.set(Je,_t),u=Dp(u,qo(t.symbol,Ta,e.emptyArray,e.emptyArray,e.emptyArray),t.symbol,Ge,!1)}}if(S)return cr;if(F&&u!==Xr)return Ro([F,u]);return F||(u===Xr?sa():u);function sa(){Ge|=rn;var mi=qo(t.symbol,s,e.emptyArray,e.emptyArray,e.emptyArray);return mi.objectFlags|=Ge|128|262144,mi}}function qh(n,r){for(var t=[],a=0,s=n.children;a1&&t.declarations&&Jn(t.declarations[0],e.Diagnostics.The_global_type_JSX_0_may_not_have_more_than_one_property,e.unescapeLeadingUnderscores(n))}}function LI(n){return n&&$o(n.exports,T.LibraryManagedAttributes,788968)}function AI(n){return S0(T.ElementAttributesPropertyNameContainer,n)}function Xh(n){return S0(T.ElementChildrenAttributeNameContainer,n)}function D0(n,r){if(n.flags&4)return[bi];if(n.flags&128){var t=L0(n,r);if(t){var a=iy(r,t);return[a]}else return Jn(r,e.Diagnostics.Property_0_does_not_exist_on_type_1,n.value,"JSX."+T.IntrinsicElements),e.emptyArray}var s=Il(n),u=zr(s,1);return u.length===0&&(u=zr(s,0)),u.length===0&&s.flags&1048576&&(u=a_(e.map(s.types,function(S){return D0(S,r)}))),u}function L0(n,r){var t=Np(T.IntrinsicElements,r);if(t!==J){var a=n.value,s=wn(t,e.escapeLeadingUnderscores(a));if(s)return kt(s);var u=Ns(t,gr);return u||void 0}return cr}function CI(n,r,t){if(n===1){var a=x0(t);a&&Cu(r,a,Tr,t.tagName,e.Diagnostics.Its_return_type_0_is_not_a_valid_JSX_element,S)}else if(n===0){var s=C0(t);s&&Cu(r,s,Tr,t.tagName,e.Diagnostics.Its_instance_type_0_is_not_a_valid_JSX_element,S)}else{var a=x0(t),s=C0(t);if(!a||!s)return;var u=Sa([a,s]);Cu(r,u,Tr,t.tagName,e.Diagnostics.Its_element_type_0_is_not_a_valid_JSX_element,S)}function S(){var F=e.getTextOfNode(t.tagName);return e.chainDiagnosticMessages(void 0,e.Diagnostics._0_cannot_be_used_as_a_JSX_component,F)}}function A0(n){e.Debug.assert(C_(n.tagName));var r=da(n);if(!r.resolvedJsxElementAttributesType){var t=Fb(n);return r.jsxFlags&1?r.resolvedJsxElementAttributesType=kt(t)||J:r.jsxFlags&2?r.resolvedJsxElementAttributesType=Ns(Np(T.IntrinsicElements,n),gr)||J:r.resolvedJsxElementAttributesType=J}return r.resolvedJsxElementAttributesType}function C0(n){var r=Np(T.ElementClass,n);if(r!==J)return r}function Av(n){return Np(T.Element,n)}function x0(n){var r=Av(n);if(r)return Sa([r,zn])}function xI(n){var r=Np(T.IntrinsicElements,n);return r?bo(r):e.emptyArray}function II(n){(pe.jsx||0)===0&&Jn(n,e.Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided),Av(n)===void 0&&En&&Jn(n,e.Diagnostics.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist)}function Bb(n){var r=e.isJsxOpeningLikeElement(n);if(r&&FP(n),II(n),!Gb(n)){var t=zt&&pe.jsx===2?e.Diagnostics.Cannot_find_name_0:void 0,a=yo(n),s=r?n.tagName:n,u=void 0;e.isJsxOpeningFragment(n)&&a==="null"||(u=es(s,a,111551,t,a,!0)),u&&(u.isReferenced=67108863,u.flags&2097152&&!Qt(u)&&Wa(u))}if(r){var S=n,F=N_(S);sy(F,n),CI($0(S),_o(F),S)}}function Ub(n,r,t){if(n.flags&524288){if(Df(n,r)||Yl(n,r)||ml(r)&&po(n,gr)||t&&wb(r))return!0}else if(n.flags&3145728&&Cv(n))for(var a=0,s=n.types;a=1&&mo(t,fu(ve,0))}return!1}var s=e.isAssignmentTarget(r)?"set":"get";if(a(s)){var u=e.tryGetPropertyAccessOrIdentifierToString(r.expression);return u===void 0?u=s:u+="."+s,u}}function xv(n,r,t){return e.getSpellingSuggestion(n,r,a);function a(s){var u=e.symbolName(s);if(!e.startsWith(u,'"')){if(s.flags&t)return u;if(s.flags&2097152){var S=No(s);if(S&&S.flags&t)return u}}}}function $h(n,r,t){var a=n&&n.flags&106500&&n.valueDeclaration;if(a){var s=e.hasEffectiveModifier(a,8),u=n.valueDeclaration&&e.isNamedDeclaration(n.valueDeclaration)&&e.isPrivateIdentifier(n.valueDeclaration.name);if(!(!s&&!u)&&!(r&&e.isWriteOnlyAccess(r)&&!(n.flags&65536))){if(t){var S=e.findAncestor(r,e.isFunctionLikeDeclaration);if(S&&S.symbol===n)return}(e.getCheckFlags(n)&1?Za(n).target:n).isReferenced=67108863}}}function W0(n,r){return n.kind===108||!!r&&e.isEntityNameExpression(n)&&r===xu(e.getFirstIdentifier(n))}function KI(n,r){switch(n.kind){case 204:return Iv(n,n.expression.kind===106,r,fc(vi(n.expression)));case 159:return Iv(n,!1,r,fc(vi(n.left)));case 198:return Iv(n,!1,r,Ra(n))}}function j0(n,r,t){return Iv(n,n.kind===204&&n.expression.kind===106,t.escapedName,r)}function Iv(n,r,t,a){if(a===J||no(a))return!0;var s=wn(a,t);if(s){if(s.valueDeclaration&&e.isPrivateIdentifierClassElementDeclaration(s.valueDeclaration)){var u=e.getContainingClass(s.valueDeclaration);return!e.isOptionalChain(n)&&!!e.findAncestor(n,function(S){return S===u})}return Yh(n,r,!1,a,s,!1)}return e.isInJSFile(n)&&(a.flags&1048576)!==0&&a.types.some(function(S){return Iv(n,r,t,S)})}function zI(n){var r=n.initializer;if(r.kind===253){var t=r.declarations[0];if(t&&!e.isBindingPattern(t.name))return wt(t)}else if(r.kind===79)return xu(r)}function qI(n){return Ei(n).length===1&&!!po(n,Dr)}function XI(n){var r=e.skipParentheses(n);if(r.kind===79){var t=xu(r);if(t.flags&3)for(var a=n,s=n.parent;s;){if(s.kind===241&&a===s.statement&&zI(s)===t&&qI(kl(s.expression)))return!0;a=s,s=s.parent}}return!1}function YI(n,r){return n.flags&32?QI(n,r):H0(n,x_(n.expression),r)}function QI(n,r){var t=vi(n.expression),a=pg(t,n.expression);return Ah(H0(n,Iu(a,n.expression),r),n,a!==t)}function H0(n,r,t){var a=e.getAssignmentTargetKind(n)!==0||P0(n)?fc(r):r,s=n.argumentExpression,u=vi(s);if(a===J||a===Ot)return a;if(s1(a)&&!e.isStringLiteralLike(s))return Jn(s,e.Diagnostics.A_const_enum_member_can_only_be_accessed_using_a_string_literal),J;var S=XI(s)?Dr:u,F=e.isAssignmentTarget(n)?4|(vm(a)&&!uv(a)?2:0):32,ve=ap(a,S,F,n)||J;return H2(F0(n,da(n).resolvedSymbol,ve,s,t),n)}function J0(n){return e.isCallOrNewExpression(n)||e.isTaggedTemplateExpression(n)||e.isJsxOpeningLikeElement(n)}function zm(n){return J0(n)&&e.forEach(n.typeArguments,ao),n.kind===208?vi(n.template):e.isJsxOpeningLikeElement(n)?vi(n.attributes):n.kind!==163&&e.forEach(n.arguments,function(r){vi(r)}),bi}function Hu(n){return zm(n),Mi}function ZI(n,r,t){var a,s,u=0,S,F=-1,ve;e.Debug.assert(!r.length);for(var Ge=0,Je=n;Ge=0)return Je>=Ju(t)&&(Ku(t)||JeS)return!1;if(u||s>=F)return!0;for(var Xe=s;Xe=a&&r.length<=t}function Dm(n){return bg(n,0,!1)}function q0(n){return bg(n,0,!1)||bg(n,1,!1)}function bg(n,r,t){if(n.flags&524288){var a=Du(n);if(t||a.properties.length===0&&a.indexInfos.length===0){if(r===0&&a.callSignatures.length===1&&a.constructSignatures.length===0)return a.callSignatures[0];if(r===1&&a.constructSignatures.length===1&&a.callSignatures.length===0)return a.constructSignatures[0]}}}function X0(n,r,t,a){var s=mg(n.typeParameters,n,0,a),u=Sg(r),S=t&&(u&&u.flags&262144?t.nonFixingMapper:t.mapper),F=S?Fm(r,S):r;return tb(F,n,function(ve,Ge){Lf(s.inferences,ve,Ge)}),t||ab(r,n,function(ve,Ge){Lf(s.inferences,ve,Ge,128)}),ov(n,mb(s),e.isInJSFile(r.declaration))}function eN(n,r,t,a){var s=zh(r,n),u=qm(n.attributes,s,a,t);return Lf(a.inferences,u,s),mb(a)}function Y0(n){if(!n)return Cr;var r=vi(n);return e.isOptionalChainRoot(n.parent)?Rd(r):e.isOptionalChain(n.parent)?eb(r):r}function Xb(n,r,t,a,s){if(e.isJsxOpeningLikeElement(n))return eN(n,r,a,s);if(n.kind!==163){var u=uu(n,e.every(r.typeParameters,function(mi){return!!ep(mi)})?8:0);if(u){var S=yg(n),F=sb(RC(S,1)),ve=fi(u,F),Ge=Dm(ve),Je=Ge&&Ge.typeParameters?f_(aE(Ge,Ge.typeParameters)):ve,Xe=_o(r);Lf(s.inferences,Je,Xe,128);var tn=mg(r.typeParameters,r,s.flags),Dn=fi(u,S&&S.returnMapper);Lf(tn.inferences,Dn,Xe),s.returnMapper=e.some(tn.inferences,Lm)?sb(OC(tn)):void 0}}var nr=Dg(r),sr=nr?Math.min(ac(r)-1,t.length):t.length;if(nr&&nr.flags&262144){var Ir=e.find(s.inferences,function(mi){return mi.typeParameter===nr});Ir&&(Ir.impliedArity=e.findIndex(t,ey,sr)<0?t.length-sr:void 0)}var xr=Id(r);if(xr){var Gr=e2(n);Lf(s.inferences,Y0(Gr),xr)}for(var ct=0;ct=t-1){var S=n[t-1];if(ey(S))return Q0(S.kind===230?S.type:qm(S.expression,a,s,u))}for(var F=[],ve=[],Ge=[],Je=r;JeGr&&(Gr=ii)}}if(!xr)return!0;for(var go=1/0,xo=0,Yr=tn;xo0||e.isJsxOpeningElement(n)&&n.parent.children.length>0?[n.attributes]:e.emptyArray;var a=n.arguments||e.emptyArray,s=ny(a);if(s>=0){for(var u=a.slice(0,s),S=function(ve){var Ge=a[ve],Je=Ge.kind===223&&(Kn?vi(Ge.expression):ll(Ge.expression));Je&&ji(Je)?e.forEach(Co(Je),function(Xe,tn){var Dn,nr=Je.target.elementFlags[tn],sr=kp(Ge,nr&4?bl(Xe):Xe,!!(nr&12),(Dn=Je.target.labeledElementDeclarations)===null||Dn===void 0?void 0:Dn[tn]);u.push(sr)}):u.push(Ge)},F=s;F-1)return e.createDiagnosticForNode(t[s],e.Diagnostics.A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter);for(var u=Number.POSITIVE_INFINITY,S=Number.NEGATIVE_INFINITY,F=Number.NEGATIVE_INFINITY,ve=Number.POSITIVE_INFINITY,Ge,Je=0,Xe=r;JeF&&(F=Dn),t.lengtha?ve=Math.min(ve,Xe):S1&&(Gr=Ht(Xe,un,Dn,ct)),Gr||(Gr=Ht(Xe,Tr,Dn,ct)),Gr)return Gr;if(Ge)if(sr)if(sr.length===1||sr.length>3){var Vt=sr[sr.length-1],_t;sr.length>3&&(_t=e.chainDiagnosticMessages(_t,e.Diagnostics.The_last_overload_gave_the_following_error),_t=e.chainDiagnosticMessages(_t,e.Diagnostics.No_overload_matches_this_call));var Ta=Nv(n,tn,Vt,Tr,0,!0,function(){return _t});if(Ta)for(var sa=0,mi=Ta;sa3&&e.addRelatedInfo(ai,e.createDiagnosticForNode(Vt.declaration,e.Diagnostics.The_last_overload_is_declared_here)),Bt(Vt,ai),zt.add(ai)}else e.Debug.fail("No error for last overload signature")}else{for(var Hi=[],ii=0,go=Number.MAX_VALUE,xo=0,Yr=0,Pr=function(fa){var Qn=function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.Overload_0_of_1_2_gave_the_following_error,Yr+1,Xe.length,Rc(fa))},Nr=Nv(n,tn,fa,Tr,0,!0,Qn);Nr?(Nr.length<=go&&(go=Nr.length,xo=Yr),ii=Math.max(ii,Nr.length),Hi.push(Nr)):e.Debug.fail("No error for 3 or fewer overload signatures"),Yr++},Aa=0,Ga=sr;Aa1?Hi[xo]:e.flatten(Hi);e.Debug.assert(si.length>0,"No errors reported for 3 or fewer overload signatures");var jt=e.chainDiagnosticMessages(e.map(si,function(fa){return typeof fa.messageText=="string"?fa:fa.messageText}),e.Diagnostics.No_overload_matches_this_call),Ji=Vr([],e.flatMap(si,function(fa){return fa.relatedInformation}),!0),Wi=void 0;if(e.every(si,function(fa){return fa.start===si[0].start&&fa.length===si[0].length&&fa.file===si[0].file})){var rr=si[0],yn=rr.file,pt=rr.start,mt=rr.length;Wi={file:yn,start:pt,length:mt,code:jt.code,category:jt.category,messageText:jt,relatedInformation:Ji}}else Wi=e.createDiagnosticForNodeFromMessageChain(n,jt,Ji);Bt(sr[0],Wi),zt.add(Wi)}else if(Ir)zt.add(t2(n,[Ir],tn));else if(xr)Z0(xr,n.typeArguments,!0,u);else{var Ft=e.filter(r,function(fa){return z0(fa,Je)});Ft.length===0?zt.add(aN(n,r,Je)):F?u&&zt.add(ty(n,u)):zt.add(t2(n,Ft,tn))}return iN(n,Xe,tn,!!t);function Bt(fa,Qn){var Nr,Jr,tt=sr,ut=Ir,Ct=xr,pa=((Jr=(Nr=fa.declaration)===null||Nr===void 0?void 0:Nr.symbol)===null||Jr===void 0?void 0:Jr.declarations)||e.emptyArray,Oa=pa.length>1,Di=Oa?e.find(pa,function(Wo){return e.isFunctionLikeDeclaration(Wo)&&e.nodeIsPresent(Wo.body)}):void 0;if(Di){var xa=su(Di),lo=!xa.typeParameters;Ht([xa],Tr,lo)&&e.addRelatedInfo(Qn,e.createDiagnosticForNode(Di,e.Diagnostics.The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible))}sr=tt,Ir=ut,xr=Ct}function Ht(fa,Qn,Nr,Jr){if(Jr===void 0&&(Jr=!1),sr=void 0,Ir=void 0,xr=void 0,Nr){var tt=fa[0];if(e.some(Je)||!ry(n,tn,tt,Jr))return;if(Nv(n,tn,tt,Qn,0,!1,void 0)){sr=[tt];return}return tt}for(var ut=0;ut0),Og(n),a||r.length===1||r.some(function(s){return!!s.typeParameters})?lN(n,r,t):oN(r)}function oN(n){var r=e.mapDefined(n,function(tn){return tn.thisParameter}),t;r.length&&(t=a2(r,r.map(Tg)));for(var a=e.minAndMax(n,sN),s=a.min,u=a.max,S=[],F=function(tn){var Dn=e.mapDefined(n,function(nr){return N(nr)?tnr.length;)a.pop();for(;a.length=r)return s;S>a&&(a=S,t=s)}return t}function dN(n,r,t){if(n.expression.kind===106){var a=Lb(n.expression);if(no(a)){for(var s=0,u=n.arguments;s=0&&Jn(n.arguments[a],e.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}var s=x_(n.expression);if(s===Ot)return io;if(s=Il(s),s===J)return Hu(n);if(no(s))return n.typeArguments&&Jn(n,e.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments),zm(n);var u=zr(s,1);if(u.length){if(!_N(n,u[0]))return Hu(n);if(u.some(function(Ge){return Ge.flags&4}))return Jn(n,e.Diagnostics.Cannot_create_an_instance_of_an_abstract_class),Hu(n);var S=s.symbol&&e.getClassLikeDeclarationOfSymbol(s.symbol);return S&&e.hasSyntacticModifier(S,128)?(Jn(n,e.Diagnostics.Cannot_create_an_instance_of_an_abstract_class),Hu(n)):I_(n,u,r,t,0)}var F=zr(s,0);if(F.length){var ve=I_(n,F,r,t,0);return En||(ve.declaration&&!Nu(ve.declaration)&&_o(ve)!==Cr&&Jn(n,e.Diagnostics.Only_a_void_function_can_be_called_with_the_new_keyword),Id(ve)===Cr&&Jn(n,e.Diagnostics.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void)),ve}return $b(n.expression,s,1),Hu(n)}function Zb(n,r){var t=vc(r);if(!e.length(t))return!1;var a=t[0];if(a.flags&2097152){for(var s=a.types,u=X_(s),S=0,F=0,ve=a.types;F0;if(r.flags&1048576){for(var F=r.types,ve=!1,Ge=0,Je=F;Ge=t-1)return r===t-1?s:bl(Ec(s,Dr));for(var u=[],S=[],F=[],ve=r;ve0&&(s=n.parameters.length-1+F)}}if(s===void 0){if(!t&&n.flags&32)return 0;s=n.minArgumentCount}if(a)return s;for(var ve=s-1;ve>=0;ve--){var Ge=fu(n,ve);if(Nl(Ge,K0).flags&131072)break;s=ve}n.resolvedMinArgumentCount=s}return n.resolvedMinArgumentCount}function Ku(n){if(N(n)){var r=kt(n.parameters[n.parameters.length-1]);return!ji(r)||r.target.hasRestElement}return!1}function Sg(n){if(N(n)){var r=kt(n.parameters[n.parameters.length-1]);if(!ji(r))return r;if(r.target.hasRestElement)return sg(r,r.target.fixedLength)}}function Dg(n){var r=Sg(n);return r&&!Gl(r)&&!no(r)&&!(iu(r).flags&131072)?r:void 0}function r1(n){return t1(n,Jt)}function t1(n,r){return n.parameters.length>0?fu(n,0):r}function ON(n,r,t){for(var a=n.parameters.length-(N(n)?1:0),s=0;s0&&(u=Sa(Ge,2)):ve=Jt;var Je=wN(n,r),Xe=Je.yieldTypes,tn=Je.nextTypes;S=e.some(Xe)?Sa(Xe,2):void 0,F=e.some(tn)?Ro(tn):void 0}else{var Dn=D2(n,r);if(!Dn)return t&2?Pv(n,Jt):Jt;if(Dn.length===0)return t&2?Pv(n,Cr):Cr;u=Sa(Dn,2)}if(u||S||F){if(S&&Ih(n,S,3),u&&Ih(n,u,1),F&&Ih(n,F,2),u&&Wu(u)||S&&Wu(S)||F&&Wu(F)){var nr=Pb(n),sr=nr?nr===su(n)?s?void 0:u:Jh(_o(nr),n):void 0;s?(S=QE(S,sr,0,a),u=QE(u,sr,1,a),F=QE(F,sr,2,a)):u=EC(u,sr,a)}S&&(S=fc(S)),u&&(u=fc(u)),F&&(F=fc(F))}return s?E2(S||Jt,u||ve,F||d0(2,n)||cn,a):a?Ov(u||ve):u||ve}function E2(n,r,t,a){var s=a?Da:$a,u=s.getGlobalGeneratorType(!1);if(n=s.resolveIterationType(n,void 0)||cn,r=s.resolveIterationType(r,void 0)||cn,t=s.resolveIterationType(t,void 0)||cn,u===or){var S=s.getGlobalIterableIteratorType(!1),F=S!==or?cD(S,s):void 0,ve=F?F.returnType:cr,Ge=F?F.nextType:Rn;return mo(r,ve)&&mo(Ge,t)?S!==or?og(S,[n]):(s.getGlobalIterableIteratorType(!0),Lr):(s.getGlobalGeneratorType(!0),Lr)}return og(u,[n,r,t])}function wN(n,r){var t=[],a=[],s=(e.getFunctionFlags(n)&2)!==0;return e.forEachYieldExpression(n.body,function(u){var S=u.expression?vi(u.expression,r):Ye;e.pushIfUnique(t,b2(u,S,cr,s));var F;if(u.asteriskToken){var ve=jv(S,s?19:17,u.expression);F=ve&&ve.nextType}else F=uu(u);F&&e.pushIfUnique(a,F)}),{yieldTypes:t,nextTypes:a}}function b2(n,r,t,a){var s=n.expression||n,u=n.asteriskToken?Pd(a?19:17,r,t,s):r;return a?ku(u,s,n.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):u}function a1(n,r,t,a){var s=0;if(a){for(var u=r;u1&&r.charCodeAt(t-1)>=48&&r.charCodeAt(t-1)<=57;)t--;for(var a=r.slice(0,t),s=1;;s++){var u=a+s;if(!f1(n,u))return u}}function M2(n){var r=Dm(n);if(r&&!r.typeParameters)return _o(r)}function _k(n){var r=vi(n.expression),t=pg(r,n.expression),a=M2(r);return a&&Ah(a,n,t!==r)}function kl(n){var r=w2(n);if(r)return r;if(n.flags&67108864&&ha){var t=ha[U(n)];if(t)return t}var a=et,s=vi(n);if(et!==a){var u=ha||(ha=[]);u[U(n)]=s,e.setNodeFlags(n,n.flags|67108864)}return s}function w2(n){var r=e.skipParentheses(n);if(e.isCallExpression(r)&&r.expression.kind!==106&&!e.isRequireCall(r,!0)&&!c2(r)){var t=e.isCallChain(r)?_k(r):M2(x_(r.expression));if(t)return t}else{if(e.isAssertionExpression(r)&&!e.isConstTypeReference(r.type))return Ra(r.type);if(n.kind===8||n.kind===10||n.kind===110||n.kind===95)return vi(n)}}function d1(n){var r=da(n);if(r.contextFreeType)return r.contextFreeType;var t=n.contextualType;n.contextualType=cr;try{var a=r.contextFreeType=vi(n,4);return a}finally{n.contextualType=t}}function vi(n,r,t){e.tracing===null||e.tracing===void 0||e.tracing.push("check","checkExpression",{kind:n.kind,pos:n.pos,end:n.end});var a=fe;fe=n,De=0;var s=hk(n,r,t),u=O2(n,s,r);return s1(u)&&gk(n,u),fe=a,e.tracing===null||e.tracing===void 0||e.tracing.pop(),u}function gk(n,r){var t=n.parent.kind===204&&n.parent.expression===n||n.parent.kind===205&&n.parent.expression===n||(n.kind===79||n.kind===159)&&Ay(n)||n.parent.kind===179&&n.parent.exprName===n||n.parent.kind===273;if(t||Jn(n,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),pe.isolatedModules){e.Debug.assert(!!(r.symbol.flags&128));var a=r.symbol.valueDeclaration;a.flags&8388608&&Jn(n,e.Diagnostics.Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided)}}function vk(n,r){var t=e.isInJSFile(n)?e.getJSDocTypeTag(n):void 0;return t?p2(t.typeExpression.type,t.typeExpression.type,n.expression,r):vi(n.expression,r)}function hk(n,r,t){var a=n.kind;if(z)switch(a){case 224:case 211:case 212:z.throwIfCancellationRequested()}switch(a){case 79:return Cx(n,r);case 108:return jh(n);case 106:return Lb(n);case 104:return ir;case 14:case 10:return wm(Jc(n.text));case 8:return W1(n),wm(Zf(+n.text));case 9:return aM(n),wm(CE({negative:!1,base10Value:e.parsePseudoBigInt(n.text)}));case 110:return Kr;case 95:return ft;case 221:return ok(n);case 13:return Ve;case 202:return v0(n,r,t);case 203:return vI(n,r);case 204:return R0(n,r);case 159:return O0(n,r);case 205:return YI(n,r);case 206:if(n.expression.kind===100)return DN(n);case 207:return SN(n,r);case 208:return LN(n);case 210:return vk(n,r);case 224:return HR(n);case 211:case 212:return L2(n,r);case 214:return HN(n);case 209:case 227:return AN(n);case 228:return xN(n);case 229:return IN(n);case 213:return WN(n);case 215:return JN(n);case 216:return KN(n);case 217:return zN(n);case 218:return qN(n);case 219:return Vn(n,r);case 220:return ik(n,r);case 223:return dI(n,r);case 225:return Ye;case 222:return ak(n);case 230:return pI(n);case 286:return NI(n,r);case 276:return bI(n,r);case 277:return yI(n,r);case 280:return TI(n);case 284:return DI(n,r);case 278:e.Debug.fail("Shouldn't ever directly check a JsxOpeningElement")}return J}function F2(n){n.expression&&Sl(n.expression,e.Diagnostics.Type_expected),ao(n.constraint),ao(n.default);var r=zf(wt(n));Xl(r),Qy(r)||Jn(n.default,e.Diagnostics.Type_parameter_0_has_a_circular_default,Lt(r));var t=yc(r),a=ep(r);t&&a&&xc(a,Ac(fi(t,ym(r,a)),a),n.default,e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1),M&&G_(n.name,e.Diagnostics.Type_parameter_name_cannot_be_0)}function G2(n){Af(n),hy(n);var r=e.getContainingFunction(n);e.hasSyntacticModifier(n,16476)&&(r.kind===169&&e.nodeIsPresent(r.body)||Jn(n,e.Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation),r.kind===169&&e.isIdentifier(n.name)&&n.name.escapedText==="constructor"&&Jn(n.name,e.Diagnostics.constructor_cannot_be_used_as_a_parameter_property_name)),n.questionToken&&e.isBindingPattern(n.name)&&r.body&&Jn(n,e.Diagnostics.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature),n.name&&e.isIdentifier(n.name)&&(n.name.escapedText==="this"||n.name.escapedText==="new")&&(r.parameters.indexOf(n)!==0&&Jn(n,e.Diagnostics.A_0_parameter_must_be_the_first_parameter,n.name.escapedText),(r.kind===169||r.kind===173||r.kind===178)&&Jn(n,e.Diagnostics.A_constructor_cannot_have_a_this_parameter),r.kind===212&&Jn(n,e.Diagnostics.An_arrow_function_cannot_have_a_this_parameter),(r.kind===170||r.kind===171)&&Jn(n,e.Diagnostics.get_and_set_accessors_cannot_declare_this_parameters)),n.dotDotDotToken&&!e.isBindingPattern(n.name)&&!mo(iu(kt(n.symbol)),Ie)&&Jn(n,e.Diagnostics.A_rest_parameter_must_be_of_an_array_type)}function yk(n){var r=Ek(n);if(!r){Jn(n,e.Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return}var t=su(r),a=Cc(t);if(a){ao(n.type);var s=n.parameterName;if(a.kind===0||a.kind===2)gh(s);else if(a.parameterIndex>=0){if(N(t)&&a.parameterIndex===t.parameters.length-1)Jn(s,e.Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter);else if(a.type){var u=function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type)};xc(a.type,kt(t.parameters[a.parameterIndex]),n.type,void 0,u)}}else if(s){for(var S=!1,F=0,ve=r.parameters;F0&&r.declarations[0]!==n)return}var t=q1(wt(n));if(t!=null&&t.declarations){for(var a=new e.Map,s=function(ve){ve.parameters.length===1&&ve.parameters[0].type&&Wm(Ra(ve.parameters[0].type),function(Ge){var Je=a.get(cu(Ge));Je?Je.declarations.push(ve):a.set(cu(Ge),{type:Ge,declarations:[ve]})})},u=0,S=t.declarations;u1)for(var Ge=0,Je=ve.declarations;Ge0}function ku(n,r,t,a){if(no(n))return n;var s=n;return s.awaitedTypeOfType?s.awaitedTypeOfType:s.awaitedTypeOfType=Ps(n,r?function(u){return J2(u,r,t,a)}:J2)}function J2(n,r,t,a){var s=n;if(s.awaitedTypeOfType)return s.awaitedTypeOfType;var u=Fv(n);if(u){if(n.id===u.id||ea.lastIndexOf(u.id)>=0){r&&Jn(r,e.Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method);return}ea.push(n.id);var S=ku(u,r,t,a);return ea.pop(),S?s.awaitedTypeOfType=S:void 0}if(jk(n)){if(r){if(!t)return e.Debug.fail();Jn(r,t,a)}return}return s.awaitedTypeOfType=n}function Hk(n,r){var t=Ra(r);if(we>=2){if(t===J)return;var a=fh(!0);if(a!==or&&!_(t,a)){Jn(r,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,Lt(ku(t)||Cr));return}}else{if(Kk(r),t===J)return;var s=e.getEntityNameFromTypeNode(r);if(s===void 0){Jn(r,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,Lt(t));return}var u=ki(s,111551,!0),S=u?kt(u):J;if(S===J){s.kind===79&&s.escapedText==="Promise"&&B(t)===fh(!1)?Jn(r,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):Jn(r,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 F=EL(!0);if(F===Lr){Jn(r,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(!xc(S,F,r,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 ve=s&&e.getFirstIdentifier(s),Ge=$o(n.locals,ve.escapedText,111551);if(Ge){Jn(Ge.valueDeclaration,e.Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,e.idText(ve),e.entityNameToString(s));return}}Ng(t,n,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}function Jk(n){var r=N_(n);sy(r,n);var t=_o(r);if(!(t.flags&1)){var a,s=l2(n),u;switch(n.parent.kind){case 255:var S=wt(n.parent),F=kt(S);a=Sa([F,Cr]);break;case 162:a=Cr,u=e.chainDiagnosticMessages(void 0,e.Diagnostics.The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any);break;case 165:a=Cr,u=e.chainDiagnosticMessages(void 0,e.Diagnostics.The_return_type_of_a_property_decorator_function_must_be_either_void_or_any);break;case 167:case 170:case 171:var ve=sm(n.parent),Ge=gT(ve);a=Sa([Ge,Cr]);break;default:return e.Debug.fail()}xc(t,a,n,s,function(){return u})}}function Kk(n){K2(n&&e.getEntityNameFromTypeNode(n))}function K2(n){if(n){var r=e.getFirstIdentifier(n),t=(n.kind===79?788968:1920)|2097152,a=es(r,r.escapedText,t,void 0,void 0,!0);a&&a.flags&2097152&&Nc(a)&&!Pg(_i(a))&&!Qt(a)&&Wa(a)}}function M_(n){var r=v1(n);r&&e.isEntityName(r)&&K2(r)}function v1(n){if(n)switch(n.kind){case 186:case 185:return z2(n.types);case 187:return z2([n.trueType,n.falseType]);case 189:case 195:return v1(n.type);case 176:return n.typeName}}function z2(n){for(var r,t=0,a=n;t-1&&t0),t.length>1&&Jn(t[1],e.Diagnostics.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag);var a=q2(n.class.expression),s=e.getClassExtendsHeritageElement(r);if(s){var u=q2(s.expression);u&&a.escapedText!==u.escapedText&&Jn(a,e.Diagnostics.JSDoc_0_1_does_not_match_the_extends_2_clause,e.idText(n.tagName),e.idText(a),e.idText(u))}}function q2(n){switch(n.kind){case 79:return n;case 204:return n.name;default:return}}function X2(n){var r;Gv(n),Cg(n);var t=e.getFunctionFlags(n);if(n.name&&n.name.kind===160&&od(n.name),wl(n)){var a=wt(n),s=n.localSymbol||a,u=(r=s.declarations)===null||r===void 0?void 0:r.find(function(ve){return ve.kind===n.kind&&!(ve.flags&131072)});n===u&&_y(s),a.parent&&_y(a)}var S=n.kind===166?void 0:n.body;if(ao(S),i1(n,bp(n)),M&&!e.getEffectiveReturnTypeNode(n)&&(e.nodeIsMissing(S)&&!py(n)&&Cp(n,cr),t&1&&e.nodeIsPresent(S)&&_o(su(n))),e.isInJSFile(n)){var F=e.getJSDocTypeTag(n);F&&F.typeExpression&&!Rb(Ra(F.typeExpression),n)&&Jn(F.typeExpression.type,e.Diagnostics.The_type_of_a_function_declaration_must_match_the_function_s_signature)}}function Od(n){if(M){var r=e.getSourceFileOfNode(n),t=Fs.get(r.path);t||(t=[],Fs.set(r.path,t)),t.push(n)}}function Y2(n,r){for(var t=0,a=n;t=2||!e.hasRestParameter(n)||n.flags&8388608||e.nodeIsMissing(n.body)||e.forEach(n.parameters,function(r){r.name&&!e.isBindingPattern(r.name)&&r.name.escapedText===Le.escapedName&&Pi("noEmit",r,e.Diagnostics.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)})}function kg(n,r,t){if((r==null?void 0:r.escapedText)!==t||n.kind===165||n.kind===164||n.kind===167||n.kind===166||n.kind===170||n.kind===171||n.kind===291||n.flags&8388608||(e.isImportClause(n)||e.isImportEqualsDeclaration(n)||e.isImportSpecifier(n))&&e.isTypeOnlyImportOrExportDeclaration(n))return!1;var a=e.getRootDeclaration(n);return!(e.isParameter(a)&&e.nodeIsMissing(a.parent.body))}function sR(n){e.findAncestor(n,function(r){if(Qm(r)&4){var t=n.kind!==79;return t?Jn(e.getNameOfDeclaration(n),e.Diagnostics.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference):Jn(n,e.Diagnostics.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference),!0}return!1})}function lR(n){e.findAncestor(n,function(r){if(Qm(r)&8){var t=n.kind!==79;return t?Jn(e.getNameOfDeclaration(n),e.Diagnostics.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference):Jn(n,e.Diagnostics.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference),!0}return!1})}function cR(n,r){if(!(pn>=e.ModuleKind.ES2015)&&!(!r||!kg(n,r,"require")&&!kg(n,r,"exports"))&&!(e.isModuleDeclaration(n)&&e.getModuleInstanceState(n)!==1)){var t=jf(n);t.kind===300&&e.isExternalOrCommonJsModule(t)&&Pi("noEmit",r,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,e.declarationNameToString(r),e.declarationNameToString(r))}}function uR(n,r){if(!(!r||we>=4||!kg(n,r,"Promise"))&&!(e.isModuleDeclaration(n)&&e.getModuleInstanceState(n)!==1)){var t=jf(n);t.kind===300&&e.isExternalOrCommonJsModule(t)&&t.flags&2048&&Pi("noEmit",r,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,e.declarationNameToString(r),e.declarationNameToString(r))}}function fR(n,r){we<=8&&(kg(n,r,"WeakMap")||kg(n,r,"WeakSet"))&&Tt.push(n)}function dR(n){var r=e.getEnclosingBlockScopeContainer(n);Qm(r)&67108864&&(e.Debug.assert(e.isNamedDeclaration(n)&&e.isIdentifier(n.name)&&typeof n.name.escapedText=="string","The target of a WeakMap/WeakSet collision check should be an identifier"),Pi("noEmit",n,e.Diagnostics.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel,n.name.escapedText))}function pR(n,r){r&&we>=2&&we<=8&&kg(n,r,"Reflect")&&Ut.push(n)}function mR(n){var r=!1;if(e.isClassExpression(n))for(var t=0,a=n.members;t1&&e.some(tn.declarations,function(xr){return xr!==n&&e.isVariableLike(xr)&&!rD(xr,n)})&&Jn(n.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(n.name))}else{var Ir=Rg(Cd(n));Dn!==J&&Ir!==J&&!$f(Dn,Ir)&&!(tn.flags&67108864)&&nD(tn.valueDeclaration,Dn,n,Ir),n.initializer&&sp(ll(n.initializer),Ir,n,n.initializer,void 0),tn.valueDeclaration&&!rD(n,tn.valueDeclaration)&&Jn(n.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(n.name))}n.kind!==165&&n.kind!==164&&(xg(n),(n.kind===252||n.kind===201)&&_R(n),w_(n,n.name))}}function nD(n,r,t,a){var s=e.getNameOfDeclaration(t),u=t.kind===165||t.kind===164?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,S=e.declarationNameToString(s),F=Jn(s,u,S,Lt(r),Lt(a));n&&e.addRelatedInfo(F,e.createDiagnosticForNode(n,e.Diagnostics._0_was_also_declared_here,S))}function rD(n,r){if(n.kind===162&&r.kind===252||n.kind===252&&r.kind===162)return!0;if(e.hasQuestionToken(n)!==e.hasQuestionToken(r))return!1;var t=504;return e.getSelectedEffectiveModifierFlags(n,t)===e.getSelectedEffectiveModifierFlags(r,t)}function E1(n){e.tracing===null||e.tracing===void 0||e.tracing.push("check","checkVariableDeclaration",{kind:n.kind,pos:n.pos,end:n.end}),zP(n),hy(n),e.tracing===null||e.tracing===void 0||e.tracing.pop()}function gR(n){return HP(n),hy(n)}function vR(n){!Af(n)&&!V1(n.declarationList)&&qP(n),e.forEach(n.declarationList.declarations,ao)}function hR(n){Cf(n),vi(n.expression)}function yR(n){Cf(n);var r=F_(n.expression);b1(n.expression,r,n.thenStatement),ao(n.thenStatement),n.thenStatement.kind===234&&Jn(n.thenStatement,e.Diagnostics.The_body_of_an_if_statement_cannot_be_the_empty_statement),ao(n.elseStatement)}function b1(n,r,t){if(He&&!wc(r)){var a=e.isBinaryExpression(n)?n.right:n;if(!(e.isPropertyAccessExpression(a)&&e.isAssertionExpression(e.skipParentheses(a.expression)))){var s=e.isIdentifier(a)?a:e.isPropertyAccessExpression(a)?a.name:e.isBinaryExpression(a)&&e.isIdentifier(a.right)?a.right:void 0,u=zr(r,0),S=!!Ig(r);if(!(u.length===0&&!S)){var F=s&&Kc(s);if(!(!F&&!S)){var ve=F&&e.isBinaryExpression(n.parent)&&bR(n.parent,F)||F&&t&&ER(n,t,s,F);ve||(S?Rs(a,!0,e.Diagnostics.This_condition_will_always_return_true_since_this_0_is_always_defined,wu(r)):Jn(a,e.Diagnostics.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead))}}}}}function ER(n,r,t,a){return!!e.forEachChild(r,function s(u){if(e.isIdentifier(u)){var S=Kc(u);if(S&&S===a){if(e.isIdentifier(n))return!0;for(var F=t.parent,ve=u.parent;F&&ve;){if(e.isIdentifier(F)&&e.isIdentifier(ve)||F.kind===108&&ve.kind===108)return Kc(F)===Kc(ve);if(e.isPropertyAccessExpression(F)&&e.isPropertyAccessExpression(ve)){if(Kc(F.name)!==Kc(ve.name))return!1;ve=ve.expression,F=F.expression}else if(e.isCallExpression(F)&&e.isCallExpression(ve))ve=ve.expression,F=F.expression;else return!1}}}return e.forEachChild(u,s)})}function bR(n,r){for(;e.isBinaryExpression(n)&&n.operatorToken.kind===55;){var t=e.forEachChild(n.right,function a(s){if(e.isIdentifier(s)){var u=Kc(s);if(u&&u===r)return!0}return e.forEachChild(s,a)});if(t)return!0;n=n.parent}return!1}function TR(n){Cf(n),ao(n.statement),F_(n.expression)}function SR(n){Cf(n),F_(n.expression),ao(n.statement)}function tD(n,r){return n.flags&16384&&Jn(r,e.Diagnostics.An_expression_of_type_void_cannot_be_tested_for_truthiness),n}function F_(n,r){return tD(vi(n,r),n)}function DR(n){Cf(n)||n.initializer&&n.initializer.kind===253&&V1(n.initializer),n.initializer&&(n.initializer.kind===253?e.forEach(n.initializer.declarations,E1):vi(n.initializer)),n.condition&&F_(n.condition),n.incrementor&&vi(n.incrementor),ao(n.statement),n.locals&&Od(n)}function LR(n){KD(n);var r=e.getContainingFunctionOrClassStaticBlock(n);if(n.awaitModifier)if(r&&e.isClassStaticBlockDeclaration(r))At(n.awaitModifier,e.Diagnostics.For_await_loops_cannot_be_used_inside_a_class_static_block);else{var t=e.getFunctionFlags(r);(t&6)===2&&we<99&&Bl(n,16384)}else pe.downlevelIteration&&we<2&&Bl(n,256);if(n.initializer.kind===253)aD(n);else{var a=n.initializer,s=Wv(n);if(a.kind===202||a.kind===203)om(a,s||J);else{var u=vi(a);Lg(a,e.Diagnostics.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access,e.Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access),s&&sp(s,u,a,n.expression)}}ao(n.statement),n.locals&&Od(n)}function AR(n){KD(n);var r=Wb(vi(n.expression));if(n.initializer.kind===253){var t=n.initializer.declarations[0];t&&e.isBindingPattern(t.name)&&Jn(t.name,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern),aD(n)}else{var a=n.initializer,s=vi(a);a.kind===202||a.kind===203?Jn(a,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern):mo(iA(r),s)?Lg(a,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access):Jn(a,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any)}(r===Jt||!qs(r,126091264))&&Jn(n.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,Lt(r)),ao(n.statement),n.locals&&Od(n)}function aD(n){var r=n.initializer;if(r.declarations.length>=1){var t=r.declarations[0];E1(t)}}function Wv(n){var r=n.awaitModifier?15:13;return Pd(r,x_(n.expression),Rn,n.expression)}function Pd(n,r,t,a){return no(r)?r:T1(n,r,t,a,!0)||cr}function T1(n,r,t,a,s){var u=(n&2)!==0;if(r===Jt){L1(a,r,u);return}var S=we>=2,F=!S&&pe.downlevelIteration,ve=pe.noUncheckedIndexedAccess&&!!(n&128);if(S||F||u){var Ge=jv(r,n,S?a:void 0);if(s&&Ge){var Je=n&8?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:n&32?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:n&64?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:n&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;Je&&xc(t,Ge.nextType,a,Je)}if(Ge||S)return ve?vg(Ge&&Ge.yieldType):Ge&&Ge.yieldType}var Xe=r,tn=!1,Dn=!1;if(n&4){if(Xe.flags&1048576){var nr=r.types,sr=e.filter(nr,function(Ta){return!(Ta.flags&402653316)});sr!==nr&&(Xe=Sa(sr,2))}else Xe.flags&402653316&&(Xe=Jt);if(Dn=Xe!==r,Dn&&(we<1&&a&&(Jn(a,e.Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher),tn=!0),Xe.flags&131072))return ve?vg(gr):gr}if(!lp(Xe)){if(a&&!tn){var Ir=!!(n&4)&&!Dn,xr=_t(Ir,F),Gr=xr[0],ct=xr[1];Rs(a,ct&&!!Ig(Xe),Gr,Lt(Xe))}return Dn?ve?vg(gr):gr:void 0}var Vt=Ns(Xe,Dr);if(Dn&&Vt)return Vt.flags&402653316&&!pe.noUncheckedIndexedAccess?gr:Sa(ve?[Vt,gr,Rn]:[Vt,gr],2);return n&128?vg(Vt):Vt;function _t(Ta,sa){var mi;if(sa)return Ta?[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 ai=iD(n,0,r,void 0);return ai?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators,!1]:CR((mi=r.symbol)===null||mi===void 0?void 0:mi.escapedName)?[e.Diagnostics.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,!0]:Ta?[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 CR(n){switch(n){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 iD(n,r,t,a){if(!no(t)){var s=jv(t,n,a);return s&&s[m(r)]}}function sd(n,r,t){if(n===void 0&&(n=Jt),r===void 0&&(r=Jt),t===void 0&&(t=cn),n.flags&67359327&&r.flags&180227&&t.flags&180227){var a=lu([n,r,t]),s=Ho.get(a);return s||(s={yieldType:n,returnType:r,nextType:t},Ho.set(a,s)),s}return{yieldType:n,returnType:r,nextType:t}}function oD(n){for(var r,t,a,s=0,u=n;s1)for(var Xe=0,tn=t;Xet)return!1;for(var Ge=0;Ge=a&&F.pos<=s){var ve=e.factory.createPropertyAccessExpression(e.factory.createThis(),n);e.setParent(ve.expression,ve),e.setParent(ve,F),ve.flowNode=F.returnFlowNode;var Ge=tm(ve,r,td(r));if(!(wc(Ge)&32768))return!0}}return!1}function TD(n,r,t){var a=e.factory.createPropertyAccessExpression(e.factory.createThis(),n);e.setParent(a.expression,a),e.setParent(a,t),a.flowNode=t.returnFlowNode;var s=tm(a,r,td(r));return!(wc(s)&32768)}function nO(n){if(Af(n)||MP(n),Ty(n.typeParameters),M){G_(n.name,e.Diagnostics.Interface_name_cannot_be_0),xg(n);var r=wt(n);hD(r);var t=e.getDeclarationOfKind(r,256);if(n===t){var a=rs(r),s=Ac(a);if(ZR(a,n.name)){for(var u=0,S=vc(a);u>Xe;case 49:return Je>>>Xe;case 47:return Je<1){var a=e.isEnumConst(n);e.forEach(r.declarations,function(u){e.isEnumDeclaration(u)&&e.isEnumConst(u)!==a&&Jn(e.getNameOfDeclaration(u),e.Diagnostics.Enum_declarations_must_all_be_const_or_non_const)})}var s=!1;e.forEach(r.declarations,function(u){if(u.kind!==258)return!1;var S=u;if(!S.members.length)return!1;var F=S.members[0];F.initializer||(s?Jn(F.name,e.Diagnostics.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element):s=!0)})}}}function oO(n){e.isPrivateIdentifier(n.name)&&Jn(n,e.Diagnostics.An_enum_member_cannot_be_named_with_a_private_identifier)}function sO(n){var r=n.declarations;if(r)for(var t=0,a=r;t1&&d(n,e.shouldPreserveConstEnums(pe))){var S=sO(u);S&&(e.getSourceFileOfNode(n)!==e.getSourceFileOfNode(S)?Jn(n.name,e.Diagnostics.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged):n.pos=e.ModuleKind.ES2015&&!n.isTypeOnly&&!(n.flags&8388608)&&At(n,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 pO(n){if(!Hv(n,e.Diagnostics.An_export_declaration_can_only_be_used_in_a_module)&&(!Af(n)&&e.hasEffectiveModifiers(n)&&Sl(n,e.Diagnostics.An_export_declaration_cannot_have_modifiers),n.moduleSpecifier&&n.exportClause&&e.isNamedExports(n.exportClause)&&e.length(n.exportClause.elements)&&we===0&&Bl(n,2097152),mO(n),!n.moduleSpecifier||I1(n)))if(n.exportClause&&!e.isNamespaceExport(n.exportClause)){e.forEach(n.exportClause.elements,EO);var r=n.parent.kind===260&&e.isAmbientModule(n.parent.parent),t=!r&&n.parent.kind===260&&!n.moduleSpecifier&&n.flags&8388608;n.parent.kind!==300&&!r&&!t&&Jn(n,e.Diagnostics.Export_declarations_are_not_permitted_in_a_namespace)}else{var a=wo(n,n.moduleSpecifier);a&&Dl(a)?Jn(n.moduleSpecifier,e.Diagnostics.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,Qa(a)):n.exportClause&&Sy(n.exportClause),pn!==e.ModuleKind.System&&pn=e.ModuleKind.ES2015?At(n,e.Diagnostics.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead):pn===e.ModuleKind.System&&At(n,e.Diagnostics.Export_assignment_is_not_supported_when_module_flag_is_system))}}function TO(n){return e.forEachEntry(n.exports,function(r,t){return t!=="export="})}function DD(n){var r=wt(n),t=Za(r);if(!t.exportsChecked){var a=r.exports.get("export=");if(a&&TO(r)){var s=Jl(a)||a.valueDeclaration;s&&!vp(s)&&!e.isInJSFile(s)&&Jn(s,e.Diagnostics.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements)}var u=Ic(r);u&&u.forEach(function(S,F){var ve=S.declarations,Ge=S.flags;if(F!=="__export"&&!(Ge&1984)){var Je=e.countWhere(ve,b);if(!(Ge&524288&&Je<=2)&&Je>1&&!Ly(ve))for(var Xe=0,tn=ve;Xe1&&n.every(function(r){return e.isInJSFile(r)&&e.isAccessExpression(r)&&(e.isExportsIdentifier(r.expression)||e.isModuleExportsAccessExpression(r.expression))})}function ao(n){if(n){var r=fe;fe=n,De=0,SO(n),fe=r}}function SO(n){e.isInJSFile(n)&&e.forEach(n.jsDoc,function(t){var a=t.tags;return e.forEach(a,ao)});var r=n.kind;if(z)switch(r){case 259:case 255:case 256:case 254:z.throwIfCancellationRequested()}switch(r>=235&&r<=251&&n.flowNode&&!bv(n.flowNode)&&Es(pe.allowUnreachableCode===!1,n,e.Diagnostics.Unreachable_code_detected),r){case 161:return F2(n);case 162:return G2(n);case 165:return V2(n);case 164:return Sk(n);case 178:case 177:case 172:case 173:case 174:return Cg(n);case 167:case 166:return Dk(n);case 168:return Lk(n);case 169:return Ak(n);case 170:case 171:return W2(n);case 176:return g1(n);case 175:return yk(n);case 179:return Ik(n);case 180:return Nk(n);case 181:return kk(n);case 182:return Rk(n);case 185:case 186:return Ok(n);case 189:case 183:case 184:return ao(n.type);case 190:return wk(n);case 191:return Fk(n);case 187:return Gk(n);case 188:return Bk(n);case 196:return Uk(n);case 198:return Vk(n);case 195:return Wk(n);case 323:return nR(n);case 324:return eR(n);case 340:case 333:case 334:return qk(n);case 339:return Xk(n);case 338:return Yk(n);case 335:return Qk(n);case 342:return Zk(n);case 312:$k(n);case 310:case 309:case 307:case 308:case 317:LD(n),e.forEachChild(n,ao);return;case 313:DO(n);return;case 304:return ao(n.type);case 192:return Pk(n);case 193:return Mk(n);case 254:return zk(n);case 233:case 260:return vy(n);case 235:return vR(n);case 236:return hR(n);case 237:return yR(n);case 238:return TR(n);case 239:return SR(n);case 240:return DR(n);case 241:return AR(n);case 242:return LR(n);case 243:case 244:return OR(n);case 245:return PR(n);case 246:return MR(n);case 247:return wR(n);case 248:return FR(n);case 249:return GR(n);case 250:return BR(n);case 252:return E1(n);case 201:return gR(n);case 255:return KR(n);case 256:return nO(n);case 257:return rO(n);case 258:return iO(n);case 259:return cO(n);case 264:return fO(n);case 263:return dO(n);case 270:return pO(n);case 269:return bO(n);case 234:case 251:Cf(n);return;case 274:return Ck(n)}}function LD(n){e.isInJSFile(n)||At(n,e.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments)}function DO(n){LD(n),ao(n.type);var r=n.parent;if(e.isParameter(r)&&e.isJSDocFunctionType(r.parent)){e.last(r.parent.parameters)!==r&&Jn(n,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list);return}e.isJSDocTypeExpression(r)||Jn(n,e.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);var t=n.parent.parent;if(!e.isJSDocParameterTag(t)){Jn(n,e.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);return}var a=e.getParameterSymbolFromJSDoc(t);if(a){var s=e.getHostSignatureFromJSDoc(t);(!s||e.last(s.parameters).symbol!==a)&&Jn(n,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list)}}function LO(n){var r=Ra(n.type),t=n.parent,a=n.parent.parent;if(e.isJSDocTypeExpression(n.parent)&&e.isJSDocParameterTag(a)){var s=e.getHostSignatureFromJSDoc(a),u=e.isJSDocCallbackTag(a.parent.parent);if(s||u){var S=u?e.lastOrUndefined(a.parent.parent.typeExpression.parameters):e.lastOrUndefined(s.parameters),F=e.getParameterSymbolFromJSDoc(a);if(!S||F&&S.symbol===F&&e.isRestParameter(S))return bl(r)}}return e.isParameter(t)&&e.isJSDocFunctionType(t.parent)?bl(r):Xi(r)}function Og(n){var r=e.getSourceFileOfNode(n),t=da(r);if(!(t.flags&1)){t.deferredNodes=t.deferredNodes||new e.Map;var a=U(n);t.deferredNodes.set(a,n)}}function AO(n){var r=da(n);r.deferredNodes&&r.deferredNodes.forEach(CO)}function CO(n){e.tracing===null||e.tracing===void 0||e.tracing.push("check","checkDeferredNode",{kind:n.kind,pos:n.pos,end:n.end});var r=fe;switch(fe=n,De=0,n.kind){case 206:case 207:case 208:case 163:case 278:zm(n);break;case 211:case 212:case 167:case 166:UN(n);break;case 170:case 171:W2(n);break;case 224:JR(n);break;case 277:hI(n);break;case 276:EI(n);break}fe=r,e.tracing===null||e.tracing===void 0||e.tracing.pop()}function N1(n){e.tracing===null||e.tracing===void 0||e.tracing.push("check","checkSourceFile",{path:n.path},!0),e.performance.mark("beforeCheck"),xO(n),e.performance.mark("afterCheck"),e.performance.measure("Check","beforeCheck","afterCheck"),e.tracing===null||e.tracing===void 0||e.tracing.pop()}function AD(n,r){if(r)return!1;switch(n){case 0:return!!pe.noUnusedLocals;case 1:return!!pe.noUnusedParameters;default:return e.Debug.assertNever(n)}}function CD(n){return Fs.get(n.path)||e.emptyArray}function xO(n){var r=da(n);if(!(r.flags&1)){if(e.skipTypeChecking(n,pe,x))return;rM(n),e.clear(st),e.clear(yt),e.clear(Tt),e.clear(Ut),e.forEach(n.statements,ao),ao(n.endOfFileToken),AO(n),e.isExternalOrCommonJsModule(n)&&Od(n),!n.isDeclarationFile&&(pe.noUnusedLocals||pe.noUnusedParameters)&&Y2(CD(n),function(t,a,s){!e.containsParseError(t)&&AD(a,!!(t.flags&8388608))&&zt.add(s)}),pe.importsNotUsedAsValues===2&&!n.isDeclarationFile&&e.isExternalModule(n)&&yO(n),e.isExternalOrCommonJsModule(n)&&DD(n),st.length&&(e.forEach(st,sR),e.clear(st)),yt.length&&(e.forEach(yt,lR),e.clear(yt)),Tt.length&&(e.forEach(Tt,dR),e.clear(Tt)),Ut.length&&(e.forEach(Ut,mR),e.clear(Ut)),r.flags|=1}}function xD(n,r){try{return z=r,IO(n)}finally{z=void 0}}function IO(n){if(ID(),n){var r=zt.getGlobalDiagnostics(),t=r.length;N1(n);var a=zt.getDiagnostics(n.fileName),s=zt.getGlobalDiagnostics();if(s!==r){var u=e.relativeComplement(r,s,e.compareDiagnostics);return e.concatenate(u,a)}else if(t===0&&s.length>0)return e.concatenate(s,a);return a}return e.forEach(x.getSourceFiles(),N1),zt.getDiagnostics()}function NO(){return ID(),zt.getGlobalDiagnostics()}function ID(){if(!M)throw new Error("Trying to get diagnostics from a type checker that does not produce them.")}function kO(n,r){if(n.flags&16777216)return[];var t=e.createSymbolTable(),a=!1;return s(),t.delete("this"),ou(t);function s(){for(;n;){switch(n.locals&&!pc(n)&&S(n.locals,r),n.kind){case 300:if(!e.isExternalModule(n))break;case 259:F(wt(n).exports,r&2623475);break;case 258:S(wt(n).exports,r&8);break;case 224:var ve=n.name;ve&&u(n.symbol,r);case 255:case 256:a||S(Hc(wt(n)),r&788968);break;case 211:var Ge=n.name;Ge&&u(n.symbol,r);break}e.introducesArgumentsExoticObject(n)&&u(Le,r),a=e.isStatic(n),n=n.parent}S(xe,r)}function u(ve,Ge){if(e.getCombinedLocalAndExportSymbolFlags(ve)&Ge){var Je=ve.escapedName;t.has(Je)||t.set(Je,ve)}}function S(ve,Ge){Ge&&ve.forEach(function(Je){u(Je,Ge)})}function F(ve,Ge){Ge&&ve.forEach(function(Je){!e.getDeclarationOfKind(Je,273)&&!e.getDeclarationOfKind(Je,272)&&u(Je,Ge)})}}function RO(n){return n.kind===79&&Jv(n.parent)&&e.getNameOfDeclaration(n.parent)===n}function Jv(n){switch(n.kind){case 161:case 255:case 256:case 257:case 258:case 340:case 333:case 334:return!0;case 265:return n.isTypeOnly;case 268:case 273:return n.parent.parent.isTypeOnly;default:return!1}}function ND(n){for(;n.parent.kind===159;)n=n.parent;return n.parent.kind===176}function OO(n){for(;n.parent.kind===204;)n=n.parent;return n.parent.kind===226}function kD(n,r){for(var t;n=e.getContainingClass(n),!(!n||(t=r(n))););return t}function PO(n){return!!e.findAncestor(n,function(r){return e.isConstructorDeclaration(r)&&e.nodeIsPresent(r.body)||e.isPropertyDeclaration(r)?!0:e.isClassLike(r)||e.isFunctionLikeDeclaration(r)?"quit":!1})}function k1(n,r){return!!kD(n,function(t){return t===r})}function MO(n){for(;n.parent.kind===159;)n=n.parent;if(n.parent.kind===263)return n.parent.moduleReference===n?n.parent:void 0;if(n.parent.kind===269)return n.parent.expression===n?n.parent:void 0}function Ay(n){return MO(n)!==void 0}function wO(n){var r=e.getAssignmentDeclarationKind(n.parent.parent);switch(r){case 1:case 3:return wt(n.parent);case 4:case 2:case 5:return wt(n.parent.parent)}}function FO(n){for(var r=n.parent;e.isQualifiedName(r);)n=r,r=r.parent;if(r&&r.kind===198&&r.qualifier===n)return r}function RD(n){if(e.isDeclarationName(n))return wt(n.parent);if(e.isInJSFile(n)&&n.parent.kind===204&&n.parent===n.parent.parent.left&&!e.isPrivateIdentifier(n)&&!e.isJSDocMemberName(n)){var r=wO(n);if(r)return r}if(n.parent.kind===269&&e.isEntityNameExpression(n)){var t=ki(n,2998271,!0);if(t&&t!==Xn)return t}else if(e.isEntityName(n)&&Ay(n)){var a=e.getAncestor(n,263);return e.Debug.assert(a!==void 0),so(n,!0)}if(e.isEntityName(n)){var s=FO(n);if(s){Ra(s);var u=da(n).resolvedSymbol;return u===Xn?void 0:u}}for(;e.isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName(n);)n=n.parent;if(OO(n)){var S=0;n.parent.kind===226?(S=788968,e.isExpressionWithTypeArgumentsInClassExtendsClause(n.parent)&&(S|=111551)):S=1920,S|=2097152;var F=e.isEntityNameExpression(n)?ki(n,S):void 0;if(F)return F}if(n.parent.kind===335)return e.getParameterSymbolFromJSDoc(n.parent);if(n.parent.kind===161&&n.parent.parent.kind===339){e.Debug.assert(!e.isInJSFile(n));var ve=e.getTypeParameterFromJsDoc(n.parent);return ve&&ve.symbol}if(e.isExpressionNode(n)){if(e.nodeIsMissing(n))return;var Ge=e.findAncestor(n,e.or(e.isJSDocLinkLike,e.isJSDocNameReference,e.isJSDocMemberName)),S=Ge?901119:111551;if(n.kind===79){if(e.isJSXTagName(n)&&C_(n)){var Je=Fb(n.parent);return Je===Xn?void 0:Je}var Xe=ki(n,S,!1,!Ge,e.getHostSignatureFromJSDoc(n));if(!Xe&&Ge){var tn=e.findAncestor(n,e.or(e.isClassLike,e.isInterfaceDeclaration));if(tn)return Cy(n,wt(tn))}return Xe}else if(n.kind===204||n.kind===159){var Dn=da(n);return Dn.resolvedSymbol?Dn.resolvedSymbol:(n.kind===204?R0(n,0):O0(n,0),!Dn.resolvedSymbol&&Ge&&e.isQualifiedName(n)?Cy(n):Dn.resolvedSymbol)}else if(e.isJSDocMemberName(n))return Cy(n)}else if(ND(n)){var S=n.parent.kind===176?788968:1920;return ki(n,S,!1,!0)}if(n.parent.kind===175)return ki(n,1)}function Cy(n,r){if(e.isEntityName(n)){var t=901119,a=ki(n,t,!1,!0,e.getHostSignatureFromJSDoc(n));if(!a&&e.isIdentifier(n)&&r&&(a=Eo($o(al(r),n.escapedText,t))),a)return a}var s=e.isIdentifier(n)?r:Cy(n.left),u=e.isIdentifier(n)?n.escapedText:n.right.escapedText;if(s){var S=s.flags&111551&&wn(kt(s),"prototype"),F=S?kt(S):rs(s);return wn(F,u)}}function Kc(n,r){if(n.kind===300)return e.isExternalModule(n)?Eo(n.symbol):void 0;var t=n.parent,a=t.parent;if(!(n.flags&16777216)){if(f(n)){var s=wt(t);return e.isImportOrExportSpecifier(n.parent)&&n.parent.propertyName===n?E0(s):s}else if(e.isLiteralComputedPropertyDeclarationName(n))return wt(t.parent);if(n.kind===79){if(Ay(n))return RD(n);if(t.kind===201&&a.kind===199&&n===t.propertyName){var u=sm(a),S=wn(u,n.escapedText);if(S)return S}else if(e.isMetaProperty(t)){var F=sm(t),S=wn(F,n.escapedText);if(S)return S;if(t.keywordToken===103)return n1(t).symbol}}switch(n.kind){case 79:case 80:case 204:case 159:return RD(n);case 108:var ve=e.getThisContainer(n,!1);if(e.isFunctionLike(ve)){var Ge=su(ve);if(Ge.thisParameter)return Ge.thisParameter}if(e.isInExpressionContext(n))return vi(n).symbol;case 190:return gh(n).symbol;case 106:return vi(n).symbol;case 133:var Je=n.parent;return Je&&Je.kind===169?Je.parent.symbol:void 0;case 10:case 14:if(e.isExternalModuleImportEqualsDeclaration(n.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(n.parent.parent)===n||(n.parent.kind===264||n.parent.kind===270)&&n.parent.moduleSpecifier===n||e.isInJSFile(n)&&e.isRequireCall(n.parent,!1)||e.isImportCall(n.parent)||e.isLiteralTypeNode(n.parent)&&e.isLiteralImportTypeNode(n.parent.parent)&&n.parent.parent.argument===n.parent)return wo(n,n,r);if(e.isCallExpression(t)&&e.isBindableObjectDefinePropertyCall(t)&&t.arguments[1]===n)return wt(t);case 8:var Xe=e.isElementAccessExpression(t)?t.argumentExpression===n?kl(t.expression):void 0:e.isLiteralTypeNode(t)&&e.isIndexedAccessTypeNode(a)?Ra(a.objectType):void 0;return Xe&&wn(Xe,e.escapeLeadingUnderscores(n.text));case 88:case 98:case 38:case 84:return wt(n.parent);case 198:return e.isLiteralImportTypeNode(n)?Kc(n.argument.literal,r):void 0;case 93:return e.isExportAssignment(n.parent)?e.Debug.checkDefined(n.parent.symbol):void 0;case 100:case 103:return e.isMetaProperty(n.parent)?m2(n.parent).symbol:void 0;case 229:return vi(n).symbol;default:return}}}function GO(n){if(e.isIdentifier(n)&&e.isPropertyAccessExpression(n.parent)&&n.parent.name===n){var r=tp(n),t=kl(n.parent.expression),a=t.flags&1048576?t.types:[t];return e.flatMap(a,function(s){return e.filter(Ei(s),function(u){return yi(r,u.keyType)})})}}function BO(n){if(n&&n.kind===292)return ki(n.name,2208703)}function UO(n){return e.isExportSpecifier(n)?n.parent.parent.moduleSpecifier?h(n.parent.parent,n):ki(n.propertyName||n.name,2998271):ki(n,2998271)}function sm(n){if(e.isSourceFile(n)&&!e.isExternalModule(n)||n.flags&16777216)return J;var r=e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments(n),t=r&&lc(wt(r.class));if(e.isPartOfTypeNode(n)){var a=Ra(n);return t?Ac(a,t.thisType):a}if(e.isExpressionNode(n))return OD(n);if(t&&!r.isImplements){var s=e.firstOrUndefined(vc(t));return s?Ac(s,t.thisType):J}if(Jv(n)){var u=wt(n);return rs(u)}if(RO(n)){var u=Kc(n);return u?rs(u):J}if(e.isDeclaration(n)){var u=wt(n);return kt(u)}if(f(n)){var u=Kc(n);return u?kt(u):J}if(e.isBindingPattern(n))return ns(n.parent,!0)||J;if(Ay(n)){var u=Kc(n);if(u){var S=rs(u);return S!==J?S:kt(u)}}return e.isMetaProperty(n.parent)&&n.parent.keywordToken===n.kind?m2(n.parent):J}function xy(n){if(e.Debug.assert(n.kind===203||n.kind===202),n.parent.kind===242){var r=Wv(n.parent);return om(n,r||J)}if(n.parent.kind===219){var r=kl(n.parent.right);return om(n,r||J)}if(n.parent.kind===291){var t=e.cast(n.parent.parent,e.isObjectLiteralExpression),a=xy(t)||J,s=e.indexOfNode(t.properties,n.parent);return C2(t,a,s)}var u=e.cast(n.parent,e.isArrayLiteralExpression),S=xy(u)||J,F=Pd(65,S,Rn,n.parent)||J;return x2(u,S,u.elements.indexOf(n),F)}function VO(n){var r=xy(e.cast(n.parent.parent,e.isAssignmentPattern));return r&&wn(r,n.escapedText)}function OD(n){return e.isRightSideOfQualifiedNameOrPropertyAccess(n)&&(n=n.parent),cc(kl(n))}function WO(n){var r=wt(n.parent);return e.isStatic(n)?kt(r):rs(r)}function jO(n){var r=n.name;switch(r.kind){case 79:return Jc(e.idText(r));case 8:case 10:return Jc(r.text);case 160:var t=od(r);return qs(t,12288)?t:gr;default:return e.Debug.fail("Unsupported property name.")}}function R1(n){n=Il(n);var r=e.createSymbolTable(bo(n)),t=zr(n,0).length?is:zr(n,1).length?mn:void 0;return t&&e.forEach(bo(t),function(a){r.has(a.escapedName)||r.set(a.escapedName,a)}),nf(r)}function O1(n){return e.typeHasCallOrConstructSignatures(n,Ue)}function PD(n){var r=HO(n);return r?e.flatMap(r,PD):[n]}function HO(n){if(e.getCheckFlags(n)&6)return e.mapDefined(Za(n).containingType.types,function(u){return wn(u,n.escapedName)});if(n.flags&33554432){var r=n,t=r.leftSpread,a=r.rightSpread,s=r.syntheticOrigin;return t?[t,a]:s?[s]:e.singleElementArray(JO(n))}}function JO(n){for(var r,t=n;t=Za(t).target;)r=t;return r}function KO(n){if(e.isGeneratedIdentifier(n))return!1;var r=e.getParseTreeNode(n,e.isIdentifier);if(!r)return!1;var t=r.parent;if(!t)return!1;var a=(e.isPropertyAccessExpression(t)||e.isPropertyAssignment(t))&&t.name===r;return!a&&Kv(r)===Le}function zO(n){var r=wo(n.parent,n);if(!r||e.isShorthandAmbientModuleSymbol(r))return!0;var t=Dl(r);r=Dt(r);var a=Za(r);return a.exportsSomeValue===void 0&&(a.exportsSomeValue=t?!!(r.flags&111551):e.forEachEntry(Ic(r),s)),a.exportsSomeValue;function s(u){return u=Ba(u),u&&!!(u.flags&111551)}}function qO(n){return e.isModuleOrEnumDeclaration(n.parent)&&n===n.parent.name}function XO(n,r){var t,a=e.getParseTreeNode(n,e.isIdentifier);if(a){var s=Kv(a,qO(a));if(s){if(s.flags&1048576){var u=Eo(s.exportSymbol);if(!r&&u.flags&944&&!(u.flags&3))return;s=u}var S=Kl(s);if(S){if(S.flags&512&&((t=S.valueDeclaration)===null||t===void 0?void 0:t.kind)===300){var F=S.valueDeclaration,ve=e.getSourceFileOfNode(a),Ge=F!==ve;return Ge?void 0:F}return e.findAncestor(a.parent,function(Je){return e.isModuleOrEnumDeclaration(Je)&&wt(Je)===S})}}}}function YO(n){if(n.generatedImportReference)return n.generatedImportReference;var r=e.getParseTreeNode(n,e.isIdentifier);if(r){var t=Kv(r);if(Ai(t,111551)&&!Qt(t))return Jl(t)}}function QO(n){return n.valueDeclaration&&e.isBindingElement(n.valueDeclaration)&&e.walkUpBindingElementsAndPatterns(n.valueDeclaration).parent.kind===290}function MD(n){if(n.flags&418&&n.valueDeclaration&&!e.isSourceFile(n.valueDeclaration)){var r=Za(n);if(r.isDeclarationWithCollidingName===void 0){var t=e.getEnclosingBlockScopeContainer(n.valueDeclaration);if(e.isStatementWithLocals(t)||QO(n)){var a=da(n.valueDeclaration);if(es(t.parent,n.escapedName,111551,void 0,void 0,!1))r.isDeclarationWithCollidingName=!0;else if(a.flags&262144){var s=a.flags&524288,u=e.isIterationStatement(t,!1),S=t.kind===233&&e.isIterationStatement(t.parent,!1);r.isDeclarationWithCollidingName=!e.isBlockScopedContainerTopLevel(t)&&(!s||!u&&!S)}else r.isDeclarationWithCollidingName=!1}}return r.isDeclarationWithCollidingName}return!1}function ZO(n){if(!e.isGeneratedIdentifier(n)){var r=e.getParseTreeNode(n,e.isIdentifier);if(r){var t=Kv(r);if(t&&MD(t))return t.valueDeclaration}}}function $O(n){var r=e.getParseTreeNode(n,e.isDeclaration);if(r){var t=wt(r);if(t)return MD(t)}return!1}function wD(n){switch(n.kind){case 263:return Iy(wt(n)||Xn);case 265:case 266:case 268:case 273:var r=wt(n)||Xn;return Iy(r)&&!Qt(r);case 270:var t=n.exportClause;return!!t&&(e.isNamespaceExport(t)||e.some(t.elements,wD));case 269:return n.expression&&n.expression.kind===79?Iy(wt(n)||Xn):!0}return!1}function eP(n){var r=e.getParseTreeNode(n,e.isImportEqualsDeclaration);if(r===void 0||r.parent.kind!==300||!e.isInternalModuleImportEqualsDeclaration(r))return!1;var t=Iy(wt(r));return t&&r.moduleReference&&!e.nodeIsMissing(r.moduleReference)}function Iy(n){var r=_i(n);return r===Xn?!0:!!(r.flags&111551)&&(e.shouldPreserveConstEnums(pe)||!Pg(r))}function Pg(n){return l1(n)||!!n.constEnumOnlyModule}function Ny(n,r){if($u(n)){var t=wt(n),a=t&&Za(t);if(a!=null&&a.referenced)return!0;var s=Za(t).target;if(s&&e.getEffectiveModifierFlags(n)&1&&s.flags&111551&&(e.shouldPreserveConstEnums(pe)||!Pg(s)))return!0}return r?!!e.forEachChild(n,function(u){return Ny(u,r)}):!1}function FD(n){if(e.nodeIsPresent(n.body)){if(e.isGetAccessor(n)||e.isSetAccessor(n))return!1;var r=wt(n),t=uf(r);return t.length>1||t.length===1&&t[0].declaration!==n}return!1}function GD(n){return!!He&&!Xf(n)&&!e.isJSDocParameterTag(n)&&!!n.initializer&&!e.hasSyntacticModifier(n,16476)}function nP(n){return He&&Xf(n)&&!n.initializer&&e.hasSyntacticModifier(n,16476)}function rP(n){return!!He&&Xf(n)&&!n.initializer}function tP(n){var r=e.getParseTreeNode(n,e.isFunctionDeclaration);if(!r)return!1;var t=wt(r);return!t||!(t.flags&16)?!1:!!e.forEachEntry(al(t),function(a){return a.flags&111551&&a.valueDeclaration&&e.isPropertyAccessExpression(a.valueDeclaration)})}function aP(n){var r=e.getParseTreeNode(n,e.isFunctionDeclaration);if(!r)return e.emptyArray;var t=wt(r);return t&&bo(kt(t))||e.emptyArray}function Qm(n){var r,t=n.id||0;return t<0||t>=nc.length?0:((r=nc[t])===null||r===void 0?void 0:r.flags)||0}function ky(n){return SD(n.parent),da(n).enumMemberValue}function BD(n){switch(n.kind){case 294:case 204:case 205:return!0}return!1}function P1(n){if(n.kind===294)return ky(n);var r=da(n).resolvedSymbol;if(r&&r.flags&8){var t=r.valueDeclaration;if(e.isEnumConst(t.parent))return ky(t)}}function M1(n){return!!(n.flags&524288)&&zr(n,0).length>0}function iP(n,r){var t,a,s=e.getParseTreeNode(n,e.isEntityName);if(!s||r&&(r=e.getParseTreeNode(r),!r))return e.TypeReferenceSerializationKind.Unknown;var u=!1;if(e.isQualifiedName(s)){var S=ki(e.getFirstIdentifier(s),111551,!0,!0,r);u=!!(!((t=S==null?void 0:S.declarations)===null||t===void 0)&&t.every(e.isTypeOnlyImportOrExportDeclaration))}var F=ki(s,111551,!0,!0,r),ve=F&&F.flags&2097152?_i(F):F;u||(u=!!(!((a=F==null?void 0:F.declarations)===null||a===void 0)&&a.every(e.isTypeOnlyImportOrExportDeclaration)));var Ge=ki(s,788968,!0,!1,r);if(ve&&ve===Ge){var Je=cE(!1);if(Je&&ve===Je)return e.TypeReferenceSerializationKind.Promise;var Xe=kt(ve);if(Xe&&nl(Xe))return u?e.TypeReferenceSerializationKind.TypeWithCallSignature:e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue}if(!Ge)return u?e.TypeReferenceSerializationKind.ObjectType:e.TypeReferenceSerializationKind.Unknown;var tn=rs(Ge);return tn===J?u?e.TypeReferenceSerializationKind.ObjectType:e.TypeReferenceSerializationKind.Unknown:tn.flags&3?e.TypeReferenceSerializationKind.ObjectType:qs(tn,245760)?e.TypeReferenceSerializationKind.VoidNullableOrNeverType:qs(tn,528)?e.TypeReferenceSerializationKind.BooleanType:qs(tn,296)?e.TypeReferenceSerializationKind.NumberLikeType:qs(tn,2112)?e.TypeReferenceSerializationKind.BigIntLikeType:qs(tn,402653316)?e.TypeReferenceSerializationKind.StringLikeType:ji(tn)?e.TypeReferenceSerializationKind.ArrayLikeType:qs(tn,12288)?e.TypeReferenceSerializationKind.ESSymbolType:M1(tn)?e.TypeReferenceSerializationKind.TypeWithCallSignature:Gl(tn)?e.TypeReferenceSerializationKind.ArrayLikeType:e.TypeReferenceSerializationKind.ObjectType}function oP(n,r,t,a,s){var u=e.getParseTreeNode(n,e.isVariableLikeOrAccessor);if(!u)return e.factory.createToken(129);var S=wt(u),F=S&&!(S.flags&133120)?Ap(kt(S)):J;return F.flags&8192&&F.symbol===S&&(t|=1048576),s&&(F=td(F)),Pe.typeToTypeNode(F,r,t|1024,a)}function sP(n,r,t,a){var s=e.getParseTreeNode(n,e.isFunctionLike);if(!s)return e.factory.createToken(129);var u=su(s);return Pe.typeToTypeNode(_o(u),r,t|1024,a)}function lP(n,r,t,a){var s=e.getParseTreeNode(n,e.isExpression);if(!s)return e.factory.createToken(129);var u=fc(OD(s));return Pe.typeToTypeNode(u,r,t|1024,a)}function cP(n){return xe.has(e.escapeLeadingUnderscores(n))}function Kv(n,r){var t=da(n).resolvedSymbol;if(t)return t;var a=n;if(r){var s=n.parent;e.isDeclaration(s)&&n===s.name&&(a=jf(s))}return es(a,n.escapedText,3257279,void 0,void 0,!0)}function uP(n){if(!e.isGeneratedIdentifier(n)){var r=e.getParseTreeNode(n,e.isIdentifier);if(r){var t=Kv(r);if(t)return $c(t).valueDeclaration}}}function fP(n){return e.isDeclarationReadonly(n)||e.isVariableDeclaration(n)&&e.isVarConst(n)?Lp(kt(wt(n))):!1}function dP(n,r,t){var a=n.flags&1024?Pe.symbolToExpression(n.symbol,111551,r,void 0,t):n===Kr?e.factory.createTrue():n===ft&&e.factory.createFalse();if(a)return a;var s=n.value;return typeof s=="object"?e.factory.createBigIntLiteral(s):typeof s=="number"?e.factory.createNumericLiteral(s):e.factory.createStringLiteral(s)}function pP(n,r){var t=kt(wt(n));return dP(t,n,r)}function UD(n){return n?(yo(n),e.getSourceFileOfNode(n).localJsxFactory||Fi):Fi}function w1(n){if(n){var r=e.getSourceFileOfNode(n);if(r){if(r.localJsxFragmentFactory)return r.localJsxFragmentFactory;var t=r.pragmas.get("jsxfrag"),a=e.isArray(t)?t[0]:t;if(a)return r.localJsxFragmentFactory=e.parseIsolatedEntityName(a.arguments.factory,we),r.localJsxFragmentFactory}}if(pe.jsxFragmentFactory)return e.parseIsolatedEntityName(pe.jsxFragmentFactory,we)}function mP(){var n=x.getResolvedTypeReferenceDirectives(),r;return n&&(r=new e.Map,n.forEach(function(ve,Ge){if(!(!ve||!ve.resolvedFileName)){var Je=x.getSourceFile(ve.resolvedFileName);Je&&F(Je,Ge)}})),{getReferencedExportContainer:XO,getReferencedImportDeclaration:YO,getReferencedDeclarationWithCollidingName:ZO,isDeclarationWithCollidingName:$O,isValueAliasDeclaration:function(ve){var Ge=e.getParseTreeNode(ve);return Ge?wD(Ge):!0},hasGlobalName:cP,isReferencedAliasDeclaration:function(ve,Ge){var Je=e.getParseTreeNode(ve);return Je?Ny(Je,Ge):!0},getNodeCheckFlags:function(ve){var Ge=e.getParseTreeNode(ve);return Ge?Qm(Ge):0},isTopLevelValueImportEqualsWithEntityName:eP,isDeclarationVisible:eu,isImplementationOfOverload:FD,isRequiredInitializedParameter:GD,isOptionalUninitializedParameterProperty:nP,isExpandoFunctionDeclaration:tP,getPropertiesOfContainerFunction:aP,createTypeOfDeclaration:oP,createReturnTypeOfSignatureDeclaration:sP,createTypeOfExpression:lP,createLiteralConstValue:pP,isSymbolAccessible:tf,isEntityNameVisible:gp,getConstantValue:function(ve){var Ge=e.getParseTreeNode(ve,BD);return Ge?P1(Ge):void 0},collectLinkedAliases:zd,getReferencedValueDeclaration:uP,getTypeReferenceSerializationKind:iP,isOptionalParameter:Xf,moduleExportsSomeValue:zO,isArgumentsLocalBinding:KO,getExternalModuleFileFromDeclaration:function(ve){var Ge=e.getParseTreeNode(ve,e.hasPossibleExternalModuleReference);return Ge&&F1(Ge)},getTypeReferenceDirectivesForEntityName:s,getTypeReferenceDirectivesForSymbol:u,isLiteralConstDeclaration:fP,isLateBound:function(ve){var Ge=e.getParseTreeNode(ve,e.isDeclaration),Je=Ge&&wt(Ge);return!!(Je&&e.getCheckFlags(Je)&4096)},getJsxFactoryEntity:UD,getJsxFragmentFactoryEntity:w1,getAllAccessorDeclarations:function(ve){ve=e.getParseTreeNode(ve,e.isGetOrSetAccessorDeclaration);var Ge=ve.kind===171?170:171,Je=e.getDeclarationOfKind(wt(ve),Ge),Xe=Je&&Je.pos3})||Jn(n,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,S,4):u&1048576?e.some(uf(F),function(ve){return ac(ve)>4})||Jn(n,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,S,5):u&1024&&(e.some(uf(F),function(ve){return ac(ve)>2})||Jn(n,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,S,3)):Jn(n,e.Diagnostics.This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0,e.externalHelpersModuleNameText,S)}}K|=r}}}function gP(n){switch(n){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"__createBinding";default:return e.Debug.fail("Unrecognized helper")}}function vP(n,r){return I||(I=Qc(n,e.externalHelpersModuleNameText,e.Diagnostics.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,r)||Xn),I}function Af(n){return hP(n)||yP(n)}function hP(n){if(!n.decorators)return!1;if(e.nodeCanBeDecorated(n,n.parent,n.parent.parent)){if(n.kind===170||n.kind===171){var r=e.getAllAccessorDeclarations(n.parent.members,n);if(r.firstAccessor.decorators&&n===r.secondAccessor)return Sl(n,e.Diagnostics.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}}else return n.kind===167&&!e.nodeIsPresent(n.body)?Sl(n,e.Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload):Sl(n,e.Diagnostics.Decorators_are_not_valid_here);return!1}function yP(n){var r=EP(n);if(r!==void 0)return r;for(var t,a,s,u,S,F=0,ve=0,Ge=n.modifiers;ve1||n.modifiers[0].kind!==r}function TP(n,r){switch(n.kind){case 167:case 254:case 211:case 212:return!1}return At(r,e.Diagnostics._0_modifier_cannot_be_used_here,"async")}function Am(n,r){return r===void 0&&(r=e.Diagnostics.Trailing_comma_not_allowed),n&&n.hasTrailingComma?up(n[0],n.end-1,1,r):!1}function VD(n,r){if(n&&n.length===0){var t=n.pos-1,a=e.skipTrivia(r.text,n.end)+1;return up(r,t,a-t,e.Diagnostics.Type_parameter_list_cannot_be_empty)}return!1}function SP(n){for(var r=!1,t=n.length,a=0;a=3){var r=n.body&&e.isBlock(n.body)&&e.findUseStrictPrologue(n.body.statements);if(r){var t=DP(n.parameters);if(e.length(t)){e.forEach(t,function(s){e.addRelatedInfo(Jn(s,e.Diagnostics.This_parameter_is_not_allowed_with_use_strict_directive),e.createDiagnosticForNode(r,e.Diagnostics.use_strict_directive_used_here))});var a=t.map(function(s,u){return u===0?e.createDiagnosticForNode(s,e.Diagnostics.Non_simple_parameter_declared_here):e.createDiagnosticForNode(s,e.Diagnostics.and_here)});return e.addRelatedInfo.apply(void 0,Vr([Jn(r,e.Diagnostics.use_strict_directive_cannot_be_used_with_non_simple_parameter_list)],a,!1)),!0}}}return!1}function Ry(n){var r=e.getSourceFileOfNode(n);return Af(n)||VD(n.typeParameters,r)||SP(n.parameters)||CP(n,r)||e.isFunctionLikeDeclaration(n)&&LP(n)}function AP(n){var r=e.getSourceFileOfNode(n);return PP(n)||VD(n.typeParameters,r)}function CP(n,r){if(!e.isArrowFunction(n))return!1;var t=n.equalsGreaterThanToken,a=e.getLineAndCharacterOfPosition(r,t.pos).line,s=e.getLineAndCharacterOfPosition(r,t.end).line;return a!==s&&At(t,e.Diagnostics.Line_terminator_not_permitted_before_arrow)}function xP(n){var r=n.parameters[0];if(n.parameters.length!==1)return At(r?r.name:n,e.Diagnostics.An_index_signature_must_have_exactly_one_parameter);if(Am(n.parameters,e.Diagnostics.An_index_signature_cannot_have_a_trailing_comma),r.dotDotDotToken)return At(r.dotDotDotToken,e.Diagnostics.An_index_signature_cannot_have_a_rest_parameter);if(e.hasEffectiveModifiers(r))return At(r.name,e.Diagnostics.An_index_signature_parameter_cannot_have_an_accessibility_modifier);if(r.questionToken)return At(r.questionToken,e.Diagnostics.An_index_signature_parameter_cannot_have_a_question_mark);if(r.initializer)return At(r.name,e.Diagnostics.An_index_signature_parameter_cannot_have_an_initializer);if(!r.type)return At(r.name,e.Diagnostics.An_index_signature_parameter_must_have_a_type_annotation);var t=Ra(r.type);return D_(t,function(a){return!!(a.flags&8576)})||mh(t)?At(r.name,e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead):ad(t,lh)?n.type?!1:At(n,e.Diagnostics.An_index_signature_must_have_a_type_annotation):At(r.name,e.Diagnostics.An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type)}function IP(n){return Af(n)||xP(n)}function NP(n,r){if(r&&r.length===0){var t=e.getSourceFileOfNode(n),a=r.pos-1,s=e.skipTrivia(t.text,r.end)+1;return up(t,a,s-a,e.Diagnostics.Type_argument_list_cannot_be_empty)}return!1}function zv(n,r){return Am(r)||NP(n,r)}function kP(n){return n.questionDotToken||n.flags&32?At(n.template,e.Diagnostics.Tagged_template_expressions_are_not_permitted_in_an_optional_chain):!1}function RP(n){if(n)for(var r=0,t=n;r1)return Sl(u.types[1],e.Diagnostics.Classes_can_only_extend_a_single_class);r=!0}else{if(e.Debug.assert(u.token===117),t)return Sl(u,e.Diagnostics.implements_clause_already_seen);t=!0}jD(u)}}function MP(n){var r=!1;if(n.heritageClauses)for(var t=0,a=n.heritageClauses;t1){var t=n.kind===241?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 Sl(u.declarations[1],t)}var F=S[0];if(F.initializer){var t=n.kind===241?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 At(F.name,t)}if(F.type){var t=n.kind===241?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 At(F,t)}}}return!1}function UP(n){if(!(n.flags&8388608)&&n.parent.kind!==180&&n.parent.kind!==256){if(we<1)return At(n.name,e.Diagnostics.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher);if(we<2&&e.isPrivateIdentifier(n.name))return At(n.name,e.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(n.body===void 0&&!e.hasSyntacticModifier(n,128))return up(n,n.end-1,1,e.Diagnostics._0_expected,"{")}if(n.body){if(e.hasSyntacticModifier(n,128))return At(n,e.Diagnostics.An_abstract_accessor_cannot_have_an_implementation);if(n.parent.kind===180||n.parent.kind===256)return At(n.body,e.Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts)}if(n.typeParameters)return At(n.name,e.Diagnostics.An_accessor_cannot_have_type_parameters);if(!VP(n))return At(n.name,n.kind===170?e.Diagnostics.A_get_accessor_cannot_have_parameters:e.Diagnostics.A_set_accessor_must_have_exactly_one_parameter);if(n.kind===171){if(n.type)return At(n.name,e.Diagnostics.A_set_accessor_cannot_have_a_return_type_annotation);var r=e.Debug.checkDefined(e.getSetAccessorValueParameter(n),"Return value does not match parameter count assertion.");if(r.dotDotDotToken)return At(r.dotDotDotToken,e.Diagnostics.A_set_accessor_cannot_have_rest_parameter);if(r.questionToken)return At(r.questionToken,e.Diagnostics.A_set_accessor_cannot_have_an_optional_parameter);if(r.initializer)return At(n.name,e.Diagnostics.A_set_accessor_parameter_cannot_have_an_initializer)}return!1}function VP(n){return U1(n)||n.parameters.length===(n.kind===170?0:1)}function U1(n){if(n.parameters.length===(n.kind===170?1:2))return e.getThisParameter(n)}function WP(n){if(n.operator===152){if(n.type.kind!==149)return At(n.type,e.Diagnostics._0_expected,e.tokenToString(149));var r=e.walkUpParenthesizedTypes(n.parent);switch(e.isInJSFile(r)&&e.isJSDocTypeExpression(r)&&(r=r.parent,e.isJSDocTypeTag(r)&&(r=r.parent.parent)),r.kind){case 252:var t=r;if(t.name.kind!==79)return At(n,e.Diagnostics.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name);if(!e.isVariableDeclarationInVariableStatement(t))return At(n,e.Diagnostics.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement);if(!(t.parent.flags&2))return At(r.name,e.Diagnostics.A_variable_whose_type_is_a_unique_symbol_type_must_be_const);break;case 165:if(!e.isStatic(r)||!e.hasEffectiveReadonlyModifier(r))return At(r.name,e.Diagnostics.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly);break;case 164:if(!e.hasSyntacticModifier(r,64))return At(r.name,e.Diagnostics.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly);break;default:return At(n,e.Diagnostics.unique_symbol_types_are_not_allowed_here)}}else if(n.operator===143&&n.type.kind!==181&&n.type.kind!==182)return Sl(n,e.Diagnostics.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types,e.tokenToString(149))}function B_(n,r){if(ru(n))return At(n,r)}function zD(n){if(Ry(n))return!0;if(n.kind===167){if(n.parent.kind===203){if(n.modifiers&&!(n.modifiers.length===1&&e.first(n.modifiers).kind===130))return Sl(n,e.Diagnostics.Modifiers_cannot_appear_here);if(HD(n.questionToken,e.Diagnostics.An_object_member_cannot_be_declared_optional))return!0;if(JD(n.exclamationToken,e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context))return!0;if(n.body===void 0)return up(n,n.end-1,1,e.Diagnostics._0_expected,"{")}if(B1(n))return!0}if(e.isClassLike(n.parent)){if(we<2&&e.isPrivateIdentifier(n.name))return At(n.name,e.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(n.flags&8388608)return B_(n.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(n.kind===167&&!n.body)return B_(n.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(n.parent.kind===256)return B_(n.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(n.parent.kind===180)return B_(n.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 jP(n){for(var r=n;r;){if(e.isFunctionLikeOrClassStaticBlockDeclaration(r))return At(n,e.Diagnostics.Jump_target_cannot_cross_function_boundary);switch(r.kind){case 248:if(n.label&&r.label.escapedText===n.label.escapedText){var t=n.kind===243&&!e.isIterationStatement(r.statement,!0);return t?At(n,e.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement):!1}break;case 247:if(n.kind===244&&!n.label)return!1;break;default:if(e.isIterationStatement(r,!1)&&!n.label)return!1;break}r=r.parent}if(n.label){var a=n.kind===244?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 At(n,a)}else{var a=n.kind===244?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 At(n,a)}}function HP(n){if(n.dotDotDotToken){var r=n.parent.elements;if(n!==e.last(r))return At(n,e.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);if(Am(r,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),n.propertyName)return At(n.name,e.Diagnostics.A_rest_element_cannot_have_a_property_name)}if(n.dotDotDotToken&&n.initializer)return up(n,n.initializer.pos-1,1,e.Diagnostics.A_rest_element_cannot_have_an_initializer)}function qD(n){return e.isStringOrNumericLiteralLike(n)||n.kind===217&&n.operator===40&&n.operand.kind===8}function JP(n){return n.kind===9||n.kind===217&&n.operator===40&&n.operand.kind===9}function KP(n){if((e.isPropertyAccessExpression(n)||e.isElementAccessExpression(n)&&qD(n.argumentExpression))&&e.isEntityNameExpression(n.expression))return!!(ll(n).flags&1024)}function XD(n){var r=n.initializer;if(r){var t=!(qD(r)||KP(r)||r.kind===110||r.kind===95||JP(r)),a=e.isDeclarationReadonly(n)||e.isVariableDeclaration(n)&&e.isVarConst(n);if(a&&!n.type){if(t)return At(r,e.Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference)}else return At(r,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts);if(!a||t)return At(r,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}}function zP(n){if(n.parent.parent.kind!==241&&n.parent.parent.kind!==242){if(n.flags&8388608)XD(n);else if(!n.initializer){if(e.isBindingPattern(n.name)&&!e.isBindingPattern(n.parent))return At(n,e.Diagnostics.A_destructuring_declaration_must_have_an_initializer);if(e.isVarConst(n))return At(n,e.Diagnostics.const_declarations_must_be_initialized)}}if(n.exclamationToken&&(n.parent.parent.kind!==235||!n.type||n.initializer||n.flags&8388608)){var r=n.initializer?e.Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:n.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 At(n.exclamationToken,r)}var t=e.getEmitModuleKind(pe);t0}function Sl(n,r,t,a,s){var u=e.getSourceFileOfNode(n);if(!lm(u)){var S=e.getSpanOfTokenAtPosition(u,n.pos);return zt.add(e.createFileDiagnostic(u,S.start,S.length,r,t,a,s)),!0}return!1}function up(n,r,t,a,s,u,S){var F=e.getSourceFileOfNode(n);return lm(F)?!1:(zt.add(e.createFileDiagnostic(F,r,t,a,s,u,S)),!0)}function YP(n,r,t,a,s,u){var S=e.getSourceFileOfNode(r);return lm(S)?!1:(Pi(n,r,t,a,s,u),!0)}function At(n,r,t,a,s){var u=e.getSourceFileOfNode(n);return lm(u)?!1:(zt.add(e.createDiagnosticForNode(n,r,t,a,s)),!0)}function QP(n){var r=e.isInJSFile(n)?e.getJSDocTypeParameterDeclarations(n):void 0,t=n.typeParameters||r&&e.firstOrUndefined(r);if(t){var a=t.pos===t.end?t.pos:e.skipTrivia(e.getSourceFileOfNode(n).text,t.pos);return up(n,a,t.end-a,e.Diagnostics.Type_parameters_cannot_appear_on_a_constructor_declaration)}}function ZP(n){var r=e.getEffectiveReturnTypeNode(n);if(r)return At(r,e.Diagnostics.Type_annotation_cannot_appear_on_a_constructor_declaration)}function $P(n){if(e.isClassLike(n.parent)){if(e.isStringLiteral(n.name)&&n.name.text==="constructor")return At(n.name,e.Diagnostics.Classes_may_not_have_a_field_named_constructor);if(B_(n.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(we<2&&e.isPrivateIdentifier(n.name))return At(n.name,e.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher)}else if(n.parent.kind===256){if(B_(n.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(n.initializer)return At(n.initializer,e.Diagnostics.An_interface_property_cannot_have_an_initializer)}else if(n.parent.kind===180){if(B_(n.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(n.initializer)return At(n.initializer,e.Diagnostics.A_type_literal_property_cannot_have_an_initializer)}if(n.flags&8388608&&XD(n),e.isPropertyDeclaration(n)&&n.exclamationToken&&(!e.isClassLike(n.parent)||!n.type||n.initializer||n.flags&8388608||e.isStatic(n)||e.hasAbstractModifier(n))){var r=n.initializer?e.Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:n.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 At(n.exclamationToken,r)}}function eM(n){return n.kind===256||n.kind===257||n.kind===264||n.kind===263||n.kind===270||n.kind===269||n.kind===262||e.hasSyntacticModifier(n,515)?!1:Sl(n,e.Diagnostics.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}function nM(n){for(var r=0,t=n.statements;r=1?r=e.Diagnostics.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:e.isChildOfNodeWithKind(n,194)?r=e.Diagnostics.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:e.isChildOfNodeWithKind(n,294)&&(r=e.Diagnostics.Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0),r){var t=e.isPrefixUnaryExpression(n.parent)&&n.parent.operator===40,a=(t?"-":"")+"0o"+n.text;return At(t?n.parent:n,r,a)}}return tM(n),!1}function tM(n){if(!(n.numericLiteralFlags&16||n.text.length<=15||n.text.indexOf(".")!==-1)){var r=+e.getTextOfNode(n);r<=Math.pow(2,53)-1&&r+1>r||zo(!1,e.createDiagnosticForNode(n,e.Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers))}}function aM(n){var r=e.isLiteralTypeNode(n.parent)||e.isPrefixUnaryExpression(n.parent)&&e.isLiteralTypeNode(n.parent.parent);return!!(!r&&we<7&&At(n,e.Diagnostics.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020))}function iM(n,r,t,a,s){var u=e.getSourceFileOfNode(n);if(!lm(u)){var S=e.getSpanOfTokenAtPosition(u,n.pos);return zt.add(e.createFileDiagnostic(u,e.textSpanEnd(S),0,r,t,a,s)),!0}return!1}function oM(){return Bo||(Bo=[],xe.forEach(function(n,r){o.test(r)&&Bo.push(n)})),Bo}function sM(n){return n.isTypeOnly&&n.name&&n.namedBindings?At(n,e.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both):!1}function lM(n){if(pn===e.ModuleKind.ES2015)return At(n,e.Diagnostics.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system_or_umd);if(n.typeArguments)return At(n,e.Diagnostics.Dynamic_import_cannot_have_type_arguments);var r=n.arguments;return r.length!==1?At(n,e.Diagnostics.Dynamic_import_must_have_one_specifier_as_an_argument):(Am(r),e.isSpreadElement(r[0])?At(r[0],e.Diagnostics.Specifier_of_dynamic_import_cannot_be_spread_element):!1)}function cM(n,r){var t=e.getObjectFlags(n);if(t&20&&r.flags&1048576)return e.find(r.types,function(a){if(a.flags&524288){var s=t&e.getObjectFlags(a);if(s&4)return n.target===a.target;if(s&16)return!!n.aliasSymbol&&n.aliasSymbol===a.aliasSymbol}return!1})}function uM(n,r){if(e.getObjectFlags(n)&128&&D_(r,lp))return e.find(r.types,function(t){return!lp(t)})}function fM(n,r){var t=0,a=zr(n,t).length>0||(t=1,zr(n,t).length>0);if(a)return e.find(r.types,function(s){return zr(s,t).length>0})}function dM(n,r){for(var t,a=0,s=0,u=r.types;s=a&&(t=S,a=ve)}else Wu(F)&&1>=a&&(t=S,a=1)}return t}function pM(n){if(bs(n,67108864)){var r=Nl(n,function(t){return!(t.flags&131068)});if(!(r.flags&131072))return r}return n}function $D(n,r,t,a){if(r.flags&1048576&&n.flags&2621440){var s=GS(r,n);if(s)return s;var u=bo(n);if(u){var S=FS(u,r);if(S)return WE(r,e.map(S,function(F){return[function(){return kt(F)},F.escapedName]}),t,void 0,a)}}}}e.createTypeChecker=G;function g(x){return!e.isAccessor(x)}function p(x){return x.kind!==254&&x.kind!==167||!!x.body}function f(x){switch(x.parent.kind){case 268:case 273:return e.isIdentifier(x);default:return e.isDeclarationName(x)}}var T;(function(x){x.JSX="JSX",x.IntrinsicElements="IntrinsicElements",x.ElementClass="ElementClass",x.ElementAttributesPropertyNameContainer="ElementAttributesProperty",x.ElementChildrenAttributeNameContainer="ElementChildrenAttribute",x.Element="Element",x.IntrinsicAttributes="IntrinsicAttributes",x.IntrinsicClassAttributes="IntrinsicClassAttributes",x.LibraryManagedAttributes="LibraryManagedAttributes"})(T||(T={}));function m(x){switch(x){case 0:return"yieldType";case 1:return"returnType";case 2:return"nextType"}}function N(x){return!!(x.flags&1)}e.signatureHasRestParameter=N;function P(x){return!!(x.flags&2)}e.signatureHasLiteralTypes=P})(vn||(vn={}));var vn;(function(e){function o(y,V,Z,E){if(y===void 0||V===void 0)return y;var H=V(y);if(H===y)return y;var L;if(H!==void 0)return e.isArray(H)?L=(E||_e)(H):L=H,e.Debug.assertNode(L,Z),L}e.visitNode=o;function ue(y,V,Z,E,H){if(y===void 0||V===void 0)return y;var L,ee=y.length;(E===void 0||E<0)&&(E=0),(H===void 0||H>ee-E)&&(H=ee-E);var k,b=-1,ie=-1;(E>0||H=2&&(H=W(H,Z)),Z.setLexicalEnvironmentFlags(1,!1)),Z.suspendLexicalEnvironment(),H}e.visitParameterList=Y;function W(y,V){for(var Z,E=0;E0&&ee<=158||ee===190)return y;var k=Z.factory;switch(ee){case 79:return e.Debug.type(y),k.updateIdentifier(y,E(y.typeArguments,V,e.isTypeNodeOrTypeParameterDeclaration));case 159:return e.Debug.type(y),k.updateQualifiedName(y,L(y.left,V,e.isEntityName),L(y.right,V,e.isIdentifier));case 160:return e.Debug.type(y),k.updateComputedPropertyName(y,L(y.expression,V,e.isExpression));case 161:return e.Debug.type(y),k.updateTypeParameterDeclaration(y,L(y.name,V,e.isIdentifier),L(y.constraint,V,e.isTypeNode),L(y.default,V,e.isTypeNode));case 162:return e.Debug.type(y),k.updateParameterDeclaration(y,E(y.decorators,V,e.isDecorator),E(y.modifiers,V,e.isModifier),L(y.dotDotDotToken,H,e.isDotDotDotToken),L(y.name,V,e.isBindingName),L(y.questionToken,H,e.isQuestionToken),L(y.type,V,e.isTypeNode),L(y.initializer,V,e.isExpression));case 163:return e.Debug.type(y),k.updateDecorator(y,L(y.expression,V,e.isExpression));case 164:return e.Debug.type(y),k.updatePropertySignature(y,E(y.modifiers,V,e.isModifier),L(y.name,V,e.isPropertyName),L(y.questionToken,H,e.isToken),L(y.type,V,e.isTypeNode));case 165:return e.Debug.type(y),k.updatePropertyDeclaration(y,E(y.decorators,V,e.isDecorator),E(y.modifiers,V,e.isModifier),L(y.name,V,e.isPropertyName),L(y.questionToken||y.exclamationToken,H,e.isQuestionOrExclamationToken),L(y.type,V,e.isTypeNode),L(y.initializer,V,e.isExpression));case 166:return e.Debug.type(y),k.updateMethodSignature(y,E(y.modifiers,V,e.isModifier),L(y.name,V,e.isPropertyName),L(y.questionToken,H,e.isQuestionToken),E(y.typeParameters,V,e.isTypeParameterDeclaration),E(y.parameters,V,e.isParameterDeclaration),L(y.type,V,e.isTypeNode));case 167:return e.Debug.type(y),k.updateMethodDeclaration(y,E(y.decorators,V,e.isDecorator),E(y.modifiers,V,e.isModifier),L(y.asteriskToken,H,e.isAsteriskToken),L(y.name,V,e.isPropertyName),L(y.questionToken,H,e.isQuestionToken),E(y.typeParameters,V,e.isTypeParameterDeclaration),Y(y.parameters,V,Z,E),L(y.type,V,e.isTypeNode),A(y.body,V,Z,L));case 169:return e.Debug.type(y),k.updateConstructorDeclaration(y,E(y.decorators,V,e.isDecorator),E(y.modifiers,V,e.isModifier),Y(y.parameters,V,Z,E),A(y.body,V,Z,L));case 170:return e.Debug.type(y),k.updateGetAccessorDeclaration(y,E(y.decorators,V,e.isDecorator),E(y.modifiers,V,e.isModifier),L(y.name,V,e.isPropertyName),Y(y.parameters,V,Z,E),L(y.type,V,e.isTypeNode),A(y.body,V,Z,L));case 171:return e.Debug.type(y),k.updateSetAccessorDeclaration(y,E(y.decorators,V,e.isDecorator),E(y.modifiers,V,e.isModifier),L(y.name,V,e.isPropertyName),Y(y.parameters,V,Z,E),A(y.body,V,Z,L));case 168:return e.Debug.type(y),Z.startLexicalEnvironment(),Z.suspendLexicalEnvironment(),k.updateClassStaticBlockDeclaration(y,E(y.decorators,V,e.isDecorator),E(y.modifiers,V,e.isModifier),A(y.body,V,Z,L));case 172:return e.Debug.type(y),k.updateCallSignature(y,E(y.typeParameters,V,e.isTypeParameterDeclaration),E(y.parameters,V,e.isParameterDeclaration),L(y.type,V,e.isTypeNode));case 173:return e.Debug.type(y),k.updateConstructSignature(y,E(y.typeParameters,V,e.isTypeParameterDeclaration),E(y.parameters,V,e.isParameterDeclaration),L(y.type,V,e.isTypeNode));case 174:return e.Debug.type(y),k.updateIndexSignature(y,E(y.decorators,V,e.isDecorator),E(y.modifiers,V,e.isModifier),E(y.parameters,V,e.isParameterDeclaration),L(y.type,V,e.isTypeNode));case 175:return e.Debug.type(y),k.updateTypePredicateNode(y,L(y.assertsModifier,V,e.isAssertsKeyword),L(y.parameterName,V,e.isIdentifierOrThisTypeNode),L(y.type,V,e.isTypeNode));case 176:return e.Debug.type(y),k.updateTypeReferenceNode(y,L(y.typeName,V,e.isEntityName),E(y.typeArguments,V,e.isTypeNode));case 177:return e.Debug.type(y),k.updateFunctionTypeNode(y,E(y.typeParameters,V,e.isTypeParameterDeclaration),E(y.parameters,V,e.isParameterDeclaration),L(y.type,V,e.isTypeNode));case 178:return e.Debug.type(y),k.updateConstructorTypeNode(y,E(y.modifiers,V,e.isModifier),E(y.typeParameters,V,e.isTypeParameterDeclaration),E(y.parameters,V,e.isParameterDeclaration),L(y.type,V,e.isTypeNode));case 179:return e.Debug.type(y),k.updateTypeQueryNode(y,L(y.exprName,V,e.isEntityName));case 180:return e.Debug.type(y),k.updateTypeLiteralNode(y,E(y.members,V,e.isTypeElement));case 181:return e.Debug.type(y),k.updateArrayTypeNode(y,L(y.elementType,V,e.isTypeNode));case 182:return e.Debug.type(y),k.updateTupleTypeNode(y,E(y.elements,V,e.isTypeNode));case 183:return e.Debug.type(y),k.updateOptionalTypeNode(y,L(y.type,V,e.isTypeNode));case 184:return e.Debug.type(y),k.updateRestTypeNode(y,L(y.type,V,e.isTypeNode));case 185:return e.Debug.type(y),k.updateUnionTypeNode(y,E(y.types,V,e.isTypeNode));case 186:return e.Debug.type(y),k.updateIntersectionTypeNode(y,E(y.types,V,e.isTypeNode));case 187:return e.Debug.type(y),k.updateConditionalTypeNode(y,L(y.checkType,V,e.isTypeNode),L(y.extendsType,V,e.isTypeNode),L(y.trueType,V,e.isTypeNode),L(y.falseType,V,e.isTypeNode));case 188:return e.Debug.type(y),k.updateInferTypeNode(y,L(y.typeParameter,V,e.isTypeParameterDeclaration));case 198:return e.Debug.type(y),k.updateImportTypeNode(y,L(y.argument,V,e.isTypeNode),L(y.qualifier,V,e.isEntityName),ue(y.typeArguments,V,e.isTypeNode),y.isTypeOf);case 195:return e.Debug.type(y),k.updateNamedTupleMember(y,o(y.dotDotDotToken,V,e.isDotDotDotToken),o(y.name,V,e.isIdentifier),o(y.questionToken,V,e.isQuestionToken),o(y.type,V,e.isTypeNode));case 189:return e.Debug.type(y),k.updateParenthesizedType(y,L(y.type,V,e.isTypeNode));case 191:return e.Debug.type(y),k.updateTypeOperatorNode(y,L(y.type,V,e.isTypeNode));case 192:return e.Debug.type(y),k.updateIndexedAccessTypeNode(y,L(y.objectType,V,e.isTypeNode),L(y.indexType,V,e.isTypeNode));case 193:return e.Debug.type(y),k.updateMappedTypeNode(y,L(y.readonlyToken,H,e.isReadonlyKeywordOrPlusOrMinusToken),L(y.typeParameter,V,e.isTypeParameterDeclaration),L(y.nameType,V,e.isTypeNode),L(y.questionToken,H,e.isQuestionOrPlusOrMinusToken),L(y.type,V,e.isTypeNode));case 194:return e.Debug.type(y),k.updateLiteralTypeNode(y,L(y.literal,V,e.isExpression));case 196:return e.Debug.type(y),k.updateTemplateLiteralType(y,L(y.head,V,e.isTemplateHead),E(y.templateSpans,V,e.isTemplateLiteralTypeSpan));case 197:return e.Debug.type(y),k.updateTemplateLiteralTypeSpan(y,L(y.type,V,e.isTypeNode),L(y.literal,V,e.isTemplateMiddleOrTemplateTail));case 199:return e.Debug.type(y),k.updateObjectBindingPattern(y,E(y.elements,V,e.isBindingElement));case 200:return e.Debug.type(y),k.updateArrayBindingPattern(y,E(y.elements,V,e.isArrayBindingElement));case 201:return e.Debug.type(y),k.updateBindingElement(y,L(y.dotDotDotToken,H,e.isDotDotDotToken),L(y.propertyName,V,e.isPropertyName),L(y.name,V,e.isBindingName),L(y.initializer,V,e.isExpression));case 202:return e.Debug.type(y),k.updateArrayLiteralExpression(y,E(y.elements,V,e.isExpression));case 203:return e.Debug.type(y),k.updateObjectLiteralExpression(y,E(y.properties,V,e.isObjectLiteralElementLike));case 204:return y.flags&32?(e.Debug.type(y),k.updatePropertyAccessChain(y,L(y.expression,V,e.isExpression),L(y.questionDotToken,H,e.isQuestionDotToken),L(y.name,V,e.isMemberName))):(e.Debug.type(y),k.updatePropertyAccessExpression(y,L(y.expression,V,e.isExpression),L(y.name,V,e.isMemberName)));case 205:return y.flags&32?(e.Debug.type(y),k.updateElementAccessChain(y,L(y.expression,V,e.isExpression),L(y.questionDotToken,H,e.isQuestionDotToken),L(y.argumentExpression,V,e.isExpression))):(e.Debug.type(y),k.updateElementAccessExpression(y,L(y.expression,V,e.isExpression),L(y.argumentExpression,V,e.isExpression)));case 206:return y.flags&32?(e.Debug.type(y),k.updateCallChain(y,L(y.expression,V,e.isExpression),L(y.questionDotToken,H,e.isQuestionDotToken),E(y.typeArguments,V,e.isTypeNode),E(y.arguments,V,e.isExpression))):(e.Debug.type(y),k.updateCallExpression(y,L(y.expression,V,e.isExpression),E(y.typeArguments,V,e.isTypeNode),E(y.arguments,V,e.isExpression)));case 207:return e.Debug.type(y),k.updateNewExpression(y,L(y.expression,V,e.isExpression),E(y.typeArguments,V,e.isTypeNode),E(y.arguments,V,e.isExpression));case 208:return e.Debug.type(y),k.updateTaggedTemplateExpression(y,L(y.tag,V,e.isExpression),ue(y.typeArguments,V,e.isTypeNode),L(y.template,V,e.isTemplateLiteral));case 209:return e.Debug.type(y),k.updateTypeAssertion(y,L(y.type,V,e.isTypeNode),L(y.expression,V,e.isExpression));case 210:return e.Debug.type(y),k.updateParenthesizedExpression(y,L(y.expression,V,e.isExpression));case 211:return e.Debug.type(y),k.updateFunctionExpression(y,E(y.modifiers,V,e.isModifier),L(y.asteriskToken,H,e.isAsteriskToken),L(y.name,V,e.isIdentifier),E(y.typeParameters,V,e.isTypeParameterDeclaration),Y(y.parameters,V,Z,E),L(y.type,V,e.isTypeNode),A(y.body,V,Z,L));case 212:return e.Debug.type(y),k.updateArrowFunction(y,E(y.modifiers,V,e.isModifier),E(y.typeParameters,V,e.isTypeParameterDeclaration),Y(y.parameters,V,Z,E),L(y.type,V,e.isTypeNode),L(y.equalsGreaterThanToken,H,e.isEqualsGreaterThanToken),A(y.body,V,Z,L));case 213:return e.Debug.type(y),k.updateDeleteExpression(y,L(y.expression,V,e.isExpression));case 214:return e.Debug.type(y),k.updateTypeOfExpression(y,L(y.expression,V,e.isExpression));case 215:return e.Debug.type(y),k.updateVoidExpression(y,L(y.expression,V,e.isExpression));case 216:return e.Debug.type(y),k.updateAwaitExpression(y,L(y.expression,V,e.isExpression));case 217:return e.Debug.type(y),k.updatePrefixUnaryExpression(y,L(y.operand,V,e.isExpression));case 218:return e.Debug.type(y),k.updatePostfixUnaryExpression(y,L(y.operand,V,e.isExpression));case 219:return e.Debug.type(y),k.updateBinaryExpression(y,L(y.left,V,e.isExpression),L(y.operatorToken,H,e.isBinaryOperatorToken),L(y.right,V,e.isExpression));case 220:return e.Debug.type(y),k.updateConditionalExpression(y,L(y.condition,V,e.isExpression),L(y.questionToken,H,e.isQuestionToken),L(y.whenTrue,V,e.isExpression),L(y.colonToken,H,e.isColonToken),L(y.whenFalse,V,e.isExpression));case 221:return e.Debug.type(y),k.updateTemplateExpression(y,L(y.head,V,e.isTemplateHead),E(y.templateSpans,V,e.isTemplateSpan));case 222:return e.Debug.type(y),k.updateYieldExpression(y,L(y.asteriskToken,H,e.isAsteriskToken),L(y.expression,V,e.isExpression));case 223:return e.Debug.type(y),k.updateSpreadElement(y,L(y.expression,V,e.isExpression));case 224:return e.Debug.type(y),k.updateClassExpression(y,E(y.decorators,V,e.isDecorator),E(y.modifiers,V,e.isModifier),L(y.name,V,e.isIdentifier),E(y.typeParameters,V,e.isTypeParameterDeclaration),E(y.heritageClauses,V,e.isHeritageClause),E(y.members,V,e.isClassElement));case 226:return e.Debug.type(y),k.updateExpressionWithTypeArguments(y,L(y.expression,V,e.isExpression),E(y.typeArguments,V,e.isTypeNode));case 227:return e.Debug.type(y),k.updateAsExpression(y,L(y.expression,V,e.isExpression),L(y.type,V,e.isTypeNode));case 228:return y.flags&32?(e.Debug.type(y),k.updateNonNullChain(y,L(y.expression,V,e.isExpression))):(e.Debug.type(y),k.updateNonNullExpression(y,L(y.expression,V,e.isExpression)));case 229:return e.Debug.type(y),k.updateMetaProperty(y,L(y.name,V,e.isIdentifier));case 231:return e.Debug.type(y),k.updateTemplateSpan(y,L(y.expression,V,e.isExpression),L(y.literal,V,e.isTemplateMiddleOrTemplateTail));case 233:return e.Debug.type(y),k.updateBlock(y,E(y.statements,V,e.isStatement));case 235:return e.Debug.type(y),k.updateVariableStatement(y,E(y.modifiers,V,e.isModifier),L(y.declarationList,V,e.isVariableDeclarationList));case 236:return e.Debug.type(y),k.updateExpressionStatement(y,L(y.expression,V,e.isExpression));case 237:return e.Debug.type(y),k.updateIfStatement(y,L(y.expression,V,e.isExpression),L(y.thenStatement,V,e.isStatement,k.liftToBlock),L(y.elseStatement,V,e.isStatement,k.liftToBlock));case 238:return e.Debug.type(y),k.updateDoStatement(y,D(y.statement,V,Z),L(y.expression,V,e.isExpression));case 239:return e.Debug.type(y),k.updateWhileStatement(y,L(y.expression,V,e.isExpression),D(y.statement,V,Z));case 240:return e.Debug.type(y),k.updateForStatement(y,L(y.initializer,V,e.isForInitializer),L(y.condition,V,e.isExpression),L(y.incrementor,V,e.isExpression),D(y.statement,V,Z));case 241:return e.Debug.type(y),k.updateForInStatement(y,L(y.initializer,V,e.isForInitializer),L(y.expression,V,e.isExpression),D(y.statement,V,Z));case 242:return e.Debug.type(y),k.updateForOfStatement(y,L(y.awaitModifier,H,e.isAwaitKeyword),L(y.initializer,V,e.isForInitializer),L(y.expression,V,e.isExpression),D(y.statement,V,Z));case 243:return e.Debug.type(y),k.updateContinueStatement(y,L(y.label,V,e.isIdentifier));case 244:return e.Debug.type(y),k.updateBreakStatement(y,L(y.label,V,e.isIdentifier));case 245:return e.Debug.type(y),k.updateReturnStatement(y,L(y.expression,V,e.isExpression));case 246:return e.Debug.type(y),k.updateWithStatement(y,L(y.expression,V,e.isExpression),L(y.statement,V,e.isStatement,k.liftToBlock));case 247:return e.Debug.type(y),k.updateSwitchStatement(y,L(y.expression,V,e.isExpression),L(y.caseBlock,V,e.isCaseBlock));case 248:return e.Debug.type(y),k.updateLabeledStatement(y,L(y.label,V,e.isIdentifier),L(y.statement,V,e.isStatement,k.liftToBlock));case 249:return e.Debug.type(y),k.updateThrowStatement(y,L(y.expression,V,e.isExpression));case 250:return e.Debug.type(y),k.updateTryStatement(y,L(y.tryBlock,V,e.isBlock),L(y.catchClause,V,e.isCatchClause),L(y.finallyBlock,V,e.isBlock));case 252:return e.Debug.type(y),k.updateVariableDeclaration(y,L(y.name,V,e.isBindingName),L(y.exclamationToken,H,e.isExclamationToken),L(y.type,V,e.isTypeNode),L(y.initializer,V,e.isExpression));case 253:return e.Debug.type(y),k.updateVariableDeclarationList(y,E(y.declarations,V,e.isVariableDeclaration));case 254:return e.Debug.type(y),k.updateFunctionDeclaration(y,E(y.decorators,V,e.isDecorator),E(y.modifiers,V,e.isModifier),L(y.asteriskToken,H,e.isAsteriskToken),L(y.name,V,e.isIdentifier),E(y.typeParameters,V,e.isTypeParameterDeclaration),Y(y.parameters,V,Z,E),L(y.type,V,e.isTypeNode),A(y.body,V,Z,L));case 255:return e.Debug.type(y),k.updateClassDeclaration(y,E(y.decorators,V,e.isDecorator),E(y.modifiers,V,e.isModifier),L(y.name,V,e.isIdentifier),E(y.typeParameters,V,e.isTypeParameterDeclaration),E(y.heritageClauses,V,e.isHeritageClause),E(y.members,V,e.isClassElement));case 256:return e.Debug.type(y),k.updateInterfaceDeclaration(y,E(y.decorators,V,e.isDecorator),E(y.modifiers,V,e.isModifier),L(y.name,V,e.isIdentifier),E(y.typeParameters,V,e.isTypeParameterDeclaration),E(y.heritageClauses,V,e.isHeritageClause),E(y.members,V,e.isTypeElement));case 257:return e.Debug.type(y),k.updateTypeAliasDeclaration(y,E(y.decorators,V,e.isDecorator),E(y.modifiers,V,e.isModifier),L(y.name,V,e.isIdentifier),E(y.typeParameters,V,e.isTypeParameterDeclaration),L(y.type,V,e.isTypeNode));case 258:return e.Debug.type(y),k.updateEnumDeclaration(y,E(y.decorators,V,e.isDecorator),E(y.modifiers,V,e.isModifier),L(y.name,V,e.isIdentifier),E(y.members,V,e.isEnumMember));case 259:return e.Debug.type(y),k.updateModuleDeclaration(y,E(y.decorators,V,e.isDecorator),E(y.modifiers,V,e.isModifier),L(y.name,V,e.isModuleName),L(y.body,V,e.isModuleBody));case 260:return e.Debug.type(y),k.updateModuleBlock(y,E(y.statements,V,e.isStatement));case 261:return e.Debug.type(y),k.updateCaseBlock(y,E(y.clauses,V,e.isCaseOrDefaultClause));case 262:return e.Debug.type(y),k.updateNamespaceExportDeclaration(y,L(y.name,V,e.isIdentifier));case 263:return e.Debug.type(y),k.updateImportEqualsDeclaration(y,E(y.decorators,V,e.isDecorator),E(y.modifiers,V,e.isModifier),y.isTypeOnly,L(y.name,V,e.isIdentifier),L(y.moduleReference,V,e.isModuleReference));case 264:return e.Debug.type(y),k.updateImportDeclaration(y,E(y.decorators,V,e.isDecorator),E(y.modifiers,V,e.isModifier),L(y.importClause,V,e.isImportClause),L(y.moduleSpecifier,V,e.isExpression));case 265:return e.Debug.type(y),k.updateImportClause(y,y.isTypeOnly,L(y.name,V,e.isIdentifier),L(y.namedBindings,V,e.isNamedImportBindings));case 266:return e.Debug.type(y),k.updateNamespaceImport(y,L(y.name,V,e.isIdentifier));case 272:return e.Debug.type(y),k.updateNamespaceExport(y,L(y.name,V,e.isIdentifier));case 267:return e.Debug.type(y),k.updateNamedImports(y,E(y.elements,V,e.isImportSpecifier));case 268:return e.Debug.type(y),k.updateImportSpecifier(y,L(y.propertyName,V,e.isIdentifier),L(y.name,V,e.isIdentifier));case 269:return e.Debug.type(y),k.updateExportAssignment(y,E(y.decorators,V,e.isDecorator),E(y.modifiers,V,e.isModifier),L(y.expression,V,e.isExpression));case 270:return e.Debug.type(y),k.updateExportDeclaration(y,E(y.decorators,V,e.isDecorator),E(y.modifiers,V,e.isModifier),y.isTypeOnly,L(y.exportClause,V,e.isNamedExportBindings),L(y.moduleSpecifier,V,e.isExpression));case 271:return e.Debug.type(y),k.updateNamedExports(y,E(y.elements,V,e.isExportSpecifier));case 273:return e.Debug.type(y),k.updateExportSpecifier(y,L(y.propertyName,V,e.isIdentifier),L(y.name,V,e.isIdentifier));case 275:return e.Debug.type(y),k.updateExternalModuleReference(y,L(y.expression,V,e.isExpression));case 276:return e.Debug.type(y),k.updateJsxElement(y,L(y.openingElement,V,e.isJsxOpeningElement),E(y.children,V,e.isJsxChild),L(y.closingElement,V,e.isJsxClosingElement));case 277:return e.Debug.type(y),k.updateJsxSelfClosingElement(y,L(y.tagName,V,e.isJsxTagNameExpression),E(y.typeArguments,V,e.isTypeNode),L(y.attributes,V,e.isJsxAttributes));case 278:return e.Debug.type(y),k.updateJsxOpeningElement(y,L(y.tagName,V,e.isJsxTagNameExpression),E(y.typeArguments,V,e.isTypeNode),L(y.attributes,V,e.isJsxAttributes));case 279:return e.Debug.type(y),k.updateJsxClosingElement(y,L(y.tagName,V,e.isJsxTagNameExpression));case 280:return e.Debug.type(y),k.updateJsxFragment(y,L(y.openingFragment,V,e.isJsxOpeningFragment),E(y.children,V,e.isJsxChild),L(y.closingFragment,V,e.isJsxClosingFragment));case 283:return e.Debug.type(y),k.updateJsxAttribute(y,L(y.name,V,e.isIdentifier),L(y.initializer,V,e.isStringLiteralOrJsxExpression));case 284:return e.Debug.type(y),k.updateJsxAttributes(y,E(y.properties,V,e.isJsxAttributeLike));case 285:return e.Debug.type(y),k.updateJsxSpreadAttribute(y,L(y.expression,V,e.isExpression));case 286:return e.Debug.type(y),k.updateJsxExpression(y,L(y.expression,V,e.isExpression));case 287:return e.Debug.type(y),k.updateCaseClause(y,L(y.expression,V,e.isExpression),E(y.statements,V,e.isStatement));case 288:return e.Debug.type(y),k.updateDefaultClause(y,E(y.statements,V,e.isStatement));case 289:return e.Debug.type(y),k.updateHeritageClause(y,E(y.types,V,e.isExpressionWithTypeArguments));case 290:return e.Debug.type(y),k.updateCatchClause(y,L(y.variableDeclaration,V,e.isVariableDeclaration),L(y.block,V,e.isBlock));case 291:return e.Debug.type(y),k.updatePropertyAssignment(y,L(y.name,V,e.isPropertyName),L(y.initializer,V,e.isExpression));case 292:return e.Debug.type(y),k.updateShorthandPropertyAssignment(y,L(y.name,V,e.isIdentifier),L(y.objectAssignmentInitializer,V,e.isExpression));case 293:return e.Debug.type(y),k.updateSpreadAssignment(y,L(y.expression,V,e.isExpression));case 294:return e.Debug.type(y),k.updateEnumMember(y,L(y.name,V,e.isPropertyName),L(y.initializer,V,e.isExpression));case 300:return e.Debug.type(y),k.updateSourceFile(y,$(y.statements,V,Z));case 345:return e.Debug.type(y),k.updatePartiallyEmittedExpression(y,L(y.expression,V,e.isExpression));case 346:return e.Debug.type(y),k.updateCommaListExpression(y,E(y.elements,V,e.isExpression));default:return y}}}e.visitEachChild=de;function _e(y){return e.Debug.assert(y.length<=1,"Too many nodes written to output."),e.singleOrUndefined(y)}})(vn||(vn={}));var vn;(function(e){function o(b,ie,q,oe,se){var w=se.extendedDiagnostics?e.performance.createTimer("Source Map","beforeSourcemap","afterSourcemap"):e.performance.nullTimer,R=w.enter,ne=w.exit,U=[],C=[],d=new e.Map,G,g=[],p,f=[],T="",m=0,N=0,P=0,x=0,M=0,me=0,z=!1,K=0,I=0,Ae=0,Oe=0,te=0,Se=0,be=!1,Ce=!1,Be=!1;return{getSources:function(){return U},addSource:De,setSourceContent:en,addName:fe,addMapping:pe,appendSourceMap:we,toJSON:Ln,toString:function(){return JSON.stringify(Ln())}};function De(fn){R();var En=e.getRelativePathToDirectoryOrUrl(oe,fn,b.getCurrentDirectory(),b.getCanonicalFileName,!0),i=d.get(En);return i===void 0&&(i=C.length,C.push(En),U.push(fn),d.set(En,i)),ne(),i}function en(fn,En){if(R(),En!==null){for(G||(G=[]);G.lengthEn||Oe===En&&te>i)}function pe(fn,En,i,In,X,rn){e.Debug.assert(fn>=K,"generatedLine cannot backtrack"),e.Debug.assert(En>=0,"generatedCharacter cannot be negative"),e.Debug.assert(i===void 0||i>=0,"sourceIndex cannot be negative"),e.Debug.assert(In===void 0||In>=0,"sourceLine cannot be negative"),e.Debug.assert(X===void 0||X>=0,"sourceCharacter cannot be negative"),R(),(Ne(fn,En)||qe(i,In,X))&&(Re(),K=fn,I=En,Ce=!1,Be=!1,be=!0),i!==void 0&&In!==void 0&&X!==void 0&&(Ae=i,Oe=In,te=X,Ce=!0,rn!==void 0&&(Se=rn,Be=!0)),ne()}function we(fn,En,i,In,X,rn){e.Debug.assert(fn>=K,"generatedLine cannot backtrack"),e.Debug.assert(En>=0,"generatedCharacter cannot be negative"),R();for(var $n=[],Vn,le=A(i.mappings),Pe=le.next();!Pe.done;Pe=le.next()){var xe=Pe.value;if(rn&&(xe.generatedLine>rn.line||xe.generatedLine===rn.line&&xe.generatedCharacter>rn.character))break;if(!(X&&(xe.generatedLine=1024&&He()}function Re(){if(!(!be||!pn())){if(R(),m0&&(T+=String.fromCharCode.apply(void 0,f),f.length=0)}function Ln(){return Re(),He(),{version:3,file:ie,sourceRoot:q,sources:C,names:g,mappings:T,sourcesContent:G}}function Un(fn){fn<0?fn=(-fn<<1)+1:fn=fn<<1;do{var En=fn&31;fn=fn>>5,fn>0&&(En=En|32),Qe(_e(En))}while(fn>0)}}e.createSourceMapGenerator=o;var ue=/^\/\/[@#] source[M]appingURL=(.+)$/,$=/^\s*(\/\/[@#] .*)?$/;function Y(b,ie){return{getLineCount:function(){return ie.length},getLineText:function(q){return b.substring(ie[q],ie[q+1])}}}e.getLineInfo=Y;function W(b){for(var ie=b.getLineCount()-1;ie>=0;ie--){var q=b.getLineText(ie),oe=ue.exec(q);if(oe)return e.trimStringEnd(oe[1]);if(!q.match($))break}}e.tryGetSourceMappingURL=W;function re(b){return typeof b=="string"||b===null}function ye(b){return b!==null&&typeof b=="object"&&b.version===3&&typeof b.file=="string"&&typeof b.mappings=="string"&&e.isArray(b.sources)&&e.every(b.sources,e.isString)&&(b.sourceRoot===void 0||b.sourceRoot===null||typeof b.sourceRoot=="string")&&(b.sourcesContent===void 0||b.sourcesContent===null||e.isArray(b.sourcesContent)&&e.every(b.sourcesContent,re))&&(b.names===void 0||b.names===null||e.isArray(b.names)&&e.every(b.names,e.isString))}e.isRawSourceMap=ye;function O(b){try{var ie=JSON.parse(b);if(ye(ie))return ie}catch(q){}}e.tryParseRawSourceMap=O;function A(b){var ie=!1,q=0,oe=0,se=0,w=0,R=0,ne=0,U=0,C;return{get pos(){return q},get error(){return C},get state(){return d(!0,!0)},next:function(){for(;!ie&&q=b.length)return g("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;var M=y(b.charCodeAt(q));if(M===-1)return g("Invalid character in VLQ"),-1;N=(M&32)!==0,x=x|(M&31)<>1,x=-x):x=x>>1,x}}e.decodeMappings=A;function D(b,ie){return b===ie||b.generatedLine===ie.generatedLine&&b.generatedCharacter===ie.generatedCharacter&&b.sourceIndex===ie.sourceIndex&&b.sourceLine===ie.sourceLine&&b.sourceCharacter===ie.sourceCharacter&&b.nameIndex===ie.nameIndex}e.sameMapping=D;function de(b){return b.sourceIndex!==void 0&&b.sourceLine!==void 0&&b.sourceCharacter!==void 0}e.isSourceMapping=de;function _e(b){return b>=0&&b<26?65+b:b>=26&&b<52?97+b-26:b>=52&&b<62?48+b-52:b===62?43:b===63?47:e.Debug.fail(b+": not a base64 value")}function y(b){return b>=65&&b<=90?b-65:b>=97&&b<=122?b-97+26:b>=48&&b<=57?b-48+52:b===43?62:b===47?63:-1}function V(b){return b.sourceIndex!==void 0&&b.sourcePosition!==void 0}function Z(b,ie){return b.generatedPosition===ie.generatedPosition&&b.sourceIndex===ie.sourceIndex&&b.sourcePosition===ie.sourcePosition}function E(b,ie){return e.Debug.assert(b.sourceIndex===ie.sourceIndex),e.compareValues(b.sourcePosition,ie.sourcePosition)}function H(b,ie){return e.compareValues(b.generatedPosition,ie.generatedPosition)}function L(b){return b.sourcePosition}function ee(b){return b.generatedPosition}function k(b,ie,q){var oe=e.getDirectoryPath(q),se=ie.sourceRoot?e.getNormalizedAbsolutePath(ie.sourceRoot,oe):oe,w=e.getNormalizedAbsolutePath(ie.file,oe),R=b.getSourceFileLike(w),ne=ie.sources.map(function(P){return e.getNormalizedAbsolutePath(P,se)}),U=new e.Map(ne.map(function(P,x){return[b.getCanonicalFileName(P),x]})),C,d,G;return{getSourcePosition:N,getGeneratedPosition:m};function g(P){var x=R!==void 0?e.getPositionOfLineAndCharacter(R,P.generatedLine,P.generatedCharacter,!0):-1,M,me;if(de(P)){var z=b.getSourceFileLike(ne[P.sourceIndex]);M=ie.sources[P.sourceIndex],me=z!==void 0?e.getPositionOfLineAndCharacter(z,P.sourceLine,P.sourceCharacter,!0):-1}return{generatedPosition:x,source:M,sourceIndex:P.sourceIndex,sourcePosition:me,nameIndex:P.nameIndex}}function p(){if(C===void 0){var P=A(ie.mappings),x=e.arrayFrom(P,g);P.error!==void 0?(b.log&&b.log("Encountered error while decoding sourcemap: "+P.error),C=e.emptyArray):C=x}return C}function f(P){if(G===void 0){for(var x=[],M=0,me=p();M0&&se!==oe.elements.length||!!(oe.elements.length-se)&&e.isDefaultImport(q)}e.getImportNeedsImportStarHelper=re;function ye(q){return!re(q)&&(e.isDefaultImport(q)||!!q.importClause&&e.isNamedImports(q.importClause.namedBindings)&&ue(q.importClause.namedBindings))}e.getImportNeedsImportDefaultHelper=ye;function O(q,oe,se,w){for(var R=[],ne=e.createMultiMap(),U=[],C=new e.Map,d,G=!1,g,p=!1,f=!1,T=!1,m=0,N=oe.statements;m=64&&q<=78}e.isCompoundAssignment=y;function V(q){switch(q){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=V;function Z(q,oe,se,w){if(oe.body){var R=oe.body.statements,ne=q.copyPrologue(R,se,!1,w);if(ne===R.length)return ne;var U=e.findIndex(R,function(d){return e.isExpressionStatement(d)&&e.isSuperCall(d.expression)},ne);if(U>-1){for(var C=ne;C<=U;C++)se.push(e.visitNode(R[C],w,e.isStatement));return U+1}return ne}return 0}e.addPrologueDirectivesAndInitialSuperCall=Z;function E(q,oe,se){return e.filter(q.members,function(w){return ee(w,oe,se)})}e.getProperties=E;function H(q){return k(q)||e.isClassStaticBlockDeclaration(q)}function L(q){return e.filter(q.members,H)}e.getStaticPropertiesAndClassStaticBlock=L;function ee(q,oe,se){return e.isPropertyDeclaration(q)&&(!!q.initializer||!oe)&&e.hasStaticModifier(q)===se}function k(q){return e.isPropertyDeclaration(q)&&e.hasStaticModifier(q)}function b(q){return q.kind===165&&q.initializer!==void 0}e.isInitializedProperty=b;function ie(q){return!e.isStatic(q)&&e.isMethodOrAccessor(q)&&e.isPrivateIdentifier(q.name)}e.isNonStaticMethodOrAccessorWithPrivateName=ie})(vn||(vn={}));var vn;(function(e){var o;(function(b){b[b.All=0]="All",b[b.ObjectRest=1]="ObjectRest"})(o=e.FlattenLevel||(e.FlattenLevel={}));function ue(b,ie,q,oe,se,w){var R=b,ne;if(e.isDestructuringAssignment(b))for(ne=b.right;e.isEmptyArrayLiteral(b.left)||e.isEmptyObjectLiteral(b.left);)if(e.isDestructuringAssignment(ne))R=b=ne,ne=b.right;else return e.visitNode(ne,ie,e.isExpression);var U,C={context:q,level:oe,downlevelIteration:!!q.getCompilerOptions().downlevelIteration,hoistTempVariables:!0,emitExpression:d,emitBindingOrAssignment:G,createArrayBindingOrAssignmentPattern:function(g){return E(q.factory,g)},createObjectBindingOrAssignmentPattern:function(g){return L(q.factory,g)},createArrayBindingOrAssignmentElement:k,visitor:ie};if(ne&&(ne=e.visitNode(ne,ie,e.isExpression),e.isIdentifier(ne)&&$(b,ne.escapedText)||W(b)?ne=V(C,ne,!1,R):se?ne=V(C,ne,!0,R):e.nodeIsSynthesized(b)&&(R=ne)),O(C,b,ne,R,e.isDestructuringAssignment(b)),ne&&se){if(!e.some(U))return ne;U.push(ne)}return q.factory.inlineExpressions(U)||q.factory.createOmittedExpression();function d(g){U=e.append(U,g)}function G(g,p,f,T){e.Debug.assertNode(g,w?e.isIdentifier:e.isExpression);var m=w?w(g,p,f):e.setTextRange(q.factory.createAssignment(e.visitNode(g,ie,e.isExpression),p),f);m.original=T,d(m)}}e.flattenDestructuringAssignment=ue;function $(b,ie){var q=e.getTargetOfBindingOrAssignmentElement(b);return e.isBindingOrAssignmentPattern(q)?Y(q,ie):e.isIdentifier(q)?q.escapedText===ie:!1}function Y(b,ie){for(var q=e.getElementsOfBindingOrAssignmentPattern(b),oe=0,se=q;oe=1&&!(G.transformFlags&49152)&&!(e.getTargetOfBindingOrAssignmentElement(G).transformFlags&49152)&&!e.isComputedPropertyName(g))U=e.append(U,e.visitNode(G,b.visitor));else{U&&(b.emitBindingOrAssignment(b.createObjectBindingOrAssignmentPattern(U),oe,se,q),U=void 0);var p=y(b,oe,g);e.isComputedPropertyName(g)&&(C=e.append(C,p.argumentExpression)),O(b,G,p,G)}}}U&&b.emitBindingOrAssignment(b.createObjectBindingOrAssignmentPattern(U),oe,se,q)}function D(b,ie,q,oe,se){var w=e.getElementsOfBindingOrAssignmentPattern(q),R=w.length;if(b.level<1&&b.downlevelIteration)oe=V(b,e.setTextRange(b.context.getEmitHelperFactory().createReadHelper(oe,R>0&&e.getRestIndicatorOfBindingOrAssignmentElement(w[R-1])?void 0:R),se),!1,se);else if(R!==1&&(b.level<1||R===0)||e.every(w,e.isOmittedExpression)){var ne=!e.isDeclarationBindingElement(ie)||R!==0;oe=V(b,oe,ne,se)}for(var U,C,d=0;d=1)if(G.transformFlags&32768||b.hasTransformedPriorElement&&!de(G)){b.hasTransformedPriorElement=!0;var g=b.context.factory.createTempVariable(void 0);b.hoistTempVariables&&b.context.hoistVariableDeclaration(g),C=e.append(C,[g,G]),U=e.append(U,b.createArrayBindingOrAssignmentElement(g))}else U=e.append(U,G);else{if(e.isOmittedExpression(G))continue;if(e.getRestIndicatorOfBindingOrAssignmentElement(G)){if(d===R-1){var p=b.context.factory.createArraySliceCall(oe,d);O(b,G,p,G)}}else{var p=b.context.factory.createElementAccessExpression(oe,d);O(b,G,p,G)}}}if(U&&b.emitBindingOrAssignment(b.createArrayBindingOrAssignmentPattern(U),oe,se,q),C)for(var f=0,T=C;f=e.ModuleKind.ES2015)&&!e.isJsonSourceFile(Ve);return re.updateSourceFile(Ve,e.visitLexicalEnvironment(Ve.statements,T,W,0,ce))}function Ae(Ve,ce){var dn=0;e.some(ce)&&(dn|=1);var j=e.getEffectiveBaseTypeNode(Ve);return j&&e.skipOuterExpressions(j.expression).kind!==104&&(dn|=64),e.classOrConstructorParameterIsDecorated(Ve)&&(dn|=2),e.childIsDecorated(Ve)&&(dn|=4),di(Ve)?dn|=8:bi(Ve)?dn|=32:uo(Ve)&&(dn|=16),Z<=1&&dn&7&&(dn|=128),dn}function Oe(Ve){return!!(Ve.transformFlags&4096)}function te(Ve){return e.some(Ve.decorators)||e.some(Ve.typeParameters)||e.some(Ve.heritageClauses,Oe)||e.some(Ve.members,Oe)}function Se(Ve){if(!te(Ve)&&!(k&&e.hasSyntacticModifier(Ve,1)))return e.visitEachChild(Ve,p,W);var ce=e.getProperties(Ve,!0,!0),dn=Ae(Ve,ce);dn&128&&W.startLexicalEnvironment();var j=Ve.name||(dn&5?re.getGeneratedNameForNode(Ve):void 0),Ie=dn&2?Ce(Ve,j):be(Ve,j,dn),We=[Ie];if(Un(We,Ve,!1),Un(We,Ve,!0),i(We,Ve),dn&128){var sn=e.createTokenRange(e.skipTrivia(ee.text,Ve.members.end),19),Hn=re.getInternalName(Ve),vr=re.createPartiallyEmittedExpression(Hn);e.setTextRangeEnd(vr,sn.end),e.setEmitFlags(vr,1536);var Sr=re.createReturnStatement(vr);e.setTextRangePos(Sr,sn.pos),e.setEmitFlags(Sr,1920),We.push(Sr),e.insertStatementsAfterStandardPrologue(We,W.endLexicalEnvironment());var ot=re.createImmediatelyInvokedArrowFunction(We);e.setEmitFlags(ot,33554432);var Et=re.createVariableStatement(void 0,re.createVariableDeclarationList([re.createVariableDeclaration(re.getLocalName(Ve,!1,!1),void 0,void 0,ot)]));e.setOriginalNode(Et,Ve),e.setCommentRange(Et,Ve),e.setSourceMapRange(Et,e.moveRangePastDecorators(Ve)),e.startOnNewLine(Et),We=[Et]}return dn&8?Go(We,Ve):(dn&128||dn&2)&&(dn&32?We.push(re.createExportDefault(re.getLocalName(Ve,!1,!0))):dn&16&&We.push(re.createExternalModuleExport(re.getLocalName(Ve,!1,!0)))),We.length>1&&(We.push(re.createEndOfDeclarationMarker(Ve)),e.setEmitFlags(Ie,e.getEmitFlags(Ie)|4194304)),e.singleOrMany(We)}function be(Ve,ce,dn){var j=dn&128?void 0:e.visitNodes(Ve.modifiers,z,e.isModifier),Ie=re.createClassDeclaration(void 0,j,ce,void 0,e.visitNodes(Ve.heritageClauses,p,e.isHeritageClause),De(Ve)),We=e.getEmitFlags(Ve);return dn&1&&(We|=32),e.setTextRange(Ie,Ve),e.setOriginalNode(Ie,Ve),e.setEmitFlags(Ie,We),Ie}function Ce(Ve,ce){var dn=e.moveRangePastDecorators(Ve),j=as(Ve),Ie=Z<=2?re.getInternalName(Ve,!1,!0):re.getLocalName(Ve,!1,!0),We=e.visitNodes(Ve.heritageClauses,p,e.isHeritageClause),sn=De(Ve),Hn=re.createClassExpression(void 0,void 0,ce,void 0,We,sn);e.setOriginalNode(Hn,Ve),e.setTextRange(Hn,dn);var vr=re.createVariableStatement(void 0,re.createVariableDeclarationList([re.createVariableDeclaration(Ie,void 0,void 0,j?re.createAssignment(j,Hn):Hn)],1));return e.setOriginalNode(vr,Ve),e.setTextRange(vr,dn),e.setCommentRange(vr,Ve),vr}function Be(Ve){if(!te(Ve))return e.visitEachChild(Ve,p,W);var ce=re.createClassExpression(void 0,void 0,Ve.name,void 0,e.visitNodes(Ve.heritageClauses,p,e.isHeritageClause),De(Ve));return e.setOriginalNode(ce,Ve),e.setTextRange(ce,Ve),ce}function De(Ve){var ce=[],dn=e.getFirstConstructorWithBody(Ve),j=dn&&e.filter(dn.parameters,function(Hn){return e.isParameterPropertyDeclaration(Hn,dn)});if(j)for(var Ie=0,We=j;Ie0&&e.parameterIsThisKeyword(dn[0]),Ie=j?1:0,We=j?dn.length-1:dn.length,sn=0;sn0?ce.kind===165?re.createVoidZero():re.createNull():void 0,Hn=ye().createDecorateHelper(j,Ie,We,sn);return e.setTextRange(Hn,e.moveRangePastDecorators(ce)),e.setEmitFlags(Hn,1536),Hn}}function i(Ve,ce){var dn=In(ce);dn&&Ve.push(e.setOriginalNode(re.createExpressionStatement(dn),ce))}function In(Ve){var ce=we(Ve),dn=Ln(Ve,Ve,ce);if(dn){var j=R&&R[e.getOriginalNodeId(Ve)],Ie=Z<=2?re.getInternalName(Ve,!1,!0):re.getLocalName(Ve,!1,!0),We=ye().createDecorateHelper(dn,Ie),sn=re.createAssignment(Ie,j?re.createAssignment(j,We):We);return e.setEmitFlags(sn,1536),e.setSourceMapRange(sn,e.moveRangePastDecorators(Ve)),sn}}function X(Ve){return e.visitNode(Ve.expression,p,e.isExpression)}function rn(Ve,ce){var dn;if(Ve){dn=[];for(var j=0,Ie=Ve;j=2,ie=L<=8||!ee,q=A.onSubstituteNode;A.onSubstituteNode=Ue;var oe=A.onEmitNode;A.onEmitNode=An;var se,w,R,ne,U=[],C=new e.Map,d,G,g;return e.chainBundle(A,p);function p(Fe){var Bn=A.getCompilerOptions();if(Fe.isDeclarationFile||ee&&Bn.target===99)return Fe;var J=e.visitEachChild(Fe,m,A);return e.addEmitHelpers(J,A.readEmitHelpers()),J}function f(Fe,Bn){if(Fe.transformFlags&8388608)switch(Fe.kind){case 224:case 255:return pn(Fe);case 165:return Ae(Fe);case 235:return me(Fe);case 80:return x(Fe);case 168:return En(Fe)}if(Fe.transformFlags&8388608||Fe.transformFlags&33554432&&b&&g&&d)switch(Fe.kind){case 217:case 218:return Ce(Fe,Bn);case 219:return pe(Fe,Bn);case 206:return fe(Fe);case 208:return Ne(Fe);case 204:return Se(Fe);case 205:return be(Fe);case 236:return De(Fe);case 240:return Be(Fe);case 254:case 211:case 169:case 167:case 170:case 171:{var J=g;g=void 0;var Cn=e.visitEachChild(Fe,m,A);return g=J,Cn}}return e.visitEachChild(Fe,m,A)}function T(Fe){return f(Fe,!0)}function m(Fe){return f(Fe,!1)}function N(Fe){switch(Fe.kind){case 289:return e.visitEachChild(Fe,N,A);case 226:return Ln(Fe)}return m(Fe)}function P(Fe){switch(Fe.kind){case 203:case 202:return cr(Fe);default:return m(Fe)}}function x(Fe){return k?e.setOriginalNode(D.createIdentifier(""),Fe):Fe}function M(Fe){switch(Fe.kind){case 169:return;case 170:case 171:case 167:return K(Fe);case 165:return Ae(Fe);case 160:return z(Fe);case 232:return Fe;default:return m(Fe)}}function me(Fe){var Bn=ne;ne=[];var J=e.visitEachChild(Fe,m,A),Cn=e.some(ne)?Vr([J],ne,!0):J;return ne=Bn,Cn}function z(Fe){var Bn=e.visitEachChild(Fe,m,A);if(e.some(R)){var J=R;J.push(Bn.expression),R=[],Bn=D.updateComputedPropertyName(Bn,D.inlineExpressions(J))}return Bn}function K(Fe){if(e.Debug.assert(!e.some(Fe.decorators)),!k||!e.isPrivateIdentifier(Fe.name))return e.visitEachChild(Fe,M,A);var Bn=Mn(Fe.name);if(e.Debug.assert(Bn,"Undeclared private name for property declaration."),!Bn.isValid)return Fe;var J=I(Fe);J&&Ke().push(D.createAssignment(J,D.createFunctionExpression(e.filter(Fe.modifiers,function(Cn){return!e.isStaticModifier(Cn)}),Fe.asteriskToken,J,void 0,e.visitParameterList(Fe.parameters,M,A),void 0,e.visitFunctionBody(Fe.body,M,A))))}function I(Fe){e.Debug.assert(e.isPrivateIdentifier(Fe.name));var Bn=Mn(Fe.name);if(e.Debug.assert(Bn,"Undeclared private name for property declaration."),Bn.kind==="m")return Bn.methodName;if(Bn.kind==="a"){if(e.isGetAccessor(Fe))return Bn.getterName;if(e.isSetAccessor(Fe))return Bn.setterName}}function Ae(Fe){if(e.Debug.assert(!e.some(Fe.decorators)),e.isPrivateIdentifier(Fe.name)){if(!k)return D.updatePropertyDeclaration(Fe,void 0,e.visitNodes(Fe.modifiers,m,e.isModifier),Fe.name,void 0,void 0,void 0);var Bn=Mn(Fe.name);if(e.Debug.assert(Bn,"Undeclared private name for property declaration."),!Bn.isValid)return Fe}var J=On(Fe.name,!!Fe.initializer||ee);J&&!e.isSimpleInlineableExpression(J)&&Ke().push(J)}function Oe(Fe,Bn){return te(Fe,e.visitNode(Bn,m,e.isExpression))}function te(Fe,Bn){switch(e.setCommentRange(Bn,e.moveRangePos(Bn,-1)),Fe.kind){case"a":return A.getEmitHelperFactory().createClassPrivateFieldGetHelper(Bn,Fe.brandCheckIdentifier,Fe.kind,Fe.getterName);case"m":return A.getEmitHelperFactory().createClassPrivateFieldGetHelper(Bn,Fe.brandCheckIdentifier,Fe.kind,Fe.methodName);case"f":return A.getEmitHelperFactory().createClassPrivateFieldGetHelper(Bn,Fe.brandCheckIdentifier,Fe.kind,Fe.variableName);default:e.Debug.assertNever(Fe,"Unknown private element type")}}function Se(Fe){if(k&&e.isPrivateIdentifier(Fe.name)){var Bn=Mn(Fe.name);if(Bn)return e.setTextRange(e.setOriginalNode(Oe(Bn,Fe.expression),Fe),Fe)}if(b&&e.isSuperProperty(Fe)&&e.isIdentifier(Fe.name)&&g&&d){var J=d.classConstructor,Cn=d.superClassReference,Gn=d.facts;if(Gn&1)return $e(Fe);if(J&&Cn){var cn=D.createReflectGetCall(Cn,D.createStringLiteralFromNode(Fe.name),J);return e.setOriginalNode(cn,Fe.expression),e.setTextRange(cn,Fe.expression),cn}}return e.visitEachChild(Fe,m,A)}function be(Fe){if(b&&e.isSuperProperty(Fe)&&g&&d){var Bn=d.classConstructor,J=d.superClassReference,Cn=d.facts;if(Cn&1)return $e(Fe);if(Bn&&J){var Gn=D.createReflectGetCall(J,e.visitNode(Fe.argumentExpression,m,e.isExpression),Bn);return e.setOriginalNode(Gn,Fe.expression),e.setTextRange(Gn,Fe.expression),Gn}}return e.visitEachChild(Fe,m,A)}function Ce(Fe,Bn){if(Fe.operator===45||Fe.operator===46){if(k&&e.isPrivateIdentifierPropertyAccessExpression(Fe.operand)){var J=void 0;if(J=Mn(Fe.operand.name)){var Cn=e.visitNode(Fe.operand.expression,m,e.isExpression),Gn=en(Cn),cn=Gn.readExpression,Rn=Gn.initializeExpression,Ye=Oe(J,cn),xn=e.isPrefixUnaryExpression(Fe)||Bn?void 0:D.createTempVariable(de);return Ye=e.expandPreOrPostfixIncrementOrDecrementExpression(D,Fe,Ye,de,xn),Ye=we(J,Rn||cn,Ye,63),e.setOriginalNode(Ye,Fe),e.setTextRange(Ye,Fe),xn&&(Ye=D.createComma(Ye,xn),e.setTextRange(Ye,Fe)),Ye}}else if(b&&e.isSuperProperty(Fe.operand)&&g&&d){var an=d.classConstructor,zn=d.superClassReference,ir=d.facts;if(ir&1){var gr=$e(Fe.operand);return e.isPrefixUnaryExpression(Fe)?D.updatePrefixUnaryExpression(Fe,gr):D.updatePostfixUnaryExpression(Fe,gr)}if(an&&zn){var Dr=void 0,qr=void 0;if(e.isPropertyAccessExpression(Fe.operand)?e.isIdentifier(Fe.operand.name)&&(qr=Dr=D.createStringLiteralFromNode(Fe.operand.name)):e.isSimpleInlineableExpression(Fe.operand.argumentExpression)?qr=Dr=Fe.operand.argumentExpression:(qr=D.createTempVariable(de),Dr=D.createAssignment(qr,e.visitNode(Fe.operand.argumentExpression,m,e.isExpression))),Dr&&qr){var Ye=D.createReflectGetCall(zn,qr,an);e.setTextRange(Ye,Fe.operand);var xn=Bn?void 0:D.createTempVariable(de);return Ye=e.expandPreOrPostfixIncrementOrDecrementExpression(D,Fe,Ye,de,xn),Ye=D.createReflectSetCall(zn,Dr,Ye,an),e.setOriginalNode(Ye,Fe),e.setTextRange(Ye,Fe),xn&&(Ye=D.createComma(Ye,xn),e.setTextRange(Ye,Fe)),Ye}}}}return e.visitEachChild(Fe,m,A)}function Be(Fe){return D.updateForStatement(Fe,e.visitNode(Fe.initializer,T,e.isForInitializer),e.visitNode(Fe.condition,m,e.isExpression),e.visitNode(Fe.incrementor,T,e.isExpression),e.visitIterationBody(Fe.statement,m,A))}function De(Fe){return D.updateExpressionStatement(Fe,e.visitNode(Fe.expression,T,e.isExpression))}function en(Fe){var Bn=e.nodeIsSynthesized(Fe)?Fe:D.cloneNode(Fe);if(e.isSimpleInlineableExpression(Fe))return{readExpression:Bn,initializeExpression:void 0};var J=D.createTempVariable(de),Cn=D.createAssignment(J,Bn);return{readExpression:J,initializeExpression:Cn}}function fe(Fe){if(k&&e.isPrivateIdentifierPropertyAccessExpression(Fe.expression)){var Bn=D.createCallBinding(Fe.expression,de,L),J=Bn.thisArg,Cn=Bn.target;return e.isCallChain(Fe)?D.updateCallChain(Fe,D.createPropertyAccessChain(e.visitNode(Cn,m),Fe.questionDotToken,"call"),void 0,void 0,Vr([e.visitNode(J,m,e.isExpression)],e.visitNodes(Fe.arguments,m,e.isExpression),!0)):D.updateCallExpression(Fe,D.createPropertyAccessExpression(e.visitNode(Cn,m),"call"),void 0,Vr([e.visitNode(J,m,e.isExpression)],e.visitNodes(Fe.arguments,m,e.isExpression),!0))}if(b&&e.isSuperProperty(Fe.expression)&&g&&(d!=null&&d.classConstructor)){var Gn=D.createFunctionCallCall(e.visitNode(Fe.expression,m,e.isExpression),d.classConstructor,e.visitNodes(Fe.arguments,m,e.isExpression));return e.setOriginalNode(Gn,Fe),e.setTextRange(Gn,Fe),Gn}return e.visitEachChild(Fe,m,A)}function Ne(Fe){if(k&&e.isPrivateIdentifierPropertyAccessExpression(Fe.tag)){var Bn=D.createCallBinding(Fe.tag,de,L),J=Bn.thisArg,Cn=Bn.target;return D.updateTaggedTemplateExpression(Fe,D.createCallExpression(D.createPropertyAccessExpression(e.visitNode(Cn,m),"bind"),void 0,[e.visitNode(J,m,e.isExpression)]),void 0,e.visitNode(Fe.template,m,e.isTemplateLiteral))}if(b&&e.isSuperProperty(Fe.tag)&&g&&(d!=null&&d.classConstructor)){var Gn=D.createFunctionBindCall(e.visitNode(Fe.tag,m,e.isExpression),d.classConstructor,[]);return e.setOriginalNode(Gn,Fe),e.setTextRange(Gn,Fe),D.updateTaggedTemplateExpression(Fe,Gn,void 0,e.visitNode(Fe.template,m,e.isTemplateLiteral))}return e.visitEachChild(Fe,m,A)}function qe(Fe){if(k){d&&C.set(e.getOriginalNodeId(Fe),d),y();var Bn=g;g=Fe;var J=e.visitNodes(Fe.body.statements,m,e.isStatement);J=D.mergeLexicalEnvironment(J,_e()),g=Bn;var Cn=D.createImmediatelyInvokedArrowFunction(J);return e.setOriginalNode(Cn,Fe),e.setTextRange(Cn,Fe),e.addEmitFlags(Cn,2),Cn}}function pe(Fe,Bn){if(e.isDestructuringAssignment(Fe)){var J=R;R=void 0,Fe=D.updateBinaryExpression(Fe,e.visitNode(Fe.left,P),Fe.operatorToken,e.visitNode(Fe.right,m));var Cn=e.some(R)?D.inlineExpressions(e.compact(Vr(Vr([],R,!0),[Fe],!1))):Fe;return R=J,Cn}if(e.isAssignmentExpression(Fe)){if(k&&e.isPrivateIdentifierPropertyAccessExpression(Fe.left)){var Gn=Mn(Fe.left.name);if(Gn)return e.setTextRange(e.setOriginalNode(we(Gn,Fe.left.expression,Fe.right,Fe.operatorToken.kind),Fe),Fe)}else if(b&&e.isSuperProperty(Fe.left)&&g&&d){var cn=d.classConstructor,Rn=d.superClassReference,Ye=d.facts;if(Ye&1)return D.updateBinaryExpression(Fe,$e(Fe.left),Fe.operatorToken,e.visitNode(Fe.right,m,e.isExpression));if(cn&&Rn){var xn=e.isElementAccessExpression(Fe.left)?e.visitNode(Fe.left.argumentExpression,m,e.isExpression):e.isIdentifier(Fe.left.name)?D.createStringLiteralFromNode(Fe.left.name):void 0;if(xn){var an=e.visitNode(Fe.right,m,e.isExpression);if(e.isCompoundAssignment(Fe.operatorToken.kind)){var zn=xn;e.isSimpleInlineableExpression(xn)||(zn=D.createTempVariable(de),xn=D.createAssignment(zn,xn));var ir=D.createReflectGetCall(Rn,zn,cn);e.setOriginalNode(ir,Fe.left),e.setTextRange(ir,Fe.left),an=D.createBinaryExpression(ir,e.getNonAssignmentOperatorForCompoundAssignment(Fe.operatorToken.kind),an),e.setTextRange(an,Fe)}var gr=Bn?void 0:D.createTempVariable(de);return gr&&(an=D.createAssignment(gr,an),e.setTextRange(gr,Fe)),an=D.createReflectSetCall(Rn,xn,an,cn),e.setOriginalNode(an,Fe),e.setTextRange(an,Fe),gr&&(an=D.createComma(an,gr),e.setTextRange(an,Fe)),an}}}}return e.visitEachChild(Fe,m,A)}function we(Fe,Bn,J,Cn){if(Bn=e.visitNode(Bn,m,e.isExpression),J=e.visitNode(J,m,e.isExpression),e.isCompoundAssignment(Cn)){var Gn=en(Bn),cn=Gn.readExpression,Rn=Gn.initializeExpression;Bn=Rn||cn,J=D.createBinaryExpression(te(Fe,cn),e.getNonAssignmentOperatorForCompoundAssignment(Cn),J)}switch(e.setCommentRange(Bn,e.moveRangePos(Bn,-1)),Fe.kind){case"a":return A.getEmitHelperFactory().createClassPrivateFieldSetHelper(Bn,Fe.brandCheckIdentifier,J,Fe.kind,Fe.setterName);case"m":return A.getEmitHelperFactory().createClassPrivateFieldSetHelper(Bn,Fe.brandCheckIdentifier,J,Fe.kind,void 0);case"f":return A.getEmitHelperFactory().createClassPrivateFieldSetHelper(Bn,Fe.brandCheckIdentifier,J,Fe.kind,Fe.variableName);default:e.Debug.assertNever(Fe,"Unknown private element type")}}function pn(Fe){if(!e.forEach(Fe.members,Qe))return e.visitEachChild(Fe,m,A);var Bn=R;if(R=void 0,ur(),k){var J=e.getNameOfDeclaration(Fe);J&&e.isIdentifier(J)&&(Qr().className=e.idText(J));var Cn=Re(Fe);e.some(Cn)&&(Qr().weakSetName=Zn("instances",Cn[0].name))}var Gn=e.isClassDeclaration(Fe)?Un(Fe):fn(Fe);return hr(),R=Bn,Gn}function Qe(Fe){return e.isPropertyDeclaration(Fe)||e.isClassStaticBlockDeclaration(Fe)||k&&Fe.name&&e.isPrivateIdentifier(Fe.name)}function Re(Fe){return e.filter(Fe.members,e.isNonStaticMethodOrAccessorWithPrivateName)}function He(Fe){var Bn=0,J=e.getOriginalNode(Fe);e.isClassDeclaration(J)&&e.classOrConstructorParameterIsDecorated(J)&&(Bn|=1);for(var Cn=0,Gn=Fe.members;CnRn&&(ee||e.addRange(Ye,e.visitNodes(Bn.body.statements,m,e.isStatement,Rn,xn-Rn)),Rn=xn)}var an=D.createThis();return Le(Ye,Gn,an),Vn(Ye,Cn,an),Bn&&e.addRange(Ye,e.visitNodes(Bn.body.statements,m,e.isStatement,Rn)),Ye=D.mergeLexicalEnvironment(Ye,_e()),e.setTextRange(D.createBlock(e.setTextRange(D.createNodeArray(Ye),Bn?Bn.body.statements:Fe.members),!0),Bn?Bn.body:void 0)}function Vn(Fe,Bn,J){for(var Cn=0,Gn=Bn;Cn=0;--Cn){var Gn=U[Cn];if(Gn){var J=(Bn=Gn.privateIdentifierEnvironment)===null||Bn===void 0?void 0:Bn.identifiers.get(Fe.escapedText);if(J)return J}}}function ar(Fe){var Bn=D.getGeneratedNameForNode(Fe),J=Mn(Fe.name);if(!J)return e.visitEachChild(Fe,m,A);var Cn=Fe.expression;return(e.isThisProperty(Fe)||e.isSuperProperty(Fe)||!e.isSimpleCopiableExpression(Fe.expression))&&(Cn=D.createTempVariable(de,!0),Ke().push(D.createBinaryExpression(Cn,63,e.visitNode(Fe.expression,m,e.isExpression)))),D.createAssignmentTargetWrapper(Bn,we(J,Cn,Bn,63))}function Xn(Fe){var Bn=e.getTargetOfBindingOrAssignmentElement(Fe);if(Bn){var J=void 0;if(e.isPrivateIdentifierPropertyAccessExpression(Bn))J=ar(Bn);else if(b&&e.isSuperProperty(Bn)&&g&&d){var Cn=d.classConstructor,Gn=d.superClassReference,cn=d.facts;if(cn&1)J=$e(Bn);else if(Cn&&Gn){var Rn=e.isElementAccessExpression(Bn)?e.visitNode(Bn.argumentExpression,m,e.isExpression):e.isIdentifier(Bn.name)?D.createStringLiteralFromNode(Bn.name):void 0;if(Rn){var Ye=D.createTempVariable(void 0);J=D.createAssignmentTargetWrapper(Ye,D.createReflectSetCall(Gn,Rn,Ye,Cn))}}}if(J)return e.isAssignmentExpression(Fe)?D.updateBinaryExpression(Fe,J,Fe.operatorToken,e.visitNode(Fe.right,m,e.isExpression)):e.isSpreadElement(Fe)?D.updateSpreadElement(Fe,J):J}return e.visitNode(Fe,P)}function yr(Fe){if(e.isObjectBindingOrAssignmentElement(Fe)&&!e.isShorthandPropertyAssignment(Fe)){var Bn=e.getTargetOfBindingOrAssignmentElement(Fe),J=void 0;if(Bn){if(e.isPrivateIdentifierPropertyAccessExpression(Bn))J=ar(Bn);else if(b&&e.isSuperProperty(Bn)&&g&&d){var Cn=d.classConstructor,Gn=d.superClassReference,cn=d.facts;if(cn&1)J=$e(Bn);else if(Cn&&Gn){var Rn=e.isElementAccessExpression(Bn)?e.visitNode(Bn.argumentExpression,m,e.isExpression):e.isIdentifier(Bn.name)?D.createStringLiteralFromNode(Bn.name):void 0;if(Rn){var Ye=D.createTempVariable(void 0);J=D.createAssignmentTargetWrapper(Ye,D.createReflectSetCall(Gn,Rn,Ye,Cn))}}}}if(e.isPropertyAssignment(Fe)){var xn=e.getInitializerOfBindingOrAssignmentElement(Fe);return D.updatePropertyAssignment(Fe,e.visitNode(Fe.name,m,e.isPropertyName),J?xn?D.createAssignment(J,e.visitNode(xn,m)):J:e.visitNode(Fe.initializer,P,e.isExpression))}if(e.isSpreadAssignment(Fe))return D.updateSpreadAssignment(Fe,J||e.visitNode(Fe.expression,P,e.isExpression));e.Debug.assert(J===void 0,"Should not have generated a wrapped target")}return e.visitNode(Fe,m)}function cr(Fe){return e.isArrayLiteralExpression(Fe)?D.updateArrayLiteralExpression(Fe,e.visitNodes(Fe.elements,Xn,e.isExpression)):D.updateObjectLiteralExpression(Fe,e.visitNodes(Fe.properties,yr,e.isObjectLiteralElementLike))}}e.transformClassFields=Y;function W(A,D){return e.factory.createAssignment(A,e.factory.createObjectLiteralExpression([e.factory.createPropertyAssignment("value",D||e.factory.createVoidZero())]))}function re(A,D,de){return e.factory.createCallExpression(e.factory.createPropertyAccessExpression(de,"set"),void 0,[A,D||e.factory.createVoidZero()])}function ye(A,D){return e.factory.createCallExpression(e.factory.createPropertyAccessExpression(D,"add"),void 0,[A])}function O(A){return A.escapedText==="#constructor"}})(vn||(vn={}));var vn;(function(e){var o;(function(W){W[W.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper"})(o||(o={}));var ue;(function(W){W[W.NonTopLevel=1]="NonTopLevel",W[W.HasLexicalThis=2]="HasLexicalThis"})(ue||(ue={}));function $(W){var re=W.factory,ye=W.getEmitHelperFactory,O=W.resumeLexicalEnvironment,A=W.endLexicalEnvironment,D=W.hoistVariableDeclaration,de=W.getEmitResolver(),_e=W.getCompilerOptions(),y=e.getEmitScriptTarget(_e),V,Z=0,E,H,L,ee=[],k=0,b=W.onEmitNode,ie=W.onSubstituteNode;return W.onEmitNode=De,W.onSubstituteNode=en,e.chainBundle(W,q);function q(Qe){if(Qe.isDeclarationFile)return Qe;oe(1,!1),oe(2,!e.isEffectiveStrictModeSourceFile(Qe,_e));var Re=e.visitEachChild(Qe,C,W);return e.addEmitHelpers(Re,W.readEmitHelpers()),Re}function oe(Qe,Re){k=Re?k|Qe:k&~Qe}function se(Qe){return(k&Qe)!==0}function w(){return!se(1)}function R(){return se(2)}function ne(Qe,Re,He){var Ln=Qe&~k;if(Ln){oe(Ln,!0);var Un=Re(He);return oe(Ln,!1),Un}return Re(He)}function U(Qe){return e.visitEachChild(Qe,C,W)}function C(Qe){if(!(Qe.transformFlags&128))return Qe;switch(Qe.kind){case 130:return;case 216:return m(Qe);case 167:return ne(3,N,Qe);case 254:return ne(3,P,Qe);case 211:return ne(3,x,Qe);case 212:return ne(1,M,Qe);case 204:return H&&e.isPropertyAccessExpression(Qe)&&Qe.expression.kind===106&&H.add(Qe.name.escapedText),e.visitEachChild(Qe,C,W);case 205:return H&&Qe.expression.kind===106&&(L=!0),e.visitEachChild(Qe,C,W);case 170:case 171:case 169:case 255:case 224:return ne(3,U,Qe);default:return e.visitEachChild(Qe,C,W)}}function d(Qe){if(e.isNodeWithPossibleHoistedDeclaration(Qe))switch(Qe.kind){case 235:return g(Qe);case 240:return T(Qe);case 241:return p(Qe);case 242:return f(Qe);case 290:return G(Qe);case 233:case 247:case 261:case 287:case 288:case 250:case 238:case 239:case 237:case 246:case 248:return e.visitEachChild(Qe,d,W);default:return e.Debug.assertNever(Qe,"Unhandled node.")}return C(Qe)}function G(Qe){var Re=new e.Set;me(Qe.variableDeclaration,Re);var He;if(Re.forEach(function(fn,En){E.has(En)&&(He||(He=new e.Set(E)),He.delete(En))}),He){var Ln=E;E=He;var Un=e.visitEachChild(Qe,d,W);return E=Ln,Un}else return e.visitEachChild(Qe,d,W)}function g(Qe){if(z(Qe.declarationList)){var Re=K(Qe.declarationList,!1);return Re?re.createExpressionStatement(Re):void 0}return e.visitEachChild(Qe,C,W)}function p(Qe){return re.updateForInStatement(Qe,z(Qe.initializer)?K(Qe.initializer,!0):e.visitNode(Qe.initializer,C,e.isForInitializer),e.visitNode(Qe.expression,C,e.isExpression),e.visitIterationBody(Qe.statement,d,W))}function f(Qe){return re.updateForOfStatement(Qe,e.visitNode(Qe.awaitModifier,C,e.isToken),z(Qe.initializer)?K(Qe.initializer,!0):e.visitNode(Qe.initializer,C,e.isForInitializer),e.visitNode(Qe.expression,C,e.isExpression),e.visitIterationBody(Qe.statement,d,W))}function T(Qe){var Re=Qe.initializer;return re.updateForStatement(Qe,z(Re)?K(Re,!1):e.visitNode(Qe.initializer,C,e.isForInitializer),e.visitNode(Qe.condition,C,e.isExpression),e.visitNode(Qe.incrementor,C,e.isExpression),e.visitIterationBody(Qe.statement,d,W))}function m(Qe){return w()?e.visitEachChild(Qe,C,W):e.setOriginalNode(e.setTextRange(re.createYieldExpression(void 0,e.visitNode(Qe.expression,C,e.isExpression)),Qe),Qe)}function N(Qe){return re.updateMethodDeclaration(Qe,void 0,e.visitNodes(Qe.modifiers,C,e.isModifier),Qe.asteriskToken,Qe.name,void 0,void 0,e.visitParameterList(Qe.parameters,C,W),void 0,e.getFunctionFlags(Qe)&2?Se(Qe):e.visitFunctionBody(Qe.body,C,W))}function P(Qe){return re.updateFunctionDeclaration(Qe,void 0,e.visitNodes(Qe.modifiers,C,e.isModifier),Qe.asteriskToken,Qe.name,void 0,e.visitParameterList(Qe.parameters,C,W),void 0,e.getFunctionFlags(Qe)&2?Se(Qe):e.visitFunctionBody(Qe.body,C,W))}function x(Qe){return re.updateFunctionExpression(Qe,e.visitNodes(Qe.modifiers,C,e.isModifier),Qe.asteriskToken,Qe.name,void 0,e.visitParameterList(Qe.parameters,C,W),void 0,e.getFunctionFlags(Qe)&2?Se(Qe):e.visitFunctionBody(Qe.body,C,W))}function M(Qe){return re.updateArrowFunction(Qe,e.visitNodes(Qe.modifiers,C,e.isModifier),void 0,e.visitParameterList(Qe.parameters,C,W),void 0,Qe.equalsGreaterThanToken,e.getFunctionFlags(Qe)&2?Se(Qe):e.visitFunctionBody(Qe.body,C,W))}function me(Qe,Re){var He=Qe.name;if(e.isIdentifier(He))Re.add(He.escapedText);else for(var Ln=0,Un=He.elements;Ln=2&&de.getNodeCheckFlags(Qe)&6144;if(xe&&(Be(),H.size)){var Ze=Y(re,de,Qe,H);ee[e.getNodeId(Ze)]=!0,e.insertStatementsAfterStandardPrologue(le,[Ze])}var hn=re.createBlock(le,!0);e.setTextRange(hn,Qe.body),xe&&L&&(de.getNodeCheckFlags(Qe)&4096?e.addEmitHelper(hn,e.advancedAsyncSuperHelper):de.getNodeCheckFlags(Qe)&2048&&e.addEmitHelper(hn,e.asyncSuperHelper)),Vn=hn}return E=En,Un||(H=rn,L=$n),Vn}function be(Qe,Re){return e.isBlock(Qe)?re.updateBlock(Qe,e.visitNodes(Qe.statements,d,e.isStatement,Re)):re.converters.convertToFunctionBlock(e.visitNode(Qe,d,e.isConciseBody))}function Ce(Qe){var Re=Qe&&e.getEntityNameFromTypeNode(Qe);if(Re&&e.isEntityName(Re)){var He=de.getTypeReferenceSerializationKind(Re);if(He===e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue||He===e.TypeReferenceSerializationKind.Unknown)return Re}}function Be(){V&1||(V|=1,W.enableSubstitution(206),W.enableSubstitution(204),W.enableSubstitution(205),W.enableEmitNotification(255),W.enableEmitNotification(167),W.enableEmitNotification(170),W.enableEmitNotification(171),W.enableEmitNotification(169),W.enableEmitNotification(235))}function De(Qe,Re,He){if(V&1&&we(Re)){var Ln=de.getNodeCheckFlags(Re)&6144;if(Ln!==Z){var Un=Z;Z=Ln,b(Qe,Re,He),Z=Un;return}}else if(V&&ee[e.getNodeId(Re)]){var Un=Z;Z=0,b(Qe,Re,He),Z=Un;return}b(Qe,Re,He)}function en(Qe,Re){return Re=ie(Qe,Re),Qe===1&&Z?fe(Re):Re}function fe(Qe){switch(Qe.kind){case 204:return Ne(Qe);case 205:return qe(Qe);case 206:return pe(Qe)}return Qe}function Ne(Qe){return Qe.expression.kind===106?e.setTextRange(re.createPropertyAccessExpression(re.createUniqueName("_super",48),Qe.name),Qe):Qe}function qe(Qe){return Qe.expression.kind===106?pn(Qe.argumentExpression,Qe):Qe}function pe(Qe){var Re=Qe.expression;if(e.isSuperProperty(Re)){var He=e.isPropertyAccessExpression(Re)?Ne(Re):qe(Re);return re.createCallExpression(re.createPropertyAccessExpression(He,"call"),void 0,Vr([re.createThis()],Qe.arguments,!0))}return Qe}function we(Qe){var Re=Qe.kind;return Re===255||Re===169||Re===167||Re===170||Re===171}function pn(Qe,Re){return Z&4096?e.setTextRange(re.createPropertyAccessExpression(re.createCallExpression(re.createUniqueName("_superIndex",48),void 0,[Qe]),"value"),Re):e.setTextRange(re.createCallExpression(re.createUniqueName("_superIndex",48),void 0,[Qe]),Re)}}e.transformES2017=$;function Y(W,re,ye,O){var A=(re.getNodeCheckFlags(ye)&4096)!==0,D=[];return O.forEach(function(de,_e){var y=e.unescapeLeadingUnderscores(_e),V=[];V.push(W.createPropertyAssignment("get",W.createArrowFunction(void 0,void 0,[],void 0,void 0,e.setEmitFlags(W.createPropertyAccessExpression(e.setEmitFlags(W.createSuper(),4),y),4)))),A&&V.push(W.createPropertyAssignment("set",W.createArrowFunction(void 0,void 0,[W.createParameterDeclaration(void 0,void 0,void 0,"v",void 0,void 0,void 0)],void 0,void 0,W.createAssignment(e.setEmitFlags(W.createPropertyAccessExpression(e.setEmitFlags(W.createSuper(),4),y),4),W.createIdentifier("v"))))),D.push(W.createPropertyAssignment(y,W.createObjectLiteralExpression(V)))}),W.createVariableStatement(void 0,W.createVariableDeclarationList([W.createVariableDeclaration(W.createUniqueName("_super",48),void 0,void 0,W.createCallExpression(W.createPropertyAccessExpression(W.createIdentifier("Object"),"create"),void 0,[W.createNull(),W.createObjectLiteralExpression(D,!0)]))],2))}e.createSuperAccessVariableStatement=Y})(vn||(vn={}));var vn;(function(e){var o;(function(Y){Y[Y.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper"})(o||(o={}));var ue;(function(Y){Y[Y.None=0]="None",Y[Y.HasLexicalThis=1]="HasLexicalThis",Y[Y.IterationContainer=2]="IterationContainer",Y[Y.AncestorFactsMask=3]="AncestorFactsMask",Y[Y.SourceFileIncludes=1]="SourceFileIncludes",Y[Y.SourceFileExcludes=2]="SourceFileExcludes",Y[Y.StrictModeSourceFileIncludes=0]="StrictModeSourceFileIncludes",Y[Y.ClassOrFunctionIncludes=1]="ClassOrFunctionIncludes",Y[Y.ClassOrFunctionExcludes=2]="ClassOrFunctionExcludes",Y[Y.ArrowFunctionIncludes=0]="ArrowFunctionIncludes",Y[Y.ArrowFunctionExcludes=2]="ArrowFunctionExcludes",Y[Y.IterationStatementIncludes=2]="IterationStatementIncludes",Y[Y.IterationStatementExcludes=0]="IterationStatementExcludes"})(ue||(ue={}));function $(Y){var W=Y.factory,re=Y.getEmitHelperFactory,ye=Y.resumeLexicalEnvironment,O=Y.endLexicalEnvironment,A=Y.hoistVariableDeclaration,D=Y.getEmitResolver(),de=Y.getCompilerOptions(),_e=e.getEmitScriptTarget(de),y=Y.onEmitNode;Y.onEmitNode=rn;var V=Y.onSubstituteNode;Y.onSubstituteNode=$n;var Z=!1,E,H,L=0,ee=0,k,b,ie,q,oe=[];return e.chainBundle(Y,U);function se(Le,$e){return ee!==(ee&~Le|$e)}function w(Le,$e){var An=ee;return ee=(ee&~Le|$e)&3,An}function R(Le){ee=Le}function ne(Le){b=e.append(b,W.createVariableDeclaration(Le))}function U(Le){if(Le.isDeclarationFile)return Le;k=Le;var $e=K(Le);return e.addEmitHelpers($e,Y.readEmitHelpers()),k=void 0,b=void 0,$e}function C(Le){return f(Le,!1)}function d(Le){return f(Le,!0)}function G(Le){if(Le.kind!==130)return Le}function g(Le,$e,An,Ue){if(se(An,Ue)){var gn=w(An,Ue),Wn=Le($e);return R(gn),Wn}return Le($e)}function p(Le){return e.visitEachChild(Le,C,Y)}function f(Le,$e){if(!(Le.transformFlags&64))return Le;switch(Le.kind){case 216:return T(Le);case 222:return m(Le);case 245:return N(Le);case 248:return P(Le);case 203:return M(Le);case 219:return Ae(Le,$e);case 346:return Oe(Le,$e);case 290:return te(Le);case 235:return Se(Le);case 252:return be(Le);case 238:case 239:case 241:return g(p,Le,0,2);case 242:return en(Le,void 0);case 240:return g(Be,Le,0,2);case 215:return De(Le);case 169:return g(pn,Le,2,1);case 167:return g(He,Le,2,1);case 170:return g(Qe,Le,2,1);case 171:return g(Re,Le,2,1);case 254:return g(Ln,Le,2,1);case 211:return g(fn,Le,2,1);case 212:return g(Un,Le,2,0);case 162:return we(Le);case 236:return me(Le);case 210:return z(Le,$e);case 208:return I(Le);case 204:return ie&&e.isPropertyAccessExpression(Le)&&Le.expression.kind===106&&ie.add(Le.name.escapedText),e.visitEachChild(Le,C,Y);case 205:return ie&&Le.expression.kind===106&&(q=!0),e.visitEachChild(Le,C,Y);case 255:case 224:return g(p,Le,2,1);default:return e.visitEachChild(Le,C,Y)}}function T(Le){return H&2&&H&1?e.setOriginalNode(e.setTextRange(W.createYieldExpression(void 0,re().createAwaitHelper(e.visitNode(Le.expression,C,e.isExpression))),Le),Le):e.visitEachChild(Le,C,Y)}function m(Le){if(H&2&&H&1){if(Le.asteriskToken){var $e=e.visitNode(e.Debug.assertDefined(Le.expression),C,e.isExpression);return e.setOriginalNode(e.setTextRange(W.createYieldExpression(void 0,re().createAwaitHelper(W.updateYieldExpression(Le,Le.asteriskToken,e.setTextRange(re().createAsyncDelegatorHelper(e.setTextRange(re().createAsyncValuesHelper($e),$e)),$e)))),Le),Le)}return e.setOriginalNode(e.setTextRange(W.createYieldExpression(void 0,qe(Le.expression?e.visitNode(Le.expression,C,e.isExpression):W.createVoidZero())),Le),Le)}return e.visitEachChild(Le,C,Y)}function N(Le){return H&2&&H&1?W.updateReturnStatement(Le,qe(Le.expression?e.visitNode(Le.expression,C,e.isExpression):W.createVoidZero())):e.visitEachChild(Le,C,Y)}function P(Le){if(H&2){var $e=e.unwrapInnermostStatementOfLabel(Le);return $e.kind===242&&$e.awaitModifier?en($e,Le):W.restoreEnclosingLabel(e.visitNode($e,C,e.isStatement,W.liftToBlock),Le)}return e.visitEachChild(Le,C,Y)}function x(Le){for(var $e,An=[],Ue=0,gn=Le;Ue1){for(var Ue=1;Ue<$e.length;Ue++)An=re().createAssignHelper([An,$e[Ue]]);return An}else return re().createAssignHelper($e)}return e.visitEachChild(Le,C,Y)}function me(Le){return e.visitEachChild(Le,d,Y)}function z(Le,$e){return e.visitEachChild(Le,$e?d:C,Y)}function K(Le){var $e=w(2,e.isEffectiveStrictModeSourceFile(Le,de)?0:1);Z=!1;var An=e.visitEachChild(Le,C,Y),Ue=e.concatenate(An.statements,b&&[W.createVariableStatement(void 0,W.createVariableDeclarationList(b))]),gn=W.updateSourceFile(An,e.setTextRange(W.createNodeArray(Ue),Le.statements));return R($e),gn}function I(Le){return e.processTaggedTemplateExpression(Y,Le,C,k,ne,e.ProcessLevel.LiftRestriction)}function Ae(Le,$e){return e.isDestructuringAssignment(Le)&&Le.left.transformFlags&32768?e.flattenDestructuringAssignment(Le,C,Y,1,!$e):Le.operatorToken.kind===27?W.updateBinaryExpression(Le,e.visitNode(Le.left,d,e.isExpression),Le.operatorToken,e.visitNode(Le.right,$e?d:C,e.isExpression)):e.visitEachChild(Le,C,Y)}function Oe(Le,$e){if($e)return e.visitEachChild(Le,d,Y);for(var An,Ue=0;Ue=2&&D.getNodeCheckFlags(Le)&6144;if(ze){X();var Tn=e.createSuperAccessVariableStatement(W,D,Le,ie);oe[e.getNodeId(Tn)]=!0,e.insertStatementsAfterStandardPrologue($e,[Tn])}$e.push(Wn),e.insertStatementsAfterStandardPrologue($e,O());var On=W.updateBlock(Le.body,$e);return ze&&q&&(D.getNodeCheckFlags(Le)&4096?e.addEmitHelper(On,e.advancedAsyncSuperHelper):D.getNodeCheckFlags(Le)&2048&&e.addEmitHelper(On,e.asyncSuperHelper)),ie=Ue,q=gn,On}function i(Le){var $e;ye();var An=0,Ue=[],gn=($e=e.visitNode(Le.body,C,e.isConciseBody))!==null&&$e!==void 0?$e:W.createBlock([]);e.isBlock(gn)&&(An=W.copyPrologue(gn.statements,Ue,!1,C)),e.addRange(Ue,In(void 0,Le));var Wn=O();if(An>0||e.some(Ue)||e.some(Wn)){var ze=W.converters.convertToFunctionBlock(gn,!0);return e.insertStatementsAfterStandardPrologue(Ue,Wn),e.addRange(Ue,ze.statements.slice(An)),W.updateBlock(ze,e.setTextRange(W.createNodeArray(Ue),ze.statements))}return gn}function In(Le,$e){for(var An=0,Ue=$e.parameters;An1?"jsxs":"jsx"}function de(M){var me=D(M);return y(me)}function _e(){return y("Fragment")}function y(M){var me,z,K=M==="createElement"?O.importSpecifier:e.getJSXRuntimeImport(O.importSpecifier,re),I=(z=(me=O.utilizedImplicitRuntimeImports)===null||me===void 0?void 0:me.get(K))===null||z===void 0?void 0:z.get(M);if(I)return I.name;O.utilizedImplicitRuntimeImports||(O.utilizedImplicitRuntimeImports=e.createMap());var Ae=O.utilizedImplicitRuntimeImports.get(K);Ae||(Ae=e.createMap(),O.utilizedImplicitRuntimeImports.set(K,Ae));var Oe=Y.createUniqueName("_"+M,112),te=Y.createImportSpecifier(Y.createIdentifier(M),Oe);return Oe.generatedImportReference=te,Ae.set(M,te),Oe}function V(M){if(M.isDeclarationFile)return M;ye=M,O={},O.importSpecifier=e.getJSXImplicitImportBase(re,M);var me=e.visitEachChild(M,Z,$);e.addEmitHelpers(me,$.readEmitHelpers());var z=me.statements;if(O.filenameDeclaration&&(z=e.insertStatementAfterCustomPrologue(z.slice(),Y.createVariableStatement(void 0,Y.createVariableDeclarationList([O.filenameDeclaration],2)))),O.utilizedImplicitRuntimeImports)for(var K=0,I=e.arrayFrom(O.utilizedImplicitRuntimeImports.entries());K1?Y.createTrue():Y.createFalse());var Se=e.getLineAndCharacterOfPosition(te,Ae.pos);Oe.push(Y.createObjectLiteralExpression([Y.createPropertyAssignment("fileName",A()),Y.createPropertyAssignment("lineNumber",Y.createNumericLiteral(Se.line+1)),Y.createPropertyAssignment("columnNumber",Y.createNumericLiteral(Se.character+1))])),Oe.push(Y.createThis())}}var be=e.setTextRange(Y.createCallExpression(de(K),void 0,Oe),Ae);return I&&e.startOnNewLine(be),be}function w(M,me,z,K){var I=N(M),Ae,Oe=M.attributes.properties;if(Oe.length===0)Ae=Y.createNull();else{var te=re.target;if(te&&te>=5)Ae=Y.createObjectLiteralExpression(e.flatten(e.spanMap(Oe,e.isJsxSpreadAttribute,function(Be,De){return De?e.map(Be,U):e.map(Be,d)})));else{var Se=e.flatten(e.spanMap(Oe,e.isJsxSpreadAttribute,function(Be,De){return De?e.map(Be,C):Y.createObjectLiteralExpression(e.map(Be,d))}));e.isJsxSpreadAttribute(Oe[0])&&Se.unshift(Y.createObjectLiteralExpression()),Ae=e.singleOrUndefined(Se),Ae||(Ae=W().createAssignHelper(Se))}}var be=O.importSpecifier===void 0?e.createJsxFactoryExpression(Y,$.getEmitResolver().getJsxFactoryEntity(ye),re.reactNamespace,M):y("createElement"),Ce=e.createExpressionForJsxElement(Y,be,I,Ae,e.mapDefined(me,H),K);return z&&e.startOnNewLine(Ce),Ce}function R(M,me,z,K){var I;if(me&&me.length){var Ae=q(me);Ae&&(I=Ae)}return se(_e(),I||Y.createObjectLiteralExpression([]),void 0,e.length(e.getSemanticJsxChildren(me)),z,K)}function ne(M,me,z,K){var I=e.createExpressionForJsxFragment(Y,$.getEmitResolver().getJsxFactoryEntity(ye),$.getEmitResolver().getJsxFragmentFactoryEntity(ye),re.reactNamespace,e.mapDefined(me,H),M,K);return z&&e.startOnNewLine(I),I}function U(M){return Y.createSpreadAssignment(e.visitNode(M.expression,Z,e.isExpression))}function C(M){return e.visitNode(M.expression,Z,e.isExpression)}function d(M){var me=P(M),z=G(M.initializer);return Y.createPropertyAssignment(me,z)}function G(M){if(M===void 0)return Y.createTrue();if(M.kind===10){var me=M.singleQuote!==void 0?M.singleQuote:!e.isStringDoubleQuoted(M,ye),z=Y.createStringLiteral(m(M.text)||M.text,me);return e.setTextRange(z,M)}else return M.kind===286?M.expression===void 0?Y.createTrue():e.visitNode(M.expression,Z,e.isExpression):e.Debug.failBadSyntaxKind(M)}function g(M){var me=p(M.text);return me===void 0?void 0:Y.createStringLiteral(me)}function p(M){for(var me,z=0,K=-1,I=0;I0?(e.insertStatementAfterCustomPrologue(ce,e.setEmitFlags(D.createVariableStatement(void 0,D.createVariableDeclarationList(e.flattenDestructuringBinding(dn,g,A,0,D.getGeneratedNameForNode(dn)))),1048576)),!0):Ie?(e.insertStatementAfterCustomPrologue(ce,e.setEmitFlags(D.createExpressionStatement(D.createAssignment(D.getGeneratedNameForNode(dn),e.visitNode(Ie,g,e.isExpression))),1048576)),!0):!1}function He(ce,dn,j,Ie){Ie=e.visitNode(Ie,g,e.isExpression);var We=D.createIfStatement(D.createTypeCheck(D.cloneNode(j),"undefined"),e.setEmitFlags(e.setTextRange(D.createBlock([D.createExpressionStatement(e.setEmitFlags(e.setTextRange(D.createAssignment(e.setEmitFlags(e.setParent(e.setTextRange(D.cloneNode(j),j),j.parent),48),e.setEmitFlags(Ie,48|e.getEmitFlags(Ie)|1536)),dn),1536))]),dn),1953));e.startOnNewLine(We),e.setTextRange(We,dn),e.setEmitFlags(We,1050528),e.insertStatementAfterCustomPrologue(ce,We)}function Ln(ce,dn){return!!(ce&&ce.dotDotDotToken&&!dn)}function Un(ce,dn,j){var Ie=[],We=e.lastOrUndefined(dn.parameters);if(!Ln(We,j))return!1;var sn=We.name.kind===79?e.setParent(e.setTextRange(D.cloneNode(We.name),We.name),We.name.parent):D.createTempVariable(void 0);e.setEmitFlags(sn,48);var Hn=We.name.kind===79?D.cloneNode(We.name):sn,vr=dn.parameters.length-1,Sr=D.createLoopVariable();Ie.push(e.setEmitFlags(e.setTextRange(D.createVariableStatement(void 0,D.createVariableDeclarationList([D.createVariableDeclaration(sn,void 0,void 0,D.createArrayLiteralExpression([]))])),We),1048576));var ot=D.createForStatement(e.setTextRange(D.createVariableDeclarationList([D.createVariableDeclaration(Sr,void 0,void 0,D.createNumericLiteral(vr))]),We),e.setTextRange(D.createLessThan(Sr,D.createPropertyAccessExpression(D.createIdentifier("arguments"),"length")),We),e.setTextRange(D.createPostfixIncrement(Sr),We),D.createBlock([e.startOnNewLine(e.setTextRange(D.createExpressionStatement(D.createAssignment(D.createElementAccessExpression(Hn,vr===0?Sr:D.createSubtract(Sr,D.createNumericLiteral(vr))),D.createElementAccessExpression(D.createIdentifier("arguments"),Sr))),We))]));return e.setEmitFlags(ot,1048576),e.startOnNewLine(ot),Ie.push(ot),We.name.kind!==79&&Ie.push(e.setEmitFlags(e.setTextRange(D.createVariableStatement(void 0,D.createVariableDeclarationList(e.flattenDestructuringBinding(We,g,A,0,Hn))),We),1048576)),e.insertStatementsAfterCustomPrologue(ce,Ie),!0}function fn(ce,dn){return ie&65536&&dn.kind!==212?(En(ce,dn,D.createThis()),!0):!1}function En(ce,dn,j){us();var Ie=D.createVariableStatement(void 0,D.createVariableDeclarationList([D.createVariableDeclaration(D.createUniqueName("_this",48),void 0,void 0,j)]));e.setEmitFlags(Ie,1050112),e.setSourceMapRange(Ie,dn),e.insertStatementAfterCustomPrologue(ce,Ie)}function i(ce,dn,j){if(ie&32768){var Ie=void 0;switch(dn.kind){case 212:return ce;case 167:case 170:case 171:Ie=D.createVoidZero();break;case 169:Ie=D.createPropertyAccessExpression(e.setEmitFlags(D.createThis(),4),"constructor");break;case 254:case 211:Ie=D.createConditionalExpression(D.createLogicalAnd(e.setEmitFlags(D.createThis(),4),D.createBinaryExpression(e.setEmitFlags(D.createThis(),4),102,D.getLocalName(dn))),void 0,D.createPropertyAccessExpression(e.setEmitFlags(D.createThis(),4),"constructor"),void 0,D.createVoidZero());break;default:return e.Debug.failBadSyntaxKind(dn)}var We=D.createVariableStatement(void 0,D.createVariableDeclarationList([D.createVariableDeclaration(D.createUniqueName("_newTarget",48),void 0,void 0,Ie)]));e.setEmitFlags(We,1050112),j&&(ce=ce.slice()),e.insertStatementAfterCustomPrologue(ce,We)}return ce}function In(ce,dn){for(var j=0,Ie=dn.members;j=ce.end)return!1;for(var Ie=e.getEnclosingBlockScopeContainer(ce);j;){if(j===Ie||j===ce)return!1;if(e.isClassElement(j)&&j.parent===ce)return!0;j=j.parent}return!1}function ti(ce){return w&1&&ie&16?e.setTextRange(D.createUniqueName("_this",48),ce):ce}function va(ce,dn){return e.isStatic(dn)?D.getInternalName(ce):D.createPropertyAccessExpression(D.getInternalName(ce),"prototype")}function Ve(ce,dn){if(!ce||!dn||e.some(ce.parameters))return!1;var j=e.firstOrUndefined(ce.body.statements);if(!j||!e.nodeIsSynthesized(j)||j.kind!==236)return!1;var Ie=j.expression;if(!e.nodeIsSynthesized(Ie)||Ie.kind!==206)return!1;var We=Ie.expression;if(!e.nodeIsSynthesized(We)||We.kind!==106)return!1;var sn=e.singleOrUndefined(Ie.arguments);if(!sn||!e.nodeIsSynthesized(sn)||sn.kind!==223)return!1;var Hn=sn.expression;return e.isIdentifier(Hn)&&Hn.escapedText==="arguments"}}e.transformES2015=O})(vn||(vn={}));var vn;(function(e){function o(ue){var $=ue.factory,Y=ue.getCompilerOptions(),W,re;(Y.jsx===1||Y.jsx===3)&&(W=ue.onEmitNode,ue.onEmitNode=A,ue.enableEmitNotification(278),ue.enableEmitNotification(279),ue.enableEmitNotification(277),re=[]);var ye=ue.onSubstituteNode;return ue.onSubstituteNode=D,ue.enableSubstitution(204),ue.enableSubstitution(291),e.chainBundle(ue,O);function O(V){return V}function A(V,Z,E){switch(Z.kind){case 278:case 279:case 277:var H=Z.tagName;re[e.getOriginalNodeId(H)]=!0;break}W(V,Z,E)}function D(V,Z){return Z.id&&re&&re[Z.id]?ye(V,Z):(Z=ye(V,Z),e.isPropertyAccessExpression(Z)?de(Z):e.isPropertyAssignment(Z)?_e(Z):Z)}function de(V){if(e.isPrivateIdentifier(V.name))return V;var Z=y(V.name);return Z?e.setTextRange($.createElementAccessExpression(V.expression,Z),V):V}function _e(V){var Z=e.isIdentifier(V.name)&&y(V.name);return Z?$.updatePropertyAssignment(V,Z,V.initializer):V}function y(V){var Z=V.originalKeywordKind||(e.nodeIsSynthesized(V)?e.stringToToken(e.idText(V)):void 0);if(Z!==void 0&&Z>=81&&Z<=116)return e.setTextRange($.createStringLiteralFromNode(V),V)}}e.transformES5=o})(vn||(vn={}));var vn;(function(e){var o;(function(O){O[O.Nop=0]="Nop",O[O.Statement=1]="Statement",O[O.Assign=2]="Assign",O[O.Break=3]="Break",O[O.BreakWhenTrue=4]="BreakWhenTrue",O[O.BreakWhenFalse=5]="BreakWhenFalse",O[O.Yield=6]="Yield",O[O.YieldStar=7]="YieldStar",O[O.Return=8]="Return",O[O.Throw=9]="Throw",O[O.Endfinally=10]="Endfinally"})(o||(o={}));var ue;(function(O){O[O.Open=0]="Open",O[O.Close=1]="Close"})(ue||(ue={}));var $;(function(O){O[O.Exception=0]="Exception",O[O.With=1]="With",O[O.Switch=2]="Switch",O[O.Loop=3]="Loop",O[O.Labeled=4]="Labeled"})($||($={}));var Y;(function(O){O[O.Try=0]="Try",O[O.Catch=1]="Catch",O[O.Finally=2]="Finally",O[O.Done=3]="Done"})(Y||(Y={}));var W;(function(O){O[O.Next=0]="Next",O[O.Throw=1]="Throw",O[O.Return=2]="Return",O[O.Break=3]="Break",O[O.Yield=4]="Yield",O[O.YieldStar=5]="YieldStar",O[O.Catch=6]="Catch",O[O.Endfinally=7]="Endfinally"})(W||(W={}));function re(O){switch(O){case 2:return"return";case 3:return"break";case 4:return"yield";case 5:return"yield*";case 7:return"endfinally";default:return}}function ye(O){var A=O.factory,D=O.getEmitHelperFactory,de=O.resumeLexicalEnvironment,_e=O.endLexicalEnvironment,y=O.hoistFunctionDeclaration,V=O.hoistVariableDeclaration,Z=O.getCompilerOptions(),E=e.getEmitScriptTarget(Z),H=O.getEmitResolver(),L=O.onSubstituteNode;O.onSubstituteNode=Fe;var ee,k,b,ie,q,oe,se,w,R,ne,U=1,C,d,G,g,p=0,f=0,T,m,N,P,x,M,me,z;return e.chainBundle(O,K);function K(mn){if(mn.isDeclarationFile||!(mn.transformFlags&1024))return mn;var _r=e.visitEachChild(mn,I,O);return e.addEmitHelpers(_r,O.readEmitHelpers()),_r}function I(mn){var _r=mn.transformFlags;return ie?Ae(mn):b?Oe(mn):e.isFunctionLikeDeclaration(mn)&&mn.asteriskToken?Se(mn):_r&1024?e.visitEachChild(mn,I,O):mn}function Ae(mn){switch(mn.kind){case 238:return Le(mn);case 239:return An(mn);case 247:return Zn(mn);case 248:return Mn(mn);default:return Oe(mn)}}function Oe(mn){switch(mn.kind){case 254:return be(mn);case 211:return Ce(mn);case 170:case 171:return Be(mn);case 235:return en(mn);case 240:return gn(mn);case 241:return ze(mn);case 244:return hr(mn);case 243:return On(mn);case 245:return Qr(mn);default:return mn.transformFlags&524288?te(mn):mn.transformFlags&2098176?e.visitEachChild(mn,I,O):mn}}function te(mn){switch(mn.kind){case 219:return fe(mn);case 346:return we(mn);case 220:return Qe(mn);case 222:return Re(mn);case 202:return He(mn);case 203:return Un(mn);case 205:return fn(mn);case 206:return En(mn);case 207:return i(mn);default:return e.visitEachChild(mn,I,O)}}function Se(mn){switch(mn.kind){case 254:return be(mn);case 211:return Ce(mn);default:return e.Debug.failBadSyntaxKind(mn)}}function be(mn){if(mn.asteriskToken)mn=e.setOriginalNode(e.setTextRange(A.createFunctionDeclaration(void 0,mn.modifiers,void 0,mn.name,void 0,e.visitParameterList(mn.parameters,I,O),void 0,De(mn.body)),mn),mn);else{var _r=b,$r=ie;b=!1,ie=!1,mn=e.visitEachChild(mn,I,O),b=_r,ie=$r}if(b){y(mn);return}else return mn}function Ce(mn){if(mn.asteriskToken)mn=e.setOriginalNode(e.setTextRange(A.createFunctionExpression(void 0,void 0,mn.name,void 0,e.visitParameterList(mn.parameters,I,O),void 0,De(mn.body)),mn),mn);else{var _r=b,$r=ie;b=!1,ie=!1,mn=e.visitEachChild(mn,I,O),b=_r,ie=$r}return mn}function Be(mn){var _r=b,$r=ie;return b=!1,ie=!1,mn=e.visitEachChild(mn,I,O),b=_r,ie=$r,mn}function De(mn){var _r=[],$r=b,ia=ie,ti=q,va=oe,Ve=se,ce=w,dn=R,j=ne,Ie=U,We=C,sn=d,Hn=G,vr=g;b=!0,ie=!1,q=void 0,oe=void 0,se=void 0,w=void 0,R=void 0,ne=void 0,U=1,C=void 0,d=void 0,G=void 0,g=A.createTempVariable(void 0),de();var Sr=A.copyPrologue(mn.statements,_r,!1,I);In(mn.statements,Sr);var ot=Mi();return e.insertStatementsAfterStandardPrologue(_r,_e()),_r.push(A.createReturnStatement(ot)),b=$r,ie=ia,q=ti,oe=va,se=Ve,w=ce,R=dn,ne=j,U=Ie,C=We,d=sn,G=Hn,g=vr,e.setTextRange(A.createBlock(_r,mn.multiLine),mn)}function en(mn){if(mn.transformFlags&524288){Pe(mn.declarationList);return}else{if(e.getEmitFlags(mn)&1048576)return mn;for(var _r=0,$r=mn.declarationList.declarations;_r<$r.length;_r++){var ia=$r[_r];V(ia.name)}var ti=e.getInitializedVariables(mn.declarationList);return ti.length===0?void 0:e.setSourceMapRange(A.createExpressionStatement(A.inlineExpressions(e.map(ti,xe))),mn)}}function fe(mn){var _r=e.getExpressionAssociativity(mn);switch(_r){case 0:return qe(mn);case 1:return Ne(mn);default:return e.Debug.assertNever(_r)}}function Ne(mn){var _r=mn.left,$r=mn.right;if(yr($r)){var ia=void 0;switch(_r.kind){case 204:ia=A.updatePropertyAccessExpression(_r,Cn(e.visitNode(_r.expression,I,e.isLeftHandSideExpression)),_r.name);break;case 205:ia=A.updateElementAccessExpression(_r,Cn(e.visitNode(_r.expression,I,e.isLeftHandSideExpression)),Cn(e.visitNode(_r.argumentExpression,I,e.isExpression)));break;default:ia=e.visitNode(_r,I,e.isExpression);break}var ti=mn.operatorToken.kind;return e.isCompoundAssignment(ti)?e.setTextRange(A.createAssignment(ia,e.setTextRange(A.createBinaryExpression(Cn(ia),e.getNonAssignmentOperatorForCompoundAssignment(ti),e.visitNode($r,I,e.isExpression)),mn)),mn):A.updateBinaryExpression(mn,ia,mn.operatorToken,e.visitNode($r,I,e.isExpression))}return e.visitEachChild(mn,I,O)}function qe(mn){return yr(mn.right)?e.isLogicalOperator(mn.operatorToken.kind)?pn(mn):mn.operatorToken.kind===27?pe(mn):A.updateBinaryExpression(mn,Cn(e.visitNode(mn.left,I,e.isExpression)),mn.operatorToken,e.visitNode(mn.right,I,e.isExpression)):e.visitEachChild(mn,I,O)}function pe(mn){var _r=[];return $r(mn.left),$r(mn.right),A.inlineExpressions(_r);function $r(ia){e.isBinaryExpression(ia)&&ia.operatorToken.kind===27?($r(ia.left),$r(ia.right)):(yr(ia)&&_r.length>0&&(bi(1,[A.createExpressionStatement(A.inlineExpressions(_r))]),_r=[]),_r.push(e.visitNode(ia,I,e.isExpression)))}}function we(mn){for(var _r=[],$r=0,ia=mn.elements;$r0&&(bi(1,[A.createExpressionStatement(A.inlineExpressions(_r))]),_r=[]),_r.push(e.visitNode(ti,I,e.isExpression)))}return A.inlineExpressions(_r)}function pn(mn){var _r=cn(),$r=Gn();return or($r,e.visitNode(mn.left,I,e.isExpression),mn.left),mn.operatorToken.kind===55?li(_r,$r,mn.left):Va(_r,$r,mn.left),or($r,e.visitNode(mn.right,I,e.isExpression),mn.right),Rn(_r),$r}function Qe(mn){if(yr(mn.whenTrue)||yr(mn.whenFalse)){var _r=cn(),$r=cn(),ia=Gn();return li(_r,e.visitNode(mn.condition,I,e.isExpression),mn.condition),or(ia,e.visitNode(mn.whenTrue,I,e.isExpression),mn.whenTrue),$t($r),Rn(_r),or(ia,e.visitNode(mn.whenFalse,I,e.isExpression),mn.whenFalse),Rn($r),ia}return e.visitEachChild(mn,I,O)}function Re(mn){var _r=cn(),$r=e.visitNode(mn.expression,I,e.isExpression);if(mn.asteriskToken){var ia=e.getEmitFlags(mn.expression)&8388608?$r:e.setTextRange(D().createValuesHelper($r),mn);zi(ia,mn)}else Ma($r,mn);return Rn(_r),Xr(mn)}function He(mn){return Ln(mn.elements,void 0,void 0,mn.multiLine)}function Ln(mn,_r,$r,ia){var ti=cr(mn),va;if(ti>0){va=Gn();var Ve=e.visitNodes(mn,I,e.isExpression,0,ti);or(va,A.createArrayLiteralExpression(_r?Vr([_r],Ve,!0):Ve)),_r=void 0}var ce=e.reduceLeft(mn,dn,[],ti);return va?A.createArrayConcatCall(va,[A.createArrayLiteralExpression(ce,ia)]):e.setTextRange(A.createArrayLiteralExpression(_r?Vr([_r],ce,!0):ce,ia),$r);function dn(j,Ie){if(yr(Ie)&&j.length>0){var We=va!==void 0;va||(va=Gn()),or(va,We?A.createArrayConcatCall(va,[A.createArrayLiteralExpression(j,ia)]):A.createArrayLiteralExpression(_r?Vr([_r],j,!0):j,ia)),_r=void 0,j=[]}return j.push(e.visitNode(Ie,I,e.isExpression)),j}}function Un(mn){var _r=mn.properties,$r=mn.multiLine,ia=cr(_r),ti=Gn();or(ti,A.createObjectLiteralExpression(e.visitNodes(_r,I,e.isObjectLiteralElementLike,0,ia),$r));var va=e.reduceLeft(_r,Ve,[],ia);return va.push($r?e.startOnNewLine(e.setParent(e.setTextRange(A.cloneNode(ti),ti),ti.parent)):ti),A.inlineExpressions(va);function Ve(ce,dn){yr(dn)&&ce.length>0&&(vt(A.createExpressionStatement(A.inlineExpressions(ce))),ce=[]);var j=e.createExpressionForObjectLiteralElementLike(A,mn,dn,ti),Ie=e.visitNode(j,I,e.isExpression);return Ie&&($r&&e.startOnNewLine(Ie),ce.push(Ie)),ce}}function fn(mn){return yr(mn.argumentExpression)?A.updateElementAccessExpression(mn,Cn(e.visitNode(mn.expression,I,e.isLeftHandSideExpression)),e.visitNode(mn.argumentExpression,I,e.isExpression)):e.visitEachChild(mn,I,O)}function En(mn){if(!e.isImportCall(mn)&&e.forEach(mn.arguments,yr)){var _r=A.createCallBinding(mn.expression,V,E,!0),$r=_r.target,ia=_r.thisArg;return e.setOriginalNode(e.setTextRange(A.createFunctionApplyCall(Cn(e.visitNode($r,I,e.isLeftHandSideExpression)),ia,Ln(mn.arguments)),mn),mn)}return e.visitEachChild(mn,I,O)}function i(mn){if(e.forEach(mn.arguments,yr)){var _r=A.createCallBinding(A.createPropertyAccessExpression(mn.expression,"bind"),V),$r=_r.target,ia=_r.thisArg;return e.setOriginalNode(e.setTextRange(A.createNewExpression(A.createFunctionApplyCall(Cn(e.visitNode($r,I,e.isExpression)),ia,Ln(mn.arguments,A.createVoidZero())),void 0,[]),mn),mn)}return e.visitEachChild(mn,I,O)}function In(mn,_r){_r===void 0&&(_r=0);for(var $r=mn.length,ia=_r;ia<$r;ia++)rn(mn[ia])}function X(mn){e.isBlock(mn)?In(mn.statements):rn(mn)}function rn(mn){var _r=ie;ie||(ie=yr(mn)),$n(mn),ie=_r}function $n(mn){switch(mn.kind){case 233:return Vn(mn);case 236:return le(mn);case 237:return Ze(mn);case 238:return hn(mn);case 239:return $e(mn);case 240:return Ue(mn);case 241:return Wn(mn);case 243:return Tn(mn);case 244:return ur(mn);case 245:return wr(mn);case 246:return Ke(mn);case 247:return jn(mn);case 248:return Me(mn);case 249:return ar(mn);case 250:return Xn(mn);default:return vt(e.visitNode(mn,I,e.isStatement))}}function Vn(mn){yr(mn)?In(mn.statements):vt(e.visitNode(mn,I,e.isStatement))}function le(mn){vt(e.visitNode(mn,I,e.isStatement))}function Pe(mn){for(var _r=0,$r=mn.declarations;_r<$r.length;_r++){var ia=$r[_r],ti=A.cloneNode(ia.name);e.setCommentRange(ti,ia.name),V(ti)}for(var va=e.getInitializedVariables(mn),Ve=va.length,ce=0,dn=[];ce0)break;dn.push(xe(ia))}dn.length&&(vt(A.createExpressionStatement(A.inlineExpressions(dn))),ce+=dn.length,dn=[])}}function xe(mn){return e.setSourceMapRange(A.createAssignment(e.setSourceMapRange(A.cloneNode(mn.name),mn.name),e.visitNode(mn.initializer,I,e.isExpression)),mn)}function Ze(mn){if(yr(mn))if(yr(mn.thenStatement)||yr(mn.elseStatement)){var _r=cn(),$r=mn.elseStatement?cn():void 0;li(mn.elseStatement?$r:_r,e.visitNode(mn.expression,I,e.isExpression),mn.expression),X(mn.thenStatement),mn.elseStatement&&($t(_r),Rn($r),X(mn.elseStatement)),Rn(_r)}else vt(e.visitNode(mn,I,e.isStatement));else vt(e.visitNode(mn,I,e.isStatement))}function hn(mn){if(yr(mn)){var _r=cn(),$r=cn();dt(_r),Rn($r),X(mn.statement),Rn(_r),Va($r,e.visitNode(mn.expression,I,e.isExpression)),Ur()}else vt(e.visitNode(mn,I,e.isStatement))}function Le(mn){return ie?(Kr(),mn=e.visitEachChild(mn,I,O),Ur(),mn):e.visitEachChild(mn,I,O)}function $e(mn){if(yr(mn)){var _r=cn(),$r=dt(_r);Rn(_r),li($r,e.visitNode(mn.expression,I,e.isExpression)),X(mn.statement),$t(_r),Ur()}else vt(e.visitNode(mn,I,e.isStatement))}function An(mn){return ie?(Kr(),mn=e.visitEachChild(mn,I,O),Ur(),mn):e.visitEachChild(mn,I,O)}function Ue(mn){if(yr(mn)){var _r=cn(),$r=cn(),ia=dt($r);if(mn.initializer){var ti=mn.initializer;e.isVariableDeclarationList(ti)?Pe(ti):vt(e.setTextRange(A.createExpressionStatement(e.visitNode(ti,I,e.isExpression)),ti))}Rn(_r),mn.condition&&li(ia,e.visitNode(mn.condition,I,e.isExpression)),X(mn.statement),Rn($r),mn.incrementor&&vt(e.setTextRange(A.createExpressionStatement(e.visitNode(mn.incrementor,I,e.isExpression)),mn.incrementor)),$t(_r),Ur()}else vt(e.visitNode(mn,I,e.isStatement))}function gn(mn){ie&&Kr();var _r=mn.initializer;if(_r&&e.isVariableDeclarationList(_r)){for(var $r=0,ia=_r.declarations;$r0?A.inlineExpressions(e.map(va,xe)):void 0,e.visitNode(mn.condition,I,e.isExpression),e.visitNode(mn.incrementor,I,e.isExpression),e.visitIterationBody(mn.statement,I,O))}else mn=e.visitEachChild(mn,I,O);return ie&&Ur(),mn}function Wn(mn){if(yr(mn)){var _r=Gn(),$r=Gn(),ia=A.createLoopVariable(),ti=mn.initializer;V(ia),or(_r,A.createArrayLiteralExpression()),vt(A.createForInStatement($r,e.visitNode(mn.expression,I,e.isExpression),A.createExpressionStatement(A.createCallExpression(A.createPropertyAccessExpression(_r,"push"),void 0,[$r])))),or(ia,A.createNumericLiteral(0));var va=cn(),Ve=cn(),ce=dt(Ve);Rn(va),li(ce,A.createLessThan(ia,A.createPropertyAccessExpression(_r,"length")));var dn=void 0;if(e.isVariableDeclarationList(ti)){for(var j=0,Ie=ti.declarations;j0?$t(_r,mn):vt(mn)}function On(mn){if(ie){var _r=Hr(mn.label&&e.idText(mn.label));if(_r>0)return Rr(_r,mn)}return e.visitEachChild(mn,I,O)}function ur(mn){var _r=at(mn.label?e.idText(mn.label):void 0);_r>0?$t(_r,mn):vt(mn)}function hr(mn){if(ie){var _r=at(mn.label&&e.idText(mn.label));if(_r>0)return Rr(_r,mn)}return e.visitEachChild(mn,I,O)}function wr(mn){di(e.visitNode(mn.expression,I,e.isExpression),mn)}function Qr(mn){return Lr(e.visitNode(mn.expression,I,e.isExpression),mn)}function Ke(mn){yr(mn)?(ir(Cn(e.visitNode(mn.expression,I,e.isExpression))),X(mn.statement),gr()):vt(e.visitNode(mn,I,e.isStatement))}function jn(mn){if(yr(mn.caseBlock)){for(var _r=mn.caseBlock,$r=_r.clauses.length,ia=Cr(),ti=Cn(e.visitNode(mn.expression,I,e.isExpression)),va=[],Ve=-1,ce=0;ce<$r;ce++){var dn=_r.clauses[ce];va.push(cn()),dn.kind===288&&Ve===-1&&(Ve=ce)}for(var j=0,Ie=[];j<$r;){for(var We=0,ce=j;ce<$r;ce++){var dn=_r.clauses[ce];if(dn.kind===287){if(yr(dn.expression)&&Ie.length>0)break;Ie.push(A.createCaseClause(e.visitNode(dn.expression,I,e.isExpression),[Rr(va[ce],dn.expression)]))}else We++}Ie.length&&(vt(A.createSwitchStatement(ti,A.createCaseBlock(Ie))),j+=Ie.length,Ie=[]),We>0&&(j+=We,We=0)}Ve>=0?$t(va[Ve]):$t(ia);for(var ce=0;ce<$r;ce++)Rn(va[ce]),In(_r.clauses[ce].statements);Jt()}else vt(e.visitNode(mn,I,e.isStatement))}function Zn(mn){return ie&&qt(),mn=e.visitEachChild(mn,I,O),ie&&Jt(),mn}function Me(mn){yr(mn)?(ri(e.idText(mn.label)),X(mn.statement),Ya()):vt(e.visitNode(mn,I,e.isStatement))}function Mn(mn){return ie&&Ot(e.idText(mn.label)),mn=e.visitEachChild(mn,I,O),ie&&Ya(),mn}function ar(mn){var _r;Yi(e.visitNode((_r=mn.expression)!==null&&_r!==void 0?_r:A.createVoidZero(),I,e.isExpression),mn)}function Xn(mn){yr(mn)?(Dr(),X(mn.tryBlock),mn.catchClause&&(qr(mn.catchClause.variableDeclaration),X(mn.catchClause.block)),mn.finallyBlock&&(ft(),X(mn.finallyBlock)),xt()):vt(e.visitEachChild(mn,I,O))}function yr(mn){return!!mn&&(mn.transformFlags&524288)!==0}function cr(mn){for(var _r=mn.length,$r=0;$r<_r;$r++)if(yr(mn[$r]))return $r;return-1}function Fe(mn,_r){return _r=L(mn,_r),mn===1?Bn(_r):_r}function Bn(mn){return e.isIdentifier(mn)?J(mn):mn}function J(mn){if(!e.isGeneratedIdentifier(mn)&&ee&&ee.has(e.idText(mn))){var _r=e.getOriginalNode(mn);if(e.isIdentifier(_r)&&_r.parent){var $r=H.getReferencedValueDeclaration(_r);if($r){var ia=k[e.getOriginalNodeId($r)];if(ia){var ti=e.setParent(e.setTextRange(A.cloneNode(ia),ia),ia.parent);return e.setSourceMapRange(ti,mn),e.setCommentRange(ti,mn),ti}}}}return mn}function Cn(mn){if(e.isGeneratedIdentifier(mn)||e.getEmitFlags(mn)&4096)return mn;var _r=A.createTempVariable(V);return or(_r,mn,mn),_r}function Gn(mn){var _r=mn?A.createUniqueName(mn):A.createTempVariable(void 0);return V(_r),_r}function cn(){R||(R=[]);var mn=U;return U++,R[mn]=-1,mn}function Rn(mn){e.Debug.assert(R!==void 0,"No labels were defined."),R[mn]=C?C.length:0}function Ye(mn){q||(q=[],se=[],oe=[],w=[]);var _r=se.length;return se[_r]=0,oe[_r]=C?C.length:0,q[_r]=mn,w.push(mn),_r}function xn(){var mn=an();if(mn===void 0)return e.Debug.fail("beginBlock was never called.");var _r=se.length;return se[_r]=1,oe[_r]=C?C.length:0,q[_r]=mn,w.pop(),mn}function an(){return e.lastOrUndefined(w)}function zn(){var mn=an();return mn&&mn.kind}function ir(mn){var _r=cn(),$r=cn();Rn(_r),Ye({kind:1,expression:mn,startLabel:_r,endLabel:$r})}function gr(){e.Debug.assert(zn()===1);var mn=xn();Rn(mn.endLabel)}function Dr(){var mn=cn(),_r=cn();return Rn(mn),Ye({kind:0,state:0,startLabel:mn,endLabel:_r}),nt(),_r}function qr(mn){e.Debug.assert(zn()===0);var _r;if(e.isGeneratedIdentifier(mn.name))_r=mn.name,V(mn.name);else{var $r=e.idText(mn.name);_r=Gn($r),ee||(ee=new e.Map,k=[],O.enableSubstitution(79)),ee.set($r,!0),k[e.getOriginalNodeId(mn)]=_r}var ia=an();e.Debug.assert(ia.state<1);var ti=ia.endLabel;$t(ti);var va=cn();Rn(va),ia.state=1,ia.catchVariable=_r,ia.catchLabel=va,or(_r,A.createCallExpression(A.createPropertyAccessExpression(g,"sent"),void 0,[])),nt()}function ft(){e.Debug.assert(zn()===0);var mn=an();e.Debug.assert(mn.state<2);var _r=mn.endLabel;$t(_r);var $r=cn();Rn($r),mn.state=2,mn.finallyLabel=$r}function xt(){e.Debug.assert(zn()===0);var mn=xn(),_r=mn.state;_r<2?$t(mn.endLabel):uo(),Rn(mn.endLabel),nt(),mn.state=3}function Kr(){Ye({kind:3,isScript:!0,breakLabel:-1,continueLabel:-1})}function dt(mn){var _r=cn();return Ye({kind:3,isScript:!1,breakLabel:_r,continueLabel:mn}),_r}function Ur(){e.Debug.assert(zn()===3);var mn=xn(),_r=mn.breakLabel;mn.isScript||Rn(_r)}function qt(){Ye({kind:2,isScript:!0,breakLabel:-1})}function Cr(){var mn=cn();return Ye({kind:2,isScript:!1,breakLabel:mn}),mn}function Jt(){e.Debug.assert(zn()===2);var mn=xn(),_r=mn.breakLabel;mn.isScript||Rn(_r)}function Ot(mn){Ye({kind:4,isScript:!0,labelText:mn,breakLabel:-1})}function ri(mn){var _r=cn();Ye({kind:4,isScript:!1,labelText:mn,breakLabel:_r})}function Ya(){e.Debug.assert(zn()===4);var mn=xn();mn.isScript||Rn(mn.breakLabel)}function eo(mn){return mn.kind===2||mn.kind===3}function za(mn){return mn.kind===4}function ua(mn){return mn.kind===3}function Ar(mn,_r){for(var $r=_r;$r>=0;$r--){var ia=w[$r];if(za(ia)){if(ia.labelText===mn)return!0}else break}return!1}function at(mn){if(w)if(mn)for(var _r=w.length-1;_r>=0;_r--){var $r=w[_r];if(za($r)&&$r.labelText===mn)return $r.breakLabel;if(eo($r)&&Ar(mn,_r-1))return $r.breakLabel}else for(var _r=w.length-1;_r>=0;_r--){var $r=w[_r];if(eo($r))return $r.breakLabel}return 0}function Hr(mn){if(w)if(mn)for(var _r=w.length-1;_r>=0;_r--){var $r=w[_r];if(ua($r)&&Ar(mn,_r-1))return $r.continueLabel}else for(var _r=w.length-1;_r>=0;_r--){var $r=w[_r];if(ua($r))return $r.continueLabel}return 0}function Wt(mn){if(mn!==void 0&&mn>0){ne===void 0&&(ne=[]);var _r=A.createNumericLiteral(-1);return ne[mn]===void 0?ne[mn]=[_r]:ne[mn].push(_r),_r}return A.createOmittedExpression()}function Zt(mn){var _r=A.createNumericLiteral(mn);return e.addSyntheticTrailingComment(_r,3,re(mn)),_r}function Rr(mn,_r){return e.Debug.assertLessThan(0,mn,"Invalid label"),e.setTextRange(A.createReturnStatement(A.createArrayLiteralExpression([Zt(3),Wt(mn)])),_r)}function Lr(mn,_r){return e.setTextRange(A.createReturnStatement(A.createArrayLiteralExpression(mn?[Zt(2),mn]:[Zt(2)])),_r)}function Xr(mn){return e.setTextRange(A.createCallExpression(A.createPropertyAccessExpression(g,"sent"),void 0,[]),mn)}function nt(){bi(0)}function vt(mn){mn?bi(1,[mn]):nt()}function or(mn,_r,$r){bi(2,[mn,_r],$r)}function $t(mn,_r){bi(3,[mn],_r)}function Va(mn,_r,$r){bi(4,[mn,_r],$r)}function li(mn,_r,$r){bi(5,[mn,_r],$r)}function zi(mn,_r){bi(7,[mn],_r)}function Ma(mn,_r){bi(6,[mn],_r)}function di(mn,_r){bi(8,[mn],_r)}function Yi(mn,_r){bi(9,[mn],_r)}function uo(){bi(10)}function bi(mn,_r,$r){C===void 0&&(C=[],d=[],G=[]),R===void 0&&Rn(cn());var ia=C.length;C[ia]=mn,d[ia]=_r,G[ia]=$r}function Mi(){p=0,f=0,T=void 0,m=!1,N=!1,P=void 0,x=void 0,M=void 0,me=void 0,z=void 0;var mn=Go();return D().createGeneratorHelper(e.setEmitFlags(A.createFunctionExpression(void 0,void 0,void 0,void 0,[A.createParameterDeclaration(void 0,void 0,void 0,g)],void 0,A.createBlock(mn,mn.length>0)),524288))}function Go(){if(C){for(var mn=0;mn=0;_r--){var $r=z[_r];x=[A.createWithStatement($r.expression,A.createBlock(x))]}if(me){var ia=me.startLabel,ti=me.catchLabel,va=me.finallyLabel,Ve=me.endLabel;x.unshift(A.createExpressionStatement(A.createCallExpression(A.createPropertyAccessExpression(A.createPropertyAccessExpression(g,"trys"),"push"),void 0,[A.createArrayLiteralExpression([Wt(ia),Wt(ti),Wt(va),Wt(Ve)])]))),me=void 0}mn&&x.push(A.createExpressionStatement(A.createAssignment(A.createPropertyAccessExpression(g,"label"),A.createNumericLiteral(f+1))))}P.push(A.createCaseClause(A.createNumericLiteral(f),x||[])),x=void 0}function Qi(mn){if(R)for(var _r=0;_r(e.isExportName(Ue)?1:0);return!1}function m(Ue,gn){return T(Ue.left)?e.flattenDestructuringAssignment(Ue,p,$,0,!gn,qe):e.visitEachChild(Ue,p,$)}function N(Ue){return W.updateForStatement(Ue,e.visitNode(Ue.initializer,f,e.isForInitializer),e.visitNode(Ue.condition,p,e.isExpression),e.visitNode(Ue.incrementor,f,e.isExpression),e.visitIterationBody(Ue.statement,p,$))}function P(Ue){return W.updateExpressionStatement(Ue,e.visitNode(Ue.expression,f,e.isExpression))}function x(Ue,gn){return W.updateParenthesizedExpression(Ue,e.visitNode(Ue.expression,gn?f:p,e.isExpression))}function M(Ue,gn){return W.updatePartiallyEmittedExpression(Ue,e.visitNode(Ue.expression,gn?f:p,e.isExpression))}function me(Ue,gn){if((Ue.operator===45||Ue.operator===46)&&e.isIdentifier(Ue.operand)&&!e.isGeneratedIdentifier(Ue.operand)&&!e.isLocalName(Ue.operand)&&!e.isDeclarationNameOfEnumOrNamespace(Ue.operand)){var Wn=An(Ue.operand);if(Wn){var ze=void 0,Tn=e.visitNode(Ue.operand,p,e.isExpression);e.isPrefixUnaryExpression(Ue)?Tn=W.updatePrefixUnaryExpression(Ue,Tn):(Tn=W.updatePostfixUnaryExpression(Ue,Tn),gn||(ze=W.createTempVariable(A),Tn=W.createAssignment(ze,Tn),e.setTextRange(Tn,Ue)),Tn=W.createComma(Tn,W.cloneNode(Ue.operand)),e.setTextRange(Tn,Ue));for(var On=0,ur=Wn;On=2?ur=W.createArrowFunction(void 0,void 0,Tn,void 0,void 0,On):(ur=W.createFunctionExpression(void 0,void 0,void 0,void 0,Tn,void 0,On),gn&&e.setEmitFlags(ur,8));var hr=W.createNewExpression(W.createIdentifier("Promise"),void 0,[ur]);return D.esModuleInterop?W.createCallExpression(W.createPropertyAccessExpression(hr,W.createIdentifier("then")),void 0,[re().createImportStarCallbackHelper()]):hr}function Ae(Ue,gn){var Wn=W.createCallExpression(W.createPropertyAccessExpression(W.createIdentifier("Promise"),"resolve"),void 0,[]),ze=W.createCallExpression(W.createIdentifier("require"),void 0,Ue?[Ue]:[]);D.esModuleInterop&&(ze=re().createImportStarHelper(ze));var Tn;return y>=2?Tn=W.createArrowFunction(void 0,void 0,[],void 0,void 0,ze):(Tn=W.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,W.createBlock([W.createReturnStatement(ze)])),gn&&e.setEmitFlags(Tn,8)),W.createCallExpression(W.createPropertyAccessExpression(Wn,"then"),void 0,[Tn])}function Oe(Ue,gn){return!D.esModuleInterop||e.getEmitFlags(Ue)&67108864?gn:e.getExportNeedsImportStarHelper(Ue)?re().createImportStarHelper(gn):gn}function te(Ue,gn){return!D.esModuleInterop||e.getEmitFlags(Ue)&67108864?gn:e.getImportNeedsImportStarHelper(Ue)?re().createImportStarHelper(gn):e.getImportNeedsImportDefaultHelper(Ue)?re().createImportDefaultHelper(gn):gn}function Se(Ue){var gn,Wn=e.getNamespaceDeclarationNode(Ue);if(V!==e.ModuleKind.AMD)if(Ue.importClause){var ze=[];Wn&&!e.isDefaultImport(Ue)?ze.push(W.createVariableDeclaration(W.cloneNode(Wn.name),void 0,void 0,te(Ue,be(Ue)))):(ze.push(W.createVariableDeclaration(W.getGeneratedNameForNode(Ue),void 0,void 0,te(Ue,be(Ue)))),Wn&&e.isDefaultImport(Ue)&&ze.push(W.createVariableDeclaration(W.cloneNode(Wn.name),void 0,void 0,W.getGeneratedNameForNode(Ue)))),gn=e.append(gn,e.setOriginalNode(e.setTextRange(W.createVariableStatement(void 0,W.createVariableDeclarationList(ze,y>=2?2:0)),Ue),Ue))}else return e.setOriginalNode(e.setTextRange(W.createExpressionStatement(be(Ue)),Ue),Ue);else Wn&&e.isDefaultImport(Ue)&&(gn=e.append(gn,W.createVariableStatement(void 0,W.createVariableDeclarationList([e.setOriginalNode(e.setTextRange(W.createVariableDeclaration(W.cloneNode(Wn.name),void 0,void 0,W.getGeneratedNameForNode(Ue)),Ue),Ue)],y>=2?2:0))));if(pn(Ue)){var Tn=e.getOriginalNodeId(Ue);L[Tn]=Re(L[Tn],Ue)}else gn=Re(gn,Ue);return e.singleOrMany(gn)}function be(Ue){var gn=e.getExternalModuleNameLiteral(W,Ue,ee,_e,de,D),Wn=[];return gn&&Wn.push(gn),W.createCallExpression(W.createIdentifier("require"),void 0,Wn)}function Ce(Ue){e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(Ue),"import= for internal module references should be handled in an earlier transformer.");var gn;if(V!==e.ModuleKind.AMD?e.hasSyntacticModifier(Ue,1)?gn=e.append(gn,e.setOriginalNode(e.setTextRange(W.createExpressionStatement(rn(Ue.name,be(Ue))),Ue),Ue)):gn=e.append(gn,e.setOriginalNode(e.setTextRange(W.createVariableStatement(void 0,W.createVariableDeclarationList([W.createVariableDeclaration(W.cloneNode(Ue.name),void 0,void 0,be(Ue))],y>=2?2:0)),Ue),Ue)):e.hasSyntacticModifier(Ue,1)&&(gn=e.append(gn,e.setOriginalNode(e.setTextRange(W.createExpressionStatement(rn(W.getExportName(Ue),W.getLocalName(Ue))),Ue),Ue))),pn(Ue)){var Wn=e.getOriginalNodeId(Ue);L[Wn]=He(L[Wn],Ue)}else gn=He(gn,Ue);return e.singleOrMany(gn)}function Be(Ue){if(Ue.moduleSpecifier){var gn=W.getGeneratedNameForNode(Ue);if(Ue.exportClause&&e.isNamedExports(Ue.exportClause)){var Wn=[];V!==e.ModuleKind.AMD&&Wn.push(e.setOriginalNode(e.setTextRange(W.createVariableStatement(void 0,W.createVariableDeclarationList([W.createVariableDeclaration(gn,void 0,void 0,be(Ue))])),Ue),Ue));for(var ze=0,Tn=Ue.exportClause.elements;zee.ModuleKind.ES2015||!H.exportClause||!e.isNamespaceExport(H.exportClause)||!H.moduleSpecifier)return H;var L=H.exportClause.name,ee=$.getGeneratedNameForNode(L),k=$.createImportDeclaration(void 0,void 0,$.createImportClause(!1,void 0,$.createNamespaceImport(ee)),H.moduleSpecifier);e.setOriginalNode(k,H.exportClause);var b=e.isExportNamespaceAsDefaultDeclaration(H)?$.createExportDefault(ee):$.createExportDeclaration(void 0,void 0,!1,$.createNamedExports([$.createExportSpecifier(ee,L)]));return e.setOriginalNode(b,H),[k,b]}function V(H,L,ee){e.isSourceFile(L)?((e.isExternalModule(L)||W.isolatedModules)&&W.importHelpers&&(O=new e.Map),re(H,L,ee),O=void 0):re(H,L,ee)}function Z(H,L){return L=ye(H,L),O&&e.isIdentifier(L)&&e.getEmitFlags(L)&4096?E(L):L}function E(H){var L=e.idText(H),ee=O.get(L);return ee||O.set(L,ee=$.createUniqueName(L,48)),ee}}e.transformECMAScriptModule=o})(vn||(vn={}));var vn;(function(e){function o(Y){return e.isVariableDeclaration(Y)||e.isPropertyDeclaration(Y)||e.isPropertySignature(Y)||e.isBindingElement(Y)||e.isSetAccessor(Y)||e.isGetAccessor(Y)||e.isConstructSignatureDeclaration(Y)||e.isCallSignatureDeclaration(Y)||e.isMethodDeclaration(Y)||e.isMethodSignature(Y)||e.isFunctionDeclaration(Y)||e.isParameter(Y)||e.isTypeParameterDeclaration(Y)||e.isExpressionWithTypeArguments(Y)||e.isImportEqualsDeclaration(Y)||e.isTypeAliasDeclaration(Y)||e.isConstructorDeclaration(Y)||e.isIndexSignatureDeclaration(Y)||e.isPropertyAccessExpression(Y)||e.isJSDocTypeAlias(Y)}e.canProduceDiagnostics=o;function ue(Y){if(e.isSetAccessor(Y)||e.isGetAccessor(Y))return W;return e.isMethodSignature(Y)||e.isMethodDeclaration(Y)?ye:$(Y);function W(A){var D=re(A);return D!==void 0?{diagnosticMessage:D,errorNode:Y,typeName:Y.name}:void 0}function re(A){return e.isStatic(Y)?A.errorModuleName?A.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:Y.parent.kind===255?A.errorModuleName?A.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:A.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 ye(A){var D=O(A);return D!==void 0?{diagnosticMessage:D,errorNode:Y,typeName:Y.name}:void 0}function O(A){return e.isStatic(Y)?A.errorModuleName?A.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:Y.parent.kind===255?A.errorModuleName?A.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:A.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=ue;function $(Y){if(e.isVariableDeclaration(Y)||e.isPropertyDeclaration(Y)||e.isPropertySignature(Y)||e.isPropertyAccessExpression(Y)||e.isBindingElement(Y)||e.isConstructorDeclaration(Y))return re;return e.isSetAccessor(Y)||e.isGetAccessor(Y)?ye:e.isConstructSignatureDeclaration(Y)||e.isCallSignatureDeclaration(Y)||e.isMethodDeclaration(Y)||e.isMethodSignature(Y)||e.isFunctionDeclaration(Y)||e.isIndexSignatureDeclaration(Y)?O:e.isParameter(Y)?e.isParameterPropertyDeclaration(Y,Y.parent)&&e.hasSyntacticModifier(Y.parent,8)?re:A:e.isTypeParameterDeclaration(Y)?de:e.isExpressionWithTypeArguments(Y)?_e:e.isImportEqualsDeclaration(Y)?y:e.isTypeAliasDeclaration(Y)||e.isJSDocTypeAlias(Y)?V:e.Debug.assertNever(Y,"Attempted to set a declaration diagnostic context for unhandled node kind: "+e.SyntaxKind[Y.kind]);function W(Z){if(Y.kind===252||Y.kind===201)return Z.errorModuleName?Z.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(Y.kind===165||Y.kind===204||Y.kind===164||Y.kind===162&&e.hasSyntacticModifier(Y.parent,8))return e.isStatic(Y)?Z.errorModuleName?Z.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:Y.parent.kind===255||Y.kind===162?Z.errorModuleName?Z.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:Z.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 re(Z){var E=W(Z);return E!==void 0?{diagnosticMessage:E,errorNode:Y,typeName:Y.name}:void 0}function ye(Z){var E;return Y.kind===171?e.isStatic(Y)?E=Z.errorModuleName?e.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:E=Z.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(Y)?E=Z.errorModuleName?Z.accessibility===2?e.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:E=Z.errorModuleName?Z.accessibility===2?e.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1,{diagnosticMessage:E,errorNode:Y.name,typeName:Y.name}}function O(Z){var E;switch(Y.kind){case 173:E=Z.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 172:E=Z.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 174:E=Z.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 167:case 166:e.isStatic(Y)?E=Z.errorModuleName?Z.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:Y.parent.kind===255?E=Z.errorModuleName?Z.accessibility===2?e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:E=Z.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 254:E=Z.errorModuleName?Z.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: "+Y.kind)}return{diagnosticMessage:E,errorNode:Y.name||Y}}function A(Z){var E=D(Z);return E!==void 0?{diagnosticMessage:E,errorNode:Y,typeName:Y.name}:void 0}function D(Z){switch(Y.parent.kind){case 169:return Z.errorModuleName?Z.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 173:case 178:return Z.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 172:return Z.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 174:return Z.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 167:case 166:return e.isStatic(Y.parent)?Z.errorModuleName?Z.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:Y.parent.parent.kind===255?Z.errorModuleName?Z.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:Z.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 254:case 177:return Z.errorModuleName?Z.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 171:case 170:return Z.errorModuleName?Z.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: "+e.SyntaxKind[Y.parent.kind])}}function de(){var Z;switch(Y.parent.kind){case 255:Z=e.Diagnostics.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 256:Z=e.Diagnostics.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 193:Z=e.Diagnostics.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;break;case 178:case 173:Z=e.Diagnostics.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 172:Z=e.Diagnostics.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 167:case 166:e.isStatic(Y.parent)?Z=e.Diagnostics.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:Y.parent.parent.kind===255?Z=e.Diagnostics.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:Z=e.Diagnostics.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;break;case 177:case 254:Z=e.Diagnostics.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 257:Z=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: "+Y.parent.kind)}return{diagnosticMessage:Z,errorNode:Y,typeName:Y.name}}function _e(){var Z;return e.isClassDeclaration(Y.parent.parent)?Z=e.isHeritageClause(Y.parent)&&Y.parent.token===117?e.Diagnostics.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:Y.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:Z=e.Diagnostics.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1,{diagnosticMessage:Z,errorNode:Y,typeName:e.getNameOfDeclaration(Y.parent.parent)}}function y(){return{diagnosticMessage:e.Diagnostics.Import_declaration_0_is_using_private_name_1,errorNode:Y,typeName:Y.name}}function V(Z){return{diagnosticMessage:Z.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(Y)?e.Debug.checkDefined(Y.typeExpression):Y.type,typeName:e.isJSDocTypeAlias(Y)?e.getNameOfDeclaration(Y):Y.name}}}e.createGetSymbolAccessibilityDiagnosticForNode=$})(vn||(vn={}));var vn;(function(e){function o(y,V,Z){var E=y.getCompilerOptions(),H=e.transformNodes(V,y,e.factory,E,Z?[Z]:e.filter(y.getSourceFiles(),e.isSourceFileNotJson),[W],!1);return H.diagnostics}e.getDeclarationDiagnostics=o;function ue(y,V){var Z=V.text.substring(y.pos,y.end);return e.stringContains(Z,"@internal")}function $(y,V){var Z=e.getParseTreeNode(y);if(Z&&Z.kind===162){var E=Z.parent.parameters.indexOf(Z),H=E>0?Z.parent.parameters[E-1]:void 0,L=V.text,ee=H?e.concatenate(e.getTrailingCommentRanges(L,e.skipTrivia(L,H.end+1,!1,!0)),e.getLeadingCommentRanges(L,y.pos)):e.getTrailingCommentRanges(L,e.skipTrivia(L,y.pos,!1,!0));return ee&&ee.length&&ue(e.last(ee),V)}var k=Z&&e.getLeadingCommentRangesOfNode(Z,V);return!!e.forEach(k,function(b){return ue(b,V)})}e.isInternalDeclaration=$;var Y=531469;function W(y){var V=function(){return e.Debug.fail("Diagnostic emitted without context")},Z=V,E=!0,H=!1,L=!1,ee=!1,k=!1,b,ie,q,oe,se,w,R=y.factory,ne=y.getEmitHost(),U={trackSymbol:K,reportInaccessibleThisError:Se,reportInaccessibleUniqueSymbolError:Oe,reportCyclicStructureError:te,reportPrivateInBaseOfClassExpression:I,reportLikelyUnsafeImportRequiredError:be,reportTruncationError:Ce,moduleResolverHost:ne,trackReferencedAmbientModule:M,trackExternalModuleSymbolOfImportTypeNode:z,reportNonlocalAugmentation:Be,reportNonSerializableProperty:De},C,d,G,g,p,f,T=y.getEmitResolver(),m=y.getCompilerOptions(),N=m.noResolve,P=m.stripInternal;return fe;function x(Ke){if(Ke){ie=ie||new e.Set;for(var jn=0,Zn=Ke;jn0?y.parameters[0].type:void 0}function D(y){switch(y.kind){case 165:case 164:return!e.hasEffectiveModifier(y,8);case 162:case 252:return!0}return!1}function de(y){switch(y.kind){case 254:case 259:case 263:case 256:case 255:case 257:case 258:case 235:case 264:case 270:case 269:return!0}return!1}function _e(y){switch(y.kind){case 173:case 169:case 167:case 170:case 171:case 165:case 164:case 166:case 172:case 174:case 252:case 161:case 226:case 176:case 187:case 177:case 178:case 198:return!0}return!1}})(vn||(vn={}));var vn;(function(e){function o(V){switch(V){case e.ModuleKind.ESNext:case e.ModuleKind.ES2020:case e.ModuleKind.ES2015:return e.transformECMAScriptModule;case e.ModuleKind.System:return e.transformSystemModule;default:return e.transformModule}}var ue;(function(V){V[V.Uninitialized=0]="Uninitialized",V[V.Initialized=1]="Initialized",V[V.Completed=2]="Completed",V[V.Disposed=3]="Disposed"})(ue||(ue={}));var $;(function(V){V[V.Substitution=1]="Substitution",V[V.EmitNotifications=2]="EmitNotifications"})($||($={})),e.noTransformers={scriptTransformers:e.emptyArray,declarationTransformers:e.emptyArray};function Y(V,Z,E){return{scriptTransformers:W(V,Z,E),declarationTransformers:re(Z)}}e.getTransformers=Y;function W(V,Z,E){if(E)return e.emptyArray;var H=e.getEmitScriptTarget(V),L=e.getEmitModuleKind(V),ee=[];return e.addRange(ee,Z&&e.map(Z.before,A)),ee.push(e.transformTypeScript),ee.push(e.transformClassFields),e.getJSXTransformEnabled(V)&&ee.push(e.transformJsx),H<99&&ee.push(e.transformESNext),H<8&&ee.push(e.transformES2021),H<7&&ee.push(e.transformES2020),H<6&&ee.push(e.transformES2019),H<5&&ee.push(e.transformES2018),H<4&&ee.push(e.transformES2017),H<3&&ee.push(e.transformES2016),H<2&&(ee.push(e.transformES2015),ee.push(e.transformGenerators)),ee.push(o(L)),H<1&&ee.push(e.transformES5),e.addRange(ee,Z&&e.map(Z.after,A)),ee}function re(V){var Z=[];return Z.push(e.transformDeclarations),e.addRange(Z,V&&e.map(V.afterDeclarations,D)),Z}function ye(V){return function(Z){return e.isBundle(Z)?V.transformBundle(Z):V.transformSourceFile(Z)}}function O(V,Z){return function(E){var H=V(E);return typeof H=="function"?Z(E,H):ye(H)}}function A(V){return O(V,e.chainBundle)}function D(V){return O(V,function(Z,E){return E})}function de(V,Z){return Z}e.noEmitSubstitution=de;function _e(V,Z,E){E(V,Z)}e.noEmitNotification=_e;function y(V,Z,E,H,L,ee,k){for(var b=new Array(350),ie,q,oe,se=0,w=[],R=[],ne=[],U=[],C=0,d=!1,G=[],g=0,p,f,T=de,m=_e,N=0,P=[],x={factory:E,getCompilerOptions:function(){return H},getEmitResolver:function(){return V},getEmitHost:function(){return Z},getEmitHelperFactory:e.memoize(function(){return e.createEmitHelperFactory(x)}),startLexicalEnvironment:we,suspendLexicalEnvironment:pn,resumeLexicalEnvironment:Qe,endLexicalEnvironment:Re,setLexicalEnvironmentFlags:He,getLexicalEnvironmentFlags:Ln,hoistVariableDeclaration:Ne,hoistFunctionDeclaration:qe,addInitializationStatement:pe,startBlockScope:Un,endBlockScope:fn,addBlockScopedVariable:En,requestEmitHelper:i,readEmitHelpers:In,enableSubstitution:be,enableEmitNotification:De,isSubstitutionEnabled:Ce,isEmitNotificationEnabled:en,get onSubstituteNode(){return T},set onSubstituteNode(rn){e.Debug.assert(N<1,"Cannot modify transformation hooks after initialization has completed."),e.Debug.assert(rn!==void 0,"Value must not be 'undefined'"),T=rn},get onEmitNode(){return m},set onEmitNode(rn){e.Debug.assert(N<1,"Cannot modify transformation hooks after initialization has completed."),e.Debug.assert(rn!==void 0,"Value must not be 'undefined'"),m=rn},addDiagnostic:function(rn){P.push(rn)}},M=0,me=L;M0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(N<2,"Cannot modify the lexical environment after transformation has completed.");var $n=e.setEmitFlags(E.createVariableDeclaration(rn),64);ie?ie.push($n):ie=[$n],se&1&&(se|=2)}function qe(rn){e.Debug.assert(N>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(N<2,"Cannot modify the lexical environment after transformation has completed."),e.setEmitFlags(rn,1048576),q?q.push(rn):q=[rn]}function pe(rn){e.Debug.assert(N>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(N<2,"Cannot modify the lexical environment after transformation has completed."),e.setEmitFlags(rn,1048576),oe?oe.push(rn):oe=[rn]}function we(){e.Debug.assert(N>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(N<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!d,"Lexical environment is suspended."),w[C]=ie,R[C]=q,ne[C]=oe,U[C]=se,C++,ie=void 0,q=void 0,oe=void 0,se=0}function pn(){e.Debug.assert(N>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(N<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!d,"Lexical environment is already suspended."),d=!0}function Qe(){e.Debug.assert(N>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(N<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(d,"Lexical environment is not suspended."),d=!1}function Re(){e.Debug.assert(N>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(N<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!d,"Lexical environment is suspended.");var rn;if(ie||q||oe){if(q&&(rn=Vr([],q,!0)),ie){var $n=E.createVariableStatement(void 0,E.createVariableDeclarationList(ie));e.setEmitFlags($n,1048576),rn?rn.push($n):rn=[$n]}oe&&(rn?rn=Vr(Vr([],rn,!0),oe,!0):rn=Vr([],oe,!0))}return C--,ie=w[C],q=R[C],oe=ne[C],se=U[C],C===0&&(w=[],R=[],ne=[],U=[]),rn}function He(rn,$n){se=$n?se|rn:se&~rn}function Ln(){return se}function Un(){e.Debug.assert(N>0,"Cannot start a block scope during initialization."),e.Debug.assert(N<2,"Cannot start a block scope after transformation has completed."),G[g]=p,g++,p=void 0}function fn(){e.Debug.assert(N>0,"Cannot end a block scope during initialization."),e.Debug.assert(N<2,"Cannot end a block scope after transformation has completed.");var rn=e.some(p)?[E.createVariableStatement(void 0,E.createVariableDeclarationList(p.map(function($n){return E.createVariableDeclaration($n)}),1))]:void 0;return g--,p=G[g],g===0&&(G=[]),rn}function En(rn){e.Debug.assert(g>0,"Cannot add a block scoped variable outside of an iteration body."),(p||(p=[])).push(rn)}function i(rn){if(e.Debug.assert(N>0,"Cannot modify the transformation context during initialization."),e.Debug.assert(N<2,"Cannot modify the transformation context after transformation has completed."),e.Debug.assert(!rn.scoped,"Cannot request a scoped emit helper."),rn.dependencies)for(var $n=0,Vn=rn.dependencies;$n0,"Cannot modify the transformation context during initialization."),e.Debug.assert(N<2,"Cannot modify the transformation context after transformation has completed.");var rn=f;return f=void 0,rn}function X(){if(N<3){for(var rn=0,$n=L;rn<$n.length;rn++){var Vn=$n[rn];e.disposeEmitNodes(e.getSourceFileOfNode(e.getParseTreeNode(Vn)))}ie=void 0,w=void 0,q=void 0,R=void 0,T=void 0,m=void 0,f=void 0,N=3}}}e.transformNodes=y,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:de,onEmitNode:_e,addDiagnostic:e.noop}})(vn||(vn={}));var vn;(function(e){var o=R();function ue(d){return e.fileExtensionIs(d,".tsbuildinfo")}e.isBuildInfoFile=ue;function $(d,G,g,p,f,T){p===void 0&&(p=!1);var m=e.isArray(g)?g:e.getSourceFilesToEmit(d,g,p),N=d.getCompilerOptions();if(e.outFile(N)){var P=d.getPrependNodes();if(m.length||P.length){var x=e.factory.createBundle(m,P),M=G(re(x,d,p),x);if(M)return M}}else{if(!f)for(var me=0,z=m;me"),Dt(),an(v.type),kc(v)}function gs(v){gi("function"),to(v,v.parameters),Pt(":"),an(v.type)}function Da(v){Pt("?"),an(v.type)}function $a(v){Pt("!"),an(v.type)}function Ni(v){an(v.type),Pt("=")}function vo(v){Nc(v),er(v,v.modifiers),gi("new"),Dt(),No(v,v.typeParameters),to(v,v.parameters),Dt(),Pt("=>"),Dt(),an(v.type),kc(v)}function Io(v){gi("typeof"),Dt(),an(v.exprName)}function Bo(v){Pt("{");var nn=e.getEmitFlags(v)&1?768:32897;qa(v,v.members,nn|524288),Pt("}")}function Uo(v){an(v.elementType,Tn.parenthesizeElementTypeOfArrayType),Pt("["),Pt("]")}function cs(v){Pt("..."),an(v.type)}function us(v){kn(22,v.pos,Pt,v);var nn=e.getEmitFlags(v)&1?528:657;qa(v,v.elements,nn|524288),kn(23,v.elements.end,Pt,v)}function Jo(v){an(v.dotDotDotToken),an(v.name),an(v.questionToken),kn(58,v.name.end,Pt,v),Dt(),an(v.type)}function is(v){an(v.type,Tn.parenthesizeElementTypeOfArrayType),Pt("?")}function mn(v){qa(v,v.types,516,Tn.parenthesizeMemberOfElementType)}function _r(v){qa(v,v.types,520,Tn.parenthesizeMemberOfElementType)}function $r(v){an(v.checkType,Tn.parenthesizeMemberOfConditionalType),Dt(),gi("extends"),Dt(),an(v.extendsType,Tn.parenthesizeMemberOfConditionalType),Dt(),Pt("?"),Dt(),an(v.trueType),Dt(),Pt(":"),Dt(),an(v.falseType)}function ia(v){gi("infer"),Dt(),an(v.typeParameter)}function ti(v){Pt("("),an(v.type),Pt(")")}function va(){gi("this")}function Ve(v){Mu(v.operator,gi),Dt(),an(v.type,Tn.parenthesizeMemberOfElementType)}function ce(v){an(v.objectType,Tn.parenthesizeMemberOfElementType),Pt("["),an(v.indexType),Pt("]")}function dn(v){var nn=e.getEmitFlags(v);Pt("{"),nn&1?Dt():(Ls(),Dl()),v.readonlyToken&&(an(v.readonlyToken),v.readonlyToken.kind!==143&&gi("readonly"),Dt()),Pt("["),ft(3,v.typeParameter),v.nameType&&(Dt(),gi("as"),Dt(),an(v.nameType)),Pt("]"),v.questionToken&&(an(v.questionToken),v.questionToken.kind!==57&&Pt("?")),Pt(":"),Dt(),an(v.type),wo(),nn&1?Dt():(Ls(),ec()),Pt("}")}function j(v){ir(v.literal)}function Ie(v){an(v.head),qa(v,v.templateSpans,262144)}function We(v){v.isTypeOf&&(gi("typeof"),Dt()),gi("import"),Pt("("),an(v.argument),Pt(")"),v.qualifier&&(Pt("."),an(v.qualifier)),_i(v,v.typeArguments)}function sn(v){Pt("{"),qa(v,v.elements,525136),Pt("}")}function Hn(v){Pt("["),qa(v,v.elements,524880),Pt("]")}function vr(v){an(v.dotDotDotToken),v.propertyName&&(an(v.propertyName),Pt(":"),Dt()),an(v.name),kr(v.initializer,v.name.end,v,Tn.parenthesizeExpressionForDisallowedComma)}function Sr(v){var nn=v.elements,mr=v.multiLine?65536:0;so(v,nn,8914|mr,Tn.parenthesizeExpressionForDisallowedComma)}function ot(v){e.forEach(v.properties,As);var nn=e.getEmitFlags(v)&65536;nn&&Dl();var mr=v.multiLine?65536:0,Br=Se.languageVersion>=1&&!e.isJsonSourceFile(Se)?64:0;qa(v,v.properties,526226|Br|mr),nn&&ec()}function Et(v){ir(v.expression,Tn.parenthesizeLeftSideOfAccess);var nn=v.questionDotToken||e.setTextRangePosEnd(e.factory.createToken(24),v.expression.end,v.name.pos),mr=Zc(v,v.expression,nn),Br=Zc(v,nn,v.name);al(mr,!1);var ya=nn.kind!==28&&ra(v.expression)&&!we.hasTrailingComment()&&!we.hasTrailingWhitespace();ya&&Pt("."),v.questionDotToken?an(nn):kn(nn.kind,v.expression.end,Pt,v),al(Br,!1),an(v.name),Ic(mr,Br)}function ra(v){if(v=e.skipPartiallyEmittedExpressions(v),e.isNumericLiteral(v)){var nn=$c(v,!0,!1);return!v.numericLiteralFlags&&!e.stringContains(nn,e.tokenToString(24))}else if(e.isAccessExpression(v)){var mr=e.getConstantValue(v);return typeof mr=="number"&&isFinite(mr)&&Math.floor(mr)===mr}}function Na(v){ir(v.expression,Tn.parenthesizeLeftSideOfAccess),an(v.questionDotToken),kn(22,v.expression.end,Pt,v),ir(v.argumentExpression),kn(23,v.argumentExpression.end,Pt,v)}function ei(v){var nn=e.getEmitFlags(v)&536870912;nn&&(Pt("("),ki("0"),Pt(","),Dt()),ir(v.expression,Tn.parenthesizeLeftSideOfAccess),nn&&Pt(")"),an(v.questionDotToken),_i(v,v.typeArguments),so(v,v.arguments,2576,Tn.parenthesizeExpressionForDisallowedComma)}function Li(v){kn(103,v.pos,gi,v),Dt(),ir(v.expression,Tn.parenthesizeExpressionOfNew),_i(v,v.typeArguments),so(v,v.arguments,18960,Tn.parenthesizeExpressionForDisallowedComma)}function Zi(v){var nn=e.getEmitFlags(v)&536870912;nn&&(Pt("("),ki("0"),Pt(","),Dt()),ir(v.tag,Tn.parenthesizeLeftSideOfAccess),nn&&Pt(")"),_i(v,v.typeArguments),Dt(),ir(v.template)}function ho(v){Pt("<"),an(v.type),Pt(">"),ir(v.expression,Tn.parenthesizeOperandOfPrefixUnary)}function vs(v){var nn=kn(20,v.pos,Pt,v),mr=Kl(v.expression,v);ir(v.expression,void 0),wp(v.expression,v),Ic(mr),kn(21,v.expression?v.expression.end:nn,Pt,v)}function Ao(v){fl(v.name),wa(v)}function oo(v){Ba(v,v.decorators),er(v,v.modifiers),Ui(v,Zo)}function Zo(v){No(v,v.typeParameters),Qt(v,v.parameters),pr(v.type),Dt(),an(v.equalsGreaterThanToken)}function cl(v){kn(89,v.pos,gi,v),Dt(),ir(v.expression,Tn.parenthesizeOperandOfPrefixUnary)}function ws(v){kn(112,v.pos,gi,v),Dt(),ir(v.expression,Tn.parenthesizeOperandOfPrefixUnary)}function vl(v){kn(114,v.pos,gi,v),Dt(),ir(v.expression,Tn.parenthesizeOperandOfPrefixUnary)}function ul(v){kn(131,v.pos,gi,v),Dt(),ir(v.expression,Tn.parenthesizeOperandOfPrefixUnary)}function ps(v){Mu(v.operator,Qc),jl(v)&&Dt(),ir(v.operand,Tn.parenthesizeOperandOfPrefixUnary)}function jl(v){var nn=v.operand;return nn.kind===217&&(v.operator===39&&(nn.operator===39||nn.operator===45)||v.operator===40&&(nn.operator===40||nn.operator===46))}function Hl(v){ir(v.operand,Tn.parenthesizeOperandOfPostfixUnary),Mu(v.operator,Qc)}function Hs(){return e.createBinaryExpressionTrampoline(v,nn,mr,Br,ya,void 0);function v(Ha,ci){if(ci){ci.stackIndex++,ci.preserveSourceNewlinesStack[ci.stackIndex]=qe,ci.containerPosStack[ci.stackIndex]=le,ci.containerEndStack[ci.stackIndex]=Pe,ci.declarationListContainerEndStack[ci.stackIndex]=xe;var Xi=ci.shouldEmitCommentsStack[ci.stackIndex]=xt(Ha),ns=ci.shouldEmitSourceMapsStack[ci.stackIndex]=Kr(Ha);P==null||P(Ha),Xi&&tf(Ha),ns&&bu(Ha),Dr(Ha)}else ci={stackIndex:0,preserveSourceNewlinesStack:[void 0],containerPosStack:[-1],containerEndStack:[-1],declarationListContainerEndStack:[-1],shouldEmitCommentsStack:[!1],shouldEmitSourceMapsStack:[!1]};return ci}function nn(Ha,ci,Xi){return Pa(Ha,Xi,"left")}function mr(Ha,ci,Xi){var ns=Ha.kind!==27,fs=Zc(Xi,Xi.left,Ha),pl=Zc(Xi,Ha,Xi.right);al(fs,ns),gc(Ha.pos),dp(Ha,Ha.kind===101?gi:Qc),Fu(Ha.end,!0),al(pl,!0)}function Br(Ha,ci,Xi){return Pa(Ha,Xi,"right")}function ya(Ha,ci){var Xi=Zc(Ha,Ha.left,Ha.operatorToken),ns=Zc(Ha,Ha.operatorToken,Ha.right);if(Ic(Xi,ns),ci.stackIndex>0){var fs=ci.preserveSourceNewlinesStack[ci.stackIndex],pl=ci.containerPosStack[ci.stackIndex],Cs=ci.containerEndStack[ci.stackIndex],Ll=ci.declarationListContainerEndStack[ci.stackIndex],Wc=ci.shouldEmitCommentsStack[ci.stackIndex],Bu=ci.shouldEmitSourceMapsStack[ci.stackIndex];qr(fs),Bu&&Os(Ha),Wc&&Ef(Ha,pl,Cs,Ll),x==null||x(Ha),ci.stackIndex--}}function Pa(Ha,ci,Xi){var ns=Xi==="left"?Tn.getParenthesizeLeftSideOfBinaryForOperator(ci.operatorToken.kind):Tn.getParenthesizeRightSideOfBinaryForOperator(ci.operatorToken.kind),fs=dt(0,1,Ha);if(fs===ri&&(e.Debug.assertIsDefined(An),Ha=ns(e.cast(An,e.isExpression)),fs=Ur(1,1,Ha),An=void 0),(fs===Uf||fs===jf||fs===Cr)&&e.isBinaryExpression(Ha))return Ha;Ue=ns,fs(1,Ha)}}function Fs(v){var nn=Zc(v,v.condition,v.questionToken),mr=Zc(v,v.questionToken,v.whenTrue),Br=Zc(v,v.whenTrue,v.colonToken),ya=Zc(v,v.colonToken,v.whenFalse);ir(v.condition,Tn.parenthesizeConditionOfConditionalExpression),al(nn,!0),an(v.questionToken),al(mr,!0),ir(v.whenTrue,Tn.parenthesizeBranchOfConditionalExpression),Ic(nn,mr),al(Br,!0),an(v.colonToken),al(ya,!0),ir(v.whenFalse,Tn.parenthesizeBranchOfConditionalExpression),Ic(Br,ya)}function ge(v){an(v.head),qa(v,v.templateSpans,262144)}function Kn(v){kn(125,v.pos,gi,v),an(v.asteriskToken),rt(v.expression,Tn.parenthesizeExpressionForDisallowedComma)}function Te(v){kn(25,v.pos,Pt,v),ir(v.expression,Tn.parenthesizeExpressionForDisallowedComma)}function Fn(v){fl(v.name),Yt(v)}function et(v){ir(v.expression,Tn.parenthesizeLeftSideOfAccess),_i(v,v.typeArguments)}function Xt(v){ir(v.expression,void 0),v.type&&(Dt(),gi("as"),Dt(),an(v.type))}function ca(v){ir(v.expression,Tn.parenthesizeLeftSideOfAccess),Qc("!")}function ha(v){Ff(v.keywordToken,v.pos,Pt),Pt("."),an(v.name)}function To(v){ir(v.expression),an(v.literal)}function Pn(v){Vo(v,!v.multiLine&&jd(v))}function Vo(v,nn){kn(18,v.pos,Pt,v);var mr=nn||e.getEmitFlags(v)&1?768:129;qa(v,v.statements,mr),kn(19,v.statements.end,Pt,v,!!(mr&1))}function Ko(v){er(v,v.modifiers),an(v.declarationList),wo()}function hs(v){v?Pt(";"):wo()}function hl(v){ir(v.expression,Tn.parenthesizeExpressionOfExpressionStatement),(!e.isJsonSourceFile(Se)||e.nodeIsSynthesized(v.expression))&&wo()}function Bi(v){var nn=kn(99,v.pos,gi,v);Dt(),kn(20,nn,Pt,v),ir(v.expression),kn(21,v.expression.end,Pt,v),Ai(v,v.thenStatement),v.elseStatement&&(Bc(v,v.thenStatement,v.elseStatement),kn(91,v.thenStatement.end,gi,v),v.elseStatement.kind===237?(Dt(),an(v.elseStatement)):Ai(v,v.elseStatement))}function Js(v,nn){var mr=kn(115,nn,gi,v);Dt(),kn(20,mr,Pt,v),ir(v.expression),kn(21,v.expression.end,Pt,v)}function rl(v){kn(90,v.pos,gi,v),Ai(v,v.statement),e.isBlock(v.statement)&&!qe?Dt():Bc(v,v.statement,v.expression),Js(v,v.statement.end),wo()}function Ol(v){Js(v,v.pos),Ai(v,v.statement)}function nc(v){var nn=kn(97,v.pos,gi,v);Dt();var mr=kn(20,nn,Pt,v);du(v.initializer),mr=kn(26,v.initializer?v.initializer.end:mr,Pt,v),rt(v.condition),mr=kn(26,v.condition?v.condition.end:mr,Pt,v),rt(v.incrementor),kn(21,v.incrementor?v.incrementor.end:mr,Pt,v),Ai(v,v.statement)}function Sc(v){var nn=kn(97,v.pos,gi,v);Dt(),kn(20,nn,Pt,v),du(v.initializer),Dt(),kn(101,v.initializer.end,gi,v),Dt(),ir(v.expression),kn(21,v.expression.end,Pt,v),Ai(v,v.statement)}function Zl(v){var nn=kn(97,v.pos,gi,v);Dt(),ma(v.awaitModifier),kn(20,nn,Pt,v),du(v.initializer),Dt(),kn(158,v.initializer.end,gi,v),Dt(),ir(v.expression),kn(21,v.expression.end,Pt,v),Ai(v,v.statement)}function du(v){v!==void 0&&(v.kind===253?an(v):ir(v))}function dc(v){kn(86,v.pos,gi,v),gt(v.label),wo()}function $l(v){kn(81,v.pos,gi,v),gt(v.label),wo()}function kn(v,nn,mr,Br,ya){var Pa=e.getParseTreeNode(Br),Ha=Pa&&Pa.kind===Br.kind,ci=nn;if(Ha&&Se&&(nn=e.skipTrivia(Se.text,nn)),Ha&&Br.pos!==ci){var Xi=ya&&Se&&!e.positionsAreOnSameLine(ci,nn,Se);Xi&&Dl(),gc(ci),Xi&&ec()}if(nn=Mu(v,mr,nn),Ha&&Br.end!==nn){var ns=Br.kind===286;Fu(nn,!ns,ns)}return nn}function lr(v){kn(105,v.pos,gi,v),rt(v.expression),wo()}function Or(v){var nn=kn(116,v.pos,gi,v);Dt(),kn(20,nn,Pt,v),ir(v.expression),kn(21,v.expression.end,Pt,v),Ai(v,v.statement)}function st(v){var nn=kn(107,v.pos,gi,v);Dt(),kn(20,nn,Pt,v),ir(v.expression),kn(21,v.expression.end,Pt,v),Dt(),an(v.caseBlock)}function yt(v){an(v.label),kn(58,v.label.end,Pt,v),Dt(),an(v.statement)}function Tt(v){kn(109,v.pos,gi,v),rt(v.expression),wo()}function Ut(v){kn(111,v.pos,gi,v),Dt(),an(v.tryBlock),v.catchClause&&(Bc(v,v.tryBlock,v.catchClause),an(v.catchClause)),v.finallyBlock&&(Bc(v,v.catchClause||v.tryBlock,v.finallyBlock),kn(96,(v.catchClause||v.tryBlock).end,gi,v),Dt(),an(v.finallyBlock))}function ea(v){Ff(87,v.pos,gi),wo()}function zt(v){an(v.name),an(v.exclamationToken),pr(v.type),kr(v.initializer,v.type?v.type.end:v.name.end,v,Tn.parenthesizeExpressionForDisallowedComma)}function Ii(v){gi(e.isLet(v)?"let":e.isVarConst(v)?"const":"var"),Dt(),qa(v,v.declarations,528)}function ba(v){wa(v)}function wa(v){Ba(v,v.decorators),er(v,v.modifiers),gi("function"),an(v.asteriskToken),Dt(),zn(v.name),Ui(v,Fi)}function Ui(v,nn){var mr=v.body;if(mr)if(e.isBlock(mr)){var Br=e.getEmitFlags(v)&65536;Br&&Dl(),Nc(v),e.forEach(v.parameters,Bs),Bs(v.body),nn(v),un(mr),kc(v),Br&&ec()}else nn(v),Dt(),ir(mr,Tn.parenthesizeConciseBodyOfArrowFunction);else nn(v),wo()}function Fi(v){No(v,v.typeParameters),to(v,v.parameters),pr(v.type)}function he(v){if(e.getEmitFlags(v)&1)return!0;if(v.multiLine||!e.nodeIsSynthesized(v)&&!e.rangeIsOnSingleLine(v,Se)||Wd(v,v.statements,2)||Eo(v,v.statements,2))return!1;for(var nn,mr=0,Br=v.statements;mr0)return!1;nn=ya}return!0}function un(v){P==null||P(v),Dt(),Pt("{"),Dl();var nn=he(v)?Sn:Tr;Rc?Rc(v,v.statements,nn):nn(v),ec(),Ff(19,v.statements.end,Pt,v),x==null||x(v)}function Sn(v){Tr(v,!0)}function Tr(v,nn){var mr=c(v.statements),Br=we.getTextPos();eo(v),mr===0&&Br===we.getTextPos()&&nn?(ec(),qa(v,v.statements,768),Dl()):qa(v,v.statements,1,void 0,mr)}function Wr(v){Yt(v)}function Yt(v){e.forEach(v.members,As),Ba(v,v.decorators),er(v,v.modifiers),gi("class"),v.name&&(Dt(),zn(v.name));var nn=e.getEmitFlags(v)&65536;nn&&Dl(),No(v,v.typeParameters),qa(v,v.heritageClauses,0),Dt(),Pt("{"),qa(v,v.members,129),Pt("}"),nn&&ec()}function Ia(v){Ba(v,v.decorators),er(v,v.modifiers),gi("interface"),Dt(),an(v.name),No(v,v.typeParameters),qa(v,v.heritageClauses,512),Dt(),Pt("{"),qa(v,v.members,129),Pt("}")}function hi(v){Ba(v,v.decorators),er(v,v.modifiers),gi("type"),Dt(),an(v.name),No(v,v.typeParameters),Dt(),Pt("="),Dt(),an(v.type),wo()}function yo(v){er(v,v.modifiers),gi("enum"),Dt(),an(v.name),Dt(),Pt("{"),qa(v,v.members,145),Pt("}")}function Oo(v){er(v,v.modifiers),~v.flags&1024&&(gi(v.flags&16?"namespace":"module"),Dt()),an(v.name);var nn=v.body;if(!nn)return wo();for(;nn&&e.isModuleDeclaration(nn);)Pt("."),an(nn.name),nn=nn.body;Dt(),an(nn)}function ys(v){Nc(v),e.forEach(v.statements,Bs),Vo(v,jd(v)),kc(v)}function Pi(v){kn(18,v.pos,Pt,v),qa(v,v.clauses,129),kn(19,v.clauses.end,Pt,v,!0)}function Po(v){er(v,v.modifiers),kn(100,v.modifiers?v.modifiers.end:v.pos,gi,v),Dt(),v.isTypeOnly&&(kn(150,v.pos,gi,v),Dt()),an(v.name),Dt(),kn(63,v.name.end,Pt,v),Dt(),Jn(v.moduleReference),wo()}function Jn(v){v.kind===79?ir(v):an(v)}function zo(v){er(v,v.modifiers),kn(100,v.modifiers?v.modifiers.end:v.pos,gi,v),Dt(),v.importClause&&(an(v.importClause),Dt(),kn(154,v.importClause.end,gi,v),Dt()),ir(v.moduleSpecifier),wo()}function Es(v){v.isTypeOnly&&(kn(150,v.pos,gi,v),Dt()),an(v.name),v.name&&v.namedBindings&&(kn(27,v.name.end,Pt,v),Dt()),an(v.namedBindings)}function Rs(v){var nn=kn(41,v.pos,Pt,v);Dt(),kn(127,nn,gi,v),Dt(),an(v.name)}function pu(v){gu(v)}function ol(v){Xu(v)}function mu(v){var nn=kn(93,v.pos,gi,v);Dt(),v.isExportEquals?kn(63,nn,Qc,v):kn(88,nn,gi,v),Dt(),ir(v.expression,v.isExportEquals?Tn.getParenthesizeRightSideOfBinaryForOperator(63):Tn.parenthesizeExpressionOfExportDefault),wo()}function fo(v){var nn=kn(93,v.pos,gi,v);if(Dt(),v.isTypeOnly&&(nn=kn(150,nn,gi,v),Dt()),v.exportClause?an(v.exportClause):nn=kn(41,nn,Pt,v),v.moduleSpecifier){Dt();var mr=v.exportClause?v.exportClause.end:nn;kn(154,mr,gi,v),Dt(),ir(v.moduleSpecifier)}wo()}function tl(v){var nn=kn(93,v.pos,gi,v);Dt(),nn=kn(127,nn,gi,v),Dt(),nn=kn(141,nn,gi,v),Dt(),an(v.name),wo()}function zc(v){var nn=kn(41,v.pos,Pt,v);Dt(),kn(127,nn,gi,v),Dt(),an(v.name)}function _u(v){gu(v)}function qc(v){Xu(v)}function gu(v){Pt("{"),qa(v,v.elements,525136),Pt("}")}function Xu(v){v.propertyName&&(an(v.propertyName),Dt(),kn(127,v.propertyName.end,gi,v),Dt()),an(v.name)}function fd(v){gi("require"),Pt("("),ir(v.expression),Pt(")")}function ic(v){an(v.openingElement),qa(v,v.children,262144),an(v.closingElement)}function Pu(v){Pt("<"),Gc(v.tagName),_i(v,v.typeArguments),Dt(),an(v.attributes),Pt("/>")}function Bd(v){an(v.openingFragment),qa(v,v.children,262144),an(v.closingFragment)}function Za(v){if(Pt("<"),e.isJsxOpeningElement(v)){var nn=Kl(v.tagName,v);Gc(v.tagName),_i(v,v.typeArguments),v.attributes.properties&&v.attributes.properties.length>0&&Dt(),an(v.attributes),wp(v.attributes,v),Ic(nn)}Pt(">")}function da(v){we.writeLiteral(v.text)}function pc(v){Pt("")}function $o(v){qa(v,v.properties,262656)}function Yu(v){an(v.name),Er("=",Pt,v.initializer,gr)}function Dc(v){Pt("{..."),ir(v.expression),Pt("}")}function xf(v){var nn=!1;return e.forEachTrailingCommentRange((Se==null?void 0:Se.text)||"",v+1,function(){return nn=!0}),nn}function es(v){var nn=!1;return e.forEachLeadingCommentRange((Se==null?void 0:Se.text)||"",v+1,function(){return nn=!0}),nn}function If(v){return xf(v)||es(v)}function Qs(v){var nn;if(v.expression||!$e&&!e.nodeIsSynthesized(v)&&If(v.pos)){var mr=Se&&!e.nodeIsSynthesized(v)&&e.getLineAndCharacterOfPosition(Se,v.pos).line!==e.getLineAndCharacterOfPosition(Se,v.end).line;mr&&we.increaseIndent();var Br=kn(18,v.pos,Pt,v);an(v.dotDotDotToken),ir(v.expression),kn(19,((nn=v.expression)===null||nn===void 0?void 0:nn.end)||Br,Pt,v),mr&&we.decreaseIndent()}}function Gc(v){v.kind===79?ir(v):an(v)}function Ks(v){kn(82,v.pos,gi,v),Dt(),ir(v.expression,Tn.parenthesizeExpressionForDisallowedComma),mf(v,v.statements,v.expression.end)}function rc(v){var nn=kn(88,v.pos,gi,v);mf(v,v.statements,nn)}function mf(v,nn,mr){var Br=nn.length===1&&(e.nodeIsSynthesized(v)||e.nodeIsSynthesized(nn[0])||e.rangeStartPositionsAreOnSameLine(v,nn[0],Se)),ya=163969;Br?(Ff(58,mr,Pt,v),Dt(),ya&=-130):kn(58,mr,Pt,v),qa(v,nn,ya)}function _f(v){Dt(),Mu(v.token,gi),Dt(),qa(v,v.types,528)}function vu(v){var nn=kn(83,v.pos,gi,v);Dt(),v.variableDeclaration&&(kn(20,nn,Pt,v),an(v.variableDeclaration),kn(21,v.variableDeclaration.end,Pt,v),Dt()),an(v.block)}function Qu(v){an(v.name),Pt(":"),Dt();var nn=v.initializer;if(!(e.getEmitFlags(nn)&512)){var mr=e.getCommentRange(nn);Fu(mr.pos)}ir(nn,Tn.parenthesizeExpressionForDisallowedComma)}function gf(v){an(v.name),v.objectAssignmentInitializer&&(Dt(),Pt("="),Dt(),ir(v.objectAssignmentInitializer,Tn.parenthesizeExpressionForDisallowedComma))}function Nf(v){v.expression&&(kn(25,v.pos,Pt,v),ir(v.expression,Tn.parenthesizeExpressionForDisallowedComma))}function kf(v){an(v.name),kr(v.initializer,v.name.end,v,Tn.parenthesizeExpressionForDisallowedComma)}function dd(v){if(Qe("/**"),v.comment){var nn=e.getTextOfJSDocComment(v.comment);if(nn)for(var mr=nn.split(/\r\n?|\n/g),Br=0,ya=mr;Br'),He&&He.sections.push({pos:ya,end:we.getTextPos(),kind:"no-default-lib"}),Ls()}if(Se&&Se.moduleName&&(hu('/// '),Ls()),Se&&Se.amdDependencies)for(var Pa=0,Ha=Se.amdDependencies;Pa'):hu('/// '),Ls()}for(var Xi=0,ns=nn;Xi'),He&&He.sections.push({pos:ya,end:we.getTextPos(),kind:"reference",data:fs.fileName}),Ls()}for(var pl=0,Cs=mr;pl'),He&&He.sections.push({pos:ya,end:we.getTextPos(),kind:"type",data:fs.fileName}),Ls()}for(var Ll=0,Wc=Br;Ll'),He&&He.sections.push({pos:ya,end:we.getTextPos(),kind:"lib",data:fs.fileName}),Ls()}}function sl(v){var nn=v.statements;Nc(v),e.forEach(v.statements,Bs),eo(v);var mr=e.findIndex(nn,function(Br){return!e.isPrologueDirective(Br)});zs(v),qa(v,nn,1,void 0,mr===-1?nn.length:mr),kc(v)}function Mf(v){ir(v.expression)}function wf(v){so(v,v.elements,528,void 0)}function c(v,nn,mr,Br){for(var ya=!!nn,Pa=0;Pa=mr.length||Ha===0;if(Xi&&Br&32768){M&&M(mr),me&&me(mr);return}if(Br&15360&&(Pt(ne(Br)),Xi&&mr&&Fu(mr.pos,!0)),M&&M(mr),Xi)Br&1&&!(qe&&(!nn||e.rangeIsOnSingleLine(nn,Se)))?Ls():Br&256&&!(Br&524288)&&Dt();else{e.Debug.type(mr);var ns=(Br&262144)===0,fs=ns,pl=Wd(nn,mr,Br);pl?(Ls(pl),fs=!1):Br&256&&Dt(),Br&128&&Dl();for(var Cs=void 0,Ll=void 0,Wc=!1,Bu=0;Bu0?(Br&131||(Dl(),Wc=!0),Ls(jc),fs=!1):Cs&&Br&512&&Dt()}if(Ll=ar(Al),fs){if(Fu){var Gp=e.getCommentRange(Al);Fu(Gp.pos)}}else fs=ns;pe=Al.pos,v.length===1?v(Al):v(Al,ya),Wc&&(ec(),Wc=!1),Cs=Al}var Bp=Cs?e.getEmitFlags(Cs):0,Up=$e||!!(Bp&1024),Vp=(mr==null?void 0:mr.hasTrailingComma)&&Br&64&&Br&16;Vp&&(Cs&&!Up?kn(27,Cs.end,Pt,Cs):Pt(",")),Cs&&(nn?nn.end:-1)!==Cs.end&&Br&60&&!Up&&gc(Vp&&(mr!=null&&mr.end)?mr.end:Cs.end),Br&128&&ec(),Xn(Ll);var lf=Eo(nn,mr,Br);lf?Ls(lf):Br&2097408&&Dt()}me&&me(mr),Br&15360&&(Xi&&mr&&gc(mr.end),Pt(U(Br)))}}function ki(v){we.writeLiteral(v)}function Gs(v){we.writeStringLiteral(v)}function Ds(v){we.write(v)}function ko(v,nn){we.writeSymbol(v,nn)}function Pt(v){we.writePunctuation(v)}function wo(){we.writeTrailingSemicolon(";")}function gi(v){we.writeKeyword(v)}function Qc(v){we.writeOperator(v)}function Vd(v){we.writeParameter(v)}function hu(v){we.writeComment(v)}function Dt(){we.writeSpace(" ")}function hf(v){we.writeProperty(v)}function Ls(v){v===void 0&&(v=1);for(var nn=0;nn0)}function Dl(){we.increaseIndent()}function ec(){we.decreaseIndent()}function Ff(v,nn,mr,Br){return i?Mu(v,mr,nn):Ld(Br,v,mr,nn,Mu)}function dp(v,nn){z&&z(v),nn(e.tokenToString(v.kind)),K&&K(v)}function Mu(v,nn,mr){var Br=e.tokenToString(v);return nn(Br),mr<0?mr:mr+Br.length}function Bc(v,nn,mr){if(e.getEmitFlags(v)&1)Dt();else if(qe){var Br=Zc(v,nn,mr);Br?Ls(Br):Dt()}else Ls()}function Gf(v){for(var nn=v.split(/\r\n?|\n/g),mr=e.guessIndentation(nn),Br=0,ya=nn;Br0||Br>0)&&mr!==Br&&(ya||wu(mr,v.kind!==344),(!ya||mr>=0&&nn&512)&&(le=mr),(!Pa||Br>=0&&nn&1024)&&(Pe=Br,v.kind===253&&(xe=Br))),e.forEach(e.getSyntheticLeadingComments(v),af),ze()}function yd(v,nn,mr,Br,ya,Pa,Ha){Wn();var ci=Br<0||(nn&1024)!==0||v.kind===11;e.forEach(e.getSyntheticTrailingComments(v),Kd),(mr>0||Br>0)&&mr!==Br&&(le=ya,Pe=Pa,xe=Ha,!ci&&v.kind!==344&&sc(Br)),ze()}function af(v){(v.hasLeadingNewline||v.kind===2)&&we.writeLine(),gp(v),v.hasTrailingNewLine||v.kind===2?we.writeLine():we.writeSpace(" ")}function Kd(v){we.isAtStartOfLine()||we.writeSpace(" "),gp(v),v.hasTrailingNewLine&&we.writeLine()}function gp(v){var nn=Qa(v),mr=v.kind===3?e.computeLineStarts(nn):void 0;e.writeCommentRange(nn,mr,we,0,nn.length,Ae)}function Qa(v){return v.kind===3?"/*"+v.text+"*/":"//"+v.text}function Rc(v,nn,mr){Wn();var Br=nn.pos,ya=nn.end,Pa=e.getEmitFlags(v),Ha=Br<0||(Pa&512)!==0,ci=$e||ya<0||(Pa&1024)!==0;Ha||Vc(nn),ze(),Pa&2048&&!$e?($e=!0,mr(v),$e=!1):mr(v),Wn(),ci||(wu(nn.end,!0),Le&&!we.isAtStartOfLine()&&we.writeLine()),ze()}function Lt(v,nn){return v=e.getOriginalNode(v),v.parent&&v.parent===e.getOriginalNode(nn).parent}function Vf(v,nn){if(nn.pos-1&&Br.indexOf(nn)===ya+1}function wu(v,nn){Le=!1,nn?v===0&&(Se!=null&&Se.isDeclarationFile)?Gu(v,Wf):Gu(v,of):v===0&&Gu(v,Ed)}function Ed(v,nn,mr,Br,ya){qd(v,nn)&&of(v,nn,mr,Br,ya)}function Wf(v,nn,mr,Br,ya){qd(v,nn)||of(v,nn,mr,Br,ya)}function bd(v,nn){return d.onlyPrintJsDocStyle?e.isJSDocLikeText(v,nn)||e.isPinnedComment(v,nn):!0}function of(v,nn,mr,Br,ya){bd(Se.text,v)&&(Le||(e.emitNewLineBeforeLeadingCommentOfPosition(xn(),we,ya,v),Le=!0),no(v),e.writeCommentRange(Se.text,xn(),we,v,nn,Ae),no(nn),Br?we.writeLine():mr===3&&we.writeSpace(" "))}function gc(v){$e||v===-1||wu(v,!0)}function sc(v){sf(v,Td)}function Td(v,nn,mr,Br){bd(Se.text,v)&&(we.isAtStartOfLine()||we.writeSpace(" "),no(v),e.writeCommentRange(Se.text,xn(),we,v,nn,Ae),no(nn),Br&&we.writeLine())}function Fu(v,nn,mr){$e||(Wn(),sf(v,nn?Td:mr?vp:Sd),ze())}function vp(v,nn,mr){no(v),e.writeCommentRange(Se.text,xn(),we,v,nn,Ae),no(nn),mr===2&&we.writeLine()}function Sd(v,nn,mr,Br){no(v),e.writeCommentRange(Se.text,xn(),we,v,nn,Ae),no(nn),Br?we.writeLine():we.writeSpace(" ")}function Gu(v,nn){Se&&(le===-1||v!==le)&&(eu(v)?zd(nn):e.forEachLeadingCommentRange(Se.text,v,nn,v))}function sf(v,nn){Se&&(Pe===-1||v!==Pe&&v!==xe)&&e.forEachTrailingCommentRange(Se.text,v,nn)}function eu(v){return hn!==void 0&&e.last(hn).nodePos===v}function zd(v){var nn=e.last(hn).detachedCommentEndPos;hn.length-1?hn.pop():hn=void 0,e.forEachLeadingCommentRange(Se.text,nn,v,nn)}function Vc(v){var nn=e.emitDetachedComments(Se.text,xn(),we,Dd,v,Ae,$e);nn&&(hn?hn.push(nn):hn=[nn])}function Dd(v,nn,mr,Br,ya,Pa){bd(Se.text,Br)&&(no(Br),e.writeCommentRange(v,nn,mr,Br,ya,Pa),no(ya))}function qd(v,nn){return e.isRecognizedTripleSlashComment(Se.text,v,nn)}function Oc(v){return v.parsedSourceMap===void 0&&v.sourceMapText!==void 0&&(v.parsedSourceMap=e.tryParseRawSourceMap(v.sourceMapText)||!1),v.parsedSourceMap||void 0}function jf(v,nn){var mr=Ur(3,v,nn);bu(nn),mr(v,nn),Os(nn)}function bu(v){var nn=e.getEmitFlags(v),mr=e.getSourceMapRange(v);if(e.isUnparsedNode(v)){e.Debug.assertIsDefined(v.parent,"UnparsedNodes must have parent pointers");var Br=Oc(v.parent);Br&&In&&In.appendSourceMap(we.getLine(),we.getColumn(),Br,v.parent.sourceMapPath,v.parent.getLineAndCharacterOfPosition(v.pos),v.parent.getLineAndCharacterOfPosition(v.end))}else{var ya=mr.source||X;v.kind!==344&&!(nn&16)&&mr.pos>=0&&Hf(mr.source||X,Fp(ya,mr.pos)),nn&64&&(i=!0)}}function Os(v){var nn=e.getEmitFlags(v),mr=e.getSourceMapRange(v);e.isUnparsedNode(v)||(nn&64&&(i=!1),v.kind!==344&&!(nn&32)&&mr.end>=0&&Hf(mr.source||X,mr.end))}function Fp(v,nn){return v.skipTrivia?v.skipTrivia(nn):e.skipTrivia(v.text,nn)}function no(v){if(!(i||e.positionIsSynthesized(v)||bf(X))){var nn=e.getLineAndCharacterOfPosition(X,v),mr=nn.line,Br=nn.character;In.addMapping(we.getLine(),we.getColumn(),rn,mr,Br,void 0)}}function Hf(v,nn){if(v!==X){var mr=X,Br=rn;Xd(v),no(nn),Yd(mr,Br)}else no(nn)}function Ld(v,nn,mr,Br,ya){if(i||v&&e.isInJsonFile(v))return ya(nn,mr,Br);var Pa=v&&v.emitNode,Ha=Pa&&Pa.flags||0,ci=Pa&&Pa.tokenSourceMapRanges&&Pa.tokenSourceMapRanges[nn],Xi=ci&&ci.source||X;return Br=Fp(Xi,ci?ci.pos:Br),!(Ha&128)&&Br>=0&&Hf(Xi,Br),Br=ya(nn,mr,Br),ci&&(Br=ci.end),!(Ha&256)&&Br>=0&&Hf(Xi,Br),Br}function Xd(v){if(!i){if(X=v,v===$n){rn=Vn;return}bf(v)||(rn=In.addSource(v.fileName),d.inlineSources&&In.setSourceContent(rn,v.text),$n=v,Vn=rn)}}function Yd(v,nn){X=v,rn=nn}function bf(v){return e.fileExtensionIs(v.fileName,".json")}}e.createPrinter=w;function R(){var d=[];return d[1024]=["{","}"],d[2048]=["(",")"],d[4096]=["<",">"],d[8192]=["[","]"],d}function ne(d){return o[d&15360][0]}function U(d){return o[d&15360][1]}var C;(function(d){d[d.Auto=0]="Auto",d[d.CountMask=268435455]="CountMask",d[d._i=268435456]="_i"})(C||(C={}))})(vn||(vn={}));var vn;(function(e){function o(E,H,L){if(!E.getDirectories||!E.readDirectory)return;var ee=new e.Map,k=e.createGetCanonicalFileName(L);return{useCaseSensitiveFileNames:L,fileExists:d,readFile:function(M,me){return E.readFile(M,me)},directoryExists:E.directoryExists&&G,getDirectories:p,readDirectory:f,createDirectory:E.createDirectory&&g,writeFile:E.writeFile&&C,addOrDeleteFileOrDirectory:m,addOrDeleteFile:N,clearCache:x,realpath:E.realpath&&T};function b(M){return e.toPath(M,H,k)}function ie(M){return ee.get(e.ensureTrailingDirectorySeparator(M))}function q(M){return ie(e.getDirectoryPath(M))}function oe(M){return e.getBaseFileName(e.normalizePath(M))}function se(M,me){var z;if(!E.realpath||e.ensureTrailingDirectorySeparator(b(E.realpath(M)))===me){var K={files:e.map(E.readDirectory(M,void 0,void 0,["*.*"]),oe)||[],directories:E.getDirectories(M)||[]};return ee.set(e.ensureTrailingDirectorySeparator(me),K),K}if(!((z=E.directoryExists)===null||z===void 0)&&z.call(E,M))return ee.set(me,!1),!1}function w(M,me){me=e.ensureTrailingDirectorySeparator(me);var z=ie(me);if(z)return z;try{return se(M,me)}catch(K){e.Debug.assert(!ee.has(e.ensureTrailingDirectorySeparator(me)));return}}function R(M,me){return k(M)===k(me)}function ne(M,me){return e.some(M,function(z){return R(z,me)})}function U(M,me,z){if(ne(M,me)){if(!z)return e.filterMutate(M,function(K){return!R(K,me)})}else if(z)return M.push(me)}function C(M,me,z){var K=b(M),I=q(K);return I&&P(I,oe(M),!0),E.writeFile(M,me,z)}function d(M){var me=b(M),z=q(me);return z&&ne(z.files,oe(M))||E.fileExists(M)}function G(M){var me=b(M);return ee.has(e.ensureTrailingDirectorySeparator(me))||E.directoryExists(M)}function g(M){var me=b(M),z=q(me),K=oe(M);z&&U(z.directories,K,!0),E.createDirectory(M)}function p(M){var me=b(M),z=w(M,me);return z?z.directories.slice():E.getDirectories(M)}function f(M,me,z,K,I){var Ae=b(M),Oe=w(M,Ae),te;if(Oe!==void 0)return e.matchFiles(M,me,z,K,L,H,I,Se,T,G);return E.readDirectory(M,me,z,K,I);function Se(Ce){var Be=b(Ce);if(Be===Ae)return Oe||be(Ce,Be);var De=w(Ce,Be);return De!==void 0?De||be(Ce,Be):e.emptyFileSystemEntries}function be(Ce,Be){if(te&&Be===Ae)return te;var De={files:e.map(E.readDirectory(Ce,void 0,void 0,["*.*"]),oe)||e.emptyArray,directories:E.getDirectories(Ce)||e.emptyArray};return Be===Ae&&(te=De),De}}function T(M){return E.realpath?E.realpath(M):M}function m(M,me){var z=ie(me);if(z!==void 0){x();return}var K=q(me);if(K){if(!E.directoryExists){x();return}var I=oe(M),Ae={fileExists:E.fileExists(me),directoryExists:E.directoryExists(me)};return Ae.directoryExists||ne(K.directories,I)?x():P(K,I,Ae.fileExists),Ae}}function N(M,me,z){if(z!==e.FileWatcherEventKind.Changed){var K=q(me);K&&P(K,oe(M),z===e.FileWatcherEventKind.Created)}}function P(M,me,z){U(M.files,me,z)}function x(){ee.clear()}}e.createCachedDirectoryStructureHost=o;var ue;(function(E){E[E.None=0]="None",E[E.Partial=1]="Partial",E[E.Full=2]="Full"})(ue=e.ConfigFileProgramReloadLevel||(e.ConfigFileProgramReloadLevel={}));function $(E,H,L,ee,k){var b,ie=e.arrayToMap(((b=H==null?void 0:H.configFile)===null||b===void 0?void 0:b.extendedSourceFiles)||e.emptyArray,k);L.forEach(function(q,oe){ie.has(oe)||(q.projects.delete(E),q.close())}),ie.forEach(function(q,oe){var se=L.get(oe);se?se.projects.add(E):L.set(oe,{projects:new e.Set([E]),watcher:ee(q,oe),close:function(){var w=L.get(oe);!w||w.projects.size!==0||(w.watcher.close(),L.delete(oe))}})})}e.updateSharedExtendedConfigFileWatcher=$;function Y(E,H){H.forEach(function(L){L.projects.delete(E)&&L.close()})}e.clearSharedExtendedConfigFileWatcher=Y;function W(E,H,L){E.delete(H)&&E.forEach(function(ee,k){var b,ie=ee.extendedResult;!((b=ie.extendedSourceFiles)===null||b===void 0)&&b.some(function(q){return L(q)===H})&&W(E,k,L)})}e.cleanExtendedConfigCache=W;function re(E,H,L){var ee=new e.Map(E);e.mutateMap(H,ee,{createNewValue:L,onDeleteValue:e.closeFileWatcher})}e.updatePackageJsonWatch=re;function ye(E,H,L){var ee=E.getMissingFilePaths(),k=e.arrayToMap(ee,e.identity,e.returnTrue);e.mutateMap(H,k,{createNewValue:L,onDeleteValue:e.closeFileWatcher})}e.updateMissingFilePathsWatch=ye;function O(E,H,L){e.mutateMap(E,H,{createNewValue:ee,onDeleteValue:Z,onExistingValue:k});function ee(b,ie){return{watcher:L(b,ie),flags:ie}}function k(b,ie,q){b.flags!==ie&&(b.watcher.close(),E.set(q,ee(q,ie)))}}e.updateWatchingWildcardDirectories=O;function A(E){var H=E.watchedDirPath,L=E.fileOrDirectory,ee=E.fileOrDirectoryPath,k=E.configFileName,b=E.options,ie=E.program,q=E.extraFileExtensions,oe=E.currentDirectory,se=E.useCaseSensitiveFileNames,w=E.writeLog,R=E.toPath,ne=e.removeIgnoredPath(ee);if(!ne)return w("Project: "+k+" Detected ignored path: "+L),!0;if(ee=ne,ee===H)return!1;if(e.hasExtension(ee)&&!e.isSupportedSourceFileName(L,b,q))return w("Project: "+k+" Detected file add/remove of non supported extension: "+L),!0;if(e.isExcludedFile(L,b.configFile.configFileSpecs,e.getNormalizedAbsolutePath(e.getDirectoryPath(k),oe),se,oe))return w("Project: "+k+" Detected excluded file: "+L),!0;if(!ie||e.outFile(b)||b.outDir)return!1;if(e.fileExtensionIs(ee,".d.ts")){if(b.declarationDir)return!1}else if(!e.fileExtensionIsOneOf(ee,e.supportedJSExtensions))return!1;var U=e.removeFileExtension(ee),C=e.isArray(ie)?void 0:D(ie)?ie.getProgramOrUndefined():ie,d=!C&&!e.isArray(ie)?ie:void 0;if(G(U+".ts")||G(U+".tsx"))return w("Project: "+k+" Detected output file: "+L),!0;return!1;function G(g){return C?!!C.getSourceFileByPath(g):d?d.getState().fileInfos.has(g):!!e.find(ie,function(p){return R(p)===g})}}e.isIgnoredFileFromWildCardWatching=A;function D(E){return!!E.getState}function de(E,H){return E?E.isEmittedFile(H):!1}e.isEmittedFileOfProgram=de;var _e;(function(E){E[E.None=0]="None",E[E.TriggerOnly=1]="TriggerOnly",E[E.Verbose=2]="Verbose"})(_e=e.WatchLogLevel||(e.WatchLogLevel={}));function y(E,H,L,ee){e.setSysLog(H===_e.Verbose?L:e.noop);var k={watchFile:function(d,G,g,p){return E.watchFile(d,G,g,p)},watchDirectory:function(d,G,g,p){return E.watchDirectory(d,G,(g&1)!==0,p)}},b=H!==_e.None?{watchFile:U("watchFile"),watchDirectory:U("watchDirectory")}:void 0,ie=H===_e.Verbose?{watchFile:R,watchDirectory:ne}:b||k,q=H===_e.Verbose?w:e.returnNoopFileWatcher;return{watchFile:oe("watchFile"),watchDirectory:oe("watchDirectory")};function oe(d){return function(G,g,p,f,T,m){var N;return e.matchesExclude(G,d==="watchFile"?f==null?void 0:f.excludeFiles:f==null?void 0:f.excludeDirectories,se(),((N=E.getCurrentDirectory)===null||N===void 0?void 0:N.call(E))||"")?q(G,p,f,T,m):ie[d].call(void 0,G,g,p,f,T,m)}}function se(){return typeof E.useCaseSensitiveFileNames=="boolean"?E.useCaseSensitiveFileNames:E.useCaseSensitiveFileNames()}function w(d,G,g,p,f){return L("ExcludeWatcher:: Added:: "+C(d,G,g,p,f,ee)),{close:function(){return L("ExcludeWatcher:: Close:: "+C(d,G,g,p,f,ee))}}}function R(d,G,g,p,f,T){L("FileWatcher:: Added:: "+C(d,g,p,f,T,ee));var m=b.watchFile(d,G,g,p,f,T);return{close:function(){L("FileWatcher:: Close:: "+C(d,g,p,f,T,ee)),m.close()}}}function ne(d,G,g,p,f,T){var m="DirectoryWatcher:: Added:: "+C(d,g,p,f,T,ee);L(m);var N=e.timestamp(),P=b.watchDirectory(d,G,g,p,f,T),x=e.timestamp()-N;return L("Elapsed:: "+x+"ms "+m),{close:function(){var M="DirectoryWatcher:: Close:: "+C(d,g,p,f,T,ee);L(M);var me=e.timestamp();P.close();var z=e.timestamp()-me;L("Elapsed:: "+z+"ms "+M)}}}function U(d){return function(G,g,p,f,T,m){return k[d].call(void 0,G,function(){for(var N=[],P=0;P=4,qe=(De+1+"").length;Ne&&(qe=Math.max(V.length,qe));for(var pe="",we=be;we<=De;we++){pe+=te.getNewLine(),Ne&&be+1=0;){if(lr.markUsed(Tt))return Tt;var Ut=Or.text.slice(yt[Tt],yt[Tt+1]).trim();if(Ut!==""&&!/^(\s*)\/\/(.*)$/.test(Ut))return-1;Tt--}return-1}function us(kn){return Da(function(){var lr=[];return Or(kn,kn),e.forEachChildRecursively(kn,Or,st),lr;function Or(ea,zt){switch(zt.kind){case 162:case 165:case 167:if(zt.questionToken===ea)return lr.push(Ut(ea,e.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),"skip";case 166:case 169:case 170:case 171:case 211:case 254:case 212:case 252:if(zt.type===ea)return lr.push(Ut(ea,e.Diagnostics.Type_annotations_can_only_be_used_in_TypeScript_files)),"skip"}switch(ea.kind){case 265:if(ea.isTypeOnly)return lr.push(Ut(zt,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"import type")),"skip";break;case 270:if(ea.isTypeOnly)return lr.push(Ut(ea,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"export type")),"skip";break;case 263:return lr.push(Ut(ea,e.Diagnostics.import_can_only_be_used_in_TypeScript_files)),"skip";case 269:if(ea.isExportEquals)return lr.push(Ut(ea,e.Diagnostics.export_can_only_be_used_in_TypeScript_files)),"skip";break;case 289:var Ii=ea;if(Ii.token===117)return lr.push(Ut(ea,e.Diagnostics.implements_clauses_can_only_be_used_in_TypeScript_files)),"skip";break;case 256:var ba=e.tokenToString(118);return e.Debug.assertIsDefined(ba),lr.push(Ut(ea,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,ba)),"skip";case 259:var wa=ea.flags&16?e.tokenToString(141):e.tokenToString(140);return e.Debug.assertIsDefined(wa),lr.push(Ut(ea,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,wa)),"skip";case 257:return lr.push(Ut(ea,e.Diagnostics.Type_aliases_can_only_be_used_in_TypeScript_files)),"skip";case 258:var Ui=e.Debug.checkDefined(e.tokenToString(92));return lr.push(Ut(ea,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,Ui)),"skip";case 228:return lr.push(Ut(ea,e.Diagnostics.Non_null_assertions_can_only_be_used_in_TypeScript_files)),"skip";case 227:return lr.push(Ut(ea.type,e.Diagnostics.Type_assertion_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 209:e.Debug.fail()}}function st(ea,zt){switch(zt.decorators===ea&&!De.experimentalDecorators&&lr.push(Ut(zt,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)),zt.kind){case 255:case 224:case 167:case 169:case 170:case 171:case 211:case 254:case 212:if(ea===zt.typeParameters)return lr.push(Tt(ea,e.Diagnostics.Type_parameter_declarations_can_only_be_used_in_TypeScript_files)),"skip";case 235:if(ea===zt.modifiers)return yt(zt.modifiers,zt.kind===235),"skip";break;case 165:if(ea===zt.modifiers){for(var Ii=0,ba=ea;Ii0),Object.defineProperties(Ut,{id:{get:function(){return this.redirectInfo.redirectTarget.id},set:function(ea){this.redirectInfo.redirectTarget.id=ea}},symbol:{get:function(){return this.redirectInfo.redirectTarget.symbol},set:function(ea){this.redirectInfo.redirectTarget.symbol=ea}}}),Ut}function ra(kn,lr,Or,st,yt,Tt){e.tracing===null||e.tracing===void 0||e.tracing.push("program","findSourceFile",{fileName:kn,isDefaultLib:Or||void 0,fileIncludeKind:e.FileIncludeKind[yt.kind]});var Ut=Na(kn,lr,Or,st,yt,Tt);return e.tracing===null||e.tracing===void 0||e.tracing.pop(),Ut}function Na(kn,lr,Or,st,yt,Tt){if(Cn){var Ut=Zo(kn);if(!Ut&&Pe.realpath&&De.preserveSymlinks&&e.isDeclarationFileName(kn)&&e.stringContains(kn,e.nodeModulesPathPart)){var ea=Pe.realpath(kn);ea!==kn&&(Ut=Zo(ea))}if(Ut){var zt=e.isString(Ut)?ra(Ut,Ar(Ut),Or,st,yt,Tt):void 0;return zt&&Li(zt,lr,void 0),zt}}var Ii=kn;if(ar.has(lr)){var ba=ar.get(lr);if(ei(ba||void 0,yt),ba&&De.forceConsistentCasingInFileNames){var wa=ba.fileName,Ui=Ar(wa)!==Ar(kn);Ui&&(kn=Zi(kn)||kn);var Fi=e.getNormalizedAbsolutePathWithoutRoot(wa,An),he=e.getNormalizedAbsolutePathWithoutRoot(kn,An);Fi!==he&&ot(kn,ba,yt)}return ba&&le.get(ba.path)&&$n===0?(le.set(ba.path,!1),De.noResolve||(vl(ba,Or),ul(ba)),De.noLib||Hl(ba),Vn.set(ba.path,!1),Fs(ba)):ba&&Vn.get(ba.path)&&$n0),Wr.fileName=kn,Wr.path=lr,Wr.resolvedPath=Ar(kn),Wr.originalFileName=Ii,ei(Wr,yt),Pe.useCaseSensitiveFileNames()){var yo=e.toFileNameLowerCase(lr),Oo=yr.get(yo);Oo?ot(kn,Oo,yt):yr.set(yo,Wr)}Ze=Ze||Wr.hasNoDefaultLib&&!st,De.noResolve||(vl(Wr,Or),ul(Wr)),De.noLib||Hl(Wr),Fs(Wr),Or?qe.push(Wr):pe.push(Wr)}return Wr}function ei(kn,lr){kn&&fn.add(kn.path,lr)}function Li(kn,lr,Or){Or?(ar.set(Or,kn),ar.set(lr,kn||!1)):ar.set(lr,kn)}function Zi(kn){var lr=ho(kn);return lr&&vs(lr,kn)}function ho(kn){if(!(!cr||!cr.length||e.fileExtensionIs(kn,".d.ts")||e.fileExtensionIs(kn,".json")))return Ao(kn)}function vs(kn,lr){var Or=e.outFile(kn.commandLine.options);return Or?e.changeExtension(Or,".d.ts"):e.getOutputDeclarationFileName(lr,kn.commandLine,!Pe.useCaseSensitiveFileNames())}function Ao(kn){Bn===void 0&&(Bn=new e.Map,oo(function(Or){Ar(De.configFilePath)!==Or.sourceFile.path&&Or.commandLine.fileNames.forEach(function(st){return Bn.set(Ar(st),Or.sourceFile.path)})}));var lr=Bn.get(Ar(kn));return lr&&ws(lr)}function oo(kn){return e.forEachResolvedProjectReference(cr,kn)}function Zo(kn){if(e.isDeclarationFileName(kn))return J===void 0&&(J=new e.Map,oo(function(lr){var Or=e.outFile(lr.commandLine.options);if(Or){var st=e.changeExtension(Or,".d.ts");J.set(Ar(st),!0)}else{var yt=e.memoize(function(){return e.getCommonSourceDirectoryOfConfig(lr.commandLine,!Pe.useCaseSensitiveFileNames())});e.forEach(lr.commandLine.fileNames,function(Tt){if(!e.fileExtensionIs(Tt,".d.ts")&&!e.fileExtensionIs(Tt,".json")){var Ut=e.getOutputDeclarationFileName(Tt,lr.commandLine,!Pe.useCaseSensitiveFileNames(),yt);J.set(Ar(Ut),Tt)}})}})),J.get(Ar(kn))}function cl(kn){return Cn&&!!Ao(kn)}function ws(kn){if(Fe)return Fe.get(kn)||void 0}function vl(kn,lr){e.forEach(kn.referencedFiles,function(Or,st){vr(ue(Or.fileName,kn.fileName),lr,!1,void 0,{kind:e.FileIncludeKind.ReferenceFile,file:kn.path,index:st})})}function ul(kn){var lr=e.map(kn.typeReferenceDirectives,function(ea){return e.toFileNameLowerCase(ea.fileName)});if(lr)for(var Or=Ot(lr,kn),st=0;strn,Ui=ba&&!x(yt,Ut)&&!yt.noResolve&&Tt1})&&Bi(e.Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}if(De.useDefineForClassFields&&ba===0&&Bi(e.Diagnostics.Option_0_cannot_be_specified_when_option_target_is_ES3,"useDefineForClassFields"),De.checkJs&&!e.getAllowJSCompilerOption(De)&&$e.add(e.createCompilerDiagnostic(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs")),De.emitDeclarationOnly&&(e.getEmitDeclarations(De)||Bi(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite"),De.noEmit&&Bi(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"emitDeclarationOnly","noEmit")),De.emitDecoratorMetadata&&!De.experimentalDecorators&&Bi(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators"),De.jsxFactory?(De.reactNamespace&&Bi(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory"),(De.jsx===4||De.jsx===5)&&Bi(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFactory",e.inverseJsxOptionMap.get(""+De.jsx)),e.parseIsolatedEntityName(De.jsxFactory,ba)||Js("jsxFactory",e.Diagnostics.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,De.jsxFactory)):De.reactNamespace&&!e.isIdentifierText(De.reactNamespace,ba)&&Js("reactNamespace",e.Diagnostics.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,De.reactNamespace),De.jsxFragmentFactory&&(De.jsxFactory||Bi(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"jsxFragmentFactory","jsxFactory"),(De.jsx===4||De.jsx===5)&&Bi(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFragmentFactory",e.inverseJsxOptionMap.get(""+De.jsx)),e.parseIsolatedEntityName(De.jsxFragmentFactory,ba)||Js("jsxFragmentFactory",e.Diagnostics.Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name,De.jsxFragmentFactory)),De.reactNamespace&&(De.jsx===4||De.jsx===5)&&Bi(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"reactNamespace",e.inverseJsxOptionMap.get(""+De.jsx)),De.jsxImportSource&&De.jsx===2&&Bi(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxImportSource",e.inverseJsxOptionMap.get(""+De.jsx)),!De.noEmit&&!De.suppressOutputPathCheck){var un=Lr(),Sn=new e.Set;e.forEachEmittedFile(un,function(Wr){De.emitDeclarationOnly||Tr(Wr.jsFilePath,Sn),Tr(Wr.declarationFilePath,Sn)})}function Tr(Wr,Yt){if(Wr){var Ia=Ar(Wr);if(ar.has(Ia)){var hi=void 0;De.configFilePath||(hi=e.chainDiagnosticMessages(void 0,e.Diagnostics.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)),hi=e.chainDiagnosticMessages(hi,e.Diagnostics.Cannot_write_file_0_because_it_would_overwrite_input_file,Wr),Zl(Wr,e.createCompilerDiagnosticFromMessageChain(hi))}var yo=Pe.useCaseSensitiveFileNames()?Ia:e.toFileNameLowerCase(Ia);Yt.has(yo)?Zl(Wr,e.createCompilerDiagnostic(e.Diagnostics.Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files,Wr)):Yt.add(yo)}}}function Fn(kn,lr,Or,st){var yt,Tt,Ut,ea=w(lr)?lr:void 0;kn&&((yt=fn.get(kn.path))===null||yt===void 0||yt.forEach(Ui)),lr&&Ui(lr),ea&&(Tt==null?void 0:Tt.length)===1&&(Tt=void 0);var zt=ea&&ne(Mi,ea),Ii=Tt&&e.chainDiagnosticMessages(Tt,e.Diagnostics.The_file_is_in_the_program_because_Colon),ba=kn&&e.explainIfFileIsRedirect(kn),wa=e.chainDiagnosticMessages.apply(void 0,Vr([ba?Ii?Vr([Ii],ba,!0):ba:Ii,Or],st||e.emptyArray,!1));return zt&&R(zt)?e.createFileDiagnosticFromMessageChain(zt.file,zt.pos,zt.end-zt.pos,wa,Ut):e.createCompilerDiagnosticFromMessageChain(wa,Ut);function Ui(Fi){(Tt||(Tt=[])).push(e.fileIncludeReasonToDiagnostics(Cr,Fi)),!ea&&w(Fi)?ea=Fi:ea!==Fi&&(Ut=e.append(Ut,ca(Fi))),Fi===lr&&(lr=void 0)}}function et(kn,lr,Or,st){(X||(X=[])).push({kind:1,file:kn&&kn.path,fileProcessingReason:lr,diagnostic:Or,args:st})}function Xt(kn,lr,Or){$e.add(Fn(kn,void 0,lr,Or))}function ca(kn){if(w(kn)){var lr=ne(Mi,kn),Or;switch(kn.kind){case e.FileIncludeKind.Import:Or=e.Diagnostics.File_is_included_via_import_here;break;case e.FileIncludeKind.ReferenceFile:Or=e.Diagnostics.File_is_included_via_reference_here;break;case e.FileIncludeKind.TypeReferenceDirective:Or=e.Diagnostics.File_is_included_via_type_library_reference_here;break;case e.FileIncludeKind.LibReferenceDirective:Or=e.Diagnostics.File_is_included_via_library_reference_here;break;default:e.Debug.assertNever(kn)}return R(lr)?e.createFileDiagnostic(lr.file,lr.pos,lr.end-lr.pos,Or):void 0}if(De.configFile){var st,yt;switch(kn.kind){case e.FileIncludeKind.RootFile:if(!De.configFile.configFileSpecs)return;var Tt=e.getNormalizedAbsolutePath(Be[kn.index],An),Ut=e.getMatchedFileSpec(Cr,Tt);if(Ut){st=e.getTsConfigPropArrayElementValue(De.configFile,"files",Ut),yt=e.Diagnostics.File_is_matched_by_files_list_specified_here;break}var ea=e.getMatchedIncludeSpec(Cr,Tt);if(!ea)return;st=e.getTsConfigPropArrayElementValue(De.configFile,"include",ea),yt=e.Diagnostics.File_is_matched_by_include_pattern_specified_here;break;case e.FileIncludeKind.SourceFromProjectReference:case e.FileIncludeKind.OutputFromProjectReference:var zt=e.Debug.checkDefined(cr==null?void 0:cr[kn.index]),Ii=se(fe,cr,function(he,un,Sn){return he===zt?{sourceFile:(un==null?void 0:un.sourceFile)||De.configFile,index:Sn}:void 0});if(!Ii)return;var ba=Ii.sourceFile,wa=Ii.index,Ui=e.firstDefined(e.getTsConfigPropArray(ba,"references"),function(he){return e.isArrayLiteralExpression(he.initializer)?he.initializer:void 0});return Ui&&Ui.elements.length>wa?e.createDiagnosticForNodeInSourceFile(ba,Ui.elements[wa],kn.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(!De.types)return;st=hl("types",kn.typeReference),yt=e.Diagnostics.File_is_entry_point_of_type_library_specified_here;break;case e.FileIncludeKind.LibFile:if(kn.index!==void 0){st=hl("lib",De.lib[kn.index]),yt=e.Diagnostics.File_is_library_specified_here;break}var Fi=e.forEachEntry(e.targetOptionDeclaration.type,function(he,un){return he===De.target?un:void 0});st=Fi?hs("target",Fi):void 0,yt=e.Diagnostics.File_is_default_library_for_target_specified_here;break;default:e.Debug.assertNever(kn)}return st&&e.createDiagnosticForNodeInSourceFile(De.configFile,st,yt)}}function ha(){var kn=De.suppressOutputPathCheck?void 0:e.getTsBuildInfoEmitOutputFilePath(De);se(fe,cr,function(lr,Or,st){var yt=(Or?Or.commandLine.projectReferences:fe)[st],Tt=Or&&Or.sourceFile;if(!lr){rl(Tt,st,e.Diagnostics.File_0_not_found,yt.path);return}var Ut=lr.commandLine.options;if(!Ut.composite||Ut.noEmit){var ea=Or?Or.commandLine.fileNames:Be;ea.length&&(Ut.composite||rl(Tt,st,e.Diagnostics.Referenced_project_0_must_have_setting_composite_Colon_true,yt.path),Ut.noEmit&&rl(Tt,st,e.Diagnostics.Referenced_project_0_may_not_disable_emit,yt.path))}if(yt.prepend){var zt=e.outFile(Ut);zt?Pe.fileExists(zt)||rl(Tt,st,e.Diagnostics.Output_file_0_from_project_1_does_not_exist,zt,yt.path):rl(Tt,st,e.Diagnostics.Cannot_prepend_project_0_because_it_does_not_have_outFile_set,yt.path)}!Or&&kn&&kn===e.getTsBuildInfoEmitOutputFilePath(Ut)&&(rl(Tt,st,e.Diagnostics.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1,kn,yt.path),Wn.set(Ar(kn),!0))})}function To(kn,lr,Or,st,yt,Tt){for(var Ut=!0,ea=Ko(),zt=0,Ii=ea;ztlr&&($e.add(e.createDiagnosticForNodeInSourceFile(De.configFile,he.elements[lr],Or,st,yt,Tt)),Ut=!1)}}Ut&&$e.add(e.createCompilerDiagnostic(Or,st,yt,Tt))}function Pn(kn,lr,Or,st){for(var yt=!0,Tt=Ko(),Ut=0,ea=Tt;Utlr?$e.add(e.createDiagnosticForNodeInSourceFile(kn||De.configFile,Tt.elements[lr],Or,st,yt)):$e.add(e.createCompilerDiagnostic(Or,st,yt))}function Ol(kn,lr,Or,st,yt,Tt,Ut){var ea=nc(),zt=!ea||!Sc(ea,kn,lr,Or,st,yt,Tt,Ut);zt&&$e.add(e.createCompilerDiagnostic(st,yt,Tt,Ut))}function nc(){if(ze===void 0){ze=!1;var kn=e.getTsConfigObjectLiteralExpression(De.configFile);if(kn)for(var lr=0,Or=e.getPropertyAssignment(kn,"compilerOptions");lr0)for(var f=d.getTypeChecker(),T=0,m=G.imports;T0)for(var M=0,me=G.referencedFiles;M1&&Be(Ce)}return p;function Be(en){if(en.declarations)for(var fe=0,Ne=en.declarations;fe0;){var M=x.pop();if(!P.has(M)){var me=G.getSourceFileByPath(M);P.set(M,me),me&&ee(d,G,me,p,f,T,m)&&x.push.apply(x,oe(d,me.resolvedPath))}}return e.arrayFrom(e.mapDefinedIterator(P.values(),function(z){return z}))}})(ue=e.BuilderState||(e.BuilderState={}))})(vn||(vn={}));var vn;(function(e){var o;(function(f){f[f.DtsOnly=0]="DtsOnly",f[f.Full=1]="Full"})(o=e.BuilderFileEmit||(e.BuilderFileEmit={}));function ue(f,T){return f===T||f!==void 0&&T!==void 0&&f.size===T.size&&!e.forEachKey(f,function(m){return!T.has(m)})}function $(f,T,m,N){var P=e.BuilderState.create(f,T,m,N);P.program=f;var x=f.getCompilerOptions();P.compilerOptions=x,e.outFile(x)||(P.semanticDiagnosticsPerFile=new e.Map),P.changedFilesSet=new e.Set;var M=e.BuilderState.canReuseOldState(P.referencedMap,m),me=M?m.compilerOptions:void 0,z=M&&m.semanticDiagnosticsPerFile&&!!P.semanticDiagnosticsPerFile&&!e.compilerOptionsAffectSemanticDiagnostics(x,me);if(M){if(!m.currentChangedFilePath){var K=m.currentAffectedFilesSignatures;e.Debug.assert(!m.affectedFiles&&(!K||!K.size),"Cannot reuse if only few affected files of currentChangedFile were iterated")}var I=m.changedFilesSet;z&&e.Debug.assert(!I||!e.forEachKey(I,function(be){return m.semanticDiagnosticsPerFile.has(be)}),"Semantic diagnostics shouldnt be available for changed files"),I==null||I.forEach(function(be){return P.changedFilesSet.add(be)}),!e.outFile(x)&&m.affectedFilesPendingEmit&&(P.affectedFilesPendingEmit=m.affectedFilesPendingEmit.slice(),P.affectedFilesPendingEmitKind=m.affectedFilesPendingEmitKind&&new e.Map(m.affectedFilesPendingEmitKind),P.affectedFilesPendingEmitIndex=m.affectedFilesPendingEmitIndex,P.seenAffectedFiles=new e.Set)}var Ae=P.referencedMap,Oe=M?m.referencedMap:void 0,te=z&&!x.skipLibCheck==!me.skipLibCheck,Se=te&&!x.skipDefaultLibCheck==!me.skipDefaultLibCheck;return P.fileInfos.forEach(function(be,Ce){var Be,De;if(!M||!(Be=m.fileInfos.get(Ce))||Be.version!==be.version||!ue(De=Ae&&Ae.getValues(Ce),Oe&&Oe.getValues(Ce))||De&&e.forEachKey(De,function(Ne){return!P.fileInfos.has(Ne)&&m.fileInfos.has(Ne)}))P.changedFilesSet.add(Ce);else if(z){var en=f.getSourceFileByPath(Ce);if(en.isDeclarationFile&&!te||en.hasNoDefaultLib&&!Se)return;var fe=m.semanticDiagnosticsPerFile.get(Ce);fe&&(P.semanticDiagnosticsPerFile.set(Ce,m.hasReusableDiagnostic?Y(fe,f,T):fe),P.semanticDiagnosticsFromOldState||(P.semanticDiagnosticsFromOldState=new e.Set),P.semanticDiagnosticsFromOldState.add(Ce))}}),M&&e.forEachEntry(m.fileInfos,function(be,Ce){return be.affectsGlobalScope&&!P.fileInfos.has(Ce)})?e.BuilderState.getAllFilesExcludingDefaultLibraryFile(P,f,void 0).forEach(function(be){return P.changedFilesSet.add(be.resolvedPath)}):me&&!e.outFile(x)&&e.compilerOptionsAffectEmit(x,me)&&(f.getSourceFiles().forEach(function(be){return d(P,be.resolvedPath,1)}),e.Debug.assert(!P.seenAffectedFiles||!P.seenAffectedFiles.size),P.seenAffectedFiles=P.seenAffectedFiles||new e.Set),P.buildInfoEmitPending=!!P.changedFilesSet.size,P}function Y(f,T,m){if(!f.length)return e.emptyArray;var N=e.getDirectoryPath(e.getNormalizedAbsolutePath(e.getTsBuildInfoEmitOutputFilePath(T.getCompilerOptions()),T.getCurrentDirectory()));return f.map(function(x){var M=W(x,T,P);M.reportsUnnecessary=x.reportsUnnecessary,M.reportsDeprecated=x.reportDeprecated,M.source=x.source,M.skippedOn=x.skippedOn;var me=x.relatedInformation;return M.relatedInformation=me?me.length?me.map(function(z){return W(z,T,P)}):[]:void 0,M});function P(x){return e.toPath(x,N,m)}}function W(f,T,m){var N=f.file;return Mt(Mt({},f),{file:N?T.getSourceFileByPath(m(N)):void 0})}function re(f){e.BuilderState.releaseCache(f),f.program=void 0}function ye(f){var T,m=e.BuilderState.clone(f);return m.semanticDiagnosticsPerFile=f.semanticDiagnosticsPerFile&&new e.Map(f.semanticDiagnosticsPerFile),m.changedFilesSet=new e.Set(f.changedFilesSet),m.affectedFiles=f.affectedFiles,m.affectedFilesIndex=f.affectedFilesIndex,m.currentChangedFilePath=f.currentChangedFilePath,m.currentAffectedFilesSignatures=f.currentAffectedFilesSignatures&&new e.Map(f.currentAffectedFilesSignatures),m.currentAffectedFilesExportedModulesMap=(T=f.currentAffectedFilesExportedModulesMap)===null||T===void 0?void 0:T.clone(),m.seenAffectedFiles=f.seenAffectedFiles&&new e.Set(f.seenAffectedFiles),m.cleanedDiagnosticsOfLibFiles=f.cleanedDiagnosticsOfLibFiles,m.semanticDiagnosticsFromOldState=f.semanticDiagnosticsFromOldState&&new e.Set(f.semanticDiagnosticsFromOldState),m.program=f.program,m.compilerOptions=f.compilerOptions,m.affectedFilesPendingEmit=f.affectedFilesPendingEmit&&f.affectedFilesPendingEmit.slice(),m.affectedFilesPendingEmitKind=f.affectedFilesPendingEmitKind&&new e.Map(f.affectedFilesPendingEmitKind),m.affectedFilesPendingEmitIndex=f.affectedFilesPendingEmitIndex,m.seenEmittedFiles=f.seenEmittedFiles&&new e.Map(f.seenEmittedFiles),m.programEmitComplete=f.programEmitComplete,m}function O(f,T){e.Debug.assert(!T||!f.affectedFiles||f.affectedFiles[f.affectedFilesIndex-1]!==T||!f.semanticDiagnosticsPerFile.has(T.resolvedPath))}function A(f,T,m){for(;;){var N=f.affectedFiles;if(N){for(var P=f.seenAffectedFiles,x=f.affectedFilesIndex;x0;){var me=M.pop();if(!x.has(me)&&(x.set(me,!0),m(f,me),V(f,me))){var z=e.Debug.checkDefined(f.program).getSourceFileByPath(me);M.push.apply(M,e.BuilderState.getReferencedByPaths(f,z.resolvedPath))}}}e.Debug.assert(!!f.currentAffectedFilesExportedModulesMap);var K=new e.Set;(N=f.currentAffectedFilesExportedModulesMap.getKeys(T.resolvedPath))===null||N===void 0||N.forEach(function(I){return E(f,I,K,m)}),(P=f.exportedModulesMap.getKeys(T.resolvedPath))===null||P===void 0||P.forEach(function(I){var Ae;return!f.currentAffectedFilesExportedModulesMap.hasKey(I)&&!(!((Ae=f.currentAffectedFilesExportedModulesMap.deletedKeys())===null||Ae===void 0)&&Ae.has(I))&&E(f,I,K,m)})}}function E(f,T,m,N){var P;(P=f.referencedMap.getKeys(T))===null||P===void 0||P.forEach(function(x){return H(f,x,m,N)})}function H(f,T,m,N){var P,x,M;e.tryAddToSet(m,T)&&(N(f,T),e.Debug.assert(!!f.currentAffectedFilesExportedModulesMap),(P=f.currentAffectedFilesExportedModulesMap.getKeys(T))===null||P===void 0||P.forEach(function(me){return H(f,me,m,N)}),(x=f.exportedModulesMap.getKeys(T))===null||x===void 0||x.forEach(function(me){var z;return!f.currentAffectedFilesExportedModulesMap.hasKey(me)&&!(!((z=f.currentAffectedFilesExportedModulesMap.deletedKeys())===null||z===void 0)&&z.has(me))&&H(f,me,m,N)}),(M=f.referencedMap.getKeys(T))===null||M===void 0||M.forEach(function(me){return!m.has(me)&&N(f,me)}))}function L(f,T,m,N,P){P?f.buildInfoEmitPending=!1:T===f.program?(f.changedFilesSet.clear(),f.programEmitComplete=!0):(f.seenAffectedFiles.add(T.resolvedPath),m!==void 0&&(f.seenEmittedFiles||(f.seenEmittedFiles=new e.Map)).set(T.resolvedPath,m),N?(f.affectedFilesPendingEmitIndex++,f.buildInfoEmitPending=!0):f.affectedFilesIndex++)}function ee(f,T,m){return L(f,m),{result:T,affected:m}}function k(f,T,m,N,P,x){return L(f,m,N,P,x),{result:T,affected:m}}function b(f,T,m){return e.concatenate(ie(f,T,m),e.Debug.checkDefined(f.program).getProgramDiagnostics(T))}function ie(f,T,m){var N=T.resolvedPath;if(f.semanticDiagnosticsPerFile){var P=f.semanticDiagnosticsPerFile.get(N);if(P)return e.filterSemanticDiagnostics(P,f.compilerOptions)}var x=e.Debug.checkDefined(f.program).getBindAndCheckDiagnostics(T,m);return f.semanticDiagnosticsPerFile&&f.semanticDiagnosticsPerFile.set(N,x),e.filterSemanticDiagnostics(x,f.compilerOptions)}function q(f,T){if(e.outFile(f.compilerOptions))return;var m=e.Debug.checkDefined(f.program).getCurrentDirectory(),N=e.getDirectoryPath(e.getNormalizedAbsolutePath(e.getTsBuildInfoEmitOutputFilePath(f.compilerOptions),m)),P=[],x=new e.Map,M,me,z=e.arrayFrom(f.fileInfos.entries(),function(pn){var Qe=pn[0],Re=pn[1],He=pe(Qe);e.Debug.assert(P[He-1]===qe(Qe));var Ln=f.currentAffectedFilesSignatures&&f.currentAffectedFilesSignatures.get(Qe),Un=Ln!=null?Ln:Re.signature;return Re.version===Un?Re.affectsGlobalScope?{version:Re.version,signature:void 0,affectsGlobalScope:!0}:Re.version:Un!==void 0?Ln===void 0?Re:{version:Re.version,signature:Ln,affectsGlobalScope:Re.affectsGlobalScope}:{version:Re.version,signature:!1,affectsGlobalScope:Re.affectsGlobalScope}}),K;f.referencedMap&&(K=e.arrayFrom(f.referencedMap.keys()).sort(e.compareStringsCaseSensitive).map(function(pn){return[pe(pn),we(f.referencedMap.getValues(pn))]}));var I;f.exportedModulesMap&&(I=e.mapDefined(e.arrayFrom(f.exportedModulesMap.keys()).sort(e.compareStringsCaseSensitive),function(pn){var Qe;if(f.currentAffectedFilesExportedModulesMap){if(!((Qe=f.currentAffectedFilesExportedModulesMap.deletedKeys())===null||Qe===void 0)&&Qe.has(pn))return;var Re=f.currentAffectedFilesExportedModulesMap.getValues(pn);if(Re)return[pe(pn),we(Re)]}return[pe(pn),we(f.exportedModulesMap.getValues(pn))]}));var Ae;if(f.semanticDiagnosticsPerFile)for(var Oe=0,te=e.arrayFrom(f.semanticDiagnosticsPerFile.keys()).sort(e.compareStringsCaseSensitive);Oe1||Y.charCodeAt(0)!==47;if(O&&Y.search(/[a-zA-Z]:/)!==0&&ye.search(/[a-zA-z]\$\//)===0){if(re=Y.indexOf(e.directorySeparator,re+1),re===-1)return!1;ye=Y.substring(W+ye.length,re+1)}if(O&&ye.search(/users\//i)!==0)return!0;for(var A=re+1,D=2;D>0;D--)if(A=Y.indexOf(e.directorySeparator,A)+1,A===0)return!1;return!0}e.canWatchDirectory=ue;function $(Y,W,re){var ye,O,A,D=e.createMultiMap(),de=[],_e=e.createMultiMap(),y=!1,V,Z,E,H=e.memoize(function(){return Y.getCurrentDirectory()}),L=Y.getCachedDirectoryStructureHost(),ee=new e.Map,k=e.createCacheWithRedirects(),b=e.createCacheWithRedirects(),ie=e.createModuleResolutionCache(H(),Y.getCanonicalFileName,void 0,k,b),q=new e.Map,oe=e.createCacheWithRedirects(),se=e.createTypeReferenceDirectiveResolutionCache(H(),Y.getCanonicalFileName,void 0,ie.getPackageJsonInfoCache(),oe),w=[".ts",".tsx",".js",".jsx",".json"],R=new e.Map,ne=new e.Map,U=W&&e.removeTrailingDirectorySeparator(e.getNormalizedAbsolutePath(W,H())),C=U&&Y.toPath(U),d=C!==void 0?C.split(e.directorySeparator).length:0,G=new e.Map;return{getModuleResolutionCache:function(){return ie},startRecordingFilesWithChangedResolutions:m,finishRecordingFilesWithChangedResolutions:N,startCachingPerDirectoryResolution:M,finishCachingPerDirectoryResolution:me,resolveModuleNames:Oe,getResolvedModuleWithFailedLookupLocationsFromCache:te,resolveTypeReferenceDirectives:Ae,removeResolutionsFromProjectReferenceRedirects:Qe,removeResolutionsOfFile:Re,hasChangedAutomaticTypeDirectiveNames:function(){return y},invalidateResolutionOfFile:Ln,invalidateResolutionsOfFailedLookupLocations:En,setFilesWithInvalidatedNonRelativeUnresolvedImports:Un,createHasInvalidatedResolution:x,isFileWithInvalidatedNonRelativeUnresolvedImports:P,updateTypeRootsWatch:$n,closeTypeRootsWatch:In,clear:T};function g(le){return le.resolvedModule}function p(le){return le.resolvedTypeReferenceDirective}function f(le,Pe){return le===void 0||Pe.length<=le.length?!1:e.startsWith(Pe,le)&&Pe[le.length]===e.directorySeparator}function T(){e.clearMap(ne,e.closeFileWatcherOf),R.clear(),D.clear(),In(),ee.clear(),q.clear(),_e.clear(),de.length=0,V=void 0,Z=void 0,E=void 0,M(),y=!1}function m(){ye=[]}function N(){var le=ye;return ye=void 0,le}function P(le){if(!A)return!1;var Pe=A.get(le);return!!Pe&&!!Pe.length}function x(le){if(En(),le)return O=void 0,e.returnTrue;var Pe=O;return O=void 0,function(xe){return!!Pe&&Pe.has(xe)||P(xe)}}function M(){ie.clear(),se.clear(),D.forEach(fe),D.clear()}function me(){A=void 0,M(),ne.forEach(function(le,Pe){le.refCount===0&&(ne.delete(Pe),le.watcher.close())}),y=!1}function z(le,Pe,xe,Ze,hn){var Le,$e=e.resolveModuleName(le,Pe,xe,Ze,ie,hn);if(!Y.getGlobalCache)return $e;var An=Y.getGlobalCache();if(An!==void 0&&!e.isExternalModuleNameRelative(le)&&!($e.resolvedModule&&e.extensionIsTS($e.resolvedModule.extension))){var Ue=e.loadModuleFromGlobalCache(e.Debug.checkDefined(Y.globalCacheResolutionModuleName)(le),Y.projectName,xe,Ze,An,ie),gn=Ue.resolvedModule,Wn=Ue.failedLookupLocations;if(gn)return $e.resolvedModule=gn,(Le=$e.failedLookupLocations).push.apply(Le,Wn),$e}return $e}function K(le,Pe,xe,Ze,hn){return e.resolveTypeReferenceDirective(le,Pe,xe,Ze,hn,se)}function I(le){var Pe,xe,Ze,hn=le.names,Le=le.containingFile,$e=le.redirectedReference,An=le.cache,Ue=le.perDirectoryCacheWithRedirects,gn=le.loader,Wn=le.getResolutionWithResolvedFileName,ze=le.shouldRetryResolution,Tn=le.reusedNames,On=le.logChanges,ur=Y.toPath(Le),hr=An.get(ur)||An.set(ur,new e.Map).get(ur),wr=e.getDirectoryPath(ur),Qr=Ue.getOrCreateMapOfCacheRedirects($e),Ke=Qr.get(wr);Ke||(Ke=new e.Map,Qr.set(wr,Ke));for(var jn=[],Zn=Y.getCompilationSettings(),Me=On&&P(ur),Mn=Y.getCurrentProgram(),ar=Mn&&Mn.getResolvedProjectReferenceToRedirect(Le),Xn=ar?!$e||$e.sourceFile.path!==ar.sourceFile.path:!!$e,yr=new e.Map,cr=0,Fe=hn;crd+1?{dir:Ze.slice(0,d+1).join(e.directorySeparator),dirPath:xe.slice(0,d+1).join(e.directorySeparator)}:{dir:U,dirPath:C,nonRecursive:!1}}return Ce(e.getDirectoryPath(e.getNormalizedAbsolutePath(le,H())),e.getDirectoryPath(Pe))}function Ce(le,Pe){for(;e.pathContainsNodeModules(Pe);)le=e.getDirectoryPath(le),Pe=e.getDirectoryPath(Pe);if(e.isNodeModulesDirectory(Pe))return ue(e.getDirectoryPath(Pe))?{dir:le,dirPath:Pe}:void 0;var xe=!0,Ze,hn;if(C!==void 0)for(;!f(Pe,C);){var Le=e.getDirectoryPath(Pe);if(Le===Pe)break;xe=!1,Ze=Pe,hn=le,Pe=Le,le=e.getDirectoryPath(le)}return ue(Pe)?{dir:hn||le,dirPath:Ze||Pe,nonRecursive:xe}:void 0}function Be(le){return e.fileExtensionIsOneOf(le,w)}function De(le,Pe,xe,Ze){if(Pe.refCount)Pe.refCount++,e.Debug.assertDefined(Pe.files);else{Pe.refCount=1,e.Debug.assert(e.length(Pe.files)===0),e.isExternalModuleNameRelative(le)?en(Pe):D.add(le,Pe);var hn=Ze(Pe);hn&&hn.resolvedFileName&&_e.add(Y.toPath(hn.resolvedFileName),Pe)}(Pe.files||(Pe.files=[])).push(xe)}function en(le){e.Debug.assert(!!le.refCount);var Pe=le.failedLookupLocations;if(Pe.length){de.push(le);for(var xe=!1,Ze=0,hn=Pe;Ze1),R.set(gn,Tn-1))),ze===C?Le=!0:pe(ze)}}Le&&pe(C)}}}function pe(le){var Pe=ne.get(le);Pe.refCount--}function we(le,Pe,xe){return Y.watchDirectoryOfFailedLookupLocation(le,function(Ze){var hn=Y.toPath(Ze);L&&L.addOrDeleteFileOrDirectory(Ze,hn),fn(hn,Pe===hn)},xe?0:1)}function pn(le,Pe,xe){var Ze=le.get(Pe);Ze&&(Ze.forEach(function(hn){return qe(hn,Pe,xe)}),le.delete(Pe))}function Qe(le){if(e.fileExtensionIs(le,".json")){var Pe=Y.getCurrentProgram();if(Pe){var xe=Pe.getResolvedProjectReferenceByPath(le);xe&&xe.commandLine.fileNames.forEach(function(Ze){return Re(Y.toPath(Ze))})}}}function Re(le){pn(ee,le,g),pn(q,le,p)}function He(le,Pe){if(!le)return!1;for(var xe=!1,Ze=0,hn=le;Ze1&&Ce.sort(k),z.push.apply(z,Ce));var Be=e.getDirectoryPath(Se);if(Be===Se)return I=Se,"break";Se=Be,I=Se},I,Ae=e.getDirectoryPath(m);M.size!==0;){var Oe=K(Ae);if(Ae=I,Oe==="break")break}if(M.size){var te=e.arrayFrom(M.values());te.length>1&&te.sort(k),z.push.apply(z,te)}return z}function se(m,N){var P,x=(P=m.declarations)===null||P===void 0?void 0:P.find(function(z){return e.isNonGlobalAmbientModule(z)&&(!e.isExternalModuleAugmentation(z)||!e.isExternalModuleNameRelative(e.getTextOfIdentifierOrLiteral(z.name)))});if(x)return x.name.text;var M=e.mapDefined(m.declarations,function(z){var K,I,Ae,Oe;if(!e.isModuleDeclaration(z))return;var te=Be(z);if(!(!((K=te==null?void 0:te.parent)===null||K===void 0)&&K.parent&&e.isModuleBlock(te.parent)&&e.isAmbientModule(te.parent.parent)&&e.isSourceFile(te.parent.parent.parent)))return;var Se=(Oe=(Ae=(I=te.parent.parent.symbol.exports)===null||I===void 0?void 0:I.get("export="))===null||Ae===void 0?void 0:Ae.valueDeclaration)===null||Oe===void 0?void 0:Oe.expression;if(!Se)return;var be=N.getSymbolAtLocation(Se);if(!be)return;var Ce=(be==null?void 0:be.flags)&2097152?N.getAliasedSymbol(be):be;if(Ce===z.symbol)return te.parent.parent;function Be(De){for(;De.flags&4;)De=De.parent;return De}}),me=M[0];if(me)return me.name.text}function w(m,N,P){for(var x in P)for(var M=0,me=P[x];M=Ae.length+Oe.length&&e.startsWith(N,Ae)&&e.endsWith(N,Oe)||!Oe&&N===e.removeTrailingDirectorySeparator(Ae)){var te=N.substr(Ae.length,N.length-Oe.length-Ae.length);return x.replace("*",te)}}else if(K===N||K===m)return x}}function R(m,N,P,x,M,me){var z=d(N,m,x);if(z!==void 0){var K=d(P,m,x),I=K!==void 0?e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(K,z,x)):z;return e.getEmitModuleResolutionKind(me)===e.ModuleResolutionKind.NodeJs?G(I,M,me):e.removeFileExtension(I)}}function ne(m,N,P,x,M){var me=m.path,z=m.isRedirect,K=N.getCanonicalFileName,I=N.sourceDirectory;if(!P.fileExists||!P.readFile)return;var Ae=C(me);if(!Ae)return;var Oe=me,te=!1;if(!M)for(var Se=Ae.packageRootIndex,be=void 0;;){var Ce=pe(Se),Be=Ce.moduleFileToTry,De=Ce.packageRootPath;if(De){Oe=De,te=!0;break}if(be||(be=Be),Se=me.indexOf(e.directorySeparator,Se+1),Se===-1){Oe=we(be);break}}if(z&&!te)return;var en=P.getGlobalTypingsCacheLocation&&P.getGlobalTypingsCacheLocation(),fe=K(Oe.substring(0,Ae.topLevelNodeModulesIndex));if(!(e.startsWith(I,fe)||en&&e.startsWith(K(en),fe)))return;var Ne=Oe.substring(Ae.topLevelPackageNameIndex+1),qe=e.getPackageNameFromTypesPackageName(Ne);return e.getEmitModuleResolutionKind(x)!==e.ModuleResolutionKind.NodeJs&&qe===Ne?void 0:qe;function pe(pn){var Qe=me.substring(0,pn),Re=e.combinePaths(Qe,"package.json"),He=me;if(P.fileExists(Re)){var Ln=JSON.parse(P.readFile(Re)),Un=Ln.typesVersions?e.getPackageJsonTypesVersionsPaths(Ln.typesVersions):void 0;if(Un){var fn=me.slice(Qe.length+1),En=w(e.removeFileExtension(fn),G(fn,0,x),Un.paths);En!==void 0&&(He=e.combinePaths(Qe,En))}var i=Ln.typings||Ln.types||Ln.main;if(e.isString(i)){var In=e.toPath(i,Qe,K);if(e.removeFileExtension(In)===e.removeFileExtension(K(He)))return{packageRootPath:Qe,moduleFileToTry:He}}}return{moduleFileToTry:He}}function we(pn){var Qe=e.removeFileExtension(pn);return K(Qe.substring(Ae.fileNameIndex))==="/index"&&!U(P,Qe.substring(0,Ae.fileNameIndex))?Qe.substring(0,Ae.fileNameIndex):Qe}}function U(m,N){if(m.fileExists)for(var P=e.getSupportedExtensions({allowJs:!0},[{extension:"node",isMixedContent:!1},{extension:"json",isMixedContent:!1,scriptKind:6}]),x=0,M=P;x=0;)switch(z=K,K=m.indexOf("/",z+1),I){case 0:m.indexOf(e.nodeModulesPathPart,z)===z&&(N=z,P=K,I=1);break;case 1:case 2:I===1&&m.charAt(z+1)==="@"?I=2:(x=K,I=3);break;case 3:m.indexOf(e.nodeModulesPathPart,z)===z?I=1:I=3;break}return M=z,I>1?{topLevelNodeModulesIndex:N,topLevelPackageNameIndex:P,packageRootIndex:x,fileNameIndex:M}:void 0}function d(m,N,P){return e.firstDefined(N,function(x){var M=f(m,x,P);return T(M)?void 0:M})}function G(m,N,P){if(e.fileExtensionIs(m,".json"))return m;var x=e.removeFileExtension(m);switch(N){case 0:return e.removeSuffix(x,"/index");case 1:return x;case 2:return x+g(m,P);default:return e.Debug.assertNever(N)}}function g(m,N){var P;return(P=p(m,N))!==null&&P!==void 0?P:e.Debug.fail("Extension "+e.extensionFromPath(m)+" is unsupported:: FileName:: "+m)}function p(m,N){var P=e.tryGetExtensionFromPath(m);switch(P){case".ts":case".d.ts":return".js";case".tsx":return N.jsx===1?".jsx":".js";case".js":case".jsx":case".json":return P;default:return}}ue.tryGetJSExtensionForFile=p;function f(m,N,P){var x=e.getRelativePathToDirectoryOrUrl(N,m,N,P,!1);return e.isRootedDiskPath(x)?void 0:x}function T(m){return e.startsWith(m,"..")}})(o=e.moduleSpecifiers||(e.moduleSpecifiers={}))})(vn||(vn={}));var vn;(function(e){var o=e.sys?{getCurrentDirectory:function(){return e.sys.getCurrentDirectory()},getNewLine:function(){return e.sys.newLine},getCanonicalFileName:e.createGetCanonicalFileName(e.sys.useCaseSensitiveFileNames)}:void 0;function ue(d,G){var g=d===e.sys&&o?o:{getCurrentDirectory:function(){return d.getCurrentDirectory()},getNewLine:function(){return d.newLine},getCanonicalFileName:e.createGetCanonicalFileName(d.useCaseSensitiveFileNames)};if(!G)return function(f){return d.write(e.formatDiagnostic(f,g))};var p=new Array(1);return function(f){p[0]=f,d.write(e.formatDiagnosticsWithColorAndContext(p,g)+g.getNewLine()),p[0]=void 0}}e.createDiagnosticReporter=ue;function $(d,G,g){return d.clearScreen&&!g.preserveWatchOutput&&!g.extendedDiagnostics&&!g.diagnostics&&e.contains(e.screenStartingMessageCodes,G.code)?(d.clearScreen(),!0):!1}e.screenStartingMessageCodes=[e.Diagnostics.Starting_compilation_in_watch_mode.code,e.Diagnostics.File_change_detected_Starting_incremental_compilation.code];function Y(d,G){return e.contains(e.screenStartingMessageCodes,d.code)?G+G:G}function W(d){return d.now?d.now().toLocaleTimeString("en-US",{timeZone:"UTC"}):new Date().toLocaleTimeString()}e.getLocaleTimeString=W;function re(d,G){return G?function(g,p,f){$(d,g,f);var T="["+e.formatColorAndReset(W(d),e.ForegroundColorEscapeSequences.Grey)+"] ";T+=""+e.flattenDiagnosticMessageText(g.messageText,d.newLine)+(p+p),d.write(T)}:function(g,p,f){var T="";$(d,g,f)||(T+=p),T+=W(d)+" - ",T+=""+e.flattenDiagnosticMessageText(g.messageText,d.newLine)+Y(g,p),d.write(T)}}e.createWatchStatusReporter=re;function ye(d,G,g,p,f,T){var m=f;m.onUnRecoverableConfigFileDiagnostic=function(P){return R(f,T,P)};var N=e.getParsedCommandLineOfConfigFile(d,G,m,g,p);return m.onUnRecoverableConfigFileDiagnostic=void 0,N}e.parseConfigFileWithSystem=ye;function O(d){return e.countWhere(d,function(G){return G.category===e.DiagnosticCategory.Error})}e.getErrorCountForSummary=O;function A(d){return d===1?e.Diagnostics.Found_1_error_Watching_for_file_changes:e.Diagnostics.Found_0_errors_Watching_for_file_changes}e.getWatchErrorSummaryDiagnosticMessage=A;function D(d,G){if(d===0)return"";var g=e.createCompilerDiagnostic(d===1?e.Diagnostics.Found_1_error:e.Diagnostics.Found_0_errors,d);return""+G+e.flattenDiagnosticMessageText(g.messageText,G)+G+G}e.getErrorSummaryText=D;function de(d){return!!d.getState}e.isBuilderProgram=de;function _e(d,G){var g=d.getCompilerOptions();g.explainFiles?y(de(d)?d.getProgram():d,G):(g.listFiles||g.listFilesOnly)&&e.forEach(d.getSourceFiles(),function(p){G(p.fileName)})}e.listFiles=_e;function y(d,G){for(var g,p,f=d.getFileIncludeReasons(),T=e.createGetCanonicalFileName(d.useCaseSensitiveFileNames()),m=function(M){return e.convertToRelativePath(M,d.getCurrentDirectory(),T)},N=0,P=d.getSourceFiles();N0?e.ExitStatus.DiagnosticsPresent_OutputsSkipped:M.length>0?e.ExitStatus.DiagnosticsPresent_OutputsGenerated:e.ExitStatus.Success}e.emitFilesAndReportErrorsAndGetExitStatus=k,e.noopFileWatcher={close:e.noop},e.returnNoopFileWatcher=function(){return e.noopFileWatcher};function b(d,G){d===void 0&&(d=e.sys);var g=G||re(d);return{onWatchStatusChange:g,watchFile:e.maybeBind(d,d.watchFile)||e.returnNoopFileWatcher,watchDirectory:e.maybeBind(d,d.watchDirectory)||e.returnNoopFileWatcher,setTimeout:e.maybeBind(d,d.setTimeout)||e.noop,clearTimeout:e.maybeBind(d,d.clearTimeout)||e.noop}}e.createWatchHost=b,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 ie(d,G){var g=d.trace?G.extendedDiagnostics?e.WatchLogLevel.Verbose:G.diagnostics?e.WatchLogLevel.TriggerOnly:e.WatchLogLevel.None:e.WatchLogLevel.None,p=g!==e.WatchLogLevel.None?function(T){return d.trace(T)}:e.noop,f=e.getWatchFactory(d,g,p);return f.writeLog=p,f}e.createWatchFactory=ie;function q(d,G,g){g===void 0&&(g=d);var p=d.useCaseSensitiveFileNames(),f=e.memoize(function(){return d.getNewLine()});return{getSourceFile:function(m,N,P){var x;try{e.performance.mark("beforeIORead"),x=d.readFile(m,G().charset),e.performance.mark("afterIORead"),e.performance.measure("I/O Read","beforeIORead","afterIORead")}catch(M){P&&P(M.message),x=""}return x!==void 0?e.createSourceFile(m,x,N):void 0},getDefaultLibLocation:e.maybeBind(d,d.getDefaultLibLocation),getDefaultLibFileName:function(m){return d.getDefaultLibFileName(m)},writeFile:T,getCurrentDirectory:e.memoize(function(){return d.getCurrentDirectory()}),useCaseSensitiveFileNames:function(){return p},getCanonicalFileName:e.createGetCanonicalFileName(p),getNewLine:function(){return e.getNewLineCharacter(G(),f)},fileExists:function(m){return d.fileExists(m)},readFile:function(m){return d.readFile(m)},trace:e.maybeBind(d,d.trace),directoryExists:e.maybeBind(g,g.directoryExists),getDirectories:e.maybeBind(g,g.getDirectories),realpath:e.maybeBind(d,d.realpath),getEnvironmentVariable:e.maybeBind(d,d.getEnvironmentVariable)||function(){return""},createHash:e.maybeBind(d,d.createHash),readDirectory:e.maybeBind(d,d.readDirectory),disableUseFileVersionAsSignature:d.disableUseFileVersionAsSignature};function T(m,N,P,x){try{e.performance.mark("beforeIOWrite"),e.writeFileEnsuringDirectories(m,N,P,function(M,me,z){return d.writeFile(M,me,z)},function(M){return d.createDirectory(M)},function(M){return d.directoryExists(M)}),e.performance.mark("afterIOWrite"),e.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(M){x&&x(M.message)}}}e.createCompilerHostFromProgramHost=q;function oe(d,G){var g=d.getSourceFile,p=e.maybeBind(G,G.createHash)||e.generateDjb2Hash;d.getSourceFile=function(){for(var f=[],T=0;Tle?Pe:le}function ye(le){return e.fileExtensionIs(le,".d.ts")}function O(le){return!!le&&!!le.buildOrder}e.isCircularBuildOrder=O;function A(le){return O(le)?le.buildOrder:le}e.getBuildOrderFromAnyBuildOrder=A;function D(le,Pe){return function(xe){var Ze=Pe?"["+e.formatColorAndReset(e.getLocaleTimeString(le),e.ForegroundColorEscapeSequences.Grey)+"] ":e.getLocaleTimeString(le)+" - ";Ze+=""+e.flattenDiagnosticMessageText(xe.messageText,le.newLine)+(le.newLine+le.newLine),le.write(Ze)}}e.createBuilderStatusReporter=D;function de(le,Pe,xe,Ze){var hn=e.createProgramHost(le,Pe);return hn.getModifiedTime=le.getModifiedTime?function(Le){return le.getModifiedTime(Le)}:e.returnUndefined,hn.setModifiedTime=le.setModifiedTime?function(Le,$e){return le.setModifiedTime(Le,$e)}:e.noop,hn.deleteFile=le.deleteFile?function(Le){return le.deleteFile(Le)}:e.noop,hn.reportDiagnostic=xe||e.createDiagnosticReporter(le),hn.reportSolutionBuilderStatus=Ze||D(le),hn.now=e.maybeBind(le,le.now),hn}function _e(le,Pe,xe,Ze,hn){le===void 0&&(le=e.sys);var Le=de(le,Pe,xe,Ze);return Le.reportErrorSummary=hn,Le}e.createSolutionBuilderHost=_e;function y(le,Pe,xe,Ze,hn){le===void 0&&(le=e.sys);var Le=de(le,Pe,xe,Ze),$e=e.createWatchHost(le,hn);return e.copyProperties(Le,$e),Le}e.createSolutionBuilderWithWatchHost=y;function V(le){var Pe={};return e.commonOptionsWithBuild.forEach(function(xe){e.hasProperty(le,xe.name)&&(Pe[xe.name]=le[xe.name])}),Pe}function Z(le,Pe,xe){return He(!1,le,Pe,xe)}e.createSolutionBuilder=Z;function E(le,Pe,xe,Ze){return He(!0,le,Pe,xe,Ze)}e.createSolutionBuilderWithWatch=E;function H(le,Pe,xe,Ze,hn){var Le=Pe,$e=Pe,An=Le.getCurrentDirectory(),Ue=e.createGetCanonicalFileName(Le.useCaseSensitiveFileNames()),gn=V(Ze),Wn=e.createCompilerHostFromProgramHost(Le,function(){return jn.projectCompilerOptions});e.setGetSourceFileAsHashVersioned(Wn,Le),Wn.getParsedCommandLine=function(Zn){return ie(jn,Zn,ee(jn,Zn))},Wn.resolveModuleNames=e.maybeBind(Le,Le.resolveModuleNames),Wn.resolveTypeReferenceDirectives=e.maybeBind(Le,Le.resolveTypeReferenceDirectives);var ze=Wn.resolveModuleNames?void 0:e.createModuleResolutionCache(An,Ue),Tn=Wn.resolveTypeReferenceDirectives?void 0:e.createTypeReferenceDirectiveResolutionCache(An,Ue,void 0,ze==null?void 0:ze.getPackageJsonInfoCache());if(!Wn.resolveModuleNames){var On=function(Zn,Me,Mn){return e.resolveModuleName(Zn,Me,jn.projectCompilerOptions,Wn,ze,Mn).resolvedModule};Wn.resolveModuleNames=function(Zn,Me,Mn,ar){return e.loadWithLocalCache(e.Debug.checkEachDefined(Zn),Me,ar,On)}}if(!Wn.resolveTypeReferenceDirectives){var ur=function(Zn,Me,Mn){return e.resolveTypeReferenceDirective(Zn,Me,jn.projectCompilerOptions,Wn,Mn,jn.typeReferenceDirectiveResolutionCache).resolvedTypeReferenceDirective};Wn.resolveTypeReferenceDirectives=function(Zn,Me,Mn){return e.loadWithLocalCache(e.Debug.checkEachDefined(Zn),Me,Mn,ur)}}var hr=e.createWatchFactory($e,Ze),wr=hr.watchFile,Qr=hr.watchDirectory,Ke=hr.writeLog,jn={host:Le,hostWithWatch:$e,currentDirectory:An,getCanonicalFileName:Ue,parseConfigFileHost:e.parseConfigHostFromCompilerHostLike(Le),write:e.maybeBind(Le,Le.trace),options:Ze,baseCompilerOptions:gn,rootNames:xe,baseWatchOptions:hn,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:Wn,moduleResolutionCache:ze,typeReferenceDirectiveResolutionCache:Tn,buildOrder:void 0,readFileWithCache:function(Zn){return Le.readFile(Zn)},projectCompilerOptions:gn,cache:void 0,allProjectBuildPending:!0,needsSummary:!0,watchAllProjectsPending:le,currentInvalidatedProject:void 0,watch:le,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:wr,watchDirectory:Qr,writeLog:Ke};return jn}function L(le,Pe){return e.toPath(Pe,le.currentDirectory,le.getCanonicalFileName)}function ee(le,Pe){var xe=le.resolvedConfigFilePaths,Ze=xe.get(Pe);if(Ze!==void 0)return Ze;var hn=L(le,Pe);return xe.set(Pe,hn),hn}function k(le){return!!le.options}function b(le,Pe){var xe=le.configFileCache.get(Pe);return xe&&k(xe)?xe:void 0}function ie(le,Pe,xe){var Ze=le.configFileCache,hn=Ze.get(xe);if(hn)return k(hn)?hn:void 0;var Le,$e=le.parseConfigFileHost,An=le.baseCompilerOptions,Ue=le.baseWatchOptions,gn=le.extendedConfigCache,Wn=le.host,ze;return Wn.getParsedCommandLine?(ze=Wn.getParsedCommandLine(Pe),ze||(Le=e.createCompilerDiagnostic(e.Diagnostics.File_0_not_found,Pe))):($e.onUnRecoverableConfigFileDiagnostic=function(Tn){return Le=Tn},ze=e.getParsedCommandLineOfConfigFile(Pe,An,$e,gn,Ue),$e.onUnRecoverableConfigFileDiagnostic=e.noop),Ze.set(xe,ze||Le),ze}function q(le,Pe){return e.resolveConfigFileProjectName(e.resolvePath(le.currentDirectory,Pe))}function oe(le,Pe){for(var xe=new e.Map,Ze=new e.Map,hn=[],Le,$e,An=0,Ue=Pe;AnFe)}}}function N(le,Pe,xe){var Ze=le.options;return Pe.type!==e.UpToDateStatusType.OutOfDateWithPrepend||Ze.force?!0:xe.fileNames.length===0||!!e.getConfigFileParsingDiagnostics(xe).length||!e.isIncrementalCompilation(xe.options)}function P(le,Pe,xe){if(le.projectPendingBuild.size&&!O(Pe)){if(le.currentInvalidatedProject)return e.arrayIsEqualTo(le.currentInvalidatedProject.buildOrder,Pe)?le.currentInvalidatedProject:void 0;for(var Ze=le.options,hn=le.projectPendingBuild,Le=0;LeLe&&(hn=gn,Le=Wn)}}if(!Pe.fileNames.length&&!e.canJsonReportNoInputFiles(Pe.raw))return{type:e.UpToDateStatusType.ContainerOnly};var ze=e.getAllProjectOutputs(Pe,!$e.useCaseSensitiveFileNames()),Tn="(none)",On=ue,ur="(none)",hr=o,wr,Qr=o,Ke=!1;if(!Ze)for(var jn=0,Zn=ze;jnhr&&(hr=Mn,ur=Me),ye(Me)){var ar=e.getModifiedTime($e,Me);Qr=re(Qr,ar)}}var Xn=!1,yr=!1,cr;if(Pe.projectReferences){le.projectStatus.set(xe,{type:e.UpToDateStatusType.ComputingUpstream});for(var Fe=0,Bn=Pe.projectReferences;Fe=0}ue.hasArgument=Y;function W(ye){var O=e.sys.args.indexOf(ye);return O>=0&&OD)return 2;if(Z.charCodeAt(0)===46)return 3;if(Z.charCodeAt(0)===95)return 4;if(E){var H=/^@([^/]+)\/([^/]+)$/.exec(Z);if(H){var L=_e(H[1],!1);if(L!==0)return{name:H[1],isScopeName:!0,result:L};var ee=_e(H[2],!1);return ee!==0?{name:H[2],isScopeName:!1,result:ee}:0}}return encodeURIComponent(Z)!==Z?5:0}function y(Z,E){return typeof Z=="object"?V(E,Z.result,Z.name,Z.isScopeName):V(E,Z,E,!1)}ue.renderPackageNameValidationFailure=y;function V(Z,E,H,L){var ee=L?"Scope":"Package";switch(E){case 1:return"'"+Z+"':: "+ee+" name '"+H+"' cannot be empty";case 2:return"'"+Z+"':: "+ee+" name '"+H+"' should be less than "+D+" characters";case 3:return"'"+Z+"':: "+ee+" name '"+H+"' cannot start with '.'";case 4:return"'"+Z+"':: "+ee+" name '"+H+"' cannot start with '_'";case 5:return"'"+Z+"':: "+ee+" name '"+H+"' contains non URI safe characters";case 0:return e.Debug.fail();default:throw e.Debug.assertNever(E)}}})(o=e.JsTyping||(e.JsTyping={}))})(vn||(vn={}));var vn;(function(e){var o;(function(b){var ie=function(){function oe(se){this.text=se}return oe.prototype.getText=function(se,w){return se===0&&w===this.text.length?this.text:this.text.substring(se,w)},oe.prototype.getLength=function(){return this.text.length},oe.prototype.getChangeRange=function(){},oe}();function q(oe){return new ie(oe)}b.fromString=q})(o=e.ScriptSnapshot||(e.ScriptSnapshot={}));var ue;(function(b){b[b.Dependencies=1]="Dependencies",b[b.DevDependencies=2]="DevDependencies",b[b.PeerDependencies=4]="PeerDependencies",b[b.OptionalDependencies=8]="OptionalDependencies",b[b.All=15]="All"})(ue=e.PackageJsonDependencyGroup||(e.PackageJsonDependencyGroup={}));var $;(function(b){b[b.Off=0]="Off",b[b.On=1]="On",b[b.Auto=2]="Auto"})($=e.PackageJsonAutoImportPreference||(e.PackageJsonAutoImportPreference={}));var Y;(function(b){b[b.Semantic=0]="Semantic",b[b.PartialSemantic=1]="PartialSemantic",b[b.Syntactic=2]="Syntactic"})(Y=e.LanguageServiceMode||(e.LanguageServiceMode={})),e.emptyOptions={};var W;(function(b){b.Original="original",b.TwentyTwenty="2020"})(W=e.SemanticClassificationFormat||(e.SemanticClassificationFormat={}));var re;(function(b){b[b.Invoked=1]="Invoked",b[b.TriggerCharacter=2]="TriggerCharacter",b[b.TriggerForIncompleteCompletions=3]="TriggerForIncompleteCompletions"})(re=e.CompletionTriggerKind||(e.CompletionTriggerKind={}));var ye;(function(b){b.Type="Type",b.Parameter="Parameter",b.Enum="Enum"})(ye=e.InlayHintKind||(e.InlayHintKind={}));var O;(function(b){b.none="none",b.definition="definition",b.reference="reference",b.writtenReference="writtenReference"})(O=e.HighlightSpanKind||(e.HighlightSpanKind={}));var A;(function(b){b[b.None=0]="None",b[b.Block=1]="Block",b[b.Smart=2]="Smart"})(A=e.IndentStyle||(e.IndentStyle={}));var D;(function(b){b.Ignore="ignore",b.Insert="insert",b.Remove="remove"})(D=e.SemicolonPreference||(e.SemicolonPreference={}));function de(b){return{indentSize:4,tabSize:4,newLineCharacter:b||` `,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:D.Ignore,trimTrailingWhitespace:!0}}e.getDefaultFormatCodeSettings=de,e.testFormatSettings=de(` `);var _e;(function(b){b[b.aliasName=0]="aliasName",b[b.className=1]="className",b[b.enumName=2]="enumName",b[b.fieldName=3]="fieldName",b[b.interfaceName=4]="interfaceName",b[b.keyword=5]="keyword",b[b.lineBreak=6]="lineBreak",b[b.numericLiteral=7]="numericLiteral",b[b.stringLiteral=8]="stringLiteral",b[b.localName=9]="localName",b[b.methodName=10]="methodName",b[b.moduleName=11]="moduleName",b[b.operator=12]="operator",b[b.parameterName=13]="parameterName",b[b.propertyName=14]="propertyName",b[b.punctuation=15]="punctuation",b[b.space=16]="space",b[b.text=17]="text",b[b.typeParameterName=18]="typeParameterName",b[b.enumMemberName=19]="enumMemberName",b[b.functionName=20]="functionName",b[b.regularExpressionLiteral=21]="regularExpressionLiteral",b[b.link=22]="link",b[b.linkName=23]="linkName",b[b.linkText=24]="linkText"})(_e=e.SymbolDisplayPartKind||(e.SymbolDisplayPartKind={}));var y;(function(b){b.Comment="comment",b.Region="region",b.Code="code",b.Imports="imports"})(y=e.OutliningSpanKind||(e.OutliningSpanKind={}));var V;(function(b){b[b.JavaScript=0]="JavaScript",b[b.SourceMap=1]="SourceMap",b[b.Declaration=2]="Declaration"})(V=e.OutputFileType||(e.OutputFileType={}));var Z;(function(b){b[b.None=0]="None",b[b.InMultiLineCommentTrivia=1]="InMultiLineCommentTrivia",b[b.InSingleQuoteStringLiteral=2]="InSingleQuoteStringLiteral",b[b.InDoubleQuoteStringLiteral=3]="InDoubleQuoteStringLiteral",b[b.InTemplateHeadOrNoSubstitutionTemplate=4]="InTemplateHeadOrNoSubstitutionTemplate",b[b.InTemplateMiddleOrTail=5]="InTemplateMiddleOrTail",b[b.InTemplateSubstitutionPosition=6]="InTemplateSubstitutionPosition"})(Z=e.EndOfLineState||(e.EndOfLineState={}));var E;(function(b){b[b.Punctuation=0]="Punctuation",b[b.Keyword=1]="Keyword",b[b.Operator=2]="Operator",b[b.Comment=3]="Comment",b[b.Whitespace=4]="Whitespace",b[b.Identifier=5]="Identifier",b[b.NumberLiteral=6]="NumberLiteral",b[b.BigIntLiteral=7]="BigIntLiteral",b[b.StringLiteral=8]="StringLiteral",b[b.RegExpLiteral=9]="RegExpLiteral"})(E=e.TokenClass||(e.TokenClass={}));var H;(function(b){b.unknown="",b.warning="warning",b.keyword="keyword",b.scriptElement="script",b.moduleElement="module",b.classElement="class",b.localClassElement="local class",b.interfaceElement="interface",b.typeElement="type",b.enumElement="enum",b.enumMemberElement="enum member",b.variableElement="var",b.localVariableElement="local var",b.functionElement="function",b.localFunctionElement="local function",b.memberFunctionElement="method",b.memberGetAccessorElement="getter",b.memberSetAccessorElement="setter",b.memberVariableElement="property",b.constructorImplementationElement="constructor",b.callSignatureElement="call",b.indexSignatureElement="index",b.constructSignatureElement="construct",b.parameterElement="parameter",b.typeParameterElement="type parameter",b.primitiveType="primitive type",b.label="label",b.alias="alias",b.constElement="const",b.letElement="let",b.directory="directory",b.externalModuleName="external module name",b.jsxAttribute="JSX attribute",b.string="string",b.link="link",b.linkName="link name",b.linkText="link text"})(H=e.ScriptElementKind||(e.ScriptElementKind={}));var L;(function(b){b.none="",b.publicMemberModifier="public",b.privateMemberModifier="private",b.protectedMemberModifier="protected",b.exportedModifier="export",b.ambientModifier="declare",b.staticModifier="static",b.abstractModifier="abstract",b.optionalModifier="optional",b.deprecatedModifier="deprecated",b.dtsModifier=".d.ts",b.tsModifier=".ts",b.tsxModifier=".tsx",b.jsModifier=".js",b.jsxModifier=".jsx",b.jsonModifier=".json"})(L=e.ScriptElementKindModifier||(e.ScriptElementKindModifier={}));var ee;(function(b){b.comment="comment",b.identifier="identifier",b.keyword="keyword",b.numericLiteral="number",b.bigintLiteral="bigint",b.operator="operator",b.stringLiteral="string",b.whiteSpace="whitespace",b.text="text",b.punctuation="punctuation",b.className="class name",b.enumName="enum name",b.interfaceName="interface name",b.moduleName="module name",b.typeParameterName="type parameter name",b.typeAliasName="type alias name",b.parameterName="parameter name",b.docCommentTagName="doc comment tag name",b.jsxOpenTagName="jsx open tag name",b.jsxCloseTagName="jsx close tag name",b.jsxSelfClosingTagName="jsx self closing tag name",b.jsxAttribute="jsx attribute",b.jsxText="jsx text",b.jsxAttributeStringLiteralValue="jsx attribute string literal value"})(ee=e.ClassificationTypeNames||(e.ClassificationTypeNames={}));var k;(function(b){b[b.comment=1]="comment",b[b.identifier=2]="identifier",b[b.keyword=3]="keyword",b[b.numericLiteral=4]="numericLiteral",b[b.operator=5]="operator",b[b.stringLiteral=6]="stringLiteral",b[b.regularExpressionLiteral=7]="regularExpressionLiteral",b[b.whiteSpace=8]="whiteSpace",b[b.text=9]="text",b[b.punctuation=10]="punctuation",b[b.className=11]="className",b[b.enumName=12]="enumName",b[b.interfaceName=13]="interfaceName",b[b.moduleName=14]="moduleName",b[b.typeParameterName=15]="typeParameterName",b[b.typeAliasName=16]="typeAliasName",b[b.parameterName=17]="parameterName",b[b.docCommentTagName=18]="docCommentTagName",b[b.jsxOpenTagName=19]="jsxOpenTagName",b[b.jsxCloseTagName=20]="jsxCloseTagName",b[b.jsxSelfClosingTagName=21]="jsxSelfClosingTagName",b[b.jsxAttribute=22]="jsxAttribute",b[b.jsxText=23]="jsxText",b[b.jsxAttributeStringLiteralValue=24]="jsxAttributeStringLiteralValue",b[b.bigintLiteral=25]="bigintLiteral"})(k=e.ClassificationType||(e.ClassificationType={}))})(vn||(vn={}));var vn;(function(e){e.scanner=e.createScanner(99,!0);var o;(function(he){he[he.None=0]="None",he[he.Value=1]="Value",he[he.Type=2]="Type",he[he.Namespace=4]="Namespace",he[he.All=7]="All"})(o=e.SemanticMeaning||(e.SemanticMeaning={}));function ue(he){switch(he.kind){case 252:return e.isInJSFile(he)&&e.getJSDocEnumTag(he)?7:1;case 162:case 201:case 165:case 164:case 291:case 292:case 167:case 166:case 169:case 170:case 171:case 254:case 211:case 212:case 290:case 283:return 1;case 161:case 256:case 257:case 180:return 2;case 340:return he.name===void 0?3:2;case 294:case 255:return 3;case 259:return e.isAmbientModule(he)||e.getModuleInstanceState(he)===1?5:4;case 258:case 267:case 268:case 263:case 264:case 269:case 270:return 7;case 300:return 5}return 7}e.getMeaningFromDeclaration=ue;function $(he){he=i(he);var un=he.parent;if(he.kind===300)return 1;if(e.isExportAssignment(un)||e.isExportSpecifier(un)||e.isExternalModuleReference(un)||e.isImportSpecifier(un)||e.isImportClause(un)||e.isImportEqualsDeclaration(un)&&he===un.name){for(var Sn=un;Sn;){if(e.isImportEqualsDeclaration(Sn)||e.isImportClause(Sn)||e.isExportDeclaration(Sn))return Sn.isTypeOnly?2:7;Sn=Sn.parent}return 7}else return W(he)?Y(he):e.isDeclarationName(he)?ue(un):e.isEntityName(he)&&e.findAncestor(he,e.or(e.isJSDocNameReference,e.isJSDocLinkLike,e.isJSDocMemberName))?7:A(he)?2:re(he)?4:e.isTypeParameterDeclaration(un)?(e.Debug.assert(e.isJSDocTemplateTag(un.parent)),2):e.isLiteralTypeNode(un)?3:1}e.getMeaningFromLocation=$;function Y(he){var un=he.kind===159?he:e.isQualifiedName(he.parent)&&he.parent.right===he?he.parent:void 0;return un&&un.parent.kind===263?7:4}function W(he){for(;he.parent.kind===159;)he=he.parent;return e.isInternalModuleImportEqualsDeclaration(he.parent)&&he.parent.moduleReference===he}e.isInRightSideOfInternalImportEqualsDeclaration=W;function re(he){return ye(he)||O(he)}function ye(he){var un=he,Sn=!0;if(un.parent.kind===159){for(;un.parent&&un.parent.kind===159;)un=un.parent;Sn=un.right===he}return un.parent.kind===176&&!Sn}function O(he){var un=he,Sn=!0;if(un.parent.kind===204){for(;un.parent&&un.parent.kind===204;)un=un.parent;Sn=un.name===he}if(!Sn&&un.parent.kind===226&&un.parent.parent.kind===289){var Tr=un.parent.parent.parent;return Tr.kind===255&&un.parent.parent.token===117||Tr.kind===256&&un.parent.parent.token===94}return!1}function A(he){switch(e.isRightSideOfQualifiedNameOrPropertyAccess(he)&&(he=he.parent),he.kind){case 108:return!e.isExpressionNode(he);case 190:return!0}switch(he.parent.kind){case 176:return!0;case 198:return!he.parent.isTypeOf;case 226:return!e.isExpressionWithTypeArgumentsInClassExtendsClause(he.parent)}return!1}function D(he,un,Sn){return un===void 0&&(un=!1),Sn===void 0&&(Sn=!1),ee(he,e.isCallExpression,E,un,Sn)}e.isCallExpressionTarget=D;function de(he,un,Sn){return un===void 0&&(un=!1),Sn===void 0&&(Sn=!1),ee(he,e.isNewExpression,E,un,Sn)}e.isNewExpressionTarget=de;function _e(he,un,Sn){return un===void 0&&(un=!1),Sn===void 0&&(Sn=!1),ee(he,e.isCallOrNewExpression,E,un,Sn)}e.isCallOrNewExpressionTarget=_e;function y(he,un,Sn){return un===void 0&&(un=!1),Sn===void 0&&(Sn=!1),ee(he,e.isTaggedTemplateExpression,H,un,Sn)}e.isTaggedTemplateTag=y;function V(he,un,Sn){return un===void 0&&(un=!1),Sn===void 0&&(Sn=!1),ee(he,e.isDecorator,E,un,Sn)}e.isDecoratorTarget=V;function Z(he,un,Sn){return un===void 0&&(un=!1),Sn===void 0&&(Sn=!1),ee(he,e.isJsxOpeningLikeElement,L,un,Sn)}e.isJsxOpeningLikeElementTagName=Z;function E(he){return he.expression}function H(he){return he.tag}function L(he){return he.tagName}function ee(he,un,Sn,Tr,Wr){var Yt=Tr?b(he):k(he);return Wr&&(Yt=e.skipOuterExpressions(Yt)),!!Yt&&!!Yt.parent&&un(Yt.parent)&&Sn(Yt.parent)===Yt}function k(he){return U(he)?he.parent:he}e.climbPastPropertyAccess=k;function b(he){return U(he)||C(he)?he.parent:he}e.climbPastPropertyOrElementAccess=b;function ie(he,un){for(;he;){if(he.kind===248&&he.label.escapedText===un)return he.label;he=he.parent}}e.getTargetLabel=ie;function q(he,un){return e.isPropertyAccessExpression(he.expression)?he.expression.name.text===un:!1}e.hasPropertyAccessExpressionWithName=q;function oe(he){var un;return e.isIdentifier(he)&&((un=e.tryCast(he.parent,e.isBreakOrContinueStatement))===null||un===void 0?void 0:un.label)===he}e.isJumpStatementTarget=oe;function se(he){var un;return e.isIdentifier(he)&&((un=e.tryCast(he.parent,e.isLabeledStatement))===null||un===void 0?void 0:un.label)===he}e.isLabelOfLabeledStatement=se;function w(he){return se(he)||oe(he)}e.isLabelName=w;function R(he){var un;return((un=e.tryCast(he.parent,e.isJSDocTag))===null||un===void 0?void 0:un.tagName)===he}e.isTagName=R;function ne(he){var un;return((un=e.tryCast(he.parent,e.isQualifiedName))===null||un===void 0?void 0:un.right)===he}e.isRightSideOfQualifiedName=ne;function U(he){var un;return((un=e.tryCast(he.parent,e.isPropertyAccessExpression))===null||un===void 0?void 0:un.name)===he}e.isRightSideOfPropertyAccess=U;function C(he){var un;return((un=e.tryCast(he.parent,e.isElementAccessExpression))===null||un===void 0?void 0:un.argumentExpression)===he}e.isArgumentExpressionOfElementAccess=C;function d(he){var un;return((un=e.tryCast(he.parent,e.isModuleDeclaration))===null||un===void 0?void 0:un.name)===he}e.isNameOfModuleDeclaration=d;function G(he){var un;return e.isIdentifier(he)&&((un=e.tryCast(he.parent,e.isFunctionLike))===null||un===void 0?void 0:un.name)===he}e.isNameOfFunctionDeclaration=G;function g(he){switch(he.parent.kind){case 165:case 164:case 291:case 294:case 167:case 166:case 170:case 171:case 259:return e.getNameOfDeclaration(he.parent)===he;case 205:return he.parent.argumentExpression===he;case 160:return!0;case 194:return he.parent.parent.kind===192;default:return!1}}e.isLiteralNameOfPropertyDeclarationOrIndexAccess=g;function p(he){return e.isExternalModuleImportEqualsDeclaration(he.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(he.parent.parent)===he}e.isExpressionOfExternalModuleImportEqualsDeclaration=p;function f(he){for(e.isJSDocTypeAlias(he)&&(he=he.parent.parent);;){if(he=he.parent,!he)return;switch(he.kind){case 300:case 167:case 166:case 254:case 211:case 170:case 171:case 255:case 256:case 258:case 259:return he}}}e.getContainerNode=f;function T(he){switch(he.kind){case 300:return e.isExternalModule(he)?"module":"script";case 259:return"module";case 255:case 224:return"class";case 256:return"interface";case 257:case 333:case 340:return"type";case 258:return"enum";case 252:return Ia(he);case 201:return Ia(e.getRootDeclaration(he));case 212:case 254:case 211:return"function";case 170:return"getter";case 171:return"setter";case 167:case 166:return"method";case 291:var un=he.initializer;return e.isFunctionLike(un)?"method":"property";case 165:case 164:case 292:case 293:return"property";case 174:return"index";case 173:return"construct";case 172:return"call";case 169:case 168:return"constructor";case 161:return"type parameter";case 294:return"enum member";case 162:return e.hasSyntacticModifier(he,16476)?"property":"parameter";case 263:case 268:case 273:case 266:case 272:return"alias";case 219:var Sn=e.getAssignmentDeclarationKind(he),Tr=he.right;switch(Sn){case 7:case 8:case 9:case 0:return"";case 1:case 2:var Wr=T(Tr);return Wr===""?"const":Wr;case 3:return e.isFunctionExpression(Tr)?"method":"property";case 4:return"property";case 5:return e.isFunctionExpression(Tr)?"method":"property";case 6:return"local class";default:return e.assertType(Sn),""}case 79:return e.isImportClause(he.parent)?"alias":"";case 269:var Yt=T(he.expression);return Yt===""?"const":Yt;default:return""}function Ia(hi){return e.isVarConst(hi)?"const":e.isLet(hi)?"let":"var"}}e.getNodeKind=T;function m(he){switch(he.kind){case 108:return!0;case 79:return e.identifierIsThisKeyword(he)&&he.parent.kind===162;default:return!1}}e.isThis=m;var N=/^\/\/\/\s*=Sn.end}e.startEndContainsRange=K;function I(he,un,Sn){return he.pos<=un&&he.end>=Sn}e.rangeContainsStartEnd=I;function Ae(he,un,Sn){return te(he.pos,he.end,un,Sn)}e.rangeOverlapsWithStartEnd=Ae;function Oe(he,un,Sn,Tr){return te(he.getStart(un),he.end,Sn,Tr)}e.nodeOverlapsWithStartEnd=Oe;function te(he,un,Sn,Tr){var Wr=Math.max(he,Sn),Yt=Math.min(un,Tr);return Wrun)break;var ys=yo.getEnd();if(unSn.getStart(he)&&unhe.end||Yt.pos===he.end;return Ia&&Zn(Yt,Sn)?Tr(Yt):void 0})}}e.findNextToken=xe;function Ze(he,un,Sn,Tr){var Wr=Yt(Sn||un);return e.Debug.assert(!(Wr&&gn(Wr))),Wr;function Yt(Ia){if(hn(Ia)&&Ia.kind!==1)return Ia;var hi=Ia.getChildren(un),yo=e.binarySearchKey(hi,he,function(zo,Es){return Es},function(zo,Es){return he=hi[zo-1].end?0:1:-1});if(yo>=0&&hi[yo]){var Oo=hi[yo];if(he=he||!Zn(Oo,un)||gn(Oo);if(Pi){var Po=$e(hi,yo,un);return Po&&Le(Po,un)}else return Yt(Oo)}}e.Debug.assert(Sn!==void 0||Ia.kind===300||Ia.kind===1||e.isJSDocCommentContainingNode(Ia));var Jn=$e(hi,hi.length,un);return Jn&&Le(Jn,un)}}e.findPrecedingToken=Ze;function hn(he){return e.isToken(he)&&!gn(he)}function Le(he,un){if(hn(he))return he;var Sn=he.getChildren(un);if(Sn.length===0)return he;var Tr=$e(Sn,Sn.length,un);return Tr&&Le(Tr,un)}function $e(he,un,Sn){for(var Tr=un-1;Tr>=0;Tr--){var Wr=he[Tr];if(gn(Wr))e.Debug.assert(Tr>0,"`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`");else if(Zn(he[Tr],Sn))return he[Tr]}}function An(he,un,Sn){if(Sn===void 0&&(Sn=Ze(un,he)),Sn&&e.isStringTextContainingNode(Sn)){var Tr=Sn.getStart(he),Wr=Sn.getEnd();if(TrSn.getStart(he)}e.isInTemplateString=Wn;function ze(he,un){var Sn=$n(he,un);return!!(e.isJsxText(Sn)||Sn.kind===18&&e.isJsxExpression(Sn.parent)&&e.isJsxElement(Sn.parent.parent)||Sn.kind===29&&e.isJsxOpeningLikeElement(Sn.parent)&&e.isJsxElement(Sn.parent.parent))}e.isInJSXText=ze;function Tn(he,un){function Sn(Tr){for(;Tr;)if(Tr.kind>=277&&Tr.kind<=286||Tr.kind===11||Tr.kind===29||Tr.kind===31||Tr.kind===79||Tr.kind===19||Tr.kind===18||Tr.kind===43)Tr=Tr.parent;else if(Tr.kind===276){if(un>Tr.getStart(he))return!0;Tr=Tr.parent}else return!1;return!1}return Sn($n(he,un))}e.isInsideJsxElement=Tn;function On(he,un,Sn){var Tr=e.tokenToString(he.kind),Wr=e.tokenToString(un),Yt=he.getFullStart(),Ia=Sn.text.lastIndexOf(Wr,Yt);if(Ia!==-1){if(Sn.text.lastIndexOf(Tr,Yt-1)=un})}e.getPossibleGenericSignatures=wr;function Qr(he,un){if(un.text.lastIndexOf("<",he?he.pos:un.text.length)!==-1)for(var Sn=he,Tr=0,Wr=0;Sn;){switch(Sn.kind){case 29:if(Sn=Ze(Sn.getFullStart(),un),Sn&&Sn.kind===28&&(Sn=Ze(Sn.getFullStart(),un)),!Sn||!e.isIdentifier(Sn))return;if(!Tr)return e.isDeclarationName(Sn)?void 0:{called:Sn,nTypeArguments:Wr};Tr--;break;case 49:Tr=3;break;case 48:Tr=2;break;case 31:Tr++;break;case 19:if(Sn=On(Sn,18,un),!Sn)return;break;case 21:if(Sn=On(Sn,20,un),!Sn)return;break;case 23:if(Sn=On(Sn,22,un),!Sn)return;break;case 27:Wr++;break;case 38:case 79:case 10:case 8:case 9:case 110:case 95:case 112:case 94:case 139:case 24:case 51:case 57:case 58:break;default:if(e.isTypeNode(Sn))break;return}Sn=Ze(Sn.getFullStart(),un)}}e.getPossibleTypeArgumentsInfo=Qr;function Ke(he,un,Sn){return e.formatting.getRangeOfEnclosingComment(he,un,void 0,Sn)}e.isInComment=Ke;function jn(he,un){var Sn=$n(he,un);return!!e.findAncestor(Sn,e.isJSDoc)}e.hasDocComment=jn;function Zn(he,un){return he.kind===1?!!he.jsDoc:he.getWidth(un)!==0}function Me(he,un){un===void 0&&(un=0);var Sn=[],Tr=e.isDeclaration(he)?e.getCombinedNodeFlagsAlwaysIncludeJSDoc(he)&~un:0;return Tr&8&&Sn.push("private"),Tr&16&&Sn.push("protected"),Tr&4&&Sn.push("public"),(Tr&32||e.isClassStaticBlockDeclaration(he))&&Sn.push("static"),Tr&128&&Sn.push("abstract"),Tr&1&&Sn.push("export"),Tr&8192&&Sn.push("deprecated"),he.flags&8388608&&Sn.push("declare"),he.kind===269&&Sn.push("export"),Sn.length>0?Sn.join(","):""}e.getNodeModifiers=Me;function Mn(he){if(he.kind===176||he.kind===206)return he.typeArguments;if(e.isFunctionLike(he)||he.kind===255||he.kind===256)return he.typeParameters}e.getTypeArgumentOrTypeParameterList=Mn;function ar(he){return he===2||he===3}e.isComment=ar;function Xn(he){return!!(he===10||he===13||e.isTemplateLiteralKind(he))}e.isStringOrRegularExpressionOrTemplateLiteral=Xn;function yr(he){return 18<=he&&he<=78}e.isPunctuation=yr;function cr(he,un,Sn){return e.isTemplateLiteralKind(he.kind)&&he.getStart(Sn)=2||!!he.noEmit}e.compilerOptionsIndicateEs6Modules=ri;function Ya(he,un){return{fileExists:function(Sn){return he.fileExists(Sn)},getCurrentDirectory:function(){return un.getCurrentDirectory()},readFile:e.maybeBind(un,un.readFile),useCaseSensitiveFileNames:e.maybeBind(un,un.useCaseSensitiveFileNames),getSymlinkCache:e.maybeBind(un,un.getSymlinkCache)||he.getSymlinkCache,getModuleSpecifierCache:e.maybeBind(un,un.getModuleSpecifierCache),getGlobalTypingsCacheLocation:e.maybeBind(un,un.getGlobalTypingsCacheLocation),redirectTargetsMap:he.redirectTargetsMap,getProjectReferenceRedirect:function(Sn){return he.getProjectReferenceRedirect(Sn)},isSourceOfProjectReferenceRedirect:function(Sn){return he.isSourceOfProjectReferenceRedirect(Sn)},getNearestAncestorDirectoryWithPackageJson:e.maybeBind(un,un.getNearestAncestorDirectoryWithPackageJson),getFileIncludeReasons:function(){return he.getFileIncludeReasons()}}}e.createModuleSpecifierResolutionHost=Ya;function eo(he,un){return Mt(Mt({},Ya(he,un)),{getCommonSourceDirectory:function(){return he.getCommonSourceDirectory()}})}e.getModuleSpecifierResolverHost=eo;function za(he,un,Sn,Tr){return he||un&&un.length?ua(he,un,Sn,Tr):void 0}e.makeImportIfNecessary=za;function ua(he,un,Sn,Tr,Wr){return e.factory.createImportDeclaration(void 0,void 0,he||un?e.factory.createImportClause(!!Wr,he,un&&un.length?e.factory.createNamedImports(un):void 0):void 0,typeof Sn=="string"?Ar(Sn,Tr):Sn)}e.makeImport=ua;function Ar(he,un){return e.factory.createStringLiteral(he,un===0)}e.makeStringLiteral=Ar;var at;(function(he){he[he.Single=0]="Single",he[he.Double=1]="Double"})(at=e.QuotePreference||(e.QuotePreference={}));function Hr(he,un){return e.isStringDoubleQuoted(he,un)?1:0}e.quotePreferenceFromString=Hr;function Wt(he,un){if(un.quotePreference&&un.quotePreference!=="auto")return un.quotePreference==="single"?0:1;var Sn=he.imports&&e.find(he.imports,function(Tr){return e.isStringLiteral(Tr)&&!e.nodeIsSynthesized(Tr.parent)});return Sn?Hr(Sn,he):1}e.getQuotePreference=Wt;function Zt(he){switch(he){case 0:return"'";case 1:return'"';default:return e.Debug.assertNever(he)}}e.getQuoteFromPreference=Zt;function Rr(he){var un=Lr(he);return un===void 0?void 0:e.unescapeLeadingUnderscores(un)}e.symbolNameNoDefault=Rr;function Lr(he){return he.escapedName!=="default"?he.escapedName:e.firstDefined(he.declarations,function(un){var Sn=e.getNameOfDeclaration(un);return Sn&&Sn.kind===79?Sn.escapedText:void 0})}e.symbolEscapedNameNoDefault=Lr;function Xr(he){return e.isStringLiteralLike(he)&&(e.isExternalModuleReference(he.parent)||e.isImportDeclaration(he.parent)||e.isRequireCall(he.parent,!1)&&he.parent.arguments[0]===he||e.isImportCall(he.parent)&&he.parent.arguments[0]===he)}e.isModuleSpecifierLike=Xr;function nt(he){return e.isBindingElement(he)&&e.isObjectBindingPattern(he.parent)&&e.isIdentifier(he.name)&&!he.propertyName}e.isObjectBindingElementWithoutPropertyName=nt;function vt(he,un){var Sn=he.getTypeAtLocation(un.parent);return Sn&&he.getPropertyOfType(Sn,un.name.text)}e.getPropertySymbolFromBindingElement=vt;function or(he,un,Sn){if(he)for(;he.parent;){if(e.isSourceFile(he.parent)||!$t(Sn,he.parent,un))return he;he=he.parent}}e.getParentNodeInSpan=or;function $t(he,un,Sn){return e.textSpanContainsPosition(he,un.getStart(Sn))&&un.getEnd()<=e.textSpanEnd(he)}function Va(he,un){return he.modifiers&&e.find(he.modifiers,function(Sn){return Sn.kind===un})}e.findModifier=Va;function li(he,un,Sn,Tr){var Wr=e.isArray(Sn)?Sn[0]:Sn,Yt=Wr.kind===235?e.isRequireVariableStatement:e.isAnyImportSyntax,Ia=e.filter(un.statements,Yt),hi=e.isArray(Sn)?e.stableSort(Sn,e.OrganizeImports.compareImportsOrRequireStatements):[Sn];if(!Ia.length)he.insertNodesAtTopOfFile(un,hi,Tr);else if(Ia&&e.OrganizeImports.importsAreSorted(Ia))for(var yo=0,Oo=hi;yo0&&he.declarations[0].kind===162}e.isFirstDeclarationOfSymbolParameter=bi;var Mi=Go();function Go(){var he=e.defaultMaximumTruncationLength*10,un,Sn,Tr,Wr;ys();var Yt=function(Pi){return hi(Pi,e.SymbolDisplayPartKind.text)};return{displayParts:function(){var Pi=un.length&&un[un.length-1].text;return Wr>he&&Pi&&Pi!=="..."&&(e.isWhiteSpaceLike(Pi.charCodeAt(Pi.length-1))||un.push(wi(" ",e.SymbolDisplayPartKind.space)),un.push(wi("...",e.SymbolDisplayPartKind.punctuation))),un},writeKeyword:function(Pi){return hi(Pi,e.SymbolDisplayPartKind.keyword)},writeOperator:function(Pi){return hi(Pi,e.SymbolDisplayPartKind.operator)},writePunctuation:function(Pi){return hi(Pi,e.SymbolDisplayPartKind.punctuation)},writeTrailingSemicolon:function(Pi){return hi(Pi,e.SymbolDisplayPartKind.punctuation)},writeSpace:function(Pi){return hi(Pi,e.SymbolDisplayPartKind.space)},writeStringLiteral:function(Pi){return hi(Pi,e.SymbolDisplayPartKind.stringLiteral)},writeParameter:function(Pi){return hi(Pi,e.SymbolDisplayPartKind.parameterName)},writeProperty:function(Pi){return hi(Pi,e.SymbolDisplayPartKind.propertyName)},writeLiteral:function(Pi){return hi(Pi,e.SymbolDisplayPartKind.stringLiteral)},writeSymbol:yo,writeLine:Oo,write:Yt,writeComment:Yt,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 Tr},increaseIndent:function(){Tr++},decreaseIndent:function(){Tr--},clear:ys,trackSymbol:function(){return!1},reportInaccessibleThisError:e.noop,reportInaccessibleUniqueSymbolError:e.noop,reportPrivateInBaseOfClassExpression:e.noop};function Ia(){if(!(Wr>he)&&Sn){var Pi=e.getIndentString(Tr);Pi&&(Wr+=Pi.length,un.push(wi(Pi,e.SymbolDisplayPartKind.space))),Sn=!1}}function hi(Pi,Po){Wr>he||(Ia(),Wr+=Pi.length,un.push(wi(Pi,Po)))}function yo(Pi,Po){Wr>he||(Ia(),Wr+=Pi.length,un.push(io(Pi,Po)))}function Oo(){Wr>he||(Wr+=1,un.push(mn()),Sn=!0)}function ys(){un=[],Sn=!0,Tr=0,Wr=0}}function io(he,un){return wi(he,Sn(un));function Sn(Tr){var Wr=Tr.flags;return Wr&3?bi(Tr)?e.SymbolDisplayPartKind.parameterName:e.SymbolDisplayPartKind.localName:Wr&4||Wr&32768||Wr&65536?e.SymbolDisplayPartKind.propertyName:Wr&8?e.SymbolDisplayPartKind.enumMemberName:Wr&16?e.SymbolDisplayPartKind.functionName:Wr&32?e.SymbolDisplayPartKind.className:Wr&64?e.SymbolDisplayPartKind.interfaceName:Wr&384?e.SymbolDisplayPartKind.enumName:Wr&1536?e.SymbolDisplayPartKind.moduleName:Wr&8192?e.SymbolDisplayPartKind.methodName:Wr&262144?e.SymbolDisplayPartKind.typeParameterName:Wr&524288||Wr&2097152?e.SymbolDisplayPartKind.aliasName:e.SymbolDisplayPartKind.text}}e.symbolPart=io;function wi(he,un){return{text:he,kind:e.SymbolDisplayPartKind[un]}}e.displayPart=wi;function Ho(){return wi(" ",e.SymbolDisplayPartKind.space)}e.spacePart=Ho;function qi(he){return wi(e.tokenToString(he),e.SymbolDisplayPartKind.keyword)}e.keywordPart=qi;function Qi(he){return wi(e.tokenToString(he),e.SymbolDisplayPartKind.punctuation)}e.punctuationPart=Qi;function as(he){return wi(e.tokenToString(he),e.SymbolDisplayPartKind.operator)}e.operatorPart=as;function gs(he){return wi(he,e.SymbolDisplayPartKind.parameterName)}e.parameterNamePart=gs;function Da(he){return wi(he,e.SymbolDisplayPartKind.propertyName)}e.propertyNamePart=Da;function $a(he){var un=e.stringToToken(he);return un===void 0?Ni(he):qi(un)}e.textOrKeywordPart=$a;function Ni(he){return wi(he,e.SymbolDisplayPartKind.text)}e.textPart=Ni;function vo(he){return wi(he,e.SymbolDisplayPartKind.aliasName)}e.typeAliasNamePart=vo;function Io(he){return wi(he,e.SymbolDisplayPartKind.typeParameterName)}e.typeParameterNamePart=Io;function Bo(he){return wi(he,e.SymbolDisplayPartKind.linkText)}e.linkTextPart=Bo;function Uo(he,un){return{text:e.getTextOfNode(he),kind:e.SymbolDisplayPartKind[e.SymbolDisplayPartKind.linkName],target:{fileName:e.getSourceFileOfNode(un).fileName,textSpan:Ye(un)}}}e.linkNamePart=Uo;function cs(he){return wi(he,e.SymbolDisplayPartKind.link)}e.linkPart=cs;function us(he,un){var Sn,Tr=e.isJSDocLink(he)?"link":e.isJSDocLinkCode(he)?"linkcode":"linkplain",Wr=[cs("{@"+Tr+" ")];if(!he.name)he.text&&Wr.push(Bo(he.text));else{var Yt=un==null?void 0:un.getSymbolAtLocation(he.name),Ia=(Yt==null?void 0:Yt.valueDeclaration)||((Sn=Yt==null?void 0:Yt.declarations)===null||Sn===void 0?void 0:Sn[0]);Ia?(Wr.push(Uo(he.name,Ia)),he.text&&Wr.push(Bo(he.text))):Wr.push(Bo(e.getTextOfNode(he.name)+" "+he.text))}return Wr.push(cs("}")),Wr}e.buildLinkParts=us;var Jo=`\r `;function is(he,un){var Sn;return(un==null?void 0:un.newLineCharacter)||((Sn=he.getNewLine)===null||Sn===void 0?void 0:Sn.call(he))||Jo}e.getNewLineOrDefaultFromHost=is;function mn(){return wi(` `,e.SymbolDisplayPartKind.lineBreak)}e.lineBreakPart=mn;function _r(he){try{return he(Mi),Mi.displayParts()}finally{Mi.clear()}}e.mapToDisplayParts=_r;function $r(he,un,Sn,Tr){return Tr===void 0&&(Tr=0),_r(function(Wr){he.writeType(un,Sn,Tr|1024|16384,Wr)})}e.typeToDisplayParts=$r;function ia(he,un,Sn,Tr,Wr){return Wr===void 0&&(Wr=0),_r(function(Yt){he.writeSymbol(un,Sn,Tr,Wr|8,Yt)})}e.symbolToDisplayParts=ia;function ti(he,un,Sn,Tr){return Tr===void 0&&(Tr=0),Tr|=25632,_r(function(Wr){he.writeSignature(un,Sn,Tr,void 0,Wr)})}e.signatureToDisplayParts=ti;function va(he){return!!he.parent&&e.isImportOrExportSpecifier(he.parent)&&he.parent.propertyName===he}e.isImportOrExportSpecifierName=va;function Ve(he,un){return e.ensureScriptKind(he,un.getScriptKind&&un.getScriptKind(he))}e.getScriptKind=Ve;function ce(he,un){for(var Sn=he;j(Sn)||dn(Sn)&&Sn.target;)dn(Sn)&&Sn.target?Sn=Sn.target:Sn=e.skipAlias(Sn,un);return Sn}e.getSymbolTarget=ce;function dn(he){return(he.flags&33554432)!==0}function j(he){return(he.flags&2097152)!==0}function Ie(he,un){return e.getSymbolId(e.skipAlias(he,un))}e.getUniqueSymbolId=Ie;function We(he,un){for(;e.isWhiteSpaceLike(he.charCodeAt(un));)un+=1;return un}e.getFirstNonSpaceCharacterPosition=We;function sn(he,un){for(;un>-1&&e.isWhiteSpaceSingleLine(he.charCodeAt(un));)un-=1;return un+1}e.getPrecedingNonSpaceCharacterPosition=sn;function Hn(he,un){un===void 0&&(un=!0);var Sn=he&&Sr(he);return Sn&&!un&&ra(Sn),Sn}e.getSynthesizedDeepClone=Hn;function vr(he,un,Sn){var Tr=Sn(he);return Tr?e.setOriginalNode(Tr,he):Tr=Sr(he,Sn),Tr&&!un&&ra(Tr),Tr}e.getSynthesizedDeepCloneWithReplacements=vr;function Sr(he,un){var Sn=un?function(Ia){return vr(Ia,!0,un)}:Hn,Tr=un?function(Ia){return Ia&&Et(Ia,!0,un)}:function(Ia){return Ia&&ot(Ia)},Wr=e.visitEachChild(he,Sn,e.nullTransformationContext,Tr,Sn);if(Wr===he){var Yt=e.isStringLiteral(he)?e.setOriginalNode(e.factory.createStringLiteralFromNode(he),he):e.isNumericLiteral(he)?e.setOriginalNode(e.factory.createNumericLiteral(he.text,he.numericLiteralFlags),he):e.factory.cloneNode(he);return e.setTextRange(Yt,he)}return Wr.parent=void 0,Wr}function ot(he,un){return un===void 0&&(un=!0),he&&e.factory.createNodeArray(he.map(function(Sn){return Hn(Sn,un)}),he.hasTrailingComma)}e.getSynthesizedDeepClones=ot;function Et(he,un,Sn){return e.factory.createNodeArray(he.map(function(Tr){return vr(Tr,un,Sn)}),he.hasTrailingComma)}e.getSynthesizedDeepClonesWithReplacements=Et;function ra(he){Na(he),ei(he)}e.suppressLeadingAndTrailingTrivia=ra;function Na(he){ho(he,512,vs)}e.suppressLeadingTrivia=Na;function ei(he){ho(he,1024,e.getLastChild)}e.suppressTrailingTrivia=ei;function Li(he,un){var Sn=he.getSourceFile(),Tr=Sn.text;Zi(he,Tr)?Zo(he,un,Sn):ws(he,un,Sn),cl(he,un,Sn)}e.copyComments=Li;function Zi(he,un){for(var Sn=he.getFullStart(),Tr=he.getStart(),Wr=Sn;Wr=0),Yt}e.getRenameLocation=oo;function Zo(he,un,Sn,Tr,Wr){e.forEachLeadingCommentRange(Sn.text,he.pos,vl(un,Sn,Tr,Wr,e.addSyntheticLeadingComment))}e.copyLeadingComments=Zo;function cl(he,un,Sn,Tr,Wr){e.forEachTrailingCommentRange(Sn.text,he.end,vl(un,Sn,Tr,Wr,e.addSyntheticTrailingComment))}e.copyTrailingComments=cl;function ws(he,un,Sn,Tr,Wr){e.forEachTrailingCommentRange(Sn.text,he.pos,vl(un,Sn,Tr,Wr,e.addSyntheticLeadingComment))}e.copyTrailingAsLeadingComments=ws;function vl(he,un,Sn,Tr,Wr){return function(Yt,Ia,hi,yo){hi===3?(Yt+=2,Ia-=2):Yt+=2,Wr(he,Sn||hi,un.text.slice(Yt,Ia),Tr!==void 0?Tr:yo)}}function ul(he,un){if(e.startsWith(he,un))return 0;var Sn=he.indexOf(" "+un);return Sn===-1&&(Sn=he.indexOf("."+un)),Sn===-1&&(Sn=he.indexOf('"'+un)),Sn===-1?-1:Sn+1}function ps(he){return e.isBinaryExpression(he)&&he.operatorToken.kind===27||e.isObjectLiteralExpression(he)||e.isAsExpression(he)&&e.isObjectLiteralExpression(he.expression)}e.needsParentheses=ps;function jl(he,un){var Sn=he.parent;switch(Sn.kind){case 207:return un.getContextualType(Sn);case 219:{var Tr=Sn,Wr=Tr.left,Yt=Tr.operatorToken,Ia=Tr.right;return Hs(Yt.kind)?un.getTypeAtLocation(he===Ia?Wr:Ia):un.getContextualType(he)}case 287:return Sn.expression===he?Kn(Sn,un):void 0;default:return un.getContextualType(he)}}e.getContextualTypeFromParent=jl;function Hl(he,un,Sn){var Tr=Wt(he,un),Wr=JSON.stringify(Sn);return Tr===0?"'"+e.stripQuotes(Wr).replace(/'/g,"\\'").replace(/\\"/g,'"')+"'":Wr}e.quote=Hl;function Hs(he){switch(he){case 36:case 34:case 37:case 35:return!0;default:return!1}}e.isEqualityOperatorKind=Hs;function Fs(he){switch(he.kind){case 10:case 14:case 221:case 208:return!0;default:return!1}}e.isStringLiteralOrTemplate=Fs;function ge(he){return!!he.getStringIndexType()||!!he.getNumberIndexType()}e.hasIndexSignature=ge;function Kn(he,un){return un.getTypeAtLocation(he.parent.parent.expression)}e.getSwitchedType=Kn,e.ANONYMOUS="anonymous function";function Te(he,un,Sn,Tr){var Wr=Sn.getTypeChecker(),Yt=!0,Ia=function(){Yt=!1},hi=Wr.typeToTypeNode(he,un,1,{trackSymbol:function(yo,Oo,ys){return Yt=Yt&&Wr.isSymbolAccessible(yo,Oo,ys,!1).accessibility===0,!Yt},reportInaccessibleThisError:Ia,reportPrivateInBaseOfClassExpression:Ia,reportInaccessibleUniqueSymbolError:Ia,moduleResolverHost:eo(Sn,Tr)});return Yt?hi:void 0}e.getTypeNodeIfAccessible=Te;function Fn(he){return he===172||he===173||he===174||he===164||he===166}e.syntaxRequiresTrailingCommaOrSemicolonOrASI=Fn;function et(he){return he===254||he===169||he===167||he===170||he===171}e.syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI=et;function Xt(he){return he===259}e.syntaxRequiresTrailingModuleBlockOrSemicolonOrASI=Xt;function ca(he){return he===235||he===236||he===238||he===243||he===244||he===245||he===249||he===251||he===165||he===257||he===264||he===263||he===270||he===262||he===269}e.syntaxRequiresTrailingSemicolonOrASI=ca,e.syntaxMayBeASICandidate=e.or(Fn,et,Xt,ca);function ha(he,un){var Sn=he.getLastToken(un);if(Sn&&Sn.kind===26)return!1;if(Fn(he.kind)){if(Sn&&Sn.kind===27)return!1}else if(Xt(he.kind)){var Tr=e.last(he.getChildren(un));if(Tr&&e.isModuleBlock(Tr))return!1}else if(et(he.kind)){var Tr=e.last(he.getChildren(un));if(Tr&&e.isFunctionBlock(Tr))return!1}else if(!ca(he.kind))return!1;if(he.kind===238)return!0;var Wr=e.findAncestor(he,function(yo){return!yo.parent}),Yt=xe(he,Wr,un);if(!Yt||Yt.kind===19)return!0;var Ia=un.getLineAndCharacterOfPosition(he.getEnd()).line,hi=un.getLineAndCharacterOfPosition(Yt.getStart(un)).line;return Ia!==hi}function To(he,un,Sn){var Tr=e.findAncestor(un,function(Wr){return Wr.end!==he?"quit":e.syntaxMayBeASICandidate(Wr.kind)});return!!Tr&&ha(Tr,Sn)}e.positionIsASICandidate=To;function Pn(he){var un=0,Sn=0,Tr=5;return e.forEachChild(he,function Wr(Yt){if(ca(Yt.kind)){var Ia=Yt.getLastToken(he);Ia&&Ia.kind===26?un++:Sn++}return un+Sn>=Tr?!0:e.forEachChild(Yt,Wr)}),un===0&&Sn<=1?!0:un/Sn>1/Tr}e.probablyUsesSemicolons=Pn;function Vo(he,un){return Js(he,he.getDirectories,un)||[]}e.tryGetDirectories=Vo;function Ko(he,un,Sn,Tr,Wr){return Js(he,he.readDirectory,un,Sn,Tr,Wr)||e.emptyArray}e.tryReadDirectory=Ko;function hs(he,un){return Js(he,he.fileExists,un)}e.tryFileExists=hs;function hl(he,un){return Bi(function(){return e.directoryProbablyExists(un,he)})||!1}e.tryDirectoryExists=hl;function Bi(he){try{return he()}catch(un){return}}e.tryAndIgnoreErrors=Bi;function Js(he,un){for(var Sn=[],Tr=2;Tr=0){var Wr=un[Tr];return e.Debug.assertEqual(Wr.file,he.getSourceFile(),"Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile"),e.cast(Wr,kn)}}e.findDiagnosticForNode=lr;function Or(he,un){var Sn,Tr=e.binarySearchKey(un,he.start,function(hi){return hi.start},e.compareValues);for(Tr<0&&(Tr=~Tr);((Sn=un[Tr-1])===null||Sn===void 0?void 0:Sn.start)===he.start;)Tr--;for(var Wr=[],Yt=e.textSpanEnd(he);;){var Ia=e.tryCast(un[Tr],kn);if(!Ia||Ia.start>Yt)break;e.textSpanContainsTextSpan(he,Ia)&&Wr.push(Ia),Tr++}return Wr}e.getDiagnosticsWithinSpan=Or;function st(he){var un=he.startPosition,Sn=he.endPosition;return e.createTextSpanFromBounds(un,Sn===void 0?un:Sn)}e.getRefactorContextSpan=st;function yt(he,un,Sn){return Sn===void 0&&(Sn=e.identity),he?e.isArray(he)?Sn(e.map(he,un)):un(he,0):void 0}e.mapOneOrMany=yt;function Tt(he){return e.isArray(he)?e.first(he):he}e.firstOrOnly=Tt;function Ut(he,un){return!(he.flags&33554432)&&(he.escapedName==="export="||he.escapedName==="default")?e.firstDefined(he.declarations,function(Sn){var Tr;return e.isExportAssignment(Sn)?(Tr=e.tryCast(e.skipOuterExpressions(Sn.expression),e.isIdentifier))===null||Tr===void 0?void 0:Tr.text:void 0})||e.codefix.moduleSymbolToValidIdentifier(ea(he),un):he.name}e.getNameForExportedSymbol=Ut;function ea(he){var un;return e.Debug.checkDefined(he.parent,"Symbol parent was undefined. Flags: "+e.Debug.formatSymbolFlags(he.flags)+". "+("Declarations: "+((un=he.declarations)===null||un===void 0?void 0:un.map(function(Sn){var Tr=e.Debug.formatSyntaxKind(Sn.kind),Wr=e.isInJSFile(Sn),Yt=Sn.expression;return(Wr?"[JS]":"")+Tr+(Yt?" (expression: "+e.Debug.formatSyntaxKind(Yt.kind)+")":"")}).join(", "))+"."))}function zt(he,un,Sn){var Tr=un.length;if(Tr+Sn>he.length)return!1;for(var Wr=0;Wr=oe.length){var N=$(b,R,e.lastOrUndefined(U));N!==void 0&&(p=N)}}while(R!==1);function P(){switch(R){case 43:case 68:!ue[ne]&&b.reScanSlashToken()===13&&(R=13);break;case 29:ne===79&&T++;break;case 31:T>0&&T--;break;case 129:case 148:case 145:case 132:case 149:T>0&&!w&&(R=79);break;case 15:U.push(R);break;case 18:U.length>0&&U.push(R);break;case 19:if(U.length>0){var x=e.lastOrUndefined(U);x===15?(R=b.reScanTemplateToken(!1),R===17?U.pop():e.Debug.assertEqual(R,16,"Should have been a template middle.")):(e.Debug.assertEqual(x,18,"Should have been an open brace"),U.pop())}break;default:if(!e.isKeyword(R))break;(ne===24||e.isKeyword(ne)&&e.isKeyword(R)&&!ye(ne,R))&&(R=79)}}return{endOfLineState:p,spans:f}}return{getClassificationsForLine:ie,getEncodedLexicalClassifications:q}}e.createClassifier=o;var ue=e.arrayToNumericMap([79,10,8,9,13,108,45,46,21,23,19,110,95],function(b){return b},function(){return!0});function $(b,ie,q){switch(ie){case 10:{if(!b.isUnterminated())return;for(var oe=b.getTokenText(),se=oe.length-1,w=0;oe.charCodeAt(se-w)===92;)w++;return w&1?oe.charCodeAt(0)===34?3:2:void 0}case 3:return b.isUnterminated()?1:void 0;default:if(e.isTemplateLiteralKind(ie)){if(!b.isUnterminated())return;switch(ie){case 17:return 5;case 14:return 4;default:return e.Debug.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+ie)}}return q===15?6:void 0}}function Y(b,ie,q,oe,se){if(oe!==8){b===0&&q>0&&(b+=q);var w=ie-b;w>0&&se.push(b-q,w,oe)}}function W(b,ie){for(var q=[],oe=b.spans,se=0,w=0;w=0){var C=R-se;C>0&&q.push({length:C,classification:e.TokenClass.Whitespace})}q.push({length:ne,classification:re(U)}),se=R+ne}var d=ie.length-se;return d>0&&q.push({length:d,classification:e.TokenClass.Whitespace}),{entries:q,finalLexState:b.endOfLineState}}function re(b){switch(b){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 ye(b,ie){if(!e.isAccessibilityModifier(b))return!0;switch(ie){case 135:case 147:case 133:case 124:return!0;default:return!1}}function O(b){switch(b){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(b)}}function A(b){switch(b){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 D(b){switch(b){case 39:case 40:case 54:case 53:case 45:case 46:return!0;default:return!1}}function de(b){if(e.isKeyword(b))return 3;if(A(b)||D(b))return 5;if(b>=18&&b<=78)return 10;switch(b){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(b)?6:2}}function _e(b,ie,q,oe,se){return L(V(b,ie,q,oe,se))}e.getSemanticClassifications=_e;function y(b,ie){switch(ie){case 259:case 255:case 256:case 254:case 224:case 211:case 212:b.throwIfCancellationRequested()}}function V(b,ie,q,oe,se){var w=[];return q.forEachChild(function ne(U){if(!(!U||!e.textSpanIntersectsWith(se,U.pos,U.getFullWidth()))){if(y(ie,U.kind),e.isIdentifier(U)&&!e.nodeIsMissing(U)&&oe.has(U.escapedText)){var C=b.getSymbolAtLocation(U),d=C&&Z(C,e.getMeaningFromLocation(U),b);d&&R(U.getStart(q),U.getEnd(),d)}U.forEachChild(ne)}}),{spans:w,endOfLineState:0};function R(ne,U,C){var d=U-ne;e.Debug.assert(d>0,"Classification had non-positive length of "+d),w.push(ne),w.push(d),w.push(C)}}e.getEncodedSemanticClassifications=V;function Z(b,ie,q){var oe=b.getFlags();if(oe&2885600)return oe&32?11:oe&384?12:oe&524288?16:oe&1536?ie&4||ie&1&&E(b)?14:void 0:oe&2097152?Z(q.getAliasedSymbol(b),ie,q):ie&2?oe&64?13:oe&262144?15:void 0:void 0}function E(b){return e.some(b.declarations,function(ie){return e.isModuleDeclaration(ie)&&e.getModuleInstanceState(ie)===1})}function H(b){switch(b){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 L(b){e.Debug.assert(b.spans.length%3===0);for(var ie=b.spans,q=[],oe=0;oe])*)(\/>)?)?/im,I=/(\s)(\S+)(\s*)(=)(\s*)('[^']+'|"[^"]+")/img,Ae=ie.text.substr(me,z),Oe=K.exec(Ae);if(!Oe||!Oe[3]||!(Oe[3]in e.commentPragmas))return!1;var te=me;G(te,Oe[1].length),te+=Oe[1].length,U(te,Oe[2].length,10),te+=Oe[2].length,U(te,Oe[3].length,21),te+=Oe[3].length;for(var Se=Oe[4],be=te;;){var Ce=I.exec(Se);if(!Ce)break;var Be=te+Ce.index+Ce[1].length;Be>be&&(G(be,Be-be),be=Be),U(be,Ce[2].length,22),be+=Ce[2].length,Ce[3].length&&(G(be,Ce[3].length),be+=Ce[3].length),U(be,Ce[4].length,5),be+=Ce[4].length,Ce[5].length&&(G(be,Ce[5].length),be+=Ce[5].length),U(be,Ce[6].length,24),be+=Ce[6].length}te+=Oe[4].length,te>be&&G(be,te-be),Oe[5]&&(U(te,Oe[5].length,10),te+=Oe[5].length);var De=me+z;return te=0),I>0){var Ae=z||x(me.kind,me);Ae&&U(K,I,Ae)}return!0}function P(me){switch(me.parent&&me.parent.kind){case 278:if(me.parent.tagName===me)return 19;break;case 279:if(me.parent.tagName===me)return 20;break;case 277:if(me.parent.tagName===me)return 21;break;case 283:if(me.parent.name===me)return 22;break}}function x(me,z){if(e.isKeyword(me))return 3;if((me===29||me===31)&&z&&e.getTypeArgumentOrTypeParameterList(z.parent))return 10;if(e.isPunctuation(me)){if(z){var K=z.parent;if(me===63&&(K.kind===252||K.kind===165||K.kind===162||K.kind===283)||K.kind===219||K.kind===217||K.kind===218||K.kind===220)return 5}return 10}else{if(me===8)return 4;if(me===9)return 25;if(me===10)return z&&z.parent.kind===283?24:6;if(me===13)return 6;if(e.isTemplateLiteralKind(me))return 6;if(me===11)return 23;if(me===79){if(z)switch(z.parent.kind){case 255:return z.parent.name===z?11:void 0;case 161:return z.parent.name===z?15:void 0;case 256:return z.parent.name===z?13:void 0;case 258:return z.parent.name===z?12:void 0;case 259:return z.parent.name===z?14:void 0;case 162:return z.parent.name===z?e.isThisIdentifier(z)?3:17:void 0}return 2}}}function M(me){if(me&&e.decodedTextSpanIntersectsWith(oe,se,me.pos,me.getFullWidth())){y(b,me.kind);for(var z=0,K=me.getChildren(ie);z0}))return 0;if(oe(function(se){return se.getCallSignatures().length>0})&&!oe(function(se){return se.getProperties().length>0})||H(b))return ie===9?11:10}}return ie}function V(k,b){return e.isBindingElement(k)&&(k=Z(k)),e.isVariableDeclaration(k)?(!e.isSourceFile(k.parent.parent.parent)||e.isCatchClause(k.parent))&&k.getSourceFile()===b:e.isFunctionDeclaration(k)?!e.isSourceFile(k.parent)&&k.getSourceFile()===b:!1}function Z(k){for(;;)if(e.isBindingElement(k.parent.parent))k=k.parent.parent;else return k.parent.parent}function E(k){var b=k.parent;return b&&(e.isImportClause(b)||e.isImportSpecifier(b)||e.isNamespaceImport(b))}function H(k){for(;L(k);)k=k.parent;return e.isCallExpression(k.parent)&&k.parent.expression===k}function L(k){return e.isQualifiedName(k.parent)&&k.parent.right===k||e.isPropertyAccessExpression(k.parent)&&k.parent.name===k}var ee=new e.Map([[252,7],[162,6],[165,9],[259,3],[258,1],[294,8],[255,0],[167,11],[254,10],[211,10],[166,11],[170,9],[171,9],[164,9],[256,2],[257,5],[161,4],[291,9],[292,9]])})($=ue.v2020||(ue.v2020={}))})(o=e.classifier||(e.classifier={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $;(function(Y){function W(te,Se,be,Ce,Be,De,en,fe){if(e.isInReferenceComment(te,Se)){var Ne=P(te,Se,Be,De);return Ne&&A(Ne)}if(e.isInString(te,Se,be)){if(!be||!e.isStringLiteralLike(be))return;var Ne=_e(te,be,Se,Ce,Be,De,fe);return re(Ne,be,te,Ce,en,Be,fe)}}Y.getStringLiteralCompletions=W;function re(te,Se,be,Ce,Be,De,en){if(te!==void 0){var fe=e.createTextSpanFromStringLiteralLikeContent(Se);switch(te.kind){case 0:return A(te.paths);case 1:{var Ne=[];return ue.getCompletionEntriesFromSymbols(te.symbols,Ne,Se,be,be,Ce,99,Be,4,en,De),{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:te.hasIndexSignature,optionalReplacementSpan:fe,entries:Ne}}case 2:{var Ne=te.types.map(function(pe){return{name:pe.value,kindModifiers:"",kind:"string",sortText:ue.SortText.LocationPriority,replacementSpan:e.getReplacementSpanForContextToken(Se)}});return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:te.isNewIdentifier,optionalReplacementSpan:fe,entries:Ne}}default:return e.Debug.assertNever(te)}}}function ye(te,Se,be,Ce,Be,De,en,fe,Ne){if(!(!Ce||!e.isStringLiteralLike(Ce))){var qe=_e(Se,Ce,be,Be,De,en,Ne);return qe&&O(te,Ce,qe,Se,Be,fe)}}Y.getStringLiteralCompletionDetails=ye;function O(te,Se,be,Ce,Be,De){switch(be.kind){case 0:{var en=e.find(be.paths,function(fe){return fe.name===te});return en&&ue.createCompletionDetails(te,D(en.extension),en.kind,[e.textPart(te)])}case 1:{var en=e.find(be.symbols,function(Ne){return Ne.name===te});return en&&ue.createCompletionDetailsForSymbol(en,Be,Ce,Se,De)}case 2:return e.find(be.types,function(fe){return fe.value===te})?ue.createCompletionDetails(te,"","type",[e.textPart(te)]):void 0;default:return e.Debug.assertNever(be)}}function A(te){var Se=!1,be=!0,Ce=te.map(function(Be){var De=Be.name,en=Be.kind,fe=Be.span,Ne=Be.extension;return{name:De,kind:en,kindModifiers:D(Ne),sortText:ue.SortText.LocationPriority,replacementSpan:fe}});return{isGlobalCompletion:Se,isMemberCompletion:!1,isNewIdentifierLocation:be,entries:Ce}}function D(te){switch(te){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".tsbuildinfo":return e.Debug.fail("Extension .tsbuildinfo is unsupported.");case void 0:return"";default:return e.Debug.assertNever(te)}}var de;(function(te){te[te.Paths=0]="Paths",te[te.Properties=1]="Properties",te[te.Types=2]="Types"})(de||(de={}));function _e(te,Se,be,Ce,Be,De,en){var fe=y(Se.parent);switch(fe.kind){case 194:{var Ne=y(fe.parent);switch(Ne.kind){case 176:{var qe=Ne,pe=e.findAncestor(fe,function(In){return In.parent===qe});return pe?{kind:2,types:L(Ce.getTypeArgumentConstraint(pe)),isNewIdentifier:!1}:void 0}case 192:var we=Ne,pn=we.indexType,Qe=we.objectType;return e.rangeContainsPosition(pn,be)?E(Ce.getTypeFromTypeNode(Qe)):void 0;case 198:return{kind:0,paths:ie(te,Se,Be,De,Ce,en)};case 185:{if(!e.isTypeReferenceNode(Ne.parent))return;var Re=V(Ne,fe),He=L(Ce.getTypeArgumentConstraint(Ne)).filter(function(In){return!e.contains(Re,In.value)});return{kind:2,types:He,isNewIdentifier:!1}}default:return}}case 291:return e.isObjectLiteralExpression(fe.parent)&&fe.name===Se?H(Ce,fe.parent):i();case 205:{var Ln=fe,Un=Ln.expression,fn=Ln.argumentExpression;return Se===e.skipParentheses(fn)?E(Ce.getTypeAtLocation(Un)):void 0}case 206:case 207:if(!Oe(Se)&&!e.isImportCall(fe)){var En=e.SignatureHelp.getArgumentInfoForCompletions(Se,be,te);return En?Z(En,Ce):i()}case 264:case 270:case 275:return{kind:0,paths:ie(te,Se,Be,De,Ce,en)};default:return i()}function i(){return{kind:2,types:L(e.getContextualTypeFromParent(Se,Ce)),isNewIdentifier:!1}}}function y(te){switch(te.kind){case 189:return e.walkUpParenthesizedTypes(te);case 210:return e.walkUpParenthesizedExpressions(te);default:return te}}function V(te,Se){return e.mapDefined(te.types,function(be){return be!==Se&&e.isLiteralTypeNode(be)&&e.isStringLiteral(be.literal)?be.literal.text:void 0})}function Z(te,Se){var be=!1,Ce=new e.Map,Be=[];Se.getResolvedSignature(te.invocation,Be,te.argumentCount);var De=e.flatMap(Be,function(en){if(!(!e.signatureHasRestParameter(en)&&te.argumentCount>en.parameters.length)){var fe=Se.getParameterType(en,te.argumentIndex);return be=be||!!(fe.flags&4),L(fe,Ce)}});return{kind:2,types:De,isNewIdentifier:be}}function E(te){return te&&{kind:1,symbols:e.filter(te.getApparentProperties(),function(Se){return!(Se.valueDeclaration&&e.isPrivateIdentifierClassElementDeclaration(Se.valueDeclaration))}),hasIndexSignature:e.hasIndexSignature(te)}}function H(te,Se){var be=te.getContextualType(Se);if(be){var Ce=te.getContextualType(Se,4),Be=ue.getPropertiesForObjectExpression(be,Ce,Se,te);return{kind:1,symbols:Be,hasIndexSignature:e.hasIndexSignature(be)}}}function L(te,Se){return Se===void 0&&(Se=new e.Map),te?(te=e.skipConstraint(te),te.isUnion()?e.flatMap(te.types,function(be){return L(be,Se)}):te.isStringLiteral()&&!(te.flags&1024)&&e.addToSeen(Se,te.value)?[te]:e.emptyArray):e.emptyArray}function ee(te,Se,be){return{name:te,kind:Se,extension:be}}function k(te){return ee(te,"directory",void 0)}function b(te,Se,be){var Ce=me(te,Se),Be=te.length===0?void 0:e.createTextSpan(Se,te.length);return be.map(function(De){var en=De.name,fe=De.kind,Ne=De.extension;return Math.max(en.indexOf(e.directorySeparator),en.indexOf(e.altDirectorySeparator))!==-1?{name:en,kind:fe,extension:Ne,span:Be}:{name:en,kind:fe,extension:Ne,span:Ce}})}function ie(te,Se,be,Ce,Be,De){return b(Se.text,Se.getStart(te)+1,q(te,Se,be,Ce,Be,De))}function q(te,Se,be,Ce,Be,De){var en=e.normalizeSlashes(Se.text),fe=te.path,Ne=e.getDirectoryPath(fe);return z(en)||!be.baseUrl&&(e.isRootedDiskPath(en)||e.isUrl(en))?se(en,Ne,be,Ce,fe,De):G(en,Ne,be,Ce,Be)}function oe(te,Se){return Se===void 0&&(Se=0),{extensions:w(te),includeExtensionsOption:Se}}function se(te,Se,be,Ce,Be,De){var en=De.importModuleSpecifierEnding==="js"?2:0,fe=oe(be,en);return be.rootDirs?ne(be.rootDirs,te,Se,fe,be,Ce,Be):C(te,Se,fe,Ce,Be)}function w(te){var Se=e.getSupportedExtensions(te);return te.resolveJsonModule&&e.getEmitModuleResolutionKind(te)===e.ModuleResolutionKind.NodeJs?Se.concat(".json"):Se}function R(te,Se,be,Ce){te=te.map(function(De){return e.normalizePath(e.isRootedDiskPath(De)?De:e.combinePaths(Se,De))});var Be=e.firstDefined(te,function(De){return e.containsPath(De,be,Se,Ce)?be.substr(De.length):void 0});return e.deduplicate(Vr(Vr([],te.map(function(De){return e.combinePaths(De,Be)}),!0),[be],!1),e.equateStringsCaseSensitive,e.compareStringsCaseSensitive)}function ne(te,Se,be,Ce,Be,De,en){var fe=Be.project||De.getCurrentDirectory(),Ne=!(De.useCaseSensitiveFileNames&&De.useCaseSensitiveFileNames()),qe=R(te,fe,be,Ne);return e.flatMap(qe,function(pe){return C(Se,pe,Ce,De,en)})}var U;(function(te){te[te.Exclude=0]="Exclude",te[te.Include=1]="Include",te[te.ModuleSpecifierCompletion=2]="ModuleSpecifierCompletion"})(U||(U={}));function C(te,Se,be,Ce,Be,De){var en=be.extensions,fe=be.includeExtensionsOption;De===void 0&&(De=[]),te===void 0&&(te=""),te=e.normalizeSlashes(te),e.hasTrailingDirectorySeparator(te)||(te=e.getDirectoryPath(te)),te===""&&(te="."+e.directorySeparator),te=e.ensureTrailingDirectorySeparator(te);var Ne=e.resolvePath(Se,te),qe=e.hasTrailingDirectorySeparator(Ne)?Ne:e.getDirectoryPath(Ne),pe=!(Ce.useCaseSensitiveFileNames&&Ce.useCaseSensitiveFileNames());if(!e.tryDirectoryExists(Ce,qe))return De;var we=e.tryReadDirectory(Ce,qe,en,void 0,["./*"]);if(we){for(var pn=new e.Map,Qe=0,Re=we;Qe=Re.pos&&Se<=Re.end});if(en){var fe=te.text.slice(en.pos,Se),Ne=K.exec(fe);if(Ne){var qe=Ne[1],pe=Ne[2],we=Ne[3],pn=e.getDirectoryPath(te.path),Qe=pe==="path"?C(we,pn,oe(be,1),Ce,te.path):pe==="types"?x(Ce,be,pn,g(we),oe(be)):e.Debug.fail();return b(we,en.pos+qe.length,Qe)}}}function x(te,Se,be,Ce,Be,De){De===void 0&&(De=[]);for(var en=new e.Map,fe=e.tryAndIgnoreErrors(function(){return e.getEffectiveTypeRoots(Se,te)})||e.emptyArray,Ne=0,qe=fe;Ne=2&&te.charCodeAt(0)===46){var Se=te.length>=3&&te.charCodeAt(1)===46?2:1,be=te.charCodeAt(Se);return be===47||be===92}return!1}var K=/^(\/\/\/\s*"),Ke=e.createTextSpanFromNode(On.tagName),jn={name:Qr,kind:"class",kindModifiers:void 0,sortText:$.LocationPriority};return{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:!1,optionalReplacementSpan:Ke,entries:[jn]}}}function R(ze,Tn,On,ur,hr){e.getNameTable(ze).forEach(function(wr,Qr){if(wr!==Tn){var Ke=e.unescapeLeadingUnderscores(Qr);!On.has(Ke)&&e.isIdentifierText(Ke,ur)&&(On.add(Ke),hr.push({name:Ke,kind:"warning",kindModifiers:"",sortText:$.JavascriptIdentifiers,isFromUncheckedFile:!0}))}})}function ne(ze,Tn,On){return typeof On=="object"?e.pseudoBigIntToString(On)+"n":e.isString(On)?e.quote(ze,Tn,On):JSON.stringify(On)}function U(ze,Tn,On){return{name:ne(ze,Tn,On),kind:"string",kindModifiers:"",sortText:$.LocationPriority}}function C(ze,Tn,On,ur,hr,wr,Qr,Ke,jn,Zn,Me,Mn,ar,Xn,yr,cr){var Fe,Bn,J=e.getReplacementSpanForContextToken(On),Cn,Gn,cn,Rn,Ye=jn&&V(jn),xn=jn&&O(jn)||Ke;if(jn&&ye(jn))Bn=Ke?"this"+(Ye?"?.":"")+"["+g(hr,cr,Qr)+"]":"this"+(Ye?"?.":".")+Qr;else if((xn||Ye)&&Me){Bn=xn?Ke?"["+g(hr,cr,Qr)+"]":"["+Qr+"]":Qr,(Ye||Me.questionDotToken)&&(Bn="?."+Bn);var an=e.findChildOfKind(Me,24,hr)||e.findChildOfKind(Me,28,hr);if(!an)return;var zn=e.startsWith(Qr,Me.name.text)?Me.name.end:an.end;J=e.createTextSpanFromBounds(an.getStart(hr),zn)}if(Mn&&(Bn===void 0&&(Bn=Qr),Bn="{"+Bn+"}",typeof Mn!="boolean"&&(J=e.createTextSpanFromNode(Mn,hr))),jn&&y(jn)&&Me){Bn===void 0&&(Bn=Qr);var ir=e.findPrecedingToken(Me.pos,hr),gr="";ir&&e.positionIsASICandidate(ir.end,ir.parent,hr)&&(gr=";"),gr+="(await "+Me.expression.getText()+")",Bn=Ke?""+gr+Bn:""+gr+(Ye?"?.":".")+Bn,J=e.createTextSpanFromBounds(Me.getStart(hr),Me.end)}if(D(jn)&&(cn=[e.textPart(jn.moduleSpecifier)],ar&&(Fe=G(Qr,ar,jn,Xn,yr,cr),Bn=Fe.insertText,J=Fe.replacementSpan,Gn=cr.includeCompletionsWithSnippetText?!0:void 0)),!(Bn!==void 0&&!cr.includeCompletionsWithInsertText))return(A(jn)||D(jn))&&(Cn=d(jn),Rn=!ar),{name:Qr,kind:e.SymbolDisplay.getSymbolKind(wr,ze,ur),kindModifiers:e.SymbolDisplay.getSymbolModifiers(wr,ze),sortText:Tn,source:f(jn),hasAction:Rn?!0:void 0,isRecommended:p(ze,Zn,wr)||void 0,insertText:Bn,replacementSpan:J,sourceDisplay:cn,isSnippet:Gn,isPackageJsonImport:_e(jn)||void 0,isImportStatementCompletion:!!ar||void 0,data:Cn}}function d(ze){return{exportName:ze.exportName,fileName:ze.fileName,ambientModuleName:ze.fileName?void 0:e.stripQuotes(ze.moduleSymbol.name),isPackageJsonImport:ze.isFromPackageJson?!0:void 0,moduleSpecifier:D(ze)?ze.moduleSpecifier:void 0}}function G(ze,Tn,On,ur,hr,wr){var Qr=Tn.getSourceFile(),Ke=e.createTextSpanFromNode(Tn,Qr),jn=e.quote(Qr,wr,On.moduleSpecifier),Zn=On.isDefaultExport?1:On.exportName==="export="?2:0,Me=wr.includeCompletionsWithSnippetText?"$1":"",Mn=e.codefix.getImportKind(Qr,Zn,hr,!0),ar=ur?";":"";switch(Mn){case 3:return{replacementSpan:Ke,insertText:"import "+ze+Me+" = require("+jn+")"+ar};case 1:return{replacementSpan:Ke,insertText:"import "+ze+Me+" from "+jn+ar};case 2:return{replacementSpan:Ke,insertText:"import * as "+ze+" from "+jn+ar};case 0:return{replacementSpan:Ke,insertText:"import { "+ze+Me+" } from "+jn+ar}}}function g(ze,Tn,On){return/^\d+$/.test(On)?On:e.quote(ze,Tn,On)}function p(ze,Tn,On){return ze===Tn||!!(ze.flags&1048576)&&On.getExportSymbolOfSymbol(ze)===Tn}function f(ze){if(A(ze))return e.stripQuotes(ze.moduleSymbol.name);if(D(ze))return ze.moduleSpecifier;if((ze==null?void 0:ze.kind)===1)return W.ThisProperty}function T(ze,Tn,On,ur,hr,wr,Qr,Ke,jn,Zn,Me,Mn,ar,Xn,yr,cr,Fe,Bn,J){for(var Cn,Gn=e.timestamp(),cn=Le(ur),Rn=e.probablyUsesSemicolons(hr),Ye=new e.Map,xn=0;xn-1?M(Mn,"keyword",e.SymbolDisplayPartKind.keyword):void 0;default:return e.Debug.assertNever(yr)}}case"symbol":{var cr=Xn.symbol,Fe=Xn.location,Bn=Xn.origin,J=Xn.previousToken,Cn=K(Bn,cr,ze,wr,Me,On,ur,J,Qr,Ke,hr.data),Gn=Cn.codeActions,cn=Cn.sourceDisplay;return me(cr,Zn,On,Fe,jn,Gn,cn)}case"literal":{var Rn=Xn.literal;return M(ne(On,Ke,Rn),"string",typeof Rn=="string"?e.SymbolDisplayPartKind.stringLiteral:e.SymbolDisplayPartKind.numericLiteral)}case"none":return qe().some(function(Ye){return Ye.name===Mn})?M(Mn,"keyword",e.SymbolDisplayPartKind.keyword):void 0;default:e.Debug.assertNever(Xn)}}ue.getCompletionEntryDetails=x;function M(ze,Tn,On){return z(ze,"",Tn,[e.displayPart(ze,On)])}function me(ze,Tn,On,ur,hr,wr,Qr){var Ke=Tn.runWithCancellationToken(hr,function(ar){return e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(ar,ze,On,ur,ur,7)}),jn=Ke.displayParts,Zn=Ke.documentation,Me=Ke.symbolKind,Mn=Ke.tags;return z(ze.name,e.SymbolDisplay.getSymbolModifiers(Tn,ze),Me,jn,Zn,Mn,wr,Qr)}ue.createCompletionDetailsForSymbol=me;function z(ze,Tn,On,ur,hr,wr,Qr,Ke){return{name:ze,kindModifiers:Tn,kind:On,displayParts:ur,documentation:hr,tags:wr,codeActions:Qr,source:Ke,sourceDisplay:Ke}}ue.createCompletionDetails=z;function K(ze,Tn,On,ur,hr,wr,Qr,Ke,jn,Zn,Me){if(Me!=null&&Me.moduleSpecifier){var Mn=De(Qr,wr),ar=Mn.contextToken,Xn=Mn.previousToken;if(Xn&&Ze(ar||Xn))return{codeActions:void 0,sourceDisplay:[e.textPart(Me.moduleSpecifier)]}}if(!ze||!(A(ze)||D(ze)))return{codeActions:void 0,sourceDisplay:void 0};var yr=ze.isFromPackageJson?ur.getPackageJsonAutoImportProvider().getTypeChecker():On.getTypeChecker(),cr=ze.moduleSymbol,Fe=yr.getMergedSymbol(e.skipAlias(Tn.exportSymbol||Tn,yr)),Bn=e.codefix.getImportCompletionAction(Fe,cr,wr,e.getNameForExportedSymbol(Tn,hr.target),ur,On,jn,Ke&&e.isIdentifier(Ke)?Ke.getStart(wr):Qr,Zn),J=Bn.moduleSpecifier,Cn=Bn.codeAction;return e.Debug.assert(!(Me!=null&&Me.moduleSpecifier)||J===Me.moduleSpecifier),{sourceDisplay:[e.textPart(J)],codeActions:[Cn]}}function I(ze,Tn,On,ur,hr,wr,Qr){var Ke=P(ze,Tn,On,ur,hr,wr,Qr);return Ke.type==="symbol"?Ke.symbol:void 0}ue.getCompletionEntrySymbol=I;var Ae;(function(ze){ze[ze.Data=0]="Data",ze[ze.JsDocTagName=1]="JsDocTagName",ze[ze.JsDocTag=2]="JsDocTag",ze[ze.JsDocParameterName=3]="JsDocParameterName",ze[ze.Keywords=4]="Keywords"})(Ae||(Ae={}));var Oe;(function(ze){ze[ze.ObjectPropertyDeclaration=0]="ObjectPropertyDeclaration",ze[ze.Global=1]="Global",ze[ze.PropertyAccess=2]="PropertyAccess",ze[ze.MemberLike=3]="MemberLike",ze[ze.String=4]="String",ze[ze.None=5]="None"})(Oe=ue.CompletionKind||(ue.CompletionKind={}));function te(ze,Tn,On){return e.firstDefined(Tn&&(Tn.isUnion()?Tn.types:[Tn]),function(ur){var hr=ur&&ur.symbol;return hr&&hr.flags&424&&!e.isAbstractConstructorSymbol(hr)?be(hr,ze,On):void 0})}function Se(ze,Tn,On,ur){var hr=ze.parent;switch(ze.kind){case 79:return e.getContextualTypeFromParent(ze,ur);case 63:switch(hr.kind){case 252:return ur.getContextualType(hr.initializer);case 219:return ur.getTypeAtLocation(hr.left);case 283:return ur.getContextualTypeForJsxAttribute(hr);default:return}case 103:return ur.getContextualType(hr);case 82:return e.getSwitchedType(e.cast(hr,e.isCaseClause),ur);case 18:return e.isJsxExpression(hr)&&hr.parent.kind!==276?ur.getContextualTypeForJsxAttribute(hr.parent):void 0;default:var wr=e.SignatureHelp.getArgumentInfoForCompletions(ze,Tn,On);return wr?ur.getContextualTypeForArgumentAtIndex(wr.invocation,wr.argumentIndex+(ze.kind===27?1:0)):e.isEqualityOperatorKind(ze.kind)&&e.isBinaryExpression(hr)&&e.isEqualityOperatorKind(hr.operatorToken.kind)?ur.getTypeAtLocation(hr.left):ur.getContextualType(ze)}}function be(ze,Tn,On){var ur=On.getAccessibleSymbolChain(ze,Tn,67108863,!1);return ur?e.first(ur):ze.parent&&(Ce(ze.parent)?ze:be(ze.parent,Tn,On))}function Ce(ze){var Tn;return!!(!((Tn=ze.declarations)===null||Tn===void 0)&&Tn.some(function(On){return On.kind===300}))}function Be(ze,Tn,On,ur,hr,wr,Qr,Ke,jn){var Zn=ze.getTypeChecker(),Me=e.timestamp(),Mn=e.getTokenAtPosition(On,hr);Tn("getCompletionData: Get current token: "+(e.timestamp()-Me)),Me=e.timestamp();var ar=e.isInComment(On,hr,Mn);Tn("getCompletionData: Is inside comment: "+(e.timestamp()-Me));var Xn=!1,yr=!1;if(ar){if(e.hasDocComment(On,hr)){if(On.text.charCodeAt(hr-1)===64)return{kind:1};var cr=e.getLineStartPositionForPosition(hr,On);if(!/[^\*|\s(/)]/.test(On.text.substring(cr,hr)))return{kind:2}}var Fe=Un(Mn,hr);if(Fe){if(Fe.tagName.pos<=hr&&hr<=Fe.tagName.end)return{kind:1};if(Rr(Fe)&&Fe.typeExpression&&Fe.typeExpression.kind===304&&(Mn=e.getTokenAtPosition(On,hr),(!Mn||!e.isDeclarationName(Mn)&&(Mn.parent.kind!==342||Mn.parent.name!==Mn))&&(Xn=dn(Fe.typeExpression))),!Xn&&e.isJSDocParameterTag(Fe)&&(e.nodeIsMissing(Fe.name)||Fe.name.pos<=hr&&hr<=Fe.name.end))return{kind:3,tag:Fe}}if(!Xn){Tn("Returning an empty list because completion was inside a regular comment or plain text part of a JsDoc comment.");return}}Me=e.timestamp();var Bn=De(hr,On),J=Bn.previousToken,Cn=Bn.contextToken;Tn("getCompletionData: Get previous token: "+(e.timestamp()-Me));var Gn=Mn,cn,Rn=!1,Ye=!1,xn=!1,an=!1,zn=!1,ir=!1,gr,Dr=e.getTouchingPropertyName(On,hr);if(Cn){var qr=Ze(Cn);if(qr===154)return{kind:4,keywords:[154]};if(qr&&wr.includeCompletionsForImportStatements&&wr.includeCompletionsWithInsertText&&(gr=qr),!gr&&wi(Cn)){Tn("Returning an empty list because completion was requested in an invalid position.");return}var ft=Cn.parent;if(Cn.kind===24||Cn.kind===28)switch(Rn=Cn.kind===24,Ye=Cn.kind===28,ft.kind){case 204:cn=ft,Gn=cn.expression;var xt=e.getLeftmostAccessExpression(cn);if(e.nodeIsMissing(xt)||(e.isCallExpression(Gn)||e.isFunctionLike(Gn))&&Gn.end===Cn.pos&&Gn.getChildCount(On)&&e.last(Gn.getChildren(On)).kind!==21)return;break;case 159:Gn=ft.left;break;case 259:Gn=ft.name;break;case 198:Gn=ft;break;case 229:Gn=ft.getFirstToken(On),e.Debug.assert(Gn.kind===100||Gn.kind===103);break;default:return}else if(!gr&&On.languageVariant===1){if(ft&&ft.kind===204&&(Cn=ft,ft=ft.parent),Mn.parent===Dr)switch(Mn.kind){case 31:(Mn.parent.kind===276||Mn.parent.kind===278)&&(Dr=Mn);break;case 43:Mn.parent.kind===277&&(Dr=Mn);break}switch(ft.kind){case 279:Cn.kind===43&&(an=!0,Dr=Cn);break;case 219:if(!Vn(ft))break;case 277:case 276:case 278:ir=!0,Cn.kind===29&&(xn=!0,Dr=Cn);break;case 286:case 285:J.kind===19&&Mn.kind===31&&(ir=!0);break;case 283:if(ft.initializer===J&&J.end0&&(Ot=e.concatenate(Ot,$r(Ie,e.Debug.checkDefined(We)))),ti(),1}function Da(){var j=Cn&&(Cn.kind===18||Cn.kind===27)?e.tryCast(Cn.parent,e.isNamedImportsOrExports):void 0;if(!j)return 0;var Ie=(j.kind===267?j.parent.parent:j.parent).moduleSpecifier;if(!Ie)return j.kind===267?2:0;var We=Zn.getSymbolAtLocation(Ie);if(!We)return 2;dt=3,Ur=!1;var sn=Zn.getExportsAndPropertiesOfModule(We),Hn=new e.Set(j.elements.filter(function(vr){return!dn(vr)}).map(function(vr){return(vr.propertyName||vr.name).escapedText}));return Ot=e.concatenate(Ot,sn.filter(function(vr){return vr.escapedName!=="default"&&!Hn.has(vr.escapedName)})),1}function $a(){var j,Ie=Cn&&(Cn.kind===18||Cn.kind===27)?e.tryCast(Cn.parent,e.isNamedExports):void 0;if(!Ie)return 0;var We=e.findAncestor(Ie,e.or(e.isSourceFile,e.isModuleDeclaration));return dt=5,Ur=!1,(j=We.locals)===null||j===void 0||j.forEach(function(sn,Hn){var vr,Sr;Ot.push(sn),!((Sr=(vr=We.symbol)===null||vr===void 0?void 0:vr.exports)===null||Sr===void 0)&&Sr.has(Hn)&&(Ya[e.getSymbolId(sn)]=12)}),1}function Ni(){var j=i(On,Cn,Dr,hr);if(!j)return 0;if(dt=3,Ur=!0,Jt=Cn.kind===41?0:e.isClassLike(j)?2:3,!e.isClassLike(j))return 1;var Ie=Cn.kind===26?Cn.parent.parent:Cn.parent,We=e.isClassElement(Ie)?e.getEffectiveModifierFlags(Ie):0;if(Cn.kind===79&&!dn(Cn))switch(Cn.getText()){case"private":We=We|8;break;case"static":We=We|32;break;case"override":We=We|16384;break}if(e.isClassStaticBlockDeclaration(Ie)&&(We|=32),!(We&8)){var sn=e.isClassLike(j)&&We&16384?e.singleElementArray(e.getEffectiveBaseTypeNode(j)):e.getAllSuperTypeNodes(j),Hn=e.flatMap(sn,function(vr){var Sr=Zn.getTypeAtLocation(vr);return We&32?(Sr==null?void 0:Sr.symbol)&&Zn.getPropertiesOfType(Zn.getTypeOfSymbolAtLocation(Sr.symbol,j)):Sr&&Zn.getPropertiesOfType(Sr)});Ot=e.concatenate(Ot,Ve(Hn,j.members,We))}return 1}function vo(j){if(j){var Ie=j.parent;switch(j.kind){case 18:case 27:if(e.isObjectLiteralExpression(Ie)||e.isObjectBindingPattern(Ie))return Ie;break;case 41:return e.isMethodDeclaration(Ie)?e.tryCast(Ie.parent,e.isObjectLiteralExpression):void 0;case 79:return j.text==="async"&&e.isShorthandPropertyAssignment(j.parent)?j.parent.parent:void 0}}}function Io(j){return!!j.parent&&e.isParameter(j.parent)&&e.isConstructorDeclaration(j.parent.parent)&&(e.isParameterPropertyModifier(j.kind)||e.isDeclarationName(j))}function Bo(j){if(j){var Ie=j.parent;switch(j.kind){case 20:case 27:return e.isConstructorDeclaration(j.parent)?j.parent:void 0;default:if(Io(j))return Ie.parent}}}function Uo(j){if(j){var Ie,We=e.findAncestor(j.parent,function(sn){return e.isClassLike(sn)?"quit":e.isFunctionLikeDeclaration(sn)&&Ie===sn.body?!0:(Ie=sn,!1)});return We&&We}}function cs(j){if(j){var Ie=j.parent;switch(j.kind){case 31:case 30:case 43:case 79:case 204:case 284:case 283:case 285:if(Ie&&(Ie.kind===277||Ie.kind===278)){if(j.kind===31){var We=e.findPrecedingToken(j.pos,On,void 0);if(!Ie.typeArguments||We&&We.kind===43)break}return Ie}else if(Ie.kind===283)return Ie.parent.parent;break;case 10:if(Ie&&(Ie.kind===283||Ie.kind===285))return Ie.parent.parent;break;case 19:if(Ie&&Ie.kind===286&&Ie.parent&&Ie.parent.kind===283)return Ie.parent.parent.parent;if(Ie&&Ie.kind===285)return Ie.parent.parent;break}}}function us(j){var Ie=j.parent,We=Ie.kind;switch(j.kind){case 27:return We===252||_r(j)||We===235||We===258||is(We)||We===256||We===200||We===257||e.isClassLike(Ie)&&!!Ie.typeParameters&&Ie.typeParameters.end>=j.pos;case 24:return We===200;case 58:return We===201;case 22:return We===200;case 20:return We===290||is(We);case 18:return We===258;case 29:return We===255||We===224||We===256||We===257||e.isFunctionLikeKind(We);case 124:return We===165&&!e.isClassLike(Ie.parent);case 25:return We===162||!!Ie.parent&&Ie.parent.kind===200;case 123:case 121:case 122:return We===162&&!e.isConstructorDeclaration(Ie.parent);case 127:return We===268||We===273||We===266;case 135:case 147:return!rn(j);case 84:case 92:case 118:case 98:case 113:case 100:case 119:case 85:case 136:case 150:return!0;case 41:return e.isFunctionLike(j.parent)&&!e.isMethodDeclaration(j.parent)}if(Re(Ln(j))&&rn(j)||Io(j)&&(!e.isIdentifier(j)||e.isParameterPropertyModifier(Ln(j))||dn(j)))return!1;switch(Ln(j)){case 126:case 84:case 85:case 134:case 92:case 98:case 118:case 119:case 121:case 122:case 123:case 124:case 113:return!0;case 130:return e.isPropertyDeclaration(j.parent)}var sn=e.findAncestor(j.parent,e.isClassLike);if(sn&&j===J&&Jo(j,hr))return!1;var Hn=e.getAncestor(j.parent,165);if(Hn&&j!==J&&e.isClassLike(J.parent.parent)&&hr<=J.end){if(Jo(j,J.end))return!1;if(j.kind!==63&&(e.isInitializedProperty(Hn)||e.hasType(Hn)))return!0}return e.isDeclarationName(j)&&!e.isShorthandPropertyAssignment(j.parent)&&!e.isJsxAttribute(j.parent)&&!(e.isClassLike(j.parent)&&(j!==J||hr>J.end))}function Jo(j,Ie){return j.kind!==63&&(j.kind===26||!e.positionsAreOnSameLine(j.end,Ie,On))}function is(j){return e.isFunctionLikeKind(j)&&j!==169}function mn(j){if(j.kind===8){var Ie=j.getFullText();return Ie.charAt(Ie.length-1)==="."}return!1}function _r(j){return j.parent.kind===253&&!e.isPossiblyTypeArgumentPosition(j,On,Zn)}function $r(j,Ie){if(Ie.length===0)return j;for(var We=new e.Set,sn=new e.Set,Hn=0,vr=Ie;Hn=0&&!E(C,d[G],115);G--);return e.forEach(D(U.statement),function(g){_e(U,g)&&E(C,g.getFirstToken(),81,86)}),C}function L(U){var C=y(U);if(C)switch(C.kind){case 240:case 241:case 242:case 238:case 239:return H(C);case 247:return ee(C)}}function ee(U){var C=[];return E(C,U.getFirstToken(),107),e.forEach(U.caseBlock.clauses,function(d){E(C,d.getFirstToken(),82,88),e.forEach(D(d),function(G){_e(U,G)&&E(C,G.getFirstToken(),81)})}),C}function k(U,C){var d=[];if(E(d,U.getFirstToken(),111),U.catchClause&&E(d,U.catchClause.getFirstToken(),83),U.finallyBlock){var G=e.findChildOfKind(U,96,C);E(d,G,96)}return d}function b(U,C){var d=A(U);if(d){var G=[];return e.forEach(O(d),function(g){G.push(e.findChildOfKind(g,109,C))}),e.isFunctionBlock(d)&&e.forEachReturnStatement(d,function(g){G.push(e.findChildOfKind(g,105,C))}),G}}function ie(U,C){var d=e.getContainingFunction(U);if(d){var G=[];return e.forEachReturnStatement(e.cast(d.body,e.isBlock),function(g){G.push(e.findChildOfKind(g,105,C))}),e.forEach(O(d.body),function(g){G.push(e.findChildOfKind(g,109,C))}),G}}function q(U){var C=e.getContainingFunction(U);if(C){var d=[];return C.modifiers&&C.modifiers.forEach(function(G){E(d,G,130)}),e.forEachChild(C,function(G){se(G,function(g){e.isAwaitExpression(g)&&E(d,g.getFirstToken(),131)})}),d}}function oe(U){var C=e.getContainingFunction(U);if(C){var d=[];return e.forEachChild(C,function(G){se(G,function(g){e.isYieldExpression(g)&&E(d,g.getFirstToken(),125)})}),d}}function se(U,C){C(U),!e.isFunctionLike(U)&&!e.isClassLike(U)&&!e.isInterfaceDeclaration(U)&&!e.isModuleDeclaration(U)&&!e.isTypeAliasDeclaration(U)&&!e.isTypeNode(U)&&e.forEachChild(U,function(d){return se(d,C)})}function w(U,C){for(var d=R(U,C),G=[],g=0;g=p.end;m--)if(!e.isWhiteSpaceSingleLine(C.text.charCodeAt(m))){T=!1;break}if(T){G.push({fileName:C.fileName,textSpan:e.createTextSpanFromBounds(p.getStart(),f.end),kind:"reference"}),g++;continue}}G.push(Y(d[g],C))}return G}function R(U,C){for(var d=[];e.isIfStatement(U.parent)&&U.parent.elseStatement===U;)U=U.parent;for(;;){var G=U.getChildren(C);E(d,G[0],99);for(var g=G.length-1;g>=0&&!E(d,G[g],91);g--);if(!U.elseStatement||!e.isIfStatement(U.elseStatement))break;U=U.elseStatement}return d}function ne(U,C){return!!e.findAncestor(U.parent,function(d){return e.isLabeledStatement(d)?d.label.escapedText===C:"quit"})}})(o=e.DocumentHighlights||(e.DocumentHighlights={}))})(vn||(vn={}));var vn;(function(e){function o(W){return!!W.sourceFile}function ue(W,re){return $(W,re)}e.createDocumentRegistry=ue;function $(W,re,ye){re===void 0&&(re="");var O=new e.Map,A=e.createGetCanonicalFileName(!!W);function D(){var k=e.arrayFrom(O.keys()).filter(function(b){return b&&b.charAt(0)==="_"}).map(function(b){var ie=O.get(b),q=[];return ie.forEach(function(oe,se){o(oe)?q.push({name:se,scriptKind:oe.sourceFile.scriptKind,refCount:oe.languageServiceRefCount}):oe.forEach(function(w,R){return q.push({name:se,scriptKind:R,refCount:w.languageServiceRefCount})})}),q.sort(function(oe,se){return se.refCount-oe.refCount}),{bucket:b,sourceFiles:q}});return JSON.stringify(k,void 0,2)}function de(k,b,ie,q,oe){var se=e.toPath(k,re,A),w=Y(b);return _e(k,se,b,w,ie,q,oe)}function _e(k,b,ie,q,oe,se,w){return E(k,b,ie,q,oe,se,!0,w)}function y(k,b,ie,q,oe){var se=e.toPath(k,re,A),w=Y(b);return V(k,se,b,w,ie,q,oe)}function V(k,b,ie,q,oe,se,w){return E(k,b,ie,q,oe,se,!1,w)}function Z(k,b){var ie=o(k)?k:k.get(e.Debug.checkDefined(b,"If there are more than one scriptKind's for same document the scriptKind should be provided"));return e.Debug.assert(b===void 0||!ie||ie.sourceFile.scriptKind===b,"Script kind should match provided ScriptKind:"+b+" and sourceFile.scriptKind: "+(ie==null?void 0:ie.sourceFile.scriptKind)+", !entry: "+!ie),ie}function E(k,b,ie,q,oe,se,w,R){R=e.ensureScriptKind(k,R);var ne=R===6?100:ie.target||1,U=e.getOrUpdate(O,q,function(){return new e.Map}),C=U.get(b),d=C&&Z(C,R);if(!d&&ye){var G=ye.getDocument(q,b);G&&(e.Debug.assert(w),d={sourceFile:G,languageServiceRefCount:0},g())}if(d)d.sourceFile.version!==se&&(d.sourceFile=e.updateLanguageServiceSourceFile(d.sourceFile,oe,se,oe.getChangeRange(d.sourceFile.scriptSnapshot)),ye&&ye.setDocument(q,b,d.sourceFile)),w&&d.languageServiceRefCount++;else{var G=e.createLanguageServiceSourceFile(k,oe,ne,se,!1,R);ye&&ye.setDocument(q,b,G),d={sourceFile:G,languageServiceRefCount:1},g()}return e.Debug.assert(d.languageServiceRefCount!==0),d.sourceFile;function g(){if(!C)U.set(b,d);else if(o(C)){var p=new e.Map;p.set(C.sourceFile.scriptKind,C),p.set(R,d),U.set(b,p)}else C.set(R,d)}}function H(k,b,ie){var q=e.toPath(k,re,A),oe=Y(b);return L(q,oe,ie)}function L(k,b,ie){var q=e.Debug.checkDefined(O.get(b)),oe=q.get(k),se=Z(oe,ie);se.languageServiceRefCount--,e.Debug.assert(se.languageServiceRefCount>=0),se.languageServiceRefCount===0&&(o(oe)?q.delete(k):(oe.delete(ie),oe.size===1&&q.set(k,e.firstDefinedIterator(oe.values(),e.identity))))}function ee(k,b){return e.arrayFrom(O.entries(),function(ie){var q=ie[0],oe=ie[1],se=oe.get(k),w=se&&Z(se,b);return[q,w&&w.languageServiceRefCount]})}return{acquireDocument:de,acquireDocumentWithKey:_e,updateDocument:y,updateDocumentWithKey:V,releaseDocument:H,releaseDocumentWithKey:L,getLanguageServiceRefCounts:ee,reportStats:D,getKeyForCompilationSettings:Y}}e.createDocumentRegistryInternal=$;function Y(W){return e.sourceFileAffectingCompilerOptions.map(function(re){return e.getCompilerOptionValue(W,re)}).join("|")}})(vn||(vn={}));var vn;(function(e){var o;(function(ue){function $(q,oe,se,w){var R=D(q,se,w);return function(ne,U,C){var d=re(q,oe,R,U,se,w),G=d.directImports,g=d.indirectUsers;return Mt({indirectUsers:g},ye(G,ne,U.exportKind,se,C))}}ue.createImportTracker=$;var Y;(function(q){q[q.Named=0]="Named",q[q.Default=1]="Default",q[q.ExportEquals=2]="ExportEquals"})(Y=ue.ExportKind||(ue.ExportKind={}));var W;(function(q){q[q.Import=0]="Import",q[q.Export=1]="Export"})(W=ue.ImportExport||(ue.ImportExport={}));function re(q,oe,se,w,R,ne){var U=w.exportingModuleSymbol,C=w.exportKind,d=e.nodeSeenTracker(),G=e.nodeSeenTracker(),g=[],p=!!U.globalExports,f=p?void 0:[];return m(U),{directImports:g,indirectUsers:T()};function T(){if(p)return q;if(U.declarations)for(var z=0,K=U.declarations;z=0&&!(an>Gn.end);){var zn=an+xn;(an===0||!e.isIdentifierPart(Rn.charCodeAt(an-1),99))&&(zn===Ye||!e.isIdentifierPart(Rn.charCodeAt(zn),99))&&cn.push(an),an=Rn.indexOf(Cn,an+xn+1)}return cn}function He(J,Cn){var Gn=J.getSourceFile(),cn=Cn.text,Rn=e.mapDefined(Qe(Gn,cn,J),function(Ye){return Ye===Cn||e.isJumpStatementTarget(Ye)&&e.getTargetLabel(Ye,cn)===Cn?W(Ye):void 0});return[{definition:{type:1,node:Cn},references:Rn}]}function Ln(J,Cn){switch(J.kind){case 80:if(e.isJSDocMemberName(J.parent))return!0;case 79:return J.text.length===Cn.length;case 14:case 10:{var Gn=J;return(e.isLiteralNameOfPropertyDeclarationOrIndexAccess(Gn)||e.isNameOfModuleDeclaration(J)||e.isExpressionOfExternalModuleImportEqualsDeclaration(J)||e.isCallExpression(J.parent)&&e.isBindableObjectDefinePropertyCall(J.parent)&&J.parent.arguments[1]===J)&&Gn.text.length===Cn.length}case 8:return e.isLiteralNameOfPropertyDeclarationOrIndexAccess(J)&&J.text.length===Cn.length;case 88:return Cn.length===7;default:return!1}}function Un(J,Cn,Gn,cn){var Rn=e.flatMap(J,function(Ye){return Gn.throwIfCancellationRequested(),e.mapDefined(Qe(Ye,e.tokenToString(Cn),Ye),function(xn){if(xn.kind===Cn&&(!cn||cn(xn)))return W(xn)})});return Rn.length?[{definition:{type:2,node:Rn[0].node},references:Rn}]:void 0}function fn(J,Cn,Gn,cn){return cn===void 0&&(cn=!0),Gn.cancellationToken.throwIfCancellationRequested(),En(J,J,Cn,Gn,cn)}function En(J,Cn,Gn,cn,Rn){if(cn.markSearchedSymbols(Cn,Gn.allSearchSymbols))for(var Ye=0,xn=Re(Cn,Gn.text,J);Ye0;He--){var Qe=pn[He];se(pe,Qe)}return[pn.length-1,pn[0]]}function se(pe,we){var pn=b(pe,we);L(A,pn),O.push(A),D.push(de),de=void 0,A=pn}function w(){A.children&&(d(A.children,A),x(A.children)),A=O.pop(),de=D.pop()}function R(pe,we,pn){se(pe,pn),C(we),w()}function ne(pe){pe.initializer&&Ne(pe.initializer)?(se(pe),e.forEachChild(pe.initializer,C),w()):R(pe,pe.initializer)}function U(pe){return!e.hasDynamicName(pe)||pe.kind!==219&&e.isPropertyAccessExpression(pe.name.expression)&&e.isIdentifier(pe.name.expression.expression)&&e.idText(pe.name.expression.expression)==="Symbol"}function C(pe){var we;if(re.throwIfCancellationRequested(),!(!pe||e.isToken(pe)))switch(pe.kind){case 169:var pn=pe;R(pn,pn.body);for(var Qe=0,Re=pn.parameters;Qe0&&(se(Le,gn),e.forEachChild(Le.right,C),w()):e.isFunctionExpression(Le.right)||e.isArrowFunction(Le.right)?R(pe,Le.right,gn):(se(Le,gn),R(pe,Le.right,$e.name),w()),q(Ue);return}case 7:case 9:{var Wn=pe,gn=hn===7?Wn.arguments[0]:Wn.arguments[0].expression,ze=Wn.arguments[1],Tn=oe(pe,gn),Ue=Tn[0],On=Tn[1];se(pe,On),se(pe,e.setTextRange(e.factory.createIdentifier(ze.text),ze)),C(pe.arguments[2]),w(),w(),q(Ue);return}case 5:{var Le=pe,$e=Le.left,ur=$e.expression;if(e.isIdentifier(ur)&&e.getElementOrPropertyAccessName($e)!=="prototype"&&de&&de.has(ur.text)){e.isFunctionExpression(Le.right)||e.isArrowFunction(Le.right)?R(pe,Le.right,ur):e.isBindableStaticAccessExpression($e)&&(se(Le,ur),R(Le.left,Le.right,e.getNameOrArgument($e)),w());return}break}case 4:case 0:case 8:break;default:e.Debug.assertNever(hn)}}default:e.hasJSDocNodes(pe)&&e.forEach(pe.jsDoc,function(hr){e.forEach(hr.tags,function(wr){e.isJSDocTypeAlias(wr)&&k(wr)})}),e.forEachChild(pe,C)}}function d(pe,we){var pn=new e.Map;e.filterMutate(pe,function(Qe,Re){var He=Qe.name||e.getNameOfDeclaration(Qe.node),Ln=He&&E(He);if(!Ln)return!0;var Un=pn.get(Ln);if(!Un)return pn.set(Ln,Qe),!0;if(Un instanceof Array){for(var fn=0,En=Un;fn0)return qe(pn)}switch(pe.kind){case 300:var Qe=pe;return e.isExternalModule(Qe)?'"'+e.escapeString(e.getBaseFileName(e.removeFileExtension(e.normalizePath(Qe.fileName))))+'"':"";case 269:return e.isExportAssignment(pe)&&pe.isExportEquals?"export=":"default";case 212:case 254:case 211:case 255:case 224:return e.getSyntacticModifierFlags(pe)&512?"default":en(pe);case 169:return"constructor";case 173:return"new()";case 172:return"()";case 174:return"[]";default:return""}}function K(pe){var we=[];function pn(Re){if(Qe(Re)&&(we.push(Re),Re.children))for(var He=0,Ln=Re.children;He0)return qe(e.declarationNameToString(pe.name));if(e.isVariableDeclaration(we))return qe(e.declarationNameToString(we.name));if(e.isBinaryExpression(we)&&we.operatorToken.kind===63)return E(we.left).replace(Y,"");if(e.isPropertyAssignment(we))return E(we.name);if(e.getSyntacticModifierFlags(pe)&512)return"default";if(e.isClassLike(pe))return"";if(e.isCallExpression(we)){var pn=fe(we.expression);if(pn!==void 0){if(pn=qe(pn),pn.length>W)return pn+" callback";var Qe=qe(e.mapDefined(we.arguments,function(Re){return e.isStringLiteralLike(Re)?Re.getText(ye):void 0}).join(", "));return pn+"("+Qe+") callback"}}return""}function fe(pe){if(e.isIdentifier(pe))return pe.text;if(e.isPropertyAccessExpression(pe)){var we=fe(pe.expression),pn=pe.name.text;return we===void 0?pn:we+"."+pn}else return}function Ne(pe){switch(pe.kind){case 212:case 211:case 224:return!0;default:return!1}}function qe(pe){return pe=pe.length>W?pe.substring(0,W)+"...":pe,pe.replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}})(o=e.NavigationBar||(e.NavigationBar={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){function $(q,oe,se,w,R,ne){var U=e.textChanges.ChangeTracker.fromContext({host:se,formatContext:oe,preferences:R}),C=function(P){return e.stableSort(ye(Y(P,q,w,ne)),function(x,M){return k(x,M)})},d=q.statements.filter(e.isImportDeclaration);N(d,C);var G=q.statements.filter(e.isExportDeclaration);N(G,A);for(var g=0,p=q.statements.filter(e.isAmbientModule);g0?p[0]:T[0],te=Ae.length===0?me?void 0:e.factory.createNamedImports(e.emptyArray):T.length===0?e.factory.createNamedImports(Ae):e.factory.updateNamedImports(T[0].importClause.namedBindings,Ae);g&&me&&te?(U.push(D(Oe,me,void 0)),U.push(D((oe=T[0])!==null&&oe!==void 0?oe:Oe,void 0,te))):U.push(D(Oe,me,te))}}return U}ue.coalesceImports=ye;function O(q){for(var oe,se={defaultImports:[],namespaceImports:[],namedImports:[]},w={defaultImports:[],namespaceImports:[],namedImports:[]},R=0,ne=q;R1&&ee.push(D(b,ie,"comment"))}}function A(E,H,L,ee){e.isJsxText(E)||O(E.pos,H,L,ee)}function D(E,H,L){return V(e.createTextSpanFromBounds(E,H),L)}function de(E,H){switch(E.kind){case 233:if(e.isFunctionLike(E.parent))return _e(E.parent,E,H);switch(E.parent.kind){case 238:case 241:case 242:case 240:case 237:case 239:case 246:case 290:return R(E.parent);case 250:var L=E.parent;if(L.tryBlock===E)return R(E.parent);if(L.finallyBlock===E){var ee=e.findChildOfKind(L,96,H);if(ee)return R(ee)}default:return V(e.createTextSpanFromNode(E,H),"code")}case 260:return R(E.parent);case 255:case 224:case 256:case 258:case 261:case 180:case 199:return R(E);case 182:return R(E,!1,!e.isTupleTypeNode(E.parent),22);case 287:case 288:return ne(E.statements);case 203:return w(E);case 202:return w(E,22);case 276:return ie(E);case 280:return q(E);case 277:case 278:return oe(E.attributes);case 221:case 14:return se(E);case 200:return R(E,!1,!e.isBindingElement(E.parent),22);case 212:return b(E);case 206:return k(E)}function k(U){if(U.arguments.length){var C=e.findChildOfKind(U,20,H),d=e.findChildOfKind(U,21,H);if(!(!C||!d||e.positionsAreOnSameLine(C.pos,d.pos,H)))return y(C,d,U,H,!1,!0)}}function b(U){if(!(e.isBlock(U.body)||e.positionsAreOnSameLine(U.body.getFullStart(),U.body.getEnd(),H))){var C=e.createTextSpanFromBounds(U.body.getFullStart(),U.body.getEnd());return V(C,"code",e.createTextSpanFromNode(U))}}function ie(U){var C=e.createTextSpanFromBounds(U.openingElement.getStart(H),U.closingElement.getEnd()),d=U.openingElement.tagName.getText(H),G="<"+d+">...";return V(C,"code",C,!1,G)}function q(U){var C=e.createTextSpanFromBounds(U.openingFragment.getStart(H),U.closingFragment.getEnd()),d="<>...";return V(C,"code",C,!1,d)}function oe(U){if(U.properties.length!==0)return D(U.getStart(H),U.getEnd(),"code")}function se(U){if(!(U.kind===14&&U.text.length===0))return D(U.getStart(H),U.getEnd(),"code")}function w(U,C){return C===void 0&&(C=18),R(U,!1,!e.isArrayLiteralExpression(U.parent)&&!e.isCallExpression(U.parent),C)}function R(U,C,d,G,g){C===void 0&&(C=!1),d===void 0&&(d=!0),G===void 0&&(G=18),g===void 0&&(g=G===18?19:23);var p=e.findChildOfKind(E,G,H),f=e.findChildOfKind(E,g,H);return p&&f&&y(p,f,U,H,C,d)}function ne(U){return U.length?V(e.createTextSpanFromRange(U),"code"):void 0}}function _e(E,H,L){var ee=Z(E,H,L),k=e.findChildOfKind(H,19,L);return ee&&k&&y(ee,k,E,L,E.kind!==212)}function y(E,H,L,ee,k,b){k===void 0&&(k=!1),b===void 0&&(b=!0);var ie=e.createTextSpanFromBounds(b?E.getFullStart():E.getStart(ee),H.getEnd());return V(ie,"code",e.createTextSpanFromNode(L,ee),k)}function V(E,H,L,ee,k){return L===void 0&&(L=E),ee===void 0&&(ee=!1),k===void 0&&(k="..."),{textSpan:E,kind:H,hintSpan:L,bannerText:k,autoCollapse:ee}}function Z(E,H,L){if(e.isNodeArrayMultiLine(E.parameters,L)){var ee=e.findChildOfKind(E,20,L);if(ee)return ee}return e.findChildOfKind(H,18,L)}})(o=e.OutliningElementsCollector||(e.OutliningElementsCollector={}))})(vn||(vn={}));var vn;(function(e){var o;(function(d){d[d.exact=0]="exact",d[d.prefix=1]="prefix",d[d.substring=2]="substring",d[d.camelCase=3]="camelCase"})(o=e.PatternMatchKind||(e.PatternMatchKind={}));function ue(d,G){return{kind:d,isCaseSensitive:G}}function $(d){var G=new e.Map,g=d.trim().split(".").map(function(p){return y(p.trim())});if(!g.some(function(p){return!p.subWordTextChunks.length}))return{getFullMatch:function(p,f){return Y(p,f,g,G)},getMatchForLastSegmentOfPattern:function(p){return ye(p,e.last(g),G)},patternContainsDots:g.length>1}}e.createPatternMatcher=$;function Y(d,G,g,p){var f=ye(G,e.last(g),p);if(f&&!(g.length-1>d.length)){for(var T,m=g.length-2,N=d.length-1;m>=0;m-=1,N-=1)T=O(T,ye(d[N],g[m],p));return T}}function W(d,G){var g=G.get(d);return g||G.set(d,g=q(d)),g}function re(d,G,g){var p=E(d,G.textLowerCase);if(p===0)return ue(G.text.length===d.length?o.exact:o.prefix,e.startsWith(d,G.text));if(G.isLowerCase){if(p===-1)return;for(var f=W(d,g),T=0,m=f;T0)return ue(o.substring,!0);if(G.characterSpans.length>0){var P=W(d,g),x=_e(d,P,G,!1)?!0:_e(d,P,G,!0)?!1:void 0;if(x!==void 0)return ue(o.camelCase,x)}}}function ye(d,G,g){if(C(G.totalTextChunk.text,function(x){return x!==32&&x!==42})){var p=re(d,G.totalTextChunk,g);if(p)return p}for(var f=G.subWordTextChunks,T,m=0,N=f;m=65&&d<=90)return!0;if(d<127||!e.isUnicodeIdentifierStart(d,99))return!1;var G=String.fromCharCode(d);return G===G.toUpperCase()}function Z(d){if(d>=97&&d<=122)return!0;if(d<127||!e.isUnicodeIdentifierStart(d,99))return!1;var G=String.fromCharCode(d);return G===G.toLowerCase()}function E(d,G){for(var g=d.length-G.length,p=function(m){if(C(G,function(N,P){return H(d.charCodeAt(P+m))===N}))return{value:m}},f=0;f<=g;f++){var T=p(f);if(typeof T=="object")return T.value}return-1}function H(d){return d>=65&&d<=90?97+(d-65):d<127?d:String.fromCharCode(d).toLowerCase().charCodeAt(0)}function L(d){return d>=48&&d<=57}function ee(d){return V(d)||Z(d)||L(d)||d===95||d===36}function k(d){for(var G=[],g=0,p=0,f=0;f0&&(G.push(b(d.substr(g,p))),p=0)}return p>0&&G.push(b(d.substr(g,p))),G}function b(d){var G=d.toLowerCase();return{text:d,textLowerCase:G,isLowerCase:d===G,characterSpans:ie(d)}}function ie(d){return oe(d,!1)}e.breakIntoCharacterSpans=ie;function q(d){return oe(d,!0)}e.breakIntoWordSpans=q;function oe(d,G){for(var g=[],p=0,f=1;fy)break e;var q=e.singleOrUndefined(e.getTrailingCommentRanges(V.text,b.end));if(q&&q.kind===2&&C(q.pos,q.end),Y(V,y,b)){if(e.isBlock(b)||e.isTemplateSpan(b)||e.isTemplateHead(b)||e.isTemplateTail(b)||k&&e.isTemplateHead(k)||e.isVariableDeclarationList(b)&&e.isVariableStatement(H)||e.isSyntaxList(b)&&e.isVariableDeclarationList(H)||e.isVariableDeclaration(b)&&e.isSyntaxList(H)&&L.length===1||e.isJSDocTypeExpression(b)||e.isJSDocSignature(b)||e.isJSDocTypeLiteral(b)){H=b;break}if(e.isTemplateSpan(H)&&ie&&e.isTemplateMiddleOrTemplateTail(ie)){var oe=b.getFullStart()-2,se=ie.getStart()+1;U(oe,se)}var w=e.isSyntaxList(b)&&D(k)&&de(ie)&&!e.positionsAreOnSameLine(k.getStart(),ie.getStart(),V),R=w?k.getEnd():b.getStart(),ne=w?ie.getStart():_e(V,b);e.hasJSDocNodes(b)&&(!((Z=b.jsDoc)===null||Z===void 0)&&Z.length)&&U(e.first(b.jsDoc).getStart(),ne),U(R,ne),(e.isStringLiteral(b)||e.isTemplateLiteral(b))&&U(R+1,ne-1),H=b;break}if(ee===L.length-1)break e}}return E;function U(d,G){if(d!==G){var g=e.createTextSpanFromBounds(d,G);(!E||!e.textSpansEqual(g,E.textSpan)&&e.textSpanIntersectsWithPosition(g,y))&&(E=Mt({textSpan:g},E&&{parent:E}))}}function C(d,G){U(d,G);for(var g=d;V.text.charCodeAt(g)===47;)g++;U(g,G)}}ue.getSmartSelectionRange=$;function Y(y,V,Z){if(e.Debug.assert(Z.pos<=V),V0&&e.last(me).kind===27&&z++,z}function ie(M,me,z,K){return e.Debug.assert(z>=me.getStart(),"Assumed 'position' could not occur before node."),e.isTemplateLiteralToken(me)?e.isInsideTemplateLiteral(me,z,K)?0:M+2:M+1}function q(M,me,z){var K=e.isNoSubstitutionTemplateLiteral(M.template)?1:M.template.templateSpans.length+1;return me!==0&&e.Debug.assertLessThan(me,K),{isTypeParameterList:!1,invocation:{kind:0,node:M},argumentsSpan:se(M,z),argumentIndex:me,argumentCount:K}}function oe(M,me){var z=M.getFullStart(),K=e.skipTrivia(me.text,M.getEnd(),!1);return e.createTextSpan(z,K-z)}function se(M,me){var z=M.template,K=z.getStart(),I=z.getEnd();if(z.kind===221){var Ae=e.last(z.templateSpans);Ae.literal.getFullWidth()===0&&(I=e.skipTrivia(me.text,I,!1))}return e.createTextSpan(K,I-K)}function w(M,me,z,K,I){for(var Ae=function(Se){e.Debug.assert(e.rangeContainsRange(Se.parent,Se),"Not a subspan",function(){return"Child: "+e.Debug.formatSyntaxKind(Se.kind)+", parent: "+e.Debug.formatSyntaxKind(Se.parent.kind)});var be=V(Se,me,z,K);if(be)return{value:be}},Oe=M;!e.isSourceFile(Oe)&&(I||!e.isBlock(Oe));Oe=Oe.parent){var te=Ae(Oe);if(typeof te=="object")return te.value}}function R(M,me,z){var K=M.getChildren(z),I=K.indexOf(me);return e.Debug.assert(I>=0&&K.length>I+1),K[I+1]}function ne(M){return M.kind===0?e.getInvokedExpression(M.node):M.called}function U(M){return M.kind===0?M.node:M.kind===1?M.called:M.node}var C=70246400;function d(M,me,z,K,I,Ae){var Oe,te=z.isTypeParameterList,Se=z.argumentCount,be=z.argumentsSpan,Ce=z.invocation,Be=z.argumentIndex,De=U(Ce),en=Ce.kind===2?Ce.symbol:I.getSymbolAtLocation(ne(Ce))||Ae&&((Oe=me.declaration)===null||Oe===void 0?void 0:Oe.symbol),fe=en?e.symbolToDisplayParts(I,en,Ae?K:void 0,void 0):e.emptyArray,Ne=e.map(M,function(i){return f(i,fe,te,I,De,K)});Be!==0&&e.Debug.assertLessThan(Be,Se);for(var qe=0,pe=0,we=0;we1))for(var Qe=0,Re=0,He=pn;Re=Se){qe=pe+Qe;break}Qe++}pe+=pn.length}e.Debug.assert(qe!==-1);var Un={items:e.flatMapToMutable(Ne,e.identity),applicableSpan:be,selectedItemIndex:qe,argumentIndex:Be,argumentCount:Se},fn=Un.items[qe];if(fn.isVariadic){var En=e.findIndex(fn.parameters,function(i){return!!i.isRest});-1N?m.substr(0,N-3)+"...":m}function f(m){var N=71286784,P={removeComments:!0},x=e.createPrinter(P);return e.usingSingleLineStringWriter(function(M){var me=E.typeToTypeNode(m,void 0,N,M);e.Debug.assertIsDefined(me,"should always get typenode"),x.writeNode(4,me,A,M)})}function T(m){return m==="undefined"}}ue.provideInlayHints=ye})(o=e.InlayHints||(e.InlayHints={}))})(vn||(vn={}));var vn;(function(e){var o=/^data:(?:application\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+\/=]+)$)?/;function ue(re){var ye=e.createGetCanonicalFileName(re.useCaseSensitiveFileNames()),O=re.getCurrentDirectory(),A=new e.Map,D=new e.Map;return{tryGetSourcePosition:y,tryGetGeneratedPosition:V,toLineColumnOffset:L,clearCache:ee};function de(k){return e.toPath(k,O,ye)}function _e(k,b){var ie=de(k),q=D.get(ie);if(q)return q;var oe;if(re.getDocumentPositionMapper)oe=re.getDocumentPositionMapper(k,b);else if(re.readFile){var se=H(k);oe=se&&e.getDocumentPositionMapper({getSourceFileLike:H,getCanonicalFileName:ye,log:function(w){return re.log(w)}},k,e.getLineInfo(se.text,e.getLineStarts(se)),function(w){return!re.fileExists||re.fileExists(w)?re.readFile(w):void 0})}return D.set(ie,oe||e.identitySourceMapConsumer),oe||e.identitySourceMapConsumer}function y(k){if(e.isDeclarationFileName(k.fileName)){var b=Z(k.fileName);if(b){var ie=_e(k.fileName).getSourcePosition(k);return!ie||ie===k?void 0:y(ie)||ie}}}function V(k){if(!e.isDeclarationFileName(k.fileName)){var b=Z(k.fileName);if(b){var ie=re.getProgram();if(!ie.isSourceOfProjectReferenceRedirect(b.fileName)){var q=ie.getCompilerOptions(),oe=e.outFile(q),se=oe?e.removeFileExtension(oe)+".d.ts":e.getDeclarationEmitOutputFilePathWorker(k.fileName,ie.getCompilerOptions(),O,ie.getCommonSourceDirectory(),ye);if(se!==void 0){var w=_e(se,k.fileName).getGeneratedPosition(k);return w===k?void 0:w}}}}}function Z(k){var b=re.getProgram();if(b){var ie=de(k),q=b.getSourceFileByPath(ie);return q&&q.resolvedPath===ie?q:void 0}}function E(k){var b=de(k),ie=A.get(b);if(ie!==void 0)return ie||void 0;if(!re.readFile||re.fileExists&&!re.fileExists(b)){A.set(b,!1);return}var q=re.readFile(b),oe=q?W(q):!1;return A.set(b,oe),oe||void 0}function H(k){return re.getSourceFileLike?re.getSourceFileLike(k):Z(k)||E(k)}function L(k,b){var ie=H(k);return ie.getLineAndCharacterOfPosition(b)}function ee(){A.clear(),D.clear()}}e.getSourceMapper=ue;function $(re,ye,O,A){var D=e.tryGetSourceMappingURL(O);if(D){var de=o.exec(D);if(de){if(de[1]){var _e=de[1];return Y(re,e.base64decode(e.sys,_e),ye)}D=void 0}}var y=[];D&&y.push(D),y.push(ye+".map");for(var V=D&&e.getNormalizedAbsolutePath(D,e.getDirectoryPath(ye)),Z=0,E=y;Z2?!1:ee.arguments.length<2?!0:e.some(ee.arguments,function(k){return k.kind===104||e.isIdentifier(k)&&k.text==="undefined"})}function Z(ee,k){switch(ee.kind){case 254:case 211:var b=e.getFunctionFlags(ee);if(b&1)return!1;case 212:o.set(E(ee),!0);case 104:return!0;case 79:case 204:{var ie=k.getSymbolAtLocation(ee);return ie?k.isUndefinedSymbol(ie)||e.some(e.skipAlias(ie,k).declarations,function(q){return e.isFunctionLike(q)||e.hasInitializer(q)&&!!q.initializer&&e.isFunctionLike(q.initializer)}):!1}default:return!1}}function E(ee){return ee.pos.toString()+":"+ee.end.toString()}function H(ee,k){var b,ie,q,oe;if(ee.kind===211){if(e.isVariableDeclaration(ee.parent)&&(!((b=ee.symbol.members)===null||b===void 0)&&b.size))return!0;var se=k.getSymbolOfExpando(ee,!1);return!!(se&&(!((ie=se.exports)===null||ie===void 0)&&ie.size||!((q=se.members)===null||q===void 0)&&q.size))}return ee.kind===254?!!(!((oe=ee.symbol.members)===null||oe===void 0)&&oe.size):!1}function L(ee){switch(ee.kind){case 254:case 167:case 211:case 212:return!0;default:return!1}}e.canBeConvertedToAsync=L})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $=70246400;function Y(D,de,_e){var y=W(D,de,_e);if(y!=="")return y;var V=e.getCombinedLocalAndExportSymbolFlags(de);return V&32?e.getDeclarationOfKind(de,224)?"local class":"class":V&384?"enum":V&524288?"type":V&64?"interface":V&262144?"type parameter":V&8?"enum member":V&2097152?"alias":V&1536?"module":y}ue.getSymbolKind=Y;function W(D,de,_e){var y=D.getRootSymbols(de);if(y.length===1&&e.first(y).flags&8192&&D.getTypeOfSymbolAtLocation(de,_e).getNonNullableType().getCallSignatures().length!==0)return"method";if(D.isUndefinedSymbol(de))return"var";if(D.isArgumentsSymbol(de))return"local var";if(_e.kind===108&&e.isExpression(_e))return"parameter";var V=e.getCombinedLocalAndExportSymbolFlags(de);if(V&3)return e.isFirstDeclarationOfSymbolParameter(de)?"parameter":de.valueDeclaration&&e.isVarConst(de.valueDeclaration)?"const":e.forEach(de.declarations,e.isLet)?"let":A(de)?"local var":"var";if(V&16)return A(de)?"local function":"function";if(V&32768)return"getter";if(V&65536)return"setter";if(V&8192)return"method";if(V&16384)return"constructor";if(V&4){if(V&33554432&&de.checkFlags&6){var Z=e.forEach(D.getRootSymbols(de),function(H){var L=H.getFlags();if(L&98311)return"property"});if(!Z){var E=D.getTypeOfSymbolAtLocation(de,_e);return E.getCallSignatures().length?"method":"property"}return Z}switch(_e.parent&&_e.parent.kind){case 278:case 276:case 277:return _e.kind===79?"property":"JSX attribute";case 283:return"JSX attribute";default:return"property"}}return""}function re(D){if(D.declarations&&D.declarations.length){var de=D.declarations,_e=de[0],y=de.slice(1),V=e.length(y)&&e.isDeprecatedDeclaration(_e)&&e.some(y,function(E){return!e.isDeprecatedDeclaration(E)})?8192:0,Z=e.getNodeModifiers(_e,V);if(Z)return Z.split(",")}return[]}function ye(D,de){if(!de)return"";var _e=new e.Set(re(de));if(de.flags&2097152){var y=D.getAliasedSymbol(de);y!==de&&e.forEach(re(y),function(V){_e.add(V)})}return de.flags&16777216&&_e.add("optional"),_e.size>0?e.arrayFrom(_e.values()).join(","):""}ue.getSymbolModifiers=ye;function O(D,de,_e,y,V,Z,E){var H;Z===void 0&&(Z=e.getMeaningFromLocation(V));var L=[],ee=[],k=[],b=e.getCombinedLocalAndExportSymbolFlags(de),ie=Z&1?W(D,de,V):"",q=!1,oe=V.kind===108&&e.isInExpressionContext(V),se,w,R,ne,U=!1;if(V.kind===108&&!oe)return{displayParts:[e.keywordPart(108)],documentation:[],symbolKind:"primitive type",tags:void 0};if(ie!==""||b&32||b&2097152){(ie==="getter"||ie==="setter")&&(ie="property");var C=void 0;if(se=oe?D.getTypeAtLocation(V):D.getTypeOfSymbolAtLocation(de,V),V.parent&&V.parent.kind===204){var d=V.parent.name;(d===V||d&&d.getFullWidth()===0)&&(V=V.parent)}var G=void 0;if(e.isCallOrNewExpression(V)?G=V:(e.isCallExpressionTarget(V)||e.isNewExpressionTarget(V)||V.parent&&(e.isJsxOpeningLikeElement(V.parent)||e.isTaggedTemplateExpression(V.parent))&&e.isFunctionLike(de.valueDeclaration))&&(G=V.parent),G){C=D.getResolvedSignature(G);var g=G.kind===207||e.isCallExpression(G)&&G.expression.kind===106,p=g?se.getConstructSignatures():se.getCallSignatures();if(C&&!e.contains(p,C.target)&&!e.contains(p,C)&&(C=p.length?p[0]:void 0),C){switch(g&&b&32?(ie="constructor",qe(se.symbol,ie)):b&2097152?(ie="alias",pe(ie),L.push(e.spacePart()),g&&(C.flags&4&&(L.push(e.keywordPart(126)),L.push(e.spacePart())),L.push(e.keywordPart(103)),L.push(e.spacePart())),Ne(de)):qe(de,ie),ie){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":L.push(e.punctuationPart(58)),L.push(e.spacePart()),!(e.getObjectFlags(se)&16)&&se.symbol&&(e.addRange(L,e.symbolToDisplayParts(D,se.symbol,y,void 0,5)),L.push(e.lineBreakPart())),g&&(C.flags&4&&(L.push(e.keywordPart(126)),L.push(e.spacePart())),L.push(e.keywordPart(103)),L.push(e.spacePart())),we(C,p,262144);break;default:we(C,p)}q=!0,U=p.length>1}}else if(e.isNameOfFunctionDeclaration(V)&&!(b&98304)||V.kind===133&&V.parent.kind===169){var f=V.parent,T=de.declarations&&e.find(de.declarations,function(Qe){return Qe===(V.kind===133?f.parent:f)});if(T){var p=f.kind===169?se.getNonNullableType().getConstructSignatures():se.getNonNullableType().getCallSignatures();D.isImplementationOfOverload(f)?C=p[0]:C=D.getSignatureFromDeclaration(f),f.kind===169?(ie="constructor",qe(se.symbol,ie)):qe(f.kind===172&&!(se.symbol.flags&2048||se.symbol.flags&4096)?se.symbol:de,ie),C&&we(C,p),q=!0,U=p.length>1}}}if(b&32&&!q&&!oe&&(en(),e.getDeclarationOfKind(de,224)?pe("local class"):L.push(e.keywordPart(84)),L.push(e.spacePart()),Ne(de),pn(de,_e)),b&64&&Z&2&&(De(),L.push(e.keywordPart(118)),L.push(e.spacePart()),Ne(de),pn(de,_e)),b&524288&&Z&2&&(De(),L.push(e.keywordPart(150)),L.push(e.spacePart()),Ne(de),pn(de,_e),L.push(e.spacePart()),L.push(e.operatorPart(63)),L.push(e.spacePart()),e.addRange(L,e.typeToDisplayParts(D,D.getDeclaredTypeOfSymbol(de),y,8388608))),b&384&&(De(),e.some(de.declarations,function(Qe){return e.isEnumDeclaration(Qe)&&e.isEnumConst(Qe)})&&(L.push(e.keywordPart(85)),L.push(e.spacePart())),L.push(e.keywordPart(92)),L.push(e.spacePart()),Ne(de)),b&1536&&!oe){De();var m=e.getDeclarationOfKind(de,259),N=m&&m.name&&m.name.kind===79;L.push(e.keywordPart(N?141:140)),L.push(e.spacePart()),Ne(de)}if(b&262144&&Z&2)if(De(),L.push(e.punctuationPart(20)),L.push(e.textPart("type parameter")),L.push(e.punctuationPart(21)),L.push(e.spacePart()),Ne(de),de.parent)fe(),Ne(de.parent,y),pn(de.parent,y);else{var P=e.getDeclarationOfKind(de,161);if(P===void 0)return e.Debug.fail();var m=P.parent;if(m)if(e.isFunctionLikeKind(m.kind)){fe();var C=D.getSignatureFromDeclaration(m);m.kind===173?(L.push(e.keywordPart(103)),L.push(e.spacePart())):m.kind!==172&&m.name&&Ne(m.symbol),e.addRange(L,e.signatureToDisplayParts(D,C,_e,32))}else m.kind===257&&(fe(),L.push(e.keywordPart(150)),L.push(e.spacePart()),Ne(m.symbol),pn(m.symbol,_e))}if(b&8){ie="enum member",qe(de,"enum member");var m=(H=de.declarations)===null||H===void 0?void 0:H[0];if((m==null?void 0:m.kind)===294){var x=D.getConstantValue(m);x!==void 0&&(L.push(e.spacePart()),L.push(e.operatorPart(63)),L.push(e.spacePart()),L.push(e.displayPart(e.getTextOfConstantValue(x),typeof x=="number"?e.SymbolDisplayPartKind.numericLiteral:e.SymbolDisplayPartKind.stringLiteral)))}}if(de.flags&2097152){if(De(),!q){var M=D.getAliasedSymbol(de);if(M!==de&&M.declarations&&M.declarations.length>0){var me=M.declarations[0],z=e.getNameOfDeclaration(me);if(z){var K=e.isModuleWithStringLiteralName(me)&&e.hasSyntacticModifier(me,2),I=de.name!=="default"&&!K,Ae=O(D,M,e.getSourceFileOfNode(me),me,z,Z,I?de:M);L.push.apply(L,Ae.displayParts),L.push(e.lineBreakPart()),R=Ae.documentation,ne=Ae.tags}else R=M.getContextualDocumentationComment(me,D),ne=M.getJsDocTags(D)}}if(de.declarations)switch(de.declarations[0].kind){case 262:L.push(e.keywordPart(93)),L.push(e.spacePart()),L.push(e.keywordPart(141));break;case 269:L.push(e.keywordPart(93)),L.push(e.spacePart()),L.push(e.keywordPart(de.declarations[0].isExportEquals?63:88));break;case 273:L.push(e.keywordPart(93));break;default:L.push(e.keywordPart(100))}L.push(e.spacePart()),Ne(de),e.forEach(de.declarations,function(Qe){if(Qe.kind===263){var Re=Qe;if(e.isExternalModuleImportEqualsDeclaration(Re))L.push(e.spacePart()),L.push(e.operatorPart(63)),L.push(e.spacePart()),L.push(e.keywordPart(144)),L.push(e.punctuationPart(20)),L.push(e.displayPart(e.getTextOfNode(e.getExternalModuleImportEqualsDeclarationExpression(Re)),e.SymbolDisplayPartKind.stringLiteral)),L.push(e.punctuationPart(21));else{var He=D.getSymbolAtLocation(Re.moduleReference);He&&(L.push(e.spacePart()),L.push(e.operatorPart(63)),L.push(e.spacePart()),Ne(He,y))}return!0}})}if(!q)if(ie!==""){if(se){if(oe?(De(),L.push(e.keywordPart(108))):qe(de,ie),ie==="property"||ie==="JSX attribute"||b&3||ie==="local var"||oe){if(L.push(e.punctuationPart(58)),L.push(e.spacePart()),se.symbol&&se.symbol.flags&262144){var Oe=e.mapToDisplayParts(function(Qe){var Re=D.typeParameterToDeclaration(se,y,$);Be().writeNode(4,Re,e.getSourceFileOfNode(e.getParseTreeNode(y)),Qe)});e.addRange(L,Oe)}else e.addRange(L,e.typeToDisplayParts(D,se,y));if(de.target&&de.target.tupleLabelDeclaration){var te=de.target.tupleLabelDeclaration;e.Debug.assertNode(te.name,e.isIdentifier),L.push(e.spacePart()),L.push(e.punctuationPart(20)),L.push(e.textPart(e.idText(te.name))),L.push(e.punctuationPart(21))}}else if(b&16||b&8192||b&16384||b&131072||b&98304||ie==="method"){var p=se.getNonNullableType().getCallSignatures();p.length&&(we(p[0],p),U=p.length>1)}}}else ie=Y(D,de,V);if(ee.length===0&&!U&&(ee=de.getContextualDocumentationComment(y,D)),ee.length===0&&b&4&&de.parent&&de.declarations&&e.forEach(de.parent.declarations,function(Qe){return Qe.kind===300}))for(var Se=0,be=de.declarations;Se0))break}}return k.length===0&&!U&&(k=de.getJsDocTags(D)),ee.length===0&&R&&(ee=R),k.length===0&&ne&&(k=ne),{displayParts:L,documentation:ee,symbolKind:ie,tags:k.length===0?void 0:k};function Be(){return w||(w=e.createPrinter({removeComments:!0})),w}function De(){L.length&&L.push(e.lineBreakPart()),en()}function en(){E&&(pe("alias"),L.push(e.spacePart()))}function fe(){L.push(e.spacePart()),L.push(e.keywordPart(101)),L.push(e.spacePart())}function Ne(Qe,Re){E&&Qe===de&&(Qe=E);var He=e.symbolToDisplayParts(D,Qe,Re||_e,void 0,7);e.addRange(L,He),de.flags&16777216&&L.push(e.punctuationPart(57))}function qe(Qe,Re){De(),Re&&(pe(Re),Qe&&!e.some(Qe.declarations,function(He){return e.isArrowFunction(He)||(e.isFunctionExpression(He)||e.isClassExpression(He))&&!He.name})&&(L.push(e.spacePart()),Ne(Qe)))}function pe(Qe){switch(Qe){case"var":case"function":case"let":case"const":case"constructor":L.push(e.textOrKeywordPart(Qe));return;default:L.push(e.punctuationPart(20)),L.push(e.textOrKeywordPart(Qe)),L.push(e.punctuationPart(21));return}}function we(Qe,Re,He){He===void 0&&(He=0),e.addRange(L,e.signatureToDisplayParts(D,Qe,y,He|32)),Re.length>1&&(L.push(e.spacePart()),L.push(e.punctuationPart(20)),L.push(e.operatorPart(39)),L.push(e.displayPart((Re.length-1).toString(),e.SymbolDisplayPartKind.numericLiteral)),L.push(e.spacePart()),L.push(e.textPart(Re.length===2?"overload":"overloads")),L.push(e.punctuationPart(21))),ee=Qe.getDocumentationComment(D),k=Qe.getJsDocTags(),Re.length>1&&ee.length===0&&k.length===0&&(ee=Re[0].getDocumentationComment(D),k=Re[0].getJsDocTags())}function pn(Qe,Re){var He=e.mapToDisplayParts(function(Ln){var Un=D.symbolToTypeParameterDeclarations(Qe,Re,$);Be().writeList(53776,Un,e.getSourceFileOfNode(e.getParseTreeNode(Re)),Ln)});e.addRange(L,He)}}ue.getSymbolDisplayPartsDocumentationAndSymbolKind=O;function A(D){return D.parent?!1:e.forEach(D.declarations,function(de){if(de.kind===211)return!0;if(de.kind!==252&&de.kind!==254)return!1;for(var _e=de.parent;!e.isFunctionBlock(_e);_e=_e.parent)if(_e.kind===300||_e.kind===260)return!1;return!0})}})(o=e.SymbolDisplay||(e.SymbolDisplay={}))})(vn||(vn={}));var vn;(function(e){function o(W,re){var ye=[],O=re.compilerOptions?Y(re.compilerOptions,ye):{},A=e.getDefaultCompilerOptions();for(var D in A)e.hasProperty(A,D)&&O[D]===void 0&&(O[D]=A[D]);for(var de=0,_e=e.transpileOptionValueCompilerOptions;de<_e.length;de++){var y=_e[de];O[y.name]=y.transpileOptionValue}O.suppressOutputPathCheck=!0,O.allowNonTsExtensions=!0;var V=re.fileName||(re.compilerOptions&&re.compilerOptions.jsx?"module.tsx":"module.ts"),Z=e.createSourceFile(V,W,O.target);re.moduleName&&(Z.moduleName=re.moduleName),re.renamedDependencies&&(Z.renamedDependencies=new e.Map(e.getEntries(re.renamedDependencies)));var E=e.getNewLineCharacter(O),H,L,ee={getSourceFile:function(b){return b===e.normalizePath(V)?Z:void 0},writeFile:function(b,ie){e.fileExtensionIs(b,".map")?(e.Debug.assertEqual(L,void 0,"Unexpected multiple source map outputs, file:",b),L=ie):(e.Debug.assertEqual(H,void 0,"Unexpected multiple outputs, file:",b),H=ie)},getDefaultLibFileName:function(){return"lib.d.ts"},useCaseSensitiveFileNames:function(){return!1},getCanonicalFileName:function(b){return b},getCurrentDirectory:function(){return""},getNewLine:function(){return E},fileExists:function(b){return b===V},readFile:function(){return""},directoryExists:function(){return!0},getDirectories:function(){return[]}},k=e.createProgram([V],O,ee);return re.reportDiagnostics&&(e.addRange(ye,k.getSyntacticDiagnostics(Z)),e.addRange(ye,k.getOptionsDiagnostics())),k.emit(void 0,void 0,void 0,void 0,re.transformers),H===void 0?e.Debug.fail("Output generation failed"):{outputText:H,diagnostics:ye,sourceMapText:L}}e.transpileModule=o;function ue(W,re,ye,O,A){var D=o(W,{compilerOptions:re,fileName:ye,reportDiagnostics:!!O,moduleName:A});return e.addRange(O,D.diagnostics),D.outputText}e.transpile=ue;var $;function Y(W,re){$=$||e.filter(e.optionDeclarations,function(de){return typeof de.type=="object"&&!e.forEachEntry(de.type,function(_e){return typeof _e!="number"})}),W=e.cloneCompilerOptions(W);for(var ye=function(de){if(!e.hasProperty(W,de.name))return"continue";var _e=W[de.name];e.isString(_e)?W[de.name]=e.parseCustomTypeOption(de,_e,re):e.forEachEntry(de.type,function(y){return y===_e})||re.push(e.createCompilerDiagnosticForInvalidCustomType(de))},O=0,A=$;O>=D;return ee}function E(H,L){var ee=(H>>L&de)+1;return e.Debug.assert((ee&de)===ee,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules."),H&~(de<=G.length)return!1;var T=G[g];if(f.end<=T.start)return!1;if(e.startEndOverlapsWithStartEnd(f.pos,f.end,T.start,T.start+T.length))return!0;g++}};function p(){return!1}}function E(C,d,G){var g=C.getStart(G);if(g===d.pos&&C.end===d.end)return g;var p=e.findPrecedingToken(d.pos,G);return!p||p.end>=d.pos?C.pos:p.end}function H(C,d,G){for(var g=-1,p;C;){var f=G.getLineAndCharacterOfPosition(C.getStart(G)).line;if(g!==-1&&f!==g)break;if(ue.SmartIndenter.shouldIndentChildNode(d,C,p,G))return d.indentSize;g=f,p=C,C=C.parent}return 0}function L(C,d,G,g,p,f){var T={pos:0,end:d.text.length};return ue.getFormattingScanner(d.text,G,T.pos,T.end,function(m){return b(T,C,g,p,m,f,1,function(N){return!1},d)})}ue.formatNodeGivenIndentation=L;function ee(C,d,G,g){if(!C)return[];var p={pos:e.getLineStartPositionForPosition(C.getStart(d),d),end:C.end};return k(p,d,G,g)}function k(C,d,G,g){var p=V(C,d);return ue.getFormattingScanner(d.text,d.languageVariant,E(p,C,d),C.end,function(f){return b(C,p,ue.SmartIndenter.getIndentationForNode(p,C,d,G.options),H(p,G.options,d),f,G,g,Z(d.parseDiagnostics,C),d)})}function b(C,d,G,g,p,f,T,m,N){var P=f.options,x=f.getRules,M=f.host,me=new ue.FormattingContext(N,T,P),z,K,I,Ae,Oe=-1,te=[];if(p.advance(),p.isOnToken()){var Se=N.getLineAndCharacterOfPosition(d.getStart(N)).line,be=Se;d.decorators&&(be=N.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(d,N)).line),qe(d,d,Se,be,G,g)}if(!p.isOnToken()){var Ce=ue.SmartIndenter.nodeWillIndentChild(P,d,void 0,N,!1)?G+P.indentSize:G,Be=p.getCurrentLeadingTrivia();Be&&pe(Be,Ce,!1,function(Vn){return pn(Vn,N.getLineAndCharacterOfPosition(Vn.pos),d,d,void 0)})}return P.trimTrailingWhitespace!==!1&&i(),te;function De(Vn,le,Pe,xe,Ze){if(e.rangeOverlapsWithStartEnd(xe,Vn,le)||e.rangeContainsStartEnd(xe,Vn,le)){if(Ze!==-1)return Ze}else{var hn=N.getLineAndCharacterOfPosition(Vn).line,Le=e.getLineStartPositionForPosition(Vn,N),$e=ue.SmartIndenter.findFirstNonWhitespaceColumn(Le,Vn,N,P);if(hn!==Pe||Vn===$e){var An=ue.SmartIndenter.getBaseIndentation(P);return An>$e?An:$e}}return-1}function en(Vn,le,Pe,xe,Ze,hn){var Le=ue.SmartIndenter.shouldIndentChildNode(P,Vn)?P.indentSize:0;return hn===le?{indentation:le===Ae?Oe:Ze.getIndentation(),delta:Math.min(P.indentSize,Ze.getDelta(Vn)+Le)}:Pe===-1?Vn.kind===20&&le===Ae?{indentation:Oe,delta:Ze.getDelta(Vn)}:ue.SmartIndenter.childStartsOnTheSameLineWithElseInIfStatement(xe,Vn,le,N)||ue.SmartIndenter.childIsUnindentedBranchOfConditionalExpression(xe,Vn,le,N)||ue.SmartIndenter.argumentStartsOnSameLineAsPreviousArgument(xe,Vn,le,N)?{indentation:Ze.getIndentation(),delta:Le}:{indentation:Ze.getIndentation()+Ze.getDelta(Vn),delta:Le}:{indentation:Pe,delta:Le}}function fe(Vn){if(Vn.modifiers&&Vn.modifiers.length)return Vn.modifiers[0].kind;switch(Vn.kind){case 255:return 84;case 256:return 118;case 254:return 98;case 258:return 258;case 170:return 135;case 171:return 147;case 167:if(Vn.asteriskToken)return 41;case 165:case 162:var le=e.getNameOfDeclaration(Vn);if(le)return le.kind}}function Ne(Vn,le,Pe,xe){return{getIndentationForComment:function(Le,$e,An){switch(Le){case 19:case 23:case 21:return Pe+hn(An)}return $e!==-1?$e:Pe},getIndentationForToken:function(Le,$e,An,Ue){return!Ue&&Ze(Le,$e,An)?Pe+hn(An):Pe},getIndentation:function(){return Pe},getDelta:hn,recomputeIndentation:function(Le,$e){ue.SmartIndenter.shouldIndentChildNode(P,$e,Vn,N)&&(Pe+=Le?P.indentSize:-P.indentSize,xe=ue.SmartIndenter.shouldIndentChildNode(P,Vn)?P.indentSize:0)}};function Ze(Le,$e,An){switch($e){case 18:case 19:case 21:case 91:case 115:case 59:return!1;case 43:case 31:switch(An.kind){case 278:case 279:case 277:case 226:return!1}break;case 22:case 23:if(An.kind!==193)return!1;break}return le!==Le&&!(Vn.decorators&&$e===fe(Vn))}function hn(Le){return ue.SmartIndenter.nodeWillIndentChild(P,Vn,Le,N,!0)?xe:0}}function qe(Vn,le,Pe,xe,Ze,hn){if(!e.rangeOverlapsWithStartEnd(C,Vn.getStart(N),Vn.getEnd()))return;var Le=Ne(Vn,Pe,Ze,hn),$e=le;for(e.forEachChild(Vn,function(Tn){gn(Tn,-1,Vn,Le,Pe,xe,!1)},function(Tn){Wn(Tn,Vn,Pe,Le)});p.isOnToken();){var An=p.readTokenInfo(Vn);if(An.token.end>Vn.end)break;ze(An,Vn,Le,Vn)}if(!Vn.parent&&p.isOnEOF()){var Ue=p.readEOFTokenRange();Ue.end<=Vn.end&&z&&Qe(Ue,N.getLineAndCharacterOfPosition(Ue.pos).line,Vn,z,I,K,le,Le)}function gn(Tn,On,ur,hr,wr,Qr,Ke,jn){var Zn=Tn.getStart(N),Me=N.getLineAndCharacterOfPosition(Zn).line,Mn=Me;Tn.decorators&&(Mn=N.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(Tn,N)).line);var ar=-1;if(Ke&&e.rangeContainsRange(C,ur)&&(ar=De(Zn,Tn.end,wr,C,On),ar!==-1&&(On=ar)),!e.rangeOverlapsWithStartEnd(C,Tn.pos,Tn.end))return Tn.endZn){Xn.token.pos>Zn&&p.skipToStartOf(Tn);break}ze(Xn,Vn,hr,Vn)}if(!p.isOnToken())return On;if(e.isToken(Tn)){var Xn=p.readTokenInfo(Tn);if(Tn.kind!==11)return e.Debug.assert(Xn.token.end===Tn.end,"Token end is child end"),ze(Xn,Vn,hr,Tn),On}var yr=Tn.kind===163?Me:Qr,cr=en(Tn,Me,ar,Vn,hr,yr);return qe(Tn,$e,Me,Mn,cr.indentation,cr.delta),$e=Vn,jn&&ur.kind===202&&On===-1&&(On=cr.indentation),On}function Wn(Tn,On,ur,hr){e.Debug.assert(e.isNodeArray(Tn));var wr=oe(On,Tn),Qr=hr,Ke=ur;if(wr!==0)for(;p.isOnToken();){var jn=p.readTokenInfo(On);if(jn.token.end>Tn.pos)break;if(jn.token.kind===wr){Ke=N.getLineAndCharacterOfPosition(jn.token.pos).line,ze(jn,On,hr,On);var Zn=void 0;if(Oe!==-1)Zn=Oe;else{var Me=e.getLineStartPositionForPosition(jn.token.pos,N);Zn=ue.SmartIndenter.findFirstNonWhitespaceColumn(Me,jn.token.pos,N,P)}Qr=Ne(On,ur,Zn,P.indentSize)}else ze(jn,On,hr,On)}for(var Mn=-1,ar=0;ar0){var Qr=U(wr,P);X(ur,hr.character,Qr)}else In(ur,hr.character)}}}function fn(Vn,le,Pe){for(var xe=Vn;xehn)){var Le=En(Ze,hn);Le!==-1&&(e.Debug.assert(Le===Ze||!e.isWhiteSpaceSingleLine(N.text.charCodeAt(Le-1))),In(Le,hn+1-Le))}}}function En(Vn,le){for(var Pe=le;Pe>=Vn&&e.isWhiteSpaceSingleLine(N.text.charCodeAt(Pe));)Pe--;return Pe!==le?Pe+1:-1}function i(){var Vn=z?z.end:C.pos,le=N.getLineAndCharacterOfPosition(Vn).line,Pe=N.getLineAndCharacterOfPosition(C.end).line;fn(le,Pe+1,z)}function In(Vn,le){le&&te.push(e.createTextChangeFromStartLength(Vn,le,""))}function X(Vn,le,Pe){(le||Pe)&&te.push(e.createTextChangeFromStartLength(Vn,le,Pe))}function rn(Vn,le){le&&te.push(e.createTextChangeFromStartLength(Vn,0,le))}function $n(Vn,le,Pe,xe,Ze){var hn=Ze!==Pe;switch(Vn.action){case 1:return 0;case 16:if(le.end!==xe.pos)return In(le.end,xe.pos-le.end),hn?2:0;break;case 32:In(le.pos,le.end-le.pos);break;case 8:if(Vn.flags!==1&&Pe!==Ze)return 0;var Le=Ze-Pe;if(Le!==1)return X(le.end,xe.pos-le.end,e.getNewLineOrDefaultFromHost(M,P)),hn?0:1;break;case 4:if(Vn.flags!==1&&Pe!==Ze)return 0;var $e=xe.pos-le.end;if($e!==1||N.text.charCodeAt(le.end)!==32)return X(le.end,xe.pos-le.end," "),hn?2:0;break;case 64:rn(le.end,";")}return 0}}var ie;(function(C){C[C.None=0]="None",C[C.LineAdded=1]="LineAdded",C[C.LineRemoved=2]="LineRemoved"})(ie||(ie={}));function q(C,d,G,g){g===void 0&&(g=e.getTokenAtPosition(C,d));var p=e.findAncestor(g,e.isJSDoc);p&&(g=p.parent);var f=g.getStart(C);if(!(f<=d&&dN.text.length)return de(P);if(P.indentStyle===e.IndentStyle.None)return 0;var M=e.findPrecedingToken(m,N,void 0,!0),me=ue.getRangeOfEnclosingComment(N,m,M||null);if(me&&me.kind===3)return ye(N,m,P,me);if(!M)return de(P);var z=e.isStringOrRegularExpressionOrTemplateLiteral(M.kind);if(z&&M.getStart(N)<=m&&m=0),M<=me)return G(e.getStartPositionOfLine(me,m),N,m,P);var z=e.getStartPositionOfLine(M,m),K=d(z,N,m,P),I=K.column,Ae=K.character;if(I===0)return I;var Oe=m.text.charCodeAt(z+Ae);return Oe===42?I-1:I}function O(m,N,P){for(var x=N;x>0;){var M=m.text.charCodeAt(x);if(!e.isWhiteSpaceLike(M))break;x--}var me=e.getLineStartPositionForPosition(x,m);return G(me,x,m,P)}function A(m,N,P,x,M,me){for(var z,K=P;K;){if(e.positionBelongsToNode(K,N,m)&&f(me,K,z,m,!0)){var I=L(K,m),Ae=H(P,K,x,m),Oe=Ae!==0?M&&Ae===2?me.indentSize:0:x!==I.line?me.indentSize:0;return _e(K,I,void 0,Oe,m,!0,me)}var te=ne(K,m,me,!0);if(te!==-1)return te;z=K,K=K.parent}return de(me)}function D(m,N,P,x){var M=P.getLineAndCharacterOfPosition(m.getStart(P));return _e(m,M,N,0,P,!1,x)}Y.getIndentationForNode=D;function de(m){return m.baseIndentSize||0}Y.getBaseIndentation=de;function _e(m,N,P,x,M,me,z){for(var K,I=m.parent;I;){var Ae=!0;if(P){var Oe=m.getStart(M);Ae=OeP.end}var te=y(I,m,M),Se=te.line===N.line||k(I,m,N.line,M);if(Ae){var be=(K=q(m,M))===null||K===void 0?void 0:K[0],Ce=!!be&&L(be,M).line>te.line,Be=ne(m,M,z,Ce);if(Be!==-1||(Be=Z(m,I,N,Se,M,z),Be!==-1))return Be+x}f(z,I,m,M,me)&&!Se&&(x+=z.indentSize);var De=ee(I,m,N.line,M);m=I,I=m.parent,N=De?M.getLineAndCharacterOfPosition(m.getStart(M)):te}return x+de(z)}function y(m,N,P){var x=q(N,P),M=x?x.pos:m.getStart(P);return P.getLineAndCharacterOfPosition(M)}function V(m,N,P){var x=e.findListItemInfo(m);return x&&x.listItemIndex>0?U(x.list.getChildren(),x.listItemIndex-1,N,P):-1}function Z(m,N,P,x,M,me){var z=(e.isDeclaration(m)||e.isStatementButNotDeclaration(m))&&(N.kind===300||!x);return z?C(P,M,me):-1}var E;(function(m){m[m.Unknown=0]="Unknown",m[m.OpenBrace=1]="OpenBrace",m[m.CloseBrace=2]="CloseBrace"})(E||(E={}));function H(m,N,P,x){var M=e.findNextToken(m,N,x);if(!M)return 0;if(M.kind===18)return 1;if(M.kind===19){var me=L(M,x).line;return P===me?2:0}return 0}function L(m,N){return N.getLineAndCharacterOfPosition(m.getStart(N))}function ee(m,N,P,x){if(!(e.isCallExpression(m)&&e.contains(m.arguments,N)))return!1;var M=m.expression.getEnd(),me=e.getLineAndCharacterOfPosition(x,M).line;return me===P}Y.isArgumentAndStartLineOverlapsExpressionBeingCalled=ee;function k(m,N,P,x){if(m.kind===237&&m.elseStatement===N){var M=e.findChildOfKind(m,91,x);e.Debug.assert(M!==void 0);var me=L(M,x).line;return me===P}return!1}Y.childStartsOnTheSameLineWithElseInIfStatement=k;function b(m,N,P,x){if(e.isConditionalExpression(m)&&(N===m.whenTrue||N===m.whenFalse)){var M=e.getLineAndCharacterOfPosition(x,m.condition.end).line;if(N===m.whenTrue)return P===M;var me=L(m.whenTrue,x).line,z=e.getLineAndCharacterOfPosition(x,m.whenTrue.end).line;return M===me&&z===P}return!1}Y.childIsUnindentedBranchOfConditionalExpression=b;function ie(m,N,P,x){if(e.isCallOrNewExpression(m)){if(!m.arguments)return!1;var M=e.find(m.arguments,function(I){return I.pos===N.pos});if(!M)return!1;var me=m.arguments.indexOf(M);if(me===0)return!1;var z=m.arguments[me-1],K=e.getLineAndCharacterOfPosition(x,z.getEnd()).line;if(P===K)return!0}return!1}Y.argumentStartsOnSameLineAsPreviousArgument=ie;function q(m,N){return m.parent&&se(m.getStart(N),m.getEnd(),m.parent,N)}Y.getContainingList=q;function oe(m,N,P){return N&&se(m,m,N,P)}function se(m,N,P,x){switch(P.kind){case 176:return M(P.typeArguments);case 203:return M(P.properties);case 202:return M(P.elements);case 180:return M(P.members);case 254:case 211:case 212:case 167:case 166:case 172:case 169:case 178:case 173:return M(P.typeParameters)||M(P.parameters);case 255:case 224:case 256:case 257:case 339:return M(P.typeParameters);case 207:case 206:return M(P.typeArguments)||M(P.arguments);case 253:return M(P.declarations);case 267:case 271:return M(P.elements);case 199:case 200:return M(P.elements)}function M(me){return me&&e.rangeContainsStartEnd(w(P,me,x),m,N)?me:void 0}}function w(m,N,P){for(var x=m.getChildren(P),M=1;M=0&&N=0;z--)if(m[z].kind!==27){var K=P.getLineAndCharacterOfPosition(m[z].end).line;if(K!==me.line)return C(me,P,x);me=L(m[z],P)}return-1}function C(m,N,P){var x=N.getPositionOfLineAndCharacter(m.line,0);return G(x,x+m.character,N,P)}function d(m,N,P,x){for(var M=0,me=0,z=m;z0?1:0,Be=e.getStartPositionOfLine(e.getLineOfLocalPosition(T,te)+Ce,T);return Be=A(T.text,Be),e.getStartPositionOfLine(e.getLineOfLocalPosition(T,Be),T)}function Z(T,m,N){var P=m.end,x=N.trailingTriviaOption;if(x===O.Include){var M=e.getTrailingCommentRanges(T.text,P);if(M)for(var me=e.getLineOfLocalPosition(T,m.end),z=0,K=M;zme)break;var Ae=e.getLineOfLocalPosition(T,I.end);if(Ae>me)return e.skipTrivia(T.text,I.end,!0,!0)}}}function E(T,m,N){var P,x=m.end,M=N.trailingTriviaOption;if(M===O.Exclude)return x;if(M===O.ExcludeWhitespace){var me=e.concatenate(e.getTrailingCommentRanges(T.text,x),e.getLeadingCommentRanges(T.text,x)),z=(P=me==null?void 0:me[me.length-1])===null||P===void 0?void 0:P.end;return z||x}var K=Z(T,m,N);if(K)return K;var I=e.skipTrivia(T.text,x,!0);return I!==x&&(M===O.Include||e.isLineBreak(T.text.charCodeAt(I-1)))?I:x}function H(T,m){return!!m&&!!T.parent&&(m.kind===27||m.kind===26&&T.parent.kind===203)}function L(T){return e.isFunctionExpression(T)||e.isFunctionDeclaration(T)}ue.isThisTypeAnnotatable=L;var ee=function(){function T(m,N){this.newLineCharacter=m,this.formatContext=N,this.changes=[],this.newFiles=[],this.classesWithNodesInsertedAtStart=new e.Map,this.deletedNodes=[]}return T.fromContext=function(m){return new T(e.getNewLineOrDefaultFromHost(m.host,m.formatContext.options),m.formatContext)},T.with=function(m,N){var P=T.fromContext(m);return N(P),P.getChanges()},T.prototype.pushRaw=function(m,N){e.Debug.assertEqual(m.fileName,N.fileName);for(var P=0,x=N.textChanges;P",joiner:", "})},T.prototype.getOptionsForInsertNodeBefore=function(m,N,P){return e.isStatement(m)||e.isClassElement(m)?{suffix:P?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}:e.isVariableDeclaration(m)?{suffix:", "}:e.isParameter(m)?e.isParameter(N)?{suffix:", "}:{}:e.isStringLiteral(m)&&e.isImportDeclaration(m.parent)||e.isNamedImports(m)?{suffix:", "}:e.isImportSpecifier(m)?{suffix:","+(P?this.newLineCharacter:" ")}:e.Debug.failBadSyntaxKind(m)},T.prototype.insertNodeAtConstructorStart=function(m,N,P){var x=e.firstOrUndefined(N.body.statements);!x||!N.body.multiLine?this.replaceConstructorBody(m,N,Vr([P],N.body.statements,!0)):this.insertNodeBefore(m,x,P)},T.prototype.insertNodeAtConstructorStartAfterSuperCall=function(m,N,P){var x=e.find(N.body.statements,function(M){return e.isExpressionStatement(M)&&e.isSuperCall(M.expression)});!x||!N.body.multiLine?this.replaceConstructorBody(m,N,Vr(Vr([],N.body.statements,!0),[P],!1)):this.insertNodeAfter(m,x,P)},T.prototype.insertNodeAtConstructorEnd=function(m,N,P){var x=e.lastOrUndefined(N.body.statements);!x||!N.body.multiLine?this.replaceConstructorBody(m,N,Vr(Vr([],N.body.statements,!0),[P],!1)):this.insertNodeAfter(m,x,P)},T.prototype.replaceConstructorBody=function(m,N,P){this.replaceNode(m,N.body,e.factory.createBlock(P,!0))},T.prototype.insertNodeAtEndOfScope=function(m,N,P){var x=V(m,N.getLastToken(),{});this.insertNodeAt(m,x,P,{prefix:e.isLineBreak(m.text.charCodeAt(N.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})},T.prototype.insertNodeAtClassStart=function(m,N,P){this.insertNodeAtStartWorker(m,N,P)},T.prototype.insertNodeAtObjectStart=function(m,N,P){this.insertNodeAtStartWorker(m,N,P)},T.prototype.insertNodeAtStartWorker=function(m,N,P){var x,M=(x=this.guessIndentationFromExistingMembers(m,N))!==null&&x!==void 0?x:this.computeIndentationForNewMember(m,N);this.insertNodeAt(m,ie(N).pos,P,this.getInsertNodeAtStartInsertOptions(m,N,M))},T.prototype.guessIndentationFromExistingMembers=function(m,N){for(var P,x=N,M=0,me=ie(N);M0?{fileName:Se.fileName,textChanges:De}:void 0})}T.getTextChangesFromChanges=m;function N(K,I,Ae,Oe,te){var Se=P(K,e.getScriptKindFromFileName(I),Ae,Oe,te);return{fileName:I,textChanges:[e.createTextChange(e.createTextSpan(0,0),Se)],isNewFile:!0}}T.newFileChanges=N;function P(K,I,Ae,Oe,te){var Se=Ae.map(function(Be){return Be===4?"":z(Be,K,Oe).text}).join(Oe),be=e.createSourceFile("any file name",Se,99,!0,I),Ce=e.formatting.formatDocument(be,te);return se(Se,Ce)+Oe}T.newFileChangesWorker=P;function x(K,I,Ae,Oe,te){var Se;if(K.kind===_e.Remove)return"";if(K.kind===_e.Text)return K.text;var be=K.options,Ce=be===void 0?{}:be,Be=K.range.pos,De=function(Ne){return me(Ne,I,Be,Ce,Ae,Oe,te)},en=K.kind===_e.ReplaceWithMultipleNodes?K.nodes.map(function(Ne){return e.removeSuffix(De(Ne),Ae)}).join(((Se=K.options)===null||Se===void 0?void 0:Se.joiner)||Ae):De(K.node),fe=Ce.preserveLeadingWhitespace||Ce.indentation!==void 0||e.getLineStartPositionForPosition(Be,I)===Be?en:en.replace(/^\s+/,"");return(Ce.prefix||"")+fe+(!Ce.suffix||e.endsWith(fe,Ce.suffix)?"":Ce.suffix)}function M(K,I){var Ae=K.options,Oe=!Ae.semicolons||Ae.semicolons===e.SemicolonPreference.Ignore,te=Ae.semicolons===e.SemicolonPreference.Remove||Oe&&!e.probablyUsesSemicolons(I);return Mt(Mt({},Ae),{semicolons:te?e.SemicolonPreference.Remove:e.SemicolonPreference.Ignore})}function me(K,I,Ae,Oe,te,Se,be){var Ce=Oe.indentation,Be=Oe.prefix,De=Oe.delta,en=z(K,I,te),fe=en.node,Ne=en.text;be&&be(fe,Ne);var qe=M(Se,I),pe=Ce!==void 0?Ce:e.formatting.SmartIndenter.getIndentation(Ae,I,qe,Be===te||e.getLineStartPositionForPosition(Ae,I)===Ae);De===void 0&&(De=e.formatting.SmartIndenter.shouldIndentChildNode(qe,K)&&qe.indentSize||0);var we={text:Ne,getLineAndCharacterOfPosition:function(Qe){return e.getLineAndCharacterOfPosition(this,Qe)}},pn=e.formatting.formatNodeGivenIndentation(fe,we,I.languageVariant,pe,De,Mt(Mt({},Se),{options:qe}));return se(Ne,pn)}function z(K,I,Ae){var Oe=U(Ae),te=Ae===` `?1:0;return e.createPrinter({newLine:te,neverAsciiEscape:!0,preserveSourceNewlines:!0,terminateUnterminatedLiterals:!0},Oe).writeNode(4,K,I,Oe),{text:Oe.getText(),node:R(K)}}T.getNonformattedText=z})(oe||(oe={}));function se(T,m){for(var N=m.length-1;N>=0;N--){var P=m[N],x=P.span,M=P.newText;T=""+T.substring(0,x.start)+M+T.substring(e.textSpanEnd(x))}return T}ue.applyChanges=se;function w(T){return e.skipTrivia(T,0)===T.length}function R(T){var m=e.visitEachChild(T,R,e.nullTransformationContext,ne,R),N=e.nodeIsSynthesized(m)?m:Object.create(m);return e.setTextRangePosEnd(N,$(T),W(T)),N}function ne(T,m,N,P,x){var M=e.visitNodes(T,m,N,P,x);if(!M)return M;var me=M===T?e.factory.createNodeArray(M.slice(0)):M;return e.setTextRangePosEnd(me,$(T),W(T)),me}function U(T){var m=0,N=e.createTextWriter(T),P=function(In){In&&Y(In,m)},x=function(In){In&&re(In,m)},M=function(In){In&&Y(In,m)},me=function(In){In&&re(In,m)},z=function(In){In&&Y(In,m)},K=function(In){In&&re(In,m)};function I(In,X){if(X||!w(In)){m=N.getTextPos();for(var rn=0;e.isWhiteSpaceLike(In.charCodeAt(In.length-rn-1));)rn++;m-=rn}}function Ae(In){N.write(In),I(In,!1)}function Oe(In){N.writeComment(In)}function te(In){N.writeKeyword(In),I(In,!1)}function Se(In){N.writeOperator(In),I(In,!1)}function be(In){N.writePunctuation(In),I(In,!1)}function Ce(In){N.writeTrailingSemicolon(In),I(In,!1)}function Be(In){N.writeParameter(In),I(In,!1)}function De(In){N.writeProperty(In),I(In,!1)}function en(In){N.writeSpace(In),I(In,!1)}function fe(In){N.writeStringLiteral(In),I(In,!1)}function Ne(In,X){N.writeSymbol(In,X),I(In,!1)}function qe(In){N.writeLine(In)}function pe(){N.increaseIndent()}function we(){N.decreaseIndent()}function pn(){return N.getText()}function Qe(In){N.rawWrite(In),I(In,!1)}function Re(In){N.writeLiteral(In),I(In,!0)}function He(){return N.getTextPos()}function Ln(){return N.getLine()}function Un(){return N.getColumn()}function fn(){return N.getIndent()}function En(){return N.isAtStartOfLine()}function i(){N.clear(),m=0}return{onBeforeEmitNode:P,onAfterEmitNode:x,onBeforeEmitNodeArray:M,onAfterEmitNodeArray:me,onBeforeEmitToken:z,onAfterEmitToken:K,write:Ae,writeComment:Oe,writeKeyword:te,writeOperator:Se,writePunctuation:be,writeTrailingSemicolon:Ce,writeParameter:Be,writeProperty:De,writeSpace:en,writeStringLiteral:fe,writeSymbol:Ne,writeLine:qe,increaseIndent:pe,decreaseIndent:we,getText:pn,rawWrite:Qe,writeLiteral:Re,getTextPos:He,getLine:Ln,getColumn:Un,getIndent:fn,isAtStartOfLine:En,hasTrailingComment:function(){return N.hasTrailingComment()},hasTrailingWhitespace:function(){return N.hasTrailingWhitespace()},clear:i}}function C(T){for(var m,N=0,P=T.statements;N=Ce+2)break}if(T.statements.length){Ae===void 0&&(Ae=T.getLineAndCharacterOfPosition(T.statements[0].getStart()).line);var Be=T.getLineAndCharacterOfPosition(Se.end).line;if(Ae1)break}var R=q<2;return function(ne){var U=ne.fixId,C=ne.fixAllDescription,d=fp(ne,["fixId","fixAllDescription"]);return R?d:Mt(Mt({},d),{fixId:U,fixAllDescription:C})}}function y(k){var b=ee(k),ie=$.get(String(k.errorCode));return e.flatMap(ie,function(q){return e.map(q.getCodeActions(k),_e(q,b))})}ue.getFixes=y;function V(k){return Y.get(e.cast(k.fixId,e.isString)).getAllCodeActions(k)}ue.getAllFixes=V;function Z(k,b){return{changes:k,commands:b}}ue.createCombinedCodeActions=Z;function E(k,b){return{fileName:k,textChanges:b}}ue.createFileTextChanges=E;function H(k,b,ie){var q=[],oe=e.textChanges.ChangeTracker.with(k,function(se){return L(k,b,function(w){return ie(se,w,q)})});return Z(oe,q.length===0?void 0:q)}ue.codeFixAll=H;function L(k,b,ie){for(var q=0,oe=ee(k);qe.textSpanEnd(D)?"quit":(e.isArrowFunction(y)||e.isMethodDeclaration(y)||e.isFunctionExpression(y)||e.isFunctionDeclaration(y))&&e.textSpansEqual(D,e.createTextSpanFromNode(y,A))});return _e}}function O(A,D){return function(de){var _e=de.start,y=de.length,V=de.relatedInformation,Z=de.code;return e.isNumber(_e)&&e.isNumber(y)&&e.textSpansEqual({start:_e,length:y},A)&&Z===D&&!!V&&e.some(V,function(E){return E.code===e.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code})}}})(o=e.codefix||(e.codefix={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $="addMissingAwait",Y=e.Diagnostics.Property_0_does_not_exist_on_type_1.code,W=[e.Diagnostics.This_expression_is_not_callable.code,e.Diagnostics.This_expression_is_not_constructable.code],re=Vr([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,Y],W,!0);ue.registerCodeFix({fixIds:[$],errorCodes:re,getCodeActions:function(H){var L=H.sourceFile,ee=H.errorCode,k=H.span,b=H.cancellationToken,ie=H.program,q=D(L,ee,k,b,ie);if(q){var oe=H.program.getTypeChecker(),se=function(w){return e.textChanges.ChangeTracker.with(H,w)};return e.compact([ye(H,q,ee,oe,se),O(H,q,ee,oe,se)])}},getAllCodeActions:function(H){var L=H.sourceFile,ee=H.program,k=H.cancellationToken,b=H.program.getTypeChecker(),ie=new e.Set;return ue.codeFixAll(H,re,function(q,oe){var se=D(L,oe.code,oe,k,ee);if(se){var w=function(R){return R(q),[]};return ye(H,se,oe.code,b,w,ie)||O(H,se,oe.code,b,w,ie)}})}});function ye(H,L,ee,k,b,ie){var q=H.sourceFile,oe=H.program,se=H.cancellationToken,w=de(L,q,se,oe,k);if(w){var R=b(function(ne){e.forEach(w.initializers,function(U){var C=U.expression;return Z(ne,ee,q,k,C,ie)}),ie&&w.needsSecondPassForFixAll&&Z(ne,ee,q,k,L,ie)});return ue.createCodeFixActionWithoutFixAll("addMissingAwaitToInitializer",R,w.initializers.length===1?[e.Diagnostics.Add_await_to_initializer_for_0,w.initializers[0].declarationSymbol.name]:e.Diagnostics.Add_await_to_initializers)}}function O(H,L,ee,k,b,ie){var q=b(function(oe){return Z(oe,ee,H.sourceFile,k,L,ie)});return ue.createCodeFixAction($,q,e.Diagnostics.Add_await,$,e.Diagnostics.Fix_all_expressions_possibly_missing_await)}function A(H,L,ee,k,b){var ie=b.getDiagnosticsProducingTypeChecker(),q=ie.getDiagnostics(H,k);return e.some(q,function(oe){var se=oe.start,w=oe.length,R=oe.relatedInformation,ne=oe.code;return e.isNumber(se)&&e.isNumber(w)&&e.textSpansEqual({start:se,length:w},ee)&&ne===L&&!!R&&e.some(R,function(U){return U.code===e.Diagnostics.Did_you_forget_to_use_await.code})})}function D(H,L,ee,k,b){var ie=e.getTokenAtPosition(H,ee.start),q=e.findAncestor(ie,function(oe){return oe.getStart(H)e.textSpanEnd(ee)?"quit":e.isExpression(oe)&&e.textSpansEqual(ee,e.createTextSpanFromNode(oe,H))});return q&&A(H,L,ee,k,b)&&V(q)?q:void 0}function de(H,L,ee,k,b){var ie=_e(H,b);if(ie){for(var q=ie.isCompleteFix,oe,se=function(U){var C=b.getSymbolAtLocation(U);if(!C)return"continue";var d=e.tryCast(C.valueDeclaration,e.isVariableDeclaration),G=d&&e.tryCast(d.name,e.isIdentifier),g=e.getAncestor(d,235);if(!d||!g||d.type||!d.initializer||g.getSourceFile()!==L||e.hasSyntacticModifier(g,1)||!G||!V(d.initializer))return q=!1,"continue";var p=k.getSemanticDiagnostics(L,ee),f=e.FindAllReferences.Core.eachSymbolReferenceInFile(G,b,L,function(T){return U!==T&&!y(T,p,L,b)});if(f)return q=!1,"continue";(oe||(oe=[])).push({expression:d.initializer,declarationSymbol:C})},w=0,R=ie.identifiers;w0)return[ue.createCodeFixAction($,_e,e.Diagnostics.Add_const_to_unresolved_variable,$,e.Diagnostics.Add_const_to_all_unresolved_variables)]},fixIds:[$],getAllCodeActions:function(de){var _e=new e.Set;return ue.codeFixAll(de,Y,function(y,V){return W(y,V.file,V.start,de.program,_e)})}});function W(de,_e,y,V,Z){var E=e.getTokenAtPosition(_e,y),H=e.findAncestor(E,function(ie){return e.isForInOrOfStatement(ie.parent)?ie.parent.initializer===ie:ye(ie)?!1:"quit"});if(H)return re(de,H,_e,Z);var L=E.parent;if(e.isBinaryExpression(L)&&L.operatorToken.kind===63&&e.isExpressionStatement(L.parent))return re(de,E,_e,Z);if(e.isArrayLiteralExpression(L)){var ee=V.getTypeChecker();return e.every(L.elements,function(ie){return O(ie,ee)})?re(de,L,_e,Z):void 0}var k=e.findAncestor(E,function(ie){return e.isExpressionStatement(ie.parent)?!0:A(ie)?!1:"quit"});if(k){var b=V.getTypeChecker();return D(k,b)?re(de,k,_e,Z):void 0}}function re(de,_e,y,V){(!V||e.tryAddToSet(V,_e))&&de.insertModifierBefore(y,85,_e)}function ye(de){switch(de.kind){case 79:case 202:case 203:case 291:case 292:return!0;default:return!1}}function O(de,_e){var y=e.isIdentifier(de)?de:e.isAssignmentExpression(de,!0)&&e.isIdentifier(de.left)?de.left:void 0;return!!y&&!_e.getSymbolAtLocation(y)}function A(de){switch(de.kind){case 79:case 219:case 27:return!0;default:return!1}}function D(de,_e){return e.isBinaryExpression(de)?de.operatorToken.kind===27?e.every([de.left,de.right],function(y){return D(y,_e)}):de.operatorToken.kind===63&&e.isIdentifier(de.left)&&!_e.getSymbolAtLocation(de.left):!1}})(o=e.codefix||(e.codefix={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $="addMissingDeclareProperty",Y=[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];ue.registerCodeFix({errorCodes:Y,getCodeActions:function(re){var ye=e.textChanges.ChangeTracker.with(re,function(O){return W(O,re.sourceFile,re.span.start)});if(ye.length>0)return[ue.createCodeFixAction($,ye,e.Diagnostics.Prefix_with_declare,$,e.Diagnostics.Prefix_all_incorrect_property_declarations_with_declare)]},fixIds:[$],getAllCodeActions:function(re){var ye=new e.Set;return ue.codeFixAll(re,Y,function(O,A){return W(O,A.file,A.start,ye)})}});function W(re,ye,O,A){var D=e.getTokenAtPosition(ye,O);if(e.isIdentifier(D)){var de=D.parent;de.kind===165&&(!A||e.tryAddToSet(A,de))&&re.insertModifierBefore(ye,134,de)}}})(o=e.codefix||(e.codefix={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $="addMissingInvocationForDecorator",Y=[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];ue.registerCodeFix({errorCodes:Y,getCodeActions:function(re){var ye=e.textChanges.ChangeTracker.with(re,function(O){return W(O,re.sourceFile,re.span.start)});return[ue.createCodeFixAction($,ye,e.Diagnostics.Call_decorator_expression,$,e.Diagnostics.Add_to_all_uncalled_decorators)]},fixIds:[$],getAllCodeActions:function(re){return ue.codeFixAll(re,Y,function(ye,O){return W(ye,O.file,O.start)})}});function W(re,ye,O){var A=e.getTokenAtPosition(ye,O),D=e.findAncestor(A,e.isDecorator);e.Debug.assert(!!D,"Expected position to be owned by a decorator.");var de=e.factory.createCallExpression(D.expression,void 0,void 0);re.replaceNode(ye,D.expression,de)}})(o=e.codefix||(e.codefix={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $="addNameToNamelessParameter",Y=[e.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code];ue.registerCodeFix({errorCodes:Y,getCodeActions:function(re){var ye=e.textChanges.ChangeTracker.with(re,function(O){return W(O,re.sourceFile,re.span.start)});return[ue.createCodeFixAction($,ye,e.Diagnostics.Add_parameter_name,$,e.Diagnostics.Add_names_to_all_parameters_without_names)]},fixIds:[$],getAllCodeActions:function(re){return ue.codeFixAll(re,Y,function(ye,O){return W(ye,O.file,O.start)})}});function W(re,ye,O){var A=e.getTokenAtPosition(ye,O);if(!e.isIdentifier(A))return e.Debug.fail("add-name-to-nameless-parameter operates on identifiers, but got a "+e.Debug.formatSyntaxKind(A.kind));var D=A.parent;if(!e.isParameter(D))return e.Debug.fail("Tried to add a parameter name to a non-parameter: "+e.Debug.formatSyntaxKind(A.kind));var de=D.parent.parameters.indexOf(D);e.Debug.assert(!D.type,"Tried to add a parameter name to a parameter that already had one."),e.Debug.assert(de>-1,"Parameter not found in parent parameter list.");var _e=e.factory.createParameterDeclaration(void 0,D.modifiers,D.dotDotDotToken,"arg"+de,D.questionToken,e.factory.createTypeReferenceNode(A,void 0),D.initializer);re.replaceNode(ye,A,_e)}})(o=e.codefix||(e.codefix={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $="annotateWithTypeFromJSDoc",Y=[e.Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types.code];ue.registerCodeFix({errorCodes:Y,getCodeActions:function(L){var ee=W(L.sourceFile,L.span.start);if(ee){var k=e.textChanges.ChangeTracker.with(L,function(b){return O(b,L.sourceFile,ee)});return[ue.createCodeFixAction($,k,e.Diagnostics.Annotate_with_type_from_JSDoc,$,e.Diagnostics.Annotate_everything_with_types_from_JSDoc)]}},fixIds:[$],getAllCodeActions:function(L){return ue.codeFixAll(L,Y,function(ee,k){var b=W(k.file,k.start);b&&O(ee,k.file,b)})}});function W(L,ee){var k=e.getTokenAtPosition(L,ee);return e.tryCast(e.isParameter(k.parent)?k.parent.parent:k.parent,re)}function re(L){return A(L)&&ye(L)}ue.parameterShouldGetTypeFromJSDoc=re;function ye(L){return e.isFunctionLikeDeclaration(L)?L.parameters.some(ye)||!L.type&&!!e.getJSDocReturnType(L):!L.type&&!!e.getJSDocType(L)}function O(L,ee,k){if(e.isFunctionLikeDeclaration(k)&&(e.getJSDocReturnType(k)||k.parameters.some(function(U){return!!e.getJSDocType(U)}))){if(!k.typeParameters){var b=e.getJSDocTypeParameterDeclarations(k);b.length&&L.insertTypeParameters(ee,k,b)}var ie=e.isArrowFunction(k)&&!e.findChildOfKind(k,20,ee);ie&&L.insertNodeBefore(ee,e.first(k.parameters),e.factory.createToken(20));for(var q=0,oe=k.parameters;q1?(A.delete(D,E),A.insertNodeAfter(D,L,H)):A.replaceNode(D,L,H)}function ee(ie){var q=[];return ie.members&&ie.members.forEach(function(w,R){if(R==="constructor"&&w.valueDeclaration){A.delete(D,w.valueDeclaration.parent);return}var ne=se(w,void 0);ne&&q.push.apply(q,ne)}),ie.exports&&ie.exports.forEach(function(w){if(w.name==="prototype"&&w.declarations){var R=w.declarations[0];if(w.declarations.length===1&&e.isPropertyAccessExpression(R)&&e.isBinaryExpression(R.parent)&&R.parent.operatorToken.kind===63&&e.isObjectLiteralExpression(R.parent.right)){var ne=R.parent.right,U=se(ne.symbol,void 0);U&&q.push.apply(q,U)}}else{var U=se(w,[e.factory.createToken(124)]);U&&q.push.apply(q,U)}}),q;function oe(w,R){return e.isAccessExpression(w)?e.isPropertyAccessExpression(w)&&ye(w)?!0:e.isFunctionLike(R):e.every(w.properties,function(ne){return!!(e.isMethodDeclaration(ne)||e.isGetOrSetAccessorDeclaration(ne)||e.isPropertyAssignment(ne)&&e.isFunctionExpression(ne.initializer)&&ne.name||ye(ne))})}function se(w,R){var ne=[];if(!(w.flags&8192)&&!(w.flags&4096))return ne;var U=w.valueDeclaration,C=U.parent,d=C.right;if(!oe(U,d))return ne;var G=C.parent&&C.parent.kind===236?C.parent:C;if(A.delete(D,G),!d)return ne.push(e.factory.createPropertyDeclaration([],R,w.name,void 0,void 0,void 0)),ne;if(e.isAccessExpression(U)&&(e.isFunctionExpression(d)||e.isArrowFunction(d))){var g=e.getQuotePreference(D,y),p=O(U,V,g);return p?T(ne,d,p):ne}else{if(e.isObjectLiteralExpression(d))return e.flatMap(d.properties,function(P){return e.isMethodDeclaration(P)||e.isGetOrSetAccessorDeclaration(P)?ne.concat(P):e.isPropertyAssignment(P)&&e.isFunctionExpression(P.initializer)?T(ne,P.initializer,P.name):ye(P)?ne:[]});if(e.isSourceFileJS(D)||!e.isPropertyAccessExpression(U))return ne;var f=e.factory.createPropertyDeclaration(void 0,R,U.name,void 0,void 0,d);return e.copyLeadingComments(C.parent,f,D),ne.push(f),ne}function T(P,x,M){return e.isFunctionExpression(x)?m(P,x,M):N(P,x,M)}function m(P,x,M){var me=e.concatenate(R,re(x,130)),z=e.factory.createMethodDeclaration(void 0,me,void 0,M,void 0,void 0,x.parameters,void 0,x.body);return e.copyLeadingComments(C,z,D),P.concat(z)}function N(P,x,M){var me=x.body,z;me.kind===233?z=me:z=e.factory.createBlock([e.factory.createReturnStatement(me)]);var K=e.concatenate(R,re(x,130)),I=e.factory.createMethodDeclaration(void 0,K,void 0,M,void 0,void 0,x.parameters,void 0,z);return e.copyLeadingComments(C,I,D),P.concat(I)}}}function k(ie){var q=ie.initializer;if(!(!q||!e.isFunctionExpression(q)||!e.isIdentifier(ie.name))){var oe=ee(ie.symbol);q.body&&oe.unshift(e.factory.createConstructorDeclaration(void 0,void 0,q.parameters,q.body));var se=re(ie.parent.parent,93),w=e.factory.createClassDeclaration(void 0,se,ie.name,void 0,void 0,oe);return w}}function b(ie){var q=ee(Z);ie.body&&q.unshift(e.factory.createConstructorDeclaration(void 0,void 0,ie.parameters,ie.body));var oe=re(ie,93),se=e.factory.createClassDeclaration(void 0,oe,ie.name,void 0,void 0,q);return se}}function re(A,D){return e.filter(A.modifiers,function(de){return de.kind===D})}function ye(A){return A.name?!!(e.isIdentifier(A.name)&&A.name.text==="constructor"):!1}function O(A,D,de){if(e.isPropertyAccessExpression(A))return A.name;var _e=A.argumentExpression;if(e.isNumericLiteral(_e))return _e;if(e.isStringLiteralLike(_e))return e.isIdentifierText(_e.text,D.target)?e.factory.createIdentifier(_e.text):e.isNoSubstitutionTemplateLiteral(_e)?e.factory.createStringLiteral(_e.text,de===0):_e}})(o=e.codefix||(e.codefix={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $="convertToAsyncFunction",Y=[e.Diagnostics.This_may_be_converted_to_an_async_function.code],W=!0;ue.registerCodeFix({errorCodes:Y,getCodeActions:function(f){W=!0;var T=e.textChanges.ChangeTracker.with(f,function(m){return ye(m,f.sourceFile,f.span.start,f.program.getTypeChecker())});return W?[ue.createCodeFixAction($,T,e.Diagnostics.Convert_to_async_function,$,e.Diagnostics.Convert_all_to_async_functions)]:[]},fixIds:[$],getAllCodeActions:function(f){return ue.codeFixAll(f,Y,function(T,m){return ye(T,m.file,m.start,f.program.getTypeChecker())})}});var re;(function(f){f[f.Identifier=0]="Identifier",f[f.BindingPattern=1]="BindingPattern"})(re||(re={}));function ye(f,T,m,N){var P=e.getTokenAtPosition(T,m),x;if(e.isIdentifier(P)&&e.isVariableDeclaration(P.parent)&&P.parent.initializer&&e.isFunctionLikeDeclaration(P.parent.initializer)?x=P.parent.initializer:x=e.tryCast(e.getContainingFunction(e.getTokenAtPosition(T,m)),e.canBeConvertedToAsync),!!x){var M=new e.Map,me=e.isInJSFile(x),z=A(x,N),K=_e(x,N,M);if(e.returnsPromise(K,N)){var I=K.body&&e.isBlock(K.body)?O(K.body,N):e.emptyArray,Ae={checker:N,synthNamesMap:M,setOfExpressionsToReturn:z,isInJSFile:me};if(I.length){var Oe=x.modifiers?x.modifiers.end:x.decorators?e.skipTrivia(T.text,x.decorators.end):x.getStart(T),te=x.modifiers?{prefix:" "}:{suffix:" "};f.insertModifierAt(T,Oe,130,te);for(var Se=function(De){e.forEachChild(De,function en(fe){if(e.isCallExpression(fe)){var Ne=Z(fe,Ae);f.replaceNodeWithNodes(T,De,Ne)}else e.isFunctionLike(fe)||e.forEachChild(fe,en)})},be=0,Ce=I;be0)return we;if(Ce){var qe=q(P.checker,Ce,be);if(p(N,P))return b(qe,(K=N.typeArguments)===null||K===void 0?void 0:K[0]);var pn=k(T,qe,void 0);return T&&T.types.push(Ce),pn}else return V()}}default:return V()}return e.emptyArray}function q(f,T,m){var N=e.getSynthesizedDeepClone(m);return f.getPromisedTypeOfPromise(T)?e.factory.createAwaitExpression(N):N}function oe(f,T){var m=T.getSignaturesOfType(f,0);return e.lastOrUndefined(m)}function se(f,T,m,N){for(var P=[],x=0,M=f;x0)return}else e.isFunctionLike(z)||e.forEachChild(z,me)})}return N}function R(f,T){var m=[],N;if(e.isFunctionLikeDeclaration(f)){if(f.parameters.length>0){var P=f.parameters[0].name;N=x(P)}}else e.isIdentifier(f)?N=M(f):e.isPropertyAccessExpression(f)&&e.isIdentifier(f.name)&&(N=M(f.name));if(!N||"identifier"in N&&N.identifier.text==="undefined")return;return N;function x(K){if(e.isIdentifier(K))return M(K);var I=e.flatMap(K.elements,function(Ae){return e.isOmittedExpression(Ae)?[]:[x(Ae.name)]});return d(K,I)}function M(K){var I=z(K),Ae=me(I);if(!Ae)return C(K,m);var Oe=T.synthNamesMap.get(e.getSymbolId(Ae).toString());return Oe||C(K,m)}function me(K){return K.symbol?K.symbol:T.checker.getSymbolAtLocation(K)}function z(K){return K.original?K.original:K}}function ne(f){return f?G(f)?!f.identifier.text:e.every(f.elements,ne):!0}function U(f){return G(f)?f.identifier:f.bindingPattern}function C(f,T){return T===void 0&&(T=[]),{kind:0,identifier:f,types:T,hasBeenDeclared:!1}}function d(f,T,m){return T===void 0&&(T=e.emptyArray),m===void 0&&(m=[]),{kind:1,bindingPattern:f,elements:T,types:m}}function G(f){return f.kind===0}function g(f){return f.kind===1}function p(f,T){return!!f.original&&T.setOfExpressionsToReturn.has(e.getNodeId(f.original))}})(o=e.codefix||(e.codefix={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){ue.registerCodeFix({errorCodes:[e.Diagnostics.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module.code],getCodeActions:function(g){var p=g.sourceFile,f=g.program,T=g.preferences,m=e.textChanges.ChangeTracker.with(g,function(N){var P=Y(p,f.getTypeChecker(),N,f.getCompilerOptions().target,e.getQuotePreference(p,T));if(P)for(var x=0,M=f.getSourceFiles();x1?[[Z(f),E(f)],!0]:[[E(f)],!0]:[[Z(f)],!1]}function Z(g){return d(void 0,g)}function E(g){return d([e.factory.createExportSpecifier(void 0,"default")],g)}function H(g,p,f){var T=g.left,m=g.right,N=g.parent,P=T.name.text;if((e.isFunctionExpression(m)||e.isArrowFunction(m)||e.isClassExpression(m))&&(!m.name||m.name.text===P)){f.replaceRange(p,{pos:T.getStart(p),end:m.getStart(p)},e.factory.createToken(93),{suffix:" "}),m.name||f.insertName(p,m,P);var x=e.findChildOfKind(N,26,p);x&&f.delete(p,x)}else f.replaceNodeRangeWithNodes(p,T.expression,e.findChildOfKind(T,24,p),[e.factory.createToken(93),e.factory.createToken(85)],{joiner:" ",suffix:" "})}function L(g,p,f){var T=[e.factory.createToken(93)];switch(p.kind){case 211:{var m=p.name;if(m&&m.text!==g)return N()}case 212:return w(g,T,p,f);case 224:return R(g,T,p,f);default:return N()}function N(){return C(T,e.factory.createIdentifier(g),ee(p,f))}}function ee(g,p){if(!p||!e.some(e.arrayFrom(p.keys()),function(T){return e.rangeContainsRange(g,T)}))return g;return e.isArray(g)?e.getSynthesizedDeepClonesWithReplacements(g,!0,f):e.getSynthesizedDeepCloneWithReplacements(g,!0,f);function f(T){if(T.kind===204){var m=p.get(T);return p.delete(T),m}}}function k(g,p,f,T,m,N){switch(g.kind){case 199:{var P=e.mapAllOrFail(g.elements,function(M){return M.dotDotDotToken||M.initializer||M.propertyName&&!e.isIdentifier(M.propertyName)||!e.isIdentifier(M.name)?void 0:U(M.propertyName&&M.propertyName.text,M.name.text)});if(P)return G([e.makeImport(void 0,P,p,N)])}case 200:{var x=ie(ue.moduleSpecifierToValidIdentifier(p.text,m),T);return G([e.makeImport(e.factory.createIdentifier(x),void 0,p,N),C(void 0,e.getSynthesizedDeepClone(g),e.factory.createIdentifier(x))])}case 79:return b(g,p,f,T,N);default:return e.Debug.assertNever(g,"Convert to ES6 module got invalid name kind "+g.kind)}}function b(g,p,f,T,m){for(var N=f.getSymbolAtLocation(g),P=new e.Map,x=!1,M,me=0,z=T.original.get(g.text);me=e.ModuleKind.ES2015)return De?1:2;if(en)return e.isExternalModule(be)||Be?De?1:2:3;for(var fe=0,Ne=be.statements;fe"),[e.Diagnostics.Convert_function_expression_0_to_arrow_function,y?y.text:e.ANONYMOUS]):(re.replaceNode(ye,_e,e.factory.createToken(85)),re.insertText(ye,y.end," = "),re.insertText(ye,V.pos," =>"),[e.Diagnostics.Convert_function_declaration_0_to_arrow_function,y.text])}}})(o=e.codefix||(e.codefix={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $="fixIncorrectNamedTupleSyntax",Y=[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];ue.registerCodeFix({errorCodes:Y,getCodeActions:function(ye){var O=ye.sourceFile,A=ye.span,D=W(O,A.start),de=e.textChanges.ChangeTracker.with(ye,function(_e){return re(_e,O,D)});return[ue.createCodeFixAction($,de,e.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels,$,e.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels)]},fixIds:[$]});function W(ye,O){var A=e.getTokenAtPosition(ye,O);return e.findAncestor(A,function(D){return D.kind===195})}function re(ye,O,A){if(A){for(var D=A.type,de=!1,_e=!1;D.kind===183||D.kind===184||D.kind===189;)D.kind===183?de=!0:D.kind===184&&(_e=!0),D=D.type;var y=e.factory.updateNamedTupleMember(A,A.dotDotDotToken||(_e?e.factory.createToken(25):void 0),A.name,A.questionToken||(de?e.factory.createToken(57):void 0),D);y!==A&&ye.replaceNode(O,A,y)}}})(o=e.codefix||(e.codefix={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $="fixSpelling",Y=[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_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.No_overload_matches_this_call.code,e.Diagnostics.Type_0_is_not_assignable_to_type_1.code];ue.registerCodeFix({errorCodes:Y,getCodeActions:function(A){var D=A.sourceFile,de=A.errorCode,_e=W(D,A.span.start,A,de);if(_e){var y=_e.node,V=_e.suggestedSymbol,Z=A.host.getCompilationSettings().target,E=e.textChanges.ChangeTracker.with(A,function(H){return re(H,D,y,V,Z)});return[ue.createCodeFixAction("spelling",E,[e.Diagnostics.Change_spelling_to_0,e.symbolName(V)],$,e.Diagnostics.Fix_all_detected_spelling_errors)]}},fixIds:[$],getAllCodeActions:function(A){return ue.codeFixAll(A,Y,function(D,de){var _e=W(de.file,de.start,A,de.code),y=A.host.getCompilationSettings().target;_e&&re(D,A.sourceFile,_e.node,_e.suggestedSymbol,y)})}});function W(A,D,de,_e){var y=e.getTokenAtPosition(A,D),V=y.parent;if(!((_e===e.Diagnostics.No_overload_matches_this_call.code||_e===e.Diagnostics.Type_0_is_not_assignable_to_type_1.code)&&!e.isJsxAttribute(V))){var Z=de.program.getTypeChecker(),E;if(e.isPropertyAccessExpression(V)&&V.name===y){e.Debug.assert(e.isMemberName(y),"Expected an identifier for spelling (property access)");var H=Z.getTypeAtLocation(V.expression);V.flags&32&&(H=Z.getNonNullableType(H)),E=Z.getSuggestedSymbolForNonexistentProperty(y,H)}else if(e.isQualifiedName(V)&&V.right===y){var L=Z.getSymbolAtLocation(V.left);L&&L.flags&1536&&(E=Z.getSuggestedSymbolForNonexistentModule(V.right,L))}else if(e.isImportSpecifier(V)&&V.name===y){e.Debug.assertNode(y,e.isIdentifier,"Expected an identifier for spelling (import)");var ee=e.findAncestor(y,e.isImportDeclaration),k=O(A,de,ee);k&&k.symbol&&(E=Z.getSuggestedSymbolForNonexistentModule(y,k.symbol))}else if(e.isJsxAttribute(V)&&V.name===y){e.Debug.assertNode(y,e.isIdentifier,"Expected an identifier for JSX attribute");var b=e.findAncestor(y,e.isJsxOpeningLikeElement),ie=Z.getContextualTypeForArgumentAtIndex(b,0);E=Z.getSuggestedSymbolForNonexistentJSXAttribute(y,ie)}else if(e.hasSyntacticModifier(V,16384)&&e.isClassElement(V)&&V.name===y){var q=e.findAncestor(y,e.isClassLike),oe=q?e.getEffectiveBaseTypeNode(q):void 0,se=oe?Z.getTypeAtLocation(oe):void 0;se&&(E=Z.getSuggestedSymbolForNonexistentClassMember(e.getTextOfNode(y),se))}else{var w=e.getMeaningFromLocation(y),R=e.getTextOfNode(y);e.Debug.assert(R!==void 0,"name should be defined"),E=Z.getSuggestedSymbolForNonexistentSymbol(y,R,ye(w))}return E===void 0?void 0:{node:y,suggestedSymbol:E}}}function re(A,D,de,_e,y){var V=e.symbolName(_e);if(!e.isIdentifierText(V,y)&&e.isPropertyAccessExpression(de.parent)){var Z=_e.valueDeclaration;Z&&e.isNamedDeclaration(Z)&&e.isPrivateIdentifier(Z.name)?A.replaceNode(D,de,e.factory.createIdentifier(V)):A.replaceNode(D,de.parent,e.factory.createElementAccessExpression(de.parent.expression,e.factory.createStringLiteral(V)))}else A.replaceNode(D,de,e.factory.createIdentifier(V))}function ye(A){var D=0;return A&4&&(D|=1920),A&2&&(D|=788968),A&1&&(D|=111551),D}function O(A,D,de){if(!(!de||!e.isStringLiteralLike(de.moduleSpecifier))){var _e=e.getResolvedModule(A,de.moduleSpecifier.text);if(_e)return D.program.getSourceFile(_e.resolvedFileName)}}})(o=e.codefix||(e.codefix={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $="returnValueCorrect",Y="fixAddReturnStatement",W="fixRemoveBracesFromArrowFunctionBody",re="fixWrapTheBlockWithParen",ye=[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],O;(function(k){k[k.MissingReturnStatement=0]="MissingReturnStatement",k[k.MissingParentheses=1]="MissingParentheses"})(O||(O={})),ue.registerCodeFix({errorCodes:ye,fixIds:[Y,W,re],getCodeActions:function(k){var b=k.program,ie=k.sourceFile,q=k.span.start,oe=k.errorCode,se=_e(b.getTypeChecker(),ie,q,oe);if(se)return se.kind===O.MissingReturnStatement?e.append([H(k,se.expression,se.statement)],e.isArrowFunction(se.declaration)?L(k,se.declaration,se.expression,se.commentSource):void 0):[ee(k,se.declaration,se.expression)]},getAllCodeActions:function(k){return ue.codeFixAll(k,ye,function(b,ie){var q=_e(k.program.getTypeChecker(),ie.file,ie.start,ie.code);if(q)switch(k.fixId){case Y:V(b,ie.file,q.expression,q.statement);break;case W:if(!e.isArrowFunction(q.declaration))return;Z(b,ie.file,q.declaration,q.expression,q.commentSource,!1);break;case re:if(!e.isArrowFunction(q.declaration))return;E(b,ie.file,q.declaration,q.expression);break;default:e.Debug.fail(JSON.stringify(k.fixId))}})}});function A(k,b,ie){var q=k.createSymbol(4,b.escapedText);q.type=k.getTypeAtLocation(ie);var oe=e.createSymbolTable([q]);return k.createAnonymousType(void 0,oe,[],[],[])}function D(k,b,ie,q){if(!(!b.body||!e.isBlock(b.body)||e.length(b.body.statements)!==1)){var oe=e.first(b.body.statements);if(e.isExpressionStatement(oe)&&de(k,b,k.getTypeAtLocation(oe.expression),ie,q))return{declaration:b,kind:O.MissingReturnStatement,expression:oe.expression,statement:oe,commentSource:oe.expression};if(e.isLabeledStatement(oe)&&e.isExpressionStatement(oe.statement)){var se=e.factory.createObjectLiteralExpression([e.factory.createPropertyAssignment(oe.label,oe.statement.expression)]),w=A(k,oe.label,oe.statement.expression);if(de(k,b,w,ie,q))return e.isArrowFunction(b)?{declaration:b,kind:O.MissingParentheses,expression:se,statement:oe,commentSource:oe.statement.expression}:{declaration:b,kind:O.MissingReturnStatement,expression:se,statement:oe,commentSource:oe.statement.expression}}else if(e.isBlock(oe)&&e.length(oe.statements)===1){var R=e.first(oe.statements);if(e.isLabeledStatement(R)&&e.isExpressionStatement(R.statement)){var se=e.factory.createObjectLiteralExpression([e.factory.createPropertyAssignment(R.label,R.statement.expression)]),w=A(k,R.label,R.statement.expression);if(de(k,b,w,ie,q))return{declaration:b,kind:O.MissingReturnStatement,expression:se,statement:oe,commentSource:R}}}}}function de(k,b,ie,q,oe){if(oe){var se=k.getSignatureFromDeclaration(b);if(se){e.hasSyntacticModifier(b,256)&&(ie=k.createPromiseType(ie));var w=k.createSignature(b,se.typeParameters,se.thisParameter,se.parameters,ie,void 0,se.minArgumentCount,se.flags);ie=k.createAnonymousType(void 0,e.createSymbolTable(),[w],[],[])}else ie=k.getAnyType()}return k.isTypeAssignableTo(ie,q)}function _e(k,b,ie,q){var oe=e.getTokenAtPosition(b,ie);if(oe.parent){var se=e.findAncestor(oe.parent,e.isFunctionLikeDeclaration);switch(q){case e.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code:return!se||!se.body||!se.type||!e.rangeContainsRange(se.type,oe)?void 0:D(k,se,k.getTypeFromTypeNode(se.type),!1);case e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code:if(!se||!e.isCallExpression(se.parent)||!se.body)return;var w=se.parent.arguments.indexOf(se),R=k.getContextualTypeForArgumentAtIndex(se.parent,w);return R?D(k,se,R,!0):void 0;case e.Diagnostics.Type_0_is_not_assignable_to_type_1.code:if(!e.isDeclarationName(oe)||!e.isVariableLike(oe.parent)&&!e.isJsxAttribute(oe.parent))return;var ne=y(oe.parent);return!ne||!e.isFunctionLikeDeclaration(ne)||!ne.body?void 0:D(k,ne,k.getTypeAtLocation(oe.parent),!0)}}}function y(k){switch(k.kind){case 252:case 162:case 201:case 165:case 291:return k.initializer;case 283:return k.initializer&&(e.isJsxExpression(k.initializer)?k.initializer.expression:void 0);case 292:case 164:case 294:case 342:case 335:return}}function V(k,b,ie,q){e.suppressLeadingAndTrailingTrivia(ie);var oe=e.probablyUsesSemicolons(b);k.replaceNode(b,q,e.factory.createReturnStatement(ie),{leadingTriviaOption:e.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Exclude,suffix:oe?";":void 0})}function Z(k,b,ie,q,oe,se){var w=se||e.needsParentheses(q)?e.factory.createParenthesizedExpression(q):q;e.suppressLeadingAndTrailingTrivia(oe),e.copyComments(oe,w),k.replaceNode(b,ie.body,w)}function E(k,b,ie,q){k.replaceNode(b,ie.body,e.factory.createParenthesizedExpression(q))}function H(k,b,ie){var q=e.textChanges.ChangeTracker.with(k,function(oe){return V(oe,k.sourceFile,b,ie)});return ue.createCodeFixAction($,q,e.Diagnostics.Add_a_return_statement,Y,e.Diagnostics.Add_all_missing_return_statement)}function L(k,b,ie,q){var oe=e.textChanges.ChangeTracker.with(k,function(se){return Z(se,k.sourceFile,b,ie,q,!1)});return ue.createCodeFixAction($,oe,e.Diagnostics.Remove_braces_from_arrow_function_body,W,e.Diagnostics.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues)}function ee(k,b,ie){var q=e.textChanges.ChangeTracker.with(k,function(oe){return E(oe,k.sourceFile,b,ie)});return ue.createCodeFixAction($,q,e.Diagnostics.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal,re,e.Diagnostics.Wrap_all_object_literal_with_parentheses)}})(o=e.codefix||(e.codefix={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $="fixMissingMember",Y="fixMissingProperties",W="fixMissingAttributes",re="fixMissingFunctionDeclaration",ye=[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.Cannot_find_name_0.code];ue.registerCodeFix({errorCodes:ye,getCodeActions:function(C){var d=C.program.getTypeChecker(),G=A(C.sourceFile,C.span.start,d,C.program);if(G){if(G.kind===3){var g=e.textChanges.ChangeTracker.with(C,function(p){return se(p,C,G)});return[ue.createCodeFixAction(Y,g,e.Diagnostics.Add_missing_properties,Y,e.Diagnostics.Add_all_missing_properties)]}if(G.kind===4){var g=e.textChanges.ChangeTracker.with(C,function(f){return oe(f,C,G)});return[ue.createCodeFixAction(W,g,e.Diagnostics.Add_missing_attributes,W,e.Diagnostics.Add_all_missing_attributes)]}if(G.kind===2){var g=e.textChanges.ChangeTracker.with(C,function(f){return q(f,C,G)});return[ue.createCodeFixAction(re,g,[e.Diagnostics.Add_missing_function_declaration_0,G.token.text],re,e.Diagnostics.Add_all_missing_function_declarations)]}if(G.kind===0){var g=e.textChanges.ChangeTracker.with(C,function(f){return ie(f,C.program.getTypeChecker(),G)});return[ue.createCodeFixAction($,g,[e.Diagnostics.Add_missing_enum_member_0,G.token.text],$,e.Diagnostics.Add_all_missing_members)]}return e.concatenate(k(C,G),de(C,G))}},fixIds:[$,re,Y,W],getAllCodeActions:function(C){var d=C.program,G=C.fixId,g=d.getTypeChecker(),p=new e.Map,f=new e.Map;return ue.createCombinedCodeActions(e.textChanges.ChangeTracker.with(C,function(T){ue.eachDiagnostic(C,ye,function(m){var N=A(m.file,m.start,g,C.program);if(!(!N||!e.addToSeen(p,e.getNodeId(N.parentDeclaration)+"#"+N.token.text))){if(G===re&&N.kind===2)q(T,C,N);else if(G===Y&&N.kind===3)se(T,C,N);else if(G===W&&N.kind===4)oe(T,C,N);else if(N.kind===0&&ie(T,g,N),N.kind===1){var P=N.parentDeclaration,x=N.token,M=e.getOrUpdate(f,P,function(){return[]});M.some(function(me){return me.token.text===x.text})||M.push(N)}}}),f.forEach(function(m,N){for(var P=ue.getAllSupers(N,g),x=function(K){if(P.some(function(Be){var De=f.get(Be);return!!De&&De.some(function(en){var fe=en.token;return fe.text===K.token.text})}))return"continue";var I=K.parentDeclaration,Ae=K.declSourceFile,Oe=K.modifierFlags,te=K.token,Se=K.call,be=K.isJSFile;if(Se&&!e.isPrivateIdentifier(te))b(C,T,Se,te,Oe&32,I,Ae);else if(be&&!e.isInterfaceDeclaration(I))y(T,Ae,I,te,!!(Oe&32));else{var Ce=E(d.getTypeChecker(),I,te);H(T,Ae,I,te.text,Ce,Oe&32)}},M=0,me=m;M=e.ModuleKind.ES2015&&ye99;if(de){var A=e.textChanges.ChangeTracker.with($,function(y){var V=e.getTsConfigObjectLiteralExpression(W);if(V){var Z=[["target",e.factory.createStringLiteral("es2017")]];ye===e.ModuleKind.CommonJS&&Z.push(["module",e.factory.createStringLiteral("commonjs")]),ue.setJsonCompilerOptionValues(y,W,Z)}});re.push(ue.createCodeFixActionWithoutFixAll("fixTargetOption",A,[e.Diagnostics.Set_the_target_option_in_your_configuration_file_to_0,"es2017"]))}return re.length?re:void 0}}})})(o=e.codefix||(e.codefix={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $="fixPropertyAssignment",Y=[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];ue.registerCodeFix({errorCodes:Y,fixIds:[$],getCodeActions:function(ye){var O=ye.sourceFile,A=ye.span,D=re(O,A.start),de=e.textChanges.ChangeTracker.with(ye,function(_e){return W(_e,ye.sourceFile,D)});return[ue.createCodeFixAction($,de,[e.Diagnostics.Change_0_to_1,"=",":"],$,[e.Diagnostics.Switch_each_misused_0_to_1,"=",":"])]},getAllCodeActions:function(ye){return ue.codeFixAll(ye,Y,function(O,A){return W(O,A.file,re(A.file,A.start))})}});function W(ye,O,A){ye.replaceNode(O,A,e.factory.createPropertyAssignment(A.name,A.objectAssignmentInitializer))}function re(ye,O){return e.cast(e.getTokenAtPosition(ye,O).parent,e.isShorthandPropertyAssignment)}})(o=e.codefix||(e.codefix={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $="extendsInterfaceBecomesImplements",Y=[e.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements.code];ue.registerCodeFix({errorCodes:Y,getCodeActions:function(ye){var O=ye.sourceFile,A=W(O,ye.span.start);if(A){var D=A.extendsToken,de=A.heritageClauses,_e=e.textChanges.ChangeTracker.with(ye,function(y){return re(y,O,D,de)});return[ue.createCodeFixAction($,_e,e.Diagnostics.Change_extends_to_implements,$,e.Diagnostics.Change_all_extended_interfaces_to_implements)]}},fixIds:[$],getAllCodeActions:function(ye){return ue.codeFixAll(ye,Y,function(O,A){var D=W(A.file,A.start);D&&re(O,A.file,D.extendsToken,D.heritageClauses)})}});function W(ye,O){var A=e.getTokenAtPosition(ye,O),D=e.getContainingClass(A).heritageClauses,de=D[0].getFirstToken();return de.kind===94?{extendsToken:de,heritageClauses:D}:void 0}function re(ye,O,A,D){if(ye.replaceNode(O,A,e.factory.createToken(117)),D.length===2&&D[0].token===94&&D[1].token===117){var de=D[1].getFirstToken(),_e=de.getFullStart();ye.replaceRange(O,{pos:_e,end:_e},e.factory.createToken(27));for(var y=O.text,V=de.end;V":">","}":"}"};function ye(A){return e.hasProperty(re,A)}function O(A,D,de,_e,y){var V=de.getText()[_e];if(ye(V)){var Z=y?re[V]:"{"+e.quote(de,D,V)+"}";A.replaceRangeWithText(de,{pos:_e,end:_e+1},Z)}}})(o=e.codefix||(e.codefix={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $="unusedIdentifier",Y="unusedIdentifier_prefix",W="unusedIdentifier_delete",re="unusedIdentifier_deleteImports",ye="unusedIdentifier_infer",O=[e.Diagnostics._0_is_declared_but_its_value_is_never_read.code,e.Diagnostics._0_is_declared_but_never_used.code,e.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code,e.Diagnostics.All_imports_in_import_declaration_are_unused.code,e.Diagnostics.All_destructured_elements_are_unused.code,e.Diagnostics.All_variables_are_unused.code,e.Diagnostics.All_type_parameters_are_unused.code];ue.registerCodeFix({errorCodes:O,getCodeActions:function(R){var ne=R.errorCode,U=R.sourceFile,C=R.program,d=R.cancellationToken,G=C.getTypeChecker(),g=C.getSourceFiles(),p=e.getTokenAtPosition(U,R.span.start);if(e.isJSDocTemplateTag(p))return[D(e.textChanges.ChangeTracker.with(R,function(z){return z.delete(U,p)}),e.Diagnostics.Remove_template_tag)];if(p.kind===29){var f=e.textChanges.ChangeTracker.with(R,function(z){return de(z,U,p)});return[D(f,e.Diagnostics.Remove_type_parameters)]}var T=y(p);if(T){var f=e.textChanges.ChangeTracker.with(R,function(K){return K.delete(U,T)});return[ue.createCodeFixAction($,f,[e.Diagnostics.Remove_import_from_0,e.showModuleSpecifier(T)],re,e.Diagnostics.Delete_all_unused_imports)]}else if(_e(p)){var m=e.textChanges.ChangeTracker.with(R,function(z){return ee(U,p,z,G,g,C,d,!1)});if(m.length)return[ue.createCodeFixAction($,m,[e.Diagnostics.Remove_unused_declaration_for_Colon_0,p.getText(U)],re,e.Diagnostics.Delete_all_unused_imports)]}if(e.isObjectBindingPattern(p.parent)||e.isArrayBindingPattern(p.parent)){if(e.isParameter(p.parent.parent)){var N=p.parent.elements,P=[N.length>1?e.Diagnostics.Remove_unused_declarations_for_Colon_0:e.Diagnostics.Remove_unused_declaration_for_Colon_0,e.map(N,function(z){return z.getText(U)}).join(", ")];return[D(e.textChanges.ChangeTracker.with(R,function(z){return E(z,U,p.parent)}),P)]}return[D(e.textChanges.ChangeTracker.with(R,function(z){return z.delete(U,p.parent.parent)}),e.Diagnostics.Remove_unused_destructuring_declaration)]}if(V(U,p))return[D(e.textChanges.ChangeTracker.with(R,function(z){return Z(z,U,p.parent)}),e.Diagnostics.Remove_variable_statement)];var x=[];if(p.kind===136){var f=e.textChanges.ChangeTracker.with(R,function(K){return A(K,U,p)}),M=e.cast(p.parent,e.isInferTypeNode).typeParameter.name.text;x.push(ue.createCodeFixAction($,f,[e.Diagnostics.Replace_infer_0_with_unknown,M],ye,e.Diagnostics.Replace_all_unused_infer_with_unknown))}else{var m=e.textChanges.ChangeTracker.with(R,function(K){return ee(U,p,K,G,g,C,d,!1)});if(m.length){var M=e.isComputedPropertyName(p.parent)?p.parent:p;x.push(D(m,[e.Diagnostics.Remove_unused_declaration_for_Colon_0,M.getText(U)]))}}var me=e.textChanges.ChangeTracker.with(R,function(z){return H(z,ne,U,p)});return me.length&&x.push(ue.createCodeFixAction($,me,[e.Diagnostics.Prefix_0_with_an_underscore,p.getText(U)],Y,e.Diagnostics.Prefix_all_unused_declarations_with_where_possible)),x},fixIds:[Y,W,re,ye],getAllCodeActions:function(R){var ne=R.sourceFile,U=R.program,C=R.cancellationToken,d=U.getTypeChecker(),G=U.getSourceFiles();return ue.codeFixAll(R,O,function(g,p){var f=e.getTokenAtPosition(ne,p.start);switch(R.fixId){case Y:H(g,p.code,ne,f);break;case re:{var T=y(f);T?g.delete(ne,T):_e(f)&&ee(ne,f,g,d,G,U,C,!0);break}case W:{if(f.kind===136||_e(f))break;if(e.isJSDocTemplateTag(f))g.delete(ne,f);else if(f.kind===29)de(g,ne,f);else if(e.isObjectBindingPattern(f.parent)){if(f.parent.parent.initializer)break;(!e.isParameter(f.parent.parent)||ie(f.parent.parent,d,G))&&g.delete(ne,f.parent.parent)}else{if(e.isArrayBindingPattern(f.parent.parent)&&f.parent.parent.parent.initializer)break;V(ne,f)?Z(g,ne,f.parent):ee(ne,f,g,d,G,U,C,!0)}break}case ye:f.kind===136&&A(g,ne,f);break;default:e.Debug.fail(JSON.stringify(R.fixId))}})}});function A(R,ne,U){R.replaceNode(ne,U.parent,e.factory.createKeywordTypeNode(153))}function D(R,ne){return ue.createCodeFixAction($,R,ne,W,e.Diagnostics.Delete_all_unused_declarations)}function de(R,ne,U){R.delete(ne,e.Debug.checkDefined(e.cast(U.parent,e.isDeclarationWithTypeParameterChildren).typeParameters,"The type parameter to delete should exist"))}function _e(R){return R.kind===100||R.kind===79&&(R.parent.kind===268||R.parent.kind===265)}function y(R){return R.kind===100?e.tryCast(R.parent,e.isImportDeclaration):void 0}function V(R,ne){return e.isVariableDeclarationList(ne.parent)&&e.first(ne.parent.getChildren(R))===ne}function Z(R,ne,U){R.delete(ne,U.parent.kind===235?U.parent:U)}function E(R,ne,U){e.forEach(U.elements,function(C){return R.delete(ne,C)})}function H(R,ne,U,C){ne!==e.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code&&(C.kind===136&&(C=e.cast(C.parent,e.isInferTypeNode).typeParameter.name),e.isIdentifier(C)&&L(C)&&(R.replaceNode(U,C,e.factory.createIdentifier("_"+C.text)),e.isParameter(C.parent)&&e.getJSDocParameterTags(C.parent).forEach(function(d){e.isIdentifier(d.name)&&R.replaceNode(U,d.name,e.factory.createIdentifier("_"+d.name.text))})))}function L(R){switch(R.parent.kind){case 162:case 161:return!0;case 252:{var ne=R.parent;switch(ne.parent.parent.kind){case 242:case 241:return!0}}}return!1}function ee(R,ne,U,C,d,G,g,p){k(ne,U,R,C,d,G,g,p),e.isIdentifier(ne)&&e.FindAllReferences.Core.eachSymbolReferenceInFile(ne,C,R,function(f){e.isPropertyAccessExpression(f.parent)&&f.parent.name===f&&(f=f.parent),!p&&w(f)&&U.delete(R,f.parent.parent)})}function k(R,ne,U,C,d,G,g,p){var f=R.parent;if(e.isParameter(f))b(ne,U,f,C,d,G,g,p);else if(!(p&&e.isIdentifier(R)&&e.FindAllReferences.Core.isSymbolReferencedInFile(R,C,U))){var T=e.isImportClause(f)?R:e.isComputedPropertyName(f)?f.parent:f;e.Debug.assert(T!==U,"should not delete whole source file"),ne.delete(U,T)}}function b(R,ne,U,C,d,G,g,p){p===void 0&&(p=!1),q(C,ne,U,d,G,g,p)&&(U.modifiers&&U.modifiers.length>0&&(!e.isIdentifier(U.name)||e.FindAllReferences.Core.isSymbolReferencedInFile(U.name,C,ne))?U.modifiers.forEach(function(f){return R.deleteModifier(ne,f)}):!U.initializer&&ie(U,C,d)&&R.delete(ne,U))}function ie(R,ne,U){var C=R.parent.parameters.indexOf(R);return!e.FindAllReferences.Core.someSignatureUsage(R.parent,U,ne,function(d,G){return!G||G.arguments.length>C})}function q(R,ne,U,C,d,G,g){var p=U.parent;switch(p.kind){case 167:case 169:var f=p.parameters.indexOf(U),T=e.isMethodDeclaration(p)?p.name:p,m=e.FindAllReferences.Core.getReferencedSymbolsForNode(p.pos,T,d,C,G);if(m)for(var N=0,P=m;Nf,I=e.isPropertyAccessExpression(z.node.parent)&&e.isSuperKeyword(z.node.parent.expression)&&e.isCallExpression(z.node.parent.parent)&&z.node.parent.parent.arguments.length>f,Ae=(e.isMethodDeclaration(z.node.parent)||e.isMethodSignature(z.node.parent))&&z.node.parent!==U.parent&&z.node.parent.parameters.length>f;if(K||I||Ae)return!1}}return!0;case 254:return p.name&&oe(R,ne,p.name)?se(p,U,g):!0;case 211:case 212:return se(p,U,g);case 171:return!1;default:return e.Debug.failBadSyntaxKind(p)}}function oe(R,ne,U){return!!e.FindAllReferences.Core.eachSymbolReferenceInFile(U,R,ne,function(C){return e.isIdentifier(C)&&e.isCallExpression(C.parent)&&C.parent.arguments.indexOf(C)>=0})}function se(R,ne,U){var C=R.parameters,d=C.indexOf(ne);return e.Debug.assert(d!==-1,"The parameter should already be in the list"),U?C.slice(d+1).every(function(G){return e.isIdentifier(G.name)&&!G.symbol.isReferenced}):d===C.length-1}function w(R){return(e.isBinaryExpression(R.parent)&&R.parent.left===R||(e.isPostfixUnaryExpression(R.parent)||e.isPrefixUnaryExpression(R.parent))&&R.parent.operand===R)&&e.isExpressionStatement(R.parent.parent)}})(o=e.codefix||(e.codefix={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $="fixUnreachableCode",Y=[e.Diagnostics.Unreachable_code_detected.code];ue.registerCodeFix({errorCodes:Y,getCodeActions:function(ye){var O=e.textChanges.ChangeTracker.with(ye,function(A){return W(A,ye.sourceFile,ye.span.start,ye.span.length,ye.errorCode)});return[ue.createCodeFixAction($,O,e.Diagnostics.Remove_unreachable_code,$,e.Diagnostics.Remove_all_unreachable_code)]},fixIds:[$],getAllCodeActions:function(ye){return ue.codeFixAll(ye,Y,function(O,A){return W(O,A.file,A.start,A.length,A.code)})}});function W(ye,O,A,D,de){var _e=e.getTokenAtPosition(O,A),y=e.findAncestor(_e,e.isStatement);if(y.getStart(O)!==_e.getStart(O)){var V=JSON.stringify({statementKind:e.Debug.formatSyntaxKind(y.kind),tokenKind:e.Debug.formatSyntaxKind(_e.kind),errorCode:de,start:A,length:D});e.Debug.fail("Token and statement should start at the same point. "+V)}var Z=(e.isBlock(y.parent)?y.parent:y).parent;if(!e.isBlock(y.parent)||y===e.first(y.parent.statements))switch(Z.kind){case 237:if(Z.elseStatement){if(e.isBlock(y.parent))break;ye.replaceNode(O,y,e.factory.createBlock(e.emptyArray));return}case 239:case 240:ye.delete(O,Z);return}if(e.isBlock(y.parent)){var E=A+D,H=e.Debug.checkDefined(re(e.sliceAfter(y.parent.statements,y),function(L){return L.posBe.length){var De=d.getSignatureFromDeclaration(C[C.length-1]);Ne(x,De,T,p,y(x))}else e.Debug.assert(C.length===Be.length,"Declarations and signatures should match count"),U(D(d,w,oe,Be,p,N,T,x));break}function Ne(qe,pe,we,pn,Qe){var Re=re(167,w,qe,pe,Qe,pn,we,N,oe,ne);Re&&U(Re)}}function re(q,oe,se,w,R,ne,U,C,d,G){var g=oe.program,p=g.getTypeChecker(),f=e.getEmitScriptTarget(g.getCompilerOptions()),T=1073742081|(se===0?268435456:0),m=p.signatureToSignatureDeclaration(w,q,d,T,Y(oe));if(m){var N=m.typeParameters,P=m.parameters,x=m.type;if(G){if(N){var M=e.sameMap(N,function(Ae){var Oe=Ae.constraint,te=Ae.default;if(Oe){var Se=k(Oe,f);Se&&(Oe=Se.typeNode,ie(G,Se.symbols))}if(te){var Se=k(te,f);Se&&(te=Se.typeNode,ie(G,Se.symbols))}return e.factory.updateTypeParameterDeclaration(Ae,Ae.name,Oe,te)});N!==M&&(N=e.setTextRange(e.factory.createNodeArray(M,N.hasTrailingComma),N))}var me=e.sameMap(P,function(Ae){var Oe=k(Ae.type,f),te=Ae.type;return Oe&&(te=Oe.typeNode,ie(G,Oe.symbols)),e.factory.updateParameterDeclaration(Ae,Ae.decorators,Ae.modifiers,Ae.dotDotDotToken,Ae.name,Ae.questionToken,te,Ae.initializer)});if(P!==me&&(P=e.setTextRange(e.factory.createNodeArray(me,P.hasTrailingComma),P)),x){var z=k(x,f);z&&(x=z.typeNode,ie(G,z.symbols))}}var K=C?e.factory.createToken(57):void 0,I=m.asteriskToken;if(e.isFunctionExpression(m))return e.factory.updateFunctionExpression(m,U,m.asteriskToken,e.tryCast(ne,e.isIdentifier),N,P,x,R!=null?R:m.body);if(e.isArrowFunction(m))return e.factory.updateArrowFunction(m,U,N,P,x,m.equalsGreaterThanToken,R!=null?R:m.body);if(e.isMethodDeclaration(m))return e.factory.updateMethodDeclaration(m,void 0,U,I,ne!=null?ne:e.factory.createIdentifier(""),K,N,P,x,R)}}ue.createSignatureDeclarationFromSignature=re;function ye(q,oe,se,w,R,ne,U){var C=e.getQuotePreference(oe.sourceFile,oe.preferences),d=e.getEmitScriptTarget(oe.program.getCompilerOptions()),G=Y(oe),g=oe.program.getTypeChecker(),p=e.isInJSFile(U),f=w.typeArguments,T=w.arguments,m=w.parent,N=p?void 0:g.getContextualType(w),P=e.map(T,function(Ae){return e.isIdentifier(Ae)?Ae.text:e.isPropertyAccessExpression(Ae)&&e.isIdentifier(Ae.name)?Ae.name.text:void 0}),x=p?[]:e.map(T,function(Ae){return O(g,se,g.getBaseTypeOfLiteralType(g.getTypeAtLocation(Ae)),U,d,void 0,G)}),M=ne?e.factory.createNodeArray(e.factory.createModifiersFromModifierFlags(ne)):void 0,me=e.isYieldExpression(m)?e.factory.createToken(41):void 0,z=p||f===void 0?void 0:e.map(f,function(Ae,Oe){return e.factory.createTypeParameterDeclaration(84+f.length-1<=90?String.fromCharCode(84+Oe):"T"+Oe)}),K=A(T.length,P,x,void 0,p),I=p||N===void 0?void 0:g.typeToTypeNode(N,U,void 0,G);return q===167?e.factory.createMethodDeclaration(void 0,M,me,R,void 0,z,K,I,e.isInterfaceDeclaration(U)?void 0:y(C)):e.factory.createFunctionDeclaration(void 0,M,me,R,z,K,I,V(e.Diagnostics.Function_not_implemented.message,C))}ue.createSignatureDeclarationFromCallExpression=ye;function O(q,oe,se,w,R,ne,U){var C=q.typeToTypeNode(se,w,ne,U);if(C&&e.isImportTypeNode(C)){var d=k(C,R);d&&(ie(oe,d.symbols),C=d.typeNode)}return e.getSynthesizedDeepClone(C)}ue.typeToAutoImportableTypeNode=O;function A(q,oe,se,w,R){for(var ne=[],U=0;U=w?e.factory.createToken(57):void 0,R?void 0:se&&se[U]||e.factory.createKeywordTypeNode(129),void 0);ne.push(C)}return ne}function D(q,oe,se,w,R,ne,U,C){for(var d=w[0],G=w[0].minArgumentCount,g=!1,p=0,f=w;p=d.parameters.length&&(!e.signatureHasRestParameter(T)||e.signatureHasRestParameter(d))&&(d=T)}var m=d.parameters.length-(e.signatureHasRestParameter(d)?1:0),N=d.parameters.map(function(me){return me.name}),P=A(m,N,void 0,G,!1);if(g){var x=e.factory.createArrayTypeNode(e.factory.createKeywordTypeNode(129)),M=e.factory.createParameterDeclaration(void 0,void 0,e.factory.createToken(25),N[m]||"rest",m>=G?e.factory.createToken(57):void 0,x,void 0);P.push(M)}return _e(U,R,ne,void 0,P,de(w,q,oe,se),C)}function de(q,oe,se,w){if(e.length(q)){var R=oe.getUnionType(e.map(q,oe.getReturnTypeOfSignature));return oe.typeToTypeNode(R,w,void 0,Y(se))}}function _e(q,oe,se,w,R,ne,U){return e.factory.createMethodDeclaration(void 0,q,void 0,oe,se?e.factory.createToken(57):void 0,w,R,ne,y(U))}function y(q){return V(e.Diagnostics.Method_not_implemented.message,q)}function V(q,oe){return e.factory.createBlock([e.factory.createThrowStatement(e.factory.createNewExpression(e.factory.createIdentifier("Error"),void 0,[e.factory.createStringLiteral(q,oe===0)]))],!0)}ue.createStubbedBody=V;function Z(q){if(q&4)return e.factory.createToken(123);if(q&16)return e.factory.createToken(122)}function E(q,oe,se){var w=e.getTsConfigObjectLiteralExpression(oe);if(w){var R=ee(w,"compilerOptions");if(R===void 0){q.insertNodeAtObjectStart(oe,w,L("compilerOptions",e.factory.createObjectLiteralExpression(se.map(function(f){var T=f[0],m=f[1];return L(T,m)}),!0)));return}var ne=R.initializer;if(e.isObjectLiteralExpression(ne))for(var U=0,C=se;U0)return[ue.createCodeFixAction($,ye,e.Diagnostics.Convert_to_a_bigint_numeric_literal,$,e.Diagnostics.Convert_all_to_bigint_numeric_literals)]},fixIds:[$],getAllCodeActions:function(re){return ue.codeFixAll(re,Y,function(ye,O){return W(ye,O.file,O)})}});function W(re,ye,O){var A=e.tryCast(e.getTokenAtPosition(ye,O.start),e.isNumericLiteral);if(A){var D=A.getText(ye)+"n";re.replaceNode(ye,A,e.factory.createBigIntLiteral(D))}}})(o=e.codefix||(e.codefix={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $="fixAddModuleReferTypeMissingTypeof",Y=$,W=[e.Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0.code];ue.registerCodeFix({errorCodes:W,getCodeActions:function(O){var A=O.sourceFile,D=O.span,de=re(A,D.start),_e=e.textChanges.ChangeTracker.with(O,function(y){return ye(y,A,de)});return[ue.createCodeFixAction(Y,_e,e.Diagnostics.Add_missing_typeof,Y,e.Diagnostics.Add_missing_typeof)]},fixIds:[Y],getAllCodeActions:function(O){return ue.codeFixAll(O,W,function(A,D){return ye(A,O.sourceFile,re(D.file,D.start))})}});function re(O,A){var D=e.getTokenAtPosition(O,A);return e.Debug.assert(D.kind===100,"This token should be an ImportKeyword"),e.Debug.assert(D.parent.kind===198,"Token parent should be an ImportType"),D.parent}function ye(O,A,D){var de=e.factory.updateImportTypeNode(D,D.argument,D.qualifier,D.typeArguments,!0);O.replaceNode(A,D,de)}})(o=e.codefix||(e.codefix={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $="wrapJsxInFragment",Y=[e.Diagnostics.JSX_expressions_must_have_one_parent_element.code];ue.registerCodeFix({errorCodes:Y,getCodeActions:function(O){var A=O.sourceFile,D=O.span,de=W(A,D.start);if(de){var _e=e.textChanges.ChangeTracker.with(O,function(y){return re(y,A,de)});return[ue.createCodeFixAction($,_e,e.Diagnostics.Wrap_in_JSX_fragment,$,e.Diagnostics.Wrap_all_unparented_JSX_in_JSX_fragment)]}},fixIds:[$],getAllCodeActions:function(O){return ue.codeFixAll(O,Y,function(A,D){var de=W(O.sourceFile,D.start);de&&re(A,O.sourceFile,de)})}});function W(O,A){var D=e.getTokenAtPosition(O,A),de=D.parent,_e=de.parent;if(!(!e.isBinaryExpression(_e)&&(_e=_e.parent,!e.isBinaryExpression(_e)))&&e.nodeIsMissing(_e.operatorToken))return _e}function re(O,A,D){var de=ye(D);de&&O.replaceNode(A,D,e.factory.createJsxFragment(e.factory.createJsxOpeningFragment(),de,e.factory.createJsxJsxClosingFragment()))}function ye(O){for(var A=[],D=O;;)if(e.isBinaryExpression(D)&&e.nodeIsMissing(D.operatorToken)&&D.operatorToken.kind===27){if(A.push(D.left),e.isJsxChild(D.right))return A.push(D.right),A;if(e.isBinaryExpression(D.right)){D=D.right;continue}else return}else return}})(o=e.codefix||(e.codefix={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $="fixConvertToMappedObjectType",Y=$,W=[e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead.code];ue.registerCodeFix({errorCodes:W,getCodeActions:function(A){var D=A.sourceFile,de=A.span,_e=re(D,de.start);if(_e){var y=e.textChanges.ChangeTracker.with(A,function(Z){return O(Z,D,_e)}),V=e.idText(_e.container.name);return[ue.createCodeFixAction(Y,y,[e.Diagnostics.Convert_0_to_mapped_object_type,V],Y,[e.Diagnostics.Convert_0_to_mapped_object_type,V])]}},fixIds:[Y],getAllCodeActions:function(A){return ue.codeFixAll(A,W,function(D,de){var _e=re(de.file,de.start);_e&&O(D,de.file,_e)})}});function re(A,D){var de=e.getTokenAtPosition(A,D),_e=e.cast(de.parent.parent,e.isIndexSignatureDeclaration);if(!e.isClassDeclaration(_e.parent)){var y=e.isInterfaceDeclaration(_e.parent)?_e.parent:e.cast(_e.parent.parent,e.isTypeAliasDeclaration);return{indexSignature:_e,container:y}}}function ye(A,D){return e.factory.createTypeAliasDeclaration(A.decorators,A.modifiers,A.name,A.typeParameters,D)}function O(A,D,de){var _e=de.indexSignature,y=de.container,V=e.isInterfaceDeclaration(y)?y.members:y.type.members,Z=V.filter(function(k){return!e.isIndexSignatureDeclaration(k)}),E=e.first(_e.parameters),H=e.factory.createTypeParameterDeclaration(e.cast(E.name,e.isIdentifier),E.type),L=e.factory.createMappedTypeNode(e.hasEffectiveReadonlyModifier(_e)?e.factory.createModifier(143):void 0,H,void 0,_e.questionToken,_e.type),ee=e.factory.createIntersectionTypeNode(Vr(Vr(Vr([],e.getAllSuperTypeNodes(y),!0),[L],!1),Z.length?[e.factory.createTypeLiteralNode(Z)]:e.emptyArray,!0));A.replaceNode(D,y,ye(y,ee))}})(o=e.codefix||(e.codefix={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $="removeAccidentalCallParentheses",Y=[e.Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without.code];ue.registerCodeFix({errorCodes:Y,getCodeActions:function(W){var re=e.findAncestor(e.getTokenAtPosition(W.sourceFile,W.span.start),e.isCallExpression);if(re){var ye=e.textChanges.ChangeTracker.with(W,function(O){O.deleteRange(W.sourceFile,{pos:re.expression.end,end:re.end})});return[ue.createCodeFixActionWithoutFixAll($,ye,e.Diagnostics.Remove_parentheses)]}},fixIds:[$]})})(o=e.codefix||(e.codefix={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $="removeUnnecessaryAwait",Y=[e.Diagnostics.await_has_no_effect_on_the_type_of_this_expression.code];ue.registerCodeFix({errorCodes:Y,getCodeActions:function(re){var ye=e.textChanges.ChangeTracker.with(re,function(O){return W(O,re.sourceFile,re.span)});if(ye.length>0)return[ue.createCodeFixAction($,ye,e.Diagnostics.Remove_unnecessary_await,$,e.Diagnostics.Remove_all_unnecessary_uses_of_await)]},fixIds:[$],getAllCodeActions:function(re){return ue.codeFixAll(re,Y,function(ye,O){return W(ye,O.file,O)})}});function W(re,ye,O){var A=e.tryCast(e.getTokenAtPosition(ye,O.start),function(Z){return Z.kind===131}),D=A&&e.tryCast(A.parent,e.isAwaitExpression);if(D){var de=D,_e=e.isParenthesizedExpression(D.parent);if(_e){var y=e.getLeftmostExpression(D.expression,!1);if(e.isIdentifier(y)){var V=e.findPrecedingToken(D.parent.pos,ye);V&&V.kind!==103&&(de=D.parent)}}re.replaceNode(ye,de,D.expression)}}})(o=e.codefix||(e.codefix={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $=[e.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code],Y="splitTypeOnlyImport";ue.registerCodeFix({errorCodes:$,fixIds:[Y],getCodeActions:function(ye){var O=e.textChanges.ChangeTracker.with(ye,function(A){return re(A,W(ye.sourceFile,ye.span),ye)});if(O.length)return[ue.createCodeFixAction(Y,O,e.Diagnostics.Split_into_two_separate_import_declarations,Y,e.Diagnostics.Split_all_invalid_type_only_imports)]},getAllCodeActions:function(ye){return ue.codeFixAll(ye,$,function(O,A){re(O,W(ye.sourceFile,A),ye)})}});function W(ye,O){return e.findAncestor(e.getTokenAtPosition(ye,O.start),e.isImportDeclaration)}function re(ye,O,A){if(O){var D=e.Debug.checkDefined(O.importClause);ye.replaceNode(A.sourceFile,O,e.factory.updateImportDeclaration(O,O.decorators,O.modifiers,e.factory.updateImportClause(D,D.isTypeOnly,D.name,void 0),O.moduleSpecifier)),ye.insertNodeAfter(A.sourceFile,O,e.factory.createImportDeclaration(void 0,void 0,e.factory.updateImportClause(D,D.isTypeOnly,void 0,D.namedBindings),O.moduleSpecifier))}}})(o=e.codefix||(e.codefix={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $="fixConvertConstToLet",Y=[e.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant.code];ue.registerCodeFix({errorCodes:Y,getCodeActions:function(ye){var O=ye.sourceFile,A=ye.span,D=ye.program,de=W(O,A.start,D);if(de!==void 0){var _e=e.textChanges.ChangeTracker.with(ye,function(y){return re(y,O,de)});return[ue.createCodeFixAction($,_e,e.Diagnostics.Convert_const_to_let,$,e.Diagnostics.Convert_const_to_let)]}},fixIds:[$]});function W(ye,O,A){var D,de=A.getTypeChecker(),_e=de.getSymbolAtLocation(e.getTokenAtPosition(ye,O)),y=e.tryCast((D=_e==null?void 0:_e.valueDeclaration)===null||D===void 0?void 0:D.parent,e.isVariableDeclarationList);if(y!==void 0){var V=e.findChildOfKind(y,85,ye);if(V!==void 0)return e.createRange(V.pos,V.end)}}function re(ye,O,A){ye.replaceRangeWithText(O,A,"let")}})(o=e.codefix||(e.codefix={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $="fixExpectedComma",Y=e.Diagnostics._0_expected.code,W=[Y];ue.registerCodeFix({errorCodes:W,getCodeActions:function(O){var A=O.sourceFile,D=re(A,O.span.start,O.errorCode);if(D){var de=e.textChanges.ChangeTracker.with(O,function(_e){return ye(_e,A,D)});return[ue.createCodeFixAction($,de,[e.Diagnostics.Change_0_to_1,";",","],$,[e.Diagnostics.Change_0_to_1,";",","])]}},fixIds:[$],getAllCodeActions:function(O){return ue.codeFixAll(O,W,function(A,D){var de=re(D.file,D.start,D.code);de&&ye(A,O.sourceFile,de)})}});function re(O,A,D){var de=e.getTokenAtPosition(O,A);return de.kind===26&&de.parent&&(e.isObjectLiteralExpression(de.parent)||e.isArrayLiteralExpression(de.parent))?{node:de}:void 0}function ye(O,A,D){var de=D.node,_e=e.factory.createToken(27);O.replaceNode(A,de,_e)}})(o=e.codefix||(e.codefix={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $="addVoidToPromise",Y="addVoidToPromise",W=[e.Diagnostics.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise.code];ue.registerCodeFix({errorCodes:W,fixIds:[Y],getCodeActions:function(O){var A=e.textChanges.ChangeTracker.with(O,function(D){return re(D,O.sourceFile,O.span,O.program)});if(A.length>0)return[ue.createCodeFixAction($,A,e.Diagnostics.Add_void_to_Promise_resolved_without_a_value,Y,e.Diagnostics.Add_void_to_all_Promises_resolved_without_a_value)]},getAllCodeActions:function(O){return ue.codeFixAll(O,W,function(A,D){return re(A,D.file,D,O.program,new e.Set)})}});function re(O,A,D,de,_e){var y=e.getTokenAtPosition(A,D.start);if(!(!e.isIdentifier(y)||!e.isCallExpression(y.parent)||y.parent.expression!==y||y.parent.arguments.length!==0)){var V=de.getTypeChecker(),Z=V.getSymbolAtLocation(y),E=Z==null?void 0:Z.valueDeclaration;if(!(!E||!e.isParameter(E)||!e.isNewExpression(E.parent.parent))&&!(_e!=null&&_e.has(E))){_e==null||_e.add(E);var H=ye(E.parent.parent);if(e.some(H)){var L=H[0],ee=!e.isUnionTypeNode(L)&&!e.isParenthesizedTypeNode(L)&&e.isParenthesizedTypeNode(e.factory.createUnionTypeNode([L,e.factory.createKeywordTypeNode(114)]).types[0]);ee&&O.insertText(A,L.pos,"("),O.insertText(A,L.end,ee?") | void":" | void")}else{var k=V.getResolvedSignature(y.parent),b=k==null?void 0:k.parameters[0],ie=b&&V.getTypeOfSymbolAtLocation(b,E.parent.parent);e.isInJSFile(E)?(!ie||ie.flags&3)&&(O.insertText(A,E.parent.parent.end,")"),O.insertText(A,e.skipTrivia(A.text,E.parent.parent.pos),"/** @type {Promise} */(")):(!ie||ie.flags&2)&&O.insertText(A,E.parent.parent.expression.end,"")}}}}function ye(O){var A;if(e.isInJSFile(O)){if(e.isParenthesizedExpression(O.parent)){var D=(A=e.getJSDocTypeTag(O.parent))===null||A===void 0?void 0:A.typeExpression.type;if(D&&e.isTypeReferenceNode(D)&&e.isIdentifier(D.typeName)&&e.idText(D.typeName)==="Promise")return D.typeArguments}}else return O.typeArguments}})(o=e.codefix||(e.codefix={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $="Convert export",Y={name:"Convert default export to named export",description:e.Diagnostics.Convert_default_export_to_named_export.message,kind:"refactor.rewrite.export.named"},W={name:"Convert named export to default export",description:e.Diagnostics.Convert_named_export_to_default_export.message,kind:"refactor.rewrite.export.default"};ue.registerRefactor($,{kinds:[Y.kind,W.kind],getAvailableActions:function(V){var Z=re(V,V.triggerReason==="invoked");if(!Z)return e.emptyArray;if(!ue.isRefactorErrorInfo(Z)){var E=Z.wasDefault?Y:W;return[{name:$,description:E.description,actions:[E]}]}return V.preferences.provideRefactorNotApplicableReason?[{name:$,description:e.Diagnostics.Convert_default_export_to_named_export.message,actions:[Mt(Mt({},Y),{notApplicableReason:Z.error}),Mt(Mt({},W),{notApplicableReason:Z.error})]}]:e.emptyArray},getEditsForAction:function(V,Z){e.Debug.assert(Z===Y.name||Z===W.name,"Unexpected action name");var E=re(V);e.Debug.assert(E&&!ue.isRefactorErrorInfo(E),"Expected applicable refactor info");var H=e.textChanges.ChangeTracker.with(V,function(L){return ye(V.file,V.program,E,L,V.cancellationToken)});return{edits:H,renameFilename:void 0,renameLocation:void 0}}});function re(V,Z){Z===void 0&&(Z=!0);var E=V.file,H=V.program,L=e.getRefactorContextSpan(V),ee=e.getTokenAtPosition(E,L.start),k=ee.parent&&e.getSyntacticModifierFlags(ee.parent)&1&&Z?ee.parent:e.getParentNodeInSpan(ee,E,L);if(!k||!e.isSourceFile(k.parent)&&!(e.isModuleBlock(k.parent)&&e.isAmbientModule(k.parent.parent)))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_export_statement)};var b=e.isSourceFile(k.parent)?k.parent.symbol:k.parent.parent.symbol,ie=e.getSyntacticModifierFlags(k)||(e.isExportAssignment(k)&&!k.isExportEquals?513:0),q=!!(ie&512);if(!(ie&1)||!q&&b.exports.has("default"))return{error:e.getLocaleSpecificMessage(e.Diagnostics.This_file_already_has_a_default_export)};var oe=H.getTypeChecker(),se=function(U){return e.isIdentifier(U)&&oe.getSymbolAtLocation(U)?void 0:{error:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_named_export)}};switch(k.kind){case 254:case 255:case 256:case 258:case 257:case 259:{var w=k;return w.name?se(w.name)||{exportNode:w,exportName:w.name,wasDefault:q,exportingModuleSymbol:b}:void 0}case 235:{var R=k;if(!(R.declarationList.flags&2)||R.declarationList.declarations.length!==1)return;var ne=e.first(R.declarationList.declarations);return ne.initializer?(e.Debug.assert(!q,"Can't have a default flag here"),se(ne.name)||{exportNode:R,exportName:ne.name,wasDefault:q,exportingModuleSymbol:b}):void 0}case 269:{var w=k;return w.isExportEquals?void 0:se(w.expression)||{exportNode:w,exportName:w.expression,wasDefault:q,exportingModuleSymbol:b}}default:return}}function ye(V,Z,E,H,L){O(V,E,H,Z.getTypeChecker()),A(Z,E,H,L)}function O(V,Z,E,H){var L=Z.wasDefault,ee=Z.exportNode,k=Z.exportName;if(L)if(e.isExportAssignment(ee)&&!ee.isExportEquals){var b=ee.expression,ie=y(b.text,b.text);E.replaceNode(V,ee,e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([ie])))}else E.delete(V,e.Debug.checkDefined(e.findModifier(ee,88),"Should find a default keyword in modifier list"));else{var q=e.Debug.checkDefined(e.findModifier(ee,93),"Should find an export keyword in modifier list");switch(ee.kind){case 254:case 255:case 256:E.insertNodeAfter(V,q,e.factory.createToken(88));break;case 235:var oe=e.first(ee.declarationList.declarations);if(!e.FindAllReferences.Core.isSymbolReferencedInFile(k,H,V)&&!oe.type){E.replaceNode(V,ee,e.factory.createExportDefault(e.Debug.checkDefined(oe.initializer,"Initializer was previously known to be present")));break}case 258:case 257:case 259:E.deleteModifier(V,q),E.insertNodeAfter(V,ee,e.factory.createExportDefault(e.factory.createIdentifier(k.text)));break;default:e.Debug.fail("Unexpected exportNode kind "+ee.kind)}}}function A(V,Z,E,H){var L=Z.wasDefault,ee=Z.exportName,k=Z.exportingModuleSymbol,b=V.getTypeChecker(),ie=e.Debug.checkDefined(b.getSymbolAtLocation(ee),"Export name should resolve to a symbol");e.FindAllReferences.Core.eachExportReference(V.getSourceFiles(),b,H,ie,k,ee.text,L,function(q){var oe=q.getSourceFile();L?D(oe,q,E,ee.text):de(oe,q,E)})}function D(V,Z,E,H){var L=Z.parent;switch(L.kind){case 204:E.replaceNode(V,Z,e.factory.createIdentifier(H));break;case 268:case 273:{var ee=L;E.replaceNode(V,ee,_e(H,ee.name.text));break}case 265:{var k=L;e.Debug.assert(k.name===Z,"Import clause name should match provided ref");var ee=_e(H,Z.text),b=k.namedBindings;if(!b)E.replaceNode(V,Z,e.factory.createNamedImports([ee]));else if(b.kind===266){E.deleteRange(V,{pos:Z.getStart(V),end:b.getStart(V)});var ie=e.isStringLiteral(k.parent.moduleSpecifier)?e.quotePreferenceFromString(k.parent.moduleSpecifier,V):1,q=e.makeImport(void 0,[_e(H,Z.text)],k.parent.moduleSpecifier,ie);E.insertNodeAfter(V,k.parent,q)}else E.delete(V,Z),E.insertNodeAtEndOfList(V,b.elements,ee);break}default:e.Debug.failBadSyntaxKind(L)}}function de(V,Z,E){var H=Z.parent;switch(H.kind){case 204:E.replaceNode(V,Z,e.factory.createIdentifier("default"));break;case 268:{var L=e.factory.createIdentifier(H.name.text);H.parent.elements.length===1?E.replaceNode(V,H.parent,L):(E.delete(V,H),E.insertNodeBefore(V,H.parent,L));break}case 273:{E.replaceNode(V,H,y("default",H.name.text));break}default:e.Debug.assertNever(H,"Unexpected parent kind "+H.kind)}}function _e(V,Z){return e.factory.createImportSpecifier(V===Z?void 0:e.factory.createIdentifier(V),e.factory.createIdentifier(Z))}function y(V,Z){return e.factory.createExportSpecifier(V===Z?void 0:e.factory.createIdentifier(V),e.factory.createIdentifier(Z))}})(o=e.refactor||(e.refactor={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $="Convert import",Y={name:"Convert namespace import to named imports",description:e.Diagnostics.Convert_namespace_import_to_named_imports.message,kind:"refactor.rewrite.import.named"},W={name:"Convert named imports to namespace import",description:e.Diagnostics.Convert_named_imports_to_namespace_import.message,kind:"refactor.rewrite.import.namespace"};ue.registerRefactor($,{kinds:[Y.kind,W.kind],getAvailableActions:function(y){var V=re(y,y.triggerReason==="invoked");if(!V)return e.emptyArray;if(!ue.isRefactorErrorInfo(V)){var Z=V.kind===266,E=Z?Y:W;return[{name:$,description:E.description,actions:[E]}]}return y.preferences.provideRefactorNotApplicableReason?[{name:$,description:Y.description,actions:[Mt(Mt({},Y),{notApplicableReason:V.error})]},{name:$,description:W.description,actions:[Mt(Mt({},W),{notApplicableReason:V.error})]}]:e.emptyArray},getEditsForAction:function(y,V){e.Debug.assert(V===Y.name||V===W.name,"Unexpected action name");var Z=re(y);e.Debug.assert(Z&&!ue.isRefactorErrorInfo(Z),"Expected applicable refactor info");var E=e.textChanges.ChangeTracker.with(y,function(H){return ye(y.file,y.program,H,Z)});return{edits:E,renameFilename:void 0,renameLocation:void 0}}});function re(y,V){V===void 0&&(V=!0);var Z=y.file,E=e.getRefactorContextSpan(y),H=e.getTokenAtPosition(Z,E.start),L=V?e.findAncestor(H,e.isImportDeclaration):e.getParentNodeInSpan(H,Z,E);if(!L||!e.isImportDeclaration(L))return{error:"Selection is not an import declaration."};if(!(L.getEnd()=G.pos?g.getEnd():G.getEnd()),f=d?b(G):k(G,p),T=f&&_e(f)?ie(f):void 0;if(!T)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};var m=U.getTypeChecker();return e.isConditionalExpression(T)?V(T,m):Z(T)}}function V(w,R){var ne=w.condition,U=q(w.whenTrue);if(!U||R.isNullableType(R.getTypeAtLocation(U)))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};if((e.isPropertyAccessExpression(ne)||e.isIdentifier(ne))&&H(ne,U.expression))return{finalExpression:U,occurrences:[ne],expression:w};if(e.isBinaryExpression(ne)){var C=E(U.expression,ne);return C?{finalExpression:U,occurrences:C,expression:w}:{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_matching_access_expressions)}}}function Z(w){if(w.operatorToken.kind!==55)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_logical_AND_access_chains)};var R=q(w.right);if(!R)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};var ne=E(R.expression,w.left);return ne?{finalExpression:R,occurrences:ne,expression:w}:{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_matching_access_expressions)}}function E(w,R){for(var ne=[];e.isBinaryExpression(R)&&R.operatorToken.kind===55;){var U=H(e.skipParentheses(w),e.skipParentheses(R.right));if(!U)break;ne.push(U),w=U,R=R.left}var C=H(w,R);return C&&ne.push(C),ne.length>0?ne:void 0}function H(w,R){if(!(!e.isIdentifier(R)&&!e.isPropertyAccessExpression(R)&&!e.isElementAccessExpression(R)))return L(w,R)?R:void 0}function L(w,R){for(;(e.isCallExpression(w)||e.isPropertyAccessExpression(w)||e.isElementAccessExpression(w))&&ee(w)!==ee(R);)w=w.expression;for(;e.isPropertyAccessExpression(w)&&e.isPropertyAccessExpression(R)||e.isElementAccessExpression(w)&&e.isElementAccessExpression(R);){if(ee(w)!==ee(R))return!1;w=w.expression,R=R.expression}return e.isIdentifier(w)&&e.isIdentifier(R)&&w.getText()===R.getText()}function ee(w){if(e.isIdentifier(w)||e.isStringOrNumericLiteralLike(w))return w.getText();if(e.isPropertyAccessExpression(w))return ee(w.name);if(e.isElementAccessExpression(w))return ee(w.argumentExpression)}function k(w,R){for(;w.parent;){if(_e(w)&&R.length!==0&&w.end>=R.start+R.length)return w;w=w.parent}}function b(w){for(;w.parent;){if(_e(w)&&!_e(w.parent))return w;w=w.parent}}function ie(w){if(D(w))return w;if(e.isVariableStatement(w)){var R=e.getSingleVariableOfVariableStatement(w),ne=R==null?void 0:R.initializer;return ne&&D(ne)?ne:void 0}return w.expression&&D(w.expression)?w.expression:void 0}function q(w){if(w=e.skipParentheses(w),e.isBinaryExpression(w))return q(w.left);if((e.isPropertyAccessExpression(w)||e.isElementAccessExpression(w)||e.isCallExpression(w))&&!e.isOptionalChain(w))return w}function oe(w,R,ne){if(e.isPropertyAccessExpression(R)||e.isElementAccessExpression(R)||e.isCallExpression(R)){var U=oe(w,R.expression,ne),C=ne.length>0?ne[ne.length-1]:void 0,d=(C==null?void 0:C.getText())===R.expression.getText();if(d&&ne.pop(),e.isCallExpression(R))return d?e.factory.createCallChain(U,e.factory.createToken(28),R.typeArguments,R.arguments):e.factory.createCallChain(U,R.questionDotToken,R.typeArguments,R.arguments);if(e.isPropertyAccessExpression(R))return d?e.factory.createPropertyAccessChain(U,e.factory.createToken(28),R.name):e.factory.createPropertyAccessChain(U,R.questionDotToken,R.name);if(e.isElementAccessExpression(R))return d?e.factory.createElementAccessChain(U,e.factory.createToken(28),R.argumentExpression):e.factory.createElementAccessChain(U,R.questionDotToken,R.argumentExpression)}return R}function se(w,R,ne,U,C){var d=U.finalExpression,G=U.occurrences,g=U.expression,p=G[G.length-1],f=oe(R,d,G);f&&(e.isPropertyAccessExpression(f)||e.isElementAccessExpression(f)||e.isCallExpression(f))&&(e.isBinaryExpression(g)?ne.replaceNodeRange(w,p,d,f):e.isConditionalExpression(g)&&ne.replaceNode(w,g,e.factory.createBinaryExpression(f,e.factory.createToken(60),g.whenFalse)))}})($=ue.convertToOptionalChainExpression||(ue.convertToOptionalChainExpression={}))})(o=e.refactor||(e.refactor={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $;(function(Y){var W="Convert overload list to single signature",re=e.Diagnostics.Convert_overload_list_to_single_signature.message,ye={name:W,description:re,kind:"refactor.rewrite.function.overloadList"};ue.registerRefactor(W,{kinds:[ye.kind],getEditsForAction:A,getAvailableActions:O});function O(_e){var y=_e.file,V=_e.startPosition,Z=_e.program,E=de(y,V,Z);return E?[{name:W,description:re,actions:[ye]}]:e.emptyArray}function A(_e){var y=_e.file,V=_e.startPosition,Z=_e.program,E=de(y,V,Z);if(!E)return;var H=Z.getTypeChecker(),L=E[E.length-1],ee=L;switch(L.kind){case 166:{ee=e.factory.updateMethodSignature(L,L.modifiers,L.name,L.questionToken,L.typeParameters,b(E),L.type);break}case 167:{ee=e.factory.updateMethodDeclaration(L,L.decorators,L.modifiers,L.asteriskToken,L.name,L.questionToken,L.typeParameters,b(E),L.type,L.body);break}case 172:{ee=e.factory.updateCallSignature(L,L.typeParameters,b(E),L.type);break}case 169:{ee=e.factory.updateConstructorDeclaration(L,L.decorators,L.modifiers,b(E),L.body);break}case 173:{ee=e.factory.updateConstructSignature(L,L.typeParameters,b(E),L.type);break}case 254:{ee=e.factory.updateFunctionDeclaration(L,L.decorators,L.modifiers,L.asteriskToken,L.name,L.typeParameters,b(E),L.type,L.body);break}default:return e.Debug.failBadSyntaxKind(L,"Unhandled signature kind in overload list conversion refactoring")}if(ee===L)return;var k=e.textChanges.ChangeTracker.with(_e,function(oe){oe.replaceNodeRange(y,E[0],E[E.length-1],ee)});return{renameFilename:void 0,renameLocation:void 0,edits:k};function b(oe){var se=oe[oe.length-1];return e.isFunctionLikeDeclaration(se)&&se.body&&(oe=oe.slice(0,oe.length-1)),e.factory.createNodeArray([e.factory.createParameterDeclaration(void 0,void 0,e.factory.createToken(25),"args",void 0,e.factory.createUnionTypeNode(e.map(oe,ie)))])}function ie(oe){var se=e.map(oe.parameters,q);return e.setEmitFlags(e.factory.createTupleTypeNode(se),e.some(se,function(w){return!!e.length(e.getSyntheticLeadingComments(w))})?0:1)}function q(oe){e.Debug.assert(e.isIdentifier(oe.name));var se=e.setTextRange(e.factory.createNamedTupleMember(oe.dotDotDotToken,oe.name,oe.questionToken,oe.type||e.factory.createKeywordTypeNode(129)),oe),w=oe.symbol&&oe.symbol.getDocumentationComment(H);if(w){var R=e.displayPartsToString(w);R.length&&e.setSyntheticLeadingComments(se,[{text:`* `+R.split(` `).map(function(ne){return" * "+ne}).join(` `)+` `,kind:3,pos:-1,end:-1,hasTrailingNewLine:!0,hasLeadingNewline:!0}])}return se}}function D(_e){switch(_e.kind){case 166:case 167:case 172:case 169:case 173:case 254:return!0}return!1}function de(_e,y,V){var Z=e.getTokenAtPosition(_e,y),E=e.findAncestor(Z,D);if(E){var H=V.getTypeChecker(),L=E.symbol;if(L){var ee=L.declarations;if(!(e.length(ee)<=1)&&e.every(ee,function(oe){return e.getSourceFileOfNode(oe)===_e})&&D(ee[0])){var k=ee[0].kind;if(e.every(ee,function(oe){return oe.kind===k})){var b=ee;if(!e.some(b,function(oe){return!!oe.typeParameters||e.some(oe.parameters,function(se){return!!se.decorators||!!se.modifiers||!e.isIdentifier(se.name)})})){var ie=e.mapDefined(b,function(oe){return H.getSignatureFromDeclaration(oe)});if(e.length(ie)===e.length(ee)){var q=H.getReturnTypeOfSignature(ie[0]);if(e.every(ie,function(oe){return H.getReturnTypeOfSignature(oe)===q}))return b}}}}}}}})($=ue.addOrRemoveBracesToArrowFunction||(ue.addOrRemoveBracesToArrowFunction={}))})(o=e.refactor||(e.refactor={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $;(function(Y){var W="Extract Symbol",re={name:"Extract Constant",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_constant),kind:"refactor.extract.constant"},ye={name:"Extract Function",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_function),kind:"refactor.extract.function"};ue.registerRefactor(W,{kinds:[re.kind,ye.kind],getAvailableActions:O,getEditsForAction:A});function O(te){var Se=te.kind,be=_e(te.file,e.getRefactorContextSpan(te),te.triggerReason==="invoked"),Ce=be.targetRange;if(Ce===void 0){if(!be.errors||be.errors.length===0||!te.preferences.provideRefactorNotApplicableReason)return e.emptyArray;var Be=[];return ue.refactorKindBeginsWith(ye.kind,Se)&&Be.push({name:W,description:ye.description,actions:[Mt(Mt({},ye),{notApplicableReason:In(be.errors)})]}),ue.refactorKindBeginsWith(re.kind,Se)&&Be.push({name:W,description:re.description,actions:[Mt(Mt({},re),{notApplicableReason:In(be.errors)})]}),Be}var De=ee(Ce,te);if(De===void 0)return e.emptyArray;for(var en=[],fe=new e.Map,Ne,qe=[],pe=new e.Map,we,pn=0,Qe=0,Re=De;Qe=Se.start+Se.length)return(Pe||(Pe=[])).push(e.createDiagnosticForNode(Le,D.cannotExtractSuper)),!0}else we|=de.UsesThis;break;case 212:e.forEachChild(Le,function Wn(ze){if(e.isThis(ze))we|=de.UsesThis;else{if(e.isClassLike(ze)||e.isFunctionLike(ze)&&!e.isArrowFunction(ze))return!1;e.forEachChild(ze,Wn)}});case 255:case 254:e.isSourceFile(Le.parent)&&Le.parent.externalModuleIndicator===void 0&&(Pe||(Pe=[])).push(e.createDiagnosticForNode(Le,D.functionWillNotBeVisibleInTheNewScope));case 224:case 211:case 167:case 169:case 170:case 171:return!1}var Ue=xe;switch(Le.kind){case 237:xe=0;break;case 250:xe=0;break;case 233:Le.parent&&Le.parent.kind===250&&Le.parent.finallyBlock===Le&&(xe=4);break;case 288:case 287:xe|=1;break;default:e.isIterationStatement(Le,!1)&&(xe|=3);break}switch(Le.kind){case 190:case 108:we|=de.UsesThis;break;case 248:{var gn=Le.label;(Ze||(Ze=[])).push(gn.escapedText),e.forEachChild(Le,hn),Ze.pop();break}case 244:case 243:{var gn=Le.label;gn?e.contains(Ze,gn.escapedText)||(Pe||(Pe=[])).push(e.createDiagnosticForNode(Le,D.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):xe&(Le.kind===244?1:2)||(Pe||(Pe=[])).push(e.createDiagnosticForNode(Le,D.cannotExtractRangeContainingConditionalBreakOrContinueStatements));break}case 216:we|=de.IsAsyncFunction;break;case 222:we|=de.IsGenerator;break;case 245:xe&4?we|=de.HasReturn:(Pe||(Pe=[])).push(e.createDiagnosticForNode(Le,D.cannotExtractRangeContainingConditionalReturnStatement));break;default:e.forEachChild(Le,hn);break}xe=Ue}}}Y.getRangeToExtract=_e;function y(te,Se,be){var Ce=te.getStart(be),Be=Se.getEnd();return be.text.charCodeAt(Be)===59&&Be++,{start:Ce,length:Be-Ce}}function V(te){if(e.isStatement(te))return[te];if(e.isExpressionNode(te))return e.isExpressionStatement(te.parent)?[te.parent]:te}function Z(te){return e.isFunctionLikeDeclaration(te)||e.isSourceFile(te)||e.isModuleBlock(te)||e.isClassLike(te)}function E(te){var Se=x(te.range)?e.first(te.range):te.range;if(te.facts&de.UsesThis){var be=e.getContainingClass(Se);if(be){var Ce=e.findAncestor(Se,e.isFunctionLikeDeclaration);return Ce?[Ce,be]:[be]}}for(var Be=[];;)if(Se=Se.parent,Se.kind===162&&(Se=e.findAncestor(Se,function(De){return e.isFunctionLikeDeclaration(De)}).parent),Z(Se)&&(Be.push(Se),Se.kind===300))return Be}function H(te,Se,be){var Ce=k(te,Se),Be=Ce.scopes,De=Ce.readsAndWrites,en=De.target,fe=De.usagesPerScope,Ne=De.functionErrorsPerScope,qe=De.exposedVariableDeclarations;return e.Debug.assert(!Ne[be].length,"The extraction went missing? How?"),Se.cancellationToken.throwIfCancellationRequested(),R(en,Be[be],fe[be],qe,te,Se)}function L(te,Se,be){var Ce=k(te,Se),Be=Ce.scopes,De=Ce.readsAndWrites,en=De.target,fe=De.usagesPerScope,Ne=De.constantErrorsPerScope,qe=De.exposedVariableDeclarations;e.Debug.assert(!Ne[be].length,"The extraction went missing? How?"),e.Debug.assert(qe.length===0,"Extract constant accepted a range containing a variable declaration?"),Se.cancellationToken.throwIfCancellationRequested();var pe=e.isExpression(en)?en:en.statements[0].expression;return ne(pe,Be[be],fe[be],te.facts,Se)}function ee(te,Se){var be=k(te,Se),Ce=be.scopes,Be=be.readsAndWrites,De=Be.functionErrorsPerScope,en=Be.constantErrorsPerScope,fe=Ce.map(function(Ne,qe){var pe=b(Ne),we=ie(Ne),pn=e.isFunctionLikeDeclaration(Ne)?q(Ne):e.isClassLike(Ne)?oe(Ne):se(Ne),Qe,Re;return pn===1?(Qe=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[pe,"global"]),Re=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[we,"global"])):pn===0?(Qe=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[pe,"module"]),Re=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[we,"module"])):(Qe=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1),[pe,pn]),Re=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1),[we,pn])),qe===0&&!e.isClassLike(Ne)&&(Re=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_enclosing_scope),[we])),{functionExtraction:{description:Qe,errors:De[qe]},constantExtraction:{description:Re,errors:en[qe]}}});return fe}function k(te,Se){var be=Se.file,Ce=E(te),Be=M(te,be),De=z(te,Ce,Be,be,Se.program.getTypeChecker(),Se.cancellationToken);return{scopes:Ce,readsAndWrites:De}}function b(te){return e.isFunctionLikeDeclaration(te)?"inner function":e.isClassLike(te)?"method":"function"}function ie(te){return e.isClassLike(te)?"readonly field":"constant"}function q(te){switch(te.kind){case 169:return"constructor";case 211:case 254:return te.name?"function '"+te.name.text+"'":e.ANONYMOUS;case 212:return"arrow function";case 167:return"method '"+te.name.getText()+"'";case 170:return"'get "+te.name.getText()+"'";case 171:return"'set "+te.name.getText()+"'";default:throw e.Debug.assertNever(te,"Unexpected scope kind "+te.kind)}}function oe(te){return te.kind===255?te.name?"class '"+te.name.text+"'":"anonymous class declaration":te.name?"class expression '"+te.name.text+"'":"anonymous class expression"}function se(te){return te.kind===260?"namespace '"+te.parent.name.getText()+"'":te.externalModuleIndicator?0:1}var w;(function(te){te[te.Module=0]="Module",te[te.Global=1]="Global"})(w||(w={}));function R(te,Se,be,Ce,Be,De){var en=be.usages,fe=be.typeParameterUsages,Ne=be.substitutions,qe=De.program.getTypeChecker(),pe=e.getEmitScriptTarget(De.program.getCompilerOptions()),we=e.codefix.createImportAdder(De.file,De.program,De.preferences,De.host),pn=Se.getSourceFile(),Qe=e.getUniqueName(e.isClassLike(Se)?"newMethod":"newFunction",pn),Re=e.isInJSFile(Se),He=e.factory.createIdentifier(Qe),Ln,Un=[],fn=[],En;en.forEach(function(Bn,J){var Cn;if(!Re){var Gn=qe.getTypeOfSymbolAtLocation(Bn.symbol,Bn.node);Gn=qe.getBaseTypeOfLiteralType(Gn),Cn=e.codefix.typeToAutoImportableTypeNode(qe,we,Gn,Se,pe,1)}var cn=e.factory.createParameterDeclaration(void 0,void 0,void 0,J,void 0,Cn);Un.push(cn),Bn.usage===2&&(En||(En=[])).push(Bn),fn.push(e.factory.createIdentifier(J))});var i=e.arrayFrom(fe.values()).map(function(Bn){return{type:Bn,declaration:C(Bn)}}),In=i.sort(d),X=In.length===0?void 0:In.map(function(Bn){return Bn.declaration}),rn=X!==void 0?X.map(function(Bn){return e.factory.createTypeReferenceNode(Bn.name,void 0)}):void 0;if(e.isExpression(te)&&!Re){var $n=qe.getContextualType(te);Ln=qe.typeToTypeNode($n,Se,1)}var Vn=g(te,Ce,En,Ne,!!(Be.facts&de.HasReturn)),le=Vn.body,Pe=Vn.returnValueProperty;e.suppressLeadingAndTrailingTrivia(le);var xe;if(e.isClassLike(Se)){var Ze=Re?[]:[e.factory.createModifier(121)];Be.facts&de.InStaticRegion&&Ze.push(e.factory.createModifier(124)),Be.facts&de.IsAsyncFunction&&Ze.push(e.factory.createModifier(130)),xe=e.factory.createMethodDeclaration(void 0,Ze.length?Ze:void 0,Be.facts&de.IsGenerator?e.factory.createToken(41):void 0,He,void 0,X,Un,Ln,le)}else xe=e.factory.createFunctionDeclaration(void 0,Be.facts&de.IsAsyncFunction?[e.factory.createToken(130)]:void 0,Be.facts&de.IsGenerator?e.factory.createToken(41):void 0,He,X,Un,Ln,le);var hn=e.textChanges.ChangeTracker.fromContext(De),Le=(x(Be.range)?e.last(Be.range):Be.range).end,$e=T(Le,Se);$e?hn.insertNodeBefore(De.file,$e,xe,!0):hn.insertNodeAtEndOfScope(De.file,Se,xe),we.writeFixes(hn);var An=[],Ue=G(Se,Be,Qe),gn=e.factory.createCallExpression(Ue,rn,fn);if(Be.facts&de.IsGenerator&&(gn=e.factory.createYieldExpression(e.factory.createToken(41),gn)),Be.facts&de.IsAsyncFunction&&(gn=e.factory.createAwaitExpression(gn)),Oe(te)&&(gn=e.factory.createJsxExpression(void 0,gn)),Ce.length&&!En)if(e.Debug.assert(!Pe,"Expected no returnValueProperty"),e.Debug.assert(!(Be.facts&de.HasReturn),"Expected RangeFacts.HasReturn flag to be unset"),Ce.length===1){var Wn=Ce[0];An.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(e.getSynthesizedDeepClone(Wn.name),void 0,e.getSynthesizedDeepClone(Wn.type),gn)],Wn.parent.flags)))}else{for(var ze=[],Tn=[],On=Ce[0].parent.flags,ur=!1,hr=0,wr=Ce;hr1)return te;be=te,te=te.parent}}function C(te){var Se,be=te.symbol;if(be&&be.declarations)for(var Ce=0,Be=be.declarations;Ce0;if(e.isBlock(te)&&!De&&Ce.size===0)return{body:e.factory.createBlock(te.statements,!0),returnValueProperty:void 0};var en,fe=!1,Ne=e.factory.createNodeArray(e.isBlock(te)?te.statements.slice(0):[e.isStatement(te)?te:e.factory.createReturnStatement(te)]);if(De||Ce.size){var qe=e.visitNodes(Ne,we).slice();if(De&&!Be&&e.isStatement(te)){var pe=P(Se,be);pe.length===1?qe.push(e.factory.createReturnStatement(pe[0].name)):qe.push(e.factory.createReturnStatement(e.factory.createObjectLiteralExpression(pe)))}return{body:e.factory.createBlock(qe,!0),returnValueProperty:en}}else return{body:e.factory.createBlock(Ne,!0),returnValueProperty:void 0};function we(pn){if(!fe&&e.isReturnStatement(pn)&&De){var Qe=P(Se,be);return pn.expression&&(en||(en="__return"),Qe.unshift(e.factory.createPropertyAssignment(en,e.visitNode(pn.expression,we)))),Qe.length===1?e.factory.createReturnStatement(Qe[0].name):e.factory.createReturnStatement(e.factory.createObjectLiteralExpression(Qe))}else{var Re=fe;fe=fe||e.isFunctionLikeDeclaration(pn)||e.isClassLike(pn);var He=Ce.get(e.getNodeId(pn).toString()),Ln=He?e.getSynthesizedDeepClone(He):e.visitEachChild(pn,we,e.nullTransformationContext);return fe=Re,Ln}}}function p(te,Se){return Se.size?be(te):te;function be(Ce){var Be=Se.get(e.getNodeId(Ce).toString());return Be?e.getSynthesizedDeepClone(Be):e.visitEachChild(Ce,be,e.nullTransformationContext)}}function f(te){if(e.isFunctionLikeDeclaration(te)){var Se=te.body;if(e.isBlock(Se))return Se.statements}else{if(e.isModuleBlock(te)||e.isSourceFile(te))return te.statements;if(e.isClassLike(te))return te.members;e.assertType(te)}return e.emptyArray}function T(te,Se){return e.find(f(Se),function(be){return be.pos>=te&&e.isFunctionLikeDeclaration(be)&&!e.isConstructorDeclaration(be)})}function m(te,Se){var be=Se.members;e.Debug.assert(be.length>0,"Found no members");for(var Ce,Be=!0,De=0,en=be;Dete)return Ce||be[0];if(Be&&!e.isPropertyDeclaration(fe)){if(Ce!==void 0)return fe;Be=!1}Ce=fe}return Ce===void 0?e.Debug.fail():Ce}function N(te,Se){e.Debug.assert(!e.isClassLike(Se));for(var be,Ce=te;Ce!==Se;Ce=Ce.parent)Z(Ce)&&(be=Ce);for(var Ce=(be||te).parent;;Ce=Ce.parent){if(Ae(Ce)){for(var Be=void 0,De=0,en=Ce.statements;Dete.pos)break;Be=fe}return!Be&&e.isCaseClause(Ce)?(e.Debug.assert(e.isSwitchStatement(Ce.parent.parent),"Grandparent isn't a switch statement"),Ce.parent.parent):e.Debug.checkDefined(Be,"prevStatement failed to get set")}e.Debug.assert(Ce!==Se,"Didn't encounter a block-like before encountering scope")}}function P(te,Se){var be=e.map(te,function(Be){return e.factory.createShorthandPropertyAssignment(Be.symbol.name)}),Ce=e.map(Se,function(Be){return e.factory.createShorthandPropertyAssignment(Be.symbol.name)});return be===void 0?Ce:Ce===void 0?be:be.concat(Ce)}function x(te){return e.isArray(te)}function M(te,Se){return x(te.range)?{pos:e.first(te.range).getStart(Se),end:e.last(te.range).getEnd()}:te.range}var me;(function(te){te[te.Read=1]="Read",te[te.Write=2]="Write"})(me||(me={}));function z(te,Se,be,Ce,Be,De){var en=new e.Map,fe=[],Ne=[],qe=[],pe=[],we=[],pn=new e.Map,Qe=[],Re,He=x(te.range)?te.range.length===1&&e.isExpressionStatement(te.range[0])?te.range[0].expression:void 0:te.range,Ln;if(He===void 0){var Un=te.range,fn=e.first(Un).getStart(),En=e.last(Un).end;Ln=e.createFileDiagnostic(Ce,fn,En-fn,D.expressionExpected)}else Be.getTypeAtLocation(He).flags&147456&&(Ln=e.createDiagnosticForNode(He,D.uselessConstantType));for(var i=0,In=Se;i0){for(var Ze=new e.Map,hn=0,Le=le;Le!==void 0&&hn0&&(Mn.usages.size>0||Mn.typeParameterUsages.size>0)){var ar=x(te.range)?te.range[0]:te.range;pe[Me].push(e.createDiagnosticForNode(ar,D.cannotAccessVariablesFromNestedScopes))}var Xn=!1,yr;if(fe[Me].usages.forEach(function(Fe){Fe.usage===2&&(Xn=!0,Fe.symbol.flags&106500&&Fe.symbol.valueDeclaration&&e.hasEffectiveModifier(Fe.symbol.valueDeclaration,64)&&(yr=Fe.symbol.valueDeclaration))}),e.Debug.assert(x(te.range)||Qe.length===0,"No variable declarations expected if something was extracted"),Xn&&!x(te.range)){var cr=e.createDiagnosticForNode(te.range,D.cannotWriteInExpression);qe[Me].push(cr),pe[Me].push(cr)}else if(yr&&Me>0){var cr=e.createDiagnosticForNode(yr,D.cannotExtractReadonlyPropertyInitializerOutsideConstructor);qe[Me].push(cr),pe[Me].push(cr)}else if(Re){var cr=e.createDiagnosticForNode(Re,D.cannotExtractExportedEntity);qe[Me].push(cr),pe[Me].push(cr)}},Tn=0;Tn=Mn)return yr;if($n.set(yr,Mn),cr){for(var Fe=0,Bn=fe;Fe=0)){var Mn=e.isIdentifier(Me)?jn(Me):Be.getSymbolAtLocation(Me);if(Mn){var ar=e.find(we,function(yr){return yr.symbol===Mn});if(ar)if(e.isVariableDeclaration(ar)){var Xn=ar.symbol.id.toString();pn.has(Xn)||(Qe.push(ar),pn.set(Xn,!0))}else Re=Re||ar}e.forEachChild(Me,Ke)}}function jn(Me){return Me.parent&&e.isShorthandPropertyAssignment(Me.parent)&&Me.parent.name===Me?Be.getShorthandAssignmentValueSymbol(Me.parent):Be.getSymbolAtLocation(Me)}function Zn(Me,Mn,ar){if(Me){var Xn=Me.getDeclarations();if(Xn&&Xn.some(function(cr){return cr.parent===Mn}))return e.factory.createIdentifier(Me.name);var yr=Zn(Me.parent,Mn,ar);if(yr!==void 0)return ar?e.factory.createQualifiedName(yr,e.factory.createIdentifier(Me.name)):e.factory.createPropertyAccessExpression(yr,Me.name)}}}function K(te){return e.findAncestor(te,function(Se){return Se.parent&&I(Se)&&!e.isBinaryExpression(Se.parent)})}function I(te){var Se=te.parent;switch(Se.kind){case 294:return!1}switch(te.kind){case 10:return Se.kind!==264&&Se.kind!==268;case 223:case 199:case 201:return!1;case 79:return Se.kind!==201&&Se.kind!==268&&Se.kind!==273}return!0}function Ae(te){switch(te.kind){case 233:case 300:case 260:case 287:return!0;default:return!1}}function Oe(te){return(e.isJsxElement(te)||e.isJsxSelfClosingElement(te)||e.isJsxFragment(te))&&(e.isJsxElement(te.parent)||e.isJsxFragment(te.parent))}})($=ue.extractSymbol||(ue.extractSymbol={}))})(o=e.refactor||(e.refactor={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $="Extract type",Y={name:"Extract to type alias",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_type_alias),kind:"refactor.extract.type"},W={name:"Extract to interface",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_interface),kind:"refactor.extract.interface"},re={name:"Extract to typedef",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_typedef),kind:"refactor.extract.typedef"};ue.registerRefactor($,{kinds:[Y.kind,W.kind,re.kind],getAvailableActions:function(V){var Z=ye(V,V.triggerReason==="invoked");return Z?ue.isRefactorErrorInfo(Z)?V.preferences.provideRefactorNotApplicableReason?[{name:$,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_type),actions:[Mt(Mt({},re),{notApplicableReason:Z.error}),Mt(Mt({},Y),{notApplicableReason:Z.error}),Mt(Mt({},W),{notApplicableReason:Z.error})]}]:e.emptyArray:[{name:$,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_type),actions:Z.isJS?[re]:e.append([Y],Z.typeElements&&W)}]:e.emptyArray},getEditsForAction:function(V,Z){var E=V.file,H=ye(V);e.Debug.assert(H&&!ue.isRefactorErrorInfo(H),"Expected to find a range to extract");var L=e.getUniqueName("NewType",E),ee=e.textChanges.ChangeTracker.with(V,function(ie){switch(Z){case Y.name:return e.Debug.assert(!H.isJS,"Invalid actionName/JS combo"),de(ie,E,L,H);case re.name:return e.Debug.assert(H.isJS,"Invalid actionName/JS combo"),y(ie,E,L,H);case W.name:return e.Debug.assert(!H.isJS&&!!H.typeElements,"Invalid actionName/JS combo"),_e(ie,E,L,H);default:e.Debug.fail("Unexpected action name")}}),k=E.fileName,b=e.getRenameLocation(ee,k,L,!1);return{edits:ee,renameFilename:k,renameLocation:b}}});function ye(V,Z){Z===void 0&&(Z=!0);var E=V.file,H=V.startPosition,L=e.isSourceFileJS(E),ee=e.getTokenAtPosition(E,H),k=e.createTextRangeFromSpan(e.getRefactorContextSpan(V)),b=k.pos===k.end&&Z,ie=e.findAncestor(ee,function(R){return R.parent&&e.isTypeNode(R)&&!A(k,R.parent,E)&&(b||e.nodeOverlapsWithStartEnd(ee,E,k.pos,k.end))});if(!ie||!e.isTypeNode(ie))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Selection_is_not_a_valid_type_node)};var q=V.program.getTypeChecker(),oe=e.Debug.checkDefined(e.findAncestor(ie,e.isStatement),"Should find a statement"),se=D(q,ie,oe,E);if(!se)return{error:e.getLocaleSpecificMessage(e.Diagnostics.No_type_could_be_extracted_from_this_type_node)};var w=O(q,ie);return{isJS:L,selection:ie,firstStatement:oe,typeParameters:se,typeElements:w}}function O(V,Z){if(Z)if(e.isIntersectionTypeNode(Z)){for(var E=[],H=new e.Map,L=0,ee=Z.types;Lqe.pos});if(we!==-1){var pn=pe[we];if(e.isNamedDeclaration(pn)&&pn.name&&e.rangeContainsRange(pn.name,qe))return{toMove:[pe[we]],afterLast:pe[we+1]};if(!(qe.pos>pn.getStart(Ne))){var Qe=e.findIndex(pe,function(Re){return Re.end>qe.end},we);if(!(Qe!==-1&&(Qe===0||pe[Qe].getStart(Ne)=re&&e.every(m,function(P){return w(P,N)})}function w(m,N){if(e.isRestParameter(m)){var P=N.getTypeAtLocation(m);if(!N.isArrayType(P)&&!N.isTupleType(P))return!1}return!m.modifiers&&!m.decorators&&e.isIdentifier(m.name)}function R(m){return e.isVariableDeclaration(m)&&e.isVarConst(m)&&e.isIdentifier(m.name)&&!m.type}function ne(m){return m.length>0&&e.isThis(m[0].name)}function U(m){return ne(m)?m.length-1:m.length}function C(m){return ne(m)&&(m=e.factory.createNodeArray(m.slice(1),m.hasTrailingComma)),m}function d(m,N){return e.isIdentifier(N)&&e.getTextOfIdentifierOrLiteral(N)===m?e.factory.createShorthandPropertyAssignment(m):e.factory.createPropertyAssignment(m,N)}function G(m,N){var P=C(m.parameters),x=e.isRestParameter(e.last(P)),M=x?N.slice(0,P.length-1):N,me=e.map(M,function(Ae,Oe){var te=p(P[Oe]),Se=d(te,Ae);return e.suppressLeadingAndTrailingTrivia(Se.name),e.isPropertyAssignment(Se)&&e.suppressLeadingAndTrailingTrivia(Se.initializer),e.copyComments(Ae,Se),Se});if(x&&N.length>=P.length){var z=N.slice(P.length-1),K=e.factory.createPropertyAssignment(p(e.last(P)),e.factory.createArrayLiteralExpression(z));me.push(K)}var I=e.factory.createObjectLiteralExpression(me,!1);return I}function g(m,N,P){var x=N.getTypeChecker(),M=C(m.parameters),me=e.map(M,Se),z=e.factory.createObjectBindingPattern(me),K=be(M),I;e.every(M,De)&&(I=e.factory.createObjectLiteralExpression());var Ae=e.factory.createParameterDeclaration(void 0,void 0,void 0,z,void 0,K,I);if(ne(m.parameters)){var Oe=m.parameters[0],te=e.factory.createParameterDeclaration(void 0,void 0,void 0,Oe.name,void 0,Oe.type);return e.suppressLeadingAndTrailingTrivia(te.name),e.copyComments(Oe.name,te.name),Oe.type&&(e.suppressLeadingAndTrailingTrivia(te.type),e.copyComments(Oe.type,te.type)),e.factory.createNodeArray([te,Ae])}return e.factory.createNodeArray([Ae]);function Se(en){var fe=e.factory.createBindingElement(void 0,void 0,p(en),e.isRestParameter(en)&&De(en)?e.factory.createArrayLiteralExpression():en.initializer);return e.suppressLeadingAndTrailingTrivia(fe),en.initializer&&fe.initializer&&e.copyComments(en.initializer,fe.initializer),fe}function be(en){var fe=e.map(en,Ce),Ne=e.addEmitFlags(e.factory.createTypeLiteralNode(fe),1);return Ne}function Ce(en){var fe=en.type;!fe&&(en.initializer||e.isRestParameter(en))&&(fe=Be(en));var Ne=e.factory.createPropertySignature(void 0,p(en),De(en)?e.factory.createToken(57):en.questionToken,fe);return e.suppressLeadingAndTrailingTrivia(Ne),e.copyComments(en.name,Ne.name),en.type&&Ne.type&&e.copyComments(en.type,Ne.type),Ne}function Be(en){var fe=x.getTypeAtLocation(en);return e.getTypeNodeIfAccessible(fe,en,N,P)}function De(en){if(e.isRestParameter(en)){var fe=x.getTypeAtLocation(en);return!x.isTupleType(fe)}return x.isOptionalParameter(en)}}function p(m){return e.getTextOfIdentifierOrLiteral(m.name)}function f(m){switch(m.parent.kind){case 255:var N=m.parent;if(N.name)return[N.name];var P=e.Debug.checkDefined(e.findModifier(N,88),"Nameless class declaration should be a default export");return[P];case 224:var x=m.parent,M=m.parent.parent,me=x.name;return me?[me,M.name]:[M.name]}}function T(m){switch(m.kind){case 254:if(m.name)return[m.name];var N=e.Debug.checkDefined(e.findModifier(m,88),"Nameless function declaration should be a default export");return[N];case 167:return[m.name];case 169:var P=e.Debug.checkDefined(e.findChildOfKind(m,133,m.getSourceFile()),"Constructor declaration should have constructor keyword");if(m.parent.kind===224){var x=m.parent.parent;return[x.name,P]}return[P];case 212:return[m.parent.name];case 211:return m.name?[m.name,m.parent.name]:[m.parent.name];default:return e.Debug.assertNever(m,"Unexpected function declaration kind "+m.kind)}}})($=ue.convertParamsToDestructuredObject||(ue.convertParamsToDestructuredObject={}))})(o=e.refactor||(e.refactor={}))})(vn||(vn={}));var vn;(function(e){var o;(function(ue){var $;(function(Y){var W="Convert to template string",re=e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_template_string),ye={name:W,description:re,kind:"refactor.rewrite.string"};ue.registerRefactor(W,{kinds:[ye.kind],getEditsForAction:D,getAvailableActions:O});function O(q){var oe=q.file,se=q.startPosition,w=A(oe,se),R=y(w),ne={name:W,description:re,actions:[]};return e.isBinaryExpression(R)&&V(R).isValidConcatenation?(ne.actions.push(ye),[ne]):q.preferences.provideRefactorNotApplicableReason?(ne.actions.push(Mt(Mt({},ye),{notApplicableReason:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_string_concatenation)})),[ne]):e.emptyArray}function A(q,oe){var se=e.getTokenAtPosition(q,oe),w=y(se),R=!V(w).isValidConcatenation;return R&&e.isParenthesizedExpression(w.parent)&&e.isBinaryExpression(w.parent.parent)?w.parent.parent:se}function D(q,oe){var se=q.file,w=q.startPosition,R=A(se,w);switch(oe){case re:return{edits:de(q,R)};default:return e.Debug.fail("invalid action")}}function de(q,oe){var se=y(oe),w=q.file,R=k(V(se),w),ne=e.getTrailingCommentRanges(w.text,se.end);if(ne){var U=ne[ne.length-1],C={pos:ne[0].pos,end:U.end};return e.textChanges.ChangeTracker.with(q,function(d){d.deleteRange(w,C),d.replaceNode(w,se,R)})}else return e.textChanges.ChangeTracker.with(q,function(d){return d.replaceNode(w,se,R)})}function _e(q){return q.operatorToken.kind!==63}function y(q){var oe=e.findAncestor(q.parent,function(se){switch(se.kind){case 204:case 205:return!1;case 221:case 219:return!(e.isBinaryExpression(se.parent)&&_e(se.parent));default:return"quit"}});return oe||q}function V(q){var oe=function(C){if(!e.isBinaryExpression(C))return{nodes:[C],operators:[],validOperators:!0,hasString:e.isStringLiteral(C)||e.isNoSubstitutionTemplateLiteral(C)};var d=oe(C.left),G=d.nodes,g=d.operators,p=d.hasString,f=d.validOperators;if(!(p||e.isStringLiteral(C.right)||e.isTemplateExpression(C.right)))return{nodes:[C],operators:[],hasString:!1,validOperators:!0};var T=C.operatorToken.kind===39,m=f&&T;return G.push(C.right),g.push(C.operatorToken),{nodes:G,operators:g,hasString:!0,validOperators:m}},se=oe(q),w=se.nodes,R=se.operators,ne=se.validOperators,U=se.hasString;return{nodes:w,operators:R,isValidConcatenation:ne&&U}}var Z=function(q,oe){return function(se,w){se0;){var ne=w.shift();e.copyTrailingComments(q[ne],R,oe,3,!1),se(ne,R)}}};function H(q){return q.replace(/\\.|[$`]/g,function(oe){return oe[0]==="\\"?oe:"\\"+oe})}function L(q){var oe=e.isTemplateHead(q)||e.isTemplateMiddle(q)?-2:-1;return e.getTextOfNode(q).slice(1,oe)}function ee(q,oe){for(var se=[],w="",R="";q1)return V.getUnionType(e.mapDefined(E,function(L){return L.getReturnType()}))}var H=V.getSignatureFromDeclaration(Z);if(H)return V.getReturnTypeOfSignature(H)}})($=ue.inferFunctionReturnType||(ue.inferFunctionReturnType={}))})(o=e.refactor||(e.refactor={}))})(vn||(vn={}));var vn;(function(e){e.servicesVersion="0.8";function o(I,Ae,Oe,te){var Se=e.isNodeKind(I)?new ue(I,Ae,Oe):I===79?new A(79,Ae,Oe):I===80?new D(80,Ae,Oe):new O(I,Ae,Oe);return Se.parent=te,Se.flags=te.flags&25358336,Se}var ue=function(){function I(Ae,Oe,te){this.pos=Oe,this.end=te,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.kind=Ae}return I.prototype.assertHasRealPosition=function(Ae){e.Debug.assert(!e.positionIsSynthesized(this.pos)&&!e.positionIsSynthesized(this.end),Ae||"Node must have a real position for this operation")},I.prototype.getSourceFile=function(){return e.getSourceFileOfNode(this)},I.prototype.getStart=function(Ae,Oe){return this.assertHasRealPosition(),e.getTokenPosOfNode(this,Ae,Oe)},I.prototype.getFullStart=function(){return this.assertHasRealPosition(),this.pos},I.prototype.getEnd=function(){return this.assertHasRealPosition(),this.end},I.prototype.getWidth=function(Ae){return this.assertHasRealPosition(),this.getEnd()-this.getStart(Ae)},I.prototype.getFullWidth=function(){return this.assertHasRealPosition(),this.end-this.pos},I.prototype.getLeadingTriviaWidth=function(Ae){return this.assertHasRealPosition(),this.getStart(Ae)-this.pos},I.prototype.getFullText=function(Ae){return this.assertHasRealPosition(),(Ae||this.getSourceFile()).text.substring(this.pos,this.end)},I.prototype.getText=function(Ae){return this.assertHasRealPosition(),Ae||(Ae=this.getSourceFile()),Ae.text.substring(this.getStart(Ae),this.getEnd())},I.prototype.getChildCount=function(Ae){return this.getChildren(Ae).length},I.prototype.getChildAt=function(Ae,Oe){return this.getChildren(Oe)[Ae]},I.prototype.getChildren=function(Ae){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=$(this,Ae))},I.prototype.getFirstToken=function(Ae){this.assertHasRealPosition();var Oe=this.getChildren(Ae);if(Oe.length){var te=e.find(Oe,function(Se){return Se.kind<304||Se.kind>342});return te.kind<159?te:te.getFirstToken(Ae)}},I.prototype.getLastToken=function(Ae){this.assertHasRealPosition();var Oe=this.getChildren(Ae),te=e.lastOrUndefined(Oe);if(te)return te.kind<159?te:te.getLastToken(Ae)},I.prototype.forEachChild=function(Ae,Oe){return e.forEachChild(this,Ae,Oe)},I}();function $(I,Ae){if(!e.isNodeKind(I.kind))return e.emptyArray;var Oe=[];if(e.isJSDocCommentContainingNode(I))return I.forEachChild(function(Ce){Oe.push(Ce)}),Oe;e.scanner.setText((Ae||I.getSourceFile()).text);var te=I.pos,Se=function(Ce){Y(Oe,te,Ce.pos,I),Oe.push(Ce),te=Ce.end},be=function(Ce){Y(Oe,te,Ce.pos,I),Oe.push(W(Ce,I)),te=Ce.end};return e.forEach(I.jsDoc,Se),te=I.pos,I.forEachChild(Se,be),Y(Oe,te,I.end,I),e.scanner.setText(void 0),Oe}function Y(I,Ae,Oe,te){for(e.scanner.setTextPos(Ae);Ae=Se.length&&(be=this.getEnd()),be||(be=Se[te+1]-1);var Ce=this.getFullText();return Ce[be]===` `&&Ce[be-1]==="\r"?be-1:be},Ae.prototype.getNamedDeclarations=function(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations},Ae.prototype.computeNamedDeclarations=function(){var Oe=e.createMultiMap();return this.forEachChild(Ce),Oe;function te(Be){var De=be(Be);De&&Oe.add(De,Be)}function Se(Be){var De=Oe.get(Be);return De||Oe.set(Be,De=[]),De}function be(Be){var De=e.getNonAssignedNameOfDeclaration(Be);return De&&(e.isComputedPropertyName(De)&&e.isPropertyAccessExpression(De.expression)?De.expression.name.text:e.isPropertyName(De)?e.getNameFromPropertyName(De):void 0)}function Ce(Be){switch(Be.kind){case 254:case 211:case 167:case 166:var De=Be,en=be(De);if(en){var fe=Se(en),Ne=e.lastOrUndefined(fe);Ne&&De.parent===Ne.parent&&De.symbol===Ne.symbol?De.body&&!Ne.body&&(fe[fe.length-1]=De):fe.push(De)}e.forEachChild(Be,Ce);break;case 255:case 224:case 256:case 257:case 258:case 259:case 263:case 273:case 268:case 265:case 266:case 170:case 171:case 180:te(Be),e.forEachChild(Be,Ce);break;case 162:if(!e.hasSyntacticModifier(Be,16476))break;case 252:case 201:{var qe=Be;if(e.isBindingPattern(qe.name)){e.forEachChild(qe.name,Ce);break}qe.initializer&&Ce(qe.initializer)}case 294:case 165:case 164:te(Be);break;case 270:var pe=Be;pe.exportClause&&(e.isNamedExports(pe.exportClause)?e.forEach(pe.exportClause.elements,Ce):Ce(pe.exportClause.name));break;case 264:var we=Be.importClause;we&&(we.name&&te(we.name),we.namedBindings&&(we.namedBindings.kind===266?te(we.namedBindings):e.forEach(we.namedBindings.elements,Ce)));break;case 219:e.getAssignmentDeclarationKind(Be)!==0&&te(Be);default:e.forEachChild(Be,Ce)}}},Ae}(ue),L=function(){function I(Ae,Oe,te){this.fileName=Ae,this.text=Oe,this.skipTrivia=te}return I.prototype.getLineAndCharacterOfPosition=function(Ae){return e.getLineAndCharacterOfPosition(this,Ae)},I}();function ee(){return{getNodeConstructor:function(){return ue},getTokenConstructor:function(){return O},getIdentifierConstructor:function(){return A},getPrivateIdentifierConstructor:function(){return D},getSourceFileConstructor:function(){return H},getSymbolConstructor:function(){return ye},getTypeConstructor:function(){return de},getSignatureConstructor:function(){return _e},getSourceMapSourceConstructor:function(){return L}}}function k(I){var Ae=!0;for(var Oe in I)if(e.hasProperty(I,Oe)&&!b(Oe)){Ae=!1;break}if(Ae)return I;var te={};for(var Oe in I)if(e.hasProperty(I,Oe)){var Se=b(Oe)?Oe:Oe.charAt(0).toLowerCase()+Oe.substr(1);te[Se]=I[Oe]}return te}e.toEditorSettings=k;function b(I){return!I.length||I.charAt(0)===I.charAt(0).toLowerCase()}function ie(I){return I?e.map(I,function(Ae){return Ae.text}).join(""):""}e.displayPartsToString=ie;function q(){return{target:1,jsx:1}}e.getDefaultCompilerOptions=q;function oe(){return e.codefix.getSupportedErrorCodes()}e.getSupportedCodeFixes=oe;var se=function(){function I(Ae,Oe){this.host=Ae,this.currentDirectory=Ae.getCurrentDirectory(),this.fileNameToEntry=new e.Map;for(var te=Ae.getScriptFileNames(),Se=0,be=te;Se=this.throttleWaitMilliseconds?(this.lastCancellationCheckTime=Ae,this.hostCancellationToken.isCancellationRequested()):!1},I.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw e.tracing===null||e.tracing===void 0||e.tracing.instant("session","cancellationThrown",{kind:"ThrottledCancellationToken"}),new e.OperationCanceledException},I}();e.ThrottledCancellationToken=G;var g=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints"],p=Vr(Vr([],g,!0),["getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getOccurrencesAtPosition","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"],!1);function f(I,Ae,Oe){var te;Ae===void 0&&(Ae=e.createDocumentRegistry(I.useCaseSensitiveFileNames&&I.useCaseSensitiveFileNames(),I.getCurrentDirectory()));var Se;Oe===void 0?Se=e.LanguageServiceMode.Semantic:typeof Oe=="boolean"?Se=Oe?e.LanguageServiceMode.Syntactic:e.LanguageServiceMode.Semantic:Se=Oe;var be=new w(I),Ce,Be,De=0,en=I.getCancellationToken?new d(I.getCancellationToken()):C,fe=I.getCurrentDirectory();!e.localizedDiagnosticMessages&&I.getLocalizedDiagnosticMessages&&e.setLocalizedDiagnosticMessages(I.getLocalizedDiagnosticMessages());function Ne(Rr){I.log&&I.log(Rr)}var qe=e.hostUsesCaseSensitiveFileNames(I),pe=e.createGetCanonicalFileName(qe),we=e.getSourceMapper({useCaseSensitiveFileNames:function(){return qe},getCurrentDirectory:function(){return fe},getProgram:Re,fileExists:e.maybeBind(I,I.fileExists),readFile:e.maybeBind(I,I.readFile),getDocumentPositionMapper:e.maybeBind(I,I.getDocumentPositionMapper),getSourceFileLike:e.maybeBind(I,I.getSourceFileLike),log:Ne});function pn(Rr){var Lr=Ce.getSourceFile(Rr);if(!Lr){var Xr=new Error("Could not find source file: '"+Rr+"'.");throw Xr.ProgramFiles=Ce.getSourceFiles().map(function(nt){return nt.fileName}),Xr}return Lr}function Qe(){var Rr,Lr,Xr;if(e.Debug.assert(Se!==e.LanguageServiceMode.Syntactic),I.getProjectVersion){var nt=I.getProjectVersion();if(nt){if(Be===nt&&!(!((Rr=I.hasChangedAutomaticTypeDirectiveNames)===null||Rr===void 0)&&Rr.call(I)))return;Be=nt}}var vt=I.getTypeRootsVersion?I.getTypeRootsVersion():0;De!==vt&&(Ne("TypeRoots version has changed; provide new program"),Ce=void 0,De=vt);var or=new se(I,pe),$t=or.getRootFileNames(),Va=I.getCompilationSettings()||q(),li=I.hasInvalidatedResolution||e.returnFalse,zi=e.maybeBind(I,I.hasChangedAutomaticTypeDirectiveNames),Ma=(Lr=I.getProjectReferences)===null||Lr===void 0?void 0:Lr.call(I),di,Yi={useCaseSensitiveFileNames:qe,fileExists:Ho,readFile:qi,readDirectory:Qi,trace:e.maybeBind(I,I.trace),getCurrentDirectory:function(){return fe},onUnRecoverableConfigFileDiagnostic:e.noop};if(e.isProgramUptoDate(Ce,$t,Va,function($a,Ni){return I.getScriptVersion(Ni)},Ho,li,zi,Go,Ma))return;var uo={getSourceFile:gs,getSourceFileByPath:Da,getCancellationToken:function(){return en},getCanonicalFileName:pe,useCaseSensitiveFileNames:function(){return qe},getNewLine:function(){return e.getNewLineCharacter(Va,function(){return e.getNewLineOrDefaultFromHost(I)})},getDefaultLibFileName:function($a){return I.getDefaultLibFileName($a)},writeFile:e.noop,getCurrentDirectory:function(){return fe},fileExists:Ho,readFile:qi,getSymlinkCache:e.maybeBind(I,I.getSymlinkCache),realpath:e.maybeBind(I,I.realpath),directoryExists:function($a){return e.directoryProbablyExists($a,I)},getDirectories:function($a){return I.getDirectories?I.getDirectories($a):[]},readDirectory:Qi,onReleaseOldSourceFile:as,onReleaseParsedCommandLine:wi,hasInvalidatedResolution:li,hasChangedAutomaticTypeDirectiveNames:zi,trace:Yi.trace,resolveModuleNames:e.maybeBind(I,I.resolveModuleNames),resolveTypeReferenceDirectives:e.maybeBind(I,I.resolveTypeReferenceDirectives),useSourceOfProjectReferenceRedirect:e.maybeBind(I,I.useSourceOfProjectReferenceRedirect),getParsedCommandLine:Go};(Xr=I.setCompilerHost)===null||Xr===void 0||Xr.call(I,uo);var bi=Ae.getKeyForCompilationSettings(Va),Mi={rootNames:$t,options:Va,host:uo,oldProgram:Ce,projectReferences:Ma};Ce=e.createProgram(Mi),or=void 0,di=void 0,we.clearCache(),Ce.getTypeChecker();return;function Go($a){var Ni=e.toPath($a,fe,pe),vo=di==null?void 0:di.get(Ni);if(vo!==void 0)return vo||void 0;var Io=I.getParsedCommandLine?I.getParsedCommandLine($a):io($a);return(di||(di=new e.Map)).set(Ni,Io||!1),Io}function io($a){var Ni=gs($a,100);if(Ni)return Ni.path=e.toPath($a,fe,pe),Ni.resolvedPath=Ni.path,Ni.originalFileName=Ni.fileName,e.parseJsonSourceFileConfigFileContent(Ni,Yi,e.getNormalizedAbsolutePath(e.getDirectoryPath($a),fe),void 0,e.getNormalizedAbsolutePath($a,fe))}function wi($a,Ni,vo){var Io;I.getParsedCommandLine?(Io=I.onReleaseParsedCommandLine)===null||Io===void 0||Io.call(I,$a,Ni,vo):Ni&&as(Ni.sourceFile,vo)}function Ho($a){var Ni=e.toPath($a,fe,pe),vo=or&&or.getEntryByPath(Ni);return vo?!e.isString(vo):!!I.fileExists&&I.fileExists($a)}function qi($a){var Ni=e.toPath($a,fe,pe),vo=or&&or.getEntryByPath(Ni);return vo?e.isString(vo)?void 0:e.getSnapshotText(vo.scriptSnapshot):I.readFile&&I.readFile($a)}function Qi($a,Ni,vo,Io,Bo){return e.Debug.checkDefined(I.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'"),I.readDirectory($a,Ni,vo,Io,Bo)}function as($a,Ni){var vo=Ae.getKeyForCompilationSettings(Ni);Ae.releaseDocumentWithKey($a.resolvedPath,vo,$a.scriptKind)}function gs($a,Ni,vo,Io){return Da($a,e.toPath($a,fe,pe),Ni,vo,Io)}function Da($a,Ni,vo,Io,Bo){e.Debug.assert(or!==void 0,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");var Uo=or&&or.getOrCreateEntryByPath($a,Ni);if(Uo){if(!Bo){var cs=Ce&&Ce.getSourceFileByPath(Ni);if(cs){if(Uo.scriptKind===cs.scriptKind)return Ae.updateDocumentWithKey($a,Ni,Va,bi,Uo.scriptSnapshot,Uo.version,Uo.scriptKind);Ae.releaseDocumentWithKey(cs.resolvedPath,Ae.getKeyForCompilationSettings(Ce.getCompilerOptions()),cs.scriptKind)}}return Ae.acquireDocumentWithKey($a,Ni,Va,bi,Uo.scriptSnapshot,Uo.version,Uo.scriptKind)}}}function Re(){if(Se===e.LanguageServiceMode.Syntactic){e.Debug.assert(Ce===void 0);return}return Qe(),Ce}function He(){var Rr;return(Rr=I.getPackageJsonAutoImportProvider)===null||Rr===void 0?void 0:Rr.call(I)}function Ln(){Ce=void 0}function Un(){if(Ce){var Rr=Ae.getKeyForCompilationSettings(Ce.getCompilerOptions());e.forEach(Ce.getSourceFiles(),function(Lr){return Ae.releaseDocumentWithKey(Lr.resolvedPath,Rr,Lr.scriptKind)}),Ce=void 0}I=void 0}function fn(Rr){return Qe(),Ce.getSyntacticDiagnostics(pn(Rr),en).slice()}function En(Rr){Qe();var Lr=pn(Rr),Xr=Ce.getSemanticDiagnostics(Lr,en);if(!e.getEmitDeclarations(Ce.getCompilerOptions()))return Xr.slice();var nt=Ce.getDeclarationDiagnostics(Lr,en);return Vr(Vr([],Xr,!0),nt,!0)}function i(Rr){return Qe(),e.computeSuggestionDiagnostics(pn(Rr),Ce,en)}function In(){return Qe(),Vr(Vr([],Ce.getOptionsDiagnostics(en),!0),Ce.getGlobalDiagnostics(en),!0)}function X(Rr,Lr,Xr){Xr===void 0&&(Xr=e.emptyOptions);var nt=Mt(Mt({},e.identity(Xr)),{includeCompletionsForModuleExports:Xr.includeCompletionsForModuleExports||Xr.includeExternalModuleExports,includeCompletionsWithInsertText:Xr.includeCompletionsWithInsertText||Xr.includeInsertTextCompletions});return Qe(),e.Completions.getCompletionsAtPosition(I,Ce,Ne,pn(Rr),Lr,nt,Xr.triggerCharacter,Xr.triggerKind,en)}function rn(Rr,Lr,Xr,nt,vt,or,$t){return or===void 0&&(or=e.emptyOptions),Qe(),e.Completions.getCompletionEntryDetails(Ce,Ne,pn(Rr),Lr,{name:Xr,source:vt,data:$t},I,nt&&e.formatting.getFormatContext(nt,I),or,en)}function $n(Rr,Lr,Xr,nt,vt){return vt===void 0&&(vt=e.emptyOptions),Qe(),e.Completions.getCompletionEntrySymbol(Ce,Ne,pn(Rr),Lr,{name:Xr,source:nt},I,vt)}function Vn(Rr,Lr){Qe();var Xr=pn(Rr),nt=e.getTouchingPropertyName(Xr,Lr);if(nt!==Xr){var vt=Ce.getTypeChecker(),or=le(nt),$t=M(or,vt);if(!$t||vt.isUnknownSymbol($t)){var Va=Pe(Xr,or,Lr)?vt.getTypeAtLocation(or):void 0;return Va&&{kind:"",kindModifiers:"",textSpan:e.createTextSpanFromNode(or,Xr),displayParts:vt.runWithCancellationToken(en,function(uo){return e.typeToDisplayParts(uo,Va,e.getContainerNode(or))}),documentation:Va.symbol?Va.symbol.getDocumentationComment(vt):void 0,tags:Va.symbol?Va.symbol.getJsDocTags(vt):void 0}}var li=vt.runWithCancellationToken(en,function(uo){return e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(uo,$t,Xr,e.getContainerNode(or),or)}),zi=li.symbolKind,Ma=li.displayParts,di=li.documentation,Yi=li.tags;return{kind:zi,kindModifiers:e.SymbolDisplay.getSymbolModifiers(vt,$t),textSpan:e.createTextSpanFromNode(or,Xr),displayParts:Ma,documentation:di,tags:Yi}}}function le(Rr){return e.isNewExpression(Rr.parent)&&Rr.pos===Rr.parent.pos?Rr.parent.expression:e.isNamedTupleMember(Rr.parent)&&Rr.pos===Rr.parent.pos?Rr.parent:Rr}function Pe(Rr,Lr,Xr){switch(Lr.kind){case 79:return!e.isLabelName(Lr)&&!e.isTagName(Lr)&&!e.isConstTypeReference(Lr.parent);case 204:case 159:return!e.isInComment(Rr,Xr);case 108:case 190:case 106:case 195:return!0;default:return!1}}function xe(Rr,Lr){return Qe(),e.GoToDefinition.getDefinitionAtPosition(Ce,pn(Rr),Lr)}function Ze(Rr,Lr){return Qe(),e.GoToDefinition.getDefinitionAndBoundSpan(Ce,pn(Rr),Lr)}function hn(Rr,Lr){return Qe(),e.GoToDefinition.getTypeDefinitionAtPosition(Ce.getTypeChecker(),pn(Rr),Lr)}function Le(Rr,Lr){return Qe(),e.FindAllReferences.getImplementationsAtPosition(Ce,en,Ce.getSourceFiles(),pn(Rr),Lr)}function $e(Rr,Lr){return e.flatMap(An(Rr,Lr,[Rr]),function(Xr){return Xr.highlightSpans.map(function(nt){return Mt(Mt({fileName:Xr.fileName,textSpan:nt.textSpan,isWriteAccess:nt.kind==="writtenReference",isDefinition:!1},nt.isInString&&{isInString:!0}),nt.contextSpan&&{contextSpan:nt.contextSpan})})})}function An(Rr,Lr,Xr){var nt=e.normalizePath(Rr);e.Debug.assert(Xr.some(function($t){return e.normalizePath($t)===nt})),Qe();var vt=e.mapDefined(Xr,function($t){return Ce.getSourceFile($t)}),or=pn(Rr);return e.DocumentHighlights.getDocumentHighlights(Ce,en,or,Lr,vt)}function Ue(Rr,Lr,Xr,nt,vt){Qe();var or=pn(Rr),$t=e.getAdjustedRenameLocation(e.getTouchingPropertyName(or,Lr));if(e.isIdentifier($t)&&(e.isJsxOpeningElement($t.parent)||e.isJsxClosingElement($t.parent))&&e.isIntrinsicJsxName($t.escapedText)){var Va=$t.parent.parent,li=Va.openingElement,zi=Va.closingElement;return[li,zi].map(function(Ma){var di=e.createTextSpanFromNode(Ma.tagName,or);return Mt({fileName:or.fileName,textSpan:di},e.FindAllReferences.toContextSpan(di,or,Ma.parent))})}else return Wn($t,Lr,{findInStrings:Xr,findInComments:nt,providePrefixAndSuffixTextForRename:vt,use:2},function(Ma,di,Yi){return e.FindAllReferences.toRenameLocation(Ma,di,Yi,vt||!1)})}function gn(Rr,Lr){return Qe(),Wn(e.getTouchingPropertyName(pn(Rr),Lr),Lr,{use:1},e.FindAllReferences.toReferenceEntry)}function Wn(Rr,Lr,Xr,nt){Qe();var vt=Xr&&Xr.use===2?Ce.getSourceFiles().filter(function(or){return!Ce.isSourceFileDefaultLibrary(or)}):Ce.getSourceFiles();return e.FindAllReferences.findReferenceOrRenameEntries(Ce,en,vt,Rr,Lr,Xr,nt)}function ze(Rr,Lr){return Qe(),e.FindAllReferences.findReferencedSymbols(Ce,en,Ce.getSourceFiles(),pn(Rr),Lr)}function Tn(Rr){return Qe(),e.FindAllReferences.Core.getReferencesForFileName(Rr,Ce,Ce.getSourceFiles()).map(e.FindAllReferences.toReferenceEntry)}function On(Rr,Lr,Xr,nt){nt===void 0&&(nt=!1),Qe();var vt=Xr?[pn(Xr)]:Ce.getSourceFiles();return e.NavigateTo.getNavigateToItems(vt,Ce.getTypeChecker(),en,Rr,Lr,nt)}function ur(Rr,Lr,Xr){Qe();var nt=pn(Rr),vt=I.getCustomTransformers&&I.getCustomTransformers();return e.getFileEmitOutput(Ce,nt,!!Lr,en,vt,Xr)}function hr(Rr,Lr,Xr){var nt=Xr===void 0?e.emptyOptions:Xr,vt=nt.triggerReason;Qe();var or=pn(Rr);return e.SignatureHelp.getSignatureHelpItems(Ce,or,Lr,vt,en)}function wr(Rr){return be.getCurrentSourceFile(Rr)}function Qr(Rr,Lr,Xr){var nt=be.getCurrentSourceFile(Rr),vt=e.getTouchingPropertyName(nt,Lr);if(vt!==nt){switch(vt.kind){case 204:case 159:case 10:case 95:case 110:case 104:case 106:case 108:case 190:case 79:break;default:return}for(var or=vt;;)if(e.isRightSideOfPropertyAccess(or)||e.isRightSideOfQualifiedName(or))or=or.parent;else if(e.isNameOfModuleDeclaration(or))if(or.parent.parent.kind===259&&or.parent.parent.body===or.parent)or=or.parent.parent.name;else break;else break;return e.createTextSpanFromBounds(or.getStart(),vt.getEnd())}}function Ke(Rr,Lr){var Xr=be.getCurrentSourceFile(Rr);return e.BreakpointResolver.spanInSourceFileAtLocation(Xr,Lr)}function jn(Rr){return e.NavigationBar.getNavigationBarItems(be.getCurrentSourceFile(Rr),en)}function Zn(Rr){return e.NavigationBar.getNavigationTree(be.getCurrentSourceFile(Rr),en)}function Me(Rr,Lr,Xr){Qe();var nt=Xr||"original";return nt==="2020"?e.classifier.v2020.getSemanticClassifications(Ce,en,pn(Rr),Lr):e.getSemanticClassifications(Ce.getTypeChecker(),en,pn(Rr),Ce.getClassifiableNames(),Lr)}function Mn(Rr,Lr,Xr){Qe();var nt=Xr||"original";return nt==="original"?e.getEncodedSemanticClassifications(Ce.getTypeChecker(),en,pn(Rr),Ce.getClassifiableNames(),Lr):e.classifier.v2020.getEncodedSemanticClassifications(Ce,en,pn(Rr),Lr)}function ar(Rr,Lr){return e.getSyntacticClassifications(en,be.getCurrentSourceFile(Rr),Lr)}function Xn(Rr,Lr){return e.getEncodedSyntacticClassifications(en,be.getCurrentSourceFile(Rr),Lr)}function yr(Rr){var Lr=be.getCurrentSourceFile(Rr);return e.OutliningElementsCollector.collectElements(Lr,en)}var cr=new e.Map(e.getEntries((te={},te[18]=19,te[20]=21,te[22]=23,te[31]=29,te)));cr.forEach(function(Rr,Lr){return cr.set(Rr.toString(),Number(Lr))});function Fe(Rr,Lr){var Xr=be.getCurrentSourceFile(Rr),nt=e.getTouchingToken(Xr,Lr),vt=nt.getStart(Xr)===Lr?cr.get(nt.kind.toString()):void 0,or=vt&&e.findChildOfKind(nt.parent,vt,Xr);return or?[e.createTextSpanFromNode(nt,Xr),e.createTextSpanFromNode(or,Xr)].sort(function($t,Va){return $t.start-Va.start}):e.emptyArray}function Bn(Rr,Lr,Xr){var nt=e.timestamp(),vt=k(Xr),or=be.getCurrentSourceFile(Rr);Ne("getIndentationAtPosition: getCurrentSourceFile: "+(e.timestamp()-nt)),nt=e.timestamp();var $t=e.formatting.SmartIndenter.getIndentation(Lr,or,vt);return Ne("getIndentationAtPosition: computeIndentation : "+(e.timestamp()-nt)),$t}function J(Rr,Lr,Xr,nt){var vt=be.getCurrentSourceFile(Rr);return e.formatting.formatSelection(Lr,Xr,vt,e.formatting.getFormatContext(k(nt),I))}function Cn(Rr,Lr){return e.formatting.formatDocument(be.getCurrentSourceFile(Rr),e.formatting.getFormatContext(k(Lr),I))}function Gn(Rr,Lr,Xr,nt){var vt=be.getCurrentSourceFile(Rr),or=e.formatting.getFormatContext(k(nt),I);if(!e.isInComment(vt,Lr))switch(Xr){case"{":return e.formatting.formatOnOpeningCurly(Lr,vt,or);case"}":return e.formatting.formatOnClosingCurly(Lr,vt,or);case";":return e.formatting.formatOnSemicolon(Lr,vt,or);case` `:return e.formatting.formatOnEnter(Lr,vt,or)}return[]}function cn(Rr,Lr,Xr,nt,vt,or){or===void 0&&(or=e.emptyOptions),Qe();var $t=pn(Rr),Va=e.createTextSpanFromBounds(Lr,Xr),li=e.formatting.getFormatContext(vt,I);return e.flatMap(e.deduplicate(nt,e.equateValues,e.compareValues),function(zi){return en.throwIfCancellationRequested(),e.codefix.getFixes({errorCode:zi,sourceFile:$t,span:Va,program:Ce,host:I,cancellationToken:en,formatContext:li,preferences:or})})}function Rn(Rr,Lr,Xr,nt){nt===void 0&&(nt=e.emptyOptions),Qe(),e.Debug.assert(Rr.type==="file");var vt=pn(Rr.fileName),or=e.formatting.getFormatContext(Xr,I);return e.codefix.getAllFixes({fixId:Lr,sourceFile:vt,program:Ce,host:I,cancellationToken:en,formatContext:or,preferences:nt})}function Ye(Rr,Lr,Xr){Xr===void 0&&(Xr=e.emptyOptions),Qe(),e.Debug.assert(Rr.type==="file");var nt=pn(Rr.fileName),vt=e.formatting.getFormatContext(Lr,I);return e.OrganizeImports.organizeImports(nt,vt,I,Ce,Xr,Rr.skipDestructiveCodeActions)}function xn(Rr,Lr,Xr,nt){return nt===void 0&&(nt=e.emptyOptions),e.getEditsForFileRename(Re(),Rr,Lr,I,e.formatting.getFormatContext(Xr,I),nt,we)}function an(Rr,Lr){var Xr=typeof Rr=="string"?Lr:Rr;return e.isArray(Xr)?Promise.all(Xr.map(function(nt){return zn(nt)})):zn(Xr)}function zn(Rr){var Lr=function(Xr){return e.toPath(Xr,fe,pe)};return e.Debug.assertEqual(Rr.type,"install package"),I.installPackage?I.installPackage({fileName:Lr(Rr.file),packageName:Rr.packageName}):Promise.reject("Host does not implement `installPackage`")}function ir(Rr,Lr,Xr){return e.JsDoc.getDocCommentTemplateAtPosition(e.getNewLineOrDefaultFromHost(I),be.getCurrentSourceFile(Rr),Lr,Xr)}function gr(Rr,Lr,Xr){if(Xr===60)return!1;var nt=be.getCurrentSourceFile(Rr);if(e.isInString(nt,Lr))return!1;if(e.isInsideJsxElementOrAttribute(nt,Lr))return Xr===123;if(e.isInTemplateString(nt,Lr))return!1;switch(Xr){case 39:case 34:case 96:return!e.isInComment(nt,Lr)}return!0}function Dr(Rr,Lr){var Xr=be.getCurrentSourceFile(Rr),nt=e.findPrecedingToken(Lr,Xr);if(nt){var vt=nt.kind===31&&e.isJsxOpeningElement(nt.parent)?nt.parent.parent:e.isJsxText(nt)?nt.parent:void 0;if(vt&&Ur(vt))return{newText:""}}}function qr(Rr,Lr){return{lineStarts:Rr.getLineStarts(),firstLine:Rr.getLineAndCharacterOfPosition(Lr.pos).line,lastLine:Rr.getLineAndCharacterOfPosition(Lr.end).line}}function ft(Rr,Lr,Xr){for(var nt=be.getCurrentSourceFile(Rr),vt=[],or=qr(nt,Lr),$t=or.lineStarts,Va=or.firstLine,li=or.lastLine,zi=Xr||!1,Ma=Number.MAX_VALUE,di=new e.Map,Yi=new RegExp(/\S/),uo=e.isInsideJsxElement(nt,$t[Va]),bi=uo?"{/*":"//",Mi=Va;Mi<=li;Mi++){var Go=nt.text.substring($t[Mi],nt.getLineEndOfPosition($t[Mi])),io=Yi.exec(Go);io&&(Ma=Math.min(Ma,io.index),di.set(Mi.toString(),io.index),Go.substr(io.index,bi.length)!==bi&&(zi=Xr===void 0||Xr))}for(var Mi=Va;Mi<=li;Mi++)if(!(Va!==li&&$t[Mi]===Lr.end)){var wi=di.get(Mi.toString());wi!==void 0&&(uo?vt.push.apply(vt,xt(Rr,{pos:$t[Mi]+Ma,end:nt.getLineEndOfPosition($t[Mi])},zi,uo)):zi?vt.push({newText:bi,span:{length:0,start:$t[Mi]+Ma}}):nt.text.substr($t[Mi]+wi,bi.length)===bi&&vt.push({newText:"",span:{length:bi.length,start:$t[Mi]+wi}}))}return vt}function xt(Rr,Lr,Xr,nt){for(var vt,or=be.getCurrentSourceFile(Rr),$t=[],Va=or.text,li=!1,zi=Xr||!1,Ma=[],di=Lr.pos,Yi=nt!==void 0?nt:e.isInsideJsxElement(or,di),uo=Yi?"{/*":"/*",bi=Yi?"*/}":"*/",Mi=Yi?"\\{\\/\\*":"\\/\\*",Go=Yi?"\\*\\/\\}":"\\*\\/";di<=Lr.end;){var io=Va.substr(di,uo.length)===uo?uo.length:0,wi=e.isInComment(or,di+io);if(wi)Yi&&(wi.pos--,wi.end++),Ma.push(wi.pos),wi.kind===3&&Ma.push(wi.end),li=!0,di=wi.end+1;else{var Ho=Va.substring(di,Lr.end).search("("+Mi+")|("+Go+")");zi=Xr!==void 0?Xr:zi||!e.isTextWhiteSpaceLike(Va,di,Ho===-1?Lr.end:di+Ho),di=Ho===-1?Lr.end+1:di+Ho+bi.length}}if(zi||!li){((vt=e.isInComment(or,Lr.pos))===null||vt===void 0?void 0:vt.kind)!==2&&e.insertSorted(Ma,Lr.pos,e.compareValues),e.insertSorted(Ma,Lr.end,e.compareValues);var qi=Ma[0];Va.substr(qi,uo.length)!==uo&&$t.push({newText:uo,span:{length:0,start:qi}});for(var Qi=1;Qi0?Da-bi.length:0,io=Va.substr($a,bi.length)===bi?bi.length:0;$t.push({newText:"",span:{length:uo.length,start:Da-io}})}return $t}function Kr(Rr,Lr){var Xr=be.getCurrentSourceFile(Rr),nt=qr(Xr,Lr),vt=nt.firstLine,or=nt.lastLine;return vt===or&&Lr.pos!==Lr.end?xt(Rr,Lr,!0):ft(Rr,Lr,!0)}function dt(Rr,Lr){var Xr=be.getCurrentSourceFile(Rr),nt=[],vt=Lr.pos,or=Lr.end;vt===or&&(or+=e.isInsideJsxElement(Xr,vt)?2:1);for(var $t=vt;$t<=or;$t++){var Va=e.isInComment(Xr,$t);if(Va){switch(Va.kind){case 2:nt.push.apply(nt,ft(Rr,{end:Va.end,pos:Va.pos+1},!1));break;case 3:nt.push.apply(nt,xt(Rr,{end:Va.end,pos:Va.pos+1},!1))}$t=Va.end+1}}return nt}function Ur(Rr){var Lr=Rr.openingElement,Xr=Rr.closingElement,nt=Rr.parent;return!e.tagNamesAreEquivalent(Lr.tagName,Xr.tagName)||e.isJsxElement(nt)&&e.tagNamesAreEquivalent(Lr.tagName,nt.openingElement.tagName)&&Ur(nt)}function qt(Rr,Lr,Xr){var nt=be.getCurrentSourceFile(Rr),vt=e.formatting.getRangeOfEnclosingComment(nt,Lr);return vt&&(!Xr||vt.kind===3)?e.createTextSpanFromRange(vt):void 0}function Cr(Rr,Lr){Qe();var Xr=pn(Rr);en.throwIfCancellationRequested();var nt=Xr.text,vt=[];if(Lr.length>0&&!Go(Xr.fileName))for(var or=bi(),$t=void 0;$t=or.exec(nt);){en.throwIfCancellationRequested();var Va=3;e.Debug.assert($t.length===Lr.length+Va);var li=$t[1],zi=$t.index+li.length;if(e.isInComment(Xr,zi)){for(var Ma=void 0,di=0;di=97&&io<=122||io>=65&&io<=90||io>=48&&io<=57}function Go(io){return e.stringContains(io,"/node_modules/")}}function Jt(Rr,Lr,Xr){return Qe(),e.Rename.getRenameInfo(Ce,pn(Rr),Lr,Xr)}function Ot(Rr,Lr,Xr,nt,vt,or){var $t=typeof Lr=="number"?[Lr,void 0]:[Lr.pos,Lr.end],Va=$t[0],li=$t[1];return{file:Rr,startPosition:Va,endPosition:li,program:Re(),host:I,formatContext:e.formatting.getFormatContext(nt,I),cancellationToken:en,preferences:Xr,triggerReason:vt,kind:or}}function ri(Rr,Lr,Xr){return{file:Rr,program:Re(),host:I,span:Lr,preferences:Xr,cancellationToken:en}}function Ya(Rr,Lr){return e.SmartSelectionRange.getSmartSelectionRange(Lr,be.getCurrentSourceFile(Rr))}function eo(Rr,Lr,Xr,nt,vt){Xr===void 0&&(Xr=e.emptyOptions),Qe();var or=pn(Rr);return e.refactor.getApplicableRefactors(Ot(or,Lr,Xr,e.emptyOptions,nt,vt))}function za(Rr,Lr,Xr,nt,vt,or){or===void 0&&(or=e.emptyOptions),Qe();var $t=pn(Rr);return e.refactor.getEditsForRefactor(Ot($t,Xr,or,Lr),nt,vt)}function ua(Rr,Lr){return Lr===0?{line:0,character:0}:we.toLineColumnOffset(Rr,Lr)}function Ar(Rr,Lr){Qe();var Xr=e.CallHierarchy.resolveCallHierarchyDeclaration(Ce,e.getTouchingPropertyName(pn(Rr),Lr));return Xr&&e.mapOneOrMany(Xr,function(nt){return e.CallHierarchy.createCallHierarchyItem(Ce,nt)})}function at(Rr,Lr){Qe();var Xr=pn(Rr),nt=e.firstOrOnly(e.CallHierarchy.resolveCallHierarchyDeclaration(Ce,Lr===0?Xr:e.getTouchingPropertyName(Xr,Lr)));return nt?e.CallHierarchy.getIncomingCalls(Ce,nt,en):[]}function Hr(Rr,Lr){Qe();var Xr=pn(Rr),nt=e.firstOrOnly(e.CallHierarchy.resolveCallHierarchyDeclaration(Ce,Lr===0?Xr:e.getTouchingPropertyName(Xr,Lr)));return nt?e.CallHierarchy.getOutgoingCalls(Ce,nt):[]}function Wt(Rr,Lr,Xr){Xr===void 0&&(Xr=e.emptyOptions),Qe();var nt=pn(Rr);return e.InlayHints.provideInlayHints(ri(nt,Lr,Xr))}var Zt={dispose:Un,cleanupSemanticCache:Ln,getSyntacticDiagnostics:fn,getSemanticDiagnostics:En,getSuggestionDiagnostics:i,getCompilerOptionsDiagnostics:In,getSyntacticClassifications:ar,getSemanticClassifications:Me,getEncodedSyntacticClassifications:Xn,getEncodedSemanticClassifications:Mn,getCompletionsAtPosition:X,getCompletionEntryDetails:rn,getCompletionEntrySymbol:$n,getSignatureHelpItems:hr,getQuickInfoAtPosition:Vn,getDefinitionAtPosition:xe,getDefinitionAndBoundSpan:Ze,getImplementationAtPosition:Le,getTypeDefinitionAtPosition:hn,getReferencesAtPosition:gn,findReferences:ze,getFileReferences:Tn,getOccurrencesAtPosition:$e,getDocumentHighlights:An,getNameOrDottedNameSpan:Qr,getBreakpointStatementAtPosition:Ke,getNavigateToItems:On,getRenameInfo:Jt,getSmartSelectionRange:Ya,findRenameLocations:Ue,getNavigationBarItems:jn,getNavigationTree:Zn,getOutliningSpans:yr,getTodoComments:Cr,getBraceMatchingAtPosition:Fe,getIndentationAtPosition:Bn,getFormattingEditsForRange:J,getFormattingEditsForDocument:Cn,getFormattingEditsAfterKeystroke:Gn,getDocCommentTemplateAtPosition:ir,isValidBraceCompletionAtPosition:gr,getJsxClosingTagAtPosition:Dr,getSpanOfEnclosingComment:qt,getCodeFixesAtPosition:cn,getCombinedCodeFix:Rn,applyCodeActionCommand:an,organizeImports:Ye,getEditsForFileRename:xn,getEmitOutput:ur,getNonBoundSourceFile:wr,getProgram:Re,getAutoImportProvider:He,getApplicableRefactors:eo,getEditsForRefactor:za,toLineColumnOffset:ua,getSourceMapper:function(){return we},clearSourceMapperCache:function(){return we.clearCache()},prepareCallHierarchy:Ar,provideCallHierarchyIncomingCalls:at,provideCallHierarchyOutgoingCalls:Hr,toggleLineComment:ft,toggleMultilineComment:xt,commentSelection:Kr,uncommentSelection:dt,provideInlayHints:Wt};switch(Se){case e.LanguageServiceMode.Semantic:break;case e.LanguageServiceMode.PartialSemantic:g.forEach(function(Rr){return Zt[Rr]=function(){throw new Error("LanguageService Operation: "+Rr+" not allowed in LanguageServiceMode.PartialSemantic")}});break;case e.LanguageServiceMode.Syntactic:p.forEach(function(Rr){return Zt[Rr]=function(){throw new Error("LanguageService Operation: "+Rr+" not allowed in LanguageServiceMode.Syntactic")}});break;default:e.Debug.assertNever(Se)}return Zt}e.createLanguageService=f;function T(I){return I.nameTable||m(I),I.nameTable}e.getNameTable=T;function m(I){var Ae=I.nameTable=new e.Map;I.forEachChild(function Oe(te){if(e.isIdentifier(te)&&!e.isTagName(te)&&te.escapedText||e.isStringOrNumericLiteralLike(te)&&N(te)){var Se=e.getEscapedTextOfIdentifierOrLiteral(te);Ae.set(Se,Ae.get(Se)===void 0?te.pos:-1)}else if(e.isPrivateIdentifier(te)){var Se=te.escapedText;Ae.set(Se,Ae.get(Se)===void 0?te.pos:-1)}if(e.forEachChild(te,Oe),e.hasJSDocNodes(te))for(var be=0,Ce=te.jsDoc;beye){var O=e.findPrecedingToken(re.pos,Y);if(!O||Y.getLineAndCharacterOfPosition(O.getEnd()).line!==ye)return;re=O}if(re.flags&8388608)return;return Z(re);function A(E,H){var L=E.decorators?e.skipTrivia(Y.text,E.decorators.end):E.getStart(Y);return e.createTextSpanFromBounds(L,(H||E).getEnd())}function D(E,H){return A(E,e.findNextToken(H,H.parent,Y))}function de(E,H){return E&&ye===Y.getLineAndCharacterOfPosition(E.getStart(Y)).line?Z(E):Z(H)}function _e(E){return e.createTextSpanFromBounds(e.skipTrivia(Y.text,E.pos),E.end)}function y(E){return Z(e.findPrecedingToken(E.pos,Y))}function V(E){return Z(e.findNextToken(E,E.parent,Y))}function Z(E){if(E){var H=E.parent;switch(E.kind){case 235:return se(E.declarationList.declarations[0]);case 252:case 165:case 164:return se(E);case 162:return R(E);case 254:case 167:case 166:case 170:case 171:case 169:case 211:case 212:return U(E);case 233:if(e.isFunctionBlock(E))return C(E);case 260:return d(E);case 290:return d(E.block);case 236:return A(E.expression);case 245:return A(E.getChildAt(0),E.expression);case 239:return D(E,E.expression);case 238:return Z(E.statement);case 251:return A(E.getChildAt(0));case 237:return D(E,E.expression);case 248:return Z(E.statement);case 244:case 243:return A(E.getChildAt(0),E.label);case 240:return g(E);case 241:return D(E,E.expression);case 242:return G(E);case 247:return D(E,E.expression);case 287:case 288:return Z(E.statements[0]);case 250:return d(E.tryBlock);case 249:return A(E,E.expression);case 269:return A(E,E.expression);case 263:return A(E,E.moduleReference);case 264:return A(E,E.moduleSpecifier);case 270:return A(E,E.moduleSpecifier);case 259:if(e.getModuleInstanceState(E)!==1)return;case 255:case 258:case 294:case 201:return A(E);case 246:return Z(E.statement);case 163:return _e(H.decorators);case 199:case 200:return p(E);case 256:case 257:return;case 26:case 1:return de(e.findPrecedingToken(E.pos,Y));case 27:return y(E);case 18:return T(E);case 19:return m(E);case 23:return N(E);case 20:return P(E);case 21:return x(E);case 58:return M(E);case 31:case 29:return me(E);case 115:return z(E);case 91:case 83:case 96:return V(E);case 158:return K(E);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(E))return f(E);if((E.kind===79||E.kind===223||E.kind===291||E.kind===292)&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(H))return A(E);if(E.kind===219){var L=E,ee=L.left,k=L.operatorToken;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(ee))return f(ee);if(k.kind===63&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(E.parent))return A(E);if(k.kind===27)return Z(ee)}if(e.isExpressionNode(E))switch(H.kind){case 238:return y(E);case 163:return Z(E.parent);case 240:case 242:return A(E);case 219:if(E.parent.operatorToken.kind===27)return A(E);break;case 212:if(E.parent.body===E)return A(E);break}switch(E.parent.kind){case 291:if(E.parent.name===E&&!e.isArrayLiteralOrObjectLiteralDestructuringPattern(E.parent.parent))return Z(E.parent.initializer);break;case 209:if(E.parent.type===E)return V(E.parent.type);break;case 252:case 162:{var b=E.parent,ie=b.initializer,q=b.type;if(ie===E||q===E||e.isAssignmentOperator(E.kind))return y(E);break}case 219:{var ee=E.parent.left;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(ee)&&E!==ee)return y(E);break}default:if(e.isFunctionLike(E.parent)&&E.parent.type===E)return y(E)}return Z(E.parent)}}function oe(I){return e.isVariableDeclarationList(I.parent)&&I.parent.declarations[0]===I?A(e.findPrecedingToken(I.pos,Y,I.parent),I):A(I)}function se(I){if(I.parent.parent.kind===241)return Z(I.parent.parent);var Ae=I.parent;if(e.isBindingPattern(I.name))return p(I.name);if(I.initializer||e.hasSyntacticModifier(I,1)||Ae.parent.kind===242)return oe(I);if(e.isVariableDeclarationList(I.parent)&&I.parent.declarations[0]!==I)return Z(e.findPrecedingToken(I.pos,Y,I.parent))}function w(I){return!!I.initializer||I.dotDotDotToken!==void 0||e.hasSyntacticModifier(I,12)}function R(I){if(e.isBindingPattern(I.name))return p(I.name);if(w(I))return A(I);var Ae=I.parent,Oe=Ae.parameters.indexOf(I);return e.Debug.assert(Oe!==-1),Oe!==0?R(Ae.parameters[Oe-1]):Z(Ae.body)}function ne(I){return e.hasSyntacticModifier(I,1)||I.parent.kind===255&&I.kind!==169}function U(I){if(I.body)return ne(I)?A(I):Z(I.body)}function C(I){var Ae=I.statements.length?I.statements[0]:I.getLastToken();return ne(I.parent)?de(I.parent,Ae):Z(Ae)}function d(I){switch(I.parent.kind){case 259:if(e.getModuleInstanceState(I.parent)!==1)return;case 239:case 237:case 241:return de(I.parent,I.statements[0]);case 240:case 242:return de(e.findPrecedingToken(I.pos,Y,I.parent),I.statements[0])}return Z(I.statements[0])}function G(I){if(I.initializer.kind===253){var Ae=I.initializer;if(Ae.declarations.length>0)return Z(Ae.declarations[0])}else return Z(I.initializer)}function g(I){if(I.initializer)return G(I);if(I.condition)return A(I.condition);if(I.incrementor)return A(I.incrementor)}function p(I){var Ae=e.forEach(I.elements,function(Oe){return Oe.kind!==225?Oe:void 0});return Ae?Z(Ae):I.parent.kind===201?A(I.parent):oe(I.parent)}function f(I){e.Debug.assert(I.kind!==200&&I.kind!==199);var Ae=I.kind===202?I.elements:I.properties,Oe=e.forEach(Ae,function(te){return te.kind!==225?te:void 0});return Oe?Z(Oe):A(I.parent.kind===219?I.parent:I)}function T(I){switch(I.parent.kind){case 258:var Ae=I.parent;return de(e.findPrecedingToken(I.pos,Y,I.parent),Ae.members.length?Ae.members[0]:Ae.getLastToken(Y));case 255:var Oe=I.parent;return de(e.findPrecedingToken(I.pos,Y,I.parent),Oe.members.length?Oe.members[0]:Oe.getLastToken(Y));case 261:return de(I.parent.parent,I.parent.clauses[0])}return Z(I.parent)}function m(I){switch(I.parent.kind){case 260:if(e.getModuleInstanceState(I.parent.parent)!==1)return;case 258:case 255:return A(I);case 233:if(e.isFunctionBlock(I.parent))return A(I);case 290:return Z(e.lastOrUndefined(I.parent.statements));case 261:var Ae=I.parent,Oe=e.lastOrUndefined(Ae.clauses);return Oe?Z(e.lastOrUndefined(Oe.statements)):void 0;case 199:var te=I.parent;return Z(e.lastOrUndefined(te.elements)||te);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(I.parent)){var Se=I.parent;return A(e.lastOrUndefined(Se.properties)||Se)}return Z(I.parent)}}function N(I){switch(I.parent.kind){case 200:var Ae=I.parent;return A(e.lastOrUndefined(Ae.elements)||Ae);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(I.parent)){var Oe=I.parent;return A(e.lastOrUndefined(Oe.elements)||Oe)}return Z(I.parent)}}function P(I){return I.parent.kind===238||I.parent.kind===206||I.parent.kind===207?y(I):I.parent.kind===210?V(I):Z(I.parent)}function x(I){switch(I.parent.kind){case 211:case 254:case 212:case 167:case 166:case 170:case 171:case 169:case 239:case 238:case 240:case 242:case 206:case 207:case 210:return y(I);default:return Z(I.parent)}}function M(I){return e.isFunctionLike(I.parent)||I.parent.kind===291||I.parent.kind===162?y(I):Z(I.parent)}function me(I){return I.parent.kind===209?V(I):Z(I.parent)}function z(I){return I.parent.kind===238?D(I,I.parent.expression):Z(I.parent)}function K(I){return I.parent.kind===242?V(I):Z(I.parent)}}}ue.spanInSourceFileAtLocation=$})(o=e.BreakpointResolver||(e.BreakpointResolver={}))})(vn||(vn={}));var vn;(function(e){function o(ue,$,Y){var W=[];Y=e.fixupCompilerOptions(Y,W);var re=e.isArray(ue)?ue:[ue],ye=e.transformNodes(void 0,void 0,e.factory,Y,re,$,!0);return ye.diagnostics=e.concatenate(ye.diagnostics,W),ye}e.transform=o})(vn||(vn={}));var Mp=function(){return this}(),vn;(function(e){function o(E,H){E&&E.log("*INTERNAL ERROR* - Exception in typescript services: "+H.message)}var ue=function(){function E(H){this.scriptSnapshotShim=H}return E.prototype.getText=function(H,L){return this.scriptSnapshotShim.getText(H,L)},E.prototype.getLength=function(){return this.scriptSnapshotShim.getLength()},E.prototype.getChangeRange=function(H){var L=H,ee=this.scriptSnapshotShim.getChangeRange(L.scriptSnapshotShim);if(ee===null)return null;var k=JSON.parse(ee);return e.createTextChangeRange(e.createTextSpan(k.span.start,k.span.length),k.newLength)},E.prototype.dispose=function(){"dispose"in this.scriptSnapshotShim&&this.scriptSnapshotShim.dispose()},E}(),$=function(){function E(H){var L=this;this.shimHost=H,this.loggingEnabled=!1,this.tracingEnabled=!1,"getModuleResolutionsForFile"in this.shimHost&&(this.resolveModuleNames=function(ee,k){var b=JSON.parse(L.shimHost.getModuleResolutionsForFile(k));return e.map(ee,function(ie){var q=e.getProperty(b,ie);return q?{resolvedFileName:q,extension:e.extensionFromPath(q),isExternalLibraryImport:!1}:void 0})}),"directoryExists"in this.shimHost&&(this.directoryExists=function(ee){return L.shimHost.directoryExists(ee)}),"getTypeReferenceDirectiveResolutionsForFile"in this.shimHost&&(this.resolveTypeReferenceDirectives=function(ee,k){var b=JSON.parse(L.shimHost.getTypeReferenceDirectiveResolutionsForFile(k));return e.map(ee,function(ie){return e.getProperty(b,ie)})})}return E.prototype.log=function(H){this.loggingEnabled&&this.shimHost.log(H)},E.prototype.trace=function(H){this.tracingEnabled&&this.shimHost.trace(H)},E.prototype.error=function(H){this.shimHost.error(H)},E.prototype.getProjectVersion=function(){if(this.shimHost.getProjectVersion)return this.shimHost.getProjectVersion()},E.prototype.getTypeRootsVersion=function(){return this.shimHost.getTypeRootsVersion?this.shimHost.getTypeRootsVersion():0},E.prototype.useCaseSensitiveFileNames=function(){return this.shimHost.useCaseSensitiveFileNames?this.shimHost.useCaseSensitiveFileNames():!1},E.prototype.getCompilationSettings=function(){var H=this.shimHost.getCompilationSettings();if(H===null||H==="")throw Error("LanguageServiceShimHostAdapter.getCompilationSettings: empty compilationSettings");var L=JSON.parse(H);return L.allowNonTsExtensions=!0,L},E.prototype.getScriptFileNames=function(){var H=this.shimHost.getScriptFileNames();return JSON.parse(H)},E.prototype.getScriptSnapshot=function(H){var L=this.shimHost.getScriptSnapshot(H);return L&&new ue(L)},E.prototype.getScriptKind=function(H){return"getScriptKind"in this.shimHost?this.shimHost.getScriptKind(H):0},E.prototype.getScriptVersion=function(H){return this.shimHost.getScriptVersion(H)},E.prototype.getLocalizedDiagnosticMessages=function(){var H=this.shimHost.getLocalizedDiagnosticMessages();if(H===null||H==="")return null;try{return JSON.parse(H)}catch(L){return this.log(L.description||"diagnosticMessages.generated.json has invalid JSON format"),null}},E.prototype.getCancellationToken=function(){var H=this.shimHost.getCancellationToken();return new e.ThrottledCancellationToken(H)},E.prototype.getCurrentDirectory=function(){return this.shimHost.getCurrentDirectory()},E.prototype.getDirectories=function(H){return JSON.parse(this.shimHost.getDirectories(H))},E.prototype.getDefaultLibFileName=function(H){return this.shimHost.getDefaultLibFileName(JSON.stringify(H))},E.prototype.readDirectory=function(H,L,ee,k,b){var ie=e.getFileMatcherPatterns(H,ee,k,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(H,JSON.stringify(L),JSON.stringify(ie.basePaths),ie.excludePattern,ie.includeFilePattern,ie.includeDirectoryPattern,b))},E.prototype.readFile=function(H,L){return this.shimHost.readFile(H,L)},E.prototype.fileExists=function(H){return this.shimHost.fileExists(H)},E}();e.LanguageServiceShimHostAdapter=$;var Y=function(){function E(H){var L=this;this.shimHost=H,this.useCaseSensitiveFileNames=this.shimHost.useCaseSensitiveFileNames?this.shimHost.useCaseSensitiveFileNames():!1,"directoryExists"in this.shimHost?this.directoryExists=function(ee){return L.shimHost.directoryExists(ee)}:this.directoryExists=void 0,"realpath"in this.shimHost?this.realpath=function(ee){return L.shimHost.realpath(ee)}:this.realpath=void 0}return E.prototype.readDirectory=function(H,L,ee,k,b){var ie=e.getFileMatcherPatterns(H,ee,k,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(H,JSON.stringify(L),JSON.stringify(ie.basePaths),ie.excludePattern,ie.includeFilePattern,ie.includeDirectoryPattern,b))},E.prototype.fileExists=function(H){return this.shimHost.fileExists(H)},E.prototype.readFile=function(H){return this.shimHost.readFile(H)},E.prototype.getDirectories=function(H){return JSON.parse(this.shimHost.getDirectories(H))},E}();e.CoreServicesShimHostAdapter=Y;function W(E,H,L,ee){var k;ee&&(E.log(H),k=e.timestamp());var b=L();if(ee){var ie=e.timestamp();if(E.log(H+" completed in "+(ie-k)+" msec"),e.isString(b)){var q=b;q.length>128&&(q=q.substring(0,128)+"..."),E.log(" result.length="+q.length+", result='"+JSON.stringify(q)+"'")}}return b}function re(E,H,L,ee){return ye(E,H,!0,L,ee)}function ye(E,H,L,ee,k){try{var b=W(E,H,ee,k);return L?JSON.stringify({result:b}):b}catch(ie){return ie instanceof e.OperationCanceledException?JSON.stringify({canceled:!0}):(o(E,ie),ie.description=H,JSON.stringify({error:ie}))}}var O=function(){function E(H){this.factory=H,H.registerShim(this)}return E.prototype.dispose=function(H){this.factory.unregisterShim(this)},E}();function A(E,H){return E.map(function(L){return D(L,H)})}e.realizeDiagnostics=A;function D(E,H){return{message:e.flattenDiagnosticMessageText(E.messageText,H),start:E.start,length:E.length,category:e.diagnosticCategoryName(E),code:E.code,reportsUnnecessary:E.reportsUnnecessary,reportsDeprecated:E.reportsDeprecated}}var de=function(E){zu(H,E);function H(L,ee,k){var b=E.call(this,L)||this;return b.host=ee,b.languageService=k,b.logPerformance=!1,b.logger=b.host,b}return H.prototype.forwardJSONCall=function(L,ee){return re(this.logger,L,ee,this.logPerformance)},H.prototype.dispose=function(L){this.logger.log("dispose()"),this.languageService.dispose(),this.languageService=null,Mp&&Mp.CollectGarbage&&(Mp.CollectGarbage(),this.logger.log("CollectGarbage()")),this.logger=null,E.prototype.dispose.call(this,L)},H.prototype.refresh=function(L){this.forwardJSONCall("refresh("+L+")",function(){return null})},H.prototype.cleanupSemanticCache=function(){var L=this;this.forwardJSONCall("cleanupSemanticCache()",function(){return L.languageService.cleanupSemanticCache(),null})},H.prototype.realizeDiagnostics=function(L){var ee=e.getNewLineOrDefaultFromHost(this.host);return A(L,ee)},H.prototype.getSyntacticClassifications=function(L,ee,k){var b=this;return this.forwardJSONCall("getSyntacticClassifications('"+L+"', "+ee+", "+k+")",function(){return b.languageService.getSyntacticClassifications(L,e.createTextSpan(ee,k))})},H.prototype.getSemanticClassifications=function(L,ee,k){var b=this;return this.forwardJSONCall("getSemanticClassifications('"+L+"', "+ee+", "+k+")",function(){return b.languageService.getSemanticClassifications(L,e.createTextSpan(ee,k))})},H.prototype.getEncodedSyntacticClassifications=function(L,ee,k){var b=this;return this.forwardJSONCall("getEncodedSyntacticClassifications('"+L+"', "+ee+", "+k+")",function(){return _e(b.languageService.getEncodedSyntacticClassifications(L,e.createTextSpan(ee,k)))})},H.prototype.getEncodedSemanticClassifications=function(L,ee,k){var b=this;return this.forwardJSONCall("getEncodedSemanticClassifications('"+L+"', "+ee+", "+k+")",function(){return _e(b.languageService.getEncodedSemanticClassifications(L,e.createTextSpan(ee,k)))})},H.prototype.getSyntacticDiagnostics=function(L){var ee=this;return this.forwardJSONCall("getSyntacticDiagnostics('"+L+"')",function(){var k=ee.languageService.getSyntacticDiagnostics(L);return ee.realizeDiagnostics(k)})},H.prototype.getSemanticDiagnostics=function(L){var ee=this;return this.forwardJSONCall("getSemanticDiagnostics('"+L+"')",function(){var k=ee.languageService.getSemanticDiagnostics(L);return ee.realizeDiagnostics(k)})},H.prototype.getSuggestionDiagnostics=function(L){var ee=this;return this.forwardJSONCall("getSuggestionDiagnostics('"+L+"')",function(){return ee.realizeDiagnostics(ee.languageService.getSuggestionDiagnostics(L))})},H.prototype.getCompilerOptionsDiagnostics=function(){var L=this;return this.forwardJSONCall("getCompilerOptionsDiagnostics()",function(){var ee=L.languageService.getCompilerOptionsDiagnostics();return L.realizeDiagnostics(ee)})},H.prototype.getQuickInfoAtPosition=function(L,ee){var k=this;return this.forwardJSONCall("getQuickInfoAtPosition('"+L+"', "+ee+")",function(){return k.languageService.getQuickInfoAtPosition(L,ee)})},H.prototype.getNameOrDottedNameSpan=function(L,ee,k){var b=this;return this.forwardJSONCall("getNameOrDottedNameSpan('"+L+"', "+ee+", "+k+")",function(){return b.languageService.getNameOrDottedNameSpan(L,ee,k)})},H.prototype.getBreakpointStatementAtPosition=function(L,ee){var k=this;return this.forwardJSONCall("getBreakpointStatementAtPosition('"+L+"', "+ee+")",function(){return k.languageService.getBreakpointStatementAtPosition(L,ee)})},H.prototype.getSignatureHelpItems=function(L,ee,k){var b=this;return this.forwardJSONCall("getSignatureHelpItems('"+L+"', "+ee+")",function(){return b.languageService.getSignatureHelpItems(L,ee,k)})},H.prototype.getDefinitionAtPosition=function(L,ee){var k=this;return this.forwardJSONCall("getDefinitionAtPosition('"+L+"', "+ee+")",function(){return k.languageService.getDefinitionAtPosition(L,ee)})},H.prototype.getDefinitionAndBoundSpan=function(L,ee){var k=this;return this.forwardJSONCall("getDefinitionAndBoundSpan('"+L+"', "+ee+")",function(){return k.languageService.getDefinitionAndBoundSpan(L,ee)})},H.prototype.getTypeDefinitionAtPosition=function(L,ee){var k=this;return this.forwardJSONCall("getTypeDefinitionAtPosition('"+L+"', "+ee+")",function(){return k.languageService.getTypeDefinitionAtPosition(L,ee)})},H.prototype.getImplementationAtPosition=function(L,ee){var k=this;return this.forwardJSONCall("getImplementationAtPosition('"+L+"', "+ee+")",function(){return k.languageService.getImplementationAtPosition(L,ee)})},H.prototype.getRenameInfo=function(L,ee,k){var b=this;return this.forwardJSONCall("getRenameInfo('"+L+"', "+ee+")",function(){return b.languageService.getRenameInfo(L,ee,k)})},H.prototype.getSmartSelectionRange=function(L,ee){var k=this;return this.forwardJSONCall("getSmartSelectionRange('"+L+"', "+ee+")",function(){return k.languageService.getSmartSelectionRange(L,ee)})},H.prototype.findRenameLocations=function(L,ee,k,b,ie){var q=this;return this.forwardJSONCall("findRenameLocations('"+L+"', "+ee+", "+k+", "+b+", "+ie+")",function(){return q.languageService.findRenameLocations(L,ee,k,b,ie)})},H.prototype.getBraceMatchingAtPosition=function(L,ee){var k=this;return this.forwardJSONCall("getBraceMatchingAtPosition('"+L+"', "+ee+")",function(){return k.languageService.getBraceMatchingAtPosition(L,ee)})},H.prototype.isValidBraceCompletionAtPosition=function(L,ee,k){var b=this;return this.forwardJSONCall("isValidBraceCompletionAtPosition('"+L+"', "+ee+", "+k+")",function(){return b.languageService.isValidBraceCompletionAtPosition(L,ee,k)})},H.prototype.getSpanOfEnclosingComment=function(L,ee,k){var b=this;return this.forwardJSONCall("getSpanOfEnclosingComment('"+L+"', "+ee+")",function(){return b.languageService.getSpanOfEnclosingComment(L,ee,k)})},H.prototype.getIndentationAtPosition=function(L,ee,k){var b=this;return this.forwardJSONCall("getIndentationAtPosition('"+L+"', "+ee+")",function(){var ie=JSON.parse(k);return b.languageService.getIndentationAtPosition(L,ee,ie)})},H.prototype.getReferencesAtPosition=function(L,ee){var k=this;return this.forwardJSONCall("getReferencesAtPosition('"+L+"', "+ee+")",function(){return k.languageService.getReferencesAtPosition(L,ee)})},H.prototype.findReferences=function(L,ee){var k=this;return this.forwardJSONCall("findReferences('"+L+"', "+ee+")",function(){return k.languageService.findReferences(L,ee)})},H.prototype.getFileReferences=function(L){var ee=this;return this.forwardJSONCall("getFileReferences('"+L+")",function(){return ee.languageService.getFileReferences(L)})},H.prototype.getOccurrencesAtPosition=function(L,ee){var k=this;return this.forwardJSONCall("getOccurrencesAtPosition('"+L+"', "+ee+")",function(){return k.languageService.getOccurrencesAtPosition(L,ee)})},H.prototype.getDocumentHighlights=function(L,ee,k){var b=this;return this.forwardJSONCall("getDocumentHighlights('"+L+"', "+ee+")",function(){var ie=b.languageService.getDocumentHighlights(L,ee,JSON.parse(k)),q=e.toFileNameLowerCase(e.normalizeSlashes(L));return e.filter(ie,function(oe){return e.toFileNameLowerCase(e.normalizeSlashes(oe.fileName))===q})})},H.prototype.getCompletionsAtPosition=function(L,ee,k){var b=this;return this.forwardJSONCall("getCompletionsAtPosition('"+L+"', "+ee+", "+k+")",function(){return b.languageService.getCompletionsAtPosition(L,ee,k)})},H.prototype.getCompletionEntryDetails=function(L,ee,k,b,ie,q,oe){var se=this;return this.forwardJSONCall("getCompletionEntryDetails('"+L+"', "+ee+", '"+k+"')",function(){var w=b===void 0?void 0:JSON.parse(b);return se.languageService.getCompletionEntryDetails(L,ee,k,w,ie,q,oe)})},H.prototype.getFormattingEditsForRange=function(L,ee,k,b){var ie=this;return this.forwardJSONCall("getFormattingEditsForRange('"+L+"', "+ee+", "+k+")",function(){var q=JSON.parse(b);return ie.languageService.getFormattingEditsForRange(L,ee,k,q)})},H.prototype.getFormattingEditsForDocument=function(L,ee){var k=this;return this.forwardJSONCall("getFormattingEditsForDocument('"+L+"')",function(){var b=JSON.parse(ee);return k.languageService.getFormattingEditsForDocument(L,b)})},H.prototype.getFormattingEditsAfterKeystroke=function(L,ee,k,b){var ie=this;return this.forwardJSONCall("getFormattingEditsAfterKeystroke('"+L+"', "+ee+", '"+k+"')",function(){var q=JSON.parse(b);return ie.languageService.getFormattingEditsAfterKeystroke(L,ee,k,q)})},H.prototype.getDocCommentTemplateAtPosition=function(L,ee,k){var b=this;return this.forwardJSONCall("getDocCommentTemplateAtPosition('"+L+"', "+ee+")",function(){return b.languageService.getDocCommentTemplateAtPosition(L,ee,k)})},H.prototype.getNavigateToItems=function(L,ee,k){var b=this;return this.forwardJSONCall("getNavigateToItems('"+L+"', "+ee+", "+k+")",function(){return b.languageService.getNavigateToItems(L,ee,k)})},H.prototype.getNavigationBarItems=function(L){var ee=this;return this.forwardJSONCall("getNavigationBarItems('"+L+"')",function(){return ee.languageService.getNavigationBarItems(L)})},H.prototype.getNavigationTree=function(L){var ee=this;return this.forwardJSONCall("getNavigationTree('"+L+"')",function(){return ee.languageService.getNavigationTree(L)})},H.prototype.getOutliningSpans=function(L){var ee=this;return this.forwardJSONCall("getOutliningSpans('"+L+"')",function(){return ee.languageService.getOutliningSpans(L)})},H.prototype.getTodoComments=function(L,ee){var k=this;return this.forwardJSONCall("getTodoComments('"+L+"')",function(){return k.languageService.getTodoComments(L,JSON.parse(ee))})},H.prototype.prepareCallHierarchy=function(L,ee){var k=this;return this.forwardJSONCall("prepareCallHierarchy('"+L+"', "+ee+")",function(){return k.languageService.prepareCallHierarchy(L,ee)})},H.prototype.provideCallHierarchyIncomingCalls=function(L,ee){var k=this;return this.forwardJSONCall("provideCallHierarchyIncomingCalls('"+L+"', "+ee+")",function(){return k.languageService.provideCallHierarchyIncomingCalls(L,ee)})},H.prototype.provideCallHierarchyOutgoingCalls=function(L,ee){var k=this;return this.forwardJSONCall("provideCallHierarchyOutgoingCalls('"+L+"', "+ee+")",function(){return k.languageService.provideCallHierarchyOutgoingCalls(L,ee)})},H.prototype.provideInlayHints=function(L,ee,k){var b=this;return this.forwardJSONCall("provideInlayHints('"+L+"', '"+JSON.stringify(ee)+"', "+JSON.stringify(k)+")",function(){return b.languageService.provideInlayHints(L,ee,k)})},H.prototype.getEmitOutput=function(L){var ee=this;return this.forwardJSONCall("getEmitOutput('"+L+"')",function(){var k=ee.languageService.getEmitOutput(L),b=k.diagnostics,ie=fp(k,["diagnostics"]);return Mt(Mt({},ie),{diagnostics:ee.realizeDiagnostics(b)})})},H.prototype.getEmitOutputObject=function(L){var ee=this;return ye(this.logger,"getEmitOutput('"+L+"')",!1,function(){return ee.languageService.getEmitOutput(L)},this.logPerformance)},H.prototype.toggleLineComment=function(L,ee){var k=this;return this.forwardJSONCall("toggleLineComment('"+L+"', '"+JSON.stringify(ee)+"')",function(){return k.languageService.toggleLineComment(L,ee)})},H.prototype.toggleMultilineComment=function(L,ee){var k=this;return this.forwardJSONCall("toggleMultilineComment('"+L+"', '"+JSON.stringify(ee)+"')",function(){return k.languageService.toggleMultilineComment(L,ee)})},H.prototype.commentSelection=function(L,ee){var k=this;return this.forwardJSONCall("commentSelection('"+L+"', '"+JSON.stringify(ee)+"')",function(){return k.languageService.commentSelection(L,ee)})},H.prototype.uncommentSelection=function(L,ee){var k=this;return this.forwardJSONCall("uncommentSelection('"+L+"', '"+JSON.stringify(ee)+"')",function(){return k.languageService.uncommentSelection(L,ee)})},H}(O);function _e(E){return{spans:E.spans.join(","),endOfLineState:E.endOfLineState}}var y=function(E){zu(H,E);function H(L,ee){var k=E.call(this,L)||this;return k.logger=ee,k.logPerformance=!1,k.classifier=e.createClassifier(),k}return H.prototype.getEncodedLexicalClassifications=function(L,ee,k){var b=this;return k===void 0&&(k=!1),re(this.logger,"getEncodedLexicalClassifications",function(){return _e(b.classifier.getEncodedLexicalClassifications(L,ee,k))},this.logPerformance)},H.prototype.getClassificationsForLine=function(L,ee,k){k===void 0&&(k=!1);for(var b=this.classifier.getClassificationsForLine(L,ee,k),ie="",q=0,oe=b.entries;q=1&&arguments.length<=3?e.factory.createVariableDeclaration($,void 0,Y,W):e.Debug.fail("Argument count mismatch")},o),e.updateVariableDeclaration=e.Debug.deprecate(function($,Y,W,re,ye){return arguments.length===5?e.factory.updateVariableDeclaration($,Y,W,re,ye):arguments.length===4?e.factory.updateVariableDeclaration($,Y,$.exclamationToken,W,re):e.Debug.fail("Argument count mismatch")},o),e.createImportClause=e.Debug.deprecate(function($,Y,W){return W===void 0&&(W=!1),e.factory.createImportClause(W,$,Y)},o),e.updateImportClause=e.Debug.deprecate(function($,Y,W,re){return e.factory.updateImportClause($,re,Y,W)},o),e.createExportDeclaration=e.Debug.deprecate(function($,Y,W,re,ye){return ye===void 0&&(ye=!1),e.factory.createExportDeclaration($,Y,ye,W,re)},o),e.updateExportDeclaration=e.Debug.deprecate(function($,Y,W,re,ye,O){return e.factory.updateExportDeclaration($,Y,W,O,re,ye)},o),e.createJSDocParamTag=e.Debug.deprecate(function($,Y,W,re){return e.factory.createJSDocParameterTag(void 0,$,Y,W,!1,re?e.factory.createNodeArray([e.factory.createJSDocText(re)]):void 0)},o),e.createComma=e.Debug.deprecate(function($,Y){return e.factory.createComma($,Y)},o),e.createLessThan=e.Debug.deprecate(function($,Y){return e.factory.createLessThan($,Y)},o),e.createAssignment=e.Debug.deprecate(function($,Y){return e.factory.createAssignment($,Y)},o),e.createStrictEquality=e.Debug.deprecate(function($,Y){return e.factory.createStrictEquality($,Y)},o),e.createStrictInequality=e.Debug.deprecate(function($,Y){return e.factory.createStrictInequality($,Y)},o),e.createAdd=e.Debug.deprecate(function($,Y){return e.factory.createAdd($,Y)},o),e.createSubtract=e.Debug.deprecate(function($,Y){return e.factory.createSubtract($,Y)},o),e.createLogicalAnd=e.Debug.deprecate(function($,Y){return e.factory.createLogicalAnd($,Y)},o),e.createLogicalOr=e.Debug.deprecate(function($,Y){return e.factory.createLogicalOr($,Y)},o),e.createPostfixIncrement=e.Debug.deprecate(function($){return e.factory.createPostfixIncrement($)},o),e.createLogicalNot=e.Debug.deprecate(function($){return e.factory.createLogicalNot($)},o),e.createNode=e.Debug.deprecate(function($,Y,W){return Y===void 0&&(Y=0),W===void 0&&(W=0),e.setTextRangePosEnd($===300?e.parseBaseNodeFactory.createBaseSourceFileNode($):$===79?e.parseBaseNodeFactory.createBaseIdentifierNode($):$===80?e.parseBaseNodeFactory.createBasePrivateIdentifierNode($):e.isNodeKind($)?e.parseBaseNodeFactory.createBaseNode($):e.parseBaseNodeFactory.createBaseTokenNode($),Y,W)},{since:"4.0",warnAfter:"4.1",message:"Use an appropriate `factory` method instead."}),e.getMutableClone=e.Debug.deprecate(function($){var Y=e.factory.cloneNode($);return e.setTextRange(Y,$),e.setParent(Y,$.parent),Y},{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($){return $.kind===209},{since:"4.0",warnAfter:"4.1",message:"Use `isTypeAssertionExpression` instead."}),e.isIdentifierOrPrivateIdentifier=e.Debug.deprecate(function($){return e.isMemberName($)},{since:"4.2",warnAfter:"4.3",message:"Use `isMemberName` instead."})})(vn||(vn={}));var Gg=vn.createClassifier,Fc=vn.createLanguageService,Fd=vn.displayPartsToString,Rl=vn.EndOfLineState,qu=vn.flattenDiagnosticMessageText,Gd=vn.IndentStyle,My=vn.ScriptKind,iL=vn.ScriptTarget,K1=vn.TokenClass},671:function(Wl){var Ys=Wl.exports={},Ql,ud;function Ru(){throw new Error("setTimeout has not been defined")}function Vr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Ql=setTimeout:Ql=Ru}catch(Rl){Ql=Ru}try{typeof clearTimeout=="function"?ud=clearTimeout:ud=Vr}catch(Rl){ud=Vr}})();function Mt(Rl){if(Ql===setTimeout)return setTimeout(Rl,0);if((Ql===Ru||!Ql)&&setTimeout)return Ql=setTimeout,setTimeout(Rl,0);try{return Ql(Rl,0)}catch(qu){try{return Ql.call(null,Rl,0)}catch(Gd){return Ql.call(this,Rl,0)}}}function Fg(Rl){if(ud===clearTimeout)return clearTimeout(Rl);if((ud===Vr||!ud)&&clearTimeout)return ud=clearTimeout,clearTimeout(Rl);try{return ud(Rl)}catch(qu){try{return ud.call(null,Rl)}catch(Gd){return ud.call(this,Rl)}}}var Ou=[],fp=!1,zu,Mp=-1;function vn(){!fp||!zu||(fp=!1,zu.length?Ou=zu.concat(Ou):Mp=-1,Ou.length&&Gg())}function Gg(){if(!fp){var Rl=Mt(vn);fp=!0;for(var qu=Ou.length;qu;){for(zu=Ou,Ou=[];++Mp1)for(var Gd=1;Gd{throw h.stack?new Error(h.message+` `+h.stack):h},0)}}emit(h){this.listeners.forEach(ae=>{ae(h)})}onUnexpectedError(h){this.unexpectedErrorHandler(h),this.emit(h)}onUnexpectedExternalError(h){this.unexpectedErrorHandler(h)}}const Ys=new Wl;function Ql(c){Mt(c)||Ys.onUnexpectedError(c)}function ud(c){Mt(c)||Ys.onUnexpectedExternalError(c)}function Ru(c){if(c instanceof Error){let{name:h,message:ae}=c;const je=c.stacktrace||c.stack;return{$isError:!0,name:h,message:ae,stack:je}}return c}const Vr="Canceled";function Mt(c){return c instanceof Error&&c.name===Vr&&c.message===Vr}function Fg(){const c=new Error(Vr);return c.name=c.message,c}function Ou(c){return c?new Error(`Illegal argument: ${c}`):new Error("Illegal argument")}function fp(c){return c?new Error(`Illegal state: ${c}`):new Error("Illegal state")}class zu extends null{constructor(h){super("NotSupported"),h&&(this.message=h)}}function Mp(c){const h=this;let ae=!1,je;return function(){return ae||(ae=!0,je=c.apply(h,arguments)),je}}var vn;(function(c){function h(Ca){return Ca&&typeof Ca=="object"&&typeof Ca[Symbol.iterator]=="function"}c.is=h;const ae=Object.freeze([]);function je(){return ae}c.empty=je;function*_n(Ca){yield Ca}c.single=_n;function Nn(Ca){return Ca||ae}c.from=Nn;function er(Ca){return!Ca||Ca[Symbol.iterator]().next().done===!0}c.isEmpty=er;function pr(Ca){return Ca[Symbol.iterator]().next().value}c.first=pr;function kr(Ca,Qt){for(const ni of Ca)if(Qt(ni))return!0;return!1}c.some=kr;function Er(Ca,Qt){for(const ni of Ca)if(Qt(ni))return ni}c.find=Er;function*gt(Ca,Qt){for(const ni of Ca)Qt(ni)&&(yield ni)}c.filter=gt;function*rt(Ca,Qt){let ni=0;for(const Wa of Ca)yield Qt(Wa,ni++)}c.map=rt;function*ma(...Ca){for(const Qt of Ca)for(const ni of Qt)yield ni}c.concat=ma;function*Ai(Ca){for(const Qt of Ca)for(const ni of Qt)yield ni}c.concatNested=Ai;function Ba(Ca,Qt,ni){let Wa=ni;for(const qa of Ca)Wa=Qt(Wa,qa);return Wa}c.reduce=Ba;function*_i(Ca,Qt,ni=Ca.length){for(Qt<0&&(Qt+=Ca.length),ni<0?ni+=Ca.length:ni>Ca.length&&(ni=Ca.length);QtWa===qa){const Wa=Ca[Symbol.iterator](),qa=Qt[Symbol.iterator]();for(;;){const so=Wa.next(),Vi=qa.next();if(so.done!==Vi.done)return!1;if(so.done)return!0;if(!ni(so.value,Vi.value))return!1}}c.equals=to})(vn||(vn={}));const Gg=!1;let Fc=null;function Fd(c){Fc=c}if(Gg){const c="__is_disposable_tracked__";Fd(new class{trackDisposable(h){const ae=new Error("Potentially leaked disposable").stack;setTimeout(()=>{h[c]||console.log(ae)},3e3)}setParent(h,ae){if(h&&h!==W.None)try{h[c]=!0}catch(je){}}markAsDisposed(h){if(h&&h!==W.None)try{h[c]=!0}catch(ae){}}markAsSingleton(h){}})}function Rl(c){return Fc==null||Fc.trackDisposable(c),c}function qu(c){Fc==null||Fc.markAsDisposed(c)}function Gd(c,h){Fc==null||Fc.setParent(c,h)}function My(c,h){if(Fc)for(const ae of c)Fc.setParent(ae,h)}function iL(c){return Fc==null||Fc.markAsSingleton(c),c}class K1 extends Error{constructor(h){super(`Encountered errors while disposing of store. Errors: [${h.join(", ")}]`),this.errors=h}}function e(c){return typeof c.dispose=="function"&&c.dispose.length===0}function o(c){if(vn.is(c)){let h=[];for(const ae of c)if(ae)try{ae.dispose()}catch(je){h.push(je)}if(h.length===1)throw h[0];if(h.length>1)throw new K1(h);return Array.isArray(c)?[]:c}else if(c)return c.dispose(),c}function ue(...c){const h=$(()=>o(c));return My(c,h),h}function $(c){const h=Rl({dispose:Mp(()=>{qu(h),c()})});return h}class Y{constructor(){this._toDispose=new Set,this._isDisposed=!1,Rl(this)}dispose(){this._isDisposed||(qu(this),this._isDisposed=!0,this.clear())}clear(){try{o(this._toDispose.values())}finally{this._toDispose.clear()}}add(h){if(!h)return h;if(h===this)throw new Error("Cannot register a disposable on itself!");return Gd(h,this),this._isDisposed?Y.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(h),h}}Y.DISABLE_DISPOSED_WARNING=!1;class W{constructor(){this._store=new Y,Rl(this),Gd(this._store,this)}dispose(){qu(this),this._store.dispose()}_register(h){if(h===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(h)}}W.None=Object.freeze({dispose(){}});class re{constructor(){this._isDisposed=!1,Rl(this)}get value(){return this._isDisposed?void 0:this._value}set value(h){var ae;this._isDisposed||h===this._value||((ae=this._value)===null||ae===void 0||ae.dispose(),h&&Gd(h,this),this._value=h)}clear(){this.value=void 0}dispose(){var h;this._isDisposed=!0,qu(this),(h=this._value)===null||h===void 0||h.dispose(),this._value=void 0}clearAndLeak(){const h=this._value;return this._value=void 0,h&&Gd(h,null),h}}class ye{constructor(h){this.object=h}dispose(){}}class O{constructor(h){this.element=h,this.next=O.Undefined,this.prev=O.Undefined}}O.Undefined=new O(void 0);class A{constructor(){this._first=O.Undefined,this._last=O.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===O.Undefined}clear(){let h=this._first;for(;h!==O.Undefined;){const ae=h.next;h.prev=O.Undefined,h.next=O.Undefined,h=ae}this._first=O.Undefined,this._last=O.Undefined,this._size=0}unshift(h){return this._insert(h,!1)}push(h){return this._insert(h,!0)}_insert(h,ae){const je=new O(h);if(this._first===O.Undefined)this._first=je,this._last=je;else if(ae){const Nn=this._last;this._last=je,je.prev=Nn,Nn.next=je}else{const Nn=this._first;this._first=je,je.next=Nn,Nn.prev=je}this._size+=1;let _n=!1;return()=>{_n||(_n=!0,this._remove(je))}}shift(){if(this._first!==O.Undefined){const h=this._first.element;return this._remove(this._first),h}}pop(){if(this._last!==O.Undefined){const h=this._last.element;return this._remove(this._last),h}}_remove(h){if(h.prev!==O.Undefined&&h.next!==O.Undefined){const ae=h.prev;ae.next=h.next,h.next.prev=ae}else h.prev===O.Undefined&&h.next===O.Undefined?(this._first=O.Undefined,this._last=O.Undefined):h.next===O.Undefined?(this._last=this._last.prev,this._last.next=O.Undefined):h.prev===O.Undefined&&(this._first=this._first.next,this._first.prev=O.Undefined);this._size-=1}*[Symbol.iterator](){let h=this._first;for(;h!==O.Undefined;)yield h.element,h=h.next}}var D=wd(671),de;const _e="en";let y=!1,V=!1,Z=!1,E=!1,H=!1,L=!1,ee=!1,k,b=null,ie=null,q;const oe=typeof self=="object"?self:typeof wd.g=="object"?wd.g:{};let se;typeof oe.vscode!="undefined"&&typeof oe.vscode.process!="undefined"?se=oe.vscode.process:typeof D!="undefined"&&(se=D);const w=typeof((de=se==null?void 0:se.versions)===null||de===void 0?void 0:de.electron)=="string"&&se.type==="renderer";if(typeof navigator=="object"&&!w)q=navigator.userAgent,y=q.indexOf("Windows")>=0,V=q.indexOf("Macintosh")>=0,ee=(q.indexOf("Macintosh")>=0||q.indexOf("iPad")>=0||q.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,Z=q.indexOf("Linux")>=0,L=!0,k=navigator.language,b=k;else if(typeof se=="object"){y=se.platform==="win32",V=se.platform==="darwin",Z=se.platform==="linux",E=Z&&!!se.env.SNAP&&!!se.env.SNAP_REVISION,k=_e,b=_e;const c=se.env.VSCODE_NLS_CONFIG;if(c)try{const h=JSON.parse(c),ae=h.availableLanguages["*"];k=h.locale,b=ae||_e,ie=h._translationsConfigFile}catch(h){}H=!0}else console.error("Unable to resolve platform.");let R=0;V?R=1:y?R=3:Z&&(R=2);const ne=y,U=V,C=null,d=null,G=null,g=null,p=null,f=function(){if(oe.setImmediate)return oe.setImmediate.bind(oe);if(typeof oe.postMessage=="function"&&!oe.importScripts){let ae=[];oe.addEventListener("message",_n=>{if(_n.data&&_n.data.vscodeSetImmediateId)for(let Nn=0,er=ae.length;Nn{const Nn=++je;ae.push({id:Nn,callback:_n}),oe.postMessage({vscodeSetImmediateId:Nn},"*")}}if(typeof(se==null?void 0:se.nextTick)=="function")return se.nextTick.bind(se);const h=Promise.resolve();return ae=>h.then(ae)}(),T=null;let m=!0,N=!1;function P(){if(!N){N=!0;const c=new Uint8Array(2);c[0]=1,c[1]=2,m=new Uint16Array(c.buffer)[0]===513}return m}const x=oe.performance&&typeof oe.performance.now=="function";class M{constructor(h){this._highResolution=x&&h,this._startTime=this._now(),this._stopTime=-1}static create(h=!0){return new M(h)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?oe.performance.now():Date.now()}}var me;(function(c){c.None=()=>W.None;function h(Ca){return(Qt,ni=null,Wa)=>{let qa=!1,so;return so=Ca(Vi=>{if(!qa)return so?so.dispose():qa=!0,Qt.call(ni,Vi)},null,Wa),qa&&so.dispose(),so}}c.once=h;function ae(Ca,Qt){return kr((ni,Wa=null,qa)=>Ca(so=>ni.call(Wa,Qt(so)),null,qa))}c.map=ae;function je(Ca,Qt){return kr((ni,Wa=null,qa)=>Ca(so=>{Qt(so),ni.call(Wa,so)},null,qa))}c.forEach=je;function _n(Ca,Qt){return kr((ni,Wa=null,qa)=>Ca(so=>Qt(so)&&ni.call(Wa,so),null,qa))}c.filter=_n;function Nn(Ca){return Ca}c.signal=Nn;function er(...Ca){return(Qt,ni=null,Wa)=>ue(...Ca.map(qa=>qa(so=>Qt.call(ni,so),null,Wa)))}c.any=er;function pr(Ca,Qt,ni){let Wa=ni;return ae(Ca,qa=>(Wa=Qt(Wa,qa),Wa))}c.reduce=pr;function kr(Ca){let Qt;const ni=new Ae({onFirstListenerAdd(){Qt=Ca(ni.fire,ni)},onLastListenerRemove(){Qt.dispose()}});return ni.event}function Er(Ca,Qt,ni=100,Wa=!1,qa){let so,Vi,ki,Gs=0;const Ds=new Ae({leakWarningThreshold:qa,onFirstListenerAdd(){so=Ca(ko=>{Gs++,Vi=Qt(Vi,ko),Wa&&!ki&&(Ds.fire(Vi),Vi=void 0),clearTimeout(ki),ki=setTimeout(()=>{const Pt=Vi;Vi=void 0,ki=void 0,(!Wa||Gs>1)&&Ds.fire(Pt),Gs=0},ni)})},onLastListenerRemove(){so.dispose()}});return Ds.event}c.debounce=Er;function gt(Ca,Qt=(ni,Wa)=>ni===Wa){let ni=!0,Wa;return _n(Ca,qa=>{const so=ni||!Qt(qa,Wa);return ni=!1,Wa=qa,so})}c.latch=gt;function rt(Ca,Qt){return[c.filter(Ca,Qt),c.filter(Ca,ni=>!Qt(ni))]}c.split=rt;function ma(Ca,Qt=!1,ni=[]){let Wa=ni.slice(),qa=Ca(ki=>{Wa?Wa.push(ki):Vi.fire(ki)});const so=()=>{Wa&&Wa.forEach(ki=>Vi.fire(ki)),Wa=null},Vi=new Ae({onFirstListenerAdd(){qa||(qa=Ca(ki=>Vi.fire(ki)))},onFirstListenerDidAdd(){Wa&&(Qt?setTimeout(so):so())},onLastListenerRemove(){qa&&qa.dispose(),qa=null}});return Vi.event}c.buffer=ma;class Ai{constructor(Qt){this.event=Qt}map(Qt){return new Ai(ae(this.event,Qt))}forEach(Qt){return new Ai(je(this.event,Qt))}filter(Qt){return new Ai(_n(this.event,Qt))}reduce(Qt,ni){return new Ai(pr(this.event,Qt,ni))}latch(){return new Ai(gt(this.event))}debounce(Qt,ni=100,Wa=!1,qa){return new Ai(Er(this.event,Qt,ni,Wa,qa))}on(Qt,ni,Wa){return this.event(Qt,ni,Wa)}once(Qt,ni,Wa){return h(this.event)(Qt,ni,Wa)}}function Ba(Ca){return new Ai(Ca)}c.chain=Ba;function _i(Ca,Qt,ni=Wa=>Wa){const Wa=(...ki)=>Vi.fire(ni(...ki)),qa=()=>Ca.on(Qt,Wa),so=()=>Ca.removeListener(Qt,Wa),Vi=new Ae({onFirstListenerAdd:qa,onLastListenerRemove:so});return Vi.event}c.fromNodeEventEmitter=_i;function No(Ca,Qt,ni=Wa=>Wa){const Wa=(...ki)=>Vi.fire(ni(...ki)),qa=()=>Ca.addEventListener(Qt,Wa),so=()=>Ca.removeEventListener(Qt,Wa),Vi=new Ae({onFirstListenerAdd:qa,onLastListenerRemove:so});return Vi.event}c.fromDOMEventEmitter=No;function to(Ca){return new Promise(Qt=>h(Ca)(Qt))}c.toPromise=to})(me||(me={}));class z{constructor(h){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${h}_${z._idPool++}`}start(h){this._stopWatch=new M(!0),this._listenerCount=h}stop(){if(this._stopWatch){const h=this._stopWatch.elapsed();this._elapsedOverall+=h,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${h.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}z._idPool=0;let K=-1;class I{constructor(h,ae=Math.random().toString(18).slice(2,5)){this.customThreshold=h,this.name=ae,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(h){let ae=K;if(typeof this.customThreshold=="number"&&(ae=this.customThreshold),ae<=0||h{const Nn=this._stacks.get(je)||0;this._stacks.set(je,Nn-1)}}}class Ae{constructor(h){var ae;this._disposed=!1,this._options=h,this._leakageMon=K>0?new I(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((ae=this._options)===null||ae===void 0)&&ae._profName?new z(this._options._profName):void 0}get event(){return this._event||(this._event=(h,ae,je)=>{var _n;this._listeners||(this._listeners=new A);const Nn=this._listeners.isEmpty();Nn&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const er=this._listeners.push(ae?[h,ae]:h);Nn&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,h,ae);const pr=(_n=this._leakageMon)===null||_n===void 0?void 0:_n.check(this._listeners.size),kr=$(()=>{pr&&pr(),this._disposed||(er(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return je instanceof Y?je.add(kr):Array.isArray(je)&&je.push(kr),kr}),this._event}fire(h){var ae,je;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new A);for(let _n of this._listeners)this._deliveryQueue.push([_n,h]);for((ae=this._perfMon)===null||ae===void 0||ae.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[_n,Nn]=this._deliveryQueue.shift();try{typeof _n=="function"?_n.call(void 0,Nn):_n[0].call(_n[1],Nn)}catch(er){Ql(er)}}(je=this._perfMon)===null||je===void 0||je.stop()}}dispose(){var h,ae,je,_n,Nn;this._disposed||(this._disposed=!0,(h=this._listeners)===null||h===void 0||h.clear(),(ae=this._deliveryQueue)===null||ae===void 0||ae.clear(),(_n=(je=this._options)===null||je===void 0?void 0:je.onLastListenerRemove)===null||_n===void 0||_n.call(je),(Nn=this._leakageMon)===null||Nn===void 0||Nn.dispose())}}class Oe extends null{constructor(h){super(h),this._isPaused=0,this._eventQueue=new LinkedList,this._mergeFn=h==null?void 0:h.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const h=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(h))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(h){this._listeners&&(this._isPaused!==0?this._eventQueue.push(h):super.fire(h))}}class te extends null{constructor(h){var ae;super(h),this._delay=(ae=h.delay)!==null&&ae!==void 0?ae:100}fire(h){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(h)}}class Se{constructor(){this.buffers=[]}wrapEvent(h){return(ae,je,_n)=>h(Nn=>{const er=this.buffers[this.buffers.length-1];er?er.push(()=>ae.call(je,Nn)):ae.call(je,Nn)},void 0,_n)}bufferEvents(h){const ae=[];this.buffers.push(ae);const je=h();return this.buffers.pop(),ae.forEach(_n=>_n()),je}}class be{constructor(){this.listening=!1,this.inputEvent=me.None,this.inputEventListener=Disposable.None,this.emitter=new Ae({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(h){this.inputEvent=h,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=h(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}function Ce(c){return Array.isArray(c)}function Be(c){return typeof c=="string"}function De(c){return typeof c=="object"&&c!==null&&!Array.isArray(c)&&!(c instanceof RegExp)&&!(c instanceof Date)}function en(c){return typeof c=="number"&&!isNaN(c)}function fe(c){return c===!0||c===!1}function Ne(c){return typeof c=="undefined"}function qe(c){return!pe(c)}function pe(c){return Ne(c)||c===null}function we(c,h){if(!c)throw new Error(h?`Unexpected type, expected '${h}'`:"Unexpected type")}function pn(c){if(pe(c))throw new Error("Assertion Failed: argument is undefined or null");return c}function Qe(c){return typeof c=="function"}function Re(c,h){const ae=Math.min(c.length,h.length);for(let je=0;jefunction(){const Nn=Array.prototype.slice.call(arguments,0);return h(_n,Nn)};let je={};for(const _n of c)je[_n]=ae(_n);return je}function En(c){return c===null?void 0:c}function i(c,h="Unreachable"){throw new Error(h)}function In(c){return!c||typeof c!="string"?!0:c.trim().length===0}const X=/{(\d+)}/g;function rn(c,...h){return h.length===0?c:c.replace(X,function(ae,je){const _n=parseInt(je,10);return isNaN(_n)||_n<0||_n>=h.length?ae:h[_n]})}function $n(c){return c.replace(/[<>&]/g,function(h){switch(h){case"<":return"<";case">":return">";case"&":return"&";default:return h}})}function Vn(c){return c.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function le(c,h=" "){const ae=Pe(c,h);return xe(ae,h)}function Pe(c,h){if(!c||!h)return c;const ae=h.length;if(ae===0||c.length===0)return c;let je=0;for(;c.indexOf(h,je)===je;)je=je+ae;return c.substring(je)}function xe(c,h){if(!c||!h)return c;const ae=h.length,je=c.length;if(ae===0||je===0)return c;let _n=je,Nn=-1;for(;Nn=c.lastIndexOf(h,_n-1),!(Nn===-1||Nn+ae!==_n);){if(Nn===0)return"";_n=Nn}return c.substring(0,_n)}function Ze(c){return c.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function hn(c){return c.replace(/\*/g,"")}function Le(c,h,ae={}){if(!c)throw new Error("Cannot create regex from empty string");h||(c=Vn(c)),ae.wholeWord&&(/\B/.test(c.charAt(0))||(c="\\b"+c),/\B/.test(c.charAt(c.length-1))||(c=c+"\\b"));let je="";return ae.global&&(je+="g"),ae.matchCase||(je+="i"),ae.multiline&&(je+="m"),ae.unicode&&(je+="u"),new RegExp(c,je)}function $e(c){return c.source==="^"||c.source==="^$"||c.source==="$"||c.source==="^\\s*$"?!1:!!(c.exec("")&&c.lastIndex===0)}function An(c){return(c.global?"g":"")+(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")}function Ue(c){return c.split(/\r\n|\r|\n/)}function gn(c){for(let h=0,ae=c.length;h=0;ae--){const je=c.charCodeAt(ae);if(je!==32&&je!==9)return ae}return-1}function Tn(c,h){return ch?1:0}function On(c,h,ae=0,je=c.length,_n=0,Nn=h.length){for(;aeEr)return 1}const er=je-ae,pr=Nn-_n;return erpr?1:0}function ur(c,h){return hr(c,h,0,c.length,0,h.length)}function hr(c,h,ae=0,je=c.length,_n=0,Nn=h.length){for(;ae=128||Er>=128)return On(c.toLowerCase(),h.toLowerCase(),ae,je,_n,Nn);wr(kr)&&(kr-=32),wr(Er)&&(Er-=32);const gt=kr-Er;if(gt!==0)return gt}const er=je-ae,pr=Nn-_n;return erpr?1:0}function wr(c){return c>=97&&c<=122}function Qr(c){return c>=65&&c<=90}function Ke(c,h){return c.length===h.length&&hr(c,h)===0}function jn(c,h){const ae=h.length;return h.length>c.length?!1:hr(c,h,0,ae)===0}function Zn(c,h){let ae,je=Math.min(c.length,h.length);for(ae=0;ae1){const je=c.charCodeAt(h-2);if(Mn(je))return Xn(je,ae)}return ae}function Fe(c,h){const ae=Ur.getInstance(),je=h,_n=c.length,Nn=yr(c,_n,h);h+=Nn>=65536?2:1;let er=ae.getGraphemeBreakType(Nn);for(;h<_n;){const pr=yr(c,_n,h),kr=ae.getGraphemeBreakType(pr);if(dt(er,kr))break;h+=pr>=65536?2:1,er=kr}return h-je}function Bn(c,h){const ae=Ur.getInstance(),je=h,_n=cr(c,h);h-=_n>=65536?2:1;let Nn=ae.getGraphemeBreakType(_n);for(;h>0;){const er=cr(c,h),pr=ae.getGraphemeBreakType(er);if(dt(pr,Nn))break;h-=er>=65536?2:1,Nn=pr}return je-h}const J=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function Cn(c){return J.test(c)}const Gn=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDED6])/;function cn(c){return Gn.test(c)}const Rn=/^[\t\n\r\x20-\x7E]*$/;function Ye(c){return Rn.test(c)}const xn=/[\u2028\u2029]/;function an(c){return xn.test(c)}function zn(c){for(let h=0,ae=c.length;h=11904&&c<=55215||c>=63744&&c<=64255||c>=65281&&c<=65374}function gr(c){return c>=127462&&c<=127487||c===8986||c===8987||c===9200||c===9203||c>=9728&&c<=10175||c===11088||c===11093||c>=127744&&c<=128591||c>=128640&&c<=128764||c>=128992&&c<=129003||c>=129280&&c<=129535||c>=129648&&c<=129750}const Dr="\uFEFF";function qr(c){return!!(c&&c.length>0&&c.charCodeAt(0)===65279)}function ft(c,h=!1){return c?(h&&(c=c.replace(/\\./g,"")),c.toLowerCase()!==c):!1}function xt(c){return c=c%(2*26),c<26?String.fromCharCode(97+c):String.fromCharCode(65+c-26)}function Kr(c){return Ur.getInstance().getGraphemeBreakType(c)}function dt(c,h){return c===0?h!==5&&h!==7:c===2&&h===3?!1:c===4||c===2||c===3||h===4||h===2||h===3?!0:!(c===8&&(h===8||h===9||h===11||h===12)||(c===11||c===9)&&(h===9||h===10)||(c===12||c===10)&&h===10||h===5||h===13||h===7||c===1||c===13&&h===14||c===6&&h===6)}class Ur{constructor(){this._data=qt()}static getInstance(){return Ur._INSTANCE||(Ur._INSTANCE=new Ur),Ur._INSTANCE}getGraphemeBreakType(h){if(h<32)return h===10?3:h===13?2:4;if(h<127)return 0;const ae=this._data,je=ae.length/3;let _n=1;for(;_n<=je;)if(hae[3*_n+1])_n=2*_n+1;else return ae[3*_n+2];return 0}}Ur._INSTANCE=null;function qt(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}function Cr(c,h){if(c===0)return 0;const ae=Jt(c,h);if(ae!==void 0)return ae;const je=cr(h,c);return c-=Ot(je),c}function Jt(c,h){let ae=cr(h,c);for(c-=Ot(ae);ri(ae)||ae===65039||ae===8419;){if(c===0)return;ae=cr(h,c),c-=Ot(ae)}if(gr(ae)){if(c>=0){const je=cr(h,c);je===8205&&(c-=Ot(je))}return c}}function Ot(c){return c>=65536?2:1}function ri(c){return 127995<=c&&c<=127999}const Ya="$initialize";let eo=!1;function za(c){isWeb&&(eo||(eo=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/microsoft/monaco-editor#faq")),console.warn(c.message))}class ua{constructor(h,ae,je,_n){this.vsWorker=h,this.req=ae,this.method=je,this.args=_n,this.type=0}}class Ar{constructor(h,ae,je,_n){this.vsWorker=h,this.seq=ae,this.res=je,this.err=_n,this.type=1}}class at{constructor(h,ae,je,_n){this.vsWorker=h,this.req=ae,this.eventName=je,this.arg=_n,this.type=2}}class Hr{constructor(h,ae,je){this.vsWorker=h,this.req=ae,this.event=je,this.type=3}}class Wt{constructor(h,ae){this.vsWorker=h,this.req=ae,this.type=4}}class Zt{constructor(h){this._workerId=-1,this._handler=h,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(h){this._workerId=h}sendMessage(h,ae){const je=String(++this._lastSentReq);return new Promise((_n,Nn)=>{this._pendingReplies[je]={resolve:_n,reject:Nn},this._send(new ua(this._workerId,je,h,ae))})}listen(h,ae){let je=null;const _n=new Ae({onFirstListenerAdd:()=>{je=String(++this._lastSentReq),this._pendingEmitters.set(je,_n),this._send(new at(this._workerId,je,h,ae))},onLastListenerRemove:()=>{this._pendingEmitters.delete(je),this._send(new Wt(this._workerId,je)),je=null}});return _n.event}handleMessage(h){!h||!h.vsWorker||this._workerId!==-1&&h.vsWorker!==this._workerId||this._handleMessage(h)}_handleMessage(h){switch(h.type){case 1:return this._handleReplyMessage(h);case 0:return this._handleRequestMessage(h);case 2:return this._handleSubscribeEventMessage(h);case 3:return this._handleEventMessage(h);case 4:return this._handleUnsubscribeEventMessage(h)}}_handleReplyMessage(h){if(!this._pendingReplies[h.seq]){console.warn("Got reply to unknown seq");return}let ae=this._pendingReplies[h.seq];if(delete this._pendingReplies[h.seq],h.err){let je=h.err;h.err.$isError&&(je=new Error,je.name=h.err.name,je.message=h.err.message,je.stack=h.err.stack),ae.reject(je);return}ae.resolve(h.res)}_handleRequestMessage(h){let ae=h.req;this._handler.handleMessage(h.method,h.args).then(_n=>{this._send(new Ar(this._workerId,ae,_n,void 0))},_n=>{_n.detail instanceof Error&&(_n.detail=Ru(_n.detail)),this._send(new Ar(this._workerId,ae,void 0,Ru(_n)))})}_handleSubscribeEventMessage(h){const ae=h.req,je=this._handler.handleEvent(h.eventName,h.arg)(_n=>{this._send(new Hr(this._workerId,ae,_n))});this._pendingEvents.set(ae,je)}_handleEventMessage(h){if(!this._pendingEmitters.has(h.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(h.req).fire(h.event)}_handleUnsubscribeEventMessage(h){if(!this._pendingEvents.has(h.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(h.req).dispose(),this._pendingEvents.delete(h.req)}_send(h){let ae=[];if(h.type===0)for(let je=0;je{this._protocol.handleMessage(Er)},Er=>{_n&&_n(Er)})),this._protocol=new Zt({sendMessage:(Er,gt)=>{this._worker.postMessage(Er,gt)},handleMessage:(Er,gt)=>{if(typeof je[Er]!="function")return Promise.reject(new Error("Missing method "+Er+" on main thread host."));try{return Promise.resolve(je[Er].apply(je,gt))}catch(rt){return Promise.reject(rt)}},handleEvent:(Er,gt)=>{if(Xr(Er)){const rt=je[Er].call(je,gt);if(typeof rt!="function")throw new Error(`Missing dynamic event ${Er} on main thread host.`);return rt}if(Lr(Er)){const rt=je[Er];if(typeof rt!="function")throw new Error(`Missing event ${Er} on main thread host.`);return rt}throw new Error(`Malformed event name ${Er}`)}}),this._protocol.setWorkerId(this._worker.getId());let Nn=null;typeof globals.require!="undefined"&&typeof globals.require.getConfig=="function"?Nn=globals.require.getConfig():typeof globals.requirejs!="undefined"&&(Nn=globals.requirejs.s.contexts._.config);const er=types.getAllMethodNames(je);this._onModuleLoaded=this._protocol.sendMessage(Ya,[this._worker.getId(),JSON.parse(JSON.stringify(Nn)),ae,er]);const pr=(Er,gt)=>this._request(Er,gt),kr=(Er,gt)=>this._protocol.listen(Er,gt);this._lazyProxy=new Promise((Er,gt)=>{_n=gt,this._onModuleLoaded.then(rt=>{Er(nt(rt,pr,kr))},rt=>{gt(rt),this._onError("Worker failed to load "+ae,rt)})})}getProxyObject(){return this._lazyProxy}_request(h,ae){return new Promise((je,_n)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(h,ae).then(je,_n)},_n)})}_onError(h,ae){console.error(h),console.info(ae)}}function Lr(c){return c[0]==="o"&&c[1]==="n"&&Qr(c.charCodeAt(2))}function Xr(c){return/^onDynamic/.test(c)&&Qr(c.charCodeAt(9))}function nt(c,h,ae){const je=er=>function(){const pr=Array.prototype.slice.call(arguments,0);return h(er,pr)},_n=er=>function(pr){return ae(er,pr)};let Nn={};for(const er of c){if(Xr(er)){Nn[er]=_n(er);continue}if(Lr(er)){Nn[er]=ae(er,void 0);continue}Nn[er]=je(er)}return Nn}class vt{constructor(h,ae){this._requestHandlerFactory=ae,this._requestHandler=null,this._protocol=new Zt({sendMessage:(je,_n)=>{h(je,_n)},handleMessage:(je,_n)=>this._handleMessage(je,_n),handleEvent:(je,_n)=>this._handleEvent(je,_n)})}onmessage(h){this._protocol.handleMessage(h)}_handleMessage(h,ae){if(h===Ya)return this.initialize(ae[0],ae[1],ae[2],ae[3]);if(!this._requestHandler||typeof this._requestHandler[h]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+h));try{return Promise.resolve(this._requestHandler[h].apply(this._requestHandler,ae))}catch(je){return Promise.reject(je)}}_handleEvent(h,ae){if(!this._requestHandler)throw new Error("Missing requestHandler");if(Xr(h)){const je=this._requestHandler[h].call(this._requestHandler,ae);if(typeof je!="function")throw new Error(`Missing dynamic event ${h} on request handler.`);return je}if(Lr(h)){const je=this._requestHandler[h];if(typeof je!="function")throw new Error(`Missing event ${h} on request handler.`);return je}throw new Error(`Malformed event name ${h}`)}initialize(h,ae,je,_n){this._protocol.setWorkerId(h);const pr=nt(_n,(kr,Er)=>this._protocol.sendMessage(kr,Er),(kr,Er)=>this._protocol.listen(kr,Er));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(pr),Promise.resolve(Un(this._requestHandler))):(ae&&(typeof ae.baseUrl!="undefined"&&delete ae.baseUrl,typeof ae.paths!="undefined"&&typeof ae.paths.vs!="undefined"&&delete ae.paths.vs,typeof ae.trustedTypesPolicy!==void 0&&delete ae.trustedTypesPolicy,ae.catchError=!0,oe.require.config(ae)),new Promise((kr,Er)=>{const gt=oe.require;gt([je],rt=>{if(this._requestHandler=rt.create(pr),!this._requestHandler){Er(new Error("No RequestHandler!"));return}kr(Un(this._requestHandler))},Er)}))}}function or(c){return new vt(c,null)}class $t{constructor(h,ae,je,_n){this.originalStart=h,this.originalLength=ae,this.modifiedStart=je,this.modifiedLength=_n}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function Va(c){return li(c,0)}function li(c,h){switch(typeof c){case"object":return c===null?zi(349,h):Array.isArray(c)?Yi(c,h):uo(c,h);case"string":return di(c,h);case"boolean":return Ma(c,h);case"number":return zi(c,h);case"undefined":return zi(937,h);default:return zi(617,h)}}function zi(c,h){return(h<<5)-h+c|0}function Ma(c,h){return zi(c?433:863,h)}function di(c,h){h=zi(149417,h);for(let ae=0,je=c.length;aeli(je,ae),h)}function uo(c,h){return h=zi(181387,h),Object.keys(c).sort().reduce((ae,je)=>(ae=di(je,ae),li(c[je],ae)),h)}function bi(c,h,ae=32){const je=ae-h,_n=~((1<>>je)>>>0}function Mi(c,h=0,ae=c.byteLength,je=0){for(let _n=0;_nae.toString(16).padStart(2,"0")).join(""):Go((c>>>0).toString(16),h/4)}class wi{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(h){const ae=h.length;if(ae===0)return;const je=this._buff;let _n=this._buffLen,Nn=this._leftoverHighSurrogate,er,pr;for(Nn!==0?(er=Nn,pr=-1,Nn=0):(er=h.charCodeAt(0),pr=0);;){let kr=er;if(Mn(er))if(pr+1>>6,h[ae++]=128|(je&63)>>>0):je<65536?(h[ae++]=224|(je&61440)>>>12,h[ae++]=128|(je&4032)>>>6,h[ae++]=128|(je&63)>>>0):(h[ae++]=240|(je&1835008)>>>18,h[ae++]=128|(je&258048)>>>12,h[ae++]=128|(je&4032)>>>6,h[ae++]=128|(je&63)>>>0),ae>=64&&(this._step(),ae-=64,this._totalLen+=64,h[0]=h[64],h[1]=h[65],h[2]=h[66]),ae}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),io(this._h0)+io(this._h1)+io(this._h2)+io(this._h3)+io(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,Mi(this._buff,this._buffLen),this._buffLen>56&&(this._step(),Mi(this._buff));const h=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(h/4294967296),!1),this._buffDV.setUint32(60,h%4294967296,!1),this._step()}_step(){const h=wi._bigBlock32,ae=this._buffDV;for(let rt=0;rt<64;rt+=4)h.setUint32(rt,ae.getUint32(rt,!1),!1);for(let rt=64;rt<320;rt+=4)h.setUint32(rt,bi(h.getUint32(rt-12,!1)^h.getUint32(rt-32,!1)^h.getUint32(rt-56,!1)^h.getUint32(rt-64,!1),1),!1);let je=this._h0,_n=this._h1,Nn=this._h2,er=this._h3,pr=this._h4,kr,Er,gt;for(let rt=0;rt<80;rt++)rt<20?(kr=_n&Nn|~_n&er,Er=1518500249):rt<40?(kr=_n^Nn^er,Er=1859775393):rt<60?(kr=_n&Nn|_n&er|Nn&er,Er=2400959708):(kr=_n^Nn^er,Er=3395469782),gt=bi(je,5)+kr+pr+Er+h.getUint32(rt*4,!1)&4294967295,pr=er,er=Nn,Nn=bi(_n,30),_n=je,je=gt;this._h0=this._h0+je&4294967295,this._h1=this._h1+_n&4294967295,this._h2=this._h2+Nn&4294967295,this._h3=this._h3+er&4294967295,this._h4=this._h4+pr&4294967295}}wi._bigBlock32=new DataView(new ArrayBuffer(320));class Ho{constructor(h){this.source=h}getElements(){const h=this.source,ae=new Int32Array(h.length);for(let je=0,_n=h.length;je<_n;je++)ae[je]=h.charCodeAt(je);return ae}}function qi(c,h,ae){return new Da(new Ho(c),new Ho(h)).ComputeDiff(ae).changes}class Qi{static Assert(h,ae){if(!h)throw new Error(ae)}}class as{static Copy(h,ae,je,_n,Nn){for(let er=0;er0||this.m_modifiedCount>0)&&this.m_changes.push(new $t(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(h,ae){this.m_originalStart=Math.min(this.m_originalStart,h),this.m_modifiedStart=Math.min(this.m_modifiedStart,ae),this.m_originalCount++}AddModifiedElement(h,ae){this.m_originalStart=Math.min(this.m_originalStart,h),this.m_modifiedStart=Math.min(this.m_modifiedStart,ae),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class Da{constructor(h,ae,je=null){this.ContinueProcessingPredicate=je,this._originalSequence=h,this._modifiedSequence=ae;const[_n,Nn,er]=Da._getElements(h),[pr,kr,Er]=Da._getElements(ae);this._hasStrings=er&&Er,this._originalStringElements=_n,this._originalElementsOrHash=Nn,this._modifiedStringElements=pr,this._modifiedElementsOrHash=kr,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(h){return h.length>0&&typeof h[0]=="string"}static _getElements(h){const ae=h.getElements();if(Da._isStringArray(ae)){const je=new Int32Array(ae.length);for(let _n=0,Nn=ae.length;_n=h&&_n>=je&&this.ElementsAreEqual(ae,_n);)ae--,_n--;if(h>ae||je>_n){let rt;return je<=_n?(Qi.Assert(h===ae+1,"originalStart should only be one more than originalEnd"),rt=[new $t(h,0,je,_n-je+1)]):h<=ae?(Qi.Assert(je===_n+1,"modifiedStart should only be one more than modifiedEnd"),rt=[new $t(h,ae-h+1,je,0)]):(Qi.Assert(h===ae+1,"originalStart should only be one more than originalEnd"),Qi.Assert(je===_n+1,"modifiedStart should only be one more than modifiedEnd"),rt=[]),rt}const er=[0],pr=[0],kr=this.ComputeRecursionPoint(h,ae,je,_n,er,pr,Nn),Er=er[0],gt=pr[0];if(kr!==null)return kr;if(!Nn[0]){const rt=this.ComputeDiffRecursive(h,Er,je,gt,Nn);let ma=[];return Nn[0]?ma=[new $t(Er+1,ae-(Er+1)+1,gt+1,_n-(gt+1)+1)]:ma=this.ComputeDiffRecursive(Er+1,ae,gt+1,_n,Nn),this.ConcatenateChanges(rt,ma)}return[new $t(h,ae-h+1,je,_n-je+1)]}WALKTRACE(h,ae,je,_n,Nn,er,pr,kr,Er,gt,rt,ma,Ai,Ba,_i,No,to,Ca){let Qt=null,ni=null,Wa=new gs,qa=ae,so=je,Vi=Ai[0]-No[0]-_n,ki=-1073741824,Gs=this.m_forwardHistory.length-1;do{const Ds=Vi+h;Ds===qa||Ds=0&&(Er=this.m_forwardHistory[Gs],h=Er[0],qa=1,so=Er.length-1)}while(--Gs>=-1);if(Qt=Wa.getReverseChanges(),Ca[0]){let Ds=Ai[0]+1,ko=No[0]+1;if(Qt!==null&&Qt.length>0){const Pt=Qt[Qt.length-1];Ds=Math.max(Ds,Pt.getOriginalEnd()),ko=Math.max(ko,Pt.getModifiedEnd())}ni=[new $t(Ds,ma-Ds+1,ko,_i-ko+1)]}else{Wa=new gs,qa=er,so=pr,Vi=Ai[0]-No[0]-kr,ki=1073741824,Gs=to?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const Ds=Vi+Nn;Ds===qa||Ds=gt[Ds+1]?(rt=gt[Ds+1]-1,Ba=rt-Vi-kr,rt>ki&&Wa.MarkNextChange(),ki=rt+1,Wa.AddOriginalElement(rt+1,Ba+1),Vi=Ds+1-Nn):(rt=gt[Ds-1],Ba=rt-Vi-kr,rt>ki&&Wa.MarkNextChange(),ki=rt,Wa.AddModifiedElement(rt+1,Ba+1),Vi=Ds-1-Nn),Gs>=0&&(gt=this.m_reverseHistory[Gs],Nn=gt[0],qa=1,so=gt.length-1)}while(--Gs>=-1);ni=Wa.getChanges()}return this.ConcatenateChanges(Qt,ni)}ComputeRecursionPoint(h,ae,je,_n,Nn,er,pr){let kr=0,Er=0,gt=0,rt=0,ma=0,Ai=0;h--,je--,Nn[0]=0,er[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const Ba=ae-h+(_n-je),_i=Ba+1,No=new Int32Array(_i),to=new Int32Array(_i),Ca=_n-je,Qt=ae-h,ni=h-je,Wa=ae-_n,so=(Qt-Ca)%2===0;No[Ca]=h,to[Qt]=ae,pr[0]=!1;for(let Vi=1;Vi<=Ba/2+1;Vi++){let ki=0,Gs=0;gt=this.ClipDiagonalBound(Ca-Vi,Vi,Ca,_i),rt=this.ClipDiagonalBound(Ca+Vi,Vi,Ca,_i);for(let ko=gt;ko<=rt;ko+=2){ko===gt||koki+Gs&&(ki=kr,Gs=Er),!so&&Math.abs(ko-Qt)<=Vi-1&&kr>=to[ko])return Nn[0]=kr,er[0]=Er,Pt<=to[ko]&&Vi<=1448?this.WALKTRACE(Ca,gt,rt,ni,Qt,ma,Ai,Wa,No,to,kr,ae,Nn,Er,_n,er,so,pr):null}const Ds=(ki-h+(Gs-je)-Vi)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(ki,Ds))return pr[0]=!0,Nn[0]=ki,er[0]=Gs,Ds>0&&Vi<=1448?this.WALKTRACE(Ca,gt,rt,ni,Qt,ma,Ai,Wa,No,to,kr,ae,Nn,Er,_n,er,so,pr):(h++,je++,[new $t(h,ae-h+1,je,_n-je+1)]);ma=this.ClipDiagonalBound(Qt-Vi,Vi,Qt,_i),Ai=this.ClipDiagonalBound(Qt+Vi,Vi,Qt,_i);for(let ko=ma;ko<=Ai;ko+=2){ko===ma||ko=to[ko+1]?kr=to[ko+1]-1:kr=to[ko-1],Er=kr-(ko-Qt)-Wa;const Pt=kr;for(;kr>h&&Er>je&&this.ElementsAreEqual(kr,Er);)kr--,Er--;if(to[ko]=kr,so&&Math.abs(ko-Ca)<=Vi&&kr<=No[ko])return Nn[0]=kr,er[0]=Er,Pt>=No[ko]&&Vi<=1448?this.WALKTRACE(Ca,gt,rt,ni,Qt,ma,Ai,Wa,No,to,kr,ae,Nn,Er,_n,er,so,pr):null}if(Vi<=1447){let ko=new Int32Array(rt-gt+2);ko[0]=Ca-gt+1,as.Copy2(No,gt,ko,1,rt-gt+1),this.m_forwardHistory.push(ko),ko=new Int32Array(Ai-ma+2),ko[0]=Qt-ma+1,as.Copy2(to,ma,ko,1,Ai-ma+1),this.m_reverseHistory.push(ko)}}return this.WALKTRACE(Ca,gt,rt,ni,Qt,ma,Ai,Wa,No,to,kr,ae,Nn,Er,_n,er,so,pr)}PrettifyChanges(h){for(let ae=0;ae0,pr=je.modifiedLength>0;for(;je.originalStart+je.originalLength<_n&&je.modifiedStart+je.modifiedLength=0;ae--){const je=h[ae];let _n=0,Nn=0;if(ae>0){const rt=h[ae-1];_n=rt.originalStart+rt.originalLength,Nn=rt.modifiedStart+rt.modifiedLength}const er=je.originalLength>0,pr=je.modifiedLength>0;let kr=0,Er=this._boundaryScore(je.originalStart,je.originalLength,je.modifiedStart,je.modifiedLength);for(let rt=1;;rt++){const ma=je.originalStart-rt,Ai=je.modifiedStart-rt;if(ma<_n||AiEr&&(Er=_i,kr=rt)}je.originalStart-=kr,je.modifiedStart-=kr;const gt=[null];if(ae>0&&this.ChangesOverlap(h[ae-1],h[ae],gt)){h[ae-1]=gt[0],h.splice(ae,1),ae++;continue}}if(this._hasStrings)for(let ae=1,je=h.length;ae0&&Ai>kr&&(kr=Ai,Er=rt,gt=ma)}return kr>0?[Er,gt]:null}_contiguousSequenceScore(h,ae,je){let _n=0;for(let Nn=0;Nn=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[h])}_OriginalRegionIsBoundary(h,ae){if(this._OriginalIsBoundary(h)||this._OriginalIsBoundary(h-1))return!0;if(ae>0){const je=h+ae;if(this._OriginalIsBoundary(je-1)||this._OriginalIsBoundary(je))return!0}return!1}_ModifiedIsBoundary(h){return h<=0||h>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[h])}_ModifiedRegionIsBoundary(h,ae){if(this._ModifiedIsBoundary(h)||this._ModifiedIsBoundary(h-1))return!0;if(ae>0){const je=h+ae;if(this._ModifiedIsBoundary(je-1)||this._ModifiedIsBoundary(je))return!0}return!1}_boundaryScore(h,ae,je,_n){const Nn=this._OriginalRegionIsBoundary(h,ae)?1:0,er=this._ModifiedRegionIsBoundary(je,_n)?1:0;return Nn+er}ConcatenateChanges(h,ae){let je=[];if(h.length===0||ae.length===0)return ae.length>0?ae:h;if(this.ChangesOverlap(h[h.length-1],ae[0],je)){const _n=new Array(h.length+ae.length-1);return as.Copy(h,0,_n,0,h.length-1),_n[h.length-1]=je[0],as.Copy(ae,1,_n,h.length,ae.length-1),_n}else{const _n=new Array(h.length+ae.length);return as.Copy(h,0,_n,0,h.length),as.Copy(ae,0,_n,h.length,ae.length),_n}}ChangesOverlap(h,ae,je){if(Qi.Assert(h.originalStart<=ae.originalStart,"Left change is not less than or equal to right change"),Qi.Assert(h.modifiedStart<=ae.modifiedStart,"Left change is not less than or equal to right change"),h.originalStart+h.originalLength>=ae.originalStart||h.modifiedStart+h.modifiedLength>=ae.modifiedStart){const _n=h.originalStart;let Nn=h.originalLength;const er=h.modifiedStart;let pr=h.modifiedLength;return h.originalStart+h.originalLength>=ae.originalStart&&(Nn=ae.originalStart+ae.originalLength-h.originalStart),h.modifiedStart+h.modifiedLength>=ae.modifiedStart&&(pr=ae.modifiedStart+ae.modifiedLength-h.modifiedStart),je[0]=new $t(_n,Nn,er,pr),!0}else return je[0]=null,!1}ClipDiagonalBound(h,ae,je,_n){if(h>=0&&h<_n)return h;const Nn=je,er=_n-je-1,pr=ae%2===0;if(h<0){const kr=Nn%2===0;return pr===kr?0:1}else{const kr=er%2===0;return pr===kr?_n-1:_n-2}}}var $a=wd(671);let Ni;if(typeof oe.vscode!="undefined"&&typeof oe.vscode.process!="undefined"){const c=oe.vscode.process;Ni={get platform(){return c.platform},get arch(){return c.arch},get env(){return c.env},cwd(){return c.cwd()},nextTick(h){return f(h)}}}else typeof $a!="undefined"?Ni={get platform(){return $a.platform},get arch(){return $a.arch},get env(){return{NODE_ENV:"production",PUBLIC_PATH:"https://www-cdn.educoder.net/"}},cwd(){return{NODE_ENV:"production",PUBLIC_PATH:"https://www-cdn.educoder.net/"}.VSCODE_CWD||$a.cwd()},nextTick(c){return $a.nextTick(c)}}:Ni={get platform(){return ne?"win32":U?"darwin":"linux"},get arch(){},nextTick(c){return f(c)},get env(){return{}},cwd(){return"/"}};const vo=Ni.cwd,Io=Ni.env,Bo=Ni.platform,Uo=65,cs=97,us=90,Jo=122,is=46,mn=47,_r=92,$r=58,ia=63;class ti extends Error{constructor(h,ae,je){let _n;typeof ae=="string"&&ae.indexOf("not ")===0?(_n="must not be",ae=ae.replace(/^not /,"")):_n="must be";const Nn=h.indexOf(".")!==-1?"property":"argument";let er=`The "${h}" ${Nn} ${_n} of type ${ae}`;er+=`. Received type ${typeof je}`,super(er),this.code="ERR_INVALID_ARG_TYPE"}}function va(c,h){if(typeof c!="string")throw new ti(h,"string",c)}function Ve(c){return c===mn||c===_r}function ce(c){return c===mn}function dn(c){return c>=Uo&&c<=us||c>=cs&&c<=Jo}function j(c,h,ae,je){let _n="",Nn=0,er=-1,pr=0,kr=0;for(let Er=0;Er<=c.length;++Er){if(Er2){const gt=_n.lastIndexOf(ae);gt===-1?(_n="",Nn=0):(_n=_n.slice(0,gt),Nn=_n.length-1-_n.lastIndexOf(ae)),er=Er,pr=0;continue}else if(_n.length!==0){_n="",Nn=0,er=Er,pr=0;continue}}h&&(_n+=_n.length>0?`${ae}..`:"..",Nn=2)}else _n.length>0?_n+=`${ae}${c.slice(er+1,Er)}`:_n=c.slice(er+1,Er),Nn=Er-er-1;er=Er,pr=0}else kr===is&&pr!==-1?++pr:pr=-1}return _n}function Ie(c,h){if(h===null||typeof h!="object")throw new ti("pathObject","Object",h);const ae=h.dir||h.root,je=h.base||`${h.name||""}${h.ext||""}`;return ae?ae===h.root?`${ae}${je}`:`${ae}${c}${je}`:je}const We={resolve(...c){let h="",ae="",je=!1;for(let _n=c.length-1;_n>=-1;_n--){let Nn;if(_n>=0){if(Nn=c[_n],va(Nn,"path"),Nn.length===0)continue}else h.length===0?Nn=vo():(Nn={NODE_ENV:"production",PUBLIC_PATH:"https://www-cdn.educoder.net/"}[`=${h}`]||vo(),(Nn===void 0||Nn.slice(0,2).toLowerCase()!==h.toLowerCase()&&Nn.charCodeAt(2)===_r)&&(Nn=`${h}\\`));const er=Nn.length;let pr=0,kr="",Er=!1;const gt=Nn.charCodeAt(0);if(er===1)Ve(gt)&&(pr=1,Er=!0);else if(Ve(gt))if(Er=!0,Ve(Nn.charCodeAt(1))){let rt=2,ma=rt;for(;rt2&&Ve(Nn.charCodeAt(2))&&(Er=!0,pr=3));if(kr.length>0)if(h.length>0){if(kr.toLowerCase()!==h.toLowerCase())continue}else h=kr;if(je){if(h.length>0)break}else if(ae=`${Nn.slice(pr)}\\${ae}`,je=Er,Er&&h.length>0)break}return ae=j(ae,!je,"\\",Ve),je?`${h}\\${ae}`:`${h}${ae}`||"."},normalize(c){va(c,"path");const h=c.length;if(h===0)return".";let ae=0,je,_n=!1;const Nn=c.charCodeAt(0);if(h===1)return ce(Nn)?"\\":c;if(Ve(Nn))if(_n=!0,Ve(c.charCodeAt(1))){let pr=2,kr=pr;for(;pr2&&Ve(c.charCodeAt(2))&&(_n=!0,ae=3));let er=ae0&&Ve(c.charCodeAt(h-1))&&(er+="\\"),je===void 0?_n?`\\${er}`:er:_n?`${je}\\${er}`:`${je}${er}`},isAbsolute(c){va(c,"path");const h=c.length;if(h===0)return!1;const ae=c.charCodeAt(0);return Ve(ae)||h>2&&dn(ae)&&c.charCodeAt(1)===$r&&Ve(c.charCodeAt(2))},join(...c){if(c.length===0)return".";let h,ae;for(let Nn=0;Nn0&&(h===void 0?h=ae=er:h+=`\\${er}`)}if(h===void 0)return".";let je=!0,_n=0;if(typeof ae=="string"&&Ve(ae.charCodeAt(0))){++_n;const Nn=ae.length;Nn>1&&Ve(ae.charCodeAt(1))&&(++_n,Nn>2&&(Ve(ae.charCodeAt(2))?++_n:je=!1))}if(je){for(;_n=2&&(h=`\\${h.slice(_n)}`)}return We.normalize(h)},relative(c,h){if(va(c,"from"),va(h,"to"),c===h)return"";const ae=We.resolve(c),je=We.resolve(h);if(ae===je||(c=ae.toLowerCase(),h=je.toLowerCase(),c===h))return"";let _n=0;for(;_n_n&&c.charCodeAt(Nn-1)===_r;)Nn--;const er=Nn-_n;let pr=0;for(;prpr&&h.charCodeAt(kr-1)===_r;)kr--;const Er=kr-pr,gt=ergt){if(h.charCodeAt(pr+ma)===_r)return je.slice(pr+ma+1);if(ma===2)return je.slice(pr+ma)}er>gt&&(c.charCodeAt(_n+ma)===_r?rt=ma:ma===2&&(rt=3)),rt===-1&&(rt=0)}let Ai="";for(ma=_n+rt+1;ma<=Nn;++ma)(ma===Nn||c.charCodeAt(ma)===_r)&&(Ai+=Ai.length===0?"..":"\\..");return pr+=rt,Ai.length>0?`${Ai}${je.slice(pr,kr)}`:(je.charCodeAt(pr)===_r&&++pr,je.slice(pr,kr))},toNamespacedPath(c){if(typeof c!="string")return c;if(c.length===0)return"";const h=We.resolve(c);if(h.length<=2)return c;if(h.charCodeAt(0)===_r){if(h.charCodeAt(1)===_r){const ae=h.charCodeAt(2);if(ae!==ia&&ae!==is)return`\\\\?\\UNC\\${h.slice(2)}`}}else if(dn(h.charCodeAt(0))&&h.charCodeAt(1)===$r&&h.charCodeAt(2)===_r)return`\\\\?\\${h}`;return c},dirname(c){va(c,"path");const h=c.length;if(h===0)return".";let ae=-1,je=0;const _n=c.charCodeAt(0);if(h===1)return Ve(_n)?c:".";if(Ve(_n)){if(ae=je=1,Ve(c.charCodeAt(1))){let pr=2,kr=pr;for(;pr2&&Ve(c.charCodeAt(2))?3:2,je=ae);let Nn=-1,er=!0;for(let pr=h-1;pr>=je;--pr)if(Ve(c.charCodeAt(pr))){if(!er){Nn=pr;break}}else er=!1;if(Nn===-1){if(ae===-1)return".";Nn=ae}return c.slice(0,Nn)},basename(c,h){h!==void 0&&va(h,"ext"),va(c,"path");let ae=0,je=-1,_n=!0,Nn;if(c.length>=2&&dn(c.charCodeAt(0))&&c.charCodeAt(1)===$r&&(ae=2),h!==void 0&&h.length>0&&h.length<=c.length){if(h===c)return"";let er=h.length-1,pr=-1;for(Nn=c.length-1;Nn>=ae;--Nn){const kr=c.charCodeAt(Nn);if(Ve(kr)){if(!_n){ae=Nn+1;break}}else pr===-1&&(_n=!1,pr=Nn+1),er>=0&&(kr===h.charCodeAt(er)?--er===-1&&(je=Nn):(er=-1,je=pr))}return ae===je?je=pr:je===-1&&(je=c.length),c.slice(ae,je)}for(Nn=c.length-1;Nn>=ae;--Nn)if(Ve(c.charCodeAt(Nn))){if(!_n){ae=Nn+1;break}}else je===-1&&(_n=!1,je=Nn+1);return je===-1?"":c.slice(ae,je)},extname(c){va(c,"path");let h=0,ae=-1,je=0,_n=-1,Nn=!0,er=0;c.length>=2&&c.charCodeAt(1)===$r&&dn(c.charCodeAt(0))&&(h=je=2);for(let pr=c.length-1;pr>=h;--pr){const kr=c.charCodeAt(pr);if(Ve(kr)){if(!Nn){je=pr+1;break}continue}_n===-1&&(Nn=!1,_n=pr+1),kr===is?ae===-1?ae=pr:er!==1&&(er=1):ae!==-1&&(er=-1)}return ae===-1||_n===-1||er===0||er===1&&ae===_n-1&&ae===je+1?"":c.slice(ae,_n)},format:Ie.bind(null,"\\"),parse(c){va(c,"path");const h={root:"",dir:"",base:"",ext:"",name:""};if(c.length===0)return h;const ae=c.length;let je=0,_n=c.charCodeAt(0);if(ae===1)return Ve(_n)?(h.root=h.dir=c,h):(h.base=h.name=c,h);if(Ve(_n)){if(je=1,Ve(c.charCodeAt(1))){let rt=2,ma=rt;for(;rt0&&(h.root=c.slice(0,je));let Nn=-1,er=je,pr=-1,kr=!0,Er=c.length-1,gt=0;for(;Er>=je;--Er){if(_n=c.charCodeAt(Er),Ve(_n)){if(!kr){er=Er+1;break}continue}pr===-1&&(kr=!1,pr=Er+1),_n===is?Nn===-1?Nn=Er:gt!==1&&(gt=1):Nn!==-1&&(gt=-1)}return pr!==-1&&(Nn===-1||gt===0||gt===1&&Nn===pr-1&&Nn===er+1?h.base=h.name=c.slice(er,pr):(h.name=c.slice(er,Nn),h.base=c.slice(er,pr),h.ext=c.slice(Nn,pr))),er>0&&er!==je?h.dir=c.slice(0,er-1):h.dir=h.root,h},sep:"\\",delimiter:";",win32:null,posix:null},sn={resolve(...c){let h="",ae=!1;for(let je=c.length-1;je>=-1&&!ae;je--){const _n=je>=0?c[je]:vo();va(_n,"path"),_n.length!==0&&(h=`${_n}/${h}`,ae=_n.charCodeAt(0)===mn)}return h=j(h,!ae,"/",ce),ae?`/${h}`:h.length>0?h:"."},normalize(c){if(va(c,"path"),c.length===0)return".";const h=c.charCodeAt(0)===mn,ae=c.charCodeAt(c.length-1)===mn;return c=j(c,!h,"/",ce),c.length===0?h?"/":ae?"./":".":(ae&&(c+="/"),h?`/${c}`:c)},isAbsolute(c){return va(c,"path"),c.length>0&&c.charCodeAt(0)===mn},join(...c){if(c.length===0)return".";let h;for(let ae=0;ae0&&(h===void 0?h=je:h+=`/${je}`)}return h===void 0?".":sn.normalize(h)},relative(c,h){if(va(c,"from"),va(h,"to"),c===h||(c=sn.resolve(c),h=sn.resolve(h),c===h))return"";const ae=1,je=c.length,_n=je-ae,Nn=1,er=h.length-Nn,pr=_npr){if(h.charCodeAt(Nn+Er)===mn)return h.slice(Nn+Er+1);if(Er===0)return h.slice(Nn+Er)}else _n>pr&&(c.charCodeAt(ae+Er)===mn?kr=Er:Er===0&&(kr=0));let gt="";for(Er=ae+kr+1;Er<=je;++Er)(Er===je||c.charCodeAt(Er)===mn)&&(gt+=gt.length===0?"..":"/..");return`${gt}${h.slice(Nn+kr)}`},toNamespacedPath(c){return c},dirname(c){if(va(c,"path"),c.length===0)return".";const h=c.charCodeAt(0)===mn;let ae=-1,je=!0;for(let _n=c.length-1;_n>=1;--_n)if(c.charCodeAt(_n)===mn){if(!je){ae=_n;break}}else je=!1;return ae===-1?h?"/":".":h&&ae===1?"//":c.slice(0,ae)},basename(c,h){h!==void 0&&va(h,"ext"),va(c,"path");let ae=0,je=-1,_n=!0,Nn;if(h!==void 0&&h.length>0&&h.length<=c.length){if(h===c)return"";let er=h.length-1,pr=-1;for(Nn=c.length-1;Nn>=0;--Nn){const kr=c.charCodeAt(Nn);if(kr===mn){if(!_n){ae=Nn+1;break}}else pr===-1&&(_n=!1,pr=Nn+1),er>=0&&(kr===h.charCodeAt(er)?--er===-1&&(je=Nn):(er=-1,je=pr))}return ae===je?je=pr:je===-1&&(je=c.length),c.slice(ae,je)}for(Nn=c.length-1;Nn>=0;--Nn)if(c.charCodeAt(Nn)===mn){if(!_n){ae=Nn+1;break}}else je===-1&&(_n=!1,je=Nn+1);return je===-1?"":c.slice(ae,je)},extname(c){va(c,"path");let h=-1,ae=0,je=-1,_n=!0,Nn=0;for(let er=c.length-1;er>=0;--er){const pr=c.charCodeAt(er);if(pr===mn){if(!_n){ae=er+1;break}continue}je===-1&&(_n=!1,je=er+1),pr===is?h===-1?h=er:Nn!==1&&(Nn=1):h!==-1&&(Nn=-1)}return h===-1||je===-1||Nn===0||Nn===1&&h===je-1&&h===ae+1?"":c.slice(h,je)},format:Ie.bind(null,"/"),parse(c){va(c,"path");const h={root:"",dir:"",base:"",ext:"",name:""};if(c.length===0)return h;const ae=c.charCodeAt(0)===mn;let je;ae?(h.root="/",je=1):je=0;let _n=-1,Nn=0,er=-1,pr=!0,kr=c.length-1,Er=0;for(;kr>=je;--kr){const gt=c.charCodeAt(kr);if(gt===mn){if(!pr){Nn=kr+1;break}continue}er===-1&&(pr=!1,er=kr+1),gt===is?_n===-1?_n=kr:Er!==1&&(Er=1):_n!==-1&&(Er=-1)}if(er!==-1){const gt=Nn===0&&ae?1:Nn;_n===-1||Er===0||Er===1&&_n===er-1&&_n===Nn+1?h.base=h.name=c.slice(gt,er):(h.name=c.slice(gt,_n),h.base=c.slice(gt,er),h.ext=c.slice(_n,er))}return Nn>0?h.dir=c.slice(0,Nn-1):ae&&(h.dir="/"),h},sep:"/",delimiter:":",win32:null,posix:null};sn.win32=We.win32=We,sn.posix=We.posix=sn;const Hn=Bo==="win32"?We.normalize:sn.normalize,vr=Bo==="win32"?We.resolve:sn.resolve,Sr=Bo==="win32"?We.relative:sn.relative,ot=Bo==="win32"?We.dirname:sn.dirname,Et=Bo==="win32"?We.basename:sn.basename,ra=Bo==="win32"?We.extname:sn.extname,Na=Bo==="win32"?We.sep:sn.sep,ei=/^\w[\w\d+.-]*$/,Li=/^\//,Zi=/^\/\//;function ho(c,h){if(!c.scheme&&h)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${c.authority}", path: "${c.path}", query: "${c.query}", fragment: "${c.fragment}"}`);if(c.scheme&&!ei.test(c.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(c.path){if(c.authority){if(!Li.test(c.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(Zi.test(c.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function vs(c,h){return!c&&!h?"file":c}function Ao(c,h){switch(c){case"https":case"http":case"file":h?h[0]!==Zo&&(h=Zo+h):h=Zo;break}return h}const oo="",Zo="/",cl=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class ws{constructor(h,ae,je,_n,Nn,er=!1){typeof h=="object"?(this.scheme=h.scheme||oo,this.authority=h.authority||oo,this.path=h.path||oo,this.query=h.query||oo,this.fragment=h.fragment||oo):(this.scheme=vs(h,er),this.authority=ae||oo,this.path=Ao(this.scheme,je||oo),this.query=_n||oo,this.fragment=Nn||oo,ho(this,er))}static isUri(h){return h instanceof ws?!0:h?typeof h.authority=="string"&&typeof h.fragment=="string"&&typeof h.path=="string"&&typeof h.query=="string"&&typeof h.scheme=="string"&&typeof h.fsPath=="string"&&typeof h.with=="function"&&typeof h.toString=="function":!1}get fsPath(){return Hs(this,!1)}with(h){if(!h)return this;let{scheme:ae,authority:je,path:_n,query:Nn,fragment:er}=h;return ae===void 0?ae=this.scheme:ae===null&&(ae=oo),je===void 0?je=this.authority:je===null&&(je=oo),_n===void 0?_n=this.path:_n===null&&(_n=oo),Nn===void 0?Nn=this.query:Nn===null&&(Nn=oo),er===void 0?er=this.fragment:er===null&&(er=oo),ae===this.scheme&&je===this.authority&&_n===this.path&&Nn===this.query&&er===this.fragment?this:new ul(ae,je,_n,Nn,er)}static parse(h,ae=!1){const je=cl.exec(h);return je?new ul(je[2]||oo,Te(je[4]||oo),Te(je[5]||oo),Te(je[7]||oo),Te(je[9]||oo),ae):new ul(oo,oo,oo,oo,oo)}static file(h){let ae=oo;if(ne&&(h=h.replace(/\\/g,Zo)),h[0]===Zo&&h[1]===Zo){const je=h.indexOf(Zo,2);je===-1?(ae=h.substring(2),h=Zo):(ae=h.substring(2,je),h=h.substring(je)||Zo)}return new ul("file",ae,h,oo,oo)}static from(h){const ae=new ul(h.scheme,h.authority,h.path,h.query,h.fragment);return ho(ae,!0),ae}static joinPath(h,...ae){if(!h.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let je;return ne&&h.scheme==="file"?je=ws.file(We.join(Hs(h,!0),...ae)).path:je=sn.join(h.path,...ae),h.with({path:je})}toString(h=!1){return Fs(this,h)}toJSON(){return this}static revive(h){if(h){if(h instanceof ws)return h;{const ae=new ul(h);return ae._formatted=h.external,ae._fsPath=h._sep===vl?h.fsPath:null,ae}}else return h}}const vl=ne?1:void 0;class ul extends ws{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=Hs(this,!1)),this._fsPath}toString(h=!1){return h?Fs(this,!0):(this._formatted||(this._formatted=Fs(this,!1)),this._formatted)}toJSON(){const h={$mid:1};return this._fsPath&&(h.fsPath=this._fsPath,h._sep=vl),this._formatted&&(h.external=this._formatted),this.path&&(h.path=this.path),this.scheme&&(h.scheme=this.scheme),this.authority&&(h.authority=this.authority),this.query&&(h.query=this.query),this.fragment&&(h.fragment=this.fragment),h}}const ps={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function jl(c,h){let ae,je=-1;for(let _n=0;_n=97&&Nn<=122||Nn>=65&&Nn<=90||Nn>=48&&Nn<=57||Nn===45||Nn===46||Nn===95||Nn===126||h&&Nn===47)je!==-1&&(ae+=encodeURIComponent(c.substring(je,_n)),je=-1),ae!==void 0&&(ae+=c.charAt(_n));else{ae===void 0&&(ae=c.substr(0,_n));const er=ps[Nn];er!==void 0?(je!==-1&&(ae+=encodeURIComponent(c.substring(je,_n)),je=-1),ae+=er):je===-1&&(je=_n)}}return je!==-1&&(ae+=encodeURIComponent(c.substring(je))),ae!==void 0?ae:c}function Hl(c){let h;for(let ae=0;ae1&&c.scheme==="file"?ae=`//${c.authority}${c.path}`:c.path.charCodeAt(0)===47&&(c.path.charCodeAt(1)>=65&&c.path.charCodeAt(1)<=90||c.path.charCodeAt(1)>=97&&c.path.charCodeAt(1)<=122)&&c.path.charCodeAt(2)===58?h?ae=c.path.substr(1):ae=c.path[1].toLowerCase()+c.path.substr(2):ae=c.path,ne&&(ae=ae.replace(/\//g,"\\")),ae}function Fs(c,h){const ae=h?Hl:jl;let je="",{scheme:_n,authority:Nn,path:er,query:pr,fragment:kr}=c;if(_n&&(je+=_n,je+=":"),(Nn||_n==="file")&&(je+=Zo,je+=Zo),Nn){let Er=Nn.indexOf("@");if(Er!==-1){const gt=Nn.substr(0,Er);Nn=Nn.substr(Er+1),Er=gt.indexOf(":"),Er===-1?je+=ae(gt,!1):(je+=ae(gt.substr(0,Er),!1),je+=":",je+=ae(gt.substr(Er+1),!1)),je+="@"}Nn=Nn.toLowerCase(),Er=Nn.indexOf(":"),Er===-1?je+=ae(Nn,!1):(je+=ae(Nn.substr(0,Er),!1),je+=Nn.substr(Er))}if(er){if(er.length>=3&&er.charCodeAt(0)===47&&er.charCodeAt(2)===58){const Er=er.charCodeAt(1);Er>=65&&Er<=90&&(er=`/${String.fromCharCode(Er+32)}:${er.substr(3)}`)}else if(er.length>=2&&er.charCodeAt(1)===58){const Er=er.charCodeAt(0);Er>=65&&Er<=90&&(er=`${String.fromCharCode(Er+32)}:${er.substr(2)}`)}je+=ae(er,!0)}return pr&&(je+="?",je+=ae(pr,!1)),kr&&(je+="#",je+=h?kr:jl(kr,!1)),je}function ge(c){try{return decodeURIComponent(c)}catch(h){return c.length>3?c.substr(0,3)+ge(c.substr(3)):c}}const Kn=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function Te(c){return c.match(Kn)?c.replace(Kn,h=>ge(h)):c}class Fn{constructor(h,ae){this.lineNumber=h,this.column=ae}with(h=this.lineNumber,ae=this.column){return h===this.lineNumber&&ae===this.column?this:new Fn(h,ae)}delta(h=0,ae=0){return this.with(this.lineNumber+h,this.column+ae)}equals(h){return Fn.equals(this,h)}static equals(h,ae){return!h&&!ae?!0:!!h&&!!ae&&h.lineNumber===ae.lineNumber&&h.column===ae.column}isBefore(h){return Fn.isBefore(this,h)}static isBefore(h,ae){return h.lineNumberje||h===je&&ae>_n?(this.startLineNumber=je,this.startColumn=_n,this.endLineNumber=h,this.endColumn=ae):(this.startLineNumber=h,this.startColumn=ae,this.endLineNumber=je,this.endColumn=_n)}isEmpty(){return et.isEmpty(this)}static isEmpty(h){return h.startLineNumber===h.endLineNumber&&h.startColumn===h.endColumn}containsPosition(h){return et.containsPosition(this,h)}static containsPosition(h,ae){return!(ae.lineNumberh.endLineNumber||ae.lineNumber===h.startLineNumber&&ae.columnh.endColumn)}containsRange(h){return et.containsRange(this,h)}static containsRange(h,ae){return!(ae.startLineNumberh.endLineNumber||ae.endLineNumber>h.endLineNumber||ae.startLineNumber===h.startLineNumber&&ae.startColumnh.endColumn)}strictContainsRange(h){return et.strictContainsRange(this,h)}static strictContainsRange(h,ae){return!(ae.startLineNumberh.endLineNumber||ae.endLineNumber>h.endLineNumber||ae.startLineNumber===h.startLineNumber&&ae.startColumn<=h.startColumn||ae.endLineNumber===h.endLineNumber&&ae.endColumn>=h.endColumn)}plusRange(h){return et.plusRange(this,h)}static plusRange(h,ae){let je,_n,Nn,er;return ae.startLineNumberh.endLineNumber?(Nn=ae.endLineNumber,er=ae.endColumn):ae.endLineNumber===h.endLineNumber?(Nn=ae.endLineNumber,er=Math.max(ae.endColumn,h.endColumn)):(Nn=h.endLineNumber,er=h.endColumn),new et(je,_n,Nn,er)}intersectRanges(h){return et.intersectRanges(this,h)}static intersectRanges(h,ae){let je=h.startLineNumber,_n=h.startColumn,Nn=h.endLineNumber,er=h.endColumn,pr=ae.startLineNumber,kr=ae.startColumn,Er=ae.endLineNumber,gt=ae.endColumn;return jeEr?(Nn=Er,er=gt):Nn===Er&&(er=Math.min(er,gt)),je>Nn||je===Nn&&_n>er?null:new et(je,_n,Nn,er)}equalsRange(h){return et.equalsRange(this,h)}static equalsRange(h,ae){return!!h&&!!ae&&h.startLineNumber===ae.startLineNumber&&h.startColumn===ae.startColumn&&h.endLineNumber===ae.endLineNumber&&h.endColumn===ae.endColumn}getEndPosition(){return et.getEndPosition(this)}static getEndPosition(h){return new Fn(h.endLineNumber,h.endColumn)}getStartPosition(){return et.getStartPosition(this)}static getStartPosition(h){return new Fn(h.startLineNumber,h.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(h,ae){return new et(this.startLineNumber,this.startColumn,h,ae)}setStartPosition(h,ae){return new et(h,ae,this.endLineNumber,this.endColumn)}collapseToStart(){return et.collapseToStart(this)}static collapseToStart(h){return new et(h.startLineNumber,h.startColumn,h.startLineNumber,h.startColumn)}static fromPositions(h,ae=h){return new et(h.lineNumber,h.column,ae.lineNumber,ae.column)}static lift(h){return h?new et(h.startLineNumber,h.startColumn,h.endLineNumber,h.endColumn):null}static isIRange(h){return h&&typeof h.startLineNumber=="number"&&typeof h.startColumn=="number"&&typeof h.endLineNumber=="number"&&typeof h.endColumn=="number"}static areIntersectingOrTouching(h,ae){return!(h.endLineNumberh.startLineNumber}}const Xt=3;function ca(c,h,ae,je){return new Da(c,h,ae).ComputeDiff(je)}class ha{constructor(h){const ae=[],je=[];for(let _n=0,Nn=h.length;_n0&&ae.originalLength<20&&ae.modifiedLength>0&&ae.modifiedLength<20&&Nn()){const Ai=je.createCharSequence(h,ae.originalStart,ae.originalStart+ae.originalLength-1),Ba=_n.createCharSequence(h,ae.modifiedStart,ae.modifiedStart+ae.modifiedLength-1);let _i=ca(Ai,Ba,Nn,!0).changes;pr&&(_i=Vo(_i)),ma=[];for(let No=0,to=_i.length;No1&&_i>1;){const No=ma.charCodeAt(Ba-2),to=Ai.charCodeAt(_i-2);if(No!==to)break;Ba--,_i--}(Ba>1||_i>1)&&this._pushTrimWhitespaceCharChange(_n,Nn+1,1,Ba,er+1,1,_i)}{let Ba=Bi(ma,1),_i=Bi(Ai,1);const No=ma.length+1,to=Ai.length+1;for(;Ba!0;const h=Date.now();return()=>Date.now()-h255?255:c|0}function Ol(c){return c<0?0:c>4294967295?4294967295:c|0}class nc{constructor(h,ae){this._prefixSumIndexOfResultBrand=void 0,this.index=h,this.remainder=ae}}class Sc{constructor(h){this.values=h,this.prefixSum=new Uint32Array(h.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(h,ae){h=Ol(h);const je=this.values,_n=this.prefixSum,Nn=ae.length;return Nn===0?!1:(this.values=new Uint32Array(je.length+Nn),this.values.set(je.subarray(0,h),0),this.values.set(je.subarray(h),h+Nn),this.values.set(ae,h),h-1=0&&this.prefixSum.set(_n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}changeValue(h,ae){return h=Ol(h),ae=Ol(ae),this.values[h]===ae?!1:(this.values[h]=ae,h-1=je.length)return!1;let Nn=je.length-h;return ae>=Nn&&(ae=Nn),ae===0?!1:(this.values=new Uint32Array(je.length-ae),this.values.set(je.subarray(0,h),0),this.values.set(je.subarray(h+ae),h),this.prefixSum=new Uint32Array(this.values.length),h-1=0&&this.prefixSum.set(_n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(h){return h<0?0:(h=Ol(h),this._getPrefixSum(h))}_getPrefixSum(h){if(h<=this.prefixSumValidIndex[0])return this.prefixSum[h];let ae=this.prefixSumValidIndex[0]+1;ae===0&&(this.prefixSum[0]=this.values[0],ae++),h>=this.values.length&&(h=this.values.length-1);for(let je=ae;je<=h;je++)this.prefixSum[je]=this.prefixSum[je-1]+this.values[je];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],h),this.prefixSum[h]}getIndexOf(h){h=Math.floor(h),this.getTotalSum();let ae=0,je=this.values.length-1,_n=0,Nn=0,er=0;for(;ae<=je;)if(_n=ae+(je-ae)/2|0,Nn=this.prefixSum[_n],er=Nn-this.values[_n],h=Nn)ae=_n+1;else break;return new nc(_n,h-er)}}class Zl{constructor(h,ae,je,_n){this._uri=h,this._lines=ae,this._eol=je,this._versionId=_n,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return this._cachedTextValue===null&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(h){h.eol&&h.eol!==this._eol&&(this._eol=h.eol,this._lineStarts=null);const ae=h.changes;for(const je of ae)this._acceptDeleteRange(je.range),this._acceptInsertText(new Fn(je.range.startLineNumber,je.range.startColumn),je.text);this._versionId=h.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const h=this._eol.length,ae=this._lines.length,je=new Uint32Array(ae);for(let _n=0;_n/?";function dc(c=""){let h="(-?\\d*\\.\\d\\w*)|([^";for(const ae of du)c.indexOf(ae)>=0||(h+="\\"+ae);return h+="\\s]+)",new RegExp(h,"g")}const $l=dc();function kn(c){let h=$l;if(c&&c instanceof RegExp)if(c.global)h=c;else{let ae="g";c.ignoreCase&&(ae+="i"),c.multiline&&(ae+="m"),c.unicode&&(ae+="u"),h=new RegExp(c.source,ae)}return h.lastIndex=0,h}const lr={maxLen:1e3,windowSize:15,timeBudget:150};function Or(c,h,ae,je,_n=lr){if(ae.length>_n.maxLen){let Er=c-_n.maxLen/2;return Er<0?Er=0:je+=Er,ae=ae.substring(Er,c+_n.maxLen/2),Or(c,h,ae,je,_n)}const Nn=Date.now(),er=c-1-je;let pr=-1,kr=null;for(let Er=1;!(Date.now()-Nn>=_n.timeBudget);Er++){const gt=er-_n.windowSize*Er;h.lastIndex=Math.max(0,gt);const rt=st(h,ae,er,pr);if(!rt&&kr||(kr=rt,gt<=0))break;pr=gt}if(kr){let Er={word:kr[0],startColumn:je+1+kr.index,endColumn:je+1+kr.index+kr[0].length};return h.lastIndex=0,Er}return null}function st(c,h,ae,je){let _n;for(;_n=c.exec(h);){const Nn=_n.index||0;if(Nn<=ae&&c.lastIndex>=ae)return _n;if(je>0&&Nn>je)return null}return null}class yt{constructor(h){let ae=rl(h);this._defaultValue=ae,this._asciiMap=yt._createAsciiMap(ae),this._map=new Map}static _createAsciiMap(h){let ae=new Uint8Array(256);for(let je=0;je<256;je++)ae[je]=h;return ae}set(h,ae){let je=rl(ae);h>=0&&h<256?this._asciiMap[h]=je:this._map.set(h,je)}get(h){return h>=0&&h<256?this._asciiMap[h]:this._map.get(h)||this._defaultValue}}class Tt{constructor(){this._actual=new yt(0)}add(h){this._actual.set(h,1)}has(h){return this._actual.get(h)===1}}class Ut{constructor(h,ae,je){const _n=new Uint8Array(h*ae);for(let Nn=0,er=h*ae;Nnae&&(ae=kr),pr>je&&(je=pr),Er>je&&(je=Er)}ae++,je++;let _n=new Ut(je,ae,0);for(let Nn=0,er=h.length;Nn=this._maxCharCode?0:this._states.get(h,ae)}}let zt=null;function Ii(){return zt===null&&(zt=new ea([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),zt}let ba=null;function wa(){if(ba===null){ba=new yt(0);const c=` <>'"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\u2018\u3008\u300C\u300E\u3014\uFF08\uFF3B\uFF5B\uFF62\uFF63\uFF5D\uFF3D\uFF09\u3015\u300F\u300D\u3009\u2019\uFF40\uFF5E\u2026`;for(let ae=0;ae_n);if(_n>0){const pr=ae.charCodeAt(_n-1),kr=ae.charCodeAt(er);(pr===40&&kr===41||pr===91&&kr===93||pr===123&&kr===125)&&er--}return{range:{startLineNumber:je,startColumn:_n+1,endLineNumber:je,endColumn:er+2},url:ae.substring(_n,er+1)}}static computeLinks(h,ae=Ii()){const je=wa();let _n=[];for(let Nn=1,er=h.getLineCount();Nn<=er;Nn++){const pr=h.getLineContent(Nn),kr=pr.length;let Er=0,gt=0,rt=0,ma=1,Ai=!1,Ba=!1,_i=!1,No=!1;for(;Er=0?(_n+=je?1:-1,_n<0?_n=h.length-1:_n%=h.length,h[_n]):null}}he.INSTANCE=new he;const un=Object.freeze(function(c,h){const ae=setTimeout(c.bind(h),0);return{dispose(){clearTimeout(ae)}}});var Sn;(function(c){function h(ae){return ae===c.None||ae===c.Cancelled||ae instanceof Tr?!0:!ae||typeof ae!="object"?!1:typeof ae.isCancellationRequested=="boolean"&&typeof ae.onCancellationRequested=="function"}c.isCancellationToken=h,c.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:me.None}),c.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:un})})(Sn||(Sn={}));class Tr{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?un:(this._emitter||(this._emitter=new Ae),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class Wr{constructor(h){this._token=void 0,this._parentListener=void 0,this._parentListener=h&&h.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new Tr),this._token}cancel(){this._token?this._token instanceof Tr&&this._token.cancel():this._token=Sn.Cancelled}dispose(h=!1){h&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof Tr&&this._token.dispose():this._token=Sn.None}}class Yt{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(h,ae){this._keyCodeToStr[h]=ae,this._strToKeyCode[ae.toLowerCase()]=h}keyCodeToStr(h){return this._keyCodeToStr[h]}strToKeyCode(h){return this._strToKeyCode[h.toLowerCase()]||0}}const Ia=new Yt,hi=new Yt,yo=new Yt,Oo=new Array(230),ys={},Pi=[],Po=Object.create(null),Jn=Object.create(null),zo=[],Es=[];for(let c=0;c<=193;c++)zo[c]=-1;for(let c=0;c<=126;c++)Es[c]=-1;(function(){const c="",h=[[0,1,0,"None",0,"unknown",0,"VK_UNKNOWN",c,c],[0,1,1,"Hyper",0,c,0,c,c,c],[0,1,2,"Super",0,c,0,c,c,c],[0,1,3,"Fn",0,c,0,c,c,c],[0,1,4,"FnLock",0,c,0,c,c,c],[0,1,5,"Suspend",0,c,0,c,c,c],[0,1,6,"Resume",0,c,0,c,c,c],[0,1,7,"Turbo",0,c,0,c,c,c],[0,1,8,"Sleep",0,c,0,"VK_SLEEP",c,c],[0,1,9,"WakeUp",0,c,0,c,c,c],[31,0,10,"KeyA",31,"A",65,"VK_A",c,c],[32,0,11,"KeyB",32,"B",66,"VK_B",c,c],[33,0,12,"KeyC",33,"C",67,"VK_C",c,c],[34,0,13,"KeyD",34,"D",68,"VK_D",c,c],[35,0,14,"KeyE",35,"E",69,"VK_E",c,c],[36,0,15,"KeyF",36,"F",70,"VK_F",c,c],[37,0,16,"KeyG",37,"G",71,"VK_G",c,c],[38,0,17,"KeyH",38,"H",72,"VK_H",c,c],[39,0,18,"KeyI",39,"I",73,"VK_I",c,c],[40,0,19,"KeyJ",40,"J",74,"VK_J",c,c],[41,0,20,"KeyK",41,"K",75,"VK_K",c,c],[42,0,21,"KeyL",42,"L",76,"VK_L",c,c],[43,0,22,"KeyM",43,"M",77,"VK_M",c,c],[44,0,23,"KeyN",44,"N",78,"VK_N",c,c],[45,0,24,"KeyO",45,"O",79,"VK_O",c,c],[46,0,25,"KeyP",46,"P",80,"VK_P",c,c],[47,0,26,"KeyQ",47,"Q",81,"VK_Q",c,c],[48,0,27,"KeyR",48,"R",82,"VK_R",c,c],[49,0,28,"KeyS",49,"S",83,"VK_S",c,c],[50,0,29,"KeyT",50,"T",84,"VK_T",c,c],[51,0,30,"KeyU",51,"U",85,"VK_U",c,c],[52,0,31,"KeyV",52,"V",86,"VK_V",c,c],[53,0,32,"KeyW",53,"W",87,"VK_W",c,c],[54,0,33,"KeyX",54,"X",88,"VK_X",c,c],[55,0,34,"KeyY",55,"Y",89,"VK_Y",c,c],[56,0,35,"KeyZ",56,"Z",90,"VK_Z",c,c],[22,0,36,"Digit1",22,"1",49,"VK_1",c,c],[23,0,37,"Digit2",23,"2",50,"VK_2",c,c],[24,0,38,"Digit3",24,"3",51,"VK_3",c,c],[25,0,39,"Digit4",25,"4",52,"VK_4",c,c],[26,0,40,"Digit5",26,"5",53,"VK_5",c,c],[27,0,41,"Digit6",27,"6",54,"VK_6",c,c],[28,0,42,"Digit7",28,"7",55,"VK_7",c,c],[29,0,43,"Digit8",29,"8",56,"VK_8",c,c],[30,0,44,"Digit9",30,"9",57,"VK_9",c,c],[21,0,45,"Digit0",21,"0",48,"VK_0",c,c],[3,1,46,"Enter",3,"Enter",13,"VK_RETURN",c,c],[9,1,47,"Escape",9,"Escape",27,"VK_ESCAPE",c,c],[1,1,48,"Backspace",1,"Backspace",8,"VK_BACK",c,c],[2,1,49,"Tab",2,"Tab",9,"VK_TAB",c,c],[10,1,50,"Space",10,"Space",32,"VK_SPACE",c,c],[83,0,51,"Minus",83,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[81,0,52,"Equal",81,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[87,0,53,"BracketLeft",87,"[",219,"VK_OEM_4","[","OEM_4"],[89,0,54,"BracketRight",89,"]",221,"VK_OEM_6","]","OEM_6"],[88,0,55,"Backslash",88,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,0,56,"IntlHash",0,c,0,c,c,c],[80,0,57,"Semicolon",80,";",186,"VK_OEM_1",";","OEM_1"],[90,0,58,"Quote",90,"'",222,"VK_OEM_7","'","OEM_7"],[86,0,59,"Backquote",86,"`",192,"VK_OEM_3","`","OEM_3"],[82,0,60,"Comma",82,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[84,0,61,"Period",84,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[85,0,62,"Slash",85,"/",191,"VK_OEM_2","/","OEM_2"],[8,1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL",c,c],[59,1,64,"F1",59,"F1",112,"VK_F1",c,c],[60,1,65,"F2",60,"F2",113,"VK_F2",c,c],[61,1,66,"F3",61,"F3",114,"VK_F3",c,c],[62,1,67,"F4",62,"F4",115,"VK_F4",c,c],[63,1,68,"F5",63,"F5",116,"VK_F5",c,c],[64,1,69,"F6",64,"F6",117,"VK_F6",c,c],[65,1,70,"F7",65,"F7",118,"VK_F7",c,c],[66,1,71,"F8",66,"F8",119,"VK_F8",c,c],[67,1,72,"F9",67,"F9",120,"VK_F9",c,c],[68,1,73,"F10",68,"F10",121,"VK_F10",c,c],[69,1,74,"F11",69,"F11",122,"VK_F11",c,c],[70,1,75,"F12",70,"F12",123,"VK_F12",c,c],[0,1,76,"PrintScreen",0,c,0,c,c,c],[79,1,77,"ScrollLock",79,"ScrollLock",145,"VK_SCROLL",c,c],[7,1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE",c,c],[19,1,79,"Insert",19,"Insert",45,"VK_INSERT",c,c],[14,1,80,"Home",14,"Home",36,"VK_HOME",c,c],[11,1,81,"PageUp",11,"PageUp",33,"VK_PRIOR",c,c],[20,1,82,"Delete",20,"Delete",46,"VK_DELETE",c,c],[13,1,83,"End",13,"End",35,"VK_END",c,c],[12,1,84,"PageDown",12,"PageDown",34,"VK_NEXT",c,c],[17,1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",c],[15,1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",c],[18,1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",c],[16,1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",c],[78,1,89,"NumLock",78,"NumLock",144,"VK_NUMLOCK",c,c],[108,1,90,"NumpadDivide",108,"NumPad_Divide",111,"VK_DIVIDE",c,c],[103,1,91,"NumpadMultiply",103,"NumPad_Multiply",106,"VK_MULTIPLY",c,c],[106,1,92,"NumpadSubtract",106,"NumPad_Subtract",109,"VK_SUBTRACT",c,c],[104,1,93,"NumpadAdd",104,"NumPad_Add",107,"VK_ADD",c,c],[3,1,94,"NumpadEnter",3,c,0,c,c,c],[94,1,95,"Numpad1",94,"NumPad1",97,"VK_NUMPAD1",c,c],[95,1,96,"Numpad2",95,"NumPad2",98,"VK_NUMPAD2",c,c],[96,1,97,"Numpad3",96,"NumPad3",99,"VK_NUMPAD3",c,c],[97,1,98,"Numpad4",97,"NumPad4",100,"VK_NUMPAD4",c,c],[98,1,99,"Numpad5",98,"NumPad5",101,"VK_NUMPAD5",c,c],[99,1,100,"Numpad6",99,"NumPad6",102,"VK_NUMPAD6",c,c],[100,1,101,"Numpad7",100,"NumPad7",103,"VK_NUMPAD7",c,c],[101,1,102,"Numpad8",101,"NumPad8",104,"VK_NUMPAD8",c,c],[102,1,103,"Numpad9",102,"NumPad9",105,"VK_NUMPAD9",c,c],[93,1,104,"Numpad0",93,"NumPad0",96,"VK_NUMPAD0",c,c],[107,1,105,"NumpadDecimal",107,"NumPad_Decimal",110,"VK_DECIMAL",c,c],[92,0,106,"IntlBackslash",92,"OEM_102",226,"VK_OEM_102",c,c],[58,1,107,"ContextMenu",58,"ContextMenu",93,c,c,c],[0,1,108,"Power",0,c,0,c,c,c],[0,1,109,"NumpadEqual",0,c,0,c,c,c],[71,1,110,"F13",71,"F13",124,"VK_F13",c,c],[72,1,111,"F14",72,"F14",125,"VK_F14",c,c],[73,1,112,"F15",73,"F15",126,"VK_F15",c,c],[74,1,113,"F16",74,"F16",127,"VK_F16",c,c],[75,1,114,"F17",75,"F17",128,"VK_F17",c,c],[76,1,115,"F18",76,"F18",129,"VK_F18",c,c],[77,1,116,"F19",77,"F19",130,"VK_F19",c,c],[0,1,117,"F20",0,c,0,"VK_F20",c,c],[0,1,118,"F21",0,c,0,"VK_F21",c,c],[0,1,119,"F22",0,c,0,"VK_F22",c,c],[0,1,120,"F23",0,c,0,"VK_F23",c,c],[0,1,121,"F24",0,c,0,"VK_F24",c,c],[0,1,122,"Open",0,c,0,c,c,c],[0,1,123,"Help",0,c,0,c,c,c],[0,1,124,"Select",0,c,0,c,c,c],[0,1,125,"Again",0,c,0,c,c,c],[0,1,126,"Undo",0,c,0,c,c,c],[0,1,127,"Cut",0,c,0,c,c,c],[0,1,128,"Copy",0,c,0,c,c,c],[0,1,129,"Paste",0,c,0,c,c,c],[0,1,130,"Find",0,c,0,c,c,c],[0,1,131,"AudioVolumeMute",112,"AudioVolumeMute",173,"VK_VOLUME_MUTE",c,c],[0,1,132,"AudioVolumeUp",113,"AudioVolumeUp",175,"VK_VOLUME_UP",c,c],[0,1,133,"AudioVolumeDown",114,"AudioVolumeDown",174,"VK_VOLUME_DOWN",c,c],[105,1,134,"NumpadComma",105,"NumPad_Separator",108,"VK_SEPARATOR",c,c],[110,0,135,"IntlRo",110,"ABNT_C1",193,"VK_ABNT_C1",c,c],[0,1,136,"KanaMode",0,c,0,c,c,c],[0,0,137,"IntlYen",0,c,0,c,c,c],[0,1,138,"Convert",0,c,0,c,c,c],[0,1,139,"NonConvert",0,c,0,c,c,c],[0,1,140,"Lang1",0,c,0,c,c,c],[0,1,141,"Lang2",0,c,0,c,c,c],[0,1,142,"Lang3",0,c,0,c,c,c],[0,1,143,"Lang4",0,c,0,c,c,c],[0,1,144,"Lang5",0,c,0,c,c,c],[0,1,145,"Abort",0,c,0,c,c,c],[0,1,146,"Props",0,c,0,c,c,c],[0,1,147,"NumpadParenLeft",0,c,0,c,c,c],[0,1,148,"NumpadParenRight",0,c,0,c,c,c],[0,1,149,"NumpadBackspace",0,c,0,c,c,c],[0,1,150,"NumpadMemoryStore",0,c,0,c,c,c],[0,1,151,"NumpadMemoryRecall",0,c,0,c,c,c],[0,1,152,"NumpadMemoryClear",0,c,0,c,c,c],[0,1,153,"NumpadMemoryAdd",0,c,0,c,c,c],[0,1,154,"NumpadMemorySubtract",0,c,0,c,c,c],[0,1,155,"NumpadClear",0,c,0,c,c,c],[0,1,156,"NumpadClearEntry",0,c,0,c,c,c],[5,1,0,c,5,"Ctrl",17,"VK_CONTROL",c,c],[4,1,0,c,4,"Shift",16,"VK_SHIFT",c,c],[6,1,0,c,6,"Alt",18,"VK_MENU",c,c],[57,1,0,c,57,"Meta",0,"VK_COMMAND",c,c],[5,1,157,"ControlLeft",5,c,0,"VK_LCONTROL",c,c],[4,1,158,"ShiftLeft",4,c,0,"VK_LSHIFT",c,c],[6,1,159,"AltLeft",6,c,0,"VK_LMENU",c,c],[57,1,160,"MetaLeft",57,c,0,"VK_LWIN",c,c],[5,1,161,"ControlRight",5,c,0,"VK_RCONTROL",c,c],[4,1,162,"ShiftRight",4,c,0,"VK_RSHIFT",c,c],[6,1,163,"AltRight",6,c,0,"VK_RMENU",c,c],[57,1,164,"MetaRight",57,c,0,"VK_RWIN",c,c],[0,1,165,"BrightnessUp",0,c,0,c,c,c],[0,1,166,"BrightnessDown",0,c,0,c,c,c],[0,1,167,"MediaPlay",0,c,0,c,c,c],[0,1,168,"MediaRecord",0,c,0,c,c,c],[0,1,169,"MediaFastForward",0,c,0,c,c,c],[0,1,170,"MediaRewind",0,c,0,c,c,c],[114,1,171,"MediaTrackNext",119,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK",c,c],[115,1,172,"MediaTrackPrevious",120,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK",c,c],[116,1,173,"MediaStop",121,"MediaStop",178,"VK_MEDIA_STOP",c,c],[0,1,174,"Eject",0,c,0,c,c,c],[117,1,175,"MediaPlayPause",122,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE",c,c],[0,1,176,"MediaSelect",123,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT",c,c],[0,1,177,"LaunchMail",124,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL",c,c],[0,1,178,"LaunchApp2",125,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2",c,c],[0,1,179,"LaunchApp1",0,c,0,"VK_MEDIA_LAUNCH_APP1",c,c],[0,1,180,"SelectTask",0,c,0,c,c,c],[0,1,181,"LaunchScreenSaver",0,c,0,c,c,c],[0,1,182,"BrowserSearch",115,"BrowserSearch",170,"VK_BROWSER_SEARCH",c,c],[0,1,183,"BrowserHome",116,"BrowserHome",172,"VK_BROWSER_HOME",c,c],[112,1,184,"BrowserBack",117,"BrowserBack",166,"VK_BROWSER_BACK",c,c],[113,1,185,"BrowserForward",118,"BrowserForward",167,"VK_BROWSER_FORWARD",c,c],[0,1,186,"BrowserStop",0,c,0,"VK_BROWSER_STOP",c,c],[0,1,187,"BrowserRefresh",0,c,0,"VK_BROWSER_REFRESH",c,c],[0,1,188,"BrowserFavorites",0,c,0,"VK_BROWSER_FAVORITES",c,c],[0,1,189,"ZoomToggle",0,c,0,c,c,c],[0,1,190,"MailReply",0,c,0,c,c,c],[0,1,191,"MailForward",0,c,0,c,c,c],[0,1,192,"MailSend",0,c,0,c,c,c],[109,1,0,c,109,"KeyInComposition",229,c,c,c],[111,1,0,c,111,"ABNT_C2",194,"VK_ABNT_C2",c,c],[91,1,0,c,91,"OEM_8",223,"VK_OEM_8",c,c],[0,1,0,c,0,c,0,"VK_CLEAR",c,c],[0,1,0,c,0,c,0,"VK_KANA",c,c],[0,1,0,c,0,c,0,"VK_HANGUL",c,c],[0,1,0,c,0,c,0,"VK_JUNJA",c,c],[0,1,0,c,0,c,0,"VK_FINAL",c,c],[0,1,0,c,0,c,0,"VK_HANJA",c,c],[0,1,0,c,0,c,0,"VK_KANJI",c,c],[0,1,0,c,0,c,0,"VK_CONVERT",c,c],[0,1,0,c,0,c,0,"VK_NONCONVERT",c,c],[0,1,0,c,0,c,0,"VK_ACCEPT",c,c],[0,1,0,c,0,c,0,"VK_MODECHANGE",c,c],[0,1,0,c,0,c,0,"VK_SELECT",c,c],[0,1,0,c,0,c,0,"VK_PRINT",c,c],[0,1,0,c,0,c,0,"VK_EXECUTE",c,c],[0,1,0,c,0,c,0,"VK_SNAPSHOT",c,c],[0,1,0,c,0,c,0,"VK_HELP",c,c],[0,1,0,c,0,c,0,"VK_APPS",c,c],[0,1,0,c,0,c,0,"VK_PROCESSKEY",c,c],[0,1,0,c,0,c,0,"VK_PACKET",c,c],[0,1,0,c,0,c,0,"VK_DBE_SBCSCHAR",c,c],[0,1,0,c,0,c,0,"VK_DBE_DBCSCHAR",c,c],[0,1,0,c,0,c,0,"VK_ATTN",c,c],[0,1,0,c,0,c,0,"VK_CRSEL",c,c],[0,1,0,c,0,c,0,"VK_EXSEL",c,c],[0,1,0,c,0,c,0,"VK_EREOF",c,c],[0,1,0,c,0,c,0,"VK_PLAY",c,c],[0,1,0,c,0,c,0,"VK_ZOOM",c,c],[0,1,0,c,0,c,0,"VK_NONAME",c,c],[0,1,0,c,0,c,0,"VK_PA1",c,c],[0,1,0,c,0,c,0,"VK_OEM_CLEAR",c,c]];let ae=[],je=[];for(const _n of h){const[Nn,er,pr,kr,Er,gt,rt,ma,Ai,Ba]=_n;if(je[pr]||(je[pr]=!0,Pi[pr]=kr,Po[kr]=pr,Jn[kr.toLowerCase()]=pr,er&&(zo[pr]=Er,Er!==0&&Er!==3&&Er!==5&&Er!==4&&Er!==6&&Er!==57&&(Es[Er]=pr))),!ae[Er]){if(ae[Er]=!0,!gt)throw new Error(`String representation missing for key code ${Er} around scan code ${kr}`);Ia.define(Er,gt),hi.define(Er,Ai||gt),yo.define(Er,Ba||Ai||gt)}rt&&(Oo[rt]=Er),ma&&(ys[ma]=Er)}Es[3]=46})();var Rs;(function(c){function h(pr){return Ia.keyCodeToStr(pr)}c.toString=h;function ae(pr){return Ia.strToKeyCode(pr)}c.fromString=ae;function je(pr){return hi.keyCodeToStr(pr)}c.toUserSettingsUS=je;function _n(pr){return yo.keyCodeToStr(pr)}c.toUserSettingsGeneral=_n;function Nn(pr){return hi.strToKeyCode(pr)||yo.strToKeyCode(pr)}c.fromUserSettings=Nn;function er(pr){if(pr>=93&&pr<=108)return null;switch(pr){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return Ia.keyCodeToStr(pr)}c.toElectronAccelerator=er})(Rs||(Rs={}));function pu(c,h){const ae=(h&65535)<<16>>>0;return(c|ae)>>>0}class ol extends et{constructor(h,ae,je,_n){super(h,ae,je,_n),this.selectionStartLineNumber=h,this.selectionStartColumn=ae,this.positionLineNumber=je,this.positionColumn=_n}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(h){return ol.selectionsEqual(this,h)}static selectionsEqual(h,ae){return h.selectionStartLineNumber===ae.selectionStartLineNumber&&h.selectionStartColumn===ae.selectionStartColumn&&h.positionLineNumber===ae.positionLineNumber&&h.positionColumn===ae.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(h,ae){return this.getDirection()===0?new ol(this.startLineNumber,this.startColumn,h,ae):new ol(h,ae,this.startLineNumber,this.startColumn)}getPosition(){return new Fn(this.positionLineNumber,this.positionColumn)}setStartPosition(h,ae){return this.getDirection()===0?new ol(h,ae,this.endLineNumber,this.endColumn):new ol(this.endLineNumber,this.endColumn,h,ae)}static fromPositions(h,ae=h){return new ol(h.lineNumber,h.column,ae.lineNumber,ae.column)}static liftSelection(h){return new ol(h.selectionStartLineNumber,h.selectionStartColumn,h.positionLineNumber,h.positionColumn)}static selectionsArrEqual(h,ae){if(h&&!ae||!h&&ae)return!1;if(!h&&!ae)return!0;if(h.length!==ae.length)return!1;for(let je=0,_n=h.length;je<_n;je++)if(!this.selectionsEqual(h[je],ae[je]))return!1;return!0}static isISelection(h){return h&&typeof h.selectionStartLineNumber=="number"&&typeof h.selectionStartColumn=="number"&&typeof h.positionLineNumber=="number"&&typeof h.positionColumn=="number"}static createWithDirection(h,ae,je,_n,Nn){return Nn===0?new ol(h,ae,je,_n):new ol(je,_n,h,ae)}}class mu{constructor(h,ae,je){this._tokenBrand=void 0,this.offset=h|0,this.type=ae,this.language=je}toString(){return"("+this.offset+", "+this.type+")"}}class fo{constructor(h,ae){this._tokenizationResultBrand=void 0,this.tokens=h,this.endState=ae}}class tl{constructor(h,ae){this._tokenizationResult2Brand=void 0,this.tokens=h,this.endState=ae}}var zc;(function(c){c[c.Unknown=0]="Unknown",c[c.Disabled=1]="Disabled",c[c.Enabled=2]="Enabled"})(zc||(zc={}));var _u;(function(c){c[c.KeepWhitespace=1]="KeepWhitespace",c[c.InsertAsSnippet=4]="InsertAsSnippet"})(_u||(_u={}));var qc;(function(c){c[c.Method=0]="Method",c[c.Function=1]="Function",c[c.Constructor=2]="Constructor",c[c.Field=3]="Field",c[c.Variable=4]="Variable",c[c.Class=5]="Class",c[c.Struct=6]="Struct",c[c.Interface=7]="Interface",c[c.Module=8]="Module",c[c.Property=9]="Property",c[c.Event=10]="Event",c[c.Operator=11]="Operator",c[c.Unit=12]="Unit",c[c.Value=13]="Value",c[c.Constant=14]="Constant",c[c.Enum=15]="Enum",c[c.EnumMember=16]="EnumMember",c[c.Keyword=17]="Keyword",c[c.Text=18]="Text",c[c.Color=19]="Color",c[c.File=20]="File",c[c.Reference=21]="Reference",c[c.Customcolor=22]="Customcolor",c[c.Folder=23]="Folder",c[c.TypeParameter=24]="TypeParameter",c[c.User=25]="User",c[c.Issue=26]="Issue",c[c.Snippet=27]="Snippet"})(qc||(qc={}));var gu;(function(c){c[c.Deprecated=1]="Deprecated"})(gu||(gu={}));var Xu;(function(c){c[c.Invoke=0]="Invoke",c[c.TriggerCharacter=1]="TriggerCharacter",c[c.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(Xu||(Xu={}));var fd;(function(c){c[c.EXACT=0]="EXACT",c[c.ABOVE=1]="ABOVE",c[c.BELOW=2]="BELOW"})(fd||(fd={}));var ic;(function(c){c[c.NotSet=0]="NotSet",c[c.ContentFlush=1]="ContentFlush",c[c.RecoverFromMarkers=2]="RecoverFromMarkers",c[c.Explicit=3]="Explicit",c[c.Paste=4]="Paste",c[c.Undo=5]="Undo",c[c.Redo=6]="Redo"})(ic||(ic={}));var Pu;(function(c){c[c.LF=1]="LF",c[c.CRLF=2]="CRLF"})(Pu||(Pu={}));var Bd;(function(c){c[c.Text=0]="Text",c[c.Read=1]="Read",c[c.Write=2]="Write"})(Bd||(Bd={}));var Za;(function(c){c[c.None=0]="None",c[c.Keep=1]="Keep",c[c.Brackets=2]="Brackets",c[c.Advanced=3]="Advanced",c[c.Full=4]="Full"})(Za||(Za={}));var da;(function(c){c[c.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",c[c.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",c[c.accessibilitySupport=2]="accessibilitySupport",c[c.accessibilityPageSize=3]="accessibilityPageSize",c[c.ariaLabel=4]="ariaLabel",c[c.autoClosingBrackets=5]="autoClosingBrackets",c[c.autoClosingDelete=6]="autoClosingDelete",c[c.autoClosingOvertype=7]="autoClosingOvertype",c[c.autoClosingQuotes=8]="autoClosingQuotes",c[c.autoIndent=9]="autoIndent",c[c.automaticLayout=10]="automaticLayout",c[c.autoSurround=11]="autoSurround",c[c.bracketPairColorization=12]="bracketPairColorization",c[c.guides=13]="guides",c[c.codeLens=14]="codeLens",c[c.codeLensFontFamily=15]="codeLensFontFamily",c[c.codeLensFontSize=16]="codeLensFontSize",c[c.colorDecorators=17]="colorDecorators",c[c.columnSelection=18]="columnSelection",c[c.comments=19]="comments",c[c.contextmenu=20]="contextmenu",c[c.copyWithSyntaxHighlighting=21]="copyWithSyntaxHighlighting",c[c.cursorBlinking=22]="cursorBlinking",c[c.cursorSmoothCaretAnimation=23]="cursorSmoothCaretAnimation",c[c.cursorStyle=24]="cursorStyle",c[c.cursorSurroundingLines=25]="cursorSurroundingLines",c[c.cursorSurroundingLinesStyle=26]="cursorSurroundingLinesStyle",c[c.cursorWidth=27]="cursorWidth",c[c.disableLayerHinting=28]="disableLayerHinting",c[c.disableMonospaceOptimizations=29]="disableMonospaceOptimizations",c[c.domReadOnly=30]="domReadOnly",c[c.dragAndDrop=31]="dragAndDrop",c[c.emptySelectionClipboard=32]="emptySelectionClipboard",c[c.extraEditorClassName=33]="extraEditorClassName",c[c.fastScrollSensitivity=34]="fastScrollSensitivity",c[c.find=35]="find",c[c.fixedOverflowWidgets=36]="fixedOverflowWidgets",c[c.folding=37]="folding",c[c.foldingStrategy=38]="foldingStrategy",c[c.foldingHighlight=39]="foldingHighlight",c[c.foldingImportsByDefault=40]="foldingImportsByDefault",c[c.unfoldOnClickAfterEndOfLine=41]="unfoldOnClickAfterEndOfLine",c[c.fontFamily=42]="fontFamily",c[c.fontInfo=43]="fontInfo",c[c.fontLigatures=44]="fontLigatures",c[c.fontSize=45]="fontSize",c[c.fontWeight=46]="fontWeight",c[c.formatOnPaste=47]="formatOnPaste",c[c.formatOnType=48]="formatOnType",c[c.glyphMargin=49]="glyphMargin",c[c.gotoLocation=50]="gotoLocation",c[c.hideCursorInOverviewRuler=51]="hideCursorInOverviewRuler",c[c.hover=52]="hover",c[c.inDiffEditor=53]="inDiffEditor",c[c.inlineSuggest=54]="inlineSuggest",c[c.letterSpacing=55]="letterSpacing",c[c.lightbulb=56]="lightbulb",c[c.lineDecorationsWidth=57]="lineDecorationsWidth",c[c.lineHeight=58]="lineHeight",c[c.lineNumbers=59]="lineNumbers",c[c.lineNumbersMinChars=60]="lineNumbersMinChars",c[c.linkedEditing=61]="linkedEditing",c[c.links=62]="links",c[c.matchBrackets=63]="matchBrackets",c[c.minimap=64]="minimap",c[c.mouseStyle=65]="mouseStyle",c[c.mouseWheelScrollSensitivity=66]="mouseWheelScrollSensitivity",c[c.mouseWheelZoom=67]="mouseWheelZoom",c[c.multiCursorMergeOverlapping=68]="multiCursorMergeOverlapping",c[c.multiCursorModifier=69]="multiCursorModifier",c[c.multiCursorPaste=70]="multiCursorPaste",c[c.occurrencesHighlight=71]="occurrencesHighlight",c[c.overviewRulerBorder=72]="overviewRulerBorder",c[c.overviewRulerLanes=73]="overviewRulerLanes",c[c.padding=74]="padding",c[c.parameterHints=75]="parameterHints",c[c.peekWidgetDefaultFocus=76]="peekWidgetDefaultFocus",c[c.definitionLinkOpensInPeek=77]="definitionLinkOpensInPeek",c[c.quickSuggestions=78]="quickSuggestions",c[c.quickSuggestionsDelay=79]="quickSuggestionsDelay",c[c.readOnly=80]="readOnly",c[c.renameOnType=81]="renameOnType",c[c.renderControlCharacters=82]="renderControlCharacters",c[c.renderFinalNewline=83]="renderFinalNewline",c[c.renderLineHighlight=84]="renderLineHighlight",c[c.renderLineHighlightOnlyWhenFocus=85]="renderLineHighlightOnlyWhenFocus",c[c.renderValidationDecorations=86]="renderValidationDecorations",c[c.renderWhitespace=87]="renderWhitespace",c[c.revealHorizontalRightPadding=88]="revealHorizontalRightPadding",c[c.roundedSelection=89]="roundedSelection",c[c.rulers=90]="rulers",c[c.scrollbar=91]="scrollbar",c[c.scrollBeyondLastColumn=92]="scrollBeyondLastColumn",c[c.scrollBeyondLastLine=93]="scrollBeyondLastLine",c[c.scrollPredominantAxis=94]="scrollPredominantAxis",c[c.selectionClipboard=95]="selectionClipboard",c[c.selectionHighlight=96]="selectionHighlight",c[c.selectOnLineNumbers=97]="selectOnLineNumbers",c[c.showFoldingControls=98]="showFoldingControls",c[c.showUnused=99]="showUnused",c[c.snippetSuggestions=100]="snippetSuggestions",c[c.smartSelect=101]="smartSelect",c[c.smoothScrolling=102]="smoothScrolling",c[c.stickyTabStops=103]="stickyTabStops",c[c.stopRenderingLineAfter=104]="stopRenderingLineAfter",c[c.suggest=105]="suggest",c[c.suggestFontSize=106]="suggestFontSize",c[c.suggestLineHeight=107]="suggestLineHeight",c[c.suggestOnTriggerCharacters=108]="suggestOnTriggerCharacters",c[c.suggestSelection=109]="suggestSelection",c[c.tabCompletion=110]="tabCompletion",c[c.tabIndex=111]="tabIndex",c[c.unusualLineTerminators=112]="unusualLineTerminators",c[c.useShadowDOM=113]="useShadowDOM",c[c.useTabStops=114]="useTabStops",c[c.wordSeparators=115]="wordSeparators",c[c.wordWrap=116]="wordWrap",c[c.wordWrapBreakAfterCharacters=117]="wordWrapBreakAfterCharacters",c[c.wordWrapBreakBeforeCharacters=118]="wordWrapBreakBeforeCharacters",c[c.wordWrapColumn=119]="wordWrapColumn",c[c.wordWrapOverride1=120]="wordWrapOverride1",c[c.wordWrapOverride2=121]="wordWrapOverride2",c[c.wrappingIndent=122]="wrappingIndent",c[c.wrappingStrategy=123]="wrappingStrategy",c[c.showDeprecated=124]="showDeprecated",c[c.inlayHints=125]="inlayHints",c[c.editorClassName=126]="editorClassName",c[c.pixelRatio=127]="pixelRatio",c[c.tabFocusMode=128]="tabFocusMode",c[c.layoutInfo=129]="layoutInfo",c[c.wrappingInfo=130]="wrappingInfo"})(da||(da={}));var pc;(function(c){c[c.TextDefined=0]="TextDefined",c[c.LF=1]="LF",c[c.CRLF=2]="CRLF"})(pc||(pc={}));var $o;(function(c){c[c.LF=0]="LF",c[c.CRLF=1]="CRLF"})($o||($o={}));var Yu;(function(c){c[c.None=0]="None",c[c.Indent=1]="Indent",c[c.IndentOutdent=2]="IndentOutdent",c[c.Outdent=3]="Outdent"})(Yu||(Yu={}));var Dc;(function(c){c[c.Other=0]="Other",c[c.Type=1]="Type",c[c.Parameter=2]="Parameter"})(Dc||(Dc={}));var xf;(function(c){c[c.Automatic=0]="Automatic",c[c.Explicit=1]="Explicit"})(xf||(xf={}));var es;(function(c){c[c.DependsOnKbLayout=-1]="DependsOnKbLayout",c[c.Unknown=0]="Unknown",c[c.Backspace=1]="Backspace",c[c.Tab=2]="Tab",c[c.Enter=3]="Enter",c[c.Shift=4]="Shift",c[c.Ctrl=5]="Ctrl",c[c.Alt=6]="Alt",c[c.PauseBreak=7]="PauseBreak",c[c.CapsLock=8]="CapsLock",c[c.Escape=9]="Escape",c[c.Space=10]="Space",c[c.PageUp=11]="PageUp",c[c.PageDown=12]="PageDown",c[c.End=13]="End",c[c.Home=14]="Home",c[c.LeftArrow=15]="LeftArrow",c[c.UpArrow=16]="UpArrow",c[c.RightArrow=17]="RightArrow",c[c.DownArrow=18]="DownArrow",c[c.Insert=19]="Insert",c[c.Delete=20]="Delete",c[c.Digit0=21]="Digit0",c[c.Digit1=22]="Digit1",c[c.Digit2=23]="Digit2",c[c.Digit3=24]="Digit3",c[c.Digit4=25]="Digit4",c[c.Digit5=26]="Digit5",c[c.Digit6=27]="Digit6",c[c.Digit7=28]="Digit7",c[c.Digit8=29]="Digit8",c[c.Digit9=30]="Digit9",c[c.KeyA=31]="KeyA",c[c.KeyB=32]="KeyB",c[c.KeyC=33]="KeyC",c[c.KeyD=34]="KeyD",c[c.KeyE=35]="KeyE",c[c.KeyF=36]="KeyF",c[c.KeyG=37]="KeyG",c[c.KeyH=38]="KeyH",c[c.KeyI=39]="KeyI",c[c.KeyJ=40]="KeyJ",c[c.KeyK=41]="KeyK",c[c.KeyL=42]="KeyL",c[c.KeyM=43]="KeyM",c[c.KeyN=44]="KeyN",c[c.KeyO=45]="KeyO",c[c.KeyP=46]="KeyP",c[c.KeyQ=47]="KeyQ",c[c.KeyR=48]="KeyR",c[c.KeyS=49]="KeyS",c[c.KeyT=50]="KeyT",c[c.KeyU=51]="KeyU",c[c.KeyV=52]="KeyV",c[c.KeyW=53]="KeyW",c[c.KeyX=54]="KeyX",c[c.KeyY=55]="KeyY",c[c.KeyZ=56]="KeyZ",c[c.Meta=57]="Meta",c[c.ContextMenu=58]="ContextMenu",c[c.F1=59]="F1",c[c.F2=60]="F2",c[c.F3=61]="F3",c[c.F4=62]="F4",c[c.F5=63]="F5",c[c.F6=64]="F6",c[c.F7=65]="F7",c[c.F8=66]="F8",c[c.F9=67]="F9",c[c.F10=68]="F10",c[c.F11=69]="F11",c[c.F12=70]="F12",c[c.F13=71]="F13",c[c.F14=72]="F14",c[c.F15=73]="F15",c[c.F16=74]="F16",c[c.F17=75]="F17",c[c.F18=76]="F18",c[c.F19=77]="F19",c[c.NumLock=78]="NumLock",c[c.ScrollLock=79]="ScrollLock",c[c.Semicolon=80]="Semicolon",c[c.Equal=81]="Equal",c[c.Comma=82]="Comma",c[c.Minus=83]="Minus",c[c.Period=84]="Period",c[c.Slash=85]="Slash",c[c.Backquote=86]="Backquote",c[c.BracketLeft=87]="BracketLeft",c[c.Backslash=88]="Backslash",c[c.BracketRight=89]="BracketRight",c[c.Quote=90]="Quote",c[c.OEM_8=91]="OEM_8",c[c.IntlBackslash=92]="IntlBackslash",c[c.Numpad0=93]="Numpad0",c[c.Numpad1=94]="Numpad1",c[c.Numpad2=95]="Numpad2",c[c.Numpad3=96]="Numpad3",c[c.Numpad4=97]="Numpad4",c[c.Numpad5=98]="Numpad5",c[c.Numpad6=99]="Numpad6",c[c.Numpad7=100]="Numpad7",c[c.Numpad8=101]="Numpad8",c[c.Numpad9=102]="Numpad9",c[c.NumpadMultiply=103]="NumpadMultiply",c[c.NumpadAdd=104]="NumpadAdd",c[c.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",c[c.NumpadSubtract=106]="NumpadSubtract",c[c.NumpadDecimal=107]="NumpadDecimal",c[c.NumpadDivide=108]="NumpadDivide",c[c.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",c[c.ABNT_C1=110]="ABNT_C1",c[c.ABNT_C2=111]="ABNT_C2",c[c.AudioVolumeMute=112]="AudioVolumeMute",c[c.AudioVolumeUp=113]="AudioVolumeUp",c[c.AudioVolumeDown=114]="AudioVolumeDown",c[c.BrowserSearch=115]="BrowserSearch",c[c.BrowserHome=116]="BrowserHome",c[c.BrowserBack=117]="BrowserBack",c[c.BrowserForward=118]="BrowserForward",c[c.MediaTrackNext=119]="MediaTrackNext",c[c.MediaTrackPrevious=120]="MediaTrackPrevious",c[c.MediaStop=121]="MediaStop",c[c.MediaPlayPause=122]="MediaPlayPause",c[c.LaunchMediaPlayer=123]="LaunchMediaPlayer",c[c.LaunchMail=124]="LaunchMail",c[c.LaunchApp2=125]="LaunchApp2",c[c.MAX_VALUE=126]="MAX_VALUE"})(es||(es={}));var If;(function(c){c[c.Hint=1]="Hint",c[c.Info=2]="Info",c[c.Warning=4]="Warning",c[c.Error=8]="Error"})(If||(If={}));var Qs;(function(c){c[c.Unnecessary=1]="Unnecessary",c[c.Deprecated=2]="Deprecated"})(Qs||(Qs={}));var Gc;(function(c){c[c.Inline=1]="Inline",c[c.Gutter=2]="Gutter"})(Gc||(Gc={}));var Ks;(function(c){c[c.UNKNOWN=0]="UNKNOWN",c[c.TEXTAREA=1]="TEXTAREA",c[c.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",c[c.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",c[c.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",c[c.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",c[c.CONTENT_TEXT=6]="CONTENT_TEXT",c[c.CONTENT_EMPTY=7]="CONTENT_EMPTY",c[c.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",c[c.CONTENT_WIDGET=9]="CONTENT_WIDGET",c[c.OVERVIEW_RULER=10]="OVERVIEW_RULER",c[c.SCROLLBAR=11]="SCROLLBAR",c[c.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",c[c.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(Ks||(Ks={}));var rc;(function(c){c[c.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",c[c.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",c[c.TOP_CENTER=2]="TOP_CENTER"})(rc||(rc={}));var mf;(function(c){c[c.Left=1]="Left",c[c.Center=2]="Center",c[c.Right=4]="Right",c[c.Full=7]="Full"})(mf||(mf={}));var _f;(function(c){c[c.Off=0]="Off",c[c.On=1]="On",c[c.Relative=2]="Relative",c[c.Interval=3]="Interval",c[c.Custom=4]="Custom"})(_f||(_f={}));var vu;(function(c){c[c.None=0]="None",c[c.Text=1]="Text",c[c.Blocks=2]="Blocks"})(vu||(vu={}));var Qu;(function(c){c[c.Smooth=0]="Smooth",c[c.Immediate=1]="Immediate"})(Qu||(Qu={}));var gf;(function(c){c[c.Auto=1]="Auto",c[c.Hidden=2]="Hidden",c[c.Visible=3]="Visible"})(gf||(gf={}));var Nf;(function(c){c[c.LTR=0]="LTR",c[c.RTL=1]="RTL"})(Nf||(Nf={}));var kf;(function(c){c[c.Invoke=1]="Invoke",c[c.TriggerCharacter=2]="TriggerCharacter",c[c.ContentChange=3]="ContentChange"})(kf||(kf={}));var dd;(function(c){c[c.File=0]="File",c[c.Module=1]="Module",c[c.Namespace=2]="Namespace",c[c.Package=3]="Package",c[c.Class=4]="Class",c[c.Method=5]="Method",c[c.Property=6]="Property",c[c.Field=7]="Field",c[c.Constructor=8]="Constructor",c[c.Enum=9]="Enum",c[c.Interface=10]="Interface",c[c.Function=11]="Function",c[c.Variable=12]="Variable",c[c.Constant=13]="Constant",c[c.String=14]="String",c[c.Number=15]="Number",c[c.Boolean=16]="Boolean",c[c.Array=17]="Array",c[c.Object=18]="Object",c[c.Key=19]="Key",c[c.Null=20]="Null",c[c.EnumMember=21]="EnumMember",c[c.Struct=22]="Struct",c[c.Event=23]="Event",c[c.Operator=24]="Operator",c[c.TypeParameter=25]="TypeParameter"})(dd||(dd={}));var pd;(function(c){c[c.Deprecated=1]="Deprecated"})(pd||(pd={}));var Rf;(function(c){c[c.Hidden=0]="Hidden",c[c.Blink=1]="Blink",c[c.Smooth=2]="Smooth",c[c.Phase=3]="Phase",c[c.Expand=4]="Expand",c[c.Solid=5]="Solid"})(Rf||(Rf={}));var Of;(function(c){c[c.Line=1]="Line",c[c.Block=2]="Block",c[c.Underline=3]="Underline",c[c.LineThin=4]="LineThin",c[c.BlockOutline=5]="BlockOutline",c[c.UnderlineThin=6]="UnderlineThin"})(Of||(Of={}));var md;(function(c){c[c.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",c[c.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",c[c.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",c[c.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(md||(md={}));var Zu;(function(c){c[c.None=0]="None",c[c.Same=1]="Same",c[c.Indent=2]="Indent",c[c.DeepIndent=3]="DeepIndent"})(Zu||(Zu={}));class Xc{static chord(h,ae){return pu(h,ae)}}Xc.CtrlCmd=2048,Xc.Shift=1024,Xc.Alt=512,Xc.WinCtrl=256;function Pf(){return{editor:void 0,languages:void 0,CancellationTokenSource:Wr,Emitter:Ae,KeyCode:es,KeyMod:Xc,Position:Fn,Range:et,Selection:ol,SelectionDirection:Nf,MarkerSeverity:If,MarkerTag:Qs,Uri:ws,Token:mu}}var Jl=function(c,h,ae,je){function _n(Nn){return Nn instanceof ae?Nn:new ae(function(er){er(Nn)})}return new(ae||(ae=Promise))(function(Nn,er){function pr(gt){try{Er(je.next(gt))}catch(rt){er(rt)}}function kr(gt){try{Er(je.throw(gt))}catch(rt){er(rt)}}function Er(gt){gt.done?Nn(gt.value):_n(gt.value).then(pr,kr)}Er((je=je.apply(c,h||[])).next())})};class $u extends Zl{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(h){return this._lines[h-1]}getWordAtPosition(h,ae){let je=Or(h.column,kn(ae),this._lines[h.lineNumber-1],0);return je?new et(h.lineNumber,je.startColumn,h.lineNumber,je.endColumn):null}words(h){const ae=this._lines,je=this._wordenize.bind(this);let _n=0,Nn="",er=0,pr=[];return{*[Symbol.iterator](){for(;;)if(erthis._lines.length)ae=this._lines.length,je=this._lines[ae-1].length+1,_n=!0;else{let Nn=this._lines[ae-1].length+1;je<1?(je=1,_n=!0):je>Nn&&(je=Nn,_n=!0)}return _n?{lineNumber:ae,column:je}:h}}class Yc{constructor(h,ae){this._host=h,this._models=Object.create(null),this._foreignModuleFactory=ae,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(h){return this._models[h]}_getModels(){let h=[];return Object.keys(this._models).forEach(ae=>h.push(this._models[ae])),h}acceptNewModel(h){this._models[h.url]=new $u(ws.parse(h.url),h.lines,h.EOL,h.versionId)}acceptModelChanged(h,ae){if(!this._models[h])return;this._models[h].onEvents(ae)}acceptRemovedModel(h){this._models[h]&&delete this._models[h]}computeDiff(h,ae,je,_n){return Jl(this,void 0,void 0,function*(){const Nn=this._getModel(h),er=this._getModel(ae);if(!Nn||!er)return null;const pr=Nn.getLinesContent(),kr=er.getLinesContent(),gt=new hs(pr,kr,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:je,shouldMakePrettyDiff:!0,maxComputationTime:_n}).computeDiff(),rt=gt.changes.length>0?!1:this._modelsAreIdentical(Nn,er);return{quitEarly:gt.quitEarly,identical:rt,changes:gt.changes}})}_modelsAreIdentical(h,ae){const je=h.getLineCount(),_n=ae.getLineCount();if(je!==_n)return!1;for(let Nn=1;Nn<=je;Nn++){const er=h.getLineContent(Nn),pr=ae.getLineContent(Nn);if(er!==pr)return!1}return!0}computeMoreMinimalEdits(h,ae){return Jl(this,void 0,void 0,function*(){const je=this._getModel(h);if(!je)return ae;const _n=[];let Nn;ae=ae.slice(0).sort((er,pr)=>{if(er.range&&pr.range)return et.compareRangesUsingStarts(er.range,pr.range);let kr=er.range?0:1,Er=pr.range?0:1;return kr-Er});for(let{range:er,text:pr,eol:kr}of ae){if(typeof kr=="number"&&(Nn=kr),et.isEmpty(er)&&!pr)continue;const Er=je.getValueInRange(er);if(pr=pr.replace(/\r\n|\n|\r/g,je.eol),Er===pr)continue;if(Math.max(pr.length,Er.length)>Yc._diffLimit){_n.push({range:er,text:pr});continue}const gt=qi(Er,pr,!1),rt=je.offsetAt(et.lift(er).getStartPosition());for(const ma of gt){const Ai=je.positionAt(rt+ma.originalStart),Ba=je.positionAt(rt+ma.originalStart+ma.originalLength),_i={text:pr.substr(ma.modifiedStart,ma.modifiedLength),range:{startLineNumber:Ai.lineNumber,startColumn:Ai.column,endLineNumber:Ba.lineNumber,endColumn:Ba.column}};je.getValueInRange(_i.range)!==_i.text&&_n.push(_i)}}return typeof Nn=="number"&&_n.push({eol:Nn,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),_n})}computeLinks(h){return Jl(this,void 0,void 0,function*(){let ae=this._getModel(h);return ae?Fi(ae):null})}textualSuggest(h,ae,je,_n){return Jl(this,void 0,void 0,function*(){const Nn=new M(!0),er=new RegExp(je,_n),pr=new Set;e:for(let kr of h){const Er=this._getModel(kr);if(Er){for(let gt of Er.words(er))if(!(gt===ae||!isNaN(Number(gt)))&&(pr.add(gt),pr.size>Yc._suggestionsLimit))break e}}return{words:Array.from(pr),duration:Nn.elapsed()}})}computeWordRanges(h,ae,je,_n){return Jl(this,void 0,void 0,function*(){let Nn=this._getModel(h);if(!Nn)return Object.create(null);const er=new RegExp(je,_n),pr=Object.create(null);for(let kr=ae.startLineNumber;krthis._host.fhr(pr,kr)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(er,ae),Promise.resolve(Un(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(h,ae){if(!this._foreignModule||typeof this._foreignModule[h]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+h));try{return Promise.resolve(this._foreignModule[h].apply(this._foreignModule,ae))}catch(je){return Promise.reject(je)}}}Yc._diffLimit=1e5,Yc._suggestionsLimit=1e4;function Ud(c){return new Yc(c,null)}typeof importScripts=="function"&&(oe.monaco=Pf());let Lc=!1;function mc(c){if(Lc)return;Lc=!0;const h=new vt(ae=>{self.postMessage(ae)},ae=>new Yc(ae,c));self.onmessage=ae=>{h.onmessage(ae.data)}}self.onmessage=c=>{Lc||mc(null)};var oc=wd(647),Ti={};Ti["lib.d.ts"]=`/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */ /// /// /// /// /// `,Ti["lib.dom.d.ts"]=`/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */ /// ///////////////////////////// /// Window APIs ///////////////////////////// interface AddEventListenerOptions extends EventListenerOptions { once?: boolean; passive?: boolean; signal?: AbortSignal; } interface AesCbcParams extends Algorithm { iv: BufferSource; } interface AesCtrParams extends Algorithm { counter: BufferSource; length: number; } interface AesDerivedKeyParams extends Algorithm { length: number; } interface AesGcmParams extends Algorithm { additionalData?: BufferSource; iv: BufferSource; tagLength?: number; } interface AesKeyAlgorithm extends KeyAlgorithm { length: number; } interface AesKeyGenParams extends Algorithm { length: number; } interface Algorithm { name: string; } interface AnalyserOptions extends AudioNodeOptions { fftSize?: number; maxDecibels?: number; minDecibels?: number; smoothingTimeConstant?: number; } interface AnimationEventInit extends EventInit { animationName?: string; elapsedTime?: number; pseudoElement?: string; } interface AnimationPlaybackEventInit extends EventInit { currentTime?: number | null; timelineTime?: number | null; } interface AssignedNodesOptions { flatten?: boolean; } interface AudioBufferOptions { length: number; numberOfChannels?: number; sampleRate: number; } interface AudioBufferSourceOptions { buffer?: AudioBuffer | null; detune?: number; loop?: boolean; loopEnd?: number; loopStart?: number; playbackRate?: number; } interface AudioConfiguration { bitrate?: number; channels?: string; contentType: string; samplerate?: number; spatialRendering?: boolean; } interface AudioContextOptions { latencyHint?: AudioContextLatencyCategory | number; sampleRate?: number; } interface AudioNodeOptions { channelCount?: number; channelCountMode?: ChannelCountMode; channelInterpretation?: ChannelInterpretation; } interface AudioProcessingEventInit extends EventInit { inputBuffer: AudioBuffer; outputBuffer: AudioBuffer; playbackTime: number; } interface AudioTimestamp { contextTime?: number; performanceTime?: DOMHighResTimeStamp; } interface AudioWorkletNodeOptions extends AudioNodeOptions { numberOfInputs?: number; numberOfOutputs?: number; outputChannelCount?: number[]; parameterData?: Record; processorOptions?: any; } interface AuthenticationExtensionsClientInputs { appid?: string; appidExclude?: string; credProps?: boolean; uvm?: boolean; } interface AuthenticationExtensionsClientOutputs { appid?: boolean; credProps?: CredentialPropertiesOutput; uvm?: UvmEntries; } interface AuthenticatorSelectionCriteria { authenticatorAttachment?: AuthenticatorAttachment; requireResidentKey?: boolean; residentKey?: ResidentKeyRequirement; userVerification?: UserVerificationRequirement; } interface BiquadFilterOptions extends AudioNodeOptions { Q?: number; detune?: number; frequency?: number; gain?: number; type?: BiquadFilterType; } interface BlobEventInit { data: Blob; timecode?: DOMHighResTimeStamp; } interface BlobPropertyBag { endings?: EndingType; type?: string; } interface CSSStyleSheetInit { baseURL?: string; disabled?: boolean; media?: MediaList | string; } interface CacheQueryOptions { ignoreMethod?: boolean; ignoreSearch?: boolean; ignoreVary?: boolean; } interface CanvasRenderingContext2DSettings { alpha?: boolean; colorSpace?: PredefinedColorSpace; desynchronized?: boolean; willReadFrequently?: boolean; } interface ChannelMergerOptions extends AudioNodeOptions { numberOfInputs?: number; } interface ChannelSplitterOptions extends AudioNodeOptions { numberOfOutputs?: number; } interface ClientQueryOptions { includeUncontrolled?: boolean; type?: ClientTypes; } interface ClipboardEventInit extends EventInit { clipboardData?: DataTransfer | null; } interface ClipboardItemOptions { presentationStyle?: PresentationStyle; } interface CloseEventInit extends EventInit { code?: number; reason?: string; wasClean?: boolean; } interface CompositionEventInit extends UIEventInit { data?: string; } interface ComputedEffectTiming extends EffectTiming { activeDuration?: CSSNumberish; currentIteration?: number | null; endTime?: CSSNumberish; localTime?: CSSNumberish | null; progress?: CSSNumberish | null; startTime?: CSSNumberish; } interface ComputedKeyframe { composite: CompositeOperationOrAuto; computedOffset: number; easing: string; offset: number | null; [property: string]: string | number | null | undefined; } interface ConstantSourceOptions { offset?: number; } interface ConstrainBooleanParameters { exact?: boolean; ideal?: boolean; } interface ConstrainDOMStringParameters { exact?: string | string[]; ideal?: string | string[]; } interface ConstrainDoubleRange extends DoubleRange { exact?: number; ideal?: number; } interface ConstrainULongRange extends ULongRange { exact?: number; ideal?: number; } interface ConvolverOptions extends AudioNodeOptions { buffer?: AudioBuffer | null; disableNormalization?: boolean; } interface CredentialCreationOptions { publicKey?: PublicKeyCredentialCreationOptions; signal?: AbortSignal; } interface CredentialPropertiesOutput { rk?: boolean; } interface CredentialRequestOptions { mediation?: CredentialMediationRequirement; publicKey?: PublicKeyCredentialRequestOptions; signal?: AbortSignal; } interface CryptoKeyPair { privateKey?: CryptoKey; publicKey?: CryptoKey; } interface CustomEventInit extends EventInit { detail?: T; } interface DOMMatrix2DInit { a?: number; b?: number; c?: number; d?: number; e?: number; f?: number; m11?: number; m12?: number; m21?: number; m22?: number; m41?: number; m42?: number; } interface DOMMatrixInit extends DOMMatrix2DInit { is2D?: boolean; m13?: number; m14?: number; m23?: number; m24?: number; m31?: number; m32?: number; m33?: number; m34?: number; m43?: number; m44?: number; } interface DOMPointInit { w?: number; x?: number; y?: number; z?: number; } interface DOMQuadInit { p1?: DOMPointInit; p2?: DOMPointInit; p3?: DOMPointInit; p4?: DOMPointInit; } interface DOMRectInit { height?: number; width?: number; x?: number; y?: number; } interface DelayOptions extends AudioNodeOptions { delayTime?: number; maxDelayTime?: number; } interface DeviceMotionEventAccelerationInit { x?: number | null; y?: number | null; z?: number | null; } interface DeviceMotionEventInit extends EventInit { acceleration?: DeviceMotionEventAccelerationInit; accelerationIncludingGravity?: DeviceMotionEventAccelerationInit; interval?: number; rotationRate?: DeviceMotionEventRotationRateInit; } interface DeviceMotionEventRotationRateInit { alpha?: number | null; beta?: number | null; gamma?: number | null; } interface DeviceOrientationEventInit extends EventInit { absolute?: boolean; alpha?: number | null; beta?: number | null; gamma?: number | null; } interface DisplayMediaStreamConstraints { audio?: boolean | MediaTrackConstraints; video?: boolean | MediaTrackConstraints; } interface DocumentTimelineOptions { originTime?: DOMHighResTimeStamp; } interface DoubleRange { max?: number; min?: number; } interface DragEventInit extends MouseEventInit { dataTransfer?: DataTransfer | null; } interface DynamicsCompressorOptions extends AudioNodeOptions { attack?: number; knee?: number; ratio?: number; release?: number; threshold?: number; } interface EcKeyAlgorithm extends KeyAlgorithm { namedCurve: NamedCurve; } interface EcKeyGenParams extends Algorithm { namedCurve: NamedCurve; } interface EcKeyImportParams extends Algorithm { namedCurve: NamedCurve; } interface EcdhKeyDeriveParams extends Algorithm { public: CryptoKey; } interface EcdsaParams extends Algorithm { hash: HashAlgorithmIdentifier; } interface EffectTiming { delay?: number; direction?: PlaybackDirection; duration?: number | string; easing?: string; endDelay?: number; fill?: FillMode; iterationStart?: number; iterations?: number; playbackRate?: number; } interface ElementCreationOptions { is?: string; } interface ElementDefinitionOptions { extends?: string; } interface ErrorEventInit extends EventInit { colno?: number; error?: any; filename?: string; lineno?: number; message?: string; } interface EventInit { bubbles?: boolean; cancelable?: boolean; composed?: boolean; } interface EventListenerOptions { capture?: boolean; } interface EventModifierInit extends UIEventInit { altKey?: boolean; ctrlKey?: boolean; metaKey?: boolean; modifierAltGraph?: boolean; modifierCapsLock?: boolean; modifierFn?: boolean; modifierFnLock?: boolean; modifierHyper?: boolean; modifierNumLock?: boolean; modifierScrollLock?: boolean; modifierSuper?: boolean; modifierSymbol?: boolean; modifierSymbolLock?: boolean; shiftKey?: boolean; } interface EventSourceInit { withCredentials?: boolean; } interface FilePropertyBag extends BlobPropertyBag { lastModified?: number; } interface FileSystemFlags { create?: boolean; exclusive?: boolean; } interface FocusEventInit extends UIEventInit { relatedTarget?: EventTarget | null; } interface FocusOptions { preventScroll?: boolean; } interface FontFaceDescriptors { display?: string; featureSettings?: string; stretch?: string; style?: string; unicodeRange?: string; variant?: string; weight?: string; } interface FontFaceSetLoadEventInit extends EventInit { fontfaces?: FontFace[]; } interface FormDataEventInit extends EventInit { formData: FormData; } interface FullscreenOptions { navigationUI?: FullscreenNavigationUI; } interface GainOptions extends AudioNodeOptions { gain?: number; } interface GamepadEventInit extends EventInit { gamepad: Gamepad; } interface GetAnimationsOptions { subtree?: boolean; } interface GetNotificationOptions { tag?: string; } interface GetRootNodeOptions { composed?: boolean; } interface HashChangeEventInit extends EventInit { newURL?: string; oldURL?: string; } interface HkdfParams extends Algorithm { hash: HashAlgorithmIdentifier; info: BufferSource; salt: BufferSource; } interface HmacImportParams extends Algorithm { hash: HashAlgorithmIdentifier; length?: number; } interface HmacKeyAlgorithm extends KeyAlgorithm { hash: KeyAlgorithm; length: number; } interface HmacKeyGenParams extends Algorithm { hash: HashAlgorithmIdentifier; length?: number; } interface IDBDatabaseInfo { name?: string; version?: number; } interface IDBIndexParameters { multiEntry?: boolean; unique?: boolean; } interface IDBObjectStoreParameters { autoIncrement?: boolean; keyPath?: string | string[] | null; } interface IDBVersionChangeEventInit extends EventInit { newVersion?: number | null; oldVersion?: number; } interface IIRFilterOptions extends AudioNodeOptions { feedback: number[]; feedforward: number[]; } interface IdleRequestOptions { timeout?: number; } interface ImageBitmapOptions { colorSpaceConversion?: ColorSpaceConversion; imageOrientation?: ImageOrientation; premultiplyAlpha?: PremultiplyAlpha; resizeHeight?: number; resizeQuality?: ResizeQuality; resizeWidth?: number; } interface ImageBitmapRenderingContextSettings { alpha?: boolean; } interface ImageDataSettings { colorSpace?: PredefinedColorSpace; } interface ImportMeta { url: string; } interface InputEventInit extends UIEventInit { data?: string | null; dataTransfer?: DataTransfer | null; inputType?: string; isComposing?: boolean; targetRanges?: StaticRange[]; } interface IntersectionObserverEntryInit { boundingClientRect: DOMRectInit; intersectionRatio: number; intersectionRect: DOMRectInit; isIntersecting: boolean; rootBounds: DOMRectInit | null; target: Element; time: DOMHighResTimeStamp; } interface IntersectionObserverInit { root?: Element | Document | null; rootMargin?: string; threshold?: number | number[]; } interface JsonWebKey { alg?: string; crv?: string; d?: string; dp?: string; dq?: string; e?: string; ext?: boolean; k?: string; key_ops?: string[]; kty?: string; n?: string; oth?: RsaOtherPrimesInfo[]; p?: string; q?: string; qi?: string; use?: string; x?: string; y?: string; } interface KeyAlgorithm { name: string; } interface KeyboardEventInit extends EventModifierInit { /** @deprecated */ charCode?: number; code?: string; isComposing?: boolean; key?: string; /** @deprecated */ keyCode?: number; location?: number; repeat?: boolean; } interface Keyframe { composite?: CompositeOperationOrAuto; easing?: string; offset?: number | null; [property: string]: string | number | null | undefined; } interface KeyframeAnimationOptions extends KeyframeEffectOptions { id?: string; } interface KeyframeEffectOptions extends EffectTiming { composite?: CompositeOperation; iterationComposite?: IterationCompositeOperation; pseudoElement?: string | null; } interface MediaCapabilitiesDecodingInfo extends MediaCapabilitiesInfo { configuration?: MediaDecodingConfiguration; } interface MediaCapabilitiesEncodingInfo extends MediaCapabilitiesInfo { configuration?: MediaEncodingConfiguration; } interface MediaCapabilitiesInfo { powerEfficient: boolean; smooth: boolean; supported: boolean; } interface MediaConfiguration { audio?: AudioConfiguration; video?: VideoConfiguration; } interface MediaDecodingConfiguration extends MediaConfiguration { type: MediaDecodingType; } interface MediaElementAudioSourceOptions { mediaElement: HTMLMediaElement; } interface MediaEncodingConfiguration extends MediaConfiguration { type: MediaEncodingType; } interface MediaEncryptedEventInit extends EventInit { initData?: ArrayBuffer | null; initDataType?: string; } interface MediaImage { sizes?: string; src: string; type?: string; } interface MediaKeyMessageEventInit extends EventInit { message: ArrayBuffer; messageType: MediaKeyMessageType; } interface MediaKeySystemConfiguration { audioCapabilities?: MediaKeySystemMediaCapability[]; distinctiveIdentifier?: MediaKeysRequirement; initDataTypes?: string[]; label?: string; persistentState?: MediaKeysRequirement; sessionTypes?: string[]; videoCapabilities?: MediaKeySystemMediaCapability[]; } interface MediaKeySystemMediaCapability { contentType?: string; encryptionScheme?: string | null; robustness?: string; } interface MediaMetadataInit { album?: string; artist?: string; artwork?: MediaImage[]; title?: string; } interface MediaPositionState { duration?: number; playbackRate?: number; position?: number; } interface MediaQueryListEventInit extends EventInit { matches?: boolean; media?: string; } interface MediaRecorderErrorEventInit extends EventInit { error: DOMException; } interface MediaRecorderOptions { audioBitsPerSecond?: number; bitsPerSecond?: number; mimeType?: string; videoBitsPerSecond?: number; } interface MediaSessionActionDetails { action: MediaSessionAction; fastSeek?: boolean | null; seekOffset?: number | null; seekTime?: number | null; } interface MediaStreamAudioSourceOptions { mediaStream: MediaStream; } interface MediaStreamConstraints { audio?: boolean | MediaTrackConstraints; peerIdentity?: string; video?: boolean | MediaTrackConstraints; } interface MediaStreamTrackEventInit extends EventInit { track: MediaStreamTrack; } interface MediaTrackCapabilities { aspectRatio?: DoubleRange; autoGainControl?: boolean[]; channelCount?: ULongRange; cursor?: string[]; deviceId?: string; displaySurface?: string; echoCancellation?: boolean[]; facingMode?: string[]; frameRate?: DoubleRange; groupId?: string; height?: ULongRange; latency?: DoubleRange; logicalSurface?: boolean; noiseSuppression?: boolean[]; resizeMode?: string[]; sampleRate?: ULongRange; sampleSize?: ULongRange; width?: ULongRange; } interface MediaTrackConstraintSet { aspectRatio?: ConstrainDouble; channelCount?: ConstrainULong; deviceId?: ConstrainDOMString; echoCancellation?: ConstrainBoolean; facingMode?: ConstrainDOMString; frameRate?: ConstrainDouble; groupId?: ConstrainDOMString; height?: ConstrainULong; latency?: ConstrainDouble; sampleRate?: ConstrainULong; sampleSize?: ConstrainULong; suppressLocalAudioPlayback?: ConstrainBoolean; width?: ConstrainULong; } interface MediaTrackConstraints extends MediaTrackConstraintSet { advanced?: MediaTrackConstraintSet[]; } interface MediaTrackSettings { aspectRatio?: number; deviceId?: string; echoCancellation?: boolean; facingMode?: string; frameRate?: number; groupId?: string; height?: number; restrictOwnAudio?: boolean; sampleRate?: number; sampleSize?: number; width?: number; } interface MediaTrackSupportedConstraints { aspectRatio?: boolean; deviceId?: boolean; echoCancellation?: boolean; facingMode?: boolean; frameRate?: boolean; groupId?: boolean; height?: boolean; sampleRate?: boolean; sampleSize?: boolean; suppressLocalAudioPlayback?: boolean; width?: boolean; } interface MessageEventInit extends EventInit { data?: T; lastEventId?: string; origin?: string; ports?: MessagePort[]; source?: MessageEventSource | null; } interface MouseEventInit extends EventModifierInit { button?: number; buttons?: number; clientX?: number; clientY?: number; movementX?: number; movementY?: number; relatedTarget?: EventTarget | null; screenX?: number; screenY?: number; } interface MultiCacheQueryOptions extends CacheQueryOptions { cacheName?: string; } interface MutationObserverInit { /** * Set to a list of attribute local names (without namespace) if not all attribute mutations need to be observed and attributes is true or omitted. */ attributeFilter?: string[]; /** * Set to true if attributes is true or omitted and target's attribute value before the mutation needs to be recorded. */ attributeOldValue?: boolean; /** * Set to true if mutations to target's attributes are to be observed. Can be omitted if attributeOldValue or attributeFilter is specified. */ attributes?: boolean; /** * Set to true if mutations to target's data are to be observed. Can be omitted if characterDataOldValue is specified. */ characterData?: boolean; /** * Set to true if characterData is set to true or omitted and target's data before the mutation needs to be recorded. */ characterDataOldValue?: boolean; /** * Set to true if mutations to target's children are to be observed. */ childList?: boolean; /** * Set to true if mutations to not just target, but also target's descendants are to be observed. */ subtree?: boolean; } interface NotificationAction { action: string; icon?: string; title: string; } interface NotificationOptions { actions?: NotificationAction[]; badge?: string; body?: string; data?: any; dir?: NotificationDirection; icon?: string; image?: string; lang?: string; renotify?: boolean; requireInteraction?: boolean; silent?: boolean; tag?: string; timestamp?: DOMTimeStamp; vibrate?: VibratePattern; } interface OfflineAudioCompletionEventInit extends EventInit { renderedBuffer: AudioBuffer; } interface OfflineAudioContextOptions { length: number; numberOfChannels?: number; sampleRate: number; } interface OptionalEffectTiming { delay?: number; direction?: PlaybackDirection; duration?: number | string; easing?: string; endDelay?: number; fill?: FillMode; iterationStart?: number; iterations?: number; playbackRate?: number; } interface OscillatorOptions extends AudioNodeOptions { detune?: number; frequency?: number; periodicWave?: PeriodicWave; type?: OscillatorType; } interface PageTransitionEventInit extends EventInit { persisted?: boolean; } interface PannerOptions extends AudioNodeOptions { coneInnerAngle?: number; coneOuterAngle?: number; coneOuterGain?: number; distanceModel?: DistanceModelType; maxDistance?: number; orientationX?: number; orientationY?: number; orientationZ?: number; panningModel?: PanningModelType; positionX?: number; positionY?: number; positionZ?: number; refDistance?: number; rolloffFactor?: number; } interface PaymentCurrencyAmount { currency: string; value: string; } interface PaymentDetailsBase { displayItems?: PaymentItem[]; modifiers?: PaymentDetailsModifier[]; } interface PaymentDetailsInit extends PaymentDetailsBase { id?: string; total: PaymentItem; } interface PaymentDetailsModifier { additionalDisplayItems?: PaymentItem[]; data?: any; supportedMethods: string; total?: PaymentItem; } interface PaymentDetailsUpdate extends PaymentDetailsBase { paymentMethodErrors?: any; total?: PaymentItem; } interface PaymentItem { amount: PaymentCurrencyAmount; label: string; pending?: boolean; } interface PaymentMethodChangeEventInit extends PaymentRequestUpdateEventInit { methodDetails?: any; methodName?: string; } interface PaymentMethodData { data?: any; supportedMethods: string; } interface PaymentRequestUpdateEventInit extends EventInit { } interface PaymentValidationErrors { error?: string; paymentMethod?: any; } interface Pbkdf2Params extends Algorithm { hash: HashAlgorithmIdentifier; iterations: number; salt: BufferSource; } interface PerformanceMarkOptions { detail?: any; startTime?: DOMHighResTimeStamp; } interface PerformanceMeasureOptions { detail?: any; duration?: DOMHighResTimeStamp; end?: string | DOMHighResTimeStamp; start?: string | DOMHighResTimeStamp; } interface PerformanceObserverInit { buffered?: boolean; entryTypes?: string[]; type?: string; } interface PeriodicWaveConstraints { disableNormalization?: boolean; } interface PeriodicWaveOptions extends PeriodicWaveConstraints { imag?: number[] | Float32Array; real?: number[] | Float32Array; } interface PermissionDescriptor { name: PermissionName; } interface PointerEventInit extends MouseEventInit { coalescedEvents?: PointerEvent[]; height?: number; isPrimary?: boolean; pointerId?: number; pointerType?: string; predictedEvents?: PointerEvent[]; pressure?: number; tangentialPressure?: number; tiltX?: number; tiltY?: number; twist?: number; width?: number; } interface PopStateEventInit extends EventInit { state?: any; } interface PositionOptions { enableHighAccuracy?: boolean; maximumAge?: number; timeout?: number; } interface PostMessageOptions { transfer?: any[]; } interface ProgressEventInit extends EventInit { lengthComputable?: boolean; loaded?: number; total?: number; } interface PromiseRejectionEventInit extends EventInit { promise: Promise; reason?: any; } interface PropertyIndexedKeyframes { composite?: CompositeOperationOrAuto | CompositeOperationOrAuto[]; easing?: string | string[]; offset?: number | (number | null)[]; [property: string]: string | string[] | number | null | (number | null)[] | undefined; } interface PublicKeyCredentialCreationOptions { attestation?: AttestationConveyancePreference; authenticatorSelection?: AuthenticatorSelectionCriteria; challenge: BufferSource; excludeCredentials?: PublicKeyCredentialDescriptor[]; extensions?: AuthenticationExtensionsClientInputs; pubKeyCredParams: PublicKeyCredentialParameters[]; rp: PublicKeyCredentialRpEntity; timeout?: number; user: PublicKeyCredentialUserEntity; } interface PublicKeyCredentialDescriptor { id: BufferSource; transports?: AuthenticatorTransport[]; type: PublicKeyCredentialType; } interface PublicKeyCredentialEntity { name: string; } interface PublicKeyCredentialParameters { alg: COSEAlgorithmIdentifier; type: PublicKeyCredentialType; } interface PublicKeyCredentialRequestOptions { allowCredentials?: PublicKeyCredentialDescriptor[]; challenge: BufferSource; extensions?: AuthenticationExtensionsClientInputs; rpId?: string; timeout?: number; userVerification?: UserVerificationRequirement; } interface PublicKeyCredentialRpEntity extends PublicKeyCredentialEntity { id?: string; } interface PublicKeyCredentialUserEntity extends PublicKeyCredentialEntity { displayName: string; id: BufferSource; } interface PushSubscriptionJSON { endpoint?: string; expirationTime?: DOMTimeStamp | null; keys?: Record; } interface PushSubscriptionOptionsInit { applicationServerKey?: BufferSource | string | null; userVisibleOnly?: boolean; } interface QueuingStrategy { highWaterMark?: number; size?: QueuingStrategySize; } interface QueuingStrategyInit { /** * Creates a new ByteLengthQueuingStrategy with the provided high water mark. * * Note that the provided high water mark will not be validated ahead of time. Instead, if it is negative, NaN, or not a number, the resulting ByteLengthQueuingStrategy will cause the corresponding stream constructor to throw. */ highWaterMark: number; } interface RTCAnswerOptions extends RTCOfferAnswerOptions { } interface RTCCertificateExpiration { expires?: DOMTimeStamp; } interface RTCConfiguration { bundlePolicy?: RTCBundlePolicy; certificates?: RTCCertificate[]; iceCandidatePoolSize?: number; iceServers?: RTCIceServer[]; iceTransportPolicy?: RTCIceTransportPolicy; rtcpMuxPolicy?: RTCRtcpMuxPolicy; } interface RTCDTMFToneChangeEventInit extends EventInit { tone?: string; } interface RTCDataChannelEventInit extends EventInit { channel: RTCDataChannel; } interface RTCDataChannelInit { id?: number; maxPacketLifeTime?: number; maxRetransmits?: number; negotiated?: boolean; ordered?: boolean; protocol?: string; } interface RTCDtlsFingerprint { algorithm?: string; value?: string; } interface RTCIceCandidateInit { candidate?: string; sdpMLineIndex?: number | null; sdpMid?: string | null; usernameFragment?: string | null; } interface RTCIceCandidatePairStats extends RTCStats { availableIncomingBitrate?: number; availableOutgoingBitrate?: number; bytesReceived?: number; bytesSent?: number; currentRoundTripTime?: number; localCandidateId: string; nominated?: boolean; remoteCandidateId: string; requestsReceived?: number; requestsSent?: number; responsesReceived?: number; responsesSent?: number; state: RTCStatsIceCandidatePairState; totalRoundTripTime?: number; transportId: string; } interface RTCIceServer { credential?: string; credentialType?: RTCIceCredentialType; urls: string | string[]; username?: string; } interface RTCInboundRtpStreamStats extends RTCReceivedRtpStreamStats { firCount?: number; framesDecoded?: number; nackCount?: number; pliCount?: number; qpSum?: number; remoteId?: string; } interface RTCLocalSessionDescriptionInit { sdp?: string; type?: RTCSdpType; } interface RTCOfferAnswerOptions { } interface RTCOfferOptions extends RTCOfferAnswerOptions { iceRestart?: boolean; offerToReceiveAudio?: boolean; offerToReceiveVideo?: boolean; } interface RTCOutboundRtpStreamStats extends RTCSentRtpStreamStats { firCount?: number; framesEncoded?: number; nackCount?: number; pliCount?: number; qpSum?: number; remoteId?: string; } interface RTCPeerConnectionIceErrorEventInit extends EventInit { address?: string | null; errorCode: number; errorText?: string; port?: number | null; url?: string; } interface RTCPeerConnectionIceEventInit extends EventInit { candidate?: RTCIceCandidate | null; url?: string | null; } interface RTCReceivedRtpStreamStats extends RTCRtpStreamStats { jitter?: number; packetsDiscarded?: number; packetsLost?: number; packetsReceived?: number; } interface RTCRtcpParameters { cname?: string; reducedSize?: boolean; } interface RTCRtpCapabilities { codecs: RTCRtpCodecCapability[]; headerExtensions: RTCRtpHeaderExtensionCapability[]; } interface RTCRtpCodecCapability { channels?: number; clockRate: number; mimeType: string; sdpFmtpLine?: string; } interface RTCRtpCodecParameters { channels?: number; clockRate: number; mimeType: string; payloadType: number; sdpFmtpLine?: string; } interface RTCRtpCodingParameters { rid?: string; } interface RTCRtpContributingSource { audioLevel?: number; rtpTimestamp: number; source: number; timestamp: DOMHighResTimeStamp; } interface RTCRtpEncodingParameters extends RTCRtpCodingParameters { active?: boolean; maxBitrate?: number; priority?: RTCPriorityType; scaleResolutionDownBy?: number; } interface RTCRtpHeaderExtensionCapability { uri?: string; } interface RTCRtpHeaderExtensionParameters { encrypted?: boolean; id: number; uri: string; } interface RTCRtpParameters { codecs: RTCRtpCodecParameters[]; headerExtensions: RTCRtpHeaderExtensionParameters[]; rtcp: RTCRtcpParameters; } interface RTCRtpReceiveParameters extends RTCRtpParameters { } interface RTCRtpSendParameters extends RTCRtpParameters { degradationPreference?: RTCDegradationPreference; encodings: RTCRtpEncodingParameters[]; transactionId: string; } interface RTCRtpStreamStats extends RTCStats { codecId?: string; kind: string; ssrc: number; transportId?: string; } interface RTCRtpSynchronizationSource extends RTCRtpContributingSource { } interface RTCRtpTransceiverInit { direction?: RTCRtpTransceiverDirection; sendEncodings?: RTCRtpEncodingParameters[]; streams?: MediaStream[]; } interface RTCSentRtpStreamStats extends RTCRtpStreamStats { bytesSent?: number; packetsSent?: number; } interface RTCSessionDescriptionInit { sdp?: string; type: RTCSdpType; } interface RTCStats { id: string; timestamp: DOMHighResTimeStamp; type: RTCStatsType; } interface RTCTrackEventInit extends EventInit { receiver: RTCRtpReceiver; streams?: MediaStream[]; track: MediaStreamTrack; transceiver: RTCRtpTransceiver; } interface RTCTransportStats extends RTCStats { bytesReceived?: number; bytesSent?: number; dtlsCipher?: string; dtlsState: RTCDtlsTransportState; localCertificateId?: string; remoteCertificateId?: string; rtcpTransportStatsId?: string; selectedCandidatePairId?: string; srtpCipher?: string; tlsVersion?: string; } interface ReadableStreamDefaultReadDoneResult { done: true; value?: undefined; } interface ReadableStreamDefaultReadValueResult { done: false; value: T; } interface ReadableWritablePair { readable: ReadableStream; /** * Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use. * * Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader. */ writable: WritableStream; } interface RegistrationOptions { scope?: string; type?: WorkerType; updateViaCache?: ServiceWorkerUpdateViaCache; } interface RequestInit { /** * A BodyInit object or null to set request's body. */ body?: BodyInit | null; /** * A string indicating how the request will interact with the browser's cache to set request's cache. */ cache?: RequestCache; /** * A string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL. Sets request's credentials. */ credentials?: RequestCredentials; /** * A Headers object, an object literal, or an array of two-item arrays to set request's headers. */ headers?: HeadersInit; /** * A cryptographic hash of the resource to be fetched by request. Sets request's integrity. */ integrity?: string; /** * A boolean to set request's keepalive. */ keepalive?: boolean; /** * A string to set request's method. */ method?: string; /** * A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request's mode. */ mode?: RequestMode; /** * A string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request's redirect. */ redirect?: RequestRedirect; /** * A string whose value is a same-origin URL, "about:client", or the empty string, to set request's referrer. */ referrer?: string; /** * A referrer policy to set request's referrerPolicy. */ referrerPolicy?: ReferrerPolicy; /** * An AbortSignal to set request's signal. */ signal?: AbortSignal | null; /** * Can only be null. Used to disassociate request from any Window. */ window?: any; } interface ResizeObserverOptions { box?: ResizeObserverBoxOptions; } interface ResponseInit { headers?: HeadersInit; status?: number; statusText?: string; } interface RsaHashedImportParams extends Algorithm { hash: HashAlgorithmIdentifier; } interface RsaHashedKeyAlgorithm extends RsaKeyAlgorithm { hash: KeyAlgorithm; } interface RsaHashedKeyGenParams extends RsaKeyGenParams { hash: HashAlgorithmIdentifier; } interface RsaKeyAlgorithm extends KeyAlgorithm { modulusLength: number; publicExponent: BigInteger; } interface RsaKeyGenParams extends Algorithm { modulusLength: number; publicExponent: BigInteger; } interface RsaOaepParams extends Algorithm { label?: BufferSource; } interface RsaOtherPrimesInfo { d?: string; r?: string; t?: string; } interface RsaPssParams extends Algorithm { saltLength: number; } interface SVGBoundingBoxOptions { clipped?: boolean; fill?: boolean; markers?: boolean; stroke?: boolean; } interface ScrollIntoViewOptions extends ScrollOptions { block?: ScrollLogicalPosition; inline?: ScrollLogicalPosition; } interface ScrollOptions { behavior?: ScrollBehavior; } interface ScrollToOptions extends ScrollOptions { left?: number; top?: number; } interface SecurityPolicyViolationEventInit extends EventInit { blockedURI?: string; columnNumber?: number; disposition: SecurityPolicyViolationEventDisposition; documentURI: string; effectiveDirective: string; lineNumber?: number; originalPolicy: string; referrer?: string; sample?: string; sourceFile?: string; statusCode: number; violatedDirective: string; } interface ShadowRootInit { delegatesFocus?: boolean; mode: ShadowRootMode; slotAssignment?: SlotAssignmentMode; } interface ShareData { files?: File[]; text?: string; title?: string; url?: string; } interface SpeechSynthesisErrorEventInit extends SpeechSynthesisEventInit { error: SpeechSynthesisErrorCode; } interface SpeechSynthesisEventInit extends EventInit { charIndex?: number; charLength?: number; elapsedTime?: number; name?: string; utterance: SpeechSynthesisUtterance; } interface StaticRangeInit { endContainer: Node; endOffset: number; startContainer: Node; startOffset: number; } interface StereoPannerOptions extends AudioNodeOptions { pan?: number; } interface StorageEstimate { quota?: number; usage?: number; } interface StorageEventInit extends EventInit { key?: string | null; newValue?: string | null; oldValue?: string | null; storageArea?: Storage | null; url?: string; } interface StreamPipeOptions { preventAbort?: boolean; preventCancel?: boolean; /** * Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered. * * Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader. * * Errors and closures of the source and destination streams propagate as follows: * * An error in this source readable stream will abort destination, unless preventAbort is truthy. The returned promise will be rejected with the source's error, or with any error that occurs during aborting the destination. * * An error in destination will cancel this source readable stream, unless preventCancel is truthy. The returned promise will be rejected with the destination's error, or with any error that occurs during canceling the source. * * When this source readable stream closes, destination will be closed, unless preventClose is truthy. The returned promise will be fulfilled once this process completes, unless an error is encountered while closing the destination, in which case it will be rejected with that error. * * If destination starts out closed or closing, this source readable stream will be canceled, unless preventCancel is true. The returned promise will be rejected with an error indicating piping to a closed stream failed, or with any error that occurs during canceling the source. * * The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set. */ preventClose?: boolean; signal?: AbortSignal; } interface SubmitEventInit extends EventInit { submitter?: HTMLElement | null; } interface TextDecodeOptions { stream?: boolean; } interface TextDecoderOptions { fatal?: boolean; ignoreBOM?: boolean; } interface TextEncoderEncodeIntoResult { read?: number; written?: number; } interface TouchEventInit extends EventModifierInit { changedTouches?: Touch[]; targetTouches?: Touch[]; touches?: Touch[]; } interface TouchInit { altitudeAngle?: number; azimuthAngle?: number; clientX?: number; clientY?: number; force?: number; identifier: number; pageX?: number; pageY?: number; radiusX?: number; radiusY?: number; rotationAngle?: number; screenX?: number; screenY?: number; target: EventTarget; touchType?: TouchType; } interface TrackEventInit extends EventInit { track?: TextTrack | null; } interface Transformer { flush?: TransformerFlushCallback; readableType?: undefined; start?: TransformerStartCallback; transform?: TransformerTransformCallback; writableType?: undefined; } interface TransitionEventInit extends EventInit { elapsedTime?: number; propertyName?: string; pseudoElement?: string; } interface UIEventInit extends EventInit { detail?: number; view?: Window | null; /** @deprecated */ which?: number; } interface ULongRange { max?: number; min?: number; } interface UnderlyingSink { abort?: UnderlyingSinkAbortCallback; close?: UnderlyingSinkCloseCallback; start?: UnderlyingSinkStartCallback; type?: undefined; write?: UnderlyingSinkWriteCallback; } interface UnderlyingSource { cancel?: UnderlyingSourceCancelCallback; pull?: UnderlyingSourcePullCallback; start?: UnderlyingSourceStartCallback; type?: undefined; } interface VideoConfiguration { bitrate: number; colorGamut?: ColorGamut; contentType: string; framerate: number; hdrMetadataType?: HdrMetadataType; height: number; scalabilityMode?: string; transferFunction?: TransferFunction; width: number; } interface WaveShaperOptions extends AudioNodeOptions { curve?: number[] | Float32Array; oversample?: OverSampleType; } interface WebGLContextAttributes { alpha?: boolean; antialias?: boolean; depth?: boolean; desynchronized?: boolean; failIfMajorPerformanceCaveat?: boolean; powerPreference?: WebGLPowerPreference; premultipliedAlpha?: boolean; preserveDrawingBuffer?: boolean; stencil?: boolean; } interface WebGLContextEventInit extends EventInit { statusMessage?: string; } interface WheelEventInit extends MouseEventInit { deltaMode?: number; deltaX?: number; deltaY?: number; deltaZ?: number; } interface WindowPostMessageOptions extends PostMessageOptions { targetOrigin?: string; } interface WorkerOptions { credentials?: RequestCredentials; name?: string; type?: WorkerType; } interface WorkletOptions { credentials?: RequestCredentials; } type NodeFilter = ((node: Node) => number) | { acceptNode(node: Node): number; }; declare var NodeFilter: { readonly FILTER_ACCEPT: number; readonly FILTER_REJECT: number; readonly FILTER_SKIP: number; readonly SHOW_ALL: number; readonly SHOW_ATTRIBUTE: number; readonly SHOW_CDATA_SECTION: number; readonly SHOW_COMMENT: number; readonly SHOW_DOCUMENT: number; readonly SHOW_DOCUMENT_FRAGMENT: number; readonly SHOW_DOCUMENT_TYPE: number; readonly SHOW_ELEMENT: number; readonly SHOW_ENTITY: number; readonly SHOW_ENTITY_REFERENCE: number; readonly SHOW_NOTATION: number; readonly SHOW_PROCESSING_INSTRUCTION: number; readonly SHOW_TEXT: number; }; type XPathNSResolver = ((prefix: string | null) => string | null) | { lookupNamespaceURI(prefix: string | null): string | null; }; /** The ANGLE_instanced_arrays extension is part of the WebGL API and allows to draw the same object, or groups of similar objects multiple times, if they share the same vertex data, primitive count and type. */ interface ANGLE_instanced_arrays { drawArraysInstancedANGLE(mode: GLenum, first: GLint, count: GLsizei, primcount: GLsizei): void; drawElementsInstancedANGLE(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, primcount: GLsizei): void; vertexAttribDivisorANGLE(index: GLuint, divisor: GLuint): void; readonly VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: GLenum; } interface ARIAMixin { ariaAtomic: string; ariaAutoComplete: string; ariaBusy: string; ariaChecked: string; ariaColCount: string; ariaColIndex: string; ariaColSpan: string; ariaCurrent: string; ariaDisabled: string; ariaExpanded: string; ariaHasPopup: string; ariaHidden: string; ariaKeyShortcuts: string; ariaLabel: string; ariaLevel: string; ariaLive: string; ariaModal: string; ariaMultiLine: string; ariaMultiSelectable: string; ariaOrientation: string; ariaPlaceholder: string; ariaPosInSet: string; ariaPressed: string; ariaReadOnly: string; ariaRequired: string; ariaRoleDescription: string; ariaRowCount: string; ariaRowIndex: string; ariaRowSpan: string; ariaSelected: string; ariaSetSize: string; ariaSort: string; ariaValueMax: string; ariaValueMin: string; ariaValueNow: string; ariaValueText: string; } /** A controller object that allows you to abort one or more DOM requests as and when desired. */ interface AbortController { /** * Returns the AbortSignal object associated with this object. */ readonly signal: AbortSignal; /** * Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. */ abort(): void; } declare var AbortController: { prototype: AbortController; new(): AbortController; }; interface AbortSignalEventMap { "abort": Event; } /** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */ interface AbortSignal extends EventTarget { /** * Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise. */ readonly aborted: boolean; onabort: ((this: AbortSignal, ev: Event) => any) | null; addEventListener(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var AbortSignal: { prototype: AbortSignal; new(): AbortSignal; }; interface AbstractRange { /** * Returns true if range is collapsed, and false otherwise. */ readonly collapsed: boolean; /** * Returns range's end node. */ readonly endContainer: Node; /** * Returns range's end offset. */ readonly endOffset: number; /** * Returns range's start node. */ readonly startContainer: Node; /** * Returns range's start offset. */ readonly startOffset: number; } declare var AbstractRange: { prototype: AbstractRange; new(): AbstractRange; }; interface AbstractWorkerEventMap { "error": ErrorEvent; } interface AbstractWorker { onerror: ((this: AbstractWorker, ev: ErrorEvent) => any) | null; addEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } /** A node able to provide real-time frequency and time-domain analysis information. It is an AudioNode that passes the audio stream unchanged from the input to the output, but allows you to take the generated data, process it, and create audio visualizations. */ interface AnalyserNode extends AudioNode { fftSize: number; readonly frequencyBinCount: number; maxDecibels: number; minDecibels: number; smoothingTimeConstant: number; getByteFrequencyData(array: Uint8Array): void; getByteTimeDomainData(array: Uint8Array): void; getFloatFrequencyData(array: Float32Array): void; getFloatTimeDomainData(array: Float32Array): void; } declare var AnalyserNode: { prototype: AnalyserNode; new(context: BaseAudioContext, options?: AnalyserOptions): AnalyserNode; }; interface Animatable { animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation; getAnimations(options?: GetAnimationsOptions): Animation[]; } interface AnimationEventMap { "cancel": AnimationPlaybackEvent; "finish": AnimationPlaybackEvent; "remove": Event; } interface Animation extends EventTarget { currentTime: number | null; effect: AnimationEffect | null; readonly finished: Promise; id: string; oncancel: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null; onfinish: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null; onremove: ((this: Animation, ev: Event) => any) | null; readonly pending: boolean; readonly playState: AnimationPlayState; playbackRate: number; readonly ready: Promise; readonly replaceState: AnimationReplaceState; startTime: number | null; timeline: AnimationTimeline | null; cancel(): void; commitStyles(): void; finish(): void; pause(): void; persist(): void; play(): void; reverse(): void; updatePlaybackRate(playbackRate: number): void; addEventListener(type: K, listener: (this: Animation, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: Animation, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var Animation: { prototype: Animation; new(effect?: AnimationEffect | null, timeline?: AnimationTimeline | null): Animation; }; interface AnimationEffect { getComputedTiming(): ComputedEffectTiming; getTiming(): EffectTiming; updateTiming(timing?: OptionalEffectTiming): void; } declare var AnimationEffect: { prototype: AnimationEffect; new(): AnimationEffect; }; /** Events providing information related to animations. */ interface AnimationEvent extends Event { readonly animationName: string; readonly elapsedTime: number; readonly pseudoElement: string; } declare var AnimationEvent: { prototype: AnimationEvent; new(type: string, animationEventInitDict?: AnimationEventInit): AnimationEvent; }; interface AnimationFrameProvider { cancelAnimationFrame(handle: number): void; requestAnimationFrame(callback: FrameRequestCallback): number; } interface AnimationPlaybackEvent extends Event { readonly currentTime: number | null; readonly timelineTime: number | null; } declare var AnimationPlaybackEvent: { prototype: AnimationPlaybackEvent; new(type: string, eventInitDict?: AnimationPlaybackEventInit): AnimationPlaybackEvent; }; interface AnimationTimeline { readonly currentTime: number | null; } declare var AnimationTimeline: { prototype: AnimationTimeline; new(): AnimationTimeline; }; /** A DOM element's attribute as an object. In most DOM methods, you will probably directly retrieve the attribute as a string (e.g., Element.getAttribute(), but certain functions (e.g., Element.getAttributeNode()) or means of iterating give Attr types. */ interface Attr extends Node { readonly localName: string; readonly name: string; readonly namespaceURI: string | null; readonly ownerDocument: Document; readonly ownerElement: Element | null; readonly prefix: string | null; readonly specified: boolean; value: string; } declare var Attr: { prototype: Attr; new(): Attr; }; /** A short audio asset residing in memory, created from an audio file using the AudioContext.decodeAudioData() method, or from raw data using AudioContext.createBuffer(). Once put into an AudioBuffer, the audio can then be played by being passed into an AudioBufferSourceNode. */ interface AudioBuffer { readonly duration: number; readonly length: number; readonly numberOfChannels: number; readonly sampleRate: number; copyFromChannel(destination: Float32Array, channelNumber: number, bufferOffset?: number): void; copyToChannel(source: Float32Array, channelNumber: number, bufferOffset?: number): void; getChannelData(channel: number): Float32Array; } declare var AudioBuffer: { prototype: AudioBuffer; new(options: AudioBufferOptions): AudioBuffer; }; /** An AudioScheduledSourceNode which represents an audio source consisting of in-memory audio data, stored in an AudioBuffer. It's especially useful for playing back audio which has particularly stringent timing accuracy requirements, such as for sounds that must match a specific rhythm and can be kept in memory rather than being played from disk or the network. */ interface AudioBufferSourceNode extends AudioScheduledSourceNode { buffer: AudioBuffer | null; readonly detune: AudioParam; loop: boolean; loopEnd: number; loopStart: number; readonly playbackRate: AudioParam; start(when?: number, offset?: number, duration?: number): void; addEventListener(type: K, listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var AudioBufferSourceNode: { prototype: AudioBufferSourceNode; new(context: BaseAudioContext, options?: AudioBufferSourceOptions): AudioBufferSourceNode; }; /** An audio-processing graph built from audio modules linked together, each represented by an AudioNode. */ interface AudioContext extends BaseAudioContext { readonly baseLatency: number; close(): Promise; createMediaElementSource(mediaElement: HTMLMediaElement): MediaElementAudioSourceNode; createMediaStreamDestination(): MediaStreamAudioDestinationNode; createMediaStreamSource(mediaStream: MediaStream): MediaStreamAudioSourceNode; getOutputTimestamp(): AudioTimestamp; resume(): Promise; suspend(): Promise; addEventListener(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var AudioContext: { prototype: AudioContext; new(contextOptions?: AudioContextOptions): AudioContext; }; /** AudioDestinationNode has no output (as it is the output, no more AudioNode can be linked after it in the audio graph) and one input. The number of channels in the input must be between 0 and the maxChannelCount value or an exception is raised. */ interface AudioDestinationNode extends AudioNode { readonly maxChannelCount: number; } declare var AudioDestinationNode: { prototype: AudioDestinationNode; new(): AudioDestinationNode; }; /** The position and orientation of the unique person listening to the audio scene, and is used in audio spatialization. All PannerNodes spatialize in relation to the AudioListener stored in the BaseAudioContext.listener attribute. */ interface AudioListener { readonly forwardX: AudioParam; readonly forwardY: AudioParam; readonly forwardZ: AudioParam; readonly positionX: AudioParam; readonly positionY: AudioParam; readonly positionZ: AudioParam; readonly upX: AudioParam; readonly upY: AudioParam; readonly upZ: AudioParam; /** @deprecated */ setOrientation(x: number, y: number, z: number, xUp: number, yUp: number, zUp: number): void; /** @deprecated */ setPosition(x: number, y: number, z: number): void; } declare var AudioListener: { prototype: AudioListener; new(): AudioListener; }; /** A generic interface for representing an audio processing module. Examples include: */ interface AudioNode extends EventTarget { channelCount: number; channelCountMode: ChannelCountMode; channelInterpretation: ChannelInterpretation; readonly context: BaseAudioContext; readonly numberOfInputs: number; readonly numberOfOutputs: number; connect(destinationNode: AudioNode, output?: number, input?: number): AudioNode; connect(destinationParam: AudioParam, output?: number): void; disconnect(): void; disconnect(output: number): void; disconnect(destinationNode: AudioNode): void; disconnect(destinationNode: AudioNode, output: number): void; disconnect(destinationNode: AudioNode, output: number, input: number): void; disconnect(destinationParam: AudioParam): void; disconnect(destinationParam: AudioParam, output: number): void; } declare var AudioNode: { prototype: AudioNode; new(): AudioNode; }; /** The Web Audio API's AudioParam interface represents an audio-related parameter, usually a parameter of an AudioNode (such as GainNode.gain). */ interface AudioParam { automationRate: AutomationRate; readonly defaultValue: number; readonly maxValue: number; readonly minValue: number; value: number; cancelAndHoldAtTime(cancelTime: number): AudioParam; cancelScheduledValues(cancelTime: number): AudioParam; exponentialRampToValueAtTime(value: number, endTime: number): AudioParam; linearRampToValueAtTime(value: number, endTime: number): AudioParam; setTargetAtTime(target: number, startTime: number, timeConstant: number): AudioParam; setValueAtTime(value: number, startTime: number): AudioParam; setValueCurveAtTime(values: number[] | Float32Array, startTime: number, duration: number): AudioParam; } declare var AudioParam: { prototype: AudioParam; new(): AudioParam; }; interface AudioParamMap { forEach(callbackfn: (value: AudioParam, key: string, parent: AudioParamMap) => void, thisArg?: any): void; } declare var AudioParamMap: { prototype: AudioParamMap; new(): AudioParamMap; }; /** * The Web Audio API events that occur when a ScriptProcessorNode input buffer is ready to be processed. * @deprecated As of the August 29 2014 Web Audio API spec publication, this feature has been marked as deprecated, and is soon to be replaced by AudioWorklet. */ interface AudioProcessingEvent extends Event { /** @deprecated */ readonly inputBuffer: AudioBuffer; /** @deprecated */ readonly outputBuffer: AudioBuffer; /** @deprecated */ readonly playbackTime: number; } /** @deprecated */ declare var AudioProcessingEvent: { prototype: AudioProcessingEvent; new(type: string, eventInitDict: AudioProcessingEventInit): AudioProcessingEvent; }; interface AudioScheduledSourceNodeEventMap { "ended": Event; } interface AudioScheduledSourceNode extends AudioNode { onended: ((this: AudioScheduledSourceNode, ev: Event) => any) | null; start(when?: number): void; stop(when?: number): void; addEventListener(type: K, listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var AudioScheduledSourceNode: { prototype: AudioScheduledSourceNode; new(): AudioScheduledSourceNode; }; interface AudioWorklet extends Worklet { } declare var AudioWorklet: { prototype: AudioWorklet; new(): AudioWorklet; }; interface AudioWorkletNodeEventMap { "processorerror": Event; } interface AudioWorkletNode extends AudioNode { onprocessorerror: ((this: AudioWorkletNode, ev: Event) => any) | null; readonly parameters: AudioParamMap; readonly port: MessagePort; addEventListener(type: K, listener: (this: AudioWorkletNode, ev: AudioWorkletNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: AudioWorkletNode, ev: AudioWorkletNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var AudioWorkletNode: { prototype: AudioWorkletNode; new(context: BaseAudioContext, name: string, options?: AudioWorkletNodeOptions): AudioWorkletNode; }; interface AuthenticatorAssertionResponse extends AuthenticatorResponse { readonly authenticatorData: ArrayBuffer; readonly signature: ArrayBuffer; readonly userHandle: ArrayBuffer | null; } declare var AuthenticatorAssertionResponse: { prototype: AuthenticatorAssertionResponse; new(): AuthenticatorAssertionResponse; }; interface AuthenticatorAttestationResponse extends AuthenticatorResponse { readonly attestationObject: ArrayBuffer; } declare var AuthenticatorAttestationResponse: { prototype: AuthenticatorAttestationResponse; new(): AuthenticatorAttestationResponse; }; interface AuthenticatorResponse { readonly clientDataJSON: ArrayBuffer; } declare var AuthenticatorResponse: { prototype: AuthenticatorResponse; new(): AuthenticatorResponse; }; interface BarProp { readonly visible: boolean; } declare var BarProp: { prototype: BarProp; new(): BarProp; }; interface BaseAudioContextEventMap { "statechange": Event; } interface BaseAudioContext extends EventTarget { readonly audioWorklet: AudioWorklet; readonly currentTime: number; readonly destination: AudioDestinationNode; readonly listener: AudioListener; onstatechange: ((this: BaseAudioContext, ev: Event) => any) | null; readonly sampleRate: number; readonly state: AudioContextState; createAnalyser(): AnalyserNode; createBiquadFilter(): BiquadFilterNode; createBuffer(numberOfChannels: number, length: number, sampleRate: number): AudioBuffer; createBufferSource(): AudioBufferSourceNode; createChannelMerger(numberOfInputs?: number): ChannelMergerNode; createChannelSplitter(numberOfOutputs?: number): ChannelSplitterNode; createConstantSource(): ConstantSourceNode; createConvolver(): ConvolverNode; createDelay(maxDelayTime?: number): DelayNode; createDynamicsCompressor(): DynamicsCompressorNode; createGain(): GainNode; createIIRFilter(feedforward: number[], feedback: number[]): IIRFilterNode; createOscillator(): OscillatorNode; createPanner(): PannerNode; createPeriodicWave(real: number[] | Float32Array, imag: number[] | Float32Array, constraints?: PeriodicWaveConstraints): PeriodicWave; /** @deprecated */ createScriptProcessor(bufferSize?: number, numberOfInputChannels?: number, numberOfOutputChannels?: number): ScriptProcessorNode; createStereoPanner(): StereoPannerNode; createWaveShaper(): WaveShaperNode; decodeAudioData(audioData: ArrayBuffer, successCallback?: DecodeSuccessCallback | null, errorCallback?: DecodeErrorCallback | null): Promise; addEventListener(type: K, listener: (this: BaseAudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: BaseAudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var BaseAudioContext: { prototype: BaseAudioContext; new(): BaseAudioContext; }; /** The beforeunload event is fired when the window, the document and its resources are about to be unloaded. */ interface BeforeUnloadEvent extends Event { returnValue: any; } declare var BeforeUnloadEvent: { prototype: BeforeUnloadEvent; new(): BeforeUnloadEvent; }; /** A simple low-order filter, and is created using the AudioContext.createBiquadFilter() method. It is an AudioNode that can represent different kinds of filters, tone control devices, and graphic equalizers. */ interface BiquadFilterNode extends AudioNode { readonly Q: AudioParam; readonly detune: AudioParam; readonly frequency: AudioParam; readonly gain: AudioParam; type: BiquadFilterType; getFrequencyResponse(frequencyHz: Float32Array, magResponse: Float32Array, phaseResponse: Float32Array): void; } declare var BiquadFilterNode: { prototype: BiquadFilterNode; new(context: BaseAudioContext, options?: BiquadFilterOptions): BiquadFilterNode; }; /** A file-like object of immutable, raw data. Blobs represent data that isn't necessarily in a JavaScript-native format. The File interface is based on Blob, inheriting blob functionality and expanding it to support files on the user's system. */ interface Blob { readonly size: number; readonly type: string; arrayBuffer(): Promise; slice(start?: number, end?: number, contentType?: string): Blob; stream(): ReadableStream; text(): Promise; } declare var Blob: { prototype: Blob; new(blobParts?: BlobPart[], options?: BlobPropertyBag): Blob; }; interface BlobEvent extends Event { readonly data: Blob; readonly timecode: DOMHighResTimeStamp; } declare var BlobEvent: { prototype: BlobEvent; new(type: string, eventInitDict: BlobEventInit): BlobEvent; }; interface Body { readonly body: ReadableStream | null; readonly bodyUsed: boolean; arrayBuffer(): Promise; blob(): Promise; formData(): Promise; json(): Promise; text(): Promise; } interface BroadcastChannelEventMap { "message": MessageEvent; "messageerror": MessageEvent; } interface BroadcastChannel extends EventTarget { /** * Returns the channel name (as passed to the constructor). */ readonly name: string; onmessage: ((this: BroadcastChannel, ev: MessageEvent) => any) | null; onmessageerror: ((this: BroadcastChannel, ev: MessageEvent) => any) | null; /** * Closes the BroadcastChannel object, opening it up to garbage collection. */ close(): void; /** * Sends the given message to other BroadcastChannel objects set up for this channel. Messages can be structured objects, e.g. nested objects and arrays. */ postMessage(message: any): void; addEventListener(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var BroadcastChannel: { prototype: BroadcastChannel; new(name: string): BroadcastChannel; }; /** This Streams API interface provides\xA0a built-in byte length queuing strategy that can be used when constructing streams. */ interface ByteLengthQueuingStrategy extends QueuingStrategy { readonly highWaterMark: number; readonly size: QueuingStrategySize; } declare var ByteLengthQueuingStrategy: { prototype: ByteLengthQueuingStrategy; new(init: QueuingStrategyInit): ByteLengthQueuingStrategy; }; /** A CDATA section that can be used within XML to include extended portions of unescaped text. The symbols < and & don\u2019t need escaping as they normally do when inside a CDATA section. */ interface CDATASection extends Text { } declare var CDATASection: { prototype: CDATASection; new(): CDATASection; }; interface CSSAnimation extends Animation { readonly animationName: string; addEventListener(type: K, listener: (this: CSSAnimation, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: CSSAnimation, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var CSSAnimation: { prototype: CSSAnimation; new(): CSSAnimation; }; /** A single condition CSS at-rule, which consists of a condition and a statement block. It is a child of CSSGroupingRule. */ interface CSSConditionRule extends CSSGroupingRule { conditionText: string; } declare var CSSConditionRule: { prototype: CSSConditionRule; new(): CSSConditionRule; }; interface CSSCounterStyleRule extends CSSRule { additiveSymbols: string; fallback: string; name: string; negative: string; pad: string; prefix: string; range: string; speakAs: string; suffix: string; symbols: string; system: string; } declare var CSSCounterStyleRule: { prototype: CSSCounterStyleRule; new(): CSSCounterStyleRule; }; interface CSSFontFaceRule extends CSSRule { readonly style: CSSStyleDeclaration; } declare var CSSFontFaceRule: { prototype: CSSFontFaceRule; new(): CSSFontFaceRule; }; /** Any CSS at-rule that contains other rules nested within it. */ interface CSSGroupingRule extends CSSRule { readonly cssRules: CSSRuleList; deleteRule(index: number): void; insertRule(rule: string, index?: number): number; } declare var CSSGroupingRule: { prototype: CSSGroupingRule; new(): CSSGroupingRule; }; interface CSSImportRule extends CSSRule { readonly href: string; readonly media: MediaList; readonly styleSheet: CSSStyleSheet; } declare var CSSImportRule: { prototype: CSSImportRule; new(): CSSImportRule; }; /** An object representing a set of style for a given keyframe. It corresponds to the contains of a single keyframe of a @keyframes at-rule. It implements the CSSRule interface with a type value of 8 (CSSRule.KEYFRAME_RULE). */ interface CSSKeyframeRule extends CSSRule { keyText: string; readonly style: CSSStyleDeclaration; } declare var CSSKeyframeRule: { prototype: CSSKeyframeRule; new(): CSSKeyframeRule; }; /** An object representing a complete set of keyframes for a CSS animation. It corresponds to the contains of a whole @keyframes at-rule. It implements the CSSRule interface with a type value of 7 (CSSRule.KEYFRAMES_RULE). */ interface CSSKeyframesRule extends CSSRule { readonly cssRules: CSSRuleList; name: string; appendRule(rule: string): void; deleteRule(select: string): void; findRule(select: string): CSSKeyframeRule | null; } declare var CSSKeyframesRule: { prototype: CSSKeyframesRule; new(): CSSKeyframesRule; }; /** A single CSS @media rule. It implements the CSSConditionRule interface, and therefore the CSSGroupingRule and the CSSRule interface with a type value of 4 (CSSRule.MEDIA_RULE). */ interface CSSMediaRule extends CSSConditionRule { readonly media: MediaList; } declare var CSSMediaRule: { prototype: CSSMediaRule; new(): CSSMediaRule; }; /** An object representing a single CSS @namespace at-rule. It implements the CSSRule interface, with a type value of 10 (CSSRule.NAMESPACE_RULE). */ interface CSSNamespaceRule extends CSSRule { readonly namespaceURI: string; readonly prefix: string; } declare var CSSNamespaceRule: { prototype: CSSNamespaceRule; new(): CSSNamespaceRule; }; /** CSSPageRule is an interface representing a single CSS @page rule. It implements the CSSRule interface with a type value of 6 (CSSRule.PAGE_RULE). */ interface CSSPageRule extends CSSGroupingRule { selectorText: string; readonly style: CSSStyleDeclaration; } declare var CSSPageRule: { prototype: CSSPageRule; new(): CSSPageRule; }; /** A single CSS rule. There are several types of rules, listed in the Type constants section below. */ interface CSSRule { cssText: string; readonly parentRule: CSSRule | null; readonly parentStyleSheet: CSSStyleSheet | null; /** @deprecated */ readonly type: number; readonly CHARSET_RULE: number; readonly FONT_FACE_RULE: number; readonly IMPORT_RULE: number; readonly KEYFRAMES_RULE: number; readonly KEYFRAME_RULE: number; readonly MEDIA_RULE: number; readonly NAMESPACE_RULE: number; readonly PAGE_RULE: number; readonly STYLE_RULE: number; readonly SUPPORTS_RULE: number; } declare var CSSRule: { prototype: CSSRule; new(): CSSRule; readonly CHARSET_RULE: number; readonly FONT_FACE_RULE: number; readonly IMPORT_RULE: number; readonly KEYFRAMES_RULE: number; readonly KEYFRAME_RULE: number; readonly MEDIA_RULE: number; readonly NAMESPACE_RULE: number; readonly PAGE_RULE: number; readonly STYLE_RULE: number; readonly SUPPORTS_RULE: number; }; /** A CSSRuleList is an (indirect-modify only) array-like object containing an ordered collection of CSSRule objects. */ interface CSSRuleList { readonly length: number; item(index: number): CSSRule | null; [index: number]: CSSRule; } declare var CSSRuleList: { prototype: CSSRuleList; new(): CSSRuleList; }; /** An object that is a CSS declaration block, and exposes style information and various style-related methods and properties. */ interface CSSStyleDeclaration { alignContent: string; alignItems: string; alignSelf: string; alignmentBaseline: string; all: string; animation: string; animationDelay: string; animationDirection: string; animationDuration: string; animationFillMode: string; animationIterationCount: string; animationName: string; animationPlayState: string; animationTimingFunction: string; appearance: string; aspectRatio: string; backfaceVisibility: string; background: string; backgroundAttachment: string; backgroundBlendMode: string; backgroundClip: string; backgroundColor: string; backgroundImage: string; backgroundOrigin: string; backgroundPosition: string; backgroundPositionX: string; backgroundPositionY: string; backgroundRepeat: string; backgroundSize: string; baselineShift: string; blockSize: string; border: string; borderBlock: string; borderBlockColor: string; borderBlockEnd: string; borderBlockEndColor: string; borderBlockEndStyle: string; borderBlockEndWidth: string; borderBlockStart: string; borderBlockStartColor: string; borderBlockStartStyle: string; borderBlockStartWidth: string; borderBlockStyle: string; borderBlockWidth: string; borderBottom: string; borderBottomColor: string; borderBottomLeftRadius: string; borderBottomRightRadius: string; borderBottomStyle: string; borderBottomWidth: string; borderCollapse: string; borderColor: string; borderEndEndRadius: string; borderEndStartRadius: string; borderImage: string; borderImageOutset: string; borderImageRepeat: string; borderImageSlice: string; borderImageSource: string; borderImageWidth: string; borderInline: string; borderInlineColor: string; borderInlineEnd: string; borderInlineEndColor: string; borderInlineEndStyle: string; borderInlineEndWidth: string; borderInlineStart: string; borderInlineStartColor: string; borderInlineStartStyle: string; borderInlineStartWidth: string; borderInlineStyle: string; borderInlineWidth: string; borderLeft: string; borderLeftColor: string; borderLeftStyle: string; borderLeftWidth: string; borderRadius: string; borderRight: string; borderRightColor: string; borderRightStyle: string; borderRightWidth: string; borderSpacing: string; borderStartEndRadius: string; borderStartStartRadius: string; borderStyle: string; borderTop: string; borderTopColor: string; borderTopLeftRadius: string; borderTopRightRadius: string; borderTopStyle: string; borderTopWidth: string; borderWidth: string; bottom: string; boxShadow: string; boxSizing: string; breakAfter: string; breakBefore: string; breakInside: string; captionSide: string; caretColor: string; clear: string; /** @deprecated */ clip: string; clipPath: string; clipRule: string; color: string; colorInterpolation: string; colorInterpolationFilters: string; colorScheme: string; columnCount: string; columnFill: string; columnGap: string; columnRule: string; columnRuleColor: string; columnRuleStyle: string; columnRuleWidth: string; columnSpan: string; columnWidth: string; columns: string; contain: string; content: string; counterIncrement: string; counterReset: string; counterSet: string; cssFloat: string; cssText: string; cursor: string; direction: string; display: string; dominantBaseline: string; emptyCells: string; fill: string; fillOpacity: string; fillRule: string; filter: string; flex: string; flexBasis: string; flexDirection: string; flexFlow: string; flexGrow: string; flexShrink: string; flexWrap: string; float: string; floodColor: string; floodOpacity: string; font: string; fontFamily: string; fontFeatureSettings: string; fontKerning: string; fontOpticalSizing: string; fontSize: string; fontSizeAdjust: string; fontStretch: string; fontStyle: string; fontSynthesis: string; fontVariant: string; /** @deprecated */ fontVariantAlternates: string; fontVariantCaps: string; fontVariantEastAsian: string; fontVariantLigatures: string; fontVariantNumeric: string; fontVariantPosition: string; fontVariationSettings: string; fontWeight: string; gap: string; grid: string; gridArea: string; gridAutoColumns: string; gridAutoFlow: string; gridAutoRows: string; gridColumn: string; gridColumnEnd: string; gridColumnGap: string; gridColumnStart: string; gridGap: string; gridRow: string; gridRowEnd: string; gridRowGap: string; gridRowStart: string; gridTemplate: string; gridTemplateAreas: string; gridTemplateColumns: string; gridTemplateRows: string; height: string; hyphens: string; /** @deprecated */ imageOrientation: string; imageRendering: string; inlineSize: string; inset: string; insetBlock: string; insetBlockEnd: string; insetBlockStart: string; insetInline: string; insetInlineEnd: string; insetInlineStart: string; isolation: string; justifyContent: string; justifyItems: string; justifySelf: string; left: string; readonly length: number; letterSpacing: string; lightingColor: string; lineBreak: string; lineHeight: string; listStyle: string; listStyleImage: string; listStylePosition: string; listStyleType: string; margin: string; marginBlock: string; marginBlockEnd: string; marginBlockStart: string; marginBottom: string; marginInline: string; marginInlineEnd: string; marginInlineStart: string; marginLeft: string; marginRight: string; marginTop: string; marker: string; markerEnd: string; markerMid: string; markerStart: string; mask: string; maskType: string; maxBlockSize: string; maxHeight: string; maxInlineSize: string; maxWidth: string; minBlockSize: string; minHeight: string; minInlineSize: string; minWidth: string; mixBlendMode: string; objectFit: string; objectPosition: string; offset: string; offsetAnchor: string; offsetDistance: string; offsetPath: string; offsetRotate: string; opacity: string; order: string; orphans: string; outline: string; outlineColor: string; outlineOffset: string; outlineStyle: string; outlineWidth: string; overflow: string; overflowAnchor: string; overflowWrap: string; overflowX: string; overflowY: string; overscrollBehavior: string; overscrollBehaviorBlock: string; overscrollBehaviorInline: string; overscrollBehaviorX: string; overscrollBehaviorY: string; padding: string; paddingBlock: string; paddingBlockEnd: string; paddingBlockStart: string; paddingBottom: string; paddingInline: string; paddingInlineEnd: string; paddingInlineStart: string; paddingLeft: string; paddingRight: string; paddingTop: string; pageBreakAfter: string; pageBreakBefore: string; pageBreakInside: string; paintOrder: string; readonly parentRule: CSSRule | null; perspective: string; perspectiveOrigin: string; placeContent: string; placeItems: string; placeSelf: string; pointerEvents: string; position: string; quotes: string; resize: string; right: string; rotate: string; rowGap: string; rubyPosition: string; scale: string; scrollBehavior: string; scrollMargin: string; scrollMarginBlock: string; scrollMarginBlockEnd: string; scrollMarginBlockStart: string; scrollMarginBottom: string; scrollMarginInline: string; scrollMarginInlineEnd: string; scrollMarginInlineStart: string; scrollMarginLeft: string; scrollMarginRight: string; scrollMarginTop: string; scrollPadding: string; scrollPaddingBlock: string; scrollPaddingBlockEnd: string; scrollPaddingBlockStart: string; scrollPaddingBottom: string; scrollPaddingInline: string; scrollPaddingInlineEnd: string; scrollPaddingInlineStart: string; scrollPaddingLeft: string; scrollPaddingRight: string; scrollPaddingTop: string; scrollSnapAlign: string; scrollSnapStop: string; scrollSnapType: string; shapeImageThreshold: string; shapeMargin: string; shapeOutside: string; shapeRendering: string; stopColor: string; stopOpacity: string; stroke: string; strokeDasharray: string; strokeDashoffset: string; strokeLinecap: string; strokeLinejoin: string; strokeMiterlimit: string; strokeOpacity: string; strokeWidth: string; tabSize: string; tableLayout: string; textAlign: string; textAlignLast: string; textAnchor: string; textCombineUpright: string; textDecoration: string; textDecorationColor: string; textDecorationLine: string; textDecorationSkipInk: string; textDecorationStyle: string; textDecorationThickness: string; textEmphasis: string; textEmphasisColor: string; textEmphasisPosition: string; textEmphasisStyle: string; textIndent: string; textOrientation: string; textOverflow: string; textRendering: string; textShadow: string; textTransform: string; textUnderlineOffset: string; textUnderlinePosition: string; top: string; touchAction: string; transform: string; transformBox: string; transformOrigin: string; transformStyle: string; transition: string; transitionDelay: string; transitionDuration: string; transitionProperty: string; transitionTimingFunction: string; translate: string; unicodeBidi: string; userSelect: string; verticalAlign: string; visibility: string; /** @deprecated This is a legacy alias of \`alignContent\`. */ webkitAlignContent: string; /** @deprecated This is a legacy alias of \`alignItems\`. */ webkitAlignItems: string; /** @deprecated This is a legacy alias of \`alignSelf\`. */ webkitAlignSelf: string; /** @deprecated This is a legacy alias of \`animation\`. */ webkitAnimation: string; /** @deprecated This is a legacy alias of \`animationDelay\`. */ webkitAnimationDelay: string; /** @deprecated This is a legacy alias of \`animationDirection\`. */ webkitAnimationDirection: string; /** @deprecated This is a legacy alias of \`animationDuration\`. */ webkitAnimationDuration: string; /** @deprecated This is a legacy alias of \`animationFillMode\`. */ webkitAnimationFillMode: string; /** @deprecated This is a legacy alias of \`animationIterationCount\`. */ webkitAnimationIterationCount: string; /** @deprecated This is a legacy alias of \`animationName\`. */ webkitAnimationName: string; /** @deprecated This is a legacy alias of \`animationPlayState\`. */ webkitAnimationPlayState: string; /** @deprecated This is a legacy alias of \`animationTimingFunction\`. */ webkitAnimationTimingFunction: string; /** @deprecated This is a legacy alias of \`appearance\`. */ webkitAppearance: string; /** @deprecated This is a legacy alias of \`backfaceVisibility\`. */ webkitBackfaceVisibility: string; /** @deprecated This is a legacy alias of \`backgroundClip\`. */ webkitBackgroundClip: string; /** @deprecated This is a legacy alias of \`backgroundOrigin\`. */ webkitBackgroundOrigin: string; /** @deprecated This is a legacy alias of \`backgroundSize\`. */ webkitBackgroundSize: string; /** @deprecated This is a legacy alias of \`borderBottomLeftRadius\`. */ webkitBorderBottomLeftRadius: string; /** @deprecated This is a legacy alias of \`borderBottomRightRadius\`. */ webkitBorderBottomRightRadius: string; /** @deprecated This is a legacy alias of \`borderRadius\`. */ webkitBorderRadius: string; /** @deprecated This is a legacy alias of \`borderTopLeftRadius\`. */ webkitBorderTopLeftRadius: string; /** @deprecated This is a legacy alias of \`borderTopRightRadius\`. */ webkitBorderTopRightRadius: string; /** @deprecated */ webkitBoxAlign: string; /** @deprecated */ webkitBoxFlex: string; /** @deprecated */ webkitBoxOrdinalGroup: string; /** @deprecated */ webkitBoxOrient: string; /** @deprecated */ webkitBoxPack: string; /** @deprecated This is a legacy alias of \`boxShadow\`. */ webkitBoxShadow: string; /** @deprecated This is a legacy alias of \`boxSizing\`. */ webkitBoxSizing: string; /** @deprecated This is a legacy alias of \`filter\`. */ webkitFilter: string; /** @deprecated This is a legacy alias of \`flex\`. */ webkitFlex: string; /** @deprecated This is a legacy alias of \`flexBasis\`. */ webkitFlexBasis: string; /** @deprecated This is a legacy alias of \`flexDirection\`. */ webkitFlexDirection: string; /** @deprecated This is a legacy alias of \`flexFlow\`. */ webkitFlexFlow: string; /** @deprecated This is a legacy alias of \`flexGrow\`. */ webkitFlexGrow: string; /** @deprecated This is a legacy alias of \`flexShrink\`. */ webkitFlexShrink: string; /** @deprecated This is a legacy alias of \`flexWrap\`. */ webkitFlexWrap: string; /** @deprecated This is a legacy alias of \`justifyContent\`. */ webkitJustifyContent: string; webkitLineClamp: string; /** @deprecated This is a legacy alias of \`mask\`. */ webkitMask: string; /** @deprecated This is a legacy alias of \`maskBorder\`. */ webkitMaskBoxImage: string; /** @deprecated This is a legacy alias of \`maskBorderOutset\`. */ webkitMaskBoxImageOutset: string; /** @deprecated This is a legacy alias of \`maskBorderRepeat\`. */ webkitMaskBoxImageRepeat: string; /** @deprecated This is a legacy alias of \`maskBorderSlice\`. */ webkitMaskBoxImageSlice: string; /** @deprecated This is a legacy alias of \`maskBorderSource\`. */ webkitMaskBoxImageSource: string; /** @deprecated This is a legacy alias of \`maskBorderWidth\`. */ webkitMaskBoxImageWidth: string; /** @deprecated This is a legacy alias of \`maskClip\`. */ webkitMaskClip: string; webkitMaskComposite: string; /** @deprecated This is a legacy alias of \`maskImage\`. */ webkitMaskImage: string; /** @deprecated This is a legacy alias of \`maskOrigin\`. */ webkitMaskOrigin: string; /** @deprecated This is a legacy alias of \`maskPosition\`. */ webkitMaskPosition: string; /** @deprecated This is a legacy alias of \`maskRepeat\`. */ webkitMaskRepeat: string; /** @deprecated This is a legacy alias of \`maskSize\`. */ webkitMaskSize: string; /** @deprecated This is a legacy alias of \`order\`. */ webkitOrder: string; /** @deprecated This is a legacy alias of \`perspective\`. */ webkitPerspective: string; /** @deprecated This is a legacy alias of \`perspectiveOrigin\`. */ webkitPerspectiveOrigin: string; webkitTextFillColor: string; webkitTextStroke: string; webkitTextStrokeColor: string; webkitTextStrokeWidth: string; /** @deprecated This is a legacy alias of \`transform\`. */ webkitTransform: string; /** @deprecated This is a legacy alias of \`transformOrigin\`. */ webkitTransformOrigin: string; /** @deprecated This is a legacy alias of \`transformStyle\`. */ webkitTransformStyle: string; /** @deprecated This is a legacy alias of \`transition\`. */ webkitTransition: string; /** @deprecated This is a legacy alias of \`transitionDelay\`. */ webkitTransitionDelay: string; /** @deprecated This is a legacy alias of \`transitionDuration\`. */ webkitTransitionDuration: string; /** @deprecated This is a legacy alias of \`transitionProperty\`. */ webkitTransitionProperty: string; /** @deprecated This is a legacy alias of \`transitionTimingFunction\`. */ webkitTransitionTimingFunction: string; /** @deprecated This is a legacy alias of \`userSelect\`. */ webkitUserSelect: string; whiteSpace: string; widows: string; width: string; willChange: string; wordBreak: string; wordSpacing: string; /** @deprecated */ wordWrap: string; writingMode: string; zIndex: string; getPropertyPriority(property: string): string; getPropertyValue(property: string): string; item(index: number): string; removeProperty(property: string): string; setProperty(property: string, value: string | null, priority?: string): void; [index: number]: string; } declare var CSSStyleDeclaration: { prototype: CSSStyleDeclaration; new(): CSSStyleDeclaration; }; /** CSSStyleRule represents a single CSS style rule. It implements the CSSRule interface with a type value of 1 (CSSRule.STYLE_RULE). */ interface CSSStyleRule extends CSSRule { selectorText: string; readonly style: CSSStyleDeclaration; } declare var CSSStyleRule: { prototype: CSSStyleRule; new(): CSSStyleRule; }; /** A single CSS style sheet. It inherits properties and methods from its parent, StyleSheet. */ interface CSSStyleSheet extends StyleSheet { readonly cssRules: CSSRuleList; readonly ownerRule: CSSRule | null; /** @deprecated */ readonly rules: CSSRuleList; /** @deprecated */ addRule(selector?: string, style?: string, index?: number): number; deleteRule(index: number): void; insertRule(rule: string, index?: number): number; /** @deprecated */ removeRule(index?: number): void; } declare var CSSStyleSheet: { prototype: CSSStyleSheet; new(options?: CSSStyleSheetInit): CSSStyleSheet; }; /** An object representing a single CSS @supports at-rule. It implements the CSSConditionRule interface, and therefore the CSSRule and CSSGroupingRule interfaces with a type value of 12 (CSSRule.SUPPORTS_RULE). */ interface CSSSupportsRule extends CSSConditionRule { } declare var CSSSupportsRule: { prototype: CSSSupportsRule; new(): CSSSupportsRule; }; interface CSSTransition extends Animation { readonly transitionProperty: string; addEventListener(type: K, listener: (this: CSSTransition, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: CSSTransition, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var CSSTransition: { prototype: CSSTransition; new(): CSSTransition; }; /** Provides a storage mechanism for Request / Response object pairs that are cached, for example as part of the ServiceWorker life cycle. Note that the Cache interface is exposed to windowed scopes as well as workers. You don't have to use it in conjunction with service workers, even though it is defined in the service worker spec. */ interface Cache { add(request: RequestInfo): Promise; addAll(requests: RequestInfo[]): Promise; delete(request: RequestInfo, options?: CacheQueryOptions): Promise; keys(request?: RequestInfo, options?: CacheQueryOptions): Promise>; match(request: RequestInfo, options?: CacheQueryOptions): Promise; matchAll(request?: RequestInfo, options?: CacheQueryOptions): Promise>; put(request: RequestInfo, response: Response): Promise; } declare var Cache: { prototype: Cache; new(): Cache; }; /** The storage for Cache objects. */ interface CacheStorage { delete(cacheName: string): Promise; has(cacheName: string): Promise; keys(): Promise; match(request: RequestInfo, options?: MultiCacheQueryOptions): Promise; open(cacheName: string): Promise; } declare var CacheStorage: { prototype: CacheStorage; new(): CacheStorage; }; interface CanvasCompositing { globalAlpha: number; globalCompositeOperation: string; } interface CanvasDrawImage { drawImage(image: CanvasImageSource, dx: number, dy: number): void; drawImage(image: CanvasImageSource, dx: number, dy: number, dw: number, dh: number): void; drawImage(image: CanvasImageSource, sx: number, sy: number, sw: number, sh: number, dx: number, dy: number, dw: number, dh: number): void; } interface CanvasDrawPath { beginPath(): void; clip(fillRule?: CanvasFillRule): void; clip(path: Path2D, fillRule?: CanvasFillRule): void; fill(fillRule?: CanvasFillRule): void; fill(path: Path2D, fillRule?: CanvasFillRule): void; isPointInPath(x: number, y: number, fillRule?: CanvasFillRule): boolean; isPointInPath(path: Path2D, x: number, y: number, fillRule?: CanvasFillRule): boolean; isPointInStroke(x: number, y: number): boolean; isPointInStroke(path: Path2D, x: number, y: number): boolean; stroke(): void; stroke(path: Path2D): void; } interface CanvasFillStrokeStyles { fillStyle: string | CanvasGradient | CanvasPattern; strokeStyle: string | CanvasGradient | CanvasPattern; createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient; createPattern(image: CanvasImageSource, repetition: string | null): CanvasPattern | null; createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient; } interface CanvasFilters { filter: string; } /** An opaque object describing a gradient. It is returned by the methods CanvasRenderingContext2D.createLinearGradient() or CanvasRenderingContext2D.createRadialGradient(). */ interface CanvasGradient { /** * Adds a color stop with the given color to the gradient at the given offset. 0.0 is the offset at one end of the gradient, 1.0 is the offset at the other end. * * Throws an "IndexSizeError" DOMException if the offset is out of range. Throws a "SyntaxError" DOMException if the color cannot be parsed. */ addColorStop(offset: number, color: string): void; } declare var CanvasGradient: { prototype: CanvasGradient; new(): CanvasGradient; }; interface CanvasImageData { createImageData(sw: number, sh: number, settings?: ImageDataSettings): ImageData; createImageData(imagedata: ImageData): ImageData; getImageData(sx: number, sy: number, sw: number, sh: number, settings?: ImageDataSettings): ImageData; putImageData(imagedata: ImageData, dx: number, dy: number): void; putImageData(imagedata: ImageData, dx: number, dy: number, dirtyX: number, dirtyY: number, dirtyWidth: number, dirtyHeight: number): void; } interface CanvasImageSmoothing { imageSmoothingEnabled: boolean; imageSmoothingQuality: ImageSmoothingQuality; } interface CanvasPath { arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void; arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): void; bezierCurveTo(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void; closePath(): void; ellipse(x: number, y: number, radiusX: number, radiusY: number, rotation: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void; lineTo(x: number, y: number): void; moveTo(x: number, y: number): void; quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void; rect(x: number, y: number, w: number, h: number): void; } interface CanvasPathDrawingStyles { lineCap: CanvasLineCap; lineDashOffset: number; lineJoin: CanvasLineJoin; lineWidth: number; miterLimit: number; getLineDash(): number[]; setLineDash(segments: number[]): void; } /** An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method. */ interface CanvasPattern { /** * Sets the transformation matrix that will be used when rendering the pattern during a fill or stroke painting operation. */ setTransform(transform?: DOMMatrix2DInit): void; } declare var CanvasPattern: { prototype: CanvasPattern; new(): CanvasPattern; }; interface CanvasRect { clearRect(x: number, y: number, w: number, h: number): void; fillRect(x: number, y: number, w: number, h: number): void; strokeRect(x: number, y: number, w: number, h: number): void; } /** The CanvasRenderingContext2D interface, part of the Canvas API, provides the 2D rendering context for the drawing surface of a element. It is used for drawing shapes, text, images, and other objects. */ interface CanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform, CanvasUserInterface { readonly canvas: HTMLCanvasElement; getContextAttributes(): CanvasRenderingContext2DSettings; } declare var CanvasRenderingContext2D: { prototype: CanvasRenderingContext2D; new(): CanvasRenderingContext2D; }; interface CanvasShadowStyles { shadowBlur: number; shadowColor: string; shadowOffsetX: number; shadowOffsetY: number; } interface CanvasState { restore(): void; save(): void; } interface CanvasText { fillText(text: string, x: number, y: number, maxWidth?: number): void; measureText(text: string): TextMetrics; strokeText(text: string, x: number, y: number, maxWidth?: number): void; } interface CanvasTextDrawingStyles { direction: CanvasDirection; font: string; textAlign: CanvasTextAlign; textBaseline: CanvasTextBaseline; } interface CanvasTransform { getTransform(): DOMMatrix; resetTransform(): void; rotate(angle: number): void; scale(x: number, y: number): void; setTransform(a: number, b: number, c: number, d: number, e: number, f: number): void; setTransform(transform?: DOMMatrix2DInit): void; transform(a: number, b: number, c: number, d: number, e: number, f: number): void; translate(x: number, y: number): void; } interface CanvasUserInterface { drawFocusIfNeeded(element: Element): void; drawFocusIfNeeded(path: Path2D, element: Element): void; } /** The ChannelMergerNode interface, often used in conjunction with its opposite, ChannelSplitterNode, reunites different mono inputs into a single output. Each input is used to fill a channel of the output. This is useful for accessing each channels separately, e.g. for performing channel mixing where gain must be separately controlled on each channel. */ interface ChannelMergerNode extends AudioNode { } declare var ChannelMergerNode: { prototype: ChannelMergerNode; new(context: BaseAudioContext, options?: ChannelMergerOptions): ChannelMergerNode; }; /** The ChannelSplitterNode interface, often used in conjunction with its opposite, ChannelMergerNode, separates the different channels of an audio source into a set of mono outputs. This is useful for accessing each channel separately, e.g. for performing channel mixing where gain must be separately controlled on each channel. */ interface ChannelSplitterNode extends AudioNode { } declare var ChannelSplitterNode: { prototype: ChannelSplitterNode; new(context: BaseAudioContext, options?: ChannelSplitterOptions): ChannelSplitterNode; }; /** The CharacterData abstract interface represents a Node object that contains characters. This is an abstract interface, meaning there aren't any object of type CharacterData: it is implemented by other interfaces, like Text, Comment, or ProcessingInstruction which aren't abstract. */ interface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode { data: string; readonly length: number; readonly ownerDocument: Document; appendData(data: string): void; deleteData(offset: number, count: number): void; insertData(offset: number, data: string): void; replaceData(offset: number, count: number, data: string): void; substringData(offset: number, count: number): string; } declare var CharacterData: { prototype: CharacterData; new(): CharacterData; }; interface ChildNode extends Node { /** * Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes. * * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. */ after(...nodes: (Node | string)[]): void; /** * Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes. * * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. */ before(...nodes: (Node | string)[]): void; /** * Removes node. */ remove(): void; /** * Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes. * * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. */ replaceWith(...nodes: (Node | string)[]): void; } /** @deprecated */ interface ClientRect extends DOMRect { } interface Clipboard extends EventTarget { read(): Promise; readText(): Promise; write(data: ClipboardItems): Promise; writeText(data: string): Promise; } declare var Clipboard: { prototype: Clipboard; new(): Clipboard; }; /** Events providing information related to modification of the clipboard, that is cut, copy, and paste events. */ interface ClipboardEvent extends Event { readonly clipboardData: DataTransfer | null; } declare var ClipboardEvent: { prototype: ClipboardEvent; new(type: string, eventInitDict?: ClipboardEventInit): ClipboardEvent; }; interface ClipboardItem { readonly types: ReadonlyArray; getType(type: string): Promise; } declare var ClipboardItem: { prototype: ClipboardItem; new(items: Record, options?: ClipboardItemOptions): ClipboardItem; }; /** A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute. */ interface CloseEvent extends Event { /** * Returns the WebSocket connection close code provided by the server. */ readonly code: number; /** * Returns the WebSocket connection close reason provided by the server. */ readonly reason: string; /** * Returns true if the connection closed cleanly; false otherwise. */ readonly wasClean: boolean; } declare var CloseEvent: { prototype: CloseEvent; new(type: string, eventInitDict?: CloseEventInit): CloseEvent; }; /** Textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view. */ interface Comment extends CharacterData { } declare var Comment: { prototype: Comment; new(data?: string): Comment; }; /** The DOM CompositionEvent represents events that occur due to the user indirectly entering text. */ interface CompositionEvent extends UIEvent { readonly data: string; /** @deprecated */ initCompositionEvent(typeArg: string, bubblesArg?: boolean, cancelableArg?: boolean, viewArg?: WindowProxy | null, dataArg?: string): void; } declare var CompositionEvent: { prototype: CompositionEvent; new(type: string, eventInitDict?: CompositionEventInit): CompositionEvent; }; interface ConstantSourceNode extends AudioScheduledSourceNode { readonly offset: AudioParam; addEventListener(type: K, listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var ConstantSourceNode: { prototype: ConstantSourceNode; new(context: BaseAudioContext, options?: ConstantSourceOptions): ConstantSourceNode; }; /** An AudioNode that performs a Linear Convolution on a given AudioBuffer, often used to achieve a reverb effect. A ConvolverNode always has exactly one input and one output. */ interface ConvolverNode extends AudioNode { buffer: AudioBuffer | null; normalize: boolean; } declare var ConvolverNode: { prototype: ConvolverNode; new(context: BaseAudioContext, options?: ConvolverOptions): ConvolverNode; }; /** This Streams API interface provides\xA0a built-in byte length queuing strategy that can be used when constructing streams. */ interface CountQueuingStrategy extends QueuingStrategy { readonly highWaterMark: number; readonly size: QueuingStrategySize; } declare var CountQueuingStrategy: { prototype: CountQueuingStrategy; new(init: QueuingStrategyInit): CountQueuingStrategy; }; interface Credential { readonly id: string; readonly type: string; } declare var Credential: { prototype: Credential; new(): Credential; }; interface CredentialsContainer { create(options?: CredentialCreationOptions): Promise; get(options?: CredentialRequestOptions): Promise; preventSilentAccess(): Promise; store(credential: Credential): Promise; } declare var CredentialsContainer: { prototype: CredentialsContainer; new(): CredentialsContainer; }; /** Basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives. */ interface Crypto { readonly subtle: SubtleCrypto; getRandomValues(array: T): T; } declare var Crypto: { prototype: Crypto; new(): Crypto; }; /** The CryptoKey dictionary of the Web Crypto API represents a cryptographic key. */ interface CryptoKey { readonly algorithm: KeyAlgorithm; readonly extractable: boolean; readonly type: KeyType; readonly usages: KeyUsage[]; } declare var CryptoKey: { prototype: CryptoKey; new(): CryptoKey; }; interface CustomElementRegistry { define(name: string, constructor: CustomElementConstructor, options?: ElementDefinitionOptions): void; get(name: string): CustomElementConstructor | undefined; upgrade(root: Node): void; whenDefined(name: string): Promise; } declare var CustomElementRegistry: { prototype: CustomElementRegistry; new(): CustomElementRegistry; }; interface CustomEvent extends Event { /** * Returns any custom data event was created with. Typically used for synthetic events. */ readonly detail: T; /** @deprecated */ initCustomEvent(type: string, bubbles?: boolean, cancelable?: boolean, detail?: T): void; } declare var CustomEvent: { prototype: CustomEvent; new(type: string, eventInitDict?: CustomEventInit): CustomEvent; }; /** An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. */ interface DOMException { readonly code: number; readonly message: string; readonly name: string; readonly ABORT_ERR: number; readonly DATA_CLONE_ERR: number; readonly DOMSTRING_SIZE_ERR: number; readonly HIERARCHY_REQUEST_ERR: number; readonly INDEX_SIZE_ERR: number; readonly INUSE_ATTRIBUTE_ERR: number; readonly INVALID_ACCESS_ERR: number; readonly INVALID_CHARACTER_ERR: number; readonly INVALID_MODIFICATION_ERR: number; readonly INVALID_NODE_TYPE_ERR: number; readonly INVALID_STATE_ERR: number; readonly NAMESPACE_ERR: number; readonly NETWORK_ERR: number; readonly NOT_FOUND_ERR: number; readonly NOT_SUPPORTED_ERR: number; readonly NO_DATA_ALLOWED_ERR: number; readonly NO_MODIFICATION_ALLOWED_ERR: number; readonly QUOTA_EXCEEDED_ERR: number; readonly SECURITY_ERR: number; readonly SYNTAX_ERR: number; readonly TIMEOUT_ERR: number; readonly TYPE_MISMATCH_ERR: number; readonly URL_MISMATCH_ERR: number; readonly VALIDATION_ERR: number; readonly WRONG_DOCUMENT_ERR: number; } declare var DOMException: { prototype: DOMException; new(message?: string, name?: string): DOMException; readonly ABORT_ERR: number; readonly DATA_CLONE_ERR: number; readonly DOMSTRING_SIZE_ERR: number; readonly HIERARCHY_REQUEST_ERR: number; readonly INDEX_SIZE_ERR: number; readonly INUSE_ATTRIBUTE_ERR: number; readonly INVALID_ACCESS_ERR: number; readonly INVALID_CHARACTER_ERR: number; readonly INVALID_MODIFICATION_ERR: number; readonly INVALID_NODE_TYPE_ERR: number; readonly INVALID_STATE_ERR: number; readonly NAMESPACE_ERR: number; readonly NETWORK_ERR: number; readonly NOT_FOUND_ERR: number; readonly NOT_SUPPORTED_ERR: number; readonly NO_DATA_ALLOWED_ERR: number; readonly NO_MODIFICATION_ALLOWED_ERR: number; readonly QUOTA_EXCEEDED_ERR: number; readonly SECURITY_ERR: number; readonly SYNTAX_ERR: number; readonly TIMEOUT_ERR: number; readonly TYPE_MISMATCH_ERR: number; readonly URL_MISMATCH_ERR: number; readonly VALIDATION_ERR: number; readonly WRONG_DOCUMENT_ERR: number; }; /** An object providing methods which are not dependent on any particular document. Such an object is returned by the Document.implementation property. */ interface DOMImplementation { createDocument(namespace: string | null, qualifiedName: string | null, doctype?: DocumentType | null): XMLDocument; createDocumentType(qualifiedName: string, publicId: string, systemId: string): DocumentType; createHTMLDocument(title?: string): Document; /** @deprecated */ hasFeature(...args: any[]): true; } declare var DOMImplementation: { prototype: DOMImplementation; new(): DOMImplementation; }; interface DOMMatrix extends DOMMatrixReadOnly { a: number; b: number; c: number; d: number; e: number; f: number; m11: number; m12: number; m13: number; m14: number; m21: number; m22: number; m23: number; m24: number; m31: number; m32: number; m33: number; m34: number; m41: number; m42: number; m43: number; m44: number; invertSelf(): DOMMatrix; multiplySelf(other?: DOMMatrixInit): DOMMatrix; preMultiplySelf(other?: DOMMatrixInit): DOMMatrix; rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix; rotateFromVectorSelf(x?: number, y?: number): DOMMatrix; rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; setMatrixValue(transformList: string): DOMMatrix; skewXSelf(sx?: number): DOMMatrix; skewYSelf(sy?: number): DOMMatrix; translateSelf(tx?: number, ty?: number, tz?: number): DOMMatrix; } declare var DOMMatrix: { prototype: DOMMatrix; new(init?: string | number[]): DOMMatrix; fromFloat32Array(array32: Float32Array): DOMMatrix; fromFloat64Array(array64: Float64Array): DOMMatrix; fromMatrix(other?: DOMMatrixInit): DOMMatrix; }; type SVGMatrix = DOMMatrix; declare var SVGMatrix: typeof DOMMatrix; type WebKitCSSMatrix = DOMMatrix; declare var WebKitCSSMatrix: typeof DOMMatrix; interface DOMMatrixReadOnly { readonly a: number; readonly b: number; readonly c: number; readonly d: number; readonly e: number; readonly f: number; readonly is2D: boolean; readonly isIdentity: boolean; readonly m11: number; readonly m12: number; readonly m13: number; readonly m14: number; readonly m21: number; readonly m22: number; readonly m23: number; readonly m24: number; readonly m31: number; readonly m32: number; readonly m33: number; readonly m34: number; readonly m41: number; readonly m42: number; readonly m43: number; readonly m44: number; flipX(): DOMMatrix; flipY(): DOMMatrix; inverse(): DOMMatrix; multiply(other?: DOMMatrixInit): DOMMatrix; rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix; rotateFromVector(x?: number, y?: number): DOMMatrix; scale(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; scale3d(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; /** @deprecated */ scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix; skewX(sx?: number): DOMMatrix; skewY(sy?: number): DOMMatrix; toFloat32Array(): Float32Array; toFloat64Array(): Float64Array; toJSON(): any; transformPoint(point?: DOMPointInit): DOMPoint; translate(tx?: number, ty?: number, tz?: number): DOMMatrix; toString(): string; } declare var DOMMatrixReadOnly: { prototype: DOMMatrixReadOnly; new(init?: string | number[]): DOMMatrixReadOnly; fromFloat32Array(array32: Float32Array): DOMMatrixReadOnly; fromFloat64Array(array64: Float64Array): DOMMatrixReadOnly; fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly; toString(): string; }; /** Provides the ability to parse XML or HTML source code from a string into a DOM Document. */ interface DOMParser { /** * Parses string using either the HTML or XML parser, according to type, and returns the resulting Document. type can be "text/html" (which will invoke the HTML parser), or any of "text/xml", "application/xml", "application/xhtml+xml", or "image/svg+xml" (which will invoke the XML parser). * * For the XML parser, if string cannot be parsed, then the returned Document will contain elements describing the resulting error. * * Note that script elements are not evaluated during parsing, and the resulting document's encoding will always be UTF-8. * * Values other than the above for type will cause a TypeError exception to be thrown. */ parseFromString(string: string, type: DOMParserSupportedType): Document; } declare var DOMParser: { prototype: DOMParser; new(): DOMParser; }; interface DOMPoint extends DOMPointReadOnly { w: number; x: number; y: number; z: number; } declare var DOMPoint: { prototype: DOMPoint; new(x?: number, y?: number, z?: number, w?: number): DOMPoint; fromPoint(other?: DOMPointInit): DOMPoint; }; type SVGPoint = DOMPoint; declare var SVGPoint: typeof DOMPoint; interface DOMPointReadOnly { readonly w: number; readonly x: number; readonly y: number; readonly z: number; matrixTransform(matrix?: DOMMatrixInit): DOMPoint; toJSON(): any; } declare var DOMPointReadOnly: { prototype: DOMPointReadOnly; new(x?: number, y?: number, z?: number, w?: number): DOMPointReadOnly; fromPoint(other?: DOMPointInit): DOMPointReadOnly; }; interface DOMQuad { readonly p1: DOMPoint; readonly p2: DOMPoint; readonly p3: DOMPoint; readonly p4: DOMPoint; getBounds(): DOMRect; toJSON(): any; } declare var DOMQuad: { prototype: DOMQuad; new(p1?: DOMPointInit, p2?: DOMPointInit, p3?: DOMPointInit, p4?: DOMPointInit): DOMQuad; fromQuad(other?: DOMQuadInit): DOMQuad; fromRect(other?: DOMRectInit): DOMQuad; }; interface DOMRect extends DOMRectReadOnly { height: number; width: number; x: number; y: number; } declare var DOMRect: { prototype: DOMRect; new(x?: number, y?: number, width?: number, height?: number): DOMRect; fromRect(other?: DOMRectInit): DOMRect; }; type SVGRect = DOMRect; declare var SVGRect: typeof DOMRect; interface DOMRectList { readonly length: number; item(index: number): DOMRect | null; [index: number]: DOMRect; } declare var DOMRectList: { prototype: DOMRectList; new(): DOMRectList; }; interface DOMRectReadOnly { readonly bottom: number; readonly height: number; readonly left: number; readonly right: number; readonly top: number; readonly width: number; readonly x: number; readonly y: number; toJSON(): any; } declare var DOMRectReadOnly: { prototype: DOMRectReadOnly; new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly; fromRect(other?: DOMRectInit): DOMRectReadOnly; }; /** A type returned by some APIs which contains a list of DOMString (strings). */ interface DOMStringList { /** * Returns the number of strings in strings. */ readonly length: number; /** * Returns true if strings contains string, and false otherwise. */ contains(string: string): boolean; /** * Returns the string with index index from strings. */ item(index: number): string | null; [index: number]: string; } declare var DOMStringList: { prototype: DOMStringList; new(): DOMStringList; }; /** Used by the dataset\xA0HTML\xA0attribute to represent data for custom attributes added to elements. */ interface DOMStringMap { [name: string]: string | undefined; } declare var DOMStringMap: { prototype: DOMStringMap; new(): DOMStringMap; }; /** A set of space-separated tokens. Such a set is returned by Element.classList, HTMLLinkElement.relList, HTMLAnchorElement.relList, HTMLAreaElement.relList, HTMLIframeElement.sandbox, or HTMLOutputElement.htmlFor. It is indexed beginning with 0 as with JavaScript Array objects. DOMTokenList is always case-sensitive. */ interface DOMTokenList { /** * Returns the number of tokens. */ readonly length: number; /** * Returns the associated set as string. * * Can be set, to change the associated attribute. */ value: string; toString(): string; /** * Adds all arguments passed, except those already present. * * Throws a "SyntaxError" DOMException if one of the arguments is the empty string. * * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace. */ add(...tokens: string[]): void; /** * Returns true if token is present, and false otherwise. */ contains(token: string): boolean; /** * Returns the token with index index. */ item(index: number): string | null; /** * Removes arguments passed, if they are present. * * Throws a "SyntaxError" DOMException if one of the arguments is the empty string. * * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace. */ remove(...tokens: string[]): void; /** * Replaces token with newToken. * * Returns true if token was replaced with newToken, and false otherwise. * * Throws a "SyntaxError" DOMException if one of the arguments is the empty string. * * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace. */ replace(token: string, newToken: string): boolean; /** * Returns true if token is in the associated attribute's supported tokens. Returns false otherwise. * * Throws a TypeError if the associated attribute has no supported tokens defined. */ supports(token: string): boolean; /** * If force is not given, "toggles" token, removing it if it's present and adding it if it's not present. If force is true, adds token (same as add()). If force is false, removes token (same as remove()). * * Returns true if token is now present, and false otherwise. * * Throws a "SyntaxError" DOMException if token is empty. * * Throws an "InvalidCharacterError" DOMException if token contains any spaces. */ toggle(token: string, force?: boolean): boolean; forEach(callbackfn: (value: string, key: number, parent: DOMTokenList) => void, thisArg?: any): void; [index: number]: string; } declare var DOMTokenList: { prototype: DOMTokenList; new(): DOMTokenList; }; /** Used to hold the data that is being dragged during a drag and drop operation. It may hold one or more data items, each of one or more data types. For more information about drag and drop, see HTML Drag and Drop API. */ interface DataTransfer { /** * Returns the kind of operation that is currently selected. If the kind of operation isn't one of those that is allowed by the effectAllowed attribute, then the operation will fail. * * Can be set, to change the selected operation. * * The possible values are "none", "copy", "link", and "move". */ dropEffect: "none" | "copy" | "link" | "move"; /** * Returns the kinds of operations that are to be allowed. * * Can be set (during the dragstart event), to change the allowed operations. * * The possible values are "none", "copy", "copyLink", "copyMove", "link", "linkMove", "move", "all", and "uninitialized", */ effectAllowed: "none" | "copy" | "copyLink" | "copyMove" | "link" | "linkMove" | "move" | "all" | "uninitialized"; /** * Returns a FileList of the files being dragged, if any. */ readonly files: FileList; /** * Returns a DataTransferItemList object, with the drag data. */ readonly items: DataTransferItemList; /** * Returns a frozen array listing the formats that were set in the dragstart event. In addition, if any files are being dragged, then one of the types will be the string "Files". */ readonly types: ReadonlyArray; /** * Removes the data of the specified formats. Removes all data if the argument is omitted. */ clearData(format?: string): void; /** * Returns the specified data. If there is no such data, returns the empty string. */ getData(format: string): string; /** * Adds the specified data. */ setData(format: string, data: string): void; /** * Uses the given element to update the drag feedback, replacing any previously specified feedback. */ setDragImage(image: Element, x: number, y: number): void; } declare var DataTransfer: { prototype: DataTransfer; new(): DataTransfer; }; /** One drag data item. During a drag operation, each drag event has a dataTransfer property which contains a list of drag data items. Each item in the list is a DataTransferItem object. */ interface DataTransferItem { /** * Returns the drag data item kind, one of: "string", "file". */ readonly kind: string; /** * Returns the drag data item type string. */ readonly type: string; /** * Returns a File object, if the drag data item kind is File. */ getAsFile(): File | null; /** * Invokes the callback with the string data as the argument, if the drag data item kind is text. */ getAsString(callback: FunctionStringCallback | null): void; webkitGetAsEntry(): FileSystemEntry | null; } declare var DataTransferItem: { prototype: DataTransferItem; new(): DataTransferItem; }; /** A list of DataTransferItem objects representing items being dragged. During a drag operation, each DragEvent has a dataTransfer property and that property is a DataTransferItemList. */ interface DataTransferItemList { /** * Returns the number of items in the drag data store. */ readonly length: number; /** * Adds a new entry for the given data to the drag data store. If the data is plain text then a type string has to be provided also. */ add(data: string, type: string): DataTransferItem | null; add(data: File): DataTransferItem | null; /** * Removes all the entries in the drag data store. */ clear(): void; /** * Removes the indexth entry in the drag data store. */ remove(index: number): void; [index: number]: DataTransferItem; } declare var DataTransferItemList: { prototype: DataTransferItemList; new(): DataTransferItemList; }; /** A delay-line; an AudioNode audio-processing module that causes a delay between the arrival of an input data and its propagation to the output. */ interface DelayNode extends AudioNode { readonly delayTime: AudioParam; } declare var DelayNode: { prototype: DelayNode; new(context: BaseAudioContext, options?: DelayOptions): DelayNode; }; /** The DeviceMotionEvent provides web developers with information about the speed of changes for the device's position and orientation. */ interface DeviceMotionEvent extends Event { readonly acceleration: DeviceMotionEventAcceleration | null; readonly accelerationIncludingGravity: DeviceMotionEventAcceleration | null; readonly interval: number; readonly rotationRate: DeviceMotionEventRotationRate | null; } declare var DeviceMotionEvent: { prototype: DeviceMotionEvent; new(type: string, eventInitDict?: DeviceMotionEventInit): DeviceMotionEvent; }; interface DeviceMotionEventAcceleration { readonly x: number | null; readonly y: number | null; readonly z: number | null; } interface DeviceMotionEventRotationRate { readonly alpha: number | null; readonly beta: number | null; readonly gamma: number | null; } /** The DeviceOrientationEvent provides web developers with information from the physical orientation of the device running the web page. */ interface DeviceOrientationEvent extends Event { readonly absolute: boolean; readonly alpha: number | null; readonly beta: number | null; readonly gamma: number | null; } declare var DeviceOrientationEvent: { prototype: DeviceOrientationEvent; new(type: string, eventInitDict?: DeviceOrientationEventInit): DeviceOrientationEvent; }; interface DocumentEventMap extends DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap { "fullscreenchange": Event; "fullscreenerror": Event; "pointerlockchange": Event; "pointerlockerror": Event; "readystatechange": Event; "visibilitychange": Event; } /** Any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree. */ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShadowRoot, FontFaceSource, GlobalEventHandlers, NonElementParentNode, ParentNode, XPathEvaluatorBase { /** * Sets or gets the URL for the current document. */ readonly URL: string; /** * Sets or gets the color of all active links in the document. * @deprecated */ alinkColor: string; /** * Returns a reference to the collection of elements contained by the object. * @deprecated */ readonly all: HTMLAllCollection; /** * Retrieves a collection of all a objects that have a name and/or id property. Objects in this collection are in HTML source order. * @deprecated */ readonly anchors: HTMLCollectionOf; /** * Retrieves a collection of all applet objects in the document. * @deprecated */ readonly applets: HTMLCollection; /** * Deprecated. Sets or retrieves a value that indicates the background color behind the object. * @deprecated */ bgColor: string; /** * Specifies the beginning and end of the document body. */ body: HTMLElement; /** * Returns document's encoding. */ readonly characterSet: string; /** * Gets or sets the character set used to encode the object. * @deprecated This is a legacy alias of \`characterSet\`. */ readonly charset: string; /** * Gets a value that indicates whether standards-compliant mode is switched on for the object. */ readonly compatMode: string; /** * Returns document's content type. */ readonly contentType: string; /** * Returns the HTTP cookies that apply to the Document. If there are no cookies or cookies can't be applied to this resource, the empty string will be returned. * * Can be set, to add a new cookie to the element's set of HTTP cookies. * * If the contents are sandboxed into a unique origin (e.g. in an iframe with the sandbox attribute), a "SecurityError" DOMException will be thrown on getting and setting. */ cookie: string; /** * Returns the script element, or the SVG script element, that is currently executing, as long as the element represents a classic script. In the case of reentrant script execution, returns the one that most recently started executing amongst those that have not yet finished executing. * * Returns null if the Document is not currently executing a script or SVG script element (e.g., because the running script is an event handler, or a timeout), or if the currently executing script or SVG script element represents a module script. */ readonly currentScript: HTMLOrSVGScriptElement | null; /** * Returns the Window object of the active document. */ readonly defaultView: (WindowProxy & typeof globalThis) | null; /** * Sets or gets a value that indicates whether the document can be edited. */ designMode: string; /** * Sets or retrieves a value that indicates the reading order of the object. */ dir: string; /** * Gets an object representing the document type declaration associated with the current document. */ readonly doctype: DocumentType | null; /** * Gets a reference to the root node of the document. */ readonly documentElement: HTMLElement; /** * Returns document's URL. */ readonly documentURI: string; /** * Sets or gets the security domain of the document. */ domain: string; /** * Retrieves a collection of all embed objects in the document. */ readonly embeds: HTMLCollectionOf; /** * Sets or gets the foreground (text) color of the document. * @deprecated */ fgColor: string; /** * Retrieves a collection, in source order, of all form objects in the document. */ readonly forms: HTMLCollectionOf; /** @deprecated */ readonly fullscreen: boolean; /** * Returns true if document has the ability to display elements fullscreen and fullscreen is supported, or false otherwise. */ readonly fullscreenEnabled: boolean; /** * Returns the head element. */ readonly head: HTMLHeadElement; readonly hidden: boolean; /** * Retrieves a collection, in source order, of img objects in the document. */ readonly images: HTMLCollectionOf; /** * Gets the implementation object of the current document. */ readonly implementation: DOMImplementation; /** * Returns the character encoding used to create the webpage that is loaded into the document object. * @deprecated This is a legacy alias of \`characterSet\`. */ readonly inputEncoding: string; /** * Gets the date that the page was last modified, if the page supplies one. */ readonly lastModified: string; /** * Sets or gets the color of the document links. * @deprecated */ linkColor: string; /** * Retrieves a collection of all a objects that specify the href property and all area objects in the document. */ readonly links: HTMLCollectionOf; /** * Contains information about the current URL. */ get location(): Location; set location(href: string | Location); onfullscreenchange: ((this: Document, ev: Event) => any) | null; onfullscreenerror: ((this: Document, ev: Event) => any) | null; onpointerlockchange: ((this: Document, ev: Event) => any) | null; onpointerlockerror: ((this: Document, ev: Event) => any) | null; /** * Fires when the state of the object has changed. * @param ev The event */ onreadystatechange: ((this: Document, ev: Event) => any) | null; onvisibilitychange: ((this: Document, ev: Event) => any) | null; readonly ownerDocument: null; readonly pictureInPictureEnabled: boolean; /** * Return an HTMLCollection of the embed elements in the Document. */ readonly plugins: HTMLCollectionOf; /** * Retrieves a value that indicates the current state of the object. */ readonly readyState: DocumentReadyState; /** * Gets the URL of the location that referred the user to the current page. */ readonly referrer: string; /** @deprecated */ readonly rootElement: SVGSVGElement | null; /** * Retrieves a collection of all script objects in the document. */ readonly scripts: HTMLCollectionOf; readonly scrollingElement: Element | null; readonly timeline: DocumentTimeline; /** * Contains the title of the document. */ title: string; readonly visibilityState: VisibilityState; /** * Sets or gets the color of the links that the user has visited. * @deprecated */ vlinkColor: string; /** * Moves node from another document and returns it. * * If node is a document, throws a "NotSupportedError" DOMException or, if node is a shadow root, throws a "HierarchyRequestError" DOMException. */ adoptNode(node: T): T; /** @deprecated */ captureEvents(): void; /** @deprecated */ caretRangeFromPoint(x: number, y: number): Range | null; /** @deprecated */ clear(): void; /** * Closes an output stream and forces the sent data to display. */ close(): void; /** * Creates an attribute object with a specified name. * @param name String that sets the attribute object's name. */ createAttribute(localName: string): Attr; createAttributeNS(namespace: string | null, qualifiedName: string): Attr; /** * Returns a CDATASection node whose data is data. */ createCDATASection(data: string): CDATASection; /** * Creates a comment object with the specified data. * @param data Sets the comment object's data. */ createComment(data: string): Comment; /** * Creates a new document. */ createDocumentFragment(): DocumentFragment; /** * Creates an instance of the element for the specified tag. * @param tagName The name of an element. */ createElement(tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K]; /** @deprecated */ createElement(tagName: K, options?: ElementCreationOptions): HTMLElementDeprecatedTagNameMap[K]; createElement(tagName: string, options?: ElementCreationOptions): HTMLElement; /** * Returns an element with namespace namespace. Its namespace prefix will be everything before ":" (U+003E) in qualifiedName or null. Its local name will be everything after ":" (U+003E) in qualifiedName or qualifiedName. * * If localName does not match the Name production an "InvalidCharacterError" DOMException will be thrown. * * If one of the following conditions is true a "NamespaceError" DOMException will be thrown: * * localName does not match the QName production. * Namespace prefix is not null and namespace is the empty string. * Namespace prefix is "xml" and namespace is not the XML namespace. * qualifiedName or namespace prefix is "xmlns" and namespace is not the XMLNS namespace. * namespace is the XMLNS namespace and neither qualifiedName nor namespace prefix is "xmlns". * * When supplied, options's is can be used to create a customized built-in element. */ createElementNS(namespaceURI: "http://www.w3.org/1999/xhtml", qualifiedName: string): HTMLElement; createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: K): SVGElementTagNameMap[K]; createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: string): SVGElement; createElementNS(namespaceURI: string | null, qualifiedName: string, options?: ElementCreationOptions): Element; createElementNS(namespace: string | null, qualifiedName: string, options?: string | ElementCreationOptions): Element; createEvent(eventInterface: "AnimationEvent"): AnimationEvent; createEvent(eventInterface: "AnimationPlaybackEvent"): AnimationPlaybackEvent; createEvent(eventInterface: "AudioProcessingEvent"): AudioProcessingEvent; createEvent(eventInterface: "BeforeUnloadEvent"): BeforeUnloadEvent; createEvent(eventInterface: "BlobEvent"): BlobEvent; createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent; createEvent(eventInterface: "CloseEvent"): CloseEvent; createEvent(eventInterface: "CompositionEvent"): CompositionEvent; createEvent(eventInterface: "CustomEvent"): CustomEvent; createEvent(eventInterface: "DeviceMotionEvent"): DeviceMotionEvent; createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent; createEvent(eventInterface: "DragEvent"): DragEvent; createEvent(eventInterface: "ErrorEvent"): ErrorEvent; createEvent(eventInterface: "FocusEvent"): FocusEvent; createEvent(eventInterface: "FontFaceSetLoadEvent"): FontFaceSetLoadEvent; createEvent(eventInterface: "FormDataEvent"): FormDataEvent; createEvent(eventInterface: "GamepadEvent"): GamepadEvent; createEvent(eventInterface: "HashChangeEvent"): HashChangeEvent; createEvent(eventInterface: "IDBVersionChangeEvent"): IDBVersionChangeEvent; createEvent(eventInterface: "InputEvent"): InputEvent; createEvent(eventInterface: "KeyboardEvent"): KeyboardEvent; createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent; createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent; createEvent(eventInterface: "MediaQueryListEvent"): MediaQueryListEvent; createEvent(eventInterface: "MediaRecorderErrorEvent"): MediaRecorderErrorEvent; createEvent(eventInterface: "MediaStreamTrackEvent"): MediaStreamTrackEvent; createEvent(eventInterface: "MessageEvent"): MessageEvent; createEvent(eventInterface: "MouseEvent"): MouseEvent; createEvent(eventInterface: "MouseEvents"): MouseEvent; createEvent(eventInterface: "MutationEvent"): MutationEvent; createEvent(eventInterface: "MutationEvents"): MutationEvent; createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent; createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent; createEvent(eventInterface: "PaymentMethodChangeEvent"): PaymentMethodChangeEvent; createEvent(eventInterface: "PaymentRequestUpdateEvent"): PaymentRequestUpdateEvent; createEvent(eventInterface: "PointerEvent"): PointerEvent; createEvent(eventInterface: "PopStateEvent"): PopStateEvent; createEvent(eventInterface: "ProgressEvent"): ProgressEvent; createEvent(eventInterface: "PromiseRejectionEvent"): PromiseRejectionEvent; createEvent(eventInterface: "RTCDTMFToneChangeEvent"): RTCDTMFToneChangeEvent; createEvent(eventInterface: "RTCDataChannelEvent"): RTCDataChannelEvent; createEvent(eventInterface: "RTCPeerConnectionIceErrorEvent"): RTCPeerConnectionIceErrorEvent; createEvent(eventInterface: "RTCPeerConnectionIceEvent"): RTCPeerConnectionIceEvent; createEvent(eventInterface: "RTCTrackEvent"): RTCTrackEvent; createEvent(eventInterface: "SecurityPolicyViolationEvent"): SecurityPolicyViolationEvent; createEvent(eventInterface: "SpeechSynthesisErrorEvent"): SpeechSynthesisErrorEvent; createEvent(eventInterface: "SpeechSynthesisEvent"): SpeechSynthesisEvent; createEvent(eventInterface: "StorageEvent"): StorageEvent; createEvent(eventInterface: "SubmitEvent"): SubmitEvent; createEvent(eventInterface: "TouchEvent"): TouchEvent; createEvent(eventInterface: "TrackEvent"): TrackEvent; createEvent(eventInterface: "TransitionEvent"): TransitionEvent; createEvent(eventInterface: "UIEvent"): UIEvent; createEvent(eventInterface: "UIEvents"): UIEvent; createEvent(eventInterface: "WebGLContextEvent"): WebGLContextEvent; createEvent(eventInterface: "WheelEvent"): WheelEvent; createEvent(eventInterface: string): Event; /** * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document. * @param root The root element or node to start traversing on. * @param whatToShow The type of nodes or elements to appear in the node list * @param filter A custom NodeFilter function to use. For more information, see filter. Use null for no filter. */ createNodeIterator(root: Node, whatToShow?: number, filter?: NodeFilter | null): NodeIterator; /** * Returns a ProcessingInstruction node whose target is target and data is data. If target does not match the Name production an "InvalidCharacterError" DOMException will be thrown. If data contains "?>" an "InvalidCharacterError" DOMException will be thrown. */ createProcessingInstruction(target: string, data: string): ProcessingInstruction; /** * Returns an empty range object that has both of its boundary points positioned at the beginning of the document. */ createRange(): Range; /** * Creates a text string from the specified value. * @param data String that specifies the nodeValue property of the text node. */ createTextNode(data: string): Text; /** * Creates a TreeWalker object that you can use to traverse filtered lists of nodes or elements in a document. * @param root The root element or node to start traversing on. * @param whatToShow The type of nodes or elements to appear in the node list. For more information, see whatToShow. * @param filter A custom NodeFilter function to use. */ createTreeWalker(root: Node, whatToShow?: number, filter?: NodeFilter | null): TreeWalker; /** * Returns the element for the specified x coordinate and the specified y coordinate. * @param x The x-offset * @param y The y-offset */ elementFromPoint(x: number, y: number): Element | null; elementsFromPoint(x: number, y: number): Element[]; /** * Executes a command on the current document, current selection, or the given range. * @param commandId String that specifies the command to execute. This command can be any of the command identifiers that can be executed in script. * @param showUI Display the user interface, defaults to false. * @param value Value to assign. * @deprecated */ execCommand(commandId: string, showUI?: boolean, value?: string): boolean; /** * Stops document's fullscreen element from being displayed fullscreen and resolves promise when done. */ exitFullscreen(): Promise; exitPictureInPicture(): Promise; exitPointerLock(): void; /** * Returns a reference to the first object with the specified value of the ID attribute. * @param elementId String that specifies the ID value. */ getElementById(elementId: string): HTMLElement | null; /** * Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes. */ getElementsByClassName(classNames: string): HTMLCollectionOf; /** * Gets a collection of objects based on the value of the NAME or ID attribute. * @param elementName Gets a collection of objects based on the value of the NAME or ID attribute. */ getElementsByName(elementName: string): NodeListOf; /** * Retrieves a collection of objects based on the specified element name. * @param name Specifies the name of an element. */ getElementsByTagName(qualifiedName: K): HTMLCollectionOf; getElementsByTagName(qualifiedName: K): HTMLCollectionOf; getElementsByTagName(qualifiedName: string): HTMLCollectionOf; /** * If namespace and localName are "*" returns a HTMLCollection of all descendant elements. * * If only namespace is "*" returns a HTMLCollection of all descendant elements whose local name is localName. * * If only localName is "*" returns a HTMLCollection of all descendant elements whose namespace is namespace. * * Otherwise, returns a HTMLCollection of all descendant elements whose namespace is namespace and local name is localName. */ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf; getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf; getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf; /** * Returns an object representing the current selection of the document that is loaded into the object displaying a webpage. */ getSelection(): Selection | null; /** * Gets a value indicating whether the object currently has focus. */ hasFocus(): boolean; hasStorageAccess(): Promise; /** * Returns a copy of node. If deep is true, the copy also includes the node's descendants. * * If node is a document or a shadow root, throws a "NotSupportedError" DOMException. */ importNode(node: T, deep?: boolean): T; /** * Opens a new window and loads a document specified by a given URL. Also, opens a new window that uses the url parameter and the name parameter to collect the output of the write method and the writeln method. * @param url Specifies a MIME type for the document. * @param name Specifies the name of the window. This name is used as the value for the TARGET attribute on a form or an anchor element. * @param features Contains a list of items separated by commas. Each item consists of an option and a value, separated by an equals sign (for example, "fullscreen=yes, toolbar=yes"). The following values are supported. * @param replace Specifies whether the existing entry for the document is replaced in the history list. */ open(unused1?: string, unused2?: string): Document; open(url: string | URL, name: string, features: string): WindowProxy | null; /** * Returns a Boolean value that indicates whether a specified command can be successfully executed using execCommand, given the current state of the document. * @param commandId Specifies a command identifier. * @deprecated */ queryCommandEnabled(commandId: string): boolean; /** * Returns a Boolean value that indicates whether the specified command is in the indeterminate state. * @param commandId String that specifies a command identifier. */ queryCommandIndeterm(commandId: string): boolean; /** * Returns a Boolean value that indicates the current state of the command. * @param commandId String that specifies a command identifier. * @deprecated */ queryCommandState(commandId: string): boolean; /** * Returns a Boolean value that indicates whether the current command is supported on the current range. * @param commandId Specifies a command identifier. * @deprecated */ queryCommandSupported(commandId: string): boolean; /** * Returns the current value of the document, range, or current selection for the given command. * @param commandId String that specifies a command identifier. */ queryCommandValue(commandId: string): string; /** @deprecated */ releaseEvents(): void; requestStorageAccess(): Promise; /** * Writes one or more HTML expressions to a document in the specified window. * @param content Specifies the text and HTML tags to write. */ write(...text: string[]): void; /** * Writes one or more HTML expressions, followed by a carriage return, to a document in the specified window. * @param content The text and HTML tags to write. */ writeln(...text: string[]): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var Document: { prototype: Document; new(): Document; }; interface DocumentAndElementEventHandlersEventMap { "copy": ClipboardEvent; "cut": ClipboardEvent; "paste": ClipboardEvent; } interface DocumentAndElementEventHandlers { oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null; oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null; onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null; addEventListener(type: K, listener: (this: DocumentAndElementEventHandlers, ev: DocumentAndElementEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: DocumentAndElementEventHandlers, ev: DocumentAndElementEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } /** A minimal document object that has no parent. It is used as a lightweight version of Document that stores a segment of a document structure comprised of nodes just like a standard document. The key difference is that because the document fragment isn't part of the active document tree structure, changes made to the fragment don't affect the document, cause reflow, or incur any performance impact that can occur when changes are made. */ interface DocumentFragment extends Node, NonElementParentNode, ParentNode { readonly ownerDocument: Document; getElementById(elementId: string): HTMLElement | null; } declare var DocumentFragment: { prototype: DocumentFragment; new(): DocumentFragment; }; interface DocumentOrShadowRoot { /** * Returns the deepest element in the document through which or to which key events are being routed. This is, roughly speaking, the focused element in the document. * * For the purposes of this API, when a child browsing context is focused, its container is focused in the parent browsing context. For example, if the user moves the focus to a text control in an iframe, the iframe is the element returned by the activeElement API in the iframe's node document. * * Similarly, when the focused element is in a different node tree than documentOrShadowRoot, the element returned will be the host that's located in the same node tree as documentOrShadowRoot if documentOrShadowRoot is a shadow-including inclusive ancestor of the focused element, and null if not. */ readonly activeElement: Element | null; /** * Returns document's fullscreen element. */ readonly fullscreenElement: Element | null; readonly pictureInPictureElement: Element | null; readonly pointerLockElement: Element | null; /** * Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document. */ readonly styleSheets: StyleSheetList; getAnimations(): Animation[]; } interface DocumentTimeline extends AnimationTimeline { } declare var DocumentTimeline: { prototype: DocumentTimeline; new(options?: DocumentTimelineOptions): DocumentTimeline; }; /** A Node containing a doctype. */ interface DocumentType extends Node, ChildNode { readonly name: string; readonly ownerDocument: Document; readonly publicId: string; readonly systemId: string; } declare var DocumentType: { prototype: DocumentType; new(): DocumentType; }; /** A DOM event that represents a drag and drop interaction. The user initiates a drag by placing a pointer device (such as a mouse) on the touch surface and then dragging the pointer to a new location (such as another DOM element). Applications are free to interpret a drag and drop interaction in an application-specific way. */ interface DragEvent extends MouseEvent { /** * Returns the DataTransfer object for the event. */ readonly dataTransfer: DataTransfer | null; } declare var DragEvent: { prototype: DragEvent; new(type: string, eventInitDict?: DragEventInit): DragEvent; }; /** Inherits properties from its parent, AudioNode. */ interface DynamicsCompressorNode extends AudioNode { readonly attack: AudioParam; readonly knee: AudioParam; readonly ratio: AudioParam; readonly reduction: number; readonly release: AudioParam; readonly threshold: AudioParam; } declare var DynamicsCompressorNode: { prototype: DynamicsCompressorNode; new(context: BaseAudioContext, options?: DynamicsCompressorOptions): DynamicsCompressorNode; }; interface EXT_blend_minmax { readonly MAX_EXT: GLenum; readonly MIN_EXT: GLenum; } interface EXT_color_buffer_float { } interface EXT_color_buffer_half_float { readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: GLenum; readonly RGB16F_EXT: GLenum; readonly RGBA16F_EXT: GLenum; readonly UNSIGNED_NORMALIZED_EXT: GLenum; } interface EXT_float_blend { } /** The EXT_frag_depth extension is part of the WebGL API and enables to set a depth value of a fragment from within the fragment shader. */ interface EXT_frag_depth { } interface EXT_sRGB { readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: GLenum; readonly SRGB8_ALPHA8_EXT: GLenum; readonly SRGB_ALPHA_EXT: GLenum; readonly SRGB_EXT: GLenum; } interface EXT_shader_texture_lod { } interface EXT_texture_compression_rgtc { readonly COMPRESSED_RED_GREEN_RGTC2_EXT: GLenum; readonly COMPRESSED_RED_RGTC1_EXT: GLenum; readonly COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT: GLenum; readonly COMPRESSED_SIGNED_RED_RGTC1_EXT: GLenum; } /** The EXT_texture_filter_anisotropic extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF). */ interface EXT_texture_filter_anisotropic { readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: GLenum; readonly TEXTURE_MAX_ANISOTROPY_EXT: GLenum; } interface ElementEventMap { "fullscreenchange": Event; "fullscreenerror": Event; } /** Element is the most general base class from which all objects in a Document inherit. It only has methods and properties common to all kinds of elements. More specific classes inherit from Element. */ interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, NonDocumentTypeChildNode, ParentNode, Slottable { readonly attributes: NamedNodeMap; /** * Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object. */ readonly classList: DOMTokenList; /** * Returns the value of element's class content attribute. Can be set to change it. */ className: string; readonly clientHeight: number; readonly clientLeft: number; readonly clientTop: number; readonly clientWidth: number; /** * Returns the value of element's id content attribute. Can be set to change it. */ id: string; /** * Returns the local name. */ readonly localName: string; /** * Returns the namespace. */ readonly namespaceURI: string | null; onfullscreenchange: ((this: Element, ev: Event) => any) | null; onfullscreenerror: ((this: Element, ev: Event) => any) | null; outerHTML: string; readonly ownerDocument: Document; readonly part: DOMTokenList; /** * Returns the namespace prefix. */ readonly prefix: string | null; readonly scrollHeight: number; scrollLeft: number; scrollTop: number; readonly scrollWidth: number; /** * Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise. */ readonly shadowRoot: ShadowRoot | null; /** * Returns the value of element's slot content attribute. Can be set to change it. */ slot: string; /** * Returns the HTML-uppercased qualified name. */ readonly tagName: string; /** * Creates a shadow root for element and returns it. */ attachShadow(init: ShadowRootInit): ShadowRoot; /** * Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise. */ closest(selector: K): HTMLElementTagNameMap[K] | null; closest(selector: K): SVGElementTagNameMap[K] | null; closest(selectors: string): E | null; /** * Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise. */ getAttribute(qualifiedName: string): string | null; /** * Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise. */ getAttributeNS(namespace: string | null, localName: string): string | null; /** * Returns the qualified names of all element's attributes. Can contain duplicates. */ getAttributeNames(): string[]; getAttributeNode(qualifiedName: string): Attr | null; getAttributeNodeNS(namespace: string | null, localName: string): Attr | null; getBoundingClientRect(): DOMRect; getClientRects(): DOMRectList; /** * Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes. */ getElementsByClassName(classNames: string): HTMLCollectionOf; getElementsByTagName(qualifiedName: K): HTMLCollectionOf; getElementsByTagName(qualifiedName: K): HTMLCollectionOf; getElementsByTagName(qualifiedName: string): HTMLCollectionOf; getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf; getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf; getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf; /** * Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise. */ hasAttribute(qualifiedName: string): boolean; /** * Returns true if element has an attribute whose namespace is namespace and local name is localName. */ hasAttributeNS(namespace: string | null, localName: string): boolean; /** * Returns true if element has attributes, and false otherwise. */ hasAttributes(): boolean; hasPointerCapture(pointerId: number): boolean; insertAdjacentElement(where: InsertPosition, element: Element): Element | null; insertAdjacentHTML(position: InsertPosition, text: string): void; insertAdjacentText(where: InsertPosition, data: string): void; /** * Returns true if matching selectors against element's root yields element, and false otherwise. */ matches(selectors: string): boolean; releasePointerCapture(pointerId: number): void; /** * Removes element's first attribute whose qualified name is qualifiedName. */ removeAttribute(qualifiedName: string): void; /** * Removes element's attribute whose namespace is namespace and local name is localName. */ removeAttributeNS(namespace: string | null, localName: string): void; removeAttributeNode(attr: Attr): Attr; /** * Displays element fullscreen and resolves promise when done. * * When supplied, options's navigationUI member indicates whether showing navigation UI while in fullscreen is preferred or not. If set to "show", navigation simplicity is preferred over screen space, and if set to "hide", more screen space is preferred. User agents are always free to honor user preference over the application's. The default value "auto" indicates no application preference. */ requestFullscreen(options?: FullscreenOptions): Promise; requestPointerLock(): void; scroll(options?: ScrollToOptions): void; scroll(x: number, y: number): void; scrollBy(options?: ScrollToOptions): void; scrollBy(x: number, y: number): void; scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void; scrollTo(options?: ScrollToOptions): void; scrollTo(x: number, y: number): void; /** * Sets the value of element's first attribute whose qualified name is qualifiedName to value. */ setAttribute(qualifiedName: string, value: string): void; /** * Sets the value of element's attribute whose namespace is namespace and local name is localName to value. */ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void; setAttributeNode(attr: Attr): Attr | null; setAttributeNodeNS(attr: Attr): Attr | null; setPointerCapture(pointerId: number): void; /** * If force is not given, "toggles" qualifiedName, removing it if it is present and adding it if it is not present. If force is true, adds qualifiedName. If force is false, removes qualifiedName. * * Returns true if qualifiedName is now present, and false otherwise. */ toggleAttribute(qualifiedName: string, force?: boolean): boolean; /** @deprecated This is a legacy alias of \`matches\`. */ webkitMatchesSelector(selectors: string): boolean; addEventListener(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var Element: { prototype: Element; new(): Element; }; interface ElementCSSInlineStyle { readonly style: CSSStyleDeclaration; } interface ElementContentEditable { contentEditable: string; enterKeyHint: string; inputMode: string; readonly isContentEditable: boolean; } /** Events providing information related to errors in scripts or in files. */ interface ErrorEvent extends Event { readonly colno: number; readonly error: any; readonly filename: string; readonly lineno: number; readonly message: string; } declare var ErrorEvent: { prototype: ErrorEvent; new(type: string, eventInitDict?: ErrorEventInit): ErrorEvent; }; /** An event which takes place in the DOM. */ interface Event { /** * Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise. */ readonly bubbles: boolean; cancelBubble: boolean; /** * Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method. */ readonly cancelable: boolean; /** * Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise. */ readonly composed: boolean; /** * Returns the object whose event listener's callback is currently being invoked. */ readonly currentTarget: EventTarget | null; /** * Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise. */ readonly defaultPrevented: boolean; /** * Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE. */ readonly eventPhase: number; /** * Returns true if event was dispatched by the user agent, and false otherwise. */ readonly isTrusted: boolean; /** @deprecated */ returnValue: boolean; /** @deprecated */ readonly srcElement: EventTarget | null; /** * Returns the object to which event is dispatched (its target). */ readonly target: EventTarget | null; /** * Returns the event's timestamp as the number of milliseconds measured relative to the time origin. */ readonly timeStamp: DOMHighResTimeStamp; /** * Returns the type of event, e.g. "click", "hashchange", or "submit". */ readonly type: string; /** * Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget. */ composedPath(): EventTarget[]; /** @deprecated */ initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void; /** * If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled. */ preventDefault(): void; /** * Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects. */ stopImmediatePropagation(): void; /** * When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object. */ stopPropagation(): void; readonly AT_TARGET: number; readonly BUBBLING_PHASE: number; readonly CAPTURING_PHASE: number; readonly NONE: number; } declare var Event: { prototype: Event; new(type: string, eventInitDict?: EventInit): Event; readonly AT_TARGET: number; readonly BUBBLING_PHASE: number; readonly CAPTURING_PHASE: number; readonly NONE: number; }; interface EventListener { (evt: Event): void; } interface EventListenerObject { handleEvent(object: Event): void; } interface EventSourceEventMap { "error": Event; "message": MessageEvent; "open": Event; } interface EventSource extends EventTarget { onerror: ((this: EventSource, ev: Event) => any) | null; onmessage: ((this: EventSource, ev: MessageEvent) => any) | null; onopen: ((this: EventSource, ev: Event) => any) | null; /** * Returns the state of this EventSource object's connection. It can have the values described below. */ readonly readyState: number; /** * Returns the URL providing the event stream. */ readonly url: string; /** * Returns true if the credentials mode for connection requests to the URL providing the event stream is set to "include", and false otherwise. */ readonly withCredentials: boolean; /** * Aborts any instances of the fetch algorithm started for this EventSource object, and sets the readyState attribute to CLOSED. */ close(): void; readonly CLOSED: number; readonly CONNECTING: number; readonly OPEN: number; addEventListener(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var EventSource: { prototype: EventSource; new(url: string | URL, eventSourceInitDict?: EventSourceInit): EventSource; readonly CLOSED: number; readonly CONNECTING: number; readonly OPEN: number; }; /** EventTarget is a DOM interface implemented by objects that can receive events and may have listeners for them. */ interface EventTarget { /** * Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. * * The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. * * When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. * * When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in \xA7 2.8 Observing event listeners. * * When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. * * If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. * * The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. */ addEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void; /** * Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. */ dispatchEvent(event: Event): boolean; /** * Removes the event listener in target's event listener list with the same type, callback, and options. */ removeEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void; } declare var EventTarget: { prototype: EventTarget; new(): EventTarget; }; /** @deprecated */ interface External { /** @deprecated */ AddSearchProvider(): void; /** @deprecated */ IsSearchProviderInstalled(): void; } /** @deprecated */ declare var External: { prototype: External; new(): External; }; /** Provides information about files and allows JavaScript in a web page to access their content. */ interface File extends Blob { readonly lastModified: number; readonly name: string; readonly webkitRelativePath: string; } declare var File: { prototype: File; new(fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File; }; /** An object of this type is returned by the files property of the HTML element; this lets you access the list of files selected with the element. It's also used for a list of files dropped into web content when using the drag and drop API; see the DataTransfer object for details on this usage. */ interface FileList { readonly length: number; item(index: number): File | null; [index: number]: File; } declare var FileList: { prototype: FileList; new(): FileList; }; interface FileReaderEventMap { "abort": ProgressEvent; "error": ProgressEvent; "load": ProgressEvent; "loadend": ProgressEvent; "loadstart": ProgressEvent; "progress": ProgressEvent; } /** Lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File or Blob objects to specify the file or data to read. */ interface FileReader extends EventTarget { readonly error: DOMException | null; onabort: ((this: FileReader, ev: ProgressEvent) => any) | null; onerror: ((this: FileReader, ev: ProgressEvent) => any) | null; onload: ((this: FileReader, ev: ProgressEvent) => any) | null; onloadend: ((this: FileReader, ev: ProgressEvent) => any) | null; onloadstart: ((this: FileReader, ev: ProgressEvent) => any) | null; onprogress: ((this: FileReader, ev: ProgressEvent) => any) | null; readonly readyState: number; readonly result: string | ArrayBuffer | null; abort(): void; readAsArrayBuffer(blob: Blob): void; readAsBinaryString(blob: Blob): void; readAsDataURL(blob: Blob): void; readAsText(blob: Blob, encoding?: string): void; readonly DONE: number; readonly EMPTY: number; readonly LOADING: number; addEventListener(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var FileReader: { prototype: FileReader; new(): FileReader; readonly DONE: number; readonly EMPTY: number; readonly LOADING: number; }; interface FileSystem { readonly name: string; readonly root: FileSystemDirectoryEntry; } declare var FileSystem: { prototype: FileSystem; new(): FileSystem; }; interface FileSystemDirectoryEntry extends FileSystemEntry { createReader(): FileSystemDirectoryReader; getDirectory(path?: string | null, options?: FileSystemFlags, successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void; getFile(path?: string | null, options?: FileSystemFlags, successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void; } declare var FileSystemDirectoryEntry: { prototype: FileSystemDirectoryEntry; new(): FileSystemDirectoryEntry; }; /** @deprecated */ interface FileSystemDirectoryReader { /** @deprecated */ readEntries(successCallback: FileSystemEntriesCallback, errorCallback?: ErrorCallback): void; } /** @deprecated */ declare var FileSystemDirectoryReader: { prototype: FileSystemDirectoryReader; new(): FileSystemDirectoryReader; }; interface FileSystemEntry { readonly filesystem: FileSystem; readonly fullPath: string; readonly isDirectory: boolean; readonly isFile: boolean; readonly name: string; getParent(successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void; } declare var FileSystemEntry: { prototype: FileSystemEntry; new(): FileSystemEntry; }; interface FileSystemFileEntry extends FileSystemEntry { file(successCallback: FileCallback, errorCallback?: ErrorCallback): void; } declare var FileSystemFileEntry: { prototype: FileSystemFileEntry; new(): FileSystemFileEntry; }; /** Focus-related events like focus, blur, focusin, or focusout. */ interface FocusEvent extends UIEvent { readonly relatedTarget: EventTarget | null; } declare var FocusEvent: { prototype: FocusEvent; new(type: string, eventInitDict?: FocusEventInit): FocusEvent; }; interface FontFace { ascentOverride: string; descentOverride: string; display: string; family: string; featureSettings: string; lineGapOverride: string; readonly loaded: Promise; readonly status: FontFaceLoadStatus; stretch: string; style: string; unicodeRange: string; variant: string; variationSettings: string; weight: string; load(): Promise; } declare var FontFace: { prototype: FontFace; new(family: string, source: string | BinaryData, descriptors?: FontFaceDescriptors): FontFace; }; interface FontFaceSetEventMap { "loading": Event; "loadingdone": Event; "loadingerror": Event; } interface FontFaceSet extends EventTarget { onloading: ((this: FontFaceSet, ev: Event) => any) | null; onloadingdone: ((this: FontFaceSet, ev: Event) => any) | null; onloadingerror: ((this: FontFaceSet, ev: Event) => any) | null; readonly ready: Promise; readonly status: FontFaceSetLoadStatus; check(font: string, text?: string): boolean; load(font: string, text?: string): Promise; forEach(callbackfn: (value: FontFace, key: FontFace, parent: FontFaceSet) => void, thisArg?: any): void; addEventListener(type: K, listener: (this: FontFaceSet, ev: FontFaceSetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: FontFaceSet, ev: FontFaceSetEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var FontFaceSet: { prototype: FontFaceSet; new(initialFaces: FontFace[]): FontFaceSet; }; interface FontFaceSetLoadEvent extends Event { readonly fontfaces: ReadonlyArray; } declare var FontFaceSetLoadEvent: { prototype: FontFaceSetLoadEvent; new(type: string, eventInitDict?: FontFaceSetLoadEventInit): FontFaceSetLoadEvent; }; interface FontFaceSource { readonly fonts: FontFaceSet; } /** Provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest.send() method. It uses the same format a form would use if the encoding type were set to "multipart/form-data". */ interface FormData { append(name: string, value: string | Blob, fileName?: string): void; delete(name: string): void; get(name: string): FormDataEntryValue | null; getAll(name: string): FormDataEntryValue[]; has(name: string): boolean; set(name: string, value: string | Blob, fileName?: string): void; forEach(callbackfn: (value: FormDataEntryValue, key: string, parent: FormData) => void, thisArg?: any): void; } declare var FormData: { prototype: FormData; new(form?: HTMLFormElement): FormData; }; interface FormDataEvent extends Event { /** * Returns a FormData object representing names and values of elements associated to the target form. Operations on the FormData object will affect form data to be submitted. */ readonly formData: FormData; } declare var FormDataEvent: { prototype: FormDataEvent; new(type: string, eventInitDict: FormDataEventInit): FormDataEvent; }; /** A change in volume. It is an AudioNode audio-processing module that causes a given gain to be applied to the input data before its propagation to the output. A GainNode always has exactly one input and one output, both with the same number of channels. */ interface GainNode extends AudioNode { readonly gain: AudioParam; } declare var GainNode: { prototype: GainNode; new(context: BaseAudioContext, options?: GainOptions): GainNode; }; /** This Gamepad API interface defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id. */ interface Gamepad { readonly axes: ReadonlyArray; readonly buttons: ReadonlyArray; readonly connected: boolean; readonly hapticActuators: ReadonlyArray; readonly id: string; readonly index: number; readonly mapping: GamepadMappingType; readonly timestamp: DOMHighResTimeStamp; } declare var Gamepad: { prototype: Gamepad; new(): Gamepad; }; /** An individual button of a gamepad or other controller, allowing access to the current state of different types of buttons available on the control device. */ interface GamepadButton { readonly pressed: boolean; readonly touched: boolean; readonly value: number; } declare var GamepadButton: { prototype: GamepadButton; new(): GamepadButton; }; /** This Gamepad API interface contains references to gamepads connected to the system, which is what the gamepad events Window.gamepadconnected and Window.gamepaddisconnected are fired in response to. */ interface GamepadEvent extends Event { readonly gamepad: Gamepad; } declare var GamepadEvent: { prototype: GamepadEvent; new(type: string, eventInitDict: GamepadEventInit): GamepadEvent; }; /** This Gamepad API interface represents hardware in the controller designed to provide haptic feedback to the user (if available), most commonly vibration hardware. */ interface GamepadHapticActuator { readonly type: GamepadHapticActuatorType; } declare var GamepadHapticActuator: { prototype: GamepadHapticActuator; new(): GamepadHapticActuator; }; interface GenericTransformStream { readonly readable: ReadableStream; readonly writable: WritableStream; } /** An object able to programmatically obtain the position of the device. It gives Web content access to the location of the device. This allows a Web site or app to offer customized results based on the user's location. */ interface Geolocation { clearWatch(watchId: number): void; getCurrentPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback | null, options?: PositionOptions): void; watchPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback | null, options?: PositionOptions): number; } declare var Geolocation: { prototype: Geolocation; new(): Geolocation; }; interface GeolocationCoordinates { readonly accuracy: number; readonly altitude: number | null; readonly altitudeAccuracy: number | null; readonly heading: number | null; readonly latitude: number; readonly longitude: number; readonly speed: number | null; } declare var GeolocationCoordinates: { prototype: GeolocationCoordinates; new(): GeolocationCoordinates; }; interface GeolocationPosition { readonly coords: GeolocationCoordinates; readonly timestamp: DOMTimeStamp; } declare var GeolocationPosition: { prototype: GeolocationPosition; new(): GeolocationPosition; }; interface GeolocationPositionError { readonly code: number; readonly message: string; readonly PERMISSION_DENIED: number; readonly POSITION_UNAVAILABLE: number; readonly TIMEOUT: number; } declare var GeolocationPositionError: { prototype: GeolocationPositionError; new(): GeolocationPositionError; readonly PERMISSION_DENIED: number; readonly POSITION_UNAVAILABLE: number; readonly TIMEOUT: number; }; interface GlobalEventHandlersEventMap { "abort": UIEvent; "animationcancel": AnimationEvent; "animationend": AnimationEvent; "animationiteration": AnimationEvent; "animationstart": AnimationEvent; "auxclick": MouseEvent; "beforeinput": InputEvent; "blur": FocusEvent; "canplay": Event; "canplaythrough": Event; "change": Event; "click": MouseEvent; "close": Event; "compositionend": CompositionEvent; "compositionstart": CompositionEvent; "compositionupdate": CompositionEvent; "contextmenu": MouseEvent; "cuechange": Event; "dblclick": MouseEvent; "drag": DragEvent; "dragend": DragEvent; "dragenter": DragEvent; "dragleave": DragEvent; "dragover": DragEvent; "dragstart": DragEvent; "drop": DragEvent; "durationchange": Event; "emptied": Event; "ended": Event; "error": ErrorEvent; "focus": FocusEvent; "focusin": FocusEvent; "focusout": FocusEvent; "formdata": FormDataEvent; "gotpointercapture": PointerEvent; "input": Event; "invalid": Event; "keydown": KeyboardEvent; "keypress": KeyboardEvent; "keyup": KeyboardEvent; "load": Event; "loadeddata": Event; "loadedmetadata": Event; "loadstart": Event; "lostpointercapture": PointerEvent; "mousedown": MouseEvent; "mouseenter": MouseEvent; "mouseleave": MouseEvent; "mousemove": MouseEvent; "mouseout": MouseEvent; "mouseover": MouseEvent; "mouseup": MouseEvent; "pause": Event; "play": Event; "playing": Event; "pointercancel": PointerEvent; "pointerdown": PointerEvent; "pointerenter": PointerEvent; "pointerleave": PointerEvent; "pointermove": PointerEvent; "pointerout": PointerEvent; "pointerover": PointerEvent; "pointerup": PointerEvent; "progress": ProgressEvent; "ratechange": Event; "reset": Event; "resize": UIEvent; "scroll": Event; "securitypolicyviolation": SecurityPolicyViolationEvent; "seeked": Event; "seeking": Event; "select": Event; "selectionchange": Event; "selectstart": Event; "stalled": Event; "submit": Event; "suspend": Event; "timeupdate": Event; "toggle": Event; "touchcancel": TouchEvent; "touchend": TouchEvent; "touchmove": TouchEvent; "touchstart": TouchEvent; "transitioncancel": TransitionEvent; "transitionend": TransitionEvent; "transitionrun": TransitionEvent; "transitionstart": TransitionEvent; "volumechange": Event; "waiting": Event; "webkitanimationend": Event; "webkitanimationiteration": Event; "webkitanimationstart": Event; "webkittransitionend": Event; "wheel": WheelEvent; } interface GlobalEventHandlers { /** * Fires when the user aborts the download. * @param ev The event. */ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null; onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; /** * Fires when the object loses the input focus. * @param ev The focus event. */ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null; /** * Occurs when playback is possible, but would require further buffering. * @param ev The event. */ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null; oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Fires when the contents of the object or selection have changed. * @param ev The event. */ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Fires when the user clicks the left mouse button on the object * @param ev The mouse event. */ onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Fires when the user clicks the right mouse button in the client area, opening the context menu. * @param ev The mouse event. */ oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Fires when the user double-clicks the object. * @param ev The mouse event. */ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; /** * Fires on the source object continuously during a drag operation. * @param ev The event. */ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; /** * Fires on the source object when the user releases the mouse at the close of a drag operation. * @param ev The event. */ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; /** * Fires on the target element when the user drags the object to a valid drop target. * @param ev The drag event. */ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; /** * Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation. * @param ev The drag event. */ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; /** * Fires on the target element continuously while the user drags the object over a valid drop target. * @param ev The event. */ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; /** * Fires on the source object when the user starts to drag a text selection or selected object. * @param ev The event. */ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; /** * Occurs when the duration attribute is updated. * @param ev The event. */ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Occurs when the media element is reset to its initial state. * @param ev The event. */ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Occurs when the end of playback is reached. * @param ev The event */ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Fires when an error occurs during object loading. * @param ev The event. */ onerror: OnErrorEventHandler; /** * Fires when the object receives focus. * @param ev The event. */ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null; onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null; ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null; oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Fires when the user presses a key. * @param ev The keyboard event */ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null; /** * Fires when the user presses an alphanumeric key. * @param ev The event. * @deprecated */ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null; /** * Fires when the user releases a key. * @param ev The keyboard event */ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null; /** * Fires immediately after the browser loads the object. * @param ev The event. */ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Occurs when media data is loaded at the current playback position. * @param ev The event. */ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Occurs when the duration and dimensions of the media have been determined. * @param ev The event. */ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Occurs when Internet Explorer begins looking for media data. * @param ev The event. */ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; /** * Fires when the user clicks the object with either mouse button. * @param ev The mouse event. */ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; /** * Fires when the user moves the mouse over the object. * @param ev The mouse event. */ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; /** * Fires when the user moves the mouse pointer outside the boundaries of the object. * @param ev The mouse event. */ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; /** * Fires when the user moves the mouse pointer into the object. * @param ev The mouse event. */ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; /** * Fires when the user releases a mouse button while the mouse is over the object. * @param ev The mouse event. */ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; /** * Occurs when playback is paused. * @param ev The event. */ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Occurs when the play method is requested. * @param ev The event. */ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Occurs when the audio or video has started playing. * @param ev The event. */ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null; onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; /** * Occurs to indicate progress while downloading media data. * @param ev The event. */ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null; /** * Occurs when the playback rate is increased or decreased. * @param ev The event. */ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Fires when the user resets a form. * @param ev The event. */ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null; onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null; /** * Fires when the user repositions the scroll box in the scroll bar on the object. * @param ev The event. */ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Occurs when the seek operation ends. * @param ev The event. */ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Occurs when the current playback position is moved. * @param ev The event. */ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Fires when the current selection changes. * @param ev The event. */ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null; onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Occurs when the download has stopped. * @param ev The event. */ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null; onsubmit: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Occurs if the load operation has been intentionally halted. * @param ev The event. */ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Occurs to indicate the current playback position. * @param ev The event. */ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null; ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null; ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined; ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined; ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined; ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined; ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; /** * Occurs when the volume is changed, or playback is muted or unmuted. * @param ev The event. */ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Occurs when playback stops because the next frame of a video resource is not available. * @param ev The event. */ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null; onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null; onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null; onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null; onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null; addEventListener(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } interface HTMLAllCollection { /** * Returns the number of elements in the collection. */ readonly length: number; /** * Returns the item with index index from the collection (determined by tree order). */ item(nameOrIndex?: string): HTMLCollection | Element | null; /** * Returns the item with ID or name name from the collection. * * If there are multiple matching items, then an HTMLCollection object containing all those elements is returned. * * Only button, form, iframe, input, map, meta, object, select, and textarea elements can have a name for the purpose of this method; their name is given by the value of their name attribute. */ namedItem(name: string): HTMLCollection | Element | null; [index: number]: Element; } declare var HTMLAllCollection: { prototype: HTMLAllCollection; new(): HTMLAllCollection; }; /** Hyperlink elements and provides special properties and methods (beyond those of the regular HTMLElement object interface that they inherit from) for manipulating the layout and presentation of such elements. */ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { /** * Sets or retrieves the character set used to encode the object. * @deprecated */ charset: string; /** * Sets or retrieves the coordinates of the object. * @deprecated */ coords: string; download: string; /** * Sets or retrieves the language code of the object. */ hreflang: string; /** * Sets or retrieves the shape of the object. * @deprecated */ name: string; ping: string; referrerPolicy: string; /** * Sets or retrieves the relationship between the object and the destination of the link. */ rel: string; readonly relList: DOMTokenList; /** * Sets or retrieves the relationship between the object and the destination of the link. * @deprecated */ rev: string; /** * Sets or retrieves the shape of the object. * @deprecated */ shape: string; /** * Sets or retrieves the window or frame at which to target content. */ target: string; /** * Retrieves or sets the text of the object as a string. */ text: string; type: string; addEventListener(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLAnchorElement: { prototype: HTMLAnchorElement; new(): HTMLAnchorElement; }; /** Provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of elements. */ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { /** * Sets or retrieves a text alternative to the graphic. */ alt: string; /** * Sets or retrieves the coordinates of the object. */ coords: string; download: string; /** * Sets or gets whether clicks in this region cause action. * @deprecated */ noHref: boolean; ping: string; referrerPolicy: string; rel: string; readonly relList: DOMTokenList; /** * Sets or retrieves the shape of the object. */ shape: string; /** * Sets or retrieves the window or frame at which to target content. */ target: string; addEventListener(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLAreaElement: { prototype: HTMLAreaElement; new(): HTMLAreaElement; }; /** Provides access to the properties of