2025-03-13 09:24:48 +08:00

16 lines
4.4 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(e=>{var n={};function t(r){var a;return(n[r]||(a=n[r]={i:r,l:!1,exports:{}},e[r].call(a.exports,a,a.exports,t),a.l=!0,a)).exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var a in e)t.d(r,a,function(n){return e[n]}.bind(null,a));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="/admin/",t(t.s="d0c7")})({"30db":function(e,n,t){(function(e,r){t.d(n,"a",(function(){return _})),t.d(n,"d",(function(){return v})),t.d(n,"b",(function(){return b})),t.d(n,"c",(function(){return E})),t.d(n,"e",(function(){return T}));var a="en";let i=!1,o=!1,s=!1,c=!1,l=!1,d=!1,u=void 0,p=a,m=void 0,_="object"==typeof self?self:"object"==typeof e?e:{},f=void 0;if(void 0!==_.vscode&&void 0!==_.vscode.process?f=_.vscode.process:void 0!==r&&(f=r),r="string"==typeof(null==(e=null==f?void 0:f.versions)?void 0:e.electron)&&"renderer"===f.type,"object"!=typeof navigator||r){if("object"==typeof f){if(i="win32"===f.platform,o="darwin"===f.platform,(s="linux"===f.platform)&&!!f.env.SNAP&&f.env.SNAP_REVISION,u=a,p=a,e=f.env.VSCODE_NLS_CONFIG,e)try{var g=JSON.parse(e),y=g.availableLanguages["*"];u=g.locale,p=y||a}catch(e){}c=!0}}else m=navigator.userAgent,i=0<=m.indexOf("Windows"),o=0<=m.indexOf("Macintosh"),d=(0<=m.indexOf("Macintosh")||0<=m.indexOf("iPad")||0<=m.indexOf("iPhone"))&&!!navigator.maxTouchPoints&&0<navigator.maxTouchPoints,s=0<=m.indexOf("Linux"),l=!0,u=navigator.language,p=u;let h=0,v=(o?h=1:i?h=3:s&&(h=2),i),b=o,E=l,T=(()=>{if(_.setImmediate)return _.setImmediate.bind(_);if("function"==typeof _.postMessage&&!_.importScripts){let e=[],n=(_.addEventListener("message",n=>{if(n.data&&n.data.vscodeSetImmediateId)for(let r=0,a=e.length;r<a;r++){var t=e[r];if(t.id===n.data.vscodeSetImmediateId)return e.splice(r,1),void t.callback()}}),0);return t=>{var r=++n;e.push({id:r,callback:t}),_.postMessage({vscodeSetImmediateId:r},"*")}}if("function"==typeof(null==f?void 0:f.nextTick))return f.nextTick.bind(f);let e=Promise.resolve();return n=>e.then(n)})()}).call(this,t("c8ba"),t("f28c"))},"973d":function(e,n,t){t.r(n),function(e,r,a){t.d(n,"createClassifier",(function(){return JY})),t.d(n,"createLanguageService",(function(){return qY})),t.d(n,"displayPartsToString",(function(){return XY})),t.d(n,"EndOfLineState",(function(){return YY})),t.d(n,"flattenDiagnosticMessageText",(function(){return QY})),t.d(n,"IndentStyle",(function(){return ZY})),t.d(n,"ScriptKind",(function(){return $Y})),t.d(n,"ScriptTarget",(function(){return eQ})),t.d(n,"TokenClass",(function(){return nQ}));
/*! *****************************************************************************
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.
***************************************************************************** */
var i,o,s,c,l,d,u,p,m,_,f,g,y,h,v,b,E,T,S,x,L,D,A,C,I,N,k,R,O,P,w,M,F,G,B,U,V,j,K,H,W,z,J,q,X,Y,Q,Z,$,ee,ne,te,re,ae,ie,oe,se,ce,le,de,ue,pe,me,_e,fe,ge,ye,he,ve,be,Ee,Te,Se,xe,Le,De,Ae,Ce,Ie,Ne,ke,Re,Oe,Pe,we,Me,Fe,Ge,Be,Ue,Ve,je,Ke,He,We,ze,Je,qe,Xe,Ye,Qe,Ze,$e,en,nn,tn,rn,an,on,sn,cn,ln,dn,un,pn,mn,_n,fn,gn,yn,hn,vn,bn,En,Tn,Sn,xn,Ln,Dn,An,Cn,In,Nn,kn,Rn,On,Pn,wn,Mn,Fn,Gn,Bn,Un,Vn,jn,Kn,Hn,Wn,zn,Jn,qn,Xn,Yn,Qn,Zn,$n,et,nt,tt,rt,at,it,ot,st,ct,lt,dt,ut,pt,mt,_t,ft,gt,yt,ht,vt,bt,Et,Tt,St,xt,Lt,Dt,At,Ct,It,Nt,kt,Rt,Ot,Pt,wt,Mt,Ft,Gt,Bt,Ut,Vt,jt,Kt,Ht,Wt,zt,Jt,qt,Xt,Yt,Qt,Zt,$t,er,nr,tr,rr,ar,ir,or,sr,cr,lr,dr,ur,pr,mr,_r,fr,gr,yr,hr,vr,br,Er,Tr,Sr,xr,Lr,Dr,Ar,Cr,Ir,Nr,kr,Rr,Or,Pr,wr,Mr,Fr,Gr,Br,Ur,Vr,jr,Kr,Hr,Wr,zr,Jr,qr,Xr,Yr,Qr,Zr,$r,ea,na,ta,ra,aa,ia,oa,sa,ca,la,da,ua,pa,ma,_a,fa,ga,ya,ha,va,ba,Ea,Ta,Sa,xa,La,Da,Aa,Ca,Ia,Na,ka,Ra,Oa,Pa,wa,Ma,Fa,Ga,Ba,Ua,Va,ja,Ka,Ha,Wa,za,Ja,qa,Xa,Ya,Qa,Za,$a,ei,ni,ti,ri,ai,ii,oi,si,ci,li,di,ui,pi,mi,_i,fi,gi,yi,hi,vi,bi,Ei,Ti,Si,xi,Li,Di,Ai,Ci,Ii,Ni,ki,Ri,Oi,Pi,wi,Mi,Fi,Gi,Bi,Ui,Vi,ji,Ki,Hi,Wi,zi,Ji,qi,Xi,Yi,Qi,Zi,$i,eo,no,to,ro,ao,io,oo,so,co,lo,uo,po,mo,_o,fo,go,yo,ho,vo,bo,Eo,To,So,xo,Lo,Do,Ao,Co,Io,No,ko,Ro,Oo,Po,wo,Mo,Fo,Go,Bo,Uo,Vo,jo,Ko,Ho,Wo,zo,Jo,qo,Xo,Yo,Qo,Zo,$o,es,ns,ts,rs,as,is,os,ss,cs,ls,ds,us,ps,ms,_s,fs,gs,ys,hs,vs,bs,Es,Ts,Ss,xs,Ls,Ds,As,Cs,Is,Ns,ks,Rs,Os,Ps,ws,Ms,Fs,Gs,Bs,Us,Vs,js,Ks,Hs,Ws,zs,Js,qs,Xs,Ys,Qs,Zs,$s,ec,nc,tc,rc,ac,ic,oc,sc,cc,lc,dc,uc,pc,mc,_c,fc,gc,yc,hc,vc,bc,Ec,Tc,Sc,xc,Lc,Dc,Ac,Cc,Ic,Nc,kc,Rc,Oc,Pc,wc,Mc,Fc,Gc,Bc,Uc,Vc,jc,Kc,Hc,Wc,zc,Jc,qc,Xc,Yc,Qc,Zc,$c,el,nl,tl,rl,al,il,ol,sl,cl,ll,dl,ul,pl,ml,_l,fl,gl,yl,hl,vl,bl,El,Tl,Sl,xl,Ll,Dl,Al,Cl,Il,Nl,kl,Rl,Ol,Pl,wl,Ml,Fl,Gl,Bl,Ul,Vl,jl,Kl,Hl,Wl,zl,Jl,ql,Xl,Yl,Ql,Zl,$l,ed,nd,td,rd,ad,id,od,sd,cd,ld,dd,ud,pd,md,_d,fd,gd,yd,hd,vd,bd,Ed,Td,Sd,xd,Ld,Dd,Ad,Cd,Id,Nd,kd,Rd,Od,Pd,wd,Md,Fd,Gd,Bd,Ud,Vd,jd,Kd,Hd,Wd,zd,Jd,qd,Xd,Yd,Qd,Zd,$d,eu=function(e,n,t){if(t||2===arguments.length)for(var r,a=0,i=n.length;a<i;a++)!r&&a in n||((r=r||Array.prototype.slice.call(n,0,a))[a]=n[a]);return e.concat(r||Array.prototype.slice.call(n))},nu=function(){return(nu=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e}).apply(this,arguments)},tu=function(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e},ru=function(e,n){var t,r,a,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},o={next:s(0),throw:s(1),return:s(2)};return"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){var c=[o,s];if(t)throw new TypeError("Generator is already executing.");for(;i;)try{if(t=1,r&&(a=2&c[0]?r.return:c[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,c[1])).done)return a;switch(r=0,(c=a?[2&c[0],a.value]:c)[0]){case 0:case 1:a=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,r=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(a=0<(a=i.trys).length&&a[a.length-1])&&(6===c[0]||2===c[0])){i=0;continue}if(3===c[0]&&(!a||c[1]>a[0]&&c[1]<a[3]))i.label=c[1];else if(6===c[0]&&i.label<a[1])i.label=a[1],a=c;else{if(!(a&&i.label<a[2])){a[2]&&i.ops.pop(),i.trys.pop();continue}i.label=a[2],i.ops.push(c)}}c=n.call(e,i)}catch(s){c=[6,s],r=0}finally{t=a=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}},au=function(e,n){var t={};for(a in e)Object.prototype.hasOwnProperty.call(e,a)&&n.indexOf(a)<0&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);r<a.length;r++)n.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(t[a[r]]=e[a[r]]);return t},iu=(i=function(e,n){return(i=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,n){e.__proto__=n}:function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])}))(e,n)},function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}i(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)});function ou(){var e={};return{head:e.prev=e,tail:e,size:0}}function su(e,n){return e===n||e!=e&&n!=n}function cu(e){var n=e.prev;if(n&&n!==e)return n;throw new Error("Illegal state")}function lu(e){for(;e;){var n=!e.prev;if(e=e.next,!n)return e}}function du(e,n){for(var t=e.tail;t!==e.head;t=cu(t))if(su(t.key,n))return t}function uu(e,n,t){var r=du(e,n);r?r.value=t:((r={key:n,value:t,next:void 0,prev:void 0}).prev=e.tail,e.tail.next=r,e.tail=r,e.size++)}function pu(e,n){for(var t=e.tail;t!==e.head;t=cu(t)){if(void 0===t.prev)throw new Error("Illegal state");if(su(t.key,n)){if(t.next)t.next.prev=t.prev;else{if(e.tail!==t)throw new Error("Illegal state");e.tail=t.prev}return t.prev.next=t.next,t.next=t.prev,t.prev=void 0,e.size--,t}}}function mu(e){for(var n=e.tail;n!==e.head;){var t=cu(n);n.next=e.head,n.prev=void 0,n=t}e.head.next=void 0,e.tail=e.head,e.size=0}function _u(e,n){for(var t=e.head;t;)(t=lu(t))&&n(t.value,t.key)}function fu(e,n){if(e)for(var t=e.next();!t.done;t=e.next())n(t.value)}function gu(e,n){return{current:e.head,selector:n}}function yu(e){return e.current=lu(e.current),e.current?{value:e.selector(e.current.key,e.current.value),done:!1}:{value:void 0,done:!0}}(sm=(sm=bY=bY||{}).ShimCollections||(sm.ShimCollections={})).createMapShim=function(e){t.prototype.next=function(){return yu(this._data)};var n=t;function t(e,n){this._data=gu(e,n)}return Object.defineProperty(r.prototype,"size",{get:function(){return this._mapData.size},enumerable:!1,configurable:!0}),r.prototype.get=function(e){return null==(e=du(this._mapData,e))?void 0:e.value},r.prototype.set=function(e,n){return uu(this._mapData,e,n),this},r.prototype.has=function(e){return!!du(this._mapData,e)},r.prototype.delete=function(e){return!!pu(this._mapData,e)},r.prototype.clear=function(){mu(this._mapData)},r.prototype.keys=function(){return new n(this._mapData,(function(e,n){return e}))},r.prototype.values=function(){return new n(this._mapData,(function(e,n){return n}))},r.prototype.entries=function(){return new n(this._mapData,(function(e,n){return[e,n]}))},r.prototype.forEach=function(e){_u(this._mapData,e)},r;function r(n){var t=this;this._mapData=ou(),fu(e(n),(function(e){var n=e[0];t.set(n,e[1])}))}},sm.createSetShim=function(e){t.prototype.next=function(){return yu(this._data)};var n=t;function t(e,n){this._data=gu(e,n)}return Object.defineProperty(r.prototype,"size",{get:function(){return this._mapData.size},enumerable:!1,configurable:!0}),r.prototype.add=function(e){return uu(this._mapData,e,e),this},r.prototype.has=function(e){return!!du(this._mapData,e)},r.prototype.delete=function(e){return!!pu(this._mapData,e)},r.prototype.clear=function(){mu(this._mapData)},r.prototype.keys=function(){return new n(this._mapData,(function(e,n){return e}))},r.prototype.values=function(){return new n(this._mapData,(function(e,n){return n}))},r.prototype.entries=function(){return new n(this._mapData,(function(e,n){return[e,n]}))},r.prototype.forEach=function(e){_u(this._mapData,e)},r;function r(n){var t=this;this._mapData=ou(),fu(e(n),(function(e){t.add(e)}))}},(sm=bY=bY||{}).versionMajorMinor="4.4",sm.version="4.4.2",(cm=sm.Comparison||(sm.Comparison={}))[cm.LessThan=-1]="LessThan",cm[cm.EqualTo=0]="EqualTo",cm[cm.GreaterThan=1]="GreaterThan",(cm=sm.NativeCollections||(sm.NativeCollections={})).tryGetNativeMap=function(){return"undefined"!=typeof Map&&"entries"in Map.prototype&&1===new Map([[0,0]]).size?Map:void 0},cm.tryGetNativeSet=function(){return"undefined"!=typeof Set&&"entries"in Set.prototype&&1===new Set([0]).size?Set:void 0};var hu=bY=bY||{};function vu(e,n,t){if(n=null!=(n=hu.NativeCollections[n]())?n:null==hu.ShimCollections?void 0:hu.ShimCollections[t](bu),n)return n;throw new Error("TypeScript requires an environment that provides a compatible native "+e+" implementation.")}function bu(e){if(e){if(Wu(e))return Ru(e);if(e instanceof hu.Map)return e.entries();if(e instanceof hu.Set)return e.values();throw new Error("Iteration not supported.")}}function Eu(e,n,t){if(void 0===t&&(t=Qu),e)for(var r=0,a=e;r<a.length;r++)if(t(a[r],n))return!0;return!1}function Tu(e,n){if(e){if(!n)return 0<e.length;for(var t=0,r=e;t<r.length;t++)if(n(r[t]))return!0}return!1}function Su(e,n){return Tu(n)?Tu(e)?eu(eu([],e,!0),n,!0):n:e}function xu(e,n){return n}function Lu(e){return e.map(xu)}function Du(e,n){if(void 0!==n){if(void 0===e)return[n];e.push(n)}return e}function Au(e,n){return n<0?e.length+n:n}function Cu(e,n,t,r){if(void 0!==n&&0!==n.length){if(void 0===e)return n.slice(t,r);t=void 0===t?0:Au(n,t),r=void 0===r?n.length:Au(n,r);for(var a=t;a<r&&a<n.length;a++)void 0!==n[a]&&e.push(n[a])}return e}function Iu(e,n,t){return!Eu(e,n,t)&&(e.push(n),!0)}function Nu(e,n,t){n.sort((function(n,r){return t(e[n],e[r])||$u(n,r)}))}function ku(e,n){return 0===e.length?e:e.slice().sort(n)}function Ru(e){var n=0;return{next:function(){return n===e.length?{value:void 0,done:!0}:{value:e[++n-1],done:!1}}}}function Ou(e,n,t,r,a){return Pu(e,t(n),t,r,a)}function Pu(e,n,t,r,a){if(!Tu(e))return-1;for(var i=a||0,o=e.length-1;i<=o;){var s=i+(o-i>>1);switch(r(t(e[s],s),n)){case-1:i=s+1;break;case 0:return s;case 1:o=s-1}}return~i}function wu(e,n,t,r,a){if(e&&0<e.length){var i=e.length;if(0<i){var o=void 0===r||r<0?0:r,s=void 0===a||i-1<o+a?i-1:o+a,c=void 0;for(arguments.length<=2?(c=e[o],o++):c=t;o<=s;)c=n(c,e[o],o),o++;return c}}return t}hu.Map=vu("Map","tryGetNativeMap","createMapShim"),hu.Set=vu("Set","tryGetNativeSet","createSetShim"),hu.getIterator=bu,hu.emptyArray=[],hu.emptyMap=new hu.Map,hu.emptySet=new hu.Set,hu.createMap=function(){return new hu.Map},hu.createMapFromTemplate=function(e){var n,t=new hu.Map;for(n in e)Mu.call(e,n)&&t.set(n,e[n]);return t},hu.length=function(e){return e?e.length:0},hu.forEach=function(e,n){if(e)for(var t=0;t<e.length;t++){var r=n(e[t],t);if(r)return r}},hu.forEachRight=function(e,n){if(e)for(var t=e.length-1;0<=t;t--){var r=n(e[t],t);if(r)return r}},hu.firstDefined=function(e,n){if(void 0!==e)for(var t=0;t<e.length;t++){var r=n(e[t],t);if(void 0!==r)return r}},hu.firstDefinedIterator=function(e,n){for(;;){var t=e.next();if(t.done)return;if(t=n(t.value),void 0!==t)return t}},hu.reduceLeftIterator=function(e,n,t){var r=t;if(e)for(var a=e.next(),i=0;!a.done;a=e.next(),i++)r=n(r,a.value,i);return r},hu.zipWith=function(e,n,t){var r=[];hu.Debug.assertEqual(e.length,n.length);for(var a=0;a<e.length;a++)r.push(t(e[a],n[a],a));return r},hu.zipToIterator=function(e,n){hu.Debug.assertEqual(e.length,n.length);var t=0;return{next:function(){return t===e.length?{value:void 0,done:!0}:{value:[e[++t-1],n[t-1]],done:!1}}}},hu.zipToMap=function(e,n){hu.Debug.assert(e.length===n.length);for(var t=new hu.Map,r=0;r<e.length;++r)t.set(e[r],n[r]);return t},hu.intersperse=function(e,n){if(e.length<=1)return e;for(var t=[],r=0,a=e.length;r<a;r++)r&&t.push(n),t.push(e[r]);return t},hu.every=function(e,n){if(e)for(var t=0;t<e.length;t++)if(!n(e[t],t))return!1;return!0},hu.find=function(e,n){for(var t=0;t<e.length;t++){var r=e[t];if(n(r,t))return r}},hu.findLast=function(e,n){for(var t=e.length-1;0<=t;t--){var r=e[t];if(n(r,t))return r}},hu.findIndex=function(e,n,t){for(var r=t||0;r<e.length;r++)if(n(e[r],r))return r;return-1},hu.findLastIndex=function(e,n,t){for(var r=void 0===t?e.length-1:t;0<=r;r--)if(n(e[r],r))return r;return-1},hu.findMap=function(e,n){for(var t=0;t<e.length;t++){var r=n(e[t],t);if(r)return r}return hu.Debug.fail()},hu.contains=Eu,hu.arraysEqual=function(e,n,t){return void 0===t&&(t=Qu),e.length===n.length&&e.every((function(e,r){return t(e,n[r])}))},hu.indexOfAnyCharCode=function(e,n,t){for(var r=t||0;r<e.length;r++)if(Eu(n,e.charCodeAt(r)))return r;return-1},hu.countWhere=function(e,n){var t=0;if(e)for(var r=0;r<e.length;r++)n(e[r],r)&&t++;return t},hu.filter=function(e,n){if(e){for(var t=e.length,r=0;r<t&&n(e[r]);)r++;if(r<t){var a=e.slice(0,r);for(r++;r<t;){var i=e[r];n(i)&&a.push(i),r++}return a}}return e},hu.filterMutate=function(e,n){for(var t=0,r=0;r<e.length;r++)n(e[r],r,e)&&(e[t]=e[r],t++);e.length=t},hu.clear=function(e){e.length=0},hu.map=function(e,n){if(e)for(var t=[],r=0;r<e.length;r++)t.push(n(e[r],r));return t},hu.mapIterator=function(e,n){return{next:function(){var t=e.next();return t.done?t:{value:n(t.value),done:!1}}}},hu.sameMap=function(e,n){if(e)for(var t=0;t<e.length;t++){var r=e[t],a=n(r,t);if(r!==a){var i=e.slice(0,t);for(i.push(a),t++;t<e.length;t++)i.push(n(e[t],t));return i}}return e},hu.flatten=function(e){for(var n=[],t=0,r=e;t<r.length;t++){var a=r[t];a&&(Wu(a)?Cu(n,a):n.push(a))}return n},hu.flatMap=function(e,n){var t;if(e)for(var r=0;r<e.length;r++){var a=n(e[r],r);a&&(t=(Wu(a)?Cu:Du)(t,a))}return t||hu.emptyArray},hu.flatMapToMutable=function(e,n){var t=[];if(e)for(var r=0;r<e.length;r++){var a=n(e[r],r);a&&(Wu(a)?Cu(t,a):t.push(a))}return t},hu.flatMapIterator=function(e,n){var t,r=e.next();return r.done?hu.emptyIterator:(t=a(r.value),{next:function(){for(;;){var n=t.next();if(!n.done)return n;if(n=e.next(),n.done)return n;t=a(n.value)}}});function a(e){return e=n(e),void 0===e?hu.emptyIterator:Wu(e)?Ru(e):e}},hu.sameFlatMap=function(e,n){var t;if(e)for(var r=0;r<e.length;r++){var a=e[r],i=n(a,r);(t||a!==i||Wu(i))&&(t=t||e.slice(0,r),Wu(i)?Cu(t,i):t.push(i))}return t||e},hu.mapAllOrFail=function(e,n){for(var t=[],r=0;r<e.length;r++){var a=n(e[r],r);if(void 0===a)return;t.push(a)}return t},hu.mapDefined=function(e,n){var t=[];if(e)for(var r=0;r<e.length;r++){var a=n(e[r],r);void 0!==a&&t.push(a)}return t},hu.mapDefinedIterator=function(e,n){return{next:function(){for(;;){var t=e.next();if(t.done)return t;if(t=n(t.value),void 0!==t)return{value:t,done:!1}}}}},hu.mapDefinedEntries=function(e,n){var t;if(e)return t=new hu.Map,e.forEach((function(e,r){r=n(r,e);void 0!==r&&(e=r[0],r=r[1],void 0!==e)&&void 0!==r&&t.set(e,r)})),t},hu.mapDefinedValues=function(e,n){var t;if(e)return t=new hu.Set,e.forEach((function(e){e=n(e),void 0!==e&&t.add(e)})),t},hu.getOrUpdate=function(e,n,t){return e.has(n)?e.get(n):(t=t(),e.set(n,t),t)},hu.tryAddToSet=function(e,n){return!e.has(n)&&(e.add(n),!0)},hu.emptyIterator={next:function(){return{value:void 0,done:!0}}},hu.singleIterator=function(e){var n=!1;return{next:function(){var t=n;return n=!0,t?{value:void 0,done:!0}:{value:e,done:!1}}}},hu.spanMap=function(e,n,t){if(e)for(var r,a=[],i=e.length,o=void 0,s=void 0,c=0,l=0;c<i;){for(;l<i;){if(s=n(e[l],l),0===l)o=s;else if(s!==o)break;l++}c<l&&((r=t(e.slice(c,l),o,c,l))&&a.push(r),c=l),o=s,l++}return a},hu.mapEntries=function(e,n){var t;if(e)return t=new hu.Map,e.forEach((function(e,r){r=n(r,e),e=r[0],t.set(e,r[1])})),t},hu.some=Tu,hu.getRangesWhere=function(e,n,t){for(var r,a=0;a<e.length;a++)n(e[a])?r=void 0===r?a:r:void 0!==r&&(t(r,a),r=void 0);void 0!==r&&t(r,e.length)},hu.concatenate=Su,hu.indicesOf=Lu,hu.deduplicate=function(e,n,t){if(0===e.length)return[];if(1===e.length)return e.slice();if(t){for(var r=e,a=n,i=Lu(r),o=(Nu(r,i,t),r[i[0]]),s=[i[0]],c=1;c<i.length;c++){var l=i[c],d=r[l];a(o,d)||(s.push(l),o=d)}return s.sort(),s.map((function(e){return r[e]}))}for(var u=n,p=[],m=0,_=t=e;m<_.length;m++)Iu(p,_[m],u);return p},hu.insertSorted=function(e,n,t){0===e.length?e.push(n):(t=Ou(e,n,Ju,t))<0&&e.splice(~t,0,n)},hu.sortAndDeduplicate=function(e,n,t){var r=ku(e,n),a=t||n||np;if(0===r.length)return hu.emptyArray;for(var i=r[0],o=[i],s=1;s<r.length;s++){var c=r[s];switch(a(c,i)){case!0:case 0:continue;case-1:return hu.Debug.fail("Array is unsorted.")}o.push(i=c)}return o},hu.arrayIsSorted=function(e,n){if(!(e.length<2))for(var t=e[0],r=0,a=e.slice(1);r<a.length;r++){var i=a[r];if(1===n(t,i))return!1;t=i}return!0},hu.arrayIsEqualTo=function(e,n,t){if(void 0===t&&(t=Qu),!e||!n)return e===n;if(e.length!==n.length)return!1;for(var r=0;r<e.length;r++)if(!t(e[r],n[r],r))return!1;return!0},hu.compact=function(e){var n;if(e)for(var t=0;t<e.length;t++){var r=e[t];!n&&r||(n=n||e.slice(0,t),r&&n.push(r))}return n||e},hu.relativeComplement=function(e,n,t){if(!n||!e||0===n.length||0===e.length)return n;var r=[];e:for(var a=0,i=0;i<n.length;i++){0<i&&hu.Debug.assertGreaterThanOrEqual(t(n[i],n[i-1]),0);for(var o=a;a<e.length;a++)switch(o<a&&hu.Debug.assertGreaterThanOrEqual(t(e[a],e[a-1]),0),t(n[i],e[a])){case-1:r.push(n[i]);continue e;case 0:continue e;case 1:continue}}return r},hu.sum=function(e,n){for(var t=0,r=0,a=e;r<a.length;r++)t+=a[r][n];return t},hu.append=Du,hu.combine=function(e,n){return void 0===e?n:void 0===n?e:Wu(e)?(Wu(n)?Su:Du)(e,n):Wu(n)?Du(n,e):[e,n]},hu.addRange=Cu,hu.pushIfUnique=Iu,hu.appendIfUnique=function(e,n,t){return e?(Iu(e,n,t),e):[n]},hu.sort=ku,hu.arrayIterator=Ru,hu.arrayReverseIterator=function(e){var n=e.length;return{next:function(){return 0===n?{value:void 0,done:!0}:{value:e[--n],done:!1}}}},hu.stableSort=function(e,n){var t=Lu(e);return Nu(e,t,n),t.map((function(n){return e[n]}))},hu.rangeEquals=function(e,n,t,r){for(;t<r;){if(e[t]!==n[t])return!1;t++}return!0},hu.elementAt=function(e,n){if(e&&(n=Au(e,n))<e.length)return e[n]},hu.firstOrUndefined=function(e){return 0===e.length?void 0:e[0]},hu.first=function(e){return hu.Debug.assert(0!==e.length),e[0]},hu.lastOrUndefined=function(e){return 0===e.length?void 0:e[e.length-1]},hu.last=function(e){return hu.Debug.assert(0!==e.length),e[e.length-1]},hu.singleOrUndefined=function(e){return e&&1===e.length?e[0]:void 0},hu.singleOrMany=function(e){return e&&1===e.length?e[0]:e},hu.replaceElement=function(e,n,t){return(e=e.slice(0))[n]=t,e},hu.binarySearch=Ou,hu.binarySearchKey=Pu,hu.reduceLeft=wu;var Mu=Object.prototype.hasOwnProperty;function Fu(e,n){return Mu.call(e,n)}function Gu(e){var n,t=[];for(n in e)Mu.call(e,n)&&t.push(n);return t}hu.hasProperty=Fu,hu.getProperty=function(e,n){return Mu.call(e,n)?e[n]:void 0},hu.getOwnKeys=Gu,hu.getAllKeys=function(e){var n=[];do{for(var t=0,r=Object.getOwnPropertyNames(e);t<r.length;t++)Iu(n,r[t])}while(e=Object.getPrototypeOf(e));return n},hu.getOwnValues=function(e){var n,t=[];for(n in e)Mu.call(e,n)&&t.push(e[n]);return t};var Bu=Object.entries||function(e){for(var n=Gu(e),t=Array(n.length),r=0;r<n.length;r++)t[r]=[n[r],e[n[r]]];return t};function Uu(e,n){for(var t=[],r=e.next();!r.done;r=e.next())t.push(n?n(r.value):r.value);return t}function Vu(e,n,t){void 0===t&&(t=Ju);for(var r=ju(),a=0,i=e;a<i.length;a++){var o=i[a];r.add(n(o),t(o))}return r}function ju(){var e=new hu.Map;return e.add=Ku,e.remove=Hu,e}function Ku(e,n){var t=this.get(e);return t?t.push(n):this.set(e,t=[n]),t}function Hu(e,n){var t=this.get(e);t&&(fp(t,n),t.length||this.delete(e))}function Wu(e){return Array.isArray?Array.isArray(e):e instanceof Array}function zu(e){}function Ju(e){return e}function qu(e){return e.toLowerCase()}hu.getEntries=function(e){return e?Bu(e):[]},hu.arrayOf=function(e,n){for(var t=new Array(e),r=0;r<e;r++)t[r]=n(r);return t},hu.arrayFrom=Uu,hu.assign=function(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];for(var r=0,a=n;r<a.length;r++){var i=a[r];if(void 0!==i)for(var o in i)Fu(i,o)&&(e[o]=i[o])}return e},hu.equalOwnProperties=function(e,n,t){if(void 0===t&&(t=Qu),e!==n){if(!e||!n)return!1;for(var r in e)if(Mu.call(e,r)){if(!Mu.call(n,r))return!1;if(!t(e[r],n[r]))return!1}for(var r in n)if(Mu.call(n,r)&&!Mu.call(e,r))return!1}return!0},hu.arrayToMap=function(e,n,t){void 0===t&&(t=Ju);for(var r=new hu.Map,a=0,i=e;a<i.length;a++){var o=i[a],s=n(o);void 0!==s&&r.set(s,t(o))}return r},hu.arrayToNumericMap=function(e,n,t){void 0===t&&(t=Ju);for(var r=[],a=0,i=e;a<i.length;a++){var o=i[a];r[n(o)]=t(o)}return r},hu.arrayToMultiMap=Vu,hu.group=function(e,n,t){return void 0===t&&(t=Ju),Uu(Vu(e,n).values(),t)},hu.clone=function(e){var n,t={};for(n in e)Mu.call(e,n)&&(t[n]=e[n]);return t},hu.extend=function(e,n){var t,r={};for(t in n)Mu.call(n,t)&&(r[t]=n[t]);for(t in e)Mu.call(e,t)&&(r[t]=e[t]);return r},hu.copyProperties=function(e,n){for(var t in n)Mu.call(n,t)&&(e[t]=n[t])},hu.maybeBind=function(e,n){return n?n.bind(e):void 0},hu.createMultiMap=ju,hu.createUnderscoreEscapedMultiMap=ju,hu.isArray=Wu,hu.toArray=function(e){return Wu(e)?e:[e]},hu.isString=function(e){return"string"==typeof e},hu.isNumber=function(e){return"number"==typeof e},hu.tryCast=function(e,n){return void 0!==e&&n(e)?e:void 0},hu.cast=function(e,n){return void 0!==e&&n(e)?e:hu.Debug.fail("Invalid cast. The supplied value "+e+" did not pass the test '"+hu.Debug.getFunctionName(n)+"'.")},hu.noop=zu,hu.returnFalse=function(){return!1},hu.returnTrue=function(){return!0},hu.returnUndefined=function(){},hu.identity=Ju,hu.toLowerCase=qu;var Xu=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_\. ]+/g;function Yu(e){return Xu.test(e)?e.replace(Xu,qu):e}function Qu(e,n){return e===n}function Zu(e,n){return e===n?0:void 0===e||void 0!==n&&e<n?-1:1}function $u(e,n){return Zu(e,n)}function ep(e,n){return e===n?0:void 0===e?-1:void 0===n?1:(e=e.toUpperCase())<(n=n.toUpperCase())?-1:n<e?1:0}function np(e,n){return Zu(e,n)}hu.toFileNameLowerCase=Yu,hu.notImplemented=function(){throw new Error("Not implemented")},hu.memoize=function(e){var n;return function(){return e&&(n=e(),e=void 0),n}},hu.memoizeOne=function(e){var n=new hu.Map;return function(t){var r=typeof t+":"+t,a=n.get(r);return void 0!==a||n.has(r)||(a=e(t),n.set(r,a)),a}},hu.compose=function(e,n,t,r,a){if(a){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];return function(e){return wu(i,(function(e,n){return n(e)}),e)}}return r?function(a){return r(t(n(e(a))))}:t?function(r){return t(n(e(r)))}:n?function(t){return n(e(t))}:e?function(n){return e(n)}:function(e){return e}},(sm=hu.AssertionLevel||(hu.AssertionLevel={}))[sm.None=0]="None",sm[sm.Normal=1]="Normal",sm[sm.Aggressive=2]="Aggressive",sm[sm.VeryAggressive=3]="VeryAggressive",hu.equateValues=Qu,hu.equateStringsCaseInsensitive=function(e,n){return e===n||void 0!==e&&void 0!==n&&e.toUpperCase()===n.toUpperCase()},hu.equateStringsCaseSensitive=function(e,n){return e===n},hu.compareValues=$u,hu.compareTextSpans=function(e,n){return $u(null==e?void 0:e.start,null==n?void 0:n.start)||$u(null==e?void 0:e.length,null==n?void 0:n.length)},hu.min=function(e,n,t){return-1===t(e,n)?e:n},hu.compareStringsCaseInsensitive=ep,hu.compareStringsCaseSensitive=np,hu.getStringComparer=function(e){return e?ep:np},ap=(()=>"object"==typeof Intl&&"function"==typeof Intl.Collator?lp:"function"==typeof String.prototype.localeCompare&&"function"==typeof String.prototype.toLocaleUpperCase&&"a".localeCompare("B")<0?dp:up)();var tp,rp,ap,ip,op,sp=function(e){return void 0===e?tp=tp||ap(e):"en-US"===e?rp=rp||ap(e):ap(e)};function cp(e,n,t){return e===n?0:void 0===e?-1:void 0===n?1:(t=t(e,n))<0?-1:0<t?1:0}function lp(e){var n=new Intl.Collator(e,{usage:"sort",sensitivity:"variant"}).compare;return function(e,t){return cp(e,t,n)}}function dp(e){return void 0!==e?up():function(e,t){return cp(e,t,n)};function n(e,n){return e.localeCompare(n)}}function up(){return function(n,t){return cp(n,t,e)};function e(e,t){return n(e.toUpperCase(),t.toUpperCase())||n(e,t)}function n(e,n){return e<n?-1:n<e?1:0}}function pp(e,n){var t=e.length-n.length;return 0<=t&&e.indexOf(n,t)===t}function mp(e,n){for(var t=n;t<e.length-1;t++)e[t]=e[t+1];e.pop()}function _p(e,n){e[n]=e[e.length-1],e.pop()}function fp(e,n){for(var t=e,r=function(e){return e===n},a=0;a<t.length;a++)if(r(t[a]))return _p(t,a),!0;return!1}function gp(e,n){return 0===e.lastIndexOf(n,0)}function yp(e,n){var t=e.prefix;e=e.suffix;return n.length>=t.length+e.length&&gp(n,t)&&pp(n,e)}function hp(){return null!=l?l:l=new o.Version(o.version)}function vp(e){return c.currentLogLevel<=e}function bp(e,n){c.loggingHost&&vp(e)&&c.loggingHost.log(e,n)}function Ep(e){bp(s.Info,e)}function Tp(e){return e<=d}function Sp(e,n){if(e<=d)return 1;u[n]={level:e,assertion:c[n]},c[n]=o.noop}function xp(e,n){throw e=new Error(e?"Debug Failure. "+e:"Debug Failure."),Error.captureStackTrace&&Error.captureStackTrace(e,n||xp),e}function Lp(e,n,t,r){e||(n=n?"False expression: "+n:"False expression.",t&&(n+="\r\nVerbose Debug Information: "+("string"==typeof t?t:t())),xp(n,r||Lp))}function Dp(e,n,t){null==e&&xp(n,t||Dp)}function Ap(e,n,t){return Dp(e,n,t||Ap),e}function Cp(e,n,t){for(var r=0,a=e;r<a.length;r++)Dp(a[r],n,t||Cp)}function Ip(e,n,t){return Cp(e,n,t||Ip),e}function Np(e){return"function"!=typeof e?"":e.hasOwnProperty("name")?e.name:(e=Function.prototype.toString.call(e),(e=/^function\s+([\w\$]+)\s*\(/.exec(e))?e[1]:"")}function kp(e,n,t){if(void 0===e&&(e=0),n=(e=>{var n,t=[];for(n in e){var r=e[n];"number"==typeof r&&t.push([r,n])}return o.stableSort(t,(function(e,n){return o.compareValues(e[0],n[0])}))})(n),0===e)return 0<n.length&&0===n[0][0]?n[0][1]:"0";if(t){for(var r="",a=e,i=0,s=n;i<s.length;i++){var c=s[i],l=c[0],d=c[1];if(e<l)break;0!==l&&l&e&&(r=r+(r?"|":"")+d,a&=~l)}if(0===a)return r}else for(var u=0,p=n;u<p.length;u++){var m=p[u];l=m[0],d=m[1];if(l===e)return d}return e.toString()}function Rp(e){return kp(e,o.SyntaxKind,!1)}function Op(e){return kp(e,o.NodeFlags,!0)}function Pp(e){return kp(e,o.ModifierFlags,!0)}function wp(e){return kp(e,o.TransformFlags,!0)}function Mp(e){return kp(e,o.EmitFlags,!0)}function Fp(e){return kp(e,o.SymbolFlags,!0)}function Gp(e){return kp(e,o.TypeFlags,!0)}function Bp(e){return kp(e,o.SignatureFlags,!0)}function Up(e){return kp(e,o.ObjectFlags,!0)}function Vp(e){return kp(e,o.FlowFlags,!0)}function jp(e){return(()=>{if(Wp(),p)return p;throw new Error("Debugging helpers could not be loaded.")})().formatControlFlowGraph(e)}function Kp(e){"__debugFlowFlags"in e||Object.defineProperties(e,{__tsDebuggerDisplay:{value:function(){var e=2&this.flags?"FlowStart":4&this.flags?"FlowBranchLabel":8&this.flags?"FlowLoopLabel":16&this.flags?"FlowAssignment":32&this.flags?"FlowTrueCondition":64&this.flags?"FlowFalseCondition":128&this.flags?"FlowSwitchClause":256&this.flags?"FlowArrayMutation":512&this.flags?"FlowCall":1024&this.flags?"FlowReduceLabel":1&this.flags?"FlowUnreachable":"UnknownFlow",n=-2048&this.flags;return e+(n?" ("+Vp(n)+")":"")}},__debugFlowFlags:{get:function(){return kp(this.flags,o.FlowFlags,!0)}},__debugToString:{value:function(){return jp(this)}}})}function Hp(e){"__tsDebuggerDisplay"in e||Object.defineProperties(e,{__tsDebuggerDisplay:{value:function(e){return"NodeArray "+String(e).replace(/(?:,[\s\w\d_]+:[^,]+)+\]$/,"]")}}})}function Wp(){if(!f){var e,n;Object.defineProperties(o.objectAllocator.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value:function(){var e=33554432&this.flags?"TransientSymbol":"Symbol",n=-33554433&this.flags;return e+" '"+o.symbolName(this)+"'"+(n?" ("+Fp(n)+")":"")}},__debugFlags:{get:function(){return Fp(this.flags)}}}),Object.defineProperties(o.objectAllocator.getTypeConstructor().prototype,{__tsDebuggerDisplay:{value:function(){var e=98304&this.flags?"NullableType":384&this.flags?"LiteralType "+JSON.stringify(this.value):2048&this.flags?"LiteralType "+(this.value.negative?"-":"")+this.value.base10Value+"n":8192&this.flags?"UniqueESSymbolType":32&this.flags?"EnumType":67359327&this.flags?"IntrinsicType "+this.intrinsicName:1048576&this.flags?"UnionType":2097152&this.flags?"IntersectionType":4194304&this.flags?"IndexType":8388608&this.flags?"IndexedAccessType":16777216&this.flags?"ConditionalType":33554432&this.flags?"SubstitutionType":262144&this.flags?"TypeParameter":524288&this.flags?3&this.objectFlags?"InterfaceType":4&this.objectFlags?"TypeReference":8&this.objectFlags?"TupleType":16&this.objectFlags?"AnonymousType":32&this.objectFlags?"MappedType":1024&this.objectFlags?"ReverseMappedType":256&this.objectFlags?"EvolvingArrayType":"ObjectType":"Type",n=524288&this.flags?-1344&this.objectFlags:0;return e+(this.symbol?" '"+o.symbolName(this.symbol)+"'":"")+(n?" ("+Up(n)+")":"")}},__debugFlags:{get:function(){return Gp(this.flags)}},__debugObjectFlags:{get:function(){return 524288&this.flags?Up(this.objectFlags):""}},__debugTypeToString:{value:function(){var n=e=void 0===e&&"function"==typeof WeakMap?new WeakMap:e,t=null==n?void 0:n.get(this);return void 0===t&&(t=this.checker.typeToString(this),null!=n)&&n.set(this,t),t}}}),Object.defineProperties(o.objectAllocator.getSignatureConstructor().prototype,{__debugFlags:{get:function(){return Bp(this.flags)}},__debugSignatureToString:{value:function(){var e;return null==(e=this.checker)?void 0:e.signatureToString(this)}}});for(var t,r=0,a=[o.objectAllocator.getNodeConstructor(),o.objectAllocator.getIdentifierConstructor(),o.objectAllocator.getTokenConstructor(),o.objectAllocator.getSourceFileConstructor()];r<a.length;r++){var i=a[r];i.prototype.hasOwnProperty("__debugKind")||Object.defineProperties(i.prototype,{__tsDebuggerDisplay:{value:function(){return(o.isGeneratedIdentifier(this)?"GeneratedIdentifier":o.isIdentifier(this)?"Identifier '"+o.idText(this)+"'":o.isPrivateIdentifier(this)?"PrivateIdentifier '"+o.idText(this)+"'":o.isStringLiteral(this)?"StringLiteral "+JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+"..."):o.isNumericLiteral(this)?"NumericLiteral "+this.text:o.isBigIntLiteral(this)?"BigIntLiteral "+this.text+"n":o.isTypeParameterDeclaration(this)?"TypeParameterDeclaration":o.isParameter(this)?"ParameterDeclaration":o.isConstructorDeclaration(this)?"ConstructorDeclaration":o.isGetAccessorDeclaration(this)?"GetAccessorDeclaration":o.isSetAccessorDeclaration(this)?"SetAccessorDeclaration":o.isCallSignatureDeclaration(this)?"CallSignatureDeclaration":o.isConstructSignatureDeclaration(this)?"ConstructSignatureDeclaration":o.isIndexSignatureDeclaration(this)?"IndexSignatureDeclaration":o.isTypePredicateNode(this)?"TypePredicateNode":o.isTypeReferenceNode(this)?"TypeReferenceNode":o.isFunctionTypeNode(this)?"FunctionTypeNode":o.isConstructorTypeNode(this)?"ConstructorTypeNode":o.isTypeQueryNode(this)?"TypeQueryNode":o.isTypeLiteralNode(this)?"TypeLiteralNode":o.isArrayTypeNode(this)?"ArrayTypeNode":o.isTupleTypeNode(this)?"TupleTypeNode":o.isOptionalTypeNode(this)?"OptionalTypeNode":o.isRestTypeNode(this)?"RestTypeNode":o.isUnionTypeNode(this)?"UnionTypeNode":o.isIntersectionTypeNode(this)?"IntersectionTypeNode":o.isConditionalTypeNode(this)?"ConditionalTypeNode":o.isInferTypeNode(this)?"InferTypeNode":o.isParenthesizedTypeNode(this)?"ParenthesizedTypeNode":o.isThisTypeNode(this)?"ThisTypeNode":o.isTypeOperatorNode(this)?"TypeOperatorNode":o.isIndexedAccessTypeNode(this)?"IndexedAccessTypeNode":o.isMappedTypeNode(this)?"MappedTypeNode":o.isLiteralTypeNode(this)?"LiteralTypeNode":o.isNamedTupleMember(this)?"NamedTupleMember":o.isImportTypeNode(this)?"ImportTypeNode":Rp(this.kind))+(this.flags?" ("+Op(this.flags)+")":"")}},__debugKind:{get:function(){return Rp(this.kind)}},__debugNodeFlags:{get:function(){return Op(this.flags)}},__debugModifierFlags:{get:function(){return Pp(o.getEffectiveModifierFlagsNoCache(this))}},__debugTransformFlags:{get:function(){return wp(this.transformFlags)}},__debugIsParseTreeNode:{get:function(){return o.isParseTreeNode(this)}},__debugEmitFlags:{get:function(){return Mp(o.getEmitFlags(this))}},__debugGetText:{value:function(e){var t,r,a,i;return o.nodeIsSynthesized(this)?"":(void 0===(i=null==(t=n=void 0===n&&"function"==typeof WeakMap?new WeakMap:n)?void 0:t.get(this))&&(i=(a=(r=o.getParseTreeNode(this))&&o.getSourceFileOfNode(r))?o.getSourceTextOfNodeFromSourceFile(a,r,e):"",null!=t)&&t.set(this,i),i)}}})}try{o.sys&&o.sys.require&&(o.getDirectoryPath(o.resolvePath(o.sys.getExecutingFilePath())),(t=void 0).error||(t.module.init(o),p=t.module))}catch(t){}f=!0}}function zp(e,n,t,r,a){var i=n?"DeprecationError: ":"DeprecationWarning: ";return(i+="'"+e+"' ")+(r?"has been deprecated since v"+r:"is deprecated")+(n?" and can no longer be used.":t?" and will no longer be usable after v"+t+".":".")+(a?" "+o.formatStringFromArgs(a,[e],0):"")}function Jp(e,n){var t,r,a,i,s,c,l="string"==typeof(n=void 0===n?{}:n).typeScriptVersion?new o.Version(n.typeScriptVersion):null!=(l=n.typeScriptVersion)?l:hp(),d="string"==typeof n.errorAfter?new o.Version(n.errorAfter):n.errorAfter,u="string"==typeof n.warnAfter?new o.Version(n.warnAfter):n.warnAfter,p="string"==typeof n.since?new o.Version(n.since):null!=(p=n.since)?p:u,m=n.error||d&&l.compareTo(d)<=0;l=!u||0<=l.compareTo(u);return m?(u=n.message,c=zp(e,!0,d,p,u),function(){throw new TypeError(c)}):l?(t=e,r=d,a=p,i=n.message,s=!1,function(){s||(Ep.warn(zp(t,!1,r,a,i)),s=!0)}):o.noop}function qp(e,n,t,r,a){var i;void 0===n&&(n=0),void 0===t&&(t=0),void 0===r&&(r=""),void 0===a&&(a=""),"string"==typeof e&&(e=(i=g.Debug.checkDefined(Xp(e),"Invalid version")).major,n=i.minor,t=i.patch,r=i.prerelease,a=i.build),g.Debug.assert(0<=e,"Invalid argument: major"),g.Debug.assert(0<=n,"Invalid argument: minor"),g.Debug.assert(0<=t,"Invalid argument: patch"),g.Debug.assert(!r||h.test(r),"Invalid argument: prerelease"),g.Debug.assert(!a||v.test(a),"Invalid argument: build"),this.major=e,this.minor=n,this.patch=t,this.prerelease=r?r.split("."):g.emptyArray,this.build=a?a.split("."):g.emptyArray}function Xp(e){if(e=y.exec(e),e){var n=e[1],t=e[2],r=(t=void 0===t?"0":t,e[3]),a=(r=void 0===r?"0":r,e[4]);a=void 0===a?"":a,e=e[5],e=void 0===e?"":e;if((!a||h.test(a))&&(!e||v.test(e)))return{major:parseInt(n,10),minor:parseInt(t,10),patch:parseInt(r,10),prerelease:a,build:e}}}function Yp(e){this._alternatives=e?g.Debug.checkDefined(Qp(e),"Invalid range spec."):g.emptyArray}function Qp(e){for(var n=[],t=0,r=g.trimString(e).split(T);t<r.length;t++)if(i=r[t]){var a=[],i=g.trimString(i),o=L.exec(i);if(o){if(!((e,n,t)=>(e=Zp(e))&&(n=Zp(n))&&($p(e.major)||t.push(em(">=",e.version)),$p(n.major)||t.push($p(n.minor)?em("<",n.version.increment("major")):$p(n.patch)?em("<",n.version.increment("minor")):em("<=",n.version)),1))(o[1],o[2],a))return}else for(var s=0,c=i.split(S);s<c.length;s++){var l=c[s];l=D.exec(g.trimString(l));if(!l||!((e,n,t)=>{if(n=Zp(n)){var r=n.version,a=n.minor,i=n.patch;if($p(n.major))"<"!==e&&">"!==e||t.push(em("<",E.zero));else switch(e){case"~":t.push(em(">=",r)),t.push(em("<",r.increment($p(a)?"major":"minor")));break;case"^":t.push(em(">=",r)),t.push(em("<",r.increment(0<r.major||$p(a)?"major":0<r.minor||$p(i)?"minor":"patch")));break;case"<":case">=":t.push(em(e,r));break;case"<=":case">":t.push($p(a)?em("<="===e?"<":">=",r.increment("major")):$p(i)?em("<="===e?"<":">=",r.increment("minor")):em(e,r));break;case"=":case void 0:$p(a)||$p(i)?(t.push(em(">=",r)),t.push(em("<",r.increment($p(a)?"major":"minor")))):t.push(em("=",r));break;default:return}return 1}})(l[1],l[2],a))return}n.push(a)}return n}function Zp(e){var n,t,r,a;e=x.exec(e);if(e)return n=e[1],t=void 0===(t=e[2])?"*":t,r=void 0===(r=e[3])?"*":r,a=e[4],e=e[5],{version:new E($p(n)?0:parseInt(n,10),$p(n)||$p(t)?0:parseInt(t,10),$p(n)||$p(t)||$p(r)?0:parseInt(r,10),a,e),major:n,minor:t,patch:r}}function $p(e){return"*"===e||"x"===e||"X"===e}function em(e,n){return{operator:e,operand:n}}function nm(e){return g.map(e,tm).join(" ")}function tm(e){return""+e.operator+e.operand}function rm(e,n){return"object"==typeof e&&"number"==typeof e.timeOrigin&&"function"==typeof e.mark&&"function"==typeof e.measure&&"function"==typeof e.now&&"function"==typeof n}function am(e,n,t){var r=0;return{enter:function(){1==++r&&im(n)},exit:function(){0==--r?(im(t),om(e,n,t)):r<0&&N.Debug.fail("enter/exit count does not match.")}}}function im(e){var n;P&&(n=null!=(n=F.get(e))?n:0,F.set(e,n+1),M.set(e,N.timestamp()),null!=O)&&O.mark(e)}function om(e,n,t){var r,a,i;P&&(r=null!=(r=void 0!==t?M.get(t):void 0)?r:N.timestamp(),a=null!=(a=void 0!==n?M.get(n):void 0)?a:w,i=G.get(e)||0,G.set(e,i+(r-a)),null!=O)&&O.measure(e,n,t)}hu.getUILocale=function(){return op},hu.setUILocale=function(e){op!==e&&(op=e,ip=void 0)},hu.compareStringsCaseSensitiveUI=function(e,n){return(ip=ip||sp(op))(e,n)},hu.compareProperties=function(e,n,t,r){return e===n?0:void 0===e?-1:void 0===n?1:r(e[t],n[t])},hu.compareBooleans=function(e,n){return $u(e?1:0,n?1:0)},hu.getSpellingSuggestion=function(e,n,t){for(var r,a=Math.min(2,Math.floor(.34*e.length)),i=Math.floor(.4*e.length)+1,o=0,s=n;o<s.length;o++){var c=s[o],l=t(c);void 0!==l&&Math.abs(l.length-e.length)<=a&&(l===e||l.length<3&&l.toLowerCase()!==e.toLowerCase()||void 0!==(l=((e,n,t)=>{for(var r=new Array(n.length+1),a=new Array(n.length+1),i=t+.01,o=0;o<=n.length;o++)r[o]=o;for(o=1;o<=e.length;o++){for(var s=e.charCodeAt(o-1),c=Math.ceil(t<o?o-t:1),l=Math.floor(n.length>t+o?t+o:n.length),d=a[0]=o,u=1;u<c;u++)a[u]=i;for(u=c;u<=l;u++){var p=e[o-1].toLowerCase()===n[u-1].toLowerCase()?r[u-1]+.1:r[u-1]+2;p=s===n.charCodeAt(u-1)?r[u-1]:Math.min(r[u]+1,a[u-1]+1,p);a[u]=p,d=Math.min(d,p)}for(u=l+1;u<=n.length;u++)a[u]=i;if(t<d)return;var m=r;r=a,a=m}var _=r[n.length];return t<_?void 0:_})(e,l,i-.1))&&(hu.Debug.assert(l<i),i=l,r=c))}return r},hu.endsWith=pp,hu.removeSuffix=function(e,n){return pp(e,n)?e.slice(0,e.length-n.length):e},hu.tryRemoveSuffix=function(e,n){return pp(e,n)?e.slice(0,e.length-n.length):void 0},hu.stringContains=function(e,n){return-1!==e.indexOf(n)},hu.removeMinAndVersionNumbers=function(e){for(var n=e.length,t=n-1;0<t;t--){var r=e.charCodeAt(t);if(48<=r&&r<=57)for(;--t,r=e.charCodeAt(t),0<t&&48<=r&&r<=57;);else{if(!(4<t)||110!==r&&78!==r)break;if(--t,105!==(r=e.charCodeAt(t))&&73!==r)break;if(--t,109!==(r=e.charCodeAt(t))&&77!==r)break;--t,r=e.charCodeAt(t)}if(45!==r&&46!==r)break;n=t}return n===e.length?e:e.slice(0,n)},hu.orderedRemoveItem=function(e,n){for(var t=0;t<e.length;t++)if(e[t]===n)return mp(e,t),!0;return!1},hu.orderedRemoveItemAt=mp,hu.unorderedRemoveItemAt=_p,hu.unorderedRemoveItem=fp,hu.createGetCanonicalFileName=function(e){return e?Ju:Yu},hu.patternText=function(e){return e.prefix+"*"+e.suffix},hu.matchedText=function(e,n){return hu.Debug.assert(yp(e,n)),n.substring(e.prefix.length,n.length-e.suffix.length)},hu.findBestPatternMatch=function(e,n,t){for(var r,a=-1,i=0,o=e;i<o.length;i++){var s=o[i],c=n(s);yp(c,t)&&c.prefix.length>a&&(a=c.prefix.length,r=s)}return r},hu.startsWith=gp,hu.removePrefix=function(e,n){return gp(e,n)?e.substr(n.length):e},hu.tryRemovePrefix=function(e,n,t){return gp((t=void 0===t?Ju:t)(e),t(n))?e.substring(n.length):void 0},hu.and=function(e,n){return function(t){return e(t)&&n(t)}},hu.or=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];for(var r=0,a=e;r<a.length;r++)if(a[r].apply(void 0,n))return!0;return!1}},hu.not=function(e){return function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return!e.apply(void 0,n)}},hu.assertType=function(e){},hu.singleElementArray=function(e){return void 0===e?void 0:[e]},hu.enumerateInsertsAndDeletes=function(e,n,t,r,a,i){i=i||zu;for(var o=0,s=0,c=e.length,l=n.length,d=!1;o<c&&s<l;){var u=e[o],p=n[s],m=t(u,p);-1===m?(r(u),o++,d=!0):1===m?(a(p),s++,d=!0):(i(p,u),o++,s++)}for(;o<c;)r(e[o++]),d=!0;for(;s<l;)a(n[s++]),d=!0;return d},hu.fill=function(e,n){for(var t=Array(e),r=0;r<e;r++)t[r]=n(r);return t},hu.cartesianProduct=function(e){var n=[];return function e(n,t,r,a){for(var i=0,o=n[a];i<o.length;i++){var s=o[i],c=void 0;r?(c=r.slice()).push(s):c=[s],a===n.length-1?t.push(c):e(n,t,c,a+1)}}(e,n,void 0,0),n},hu.padLeft=function(e,n,t){return void 0===t&&(t=" "),n<=e.length?e:t.repeat(n-e.length)+e},hu.padRight=function(e,n,t){return void 0===t&&(t=" "),n<=e.length?e:e+t.repeat(n-e.length)},hu.takeWhile=function(e,n){for(var t=e.length,r=0;r<t&&n(e[r]);)r++;return e.slice(0,r)},hu.trimString=String.prototype.trim?function(e){return e.trim()}:function(e){return hu.trimStringEnd(hu.trimStringStart(e))},hu.trimStringEnd=String.prototype.trimEnd?function(e){return e.trimEnd()}:function(e){for(var n=e.length-1;0<=n&&hu.isWhiteSpaceLike(e.charCodeAt(n));)n--;return e.slice(0,n+1)},hu.trimStringStart=String.prototype.trimStart?function(e){return e.trimStart()}:function(e){return e.replace(/^\s+/g,"")},o=bY=bY||{},(cm=s=o.LogLevel||(o.LogLevel={}))[cm.Off=0]="Off",cm[cm.Error=1]="Error",cm[cm.Warning=2]="Warning",cm[cm.Info=3]="Info",cm[cm.Verbose=4]="Verbose",c=o.Debug||(o.Debug={}),d=0,c.currentLogLevel=s.Warning,c.isDebugging=!1,c.getTypeScriptVersion=hp,c.shouldLog=vp,c.log=Ep,(cm=Ep=c.log||(c.log={})).error=function(e){bp(s.Error,e)},cm.warn=function(e){bp(s.Warning,e)},cm.log=function(e){bp(s.Info,e)},cm.trace=function(e){bp(s.Verbose,e)},u={},c.getAssertionLevel=function(){return d},c.setAssertionLevel=function(e){if(d<(d=e))for(var n=0,t=o.getOwnKeys(u);n<t.length;n++){var r=t[n],a=u[r];void 0!==a&&c[r]!==a.assertion&&e>=a.level&&(c[r]=a,u[r]=void 0)}},c.shouldAssert=Tp,c.fail=xp,c.failBadSyntaxKind=function e(n,t,r){return xp((t||"Unexpected node.")+"\r\nNode "+Rp(n.kind)+" was unexpected.",r||e)},c.assert=Lp,c.assertEqual=function e(n,t,r,a,i){n!==t&&xp("Expected "+n+" === "+t+". "+(r?a?r+" "+a:r:""),i||e)},c.assertLessThan=function e(n,t,r,a){t<=n&&xp("Expected "+n+" < "+t+". "+(r||""),a||e)},c.assertLessThanOrEqual=function e(n,t,r){t<n&&xp("Expected "+n+" <= "+t,r||e)},c.assertGreaterThanOrEqual=function e(n,t,r){n<t&&xp("Expected "+n+" >= "+t,r||e)},c.assertIsDefined=Dp,c.checkDefined=Ap,c.assertDefined=Ap,c.assertEachIsDefined=Cp,c.checkEachDefined=Ip,c.assertEachDefined=Ip,c.assertNever=function e(n,t,r){return xp((t=void 0===t?"Illegal value:":t)+" "+("object"==typeof n&&o.hasProperty(n,"kind")&&o.hasProperty(n,"pos")&&Rp?"SyntaxKind: "+Rp(n.kind):JSON.stringify(n)),r||e)},c.assertEachNode=function e(n,t,r,a){Sp(1,"assertEachNode")&&Lp(void 0===t||o.every(n,t),r||"Unexpected node.",(function(){return"Node array did not pass test '"+Np(t)+"'."}),a||e)},c.assertNode=function e(n,t,r,a){Sp(1,"assertNode")&&Lp(void 0!==n&&(void 0===t||t(n)),r||"Unexpected node.",(function(){return"Node "+Rp(null==n?void 0:n.kind)+" did not pass test '"+Np(t)+"'."}),a||e)},c.assertNotNode=function e(n,t,r,a){Sp(1,"assertNotNode")&&Lp(void 0===n||void 0===t||!t(n),r||"Unexpected node.",(function(){return"Node "+Rp(n.kind)+" should not have passed test '"+Np(t)+"'."}),a||e)},c.assertOptionalNode=function e(n,t,r,a){Sp(1,"assertOptionalNode")&&Lp(void 0===t||void 0===n||t(n),r||"Unexpected node.",(function(){return"Node "+Rp(null==n?void 0:n.kind)+" did not pass test '"+Np(t)+"'."}),a||e)},c.assertOptionalToken=function e(n,t,r,a){Sp(1,"assertOptionalToken")&&Lp(void 0===t||void 0===n||n.kind===t,r||"Unexpected node.",(function(){return"Node "+Rp(null==n?void 0:n.kind)+" was not a '"+Rp(t)+"' token."}),a||e)},c.assertMissingNode=function e(n,t,r){Sp(1,"assertMissingNode")&&Lp(void 0===n,t||"Unexpected node.",(function(){return"Node "+Rp(n.kind)+" was unexpected'."}),r||e)},c.type=function(e){},c.getFunctionName=Np,c.formatSymbol=function(e){return"{ name: "+o.unescapeLeadingUnderscores(e.escapedName)+"; flags: "+Fp(e.flags)+"; declarations: "+o.map(e.declarations,(function(e){return Rp(e.kind)}))+" }"},c.formatEnum=kp,c.formatSyntaxKind=Rp,c.formatNodeFlags=Op,c.formatModifierFlags=Pp,c.formatTransformFlags=wp,c.formatEmitFlags=Mp,c.formatSymbolFlags=Fp,c.formatTypeFlags=Gp,c.formatSignatureFlags=Bp,c.formatObjectFlags=Up,c.formatFlowFlags=Vp,f=!1,c.printControlFlowGraph=function(e){},c.formatControlFlowGraph=jp,c.attachFlowNodeDebugInfo=function(e){f&&("function"==typeof Object.setPrototypeOf?(m||Kp(m=Object.create(Object.prototype)),Object.setPrototypeOf(e,m)):Kp(e))},c.attachNodeArrayDebugInfo=function(e){f&&("function"==typeof Object.setPrototypeOf?(_||Hp(_=Object.create(Array.prototype)),Object.setPrototypeOf(e,_)):Hp(e))},c.enableDebugInfo=Wp,c.deprecate=function(e,n){var t,r;n=Jp(Np(e),n);return t=n,r=e,function(){return t(),r.apply(this,arguments)}},g=bY=bY||{},y=/^(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,h=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)(?:\.(?:0|[1-9]\d*|[a-z-][a-z0-9-]*))*$/i,v=/^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i,b=/^(0|[1-9]\d*)$/,qp.tryParse=function(e){if(e=Xp(e),e)return new qp(e.major,e.minor,e.patch,e.prerelease,e.build)},qp.prototype.compareTo=function(e){return this===e?0:void 0===e?1:g.compareValues(this.major,e.major)||g.compareValues(this.minor,e.minor)||g.compareValues(this.patch,e.patch)||((e,n)=>{if(e===n)return 0;if(0===e.length)return 0===n.length?0:1;if(0===n.length)return-1;for(var t=Math.min(e.length,n.length),r=0;r<t;r++){var a=e[r],i=n[r];if(a!==i){var o,s=b.test(a),c=b.test(i);if(s||c){if(s!==c)return s?-1:1;if(o=g.compareValues(+a,+i))return o}else if(o=g.compareStringsCaseSensitive(a,i))return o}}return g.compareValues(e.length,n.length)})(this.prerelease,e.prerelease)},qp.prototype.increment=function(e){switch(e){case"major":return new qp(this.major+1,0,0);case"minor":return new qp(this.major,this.minor+1,0);case"patch":return new qp(this.major,this.minor,this.patch+1);default:return g.Debug.assertNever(e)}},qp.prototype.toString=function(){var e=this.major+"."+this.minor+"."+this.patch;return g.some(this.prerelease)&&(e+="-"+this.prerelease.join(".")),g.some(this.build)&&(e+="+"+this.build.join(".")),e},qp.zero=new qp(0,0,0),E=qp,g.Version=E,Yp.tryParse=function(e){var n;e=Qp(e);if(e)return(n=new Yp(""))._alternatives=e,n},Yp.prototype.test=function(e){var n=e="string"==typeof e?new E(e):e;e=this._alternatives;if(0===e.length)return!0;for(var t=0,r=e;t<r.length;t++)if(((e,n)=>{for(var t=0,r=n;t<r.length;t++){var a=r[t];if(!((e,n,t)=>{var r=e.compareTo(t);switch(n){case"<":return r<0;case"<=":return r<=0;case">":return 0<r;case">=":return 0<=r;case"=":return 0===r;default:return g.Debug.assertNever(n)}})(e,a.operator,a.operand))return}return 1})(n,r[t]))return!0;return!1},Yp.prototype.toString=function(){return e=this._alternatives,g.map(e,nm).join(" || ")||"*";var e},g.VersionRange=Yp,T=/\|\|/g,S=/\s+/g,x=/^([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,L=/^\s*([a-z0-9-+.*]+)\s+-\s+([a-z0-9-+.*]+)\s*$/i,D=/^(~|\^|<|<=|>|>=|=)?\s*([a-z0-9-+.*]+)$/i,A=bY=bY||{},C=(()=>{if("object"==typeof performance&&"function"==typeof PerformanceObserver&&rm(performance,PerformanceObserver))return{shouldWriteNativeEvents:!0,performance:performance,PerformanceObserver:PerformanceObserver}})()||(()=>{if(void 0!==e&&e.nextTick&&!e.browser&&"object"==typeof a)try{var n,t,r={},i=r.performance,o=r.PerformanceObserver;if(rm(i,o))return n=i,t=new A.Version(e.versions.node),{shouldWriteNativeEvents:!1,performance:n=new A.VersionRange("<12.16.3 || 13 <13.13").test(t)?{get timeOrigin(){return i.timeOrigin},now:function(){return i.now()},mark:function(e){return i.mark(e)},measure:function(e,n,t){void 0===n&&(n="nodeStart"),void 0===t&&i.mark(t="__performance.measure-fix__"),i.measure(e,n,t),"__performance.measure-fix__"===t&&i.clearMarks("__performance.measure-fix__")}}:n,PerformanceObserver:o}}catch(n){}})(),I=null==C?void 0:C.performance,A.tryGetNativePerformanceHooks=function(){return C},A.timestamp=I?function(){return I.now()}:Date.now||function(){return+new Date},N=bY=bY||{},(k=N.performance||(N.performance={})).createTimerIf=function(e,n,t,r){return e?am(n,t,r):k.nullTimer},k.createTimer=am,P=!(k.nullTimer={enter:N.noop,exit:N.noop}),w=N.timestamp(),M=new N.Map,F=new N.Map,G=new N.Map,k.mark=im,k.measure=om,k.getCount=function(e){return F.get(e)||0},k.getDuration=function(e){return G.get(e)||0},k.forEachMeasure=function(e){G.forEach((function(n,t){return e(t,n)}))},k.isEnabled=function(){return P},k.enable=function(e){var n;return void 0===e&&(e=N.sys),P||(P=!0,(R=R||N.tryGetNativePerformanceHooks())&&(w=R.performance.timeOrigin,R.shouldWriteNativeEvents||null!=(n=null==e?void 0:e.cpuProfilingEnabled)&&n.call(e)||null!=e&&e.debugMode)&&(O=R.performance)),!0},k.disable=function(){P&&(M.clear(),F.clear(),G.clear(),O=void 0,P=!1)};var sm=bY=bY||{},cm={logEvent:sm.noop,logErrEvent:sm.noop,logPerfEvent:sm.noop,logInfoEvent:sm.noop,logStartCommand:sm.noop,logStopCommand:sm.noop,logStartUpdateProgram:sm.noop,logStopUpdateProgram:sm.noop,logStartUpdateGraph:sm.noop,logStopUpdateGraph:sm.noop,logStartResolveModule:sm.noop,logStopResolveModule:sm.noop,logStartParseSourceFile:sm.noop,logStopParseSourceFile:sm.noop,logStartReadFile:sm.noop,logStopReadFile:sm.noop,logStartBindFile:sm.noop,logStopBindFile:sm.noop,logStartScheduledOperation:sm.noop,logStopScheduledOperation:sm.noop};try{Object({NODE_ENV:"production",VUE_APP_API_URL:"",VUE_APP_ENV:"production",VUE_APP_TITLE:"CRMEB",BASE_URL:"/admin/"}).TS_ETW_MODULE_PATH;var lm=void 0}catch(tu){lm=void 0}function dm(e,n){e=q[e];var t=e.phase,r=e.name,a=e.args,i=e.time;e.separateBeginAndEnd?um("E",t,r,a,void 0,n):X-i%X<=n-i&&um("X",t,r,a,'"dur":'+(n-i),i)}function um(e,n,t,r,a,i){void 0===i&&(i=1e3*B.timestamp()),"server"===j&&"checkTypes"===n||(B.performance.mark("beginTracing"),V.writeSync(W,',\n{"pid":1,"tid":1,"ph":"'+e+'","cat":"'+n+'","ts":'+i+',"name":"'+t+'"'),a&&V.writeSync(W,","+a),r&&V.writeSync(W,',"args":'+JSON.stringify(r)),V.writeSync(W,"}"),B.performance.mark("endTracing"),B.performance.measure("Tracing","beginTracing","endTracing"))}function pm(e){var n=B.getSourceFileOfNode(e);return n?{path:n.path,start:t(B.getLineAndCharacterOfPosition(n,e.pos)),end:t(B.getLineAndCharacterOfPosition(n,e.end))}:void 0;function t(e){return{line:e.line+1,character:e.character+1}}}function mm(){}function _m(e){return 47===e||92===e}function fm(e){return 0<Em(e)}function gm(e){return 0!==Em(e)}function ym(e){return/^\.\.?($|[\\/])/.test(e)}function hm(e,n){return e.length>n.length&&Q.endsWith(e,n)}function vm(e){return 0<e.length&&_m(e.charCodeAt(e.length-1))}function bm(e){return 97<=e&&e<=122||65<=e&&e<=90}function Em(e){if(!e)return 0;var n=e.charCodeAt(0);if(47===n||92===n)return e.charCodeAt(1)!==n?1:(t=e.indexOf(47===n?Q.directorySeparator:Q.altDirectorySeparator,2))<0?e.length:t+1;if(bm(n)&&58===e.charCodeAt(1)){var t=e.charCodeAt(2);if(47===t||92===t)return 3;if(2===e.length)return 2}if(n=e.indexOf(Z),-1===n)return 0;t=n+Z.length;var r=e.indexOf(Q.directorySeparator,t);if(-1===r)return~e.length;if(n=e.slice(0,n),t=e.slice(t,r),"file"===n&&(""===t||"localhost"===t)&&bm(e.charCodeAt(r+1))&&(n=((e,n)=>{var t=e.charCodeAt(n);return 58===t?n+1:37===t&&51===e.charCodeAt(n+1)&&(t=e.charCodeAt(n+2),97===t||65===t)?n+3:-1})(e,r+2),-1!==n)){if(47===e.charCodeAt(n))return~(n+1);if(n===e.length)return~n}return~(r+1)}function Tm(e){return e=Em(e),e<0?~e:e}function Sm(e){var n=Tm(e=Im(e));return n===e.length?e:(e=Mm(e)).slice(0,Math.max(n,e.lastIndexOf(Q.directorySeparator)))}function xm(e,n,t){return Tm(e=Im(e))===e.length?"":(e=(e=Mm(e)).slice(Math.max(Tm(e),e.lastIndexOf(Q.directorySeparator)+1)),(n=void 0!==n&&void 0!==t?Dm(e,n,t):void 0)?e.slice(0,e.length-n.length):e)}function Lm(e,n,t){if(Q.startsWith(n,".")||(n="."+n),e.length>=n.length&&46===e.charCodeAt(e.length-n.length)&&(e=e.slice(e.length-n.length),t(e,n)))return e}function Dm(e,n,t){if(n){var r=Mm(e),a=t?Q.equateStringsCaseInsensitive:Q.equateStringsCaseSensitive;if("string"==typeof n)return Lm(r,n,a)||"";for(var i=0,o=n;i<o.length;i++){var s=Lm(r,o[i],a);if(s)return s}return""}return t=xm(e),n=t.lastIndexOf("."),0<=n?t.substring(n):""}function Am(e,n){return e=km(n=void 0===n?"":n,e),e=Tm(n=e),t=n.substring(0,e),(n=n.substring(e).split(Q.directorySeparator)).length&&!Q.lastOrUndefined(n)&&n.pop(),eu([t],n,!0);var t}function Cm(e){return 0===e.length?"":(e[0]&&Fm(e[0]))+e.slice(1).join(Q.directorySeparator)}function Im(e){var n=e.indexOf("\\");return-1===n?e:($.lastIndex=n,e.replace($,Q.directorySeparator))}function Nm(e){if(!Q.some(e))return[];for(var n=[e[0]],t=1;t<e.length;t++){var r=e[t];if(r&&"."!==r){if(".."===r)if(1<n.length){if(".."!==n[n.length-1]){n.pop();continue}}else if(n[0])continue;n.push(r)}}return n}function km(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];e=e&&Im(e);for(var r=0,a=n;r<a.length;r++){var i=a[r];i&&(i=Im(i),e=e&&0===Tm(i)?Fm(e)+i:i)}return e}function Rm(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];return wm(Q.some(n)?km.apply(void 0,eu([e],n,!1)):Im(e))}function Om(e,n){return Nm(Am(e,n))}function Pm(e,n){return Cm(Om(e,n))}function wm(e){var n;return e=Im(e),ee.test(e)&&((n=e.replace(/\/\.\//g,"/").replace(/^\.\//,""))===e||ee.test(e=n))?(n=Cm(Nm(Am(e))))&&vm(e)?Fm(n):n:e}function Mm(e){return vm(e)?e.substr(0,e.length-1):e}function Fm(e){return vm(e)?e:e+Q.directorySeparator}function Gm(e){return gm(e)||ym(e)?e:"./"+e}function Bm(e,n,t){if(e===n)return 0;if(void 0===e)return-1;if(void 0===n)return 1;var r=e.substring(0,Tm(e)),a=n.substring(0,Tm(n)),i=Q.compareStringsCaseInsensitive(r,a);if(0!==i)return i;if(i=e.substring(r.length),r=n.substring(a.length),!ee.test(i)&&!ee.test(r))return t(i,r);for(var o=Nm(Am(e)),s=Nm(Am(n)),c=Math.min(o.length,s.length),l=1;l<c;l++){var d=t(o[l],s[l]);if(0!==d)return d}return Q.compareValues(o.length,s.length)}function Um(e,n,t,r){for(var a=Nm(Am(e)),i=Nm(Am(n)),o=0;o<a.length&&o<i.length;o++){var s=r(a[o]),c=r(i[o]);if(!(0===o?Q.equateStringsCaseInsensitive:t)(s,c))break}if(0===o)return i;e=i.slice(o);for(var l=[];o<a.length;o++)l.push("..");return eu(eu([""],l,!0),e,!0)}function Vm(e,n,t){Q.Debug.assert(0<Tm(e)==0<Tm(n),"Paths must either both be absolute or both be relative");var r="function"==typeof t?t:Q.identity;return Cm(Um(e,n,"boolean"==typeof t&&t?Q.equateStringsCaseInsensitive:Q.equateStringsCaseSensitive,r))}function jm(e,n,t,r,a){return e=Um(Rm(t,e),Rm(t,n),Q.equateStringsCaseSensitive,r),t=e[0],a&&fm(t)&&(n=t.charAt(0)===Q.directorySeparator?"file://":"file:///",e[0]=n+t),Cm(e)}function Km(e,n){return e.getModifiedTime(n)||ne.missingFileModifiedTime}function Hm(e){var n={};return n[re.Low]=e.Low,n[re.Medium]=e.Medium,n[re.High]=e.High,n}function Wm(e){var n;function t(n){var t;return r("Low"),r("Medium"),r("High"),t;function r(r){var a=e.getEnvironmentVariable(n+"_"+r.toUpperCase());a&&((t=t||{})[r]=Number(a))}}function r(e,r){return e=t(e),(n||e)&&Hm(e?nu(nu({},r),e):r)}e.getEnvironmentVariable&&(n=((e,n)=>{var r=t(e);return!!r&&(a("Low"),a("Medium"),a("High"),!0);function a(e){n[e]=r[e]||n[e]}})("TSC_WATCH_POLLINGINTERVAL",re),ie=r("TSC_WATCH_POLLINGCHUNKSIZE",ae)||ie,ne.unchangedPollThresholds=r("TSC_WATCH_UNCHANGEDPOLLTHRESHOLDS",ae)||ne.unchangedPollThresholds)}function zm(e,n,t,r,a){for(var i=t,o=n.length;r&&o;++t===n.length&&(i<t&&(n.length=i),i=t=0),o--){var s,c=n[t];c&&(c.isClosed||(r--,s=Ym(c,Km(e,c.fileName)),c.isClosed)?n[t]=void 0:(null!=a&&a(c,t,s),n[t]&&(i<t&&(n[i]=c,n[t]=void 0),i++)))}return t}function Jm(e){var n=[],t=[],r=o(re.Low),a=o(re.Medium),i=o(re.High);return function(t,r,a){var i={fileName:t,callback:r,unchangedPolls:0,mtime:Km(e,t)};return n.push(i),u(i,a),{close:function(){i.isClosed=!0,ne.unorderedRemoveItem(n,i)}}};function o(e){var n=[];return n.pollingInterval=e,n.pollIndex=0,n.pollScheduled=!1,n}function s(e){e.pollIndex=l(e,e.pollingInterval,e.pollIndex,ie[e.pollingInterval]),e.length?m(e.pollingInterval):(ne.Debug.assert(0===e.pollIndex),e.pollScheduled=!1)}function c(e){l(t,re.Low,0,t.length),s(e),!e.pollScheduled&&t.length&&m(re.Low)}function l(n,r,a,i){return zm(e,n,a,i,(function(e,a,i){i?(e.unchangedPolls=0,n!==t&&(n[a]=void 0,(e=>{t.push(e),p(re.Low)})(e))):e.unchangedPolls!==ne.unchangedPollThresholds[r]?e.unchangedPolls++:n===t?(e.unchangedPolls=1,n[a]=void 0,u(e,re.Low)):r!==re.High&&(e.unchangedPolls++,n[a]=void 0,u(e,r===re.Low?re.Medium:re.High))}))}function d(e){switch(e){case re.Low:return r;case re.Medium:return a;case re.High:return i}}function u(e,n){d(n).push(e),p(n)}function p(e){d(e).pollScheduled||m(e)}function m(n){d(n).pollScheduled=e.setTimeout(n===re.Low?c:s,n,d(n))}}function qm(e,n){var t=ne.createMultiMap(),r=new ne.Map,a=ne.createGetCanonicalFileName(n);return function(n,i,o,s){var c=a(n),l=(t.add(c,i),ne.getDirectoryPath(c)||"."),d=r.get(l)||((n,i,o)=>((o=e(n,1,(function(e,r){if(ne.isString(r)){var i=ne.getNormalizedAbsolutePath(r,n);r=i&&t.get(a(i));if(r)for(var o=0,s=r;o<s.length;o++)(0,s[o])(i,te.Changed)}}),!1,re.Medium,o)).referenceCount=0,r.set(i,o),o))(ne.getDirectoryPath(n)||".",l,s);return d.referenceCount++,{close:function(){1===d.referenceCount?(d.close(),r.delete(l)):d.referenceCount--,t.remove(c,i)}}}}function Xm(e){var n,t=[],r=0;return function(n,r){var a={fileName:n,callback:r,mtime:Km(e,n)};return t.push(a),i(),{close:function(){a.isClosed=!0,ne.unorderedRemoveItem(t,a)}}};function a(){n=void 0,r=zm(e,t,r,ie[re.Low]),i()}function i(){t.length&&(n=n||e.setTimeout(a,re.High))}}function Ym(e,n){var t=e.mtime.getTime(),r=n.getTime();return t!==r&&(e.mtime=n,e.callback(e.fileName,Qm(t,r)),!0)}function Qm(e,n){return 0===e?te.Created:0===n?te.Deleted:te.Changed}function Zm(e){var n,t=e.watchDirectory,r=e.useCaseSensitiveFileNames,a=e.getCurrentDirectory,i=e.getAccessibleSortedChildDirectories,o=e.directoryExists,s=e.realpath,c=e.setTimeout,l=e.clearTimeout,d=new ne.Map,u=ne.createMultiMap(),p=new ne.Map,m=ne.getStringComparer(!r),_=ne.createGetCanonicalFileName(r);return function(e,n,r,a){return r?f(e,a,n):t(e,n,r,a)};function f(e,r,a){var i=_(e),s=d.get(i),m=(s?s.refCount++:(s={watcher:t(e,(function(t){var a,s,u,m,f,b,E;v(t,r)||(null!=r&&r.synchronousWatchDirectory?(g(i,t),h(e,i,r)):(a=e,s=i,t=t,u=r,(E=d.get(s))&&o(a)?(a=a,m=s,f=t,u=u,(b=p.get(m))?b.fileNames.push(f):p.set(m,{dirName:a,options:u,fileNames:[f]}),n&&(l(n),n=void 0),n=c(y,1e3)):(g(s,t),function e(n){if(n){var t=n.childWatches;n.childWatches=ne.emptyArray;for(var r=0,a=t;r<a.length;r++){var i=a[r];i.close(),e(d.get(_(i.dirName)))}}}(E))))}),!1,r),refCount:1,childWatches:ne.emptyArray},d.set(i,s),h(e,i,r)),a&&{dirName:e,callback:a});return m&&u.add(i,m),{dirName:e,close:function(){var e=ne.Debug.checkDefined(d.get(i));m&&u.remove(i,m),e.refCount--,e.refCount||(d.delete(i),ne.closeFileWatcherOf(e),e.childWatches.forEach(ne.closeFileWatcher))}}}function g(e,n,t){var r,a;ne.isString(n)?r=n:a=n,u.forEach((function(n,i){var o;a&&!0===a.get(i)||(i===e||ne.startsWith(e,i)&&e[i.length]===ne.directorySeparator)&&(a?t?(o=a.get(i))?o.push.apply(o,t):a.set(i,t.slice()):a.set(i,!0):n.forEach((function(e){return(0,e.callback)(r)})))}))}function y(){n=void 0,ne.sysLog("sysLog:: onTimerToUpdateChildWatches:: "+p.size);for(var e=ne.timestamp(),t=new ne.Map;!n&&p.size;){var r=p.entries().next(),a=(r=(ne.Debug.assert(!r.done),r.value),r[0]),i=(r=r[1],r.dirName),o=r.options;r=r.fileNames,i=(p.delete(a),h(i,a,o));g(a,t,i?void 0:r)}ne.sysLog("sysLog:: invokingWatchers:: Elapsed:: "+(ne.timestamp()-e)+"ms:: "+p.size),u.forEach((function(e,n){var r=t.get(n);r&&e.forEach((function(e){var n=e.callback;e=e.dirName;ne.isArray(r)?r.forEach(n):n(e)}))})),e=ne.timestamp()-e,ne.sysLog("sysLog:: Elapsed:: "+e+"ms:: onTimerToUpdateChildWatches:: "+p.size+" "+n)}function h(e,n,t){var r,a;n=d.get(n);return!!n&&(a=ne.enumerateInsertsAndDeletes(o(e)?ne.mapDefined(i(e),(function(n){return n=ne.getNormalizedAbsolutePath(n,e),v(n,t)||0!==m(n,ne.normalizePath(s(n)))?void 0:n})):ne.emptyArray,n.childWatches,(function(e,n){return m(e,n.dirName)}),(function(e){c(f(e,t))}),ne.closeFileWatcher,c),n.childWatches=r||ne.emptyArray,a);function c(e){(r=r||[]).push(e)}}function v(e,n){return ne.some(ne.ignoredPaths,(function(n){return t=e,n=n,!!ne.stringContains(t,n)||!r&&ne.stringContains(_(t),n);var t}))||$m(e,n,r,a)}}function $m(e,n,t,r){return((null==n?void 0:n.excludeDirectories)||(null==n?void 0:n.excludeFiles))&&(ne.matchesExclude(e,null==n?void 0:n.excludeFiles,t,r())||ne.matchesExclude(e,null==n?void 0:n.excludeDirectories,t,r()))}function e_(e,n,t,r,a){return function(i,o){"rename"===i&&(i=o?ne.normalizePath(ne.combinePaths(e,o)):e,o&&$m(i,t,r,a)||n(i))}}function n_(e,n,t,r,a,i,o){return{code:e,category:n,key:t,message:r,reportsUnnecessary:a,elidedInCompatabilityPyramid:i,reportsDeprecated:o}}sm.perfLogger=lm&&lm.logEvent?lm:cm,B=bY=bY||{},U=OY=OY||{},W=H=0,z=[],J=[],U.startTracing=function(n,t,r){if(B.Debug.assert(!B.tracing,"Tracing already started"),void 0===V)try{V=void 0}catch(n){throw new Error("tracing requires having fs\n(original error: "+(n.message||n)+")")}j=n,void(z.length=0)===K&&(K=B.combinePaths(t,"legend.json")),V.existsSync(t)||V.mkdirSync(t,{recursive:!0});n="build"===j?"."+e.pid+"-"+ ++H:"server"===j?"."+e.pid:"";var a=B.combinePaths(t,"trace"+n+".json");t=B.combinePaths(t,"types"+n+".json"),J.push({configFilePath:r,tracePath:a,typesPath:t}),W=V.openSync(a,"w"),B.tracing=U,n={cat:"__metadata",ph:"M",ts:1e3*B.timestamp(),pid:1,tid:1};V.writeSync(W,"[\n"+[nu({name:"process_name",args:{name:"tsc"}},n),nu({name:"thread_name",args:{name:"Main"}},n),nu(nu({name:"TracingStartedInBrowser"},n),{cat:"disabled-by-default-devtools.timeline"})].map((function(e){return JSON.stringify(e)})).join(",\n"))},U.stopTracing=function(){if(B.Debug.assert(B.tracing,"Tracing is not in progress"),B.Debug.assert(!!z.length==("server"!==j)),V.writeSync(W,"\n]\n"),V.closeSync(W),B.tracing=void 0,z.length){var e=z;B.performance.mark("beginDumpTypes");for(var n,t=J[J.length-1].typesPath,r=V.openSync(t,"w"),a=new B.Map,i=(V.writeSync(r,"["),e.length),o=0;o<i;o++){var s=e[o],c=s.objectFlags,l=null!=(l=s.aliasSymbol)?l:s.symbol,d=void 0;if(16&c|2944&s.flags)try{d=null==(n=s.checker)?void 0:n.typeToString(s)}catch(e){d=void 0}var u,p={},m=(8388608&s.flags&&(p={indexedAccessObjectType:null==(m=s.objectType)?void 0:m.id,indexedAccessIndexType:null==(m=s.indexType)?void 0:m.id}),{}),_=(4&c&&(m={instantiatedType:null==(_=(u=s).target)?void 0:_.id,typeArguments:null==(_=u.resolvedTypeArguments)?void 0:_.map((function(e){return e.id})),referenceLocation:pm(u.node)}),{}),f=(16777216&s.flags&&(_={conditionalCheckType:null==(u=s.checkType)?void 0:u.id,conditionalExtendsType:null==(f=s.extendsType)?void 0:f.id,conditionalTrueType:null!=(f=null==(f=s.resolvedTrueType)?void 0:f.id)?f:-1,conditionalFalseType:null!=(f=null==(f=s.resolvedFalseType)?void 0:f.id)?f:-1}),{}),g=(33554432&s.flags&&(f={substitutionBaseType:null==(g=s.baseType)?void 0:g.id,substituteType:null==(g=s.substitute)?void 0:g.id}),{}),y=(1024&c&&(g={reverseMappedSourceType:null==(y=s.source)?void 0:y.id,reverseMappedMappedType:null==(y=s.mappedType)?void 0:y.id,reverseMappedConstraintType:null==(y=s.constraintType)?void 0:y.id}),{}),h=void(256&c&&(y={evolvingArrayElementType:s.elementType.id,evolvingArrayFinalType:null==(h=s.finalArrayType)?void 0:h.id})),v=s.checker.getRecursionIdentity(s);v=(!v||(h=a.get(v))||(h=a.size,a.set(v,h)),nu(nu(nu(nu(nu(nu(nu({id:s.id,intrinsicName:s.intrinsicName,symbolName:(null==l?void 0:l.escapedName)&&B.unescapeLeadingUnderscores(l.escapedName),recursionId:h,isTuple:!!(8&c)||void 0,unionTypes:1048576&s.flags&&null!=(v=s.types)?v.map((function(e){return e.id})):void 0,intersectionTypes:2097152&s.flags?s.types.map((function(e){return e.id})):void 0,aliasTypeArguments:null==(c=s.aliasTypeArguments)?void 0:c.map((function(e){return e.id})),keyofType:4194304&s.flags&&null!=(v=s.type)?v.id:void 0},p),m),_),f),g),y),{destructuringPattern:pm(s.pattern),firstDeclaration:pm(null==(c=null==l?void 0:l.declarations)?void 0:c[0]),flags:B.Debug.formatTypeFlags(s.flags).split("|"),display:d}));V.writeSync(r,JSON.stringify(v)),o<i-1&&V.writeSync(r,",\n")}V.writeSync(r,"]\n"),V.closeSync(r),B.performance.mark("endDumpTypes"),B.performance.measure("Dump types","beginDumpTypes","endDumpTypes")}else J[J.length-1].typesPath=void 0},U.recordType=function(e){"server"!==j&&z.push(e)},(sm=U.Phase||(U.Phase={})).Parse="parse",sm.Program="program",sm.Bind="bind",sm.Check="check",sm.CheckTypes="checkTypes",sm.Emit="emit",sm.Session="session",U.instant=function(e,n,t){um("I",e,n,t,'"s":"g"')},q=[],U.push=function(e,n,t,r){(r=void 0!==r&&r)&&um("B",e,n,t),q.push({phase:e,name:n,args:t,time:1e3*B.timestamp(),separateBeginAndEnd:r})},U.pop=function(){B.Debug.assert(0<q.length),dm(q.length-1,1e3*B.timestamp()),q.length--},U.popAll=function(){for(var e=1e3*B.timestamp(),n=q.length-1;0<=n;n--)dm(n,e);q.length=0},X=1e4,U.dumpLegend=function(){K&&V.writeFileSync(K,JSON.stringify(J))},B.startTracing=OY.startTracing,B.dumpTracingLegend=OY.dumpLegend,lm=bY=bY||{},(cm=lm.SyntaxKind||(lm.SyntaxKind={}))[cm.Unknown=0]="Unknown",cm[cm.EndOfFileToken=1]="EndOfFileToken",cm[cm.SingleLineCommentTrivia=2]="SingleLineCommentTrivia",cm[cm.MultiLineCommentTrivia=3]="MultiLineCommentTrivia",cm[cm.NewLineTrivia=4]="NewLineTrivia",cm[cm.WhitespaceTrivia=5]="WhitespaceTrivia",cm[cm.ShebangTrivia=6]="ShebangTrivia",cm[cm.ConflictMarkerTrivia=7]="ConflictMarkerTrivia",cm[cm.NumericLiteral=8]="NumericLiteral",cm[cm.BigIntLiteral=9]="BigIntLiteral",cm[cm.StringLiteral=10]="StringLiteral",cm[cm.JsxText=11]="JsxText",cm[cm.JsxTextAllWhiteSpaces=12]="JsxTextAllWhiteSpaces",cm[cm.RegularExpressionLiteral=13]="RegularExpressionLiteral",cm[cm.NoSubstitutionTemplateLiteral=14]="NoSubstitutionTemplateLiteral",cm[cm.TemplateHead=15]="TemplateHead",cm[cm.TemplateMiddle=16]="TemplateMiddle",cm[cm.TemplateTail=17]="TemplateTail",cm[cm.OpenBraceToken=18]="OpenBraceToken",cm[cm.CloseBraceToken=19]="CloseBraceToken",cm[cm.OpenParenToken=20]="OpenParenToken",cm[cm.CloseParenToken=21]="CloseParenToken",cm[cm.OpenBracketToken=22]="OpenBracketToken",cm[cm.CloseBracketToken=23]="CloseBracketToken",cm[cm.DotToken=24]="DotToken",cm[cm.DotDotDotToken=25]="DotDotDotToken",cm[cm.SemicolonToken=26]="SemicolonToken",cm[cm.CommaToken=27]="CommaToken",cm[cm.QuestionDotToken=28]="QuestionDotToken",cm[cm.LessThanToken=29]="LessThanToken",cm[cm.LessThanSlashToken=30]="LessThanSlashToken",cm[cm.GreaterThanToken=31]="GreaterThanToken",cm[cm.LessThanEqualsToken=32]="LessThanEqualsToken",cm[cm.GreaterThanEqualsToken=33]="GreaterThanEqualsToken",cm[cm.EqualsEqualsToken=34]="EqualsEqualsToken",cm[cm.ExclamationEqualsToken=35]="ExclamationEqualsToken",cm[cm.EqualsEqualsEqualsToken=36]="EqualsEqualsEqualsToken",cm[cm.ExclamationEqualsEqualsToken=37]="ExclamationEqualsEqualsToken",cm[cm.EqualsGreaterThanToken=38]="EqualsGreaterThanToken",cm[cm.PlusToken=39]="PlusToken",cm[cm.MinusToken=40]="MinusToken",cm[cm.AsteriskToken=41]="AsteriskToken",cm[cm.AsteriskAsteriskToken=42]="AsteriskAsteriskToken",cm[cm.SlashToken=43]="SlashToken",cm[cm.PercentToken=44]="PercentToken",cm[cm.PlusPlusToken=45]="PlusPlusToken",cm[cm.MinusMinusToken=46]="MinusMinusToken",cm[cm.LessThanLessThanToken=47]="LessThanLessThanToken",cm[cm.GreaterThanGreaterThanToken=48]="GreaterThanGreaterThanToken",cm[cm.GreaterThanGreaterThanGreaterThanToken=49]="GreaterThanGreaterThanGreaterThanToken",cm[cm.AmpersandToken=50]="AmpersandToken",cm[cm.BarToken=51]="BarToken",cm[cm.CaretToken=52]="CaretToken",cm[cm.ExclamationToken=53]="ExclamationToken",cm[cm.TildeToken=54]="TildeToken",cm[cm.AmpersandAmpersandToken=55]="AmpersandAmpersandToken",cm[cm.BarBarToken=56]="BarBarToken",cm[cm.QuestionToken=57]="QuestionToken",cm[cm.ColonToken=58]="ColonToken",cm[cm.AtToken=59]="AtToken",cm[cm.QuestionQuestionToken=60]="QuestionQuestionToken",cm[cm.BacktickToken=61]="BacktickToken",cm[cm.HashToken=62]="HashToken",cm[cm.EqualsToken=63]="EqualsToken",cm[cm.PlusEqualsToken=64]="PlusEqualsToken",cm[cm.MinusEqualsToken=65]="MinusEqualsToken",cm[cm.AsteriskEqualsToken=66]="AsteriskEqualsToken",cm[cm.AsteriskAsteriskEqualsToken=67]="AsteriskAsteriskEqualsToken",cm[cm.SlashEqualsToken=68]="SlashEqualsToken",cm[cm.PercentEqualsToken=69]="PercentEqualsToken",cm[cm.LessThanLessThanEqualsToken=70]="LessThanLessThanEqualsToken",cm[cm.GreaterThanGreaterThanEqualsToken=71]="GreaterThanGreaterThanEqualsToken",cm[cm.GreaterThanGreaterThanGreaterThanEqualsToken=72]="GreaterThanGreaterThanGreaterThanEqualsToken",cm[cm.AmpersandEqualsToken=73]="AmpersandEqualsToken",cm[cm.BarEqualsToken=74]="BarEqualsToken",cm[cm.BarBarEqualsToken=75]="BarBarEqualsToken",cm[cm.AmpersandAmpersandEqualsToken=76]="AmpersandAmpersandEqualsToken",cm[cm.QuestionQuestionEqualsToken=77]="QuestionQuestionEqualsToken",cm[cm.CaretEqualsToken=78]="CaretEqualsToken",cm[cm.Identifier=79]="Identifier",cm[cm.PrivateIdentifier=80]="PrivateIdentifier",cm[cm.BreakKeyword=81]="BreakKeyword",cm[cm.CaseKeyword=82]="CaseKeyword",cm[cm.CatchKeyword=83]="CatchKeyword",cm[cm.ClassKeyword=84]="ClassKeyword",cm[cm.ConstKeyword=85]="ConstKeyword",cm[cm.ContinueKeyword=86]="ContinueKeyword",cm[cm.DebuggerKeyword=87]="DebuggerKeyword",cm[cm.DefaultKeyword=88]="DefaultKeyword",cm[cm.DeleteKeyword=89]="DeleteKeyword",cm[cm.DoKeyword=90]="DoKeyword",cm[cm.ElseKeyword=91]="ElseKeyword",cm[cm.EnumKeyword=92]="EnumKeyword",cm[cm.ExportKeyword=93]="ExportKeyword",cm[cm.ExtendsKeyword=94]="ExtendsKeyword",cm[cm.FalseKeyword=95]="FalseKeyword",cm[cm.FinallyKeyword=96]="FinallyKeyword",cm[cm.ForKeyword=97]="ForKeyword",cm[cm.FunctionKeyword=98]="FunctionKeyword",cm[cm.IfKeyword=99]="IfKeyword",cm[cm.ImportKeyword=100]="ImportKeyword",cm[cm.InKeyword=101]="InKeyword",cm[cm.InstanceOfKeyword=102]="InstanceOfKeyword",cm[cm.NewKeyword=103]="NewKeyword",cm[cm.NullKeyword=104]="NullKeyword",cm[cm.ReturnKeyword=105]="ReturnKeyword",cm[cm.SuperKeyword=106]="SuperKeyword",cm[cm.SwitchKeyword=107]="SwitchKeyword",cm[cm.ThisKeyword=108]="ThisKeyword",cm[cm.ThrowKeyword=109]="ThrowKeyword",cm[cm.TrueKeyword=110]="TrueKeyword",cm[cm.TryKeyword=111]="TryKeyword",cm[cm.TypeOfKeyword=112]="TypeOfKeyword",cm[cm.VarKeyword=113]="VarKeyword",cm[cm.VoidKeyword=114]="VoidKeyword",cm[cm.WhileKeyword=115]="WhileKeyword",cm[cm.WithKeyword=116]="WithKeyword",cm[cm.ImplementsKeyword=117]="ImplementsKeyword",cm[cm.InterfaceKeyword=118]="InterfaceKeyword",cm[cm.LetKeyword=119]="LetKeyword",cm[cm.PackageKeyword=120]="PackageKeyword",cm[cm.PrivateKeyword=121]="PrivateKeyword",cm[cm.ProtectedKeyword=122]="ProtectedKeyword",cm[cm.PublicKeyword=123]="PublicKeyword",cm[cm.StaticKeyword=124]="StaticKeyword",cm[cm.YieldKeyword=125]="YieldKeyword",cm[cm.AbstractKeyword=126]="AbstractKeyword",cm[cm.AsKeyword=127]="AsKeyword",cm[cm.AssertsKeyword=128]="AssertsKeyword",cm[cm.AnyKeyword=129]="AnyKeyword",cm[cm.AsyncKeyword=130]="AsyncKeyword",cm[cm.AwaitKeyword=131]="AwaitKeyword",cm[cm.BooleanKeyword=132]="BooleanKeyword",cm[cm.ConstructorKeyword=133]="ConstructorKeyword",cm[cm.DeclareKeyword=134]="DeclareKeyword",cm[cm.GetKeyword=135]="GetKeyword",cm[cm.InferKeyword=136]="InferKeyword",cm[cm.IntrinsicKeyword=137]="IntrinsicKeyword",cm[cm.IsKeyword=138]="IsKeyword",cm[cm.KeyOfKeyword=139]="KeyOfKeyword",cm[cm.ModuleKeyword=140]="ModuleKeyword",cm[cm.NamespaceKeyword=141]="NamespaceKeyword",cm[cm.NeverKeyword=142]="NeverKeyword",cm[cm.ReadonlyKeyword=143]="ReadonlyKeyword",cm[cm.RequireKeyword=144]="RequireKeyword",cm[cm.NumberKeyword=145]="NumberKeyword",cm[cm.ObjectKeyword=146]="ObjectKeyword",cm[cm.SetKeyword=147]="SetKeyword",cm[cm.StringKeyword=148]="StringKeyword",cm[cm.SymbolKeyword=149]="SymbolKeyword",cm[cm.TypeKeyword=150]="TypeKeyword",cm[cm.UndefinedKeyword=151]="UndefinedKeyword",cm[cm.UniqueKeyword=152]="UniqueKeyword",cm[cm.UnknownKeyword=153]="UnknownKeyword",cm[cm.FromKeyword=154]="FromKeyword",cm[cm.GlobalKeyword=155]="GlobalKeyword",cm[cm.BigIntKeyword=156]="BigIntKeyword",cm[cm.OverrideKeyword=157]="OverrideKeyword",cm[cm.OfKeyword=158]="OfKeyword",cm[cm.QualifiedName=159]="QualifiedName",cm[cm.ComputedPropertyName=160]="ComputedPropertyName",cm[cm.TypeParameter=161]="TypeParameter",cm[cm.Parameter=162]="Parameter",cm[cm.Decorator=163]="Decorator",cm[cm.PropertySignature=164]="PropertySignature",cm[cm.PropertyDeclaration=165]="PropertyDeclaration",cm[cm.MethodSignature=166]="MethodSignature",cm[cm.MethodDeclaration=167]="MethodDeclaration",cm[cm.ClassStaticBlockDeclaration=168]="ClassStaticBlockDeclaration",cm[cm.Constructor=169]="Constructor",cm[cm.GetAccessor=170]="GetAccessor",cm[cm.SetAccessor=171]="SetAccessor",cm[cm.CallSignature=172]="CallSignature",cm[cm.ConstructSignature=173]="ConstructSignature",cm[cm.IndexSignature=174]="IndexSignature",cm[cm.TypePredicate=175]="TypePredicate",cm[cm.TypeReference=176]="TypeReference",cm[cm.FunctionType=177]="FunctionType",cm[cm.ConstructorType=178]="ConstructorType",cm[cm.TypeQuery=179]="TypeQuery",cm[cm.TypeLiteral=180]="TypeLiteral",cm[cm.ArrayType=181]="ArrayType",cm[cm.TupleType=182]="TupleType",cm[cm.OptionalType=183]="OptionalType",cm[cm.RestType=184]="RestType",cm[cm.UnionType=185]="UnionType",cm[cm.IntersectionType=186]="IntersectionType",cm[cm.ConditionalType=187]="ConditionalType",cm[cm.InferType=188]="InferType",cm[cm.ParenthesizedType=189]="ParenthesizedType",cm[cm.ThisType=190]="ThisType",cm[cm.TypeOperator=191]="TypeOperator",cm[cm.IndexedAccessType=192]="IndexedAccessType",cm[cm.MappedType=193]="MappedType",cm[cm.LiteralType=194]="LiteralType",cm[cm.NamedTupleMember=195]="NamedTupleMember",cm[cm.TemplateLiteralType=196]="TemplateLiteralType",cm[cm.TemplateLiteralTypeSpan=197]="TemplateLiteralTypeSpan",cm[cm.ImportType=198]="ImportType",cm[cm.ObjectBindingPattern=199]="ObjectBindingPattern",cm[cm.ArrayBindingPattern=200]="ArrayBindingPattern",cm[cm.BindingElement=201]="BindingElement",cm[cm.ArrayLiteralExpression=202]="ArrayLiteralExpression",cm[cm.ObjectLiteralExpression=203]="ObjectLiteralExpression",cm[cm.PropertyAccessExpression=204]="PropertyAccessExpression",cm[cm.ElementAccessExpression=205]="ElementAccessExpression",cm[cm.CallExpression=206]="CallExpression",cm[cm.NewExpression=207]="NewExpression",cm[cm.TaggedTemplateExpression=208]="TaggedTemplateExpression",cm[cm.TypeAssertionExpression=209]="TypeAssertionExpression",cm[cm.ParenthesizedExpression=210]="ParenthesizedExpression",cm[cm.FunctionExpression=211]="FunctionExpression",cm[cm.ArrowFunction=212]="ArrowFunction",cm[cm.DeleteExpression=213]="DeleteExpression",cm[cm.TypeOfExpression=214]="TypeOfExpression",cm[cm.VoidExpression=215]="VoidExpression",cm[cm.AwaitExpression=216]="AwaitExpression",cm[cm.PrefixUnaryExpression=217]="PrefixUnaryExpression",cm[cm.PostfixUnaryExpression=218]="PostfixUnaryExpression",cm[cm.BinaryExpression=219]="BinaryExpression",cm[cm.ConditionalExpression=220]="ConditionalExpression",cm[cm.TemplateExpression=221]="TemplateExpression",cm[cm.YieldExpression=222]="YieldExpression",cm[cm.SpreadElement=223]="SpreadElement",cm[cm.ClassExpression=224]="ClassExpression",cm[cm.OmittedExpression=225]="OmittedExpression",cm[cm.ExpressionWithTypeArguments=226]="ExpressionWithTypeArguments",cm[cm.AsExpression=227]="AsExpression",cm[cm.NonNullExpression=228]="NonNullExpression",cm[cm.MetaProperty=229]="MetaProperty",cm[cm.SyntheticExpression=230]="SyntheticExpression",cm[cm.TemplateSpan=231]="TemplateSpan",cm[cm.SemicolonClassElement=232]="SemicolonClassElement",cm[cm.Block=233]="Block",cm[cm.EmptyStatement=234]="EmptyStatement",cm[cm.VariableStatement=235]="VariableStatement",cm[cm.ExpressionStatement=236]="ExpressionStatement",cm[cm.IfStatement=237]="IfStatement",cm[cm.DoStatement=238]="DoStatement",cm[cm.WhileStatement=239]="WhileStatement",cm[cm.ForStatement=240]="ForStatement",cm[cm.ForInStatement=241]="ForInStatement",cm[cm.ForOfStatement=242]="ForOfStatement",cm[cm.ContinueStatement=243]="ContinueStatement",cm[cm.BreakStatement=244]="BreakStatement",cm[cm.ReturnStatement=245]="ReturnStatement",cm[cm.WithStatement=246]="WithStatement",cm[cm.SwitchStatement=247]="SwitchStatement",cm[cm.LabeledStatement=248]="LabeledStatement",cm[cm.ThrowStatement=249]="ThrowStatement",cm[cm.TryStatement=250]="TryStatement",cm[cm.DebuggerStatement=251]="DebuggerStatement",cm[cm.VariableDeclaration=252]="VariableDeclaration",cm[cm.VariableDeclarationList=253]="VariableDeclarationList",cm[cm.FunctionDeclaration=254]="FunctionDeclaration",cm[cm.ClassDeclaration=255]="ClassDeclaration",cm[cm.InterfaceDeclaration=256]="InterfaceDeclaration",cm[cm.TypeAliasDeclaration=257]="TypeAliasDeclaration",cm[cm.EnumDeclaration=258]="EnumDeclaration",cm[cm.ModuleDeclaration=259]="ModuleDeclaration",cm[cm.ModuleBlock=260]="ModuleBlock",cm[cm.CaseBlock=261]="CaseBlock",cm[cm.NamespaceExportDeclaration=262]="NamespaceExportDeclaration",cm[cm.ImportEqualsDeclaration=263]="ImportEqualsDeclaration",cm[cm.ImportDeclaration=264]="ImportDeclaration",cm[cm.ImportClause=265]="ImportClause",cm[cm.NamespaceImport=266]="NamespaceImport",cm[cm.NamedImports=267]="NamedImports",cm[cm.ImportSpecifier=268]="ImportSpecifier",cm[cm.ExportAssignment=269]="ExportAssignment",cm[cm.ExportDeclaration=270]="ExportDeclaration",cm[cm.NamedExports=271]="NamedExports",cm[cm.NamespaceExport=272]="NamespaceExport",cm[cm.ExportSpecifier=273]="ExportSpecifier",cm[cm.MissingDeclaration=274]="MissingDeclaration",cm[cm.ExternalModuleReference=275]="ExternalModuleReference",cm[cm.JsxElement=276]="JsxElement",cm[cm.JsxSelfClosingElement=277]="JsxSelfClosingElement",cm[cm.JsxOpeningElement=278]="JsxOpeningElement",cm[cm.JsxClosingElement=279]="JsxClosingElement",cm[cm.JsxFragment=280]="JsxFragment",cm[cm.JsxOpeningFragment=281]="JsxOpeningFragment",cm[cm.JsxClosingFragment=282]="JsxClosingFragment",cm[cm.JsxAttribute=283]="JsxAttribute",cm[cm.JsxAttributes=284]="JsxAttributes",cm[cm.JsxSpreadAttribute=285]="JsxSpreadAttribute",cm[cm.JsxExpression=286]="JsxExpression",cm[cm.CaseClause=287]="CaseClause",cm[cm.DefaultClause=288]="DefaultClause",cm[cm.HeritageClause=289]="HeritageClause",cm[cm.CatchClause=290]="CatchClause",cm[cm.PropertyAssignment=291]="PropertyAssignment",cm[cm.ShorthandPropertyAssignment=292]="ShorthandPropertyAssignment",cm[cm.SpreadAssignment=293]="SpreadAssignment",cm[cm.EnumMember=294]="EnumMember",cm[cm.UnparsedPrologue=295]="UnparsedPrologue",cm[cm.UnparsedPrepend=296]="UnparsedPrepend",cm[cm.UnparsedText=297]="UnparsedText",cm[cm.UnparsedInternalText=298]="UnparsedInternalText",cm[cm.UnparsedSyntheticReference=299]="UnparsedSyntheticReference",cm[cm.SourceFile=300]="SourceFile",cm[cm.Bundle=301]="Bundle",cm[cm.UnparsedSource=302]="UnparsedSource",cm[cm.InputFiles=303]="InputFiles",cm[cm.JSDocTypeExpression=304]="JSDocTypeExpression",cm[cm.JSDocNameReference=305]="JSDocNameReference",cm[cm.JSDocMemberName=306]="JSDocMemberName",cm[cm.JSDocAllType=307]="JSDocAllType",cm[cm.JSDocUnknownType=308]="JSDocUnknownType",cm[cm.JSDocNullableType=309]="JSDocNullableType",cm[cm.JSDocNonNullableType=310]="JSDocNonNullableType",cm[cm.JSDocOptionalType=311]="JSDocOptionalType",cm[cm.JSDocFunctionType=312]="JSDocFunctionType",cm[cm.JSDocVariadicType=313]="JSDocVariadicType",cm[cm.JSDocNamepathType=314]="JSDocNamepathType",cm[cm.JSDocComment=315]="JSDocComment",cm[cm.JSDocText=316]="JSDocText",cm[cm.JSDocTypeLiteral=317]="JSDocTypeLiteral",cm[cm.JSDocSignature=318]="JSDocSignature",cm[cm.JSDocLink=319]="JSDocLink",cm[cm.JSDocLinkCode=320]="JSDocLinkCode",cm[cm.JSDocLinkPlain=321]="JSDocLinkPlain",cm[cm.JSDocTag=322]="JSDocTag",cm[cm.JSDocAugmentsTag=323]="JSDocAugmentsTag",cm[cm.JSDocImplementsTag=324]="JSDocImplementsTag",cm[cm.JSDocAuthorTag=325]="JSDocAuthorTag",cm[cm.JSDocDeprecatedTag=326]="JSDocDeprecatedTag",cm[cm.JSDocClassTag=327]="JSDocClassTag",cm[cm.JSDocPublicTag=328]="JSDocPublicTag",cm[cm.JSDocPrivateTag=329]="JSDocPrivateTag",cm[cm.JSDocProtectedTag=330]="JSDocProtectedTag",cm[cm.JSDocReadonlyTag=331]="JSDocReadonlyTag",cm[cm.JSDocOverrideTag=332]="JSDocOverrideTag",cm[cm.JSDocCallbackTag=333]="JSDocCallbackTag",cm[cm.JSDocEnumTag=334]="JSDocEnumTag",cm[cm.JSDocParameterTag=335]="JSDocParameterTag",cm[cm.JSDocReturnTag=336]="JSDocReturnTag",cm[cm.JSDocThisTag=337]="JSDocThisTag",cm[cm.JSDocTypeTag=338]="JSDocTypeTag",cm[cm.JSDocTemplateTag=339]="JSDocTemplateTag",cm[cm.JSDocTypedefTag=340]="JSDocTypedefTag",cm[cm.JSDocSeeTag=341]="JSDocSeeTag",cm[cm.JSDocPropertyTag=342]="JSDocPropertyTag",cm[cm.SyntaxList=343]="SyntaxList",cm[cm.NotEmittedStatement=344]="NotEmittedStatement",cm[cm.PartiallyEmittedExpression=345]="PartiallyEmittedExpression",cm[cm.CommaListExpression=346]="CommaListExpression",cm[cm.MergeDeclarationMarker=347]="MergeDeclarationMarker",cm[cm.EndOfDeclarationMarker=348]="EndOfDeclarationMarker",cm[cm.SyntheticReferenceExpression=349]="SyntheticReferenceExpression",cm[cm.Count=350]="Count",cm[cm.FirstAssignment=63]="FirstAssignment",cm[cm.LastAssignment=78]="LastAssignment",cm[cm.FirstCompoundAssignment=64]="FirstCompoundAssignment",cm[cm.LastCompoundAssignment=78]="LastCompoundAssignment",cm[cm.FirstReservedWord=81]="FirstReservedWord",cm[cm.LastReservedWord=116]="LastReservedWord",cm[cm.FirstKeyword=81]="FirstKeyword",cm[cm.LastKeyword=158]="LastKeyword",cm[cm.FirstFutureReservedWord=117]="FirstFutureReservedWord",cm[cm.LastFutureReservedWord=125]="LastFutureReservedWord",cm[cm.FirstTypeNode=175]="FirstTypeNode",cm[cm.LastTypeNode=198]="LastTypeNode",cm[cm.FirstPunctuation=18]="FirstPunctuation",cm[cm.LastPunctuation=78]="LastPunctuation",cm[cm.FirstToken=0]="FirstToken",cm[cm.LastToken=158]="LastToken",cm[cm.FirstTriviaToken=2]="FirstTriviaToken",cm[cm.LastTriviaToken=7]="LastTriviaToken",cm[cm.FirstLiteralToken=8]="FirstLiteralToken",cm[cm.LastLiteralToken=14]="LastLiteralToken",cm[cm.FirstTemplateToken=14]="FirstTemplateToken",cm[cm.LastTemplateToken=17]="LastTemplateToken",cm[cm.FirstBinaryOperator=29]="FirstBinaryOperator",cm[cm.LastBinaryOperator=78]="LastBinaryOperator",cm[cm.FirstStatement=235]="FirstStatement",cm[cm.LastStatement=251]="LastStatement",cm[cm.FirstNode=159]="FirstNode",cm[cm.FirstJSDocNode=304]="FirstJSDocNode",cm[cm.LastJSDocNode=342]="LastJSDocNode",cm[cm.FirstJSDocTagNode=322]="FirstJSDocTagNode",cm[cm.LastJSDocTagNode=342]="LastJSDocTagNode",cm[cm.FirstContextualKeyword=126]="FirstContextualKeyword",cm[cm.LastContextualKeyword=158]="LastContextualKeyword",(cm=lm.NodeFlags||(lm.NodeFlags={}))[cm.None=0]="None",cm[cm.Let=1]="Let",cm[cm.Const=2]="Const",cm[cm.NestedNamespace=4]="NestedNamespace",cm[cm.Synthesized=8]="Synthesized",cm[cm.Namespace=16]="Namespace",cm[cm.OptionalChain=32]="OptionalChain",cm[cm.ExportContext=64]="ExportContext",cm[cm.ContainsThis=128]="ContainsThis",cm[cm.HasImplicitReturn=256]="HasImplicitReturn",cm[cm.HasExplicitReturn=512]="HasExplicitReturn",cm[cm.GlobalAugmentation=1024]="GlobalAugmentation",cm[cm.HasAsyncFunctions=2048]="HasAsyncFunctions",cm[cm.DisallowInContext=4096]="DisallowInContext",cm[cm.YieldContext=8192]="YieldContext",cm[cm.DecoratorContext=16384]="DecoratorContext",cm[cm.AwaitContext=32768]="AwaitContext",cm[cm.ThisNodeHasError=65536]="ThisNodeHasError",cm[cm.JavaScriptFile=131072]="JavaScriptFile",cm[cm.ThisNodeOrAnySubNodesHasError=262144]="ThisNodeOrAnySubNodesHasError",cm[cm.HasAggregatedChildData=524288]="HasAggregatedChildData",cm[cm.PossiblyContainsDynamicImport=1048576]="PossiblyContainsDynamicImport",cm[cm.PossiblyContainsImportMeta=2097152]="PossiblyContainsImportMeta",cm[cm.JSDoc=4194304]="JSDoc",cm[cm.Ambient=8388608]="Ambient",cm[cm.InWithStatement=16777216]="InWithStatement",cm[cm.JsonFile=33554432]="JsonFile",cm[cm.TypeCached=67108864]="TypeCached",cm[cm.Deprecated=134217728]="Deprecated",cm[cm.BlockScoped=3]="BlockScoped",cm[cm.ReachabilityCheckFlags=768]="ReachabilityCheckFlags",cm[cm.ReachabilityAndEmitFlags=2816]="ReachabilityAndEmitFlags",cm[cm.ContextFlags=25358336]="ContextFlags",cm[cm.TypeExcludesFlags=40960]="TypeExcludesFlags",cm[cm.PermanentlySetIncrementalFlags=3145728]="PermanentlySetIncrementalFlags",(cm=lm.ModifierFlags||(lm.ModifierFlags={}))[cm.None=0]="None",cm[cm.Export=1]="Export",cm[cm.Ambient=2]="Ambient",cm[cm.Public=4]="Public",cm[cm.Private=8]="Private",cm[cm.Protected=16]="Protected",cm[cm.Static=32]="Static",cm[cm.Readonly=64]="Readonly",cm[cm.Abstract=128]="Abstract",cm[cm.Async=256]="Async",cm[cm.Default=512]="Default",cm[cm.Const=2048]="Const",cm[cm.HasComputedJSDocModifiers=4096]="HasComputedJSDocModifiers",cm[cm.Deprecated=8192]="Deprecated",cm[cm.Override=16384]="Override",cm[cm.HasComputedFlags=536870912]="HasComputedFlags",cm[cm.AccessibilityModifier=28]="AccessibilityModifier",cm[cm.ParameterPropertyModifier=16476]="ParameterPropertyModifier",cm[cm.NonPublicAccessibilityModifier=24]="NonPublicAccessibilityModifier",cm[cm.TypeScriptModifier=18654]="TypeScriptModifier",cm[cm.ExportDefault=513]="ExportDefault",cm[cm.All=27647]="All",(cm=lm.JsxFlags||(lm.JsxFlags={}))[cm.None=0]="None",cm[cm.IntrinsicNamedElement=1]="IntrinsicNamedElement",cm[cm.IntrinsicIndexedElement=2]="IntrinsicIndexedElement",cm[cm.IntrinsicElement=3]="IntrinsicElement",(cm=lm.RelationComparisonResult||(lm.RelationComparisonResult={}))[cm.Succeeded=1]="Succeeded",cm[cm.Failed=2]="Failed",cm[cm.Reported=4]="Reported",cm[cm.ReportsUnmeasurable=8]="ReportsUnmeasurable",cm[cm.ReportsUnreliable=16]="ReportsUnreliable",cm[cm.ReportsMask=24]="ReportsMask",(cm=lm.GeneratedIdentifierFlags||(lm.GeneratedIdentifierFlags={}))[cm.None=0]="None",cm[cm.Auto=1]="Auto",cm[cm.Loop=2]="Loop",cm[cm.Unique=3]="Unique",cm[cm.Node=4]="Node",cm[cm.KindMask=7]="KindMask",cm[cm.ReservedInNestedScopes=8]="ReservedInNestedScopes",cm[cm.Optimistic=16]="Optimistic",cm[cm.FileLevel=32]="FileLevel",cm[cm.AllowNameSubstitution=64]="AllowNameSubstitution",(cm=lm.TokenFlags||(lm.TokenFlags={}))[cm.None=0]="None",cm[cm.PrecedingLineBreak=1]="PrecedingLineBreak",cm[cm.PrecedingJSDocComment=2]="PrecedingJSDocComment",cm[cm.Unterminated=4]="Unterminated",cm[cm.ExtendedUnicodeEscape=8]="ExtendedUnicodeEscape",cm[cm.Scientific=16]="Scientific",cm[cm.Octal=32]="Octal",cm[cm.HexSpecifier=64]="HexSpecifier",cm[cm.BinarySpecifier=128]="BinarySpecifier",cm[cm.OctalSpecifier=256]="OctalSpecifier",cm[cm.ContainsSeparator=512]="ContainsSeparator",cm[cm.UnicodeEscape=1024]="UnicodeEscape",cm[cm.ContainsInvalidEscape=2048]="ContainsInvalidEscape",cm[cm.BinaryOrOctalSpecifier=384]="BinaryOrOctalSpecifier",cm[cm.NumericLiteralFlags=1008]="NumericLiteralFlags",cm[cm.TemplateLiteralLikeFlags=2048]="TemplateLiteralLikeFlags",(cm=lm.FlowFlags||(lm.FlowFlags={}))[cm.Unreachable=1]="Unreachable",cm[cm.Start=2]="Start",cm[cm.BranchLabel=4]="BranchLabel",cm[cm.LoopLabel=8]="LoopLabel",cm[cm.Assignment=16]="Assignment",cm[cm.TrueCondition=32]="TrueCondition",cm[cm.FalseCondition=64]="FalseCondition",cm[cm.SwitchClause=128]="SwitchClause",cm[cm.ArrayMutation=256]="ArrayMutation",cm[cm.Call=512]="Call",cm[cm.ReduceLabel=1024]="ReduceLabel",cm[cm.Referenced=2048]="Referenced",cm[cm.Shared=4096]="Shared",cm[cm.Label=12]="Label",cm[cm.Condition=96]="Condition",(cm=lm.CommentDirectiveType||(lm.CommentDirectiveType={}))[cm.ExpectError=0]="ExpectError",cm[cm.Ignore=1]="Ignore",lm.OperationCanceledException=mm,(cm=lm.FileIncludeKind||(lm.FileIncludeKind={}))[cm.RootFile=0]="RootFile",cm[cm.SourceFromProjectReference=1]="SourceFromProjectReference",cm[cm.OutputFromProjectReference=2]="OutputFromProjectReference",cm[cm.Import=3]="Import",cm[cm.ReferenceFile=4]="ReferenceFile",cm[cm.TypeReferenceDirective=5]="TypeReferenceDirective",cm[cm.LibFile=6]="LibFile",cm[cm.LibReferenceDirective=7]="LibReferenceDirective",cm[cm.AutomaticTypeDirectiveFile=8]="AutomaticTypeDirectiveFile",(cm=lm.FilePreprocessingDiagnosticsKind||(lm.FilePreprocessingDiagnosticsKind={}))[cm.FilePreprocessingReferencedDiagnostic=0]="FilePreprocessingReferencedDiagnostic",cm[cm.FilePreprocessingFileExplainingDiagnostic=1]="FilePreprocessingFileExplainingDiagnostic",(cm=lm.StructureIsReused||(lm.StructureIsReused={}))[cm.Not=0]="Not",cm[cm.SafeModules=1]="SafeModules",cm[cm.Completely=2]="Completely",(cm=lm.ExitStatus||(lm.ExitStatus={}))[cm.Success=0]="Success",cm[cm.DiagnosticsPresent_OutputsSkipped=1]="DiagnosticsPresent_OutputsSkipped",cm[cm.DiagnosticsPresent_OutputsGenerated=2]="DiagnosticsPresent_OutputsGenerated",cm[cm.InvalidProject_OutputsSkipped=3]="InvalidProject_OutputsSkipped",cm[cm.ProjectReferenceCycle_OutputsSkipped=4]="ProjectReferenceCycle_OutputsSkipped",cm[cm.ProjectReferenceCycle_OutputsSkupped=4]="ProjectReferenceCycle_OutputsSkupped",(cm=lm.UnionReduction||(lm.UnionReduction={}))[cm.None=0]="None",cm[cm.Literal=1]="Literal",cm[cm.Subtype=2]="Subtype",(cm=lm.ContextFlags||(lm.ContextFlags={}))[cm.None=0]="None",cm[cm.Signature=1]="Signature",cm[cm.NoConstraints=2]="NoConstraints",cm[cm.Completions=4]="Completions",cm[cm.SkipBindingPatterns=8]="SkipBindingPatterns",(cm=lm.NodeBuilderFlags||(lm.NodeBuilderFlags={}))[cm.None=0]="None",cm[cm.NoTruncation=1]="NoTruncation",cm[cm.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",cm[cm.GenerateNamesForShadowedTypeParams=4]="GenerateNamesForShadowedTypeParams",cm[cm.UseStructuralFallback=8]="UseStructuralFallback",cm[cm.ForbidIndexedAccessSymbolReferences=16]="ForbidIndexedAccessSymbolReferences",cm[cm.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",cm[cm.UseFullyQualifiedType=64]="UseFullyQualifiedType",cm[cm.UseOnlyExternalAliasing=128]="UseOnlyExternalAliasing",cm[cm.SuppressAnyReturnType=256]="SuppressAnyReturnType",cm[cm.WriteTypeParametersInQualifiedName=512]="WriteTypeParametersInQualifiedName",cm[cm.MultilineObjectLiterals=1024]="MultilineObjectLiterals",cm[cm.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",cm[cm.UseTypeOfFunction=4096]="UseTypeOfFunction",cm[cm.OmitParameterModifiers=8192]="OmitParameterModifiers",cm[cm.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",cm[cm.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",cm[cm.NoTypeReduction=536870912]="NoTypeReduction",cm[cm.NoUndefinedOptionalParameterType=1073741824]="NoUndefinedOptionalParameterType",cm[cm.AllowThisInObjectLiteral=32768]="AllowThisInObjectLiteral",cm[cm.AllowQualifiedNameInPlaceOfIdentifier=65536]="AllowQualifiedNameInPlaceOfIdentifier",cm[cm.AllowQualifedNameInPlaceOfIdentifier=65536]="AllowQualifedNameInPlaceOfIdentifier",cm[cm.AllowAnonymousIdentifier=131072]="AllowAnonymousIdentifier",cm[cm.AllowEmptyUnionOrIntersection=262144]="AllowEmptyUnionOrIntersection",cm[cm.AllowEmptyTuple=524288]="AllowEmptyTuple",cm[cm.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",cm[cm.AllowEmptyIndexInfoType=2097152]="AllowEmptyIndexInfoType",cm[cm.AllowNodeModulesRelativePaths=67108864]="AllowNodeModulesRelativePaths",cm[cm.DoNotIncludeSymbolChain=134217728]="DoNotIncludeSymbolChain",cm[cm.IgnoreErrors=70221824]="IgnoreErrors",cm[cm.InObjectTypeLiteral=4194304]="InObjectTypeLiteral",cm[cm.InTypeAlias=8388608]="InTypeAlias",cm[cm.InInitialEntityName=16777216]="InInitialEntityName",(cm=lm.TypeFormatFlags||(lm.TypeFormatFlags={}))[cm.None=0]="None",cm[cm.NoTruncation=1]="NoTruncation",cm[cm.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",cm[cm.UseStructuralFallback=8]="UseStructuralFallback",cm[cm.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",cm[cm.UseFullyQualifiedType=64]="UseFullyQualifiedType",cm[cm.SuppressAnyReturnType=256]="SuppressAnyReturnType",cm[cm.MultilineObjectLiterals=1024]="MultilineObjectLiterals",cm[cm.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",cm[cm.UseTypeOfFunction=4096]="UseTypeOfFunction",cm[cm.OmitParameterModifiers=8192]="OmitParameterModifiers",cm[cm.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",cm[cm.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",cm[cm.NoTypeReduction=536870912]="NoTypeReduction",cm[cm.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",cm[cm.AddUndefined=131072]="AddUndefined",cm[cm.WriteArrowStyleSignature=262144]="WriteArrowStyleSignature",cm[cm.InArrayType=524288]="InArrayType",cm[cm.InElementType=2097152]="InElementType",cm[cm.InFirstTypeArgument=4194304]="InFirstTypeArgument",cm[cm.InTypeAlias=8388608]="InTypeAlias",cm[cm.WriteOwnNameForAnyLike=0]="WriteOwnNameForAnyLike",cm[cm.NodeBuilderFlagsMask=814775659]="NodeBuilderFlagsMask",(cm=lm.SymbolFormatFlags||(lm.SymbolFormatFlags={}))[cm.None=0]="None",cm[cm.WriteTypeParametersOrArguments=1]="WriteTypeParametersOrArguments",cm[cm.UseOnlyExternalAliasing=2]="UseOnlyExternalAliasing",cm[cm.AllowAnyNodeKind=4]="AllowAnyNodeKind",cm[cm.UseAliasDefinedOutsideCurrentScope=8]="UseAliasDefinedOutsideCurrentScope",cm[cm.DoNotIncludeSymbolChain=16]="DoNotIncludeSymbolChain",(cm=lm.SymbolAccessibility||(lm.SymbolAccessibility={}))[cm.Accessible=0]="Accessible",cm[cm.NotAccessible=1]="NotAccessible",cm[cm.CannotBeNamed=2]="CannotBeNamed",(cm=lm.SyntheticSymbolKind||(lm.SyntheticSymbolKind={}))[cm.UnionOrIntersection=0]="UnionOrIntersection",cm[cm.Spread=1]="Spread",(cm=lm.TypePredicateKind||(lm.TypePredicateKind={}))[cm.This=0]="This",cm[cm.Identifier=1]="Identifier",cm[cm.AssertsThis=2]="AssertsThis",cm[cm.AssertsIdentifier=3]="AssertsIdentifier",(cm=lm.TypeReferenceSerializationKind||(lm.TypeReferenceSerializationKind={}))[cm.Unknown=0]="Unknown",cm[cm.TypeWithConstructSignatureAndValue=1]="TypeWithConstructSignatureAndValue",cm[cm.VoidNullableOrNeverType=2]="VoidNullableOrNeverType",cm[cm.NumberLikeType=3]="NumberLikeType",cm[cm.BigIntLikeType=4]="BigIntLikeType",cm[cm.StringLikeType=5]="StringLikeType",cm[cm.BooleanType=6]="BooleanType",cm[cm.ArrayLikeType=7]="ArrayLikeType",cm[cm.ESSymbolType=8]="ESSymbolType",cm[cm.Promise=9]="Promise",cm[cm.TypeWithCallSignature=10]="TypeWithCallSignature",cm[cm.ObjectType=11]="ObjectType",(cm=lm.SymbolFlags||(lm.SymbolFlags={}))[cm.None=0]="None",cm[cm.FunctionScopedVariable=1]="FunctionScopedVariable",cm[cm.BlockScopedVariable=2]="BlockScopedVariable",cm[cm.Property=4]="Property",cm[cm.EnumMember=8]="EnumMember",cm[cm.Function=16]="Function",cm[cm.Class=32]="Class",cm[cm.Interface=64]="Interface",cm[cm.ConstEnum=128]="ConstEnum",cm[cm.RegularEnum=256]="RegularEnum",cm[cm.ValueModule=512]="ValueModule",cm[cm.NamespaceModule=1024]="NamespaceModule",cm[cm.TypeLiteral=2048]="TypeLiteral",cm[cm.ObjectLiteral=4096]="ObjectLiteral",cm[cm.Method=8192]="Method",cm[cm.Constructor=16384]="Constructor",cm[cm.GetAccessor=32768]="GetAccessor",cm[cm.SetAccessor=65536]="SetAccessor",cm[cm.Signature=131072]="Signature",cm[cm.TypeParameter=262144]="TypeParameter",cm[cm.TypeAlias=524288]="TypeAlias",cm[cm.ExportValue=1048576]="ExportValue",cm[cm.Alias=2097152]="Alias",cm[cm.Prototype=4194304]="Prototype",cm[cm.ExportStar=8388608]="ExportStar",cm[cm.Optional=16777216]="Optional",cm[cm.Transient=33554432]="Transient",cm[cm.Assignment=67108864]="Assignment",cm[cm.ModuleExports=134217728]="ModuleExports",cm[cm.All=67108863]="All",cm[cm.Enum=384]="Enum",cm[cm.Variable=3]="Variable",cm[cm.Value=111551]="Value",cm[cm.Type=788968]="Type",cm[cm.Namespace=1920]="Namespace",cm[cm.Module=1536]="Module",cm[cm.Accessor=98304]="Accessor",cm[cm.FunctionScopedVariableExcludes=111550]="FunctionScopedVariableExcludes",cm[cm.BlockScopedVariableExcludes=111551]="BlockScopedVariableExcludes",cm[cm.ParameterExcludes=111551]="ParameterExcludes",cm[cm.PropertyExcludes=0]="PropertyExcludes",cm[cm.EnumMemberExcludes=900095]="EnumMemberExcludes",cm[cm.FunctionExcludes=110991]="FunctionExcludes",cm[cm.ClassExcludes=899503]="ClassExcludes",cm[cm.InterfaceExcludes=788872]="InterfaceExcludes",cm[cm.RegularEnumExcludes=899327]="RegularEnumExcludes",cm[cm.ConstEnumExcludes=899967]="ConstEnumExcludes",cm[cm.ValueModuleExcludes=110735]="ValueModuleExcludes",cm[cm.NamespaceModuleExcludes=0]="NamespaceModuleExcludes",cm[cm.MethodExcludes=103359]="MethodExcludes",cm[cm.GetAccessorExcludes=46015]="GetAccessorExcludes",cm[cm.SetAccessorExcludes=78783]="SetAccessorExcludes",cm[cm.TypeParameterExcludes=526824]="TypeParameterExcludes",cm[cm.TypeAliasExcludes=788968]="TypeAliasExcludes",cm[cm.AliasExcludes=2097152]="AliasExcludes",cm[cm.ModuleMember=2623475]="ModuleMember",cm[cm.ExportHasLocal=944]="ExportHasLocal",cm[cm.BlockScoped=418]="BlockScoped",cm[cm.PropertyOrAccessor=98308]="PropertyOrAccessor",cm[cm.ClassMember=106500]="ClassMember",cm[cm.ExportSupportsDefaultModifier=112]="ExportSupportsDefaultModifier",cm[cm.ExportDoesNotSupportDefaultModifier=-113]="ExportDoesNotSupportDefaultModifier",cm[cm.Classifiable=2885600]="Classifiable",cm[cm.LateBindingContainer=6256]="LateBindingContainer",(cm=lm.EnumKind||(lm.EnumKind={}))[cm.Numeric=0]="Numeric",cm[cm.Literal=1]="Literal",(cm=lm.CheckFlags||(lm.CheckFlags={}))[cm.Instantiated=1]="Instantiated",cm[cm.SyntheticProperty=2]="SyntheticProperty",cm[cm.SyntheticMethod=4]="SyntheticMethod",cm[cm.Readonly=8]="Readonly",cm[cm.ReadPartial=16]="ReadPartial",cm[cm.WritePartial=32]="WritePartial",cm[cm.HasNonUniformType=64]="HasNonUniformType",cm[cm.HasLiteralType=128]="HasLiteralType",cm[cm.ContainsPublic=256]="ContainsPublic",cm[cm.ContainsProtected=512]="ContainsProtected",cm[cm.ContainsPrivate=1024]="ContainsPrivate",cm[cm.ContainsStatic=2048]="ContainsStatic",cm[cm.Late=4096]="Late",cm[cm.ReverseMapped=8192]="ReverseMapped",cm[cm.OptionalParameter=16384]="OptionalParameter",cm[cm.RestParameter=32768]="RestParameter",cm[cm.DeferredType=65536]="DeferredType",cm[cm.HasNeverType=131072]="HasNeverType",cm[cm.Mapped=262144]="Mapped",cm[cm.StripOptional=524288]="StripOptional",cm[cm.Synthetic=6]="Synthetic",cm[cm.Discriminant=192]="Discriminant",cm[cm.Partial=48]="Partial",(cm=lm.InternalSymbolName||(lm.InternalSymbolName={})).Call="__call",cm.Constructor="__constructor",cm.New="__new",cm.Index="__index",cm.ExportStar="__export",cm.Global="__global",cm.Missing="__missing",cm.Type="__type",cm.Object="__object",cm.JSXAttributes="__jsxAttributes",cm.Class="__class",cm.Function="__function",cm.Computed="__computed",cm.Resolving="__resolving__",cm.ExportEquals="export=",cm.Default="default",cm.This="this",(cm=lm.NodeCheckFlags||(lm.NodeCheckFlags={}))[cm.TypeChecked=1]="TypeChecked",cm[cm.LexicalThis=2]="LexicalThis",cm[cm.CaptureThis=4]="CaptureThis",cm[cm.CaptureNewTarget=8]="CaptureNewTarget",cm[cm.SuperInstance=256]="SuperInstance",cm[cm.SuperStatic=512]="SuperStatic",cm[cm.ContextChecked=1024]="ContextChecked",cm[cm.AsyncMethodWithSuper=2048]="AsyncMethodWithSuper",cm[cm.AsyncMethodWithSuperBinding=4096]="AsyncMethodWithSuperBinding",cm[cm.CaptureArguments=8192]="CaptureArguments",cm[cm.EnumValuesComputed=16384]="EnumValuesComputed",cm[cm.LexicalModuleMergesWithClass=32768]="LexicalModuleMergesWithClass",cm[cm.LoopWithCapturedBlockScopedBinding=65536]="LoopWithCapturedBlockScopedBinding",cm[cm.ContainsCapturedBlockScopeBinding=131072]="ContainsCapturedBlockScopeBinding",cm[cm.CapturedBlockScopedBinding=262144]="CapturedBlockScopedBinding",cm[cm.BlockScopedBindingInLoop=524288]="BlockScopedBindingInLoop",cm[cm.ClassWithBodyScopedClassBinding=1048576]="ClassWithBodyScopedClassBinding",cm[cm.BodyScopedClassBinding=2097152]="BodyScopedClassBinding",cm[cm.NeedsLoopOutParameter=4194304]="NeedsLoopOutParameter",cm[cm.AssignmentsMarked=8388608]="AssignmentsMarked",cm[cm.ClassWithConstructorReference=16777216]="ClassWithConstructorReference",cm[cm.ConstructorReferenceInClass=33554432]="ConstructorReferenceInClass",cm[cm.ContainsClassWithPrivateIdentifiers=67108864]="ContainsClassWithPrivateIdentifiers",cm[cm.ContainsSuperPropertyInStaticInitializer=134217728]="ContainsSuperPropertyInStaticInitializer",(cm=lm.TypeFlags||(lm.TypeFlags={}))[cm.Any=1]="Any",cm[cm.Unknown=2]="Unknown",cm[cm.String=4]="String",cm[cm.Number=8]="Number",cm[cm.Boolean=16]="Boolean",cm[cm.Enum=32]="Enum",cm[cm.BigInt=64]="BigInt",cm[cm.StringLiteral=128]="StringLiteral",cm[cm.NumberLiteral=256]="NumberLiteral",cm[cm.BooleanLiteral=512]="BooleanLiteral",cm[cm.EnumLiteral=1024]="EnumLiteral",cm[cm.BigIntLiteral=2048]="BigIntLiteral",cm[cm.ESSymbol=4096]="ESSymbol",cm[cm.UniqueESSymbol=8192]="UniqueESSymbol",cm[cm.Void=16384]="Void",cm[cm.Undefined=32768]="Undefined",cm[cm.Null=65536]="Null",cm[cm.Never=131072]="Never",cm[cm.TypeParameter=262144]="TypeParameter",cm[cm.Object=524288]="Object",cm[cm.Union=1048576]="Union",cm[cm.Intersection=2097152]="Intersection",cm[cm.Index=4194304]="Index",cm[cm.IndexedAccess=8388608]="IndexedAccess",cm[cm.Conditional=16777216]="Conditional",cm[cm.Substitution=33554432]="Substitution",cm[cm.NonPrimitive=67108864]="NonPrimitive",cm[cm.TemplateLiteral=134217728]="TemplateLiteral",cm[cm.StringMapping=268435456]="StringMapping",cm[cm.AnyOrUnknown=3]="AnyOrUnknown",cm[cm.Nullable=98304]="Nullable",cm[cm.Literal=2944]="Literal",cm[cm.Unit=109440]="Unit",cm[cm.StringOrNumberLiteral=384]="StringOrNumberLiteral",cm[cm.StringOrNumberLiteralOrUnique=8576]="StringOrNumberLiteralOrUnique",cm[cm.DefinitelyFalsy=117632]="DefinitelyFalsy",cm[cm.PossiblyFalsy=117724]="PossiblyFalsy",cm[cm.Intrinsic=67359327]="Intrinsic",cm[cm.Primitive=131068]="Primitive",cm[cm.StringLike=402653316]="StringLike",cm[cm.NumberLike=296]="NumberLike",cm[cm.BigIntLike=2112]="BigIntLike",cm[cm.BooleanLike=528]="BooleanLike",cm[cm.EnumLike=1056]="EnumLike",cm[cm.ESSymbolLike=12288]="ESSymbolLike",cm[cm.VoidLike=49152]="VoidLike",cm[cm.DisjointDomains=469892092]="DisjointDomains",cm[cm.UnionOrIntersection=3145728]="UnionOrIntersection",cm[cm.StructuredType=3670016]="StructuredType",cm[cm.TypeVariable=8650752]="TypeVariable",cm[cm.InstantiableNonPrimitive=58982400]="InstantiableNonPrimitive",cm[cm.InstantiablePrimitive=406847488]="InstantiablePrimitive",cm[cm.Instantiable=465829888]="Instantiable",cm[cm.StructuredOrInstantiable=469499904]="StructuredOrInstantiable",cm[cm.ObjectFlagsType=3899393]="ObjectFlagsType",cm[cm.Simplifiable=25165824]="Simplifiable",cm[cm.Singleton=67358815]="Singleton",cm[cm.Narrowable=536624127]="Narrowable",cm[cm.NotPrimitiveUnion=468598819]="NotPrimitiveUnion",cm[cm.IncludesMask=205258751]="IncludesMask",cm[cm.IncludesStructuredOrInstantiable=262144]="IncludesStructuredOrInstantiable",cm[cm.IncludesNonWideningType=4194304]="IncludesNonWideningType",cm[cm.IncludesWildcard=8388608]="IncludesWildcard",cm[cm.IncludesEmptyObject=16777216]="IncludesEmptyObject",(cm=lm.ObjectFlags||(lm.ObjectFlags={}))[cm.Class=1]="Class",cm[cm.Interface=2]="Interface",cm[cm.Reference=4]="Reference",cm[cm.Tuple=8]="Tuple",cm[cm.Anonymous=16]="Anonymous",cm[cm.Mapped=32]="Mapped",cm[cm.Instantiated=64]="Instantiated",cm[cm.ObjectLiteral=128]="ObjectLiteral",cm[cm.EvolvingArray=256]="EvolvingArray",cm[cm.ObjectLiteralPatternWithComputedProperties=512]="ObjectLiteralPatternWithComputedProperties",cm[cm.ReverseMapped=1024]="ReverseMapped",cm[cm.JsxAttributes=2048]="JsxAttributes",cm[cm.MarkerType=4096]="MarkerType",cm[cm.JSLiteral=8192]="JSLiteral",cm[cm.FreshLiteral=16384]="FreshLiteral",cm[cm.ArrayLiteral=32768]="ArrayLiteral",cm[cm.PrimitiveUnion=65536]="PrimitiveUnion",cm[cm.ContainsWideningType=131072]="ContainsWideningType",cm[cm.ContainsObjectOrArrayLiteral=262144]="ContainsObjectOrArrayLiteral",cm[cm.NonInferrableType=524288]="NonInferrableType",cm[cm.CouldContainTypeVariablesComputed=1048576]="CouldContainTypeVariablesComputed",cm[cm.CouldContainTypeVariables=2097152]="CouldContainTypeVariables",cm[cm.ClassOrInterface=3]="ClassOrInterface",cm[cm.RequiresWidening=393216]="RequiresWidening",cm[cm.PropagatingFlags=917504]="PropagatingFlags",cm[cm.ObjectTypeKindMask=1343]="ObjectTypeKindMask",cm[cm.ContainsSpread=4194304]="ContainsSpread",cm[cm.ObjectRestType=8388608]="ObjectRestType",cm[cm.IsClassInstanceClone=16777216]="IsClassInstanceClone",cm[cm.IdenticalBaseTypeCalculated=33554432]="IdenticalBaseTypeCalculated",cm[cm.IdenticalBaseTypeExists=67108864]="IdenticalBaseTypeExists",cm[cm.IsGenericTypeComputed=4194304]="IsGenericTypeComputed",cm[cm.IsGenericObjectType=8388608]="IsGenericObjectType",cm[cm.IsGenericIndexType=16777216]="IsGenericIndexType",cm[cm.IsGenericType=25165824]="IsGenericType",cm[cm.ContainsIntersections=33554432]="ContainsIntersections",cm[cm.IsNeverIntersectionComputed=33554432]="IsNeverIntersectionComputed",cm[cm.IsNeverIntersection=67108864]="IsNeverIntersection",(cm=lm.VarianceFlags||(lm.VarianceFlags={}))[cm.Invariant=0]="Invariant",cm[cm.Covariant=1]="Covariant",cm[cm.Contravariant=2]="Contravariant",cm[cm.Bivariant=3]="Bivariant",cm[cm.Independent=4]="Independent",cm[cm.VarianceMask=7]="VarianceMask",cm[cm.Unmeasurable=8]="Unmeasurable",cm[cm.Unreliable=16]="Unreliable",cm[cm.AllowsStructuralFallback=24]="AllowsStructuralFallback",(cm=lm.ElementFlags||(lm.ElementFlags={}))[cm.Required=1]="Required",cm[cm.Optional=2]="Optional",cm[cm.Rest=4]="Rest",cm[cm.Variadic=8]="Variadic",cm[cm.Fixed=3]="Fixed",cm[cm.Variable=12]="Variable",cm[cm.NonRequired=14]="NonRequired",cm[cm.NonRest=11]="NonRest",(cm=lm.AccessFlags||(lm.AccessFlags={}))[cm.None=0]="None",cm[cm.IncludeUndefined=1]="IncludeUndefined",cm[cm.NoIndexSignatures=2]="NoIndexSignatures",cm[cm.Writing=4]="Writing",cm[cm.CacheSymbol=8]="CacheSymbol",cm[cm.NoTupleBoundsCheck=16]="NoTupleBoundsCheck",cm[cm.ExpressionPosition=32]="ExpressionPosition",cm[cm.ReportDeprecated=64]="ReportDeprecated",cm[cm.SuppressNoImplicitAnyError=128]="SuppressNoImplicitAnyError",cm[cm.Contextual=256]="Contextual",cm[cm.Persistent=1]="Persistent",(cm=lm.JsxReferenceKind||(lm.JsxReferenceKind={}))[cm.Component=0]="Component",cm[cm.Function=1]="Function",cm[cm.Mixed=2]="Mixed",(cm=lm.SignatureKind||(lm.SignatureKind={}))[cm.Call=0]="Call",cm[cm.Construct=1]="Construct",(cm=lm.SignatureFlags||(lm.SignatureFlags={}))[cm.None=0]="None",cm[cm.HasRestParameter=1]="HasRestParameter",cm[cm.HasLiteralTypes=2]="HasLiteralTypes",cm[cm.Abstract=4]="Abstract",cm[cm.IsInnerCallChain=8]="IsInnerCallChain",cm[cm.IsOuterCallChain=16]="IsOuterCallChain",cm[cm.IsUntypedSignatureInJSFile=32]="IsUntypedSignatureInJSFile",cm[cm.PropagatingFlags=39]="PropagatingFlags",cm[cm.CallChainFlags=24]="CallChainFlags",(cm=lm.IndexKind||(lm.IndexKind={}))[cm.String=0]="String",cm[cm.Number=1]="Number",(cm=lm.TypeMapKind||(lm.TypeMapKind={}))[cm.Simple=0]="Simple",cm[cm.Array=1]="Array",cm[cm.Function=2]="Function",cm[cm.Composite=3]="Composite",cm[cm.Merged=4]="Merged",(cm=lm.InferencePriority||(lm.InferencePriority={}))[cm.NakedTypeVariable=1]="NakedTypeVariable",cm[cm.SpeculativeTuple=2]="SpeculativeTuple",cm[cm.SubstituteSource=4]="SubstituteSource",cm[cm.HomomorphicMappedType=8]="HomomorphicMappedType",cm[cm.PartialHomomorphicMappedType=16]="PartialHomomorphicMappedType",cm[cm.MappedTypeConstraint=32]="MappedTypeConstraint",cm[cm.ContravariantConditional=64]="ContravariantConditional",cm[cm.ReturnType=128]="ReturnType",cm[cm.LiteralKeyof=256]="LiteralKeyof",cm[cm.NoConstraints=512]="NoConstraints",cm[cm.AlwaysStrict=1024]="AlwaysStrict",cm[cm.MaxValue=2048]="MaxValue",cm[cm.PriorityImpliesCombination=416]="PriorityImpliesCombination",cm[cm.Circularity=-1]="Circularity",(cm=lm.InferenceFlags||(lm.InferenceFlags={}))[cm.None=0]="None",cm[cm.NoDefault=1]="NoDefault",cm[cm.AnyDefault=2]="AnyDefault",cm[cm.SkippedGenericFunction=4]="SkippedGenericFunction",(cm=lm.Ternary||(lm.Ternary={}))[cm.False=0]="False",cm[cm.Unknown=1]="Unknown",cm[cm.Maybe=3]="Maybe",cm[cm.True=-1]="True",(cm=lm.AssignmentDeclarationKind||(lm.AssignmentDeclarationKind={}))[cm.None=0]="None",cm[cm.ExportsProperty=1]="ExportsProperty",cm[cm.ModuleExports=2]="ModuleExports",cm[cm.PrototypeProperty=3]="PrototypeProperty",cm[cm.ThisProperty=4]="ThisProperty",cm[cm.Property=5]="Property",cm[cm.Prototype=6]="Prototype",cm[cm.ObjectDefinePropertyValue=7]="ObjectDefinePropertyValue",cm[cm.ObjectDefinePropertyExports=8]="ObjectDefinePropertyExports",cm[cm.ObjectDefinePrototypeProperty=9]="ObjectDefinePrototypeProperty",(cm=Y=lm.DiagnosticCategory||(lm.DiagnosticCategory={}))[cm.Warning=0]="Warning",cm[cm.Error=1]="Error",cm[cm.Suggestion=2]="Suggestion",cm[cm.Message=3]="Message",lm.diagnosticCategoryName=function(e,n){return e=Y[e.category],(n=void 0===n||n)?e.toLowerCase():e},(cm=lm.ModuleResolutionKind||(lm.ModuleResolutionKind={}))[cm.Classic=1]="Classic",cm[cm.NodeJs=2]="NodeJs",(cm=lm.WatchFileKind||(lm.WatchFileKind={}))[cm.FixedPollingInterval=0]="FixedPollingInterval",cm[cm.PriorityPollingInterval=1]="PriorityPollingInterval",cm[cm.DynamicPriorityPolling=2]="DynamicPriorityPolling",cm[cm.FixedChunkSizePolling=3]="FixedChunkSizePolling",cm[cm.UseFsEvents=4]="UseFsEvents",cm[cm.UseFsEventsOnParentDirectory=5]="UseFsEventsOnParentDirectory",(cm=lm.WatchDirectoryKind||(lm.WatchDirectoryKind={}))[cm.UseFsEvents=0]="UseFsEvents",cm[cm.FixedPollingInterval=1]="FixedPollingInterval",cm[cm.DynamicPriorityPolling=2]="DynamicPriorityPolling",cm[cm.FixedChunkSizePolling=3]="FixedChunkSizePolling",(cm=lm.PollingWatchKind||(lm.PollingWatchKind={}))[cm.FixedInterval=0]="FixedInterval",cm[cm.PriorityInterval=1]="PriorityInterval",cm[cm.DynamicPriority=2]="DynamicPriority",cm[cm.FixedChunkSize=3]="FixedChunkSize",(cm=lm.ModuleKind||(lm.ModuleKind={}))[cm.None=0]="None",cm[cm.CommonJS=1]="CommonJS",cm[cm.AMD=2]="AMD",cm[cm.UMD=3]="UMD",cm[cm.System=4]="System",cm[cm.ES2015=5]="ES2015",cm[cm.ES2020=6]="ES2020",cm[cm.ESNext=99]="ESNext",(cm=lm.JsxEmit||(lm.JsxEmit={}))[cm.None=0]="None",cm[cm.Preserve=1]="Preserve",cm[cm.React=2]="React",cm[cm.ReactNative=3]="ReactNative",cm[cm.ReactJSX=4]="ReactJSX",cm[cm.ReactJSXDev=5]="ReactJSXDev",(cm=lm.ImportsNotUsedAsValues||(lm.ImportsNotUsedAsValues={}))[cm.Remove=0]="Remove",cm[cm.Preserve=1]="Preserve",cm[cm.Error=2]="Error",(cm=lm.NewLineKind||(lm.NewLineKind={}))[cm.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",cm[cm.LineFeed=1]="LineFeed",(cm=lm.ScriptKind||(lm.ScriptKind={}))[cm.Unknown=0]="Unknown",cm[cm.JS=1]="JS",cm[cm.JSX=2]="JSX",cm[cm.TS=3]="TS",cm[cm.TSX=4]="TSX",cm[cm.External=5]="External",cm[cm.JSON=6]="JSON",cm[cm.Deferred=7]="Deferred",(cm=lm.ScriptTarget||(lm.ScriptTarget={}))[cm.ES3=0]="ES3",cm[cm.ES5=1]="ES5",cm[cm.ES2015=2]="ES2015",cm[cm.ES2016=3]="ES2016",cm[cm.ES2017=4]="ES2017",cm[cm.ES2018=5]="ES2018",cm[cm.ES2019=6]="ES2019",cm[cm.ES2020=7]="ES2020",cm[cm.ES2021=8]="ES2021",cm[cm.ESNext=99]="ESNext",cm[cm.JSON=100]="JSON",cm[cm.Latest=99]="Latest",(cm=lm.LanguageVariant||(lm.LanguageVariant={}))[cm.Standard=0]="Standard",cm[cm.JSX=1]="JSX",(cm=lm.WatchDirectoryFlags||(lm.WatchDirectoryFlags={}))[cm.None=0]="None",cm[cm.Recursive=1]="Recursive",(cm=lm.CharacterCodes||(lm.CharacterCodes={}))[cm.nullCharacter=0]="nullCharacter",cm[cm.maxAsciiCharacter=127]="maxAsciiCharacter",cm[cm.lineFeed=10]="lineFeed",cm[cm.carriageReturn=13]="carriageReturn",cm[cm.lineSeparator=8232]="lineSeparator",cm[cm.paragraphSeparator=8233]="paragraphSeparator",cm[cm.nextLine=133]="nextLine",cm[cm.space=32]="space",cm[cm.nonBreakingSpace=160]="nonBreakingSpace",cm[cm.enQuad=8192]="enQuad",cm[cm.emQuad=8193]="emQuad",cm[cm.enSpace=8194]="enSpace",cm[cm.emSpace=8195]="emSpace",cm[cm.threePerEmSpace=8196]="threePerEmSpace",cm[cm.fourPerEmSpace=8197]="fourPerEmSpace",cm[cm.sixPerEmSpace=8198]="sixPerEmSpace",cm[cm.figureSpace=8199]="figureSpace",cm[cm.punctuationSpace=8200]="punctuationSpace",cm[cm.thinSpace=8201]="thinSpace",cm[cm.hairSpace=8202]="hairSpace",cm[cm.zeroWidthSpace=8203]="zeroWidthSpace",cm[cm.narrowNoBreakSpace=8239]="narrowNoBreakSpace",cm[cm.ideographicSpace=12288]="ideographicSpace",cm[cm.mathematicalSpace=8287]="mathematicalSpace",cm[cm.ogham=5760]="ogham",cm[cm._=95]="_",cm[cm.$=36]="$",cm[cm._0=48]="_0",cm[cm._1=49]="_1",cm[cm._2=50]="_2",cm[cm._3=51]="_3",cm[cm._4=52]="_4",cm[cm._5=53]="_5",cm[cm._6=54]="_6",cm[cm._7=55]="_7",cm[cm._8=56]="_8",cm[cm._9=57]="_9",cm[cm.a=97]="a",cm[cm.b=98]="b",cm[cm.c=99]="c",cm[cm.d=100]="d",cm[cm.e=101]="e",cm[cm.f=102]="f",cm[cm.g=103]="g",cm[cm.h=104]="h",cm[cm.i=105]="i",cm[cm.j=106]="j",cm[cm.k=107]="k",cm[cm.l=108]="l",cm[cm.m=109]="m",cm[cm.n=110]="n",cm[cm.o=111]="o",cm[cm.p=112]="p",cm[cm.q=113]="q",cm[cm.r=114]="r",cm[cm.s=115]="s",cm[cm.t=116]="t",cm[cm.u=117]="u",cm[cm.v=118]="v",cm[cm.w=119]="w",cm[cm.x=120]="x",cm[cm.y=121]="y",cm[cm.z=122]="z",cm[cm.A=65]="A",cm[cm.B=66]="B",cm[cm.C=67]="C",cm[cm.D=68]="D",cm[cm.E=69]="E",cm[cm.F=70]="F",cm[cm.G=71]="G",cm[cm.H=72]="H",cm[cm.I=73]="I",cm[cm.J=74]="J",cm[cm.K=75]="K",cm[cm.L=76]="L",cm[cm.M=77]="M",cm[cm.N=78]="N",cm[cm.O=79]="O",cm[cm.P=80]="P",cm[cm.Q=81]="Q",cm[cm.R=82]="R",cm[cm.S=83]="S",cm[cm.T=84]="T",cm[cm.U=85]="U",cm[cm.V=86]="V",cm[cm.W=87]="W",cm[cm.X=88]="X",cm[cm.Y=89]="Y",cm[cm.Z=90]="Z",cm[cm.ampersand=38]="ampersand",cm[cm.asterisk=42]="asterisk",cm[cm.at=64]="at",cm[cm.backslash=92]="backslash",cm[cm.backtick=96]="backtick",cm[cm.bar=124]="bar",cm[cm.caret=94]="caret",cm[cm.closeBrace=125]="closeBrace",cm[cm.closeBracket=93]="closeBracket",cm[cm.closeParen=41]="closeParen",cm[cm.colon=58]="colon",cm[cm.comma=44]="comma",cm[cm.dot=46]="dot",cm[cm.doubleQuote=34]="doubleQuote",cm[cm.equals=61]="equals",cm[cm.exclamation=33]="exclamation",cm[cm.greaterThan=62]="greaterThan",cm[cm.hash=35]="hash",cm[cm.lessThan=60]="lessThan",cm[cm.minus=45]="minus",cm[cm.openBrace=123]="openBrace",cm[cm.openBracket=91]="openBracket",cm[cm.openParen=40]="openParen",cm[cm.percent=37]="percent",cm[cm.plus=43]="plus",cm[cm.question=63]="question",cm[cm.semicolon=59]="semicolon",cm[cm.singleQuote=39]="singleQuote",cm[cm.slash=47]="slash",cm[cm.tilde=126]="tilde",cm[cm.backspace=8]="backspace",cm[cm.formFeed=12]="formFeed",cm[cm.byteOrderMark=65279]="byteOrderMark",cm[cm.tab=9]="tab",cm[cm.verticalTab=11]="verticalTab",(cm=lm.Extension||(lm.Extension={})).Ts=".ts",cm.Tsx=".tsx",cm.Dts=".d.ts",cm.Js=".js",cm.Jsx=".jsx",cm.Json=".json",cm.TsBuildInfo=".tsbuildinfo",(cm=lm.TransformFlags||(lm.TransformFlags={}))[cm.None=0]="None",cm[cm.ContainsTypeScript=1]="ContainsTypeScript",cm[cm.ContainsJsx=2]="ContainsJsx",cm[cm.ContainsESNext=4]="ContainsESNext",cm[cm.ContainsES2021=8]="ContainsES2021",cm[cm.ContainsES2020=16]="ContainsES2020",cm[cm.ContainsES2019=32]="ContainsES2019",cm[cm.ContainsES2018=64]="ContainsES2018",cm[cm.ContainsES2017=128]="ContainsES2017",cm[cm.ContainsES2016=256]="ContainsES2016",cm[cm.ContainsES2015=512]="ContainsES2015",cm[cm.ContainsGenerator=1024]="ContainsGenerator",cm[cm.ContainsDestructuringAssignment=2048]="ContainsDestructuringAssignment",cm[cm.ContainsTypeScriptClassSyntax=4096]="ContainsTypeScriptClassSyntax",cm[cm.ContainsLexicalThis=8192]="ContainsLexicalThis",cm[cm.ContainsRestOrSpread=16384]="ContainsRestOrSpread",cm[cm.ContainsObjectRestOrSpread=32768]="ContainsObjectRestOrSpread",cm[cm.ContainsComputedPropertyName=65536]="ContainsComputedPropertyName",cm[cm.ContainsBlockScopedBinding=131072]="ContainsBlockScopedBinding",cm[cm.ContainsBindingPattern=262144]="ContainsBindingPattern",cm[cm.ContainsYield=524288]="ContainsYield",cm[cm.ContainsAwait=1048576]="ContainsAwait",cm[cm.ContainsHoistedDeclarationOrCompletion=2097152]="ContainsHoistedDeclarationOrCompletion",cm[cm.ContainsDynamicImport=4194304]="ContainsDynamicImport",cm[cm.ContainsClassFields=8388608]="ContainsClassFields",cm[cm.ContainsPossibleTopLevelAwait=16777216]="ContainsPossibleTopLevelAwait",cm[cm.ContainsLexicalSuper=33554432]="ContainsLexicalSuper",cm[cm.ContainsUpdateExpressionForIdentifier=67108864]="ContainsUpdateExpressionForIdentifier",cm[cm.HasComputedFlags=536870912]="HasComputedFlags",cm[cm.AssertTypeScript=1]="AssertTypeScript",cm[cm.AssertJsx=2]="AssertJsx",cm[cm.AssertESNext=4]="AssertESNext",cm[cm.AssertES2021=8]="AssertES2021",cm[cm.AssertES2020=16]="AssertES2020",cm[cm.AssertES2019=32]="AssertES2019",cm[cm.AssertES2018=64]="AssertES2018",cm[cm.AssertES2017=128]="AssertES2017",cm[cm.AssertES2016=256]="AssertES2016",cm[cm.AssertES2015=512]="AssertES2015",cm[cm.AssertGenerator=1024]="AssertGenerator",cm[cm.AssertDestructuringAssignment=2048]="AssertDestructuringAssignment",cm[cm.OuterExpressionExcludes=536870912]="OuterExpressionExcludes",cm[cm.PropertyAccessExcludes=536870912]="PropertyAccessExcludes",cm[cm.NodeExcludes=536870912]="NodeExcludes",cm[cm.ArrowFunctionExcludes=557748224]="ArrowFunctionExcludes",cm[cm.FunctionExcludes=591310848]="FunctionExcludes",cm[cm.ConstructorExcludes=591306752]="ConstructorExcludes",cm[cm.MethodOrAccessorExcludes=574529536]="MethodOrAccessorExcludes",cm[cm.PropertyExcludes=570433536]="PropertyExcludes",cm[cm.ClassExcludes=536940544]="ClassExcludes",cm[cm.ModuleExcludes=589443072]="ModuleExcludes",cm[cm.TypeExcludes=-2]="TypeExcludes",cm[cm.ObjectLiteralExcludes=536973312]="ObjectLiteralExcludes",cm[cm.ArrayLiteralOrCallOrNewExcludes=536887296]="ArrayLiteralOrCallOrNewExcludes",cm[cm.VariableDeclarationListExcludes=537165824]="VariableDeclarationListExcludes",cm[cm.ParameterExcludes=536870912]="ParameterExcludes",cm[cm.CatchClauseExcludes=536903680]="CatchClauseExcludes",cm[cm.BindingPatternExcludes=536887296]="BindingPatternExcludes",cm[cm.ContainsLexicalThisOrSuper=33562624]="ContainsLexicalThisOrSuper",cm[cm.PropertyNamePropagatingFlags=33562624]="PropertyNamePropagatingFlags",(cm=lm.EmitFlags||(lm.EmitFlags={}))[cm.None=0]="None",cm[cm.SingleLine=1]="SingleLine",cm[cm.AdviseOnEmitNode=2]="AdviseOnEmitNode",cm[cm.NoSubstitution=4]="NoSubstitution",cm[cm.CapturesThis=8]="CapturesThis",cm[cm.NoLeadingSourceMap=16]="NoLeadingSourceMap",cm[cm.NoTrailingSourceMap=32]="NoTrailingSourceMap",cm[cm.NoSourceMap=48]="NoSourceMap",cm[cm.NoNestedSourceMaps=64]="NoNestedSourceMaps",cm[cm.NoTokenLeadingSourceMaps=128]="NoTokenLeadingSourceMaps",cm[cm.NoTokenTrailingSourceMaps=256]="NoTokenTrailingSourceMaps",cm[cm.NoTokenSourceMaps=384]="NoTokenSourceMaps",cm[cm.NoLeadingComments=512]="NoLeadingComments",cm[cm.NoTrailingComments=1024]="NoTrailingComments",cm[cm.NoComments=1536]="NoComments",cm[cm.NoNestedComments=2048]="NoNestedComments",cm[cm.HelperName=4096]="HelperName",cm[cm.ExportName=8192]="ExportName",cm[cm.LocalName=16384]="LocalName",cm[cm.InternalName=32768]="InternalName",cm[cm.Indented=65536]="Indented",cm[cm.NoIndentation=131072]="NoIndentation",cm[cm.AsyncFunctionBody=262144]="AsyncFunctionBody",cm[cm.ReuseTempVariableScope=524288]="ReuseTempVariableScope",cm[cm.CustomPrologue=1048576]="CustomPrologue",cm[cm.NoHoisting=2097152]="NoHoisting",cm[cm.HasEndOfDeclarationMarker=4194304]="HasEndOfDeclarationMarker",cm[cm.Iterator=8388608]="Iterator",cm[cm.NoAsciiEscaping=16777216]="NoAsciiEscaping",cm[cm.TypeScriptClassWrapper=33554432]="TypeScriptClassWrapper",cm[cm.NeverApplyImportHelper=67108864]="NeverApplyImportHelper",cm[cm.IgnoreSourceNewlines=134217728]="IgnoreSourceNewlines",cm[cm.Immutable=268435456]="Immutable",cm[cm.IndirectCall=536870912]="IndirectCall",(cm=lm.ExternalEmitHelpers||(lm.ExternalEmitHelpers={}))[cm.Extends=1]="Extends",cm[cm.Assign=2]="Assign",cm[cm.Rest=4]="Rest",cm[cm.Decorate=8]="Decorate",cm[cm.Metadata=16]="Metadata",cm[cm.Param=32]="Param",cm[cm.Awaiter=64]="Awaiter",cm[cm.Generator=128]="Generator",cm[cm.Values=256]="Values",cm[cm.Read=512]="Read",cm[cm.SpreadArray=1024]="SpreadArray",cm[cm.Await=2048]="Await",cm[cm.AsyncGenerator=4096]="AsyncGenerator",cm[cm.AsyncDelegator=8192]="AsyncDelegator",cm[cm.AsyncValues=16384]="AsyncValues",cm[cm.ExportStar=32768]="ExportStar",cm[cm.ImportStar=65536]="ImportStar",cm[cm.ImportDefault=131072]="ImportDefault",cm[cm.MakeTemplateObject=262144]="MakeTemplateObject",cm[cm.ClassPrivateFieldGet=524288]="ClassPrivateFieldGet",cm[cm.ClassPrivateFieldSet=1048576]="ClassPrivateFieldSet",cm[cm.CreateBinding=2097152]="CreateBinding",cm[cm.FirstEmitHelper=1]="FirstEmitHelper",cm[cm.LastEmitHelper=2097152]="LastEmitHelper",cm[cm.ForOfIncludes=256]="ForOfIncludes",cm[cm.ForAwaitOfIncludes=16384]="ForAwaitOfIncludes",cm[cm.AsyncGeneratorIncludes=6144]="AsyncGeneratorIncludes",cm[cm.AsyncDelegatorIncludes=26624]="AsyncDelegatorIncludes",cm[cm.SpreadIncludes=1536]="SpreadIncludes",(cm=lm.EmitHint||(lm.EmitHint={}))[cm.SourceFile=0]="SourceFile",cm[cm.Expression=1]="Expression",cm[cm.IdentifierName=2]="IdentifierName",cm[cm.MappedTypeParameter=3]="MappedTypeParameter",cm[cm.Unspecified=4]="Unspecified",cm[cm.EmbeddedStatement=5]="EmbeddedStatement",cm[cm.JsxAttributeValue=6]="JsxAttributeValue",(cm=lm.OuterExpressionKinds||(lm.OuterExpressionKinds={}))[cm.Parentheses=1]="Parentheses",cm[cm.TypeAssertions=2]="TypeAssertions",cm[cm.NonNullAssertions=4]="NonNullAssertions",cm[cm.PartiallyEmittedExpressions=8]="PartiallyEmittedExpressions",cm[cm.Assertions=6]="Assertions",cm[cm.All=15]="All",(cm=lm.LexicalEnvironmentFlags||(lm.LexicalEnvironmentFlags={}))[cm.None=0]="None",cm[cm.InParameters=1]="InParameters",cm[cm.VariablesHoistedInParameters=2]="VariablesHoistedInParameters",(cm=lm.BundleFileSectionKind||(lm.BundleFileSectionKind={})).Prologue="prologue",cm.EmitHelpers="emitHelpers",cm.NoDefaultLib="no-default-lib",cm.Reference="reference",cm.Type="type",cm.Lib="lib",cm.Prepend="prepend",cm.Text="text",cm.Internal="internal",(cm=lm.ListFormat||(lm.ListFormat={}))[cm.None=0]="None",cm[cm.SingleLine=0]="SingleLine",cm[cm.MultiLine=1]="MultiLine",cm[cm.PreserveLines=2]="PreserveLines",cm[cm.LinesMask=3]="LinesMask",cm[cm.NotDelimited=0]="NotDelimited",cm[cm.BarDelimited=4]="BarDelimited",cm[cm.AmpersandDelimited=8]="AmpersandDelimited",cm[cm.CommaDelimited=16]="CommaDelimited",cm[cm.AsteriskDelimited=32]="AsteriskDelimited",cm[cm.DelimitersMask=60]="DelimitersMask",cm[cm.AllowTrailingComma=64]="AllowTrailingComma",cm[cm.Indented=128]="Indented",cm[cm.SpaceBetweenBraces=256]="SpaceBetweenBraces",cm[cm.SpaceBetweenSiblings=512]="SpaceBetweenSiblings",cm[cm.Braces=1024]="Braces",cm[cm.Parenthesis=2048]="Parenthesis",cm[cm.AngleBrackets=4096]="AngleBrackets",cm[cm.SquareBrackets=8192]="SquareBrackets",cm[cm.BracketsMask=15360]="BracketsMask",cm[cm.OptionalIfUndefined=16384]="OptionalIfUndefined",cm[cm.OptionalIfEmpty=32768]="OptionalIfEmpty",cm[cm.Optional=49152]="Optional",cm[cm.PreferNewLine=65536]="PreferNewLine",cm[cm.NoTrailingNewLine=131072]="NoTrailingNewLine",cm[cm.NoInterveningComments=262144]="NoInterveningComments",cm[cm.NoSpaceIfEmpty=524288]="NoSpaceIfEmpty",cm[cm.SingleElement=1048576]="SingleElement",cm[cm.SpaceAfterList=2097152]="SpaceAfterList",cm[cm.Modifiers=262656]="Modifiers",cm[cm.HeritageClauses=512]="HeritageClauses",cm[cm.SingleLineTypeLiteralMembers=768]="SingleLineTypeLiteralMembers",cm[cm.MultiLineTypeLiteralMembers=32897]="MultiLineTypeLiteralMembers",cm[cm.SingleLineTupleTypeElements=528]="SingleLineTupleTypeElements",cm[cm.MultiLineTupleTypeElements=657]="MultiLineTupleTypeElements",cm[cm.UnionTypeConstituents=516]="UnionTypeConstituents",cm[cm.IntersectionTypeConstituents=520]="IntersectionTypeConstituents",cm[cm.ObjectBindingPatternElements=525136]="ObjectBindingPatternElements",cm[cm.ArrayBindingPatternElements=524880]="ArrayBindingPatternElements",cm[cm.ObjectLiteralExpressionProperties=526226]="ObjectLiteralExpressionProperties",cm[cm.ArrayLiteralExpressionElements=8914]="ArrayLiteralExpressionElements",cm[cm.CommaListElements=528]="CommaListElements",cm[cm.CallExpressionArguments=2576]="CallExpressionArguments",cm[cm.NewExpressionArguments=18960]="NewExpressionArguments",cm[cm.TemplateExpressionSpans=262144]="TemplateExpressionSpans",cm[cm.SingleLineBlockStatements=768]="SingleLineBlockStatements",cm[cm.MultiLineBlockStatements=129]="MultiLineBlockStatements",cm[cm.VariableDeclarationList=528]="VariableDeclarationList",cm[cm.SingleLineFunctionBodyStatements=768]="SingleLineFunctionBodyStatements",cm[cm.MultiLineFunctionBodyStatements=1]="MultiLineFunctionBodyStatements",cm[cm.ClassHeritageClauses=0]="ClassHeritageClauses",cm[cm.ClassMembers=129]="ClassMembers",cm[cm.InterfaceMembers=129]="InterfaceMembers",cm[cm.EnumMembers=145]="EnumMembers",cm[cm.CaseBlockClauses=129]="CaseBlockClauses",cm[cm.NamedImportsOrExportsElements=525136]="NamedImportsOrExportsElements",cm[cm.JsxElementOrFragmentChildren=262144]="JsxElementOrFragmentChildren",cm[cm.JsxElementAttributes=262656]="JsxElementAttributes",cm[cm.CaseOrDefaultClauseStatements=163969]="CaseOrDefaultClauseStatements",cm[cm.HeritageClauseTypes=528]="HeritageClauseTypes",cm[cm.SourceFileStatements=131073]="SourceFileStatements",cm[cm.Decorators=2146305]="Decorators",cm[cm.TypeArguments=53776]="TypeArguments",cm[cm.TypeParameters=53776]="TypeParameters",cm[cm.Parameters=2576]="Parameters",cm[cm.IndexSignatureParameters=8848]="IndexSignatureParameters",cm[cm.JSDocComment=33]="JSDocComment",(cm=lm.PragmaKindFlags||(lm.PragmaKindFlags={}))[cm.None=0]="None",cm[cm.TripleSlashXML=1]="TripleSlashXML",cm[cm.SingleLine=2]="SingleLine",cm[cm.MultiLine=4]="MultiLine",cm[cm.All=7]="All",cm[cm.Default=7]="Default",lm.commentPragmas={reference:{args:[{name:"types",optional:!0,captureSpan:!0},{name:"lib",optional:!0,captureSpan:!0},{name:"path",optional:!0,captureSpan:!0},{name:"no-default-lib",optional:!0}],kind:1},"amd-dependency":{args:[{name:"path"},{name:"name",optional:!0}],kind:1},"amd-module":{args:[{name:"name"}],kind:1},"ts-check":{kind:2},"ts-nocheck":{kind:2},jsx:{args:[{name:"factory"}],kind:4},jsxfrag:{args:[{name:"factory"}],kind:4},jsximportsource:{args:[{name:"factory"}],kind:4},jsxruntime:{args:[{name:"factory"}],kind:4}};(Q=bY=bY||{}).directorySeparator="/",Q.altDirectorySeparator="\\",Z="://",$=/\\/g,Q.isAnyDirectorySeparator=_m,Q.isUrl=function(e){return Em(e)<0},Q.isRootedDiskPath=fm,Q.isDiskPathRoot=function(e){var n=Em(e);return 0<n&&n===e.length},Q.pathIsAbsolute=gm,Q.pathIsRelative=ym,Q.pathIsBareSpecifier=function(e){return!gm(e)&&!ym(e)},Q.hasExtension=function(e){return Q.stringContains(xm(e),".")},Q.fileExtensionIs=hm,Q.fileExtensionIsOneOf=function(e,n){for(var t=0,r=n;t<r.length;t++)if(hm(e,r[t]))return!0;return!1},Q.hasTrailingDirectorySeparator=vm,Q.getRootLength=Tm,Q.getDirectoryPath=Sm,Q.getBaseFileName=xm,Q.getAnyExtensionFromPath=Dm,Q.getPathComponents=Am,Q.getPathFromPathComponents=Cm,Q.normalizeSlashes=Im,Q.reducePathComponents=Nm,Q.combinePaths=km,Q.resolvePath=Rm,Q.getNormalizedPathComponents=Om,Q.getNormalizedAbsolutePath=Pm,Q.normalizePath=wm,Q.getNormalizedAbsolutePathWithoutRoot=function(e,n){return 0===(e=Om(e,n)).length?"":e.slice(1).join(Q.directorySeparator)},Q.toPath=function(e,n,t){return t(fm(e)?wm(e):Pm(e,n))},Q.normalizePathAndParts=function(e){var n,t=Nm(Am(e=Im(e))),r=t[0];return(t=t.slice(1)).length?(n=r+t.join(Q.directorySeparator),{path:vm(e)?Fm(n):n,parts:t}):{path:r,parts:t}},Q.removeTrailingDirectorySeparator=Mm,Q.ensureTrailingDirectorySeparator=Fm,Q.ensurePathIsNonModuleName=Gm,Q.changeAnyExtension=function(e,n,t,r){return(t=void 0!==t&&void 0!==r?Dm(e,t,r):Dm(e))?e.slice(0,e.length-t.length)+(Q.startsWith(n,".")?n:"."+n):e},ee=/(?:\/\/)|(?:^|\/)\.\.?(?:$|\/)/,Q.comparePathsCaseSensitive=function(e,n){return Bm(e,n,Q.compareStringsCaseSensitive)},Q.comparePathsCaseInsensitive=function(e,n){return Bm(e,n,Q.compareStringsCaseInsensitive)},Q.comparePaths=function(e,n,t,r){return"string"==typeof t?(e=km(t,e),n=km(t,n)):"boolean"==typeof t&&(r=t),Bm(e,n,Q.getStringComparer(r))},Q.containsPath=function(e,n,t,r){if("string"==typeof t?(e=km(t,e),n=km(t,n)):"boolean"==typeof t&&(r=t),void 0===e||void 0===n)return!1;if(e!==n){var a=Nm(Am(e)),i=Nm(Am(n));if(i.length<a.length)return!1;for(var o=r?Q.equateStringsCaseInsensitive:Q.equateStringsCaseSensitive,s=0;s<a.length;s++)if(!(0===s?Q.equateStringsCaseInsensitive:o)(a[s],i[s]))return!1}return!0},Q.startsWithDirectory=function(e,n,t){return e=t(e),t=t(n),Q.startsWith(e,t+"/")||Q.startsWith(e,t+"\\")},Q.getPathComponentsRelativeTo=Um,Q.getRelativePathFromDirectory=Vm,Q.convertToRelativePath=function(e,n,t){return fm(e)?jm(n,e,n,t,!1):e},Q.getRelativePathFromFile=function(e,n,t){return Gm(Vm(Sm(e),n,t))},Q.getRelativePathToDirectoryOrUrl=jm,Q.forEachAncestorDirectory=function(e,n){for(;;){var t=n(e);if(void 0!==t)return t;if(t=Sm(e),t===e)return;e=t}},Q.isNodeModulesDirectory=function(e){return Q.endsWith(e,"/node_modules")},(ne=bY=bY||{}).generateDjb2Hash=function(e){for(var n=5381,t=0;t<e.length;t++)n=(n<<5)+n+e.charCodeAt(t);return n.toString()},ne.setStackTraceLimit=function(){Error.stackTraceLimit<100&&(Error.stackTraceLimit=100)},(sm=te=ne.FileWatcherEventKind||(ne.FileWatcherEventKind={}))[sm.Created=0]="Created",sm[sm.Changed=1]="Changed",sm[sm.Deleted=2]="Deleted",(sm=re=ne.PollingInterval||(ne.PollingInterval={}))[sm.High=2e3]="High",sm[sm.Medium=500]="Medium",sm[sm.Low=250]="Low",ne.missingFileModifiedTime=new Date(0),ne.getModifiedTime=Km,ie=Hm(ae={Low:32,Medium:64,High:256}),ne.unchangedPollThresholds=Hm(ae),ne.setCustomPollingValues=Wm,ne.createDynamicPriorityPollingWatchFile=Jm,ne.createSingleFileWatcherPerName=function(e,n){var t=new ne.Map,r=ne.createMultiMap(),a=ne.createGetCanonicalFileName(n);return function(n,i,o,s){var c=a(n),l=t.get(c);return l?l.refCount++:t.set(c,{watcher:e(n,(function(e,n){return ne.forEach(r.get(c),(function(t){return t(e,n)}))}),o,s),refCount:1}),r.add(c,i),{close:function(){var e=ne.Debug.checkDefined(t.get(c));r.remove(c,i),e.refCount--,e.refCount||(t.delete(c),ne.closeFileWatcherOf(e))}}}},ne.onWatchedFileStat=Ym,ne.getFileWatcherEventKind=Qm,ne.ignoredPaths=["/node_modules/.","/.git","/.#"],ne.sysLog=ne.noop,ne.setSysLog=function(e){ne.sysLog=e},ne.createDirectoryWatcherSupportingRecursive=Zm,(sm=ne.FileSystemEntryKind||(ne.FileSystemEntryKind={}))[sm.File=0]="File",sm[sm.Directory=1]="Directory",ne.createFileWatcherCallback=function(e){return function(n,t){return e(t===te.Changed?"change":"rename","")}},ne.createSystemWatchFunctions=function(e){var n,t,r,a,i=e.pollingWatchFile,o=e.getModifiedTime,s=e.setTimeout,c=e.clearTimeout,l=e.fsWatch,d=e.fileExists,u=e.useCaseSensitiveFileNames,p=e.getCurrentDirectory,m=e.fsSupportsRecursiveFsWatch,_=e.directoryExists,f=e.getAccessibleSortedChildDirectories,g=e.realpath,y=e.tscWatchFile,h=e.useNonPollingWatchers,v=e.tscWatchDirectory,b=e.defaultWatchFileKind;return{watchFile:function(e,n,t,a){a=((e,n)=>{if(e&&void 0!==e.watchFile)return e;switch(y){case"PriorityPollingInterval":return{watchFile:ne.WatchFileKind.PriorityPollingInterval};case"DynamicPriorityPolling":return{watchFile:ne.WatchFileKind.DynamicPriorityPolling};case"UseFsEvents":return S(ne.WatchFileKind.UseFsEvents,ne.PollingWatchKind.PriorityInterval,e);case"UseFsEventsWithFallbackDynamicPolling":return S(ne.WatchFileKind.UseFsEvents,ne.PollingWatchKind.DynamicPriority,e);case"UseFsEventsOnParentDirectory":n=!0;default:return n?S(ne.WatchFileKind.UseFsEventsOnParentDirectory,ne.PollingWatchKind.PriorityInterval,e):{watchFile:(null==b?void 0:b())||ne.WatchFileKind.FixedPollingInterval}}})(a,h);var o=ne.Debug.checkDefined(a.watchFile);switch(o){case ne.WatchFileKind.FixedPollingInterval:return i(e,n,re.Low,void 0);case ne.WatchFileKind.PriorityPollingInterval:return i(e,n,t,void 0);case ne.WatchFileKind.DynamicPriorityPolling:return E()(e,n,t,void 0);case ne.WatchFileKind.FixedChunkSizePolling:return T()(e,n,void 0,void 0);case ne.WatchFileKind.UseFsEvents:return l(e,0,((e,n,t)=>function(r){n(e,"rename"===r?t(e)?te.Created:te.Deleted:te.Changed)})(e,n,d),!1,t,ne.getFallbackOptions(a));case ne.WatchFileKind.UseFsEventsOnParentDirectory:return(r=r||qm(l,u))(e,n,t,ne.getFallbackOptions(a));default:ne.Debug.assertNever(o)}},watchDirectory:function(e,n,t,r){return m?l(e,1,e_(e,n,r,u,p),t,re.Medium,ne.getFallbackOptions(r)):(a=a||Zm({useCaseSensitiveFileNames:u,getCurrentDirectory:p,directoryExists:_,getAccessibleSortedChildDirectories:f,watchDirectory:x,realpath:g,setTimeout:s,clearTimeout:c}),a(e,n,t,r))}};function E(){return n=n||Jm({getModifiedTime:o,setTimeout:s})}function T(){return t=t||Xm({getModifiedTime:o,setTimeout:s})}function S(e,n,t){return t=null==t?void 0:t.fallbackPolling,{watchFile:e,fallbackPolling:void 0===t?n:t}}function x(e,n,t,r){ne.Debug.assert(!t);var a=(e=>{if(e&&void 0!==e.watchDirectory)return e;switch(v){case"RecursiveDirectoryUsingFsWatchFile":return{watchDirectory:ne.WatchDirectoryKind.FixedPollingInterval};case"RecursiveDirectoryUsingDynamicPriorityPolling":return{watchDirectory:ne.WatchDirectoryKind.DynamicPriorityPolling};default:var n=null==e?void 0:e.fallbackPolling;return{watchDirectory:ne.WatchDirectoryKind.UseFsEvents,fallbackPolling:void 0!==n?n:void 0}}})(r),o=ne.Debug.checkDefined(a.watchDirectory);switch(o){case ne.WatchDirectoryKind.FixedPollingInterval:return i(e,(function(){return n(e)}),re.Medium,void 0);case ne.WatchDirectoryKind.DynamicPriorityPolling:return E()(e,(function(){return n(e)}),re.Medium,void 0);case ne.WatchDirectoryKind.FixedChunkSizePolling:return T()(e,(function(){return n(e)}),void 0,void 0);case ne.WatchDirectoryKind.UseFsEvents:return l(e,1,e_(e,n,r,u,p),t,re.Medium,ne.getFallbackOptions(a));default:ne.Debug.assertNever(o)}}},ne.patchWriteFileEnsuringDirectory=function(e){var n=e.writeFile;e.writeFile=function(t,r,a){return ne.writeFileEnsuringDirectories(t,r,!!a,(function(t,r,a){return n.call(e,t,r,a)}),(function(n){return e.createDirectory(n)}),(function(n){return e.directoryExists(n)}))}},ne.getNodeMajorVersion=function(){if(void 0!==e){var n=e.version;if(n){var t=n.indexOf(".");if(-1!==t)return parseInt(n.substring(1,t))}}},ne.sys=void 0,ne.sys&&ne.sys.getEnvironmentVariable&&(Wm(ne.sys),ne.Debug.setAssertionLevel(/^development$/i.test(ne.sys.getEnvironmentVariable("NODE_ENV"))?1:0)),ne.sys&&ne.sys.debugMode&&(ne.Debug.isDebugging=!0),(OY=bY=bY||{}).Diagnostics={Unterminated_string_literal:n_(1002,OY.DiagnosticCategory.Error,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:n_(1003,OY.DiagnosticCategory.Error,"Identifier_expected_1003","Identifier expected."),_0_expected:n_(1005,OY.DiagnosticCategory.Error,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:n_(1006,OY.DiagnosticCategory.Error,"A_file_cannot_have_a_reference_to_itself_1006","A file cannot have a reference to itself."),The_parser_expected_to_find_a_to_match_the_token_here:n_(1007,OY.DiagnosticCategory.Error,"The_parser_expected_to_find_a_to_match_the_token_here_1007","The parser expected to find a '}' to match the '{' token here."),Trailing_comma_not_allowed:n_(1009,OY.DiagnosticCategory.Error,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:n_(1010,OY.DiagnosticCategory.Error,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:n_(1011,OY.DiagnosticCategory.Error,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:n_(1012,OY.DiagnosticCategory.Error,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:n_(1013,OY.DiagnosticCategory.Error,"A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma_1013","A rest parameter or binding pattern may not have a trailing comma."),A_rest_parameter_must_be_last_in_a_parameter_list:n_(1014,OY.DiagnosticCategory.Error,"A_rest_parameter_must_be_last_in_a_parameter_list_1014","A rest parameter must be last in a parameter list."),Parameter_cannot_have_question_mark_and_initializer:n_(1015,OY.DiagnosticCategory.Error,"Parameter_cannot_have_question_mark_and_initializer_1015","Parameter cannot have question mark and initializer."),A_required_parameter_cannot_follow_an_optional_parameter:n_(1016,OY.DiagnosticCategory.Error,"A_required_parameter_cannot_follow_an_optional_parameter_1016","A required parameter cannot follow an optional parameter."),An_index_signature_cannot_have_a_rest_parameter:n_(1017,OY.DiagnosticCategory.Error,"An_index_signature_cannot_have_a_rest_parameter_1017","An index signature cannot have a rest parameter."),An_index_signature_parameter_cannot_have_an_accessibility_modifier:n_(1018,OY.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_an_accessibility_modifier_1018","An index signature parameter cannot have an accessibility modifier."),An_index_signature_parameter_cannot_have_a_question_mark:n_(1019,OY.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_a_question_mark_1019","An index signature parameter cannot have a question mark."),An_index_signature_parameter_cannot_have_an_initializer:n_(1020,OY.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_an_initializer_1020","An index signature parameter cannot have an initializer."),An_index_signature_must_have_a_type_annotation:n_(1021,OY.DiagnosticCategory.Error,"An_index_signature_must_have_a_type_annotation_1021","An index signature must have a type annotation."),An_index_signature_parameter_must_have_a_type_annotation:n_(1022,OY.DiagnosticCategory.Error,"An_index_signature_parameter_must_have_a_type_annotation_1022","An index signature parameter must have a type annotation."),readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature:n_(1024,OY.DiagnosticCategory.Error,"readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024","'readonly' modifier can only appear on a property declaration or index signature."),An_index_signature_cannot_have_a_trailing_comma:n_(1025,OY.DiagnosticCategory.Error,"An_index_signature_cannot_have_a_trailing_comma_1025","An index signature cannot have a trailing comma."),Accessibility_modifier_already_seen:n_(1028,OY.DiagnosticCategory.Error,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:n_(1029,OY.DiagnosticCategory.Error,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:n_(1030,OY.DiagnosticCategory.Error,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_class_elements_of_this_kind:n_(1031,OY.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_class_elements_of_this_kind_1031","'{0}' modifier cannot appear on class elements of this kind."),super_must_be_followed_by_an_argument_list_or_member_access:n_(1034,OY.DiagnosticCategory.Error,"super_must_be_followed_by_an_argument_list_or_member_access_1034","'super' must be followed by an argument list or member access."),Only_ambient_modules_can_use_quoted_names:n_(1035,OY.DiagnosticCategory.Error,"Only_ambient_modules_can_use_quoted_names_1035","Only ambient modules can use quoted names."),Statements_are_not_allowed_in_ambient_contexts:n_(1036,OY.DiagnosticCategory.Error,"Statements_are_not_allowed_in_ambient_contexts_1036","Statements are not allowed in ambient contexts."),A_declare_modifier_cannot_be_used_in_an_already_ambient_context:n_(1038,OY.DiagnosticCategory.Error,"A_declare_modifier_cannot_be_used_in_an_already_ambient_context_1038","A 'declare' modifier cannot be used in an already ambient context."),Initializers_are_not_allowed_in_ambient_contexts:n_(1039,OY.DiagnosticCategory.Error,"Initializers_are_not_allowed_in_ambient_contexts_1039","Initializers are not allowed in ambient contexts."),_0_modifier_cannot_be_used_in_an_ambient_context:n_(1040,OY.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_in_an_ambient_context_1040","'{0}' modifier cannot be used in an ambient context."),_0_modifier_cannot_be_used_with_a_class_declaration:n_(1041,OY.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_a_class_declaration_1041","'{0}' modifier cannot be used with a class declaration."),_0_modifier_cannot_be_used_here:n_(1042,OY.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_here_1042","'{0}' modifier cannot be used here."),_0_modifier_cannot_appear_on_a_data_property:n_(1043,OY.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_data_property_1043","'{0}' modifier cannot appear on a data property."),_0_modifier_cannot_appear_on_a_module_or_namespace_element:n_(1044,OY.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044","'{0}' modifier cannot appear on a module or namespace element."),A_0_modifier_cannot_be_used_with_an_interface_declaration:n_(1045,OY.DiagnosticCategory.Error,"A_0_modifier_cannot_be_used_with_an_interface_declaration_1045","A '{0}' modifier cannot be used with an interface declaration."),Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier:n_(1046,OY.DiagnosticCategory.Error,"Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier_1046","Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier."),A_rest_parameter_cannot_be_optional:n_(1047,OY.DiagnosticCategory.Error,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:n_(1048,OY.DiagnosticCategory.Error,"A_rest_parameter_cannot_have_an_initializer_1048","A rest parameter cannot have an initializer."),A_set_accessor_must_have_exactly_one_parameter:n_(1049,OY.DiagnosticCategory.Error,"A_set_accessor_must_have_exactly_one_parameter_1049","A 'set' accessor must have exactly one parameter."),A_set_accessor_cannot_have_an_optional_parameter:n_(1051,OY.DiagnosticCategory.Error,"A_set_accessor_cannot_have_an_optional_parameter_1051","A 'set' accessor cannot have an optional parameter."),A_set_accessor_parameter_cannot_have_an_initializer:n_(1052,OY.DiagnosticCategory.Error,"A_set_accessor_parameter_cannot_have_an_initializer_1052","A 'set' accessor parameter cannot have an initializer."),A_set_accessor_cannot_have_rest_parameter:n_(1053,OY.DiagnosticCategory.Error,"A_set_accessor_cannot_have_rest_parameter_1053","A 'set' accessor cannot have rest parameter."),A_get_accessor_cannot_have_parameters:n_(1054,OY.DiagnosticCategory.Error,"A_get_accessor_cannot_have_parameters_1054","A 'get' accessor cannot have parameters."),Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value:n_(1055,OY.DiagnosticCategory.Error,"Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Prom_1055","Type '{0}' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value."),Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher:n_(1056,OY.DiagnosticCategory.Error,"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056","Accessors are only available when targeting ECMAScript 5 and higher."),An_async_function_or_method_must_have_a_valid_awaitable_return_type:n_(1057,OY.DiagnosticCategory.Error,"An_async_function_or_method_must_have_a_valid_awaitable_return_type_1057","An async function or method must have a valid awaitable return type."),The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:n_(1058,OY.DiagnosticCategory.Error,"The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_t_1058","The return type of an async function must either be a valid promise or must not contain a callable 'then' member."),A_promise_must_have_a_then_method:n_(1059,OY.DiagnosticCategory.Error,"A_promise_must_have_a_then_method_1059","A promise must have a 'then' method."),The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback:n_(1060,OY.DiagnosticCategory.Error,"The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback_1060","The first parameter of the 'then' method of a promise must be a callback."),Enum_member_must_have_initializer:n_(1061,OY.DiagnosticCategory.Error,"Enum_member_must_have_initializer_1061","Enum member must have initializer."),Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method:n_(1062,OY.DiagnosticCategory.Error,"Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062","Type is referenced directly or indirectly in the fulfillment callback of its own 'then' method."),An_export_assignment_cannot_be_used_in_a_namespace:n_(1063,OY.DiagnosticCategory.Error,"An_export_assignment_cannot_be_used_in_a_namespace_1063","An export assignment cannot be used in a namespace."),The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0:n_(1064,OY.DiagnosticCategory.Error,"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_wri_1064","The return type of an async function or method must be the global Promise<T> type. Did you mean to write 'Promise<{0}>'?"),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:n_(1066,OY.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:n_(1068,OY.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:n_(1069,OY.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:n_(1070,OY.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:n_(1071,OY.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:n_(1079,OY.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:n_(1084,OY.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:n_(1085,OY.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:n_(1089,OY.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:n_(1090,OY.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:n_(1091,OY.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:n_(1092,OY.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:n_(1093,OY.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:n_(1094,OY.DiagnosticCategory.Error,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:n_(1095,OY.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:n_(1096,OY.DiagnosticCategory.Error,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:n_(1097,OY.DiagnosticCategory.Error,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:n_(1098,OY.DiagnosticCategory.Error,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:n_(1099,OY.DiagnosticCategory.Error,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:n_(1100,OY.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:n_(1101,OY.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:n_(1102,OY.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:n_(1103,OY.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:n_(1104,OY.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:n_(1105,OY.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:n_(1106,OY.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:n_(1107,OY.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:n_(1108,OY.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:n_(1109,OY.DiagnosticCategory.Error,"Expression_expected_1109","Expression expected."),Type_expected:n_(1110,OY.DiagnosticCategory.Error,"Type_expected_1110","Type expected."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:n_(1113,OY.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:n_(1114,OY.DiagnosticCategory.Error,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:n_(1115,OY.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:n_(1116,OY.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:n_(1117,OY.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:n_(1118,OY.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:n_(1119,OY.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:n_(1120,OY.DiagnosticCategory.Error,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_in_strict_mode:n_(1121,OY.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:n_(1123,OY.DiagnosticCategory.Error,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:n_(1124,OY.DiagnosticCategory.Error,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:n_(1125,OY.DiagnosticCategory.Error,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:n_(1126,OY.DiagnosticCategory.Error,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:n_(1127,OY.DiagnosticCategory.Error,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:n_(1128,OY.DiagnosticCategory.Error,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:n_(1129,OY.DiagnosticCategory.Error,"Statement_expected_1129","Statement expected."),case_or_default_expected:n_(1130,OY.DiagnosticCategory.Error,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:n_(1131,OY.DiagnosticCategory.Error,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:n_(1132,OY.DiagnosticCategory.Error,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:n_(1134,OY.DiagnosticCategory.Error,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:n_(1135,OY.DiagnosticCategory.Error,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:n_(1136,OY.DiagnosticCategory.Error,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:n_(1137,OY.DiagnosticCategory.Error,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:n_(1138,OY.DiagnosticCategory.Error,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:n_(1139,OY.DiagnosticCategory.Error,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:n_(1140,OY.DiagnosticCategory.Error,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:n_(1141,OY.DiagnosticCategory.Error,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:n_(1142,OY.DiagnosticCategory.Error,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:n_(1144,OY.DiagnosticCategory.Error,"or_expected_1144","'{' or ';' expected."),Declaration_expected:n_(1146,OY.DiagnosticCategory.Error,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:n_(1147,OY.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:n_(1148,OY.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:n_(1149,OY.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:n_(1155,OY.DiagnosticCategory.Error,"const_declarations_must_be_initialized_1155","'const' declarations must be initialized."),const_declarations_can_only_be_declared_inside_a_block:n_(1156,OY.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:n_(1157,OY.DiagnosticCategory.Error,"let_declarations_can_only_be_declared_inside_a_block_1157","'let' declarations can only be declared inside a block."),Unterminated_template_literal:n_(1160,OY.DiagnosticCategory.Error,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:n_(1161,OY.DiagnosticCategory.Error,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:n_(1162,OY.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:n_(1163,OY.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:n_(1164,OY.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:n_(1165,OY.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:n_(1166,OY.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:n_(1168,OY.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:n_(1169,OY.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:n_(1170,OY.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:n_(1171,OY.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:n_(1172,OY.DiagnosticCategory.Error,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:n_(1173,OY.DiagnosticCategory.Error,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:n_(1174,OY.DiagnosticCategory.Error,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:n_(1175,OY.DiagnosticCategory.Error,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:n_(1176,OY.DiagnosticCategory.Error,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:n_(1177,OY.DiagnosticCategory.Error,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:n_(1178,OY.DiagnosticCategory.Error,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:n_(1179,OY.DiagnosticCategory.Error,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:n_(1180,OY.DiagnosticCategory.Error,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:n_(1181,OY.DiagnosticCategory.Error,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:n_(1182,OY.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:n_(1183,OY.DiagnosticCategory.Error,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:n_(1184,OY.DiagnosticCategory.Error,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:n_(1185,OY.DiagnosticCategory.Error,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:n_(1186,OY.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:n_(1187,OY.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:n_(1188,OY.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:n_(1189,OY.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:n_(1190,OY.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:n_(1191,OY.DiagnosticCategory.Error,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:n_(1192,OY.DiagnosticCategory.Error,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:n_(1193,OY.DiagnosticCategory.Error,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:n_(1194,OY.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:n_(1195,OY.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:n_(1196,OY.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:n_(1197,OY.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:n_(1198,OY.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:n_(1199,OY.DiagnosticCategory.Error,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:n_(1200,OY.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:n_(1202,OY.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:n_(1203,OY.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:n_(1205,OY.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:n_(1206,OY.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:n_(1207,OY.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:n_(1208,OY.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:n_(1210,OY.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:n_(1211,OY.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:n_(1212,OY.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:n_(1213,OY.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:n_(1214,OY.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:n_(1215,OY.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:n_(1216,OY.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:n_(1218,OY.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:n_(1219,OY.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:n_(1220,OY.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:n_(1221,OY.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:n_(1222,OY.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:n_(1223,OY.DiagnosticCategory.Error,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:n_(1224,OY.DiagnosticCategory.Error,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:n_(1225,OY.DiagnosticCategory.Error,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:n_(1226,OY.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:n_(1227,OY.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:n_(1228,OY.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:n_(1229,OY.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:n_(1230,OY.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:n_(1231,OY.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:n_(1232,OY.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:n_(1233,OY.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:n_(1234,OY.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:n_(1235,OY.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:n_(1236,OY.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:n_(1237,OY.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:n_(1238,OY.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:n_(1239,OY.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:n_(1240,OY.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:n_(1241,OY.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:n_(1242,OY.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:n_(1243,OY.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:n_(1244,OY.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:n_(1245,OY.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:n_(1246,OY.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:n_(1247,OY.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:n_(1248,OY.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:n_(1249,OY.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:n_(1250,OY.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:n_(1251,OY.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:n_(1252,OY.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:n_(1253,OY.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:n_(1254,OY.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:n_(1255,OY.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:n_(1257,OY.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:n_(1258,OY.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:n_(1259,OY.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:n_(1260,OY.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:n_(1261,OY.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:n_(1262,OY.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:n_(1263,OY.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:n_(1264,OY.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:n_(1265,OY.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:n_(1266,OY.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:n_(1267,OY.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:n_(1268,OY.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:n_(1300,OY.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:n_(1308,OY.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:n_(1312,OY.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:n_(1313,OY.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:n_(1314,OY.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:n_(1315,OY.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:n_(1316,OY.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:n_(1317,OY.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:n_(1318,OY.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:n_(1319,OY.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:n_(1320,OY.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:n_(1321,OY.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:n_(1322,OY.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:n_(1323,OY.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:n_(1324,OY.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:n_(1325,OY.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:n_(1326,OY.DiagnosticCategory.Error,"Dynamic_import_cannot_have_type_arguments_1326","Dynamic import cannot have type arguments."),String_literal_with_double_quotes_expected:n_(1327,OY.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:n_(1328,OY.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:n_(1329,OY.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:n_(1330,OY.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:n_(1331,OY.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:n_(1332,OY.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:n_(1333,OY.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:n_(1334,OY.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:n_(1335,OY.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:n_(1337,OY.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:n_(1338,OY.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:n_(1339,OY.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:n_(1340,OY.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:n_(1342,OY.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:n_(1343,OY.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:n_(1344,OY.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:n_(1345,OY.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:n_(1346,OY.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:n_(1347,OY.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:n_(1348,OY.DiagnosticCategory.Error,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:n_(1349,OY.DiagnosticCategory.Error,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:n_(1350,OY.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:n_(1351,OY.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:n_(1352,OY.DiagnosticCategory.Error,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:n_(1353,OY.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:n_(1354,OY.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:n_(1355,OY.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:n_(1356,OY.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:n_(1357,OY.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:n_(1358,OY.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:n_(1359,OY.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:n_(1360,OY.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:n_(1361,OY.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:n_(1362,OY.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:n_(1363,OY.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:n_(1364,OY.DiagnosticCategory.Message,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:n_(1365,OY.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:n_(1366,OY.DiagnosticCategory.Message,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:n_(1367,OY.DiagnosticCategory.Message,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Did_you_mean_0:n_(1369,OY.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:n_(1371,OY.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:n_(1373,OY.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:n_(1374,OY.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:n_(1375,OY.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:n_(1376,OY.DiagnosticCategory.Message,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:n_(1377,OY.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:n_(1378,OY.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:n_(1379,OY.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:n_(1380,OY.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:n_(1381,OY.DiagnosticCategory.Error,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `&rbrace;`?"),Unexpected_token_Did_you_mean_or_gt:n_(1382,OY.DiagnosticCategory.Error,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `&gt;`?"),Only_named_exports_may_use_export_type:n_(1383,OY.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:n_(1384,OY.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:n_(1385,OY.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:n_(1386,OY.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:n_(1387,OY.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:n_(1388,OY.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:n_(1389,OY.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:n_(1390,OY.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:n_(1391,OY.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:n_(1392,OY.DiagnosticCategory.Error,"An_import_alias_cannot_use_import_type_1392","An import alias cannot use 'import type'"),Imported_via_0_from_file_1:n_(1393,OY.DiagnosticCategory.Message,"Imported_via_0_from_file_1_1393","Imported via {0} from file '{1}'"),Imported_via_0_from_file_1_with_packageId_2:n_(1394,OY.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:n_(1395,OY.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:n_(1396,OY.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:n_(1397,OY.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:n_(1398,OY.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:n_(1399,OY.DiagnosticCategory.Message,"File_is_included_via_import_here_1399","File is included via import here."),Referenced_via_0_from_file_1:n_(1400,OY.DiagnosticCategory.Message,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),File_is_included_via_reference_here:n_(1401,OY.DiagnosticCategory.Message,"File_is_included_via_reference_here_1401","File is included via reference here."),Type_library_referenced_via_0_from_file_1:n_(1402,OY.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:n_(1403,OY.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:n_(1404,OY.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:n_(1405,OY.DiagnosticCategory.Message,"Library_referenced_via_0_from_file_1_1405","Library referenced via '{0}' from file '{1}'"),File_is_included_via_library_reference_here:n_(1406,OY.DiagnosticCategory.Message,"File_is_included_via_library_reference_here_1406","File is included via library reference here."),Matched_by_include_pattern_0_in_1:n_(1407,OY.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:n_(1408,OY.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:n_(1409,OY.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:n_(1410,OY.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:n_(1411,OY.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:n_(1412,OY.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:n_(1413,OY.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:n_(1414,OY.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:n_(1415,OY.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:n_(1416,OY.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:n_(1417,OY.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:n_(1418,OY.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:n_(1419,OY.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:n_(1420,OY.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:n_(1421,OY.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:n_(1422,OY.DiagnosticCategory.Message,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),File_is_library_specified_here:n_(1423,OY.DiagnosticCategory.Message,"File_is_library_specified_here_1423","File is library specified here."),Default_library:n_(1424,OY.DiagnosticCategory.Message,"Default_library_1424","Default library"),Default_library_for_target_0:n_(1425,OY.DiagnosticCategory.Message,"Default_library_for_target_0_1425","Default library for target '{0}'"),File_is_default_library_for_target_specified_here:n_(1426,OY.DiagnosticCategory.Message,"File_is_default_library_for_target_specified_here_1426","File is default library for target specified here."),Root_file_specified_for_compilation:n_(1427,OY.DiagnosticCategory.Message,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:n_(1428,OY.DiagnosticCategory.Message,"File_is_output_of_project_reference_source_0_1428","File is output of project reference source '{0}'"),File_redirects_to_file_0:n_(1429,OY.DiagnosticCategory.Message,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),The_file_is_in_the_program_because_Colon:n_(1430,OY.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:n_(1431,OY.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:n_(1432,OY.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:n_(1433,OY.DiagnosticCategory.Error,"Decorators_may_not_be_applied_to_this_parameters_1433","Decorators may not be applied to 'this' parameters."),Unexpected_keyword_or_identifier:n_(1434,OY.DiagnosticCategory.Error,"Unexpected_keyword_or_identifier_1434","Unexpected keyword or identifier."),Unknown_keyword_or_identifier_Did_you_mean_0:n_(1435,OY.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:n_(1436,OY.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:n_(1437,OY.DiagnosticCategory.Error,"Namespace_must_be_given_a_name_1437","Namespace must be given a name."),Interface_must_be_given_a_name:n_(1438,OY.DiagnosticCategory.Error,"Interface_must_be_given_a_name_1438","Interface must be given a name."),Type_alias_must_be_given_a_name:n_(1439,OY.DiagnosticCategory.Error,"Type_alias_must_be_given_a_name_1439","Type alias must be given a name."),Variable_declaration_not_allowed_at_this_location:n_(1440,OY.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:n_(1441,OY.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:n_(1442,OY.DiagnosticCategory.Error,"Expected_for_property_initializer_1442","Expected '=' for property initializer."),Module_declaration_names_may_only_use_or_quoted_strings:n_(1443,OY.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:n_(2200,OY.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:n_(2201,OY.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:n_(2202,OY.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:n_(2203,OY.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:n_(2204,OY.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:n_(2205,OY.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:n_(2300,OY.DiagnosticCategory.Error,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:n_(2301,OY.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:n_(2302,OY.DiagnosticCategory.Error,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:n_(2303,OY.DiagnosticCategory.Error,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:n_(2304,OY.DiagnosticCategory.Error,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:n_(2305,OY.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:n_(2306,OY.DiagnosticCategory.Error,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:n_(2307,OY.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:n_(2308,OY.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:n_(2309,OY.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:n_(2310,OY.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:n_(2311,OY.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:n_(2312,OY.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:n_(2313,OY.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:n_(2314,OY.DiagnosticCategory.Error,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:n_(2315,OY.DiagnosticCategory.Error,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:n_(2316,OY.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:n_(2317,OY.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:n_(2318,OY.DiagnosticCategory.Error,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:n_(2319,OY.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:n_(2320,OY.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:n_(2321,OY.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:n_(2322,OY.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:n_(2323,OY.DiagnosticCategory.Error,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:n_(2324,OY.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:n_(2325,OY.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:n_(2326,OY.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:n_(2327,OY.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:n_(2328,OY.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:n_(2329,OY.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:n_(2330,OY.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:n_(2331,OY.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:n_(2332,OY.DiagnosticCategory.Error,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_constructor_arguments:n_(2333,OY.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:n_(2334,OY.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:n_(2335,OY.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:n_(2336,OY.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:n_(2337,OY.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:n_(2338,OY.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:n_(2339,OY.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:n_(2340,OY.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:n_(2341,OY.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:n_(2342,OY.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:n_(2343,OY.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:n_(2344,OY.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:n_(2345,OY.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:n_(2346,OY.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:n_(2347,OY.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:n_(2348,OY.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:n_(2349,OY.DiagnosticCategory.Error,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:n_(2350,OY.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:n_(2351,OY.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:n_(2352,OY.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:n_(2353,OY.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:n_(2354,OY.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:n_(2355,OY.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:n_(2356,OY.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:n_(2357,OY.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:n_(2358,OY.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:n_(2359,OY.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:n_(2360,OY.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:n_(2361,OY.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:n_(2362,OY.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:n_(2363,OY.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:n_(2364,OY.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:n_(2365,OY.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:n_(2366,OY.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:n_(2367,OY.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:n_(2368,OY.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:n_(2369,OY.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:n_(2370,OY.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:n_(2371,OY.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:n_(2372,OY.DiagnosticCategory.Error,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:n_(2373,OY.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:n_(2374,OY.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:n_(2376,OY.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:n_(2377,OY.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:n_(2378,OY.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:n_(2380,OY.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:n_(2381,OY.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:n_(2382,OY.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:n_(2383,OY.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:n_(2384,OY.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:n_(2385,OY.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:n_(2386,OY.DiagnosticCategory.Error,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:n_(2387,OY.DiagnosticCategory.Error,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:n_(2388,OY.DiagnosticCategory.Error,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:n_(2389,OY.DiagnosticCategory.Error,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:n_(2390,OY.DiagnosticCategory.Error,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:n_(2391,OY.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:n_(2392,OY.DiagnosticCategory.Error,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:n_(2393,OY.DiagnosticCategory.Error,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:n_(2394,OY.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:n_(2395,OY.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:n_(2396,OY.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:n_(2397,OY.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:n_(2398,OY.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:n_(2399,OY.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:n_(2400,OY.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:n_(2401,OY.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:n_(2402,OY.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:n_(2403,OY.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:n_(2404,OY.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:n_(2405,OY.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:n_(2406,OY.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:n_(2407,OY.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:n_(2408,OY.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:n_(2409,OY.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:n_(2410,OY.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:n_(2411,OY.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:n_(2413,OY.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:n_(2414,OY.DiagnosticCategory.Error,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:n_(2415,OY.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:n_(2416,OY.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:n_(2417,OY.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:n_(2418,OY.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:n_(2419,OY.DiagnosticCategory.Error,"Types_of_construct_signatures_are_incompatible_2419","Types of construct signatures are incompatible."),Class_0_incorrectly_implements_interface_1:n_(2420,OY.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:n_(2422,OY.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:n_(2423,OY.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:n_(2425,OY.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:n_(2426,OY.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:n_(2427,OY.DiagnosticCategory.Error,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:n_(2428,OY.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:n_(2430,OY.DiagnosticCategory.Error,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:n_(2431,OY.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:n_(2432,OY.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:n_(2433,OY.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:n_(2434,OY.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:n_(2435,OY.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:n_(2436,OY.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:n_(2437,OY.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:n_(2438,OY.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:n_(2439,OY.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:n_(2440,OY.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:n_(2441,OY.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:n_(2442,OY.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:n_(2443,OY.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:n_(2444,OY.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:n_(2445,OY.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:n_(2446,OY.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:n_(2447,OY.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:n_(2448,OY.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:n_(2449,OY.DiagnosticCategory.Error,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:n_(2450,OY.DiagnosticCategory.Error,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:n_(2451,OY.DiagnosticCategory.Error,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:n_(2452,OY.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:n_(2453,OY.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:n_(2454,OY.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:n_(2455,OY.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:n_(2456,OY.DiagnosticCategory.Error,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:n_(2457,OY.DiagnosticCategory.Error,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:n_(2458,OY.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:n_(2459,OY.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:n_(2460,OY.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:n_(2461,OY.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:n_(2462,OY.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:n_(2463,OY.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:n_(2464,OY.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:n_(2465,OY.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:n_(2466,OY.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:n_(2467,OY.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:n_(2468,OY.DiagnosticCategory.Error,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:n_(2469,OY.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:n_(2470,OY.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:n_(2471,OY.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:n_(2472,OY.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:n_(2473,OY.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:n_(2474,OY.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:n_(2475,OY.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:n_(2476,OY.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:n_(2477,OY.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:n_(2478,OY.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:n_(2479,OY.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:n_(2480,OY.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:n_(2481,OY.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:n_(2483,OY.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:n_(2484,OY.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:n_(2487,OY.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:n_(2488,OY.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:n_(2489,OY.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:n_(2490,OY.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:n_(2491,OY.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:n_(2492,OY.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:n_(2493,OY.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:n_(2494,OY.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:n_(2495,OY.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:n_(2496,OY.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:n_(2497,OY.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:n_(2498,OY.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:n_(2499,OY.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:n_(2500,OY.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:n_(2501,OY.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:n_(2502,OY.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:n_(2503,OY.DiagnosticCategory.Error,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:n_(2504,OY.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:n_(2505,OY.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:n_(2506,OY.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:n_(2507,OY.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:n_(2508,OY.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:n_(2509,OY.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:n_(2510,OY.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:n_(2511,OY.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:n_(2512,OY.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:n_(2513,OY.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:n_(2514,OY.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:n_(2515,OY.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:n_(2516,OY.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:n_(2517,OY.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:n_(2518,OY.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:n_(2519,OY.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:n_(2520,OY.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:n_(2521,OY.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:n_(2522,OY.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:n_(2523,OY.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:n_(2524,OY.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:n_(2525,OY.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:n_(2526,OY.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:n_(2527,OY.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:n_(2528,OY.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:n_(2529,OY.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:n_(2530,OY.DiagnosticCategory.Error,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:n_(2531,OY.DiagnosticCategory.Error,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:n_(2532,OY.DiagnosticCategory.Error,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:n_(2533,OY.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:n_(2534,OY.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:n_(2535,OY.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:n_(2536,OY.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:n_(2537,OY.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:n_(2538,OY.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:n_(2539,OY.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:n_(2540,OY.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:n_(2541,OY.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:n_(2542,OY.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:n_(2543,OY.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:n_(2544,OY.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:n_(2545,OY.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:n_(2547,OY.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:n_(2548,OY.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:n_(2549,OY.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:n_(2550,OY.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:n_(2551,OY.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:n_(2552,OY.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:n_(2553,OY.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:n_(2554,OY.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:n_(2555,OY.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:n_(2556,OY.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:n_(2558,OY.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:n_(2559,OY.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:n_(2560,OY.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:n_(2561,OY.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:n_(2562,OY.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:n_(2563,OY.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:n_(2564,OY.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:n_(2565,OY.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:n_(2566,OY.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:n_(2567,OY.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:n_(2568,OY.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:n_(2569,OY.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:n_(2570,OY.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:n_(2571,OY.DiagnosticCategory.Error,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),Rest_signatures_are_incompatible:n_(2572,OY.DiagnosticCategory.Error,"Rest_signatures_are_incompatible_2572","Rest signatures are incompatible."),Property_0_is_incompatible_with_rest_element_type:n_(2573,OY.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:n_(2574,OY.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:n_(2575,OY.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:n_(2576,OY.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:n_(2577,OY.DiagnosticCategory.Error,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:n_(2578,OY.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:n_(2580,OY.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:n_(2581,OY.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:n_(2582,OY.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:n_(2583,OY.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:n_(2584,OY.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:n_(2585,OY.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:n_(2586,OY.DiagnosticCategory.Error,"Enum_type_0_circularly_references_itself_2586","Enum type '{0}' circularly references itself."),JSDoc_type_0_circularly_references_itself:n_(2587,OY.DiagnosticCategory.Error,"JSDoc_type_0_circularly_references_itself_2587","JSDoc type '{0}' circularly references itself."),Cannot_assign_to_0_because_it_is_a_constant:n_(2588,OY.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:n_(2589,OY.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:n_(2590,OY.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:n_(2591,OY.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:n_(2592,OY.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:n_(2593,OY.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:n_(2594,OY.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:n_(2595,OY.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:n_(2596,OY.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:n_(2597,OY.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:n_(2598,OY.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:n_(2600,OY.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:n_(2601,OY.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:n_(2602,OY.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:n_(2603,OY.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:n_(2604,OY.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:n_(2605,OY.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:n_(2606,OY.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:n_(2607,OY.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:n_(2608,OY.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:n_(2609,OY.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:n_(2610,OY.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:n_(2611,OY.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:n_(2612,OY.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:n_(2613,OY.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:n_(2614,OY.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:n_(2615,OY.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:n_(2616,OY.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:n_(2617,OY.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:n_(2618,OY.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:n_(2619,OY.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:n_(2620,OY.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:n_(2621,OY.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:n_(2623,OY.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:n_(2624,OY.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:n_(2625,OY.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:n_(2626,OY.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:n_(2627,OY.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:n_(2628,OY.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:n_(2629,OY.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:n_(2630,OY.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:n_(2631,OY.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:n_(2632,OY.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:n_(2633,OY.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:n_(2634,OY.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:n_(2649,OY.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:n_(2651,OY.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:n_(2652,OY.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:n_(2653,OY.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:n_(2654,OY.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:n_(2656,OY.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:n_(2657,OY.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:n_(2658,OY.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:n_(2659,OY.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:n_(2660,OY.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:n_(2661,OY.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:n_(2662,OY.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:n_(2663,OY.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:n_(2664,OY.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:n_(2665,OY.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:n_(2666,OY.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:n_(2667,OY.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:n_(2668,OY.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:n_(2669,OY.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:n_(2670,OY.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:n_(2671,OY.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:n_(2672,OY.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:n_(2673,OY.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:n_(2674,OY.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:n_(2675,OY.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:n_(2676,OY.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:n_(2677,OY.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:n_(2678,OY.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:n_(2679,OY.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:n_(2680,OY.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:n_(2681,OY.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:n_(2682,OY.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:n_(2683,OY.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:n_(2684,OY.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:n_(2685,OY.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:n_(2686,OY.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:n_(2687,OY.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:n_(2688,OY.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:n_(2689,OY.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:n_(2690,OY.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:n_(2691,OY.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:n_(2692,OY.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:n_(2693,OY.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:n_(2694,OY.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:n_(2695,OY.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:n_(2696,OY.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:n_(2697,OY.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:n_(2698,OY.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:n_(2699,OY.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:n_(2700,OY.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:n_(2701,OY.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:n_(2702,OY.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:n_(2703,OY.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:n_(2704,OY.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:n_(2705,OY.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:n_(2706,OY.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:n_(2707,OY.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:n_(2708,OY.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:n_(2709,OY.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:n_(2710,OY.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:n_(2711,OY.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:n_(2712,OY.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:n_(2713,OY.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:n_(2714,OY.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:n_(2715,OY.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:n_(2716,OY.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:n_(2717,OY.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:n_(2718,OY.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:n_(2719,OY.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:n_(2720,OY.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:n_(2721,OY.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:n_(2722,OY.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:n_(2723,OY.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:n_(2724,OY.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:n_(2725,OY.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:n_(2726,OY.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:n_(2727,OY.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:n_(2728,OY.DiagnosticCategory.Message,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:n_(2729,OY.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:n_(2730,OY.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:n_(2731,OY.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:n_(2732,OY.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:n_(2733,OY.DiagnosticCategory.Error,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:n_(2734,OY.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:n_(2735,OY.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:n_(2736,OY.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:n_(2737,OY.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:n_(2738,OY.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:n_(2739,OY.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:n_(2740,OY.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:n_(2741,OY.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:n_(2742,OY.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:n_(2743,OY.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:n_(2744,OY.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:n_(2745,OY.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:n_(2746,OY.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:n_(2747,OY.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:n_(2748,OY.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:n_(2749,OY.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:n_(2750,OY.DiagnosticCategory.Error,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:n_(2751,OY.DiagnosticCategory.Error,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:n_(2752,OY.DiagnosticCategory.Error,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:n_(2753,OY.DiagnosticCategory.Error,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:n_(2754,OY.DiagnosticCategory.Error,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:n_(2755,OY.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:n_(2756,OY.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:n_(2757,OY.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:n_(2758,OY.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:n_(2759,OY.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:n_(2760,OY.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:n_(2761,OY.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:n_(2762,OY.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:n_(2763,OY.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:n_(2764,OY.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:n_(2765,OY.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:n_(2766,OY.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:n_(2767,OY.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:n_(2768,OY.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:n_(2769,OY.DiagnosticCategory.Error,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:n_(2770,OY.DiagnosticCategory.Error,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:n_(2771,OY.DiagnosticCategory.Error,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:n_(2772,OY.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:n_(2773,OY.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:n_(2774,OY.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:n_(2775,OY.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:n_(2776,OY.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:n_(2777,OY.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:n_(2778,OY.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:n_(2779,OY.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:n_(2780,OY.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:n_(2781,OY.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:n_(2782,OY.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:n_(2783,OY.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:n_(2784,OY.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:n_(2785,OY.DiagnosticCategory.Error,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:n_(2786,OY.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:n_(2787,OY.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:n_(2788,OY.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:n_(2789,OY.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:n_(2790,OY.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:n_(2791,OY.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:n_(2792,OY.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:n_(2793,OY.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:n_(2794,OY.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:n_(2795,OY.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:n_(2796,OY.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:n_(2797,OY.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:n_(2798,OY.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:n_(2799,OY.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:n_(2800,OY.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:n_(2801,OY.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:n_(2802,OY.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:n_(2803,OY.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:n_(2804,OY.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:n_(2805,OY.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:n_(2806,OY.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:n_(2807,OY.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:n_(2808,OY.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:n_(2809,OY.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:n_(2810,OY.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:n_(2811,OY.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:n_(2812,OY.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:n_(2813,OY.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:n_(2814,OY.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:n_(2815,OY.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:n_(2816,OY.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:n_(2817,OY.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:n_(2818,OY.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:n_(2819,OY.DiagnosticCategory.Error,"Namespace_name_cannot_be_0_2819","Namespace name cannot be '{0}'."),Import_declaration_0_is_using_private_name_1:n_(4e3,OY.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:n_(4002,OY.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:n_(4004,OY.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:n_(4006,OY.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:n_(4008,OY.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:n_(4010,OY.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:n_(4012,OY.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:n_(4014,OY.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:n_(4016,OY.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:n_(4019,OY.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:n_(4020,OY.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:n_(4021,OY.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:n_(4022,OY.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:n_(4023,OY.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:n_(4024,OY.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:n_(4025,OY.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:n_(4026,OY.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:n_(4027,OY.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:n_(4028,OY.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:n_(4029,OY.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:n_(4030,OY.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:n_(4031,OY.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:n_(4032,OY.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:n_(4033,OY.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:n_(4034,OY.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:n_(4035,OY.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:n_(4036,OY.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:n_(4037,OY.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:n_(4038,OY.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:n_(4039,OY.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:n_(4040,OY.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:n_(4041,OY.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:n_(4042,OY.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:n_(4043,OY.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:n_(4044,OY.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:n_(4045,OY.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:n_(4046,OY.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:n_(4047,OY.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:n_(4048,OY.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:n_(4049,OY.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:n_(4050,OY.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:n_(4051,OY.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:n_(4052,OY.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:n_(4053,OY.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:n_(4054,OY.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:n_(4055,OY.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:n_(4056,OY.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:n_(4057,OY.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:n_(4058,OY.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:n_(4059,OY.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:n_(4060,OY.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:n_(4061,OY.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:n_(4062,OY.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:n_(4063,OY.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:n_(4064,OY.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:n_(4065,OY.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:n_(4066,OY.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:n_(4067,OY.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:n_(4068,OY.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:n_(4069,OY.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:n_(4070,OY.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:n_(4071,OY.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:n_(4072,OY.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:n_(4073,OY.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:n_(4074,OY.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:n_(4075,OY.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:n_(4076,OY.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:n_(4077,OY.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:n_(4078,OY.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:n_(4081,OY.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:n_(4082,OY.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:n_(4083,OY.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:n_(4084,OY.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:n_(4090,OY.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:n_(4091,OY.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:n_(4092,OY.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:n_(4094,OY.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:n_(4095,OY.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:n_(4096,OY.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:n_(4097,OY.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:n_(4098,OY.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:n_(4099,OY.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:n_(4100,OY.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:n_(4101,OY.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:n_(4102,OY.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:n_(4103,OY.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:n_(4104,OY.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:n_(4105,OY.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:n_(4106,OY.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:n_(4107,OY.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:n_(4108,OY.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:n_(4109,OY.DiagnosticCategory.Error,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:n_(4110,OY.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:n_(4111,OY.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:n_(4112,OY.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:n_(4113,OY.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:n_(4114,OY.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:n_(4115,OY.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:n_(4116,OY.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:n_(4117,OY.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:n_(4118,OY.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:n_(5001,OY.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:n_(5009,OY.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:n_(5010,OY.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:n_(5012,OY.DiagnosticCategory.Error,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:n_(5014,OY.DiagnosticCategory.Error,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:n_(5023,OY.DiagnosticCategory.Error,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:n_(5024,OY.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:n_(5025,OY.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:n_(5033,OY.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:n_(5042,OY.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:n_(5047,OY.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:n_(5048,OY.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:n_(5051,OY.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:n_(5052,OY.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:n_(5053,OY.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:n_(5054,OY.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:n_(5055,OY.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:n_(5056,OY.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:n_(5057,OY.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:n_(5058,OY.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:n_(5059,OY.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:n_(5061,OY.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:n_(5062,OY.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:n_(5063,OY.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:n_(5064,OY.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:n_(5065,OY.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:n_(5066,OY.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:n_(5067,OY.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:n_(5068,OY.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:n_(5069,OY.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:n_(5070,OY.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:n_(5071,OY.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:n_(5072,OY.DiagnosticCategory.Error,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:n_(5073,OY.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:n_(5074,OY.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:n_(5075,OY.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:n_(5076,OY.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:n_(5077,OY.DiagnosticCategory.Error,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:n_(5078,OY.DiagnosticCategory.Error,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:n_(5079,OY.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:n_(5080,OY.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:n_(5081,OY.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:n_(5082,OY.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:n_(5083,OY.DiagnosticCategory.Error,"Cannot_read_file_0_5083","Cannot read file '{0}'."),Tuple_members_must_all_have_names_or_all_not_have_names:n_(5084,OY.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:n_(5085,OY.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:n_(5086,OY.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:n_(5087,OY.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:n_(5088,OY.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:n_(5089,OY.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:n_(5090,OY.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:n_(5091,OY.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:n_(5092,OY.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:n_(5093,OY.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:n_(5094,OY.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:n_(6e3,OY.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:n_(6001,OY.DiagnosticCategory.Message,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:n_(6002,OY.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:n_(6655,OY.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:n_(6004,OY.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:n_(6005,OY.DiagnosticCategory.Message,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:n_(6006,OY.DiagnosticCategory.Message,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:n_(6007,OY.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:n_(6008,OY.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:n_(6009,OY.DiagnosticCategory.Message,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:n_(6010,OY.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:n_(6011,OY.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:n_(6012,OY.DiagnosticCategory.Message,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:n_(6013,OY.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:n_(6014,OY.DiagnosticCategory.Message,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version:n_(6015,OY.DiagnosticCategory.Message,"Specify_ECMAScript_target_version_6015","Specify ECMAScript target version."),Specify_module_code_generation:n_(6016,OY.DiagnosticCategory.Message,"Specify_module_code_generation_6016","Specify module code generation."),Print_this_message:n_(6017,OY.DiagnosticCategory.Message,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:n_(6019,OY.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:n_(6020,OY.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:n_(6023,OY.DiagnosticCategory.Message,"Syntax_Colon_0_6023","Syntax: {0}"),options:n_(6024,OY.DiagnosticCategory.Message,"options_6024","options"),file:n_(6025,OY.DiagnosticCategory.Message,"file_6025","file"),Examples_Colon_0:n_(6026,OY.DiagnosticCategory.Message,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:n_(6027,OY.DiagnosticCategory.Message,"Options_Colon_6027","Options:"),Version_0:n_(6029,OY.DiagnosticCategory.Message,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:n_(6030,OY.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:n_(6031,OY.DiagnosticCategory.Message,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:n_(6032,OY.DiagnosticCategory.Message,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:n_(6034,OY.DiagnosticCategory.Message,"KIND_6034","KIND"),FILE:n_(6035,OY.DiagnosticCategory.Message,"FILE_6035","FILE"),VERSION:n_(6036,OY.DiagnosticCategory.Message,"VERSION_6036","VERSION"),LOCATION:n_(6037,OY.DiagnosticCategory.Message,"LOCATION_6037","LOCATION"),DIRECTORY:n_(6038,OY.DiagnosticCategory.Message,"DIRECTORY_6038","DIRECTORY"),STRATEGY:n_(6039,OY.DiagnosticCategory.Message,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:n_(6040,OY.DiagnosticCategory.Message,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Generates_corresponding_map_file:n_(6043,OY.DiagnosticCategory.Message,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:n_(6044,OY.DiagnosticCategory.Error,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:n_(6045,OY.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:n_(6046,OY.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:n_(6048,OY.DiagnosticCategory.Error,"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048","Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'."),Unsupported_locale_0:n_(6049,OY.DiagnosticCategory.Error,"Unsupported_locale_0_6049","Unsupported locale '{0}'."),Unable_to_open_file_0:n_(6050,OY.DiagnosticCategory.Error,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:n_(6051,OY.DiagnosticCategory.Error,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:n_(6052,OY.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:n_(6053,OY.DiagnosticCategory.Error,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:n_(6054,OY.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:n_(6055,OY.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:n_(6056,OY.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:n_(6058,OY.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:n_(6059,OY.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:n_(6060,OY.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:n_(6061,OY.DiagnosticCategory.Message,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:n_(6064,OY.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:n_(6065,OY.DiagnosticCategory.Message,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:n_(6066,OY.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:n_(6068,OY.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:n_(6069,OY.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:n_(6070,OY.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:n_(6071,OY.DiagnosticCategory.Message,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:n_(6072,OY.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:n_(6073,OY.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:n_(6074,OY.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:n_(6075,OY.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:n_(6076,OY.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:n_(6077,OY.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:n_(6078,OY.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:n_(6079,OY.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:n_(6080,OY.DiagnosticCategory.Message,"Specify_JSX_code_generation_6080","Specify JSX code generation."),File_0_has_an_unsupported_extension_so_skipping_it:n_(6081,OY.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:n_(6082,OY.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:n_(6083,OY.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:n_(6084,OY.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:n_(6085,OY.DiagnosticCategory.Message,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:n_(6086,OY.DiagnosticCategory.Message,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:n_(6087,OY.DiagnosticCategory.Message,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:n_(6088,OY.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:n_(6089,OY.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:n_(6090,OY.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:n_(6091,OY.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:n_(6092,OY.DiagnosticCategory.Message,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:n_(6093,OY.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:n_(6094,OY.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:n_(6095,OY.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:n_(6096,OY.DiagnosticCategory.Message,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exist_use_it_as_a_name_resolution_result:n_(6097,OY.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:n_(6098,OY.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:n_(6099,OY.DiagnosticCategory.Message,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:n_(6100,OY.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:n_(6101,OY.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:n_(6102,OY.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:n_(6103,OY.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:n_(6104,OY.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:n_(6105,OY.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:n_(6106,OY.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:n_(6107,OY.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:n_(6108,OY.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:n_(6109,OY.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:n_(6110,OY.DiagnosticCategory.Message,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:n_(6111,OY.DiagnosticCategory.Message,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:n_(6112,OY.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:n_(6113,OY.DiagnosticCategory.Message,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:n_(6114,OY.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:n_(6115,OY.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:n_(6116,OY.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:n_(6117,OY.DiagnosticCategory.Message,"Resolving_using_primary_search_paths_6117","Resolving using primary search paths..."),Resolving_from_node_modules_folder:n_(6118,OY.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:n_(6119,OY.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:n_(6120,OY.DiagnosticCategory.Message,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:n_(6121,OY.DiagnosticCategory.Message,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:n_(6122,OY.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:n_(6123,OY.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:n_(6124,OY.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:n_(6125,OY.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:n_(6126,OY.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:n_(6127,OY.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:n_(6128,OY.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:n_(6130,OY.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:n_(6131,OY.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:n_(6132,OY.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:n_(6133,OY.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:n_(6134,OY.DiagnosticCategory.Message,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:n_(6135,OY.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:n_(6136,OY.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:n_(6137,OY.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:n_(6138,OY.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:n_(6139,OY.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:n_(6140,OY.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:n_(6141,OY.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:n_(6142,OY.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:n_(6144,OY.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:n_(6145,OY.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:n_(6146,OY.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:n_(6147,OY.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:n_(6148,OY.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:n_(6149,OY.DiagnosticCategory.Message,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:n_(6150,OY.DiagnosticCategory.Message,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:n_(6151,OY.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:n_(6152,OY.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:n_(6153,OY.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:n_(6154,OY.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:n_(6155,OY.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:n_(6156,OY.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:n_(6157,OY.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:n_(6158,OY.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:n_(6159,OY.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:n_(6160,OY.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:n_(6161,OY.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:n_(6162,OY.DiagnosticCategory.Message,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:n_(6163,OY.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:n_(6622,OY.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:n_(6165,OY.DiagnosticCategory.Message,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:n_(6166,OY.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:n_(6167,OY.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:n_(6168,OY.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:n_(6169,OY.DiagnosticCategory.Message,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:n_(6170,OY.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:n_(6171,OY.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:n_(6179,OY.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:n_(6180,OY.DiagnosticCategory.Message,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),List_of_language_service_plugins:n_(6181,OY.DiagnosticCategory.Message,"List_of_language_service_plugins_6181","List of language service plugins."),Scoped_package_detected_looking_in_0:n_(6182,OY.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:n_(6183,OY.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:n_(6184,OY.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:n_(6186,OY.DiagnosticCategory.Message,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:n_(6187,OY.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:n_(6188,OY.DiagnosticCategory.Error,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:n_(6189,OY.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:n_(6191,OY.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:n_(6192,OY.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:n_(6193,OY.DiagnosticCategory.Message,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:n_(6194,OY.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:n_(6195,OY.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:n_(6196,OY.DiagnosticCategory.Error,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:n_(6197,OY.DiagnosticCategory.Message,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:n_(6198,OY.DiagnosticCategory.Error,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:n_(6199,OY.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:n_(6200,OY.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:n_(6201,OY.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:n_(6202,OY.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:n_(6203,OY.DiagnosticCategory.Message,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:n_(6204,OY.DiagnosticCategory.Message,"and_here_6204","and here."),All_type_parameters_are_unused:n_(6205,OY.DiagnosticCategory.Error,"All_type_parameters_are_unused_6205","All type parameters are unused."),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:n_(6206,OY.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:n_(6207,OY.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:n_(6208,OY.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:n_(6209,OY.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:n_(6210,OY.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:n_(6211,OY.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:n_(6212,OY.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:n_(6213,OY.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:n_(6214,OY.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:n_(6215,OY.DiagnosticCategory.Message,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:n_(6216,OY.DiagnosticCategory.Message,"Found_1_error_6216","Found 1 error."),Found_0_errors:n_(6217,OY.DiagnosticCategory.Message,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:n_(6218,OY.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:n_(6219,OY.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:n_(6220,OY.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:n_(6221,OY.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:n_(6222,OY.DiagnosticCategory.Message,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:n_(6223,OY.DiagnosticCategory.Message,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:n_(6224,OY.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:n_(6225,OY.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:n_(6226,OY.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:n_(6227,OY.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:n_(6229,OY.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:n_(6230,OY.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:n_(6231,OY.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:n_(6232,OY.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:n_(6233,OY.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:n_(6234,OY.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:n_(6235,OY.DiagnosticCategory.Message,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:n_(6236,OY.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:n_(6237,OY.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:n_(6238,OY.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:n_(6239,OY.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:n_(6240,OY.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:n_(6241,OY.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:n_(6242,OY.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:n_(6243,OY.DiagnosticCategory.Message,"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243","Interpret optional property types as written, rather than adding 'undefined'."),Modules:n_(6244,OY.DiagnosticCategory.Message,"Modules_6244","Modules"),File_Management:n_(6245,OY.DiagnosticCategory.Message,"File_Management_6245","File Management"),Emit:n_(6246,OY.DiagnosticCategory.Message,"Emit_6246","Emit"),JavaScript_Support:n_(6247,OY.DiagnosticCategory.Message,"JavaScript_Support_6247","JavaScript Support"),Type_Checking:n_(6248,OY.DiagnosticCategory.Message,"Type_Checking_6248","Type Checking"),Editor_Support:n_(6249,OY.DiagnosticCategory.Message,"Editor_Support_6249","Editor Support"),Watch_and_Build_Modes:n_(6250,OY.DiagnosticCategory.Message,"Watch_and_Build_Modes_6250","Watch and Build Modes"),Compiler_Diagnostics:n_(6251,OY.DiagnosticCategory.Message,"Compiler_Diagnostics_6251","Compiler Diagnostics"),Interop_Constraints:n_(6252,OY.DiagnosticCategory.Message,"Interop_Constraints_6252","Interop Constraints"),Backwards_Compatibility:n_(6253,OY.DiagnosticCategory.Message,"Backwards_Compatibility_6253","Backwards Compatibility"),Language_and_Environment:n_(6254,OY.DiagnosticCategory.Message,"Language_and_Environment_6254","Language and Environment"),Projects:n_(6255,OY.DiagnosticCategory.Message,"Projects_6255","Projects"),Output_Formatting:n_(6256,OY.DiagnosticCategory.Message,"Output_Formatting_6256","Output Formatting"),Completeness:n_(6257,OY.DiagnosticCategory.Message,"Completeness_6257","Completeness"),Projects_to_reference:n_(6300,OY.DiagnosticCategory.Message,"Projects_to_reference_6300","Projects to reference"),Enable_project_compilation:n_(6302,OY.DiagnosticCategory.Message,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:n_(6304,OY.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:n_(6305,OY.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:n_(6306,OY.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:n_(6307,OY.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:n_(6308,OY.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:n_(6309,OY.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:n_(6310,OY.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:n_(6350,OY.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:n_(6351,OY.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:n_(6352,OY.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:n_(6353,OY.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:n_(6354,OY.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:n_(6355,OY.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:n_(6356,OY.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:n_(6357,OY.DiagnosticCategory.Message,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:n_(6358,OY.DiagnosticCategory.Message,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:n_(6359,OY.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:n_(6360,OY.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:n_(6361,OY.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:n_(6362,OY.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:n_(6363,OY.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:n_(6364,OY.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:n_(6365,OY.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:n_(6367,OY.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:n_(6369,OY.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:n_(6370,OY.DiagnosticCategory.Error,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:n_(6371,OY.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:n_(6372,OY.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:n_(6373,OY.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:n_(6374,OY.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:n_(6375,OY.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:n_(6376,OY.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:n_(6377,OY.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:n_(6378,OY.DiagnosticCategory.Message,"Enable_incremental_compilation_6378","Enable incremental compilation"),Composite_projects_may_not_disable_incremental_compilation:n_(6379,OY.DiagnosticCategory.Error,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:n_(6380,OY.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:n_(6381,OY.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:n_(6382,OY.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:n_(6383,OY.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:n_(6384,OY.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:n_(6385,OY.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:n_(6386,OY.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:n_(6387,OY.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:n_(6388,OY.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:n_(6389,OY.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:n_(6390,OY.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:n_(6391,OY.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:n_(6392,OY.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:n_(6393,OY.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:n_(6394,OY.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:n_(6395,OY.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:n_(6396,OY.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:n_(6397,OY.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:n_(6398,OY.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:n_(6500,OY.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:n_(6501,OY.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:n_(6502,OY.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:n_(6503,OY.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:n_(6504,OY.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:n_(6505,OY.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:n_(6506,OY.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:n_(6600,OY.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:n_(6601,OY.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:n_(6602,OY.DiagnosticCategory.Message,"Allow_accessing_UMD_globals_from_modules_6602","Allow accessing UMD globals from modules."),Disable_error_reporting_for_unreachable_code:n_(6603,OY.DiagnosticCategory.Message,"Disable_error_reporting_for_unreachable_code_6603","Disable error reporting for unreachable code."),Disable_error_reporting_for_unused_labels:n_(6604,OY.DiagnosticCategory.Message,"Disable_error_reporting_for_unused_labels_6604","Disable error reporting for unused labels."),Ensure_use_strict_is_always_emitted:n_(6605,OY.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:n_(6606,OY.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:n_(6607,OY.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:n_(6608,OY.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:n_(6609,OY.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:n_(6611,OY.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:n_(6612,OY.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:n_(6613,OY.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:n_(6614,OY.DiagnosticCategory.Message,"Create_sourcemaps_for_d_ts_files_6614","Create sourcemaps for d.ts files."),Output_compiler_performance_information_after_building:n_(6615,OY.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:n_(6616,OY.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:n_(6617,OY.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:n_(6618,OY.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:n_(6619,OY.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:n_(6620,OY.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:n_(6621,OY.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:n_(6623,OY.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:n_(6624,OY.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:n_(6625,OY.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:n_(6626,OY.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:n_(6627,OY.DiagnosticCategory.Message,"Filters_results_from_the_include_option_6627","Filters results from the `include` option."),Remove_a_list_of_directories_from_the_watch_process:n_(6628,OY.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:n_(6629,OY.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:n_(6630,OY.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:n_(6631,OY.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:n_(6632,OY.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:n_(6633,OY.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:n_(6634,OY.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:n_(6635,OY.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:n_(6636,OY.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:n_(6637,OY.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:n_(6638,OY.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:n_(6639,OY.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:n_(6641,OY.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:n_(6642,OY.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:n_(6643,OY.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:n_(6644,OY.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:n_(6645,OY.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:n_(6646,OY.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:n_(6647,OY.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:n_(6648,OY.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:n_(6649,OY.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:n_(6650,OY.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:n_(6651,OY.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:n_(6652,OY.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:n_(6653,OY.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:n_(6654,OY.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:n_(6656,OY.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:n_(6657,OY.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:n_(6658,OY.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:n_(6659,OY.DiagnosticCategory.Message,"Set_the_newline_character_for_emitting_files_6659","Set the newline character for emitting files."),Disable_emitting_files_from_a_compilation:n_(6660,OY.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:n_(6661,OY.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:n_(6662,OY.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:n_(6663,OY.DiagnosticCategory.Message,"Disable_truncating_types_in_error_messages_6663","Disable truncating types in error messages."),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:n_(6664,OY.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:n_(6665,OY.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:n_(6666,OY.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:n_(6667,OY.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:n_(6668,OY.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:n_(6669,OY.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:n_(6670,OY.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:n_(6671,OY.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:n_(6672,OY.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 `<reference>`s from expanding the number of files TypeScript should add to a project."),Disable_strict_checking_of_generic_signatures_in_function_types:n_(6673,OY.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:n_(6674,OY.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:n_(6675,OY.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:n_(6676,OY.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:n_(6677,OY.DiagnosticCategory.Message,"Deprecated_setting_Use_outFile_instead_6677","Deprecated setting. Use `outFile` instead."),Specify_an_output_folder_for_all_emitted_files:n_(6678,OY.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:n_(6679,OY.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:n_(6680,OY.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:n_(6681,OY.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:n_(6682,OY.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:n_(6683,OY.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:n_(6684,OY.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:n_(6685,OY.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:n_(6686,OY.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:n_(6687,OY.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:n_(6688,OY.DiagnosticCategory.Message,"Disable_emitting_comments_6688","Disable emitting comments."),Enable_importing_json_files:n_(6689,OY.DiagnosticCategory.Message,"Enable_importing_json_files_6689","Enable importing .json files"),Specify_the_root_folder_within_your_source_files:n_(6690,OY.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:n_(6691,OY.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:n_(6692,OY.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:n_(6693,OY.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:n_(6694,OY.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:n_(6695,OY.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:n_(6697,OY.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:n_(6698,OY.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:n_(6699,OY.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:n_(6700,OY.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:n_(6701,OY.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:n_(6702,OY.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:n_(6703,OY.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:n_(6704,OY.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:n_(6705,OY.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:n_(6706,OY.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:n_(6707,OY.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:n_(6709,OY.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:n_(6710,OY.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:n_(6711,OY.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:n_(6712,OY.DiagnosticCategory.Message,"Emit_ECMAScript_standard_compliant_class_fields_6712","Emit ECMAScript-standard-compliant class fields."),Enable_verbose_logging:n_(6713,OY.DiagnosticCategory.Message,"Enable_verbose_logging_6713","Enable verbose logging"),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:n_(6714,OY.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:n_(6715,OY.DiagnosticCategory.Message,"Specify_how_the_TypeScript_watch_mode_works_6715","Specify how the TypeScript watch mode works."),Include_undefined_in_index_signature_results:n_(6716,OY.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:n_(6717,OY.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:n_(6718,OY.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:n_(6803,OY.DiagnosticCategory.Message,"Type_catch_clause_variables_as_unknown_instead_of_any_6803","Type catch clause variables as 'unknown' instead of 'any'."),one_of_Colon:n_(6900,OY.DiagnosticCategory.Message,"one_of_Colon_6900","one of:"),one_or_more_Colon:n_(6901,OY.DiagnosticCategory.Message,"one_or_more_Colon_6901","one or more:"),type_Colon:n_(6902,OY.DiagnosticCategory.Message,"type_Colon_6902","type:"),default_Colon:n_(6903,OY.DiagnosticCategory.Message,"default_Colon_6903","default:"),module_system_or_esModuleInterop:n_(6904,OY.DiagnosticCategory.Message,"module_system_or_esModuleInterop_6904",'module === "system" or esModuleInterop'),false_unless_strict_is_set:n_(6905,OY.DiagnosticCategory.Message,"false_unless_strict_is_set_6905","`false`, unless `strict` is set"),false_unless_composite_is_set:n_(6906,OY.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:n_(6907,OY.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:n_(6908,OY.DiagnosticCategory.Message,"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908",'`[]` if `files` is specified, otherwise `["**/*"]`'),true_if_composite_false_otherwise:n_(6909,OY.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:n_(69010,OY.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:n_(6911,OY.DiagnosticCategory.Message,"Computed_from_the_list_of_input_files_6911","Computed from the list of input files"),Platform_specific:n_(6912,OY.DiagnosticCategory.Message,"Platform_specific_6912","Platform specific"),You_can_learn_about_all_of_the_compiler_options_at_0:n_(6913,OY.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:n_(6914,OY.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:n_(6915,OY.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:n_(6916,OY.DiagnosticCategory.Message,"COMMON_COMMANDS_6916","COMMON COMMANDS"),ALL_COMPILER_OPTIONS:n_(6917,OY.DiagnosticCategory.Message,"ALL_COMPILER_OPTIONS_6917","ALL COMPILER OPTIONS"),WATCH_OPTIONS:n_(6918,OY.DiagnosticCategory.Message,"WATCH_OPTIONS_6918","WATCH OPTIONS"),BUILD_OPTIONS:n_(6919,OY.DiagnosticCategory.Message,"BUILD_OPTIONS_6919","BUILD OPTIONS"),COMMON_COMPILER_OPTIONS:n_(6920,OY.DiagnosticCategory.Message,"COMMON_COMPILER_OPTIONS_6920","COMMON COMPILER OPTIONS"),COMMAND_LINE_FLAGS:n_(6921,OY.DiagnosticCategory.Message,"COMMAND_LINE_FLAGS_6921","COMMAND LINE FLAGS"),tsc_Colon_The_TypeScript_Compiler:n_(6922,OY.DiagnosticCategory.Message,"tsc_Colon_The_TypeScript_Compiler_6922","tsc: The TypeScript Compiler"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:n_(6923,OY.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:n_(6924,OY.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:n_(6925,OY.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:n_(6926,OY.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:n_(6927,OY.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:n_(6928,OY.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:n_(6929,OY.DiagnosticCategory.Message,"Compiles_the_current_project_with_additional_settings_6929","Compiles the current project, with additional settings."),Variable_0_implicitly_has_an_1_type:n_(7005,OY.DiagnosticCategory.Error,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:n_(7006,OY.DiagnosticCategory.Error,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:n_(7008,OY.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:n_(7009,OY.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:n_(7010,OY.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:n_(7011,OY.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:n_(7013,OY.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:n_(7014,OY.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:n_(7015,OY.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:n_(7016,OY.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:n_(7017,OY.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:n_(7018,OY.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:n_(7019,OY.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:n_(7020,OY.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:n_(7022,OY.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:n_(7023,OY.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:n_(7024,OY.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:n_(7025,OY.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:n_(7026,OY.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:n_(7027,OY.DiagnosticCategory.Error,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:n_(7028,OY.DiagnosticCategory.Error,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:n_(7029,OY.DiagnosticCategory.Error,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:n_(7030,OY.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:n_(7031,OY.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:n_(7032,OY.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:n_(7033,OY.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:n_(7034,OY.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:n_(7035,OY.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:n_(7036,OY.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:n_(7037,OY.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:n_(7038,OY.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:n_(7039,OY.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:n_(7040,OY.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:n_(7041,OY.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:n_(7042,OY.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:n_(7043,OY.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:n_(7044,OY.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:n_(7045,OY.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:n_(7046,OY.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:n_(7047,OY.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:n_(7048,OY.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:n_(7049,OY.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:n_(7050,OY.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:n_(7051,OY.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:n_(7052,OY.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:n_(7053,OY.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:n_(7054,OY.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:n_(7055,OY.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:n_(7056,OY.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:n_(7057,OY.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:n_(8e3,OY.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:n_(8001,OY.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:n_(8002,OY.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:n_(8003,OY.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:n_(8004,OY.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:n_(8005,OY.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:n_(8006,OY.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:n_(8008,OY.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:n_(8009,OY.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:n_(8010,OY.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:n_(8011,OY.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:n_(8012,OY.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:n_(8013,OY.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:n_(8016,OY.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:n_(8017,OY.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:n_(8018,OY.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:n_(8019,OY.DiagnosticCategory.Message,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:n_(8020,OY.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:n_(8021,OY.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:n_(8022,OY.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:n_(8023,OY.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:n_(8024,OY.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:n_(8025,OY.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:n_(8026,OY.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:n_(8027,OY.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:n_(8028,OY.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:n_(8029,OY.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:n_(8030,OY.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:n_(8031,OY.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:n_(8032,OY.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:n_(8033,OY.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:n_(8034,OY.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:n_(9002,OY.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:n_(9003,OY.DiagnosticCategory.Error,"class_expressions_are_not_currently_supported_9003","'class' expressions are not currently supported."),Language_service_is_disabled:n_(9004,OY.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:n_(9005,OY.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:n_(9006,OY.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:n_(17e3,OY.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:n_(17001,OY.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:n_(17002,OY.DiagnosticCategory.Error,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),JSX_attribute_expected:n_(17003,OY.DiagnosticCategory.Error,"JSX_attribute_expected_17003","JSX attribute expected."),Cannot_use_JSX_unless_the_jsx_flag_is_provided:n_(17004,OY.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:n_(17005,OY.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:n_(17006,OY.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:n_(17007,OY.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:n_(17008,OY.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:n_(17009,OY.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:n_(17010,OY.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:n_(17011,OY.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:n_(17012,OY.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:n_(17013,OY.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:n_(17014,OY.DiagnosticCategory.Error,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:n_(17015,OY.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:n_(17016,OY.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:n_(17017,OY.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:n_(17018,OY.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:n_(18e3,OY.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:n_(18001,OY.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:n_(18002,OY.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:n_(18003,OY.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:n_(80001,OY.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:n_(80002,OY.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:n_(80003,OY.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:n_(80004,OY.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:n_(80005,OY.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:n_(80006,OY.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:n_(80007,OY.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:n_(80008,OY.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:n_(90001,OY.DiagnosticCategory.Message,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:n_(90002,OY.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:n_(90003,OY.DiagnosticCategory.Message,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:n_(90004,OY.DiagnosticCategory.Message,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:n_(90005,OY.DiagnosticCategory.Message,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:n_(90006,OY.DiagnosticCategory.Message,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:n_(90007,OY.DiagnosticCategory.Message,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:n_(90008,OY.DiagnosticCategory.Message,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:n_(90010,OY.DiagnosticCategory.Message,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:n_(90011,OY.DiagnosticCategory.Message,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:n_(90012,OY.DiagnosticCategory.Message,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_module_1:n_(90013,OY.DiagnosticCategory.Message,"Import_0_from_module_1_90013","Import '{0}' from module \"{1}\""),Change_0_to_1:n_(90014,OY.DiagnosticCategory.Message,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Add_0_to_existing_import_declaration_from_1:n_(90015,OY.DiagnosticCategory.Message,"Add_0_to_existing_import_declaration_from_1_90015","Add '{0}' to existing import declaration from \"{1}\""),Declare_property_0:n_(90016,OY.DiagnosticCategory.Message,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:n_(90017,OY.DiagnosticCategory.Message,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:n_(90018,OY.DiagnosticCategory.Message,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:n_(90019,OY.DiagnosticCategory.Message,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:n_(90020,OY.DiagnosticCategory.Message,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:n_(90021,OY.DiagnosticCategory.Message,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:n_(90022,OY.DiagnosticCategory.Message,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:n_(90023,OY.DiagnosticCategory.Message,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:n_(90024,OY.DiagnosticCategory.Message,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:n_(90025,OY.DiagnosticCategory.Message,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:n_(90026,OY.DiagnosticCategory.Message,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:n_(90027,OY.DiagnosticCategory.Message,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:n_(90028,OY.DiagnosticCategory.Message,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:n_(90029,OY.DiagnosticCategory.Message,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:n_(90030,OY.DiagnosticCategory.Message,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:n_(90031,OY.DiagnosticCategory.Message,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Import_default_0_from_module_1:n_(90032,OY.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:n_(90033,OY.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:n_(90034,OY.DiagnosticCategory.Message,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:n_(90035,OY.DiagnosticCategory.Message,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:n_(90036,OY.DiagnosticCategory.Message,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:n_(90037,OY.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:n_(90038,OY.DiagnosticCategory.Message,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:n_(90039,OY.DiagnosticCategory.Message,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:n_(90041,OY.DiagnosticCategory.Message,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:n_(90053,OY.DiagnosticCategory.Message,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Convert_function_to_an_ES2015_class:n_(95001,OY.DiagnosticCategory.Message,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_function_0_to_class:n_(95002,OY.DiagnosticCategory.Message,"Convert_function_0_to_class_95002","Convert function '{0}' to class"),Convert_0_to_1_in_0:n_(95003,OY.DiagnosticCategory.Message,"Convert_0_to_1_in_0_95003","Convert '{0}' to '{1} in {0}'"),Extract_to_0_in_1:n_(95004,OY.DiagnosticCategory.Message,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:n_(95005,OY.DiagnosticCategory.Message,"Extract_function_95005","Extract function"),Extract_constant:n_(95006,OY.DiagnosticCategory.Message,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:n_(95007,OY.DiagnosticCategory.Message,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:n_(95008,OY.DiagnosticCategory.Message,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:n_(95009,OY.DiagnosticCategory.Message,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Annotate_with_types_from_JSDoc:n_(95010,OY.DiagnosticCategory.Message,"Annotate_with_types_from_JSDoc_95010","Annotate with types from JSDoc"),Infer_type_of_0_from_usage:n_(95011,OY.DiagnosticCategory.Message,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:n_(95012,OY.DiagnosticCategory.Message,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:n_(95013,OY.DiagnosticCategory.Message,"Convert_to_default_import_95013","Convert to default import"),Install_0:n_(95014,OY.DiagnosticCategory.Message,"Install_0_95014","Install '{0}'"),Replace_import_with_0:n_(95015,OY.DiagnosticCategory.Message,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:n_(95016,OY.DiagnosticCategory.Message,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES6_module:n_(95017,OY.DiagnosticCategory.Message,"Convert_to_ES6_module_95017","Convert to ES6 module"),Add_undefined_type_to_property_0:n_(95018,OY.DiagnosticCategory.Message,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:n_(95019,OY.DiagnosticCategory.Message,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:n_(95020,OY.DiagnosticCategory.Message,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Convert_all_type_literals_to_mapped_type:n_(95021,OY.DiagnosticCategory.Message,"Convert_all_type_literals_to_mapped_type_95021","Convert all type literals to mapped type"),Add_all_missing_members:n_(95022,OY.DiagnosticCategory.Message,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:n_(95023,OY.DiagnosticCategory.Message,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:n_(95024,OY.DiagnosticCategory.Message,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:n_(95025,OY.DiagnosticCategory.Message,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:n_(95026,OY.DiagnosticCategory.Message,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:n_(95027,OY.DiagnosticCategory.Message,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:n_(95028,OY.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:n_(95029,OY.DiagnosticCategory.Message,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:n_(95030,OY.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:n_(95031,OY.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:n_(95032,OY.DiagnosticCategory.Message,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:n_(95033,OY.DiagnosticCategory.Message,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:n_(95034,OY.DiagnosticCategory.Message,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:n_(95035,OY.DiagnosticCategory.Message,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:n_(95036,OY.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:n_(95037,OY.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:n_(95038,OY.DiagnosticCategory.Message,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:n_(95039,OY.DiagnosticCategory.Message,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:n_(95040,OY.DiagnosticCategory.Message,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:n_(95041,OY.DiagnosticCategory.Message,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:n_(95042,OY.DiagnosticCategory.Message,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:n_(95043,OY.DiagnosticCategory.Message,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:n_(95044,OY.DiagnosticCategory.Message,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:n_(95045,OY.DiagnosticCategory.Message,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:n_(95046,OY.DiagnosticCategory.Message,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:n_(95047,OY.DiagnosticCategory.Message,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:n_(95048,OY.DiagnosticCategory.Message,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:n_(95049,OY.DiagnosticCategory.Message,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:n_(95050,OY.DiagnosticCategory.Message,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:n_(95051,OY.DiagnosticCategory.Message,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:n_(95052,OY.DiagnosticCategory.Message,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:n_(95053,OY.DiagnosticCategory.Message,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:n_(95054,OY.DiagnosticCategory.Message,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:n_(95055,OY.DiagnosticCategory.Message,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:n_(95056,OY.DiagnosticCategory.Message,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:n_(95057,OY.DiagnosticCategory.Message,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:n_(95058,OY.DiagnosticCategory.Message,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:n_(95059,OY.DiagnosticCategory.Message,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:n_(95060,OY.DiagnosticCategory.Message,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:n_(95061,OY.DiagnosticCategory.Message,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:n_(95062,OY.DiagnosticCategory.Message,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:n_(95063,OY.DiagnosticCategory.Message,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:n_(95064,OY.DiagnosticCategory.Message,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:n_(95065,OY.DiagnosticCategory.Message,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:n_(95066,OY.DiagnosticCategory.Message,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:n_(95067,OY.DiagnosticCategory.Message,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:n_(95068,OY.DiagnosticCategory.Message,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:n_(95069,OY.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:n_(95070,OY.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:n_(95071,OY.DiagnosticCategory.Message,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:n_(95072,OY.DiagnosticCategory.Message,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:n_(95073,OY.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:n_(95074,OY.DiagnosticCategory.Message,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:n_(95075,OY.DiagnosticCategory.Message,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Extract_type:n_(95077,OY.DiagnosticCategory.Message,"Extract_type_95077","Extract type"),Extract_to_type_alias:n_(95078,OY.DiagnosticCategory.Message,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:n_(95079,OY.DiagnosticCategory.Message,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:n_(95080,OY.DiagnosticCategory.Message,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:n_(95081,OY.DiagnosticCategory.Message,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:n_(95082,OY.DiagnosticCategory.Message,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:n_(95083,OY.DiagnosticCategory.Message,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:n_(95084,OY.DiagnosticCategory.Message,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:n_(95085,OY.DiagnosticCategory.Message,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:n_(95086,OY.DiagnosticCategory.Message,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:n_(95087,OY.DiagnosticCategory.Message,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:n_(95088,OY.DiagnosticCategory.Message,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:n_(95089,OY.DiagnosticCategory.Message,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:n_(95090,OY.DiagnosticCategory.Message,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:n_(95091,OY.DiagnosticCategory.Message,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:n_(95092,OY.DiagnosticCategory.Message,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:n_(95093,OY.DiagnosticCategory.Message,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:n_(95094,OY.DiagnosticCategory.Message,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:n_(95095,OY.DiagnosticCategory.Message,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:n_(95096,OY.DiagnosticCategory.Message,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:n_(95097,OY.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:n_(95098,OY.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:n_(95099,OY.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:n_(95100,OY.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:n_(95101,OY.DiagnosticCategory.Message,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Add_class_tag:n_(95102,OY.DiagnosticCategory.Message,"Add_class_tag_95102","Add '@class' tag"),Add_this_tag:n_(95103,OY.DiagnosticCategory.Message,"Add_this_tag_95103","Add '@this' tag"),Add_this_parameter:n_(95104,OY.DiagnosticCategory.Message,"Add_this_parameter_95104","Add 'this' parameter."),Convert_function_expression_0_to_arrow_function:n_(95105,OY.DiagnosticCategory.Message,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:n_(95106,OY.DiagnosticCategory.Message,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:n_(95107,OY.DiagnosticCategory.Message,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:n_(95108,OY.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:n_(95109,OY.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:n_(95110,OY.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:n_(95111,OY.DiagnosticCategory.Message,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:n_(95112,OY.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:n_(95113,OY.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:n_(95114,OY.DiagnosticCategory.Message,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:n_(95115,OY.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:n_(95116,OY.DiagnosticCategory.Message,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:n_(95117,OY.DiagnosticCategory.Message,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:n_(95118,OY.DiagnosticCategory.Message,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:n_(95119,OY.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:n_(95120,OY.DiagnosticCategory.Message,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:n_(95121,OY.DiagnosticCategory.Message,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:n_(95122,OY.DiagnosticCategory.Message,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:n_(95123,OY.DiagnosticCategory.Message,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:n_(95124,OY.DiagnosticCategory.Message,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:n_(95125,OY.DiagnosticCategory.Message,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:n_(95126,OY.DiagnosticCategory.Message,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:n_(95127,OY.DiagnosticCategory.Message,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:n_(95128,OY.DiagnosticCategory.Message,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:n_(95129,OY.DiagnosticCategory.Message,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:n_(95130,OY.DiagnosticCategory.Message,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:n_(95131,OY.DiagnosticCategory.Message,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:n_(95132,OY.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:n_(95133,OY.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:n_(95134,OY.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:n_(95135,OY.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:n_(95136,OY.DiagnosticCategory.Message,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:n_(95137,OY.DiagnosticCategory.Message,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:n_(95138,OY.DiagnosticCategory.Message,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:n_(95139,OY.DiagnosticCategory.Message,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:n_(95140,OY.DiagnosticCategory.Message,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:n_(95141,OY.DiagnosticCategory.Message,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:n_(95142,OY.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:n_(95143,OY.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:n_(95144,OY.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:n_(95145,OY.DiagnosticCategory.Message,"Use_element_access_for_0_95145","Use element access for '{0}'"),Use_element_access_for_all_undeclared_properties:n_(95146,OY.DiagnosticCategory.Message,"Use_element_access_for_all_undeclared_properties_95146","Use element access for all undeclared properties."),Delete_all_unused_imports:n_(95147,OY.DiagnosticCategory.Message,"Delete_all_unused_imports_95147","Delete all unused imports"),Infer_function_return_type:n_(95148,OY.DiagnosticCategory.Message,"Infer_function_return_type_95148","Infer function return type"),Return_type_must_be_inferred_from_a_function:n_(95149,OY.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:n_(95150,OY.DiagnosticCategory.Message,"Could_not_determine_function_return_type_95150","Could not determine function return type"),Could_not_convert_to_arrow_function:n_(95151,OY.DiagnosticCategory.Message,"Could_not_convert_to_arrow_function_95151","Could not convert to arrow function"),Could_not_convert_to_named_function:n_(95152,OY.DiagnosticCategory.Message,"Could_not_convert_to_named_function_95152","Could not convert to named function"),Could_not_convert_to_anonymous_function:n_(95153,OY.DiagnosticCategory.Message,"Could_not_convert_to_anonymous_function_95153","Could not convert to anonymous function"),Can_only_convert_string_concatenation:n_(95154,OY.DiagnosticCategory.Message,"Can_only_convert_string_concatenation_95154","Can only convert string concatenation"),Selection_is_not_a_valid_statement_or_statements:n_(95155,OY.DiagnosticCategory.Message,"Selection_is_not_a_valid_statement_or_statements_95155","Selection is not a valid statement or statements"),Add_missing_function_declaration_0:n_(95156,OY.DiagnosticCategory.Message,"Add_missing_function_declaration_0_95156","Add missing function declaration '{0}'"),Add_all_missing_function_declarations:n_(95157,OY.DiagnosticCategory.Message,"Add_all_missing_function_declarations_95157","Add all missing function declarations"),Method_not_implemented:n_(95158,OY.DiagnosticCategory.Message,"Method_not_implemented_95158","Method not implemented."),Function_not_implemented:n_(95159,OY.DiagnosticCategory.Message,"Function_not_implemented_95159","Function not implemented."),Add_override_modifier:n_(95160,OY.DiagnosticCategory.Message,"Add_override_modifier_95160","Add 'override' modifier"),Remove_override_modifier:n_(95161,OY.DiagnosticCategory.Message,"Remove_override_modifier_95161","Remove 'override' modifier"),Add_all_missing_override_modifiers:n_(95162,OY.DiagnosticCategory.Message,"Add_all_missing_override_modifiers_95162","Add all missing 'override' modifiers"),Remove_all_unnecessary_override_modifiers:n_(95163,OY.DiagnosticCategory.Message,"Remove_all_unnecessary_override_modifiers_95163","Remove all unnecessary 'override' modifiers"),Can_only_convert_named_export:n_(95164,OY.DiagnosticCategory.Message,"Can_only_convert_named_export_95164","Can only convert named export"),Add_missing_properties:n_(95165,OY.DiagnosticCategory.Message,"Add_missing_properties_95165","Add missing properties"),Add_all_missing_properties:n_(95166,OY.DiagnosticCategory.Message,"Add_all_missing_properties_95166","Add all missing properties"),Add_missing_attributes:n_(95167,OY.DiagnosticCategory.Message,"Add_missing_attributes_95167","Add missing attributes"),Add_all_missing_attributes:n_(95168,OY.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:n_(18004,OY.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:n_(18006,OY.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:n_(18007,OY.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:n_(18009,OY.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:n_(18010,OY.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:n_(18011,OY.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:n_(18012,OY.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:n_(18013,OY.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:n_(18014,OY.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:n_(18015,OY.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:n_(18016,OY.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:n_(18017,OY.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:n_(18018,OY.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:n_(18019,OY.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:n_(18024,OY.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:n_(18026,OY.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:n_(18027,OY.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:n_(18028,OY.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:n_(18029,OY.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:n_(18030,OY.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:n_(18031,OY.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:n_(18032,OY.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:n_(18033,OY.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:n_(18034,OY.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:n_(18035,OY.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:n_(18036,OY.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:n_(18037,OY.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:n_(18038,OY.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:n_(18039,OY.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:n_(18041,OY.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.")};var t_=bY=bY||{};function r_(e){return 79<=e}t_.tokenIsIdentifierOrKeyword=r_,t_.tokenIsIdentifierOrKeywordOrGreaterThan=function(e){return 31===e||79<=e},t_.textToKeywordObj=((cm={abstract:126,any:129,as:127,asserts:128,bigint:156,boolean:132,break:81,case:82,catch:83,class:84,continue:86,const:85}).constructor=133,cm.debugger=87,cm.declare=134,cm.default=88,cm.delete=89,cm.do=90,cm.else=91,cm.enum=92,cm.export=93,cm.extends=94,cm.false=95,cm.finally=96,cm.for=97,cm.from=154,cm.function=98,cm.get=135,cm.if=99,cm.implements=117,cm.import=100,cm.in=101,cm.infer=136,cm.instanceof=102,cm.interface=118,cm.intrinsic=137,cm.is=138,cm.keyof=139,cm.let=119,cm.module=140,cm.namespace=141,cm.never=142,cm.new=103,cm.null=104,cm.number=145,cm.object=146,cm.package=120,cm.private=121,cm.protected=122,cm.public=123,cm.override=157,cm.readonly=143,cm.require=144,cm.global=155,cm.return=105,cm.set=147,cm.static=124,cm.string=148,cm.super=106,cm.switch=107,cm.symbol=149,cm.this=108,cm.throw=109,cm.true=110,cm.try=111,cm.type=150,cm.typeof=112,cm.undefined=151,cm.unique=152,cm.unknown=153,cm.var=113,cm.void=114,cm.while=115,cm.with=116,cm.yield=125,cm.async=130,cm.await=131,cm.of=158,cm);var a_=new t_.Map(t_.getEntries(t_.textToKeywordObj)),i_=new t_.Map(t_.getEntries(nu(nu({},t_.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,"</":30,">>":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}))),o_=[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],s_=[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],c_=[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],l_=[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],u_=[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],p_=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/,m_=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/;function __(e,n){if(!(e<n[0]))for(var t,r=0,a=n.length;r+1<a;){if(t=r+(a-r)/2,n[t-=t%2]<=e&&e<=n[1+t])return!0;e<n[t]?a=t:r=2+t}return!1}function f_(e,n){return __(e,2<=n?d_:1===n?c_:o_)}t_.isUnicodeIdentifierStart=f_,g_=[],i_.forEach((function(e,n){g_[e]=n}));var g_,y_=g_;function h_(e){for(var n=new Array,t=0,r=0;t<e.length;){var a=e.charCodeAt(t);switch(t++,a){case 13:10===e.charCodeAt(t)&&t++;case 10:n.push(r),r=t;break;default:127<a&&L_(a)&&(n.push(r),r=t)}}return n.push(r),n}function v_(e,n,t,r,a){return(n<0||n>=e.length)&&(a?n=n<0?0:n>=e.length?e.length-1:n:t_.Debug.fail("Bad line number. Line: "+n+", lineStarts.length: "+e.length+" , line map is correct? "+(void 0!==r?t_.arraysEqual(e,h_(r)):"unknown"))),t=e[n]+t,a?t>e[n+1]?e[n+1]:"string"==typeof r&&t>r.length?r.length:t:(n<e.length-1?t_.Debug.assert(t<e[n+1]):void 0!==r&&t_.Debug.assert(t<=r.length),t)}function b_(e){return e.lineMap||(e.lineMap=h_(e.text))}function E_(e,n){var t=T_(e,n);return{line:t,character:n-e[t]}}function T_(e,n,t){return e=t_.binarySearch(e,n,t_.identity,t_.compareValues,t),e<0&&t_.Debug.assert(-1!==(e=~e-1),"position cannot precede the beginning of the file"),e}function S_(e){return x_(e)||L_(e)}function x_(e){return 32===e||9===e||11===e||12===e||160===e||133===e||5760===e||8192<=e&&e<=8203||8239===e||8287===e||12288===e||65279===e}function L_(e){return 10===e||13===e||8232===e||8233===e}function D_(e){return 48<=e&&e<=57}function A_(e){return D_(e)||65<=e&&e<=70||97<=e&&e<=102}function C_(e){return 48<=e&&e<=55}t_.tokenToString=function(e){return y_[e]},t_.stringToToken=function(e){return i_.get(e)},t_.computeLineStarts=h_,t_.getPositionOfLineAndCharacter=function(e,n,t,r){return e.getPositionOfLineAndCharacter?e.getPositionOfLineAndCharacter(n,t,r):v_(b_(e),n,t,e.text,r)},t_.computePositionOfLineAndCharacter=v_,t_.getLineStarts=b_,t_.computeLineAndCharacterOfPosition=E_,t_.computeLineOfPosition=T_,t_.getLinesBetweenPositions=function(e,n,t){var r,a;return n===t?0:(e=b_(e),n=(r=(a=Math.min(n,t))===t)?n:t,t=T_(e,a),a=T_(e,n,t),r?t-a:a-t)},t_.getLineAndCharacterOfPosition=function(e,n){return E_(b_(e),n)},t_.isWhiteSpaceLike=S_,t_.isWhiteSpaceSingleLine=x_,t_.isLineBreak=L_,t_.isOctalDigit=C_,t_.couldStartTrivia=function(e,n){var t=e.charCodeAt(n);switch(t){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 0===n;default:return 127<t}},t_.skipTrivia=function(e,n,t,r,a){if(t_.positionIsSynthesized(n))return n;for(var i=!1;;){var o=e.charCodeAt(n);switch(o){case 13:10===e.charCodeAt(n+1)&&n++;case 10:if(n++,t)return n;i=!!a;continue;case 9:case 11:case 12:case 32:n++;continue;case 47:if(r)break;if(47===e.charCodeAt(n+1)){for(n+=2;n<e.length&&!L_(e.charCodeAt(n));)n++;i=!1;continue}if(42!==e.charCodeAt(n+1))break;for(n+=2;n<e.length;){if(42===e.charCodeAt(n)&&47===e.charCodeAt(n+1)){n+=2;break}n++}i=!1;continue;case 60:case 124:case 61:case 62:if(N_(e,n)){n=k_(e,n),i=!1;continue}break;case 35:if(0===n&&O_(e,n)){n=P_(e,n),i=!1;continue}break;case 42:if(i){n++,i=!1;continue}break;default:if(127<o&&S_(o)){n++;continue}}return n}};var I_="<<<<<<<".length;function N_(e,n){if(t_.Debug.assert(0<=n),0===n||L_(e.charCodeAt(n-1))){var t=e.charCodeAt(n);if(n+I_<e.length){for(var r=0;r<I_;r++)if(e.charCodeAt(n+r)!==t)return;return 61===t||32===e.charCodeAt(n+I_)}}}function k_(e,n,t){t&&t(t_.Diagnostics.Merge_conflict_marker_encountered,n,I_);var r=e.charCodeAt(n),a=e.length;if(60===r||62===r)for(;n<a&&!L_(e.charCodeAt(n));)n++;else for(t_.Debug.assert(124===r||61===r);n<a;){var i=e.charCodeAt(n);if((61===i||62===i)&&i!==r&&N_(e,n))break;n++}return n}var R_=/^#!.*/;function O_(e,n){return t_.Debug.assert(0===n),R_.test(e)}function P_(e,n){return n+R_.exec(e)[0].length}function w_(e,n,t,r,a,i,o){var s,c,l,d,u=!1,p=r,m=o;0===t&&(p=!0,o=B_(n))&&(t=o.length);e:for(;0<=t&&t<n.length;){var _=n.charCodeAt(t);switch(_){case 13:10===n.charCodeAt(t+1)&&t++;case 10:if(t++,r)break e;p=!0,u&&(d=!0);continue;case 9:case 11:case 12:case 32:t++;continue;case 47:var f=n.charCodeAt(t+1),g=!1;if(47!==f&&42!==f)break e;var y=47===f?2:3,h=t;if(t+=2,47===f)for(;t<n.length;){if(L_(n.charCodeAt(t))){g=!0;break}t++}else for(;t<n.length;){if(42===n.charCodeAt(t)&&47===n.charCodeAt(t+1)){t+=2;break}t++}if(p){if(u&&(m=a(s,c,l,d,i,m),!e)&&m)return m;s=h,c=t,l=y,d=g,u=!0}continue;default:if(127<_&&S_(_)){u&&L_(_)&&(d=!0),t++;continue}break e}}return u?a(s,c,l,d,i,m):m}function M_(e,n,t,r,a){return w_(!0,e,n,!1,t,r,a)}function F_(e,n,t,r,a){return w_(!0,e,n,!0,t,r,a)}function G_(e,n,t,r,a,i){return(i=i||[]).push({kind:t,pos:e,end:n,hasTrailingNewLine:r}),i}function B_(e){if(e=R_.exec(e),e)return e[0]}function U_(e,n){return 65<=e&&e<=90||97<=e&&e<=122||36===e||95===e||127<e&&f_(e,n)}function V_(e,n,t){return 65<=e&&e<=90||97<=e&&e<=122||48<=e&&e<=57||36===e||95===e||1===t&&(45===e||58===e)||127<e&&__(e,2<=(t=n)?u_:1===t?l_:s_)}t_.isShebangTrivia=O_,t_.scanShebangTrivia=P_,t_.forEachLeadingCommentRange=function(e,n,t,r){return w_(!1,e,n,!1,t,r)},t_.forEachTrailingCommentRange=function(e,n,t,r){return w_(!1,e,n,!0,t,r)},t_.reduceEachLeadingCommentRange=M_,t_.reduceEachTrailingCommentRange=F_,t_.getLeadingCommentRanges=function(e,n){return M_(e,n,G_,void 0,void 0)},t_.getTrailingCommentRanges=function(e,n){return F_(e,n,G_,void 0,void 0)},t_.getShebang=B_,t_.isIdentifierStart=U_,t_.isIdentifierPart=V_,t_.isIdentifierText=function(e,n,t){var r=j_(e,0);if(!U_(r,n))return!1;for(var a=K_(r);a<e.length;a+=K_(r))if(!V_(r=j_(e,a),n,t))return!1;return!0},t_.createScanner=function(e,n,t,r,a,i,o){void 0===t&&(t=0);var s,c,l,d,u,p,m,_,f=r,g=0,y=(j(f,i,o),{getStartPos:function(){return l},getTextPos:function(){return s},getToken:function(){return u},getTokenPos:function(){return d},getTokenText:function(){return f.substring(d,s)},getTokenValue:function(){return p},hasUnicodeEscape:function(){return 0!=(1024&m)},hasExtendedUnicodeEscape:function(){return 0!=(8&m)},hasPrecedingLineBreak:function(){return 0!=(1&m)},hasPrecedingJSDocComment:function(){return 0!=(2&m)},isIdentifier:function(){return 79===u||116<u},isReservedWord:function(){return 81<=u&&u<=116},isUnterminated:function(){return 0!=(4&m)},getCommentDirectives:function(){return _},getNumericLiteralFlags:function(){return 1008&m},getTokenFlags:function(){return m},reScanGreaterToken:function(){if(31===u){if(62===f.charCodeAt(s))return u=62===f.charCodeAt(s+1)?61===f.charCodeAt(s+2)?(s+=3,72):(s+=2,49):61===f.charCodeAt(s+1)?(s+=2,71):(s++,48);if(61===f.charCodeAt(s))return s++,u=33}return u},reScanAsteriskEqualsToken:function(){return t_.Debug.assert(66===u,"'reScanAsteriskEqualsToken' should only be called on a '*='"),s=d+1,u=63},reScanSlashToken:function(){if(43===u||68===u){for(var n=d+1,t=!1,r=!1;;){if(c<=n){m|=4,h(t_.Diagnostics.Unterminated_regular_expression_literal);break}var a=f.charCodeAt(n);if(L_(a)){m|=4,h(t_.Diagnostics.Unterminated_regular_expression_literal);break}if(t)t=!1;else{if(47===a&&!r){n++;break}91===a?r=!0:92===a?t=!0:93===a&&(r=!1)}n++}for(;n<c&&V_(f.charCodeAt(n),e);)n++;s=n,p=f.substring(d,s),u=13}return u},reScanTemplateToken:function(e){return t_.Debug.assert(19===u,"'reScanTemplateToken' should only be called on a '}'"),s=d,u=D(e)},reScanTemplateHeadOrNoSubstitutionTemplate:function(){return s=d,u=D(!0)},scanJsxIdentifier:function(){if(79<=u){for(var e=!1;s<c;){var n=f.charCodeAt(s);if(45===n)p+="-",s++;else if(58!==n||e){if(n=s,p+=R(),s===n)break}else p+=":",s++,e=!0,u=79}":"===p.slice(-1)&&(p=p.slice(0,-1),s--)}return u},scanJsxAttributeValue:U,reScanJsxAttributeValue:function(){return s=d=l,U()},reScanJsxToken:function(e){return void 0===e&&(e=!0),s=d=l,u=B(e)},reScanLessThanToken:function(){return 47!==u?u:(s=d+1,u=29)},reScanHashToken:function(){return 80!==u?u:(s=d+1,u=62)},reScanQuestionToken:function(){return t_.Debug.assert(60===u,"'reScanQuestionToken' should only be called on a '??'"),s=d+1,u=57},reScanInvalidIdentifier:function(){t_.Debug.assert(0===u,"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'."),s=d=l,m=0;var e=j_(f,s),n=F(e,99);return n?u=n:(s+=K_(e),u)},scanJsxToken:B,scanJsDocToken:function(){if(l=d=s,m=0,c<=s)return u=1;var n=j_(f,s);switch(s+=K_(n),n){case 9:case 11:case 12:case 32:for(;s<c&&x_(f.charCodeAt(s));)s++;return u=5;case 64:return u=59;case 13:10===f.charCodeAt(s)&&s++;case 10:return m|=1,u=4;case 42:return u=41;case 123:return u=18;case 125:return u=19;case 91:return u=22;case 93:return u=23;case 60:return u=29;case 62:return u=31;case 61:return u=63;case 44:return u=27;case 46:return u=24;case 96:return u=61;case 35:return u=62;case 92:s--;var t=k();return 0<=t&&U_(t,e)?(s+=3,m|=8,p=I()+R(),u=O()):(t=N(),u=0<=t&&U_(t,e)?(s+=6,m|=1024,p=String.fromCharCode(t)+R(),O()):(s++,0))}if(U_(n,e)){for(var r=n;s<c&&V_(r=j_(f,s),e)||45===f.charCodeAt(s);)s+=K_(r);return p=f.substring(d,s),92===r&&(p+=R()),u=O()}return u=0},scan:M,getText:function(){return f},clearCommentDirectives:function(){_=void 0},setText:j,setScriptTarget:function(n){e=n},setLanguageVariant:function(e){t=e},setOnError:function(e){a=e},setTextPos:K,setInJSDocType:function(e){g+=e?1:-1},tryScan:function(e){return V(e,!1)},lookAhead:function(e){return V(e,!0)},scanRange:function(e,n,t){var r=c,a=s,i=l,o=d,g=u,y=p,h=m,v=_;j(f,e,n),e=t();return c=r,s=a,l=i,d=o,u=g,p=y,m=h,_=v,e}});return t_.Debug.isDebugging&&Object.defineProperty(y,"__debugShowCurrentPositionInText",{get:function(){var e=y.getText();return e.slice(0,y.getStartPos())+"║"+e.slice(y.getStartPos())}}),y;function h(e,n,t){var r;void 0===n&&(n=s),a&&(r=s,s=n,a(e,t||0),s=r)}function v(){for(var e=s,n=!1,t=!1,r="";;){var a=f.charCodeAt(s);if(95===a)m|=512,n?(t=!(n=!1),r+=f.substring(e,s)):h(t?t_.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:t_.Diagnostics.Numeric_separators_are_not_allowed_here,s,1),e=++s;else{if(!D_(a))break;t=!(n=!0),s++}}return 95===f.charCodeAt(s-1)&&h(t_.Diagnostics.Numeric_separators_are_not_allowed_here,s-1,1),r+f.substring(e,s)}function b(){var e,n,t,r,a,i=s,o=v(),c=(46===f.charCodeAt(s)&&(s++,e=v()),s);return 69!==f.charCodeAt(s)&&101!==f.charCodeAt(s)||(s++,m|=16,43!==f.charCodeAt(s)&&45!==f.charCodeAt(s)||s++,a=s,(t=v())?(n=f.substring(c,a)+t,c=s):h(t_.Diagnostics.Digit_expected)),512&m?(r=o,e&&(r+="."+e),n&&(r+=n)):r=f.substring(i,c),void 0!==e||16&m?(E(i,void 0===e&&!!(16&m)),{type:8,value:""+ +r}):(p=r,a=w(),E(i),{type:a,value:p})}function E(n,t){var r,a;U_(j_(f,s),e)&&(r=s,1===(a=R().length)&&"n"===f[r]?h(t?t_.Diagnostics.A_bigint_literal_cannot_use_exponential_notation:t_.Diagnostics.A_bigint_literal_must_be_an_integer,n,r-n+1):(h(t_.Diagnostics.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,r,a),s=r))}function T(e,n){return e=x(e,!1,n),e?parseInt(e,16):-1}function S(e,n){return x(e,!0,n)}function x(e,n,t){for(var r=[],a=!1,i=!1;r.length<e||n;){var o=f.charCodeAt(s);if(t&&95===o)m|=512,a?i=!(a=!1):h(i?t_.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:t_.Diagnostics.Numeric_separators_are_not_allowed_here,s,1),s++;else{if(a=t,65<=o&&o<=70)o+=32;else if(!(48<=o&&o<=57||97<=o&&o<=102))break;r.push(o),s++,i=!1}}return r.length<e&&(r=[]),95===f.charCodeAt(s-1)&&h(t_.Diagnostics.Numeric_separators_are_not_allowed_here,s-1,1),String.fromCharCode.apply(String,r)}function L(e){void 0===e&&(e=!1);for(var n=f.charCodeAt(s),t="",r=++s;;){if(c<=s){t+=f.substring(r,s),m|=4,h(t_.Diagnostics.Unterminated_string_literal);break}var a=f.charCodeAt(s);if(a===n){t+=f.substring(r,s),s++;break}if(92!==a||e){if(L_(a)&&!e){t+=f.substring(r,s),m|=4,h(t_.Diagnostics.Unterminated_string_literal);break}s++}else t=(t+=f.substring(r,s))+A(),r=s}return t}function D(e){for(var n,t=96===f.charCodeAt(s),r=++s,a="";;){if(c<=s){a+=f.substring(r,s),m|=4,h(t_.Diagnostics.Unterminated_template_literal),n=t?14:17;break}var i=f.charCodeAt(s);if(96===i){a+=f.substring(r,s),s++,n=t?14:17;break}if(36===i&&s+1<c&&123===f.charCodeAt(s+1)){a+=f.substring(r,s),s+=2,n=t?15:16;break}92===i?(a=(a+=f.substring(r,s))+A(e),r=s):13===i?(a+=f.substring(r,s),++s<c&&10===f.charCodeAt(s)&&s++,a+="\n",r=s):s++}return t_.Debug.assert(void 0!==n),p=a,n}function A(e){var n=s;if(c<=++s)return h(t_.Diagnostics.Unexpected_end_of_text),"";var t=f.charCodeAt(s);switch(s++,t){case 48:return e&&s<c&&D_(f.charCodeAt(s))?(s++,m|=2048,f.substring(n,s)):"\0";case 98:return"\b";case 116:return"\t";case 110:return"\n";case 118:return"\v";case 102:return"\f";case 114:return"\r";case 39:return"'";case 34:return'"';case 117:if(e)for(var r=s;r<s+4;r++)if(r<c&&!A_(f.charCodeAt(r))&&123!==f.charCodeAt(r))return s=r,m|=2048,f.substring(n,s);if(s<c&&123===f.charCodeAt(s)){if(s++,e&&!A_(f.charCodeAt(s)))return m|=2048,f.substring(n,s);if(e){var a=s,i=S(1,!1);if(!((i?parseInt(i,16):-1)<=1114111&&125===f.charCodeAt(s)))return m|=2048,f.substring(n,s);s=a}return m|=8,I()}return m|=1024,C(4);case 120:if(e){if(!A_(f.charCodeAt(s)))return m|=2048,f.substring(n,s);if(!A_(f.charCodeAt(s+1)))return s++,m|=2048,f.substring(n,s)}return C(2);case 13:s<c&&10===f.charCodeAt(s)&&s++;case 10:case 8232:case 8233:return"";default:return String.fromCharCode(t)}}function C(e){return e=T(e,!1),0<=e?String.fromCharCode(e):(h(t_.Diagnostics.Hexadecimal_digit_expected),"")}function I(){var e=S(1,!1),n=(e=e?parseInt(e,16):-1,!1);return e<0?(h(t_.Diagnostics.Hexadecimal_digit_expected),n=!0):1114111<e&&(h(t_.Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),n=!0),c<=s?(h(t_.Diagnostics.Unexpected_end_of_text),n=!0):125===f.charCodeAt(s)?s++:(h(t_.Diagnostics.Unterminated_Unicode_escape_sequence),n=!0),n?"":W_(e)}function N(){var e,n;return s+5<c&&117===f.charCodeAt(s+1)?(e=s,s+=2,n=T(4,!1),s=e,n):-1}function k(){var n,t;return 2<=e&&117===j_(f,s+1)&&123===j_(f,s+2)?(n=s,s+=3,t=(t=S(1,!1))?parseInt(t,16):-1,s=n,t):-1}function R(){for(var n="",t=s;s<c;){var r=j_(f,s);if(V_(r,e))s+=K_(r);else{if(92!==r)break;if(0<=(r=k())&&V_(r,e))s+=3,m|=8,n+=I(),t=s;else{if(!(0<=(r=N())&&V_(r,e)))break;m|=1024,n=(n+=f.substring(t,s))+W_(r),t=s+=6}}}return n+f.substring(t,s)}function O(){var e=p.length;return u=2<=e&&e<=12&&(e=p.charCodeAt(0),97<=e&&e<=122&&(e=a_.get(p),void 0!==e))?e:79}function P(e){for(var n="",t=!1,r=!1;;){var a=f.charCodeAt(s);if(95===a)m|=512,t?r=!(t=!1):h(r?t_.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:t_.Diagnostics.Numeric_separators_are_not_allowed_here,s,1),s++;else{if(t=!0,!D_(a)||e<=a-48)break;n+=f[s],s++,r=!1}}return 95===f.charCodeAt(s-1)&&h(t_.Diagnostics.Numeric_separators_are_not_allowed_here,s-1,1),n}function w(){return 110===f.charCodeAt(s)?(p+="n",384&m&&(p=t_.parsePseudoBigInt(p)+"n"),s++,9):(p=""+(128&m?parseInt(p.slice(2),2):256&m?parseInt(p.slice(2),8):+p),8)}function M(){l=s,m=0;for(var r=!1;;){if(c<=(d=s))return u=1;var a=j_(f,s);if(35===a&&0===s&&O_(f,s)){if(s=P_(f,s),n)continue;return u=6}switch(a){case 10:case 13:if(m|=1,n){s++;continue}return 13===a&&s+1<c&&10===f.charCodeAt(s+1)?s+=2:s++,u=4;case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8203:case 8239:case 8287:case 12288:case 65279:if(n){s++;continue}for(;s<c&&x_(f.charCodeAt(s));)s++;return u=5;case 33:return 61===f.charCodeAt(s+1)?u=61===f.charCodeAt(s+2)?(s+=3,37):(s+=2,35):(s++,u=53);case 34:case 39:return p=L(),u=10;case 96:return u=D(!1);case 37:return 61===f.charCodeAt(s+1)?(s+=2,u=69):(s++,u=44);case 38:return u=38===f.charCodeAt(s+1)?61===f.charCodeAt(s+2)?(s+=3,76):(s+=2,55):61===f.charCodeAt(s+1)?(s+=2,73):(s++,50);case 40:return s++,u=20;case 41:return s++,u=21;case 42:if(61===f.charCodeAt(s+1))return s+=2,u=66;if(42===f.charCodeAt(s+1))return u=61===f.charCodeAt(s+2)?(s+=3,67):(s+=2,42);if(s++,g&&!r&&1&m){r=!0;continue}return u=41;case 43:return 43===f.charCodeAt(s+1)?(s+=2,u=45):u=61===f.charCodeAt(s+1)?(s+=2,64):(s++,39);case 44:return s++,u=27;case 45:return 45===f.charCodeAt(s+1)?(s+=2,u=46):u=61===f.charCodeAt(s+1)?(s+=2,65):(s++,40);case 46:return D_(f.charCodeAt(s+1))?(p=b().value,u=8):u=46===f.charCodeAt(s+1)&&46===f.charCodeAt(s+2)?(s+=3,25):(s++,24);case 47:if(47===f.charCodeAt(s+1)){for(s+=2;s<c&&!L_(f.charCodeAt(s));)s++;if(_=G(_,f.slice(d,s),p_,d),n)continue;return u=2}if(42!==f.charCodeAt(s+1))return u=61===f.charCodeAt(s+1)?(s+=2,68):(s++,43);s+=2,42===f.charCodeAt(s)&&47!==f.charCodeAt(s+1)&&(m|=2);for(var i=!1,o=d;s<c;){var y=f.charCodeAt(s);if(42===y&&47===f.charCodeAt(s+1)){s+=2,i=!0;break}s++,L_(y)&&(o=s,m|=1)}if(_=G(_,f.slice(o,s),m_,o),i||h(t_.Diagnostics.Asterisk_Slash_expected),n)continue;return i||(m|=4),u=3;case 48:if(s+2<c&&(88===f.charCodeAt(s+1)||120===f.charCodeAt(s+1)))return s+=2,(p=S(1,!0))||(h(t_.Diagnostics.Hexadecimal_digit_expected),p="0"),p="0x"+p,m|=64,u=w();if(s+2<c&&(66===f.charCodeAt(s+1)||98===f.charCodeAt(s+1)))return s+=2,(p=P(2))||(h(t_.Diagnostics.Binary_digit_expected),p="0"),p="0b"+p,m|=128,u=w();if(s+2<c&&(79===f.charCodeAt(s+1)||111===f.charCodeAt(s+1)))return s+=2,(p=P(8))||(h(t_.Diagnostics.Octal_digit_expected),p="0"),p="0o"+p,m|=256,u=w();if(s+1<c&&C_(f.charCodeAt(s+1)))return p=""+(()=>{for(var e=s;C_(f.charCodeAt(s));)s++;return+f.substring(e,s)})(),m|=32,u=8;case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return v=b(),u=v.type,p=v.value,u;case 58:return s++,u=58;case 59:return s++,u=26;case 60:if(N_(f,s)){if(s=k_(f,s,h),n)continue;return u=7}return u=60===f.charCodeAt(s+1)?61===f.charCodeAt(s+2)?(s+=3,70):(s+=2,47):61===f.charCodeAt(s+1)?(s+=2,32):1===t&&47===f.charCodeAt(s+1)&&42!==f.charCodeAt(s+2)?(s+=2,30):(s++,29);case 61:if(N_(f,s)){if(s=k_(f,s,h),n)continue;return u=7}return u=61===f.charCodeAt(s+1)?61===f.charCodeAt(s+2)?(s+=3,36):(s+=2,34):62===f.charCodeAt(s+1)?(s+=2,38):(s++,63);case 62:if(N_(f,s)){if(s=k_(f,s,h),n)continue;return u=7}return s++,u=31;case 63:return 46!==f.charCodeAt(s+1)||D_(f.charCodeAt(s+2))?u=63===f.charCodeAt(s+1)?61===f.charCodeAt(s+2)?(s+=3,77):(s+=2,60):(s++,57):(s+=2,u=28);case 91:return s++,u=22;case 93:return s++,u=23;case 94:return 61===f.charCodeAt(s+1)?(s+=2,u=78):(s++,u=52);case 123:return s++,u=18;case 124:if(N_(f,s)){if(s=k_(f,s,h),n)continue;return u=7}return u=124===f.charCodeAt(s+1)?61===f.charCodeAt(s+2)?(s+=3,75):(s+=2,56):61===f.charCodeAt(s+1)?(s+=2,74):(s++,51);case 125:return s++,u=19;case 126:return s++,u=54;case 64:return s++,u=59;case 92:var v=k();return 0<=v&&U_(v,e)?(s+=3,m|=8,p=I()+R(),u=O()):(E=N(),u=0<=E&&U_(E,e)?(s+=6,m|=1024,p=String.fromCharCode(E)+R(),O()):(h(t_.Diagnostics.Invalid_character),s++,0));case 35:return 0!==s&&"!"===f[s+1]?(h(t_.Diagnostics.can_only_be_used_at_the_start_of_a_file),s++,u=0):(U_(j_(f,s+1),e)?F(j_(f,++s),e):(p=String.fromCharCode(j_(f,s)),h(t_.Diagnostics.Invalid_character,s++,K_(a))),u=80);default:var E=F(a,e);if(E)return u=E;if(x_(a)){s+=K_(a);continue}if(L_(a)){m|=1,s+=K_(a);continue}var T=K_(a);return h(t_.Diagnostics.Invalid_character,s,T),s+=T,u=0}}}function F(e,n){var t=e;if(U_(t,n)){for(s+=K_(t);s<c&&V_(t=j_(f,s),n);)s+=K_(t);return p=f.substring(d,s),92===t&&(p+=R()),O()}}function G(e,n,t,r){return n=((e,n)=>{if(n=n.exec(e))switch(n[1]){case"ts-expect-error":return 0;case"ts-ignore":return 1}})(t_.trimStringStart(n),t),void 0===n?e:t_.append(e,{range:{pos:r,end:s},type:n})}function B(e){if(void 0===e&&(e=!0),l=d=s,c<=s)return u=1;var n=f.charCodeAt(s);if(60===n)return u=47===f.charCodeAt(s+1)?(s+=2,30):(s++,29);if(123===n)return s++,u=18;for(var t=0;s<c&&123!==(n=f.charCodeAt(s));){if(60===n){if(N_(f,s))return s=k_(f,s,h),u=7;break}if(62===n&&h(t_.Diagnostics.Unexpected_token_Did_you_mean_or_gt,s,1),125===n&&h(t_.Diagnostics.Unexpected_token_Did_you_mean_or_rbrace,s,1),L_(n)&&0===t)t=-1;else{if(!e&&L_(n)&&0<t)break;S_(n)||(t=s)}s++}return p=f.substring(l,s),-1===t?12:11}function U(){switch(l=s,f.charCodeAt(s)){case 34:case 39:return p=L(!0),u=10;default:return M()}}function V(e,n){var t=s,r=l,a=d,i=u,o=p,c=m;e=e();return e&&!n||(s=t,l=r,d=a,u=i,p=o,m=c),e}function j(e,n,t){f=e||"",c=void 0===t?f.length:n+t,K(n||0)}function K(e){t_.Debug.assert(0<=e),d=l=s=e,p=void(u=0),m=0}};var j_=String.prototype.codePointAt?function(e,n){return e.codePointAt(n)}:function(e,n){var t=e.length;if(!(n<0||t<=n)){var r=e.charCodeAt(n);return 55296<=r&&r<=56319&&n+1<t&&(t=e.charCodeAt(n+1),56320<=t&&t<=57343)?1024*(r-55296)+t-56320+65536:r}};function K_(e){return 65536<=e?2:1}var H_=String.fromCodePoint?function(e){return String.fromCodePoint(e)}:function(e){var n;return t_.Debug.assert(0<=e&&e<=1114111),e<=65535?String.fromCharCode(e):(n=Math.floor((e-65536)/1024)+55296,String.fromCharCode(n,(e-65536)%1024+56320))};function W_(e){return H_(e)}function z_(e){return e.start+e.length}function J_(e){return 0===e.length}function q_(e,n){return e=Y_(e,n),e&&0===e.length?void 0:e}function X_(e,n,t,r){return t<=e+n&&e<=t+r}function Y_(e,n){var t=Math.max(e.start,n.start);e=Math.min(z_(e),z_(n));return t<=e?Z_(t,e):void 0}function Q_(e,n){if(e<0)throw new Error("start < 0");if(n<0)throw new Error("length < 0");return{start:e,length:n}}function Z_(e,n){return Q_(e,n-e)}function $_(e,n){if(n<0)throw new Error("newLength < 0");return{span:e,newLength:n}}function ef(e){return!!Hf(e)&&oe.every(e.elements,nf)}function nf(e){return!!oe.isOmittedExpression(e)||ef(e.name)}function tf(e){for(var n=e.parent;oe.isBindingElement(n.parent);)n=n.parent.parent;return n.parent}function rf(e,n){var t=n(e=oe.isBindingElement(e)?tf(e):e);return(e=252===e.kind?e.parent:e)&&253===e.kind&&(t|=n(e),e=e.parent),e&&235===e.kind&&(t|=n(e)),t}function af(e){return 0==(8&e.flags)}function of(e){return 3<=e.length&&95===e.charCodeAt(0)&&95===e.charCodeAt(1)&&95===e.charCodeAt(2)?e.substr(1):e}function sf(e){return of(e.escapedText)}function cf(e){var n=e.parent.parent;if(n){if($f(n))return lf(n);switch(n.kind){case 235:if(n.declarationList&&n.declarationList.declarations[0])return lf(n.declarationList.declarations[0]);break;case 236:var t=n.expression;switch((t=219===t.kind&&63===t.operatorToken.kind?t.left:t).kind){case 204:return t.name;case 205:var r=t.argumentExpression;if(oe.isIdentifier(r))return r}break;case 210:return lf(n.expression);case 248:if($f(n.statement)||Xf(n.statement))return lf(n.statement)}}}function lf(e){return e=mf(e),e&&oe.isIdentifier(e)?e:void 0}function df(e){return e.name||cf(e)}function uf(e){return!!e.name}function pf(e){switch(e.kind){case 79:return e;case 342:case 335:var n=e.name;if(159===n.kind)return n.right;break;case 206:case 219:var t=e;switch(oe.getAssignmentDeclarationKind(t)){case 1:case 4:case 5:case 3:return oe.getElementOrPropertyAccessArgumentExpressionOrName(t.left);case 7:case 8:case 9:return t.arguments[1];default:return}case 340:return df(e);case 334:return cf(e);case 269:return n=e.expression,oe.isIdentifier(n)?n:void 0;case 205:if(n=e,oe.isBindableStaticElementAccessExpression(n))return n.argumentExpression}return e.name}function mf(e){if(void 0!==e)return pf(e)||(oe.isFunctionExpression(e)||oe.isArrowFunction(e)||oe.isClassExpression(e)?_f(e):void 0)}function _f(e){if(e.parent)return oe.isPropertyAssignment(e.parent)||oe.isBindingElement(e.parent)?e.parent.name:oe.isBinaryExpression(e.parent)&&e===e.parent.right?oe.isIdentifier(e.parent.left)?e.parent.left:oe.isAccessExpression(e.parent.left)?oe.getElementOrPropertyAccessArgumentExpressionOrName(e.parent.left):void 0:oe.isVariableDeclaration(e.parent)&&oe.isIdentifier(e.parent.name)?e.parent.name:void 0}function ff(e,n){if(e.name){var t;if(oe.isIdentifier(e.name))return t=e.name.escapedText,Ef(e.parent,n).filter((function(e){return oe.isJSDocParameterTag(e)&&oe.isIdentifier(e.name)&&e.name.escapedText===t}));var r=e.parent.parameters.indexOf(e);e=(oe.Debug.assert(-1<r,"Parameters should always be in their parents' parameter list"),Ef(e.parent,n).filter(oe.isJSDocParameterTag));if(r<e.length)return[e[r]]}return oe.emptyArray}function gf(e){return ff(e,!1)}function yf(e,n){var t=e.name.escapedText;return Ef(e.parent,n).filter((function(e){return oe.isJSDocTemplateTag(e)&&e.typeParameters.some((function(e){return e.name.escapedText===t}))}))}function hf(e){return Sf(e,oe.isJSDocReturnTag)}function vf(e){if(e=Sf(e,oe.isJSDocTypeTag),e&&e.typeExpression&&e.typeExpression.type)return e}function bf(e){var n=Sf(e,oe.isJSDocTypeTag);return(n=!n&&oe.isParameter(e)?oe.find(gf(e),(function(e){return!!e.typeExpression})):n)&&n.typeExpression&&n.typeExpression.type}function Ef(e,n){var t,r=e.jsDocCache;return void 0!==r&&!n||(t=oe.getJSDocCommentsAndTags(e,n),oe.Debug.assert(t.length<2||t[0]!==t[1]),r=oe.flatMap(t,(function(e){return oe.isJSDoc(e)?e.tags:e})),n)||(e.jsDocCache=r),r}function Tf(e){return Ef(e,!1)}function Sf(e,n,t){return oe.find(Ef(e,t),n)}function xf(e,n){return Tf(e).filter(n)}function Lf(e){var n=e.kind;return!!(32&e.flags)&&(204===n||205===n||206===n||228===n)}function Df(e){return Lf(e)&&!oe.isNonNullExpression(e)&&!!e.questionDotToken}function Af(e){return oe.skipOuterExpressions(e,8)}function Cf(e){switch(e.kind){case 297:case 298:return!0;default:return!1}}function If(e){return 159<=e}function Nf(e){return 0<=e&&e<=158}function kf(e){return 8<=e&&e<=14}function Rf(e){return 14<=e&&e<=17}function Of(e){return(oe.isPropertyDeclaration(e)||Vf(e))&&oe.isPrivateIdentifier(e.name)}function Pf(e){switch(e){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}function wf(e){return!!(16476&oe.modifierToFlag(e))}function Mf(e){return!!e&&Gf(e.kind)}function Ff(e){switch(e){case 254:case 167:case 169:case 170:case 171:case 211:case 212:return!0;default:return!1}}function Gf(e){switch(e){case 166:case 172:case 318:case 173:case 174:case 177:case 312:case 178:return!0;default:return Ff(e)}}function Bf(e){return e=e.kind,169===e||165===e||167===e||170===e||171===e||174===e||168===e||232===e}function Uf(e){return e&&(255===e.kind||224===e.kind)}function Vf(e){switch(e.kind){case 167:case 170:case 171:return!0;default:return!1}}function jf(e){return e=e.kind,173===e||172===e||164===e||166===e||174===e}function Kf(e){return e=e.kind,291===e||292===e||293===e||167===e||170===e||171===e}function Hf(e){return!!e&&(200===(e=e.kind)||199===e)}function Wf(e){switch(e.kind){case 199:case 203:return!0}return!1}function zf(e){switch(e.kind){case 200:case 202:return!0}return!1}function Jf(e){switch(e){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 qf(e){switch(e){case 217:case 218:case 213:case 214:case 215:case 216:case 209:return!0;default:return Jf(e)}}function Xf(e){var n=Af(e).kind;switch(n){case 220:case 222:case 212:case 219:case 223:case 227:case 225:case 346:case 345:return!0;default:return qf(n)}}function Yf(e){return oe.isExportAssignment(e)||oe.isExportDeclaration(e)}function Qf(e){return 254===e||274===e||255===e||256===e||257===e||258===e||259===e||264===e||263===e||270===e||269===e||262===e}function Zf(e){return 244===e||243===e||251===e||238===e||236===e||234===e||241===e||242===e||240===e||237===e||248===e||245===e||247===e||249===e||250===e||235===e||239===e||246===e||344===e||348===e||347===e}function $f(e){return 161===e.kind?e.parent&&339!==e.parent.kind||oe.isInJSFile(e):212===(e=e.kind)||201===e||255===e||224===e||168===e||169===e||258===e||294===e||273===e||254===e||211===e||170===e||265===e||263===e||268===e||256===e||283===e||167===e||166===e||259===e||262===e||266===e||272===e||162===e||291===e||165===e||164===e||171===e||292===e||257===e||161===e||252===e||340===e||333===e||342===e}function eg(e){return 322<=e.kind&&e.kind<=342}function ng(e){return 319===e.kind||320===e.kind||321===e.kind}t_.utf16EncodeAsString=W_,(oe=bY=bY||{}).isExternalModuleNameRelative=function(e){return oe.pathIsRelative(e)||oe.isRootedDiskPath(e)},oe.sortAndDeduplicateDiagnostics=function(e){return oe.sortAndDeduplicate(e,oe.compareDiagnostics)},oe.getDefaultLibFileName=function(e){switch(e.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"}},oe.textSpanEnd=z_,oe.textSpanIsEmpty=J_,oe.textSpanContainsPosition=function(e,n){return n>=e.start&&n<z_(e)},oe.textRangeContainsPositionInclusive=function(e,n){return n>=e.pos&&n<=e.end},oe.textSpanContainsTextSpan=function(e,n){return n.start>=e.start&&z_(n)<=z_(e)},oe.textSpanOverlapsWith=function(e,n){return void 0!==q_(e,n)},oe.textSpanOverlap=q_,oe.textSpanIntersectsWithTextSpan=function(e,n){return X_(e.start,e.length,n.start,n.length)},oe.textSpanIntersectsWith=function(e,n,t){return X_(e.start,e.length,n,t)},oe.decodedTextSpanIntersectsWith=X_,oe.textSpanIntersectsWithPosition=function(e,n){return n<=z_(e)&&n>=e.start},oe.textSpanIntersection=Y_,oe.createTextSpan=Q_,oe.createTextSpanFromBounds=Z_,oe.textChangeRangeNewSpan=function(e){return Q_(e.span.start,e.newLength)},oe.textChangeRangeIsUnchanged=function(e){return J_(e.span)&&0===e.newLength},oe.createTextChangeRange=$_,oe.unchangedTextChangeRange=$_(Q_(0,0),0),oe.collapseTextChangeRangesAcrossMultipleVersions=function(e){if(0===e.length)return oe.unchangedTextChangeRange;if(1===e.length)return e[0];for(var n=e[0],t=n.span.start,r=z_(n.span),a=t+n.newLength,i=1;i<e.length;i++){var o=t,s=r,c=a,l=(u=e[i]).span.start,d=z_(u.span),u=l+u.newLength;t=Math.min(o,l),r=Math.max(s,s+(d-c)),a=Math.max(u,u+(c-d))}return $_(Z_(t,r),a-t)},oe.getTypeParameterOwner=function(e){if(e&&161===e.kind)for(var n=e;n;n=n.parent)if(Mf(n)||Uf(n)||256===n.kind)return n},oe.isParameterPropertyDeclaration=function(e,n){return oe.hasSyntacticModifier(e,16476)&&169===n.kind},oe.isEmptyBindingPattern=ef,oe.isEmptyBindingElement=nf,oe.walkUpBindingElementsAndPatterns=tf,oe.getCombinedModifierFlags=function(e){return rf(e,oe.getEffectiveModifierFlags)},oe.getCombinedNodeFlagsAlwaysIncludeJSDoc=function(e){return rf(e,oe.getEffectiveModifierFlagsAlwaysIncludeJSDoc)},oe.getCombinedNodeFlags=function(e){return rf(e,(function(e){return e.flags}))},oe.supportedLocaleDirectories=["cs","de","es","fr","it","ja","ko","pl","pt-br","ru","tr","zh-cn","zh-tw"],oe.validateLocaleAndSetLanguage=function(e,n,t){var r,a=e.toLowerCase(),i=/^([a-z]+)([_\-]([a-z]+))?$/.exec(a);function o(e,t,r){var a=oe.normalizePath(n.getExecutingFilePath());a=oe.getDirectoryPath(a),a=oe.combinePaths(a,e),a=n.resolvePath(oe.combinePaths(a=t?a+"-"+t:a,"diagnosticMessages.generated.json"));if(n.fileExists(a)){e="";try{e=n.readFile(a)}catch(e){return void(r&&r.push(oe.createCompilerDiagnostic(oe.Diagnostics.Unable_to_open_file_0,a)))}try{oe.setLocalizedDiagnosticMessages(JSON.parse(e))}catch(e){return void(r&&r.push(oe.createCompilerDiagnostic(oe.Diagnostics.Corrupted_locale_file_0,a)))}return 1}}i?(r=i[1],i=i[3],oe.contains(oe.supportedLocaleDirectories,a)&&!o(r,i,t)&&o(r,void 0,t),oe.setUILocale(e)):t&&t.push(oe.createCompilerDiagnostic(oe.Diagnostics.Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1,"en","ja-jp"))},oe.getOriginalNode=function(e,n){if(e)for(;void 0!==e.original;)e=e.original;return!n||n(e)?e:void 0},oe.findAncestor=function(e,n){for(;e;){var t=n(e);if("quit"===t)return;if(t)return e;e=e.parent}},oe.isParseTreeNode=af,oe.getParseTreeNode=function(e,n){if(void 0===e||af(e))return e;for(e=e.original;e;){if(af(e))return!n||n(e)?e:void 0;e=e.original}},oe.escapeLeadingUnderscores=function(e){return 2<=e.length&&95===e.charCodeAt(0)&&95===e.charCodeAt(1)?"_"+e:e},oe.unescapeLeadingUnderscores=of,oe.idText=sf,oe.symbolName=function(e){return e.valueDeclaration&&Of(e.valueDeclaration)?sf(e.valueDeclaration.name):of(e.escapedName)},oe.nodeHasName=function e(n,t){return!(!uf(n)||!oe.isIdentifier(n.name)||sf(n.name)!==sf(t))||!(!oe.isVariableStatement(n)||!oe.some(n.declarationList.declarations,(function(n){return e(n,t)})))},oe.getNameOfJSDocTypedef=df,oe.isNamedDeclaration=uf,oe.getNonAssignedNameOfDeclaration=pf,oe.getNameOfDeclaration=mf,oe.getAssignedName=_f,oe.getJSDocParameterTags=gf,oe.getJSDocParameterTagsNoCache=function(e){return ff(e,!0)},oe.getJSDocTypeParameterTags=function(e){return yf(e,!1)},oe.getJSDocTypeParameterTagsNoCache=function(e){return yf(e,!0)},oe.hasJSDocParameterTags=function(e){return!!Sf(e,oe.isJSDocParameterTag)},oe.getJSDocAugmentsTag=function(e){return Sf(e,oe.isJSDocAugmentsTag)},oe.getJSDocImplementsTags=function(e){return xf(e,oe.isJSDocImplementsTag)},oe.getJSDocClassTag=function(e){return Sf(e,oe.isJSDocClassTag)},oe.getJSDocPublicTag=function(e){return Sf(e,oe.isJSDocPublicTag)},oe.getJSDocPublicTagNoCache=function(e){return Sf(e,oe.isJSDocPublicTag,!0)},oe.getJSDocPrivateTag=function(e){return Sf(e,oe.isJSDocPrivateTag)},oe.getJSDocPrivateTagNoCache=function(e){return Sf(e,oe.isJSDocPrivateTag,!0)},oe.getJSDocProtectedTag=function(e){return Sf(e,oe.isJSDocProtectedTag)},oe.getJSDocProtectedTagNoCache=function(e){return Sf(e,oe.isJSDocProtectedTag,!0)},oe.getJSDocReadonlyTag=function(e){return Sf(e,oe.isJSDocReadonlyTag)},oe.getJSDocReadonlyTagNoCache=function(e){return Sf(e,oe.isJSDocReadonlyTag,!0)},oe.getJSDocOverrideTagNoCache=function(e){return Sf(e,oe.isJSDocOverrideTag,!0)},oe.getJSDocDeprecatedTag=function(e){return Sf(e,oe.isJSDocDeprecatedTag)},oe.getJSDocDeprecatedTagNoCache=function(e){return Sf(e,oe.isJSDocDeprecatedTag,!0)},oe.getJSDocEnumTag=function(e){return Sf(e,oe.isJSDocEnumTag)},oe.getJSDocThisTag=function(e){return Sf(e,oe.isJSDocThisTag)},oe.getJSDocReturnTag=hf,oe.getJSDocTemplateTag=function(e){return Sf(e,oe.isJSDocTemplateTag)},oe.getJSDocTypeTag=vf,oe.getJSDocType=bf,oe.getJSDocReturnType=function(e){var n=hf(e);return n&&n.typeExpression?n.typeExpression.type:(n=vf(e))&&n.typeExpression?(e=n.typeExpression.type,oe.isTypeLiteralNode(e)?(n=oe.find(e.members,oe.isCallSignatureDeclaration))&&n.type:oe.isFunctionTypeNode(e)||oe.isJSDocFunctionType(e)?e.type:void 0):void 0},oe.getJSDocTags=Tf,oe.getJSDocTagsNoCache=function(e){return Ef(e,!0)},oe.getAllJSDocTags=xf,oe.getAllJSDocTagsOfKind=function(e,n){return Tf(e).filter((function(e){return e.kind===n}))},oe.getTextOfJSDocComment=function(e){return"string"==typeof e?e:null==e?void 0:e.map((function(e){return 316===e.kind?e.text:"{@link "+(e.name?oe.entityNameToString(e.name)+" ":"")+e.text+"}"})).join("")},oe.getEffectiveTypeParameterDeclarations=function(e){if(!oe.isJSDocSignature(e)){if(oe.isJSDocTypeAlias(e))return oe.Debug.assert(315===e.parent.kind),oe.flatMap(e.parent.tags,(function(e){return oe.isJSDocTemplateTag(e)?e.typeParameters:void 0}));if(e.typeParameters)return e.typeParameters;if(oe.isInJSFile(e)){var n=oe.getJSDocTypeParameterDeclarations(e);if(n.length)return n;if(n=bf(e),n&&oe.isFunctionTypeNode(n)&&n.typeParameters)return n.typeParameters}}return oe.emptyArray},oe.getEffectiveConstraintOfTypeParameter=function(e){return e.constraint||(oe.isJSDocTemplateTag(e.parent)&&e===e.parent.typeParameters[0]?e.parent.constraint:void 0)},oe.isMemberName=function(e){return 79===e.kind||80===e.kind},oe.isGetOrSetAccessorDeclaration=function(e){return 171===e.kind||170===e.kind},oe.isPropertyAccessChain=function(e){return oe.isPropertyAccessExpression(e)&&!!(32&e.flags)},oe.isElementAccessChain=function(e){return oe.isElementAccessExpression(e)&&!!(32&e.flags)},oe.isCallChain=function(e){return oe.isCallExpression(e)&&!!(32&e.flags)},oe.isOptionalChain=Lf,oe.isOptionalChainRoot=Df,oe.isExpressionOfOptionalChainRoot=function(e){return Df(e.parent)&&e.parent.expression===e},oe.isOutermostOptionalChain=function(e){return!Lf(e.parent)||Df(e.parent)||e!==e.parent.expression},oe.isNullishCoalesce=function(e){return 219===e.kind&&60===e.operatorToken.kind},oe.isConstTypeReference=function(e){return oe.isTypeReferenceNode(e)&&oe.isIdentifier(e.typeName)&&"const"===e.typeName.escapedText&&!e.typeArguments},oe.skipPartiallyEmittedExpressions=Af,oe.isNonNullChain=function(e){return oe.isNonNullExpression(e)&&!!(32&e.flags)},oe.isBreakOrContinueStatement=function(e){return 244===e.kind||243===e.kind},oe.isNamedExportBindings=function(e){return 272===e.kind||271===e.kind},oe.isUnparsedTextLike=Cf,oe.isUnparsedNode=function(e){return Cf(e)||295===e.kind||299===e.kind},oe.isJSDocPropertyLikeTag=function(e){return 342===e.kind||335===e.kind},oe.isNode=function(e){return If(e.kind)},oe.isNodeKind=If,oe.isTokenKind=Nf,oe.isToken=function(e){return Nf(e.kind)},oe.isNodeArray=function(e){return e.hasOwnProperty("pos")&&e.hasOwnProperty("end")},oe.isLiteralKind=kf,oe.isLiteralExpression=function(e){return kf(e.kind)},oe.isTemplateLiteralKind=Rf,oe.isTemplateLiteralToken=function(e){return Rf(e.kind)},oe.isTemplateMiddleOrTemplateTail=function(e){return 16===(e=e.kind)||17===e},oe.isImportOrExportSpecifier=function(e){return oe.isImportSpecifier(e)||oe.isExportSpecifier(e)},oe.isTypeOnlyImportOrExportDeclaration=function(e){switch(e.kind){case 268:case 273:return e.parent.parent.isTypeOnly;case 266:return e.parent.isTypeOnly;case 265:case 263:return e.isTypeOnly;default:return!1}},oe.isStringTextContainingNode=function(e){return 10===e.kind||Rf(e.kind)},oe.isGeneratedIdentifier=function(e){return oe.isIdentifier(e)&&0<(7&e.autoGenerateFlags)},oe.isPrivateIdentifierClassElementDeclaration=Of,oe.isPrivateIdentifierPropertyAccessExpression=function(e){return oe.isPropertyAccessExpression(e)&&oe.isPrivateIdentifier(e.name)},oe.isModifierKind=Pf,oe.isParameterPropertyModifier=wf,oe.isClassMemberModifier=function(e){return wf(e)||124===e||157===e},oe.isModifier=function(e){return Pf(e.kind)},oe.isEntityName=function(e){return 159===(e=e.kind)||79===e},oe.isPropertyName=function(e){return 79===(e=e.kind)||80===e||10===e||8===e||160===e},oe.isBindingName=function(e){return 79===(e=e.kind)||199===e||200===e},oe.isFunctionLike=Mf,oe.isFunctionLikeOrClassStaticBlockDeclaration=function(e){return!!e&&(Gf(e.kind)||oe.isClassStaticBlockDeclaration(e))},oe.isFunctionLikeDeclaration=function(e){return e&&Ff(e.kind)},oe.isBooleanLiteral=function(e){return 110===e.kind||95===e.kind},oe.isFunctionLikeKind=Gf,oe.isFunctionOrModuleBlock=function(e){return oe.isSourceFile(e)||oe.isModuleBlock(e)||oe.isBlock(e)&&Mf(e.parent)},oe.isClassElement=Bf,oe.isClassLike=Uf,oe.isAccessor=function(e){return e&&(170===e.kind||171===e.kind)},oe.isMethodOrAccessor=Vf,oe.isTypeElement=jf,oe.isClassOrTypeElement=function(e){return jf(e)||Bf(e)},oe.isObjectLiteralElementLike=Kf,oe.isTypeNode=function(e){return oe.isTypeNodeKind(e.kind)},oe.isFunctionOrConstructorTypeNode=function(e){switch(e.kind){case 177:case 178:return!0}return!1},oe.isBindingPattern=Hf,oe.isAssignmentPattern=function(e){return 202===(e=e.kind)||203===e},oe.isArrayBindingElement=function(e){return 201===(e=e.kind)||225===e},oe.isDeclarationBindingElement=function(e){switch(e.kind){case 252:case 162:case 201:return!0}return!1},oe.isBindingOrAssignmentPattern=function(e){return Wf(e)||zf(e)},oe.isObjectBindingOrAssignmentPattern=Wf,oe.isObjectBindingOrAssignmentElement=function(e){switch(e.kind){case 201:case 291:case 292:case 293:return!0}return!1},oe.isArrayBindingOrAssignmentPattern=zf,oe.isPropertyAccessOrQualifiedNameOrImportTypeNode=function(e){return 204===(e=e.kind)||159===e||198===e},oe.isPropertyAccessOrQualifiedName=function(e){return 204===(e=e.kind)||159===e},oe.isCallLikeExpression=function(e){switch(e.kind){case 278:case 277:case 206:case 207:case 208:case 163:return!0;default:return!1}},oe.isCallOrNewExpression=function(e){return 206===e.kind||207===e.kind},oe.isTemplateLiteral=function(e){return 221===(e=e.kind)||14===e},oe.isLeftHandSideExpression=function(e){return Jf(Af(e).kind)},oe.isUnaryExpression=function(e){return qf(Af(e).kind)},oe.isUnaryExpressionWithWrite=function(e){switch(e.kind){case 218:return!0;case 217:return 45===e.operator||46===e.operator;default:return!1}},oe.isExpression=Xf,oe.isAssertionExpression=function(e){return 209===(e=e.kind)||227===e},oe.isNotEmittedOrPartiallyEmittedNode=function(e){return oe.isNotEmittedStatement(e)||oe.isPartiallyEmittedExpression(e)},oe.isIterationStatement=function e(n,t){switch(n.kind){case 240:case 241:case 242:case 238:case 239:return!0;case 248:return t&&e(n.statement,t)}return!1},oe.isScopeMarker=Yf,oe.hasScopeMarker=function(e){return oe.some(e,Yf)},oe.needsScopeMarker=function(e){return!(oe.isAnyImportOrReExport(e)||oe.isExportAssignment(e)||oe.hasSyntacticModifier(e,1)||oe.isAmbientModule(e))},oe.isExternalModuleIndicator=function(e){return oe.isAnyImportOrReExport(e)||oe.isExportAssignment(e)||oe.hasSyntacticModifier(e,1)},oe.isForInOrOfStatement=function(e){return 241===e.kind||242===e.kind},oe.isConciseBody=function(e){return oe.isBlock(e)||Xf(e)},oe.isFunctionBody=function(e){return oe.isBlock(e)},oe.isForInitializer=function(e){return oe.isVariableDeclarationList(e)||Xf(e)},oe.isModuleBody=function(e){return 260===(e=e.kind)||259===e||79===e},oe.isNamespaceBody=function(e){return 260===(e=e.kind)||259===e},oe.isJSDocNamespaceBody=function(e){return 79===(e=e.kind)||259===e},oe.isNamedImportBindings=function(e){return 267===(e=e.kind)||266===e},oe.isModuleOrEnumDeclaration=function(e){return 259===e.kind||258===e.kind},oe.isDeclaration=$f,oe.isDeclarationStatement=function(e){return Qf(e.kind)},oe.isStatementButNotDeclaration=function(e){return Zf(e.kind)},oe.isStatement=function(e){var n=e.kind;return Zf(n)||Qf(n)||(e=>233===e.kind&&(void 0===e.parent||250!==e.parent.kind&&290!==e.parent.kind)&&!oe.isFunctionBlock(e))(e)},oe.isStatementOrBlock=function(e){return Zf(e=e.kind)||Qf(e)||233===e},oe.isModuleReference=function(e){return 275===(e=e.kind)||159===e||79===e},oe.isJsxTagNameExpression=function(e){return 108===(e=e.kind)||79===e||204===e},oe.isJsxChild=function(e){return 276===(e=e.kind)||286===e||277===e||11===e||280===e},oe.isJsxAttributeLike=function(e){return 283===(e=e.kind)||285===e},oe.isStringLiteralOrJsxExpression=function(e){return 10===(e=e.kind)||286===e},oe.isJsxOpeningLikeElement=function(e){return 278===(e=e.kind)||277===e},oe.isCaseOrDefaultClause=function(e){return 287===(e=e.kind)||288===e},oe.isJSDocNode=function(e){return 304<=e.kind&&e.kind<=342},oe.isJSDocCommentContainingNode=function(e){return 315===e.kind||314===e.kind||316===e.kind||ng(e)||eg(e)||oe.isJSDocTypeLiteral(e)||oe.isJSDocSignature(e)},oe.isJSDocTag=eg,oe.isSetAccessor=function(e){return 171===e.kind},oe.isGetAccessor=function(e){return 170===e.kind},oe.hasJSDocNodes=function(e){return!!(e=e.jsDoc)&&0<e.length},oe.hasType=function(e){return!!e.type},oe.hasInitializer=function(e){return!!e.initializer},oe.hasOnlyExpressionInitializer=function(e){switch(e.kind){case 252:case 162:case 201:case 164:case 165:case 291:case 294:return!0;default:return!1}},oe.isObjectLiteralElement=function(e){return 283===e.kind||285===e.kind||Kf(e)},oe.isTypeReferenceType=function(e){return 176===e.kind||226===e.kind},se=1073741823,oe.guessIndentation=function(e){for(var n=se,t=0,r=e;t<r.length;t++){var a=r[t];if(a.length){for(var i=0;i<a.length&&i<n&&oe.isWhiteSpaceLike(a.charCodeAt(i));i++);if(0===(n=i<n?i:n))return 0}}return n===se?void 0:n},oe.isStringLiteralLike=function(e){return 10===e.kind||14===e.kind},oe.isJSDocLinkLike=ng;var tg=bY=bY||{};tg.resolvingEmptyArray=[],tg.externalHelpersModuleNameText="tslib",tg.defaultMaximumTruncationLength=160,tg.noTruncationMaximumTruncationLength=1e6,tg.getDeclarationOfKind=function(e,n){if(e=e.declarations)for(var t=0,r=e;t<r.length;t++){var a=r[t];if(a.kind===n)return a}},tg.createUnderscoreEscapedMap=function(){return new tg.Map},tg.hasEntries=function(e){return!!e&&!!e.size},tg.createSymbolTable=function(e){var n=new tg.Map;if(e)for(var t=0,r=e;t<r.length;t++){var a=r[t];n.set(a.escapedName,a)}return n},tg.isTransientSymbol=function(e){return 0!=(33554432&e.flags)},rg="";var rg,ag={getText:function(){return rg},write:ig,rawWrite:ig,writeKeyword:ig,writeOperator:ig,writePunctuation:ig,writeSpace:ig,writeStringLiteral:ig,writeLiteral:ig,writeParameter:ig,writeProperty:ig,writeSymbol:function(e,n){return ig(e)},writeTrailingSemicolon:ig,writeComment:ig,getTextPos:function(){return rg.length},getLine:function(){return 0},getColumn:function(){return 0},getIndent:function(){return 0},isAtStartOfLine:function(){return!1},hasTrailingComment:function(){return!1},hasTrailingWhitespace:function(){return!!rg.length&&tg.isWhiteSpaceLike(rg.charCodeAt(rg.length-1))},writeLine:function(){return rg+=" "},increaseIndent:tg.noop,decreaseIndent:tg.noop,clear:function(){return rg=""},trackSymbol:function(){return!1},reportInaccessibleThisError:tg.noop,reportInaccessibleUniqueSymbolError:tg.noop,reportPrivateInBaseOfClassExpression:tg.noop};function ig(e){return rg+=e}function og(e,n){return sg(e,n,tg.moduleResolutionOptionDeclarations)}function sg(e,n,t){return e!==n&&t.some((function(t){return!qb(fb(e,t),fb(n,t))}))}function cg(e){return e.end-e.pos}function lg(e){var n;return 524288&(n=e).flags||(0==(65536&n.flags)&&!tg.forEachChild(n,lg)||(n.flags|=262144),n.flags|=524288),0!=(262144&e.flags)}function dg(e){for(;e&&300!==e.kind;)e=e.parent;return e}function ug(e,n){tg.Debug.assert(0<=e);var t=tg.getLineStarts(n),r=n.text;if(e+1===t.length)return r.length-1;var a=t[e],i=t[e+1]-1;for(tg.Debug.assert(tg.isLineBreak(r.charCodeAt(i)));a<=i&&tg.isLineBreak(r.charCodeAt(i));)i--;return i}function pg(e){return void 0===e||e.pos===e.end&&0<=e.pos&&1!==e.kind}function mg(e){return!pg(e)}function _g(e,n,t){if(void 0!==n&&0!==n.length){for(var r=0;r<e.length&&t(e[r]);++r);e.splice.apply(e,eu([r,0],n,!1))}return e}function fg(e,n,t){if(void 0!==n){for(var r=0;r<e.length&&t(e[r]);++r);e.splice(r,0,n)}return e}function gg(e){return qg(e)||!!(1048576&Sg(e))}function yg(e,n){return 42===e.charCodeAt(n+1)&&33===e.charCodeAt(n+2)}function hg(e,n,t){return pg(e)?e.pos:tg.isJSDocNode(e)||11===e.kind?tg.skipTrivia((n||dg(e)).text,e.pos,!1,!0):t&&tg.hasJSDocNodes(e)?hg(e.jsDoc[0],n):343===e.kind&&0<e._children.length?hg(e._children[0],n,t):tg.skipTrivia((n||dg(e)).text,e.pos,!1,!1,hy(e))}function vg(e,n,t){return bg(e.text,n,t=void 0!==t&&t)}function bg(e,n,t){return pg(n)?"":(t=e.substring((t=void 0!==t&&t)?n.pos:tg.skipTrivia(e,n.pos),n.end),tg.findAncestor(n,tg.isJSDocTypeExpression)?t.split(/\r\n|\n|\r/).map((function(e){return tg.trimStringStart(e.replace(/^\s*\*/,""))})).join("\n"):t)}function Eg(e,n){return void 0===n&&(n=!1),vg(dg(e),e,n)}function Tg(e){return e.pos}function Sg(e){return e=e.emitNode,e&&e.flags||0}function xg(e){return e=Th(e),252===e.kind&&290===e.parent.kind}function Lg(e){return tg.isModuleDeclaration(e)&&(10===e.name.kind||Ag(e))}function Dg(e){return tg.isModuleDeclaration(e)||tg.isIdentifier(e)}function Ag(e){return!!(1024&e.flags)}function Cg(e){return Lg(e)&&Ig(e)}function Ig(e){switch(e.parent.kind){case 300:return tg.isExternalModule(e.parent);case 260:return Lg(e.parent.parent)&&tg.isSourceFile(e.parent.parent.parent)&&!tg.isExternalModule(e.parent.parent.parent)}return!1}function Ng(e){return null==(e=e.declarations)?void 0:e.find((function(e){return!(Cg(e)||tg.isModuleDeclaration(e)&&Ag(e))}))}function kg(e,n){switch(e.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!tg.isFunctionLikeOrClassStaticBlockDeclaration(n)}return!1}function Rg(e){switch(e.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 tg.assertType(e),!1}}function Og(e){switch(e.kind){case 264:case 263:return!0;default:return!1}}function Pg(e){return Og(e)||tg.isExportDeclaration(e)}function wg(e){return tg.findAncestor(e.parent,(function(e){return kg(e,e.parent)}))}function Mg(e){return e&&0!==cg(e)?Eg(e):"(Missing)"}function Fg(e){switch(e.kind){case 79:case 80:return e.escapedText;case 10:case 8:case 14:return tg.escapeLeadingUnderscores(e.text);case 160:return fh(e.expression)?tg.escapeLeadingUnderscores(e.expression.text):tg.Debug.fail("Text of property name cannot be read from non-literal-valued ComputedPropertyNames");default:return tg.Debug.assertNever(e)}}function Gg(e){switch(e.kind){case 108:return"this";case 80:case 79:return 0===cg(e)?tg.idText(e):Eg(e);case 159:return Gg(e.left)+"."+Gg(e.right);case 204:return tg.isIdentifier(e.name)||tg.isPrivateIdentifier(e.name)?Gg(e.expression)+"."+Gg(e.name):tg.Debug.assertNever(e.name);case 306:return Gg(e.left)+Gg(e.right);default:return tg.Debug.assertNever(e)}}function Bg(e,n,t,r,a,i,o){return n=Kg(e,n),ib(e,n.start,n.length,t,r,a,i,o)}function Ug(e,n,t){tg.Debug.assertGreaterThanOrEqual(n,0),tg.Debug.assertGreaterThanOrEqual(t,0),e&&(tg.Debug.assertLessThanOrEqual(n,e.text.length),tg.Debug.assertLessThanOrEqual(n+t,e.text.length))}function Vg(e,n,t,r,a){return Ug(e,n,t),{file:e,start:n,length:t,code:r.code,category:r.category,messageText:r.next?r:r.messageText,relatedInformation:a}}function jg(e,n){return e=tg.createScanner(e.languageVersion,!0,e.languageVariant,e.text,void 0,n),e.scan(),n=e.getTokenPos(),tg.createTextSpanFromBounds(n,e.getTextPos())}function Kg(e,n){var t=n;switch(n.kind){case 300:var r=tg.skipTrivia(e.text,0,!1);return r===e.text.length?tg.createTextSpan(0,0):jg(e,r);case 252:case 201:case 255:case 224:case 256:case 259:case 258:case 294:case 254:case 211:case 167:case 170:case 171:case 257:case 165:case 164:case 266:t=n.name;break;case 212:r=e;var a=n,i=tg.skipTrivia(r.text,a.pos);if(a.body&&233===a.body.kind){var o=tg.getLineAndCharacterOfPosition(r,a.body.pos).line;if(o<tg.getLineAndCharacterOfPosition(r,a.body.end).line)return tg.createTextSpan(i,ug(o,r)-i+1)}return tg.createTextSpanFromBounds(i,a.end);case 287:case 288:return o=tg.skipTrivia(e.text,n.pos),i=0<n.statements.length?n.statements[0].pos:n.end,tg.createTextSpanFromBounds(o,i)}if(void 0===t)return jg(e,n.pos);tg.Debug.assert(!tg.isJSDoc(t));var s=pg(t),c=s||tg.isJsxText(n)?t.pos:tg.skipTrivia(e.text,t.pos);return s?(tg.Debug.assert(c===t.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),tg.Debug.assert(c===t.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")):(tg.Debug.assert(c>=t.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),tg.Debug.assert(c<=t.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),tg.createTextSpanFromBounds(c,t.end)}function Hg(e){return 6===e.scriptKind}function Wg(e){return!!(2&tg.getCombinedNodeFlags(e))}function zg(e){return 206===e.kind&&100===e.expression.kind}function Jg(e){return tg.isImportTypeNode(e)&&tg.isLiteralTypeNode(e.argument)&&tg.isStringLiteral(e.argument.literal)}function qg(e){return 236===e.kind&&10===e.expression.kind}function Xg(e){return!!(1048576&Sg(e))}function Yg(e){return tg.isIdentifier(e.name)&&!e.initializer}tg.changesAffectModuleResolution=function(e,n){return e.configFilePath!==n.configFilePath||og(e,n)},tg.optionsHaveModuleResolutionChanges=og,tg.changesAffectingProgramStructure=function(e,n){return sg(e,n,tg.optionsAffectingProgramStructure)},tg.optionsHaveChanges=sg,tg.forEachAncestor=function(e,n){for(;;){var t=n(e);if("quit"===t)return;if(void 0!==t)return t;if(tg.isSourceFile(e))return;e=e.parent}},tg.forEachEntry=function(e,n){for(var t=e.entries(),r=t.next();!r.done;r=t.next()){var a=r.value,i=a[0];a=n(a[1],i);if(a)return a}},tg.forEachKey=function(e,n){for(var t=e.keys(),r=t.next();!r.done;r=t.next()){var a=n(r.value);if(a)return a}},tg.copyEntries=function(e,n){e.forEach((function(e,t){n.set(t,e)}))},tg.usingSingleLineStringWriter=function(e){var n=ag.getText();try{return e(ag),ag.getText()}finally{ag.clear(),ag.writeKeyword(n)}},tg.getFullWidth=cg,tg.getResolvedModule=function(e,n){return e&&e.resolvedModules&&e.resolvedModules.get(n)},tg.setResolvedModule=function(e,n,t){e.resolvedModules||(e.resolvedModules=new tg.Map),e.resolvedModules.set(n,t)},tg.setResolvedTypeReferenceDirective=function(e,n,t){e.resolvedTypeReferenceDirectiveNames||(e.resolvedTypeReferenceDirectiveNames=new tg.Map),e.resolvedTypeReferenceDirectiveNames.set(n,t)},tg.projectReferenceIsEqualTo=function(e,n){return e.path===n.path&&!e.prepend==!n.prepend&&!e.circular==!n.circular},tg.moduleResolutionIsEqualTo=function(e,n){return e.isExternalLibraryImport===n.isExternalLibraryImport&&e.extension===n.extension&&e.resolvedFileName===n.resolvedFileName&&e.originalPath===n.originalPath&&(e=e.packageId,n=n.packageId,e===n||!!e&&!!n&&e.name===n.name&&e.subModuleName===n.subModuleName&&e.version===n.version)},tg.packageIdToString=function(e){var n=e.name,t=e.subModuleName;return(t?n+"/"+t:n)+"@"+e.version},tg.typeDirectiveIsEqualTo=function(e,n){return e.resolvedFileName===n.resolvedFileName&&e.primary===n.primary&&e.originalPath===n.originalPath},tg.hasChangesInResolutions=function(e,n,t,r){tg.Debug.assert(e.length===n.length);for(var a=0;a<e.length;a++){var i=n[a],o=t&&t.get(e[a]);if(o?!i||!r(o,i):i)return!0}return!1},tg.containsParseError=lg,tg.getSourceFileOfNode=dg,tg.getSourceFileOfModule=function(e){return dg(e.valueDeclaration||Ng(e))},tg.isStatementWithLocals=function(e){switch(e.kind){case 233:case 261:case 240:case 241:case 242:return!0}return!1},tg.getStartPositionOfLine=function(e,n){return tg.Debug.assert(0<=e),tg.getLineStarts(n)[e]},tg.nodePosToString=function(e){var n=dg(e);e=tg.getLineAndCharacterOfPosition(n,e.pos);return n.fileName+"("+(e.line+1)+","+(e.character+1)+")"},tg.getEndLinePosition=ug,tg.isFileLevelUniqueName=function(e,n,t){return!(t&&t(n)||e.identifiers.has(n))},tg.nodeIsMissing=pg,tg.nodeIsPresent=mg,tg.insertStatementsAfterStandardPrologue=function(e,n){return _g(e,n,qg)},tg.insertStatementsAfterCustomPrologue=function(e,n){return _g(e,n,gg)},tg.insertStatementAfterStandardPrologue=function(e,n){return fg(e,n,qg)},tg.insertStatementAfterCustomPrologue=function(e,n){return fg(e,n,gg)},tg.isRecognizedTripleSlashComment=function(e,n,t){return 47===e.charCodeAt(n+1)&&n+2<t&&47===e.charCodeAt(n+2)&&(e=e.substring(n,t),!!(tg.fullTripleSlashReferencePathRegEx.test(e)||tg.fullTripleSlashAMDReferencePathRegEx.test(e)||Qg.test(e)||Zg.test(e)))},tg.isPinnedComment=yg,tg.createCommentDirectivesMap=function(e,n){var t=new tg.Map(n.map((function(n){return[""+tg.getLineAndCharacterOfPosition(e,n.range.end).line,n]}))),r=new tg.Map;return{getUnusedExpectations:function(){return tg.arrayFrom(t.entries()).filter((function(e){var n=e[0];return 0===e[1].type&&!r.get(n)})).map((function(e){return e[0],e[1]}))},markUsed:function(e){return!!t.has(""+e)&&(r.set(""+e,!0),!0)}}},tg.getTokenPosOfNode=hg,tg.getNonDecoratorTokenPosOfNode=function(e,n){return pg(e)||!e.decorators?hg(e,n):tg.skipTrivia((n||dg(e)).text,e.decorators.end)},tg.getSourceTextOfNodeFromSourceFile=vg,tg.isExportNamespaceAsDefaultDeclaration=function(e){return!!(tg.isExportDeclaration(e)&&e.exportClause&&tg.isNamespaceExport(e.exportClause)&&"default"===e.exportClause.name.escapedText)},tg.getTextOfNodeFromSourceText=bg,tg.getTextOfNode=Eg,tg.indexOfNode=function(e,n){return tg.binarySearch(e,n,Tg,tg.compareValues)},tg.getEmitFlags=Sg,tg.getScriptTargetFeatures=function(){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:tg.emptyArray,PromiseConstructor:["all","race","reject","resolve"],Symbol:["for","keyFor"],WeakMap:["entries","keys","values"],WeakSet:["entries","keys","values"],Iterator:tg.emptyArray,AsyncIterator:tg.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:tg.emptyArray,SharedArrayBuffer:tg.emptyArray,String:["padStart","padEnd"],ObjectConstructor:["values","entries","getOwnPropertyDescriptors"],DateTimeFormat:["formatToParts"]},es2018:{Promise:["finally"],RegExpMatchArray:["groups"],RegExpExecArray:["groups"],RegExp:["dotAll"],Intl:["PluralRules"],AsyncIterable:tg.emptyArray,AsyncIterableIterator:tg.emptyArray,AsyncGenerator:tg.emptyArray,AsyncGeneratorFunction:tg.emptyArray},es2019:{Array:["flat","flatMap"],ObjectConstructor:["fromEntries"],String:["trimStart","trimEnd","trimLeft","trimRight"],Symbol:["description"]},es2020:{BigInt:tg.emptyArray,BigInt64Array:tg.emptyArray,BigUint64Array:tg.emptyArray,PromiseConstructor:["allSettled"],SymbolConstructor:["matchAll"],String:["matchAll"],DataView:["setBigInt64","setBigUint64","getBigInt64","getBigUint64"],RelativeTimeFormat:["format","formatToParts","resolvedOptions"]},es2021:{PromiseConstructor:["any"],String:["replaceAll"]},esnext:{NumberFormat:["formatToParts"]}}},(sm=tg.GetLiteralTextFlags||(tg.GetLiteralTextFlags={}))[sm.None=0]="None",sm[sm.NeverAsciiEscape=1]="NeverAsciiEscape",sm[sm.JsxAttributeEscape=2]="JsxAttributeEscape",sm[sm.TerminateUnterminatedLiterals=4]="TerminateUnterminatedLiterals",sm[sm.AllowNumericSeparator=8]="AllowNumericSeparator",tg.getLiteralText=function(e,n,t){var r;if(((e,n)=>!(Sh(e)||!e.parent||4&n&&e.isUnterminated)&&(tg.isNumericLiteral(e)&&512&e.numericLiteralFlags?8&n:!tg.isBigIntLiteral(e)))(e,t))return vg(n,e);switch(e.kind){case 10:var a=2&t?jh:1&t||16777216&Sg(e)?wh:Fh;return e.singleQuote?"'"+a(e.text,39)+"'":'"'+a(e.text,34)+'"';case 14:case 15:case 16:case 17:a=1&t||16777216&Sg(e)?wh:Fh;var i=null!=(r=e.rawText)?r:a(e.text,96).replace(Ch,"\\${");switch(e.kind){case 14:return"`"+i+"`";case 15:return"`"+i+"${";case 16:return"}"+i+"${";case 17:return"}"+i+"`"}break;case 8:case 9:return e.text;case 13:return 4&t&&e.isUnterminated?e.text+(92===e.text.charCodeAt(e.text.length-1)?" /":"/"):e.text}return tg.Debug.fail("Literal kind '"+e.kind+"' not accounted for.")},tg.getTextOfConstantValue=function(e){return tg.isString(e)?'"'+Fh(e)+'"':""+e},tg.makeIdentifierFromModuleName=function(e){return tg.getBaseFileName(e).replace(/^(\d)/,"_$1").replace(/\W/g,"_")},tg.isBlockOrCatchScoped=function(e){return 0!=(3&tg.getCombinedNodeFlags(e))||xg(e)},tg.isCatchClauseVariableDeclarationOrBindingElement=xg,tg.isAmbientModule=Lg,tg.isModuleWithStringLiteralName=function(e){return tg.isModuleDeclaration(e)&&10===e.name.kind},tg.isNonGlobalAmbientModule=function(e){return tg.isModuleDeclaration(e)&&tg.isStringLiteral(e.name)},tg.isEffectiveModuleDeclaration=Dg,tg.isShorthandAmbientModuleSymbol=function(e){return!!(e=e.valueDeclaration)&&259===e.kind&&!e.body},tg.isBlockScopedContainerTopLevel=function(e){return 300===e.kind||259===e.kind||tg.isFunctionLikeOrClassStaticBlockDeclaration(e)},tg.isGlobalScopeAugmentation=Ag,tg.isExternalModuleAugmentation=Cg,tg.isModuleAugmentationExternal=Ig,tg.getNonAugmentationDeclaration=Ng,tg.isEffectiveExternalModule=function(e,n){return tg.isExternalModule(e)||n.isolatedModules||ub(n)===tg.ModuleKind.CommonJS&&!!e.commonJsModuleIndicator},tg.isEffectiveStrictModeSourceFile=function(e,n){switch(e.scriptKind){case 1:case 3:case 2:case 4:break;default:return!1}return!(e.isDeclarationFile||!mb(n,"alwaysStrict")&&!tg.startsWithUseStrict(e.statements)&&(!tg.isExternalModule(e)&&!n.isolatedModules||!(ub(n)>=tg.ModuleKind.ES2015)&&n.noImplicitUseStrict))},tg.isBlockScope=kg,tg.isDeclarationWithTypeParameters=function(e){switch(e.kind){case 333:case 340:case 318:return!0;default:return tg.assertType(e),Rg(e)}},tg.isDeclarationWithTypeParameterChildren=Rg,tg.isAnyImportSyntax=Og,tg.isLateVisibilityPaintedStatement=function(e){switch(e.kind){case 264:case 263:case 235:case 255:case 254:case 259:case 257:case 256:case 258:return!0;default:return!1}},tg.hasPossibleExternalModuleReference=function(e){return Pg(e)||tg.isModuleDeclaration(e)||tg.isImportTypeNode(e)||zg(e)},tg.isAnyImportOrReExport=Pg,tg.getEnclosingBlockScopeContainer=wg,tg.forEachEnclosingBlockScopeContainer=function(e,n){for(var t=wg(e);t;)n(t),t=wg(t)},tg.declarationNameToString=Mg,tg.getNameFromIndexInfo=function(e){return e.declaration?Mg(e.declaration.parameters[0].name):void 0},tg.isComputedNonLiteralName=function(e){return 160===e.kind&&!fh(e.expression)},tg.getTextOfPropertyName=Fg,tg.entityNameToString=Gg,tg.createDiagnosticForNode=function(e,n,t,r,a,i){return Bg(dg(e),e,n,t,r,a,i)},tg.createDiagnosticForNodeArray=function(e,n,t,r,a,i,o){var s=tg.skipTrivia(e.text,n.pos);return ib(e,s,n.end-s,t,r,a,i,o)},tg.createDiagnosticForNodeInSourceFile=Bg,tg.createDiagnosticForNodeFromMessageChain=function(e,n,t){var r=dg(e);e=Kg(r,e);return Vg(r,e.start,e.length,n,t)},tg.createFileDiagnosticFromMessageChain=Vg,tg.createDiagnosticForFileFromMessageChain=function(e,n,t){return{file:e,start:0,length:0,code:n.code,category:n.category,messageText:n.next?n:n.messageText,relatedInformation:t}},tg.createDiagnosticForRange=function(e,n,t){return{file:e,start:n.pos,length:n.end-n.pos,code:t.code,category:t.category,messageText:t.message}},tg.getSpanOfTokenAtPosition=jg,tg.getErrorSpanForNode=Kg,tg.isExternalOrCommonJsModule=function(e){return void 0!==(e.externalModuleIndicator||e.commonJsModuleIndicator)},tg.isJsonSourceFile=Hg,tg.isEnumConst=function(e){return!!(2048&tg.getCombinedModifierFlags(e))},tg.isDeclarationReadonly=function(e){return!(!(64&tg.getCombinedModifierFlags(e))||tg.isParameterPropertyDeclaration(e,e.parent))},tg.isVarConst=Wg,tg.isLet=function(e){return!!(1&tg.getCombinedNodeFlags(e))},tg.isSuperCall=function(e){return 206===e.kind&&106===e.expression.kind},tg.isImportCall=zg,tg.isImportMeta=function(e){return tg.isMetaProperty(e)&&100===e.keywordToken&&"meta"===e.name.escapedText},tg.isLiteralImportTypeNode=Jg,tg.isPrologueDirective=qg,tg.isCustomPrologue=Xg,tg.isHoistedFunction=function(e){return Xg(e)&&tg.isFunctionDeclaration(e)},tg.isHoistedVariableStatement=function(e){return Xg(e)&&tg.isVariableStatement(e)&&tg.every(e.declarationList.declarations,Yg)},tg.getLeadingCommentRangesOfNode=function(e,n){return 11!==e.kind?tg.getLeadingCommentRanges(n.text,e.pos):void 0},tg.getJSDocCommentRanges=function(e,n){return e=162===e.kind||161===e.kind||211===e.kind||212===e.kind||210===e.kind||252===e.kind?tg.concatenate(tg.getTrailingCommentRanges(n,e.pos),tg.getLeadingCommentRanges(n,e.pos)):tg.getLeadingCommentRanges(n,e.pos),tg.filter(e,(function(e){return 42===n.charCodeAt(e.pos+1)&&42===n.charCodeAt(e.pos+2)&&47!==n.charCodeAt(e.pos+3)}))},tg.fullTripleSlashReferencePathRegEx=/^(\/\/\/\s*<reference\s+path\s*=\s*)(('[^']*')|("[^"]*")).*?\/>/;var Qg=/^(\/\/\/\s*<reference\s+types\s*=\s*)(('[^']*')|("[^"]*")).*?\/>/,Zg=(tg.fullTripleSlashAMDReferencePathRegEx=/^(\/\/\/\s*<amd-dependency\s+path\s*=\s*)(('[^']*')|("[^"]*")).*?\/>/,/^(\/\/\/\s*<reference\s+no-default-lib\s*=\s*)(('[^']*')|("[^"]*"))\s*\/>/);function $g(e){if(175<=e.kind&&e.kind<=198)return!0;switch(e.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 215!==e.parent.kind;case 226:return!kv(e);case 161:return 193===e.parent.kind||188===e.parent.kind;case 79:(159===e.parent.kind&&e.parent.right===e||204===e.parent.kind&&e.parent.name===e)&&(e=e.parent),tg.Debug.assert(79===e.kind||159===e.kind||204===e.kind,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 159:case 204:case 108:var n=e.parent;if(179===n.kind)return!1;if(198===n.kind)return!n.isTypeOf;if(175<=n.kind&&n.kind<=198)return!0;switch(n.kind){case 226:return!kv(n);case 161:case 339:return e===n.constraint;case 165:case 164:case 162:case 252:return e===n.type;case 254:case 211:case 212:case 169:case 167:case 166:case 170:case 171:return e===n.type;case 172:case 173:case 174:case 209:return e===n.type;case 206:case 207:return tg.contains(n.typeArguments,e);case 208:return!1}}return!1}function ey(e){if(e)switch(e.kind){case 201:case 294:case 162:case 291:case 165:case 164:case 292:case 252:return!0}return!1}function ny(e){return 253===e.parent.kind&&235===e.parent.parent.kind}function ty(e,n,t){return e.properties.filter((function(e){return 291===e.kind&&(e=Fg(e.name),n===e||!!t&&t===e)}))}function ry(e){if(e&&e.statements.length)return e=e.statements[0].expression,tg.tryCast(e,tg.isObjectLiteralExpression)}function ay(e,n){return e=ry(e),e?ty(e,n):tg.emptyArray}function iy(e,n){for(tg.Debug.assert(300!==e.kind);;){if(!(e=e.parent))return tg.Debug.fail();switch(e.kind){case 160:if(tg.isClassLike(e.parent.parent))return e;e=e.parent;break;case 163:162===e.parent.kind&&tg.isClassElement(e.parent.parent)?e=e.parent.parent:tg.isClassElement(e.parent)&&(e=e.parent);break;case 212:if(!n)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 e}}}function oy(e){var n=e.kind;return(204===n||205===n)&&106===e.expression.kind}function sy(e,n,t){if(!tg.isNamedDeclaration(e)||!tg.isPrivateIdentifier(e.name))switch(e.kind){case 255:return!0;case 165:return 255===n.kind;case 170:case 171:case 167:return void 0!==e.body&&255===n.kind;case 162:return void 0!==n.body&&(169===n.kind||167===n.kind||171===n.kind)&&255===t.kind}return!1}function cy(e,n,t){return void 0!==e.decorators&&sy(e,n,t)}function ly(e,n,t){return cy(e,n,t)||dy(e,n)}function dy(e,n){switch(e.kind){case 255:return tg.some(e.members,(function(t){return ly(t,e,n)}));case 167:case 171:case 169:return tg.some(e.parameters,(function(t){return cy(t,e,n)}));default:return!1}}function uy(e){var n=e.parent;return(278===n.kind||277===n.kind||279===n.kind)&&n.tagName===e}function py(e){switch(e.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(;159===e.parent.kind;)e=e.parent;return 179===e.parent.kind||tg.isJSDocLinkLike(e.parent)||tg.isJSDocNameReference(e.parent)||tg.isJSDocMemberName(e.parent)||uy(e);case 306:for(;tg.isJSDocMemberName(e.parent);)e=e.parent;return 179===e.parent.kind||tg.isJSDocLinkLike(e.parent)||tg.isJSDocNameReference(e.parent)||tg.isJSDocMemberName(e.parent)||uy(e);case 79:if(179===e.parent.kind||tg.isJSDocLinkLike(e.parent)||tg.isJSDocNameReference(e.parent)||tg.isJSDocMemberName(e.parent)||uy(e))return!0;case 8:case 9:case 10:case 14:case 108:return my(e);default:return!1}}function my(e){var n=e.parent;switch(n.kind){case 252:case 162:case 165:case 164:case 294:case 291:case 201:return n.initializer===e;case 236:case 237:case 238:case 239:case 245:case 246:case 247:case 287:case 249:return n.expression===e;case 240:return n.initializer===e&&253!==n.initializer.kind||n.condition===e||n.incrementor===e;case 241:case 242:return n.initializer===e&&253!==n.initializer.kind||n.expression===e;case 209:case 227:case 231:case 160:return e===n.expression;case 163:case 286:case 285:case 293:return!0;case 226:return n.expression===e&&kv(n);case 292:return n.objectAssignmentInitializer===e;default:return py(n)}}function _y(e){for(;159===e.kind||79===e.kind;)e=e.parent;return 179===e.kind}function fy(e){return 263===e.kind&&275===e.moduleReference.kind}function gy(e){return yy(e)}function yy(e){return!!e&&!!(131072&e.flags)}function hy(e){return!!e&&!!(4194304&e.flags)}function vy(e,n){var t;return 206===e.kind&&(t=e.expression,e=e.arguments,79===t.kind)&&"require"===t.escapedText&&1===e.length&&(!n||tg.isStringLiteralLike(e[0]))}function by(e){return 201===e.kind&&(e=e.parent.parent),tg.isVariableDeclaration(e)&&!!e.initializer&&vy(Xv(e.initializer),!0)}function Ey(e){return tg.isBinaryExpression(e)||qv(e)||tg.isIdentifier(e)||tg.isCallExpression(e)}function Ty(e){return yy(e)&&e.initializer&&tg.isBinaryExpression(e.initializer)&&(56===e.initializer.operatorToken.kind||60===e.initializer.operatorToken.kind)&&e.name&&Rv(e.name)&&xy(e.name,e.initializer.left)?e.initializer.right:e.initializer}function Sy(e,n){var t;return tg.isCallExpression(e)?211===(t=rh(e.expression)).kind||212===t.kind?e:void 0:211===e.kind||224===e.kind||212===e.kind||tg.isObjectLiteralExpression(e)&&(0===e.properties.length||n)?e:void 0}function xy(e,n){var t;return bh(e)&&bh(n)?Eh(e)===Eh(n):tg.isIdentifier(e)&&ky(n)&&(108===n.expression.kind||tg.isIdentifier(n.expression)&&("window"===n.expression.escapedText||"self"===n.expression.escapedText||"global"===n.expression.escapedText))?(t=My(n),tg.isPrivateIdentifier(t)&&tg.Debug.fail("Unexpected PrivateIdentifier in name expression with literal-like access."),xy(e,t)):!(!ky(e)||!ky(n))&&Gy(e)===Gy(n)&&xy(e.expression,n.expression)}function Ly(e){for(;Nv(e,!0);)e=e.right;return e}function Dy(e){return tg.isIdentifier(e)&&"exports"===e.escapedText}function Ay(e){return tg.isIdentifier(e)&&"module"===e.escapedText}function Cy(e){return(tg.isPropertyAccessExpression(e)||Ry(e))&&Ay(e.expression)&&"exports"===Gy(e)}function Iy(e){var n=(e=>{var n;return tg.isCallExpression(e)?Ny(e)?Dy(n=e.arguments[0])||Cy(n)?8:Oy(n)&&"prototype"===Gy(n)?9:7:0:63!==e.operatorToken.kind||!qv(e.left)||(e=>tg.isVoidExpression(e)&&tg.isNumericLiteral(e.expression)&&"0"===e.expression.text)(Ly(e))?0:wy(e.left.expression,!0)&&"prototype"===Gy(e.left)&&tg.isObjectLiteralExpression(Uy(e))?6:By(e.left)})(e);return 5===n||yy(e)?n:0}function Ny(e){return 3===tg.length(e.arguments)&&tg.isPropertyAccessExpression(e.expression)&&tg.isIdentifier(e.expression.expression)&&"Object"===tg.idText(e.expression.expression)&&"defineProperty"===tg.idText(e.expression.name)&&fh(e.arguments[1])&&wy(e.arguments[0],!0)}function ky(e){return tg.isPropertyAccessExpression(e)||Ry(e)}function Ry(e){return tg.isElementAccessExpression(e)&&fh(e.argumentExpression)}function Oy(e,n){return tg.isPropertyAccessExpression(e)&&(!n&&108===e.expression.kind||tg.isIdentifier(e.name)&&wy(e.expression,!0))||Py(e,n)}function Py(e,n){return Ry(e)&&(!n&&108===e.expression.kind||Rv(e.expression)||Oy(e.expression,!0))}function wy(e,n){return Rv(e)||Oy(e,n)}function My(e){return tg.isPropertyAccessExpression(e)?e.name:e.argumentExpression}function Fy(e){var n;return tg.isPropertyAccessExpression(e)?e.name:(n=rh(e.argumentExpression),tg.isNumericLiteral(n)||tg.isStringLiteralLike(n)?n:e)}function Gy(e){if(e=Fy(e),e){if(tg.isIdentifier(e))return e.escapedText;if(tg.isStringLiteralLike(e)||tg.isNumericLiteral(e))return tg.escapeLeadingUnderscores(e.text)}}function By(e){if(108===e.expression.kind)return 4;if(Cy(e))return 2;if(wy(e.expression,!0)){if(Pv(e.expression))return 3;for(var n=e;!tg.isIdentifier(n.expression);)n=n.expression;var t=n.expression;if(("exports"===t.escapedText||"module"===t.escapedText&&"exports"===Gy(n))&&Oy(e))return 1;if(wy(e,!0)||tg.isElementAccessExpression(e)&&hh(e))return 5}return 0}function Uy(e){for(;tg.isBinaryExpression(e.right);)e=e.right;return e.right}function Vy(e){switch(e.parent.kind){case 264:case 270:return e.parent;case 275:return e.parent.parent;case 206:return zg(e.parent)||vy(e.parent,!1)?e.parent:void 0;case 194:return tg.Debug.assert(tg.isStringLiteral(e)),tg.tryCast(e.parent.parent,tg.isImportTypeNode);default:return}}function jy(e){switch(e.kind){case 264:case 270:return e.moduleSpecifier;case 263:return 275===e.moduleReference.kind?e.moduleReference.expression:void 0;case 198:return Jg(e)?e.argument.literal:void 0;case 206:return e.arguments[0];case 259:return 10===e.name.kind?e.name:void 0;default:return tg.Debug.assertNever(e)}}function Ky(e){return 340===e.kind||333===e.kind||334===e.kind}function Hy(e){return tg.isExpressionStatement(e)&&tg.isBinaryExpression(e.expression)&&0!==Iy(e.expression)&&tg.isBinaryExpression(e.expression.right)&&(56===e.expression.right.operatorToken.kind||60===e.expression.right.operatorToken.kind)?e.expression.right.right:void 0}function Wy(e){switch(e.kind){case 235:var n=zy(e);return n&&n.initializer;case 165:case 291:return e.initializer}}function zy(e){return tg.isVariableStatement(e)?tg.firstOrUndefined(e.declarationList.declarations):void 0}function Jy(e){return tg.isModuleDeclaration(e)&&e.body&&259===e.body.kind?e.body:void 0}function qy(e){var n=e.parent;return 291===n.kind||269===n.kind||165===n.kind||236===n.kind&&204===e.kind||245===n.kind||Jy(n)||tg.isBinaryExpression(e)&&63===e.operatorToken.kind?n:n.parent&&(zy(n.parent)===e||tg.isBinaryExpression(n)&&63===n.operatorToken.kind)?n.parent:n.parent&&n.parent.parent&&(zy(n.parent.parent)||Wy(n.parent.parent)===e||Hy(n.parent.parent))?n.parent.parent:void 0}function Xy(e){return e=Yy(e),e&&tg.isFunctionLike(e)?e:void 0}function Yy(e){var n;e=Qy(e);if(e)return Hy(e)||(n=e,tg.isExpressionStatement(n)&&tg.isBinaryExpression(n.expression)&&63===n.expression.operatorToken.kind?Ly(n.expression):void 0)||Wy(e)||zy(e)||Jy(e)||e}function Qy(e){var n;e=Zy(e);return e&&(n=e.parent)&&n.jsDoc&&e===tg.lastOrUndefined(n.jsDoc)?n:void 0}function Zy(e){return tg.findAncestor(e.parent,tg.isJSDoc)}function $y(e){var n=tg.isJSDocParameterTag(e)?e.typeExpression&&e.typeExpression.type:e.type;return void 0!==e.dotDotDotToken||!!n&&313===n.kind}function eh(e){for(var n=e.parent;;){switch(n.kind){case 219:var t=n.operatorToken.kind;return Av(t)&&n.left===e?63===t||Dv(t)?1:2:0;case 217:case 218:return t=n.operator,45===t||46===t?2:0;case 241:case 242:return n.initializer===e?1:0;case 210:case 202:case 223:case 228:e=n;break;case 293:e=n.parent;break;case 292:if(n.name!==e)return 0;e=n.parent;break;case 291:if(n.name===e)return 0;e=n.parent;break;default:return 0}n=e.parent}}function nh(e,n){for(;e&&e.kind===n;)e=e.parent;return e}function th(e){return nh(e,210)}function rh(e){return tg.skipOuterExpressions(e,1)}function ah(e){return Rv(e)||tg.isClassExpression(e)}function ih(e){return ah(oh(e))}function oh(e){return tg.isExportAssignment(e)?e.expression:e.right}function sh(e){var n=ch(e);return n&&yy(e)&&(e=tg.getJSDocAugmentsTag(e),e)?e.class:n}function ch(e){return e=uh(e.heritageClauses,94),e&&0<e.types.length?e.types[0]:void 0}function lh(e){return yy(e)?tg.getJSDocImplementsTags(e).map((function(e){return e.class})):null==(e=uh(e.heritageClauses,117))?void 0:e.types}function dh(e){return e=uh(e.heritageClauses,94),e?e.types:void 0}function uh(e,n){if(e)for(var t=0,r=e;t<r.length;t++){var a=r[t];if(a.token===n)return a}}function ph(e){return 81<=e&&e<=158}function mh(e){return 126<=e&&e<=158}function _h(e){return ph(e)&&!mh(e)}function fh(e){return tg.isStringLiteralLike(e)||tg.isNumericLiteral(e)}function gh(e){return tg.isPrefixUnaryExpression(e)&&(39===e.operator||40===e.operator)&&tg.isNumericLiteral(e.operand)}function yh(e){return e=tg.getNameOfDeclaration(e),!!e&&hh(e)}function hh(e){return!(160!==e.kind&&205!==e.kind||fh(e=tg.isElementAccessExpression(e)?rh(e.argumentExpression):e.expression)||gh(e))}function vh(e){switch(e.kind){case 79:case 80:return e.escapedText;case 10:case 8:return tg.escapeLeadingUnderscores(e.text);case 160:var n=e.expression;return fh(n)?tg.escapeLeadingUnderscores(n.text):gh(n)?40===n.operator?tg.tokenToString(n.operator)+n.operand.text:n.operand.text:void 0;default:return tg.Debug.assertNever(e)}}function bh(e){switch(e.kind){case 79:case 10:case 14:case 8:return!0;default:return!1}}function Eh(e){return tg.isMemberName(e)?tg.idText(e):e.text}function Th(e){for(;201===e.kind;)e=e.parent.parent;return e}function Sh(e){return Wb(e.pos)||Wb(e.end)}function xh(e,n,t){switch(e){case 207:return t?0:1;case 217:case 214:case 215:case 213:case 216:case 220:case 222:return 1;case 219:switch(n){case 42:case 63:case 64:case 65:case 67:case 66:case 68:case 69:case 70:case 71:case 72:case 73:case 78:case 74:case 75:case 76:case 77:return 1}}return 0}function Lh(e){return 219===e.kind?e.operatorToken.kind:217===e.kind||218===e.kind?e.operator:e.kind}function Dh(e,n,t){switch(e){case 346:return 0;case 223:return 1;case 222:return 2;case 220:return 4;case 219:switch(n){case 27:return 0;case 63:case 64:case 65:case 67:case 66:case 68:case 69:case 70:case 71:case 72:case 73:case 78:case 74:case 75:case 76:case 77:return 3;default:return Ah(n)}case 209:case 228:case 217:case 214:case 215:case 213:case 216:return 16;case 218:return 17;case 206:return 18;case 207:return t?19:18;case 208:case 204:case 205:case 229:return 19;case 227:return 11;case 108:case 106:case 79:case 104:case 110:case 95:case 8:case 9:case 10:case 202:case 203:case 211:case 212:case 224:case 13:case 14:case 221:case 210:case 225:case 276:case 277:case 280:return 20;default:return-1}}function Ah(e){switch(e){case 60:return 4;case 56:return 5;case 55:return 6;case 51:return 7;case 52:return 8;case 50:return 9;case 34:case 35:case 36:case 37:return 10;case 29:case 31:case 32:case 33:case 102:case 101:case 127:return 11;case 47:case 48:case 49:return 12;case 39:case 40:return 13;case 41:case 43:case 44:return 14;case 42:return 15}return-1}tg.isPartOfTypeNode=$g,tg.isChildOfNodeWithKind=function(e,n){for(;e;){if(e.kind===n)return!0;e=e.parent}return!1},tg.forEachReturnStatement=function(e,n){return function e(t){switch(t.kind){case 245:return n(t);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 tg.forEachChild(t,e)}}(e)},tg.forEachYieldExpression=function(e,n){return function e(t){switch(t.kind){case 222:n(t);var r=t.expression;return void(r&&e(r));case 258:case 256:case 259:case 257:return;default:tg.isFunctionLike(t)?t.name&&160===t.name.kind&&e(t.name.expression):$g(t)||tg.forEachChild(t,e)}}(e)},tg.getRestParameterElementType=function(e){return e&&181===e.kind?e.elementType:e&&176===e.kind?tg.singleOrUndefined(e.typeArguments):void 0},tg.getMembersOfDeclaration=function(e){switch(e.kind){case 256:case 255:case 224:case 180:return e.members;case 203:return e.properties}},tg.isVariableLike=ey,tg.isVariableLikeOrAccessor=function(e){return ey(e)||tg.isAccessor(e)},tg.isVariableDeclarationInVariableStatement=ny,tg.isValidESSymbolDeclaration=function(e){return tg.isVariableDeclaration(e)?Wg(e)&&tg.isIdentifier(e.name)&&ny(e):tg.isPropertyDeclaration(e)?gv(e)&&fv(e):tg.isPropertySignature(e)&&gv(e)},tg.introducesArgumentsExoticObject=function(e){switch(e.kind){case 167:case 166:case 169:case 170:case 171:case 254:case 211:return!0}return!1},tg.unwrapInnermostStatementOfLabel=function(e,n){for(;;){if(n&&n(e),248!==e.statement.kind)return e.statement;e=e.statement}},tg.isFunctionBlock=function(e){return e&&233===e.kind&&tg.isFunctionLike(e.parent)},tg.isObjectLiteralMethod=function(e){return e&&167===e.kind&&203===e.parent.kind},tg.isObjectLiteralOrClassExpressionMethod=function(e){return 167===e.kind&&(203===e.parent.kind||224===e.parent.kind)},tg.isIdentifierTypePredicate=function(e){return e&&1===e.kind},tg.isThisTypePredicate=function(e){return e&&0===e.kind},tg.getPropertyAssignment=ty,tg.getPropertyArrayElementValue=function(e,n,t){return tg.firstDefined(ty(e,n),(function(e){return tg.isArrayLiteralExpression(e.initializer)?tg.find(e.initializer.elements,(function(e){return tg.isStringLiteral(e)&&e.text===t})):void 0}))},tg.getTsConfigObjectLiteralExpression=ry,tg.getTsConfigPropArrayElementValue=function(e,n,t){return tg.firstDefined(ay(e,n),(function(e){return tg.isArrayLiteralExpression(e.initializer)?tg.find(e.initializer.elements,(function(e){return tg.isStringLiteral(e)&&e.text===t})):void 0}))},tg.getTsConfigPropArray=ay,tg.getContainingFunction=function(e){return tg.findAncestor(e.parent,tg.isFunctionLike)},tg.getContainingFunctionDeclaration=function(e){return tg.findAncestor(e.parent,tg.isFunctionLikeDeclaration)},tg.getContainingClass=function(e){return tg.findAncestor(e.parent,tg.isClassLike)},tg.getContainingClassStaticBlock=function(e){return tg.findAncestor(e.parent,(function(e){return tg.isClassLike(e)||tg.isFunctionLike(e)?"quit":tg.isClassStaticBlockDeclaration(e)}))},tg.getContainingFunctionOrClassStaticBlock=function(e){return tg.findAncestor(e.parent,tg.isFunctionLikeOrClassStaticBlockDeclaration)},tg.getThisContainer=iy,tg.isInTopLevelContext=function(e){return e=iy(e=tg.isIdentifier(e)&&(tg.isClassDeclaration(e.parent)||tg.isFunctionDeclaration(e.parent))&&e.parent.name===e?e.parent:e,!0),tg.isSourceFile(e)},tg.getNewTargetContainer=function(e){var n=iy(e,!1);if(n)switch(n.kind){case 169:case 254:case 211:return n}},tg.getSuperContainer=function(e,n){for(;;){if(!(e=e.parent))return e;switch(e.kind){case 160:e=e.parent;break;case 254:case 211:case 212:if(!n)continue;case 165:case 164:case 167:case 166:case 169:case 170:case 171:case 168:return e;case 163:162===e.parent.kind&&tg.isClassElement(e.parent.parent)?e=e.parent.parent:tg.isClassElement(e.parent)&&(e=e.parent)}}},tg.getImmediatelyInvokedFunctionExpression=function(e){if(211===e.kind||212===e.kind){for(var n=e,t=e.parent;210===t.kind;)t=(n=t).parent;if(206===t.kind&&t.expression===n)return t}},tg.isSuperOrSuperProperty=function(e){return 106===e.kind||oy(e)},tg.isSuperProperty=oy,tg.isThisProperty=function(e){var n=e.kind;return(204===n||205===n)&&108===e.expression.kind},tg.isThisInitializedDeclaration=function(e){return!!e&&tg.isVariableDeclaration(e)&&108===(null==(e=e.initializer)?void 0:e.kind)},tg.isThisInitializedObjectBindingExpression=function(e){return!!e&&(tg.isShorthandPropertyAssignment(e)||tg.isPropertyAssignment(e))&&tg.isBinaryExpression(e.parent.parent)&&63===e.parent.parent.operatorToken.kind&&108===e.parent.parent.right.kind},tg.getEntityNameFromTypeNode=function(e){switch(e.kind){case 176:return e.typeName;case 226:return Rv(e.expression)?e.expression:void 0;case 79:case 159:return e}},tg.getInvokedExpression=function(e){switch(e.kind){case 208:return e.tag;case 278:case 277:return e.tagName;default:return e.expression}},tg.nodeCanBeDecorated=sy,tg.nodeIsDecorated=cy,tg.nodeOrChildIsDecorated=ly,tg.childIsDecorated=dy,tg.classOrConstructorParameterIsDecorated=function(e){var n;return!!cy(e)||!!(n=tv(e))&&dy(n,e)},tg.isJSXTagName=uy,tg.isExpressionNode=py,tg.isInExpressionContext=my,tg.isPartOfTypeQuery=_y,tg.isNamespaceReexportDeclaration=function(e){return tg.isNamespaceExport(e)&&!!e.parent.moduleSpecifier},tg.isExternalModuleImportEqualsDeclaration=fy,tg.getExternalModuleImportEqualsDeclarationExpression=function(e){return tg.Debug.assert(fy(e)),e.moduleReference.expression},tg.getExternalModuleRequireArgument=function(e){return by(e)&&Xv(e.initializer).arguments[0]},tg.isInternalModuleImportEqualsDeclaration=function(e){return 263===e.kind&&275!==e.moduleReference.kind},tg.isSourceFileJS=gy,tg.isSourceFileNotJS=function(e){return!yy(e)},tg.isInJSFile=yy,tg.isInJsonFile=function(e){return!!e&&!!(33554432&e.flags)},tg.isSourceFileNotJson=function(e){return!Hg(e)},tg.isInJSDoc=hy,tg.isJSDocIndexSignature=function(e){return tg.isTypeReferenceNode(e)&&tg.isIdentifier(e.typeName)&&"Object"===e.typeName.escapedText&&e.typeArguments&&2===e.typeArguments.length&&(148===e.typeArguments[0].kind||145===e.typeArguments[0].kind)},tg.isRequireCall=vy,tg.isRequireVariableDeclaration=by,tg.isRequireVariableStatement=function(e){return tg.isVariableStatement(e)&&0<e.declarationList.declarations.length&&tg.every(e.declarationList.declarations,by)},tg.isSingleOrDoubleQuote=function(e){return 39===e||34===e},tg.isStringDoubleQuoted=function(e,n){return 34===vg(n,e).charCodeAt(0)},tg.isAssignmentDeclaration=Ey,tg.getEffectiveInitializer=Ty,tg.getDeclaredExpandoInitializer=function(e){var n=Ty(e);return n&&Sy(n,Pv(e.name))},tg.getAssignedExpandoInitializer=function(e){var n,t;return e&&e.parent&&tg.isBinaryExpression(e.parent)&&63===e.parent.operatorToken.kind?(n=Pv(e.parent.left),Sy(e.parent.right,n)||((e,n,t)=>{if((t=tg.isBinaryExpression(n)&&(56===n.operatorToken.kind||60===n.operatorToken.kind)&&Sy(n.right,t))&&xy(e,n.left))return t})(e.parent.left,e.parent.right,n)):e&&tg.isCallExpression(e)&&Ny(e)&&(n=e.arguments[2],t="prototype"===e.arguments[1].text,e=tg.forEach(n.properties,(function(e){return tg.isPropertyAssignment(e)&&tg.isIdentifier(e.name)&&"value"===e.name.escapedText&&e.initializer&&Sy(e.initializer,t)})),e)?e:void 0},tg.getExpandoInitializer=Sy,tg.isDefaultedExpandoInitializer=function(e){var n=tg.isVariableDeclaration(e.parent)?e.parent.name:tg.isBinaryExpression(e.parent)&&63===e.parent.operatorToken.kind?e.parent.left:void 0;return n&&Sy(e.right,Pv(n))&&Rv(n)&&xy(n,e.left)},tg.getNameOfExpando=function(e){if(tg.isBinaryExpression(e.parent)){var n=(56!==e.parent.operatorToken.kind&&60!==e.parent.operatorToken.kind||!tg.isBinaryExpression(e.parent.parent)?e:e.parent).parent;if(63===n.operatorToken.kind&&tg.isIdentifier(n.left))return n.left}else if(tg.isVariableDeclaration(e.parent))return e.parent.name},tg.isSameEntityName=xy,tg.getRightMostAssignedExpression=Ly,tg.isExportsIdentifier=Dy,tg.isModuleIdentifier=Ay,tg.isModuleExportsAccessExpression=Cy,tg.getAssignmentDeclarationKind=Iy,tg.isBindableObjectDefinePropertyCall=Ny,tg.isLiteralLikeAccess=ky,tg.isLiteralLikeElementAccess=Ry,tg.isBindableStaticAccessExpression=Oy,tg.isBindableStaticElementAccessExpression=Py,tg.isBindableStaticNameExpression=wy,tg.getNameOrArgument=My,tg.getElementOrPropertyAccessArgumentExpressionOrName=Fy,tg.getElementOrPropertyAccessName=Gy,tg.getAssignmentDeclarationPropertyAccessKind=By,tg.getInitializerOfBinaryExpression=Uy,tg.isPrototypePropertyAssignment=function(e){return tg.isBinaryExpression(e)&&3===Iy(e)},tg.isSpecialPropertyDeclaration=function(e){return yy(e)&&e.parent&&236===e.parent.kind&&(!tg.isElementAccessExpression(e)||Ry(e))&&!!tg.getJSDocTypeTag(e.parent)},tg.setValueDeclaration=function(e,n){var t=e.valueDeclaration;(!t||(!(8388608&n.flags)||8388608&t.flags)&&Ey(t)&&!Ey(n)||t.kind!==n.kind&&Dg(t))&&(e.valueDeclaration=n)},tg.isFunctionSymbol=function(e){return!(!e||!e.valueDeclaration)&&(254===(e=e.valueDeclaration).kind||tg.isVariableDeclaration(e)&&e.initializer&&tg.isFunctionLike(e.initializer))},tg.tryGetModuleSpecifierFromDeclaration=function(e){var n;switch(e.kind){case 252:return e.initializer.arguments[0].text;case 264:return null==(n=tg.tryCast(e.moduleSpecifier,tg.isStringLiteralLike))?void 0:n.text;case 263:return null==(n=tg.tryCast(null==(n=tg.tryCast(e.moduleReference,tg.isExternalModuleReference))?void 0:n.expression,tg.isStringLiteralLike))?void 0:n.text;default:tg.Debug.assertNever(e)}},tg.importFromModuleSpecifier=function(e){return Vy(e)||tg.Debug.failBadSyntaxKind(e.parent)},tg.tryGetImportFromModuleSpecifier=Vy,tg.getExternalModuleName=jy,tg.getNamespaceDeclarationNode=function(e){switch(e.kind){case 264:return e.importClause&&tg.tryCast(e.importClause.namedBindings,tg.isNamespaceImport);case 263:return e;case 270:return e.exportClause&&tg.tryCast(e.exportClause,tg.isNamespaceExport);default:return tg.Debug.assertNever(e)}},tg.isDefaultImport=function(e){return 264===e.kind&&!!e.importClause&&!!e.importClause.name},tg.forEachImportClauseDeclaration=function(e,n){var t;return e.name&&(t=n(e))||e.namedBindings&&(t=tg.isNamespaceImport(e.namedBindings)?n(e.namedBindings):tg.forEach(e.namedBindings.elements,n))?t:void 0},tg.hasQuestionToken=function(e){if(e)switch(e.kind){case 162:case 167:case 166:case 292:case 291:case 165:case 164:return void 0!==e.questionToken}return!1},tg.isJSDocConstructSignature=function(e){return e=tg.isJSDocFunctionType(e)?tg.firstOrUndefined(e.parameters):void 0,!!(e=tg.tryCast(e&&e.name,tg.isIdentifier))&&"new"===e.escapedText},tg.isJSDocTypeAlias=Ky,tg.isTypeAlias=function(e){return Ky(e)||tg.isTypeAliasDeclaration(e)},tg.getSingleInitializerOfVariableStatementOrPropertyDeclaration=Wy,tg.getSingleVariableOfVariableStatement=zy,tg.getJSDocCommentsAndTags=function(e,n){ey(e)&&tg.hasInitializer(e)&&tg.hasJSDocNodes(e.initializer)&&(t=tg.append(t,tg.last(e.initializer.jsDoc)));for(var t,r=e;r&&r.parent;){if(tg.hasJSDocNodes(r)&&(t=tg.append(t,tg.last(r.jsDoc))),162===r.kind){t=tg.addRange(t,(n?tg.getJSDocParameterTagsNoCache:tg.getJSDocParameterTags)(r));break}if(161===r.kind){t=tg.addRange(t,(n?tg.getJSDocTypeParameterTagsNoCache:tg.getJSDocTypeParameterTags)(r));break}r=qy(r)}return t||tg.emptyArray},tg.getNextJSDocCommentLocation=qy,tg.getParameterSymbolFromJSDoc=function(e){if(e.symbol)return e.symbol;if(tg.isIdentifier(e.name)){var n=e.name.escapedText;e=Xy(e);if(e)return(e=tg.find(e.parameters,(function(e){return 79===e.name.kind&&e.name.escapedText===n})))&&e.symbol}},tg.getHostSignatureFromJSDoc=Xy,tg.getEffectiveJSDocHost=Yy,tg.getJSDocHost=Qy,tg.getJSDocRoot=Zy,tg.getTypeParameterFromJsDoc=function(e){var n=e.name.escapedText;return(e=e.parent.parent.parent.typeParameters)&&tg.find(e,(function(e){return e.name.escapedText===n}))},tg.hasRestParameter=function(e){return!!(e=tg.lastOrUndefined(e.parameters))&&$y(e)},tg.isRestParameter=$y,tg.hasTypeArguments=function(e){return!!e.typeArguments},(sm=tg.AssignmentKind||(tg.AssignmentKind={}))[sm.None=0]="None",sm[sm.Definite=1]="Definite",sm[sm.Compound=2]="Compound",tg.getAssignmentTargetKind=eh,tg.isAssignmentTarget=function(e){return 0!==eh(e)},tg.isNodeWithPossibleHoistedDeclaration=function(e){switch(e.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},tg.isValueSignatureDeclaration=function(e){return tg.isFunctionExpression(e)||tg.isArrowFunction(e)||tg.isMethodOrAccessor(e)||tg.isFunctionDeclaration(e)||tg.isConstructorDeclaration(e)},tg.walkUpParenthesizedTypes=function(e){return nh(e,189)},tg.walkUpParenthesizedExpressions=th,tg.walkUpParenthesizedTypesAndGetParentAndChild=function(e){for(var n;e&&189===e.kind;)e=(n=e).parent;return[n,e]},tg.skipParentheses=rh,tg.isDeleteTarget=function(e){return(204===e.kind||205===e.kind)&&(e=th(e.parent))&&213===e.kind},tg.isNodeDescendantOf=function(e,n){for(;e;){if(e===n)return!0;e=e.parent}return!1},tg.isDeclarationName=function(e){return!tg.isSourceFile(e)&&!tg.isBindingPattern(e)&&tg.isDeclaration(e.parent)&&e.parent.name===e},tg.getDeclarationFromName=function(e){var n,t=e.parent;switch(e.kind){case 10:case 14:case 8:if(tg.isComputedPropertyName(t))return t.parent;case 79:return tg.isDeclaration(t)?t.name===e?t:void 0:tg.isQualifiedName(t)?(n=t.parent,tg.isJSDocParameterTag(n)&&n.name===t?n:void 0):(n=t.parent,tg.isBinaryExpression(n)&&0!==Iy(n)&&(n.left.symbol||n.symbol)&&tg.getNameOfDeclaration(n)===e?n:void 0);case 80:return tg.isDeclaration(t)&&t.name===e?t:void 0;default:return}},tg.isLiteralComputedPropertyDeclarationName=function(e){return fh(e)&&160===e.parent.kind&&tg.isDeclaration(e.parent.parent)},tg.isIdentifierName=function(e){var n=e.parent;switch(n.kind){case 165:case 164:case 167:case 166:case 170:case 171:case 294:case 291:case 204:return n.name===e;case 159:return n.right===e;case 201:case 268:return n.propertyName===e;case 273:case 283:return!0}return!1},tg.isAliasSymbolDeclaration=function(e){return 263===e.kind||262===e.kind||265===e.kind&&!!e.name||266===e.kind||272===e.kind||268===e.kind||273===e.kind||269===e.kind&&ih(e)||tg.isBinaryExpression(e)&&2===Iy(e)&&ih(e)||tg.isPropertyAccessExpression(e)&&tg.isBinaryExpression(e.parent)&&e.parent.left===e&&63===e.parent.operatorToken.kind&&ah(e.parent.right)||292===e.kind||291===e.kind&&ah(e.initializer)},tg.getAliasDeclarationFromName=function e(n){switch(n.parent.kind){case 265:case 268:case 266:case 273:case 269:case 263:return n.parent;case 159:for(;159===(n=n.parent).parent.kind;);return e(n)}},tg.isAliasableExpression=ah,tg.exportAssignmentIsAlias=ih,tg.getExportAssignmentExpression=oh,tg.getPropertyAssignmentAliasLikeExpression=function(e){return 292===e.kind?e.name:291===e.kind?e.initializer:e.parent.right},tg.getEffectiveBaseTypeNode=sh,tg.getClassExtendsHeritageElement=ch,tg.getEffectiveImplementsTypeNodes=lh,tg.getAllSuperTypeNodes=function(e){return tg.isInterfaceDeclaration(e)?dh(e)||tg.emptyArray:tg.isClassLike(e)&&tg.concatenate(tg.singleElementArray(sh(e)),lh(e))||tg.emptyArray},tg.getInterfaceBaseTypeNodes=dh,tg.getHeritageClause=uh,tg.getAncestor=function(e,n){for(;e;){if(e.kind===n)return e;e=e.parent}},tg.isKeyword=ph,tg.isContextualKeyword=mh,tg.isNonContextualKeyword=_h,tg.isFutureReservedKeyword=function(e){return 117<=e&&e<=125},tg.isStringANonContextualKeyword=function(e){return void 0!==(e=tg.stringToToken(e))&&_h(e)},tg.isStringAKeyword=function(e){return void 0!==(e=tg.stringToToken(e))&&ph(e)},tg.isIdentifierANonContextualKeyword=function(e){return!!(e=e.originalKeywordKind)&&!mh(e)},tg.isTrivia=function(e){return 2<=e&&e<=7},(sm=tg.FunctionFlags||(tg.FunctionFlags={}))[sm.Normal=0]="Normal",sm[sm.Generator=1]="Generator",sm[sm.Async=2]="Async",sm[sm.Invalid=4]="Invalid",sm[sm.AsyncGenerator=3]="AsyncGenerator",tg.getFunctionFlags=function(e){if(!e)return 4;var n=0;switch(e.kind){case 254:case 211:case 167:e.asteriskToken&&(n|=1);case 212:mv(e,256)&&(n|=2)}return e.body||(n|=4),n},tg.isAsyncFunction=function(e){switch(e.kind){case 254:case 211:case 212:case 167:return void 0!==e.body&&void 0===e.asteriskToken&&mv(e,256)}return!1},tg.isStringOrNumericLiteralLike=fh,tg.isSignedNumericLiteral=gh,tg.hasDynamicName=yh,tg.isDynamicName=hh,tg.getPropertyNameForPropertyNameNode=vh,tg.isPropertyNameLiteral=bh,tg.getTextOfIdentifierOrLiteral=Eh,tg.getEscapedTextOfIdentifierOrLiteral=function(e){return tg.isMemberName(e)?e.escapedText:tg.escapeLeadingUnderscores(e.text)},tg.getPropertyNameForUniqueESSymbol=function(e){return"__@"+tg.getSymbolId(e)+"@"+e.escapedName},tg.getSymbolNameForPrivateIdentifier=function(e,n){return"__#"+tg.getSymbolId(e)+"@"+n},tg.isKnownSymbol=function(e){return tg.startsWith(e.escapedName,"__@")},tg.isPrivateIdentifierSymbol=function(e){return tg.startsWith(e.escapedName,"__#")},tg.isESSymbolIdentifier=function(e){return 79===e.kind&&"Symbol"===e.escapedText},tg.isPushOrUnshiftIdentifier=function(e){return"push"===e.escapedText||"unshift"===e.escapedText},tg.isParameterDeclaration=function(e){return 162===Th(e).kind},tg.getRootDeclaration=Th,tg.nodeStartsNewLexicalEnvironment=function(e){return 169===(e=e.kind)||211===e||254===e||212===e||167===e||170===e||171===e||259===e||300===e},tg.nodeIsSynthesized=Sh,tg.getOriginalSourceFile=function(e){return tg.getParseTreeNode(e,tg.isSourceFile)||e},(sm=tg.Associativity||(tg.Associativity={}))[sm.Left=0]="Left",sm[sm.Right=1]="Right",tg.getExpressionAssociativity=function(e){var n=Lh(e),t=207===e.kind&&void 0!==e.arguments;return xh(e.kind,n,t)},tg.getOperatorAssociativity=xh,tg.getExpressionPrecedence=function(e){var n=Lh(e),t=207===e.kind&&void 0!==e.arguments;return Dh(e.kind,n,t)},tg.getOperator=Lh,(sm=tg.OperatorPrecedence||(tg.OperatorPrecedence={}))[sm.Comma=0]="Comma",sm[sm.Spread=1]="Spread",sm[sm.Yield=2]="Yield",sm[sm.Assignment=3]="Assignment",sm[sm.Conditional=4]="Conditional",sm[sm.Coalesce=4]="Coalesce",sm[sm.LogicalOR=5]="LogicalOR",sm[sm.LogicalAND=6]="LogicalAND",sm[sm.BitwiseOR=7]="BitwiseOR",sm[sm.BitwiseXOR=8]="BitwiseXOR",sm[sm.BitwiseAND=9]="BitwiseAND",sm[sm.Equality=10]="Equality",sm[sm.Relational=11]="Relational",sm[sm.Shift=12]="Shift",sm[sm.Additive=13]="Additive",sm[sm.Multiplicative=14]="Multiplicative",sm[sm.Exponentiation=15]="Exponentiation",sm[sm.Unary=16]="Unary",sm[sm.Update=17]="Update",sm[sm.LeftHandSide=18]="LeftHandSide",sm[sm.Member=19]="Member",sm[sm.Primary=20]="Primary",sm[sm.Highest=20]="Highest",sm[sm.Lowest=0]="Lowest",sm[sm.Invalid=-1]="Invalid",tg.getOperatorPrecedence=Dh,tg.getBinaryOperatorPrecedence=Ah,tg.getSemanticJsxChildren=function(e){return tg.filter(e,(function(e){switch(e.kind){case 286:return!!e.expression;case 11:return!e.containsOnlyTriviaWhiteSpaces;default:return!0}}))},tg.createDiagnosticCollection=function(){var e=[],n=[],t=new tg.Map,r=!1;return{add:function(a){var i;a.file?(i=t.get(a.file.fileName))||(i=[],t.set(a.file.fileName,i),tg.insertSorted(n,a.file.fileName,tg.compareStringsCaseSensitive)):(r&&(r=!1,e=e.slice()),i=e),tg.insertSorted(i,a,cb)},lookup:function(n){var r;if(r=n.file?t.get(n.file.fileName):e,r&&(n=tg.binarySearch(r,n,tg.identity,lb),0<=n))return r[n]},getGlobalDiagnostics:function(){return r=!0,e},getDiagnostics:function(r){return r?t.get(r)||[]:(r=tg.flatMapToMutable(n,(function(e){return t.get(e)})),e.length&&r.unshift.apply(r,e),r)}}};var Ch=/\$\{/g,Ih=(tg.hasInvalidEscape=function(e){return e&&!!(tg.isNoSubstitutionTemplateLiteral(e)?e.templateFlags:e.head.templateFlags||tg.some(e.templateSpans,(function(e){return!!e.literal.templateFlags})))},/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g),Nh=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,kh=/\r\n|[\\\`\u0000-\u001f\t\v\f\b\r\u2028\u2029\u0085]/g,Rh=new tg.Map(tg.getEntries({"\t":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","…":"\\u0085","\r\n":"\\r\\n"}));function Oh(e){return"\\u"+("0000"+e.toString(16).toUpperCase()).slice(-4)}function Ph(e,n,t){return 0===e.charCodeAt(0)?48<=(t=t.charCodeAt(n+e.length))&&t<=57?"\\x00":"\\0":Rh.get(e)||Oh(e.charCodeAt(0))}function wh(e,n){return e.replace(96===n?kh:39===n?Nh:Ih,Ph)}tg.escapeString=wh;var Mh=/[^\u0000-\u007F]/g;function Fh(e,n){return e=wh(e,n),Mh.test(e)?e.replace(Mh,(function(e){return Oh(e.charCodeAt(0))})):e}tg.escapeNonAsciiString=Fh;var Gh=/[\"\u0000-\u001f\u2028\u2029\u0085]/g,Bh=/[\'\u0000-\u001f\u2028\u2029\u0085]/g,Uh=new tg.Map(tg.getEntries({'"':"&quot;","'":"&apos;"}));function Vh(e){return 0===e.charCodeAt(0)?"&#0;":Uh.get(e)||"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function jh(e,n){return e.replace(39===n?Bh:Gh,Vh)}tg.escapeJsxAttributeString=jh,tg.stripQuotes=function(e){var n,t=e.length;return 2<=t&&e.charCodeAt(0)===e.charCodeAt(t-1)&&(39===(n=e.charCodeAt(0))||34===n||96===n)?e.substring(1,t-1):e},tg.isIntrinsicJsxName=function(e){var n=e.charCodeAt(0);return 97<=n&&n<=122||tg.stringContains(e,"-")||tg.stringContains(e,":")};var Kh=[""," "];function Hh(e){for(var n=Kh[1],t=Kh.length;t<=e;t++)Kh.push(Kh[t-1]+n);return Kh[e]}function Wh(){return Kh[1].length}function zh(e){return!!e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames()}function Jh(e,n,t){return n.moduleName||Xh(e,n.fileName,t&&t.fileName)}function qh(e,n){return e.getCanonicalFileName(tg.getNormalizedAbsolutePath(n,e.getCurrentDirectory()))}function Xh(e,n,t){function r(n){return e.getCanonicalFileName(n)}var a=tg.toPath(t?tg.getDirectoryPath(t):e.getCommonSourceDirectory(),e.getCurrentDirectory(),r);n=tg.getNormalizedAbsolutePath(n,e.getCurrentDirectory()),n=Vb(tg.getRelativePathToDirectoryOrUrl(a,n,a,r,!1));return t?tg.ensurePathIsNonModuleName(n):n}function Yh(e,n,t,r,a){return n=n.declarationDir||n.outDir,Vb(n?ev(e,n,t,r,a):e)+".d.ts"}function Qh(e){return e.outFile||e.out}function Zh(e,n,t){return!(n.getCompilerOptions().noEmitForJsFiles&&gy(e))&&!e.isDeclarationFile&&!n.isSourceFileFromExternalLibrary(e)&&(t||!(Hg(e)&&n.getResolvedProjectReferenceToRedirect(e.fileName))&&!n.isSourceOfProjectReferenceRedirect(e.fileName))}function $h(e,n,t){return ev(e,t,n.getCurrentDirectory(),n.getCommonSourceDirectory(),(function(e){return n.getCanonicalFileName(e)}))}function ev(e,n,t,r,a){return e=0===a(e=tg.getNormalizedAbsolutePath(e,t)).indexOf(a(r))?e.substring(r.length):e,tg.combinePaths(n,e)}function nv(e,n){return tg.computeLineOfPosition(e,n)}function tv(e){return tg.find(e.members,(function(e){return tg.isConstructorDeclaration(e)&&mg(e.body)}))}function rv(e){var n;if(e&&0<e.parameters.length)return n=2===e.parameters.length&&av(e.parameters[0]),e.parameters[n?1:0]}function av(e){return iv(e.name)}function iv(e){return!!e&&79===e.kind&&ov(e)}function ov(e){return 108===e.originalKeywordKind}function sv(e){var n;if(yy(e)||!tg.isFunctionDeclaration(e))return(n=e.type)||!yy(e)?n:tg.isJSDocPropertyLikeTag(e)?e.typeExpression&&e.typeExpression.type:tg.getJSDocType(e)}function cv(e,n,t,r){lv(e,n,t.pos,r)}function lv(e,n,t,r){r&&r.length&&t!==r[0].pos&&nv(e,t)!==nv(e,r[0].pos)&&n.writeLine()}function dv(e,n,t,r,a,i,o,s){if(r&&0<r.length){a&&t.writeSpace(" ");for(var c=!1,l=0,d=r;l<d.length;l++){var u=d[l];c&&(t.writeSpace(" "),c=!1),s(e,n,t,u.pos,u.end,o),u.hasTrailingNewLine?t.writeLine():c=!0}c&&i&&t.writeSpace(" ")}}function uv(e,n,t){for(var r=0;n<t&&tg.isWhiteSpaceSingleLine(e.charCodeAt(n));n++)9===e.charCodeAt(n)?r+=Wh()-r%Wh():r++;return r}function pv(e,n){return!!yv(e,n)}function mv(e,n){return!!hv(e,n)}function _v(e){return tg.isClassElement(e)&&fv(e)||tg.isClassStaticBlockDeclaration(e)}function fv(e){return mv(e,32)}function gv(e){return pv(e,64)}function yv(e,n){return bv(e)&n}function hv(e,n){return Ev(e)&n}function vv(e,n,t){return 0<=e.kind&&e.kind<=158?0:(536870912&e.modifierFlagsCache||(e.modifierFlagsCache=536870912|Sv(e)),!n||4096&e.modifierFlagsCache||!t&&!yy(e)||!e.parent||(e.modifierFlagsCache|=4096|Tv(e)),-536875009&e.modifierFlagsCache)}function bv(e){return vv(e,!0)}function Ev(e){return vv(e,!1)}function Tv(e){var n=0;return e.parent&&!tg.isParameter(e)&&(yy(e)&&(tg.getJSDocPublicTagNoCache(e)&&(n|=4),tg.getJSDocPrivateTagNoCache(e)&&(n|=8),tg.getJSDocProtectedTagNoCache(e)&&(n|=16),tg.getJSDocReadonlyTagNoCache(e)&&(n|=64),tg.getJSDocOverrideTagNoCache(e))&&(n|=16384),tg.getJSDocDeprecatedTagNoCache(e))&&(n|=8192),n}function Sv(e){var n=xv(e.modifiers);return(4&e.flags||79===e.kind&&e.isInJSDocNamespace)&&(n|=1),n}function xv(e){var n=0;if(e)for(var t=0,r=e;t<r.length;t++)n|=Lv(r[t].kind);return n}function Lv(e){switch(e){case 124:return 32;case 123:return 4;case 122:return 16;case 121:return 8;case 126:return 128;case 93:return 1;case 134:return 2;case 85:return 2048;case 88:return 512;case 130:return 256;case 143:return 64;case 157:return 16384}return 0}function Dv(e){return 75===e||76===e||77===e}function Av(e){return 63<=e&&e<=78}function Cv(e){return e=Iv(e),e&&!e.isImplements?e.class:void 0}function Iv(e){return tg.isExpressionWithTypeArguments(e)&&tg.isHeritageClause(e.parent)&&tg.isClassLike(e.parent.parent)?{class:e.parent.parent,isImplements:117===e.parent.token}:void 0}function Nv(e,n){return tg.isBinaryExpression(e)&&(n?63===e.operatorToken.kind:Av(e.operatorToken.kind))&&tg.isLeftHandSideExpression(e.left)}function kv(e){return void 0!==Cv(e)}function Rv(e){return 79===e.kind||Ov(e)}function Ov(e){return tg.isPropertyAccessExpression(e)&&tg.isIdentifier(e.name)&&Rv(e.expression)}function Pv(e){return Oy(e)&&"prototype"===Gy(e)}tg.getIndentString=Hh,tg.getIndentSize=Wh,tg.createTextWriter=function(e){var n,t,r,a,i,o=!1;function s(e){var t=tg.computeLineStarts(e);r=1<t.length&&(a=a+t.length-1,(i=n.length-e.length+tg.last(t))-n.length==0)}function c(e){e&&e.length&&(r&&(e=Hh(t)+e,r=!1),n+=e,s(e))}function l(e){e&&(o=!1),c(e)}function d(){i=a=t=0,o=!(r=!(n=""))}return d(),{write:l,rawWrite:function(e){void 0!==e&&(n+=e,s(e),o=!1)},writeLiteral:function(e){e&&e.length&&l(e)},writeLine:function(t){r&&!t||(a++,i=(n+=e).length,o=!(r=!0))},increaseIndent:function(){t++},decreaseIndent:function(){t--},getIndent:function(){return t},getTextPos:function(){return n.length},getLine:function(){return a},getColumn:function(){return r?t*Wh():n.length-i},getText:function(){return n},isAtStartOfLine:function(){return r},hasTrailingComment:function(){return o},hasTrailingWhitespace:function(){return!!n.length&&tg.isWhiteSpaceLike(n.charCodeAt(n.length-1))},clear:d,reportInaccessibleThisError:tg.noop,reportPrivateInBaseOfClassExpression:tg.noop,reportInaccessibleUniqueSymbolError:tg.noop,trackSymbol:function(){return!1},writeKeyword:l,writeOperator:l,writeParameter:l,writeProperty:l,writePunctuation:l,writeSpace:l,writeStringLiteral:l,writeSymbol:function(e,n){return l(e)},writeTrailingSemicolon:l,writeComment:function(e){e&&(o=!0),c(e)},getTextPosWithWriteLine:function(){return r?n.length:n.length+e.length}}},tg.getTrailingSemicolonDeferringWriter=function(e){var n=!1;function t(){n&&(e.writeTrailingSemicolon(";"),n=!1)}return nu(nu({},e),{writeTrailingSemicolon:function(){n=!0},writeLiteral:function(n){t(),e.writeLiteral(n)},writeStringLiteral:function(n){t(),e.writeStringLiteral(n)},writeSymbol:function(n,r){t(),e.writeSymbol(n,r)},writePunctuation:function(n){t(),e.writePunctuation(n)},writeKeyword:function(n){t(),e.writeKeyword(n)},writeOperator:function(n){t(),e.writeOperator(n)},writeParameter:function(n){t(),e.writeParameter(n)},writeSpace:function(n){t(),e.writeSpace(n)},writeProperty:function(n){t(),e.writeProperty(n)},writeComment:function(n){t(),e.writeComment(n)},writeLine:function(){t(),e.writeLine()},increaseIndent:function(){t(),e.increaseIndent()},decreaseIndent:function(){t(),e.decreaseIndent()}})},tg.hostUsesCaseSensitiveFileNames=zh,tg.hostGetCanonicalFileName=function(e){return tg.createGetCanonicalFileName(zh(e))},tg.getResolvedExternalModuleName=Jh,tg.getExternalModuleNameFromDeclaration=function(e,n,t){if((n=n.getExternalModuleFileFromDeclaration(t))&&!n.isDeclarationFile&&(t=jy(t),!t||!tg.isStringLiteralLike(t)||tg.pathIsRelative(t.text)||-1!==qh(e,n.path).indexOf(qh(e,tg.ensureTrailingDirectorySeparator(e.getCommonSourceDirectory())))))return Jh(e,n)},tg.getExternalModuleNameFromPath=Xh,tg.getOwnEmitOutputFilePath=function(e,n,t){var r=n.getCompilerOptions();return(n=r.outDir?Vb($h(e,n,r.outDir)):Vb(e))+t},tg.getDeclarationEmitOutputFilePath=function(e,n){return Yh(e,n.getCompilerOptions(),n.getCurrentDirectory(),n.getCommonSourceDirectory(),(function(e){return n.getCanonicalFileName(e)}))},tg.getDeclarationEmitOutputFilePathWorker=Yh,tg.outFile=Qh,tg.getPathsBasePath=function(e,n){var t;if(e.paths)return null!=(t=e.baseUrl)?t:tg.Debug.checkDefined(e.pathsBasePath||(null==(t=n.getCurrentDirectory)?void 0:t.call(n)),"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.")},tg.getSourceFilesToEmit=function(e,n,t){var r,a,i=e.getCompilerOptions();return Qh(i)?(r=ub(i),a=i.emitDeclarationOnly||r===tg.ModuleKind.AMD||r===tg.ModuleKind.System,tg.filter(e.getSourceFiles(),(function(n){return(a||!tg.isExternalModule(n))&&Zh(n,e,t)}))):(i=void 0===n?e.getSourceFiles():[n],tg.filter(i,(function(n){return Zh(n,e,t)})))},tg.sourceFileMayBeEmitted=Zh,tg.getSourceFilePathInNewDir=$h,tg.getSourceFilePathInNewDirWorker=ev,tg.writeFile=function(e,n,t,r,a,i){e.writeFile(t,r,a,(function(e){n.add(ob(tg.Diagnostics.Could_not_write_file_0_Colon_1,t,e))}),i)},tg.writeFileEnsuringDirectories=function(e,n,t,r,a,i){try{r(e,n,t)}catch(tu){!function e(n,t,r){n.length>tg.getRootLength(n)&&!r(n)&&(e(tg.getDirectoryPath(n),t,r),t(n))}(tg.getDirectoryPath(tg.normalizePath(e)),a,i),r(e,n,t)}},tg.getLineOfLocalPosition=function(e,n){return e=tg.getLineStarts(e),tg.computeLineOfPosition(e,n)},tg.getLineOfLocalPositionFromLineMap=nv,tg.getFirstConstructorWithBody=tv,tg.getSetAccessorValueParameter=rv,tg.getSetAccessorTypeAnnotationNode=function(e){return(e=rv(e))&&e.type},tg.getThisParameter=function(e){if(e.parameters.length&&!tg.isJSDocSignature(e)&&(e=e.parameters[0],av(e)))return e},tg.parameterIsThisKeyword=av,tg.isThisIdentifier=iv,tg.isThisInTypeQuery=function(e){if(!iv(e))return!1;for(;tg.isQualifiedName(e.parent)&&e.parent.left===e;)e=e.parent;return 179===e.parent.kind},tg.identifierIsThisKeyword=ov,tg.getAllAccessorDeclarations=function(e,n){var t,r,a,i;return yh(n)?170===(t=n).kind?a=n:171===n.kind?i=n:tg.Debug.fail("Accessor has wrong kind"):tg.forEach(e,(function(e){tg.isAccessor(e)&&_v(e)===_v(n)&&vh(e.name)===vh(n.name)&&(t?r=r||e:t=e,170===e.kind&&(a=a||e),171===e.kind)&&(i=i||e)})),{firstAccessor:t,secondAccessor:r,getAccessor:a,setAccessor:i}},tg.getEffectiveTypeAnnotationNode=sv,tg.getTypeAnnotationNode=function(e){return e.type},tg.getEffectiveReturnTypeNode=function(e){return tg.isJSDocSignature(e)?e.type&&e.type.typeExpression&&e.type.typeExpression.type:e.type||(yy(e)?tg.getJSDocReturnType(e):void 0)},tg.getJSDocTypeParameterDeclarations=function(e){return tg.flatMap(tg.getJSDocTags(e),(function(e){return n=e,!tg.isJSDocTemplateTag(n)||315===n.parent.kind&&n.parent.tags.some(Ky)?void 0:e.typeParameters;var n}))},tg.getEffectiveSetAccessorTypeAnnotationNode=function(e){return(e=rv(e))&&sv(e)},tg.emitNewLineBeforeLeadingComments=cv,tg.emitNewLineBeforeLeadingCommentsOfPosition=lv,tg.emitNewLineBeforeLeadingCommentOfPosition=function(e,n,t,r){t!==r&&nv(e,t)!==nv(e,r)&&n.writeLine()},tg.emitComments=dv,tg.emitDetachedComments=function(e,n,t,r,a,i,o){var s,c;if(o?0===a.pos&&(s=tg.filter(tg.getLeadingCommentRanges(e,a.pos),(function(n){return yg(e,n.pos)}))):s=tg.getLeadingCommentRanges(e,a.pos),s){for(var l=[],d=void 0,u=0,p=s;u<p.length;u++){var m=p[u];if(d&&nv(n,d.end)+2<=nv(n,m.pos))break;l.push(m),d=m}l.length&&nv(n,tg.last(l).end)+2<=nv(n,tg.skipTrivia(e,a.pos))&&(cv(n,t,a,s),dv(e,n,t,l,!1,!0,i,r),c={nodePos:a.pos,detachedCommentEndPos:tg.last(l).end})}return c},tg.writeCommentRange=function(e,n,t,r,a,i){if(42===e.charCodeAt(r+1))for(var o=tg.computeLineAndCharacterOfPosition(n,r),s=n.length,c=void 0,l=r,d=o.line;l<a;d++){var u=d+1===s?e.length+1:n[d+1];if(l!==r){void 0===c&&(c=uv(e,n[o.line],r));var p=t.getIndent()*Wh()-c+uv(e,l,u);if(0<p){var m=p%Wh();p=Hh((p-m)/Wh());for(t.rawWrite(p);m;)t.rawWrite(" "),m--}else t.rawWrite("")}h=y=g=f=_=p=void 0;p=e;var _=a,f=t,g=i,y=l,h=u;h=Math.min(_,h-1),(p=tg.trimString(p.substring(y,h)))?(f.writeComment(p),h!==_&&f.writeLine()):f.rawWrite(g),l=u}else t.writeComment(e.substring(r,a))},tg.hasEffectiveModifiers=function(e){return 0!==bv(e)},tg.hasSyntacticModifiers=function(e){return 0!==Ev(e)},tg.hasEffectiveModifier=pv,tg.hasSyntacticModifier=mv,tg.isStatic=_v,tg.hasStaticModifier=fv,tg.hasOverrideModifier=function(e){return pv(e,16384)},tg.hasAbstractModifier=function(e){return mv(e,128)},tg.hasAmbientModifier=function(e){return mv(e,2)},tg.hasEffectiveReadonlyModifier=gv,tg.getSelectedEffectiveModifierFlags=yv,tg.getSelectedSyntacticModifierFlags=hv,tg.getEffectiveModifierFlags=bv,tg.getEffectiveModifierFlagsAlwaysIncludeJSDoc=function(e){return vv(e,!0,!0)},tg.getSyntacticModifierFlags=Ev,tg.getEffectiveModifierFlagsNoCache=function(e){return Sv(e)|Tv(e)},tg.getSyntacticModifierFlagsNoCache=Sv,tg.modifiersToFlags=xv,tg.modifierToFlag=Lv,tg.createModifiers=function(e){return e?tg.factory.createNodeArray(tg.factory.createModifiersFromModifierFlags(e)):void 0},tg.isLogicalOperator=function(e){return 56===e||55===e||53===e},tg.isLogicalOrCoalescingAssignmentOperator=Dv,tg.isLogicalOrCoalescingAssignmentExpression=function(e){return Dv(e.operatorToken.kind)},tg.isAssignmentOperator=Av,tg.tryGetClassExtendingExpressionWithTypeArguments=Cv,tg.tryGetClassImplementingOrExtendingExpressionWithTypeArguments=Iv,tg.isAssignmentExpression=Nv,tg.isLeftHandSideOfAssignment=function(e){return Nv(e.parent)&&e.parent.left===e},tg.isDestructuringAssignment=function(e){return!!Nv(e,!0)&&(203===(e=e.left.kind)||202===e)},tg.isExpressionWithTypeArgumentsInClassExtendsClause=kv,tg.isEntityNameExpression=Rv,tg.getFirstIdentifier=function(e){switch(e.kind){case 79:return e;case 159:for(;79!==(e=e.left).kind;);return e;case 204:for(;79!==(e=e.expression).kind;);return e}},tg.isDottedName=function e(n){return 79===n.kind||108===n.kind||106===n.kind||229===n.kind||204===n.kind&&e(n.expression)||210===n.kind&&e(n.expression)},tg.isPropertyAccessEntityNameExpression=Ov,tg.tryGetPropertyAccessOrIdentifierToString=function e(n){var t;if(tg.isPropertyAccessExpression(n)){if(void 0!==(t=e(n.expression)))return t+"."+Gg(n.name)}else if(tg.isElementAccessExpression(n)){if(void 0!==(t=e(n.expression))&&tg.isPropertyName(n.argumentExpression))return t+"."+vh(n.argumentExpression)}else if(tg.isIdentifier(n))return tg.unescapeLeadingUnderscores(n.escapedText)},tg.isPrototypeAccess=Pv,tg.isRightSideOfQualifiedNameOrPropertyAccess=function(e){return 159===e.parent.kind&&e.parent.right===e||204===e.parent.kind&&e.parent.name===e},tg.isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName=function(e){return tg.isQualifiedName(e.parent)&&e.parent.right===e||tg.isPropertyAccessExpression(e.parent)&&e.parent.name===e||tg.isJSDocMemberName(e.parent)&&e.parent.right===e},tg.isEmptyObjectLiteral=function(e){return 203===e.kind&&0===e.properties.length},tg.isEmptyArrayLiteral=function(e){return 202===e.kind&&0===e.elements.length},tg.getLocalSymbolForExportDefault=function(e){if((n=e)&&0<tg.length(n.declarations)&&mv(n.declarations[0],512)&&e.declarations)for(var n,t=0,r=e.declarations;t<r.length;t++){var a=r[t];if(a.localSymbol)return a.localSymbol}},tg.tryExtractTSExtension=function(e){return tg.find(tg.supportedTSExtensionsForExtractExtension,(function(n){return tg.fileExtensionIs(e,n)}))};var wv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function Mv(e){for(var n,t,r,a,i="",o=(e=>{for(var n=[],t=e.length,r=0;r<t;r++){var a=e.charCodeAt(r);a<128?n.push(a):a<2048?(n.push(a>>6|192),n.push(63&a|128)):a<65536?(n.push(a>>12|224),n.push(a>>6&63|128),n.push(63&a|128)):a<131072?(n.push(a>>18|240),n.push(a>>12&63|128),n.push(a>>6&63|128),n.push(63&a|128)):tg.Debug.assert(!1,"Unexpected code point")}return n})(e),s=0,c=o.length;s<c;)n=o[s]>>2,t=(3&o[s])<<4|o[s+1]>>4,r=(15&o[s+1])<<2|o[s+2]>>6,a=63&o[s+2],c<=s+1?r=a=64:c<=s+2&&(a=64),i+=wv.charAt(n)+wv.charAt(t)+wv.charAt(r)+wv.charAt(a),s+=3;return i}function Fv(e,n){return tg.Debug.assert(e<=(n=void 0===n?e:n)||-1===n),{pos:e,end:n}}function Gv(e,n){return Fv(n,e.end)}function Bv(e){return e.decorators&&0<e.decorators.length?Gv(e,e.decorators.end):e}function Uv(e,n,t){return Vv(jv(e,t,!1),n.end,t)}function Vv(e,n,t){return 0===tg.getLinesBetweenPositions(t,e,n)}function jv(e,n,t){return Wb(e.pos)?-1:tg.skipTrivia(n.text,e.pos,!1,t)}function Kv(e){return void 0!==e.initializer}function Hv(e){return 33554432&e.flags?e.checkFlags:0}function Wv(e){var n=e.parent;if(!n)return 0;switch(n.kind){case 210:return Wv(n);case 218:case 217:var t=n.operator;return 45===t||46===t?i():0;case 219:t=n.left;var r=n.operatorToken;return t===e&&Av(r.kind)?63===r.kind?1:i():0;case 204:return n.name!==e?0:Wv(n);case 291:if(t=Wv(n.parent),e===n.name){var a=t;switch(a){case 0:return 1;case 1:return 0;case 2:return 2;default:return tg.Debug.assertNever(a)}return}return t;case 292:return e===n.objectAssignmentInitializer?0:Wv(n.parent);case 202:return Wv(n);default:return 0}function i(){return n.parent&&236===th(n.parent).kind?1:2}}function zv(e,n,t){var r=t.onDeleteValue,a=t.onExistingValue;e.forEach((function(t,i){var o=n.get(i);void 0===o?(e.delete(i),r(t,i)):a&&a(t,o,i)}))}function Jv(e){return null==(e=e.declarations)?void 0:e.find(tg.isClassLike)}function qv(e){return 204===e.kind||205===e.kind}function Xv(e){for(;qv(e);)e=e.expression;return e}function Yv(e,n){this.flags=e,this.escapedName=n,this.declarations=void 0,this.valueDeclaration=void 0,this.id=void 0,this.mergeId=void 0,this.parent=void 0}function Qv(e,n){this.flags=n,(tg.Debug.isDebugging||tg.tracing)&&(this.checker=e)}function Zv(e,n){this.flags=n,tg.Debug.isDebugging&&(this.checker=e)}function $v(e,n,t){this.pos=n,this.end=t,this.kind=e,this.id=0,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.original=void 0}function eb(e,n,t){this.pos=n,this.end=t,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0}function nb(e,n,t){this.pos=n,this.end=t,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.flowNode=void 0}function tb(e,n,t){this.fileName=e,this.text=n,this.skipTrivia=t||function(e){return e}}function rb(e,n,t){return void 0===t&&(t=0),e.replace(/{(\d+)}/g,(function(e,r){return""+tg.Debug.checkDefined(n[+r+t])}))}function ab(e){return tg.localizedDiagnosticMessages&&tg.localizedDiagnosticMessages[e.key]||e.message}function ib(e,n,t,r){Ug(e,n,t);var a=ab(r);return{file:e,start:n,length:t,messageText:a=4<arguments.length?rb(a,arguments,4):a,category:r.category,code:r.code,reportsUnnecessary:r.reportsUnnecessary,reportsDeprecated:r.reportsDeprecated}}function ob(e){var n=ab(e);return{file:void 0,start:void 0,length:void 0,messageText:n=1<arguments.length?rb(n,arguments,1):n,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated}}function sb(e){return e.file?e.file.path:void 0}function cb(e,n){return lb(e,n)||((e,n)=>e.relatedInformation||n.relatedInformation?e.relatedInformation&&n.relatedInformation?tg.compareValues(e.relatedInformation.length,n.relatedInformation.length)||tg.forEach(e.relatedInformation,(function(e,t){return cb(e,n.relatedInformation[t])}))||0:e.relatedInformation?-1:1:0)(e,n)||0}function lb(e,n){return tg.compareStringsCaseSensitive(sb(e),sb(n))||tg.compareValues(e.start,n.start)||tg.compareValues(e.length,n.length)||tg.compareValues(e.code,n.code)||function e(n,t){if("string"==typeof n&&"string"==typeof t)return tg.compareStringsCaseSensitive(n,t);if("string"==typeof n)return-1;if("string"==typeof t)return 1;var r=tg.compareStringsCaseSensitive(n.messageText,t.messageText);if(r)return r;if(!n.next&&!t.next)return 0;if(!n.next)return-1;if(!t.next)return 1;for(var a=Math.min(n.next.length,t.next.length),i=0;i<a;i++)if(r=e(n.next[i],t.next[i]))return r;return n.next.length<t.next.length?-1:n.next.length>t.next.length?1:0}(e.messageText,n.messageText)||0}function db(e){return e.target||0}function ub(e){return"number"==typeof e.module?e.module:2<=db(e)?tg.ModuleKind.ES2015:tg.ModuleKind.CommonJS}function pb(e){return!(!e.declaration&&!e.composite)}function mb(e,n){return void 0===e[n]?!!e.strict:!!e[n]}function _b(e){return void 0===e.allowJs?!!e.checkJs:e.allowJs}function fb(e,n){return n.strictFlag?mb(e,n.name):e[n.name]}function gb(e,n,t,r){for(var a=tg.getPathComponents(tg.getNormalizedAbsolutePath(e,t)),i=tg.getPathComponents(tg.getNormalizedAbsolutePath(n,t)),o=!1;!yb(a[a.length-2],r)&&!yb(i[i.length-2],r)&&r(a[a.length-1])===r(i[i.length-1]);)a.pop(),i.pop(),o=!0;return o?[tg.getPathFromPathComponents(a),tg.getPathFromPathComponents(i)]:void 0}function yb(e,n){return"node_modules"===n(e)||tg.startsWith(e,"@")}tg.convertToBase64=Mv,tg.base64encode=function(e,n){return e&&e.base64encode?e.base64encode(n):Mv(n)},tg.base64decode=function(e,n){if(e&&e.base64decode)return e.base64decode(n);for(var t=n.length,r=[],a=0;a<t&&n.charCodeAt(a)!==wv.charCodeAt(64);){var i=wv.indexOf(n[a]),o=wv.indexOf(n[a+1]),s=wv.indexOf(n[a+2]),c=wv.indexOf(n[a+3]),l=(i=(63&i)<<2|o>>4&3,o=(15&o)<<4|s>>2&15,(3&s)<<6|63&c);0==o&&0!==s?r.push(i):0==l&&0!==c?r.push(i,o):r.push(i,o,l),a+=4}for(var d=r,u="",p=0,m=d.length;p<m;){var _=d[p];if(_<128)u+=String.fromCharCode(_),p++;else if(192==(192&_)){for(var f=63&_,g=d[++p];128==(192&g);)f=f<<6|63&g,g=d[++p];u+=String.fromCharCode(f)}else u+=String.fromCharCode(_),p++}return u},tg.readJson=function(e,n){try{var t,r=n.readFile(e);return r?(t=tg.parseConfigFileTextToJson(e,r)).error?{}:t.config:{}}catch(e){return{}}},tg.directoryProbablyExists=function(e,n){return!n.directoryExists||n.directoryExists(e)},tg.getNewLineCharacter=function(e,n){switch(e.newLine){case 0:return"\r\n";case 1:return"\n"}return n?n():tg.sys?tg.sys.newLine:"\r\n"},tg.createRange=Fv,tg.moveRangeEnd=function(e,n){return Fv(e.pos,n)},tg.moveRangePos=Gv,tg.moveRangePastDecorators=Bv,tg.moveRangePastModifiers=function(e){return e.modifiers&&0<e.modifiers.length?Gv(e,e.modifiers.end):Bv(e)},tg.isCollapsedRange=function(e){return e.pos===e.end},tg.createTokenRange=function(e,n){return Fv(e,e+tg.tokenToString(n).length)},tg.rangeIsOnSingleLine=function(e,n){return Uv(e,e,n)},tg.rangeStartPositionsAreOnSameLine=function(e,n,t){return Vv(jv(e,t,!1),jv(n,t,!1),t)},tg.rangeEndPositionsAreOnSameLine=function(e,n,t){return Vv(e.end,n.end,t)},tg.rangeStartIsOnSameLineAsRangeEnd=Uv,tg.rangeEndIsOnSameLineAsRangeStart=function(e,n,t){return Vv(e.end,jv(n,t,!1),t)},tg.getLinesBetweenRangeEndAndRangeStart=function(e,n,t,r){return n=jv(n,t,r),tg.getLinesBetweenPositions(t,e.end,n)},tg.getLinesBetweenRangeEndPositions=function(e,n,t){return tg.getLinesBetweenPositions(t,e.end,n.end)},tg.isNodeArrayMultiLine=function(e,n){return!Vv(e.pos,e.end,n)},tg.positionsAreOnSameLine=Vv,tg.getStartPositionOfRange=jv,tg.getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter=function(e,n,t,r){return e=tg.skipTrivia(t.text,e,!1,r),r=((e,n,t)=>{for(void 0===n&&(n=0);e-- >n;)if(!tg.isWhiteSpaceLike(t.text.charCodeAt(e)))return e})(e,n,t),tg.getLinesBetweenPositions(t,null!=r?r:n,e)},tg.getLinesBetweenPositionAndNextNonWhitespaceCharacter=function(e,n,t,r){return r=tg.skipTrivia(t.text,e,!1,r),tg.getLinesBetweenPositions(t,e,Math.min(n,r))},tg.isDeclarationNameOfEnumOrNamespace=function(e){var n=tg.getParseTreeNode(e);if(n)switch(n.parent.kind){case 258:case 259:return n===n.parent.name}return!1},tg.getInitializedVariables=function(e){return tg.filter(e.declarations,Kv)},tg.isWatchSet=function(e){return e.watch&&e.hasOwnProperty("watch")},tg.closeFileWatcher=function(e){e.close()},tg.getCheckFlags=Hv,tg.getDeclarationModifierFlagsFromSymbol=function(e,n){return void 0===n&&(n=!1),e.valueDeclaration?(n=n&&e.declarations&&tg.find(e.declarations,(function(e){return 171===e.kind}))||e.valueDeclaration,n=tg.getCombinedModifierFlags(n),e.parent&&32&e.parent.flags?n:-29&n):6&Hv(e)?(1024&(n=e.checkFlags)?8:256&n?4:16)|(2048&n?32:0):4194304&e.flags?36:0},tg.skipAlias=function(e,n){return 2097152&e.flags?n.getAliasedSymbol(e):e},tg.getCombinedLocalAndExportSymbolFlags=function(e){return e.exportSymbol?e.exportSymbol.flags|e.flags:e.flags},tg.isWriteOnlyAccess=function(e){return 1===Wv(e)},tg.isWriteAccess=function(e){return 0!==Wv(e)},tg.compareDataObjects=function e(n,t){if(!n||!t||Object.keys(n).length!==Object.keys(t).length)return!1;for(var r in n)if("object"==typeof n[r]){if(!e(n[r],t[r]))return!1}else if("function"!=typeof n[r]&&n[r]!==t[r])return!1;return!0},tg.clearMap=function(e,n){e.forEach(n),e.clear()},tg.mutateMapSkippingNewValues=zv,tg.mutateMap=function(e,n,t){zv(e,n,t);var r=t.createNewValue;n.forEach((function(n,t){e.has(t)||e.set(t,r(t,n))}))},tg.isAbstractConstructorSymbol=function(e){return!!(32&e.flags)&&!!(e=Jv(e))&&mv(e,128)},tg.getClassLikeDeclarationOfSymbol=Jv,tg.getObjectFlags=function(e){return 3899393&e.flags?e.objectFlags:0},tg.typeHasCallOrConstructSignatures=function(e,n){return 0!==n.getSignaturesOfType(e,0).length||0!==n.getSignaturesOfType(e,1).length},tg.forSomeAncestorDirectory=function(e,n){return!!tg.forEachAncestorDirectory(e,(function(e){return!!n(e)||void 0}))},tg.isUMDExportSymbol=function(e){return!!e&&!!e.declarations&&!!e.declarations[0]&&tg.isNamespaceExportDeclaration(e.declarations[0])},tg.showModuleSpecifier=function(e){return e=e.moduleSpecifier,tg.isStringLiteral(e)?e.text:Eg(e)},tg.getLastChild=function(e){var n;return tg.forEachChild(e,(function(e){mg(e)&&(n=e)}),(function(e){for(var t=e.length-1;0<=t;t--)if(mg(e[t])){n=e[t];break}})),n},tg.addToSeen=function(e,n,t){return void 0===t&&(t=!0),!e.has(n)&&(e.set(n,t),!0)},tg.isObjectTypeDeclaration=function(e){return tg.isClassLike(e)||tg.isInterfaceDeclaration(e)||tg.isTypeLiteralNode(e)},tg.isTypeNodeKind=function(e){return 175<=e&&e<=198||129===e||153===e||145===e||156===e||146===e||132===e||148===e||149===e||114===e||151===e||142===e||226===e||307===e||308===e||309===e||310===e||311===e||312===e||313===e},tg.isAccessExpression=qv,tg.getNameOfAccessExpression=function(e){return 204===e.kind?e.name:(tg.Debug.assert(205===e.kind),e.argumentExpression)},tg.isBundleFileTextLike=function(e){switch(e.kind){case"text":case"internal":return!0;default:return!1}},tg.isNamedImportsOrExports=function(e){return 267===e.kind||271===e.kind},tg.getLeftmostAccessExpression=Xv,tg.getLeftmostExpression=function(e,n){for(;;){switch(e.kind){case 218:e=e.operand;continue;case 219:e=e.left;continue;case 220:e=e.condition;continue;case 208:e=e.tag;continue;case 206:if(n)return e;case 227:case 205:case 204:case 228:case 345:e=e.expression;continue}return e}},tg.objectAllocator={getNodeConstructor:function(){return $v},getTokenConstructor:function(){return eb},getIdentifierConstructor:function(){return nb},getPrivateIdentifierConstructor:function(){return $v},getSourceFileConstructor:function(){return $v},getSymbolConstructor:function(){return Yv},getTypeConstructor:function(){return Qv},getSignatureConstructor:function(){return Zv},getSourceMapSourceConstructor:function(){return tb}},tg.setObjectAllocator=function(e){tg.objectAllocator=e},tg.formatStringFromArgs=rb,tg.setLocalizedDiagnosticMessages=function(e){tg.localizedDiagnosticMessages=e},tg.getLocaleSpecificMessage=ab,tg.createDetachedDiagnostic=function(e,n,t,r){Ug(void 0,n,t);var a=ab(r);return{file:void 0,start:n,length:t,messageText:a=4<arguments.length?rb(a,arguments,4):a,category:r.category,code:r.code,reportsUnnecessary:r.reportsUnnecessary,fileName:e}},tg.attachFileToDiagnostics=function(e,n){for(var t=[],r=0,a=e;r<a.length;r++){var i=a[r];t.push(function e(n,t){var r,a=t.fileName||"",i=t.text.length,o=(tg.Debug.assertEqual(n.fileName,a),tg.Debug.assertLessThanOrEqual(n.start,i),tg.Debug.assertLessThanOrEqual(n.start+n.length,i),{file:t,start:n.start,length:n.length,messageText:n.messageText,category:n.category,code:n.code,reportsUnnecessary:n.reportsUnnecessary});if(n.relatedInformation){o.relatedInformation=[];for(var s=0,c=n.relatedInformation;s<c.length;s++){var l=c[s];void 0===(r=l).file&&void 0!==r.start&&void 0!==r.length&&"string"==typeof r.fileName&&l.fileName===a?(tg.Debug.assertLessThanOrEqual(l.start,i),tg.Debug.assertLessThanOrEqual(l.start+l.length,i),o.relatedInformation.push(e(l,t))):o.relatedInformation.push(l)}}return o}(i,n))}return t},tg.createFileDiagnostic=ib,tg.formatMessage=function(e,n){return n=ab(n),2<arguments.length?rb(n,arguments,2):n},tg.createCompilerDiagnostic=ob,tg.createCompilerDiagnosticFromMessageChain=function(e,n){return{file:void 0,start:void 0,length:void 0,code:e.code,category:e.category,messageText:e.next?e:e.messageText,relatedInformation:n}},tg.chainDiagnosticMessages=function(e,n){var t=ab(n);return{messageText:t=2<arguments.length?rb(t,arguments,2):t,category:n.category,code:n.code,next:void 0===e||Array.isArray(e)?e:[e]}},tg.concatenateDiagnosticMessageChains=function(e,n){for(var t=e;t.next;)t=t.next[0];t.next=[n]},tg.compareDiagnostics=cb,tg.compareDiagnosticsSkipRelatedInformation=lb,tg.getLanguageVariant=function(e){return 4===e||2===e||1===e||6===e?1:0},tg.getEmitScriptTarget=db,tg.getEmitModuleKind=ub,tg.getEmitModuleResolutionKind=function(e){var n=e.moduleResolution;return void 0===n?ub(e)===tg.ModuleKind.CommonJS?tg.ModuleResolutionKind.NodeJs:tg.ModuleResolutionKind.Classic:n},tg.hasJsonModuleEmitEnabled=function(e){switch(ub(e)){case tg.ModuleKind.CommonJS:case tg.ModuleKind.AMD:case tg.ModuleKind.ES2015:case tg.ModuleKind.ES2020:case tg.ModuleKind.ESNext:return!0;default:return!1}},tg.unreachableCodeIsError=function(e){return!1===e.allowUnreachableCode},tg.unusedLabelIsError=function(e){return!1===e.allowUnusedLabels},tg.getAreDeclarationMapsEnabled=function(e){return!(!pb(e)||!e.declarationMap)},tg.getAllowSyntheticDefaultImports=function(e){var n=ub(e);return void 0!==e.allowSyntheticDefaultImports?e.allowSyntheticDefaultImports:e.esModuleInterop||n===tg.ModuleKind.System},tg.getEmitDeclarations=pb,tg.shouldPreserveConstEnums=function(e){return!(!e.preserveConstEnums&&!e.isolatedModules)},tg.isIncrementalCompilation=function(e){return!(!e.incremental&&!e.composite)},tg.getStrictOptionValue=mb,tg.getAllowJSCompilerOption=_b,tg.getUseDefineForClassFields=function(e){return void 0===e.useDefineForClassFields?99===e.target:e.useDefineForClassFields},tg.compilerOptionsAffectSemanticDiagnostics=function(e,n){return sg(n,e,tg.semanticDiagnosticsOptionDeclarations)},tg.compilerOptionsAffectEmit=function(e,n){return sg(n,e,tg.affectsEmitOptionDeclarations)},tg.getCompilerOptionValue=fb,tg.getJSXTransformEnabled=function(e){return 2===(e=e.jsx)||4===e||5===e},tg.getJSXImplicitImportBase=function(e,n){return n=null==n?void 0:n.pragmas.get("jsximportsource"),n=tg.isArray(n)?n[n.length-1]:n,4===e.jsx||5===e.jsx||e.jsxImportSource||n?(null==n?void 0:n.arguments.factory)||e.jsxImportSource||"react":void 0},tg.getJSXRuntimeImport=function(e,n){return e?e+"/"+(5===n.jsx?"jsx-dev-runtime":"jsx-runtime"):void 0},tg.hasZeroOrOneAsteriskCharacter=function(e){for(var n=!1,t=0;t<e.length;t++)if(42===e.charCodeAt(t)){if(n)return!1;n=!0}return!0},tg.createSymlinkCache=function(e,n){var t,r,a,i=!1;return{getSymlinkedFiles:function(){return a},getSymlinkedDirectories:function(){return t},getSymlinkedDirectoriesByRealpath:function(){return r},setSymlinkedFile:function(e,n){return(a=a||new tg.Map).set(e,n)},setSymlinkedDirectory:function(a,i){var o=tg.toPath(a,e,n);eE(o)||(o=tg.ensureTrailingDirectorySeparator(o),!1===i||null!=t&&t.has(o)||(r=r||tg.createMultiMap()).add(tg.ensureTrailingDirectorySeparator(i.realPath),a),(t=t||new tg.Map).set(o,i))},setSymlinkedDirectoryFromSymlinkedFile:function(t,r){this.setSymlinkedFile(tg.toPath(t,e,n),r),r=gb(r,t,e,n)||tg.emptyArray,t=r[0],r=r[1],t&&r&&this.setSymlinkedDirectory(r,{real:t,realPath:tg.toPath(t,e,n)})},setSymlinksFromResolutions:function(e,n){var t,r=this;tg.Debug.assert(!i),i=!0;for(var a=0,s=e;a<s.length;a++)null!=(t=s[a].resolvedModules)&&t.forEach((function(e){return o(r,e)}));null!=n&&n.forEach((function(e){return o(r,e)}))},hasProcessedResolutions:function(){return i}};function o(t,r){var a;r&&r.originalPath&&r.resolvedFileName&&(a=r.resolvedFileName,t.setSymlinkedFile(tg.toPath(r=r.originalPath,e,n),a),r=(a=gb(a,r,e,n)||tg.emptyArray)[0],a=a[1],r)&&a&&t.setSymlinkedDirectory(a,{real:r,realPath:tg.toPath(r,e,n)})}},tg.tryRemoveDirectoryPrefix=function(e,n,t){return void 0!==(e=tg.tryRemovePrefix(e,n,t))&&(n=e,tg.isAnyDirectorySeparator(n.charCodeAt(0)))?n.slice(1):void 0};var hb=/[^\w\s\/]/g;function vb(e){return"\\"+e}tg.regExpEscape=function(e){return e.replace(hb,vb)};var bb=[42,63],Eb=(tg.commonPackageFolders=["node_modules","bower_components","jspm_packages"],"(?!("+tg.commonPackageFolders.join("|")+")(/|$))"),Tb={singleAsteriskRegexFragment:"([^./]|(\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:"(/"+Eb+"[^/.][^/]*)*?",replaceWildcardCharacter:function(e){return Nb(e,Tb.singleAsteriskRegexFragment)}},Sb={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/"+Eb+"[^/.][^/]*)*?",replaceWildcardCharacter:function(e){return Nb(e,Sb.singleAsteriskRegexFragment)}},xb={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/.+?)?",replaceWildcardCharacter:function(e){return Nb(e,xb.singleAsteriskRegexFragment)}},Lb={files:Tb,directories:Sb,exclude:xb};function Db(e,n,t){if(e=Ab(e,n,t),e&&e.length)return"^("+e.map((function(e){return"("+e+")"})).join("|")+")"+("exclude"===t?"($|/)":"$")}function Ab(e,n,t){if(void 0!==e&&0!==e.length)return tg.flatMap(e,(function(e){return e&&Ib(e,n,t,Lb[t])}))}function Cb(e){return!/[.*?]/.test(e)}function Ib(e,n,t,r){var a=r.singleAsteriskRegexFragment,i=r.doubleAsteriskRegexFragment,o=r.replaceWildcardCharacter,s="",c=!1;r=tg.getNormalizedPathComponents(e,n),e=tg.last(r);if("exclude"===t||"**"!==e){r[0]=tg.removeTrailingDirectorySeparator(r[0]),Cb(e)&&r.push("**","*");for(var l=0,d=0,u=r;d<u.length;d++){var p,m=u[d];"**"===m?s+=i:("directories"===t&&(s+="(",l++),c&&(s+=tg.directorySeparator),"exclude"!==t?(p="",42===m.charCodeAt(0)?(p+="([^./]"+a+")?",m=m.substr(1)):63===m.charCodeAt(0)&&(p+="[^./]",m=m.substr(1)),(p+=m.replace(hb,o))!==m&&(s+=Eb),s+=p):s+=m.replace(hb,o)),c=!0}for(;0<l;)s+=")?",l--;return s}}function Nb(e,n){return"*"===e?n:"?"===e?"[^/]":"\\"+e}function kb(e,n,t,r,a){return e=tg.normalizePath(e),a=tg.normalizePath(a),a=tg.combinePaths(a,e),{includeFilePatterns:tg.map(Ab(t,a,"files"),(function(e){return"^"+e+"$"})),includeFilePattern:Db(t,a,"files"),includeDirectoryPattern:Db(t,a,"directories"),excludePattern:Db(n,a,"exclude"),basePaths:((e,n,t)=>{var r=[e];if(n){for(var a=[],i=0,o=n;i<o.length;i++){var s=o[i];s=tg.isRootedDiskPath(s)?s:tg.normalizePath(tg.combinePaths(e,s));a.push((e=>{var n=tg.indexOfAnyCharCode(e,bb);return n<0?tg.hasExtension(e)?tg.removeTrailingDirectorySeparator(tg.getDirectoryPath(e)):e:e.substring(0,e.lastIndexOf(tg.directorySeparator,n))})(s))}a.sort(tg.getStringComparer(!t));for(var c=0,l=a;c<l.length;c++)(n=>{tg.every(r,(function(r){return!tg.containsPath(r,n,e,!t)}))&&r.push(n)})(l[c])}return r})(e,t,r)}}function Rb(e,n){return new RegExp(e,n?"":"i")}function Ob(e){switch(e.substr(e.lastIndexOf(".")).toLowerCase()){case".js":return 1;case".jsx":return 2;case".ts":return 3;case".tsx":return 4;case".json":return 6;default:return 0}}tg.getRegularExpressionForWildcard=Db,tg.getRegularExpressionsForWildcards=Ab,tg.isImplicitGlob=Cb,tg.getPatternFromSpec=function(e,n,t){return(e=e&&Ib(e,n,t,Lb[t]))&&"^("+e+")"+("exclude"===t?"($|/)":"$")},tg.getFileMatcherPatterns=kb,tg.getRegexFromPattern=Rb,tg.matchFiles=function(e,n,t,r,a,i,o,s,c,l){e=tg.normalizePath(e),i=tg.normalizePath(i);for(var d=(e=kb(e,t,r,a,i)).includeFilePatterns&&e.includeFilePatterns.map((function(e){return Rb(e,a)})),u=e.includeDirectoryPattern&&Rb(e.includeDirectoryPattern,a),p=e.excludePattern&&Rb(e.excludePattern,a),m=d?d.map((function(){return[]})):[[]],_=new tg.Map,f=tg.createGetCanonicalFileName(a),g=0,y=e.basePaths;g<y.length;g++){var h=y[g];l(h)&&function e(t,r,a){var i=f(c(r));if(!_.has(i)){_.set(i,!0);i=s(t);for(var o=i.files,l=(i=i.directories,function(e){var a=tg.combinePaths(t,e),i=tg.combinePaths(r,e);return n&&!tg.fileExtensionIsOneOf(a,n)||p&&p.test(i)?"continue":void(d?-1!==(e=tg.findIndex(d,(function(e){return e.test(i)})))&&m[e].push(a):m[0].push(a))}),g=0,y=tg.sort(o,tg.compareStringsCaseSensitive);g<y.length;g++){var h=y[g];l(h)}if(void 0===a||0!==--a)for(var v=0,b=tg.sort(i,tg.compareStringsCaseSensitive);v<b.length;v++){h=b[v];var E=tg.combinePaths(t,h),T=tg.combinePaths(r,h);u&&!u.test(T)||p&&p.test(T)||e(E,T,a)}}}(h,tg.combinePaths(i,h),o)}return tg.flatten(m)},tg.ensureScriptKind=function(e,n){return n||Ob(e)||3},tg.getScriptKindFromFileName=Ob,tg.supportedTSExtensions=[".ts",".tsx",".d.ts"],tg.supportedTSExtensionsWithJson=[".ts",".tsx",".d.ts",".json"],tg.supportedTSExtensionsForExtractExtension=[".d.ts",".ts",".tsx"],tg.supportedJSExtensions=[".js",".jsx"],tg.supportedJSAndJsonExtensions=[".js",".jsx",".json"];var Pb=eu(eu([],tg.supportedTSExtensions,!0),tg.supportedJSExtensions,!0),wb=eu(eu(eu([],tg.supportedTSExtensions,!0),tg.supportedJSExtensions,!0),[".json"],!1);function Mb(e,n){var t=e&&_b(e);return n&&0!==n.length?(e=eu(eu([],t?Pb:tg.supportedTSExtensions,!0),tg.mapDefined(n,(function(e){return 7===e.scriptKind||t&&(1===(n=e.scriptKind)||2===n)?e.extension:void 0;var n})),!0),tg.deduplicate(e,tg.equateStringsCaseSensitive,tg.compareStringsCaseSensitive)):t?Pb:tg.supportedTSExtensions}function Fb(e,n){return e&&e.resolveJsonModule?n===Pb?wb:n===tg.supportedTSExtensions?tg.supportedTSExtensionsWithJson:eu(eu([],n,!0),[".json"],!1):n}function Gb(e){return e=e.match(/\//g),e?e.length:0}function Bb(e,n){return e<2?0:e<n.length?2:n.length}tg.getSupportedExtensions=Mb,tg.getSuppoertedExtensionsWithJsonIfResolveJsonModule=Fb,tg.hasJSFileExtension=function(e){return tg.some(tg.supportedJSExtensions,(function(n){return tg.fileExtensionIs(e,n)}))},tg.hasTSFileExtension=function(e){return tg.some(tg.supportedTSExtensions,(function(n){return tg.fileExtensionIs(e,n)}))},tg.isSupportedSourceFileName=function(e,n,t){if(e)for(var r=0,a=Fb(n,Mb(n,t));r<a.length;r++){var i=a[r];if(tg.fileExtensionIs(e,i))return!0}return!1},tg.compareNumberOfDirectorySeparators=function(e,n){return tg.compareValues(Gb(e),Gb(n))},(sm=tg.ExtensionPriority||(tg.ExtensionPriority={}))[sm.TypeScriptFiles=0]="TypeScriptFiles",sm[sm.DeclarationAndJavaScriptFiles=2]="DeclarationAndJavaScriptFiles",sm[sm.Highest=0]="Highest",sm[sm.Lowest=2]="Lowest",tg.getExtensionPriority=function(e,n){for(var t=n.length-1;0<=t;t--)if(tg.fileExtensionIs(e,n[t]))return Bb(t,n);return 0},tg.adjustExtensionPriority=Bb,tg.getNextLowestExtensionPriority=function(e,n){return e<2?2:n.length};var Ub=[".d.ts",".ts",".js",".tsx",".jsx",".json"];function Vb(e){for(var n=0,t=Ub;n<t.length;n++){var r=jb(e,t[n]);if(void 0!==r)return r}return e}function jb(e,n){return tg.fileExtensionIs(e,n)?Kb(e,n):void 0}function Kb(e,n){return e.substring(0,e.length-n.length)}function Hb(e){var n=e.indexOf("*");return-1===n?e:-1!==e.indexOf("*",n+1)?void 0:{prefix:e.substr(0,n),suffix:e.substr(n+1)}}function Wb(e){return!(0<=e)}function zb(e){return".ts"===e||".tsx"===e||".d.ts"===e}function Jb(e){return tg.find(Ub,(function(n){return tg.fileExtensionIs(e,n)}))}function qb(e,n){return e===n||"object"==typeof e&&null!==e&&"object"==typeof n&&null!==n&&tg.equalOwnProperties(e,n,qb)}function Xb(e,n){return e.pos=n,e}function Yb(e,n){return e.end=n,e}function Qb(e,n,t){return Yb(Xb(e,n),t)}function Zb(e,n){return e&&n&&(e.parent=n),e}function $b(e){return!tg.isOmittedExpression(e)}function eE(e){return tg.some(tg.ignoredPaths,(function(n){return tg.stringContains(e,n)}))}function nE(e,n){var t=8&e?tE:rE,r=ue.memoize((function(){return 1&e?ue.nullParenthesizerRules:ue.createParenthesizerRules(f)})),a=ue.memoize((function(){return 2&e?ue.nullNodeConverters:ue.createNodeConverters(f)})),i=ue.memoizeOne((function(e){return function(n,t){return Ln(n,e,t)}})),o=ue.memoizeOne((function(e){return function(n){return Sn(e,n)}})),s=ue.memoizeOne((function(e){return function(n){return xn(n,e)}})),c=ue.memoizeOne((function(e){return function(){return y(e)}})),l=ue.memoizeOne((function(e){return function(n){return Kt(e,n)}})),d=ue.memoizeOne((function(e){return function(n,r){return a=e,r=r,(n=n).type!==r?t(Kt(a,r),n):n;var a}})),u=ue.memoizeOne((function(e){return function(n,t){return lr(e,n,t)}})),p=ue.memoizeOne((function(e){return function(n,r,a){var i=e;return void 0===r&&(r=qt(n)),n.tagName!==r||n.comment!==a?t(lr(i,r,a),n):n}})),m=ue.memoizeOne((function(e){return function(n,t,r){return dr(e,n,t,r)}})),_=ue.memoizeOne((function(e){return function(n,r,a,i){var o=e;return void 0===r&&(r=qt(n)),n.tagName!==r||n.typeExpression!==a||n.comment!==i?t(dr(o,r,a,i),n):n}})),f={get parenthesizer(){return r()},get converters(){return a()},createNodeArray:g,createNumericLiteral:N,createBigIntLiteral:k,createStringLiteral:O,createStringLiteralFromNode:function(e){var n=R(ue.getTextOfIdentifierOrLiteral(e),void 0);return n.textSourceNode=e,n},createRegularExpressionLiteral:P,createLiteralLikeNode:function(e,n){switch(e){case 8:return N(n,0);case 9:return k(n);case 10:return O(n,void 0);case 11:return vr(n,!1);case 12:return vr(n,!0);case 13:return P(n);case 14:return Nn(e,n,void 0,0)}},createIdentifier:F,updateIdentifier:function(e,n){return e.typeArguments!==n?t(F(ue.idText(e),n),e):e},createTempVariable:G,createLoopVariable:function(e){var n=2;return e&&(n|=8),M("",n)},createUniqueName:function(e,n){return void 0===n&&(n=0),ue.Debug.assert(!(7&n),"Argument out of range: flags"),ue.Debug.assert(32!=(48&n),"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"),M(e,3|n)},getGeneratedNameForNode:B,createPrivateIdentifier:function(e){ue.startsWith(e,"#")||ue.Debug.fail("First character of private identifier must be #: "+e);var t=n.createBasePrivateIdentifierNode(80);return t.escapedText=ue.escapeLeadingUnderscores(e),t.transformFlags|=8388608,t},createToken:V,createSuper:function(){return V(106)},createThis:j,createNull:function(){return V(104)},createTrue:K,createFalse:H,createModifier:W,createModifiersFromModifierFlags:z,createQualifiedName:J,updateQualifiedName:function(e,n,r){return e.left!==n||e.right!==r?t(J(n,r),e):e},createComputedPropertyName:q,updateComputedPropertyName:function(e,n){return e.expression!==n?t(q(n),e):e},createTypeParameterDeclaration:X,updateTypeParameterDeclaration:function(e,n,r,a){return e.name!==n||e.constraint!==r||e.default!==a?t(X(n,r,a),e):e},createParameterDeclaration:Y,updateParameterDeclaration:Q,createDecorator:Z,updateDecorator:function(e,n){return e.expression!==n?t(Z(n),e):e},createPropertySignature:$,updatePropertySignature:ee,createPropertyDeclaration:ne,updatePropertyDeclaration:te,createMethodSignature:re,updateMethodSignature:ae,createMethodDeclaration:ie,updateMethodDeclaration:oe,createConstructorDeclaration:ce,updateConstructorDeclaration:le,createGetAccessorDeclaration:de,updateGetAccessorDeclaration:fe,createSetAccessorDeclaration:ge,updateSetAccessorDeclaration:ye,createCallSignature:he,updateCallSignature:function(e,n,t,r){return e.typeParameters!==n||e.parameters!==t||e.type!==r?T(he(n,t,r),e):e},createConstructSignature:ve,updateConstructSignature:function(e,n,t,r){return e.typeParameters!==n||e.parameters!==t||e.type!==r?T(ve(n,t,r),e):e},createIndexSignature:be,updateIndexSignature:Ee,createClassStaticBlockDeclaration:se,updateClassStaticBlockDeclaration:function(e,n,r,a){return e.decorators!==n||e.modifier!==r||e.body!==a?t(se(n,r,a),e):e},createTemplateLiteralTypeSpan:Te,updateTemplateLiteralTypeSpan:function(e,n,r){return e.type!==n||e.literal!==r?t(Te(n,r),e):e},createKeywordTypeNode:V,createTypePredicateNode:Se,updateTypePredicateNode:function(e,n,r,a){return e.assertsModifier!==n||e.parameterName!==r||e.type!==a?t(Se(n,r,a),e):e},createTypeReferenceNode:xe,updateTypeReferenceNode:function(e,n,r){return e.typeName!==n||e.typeArguments!==r?t(xe(n,r),e):e},createFunctionTypeNode:Le,updateFunctionTypeNode:function(e,n,t,r){return e.typeParameters!==n||e.parameters!==t||e.type!==r?T(Le(n,t,r),e):e},createConstructorTypeNode:De,updateConstructorTypeNode:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 5===e.length?Ce.apply(void 0,e):4===e.length?function(e,n,t,r){return Ce(e,e.modifiers,n,t,r)}.apply(void 0,e):ue.Debug.fail("Incorrect number of arguments specified.")},createTypeQueryNode:Ie,updateTypeQueryNode:function(e,n){return e.exprName!==n?t(Ie(n),e):e},createTypeLiteralNode:Ne,updateTypeLiteralNode:function(e,n){return e.members!==n?t(Ne(n),e):e},createArrayTypeNode:ke,updateArrayTypeNode:function(e,n){return e.elementType!==n?t(ke(n),e):e},createTupleTypeNode:Re,updateTupleTypeNode:function(e,n){return e.elements!==n?t(Re(n),e):e},createNamedTupleMember:Oe,updateNamedTupleMember:function(e,n,r,a,i){return e.dotDotDotToken!==n||e.name!==r||e.questionToken!==a||e.type!==i?t(Oe(n,r,a,i),e):e},createOptionalTypeNode:Pe,updateOptionalTypeNode:function(e,n){return e.type!==n?t(Pe(n),e):e},createRestTypeNode:we,updateRestTypeNode:function(e,n){return e.type!==n?t(we(n),e):e},createUnionTypeNode:function(e){return Me(185,e)},updateUnionTypeNode:Fe,createIntersectionTypeNode:function(e){return Me(186,e)},updateIntersectionTypeNode:Fe,createConditionalTypeNode:Ge,updateConditionalTypeNode:function(e,n,r,a,i){return e.checkType!==n||e.extendsType!==r||e.trueType!==a||e.falseType!==i?t(Ge(n,r,a,i),e):e},createInferTypeNode:Be,updateInferTypeNode:function(e,n){return e.typeParameter!==n?t(Be(n),e):e},createImportTypeNode:Ve,updateImportTypeNode:function(e,n,r,a,i){return void 0===i&&(i=e.isTypeOf),e.argument!==n||e.qualifier!==r||e.typeArguments!==a||e.isTypeOf!==i?t(Ve(n,r,a,i),e):e},createParenthesizedType:je,updateParenthesizedType:function(e,n){return e.type!==n?t(je(n),e):e},createThisTypeNode:function(){var e=y(190);return e.transformFlags=1,e},createTypeOperatorNode:Ke,updateTypeOperatorNode:function(e,n){return e.type!==n?t(Ke(e.operator,n),e):e},createIndexedAccessTypeNode:He,updateIndexedAccessTypeNode:function(e,n,r){return e.objectType!==n||e.indexType!==r?t(He(n,r),e):e},createMappedTypeNode:We,updateMappedTypeNode:function(e,n,r,a,i,o){return e.readonlyToken!==n||e.typeParameter!==r||e.nameType!==a||e.questionToken!==i||e.type!==o?t(We(n,r,a,i,o),e):e},createLiteralTypeNode:ze,updateLiteralTypeNode:function(e,n){return e.literal!==n?t(ze(n),e):e},createTemplateLiteralType:Ue,updateTemplateLiteralType:function(e,n,r){return e.head!==n||e.templateSpans!==r?t(Ue(n,r),e):e},createObjectBindingPattern:Je,updateObjectBindingPattern:function(e,n){return e.elements!==n?t(Je(n),e):e},createArrayBindingPattern:qe,updateArrayBindingPattern:function(e,n){return e.elements!==n?t(qe(n),e):e},createBindingElement:Xe,updateBindingElement:function(e,n,r,a,i){return e.propertyName!==r||e.dotDotDotToken!==n||e.name!==a||e.initializer!==i?t(Xe(n,r,a,i),e):e},createArrayLiteralExpression:Qe,updateArrayLiteralExpression:function(e,n){return e.elements!==n?t(Qe(n,e.multiLine),e):e},createObjectLiteralExpression:Ze,updateObjectLiteralExpression:function(e,n){return e.properties!==n?t(Ze(n,e.multiLine),e):e},createPropertyAccessExpression:4&e?function(e,n){return ue.setEmitFlags($e(e,n),131072)}:$e,updatePropertyAccessExpression:function(e,n,r){return ue.isPropertyAccessChain(e)?nn(e,n,e.questionDotToken,ue.cast(r,ue.isIdentifier)):e.expression!==n||e.name!==r?t($e(n,r),e):e},createPropertyAccessChain:4&e?function(e,n,t){return ue.setEmitFlags(en(e,n,t),131072)}:en,updatePropertyAccessChain:nn,createElementAccessExpression:tn,updateElementAccessExpression:function(e,n,r){return ue.isElementAccessChain(e)?an(e,n,e.questionDotToken,r):e.expression!==n||e.argumentExpression!==r?t(tn(n,r),e):e},createElementAccessChain:rn,updateElementAccessChain:an,createCallExpression:on,updateCallExpression:function(e,n,r,a){return ue.isCallChain(e)?cn(e,n,e.questionDotToken,r,a):e.expression!==n||e.typeArguments!==r||e.arguments!==a?t(on(n,r,a),e):e},createCallChain:sn,updateCallChain:cn,createNewExpression:ln,updateNewExpression:function(e,n,r,a){return e.expression!==n||e.typeArguments!==r||e.arguments!==a?t(ln(n,r,a),e):e},createTaggedTemplateExpression:dn,updateTaggedTemplateExpression:function(e,n,r,a){return e.tag!==n||e.typeArguments!==r||e.template!==a?t(dn(n,r,a),e):e},createTypeAssertion:un,updateTypeAssertion:pn,createParenthesizedExpression:mn,updateParenthesizedExpression:_n,createFunctionExpression:fn,updateFunctionExpression:gn,createArrowFunction:yn,updateArrowFunction:hn,createDeleteExpression:vn,updateDeleteExpression:function(e,n){return e.expression!==n?t(vn(n),e):e},createTypeOfExpression:bn,updateTypeOfExpression:function(e,n){return e.expression!==n?t(bn(n),e):e},createVoidExpression:En,updateVoidExpression:function(e,n){return e.expression!==n?t(En(n),e):e},createAwaitExpression:Tn,updateAwaitExpression:function(e,n){return e.expression!==n?t(Tn(n),e):e},createPrefixUnaryExpression:Sn,updatePrefixUnaryExpression:function(e,n){return e.operand!==n?t(Sn(e.operator,n),e):e},createPostfixUnaryExpression:xn,updatePostfixUnaryExpression:function(e,n){return e.operand!==n?t(xn(n,e.operator),e):e},createBinaryExpression:Ln,updateBinaryExpression:function(e,n,r,a){return e.left!==n||e.operatorToken!==r||e.right!==a?t(Ln(n,r,a),e):e},createConditionalExpression:An,updateConditionalExpression:function(e,n,r,a,i,o){return e.condition!==n||e.questionToken!==r||e.whenTrue!==a||e.colonToken!==i||e.whenFalse!==o?t(An(n,r,a,i,o),e):e},createTemplateExpression:Cn,updateTemplateExpression:function(e,n,r){return e.head!==n||e.templateSpans!==r?t(Cn(n,r),e):e},createTemplateHead:function(e,n,t){return In(15,e,n,t)},createTemplateMiddle:function(e,n,t){return In(16,e,n,t)},createTemplateTail:function(e,n,t){return In(17,e,n,t)},createNoSubstitutionTemplateLiteral:function(e,n,t){return In(14,e,n,t)},createTemplateLiteralLikeNode:Nn,createYieldExpression:kn,updateYieldExpression:function(e,n,r){return e.expression!==r||e.asteriskToken!==n?t(kn(n,r),e):e},createSpreadElement:Rn,updateSpreadElement:function(e,n){return e.expression!==n?t(Rn(n),e):e},createClassExpression:On,updateClassExpression:Pn,createOmittedExpression:function(){return Ye(225)},createExpressionWithTypeArguments:wn,updateExpressionWithTypeArguments:function(e,n,r){return e.expression!==n||e.typeArguments!==r?t(wn(n,r),e):e},createAsExpression:Mn,updateAsExpression:Fn,createNonNullExpression:Gn,updateNonNullExpression:Bn,createNonNullChain:Un,updateNonNullChain:Vn,createMetaProperty:jn,updateMetaProperty:function(e,n){return e.name!==n?t(jn(e.keywordToken,n),e):e},createTemplateSpan:Kn,updateTemplateSpan:function(e,n,r){return e.expression!==n||e.literal!==r?t(Kn(n,r),e):e},createSemicolonClassElement:function(){var e=y(232);return e.transformFlags|=512,e},createBlock:Hn,updateBlock:function(e,n){return e.statements!==n?t(Hn(n,e.multiLine),e):e},createVariableStatement:Wn,updateVariableStatement:zn,createEmptyStatement:Jn,createExpressionStatement:qn,updateExpressionStatement:function(e,n){return e.expression!==n?t(qn(n),e):e},createIfStatement:Xn,updateIfStatement:function(e,n,r,a){return e.expression!==n||e.thenStatement!==r||e.elseStatement!==a?t(Xn(n,r,a),e):e},createDoStatement:Yn,updateDoStatement:function(e,n,r){return e.statement!==n||e.expression!==r?t(Yn(n,r),e):e},createWhileStatement:Qn,updateWhileStatement:function(e,n,r){return e.expression!==n||e.statement!==r?t(Qn(n,r),e):e},createForStatement:Zn,updateForStatement:function(e,n,r,a,i){return e.initializer!==n||e.condition!==r||e.incrementor!==a||e.statement!==i?t(Zn(n,r,a,i),e):e},createForInStatement:$n,updateForInStatement:function(e,n,r,a){return e.initializer!==n||e.expression!==r||e.statement!==a?t($n(n,r,a),e):e},createForOfStatement:et,updateForOfStatement:function(e,n,r,a,i){return e.awaitModifier!==n||e.initializer!==r||e.expression!==a||e.statement!==i?t(et(n,r,a,i),e):e},createContinueStatement:nt,updateContinueStatement:function(e,n){return e.label!==n?t(nt(n),e):e},createBreakStatement:tt,updateBreakStatement:function(e,n){return e.label!==n?t(tt(n),e):e},createReturnStatement:rt,updateReturnStatement:function(e,n){return e.expression!==n?t(rt(n),e):e},createWithStatement:at,updateWithStatement:function(e,n,r){return e.expression!==n||e.statement!==r?t(at(n,r),e):e},createSwitchStatement:it,updateSwitchStatement:function(e,n,r){return e.expression!==n||e.caseBlock!==r?t(it(n,r),e):e},createLabeledStatement:ot,updateLabeledStatement:st,createThrowStatement:ct,updateThrowStatement:function(e,n){return e.expression!==n?t(ct(n),e):e},createTryStatement:lt,updateTryStatement:function(e,n,r,a){return e.tryBlock!==n||e.catchClause!==r||e.finallyBlock!==a?t(lt(n,r,a),e):e},createDebuggerStatement:function(){return y(251)},createVariableDeclaration:dt,updateVariableDeclaration:function(e,n,r,a,i){return e.name!==n||e.type!==a||e.exclamationToken!==r||e.initializer!==i?t(dt(n,r,a,i),e):e},createVariableDeclarationList:ut,updateVariableDeclarationList:function(e,n){return e.declarations!==n?t(ut(n,e.flags),e):e},createFunctionDeclaration:pt,updateFunctionDeclaration:mt,createClassDeclaration:_t,updateClassDeclaration:ft,createInterfaceDeclaration:gt,updateInterfaceDeclaration:yt,createTypeAliasDeclaration:ht,updateTypeAliasDeclaration:vt,createEnumDeclaration:bt,updateEnumDeclaration:Et,createModuleDeclaration:Tt,updateModuleDeclaration:St,createModuleBlock:xt,updateModuleBlock:function(e,n){return e.statements!==n?t(xt(n),e):e},createCaseBlock:Lt,updateCaseBlock:function(e,n){return e.clauses!==n?t(Lt(n),e):e},createNamespaceExportDeclaration:Dt,updateNamespaceExportDeclaration:function(e,n){return e.name!==n?t(Dt(n),e):e},createImportEqualsDeclaration:At,updateImportEqualsDeclaration:Ct,createImportDeclaration:It,updateImportDeclaration:Nt,createImportClause:kt,updateImportClause:function(e,n,r,a){return e.isTypeOnly!==n||e.name!==r||e.namedBindings!==a?t(kt(n,r,a),e):e},createNamespaceImport:Rt,updateNamespaceImport:function(e,n){return e.name!==n?t(Rt(n),e):e},createNamespaceExport:Ot,updateNamespaceExport:function(e,n){return e.name!==n?t(Ot(n),e):e},createNamedImports:Pt,updateNamedImports:function(e,n){return e.elements!==n?t(Pt(n),e):e},createImportSpecifier:wt,updateImportSpecifier:function(e,n,r){return e.propertyName!==n||e.name!==r?t(wt(n,r),e):e},createExportAssignment:Mt,updateExportAssignment:Ft,createExportDeclaration:Gt,updateExportDeclaration:Bt,createNamedExports:Ut,updateNamedExports:function(e,n){return e.elements!==n?t(Ut(n),e):e},createExportSpecifier:Vt,updateExportSpecifier:function(e,n,r){return e.propertyName!==n||e.name!==r?t(Vt(n,r),e):e},createMissingDeclaration:function(){return h(274,void 0,void 0)},createExternalModuleReference:jt,updateExternalModuleReference:function(e,n){return e.expression!==n?t(jt(n),e):e},get createJSDocAllType(){return c(307)},get createJSDocUnknownType(){return c(308)},get createJSDocNonNullableType(){return l(310)},get updateJSDocNonNullableType(){return d(310)},get createJSDocNullableType(){return l(309)},get updateJSDocNullableType(){return d(309)},get createJSDocOptionalType(){return l(311)},get updateJSDocOptionalType(){return d(311)},get createJSDocVariadicType(){return l(313)},get updateJSDocVariadicType(){return d(313)},get createJSDocNamepathType(){return l(314)},get updateJSDocNamepathType(){return d(314)},createJSDocFunctionType:Ht,updateJSDocFunctionType:function(e,n,r){return e.parameters!==n||e.type!==r?t(Ht(n,r),e):e},createJSDocTypeLiteral:Wt,updateJSDocTypeLiteral:function(e,n,r){return e.jsDocPropertyTags!==n||e.isArrayType!==r?t(Wt(n,r),e):e},createJSDocTypeExpression:zt,updateJSDocTypeExpression:function(e,n){return e.type!==n?t(zt(n),e):e},createJSDocSignature:Jt,updateJSDocSignature:function(e,n,r,a){return e.typeParameters!==n||e.parameters!==r||e.type!==a?t(Jt(n,r,a),e):e},createJSDocTemplateTag:Yt,updateJSDocTemplateTag:function(e,n,r,a,i){return void 0===n&&(n=qt(e)),e.tagName!==n||e.constraint!==r||e.typeParameters!==a||e.comment!==i?t(Yt(n,r,a,i),e):e},createJSDocTypedefTag:Qt,updateJSDocTypedefTag:function(e,n,r,a,i){return void 0===n&&(n=qt(e)),e.tagName!==n||e.typeExpression!==r||e.fullName!==a||e.comment!==i?t(Qt(n,r,a,i),e):e},createJSDocParameterTag:Zt,updateJSDocParameterTag:function(e,n,r,a,i,o,s){return void 0===n&&(n=qt(e)),e.tagName!==n||e.name!==r||e.isBracketed!==a||e.typeExpression!==i||e.isNameFirst!==o||e.comment!==s?t(Zt(n,r,a,i,o,s),e):e},createJSDocPropertyTag:$t,updateJSDocPropertyTag:function(e,n,r,a,i,o,s){return void 0===n&&(n=qt(e)),e.tagName!==n||e.name!==r||e.isBracketed!==a||e.typeExpression!==i||e.isNameFirst!==o||e.comment!==s?t($t(n,r,a,i,o,s),e):e},createJSDocCallbackTag:er,updateJSDocCallbackTag:function(e,n,r,a,i){return void 0===n&&(n=qt(e)),e.tagName!==n||e.typeExpression!==r||e.fullName!==a||e.comment!==i?t(er(n,r,a,i),e):e},createJSDocAugmentsTag:nr,updateJSDocAugmentsTag:function(e,n,r,a){return void 0===n&&(n=qt(e)),e.tagName!==n||e.class!==r||e.comment!==a?t(nr(n,r,a),e):e},createJSDocImplementsTag:tr,updateJSDocImplementsTag:function(e,n,r,a){return void 0===n&&(n=qt(e)),e.tagName!==n||e.class!==r||e.comment!==a?t(tr(n,r,a),e):e},createJSDocSeeTag:rr,updateJSDocSeeTag:function(e,n,r,a){return e.tagName!==n||e.name!==r||e.comment!==a?t(rr(n,r,a),e):e},createJSDocNameReference:ar,updateJSDocNameReference:function(e,n){return e.name!==n?t(ar(n),e):e},createJSDocMemberName:ir,updateJSDocMemberName:function(e,n,r){return e.left!==n||e.right!==r?t(ir(n,r),e):e},createJSDocLink:or,updateJSDocLink:function(e,n,r){return e.name!==n?t(or(n,r),e):e},createJSDocLinkCode:sr,updateJSDocLinkCode:function(e,n,r){return e.name!==n?t(sr(n,r),e):e},createJSDocLinkPlain:cr,updateJSDocLinkPlain:function(e,n,r){return e.name!==n?t(cr(n,r),e):e},get createJSDocTypeTag(){return m(338)},get updateJSDocTypeTag(){return _(338)},get createJSDocReturnTag(){return m(336)},get updateJSDocReturnTag(){return _(336)},get createJSDocThisTag(){return m(337)},get updateJSDocThisTag(){return _(337)},get createJSDocEnumTag(){return m(334)},get updateJSDocEnumTag(){return _(334)},get createJSDocAuthorTag(){return u(325)},get updateJSDocAuthorTag(){return p(325)},get createJSDocClassTag(){return u(327)},get updateJSDocClassTag(){return p(327)},get createJSDocPublicTag(){return u(328)},get updateJSDocPublicTag(){return p(328)},get createJSDocPrivateTag(){return u(329)},get updateJSDocPrivateTag(){return p(329)},get createJSDocProtectedTag(){return u(330)},get updateJSDocProtectedTag(){return p(330)},get createJSDocReadonlyTag(){return u(331)},get updateJSDocReadonlyTag(){return p(331)},get createJSDocOverrideTag(){return u(332)},get updateJSDocOverrideTag(){return p(332)},get createJSDocDeprecatedTag(){return u(326)},get updateJSDocDeprecatedTag(){return p(326)},createJSDocUnknownTag:ur,updateJSDocUnknownTag:function(e,n,r){return e.tagName!==n||e.comment!==r?t(ur(n,r),e):e},createJSDocText:pr,updateJSDocText:function(e,n){return e.text!==n?t(pr(n),e):e},createJSDocComment:mr,updateJSDocComment:function(e,n,r){return e.comment!==n||e.tags!==r?t(mr(n,r),e):e},createJsxElement:_r,updateJsxElement:function(e,n,r,a){return e.openingElement!==n||e.children!==r||e.closingElement!==a?t(_r(n,r,a),e):e},createJsxSelfClosingElement:fr,updateJsxSelfClosingElement:function(e,n,r,a){return e.tagName!==n||e.typeArguments!==r||e.attributes!==a?t(fr(n,r,a),e):e},createJsxOpeningElement:gr,updateJsxOpeningElement:function(e,n,r,a){return e.tagName!==n||e.typeArguments!==r||e.attributes!==a?t(gr(n,r,a),e):e},createJsxClosingElement:yr,updateJsxClosingElement:function(e,n){return e.tagName!==n?t(yr(n),e):e},createJsxFragment:hr,createJsxText:vr,updateJsxText:function(e,n,r){return e.text!==n||e.containsOnlyTriviaWhiteSpaces!==r?t(vr(n,r),e):e},createJsxOpeningFragment:function(){var e=y(281);return e.transformFlags|=2,e},createJsxJsxClosingFragment:function(){var e=y(282);return e.transformFlags|=2,e},updateJsxFragment:function(e,n,r,a){return e.openingFragment!==n||e.children!==r||e.closingFragment!==a?t(hr(n,r,a),e):e},createJsxAttribute:br,updateJsxAttribute:function(e,n,r){return e.name!==n||e.initializer!==r?t(br(n,r),e):e},createJsxAttributes:Er,updateJsxAttributes:function(e,n){return e.properties!==n?t(Er(n),e):e},createJsxSpreadAttribute:Tr,updateJsxSpreadAttribute:function(e,n){return e.expression!==n?t(Tr(n),e):e},createJsxExpression:Sr,updateJsxExpression:function(e,n){return e.expression!==n?t(Sr(e.dotDotDotToken,n),e):e},createCaseClause:xr,updateCaseClause:function(e,n,r){return e.expression!==n||e.statements!==r?t(xr(n,r),e):e},createDefaultClause:Lr,updateDefaultClause:function(e,n){return e.statements!==n?t(Lr(n),e):e},createHeritageClause:Dr,updateHeritageClause:function(e,n){return e.types!==n?t(Dr(e.token,n),e):e},createCatchClause:Ar,updateCatchClause:function(e,n,r){return e.variableDeclaration!==n||e.block!==r?t(Ar(n,r),e):e},createPropertyAssignment:Cr,updatePropertyAssignment:function(e,n,r){return e.name!==n||e.initializer!==r?((e,n)=>(n.decorators&&(e.decorators=n.decorators),n.modifiers&&(e.modifiers=n.modifiers),n.questionToken&&(e.questionToken=n.questionToken),n.exclamationToken&&(e.exclamationToken=n.exclamationToken),t(e,n)))(Cr(n,r),e):e},createShorthandPropertyAssignment:Ir,updateShorthandPropertyAssignment:function(e,n,r){return e.name!==n||e.objectAssignmentInitializer!==r?((e,n)=>(n.decorators&&(e.decorators=n.decorators),n.modifiers&&(e.modifiers=n.modifiers),n.equalsToken&&(e.equalsToken=n.equalsToken),n.questionToken&&(e.questionToken=n.questionToken),n.exclamationToken&&(e.exclamationToken=n.exclamationToken),t(e,n)))(Ir(n,r),e):e},createSpreadAssignment:Nr,updateSpreadAssignment:function(e,n){return e.expression!==n?t(Nr(n),e):e},createEnumMember:kr,updateEnumMember:function(e,n,r){return e.name!==n||e.initializer!==r?t(kr(n,r),e):e},createSourceFile:function(e,t,r){var a=n.createBaseSourceFileNode(300);return a.statements=g(e),a.endOfFileToken=t,a.flags|=r,a.fileName="",a.text="",a.languageVersion=0,a.languageVariant=0,a.scriptKind=0,a.isDeclarationFile=!1,a.hasNoDefaultLib=!1,a.transformFlags|=sE(a.statements)|oE(a.endOfFileToken),a},updateSourceFile:function(e,r,a,i,o,s,c){return void 0===a&&(a=e.isDeclarationFile),void 0===i&&(i=e.referencedFiles),void 0===o&&(o=e.typeReferenceDirectives),void 0===s&&(s=e.hasNoDefaultLib),void 0===c&&(c=e.libReferenceDirectives),e.statements!==r||e.isDeclarationFile!==a||e.referencedFiles!==i||e.typeReferenceDirectives!==o||e.hasNoDefaultLib!==s||e.libReferenceDirectives!==c?t(((e,t,r,a,i,o,s)=>{var c,l=n.createBaseSourceFileNode(300);for(c in e)"emitNode"!==c&&!ue.hasProperty(l,c)&&ue.hasProperty(e,c)&&(l[c]=e[c]);return l.flags|=e.flags,l.statements=g(t),l.endOfFileToken=e.endOfFileToken,l.isDeclarationFile=r,l.referencedFiles=a,l.typeReferenceDirectives=i,l.hasNoDefaultLib=o,l.libReferenceDirectives=s,l.transformFlags=sE(l.statements)|oE(l.endOfFileToken),l})(e,r,a,i,o,s,c),e):e},createBundle:Rr,updateBundle:function(e,n,r){return void 0===r&&(r=ue.emptyArray),e.sourceFiles!==n||e.prepends!==r?t(Rr(n,r),e):e},createUnparsedSource:function(e,n,t){var r=y(302);return r.prologues=e,r.syntheticReferences=n,r.texts=t,r.fileName="",r.text="",r.referencedFiles=ue.emptyArray,r.libReferenceDirectives=ue.emptyArray,r.getLineAndCharacterOfPosition=function(e){return ue.getLineAndCharacterOfPosition(r,e)},r},createUnparsedPrologue:function(e){return Or(295,e)},createUnparsedPrepend:function(e,n){return e=Or(296,e),e.texts=n,e},createUnparsedTextLike:function(e,n){return Or(n?298:297,e)},createUnparsedSyntheticReference:function(e){var n=y(299);return n.data=e.data,n.section=e,n},createInputFiles:function(){var e=y(303);return e.javascriptText="",e.declarationText="",e},createSyntheticExpression:function(e,n,t){void 0===n&&(n=!1);var r=y(230);return r.type=e,r.isSpread=n,r.tupleNameSource=t,r},createSyntaxList:function(e){var n=y(343);return n._children=e,n},createNotEmittedStatement:function(e){var n=y(344);return n.original=e,ue.setTextRange(n,e),n},createPartiallyEmittedExpression:Pr,updatePartiallyEmittedExpression:wr,createCommaListExpression:Fr,updateCommaListExpression:function(e,n){return e.elements!==n?t(Fr(n),e):e},createEndOfDeclarationMarker:function(e){var n=y(348);return n.emitNode={},n.original=e,n},createMergeDeclarationMarker:function(e){var n=y(347);return n.emitNode={},n.original=e,n},createSyntheticReferenceExpression:Gr,updateSyntheticReferenceExpression:function(e,n,r){return e.expression!==n||e.thisArg!==r?t(Gr(n,r),e):e},cloneNode:Br,get createComma(){return i(27)},get createAssignment(){return i(63)},get createLogicalOr(){return i(56)},get createLogicalAnd(){return i(55)},get createBitwiseOr(){return i(51)},get createBitwiseXor(){return i(52)},get createBitwiseAnd(){return i(50)},get createStrictEquality(){return i(36)},get createStrictInequality(){return i(37)},get createEquality(){return i(34)},get createInequality(){return i(35)},get createLessThan(){return i(29)},get createLessThanEquals(){return i(32)},get createGreaterThan(){return i(31)},get createGreaterThanEquals(){return i(33)},get createLeftShift(){return i(47)},get createRightShift(){return i(48)},get createUnsignedRightShift(){return i(49)},get createAdd(){return i(39)},get createSubtract(){return i(40)},get createMultiply(){return i(41)},get createDivide(){return i(43)},get createModulo(){return i(44)},get createExponent(){return i(42)},get createPrefixPlus(){return o(39)},get createPrefixMinus(){return o(40)},get createPrefixIncrement(){return o(45)},get createPrefixDecrement(){return o(46)},get createBitwiseNot(){return o(54)},get createLogicalNot(){return o(53)},get createPostfixIncrement(){return s(45)},get createPostfixDecrement(){return s(46)},createImmediatelyInvokedFunctionExpression:function(e,n,t){return on(fn(void 0,void 0,void 0,void 0,n?[n]:[],void 0,Hn(e,!0)),void 0,t?[t]:[])},createImmediatelyInvokedArrowFunction:function(e,n,t){return on(yn(void 0,void 0,n?[n]:[],void 0,void 0,Hn(e,!0)),void 0,t?[t]:[])},createVoidZero:Ur,createExportDefault:function(e){return Mt(void 0,void 0,!1,e)},createExternalModuleExport:function(e){return Gt(void 0,void 0,!1,Ut([Vt(void 0,e)]))},createTypeCheck:function(e,n){return"undefined"===n?f.createStrictEquality(e,Ur()):f.createStrictEquality(bn(e),O(n))},createMethodCall:Vr,createGlobalMethodCall:jr,createFunctionBindCall:function(e,n,t){return Vr(e,"bind",eu([n],t,!0))},createFunctionCallCall:function(e,n,t){return Vr(e,"call",eu([n],t,!0))},createFunctionApplyCall:function(e,n,t){return Vr(e,"apply",[n,t])},createArraySliceCall:function(e,n){return Vr(e,"slice",void 0===n?[]:[ta(n)])},createArrayConcatCall:function(e,n){return Vr(e,"concat",n)},createObjectDefinePropertyCall:function(e,n,t){return jr("Object","defineProperty",[e,ta(n),t])},createReflectGetCall:function(e,n,t){return jr("Reflect","get",t?[e,n,t]:[e,n])},createReflectSetCall:function(e,n,t,r){return jr("Reflect","set",r?[e,n,t,r]:[e,n,t])},createPropertyDescriptor:function(e,n){var t=[],r=(Kr(t,"enumerable",ta(e.enumerable)),Kr(t,"configurable",ta(e.configurable)),Kr(t,"writable",ta(e.writable))),a=(r=Kr(t,"value",e.value)||r,Kr(t,"get",e.get));return a=Kr(t,"set",e.set)||a,ue.Debug.assert(!(r&&a),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."),Ze(t,!n)},createCallBinding:function(e,n,t,a){void 0===a&&(a=!1);var i,o,s=ue.skipOuterExpressions(e,15);return ue.isSuperProperty(s)?(i=j(),o=s):ue.isSuperKeyword(s)?(i=j(),o=void 0!==t&&t<2?ue.setTextRange(F("_super"),s):s):4096&ue.getEmitFlags(s)?(i=Ur(),o=r().parenthesizeLeftSideOfAccess(s)):ue.isPropertyAccessExpression(s)?zr(s.expression,a)?(i=G(n),o=$e(ue.setTextRange(f.createAssignment(i,s.expression),s.expression),s.name),ue.setTextRange(o,s)):(i=s.expression,o=s):ue.isElementAccessExpression(s)?zr(s.expression,a)?(i=G(n),o=tn(ue.setTextRange(f.createAssignment(i,s.expression),s.expression),s.argumentExpression),ue.setTextRange(o,s)):(i=s.expression,o=s):(i=Ur(),o=r().parenthesizeLeftSideOfAccess(e)),{target:o,thisArg:i}},createAssignmentTargetWrapper:function(e,n){return $e(mn(Ze([ge(void 0,void 0,"value",[Y(void 0,void 0,void 0,e,void 0,void 0,void 0)],Hn([qn(n)]))])),"value")},inlineExpressions:function(e){return 10<e.length?Fr(e):ue.reduceLeft(e,f.createComma)},getInternalName:function(e,n,t){return Jr(e,n,t,49152)},getLocalName:function(e,n,t){return Jr(e,n,t,16384)},getExportName:qr,getDeclarationName:function(e,n,t){return Jr(e,n,t)},getNamespaceMemberName:Xr,getExternalModuleOrNamespaceExportName:function(e,n,t,r){return e&&ue.hasSyntacticModifier(n,1)?Xr(e,Jr(n),t,r):qr(n,t,r)},restoreOuterExpressions:function e(n,t,r){return void 0===r&&(r=15),n&&ue.isOuterExpression(n,r)&&!Wr(n)?Hr(n,e(n.expression,t)):t},restoreEnclosingLabel:function e(n,t,r){return t?(n=st(t,t.label,ue.isLabeledStatement(t.statement)?e(n,t.statement):n),r&&r(t),n):n},createUseStrictPrologue:Yr,copyPrologue:function(e,n,t,r){return t=Qr(e,n,t),Zr(e,n,t,r)},copyStandardPrologue:Qr,copyCustomPrologue:Zr,ensureUseStrict:function(e){return ue.findUseStrictPrologue(e)?e:ue.setTextRange(g(eu([Yr()],e,!0)),e)},liftToBlock:function(e){return ue.Debug.assert(ue.every(e,ue.isStatementOrBlock),"Cannot lift nodes to a Block."),ue.singleOrUndefined(e)||Hn(e)},mergeLexicalEnvironment:function(e,n){if(ue.some(n)){var t=$r(e,ue.isPrologueDirective,0),r=$r(e,ue.isHoistedFunction,t),a=$r(e,ue.isHoistedVariableStatement,r),i=$r(n,ue.isPrologueDirective,0),o=$r(n,ue.isHoistedFunction,i),s=$r(n,ue.isHoistedVariableStatement,o),c=$r(n,ue.isCustomPrologue,s),l=(ue.Debug.assert(c===n.length,"Expected declarations to be valid standard or custom prologues"),ue.isNodeArray(e)?e.slice():e);if(s<c&&l.splice.apply(l,eu([a,0],n.slice(s,c),!1)),o<s&&l.splice.apply(l,eu([r,0],n.slice(o,s),!1)),i<o&&l.splice.apply(l,eu([t,0],n.slice(i,o),!1)),0<i)if(0===t)l.splice.apply(l,eu([0,0],n.slice(0,i),!1));else{for(var d=new ue.Map,u=0;u<t;u++){var p=e[u];d.set(p.expression.text,!0)}for(u=i-1;0<=u;u--){var m=n[u];d.has(m.expression.text)||l.unshift(m)}}if(ue.isNodeArray(e))return ue.setTextRange(g(l,e.hasTrailingComma),e)}return e},updateModifiers:function(e,n){var t;return"number"==typeof n&&(n=z(n)),ue.isParameter(e)?Q(e,e.decorators,n,e.dotDotDotToken,e.name,e.questionToken,e.type,e.initializer):ue.isPropertySignature(e)?ee(e,n,e.name,e.questionToken,e.type):ue.isPropertyDeclaration(e)?te(e,e.decorators,n,e.name,null!=(t=e.questionToken)?t:e.exclamationToken,e.type,e.initializer):ue.isMethodSignature(e)?ae(e,n,e.name,e.questionToken,e.typeParameters,e.parameters,e.type):ue.isMethodDeclaration(e)?oe(e,e.decorators,n,e.asteriskToken,e.name,e.questionToken,e.typeParameters,e.parameters,e.type,e.body):ue.isConstructorDeclaration(e)?le(e,e.decorators,n,e.parameters,e.body):ue.isGetAccessorDeclaration(e)?fe(e,e.decorators,n,e.name,e.parameters,e.type,e.body):ue.isSetAccessorDeclaration(e)?ye(e,e.decorators,n,e.name,e.parameters,e.body):ue.isIndexSignatureDeclaration(e)?Ee(e,e.decorators,n,e.parameters,e.type):ue.isFunctionExpression(e)?gn(e,n,e.asteriskToken,e.name,e.typeParameters,e.parameters,e.type,e.body):ue.isArrowFunction(e)?hn(e,n,e.typeParameters,e.parameters,e.type,e.equalsGreaterThanToken,e.body):ue.isClassExpression(e)?Pn(e,e.decorators,n,e.name,e.typeParameters,e.heritageClauses,e.members):ue.isVariableStatement(e)?zn(e,n,e.declarationList):ue.isFunctionDeclaration(e)?mt(e,e.decorators,n,e.asteriskToken,e.name,e.typeParameters,e.parameters,e.type,e.body):ue.isClassDeclaration(e)?ft(e,e.decorators,n,e.name,e.typeParameters,e.heritageClauses,e.members):ue.isInterfaceDeclaration(e)?yt(e,e.decorators,n,e.name,e.typeParameters,e.heritageClauses,e.members):ue.isTypeAliasDeclaration(e)?vt(e,e.decorators,n,e.name,e.typeParameters,e.type):ue.isEnumDeclaration(e)?Et(e,e.decorators,n,e.name,e.members):ue.isModuleDeclaration(e)?St(e,e.decorators,n,e.name,e.body):ue.isImportEqualsDeclaration(e)?Ct(e,e.decorators,n,e.isTypeOnly,e.name,e.moduleReference):ue.isImportDeclaration(e)?Nt(e,e.decorators,n,e.importClause,e.moduleSpecifier):ue.isExportAssignment(e)?Ft(e,e.decorators,n,e.expression):ue.isExportDeclaration(e)?Bt(e,e.decorators,n,e.isTypeOnly,e.exportClause,e.moduleSpecifier):ue.Debug.assertNever(e)}};return f;function g(e,n){if(void 0===e||e===ue.emptyArray)e=[];else if(ue.isNodeArray(e))return void 0===n||e.hasTrailingComma===n?(void 0===e.transformFlags&&cE(e),ue.Debug.attachNodeArrayDebugInfo(e),e):((t=e.slice()).pos=e.pos,t.end=e.end,t.hasTrailingComma=n,t.transformFlags=e.transformFlags,ue.Debug.attachNodeArrayDebugInfo(t),t);var t=e.length;t=1<=t&&t<=4?e.slice():e;return ue.setTextRangePosEnd(t,-1,-1),t.hasTrailingComma=!!n,cE(t),ue.Debug.attachNodeArrayDebugInfo(t),t}function y(e){return n.createBaseNode(e)}function h(e,n,t){return e=y(e),e.decorators=ea(n),e.modifiers=ea(t),e.transformFlags|=sE(e.decorators)|sE(e.modifiers),e.symbol=void 0,e.localSymbol=void 0,e.locals=void 0,e.nextContainer=void 0,e}function v(e,n,t,r){var a=h(e,n,t);if(r=na(r),a.name=r)switch(a.kind){case 167:case 170:case 171:case 165:case 291:if(ue.isIdentifier(r)){a.transformFlags|=iE(r);break}default:a.transformFlags|=oE(r)}return a}function b(e,n,t,r,a){return e=v(e,n,t,r),e.typeParameters=ea(a),e.transformFlags|=sE(e.typeParameters),a&&(e.transformFlags|=1),e}function E(e,n,t,r,a,i,o){return e=b(e,n,t,r,a),e.parameters=g(i),e.type=o,e.transformFlags|=sE(e.parameters)|oE(e.type),o&&(e.transformFlags|=1),e}function T(e,n){return n.typeArguments&&(e.typeArguments=n.typeArguments),t(e,n)}function S(e,n,t,r,a,i,o,s){return e=E(e,n,t,r,a,i,o),e.body=s,e.transformFlags|=-16777217&oE(e.body),s||(e.transformFlags|=1),e}function x(e,n){return n.exclamationToken&&(e.exclamationToken=n.exclamationToken),n.typeArguments&&(e.typeArguments=n.typeArguments),T(e,n)}function L(e,n,t,r,a,i){return e=b(e,n,t,r,a),e.heritageClauses=ea(i),e.transformFlags|=sE(e.heritageClauses),e}function D(e,n,t,r,a,i,o){return e=L(e,n,t,r,a,i),e.members=g(o),e.transformFlags|=sE(e.members),e}function A(e,n,t,r,a){return e=v(e,n,t,r),e.initializer=a,e.transformFlags|=oE(e.initializer),e}function C(e,n,t,r,a,i){return e=A(e,n,t,r,i),e.type=a,e.transformFlags|=oE(a),a&&(e.transformFlags|=1),e}function I(e,n){return e=U(e),e.text=n,e}function N(e,n){return void 0===n&&(n=0),e=I(8,"number"==typeof e?e+"":e),384&(e.numericLiteralFlags=n)&&(e.transformFlags|=512),e}function k(e){return e=I(9,"string"==typeof e?e:ue.pseudoBigIntToString(e)+"n"),e.transformFlags|=4,e}function R(e,n){return e=I(10,e),e.singleQuote=n,e}function O(e,n,t){return e=R(e,n),(e.hasExtendedUnicodeEscape=t)&&(e.transformFlags|=512),e}function P(e){return I(13,e)}function w(e,t){79===(t=void 0===t&&e?ue.stringToToken(e):t)&&(t=void 0);var r=n.createBaseIdentifierNode(79);return r.originalKeywordKind=t,r.escapedText=ue.escapeLeadingUnderscores(e),r}function M(e,n){return e=w(e,void 0),e.autoGenerateFlags=n,e.autoGenerateId=me,me++,e}function F(e,n,t){return e=w(e,t),n&&(e.typeArguments=g(n)),131===e.originalKeywordKind&&(e.transformFlags|=16777216),e}function G(e,n){var t=1;n&&(t|=8),n=M("",t);return e&&e(n),n}function B(e,n){return ue.Debug.assert(!(7&(n=void 0===n?0:n)),"Argument out of range: flags"),n=M(e&&ue.isIdentifier(e)?ue.idText(e):"",4|n),n.original=e,n}function U(e){return n.createBaseTokenNode(e)}function V(e){ue.Debug.assert(0<=e&&e<=158,"Invalid token"),ue.Debug.assert(e<=14||17<=e,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),ue.Debug.assert(e<=8||14<=e,"Invalid token. Use 'createLiteralLikeNode' to create literals."),ue.Debug.assert(79!==e,"Invalid token. Use 'createIdentifier' to create identifiers");var n=U(e),t=0;switch(e){case 130:t=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:t=1;break;case 106:t=33554944;break;case 124:t=512;break;case 108:t=8192}return t&&(n.transformFlags|=t),n}function j(){return V(108)}function K(){return V(110)}function H(){return V(95)}function W(e){return V(e)}function z(e){var n=[];return 1&e&&n.push(V(93)),2&e&&n.push(V(134)),512&e&&n.push(V(88)),2048&e&&n.push(V(85)),4&e&&n.push(V(123)),8&e&&n.push(V(121)),16&e&&n.push(V(122)),128&e&&n.push(V(126)),32&e&&n.push(V(124)),16384&e&&n.push(V(157)),64&e&&n.push(V(143)),256&e&&n.push(V(130)),n}function J(e,n){var t=y(159);return t.left=e,t.right=na(n),t.transformFlags|=oE(t.left)|iE(t.right),t}function q(e){var n=y(160);return n.expression=r().parenthesizeExpressionOfComputedPropertyName(e),n.transformFlags|=66048|oE(n.expression),n}function X(e,n,t){return e=v(161,void 0,void 0,e),e.constraint=n,e.default=t,e.transformFlags=1,e}function Y(e,n,t,a,i,o,s){return e=C(162,e,n,a,o,s&&r().parenthesizeExpressionForDisallowedComma(s)),e.dotDotDotToken=t,e.questionToken=i,ue.isThisIdentifier(e.name)?e.transformFlags=1:(e.transformFlags|=oE(e.dotDotDotToken)|oE(e.questionToken),i&&(e.transformFlags|=1),16476&ue.modifiersToFlags(e.modifiers)&&(e.transformFlags|=4096),(s||t)&&(e.transformFlags|=512)),e}function Q(e,n,r,a,i,o,s,c){return e.decorators!==n||e.modifiers!==r||e.dotDotDotToken!==a||e.name!==i||e.questionToken!==o||e.type!==s||e.initializer!==c?t(Y(n,r,a,i,o,s,c),e):e}function Z(e){var n=y(163);return n.expression=r().parenthesizeLeftSideOfAccess(e),n.transformFlags|=4097|oE(n.expression),n}function $(e,n,t,r){return e=v(164,void 0,e,n),e.type=r,e.questionToken=t,e.transformFlags=1,e}function ee(e,n,r,a,i){return e.modifiers!==n||e.name!==r||e.questionToken!==a||e.type!==i?t($(n,r,a,i),e):e}function ne(e,n,t,r,a,i){return e=C(165,e,n,t,a,i),e.questionToken=r&&ue.isQuestionToken(r)?r:void 0,e.exclamationToken=r&&ue.isExclamationToken(r)?r:void 0,e.transformFlags|=oE(e.questionToken)|oE(e.exclamationToken)|8388608,(ue.isComputedPropertyName(e.name)||ue.hasStaticModifier(e)&&e.initializer)&&(e.transformFlags|=4096),(r||2&ue.modifiersToFlags(e.modifiers))&&(e.transformFlags|=1),e}function te(e,n,r,a,i,o,s){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.questionToken!==(void 0!==i&&ue.isQuestionToken(i)?i:void 0)||e.exclamationToken!==(void 0!==i&&ue.isExclamationToken(i)?i:void 0)||e.type!==o||e.initializer!==s?t(ne(n,r,a,i,o,s),e):e}function re(e,n,t,r,a,i){return e=E(166,void 0,e,n,r,a,i),e.questionToken=t,e.transformFlags=1,e}function ae(e,n,t,r,a,i,o){return e.modifiers!==n||e.name!==t||e.questionToken!==r||e.typeParameters!==a||e.parameters!==i||e.type!==o?T(re(n,t,r,a,i,o),e):e}function ie(e,n,t,r,a,i,o,s,c){return e=S(167,e,n,r,i,o,s,c),e.asteriskToken=t,e.questionToken=a,e.transformFlags|=oE(e.asteriskToken)|oE(e.questionToken)|512,a&&(e.transformFlags|=1),256&ue.modifiersToFlags(e.modifiers)?e.transformFlags|=t?64:128:t&&(e.transformFlags|=1024),e}function oe(e,n,t,r,a,i,o,s,c,l){return e.decorators!==n||e.modifiers!==t||e.asteriskToken!==r||e.name!==a||e.questionToken!==i||e.typeParameters!==o||e.parameters!==s||e.type!==c||e.body!==l?x(ie(n,t,r,a,i,o,s,c,l),e):e}function se(e,n,t){return e=b(168,e,n,void 0,void 0),e.body=t,e.transformFlags=8388608|oE(t),e}function ce(e,n,t,r){return e=S(169,e,n,void 0,void 0,t,void 0,r),e.transformFlags|=512,e}function le(e,n,t,r,a){return e.decorators!==n||e.modifiers!==t||e.parameters!==r||e.body!==a?x(ce(n,t,r,a),e):e}function de(e,n,t,r,a,i){return S(170,e,n,t,void 0,r,a,i)}function fe(e,n,t,r,a,i,o){return e.decorators!==n||e.modifiers!==t||e.name!==r||e.parameters!==a||e.type!==i||e.body!==o?x(de(n,t,r,a,i,o),e):e}function ge(e,n,t,r,a){return S(171,e,n,t,void 0,r,void 0,a)}function ye(e,n,t,r,a,i){return e.decorators!==n||e.modifiers!==t||e.name!==r||e.parameters!==a||e.body!==i?x(ge(n,t,r,a,i),e):e}function he(e,n,t){return e=E(172,void 0,void 0,void 0,e,n,t),e.transformFlags=1,e}function ve(e,n,t){return e=E(173,void 0,void 0,void 0,e,n,t),e.transformFlags=1,e}function be(e,n,t,r){return e=E(174,e,n,void 0,void 0,t,r),e.transformFlags=1,e}function Ee(e,n,t,r,a){return e.parameters!==r||e.type!==a||e.decorators!==n||e.modifiers!==t?T(be(n,t,r,a),e):e}function Te(e,n){var t=y(197);return t.type=e,t.literal=n,t.transformFlags=1,t}function Se(e,n,t){var r=y(175);return r.assertsModifier=e,r.parameterName=na(n),r.type=t,r.transformFlags=1,r}function xe(e,n){var t=y(176);return t.typeName=na(e),t.typeArguments=n&&r().parenthesizeTypeArguments(g(n)),t.transformFlags=1,t}function Le(e,n,t){return e=E(177,void 0,void 0,void 0,e,n,t),e.transformFlags=1,e}function De(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 4===e.length?Ae.apply(void 0,e):3===e.length?function(e,n,t){return Ae(void 0,e,n,t)}.apply(void 0,e):ue.Debug.fail("Incorrect number of arguments specified.")}function Ae(e,n,t,r){return e=E(178,void 0,e,void 0,n,t,r),e.transformFlags=1,e}function Ce(e,n,t,r,a){return e.modifiers!==n||e.typeParameters!==t||e.parameters!==r||e.type!==a?T(De(n,t,r,a),e):e}function Ie(e){var n=y(179);return n.exprName=e,n.transformFlags=1,n}function Ne(e){var n=y(180);return n.members=g(e),n.transformFlags=1,n}function ke(e){var n=y(181);return n.elementType=r().parenthesizeElementTypeOfArrayType(e),n.transformFlags=1,n}function Re(e){var n=y(182);return n.elements=g(e),n.transformFlags=1,n}function Oe(e,n,t,r){var a=y(195);return a.dotDotDotToken=e,a.name=n,a.questionToken=t,a.type=r,a.transformFlags=1,a}function Pe(e){var n=y(183);return n.type=r().parenthesizeElementTypeOfArrayType(e),n.transformFlags=1,n}function we(e){var n=y(184);return n.type=e,n.transformFlags=1,n}function Me(e,n){return e=y(e),e.types=r().parenthesizeConstituentTypesOfUnionOrIntersectionType(n),e.transformFlags=1,e}function Fe(e,n){return e.types!==n?t(Me(e.kind,n),e):e}function Ge(e,n,t,a){var i=y(187);return i.checkType=r().parenthesizeMemberOfConditionalType(e),i.extendsType=r().parenthesizeMemberOfConditionalType(n),i.trueType=t,i.falseType=a,i.transformFlags=1,i}function Be(e){var n=y(188);return n.typeParameter=e,n.transformFlags=1,n}function Ue(e,n){var t=y(196);return t.head=e,t.templateSpans=g(n),t.transformFlags=1,t}function Ve(e,n,t,a){void 0===a&&(a=!1);var i=y(198);return i.argument=e,i.qualifier=n,i.typeArguments=t&&r().parenthesizeTypeArguments(t),i.isTypeOf=a,i.transformFlags=1,i}function je(e){var n=y(189);return n.type=e,n.transformFlags=1,n}function Ke(e,n){var t=y(191);return t.operator=e,t.type=r().parenthesizeMemberOfElementType(n),t.transformFlags=1,t}function He(e,n){var t=y(192);return t.objectType=r().parenthesizeMemberOfElementType(e),t.indexType=n,t.transformFlags=1,t}function We(e,n,t,r,a){var i=y(193);return i.readonlyToken=e,i.typeParameter=n,i.nameType=t,i.questionToken=r,i.type=a,i.transformFlags=1,i}function ze(e){var n=y(194);return n.literal=e,n.transformFlags=1,n}function Je(e){var n=y(199);return n.elements=g(e),n.transformFlags|=262656|sE(n.elements),16384&n.transformFlags&&(n.transformFlags|=32832),n}function qe(e){var n=y(200);return n.elements=g(e),n.transformFlags|=262656|sE(n.elements),n}function Xe(e,n,t,a){return t=A(201,void 0,void 0,t,a&&r().parenthesizeExpressionForDisallowedComma(a)),t.propertyName=na(n),t.dotDotDotToken=e,t.transformFlags|=512|oE(t.dotDotDotToken),t.propertyName&&(t.transformFlags|=(ue.isIdentifier(t.propertyName)?iE:oE)(t.propertyName)),e&&(t.transformFlags|=16384),t}function Ye(e){return y(e)}function Qe(e,n){var t=Ye(202),a=e&&ue.lastOrUndefined(e);e=g(e,!(!a||!ue.isOmittedExpression(a))||void 0);return t.elements=r().parenthesizeExpressionsOfCommaDelimitedList(e),t.multiLine=n,t.transformFlags|=sE(t.elements),t}function Ze(e,n){var t=Ye(203);return t.properties=g(e),t.multiLine=n,t.transformFlags|=sE(t.properties),t}function $e(e,n){var t=Ye(204);return t.expression=r().parenthesizeLeftSideOfAccess(e),t.name=na(n),t.transformFlags=oE(t.expression)|(ue.isIdentifier(t.name)?iE:oE)(t.name),ue.isSuperKeyword(e)&&(t.transformFlags|=192),t}function en(e,n,t){var a=Ye(204);return a.flags|=32,a.expression=r().parenthesizeLeftSideOfAccess(e),a.questionDotToken=n,a.name=na(t),a.transformFlags|=16|oE(a.expression)|oE(a.questionDotToken)|(ue.isIdentifier(a.name)?iE:oE)(a.name),a}function nn(e,n,r,a){return ue.Debug.assert(!!(32&e.flags),"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead."),e.expression!==n||e.questionDotToken!==r||e.name!==a?t(en(n,r,a),e):e}function tn(e,n){var t=Ye(205);return t.expression=r().parenthesizeLeftSideOfAccess(e),t.argumentExpression=ta(n),t.transformFlags|=oE(t.expression)|oE(t.argumentExpression),ue.isSuperKeyword(e)&&(t.transformFlags|=192),t}function rn(e,n,t){var a=Ye(205);return a.flags|=32,a.expression=r().parenthesizeLeftSideOfAccess(e),a.questionDotToken=n,a.argumentExpression=ta(t),a.transformFlags|=oE(a.expression)|oE(a.questionDotToken)|oE(a.argumentExpression)|16,a}function an(e,n,r,a){return ue.Debug.assert(!!(32&e.flags),"Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead."),e.expression!==n||e.questionDotToken!==r||e.argumentExpression!==a?t(rn(n,r,a),e):e}function on(e,n,t){var a=Ye(206);return a.expression=r().parenthesizeLeftSideOfAccess(e),a.typeArguments=ea(n),a.arguments=r().parenthesizeExpressionsOfCommaDelimitedList(g(t)),a.transformFlags|=oE(a.expression)|sE(a.typeArguments)|sE(a.arguments),a.typeArguments&&(a.transformFlags|=1),ue.isImportKeyword(a.expression)?a.transformFlags|=4194304:ue.isSuperProperty(a.expression)&&(a.transformFlags|=8192),a}function sn(e,n,t,a){var i=Ye(206);return i.flags|=32,i.expression=r().parenthesizeLeftSideOfAccess(e),i.questionDotToken=n,i.typeArguments=ea(t),i.arguments=r().parenthesizeExpressionsOfCommaDelimitedList(g(a)),i.transformFlags|=oE(i.expression)|oE(i.questionDotToken)|sE(i.typeArguments)|sE(i.arguments)|16,i.typeArguments&&(i.transformFlags|=1),ue.isSuperProperty(i.expression)&&(i.transformFlags|=8192),i}function cn(e,n,r,a,i){return ue.Debug.assert(!!(32&e.flags),"Cannot update a CallExpression using updateCallChain. Use updateCall instead."),e.expression!==n||e.questionDotToken!==r||e.typeArguments!==a||e.arguments!==i?t(sn(n,r,a,i),e):e}function ln(e,n,t){var a=Ye(207);return a.expression=r().parenthesizeExpressionOfNew(e),a.typeArguments=ea(n),a.arguments=t?r().parenthesizeExpressionsOfCommaDelimitedList(t):void 0,a.transformFlags|=oE(a.expression)|sE(a.typeArguments)|sE(a.arguments)|16,a.typeArguments&&(a.transformFlags|=1),a}function dn(e,n,t){var a=Ye(208);return a.tag=r().parenthesizeLeftSideOfAccess(e),a.typeArguments=ea(n),a.template=t,a.transformFlags|=oE(a.tag)|sE(a.typeArguments)|oE(a.template)|512,a.typeArguments&&(a.transformFlags|=1),ue.hasInvalidEscape(a.template)&&(a.transformFlags|=64),a}function un(e,n){var t=Ye(209);return t.expression=r().parenthesizeOperandOfPrefixUnary(n),t.type=e,t.transformFlags|=oE(t.expression)|oE(t.type)|1,t}function pn(e,n,r){return e.type!==n||e.expression!==r?t(un(n,r),e):e}function mn(e){var n=Ye(210);return n.expression=e,n.transformFlags=oE(n.expression),n}function _n(e,n){return e.expression!==n?t(mn(n),e):e}function fn(e,n,t,r,a,i,o){return e=S(211,void 0,e,t,r,a,i,o),e.asteriskToken=n,e.transformFlags|=oE(e.asteriskToken),e.typeParameters&&(e.transformFlags|=1),256&ue.modifiersToFlags(e.modifiers)?e.asteriskToken?e.transformFlags|=64:e.transformFlags|=128:e.asteriskToken&&(e.transformFlags|=1024),e}function gn(e,n,t,r,a,i,o,s){return e.name!==r||e.modifiers!==n||e.asteriskToken!==t||e.typeParameters!==a||e.parameters!==i||e.type!==o||e.body!==s?x(fn(n,t,r,a,i,o,s),e):e}function yn(e,n,t,a,i,o){return e=S(212,void 0,e,void 0,n,t,a,r().parenthesizeConciseBodyOfArrowFunction(o)),e.equalsGreaterThanToken=null!=i?i:V(38),e.transformFlags|=512|oE(e.equalsGreaterThanToken),256&ue.modifiersToFlags(e.modifiers)&&(e.transformFlags|=8320),e}function hn(e,n,t,r,a,i,o){return e.modifiers!==n||e.typeParameters!==t||e.parameters!==r||e.type!==a||e.equalsGreaterThanToken!==i||e.body!==o?x(yn(n,t,r,a,i,o),e):e}function vn(e){var n=Ye(213);return n.expression=r().parenthesizeOperandOfPrefixUnary(e),n.transformFlags|=oE(n.expression),n}function bn(e){var n=Ye(214);return n.expression=r().parenthesizeOperandOfPrefixUnary(e),n.transformFlags|=oE(n.expression),n}function En(e){var n=Ye(215);return n.expression=r().parenthesizeOperandOfPrefixUnary(e),n.transformFlags|=oE(n.expression),n}function Tn(e){var n=Ye(216);return n.expression=r().parenthesizeOperandOfPrefixUnary(e),n.transformFlags|=1048768|oE(n.expression),n}function Sn(e,n){var t=Ye(217);return t.operator=e,t.operand=r().parenthesizeOperandOfPrefixUnary(n),t.transformFlags|=oE(t.operand),45!==e&&46!==e||!ue.isIdentifier(t.operand)||ue.isGeneratedIdentifier(t.operand)||ue.isLocalName(t.operand)||(t.transformFlags|=67108864),t}function xn(e,n){var t=Ye(218);return t.operator=n,t.operand=r().parenthesizeOperandOfPostfixUnary(e),t.transformFlags|=oE(t.operand),!ue.isIdentifier(t.operand)||ue.isGeneratedIdentifier(t.operand)||ue.isLocalName(t.operand)||(t.transformFlags|=67108864),t}function Ln(e,n,t){var a=Ye(219),i=(n="number"==typeof(n=n)?V(n):n,n.kind);return a.left=r().parenthesizeLeftSideOfBinary(i,e),a.operatorToken=n,a.right=r().parenthesizeRightSideOfBinary(i,a.left,t),a.transformFlags|=oE(a.left)|oE(a.operatorToken)|oE(a.right),60===i?a.transformFlags|=16:63===i?ue.isObjectLiteralExpression(a.left)?a.transformFlags|=2624|Dn(a.left):ue.isArrayLiteralExpression(a.left)&&(a.transformFlags|=2560|Dn(a.left)):42===i||67===i?a.transformFlags|=256:ue.isLogicalOrCoalescingAssignmentOperator(i)&&(a.transformFlags|=8),a}function Dn(e){if(32768&e.transformFlags)return 32768;if(64&e.transformFlags)for(var n=0,t=ue.getElementsOfBindingOrAssignmentPattern(e);n<t.length;n++){var r=t[n];r=ue.getTargetOfBindingOrAssignmentElement(r);if(r&&ue.isAssignmentPattern(r)){if(32768&r.transformFlags)return 32768;if(64&r.transformFlags&&(r=Dn(r),r))return r}}return 0}function An(e,n,t,a,i){var o=Ye(220);return o.condition=r().parenthesizeConditionOfConditionalExpression(e),o.questionToken=null!=n?n:V(57),o.whenTrue=r().parenthesizeBranchOfConditionalExpression(t),o.colonToken=null!=a?a:V(58),o.whenFalse=r().parenthesizeBranchOfConditionalExpression(i),o.transformFlags|=oE(o.condition)|oE(o.questionToken)|oE(o.whenTrue)|oE(o.colonToken)|oE(o.whenFalse),o}function Cn(e,n){var t=Ye(221);return t.head=e,t.templateSpans=g(n),t.transformFlags|=oE(t.head)|sE(t.templateSpans)|512,t}function In(e,n,t,r){ue.Debug.assert(!(-2049&(r=void 0===r?0:r)),"Unsupported template flags.");var a=void 0;if(void 0!==t&&t!==n&&"object"==typeof(a=((e,n)=>{switch(pe=pe||ue.createScanner(99,!1,0),e){case 14:pe.setText("`"+n+"`");break;case 15:pe.setText("`"+n+"${");break;case 16:pe.setText("}"+n+"${");break;case 17:pe.setText("}"+n+"`")}var t;e=pe.scan();if(19===e&&(e=pe.reScanTemplateToken(!1)),!pe.isUnterminated()){switch(e){case 14:case 15:case 16:case 17:t=pe.getTokenValue()}if(void 0!==t&&1===pe.scan())return pe.setText(void 0),t}return pe.setText(void 0),_e})(e,t)))return ue.Debug.fail("Invalid raw text");if(void 0===n){if(void 0===a)return ue.Debug.fail("Arguments 'text' and 'rawText' may not both be undefined.");n=a}else void 0!==a&&ue.Debug.assert(n===a,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");return Nn(e,n,t,r)}function Nn(e,n,t,r){return e=U(e),e.text=n,e.rawText=t,e.templateFlags=2048&r,e.transformFlags|=512,e.templateFlags&&(e.transformFlags|=64),e}function kn(e,n){ue.Debug.assert(!e||!!n,"A `YieldExpression` with an asteriskToken must have an expression.");var t=Ye(222);return t.expression=n&&r().parenthesizeExpressionForDisallowedComma(n),t.asteriskToken=e,t.transformFlags|=oE(t.expression)|oE(t.asteriskToken)|524864,t}function Rn(e){var n=Ye(223);return n.expression=r().parenthesizeExpressionForDisallowedComma(e),n.transformFlags|=16896|oE(n.expression),n}function On(e,n,t,r,a,i){return e=D(224,e,n,t,r,a,i),e.transformFlags|=512,e}function Pn(e,n,r,a,i,o,s){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.typeParameters!==i||e.heritageClauses!==o||e.members!==s?t(On(n,r,a,i,o,s),e):e}function wn(e,n){var t=y(226);return t.expression=r().parenthesizeLeftSideOfAccess(e),t.typeArguments=n&&r().parenthesizeTypeArguments(n),t.transformFlags|=oE(t.expression)|sE(t.typeArguments)|512,t}function Mn(e,n){var t=Ye(227);return t.expression=e,t.type=n,t.transformFlags|=oE(t.expression)|oE(t.type)|1,t}function Fn(e,n,r){return e.expression!==n||e.type!==r?t(Mn(n,r),e):e}function Gn(e){var n=Ye(228);return n.expression=r().parenthesizeLeftSideOfAccess(e),n.transformFlags|=1|oE(n.expression),n}function Bn(e,n){return ue.isNonNullChain(e)?Vn(e,n):e.expression!==n?t(Gn(n),e):e}function Un(e){var n=Ye(228);return n.flags|=32,n.expression=r().parenthesizeLeftSideOfAccess(e),n.transformFlags|=1|oE(n.expression),n}function Vn(e,n){return ue.Debug.assert(!!(32&e.flags),"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead."),e.expression!==n?t(Un(n),e):e}function jn(e,n){var t=Ye(229);switch(t.keywordToken=e,t.name=n,t.transformFlags|=oE(t.name),e){case 103:t.transformFlags|=512;break;case 100:t.transformFlags|=4;break;default:return ue.Debug.assertNever(e)}return t}function Kn(e,n){var t=y(231);return t.expression=e,t.literal=n,t.transformFlags|=oE(t.expression)|oE(t.literal)|512,t}function Hn(e,n){var t=y(233);return t.statements=g(e),t.multiLine=n,t.transformFlags|=sE(t.statements),t}function Wn(e,n){return e=h(235,void 0,e),e.declarationList=ue.isArray(n)?ut(n):n,e.transformFlags|=oE(e.declarationList),2&ue.modifiersToFlags(e.modifiers)&&(e.transformFlags=1),e}function zn(e,n,r){return e.modifiers!==n||e.declarationList!==r?t(Wn(n,r),e):e}function Jn(){return y(234)}function qn(e){var n=y(236);return n.expression=r().parenthesizeExpressionOfExpressionStatement(e),n.transformFlags|=oE(n.expression),n}function Xn(e,n,t){var r=y(237);return r.expression=e,r.thenStatement=ra(n),r.elseStatement=ra(t),r.transformFlags|=oE(r.expression)|oE(r.thenStatement)|oE(r.elseStatement),r}function Yn(e,n){var t=y(238);return t.statement=ra(e),t.expression=n,t.transformFlags|=oE(t.statement)|oE(t.expression),t}function Qn(e,n){var t=y(239);return t.expression=e,t.statement=ra(n),t.transformFlags|=oE(t.expression)|oE(t.statement),t}function Zn(e,n,t,r){var a=y(240);return a.initializer=e,a.condition=n,a.incrementor=t,a.statement=ra(r),a.transformFlags|=oE(a.initializer)|oE(a.condition)|oE(a.incrementor)|oE(a.statement),a}function $n(e,n,t){var r=y(241);return r.initializer=e,r.expression=n,r.statement=ra(t),r.transformFlags|=oE(r.initializer)|oE(r.expression)|oE(r.statement),r}function et(e,n,t,a){var i=y(242);return i.awaitModifier=e,i.initializer=n,i.expression=r().parenthesizeExpressionForDisallowedComma(t),i.statement=ra(a),i.transformFlags|=oE(i.awaitModifier)|oE(i.initializer)|oE(i.expression)|oE(i.statement)|512,e&&(i.transformFlags|=64),i}function nt(e){var n=y(243);return n.label=na(e),n.transformFlags|=2097152|oE(n.label),n}function tt(e){var n=y(244);return n.label=na(e),n.transformFlags|=2097152|oE(n.label),n}function rt(e){var n=y(245);return n.expression=e,n.transformFlags|=2097216|oE(n.expression),n}function at(e,n){var t=y(246);return t.expression=e,t.statement=ra(n),t.transformFlags|=oE(t.expression)|oE(t.statement),t}function it(e,n){var t=y(247);return t.expression=r().parenthesizeExpressionForDisallowedComma(e),t.caseBlock=n,t.transformFlags|=oE(t.expression)|oE(t.caseBlock),t}function ot(e,n){var t=y(248);return t.label=na(e),t.statement=ra(n),t.transformFlags|=oE(t.label)|oE(t.statement),t}function st(e,n,r){return e.label!==n||e.statement!==r?t(ot(n,r),e):e}function ct(e){var n=y(249);return n.expression=e,n.transformFlags|=oE(n.expression),n}function lt(e,n,t){var r=y(250);return r.tryBlock=e,r.catchClause=n,r.finallyBlock=t,r.transformFlags|=oE(r.tryBlock)|oE(r.catchClause)|oE(r.finallyBlock),r}function dt(e,n,t,a){return e=C(252,void 0,void 0,e,t,a&&r().parenthesizeExpressionForDisallowedComma(a)),e.exclamationToken=n,e.transformFlags|=oE(e.exclamationToken),n&&(e.transformFlags|=1),e}function ut(e,n){void 0===n&&(n=0);var t=y(253);return t.flags|=3&n,t.declarations=g(e),t.transformFlags|=2097152|sE(t.declarations),3&n&&(t.transformFlags|=131584),t}function pt(e,n,t,r,a,i,o,s){return e=S(254,e,n,r,a,i,o,s),e.asteriskToken=t,!e.body||2&ue.modifiersToFlags(e.modifiers)?e.transformFlags=1:(e.transformFlags|=2097152|oE(e.asteriskToken),256&ue.modifiersToFlags(e.modifiers)?e.asteriskToken?e.transformFlags|=64:e.transformFlags|=128:e.asteriskToken&&(e.transformFlags|=1024)),e}function mt(e,n,t,r,a,i,o,s,c){return e.decorators!==n||e.modifiers!==t||e.asteriskToken!==r||e.name!==a||e.typeParameters!==i||e.parameters!==o||e.type!==s||e.body!==c?x(pt(n,t,r,a,i,o,s,c),e):e}function _t(e,n,t,r,a,i){return e=D(255,e,n,t,r,a,i),2&ue.modifiersToFlags(e.modifiers)?e.transformFlags=1:(e.transformFlags|=512,4096&e.transformFlags&&(e.transformFlags|=1)),e}function ft(e,n,r,a,i,o,s){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.typeParameters!==i||e.heritageClauses!==o||e.members!==s?t(_t(n,r,a,i,o,s),e):e}function gt(e,n,t,r,a,i){return e=L(256,e,n,t,r,a),e.members=g(i),e.transformFlags=1,e}function yt(e,n,r,a,i,o,s){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.typeParameters!==i||e.heritageClauses!==o||e.members!==s?t(gt(n,r,a,i,o,s),e):e}function ht(e,n,t,r,a){return e=b(257,e,n,t,r),e.type=a,e.transformFlags=1,e}function vt(e,n,r,a,i,o){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.typeParameters!==i||e.type!==o?t(ht(n,r,a,i,o),e):e}function bt(e,n,t,r){return e=v(258,e,n,t),e.members=g(r),e.transformFlags|=1|sE(e.members),e.transformFlags&=-16777217,e}function Et(e,n,r,a,i){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.members!==i?t(bt(n,r,a,i),e):e}function Tt(e,n,t,r,a){return void 0===a&&(a=0),e=h(259,e,n),e.flags|=1044&a,e.name=t,e.body=r,2&ue.modifiersToFlags(e.modifiers)?e.transformFlags=1:e.transformFlags|=oE(e.name)|oE(e.body)|1,e.transformFlags&=-16777217,e}function St(e,n,r,a,i){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.body!==i?t(Tt(n,r,a,i,e.flags),e):e}function xt(e){var n=y(260);return n.statements=g(e),n.transformFlags|=sE(n.statements),n}function Lt(e){var n=y(261);return n.clauses=g(e),n.transformFlags|=sE(n.clauses),n}function Dt(e){return e=v(262,void 0,void 0,e),e.transformFlags=1,e}function At(e,n,t,r,a){return e=v(263,e,n,r),e.isTypeOnly=t,e.moduleReference=a,e.transformFlags|=oE(e.moduleReference),ue.isExternalModuleReference(e.moduleReference)||(e.transformFlags|=1),e.transformFlags&=-16777217,e}function Ct(e,n,r,a,i,o){return e.decorators!==n||e.modifiers!==r||e.isTypeOnly!==a||e.name!==i||e.moduleReference!==o?t(At(n,r,a,i,o),e):e}function It(e,n,t,r){return e=h(264,e,n),e.importClause=t,e.moduleSpecifier=r,e.transformFlags|=oE(e.importClause)|oE(e.moduleSpecifier),e.transformFlags&=-16777217,e}function Nt(e,n,r,a,i){return e.decorators!==n||e.modifiers!==r||e.importClause!==a||e.moduleSpecifier!==i?t(It(n,r,a,i),e):e}function kt(e,n,t){var r=y(265);return r.isTypeOnly=e,r.name=n,r.namedBindings=t,r.transformFlags|=oE(r.name)|oE(r.namedBindings),e&&(r.transformFlags|=1),r.transformFlags&=-16777217,r}function Rt(e){var n=y(266);return n.name=e,n.transformFlags|=oE(n.name),n.transformFlags&=-16777217,n}function Ot(e){var n=y(272);return n.name=e,n.transformFlags|=4|oE(n.name),n.transformFlags&=-16777217,n}function Pt(e){var n=y(267);return n.elements=g(e),n.transformFlags|=sE(n.elements),n.transformFlags&=-16777217,n}function wt(e,n){var t=y(268);return t.propertyName=e,t.name=n,t.transformFlags|=oE(t.propertyName)|oE(t.name),t.transformFlags&=-16777217,t}function Mt(e,n,t,a){return e=h(269,e,n),e.isExportEquals=t,e.expression=t?r().parenthesizeRightSideOfBinary(63,void 0,a):r().parenthesizeExpressionOfExportDefault(a),e.transformFlags|=oE(e.expression),e.transformFlags&=-16777217,e}function Ft(e,n,r,a){return e.decorators!==n||e.modifiers!==r||e.expression!==a?t(Mt(n,r,e.isExportEquals,a),e):e}function Gt(e,n,t,r,a){return e=h(270,e,n),e.isTypeOnly=t,e.exportClause=r,e.moduleSpecifier=a,e.transformFlags|=oE(e.exportClause)|oE(e.moduleSpecifier),e.transformFlags&=-16777217,e}function Bt(e,n,r,a,i,o){return e.decorators!==n||e.modifiers!==r||e.isTypeOnly!==a||e.exportClause!==i||e.moduleSpecifier!==o?t(Gt(n,r,a,i,o),e):e}function Ut(e){var n=y(271);return n.elements=g(e),n.transformFlags|=sE(n.elements),n.transformFlags&=-16777217,n}function Vt(e,n){var t=y(273);return t.propertyName=na(e),t.name=na(n),t.transformFlags|=oE(t.propertyName)|oE(t.name),t.transformFlags&=-16777217,t}function jt(e){var n=y(275);return n.expression=e,n.transformFlags|=oE(n.expression),n.transformFlags&=-16777217,n}function Kt(e,n){return e=y(e),e.type=n,e}function Ht(e,n){return E(312,void 0,void 0,void 0,void 0,e,n)}function Wt(e,n){void 0===n&&(n=!1);var t=y(317);return t.jsDocPropertyTags=ea(e),t.isArrayType=n,t}function zt(e){var n=y(304);return n.type=e,n}function Jt(e,n,t){var r=y(318);return r.typeParameters=ea(e),r.parameters=g(n),r.type=t,r}function qt(e){var n=aE(e.kind);return e.tagName.escapedText===ue.escapeLeadingUnderscores(n)?e.tagName:F(n)}function Xt(e,n,t){return e=y(e),e.tagName=n,e.comment=t,e}function Yt(e,n,t,r){return e=Xt(339,null!=e?e:F("template"),r),e.constraint=n,e.typeParameters=g(t),e}function Qt(e,n,t,r){return e=Xt(340,null!=e?e:F("typedef"),r),e.typeExpression=n,e.fullName=t,e.name=ue.getJSDocTypeAliasName(t),e}function Zt(e,n,t,r,a,i){return e=Xt(335,null!=e?e:F("param"),i),e.typeExpression=r,e.name=n,e.isNameFirst=!!a,e.isBracketed=t,e}function $t(e,n,t,r,a,i){return e=Xt(342,null!=e?e:F("prop"),i),e.typeExpression=r,e.name=n,e.isNameFirst=!!a,e.isBracketed=t,e}function er(e,n,t,r){return e=Xt(333,null!=e?e:F("callback"),r),e.typeExpression=n,e.fullName=t,e.name=ue.getJSDocTypeAliasName(t),e}function nr(e,n,t){return e=Xt(323,null!=e?e:F("augments"),t),e.class=n,e}function tr(e,n,t){return e=Xt(324,null!=e?e:F("implements"),t),e.class=n,e}function rr(e,n,t){return e=Xt(341,null!=e?e:F("see"),t),e.name=n,e}function ar(e){var n=y(305);return n.name=e,n}function ir(e,n){var t=y(306);return t.left=e,t.right=n,t.transformFlags|=oE(t.left)|oE(t.right),t}function or(e,n){var t=y(319);return t.name=e,t.text=n,t}function sr(e,n){var t=y(320);return t.name=e,t.text=n,t}function cr(e,n){var t=y(321);return t.name=e,t.text=n,t}function lr(e,n,t){return Xt(e,null!=n?n:F(aE(e)),t)}function dr(e,n,t,r){return n=Xt(e,null!=n?n:F(aE(e)),r),n.typeExpression=t,n}function ur(e,n){return Xt(322,e,n)}function pr(e){var n=y(316);return n.text=e,n}function mr(e,n){var t=y(315);return t.comment=e,t.tags=ea(n),t}function _r(e,n,t){var r=y(276);return r.openingElement=e,r.children=g(n),r.closingElement=t,r.transformFlags|=oE(r.openingElement)|sE(r.children)|oE(r.closingElement)|2,r}function fr(e,n,t){var r=y(277);return r.tagName=e,r.typeArguments=ea(n),r.attributes=t,r.transformFlags|=oE(r.tagName)|sE(r.typeArguments)|oE(r.attributes)|2,r.typeArguments&&(r.transformFlags|=1),r}function gr(e,n,t){var r=y(278);return r.tagName=e,r.typeArguments=ea(n),r.attributes=t,r.transformFlags|=oE(r.tagName)|sE(r.typeArguments)|oE(r.attributes)|2,n&&(r.transformFlags|=1),r}function yr(e){var n=y(279);return n.tagName=e,n.transformFlags|=2|oE(n.tagName),n}function hr(e,n,t){var r=y(280);return r.openingFragment=e,r.children=g(n),r.closingFragment=t,r.transformFlags|=oE(r.openingFragment)|sE(r.children)|oE(r.closingFragment)|2,r}function vr(e,n){var t=y(11);return t.text=e,t.containsOnlyTriviaWhiteSpaces=!!n,t.transformFlags|=2,t}function br(e,n){var t=y(283);return t.name=e,t.initializer=n,t.transformFlags|=oE(t.name)|oE(t.initializer)|2,t}function Er(e){var n=y(284);return n.properties=g(e),n.transformFlags|=2|sE(n.properties),n}function Tr(e){var n=y(285);return n.expression=e,n.transformFlags|=2|oE(n.expression),n}function Sr(e,n){var t=y(286);return t.dotDotDotToken=e,t.expression=n,t.transformFlags|=oE(t.dotDotDotToken)|oE(t.expression)|2,t}function xr(e,n){var t=y(287);return t.expression=r().parenthesizeExpressionForDisallowedComma(e),t.statements=g(n),t.transformFlags|=oE(t.expression)|sE(t.statements),t}function Lr(e){var n=y(288);return n.statements=g(e),n.transformFlags=sE(n.statements),n}function Dr(e,n){var t=y(289);switch(t.token=e,t.types=g(n),t.transformFlags|=sE(t.types),e){case 94:t.transformFlags|=512;break;case 117:t.transformFlags|=1;break;default:return ue.Debug.assertNever(e)}return t}function Ar(e,n){var t=y(290);return e=ue.isString(e)?dt(e,void 0,void 0,void 0):e,t.variableDeclaration=e,t.block=n,t.transformFlags|=oE(t.variableDeclaration)|oE(t.block),e||(t.transformFlags|=32),t}function Cr(e,n){return e=v(291,void 0,void 0,e),e.initializer=r().parenthesizeExpressionForDisallowedComma(n),e.transformFlags|=oE(e.name)|oE(e.initializer),e}function Ir(e,n){return e=v(292,void 0,void 0,e),e.objectAssignmentInitializer=n&&r().parenthesizeExpressionForDisallowedComma(n),e.transformFlags|=512|oE(e.objectAssignmentInitializer),e}function Nr(e){var n=y(293);return n.expression=r().parenthesizeExpressionForDisallowedComma(e),n.transformFlags|=32832|oE(n.expression),n}function kr(e,n){var t=y(294);return t.name=na(e),t.initializer=n&&r().parenthesizeExpressionForDisallowedComma(n),t.transformFlags|=oE(t.name)|oE(t.initializer)|1,t}function Rr(e,n){void 0===n&&(n=ue.emptyArray);var t=y(301);return t.prepends=n,t.sourceFiles=e,t}function Or(e,n){return e=y(e),e.data=n,e}function Pr(e,n){var t=y(345);return t.expression=e,t.original=n,t.transformFlags|=1|oE(t.expression),ue.setTextRange(t,n),t}function wr(e,n){return e.expression!==n?t(Pr(n,e.original),e):e}function Mr(e){if(ue.nodeIsSynthesized(e)&&!ue.isParseTreeNode(e)&&!e.original&&!e.emitNode&&!e.id){if(ue.isCommaListExpression(e))return e.elements;if(ue.isBinaryExpression(e)&&ue.isCommaToken(e.operatorToken))return[e.left,e.right]}return e}function Fr(e){var n=y(346);return n.elements=g(ue.sameFlatMap(e,Mr)),n.transformFlags|=sE(n.elements),n}function Gr(e,n){var t=y(349);return t.expression=e,t.thisArg=n,t.transformFlags|=oE(t.expression)|oE(t.thisArg),t}function Br(e){if(void 0===e)return e;var t,r=ue.isSourceFile(e)?n.createBaseSourceFileNode(300):ue.isIdentifier(e)?n.createBaseIdentifierNode(79):ue.isPrivateIdentifier(e)?n.createBasePrivateIdentifierNode(80):ue.isNodeKind(e.kind)?n.createBaseNode(e.kind):n.createBaseTokenNode(e.kind);for(t in r.flags|=-9&e.flags,r.transformFlags=e.transformFlags,uE(r,e),e)!r.hasOwnProperty(t)&&e.hasOwnProperty(t)&&(r[t]=e[t]);return r}function Ur(){return En(N("0"))}function Vr(e,n,t){return ue.isCallChain(e)?sn(en(e,void 0,n),void 0,void 0,t):on($e(e,n),void 0,t)}function jr(e,n,t){return Vr(F(e),n,t)}function Kr(e,n,t){return!!t&&(e.push(Cr(n,t)),!0)}function Hr(e,n){switch(e.kind){case 210:return _n(e,n);case 209:return pn(e,e.type,n);case 227:return Fn(e,n,e.type);case 228:return Bn(e,n);case 345:return wr(e,n)}}function Wr(e){return ue.isParenthesizedExpression(e)&&ue.nodeIsSynthesized(e)&&ue.nodeIsSynthesized(ue.getSourceMapRange(e))&&ue.nodeIsSynthesized(ue.getCommentRange(e))&&!ue.some(ue.getSyntheticLeadingComments(e))&&!ue.some(ue.getSyntheticTrailingComments(e))}function zr(e,n){var t=ue.skipParentheses(e);switch(t.kind){case 79:return n;case 108:case 8:case 9:case 10:return;case 202:return 0===t.elements.length?void 0:1;case 203:return 0<t.properties.length;default:return 1}}function Jr(e,n,t,r){void 0===r&&(r=0);var a,i=ue.getNameOfDeclaration(e);return i&&ue.isIdentifier(i)&&!ue.isGeneratedIdentifier(i)?(a=ue.setParent(ue.setTextRange(Br(i),i),i.parent),r|=ue.getEmitFlags(i),t||(r|=48),n||(r|=1536),r&&ue.setEmitFlags(a,r),a):B(e)}function qr(e,n,t){return Jr(e,n,t,8192)}function Xr(e,n,t,r){return e=$e(e,ue.nodeIsSynthesized(n)?n:Br(n)),ue.setTextRange(e,n),n=0,r||(n|=48),t||(n|=1536),n&&ue.setEmitFlags(e,n),e}function Yr(){return ue.startOnNewLine(qn(O("use strict")))}function Qr(e,n,t){ue.Debug.assert(0===n.length,"Prologue directives should be at the first statement in the target statements array");for(var r,a=!1,i=0,o=e.length;i<o;){var s=e[i];if(!ue.isPrologueDirective(s))break;r=s,ue.isStringLiteral(r.expression)&&"use strict"===r.expression.text&&(a=!0),n.push(s),i++}return t&&!a&&n.push(Yr()),i}function Zr(e,n,t,r,a){void 0===a&&(a=ue.returnTrue);for(var i=e.length;void 0!==t&&t<i;){var o=e[t];if(!(1048576&ue.getEmitFlags(o)&&a(o)))break;ue.append(n,r?ue.visitNode(o,r,ue.isStatement):o),t++}return t}function $r(e,n,t){for(var r=t;r<e.length&&n(e[r]);)r++;return r}function ea(e){return e?g(e):void 0}function na(e){return"string"==typeof e?F(e):e}function ta(e){return"string"==typeof e?O(e):"number"==typeof e?N(e):"boolean"==typeof e?(e?K:H)():e}function ra(e){return e&&ue.isNotEmittedStatement(e)?ue.setTextRange(uE(Jn(),e),e):e}}function tE(e,n){return e!==n&&ue.setTextRange(e,n),e}function rE(e,n){return e!==n&&(uE(e,n),ue.setTextRange(e,n)),e}function aE(e){switch(e){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 ue.Debug.fail("Unsupported kind: "+ue.Debug.formatSyntaxKind(e))}}function iE(e){return-16777217&oE(e)}function oE(e){var n;return e?(n=e.transformFlags&~lE(e.kind),ue.isNamedDeclaration(e)&&ue.isPropertyName(e.name)?(e=e.name,n|33562624&e.transformFlags):n):0}function sE(e){return e?e.transformFlags:0}function cE(e){for(var n=0,t=0,r=e;t<r.length;t++)n|=oE(r[t]);e.transformFlags=n}function lE(e){if(175<=e&&e<=198)return-2;switch(e){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;default:return 536870912}}function dE(e){return e.flags|=8,e}function uE(e,n){return(e.original=n)&&(n=n.emitNode)&&(e.emitNode=((e,n)=>{var t=e.flags,r=e.leadingComments,a=e.trailingComments,i=e.commentRange,o=e.sourceMapRange,s=e.tokenSourceMapRanges,c=e.constantValue,l=e.helpers;e=e.startsOnNewLine;if(n=n||{},r&&(n.leadingComments=ue.addRange(r.slice(),n.leadingComments)),a&&(n.trailingComments=ue.addRange(a.slice(),n.trailingComments)),t&&(n.flags=-268435457&t),i&&(n.commentRange=i),o&&(n.sourceMapRange=o),s&&(n.tokenSourceMapRanges=((e,n)=>{for(var t in n=n||[],e)n[t]=e[t];return n})(s,n.tokenSourceMapRanges)),void 0!==c&&(n.constantValue=c),l)for(var d=0,u=l;d<u.length;d++){var p=u[d];n.helpers=ue.appendIfUnique(n.helpers,p)}return void 0!==e&&(n.startsOnNewLine=e),n})(n,e.emitNode)),e}function pE(e){var n;if(e.emitNode)ye.Debug.assert(!(268435456&e.emitNode.flags),"Invalid attempt to mutate an immutable node.");else{if(ye.isParseTreeNode(e)){if(300===e.kind)return e.emitNode={annotatedNodes:[e]};pE(null!=(n=ye.getSourceFileOfNode(ye.getParseTreeNode(ye.getSourceFileOfNode(e))))?n:ye.Debug.fail("Could not determine parsed source file.")).annotatedNodes.push(e)}e.emitNode={}}return e.emitNode}function mE(e){return null==(e=e.emitNode)?void 0:e.leadingComments}function _E(e,n){return pE(e).leadingComments=n,e}function fE(e){return null==(e=e.emitNode)?void 0:e.trailingComments}function gE(e,n){return pE(e).trailingComments=n,e}function yE(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];return function(t){for(var r="",a=0;a<n.length;a++)r=(r+=e[a])+t(n[a]);return r+e[e.length-1]}}function hE(e,n,t,r){return be.isComputedPropertyName(t)?be.setTextRange(e.createElementAccessExpression(n,t.expression),r):(r=be.setTextRange(be.isMemberName(t)?e.createPropertyAccessExpression(n,t):e.createElementAccessExpression(n,t),t),be.getOrCreateEmitNode(r).flags|=64,r)}function vE(e,n){return e=be.parseNodeFactory.createIdentifier(e||"React"),be.setParent(e,be.getParseTreeNode(n)),e}function bE(e,n,t){var r,a;return be.isQualifiedName(n)?(r=bE(e,n.left,t),(a=e.createIdentifier(be.idText(n.right))).escapedText=n.right.escapedText,e.createPropertyAccessExpression(r,a)):vE(be.idText(n),t)}function EE(e,n,t,r){return n?bE(e,n,r):e.createPropertyAccessExpression(vE(t,r),"createElement")}function TE(e,n){return be.isIdentifier(n)?e.createStringLiteralFromNode(n):be.isComputedPropertyName(n)?be.setParent(be.setTextRange(e.cloneNode(n.expression),n.expression),n.expression.parent):be.setParent(be.setTextRange(e.cloneNode(n),n),n.parent)}function SE(e){return be.isStringLiteral(e.expression)&&"use strict"===e.expression.text}function xE(e,n){switch(void 0===n&&(n=15),e.kind){case 210:return 0!=(1&n);case 209:case 227:return 0!=(2&n);case 228:return 0!=(4&n);case 345:return 0!=(8&n)}return!1}function LE(e,n){for(void 0===n&&(n=15);xE(e,n);)e=e.expression;return e}function DE(e){return be.setStartsOnNewLine(e,!0)}function AE(e){return e=be.getOriginalNode(e,be.isSourceFile),e=e&&e.emitNode,e&&e.externalHelpersModuleName}function CE(e,n,t,r,a){if(t.importHelpers&&be.isEffectiveExternalModule(n,t)){var i=AE(n);if(i)return i;i=be.getEmitModuleKind(t);var o=(r||t.esModuleInterop&&a)&&i!==be.ModuleKind.System&&i<be.ModuleKind.ES2015;if(!o&&(r=be.getEmitHelpers(n),r))for(var s=0,c=r;s<c.length;s++)if(!c[s].scoped){o=!0;break}return o?(t=be.getOriginalNode(n,be.isSourceFile),(a=be.getOrCreateEmitNode(t)).externalHelpersModuleName||(a.externalHelpersModuleName=e.createUniqueName(be.externalHelpersModuleNameText))):void 0}}function IE(e,n,t,r){if(n)return n.moduleName?e.createStringLiteral(n.moduleName):!n.isDeclarationFile&&be.outFile(r)?e.createStringLiteral(be.getExternalModuleNameFromPath(t,n.fileName)):void 0}function NE(e){if(be.isDeclarationBindingElement(e))return e.name;if(!be.isObjectLiteralElementLike(e))return be.isAssignmentExpression(e,!0)?NE(e.left):be.isSpreadElement(e)?NE(e.expression):e;switch(e.kind){case 291:return NE(e.initializer);case 292:return e.name;case 293:return NE(e.expression)}}function kE(e){switch(e.kind){case 201:if(e.propertyName)return n=e.propertyName,be.isPrivateIdentifier(n)?be.Debug.failBadSyntaxKind(n):be.isComputedPropertyName(n)&&RE(n.expression)?n.expression:n;break;case 291:var n;if(e.name)return n=e.name,be.isPrivateIdentifier(n)?be.Debug.failBadSyntaxKind(n):be.isComputedPropertyName(n)&&RE(n.expression)?n.expression:n;break;case 293:return e.name&&be.isPrivateIdentifier(e.name)?be.Debug.failBadSyntaxKind(e.name):e.name}var t=NE(e);if(t&&be.isPropertyName(t))return t}function RE(e){return e=e.kind,10===e||8===e}function OE(e){return 60===(n=e)||55===(r=t=n)||56===r||50===(t=r=t)||51===t||52===t||34===(r=t=r)||36===r||35===r||37===r||29===(t=r=t)||32===t||31===t||33===t||102===t||101===t||47===(r=t=r)||48===r||49===r||39===(t=r=t)||40===t||42===(t=r)||41===(t=t)||43===t||44===t||be.isAssignmentOperator(n)||27===e;var n,t,r}function PE(e,n,t,r,a,i,o){var s=0<n?a[n-1]:void 0;return be.Debug.assertEqual(t[n],PE),a[n]=e.onEnter(r[n],s,o),t[n]=UE(e,PE),n}function wE(e,n,t,r,a,i,o){return be.Debug.assertEqual(t[n],wE),be.Debug.assertIsDefined(e.onLeft),t[n]=UE(e,wE),e=e.onLeft(r[n].left,a[n],r[n]),e?(jE(n,r,e),VE(n,t,r,a,e)):n}function ME(e,n,t,r,a,i,o){return be.Debug.assertEqual(t[n],ME),be.Debug.assertIsDefined(e.onOperator),t[n]=UE(e,ME),e.onOperator(r[n].operatorToken,a[n],r[n]),n}function FE(e,n,t,r,a,i,o){return be.Debug.assertEqual(t[n],FE),be.Debug.assertIsDefined(e.onRight),t[n]=UE(e,FE),e=e.onRight(r[n].right,a[n],r[n]),e?(jE(n,r,e),VE(n,t,r,a,e)):n}function GE(e,n,t,r,a,i,o){return be.Debug.assertEqual(t[n],GE),t[n]=UE(e,GE),r=e.onExit(r[n],a[n]),0<n?(n--,e.foldState&&(t=t[n]===GE?"right":"left",a[n]=e.foldState(a[n],r,t))):i.value=r,n}function BE(e,n,t,r,a,i,o){return be.Debug.assertEqual(t[n],BE),n}function UE(e,n){switch(n){case PE:if(e.onLeft)return wE;case wE:if(e.onOperator)return ME;case ME:if(e.onRight)return FE;case FE:return GE;case GE:case BE:return BE;default:be.Debug.fail("Invalid state")}}function VE(e,n,t,r,a){return n[++e]=PE,t[e]=a,r[e]=void 0,e}function jE(e,n,t){if(be.Debug.shouldAssert(2))for(;0<=e;)be.Debug.assert(n[e]!==t,"Circular traversal detected."),e--}function KE(e,n){return n&&e(n)}function HE(e,n,t){if(t){if(n)return n(t);for(var r=0,a=t;r<a.length;r++){var i=e(a[r]);if(i)return i}}}function WE(e,n){return 42===e.charCodeAt(n+1)&&42===e.charCodeAt(n+2)&&47!==e.charCodeAt(n+3)}function zE(e,n,t){if(e&&!(e.kind<=158))switch(e.kind){case 159:return KE(n,e.left)||KE(n,e.right);case 161:return KE(n,e.name)||KE(n,e.constraint)||KE(n,e.default)||KE(n,e.expression);case 292:return HE(n,t,e.decorators)||HE(n,t,e.modifiers)||KE(n,e.name)||KE(n,e.questionToken)||KE(n,e.exclamationToken)||KE(n,e.equalsToken)||KE(n,e.objectAssignmentInitializer);case 293:return KE(n,e.expression);case 162:return HE(n,t,e.decorators)||HE(n,t,e.modifiers)||KE(n,e.dotDotDotToken)||KE(n,e.name)||KE(n,e.questionToken)||KE(n,e.type)||KE(n,e.initializer);case 165:return HE(n,t,e.decorators)||HE(n,t,e.modifiers)||KE(n,e.name)||KE(n,e.questionToken)||KE(n,e.exclamationToken)||KE(n,e.type)||KE(n,e.initializer);case 164:return HE(n,t,e.decorators)||HE(n,t,e.modifiers)||KE(n,e.name)||KE(n,e.questionToken)||KE(n,e.type)||KE(n,e.initializer);case 291:return HE(n,t,e.decorators)||HE(n,t,e.modifiers)||KE(n,e.name)||KE(n,e.questionToken)||KE(n,e.initializer);case 252:return HE(n,t,e.decorators)||HE(n,t,e.modifiers)||KE(n,e.name)||KE(n,e.exclamationToken)||KE(n,e.type)||KE(n,e.initializer);case 201:return HE(n,t,e.decorators)||HE(n,t,e.modifiers)||KE(n,e.dotDotDotToken)||KE(n,e.propertyName)||KE(n,e.name)||KE(n,e.initializer);case 177:case 178:case 172:case 173:case 174:return HE(n,t,e.decorators)||HE(n,t,e.modifiers)||HE(n,t,e.typeParameters)||HE(n,t,e.parameters)||KE(n,e.type);case 167:case 166:case 169:case 170:case 171:case 211:case 254:case 212:return HE(n,t,e.decorators)||HE(n,t,e.modifiers)||KE(n,e.asteriskToken)||KE(n,e.name)||KE(n,e.questionToken)||KE(n,e.exclamationToken)||HE(n,t,e.typeParameters)||HE(n,t,e.parameters)||KE(n,e.type)||KE(n,e.equalsGreaterThanToken)||KE(n,e.body);case 168:return HE(n,t,e.decorators)||HE(n,t,e.modifiers)||KE(n,e.body);case 176:return KE(n,e.typeName)||HE(n,t,e.typeArguments);case 175:return KE(n,e.assertsModifier)||KE(n,e.parameterName)||KE(n,e.type);case 179:return KE(n,e.exprName);case 180:return HE(n,t,e.members);case 181:return KE(n,e.elementType);case 182:return HE(n,t,e.elements);case 185:case 186:return HE(n,t,e.types);case 187:return KE(n,e.checkType)||KE(n,e.extendsType)||KE(n,e.trueType)||KE(n,e.falseType);case 188:return KE(n,e.typeParameter);case 198:return KE(n,e.argument)||KE(n,e.qualifier)||HE(n,t,e.typeArguments);case 189:case 191:return KE(n,e.type);case 192:return KE(n,e.objectType)||KE(n,e.indexType);case 193:return KE(n,e.readonlyToken)||KE(n,e.typeParameter)||KE(n,e.nameType)||KE(n,e.questionToken)||KE(n,e.type);case 194:return KE(n,e.literal);case 195:return KE(n,e.dotDotDotToken)||KE(n,e.name)||KE(n,e.questionToken)||KE(n,e.type);case 199:case 200:case 202:return HE(n,t,e.elements);case 203:return HE(n,t,e.properties);case 204:return KE(n,e.expression)||KE(n,e.questionDotToken)||KE(n,e.name);case 205:return KE(n,e.expression)||KE(n,e.questionDotToken)||KE(n,e.argumentExpression);case 206:case 207:return KE(n,e.expression)||KE(n,e.questionDotToken)||HE(n,t,e.typeArguments)||HE(n,t,e.arguments);case 208:return KE(n,e.tag)||KE(n,e.questionDotToken)||HE(n,t,e.typeArguments)||KE(n,e.template);case 209:return KE(n,e.type)||KE(n,e.expression);case 210:case 213:case 214:case 215:return KE(n,e.expression);case 217:return KE(n,e.operand);case 222:return KE(n,e.asteriskToken)||KE(n,e.expression);case 216:return KE(n,e.expression);case 218:return KE(n,e.operand);case 219:return KE(n,e.left)||KE(n,e.operatorToken)||KE(n,e.right);case 227:return KE(n,e.expression)||KE(n,e.type);case 228:return KE(n,e.expression);case 229:return KE(n,e.name);case 220:return KE(n,e.condition)||KE(n,e.questionToken)||KE(n,e.whenTrue)||KE(n,e.colonToken)||KE(n,e.whenFalse);case 223:return KE(n,e.expression);case 233:case 260:return HE(n,t,e.statements);case 300:return HE(n,t,e.statements)||KE(n,e.endOfFileToken);case 235:return HE(n,t,e.decorators)||HE(n,t,e.modifiers)||KE(n,e.declarationList);case 253:return HE(n,t,e.declarations);case 236:return KE(n,e.expression);case 237:return KE(n,e.expression)||KE(n,e.thenStatement)||KE(n,e.elseStatement);case 238:return KE(n,e.statement)||KE(n,e.expression);case 239:return KE(n,e.expression)||KE(n,e.statement);case 240:return KE(n,e.initializer)||KE(n,e.condition)||KE(n,e.incrementor)||KE(n,e.statement);case 241:return KE(n,e.initializer)||KE(n,e.expression)||KE(n,e.statement);case 242:return KE(n,e.awaitModifier)||KE(n,e.initializer)||KE(n,e.expression)||KE(n,e.statement);case 243:case 244:return KE(n,e.label);case 245:return KE(n,e.expression);case 246:return KE(n,e.expression)||KE(n,e.statement);case 247:return KE(n,e.expression)||KE(n,e.caseBlock);case 261:return HE(n,t,e.clauses);case 287:return KE(n,e.expression)||HE(n,t,e.statements);case 288:return HE(n,t,e.statements);case 248:return KE(n,e.label)||KE(n,e.statement);case 249:return KE(n,e.expression);case 250:return KE(n,e.tryBlock)||KE(n,e.catchClause)||KE(n,e.finallyBlock);case 290:return KE(n,e.variableDeclaration)||KE(n,e.block);case 163:return KE(n,e.expression);case 255:case 224:case 256:return HE(n,t,e.decorators)||HE(n,t,e.modifiers)||KE(n,e.name)||HE(n,t,e.typeParameters)||HE(n,t,e.heritageClauses)||HE(n,t,e.members);case 257:return HE(n,t,e.decorators)||HE(n,t,e.modifiers)||KE(n,e.name)||HE(n,t,e.typeParameters)||KE(n,e.type);case 258:return HE(n,t,e.decorators)||HE(n,t,e.modifiers)||KE(n,e.name)||HE(n,t,e.members);case 294:return KE(n,e.name)||KE(n,e.initializer);case 259:return HE(n,t,e.decorators)||HE(n,t,e.modifiers)||KE(n,e.name)||KE(n,e.body);case 263:return HE(n,t,e.decorators)||HE(n,t,e.modifiers)||KE(n,e.name)||KE(n,e.moduleReference);case 264:return HE(n,t,e.decorators)||HE(n,t,e.modifiers)||KE(n,e.importClause)||KE(n,e.moduleSpecifier);case 265:return KE(n,e.name)||KE(n,e.namedBindings);case 262:case 266:case 272:return KE(n,e.name);case 267:case 271:return HE(n,t,e.elements);case 270:return HE(n,t,e.decorators)||HE(n,t,e.modifiers)||KE(n,e.exportClause)||KE(n,e.moduleSpecifier);case 268:case 273:return KE(n,e.propertyName)||KE(n,e.name);case 269:return HE(n,t,e.decorators)||HE(n,t,e.modifiers)||KE(n,e.expression);case 221:return KE(n,e.head)||HE(n,t,e.templateSpans);case 231:return KE(n,e.expression)||KE(n,e.literal);case 196:return KE(n,e.head)||HE(n,t,e.templateSpans);case 197:return KE(n,e.type)||KE(n,e.literal);case 160:return KE(n,e.expression);case 289:return HE(n,t,e.types);case 226:return KE(n,e.expression)||HE(n,t,e.typeArguments);case 275:return KE(n,e.expression);case 274:return HE(n,t,e.decorators);case 346:return HE(n,t,e.elements);case 276:return KE(n,e.openingElement)||HE(n,t,e.children)||KE(n,e.closingElement);case 280:return KE(n,e.openingFragment)||HE(n,t,e.children)||KE(n,e.closingFragment);case 277:case 278:return KE(n,e.tagName)||HE(n,t,e.typeArguments)||KE(n,e.attributes);case 284:return HE(n,t,e.properties);case 283:return KE(n,e.name)||KE(n,e.initializer);case 285:return KE(n,e.expression);case 286:return KE(n,e.dotDotDotToken)||KE(n,e.expression);case 279:return KE(n,e.tagName);case 183:case 184:case 304:case 310:case 309:case 311:case 313:return KE(n,e.type);case 312:return HE(n,t,e.parameters)||KE(n,e.type);case 315:return("string"==typeof e.comment?void 0:HE(n,t,e.comment))||HE(n,t,e.tags);case 341:return KE(n,e.tagName)||KE(n,e.name)||("string"==typeof e.comment?void 0:HE(n,t,e.comment));case 305:return KE(n,e.name);case 306:return KE(n,e.left)||KE(n,e.right);case 335:case 342:return KE(n,e.tagName)||(e.isNameFirst?KE(n,e.name)||KE(n,e.typeExpression)||("string"==typeof e.comment?void 0:HE(n,t,e.comment)):KE(n,e.typeExpression)||KE(n,e.name)||("string"==typeof e.comment?void 0:HE(n,t,e.comment)));case 325:return KE(n,e.tagName)||("string"==typeof e.comment?void 0:HE(n,t,e.comment));case 324:case 323:return KE(n,e.tagName)||KE(n,e.class)||("string"==typeof e.comment?void 0:HE(n,t,e.comment));case 339:return KE(n,e.tagName)||KE(n,e.constraint)||HE(n,t,e.typeParameters)||("string"==typeof e.comment?void 0:HE(n,t,e.comment));case 340:return KE(n,e.tagName)||(e.typeExpression&&304===e.typeExpression.kind?KE(n,e.typeExpression)||KE(n,e.fullName)||("string"==typeof e.comment?void 0:HE(n,t,e.comment)):KE(n,e.fullName)||KE(n,e.typeExpression)||("string"==typeof e.comment?void 0:HE(n,t,e.comment)));case 333:return KE(n,e.tagName)||KE(n,e.fullName)||KE(n,e.typeExpression)||("string"==typeof e.comment?void 0:HE(n,t,e.comment));case 336:case 338:case 337:case 334:return KE(n,e.tagName)||KE(n,e.typeExpression)||("string"==typeof e.comment?void 0:HE(n,t,e.comment));case 318:return xe.forEach(e.typeParameters,n)||xe.forEach(e.parameters,n)||KE(n,e.type);case 319:case 320:case 321:return KE(n,e.name);case 317:return xe.forEach(e.jsDocPropertyTags,n);case 322:case 327:case 328:case 329:case 330:case 331:case 326:return KE(n,e.tagName)||("string"==typeof e.comment?void 0:HE(n,t,e.comment));case 345:return KE(n,e.expression)}}function JE(e){var n=[];return zE(e,t,t),n;function t(e){n.unshift(e)}}function qE(e){return void 0!==e.externalModuleIndicator}function XE(e){return qe++,e}function YE(e,n,t,r,a){void 0===a&&(a=!1),QE(e,n,t=void 0===t?2:t,r,6),Be=en,AT();var i,o;n=ST();if(1===Je)i=ZT([],n,n),o=qT();else{for(var s=void 0;1!==Je;){var c=void 0;switch(Je){case 22:c=AL();break;case 110:case 95:case 104:c=qT();break;case 40:c=(MT((function(){return 8===AT()&&58!==AT()}))?aL:IL)();break;case 8:case 10:if(MT((function(){return 58!==AT()}))){c=US();break}default:c=IL()}s&&xe.isArray(s)?s.push(c):s?s=[s,c]:(s=c,1!==Je&&hT(xe.Diagnostics.Unexpected_token))}t=xe.isArray(s)?$T(nn.createArrayLiteralExpression(s),n):xe.Debug.checkDefined(s),r=nn.createExpressionStatement(t),$T(r,n),i=ZT([r],n),o=JT(1,xe.Diagnostics.Unexpected_token)}return t=rT(e,2,6,!1,i,o,Be),a&&tT(t),t.nodeCount=qe,t.identifierCount=Qe,t.identifiers=Xe,t.parseDiagnostics=xe.attachFileToDiagnostics(He,t),We&&(t.jsDocDiagnostics=xe.attachFileToDiagnostics(We,t)),r=t,ZE(),r}function QE(e,n,t,r,a){switch(ke=xe.objectAllocator.getNodeConstructor(),Re=xe.objectAllocator.getTokenConstructor(),Oe=xe.objectAllocator.getIdentifierConstructor(),Pe=xe.objectAllocator.getPrivateIdentifierConstructor(),we=xe.objectAllocator.getSourceFileConstructor(),Ge=xe.normalizePath(e),Ue=n,Ve=t,ze=r,je=a,Ke=xe.getLanguageVariant(a),He=[],Ze=0,Xe=new xe.Map,Ye=new xe.Map,tn=!(Be=qe=Qe=0),je){case 1:case 2:en=131072;break;case 6:en=33685504;break;default:en=0}rn=!1,Me.setText(Ue),Me.setOnError(TT),Me.setScriptTarget(Ve),Me.setLanguageVariant(Ke)}function ZE(){Me.clearCommentDirectives(),Me.setText(""),Me.setOnError(void 0),Ke=je=ze=Ve=Ue=void 0,We=He=void(Be=0),tn=!($e=Xe=void(Ze=0))}function $E(e,n){return n?eT(e):e}function eT(e){xe.Debug.assert(!e.jsDoc);var n=xe.mapDefined(xe.getJSDocCommentRanges(e,Ue),(function(n){return on.parseJSDocComment(e,n.pos,n.end-n.pos)}));return n.length&&(e.jsDoc=n),an&&(an=!1,e.flags|=134217728),e}function nT(e){for(var n,t,r=ze,a=cn.createSyntaxCursor(e),i=(ze={currentNode:function(e){return e=a.currentNode(e),tn&&e&&l(e)&&(e.intersectsChange=!0),e}},[]),o=He,s=(He=[],0),c=d(e.statements,0);-1!==c;)(()=>{var n=e.statements[s],t=e.statements[c],r=(xe.addRange(i,e.statements,s,c),s=u(e.statements,c),xe.findIndex(o,(function(e){return e.start>=n.pos}))),a=0<=r?xe.findIndex(o,(function(e){return e.start>=t.pos}),r):-1;0<=r&&xe.addRange(He,o,r,0<=a?a:void 0),wT((function(){var n=en;for(en|=32768,Me.setTextPos(t.pos),AT();1!==Je;){var r=Me.getStartPos(),a=AS(0,JL);if(i.push(a),r===Me.getStartPos()&&AT(),0<=s){if(r=e.statements[s],a.end===r.pos)break;a.end>r.pos&&(s=u(e.statements,s+1))}}en=n}),2),c=0<=s?d(e.statements,s):-1})();return 0<=s&&(n=e.statements[s],xe.addRange(i,e.statements,s),0<=(t=xe.findIndex(o,(function(e){return e.start>=n.pos}))))&&xe.addRange(He,o,t),ze=r,nn.updateSourceFile(e,xe.setTextRange(nn.createNodeArray(i),e.statements));function l(e){return!(32768&e.flags)&&16777216&e.transformFlags}function d(e,n){for(var t=n;t<e.length;t++)if(l(e[t]))return t;return-1}function u(e,n){for(var t=n;t<e.length;t++)if(!l(e[t]))return t;return-1}}function tT(e){xe.setParentRecursive(e,!0)}function rT(e,n,t,r,a,i,o){return a=nn.createSourceFile(a,i,o),xe.setTextRangePosWidth(a,0,Ue.length),(i=a).externalModuleIndicator=xe.forEach(i.statements,UD)||(e=>2097152&e.flags?VD(e):void 0)(i),(a=!r&&qE(a)&&16777216&a.transformFlags?nT(a):a).text=Ue,a.bindDiagnostics=[],a.bindSuggestionDiagnostics=void 0,a.languageVersion=n,a.fileName=e,a.languageVariant=xe.getLanguageVariant(t),a.isDeclarationFile=r,a.scriptKind=t,a}function aT(e,n){e?en|=n:en&=~n}function iT(e){aT(e,4096)}function oT(e){aT(e,8192)}function sT(e){aT(e,16384)}function cT(e){aT(e,32768)}function lT(e,n){var t;e&=en;return e?(aT(!1,e),t=n(),aT(!0,e),t):n()}function dT(e,n){var t;e&=~en;return e?(aT(!0,e),t=n(),aT(!1,e),t):n()}function uT(e){return lT(4096,e)}function pT(e){return dT(32768,e)}function mT(e){return 0!=(en&e)}function _T(){return mT(8192)}function fT(){return mT(4096)}function gT(){return mT(16384)}function yT(){return mT(32768)}function hT(e,n){bT(Me.getTokenPos(),Me.getTextPos(),e,n)}function vT(e,n,t,r){var a=xe.lastOrUndefined(He);a&&e===a.start||He.push(xe.createDetachedDiagnostic(Ge,e,n,t,r)),rn=!0}function bT(e,n,t,r){vT(e,n-e,t,r)}function ET(e,n,t){bT(e.pos,e.end,n,t)}function TT(e,n){vT(Me.getTextPos(),n,e)}function ST(){return Me.getStartPos()}function xT(){return Me.hasPrecedingJSDocComment()}function LT(){return Je=Me.scan()}function DT(e){return AT(),e()}function AT(){return xe.isKeyword(Je)&&(Me.hasUnicodeEscape()||Me.hasExtendedUnicodeEscape())&&bT(Me.getTokenPos(),Me.getTextPos(),xe.Diagnostics.Keywords_cannot_contain_escape_characters),LT()}function CT(){return Je=Me.scanJsDocToken()}function IT(){return Je=Me.reScanGreaterToken()}function NT(){Je=Me.reScanTemplateHeadOrNoSubstitutionTemplate()}function kT(){return Je=Me.reScanLessThanToken()}function RT(){Je=Me.reScanHashToken()}function OT(){Je=Me.scanJsxIdentifier()}function PT(){Je=Me.scanJsxToken()}function wT(e,n){var t=Je,r=He.length,a=rn,i=en;e=0!==n?Me.lookAhead(e):Me.tryScan(e);return xe.Debug.assert(i===en),e&&0===n||(Je=t,2!==n&&(He.length=r),rn=a),e}function MT(e){return wT(e,1)}function FT(e){return wT(e,0)}function GT(){return 79===Je||116<Je}function BT(){return 79===Je||!(125===Je&&_T()||131===Je&&yT())&&116<Je}function UT(e,n,t){return void 0===t&&(t=!0),Je===e?(t&&AT(),!0):(n?hT(n):hT(xe.Diagnostics._0_expected,xe.tokenToString(e)),!1)}function VT(e){if(xe.isTaggedTemplateExpression(e))bT(xe.skipTrivia(Ue,e.template.pos),e.template.end,xe.Diagnostics.Module_declaration_names_may_only_use_or_quoted_strings);else{var n=xe.isIdentifier(e)?xe.idText(e):void 0;if(n&&xe.isIdentifierText(n,Ve)){var t=xe.skipTrivia(Ue,e.pos);switch(n){case"const":case"let":case"var":return void bT(t,e.end,xe.Diagnostics.Variable_declaration_not_allowed_at_this_location);case"declare":return;case"interface":return void jT(xe.Diagnostics.Interface_name_cannot_be_0,xe.Diagnostics.Interface_must_be_given_a_name,18);case"is":return void bT(t,Me.getTextPos(),xe.Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);case"module":case"namespace":return void jT(xe.Diagnostics.Namespace_name_cannot_be_0,xe.Diagnostics.Namespace_must_be_given_a_name,18);case"type":return void jT(xe.Diagnostics.Type_alias_name_cannot_be_0,xe.Diagnostics.Type_alias_must_be_given_a_name,63)}var r=null!=(r=xe.getSpellingSuggestion(n,sn,(function(e){return e})))?r:(e=>{for(var n=0,t=sn;n<t.length;n++){var r=t[n];if(e.length>r.length+2&&xe.startsWith(e,r))return r+" "+e.slice(r.length)}})(n);r?bT(t,e.end,xe.Diagnostics.Unknown_keyword_or_identifier_Did_you_mean_0,r):0!==Je&&bT(t,e.end,xe.Diagnostics.Unexpected_keyword_or_identifier)}else hT(xe.Diagnostics._0_expected,xe.tokenToString(26))}}function jT(e,n,t){Je===t?hT(n):hT(e,xe.tokenToString(Je))}function KT(e){Je===e?CT():hT(xe.Diagnostics._0_expected,xe.tokenToString(e))}function HT(e){return Je===e&&(AT(),!0)}function WT(e){if(Je===e)return qT()}function zT(e){if(Je===e)return e=ST(),n=Je,CT(),$T(nn.createToken(n),e);var n}function JT(e,n,t){return WT(e)||eS(e,!1,n||xe.Diagnostics._0_expected,t||xe.tokenToString(e))}function qT(){var e=ST(),n=Je;return AT(),$T(nn.createToken(n),e)}function XT(){return 26===Je||19===Je||1===Je||Me.hasPrecedingLineBreak()}function YT(){return!!XT()&&(26===Je&&AT(),!0)}function QT(){YT()||UT(26)}function ZT(e,n,t,r){return e=nn.createNodeArray(e,r),xe.setTextRangePosEnd(e,n,null!=t?t:Me.getStartPos()),e}function $T(e,n,t){return xe.setTextRangePosEnd(e,n,null!=t?t:Me.getStartPos()),en&&(e.flags|=en),rn&&(rn=!1,e.flags|=65536),e}function eS(e,n,t,r){return n?vT(Me.getStartPos(),0,t,r):t&&hT(t,r),n=ST(),$T(79===e?nn.createIdentifier("",void 0,void 0):xe.isTemplateLiteralKind(e)?nn.createTemplateLiteralLikeNode(e,"","",void 0):8===e?nn.createNumericLiteral("",void 0):10===e?nn.createStringLiteral("",void 0):274===e?nn.createMissingDeclaration():nn.createToken(e),n)}function nS(e){var n=Xe.get(e);return void 0===n&&Xe.set(e,n=e),n}function tS(e,n,t){if(e)return Qe++,e=ST(),a=Je,r=nS(Me.getTokenValue()),LT(),$T(nn.createIdentifier(r,void 0,a),e);if(80===Je)return hT(t||xe.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),tS(!0);if(0===Je&&Me.tryScan((function(){return 79===Me.reScanInvalidIdentifier()})))return tS(!0);Qe++;var r=1===Je,a=Me.isReservedWord();e=Me.getTokenText(),t=a?xe.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:xe.Diagnostics.Identifier_expected;return eS(79,r,n||t,e)}function rS(e){return tS(GT(),void 0,e)}function aS(e,n){return tS(BT(),e,n)}function iS(e){return tS(xe.tokenIsIdentifierOrKeyword(Je),e)}function oS(){return xe.tokenIsIdentifierOrKeyword(Je)||10===Je||8===Je}function sS(e){var n;return 10===Je||8===Je?((n=US()).text=nS(n.text),n):e&&22===Je?(n=ST(),UT(22),e=uT(Wx),UT(23),$T(nn.createComputedPropertyName(e),n)):(80===Je?lS:iS)()}function cS(){return sS(!0)}function lS(){var e,n=ST(),t=nn.createPrivateIdentifier((t=Me.getTokenText(),void 0===(e=Ye.get(t))&&Ye.set(t,e=t),e));return AT(),$T(t,n)}function dS(e){return Je===e&&FT(pS)}function uS(){return AT(),!Me.hasPrecedingLineBreak()&&fS()}function pS(){switch(Je){case 85:return 92===AT();case 93:return AT(),88===Je?MT(gS):150===Je?MT(_S):mS();case 88:return gS();case 124:return uS();case 135:case 147:return AT(),fS();default:return uS()}}function mS(){return 41!==Je&&127!==Je&&18!==Je&&fS()}function _S(){return AT(),mS()}function fS(){return 22===Je||18===Je||41===Je||25===Je||oS()}function gS(){return AT(),84===Je||98===Je||118===Je||126===Je&&MT(UL)||130===Je&&MT(VL)}function yS(e,n){if(CS(e))return 1;switch(e){case 0:case 1:case 3:return(26!==Je||!n)&&WL();case 2:return 82===Je||88===Je;case 4:return MT(lx);case 5:return MT(mD)||26===Je&&!n;case 6:return 22===Je||oS();case 12:switch(Je){case 22:case 41:case 25:case 24:return 1;default:return oS()}case 18:return oS();case 9:return 22===Je||25===Je||oS();case 7:return 18===Je?MT(hS):n?BT()&&!TS():Kx()&&!TS();case 8:return eD();case 10:return 27===Je||25===Je||eD();case 19:return BT();case 15:switch(Je){case 27:case 24:return 1}case 11:return 25===Je||Hx();case 16:return QS(!1);case 17:return QS(!0);case 20:case 21:return 27===Je||Cx();case 22:return CD();case 23:return xe.tokenIsIdentifierOrKeyword(Je);case 13:return xe.tokenIsIdentifierOrKeyword(Je)||18===Je;case 14:return 1}return xe.Debug.fail("Non-exhaustive case in 'isListElement'.")}function hS(){var e;return xe.Debug.assert(18===Je),19!==AT()||27===(e=AT())||18===e||94===e||117===e}function vS(){return AT(),BT()}function bS(){return AT(),xe.tokenIsIdentifierOrKeyword(Je)}function ES(){return AT(),xe.tokenIsIdentifierOrKeywordOrGreaterThan(Je)}function TS(){return(117===Je||94===Je)&&MT(SS)}function SS(){return AT(),Hx()}function xS(){return AT(),Cx()}function LS(e){if(1===Je)return 1;switch(e){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:return 19===Je;case 3:return 19===Je||82===Je||88===Je;case 7:return 18===Je||94===Je||117===Je;case 8:return XT()||nL(Je)||38===Je;case 19:return 31===Je||20===Je||18===Je||94===Je||117===Je;case 11:return 21===Je||26===Je;case 15:case 21:case 10:return 23===Je;case 17:case 16:case 18:return 21===Je||23===Je;case 20:return 27!==Je;case 22:return 18===Je||19===Je;case 13:return 31===Je||43===Je;case 14:return 29===Je&&MT(PD);default:return}}function DS(e,n){for(var t=Ze,r=(Ze|=1<<e,[]),a=ST();!LS(e);)if(yS(e,!1))r.push(AS(e,n));else if(NS(e))break;return Ze=t,ZT(r,a)}function AS(e,n){return e=CS(e),e?IS(e):n()}function CS(e){if(ze&&(e=>{switch(e){case 5:case 2:case 0:case 1:case 3:case 6:case 4:case 8:case 17:case 16:return 1}})(e)&&!rn){var n=ze.currentNode(Me.getStartPos());if(!(xe.nodeIsMissing(n)||n.intersectsChange||xe.containsParseError(n))){var t=25358336&n.flags;if(t===en&&((e,n)=>{switch(n){case 5:return(e=>{if(e)switch(e.kind){case 169:case 174:case 170:case 171:case 165:case 232:return 1;case 167:var n=e;return!(79===n.name.kind&&133===n.name.originalKeywordKind)}})(e);case 2:return(e=>{if(e)switch(e.kind){case 287:case 288:return 1}})(e);case 0:case 1:case 3:return(e=>{if(e)switch(e.kind){case 254:case 235:case 233:case 237:case 236:case 249:case 245:case 247:case 244:case 243:case 241:case 242:case 240:case 239:case 246:case 234:case 250:case 248:case 238:case 251:case 264:case 263:case 270:case 269:case 259:case 255:case 256:case 258:case 257:return 1}})(e);case 6:return 294===e.kind;case 4:return(e=>{if(e)switch(e.kind){case 173:case 166:case 174:case 164:case 172:return 1}})(e);case 8:return(e=>252===e.kind&&void 0===e.initializer)(e);case 17:case 16:return(e=>162===e.kind&&void 0===e.initializer)(e)}})(n,e))return n.jsDocCache&&(n.jsDocCache=void 0),n}}}function IS(e){return Me.setTextPos(e.end),AT(),e}function NS(e){if((e=>{switch(e){case 0:return 88===Je?hT(xe.Diagnostics._0_expected,xe.tokenToString(93)):hT(xe.Diagnostics.Declaration_or_statement_expected);case 1:return hT(xe.Diagnostics.Declaration_or_statement_expected);case 2:return hT(xe.Diagnostics.case_or_default_expected);case 3:return hT(xe.Diagnostics.Statement_expected);case 18:case 4:return hT(xe.Diagnostics.Property_or_signature_expected);case 5:return hT(xe.Diagnostics.Unexpected_token_A_constructor_method_accessor_or_property_was_expected);case 6:return hT(xe.Diagnostics.Enum_member_expected);case 7:return hT(xe.Diagnostics.Expression_expected);case 8:return xe.isKeyword(Je)?hT(xe.Diagnostics._0_is_not_allowed_as_a_variable_declaration_name,xe.tokenToString(Je)):hT(xe.Diagnostics.Variable_declaration_expected);case 9:return hT(xe.Diagnostics.Property_destructuring_pattern_expected);case 10:return hT(xe.Diagnostics.Array_element_destructuring_pattern_expected);case 11:return hT(xe.Diagnostics.Argument_expression_expected);case 12:return hT(xe.Diagnostics.Property_assignment_expected);case 15:return hT(xe.Diagnostics.Expression_or_comma_expected);case 17:case 16:return hT(xe.Diagnostics.Parameter_declaration_expected);case 19:return hT(xe.Diagnostics.Type_parameter_declaration_expected);case 20:return hT(xe.Diagnostics.Type_argument_expected);case 21:return hT(xe.Diagnostics.Type_expected);case 22:return hT(xe.Diagnostics.Unexpected_token_expected);case 23:case 13:case 14:return hT(xe.Diagnostics.Identifier_expected);default:}})(e),(()=>{for(var e=0;e<24;e++)if(Ze&1<<e&&(yS(e,!0)||LS(e)))return 1})())return 1;AT()}function kS(e,n,t){for(var r=Ze,a=(Ze|=1<<e,[]),i=ST(),o=-1;;)if(yS(e,!1)){var s=Me.getStartPos();if(a.push(AS(e,n)),o=Me.getTokenPos(),!HT(27)){if(o=-1,LS(e))break;UT(27,6===e?xe.Diagnostics.An_enum_member_name_must_be_followed_by_a_or:void 0),t&&26===Je&&!Me.hasPrecedingLineBreak()&&AT(),s===Me.getStartPos()&&AT()}}else{if(LS(e))break;if(NS(e))break}return Ze=r,ZT(a,i,void 0,0<=o)}function RS(){var e=ZT([],ST());return e.isMissingList=!0,e}function OS(e,n,t,r){return UT(t)?(t=kS(e,n),UT(r),t):RS()}function PS(e,n){for(var t=ST(),r=(e?iS:aS)(n),a=ST();HT(24);){if(29===Je){r.jsdocDotPos=a;break}a=ST(),r=$T(nn.createQualifiedName(r,wS(e,!1)),t)}return r}function wS(e,n){var t;return Me.hasPrecedingLineBreak()&&xe.tokenIsIdentifierOrKeyword(Je)&&MT(BL)?eS(79,!0,xe.Diagnostics.Identifier_expected):80===Je?(t=lS(),n?t:eS(79,!0,xe.Diagnostics.Identifier_expected)):(e?iS:aS)()}function MS(e){for(var n,t,r=ST(),a=[];n=e,t=void 0,t=ST(),n=$T(nn.createTemplateSpan(uT(Wx),BS(n)),t),a.push(n),16===n.literal.kind;);return ZT(a,r)}function FS(e){var n=ST();return $T(nn.createTemplateExpression(VS(e),MS(e)),n)}function GS(){var e=ST();return $T(nn.createTemplateLiteralType(VS(!1),(()=>{for(var e,n=ST(),t=[];e=(()=>{var e=ST();return $T(nn.createTemplateLiteralTypeSpan(Ux(),BS(!1)),e)})(),t.push(e),16===e.literal.kind;);return ZT(t,n)})()),e)}function BS(e){return 19===Je?(Je=Me.reScanTemplateToken(e),e=jS(Je),xe.Debug.assert(16===e.kind||17===e.kind,"Template fragment has wrong token kind"),e):JT(17,xe.Diagnostics._0_expected,xe.tokenToString(19))}function US(){return jS(Je)}function VS(e){return e&&NT(),e=jS(Je),xe.Debug.assert(15===e.kind,"Template head has wrong token kind"),e}function jS(e){var n,t=ST(),r=xe.isTemplateLiteralKind(e)?nn.createTemplateLiteralLikeNode(e,Me.getTokenValue(),(n=14===(n=e)||17===n,(r=Me.getTokenText()).substring(1,r.length-(Me.isUnterminated()?0:n?1:2))),2048&Me.getTokenFlags()):8===e?nn.createNumericLiteral(Me.getTokenValue(),Me.getNumericLiteralFlags()):10===e?nn.createStringLiteral(Me.getTokenValue(),void 0,Me.hasExtendedUnicodeEscape()):xe.isLiteralKind(e)?nn.createLiteralLikeNode(e,Me.getTokenValue()):xe.Debug.fail();return Me.hasExtendedUnicodeEscape()&&(r.hasExtendedUnicodeEscape=!0),Me.isUnterminated()&&(r.isUnterminated=!0),AT(),$T(r,t)}function KS(){return PS(!0,xe.Diagnostics.Type_expected)}function HS(){if(!Me.hasPrecedingLineBreak()&&29===kT())return OS(20,Ux,29,31)}function WS(){var e=ST();return $T(nn.createTypeReferenceNode(KS(),HS()),e)}function zS(){var e=ST();return AT(),$T(nn.createThisTypeNode(),e)}function JS(){var e,n=ST();return 108!==Je&&103!==Je||(e=iS(),UT(58)),$T(nn.createParameterDeclaration(void 0,void 0,void 0,e,void 0,qS(),void 0),n)}function qS(){Me.setInJSDocType(!0);var e=ST();if(HT(140)){var n=nn.createJSDocNamepathType(void 0);e:for(;;)switch(Je){case 19:case 1:case 27:case 5:break e;default:CT()}return Me.setInJSDocType(!1),$T(n,e)}n=HT(25);var t=Gx();return Me.setInJSDocType(!1),n&&(t=$T(nn.createJSDocVariadicType(t),e)),63===Je?(AT(),$T(nn.createJSDocOptionalType(t),e)):t}function XS(){var e,n,t=ST(),r=aS(),a=(HT(94)&&(Cx()||!Hx()?e=Ux():n=iL()),HT(63)?Ux():void 0);r=nn.createTypeParameterDeclaration(r,e,a);return r.expression=n,$T(r,t)}function YS(){if(29===Je)return OS(19,XS,29,31)}function QS(e){return 25===Je||eD()||xe.isModifierKind(Je)||59===Je||Cx(!e)}function ZS(){return ex(!0)}function $S(){return ex(!1)}function ex(e){var n,t,r=ST(),a=xT();e=e?pT(yD):yD();return 108===Je?(n=nn.createParameterDeclaration(e,void 0,void 0,tS(!0),void 0,jx(),void 0),e&&ET(e[0],xe.Diagnostics.Decorators_may_not_be_applied_to_this_parameters),$E($T(n,r),a)):(n=tn,tn=!1,t=vD(),e=$E($T(nn.createParameterDeclaration(e,t,WT(25),(e=t,t=nD(xe.Diagnostics.Private_identifiers_cannot_be_used_as_parameters),0===xe.getFullWidth(t)&&!xe.some(e)&&xe.isModifierKind(Je)&&AT(),t),WT(57),jx(),zx()),r),a),tn=n,e)}function nx(e,n){if(((e,n)=>38===e?(UT(e),1):HT(58)||n&&38===Je&&(hT(xe.Diagnostics._0_expected,xe.tokenToString(58)),AT(),1))(e,n))return Gx()}function tx(e){var n=_T(),t=yT();oT(!!(1&e)),cT(!!(2&e)),e=32&e?kS(17,JS):kS(16,t?ZS:$S);return oT(n),cT(t),e}function rx(e){return UT(20)?(e=tx(e),UT(21),e):RS()}function ax(){HT(27)||QT()}function ix(e){var n=ST(),t=xT(),r=(173===e&&UT(103),YS()),a=rx(4),i=nx(58,!0);return ax(),$E($T(172===e?nn.createCallSignature(r,a,i):nn.createConstructSignature(r,a,i),n),t)}function ox(){return 22===Je&&MT(sx)}function sx(){if(AT(),25===Je||23===Je)return!0;if(xe.isModifierKind(Je)){if(AT(),BT())return!0}else{if(!BT())return!1;AT()}return 58===Je||27===Je||57===Je&&(AT(),58===Je||27===Je||23===Je)}function cx(e,n,t,r){var a=OS(16,$S,22,23),i=jx();return ax(),$E($T(nn.createIndexSignature(t,r,a,i),e),n)}function lx(){if(20===Je||29===Je||135===Je||147===Je)return!0;for(var e=!1;xe.isModifierKind(Je);)e=!0,AT();return 22===Je||(oS()&&(e=!0,AT()),!!e&&(20===Je||29===Je||57===Je||58===Je||27===Je||XT()))}function dx(){var e,n,t,r,a,i,o,s;return 20===Je||29===Je?ix(172):103===Je&&MT(ux)?ix(173):(e=ST(),n=xT(),t=vD(),dS(135)?pD(e,n,void 0,t,170):dS(147)?pD(e,n,void 0,t,171):ox()?cx(e,n,void 0,t):(e=e,n=n,t=t,o=cS(),s=WT(57),20===Je||29===Je?(a=YS(),r=rx(4),i=nx(58,!0),a=nn.createMethodSignature(t,o,s,a,r,i)):(i=jx(),a=nn.createPropertySignature(t,o,s,i),63===Je&&(a.initializer=zx())),ax(),$E($T(a,e),n)))}function ux(){return AT(),20===Je||29===Je}function px(){return 24===AT()}function mx(){switch(AT()){case 20:case 29:case 24:return!0}return!1}function _x(){var e;return UT(18)?(e=DS(4,dx),UT(19)):e=RS(),e}function fx(){return AT(),39===Je||40===Je?143===AT():(143===Je&&AT(),22===Je&&vS()&&101===AT())}function gx(){var e,n,t=ST(),r=(UT(18),143!==Je&&39!==Je&&40!==Je||143!==(e=qT()).kind&&UT(143),UT(22),i=ST(),r=iS(),UT(101),a=Ux(),$T(nn.createTypeParameterDeclaration(r,a,void 0),i)),a=HT(127)?Ux():void 0,i=(UT(23),57!==Je&&39!==Je&&40!==Je||57!==(n=qT()).kind&&UT(57),jx());return QT(),UT(19),$T(nn.createMappedTypeNode(e,r,a,n,i),t)}function yx(){var e,n=ST();return HT(25)?$T(nn.createRestTypeNode(Ux()),n):(n=Ux(),xe.isJSDocNullableType(n)&&n.pos===n.type.pos?(e=nn.createOptionalTypeNode(n.type),xe.setTextRange(e,n),e.flags=n.flags,e):n)}function hx(){return 58===AT()||57===Je&&58===AT()}function vx(){return 25===Je?xe.tokenIsIdentifierOrKeyword(AT())&&hx():xe.tokenIsIdentifierOrKeyword(Je)&&hx()}function bx(){var e,n,t,r,a,i;return MT(vx)?(e=ST(),n=xT(),t=WT(25),r=iS(),a=WT(57),UT(58),i=yx(),$E($T(nn.createNamedTupleMember(t,r,a,i),e),n)):yx()}function Ex(){var e,n=ST(),t=xT(),r=(126===Je&&(e=ST(),AT(),e=ZT([$T(nn.createToken(126),e)],e)),HT(103)),a=YS(),i=rx(4),o=nx(38,!1);a=r?nn.createConstructorTypeNode(e,a,i,o):nn.createFunctionTypeNode(a,i,o);return r||(a.modifiers=e),$E($T(a,n),t)}function Tx(){var e=qT();return 24===Je?void 0:e}function Sx(e){var n=ST(),t=(e&&AT(),110===Je||95===Je||104===Je?qT():jS(Je));return e&&(t=$T(nn.createPrefixUnaryExpression(40,t),n)),$T(nn.createLiteralTypeNode(t),n)}function xx(){return AT(),100===Je}function Lx(){Be|=1048576;var e=ST(),n=HT(112),t=(UT(100),UT(20),Ux()),r=(UT(21),HT(24)?KS():void 0),a=HS();return $T(nn.createImportTypeNode(t,r,a,n),e)}function Dx(){return AT(),8===Je||9===Je}function Ax(){switch(Je){case 129:case 153:case 148:case 145:case 156:case 149:case 132:case 151:case 142:case 146:return FT(Tx)||WS();case 66:Me.reScanAsteriskEqualsToken();case 41:return l=ST(),AT(),$T(nn.createJSDocAllType(),l);case 60:Me.reScanQuestionToken();case 57:return l=ST(),AT(),$T(27===Je||19===Je||21===Je||31===Je||63===Je||51===Je?nn.createJSDocUnknownType():nn.createJSDocNullableType(Ux()),l);case 98:return s=ST(),c=xT(),MT(RD)?(AT(),i=rx(36),o=nx(58,!1),$E($T(nn.createJSDocFunctionType(i,o),s),c)):$T(nn.createTypeReferenceNode(iS(),void 0),s);case 53:return i=ST(),AT(),$T(nn.createJSDocNonNullableType(Ax()),i);case 14:case 10:case 8:case 9:case 110:case 95:case 104:return Sx();case 40:return MT(Dx)?Sx(!0):WS();case 114:return qT();case 108:return o=zS(),138!==Je||Me.hasPrecedingLineBreak()?o:(c=o,AT(),$T(nn.createTypePredicateNode(void 0,c,Ux()),c.pos));case 112:return MT(xx)?Lx():(s=ST(),UT(112),$T(nn.createTypeQueryNode(PS(!0)),s));case 18:return MT(fx)?gx():(a=ST(),$T(nn.createTypeLiteralNode(_x()),a));case 22:return a=ST(),$T(nn.createTupleTypeNode(OS(21,bx,22,23)),a);case 20:return t=ST(),UT(20),r=Ux(),UT(21),$T(nn.createParenthesizedType(r),t);case 100:return Lx();case 128:return MT(BL)?(r=ST(),t=JT(128),e=(108===Je?zS:aS)(),n=HT(138)?Ux():void 0,$T(nn.createTypePredicateNode(t,e,n),r)):WS();case 15:return GS();default:return WS()}var e,n,t,r,a,i,o,s,c,l}function Cx(e){switch(Je){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!e;case 40:return!e&&MT(Dx);case 20:return!e&&MT(Ix);default:return BT()}}function Ix(){return AT(),21===Je||QS(!1)||Cx()}function Nx(){var e,n=ST();return UT(136),$T(nn.createInferTypeNode((e=ST(),$T(nn.createTypeParameterDeclaration(aS(),void 0,void 0),e))),n)}function kx(){var e,n,t=Je;switch(t){case 139:case 152:case 143:return e=t,n=ST(),UT(e),$T(nn.createTypeOperatorNode(e,kx()),n);case 136:return Nx()}for(var r,a=ST(),i=Ax();!Me.hasPrecedingLineBreak();)switch(Je){case 53:AT(),i=$T(nn.createJSDocNonNullableType(i),a);break;case 57:if(MT(xS))return i;AT(),i=$T(nn.createJSDocNullableType(i),a);break;case 22:UT(22),i=Cx()?(r=Ux(),UT(23),$T(nn.createIndexedAccessTypeNode(i,r),a)):(UT(23),$T(nn.createArrayTypeNode(i),a));break;default:return i}return i}function Rx(e){var n;if(Mx())return ET(n=Ex(),xe.isFunctionTypeNode(n)?e?xe.Diagnostics.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:xe.Diagnostics.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:e?xe.Diagnostics.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:xe.Diagnostics.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type),n}function Ox(e,n,t){var r=ST(),a=51===e,i=HT(e),o=i&&Rx(a)||n();if(Je===e||i){for(var s=[o];HT(e);)s.push(Rx(a)||n());o=$T(t(ZT(s,r)),r)}return o}function Px(){return Ox(50,kx,nn.createIntersectionTypeNode)}function wx(){return AT(),103===Je}function Mx(){return 29===Je||20===Je&&MT(Fx)||103===Je||126===Je&&MT(wx)}function Fx(){if(AT(),21===Je||25===Je)return!0;if(xe.isModifierKind(Je)&&vD(),BT()||108===Je?(AT(),1):22===Je||18===Je?(e=He.length,nD(),e===He.length):void 0){if(58===Je||27===Je||57===Je||63===Je)return!0;if(21===Je&&(AT(),38===Je))return!0}var e;return!1}function Gx(){var e=ST(),n=BT()&&FT(Bx),t=Ux();return n?$T(nn.createTypePredicateNode(void 0,n,t),e):t}function Bx(){var e=aS();if(138===Je&&!Me.hasPrecedingLineBreak())return AT(),e}function Ux(){return lT(40960,Vx)}function Vx(e){var n,t,r,a;return Mx()?Ex():(n=ST(),t=Ox(51,Px,nn.createUnionTypeNode),e||Me.hasPrecedingLineBreak()||!HT(94)?t:(e=Vx(!0),UT(57),r=Vx(),UT(58),a=Vx(),$T(nn.createConditionalTypeNode(t,e,r,a),n)))}function jx(){return HT(58)?Ux():void 0}function Kx(){switch(Je){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 MT(mx);default:return BT()}}function Hx(){if(Kx())return!0;switch(Je){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!!(()=>(!fT()||101!==Je)&&0<xe.getBinaryOperatorPrecedence(Je))()||BT()}}function Wx(){for(var e,n=gT(),t=(n&&sT(!1),ST()),r=Jx();e=WT(27);)r=rL(r,e,Jx(),t);return n&&sT(!0),r}function zx(){return HT(63)?Jx():void 0}function Jx(){var e,n,t,r;return(()=>125===Je&&(_T()||MT(jL)))()?(e=ST(),AT(),Me.hasPrecedingLineBreak()||41!==Je&&!Hx()?$T(nn.createYieldExpression(void 0,void 0),e):$T(nn.createYieldExpression(WT(41),Jx()),e)):(()=>{var e=20!==Je&&29!==Je&&130!==Je?38!==Je?0:1:MT(Xx);if(0!==e)return 1===e?Zx(!0):FT(Yx)})()||(()=>{var e,n,t;if(130===Je&&1===MT(Qx))return e=ST(),n=bD(),t=eL(0),qx(e,t,n)})()||(e=ST(),79===(n=eL(0)).kind&&38===Je?qx(e,n,void 0):xe.isLeftHandSideExpression(n)&&xe.isAssignmentOperator(IT())?rL(n,qT(),Jx(),e):(n=n,t=e,(r=WT(57))?$T(nn.createConditionalExpression(n,r,lT(Fe,Jx),r=JT(58),xe.nodeIsPresent(r)?Jx():eS(79,!1,xe.Diagnostics._0_expected,xe.tokenToString(58))),t):n))}function qx(e,n,t){xe.Debug.assert(38===Je,"parseSimpleArrowFunctionExpression should only have been called if we had a =>");var r=nn.createParameterDeclaration(void 0,void 0,void 0,n,void 0,void 0,void 0),a=(n=($T(r,n.pos),ZT([r],r.pos,r.end)),r=JT(38),$x(!!t));return eT($T(nn.createArrowFunction(t,void 0,n,void 0,r,a),e))}function Xx(){if(130===Je){if(AT(),Me.hasPrecedingLineBreak())return 0;if(20!==Je&&29!==Je)return 0}var e=Je,n=AT();if(20!==e)return xe.Debug.assert(29===e),BT()?1===Ke?MT((function(){var e=AT();if(94===e)switch(AT()){case 63:case 31:return!1;default:return!0}else if(27===e)return!0;return!1}))?1:0:2:0;if(21===n)switch(AT()){case 38:case 58:case 18:return 1;default:return 0}if(22===n||18===n)return 2;if(25===n)return 1;if(xe.isModifierKind(n)&&130!==n&&MT(vS))return 1;if(BT()||108===n)switch(AT()){case 58:return 1;case 57:return AT(),58===Je||27===Je||63===Je||21===Je?1:0;case 27:case 63:case 21:return 2}return 0}function Yx(){var e,n=Me.getTokenPos();if(null==$e||!$e.has(n))return(e=Zx(!1))||($e=$e||new xe.Set).add(n),e}function Qx(){if(130===Je){if(AT(),Me.hasPrecedingLineBreak()||38===Je)return 0;var e=eL(0);if(!Me.hasPrecedingLineBreak()&&79===e.kind&&38===Je)return 1}return 0}function Zx(e){var n,t=ST(),r=xT(),a=bD(),i=xe.some(a,xe.isAsyncModifier)?2:0,o=YS();if(UT(20)){if(n=tx(i),!UT(21)&&!e)return}else{if(!e)return;n=RS()}if(i=nx(58,!1),!i||e||!function e(n){switch(n.kind){case 176:return xe.nodeIsMissing(n.typeName);case 177:case 178:return!!n.parameters.isMissingList||e(n.type);case 189:return e(n.type);default:return!1}}(i)){var s=i&&xe.isJSDocFunctionType(i);if(e||38===Je||!s&&18===Je)return e=Je,s=JT(38),e=38===e||18===e?$x(xe.some(a,xe.isAsyncModifier)):aS(),$E($T(nn.createArrowFunction(a,o,n,i,s,e),t),r)}}function $x(e){var n,t;return 18===Je?OL(e?2:0):26===Je||98===Je||84===Je||!WL()||18!==Je&&98!==Je&&84!==Je&&59!==Je&&Hx()?(n=tn,tn=!1,t=e?pT(Jx):lT(32768,Jx),tn=n,t):OL(16|(e?2:0))}function eL(e){var n=ST();return tL(e,iL(),n)}function nL(e){return 101===e||158===e}function tL(e,n,t){for(;;){IT();var r=xe.getBinaryOperatorPrecedence(Je);if(!(42===Je?e<=r:e<r))break;if(101===Je&&fT())break;if(127===Je){if(Me.hasPrecedingLineBreak())break;AT(),a=n,i=Ux(),n=$T(nn.createAsExpression(a,i),a.pos)}else n=rL(n,qT(),eL(r),t)}var a,i;return n}function rL(e,n,t,r){return $T(nn.createBinaryExpression(e,n,t),r)}function aL(){var e=ST();return $T(nn.createPrefixUnaryExpression(Je,DT(oL)),e)}function iL(){var e,n,t,r;return(()=>{switch(Je){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 131:return;case 29:if(1!==Ke)return;default:return 1}})()?(t=ST(),e=sL(),42===Je?tL(xe.getBinaryOperatorPrecedence(Je),e,t):e):(e=Je,n=oL(),42===Je&&(t=xe.skipTrivia(Ue,n.pos),r=n.end,209===n.kind?bT(t,r,xe.Diagnostics.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):bT(t,r,xe.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,xe.tokenToString(e))),n)}function oL(){switch(Je){case 39:case 40:case 54:case 53:return aL();case 89:return r=ST(),$T(nn.createDeleteExpression(DT(oL)),r);case 112:return r=ST(),$T(nn.createTypeOfExpression(DT(oL)),r);case 114:return t=ST(),$T(nn.createVoidExpression(DT(oL)),t);case 29:return t=ST(),UT(29),e=Ux(),UT(31),n=oL(),$T(nn.createTypeAssertion(e,n),t);case 131:if(131===Je&&(yT()||MT(jL)))return e=ST(),$T(nn.createAwaitExpression(DT(oL)),e);default:return sL()}var e,n,t,r}function sL(){var e,n;return 45===Je||46===Je?(e=ST(),$T(nn.createPrefixUnaryExpression(Je,DT(cL)),e)):1===Ke&&29===Je&&MT(ES)?dL(!0):(e=cL(),xe.Debug.assert(xe.isLeftHandSideExpression(e)),45!==Je&&46!==Je||Me.hasPrecedingLineBreak()?e:(n=Je,AT(),$T(nn.createPostfixUnaryExpression(e,n),e.pos)))}function cL(){var e,n=ST();return 100===Je?MT(ux)?(Be|=1048576,e=qT()):MT(px)?(AT(),AT(),e=$T(nn.createMetaProperty(100,iS()),n),Be|=2097152):e=lL():e=(106===Je?()=>{var e,n=ST(),t=qT();return 29===Je&&(e=ST(),void 0!==FT(SL))&&bT(e,ST(),xe.Diagnostics.super_may_not_use_type_arguments),20!==Je&&24!==Je&&22!==Je?(JT(24,xe.Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access),$T(nn.createPropertyAccessExpression(t,wS(!0,!0)),n)):t}:lL)(),EL(n,e)}function lL(){return hL(ST(),xL(),!0)}function dL(e,n,t){var r,a,i=ST(),o=(e=>{var n,t,r,a=ST();return UT(29),31===Je?(PT(),$T(nn.createJsxOpeningFragment(),a)):(n=mL(),t=0==(131072&en)?AD():void 0,r=(()=>{var e=ST();return $T(nn.createJsxAttributes(DS(13,fL)),e)})(),$T(e=31===Je?(PT(),nn.createJsxOpeningElement(n,t,r)):(UT(43),UT(31,void 0,!1)&&(e?AT:PT)(),nn.createJsxSelfClosingElement(n,t,r)),a))})(e),s=278===o.kind?(a=void 0,276===(null==(c=(r=pL(o))[r.length-1])?void 0:c.kind)&&!nA(c.openingElement.tagName,c.closingElement.tagName)&&nA(o.tagName,c.closingElement.tagName)?(d=c.openingElement.end,s=$T(nn.createJsxElement(c.openingElement,ZT([],d,d),$T(nn.createJsxClosingElement($T(nn.createIdentifier(""),d,d)),d,d)),c.openingElement.pos,d),r=ZT(eu(eu([],r.slice(0,r.length-1),!0),[s],!1),r.pos,d),a=c.closingElement):(a=((e,n)=>{var t=ST(),r=(UT(30),mL());return UT(31,void 0,!1)&&(n||!nA(e.tagName,r)?AT:PT)(),$T(nn.createJsxClosingElement(r),t)})(o,e),nA(o.tagName,a.tagName)||(t&&xe.isJsxOpeningElement(t)&&nA(a.tagName,t.tagName)?ET(o.tagName,xe.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,xe.getTextOfNodeFromSourceText(Ue,o.tagName)):ET(a.tagName,xe.Diagnostics.Expected_corresponding_JSX_closing_tag_for_0,xe.getTextOfNodeFromSourceText(Ue,o.tagName)))),$T(nn.createJsxElement(o,r,a),i)):281===o.kind?$T(nn.createJsxFragment(o,pL(o),(e=>{var n=ST();return UT(30),xe.tokenIsIdentifierOrKeyword(Je)&&ET(mL(),xe.Diagnostics.Expected_corresponding_closing_tag_for_JSX_fragment),UT(31,void 0,!1)&&(e?AT:PT)(),$T(nn.createJsxJsxClosingFragment(),n)})(e)),i):(xe.Debug.assert(277===o.kind),o);if(e&&29===Je){var c,l=void 0===n?s.pos:n,d=FT((function(){return dL(!0,l)}));if(d)return c=eS(27,!1),xe.setTextRangePosWidth(c,d.pos,0),bT(xe.skipTrivia(Ue,l),d.end,xe.Diagnostics.JSX_expressions_must_have_one_parent_element),$T(nn.createBinaryExpression(s,c,d),i)}return s}function uL(e,n){switch(n){case 1:return void(xe.isJsxOpeningFragment(e)?ET(e,xe.Diagnostics.JSX_fragment_has_no_corresponding_closing_tag):(t=e.tagName,bT(xe.skipTrivia(Ue,t.pos),t.end,xe.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,xe.getTextOfNodeFromSourceText(Ue,e.tagName))));case 30:case 7:return;case 11:case 12:return t=ST(),r=nn.createJsxText(Me.getTokenValue(),12===Je),Je=Me.scanJsxToken(),$T(r,t);case 18:return _L(!1);case 29:return dL(!1,void 0,e);default:return xe.Debug.assertNever(n)}var t,r}function pL(e){var n=[],t=ST(),r=Ze;for(Ze|=16384;;){var a=uL(e,Je=Me.reScanJsxToken());if(!a)break;if(n.push(a),xe.isJsxOpeningElement(e)&&276===(null==a?void 0:a.kind)&&!nA(a.openingElement.tagName,a.closingElement.tagName)&&nA(e.tagName,a.closingElement.tagName))break}return Ze=r,ZT(n,t)}function mL(){for(var e=ST(),n=(OT(),(108===Je?qT:iS)());HT(24);)n=$T(nn.createPropertyAccessExpression(n,wS(!0,!1)),e);return n}function _L(e){var n,t,r=ST();if(UT(18))return 19!==Je&&(n=WT(25),t=Wx()),e?UT(19):UT(19,void 0,!1)&&PT(),$T(nn.createJsxExpression(n,t),r)}function fL(){var e,n;return 18===Je?(e=ST(),UT(18),UT(25),n=Wx(),UT(19),$T(nn.createJsxSpreadAttribute(n),e)):(OT(),n=ST(),$T(nn.createJsxAttribute(iS(),63!==Je?void 0:10===(Je=Me.scanJsxAttributeValue())?US():_L(!0)),n))}function gL(){return AT(),xe.tokenIsIdentifierOrKeyword(Je)||22===Je||vL()}function yL(e){if(32&e.flags)return!0;if(xe.isNonNullExpression(e)){for(var n=e.expression;xe.isNonNullExpression(n)&&!(32&n.flags);)n=n.expression;if(32&n.flags){for(;xe.isNonNullExpression(e);)e.flags|=32,e=e.expression;return!0}}return!1}function hL(e,n,t){for(;;){var r=void 0;if(t&&28===Je&&MT(gL)?(r=JT(28),xe.tokenIsIdentifierOrKeyword(Je)):HT(24))a=e,i=n,o=r,s=wS(!(c=s=void 0),!0),c=o||yL(i),o=c?nn.createPropertyAccessChain(i,o,s):nn.createPropertyAccessExpression(i,s),c&&xe.isPrivateIdentifier(o.name)&&ET(o.name,xe.Diagnostics.An_optional_chain_cannot_contain_private_identifiers),n=$T(o,a);else if(r||53!==Je||Me.hasPrecedingLineBreak())if(!r&&gT()||!HT(22)){if(!vL())return n;n=bL(e,n,r,void 0)}else i=e,s=n,c=r,o=void 0,o=23===Je?eS(79,!0,xe.Diagnostics.An_element_access_expression_should_take_an_argument):(o=uT(Wx),xe.isStringOrNumericLiteralLike(o)&&(o.text=nS(o.text)),o),UT(23),n=$T(c||yL(s)?nn.createElementAccessChain(s,c,o):nn.createElementAccessExpression(s,o),i);else AT(),n=$T(nn.createNonNullExpression(n),e)}var a,i,o,s,c}function vL(){return 14===Je||15===Je}function bL(e,n,t,r){return r=nn.createTaggedTemplateExpression(n,r,14===Je?(NT(),US()):FS(!0)),(t||32&n.flags)&&(r.flags|=32),r.questionDotToken=t,$T(r,e)}function EL(e,n){for(;;){n=hL(e,n,!0);var t=WT(28);if(0!=(131072&en)||29!==Je&&47!==Je){if(20===Je){a=TL(),n=$T(t||yL(n)?nn.createCallChain(n,t,void 0,a):nn.createCallExpression(n,void 0,a),e);continue}}else{var r=FT(SL);if(r){if(vL()){n=bL(e,n,t,r);continue}var a=TL();n=$T(t||yL(n)?nn.createCallChain(n,t,r,a):nn.createCallExpression(n,r,a),e);continue}}t&&(r=eS(79,!1,xe.Diagnostics.Identifier_expected),n=$T(nn.createPropertyAccessChain(n,t,r),e));break}return n}function TL(){UT(20);var e=kS(11,DL);return UT(21),e}function SL(){var e;if(0==(131072&en)&&29===kT())return AT(),e=kS(20,Ux),UT(31)&&e&&(()=>{switch(Je){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 1;default:return}})()?e:void 0}function xL(){switch(Je){case 8:case 9:case 10:case 14:return US();case 108:case 106:case 104:case 110:case 95:return qT();case 20:return a=ST(),i=xT(),UT(20),o=uT(Wx),UT(21),$E($T(nn.createParenthesizedExpression(o),a),i);case 22:return AL();case 18:return IL();case 130:if(MT(VL))return NL();break;case 84:return SD(ST(),xT(),void 0,void 0,224);case 98:return NL();case 103:if(o=ST(),UT(103),HT(24))return a=iS(),$T(nn.createMetaProperty(103,a),o);for(var e,n,t=ST(),r=xL();;){r=hL(t,r,!1),e=FT(SL),vL()&&(xe.Debug.assert(!!e,"Expected a type argument list; all plain tagged template starts should be consumed in 'parseMemberExpressionRest'"),r=bL(t,r,void 0,e),e=void 0);break}return 20===Je?n=TL():e&&bT(o,Me.getStartPos(),xe.Diagnostics.A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list),$T(nn.createNewExpression(r,e,n),o);case 43:case 68:if(13===(Je=Me.reScanSlashToken()))return US();break;case 15:return FS(!1)}var a,i,o;return aS(xe.Diagnostics.Expression_expected)}function LL(){return 25===Je?(e=ST(),UT(25),n=Jx(),$T(nn.createSpreadElement(n),e)):27===Je?$T(nn.createOmittedExpression(),ST()):Jx();var e,n}function DL(){return lT(Fe,LL)}function AL(){var e=ST(),n=(UT(22),Me.hasPrecedingLineBreak()),t=kS(15,LL);return UT(23),$T(nn.createArrayLiteralExpression(t,n),e)}function CL(){var e,n,t,r,a,i,o,s,c=ST(),l=xT();return WT(25)?(e=Jx(),$E($T(nn.createSpreadAssignment(e),c),l)):(e=yD(),n=vD(),dS(135)?pD(c,l,e,n,170):dS(147)?pD(c,l,e,n,171):(i=WT(41),s=BT(),t=cS(),r=WT(57),a=WT(53),i||20===Je||29===Je?lD(c,l,e,n,i,t,r,a):(s&&58!==Je?(s=(i=WT(63))?uT(Jx):void 0,(o=nn.createShorthandPropertyAssignment(t,s)).equalsToken=i):(UT(58),s=uT(Jx),o=nn.createPropertyAssignment(t,s)),o.decorators=e,o.modifiers=n,o.questionToken=r,o.exclamationToken=a,$E($T(o,c),l))))}function IL(){var e,n=ST(),t=Me.getTokenPos(),r=(UT(18),Me.hasPrecedingLineBreak()),a=kS(12,CL,!0);return UT(19)||(e=xe.lastOrUndefined(He))&&e.code===xe.Diagnostics._0_expected.code&&xe.addRelatedInfo(e,xe.createDetachedDiagnostic(Ge,t,1,xe.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here)),$T(nn.createObjectLiteralExpression(a,r),n)}function NL(){var e=gT(),n=(sT(!1),ST()),t=xT(),r=vD(),a=(UT(98),WT(41)),i=a?1:0,o=xe.some(r,xe.isAsyncModifier)?2:0,s=i&&o?dT(40960,kL):i?dT(8192,kL):o?pT(kL):kL(),c=YS(),l=rx(i|o),d=nx(58,!1);i=OL(i|o);return sT(e),$E($T(nn.createFunctionExpression(r,a,s,c,l,d,i),n),t)}function kL(){return GT()?rS():void 0}function RL(e,n){var t,r=ST(),a=xT(),i=Me.getTokenPos();return UT(18,n)||e?(n=Me.hasPrecedingLineBreak(),t=DS(1,JL),UT(19)||(e=xe.lastOrUndefined(He))&&e.code===xe.Diagnostics._0_expected.code&&xe.addRelatedInfo(e,xe.createDetachedDiagnostic(Ge,i,1,xe.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here)),e=$E($T(nn.createBlock(t,n),r),a),63===Je&&(hT(xe.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),AT()),e):(t=RS(),$E($T(nn.createBlock(t,void 0),r),a))}function OL(e,n){var t=_T(),r=(oT(!!(1&e)),yT()),a=(cT(!!(2&e)),tn),i=(tn=!1,gT());i&&sT(!1),e=RL(!!(16&e),n);return i&&sT(!0),tn=a,oT(t),cT(r),e}function PL(){var e,n,t=ST(),r=xT(),a=(UT(97),WT(131));return UT(20),26!==Je&&(e=113===Je||119===Je||85===Je?aD(!0):dT(4096,Wx)),$E($T((a?UT:HT)(158)?(n=uT(Jx),UT(21),nn.createForOfStatement(a,e,n,JL())):HT(101)?(n=uT(Wx),UT(21),nn.createForInStatement(e,n,JL())):(UT(26),a=26!==Je&&21!==Je?uT(Wx):void 0,UT(26),n=21!==Je?uT(Wx):void 0,UT(21),nn.createForStatement(e,a,n,JL())),t),r)}function wL(e){var n=ST(),t=xT(),r=(UT(244===e?81:86),XT()?void 0:aS());return QT(),$E($T(244===e?nn.createBreakStatement(r):nn.createContinueStatement(r),n),t)}function ML(){return 82===Je?(e=ST(),UT(82),n=uT(Wx),UT(58),t=DS(3,JL),$T(nn.createCaseClause(n,t),e)):(n=ST(),UT(88),UT(58),t=DS(3,JL),$T(nn.createDefaultClause(t),n));var e,n,t}function FL(){var e,n=ST(),t=xT(),r=(UT(107),UT(20),uT(Wx)),a=(UT(21),e=ST(),UT(18),a=DS(2,ML),UT(19),$T(nn.createCaseBlock(a),e));return $E($T(nn.createSwitchStatement(r,a),n),t)}function GL(){var e,n,t,r=ST(),a=xT(),i=(UT(111),RL(!1)),o=83===Je?(e=ST(),UT(83),HT(20)?(o=rD(),UT(21)):o=void 0,n=RL(!1),$T(nn.createCatchClause(o,n),e)):void 0;return o&&96!==Je||(UT(96),t=RL(!1)),$E($T(nn.createTryStatement(i,o,t),r),a)}function BL(){return AT(),xe.tokenIsIdentifierOrKeyword(Je)&&!Me.hasPrecedingLineBreak()}function UL(){return AT(),84===Je&&!Me.hasPrecedingLineBreak()}function VL(){return AT(),98===Je&&!Me.hasPrecedingLineBreak()}function jL(){return AT(),(xe.tokenIsIdentifierOrKeyword(Je)||8===Je||9===Je||10===Je)&&!Me.hasPrecedingLineBreak()}function KL(){for(;;)switch(Je){case 113:case 119:case 85:case 98:case 84:case 92:return!0;case 118:case 150:return AT(),!Me.hasPrecedingLineBreak()&&BT();case 140:case 141:return AT(),!Me.hasPrecedingLineBreak()&&(BT()||10===Je);case 126:case 130:case 134:case 121:case 122:case 123:case 143:if(AT(),Me.hasPrecedingLineBreak())return!1;continue;case 155:return AT(),18===Je||79===Je||93===Je;case 100:return AT(),10===Je||41===Je||18===Je||xe.tokenIsIdentifierOrKeyword(Je);case 93:var e=AT();if(63===(e=150===e?MT(AT):e)||41===e||18===e||88===e||127===e)return!0;continue;case 124:AT();continue;default:return!1}}function HL(){return MT(KL)}function WL(){switch(Je){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 HL()||MT(mx);case 85:case 93:return HL();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 HL()||!MT(BL);default:return Hx()}}function zL(){return AT(),GT()||18===Je||22===Je}function JL(){switch(Je){case 26:return p=ST(),m=xT(),UT(26),$E($T(nn.createEmptyStatement(),p),m);case 18:return RL(!1);case 113:return oD(ST(),xT(),void 0,void 0);case 119:if(MT(zL))return oD(ST(),xT(),void 0,void 0);break;case 98:return sD(ST(),xT(),void 0,void 0);case 84:return TD(ST(),xT(),void 0,void 0);case 99:return p=ST(),m=xT(),UT(99),UT(20),l=uT(Wx),UT(21),d=JL(),u=HT(91)?JL():void 0,$E($T(nn.createIfStatement(l,d,u),p),m);case 90:return l=ST(),d=xT(),UT(90),u=JL(),UT(115),UT(20),c=uT(Wx),UT(21),HT(26),$E($T(nn.createDoStatement(u,c),l),d);case 115:return c=ST(),i=xT(),UT(115),UT(20),o=uT(Wx),UT(21),s=JL(),$E($T(nn.createWhileStatement(o,s),c),i);case 97:return PL();case 86:return wL(243);case 81:return wL(244);case 105:return o=ST(),s=xT(),UT(105),i=XT()?void 0:uT(Wx),QT(),$E($T(nn.createReturnStatement(i),o),s);case 116:return n=ST(),t=xT(),UT(116),UT(20),r=uT(Wx),UT(21),a=dT(16777216,JL),$E($T(nn.createWithStatement(r,a),n),t);case 107:return FL();case 109:return r=ST(),a=xT(),UT(109),void 0===(n=Me.hasPrecedingLineBreak()?void 0:uT(Wx))&&(Qe++,n=$T(nn.createIdentifier(""),ST())),YT()||VT(n),$E($T(nn.createThrowStatement(n),r),a);case 111:case 83:case 96:return GL();case 87:return t=ST(),e=xT(),UT(87),QT(),$E($T(nn.createDebuggerStatement(),t),e);case 59:return XL();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(HL())return XL()}var e,n,t,r,a,i,o,s,c,l,d,u,p,m,_,f,g,y,h;return f=ST(),g=xT(),y=20===Je,h=uT(Wx),xe.isIdentifier(h)&&HT(58)?_=nn.createLabeledStatement(h,JL()):(YT()||VT(h),_=nn.createExpressionStatement(h),y&&(g=!1)),$E($T(_,f),g)}function qL(e){return 134===e.kind}function XL(){var e=xe.some(MT((function(){return yD(),vD()})),qL);if(e){var n=dT(8388608,(function(){var e=CS(Ze);if(e)return IS(e)}));if(n)return n}var t=ST(),r=xT(),a=yD(),i=vD();if(e){for(var o=0,s=i;o<s.length;o++)s[o].flags|=8388608;return dT(8388608,(function(){return YL(t,r,a,i)}))}return YL(t,r,a,i)}function YL(e,n,t,r){switch(Je){case 113:case 119:case 85:return oD(e,n,t,r);case 98:return sD(e,n,t,r);case 84:return TD(e,n,t,r);case 118:return B=e,a=n,U=t,V=r,UT(118),j=aS(),K=YS(),H=xD(),W=_x(),$E($T(nn.createInterfaceDeclaration(U,V,j,K,H,W),B),a);case 150:return U=e,V=n,j=t,K=r,UT(150),H=aS(),W=YS(),UT(63),B=137===Je&&FT(Tx)||Ux(),QT(),$E($T(nn.createTypeAliasDeclaration(j,K,H,W,B),U),V);case 92:var a=e,i=n,o=t,s=r;UT(92);var c=aS();return UT(18)?(l=lT(40960,(function(){return kS(6,ID)})),UT(19)):l=RS(),$E($T(nn.createEnumDeclaration(o,s,c,l),a),i);case 155:case 140:case 141:o=e,s=n,c=t;var l=r;i=0;if(155===Je)return kD(o,s,c,l);if(HT(141))i|=16;else if(UT(140),10===Je)return kD(o,s,c,l);return function e(n,t,r,a,i){var o=16&i,s=aS();return o=HT(24)?e(ST(),!1,void 0,void 0,4|o):ND(),r=nn.createModuleDeclaration(r,a,s,o,i),$E($T(r,n),t)}(o,s,c,l,i);case 100:var d=e,u=n,p=t,m=r,_=(UT(100),Me.getStartPos());BT()&&(T=aS());var f,g,y,h,v,b,E,T,S=!1;return 154===Je||"type"!==(null==T?void 0:T.escapedText)||!BT()&&41!==Je&&18!==Je||(S=!0,T=BT()?aS():void 0),T&&27!==Je&&154!==Je?(g=d,y=u,O=p,h=m,v=T,b=S,UT(63),E=144===Je&&MT(RD)?(()=>{var e=ST(),n=(UT(144),UT(20),wD());return UT(21),$T(nn.createExternalModuleReference(n),e)})():PS(!1),QT(),$E($T(nn.createImportEqualsDeclaration(O,h,b,v,E),g),y)):(!T&&41!==Je&&18!==Je||(f=((e,n,t)=>{var r;return e&&!HT(27)||(r=41===Je?(()=>{var e=ST(),n=(UT(41),UT(127),aS());return $T(nn.createNamespaceImport(n),e)})():MD(267)),$T(nn.createImportClause(t,e,r),n)})(T,_,S),UT(154)),T=wD(),QT(),$E($T(nn.createImportDeclaration(p,m,f,T),d),u));case 93:switch(AT(),Je){case 88:case 63:return D=e,A=n,P=t,w=r,F=yT(),cT(!0),HT(63)?M=!0:UT(88),G=Jx(),QT(),cT(F),$E($T(nn.createExportAssignment(P,w,M,G),D),A);case 127:return F=e,P=n,w=t,M=r,UT(127),UT(141),G=aS(),QT(),(G=nn.createNamespaceExportDeclaration(G)).decorators=w,G.modifiers=M,$E($T(G,F),P);default:var x,L,D=e,A=n,C=t,I=r,N=yT(),k=(cT(!0),HT(150)),R=ST();return HT(41)?(HT(127)&&(x=(e=>$T(nn.createNamespaceExport(iS()),e))(R)),UT(154),L=wD()):(x=MD(271),154!==Je&&(10!==Je||Me.hasPrecedingLineBreak())||(UT(154),L=wD())),QT(),cT(N),$E($T(nn.createExportDeclaration(C,I,k,x,L),D),A)}default:var O;if(t||r)return O=eS(274,!0,xe.Diagnostics.Declaration_expected),xe.setTextRangePos(O,e),O.decorators=t,O.modifiers=r,O}var P,w,M,F,G,B,U,V,j,K,H,W}function QL(e,n){if(18===Je||!XT())return OL(e,n);QT()}function ZL(){var e,n,t,r=ST();return 27===Je?$T(nn.createOmittedExpression(),r):(e=WT(25),n=nD(),t=zx(),$T(nn.createBindingElement(e,void 0,n,t),r))}function $L(){var e,n=ST(),t=WT(25),r=GT(),a=cS();r&&58!==Je?(e=a,a=void 0):(UT(58),e=nD()),r=zx();return $T(nn.createBindingElement(t,a,e,r),n)}function eD(){return 18===Je||22===Je||80===Je||GT()}function nD(e){var n,t;return 22===Je?(t=ST(),UT(22),n=kS(10,ZL),UT(23),$T(nn.createArrayBindingPattern(n),t)):18===Je?(n=ST(),UT(18),t=kS(9,$L),UT(19),$T(nn.createObjectBindingPattern(t),n)):rS(e)}function tD(){return rD(!0)}function rD(e){var n,t=ST(),r=xT(),a=nD(xe.Diagnostics.Private_identifiers_are_not_allowed_in_variable_declarations),i=(e=(e&&79===a.kind&&53===Je&&!Me.hasPrecedingLineBreak()&&(n=qT()),jx()),nL(Je)?void 0:zx());return $E($T(nn.createVariableDeclaration(a,n,e,i),t),r)}function aD(e){var n,t,r=ST(),a=0;switch(Je){case 113:break;case 119:a|=1;break;case 85:a|=2;break;default:xe.Debug.fail()}return AT(),158===Je&&MT(iD)?n=RS():(t=fT(),iT(e),n=kS(8,e?rD:tD),iT(t)),$T(nn.createVariableDeclarationList(n,a),r)}function iD(){return vS()&&21===AT()}function oD(e,n,t,r){var a=aD(!1);QT(),r=nn.createVariableStatement(r,a);return r.decorators=t,$E($T(r,e),n)}function sD(e,n,t,r){var a=yT(),i=xe.modifiersToFlags(r),o=(UT(98),WT(41)),s=(512&i?kL:rS)(),c=o?1:0,l=256&i?2:0,d=YS(),u=(i=(1&i&&cT(!0),rx(c|l)),nx(58,!1));c=QL(c|l,xe.Diagnostics.or_expected);return cT(a),$E($T(nn.createFunctionDeclaration(t,r,o,s,d,i,u,c),e),n)}function cD(e,n,t,r){return FT((function(){var a,i,o,s;if(133===Je?UT(133):10===Je&&20===MT(AT)&&FT((function(){var e=US();return"constructor"===e.text?e:void 0})))return a=YS(),s=rx(0),i=nx(58,!1),o=QL(0,xe.Diagnostics.or_expected),(s=nn.createConstructorDeclaration(t,r,s,o)).typeParameters=a,s.type=i,$E($T(s,e),n)}))}function lD(e,n,t,r,a,i,o,s,c){var l=a?1:0,d=xe.some(r,xe.isAsyncModifier)?2:0,u=YS(),p=rx(l|d),m=nx(58,!1);l=QL(l|d,c),d=nn.createMethodDeclaration(t,r,a,i,o,u,p,m,l);return d.exclamationToken=s,$E($T(d,e),n)}function dD(e,n,t,r,a,i){var o,s,c,l=i||Me.hasPrecedingLineBreak()?void 0:WT(53),d=jx(),u=lT(45056,zx);return o=a,s=d,c=u,59!==Je||Me.hasPrecedingLineBreak()?20===Je?(hT(xe.Diagnostics.Cannot_start_a_function_call_in_a_type_annotation),AT()):s&&!XT()?c?hT(xe.Diagnostics._0_expected,xe.tokenToString(26)):hT(xe.Diagnostics.Expected_for_property_initializer):YT()||(c?18===Je&&hT(xe.Diagnostics._0_expected,xe.tokenToString(26)):VT(o)):hT(xe.Diagnostics.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations),$E($T(nn.createPropertyDeclaration(t,r,a,i||l,d,u),e),n)}function uD(e,n,t,r){var a=WT(41),i=cS(),o=WT(57);return a||20===Je||29===Je?lD(e,n,t,r,a,i,o,void 0,xe.Diagnostics.or_expected):dD(e,n,t,r,i,o)}function pD(e,n,t,r,a){var i=cS(),o=YS(),s=rx(0),c=nx(58,!1),l=QL(0);a=170===a?nn.createGetAccessorDeclaration(t,r,i,s,c,l):nn.createSetAccessorDeclaration(t,r,i,s,l);return a.typeParameters=o,c&&171===a.kind&&(a.type=c),$E($T(a,e),n)}function mD(){var e;if(59===Je)return!0;for(;xe.isModifierKind(Je);){if(e=Je,xe.isClassMemberModifier(e))return!0;AT()}if(41===Je)return!0;if(oS()&&(e=Je,AT()),22===Je)return!0;if(void 0!==e){if(!xe.isKeyword(e)||147===e||135===e)return!0;switch(Je){case 20:case 29:case 53:case 58:case 63:case 57:return!0;default:return XT()}}return!1}function _D(e,n,t,r){JT(124),o=_T(),a=yT(),oT(!1),cT(!0),i=RL(!1),oT(o),cT(a);var a,i,o=i;return $E($T(nn.createClassStaticBlockDeclaration(t,r,o),e),n)}function fD(){var e,n;return yT()&&131===Je?(e=ST(),n=aS(xe.Diagnostics.Expression_expected),AT(),EL(e,hL(e,n,!0))):cL()}function gD(){var e,n=ST();if(HT(59))return e=dT(16384,fD),$T(nn.createDecorator(e),n)}function yD(){for(var e,n,t=ST();n=gD();)e=xe.append(e,n);return e&&ZT(e,t)}function hD(e,n){var t=ST(),r=Je;if(85===Je&&e){if(!FT(uS))return}else{if(n&&124===Je&&MT(OD))return;if(!xe.isModifierKind(Je)||!FT(pS))return}return $T(nn.createToken(r),t)}function vD(e,n){for(var t,r,a=ST();r=hD(e,n);)t=xe.append(t,r);return t&&ZT(t,a)}function bD(){var e;return 130===Je&&(e=ST(),AT(),e=ZT([$T(nn.createToken(130),e)],e)),e}function ED(){var e=ST();if(26===Je)return AT(),$T(nn.createSemicolonClassElement(),e);var n=xT(),t=yD(),r=vD(!0,!0);if(124===Je&&MT(OD))return _D(e,n,t,r);if(dS(135))return pD(e,n,t,r,170);if(dS(147))return pD(e,n,t,r,171);if(133===Je||10===Je){var a=cD(e,n,t,r);if(a)return a}if(ox())return cx(e,n,t,r);if(xe.tokenIsIdentifierOrKeyword(Je)||10===Je||8===Je||41===Je||22===Je){if(xe.some(r,qL)){for(var i=0,o=r;i<o.length;i++)o[i].flags|=8388608;return dT(8388608,(function(){return uD(e,n,t,r)}))}return uD(e,n,t,r)}return t||r?(a=eS(79,!0,xe.Diagnostics.Declaration_expected),dD(e,n,t,r,a,void 0)):xe.Debug.fail("Should not have attempted to parse class member declaration.")}function TD(e,n,t,r){return SD(e,n,t,r,255)}function SD(e,n,t,r,a){var i,o=yT(),s=(UT(84),!GT()||117===Je&&MT(bS)?void 0:tS(GT())),c=YS(),l=(xe.some(r,xe.isExportModifier)&&cT(!0),xD());return UT(18)?(i=DS(5,ED),UT(19)):i=RS(),cT(o),$E($T(255===a?nn.createClassDeclaration(t,r,s,c,l,i):nn.createClassExpression(t,r,s,c,l,i),e),n)}function xD(){if(CD())return DS(22,LD)}function LD(){var e=ST(),n=Je,t=(xe.Debug.assert(94===n||117===n),AT(),kS(7,DD));return $T(nn.createHeritageClause(n,t),e)}function DD(){var e=ST(),n=cL(),t=AD();return $T(nn.createExpressionWithTypeArguments(n,t),e)}function AD(){return 29===Je?OS(20,Ux,29,31):void 0}function CD(){return 94===Je||117===Je}function ID(){var e=ST(),n=xT(),t=cS(),r=uT(zx);return $E($T(nn.createEnumMember(t,r),e),n)}function ND(){var e,n=ST();return UT(18)?(e=DS(1,JL),UT(19)):e=RS(),$T(nn.createModuleBlock(e),n)}function kD(e,n,t,r){var a,i,o=0;return 155===Je?(a=aS(),o|=1024):(a=US()).text=nS(a.text),18===Je?i=ND():QT(),$E($T(nn.createModuleDeclaration(t,r,a,i,o),e),n)}function RD(){return 20===AT()}function OD(){return 18===AT()}function PD(){return 43===AT()}function wD(){var e;return 10===Je?((e=US()).text=nS(e.text),e):Wx()}function MD(e){var n=ST();return $T(267===e?nn.createNamedImports(OS(23,GD,18,19)):nn.createNamedExports(OS(23,FD,18,19)),n)}function FD(){return BD(273)}function GD(){return BD(268)}function BD(e){var n,t=ST(),r=xe.isKeyword(Je)&&!BT(),a=Me.getTokenPos(),i=Me.getTextPos(),o=iS();o=127===Je?(n=o,UT(127),r=xe.isKeyword(Je)&&!BT(),a=Me.getTokenPos(),i=Me.getTextPos(),iS()):o;return 268===e&&r&&bT(a,i,xe.Diagnostics.Identifier_expected),$T(268===e?nn.createImportSpecifier(n,o):nn.createExportSpecifier(n,o),t)}function UD(e){return n=93,xe.some(e.modifiers,(function(e){return e.kind===n}))||xe.isImportEqualsDeclaration(e)&&xe.isExternalModuleReference(e.moduleReference)||xe.isImportDeclaration(e)||xe.isExportAssignment(e)||xe.isExportDeclaration(e)?e:void 0;var n}function VD(e){return n=e,xe.isMetaProperty(n)&&100===n.keywordToken&&"meta"===n.name.escapedText?e:zE(e,VD);var n}function jD(e){var n=ST(),t=(e?HT:UT)(18),r=dT(4194304,qS);e&&!t||KT(19),e=nn.createJSDocTypeExpression(r);return tT(e),$T(e,n)}function KD(){for(var e=ST(),n=HT(18),t=ST(),r=PS(!1);80===Je;)RT(),CT(),r=$T(nn.createJSDocMemberName(r,aS()),t);return n&&KT(19),n=nn.createJSDocNameReference(r),tT(n),$T(n,e)}function HD(e,n){void 0===e&&(e=0);var t,r,a,i,o,s,c,l=Ue,d=void 0===n?l.length:e+n;if(n=d-e,xe.Debug.assert(0<=e),xe.Debug.assert(e<=d),xe.Debug.assert(d<=l.length),WE(l,e))return s=[],c=[],Me.scanRange(e+3,n-5,(function(){var n,m=1,_=e-(l.lastIndexOf("\n",e)+1)+4;function f(e){n=n||_,s.push(e),_+=e.length}for(CT();k(5););k(4)&&(_=m=0);e:for(;;){switch(Je){case 59:0===m||1===m?(p(s),o=o||ST(),(y=g(_))&&(t?t.push(y):(t=[y],r=y.pos),a=y.end),n=void(m=0)):f(Me.getTokenText());break;case 4:s.push(Me.getTokenText()),_=m=0;break;case 41:var y=Me.getTokenText();1===m||2===m?(m=2,f(y)):(m=1,_+=y.length);break;case 5:var h=Me.getTokenText();2===m?s.push(h):void 0!==n&&_+h.length>n&&s.push(h.slice(n-_)),_+=h.length;break;case 1:break e;case 18:m=2,h=Me.getStartPos();var v=b(Me.getTextPos()-1);if(v){i||u(s),c.push($T(nn.createJSDocText(s.join("")),null!=i?i:e,h)),c.push(v),s=[],i=Me.getTextPos();break}default:m=2,f(Me.getTokenText())}CT()}p(s),c.length&&s.length&&c.push($T(nn.createJSDocText(s.join("")),null!=i?i:e,o)),c.length&&t&&xe.Debug.assertIsDefined(o,"having parsed tags implies that the end of the comment span should be set");var E=t&&ZT(t,r,a);return $T(nn.createJSDocComment(c.length?ZT(c,e,o):s.length?s.join(""):void 0,E),e,d)}));function u(e){for(;e.length&&("\n"===e[0]||"\r"===e[0]);)e.shift()}function p(e){for(;e.length&&""===e[e.length-1].trim();)e.pop()}function m(){for(;;){if(CT(),1===Je)return!0;if(5!==Je&&4!==Je)return!1}}function _(){if(5!==Je&&4!==Je||!MT(m))for(;5===Je||4===Je;)CT()}function f(){if((5===Je||4===Je)&&MT(m))return"";for(var e=Me.hasPrecedingLineBreak(),n=!1,t="";e&&41===Je||5===Je||4===Je;)t+=Me.getTokenText(),4===Je?(n=e=!0,t=""):41===Je&&(e=!1),CT();return n?t:""}function g(e){xe.Debug.assert(59===Je);var n,r,a,i,o,s,c,l,d,u,p,m,v,b,E,S,O,P,w,M,F,G=Me.getTokenPos(),B=(CT(),R(void 0)),U=f();switch(B.escapedText){case"author":n=((e,n,t,r)=>{var a=ST(),i=(()=>{for(var e=[],n=!1,t=Me.getToken();1!==t&&4!==t;){if(29===t)n=!0;else{if(59===t&&!n)break;if(31===t&&n){e.push(Me.getTokenText()),Me.setTextPos(Me.getTokenPos()+1);break}}e.push(Me.getTokenText()),t=CT()}return nn.createJSDocText(e.join(""))})(),o=Me.getStartPos();return(t=y(e,o,t,r))||(o=Me.getStartPos()),r="string"!=typeof t?ZT(xe.concatenate([$T(i,a,o)],t),a):i.text+t,$T(nn.createJSDocAuthorTag(n,r),e)})(G,B,e,U);break;case"implements":O=G,P=B,w=e,M=U,F=A(),n=$T(nn.createJSDocImplementsTag(P,F,y(O,ST(),w,M)),O);break;case"augments":case"extends":P=G,F=B,w=e,M=U,O=A(),n=$T(nn.createJSDocAugmentsTag(F,O,y(P,ST(),w,M)),P);break;case"class":case"constructor":n=C(G,nn.createJSDocClassTag,B,e,U);break;case"public":n=C(G,nn.createJSDocPublicTag,B,e,U);break;case"private":n=C(G,nn.createJSDocPrivateTag,B,e,U);break;case"protected":n=C(G,nn.createJSDocProtectedTag,B,e,U);break;case"readonly":n=C(G,nn.createJSDocReadonlyTag,B,e,U);break;case"override":n=C(G,nn.createJSDocOverrideTag,B,e,U);break;case"deprecated":an=!0,n=C(G,nn.createJSDocDeprecatedTag,B,e,U);break;case"this":m=G,v=B,b=e,E=U,S=jD(!0),_(),n=$T(nn.createJSDocThisTag(v,S,y(m,ST(),b,E)),m);break;case"enum":v=G,S=B,b=e,E=U,m=jD(!0),_(),n=$T(nn.createJSDocEnumTag(S,m,y(v,ST(),b,E)),v);break;case"arg":case"argument":case"param":return L(G,B,2,e);case"return":case"returns":c=G,l=B,d=e,u=U,xe.some(t,xe.isJSDocReturnTag)&&bT(l.pos,Me.getTokenPos(),xe.Diagnostics._0_tag_already_specified,l.escapedText),p=T(),n=$T(nn.createJSDocReturnTag(l,p,y(c,ST(),d,u)),c);break;case"template":l=G,p=B,d=e,u=U,c=18===Je?jD():void 0,s=(()=>{var e=ST(),n=[];do{_();var t=(()=>{var e=ST(),n=R(xe.Diagnostics.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces);if(!xe.nodeIsMissing(n))return $T(nn.createTypeParameterDeclaration(n,void 0,void 0),e)})()}while(void 0!==t&&n.push(t),f(),k(27));return ZT(n,e)})(),n=$T(nn.createJSDocTemplateTag(p,c,s,y(l,ST(),d,u)),l);break;case"type":n=D(G,B,e,U);break;case"typedef":n=((e,n,t,r)=>{var a,i=T(),o=(f(),I()),s=(_(),h(t));if(!i||x(i.type)){for(var c,l=void 0,d=void 0,u=void 0,p=!1;l=FT((function(){return N(1,t)}));)if(p=!0,338===l.kind){if(d){hT(xe.Diagnostics.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);var m=xe.lastOrUndefined(He);m&&xe.addRelatedInfo(m,xe.createDetachedDiagnostic(Ge,0,0,xe.Diagnostics.The_tag_was_first_specified_here));break}d=l}else u=xe.append(u,l);p&&(c=i&&181===i.type.kind,c=nn.createJSDocTypeLiteral(u,c),i=d&&d.typeExpression&&!x(d.typeExpression.type)?d.typeExpression:$T(c,e),c=i.end)}return c=c||void 0!==s?ST():(null!=(a=null!=o?o:i)?a:n).end,s=s||y(e,c,t,r),$T(nn.createJSDocTypedefTag(n,i,o,s),e,c)})(G,B,e,U);break;case"callback":n=((e,n,t,r)=>{var a=I(),i=(_(),h(t)),o=(e=>{for(var n,t,r=ST();n=FT((function(){return N(4,e)}));)t=xe.append(t,n);return ZT(t||[],r)})(t),s=FT((function(){if(k(59)){var e=g(t);if(e&&336===e.kind)return e}}));o=$T(nn.createJSDocSignature(void 0,o,s),e);return i=i||y(e,ST(),t,r),$T(nn.createJSDocCallbackTag(n,o,a,i),e)})(G,B,e,U);break;case"see":s=G,r=B,a=e,i=U,o=MT((function(){return 59===CT()&&xe.tokenIsIdentifierOrKeyword(CT())&&"link"===Me.getTokenValue()}))?void 0:KD(),a=void 0!==a&&void 0!==i?y(s,ST(),a,i):void 0,n=$T(nn.createJSDocSeeTag(r,o,a),s);break;default:i=G,r=e,o=U,n=$T(nn.createJSDocUnknownTag(B,y(i,ST(),r,o)),i)}return n}function y(e,n,t,r){return r||(t+=n-e),h(t,r.slice(t))}function h(e,n){var t,r,a=ST(),i=[],o=[],s=0,c=!0;function l(n){r=r||e,i.push(n),e+=n.length}void 0!==n&&(""!==n&&l(n),s=1);var d=Je;e:for(;;){switch(d){case 4:s=0,i.push(Me.getTokenText()),e=0;break;case 59:if(3===s||2===s&&(!c||MT(v))){i.push(Me.getTokenText());break}Me.setTextPos(Me.getTextPos()-1);case 1:break e;case 5:2===s||3===s?l(Me.getTokenText()):(m=Me.getTokenText(),void 0!==r&&e+m.length>r&&i.push(m.slice(r-e)),e+=m.length);break;case 18:s=2;var m=Me.getStartPos(),_=b(Me.getTextPos()-1);_?(o.push($T(nn.createJSDocText(i.join("")),null!=t?t:a,m)),o.push(_),i=[],t=Me.getTextPos()):l(Me.getTokenText());break;case 61:s=3===s?2:3,l(Me.getTokenText());break;case 41:if(0===s){e+=s=1;break}default:3!==s&&(s=2),l(Me.getTokenText())}c=5===Je,d=CT()}return u(i),p(i),o.length?(i.length&&o.push($T(nn.createJSDocText(i.join("")),null!=t?t:a)),ZT(o,a,Me.getTextPos())):i.length?i.join(""):void 0}function v(){var e=CT();return 5===e||4===e}function b(e){var n=FT(E);if(n){CT(),_();var t=ST(),r=xe.tokenIsIdentifierOrKeyword(Je)?PS(!0):void 0;if(r)for(;80===Je;)RT(),CT(),r=$T(nn.createJSDocMemberName(r,aS()),t);for(var a=[];19!==Je&&4!==Je&&1!==Je;)a.push(Me.getTokenText()),CT();return $T(("link"===n?nn.createJSDocLink:"linkcode"===n?nn.createJSDocLinkCode:nn.createJSDocLinkPlain)(r,a.join("")),e,Me.getTextPos())}}function E(){if(f(),18===Je&&59===CT()&&xe.tokenIsIdentifierOrKeyword(CT())){var e=Me.getTokenValue();if("link"===e||"linkcode"===e||"linkplain"===e)return e}}function T(){return f(),18===Je?jD():void 0}function S(){var e=k(22),n=(e&&_(),k(61)),t=(()=>{var e=R();for(HT(22)&&UT(23);HT(24);){var n=R();HT(22)&&UT(23),e=((e,n)=>$T(nn.createQualifiedName(e,n),e.pos))(e,n)}return e})();return n&&!zT(n=61)&&eS(n,!1,xe.Diagnostics._0_expected,xe.tokenToString(n)),e&&(_(),WT(63)&&Wx(),UT(23)),{name:t,isBracketed:e}}function x(e){switch(e.kind){case 146:return!0;case 181:return x(e.elementType);default:return xe.isTypeReferenceNode(e)&&xe.isIdentifier(e.typeName)&&"Object"===e.typeName.escapedText&&!e.typeArguments}}function L(e,n,t,r){var a=T(),i=!a,o=(f(),S()),s=o.name,c=(o=o.isBracketed,f());i&&!MT(E)&&(a=T()),c=y(e,ST(),r,c),r=4!==t&&((e,n,t,r)=>{if(e&&x(e.type)){for(var a=ST(),i=void 0,o=void 0;i=FT((function(){return N(t,r,n)}));)335!==i.kind&&342!==i.kind||(o=xe.append(o,i));if(o)return e=$T(nn.createJSDocTypeLiteral(o,181===e.type.kind),a),$T(nn.createJSDocTypeExpression(e),a)}})(a,s,t,r);return r&&(a=r,i=!0),$T(1===t?nn.createJSDocPropertyTag(n,s,o,a,i,c):nn.createJSDocParameterTag(n,s,o,a,i,c),e)}function D(e,n,r,a){xe.some(t,xe.isJSDocTypeTag)&&bT(n.pos,Me.getTokenPos(),xe.Diagnostics._0_tag_already_specified,n.escapedText);var i=jD(!0);r=void 0!==r&&void 0!==a?y(e,ST(),r,a):void 0;return $T(nn.createJSDocTypeTag(n,i,r),e)}function A(){var e=HT(18),n=ST(),t=(()=>{for(var e=ST(),n=R();HT(24);){var t=R();n=$T(nn.createPropertyAccessExpression(n,t),e)}return n})(),r=AD();t=$T(nn.createExpressionWithTypeArguments(t,r),n);return e&&UT(19),t}function C(e,n,t,r,a){return $T(n(t,y(e,ST(),r,a)),e)}function I(e){var n,t,r=Me.getTokenPos();if(xe.tokenIsIdentifierOrKeyword(Je))return n=R(),HT(24)?(t=I(!0),$T(nn.createModuleDeclaration(void 0,void 0,n,t,e?4:void 0),r)):(e&&(n.isInJSDocNamespace=!0),n)}function N(e,n,t){for(var r,a=!0,i=!1;;)switch(CT()){case 59:if(a)return!((r=((e,n)=>{xe.Debug.assert(59===Je);var t,r=Me.getStartPos(),a=(CT(),R());switch(_(),a.escapedText){case"type":return 1===e&&D(r,a);case"prop":case"property":t=1;break;case"arg":case"argument":case"param":t=6;break;default:return!1}return!!(e&t)&&L(r,a,e,n)})(e,n))&&(335===r.kind||342===r.kind)&&4!==e&&t&&(xe.isIdentifier(r.name)||!((e,n)=>{for(;!xe.isIdentifier(e)||!xe.isIdentifier(n);){if(xe.isIdentifier(e)||xe.isIdentifier(n)||e.right.escapedText!==n.right.escapedText)return;e=e.left,n=n.left}return e.escapedText===n.escapedText})(t,r.name.left)))&&r;i=!1;break;case 4:i=!(a=!0);break;case 41:i&&(a=!1),i=!0;break;case 79:a=!1;break;case 1:return!1}}function k(e){return Je===e&&(CT(),!0)}function R(e){if(!xe.tokenIsIdentifierOrKeyword(Je))return eS(79,!e,e||xe.Diagnostics.Identifier_expected);Qe++;e=Me.getTokenPos();var n=Me.getTextPos(),t=Je,r=nS(Me.getTokenValue());r=$T(nn.createIdentifier(r,void 0,t),e,n);return CT(),r}}function WD(e,n,t,r,a,i){function o(e){var n="";if(i&&zD(e)&&(n=r.substring(e.pos,e.end)),e._children&&(e._children=void 0),xe.setTextRangePosEnd(e,e.pos+t,e.end+t),i&&zD(e)&&xe.Debug.assert(n===a.substring(e.pos,e.end)),zE(e,o,s),xe.hasJSDocNodes(e))for(var c=0,l=e.jsDoc;c<l.length;c++)o(l[c]);qD(e,i)}function s(e){e._children=void 0,xe.setTextRangePosEnd(e,e.pos+t,e.end+t);for(var n=0,r=e;n<r.length;n++)o(r[n])}(n?s:o)(e)}function zD(e){switch(e.kind){case 10:case 8:case 79:return 1}}function JD(e,n,t,r,a){xe.Debug.assert(e.end>=n,"Adjusting an element that was entirely before the change range"),xe.Debug.assert(e.pos<=t,"Adjusting an element that was entirely after the change range"),xe.Debug.assert(e.pos<=e.end),n=Math.min(e.pos,r),t=e.end>=t?e.end+a:Math.min(e.end,r),xe.Debug.assert(n<=t),e.parent&&(xe.Debug.assertGreaterThanOrEqual(n,e.parent.pos),xe.Debug.assertLessThanOrEqual(t,e.parent.end)),xe.setTextRangePosEnd(e,n,t)}function qD(e,n){if(n){var t=e.pos,r=function(e){xe.Debug.assert(e.pos>=t),t=e.end};if(xe.hasJSDocNodes(e))for(var a=0,i=e.jsDoc;a<i.length;a++)r(i[a]);zE(e,r),xe.Debug.assert(t<=e.end)}}function XD(e,n,t,r){var a;e=e.text;t&&(xe.Debug.assert(e.length-t.span.length+t.newLength===n.length),r||xe.Debug.shouldAssert(3))&&(r=e.substr(0,t.span.start),a=n.substr(0,t.span.start),xe.Debug.assert(r===a),r=e.substring(xe.textSpanEnd(t.span),e.length),a=n.substring(xe.textSpanEnd(xe.textChangeRangeNewSpan(t)),n.length),xe.Debug.assert(r===a))}function YD(e){var n=e.statements,t=0,r=(xe.Debug.assert(t<n.length),n[t]),a=-1;return{currentNode:function(i){function o(e){return c>=e.pos&&c<e.end&&(zE(e,o,s),!0)}function s(e){if(c>=e.pos&&c<e.end)for(var a=0;a<e.length;a++){var i=e[a];if(i){if(i.pos===c)return n=e,t=a,r=i,!0;if(i.pos<c&&c<i.end)return zE(i,o,s),!0}}return!1}var c;return i===a||(r=r&&r.end===i&&t<n.length-1?n[++t]:r)&&r.pos===i||(c=i,t=-1,r=n=void 0,zE(e,o,s)),a=i,xe.Debug.assert(!r||r.pos===i),r}}}function QD(e){return xe.fileExtensionIs(e,".d.ts")}function ZD(e,n){for(var t=[],r=0,a=xe.getLeadingCommentRanges(n,0)||xe.emptyArray;r<a.length;r++){var i=a[r];((e,n,t)=>{if(r=2===n.kind&&dn.exec(t)){var r=r[1].toLowerCase(),a=xe.commentPragmas[r];if(a&&1&a.kind)if(a.args){for(var i={},o=0,s=a.args;o<s.length;o++){var c,l=s[o],d=(e=>{var n;return ln.has(e)?ln.get(e):(n=new RegExp("(\\s"+e+"\\s*=\\s*)(?:(?:'([^']*)')|(?:\"([^\"]*)\"))","im"),ln.set(e,n),n)})(l.name).exec(t);if(!d&&!l.optional)return;d&&(c=d[2]||d[3],l.captureSpan?(d=n.pos+d.index+d[1].length+1,i[l.name]={value:c,pos:d,end:d+c.length}):i[l.name]=c)}e.push({name:r,args:{arguments:i,range:n}})}else e.push({name:r,args:{arguments:{},range:n}})}else{if(a=2===n.kind&&un.exec(t),a)return eA(e,n,2,a);if(3===n.kind)for(var u=/@(\S+)(\s+.*)?$/gim,p=void 0;p=u.exec(t);)eA(e,n,4,p)}})(t,i,n.substring(i.pos,i.end))}e.pragmas=new xe.Map;for(var o=0,s=t;o<s.length;o++){var c,l=s[o];e.pragmas.has(l.name)?(c=e.pragmas.get(l.name))instanceof Array?c.push(l.args):e.pragmas.set(l.name,[c,l.args]):e.pragmas.set(l.name,l.args)}}function $D(e,n){e.checkJsDirective=void 0,e.referencedFiles=[],e.typeReferenceDirectives=[],e.libReferenceDirectives=[],e.amdDependencies=[],e.hasNoDefaultLib=!1,e.pragmas.forEach((function(t,r){switch(r){case"reference":var a=e.referencedFiles,i=e.typeReferenceDirectives,o=e.libReferenceDirectives;xe.forEach(xe.toArray(t),(function(t){var r=t.arguments,s=r.types,c=r.lib;r=r.path;t.arguments["no-default-lib"]?e.hasNoDefaultLib=!0:s?i.push({pos:s.pos,end:s.end,fileName:s.value}):c?o.push({pos:c.pos,end:c.end,fileName:c.value}):r?a.push({pos:r.pos,end:r.end,fileName:r.value}):n(t.range.pos,t.range.end-t.range.pos,xe.Diagnostics.Invalid_reference_directive_syntax)}));break;case"amd-dependency":e.amdDependencies=xe.map(xe.toArray(t),(function(e){return{name:e.arguments.name,path:e.arguments.path}}));break;case"amd-module":if(t instanceof Array)for(var s=0,c=t;s<c.length;s++){var l=c[s];e.moduleName&&n(l.range.pos,l.range.end-l.range.pos,xe.Diagnostics.An_AMD_module_cannot_have_multiple_name_assignments),e.moduleName=l.arguments.name}else e.moduleName=t.arguments.name;break;case"ts-nocheck":case"ts-check":xe.forEach(xe.toArray(t),(function(n){(!e.checkJsDirective||n.range.pos>e.checkJsDirective.pos)&&(e.checkJsDirective={enabled:"ts-check"===r,end:n.range.end,pos:n.range.pos})}));break;case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:xe.Debug.fail("Unhandled pragma kind")}}))}function eA(e,n,t,r){var a,i;r&&(a=r[1].toLowerCase(),i=xe.commentPragmas[a])&&i.kind&t&&"fail"!==(t=((e,n)=>{if(!n)return{};if(!e.args)return{};for(var t=xe.trimString(n).split(/\s+/),r={},a=0;a<e.args.length;a++){var i=e.args[a];if(!t[a]&&!i.optional)return"fail";if(i.captureSpan)return xe.Debug.fail("Capture spans not yet implemented for non-xml pragmas");r[i.name]=t[a]}return r})(i,r[2]))&&e.push({name:a,args:{arguments:t,range:n}})}function nA(e,n){return e.kind===n.kind&&(79===e.kind?e.escapedText===n.escapedText:108===e.kind||e.name.escapedText===n.name.escapedText&&nA(e.expression,n.expression))}function tA(e){var n=new pn.Map,t=new pn.Map;return pn.forEach(e,(function(e){n.set(e.name.toLowerCase(),e),e.shortName&&t.set(e.shortName,e.name)})),{optionsNameMap:n,shortOptionNames:t}}function rA(){return mn=mn||tA(pn.optionDeclarations)}function aA(e){return e&&void 0!==e.enableAutoDiscovery&&void 0===e.enable?{enable:e.enableAutoDiscovery,include:e.include||[],exclude:e.exclude||[]}:e}function iA(e){return oA(e,pn.createCompilerDiagnostic)}function oA(e,n){var t=pn.arrayFrom(e.type.keys()).map((function(e){return"'"+e+"'"})).join(", ");return n(pn.Diagnostics.Argument_for_0_option_must_be_Colon_1,"--"+e.name,t)}function sA(e,n,t){return QA(e,pn.trimString(n||""),t)}function cA(e,n,t){if(n=pn.trimString(n=void 0===n?"":n),!pn.startsWith(n,"-")){if(""===n)return[];var r=n.split(",");switch(e.element.type){case"number":return pn.mapDefined(r,(function(n){return YA(e.element,parseInt(n),t)}));case"string":return pn.mapDefined(r,(function(n){return YA(e.element,n||"",t)}));default:return pn.mapDefined(r,(function(n){return sA(e.element,n,t)}))}}}function lA(e){return e.name}function dA(e,n,t,r){var a;return null!=(a=n.alternateMode)&&a.getOptionsNameMap().optionsNameMap.has(e.toLowerCase())?t(n.alternateMode.diagnostic,e):(a=pn.getSpellingSuggestion(e,n.optionDeclarations,lA))?t(n.unknownDidYouMeanDiagnostic,r||e,a.name):t(n.unknownOptionDiagnostic,r||e)}function uA(e,n,t){var r,a={},i=[],o=[];return s(n),{options:a,watchOptions:r,fileNames:i,errors:o};function s(n){for(var c=0;c<n.length;){var l,d,u=n[c];if(c++,64===u.charCodeAt(0)){g=f=_=m=p=void 0;var p=u.slice(1),m=hA(p,t||function(e){return pn.sys.readFile(e)});if(pn.isString(m)){for(var _=[],f=0;;){for(;f<m.length&&m.charCodeAt(f)<=32;)f++;if(f>=m.length)break;var g=f;if(34===m.charCodeAt(g)){for(f++;f<m.length&&34!==m.charCodeAt(f);)f++;f<m.length?(_.push(m.substring(g+1,f)),f++):o.push(pn.createCompilerDiagnostic(pn.Diagnostics.Unterminated_quoted_string_in_response_file_0,p))}else{for(;32<m.charCodeAt(f);)f++;_.push(m.substring(g,f))}}s(_)}else o.push(m)}else 45===u.charCodeAt(0)?(l=u.slice(45===u.charCodeAt(1)?2:1),(d=_A(e.getOptionsNameMap,l,!0))?c=pA(n,c,e,d,a,o):(d=_A(Tn.getOptionsNameMap,l,!0))?c=pA(n,c,Tn,d,r=r||{},o):o.push(dA(l,e,pn.createCompilerDiagnostic,u))):i.push(u)}}}function pA(e,n,t,r,a,i){if(r.isTSConfigOnly)"null"===(o=e[n])?(a[r.name]=void 0,n++):"boolean"===r.type?"false"===o?(a[r.name]=YA(r,!1,i),n++):("true"===o&&n++,i.push(pn.createCompilerDiagnostic(pn.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line,r.name))):(i.push(pn.createCompilerDiagnostic(pn.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line,r.name)),o&&!pn.startsWith(o,"-")&&n++);else if(e[n]||"boolean"===r.type||i.push(pn.createCompilerDiagnostic(t.optionTypeMismatchDiagnostic,r.name,AA(r))),"null"!==e[n])switch(r.type){case"number":a[r.name]=YA(r,parseInt(e[n]),i),n++;break;case"boolean":var o=e[n];a[r.name]=YA(r,"false"!==o,i),"false"!==o&&"true"!==o||n++;break;case"string":a[r.name]=YA(r,e[n]||"",i),n++;break;case"list":var s=cA(r,e[n],i);a[r.name]=s||[],s&&n++;break;default:a[r.name]=sA(r,e[n],i),n++}else a[r.name]=void 0,n++;return n}function mA(e,n){return _A(rA,e,n)}function _A(e,n,t){void 0===t&&(t=!1),n=n.toLowerCase();e=e();var r=e.optionsNameMap;return t&&void 0!==(t=e.shortOptionNames.get(n))&&(n=t),r.get(n)}function fA(){return _n=_n||tA(pn.buildOpts)}function gA(e,n){return e=pn.parseJsonText(e,n),{config:xA(e,e.parseDiagnostics,!1,void 0),error:e.parseDiagnostics.length?e.parseDiagnostics[0]:void 0}}function yA(e,n){return n=hA(e,n),pn.isString(n)?pn.parseJsonText(e,n):{fileName:e,parseDiagnostics:[n]}}function hA(e,n){var t;try{t=n(e)}catch(n){return pn.createCompilerDiagnostic(pn.Diagnostics.Cannot_read_file_0_Colon_1,e,n.message)}return void 0===t?pn.createCompilerDiagnostic(pn.Diagnostics.Cannot_read_file_0,e):t}function vA(e){return pn.arrayToMap(e,lA)}function bA(){return gn=gn||tA(pn.optionsForWatch)}function EA(){return hn=hn||vA(pn.optionDeclarations)}function TA(){return vn=vn||vA(pn.optionsForWatch)}function SA(){return bn=bn||vA(pn.typeAcquisitionDeclarations)}function xA(e,n,t,r){var a=null==(a=e.statements[0])?void 0:a.expression;t=t?En=void 0===En?{name:void 0,type:"object",elementOptions:vA([{name:"compilerOptions",type:"object",elementOptions:EA(),extraKeyDiagnostics:pn.compilerOptionsDidYouMeanDiagnostics},{name:"watchOptions",type:"object",elementOptions:TA(),extraKeyDiagnostics:Tn},{name:"typingOptions",type:"object",elementOptions:SA(),extraKeyDiagnostics:yn},{name:"typeAcquisition",type:"object",elementOptions:SA(),extraKeyDiagnostics:yn},{name:"extends",type:"string",category:pn.Diagnostics.File_Management},{name:"references",type:"list",element:{name:"references",type:"object"},category:pn.Diagnostics.Projects},{name:"files",type:"list",element:{name:"files",type:"string"},category:pn.Diagnostics.File_Management},{name:"include",type:"list",element:{name:"include",type:"string"},category:pn.Diagnostics.File_Management,defaultValueDescription:pn.Diagnostics.if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk},{name:"exclude",type:"list",element:{name:"exclude",type:"string"},category:pn.Diagnostics.File_Management,defaultValueDescription:pn.Diagnostics.node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified},pn.compileOnSaveCommandLineOption])}:En:void 0;if(a&&203!==a.kind){if(n.push(pn.createDiagnosticForNodeInSourceFile(e,a,pn.Diagnostics.The_root_value_of_a_0_file_must_be_an_object,"jsconfig.json"===pn.getBaseFileName(e.fileName)?"jsconfig.json":"tsconfig.json")),pn.isArrayLiteralExpression(a)){var i=pn.find(a.elements,pn.isObjectLiteralExpression);if(i)return DA(e,i,n,!0,t,r)}return{}}return DA(e,a,n,!0,t,r)}function LA(e,n){return DA(e,null==(e=e.statements[0])?void 0:e.expression,n,!0,void 0,void 0)}function DA(e,n,t,r,a,i){return n?c(n,a):r?{}:void 0;function o(e){return a&&a.elementOptions===e}function s(n,a,s,d){for(var u=r?{}:void 0,p=0,m=n.properties;p<m.length;p++)(n=>{if(291!==n.kind)return t.push(pn.createDiagnosticForNodeInSourceFile(e,n,pn.Diagnostics.Property_assignment_expected));n.questionToken&&t.push(pn.createDiagnosticForNodeInSourceFile(e,n.questionToken,pn.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),l(n.name)||t.push(pn.createDiagnosticForNodeInSourceFile(e,n.name,pn.Diagnostics.String_literal_with_double_quotes_expected));var p,m=pn.isComputedNonLiteralName(n.name)?void 0:pn.getTextOfPropertyName(n.name),_=(m=m&&pn.unescapeLeadingUnderscores(m))&&a?a.get(m):void 0,f=(m&&s&&!_&&(a?t.push(dA(m,s,(function(t,r,a){return pn.createDiagnosticForNodeInSourceFile(e,n.name,t,r,a)}))):t.push(pn.createDiagnosticForNodeInSourceFile(e,n.name,s.unknownOptionDiagnostic,m))),c(n.initializer,_));void 0!==m&&(r&&(u[m]=f),i)&&(d||o(a))&&(p=CA(_,f),d?p&&i.onSetValidOptionKeyValueInParent(d,_,f):o(a)&&(p?i.onSetValidOptionKeyValueInRoot(m,n.name,f,n.initializer):_||i.onSetUnknownOptionKeyValueInRoot(m,n.name,f,n.initializer)))})(m[p]);return u}function c(n,a){var i;switch(n.kind){case 110:return p(a&&"boolean"!==a.type),u(!0);case 95:return p(a&&"boolean"!==a.type),u(!1);case 104:return p(a&&"extends"===a.name),u(null);case 10:l(n)||t.push(pn.createDiagnosticForNodeInSourceFile(e,n,pn.Diagnostics.String_literal_with_double_quotes_expected)),p(a&&pn.isString(a.type)&&"string"!==a.type);var o=n.text;return!a||pn.isString(a.type)||(d=a).type.has(o.toLowerCase())||(t.push(oA(d,(function(t,r,a){return pn.createDiagnosticForNodeInSourceFile(e,n,t,r,a)}))),i=!0),u(o);case 8:return p(a&&"number"!==a.type),u(Number(n.text));case 217:if(40!==n.operator||8!==n.operand.kind)break;return p(a&&"number"!==a.type),u(-Number(n.operand.text));case 203:p(a&&"object"!==a.type);var d=n;return u(a?s(d,a.elementOptions,a.extraKeyDiagnostics,a.name):s(d,void 0,void 0,void 0));case 202:return p(a&&"list"!==a.type),u(((e,n)=>{if(r)return pn.filter(e.map((function(e){return c(e,n)})),(function(e){return void 0!==e}));e.forEach((function(e){return c(e,n)}))})(n.elements,a&&a.element))}function u(r){if(!i){var o=null==(o=null==a?void 0:a.extraValidation)?void 0:o.call(a,r);if(o)return void t.push(pn.createDiagnosticForNodeInSourceFile.apply(void 0,eu([e,n],o,!1)))}return r}function p(r){r&&(t.push(pn.createDiagnosticForNodeInSourceFile(e,n,pn.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,a.name,AA(a))),i=!0)}a?p(!0):t.push(pn.createDiagnosticForNodeInSourceFile(e,n,pn.Diagnostics.Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal))}function l(n){return pn.isStringLiteral(n)&&pn.isStringDoubleQuoted(n,e)}}function AA(e){return"list"===e.type?"Array":pn.isString(e.type)?e.type:"string"}function CA(e,n){return!!e&&(!!wA(n)||("list"===e.type?pn.isArray(n):typeof n===(pn.isString(e.type)?e.type:"string")))}function IA(e){return nu({},pn.arrayFrom(e.entries()).reduce((function(e,n){return nu(nu({},e),((e={})[n[0]]=n[1],e))}),{}))}function NA(e,n){return pn.forEachEntry(n,(function(n,t){if(n===e)return t}))}function kA(e,n){return RA(e,rA(),n)}function RA(e,n,t){function r(n){if(pn.hasProperty(e,n)){if(i.has(n)&&(i.get(n).category===pn.Diagnostics.Command_line_Options||i.get(n).category===pn.Diagnostics.Output_Formatting))return;var r,a=e[n],c=i.get(n.toLowerCase());c&&((r=function e(n){if("string"!==n.type&&"number"!==n.type&&"boolean"!==n.type&&"object"!==n.type)return"list"===n.type?e(n.element):n.type}(c))?"list"===c.type?o.set(n,a.map((function(e){return NA(e,r)}))):o.set(n,NA(a,r)):t&&c.isFilePath?o.set(n,pn.getRelativePathFromFile(t.configFilePath,pn.getNormalizedAbsolutePath(a,pn.getDirectoryPath(t.configFilePath)),s)):o.set(n,a))}}var a,i=n.optionsNameMap,o=new pn.Map,s=t&&pn.createGetCanonicalFileName(t.useCaseSensitiveFileNames);for(a in e)r(a);return o}function OA(e,n,t,r,a,i,o,s,c){return FA(void 0,e,n,t,r,c,a,i,o,s)}function PA(e,n){n&&Object.defineProperty(e,"configFile",{enumerable:!1,writable:!1,value:n})}function wA(e){return null==e}function MA(e,n){return pn.getDirectoryPath(pn.getNormalizedAbsolutePath(e,n))}function FA(e,n,t,r,a,i,o,s,c,l){void 0===a&&(a={}),void 0===s&&(s=[]),void 0===c&&(c=[]),pn.Debug.assert(void 0===e&&void 0!==n||void 0!==e&&void 0===n);var d=[],u=(e=VA(e,n,t,r,o,s,d,l),e.raw),p=pn.extend(a,e.options||{}),m=(l=i&&e.watchOptions?pn.extend(i,e.watchOptions):e.watchOptions||i,p.configFilePath=o&&pn.normalizeSlashes(o),(()=>{var e=g("references",(function(e){return"object"==typeof e}),"object"),t=_(f("files"));t&&(e="no-prop"===e||pn.isArray(e)&&0===e.length,s=pn.hasProperty(u,"extends"),0===t.length)&&e&&!s&&(n?(e=o||"tsconfig.json",s=pn.Diagnostics.The_files_list_in_config_file_0_is_empty,c=(c=pn.firstDefined(pn.getTsConfigPropArray(n,"files"),(function(e){return e.initializer})))?pn.createDiagnosticForNodeInSourceFile(n,c,s,e):pn.createCompilerDiagnostic(s,e),d.push(c)):y(pn.Diagnostics.The_files_list_in_config_file_0_is_empty,o||"tsconfig.json"));var r,a,i,s=_(f("include")),c=_(e=f("exclude"));return"no-prop"===e&&u.compilerOptions&&(e=u.compilerOptions.outDir,i=u.compilerOptions.declarationDir,e||i)&&(c=[e,i].filter((function(e){return!!e}))),(s=void 0===t&&void 0===s?["**/*"]:s)&&(r=nC(s,d,!0,n,"include")),c&&(a=nC(c,d,!1,n,"exclude")),{filesSpecs:t,includeSpecs:s,excludeSpecs:c,validatedFilesSpec:pn.filter(t,pn.isString),validatedIncludeSpecs:r,validatedExcludeSpecs:a,pathPatterns:void 0}})());n&&(n.configFileSpecs=m),PA(p,n),a=pn.normalizePath(o?MA(o,r):r);return{options:p,watchOptions:l,fileNames:(e=>(BA(e=ZA(m,e,p,t,c),UA(u),s)&&d.push(GA(m,o)),e))(a),projectReferences:(e=>{var n,t=g("references",(function(e){return"object"==typeof e}),"object");if(pn.isArray(t))for(var r=0,a=t;r<a.length;r++){var i=a[r];"string"!=typeof i.path?y(pn.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"reference.path","string"):(n=n||[]).push({path:pn.getNormalizedAbsolutePath(i.path,e),originalPath:i.path,prepend:i.prepend,circular:i.circular})}return n})(a),typeAcquisition:e.typeAcquisition||WA(),raw:u,errors:d,wildcardDirectories:((e,n,t)=>{var r=e.validatedIncludeSpecs,a=(e=e.validatedExcludeSpecs,(e=pn.getRegularExpressionForWildcard(e,n,"exclude"))&&new RegExp(e,t?"":"i")),i={};if(void 0!==r){for(var o=[],s=0,c=r;s<c.length;s++){var l,d,u=c[s];u=pn.normalizePath(pn.combinePaths(n,u));a&&a.test(u)||(u=((e,n)=>{var t,r,a,i=xn.exec(e);return i?(t=e.indexOf("?"),r=e.indexOf("*"),a=e.lastIndexOf(pn.directorySeparator),{key:n?i[0]:pn.toFileNameLowerCase(i[0]),flags:-1!==t&&t<a||-1!==r&&r<a?1:0}):pn.isImplicitGlob(e)?{key:n?e:pn.toFileNameLowerCase(e),flags:1}:void 0})(u,t))&&(l=u.key,u=u.flags,void 0===(d=i[l])||d<u)&&1===(i[l]=u)&&o.push(l)}for(l in i)if(pn.hasProperty(i,l))for(var p=0,m=o;p<m.length;p++){var _=m[p];l!==_&&pn.containsPath(_,l,n,!t)&&delete i[l]}}return i})(m,a,t.useCaseSensitiveFileNames),compileOnSave:!!u.compileOnSave};function _(e){return pn.isArray(e)?e:void 0}function f(e){return g(e,pn.isString,"string")}function g(e,t,r){var a;return pn.hasProperty(u,e)&&!wA(u[e])?pn.isArray(u[e])?(a=u[e],n||pn.every(a,t)||d.push(pn.createCompilerDiagnostic(pn.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,e,r)),a):(y(pn.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,e,"Array"),"not-array"):"no-prop"}function y(e,t,r){n||d.push(pn.createCompilerDiagnostic(e,t,r))}}function GA(e,n){var t=e.includeSpecs;e=e.excludeSpecs;return pn.createCompilerDiagnostic(pn.Diagnostics.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2,n||"tsconfig.json",JSON.stringify(t||[]),JSON.stringify(e||[]))}function BA(e,n,t){return 0===e.length&&n&&(!t||0===t.length)}function UA(e){return!pn.hasProperty(e,"files")&&!pn.hasProperty(e,"references")}function VA(e,n,t,r,a,i,o,s){r=pn.normalizeSlashes(r);var c,l,d,u,p=pn.getNormalizedAbsolutePath(a||"",r);return 0<=i.indexOf(p)?(o.push(pn.createCompilerDiagnostic(pn.Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0,eu(eu([],i,!0),[p],!1).join(" -> "))),{raw:e||LA(n,o)}):(null!=(e=(c=e?((e,n,t,r,a)=>{pn.hasProperty(e,"excludes")&&a.push(pn.createCompilerDiagnostic(pn.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude));var i,o=HA(e.compilerOptions,t,a,r),s=zA(e.typeAcquisition||e.typingOptions,t,a,r),c=((e,n,t)=>JA(TA(),e,n,void 0,Tn,t))(e.watchOptions,t,a);return e.compileOnSave=((e,n,t)=>!!pn.hasProperty(e,pn.compileOnSaveCommandLineOption.name)&&"boolean"==typeof(e=qA(pn.compileOnSaveCommandLineOption,e.compileOnSave,n,t))&&e)(e,t,a),e.extends&&(pn.isString(e.extends)?(r=r?MA(r,t):t,i=jA(e.extends,n,r,a,pn.createCompilerDiagnostic)):a.push(pn.createCompilerDiagnostic(pn.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"extends","string"))),{raw:e,options:o,watchOptions:c,typeAcquisition:s,extendedConfigPath:i}})(e,t,r,a,o):((e,n,t,r,a)=>{var i,o,s,c,l=KA(r),d=xA(e,a,!0,{onSetValidOptionKeyValueInParent:function(e,n,a){var c;switch(e){case"compilerOptions":c=l;break;case"watchOptions":c=s=s||{};break;case"typeAcquisition":c=i=i||WA(r);break;case"typingOptions":c=o=o||WA(r);break;default:pn.Debug.fail("Unknown option")}c[n.name]=function e(n,t,r){var a;if(!wA(r))return"list"===n.type?(a=n).element.isFilePath||!pn.isString(a.element.type)?pn.filter(pn.map(r,(function(n){return e(a.element,t,n)})),(function(e){return!!e})):r:pn.isString(n.type)?XA(n,t,r):n.type.get(pn.isString(r)?r.toLowerCase():r)}(n,t,a)},onSetValidOptionKeyValueInRoot:function(i,o,s,l){"extends"===i&&(i=r?MA(r,t):t,c=jA(s,n,i,a,(function(n,t){return pn.createDiagnosticForNodeInSourceFile(e,l,n,t)})))},onSetUnknownOptionKeyValueInRoot:function(n,t,r,i){"excludes"===n&&a.push(pn.createDiagnosticForNodeInSourceFile(e,t,pn.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude))}});return i=i||(o?void 0!==o.enableAutoDiscovery?{enable:o.enableAutoDiscovery,include:o.include,exclude:o.exclude}:o:WA(r)),{raw:d,options:l,watchOptions:s,typeAcquisition:i,extendedConfigPath:c}})(n,t,r,a,o)).options)&&e.paths&&(c.options.pathsBasePath=r),c.extendedConfigPath&&(i=i.concat([p]),a=((e,n,t,r,a,i)=>{var o,s,c,l=t.useCaseSensitiveFileNames?n:pn.toFileNameLowerCase(n);if(i&&(o=i.get(l))?(s=o.extendedResult,c=o.extendedConfig):((s=yA(n,(function(e){return t.readFile(e)}))).parseDiagnostics.length||(c=VA(void 0,s,t,pn.getDirectoryPath(n),pn.getBaseFileName(n),r,a,i)),i&&i.set(l,{extendedResult:s,extendedConfig:c})),e&&(e.extendedSourceFiles=[s.fileName],s.extendedSourceFiles)&&(o=e.extendedSourceFiles).push.apply(o,s.extendedSourceFiles),!s.parseDiagnostics.length)return c;a.push.apply(a,s.parseDiagnostics)})(n,c.extendedConfigPath,t,i,o,s))&&a.options&&(l=a.raw,d=c.raw,(e=function(e){!d[e]&&l[e]&&(d[e]=pn.map(l[e],(function(e){return pn.isRootedDiskPath(e)?e:pn.combinePaths(u=u||pn.convertToRelativePath(pn.getDirectoryPath(c.extendedConfigPath),r,pn.createGetCanonicalFileName(t.useCaseSensitiveFileNames)),e)})))})("include"),e("exclude"),e("files"),void 0===d.compileOnSave&&(d.compileOnSave=l.compileOnSave),c.options=pn.assign({},a.options,c.options),c.watchOptions=c.watchOptions&&a.watchOptions?pn.assign({},a.watchOptions,c.watchOptions):c.watchOptions||a.watchOptions),c)}function jA(e,n,t,r,a){var i;return e=pn.normalizeSlashes(e),pn.isRootedDiskPath(e)||pn.startsWith(e,"./")||pn.startsWith(e,"../")?(i=pn.getNormalizedAbsolutePath(e,t),n.fileExists(i)||pn.endsWith(i,".json")||n.fileExists(i+=".json")?i:void r.push(a(pn.Diagnostics.File_0_not_found,e))):(i=pn.nodeModuleNameResolver(e,pn.combinePaths(t,"tsconfig.json"),{moduleResolution:pn.ModuleResolutionKind.NodeJs},n,void 0,void 0,!0)).resolvedModule?i.resolvedModule.resolvedFileName:void r.push(a(pn.Diagnostics.File_0_not_found,e))}function KA(e){return e&&"jsconfig.json"===pn.getBaseFileName(e)?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0,noEmit:!0}:{}}function HA(e,n,t,r){var a=KA(r);return JA(EA(),e,n,a,pn.compilerOptionsDidYouMeanDiagnostics,t),r&&(a.configFilePath=pn.normalizeSlashes(r)),a}function WA(e){return{enable:!!e&&"jsconfig.json"===pn.getBaseFileName(e),include:[],exclude:[]}}function zA(e,n,t,r){return r=WA(r),e=aA(e),JA(SA(),e,n,r,yn,t),r}function JA(e,n,t,r,a,i){if(n){for(var o in n){var s=e.get(o);s?(r=r||{})[s.name]=qA(s,n[o],t,i):i.push(dA(o,a,pn.createCompilerDiagnostic))}return r}}function qA(e,n,t,r){var a,i,o,s;if(CA(e,n))return"list"===(a=e.type)&&pn.isArray(n)?(i=e,o=t,s=r,pn.filter(pn.map(n,(function(e){return qA(i.element,e,o,s)})),(function(e){return!!e}))):pn.isString(a)?wA(a=YA(e,n,r))?a:XA(e,t,a):QA(e,n,r);r.push(pn.createCompilerDiagnostic(pn.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,e.name,AA(e)))}function XA(e,n,t){return e.isFilePath&&""===(t=pn.getNormalizedAbsolutePath(t,n))?".":t}function YA(e,n,t){var r;if(!wA(n))return(r=null==(r=e.extraValidation)?void 0:r.call(e,n))?void t.push(pn.createCompilerDiagnostic.apply(void 0,r)):n}function QA(e,n,t){if(!wA(n))return n=n.toLowerCase(),void 0!==(n=e.type.get(n))?YA(e,n,t):void t.push(iA(e))}function ZA(e,n,t,r,a){void 0===a&&(a=pn.emptyArray),n=pn.normalizePath(n);var i,o=pn.createGetCanonicalFileName(r.useCaseSensitiveFileNames),s=new pn.Map,c=new pn.Map,l=new pn.Map,d=e.validatedFilesSpec,u=e.validatedIncludeSpecs,p=(e=e.validatedExcludeSpecs,pn.getSupportedExtensions(t,a));a=pn.getSuppoertedExtensionsWithJsonIfResolveJsonModule(t,p);if(d)for(var m=0,_=d;m<_.length;m++){var f=_[m],g=pn.getNormalizedAbsolutePath(f,n);s.set(o(g),g)}if(u&&0<u.length)for(var y=function(e){if(pn.fileExtensionIs(e,".json"))return i||(_=u.filter((function(e){return pn.endsWith(e,".json")})),_=pn.map(pn.getRegularExpressionsForWildcards(_,n,"files"),(function(e){return"^"+e+"$"})),i=_?_.map((function(e){return pn.getRegexFromPattern(e,r.useCaseSensitiveFileNames)})):pn.emptyArray),-1!==pn.findIndex(i,(function(n){return n.test(e)}))&&(_=o(e),s.has(_)||l.has(_)||l.set(_,e)),"continue";if(((e,n,t,r,a)=>{for(var i=pn.getExtensionPriority(e,r),o=pn.adjustExtensionPriority(i,r),s=0;s<o;s++){var c=r[s];c=a(pn.changeExtension(e,c));if(n.has(c)||t.has(c))return 1}})(e,s,c,p,o))return"continue";for(var t=e,a=c,d=p,m=o,_=pn.getExtensionPriority(t,d),f=pn.getNextLowestExtensionPriority(_,d);f<d.length;f++){var g=d[f];g=m(pn.changeExtension(t,g));a.delete(g)}var y=o(e);s.has(y)||c.has(y)||c.set(y,e)},h=0,v=r.readDirectory(n,a,e,u,void 0);h<v.length;h++)y(g=v[h]);return t=pn.arrayFrom(s.values()),d=pn.arrayFrom(c.values()),t.concat(d,pn.arrayFrom(l.values()))}function $A(e){var n=pn.startsWith(e,"**/")?0:e.indexOf("/**/");return-1!==n&&n<(pn.endsWith(e,"/..")?e.length:e.lastIndexOf("/../"))}function eC(e,n,t,r,a){return n=pn.getRegularExpressionForWildcard(n,pn.combinePaths(pn.normalizePath(r),a),"exclude"),r=n&&pn.getRegexFromPattern(n,t),!!r&&(!!r.test(e)||!pn.hasExtension(e)&&r.test(pn.ensureTrailingDirectorySeparator(e)))}function nC(e,n,t,r,a){return e.filter((function(e){return!!pn.isString(e)&&(void 0!==(e=tC(e,t))&&n.push(function(e,n){var t=pn.getTsConfigPropArrayElementValue(r,a,n);return t?pn.createDiagnosticForNodeInSourceFile(r,t,e,n):pn.createCompilerDiagnostic(e,n)}.apply(void 0,e)),void 0===e)}))}function tC(e,n){return n&&Sn.test(e)?[pn.Diagnostics.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,e]:$A(e)?[pn.Diagnostics.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,e]:void 0}function rC(e){e.trace(Ln.formatMessage.apply(void 0,arguments))}function aC(e,n){return!!e.traceResolution&&void 0!==n.trace}function iC(e,n){var t,r;return n&&e&&"string"==typeof(r=e.packageJsonContent).name&&"string"==typeof r.version&&(t={name:r.name,subModuleName:n.path.slice(e.packageDirectory.length+Ln.directorySeparator.length),version:r.version}),n&&{path:n.path,extension:n.ext,packageId:t}}function oC(e){return iC(void 0,e)}function sC(e){if(e)return Ln.Debug.assert(void 0===e.packageId),{path:e.path,ext:e.extension}}function cC(e){if(e)return Ln.Debug.assert(Ln.extensionIsTS(e.extension)),{fileName:e.path,packageId:e.packageId}}function lC(e,n,t,r){var a;return r?((a=r.failedLookupLocations).push.apply(a,t),r):{resolvedModule:e&&{resolvedFileName:e.path,originalPath:!0===e.originalPath?void 0:e.originalPath,extension:e.extension,isExternalLibraryImport:n,packageId:e.packageId},failedLookupLocations:t}}function dC(e,n,t,r){if(Ln.hasProperty(e,n)){if(e=e[n],typeof e===t&&null!==e)return e;r.traceEnabled&&rC(r.host,Ln.Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2,n,t,null===e?"null":typeof e)}else r.traceEnabled&&rC(r.host,Ln.Diagnostics.package_json_does_not_have_a_0_field,n)}function uC(e,n,t,r){if(e=dC(e,n,"string",r),void 0!==e){if(e)return t=Ln.normalizePath(Ln.combinePaths(t,e)),r.traceEnabled&&rC(r.host,Ln.Diagnostics.package_json_has_0_field_1_that_references_2,n,e,t),t;r.traceEnabled&&rC(r.host,Ln.Diagnostics.package_json_had_a_falsy_0_field,n)}}function pC(e,n,t){return uC(e,"typings",n,t)||uC(e,"types",n,t)}function mC(e,n,t){return uC(e,"main",n,t)}function _C(e,n){var t=((e,n)=>{if(void 0!==(e=dC(e,"typesVersions","object",n)))return n.traceEnabled&&rC(n.host,Ln.Diagnostics.package_json_has_a_typesVersions_field_with_version_specific_path_mappings),e})(e,n);if(void 0!==t){if(n.traceEnabled)for(var r in t)Ln.hasProperty(t,r)&&!Ln.VersionRange.tryParse(r)&&rC(n.host,Ln.Diagnostics.package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range,r);if(e=fC(t),e){var a=e.version,i=e.paths;if("object"==typeof i)return e;n.traceEnabled&&rC(n.host,Ln.Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2,"typesVersions['"+a+"']","object",typeof i)}else n.traceEnabled&&rC(n.host,Ln.Diagnostics.package_json_does_not_have_a_typesVersions_entry_that_matches_version_0,Ln.versionMajorMinor)}}function fC(e){for(var n in An=An||new Ln.Version(Ln.version),e)if(Ln.hasProperty(e,n)){var t=Ln.VersionRange.tryParse(n);if(void 0!==t&&t.test(An))return{version:n,paths:e[n]}}}function gC(e,n){var t,r,a;return e.typeRoots||(e.configFilePath?t=Ln.getDirectoryPath(e.configFilePath):n.getCurrentDirectory&&(t=n.getCurrentDirectory()),void 0!==t?(e=t,(r=n).directoryExists?(Ln.forEachAncestorDirectory(Ln.normalizePath(e),(function(e){e=Ln.combinePaths(e,Cn),r.directoryExists(e)&&(a=a||[]).push(e)})),a):[Ln.combinePaths(e,Cn)]):void 0)}function yC(e){var n=new Ln.Map,t=new Ln.Map;return{getOwnMap:function(){return n},redirectsMap:t,getOrCreateMapOfCacheRedirects:function(r){if(!r)return n;var a=r.sourceFile.path,i=t.get(a);return i||(i=!e||Ln.optionsHaveModuleResolutionChanges(e,r.commandLine.options)?new Ln.Map:n,t.set(a,i)),i},clear:function(){n.clear(),t.clear()},setOwnOptions:function(n){e=n},setOwnMap:function(e){n=e}}}function hC(e,n){var t;return{getPackageJsonInfo:function(r){return null==t?void 0:t.get(Ln.toPath(r,e,n))},setPackageJsonInfo:function(r,a){(t=t||new Ln.Map).set(Ln.toPath(r,e,n),a)},clear:function(){t=void 0},entries:function(){var e=null==t?void 0:t.entries();return e?Ln.arrayFrom(e):[]}}}function vC(e,n,t,r){return e=e.getOrCreateMapOfCacheRedirects(n),n=e.get(t),n||(n=r(),e.set(t,n)),n}function bC(e,n,t){var r;e.configFile&&(0===n.redirectsMap.size?(Ln.Debug.assert(!t||0===t.redirectsMap.size),Ln.Debug.assert(0===n.getOwnMap().size),Ln.Debug.assert(!t||0===t.getOwnMap().size),n.redirectsMap.set(e.configFile.path,n.getOwnMap()),null!=t&&t.redirectsMap.set(e.configFile.path,t.getOwnMap())):(Ln.Debug.assert(!t||0<t.redirectsMap.size),r={sourceFile:e.configFile,commandLine:{options:e}},n.setOwnMap(n.getOrCreateMapOfCacheRedirects(r)),null!=t&&t.setOwnMap(t.getOrCreateMapOfCacheRedirects(r))),n.setOwnOptions(e),null!=t)&&t.setOwnOptions(e)}function EC(e,n,t){return{getOrCreateCacheForDirectory:function(r,a){return r=Ln.toPath(r,e,n),vC(t,a,r,(function(){return new Ln.Map}))},clear:function(){t.clear()},update:function(e){bC(e,t)}}}function TC(e,n,t,r,a){var i=((e,n,t,r)=>{var a=(o=r.compilerOptions).baseUrl,i=o.paths,o=o.configFile;if(i&&!Ln.pathIsRelative(n))return r.traceEnabled&&(a&&rC(r.host,Ln.Diagnostics.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,a,n),rC(r.host,Ln.Diagnostics.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0,n)),a=Ln.getPathsBasePath(r.compilerOptions,r.host),o=null!=o&&o.configFileSpecs?(o=o.configFileSpecs).pathPatterns||(o.pathPatterns=Ln.tryParsePatterns(i)):void 0,KC(e,n,a,i,o,t,!1,r)})(e,n,r,a);if(i)return i.value;if(Ln.isExternalModuleNameRelative(n)){var o=e,s=(i=n,r),c=a;if(c.compilerOptions.rootDirs){c.traceEnabled&&rC(c.host,Ln.Diagnostics.rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0,i);for(var l,d,u=Ln.normalizePath(Ln.combinePaths(t,i)),p=0,m=c.compilerOptions.rootDirs;p<m.length;p++){var _=m[p],f=Ln.normalizePath(_),g=(Ln.endsWith(f,Ln.directorySeparator)||(f+=Ln.directorySeparator),Ln.startsWith(u,f)&&(void 0===d||d.length<f.length));c.traceEnabled&&rC(c.host,Ln.Diagnostics.Checking_if_0_is_the_longest_matching_prefix_for_1_2,f,u,g),g&&(d=f,l=_)}if(d){c.traceEnabled&&rC(c.host,Ln.Diagnostics.Longest_matching_prefix_for_0_is_1,u,d);var y=u.substr(d.length);i=(c.traceEnabled&&rC(c.host,Ln.Diagnostics.Loading_0_from_the_root_dir_1_candidate_location_2,y,d,u),s(o,u,!Ln.directoryProbablyExists(t,c.host),c));if(i)return i;c.traceEnabled&&rC(c.host,Ln.Diagnostics.Trying_other_entries_in_rootDirs);for(var h=0,v=c.compilerOptions.rootDirs;h<v.length;h++)if(_=v[h],_!==l){var b=Ln.combinePaths(Ln.normalizePath(_),y),E=(c.traceEnabled&&rC(c.host,Ln.Diagnostics.Loading_0_from_the_root_dir_1_candidate_location_2,y,_,b),Ln.getDirectoryPath(b));b=s(o,b,!Ln.directoryProbablyExists(E,c.host),c);if(b)return b}c.traceEnabled&&rC(c.host,Ln.Diagnostics.Module_resolution_using_rootDirs_has_failed)}}}else if(t=e,i=n,e=r,n=a,r=n.compilerOptions.baseUrl,r)return n.traceEnabled&&rC(n.host,Ln.Diagnostics.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,r,i),a=Ln.normalizePath(Ln.combinePaths(r,i)),n.traceEnabled&&rC(n.host,Ln.Diagnostics.Resolving_module_name_0_relative_to_base_url_1_2,i,r,a),e(t,a,!Ln.directoryProbablyExists(Ln.getDirectoryPath(a),n.host),n)}function SC(e,n,t){return LC(e,n,{moduleResolution:Ln.ModuleResolutionKind.NodeJs,allowJs:!0},t,void 0,In,void 0)}function xC(e,n,t,r,a,i,o){return LC(e,Ln.getDirectoryPath(n),t,r,a,o?Rn:t.resolveJsonModule?kn:Nn,i)}function LC(e,n,t,r,a,i,o){var s,c=aC(t,r),l=[],d={compilerOptions:t,host:r,traceEnabled:c,failedLookupLocations:l,packageJsonInfoCache:a};i=Ln.forEach(i,(function(i){var s=TC(i,e,n,(function(e,n,t,r){return AC(e,n,t,r,!0)}),d);if(s)return qC({resolved:s,isExternalLibraryImport:CC(s.path)});if(Ln.isExternalModuleNameRelative(e))return s=Ln.normalizePathAndParts(Ln.combinePaths(n,e)),l=s.path,s=s.parts,(l=AC(i,l,!1,d,!0))&&qC({resolved:l,isExternalLibraryImport:Ln.contains(s,"node_modules")});c&&rC(r,Ln.Diagnostics.Loading_module_0_from_node_modules_folder_target_file_type_1,e,Dn[i]);var l=BC(i,e,n,d,a,o);return l?(s=l.value,t.preserveSymlinks||!s||s.originalPath||(i=DC(s.path,r,c),l=i===s.path?void 0:s.path,s=nu(nu({},s),{path:i,originalPath:l})),{value:s&&{resolved:s,isExternalLibraryImport:!0}}):void 0}));return lC(null==(s=null==i?void 0:i.value)?void 0:s.resolved,null==(s=null==i?void 0:i.value)?void 0:s.isExternalLibraryImport,l,d.resultFromCache)}function DC(e,n,t){var r;return n.realpath?(r=Ln.normalizePath(n.realpath(e)),t&&rC(n,Ln.Diagnostics.Resolving_real_path_for_0_result_1,e,r),Ln.Debug.assert(n.fileExists(r),e+" linked to nonexistent file "+r),r):e}function AC(e,n,t,r,a){if(r.traceEnabled&&rC(r.host,Ln.Diagnostics.Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1,n,Dn[e]),!Ln.hasTrailingDirectorySeparator(n)){t||(o=Ln.getDirectoryPath(n),Ln.directoryProbablyExists(o,r.host))||(r.traceEnabled&&rC(r.host,Ln.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,o),t=!0);var i,o=RC(e,n,t,r);if(o)return iC((i=a?IC(o.path):void 0)?MC(i,!1,r):void 0,o)}return t||Ln.directoryProbablyExists(n,r.host)||(r.traceEnabled&&rC(r.host,Ln.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,n),t=!0),wC(e,n,t,r,a)}function CC(e){return Ln.stringContains(e,Ln.nodeModulesPathPart)}function IC(e){e=Ln.normalizePath(e);var n,t=e.lastIndexOf(Ln.nodeModulesPathPart);if(-1!==t)return n=NC(e,t+=Ln.nodeModulesPathPart.length),64===e.charCodeAt(t)&&(n=NC(e,n)),e.slice(0,n)}function NC(e,n){return e=e.indexOf(Ln.directorySeparator,n+1),-1===e?n:e}function kC(e,n,t,r){return oC(RC(e,n,t,r))}function RC(e,n,t,r){var a,i;return e===Dn.Json||e===Dn.TSConfig?void 0===(a=Ln.tryRemoveExtension(n,".json"))&&e===Dn.Json?void 0:OC(a||n,e,t,r):OC(n,e,t,r)||(Ln.hasJSFileExtension(n)?(a=Ln.removeFileExtension(n),r.traceEnabled&&(i=n.substring(a.length),rC(r.host,Ln.Diagnostics.File_name_0_has_a_1_extension_stripping_it,n,i)),OC(a,e,t,r)):void 0)}function OC(e,n,t,r){var a;switch(t||(a=Ln.getDirectoryPath(e))&&(t=!Ln.directoryProbablyExists(a,r.host)),n){case Dn.DtsOnly:return i(".d.ts");case Dn.TypeScript:return i(".ts")||i(".tsx")||i(".d.ts");case Dn.JavaScript:return i(".js")||i(".jsx");case Dn.TSConfig:case Dn.Json:return i(".json")}function i(n){var a=PC(e+n,t,r);return void 0===a?void 0:{path:a,ext:n}}}function PC(e,n,t){if(!n){if(t.host.fileExists(e))return t.traceEnabled&&rC(t.host,Ln.Diagnostics.File_0_exist_use_it_as_a_name_resolution_result,e),e;t.traceEnabled&&rC(t.host,Ln.Diagnostics.File_0_does_not_exist,e)}t.failedLookupLocations.push(e)}function wC(e,n,t,r,a){return a=(a=void 0===a||a)?MC(n,t,r):void 0,iC(a,FC(e,n,t,r,a&&a.packageJsonContent,a&&a.versionPaths))}function MC(e,n,t){var r,a=t.host,i=t.traceEnabled,o=Ln.combinePaths(e,"package.json");if(!n)return void 0!==(n=null==(n=t.packageJsonInfoCache)?void 0:n.getPackageJsonInfo(o))?"boolean"!=typeof n?(i&&rC(a,Ln.Diagnostics.File_0_exists_according_to_earlier_cached_lookups,o),n):(n&&i&&rC(a,Ln.Diagnostics.File_0_does_not_exist_according_to_earlier_cached_lookups,o),void t.failedLookupLocations.push(o)):(n=Ln.directoryProbablyExists(e,a))&&a.fileExists(o)?(r=Ln.readJson(o,a),i&&rC(a,Ln.Diagnostics.Found_package_json_at_0,o),e={packageDirectory:e,packageJsonContent:r,versionPaths:_C(r,t)},null!=(r=t.packageJsonInfoCache)&&r.setPackageJsonInfo(o,e),e):(n&&i&&rC(a,Ln.Diagnostics.File_0_does_not_exist,o),null!=(r=t.packageJsonInfoCache)&&r.setPackageJsonInfo(o,n),void t.failedLookupLocations.push(o));t.failedLookupLocations.push(o)}function FC(e,n,t,r,a,i){var o;if(a)switch(e){case Dn.JavaScript:case Dn.Json:o=mC(a,n,r);break;case Dn.TypeScript:o=pC(a,n,r)||mC(a,n,r);break;case Dn.DtsOnly:o=pC(a,n,r);break;case Dn.TSConfig:o=uC(a,"tsconfig",n,r);break;default:return Ln.Debug.assertNever(e)}function s(e,n,t,r){var a,i,o=PC(n,t,r);if(o){s=e,a=o;var s=void 0!==(i=Ln.tryGetExtensionFromPath(a))&&((e,n)=>{switch(e){case Dn.JavaScript:return".js"===n||".jsx"===n;case Dn.TSConfig:case Dn.Json:return".json"===n;case Dn.TypeScript:return".ts"===n||".tsx"===n||".d.ts"===n;case Dn.DtsOnly:return".d.ts"===n}})(s,i)?{path:a,ext:i}:void 0;if(s)return oC(s);r.traceEnabled&&rC(r.host,Ln.Diagnostics.File_0_has_an_unsupported_extension_so_skipping_it,o)}return AC(e===Dn.DtsOnly?Dn.TypeScript:e,n,t,r,!1)}var c=o?!Ln.directoryProbablyExists(Ln.getDirectoryPath(o),r.host):void 0,l=(t=t||!Ln.directoryProbablyExists(n,r.host),Ln.combinePaths(n,e===Dn.TSConfig?"tsconfig":"index"));if(i&&(!o||Ln.containsPath(n,o))){var d=Ln.getRelativePathFromDirectory(n,o||l,!1);d=(r.traceEnabled&&rC(r.host,Ln.Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,i.version,Ln.version,d),KC(e,d,n,i.paths,void 0,s,c||t,r));if(d)return sC(d.value)}return i=o&&sC(s(e,o,c,r)),i||RC(e,l,t,r)}function GC(e){var n=e.indexOf(Ln.directorySeparator);return-1===(n="@"===e[0]?e.indexOf(Ln.directorySeparator,n+1):n)?{packageName:e,rest:""}:{packageName:e.slice(0,n),rest:e.slice(n+1)}}function BC(e,n,t,r,a,i){return UC(e,n,t,r,!1,a,i)}function UC(e,n,t,r,a,i,o){var s=i&&i.getOrCreateCacheForModuleName(n,o);return Ln.forEachAncestorDirectory(Ln.normalizeSlashes(t),(function(t){if("node_modules"!==Ln.getBaseFileName(t))return zC(s,n,t,r)||qC(VC(e,n,t,r,a))}))}function VC(e,n,t,r,a){t=Ln.combinePaths(t,"node_modules");var i=Ln.directoryProbablyExists(t,r.host);!i&&r.traceEnabled&&rC(r.host,Ln.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,t),a=a?void 0:jC(e,n,t,i,r);return a||(e===Dn.TypeScript||e===Dn.DtsOnly?(a=Ln.combinePaths(t,"@types"),(e=i)&&!Ln.directoryProbablyExists(a,r.host)&&(r.traceEnabled&&rC(r.host,Ln.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,a),e=!1),jC(Dn.DtsOnly,((e,n)=>{var t=HC(e);return n.traceEnabled&&t!==e&&rC(n.host,Ln.Diagnostics.Scoped_package_detected_looking_in_0,t),t})(n,r),a,e,r)):void 0)}function jC(e,n,t,r,a){var i=Ln.normalizePath(Ln.combinePaths(t,n));if(c=MC(i,!r,a))return(s=RC(e,i,!r,a))?oC(s):(s=FC(e,i,!r,a,c.packageJsonContent,c.versionPaths),iC(c,s));function o(e,n,t,r){return e=RC(e,n,t,r)||FC(e,n,t,r,c&&c.packageJsonContent,c&&c.versionPaths),iC(c,e)}var s=GC(n);n=s.packageName,s=s.rest;if(""!==s){var c;t=Ln.combinePaths(t,n);if((c=MC(t,!r,a))&&c.versionPaths&&(a.traceEnabled&&rC(a.host,Ln.Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,c.versionPaths.version,Ln.version,s),n=r&&Ln.directoryProbablyExists(t,a.host),s=KC(e,s,t,c.versionPaths.paths,void 0,o,!n,a),s))return s.value}return o(e,i,!r,a)}function KC(e,n,t,r,a,i,o,s){a=a||Ln.tryParsePatterns(r);var c;a=Ln.matchPatternOrExact(a,n);if(a)return c=Ln.isString(a)?void 0:Ln.matchedText(a,n),a=Ln.isString(a)?a:Ln.patternText(a),s.traceEnabled&&rC(s.host,Ln.Diagnostics.Module_name_0_matched_pattern_1,n,a),{value:Ln.forEach(r[a],(function(n){var r=c?n.replace("*",c):n,a=Ln.normalizePath(Ln.combinePaths(t,r));s.traceEnabled&&rC(s.host,Ln.Diagnostics.Trying_substitution_0_candidate_module_location_Colon_1,n,r),r=Ln.tryGetExtensionFromPath(n);return void 0!==r&&(n=PC(a,o,s),void 0!==n)?oC({path:n,ext:r}):i(e,a,o||!Ln.directoryProbablyExists(Ln.getDirectoryPath(a),s.host),s)}))}}function HC(e){if(Ln.startsWith(e,"@")){var n=e.replace(Ln.directorySeparator,On);if(n!==e)return n.slice(1)}return e}function WC(e){return Ln.stringContains(e,On)?"@"+e.replace(On,Ln.directorySeparator):e}function zC(e,n,t,r){if(e=e&&e.get(t),e)return r.traceEnabled&&rC(r.host,Ln.Diagnostics.Resolution_for_module_0_was_found_in_cache_from_location_1,n,t),{value:(r.resultFromCache=e).resolvedModule&&{path:e.resolvedModule.resolvedFileName,originalPath:e.resolvedModule.originalPath||!0,extension:e.resolvedModule.extension,packageId:e.resolvedModule.packageId}}}function JC(e,n,t,r,a,i){var o=[],s={compilerOptions:t,host:r,traceEnabled:aC(t,r),failedLookupLocations:o,packageJsonInfoCache:a},c=Ln.getDirectoryPath(n);t=l(Dn.TypeScript)||l(Dn.JavaScript);return lC(t&&t.value,!1,o,s.resultFromCache);function l(n){var t,r=TC(n,e,c,kC,s);return r?{value:r}:Ln.isExternalModuleNameRelative(e)?(r=Ln.normalizePath(Ln.combinePaths(c,e)),qC(kC(n,r,!1,s))):(t=a&&a.getOrCreateCacheForModuleName(e,i),Ln.forEachAncestorDirectory(c,(function(r){var a=zC(t,e,r,s);return a||(a=Ln.normalizePath(Ln.combinePaths(r,e)),qC(kC(n,a,!1,s)))}))||(n===Dn.TypeScript?UC(Dn.DtsOnly,e,c,s,!0,void 0,void 0):void 0))}}function qC(e){return void 0!==e?{value:e}:void 0}tg.removeFileExtension=Vb,tg.tryRemoveExtension=jb,tg.removeExtension=Kb,tg.changeExtension=function(e,n){return tg.changeAnyExtension(e,n,Ub,!1)},tg.tryParsePattern=Hb,tg.tryParsePatterns=function(e){return tg.mapDefined(tg.getOwnKeys(e),Hb)},tg.positionIsSynthesized=Wb,tg.extensionIsTS=zb,tg.resolutionExtensionIsTSOrJson=function(e){return zb(e)||".json"===e},tg.extensionFromPath=function(e){var n=Jb(e);return void 0!==n?n:tg.Debug.fail("File "+e+" has unknown extension.")},tg.isAnySupportedFileExtension=function(e){return void 0!==Jb(e)},tg.tryGetExtensionFromPath=Jb,tg.isCheckJsEnabledForFile=function(e,n){return e.checkJsDirective?e.checkJsDirective.enabled:n.checkJs},tg.emptyFileSystemEntries={files:tg.emptyArray,directories:tg.emptyArray},tg.matchPatternOrExact=function(e,n){for(var t=[],r=0,a=e;r<a.length;r++){var i=a[r];if(i===n)return n;tg.isString(i)||t.push(i)}return tg.findBestPatternMatch(t,(function(e){return e}),n)},tg.sliceAfter=function(e,n){return n=e.indexOf(n),tg.Debug.assert(-1!==n),e.slice(n)},tg.addRelatedInfo=function(e){for(var n,t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.length&&(e.relatedInformation||(e.relatedInformation=[]),tg.Debug.assert(e.relatedInformation!==tg.emptyArray,"Diagnostic had empty array singleton for related info, but is still being constructed!"),(n=e.relatedInformation).push.apply(n,t)),e},tg.minAndMax=function(e,n){tg.Debug.assert(0!==e.length);for(var t=n(e[0]),r=t,a=1;a<e.length;a++){var i=n(e[a]);i<t?t=i:r<i&&(r=i)}return{min:t,max:r}},tg.rangeOfNode=function(e){return{pos:hg(e),end:e.end}},tg.rangeOfTypeParameters=function(e,n){return{pos:n.pos-1,end:tg.skipTrivia(e.text,n.end)+1}},tg.skipTypeChecking=function(e,n,t){return n.skipLibCheck&&e.isDeclarationFile||n.skipDefaultLibCheck&&e.hasNoDefaultLib||t.isSourceOfProjectReferenceRedirect(e.fileName)},tg.isJsonEqual=qb,tg.parsePseudoBigInt=function(e){var n;switch(e.charCodeAt(1)){case 98:case 66:n=1;break;case 111:case 79:n=3;break;case 120:case 88:n=4;break;default:for(var t=e.length-1,r=0;48===e.charCodeAt(r);)r++;return e.slice(r,t)||"0"}for(var a=e.length-1,i=(a-2)*n,o=new Uint16Array((i>>>4)+(15&i?1:0)),s=a-1,c=0;2<=s;s--,c+=n){var l=c>>>4,d=e.charCodeAt(s);d=(d<=57?d-48:10+d-(d<=70?65:97))<<(15&c),d=(o[l]|=d,d>>>16);d&&(o[l+1]|=d)}for(var u="",p=o.length-1,m=!0;m;){var _=0;for(m=!1,l=p;0<=l;l--){var f=_<<16|o[l],g=f/10|0;_=f-10*(o[l]=g);g&&!m&&(p=l,m=!0)}u=_+u}return u},tg.pseudoBigIntToString=function(e){var n=e.negative;e=e.base10Value;return(n&&"0"!==e?"-":"")+e},tg.isValidTypeOnlyAliasUseSite=function(e){return!!(8388608&e.flags)||_y(e)||79===(n=e).kind&&(117===(null==(n=tg.findAncestor(n.parent,(function(e){switch(e.kind){case 289:return!0;case 204:case 226:return!1;default:return"quit"}})))?void 0:n.token)||256===(null==n?void 0:n.parent.kind))||(e=>{for(;79===e.kind||204===e.kind;)e=e.parent;var n;return 160===e.kind&&(!!mv(e.parent,128)||256===(n=e.parent.parent.kind)||180===n)})(e)||!(py(e)||(n=e,tg.isIdentifier(n)&&tg.isShorthandPropertyAssignment(n.parent)&&n.parent.name===n));var n},tg.typeOnlyDeclarationIsExport=function(e){return 273===e.kind},tg.isIdentifierTypeReference=function(e){return tg.isTypeReferenceNode(e)&&tg.isIdentifier(e.typeName)},tg.arrayIsHomogeneous=function(e,n){if(void 0===n&&(n=tg.equateValues),!(e.length<2))for(var t=e[0],r=1,a=e.length;r<a;r++)if(!n(t,e[r]))return!1;return!0},tg.setTextRangePos=Xb,tg.setTextRangeEnd=Yb,tg.setTextRangePosEnd=Qb,tg.setTextRangePosWidth=function(e,n,t){return Qb(e,n,n+t)},tg.setNodeFlags=function(e,n){return e&&(e.flags=n),e},tg.setParent=Zb,tg.setEachParent=function(e,n){if(e)for(var t=0,r=e;t<r.length;t++)Zb(r[t],n);return e},tg.setParentRecursive=function(e,n){return e&&tg.forEachChildRecursively(e,tg.isJSDocNode(e)?t:function(e,n){return t(e,n)||(e=>{if(tg.hasJSDocNodes(e))for(var n=0,r=e.jsDoc;n<r.length;n++){var a=r[n];t(a,e),tg.forEachChildRecursively(a,t)}})(e)}),e;function t(e,t){if(n&&e.parent===t)return"skip";Zb(e,t)}},tg.isPackedArrayLiteral=function(e){return tg.isArrayLiteralExpression(e)&&tg.every(e.elements,$b)},tg.expressionResultIsUnused=function(e){for(tg.Debug.assertIsDefined(e.parent);;){var n=e.parent;if(tg.isParenthesizedExpression(n));else{if(tg.isExpressionStatement(n)||tg.isVoidExpression(n)||tg.isForStatement(n)&&(n.initializer===e||n.incrementor===e))return!0;if(tg.isCommaListExpression(n)){if(e!==tg.last(n.elements))return!0}else{if(!tg.isBinaryExpression(n)||27!==n.operatorToken.kind)return!1;if(e===n.left)return!0}}e=n}},tg.containsIgnoredPath=eE,tg.getContainingNodeArray=function(e){if(e.parent){switch(e.kind){case 161:var n=e.parent;return 188===n.kind?void 0:n.typeParameters;case 162:return e.parent.parameters;case 197:case 231:return e.parent.templateSpans;case 163:return e.parent.decorators;case 289:return e.parent.heritageClauses}var t=e.parent;if(tg.isJSDocTag(e))return tg.isJSDocTypeLiteral(e.parent)?void 0:e.parent.tags;switch(t.kind){case 180:case 256:return tg.isTypeElement(e)?t.members:void 0;case 185:case 186:return t.types;case 182:case 202:case 346:case 267:case 271:return t.elements;case 203:case 284:return t.properties;case 206:case 207:return tg.isTypeNode(e)?t.typeArguments:t.expression===e?void 0:t.arguments;case 276:case 280:return tg.isJsxChild(e)?t.children:void 0;case 278:case 277:return tg.isTypeNode(e)?t.typeArguments:void 0;case 233:case 287:case 288:case 260:return t.statements;case 261:return t.clauses;case 255:case 224:return tg.isClassElement(e)?t.members:void 0;case 258:return tg.isEnumMember(e)?t.members:void 0;case 300:return t.statements}}},tg.hasContextSensitiveParameters=function(e){if(!e.typeParameters){if(tg.some(e.parameters,(function(e){return!sv(e)})))return!0;if(212!==e.kind&&(e=tg.firstOrUndefined(e.parameters),!e||!av(e)))return!0}return!1},tg.isInfinityOrNaNString=function(e){return"Infinity"===e||"-Infinity"===e||"NaN"===e},(ce=bY=bY||{}).createBaseNodeFactory=function(){var e,n,t,r,a;return{createBaseSourceFileNode:function(e){return new(a=a||ce.objectAllocator.getSourceFileConstructor())(e,-1,-1)},createBaseIdentifierNode:function(e){return new(t=t||ce.objectAllocator.getIdentifierConstructor())(e,-1,-1)},createBasePrivateIdentifierNode:function(e){return new(r=r||ce.objectAllocator.getPrivateIdentifierConstructor())(e,-1,-1)},createBaseTokenNode:function(e){return new(n=n||ce.objectAllocator.getTokenConstructor())(e,-1,-1)},createBaseNode:function(n){return new(e=e||ce.objectAllocator.getNodeConstructor())(n,-1,-1)}}},(le=bY=bY||{}).createParenthesizerRules=function(e){var n,t;return{getParenthesizeLeftSideOfBinaryForOperator:function(e){var t=(n=n||new le.Map).get(e);return t||(t=function(n){return i(e,n)},n.set(e,t)),t},getParenthesizeRightSideOfBinaryForOperator:function(e){var n=(t=t||new le.Map).get(e);return n||(n=function(n){return o(e,void 0,n)},t.set(e,n)),n},parenthesizeLeftSideOfBinary:i,parenthesizeRightSideOfBinary:o,parenthesizeExpressionOfComputedPropertyName:function(n){return le.isCommaSequence(n)?e.createParenthesizedExpression(n):n},parenthesizeConditionOfConditionalExpression:function(n){var t=le.getOperatorPrecedence(220,57),r=le.skipPartiallyEmittedExpressions(n);r=le.getExpressionPrecedence(r);return 1===le.compareValues(r,t)?n:e.createParenthesizedExpression(n)},parenthesizeBranchOfConditionalExpression:function(n){var t=le.skipPartiallyEmittedExpressions(n);return le.isCommaSequence(t)?e.createParenthesizedExpression(n):n},parenthesizeExpressionOfExportDefault:function(n){var t=le.skipPartiallyEmittedExpressions(n),r=le.isCommaSequence(t);if(!r)switch(le.getLeftmostExpression(t,!1).kind){case 224:case 211:r=!0}return r?e.createParenthesizedExpression(n):n},parenthesizeExpressionOfNew:function(n){var t=le.getLeftmostExpression(n,!0);switch(t.kind){case 206:return e.createParenthesizedExpression(n);case 207:return t.arguments?n:e.createParenthesizedExpression(n)}return s(n)},parenthesizeLeftSideOfAccess:s,parenthesizeOperandOfPostfixUnary:function(n){return le.isLeftHandSideExpression(n)?n:le.setTextRange(e.createParenthesizedExpression(n),n)},parenthesizeOperandOfPrefixUnary:function(n){return le.isUnaryExpression(n)?n:le.setTextRange(e.createParenthesizedExpression(n),n)},parenthesizeExpressionsOfCommaDelimitedList:function(n){var t=le.sameMap(n,c);return le.setTextRange(e.createNodeArray(t,n.hasTrailingComma),n)},parenthesizeExpressionForDisallowedComma:c,parenthesizeExpressionOfExpressionStatement:function(n){var t=le.skipPartiallyEmittedExpressions(n);if(le.isCallExpression(t)){var r=t.expression,a=le.skipPartiallyEmittedExpressions(r).kind;if(211===a||212===a)return a=e.updateCallExpression(t,le.setTextRange(e.createParenthesizedExpression(r),r),t.typeArguments,t.arguments),e.restoreOuterExpressions(n,a,8)}return r=le.getLeftmostExpression(t,!1).kind,203!==r&&211!==r?n:le.setTextRange(e.createParenthesizedExpression(n),n)},parenthesizeConciseBodyOfArrowFunction:function(n){return le.isBlock(n)||!le.isCommaSequence(n)&&203!==le.getLeftmostExpression(n,!1).kind?n:le.setTextRange(e.createParenthesizedExpression(n),n)},parenthesizeMemberOfConditionalType:l,parenthesizeMemberOfElementType:d,parenthesizeElementTypeOfArrayType:function(n){switch(n.kind){case 179:case 191:case 188:return e.createParenthesizedType(n)}return d(n)},parenthesizeConstituentTypesOfUnionOrIntersectionType:function(n){return e.createNodeArray(le.sameMap(n,d))},parenthesizeTypeArguments:function(n){if(le.some(n))return e.createNodeArray(le.sameMap(n,u))}};function r(e){var n;return e=le.skipPartiallyEmittedExpressions(e),le.isLiteralKind(e.kind)?e.kind:219===e.kind&&39===e.operatorToken.kind?void 0!==e.cachedLiteralKind?e.cachedLiteralKind:(n=r(e.left),n=le.isLiteralKind(n)&&n===r(e.right)?n:0,e.cachedLiteralKind=n):0}function a(n,t,a,i){return 210!==le.skipPartiallyEmittedExpressions(t).kind&&((e,n,t,a)=>{var i=le.getOperatorPrecedence(219,e),o=le.getOperatorAssociativity(219,e),s=le.skipPartiallyEmittedExpressions(n);if(!t&&212===n.kind&&3<i)return 1;var c=le.getExpressionPrecedence(s);switch(le.compareValues(c,i)){case-1:return t||1!==o||222!==n.kind?1:void 0;case 1:return;case 0:if(t)return 1===o;if(le.isBinaryExpression(s)&&s.operatorToken.kind===e){if(41===(l=e)||51===l||50===l||52===l)return;if(39===e){var l=a?r(a):0;if(le.isLiteralKind(l)&&l===r(s))return}}return 0===le.getExpressionAssociativity(s)}})(n,t,a,i)?e.createParenthesizedExpression(t):t}function i(e,n){return a(e,n,!0)}function o(e,n,t){return a(e,t,!1,n)}function s(n){var t=le.skipPartiallyEmittedExpressions(n);return le.isLeftHandSideExpression(t)&&(207!==t.kind||t.arguments)?n:le.setTextRange(e.createParenthesizedExpression(n),n)}function c(n){var t=le.skipPartiallyEmittedExpressions(n);t=le.getExpressionPrecedence(t);return le.getOperatorPrecedence(219,27)<t?n:le.setTextRange(e.createParenthesizedExpression(n),n)}function l(n){return 187===n.kind?e.createParenthesizedType(n):n}function d(n){switch(n.kind){case 185:case 186:case 177:case 178:return e.createParenthesizedType(n)}return l(n)}function u(n,t){return 0===t&&le.isFunctionOrConstructorTypeNode(n)&&n.typeParameters?e.createParenthesizedType(n):n}},le.nullParenthesizerRules={getParenthesizeLeftSideOfBinaryForOperator:function(e){return le.identity},getParenthesizeRightSideOfBinaryForOperator:function(e){return le.identity},parenthesizeLeftSideOfBinary:function(e,n){return n},parenthesizeRightSideOfBinary:function(e,n,t){return t},parenthesizeExpressionOfComputedPropertyName:le.identity,parenthesizeConditionOfConditionalExpression:le.identity,parenthesizeBranchOfConditionalExpression:le.identity,parenthesizeExpressionOfExportDefault:le.identity,parenthesizeExpressionOfNew:function(e){return le.cast(e,le.isLeftHandSideExpression)},parenthesizeLeftSideOfAccess:function(e){return le.cast(e,le.isLeftHandSideExpression)},parenthesizeOperandOfPostfixUnary:function(e){return le.cast(e,le.isLeftHandSideExpression)},parenthesizeOperandOfPrefixUnary:function(e){return le.cast(e,le.isUnaryExpression)},parenthesizeExpressionsOfCommaDelimitedList:function(e){return le.cast(e,le.isNodeArray)},parenthesizeExpressionForDisallowedComma:le.identity,parenthesizeExpressionOfExpressionStatement:le.identity,parenthesizeConciseBodyOfArrowFunction:le.identity,parenthesizeMemberOfConditionalType:le.identity,parenthesizeMemberOfElementType:le.identity,parenthesizeElementTypeOfArrayType:le.identity,parenthesizeConstituentTypesOfUnionOrIntersectionType:function(e){return le.cast(e,le.isNodeArray)},parenthesizeTypeArguments:function(e){return e&&le.cast(e,le.isNodeArray)}},(de=bY=bY||{}).createNodeConverters=function(e){return{convertToFunctionBlock:function(n,t){var r;return de.isBlock(n)?n:(r=e.createReturnStatement(n),de.setTextRange(r,n),r=e.createBlock([r],t),de.setTextRange(r,n),r)},convertToFunctionExpression:function(n){if(!n.body)return de.Debug.fail("Cannot convert a FunctionDeclaration without a body");var t=e.createFunctionExpression(n.modifiers,n.asteriskToken,n.name,n.typeParameters,n.parameters,n.type,n.body);return de.setOriginalNode(t,n),de.setTextRange(t,n),de.getStartsOnNewLine(n)&&de.setStartsOnNewLine(t,!0),t},convertToArrayAssignmentElement:n,convertToObjectAssignmentElement:t,convertToAssignmentPattern:r,convertToObjectAssignmentPattern:a,convertToArrayAssignmentPattern:i,convertToAssignmentElementTarget:o};function n(n){var t;return de.isBindingElement(n)?n.dotDotDotToken?(de.Debug.assertNode(n.name,de.isIdentifier),de.setOriginalNode(de.setTextRange(e.createSpreadElement(n.name),n),n)):(t=o(n.name),n.initializer?de.setOriginalNode(de.setTextRange(e.createAssignment(t,n.initializer),n),n):t):de.cast(n,de.isExpression)}function t(n){var t;return de.isBindingElement(n)?n.dotDotDotToken?(de.Debug.assertNode(n.name,de.isIdentifier),de.setOriginalNode(de.setTextRange(e.createSpreadAssignment(n.name),n),n)):n.propertyName?(t=o(n.name),de.setOriginalNode(de.setTextRange(e.createPropertyAssignment(n.propertyName,n.initializer?e.createAssignment(t,n.initializer):t),n),n)):(de.Debug.assertNode(n.name,de.isIdentifier),de.setOriginalNode(de.setTextRange(e.createShorthandPropertyAssignment(n.name,n.initializer),n),n)):de.cast(n,de.isObjectLiteralElementLike)}function r(e){switch(e.kind){case 200:case 202:return i(e);case 199:case 203:return a(e)}}function a(n){return de.isObjectBindingPattern(n)?de.setOriginalNode(de.setTextRange(e.createObjectLiteralExpression(de.map(n.elements,t)),n),n):de.cast(n,de.isObjectLiteralExpression)}function i(t){return de.isArrayBindingPattern(t)?de.setOriginalNode(de.setTextRange(e.createArrayLiteralExpression(de.map(t.elements,n)),t),t):de.cast(t,de.isArrayLiteralExpression)}function o(e){return de.isBindingPattern(e)?r(e):de.cast(e,de.isExpression)}},de.nullNodeConverters={convertToFunctionBlock:de.notImplemented,convertToFunctionExpression:de.notImplemented,convertToArrayAssignmentElement:de.notImplemented,convertToObjectAssignmentElement:de.notImplemented,convertToAssignmentPattern:de.notImplemented,convertToObjectAssignmentPattern:de.notImplemented,convertToArrayAssignmentPattern:de.notImplemented,convertToAssignmentElementTarget:de.notImplemented},ue=bY=bY||{},me=0,(OY=ue.NodeFactoryFlags||(ue.NodeFactoryFlags={}))[OY.None=0]="None",OY[OY.NoParenthesizerRules=1]="NoParenthesizerRules",OY[OY.NoNodeConverters=2]="NoNodeConverters",OY[OY.NoIndentationOnFreshPropertyAccess=4]="NoIndentationOnFreshPropertyAccess",OY[OY.NoOriginalNode=8]="NoOriginalNode",ue.createNodeFactory=nE,_e={},ue.getTransformFlagsSubtreeExclusions=lE,ge=ue.createBaseNodeFactory(),ue.factory=nE(4,{createBaseSourceFileNode:function(e){return dE(ge.createBaseSourceFileNode(e))},createBaseIdentifierNode:function(e){return dE(ge.createBaseIdentifierNode(e))},createBasePrivateIdentifierNode:function(e){return dE(ge.createBasePrivateIdentifierNode(e))},createBaseTokenNode:function(e){return dE(ge.createBaseTokenNode(e))},createBaseNode:function(e){return dE(ge.createBaseNode(e))}}),ue.createUnparsedSourceFile=function(e,n,t){var r,a,i,o,s,c,l,d,u,p;return ue.isString(e)?(i="",s=(o=e).length,c=n,l=t):(ue.Debug.assert("js"===n||"dts"===n),i=("js"===n?e.javascriptPath:e.declarationPath)||"",c="js"===n?e.javascriptMapPath:e.declarationMapPath,d=function(){return"js"===n?e.javascriptText:e.declarationText},u=function(){return"js"===n?e.javascriptMapText:e.declarationMapText},s=function(){return d().length},e.buildInfo&&e.buildInfo.bundle&&(ue.Debug.assert(void 0===t||"boolean"==typeof t),r=t,a="js"===n?e.buildInfo.bundle.js:e.buildInfo.bundle.dts,p=e.oldFileOfCurrentEmit)),(t=p?(e=>{for(var n,t,r=0,a=e.sections;r<a.length;r++){var i=a[r];switch(i.kind){case"internal":case"text":n=ue.append(n,ue.setTextRange(ue.factory.createUnparsedTextLike(i.data,"internal"===i.kind),i));break;case"no-default-lib":case"reference":case"type":case"lib":t=ue.append(t,ue.setTextRange(ue.factory.createUnparsedSyntheticReference(i),i));break;case"prologue":case"emitHelpers":case"prepend":break;default:ue.Debug.assertNever(i)}}var o=ue.factory.createUnparsedSource(ue.emptyArray,t,null!=n?n:ue.emptyArray);return ue.setEachParent(t,o),ue.setEachParent(n,o),o.helpers=ue.map(e.sources&&e.sources.helpers,(function(e){return ue.getAllUnscopedEmitHelpers().get(e)})),o})(ue.Debug.assertDefined(a)):((e,n,t)=>{for(var r,a,i,o,s,c,l,d,u=0,p=e?e.sections:ue.emptyArray;u<p.length;u++){var m=p[u];switch(m.kind){case"prologue":r=ue.append(r,ue.setTextRange(ue.factory.createUnparsedPrologue(m.data),m));break;case"emitHelpers":a=ue.append(a,ue.getAllUnscopedEmitHelpers().get(m.data));break;case"no-default-lib":d=!0;break;case"reference":i=ue.append(i,{pos:-1,end:-1,fileName:m.data});break;case"type":o=ue.append(o,m.data);break;case"lib":s=ue.append(s,{pos:-1,end:-1,fileName:m.data});break;case"prepend":for(var _=void 0,f=0,g=m.texts;f<g.length;f++){var y=g[f];n&&"internal"===y.kind||(_=ue.append(_,ue.setTextRange(ue.factory.createUnparsedTextLike(y.data,"internal"===y.kind),y)))}c=ue.addRange(c,_),l=ue.append(l,ue.factory.createUnparsedPrepend(m.data,null!=_?_:ue.emptyArray));break;case"internal":if(n){l=l||[];break}case"text":l=ue.append(l,ue.setTextRange(ue.factory.createUnparsedTextLike(m.data,"internal"===m.kind),m));break;default:ue.Debug.assertNever(m)}}return l||(e=ue.factory.createUnparsedTextLike(void 0,!1),ue.setTextRangePosWidth(e,0,"function"==typeof t?t():t),l=[e]),t=ue.parseNodeFactory.createUnparsedSource(null!=r?r:ue.emptyArray,void 0,l),ue.setEachParent(r,t),ue.setEachParent(l,t),ue.setEachParent(c,t),t.hasNoDefaultLib=d,t.helpers=a,t.referencedFiles=i||ue.emptyArray,t.typeReferenceDirectives=o,t.libReferenceDirectives=s||ue.emptyArray,t})(a,r,s)).fileName=i,t.sourceMapPath=c,t.oldFileOfCurrentEmit=p,d&&u?(Object.defineProperty(t,"text",{get:d}),Object.defineProperty(t,"sourceMapText",{get:u})):(ue.Debug.assert(!p),t.text=null!=o?o:"",t.sourceMapText=l),t},ue.createInputFiles=function(e,n,t,r,a,i,o,s,c,l,d){var u,p,m,_,f=ue.parseNodeFactory.createInputFiles();return ue.isString(e)?(f.javascriptText=e,f.javascriptMapPath=t,f.javascriptMapText=r,f.declarationText=n,f.declarationMapPath=a,f.declarationMapText=i,f.javascriptPath=o,f.declarationPath=s,f.buildInfoPath=c,f.buildInfo=l,f.oldFileOfCurrentEmit=d):(u=new ue.Map,p=function(n){var t;if(void 0!==n)return void 0===(t=u.get(n))&&(t=e(n),u.set(n,void 0!==t&&t)),!1!==t?t:void 0},m=function(e){var n=p(e);return void 0!==n?n:"/* Input file "+e+" was missing */\r\n"},f.javascriptPath=n,f.javascriptMapPath=t,f.declarationPath=ue.Debug.assertDefined(r),f.declarationMapPath=a,f.buildInfoPath=i,Object.defineProperties(f,{javascriptText:{get:function(){return m(n)}},javascriptMapText:{get:function(){return p(t)}},declarationText:{get:function(){return m(ue.Debug.assertDefined(r))}},declarationMapText:{get:function(){return p(a)}},buildInfo:{get:function(){return e=function(){return p(i)},void 0===_&&(e=e(),_=void 0!==e&&ue.getBuildInfo(e)),_||void 0;var e}}})),f},ue.createSourceMapSource=function(e,n,t){return new(fe=fe||ue.objectAllocator.getSourceMapSourceConstructor())(e,n,t)},ue.setOriginalNode=uE,(ye=bY=bY||{}).getOrCreateEmitNode=pE,ye.disposeEmitNodes=function(e){if(e=null==(e=null==(e=ye.getSourceFileOfNode(ye.getParseTreeNode(e)))?void 0:e.emitNode)?void 0:e.annotatedNodes)for(var n=0,t=e;n<t.length;n++)t[n].emitNode=void 0},ye.removeAllComments=function(e){var n=pE(e);return n.flags|=1536,n.leadingComments=void 0,n.trailingComments=void 0,e},ye.setEmitFlags=function(e,n){return pE(e).flags=n,e},ye.addEmitFlags=function(e,n){var t=pE(e);return t.flags=t.flags|n,e},ye.getSourceMapRange=function(e){var n;return null!=(n=null==(n=e.emitNode)?void 0:n.sourceMapRange)?n:e},ye.setSourceMapRange=function(e,n){return pE(e).sourceMapRange=n,e},ye.getTokenSourceMapRange=function(e,n){return null==(e=null==(e=e.emitNode)?void 0:e.tokenSourceMapRanges)?void 0:e[n]},ye.setTokenSourceMapRange=function(e,n,t){var r,a=pE(e);return(null!=(r=a.tokenSourceMapRanges)?r:a.tokenSourceMapRanges=[])[n]=t,e},ye.getStartsOnNewLine=function(e){return null==(e=e.emitNode)?void 0:e.startsOnNewLine},ye.setStartsOnNewLine=function(e,n){return pE(e).startsOnNewLine=n,e},ye.getCommentRange=function(e){var n;return null!=(n=null==(n=e.emitNode)?void 0:n.commentRange)?n:e},ye.setCommentRange=function(e,n){return pE(e).commentRange=n,e},ye.getSyntheticLeadingComments=mE,ye.setSyntheticLeadingComments=_E,ye.addSyntheticLeadingComment=function(e,n,t,r){return _E(e,ye.append(mE(e),{kind:n,pos:-1,end:-1,hasTrailingNewLine:r,text:t}))},ye.getSyntheticTrailingComments=fE,ye.setSyntheticTrailingComments=gE,ye.addSyntheticTrailingComment=function(e,n,t,r){return gE(e,ye.append(fE(e),{kind:n,pos:-1,end:-1,hasTrailingNewLine:r,text:t}))},ye.moveSyntheticComments=function(e,n){return _E(e,mE(n)),gE(e,fE(n)),(n=pE(n)).leadingComments=void 0,n.trailingComments=void 0,e},ye.getConstantValue=function(e){return null==(e=e.emitNode)?void 0:e.constantValue},ye.setConstantValue=function(e,n){return pE(e).constantValue=n,e},ye.addEmitHelper=function(e,n){var t=pE(e);return t.helpers=ye.append(t.helpers,n),e},ye.addEmitHelpers=function(e,n){if(ye.some(n))for(var t=pE(e),r=0,a=n;r<a.length;r++){var i=a[r];t.helpers=ye.appendIfUnique(t.helpers,i)}return e},ye.removeEmitHelper=function(e,n){return!!(e=null==(e=e.emitNode)?void 0:e.helpers)&&ye.orderedRemoveItem(e,n)},ye.getEmitHelpers=function(e){return null==(e=e.emitNode)?void 0:e.helpers},ye.moveEmitHelpers=function(e,n,t){var r=(e=e.emitNode)&&e.helpers;if(ye.some(r)){for(var a=pE(n),i=0,o=0;o<r.length;o++){var s=r[o];t(s)?(i++,a.helpers=ye.appendIfUnique(a.helpers,s)):0<i&&(r[o-i]=s)}0<i&&(r.length-=i)}},ye.ignoreSourceNewlines=function(e){return pE(e).flags|=134217728,e},(he=bY=bY||{}).createEmitHelperFactory=function(e){var n=e.factory,t=he.memoize((function(){return he.setEmitFlags(n.createTrue(),268435456)})),r=he.memoize((function(){return he.setEmitFlags(n.createFalse(),268435456)}));return{getUnscopedHelperName:a,createDecorateHelper:function(t,r,i,o){e.requestEmitHelper(he.decorateHelper);var s=[];return s.push(n.createArrayLiteralExpression(t,!0)),s.push(r),i&&(s.push(i),o)&&s.push(o),n.createCallExpression(a("__decorate"),void 0,s)},createMetadataHelper:function(t,r){return e.requestEmitHelper(he.metadataHelper),n.createCallExpression(a("__metadata"),void 0,[n.createStringLiteral(t),r])},createParamHelper:function(t,r,i){return e.requestEmitHelper(he.paramHelper),he.setTextRange(n.createCallExpression(a("__param"),void 0,[n.createNumericLiteral(r+""),t]),i)},createAssignHelper:function(t){return 2<=e.getCompilerOptions().target?n.createCallExpression(n.createPropertyAccessExpression(n.createIdentifier("Object"),"assign"),void 0,t):(e.requestEmitHelper(he.assignHelper),n.createCallExpression(a("__assign"),void 0,t))},createAwaitHelper:function(t){return e.requestEmitHelper(he.awaitHelper),n.createCallExpression(a("__await"),void 0,[t])},createAsyncGeneratorHelper:function(t,r){return e.requestEmitHelper(he.awaitHelper),e.requestEmitHelper(he.asyncGeneratorHelper),(t.emitNode||(t.emitNode={})).flags|=786432,n.createCallExpression(a("__asyncGenerator"),void 0,[r?n.createThis():n.createVoidZero(),n.createIdentifier("arguments"),t])},createAsyncDelegatorHelper:function(t){return e.requestEmitHelper(he.awaitHelper),e.requestEmitHelper(he.asyncDelegator),n.createCallExpression(a("__asyncDelegator"),void 0,[t])},createAsyncValuesHelper:function(t){return e.requestEmitHelper(he.asyncValues),n.createCallExpression(a("__asyncValues"),void 0,[t])},createRestHelper:function(t,r,i,o){e.requestEmitHelper(he.restHelper);for(var s=[],c=0,l=0;l<r.length-1;l++){var d,u=he.getPropertyNameOfBindingOrAssignmentElement(r[l]);u&&(he.isComputedPropertyName(u)?(he.Debug.assertIsDefined(i,"Encountered computed property name but 'computedTempVariables' argument was not provided."),d=i[c],c++,s.push(n.createConditionalExpression(n.createTypeCheck(d,"symbol"),void 0,d,void 0,n.createAdd(d,n.createStringLiteral(""))))):s.push(n.createStringLiteralFromNode(u)))}return n.createCallExpression(a("__rest"),void 0,[t,he.setTextRange(n.createArrayLiteralExpression(s),o)])},createAwaiterHelper:function(t,r,i,o){return e.requestEmitHelper(he.awaiterHelper),o=n.createFunctionExpression(void 0,n.createToken(41),void 0,void 0,[],void 0,o),(o.emitNode||(o.emitNode={})).flags|=786432,n.createCallExpression(a("__awaiter"),void 0,[t?n.createThis():n.createVoidZero(),r?n.createIdentifier("arguments"):n.createVoidZero(),i?he.createExpressionFromEntityName(n,i):n.createVoidZero(),o])},createExtendsHelper:function(t){return e.requestEmitHelper(he.extendsHelper),n.createCallExpression(a("__extends"),void 0,[t,n.createUniqueName("_super",48)])},createTemplateObjectHelper:function(t,r){return e.requestEmitHelper(he.templateObjectHelper),n.createCallExpression(a("__makeTemplateObject"),void 0,[t,r])},createSpreadArrayHelper:function(i,o,s){return e.requestEmitHelper(he.spreadArrayHelper),n.createCallExpression(a("__spreadArray"),void 0,[i,o,(s?t:r)()])},createValuesHelper:function(t){return e.requestEmitHelper(he.valuesHelper),n.createCallExpression(a("__values"),void 0,[t])},createReadHelper:function(t,r){return e.requestEmitHelper(he.readHelper),n.createCallExpression(a("__read"),void 0,void 0!==r?[t,n.createNumericLiteral(r+"")]:[t])},createGeneratorHelper:function(t){return e.requestEmitHelper(he.generatorHelper),n.createCallExpression(a("__generator"),void 0,[n.createThis(),t])},createCreateBindingHelper:function(t,r,i){return e.requestEmitHelper(he.createBindingHelper),n.createCallExpression(a("__createBinding"),void 0,eu([n.createIdentifier("exports"),t,r],i?[i]:[],!0))},createImportStarHelper:function(t){return e.requestEmitHelper(he.importStarHelper),n.createCallExpression(a("__importStar"),void 0,[t])},createImportStarCallbackHelper:function(){return e.requestEmitHelper(he.importStarHelper),a("__importStar")},createImportDefaultHelper:function(t){return e.requestEmitHelper(he.importDefaultHelper),n.createCallExpression(a("__importDefault"),void 0,[t])},createExportStarHelper:function(t,r){return void 0===r&&(r=n.createIdentifier("exports")),e.requestEmitHelper(he.exportStarHelper),e.requestEmitHelper(he.createBindingHelper),n.createCallExpression(a("__exportStar"),void 0,[t,r])},createClassPrivateFieldGetHelper:function(t,r,i,o){return e.requestEmitHelper(he.classPrivateFieldGetHelper),o=o?[t,r,n.createStringLiteral(i),o]:[t,r,n.createStringLiteral(i)],n.createCallExpression(a("__classPrivateFieldGet"),void 0,o)},createClassPrivateFieldSetHelper:function(t,r,i,o,s){return e.requestEmitHelper(he.classPrivateFieldSetHelper),s=s?[t,r,i,n.createStringLiteral(o),s]:[t,r,i,n.createStringLiteral(o)],n.createCallExpression(a("__classPrivateFieldSet"),void 0,s)}};function a(e){return he.setEmitFlags(n.createIdentifier(e),4098)}},he.compareEmitHelpers=function(e,n){return e===n||e.priority===n.priority?0:void 0===e.priority?1:void 0===n.priority?-1:he.compareValues(e.priority,n.priority)},he.helperString=yE,he.decorateHelper={name:"typescript:decorate",importName:"__decorate",scoped:!1,priority:2,text:'\n var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n };'},he.metadataHelper={name:"typescript:metadata",importName:"__metadata",scoped:!1,priority:3,text:'\n var __metadata = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);\n };'},he.paramHelper={name:"typescript:param",importName:"__param",scoped:!1,priority:4,text:"\n var __param = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n };"},he.assignHelper={name:"typescript:assign",importName:"__assign",scoped:!1,priority:1,text:"\n var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n };"},he.awaitHelper={name:"typescript:await",importName:"__await",scoped:!1,text:"\n var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }"},he.asyncGeneratorHelper={name:"typescript:asyncGenerator",importName:"__asyncGenerator",scoped:!1,dependencies:[he.awaitHelper],text:'\n var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;\n 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); }); }; }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume("next", value); }\n function reject(value) { resume("throw", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n };'},he.asyncDelegator={name:"typescript:asyncDelegator",importName:"__asyncDelegator",scoped:!1,dependencies:[he.awaitHelper],text:'\n var __asyncDelegator = (this && this.__asyncDelegator) || function (o) {\n var i, p;\n return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;\n 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; }\n };'},he.asyncValues={name:"typescript:asyncValues",importName:"__asyncValues",scoped:!1,text:'\n var __asyncValues = (this && this.__asyncValues) || function (o) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var m = o[Symbol.asyncIterator], i;\n 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);\n 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); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n };'},he.restHelper={name:"typescript:rest",importName:"__rest",scoped:!1,text:'\n var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === "function")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n };'},he.awaiterHelper={name:"typescript:awaiter",importName:"__awaiter",scoped:!1,priority:5,text:'\n var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n };'},he.extendsHelper={name:"typescript:extends",importName:"__extends",scoped:!1,priority:0,text:'\n var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n\n return function (d, b) {\n if (typeof b !== "function" && b !== null)\n throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n })();'},he.templateObjectHelper={name:"typescript:makeTemplateObject",importName:"__makeTemplateObject",scoped:!1,priority:0,text:'\n var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n };'},he.readHelper={name:"typescript:read",importName:"__read",scoped:!1,text:'\n var __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === "function" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i["return"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n };'},he.spreadArrayHelper={name:"typescript:spreadArray",importName:"__spreadArray",scoped:!1,text:"\n var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n };"},he.valuesHelper={name:"typescript:values",importName:"__values",scoped:!1,text:'\n var __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === "number") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");\n };'},he.generatorHelper={name:"typescript:generator",importName:"__generator",scoped:!1,priority:6,text:'\n var __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError("Generator is already executing.");\n while (_) try {\n 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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n };'},he.createBindingHelper={name:"typescript:commonjscreatebinding",importName:"__createBinding",scoped:!1,priority:1,text:"\n var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n }) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n }));"},he.setModuleDefaultHelper={name:"typescript:commonjscreatevalue",importName:"__setModuleDefault",scoped:!1,priority:1,text:'\n var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, "default", { enumerable: true, value: v });\n }) : function(o, v) {\n o["default"] = v;\n });'},he.importStarHelper={name:"typescript:commonjsimportstar",importName:"__importStar",scoped:!1,dependencies:[he.createBindingHelper,he.setModuleDefaultHelper],priority:2,text:'\n var __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n };'},he.importDefaultHelper={name:"typescript:commonjsimportdefault",importName:"__importDefault",scoped:!1,text:'\n var __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { "default": mod };\n };'},he.exportStarHelper={name:"typescript:export-star",importName:"__exportStar",scoped:!1,dependencies:[he.createBindingHelper],priority:2,text:'\n var __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n };'},he.classPrivateFieldGetHelper={name:"typescript:classPrivateFieldGet",importName:"__classPrivateFieldGet",scoped:!1,text:'\n var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");\n 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");\n return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);\n };'},he.classPrivateFieldSetHelper={name:"typescript:classPrivateFieldSet",importName:"__classPrivateFieldSet",scoped:!1,text:'\n var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === "m") throw new TypeError("Private method is not writable");\n if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");\n 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");\n return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n };'},he.getAllUnscopedEmitHelpers=function(){return ve=ve||he.arrayToMap([he.decorateHelper,he.metadataHelper,he.paramHelper,he.assignHelper,he.awaitHelper,he.asyncGeneratorHelper,he.asyncDelegator,he.asyncValues,he.restHelper,he.awaiterHelper,he.extendsHelper,he.templateObjectHelper,he.spreadArrayHelper,he.valuesHelper,he.readHelper,he.generatorHelper,he.importStarHelper,he.importDefaultHelper,he.exportStarHelper,he.classPrivateFieldGetHelper,he.classPrivateFieldSetHelper,he.createBindingHelper,he.setModuleDefaultHelper],(function(e){return e.name}))},he.asyncSuperHelper={name:"typescript:async-super",scoped:!0,text:yE(tu(["\n const "," = name => super[name];"],["\n const "," = name => super[name];"]),"_superIndex")},he.advancedAsyncSuperHelper={name:"typescript:advanced-async-super",scoped:!0,text:yE(tu(["\n const "," = (function (geti, seti) {\n const cache = Object.create(null);\n return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n })(name => super[name], (name, value) => super[name] = value);"],["\n const "," = (function (geti, seti) {\n const cache = Object.create(null);\n return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n })(name => super[name], (name, value) => super[name] = value);"]),"_superIndex")},he.isCallToHelper=function(e,n){return he.isCallExpression(e)&&he.isIdentifier(e.expression)&&0!=(4096&he.getEmitFlags(e.expression))&&e.expression.escapedText===n},(cm=bY=bY||{}).isNumericLiteral=function(e){return 8===e.kind},cm.isBigIntLiteral=function(e){return 9===e.kind},cm.isStringLiteral=function(e){return 10===e.kind},cm.isJsxText=function(e){return 11===e.kind},cm.isRegularExpressionLiteral=function(e){return 13===e.kind},cm.isNoSubstitutionTemplateLiteral=function(e){return 14===e.kind},cm.isTemplateHead=function(e){return 15===e.kind},cm.isTemplateMiddle=function(e){return 16===e.kind},cm.isTemplateTail=function(e){return 17===e.kind},cm.isDotDotDotToken=function(e){return 25===e.kind},cm.isCommaToken=function(e){return 27===e.kind},cm.isPlusToken=function(e){return 39===e.kind},cm.isMinusToken=function(e){return 40===e.kind},cm.isAsteriskToken=function(e){return 41===e.kind},cm.isExclamationToken=function(e){return 53===e.kind},cm.isQuestionToken=function(e){return 57===e.kind},cm.isColonToken=function(e){return 58===e.kind},cm.isQuestionDotToken=function(e){return 28===e.kind},cm.isEqualsGreaterThanToken=function(e){return 38===e.kind},cm.isIdentifier=function(e){return 79===e.kind},cm.isPrivateIdentifier=function(e){return 80===e.kind},cm.isExportModifier=function(e){return 93===e.kind},cm.isAsyncModifier=function(e){return 130===e.kind},cm.isAssertsKeyword=function(e){return 128===e.kind},cm.isAwaitKeyword=function(e){return 131===e.kind},cm.isReadonlyKeyword=function(e){return 143===e.kind},cm.isStaticModifier=function(e){return 124===e.kind},cm.isAbstractModifier=function(e){return 126===e.kind},cm.isSuperKeyword=function(e){return 106===e.kind},cm.isImportKeyword=function(e){return 100===e.kind},cm.isQualifiedName=function(e){return 159===e.kind},cm.isComputedPropertyName=function(e){return 160===e.kind},cm.isTypeParameterDeclaration=function(e){return 161===e.kind},cm.isParameter=function(e){return 162===e.kind},cm.isDecorator=function(e){return 163===e.kind},cm.isPropertySignature=function(e){return 164===e.kind},cm.isPropertyDeclaration=function(e){return 165===e.kind},cm.isMethodSignature=function(e){return 166===e.kind},cm.isMethodDeclaration=function(e){return 167===e.kind},cm.isClassStaticBlockDeclaration=function(e){return 168===e.kind},cm.isConstructorDeclaration=function(e){return 169===e.kind},cm.isGetAccessorDeclaration=function(e){return 170===e.kind},cm.isSetAccessorDeclaration=function(e){return 171===e.kind},cm.isCallSignatureDeclaration=function(e){return 172===e.kind},cm.isConstructSignatureDeclaration=function(e){return 173===e.kind},cm.isIndexSignatureDeclaration=function(e){return 174===e.kind},cm.isTypePredicateNode=function(e){return 175===e.kind},cm.isTypeReferenceNode=function(e){return 176===e.kind},cm.isFunctionTypeNode=function(e){return 177===e.kind},cm.isConstructorTypeNode=function(e){return 178===e.kind},cm.isTypeQueryNode=function(e){return 179===e.kind},cm.isTypeLiteralNode=function(e){return 180===e.kind},cm.isArrayTypeNode=function(e){return 181===e.kind},cm.isTupleTypeNode=function(e){return 182===e.kind},cm.isNamedTupleMember=function(e){return 195===e.kind},cm.isOptionalTypeNode=function(e){return 183===e.kind},cm.isRestTypeNode=function(e){return 184===e.kind},cm.isUnionTypeNode=function(e){return 185===e.kind},cm.isIntersectionTypeNode=function(e){return 186===e.kind},cm.isConditionalTypeNode=function(e){return 187===e.kind},cm.isInferTypeNode=function(e){return 188===e.kind},cm.isParenthesizedTypeNode=function(e){return 189===e.kind},cm.isThisTypeNode=function(e){return 190===e.kind},cm.isTypeOperatorNode=function(e){return 191===e.kind},cm.isIndexedAccessTypeNode=function(e){return 192===e.kind},cm.isMappedTypeNode=function(e){return 193===e.kind},cm.isLiteralTypeNode=function(e){return 194===e.kind},cm.isImportTypeNode=function(e){return 198===e.kind},cm.isTemplateLiteralTypeSpan=function(e){return 197===e.kind},cm.isTemplateLiteralTypeNode=function(e){return 196===e.kind},cm.isObjectBindingPattern=function(e){return 199===e.kind},cm.isArrayBindingPattern=function(e){return 200===e.kind},cm.isBindingElement=function(e){return 201===e.kind},cm.isArrayLiteralExpression=function(e){return 202===e.kind},cm.isObjectLiteralExpression=function(e){return 203===e.kind},cm.isPropertyAccessExpression=function(e){return 204===e.kind},cm.isElementAccessExpression=function(e){return 205===e.kind},cm.isCallExpression=function(e){return 206===e.kind},cm.isNewExpression=function(e){return 207===e.kind},cm.isTaggedTemplateExpression=function(e){return 208===e.kind},cm.isTypeAssertionExpression=function(e){return 209===e.kind},cm.isParenthesizedExpression=function(e){return 210===e.kind},cm.isFunctionExpression=function(e){return 211===e.kind},cm.isArrowFunction=function(e){return 212===e.kind},cm.isDeleteExpression=function(e){return 213===e.kind},cm.isTypeOfExpression=function(e){return 214===e.kind},cm.isVoidExpression=function(e){return 215===e.kind},cm.isAwaitExpression=function(e){return 216===e.kind},cm.isPrefixUnaryExpression=function(e){return 217===e.kind},cm.isPostfixUnaryExpression=function(e){return 218===e.kind},cm.isBinaryExpression=function(e){return 219===e.kind},cm.isConditionalExpression=function(e){return 220===e.kind},cm.isTemplateExpression=function(e){return 221===e.kind},cm.isYieldExpression=function(e){return 222===e.kind},cm.isSpreadElement=function(e){return 223===e.kind},cm.isClassExpression=function(e){return 224===e.kind},cm.isOmittedExpression=function(e){return 225===e.kind},cm.isExpressionWithTypeArguments=function(e){return 226===e.kind},cm.isAsExpression=function(e){return 227===e.kind},cm.isNonNullExpression=function(e){return 228===e.kind},cm.isMetaProperty=function(e){return 229===e.kind},cm.isSyntheticExpression=function(e){return 230===e.kind},cm.isPartiallyEmittedExpression=function(e){return 345===e.kind},cm.isCommaListExpression=function(e){return 346===e.kind},cm.isTemplateSpan=function(e){return 231===e.kind},cm.isSemicolonClassElement=function(e){return 232===e.kind},cm.isBlock=function(e){return 233===e.kind},cm.isVariableStatement=function(e){return 235===e.kind},cm.isEmptyStatement=function(e){return 234===e.kind},cm.isExpressionStatement=function(e){return 236===e.kind},cm.isIfStatement=function(e){return 237===e.kind},cm.isDoStatement=function(e){return 238===e.kind},cm.isWhileStatement=function(e){return 239===e.kind},cm.isForStatement=function(e){return 240===e.kind},cm.isForInStatement=function(e){return 241===e.kind},cm.isForOfStatement=function(e){return 242===e.kind},cm.isContinueStatement=function(e){return 243===e.kind},cm.isBreakStatement=function(e){return 244===e.kind},cm.isReturnStatement=function(e){return 245===e.kind},cm.isWithStatement=function(e){return 246===e.kind},cm.isSwitchStatement=function(e){return 247===e.kind},cm.isLabeledStatement=function(e){return 248===e.kind},cm.isThrowStatement=function(e){return 249===e.kind},cm.isTryStatement=function(e){return 250===e.kind},cm.isDebuggerStatement=function(e){return 251===e.kind},cm.isVariableDeclaration=function(e){return 252===e.kind},cm.isVariableDeclarationList=function(e){return 253===e.kind},cm.isFunctionDeclaration=function(e){return 254===e.kind},cm.isClassDeclaration=function(e){return 255===e.kind},cm.isInterfaceDeclaration=function(e){return 256===e.kind},cm.isTypeAliasDeclaration=function(e){return 257===e.kind},cm.isEnumDeclaration=function(e){return 258===e.kind},cm.isModuleDeclaration=function(e){return 259===e.kind},cm.isModuleBlock=function(e){return 260===e.kind},cm.isCaseBlock=function(e){return 261===e.kind},cm.isNamespaceExportDeclaration=function(e){return 262===e.kind},cm.isImportEqualsDeclaration=function(e){return 263===e.kind},cm.isImportDeclaration=function(e){return 264===e.kind},cm.isImportClause=function(e){return 265===e.kind},cm.isNamespaceImport=function(e){return 266===e.kind},cm.isNamespaceExport=function(e){return 272===e.kind},cm.isNamedImports=function(e){return 267===e.kind},cm.isImportSpecifier=function(e){return 268===e.kind},cm.isExportAssignment=function(e){return 269===e.kind},cm.isExportDeclaration=function(e){return 270===e.kind},cm.isNamedExports=function(e){return 271===e.kind},cm.isExportSpecifier=function(e){return 273===e.kind},cm.isMissingDeclaration=function(e){return 274===e.kind},cm.isNotEmittedStatement=function(e){return 344===e.kind},cm.isSyntheticReference=function(e){return 349===e.kind},cm.isMergeDeclarationMarker=function(e){return 347===e.kind},cm.isEndOfDeclarationMarker=function(e){return 348===e.kind},cm.isExternalModuleReference=function(e){return 275===e.kind},cm.isJsxElement=function(e){return 276===e.kind},cm.isJsxSelfClosingElement=function(e){return 277===e.kind},cm.isJsxOpeningElement=function(e){return 278===e.kind},cm.isJsxClosingElement=function(e){return 279===e.kind},cm.isJsxFragment=function(e){return 280===e.kind},cm.isJsxOpeningFragment=function(e){return 281===e.kind},cm.isJsxClosingFragment=function(e){return 282===e.kind},cm.isJsxAttribute=function(e){return 283===e.kind},cm.isJsxAttributes=function(e){return 284===e.kind},cm.isJsxSpreadAttribute=function(e){return 285===e.kind},cm.isJsxExpression=function(e){return 286===e.kind},cm.isCaseClause=function(e){return 287===e.kind},cm.isDefaultClause=function(e){return 288===e.kind},cm.isHeritageClause=function(e){return 289===e.kind},cm.isCatchClause=function(e){return 290===e.kind},cm.isPropertyAssignment=function(e){return 291===e.kind},cm.isShorthandPropertyAssignment=function(e){return 292===e.kind},cm.isSpreadAssignment=function(e){return 293===e.kind},cm.isEnumMember=function(e){return 294===e.kind},cm.isUnparsedPrepend=function(e){return 296===e.kind},cm.isSourceFile=function(e){return 300===e.kind},cm.isBundle=function(e){return 301===e.kind},cm.isUnparsedSource=function(e){return 302===e.kind},cm.isJSDocTypeExpression=function(e){return 304===e.kind},cm.isJSDocNameReference=function(e){return 305===e.kind},cm.isJSDocMemberName=function(e){return 306===e.kind},cm.isJSDocLink=function(e){return 319===e.kind},cm.isJSDocLinkCode=function(e){return 320===e.kind},cm.isJSDocLinkPlain=function(e){return 321===e.kind},cm.isJSDocAllType=function(e){return 307===e.kind},cm.isJSDocUnknownType=function(e){return 308===e.kind},cm.isJSDocNullableType=function(e){return 309===e.kind},cm.isJSDocNonNullableType=function(e){return 310===e.kind},cm.isJSDocOptionalType=function(e){return 311===e.kind},cm.isJSDocFunctionType=function(e){return 312===e.kind},cm.isJSDocVariadicType=function(e){return 313===e.kind},cm.isJSDocNamepathType=function(e){return 314===e.kind},cm.isJSDoc=function(e){return 315===e.kind},cm.isJSDocTypeLiteral=function(e){return 317===e.kind},cm.isJSDocSignature=function(e){return 318===e.kind},cm.isJSDocAugmentsTag=function(e){return 323===e.kind},cm.isJSDocAuthorTag=function(e){return 325===e.kind},cm.isJSDocClassTag=function(e){return 327===e.kind},cm.isJSDocCallbackTag=function(e){return 333===e.kind},cm.isJSDocPublicTag=function(e){return 328===e.kind},cm.isJSDocPrivateTag=function(e){return 329===e.kind},cm.isJSDocProtectedTag=function(e){return 330===e.kind},cm.isJSDocReadonlyTag=function(e){return 331===e.kind},cm.isJSDocOverrideTag=function(e){return 332===e.kind},cm.isJSDocDeprecatedTag=function(e){return 326===e.kind},cm.isJSDocSeeTag=function(e){return 341===e.kind},cm.isJSDocEnumTag=function(e){return 334===e.kind},cm.isJSDocParameterTag=function(e){return 335===e.kind},cm.isJSDocReturnTag=function(e){return 336===e.kind},cm.isJSDocThisTag=function(e){return 337===e.kind},cm.isJSDocTypeTag=function(e){return 338===e.kind},cm.isJSDocTemplateTag=function(e){return 339===e.kind},cm.isJSDocTypedefTag=function(e){return 340===e.kind},cm.isJSDocUnknownTag=function(e){return 322===e.kind},cm.isJSDocPropertyTag=function(e){return 342===e.kind},cm.isJSDocImplementsTag=function(e){return 324===e.kind},cm.isSyntaxList=function(e){return 343===e.kind},(be=bY=bY||{}).createEmptyExports=function(e){return e.createExportDeclaration(void 0,void 0,!1,e.createNamedExports([]),void 0)},be.createMemberAccessForPropertyName=hE,be.createJsxFactoryExpression=EE,be.createExpressionForJsxElement=function(e,n,t,r,a,i){var o=[t];if(r&&o.push(r),a&&0<a.length)if(r||o.push(e.createNull()),1<a.length)for(var s=0,c=a;s<c.length;s++){var l=c[s];DE(l),o.push(l)}else o.push(a[0]);return be.setTextRange(e.createCallExpression(n,void 0,o),i)},be.createExpressionForJsxFragment=function(e,n,t,r,a,i,o){s=e,c=r,l=i;var s,c,l,d=[(t=t)?bE(s,t,l):s.createPropertyAccessExpression(vE(c,l),"Fragment"),e.createNull()];if(a&&0<a.length)if(1<a.length)for(var u=0,p=a;u<p.length;u++){var m=p[u];DE(m),d.push(m)}else d.push(a[0]);return be.setTextRange(e.createCallExpression(EE(e,n,r,i),void 0,d),o)},be.createForOfBindingStatement=function(e,n,t){var r;return be.isVariableDeclarationList(n)?(r=be.first(n.declarations),r=e.updateVariableDeclaration(r,r.name,void 0,void 0,t),be.setTextRange(e.createVariableStatement(void 0,e.updateVariableDeclarationList(n,[r])),n)):(r=be.setTextRange(e.createAssignment(n,t),n),be.setTextRange(e.createExpressionStatement(r),n))},be.insertLeadingStatement=function(e,n,t){return be.isBlock(n)?e.updateBlock(n,be.setTextRange(e.createNodeArray(eu([t],n.statements,!0)),n.statements)):e.createBlock(e.createNodeArray([n,t]),!0)},be.createExpressionFromEntityName=function e(n,t){var r,a;return be.isQualifiedName(t)?(r=e(n,t.left),a=be.setParent(be.setTextRange(n.cloneNode(t.right),t.right),t.right.parent),be.setTextRange(n.createPropertyAccessExpression(r,a),t)):be.setParent(be.setTextRange(n.cloneNode(t),t),t.parent)},be.createExpressionForPropertyName=TE,be.createExpressionForObjectLiteralElementLike=function(e,n,t,r){switch(t.name&&be.isPrivateIdentifier(t.name)&&be.Debug.failBadSyntaxKind(t.name,"Private identifiers are not allowed in object literals."),t.kind){case 170:case 171:var a=e,i=n.properties,o=t,s=r,c=!!n.multiLine,l=(i=be.getAllAccessorDeclarations(i,o)).firstAccessor,d=i.getAccessor;i=i.setAccessor;return o===l?be.setTextRange(a.createObjectDefinePropertyCall(s,TE(a,o.name),a.createPropertyDescriptor({enumerable:a.createFalse(),configurable:!0,get:d&&be.setTextRange(be.setOriginalNode(a.createFunctionExpression(d.modifiers,void 0,void 0,void 0,d.parameters,void 0,d.body),d),d),set:i&&be.setTextRange(be.setOriginalNode(a.createFunctionExpression(i.modifiers,void 0,void 0,void 0,i.parameters,void 0,i.body),i),i)},!c)),l):void 0;case 291:return s=t,be.setOriginalNode(be.setTextRange(e.createAssignment(hE(e,r,s.name,s.name),s.initializer),s),s);case 292:return o=e,d=t,be.setOriginalNode(be.setTextRange(o.createAssignment(hE(o,r,d.name,d.name),o.cloneNode(d.name)),d),d);case 167:return a=e,i=t,be.setOriginalNode(be.setTextRange(a.createAssignment(hE(a,r,i.name,i.name),be.setOriginalNode(be.setTextRange(a.createFunctionExpression(i.modifiers,i.asteriskToken,void 0,void 0,i.parameters,void 0,i.body),i),i)),i),i)}},be.expandPreOrPostfixIncrementOrDecrementExpression=function(e,n,t,r,a){var i=n.operator;be.Debug.assert(45===i||46===i,"Expected 'node' to be a pre- or post-increment or pre- or post-decrement expression"),r=e.createTempVariable(r),t=e.createAssignment(r,t),be.setTextRange(t,n.operand),i=be.isPrefixUnaryExpression(n)?e.createPrefixUnaryExpression(i,r):e.createPostfixUnaryExpression(r,i);return be.setTextRange(i,n),a&&(i=e.createAssignment(a,i),be.setTextRange(i,n)),t=e.createComma(t,i),be.setTextRange(t,n),be.isPostfixUnaryExpression(n)&&(t=e.createComma(t,r),be.setTextRange(t,n)),t},be.isInternalName=function(e){return 0!=(32768&be.getEmitFlags(e))},be.isLocalName=function(e){return 0!=(16384&be.getEmitFlags(e))},be.isExportName=function(e){return 0!=(8192&be.getEmitFlags(e))},be.findUseStrictPrologue=function(e){for(var n=0,t=e;n<t.length;n++){var r=t[n];if(!be.isPrologueDirective(r))break;if(SE(r))return r}},be.startsWithUseStrict=function(e){return void 0!==(e=be.firstOrUndefined(e))&&be.isPrologueDirective(e)&&SE(e)},be.isCommaSequence=function(e){return 219===e.kind&&27===e.operatorToken.kind||346===e.kind},be.isOuterExpression=xE,be.skipOuterExpressions=LE,be.skipAssertions=function(e){return LE(e,6)},be.startOnNewLine=DE,be.getExternalHelpersModuleName=AE,be.hasRecordedExternalHelpers=function(e){return!(!(e=(e=be.getOriginalNode(e,be.isSourceFile))&&e.emitNode)||!e.externalHelpersModuleName&&!e.externalHelpers)},be.createExternalHelpersImportDeclarationIfNeeded=function(e,n,t,r,a,i,o){if(r.importHelpers&&be.isEffectiveExternalModule(t,r)){var s=void 0,c=be.getEmitModuleKind(r);if(c>=be.ModuleKind.ES2015&&c<=be.ModuleKind.ESNext){if(c=be.getEmitHelpers(t),c){for(var l=[],d=0,u=c;d<u.length;d++){var p=u[d];p.scoped||(p=p.importName)&&be.pushIfUnique(l,p)}be.some(l)&&(l.sort(be.compareStringsCaseSensitive),s=e.createNamedImports(be.map(l,(function(r){return be.isFileLevelUniqueName(t,r)?e.createImportSpecifier(void 0,e.createIdentifier(r)):e.createImportSpecifier(e.createIdentifier(r),n.getUnscopedHelperName(r))}))),c=be.getOriginalNode(t,be.isSourceFile),be.getOrCreateEmitNode(c).externalHelpers=!0)}}else c=CE(e,t,r,a,i||o),c&&(s=e.createNamespaceImport(c));if(s)return r=e.createImportDeclaration(void 0,void 0,e.createImportClause(!1,void 0,s),e.createStringLiteral(be.externalHelpersModuleNameText)),be.addEmitFlags(r,67108864),r}},be.getOrCreateExternalHelpersModuleNameIfNeeded=CE,be.getLocalNameForExternalImport=function(e,n,t){var r=be.getNamespaceDeclarationNode(n);return!r||be.isDefaultImport(n)||be.isExportNamespaceAsDefaultDeclaration(n)?264===n.kind&&n.importClause||270===n.kind&&n.moduleSpecifier?e.getGeneratedNameForNode(n):void 0:(n=r.name,be.isGeneratedIdentifier(n)?n:e.createIdentifier(be.getSourceTextOfNodeFromSourceFile(t,n)||be.idText(n)))},be.getExternalModuleNameLiteral=function(e,n,t,r,a,i){var o=be.getExternalModuleName(n);if(o&&be.isStringLiteral(o))return r=r,i=i,IE(e,a.getExternalModuleFileFromDeclaration(n),r,i)||((e,n,t)=>(t=t.renamedDependencies&&t.renamedDependencies.get(n.text))?e.createStringLiteral(t):void 0)(e,o,t)||e.cloneNode(o)},be.tryGetModuleNameFromFile=IE,be.getInitializerOfBindingOrAssignmentElement=function e(n){var t;return be.isDeclarationBindingElement(n)?n.initializer:be.isPropertyAssignment(n)?(t=n.initializer,be.isAssignmentExpression(t,!0)?t.right:void 0):be.isShorthandPropertyAssignment(n)?n.objectAssignmentInitializer:be.isAssignmentExpression(n,!0)?n.right:be.isSpreadElement(n)?e(n.expression):void 0},be.getTargetOfBindingOrAssignmentElement=NE,be.getRestIndicatorOfBindingOrAssignmentElement=function(e){switch(e.kind){case 162:case 201:return e.dotDotDotToken;case 223:case 293:return e}},be.getPropertyNameOfBindingOrAssignmentElement=function(e){var n=kE(e);return be.Debug.assert(!!n||be.isSpreadAssignment(e),"Invalid property name for binding element."),n},be.tryGetPropertyNameOfBindingOrAssignmentElement=kE,be.getElementsOfBindingOrAssignmentPattern=function(e){switch(e.kind){case 199:case 200:case 202:return e.elements;case 203:return e.properties}},be.getJSDocTypeAliasName=function(e){if(e)for(var n=e;;){if(be.isIdentifier(n)||!n.body)return be.isIdentifier(n)?n:n.name;n=n.body}},be.canHaveModifiers=function(e){return 162===(e=e.kind)||164===e||165===e||166===e||167===e||169===e||170===e||171===e||174===e||211===e||212===e||224===e||235===e||254===e||255===e||256===e||257===e||258===e||259===e||263===e||264===e||269===e||270===e},be.isTypeNodeOrTypeParameterDeclaration=be.or(be.isTypeNode,be.isTypeParameterDeclaration),be.isQuestionOrExclamationToken=be.or(be.isQuestionToken,be.isExclamationToken),be.isIdentifierOrThisTypeNode=be.or(be.isIdentifier,be.isThisTypeNode),be.isReadonlyKeywordOrPlusOrMinusToken=be.or(be.isReadonlyKeyword,be.isPlusToken,be.isMinusToken),be.isQuestionOrPlusOrMinusToken=be.or(be.isQuestionToken,be.isPlusToken,be.isMinusToken),be.isModuleName=be.or(be.isIdentifier,be.isStringLiteral),be.isLiteralTypeLikeExpression=function(e){var n=e.kind;return 104===n||110===n||95===n||be.isLiteralExpression(e)||be.isPrefixUnaryExpression(e)},be.isBinaryOperatorToken=function(e){return OE(e.kind)},(sm=Ee=Ee||{}).enter=PE,sm.left=wE,sm.operator=ME,sm.right=FE,sm.exit=GE,sm.done=BE,sm.nextState=UE,Te=function(e,n,t,r,a,i){this.onEnter=e,this.onLeft=n,this.onOperator=t,this.onRight=r,this.onExit=a,this.foldState=i},be.createBinaryExpressionTrampoline=function(e,n,t,r,a,i){var o=new Te(e,n,t,r,a,i);return function(e,n){for(var t={value:void 0},r=[Ee.enter],a=[e],i=[void 0],s=0;r[s]!==Ee.done;)s=r[s](o,s,r,a,i,t,n);return be.Debug.assertEqual(s,0),t.value}},(Se=bY=bY||{}).setTextRange=function(e,n){return n?Se.setTextRangePosEnd(e,n.pos,n.end):e},(xe=bY=bY||{}).parseBaseNodeFactory={createBaseSourceFileNode:function(e){return new(Ie=Ie||xe.objectAllocator.getSourceFileConstructor())(e,-1,-1)},createBaseIdentifierNode:function(e){return new(Ae=Ae||xe.objectAllocator.getIdentifierConstructor())(e,-1,-1)},createBasePrivateIdentifierNode:function(e){return new(Ce=Ce||xe.objectAllocator.getPrivateIdentifierConstructor())(e,-1,-1)},createBaseTokenNode:function(e){return new(De=De||xe.objectAllocator.getTokenConstructor())(e,-1,-1)},createBaseNode:function(e){return new(Le=Le||xe.objectAllocator.getNodeConstructor())(e,-1,-1)}},xe.parseNodeFactory=xe.createNodeFactory(1,xe.parseBaseNodeFactory),xe.isJSDocLikeText=WE,xe.forEachChild=zE,xe.forEachChildRecursively=function(e,n,t){for(var r=JE(e),a=[];a.length<r.length;)a.push(e);for(;0!==r.length;){var i,o=r.pop(),s=a.pop();if(xe.isArray(o)){if(t&&(i=t(o,s))){if("skip"===i)continue;return i}for(var c=o.length-1;0<=c;--c)r.push(o[c]),a.push(s)}else{if(i=n(o,s)){if("skip"===i)continue;return i}if(159<=o.kind)for(var l=0,d=JE(o);l<d.length;l++){var u=d[l];r.push(u),a.push(o)}}}},xe.createSourceFile=function(e,n,t,r,a){return void 0===r&&(r=!1),null!=xe.tracing&&xe.tracing.push("parse","createSourceFile",{path:e},!0),xe.performance.mark("beforeParse"),xe.perfLogger.logStartParseSourceFile(e),e=100===t?Ne.parseSourceFile(e,n,t,void 0,r,6):Ne.parseSourceFile(e,n,t,void 0,r,a),xe.perfLogger.logStopParseSourceFile(),xe.performance.mark("afterParse"),xe.performance.measure("Parse","beforeParse","afterParse"),null!=xe.tracing&&xe.tracing.pop(),e},xe.parseIsolatedEntityName=function(e,n){return Ne.parseIsolatedEntityName(e,n)},xe.parseJsonText=function(e,n){return Ne.parseJsonText(e,n)},xe.isExternalModule=qE,xe.updateSourceFile=function(e,n,t,r){return(n=cn.updateSourceFile(e,n,t,r=void 0!==r&&r)).flags|=3145728&e.flags,n},xe.parseIsolatedJSDocComment=function(e,n,t){return(e=Ne.JSDocParser.parseIsolatedJSDocComment(e,n,t))&&e.jsDoc&&Ne.fixupParentReferences(e.jsDoc),e},xe.parseJSDocTypeExpressionForTests=function(e,n,t){return Ne.JSDocParser.parseJSDocTypeExpressionForTests(e,n,t)},OY=Ne=Ne||{},Me=xe.createScanner(99,!0),Fe=20480,nn=xe.createNodeFactory(11,{createBaseSourceFileNode:function(e){return XE(new we(e,0,0))},createBaseIdentifierNode:function(e){return XE(new Oe(e,0,0))},createBasePrivateIdentifierNode:function(e){return XE(new Pe(e,0,0))},createBaseTokenNode:function(e){return XE(new Re(e,0,0))},createBaseNode:function(e){return XE(new ke(e,0,0))}}),rn=!(tn=!0),OY.parseSourceFile=function(e,n,t,r,a,i){var o;if(void 0===a&&(a=!1),6===(i=xe.ensureScriptKind(e,i)))return o=YE(e,n,t,r,a),xe.convertToObjectWorker(o,null==(s=o.statements[0])?void 0:s.expression,o.parseDiagnostics,!1,void 0,void 0),o.referencedFiles=xe.emptyArray,o.typeReferenceDirectives=xe.emptyArray,o.libReferenceDirectives=xe.emptyArray,o.amdDependencies=xe.emptyArray,o.hasNoDefaultLib=!1,o.pragmas=xe.emptyMap,o;QE(e,n,t,r,i);var s=((e,n,t)=>{var r=QD(Ge),a=(r&&(en|=8388608),Be=en,AT(),DS(0,JL)),i=(xe.Debug.assert(1===Je),eT(qT()));return ZD(e=rT(Ge,e,t,r,a,i,Be),Ue),$D(e,(function(e,n,t){He.push(xe.createDetachedDiagnostic(Ge,e,n,t))})),e.commentDirectives=Me.getCommentDirectives(),e.nodeCount=qe,e.identifierCount=Qe,e.identifiers=Xe,e.parseDiagnostics=xe.attachFileToDiagnostics(He,e),We&&(e.jsDocDiagnostics=xe.attachFileToDiagnostics(We,e)),n&&tT(e),e})(t,a,i);return ZE(),s},OY.parseIsolatedEntityName=function(e,n){return QE("",e,n,void 0,1),AT(),e=PS(!0),n=1===Je&&!He.length,ZE(),n?e:void 0},OY.parseJsonText=YE,an=!1,OY.fixupParentReferences=tT,sn=Object.keys(xe.textToKeywordObj).filter((function(e){return 2<e.length})),(OY=on=OY.JSDocParser||(OY.JSDocParser={})).parseJSDocTypeExpressionForTests=function(e,n,t){return QE("file.js",e,99,void 0,1),Me.setText(e,n,t),Je=Me.scan(),e=jD(),n=rT("file.js",99,1,!1,[],nn.createToken(1),0),t=xe.attachFileToDiagnostics(He,n),We&&(n.jsDocDiagnostics=xe.attachFileToDiagnostics(We,n)),ZE(),e?{jsDocTypeExpression:e,diagnostics:t}:void 0},OY.parseJSDocTypeExpression=jD,OY.parseJSDocNameReference=KD,OY.parseIsolatedJSDocComment=function(e,n,t){QE("",e,99,void 0,1);var r=dT(4194304,(function(){return HD(n,t)}));e=xe.attachFileToDiagnostics(He,{languageVariant:0,text:e});return ZE(),r?{jsDoc:r,diagnostics:e}:void 0},OY.parseJSDocComment=function(e,n,t){var r=Je,a=He.length,i=rn,o=dT(4194304,(function(){return HD(n,t)}));return xe.setParent(o,e),131072&en&&(We=We||[]).push.apply(We,He),Je=r,He.length=a,rn=i,o},(OY=cn=cn||{}).updateSourceFile=function(e,n,t,r){var a,i,o,s,c,l,d,u,p,m,_;return XD(e,n,t,r=r||xe.Debug.shouldAssert(2)),xe.textChangeRangeIsUnchanged(t)?e:0===e.statements.length?Ne.parseSourceFile(e.fileName,n,e.languageVersion,void 0,!0,e.scriptKind):(u=e,xe.Debug.assert(!u.hasBeenIncrementallyParsed),u.hasBeenIncrementallyParsed=!0,Ne.fixupParentReferences(u),p=e.text,m=YD(e),_=((e,n)=>{for(var t=n.span.start,r=0;0<t&&r<=1;r++){var a=((e,n)=>{var t,r=e;return zE(e,(function e(a){if(!xe.nodeIsMissing(a))return a.pos<=n?(a.pos>=r.pos&&(r=a),n<a.end?(zE(a,e),!0):(xe.Debug.assert(a.end<=n),void(t=a))):(xe.Debug.assert(a.pos>n),!0)})),r=t&&(e=(e=>{for(;;){var n=xe.getLastChild(e);if(!n)return e;e=n}})(t)).pos>r.pos?e:r})(e,t);a=(xe.Debug.assert(a.pos<=t),a.pos);t=Math.max(0,a-1)}var i=xe.createTextSpanFromBounds(t,xe.textSpanEnd(n.span));n=n.newLength+(n.span.start-t);return xe.createTextChangeRange(i,n)})(e,t),XD(e,n,_,r),xe.Debug.assert(_.span.start<=t.span.start),xe.Debug.assert(xe.textSpanEnd(_.span)===xe.textSpanEnd(t.span)),xe.Debug.assert(xe.textSpanEnd(xe.textChangeRangeNewSpan(_))===xe.textSpanEnd(xe.textChangeRangeNewSpan(t))),t=xe.textChangeRangeNewSpan(_).length-_.span.length,u=u,a=_.span.start,i=xe.textSpanEnd(_.span),o=xe.textSpanEnd(xe.textChangeRangeNewSpan(_)),s=t,c=p,l=n,d=r,f(u),(u=Ne.parseSourceFile(e.fileName,n,e.languageVersion,m,!0,e.scriptKind)).commentDirectives=((e,n,t,r,a,i,o,s)=>{if(!e)return n;for(var c,l=!1,d=0,u=e;d<u.length;d++){var p=u[d],m=p.range,_=p.type;m.end<t?c=xe.append(c,p):m.pos>r&&(f(),p={range:{pos:m.pos+a,end:m.end+a},type:_},c=xe.append(c,p),s)&&xe.Debug.assert(i.substring(m.pos,m.end)===o.substring(p.range.pos,p.range.end))}return f(),c;function f(){l||(l=!0,c?n&&c.push.apply(c,n):c=n)}})(e.commentDirectives,u.commentDirectives,_.span.start,xe.textSpanEnd(_.span),t,p,n,r),u);function f(e){if(xe.Debug.assert(e.pos<=e.end),e.pos>i)WD(e,!1,s,c,l,d);else{var n=e.end;if(a<=n){if(e.intersectsChange=!0,e._children=void 0,JD(e,a,i,o,s),zE(e,f,g),xe.hasJSDocNodes(e))for(var t=0,r=e.jsDoc;t<r.length;t++)f(r[t]);qD(e,d)}else xe.Debug.assert(n<a)}}function g(e){if(xe.Debug.assert(e.pos<=e.end),e.pos>i)WD(e,!0,s,c,l,d);else{var n=e.end;if(a<=n){e.intersectsChange=!0,e._children=void 0,JD(e,a,i,o,s);for(var t=0,r=e;t<r.length;t++)f(r[t])}else xe.Debug.assert(n<a)}}},OY.createSyntaxCursor=YD,xe.isDeclarationFileName=QD,xe.processCommentPragmas=ZD,xe.processPragmasIntoFields=$D,ln=new xe.Map,dn=/^\/\/\/\s*<(\S+)\s.*?\/>/im,un=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im,xe.tagNamesAreEquivalent=nA,(pn=bY=bY||{}).compileOnSaveCommandLineOption={name:"compileOnSave",type:"boolean"},tu=new pn.Map(pn.getEntries({preserve:1,"react-native":3,react:2,"react-jsx":4,"react-jsxdev":5})),pn.inverseJsxOptionMap=new pn.Map(pn.arrayFrom(pn.mapIterator(tu.entries(),(function(e){var n=e[0];return[""+e[1],n]})))),cm=[["es5","lib.es5.d.ts"],["es6","lib.es2015.d.ts"],["es2015","lib.es2015.d.ts"],["es7","lib.es2016.d.ts"],["es2016","lib.es2016.d.ts"],["es2017","lib.es2017.d.ts"],["es2018","lib.es2018.d.ts"],["es2019","lib.es2019.d.ts"],["es2020","lib.es2020.d.ts"],["es2021","lib.es2021.d.ts"],["esnext","lib.esnext.d.ts"],["dom","lib.dom.d.ts"],["dom.iterable","lib.dom.iterable.d.ts"],["webworker","lib.webworker.d.ts"],["webworker.importscripts","lib.webworker.importscripts.d.ts"],["webworker.iterable","lib.webworker.iterable.d.ts"],["scripthost","lib.scripthost.d.ts"],["es2015.core","lib.es2015.core.d.ts"],["es2015.collection","lib.es2015.collection.d.ts"],["es2015.generator","lib.es2015.generator.d.ts"],["es2015.iterable","lib.es2015.iterable.d.ts"],["es2015.promise","lib.es2015.promise.d.ts"],["es2015.proxy","lib.es2015.proxy.d.ts"],["es2015.reflect","lib.es2015.reflect.d.ts"],["es2015.symbol","lib.es2015.symbol.d.ts"],["es2015.symbol.wellknown","lib.es2015.symbol.wellknown.d.ts"],["es2016.array.include","lib.es2016.array.include.d.ts"],["es2017.object","lib.es2017.object.d.ts"],["es2017.sharedmemory","lib.es2017.sharedmemory.d.ts"],["es2017.string","lib.es2017.string.d.ts"],["es2017.intl","lib.es2017.intl.d.ts"],["es2017.typedarrays","lib.es2017.typedarrays.d.ts"],["es2018.asyncgenerator","lib.es2018.asyncgenerator.d.ts"],["es2018.asynciterable","lib.es2018.asynciterable.d.ts"],["es2018.intl","lib.es2018.intl.d.ts"],["es2018.promise","lib.es2018.promise.d.ts"],["es2018.regexp","lib.es2018.regexp.d.ts"],["es2019.array","lib.es2019.array.d.ts"],["es2019.object","lib.es2019.object.d.ts"],["es2019.string","lib.es2019.string.d.ts"],["es2019.symbol","lib.es2019.symbol.d.ts"],["es2020.bigint","lib.es2020.bigint.d.ts"],["es2020.promise","lib.es2020.promise.d.ts"],["es2020.sharedmemory","lib.es2020.sharedmemory.d.ts"],["es2020.string","lib.es2020.string.d.ts"],["es2020.symbol.wellknown","lib.es2020.symbol.wellknown.d.ts"],["es2020.intl","lib.es2020.intl.d.ts"],["es2021.promise","lib.es2021.promise.d.ts"],["es2021.string","lib.es2021.string.d.ts"],["es2021.weakref","lib.es2021.weakref.d.ts"],["esnext.array","lib.es2019.array.d.ts"],["esnext.symbol","lib.es2019.symbol.d.ts"],["esnext.asynciterable","lib.es2018.asynciterable.d.ts"],["esnext.intl","lib.esnext.intl.d.ts"],["esnext.bigint","lib.es2020.bigint.d.ts"],["esnext.string","lib.es2021.string.d.ts"],["esnext.promise","lib.es2021.promise.d.ts"],["esnext.weakref","lib.es2021.weakref.d.ts"]],pn.libs=cm.map((function(e){return e[0]})),pn.libMap=new pn.Map(cm),pn.optionsForWatch=[{name:"watchFile",type:new pn.Map(pn.getEntries({fixedpollinginterval:pn.WatchFileKind.FixedPollingInterval,prioritypollinginterval:pn.WatchFileKind.PriorityPollingInterval,dynamicprioritypolling:pn.WatchFileKind.DynamicPriorityPolling,fixedchunksizepolling:pn.WatchFileKind.FixedChunkSizePolling,usefsevents:pn.WatchFileKind.UseFsEvents,usefseventsonparentdirectory:pn.WatchFileKind.UseFsEventsOnParentDirectory})),category:pn.Diagnostics.Watch_and_Build_Modes,description:pn.Diagnostics.Specify_how_the_TypeScript_watch_mode_works},{name:"watchDirectory",type:new pn.Map(pn.getEntries({usefsevents:pn.WatchDirectoryKind.UseFsEvents,fixedpollinginterval:pn.WatchDirectoryKind.FixedPollingInterval,dynamicprioritypolling:pn.WatchDirectoryKind.DynamicPriorityPolling,fixedchunksizepolling:pn.WatchDirectoryKind.FixedChunkSizePolling})),category:pn.Diagnostics.Watch_and_Build_Modes,description:pn.Diagnostics.Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality},{name:"fallbackPolling",type:new pn.Map(pn.getEntries({fixedinterval:pn.PollingWatchKind.FixedInterval,priorityinterval:pn.PollingWatchKind.PriorityInterval,dynamicpriority:pn.PollingWatchKind.DynamicPriority,fixedchunksize:pn.PollingWatchKind.FixedChunkSize})),category:pn.Diagnostics.Watch_and_Build_Modes,description:pn.Diagnostics.Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers},{name:"synchronousWatchDirectory",type:"boolean",category:pn.Diagnostics.Watch_and_Build_Modes,description:pn.Diagnostics.Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively},{name:"excludeDirectories",type:"list",element:{name:"excludeDirectory",type:"string",isFilePath:!0,extraValidation:tC},category:pn.Diagnostics.Watch_and_Build_Modes,description:pn.Diagnostics.Remove_a_list_of_directories_from_the_watch_process},{name:"excludeFiles",type:"list",element:{name:"excludeFile",type:"string",isFilePath:!0,extraValidation:tC},category:pn.Diagnostics.Watch_and_Build_Modes,description:pn.Diagnostics.Remove_a_list_of_files_from_the_watch_mode_s_processing}],pn.commonOptionsWithBuild=[{name:"help",shortName:"h",type:"boolean",showInSimplifiedHelpView:!0,category:pn.Diagnostics.Command_line_Options,description:pn.Diagnostics.Print_this_message},{name:"help",shortName:"?",type:"boolean"},{name:"watch",shortName:"w",type:"boolean",showInSimplifiedHelpView:!0,isCommandLineOnly:!0,category:pn.Diagnostics.Command_line_Options,description:pn.Diagnostics.Watch_input_files},{name:"preserveWatchOutput",type:"boolean",showInSimplifiedHelpView:!1,category:pn.Diagnostics.Output_Formatting,description:pn.Diagnostics.Disable_wiping_the_console_in_watch_mode,defaultValueDescription:"n/a"},{name:"listFiles",type:"boolean",category:pn.Diagnostics.Compiler_Diagnostics,description:pn.Diagnostics.Print_all_of_the_files_read_during_the_compilation,defaultValueDescription:"false"},{name:"explainFiles",type:"boolean",category:pn.Diagnostics.Compiler_Diagnostics,description:pn.Diagnostics.Print_files_read_during_the_compilation_including_why_it_was_included},{name:"listEmittedFiles",type:"boolean",category:pn.Diagnostics.Compiler_Diagnostics,description:pn.Diagnostics.Print_the_names_of_emitted_files_after_a_compilation,defaultValueDescription:"false"},{name:"pretty",type:"boolean",showInSimplifiedHelpView:!0,category:pn.Diagnostics.Output_Formatting,description:pn.Diagnostics.Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read,defaultValueDescription:"true"},{name:"traceResolution",type:"boolean",category:pn.Diagnostics.Compiler_Diagnostics,description:pn.Diagnostics.Log_paths_used_during_the_moduleResolution_process,defaultValueDescription:"false"},{name:"diagnostics",type:"boolean",category:pn.Diagnostics.Compiler_Diagnostics,description:pn.Diagnostics.Output_compiler_performance_information_after_building,defaultValueDescription:"false"},{name:"extendedDiagnostics",type:"boolean",category:pn.Diagnostics.Compiler_Diagnostics,description:pn.Diagnostics.Output_more_detailed_compiler_performance_information_after_building,defaultValueDescription:"false"},{name:"generateCpuProfile",type:"string",isFilePath:!0,paramType:pn.Diagnostics.FILE_OR_DIRECTORY,category:pn.Diagnostics.Compiler_Diagnostics,description:pn.Diagnostics.Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging,defaultValueDescription:"profile.cpuprofile"},{name:"generateTrace",type:"string",isFilePath:!0,isCommandLineOnly:!0,paramType:pn.Diagnostics.DIRECTORY,category:pn.Diagnostics.Compiler_Diagnostics,description:pn.Diagnostics.Generates_an_event_trace_and_a_list_of_types},{name:"incremental",shortName:"i",type:"boolean",category:pn.Diagnostics.Projects,description:pn.Diagnostics.Enable_incremental_compilation,transpileOptionValue:void 0,defaultValueDescription:pn.Diagnostics.false_unless_composite_is_set},{name:"assumeChangesOnlyAffectDirectDependencies",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,category:pn.Diagnostics.Watch_and_Build_Modes,description:pn.Diagnostics.Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it},{name:"locale",type:"string",category:pn.Diagnostics.Command_line_Options,isCommandLineOnly:!0,description:pn.Diagnostics.Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit,defaultValueDescription:pn.Diagnostics.Platform_specific}],pn.targetOptionDeclaration={name:"target",shortName:"t",type:new pn.Map(pn.getEntries({es3:0,es5:1,es6:2,es2015:2,es2016:3,es2017:4,es2018:5,es2019:6,es2020:7,es2021:8,esnext:99})),affectsSourceFile:!0,affectsModuleResolution:!0,affectsEmit:!0,paramType:pn.Diagnostics.VERSION,showInSimplifiedHelpView:!0,category:pn.Diagnostics.Language_and_Environment,description:pn.Diagnostics.Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations,defaultValueDescription:"ES3"},cm=[{name:"all",type:"boolean",showInSimplifiedHelpView:!0,category:pn.Diagnostics.Command_line_Options,description:pn.Diagnostics.Show_all_compiler_options},{name:"version",shortName:"v",type:"boolean",showInSimplifiedHelpView:!0,category:pn.Diagnostics.Command_line_Options,description:pn.Diagnostics.Print_the_compiler_s_version},{name:"init",type:"boolean",showInSimplifiedHelpView:!0,category:pn.Diagnostics.Command_line_Options,description:pn.Diagnostics.Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file},{name:"project",shortName:"p",type:"string",isFilePath:!0,showInSimplifiedHelpView:!0,category:pn.Diagnostics.Command_line_Options,paramType:pn.Diagnostics.FILE_OR_DIRECTORY,description:pn.Diagnostics.Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json},{name:"build",type:"boolean",shortName:"b",showInSimplifiedHelpView:!0,category:pn.Diagnostics.Command_line_Options,description:pn.Diagnostics.Build_one_or_more_projects_and_their_dependencies_if_out_of_date},{name:"showConfig",type:"boolean",showInSimplifiedHelpView:!0,category:pn.Diagnostics.Command_line_Options,isCommandLineOnly:!0,description:pn.Diagnostics.Print_the_final_configuration_instead_of_building},{name:"listFilesOnly",type:"boolean",category:pn.Diagnostics.Command_line_Options,affectsSemanticDiagnostics:!0,affectsEmit:!0,isCommandLineOnly:!0,description:pn.Diagnostics.Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing},pn.targetOptionDeclaration,{name:"module",shortName:"m",type:new pn.Map(pn.getEntries({none:pn.ModuleKind.None,commonjs:pn.ModuleKind.CommonJS,amd:pn.ModuleKind.AMD,system:pn.ModuleKind.System,umd:pn.ModuleKind.UMD,es6:pn.ModuleKind.ES2015,es2015:pn.ModuleKind.ES2015,es2020:pn.ModuleKind.ES2020,esnext:pn.ModuleKind.ESNext})),affectsModuleResolution:!0,affectsEmit:!0,paramType:pn.Diagnostics.KIND,showInSimplifiedHelpView:!0,category:pn.Diagnostics.Modules,description:pn.Diagnostics.Specify_what_module_code_is_generated},{name:"lib",type:"list",element:{name:"lib",type:pn.libMap},affectsProgramStructure:!0,showInSimplifiedHelpView:!0,category:pn.Diagnostics.Language_and_Environment,description:pn.Diagnostics.Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment,transpileOptionValue:void 0},{name:"allowJs",type:"boolean",affectsModuleResolution:!0,showInSimplifiedHelpView:!0,category:pn.Diagnostics.JavaScript_Support,description:pn.Diagnostics.Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files,defaultValueDescription:"false"},{name:"checkJs",type:"boolean",showInSimplifiedHelpView:!0,category:pn.Diagnostics.JavaScript_Support,description:pn.Diagnostics.Enable_error_reporting_in_type_checked_JavaScript_files,defaultValueDescription:"false"},{name:"jsx",type:tu,affectsSourceFile:!0,affectsEmit:!0,affectsModuleResolution:!0,paramType:pn.Diagnostics.KIND,showInSimplifiedHelpView:!0,category:pn.Diagnostics.Language_and_Environment,description:pn.Diagnostics.Specify_what_JSX_code_is_generated,defaultValueDescription:"undefined"},{name:"declaration",shortName:"d",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:pn.Diagnostics.Emit,transpileOptionValue:void 0,description:pn.Diagnostics.Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project,defaultValueDescription:pn.Diagnostics.false_unless_composite_is_set},{name:"declarationMap",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:pn.Diagnostics.Emit,transpileOptionValue:void 0,defaultValueDescription:"false",description:pn.Diagnostics.Create_sourcemaps_for_d_ts_files},{name:"emitDeclarationOnly",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:pn.Diagnostics.Emit,description:pn.Diagnostics.Only_output_d_ts_files_and_not_JavaScript_files,transpileOptionValue:void 0,defaultValueDescription:"false"},{name:"sourceMap",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:pn.Diagnostics.Emit,defaultValueDescription:"false",description:pn.Diagnostics.Create_source_map_files_for_emitted_JavaScript_files},{name:"outFile",type:"string",affectsEmit:!0,isFilePath:!0,paramType:pn.Diagnostics.FILE,showInSimplifiedHelpView:!0,category:pn.Diagnostics.Emit,description:pn.Diagnostics.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,transpileOptionValue:void 0,defaultValueDescription:"n/a"},{name:"outDir",type:"string",affectsEmit:!0,isFilePath:!0,paramType:pn.Diagnostics.DIRECTORY,showInSimplifiedHelpView:!0,category:pn.Diagnostics.Emit,description:pn.Diagnostics.Specify_an_output_folder_for_all_emitted_files,defaultValueDescription:"n/a"},{name:"rootDir",type:"string",affectsEmit:!0,isFilePath:!0,paramType:pn.Diagnostics.LOCATION,category:pn.Diagnostics.Modules,description:pn.Diagnostics.Specify_the_root_folder_within_your_source_files,defaultValueDescription:pn.Diagnostics.Computed_from_the_list_of_input_files},{name:"composite",type:"boolean",affectsEmit:!0,isTSConfigOnly:!0,category:pn.Diagnostics.Projects,transpileOptionValue:void 0,defaultValueDescription:"false",description:pn.Diagnostics.Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references},{name:"tsBuildInfoFile",type:"string",affectsEmit:!0,isFilePath:!0,paramType:pn.Diagnostics.FILE,category:pn.Diagnostics.Projects,transpileOptionValue:void 0,defaultValueDescription:".tsbuildinfo",description:pn.Diagnostics.Specify_the_folder_for_tsbuildinfo_incremental_compilation_files},{name:"removeComments",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:pn.Diagnostics.Emit,defaultValueDescription:"false",description:pn.Diagnostics.Disable_emitting_comments},{name:"noEmit",type:"boolean",showInSimplifiedHelpView:!0,category:pn.Diagnostics.Emit,description:pn.Diagnostics.Disable_emitting_files_from_a_compilation,transpileOptionValue:void 0,defaultValueDescription:"false"},{name:"importHelpers",type:"boolean",affectsEmit:!0,category:pn.Diagnostics.Emit,description:pn.Diagnostics.Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file,defaultValueDescription:"false"},{name:"importsNotUsedAsValues",type:new pn.Map(pn.getEntries({remove:0,preserve:1,error:2})),affectsEmit:!0,affectsSemanticDiagnostics:!0,category:pn.Diagnostics.Emit,description:pn.Diagnostics.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types},{name:"downlevelIteration",type:"boolean",affectsEmit:!0,category:pn.Diagnostics.Emit,description:pn.Diagnostics.Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration,defaultValueDescription:"false"},{name:"isolatedModules",type:"boolean",category:pn.Diagnostics.Interop_Constraints,description:pn.Diagnostics.Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports,transpileOptionValue:!0,defaultValueDescription:"false"},{name:"strict",type:"boolean",showInSimplifiedHelpView:!0,category:pn.Diagnostics.Type_Checking,description:pn.Diagnostics.Enable_all_strict_type_checking_options,defaultValueDescription:"false"},{name:"noImplicitAny",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,category:pn.Diagnostics.Type_Checking,description:pn.Diagnostics.Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type,defaultValueDescription:pn.Diagnostics.false_unless_strict_is_set},{name:"strictNullChecks",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,category:pn.Diagnostics.Type_Checking,description:pn.Diagnostics.When_type_checking_take_into_account_null_and_undefined,defaultValueDescription:pn.Diagnostics.false_unless_strict_is_set},{name:"strictFunctionTypes",type:"boolean",strictFlag:!0,category:pn.Diagnostics.Type_Checking,description:pn.Diagnostics.When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible,defaultValueDescription:pn.Diagnostics.false_unless_strict_is_set},{name:"strictBindCallApply",type:"boolean",strictFlag:!0,category:pn.Diagnostics.Type_Checking,description:pn.Diagnostics.Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function,defaultValueDescription:pn.Diagnostics.false_unless_strict_is_set},{name:"strictPropertyInitialization",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,category:pn.Diagnostics.Type_Checking,description:pn.Diagnostics.Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor,defaultValueDescription:pn.Diagnostics.false_unless_strict_is_set},{name:"noImplicitThis",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,category:pn.Diagnostics.Type_Checking,description:pn.Diagnostics.Enable_error_reporting_when_this_is_given_the_type_any,defaultValueDescription:pn.Diagnostics.false_unless_strict_is_set},{name:"useUnknownInCatchVariables",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,category:pn.Diagnostics.Type_Checking,description:pn.Diagnostics.Type_catch_clause_variables_as_unknown_instead_of_any},{name:"alwaysStrict",type:"boolean",affectsSourceFile:!0,strictFlag:!0,category:pn.Diagnostics.Type_Checking,description:pn.Diagnostics.Ensure_use_strict_is_always_emitted,defaultValueDescription:pn.Diagnostics.false_unless_strict_is_set},{name:"noUnusedLocals",type:"boolean",affectsSemanticDiagnostics:!0,category:pn.Diagnostics.Type_Checking,description:pn.Diagnostics.Enable_error_reporting_when_a_local_variables_aren_t_read,defaultValueDescription:"false"},{name:"noUnusedParameters",type:"boolean",affectsSemanticDiagnostics:!0,category:pn.Diagnostics.Type_Checking,description:pn.Diagnostics.Raise_an_error_when_a_function_parameter_isn_t_read,defaultValueDescription:"false"},{name:"exactOptionalPropertyTypes",type:"boolean",affectsSemanticDiagnostics:!0,category:pn.Diagnostics.Type_Checking,description:pn.Diagnostics.Interpret_optional_property_types_as_written_rather_than_adding_undefined},{name:"noImplicitReturns",type:"boolean",affectsSemanticDiagnostics:!0,category:pn.Diagnostics.Type_Checking,description:pn.Diagnostics.Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function,defaultValueDescription:"false"},{name:"noFallthroughCasesInSwitch",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,category:pn.Diagnostics.Type_Checking,description:pn.Diagnostics.Enable_error_reporting_for_fallthrough_cases_in_switch_statements},{name:"noUncheckedIndexedAccess",type:"boolean",affectsSemanticDiagnostics:!0,category:pn.Diagnostics.Type_Checking,description:pn.Diagnostics.Include_undefined_in_index_signature_results},{name:"noImplicitOverride",type:"boolean",affectsSemanticDiagnostics:!0,category:pn.Diagnostics.Type_Checking,description:pn.Diagnostics.Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier},{name:"noPropertyAccessFromIndexSignature",type:"boolean",showInSimplifiedHelpView:!1,category:pn.Diagnostics.Type_Checking,description:pn.Diagnostics.Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type,defaultValueDescription:"false"},{name:"moduleResolution",type:new pn.Map(pn.getEntries({node:pn.ModuleResolutionKind.NodeJs,classic:pn.ModuleResolutionKind.Classic})),affectsModuleResolution:!0,paramType:pn.Diagnostics.STRATEGY,category:pn.Diagnostics.Modules,description:pn.Diagnostics.Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier,defaultValueDescription:pn.Diagnostics.module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node},{name:"baseUrl",type:"string",affectsModuleResolution:!0,isFilePath:!0,category:pn.Diagnostics.Modules,description:pn.Diagnostics.Specify_the_base_directory_to_resolve_non_relative_module_names},{name:"paths",type:"object",affectsModuleResolution:!0,isTSConfigOnly:!0,category:pn.Diagnostics.Modules,description:pn.Diagnostics.Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations,transpileOptionValue:void 0},{name:"rootDirs",type:"list",isTSConfigOnly:!0,element:{name:"rootDirs",type:"string",isFilePath:!0},affectsModuleResolution:!0,category:pn.Diagnostics.Modules,description:pn.Diagnostics.Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules,transpileOptionValue:void 0,defaultValueDescription:pn.Diagnostics.Computed_from_the_list_of_input_files},{name:"typeRoots",type:"list",element:{name:"typeRoots",type:"string",isFilePath:!0},affectsModuleResolution:!0,category:pn.Diagnostics.Modules,description:pn.Diagnostics.Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types},{name:"types",type:"list",element:{name:"types",type:"string"},affectsProgramStructure:!0,showInSimplifiedHelpView:!0,category:pn.Diagnostics.Modules,description:pn.Diagnostics.Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file,transpileOptionValue:void 0},{name:"allowSyntheticDefaultImports",type:"boolean",affectsSemanticDiagnostics:!0,category:pn.Diagnostics.Interop_Constraints,description:pn.Diagnostics.Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export,defaultValueDescription:pn.Diagnostics.module_system_or_esModuleInterop},{name:"esModuleInterop",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,showInSimplifiedHelpView:!0,category:pn.Diagnostics.Interop_Constraints,description:pn.Diagnostics.Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility,defaultValueDescription:"false"},{name:"preserveSymlinks",type:"boolean",category:pn.Diagnostics.Interop_Constraints,description:pn.Diagnostics.Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node,defaultValueDescription:"n/a"},{name:"allowUmdGlobalAccess",type:"boolean",affectsSemanticDiagnostics:!0,category:pn.Diagnostics.Modules,description:pn.Diagnostics.Allow_accessing_UMD_globals_from_modules,defaultValueDescription:"false"},{name:"sourceRoot",type:"string",affectsEmit:!0,paramType:pn.Diagnostics.LOCATION,category:pn.Diagnostics.Emit,description:pn.Diagnostics.Specify_the_root_path_for_debuggers_to_find_the_reference_source_code},{name:"mapRoot",type:"string",affectsEmit:!0,paramType:pn.Diagnostics.LOCATION,category:pn.Diagnostics.Emit,description:pn.Diagnostics.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations},{name:"inlineSourceMap",type:"boolean",affectsEmit:!0,category:pn.Diagnostics.Emit,description:pn.Diagnostics.Include_sourcemap_files_inside_the_emitted_JavaScript,defaultValueDescription:"false"},{name:"inlineSources",type:"boolean",affectsEmit:!0,category:pn.Diagnostics.Emit,description:pn.Diagnostics.Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript,defaultValueDescription:"false"},{name:"experimentalDecorators",type:"boolean",affectsSemanticDiagnostics:!0,category:pn.Diagnostics.Language_and_Environment,description:pn.Diagnostics.Enable_experimental_support_for_TC39_stage_2_draft_decorators},{name:"emitDecoratorMetadata",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,category:pn.Diagnostics.Language_and_Environment,description:pn.Diagnostics.Emit_design_type_metadata_for_decorated_declarations_in_source_files},{name:"jsxFactory",type:"string",category:pn.Diagnostics.Language_and_Environment,description:pn.Diagnostics.Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h,defaultValueDescription:"`React.createElement`"},{name:"jsxFragmentFactory",type:"string",category:pn.Diagnostics.Language_and_Environment,description:pn.Diagnostics.Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment},{name:"jsxImportSource",type:"string",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsModuleResolution:!0,category:pn.Diagnostics.Language_and_Environment,description:pn.Diagnostics.Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk,defaultValueDescription:"react"},{name:"resolveJsonModule",type:"boolean",affectsModuleResolution:!0,category:pn.Diagnostics.Modules,description:pn.Diagnostics.Enable_importing_json_files,defaultValueDescription:"false"},{name:"out",type:"string",affectsEmit:!0,isFilePath:!1,category:pn.Diagnostics.Backwards_Compatibility,paramType:pn.Diagnostics.FILE,transpileOptionValue:void 0,defaultValueDescription:"n/a",description:pn.Diagnostics.Deprecated_setting_Use_outFile_instead},{name:"reactNamespace",type:"string",affectsEmit:!0,category:pn.Diagnostics.Language_and_Environment,description:pn.Diagnostics.Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit,defaultValueDescription:"`React`"},{name:"skipDefaultLibCheck",type:"boolean",category:pn.Diagnostics.Completeness,description:pn.Diagnostics.Skip_type_checking_d_ts_files_that_are_included_with_TypeScript,defaultValueDescription:"false"},{name:"charset",type:"string",category:pn.Diagnostics.Backwards_Compatibility,description:pn.Diagnostics.No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files,defaultValueDescription:"utf8"},{name:"emitBOM",type:"boolean",affectsEmit:!0,category:pn.Diagnostics.Emit,description:pn.Diagnostics.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files,defaultValueDescription:"false"},{name:"newLine",type:new pn.Map(pn.getEntries({crlf:0,lf:1})),affectsEmit:!0,paramType:pn.Diagnostics.NEWLINE,category:pn.Diagnostics.Emit,description:pn.Diagnostics.Set_the_newline_character_for_emitting_files,defaultValueDescription:pn.Diagnostics.Platform_specific},{name:"noErrorTruncation",type:"boolean",affectsSemanticDiagnostics:!0,category:pn.Diagnostics.Output_Formatting,description:pn.Diagnostics.Disable_truncating_types_in_error_messages,defaultValueDescription:"false"},{name:"noLib",type:"boolean",category:pn.Diagnostics.Language_and_Environment,affectsProgramStructure:!0,description:pn.Diagnostics.Disable_including_any_library_files_including_the_default_lib_d_ts,transpileOptionValue:!0,defaultValueDescription:"false"},{name:"noResolve",type:"boolean",affectsModuleResolution:!0,category:pn.Diagnostics.Modules,description:pn.Diagnostics.Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project,transpileOptionValue:!0,defaultValueDescription:"false"},{name:"stripInternal",type:"boolean",affectsEmit:!0,category:pn.Diagnostics.Emit,description:pn.Diagnostics.Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments},{name:"disableSizeLimit",type:"boolean",affectsProgramStructure:!0,category:pn.Diagnostics.Editor_Support,description:pn.Diagnostics.Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server,defaultValueDescription:"false"},{name:"disableSourceOfProjectReferenceRedirect",type:"boolean",isTSConfigOnly:!0,category:pn.Diagnostics.Projects,description:pn.Diagnostics.Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects},{name:"disableSolutionSearching",type:"boolean",isTSConfigOnly:!0,category:pn.Diagnostics.Projects,description:pn.Diagnostics.Opt_a_project_out_of_multi_project_reference_checking_when_editing},{name:"disableReferencedProjectLoad",type:"boolean",isTSConfigOnly:!0,category:pn.Diagnostics.Projects,description:pn.Diagnostics.Reduce_the_number_of_projects_loaded_automatically_by_TypeScript},{name:"noImplicitUseStrict",type:"boolean",affectsSemanticDiagnostics:!0,category:pn.Diagnostics.Backwards_Compatibility,description:pn.Diagnostics.Disable_adding_use_strict_directives_in_emitted_JavaScript_files,defaultValueDescription:"false"},{name:"noEmitHelpers",type:"boolean",affectsEmit:!0,category:pn.Diagnostics.Emit,description:pn.Diagnostics.Disable_generating_custom_helper_functions_like_extends_in_compiled_output,defaultValueDescription:"false"},{name:"noEmitOnError",type:"boolean",affectsEmit:!0,category:pn.Diagnostics.Emit,transpileOptionValue:void 0,description:pn.Diagnostics.Disable_emitting_files_if_any_type_checking_errors_are_reported,defaultValueDescription:"false"},{name:"preserveConstEnums",type:"boolean",affectsEmit:!0,category:pn.Diagnostics.Emit,description:pn.Diagnostics.Disable_erasing_const_enum_declarations_in_generated_code,defaultValueDescription:"n/a"},{name:"declarationDir",type:"string",affectsEmit:!0,isFilePath:!0,paramType:pn.Diagnostics.DIRECTORY,category:pn.Diagnostics.Emit,transpileOptionValue:void 0,description:pn.Diagnostics.Specify_the_output_directory_for_generated_declaration_files,defaultValueDescription:"n/a"},{name:"skipLibCheck",type:"boolean",category:pn.Diagnostics.Completeness,description:pn.Diagnostics.Skip_type_checking_all_d_ts_files,defaultValueDescription:"false"},{name:"allowUnusedLabels",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,category:pn.Diagnostics.Type_Checking,description:pn.Diagnostics.Disable_error_reporting_for_unused_labels,defaultValueDescription:"undefined"},{name:"allowUnreachableCode",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,category:pn.Diagnostics.Type_Checking,description:pn.Diagnostics.Disable_error_reporting_for_unreachable_code,defaultValueDescription:"undefined"},{name:"suppressExcessPropertyErrors",type:"boolean",affectsSemanticDiagnostics:!0,category:pn.Diagnostics.Backwards_Compatibility,description:pn.Diagnostics.Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals,defaultValueDescription:"false"},{name:"suppressImplicitAnyIndexErrors",type:"boolean",affectsSemanticDiagnostics:!0,category:pn.Diagnostics.Backwards_Compatibility,description:pn.Diagnostics.Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures,defaultValueDescription:"false"},{name:"forceConsistentCasingInFileNames",type:"boolean",affectsModuleResolution:!0,category:pn.Diagnostics.Interop_Constraints,description:pn.Diagnostics.Ensure_that_casing_is_correct_in_imports,defaultValueDescription:"false"},{name:"maxNodeModuleJsDepth",type:"number",affectsModuleResolution:!0,category:pn.Diagnostics.JavaScript_Support,description:pn.Diagnostics.Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs,defaultValueDescription:"0"},{name:"noStrictGenericChecks",type:"boolean",affectsSemanticDiagnostics:!0,category:pn.Diagnostics.Backwards_Compatibility,description:pn.Diagnostics.Disable_strict_checking_of_generic_signatures_in_function_types,defaultValueDescription:"false"},{name:"useDefineForClassFields",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,category:pn.Diagnostics.Language_and_Environment,description:pn.Diagnostics.Emit_ECMAScript_standard_compliant_class_fields,defaultValueDescription:"false"},{name:"keyofStringsOnly",type:"boolean",category:pn.Diagnostics.Backwards_Compatibility,description:pn.Diagnostics.Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option,defaultValueDescription:"false"},{name:"plugins",type:"list",isTSConfigOnly:!0,element:{name:"plugin",type:"object"},description:pn.Diagnostics.List_of_language_service_plugins,category:pn.Diagnostics.Editor_Support}],pn.optionDeclarations=eu(eu([],pn.commonOptionsWithBuild,!0),cm,!0),pn.semanticDiagnosticsOptionDeclarations=pn.optionDeclarations.filter((function(e){return!!e.affectsSemanticDiagnostics})),pn.affectsEmitOptionDeclarations=pn.optionDeclarations.filter((function(e){return!!e.affectsEmit})),pn.moduleResolutionOptionDeclarations=pn.optionDeclarations.filter((function(e){return!!e.affectsModuleResolution})),pn.sourceFileAffectingCompilerOptions=pn.optionDeclarations.filter((function(e){return!!e.affectsSourceFile||!!e.affectsModuleResolution||!!e.affectsBindDiagnostics})),pn.optionsAffectingProgramStructure=pn.optionDeclarations.filter((function(e){return!!e.affectsProgramStructure})),pn.transpileOptionValueCompilerOptions=pn.optionDeclarations.filter((function(e){return pn.hasProperty(e,"transpileOptionValue")})),pn.optionsForBuild=[{name:"verbose",shortName:"v",category:pn.Diagnostics.Command_line_Options,description:pn.Diagnostics.Enable_verbose_logging,type:"boolean"},{name:"dry",shortName:"d",category:pn.Diagnostics.Command_line_Options,description:pn.Diagnostics.Show_what_would_be_built_or_deleted_if_specified_with_clean,type:"boolean"},{name:"force",shortName:"f",category:pn.Diagnostics.Command_line_Options,description:pn.Diagnostics.Build_all_projects_including_those_that_appear_to_be_up_to_date,type:"boolean"},{name:"clean",category:pn.Diagnostics.Command_line_Options,description:pn.Diagnostics.Delete_the_outputs_of_all_projects,type:"boolean"}],pn.buildOpts=eu(eu([],pn.commonOptionsWithBuild,!0),pn.optionsForBuild,!0),pn.typeAcquisitionDeclarations=[{name:"enableAutoDiscovery",type:"boolean"},{name:"enable",type:"boolean"},{name:"include",type:"list",element:{name:"include",type:"string"}},{name:"exclude",type:"list",element:{name:"exclude",type:"string"}},{name:"disableFilenameBasedTypeAcquisition",type:"boolean"}],pn.createOptionNameMap=tA,pn.getOptionsNameMap=rA,tu={diagnostic:pn.Diagnostics.Compiler_option_0_may_only_be_used_with_build,getOptionsNameMap:fA},pn.defaultInitCompilerOptions={module:pn.ModuleKind.CommonJS,target:1,strict:!0,esModuleInterop:!0,forceConsistentCasingInFileNames:!0,skipLibCheck:!0},pn.convertEnableAutoDiscoveryToEnable=aA,pn.createCompilerDiagnosticForInvalidCustomType=iA,pn.parseCustomTypeOption=sA,pn.parseListTypeOption=cA,pn.parseCommandLineWorker=uA,pn.compilerOptionsDidYouMeanDiagnostics={alternateMode:tu,getOptionsNameMap:rA,optionDeclarations:pn.optionDeclarations,unknownOptionDiagnostic:pn.Diagnostics.Unknown_compiler_option_0,unknownDidYouMeanDiagnostic:pn.Diagnostics.Unknown_compiler_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:pn.Diagnostics.Compiler_option_0_expects_an_argument},pn.parseCommandLine=function(e,n){return uA(pn.compilerOptionsDidYouMeanDiagnostics,e,n)},pn.getOptionFromName=mA,fn={alternateMode:{diagnostic:pn.Diagnostics.Compiler_option_0_may_not_be_used_with_build,getOptionsNameMap:rA},getOptionsNameMap:fA,optionDeclarations:pn.buildOpts,unknownOptionDiagnostic:pn.Diagnostics.Unknown_build_option_0,unknownDidYouMeanDiagnostic:pn.Diagnostics.Unknown_build_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:pn.Diagnostics.Build_option_0_requires_a_value_of_type_1},pn.parseBuildCommand=function(e){var n=(e=uA(fn,e)).options,t=e.watchOptions,r=e.fileNames;e=e.errors;return 0===r.length&&r.push("."),n.clean&&n.force&&e.push(pn.createCompilerDiagnostic(pn.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","force")),n.clean&&n.verbose&&e.push(pn.createCompilerDiagnostic(pn.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","verbose")),n.clean&&n.watch&&e.push(pn.createCompilerDiagnostic(pn.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","watch")),n.watch&&n.dry&&e.push(pn.createCompilerDiagnostic(pn.Diagnostics.Options_0_and_1_cannot_be_combined,"watch","dry")),{buildOptions:n,watchOptions:t,projects:r,errors:e}},pn.getDiagnosticText=function(e){for(var n=1;n<arguments.length;n++);return pn.createCompilerDiagnostic.apply(void 0,arguments).messageText},pn.getParsedCommandLineOfConfigFile=function(e,n,t,r,a,i){var o,s,c=hA(e,(function(e){return t.readFile(e)}));if(pn.isString(c))return o=pn.parseJsonText(e,c),s=t.getCurrentDirectory(),o.path=pn.toPath(e,s,pn.createGetCanonicalFileName(t.useCaseSensitiveFileNames)),o.resolvedPath=o.path,o.originalFileName=o.fileName,OA(o,t,pn.getNormalizedAbsolutePath(pn.getDirectoryPath(e),s),n,pn.getNormalizedAbsolutePath(e,s),void 0,i,r,a);t.onUnRecoverableConfigFileDiagnostic(c)},pn.readConfigFile=function(e,n){return n=hA(e,n),pn.isString(n)?gA(e,n):{config:{},error:n}},pn.parseConfigFileTextToJson=gA,pn.readJsonConfigFile=yA,pn.tryReadFile=hA,yn={optionDeclarations:pn.typeAcquisitionDeclarations,unknownOptionDiagnostic:pn.Diagnostics.Unknown_type_acquisition_option_0,unknownDidYouMeanDiagnostic:pn.Diagnostics.Unknown_type_acquisition_option_0_Did_you_mean_1},Tn={getOptionsNameMap:bA,optionDeclarations:pn.optionsForWatch,unknownOptionDiagnostic:pn.Diagnostics.Unknown_watch_option_0,unknownDidYouMeanDiagnostic:pn.Diagnostics.Unknown_watch_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:pn.Diagnostics.Watch_option_0_requires_a_value_of_type_1},pn.convertToObject=LA,pn.convertToObjectWorker=DA,pn.convertToTSConfig=function(e,n,t){var r=pn.createGetCanonicalFileName(t.useCaseSensitiveFileNames),a=pn.map(pn.filter(e.fileNames,null!=(a=null==(a=e.options.configFile)?void 0:a.configFileSpecs)&&a.validatedIncludeSpecs?((e,n,t,r)=>{if(n){e=pn.getFileMatcherPatterns(e,t,n,r.useCaseSensitiveFileNames,r.getCurrentDirectory());var a=e.excludePattern&&pn.getRegexFromPattern(e.excludePattern,r.useCaseSensitiveFileNames),i=e.includeFilePattern&&pn.getRegexFromPattern(e.includeFilePattern,r.useCaseSensitiveFileNames);if(i)return a?function(e){return!(i.test(e)&&!a.test(e))}:function(e){return!i.test(e)};if(a)return function(e){return a.test(e)}}return pn.returnTrue})(n,e.options.configFile.configFileSpecs.validatedIncludeSpecs,e.options.configFile.configFileSpecs.validatedExcludeSpecs,t):pn.returnTrue),(function(e){return pn.getRelativePathFromFile(pn.getNormalizedAbsolutePath(n,t.getCurrentDirectory()),pn.getNormalizedAbsolutePath(e,t.getCurrentDirectory()),r)})),i=kA(e.options,{configFilePath:pn.getNormalizedAbsolutePath(n,t.getCurrentDirectory()),useCaseSensitiveFileNames:t.useCaseSensitiveFileNames}),o=e.watchOptions&&RA(e.watchOptions,bA());return nu(nu({compilerOptions:nu(nu({},IA(i)),{showConfig:void 0,configFile:void 0,configFilePath:void 0,help:void 0,init:void 0,listFiles:void 0,listEmittedFiles:void 0,project:void 0,build:void 0,version:void 0}),watchOptions:o&&IA(o),references:pn.map(e.projectReferences,(function(e){return nu(nu({},e),{path:e.originalPath||"",originalPath:void 0})})),files:pn.length(a)?a:void 0},null!=(i=e.options.configFile)&&i.configFileSpecs?{include:(o=e.options.configFile.configFileSpecs.validatedIncludeSpecs,!pn.length(o)||1===pn.length(o)&&"**/*"===o[0]?void 0:o),exclude:e.options.configFile.configFileSpecs.validatedExcludeSpecs}:{}),{compileOnSave:!!e.compileOnSave||void 0})},pn.generateTSConfig=function(e,n,t){for(var r=kA(pn.extend(e,pn.defaultInitCompilerOptions)),a=pn.createMultiMap(),i=0,o=pn.optionDeclarations;i<o.length;i++){var s=o[i],c=s.category;(e=>{var n=e.category,t=e.name,a=(e=e.isCommandLineOnly,[pn.Diagnostics.Command_line_Options,pn.Diagnostics.Editor_Support,pn.Diagnostics.Compiler_Diagnostics,pn.Diagnostics.Backwards_Compatibility,pn.Diagnostics.Watch_and_Build_Modes,pn.Diagnostics.Output_Formatting]);return!e&&void 0!==n&&(!a.includes(n)||r.has(t))})(s)&&a.add(pn.getLocaleSpecificMessage(c),s)}var l=0,d=0,u=[],p=(a.forEach((function(e,n){0!==u.length&&u.push({value:""}),u.push({value:"/* "+n+" */"});for(var t=0,a=e;t<a.length;t++){var i=a[t],o=void 0;o=r.has(i.name)?'"'+i.name+'": '+JSON.stringify(r.get(i.name))+((d+=1)===r.size?"":","):'// "'+i.name+'": '+JSON.stringify((e=>{switch(e.type){case"number":return 1;case"boolean":return!0;case"string":return e.isFilePath?"./":"";case"list":return[];case"object":return{};default:var n=e.type.keys().next();return n.done?pn.Debug.fail("Expected 'option.type' to have entries."):n.value}})(i))+",";u.push({value:o,description:"/* "+(i.description&&pn.getLocaleSpecificMessage(i.description)||i.name)+" */"}),l=Math.max(o.length,l)}})),v(2)),m=[];m.push("{"),m.push(p+'"compilerOptions": {'),m.push(""+p+p+"/* "+pn.getLocaleSpecificMessage(pn.Diagnostics.Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file)+" */"),m.push("");for(var _=0,f=u;_<f.length;_++){var g=f[_],y=g.value;g=g.description,g=void 0===g?"":g;m.push(y&&""+p+p+y+(g&&v(l-y.length+2)+g))}if(n.length){m.push(p+"},"),m.push(p+'"files": [');for(var h=0;h<n.length;h++)m.push(""+p+p+JSON.stringify(n[h])+(h===n.length-1?"":","));m.push(p+"]")}else m.push(p+"}");return m.push("}"),m.join(t)+t;function v(e){return Array(e+1).join(" ")}},pn.convertToOptionsWithAbsolutePaths=function(e,n){var t,r={},a=rA().optionsNameMap;for(t in e)pn.hasProperty(e,t)&&(r[t]=((e,n,t)=>{if(e&&!wA(n))if("list"===e.type){var r=n;if(e.element.isFilePath&&r.length)return r.map(t)}else if(e.isFilePath)return t(n);return n})(a.get(t.toLowerCase()),e[t],n));return r.configFilePath&&(r.configFilePath=n(r.configFilePath)),r},pn.parseJsonConfigFileContent=function(e,n,t,r,a,i,o,s,c){return FA(e,void 0,n,t,r,c,a,i,o,s)},pn.parseJsonSourceFileConfigFileContent=OA,pn.setConfigFileInOptions=PA,pn.canJsonReportNoInputFiles=UA,pn.updateErrorForNoInputFiles=function(e,n,t,r,a){var i=r.length;return BA(e,a)?r.push(GA(t,n)):pn.filterMutate(r,(function(e){return!(e.code===pn.Diagnostics.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2.code)})),i!==r.length},pn.convertCompilerOptionsFromJson=function(e,n,t){var r=[];return{options:HA(e,n,r,t),errors:r}},pn.convertTypeAcquisitionFromJson=function(e,n,t){var r=[];return{options:zA(e,n,r,t),errors:r}},pn.convertJsonOption=qA,Sn=/(^|\/)\*\*\/?$/,xn=/^[^*?]*(?=\/[^/]*[*?])/,pn.getFileNamesFromConfigSpecs=ZA,pn.isExcludedFile=function(e,n,t,r,a){var i=n.validatedFilesSpec,o=n.validatedExcludeSpecs;if(!pn.length(n.validatedIncludeSpecs)||!pn.length(o))return!1;t=pn.normalizePath(t);var s=pn.createGetCanonicalFileName(r);if(i)for(var c=0,l=i;c<l.length;c++){var d=l[c];if(s(pn.getNormalizedAbsolutePath(d,t))===e)return!1}return eC(e,o,r,a,t)},pn.matchesExclude=function(e,n,t,r){return eC(e,pn.filter(n,(function(e){return!$A(e)})),t,r)},pn.convertCompilerOptionsForTelemetry=function(e){var n,t,r={};for(n in e)e.hasOwnProperty(n)&&void 0!==(t=mA(n))&&(r[n]=function e(n,t){switch(t.type){case"object":case"string":return"";case"number":return"number"==typeof n?n:"";case"boolean":return"boolean"==typeof n?n:"";case"list":var r=t.element;return pn.isArray(n)?n.map((function(n){return e(n,r)})):"";default:return pn.forEachEntry(t.type,(function(e,t){if(e===n)return t}))}}(e[n],t));return r},(Ln=bY=bY||{}).trace=rC,Ln.isTraceEnabled=aC,(sm=Dn=Dn||{})[sm.TypeScript=0]="TypeScript",sm[sm.JavaScript=1]="JavaScript",sm[sm.Json=2]="Json",sm[sm.TSConfig=3]="TSConfig",sm[sm.DtsOnly=4]="DtsOnly",Ln.getPackageJsonTypesVersionsPaths=fC,Ln.getEffectiveTypeRoots=gC,Cn=Ln.combinePaths("node_modules","@types"),Ln.resolveTypeReferenceDirective=function(e,n,t,r,a,i){var o,s,c,l=aC(t,r),d=(a&&(t=a.commandLine.options),n?Ln.getDirectoryPath(n):void 0),u=d?i&&i.getOrCreateCacheForDirectory(d,a):void 0,p=u&&u.get(e);return p?l&&(rC(r,Ln.Diagnostics.Resolving_type_reference_directive_0_containing_file_1,e,n),a&&rC(r,Ln.Diagnostics.Using_compiler_options_of_project_reference_redirect_0,a.sourceFile.fileName),rC(r,Ln.Diagnostics.Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1,e,d),m(p)):(o=gC(t,r),l&&(void 0===n?void 0===o?rC(r,Ln.Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set,e):rC(r,Ln.Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1,e,o):void 0===o?rC(r,Ln.Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set,e,n):rC(r,Ln.Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_2,e,n,o),a)&&rC(r,Ln.Diagnostics.Using_compiler_options_of_project_reference_redirect_0,a.sourceFile.fileName),s={compilerOptions:t,host:r,traceEnabled:l,failedLookupLocations:d=[],packageJsonInfoCache:i},a=!0,(i=(()=>{if(o&&o.length)return l&&rC(r,Ln.Diagnostics.Resolving_with_primary_search_path_0,o.join(", ")),Ln.firstDefined(o,(function(n){n=Ln.combinePaths(n,e);var t=Ln.getDirectoryPath(n),a=Ln.directoryProbablyExists(t,r);return!a&&l&&rC(r,Ln.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,t),cC(wC(Dn.DtsOnly,n,!a,s))}));l&&rC(r,Ln.Diagnostics.Root_directory_cannot_be_determined_skipping_primary_search_paths)})())||(i=(()=>{var t,a=n&&Ln.getDirectoryPath(n);if(void 0!==a)return l&&rC(r,Ln.Diagnostics.Looking_up_in_node_modules_folder_initial_location_0,a),cC(Ln.isExternalModuleNameRelative(e)?(t=Ln.normalizePathAndParts(Ln.combinePaths(a,e)).path,AC(Dn.DtsOnly,t,!1,s,!0)):(t=BC(Dn.DtsOnly,e,a,s,void 0,void 0))&&t.value);l&&rC(r,Ln.Diagnostics.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder)})(),a=!1),i&&(c=i.fileName,i=i.packageId,c={primary:a,resolvedFileName:a=t.preserveSymlinks?c:DC(c,r,l),originalPath:c===a?void 0:c,packageId:i,isExternalLibraryImport:CC(c)}),p={resolvedTypeReferenceDirective:c,failedLookupLocations:d},null!=u&&u.set(e,p),l&&m(p)),p;function m(n){var t;null!=(t=n.resolvedTypeReferenceDirective)&&t.resolvedFileName?n.resolvedTypeReferenceDirective.packageId?rC(r,Ln.Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3,e,n.resolvedTypeReferenceDirective.resolvedFileName,Ln.packageIdToString(n.resolvedTypeReferenceDirective.packageId),n.resolvedTypeReferenceDirective.primary):rC(r,Ln.Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2,e,n.resolvedTypeReferenceDirective.resolvedFileName,n.resolvedTypeReferenceDirective.primary):rC(r,Ln.Diagnostics.Type_reference_directive_0_was_not_resolved,e)}},Ln.getAutomaticTypeDirectiveNames=function(e,n){if(e.types)return e.types;var t=[];if(n.directoryExists&&n.getDirectories&&(e=gC(e,n),e))for(var r=0,a=e;r<a.length;r++){var i=a[r];if(n.directoryExists(i))for(var o=0,s=n.getDirectories(i);o<s.length;o++){var c=s[o],l=(c=Ln.normalizePath(c),Ln.combinePaths(i,c,"package.json"));n.fileExists(l)&&null===Ln.readJson(l,n).typings||46!==(l=Ln.getBaseFileName(c)).charCodeAt(0)&&t.push(l)}}return t},Ln.createCacheWithRedirects=yC,Ln.createModuleResolutionCache=function(e,n,t,r,a){var i=EC(e,n,r=r||yC(t)),o=(a=a||yC(t),hC(e,n));return nu(nu(nu({},o),i),{getOrCreateCacheForModuleName:function(e,n){return Ln.Debug.assert(!Ln.isExternalModuleNameRelative(e)),vC(a,n,e,s)},clear:function(){i.clear(),a.clear(),o.clear()},update:function(e){bC(e,r,a)},getPackageJsonInfoCache:function(){return o}});function s(){var t=new Ln.Map;return{get:function(r){return t.get(Ln.toPath(r,e,n))},set:function(r,a){if(r=Ln.toPath(r,e,n),!t.has(r)){t.set(r,a);for(var i=a.resolvedModule&&(a.resolvedModule.originalPath||a.resolvedModule.resolvedFileName),o=i&&((t,r)=>{for(var a,i=Ln.toPath(Ln.getDirectoryPath(r),e,n),o=0,s=Math.min(t.length,i.length);o<s&&t.charCodeAt(o)===i.charCodeAt(o);)o++;return o!==t.length||i.length!==o&&i[o]!==Ln.directorySeparator?(r=Ln.getRootLength(t),o<r||-1===(a=t.lastIndexOf(Ln.directorySeparator,o-1))?void 0:t.substr(0,Math.max(a,r))):t})(r,i),s=r;s!==o;){var c=Ln.getDirectoryPath(s);if(c===s||t.has(c))break;t.set(c,a),s=c}}}}}},Ln.createTypeReferenceDirectiveResolutionCache=function(e,n,t,r,a){var i=EC(e,n,a=a||yC(t));return r=r||hC(e,n),nu(nu(nu({},r),i),{clear:function(){i.clear(),r.clear()}})},Ln.resolveModuleNameFromCache=function(e,n,t){return n=Ln.getDirectoryPath(n),(t=t&&t.getOrCreateCacheForDirectory(n))&&t.get(e)},Ln.resolveModuleName=function(e,n,t,r,a,i){var o=aC(t,r),s=(i&&(t=i.commandLine.options),o&&(rC(r,Ln.Diagnostics.Resolving_module_0_from_1,e,n),i)&&rC(r,Ln.Diagnostics.Using_compiler_options_of_project_reference_redirect_0,i.sourceFile.fileName),Ln.getDirectoryPath(n)),c=a&&a.getOrCreateCacheForDirectory(s,i),l=c&&c.get(e);if(l)o&&rC(r,Ln.Diagnostics.Resolution_for_module_0_was_found_in_cache_from_location_1,e,s);else{var d=t.moduleResolution;switch(void 0===d?(d=Ln.getEmitModuleKind(t)===Ln.ModuleKind.CommonJS?Ln.ModuleResolutionKind.NodeJs:Ln.ModuleResolutionKind.Classic,o&&rC(r,Ln.Diagnostics.Module_resolution_kind_is_not_specified_using_0,Ln.ModuleResolutionKind[d])):o&&rC(r,Ln.Diagnostics.Explicitly_specified_module_resolution_kind_Colon_0,Ln.ModuleResolutionKind[d]),Ln.perfLogger.logStartResolveModule(e),d){case Ln.ModuleResolutionKind.NodeJs:l=xC(e,n,t,r,a,i);break;case Ln.ModuleResolutionKind.Classic:l=JC(e,n,t,r,a,i);break;default:return Ln.Debug.fail("Unexpected moduleResolution: "+d)}l&&l.resolvedModule&&Ln.perfLogger.logInfoEvent('Module "'+e+'" resolved to "'+l.resolvedModule.resolvedFileName+'"'),Ln.perfLogger.logStopResolveModule(l&&l.resolvedModule?""+l.resolvedModule.resolvedFileName:"null"),c&&(c.set(e,l),Ln.isExternalModuleNameRelative(e)||a.getOrCreateCacheForModuleName(e,i).set(s,l))}return o&&(l.resolvedModule?l.resolvedModule.packageId?rC(r,Ln.Diagnostics.Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2,e,l.resolvedModule.resolvedFileName,Ln.packageIdToString(l.resolvedModule.packageId)):rC(r,Ln.Diagnostics.Module_name_0_was_successfully_resolved_to_1,e,l.resolvedModule.resolvedFileName):rC(r,Ln.Diagnostics.Module_name_0_was_not_resolved,e)),l},Ln.resolveJSModule=function(e,n,t){var r=(t=SC(e,n,t)).resolvedModule;t=t.failedLookupLocations;if(r)return r.resolvedFileName;throw new Error("Could not resolve JS module '"+e+"' starting at '"+n+"'. Looked in: "+t.join(", "))},Ln.tryResolveJSModule=function(e,n,t){return(e=SC(e,n,t).resolvedModule)&&e.resolvedFileName},In=[Dn.JavaScript],Nn=[Dn.TypeScript,Dn.JavaScript],kn=eu(eu([],Nn,!0),[Dn.Json],!1),Rn=[Dn.TSConfig],Ln.nodeModuleNameResolver=xC,Ln.nodeModulesPathPart="/node_modules/",Ln.pathContainsNodeModules=CC,Ln.parseNodeModuleFromPath=IC,Ln.parsePackageName=GC,On="__",Ln.getTypesPackageName=function(e){return"@types/"+HC(e)},Ln.mangleScopedPackageName=HC,Ln.getPackageNameFromTypesPackageName=function(e){var n=Ln.removePrefix(e,"@types/");return n!==e?WC(n):e},Ln.unmangleScopedPackageName=WC,Ln.classicNameResolver=JC,Ln.loadModuleFromGlobalCache=function(e,n,t,r,a,i){var o=aC(t,r);return o&&rC(r,Ln.Diagnostics.Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2,n,e,a),t={compilerOptions:t,host:r,traceEnabled:o,failedLookupLocations:n=[],packageJsonInfoCache:i},lC(VC(Dn.DtsOnly,e,a,t,!1),!0,n,t.resultFromCache)};var XC=bY=bY||{};function YC(e,n){return e.body&&!e.body.parent&&(XC.setParent(e.body,e),XC.setParentRecursive(e.body,!1)),e.body?QC(e.body,n):1}function QC(e,n){void 0===n&&(n=new XC.Map);var t=XC.getNodeId(e);return n.has(t)?n.get(t)||0:(n.set(t,void 0),e=((e,n)=>{switch(e.kind){case 256:case 257:return 0;case 258:if(XC.isEnumConst(e))return 2;break;case 264:case 263:if(XC.hasSyntacticModifier(e,1))break;return 0;case 270:var t=e;if(t.moduleSpecifier||!t.exportClause||271!==t.exportClause.kind)break;for(var r=0,a=0,i=t.exportClause.elements;a<i.length;a++){var o=((e,n)=>{for(var t=e.propertyName||e.name,r=e.parent;r;){if(XC.isBlock(r)||XC.isModuleBlock(r)||XC.isSourceFile(r)){for(var a=r.statements,i=void 0,o=0,s=a;o<s.length;o++){var c=s[o];if(XC.nodeHasName(c,t)&&(c.parent||(XC.setParent(c,r),XC.setParentRecursive(c,!1)),c=QC(c,n),1===(i=void 0===i||i<c?c:i)))return i}if(void 0!==i)return i}r=r.parent}return 1})(i[a],n);if(1===(r=r<o?o:r))return r}return r;case 260:var s=0;return XC.forEachChild(e,(function(e){var t=QC(e,n);switch(t){case 0:return;case 2:return void(s=2);case 1:return s=1,!0;default:XC.Debug.assertNever(t)}})),s;case 259:return YC(e,n);case 79:if(e.isInJSDocNamespace)return 0}return 1})(e,n),n.set(t,e),e)}function ZC(e){return XC.Debug.attachFlowNodeDebugInfo(e),e}(OY=XC.ModuleInstanceState||(XC.ModuleInstanceState={}))[OY.NonInstantiated=0]="NonInstantiated",OY[OY.Instantiated=1]="Instantiated",OY[OY.ConstEnumOnly=2]="ConstEnumOnly",XC.getModuleInstanceState=YC,SI=!1,xI=0,LI={flags:1},DI={flags:1},AI=(()=>{return XC.createBinaryExpressionTrampoline((function(e,n){n?(n.stackIndex++,XC.setParent(e,tI),r=bI,RN(e),t=tI,tI=e,n.skip=!1,n.inStrictModeStack[n.stackIndex]=r,n.parentStack[n.stackIndex]=t):n={stackIndex:0,skip:!1,inStrictModeStack:[void 0],parentStack:[void 0]};var t,r=e.operatorToken.kind;return 55!==r&&56!==r&&60!==r&&!XC.isLogicalOrCoalescingAssignmentOperator(r)||(rN(e)?(t=WI(),pN(e,t,t),lI=eN(t)):pN(e,mI,_I),n.skip=!0),n}),(function(n,t,r){if(!t.skip)return e(n)}),(function(e,n,t){n.skip||(27===e.kind&&lN(t.left),IN(e))}),(function(n,t,r){if(!t.skip)return e(n)}),(function(e,n){n.skip||(t=e.operatorToken.kind,XC.isAssignmentOperator(t)&&!XC.isAssignmentTarget(e)&&(uN(e.left),63===t)&&205===e.left.kind&&HI(e.left.expression)&&(lI=ZI(256,lI,e)));var t=n.inStrictModeStack[n.stackIndex];e=n.parentStack[n.stackIndex];void 0!==t&&(bI=t),void 0!==e&&(tI=e),n.skip=!1,n.stackIndex--}),void 0);function e(e){if(e&&XC.isBinaryExpression(e)&&!XC.isDestructuringAssignment(e))return e;IN(e)}})();var $C,eI,nI,tI,rI,aI,iI,oI,sI,cI,lI,dI,uI,pI,mI,_I,fI,gI,yI,hI,vI,bI,EI,TI,SI,xI,LI,DI,AI,CI=function(e,n){$C=e,eI=n,nI=XC.getEmitScriptTarget(eI),e=$C,bI=!(!XC.getStrictOptionValue(n,"alwaysStrict")||e.isDeclarationFile)||!!e.externalModuleIndicator,TI=new XC.Set,xI=0,EI=XC.objectAllocator.getSymbolConstructor(),XC.Debug.attachFlowNodeDebugInfo(LI),XC.Debug.attachFlowNodeDebugInfo(DI),$C.locals||(IN($C),$C.symbolCount=xI,$C.classifiableNames=TI,(()=>{if(sI){for(var e=rI,n=oI,t=iI,r=tI,a=lI,i=0,o=sI;i<o.length;i++){var s=o[i],c=s.parent.parent,l=(rI=XC.findAncestor(c.parent,(function(e){return!!(1&gN(e))}))||$C,iI=XC.getEnclosingBlockScopeContainer(c)||$C,lI=ZC({flags:2}),IN((tI=s).typeExpression),XC.getNameOfDeclaration(s));if((XC.isJSDocEnumTag(s)||!s.fullName)&&l&&XC.isPropertyAccessEntityNameExpression(l.parent)){if(c=HN(l.parent),c){switch(jN($C.symbol,l.parent,c,!!XC.findAncestor(l,(function(e){return XC.isPropertyAccessExpression(e)&&"prototype"===e.name.escapedText})),!1),c=rI,XC.getAssignmentDeclarationPropertyAccessKind(l.parent)){case 1:case 2:rI=XC.isExternalOrCommonJsModule($C)?$C:void 0;break;case 4:rI=l.parent.expression;break;case 3:rI=l.parent.expression.name;break;case 5:rI=ZN($C,l.parent.expression)?$C:XC.isPropertyAccessExpression(l.parent.expression)?l.parent.expression.name:l.parent.expression;break;case 0:return XC.Debug.fail("Shouldn't have detected typedef or enum on non-assignment declaration")}rI&&wI(s,524288,788968),rI=c}}else XC.isJSDocEnumTag(s)||!s.fullName||79===s.fullName.kind?(tI=s.parent,TN(s,524288,788968)):IN(s.fullName)}rI=e,oI=n,iI=t,tI=r,lI=a}})()),yI=fI=_I=mI=pI=uI=dI=lI=sI=oI=iI=aI=rI=tI=nI=eI=$C=void 0,SI=hI=cI=!1,vI=0};function II(e,n,t,r,a){return XC.createDiagnosticForNodeInSourceFile(XC.getSourceFileOfNode(e)||$C,e,n,t,r,a)}function NI(e,n){return xI++,new EI(e,n)}function kI(e,n,t){e.flags|=t,(n.symbol=e).declarations=XC.appendIfUnique(e.declarations,n),1955&t&&!e.exports&&(e.exports=XC.createSymbolTable()),6240&t&&!e.members&&(e.members=XC.createSymbolTable()),e.constEnumOnlyModule&&304&e.flags&&(e.constEnumOnlyModule=!1),111551&t&&XC.setValueDeclaration(e,n)}function RI(e){if(269===e.kind)return e.isExportEquals?"export=":"default";var n=XC.getNameOfDeclaration(e);if(n){if(XC.isAmbientModule(e))return t=XC.getTextOfIdentifierOrLiteral(n),XC.isGlobalScopeAugmentation(e)?"__global":'"'+t+'"';if(160===n.kind){var t=n.expression;if(XC.isStringOrNumericLiteralLike(t))return XC.escapeLeadingUnderscores(t.text);if(XC.isSignedNumericLiteral(t))return XC.tokenToString(t.operator)+t.operand.text;XC.Debug.fail("Only computed properties with literal names have declaration names")}return XC.isPrivateIdentifier(n)?(t=XC.getContainingClass(e))?(t=t.symbol,XC.getSymbolNameForPrivateIdentifier(t,n.escapedText)):void 0:XC.isPropertyNameLiteral(n)?XC.getEscapedTextOfIdentifierOrLiteral(n):void 0}switch(e.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(2===XC.getAssignmentDeclarationKind(e))return"export=";XC.Debug.fail("Unknown binary declaration kind");break;case 312:return XC.isJSDocConstructSignature(e)?"__new":"__call";case 162:return XC.Debug.assert(312===e.parent.kind,"Impossible parameter parent kind",(function(){return"parent is: "+(XC.SyntaxKind?XC.SyntaxKind[e.parent.kind]:e.parent.kind)+", expected JSDocFunctionType"})),"arg"+e.parent.parameters.indexOf(e)}}function OI(e){return XC.isNamedDeclaration(e)?XC.declarationNameToString(e.name):XC.unescapeLeadingUnderscores(XC.Debug.checkDefined(RI(e)))}function PI(e,n,t,r,a,i,o){XC.Debug.assert(o||!XC.hasDynamicName(t));var s,c,l,d,u,p,m=XC.hasSyntacticModifier(t,512)||XC.isExportSpecifier(t)&&"default"===t.name.escapedText;o=o?"__computed":m&&n?"default":RI(t);if(void 0===o)s=NI(0,"__missing");else if(s=e.get(o),2885600&r&&TI.add(o),s){if(i&&!s.isReplaceableByMethod)return s;s.flags&a&&(s.isReplaceableByMethod?e.set(o,s=NI(0,o)):3&r&&67108864&s.flags||(XC.isNamedDeclaration(t)&&XC.setParent(t.name,t),c=2&s.flags?XC.Diagnostics.Cannot_redeclare_block_scoped_variable_0:XC.Diagnostics.Duplicate_identifier_0,l=!0,(384&s.flags||384&r)&&(c=XC.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations,l=!1),d=!1,XC.length(s.declarations)&&(m||s.declarations&&s.declarations.length&&269===t.kind&&!t.isExportEquals)&&(c=XC.Diagnostics.A_module_cannot_have_multiple_default_exports,d=!(l=!1)),u=[],XC.isTypeAliasDeclaration(t)&&XC.nodeIsMissing(t.type)&&XC.hasSyntacticModifier(t,1)&&2887656&s.flags&&u.push(II(t,XC.Diagnostics.Did_you_mean_0,"export type { "+XC.unescapeLeadingUnderscores(t.name.escapedText)+" }")),p=XC.getNameOfDeclaration(t)||t,XC.forEach(s.declarations,(function(e,n){var t=XC.getNameOfDeclaration(e)||e;e=II(t,c,l?OI(e):void 0);$C.bindDiagnostics.push(d?XC.addRelatedInfo(e,II(p,0===n?XC.Diagnostics.Another_export_default_is_here:XC.Diagnostics.and_here)):e),d&&u.push(II(t,XC.Diagnostics.The_first_export_default_is_here))})),a=II(p,c,l?OI(t):void 0),$C.bindDiagnostics.push(XC.addRelatedInfo.apply(void 0,eu([a],u,!1))),s=NI(0,o)))}else e.set(o,s=NI(0,o)),i&&(s.isReplaceableByMethod=!0);return kI(s,t,r),s.parent?XC.Debug.assert(s.parent===n,"Existing symbol parent should match new one"):s.parent=n,s}function wI(e,n,t){var r=!!(1&XC.getCombinedModifierFlags(e))||(e=>(e.parent&&XC.isModuleDeclaration(e)&&(e=e.parent),!(!XC.isJSDocTypeAlias(e)||(XC.isJSDocEnumTag(e)||!e.fullName)&&(!(e=XC.getNameOfDeclaration(e))||!(XC.isPropertyAccessEntityNameExpression(e.parent)&&HN(e.parent)||XC.isDeclaration(e.parent)&&1&XC.getCombinedModifierFlags(e.parent))))))(e);return 2097152&n?273===e.kind||263===e.kind&&r?PI(rI.symbol.exports,rI.symbol,e,n,t):PI(rI.locals,void 0,e,n,t):(XC.isJSDocTypeAlias(e)&&XC.Debug.assert(XC.isInJSFile(e)),!XC.isAmbientModule(e)&&(r||64&rI.flags)?!rI.locals||XC.hasSyntacticModifier(e,512)&&!RI(e)?PI(rI.symbol.exports,rI.symbol,e,n,t):((r=PI(rI.locals,void 0,e,111551&n?1048576:0,t)).exportSymbol=PI(rI.symbol.exports,rI.symbol,e,n,t),e.localSymbol=r):PI(rI.locals,void 0,e,n,t))}function MI(e){FI(e,(function(e){return 254===e.kind?IN(e):void 0})),FI(e,(function(e){return 254!==e.kind?IN(e):void 0}))}function FI(e,n){void 0===n&&(n=IN),void 0!==e&&XC.forEach(e,n)}function GI(e){XC.forEachChild(e,IN,FI)}function BI(e){var n,t,r,a,i,o,s,c,l,d=SI;if(SI=!1,(e=>{var n,t,r,a;if(1&lI.flags)return lI===LI&&(XC.isStatementButNotDeclaration(e)&&234!==e.kind||255===e.kind||259===e.kind&&(e=>1===(e=YC(e))||2===e&&XC.shouldPreserveConstEnums(eI))(e))&&(lI=DI,eI.allowUnreachableCode||(n=XC.unreachableCodeIsError(eI)&&!(8388608&e.flags)&&(!XC.isVariableStatement(e)||!!(3&XC.getCombinedNodeFlags(e.declarationList))||e.declarationList.declarations.some((function(e){return!!e.initializer}))),e=e,a=function(e,t){return CN(n,e,t,XC.Diagnostics.Unreachable_code_detected)},XC.isStatement(e)&&QN(e)&&XC.isBlock(e.parent)?(t=e.parent.statements,r=XC.sliceAfter(t,e),XC.getRangesWhere(r,QN,(function(e,n){return a(r[e],r[n-1])}))):a(e,e))),1})(e))GI(e);else switch(235<=e.kind&&e.kind<=251&&!eI.allowUnreachableCode&&(e.flowNode=lI),e.kind){case 239:s=sN(o=e,zI()),c=WI(),l=WI(),XI(s,lI),lI=s,iN(o.expression,c,l),lI=eN(c),oN(o.statement,l,s),XI(s,lI),lI=eN(l);break;case 238:c=e,o=zI(),s=sN(c,WI()),l=WI(),XI(o,lI),lI=o,oN(c.statement,l,s),XI(s,lI),lI=eN(s),iN(c.expression,o,l),lI=eN(l);break;case 240:m=sN(p=e,zI()),u=WI(),i=WI(),IN(p.initializer),XI(m,lI),lI=m,iN(p.condition,u,i),lI=eN(u),oN(p.statement,i,m),IN(p.incrementor),XI(m,lI),lI=eN(i);break;case 241:case 242:var u=e,p=sN(u,zI()),m=WI();IN(u.expression),XI(p,lI),lI=p,242===u.kind&&IN(u.awaitModifier),XI(m,lI),IN(u.initializer),253!==u.initializer.kind&&uN(u.initializer),oN(u.statement,m,p),XI(p,lI),lI=eN(m);break;case 237:i=e,_=WI(),g=WI(),f=WI(),iN(i.expression,_,g),lI=eN(_),IN(i.thenStatement),XI(f,lI),lI=eN(g),IN(i.elseStatement),XI(f,lI),lI=eN(f);break;case 245:case 249:var _=e;IN(_.expression),245===_.kind&&(hI=!0,pI)&&XI(pI,lI),lI=LI;break;case 244:case 243:var f,g=e;IN(g.label),g.label?(f=(e=>{for(var n=yI;n;n=n.next)if(n.name===e)return n})(g.label.escapedText))&&(f.referenced=!0,cN(g,f.breakTarget,f.continueTarget)):cN(g,dI,uI);break;case 250:var y=e,h=pI,v=fI,b=WI(),E=WI(),T=WI();y.finallyBlock&&(pI=E),XI(T,lI),fI=T,IN(y.tryBlock),XI(b,lI),y.catchClause&&(lI=eN(T),XI(T=WI(),lI),fI=T,IN(y.catchClause),XI(b,lI)),pI=h,fI=v,lI=y.finallyBlock?((h=WI()).antecedents=XC.concatenate(XC.concatenate(b.antecedents,T.antecedents),E.antecedents),lI=h,IN(y.finallyBlock),1&lI.flags||(pI&&E.antecedents&&XI(pI,JI(h,E.antecedents,lI)),fI&&T.antecedents&&XI(fI,JI(h,T.antecedents,lI)),!b.antecedents)?LI:JI(h,b.antecedents,lI)):eN(b);break;case 247:v=e,y=WI(),IN(v.expression),E=dI,T=gI,dI=y,gI=lI,IN(v.caseBlock),XI(y,lI),h=XC.forEach(v.caseBlock.clauses,(function(e){return 288===e.kind})),v.possiblyExhaustive=!h&&!y.antecedents,h||XI(y,QI(gI,v,0,0)),dI=E,gI=T,lI=eN(y);break;case 261:for(var S=e,x=S.clauses,L=UI(S.parent.expression),D=LI,A=0;A<x.length;A++){for(var C=A;!x[A].statements.length&&A+1<x.length;)IN(x[A]),A++;var I=WI();C=(XI(I,L?QI(gI,S.parent,C,A+1):gI),XI(I,D),lI=eN(I),x[A]);IN(C),1&(D=lI).flags||A===x.length-1||!eI.noFallthroughCasesInSwitch||(C.fallthroughFlowNode=lI)}break;case 287:b=lI,lI=gI,IN((a=e).expression),lI=b,FI(a.statements);break;case 236:IN((a=e).expression),lN(a.expression);break;case 248:var N,k=e,R=WI();yI={next:yI,name:k.label.escapedText,breakTarget:R,continueTarget:void 0,referenced:!1},IN(k.label),IN(k.statement),yI.referenced||eI.allowUnusedLabels||(O=XC.unusedLabelIsError(eI),k=k.label,N=XC.Diagnostics.Unused_label,CN(O,k,k,N)),yI=yI.next,XI(R,lI),lI=eN(R);break;case 217:var O=e;53===O.operator?(k=mI,mI=_I,_I=k,GI(O),_I=mI,mI=k):(GI(O),45!==O.operator&&46!==O.operator||uN(O.operand));break;case 218:GI(N=e),45!==N.operator&&46!==N.operator||uN(N.operand);break;case 219:if(XC.isDestructuringAssignment(e))return R=e,(SI=d)?(SI=!1,IN(R.operatorToken),IN(R.right),SI=!0,IN(R.left)):(SI=!0,IN(R.left),SI=!1,IN(R.operatorToken),IN(R.right)),void uN(R.left);AI(e);break;case 213:GI(r=e),204===r.expression.kind&&uN(r.expression);break;case 220:r=e,n=WI(),t=WI(),w=WI(),iN(r.condition,n,t),lI=eN(n),IN(r.questionToken),IN(r.whenTrue),XI(w,lI),lI=eN(t),IN(r.colonToken),IN(r.whenFalse),XI(w,lI),lI=eN(w);break;case 252:GI(n=e),(n.initializer||XC.isForInOrOfStatement(n.parent.parent))&&function e(n){var t=XC.isOmittedExpression(n)?void 0:n.name;if(XC.isBindingPattern(t))for(var r=0,a=t.elements;r<a.length;r++){var i=a[r];e(i)}else lI=ZI(16,lI,n)}(n);break;case 204:case 205:t=e,(XC.isOptionalChain(t)?fN:GI)(t);break;case 206:var P,w=e;XC.isOptionalChain(w)?fN(w):211===(P=XC.skipParentheses(w.expression)).kind||212===P.kind?(FI(w.typeArguments),FI(w.arguments),IN(w.expression)):(GI(w),106===w.expression.kind&&(lI=$I(lI,w))),204===w.expression.kind&&(P=w.expression,XC.isIdentifier(P.name))&&HI(P.expression)&&XC.isPushOrUnshiftIdentifier(P.name)&&(lI=ZI(256,lI,w));break;case 228:P=e,(XC.isOptionalChain(P)?fN:GI)(P);break;case 340:case 333:case 334:var M=e;IN(M.tagName),334!==M.kind&&M.fullName&&(XC.setParent(M.fullName,M),XC.setParentRecursive(M.fullName,!1)),"string"!=typeof M.comment&&FI(M.comment);break;case 300:MI(e.statements),IN(e.endOfFileToken);break;case 233:case 260:MI(e.statements);break;case 201:M=e,XC.isBindingPattern(M.name)?(FI(M.decorators),FI(M.modifiers),IN(M.dotDotDotToken),IN(M.propertyName),IN(M.initializer),IN(M.name)):GI(M);break;case 203:case 202:case 291:case 223:SI=d;default:GI(e)}NN(e),SI=d}function UI(e){switch(e.kind){case 79:case 80:case 108:case 204:case 205:return jI(e);case 206:var n=e;if(n.arguments)for(var t=0,r=n.arguments;t<r.length;t++)if(jI(r[t]))return!0;return!(204!==n.expression.kind||!jI(n.expression.expression));case 210:case 228:return UI(e.expression);case 219:var a=e;switch(a.operatorToken.kind){case 63:case 75:case 76:case 77:return jI(a.left);case 34:case 35:case 36:case 37:return HI(a.left)||HI(a.right)||KI(a.right,a.left)||KI(a.left,a.right);case 102:return HI(a.left);case 101:case 27:return UI(a.right)}return!1;case 217:return 53===e.operator&&UI(e.operand);case 214:return UI(e.expression)}return!1}function VI(e){return XC.isDottedName(e)||(XC.isPropertyAccessExpression(e)||XC.isNonNullExpression(e)||XC.isParenthesizedExpression(e))&&VI(e.expression)||XC.isBinaryExpression(e)&&27===e.operatorToken.kind&&VI(e.right)||XC.isElementAccessExpression(e)&&XC.isStringOrNumericLiteralLike(e.argumentExpression)&&VI(e.expression)||XC.isAssignmentExpression(e)&&VI(e.left)}function jI(e){return VI(e)||XC.isOptionalChain(e)&&jI(e.expression)}function KI(e,n){return XC.isTypeOfExpression(e)&&HI(e.expression)&&XC.isStringLiteralLike(n)}function HI(e){switch(e.kind){case 210:return HI(e.expression);case 219:switch(e.operatorToken.kind){case 63:return HI(e.left);case 27:return HI(e.right)}}return jI(e)}function WI(){return ZC({flags:4,antecedents:void 0})}function zI(){return ZC({flags:8,antecedents:void 0})}function JI(e,n,t){return ZC({flags:1024,target:e,antecedents:n,antecedent:t})}function qI(e){e.flags|=2048&e.flags?4096:2048}function XI(e,n){1&n.flags||XC.contains(e.antecedents,n)||((e.antecedents||(e.antecedents=[])).push(n),qI(n))}function YI(e,n,t){return 1&n.flags?n:t?!(110===t.kind&&64&e||95===t.kind&&32&e)||XC.isExpressionOfOptionalChainRoot(t)||XC.isNullishCoalesce(t.parent)?UI(t)?(qI(n),ZC({flags:e,antecedent:n,node:t})):n:LI:32&e?n:LI}function QI(e,n,t,r){return qI(e),ZC({flags:128,antecedent:e,switchStatement:n,clauseStart:t,clauseEnd:r})}function ZI(e,n,t){return qI(n),e=ZC({flags:e,antecedent:n,node:t}),fI&&XI(fI,e),e}function $I(e,n){return qI(e),ZC({flags:512,antecedent:e,node:n})}function eN(e){var n=e.antecedents;return n?1===n.length?n[0]:e:LI}function nN(e){for(;;)if(210===e.kind)e=e.expression;else{if(217!==e.kind||53!==e.operator)return 219===e.kind&&(55===e.operatorToken.kind||56===e.operatorToken.kind||60===e.operatorToken.kind);e=e.operand}}function tN(e){return e=XC.skipParentheses(e),XC.isBinaryExpression(e)&&XC.isLogicalOrCoalescingAssignmentOperator(e.operatorToken.kind)}function rN(e){for(;XC.isParenthesizedExpression(e.parent)||XC.isPrefixUnaryExpression(e.parent)&&53===e.parent.operator;)e=e.parent;return!((e=>{var n=e.parent;switch(n.kind){case 237:case 239:case 238:return n.expression===e;case 240:case 220:return n.condition===e}})(e)||tN(e.parent)||nN(e.parent)||XC.isOptionalChain(e.parent)&&e.parent.expression===e)}function aN(e,n,t,r){var a=mI,i=_I;mI=t,_I=r,e(n),mI=a,_I=i}function iN(e,n,t){aN(IN,e,n,t),e&&(tN(e)||nN(e)||XC.isOptionalChain(e)&&XC.isOutermostOptionalChain(e))||(XI(n,YI(32,lI,e)),XI(t,YI(64,lI,e)))}function oN(e,n,t){var r=dI,a=uI;dI=n,uI=t,IN(e),dI=r,uI=a}function sN(e,n){for(var t=yI;t&&248===e.parent.kind;)t.continueTarget=n,t=t.next,e=e.parent;return n}function cN(e,n,t){e=244===e.kind?n:t,e&&(XI(e,lI),lI=LI)}function lN(e){206===e.kind&&106!==(e=e).expression.kind&&XC.isDottedName(e.expression)&&(lI=$I(lI,e))}function dN(e){219===e.kind&&63===e.operatorToken.kind?uN(e.left):uN(e)}function uN(e){if(VI(e))lI=ZI(16,lI,e);else if(202===e.kind)for(var n=0,t=e.elements;n<t.length;n++){var r=t[n];223===r.kind?uN(r.expression):dN(r)}else if(203===e.kind)for(var a=0,i=e.properties;a<i.length;a++){var o=i[a];291===o.kind?dN(o.initializer):292===o.kind?uN(o.name):293===o.kind&&uN(o.expression)}}function pN(e,n,t){var r=WI();55===e.operatorToken.kind||76===e.operatorToken.kind?iN(e.left,r,t):iN(e.left,n,r),lI=eN(r),IN(e.operatorToken),XC.isLogicalOrCoalescingAssignmentOperator(e.operatorToken.kind)?(aN(IN,e.right,n,t),uN(e.left),XI(n,YI(32,lI,e)),XI(t,YI(64,lI,e))):iN(e.right,n,t)}function mN(e){switch(e.kind){case 204:IN(e.questionDotToken),IN(e.name);break;case 205:IN(e.questionDotToken),IN(e.argumentExpression);break;case 206:IN(e.questionDotToken),FI(e.typeArguments),FI(e.arguments)}}function _N(e,n,t){var r,a,i,o=XC.isOptionalChainRoot(e)?WI():void 0;aN(IN,r=e.expression,a=o||n,i=t),XC.isOptionalChain(r)&&!XC.isOutermostOptionalChain(r)||(XI(a,YI(32,lI,r)),XI(i,YI(64,lI,r))),o&&(lI=eN(o)),aN(mN,e,n,t),XC.isOutermostOptionalChain(e)&&(XI(n,YI(32,lI,e)),XI(t,YI(64,lI,e)))}function fN(e){var n;rN(e)?(_N(e,n=WI(),n),lI=eN(n)):_N(e,mI,_I)}function gN(e){switch(e.kind){case 224:case 255:case 258:case 203:case 180:case 317:case 284:return 1;case 256:return 65;case 259:case 257:case 193:return 33;case 300:return 37;case 167:if(XC.isObjectLiteralOrClassExpressionMethod(e))return 173;case 169:case 254:case 166:case 170:case 171:case 172:case 318:case 312:case 177:case 173:case 174:case 178:case 168:return 45;case 211:case 212:return 61;case 260:return 4;case 165:return e.initializer?4:0;case 290:case 240:case 241:case 242:case 261:return 2;case 233:return XC.isFunctionLike(e.parent)||XC.isClassStaticBlockDeclaration(e.parent)?0:2}return 0}function yN(e){oI&&(oI.nextContainer=e),oI=e}function hN(e,n,t){switch(rI.kind){case 259:return wI(e,n,t);case 300:return r=e,a=n,i=t,XC.isExternalModule($C)?wI(r,a,i):PI($C.locals,void 0,r,a,i);case 224:case 255:return r=e,a=n,i=t,XC.isStatic(r)?PI(rI.symbol.exports,rI.symbol,r,a,i):PI(rI.symbol.members,rI.symbol,r,a,i);case 258:return PI(rI.symbol.exports,rI.symbol,e,n,t);case 180:case 317:case 203:case 256:case 284:return PI(rI.symbol.members,rI.symbol,e,n,t);case 177:case 178:case 172:case 173:case 318:case 174:case 167:case 166:case 169:case 170:case 171:case 254:case 211:case 212:case 312:case 340:case 333:case 168:case 257:case 193:return PI(rI.locals,void 0,e,n,t)}var r,a,i}function vN(e){var n;8388608&e.flags&&(n=e,!(n=XC.isSourceFile(n)?n:XC.tryCast(n.body,XC.isModuleBlock))||!n.statements.some((function(e){return XC.isExportDeclaration(e)||XC.isExportAssignment(e)})))?e.flags|=64:e.flags&=-65}function bN(e){var n=YC(e),t=0!==n;return hN(e,t?512:1024,t?110735:0),n}function EN(e,n,t){return t=NI(n,t),106508&n&&(t.parent=rI.symbol),kI(t,e,n),t}function TN(e,n,t){switch(iI.kind){case 259:wI(e,n,t);break;case 300:if(XC.isExternalOrCommonJsModule(rI)){wI(e,n,t);break}default:iI.locals||(iI.locals=XC.createSymbolTable(),yN(iI)),PI(iI.locals,void 0,e,n,t)}}function SN(e){$C.parseDiagnostics.length||8388608&e.flags||4194304&e.flags||XC.isIdentifierName(e)||(bI&&117<=e.originalKeywordKind&&e.originalKeywordKind<=125?$C.bindDiagnostics.push(II(e,(e=>XC.getContainingClass(e)?XC.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:$C.externalModuleIndicator?XC.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:XC.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode)(e),XC.declarationNameToString(e))):131===e.originalKeywordKind?XC.isExternalModule($C)&&XC.isInTopLevelContext(e)?$C.bindDiagnostics.push(II(e,XC.Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module,XC.declarationNameToString(e))):32768&e.flags&&$C.bindDiagnostics.push(II(e,XC.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,XC.declarationNameToString(e))):125===e.originalKeywordKind&&8192&e.flags&&$C.bindDiagnostics.push(II(e,XC.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,XC.declarationNameToString(e))))}function xN(e,n){var t,r;n&&79===n.kind&&(r=t=n,!XC.isIdentifier(r)||"eval"!==r.escapedText&&"arguments"!==r.escapedText||(r=XC.getErrorSpanForNode($C,n),$C.bindDiagnostics.push(XC.createFileDiagnostic($C,r.start,r.length,(e=>XC.getContainingClass(e)?XC.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:$C.externalModuleIndicator?XC.Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode:XC.Diagnostics.Invalid_use_of_0_in_strict_mode)(e),XC.idText(t)))))}function LN(e){bI&&xN(e,e.name)}function DN(e){var n;nI<2&&(300===iI.kind||259===iI.kind||XC.isFunctionLikeOrClassStaticBlockDeclaration(iI)||(n=XC.getErrorSpanForNode($C,e),$C.bindDiagnostics.push(XC.createFileDiagnostic($C,n.start,n.length,XC.getContainingClass(e)?XC.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:$C.externalModuleIndicator?XC.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:XC.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5))))}function AN(e,n,t,r,a){e=XC.getSpanOfTokenAtPosition($C,e.pos),$C.bindDiagnostics.push(XC.createFileDiagnostic($C,e.start,e.length,n,t,r,a))}function CN(e,n,t,r){n={pos:XC.getTokenPosOfNode(n,$C),end:t.end},t=r,n=XC.createFileDiagnostic($C,n.pos,n.end-n.pos,t),e?$C.bindDiagnostics.push(n):$C.bindSuggestionDiagnostics=XC.append($C.bindSuggestionDiagnostics,nu(nu({},n),{category:XC.DiagnosticCategory.Suggestion}))}function IN(e){var n,t,r,a,i,o,s,c,l,d,u,p,m,_,f;e&&(XC.setParent(e,tI),n=bI,RN(e),158<e.kind?(t=tI,0===(a=gN(tI=e))?BI(e):(r=e,m=rI,_=aI,f=iI,1&(a=a)?(212!==r.kind&&(aI=rI),rI=iI=r,32&a&&(rI.locals=XC.createSymbolTable()),yN(rI)):2&a&&((iI=r).locals=void 0),4&a?(i=lI,o=dI,s=uI,c=pI,l=fI,d=yI,u=hI,(p=16&a&&!XC.hasSyntacticModifier(r,256)&&!r.asteriskToken&&!!XC.getImmediatelyInvokedFunctionExpression(r))||(lI=ZC({flags:2}),144&a&&(lI.node=r)),pI=p||169===r.kind||168===r.kind||XC.isInJSFile(r)&&(254===r.kind||211===r.kind)?WI():void 0,yI=uI=dI=fI=void 0,hI=!1,BI(r),r.flags&=-2817,!(1&lI.flags)&&8&a&&XC.nodeIsPresent(r.body)&&(r.flags|=256,hI&&(r.flags|=512),r.endFlowNode=lI),300===r.kind&&(r.flags|=vI,r.endFlowNode=lI),pI&&(XI(pI,lI),lI=eN(pI),169!==r.kind&&168!==r.kind&&(!XC.isInJSFile(r)||254!==r.kind&&211!==r.kind)||(r.returnFlowNode=lI)),p||(lI=i),dI=o,uI=s,pI=c,fI=l,yI=d,hI=u):64&a?(cI=!1,BI(r),r.flags=cI?128|r.flags:-129&r.flags):BI(r),rI=m,aI=_,iI=f)):(t=tI,1===e.kind&&(tI=e),NN(e)),tI=t,bI=n)}function NN(e){if(XC.hasJSDocNodes(e))if(XC.isInJSFile(e))for(var n=0,t=e.jsDoc;n<t.length;n++)IN(i=t[n]);else for(var r=0,a=e.jsDoc;r<a.length;r++){var i=a[r];XC.setParent(i,e),XC.setParentRecursive(i,!1)}}function kN(e){if(!bI)for(var n=0,t=e;n<t.length;n++){var r=t[n];if(!XC.isPrologueDirective(r))return;if((e=>'"use strict"'===(e=XC.getSourceTextOfNodeFromSourceFile($C,e.expression))||"'use strict'"===e)(r))return void(bI=!0)}}function RN(e){switch(e.kind){case 79:if(e.isInJSDocNamespace){for(var n=e.parent;n&&!XC.isJSDocTypeAlias(n);)n=n.parent;TN(n,524288,788968);break}case 108:return lI&&(XC.isExpression(e)||292===tI.kind)&&(e.flowNode=lI),SN(e);case 159:lI&&XC.isPartOfTypeQuery(e)&&(e.flowNode=lI);break;case 229:case 106:e.flowNode=lI;break;case 80:return"#constructor"!==(w=e).escapedText||$C.parseDiagnostics.length||$C.bindDiagnostics.push(II(w,XC.Diagnostics.constructor_is_a_reserved_word,XC.declarationNameToString(w)));case 204:case 205:w=e,lI&&VI(w)&&(w.flowNode=lI),XC.isSpecialPropertyDeclaration(w)&&(108===(P=w).expression.kind?FN(P):XC.isBindableStaticAccessExpression(P)&&300===P.parent.parent.kind&&(XC.isPrototypeAccess(P.expression)?UN(P,P.parent):VN(P))),XC.isInJSFile(w)&&$C.commonJsModuleIndicator&&XC.isModuleExportsAccessExpression(w)&&!$N(iI,"module")&&PI($C.locals,void 0,w.expression,134217729,111550);break;case 219:switch(XC.getAssignmentDeclarationKind(e)){case 1:wN(e);break;case 2:PN(R=e)&&(O=XC.getRightMostAssignedExpression(R.right),XC.isEmptyObjectLiteral(O)||rI===$C&&ZN($C,O)||(XC.isObjectLiteralExpression(O)&&XC.every(O.properties,XC.isShorthandPropertyAssignment)?XC.forEach(O.properties,MN):(O=XC.exportAssignmentIsAlias(R)?2097152:1049092,O=PI($C.symbol.exports,$C.symbol,R,67108864|O,0),XC.setValueDeclaration(O,R))));break;case 3:UN(e.left,e);break;case 6:O=e,XC.setParent(O.left,O),XC.setParent(O.right,O),WN(O.left.expression,O.left,!1,!0);break;case 4:FN(e);break;case 5:if(R=e.left.expression,XC.isInJSFile(e)&&XC.isIdentifier(R)){var t=$N(iI,R.escapedText);if(XC.isThisInitializedDeclaration(null==t?void 0:t.valueDeclaration)){FN(e);break}}k=zN((t=e).left.expression,rI)||zN(t.left.expression,iI),(XC.isInJSFile(t)||XC.isFunctionSymbol(k))&&(N=XC.getLeftmostAccessExpression(t.left),XC.isIdentifier(N)&&2097152&(null==(N=$N(rI,N.escapedText))?void 0:N.flags)||(XC.setParent(t.left,t),XC.setParent(t.right,t),XC.isIdentifier(t.left.expression)&&rI===$C&&ZN($C,t.left.expression)?wN(t):XC.hasDynamicName(t)?(EN(t,67108868,"__computed"),N=jN(k,t.left.expression,HN(t.left),!1,!1),BN(t,N)):VN(XC.cast(t.left,XC.isBindableStaticNameExpression))));break;case 0:break;default:XC.Debug.fail("Unknown binary expression special property assignment kind")}return P=e,bI&&XC.isLeftHandSideExpression(P.left)&&XC.isAssignmentOperator(P.operatorToken.kind)&&xN(P,P.left);case 290:return I=e,bI&&I.variableDeclaration&&xN(I,I.variableDeclaration.name);case 213:return I=e,bI&&79===I.expression.kind&&(I=XC.getErrorSpanForNode($C,I.expression),$C.bindDiagnostics.push(XC.createFileDiagnostic($C,I.start,I.length,XC.Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode)));case 8:return C=e,bI&&32&C.numericLiteralFlags&&$C.bindDiagnostics.push(II(C,XC.Diagnostics.Octal_literals_are_not_allowed_in_strict_mode));case 218:return C=e,bI&&xN(C,C.operand);case 217:return A=e,!bI||45!==A.operator&&46!==A.operator||xN(A,A.operand);case 246:return A=e,bI&&AN(A,XC.Diagnostics.with_statements_are_not_allowed_in_strict_mode);case 248:return D=e,bI&&2<=eI.target&&(XC.isDeclarationStatement(D.statement)||XC.isVariableStatement(D.statement))&&AN(D.label,XC.Diagnostics.A_label_is_not_allowed_here);case 190:return void(cI=!0);case 175:break;case 161:return D=e,void(XC.isJSDocTemplateTag(D.parent)?(r=XC.find(D.parent.parent.tags,XC.isJSDocTypeAlias)||XC.getHostSignatureFromJSDoc(D.parent))?(r.locals||(r.locals=XC.createSymbolTable()),PI(r.locals,void 0,D,262144,526824)):hN(D,262144,526824):188===D.parent.kind?(r=(e=>(e=XC.findAncestor(e,(function(e){return e.parent&&XC.isConditionalTypeNode(e.parent)&&e.parent.extendsType===e})))&&e.parent)(D.parent))?(r.locals||(r.locals=XC.createSymbolTable()),PI(r.locals,void 0,D,262144,526824)):EN(D,262144,RI(D)):hN(D,262144,526824));case 162:return XN(e);case 252:return qN(e);case 201:return e.flowNode=lI,qN(e);case 165:case 164:return YN(e,4|(e.questionToken?16777216:0),0);case 291:case 292:return YN(e,4,0);case 294:return YN(e,8,900095);case 172:case 173:case 174:return hN(e,131072,0);case 167:case 166:return YN(e,8192|(e.questionToken?16777216:0),XC.isObjectLiteralMethod(e)?0:103359);case 254:var r=e;return $C.isDeclarationFile||8388608&r.flags||XC.isAsyncFunction(r)&&(vI|=2048),LN(r),void(bI?(DN(r),TN):hN)(r,16,110991);case 169:return hN(e,16384,0);case 170:return YN(e,32768,46015);case 171:return YN(e,65536,78783);case 177:case 312:case 318:case 178:return kI(d=NI(131072,RI(x=e)),x,131072),kI(L=NI(2048,"__type"),x,2048),L.members=XC.createSymbolTable(),L.members.set(d.escapedName,d);case 180:case 317:case 193:return EN(e,2048,"__type");case 327:return GI(x=e),(x=XC.getHostSignatureFromJSDoc(x))&&167!==x.kind&&kI(x.symbol,x,32);case 203:if(L=e,bI&&!XC.isAssignmentTarget(L))for(var a=new XC.Map,i=0,o=L.properties;i<o.length;i++){var s,c,l=o[i];293!==l.kind&&79===l.name.kind&&(s=291===l.kind||292===l.kind||167===l.kind?1:2,(c=a.get((l=l.name).escapedText))?1==s&&1===c&&(c=XC.getErrorSpanForNode($C,l),$C.bindDiagnostics.push(XC.createFileDiagnostic($C,c.start,c.length,XC.Diagnostics.An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode))):a.set(l.escapedText,s))}return EN(L,4096,"__object");case 211:case 212:var d=e,u=($C.isDeclarationFile||8388608&d.flags||XC.isAsyncFunction(d)&&(vI|=2048),lI&&(d.flowNode=lI),LN(d),d.name?d.name.escapedText:"__function");return EN(d,16,u);case 206:switch(XC.getAssignmentDeclarationKind(e)){case 7:return p=zN((T=e).arguments[0]),S=300===T.parent.parent.kind,p=jN(p,T.arguments[0],S,!1,!1),KN(T,p,!1);case 8:return PN(S=e)&&(T=JN(S.arguments[0],void 0,(function(e,n){return n&&kI(n,e,67110400),n})))&&PI(T.exports,T,S,1048580,0);case 9:var p=e,m=zN(p.arguments[0].expression);return m&&m.valueDeclaration&&kI(m,m.valueDeclaration,32),void KN(p,m,!0);case 0:break;default:return XC.Debug.fail("Unknown call expression assignment declaration kind")}XC.isInJSFile(e)&&(u=e,!$C.commonJsModuleIndicator)&&XC.isRequireCall(u,!1)&&PN(u);break;case 224:case 255:bI=!0;var _=e,f=(255===_.kind?TN(_,32,899503):(f=_.name?_.name.escapedText:"__class",EN(_,32,f),_.name&&TI.add(_.name.escapedText)),_.symbol),g=NI(4194308,"prototype"),y=f.exports.get(g.escapedName);return y&&(_.name&&XC.setParent(_.name,_),$C.bindDiagnostics.push(II(y.declarations[0],XC.Diagnostics.Duplicate_identifier_0,XC.symbolName(g)))),f.exports.set(g.escapedName,g),void(g.parent=f);case 256:return TN(e,64,788872);case 257:return TN(e,524288,788968);case 258:return _=e,XC.isEnumConst(_)?TN(_,128,899967):TN(_,256,899327);case 259:return vN(y=e),XC.isAmbientModule(y)?(XC.hasSyntacticModifier(y,1)&&AN(y,XC.Diagnostics.export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible),XC.isModuleAugmentationExternal(y)?bN(y):(b=void 0,10===y.name.kind&&(E=y.name.text,void 0===(b=XC.tryParsePattern(E)))&&AN(y.name,XC.Diagnostics.Pattern_0_can_have_at_most_one_Asterisk_character,E),E=hN(y,512,110735),$C.patternAmbientModules=XC.append($C.patternAmbientModules,b&&!XC.isString(b)?{pattern:b,symbol:E}:void 0))):0!==(b=bN(y))&&((E=y.symbol).constEnumOnlyModule=!(304&E.flags)&&2===b&&!1!==E.constEnumOnlyModule);case 284:return EN(e,4096,"__jsxAttributes");case 283:return hN(e,4,0);case 263:case 266:case 268:case 273:return hN(e,2097152,2097152);case 262:return(g=e).modifiers&&g.modifiers.length&&$C.bindDiagnostics.push(II(g,XC.Diagnostics.Modifiers_cannot_appear_here)),(f=XC.isSourceFile(g.parent)?XC.isExternalModule(g.parent)?g.parent.isDeclarationFile?void 0:XC.Diagnostics.Global_module_exports_may_only_appear_in_declaration_files:XC.Diagnostics.Global_module_exports_may_only_appear_in_module_files:XC.Diagnostics.Global_module_exports_may_only_appear_at_top_level)?$C.bindDiagnostics.push(II(g,f)):($C.symbol.globalExports=$C.symbol.globalExports||XC.createSymbolTable(),PI($C.symbol.globalExports,$C.symbol,g,2097152,2097152));case 265:return(b=e).name&&hN(b,2097152,2097152);case 270:return E=e,rI.symbol&&rI.symbol.exports?E.exportClause?XC.isNamespaceExport(E.exportClause)&&(XC.setParent(E.exportClause,E),PI(rI.symbol.exports,rI.symbol,E.exportClause,2097152,2097152)):PI(rI.symbol.exports,rI.symbol,E,8388608,0):EN(E,8388608,RI(E));case 269:var h=e;return void(rI.symbol&&rI.symbol.exports?(v=XC.exportAssignmentIsAlias(h)?2097152:4,v=PI(rI.symbol.exports,rI.symbol,h,v,67108863),h.isExportEquals&&XC.setValueDeclaration(v,h)):EN(h,111551,RI(h)));case 300:var v;return kN(e.statements),vN($C),void(XC.isExternalModule($C)?ON():XC.isJsonSourceFile($C)&&(ON(),v=$C.symbol,PI($C.symbol.exports,$C.symbol,$C,4,67108863),$C.symbol=v));case 233:if(!XC.isFunctionLikeOrClassStaticBlockDeclaration(e.parent))return;case 260:return kN(e.statements);case 335:if(318===e.parent.kind)return XN(e);if(317!==e.parent.kind)break;case 342:return hN(e,e.isBracketed||e.typeExpression&&311===e.typeExpression.type.kind?16777220:4,0);case 340:case 333:case 334:(sI=sI||[]).push(e)}var b,E,T,S,x,L,D,A,C,I,N,k,R,O,P,w}function ON(){EN($C,512,'"'+XC.removeFileExtension($C.fileName)+'"')}function PN(e){return!$C.externalModuleIndicator&&($C.commonJsModuleIndicator||($C.commonJsModuleIndicator=e,ON()),1)}function wN(e){var n,t;PN(e)&&(n=JN(e.left.expression,void 0,(function(e,n){return n&&kI(n,e,67110400),n})))&&(t=XC.isAliasableExpression(e.right)&&(XC.isExportsIdentifier(e.left.expression)||XC.isModuleExportsAccessExpression(e.left.expression))?2097152:1048580,XC.setParent(e.left,e),PI(n.exports,n,e.left,t,0))}function MN(e){PI($C.symbol.exports,$C.symbol,e,69206016,0)}function FN(e){XC.Debug.assert(XC.isInJSFile(e));var n=XC.isBinaryExpression(e)&&XC.isPropertyAccessExpression(e.left)&&XC.isPrivateIdentifier(e.left.name)||XC.isPropertyAccessExpression(e)&&XC.isPrivateIdentifier(e.name);if(!n){var t=XC.getThisContainer(e,!1);switch(t.kind){case 254:case 211:var r=t.symbol;(r=XC.isBinaryExpression(t.parent)&&63===t.parent.operatorToken.kind&&(a=t.parent.left,XC.isBindableStaticAccessExpression(a))&&XC.isPrototypeAccess(a.expression)?zN(a.expression.expression,aI):r)&&r.valueDeclaration&&(r.members=r.members||XC.createSymbolTable(),XC.hasDynamicName(e)?GN(e,r,r.members):PI(r.members,r,e,67108868,0),kI(r,r.valueDeclaration,32));break;case 169:case 165:case 167:case 170:case 171:var a=t.parent;r=XC.isStatic(t)?a.symbol.exports:a.symbol.members;XC.hasDynamicName(e)?GN(e,a.symbol,r):PI(r,a.symbol,e,67108868,0,!0);break;case 300:XC.hasDynamicName(e)||(t.commonJsModuleIndicator?PI(t.symbol.exports,t.symbol,e,1048580,0):hN(e,1,111550));break;default:XC.Debug.failBadSyntaxKind(t)}}}function GN(e,n,t){PI(t,n,e,4,0,!0,!0),BN(e,n)}function BN(e,n){n&&(n.assignmentDeclarationMembers||(n.assignmentDeclarationMembers=new XC.Map)).set(XC.getNodeId(e),e)}function UN(e,n){var t=e.expression,r=t.expression;XC.setParent(r,t),XC.setParent(t,e),XC.setParent(e,n),WN(r,e,!0,!0)}function VN(e){XC.Debug.assert(!XC.isIdentifier(e)),XC.setParent(e.expression,e),WN(e.expression,e,!1,!1)}function jN(e,n,t,r,a){return 2097152&(null==e?void 0:e.flags)||(t&&!r&&(e=JN(n,e,(function(e,n,t){return n?(kI(n,e,67110400),n):PI(t?t.exports:$C.jsGlobalAugmentations||($C.jsGlobalAugmentations=XC.createSymbolTable()),t,e,67110400,110735)}))),a&&e&&e.valueDeclaration&&kI(e,e.valueDeclaration,32)),e}function KN(e,n,t){var r,a;n&&(e=>{var n;return 1072&e.flags||((e=e.valueDeclaration)&&XC.isCallExpression(e)?XC.getAssignedExpandoInitializer(e):(n=(n=e?XC.isVariableDeclaration(e)?e.initializer:XC.isBinaryExpression(e)?e.right:XC.isPropertyAccessExpression(e)&&XC.isBinaryExpression(e.parent)?e.parent.right:void 0:void 0)&&XC.getRightMostAssignedExpression(n))?(e=XC.isPrototypeAccess(XC.isVariableDeclaration(e)?e.name:XC.isBinaryExpression(e)?e.left:e),XC.getExpandoInitializer(!XC.isBinaryExpression(n)||56!==n.operatorToken.kind&&60!==n.operatorToken.kind?n:n.right,e)):void 0)})(n)&&(t=t?n.members||(n.members=XC.createSymbolTable()):n.exports||(n.exports=XC.createSymbolTable()),a=r=0,XC.isFunctionLikeDeclaration(XC.getAssignedExpandoInitializer(e))?(r=8192,a=103359):XC.isCallExpression(e)&&XC.isBindableObjectDefinePropertyCall(e)&&(XC.some(e.arguments[2].properties,(function(e){return e=XC.getNameOfDeclaration(e),!!e&&XC.isIdentifier(e)&&"set"===XC.idText(e)}))&&(r|=65540,a|=78783),XC.some(e.arguments[2].properties,(function(e){return e=XC.getNameOfDeclaration(e),!!e&&XC.isIdentifier(e)&&"get"===XC.idText(e)})))&&(r|=32772,a|=46015),0===r&&(r=4,a=0),PI(t,n,e,67108864|r,-67108865&a))}function HN(e){return XC.isBinaryExpression(e.parent)?300===(e=>{for(;XC.isBinaryExpression(e.parent);)e=e.parent;return e.parent})(e.parent).parent.kind:300===e.parent.parent.kind}function WN(e,n,t,r){e=zN(e,rI)||zN(e,iI);var a=HN(n);KN(n,jN(e,n.expression,a,t,r),t)}function zN(e,n){return void 0===n&&(n=rI),XC.isIdentifier(e)?$N(n,e.escapedText):(n=zN(e.expression))&&n.exports&&n.exports.get(XC.getElementOrPropertyAccessName(e))}function JN(e,n,t){var r;return ZN($C,e)?$C.symbol:XC.isIdentifier(e)?t(e,zN(e),n):(n=JN(e.expression,n,t),r=XC.getNameOrArgument(e),XC.isPrivateIdentifier(r)&&XC.Debug.fail("unexpected PrivateIdentifier"),t(r,n&&n.exports&&n.exports.get(XC.getElementOrPropertyAccessName(e)),n))}function qN(e){bI&&xN(e,e.name),XC.isBindingPattern(e.name)||(XC.isInJSFile(e)&&XC.isRequireVariableDeclaration(e)&&!XC.getJSDocTypeTag(e)?hN(e,2097152,2097152):XC.isBlockOrCatchScoped(e)?TN(e,2,111551):XC.isParameterDeclaration(e)?hN(e,1,111551):hN(e,1,111550))}function XN(e){var n;335===e.kind&&318!==rI.kind||(!bI||8388608&e.flags||xN(e,e.name),XC.isBindingPattern(e.name)?EN(e,1,"__"+e.parent.parameters.indexOf(e)):hN(e,1,111551),XC.isParameterPropertyDeclaration(e,e.parent)&&PI((n=e.parent.parent).symbol.members,n.symbol,e,4|(e.questionToken?16777216:0),0))}function YN(e,n,t){return $C.isDeclarationFile||8388608&e.flags||!XC.isAsyncFunction(e)||(vI|=2048),lI&&XC.isObjectLiteralOrClassExpressionMethod(e)&&(e.flowNode=lI),XC.hasDynamicName(e)?EN(e,n,"__computed"):hN(e,n,t)}function QN(e){return!(XC.isFunctionDeclaration(e)||(e=>{switch(e.kind){case 256:case 257:return 1;case 259:return 1!==YC(e);case 258:return XC.hasSyntacticModifier(e,2048);default:return}})(e)||XC.isEnumDeclaration(e)||XC.isVariableStatement(e)&&!(3&XC.getCombinedNodeFlags(e))&&e.declarationList.declarations.some((function(e){return!e.initializer})))}function ZN(e,n){for(var t,r=0,a=[n];a.length&&r<100;){if(r++,n=a.shift(),XC.isExportsIdentifier(n)||XC.isModuleExportsAccessExpression(n))return!0;XC.isIdentifier(n)&&(t=$N(e,n.escapedText))&&t.valueDeclaration&&XC.isVariableDeclaration(t.valueDeclaration)&&t.valueDeclaration.initializer&&(t=t.valueDeclaration.initializer,a.push(t),XC.isAssignmentExpression(t,!0))&&(a.push(t.left),a.push(t.right))}return!1}function $N(e,n){var t=e.locals&&e.locals.get(n);return t?t.exportSymbol||t:XC.isSourceFile(e)&&e.jsGlobalAugmentations&&e.jsGlobalAugmentations.has(n)?e.jsGlobalAugmentations.get(n):e.symbol&&e.symbol.exports&&e.symbol.exports.get(n)}function ek(){}function nk(){this.flags=0}function tk(e){return e.id||(e.id=Un,Un++),e.id}function rk(e){return e.id||(e.id=Bn,Bn++),e.id}function ak(e,n){return e=wn.getModuleInstanceState(e),1===e||n&&2===e}function ik(e){return 254!==e.kind&&167!==e.kind||!!e.body}function ok(e){switch(e.parent.kind){case 268:case 273:return wn.isIdentifier(e);default:return wn.isDeclarationName(e)}}function sk(e){switch(e){case 0:return"yieldType";case 1:return"returnType";case 2:return"nextType"}}function ck(e){return!!(1&e.flags)}function lk(e){return!!(2&e.flags)}function dk(e,n,t,r){return void 0===e||void 0===n||(n=n(e))===e?e:void 0!==n?(e=Jn.isArray(n)?(r||gk)(n):n,Jn.Debug.assertNode(e,t),e):void 0}function uk(e,n,t,r,a){if(void 0===e||void 0===n)return e;var i,o,s=e.length,c=((void 0===r||r<0)&&(r=0),(void 0===a||s-r<a)&&(a=s-r),-1),l=-1;(0<r||a<s)&&(i=[],o=e.hasTrailingComma&&r+a===s);for(var d=0;d<a;d++){var u=e[d+r],p=void 0!==u?n(u):void 0;if((void 0!==i||void 0===p||p!==u)&&(void 0===i&&(i=e.slice(0,d),o=e.hasTrailingComma,c=e.pos,l=e.end),p))if(Jn.isArray(p))for(var m=0,_=p;m<_.length;m++){var f=_[m];Jn.Debug.assertNode(f,t),i.push(f)}else Jn.Debug.assertNode(p,t),i.push(p)}return i?(s=Jn.factory.createNodeArray(i,o),Jn.setTextRangePosEnd(s,c,l),s):e}function pk(e,n,t,r,a,i){return void 0===i&&(i=uk),t.startLexicalEnvironment(),e=i(e,n,Jn.isStatement,r),a&&(e=t.factory.ensureUseStrict(e)),Jn.factory.mergeLexicalEnvironment(e,t.endLexicalEnvironment())}function mk(e,n,t,r){var a;return void 0===r&&(r=uk),t.startLexicalEnvironment(),e&&(t.setLexicalEnvironmentFlags(1,!0),a=r(e,n,Jn.isParameterDeclaration),2&t.getLexicalEnvironmentFlags()&&2<=Jn.getEmitScriptTarget(t.getCompilerOptions())&&(a=((e,n)=>{for(var t,r=0;r<e.length;r++){var a=e[r],i=((e,n)=>{var t,r,a,i,o,s;return e.dotDotDotToken?e:Jn.isBindingPattern(e.name)?(t=e,r=n.factory,n.addInitializationStatement(r.createVariableStatement(void 0,r.createVariableDeclarationList([r.createVariableDeclaration(t.name,void 0,t.type,t.initializer?r.createConditionalExpression(r.createStrictEquality(r.getGeneratedNameForNode(t),r.createVoidZero()),void 0,t.initializer,void 0,r.getGeneratedNameForNode(t)):r.getGeneratedNameForNode(t))]))),r.updateParameterDeclaration(t,t.decorators,t.modifiers,t.dotDotDotToken,r.getGeneratedNameForNode(t),t.questionToken,t.type,void 0)):e.initializer?(i=(a=e).name,o=e.initializer,s=n.factory,n.addInitializationStatement(s.createIfStatement(s.createTypeCheck(s.cloneNode(i),"undefined"),Jn.setEmitFlags(Jn.setTextRange(s.createBlock([s.createExpressionStatement(Jn.setEmitFlags(Jn.setTextRange(s.createAssignment(Jn.setEmitFlags(s.cloneNode(i),48),Jn.setEmitFlags(o,1584|Jn.getEmitFlags(o))),a),1536))]),a),1953))),s.updateParameterDeclaration(a,a.decorators,a.modifiers,a.dotDotDotToken,a.name,a.questionToken,a.type,void 0)):e})(a,n);!t&&i===a||((t=t||e.slice(0,r))[r]=i)}return t?Jn.setTextRange(n.factory.createNodeArray(t,e.hasTrailingComma),e):e})(a,t)),t.setLexicalEnvironmentFlags(1,!1)),t.suspendLexicalEnvironment(),a}function _k(e,n,t,r){void 0===r&&(r=dk),t.resumeLexicalEnvironment();var a;r=r(e,n,Jn.isConciseBody),e=t.endLexicalEnvironment();return Jn.some(e)?r?(n=t.factory.converters.convertToFunctionBlock(r),a=Jn.factory.mergeLexicalEnvironment(n.statements,e),t.factory.updateBlock(n,a)):t.factory.createBlock(e):r}function fk(e,n,t){return t.startBlockScope(),e=dk(e,n,Jn.isStatement,t.factory.liftToBlock),n=t.endBlockScope(),Jn.some(n)?Jn.isBlock(e)?(n.push.apply(n,e.statements),t.factory.updateBlock(e,n)):(n.push(e),t.factory.createBlock(n)):e}function gk(e){return Jn.Debug.assert(e.length<=1,"Too many nodes written to output."),Jn.singleOrUndefined(e)}function yk(e){return"string"==typeof e||null===e}function hk(e){return null!==e&&"object"==typeof e&&3===e.version&&"string"==typeof e.file&&"string"==typeof e.mappings&&qn.isArray(e.sources)&&qn.every(e.sources,qn.isString)&&(null==e.sourceRoot||"string"==typeof e.sourceRoot)&&(null==e.sourcesContent||qn.isArray(e.sourcesContent)&&qn.every(e.sourcesContent,yk))&&(null==e.names||qn.isArray(e.names)&&qn.every(e.names,qn.isString))}function vk(e){var n,t=!1,r=0,a=0,i=0,o=0,s=0,c=0,l=0;return{get pos(){return r},get error(){return n},get state(){return d(!0,!0)},next:function(){for(;!t&&r<e.length;){var n=e.charCodeAt(r);if(59===n)a++,i=0;else if(44!==n){n=!1;var p=!1;if(i+=g(),_())return u();if(i<0)return m("Invalid generatedCharacter found");if(!f()){if(n=!0,o+=g(),_())return u();if(o<0)return m("Invalid sourceIndex found");if(f())return m("Unsupported Format: No entries after sourceIndex");if(s+=g(),_())return u();if(s<0)return m("Invalid sourceLine found");if(f())return m("Unsupported Format: No entries after sourceLine");if(c+=g(),_())return u();if(c<0)return m("Invalid sourceCharacter found");if(!f()){if(p=!0,l+=g(),_())return u();if(l<0)return m("Invalid nameIndex found");if(!f())return m("Unsupported Error Format: Entries after nameIndex")}}return{value:d(n,p),done:t}}r++}return u()}};function d(e,n){return{generatedLine:a,generatedCharacter:i,sourceIndex:e?o:void 0,sourceLine:e?s:void 0,sourceCharacter:e?c:void 0,nameIndex:n?l:void 0}}function u(){return{value:void 0,done:t=!0}}function p(e){void 0===n&&(n=e)}function m(e){return p(e),u()}function _(){return void 0!==n}function f(){return r===e.length||44===e.charCodeAt(r)||59===e.charCodeAt(r)}function g(){for(var n=!0,t=0,a=0;n;r++){if(r>=e.length)return p("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;var i=65<=(i=e.charCodeAt(r))&&i<=90?i-65:97<=i&&i<=122?i-97+26:48<=i&&i<=57?i-48+52:43===i?62:47===i?63:-1;if(-1==i)return p("Invalid character in VLQ"),-1;n=0!=(32&i),a|=(31&i)<<t,t+=5}return 0==(1&a)?a>>=1:a=-(a>>=1),a}}function bk(e){return void 0!==e.sourceIndex&&void 0!==e.sourceLine&&void 0!==e.sourceCharacter}function Ek(e){return void 0!==e.sourceIndex&&void 0!==e.sourcePosition}function Tk(e,n){return e.generatedPosition===n.generatedPosition&&e.sourceIndex===n.sourceIndex&&e.sourcePosition===n.sourcePosition}function Sk(e,n){return qn.Debug.assert(e.sourceIndex===n.sourceIndex),qn.compareValues(e.sourcePosition,n.sourcePosition)}function xk(e,n){return qn.compareValues(e.generatedPosition,n.generatedPosition)}function Lk(e){return e.sourcePosition}function Dk(e){return e.generatedPosition}function Ak(e){return(e=Qn.getOriginalNode(e))?Qn.getNodeId(e):0}function Ck(e){return void 0!==e.propertyName&&"default"===e.propertyName.escapedText}function Ik(e){if(Qn.getNamespaceDeclarationNode(e))return!0;var n=e.importClause&&e.importClause.namedBindings;if(!n)return!1;if(!Qn.isNamedImports(n))return!1;for(var t=0,r=0,a=n.elements;r<a.length;r++)Ck(a[r])&&t++;return 0<t&&t!==n.elements.length||!!(n.elements.length-t)&&Qn.isDefaultImport(e)}function Nk(e){return!Ik(e)&&(Qn.isDefaultImport(e)||!!e.importClause&&Qn.isNamedImports(e.importClause.namedBindings)&&!!(e=e.importClause.namedBindings)&&!!Qn.isNamedImports(e)&&Qn.some(e.elements,Ck))}function kk(e,n,t){var r=e[n];r?r.push(t):e[n]=r=[t]}function Rk(e){return Qn.isStringLiteralLike(e)||8===e.kind||Qn.isKeyword(e.kind)||Qn.isIdentifier(e)}function Ok(e){return n=e,Qn.isPropertyDeclaration(n)&&Qn.hasStaticModifier(n)||Qn.isClassStaticBlockDeclaration(e);var n}function Pk(e,n){if(e=Zn.getTargetOfBindingOrAssignmentElement(e),!Zn.isBindingOrAssignmentPattern(e))return Zn.isIdentifier(e)&&e.escapedText===n;for(var t=n,r=(e=Zn.getElementsOfBindingOrAssignmentPattern(e),0),a=e;r<a.length;r++)if(Pk(a[r],t))return 1}function wk(e){var n=Zn.tryGetPropertyNameOfBindingOrAssignmentElement(e);return!(!n||!Zn.isComputedPropertyName(n)||Zn.isLiteralExpression(n.expression))||!!(n=Zn.getTargetOfBindingOrAssignmentElement(e))&&Zn.isBindingOrAssignmentPattern(n)&&!!Zn.forEach(Zn.getElementsOfBindingOrAssignmentPattern(n),wk)}function Mk(e,n,t,r,a){var i=Zn.getTargetOfBindingOrAssignmentElement(n);if(a||((a=Zn.visitNode(Zn.getInitializerOfBindingOrAssignmentElement(n),e.visitor,Zn.isExpression))?t?(T=a,S=Gk(l=e,S=t,!0,r),t=l.context.factory.createConditionalExpression(l.context.factory.createTypeCheck(S,"undefined"),void 0,T,void 0,S),!Zn.isSimpleInlineableExpression(a)&&Zn.isBindingOrAssignmentPattern(i)&&(t=Gk(e,t,!0,r))):t=a:t=t||e.context.factory.createVoidZero()),Zn.isObjectBindingOrAssignmentPattern(i)){var o,s,c=e,l=n,d=i,u=t,p=r,m=Zn.getElementsOfBindingOrAssignmentPattern(d),_=m.length;1!==_&&(l=!Zn.isDeclarationBindingElement(l)||0!==_,u=Gk(c,u,l,p));for(var f=0;f<_;f++){var g,y,h=m[f];Zn.getRestIndicatorOfBindingOrAssignmentElement(h)?f===_-1&&(o&&(c.emitBindingOrAssignment(c.createObjectBindingOrAssignmentPattern(o),u,p,d),o=void 0),y=c.context.getEmitHelperFactory().createRestHelper(u,m,s,d),Mk(c,h,y,h)):(g=Zn.getPropertyNameOfBindingOrAssignmentElement(h),!(1<=c.level)||49152&h.transformFlags||49152&Zn.getTargetOfBindingOrAssignmentElement(h).transformFlags||Zn.isComputedPropertyName(g)?(o&&(c.emitBindingOrAssignment(c.createObjectBindingOrAssignmentPattern(o),u,p,d),o=void 0),y=((e,n,t)=>{var r;return Zn.isComputedPropertyName(t)?(r=Gk(e,Zn.visitNode(t.expression,e.visitor),!1,t),e.context.factory.createElementAccessExpression(n,r)):Zn.isStringOrNumericLiteralLike(t)?(r=Zn.factory.cloneNode(t),e.context.factory.createElementAccessExpression(n,r)):(r=e.context.factory.createIdentifier(Zn.idText(t)),e.context.factory.createPropertyAccessExpression(n,r))})(c,u,g),Zn.isComputedPropertyName(g)&&(s=Zn.append(s,y.argumentExpression)),Mk(c,h,y,h)):o=Zn.append(o,Zn.visitNode(h,c.visitor)))}o&&c.emitBindingOrAssignment(c.createObjectBindingOrAssignmentPattern(o),u,p,d)}else if(Zn.isArrayBindingOrAssignmentPattern(i)){var v,b,E=e,T=n,S=i,x=t,L=(a=r,Zn.getElementsOfBindingOrAssignmentPattern(S)),D=L.length;E.level<1&&E.downlevelIteration?x=Gk(E,Zn.setTextRange(E.context.getEmitHelperFactory().createReadHelper(x,0<D&&Zn.getRestIndicatorOfBindingOrAssignmentElement(L[D-1])?void 0:D),a),!1,a):(1!==D&&(E.level<1||0===D)||Zn.every(L,Zn.isOmittedExpression))&&(T=!Zn.isDeclarationBindingElement(T)||0!==D,x=Gk(E,x,T,a));for(var A=0;A<D;A++){var C,I,N=L[A];1<=E.level?v=32768&N.transformFlags||E.hasTransformedPriorElement&&!Fk(N)?(E.hasTransformedPriorElement=!0,C=E.context.factory.createTempVariable(void 0),E.hoistTempVariables&&E.context.hoistVariableDeclaration(C),b=Zn.append(b,[C,N]),Zn.append(v,E.createArrayBindingOrAssignmentElement(C))):Zn.append(v,N):Zn.isOmittedExpression(N)||(Zn.getRestIndicatorOfBindingOrAssignmentElement(N)?A===D-1&&(I=E.context.factory.createArraySliceCall(x,A),Mk(E,N,I,N)):(I=E.context.factory.createElementAccessExpression(x,A),Mk(E,N,I,N)))}if(v&&E.emitBindingOrAssignment(E.createArrayBindingOrAssignmentPattern(v),x,a,S),b)for(var k=0,R=b;k<R.length;k++){var O=R[k],P=O[0];Mk(E,N=O[1],P,N)}}else e.emitBindingOrAssignment(i,t,r,n)}function Fk(e){var n,t=Zn.getTargetOfBindingOrAssignmentElement(e);return!(t&&!Zn.isOmittedExpression(t))||!((n=Zn.tryGetPropertyNameOfBindingOrAssignmentElement(e))&&!Zn.isPropertyNameLiteral(n)||(n=Zn.getInitializerOfBindingOrAssignmentElement(e))&&!Zn.isSimpleInlineableExpression(n))&&(Zn.isBindingOrAssignmentPattern(t)?Zn.every(Zn.getElementsOfBindingOrAssignmentPattern(t),Fk):Zn.isIdentifier(t))}function Gk(e,n,t,r){return Zn.isIdentifier(n)&&t?n:(t=e.context.factory.createTempVariable(void 0),e.hoistTempVariables?(e.context.hoistVariableDeclaration(t),e.emitExpression(Zn.setTextRange(e.context.factory.createAssignment(t,n),r))):e.emitBindingOrAssignment(t,n,r,void 0),t)}function Bk(e){return e}function Uk(e){return e.templateFlags?$n.factory.createVoidZero():$n.factory.createStringLiteral(e.text)}function Vk(e,n){var t=e.rawText;return void 0===t&&($n.Debug.assertIsDefined(n,"Template literal node is missing 'rawText' and does not have a source file. Possibly bad transform."),t=$n.getSourceTextOfNodeFromSourceFile(n,e),n=14===e.kind||17===e.kind,t=t.substring(1,t.length-(n?1:2))),t=t.replace(/\r\n?/g,"\n"),$n.setTextRange($n.factory.createStringLiteral(t),e)}function jk(e,n,t,r){var a=0!=(4096&n.getNodeCheckFlags(t)),i=[];return r.forEach((function(n,t){t=rt.unescapeLeadingUnderscores(t);var r=[];r.push(e.createPropertyAssignment("get",e.createArrowFunction(void 0,void 0,[],void 0,void 0,rt.setEmitFlags(e.createPropertyAccessExpression(rt.setEmitFlags(e.createSuper(),4),t),4)))),a&&r.push(e.createPropertyAssignment("set",e.createArrowFunction(void 0,void 0,[e.createParameterDeclaration(void 0,void 0,void 0,"v",void 0,void 0,void 0)],void 0,void 0,e.createAssignment(rt.setEmitFlags(e.createPropertyAccessExpression(rt.setEmitFlags(e.createSuper(),4),t),4),e.createIdentifier("v"))))),i.push(e.createPropertyAssignment(t,e.createObjectLiteralExpression(r)))})),e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.createUniqueName("_super",48),void 0,void 0,e.createCallExpression(e.createPropertyAccessExpression(e.createIdentifier("Object"),"create"),void 0,[e.createNull(),e.createObjectLiteralExpression(i,!0)]))],2))}function Kk(e,n){return{kind:e,expression:n}}function Hk(e){return vt.isVariableDeclaration(e)||vt.isPropertyDeclaration(e)||vt.isPropertySignature(e)||vt.isPropertyAccessExpression(e)||vt.isBindingElement(e)||vt.isConstructorDeclaration(e)?n:vt.isSetAccessor(e)||vt.isGetAccessor(e)?function(n){return n=171===e.kind?vt.isStatic(e)?n.errorModuleName?vt.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:vt.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:n.errorModuleName?vt.Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:vt.Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:vt.isStatic(e)?n.errorModuleName?2===n.accessibility?vt.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:vt.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:vt.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:n.errorModuleName?2===n.accessibility?vt.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:vt.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:vt.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1,{diagnosticMessage:n,errorNode:e.name,typeName:e.name}}:vt.isConstructSignatureDeclaration(e)||vt.isCallSignatureDeclaration(e)||vt.isMethodDeclaration(e)||vt.isMethodSignature(e)||vt.isFunctionDeclaration(e)||vt.isIndexSignatureDeclaration(e)?function(n){var t;switch(e.kind){case 173:t=n.errorModuleName?vt.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:vt.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 172:t=n.errorModuleName?vt.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:vt.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 174:t=n.errorModuleName?vt.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:vt.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 167:case 166:t=vt.isStatic(e)?n.errorModuleName?2===n.accessibility?vt.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:vt.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:vt.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:255===e.parent.kind?n.errorModuleName?2===n.accessibility?vt.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:vt.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:vt.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:n.errorModuleName?vt.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:vt.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0;break;case 254:t=n.errorModuleName?2===n.accessibility?vt.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:vt.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:vt.Diagnostics.Return_type_of_exported_function_has_or_is_using_private_name_0;break;default:return vt.Debug.fail("This is unknown kind for signature: "+e.kind)}return{diagnosticMessage:t,errorNode:e.name||e}}:vt.isParameter(e)?vt.isParameterPropertyDeclaration(e,e.parent)&&vt.hasSyntacticModifier(e.parent,8)?n:function(n){return n=(n=>{switch(e.parent.kind){case 169:return n.errorModuleName?2===n.accessibility?vt.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:vt.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:vt.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1;case 173:case 178:return n.errorModuleName?vt.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:vt.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;case 172:return n.errorModuleName?vt.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:vt.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;case 174:return n.errorModuleName?vt.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:vt.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1;case 167:case 166:return vt.isStatic(e.parent)?n.errorModuleName?2===n.accessibility?vt.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:vt.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:vt.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:255===e.parent.parent.kind?n.errorModuleName?2===n.accessibility?vt.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:vt.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:vt.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:n.errorModuleName?vt.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:vt.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;case 254:case 177:return n.errorModuleName?2===n.accessibility?vt.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:vt.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:vt.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_private_name_1;case 171:case 170:return n.errorModuleName?2===n.accessibility?vt.Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:vt.Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:vt.Diagnostics.Parameter_0_of_accessor_has_or_is_using_private_name_1;default:return vt.Debug.fail("Unknown parent for parameter: "+vt.SyntaxKind[e.parent.kind])}})(n),void 0!==n?{diagnosticMessage:n,errorNode:e,typeName:e.name}:void 0}:vt.isTypeParameterDeclaration(e)?function(){var n;switch(e.parent.kind){case 255:n=vt.Diagnostics.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 256:n=vt.Diagnostics.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 193:n=vt.Diagnostics.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;break;case 178:case 173:n=vt.Diagnostics.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 172:n=vt.Diagnostics.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 167:case 166:n=vt.isStatic(e.parent)?vt.Diagnostics.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:255===e.parent.parent.kind?vt.Diagnostics.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:vt.Diagnostics.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;break;case 177:case 254:n=vt.Diagnostics.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 257:n=vt.Diagnostics.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1;break;default:return vt.Debug.fail("This is unknown parent for type parameter: "+e.parent.kind)}return{diagnosticMessage:n,errorNode:e,typeName:e.name}}:vt.isExpressionWithTypeArguments(e)?function(){var n;return n=vt.isClassDeclaration(e.parent.parent)?vt.isHeritageClause(e.parent)&&117===e.parent.token?vt.Diagnostics.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:e.parent.parent.name?vt.Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1:vt.Diagnostics.extends_clause_of_exported_class_has_or_is_using_private_name_0:vt.Diagnostics.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1,{diagnosticMessage:n,errorNode:e,typeName:vt.getNameOfDeclaration(e.parent.parent)}}:vt.isImportEqualsDeclaration(e)?function(){return{diagnosticMessage:vt.Diagnostics.Import_declaration_0_is_using_private_name_1,errorNode:e,typeName:e.name}}:vt.isTypeAliasDeclaration(e)||vt.isJSDocTypeAlias(e)?function(n){return{diagnosticMessage:n.errorModuleName?vt.Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:vt.Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1,errorNode:vt.isJSDocTypeAlias(e)?vt.Debug.checkDefined(e.typeExpression):e.type,typeName:vt.isJSDocTypeAlias(e)?vt.getNameOfDeclaration(e):e.name}}:vt.Debug.assertNever(e,"Attempted to set a declaration diagnostic context for unhandled node kind: "+vt.SyntaxKind[e.kind]);function n(n){return n=n,n=252===e.kind||201===e.kind?n.errorModuleName?2===n.accessibility?vt.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:vt.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_private_module_2:vt.Diagnostics.Exported_variable_0_has_or_is_using_private_name_1:165===e.kind||204===e.kind||164===e.kind||162===e.kind&&vt.hasSyntacticModifier(e.parent,8)?vt.isStatic(e)?n.errorModuleName?2===n.accessibility?vt.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:vt.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:vt.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:255===e.parent.kind||162===e.kind?n.errorModuleName?2===n.accessibility?vt.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:vt.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:vt.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1:n.errorModuleName?vt.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:vt.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1:void 0,void 0!==n?{diagnosticMessage:n,errorNode:e,typeName:e.name}:void 0}}function Wk(e,n){return n=n.text.substring(e.pos,e.end),bt.stringContains(n,"@internal")}function zk(e,n){var t,r,a=bt.getParseTreeNode(e);return a&&162===a.kind?(t=0<(t=a.parent.parameters.indexOf(a))?a.parent.parameters[t-1]:void 0,r=n.text,(t=t?bt.concatenate(bt.getTrailingCommentRanges(r,bt.skipTrivia(r,t.end+1,!1,!0)),bt.getLeadingCommentRanges(r,e.pos)):bt.getTrailingCommentRanges(r,bt.skipTrivia(r,e.pos,!1,!0)))&&t.length&&Wk(bt.last(t),n)):(r=a&&bt.getLeadingCommentRangesOfNode(a,n),!!bt.forEach(r,(function(e){return Wk(e,n)})))}function Jk(e){function n(){return bt.Debug.fail("Diagnostic emitted without context")}var t,r,a,i,o,s,c,l,d,u,p,m,_=n,f=!0,g=!1,y=!1,h=!1,v=!1,b=e.factory,E=e.getEmitHost(),T={trackSymbol:function(e,n,t){return!(262144&e.flags)&&(n=C(S.isSymbolAccessible(e,n,t,!0)),A(S.getTypeReferenceDirectivesForSymbol(e,t)),n)},reportInaccessibleThisError:function(){(c||l)&&e.addDiagnostic(bt.createDiagnosticForNode(c||l,bt.Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,I(),"this"))},reportInaccessibleUniqueSymbolError:function(){(c||l)&&e.addDiagnostic(bt.createDiagnosticForNode(c||l,bt.Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,I(),"unique symbol"))},reportCyclicStructureError:function(){(c||l)&&e.addDiagnostic(bt.createDiagnosticForNode(c||l,bt.Diagnostics.The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary,I()))},reportPrivateInBaseOfClassExpression:function(n){(c||l)&&e.addDiagnostic(bt.createDiagnosticForNode(c||l,bt.Diagnostics.Property_0_of_exported_class_expression_may_not_be_private_or_protected,n))},reportLikelyUnsafeImportRequiredError:function(n){(c||l)&&e.addDiagnostic(bt.createDiagnosticForNode(c||l,bt.Diagnostics.The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary,I(),n))},reportTruncationError:function(){(c||l)&&e.addDiagnostic(bt.createDiagnosticForNode(c||l,bt.Diagnostics.The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed))},moduleResolverHost:E,trackReferencedAmbientModule:function(e,n){if(n=S.getTypeReferenceDirectivesForSymbol(n,67108863),bt.length(n))return A(n);n=bt.getSourceFileOfNode(e),u.set(bt.getOriginalNodeId(n),n)},trackExternalModuleSymbolOfImportTypeNode:function(e){g||(s=s||[]).push(e)},reportNonlocalAugmentation:function(n,t,r){var a=null==(t=t.declarations)?void 0:t.find((function(e){return bt.getSourceFileOfNode(e)===n}));t=bt.filter(r.declarations,(function(e){return bt.getSourceFileOfNode(e)!==n}));if(t)for(var i=0,o=t;i<o.length;i++){var s=o[i];e.addDiagnostic(bt.addRelatedInfo(bt.createDiagnosticForNode(s,bt.Diagnostics.Declaration_augments_declaration_in_another_file_This_cannot_be_serialized),bt.createDiagnosticForNode(a,bt.Diagnostics.This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file)))}},reportNonSerializableProperty:function(n){(c||l)&&e.addDiagnostic(bt.createDiagnosticForNode(c||l,bt.Diagnostics.The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized,n))}},S=e.getEmitResolver(),x=e.getCompilerOptions(),L=x.noResolve,D=x.stripInternal;return function(c){if(300===c.kind&&c.isDeclarationFile)return c;var l;if(301===c.kind)return g=!0,u=new bt.Map,p=new bt.Map,l=!1,(L=b.createBundle(bt.map(c.sourceFiles,(function(r){if(!r.isDeclarationFile){if(l=l||r.hasNoDefaultLib,t=d=r,a=void 0,o=!1,i=new bt.Map,_=n,v=h=!1,k(r,u),R(r,p),bt.isExternalOrCommonJsModule(r)||bt.isJsonSourceFile(r))return f=y=!1,s=bt.isSourceFileJS(r)?b.createNodeArray(N(r,!0)):bt.visitNodes(r.statements,q),b.updateSourceFile(r,[b.createModuleDeclaration([],[b.createModifier(134)],b.createStringLiteral(bt.getResolvedExternalModuleName(e.getEmitHost(),r)),b.createModuleBlock(bt.setTextRange(b.createNodeArray(z(s)),r.statements)))],!0,[],[],!1,[]);f=!0;var s=bt.isSourceFileJS(r)?b.createNodeArray(N(r)):bt.visitNodes(r.statements,q);return b.updateSourceFile(r,z(s),!0,[],[],!1,[])}})),bt.mapDefined(c.prepends,(function(e){var n;return 303===e.kind?(n=bt.createUnparsedSourceFile(e,"dts",D),l=l||!!n.hasNoDefaultLib,k(n,u),A(n.typeReferenceDirectives),R(n,p),n):e})))).syntheticFileReferences=[],L.syntheticTypeReferences=O(),L.syntheticLibReferences=I(),L.hasNoDefaultLib=l,S=bt.getDirectoryPath(bt.normalizeSlashes(bt.getOutputPathsFor(c,E,!0).declarationFilePath)),S=w(L.syntheticFileReferences,S),u.forEach(S),L;f=!0,d=t=c,_=n,o=y=g=v=h=!1,a=void 0,i=new bt.Map,r=void 0,u=k(d,new bt.Map),p=R(d,new bt.Map);var T,S=[],L=bt.getDirectoryPath(bt.normalizeSlashes(bt.getOutputPathsFor(c,E,!0).declarationFilePath));L=w(S,L);bt.isSourceFileJS(d)?(T=b.createNodeArray(N(c)),u.forEach(L),m=bt.filter(T,bt.isAnyImportSyntax)):(C=bt.visitNodes(c.statements,q),T=bt.setTextRange(b.createNodeArray(z(C)),c.statements),u.forEach(L),m=bt.filter(T,bt.isAnyImportSyntax),bt.isExternalModule(c)&&(!y||h&&!v)&&(T=bt.setTextRange(b.createNodeArray(eu(eu([],T,!0),[bt.createEmptyExports(b)],!1)),T)));var C=b.updateSourceFile(c,T,!0,S,O(),c.hasNoDefaultLib,I());return C.exportedModulesFromDeclarationEmit=s,C;function I(){return bt.map(bt.arrayFrom(p.keys()),(function(e){return{fileName:e,pos:-1,end:-1}}))}function O(){return r?bt.mapDefined(bt.arrayFrom(r.keys()),P):[]}function P(e){if(m)for(var n=0,t=m;n<t.length;n++){var r=t[n];if(bt.isImportEqualsDeclaration(r)&&bt.isExternalModuleReference(r.moduleReference)){var a=r.moduleReference.expression;if(bt.isStringLiteralLike(a)&&a.text===e)return}else if(bt.isImportDeclaration(r)&&bt.isStringLiteral(r.moduleSpecifier)&&r.moduleSpecifier.text===e)return}return{fileName:e,pos:-1,end:-1}}function w(e,n){return function(t){if(t.isDeclarationFile)a=t.fileName;else{if(g&&bt.contains(c.sourceFiles,t))return;var r=bt.getOutputPathsFor(t,E,!0),a=r.declarationFilePath||r.jsFilePath||t.fileName}a&&(r=bt.moduleSpecifiers.getModuleSpecifier(x,d,bt.toPath(n,E.getCurrentDirectory(),E.getCanonicalFileName),bt.toPath(a,E.getCurrentDirectory(),E.getCanonicalFileName),E),bt.pathIsRelative(r)?(t=bt.getRelativePathToDirectoryOrUrl(n,a,E.getCurrentDirectory(),E.getCanonicalFileName,!1),bt.startsWith(t,"./")&&bt.hasExtension(t)&&(t=t.substring(2)),bt.startsWith(t,"node_modules/")||bt.pathContainsNodeModules(t)||e.push({pos:-1,end:-1,fileName:t})):A([r]))}}};function A(e){if(e){r=r||new bt.Set;for(var n=0,t=e;n<t.length;n++){var a=t[n];r.add(a)}}}function C(n){if(0===n.accessibility){if(n&&n.aliasesToMakeVisible)if(a)for(var t=0,r=n.aliasesToMakeVisible;t<r.length;t++){var i=r[t];bt.pushIfUnique(a,i)}else a=n.aliasesToMakeVisible}else{var o=_(n);if(o)return o.typeName?e.addDiagnostic(bt.createDiagnosticForNode(n.errorNode||o.errorNode,o.diagnosticMessage,bt.getTextOfNode(o.typeName),n.errorSymbolName,n.errorModuleName)):e.addDiagnostic(bt.createDiagnosticForNode(n.errorNode||o.errorNode,o.diagnosticMessage,n.errorSymbolName,n.errorModuleName)),!0}return!1}function I(){return c?bt.declarationNameToString(c):l&&bt.getNameOfDeclaration(l)?bt.declarationNameToString(bt.getNameOfDeclaration(l)):l&&bt.isExportAssignment(l)?l.isExportEquals?"export=":"default":"(Missing)"}function N(e,n){var t=_;_=function(n){return n.errorNode&&bt.canProduceDiagnostics(n.errorNode)?bt.createGetSymbolAccessibilityDiagnosticForNode(n.errorNode)(n):{diagnosticMessage:n.errorModuleName?bt.Diagnostics.Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:bt.Diagnostics.Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit,errorNode:n.errorNode||e}},n=S.getDeclarationStatementsForSourceFile(e,Et,T,n);return _=t,n}function k(e,n){return L||!bt.isUnparsedSource(e)&&bt.isSourceFileJS(e)||bt.forEach(e.referencedFiles,(function(t){t=E.getSourceFileFromReference(e,t),t&&n.set(bt.getOriginalNodeId(t),t)})),n}function R(e,n){return bt.forEach(e.libReferenceDirectives,(function(e){E.getLibFileFromReference(e)&&n.set(bt.toFileNameLowerCase(e.fileName),!0)})),n}function O(e,n,t){o||(r=_,_=bt.createGetSymbolAccessibilityDiagnosticForNode(e));var r,a;n=b.updateParameterDeclaration(e,void 0,bt.factory.createModifiersFromModifierFlags(qk(e,n,a)),e.dotDotDotToken,function e(n){return 79===n.kind?n:200===n.kind?b.updateArrayBindingPattern(n,bt.visitNodes(n.elements,t)):b.updateObjectBindingPattern(n,bt.visitNodes(n.elements,t));function t(n){return 225===n.kind?n:b.updateBindingElement(n,n.dotDotDotToken,n.propertyName,e(n.name),P(n)?n.initializer:void 0)}}(e.name),S.isOptionalParameter(e)?e.questionToken||b.createToken(57):void 0,M(e,t||e.type,!0),w(e));return o||(_=r),n}function P(e){return(e=>{switch(e.kind){case 165:case 164:return!bt.hasEffectiveModifier(e,8);case 162:case 252:return!0}return!1})(e)&&S.isLiteralConstDeclaration(bt.getParseTreeNode(e))}function w(e){if(P(e))return S.createLiteralConstValue(bt.getParseTreeNode(e),T)}function M(e,n,r){var a;if((r||!bt.hasEffectiveModifier(e,8))&&!P(e))return r=162===e.kind&&(S.isRequiredInitializedParameter(e)||S.isOptionalUninitializedParameterProperty(e)),n&&!r?bt.visitNode(n,J):bt.getParseTreeNode(e)?171===e.kind?b.createKeywordTypeNode(129):(c=e.name,o||(a=_,_=bt.createGetSymbolAccessibilityDiagnosticForNode(e)),252===e.kind||201===e.kind?i(S.createTypeOfDeclaration(e,t,Et,T)):162===e.kind||165===e.kind||164===e.kind?e.initializer?i(S.createTypeOfDeclaration(e,t,Et,T,r)||S.createTypeOfExpression(e.initializer,t,Et,T)):i(S.createTypeOfDeclaration(e,t,Et,T,r)):i(S.createReturnTypeOfSignatureDeclaration(e,t,Et,T))):n?bt.visitNode(n,J):b.createKeywordTypeNode(129);function i(e){return c=void 0,o||(_=a),e||b.createKeywordTypeNode(129)}}function F(e){switch((e=bt.getParseTreeNode(e)).kind){case 254:case 259:case 256:case 255:case 257:case 258:return!S.isDeclarationVisible(e);case 252:return!G(e);case 263:case 264:case 270:case 269:return;case 168:return 1}}function G(e){return!bt.isOmittedExpression(e)&&(bt.isBindingPattern(e.name)?bt.some(e.name.elements,G):S.isDeclarationVisible(e))}function B(e,n,t){if(!bt.hasEffectiveModifier(e,8)&&(e=bt.map(n,(function(e){return O(e,t)})),e))return b.createNodeArray(e,n.hasTrailingComma)}function U(e,n){var t,r;return n||(r=bt.getThisParameter(e))&&(t=[O(r)]),bt.isSetAccessorDeclaration(e)&&(r=void 0,n||(n=bt.getSetAccessorValueParameter(e))&&(r=O(n,void 0,ne(e,S.getAllAccessorDeclarations(e)))),r=r||b.createParameterDeclaration(void 0,void 0,void 0,"value"),t=bt.append(t,r)),b.createNodeArray(t||bt.emptyArray)}function V(e,n){return bt.hasEffectiveModifier(e,8)?void 0:bt.visitNodes(n,J)}function j(e){return bt.isSourceFile(e)||bt.isTypeAliasDeclaration(e)||bt.isModuleDeclaration(e)||bt.isClassDeclaration(e)||bt.isInterfaceDeclaration(e)||bt.isFunctionLike(e)||bt.isIndexSignatureDeclaration(e)||bt.isMappedTypeNode(e)}function K(e,n){C(S.isEntityNameVisible(e,n)),A(S.getTypeReferenceDirectivesForEntityName(e))}function H(e,n){return bt.hasJSDocNodes(e)&&bt.hasJSDocNodes(n)&&(e.jsDoc=n.jsDoc),bt.setCommentRange(e,bt.getCommentRange(n))}function W(n,t){if(t){if(y=y||259!==n.kind&&198!==n.kind,bt.isStringLiteralLike(t))if(g){if(n=bt.getExternalModuleNameFromDeclaration(e.getEmitHost(),S,n),n)return b.createStringLiteral(n)}else n=S.getSymbolOfExternalModuleSpecifier(t),n&&(s=s||[]).push(n);return t}}function z(e){for(;bt.length(a);){var n=a.shift();if(!bt.isLateVisibilityPaintedStatement(n))return bt.Debug.fail("Late replaced statement was found which is not handled by the declaration transformer!: "+(bt.SyntaxKind?bt.SyntaxKind[n.kind]:n.kind));var t=f,r=(f=n.parent&&bt.isSourceFile(n.parent)&&!(bt.isExternalModule(n.parent)&&g),Y(n));f=t,i.set(bt.getOriginalNodeId(n),r)}return bt.visitNodes(e,(function(e){if(bt.isLateVisibilityPaintedStatement(e)){var n,t=bt.getOriginalNodeId(e);if(i.has(t))return n=i.get(t),i.delete(t),n&&((bt.isArray(n)?bt.some(n,bt.needsScopeMarker):bt.needsScopeMarker(n))&&(h=!0),bt.isSourceFile(e.parent))&&(bt.isArray(n)?bt.some(n,bt.isExternalModuleIndicator):bt.isExternalModuleIndicator(n))&&(y=!0),n}return e}))}function J(n){if(!Z(n)){if(bt.isDeclaration(n)){if(F(n))return;if(bt.hasDynamicName(n)&&!S.isLateBound(bt.getParseTreeNode(n)))return}if(!(bt.isFunctionLike(n)&&S.isImplementationOfOverload(n)||bt.isSemicolonClassElement(n))){j(n)&&(r=t,t=n);var r,a=_,i=bt.canProduceDiagnostics(n),s=o,l=(180===n.kind||193===n.kind)&&257!==n.parent.kind;if((bt.isMethodDeclaration(n)||bt.isMethodSignature(n))&&bt.hasEffectiveModifier(n,8))return n.symbol&&n.symbol.declarations&&n.symbol.declarations[0]!==n?void 0:y(b.createPropertyDeclaration(void 0,ee(n),n.name,void 0,void 0,void 0));if(i&&!o&&(_=bt.createGetSymbolAccessibilityDiagnosticForNode(n)),bt.isTypeQueryNode(n)&&K(n.exprName,t),l&&(o=!0),(e=>{switch(e.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 1}})(n))switch(n.kind){case 226:(bt.isEntityName(n.expression)||bt.isEntityNameExpression(n.expression))&&K(n.expression,t);var u=bt.visitEachChild(n,J,e);return y(b.updateExpressionWithTypeArguments(u,u.expression,u.typeArguments));case 176:return K(n.typeName,t),u=bt.visitEachChild(n,J,e),y(b.updateTypeReferenceNode(u,u.typeName,u.typeArguments));case 173:return y(b.updateConstructSignature(n,V(n,n.typeParameters),B(n,n.parameters),M(n,n.type)));case 169:return y(b.createConstructorDeclaration(void 0,ee(n),B(n,n.parameters,0),void 0));case 167:return bt.isPrivateIdentifier(n.name)?y(void 0):y(b.createMethodDeclaration(void 0,ee(n),void 0,n.name,n.questionToken,V(n,n.typeParameters),B(n,n.parameters),M(n,n.type),void 0));case 170:return bt.isPrivateIdentifier(n.name)?y(void 0):(u=ne(n,S.getAllAccessorDeclarations(n)),y(b.updateGetAccessorDeclaration(n,void 0,ee(n),n.name,U(n,bt.hasEffectiveModifier(n,8)),M(n,u),void 0)));case 171:return bt.isPrivateIdentifier(n.name)?y(void 0):y(b.updateSetAccessorDeclaration(n,void 0,ee(n),n.name,U(n,bt.hasEffectiveModifier(n,8)),void 0));case 165:return bt.isPrivateIdentifier(n.name)?y(void 0):y(b.updatePropertyDeclaration(n,void 0,ee(n),n.name,n.questionToken,M(n,n.type),w(n)));case 164:return bt.isPrivateIdentifier(n.name)?y(void 0):y(b.updatePropertySignature(n,ee(n),n.name,n.questionToken,M(n,n.type)));case 166:return bt.isPrivateIdentifier(n.name)?y(void 0):y(b.updateMethodSignature(n,ee(n),n.name,n.questionToken,V(n,n.typeParameters),B(n,n.parameters),M(n,n.type)));case 172:return y(b.updateCallSignature(n,V(n,n.typeParameters),B(n,n.parameters),M(n,n.type)));case 174:return y(b.updateIndexSignature(n,void 0,ee(n),B(n,n.parameters),bt.visitNode(n.type,J)||b.createKeywordTypeNode(129)));case 252:return bt.isBindingPattern(n.name)?Q(n.name):(o=l=!0,y(b.updateVariableDeclaration(n,n.name,void 0,M(n,n.type),w(n))));case 161:return 167===(u=n).parent.kind&&bt.hasEffectiveModifier(u.parent,8)&&(n.default||n.constraint)?y(b.updateTypeParameterDeclaration(n,n.name,void 0,void 0)):y(bt.visitEachChild(n,J,e));case 187:var p=bt.visitNode(n.checkType,J),m=bt.visitNode(n.extendsType,J),f=t,g=(t=n.trueType,bt.visitNode(n.trueType,J));f=(t=f,bt.visitNode(n.falseType,J));return y(b.updateConditionalTypeNode(n,p,m,g,f));case 177:return y(b.updateFunctionTypeNode(n,bt.visitNodes(n.typeParameters,J),B(n,n.parameters),bt.visitNode(n.type,J)));case 178:return y(b.updateConstructorTypeNode(n,ee(n),bt.visitNodes(n.typeParameters,J),B(n,n.parameters),bt.visitNode(n.type,J)));case 198:return bt.isLiteralImportTypeNode(n)?y(b.updateImportTypeNode(n,b.updateLiteralTypeNode(n.argument,W(n,n.argument.literal)),n.qualifier,bt.visitNodes(n.typeArguments,J,bt.isTypeNode),n.isTypeOf)):y(n);default:bt.Debug.assertNever(n,"Attempted to process unhandled node kind: "+bt.SyntaxKind[n.kind])}return bt.isTupleTypeNode(n)&&bt.getLineAndCharacterOfPosition(d,n.pos).line===bt.getLineAndCharacterOfPosition(d,n.end).line&&bt.setEmitFlags(n,1),y(bt.visitEachChild(n,J,e))}}function y(e){var d,u;return e&&i&&bt.hasDynamicName(n)&&(d=n,o||(u=_,_=bt.createGetSymbolAccessibilityDiagnosticForNodeName(d)),c=d.name,bt.Debug.assert(S.isLateBound(bt.getParseTreeNode(d))),K(d.name.expression,t),o||(_=u),c=void 0),j(n)&&(t=r),i&&!o&&(_=a),l&&(o=s),e===n?e:e&&bt.setOriginalNode(H(e,n),n)}}function q(e){if((e=>{switch(e.kind){case 254:case 259:case 263:case 256:case 255:case 257:case 258:case 235:case 264:case 270:case 269:return 1}})(e)&&!Z(e)){switch(e.kind){case 270:return bt.isSourceFile(e.parent)&&(y=!0),v=!0,b.updateExportDeclaration(e,void 0,e.modifiers,e.isTypeOnly,e.exportClause,W(e,e.moduleSpecifier));case 269:var n,t;return bt.isSourceFile(e.parent)&&(y=!0),v=!0,79===e.expression.kind?e:(n=b.createUniqueName("_default",16),_=function(){return{diagnosticMessage:bt.Diagnostics.Default_export_of_the_module_has_or_is_using_private_name_0,errorNode:e}},l=e,t=b.createVariableDeclaration(n,void 0,S.createTypeOfExpression(e.expression,e,Et,T),void 0),l=void 0,[b.createVariableStatement(f?[b.createModifier(134)]:[],b.createVariableDeclarationList([t],2)),b.updateExportAssignment(e,e.decorators,e.modifiers,n)])}var r=Y(e);return i.set(bt.getOriginalNodeId(e),r),e}}function X(e){var n;return bt.isImportEqualsDeclaration(e)||bt.hasEffectiveModifier(e,512)||!bt.canHaveModifiers(e)?e:(n=b.createModifiersFromModifierFlags(27646&bt.getEffectiveModifierFlags(e)),b.updateModifiers(e,n))}function Y(e){if(!Z(e)){switch(e.kind){case 263:var n=e;return S.isDeclarationVisible(n)?275===n.moduleReference.kind?(r=bt.getExternalModuleImportEqualsDeclarationExpression(n),b.updateImportEqualsDeclaration(n,void 0,n.modifiers,n.isTypeOnly,n.name,b.updateExternalModuleReference(n.moduleReference,W(n,r)))):(r=_,_=bt.createGetSymbolAccessibilityDiagnosticForNode(n),K(n.moduleReference,t),_=r,n):void 0;case 264:return(r=e).importClause?(n=r.importClause&&r.importClause.name&&S.isDeclarationVisible(r.importClause)?r.importClause.name:void 0,r.importClause.namedBindings?266===r.importClause.namedBindings.kind?(a=S.isDeclarationVisible(r.importClause.namedBindings)?r.importClause.namedBindings:void 0,n||a?b.updateImportDeclaration(r,void 0,r.modifiers,b.updateImportClause(r.importClause,r.importClause.isTypeOnly,n,a),W(r,r.moduleSpecifier)):void 0):(a=bt.mapDefined(r.importClause.namedBindings.elements,(function(e){return S.isDeclarationVisible(e)?e:void 0})))&&a.length||n?b.updateImportDeclaration(r,void 0,r.modifiers,b.updateImportClause(r.importClause,r.importClause.isTypeOnly,n,a&&a.length?b.updateNamedImports(r.importClause.namedBindings,a):void 0),W(r,r.moduleSpecifier)):S.isImportRequiredByAugmentation(r)?b.updateImportDeclaration(r,void 0,r.modifiers,void 0,W(r,r.moduleSpecifier)):void 0:n&&b.updateImportDeclaration(r,void 0,r.modifiers,b.updateImportClause(r.importClause,r.importClause.isTypeOnly,n,void 0),W(r,r.moduleSpecifier))):b.updateImportDeclaration(r,void 0,r.modifiers,r.importClause,W(r,r.moduleSpecifier))}var r,a;if(!(bt.isDeclaration(e)&&F(e)||bt.isFunctionLike(e)&&S.isImplementationOfOverload(e))){j(e)&&(o=t,t=e);var o,s=bt.canProduceDiagnostics(e),d=_,u=(s&&(_=bt.createGetSymbolAccessibilityDiagnosticForNode(e)),f);switch(e.kind){case 257:return P(b.updateTypeAliasDeclaration(e,void 0,ee(e),e.name,bt.visitNodes(e.typeParameters,J,bt.isTypeParameterDeclaration),bt.visitNode(e.type,J,bt.isTypeNode)));case 256:return P(b.updateInterfaceDeclaration(e,void 0,ee(e),e.name,V(e,e.typeParameters),te(e.heritageClauses),bt.visitNodes(e.members,J)));case 254:var p,m,g,E=P(b.updateFunctionDeclaration(e,void 0,ee(e),void 0,e.name,V(e,e.typeParameters),B(e,e.parameters),M(e,e.type),void 0));return E&&S.isExpandoFunctionDeclaration(e)&&((x=e).body||!(g=null==(g=x.symbol.declarations)?void 0:g.filter((function(e){return bt.isFunctionDeclaration(e)&&!e.body})))||g.indexOf(x)===g.length-1)?(x=S.getPropertiesOfContainerFunction(e),p=bt.parseNodeFactory.createModuleDeclaration(void 0,void 0,E.name||b.createIdentifier("_default"),b.createModuleBlock([]),16),bt.setParent(p,t),p.locals=bt.createSymbolTable(x),p.symbol=x[0].parent,m=[],g=bt.mapDefined(x,(function(e){var n,t,r;if(e.valueDeclaration&&bt.isPropertyAccessExpression(e.valueDeclaration))return _=bt.createGetSymbolAccessibilityDiagnosticForNode(e.valueDeclaration),n=S.createTypeOfDeclaration(e.valueDeclaration,p,Et,T),_=d,r=bt.unescapeLeadingUnderscores(e.escapedName),e=(t=bt.isStringANonContextualKeyword(r))?b.getGeneratedNameForNode(e.valueDeclaration):b.createIdentifier(r),t&&m.push([e,r]),r=b.createVariableDeclaration(e,void 0,n,void 0),b.createVariableStatement(t?void 0:[b.createToken(93)],b.createVariableDeclarationList([r]))})),m.length?g.push(b.createExportDeclaration(void 0,void 0,!1,b.createNamedExports(bt.map(m,(function(e){var n=e[0];return b.createExportSpecifier(n,e[1])}))))):g=bt.mapDefined(g,(function(e){return b.updateModifiers(e,0)})),x=b.createModuleDeclaration(void 0,ee(e),e.name,b.createModuleBlock(g),16),bt.hasEffectiveModifier(E,512)?(D=b.createModifiersFromModifierFlags(-514&bt.getEffectiveModifierFlags(E)|2),L=b.updateFunctionDeclaration(E,void 0,D,void 0,E.name,E.typeParameters,E.parameters,E.type,void 0),C=b.updateModuleDeclaration(x,void 0,D,x.name,x.body),A=b.createExportAssignment(void 0,void 0,!1,x.name),bt.isSourceFile(e.parent)&&(y=!0),v=!0,[L,C,A]):[E,x]):E;case 259:f=!1;var x,L=e.body;return L&&260===L.kind?(C=h,A=v,h=v=!1,x=z(bt.visitNodes(L.statements,q)),8388608&e.flags&&(h=!1),bt.isGlobalScopeAugmentation(e)||(E=x,bt.some(E,$))||v||(x=h?b.createNodeArray(eu(eu([],x,!0),[bt.createEmptyExports(b)],!1)):bt.visitNodes(x,X)),k=b.updateModuleBlock(L,x),f=u,h=C,v=A,R=ee(e),P(b.updateModuleDeclaration(e,void 0,R,bt.isExternalModuleAugmentation(e)?W(e,e.name):e.name,k))):(f=u,R=ee(e),f=!1,bt.visitNode(L,q),C=bt.getOriginalNodeId(L),k=i.get(C),i.delete(C),P(b.updateModuleDeclaration(e,void 0,R,e.name,k)));case 255:c=e.name,l=e;var D=b.createNodeArray(ee(e)),A=V(e,e.typeParameters),C=(L=bt.getFirstConstructorWithBody(e),void 0);L&&(R=_,C=bt.compact(bt.flatMap(L.parameters,(function(e){if(bt.hasSyntacticModifier(e,16476)&&!Z(e))return _=bt.createGetSymbolAccessibilityDiagnosticForNode(e),79===e.name.kind?H(b.createPropertyDeclaration(void 0,ee(e),e.name,e.questionToken,M(e,e.type),w(e)),e):function n(t){for(var r,a=0,i=t.elements;a<i.length;a++){var o=i[a];bt.isOmittedExpression(o)||(r=(r=bt.isBindingPattern(o.name)?bt.concatenate(r,n(o.name)):r)||[]).push(b.createPropertyDeclaration(void 0,ee(e),o.name,void 0,M(o,void 0),void 0))}return r}(e.name)}))),_=R);var I,N,k=bt.some(e.members,(function(e){return!!e.name&&bt.isPrivateIdentifier(e.name)}))?[b.createPropertyDeclaration(void 0,void 0,b.createPrivateIdentifier("#private"),void 0,void 0,void 0)]:void 0,R=(L=bt.concatenate(bt.concatenate(k,C),bt.visitNodes(e.members,J)),b.createNodeArray(L)),O=bt.getEffectiveBaseTypeNode(e);return O&&!bt.isEntityNameExpression(O.expression)&&104!==O.expression.kind?(k=e.name?bt.unescapeLeadingUnderscores(e.name.escapedText):"default",I=b.createUniqueName(k+"_base",16),_=function(){return{diagnosticMessage:bt.Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1,errorNode:O,typeName:e.name}},C=b.createVariableDeclaration(I,void 0,S.createTypeOfExpression(O.expression,e,Et,T),void 0),L=b.createVariableStatement(f?[b.createModifier(134)]:[],b.createVariableDeclarationList([C],2)),N=b.createNodeArray(bt.map(e.heritageClauses,(function(e){var n,t;return 94===e.token?(n=_,_=bt.createGetSymbolAccessibilityDiagnosticForNode(e.types[0]),t=b.updateHeritageClause(e,bt.map(e.types,(function(e){return b.updateExpressionWithTypeArguments(e,I,bt.visitNodes(e.typeArguments,J))}))),_=n,t):b.updateHeritageClause(e,bt.visitNodes(b.createNodeArray(bt.filter(e.types,(function(e){return bt.isEntityNameExpression(e.expression)||104===e.expression.kind}))),J))}))),[L,P(b.updateClassDeclaration(e,void 0,D,e.name,A,N,R))]):(N=te(e.heritageClauses),P(b.updateClassDeclaration(e,void 0,D,e.name,A,N,R)));case 235:return P((e=>{if(bt.forEach(e.declarationList.declarations,G)){var n=bt.visitNodes(e.declarationList.declarations,J);if(bt.length(n))return b.updateVariableStatement(e,b.createNodeArray(ee(e)),b.updateVariableDeclarationList(e.declarationList,n))}})(e));case 258:return P(b.updateEnumDeclaration(e,void 0,b.createNodeArray(ee(e)),e.name,b.createNodeArray(bt.mapDefined(e.members,(function(e){var n;if(!Z(e))return n=S.getConstantValue(e),H(b.updateEnumMember(e,e.name,void 0!==n?"string"==typeof n?b.createStringLiteral(n):b.createNumericLiteral(n):void 0),e)})))))}return bt.Debug.assertNever(e,"Unhandled top-level node in declaration emit: "+bt.SyntaxKind[e.kind])}}function P(n){return j(e)&&(t=o),s&&(_=d),259===e.kind&&(f=u),n===e?n:(c=l=void 0,n&&bt.setOriginalNode(H(n,e),e))}}function Q(e){return bt.flatten(bt.mapDefined(e.elements,(function(e){if(225!==e.kind&&e.name&&G(e))return bt.isBindingPattern(e.name)?Q(e.name):b.createVariableDeclaration(e.name,void 0,M(e,void 0),void 0)})))}function Z(e){return D&&e&&zk(e,d)}function $(e){return bt.isExportAssignment(e)||bt.isExportDeclaration(e)}function ee(e){var n=bt.getEffectiveModifierFlags(e),t=(e=>{var n=11003,t=f&&256!==e.kind?2:0,r=300===e.parent.kind;return(!r||g&&r&&bt.isExternalModule(e.parent))&&(n^=2,t=0),qk(e,n,t)})(e);return n===t?e.modifiers:b.createModifiersFromModifierFlags(t)}function ne(e,n){var t=Xk(e);return t||e===n.firstAccessor||(t=Xk(n.firstAccessor),_=bt.createGetSymbolAccessibilityDiagnosticForNode(n.firstAccessor)),!t&&n.secondAccessor&&e!==n.secondAccessor&&(t=Xk(n.secondAccessor),_=bt.createGetSymbolAccessibilityDiagnosticForNode(n.secondAccessor)),t}function te(e){return b.createNodeArray(bt.filter(bt.map(e,(function(e){return b.updateHeritageClause(e,bt.visitNodes(b.createNodeArray(bt.filter(e.types,(function(n){return bt.isEntityNameExpression(n.expression)||94===e.token&&104===n.expression.kind}))),J))})),(function(e){return e.types&&!!e.types.length})))}}function qk(e,n,t){return void 0===n&&(n=27643),void 0===t&&(t=0),e=bt.getEffectiveModifierFlags(e)&n|t,512&e&&!(1&e)&&(e^=1),512&e&&2&e&&(e^=2),e}function Xk(e){if(e)return 170===e.kind?e.type:0<e.parameters.length?e.parameters[0].type:void 0}function Yk(e,n){return function(t){var r,a=e(t);return"function"==typeof a?n(t,a):(r=a,function(e){return Tt.isBundle(e)?r.transformBundle(e):r.transformSourceFile(e)})}}function Qk(e){return Yk(e,Tt.chainBundle)}function Zk(e){return Yk(e,(function(e,n){return n}))}function $k(e,n){return n}function eR(e,n,t){t(e,n)}function nR(e,n,t,r,a,i){void 0===r&&(r=!1);t=St.isArray(t)?t:St.getSourceFilesToEmit(e,t,r);var o=e.getCompilerOptions();if(St.outFile(o)){var s=e.getPrependNodes();if((t.length||s.length)&&(s=St.factory.createBundle(t,s),d=n(aR(s,e,r),s)))return d}else{if(!a)for(var c=0,l=t;c<l.length;c++){var d,u=l[c];if(d=n(aR(u,e,r),u))return d}if(i&&(s=tR(o),s))return n({buildInfoPath:s},void 0)}}function tR(e){var n=e.configFilePath;if(St.isIncrementalCompilation(e)){if(e.tsBuildInfoFile)return e.tsBuildInfoFile;var t=St.outFile(e);if(t)r=St.removeFileExtension(t);else{if(!n)return;t=St.removeFileExtension(n);var r=e.outDir?e.rootDir?St.resolvePath(e.outDir,St.getRelativePathFromDirectory(e.rootDir,t,!0)):St.combinePaths(e.outDir,St.getBaseFileName(t)):t}return r+".tsbuildinfo"}}function rR(e,n){var t=St.outFile(e),r=e.emitDeclarationOnly?void 0:t,a=r&&iR(r,e);n=n||St.getEmitDeclarations(e)?St.removeFileExtension(t)+".d.ts":void 0;return{jsFilePath:r,sourceMapFilePath:a,declarationFilePath:n,declarationMapPath:n&&St.getAreDeclarationMapsEnabled(e)?n+".map":void 0,buildInfoPath:tR(e)}}function aR(e,n,t){var r,a,i,o=n.getCompilerOptions();return 301===e.kind?rR(o,t):(i=St.getOwnEmitOutputFilePath(e.fileName,n,oR(e,o)),a=(r=St.isJsonSourceFile(e))&&0===St.comparePaths(e.fileName,i,n.getCurrentDirectory(),!n.useCaseSensitiveFileNames()),{jsFilePath:a=o.emitDeclarationOnly||a?void 0:i,sourceMapFilePath:!a||St.isJsonSourceFile(e)?void 0:iR(a,o),declarationFilePath:i=t||St.getEmitDeclarations(o)&&!r?St.getDeclarationEmitOutputFilePath(e.fileName,n):void 0,declarationMapPath:i&&St.getAreDeclarationMapsEnabled(o)?i+".map":void 0,buildInfoPath:void 0})}function iR(e,n){return n.sourceMap&&!n.inlineSourceMap?e+".map":void 0}function oR(e,n){if(St.isJsonSourceFile(e))return".json";if(1===n.jsx)if(St.isSourceFileJS(e)){if(St.fileExtensionIs(e.fileName,".jsx"))return".jsx"}else if(1===e.languageVariant)return".jsx";return".js"}function sR(e,n,t,r,a){return r?St.resolvePath(r,St.getRelativePathFromDirectory(a?a():_R(n,t),e,t)):e}function cR(e,n,t,r){return St.Debug.assert(!St.fileExtensionIs(e,".d.ts")&&!St.fileExtensionIs(e,".json")),St.changeExtension(sR(e,n,t,n.options.declarationDir||n.options.outDir,r),".d.ts")}function lR(e,n,t,r){var a;if(!n.options.emitDeclarationOnly)return a=St.fileExtensionIs(e,".json"),r=St.changeExtension(sR(e,n,t,n.options.outDir,r),a?".json":1===n.options.jsx&&(St.fileExtensionIs(e,".tsx")||St.fileExtensionIs(e,".jsx"))?".jsx":".js"),a&&0===St.comparePaths(e,r,St.Debug.checkDefined(n.options.configFilePath),t)?void 0:r}function dR(){var e;return{addOutput:function(n){n&&(e=e||[]).push(n)},getOutputs:function(){return e||St.emptyArray}}}function uR(e,n){e=rR(e.options,!1);var t=e.jsFilePath,r=e.sourceMapFilePath,a=e.declarationFilePath,i=e.declarationMapPath;e=e.buildInfoPath;n(t),n(r),n(a),n(i),n(e)}function pR(e,n,t,r,a){var i;St.fileExtensionIs(n,".d.ts")||(r(i=lR(n,e,t,a)),St.fileExtensionIs(n,".json"))||(i&&e.options.sourceMap&&r(i+".map"),St.getEmitDeclarations(e.options)&&(r(i=cR(n,e,t,a)),e.options.declarationMap)&&r(i+".map"))}function mR(e,n,t,r,a){var i;return e.rootDir?(i=St.getNormalizedAbsolutePath(e.rootDir,t),null!=a&&a(e.rootDir)):e.composite&&e.configFilePath?(i=St.getDirectoryPath(St.normalizeSlashes(e.configFilePath)),null!=a&&a(i)):i=St.computeCommonSourceDirectoryOfFilenames(n(),t,r),i&&i[i.length-1]!==St.directorySeparator&&(i+=St.directorySeparator),i}function _R(e,n){var t=e.options,r=e.fileNames;return mR(t,(function(){return St.filter(r,(function(e){return!(t.noEmitForJsFiles&&St.fileExtensionIsOneOf(e,St.supportedJSExtensions)||St.fileExtensionIs(e,".d.ts"))}))}),St.getDirectoryPath(St.normalizeSlashes(St.Debug.checkDefined(t.configFilePath))),St.createGetCanonicalFileName(!n))}function fR(e,n,t,r,a,i,o){var s,c,l=r.scriptTransformers,d=r.declarationTransformers,u=n.getCompilerOptions(),p=u.sourceMap||u.inlineSourceMap||St.getAreDeclarationMapsEnabled(u)?[]:void 0,m=u.listEmittedFiles?[]:void 0,_=St.createDiagnosticCollection(),f=St.getNewLineCharacter(u,(function(){return n.getNewLine()})),g=St.createTextWriter(f),y=(r=St.performance.createTimer("printTime","beforePrint","afterPrint"),r.enter),h=(r=r.exit,!1);return y(),nR(n,(function(r,i){var p,f=r.jsFilePath,g=r.sourceMapFilePath,y=r.declarationFilePath,E=r.declarationMapPath;r=r.buildInfoPath;function T(e){return St.ensurePathIsNonModuleName(St.getRelativePathFromDirectory(p,e,n.getCanonicalFileName))}r&&i&&St.isBundle(i)&&(p=St.getDirectoryPath(St.getNormalizedAbsolutePath(r,n.getCurrentDirectory())),s={commonSourceDirectory:T(n.getCommonSourceDirectory()),sourceFiles:i.sourceFiles.map((function(e){return T(St.getNormalizedAbsolutePath(e.fileName,n.getCurrentDirectory()))}))}),null!=St.tracing&&St.tracing.push("emit","emitJsFileOrBundle",{jsFilePath:f}),((t,r,i,o)=>{t&&!a&&r&&(r&&n.isEmitBlocked(r)||u.noEmit?h=!0:(t=St.transformNodes(e,n,St.factory,u,[t],l,!1),o=hR({removeComments:u.removeComments,newLine:u.newLine,noEmitHelpers:u.noEmitHelpers,module:u.module,target:u.target,sourceMap:u.sourceMap,inlineSourceMap:u.inlineSourceMap,inlineSources:u.inlineSources,extendedDiagnostics:u.extendedDiagnostics,writeBundleFileInfo:!!s,relativeToBuildInfo:o},{hasGlobalName:e.hasGlobalName,onEmitNode:t.emitNodeWithNotification,isEmitNotificationEnabled:t.isEmitNotificationEnabled,substituteNode:t.substituteNode}),St.Debug.assert(1===t.transformed.length,"Should only see one output from the transform"),b(r,i,t.transformed[0],o,u),t.dispose(),s&&(s.js=o.bundleFileInfo)))})(i,f,g,T),null!=St.tracing&&St.tracing.pop(),null!=St.tracing&&St.tracing.push("emit","emitDeclarationFileOrBundle",{declarationFilePath:y}),((t,r,i,l)=>{if(t)if(r){var p=St.isSourceFile(t)?[t]:t.sourceFiles;p=o?p:St.filter(p,St.isSourceFileNotJson),t=St.outFile(u)?[St.factory.createBundle(p,St.isSourceFile(t)?void 0:t.prepends)]:p,p=(a&&!St.getEmitDeclarations(u)&&p.forEach(v),St.transformNodes(e,n,St.factory,u,t,d,!1));if(St.length(p.diagnostics))for(var m=0,f=p.diagnostics;m<f.length;m++){var g=f[m];_.add(g)}t=hR({removeComments:u.removeComments,newLine:u.newLine,noEmitHelpers:!0,module:u.module,target:u.target,sourceMap:u.sourceMap,inlineSourceMap:u.inlineSourceMap,extendedDiagnostics:u.extendedDiagnostics,onlyPrintJsDocStyle:!0,writeBundleFileInfo:!!s,recordInternalSection:!!s,relativeToBuildInfo:l},{hasGlobalName:e.hasGlobalName,onEmitNode:p.emitNodeWithNotification,isEmitNotificationEnabled:p.isEmitNotificationEnabled,substituteNode:p.substituteNode}),l=!!p.diagnostics&&!!p.diagnostics.length||!!n.isEmitBlocked(r)||!!u.noEmit;h=h||l,l&&!o||(St.Debug.assert(1===p.transformed.length,"Should only see one output from the decl transform"),b(r,i,p.transformed[0],t,{sourceMap:!o&&u.declarationMap,sourceRoot:u.sourceRoot,mapRoot:u.mapRoot,extendedDiagnostics:u.extendedDiagnostics}),o&&300===p.transformed[0].kind&&(l=p.transformed[0],c=l.exportedModulesFromDeclarationEmit)),p.dispose(),s&&(s.dts=t.bundleFileInfo)}else(a||u.emitDeclarationOnly)&&(h=!0)})(i,y,E,T),null!=St.tracing&&St.tracing.pop(),null!=St.tracing&&St.tracing.push("emit","emitBuildInfo",{buildInfoPath:r}),((e,r)=>{var a,i;!r||t||h||(a=n.getProgramBuildInfo(),n.isEmitBlocked(r)?h=!0:(i=St.version,St.writeFile(n,_,r,gR({bundle:e,program:a,version:i}),!1)))})(s,r),null!=St.tracing&&St.tracing.pop(),!h&&m&&(a||(f&&m.push(f),g&&m.push(g),r&&m.push(r)),y&&m.push(y),E)&&m.push(E)}),St.getSourceFilesToEmit(n,t,o),o,i,!t),r(),{emitSkipped:h,diagnostics:_.getDiagnostics(),emittedFiles:m,sourceMaps:p,exportedModulesFromDeclarationEmit:c};function v(n){St.isExportAssignment(n)?79===n.expression.kind&&e.collectLinkedAliases(n.expression,!0):St.isExportSpecifier(n)?e.collectLinkedAliases(n.propertyName||n.name,!0):St.forEachChild(n,v)}function b(e,t,r,a,i){var o,s,c=301===r.kind?r:void 0,l=300===r.kind?r:void 0,d=c?c.sourceFiles:[l];r=r,!(s=i).sourceMap&&!s.inlineSourceMap||300===r.kind&&St.fileExtensionIs(r.fileName,".json")||(o=St.createSourceMapGenerator(n,St.getBaseFileName(St.normalizeSlashes(e)),(e=>(e=St.normalizeSlashes(e.sourceRoot||""))&&St.ensureTrailingDirectorySeparator(e))(i),((e,t,r)=>e.sourceRoot?n.getCommonSourceDirectory():e.mapRoot?(e=St.normalizeSlashes(e.mapRoot),r&&(e=St.getDirectoryPath(St.getSourceFilePathInNewDir(r.fileName,n,e))),e=0===St.getRootLength(e)?St.combinePaths(n.getCommonSourceDirectory(),e):e):St.getDirectoryPath(St.normalizePath(t)))(i,e,l),i)),c?a.writeBundle(c,g,o):a.writeFile(l,g,o),o?(p&&p.push({inputSourceFileNames:o.getSources(),sourceMap:o.toJSON()}),(s=((e,t,r,a,i)=>e.inlineSourceMap?(t=t.toString(),"data:application/json;base64,"+St.base64encode(St.sys,t)):(t=St.getBaseFileName(St.normalizeSlashes(St.Debug.checkDefined(a))),e.mapRoot?(a=St.normalizeSlashes(e.mapRoot),i&&(a=St.getDirectoryPath(St.getSourceFilePathInNewDir(i.fileName,n,a))),0===St.getRootLength(a)?(a=St.combinePaths(n.getCommonSourceDirectory(),a),encodeURI(St.getRelativePathToDirectoryOrUrl(St.getDirectoryPath(St.normalizePath(r)),St.combinePaths(a,t),n.getCurrentDirectory(),n.getCanonicalFileName,!0))):encodeURI(St.combinePaths(a,t))):encodeURI(t)))(i,o,e,t,l))&&(g.isAtStartOfLine()||g.rawWrite(f),g.writeComment("//# sourceMappingURL="+s)),t&&(r=o.toString(),St.writeFile(n,_,t,r,!1,d))):g.writeLine(),St.writeFile(n,_,e,g.getText(),!!u.emitBOM,d),g.clear()}}function gR(e){return JSON.stringify(e)}function yR(e){return JSON.parse(e)}function hR(e,n){void 0===e&&(e={});var t,r,a,i,o,s,c,l,d,u,p,m,_,f,g,y,h,v,b,E=(n=void 0===n?{}:n).hasGlobalName,T=n.onEmitNode,S=void 0===T?St.noEmitNotification:T,x=n.isEmitNotificationEnabled,L=(T=n.substituteNode,void 0===T?St.noEmitSubstitution:T),D=n.onBeforeEmitNode,A=n.onAfterEmitNode,C=n.onBeforeEmitNodeArray,I=n.onAfterEmitNodeArray,N=n.onBeforeEmitToken,k=n.onAfterEmitToken,R=(T=!!e.extendedDiagnostics,St.getNewLineCharacter(e)),O=St.getEmitModuleKind(e),P=new St.Map,w=e.preserveSourceNewlines,M=function(e){u.write(e)},F=e.writeBundleFileInfo?{sections:[]}:void 0,G=F?St.Debug.checkDefined(e.relativeToBuildInfo):void 0,B=e.recordInternalSection,U=0,V="text",j=!0,K=-1,H=-1,W=-1,z=-1,J=-1,q=!1,X=!!e.removeComments,Y=(n=St.performance.createTimerIf(T,"commentTime","beforeComment","afterComment"),n.enter),Q=n.exit,Z=St.factory.parenthesizer,$=St.createBinaryExpressionTrampoline((function(e,n){var t,r;return n?(n.stackIndex++,n.preserveSourceNewlinesStack[n.stackIndex]=w,n.containerPosStack[n.stackIndex]=W,n.containerEndStack[n.stackIndex]=z,n.declarationListContainerEndStack[n.stackIndex]=J,t=n.shouldEmitCommentsStack[n.stackIndex]=De(e),r=n.shouldEmitSourceMapsStack[n.stackIndex]=Ae(e),null!=D&&D(e),t&&Tt(e),r&&Wt(e),Se(e)):n={stackIndex:0,preserveSourceNewlinesStack:[void 0],containerPosStack:[-1],containerEndStack:[-1],declarationListContainerEndStack:[-1],shouldEmitCommentsStack:[!1],shouldEmitSourceMapsStack:[!1]},n}),(function(e,n,t){return ee(e,t,"left")}),(function(e,n,t){var r=27!==e.kind,a=rt(t,t.left,e);t=rt(t,e,t.right);qn(a,r),wt(e.pos),Hn(e,101===e.kind?Pn:wn),Ft(e.end,!0),qn(t,!0)}),(function(e,n,t){return ee(e,t,"right")}),(function(e,n){var t,r,a,i,o=rt(e,e.left,e.operatorToken),s=rt(e,e.operatorToken,e.right);Xn(o,s),0<n.stackIndex&&(o=n.preserveSourceNewlinesStack[n.stackIndex],s=n.containerPosStack[n.stackIndex],t=n.containerEndStack[n.stackIndex],r=n.declarationListContainerEndStack[n.stackIndex],a=n.shouldEmitCommentsStack[n.stackIndex],i=n.shouldEmitSourceMapsStack[n.stackIndex],xe(o),i&&zt(e),a&&Lt(e,s,t,r),null!=A&&A(e),n.stackIndex--)}),void 0);function ee(e,n,t){if(t="left"===t?Z.getParenthesizeLeftSideOfBinaryForOperator(n.operatorToken.kind):Z.getParenthesizeRightSideOfBinaryForOperator(n.operatorToken.kind),n=Ce(0,1,e),n===Oe&&(St.Debug.assertIsDefined(v),n=Ie(1,1,e=t(St.cast(v,St.isExpression))),v=void 0),(n===Et||n===Ht||n===ke)&&St.isBinaryExpression(e))return e;b=t,n(1,e)}return ye(),{printNode:function(e,n,t){switch(e){case 0:St.Debug.assert(St.isSourceFile(n),"Expected a SourceFile node.");break;case 2:St.Debug.assert(St.isIdentifier(n),"Expected an Identifier node.");break;case 1:St.Debug.assert(St.isExpression(n),"Expected an Expression node.")}switch(n.kind){case 300:return te(n);case 301:return ne(n);case 302:return(e=>{var n=pe(),t=u;return ge(n,void 0),_e(4,e,void 0),ye(),u=t,me()})(n)}return re(e,n,t,pe()),me()},printList:function(e,n,t){return ae(e,n,t,pe()),me()},printFile:te,printBundle:ne,writeNode:re,writeList:ae,writeFile:ue,writeBundle:de,bundleFileInfo:F};function ne(e){return de(e,pe(),void 0),me()}function te(e){return ue(e,pe(),void 0),me()}function re(e,n,t,r){var a=u;ge(r,void 0),_e(e,n,t),ye(),u=a}function ae(e,n,t,r){var a=u;ge(r,void 0),t&&fe(t),An(void 0,n,e),ye(),u=a}function ie(){return u.getTextPosWithWriteLine?u.getTextPosWithWriteLine():u.getTextPos()}function oe(e,n,t){var r=St.lastOrUndefined(F.sections);r&&r.kind===t?r.end=n:F.sections.push({pos:e,end:n,kind:t})}function se(e){if(B&&F&&t&&(St.isDeclaration(e)||St.isVariableStatement(e))&&St.isInternalDeclaration(e,t)&&"internal"!==V)return e=V,le(u.getTextPos()),U=ie(),V="internal",e}function ce(e){e&&(le(u.getTextPos()),U=ie(),V=e)}function le(e){return U<e&&(oe(U,e,V),1)}function de(n,t,r){m=!1;var a=u;ge(t,r),mn(n),pn(n),Pe(n),t=n;ln(!!t.hasNoDefaultLib,t.syntheticFileReferences||[],t.syntheticTypeReferences||[],t.syntheticLibReferences||[]);for(var i=0,o=t.prepends;i<o.length;i++){var s=o[i];if(St.isUnparsedSource(s)&&s.syntheticReferences)for(var c=0,l=s.syntheticReferences;c<l.length;c++)ve(l[c]),Un()}for(var d=0,p=n.prepends;d<p.length;d++){var _,f=p[d],g=(Un(),u.getTextPos()),y=F&&F.sections;y&&(F.sections=[]),_e(4,f,void 0),F&&(_=F.sections,F.sections=y,f.oldFileOfCurrentEmit?(y=F.sections).push.apply(y,_):(_.forEach((function(e){return St.Debug.assert(St.isBundleFileTextLike(e))})),F.sections.push({pos:g,end:u.getTextPos(),kind:"prepend",data:G(f.fileName),texts:_})))}U=ie();for(var h=0,v=n.sourceFiles;h<v.length;h++){var b=v[h];_e(0,b,b)}F&&n.sourceFiles.length&&le(u.getTextPos())&&((r=(e=>{for(var n,t=new St.Set,r=0;r<e.sourceFiles.length;r++){for(var a=e.sourceFiles[r],i=void 0,o=0,s=0,c=a.statements;s<c.length;s++){var l=c[s];if(!St.isPrologueDirective(l))break;t.has(l.expression.text)||(t.add(l.expression.text),(i=i||[]).push({pos:l.pos,end:l.end,expression:{pos:l.expression.pos,end:l.expression.end,text:l.expression.text}}),o=o<l.end?l.end:o)}i&&(n=n||[]).push({file:r,text:a.text.substring(0,o),directives:i})}return n})(n))&&(F.sources||(F.sources={}),F.sources.prologues=r),t=(n=>{var t;if(O!==St.ModuleKind.None&&!e.noEmitHelpers){for(var r=new St.Map,a=0,i=n.sourceFiles;a<i.length;a++){var o=i[a],s=void 0!==St.getExternalHelpersModuleName(o);o=we(o);if(o)for(var c=0,l=o;c<l.length;c++){var d=l[c];d.scoped||s||r.get(d.name)||(r.set(d.name,!0),(t=t||[]).push(d.name))}}return t}})(n))&&(F.sources||(F.sources={}),F.sources.helpers=t),ye(),u=a}function ue(e,n,t){m=!0;var r=u;ge(n,t),mn(e),pn(e),_e(0,e,e),ye(),u=r}function pe(){return p=p||St.createTextWriter(R)}function me(){var e=p.getText();return p.clear(),e}function _e(e,n,t){t&&fe(t),Le(e,n,void 0)}function fe(e){h=y=void 0,(t=e)&&Yt(e)}function ge(n,t){n&&e.omitTrailingSemicolon&&(n=St.getTrailingSemicolonDeferringWriter(n)),_=t,j=!(u=n)||!_}function ye(){r=[],a=[],i=new St.Set,o=[],c=[],ge(h=y=t=void(s=0),void 0)}function he(){return y=y||St.getLineStarts(t)}function ve(e,n){var t;void 0!==e&&(t=se(e),Le(4,e,n),ce(t))}function be(e){void 0!==e&&Le(2,e,void 0)}function Ee(e,n){void 0!==e&&Le(1,e,n)}function Te(e){Le(St.isStringLiteral(e)?6:4,e)}function Se(e){w&&134217728&St.getEmitFlags(e)&&(w=!1)}function xe(e){w=e}function Le(e,n,t){b=t,Ce(0,e,n)(e,n),b=void 0}function De(e){return!X&&!St.isSourceFile(e)}function Ae(e){return!(j||St.isSourceFile(e)||St.isInJsonFile(e)||St.isUnparsedSource(e)||St.isUnparsedPrepend(e))}function Ce(e,n,t){switch(e){case 0:if(S!==St.noEmitNotification&&(!x||x(t)))return Ne;case 1:if(L!==St.noEmitSubstitution&&(v=L(n,t)||t)!==t)return b&&(v=b(v)),Oe;case 2:if(De(t))return Et;case 3:if(Ae(t))return Ht;case 4:return ke;default:return St.Debug.assertNever(e)}}function Ie(e,n,t){return Ce(e+1,n,t)}function Ne(e,n){var t=Ie(0,e,n);S(e,n,t)}function ke(e,n){var t;null!=D&&D(n),w?(t=w,Se(n),Re(e,n),xe(t)):Re(e,n),null!=A&&A(n),b=void 0}function Re(e,n){if(0===e)return cn(St.cast(n,St.isSourceFile));if(2===e)return Ge(St.cast(n,St.isIdentifier));if(6===e)return Me(St.cast(n,St.isStringLiteral),!0);if(3===e)return ve((r=St.cast(n,St.isTypeParameterDeclaration)).name),Gn(),Pn("in"),Gn(),ve(r.constraint);var r,a,i,o,s,c,l,d,p,m,_,f,g,y,h,v,E,T,S,x,D,A,C,I,N,k,R,O,P,G,B,U,V,j,K,H,W,z,J,q,Y,Q,ee,ne,te,re,ae,se,ce;if(5===e)return St.Debug.assertNode(n,St.isEmptyStatement),Ve(!0);if(4===e){switch(n.kind){case 15:case 16:case 17:return Me(n,!1);case 79:return Ge(n);case 80:return((H=n).symbol?kn:M)(ot(H,!1),H.symbol);case 159:var le=(H=n).left;return(79===le.kind?Ee:ve)(le),Rn("."),ve(H.right);case 160:return le=n,Rn("["),Ee(le.expression,Z.parenthesizeExpressionOfComputedPropertyName),Rn("]");case 161:var de=n;return ve(de.name),de.constraint&&(Gn(),Pn("extends"),Gn(),ve(de.constraint)),void(de.default&&(Gn(),wn("="),Gn(),ve(de.default)));case 162:return de=n,En(de,de.decorators),fn(de,de.modifiers),ve(de.dotDotDotToken),_n(de.name,Mn),ve(de.questionToken),(de.parent&&312===de.parent.kind&&!de.name?ve:gn)(de.type),void yn(de.initializer,de.type?de.type.end:de.questionToken?de.questionToken.end:de.name?de.name.end:de.modifiers?de.modifiers.end:de.decorators?de.decorators.end:de.pos,de,Z.parenthesizeExpressionForDisallowedComma);case 163:return K=n,Rn("@"),Ee(K.expression,Z.parenthesizeLeftSideOfAccess);case 164:return En(K=n,K.decorators),fn(K,K.modifiers),_n(K.name,Bn),ve(K.questionToken),gn(K.type),On();case 165:return En(j=n,j.decorators),fn(j,j.modifiers),ve(j.name),ve(j.questionToken),ve(j.exclamationToken),gn(j.type),yn(j.initializer,(j.type||j.questionToken||j.name).end,j),On();case 166:return ct(j=n),En(j,j.decorators),fn(j,j.modifiers),ve(j.name),ve(j.questionToken),Sn(j,j.typeParameters),xn(j,j.parameters),gn(j.type),On(),lt(j);case 167:return En(V=n,V.decorators),fn(V,V.modifiers),ve(V.asteriskToken),ve(V.name),ve(V.questionToken),ze(V,Je);case 168:return En(V=n,V.decorators),fn(V,V.modifiers),Pn("static"),qe(V.body);case 169:return fn(U=n,U.modifiers),Pn("constructor"),ze(U,Je);case 170:case 171:return En(U=n,U.decorators),fn(U,U.modifiers),Pn(170===U.kind?"get":"set"),Gn(),ve(U.name),ze(U,Je);case 172:return ct(B=n),En(B,B.decorators),fn(B,B.modifiers),Sn(B,B.typeParameters),xn(B,B.parameters),gn(B.type),On(),lt(B);case 173:return ct(B=n),En(B,B.decorators),fn(B,B.modifiers),Pn("new"),Gn(),Sn(B,B.typeParameters),xn(B,B.parameters),gn(B.type),On(),lt(B);case 174:return En(ue=n,ue.decorators),fn(ue,ue.modifiers),An(ue,ue.parameters,8848),gn(ue.type),On();case 175:var ue=n;return ue.assertsModifier&&(ve(ue.assertsModifier),Gn()),ve(ue.parameterName),void(ue.type&&(Gn(),Pn("is"),Gn(),ve(ue.type)));case 176:return ve((G=n).typeName),Tn(G,G.typeArguments);case 177:return ct(G=n),Sn(G,G.typeParameters),Ln(G,G.parameters),Gn(),Rn("=>"),Gn(),ve(G.type),lt(G);case 178:return ct(P=n),fn(P,P.modifiers),Pn("new"),Gn(),Sn(P,P.typeParameters),xn(P,P.parameters),Gn(),Rn("=>"),Gn(),ve(P.type),lt(P);case 179:return P=n,Pn("typeof"),Gn(),ve(P.exprName);case 180:return R=n,Rn("{"),O=1&St.getEmitFlags(R)?768:32897,An(R,R.members,524288|O),Rn("}");case 181:return ve(n.elementType,Z.parenthesizeElementTypeOfArrayType),Rn("["),Rn("]");case 182:return He(22,(R=n).pos,Rn,R),O=1&St.getEmitFlags(R)?528:657,An(R,R.elements,524288|O),He(23,R.elements.end,Rn,R);case 183:return ve(n.type,Z.parenthesizeElementTypeOfArrayType),Rn("?");case 185:return An(n,n.types,516,Z.parenthesizeMemberOfElementType);case 186:return An(n,n.types,520,Z.parenthesizeMemberOfElementType);case 187:return ve((k=n).checkType,Z.parenthesizeMemberOfConditionalType),Gn(),Pn("extends"),Gn(),ve(k.extendsType,Z.parenthesizeMemberOfConditionalType),Gn(),Rn("?"),Gn(),ve(k.trueType),Gn(),Rn(":"),Gn(),ve(k.falseType);case 188:return k=n,Pn("infer"),Gn(),ve(k.typeParameter);case 189:return N=n,Rn("("),ve(N.type),Rn(")");case 226:return Ee((N=n).expression,Z.parenthesizeLeftSideOfAccess),Tn(N,N.typeArguments);case 190:return Pn("this");case 191:return Wn((I=n).operator,Pn),Gn(),ve(I.type,Z.parenthesizeMemberOfElementType);case 192:return ve((I=n).objectType,Z.parenthesizeMemberOfElementType),Rn("["),ve(I.indexType),Rn("]");case 193:var pe=n,me=St.getEmitFlags(pe);return Rn("{"),(1&me?Gn:(Un(),Vn))(),pe.readonlyToken&&(ve(pe.readonlyToken),143!==pe.readonlyToken.kind&&Pn("readonly"),Gn()),Rn("["),Le(3,pe.typeParameter),pe.nameType&&(Gn(),Pn("as"),Gn(),ve(pe.nameType)),Rn("]"),pe.questionToken&&(ve(pe.questionToken),57!==pe.questionToken.kind)&&Rn("?"),Rn(":"),Gn(),ve(pe.type),On(),(1&me?Gn:(Un(),jn))(),void Rn("}");case 194:return Ee(n.literal);case 195:return ve((pe=n).dotDotDotToken),ve(pe.name),ve(pe.questionToken),He(58,pe.name.end,Rn,pe),Gn(),ve(pe.type);case 196:return ve((me=n).head),An(me,me.templateSpans,262144);case 197:return ve((_e=n).type),ve(_e.literal);case 198:var _e=n;return _e.isTypeOf&&(Pn("typeof"),Gn()),Pn("import"),Rn("("),ve(_e.argument),Rn(")"),_e.qualifier&&(Rn("."),ve(_e.qualifier)),void Tn(_e,_e.typeArguments);case 199:return C=n,Rn("{"),An(C,C.elements,525136),Rn("}");case 200:return C=n,Rn("["),An(C,C.elements,524880),Rn("]");case 201:var fe=n;return ve(fe.dotDotDotToken),fe.propertyName&&(ve(fe.propertyName),Rn(":"),Gn()),ve(fe.name),void yn(fe.initializer,fe.name.end,fe,Z.parenthesizeExpressionForDisallowedComma);case 231:return Ee((fe=n).expression),ve(fe.literal);case 232:return On();case 233:return Ue(A=n,!A.multiLine&&at(A));case 235:return fn(A=n,A.modifiers),ve(A.declarationList),On();case 234:return Ve(!1);case 236:return Ee((D=n).expression,Z.parenthesizeExpressionOfExpressionStatement),St.isJsonSourceFile(t)&&!St.nodeIsSynthesized(D.expression)||On();case 237:return ge=He(99,(D=n).pos,Pn,D),Gn(),He(20,ge,Rn,D),Ee(D.expression),He(21,D.expression.end,Rn,D),bn(D,D.thenStatement),D.elseStatement&&(zn(D,D.thenStatement,D.elseStatement),He(91,D.thenStatement.end,Pn,D),237===D.elseStatement.kind?(Gn(),ve(D.elseStatement)):bn(D,D.elseStatement));case 238:var ge=n;return He(90,ge.pos,Pn,ge),bn(ge,ge.statement),St.isBlock(ge.statement)&&!w?Gn():zn(ge,ge.statement,ge.expression),je(ge,ge.statement.end),void On();case 239:return je(x=n,x.pos),bn(x,x.statement);case 240:return S=He(97,(x=n).pos,Pn,x),Gn(),S=He(20,S,Rn,x),Ke(x.initializer),S=He(26,x.initializer?x.initializer.end:S,Rn,x),vn(x.condition),S=He(26,x.condition?x.condition.end:S,Rn,x),vn(x.incrementor),He(21,x.incrementor?x.incrementor.end:S,Rn,x),bn(x,x.statement);case 241:return T=He(97,(S=n).pos,Pn,S),Gn(),He(20,T,Rn,S),Ke(S.initializer),Gn(),He(101,S.initializer.end,Pn,S),Gn(),Ee(S.expression),He(21,S.expression.end,Rn,S),bn(S,S.statement);case 242:E=He(97,(T=n).pos,Pn,T),Gn();var ye=T.awaitModifier;return ye&&(ve(ye),Gn()),He(20,E,Rn,T),Ke(T.initializer),Gn(),He(158,T.initializer.end,Pn,T),Gn(),Ee(T.expression),He(21,T.expression.end,Rn,T),bn(T,T.statement);case 243:return He(86,(ye=n).pos,Pn,ye),hn(ye.label),On();case 244:return He(81,(E=n).pos,Pn,E),hn(E.label),On();case 245:return He(105,(v=n).pos,Pn,v),vn(v.expression),On();case 246:return h=He(116,(v=n).pos,Pn,v),Gn(),He(20,h,Rn,v),Ee(v.expression),He(21,v.expression.end,Rn,v),bn(v,v.statement);case 247:return y=He(107,(h=n).pos,Pn,h),Gn(),He(20,y,Rn,h),Ee(h.expression),He(21,h.expression.end,Rn,h),Gn(),ve(h.caseBlock);case 248:return ve((y=n).label),He(58,y.label.end,Rn,y),Gn(),ve(y.statement);case 249:return He(109,(he=n).pos,Pn,he),vn(he.expression),On();case 250:var he=n;return He(111,he.pos,Pn,he),Gn(),ve(he.tryBlock),he.catchClause&&(zn(he,he.tryBlock,he.catchClause),ve(he.catchClause)),void(he.finallyBlock&&(zn(he,he.catchClause||he.tryBlock,he.finallyBlock),He(96,(he.catchClause||he.tryBlock).end,Pn,he),Gn(),ve(he.finallyBlock)));case 251:return Kn(87,n.pos,Pn),On();case 252:return ve((g=n).name),ve(g.exclamationToken),gn(g.type),yn(g.initializer,(g.type||g.name).end,g,Z.parenthesizeExpressionForDisallowedComma);case 253:return g=n,Pn(St.isLet(g)?"let":St.isVarConst(g)?"const":"var"),Gn(),An(g,g.declarations,528);case 254:return We(n);case 255:return Qe(n);case 256:return En(f=n,f.decorators),fn(f,f.modifiers),Pn("interface"),Gn(),ve(f.name),Sn(f,f.typeParameters),An(f,f.heritageClauses,512),Gn(),Rn("{"),An(f,f.members,129),Rn("}");case 257:return En(f=n,f.decorators),fn(f,f.modifiers),Pn("type"),Gn(),ve(f.name),Sn(f,f.typeParameters),Gn(),Rn("="),Gn(),ve(f.type),On();case 258:return fn(be=n,be.modifiers),Pn("enum"),Gn(),ve(be.name),Gn(),Rn("{"),An(be,be.members,145),Rn("}");case 259:var be=n,Se=(fn(be,be.modifiers),1024&~be.flags&&(Pn(16&be.flags?"namespace":"module"),Gn()),ve(be.name),be.body);if(!Se)return On();for(;Se&&St.isModuleDeclaration(Se);)Rn("."),ve(Se.name),Se=Se.body;return Gn(),void ve(Se);case 260:return ct(_=n),St.forEach(_.statements,ut),Ue(_,at(_)),lt(_);case 261:return He(18,(_=n).pos,Rn,_),An(_,_.clauses,129),He(19,_.clauses.end,Rn,_,!0);case 262:return xe=He(93,(De=n).pos,Pn,De),Gn(),xe=He(127,xe,Pn,De),Gn(),xe=He(141,xe,Pn,De),Gn(),ve(De.name),On();case 263:var xe=n;return fn(xe,xe.modifiers),He(100,xe.modifiers?xe.modifiers.end:xe.pos,Pn,xe),Gn(),xe.isTypeOnly&&(He(150,xe.pos,Pn,xe),Gn()),ve(xe.name),Gn(),He(63,xe.name.end,Rn,xe),Gn(),(79===(xe=xe.moduleReference).kind?Ee:ve)(xe),void On();case 264:var De=n;return fn(De,De.modifiers),He(100,De.modifiers?De.modifiers.end:De.pos,Pn,De),Gn(),De.importClause&&(ve(De.importClause),Gn(),He(154,De.importClause.end,Pn,De),Gn()),Ee(De.moduleSpecifier),void On();case 265:var Ae=n;return Ae.isTypeOnly&&(He(150,Ae.pos,Pn,Ae),Gn()),ve(Ae.name),Ae.name&&Ae.namedBindings&&(He(27,Ae.name.end,Rn,Ae),Gn()),void ve(Ae.namedBindings);case 266:return m=He(41,(Ae=n).pos,Rn,Ae),Gn(),He(127,m,Pn,Ae),Gn(),ve(Ae.name);case 272:return Ce=He(41,(m=n).pos,Rn,m),Gn(),He(127,Ce,Pn,m),Gn(),ve(m.name);case 267:return Ze(n);case 268:return $e(n);case 269:var Ce=n,Ie=He(93,Ce.pos,Pn,Ce);return Gn(),Ce.isExportEquals?He(63,Ie,wn,Ce):He(88,Ie,Pn,Ce),Gn(),Ee(Ce.expression,Ce.isExportEquals?Z.getParenthesizeRightSideOfBinaryForOperator(63):Z.parenthesizeExpressionOfExportDefault),void On();case 270:Ie=n;var Ne=He(93,Ie.pos,Pn,Ie);return Gn(),Ie.isTypeOnly&&(Ne=He(150,Ne,Pn,Ie),Gn()),Ie.exportClause?ve(Ie.exportClause):Ne=He(41,Ne,Rn,Ie),Ie.moduleSpecifier&&(Gn(),He(154,Ie.exportClause?Ie.exportClause.end:Ne,Pn,Ie),Gn(),Ee(Ie.moduleSpecifier)),void On();case 271:return Ze(n);case 273:return $e(n);case 274:return;case 275:return Ne=n,Pn("require"),Rn("("),Ee(Ne.expression),Rn(")");case 11:return ke=n,u.writeLiteral(ke.text);case 278:case 281:var ke=n;return Rn("<"),St.isJsxOpeningElement(ke)&&(Re=et(ke.tagName,ke),en(ke.tagName),Tn(ke,ke.typeArguments),ke.attributes.properties&&0<ke.attributes.properties.length&&Gn(),ve(ke.attributes),nt(ke.attributes,ke),Xn(Re)),void Rn(">");case 279:case 282:var Re=n;return Rn("</"),St.isJsxClosingElement(Re)&&en(Re.tagName),void Rn(">");case 283:ve((we=n).name);var Oe="=",Pe=Rn,we=we.initializer,Xe=Te;return void(we&&(Pe(Oe),Xe(we)));case 284:return An(n,n.properties,262656);case 285:return Pe=n,Rn("{..."),Ee(Pe.expression),Rn("}");case 286:var Ye;Oe=n;return void((Oe.expression||!X&&!St.nodeIsSynthesized(Oe)&&(e=>(e=>{var n=!1;return St.forEachTrailingCommentRange((null==t?void 0:t.text)||"",e+1,(function(){return n=!0})),n})(e)||(e=>{var n=!1;return St.forEachLeadingCommentRange((null==t?void 0:t.text)||"",e+1,(function(){return n=!0})),n})(e))(Oe.pos))&&((Xe=t&&!St.nodeIsSynthesized(Oe)&&St.getLineAndCharacterOfPosition(t,Oe.pos).line!==St.getLineAndCharacterOfPosition(t,Oe.end).line)&&u.increaseIndent(),we=He(18,Oe.pos,Rn,Oe),ve(Oe.dotDotDotToken),Ee(Oe.expression),He(19,(null==(Ye=Oe.expression)?void 0:Ye.end)||we,Rn,Oe),Xe)&&u.decreaseIndent());case 287:return He(82,(Ye=n).pos,Pn,Ye),Gn(),Ee(Ye.expression,Z.parenthesizeExpressionForDisallowedComma),nn(Ye,Ye.statements,Ye.expression.end);case 288:return ln=He(88,(p=n).pos,Pn,p),nn(p,p.statements,ln);case 289:return p=n,Gn(),Wn(p.token,Pn),Gn(),An(p,p.types,528);case 290:var ln=n,dn=He(83,ln.pos,Pn,ln);return Gn(),ln.variableDeclaration&&(He(20,dn,Rn,ln),ve(ln.variableDeclaration),He(21,ln.variableDeclaration.end,Rn,ln),Gn()),void ve(ln.block);case 291:return dn=n,ve(dn.name),Rn(":"),Gn(),dn=dn.initializer,0==(512&St.getEmitFlags(dn))&&Ft(St.getCommentRange(dn).pos),void Ee(dn,Z.parenthesizeExpressionForDisallowedComma);case 292:return ve((d=n).name),d.objectAssignmentInitializer&&(Gn(),Rn("="),Gn(),Ee(d.objectAssignmentInitializer,Z.parenthesizeExpressionForDisallowedComma));case 293:return(d=n).expression&&(He(25,d.pos,Rn,d),Ee(d.expression,Z.parenthesizeExpressionForDisallowedComma));case 294:return ve((l=n).name),yn(l.initializer,l.name.end,l,Z.parenthesizeExpressionForDisallowedComma);case 295:return Fe(n);case 302:case 296:for(var un=0,pn=n.texts;un<pn.length;un++){var mn=pn[un];Un(),ve(mn)}return;case 297:case 298:return l=n,c=ie(),Fe(l),F&&oe(c,u.getTextPos(),297===l.kind?"text":"internal");case 299:return c=n,s=ie(),Fe(c),F&&((c=St.clone(c.section)).pos=s,c.end=u.getTextPos(),F.sections.push(c));case 300:return cn(n);case 301:return St.Debug.fail("Bundles should be printed using printBundle");case 303:return St.Debug.fail("InputFiles should not be printed");case 304:return sn(n);case 305:return s=n,Gn(),Rn("{"),ve(s.name),Rn("}");case 307:return Rn("*");case 308:return Rn("?");case 309:return o=n,Rn("?"),ve(o.type);case 310:return o=n,Rn("!"),ve(o.type);case 311:return ve(n.type),Rn("=");case 312:return i=n,Pn("function"),xn(i,i.parameters),Rn(":"),ve(i.type);case 184:case 313:return i=n,Rn("..."),ve(i.type);case 314:return;case 315:var Dn=n;if(M("/**"),Dn.comment){var In=St.getTextOfJSDocComment(Dn.comment);if(In){In=In.split(/\r\n?|\n/g);for(var Fn=0,Jn=In;Fn<Jn.length;Fn++){var Yn=Jn[Fn];Un(),Gn(),Rn("*"),Gn(),M(Yn)}}}return Dn.tags&&(1!==Dn.tags.length||338!==Dn.tags[0].kind||Dn.comment?An(Dn,Dn.tags,33):(Gn(),ve(Dn.tags[0]))),Gn(),void M("*/");case 317:return tn(n);case 318:return rn(n);case 322:case 327:return an((In=n).tagName),on(In.comment);case 323:case 324:return an((Dn=n).tagName),Gn(),Rn("{"),ve(Dn.class),Rn("}"),on(Dn.comment);case 325:case 326:return;case 328:case 329:case 330:case 331:case 332:return;case 333:var Qn=n;return an(Qn.tagName),Qn.name&&(Gn(),ve(Qn.name)),on(Qn.comment),void rn(Qn.typeExpression);case 335:case 342:return Qn=n,an(Qn.tagName),sn(Qn.typeExpression),Gn(),Qn.isBracketed&&Rn("["),ve(Qn.name),Qn.isBracketed&&Rn("]"),void on(Qn.comment);case 334:case 336:case 337:case 338:return an((a=n).tagName),sn(a.typeExpression),on(a.comment);case 339:return an((a=n).tagName),sn(a.constraint),Gn(),An(a,a.typeParameters,528),on(a.comment);case 340:var Zn=n;return an(Zn.tagName),Zn.typeExpression&&(304===Zn.typeExpression.kind?sn(Zn.typeExpression):(Gn(),Rn("{"),M("Object"),Zn.typeExpression.isArrayType&&(Rn("["),Rn("]")),Rn("}"))),Zn.fullName&&(Gn(),ve(Zn.fullName)),on(Zn.comment),void(Zn.typeExpression&&317===Zn.typeExpression.kind&&tn(Zn.typeExpression));case 341:return an((Zn=n).tagName),ve(Zn.name),on(Zn.comment);case 344:case 348:case 347:return}St.isExpression(n)&&(e=1,L!==St.noEmitSubstitution)&&(r=L(e,n)||n)!==n&&(n=r,b)&&(n=b(n))}if(1===e)switch(n.kind){case 8:case 9:return Me(n,!1);case 10:case 13:case 14:return Me(n,!1);case 79:return Ge(n);case 202:return ce=(se=n).elements,Cn(se,ce,8914|(se.multiLine?65536:0),Z.parenthesizeExpressionForDisallowedComma);case 203:return ce=n,St.forEach(ce.properties,pt),(se=65536&St.getEmitFlags(ce))&&Vn(),tt=ce.multiLine?65536:0,$n=1<=t.languageVersion&&!St.isJsonSourceFile(t)?64:0,An(ce,ce.properties,526226|$n|tt),se&&jn();case 204:var $n=n,tt=(Ee($n.expression,Z.parenthesizeLeftSideOfAccess),$n.questionDotToken||St.setTextRangePosEnd(St.factory.createToken(24),$n.expression.end,$n.name.pos)),it=rt($n,$n.expression,tt),dt=rt($n,tt,$n.name);return qn(it,!1),28===tt.kind||!(e=>{var n;return e=St.skipPartiallyEmittedExpressions(e),St.isNumericLiteral(e)?(n=st(e,!0,!1),!e.numericLiteralFlags&&!St.stringContains(n,St.tokenToString(24))):St.isAccessExpression(e)?"number"==typeof(n=St.getConstantValue(e))&&isFinite(n)&&Math.floor(n)===n:void 0})($n.expression)||u.hasTrailingComment()||u.hasTrailingWhitespace()||Rn("."),$n.questionDotToken?ve(tt):He(tt.kind,$n.expression.end,Rn,$n),qn(dt,!1),ve($n.name),void Xn(it,dt);case 205:return Ee((it=n).expression,Z.parenthesizeLeftSideOfAccess),ve(it.questionDotToken),He(22,it.expression.end,Rn,it),Ee(it.argumentExpression),He(23,it.argumentExpression.end,Rn,it);case 206:dt=n;var _t=536870912&St.getEmitFlags(dt);return _t&&(Rn("("),Nn("0"),Rn(","),Gn()),Ee(dt.expression,Z.parenthesizeLeftSideOfAccess),_t&&Rn(")"),ve(dt.questionDotToken),Tn(dt,dt.typeArguments),void Cn(dt,dt.arguments,2576,Z.parenthesizeExpressionForDisallowedComma);case 207:return He(103,(_t=n).pos,Pn,_t),Gn(),Ee(_t.expression,Z.parenthesizeExpressionOfNew),Tn(_t,_t.typeArguments),Cn(_t,_t.arguments,18960,Z.parenthesizeExpressionForDisallowedComma);case 208:var ft=n,gt=536870912&St.getEmitFlags(ft);return gt&&(Rn("("),Nn("0"),Rn(","),Gn()),Ee(ft.tag,Z.parenthesizeLeftSideOfAccess),gt&&Rn(")"),Tn(ft,ft.typeArguments),Gn(),void Ee(ft.template);case 209:return gt=n,Rn("<"),ve(gt.type),Rn(">"),Ee(gt.expression,Z.parenthesizeOperandOfPrefixUnary);case 210:return re=He(20,(ft=n).pos,Rn,ft),ae=et(ft.expression,ft),Ee(ft.expression,void 0),nt(ft.expression,ft),Xn(ae),He(21,ft.expression?ft.expression.end:re,Rn,ft);case 211:return mt((ae=n).name),We(ae);case 212:return En(re=n,re.decorators),fn(re,re.modifiers),ze(re,Be);case 213:return He(89,(te=n).pos,Pn,te),Gn(),Ee(te.expression,Z.parenthesizeOperandOfPrefixUnary);case 214:return He(112,(te=n).pos,Pn,te),Gn(),Ee(te.expression,Z.parenthesizeOperandOfPrefixUnary);case 215:return He(114,(ne=n).pos,Pn,ne),Gn(),Ee(ne.expression,Z.parenthesizeOperandOfPrefixUnary);case 216:return He(131,(ne=n).pos,Pn,ne),Gn(),Ee(ne.expression,Z.parenthesizeOperandOfPrefixUnary);case 217:var yt=n;return Wn(yt.operator,wn),(e=>{var n=e.operand;return 217===n.kind&&(39===e.operator&&(39===n.operator||45===n.operator)||40===e.operator&&(40===n.operator||46===n.operator))})(yt)&&Gn(),void Ee(yt.operand,Z.parenthesizeOperandOfPrefixUnary);case 218:return Ee((yt=n).operand,Z.parenthesizeOperandOfPostfixUnary),Wn(yt.operator,wn);case 219:return $(n);case 220:return q=rt(J=n,J.condition,J.questionToken),Y=rt(J,J.questionToken,J.whenTrue),Q=rt(J,J.whenTrue,J.colonToken),ee=rt(J,J.colonToken,J.whenFalse),Ee(J.condition,Z.parenthesizeConditionOfConditionalExpression),qn(q,!0),ve(J.questionToken),qn(Y,!0),Ee(J.whenTrue,Z.parenthesizeBranchOfConditionalExpression),Xn(q,Y),qn(Q,!0),ve(J.colonToken),qn(ee,!0),Ee(J.whenFalse,Z.parenthesizeBranchOfConditionalExpression),Xn(Q,ee);case 221:return ve((q=n).head),An(q,q.templateSpans,262144);case 222:return He(125,(Y=n).pos,Pn,Y),ve(Y.asteriskToken),vn(Y.expression,Z.parenthesizeExpressionForDisallowedComma);case 223:return He(25,(J=n).pos,Rn,J),Ee(J.expression,Z.parenthesizeExpressionForDisallowedComma);case 224:return mt((Q=n).name),Qe(Q);case 225:return;case 227:return Ee((ee=n).expression,void 0),ee.type&&(Gn(),Pn("as"),Gn(),ve(ee.type));case 228:return Ee(n.expression,Z.parenthesizeLeftSideOfAccess),wn("!");case 229:return Kn((z=n).keywordToken,z.pos,Rn),Rn("."),ve(z.name);case 230:return St.Debug.fail("SyntheticExpression should never be printed.");case 276:return ve((z=n).openingElement),An(z,z.children,262144),ve(z.closingElement);case 277:return W=n,Rn("<"),en(W.tagName),Tn(W,W.typeArguments),Gn(),ve(W.attributes),Rn("/>");case 280:return ve((W=n).openingFragment),An(W,W.children,262144),ve(W.closingFragment);case 343:return St.Debug.fail("SyntaxList should not be printed");case 344:return;case 345:return Ee(n.expression);case 346:return Cn(n,n.elements,528,void 0);case 347:case 348:return;case 349:return St.Debug.fail("SyntheticReferenceExpression should not be printed")}return St.isKeyword(n.kind)?Hn(n,Pn):St.isTokenKind(n.kind)?Hn(n,Rn):void St.Debug.fail("Unhandled SyntaxKind: "+St.Debug.formatSyntaxKind(n.kind)+".")}function Oe(e,n){var t=Ie(1,e,n);St.Debug.assertIsDefined(v),n=v,v=void 0,t(e,n)}function Pe(n){var r=301===n.kind?n:void 0;if(!r||O!==St.ModuleKind.None)for(var a=r?r.prepends.length:0,i=r?r.sourceFiles.length+a:1,o=0;o<i;o++){var s=r?o<a?r.prepends[o]:r.sourceFiles[o-a]:n,c=St.isSourceFile(s)?s:St.isUnparsedSource(s)?void 0:t,l=e.noEmitHelpers||!!c&&St.hasRecordedExternalHelpers(c),d=(St.isSourceFile(s)||St.isUnparsedSource(s))&&!m;c=St.isUnparsedSource(s)?s.helpers:we(s);if(c)for(var p=0,_=c;p<_.length;p++){var f=_[p];if(f.scoped){if(r)continue}else{if(l)continue;if(d){if(P.get(f.name))continue;P.set(f.name,!0)}}var g=ie();Jn("string"==typeof f.text?f.text:f.text(bt)),F&&F.sections.push({pos:g,end:u.getTextPos(),kind:"emitHelpers",data:f.name})}}}function we(e){return e=St.getEmitHelpers(e),e&&St.stableSort(e,St.compareEmitHelpers)}function Me(n,t){t=st(n,e.neverAsciiEscape,t),!e.sourceMap&&!e.inlineSourceMap||10!==n.kind&&!St.isTemplateLiteralKind(n.kind)?u.writeStringLiteral(t):Nn(t)}function Fe(e){u.rawWrite(e.parent.text.substring(e.pos,e.end))}function Ge(e){(e.symbol?kn:M)(ot(e,!1),e.symbol),An(e,e.typeArguments,53776)}function Be(e){Sn(e,e.typeParameters),Ln(e,e.parameters),gn(e.type),Gn(),ve(e.equalsGreaterThanToken)}function Ue(e,n){He(18,e.pos,Rn,e),n=n||1&St.getEmitFlags(e)?768:129,An(e,e.statements,n),He(19,e.statements.end,Rn,e,!!(1&n))}function Ve(e){e?Rn(";"):On()}function je(e,n){n=He(115,n,Pn,e),Gn(),He(20,n,Rn,e),Ee(e.expression),He(21,e.expression.end,Rn,e)}function Ke(e){void 0!==e&&(253===e.kind?ve:Ee)(e)}function He(e,n,r,a,i){var o=St.getParseTreeNode(a),s=(o=o&&o.kind===a.kind,n);return o&&t&&(n=St.skipTrivia(t.text,n)),o&&a.pos!==s&&((i=i&&t&&!St.positionsAreOnSameLine(s,n,t))&&Vn(),wt(s),i)&&jn(),n=Wn(e,r,n),o&&a.end!==n&&Ft(n,!(s=286===a.kind),s),n}function We(e){En(e,e.decorators),fn(e,e.modifiers),Pn("function"),ve(e.asteriskToken),Gn(),be(e.name),ze(e,Je)}function ze(e,n){var t,r=e.body;r?St.isBlock(r)?((t=65536&St.getEmitFlags(e))&&Vn(),ct(e),St.forEach(e.parameters,ut),ut(e.body),n(e),qe(r),lt(e),t&&jn()):(n(e),Gn(),Ee(r,Z.parenthesizeConciseBodyOfArrowFunction)):(n(e),On())}function Je(e){Sn(e,e.typeParameters),xn(e,e.parameters),gn(e.type)}function qe(e){null!=D&&D(e),Gn(),Rn("{"),Vn();var n=(e=>{if(1&St.getEmitFlags(e))return 1;if(!e.multiLine&&(St.nodeIsSynthesized(e)||St.rangeIsOnSingleLine(e,t))&&!Yn(e,e.statements,2)&&!Zn(e,e.statements,2)){for(var n,r=0,a=e.statements;r<a.length;r++){var i=a[r];if(0<Qn(n,i,2))return;n=i}return 1}})(e)?Xe:Ye;It(e,e.statements,n),jn(),Kn(19,e.statements.end,Rn,e),null!=A&&A(e)}function Xe(e){Ye(e,!0)}function Ye(e,n){var t=un(e.statements),r=u.getTextPos();Pe(e),0===t&&r===u.getTextPos()&&n?(jn(),An(e,e.statements,768),Vn()):An(e,e.statements,1,void 0,t)}function Qe(e){St.forEach(e.members,pt),En(e,e.decorators),fn(e,e.modifiers),Pn("class"),e.name&&(Gn(),be(e.name));var n=65536&St.getEmitFlags(e);n&&Vn(),Sn(e,e.typeParameters),An(e,e.heritageClauses,0),Gn(),Rn("{"),An(e,e.members,129),Rn("}"),n&&jn()}function Ze(e){Rn("{"),An(e,e.elements,525136),Rn("}")}function $e(e){e.propertyName&&(ve(e.propertyName),Gn(),He(127,e.propertyName.end,Pn,e),Gn()),ve(e.name)}function en(e){(79===e.kind?Ee:ve)(e)}function nn(e,n,r){var a=163969;1===n.length&&(St.nodeIsSynthesized(e)||St.nodeIsSynthesized(n[0])||St.rangeStartPositionsAreOnSameLine(e,n[0],t))?(Kn(58,r,Rn,e),Gn(),a&=-130):He(58,r,Rn,e),An(e,n,a)}function tn(e){An(e,St.factory.createNodeArray(e.jsDocPropertyTags),33)}function rn(e){e.typeParameters&&An(e,St.factory.createNodeArray(e.typeParameters),33),e.parameters&&An(e,St.factory.createNodeArray(e.parameters),33),e.type&&(Un(),Gn(),Rn("*"),Gn(),ve(e.type))}function an(e){Rn("@"),ve(e)}function on(e){e=St.getTextOfJSDocComment(e),e&&(Gn(),M(e))}function sn(e){e&&(Gn(),Rn("{"),ve(e.type),Rn("}"))}function cn(e){Un();var n=e.statements;0===n.length||!St.isPrologueDirective(n[0])||St.nodeIsSynthesized(n[0])?It(e,n,dn):dn(e)}function ln(e,n,r,a){if(e&&(p=u.getTextPos(),Fn('/// <reference no-default-lib="true"/>'),F&&F.sections.push({pos:p,end:u.getTextPos(),kind:"no-default-lib"}),Un()),t&&t.moduleName&&(Fn('/// <amd-module name="'+t.moduleName+'" />'),Un()),t&&t.amdDependencies)for(var i=0,o=t.amdDependencies;i<o.length;i++){var s=o[i];s.name?Fn('/// <amd-dependency name="'+s.name+'" path="'+s.path+'" />'):Fn('/// <amd-dependency path="'+s.path+'" />'),Un()}for(var c=0,l=n;c<l.length;c++){var d=l[c],p=u.getTextPos();Fn('/// <reference path="'+d.fileName+'" />'),F&&F.sections.push({pos:p,end:u.getTextPos(),kind:"reference",data:d.fileName}),Un()}for(var m=0,_=r;m<_.length;m++)d=_[m],p=u.getTextPos(),Fn('/// <reference types="'+d.fileName+'" />'),F&&F.sections.push({pos:p,end:u.getTextPos(),kind:"type",data:d.fileName}),Un();for(var f=0,g=a;f<g.length;f++)d=g[f],p=u.getTextPos(),Fn('/// <reference lib="'+d.fileName+'" />'),F&&F.sections.push({pos:p,end:u.getTextPos(),kind:"lib",data:d.fileName}),Un()}function dn(e){var n,t=e.statements,r=(ct(e),St.forEach(e.statements,ut),Pe(e),St.findIndex(t,(function(e){return!St.isPrologueDirective(e)})));(n=e).isDeclarationFile&&ln(n.hasNoDefaultLib,n.referencedFiles,n.typeReferenceDirectives,n.libReferenceDirectives),An(e,t,1,void 0,-1===r?t.length:r),lt(e)}function un(e,n,t,r){for(var a=!!n,i=0;i<e.length;i++){var o,s=e[i];if(!St.isPrologueDirective(s))return i;t&&t.has(s.expression.text)||(a&&(a=!1,fe(n)),Un(),o=u.getTextPos(),ve(s),r&&F&&F.sections.push({pos:o,end:u.getTextPos(),kind:"prologue",data:s.expression.text}),!t)||t.add(s.expression.text)}return e.length}function pn(e){if(St.isSourceFile(e))un(e.statements,e);else{for(var n=new St.Set,t=0,r=e.prepends;t<r.length;t++)for(var a=r[t],i=(l=d=c=s=o=i=void 0,a.prologues),o=n,s=0,c=i;s<c.length;s++){var l,d=c[s];o.has(d.data)||(Un(),l=u.getTextPos(),ve(d),F&&F.sections.push({pos:l,end:u.getTextPos(),kind:"prologue",data:d.data}),o&&o.add(d.data))}for(var p=0,m=e.sourceFiles;p<m.length;p++){var _=m[p];un(_.statements,_,n,!0)}fe(void 0)}}function mn(e){var n;if(St.isSourceFile(e)||St.isUnparsedSource(e))return(n=St.getShebang(e.text))?(Fn(n),Un(),1):void 0;for(var t=0,r=e.prepends;t<r.length;t++){var a=r[t];if(St.Debug.assertNode(a,St.isUnparsedSource),mn(a))return 1}for(var i=0,o=e.sourceFiles;i<o.length;i++)if(mn(o[i]))return 1}function _n(e,n){var t;e&&(t=M,M=n,ve(e),M=t)}function fn(e,n){n&&n.length&&(An(e,n,262656),Gn())}function gn(e){e&&(Rn(":"),Gn(),ve(e))}function yn(e,n,t,r){e&&(Gn(),He(63,n,wn,t),Gn(),Ee(e,r))}function hn(e){e&&(Gn(),ve(e))}function vn(e,n){e&&(Gn(),Ee(e,n))}function bn(e,n){St.isBlock(n)||1&St.getEmitFlags(e)?(Gn(),ve(n)):(Un(),Vn(),St.isEmptyStatement(n)?Le(5,n):ve(n),jn())}function En(e,n){An(e,n,2146305)}function Tn(e,n){An(e,n,53776,Z.parenthesizeMemberOfElementType)}function Sn(e,n){if(St.isFunctionLike(e)&&e.typeArguments)return Tn(e,e.typeArguments);An(e,n,53776)}function xn(e,n){An(e,n,2576)}function Ln(e,n){var t,r;t=e,r=n,!(r=St.singleOrUndefined(r))||r.pos!==t.pos||!St.isArrowFunction(t)||t.type||St.some(t.decorators)||St.some(t.modifiers)||St.some(t.typeParameters)||St.some(r.decorators)||St.some(r.modifiers)||r.dotDotDotToken||r.questionToken||r.type||r.initializer||!St.isIdentifier(r.name)?xn(e,n):An(e,n,528)}function Dn(e){switch(60&e){case 0:break;case 16:Rn(",");break;case 4:Gn(),Rn("|");break;case 32:Gn(),Rn("*"),Gn();break;case 8:Gn(),Rn("&")}}function An(e,n,t,r,a,i){In(ve,e,n,t,r,a,i)}function Cn(e,n,t,r,a,i){In(Ee,e,n,t,r,a,i)}function In(e,n,r,a,i,o,s){void 0===o&&(o=0),void 0===s&&(s=r?r.length-o:0);var c=void 0===r;if(!(c&&16384&a))if(c=void 0===r||o>=r.length||0===s,c&&32768&a)C&&C(r),I&&I(r);else{if(15360&a&&(Rn(xt[15360&a][0]),c)&&r&&Ft(r.pos,!0),C&&C(r),c)1&a&&(!w||n&&!St.rangeIsOnSingleLine(n,t))?Un():256&a&&!(524288&a)&&Gn();else{St.Debug.type(r);for(var l=0==(262144&a),u=l,p=Yn(n,r,a),m=(p?(Un(p),u=!1):256&a&&Gn(),void(128&a&&Vn())),_=void 0,f=!1,g=0;g<s;g++){var y,h=r[o+g];32&a?(Un(),Dn(a)):m&&(60&a&&m.end!==(n?n.end:-1)&&wt(m.end),Dn(a),ce(_),0<(y=Qn(m,h,a))?(0==(131&a)&&(Vn(),f=!0),Un(y),u=!1):m&&512&a&&Gn()),_=se(h),u?Ft(St.getCommentRange(h).pos):u=l,d=h.pos,1===e.length?e(h):e(h,i),f&&(jn(),f=!1),m=h}p=m?St.getEmitFlags(m):0,p=X||!!(1024&p);var v=(null==r?void 0:r.hasTrailingComma)&&64&a&&16&a;p=(v&&(m&&!p?He(27,m.end,Rn,m):Rn(",")),m&&(n?n.end:-1)!==m.end&&60&a&&!p&&wt((v&&null!=r&&r.end?r:m).end),128&a&&jn(),ce(_),Zn(n,r,a));p?Un(p):2097408&a&&Gn()}I&&I(r),15360&a&&(c&&r&&wt(r.end),Rn(xt[15360&a][1]))}}function Nn(e){u.writeLiteral(e)}function kn(e,n){u.writeSymbol(e,n)}function Rn(e){u.writePunctuation(e)}function On(){u.writeTrailingSemicolon(";")}function Pn(e){u.writeKeyword(e)}function wn(e){u.writeOperator(e)}function Mn(e){u.writeParameter(e)}function Fn(e){u.writeComment(e)}function Gn(){u.writeSpace(" ")}function Bn(e){u.writeProperty(e)}function Un(e){void 0===e&&(e=1);for(var n=0;n<e;n++)u.writeLine(0<n)}function Vn(){u.increaseIndent()}function jn(){u.decreaseIndent()}function Kn(e,n,t,r){var a,i,o;j?Wn(e,t,n):(a=Wn,j||r&&St.isInJsonFile(r)?a(e,t,n):(i=(r=r&&r.emitNode)&&r.flags||0,o=(r=r&&r.tokenSourceMapRanges&&r.tokenSourceMapRanges[e])&&r.source||f,n=Jt(o,r?r.pos:n),0==(128&i)&&0<=n&&Xt(o,n),n=a(e,t,n),r&&(n=r.end),0==(256&i)&&0<=n&&Xt(o,n)))}function Hn(e,n){N&&N(e),n(St.tokenToString(e.kind)),k&&k(e)}function Wn(e,n,t){return e=St.tokenToString(e),n(e),t<0?t:t+e.length}function zn(e,n,t){1&St.getEmitFlags(e)?Gn():w?(e=rt(e,n,t))?Un(e):Gn():Un()}function Jn(e){e=e.split(/\r\n?|\n/g);for(var n=St.guessIndentation(e),t=0,r=e;t<r.length;t++){var a=r[t];a=n?a.slice(n):a;a.length&&(Un(),M(a))}}function qn(e,n){e?(Vn(),Un(e)):n&&Gn()}function Xn(e,n){e&&jn(),n&&jn()}function Yn(e,n,r){if(2&r||w){if(65536&r)return 1;var a=n[0];if(void 0===a)return!e||St.rangeIsOnSingleLine(e,t)?0:1;if(a.pos===d)return 0;if(11===a.kind)return 0;if(e&&!St.positionIsSynthesized(e.pos)&&!St.nodeIsSynthesized(a)&&(!a.parent||St.getOriginalNode(a.parent)===St.getOriginalNode(e)))return w?$n((function(n){return St.getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter(a.pos,e.pos,t,n)})):St.rangeStartPositionsAreOnSameLine(e,a,t)?0:1;if(tt(a,r))return 1}return 1&r?1:0}function Qn(e,n,r){if(2&r||w){if(void 0===e||void 0===n)return 0;if(11===n.kind)return 0;if(!St.nodeIsSynthesized(e)&&!St.nodeIsSynthesized(n))return w&&((e,n)=>{var t;if(!(n.pos<e.end))return e=St.getOriginalNode(e),n=St.getOriginalNode(n),(t=e.parent)&&t===n.parent&&(t=St.getContainingNodeArray(e),void 0!==(e=null==t?void 0:t.indexOf(e)))&&-1<e&&t.indexOf(n)===e+1})(e,n)?$n((function(r){return St.getLinesBetweenRangeEndAndRangeStart(e,n,t,r)})):!w&&(a=e,i=n,(a=St.getOriginalNode(a)).parent)&&a.parent===St.getOriginalNode(i).parent?St.rangeEndIsOnSameLineAsRangeStart(e,n,t)?0:1:65536&r?1:0;if(tt(e,r)||tt(n,r))return 1}else if(St.getStartsOnNewLine(n))return 1;var a,i;return 1&r?1:0}function Zn(e,n,r){if(2&r||w){if(65536&r)return 1;var a,i=St.lastOrUndefined(n);if(void 0===i)return!e||St.rangeIsOnSingleLine(e,t)?0:1;if(e&&!St.positionIsSynthesized(e.pos)&&!St.nodeIsSynthesized(i)&&(!i.parent||i.parent===e))return w?(a=(St.isNodeArray(n)&&!St.positionIsSynthesized(n.end)?n:i).end,$n((function(n){return St.getLinesBetweenPositionAndNextNonWhitespaceCharacter(a,e.end,t,n)}))):St.rangeEndPositionsAreOnSameLine(e,i,t)?0:1;if(tt(i,r))return 1}return 1&r&&!(131072&r)?1:0}function $n(e){St.Debug.assert(!!w);var n=e(!0);return 0===n?e(!1):n}function et(e,n){return n=w&&Yn(n,[e],0),n&&qn(n,!1),!!n}function nt(e,n){n=w&&Zn(n,[e],0),n&&Un(n)}function tt(e,n){return St.nodeIsSynthesized(e)&&void 0!==(e=St.getStartsOnNewLine(e))?e:0!=(65536&n)}function rt(e,n,r){return 131072&St.getEmitFlags(e)?0:(e=it(e),n=it(n),r=it(r),St.getStartsOnNewLine(r)?1:St.nodeIsSynthesized(e)||St.nodeIsSynthesized(n)||St.nodeIsSynthesized(r)?0:w?$n((function(e){return St.getLinesBetweenRangeEndAndRangeStart(n,r,t,e)})):St.rangeEndIsOnSameLineAsRangeStart(n,r,t)?0:1)}function at(e){return 0===e.statements.length&&St.rangeEndIsOnSameLineAsRangeStart(e,e,t)}function it(e){for(;210===e.kind&&St.nodeIsSynthesized(e);)e=e.expression;return e}function ot(e,n){return St.isGeneratedIdentifier(e)?_t(e):(St.isIdentifier(e)||St.isPrivateIdentifier(e))&&(St.nodeIsSynthesized(e)||!e.parent||!t||e.parent&&t&&St.getSourceFileOfNode(e)!==St.getOriginalNode(t))?St.idText(e):10===e.kind&&e.textSourceNode?ot(e.textSourceNode,n):!St.isLiteralExpression(e)||!St.nodeIsSynthesized(e)&&e.parent?St.getSourceTextOfNodeFromSourceFile(t,e,n):e.text}function st(n,r,a){var i,o;return 10===n.kind&&n.textSourceNode?(i=n.textSourceNode,St.isIdentifier(i)||St.isNumericLiteral(i)?(o=St.isNumericLiteral(i)?i.text:ot(i),a?'"'+St.escapeJsxAttributeString(o)+'"':r||16777216&St.getEmitFlags(n)?'"'+St.escapeString(o)+'"':'"'+St.escapeNonAsciiString(o)+'"'):st(i,r,a)):(o=(r?1:0)|(a?2:0)|(e.terminateUnterminatedLiterals?4:0)|(e.target&&99===e.target?8:0),St.getLiteralText(n,t,o))}function ct(e){e&&524288&St.getEmitFlags(e)||(o.push(s),s=0,c.push(l))}function lt(e){e&&524288&St.getEmitFlags(e)||(s=o.pop(),l=c.pop())}function dt(e){(l=l&&l!==St.lastOrUndefined(c)?l:new St.Set).add(e)}function ut(e){if(e)switch(e.kind){case 233:St.forEach(e.statements,ut);break;case 248:case 246:case 238:case 239:ut(e.statement);break;case 237:ut(e.thenStatement),ut(e.elseStatement);break;case 240:case 242:case 241:ut(e.initializer),ut(e.statement);break;case 247:ut(e.caseBlock);break;case 261:St.forEach(e.clauses,ut);break;case 287:case 288:St.forEach(e.statements,ut);break;case 250:ut(e.tryBlock),ut(e.catchClause),ut(e.finallyBlock);break;case 290:ut(e.variableDeclaration),ut(e.block);break;case 235:ut(e.declarationList);break;case 253:St.forEach(e.declarations,ut);break;case 252:case 162:case 201:case 255:mt(e.name);break;case 254:mt(e.name),524288&St.getEmitFlags(e)&&(St.forEach(e.parameters,ut),ut(e.body));break;case 199:case 200:St.forEach(e.elements,ut);break;case 264:ut(e.importClause);break;case 265:mt(e.name),ut(e.namedBindings);break;case 266:case 272:mt(e.name);break;case 267:St.forEach(e.elements,ut);break;case 268:mt(e.propertyName||e.name)}}function pt(e){if(e)switch(e.kind){case 291:case 292:case 165:case 167:case 170:case 171:mt(e.name)}}function mt(e){e&&(St.isGeneratedIdentifier(e)?_t(e):St.isBindingPattern(e)&&ut(e))}function _t(e){var n;return 4==(7&e.autoGenerateFlags)?ft((e=>{for(var n=e.autoGenerateId,t=e,r=t.original;r&&(t=r,!(St.isIdentifier(t)&&4&t.autoGenerateFlags&&t.autoGenerateId!==n));)r=t.original;return t})(e),e.autoGenerateFlags):(n=e.autoGenerateId,a[n]||(a[n]=(e=>{switch(7&e.autoGenerateFlags){case 1:return ht(0,!!(8&e.autoGenerateFlags));case 2:return ht(268435456,!!(8&e.autoGenerateFlags));case 3:return vt(St.idText(e),32&e.autoGenerateFlags?yt:gt,!!(16&e.autoGenerateFlags),!!(8&e.autoGenerateFlags))}return St.Debug.fail("Unsupported GeneratedIdentifierKind.")})(e)))}function ft(e,n){var t=St.getNodeId(e);return r[t]||(r[t]=((e,n)=>{switch(e.kind){case 79:return vt(ot(e),gt,!!(16&n),!!(8&n));case 259:case 258:return(e=>{var n=ot(e.name);return((e,n)=>{for(var t=n;St.isNodeDescendantOf(t,n);t=t.nextContainer)if(t.locals){var r=t.locals.get(St.escapeLeadingUnderscores(e));if(r&&3257279&r.flags)return}return 1})(n,e)?n:vt(n)})(e);case 264:case 270:return(e=>(e=St.getExternalModuleName(e),vt(St.isStringLiteral(e)?St.makeIdentifierFromModuleName(e.text):"module")))(e);case 254:case 255:case 269:return vt("default");case 224:return vt("class");case 167:case 170:case 171:return(e=>St.isIdentifier(e.name)?ft(e.name):ht(0))(e);case 160:return ht(0,!0);default:return ht(0)}})(e,n))}function gt(e){return yt(e)&&!i.has(e)&&!(l&&l.has(e))}function yt(e){return!t||St.isFileLevelUniqueName(t,e,E)}function ht(e,n){if(e&&!(s&e)&&gt(t=268435456===e?"_i":"_n"))return s|=e,n&&dt(t),t;for(;;){var t,r=268435455&s;if(s++,8!=r&&13!=r&&gt(t=r<26?"_"+String.fromCharCode(97+r):"_"+(r-26)))return n&&dt(t),t}}function vt(e,n,t,r){if(void 0===n&&(n=gt),t&&n(e))return r?dt(e):i.add(e),e;95!==e.charCodeAt(e.length-1)&&(e+="_");for(var a=1;;){var o=e+a;if(n(o))return r?dt(o):i.add(o),o;a++}}function bt(e){return vt(e,yt,!0)}function Et(e,n){var t=Ie(2,e,n),r=W,a=z,i=J;Tt(n),t(e,n),Lt(n,r,a,i)}function Tt(e){var n=St.getEmitFlags(e),t=St.getCommentRange(e),r=n,a=t.pos,i=(t=t.end,Y(),q=!1,a<0||0!=(512&r)||11===e.kind),o=t<0||0!=(1024&r)||11===e.kind;(0<a||0<t)&&a!==t&&(i||Nt(a,344!==e.kind),(!i||0<=a&&0!=(512&r))&&(W=a),!o||0<=t&&0!=(1024&r))&&(z=t,253===e.kind)&&(J=t),St.forEach(St.getSyntheticLeadingComments(e),Dt),Q(),2048&n&&(X=!0)}function Lt(e,n,t,r){var a=St.getEmitFlags(e),i=St.getCommentRange(e),o=(2048&a&&(X=!1),i.pos);i=i.end;Y(),a=i<0||0!=(1024&a)||11===e.kind,St.forEach(St.getSyntheticTrailingComments(e),At),(0<o||0<i)&&o!==i&&(W=n,z=t,J=r,a||344===e.kind||Vt(o=i,Mt)),Q()}function Dt(e){!e.hasLeadingNewline&&2!==e.kind||u.writeLine(),Ct(e),e.hasTrailingNewLine||2===e.kind?u.writeLine():u.writeSpace(" ")}function At(e){u.isAtStartOfLine()||u.writeSpace(" "),Ct(e),e.hasTrailingNewLine&&u.writeLine()}function Ct(e){var n=3===(n=e).kind?"/*"+n.text+"*/":"//"+n.text;e=3===e.kind?St.computeLineStarts(n):void 0;St.writeCommentRange(n,e,u,0,n.length,R)}function It(e,n,r){Y();var a=n.pos,i=n.end,o=St.getEmitFlags(e);i=X||i<0||0!=(1024&o);!(a<0||0!=(512&o))&&(a=n,a=St.emitDetachedComments(t.text,he(),u,jt,a,R,X))&&(h?h.push(a):h=[a]),Q(),2048&o&&!X?(X=!0,r(e),X=!1):r(e),Y(),i||(Nt(n.end,!0),q&&!u.isAtStartOfLine()&&u.writeLine()),Q()}function Nt(e,n){q=!1,n?0===e&&null!=t&&t.isDeclarationFile?Ut(e,Rt):Ut(e,Pt):0===e&&Ut(e,kt)}function kt(e,n,t,r,a){Kt(e,n)&&Pt(e,n,t,r,a)}function Rt(e,n,t,r,a){Kt(e,n)||Pt(e,n,t,r,a)}function Ot(n,t){return!e.onlyPrintJsDocStyle||St.isJSDocLikeText(n,t)||St.isPinnedComment(n,t)}function Pt(e,n,r,a,i){Ot(t.text,e)&&(q||(St.emitNewLineBeforeLeadingCommentOfPosition(he(),u,i,e),q=!0),qt(e),St.writeCommentRange(t.text,he(),u,e,n,R),qt(n),a?u.writeLine():3===r&&u.writeSpace(" "))}function wt(e){X||-1===e||Nt(e,!0)}function Mt(e,n,r,a){Ot(t.text,e)&&(u.isAtStartOfLine()||u.writeSpace(" "),qt(e),St.writeCommentRange(t.text,he(),u,e,n,R),qt(n),a)&&u.writeLine()}function Ft(e,n,t){X||(Y(),Vt(e,n?Mt:t?Gt:Bt),Q())}function Gt(e,n,r){qt(e),St.writeCommentRange(t.text,he(),u,e,n,R),qt(n),2===r&&u.writeLine()}function Bt(e,n,r,a){qt(e),St.writeCommentRange(t.text,he(),u,e,n,R),qt(n),a?u.writeLine():u.writeSpace(" ")}function Ut(e,n){var r,a;!t||-1!==W&&e===W||(a=e,void 0!==h&&St.last(h).nodePos===a?(a=n,r=St.last(h).detachedCommentEndPos,h.length-1?h.pop():h=void 0,St.forEachLeadingCommentRange(t.text,r,a,r)):St.forEachLeadingCommentRange(t.text,e,n,e))}function Vt(e,n){t&&(-1===z||e!==z&&e!==J)&&St.forEachTrailingCommentRange(t.text,e,n)}function jt(e,n,r,a,i,o){Ot(t.text,a)&&(qt(a),St.writeCommentRange(e,n,r,a,i,o),qt(i))}function Kt(e,n){return St.isRecognizedTripleSlashComment(t.text,e,n)}function Ht(e,n){var t=Ie(3,e,n);Wt(n),t(e,n),zt(n)}function Wt(e){var n,t=St.getEmitFlags(e),r=St.getSourceMapRange(e);St.isUnparsedNode(e)?(St.Debug.assertIsDefined(e.parent,"UnparsedNodes must have parent pointers"),void 0===(n=e.parent).parsedSourceMap&&void 0!==n.sourceMapText&&(n.parsedSourceMap=St.tryParseRawSourceMap(n.sourceMapText)||!1),(n=n.parsedSourceMap||void 0)&&_&&_.appendSourceMap(u.getLine(),u.getColumn(),n,e.parent.sourceMapPath,e.parent.getLineAndCharacterOfPosition(e.pos),e.parent.getLineAndCharacterOfPosition(e.end))):(n=r.source||f,344!==e.kind&&0==(16&t)&&0<=r.pos&&Xt(r.source||f,Jt(n,r.pos)),64&t&&(j=!0))}function zt(e){var n=St.getEmitFlags(e),t=St.getSourceMapRange(e);St.isUnparsedNode(e)||(64&n&&(j=!1),344!==e.kind&&0==(32&n)&&0<=t.end&&Xt(t.source||f,t.end))}function Jt(e,n){return e.skipTrivia?e.skipTrivia(n):St.skipTrivia(e.text,n)}function qt(e){var n;j||St.positionIsSynthesized(e)||Qt(f)||(n=(e=St.getLineAndCharacterOfPosition(f,e)).line,e=e.character,_.addMapping(u.getLine(),u.getColumn(),K,n,e,void 0))}function Xt(e,n){var t,r;e!==f?(t=f,r=K,Yt(e),qt(n),f=t,K=r):qt(n)}function Yt(n){j||((f=n)===g?K=H:Qt(n)||(K=_.addSource(n.fileName),e.inlineSources&&_.setSourceContent(K,n.text),g=n,H=K))}function Qt(e){return St.fileExtensionIs(e.fileName,".json")}}function vR(e){e.watcher.close()}function bR(e,n){return n=At.getDirectoryPath(n),n=At.isRootedDiskPath(e)?e:At.combinePaths(n,e),At.normalizePath(n)}function ER(e,n){return TR(e,n)}function TR(e,n,t){void 0===t&&(t=At.sys);var r,a=new At.Map,i=At.createGetCanonicalFileName(t.useCaseSensitiveFileNames),o=At.maybeBind(t,t.createHash)||At.generateDjb2Hash;function s(){return At.getDirectoryPath(At.normalizePath(t.getExecutingFilePath()))}var c=At.getNewLineCharacter(e,(function(){return t.newLine})),l=t.realpath&&function(e){return t.realpath(e)},d={getSourceFile:function(e,t,r){var a;try{At.performance.mark("beforeIORead"),a=d.readFile(e),At.performance.mark("afterIORead"),At.performance.measure("I/O Read","beforeIORead","afterIORead")}catch(e){r&&r(e.message),a=""}return void 0!==a?At.createSourceFile(e,a,t,n):void 0},getDefaultLibLocation:s,getDefaultLibFileName:function(e){return At.combinePaths(s(),At.getDefaultLibFileName(e))},writeFile:function(n,i,s,c){try{At.performance.mark("beforeIOWrite"),At.writeFileEnsuringDirectories(n,i,s,(function(n,a,i){if(At.isWatchSet(e)&&t.getModifiedTime){r=r||new At.Map;var s=o(a),c=t.getModifiedTime(n);if(c){var l=r.get(n);if(l&&l.byteOrderMark===i&&l.hash===s&&l.mtime.getTime()===c.getTime())return}t.writeFile(n,a,i),l=t.getModifiedTime(n)||At.missingFileModifiedTime,r.set(n,{hash:s,byteOrderMark:i,mtime:l})}else t.writeFile(n,a,i)}),(function(e){return(d.createDirectory||t.createDirectory)(e)}),(function(e){return e=e,!!a.has(e)||!!(d.directoryExists||t.directoryExists)(e)&&(a.set(e,!0),!0)})),At.performance.mark("afterIOWrite"),At.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(n){c&&c(n.message)}},getCurrentDirectory:At.memoize((function(){return t.getCurrentDirectory()})),useCaseSensitiveFileNames:function(){return t.useCaseSensitiveFileNames},getCanonicalFileName:i,getNewLine:function(){return c},fileExists:function(e){return t.fileExists(e)},readFile:function(e){return t.readFile(e)},trace:function(e){return t.write(e+c)},directoryExists:function(e){return t.directoryExists(e)},getEnvironmentVariable:function(e){return t.getEnvironmentVariable?t.getEnvironmentVariable(e):""},getDirectories:function(e){return t.getDirectories(e)},realpath:l,readDirectory:function(e,n,r,a,i){return t.readDirectory(e,n,r,a,i)},createDirectory:function(e){return t.createDirectory(e)},createHash:At.maybeBind(t,t.createHash)};return d}function SR(e,n){var t,r,a=At.diagnosticCategoryName(e)+" TS"+e.code+": "+CR(e.messageText,n.getNewLine())+n.getNewLine();return e.file?(t=(r=At.getLineAndCharacterOfPosition(e.file,e.start)).line,r=r.character,e=e.file.fileName,At.convertToRelativePath(e,n.getCurrentDirectory(),(function(e){return n.getCanonicalFileName(e)}))+"("+(t+1)+","+(r+1)+"): "+a):a}function xR(e){switch(e){case At.DiagnosticCategory.Error:return Ct.Red;case At.DiagnosticCategory.Warning:return Ct.Yellow;case At.DiagnosticCategory.Suggestion:return At.Debug.fail("Should never get an Info diagnostic on the command line.");case At.DiagnosticCategory.Message:return Ct.Blue}}function LR(e,n){return n+e+kt}function DR(e,n,t,r,a,i){for(var o=At.getLineAndCharacterOfPosition(e,n),s=o.line,c=o.character,l=(o=At.getLineAndCharacterOfPosition(e,n+t),o.line),d=o.character,u=At.getLineAndCharacterOfPosition(e,e.text.length).line,p=4<=l-s,m=(l+1+"").length,_=(p&&(m=Math.max(Rt.length,m)),""),f=s;f<=l;f++){_+=i.getNewLine(),p&&s+1<f&&f<l-1&&(_+=r+LR(At.padLeft(Rt,m),It)+Nt+i.getNewLine(),f=l-1);var g=At.getPositionOfLineAndCharacter(e,f,0),y=f<u?At.getPositionOfLineAndCharacter(e,f+1,0):e.text.length;g=e.text.slice(g,y);g=(g=At.trimStringEnd(g)).replace(/\t/g," "),_=(_=(_+=r+LR(At.padLeft(f+1+"",m),It)+Nt)+(g+i.getNewLine()))+(r+LR(At.padLeft("",m),It)+Nt)+a,f===s?(y=f===l?d:void 0,_=(_+=g.slice(0,c).replace(/\S/g," "))+g.slice(c,y).replace(/./g,"~")):_+=(f===l?g.slice(0,d):g).replace(/./g,"~"),_+=kt}return _}function AR(e,n,t,r){void 0===r&&(r=LR);n=At.getLineAndCharacterOfPosition(e,n);var a=n.line,i=(n=n.character,"");return i+r(t?At.convertToRelativePath(e.fileName,t.getCurrentDirectory(),(function(e){return t.getCanonicalFileName(e)})):e.fileName,Ct.Cyan)+":"+r(""+(a+1),Ct.Yellow)+":"+r(""+(n+1),Ct.Yellow)}function CR(e,n,t){if(void 0===t&&(t=0),At.isString(e))return e;if(void 0===e)return"";var r="";if(t){r+=n;for(var a=0;a<t;a++)r+=" "}if(r+=e.messageText,t++,e.next)for(var i=0,o=e.next;i<o.length;i++)r+=CR(o[i],n,t);return r}function IR(e,n,t,r){if(0===e.length)return[];for(var a=[],i=new At.Map,o=0,s=e;o<s.length;o++){var c=s[o],l=void 0;i.has(c)?l=i.get(c):i.set(c,l=r(c,n,t)),a.push(l)}return a}function NR(e,n,t,r){var a;return function e(n,i,o){return r&&(n=r(n,o),n)?n:At.forEach(i,(function(n,r){if(!n||null==a||!a.has(n.sourceFile.path))return(r=t(n,o,r))||!n?r:((a=a||new At.Set).add(n.sourceFile.path),e(n.commandLine.projectReferences,n.references,n))}))}(e,n,void 0)}function kR(e){switch(null==e?void 0:e.kind){case At.FileIncludeKind.Import:case At.FileIncludeKind.ReferenceFile:case At.FileIncludeKind.TypeReferenceDirective:case At.FileIncludeKind.LibReferenceDirective:return!0;default:return!1}}function RR(e){return void 0!==e.pos}function OR(e,n){var t,r,a,i=At.Debug.checkDefined(e(n.file)),o=n.kind,s=n.index;switch(o){case At.FileIncludeKind.Import:var c=VR(i,s),l=null==(t=null==(t=i.resolvedModules)?void 0:t.get(c.text))?void 0:t.packageId;if(-1===c.pos)return{file:i,packageId:l,text:c.text};r=At.skipTrivia(i.text,c.pos),a=c.end;break;case At.FileIncludeKind.ReferenceFile:r=(t=i.referencedFiles[s]).pos,a=t.end;break;case At.FileIncludeKind.TypeReferenceDirective:r=(c=i.typeReferenceDirectives[s]).pos,a=c.end,l=null==(c=null==(t=i.resolvedTypeReferenceDirectiveNames)?void 0:t.get(At.toFileNameLowerCase(i.typeReferenceDirectives[s].fileName)))?void 0:c.packageId;break;case At.FileIncludeKind.LibReferenceDirective:r=(t=i.libReferenceDirectives[s]).pos,a=t.end;break;default:return At.Debug.assertNever(o)}return{file:i,pos:r,end:a,packageId:l}}function PR(e,n,t,r){var a=e.getCompilerOptions();if(a.noEmit)return e.getSemanticDiagnostics(n,r),n||At.outFile(a)?At.emitSkippedWithNoDiagnostics:e.emitBuildInfo(t,r);if(a.noEmitOnError){var i,o=eu(eu(eu(eu([],e.getOptionsDiagnostics(r),!0),e.getSyntacticDiagnostics(n,r),!0),e.getGlobalDiagnostics(r),!0),e.getSemanticDiagnostics(n,r),!0);if((o=0===o.length&&At.getEmitDeclarations(e.getCompilerOptions())?e.getDeclarationDiagnostics(void 0,r):o).length)return n||At.outFile(a)||((n=e.emitBuildInfo(t,r)).diagnostics&&(o=eu(eu([],o,!0),n.diagnostics,!0)),i=n.emittedFiles),{diagnostics:o,sourceMaps:void 0,emittedFiles:i,emitSkipped:!0}}}function wR(e,n){return At.filter(e,(function(e){return!e.skippedOn||!n[e.skippedOn]}))}function MR(e,n){return void 0===n&&(n=e),{fileExists:function(e){return n.fileExists(e)},readDirectory:function(e,t,r,a,i){return At.Debug.assertIsDefined(n.readDirectory,"'CompilerHost.readDirectory' must be implemented to correctly process 'projectReferences'"),n.readDirectory(e,t,r,a,i)},readFile:function(e){return n.readFile(e)},useCaseSensitiveFileNames:e.useCaseSensitiveFileNames(),getCurrentDirectory:function(){return e.getCurrentDirectory()},onUnRecoverableConfigFileDiagnostic:e.onUnRecoverableConfigFileDiagnostic||At.returnUndefined,trace:e.trace?function(n){return e.trace(n)}:void 0}}function FR(e,n,t){if(!e)return At.emptyArray;for(var r,a=0;a<e.length;a++){var i=e[a],o=n(i,a);i.prepend&&o&&o.options&&At.outFile(o.options)&&(o=(i=At.getOutputPathsForBundle(o.options,!0)).jsFilePath,o=At.createInputFiles(t,o,i.sourceMapFilePath,i.declarationFilePath,i.declarationMapPath,i.buildInfoPath),(r=r||[]).push(o))}return r||At.emptyArray}function GR(e,n){return At.resolveConfigFileProjectName((n||e).path)}function BR(e,n){switch(n.extension){case".ts":case".d.ts":return;case".tsx":return t();case".jsx":return t()||r();case".js":return r();case".json":return e.resolveJsonModule?void 0:At.Diagnostics.Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used}function t(){return e.jsx?void 0:At.Diagnostics.Module_0_was_resolved_to_1_but_jsx_is_not_set}function r(){return At.getAllowJSCompilerOption(e)||!At.getStrictOptionValue(e,"noImplicitAny")?void 0:At.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type}}function UR(e){for(var n=e.imports,t=(e=e.moduleAugmentations,n.map((function(e){return e.text}))),r=0,a=e;r<a.length;r++){var i=a[r];10===i.kind&&t.push(i.text)}return t}function VR(e,n){var t=e.imports;if(n<t.length)return t[n];for(var r=t.length,a=0,i=e.moduleAugmentations;a<i.length;a++){var o=i[a];if(10===o.kind){if(n===r)return o;r++}}At.Debug.fail("should never ask for module name at index higher than possible module name")}function jR(e,n,t,r,a,i){var o=[];e=e.emit(n,(function(e,n,t){o.push({name:e,writeByteOrderMark:t,text:n})}),r,t,a,i),n=e.emitSkipped;return{outputFiles:o,emitSkipped:n,diagnostics:e.diagnostics,exportedModulesFromDeclarationEmit:e.exportedModulesFromDeclarationEmit}}function KR(){return function e(n,t,r){var a=0,i={id:Pt++,version:function(){return a},clone:function(){return e(new Ot.Map(n),new Ot.Map(t),r&&new Ot.Set(r))},forEach:function(e){return n.forEach(e)},getKeys:function(e){return t.get(e)},getValues:function(e){return n.get(e)},hasKey:function(e){return n.has(e)},keys:function(){return n.keys()},deletedKeys:function(){return r},deleteKey:function(e){(r=r||new Ot.Set).add(e);var i=n.get(e);return!!i&&(i.forEach((function(n){return HR(t,n,e)})),n.delete(e),a++,!0)},set:function(e,o){var s=!(null==r||!r.delete(e)),c=n.get(e);return n.set(e,o),null!=c&&c.forEach((function(n){o.has(n)||(s=!0,HR(t,n,e))})),o.forEach((function(n){var r,a,i;null!=c&&c.has(n)||(s=!0,a=e,(i=(r=t).get(n))||(i=new Ot.Set,r.set(n,i)),i.add(a))})),s&&a++,i}};return i}(new Ot.Map,new Ot.Map,void 0)}function HR(e,n,t,r){void 0===r&&(r=!0);var a=e.get(n);return!(null==a||!a.delete(t)||(r&&!a.size&&e.delete(n),0))}function WR(e){return Ot.mapDefined(e.declarations,(function(e){return null==(e=Ot.getSourceFileOfNode(e))?void 0:e.resolvedPath}))}function zR(e,n,t,r){return Ot.toPath(e.getProjectReferenceRedirect(n)||n,t,r)}function JR(e,n,t){var r,a;if(n.imports&&0<n.imports.length)for(var i=e.getTypeChecker(),o=0,s=n.imports;o<s.length;o++){var c=s[o];c=(a=(a=i).getSymbolAtLocation(c))&&WR(a);null!=c&&c.forEach(b)}var l=Ot.getDirectoryPath(n.resolvedPath);if(n.referencedFiles&&0<n.referencedFiles.length)for(var d=0,u=n.referencedFiles;d<u.length;d++){var p=u[d];b(zR(e,p.fileName,l,t))}if(n.resolvedTypeReferenceDirectiveNames&&n.resolvedTypeReferenceDirectiveNames.forEach((function(n){n&&(n=n.resolvedFileName,b(zR(e,n,l,t)))})),n.moduleAugmentations.length){i=e.getTypeChecker();for(var m=0,_=n.moduleAugmentations;m<_.length;m++){var f=_[m];Ot.isStringLiteral(f)&&(f=i.getSymbolAtLocation(f))&&v(f)}}for(var g=0,y=e.getTypeChecker().getAmbientModules();g<y.length;g++){var h=y[g];h.declarations&&1<h.declarations.length&&v(h)}return r;function v(e){if(e.declarations)for(var t=0,r=e.declarations;t<r.length;t++){var a=r[t];a=Ot.getSourceFileOfNode(a);a&&a!==n&&b(a.resolvedPath)}}function b(e){(r=r||new Ot.Set).add(e)}}function qR(e,n){return n&&!n.referencedMap==!e}function XR(e,n){n.forEach((function(n,t){return YR(e,n,t)}))}function YR(e,n,t){e.fileInfos.get(t).signature=n,e.hasCalledUpdateShapeSignature.add(t)}function QR(e,n,t,r,a,i,o,s){var c,l,d,u,p;return void 0===s&&(s=e.useFileVersionAsSignature),Ot.Debug.assert(!!t),Ot.Debug.assert(!o||!!e.exportedModulesMap,"Compute visible to outside map only if visibleToOutsideReferencedMap present in the state"),!e.hasCalledUpdateShapeSignature.has(t.resolvedPath)&&!r.has(t.resolvedPath)&&((c=e.fileInfos.get(t.resolvedPath))?(c=c.signature,t.isDeclarationFile||s||(l=jR(n,t,!0,a,void 0,!0),(d=Ot.firstOrUndefined(l.outputFiles))&&(Ot.Debug.assert(Ot.fileExtensionIs(d.name,".d.ts"),"File extension for signature expected to be dts",(function(){return"Found: "+Ot.getAnyExtensionFromPath(d.name)+" for "+d.name+":: All output files: "+JSON.stringify(l.outputFiles.map((function(e){return e.name})))})),p=(i||Ot.generateDjb2Hash)(d.text),o)&&p!==c&&(s=t,n=l.exportedModulesFromDeclarationEmit,a=o,n&&(n.forEach((function(e){null!=(e=WR(e))&&e.length&&(u=u||new Ot.Set,e.forEach((function(e){return u.add(e)})))})),u)?a.set(s.resolvedPath,u):a.deleteKey(s.resolvedPath))),void 0===p&&(p=t.version,o)&&p!==c&&((i=e.referencedMap?e.referencedMap.getValues(t.resolvedPath):void 0)?o.set(t.resolvedPath,i):o.deleteKey(t.resolvedPath)),r.set(t.resolvedPath,p),p!==c):Ot.Debug.fail())}function ZR(e,n){return e.allFileNames||(n=n.getSourceFiles(),e.allFileNames=n===Ot.emptyArray?Ot.emptyArray:n.map((function(e){return e.fileName}))),e.allFileNames}function $R(e,n){return e=e.referencedMap.getKeys(n),e?Ot.arrayFrom(e.keys()):[]}function eO(e){return Ot.some(e.moduleAugmentations,(function(e){return Ot.isGlobalScopeAugmentation(e.parent)}))||!Ot.isExternalOrCommonJsModule(e)&&!Ot.isJsonSourceFile(e)&&!(e=>{for(var n=0,t=e.statements;n<t.length;n++){var r=t[n];if(!Ot.isModuleWithStringLiteralName(r))return}return 1})(e)}function nO(e,n,t){if(!e.allFilesExcludingDefaultLibraryFile){var r;t&&s(t);for(var a=0,i=n.getSourceFiles();a<i.length;a++){var o=i[a];o!==t&&s(o)}e.allFilesExcludingDefaultLibraryFile=r||Ot.emptyArray}return e.allFilesExcludingDefaultLibraryFile;function s(e){n.isSourceFileDefaultLibrary(e)||(r=r||[]).push(e)}}function tO(e,n,t,r){var a,i=wt.BuilderState.create(e,n,t,r),o=(r=(i.program=e).getCompilerOptions(),i.compilerOptions=r,wt.outFile(r)||(i.semanticDiagnosticsPerFile=new wt.Map),i.changedFilesSet=new wt.Set,wt.BuilderState.canReuseOldState(i.referencedMap,t)),s=o?t.compilerOptions:void 0,c=o&&t.semanticDiagnosticsPerFile&&!!i.semanticDiagnosticsPerFile&&!wt.compilerOptionsAffectSemanticDiagnostics(r,s),l=(o&&(t.currentChangedFilePath||(a=t.currentAffectedFilesSignatures,wt.Debug.assert(!(t.affectedFiles||a&&a.size),"Cannot reuse if only few affected files of currentChangedFile were iterated")),a=t.changedFilesSet,c&&wt.Debug.assert(!a||!wt.forEachKey(a,(function(e){return t.semanticDiagnosticsPerFile.has(e)})),"Semantic diagnostics shouldnt be available for changed files"),null!=a&&a.forEach((function(e){return i.changedFilesSet.add(e)})),!wt.outFile(r))&&t.affectedFilesPendingEmit&&(i.affectedFilesPendingEmit=t.affectedFilesPendingEmit.slice(),i.affectedFilesPendingEmitKind=t.affectedFilesPendingEmitKind&&new wt.Map(t.affectedFilesPendingEmitKind),i.affectedFilesPendingEmitIndex=t.affectedFilesPendingEmitIndex,i.seenAffectedFiles=new wt.Set),i.referencedMap),d=o?t.referencedMap:void 0,u=c&&!r.skipLibCheck==!s.skipLibCheck,p=u&&!r.skipDefaultLibCheck==!s.skipDefaultLibCheck;return i.fileInfos.forEach((function(r,a){var s,m,_,f,g;function y(e){return wt.toPath(e,f,_)}!o||!(s=t.fileInfos.get(a))||s.version!==r.version||(r=s=l&&l.getValues(a),g=d&&d.getValues(a),r!==g&&(void 0===r||void 0===g||r.size!==g.size||wt.forEachKey(r,(function(e){return!g.has(e)}))))||s&&wt.forEachKey(s,(function(e){return!i.fileInfos.has(e)&&t.fileInfos.has(e)}))?i.changedFilesSet.add(a):!c||(r=e.getSourceFileByPath(a)).isDeclarationFile&&!u||r.hasNoDefaultLib&&!p||(s=t.semanticDiagnosticsPerFile.get(a))&&(i.semanticDiagnosticsPerFile.set(a,t.hasReusableDiagnostic?(m=e,_=n,(r=s).length?(f=wt.getDirectoryPath(wt.getNormalizedAbsolutePath(wt.getTsBuildInfoEmitOutputFilePath(m.getCompilerOptions()),m.getCurrentDirectory())),r.map((function(e){var n=rO(e,m,y);n.reportsUnnecessary=e.reportsUnnecessary,n.reportsDeprecated=e.reportDeprecated,n.source=e.source,n.skippedOn=e.skippedOn,e=e.relatedInformation;return n.relatedInformation=e?e.length?e.map((function(e){return rO(e,m,y)})):[]:void 0,n}))):wt.emptyArray):s),i.semanticDiagnosticsFromOldState||(i.semanticDiagnosticsFromOldState=new wt.Set),i.semanticDiagnosticsFromOldState.add(a))})),o&&wt.forEachEntry(t.fileInfos,(function(e,n){return e.affectsGlobalScope&&!i.fileInfos.has(n)}))?wt.BuilderState.getAllFilesExcludingDefaultLibraryFile(i,e,void 0).forEach((function(e){return i.changedFilesSet.add(e.resolvedPath)})):s&&!wt.outFile(r)&&wt.compilerOptionsAffectEmit(r,s)&&(e.getSourceFiles().forEach((function(e){return fO(i,e.resolvedPath,1)})),wt.Debug.assert(!i.seenAffectedFiles||!i.seenAffectedFiles.size),i.seenAffectedFiles=i.seenAffectedFiles||new wt.Set),i.buildInfoEmitPending=!!i.changedFilesSet.size,i}function rO(e,n,t){var r=e.file;return nu(nu({},e),{file:r?n.getSourceFileByPath(t(r)):void 0})}function aO(e,n){wt.Debug.assert(!n||!e.affectedFiles||e.affectedFiles[e.affectedFilesIndex-1]!==n||!e.semanticDiagnosticsPerFile.has(n.resolvedPath))}function iO(e,n,t){for(;;){var r=e.affectedFiles;if(r){for(var a=e.seenAffectedFiles,i=e.affectedFilesIndex;i<r.length;){var o=r[i];if(!a.has(o.resolvedPath)){e.affectedFilesIndex=i;var s,c,l=e,d=o,u=n,p=t;if(oO(l,d.resolvedPath),l.allFilesExcludingDefaultLibraryFile===l.affectedFiles)l.cleanedDiagnosticsOfLibFiles||(l.cleanedDiagnosticsOfLibFiles=!0,s=wt.Debug.checkDefined(l.program),c=s.getCompilerOptions(),wt.forEach(s.getSourceFiles(),(function(e){return s.isSourceFileDefaultLibrary(e)&&!wt.skipTypeChecking(e,c,s)&&oO(l,e.resolvedPath)}))),wt.BuilderState.updateShapeSignature(l,wt.Debug.checkDefined(l.program),d,wt.Debug.checkDefined(l.currentAffectedFilesSignatures),u,p,l.currentAffectedFilesExportedModulesMap);else if(wt.Debug.assert(l.hasCalledUpdateShapeSignature.has(d.resolvedPath)||(null==(_=l.currentAffectedFilesSignatures)?void 0:_.has(d.resolvedPath)),"Signature not updated for affected file: "+d.fileName),!l.compilerOptions.assumeChangesOnlyAffectDirectDependencies){var m=l,_=d,f=function(e,n){var t,r,a=u,i=p;oO(e,n),e.changedFilesSet.has(n)||(t=wt.Debug.checkDefined(e.program),(r=t.getSourceFileByPath(n))&&(wt.BuilderState.updateShapeSignature(e,t,r,wt.Debug.checkDefined(e.currentAffectedFilesSignatures),a,i,e.currentAffectedFilesExportedModulesMap,!0),wt.getEmitDeclarations(e.compilerOptions))&&fO(e,n,0))};if(m.exportedModulesMap&&m.changedFilesSet.has(_.resolvedPath)&&sO(m,_.resolvedPath)){if(m.compilerOptions.isolatedModules)for(var g=new wt.Map,y=(g.set(_.resolvedPath,!0),wt.BuilderState.getReferencedByPaths(m,_.resolvedPath));0<y.length;){var h=y.pop();g.has(h)||(g.set(h,!0),f(m,h),sO(m,h)&&(h=wt.Debug.checkDefined(m.program).getSourceFileByPath(h),y.push.apply(y,wt.BuilderState.getReferencedByPaths(m,h.resolvedPath))))}wt.Debug.assert(!!m.currentAffectedFilesExportedModulesMap);var v=new wt.Set;null!=(d=m.currentAffectedFilesExportedModulesMap.getKeys(_.resolvedPath))&&d.forEach((function(e){return cO(m,e,v,f)})),null!=(d=m.exportedModulesMap.getKeys(_.resolvedPath))&&d.forEach((function(e){var n;return!m.currentAffectedFilesExportedModulesMap.hasKey(e)&&!(null!=(n=m.currentAffectedFilesExportedModulesMap.deletedKeys())&&n.has(e))&&cO(m,e,v,f)}))}}return o}i++}e.changedFilesSet.delete(e.currentChangedFilePath),e.currentChangedFilePath=void 0,wt.BuilderState.updateSignaturesFromCache(e,e.currentAffectedFilesSignatures),e.currentAffectedFilesSignatures.clear(),wt.BuilderState.updateExportedFilesMapFromCache(e,e.currentAffectedFilesExportedModulesMap),e.affectedFiles=void 0}var b=e.changedFilesSet.keys().next();if(b.done)return;var E=wt.Debug.checkDefined(e.program),T=E.getCompilerOptions();if(wt.outFile(T))return wt.Debug.assert(!e.semanticDiagnosticsPerFile),E;e.currentAffectedFilesSignatures||(e.currentAffectedFilesSignatures=new wt.Map),!e.exportedModulesMap||e.currentAffectedFilesExportedModulesMap||(e.currentAffectedFilesExportedModulesMap=wt.BuilderState.createManyToManyPathMap()),e.affectedFiles=wt.BuilderState.getFilesAffectedBy(e,E,b.value,n,t,e.currentAffectedFilesSignatures,e.currentAffectedFilesExportedModulesMap),e.currentChangedFilePath=b.value,e.affectedFilesIndex=0,e.seenAffectedFiles||(e.seenAffectedFiles=new wt.Set)}}function oO(e,n){return!e.semanticDiagnosticsFromOldState||(e.semanticDiagnosticsFromOldState.delete(n),e.semanticDiagnosticsPerFile.delete(n),!e.semanticDiagnosticsFromOldState.size)}function sO(e,n){return wt.Debug.checkDefined(e.currentAffectedFilesSignatures).get(n)!==wt.Debug.checkDefined(e.fileInfos.get(n)).signature}function cO(e,n,t,r){null!=(n=e.referencedMap.getKeys(n))&&n.forEach((function(n){return function e(n,t,r,a){var i;wt.tryAddToSet(r,t)&&(a(n,t),wt.Debug.assert(!!n.currentAffectedFilesExportedModulesMap),null!=(i=n.currentAffectedFilesExportedModulesMap.getKeys(t))&&i.forEach((function(t){return e(n,t,r,a)})),null!=(i=n.exportedModulesMap.getKeys(t))&&i.forEach((function(t){var i;return!n.currentAffectedFilesExportedModulesMap.hasKey(t)&&!(null!=(i=n.currentAffectedFilesExportedModulesMap.deletedKeys())&&i.has(t))&&e(n,t,r,a)})),null!=(i=n.referencedMap.getKeys(t))&&i.forEach((function(e){return!r.has(e)&&a(n,e)})))}(e,n,t,r)}))}function lO(e,n,t,r,a){a?e.buildInfoEmitPending=!1:n===e.program?(e.changedFilesSet.clear(),e.programEmitComplete=!0):(e.seenAffectedFiles.add(n.resolvedPath),void 0!==t&&(e.seenEmittedFiles||(e.seenEmittedFiles=new wt.Map)).set(n.resolvedPath,t),r?(e.affectedFilesPendingEmitIndex++,e.buildInfoEmitPending=!0):e.affectedFilesIndex++)}function dO(e,n,t){return lO(e,t),{result:n,affected:t}}function uO(e,n,t,r,a,i){return lO(e,t,r,a,i),{result:n,affected:t}}function pO(e,n,t){return wt.concatenate(((e,n,t)=>{var r=n.resolvedPath;if(e.semanticDiagnosticsPerFile){var a=e.semanticDiagnosticsPerFile.get(r);if(a)return wt.filterSemanticDiagnostics(a,e.compilerOptions)}return a=wt.Debug.checkDefined(e.program).getBindAndCheckDiagnostics(n,t),e.semanticDiagnosticsPerFile&&e.semanticDiagnosticsPerFile.set(r,a),wt.filterSemanticDiagnostics(a,e.compilerOptions)})(e,n,t),wt.Debug.checkDefined(e.program).getProgramDiagnostics(n))}function mO(e,n){if(!wt.outFile(e.compilerOptions)){var t,r,a,i,o,s,c=wt.Debug.checkDefined(e.program).getCurrentDirectory(),l=wt.getDirectoryPath(wt.getNormalizedAbsolutePath(wt.getTsBuildInfoEmitOutputFilePath(e.compilerOptions),c)),d=[],u=new wt.Map,p=wt.arrayFrom(e.fileInfos.entries(),(function(n){var t=n[0],r=(n=n[1],T(t));wt.Debug.assert(d[r-1]===E(t)),r=e.currentAffectedFilesSignatures&&e.currentAffectedFilesSignatures.get(t),t=null!=r?r:n.signature;return n.version===t?n.affectsGlobalScope?{version:n.version,signature:void 0,affectsGlobalScope:!0}:n.version:void 0!==t?void 0===r?n:{version:n.version,signature:r,affectsGlobalScope:n.affectsGlobalScope}:{version:n.version,signature:!1,affectsGlobalScope:n.affectsGlobalScope}}));if(e.referencedMap&&(a=wt.arrayFrom(e.referencedMap.keys()).sort(wt.compareStringsCaseSensitive).map((function(n){return[T(n),S(e.referencedMap.getValues(n))]}))),e.exportedModulesMap&&(i=wt.mapDefined(wt.arrayFrom(e.exportedModulesMap.keys()).sort(wt.compareStringsCaseSensitive),(function(n){if(e.currentAffectedFilesExportedModulesMap){if(null!=(t=e.currentAffectedFilesExportedModulesMap.deletedKeys())&&t.has(n))return;var t=e.currentAffectedFilesExportedModulesMap.getValues(n);if(t)return[T(n),S(t)]}return[T(n),S(e.exportedModulesMap.getValues(n))]}))),e.semanticDiagnosticsPerFile)for(var m=0,_=wt.arrayFrom(e.semanticDiagnosticsPerFile.keys()).sort(wt.compareStringsCaseSensitive);m<_.length;m++){var f=_[m],g=e.semanticDiagnosticsPerFile.get(f);(o=o||[]).push(g.length?[T(f),e.hasReusableDiagnostic?g:((e,n)=>(wt.Debug.assert(!!e.length),e.map((function(e){var t=_O(e,n);t.reportsUnnecessary=e.reportsUnnecessary,t.reportDeprecated=e.reportsDeprecated,t.source=e.source,t.skippedOn=e.skippedOn,e=e.relatedInformation;return t.relatedInformation=e?e.length?e.map((function(e){return _O(e,n)})):[]:void 0,t}))))(g,E)]:T(f))}if(e.affectedFilesPendingEmit)for(var y=new wt.Set,h=0,v=e.affectedFilesPendingEmit.slice(e.affectedFilesPendingEmitIndex).sort(wt.compareStringsCaseSensitive);h<v.length;h++){var b=v[h];wt.tryAddToSet(y,b)&&(s=s||[]).push([T(b),e.affectedFilesPendingEmitKind.get(b)])}return{fileNames:d,fileInfos:p,options:((e,n)=>{for(var t,r=wt.getOptionsNameMap().optionsNameMap,a=0,i=wt.getOwnKeys(e).sort(wt.compareStringsCaseSensitive);a<i.length;a++){var o=i[a],s=o.toLowerCase(),c=r.get(s);(null!=c&&c.affectsEmit||null!=c&&c.affectsSemanticDiagnostics||"strict"===s||"skiplibcheck"===s||"skipdefaultlibcheck"===s)&&((t=t||{})[o]=((e,n,t)=>{if(e)if("list"===e.type){var r=n;if(e.element.isFilePath&&r.length)return r.map(t)}else if(e.isFilePath)return t(n);return n})(c,e[o],n))}return t})(e.compilerOptions,(function(e){return E(wt.getNormalizedAbsolutePath(e,c))})),fileIdsList:t,referencedMap:a,exportedModulesMap:i,semanticDiagnosticsPerFile:o,affectedFilesPendingEmit:s}}function E(e){return wt.ensurePathIsNonModuleName(wt.getRelativePathFromDirectory(l,e,n))}function T(e){var n=u.get(e);return void 0===n&&(d.push(E(e)),u.set(e,n=d.length)),n}function S(e){e=wt.arrayFrom(e.keys(),T).sort(wt.compareValues);var n=e.join(),a=null==r?void 0:r.get(n);return void 0===a&&((t=t||[]).push(e),(r=r||new wt.Map).set(n,a=t.length)),a}}function _O(e,n){var t=e.file;return nu(nu({},e),{file:t?n(t.resolvedPath):void 0})}function fO(e,n,t){e.affectedFilesPendingEmit||(e.affectedFilesPendingEmit=[]),e.affectedFilesPendingEmitKind||(e.affectedFilesPendingEmitKind=new wt.Map);var r=e.affectedFilesPendingEmitKind.get(n);e.affectedFilesPendingEmit.push(n),e.affectedFilesPendingEmitKind.set(n,r||t),void 0===e.affectedFilesPendingEmitIndex&&(e.affectedFilesPendingEmitIndex=0)}function gO(e){return wt.isString(e)?{version:e,signature:e,affectsGlobalScope:void 0}:wt.isString(e.signature)?e:{version:e.version,signature:!1===e.signature?void 0:e.version,affectsGlobalScope:e.affectsGlobalScope}}function yO(e,n){return{getState:wt.notImplemented,backupState:wt.noop,restoreState:wt.noop,getProgram:t,getProgramOrUndefined:function(){return e().program},releaseProgram:function(){return e().program=void 0},getCompilerOptions:function(){return e().compilerOptions},getSourceFile:function(e){return t().getSourceFile(e)},getSourceFiles:function(){return t().getSourceFiles()},getOptionsDiagnostics:function(e){return t().getOptionsDiagnostics(e)},getGlobalDiagnostics:function(e){return t().getGlobalDiagnostics(e)},getConfigFileParsingDiagnostics:function(){return n},getSyntacticDiagnostics:function(e,n){return t().getSyntacticDiagnostics(e,n)},getDeclarationDiagnostics:function(e,n){return t().getDeclarationDiagnostics(e,n)},getSemanticDiagnostics:function(e,n){return t().getSemanticDiagnostics(e,n)},emit:function(e,n,r,a,i){return t().emit(e,n,r,a,i)},emitBuildInfo:function(e,n){return t().emitBuildInfo(e,n)},getAllDependencies:wt.notImplemented,getCurrentDirectory:function(){return t().getCurrentDirectory()},close:wt.noop};function t(){return wt.Debug.checkDefined(e().program)}}function hO(e){return Gt.endsWith(e,"/node_modules/.staging")?Gt.removeSuffix(e,"/.staging"):Gt.some(Gt.ignoredPaths,(function(n){return Gt.stringContains(e,n)}))?void 0:e}function vO(e){var n=Gt.getRootLength(e);if(e.length===n)return!1;var t=e.indexOf(Gt.directorySeparator,n);if(-1===t)return!1;var r=e.substring(n,t+1),a=1<n||47!==e.charCodeAt(0);if(a&&0!==e.search(/[a-zA-Z]:/)&&0===r.search(/[a-zA-z]\$\//)){if(-1===(t=e.indexOf(Gt.directorySeparator,t+1)))return!1;r=e.substring(n+r.length,t+1)}if(!a||0===r.search(/users\//i))for(var i=t+1,o=2;0<o;o--)if(0===(i=e.indexOf(Gt.directorySeparator,i)+1))return!1;return!0}function bO(e,n,t){var r=e.importModuleSpecifierPreference,a=e.importModuleSpecifierEnding;return{relativePreference:"relative"===r?0:"non-relative"===r?1:"project-relative"===r?3:2,ending:(()=>{switch(a){case"minimal":return 0;case"index":return 1;case"js":return 2;default:return(e=>(e=e.imports,Bt.firstDefined(e,(function(e){return e=e.text,Bt.pathIsRelative(e)?Bt.hasJSFileExtension(e):void 0}))))(t)?2:Bt.getEmitModuleResolutionKind(n)!==Bt.ModuleResolutionKind.NodeJs?1:0}})()}}function EO(e,n,t,r,a,i){var o=xO(n,r);n=NO(n,t,r,i);return Bt.firstDefined(n,(function(n){return OO(n,o,r,e)}))||LO(t,o,e,r,a)}function TO(e,n,t,r){var a;e=Bt.getSourceFileOfModule(e);return e?[null==(t=null==(a=null==(a=t.getModuleSpecifierCache)?void 0:a.call(t))?void 0:a.get(n.path,e.path,r))?void 0:t.moduleSpecifiers,e,null==t?void 0:t.modulePaths,a]:Bt.emptyArray}function SO(e,n,t,r,a,i){var o,s;n=((e,n)=>{var t=null==(t=e.declarations)?void 0:t.find((function(e){return Bt.isNonGlobalAmbientModule(e)&&(!Bt.isExternalModuleAugmentation(e)||!Bt.isExternalModuleNameRelative(Bt.getTextOfIdentifierOrLiteral(e.name)))}));return(t=t||Bt.mapDefined(e.declarations,(function(e){var t,r;return Bt.isModuleDeclaration(e)&&null!=(r=null==(t=(e=>{for(;4&e.flags;)e=e.parent;return e})(e))?void 0:t.parent)&&r.parent&&Bt.isModuleBlock(t.parent)&&Bt.isAmbientModule(t.parent.parent)&&Bt.isSourceFile(t.parent.parent.parent)&&(r=null==(r=null==(r=null==(r=t.parent.parent.symbol.exports)?void 0:r.get("export="))?void 0:r.valueDeclaration)?void 0:r.expression)&&(r=n.getSymbolAtLocation(r))&&(2097152&(null==r?void 0:r.flags)?n.getAliasedSymbol(r):r)===e.symbol?t.parent.parent:void 0}))[0])?t.name.text:void 0})(e,n);return n?{moduleSpecifiers:[n],computedWithoutCache:!1}:(e=(n=TO(e,r,a,i))[0],o=n[1],s=n[2],n=n[3],e?{moduleSpecifiers:e,computedWithoutCache:!1}:o?(e=((e,n,t,r,a)=>{var i=xO(t.path,r),o=bO(a,n,t);if(a=Bt.forEach(e,(function(e){return Bt.forEach(r.getFileIncludeReasons().get(Bt.toPath(e.path,r.getCurrentDirectory(),i.getCanonicalFileName)),(function(e){if(e.kind===Bt.FileIncludeKind.Import&&e.file===t.path)return e=Bt.getModuleNameStringLiteralAt(t,e.index).text,1===o.relativePreference&&Bt.pathIsRelative(e)?void 0:e}))})))return[a];for(var s,c,l,d=Bt.some(e,(function(e){return e.isInNodeModules})),u=0,p=e;u<p.length;u++){var m=p[u],_=OO(m,i,r,n);if(s=Bt.append(s,_),_&&m.isRedirect)return s;_||m.isRedirect||(_=LO(m.path,i,n,r,o),Bt.pathIsBareSpecifier(_)?c=Bt.append(c,_):d&&!m.isInNodeModules||(l=Bt.append(l,_)))}return null!=c&&c.length?c:null!=s&&s.length?s:Bt.Debug.checkDefined(l)})(s=s||kO(r.path,o.originalFileName,a),t,r,a,i),null!=n&&n.set(r.path,o.path,i,s,e),{moduleSpecifiers:e,computedWithoutCache:!0}):{moduleSpecifiers:Bt.emptyArray,computedWithoutCache:!1})}function xO(e,n){return{getCanonicalFileName:Bt.createGetCanonicalFileName(!n.useCaseSensitiveFileNames||n.useCaseSensitiveFileNames()),importingSourceFileName:e,sourceDirectory:Bt.getDirectoryPath(e)}}function LO(e,n,t,r,a){var i,o=a.ending,s=(a=a.relativePreference,t.baseUrl),c=t.paths,l=t.rootDirs,d=n.sourceDirectory,u=n.getCanonicalFileName;l=l&&((e,n,t,r,a,i)=>{if(void 0!==(n=PO(n,e,r)))return t=PO(t,e,r),e=void 0!==t?Bt.ensurePathIsNonModuleName(Bt.getRelativePathFromDirectory(t,n,r)):n,Bt.getEmitModuleResolutionKind(i)===Bt.ModuleResolutionKind.NodeJs?wO(e,a,i):Bt.removeFileExtension(e)})(l,e,d,u,o,t)||wO(Bt.ensurePathIsNonModuleName(Bt.getRelativePathFromDirectory(d,e,u)),o,t);return(s||c)&&0!==a&&(i=FO(e,Bt.getNormalizedAbsolutePath(Bt.getPathsBasePath(t,r)||s,r.getCurrentDirectory()),u))&&(o=wO(i,o,t),c=void 0===(i=c&&RO(Bt.removeFileExtension(i),o,c))&&void 0!==s?o:i)?1===a?c:3===a?(s=t.configFilePath?Bt.toPath(Bt.getDirectoryPath(t.configFilePath),r.getCurrentDirectory(),n.getCanonicalFileName):n.getCanonicalFileName(r.getCurrentDirectory()),o=Bt.toPath(e,s,u),i=Bt.startsWith(d,s),t=Bt.startsWith(o,s),i&&!t||!i&&t||(n=CO(r,Bt.getDirectoryPath(o)),CO(r,d)!==n)?c:l):(2!==a&&Bt.Debug.assertNever(a),GO(c)||DO(l)<DO(c)?l:c):l}function DO(e){for(var n=0,t=Bt.startsWith(e,"./")?2:0;t<e.length;t++)47===e.charCodeAt(t)&&n++;return n}function AO(e,n){return Bt.compareBooleans(n.isRedirect,e.isRedirect)||Bt.compareNumberOfDirectorySeparators(e.path,n.path)}function CO(e,n){return e.getNearestAncestorDirectoryWithPackageJson?e.getNearestAncestorDirectoryWithPackageJson(n):!!Bt.forEachAncestorDirectory(n,(function(n){return!!e.fileExists(Bt.combinePaths(n,"package.json"))||void 0}))}function IO(e,n,t,r,a){var i=Bt.hostGetCanonicalFileName(t),o=t.getCurrentDirectory(),s=t.isSourceOfProjectReferenceRedirect(n)?t.getProjectReferenceRedirect(n):void 0,c=Bt.toPath(n,o,i),l=(c=t.redirectTargetsMap.get(c)||Bt.emptyArray,eu(eu(eu([],s?[s]:Bt.emptyArray,!0),[n],!1),c,!0).map((function(e){return Bt.getNormalizedAbsolutePath(e,o)}))),d=!Bt.every(l,Bt.containsIgnoredPath);if(!r&&(c=Bt.forEach(l,(function(e){return!(d&&Bt.containsIgnoredPath(e))&&a(e,s===e)})),c))return c;var u=null==(c=t.getSymlinkCache)?void 0:c.call(t).getSymlinkedDirectoriesByRealpath();c=Bt.getNormalizedAbsolutePath(n,o);return u&&Bt.forEachAncestorDirectory(Bt.getDirectoryPath(c),(function(n){var t=u.get(Bt.ensureTrailingDirectorySeparator(Bt.toPath(n,o,i)));if(t)return!Bt.startsWithDirectory(e,n,i)&&Bt.forEach(l,(function(e){if(Bt.startsWithDirectory(e,n,i))for(var r=Bt.getRelativePathFromDirectory(n,e,i),o=0,c=t;o<c.length;o++){var l=c[o];l=Bt.resolvePath(l,r),l=a(l,e===s);if(d=!0,l)return l}}))}))||(r?Bt.forEach(l,(function(e){return d&&Bt.containsIgnoredPath(e)?void 0:a(e,e===s)})):void 0)}function NO(e,n,t,r,a){void 0===a&&(a=Bt.toPath(n,t.getCurrentDirectory(),Bt.hostGetCanonicalFileName(t)));var i=null==(i=t.getModuleSpecifierCache)?void 0:i.call(t);if(i){var o=i.get(e,a,r);if(null!=o&&o.modulePaths)return o.modulePaths}return o=kO(e,n,t),i&&i.setModulePaths(e,a,r,o),o}function kO(e,n,t){for(var r,a=Bt.hostGetCanonicalFileName(t),i=new Bt.Map,o=(IO(e,n,t,!0,(function(e,n){var t=Bt.pathContainsNodeModules(e);i.set(e,{path:a(e),isRedirect:n,isInNodeModules:t})})),[]),s=Bt.getDirectoryPath(e);0!==i.size;){var c=(e=>{var n,t=Bt.ensureTrailingDirectorySeparator(e),a=(i.forEach((function(e,r){var a=e.path,o=e.isRedirect;e=e.isInNodeModules;Bt.startsWith(a,t)&&((n=n||[]).push({path:r,isRedirect:o,isInNodeModules:e}),i.delete(r))})),n&&(1<n.length&&n.sort(AO),o.push.apply(o,n)),Bt.getDirectoryPath(e));if(a===e)return r=e,"break";r=e=a})(s);s=r;if("break"===c)break}return i.size&&(1<(n=Bt.arrayFrom(i.values())).length&&n.sort(AO),o.push.apply(o,n)),o}function RO(e,n,t){for(var r in t)for(var a=0,i=t[r];a<i.length;a++){var o=i[a],s=(o=Bt.removeFileExtension(Bt.normalizePath(o)),o.indexOf("*"));if(-1!==s){var c=o.substr(0,s);s=o.substr(s+1);if(n.length>=c.length+s.length&&Bt.startsWith(n,c)&&Bt.endsWith(n,s)||!s&&n===Bt.removeTrailingDirectorySeparator(c))return s=n.substr(c.length,n.length-s.length-c.length),r.replace("*",s)}else if(o===n||o===e)return r}}function OO(e,n,t,r,a){var i=e.path,o=(e=e.isRedirect,n.getCanonicalFileName);n=n.sourceDirectory;if(t.fileExists&&t.readFile){var s=(e=>{for(var n=0,t=0,r=0,a=0,i={},o=(i[i.BeforeNodeModules=0]="BeforeNodeModules",i[i.NodeModules=1]="NodeModules",i[i.Scope=2]="Scope",i[i.PackageContent=3]="PackageContent",0),s=0,c=0;0<=s;)switch(o=s,s=e.indexOf("/",o+1),c){case 0:e.indexOf(Bt.nodeModulesPathPart,o)===o&&(n=o,t=s,c=1);break;case 1:case 2:c=1===c&&"@"===e.charAt(o+1)?2:(r=s,3);break;case 3:c=e.indexOf(Bt.nodeModulesPathPart,o)===o?1:3}return a=o,1<c?{topLevelNodeModulesIndex:n,topLevelPackageNameIndex:t,packageRootIndex:r,fileNameIndex:a}:void 0})(i);if(s){var c=i,l=!1;if(!a)for(var d=s.packageRootIndex,u=void 0;;){var p=(e=>{e=i.substring(0,e);var n=Bt.combinePaths(e,"package.json"),a=i;if(t.fileExists(n)){n=JSON.parse(t.readFile(n));var s=n.typesVersions?Bt.getPackageJsonTypesVersionsPaths(n.typesVersions):void 0;s=(s&&(c=i.slice(e.length+1),void 0!==(c=RO(Bt.removeFileExtension(c),wO(c,0,r),s.paths)))&&(a=Bt.combinePaths(e,c)),n.typings||n.types||n.main);if(Bt.isString(s)){var c=Bt.toPath(s,e,o);if(Bt.removeFileExtension(c)===Bt.removeFileExtension(o(a)))return{packageRootPath:e,moduleFileToTry:a}}}return{moduleFileToTry:a}})(d),m=p.moduleFileToTry;p=p.packageRootPath;if(p){c=p,l=!0;break}if(u=u||m,-1===(d=i.indexOf(Bt.directorySeparator,d+1))){c=(e=>(e=Bt.removeFileExtension(e),"/index"!==o(e.substring(s.fileNameIndex))||((e,n)=>{if(e.fileExists)for(var t=Bt.getSupportedExtensions({allowJs:!0},[{extension:"node",isMixedContent:!1},{extension:"json",isMixedContent:!1,scriptKind:6}]),r=0,a=t;r<a.length;r++){var i=a[r];i=n+i;if(e.fileExists(i))return i}})(t,e.substring(0,s.fileNameIndex))?e:e.substring(0,s.fileNameIndex)))(u);break}}if(!e||l){a=t.getGlobalTypingsCacheLocation&&t.getGlobalTypingsCacheLocation(),e=o(c.substring(0,s.topLevelNodeModulesIndex));if(Bt.startsWith(n,e)||a&&Bt.startsWith(o(a),e))return n=c.substring(s.topLevelPackageNameIndex+1),a=Bt.getPackageNameFromTypesPackageName(n),Bt.getEmitModuleResolutionKind(r)!==Bt.ModuleResolutionKind.NodeJs&&a===n?void 0:a}}}}function PO(e,n,t){return Bt.firstDefined(n,(function(n){return n=FO(e,n,t),GO(n)?void 0:n}))}function wO(e,n,t){if(Bt.fileExtensionIs(e,".json"))return e;var r,a,i=Bt.removeFileExtension(e);switch(n){case 0:return Bt.removeSuffix(i,"/index");case 1:return i;case 2:return i+(null!=(a=MO(r=e,a=t))?a:Bt.Debug.fail("Extension "+Bt.extensionFromPath(r)+" is unsupported:: FileName:: "+r));default:return Bt.Debug.assertNever(n)}}function MO(e,n){var t=Bt.tryGetExtensionFromPath(e);switch(t){case".ts":case".d.ts":return".js";case".tsx":return 1===n.jsx?".jsx":".js";case".js":case".jsx":case".json":return t;default:return}}function FO(e,n,t){return e=Bt.getRelativePathToDirectoryOrUrl(n,e,n,t,!1),Bt.isRootedDiskPath(e)?void 0:e}function GO(e){return Bt.startsWith(e,"..")}function BO(e,n){var t,r=e===Ut.sys&&Vt?Vt:{getCurrentDirectory:function(){return e.getCurrentDirectory()},getNewLine:function(){return e.newLine},getCanonicalFileName:Ut.createGetCanonicalFileName(e.useCaseSensitiveFileNames)};return n?(t=new Array(1),function(n){t[0]=n,e.write(Ut.formatDiagnosticsWithColorAndContext(t,r)+r.getNewLine()),t[0]=void 0}):function(n){return e.write(Ut.formatDiagnostic(n,r))}}function UO(e,n,t){return e.clearScreen&&!t.preserveWatchOutput&&!t.extendedDiagnostics&&!t.diagnostics&&Ut.contains(Ut.screenStartingMessageCodes,n.code)&&(e.clearScreen(),1)}function VO(e){return e.now?e.now().toLocaleTimeString("en-US",{timeZone:"UTC"}):(new Date).toLocaleTimeString()}function jO(e,n){return n?function(n,t,r){UO(e,n,r),r="["+Ut.formatColorAndReset(VO(e),Ut.ForegroundColorEscapeSequences.Grey)+"] ",r+=""+Ut.flattenDiagnosticMessageText(n.messageText,e.newLine)+(t+t),e.write(r)}:function(n,t,r){var a="";UO(e,n,r)||(a+=t),a=(a+=VO(e)+" - ")+Ut.flattenDiagnosticMessageText(n.messageText,e.newLine)+(r=t,Ut.contains(Ut.screenStartingMessageCodes,n.code)?r+r:r),e.write(a)}}function KO(e){return Ut.countWhere(e,(function(e){return e.category===Ut.DiagnosticCategory.Error}))}function HO(e){return 1===e?Ut.Diagnostics.Found_1_error_Watching_for_file_changes:Ut.Diagnostics.Found_0_errors_Watching_for_file_changes}function WO(e,n){return 0===e?"":(e=Ut.createCompilerDiagnostic(1===e?Ut.Diagnostics.Found_1_error:Ut.Diagnostics.Found_0_errors,e),""+n+Ut.flattenDiagnosticMessageText(e.messageText,n)+n+n)}function zO(e){return!!e.getState}function JO(e,n){var t=e.getCompilerOptions();t.explainFiles?qO(zO(e)?e.getProgram():e,n):(t.listFiles||t.listFilesOnly)&&Ut.forEach(e.getSourceFiles(),(function(e){n(e.fileName)}))}function qO(e,n){for(var t,r=e.getFileIncludeReasons(),a=Ut.createGetCanonicalFileName(e.useCaseSensitiveFileNames()),i=function(n){return Ut.convertToRelativePath(n,e.getCurrentDirectory(),a)},o=0,s=e.getSourceFiles();o<s.length;o++){var c=s[o];n(""+$O(c,i)),null!=(t=r.get(c.path))&&t.forEach((function(t){return n(" "+ZO(e,t,i).messageText)})),null!=(t=XO(c,i))&&t.forEach((function(e){return n(" "+e.messageText)}))}}function XO(e,n){var t;return e.path!==e.resolvedPath&&(t=t||[]).push(Ut.chainDiagnosticMessages(void 0,Ut.Diagnostics.File_is_output_of_project_reference_source_0,$O(e.originalFileName,n))),e.redirectInfo&&(t=t||[]).push(Ut.chainDiagnosticMessages(void 0,Ut.Diagnostics.File_redirects_to_file_0,$O(e.redirectInfo.redirectTarget,n))),t}function YO(e,n){var t,r,a,i,o=e.getCompilerOptions().configFile;if(null!=(t=null==o?void 0:o.configFileSpecs)&&t.validatedFilesSpec)return r=Ut.createGetCanonicalFileName(e.useCaseSensitiveFileNames()),a=r(n),i=Ut.getDirectoryPath(Ut.getNormalizedAbsolutePath(o.fileName,e.getCurrentDirectory())),Ut.find(o.configFileSpecs.validatedFilesSpec,(function(e){return r(Ut.getNormalizedAbsolutePath(e,i))===a}))}function QO(e,n){var t,r,a,i,o=e.getCompilerOptions().configFile;if(null!=(t=null==o?void 0:o.configFileSpecs)&&t.validatedIncludeSpecs)return r=Ut.fileExtensionIs(n,".json"),a=Ut.getDirectoryPath(Ut.getNormalizedAbsolutePath(o.fileName,e.getCurrentDirectory())),i=e.useCaseSensitiveFileNames(),Ut.find(null==(t=null==o?void 0:o.configFileSpecs)?void 0:t.validatedIncludeSpecs,(function(e){return!(r&&!Ut.endsWith(e,".json")||!(e=Ut.getPatternFromSpec(e,a,"files")))&&Ut.getRegexFromPattern("("+e+")$",i).test(n)}))}function ZO(e,n,t){var r=e.getCompilerOptions();if(Ut.isReferencedFile(n)){var a=Ut.getReferencedFileLocation((function(n){return e.getSourceFileByPath(n)}),n),i=Ut.isReferenceFileLocation(a)?a.file.text.substring(a.pos,a.end):'"'+a.text+'"',o=void 0;switch(Ut.Debug.assert(Ut.isReferenceFileLocation(a)||n.kind===Ut.FileIncludeKind.Import,"Only synthetic references are imports"),n.kind){case Ut.FileIncludeKind.Import:o=Ut.isReferenceFileLocation(a)?a.packageId?Ut.Diagnostics.Imported_via_0_from_file_1_with_packageId_2:Ut.Diagnostics.Imported_via_0_from_file_1:a.text===Ut.externalHelpersModuleNameText?a.packageId?Ut.Diagnostics.Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions:Ut.Diagnostics.Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions:a.packageId?Ut.Diagnostics.Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions:Ut.Diagnostics.Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions;break;case Ut.FileIncludeKind.ReferenceFile:Ut.Debug.assert(!a.packageId),o=Ut.Diagnostics.Referenced_via_0_from_file_1;break;case Ut.FileIncludeKind.TypeReferenceDirective:o=a.packageId?Ut.Diagnostics.Type_library_referenced_via_0_from_file_1_with_packageId_2:Ut.Diagnostics.Type_library_referenced_via_0_from_file_1;break;case Ut.FileIncludeKind.LibReferenceDirective:Ut.Debug.assert(!a.packageId),o=Ut.Diagnostics.Library_referenced_via_0_from_file_1;break;default:Ut.Debug.assertNever(n)}return Ut.chainDiagnosticMessages(void 0,o,i,$O(a.file,t),a.packageId&&Ut.packageIdToString(a.packageId))}switch(n.kind){case Ut.FileIncludeKind.RootFile:return null!=(s=r.configFile)&&s.configFileSpecs?(s=Ut.getNormalizedAbsolutePath(e.getRootFileNames()[n.index],e.getCurrentDirectory()),YO(e,s)?Ut.chainDiagnosticMessages(void 0,Ut.Diagnostics.Part_of_files_list_in_tsconfig_json):(s=QO(e,s))?Ut.chainDiagnosticMessages(void 0,Ut.Diagnostics.Matched_by_include_pattern_0_in_1,s,$O(r.configFile,t)):Ut.chainDiagnosticMessages(void 0,Ut.Diagnostics.Root_file_specified_for_compilation)):Ut.chainDiagnosticMessages(void 0,Ut.Diagnostics.Root_file_specified_for_compilation);case Ut.FileIncludeKind.SourceFromProjectReference:case Ut.FileIncludeKind.OutputFromProjectReference:var s=n.kind===Ut.FileIncludeKind.OutputFromProjectReference,c=Ut.Debug.checkDefined(null==(c=e.getResolvedProjectReferences())?void 0:c[n.index]);return Ut.chainDiagnosticMessages(void 0,Ut.outFile(r)?s?Ut.Diagnostics.Output_from_referenced_project_0_included_because_1_specified:Ut.Diagnostics.Source_from_referenced_project_0_included_because_1_specified:s?Ut.Diagnostics.Output_from_referenced_project_0_included_because_module_is_specified_as_none:Ut.Diagnostics.Source_from_referenced_project_0_included_because_module_is_specified_as_none,$O(c.sourceFile.fileName,t),r.outFile?"--outFile":"--out");case Ut.FileIncludeKind.AutomaticTypeDirectiveFile:return Ut.chainDiagnosticMessages(void 0,r.types?n.packageId?Ut.Diagnostics.Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1:Ut.Diagnostics.Entry_point_of_type_library_0_specified_in_compilerOptions:n.packageId?Ut.Diagnostics.Entry_point_for_implicit_type_library_0_with_packageId_1:Ut.Diagnostics.Entry_point_for_implicit_type_library_0,n.typeReference,n.packageId&&Ut.packageIdToString(n.packageId));case Ut.FileIncludeKind.LibFile:return void 0!==n.index?Ut.chainDiagnosticMessages(void 0,Ut.Diagnostics.Library_0_specified_in_compilerOptions,r.lib[n.index]):(s=Ut.forEachEntry(Ut.targetOptionDeclaration.type,(function(e,n){return e===r.target?n:void 0})),Ut.chainDiagnosticMessages(void 0,s?Ut.Diagnostics.Default_library_for_target_0:Ut.Diagnostics.Default_library,s));default:Ut.Debug.assertNever(n)}}function $O(e,n){return e=Ut.isString(e)?e:e.fileName,n?n(e):e}function eP(e,n,t,r,a,i,o,s){var c,l=!!e.getCompilerOptions().listFilesOnly,d=e.getConfigFileParsingDiagnostics().slice(),u=d.length;Ut.addRange(d,e.getSyntacticDiagnostics(void 0,i)),d.length===u&&(Ut.addRange(d,e.getOptionsDiagnostics(i)),l||(Ut.addRange(d,e.getGlobalDiagnostics(i)),d.length===u&&Ut.addRange(d,e.getSemanticDiagnostics(void 0,i)))),u=l?{emitSkipped:!0,diagnostics:Ut.emptyArray}:e.emit(void 0,a,i,o,s),l=u.emittedFiles,Ut.addRange(d,u.diagnostics),a=Ut.sortAndDeduplicateDiagnostics(d);return a.forEach(n),t&&(c=e.getCurrentDirectory(),Ut.forEach(l,(function(e){e=Ut.getNormalizedAbsolutePath(e,c),t("TSFILE: "+e)})),JO(e,t)),r&&r(KO(a)),{emitResult:u,diagnostics:a}}function nP(e,n,t,r,a,i,o,s){return e=eP(e,n,t,r,a,i,o,s),n=e.emitResult,t=e.diagnostics,n.emitSkipped&&0<t.length?Ut.ExitStatus.DiagnosticsPresent_OutputsSkipped:0<t.length?Ut.ExitStatus.DiagnosticsPresent_OutputsGenerated:Ut.ExitStatus.Success}function tP(e,n){return void 0===e&&(e=Ut.sys),{onWatchStatusChange:n||jO(e),watchFile:Ut.maybeBind(e,e.watchFile)||Ut.returnNoopFileWatcher,watchDirectory:Ut.maybeBind(e,e.watchDirectory)||Ut.returnNoopFileWatcher,setTimeout:Ut.maybeBind(e,e.setTimeout)||Ut.noop,clearTimeout:Ut.maybeBind(e,e.clearTimeout)||Ut.noop}}function rP(e,n){var t=Ut.memoize((function(){return Ut.getDirectoryPath(Ut.normalizePath(e.getExecutingFilePath()))}));return{useCaseSensitiveFileNames:function(){return e.useCaseSensitiveFileNames},getNewLine:function(){return e.newLine},getCurrentDirectory:Ut.memoize((function(){return e.getCurrentDirectory()})),getDefaultLibLocation:t,getDefaultLibFileName:function(e){return Ut.combinePaths(t(),Ut.getDefaultLibFileName(e))},fileExists:function(n){return e.fileExists(n)},readFile:function(n,t){return e.readFile(n,t)},directoryExists:function(n){return e.directoryExists(n)},getDirectories:function(n){return e.getDirectories(n)},readDirectory:function(n,t,r,a,i){return e.readDirectory(n,t,r,a,i)},realpath:Ut.maybeBind(e,e.realpath),getEnvironmentVariable:Ut.maybeBind(e,e.getEnvironmentVariable),trace:function(n){return e.write(n+e.newLine)},createDirectory:function(n){return e.createDirectory(n)},writeFile:function(n,t,r){return e.writeFile(n,t,r)},createHash:Ut.maybeBind(e,e.createHash),createProgram:n||Ut.createEmitAndSemanticDiagnosticsBuilderProgram,disableUseFileVersionAsSignature:e.disableUseFileVersionAsSignature}}function aP(e,n,t,r){function a(n){return e.write(n+e.newLine)}void 0===e&&(e=Ut.sys);var i=rP(e,n);return Ut.copyProperties(i,tP(e,r)),i.afterProgramCreate=function(n){var r=n.getCompilerOptions(),o=Ut.getNewLineCharacter(r,(function(){return e.newLine}));eP(n,t,a,(function(e){return i.onWatchStatusChange(Ut.createCompilerDiagnostic(HO(e),e),o,r,e)}))},i}function iP(e,n,t){n(t),e.exit(Ut.ExitStatus.DiagnosticsPresent_OutputsSkipped)}function oP(e,n){if(!jt.outFile(e)&&(e=jt.getTsBuildInfoEmitOutputFilePath(e),e)){var t=n.readFile(e);if(t&&(t=jt.getBuildInfo(t),t.version===jt.version&&t.program))return jt.createBuildProgramUsingProgramBuildInfo(t.program,e,n)}}function sP(e,n){void 0===n&&(n=jt.sys);var t=jt.createCompilerHostWorker(e,void 0,n);return t.createHash=jt.maybeBind(n,n.createHash),t.disableUseFileVersionAsSignature=n.disableUseFileVersionAsSignature,jt.setGetSourceFileAsHashVersioned(t,n),jt.changeCompilerHostLikeToUseCache(t,(function(e){return jt.toPath(e,t.getCurrentDirectory(),t.getCanonicalFileName)})),t}function cP(e,n){return n=n,t=function(){return new Ht.Map},(a=(e=e).get(n))||(r=t(),e.set(n,r)),a||r;var t,r,a}function lP(e,n){return e<n?n:e}function dP(e){return Ht.fileExtensionIs(e,".d.ts")}function uP(e){return!!e&&!!e.buildOrder}function pP(e){return uP(e)?e.buildOrder:e}function mP(e,n){return function(t){var r=n?"["+Ht.formatColorAndReset(Ht.getLocaleTimeString(e),Ht.ForegroundColorEscapeSequences.Grey)+"] ":Ht.getLocaleTimeString(e)+" - ";r+=""+Ht.flattenDiagnosticMessageText(t.messageText,e.newLine)+(e.newLine+e.newLine),e.write(r)}}function _P(e,n,t,r){return n=Ht.createProgramHost(e,n),n.getModifiedTime=e.getModifiedTime?function(n){return e.getModifiedTime(n)}:Ht.returnUndefined,n.setModifiedTime=e.setModifiedTime?function(n,t){return e.setModifiedTime(n,t)}:Ht.noop,n.deleteFile=e.deleteFile?function(n){return e.deleteFile(n)}:Ht.noop,n.reportDiagnostic=t||Ht.createDiagnosticReporter(e),n.reportSolutionBuilderStatus=r||mP(e),n.now=Ht.maybeBind(e,e.now),n}function fP(e,n,t,r,a){var i,o,s,c,l=n,d=l.getCurrentDirectory(),u=Ht.createGetCanonicalFileName(l.useCaseSensitiveFileNames()),p=(i=r,o={},Ht.commonOptionsWithBuild.forEach((function(e){Ht.hasProperty(i,e.name)&&(o[e.name]=i[e.name])})),o),m=Ht.createCompilerHostFromProgramHost(l,(function(){return v.projectCompilerOptions})),_=(Ht.setGetSourceFileAsHashVersioned(m,l),m.getParsedCommandLine=function(e){return vP(v,e,yP(v,e))},m.resolveModuleNames=Ht.maybeBind(l,l.resolveModuleNames),m.resolveTypeReferenceDirectives=Ht.maybeBind(l,l.resolveTypeReferenceDirectives),m.resolveModuleNames?void 0:Ht.createModuleResolutionCache(d,u)),f=m.resolveTypeReferenceDirectives?void 0:Ht.createTypeReferenceDirectiveResolutionCache(d,u,void 0,null==_?void 0:_.getPackageJsonInfoCache()),g=(m.resolveModuleNames||(s=function(e,n,t){return Ht.resolveModuleName(e,n,v.projectCompilerOptions,m,_,t).resolvedModule},m.resolveModuleNames=function(e,n,t,r){return Ht.loadWithLocalCache(Ht.Debug.checkEachDefined(e),n,r,s)}),m.resolveTypeReferenceDirectives||(c=function(e,n,t){return Ht.resolveTypeReferenceDirective(e,n,v.projectCompilerOptions,m,t,v.typeReferenceDirectiveResolutionCache).resolvedTypeReferenceDirective},m.resolveTypeReferenceDirectives=function(e,n,t){return Ht.loadWithLocalCache(Ht.Debug.checkEachDefined(e),n,t,c)}),Ht.createWatchFactory(n,r)),y=g.watchFile,h=g.watchDirectory,v=(g=g.writeLog,{host:l,hostWithWatch:n,currentDirectory:d,getCanonicalFileName:u,parseConfigFileHost:Ht.parseConfigHostFromCompilerHostLike(l),write:Ht.maybeBind(l,l.trace),options:r,baseCompilerOptions:p,rootNames:t,baseWatchOptions:a,resolvedConfigFilePaths:new Ht.Map,configFileCache:new Ht.Map,projectStatus:new Ht.Map,buildInfoChecked:new Ht.Map,extendedConfigCache:new Ht.Map,builderPrograms:new Ht.Map,diagnostics:new Ht.Map,projectPendingBuild:new Ht.Map,projectErrorsReported:new Ht.Map,compilerHost:m,moduleResolutionCache:_,typeReferenceDirectiveResolutionCache:f,buildOrder:void 0,readFileWithCache:function(e){return l.readFile(e)},projectCompilerOptions:p,cache:void 0,allProjectBuildPending:!0,needsSummary:!0,watchAllProjectsPending:e,currentInvalidatedProject:void 0,watch:e,allWatchedWildcardDirectories:new Ht.Map,allWatchedInputFiles:new Ht.Map,allWatchedConfigFiles:new Ht.Map,allWatchedExtendedConfigFiles:new Ht.Map,allWatchedPackageJsonFiles:new Ht.Map,lastCachedPackageJsonLookups:new Ht.Map,timerToBuildInvalidatedProject:void 0,reportFileChangeDetected:!1,watchFile:y,watchDirectory:h,writeLog:g});return v}function gP(e,n){return Ht.toPath(n,e.currentDirectory,e.getCanonicalFileName)}function yP(e,n){var t=e.resolvedConfigFilePaths,r=t.get(n);return void 0!==r||(r=gP(e,n),t.set(n,r)),r}function hP(e){return e.options}function vP(e,n,t){var r,a,i,o,s,c=e.configFileCache,l=c.get(t);return l?hP(l)?l:void 0:(l=e.parseConfigFileHost,a=e.baseCompilerOptions,i=e.baseWatchOptions,o=e.extendedConfigCache,(e=e.host).getParsedCommandLine?(s=e.getParsedCommandLine(n))||(r=Ht.createCompilerDiagnostic(Ht.Diagnostics.File_0_not_found,n)):(l.onUnRecoverableConfigFileDiagnostic=function(e){return r=e},s=Ht.getParsedCommandLineOfConfigFile(n,a,l,o,i),l.onUnRecoverableConfigFileDiagnostic=Ht.noop),c.set(t,s||r),s)}function bP(e,n){return Ht.resolveConfigFileProjectName(Ht.resolvePath(e.currentDirectory,n))}function EP(e,n){for(var t,r,a=new Ht.Map,i=new Ht.Map,o=[],s=0,c=n;s<c.length;s++)!function n(s,c){var l=yP(e,s);if(!i.has(l))if(a.has(l))c||(r=r||[]).push(Ht.createCompilerDiagnostic(Ht.Diagnostics.Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0,o.join("\r\n")));else{a.set(l,!0),o.push(s);var d=vP(e,s,l);if(d&&d.projectReferences)for(var u=0,p=d.projectReferences;u<p.length;u++){var m=p[u],_=bP(e,m.path);n(_,c||m.circular)}o.pop(),i.set(l,!0),(t=t||[]).push(s)}}(c[s]);return r?{buildOrder:t||Ht.emptyArray,circularDiagnostics:r}:t||Ht.emptyArray}function TP(e){return e.buildOrder||(e=>{var n=EP(e,e.rootNames.map((function(n){return bP(e,n)}))),t=(e.resolvedConfigFilePaths.clear(),new Ht.Map(pP(n).map((function(n){return[yP(e,n),!0]})))),r={onDeleteValue:Ht.noop};return Ht.mutateMapSkippingNewValues(e.configFileCache,t,r),Ht.mutateMapSkippingNewValues(e.projectStatus,t,r),Ht.mutateMapSkippingNewValues(e.buildInfoChecked,t,r),Ht.mutateMapSkippingNewValues(e.builderPrograms,t,r),Ht.mutateMapSkippingNewValues(e.diagnostics,t,r),Ht.mutateMapSkippingNewValues(e.projectPendingBuild,t,r),Ht.mutateMapSkippingNewValues(e.projectErrorsReported,t,r),e.watch&&(Ht.mutateMapSkippingNewValues(e.allWatchedConfigFiles,t,{onDeleteValue:Ht.closeFileWatcher}),e.allWatchedExtendedConfigFiles.forEach((function(e){e.projects.forEach((function(n){t.has(n)||e.projects.delete(n)})),e.close()})),Ht.mutateMapSkippingNewValues(e.allWatchedWildcardDirectories,t,{onDeleteValue:function(e){return e.forEach(Ht.closeFileWatcherOf)}}),Ht.mutateMapSkippingNewValues(e.allWatchedInputFiles,t,{onDeleteValue:function(e){return e.forEach(Ht.closeFileWatcher)}}),Ht.mutateMapSkippingNewValues(e.allWatchedPackageJsonFiles,t,{onDeleteValue:function(e){return e.forEach(Ht.closeFileWatcher)}})),e.buildOrder=n})(e)}function SP(e,n,t){n=n&&bP(e,n);var r=TP(e);if(uP(r))return r;if(n){var a=yP(e,n);if(-1===Ht.findIndex(r,(function(n){return yP(e,n)===a})))return}return r=n?EP(e,[n]):r,Ht.Debug.assert(!uP(r)),Ht.Debug.assert(!t||void 0!==n),Ht.Debug.assert(!t||r[r.length-1]===n),t?r.slice(0,r.length-1):r}function xP(e){e.cache&&LP(e);var n=e.compilerHost,t=e.readFileWithCache,r=n.getSourceFile,a=Ht.changeCompilerHostLikeToUseCache(e.host,(function(n){return gP(e,n)}),(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r.call.apply(r,eu([n],e,!1))})),i=a.originalReadFile,o=a.originalFileExists,s=a.originalDirectoryExists,c=a.originalCreateDirectory,l=a.originalWriteFile,d=a.getSourceFileWithCache;e.readFileWithCache=a.readFileWithCache,n.getSourceFile=d,e.cache={originalReadFile:i,originalFileExists:o,originalDirectoryExists:s,originalCreateDirectory:c,originalWriteFile:l,originalReadFileWithCache:t,originalGetSourceFile:r}}function LP(e){var n,t,r,a,i,o;e.cache&&(r=e.compilerHost,a=e.extendedConfigCache,i=e.moduleResolutionCache,o=e.typeReferenceDirectiveResolutionCache,(t=e.host).readFile=(n=e.cache).originalReadFile,t.fileExists=n.originalFileExists,t.directoryExists=n.originalDirectoryExists,t.createDirectory=n.originalCreateDirectory,t.writeFile=n.originalWriteFile,r.getSourceFile=n.originalGetSourceFile,e.readFileWithCache=n.originalReadFileWithCache,a.clear(),null!=i&&i.clear(),null!=o&&o.clear(),e.cache=void 0)}function DP(e,n){e.projectStatus.delete(n),e.diagnostics.delete(n)}function AP(e,n,t){e=e.projectPendingBuild;var r=e.get(n);(void 0===r||r<t)&&e.set(n,t)}function CP(e,n){e.allProjectBuildPending&&(e.allProjectBuildPending=!1,e.options.watch&&$P(e,Ht.Diagnostics.Starting_compilation_in_watch_mode),xP(e),pP(TP(e)).forEach((function(n){return e.projectPendingBuild.set(yP(e,n),Ht.ConfigFileProgramReloadLevel.None)})),n)&&n.throwIfCancellationRequested()}function IP(e,n){return e.projectPendingBuild.delete(n),e.currentInvalidatedProject=void 0,e.diagnostics.has(n)?Ht.ExitStatus.DiagnosticsPresent_OutputsSkipped:Ht.ExitStatus.Success}function NP(e,n,t,r,a,i,o){var s,c,l,d=e===zt.Build?Jt.CreateProgram:Jt.EmitBundle;return e===zt.Build?{kind:e,project:t,projectPath:r,buildOrder:o,getCompilerOptions:function(){return i.options},getCurrentDirectory:function(){return n.currentDirectory},getBuilderProgram:function(){return p(Ht.identity)},getProgram:function(){return p((function(e){return e.getProgramOrUndefined()}))},getSourceFile:function(e){return p((function(n){return n.getSourceFile(e)}))},getSourceFiles:function(){return m((function(e){return e.getSourceFiles()}))},getOptionsDiagnostics:function(e){return m((function(n){return n.getOptionsDiagnostics(e)}))},getGlobalDiagnostics:function(e){return m((function(n){return n.getGlobalDiagnostics(e)}))},getConfigFileParsingDiagnostics:function(){return m((function(e){return e.getConfigFileParsingDiagnostics()}))},getSyntacticDiagnostics:function(e,n){return m((function(t){return t.getSyntacticDiagnostics(e,n)}))},getAllDependencies:function(e){return m((function(n){return n.getAllDependencies(e)}))},getSemanticDiagnostics:function(e,n){return m((function(t){return t.getSemanticDiagnostics(e,n)}))},getSemanticDiagnosticsOfNextAffectedFile:function(e,n){return p((function(t){return t.getSemanticDiagnosticsOfNextAffectedFile&&t.getSemanticDiagnosticsOfNextAffectedFile(e,n)}))},emit:function(e,r,a,i,o){return e||i?p((function(s){var c;return s.emit(e,r,a,i,o||(null==(c=(s=n.host).getCustomTransformers)?void 0:c.call(s,t)))})):(b(Jt.SemanticDiagnostics,a),d===Jt.EmitBuildInfo?y(r,a):d===Jt.Emit?g(r,a,o):void 0)},done:u}:{kind:e,project:t,projectPath:r,buildOrder:o,getCompilerOptions:function(){return i.options},getCurrentDirectory:function(){return n.currentDirectory},emit:function(e,n){return d!==Jt.EmitBundle?l:v(e,n)},done:u};function u(e,t,a){return b(Jt.Done,e,t,a),IP(n,r)}function p(e){return b(Jt.CreateProgram),s&&e(s)}function m(e){return p(e)||Ht.emptyArray}function _(){var e,a,o,l,u;Ht.Debug.assert(void 0===s),n.options.dry?(ZP(n,Ht.Diagnostics.A_non_dry_build_would_build_project_0,t),c=Wt.Success,d=Jt.QueueReferencingProjects):(n.options.verbose&&ZP(n,Ht.Diagnostics.Building_project_0,t),0===i.fileNames.length?(nw(n,r,Ht.getConfigFileParsingDiagnostics(i)),c=Wt.None,d=Jt.QueueReferencingProjects):(o=n.host,e=n.compilerHost,n.projectCompilerOptions=i.options,null!=(a=n.moduleResolutionCache)&&a.update(i.options),null!=(a=n.typeReferenceDirectiveResolutionCache)&&a.update(i.options),s=o.createProgram(i.fileNames,i.options,e,(a=r,o=i,l=(e=n).options,u=n.builderPrograms,e=n.compilerHost,l.force?void 0:u.get(a)||Ht.readBuilderProgram(o.options,e)),Ht.getConfigFileParsingDiagnostics(i),i.projectReferences),n.lastCachedPackageJsonLookups.set(r,n.moduleResolutionCache&&Ht.map(n.moduleResolutionCache.getPackageJsonInfoCache().entries(),(function(e){var t=e[0];e=e[1];return[n.host.realpath?gP(n,n.host.realpath(t)):t,e]}))),n.watch&&n.builderPrograms.set(r,s),d++))}function f(e,t,a){e.length?(e=PP(n,r,s,i,e,t,a),c=e.buildResult,d=e.step):d++}function g(e,a,o){Ht.Debug.assertIsDefined(s),Ht.Debug.assert(d===Jt.Emit),s.backupState();var l,u,p,m,_,f,g,y,v=[];o=Ht.emitFilesAndReportErrors(s,(function(e){return(l=l||[]).push(e)}),void 0,void 0,(function(e,n,t){return v.push({name:e,text:n,writeByteOrderMark:t})}),a,!1,o||(null==(o=(a=n.host).getCustomTransformers)?void 0:o.call(a,t))).emitResult;return l?(s.restoreState(),a=PP(n,r,s,i,l,Wt.DeclarationEmitErrors,"Declaration file"),c=a.buildResult,d=a.step,{emitSkipped:!0,diagnostics:o.diagnostics}):(u=n.host,p=n.compilerHost,m=Wt.DeclarationOutputUnchanged,_=qt,f=!1,g=Ht.createDiagnosticCollection(),y=new Ht.Map,v.forEach((function(t){var r,a=t.name,i=t.text;t=t.writeByteOrderMark;!f&&dP(a)&&(u.fileExists(a)&&n.readFileWithCache(a)===i?r=u.getModifiedTime(a):(m&=~Wt.DeclarationOutputUnchanged,f=!0)),y.set(gP(n,a),a),Ht.writeFile(e?{writeFile:e}:p,g,a,i,t),void 0!==r&&(_=lP(r,_))})),h(g,y,_,f,v.length?v[0].name:Ht.getFirstProjectOutput(i,!u.useCaseSensitiveFileNames()),m),o)}function y(e,t){return Ht.Debug.assertIsDefined(s),Ht.Debug.assert(d===Jt.EmitBuildInfo),e=s.emitBuildInfo(e,t),e.diagnostics.length&&(ew(n,e.diagnostics),n.diagnostics.set(r,eu(eu([],n.diagnostics.get(r),!0),e.diagnostics,!0)),c=Wt.EmitErrors&c),e.emittedFiles&&n.write&&e.emittedFiles.forEach((function(e){return RP(n,i,e)})),OP(n,s,i),d=Jt.QueueReferencingProjects,e}function h(e,t,a,o,l,u){var p;e=e.getDiagnostics();return e.length?(p=PP(n,r,s,i,e,Wt.EmitErrors,"Emit"),c=p.buildResult,d=p.step):(n.write&&t.forEach((function(e){return RP(n,i,e)})),p=FP(n,i,a,Ht.Diagnostics.Updating_unchanged_output_timestamps_of_project_0,t),n.diagnostics.delete(r),n.projectStatus.set(r,{type:Ht.UpToDateStatusType.UpToDate,newestDeclarationFileContentChangedTime:o?Xt:p,oldestOutputFileName:l}),OP(n,s,i),d=Jt.QueueReferencingProjects,c=u),e}function v(s,u){if(Ht.Debug.assert(e===zt.UpdateBundle),!n.options.dry){n.options.verbose&&ZP(n,Ht.Diagnostics.Updating_output_of_project_0,t);var p=n.compilerHost,m=(n.projectCompilerOptions=i.options,Ht.emitUsingBuildInfo(i,p,(function(e){return e=bP(n,e.path),vP(n,e,yP(n,e))}),u||(null==(m=(u=n.host).getCustomTransformers)?void 0:m.call(u,t))));if(Ht.isString(m))return ZP(n,Ht.Diagnostics.Cannot_update_output_of_project_0_because_there_was_error_reading_file_1,t,QP(n,m)),d=Jt.BuildInvalidatedProjectOfBundle,l=NP(zt.Build,n,t,r,a,i,o);Ht.Debug.assert(!!m.length);var _=Ht.createDiagnosticCollection(),f=new Ht.Map;return m.forEach((function(e){var t=e.name,r=e.text;e=e.writeByteOrderMark;f.set(gP(n,t),t),Ht.writeFile(s?{writeFile:s}:p,_,t,r,e)})),{emitSkipped:!1,diagnostics:h(_,f,qt,!1,m[0].name,Wt.DeclarationOutputUnchanged)}}ZP(n,Ht.Diagnostics.A_non_dry_build_would_update_output_of_project_0,t),c=Wt.Success,d=Jt.QueueReferencingProjects}function b(e,u,p,m){for(;d<=e&&d<Jt.Done;){var h=d;switch(d){case Jt.CreateProgram:_();break;case Jt.SyntaxDiagnostics:w=u,Ht.Debug.assertIsDefined(s),f(eu(eu(eu(eu([],s.getConfigFileParsingDiagnostics(),!0),s.getOptionsDiagnostics(w),!0),s.getGlobalDiagnostics(w),!0),s.getSyntacticDiagnostics(void 0,w),!0),Wt.SyntaxErrors,"Syntactic");break;case Jt.SemanticDiagnostics:w=u,f(Ht.Debug.checkDefined(s).getSemanticDiagnostics(void 0,w),Wt.TypeErrors,"Semantic");break;case Jt.Emit:g(p,u,m);break;case Jt.EmitBuildInfo:y(p,u);break;case Jt.EmitBundle:v(p,m);break;case Jt.BuildInvalidatedProjectOfBundle:Ht.Debug.checkDefined(l).done(u,p,m),d=Jt.Done;break;case Jt.QueueReferencingProjects:P=O=R=k=N=I=C=A=D=L=x=S=T=E=b=void 0;var b=n,E=t,T=r,S=a,x=i,L=o,D=Ht.Debug.checkDefined(c);if(!(D&Wt.AnyErrors)&&x.options.composite)for(var A=S+1;A<L.length;A++){var C=L[A],I=yP(b,C);if(!b.projectPendingBuild.has(I)&&(C=vP(b,C,I),C&&C.projectReferences))for(var N=0,k=C.projectReferences;N<k.length;N++){var R=k[N],O=bP(b,R.path);if(yP(b,O)===T){var P=b.projectStatus.get(I);if(P)switch(P.type){case Ht.UpToDateStatusType.UpToDate:if(D&Wt.DeclarationOutputUnchanged){R.prepend?b.projectStatus.set(I,{type:Ht.UpToDateStatusType.OutOfDateWithPrepend,outOfDateOutputFileName:P.oldestOutputFileName,newerProjectName:E}):P.type=Ht.UpToDateStatusType.UpToDateWithUpstreamTypes;break}case Ht.UpToDateStatusType.UpToDateWithUpstreamTypes:case Ht.UpToDateStatusType.OutOfDateWithPrepend:D&Wt.DeclarationOutputUnchanged||b.projectStatus.set(I,{type:Ht.UpToDateStatusType.OutOfDateWithUpstream,outOfDateOutputFileName:P.type===Ht.UpToDateStatusType.OutOfDateWithPrepend?P.outOfDateOutputFileName:P.oldestOutputFileName,newerProjectName:E});break;case Ht.UpToDateStatusType.UpstreamBlocked:yP(b,bP(b,P.upstreamProjectName))===T&&DP(b,I)}AP(b,I,Ht.ConfigFileProgramReloadLevel.None);break}}}d++;break;default:Jt.Done,Ht.assertType(d)}Ht.Debug.assert(h<d)}var w}}function kP(e,n,t){if(e.projectPendingBuild.size&&!uP(n)){if(e.currentInvalidatedProject)return Ht.arrayIsEqualTo(e.currentInvalidatedProject.buildOrder,n)?e.currentInvalidatedProject:void 0;for(var r,a,i,o=e.options,s=e.projectPendingBuild,c=0;c<n.length;c++){var l=n[c],d=yP(e,l),u=e.projectPendingBuild.get(d);if(void 0!==u){t&&(t=!1,aw(e,n));var p=vP(e,l,d);if(p){u===Ht.ConfigFileProgramReloadLevel.Full?(WP(e,l,d,p),zP(e,d,p),JP(e,l,d,p),qP(e,l,d,p),XP(e,l,d,p)):u===Ht.ConfigFileProgramReloadLevel.Partial&&(p.fileNames=Ht.getFileNamesFromConfigSpecs(p.options.configFile.configFileSpecs,Ht.getDirectoryPath(l),p.options,e.parseConfigFileHost),Ht.updateErrorForNoInputFiles(p.fileNames,l,p.options.configFile.configFileSpecs,p.errors,Ht.canJsonReportNoInputFiles(p.raw)),qP(e,l,d,p),XP(e,l,d,p));var m,_,f,g;u=MP(e,p,d);if(a=l,i=u,(r=e).options.verbose&&((e,n,t)=>{if(e.options.force&&(t.type===Ht.UpToDateStatusType.UpToDate||t.type===Ht.UpToDateStatusType.UpToDateWithUpstreamTypes))return ZP(e,Ht.Diagnostics.Project_0_is_being_forcibly_rebuilt,QP(e,n));switch(t.type){case Ht.UpToDateStatusType.OutOfDateWithSelf:return ZP(e,Ht.Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2,QP(e,n),QP(e,t.outOfDateOutputFileName),QP(e,t.newerInputFileName));case Ht.UpToDateStatusType.OutOfDateWithUpstream:return ZP(e,Ht.Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2,QP(e,n),QP(e,t.outOfDateOutputFileName),QP(e,t.newerProjectName));case Ht.UpToDateStatusType.OutputMissing:return ZP(e,Ht.Diagnostics.Project_0_is_out_of_date_because_output_file_1_does_not_exist,QP(e,n),QP(e,t.missingOutputFileName));case Ht.UpToDateStatusType.UpToDate:if(void 0!==t.newestInputFileTime)return ZP(e,Ht.Diagnostics.Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2,QP(e,n),QP(e,t.newestInputFileName||""),QP(e,t.oldestOutputFileName||""));break;case Ht.UpToDateStatusType.OutOfDateWithPrepend:return ZP(e,Ht.Diagnostics.Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed,QP(e,n),QP(e,t.newerProjectName));case Ht.UpToDateStatusType.UpToDateWithUpstreamTypes:return ZP(e,Ht.Diagnostics.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies,QP(e,n));case Ht.UpToDateStatusType.UpstreamOutOfDate:return ZP(e,Ht.Diagnostics.Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date,QP(e,n),QP(e,t.upstreamProjectName));case Ht.UpToDateStatusType.UpstreamBlocked:return ZP(e,t.upstreamProjectBlocked?Ht.Diagnostics.Project_0_can_t_be_built_because_its_dependency_1_was_not_built:Ht.Diagnostics.Project_0_can_t_be_built_because_its_dependency_1_has_errors,QP(e,n),QP(e,t.upstreamProjectName));case Ht.UpToDateStatusType.Unbuildable:return ZP(e,Ht.Diagnostics.Failed_to_parse_file_0_Colon_1,QP(e,n),t.reason);case Ht.UpToDateStatusType.TsVersionOutputOfDate:return ZP(e,Ht.Diagnostics.Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2,QP(e,n),t.version,Ht.version);case Ht.UpToDateStatusType.ContainerOnly:case Ht.UpToDateStatusType.ComputingUpstream:break;default:Ht.assertType(t)}})(r,a,i),!o.force){if(u.type===Ht.UpToDateStatusType.UpToDate){nw(e,d,Ht.getConfigFileParsingDiagnostics(p)),s.delete(d),o.dry&&ZP(e,Ht.Diagnostics.Project_0_is_up_to_date,l);continue}if(u.type===Ht.UpToDateStatusType.UpToDateWithUpstreamTypes)return nw(e,d,Ht.getConfigFileParsingDiagnostics(p)),m=e,_=d,f=p,g=!0,{kind:zt.UpdateOutputFileStamps,project:l,projectPath:_,buildOrder:n,getCompilerOptions:function(){return f.options},getCurrentDirectory:function(){return m.currentDirectory},updateOutputFileStatmps:function(){GP(m,f,_),g=!1},done:function(){return g&&GP(m,f,_),IP(m,_)}}}if(u.type===Ht.UpToDateStatusType.UpstreamBlocked)nw(e,d,Ht.getConfigFileParsingDiagnostics(p)),s.delete(d),o.verbose&&ZP(e,u.upstreamProjectBlocked?Ht.Diagnostics.Skipping_build_of_project_0_because_its_dependency_1_was_not_built:Ht.Diagnostics.Skipping_build_of_project_0_because_its_dependency_1_has_errors,l,u.upstreamProjectName);else{if(u.type!==Ht.UpToDateStatusType.ContainerOnly)return NP((r=p,a=(a=e).options,u.type!==Ht.UpToDateStatusType.OutOfDateWithPrepend||a.force||0===r.fileNames.length||Ht.getConfigFileParsingDiagnostics(r).length||!Ht.isIncrementalCompilation(r.options)?zt.Build:zt.UpdateBundle),e,l,d,c,p,n);nw(e,d,Ht.getConfigFileParsingDiagnostics(p)),s.delete(d)}}else tw(e,d),s.delete(d)}}}}function RP(e,n,t){e=e.write,e&&n.options.listEmittedFiles&&e("TSFILE: "+t)}function OP(e,n,t){n?(e.write&&Ht.listFiles(n,e.write),e.host.afterProgramEmitAndDiagnostics&&e.host.afterProgramEmitAndDiagnostics(n),n.releaseProgram()):e.host.afterEmitBundle&&e.host.afterEmitBundle(t),e.projectCompilerOptions=e.baseCompilerOptions}function PP(e,n,t,r,a,i,o){var s=!(i&Wt.SyntaxErrors)&&t&&!Ht.outFile(t.getCompilerOptions());return nw(e,n,a),e.projectStatus.set(n,{type:Ht.UpToDateStatusType.Unbuildable,reason:o+" errors"}),s?{buildResult:i,step:Jt.EmitBuildInfo}:(OP(e,t,r),{buildResult:i,step:Jt.QueueReferencingProjects})}function wP(e,n,t,r){if(t<Ht.getModifiedTime(e.host,n))return{type:Ht.UpToDateStatusType.OutOfDateWithSelf,outOfDateOutputFileName:r,newerInputFileName:n}}function MP(e,n,t){var r;return void 0===n?{type:Ht.UpToDateStatusType.Unbuildable,reason:"File deleted mid-build"}:(void 0!==(r=e.projectStatus.get(t))||(r=((e,n,t)=>{for(var r=!!e.options.force,a=void 0,i=qt,o=e.host,s=0,c=n.fileNames;s<c.length;s++){var l,d=c[s];if(!o.fileExists(d))return{type:Ht.UpToDateStatusType.Unbuildable,reason:d+" does not exist"};r||(l=Ht.getModifiedTime(o,d),o.getModifiedTime(d),i<l&&(a=d,i=l))}if(!n.fileNames.length&&!Ht.canJsonReportNoInputFiles(n.raw))return{type:Ht.UpToDateStatusType.ContainerOnly};var u,p=Ht.getAllProjectOutputs(n,!o.useCaseSensitiveFileNames()),m="(none)",_=Xt,f="(none)",g=qt,y=qt,h=!1;if(!r)for(var v=0,b=p;v<b.length;v++){var E=b[v];if(!o.fileExists(E)){u=E;break}var T=Ht.getModifiedTime(o,E);if(T<_&&(_=T,m=E),T<i){h=!0;break}g<T&&(g=T,f=E),dP(E)&&(y=lP(y,Ht.getModifiedTime(o,E)))}var S,x=!1,L=!1;if(n.projectReferences){e.projectStatus.set(t,{type:Ht.UpToDateStatusType.ComputingUpstream});for(var D=0,A=n.projectReferences;D<A.length;D++){var C=A[D],I=(L=L||!!C.prepend,Ht.resolveProjectReferencePath(C)),N=yP(e,I);I=MP(e,vP(e,I,N),N);if(I.type!==Ht.UpToDateStatusType.ComputingUpstream&&I.type!==Ht.UpToDateStatusType.ContainerOnly){if(I.type===Ht.UpToDateStatusType.Unbuildable||I.type===Ht.UpToDateStatusType.UpstreamBlocked)return{type:Ht.UpToDateStatusType.UpstreamBlocked,upstreamProjectName:C.path,upstreamProjectBlocked:I.type===Ht.UpToDateStatusType.UpstreamBlocked};if(I.type!==Ht.UpToDateStatusType.UpToDate)return{type:Ht.UpToDateStatusType.UpstreamOutOfDate,upstreamProjectName:C.path};if(!(r||u||I.newestInputFileTime&&I.newestInputFileTime<=_)){if(!(I.newestDeclarationFileContentChangedTime&&I.newestDeclarationFileContentChangedTime<=_))return Ht.Debug.assert(void 0!==m,"Should have an oldest output filename here"),{type:Ht.UpToDateStatusType.OutOfDateWithUpstream,outOfDateOutputFileName:m,newerProjectName:C.path};x=!0,S=C.path}}}}return void 0!==u?{type:Ht.UpToDateStatusType.OutputMissing,missingOutputFileName:u}:h?{type:Ht.UpToDateStatusType.OutOfDateWithSelf,outOfDateOutputFileName:m,newerInputFileName:a}:(p=wP(e,n.options.configFilePath,_,m))||(p=Ht.forEach(n.options.configFile.extendedSourceFiles||Ht.emptyArray,(function(n){return wP(e,n,_,m)})))||(p=Ht.forEach(e.lastCachedPackageJsonLookups.get(t)||Ht.emptyArray,(function(n){return n=n[0],wP(e,n,_,m)})))?p:!r&&!e.buildInfoChecked.has(t)&&(e.buildInfoChecked.set(t,!0),p=Ht.getTsBuildInfoEmitOutputFilePath(n.options),p&&(t=e.readFileWithCache(p),n=t&&Ht.getBuildInfo(t),n&&(n.bundle||n.program)&&n.version!==Ht.version))?{type:Ht.UpToDateStatusType.TsVersionOutputOfDate,version:n.version}:L&&x?{type:Ht.UpToDateStatusType.OutOfDateWithPrepend,outOfDateOutputFileName:m,newerProjectName:S}:{type:x?Ht.UpToDateStatusType.UpToDateWithUpstreamTypes:Ht.UpToDateStatusType.UpToDate,newestDeclarationFileContentChangedTime:y,newestInputFileTime:i,newestOutputFileTime:g,newestInputFileName:a,newestOutputFileName:f,oldestOutputFileName:m}})(e,n,t),e.projectStatus.set(t,r)),r)}function FP(e,n,t,r,a){if(!n.options.noEmit){var i=e.host,o=Ht.getAllProjectOutputs(n,!i.useCaseSensitiveFileNames());if(!a||o.length!==a.size)for(var s=!!e.options.verbose,c=i.now?i.now():new Date,l=0,d=o;l<d.length;l++){var u=d[l];a&&a.has(gP(e,u))||(s&&(s=!1,ZP(e,r,n.options.configFilePath)),dP(u)&&(t=lP(t,Ht.getModifiedTime(i,u))),i.setModifiedTime(u,c))}}return t}function GP(e,n,t){if(e.options.dry)return ZP(e,Ht.Diagnostics.A_non_dry_build_would_update_timestamps_for_output_of_project_0,n.options.configFilePath);var r=FP(e,n,qt,Ht.Diagnostics.Updating_output_timestamps_of_project_0);e.projectStatus.set(t,{type:Ht.UpToDateStatusType.UpToDate,newestDeclarationFileContentChangedTime:r,oldestOutputFileName:Ht.getFirstProjectOutput(n,!e.host.useCaseSensitiveFileNames())})}function BP(e,n,t,r,a,i){var o=SP(e,n,i);if(!o)return Ht.ExitStatus.InvalidProject_OutputsSkipped;CP(e,t);for(var s=!0,c=0;;){var l=kP(e,o,s);if(!l)break;s=!1,l.done(t,r,null==a?void 0:a(l.project)),e.diagnostics.has(l.projectPath)||c++}LP(e),rw(e,o);var d=e;n=o;if(d.watchAllProjectsPending){d.watchAllProjectsPending=!1;for(var u=0,p=pP(n);u<p.length;u++){var m=p[u],_=yP(d,m),f=vP(d,m,_);WP(d,m,_,f),zP(d,_,f),f&&(JP(d,m,_,f),qP(d,m,_,f),XP(d,m,_,f))}}return uP(o)?Ht.ExitStatus.ProjectReferenceCycle_OutputsSkipped:o.some((function(n){return e.diagnostics.has(yP(e,n))}))?c?Ht.ExitStatus.DiagnosticsPresent_OutputsGenerated:Ht.ExitStatus.DiagnosticsPresent_OutputsSkipped:Ht.ExitStatus.Success}function UP(e,n,t){if(n=SP(e,n,t),!n)return Ht.ExitStatus.InvalidProject_OutputsSkipped;if(uP(n))return ew(e,n.circularDiagnostics),Ht.ExitStatus.ProjectReferenceCycle_OutputsSkipped;t=e.options;for(var r=e.host,a=t.dry?[]:void 0,i=0,o=n;i<o.length;i++){var s=o[i],c=yP(e,s);s=vP(e,s,c);if(void 0===s)tw(e,c);else{var l=Ht.getAllProjectOutputs(s,!r.useCaseSensitiveFileNames());if(l.length)for(var d=new Ht.Set(s.fileNames.map((function(n){return gP(e,n)}))),u=0,p=l;u<p.length;u++){var m=p[u];d.has(gP(e,m))||r.fileExists(m)&&(a?a.push(m):(r.deleteFile(m),VP(e,c,Ht.ConfigFileProgramReloadLevel.None)))}}}return a&&ZP(e,Ht.Diagnostics.A_non_dry_build_would_delete_the_following_files_Colon_0,a.map((function(e){return"\r\n * "+e})).join("")),Ht.ExitStatus.Success}function VP(e,n,t){(t=e.host.getParsedCommandLine&&t===Ht.ConfigFileProgramReloadLevel.Partial?Ht.ConfigFileProgramReloadLevel.Full:t)===Ht.ConfigFileProgramReloadLevel.Full&&(e.configFileCache.delete(n),e.buildOrder=void 0),e.needsSummary=!0,DP(e,n),AP(e,n,t),xP(e)}function jP(e,n,t){e.reportFileChangeDetected=!0,VP(e,n,t),KP(e)}function KP(e){var n=e.hostWithWatch;n.setTimeout&&n.clearTimeout&&(e.timerToBuildInvalidatedProject&&n.clearTimeout(e.timerToBuildInvalidatedProject),e.timerToBuildInvalidatedProject=n.setTimeout(HP,250,e))}function HP(e){e.timerToBuildInvalidatedProject=void 0,e.reportFileChangeDetected&&(e.reportFileChangeDetected=!1,e.projectErrorsReported.clear(),$P(e,Ht.Diagnostics.File_change_detected_Starting_incremental_compilation));var n=TP(e),t=kP(e,n,!1);t&&(t.done(),e.projectPendingBuild.size)?e.watch&&!e.timerToBuildInvalidatedProject&&KP(e):(LP(e),rw(e,n))}function WP(e,n,t,r){e.watch&&!e.allWatchedConfigFiles.has(t)&&e.allWatchedConfigFiles.set(t,e.watchFile(n,(function(){jP(e,t,Ht.ConfigFileProgramReloadLevel.Full)}),Ht.PollingInterval.High,null==r?void 0:r.watchOptions,Ht.WatchType.ConfigFile,n))}function zP(e,n,t){Ht.updateSharedExtendedConfigFileWatcher(n,null==t?void 0:t.options,e.allWatchedExtendedConfigFiles,(function(n,r){return e.watchFile(n,(function(){var n;return null==(n=e.allWatchedExtendedConfigFiles.get(r))?void 0:n.projects.forEach((function(n){return jP(e,n,Ht.ConfigFileProgramReloadLevel.Full)}))}),Ht.PollingInterval.High,null==t?void 0:t.watchOptions,Ht.WatchType.ExtendedConfigFile)}),(function(n){return gP(e,n)}))}function JP(e,n,t,r){e.watch&&Ht.updateWatchingWildcardDirectories(cP(e.allWatchedWildcardDirectories,t),new Ht.Map(Ht.getEntries(r.wildcardDirectories)),(function(a,i){return e.watchDirectory(a,(function(i){Ht.isIgnoredFileFromWildCardWatching({watchedDirPath:gP(e,a),fileOrDirectory:i,fileOrDirectoryPath:gP(e,i),configFileName:n,currentDirectory:e.currentDirectory,options:r.options,program:e.builderPrograms.get(t)||(null==(i=(i=(i=e).configFileCache.get(t))&&hP(i)?i:void 0)?void 0:i.fileNames),useCaseSensitiveFileNames:e.parseConfigFileHost.useCaseSensitiveFileNames,writeLog:function(n){return e.writeLog(n)},toPath:function(n){return gP(e,n)}})||jP(e,t,Ht.ConfigFileProgramReloadLevel.Partial)}),i,null==r?void 0:r.watchOptions,Ht.WatchType.WildcardDirectory,n)}))}function qP(e,n,t,r){e.watch&&Ht.mutateMap(cP(e.allWatchedInputFiles,t),Ht.arrayToMap(r.fileNames,(function(n){return gP(e,n)})),{createNewValue:function(a,i){return e.watchFile(i,(function(){return jP(e,t,Ht.ConfigFileProgramReloadLevel.None)}),Ht.PollingInterval.Low,null==r?void 0:r.watchOptions,Ht.WatchType.SourceFile,n)},onDeleteValue:Ht.closeFileWatcher})}function XP(e,n,t,r){e.watch&&e.lastCachedPackageJsonLookups&&Ht.mutateMap(cP(e.allWatchedPackageJsonFiles,t),new Ht.Map(e.lastCachedPackageJsonLookups.get(t)),{createNewValue:function(a,i){return e.watchFile(a,(function(){return jP(e,t,Ht.ConfigFileProgramReloadLevel.Full)}),Ht.PollingInterval.High,null==r?void 0:r.watchOptions,Ht.WatchType.PackageJson,n)},onDeleteValue:Ht.closeFileWatcher})}function YP(e,n,t,r,a){var i=fP(e,n,t,r,a);return{build:function(e,n,t,r){return BP(i,e,n,t,r)},clean:function(e){return UP(i,e)},buildReferences:function(e,n,t,r){return BP(i,e,n,t,r,!0)},cleanReferences:function(e){return UP(i,e,!0)},getNextInvalidatedProject:function(e){return CP(i,e),kP(i,TP(i),!1)},getBuildOrder:function(){return TP(i)},getUpToDateStatusOfProject:function(e){e=bP(i,e);var n=yP(i,e);return MP(i,vP(i,e,n),n)},invalidateProject:function(e,n){return VP(i,e,n||Ht.ConfigFileProgramReloadLevel.None)},buildNextInvalidatedProject:function(){return HP(i)},getAllParsedConfigs:function(){return Ht.arrayFrom(Ht.mapDefinedIterator(i.configFileCache.values(),(function(e){return hP(e)?e:void 0})))},close:function(){return e=i,Ht.clearMap(e.allWatchedConfigFiles,Ht.closeFileWatcher),Ht.clearMap(e.allWatchedExtendedConfigFiles,Ht.closeFileWatcherOf),Ht.clearMap(e.allWatchedWildcardDirectories,(function(e){return Ht.clearMap(e,Ht.closeFileWatcherOf)})),Ht.clearMap(e.allWatchedInputFiles,(function(e){return Ht.clearMap(e,Ht.closeFileWatcher)})),void Ht.clearMap(e.allWatchedPackageJsonFiles,(function(e){return Ht.clearMap(e,Ht.closeFileWatcher)}));var e}}}function QP(e,n){return Ht.convertToRelativePath(n,e.currentDirectory,(function(n){return e.getCanonicalFileName(n)}))}function ZP(e,n){for(var t=[],r=2;r<arguments.length;r++)t[r-2]=arguments[r];e.host.reportSolutionBuilderStatus(Ht.createCompilerDiagnostic.apply(void 0,eu([n],t,!1)))}function $P(e,n){for(var t,r,a=[],i=2;i<arguments.length;i++)a[i-2]=arguments[i];null!=(r=(t=e.hostWithWatch).onWatchStatusChange)&&r.call(t,Ht.createCompilerDiagnostic.apply(void 0,eu([n],a,!1)),e.host.getNewLine(),e.baseCompilerOptions)}function ew(e,n){var t=e.host;n.forEach((function(e){return t.reportDiagnostic(e)}))}function nw(e,n,t){ew(e,t),e.projectErrorsReported.set(n,!0),t.length&&e.diagnostics.set(n,t)}function tw(e,n){nw(e,n,[e.configFileCache.get(n)])}function rw(e,n){var t,r,a;e.needsSummary&&(e.needsSummary=!1,t=e.watch||!!e.host.reportErrorSummary,r=e.diagnostics,a=0,uP(n)?(aw(e,n.buildOrder),ew(e,n.circularDiagnostics),t&&(a+=Ht.getErrorCountForSummary(n.circularDiagnostics))):(n.forEach((function(n){n=yP(e,n),e.projectErrorsReported.has(n)||ew(e,r.get(n)||Ht.emptyArray)})),t&&r.forEach((function(e){return a+=Ht.getErrorCountForSummary(e)}))),e.watch?$P(e,Ht.getWatchErrorSummaryDiagnosticMessage(a),a):e.host.reportErrorSummary&&e.host.reportErrorSummary(a))}function aw(e,n){e.options.verbose&&ZP(e,Ht.Diagnostics.Projects_in_this_build_Colon_0,n.map((function(n){return"\r\n * "+QP(e,n)})).join(""))}function iw(e,n){return new Qt.Version(Qt.getProperty(n,"ts"+Qt.versionMajorMinor)||Qt.getProperty(n,"latest")).compareTo(e.version)<=0}function ow(e){return Zt.nodeCoreModules.has(e)?"node":e}function sw(e,n,t,r){var a=r?"Scope":"Package";switch(n){case 1:return"'"+e+"':: "+a+" name '"+t+"' cannot be empty";case 2:return"'"+e+"':: "+a+" name '"+t+"' should be less than "+$t+" characters";case 3:return"'"+e+"':: "+a+" name '"+t+"' cannot start with '.'";case 4:return"'"+e+"':: "+a+" name '"+t+"' cannot start with '_'";case 5:return"'"+e+"':: "+a+" name '"+t+"' contains non URI safe characters";case 0:return Qt.Debug.fail();default:throw Qt.Debug.assertNever(n)}}function cw(e){this.text=e}function lw(e){return{indentSize:4,tabSize:4,newLineCharacter:e||"\n",convertTabsToSpaces:!0,indentStyle:nr.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:tr.Ignore,trimTrailingWhitespace:!0}}XC.bindSourceFile=function(e,n){null!=XC.tracing&&XC.tracing.push("bind","bindSourceFile",{path:e.path},!0),XC.performance.mark("beforeBind"),XC.perfLogger.logStartBindFile(""+e.fileName),CI(e,n),XC.perfLogger.logStopBindFile(),XC.performance.mark("afterBind"),XC.performance.measure("Bind","beforeBind","afterBind"),null!=XC.tracing&&XC.tracing.pop()},XC.isExportsOrModuleExportsOrAlias=ZN,(Pn=bY=bY||{}).createGetSymbolWalker=function(e,n,t,r,a,i,o,s,c,l){return function(d){void 0===d&&(d=function(){return!0});var u=[],p=[];return{walkType:function(e){try{return m(e),{visitedTypes:Pn.getOwnValues(u),visitedSymbols:Pn.getOwnValues(p)}}finally{Pn.clear(u),Pn.clear(p)}},walkSymbol:function(e){try{return g(e),{visitedTypes:Pn.getOwnValues(u),visitedSymbols:Pn.getOwnValues(p)}}finally{Pn.clear(u),Pn.clear(p)}}};function m(e){var n,t,a,i;!e||u[e.id]||g((u[e.id]=e).symbol)||(524288&e.flags&&(4&(t=(n=e).objectFlags)&&(m((a=e).target),Pn.forEach(l(a),m)),32&t&&(m((a=e).typeParameter),m(a.constraintType),m(a.templateType),m(a.modifiersType)),3&t&&(f(i=e),Pn.forEach(i.typeParameters,m),Pn.forEach(r(i),m),m(i.thisType)),24&t)&&f(n),262144&e.flags&&m(s(e)),3145728&e.flags&&Pn.forEach(e.types,m),4194304&e.flags&&m(e.type),8388608&e.flags&&(m((i=e).objectType),m(i.indexType),m(i.constraint)))}function _(r){var a=n(r);a&&m(a.type),Pn.forEach(r.typeParameters,m);for(var i=0,o=r.parameters;i<o.length;i++)g(o[i]);m(e(r)),m(t(r))}function f(e){e=a(e);for(var n=0,t=e.indexInfos;n<t.length;n++){var r=t[n];m(r.keyType),m(r.type)}for(var i=0,o=e.callSignatures;i<o.length;i++)_(o[i]);for(var s=0,c=e.constructSignatures;s<c.length;s++)_(c[s]);for(var l=0,d=e.properties;l<d.length;l++)g(d[l])}function g(e){if(e){var n=Pn.getSymbolId(e);if(!p[n]){if(p[n]=e,!d(e))return!0;m(i(e)),e.exports&&e.exports.forEach(g),Pn.forEach(e.declarations,(function(e){e.type&&179===e.type.kind&&(e=e.type,g(o(c(e.exprName))))}))}}return!1}}},wn=bY=bY||{},Fn=/^".+"$/,Gn="(anonymous)",(cm={AllowsSyncIterablesFlag:jn=Vn=Un=Bn=1,1:"AllowsSyncIterablesFlag",AllowsAsyncIterablesFlag:2,2:"AllowsAsyncIterablesFlag",AllowsStringInputFlag:4,4:"AllowsStringInputFlag",ForOfFlag:8,8:"ForOfFlag",YieldStarFlag:16,16:"YieldStarFlag",SpreadFlag:32,32:"SpreadFlag",DestructuringFlag:64,64:"DestructuringFlag",PossiblyOutOfBounds:128,128:"PossiblyOutOfBounds",Element:1})[1]="Element",cm[cm.Spread=33]="Spread",cm[cm.Destructuring=65]="Destructuring",cm[cm.ForOf=13]="ForOf",cm[cm.ForAwaitOf=15]="ForAwaitOf",cm[cm.YieldStar=17]="YieldStar",cm[cm.AsyncYieldStar=19]="AsyncYieldStar",cm[cm.GeneratorReturnType=1]="GeneratorReturnType",cm[cm.AsyncGeneratorReturnType=2]="AsyncGeneratorReturnType",(cm={None:0,0:"None",TypeofEQString:1,1:"TypeofEQString",TypeofEQNumber:2,2:"TypeofEQNumber",TypeofEQBigInt:4,4:"TypeofEQBigInt",TypeofEQBoolean:8,8:"TypeofEQBoolean",TypeofEQSymbol:16,16:"TypeofEQSymbol",TypeofEQObject:32,32:"TypeofEQObject",TypeofEQFunction:64,64:"TypeofEQFunction",TypeofEQHostObject:128,128:"TypeofEQHostObject",TypeofNEString:256,256:"TypeofNEString",TypeofNENumber:512,512:"TypeofNENumber",TypeofNEBigInt:1024,1024:"TypeofNEBigInt",TypeofNEBoolean:2048,2048:"TypeofNEBoolean",TypeofNESymbol:4096,4096:"TypeofNESymbol",TypeofNEObject:8192,8192:"TypeofNEObject",TypeofNEFunction:16384,16384:"TypeofNEFunction",TypeofNEHostObject:32768,32768:"TypeofNEHostObject",EQUndefined:65536,65536:"EQUndefined",EQNull:131072,131072:"EQNull",EQUndefinedOrNull:262144,262144:"EQUndefinedOrNull",NEUndefined:524288,524288:"NEUndefined",NENull:1048576,1048576:"NENull",NEUndefinedOrNull:2097152,2097152:"NEUndefinedOrNull",Truthy:4194304,4194304:"Truthy",Falsy:8388608,8388608:"Falsy",All:16777215,16777215:"All",BaseStringStrictFacts:3735041,3735041:"BaseStringStrictFacts",BaseStringFacts:12582401,12582401:"BaseStringFacts",StringStrictFacts:16317953,16317953:"StringStrictFacts",StringFacts:16776705,16776705:"StringFacts",EmptyStringStrictFacts:12123649,12123649:"EmptyStringStrictFacts",EmptyStringFacts:12582401})[12582401]="EmptyStringFacts",cm[cm.NonEmptyStringStrictFacts=7929345]="NonEmptyStringStrictFacts",cm[cm.NonEmptyStringFacts=16776705]="NonEmptyStringFacts",cm[cm.BaseNumberStrictFacts=3734786]="BaseNumberStrictFacts",cm[cm.BaseNumberFacts=12582146]="BaseNumberFacts",cm[cm.NumberStrictFacts=16317698]="NumberStrictFacts",cm[cm.NumberFacts=16776450]="NumberFacts",cm[cm.ZeroNumberStrictFacts=12123394]="ZeroNumberStrictFacts",cm[cm.ZeroNumberFacts=12582146]="ZeroNumberFacts",cm[cm.NonZeroNumberStrictFacts=7929090]="NonZeroNumberStrictFacts",cm[cm.NonZeroNumberFacts=16776450]="NonZeroNumberFacts",cm[cm.BaseBigIntStrictFacts=3734276]="BaseBigIntStrictFacts",cm[cm.BaseBigIntFacts=12581636]="BaseBigIntFacts",cm[cm.BigIntStrictFacts=16317188]="BigIntStrictFacts",cm[cm.BigIntFacts=16775940]="BigIntFacts",cm[cm.ZeroBigIntStrictFacts=12122884]="ZeroBigIntStrictFacts",cm[cm.ZeroBigIntFacts=12581636]="ZeroBigIntFacts",cm[cm.NonZeroBigIntStrictFacts=7928580]="NonZeroBigIntStrictFacts",cm[cm.NonZeroBigIntFacts=16775940]="NonZeroBigIntFacts",cm[cm.BaseBooleanStrictFacts=3733256]="BaseBooleanStrictFacts",cm[cm.BaseBooleanFacts=12580616]="BaseBooleanFacts",cm[cm.BooleanStrictFacts=16316168]="BooleanStrictFacts",cm[cm.BooleanFacts=16774920]="BooleanFacts",cm[cm.FalseStrictFacts=12121864]="FalseStrictFacts",cm[cm.FalseFacts=12580616]="FalseFacts",cm[cm.TrueStrictFacts=7927560]="TrueStrictFacts",cm[cm.TrueFacts=16774920]="TrueFacts",cm[cm.SymbolStrictFacts=7925520]="SymbolStrictFacts",cm[cm.SymbolFacts=16772880]="SymbolFacts",cm[cm.ObjectStrictFacts=7888800]="ObjectStrictFacts",cm[cm.ObjectFacts=16736160]="ObjectFacts",cm[cm.FunctionStrictFacts=7880640]="FunctionStrictFacts",cm[cm.FunctionFacts=16728e3]="FunctionFacts",cm[cm.UndefinedFacts=9830144]="UndefinedFacts",cm[cm.NullFacts=9363232]="NullFacts",cm[cm.EmptyObjectStrictFacts=16318463]="EmptyObjectStrictFacts",cm[cm.AllTypeofNE=556800]="AllTypeofNE",cm[cm.EmptyObjectFacts=16777215]="EmptyObjectFacts",Kn=new wn.Map(wn.getEntries({string:1,number:2,bigint:4,boolean:8,symbol:16,undefined:65536,object:32,function:64})),Hn=new wn.Map(wn.getEntries({string:256,number:512,bigint:1024,boolean:2048,symbol:4096,undefined:524288,object:8192,function:16384})),Wn=wn.and(ik,(function(e){return!wn.isAccessor(e)})),zn=new wn.Map(wn.getEntries({Uppercase:0,Lowercase:1,Capitalize:2,Uncapitalize:3})),wn.getNodeId=tk,wn.getSymbolId=rk,wn.isInstantiatedModule=ak,wn.createTypeChecker=function(e,n){var t,r,a,i,o,s=wn.memoize((function(){var n=new wn.Set;return e.getSourceFiles().forEach((function(e){e.resolvedModules&&wn.forEachEntry(e.resolvedModules,(function(e){e&&e.packageId&&n.add(e.packageId.name)}))})),n})),c=wn.objectAllocator.getSymbolConstructor(),l=wn.objectAllocator.getTypeConstructor(),d=wn.objectAllocator.getSignatureConstructor(),u=0,p=0,m=0,_=0,f=0,g=0,y=wn.createSymbolTable(),h=[1],v=e.getCompilerOptions(),b=wn.getEmitScriptTarget(v),E=wn.getEmitModuleKind(v),T=wn.getUseDefineForClassFields(v),S=wn.getAllowSyntheticDefaultImports(v),x=wn.getStrictOptionValue(v,"strictNullChecks"),L=wn.getStrictOptionValue(v,"strictFunctionTypes"),D=wn.getStrictOptionValue(v,"strictBindCallApply"),A=wn.getStrictOptionValue(v,"strictPropertyInitialization"),C=wn.getStrictOptionValue(v,"noImplicitAny"),I=wn.getStrictOptionValue(v,"noImplicitThis"),N=wn.getStrictOptionValue(v,"useUnknownInCatchVariables"),k=!!v.keyofStringsOnly,R=v.suppressExcessPropertyErrors?0:16384,O=v.exactOptionalPropertyTypes,P=(o=wn.createBinaryExpressionTrampoline((function(e,n,t){var r,a,i;return n?(n.stackIndex++,n.skip=!1,M(n,void 0),G(n,void 0)):n={checkMode:t,skip:!1,stackIndex:0,typeStack:[void 0,void 0]},wn.isInJSFile(e)&&wn.getAssignedExpandoInitializer(e)?(n.skip=!0,G(n,yE(e.right,t))):(r=(i=e).left,a=i.operatorToken,i=i.right,60===a.kind&&(!wn.isBinaryExpression(r)||56!==r.operatorToken.kind&&55!==r.operatorToken.kind||rL(r,wn.Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses,wn.tokenToString(r.operatorToken.kind),wn.tokenToString(a.kind)),!wn.isBinaryExpression(i)||56!==i.operatorToken.kind&&55!==i.operatorToken.kind||rL(i,wn.Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses,wn.tokenToString(i.operatorToken.kind),wn.tokenToString(a.kind))),63!==e.operatorToken.kind||203!==e.left.kind&&202!==e.left.kind||(n.skip=!0,G(n,Xb(e.left,yE(e.right,t),t,108===e.right.kind)))),n}),(function(e,n,t){if(!n.skip)return w(n,e)}),(function(e,n,t){var r;n.skip||(r=F(n),wn.Debug.assertIsDefined(r),M(n,r),G(n,void 0),55!==(n=e.kind)&&56!==n&&60!==n)||(55===n&&(e=wn.walkUpParenthesizedExpressions(t.parent),ST(t.left,r,wn.isIfStatement(e)?e.thenStatement:void 0)),xT(r,t.left))}),(function(e,n,t){if(!n.skip)return w(n,e)}),(function(e,n){var t,r;return t=n.skip?F(n):(t=(e=>e.typeStack[e.stackIndex])(n),wn.Debug.assertIsDefined(t),r=F(n),wn.Debug.assertIsDefined(r),Qb(e.left,e.operatorToken,e.right,t,r,e)),n.skip=!1,M(n,void 0),G(n,void 0),n.stackIndex--,t}),(function(e,n,t){return G(e,n),e})),function(e,n){return e=o(e,n),wn.Debug.assertIsDefined(e),e});function w(e,n){if(wn.isBinaryExpression(n))return n;G(e,yE(n,e.checkMode))}function M(e,n){e.typeStack[e.stackIndex]=n}function F(e){return e.typeStack[e.stackIndex+1]}function G(e,n){e.typeStack[e.stackIndex+1]=n}var B=(()=>{var n,t=e.getResolvedTypeReferenceDirectives();return t&&(n=new wn.Map,t.forEach((function(t,r){t&&t.resolvedFileName&&(t=e.getSourceFile(t.resolvedFileName))&&function t(r,a){if(!n.has(r.path)){n.set(r.path,a);for(var i=0,o=r.referencedFiles;i<o.length;i++){var s=o[i].fileName;s=wn.resolveTripleslashReference(s,r.fileName),s=e.getSourceFile(s);s&&t(s,a)}}}(t,r)}))),{getReferencedExportContainer:$S,getReferencedImportDeclaration:ex,getReferencedDeclarationWithCollidingName:tx,isDeclarationWithCollidingName:rx,isValueAliasDeclaration:function(e){return e=wn.getParseTreeNode(e),!e||ax(e)},hasGlobalName:Sx,isReferencedAliasDeclaration:function(e,n){return e=wn.getParseTreeNode(e),!e||cx(e,n)},getNodeCheckFlags:function(e){return e=wn.getParseTreeNode(e),e?_x(e):0},isTopLevelValueImportEqualsWithEntityName:ix,isDeclarationVisible:To,isImplementationOfOverload:lx,isRequiredInitializedParameter:dx,isOptionalUninitializedParameterProperty:ux,isExpandoFunctionDeclaration:px,getPropertiesOfContainerFunction:mx,createTypeOfDeclaration:bx,createReturnTypeOfSignatureDeclaration:Ex,createTypeOfExpression:Tx,createLiteralConstValue:Ax,isSymbolAccessible:eo,isEntityNameVisible:oo,getConstantValue:function(e){return e=wn.getParseTreeNode(e,gx),e?yx(e):void 0},collectLinkedAliases:So,getReferencedValueDeclaration:Lx,getTypeReferenceSerializationKind:vx,isOptionalParameter:Ol,moduleExportsSomeValue:ZS,isArgumentsLocalBinding:QS,getExternalModuleFileFromDeclaration:function(e){return e=wn.getParseTreeNode(e,wn.hasPossibleExternalModuleReference),e&&Nx(e)},getTypeReferenceDirectivesForEntityName:function(e){if(n){var t=790504;return(79===e.kind&&Uf(e)||204===e.kind&&!(e=>e.parent&&226===e.parent.kind&&e.parent.parent&&289===e.parent.parent.kind)(e))&&(t=1160127),e=pi(e,t,!0),e&&e!==Jn?r(e,t):void 0}},getTypeReferenceDirectivesForSymbol:r,isLiteralConstDeclaration:Dx,isLateBound:function(e){return e=wn.getParseTreeNode(e,wn.isDeclaration),e=e&&Ii(e),!!(e&&4096&wn.getCheckFlags(e))},getJsxFactoryEntity:Cx,getJsxFragmentFactoryEntity:Ix,getAllAccessorDeclarations:function(e){var n=171===(e=wn.getParseTreeNode(e,wn.isGetOrSetAccessorDeclaration)).kind?170:171;n=wn.getDeclarationOfKind(Ii(e),n);return{firstAccessor:n&&n.pos<e.pos?n:e,secondAccessor:n&&n.pos<e.pos?e:n,setAccessor:171===e.kind?e:n,getAccessor:170===e.kind?e:n}},getSymbolOfExternalModuleSpecifier:function(e){return fi(e,e,void 0)},isBindingCapturedByNode:function(e,n){return e=wn.getParseTreeNode(e),n=wn.getParseTreeNode(n),!!e&&!!n&&(wn.isVariableDeclaration(n)||wn.isBindingElement(n))&&((e,n)=>!!(e=ka(e))&&wn.contains(e.capturedBlockScopeBindings,Ii(n)))(e,n)},getDeclarationStatementsForSourceFile:function(e,n,t,r){var a=wn.getParseTreeNode(e);wn.Debug.assert(a&&300===a.kind,"Non-sourcefile node passed into getDeclarationsForSourceFile"),a=Ii(e);return a?a.exports?U.symbolTableToDeclarationStatements(a.exports,e,n,t,r):[]:e.locals?U.symbolTableToDeclarationStatements(e.locals,e,n,t,r):[]},isImportRequiredByAugmentation:function(e){var n=wn.getSourceFileOfNode(e);if(n.symbol){var t=Nx(e);if(t&&t!==n){e=Li(n.symbol);for(var r=0,a=wn.arrayFrom(e.values());r<a.length;r++){var i=a[r];if(i.mergeId&&(i=Ci(i),i.declarations))for(var o=0,s=i.declarations;o<s.length;o++){var c=s[o];if(wn.getSourceFileOfNode(c)===t)return!0}}}}return!1}};function r(e,t){if(n&&(e=>{if(e.declarations){for(var t=e;;){var r=Ni(t);if(!r)break;t=r}if(!(t.valueDeclaration&&300===t.valueDeclaration.kind&&512&t.flags))for(var a=0,i=e.declarations;a<i.length;a++){var o=i[a];o=wn.getSourceFileOfNode(o);if(n.has(o.path))return 1}}})(e)){for(var r,a=0,i=e.declarations;a<i.length;a++){var o=i[a];if(o.symbol&&o.symbol.flags&t){if(o=wn.getSourceFileOfNode(o),o=n.get(o.path),!o)return;(r=r||[]).push(o)}}return r}}})(),U={typeToTypeNode:function(e,n,t,r){return V(n,t,r,(function(n){return H(e,n)}))},indexInfoToIndexSignatureDeclaration:function(e,n,t,r){return V(n,t,r,(function(n){return X(e,n,void 0)}))},signatureToSignatureDeclaration:function(e,n,t,r,a){return V(t,r,a,(function(t){return Y(e,n,t)}))},symbolToEntityName:function(e,n,t,r,a){return V(t,r,a,(function(t){return ce(e,t,n,!1)}))},symbolToExpression:function(e,n,t,r,a){return V(t,r,a,(function(t){return le(e,t,n)}))},symbolToTypeParameterDeclarations:function(e,n,t,r){return V(n,t,r,(function(n){return re(e,n)}))},symbolToParameterDeclaration:function(e,n,t,r){return V(n,t,r,(function(n){return $(e,n)}))},typeParameterToDeclaration:function(e,n,t,r){return V(n,t,r,(function(n){return Z(e,n)}))},symbolTableToDeclarationStatements:function(e,n,t,r,a){return V(n,t,r,(function(n){var t=e,r=n,i=a,o=k(wn.factory.createPropertyDeclaration,167,!0),s=k((function(e,n,t,r,a){return wn.factory.createPropertySignature(n,t,r,a)}),166,!1),c=r.enclosingDeclaration,l=[],d=new wn.Set,u=[],p=r,m=((r=nu(nu({},p),{usedSymbolNames:new wn.Set(p.usedSymbolNames),remappedSymbolNames:new wn.Map,tracker:nu(nu({},p.tracker),{trackSymbol:function(e,n,t){if(0===eo(e,n,t,!1).accessibility){var a=te(e,r,t);4&e.flags||E(a[0])}else if(p.tracker&&p.tracker.trackSymbol)return p.tracker.trackSymbol(e,n,t);return!1}})})).tracker=j(r,r.tracker),wn.forEachEntry(t,(function(e,n){G(e,wn.unescapeLeadingUnderscores(n))})),!i);n=t.get("export=");return n&&1<t.size&&2097152&n.flags&&(t=wn.createSymbolTable()).set("export=",n),y(t),n=(e=>{var n,t,r=wn.findIndex(e,(function(e){return wn.isExportDeclaration(e)&&!e.moduleSpecifier&&!!e.exportClause&&wn.isNamedExports(e.exportClause)}));return 0<=r&&(n=e[r],t=wn.mapDefined(n.exportClause.elements,(function(n){if(!n.propertyName){var t=wn.indicesOf(e);t=wn.filter(t,(function(t){return wn.nodeHasName(e[t],n.name)}));if(wn.length(t)&&wn.every(t,(function(n){return f(e[n])}))){for(var r=0,a=t;r<a.length;r++){var i=a[r];e[i]=(i=e[i],o=void 0,o=-3&(1|wn.getEffectiveModifierFlags(i)),wn.factory.updateModifiers(i,o))}return}}var o;return n})),wn.length(t)?e[r]=wn.factory.updateExportDeclaration(n,n.decorators,n.modifiers,n.isTypeOnly,wn.factory.updateNamedExports(n.exportClause,t),n.moduleSpecifier):wn.orderedRemoveItemAt(e,r)),e})(n=(e=>{var n=wn.filter(e,(function(e){return wn.isExportDeclaration(e)&&!e.moduleSpecifier&&!!e.exportClause&&wn.isNamedExports(e.exportClause)})),t=(1<wn.length(n)&&(t=wn.filter(e,(function(e){return!wn.isExportDeclaration(e)||!!e.moduleSpecifier||!e.exportClause})),e=eu(eu([],t,!0),[wn.factory.createExportDeclaration(void 0,void 0,!1,wn.factory.createNamedExports(wn.flatMap(n,(function(e){return wn.cast(e.exportClause,wn.isNamedExports).elements}))),void 0)],!1)),wn.filter(e,(function(e){return wn.isExportDeclaration(e)&&!!e.moduleSpecifier&&!!e.exportClause&&wn.isNamedExports(e.exportClause)})));if(1<wn.length(t)&&(n=wn.group(t,(function(e){return wn.isStringLiteral(e.moduleSpecifier)?">"+e.moduleSpecifier.text:">"})),n.length!==t.length))for(var r=0,a=n;r<a.length;r++)(n=>{1<n.length&&(e=eu(eu([],wn.filter(e,(function(e){return-1===n.indexOf(e)})),!0),[wn.factory.createExportDeclaration(void 0,void 0,!1,wn.factory.createNamedExports(wn.flatMap(n,(function(e){return wn.cast(e.exportClause,wn.isNamedExports).elements}))),n[0].moduleSpecifier)],!1))})(a[r]);return e})(n=(e=>{var n,t,r,a,i=wn.find(e,wn.isExportAssignment),o=wn.findIndex(e,wn.isModuleDeclaration),s=-1!==o?e[o]:void 0;return s&&i&&i.isExportEquals&&wn.isIdentifier(i.expression)&&wn.isIdentifier(s.name)&&wn.idText(s.name)===wn.idText(i.expression)&&s.body&&wn.isModuleBlock(s.body)&&(n=wn.filter(e,(function(e){return!!(1&wn.getEffectiveModifierFlags(e))})),t=s.name,r=s.body,wn.length(n)&&(s=wn.factory.updateModuleDeclaration(s,s.decorators,s.modifiers,s.name,r=wn.factory.updateModuleBlock(r,wn.factory.createNodeArray(eu(eu([],s.body.statements,!0),[wn.factory.createExportDeclaration(void 0,void 0,!1,wn.factory.createNamedExports(wn.map(wn.flatMap(n,(function(e){return wn.isVariableStatement(e)?wn.filter(wn.map(e.declarationList.declarations,wn.getNameOfDeclaration),_):wn.filter([wn.getNameOfDeclaration(e)],_)})),(function(e){return wn.factory.createExportSpecifier(void 0,e)}))),void 0)],!1)))),e=eu(eu(eu([],e.slice(0,o),!0),[s],!1),e.slice(o+1),!0)),wn.find(e,(function(e){return e!==s&&wn.nodeHasName(e,t)}))||(l=[],a=!wn.some(r.statements,(function(e){return wn.hasSyntacticModifier(e,1)||wn.isExportAssignment(e)||wn.isExportDeclaration(e)})),wn.forEach(r.statements,(function(e){T(e,a?1:0)})),e=eu(eu([],wn.filter(e,(function(e){return e!==s&&e!==i})),!0),l,!0))),e})(n=l))),c&&(wn.isSourceFile(c)&&wn.isExternalOrCommonJsModule(c)||wn.isModuleDeclaration(c))&&(!wn.some(n,wn.isExternalModuleIndicator)||!wn.hasScopeMarker(n)&&wn.some(n,wn.needsScopeMarker))&&n.push(wn.createEmptyExports(wn.factory)),n;function _(e){return!!e&&79===e.kind}function f(e){return wn.isEnumDeclaration(e)||wn.isVariableStatement(e)||wn.isFunctionDeclaration(e)||wn.isClassDeclaration(e)||wn.isModuleDeclaration(e)&&!wn.isExternalModuleAugmentation(e)&&!wn.isGlobalScopeAugmentation(e)||wn.isInterfaceDeclaration(e)||FS(e)}function g(e){var n=-2&wn.getEffectiveModifierFlags(e);return wn.factory.updateModifiers(e,n)}function y(e,n,t){n||u.push(new wn.Map),e.forEach((function(e){h(e,!1,!!t)})),n||(u[u.length-1].forEach((function(e){h(e,!0,!!t)})),u.pop())}function h(e,n,t){var a=Ci(e);!d.has(rk(a))&&(d.add(rk(a)),!n||wn.length(e.declarations)&&wn.some(e.declarations,(function(e){return!!wn.findAncestor(e,(function(e){return e===c}))})))&&(r=(e=>((e=nu({},e)).typeParameterNames&&(e.typeParameterNames=new wn.Map(e.typeParameterNames)),e.typeParameterNamesByText&&(e.typeParameterNamesByText=new wn.Set(e.typeParameterNamesByText)),e.typeParameterSymbolList&&(e.typeParameterSymbolList=new wn.Set(e.typeParameterSymbolList)),e.tracker=j(e,e.tracker),e))(a=r),((e,n,t)=>{var a=wn.unescapeLeadingUnderscores(e.escapedName),l="default"===e.escapedName;if(!n||131072&r.flags||!wn.isStringANonContextualKeyword(a)||l){var d,u,p,m,_,f,g=l&&!!(-113&e.flags||16&e.flags&&wn.length(zc(hs(e))))&&!(2097152&e.flags),y=!g&&!n&&wn.isStringANonContextualKeyword(a)&&!l,h=(l=((n=!(!g&&!y)||n)?0:1)|(l&&!g?512:0),1536&e.flags&&7&e.flags&&"export="!==e.escapedName),v=h&&N(hs(e),e);if((8208&e.flags||v)&&x(hs(e),e,G(e,a),l),524288&e.flags&&((e,n,t)=>{var a=Fs(e),o=Na(e).typeParameters,s=(o=wn.map(o,(function(e){return Z(e,r)})),null==(s=e.declarations)?void 0:s.find(wn.isJSDocTypeAlias)),c=wn.getTextOfJSDocComment(s?s.comment||s.parent.comment:void 0),l=r.flags,d=(r.flags|=8388608,r.enclosingDeclaration);s=(r.enclosingDeclaration=s)&&s.typeExpression&&wn.isJSDocTypeExpression(s.typeExpression)&&he(r,s.typeExpression.type,E,i)||H(a,r);T(wn.setSyntheticLeadingComments(wn.factory.createTypeAliasDeclaration(void 0,void 0,G(e,n),o,s),c?[{kind:3,text:"*\n * "+c.replace(/\n/g,"\n * ")+"\n ",pos:-1,end:-1,hasTrailingNewLine:!0}]:[]),t),r.flags=l,r.enclosingDeclaration=d})(e,a,l),!(7&e.flags&&"export="!==e.escapedName)||4194304&e.flags||32&e.flags||v||(t?I(e)&&(g=y=!1):(t=hs(e),d=G(e,a),16&e.flags||!N(t,e)?(u=2&e.flags?Jg(e)?2:1:void 0,p=!g&&4&e.flags?M(d,e):d,(m=e.declarations&&wn.find(e.declarations,(function(e){return wn.isVariableDeclaration(e)})))&&wn.isVariableDeclarationList(m.parent)&&1===m.parent.declarations.length&&(m=m.parent.parent),(_=null==(_=e.declarations)?void 0:_.find(wn.isPropertyAccessExpression))&&wn.isBinaryExpression(_.parent)&&wn.isIdentifier(_.parent.right)&&null!=(f=t.symbol)&&f.valueDeclaration&&wn.isSourceFile(t.symbol.valueDeclaration)?(f=d===_.parent.right.escapedText?void 0:_.parent.right,T(wn.factory.createExportDeclaration(void 0,void 0,!1,wn.factory.createNamedExports([wn.factory.createExportSpecifier(f,d)])),0),r.tracker.trackSymbol(t.symbol,r.enclosingDeclaration,111551)):(T(wn.setTextRange(wn.factory.createVariableStatement(void 0,wn.factory.createVariableDeclarationList([wn.factory.createVariableDeclaration(p,void 0,ge(r,t,e,c,E,i))],u)),m),p!==d?-2&l:l),p===d||n||(T(wn.factory.createExportDeclaration(void 0,void 0,!1,wn.factory.createNamedExports([wn.factory.createExportSpecifier(p,d)])),0),g=y=!1))):x(t,e,d,l))),384&e.flags&&((e,n,t)=>{T(wn.factory.createEnumDeclaration(void 0,wn.factory.createModifiersFromModifierFlags(zb(e)?2048:0),G(e,n),wn.map(wn.filter(zc(hs(e)),(function(e){return!!(8&e.flags)})),(function(e){var n=e.declarations&&e.declarations[0]&&wn.isEnumMember(e.declarations[0])?yx(e.declarations[0]):void 0;return wn.factory.createEnumMember(wn.unescapeLeadingUnderscores(e.escapedName),void 0===n?void 0:"string"==typeof n?wn.factory.createStringLiteral(n):wn.factory.createNumericLiteral(n))}))),t)})(e,a,l),32&e.flags&&(4&e.flags&&e.valueDeclaration&&wn.isBinaryExpression(e.valueDeclaration.parent)&&wn.isClassExpression(e.valueDeclaration.parent.right)?A:(e,n,t)=>{var a=null==(a=e.declarations)?void 0:a.find(wn.isClassLike),s=r.enclosingDeclaration,c=(r.enclosingDeclaration=a||s,Ds(e)),l=(c=wn.map(c,(function(e){return Z(e,r)})),Ms(e)),d=Ps(l),u=(a=(a=a&&wn.getEffectiveImplementsTypeNodes(a))&&(e=>{var n=wn.mapDefined(e,(function(e){var n=r.enclosingDeclaration,t=(r.enclosingDeclaration=e).expression;if(wn.isEntityNameExpression(t)){if(wn.isIdentifier(t)&&""===wn.idText(t))return s(void 0);var a,o=(a=ye(t,r,E)).introducesError;t=a.node;if(o)return s(void 0)}return s(wn.factory.createExpressionWithTypeArguments(t,wn.map(e.typeArguments,(function(e){return he(r,e,E,i)||H(Op(e),r)}))));function s(e){return r.enclosingDeclaration=n,e}}));if(n.length===e.length)return n})(a)||wn.mapDefined((e=>{var n=wn.emptyArray;if(e.symbol.declarations)for(var t=0,r=e.symbol.declarations;t<r.length;t++){var a=r[t];a=wn.getEffectiveImplementsTypeNodes(a);if(a)for(var i=0,o=a;i<o.length;i++){var s=Op(o[i]);s!==Zn&&(n===wn.emptyArray?n=[s]:n.push(s))}}return n})(l),w),hs(e)),p=(g=!(null==(g=u.symbol)||!g.valueDeclaration)&&wn.isClassLike(u.symbol.valueDeclaration))?Rs(u):Xn,m=(a=eu(eu([],wn.length(d)?[wn.factory.createHeritageClause(94,wn.map(d,(function(e){var t=p,a=n;return(e=P(e,111551))||(e=M(a+"_base"),T(wn.factory.createVariableStatement(void 0,wn.factory.createVariableDeclarationList([wn.factory.createVariableDeclaration(e,void 0,H(t,r))],2)),0),wn.factory.createExpressionWithTypeArguments(wn.factory.createIdentifier(e),void 0))})))]:[],!0),wn.length(a)?[wn.factory.createHeritageClause(117,a)]:[],!0),((e,n,t)=>{if(!wn.length(n))return t;var r=new wn.Map;wn.forEach(t,(function(e){r.set(e.escapedName,e)}));for(var a=0,i=n;a<i.length;a++)for(var o=zc(dc(i[a],e.thisType)),s=0,c=o;s<c.length;s++){var l=c[s],d=r.get(l.escapedName);d&&!i_(d,l)&&r.delete(l.escapedName)}return wn.arrayFrom(r.values())})(l,d,zc(l))),_=wn.filter(m,(function(e){return e=e.valueDeclaration,!(!e||wn.isNamedDeclaration(e)&&wn.isPrivateIdentifier(e.name))})),f=(m=wn.some(m,(function(e){return e=e.valueDeclaration,!!e&&wn.isNamedDeclaration(e)&&wn.isPrivateIdentifier(e.name)}))?[wn.factory.createPropertyDeclaration(void 0,void 0,wn.factory.createPrivateIdentifier("#private"),void 0,void 0,void 0)]:wn.emptyArray,_=wn.flatMap(_,(function(e){return o(e,!1,d[0])})),wn.flatMap(wn.filter(zc(u),(function(e){return!(4194304&e.flags||"prototype"===e.escapedName||D(e))})),(function(e){return o(e,!0,p)}))),g=!g&&e.valueDeclaration&&wn.isInJSFile(e.valueDeclaration)&&!wn.some(hl(u,1))?[wn.factory.createConstructorDeclaration(void 0,wn.factory.createModifiersFromModifierFlags(8),[],void 0)]:R(1,u,p,169);u=O(l,d[0]);r.enclosingDeclaration=s,T(wn.setTextRange(wn.factory.createClassDeclaration(void 0,void 0,n,c,a,eu(eu(eu(eu(eu([],u,!0),f,!0),g,!0),_,!0),m,!0)),e.declarations&&wn.filter(e.declarations,(function(e){return wn.isClassDeclaration(e)||wn.isClassExpression(e)}))[0]),t)})(e,G(e,a),l),(1536&e.flags&&(!h||(e=>wn.every(S(e),(function(e){return!(111551&ri(e).flags)})))(e))||v)&&((e,n,t)=>{var a,i,o=S(e),s=(o=wn.arrayToMultiMap(o,(function(n){return n.parent&&n.parent===e?"real":"merged"}))).get("real")||wn.emptyArray;o=o.get("merged")||wn.emptyArray;wn.length(s)&&(i=G(e,n),L(s,i,t,!!(67108880&e.flags))),wn.length(o)&&(a=wn.getSourceFileOfNode(r.enclosingDeclaration),i=G(e,n),s=wn.factory.createModuleBlock([wn.factory.createExportDeclaration(void 0,void 0,!1,wn.factory.createNamedExports(wn.mapDefined(wn.filter(o,(function(e){return"export="!==e.escapedName})),(function(n){var t=wn.unescapeLeadingUnderscores(n.escapedName),i=G(n,t),o=n.declarations&&Ka(n);if(!a||(o?a===wn.getSourceFileOfNode(o):wn.some(n.declarations,(function(e){return wn.getSourceFileOfNode(e)===a}))))return E((o=o&&ni(o,!0))||n),o=o?G(o,wn.unescapeLeadingUnderscores(o.escapedName)):i,wn.factory.createExportSpecifier(t===o?void 0:o,t);null!=(o=null==(i=r.tracker)?void 0:i.reportNonlocalAugmentation)&&o.call(i,a,e,n)}))))]),T(wn.factory.createModuleDeclaration(void 0,void 0,wn.factory.createIdentifier(i),s,16),0))})(e,a,l),64&e.flags&&!(32&e.flags)&&((e,n,t)=>{var a=Ms(e),i=Ds(e),o=(i=wn.map(i,(function(e){return Z(e,r)})),Ps(a)),c=wn.length(o)?Tu(o):void 0,l=wn.flatMap(zc(a),(function(e){return s(e,!1,c)})),d=R(0,a,c,172),u=R(1,a,c,173);a=O(a,c),o=wn.length(o)?[wn.factory.createHeritageClause(94,wn.mapDefined(o,(function(e){return P(e,111551)})))]:void 0;T(wn.factory.createInterfaceDeclaration(void 0,void 0,G(e,n),i,o,eu(eu(eu(eu([],a,!0),u,!0),d,!0),l,!0)),t)})(e,a,l),2097152&e.flags&&A(e,G(e,a),l),4&e.flags&&"export="===e.escapedName&&I(e),8388608&e.flags&&e.declarations)for(var b=0,C=e.declarations;b<C.length;b++){var k=C[b];k=_i(k,k.moduleSpecifier);k&&T(wn.factory.createExportDeclaration(void 0,void 0,!1,void 0,wn.factory.createStringLiteral(ie(k,r))),0)}g?T(wn.factory.createExportAssignment(void 0,void 0,!1,wn.factory.createIdentifier(G(e,a))),0):y&&T(wn.factory.createExportDeclaration(void 0,void 0,!1,wn.factory.createNamedExports([wn.factory.createExportSpecifier(G(e,a),a)])),0)}else r.encounteredError=!0})(e,n,t),r.reportedDiagnostic&&(p.reportedDiagnostic=r.reportedDiagnostic),r=a)}function E(e){var n;wn.some(e.declarations,wn.isParameterDeclaration)||(wn.Debug.assertIsDefined(u[u.length-1]),M(wn.unescapeLeadingUnderscores(e.escapedName),e),n=!!(2097152&e.flags)&&!wn.some(e.declarations,(function(e){return!!wn.findAncestor(e,wn.isExportDeclaration)||wn.isNamespaceExport(e)||wn.isImportEqualsDeclaration(e)&&!wn.isExternalModuleReference(e.moduleReference)})),u[n?0:u.length-1].set(rk(e),e))}function T(e,n){var t,a,i;wn.canHaveModifiers(e)&&(t=0,a=r.enclosingDeclaration&&(wn.isJSDocTypeAlias(r.enclosingDeclaration)?wn.getSourceFileOfNode(r.enclosingDeclaration):r.enclosingDeclaration),1&n&&a&&(i=a,wn.isSourceFile(i)&&(wn.isExternalOrCommonJsModule(i)||wn.isJsonSourceFile(i))||wn.isAmbientModule(i)&&!wn.isGlobalScopeAugmentation(i)||wn.isModuleDeclaration(a))&&f(e)&&(t|=1),!m||1&t||a&&8388608&a.flags||!(wn.isEnumDeclaration(e)||wn.isVariableStatement(e)||wn.isFunctionDeclaration(e)||wn.isClassDeclaration(e)||wn.isModuleDeclaration(e))||(t|=2),512&n&&(wn.isClassDeclaration(e)||wn.isInterfaceDeclaration(e)||wn.isFunctionDeclaration(e))&&(t|=512),t)&&(e=wn.factory.updateModifiers(e,t|wn.getEffectiveModifierFlags(e))),l.push(e)}function S(e){return e.exports?wn.filter(wn.arrayFrom(e.exports.values()),D):[]}function x(e,n,t,a){for(var o=0,s=hl(e,0);o<s.length;o++){var c=s[o],l=Y(c,254,r,{name:wn.factory.createIdentifier(t),privateSymbolVisitor:E,bundledImports:i});T(wn.setTextRange(l,(e=>{if(e.declaration&&e.declaration.parent){if(wn.isBinaryExpression(e.declaration.parent)&&5===wn.getAssignmentDeclarationKind(e.declaration.parent))return e.declaration.parent;if(wn.isVariableDeclaration(e.declaration.parent)&&e.declaration.parent.parent)return e.declaration.parent.parent}return e.declaration})(c)),a)}1536&n.flags&&n.exports&&n.exports.size||L(wn.filter(zc(e),D),t,a,!0)}function L(e,n,t,a){var i,o,s,d;wn.length(e)&&(d=wn.arrayToMultiMap(e,(function(e){return!wn.length(e.declarations)||wn.some(e.declarations,(function(e){return wn.getSourceFileOfNode(e)===wn.getSourceFileOfNode(r.enclosingDeclaration)}))?"local":"remote"})).get("local")||wn.emptyArray,n=wn.parseNodeFactory.createModuleDeclaration(void 0,void 0,wn.factory.createIdentifier(n),wn.factory.createModuleBlock([]),16),wn.setParent(n,c),n.locals=wn.createSymbolTable(e),n.symbol=e[0].parent,e=l,i=m,m=!(l=[]),s=nu(nu({},r),{enclosingDeclaration:n}),o=r,r=s,y(wn.createSymbolTable(d),a,!0),r=o,m=i,s=l,l=e,d=wn.map(s,(function(e){return wn.isExportAssignment(e)&&!e.isExportEquals&&wn.isIdentifier(e.expression)?wn.factory.createExportDeclaration(void 0,void 0,!1,wn.factory.createNamedExports([wn.factory.createExportSpecifier(e.expression,wn.factory.createIdentifier("default"))])):e})),a=wn.every(d,(function(e){return wn.hasSyntacticModifier(e,1)}))?wn.map(d,g):d,T(n=wn.factory.updateModuleDeclaration(n,n.decorators,n.modifiers,n.name,wn.factory.createModuleBlock(a)),t))}function D(e){return!!(2887656&e.flags)||!(4194304&e.flags||"prototype"===e.escapedName||e.valueDeclaration&&wn.isStatic(e.valueDeclaration)&&wn.isClassLike(e.valueDeclaration.parent))}function A(e,n,t){var a=Ka(e);if(!a)return wn.Debug.fail();var i=Ci(ni(a,!0));if(i){var o=wn.unescapeLeadingUnderscores(i.escapedName),s=G(i,o="export="===o&&(v.esModuleInterop||v.allowSyntheticDefaultImports)?"default":o);switch(E(i),a.kind){case 201:252===(null==(c=null==(c=a.parent)?void 0:c.parent)?void 0:c.kind)?(c=ie(i.parent||i,r),l=a.propertyName,T(wn.factory.createImportDeclaration(void 0,void 0,wn.factory.createImportClause(!1,void 0,wn.factory.createNamedImports([wn.factory.createImportSpecifier(l&&wn.isIdentifier(l)?wn.factory.createIdentifier(wn.idText(l)):void 0,wn.factory.createIdentifier(n))])),wn.factory.createStringLiteral(c)),0)):wn.Debug.failBadSyntaxKind((null==(l=a.parent)?void 0:l.parent)||a,"Unhandled binding element grandparent kind in declaration serialization");break;case 292:219===(null==(l=null==(c=a.parent)?void 0:c.parent)?void 0:l.kind)&&C(wn.unescapeLeadingUnderscores(e.escapedName),s);break;case 252:if(wn.isPropertyAccessExpression(a.initializer)){var c=a.initializer,l=wn.factory.createUniqueName(n),d=ie(i.parent||i,r);T(wn.factory.createImportEqualsDeclaration(void 0,void 0,!1,l,wn.factory.createExternalModuleReference(wn.factory.createStringLiteral(d))),0),T(wn.factory.createImportEqualsDeclaration(void 0,void 0,!1,wn.factory.createIdentifier(n),wn.factory.createQualifiedName(l,c.name)),t);break}case 263:"export="===i.escapedName&&wn.some(i.declarations,wn.isJsonSourceFile)?I(e):(d=!(512&i.flags||wn.isVariableDeclaration(a)),T(wn.factory.createImportEqualsDeclaration(void 0,void 0,!1,wn.factory.createIdentifier(n),d?ce(i,r,67108863,!1):wn.factory.createExternalModuleReference(wn.factory.createStringLiteral(ie(i,r)))),d?t:0));break;case 262:T(wn.factory.createNamespaceExportDeclaration(wn.idText(a.name)),0);break;case 265:T(wn.factory.createImportDeclaration(void 0,void 0,wn.factory.createImportClause(!1,wn.factory.createIdentifier(n),void 0),wn.factory.createStringLiteral(ie(i.parent||i,r))),0);break;case 266:T(wn.factory.createImportDeclaration(void 0,void 0,wn.factory.createImportClause(!1,void 0,wn.factory.createNamespaceImport(wn.factory.createIdentifier(n))),wn.factory.createStringLiteral(ie(i,r))),0);break;case 272:T(wn.factory.createExportDeclaration(void 0,void 0,!1,wn.factory.createNamespaceExport(wn.factory.createIdentifier(n)),wn.factory.createStringLiteral(ie(i,r))),0);break;case 268:T(wn.factory.createImportDeclaration(void 0,void 0,wn.factory.createImportClause(!1,void 0,wn.factory.createNamedImports([wn.factory.createImportSpecifier(n!==o?wn.factory.createIdentifier(o):void 0,wn.factory.createIdentifier(n))])),wn.factory.createStringLiteral(ie(i.parent||i,r))),0);break;case 273:l=a.parent.parent.moduleSpecifier,C(wn.unescapeLeadingUnderscores(e.escapedName),l?o:s,l&&wn.isStringLiteralLike(l)?wn.factory.createStringLiteral(l.text):void 0);break;case 269:I(e);break;case 219:case 204:case 205:"default"===e.escapedName||"export="===e.escapedName?I(e):C(n,s);break;default:wn.Debug.failBadSyntaxKind(a,"Unhandled alias declaration kind in symbol serializer!")}}}function C(e,n,t){T(wn.factory.createExportDeclaration(void 0,void 0,!1,wn.factory.createNamedExports([wn.factory.createExportSpecifier(e!==n?n:void 0,e)]),t),0)}function I(e){var n,t,a,o,s,d,u,p;return!(4194304&e.flags||(a=(t="export="===(n=wn.unescapeLeadingUnderscores(e.escapedName)))||"default"===n,(o=(s=e.declarations&&Ka(e))&&ni(s,!0))&&wn.length(o.declarations)&&wn.some(o.declarations,(function(e){return wn.getSourceFileOfNode(e)===wn.getSourceFileOfNode(c)}))?(((d=(p=(s=s&&(wn.isExportAssignment(s)||wn.isBinaryExpression(s)?wn.getExportAssignmentExpression(s):wn.getPropertyAssignmentAliasLikeExpression(s)))&&wn.isEntityNameExpression(s)?(e=>{switch(e.kind){case 79:return e;case 159:for(;79!==(e=e.left).kind;);return e;case 204:do{if(wn.isModuleExportsAccessExpression(e.expression)&&!wn.isPrivateIdentifier(e.name))return e.name}while(79!==(e=e.expression).kind);return e}})(s):void 0)&&pi(p,67108863,!0,!0,c))||o)&&E(d||o),d=r.tracker.trackSymbol,r.tracker.trackSymbol=function(){return!1},a?l.push(wn.factory.createExportAssignment(void 0,void 0,t,le(o,r,67108863))):p===s&&p?C(n,wn.idText(p)):s&&wn.isClassExpression(s)?C(n,G(o,wn.symbolName(o))):(u=M(n,e),T(wn.factory.createImportEqualsDeclaration(void 0,void 0,!1,wn.factory.createIdentifier(u),ce(o,r,67108863,!1)),0),C(n,u)),r.tracker.trackSymbol=d,0):(u=M(n,e),N(p=ef(hs(Ci(e))),e)?x(p,e,u,a?0:1):T(wn.factory.createVariableStatement(void 0,wn.factory.createVariableDeclarationList([wn.factory.createVariableDeclaration(u,void 0,ge(r,p,e,c,E,i))],2)),o&&4&o.flags&&"export="===o.escapedName?2:n===u?1:0),a?(l.push(wn.factory.createExportAssignment(void 0,void 0,t,wn.factory.createIdentifier(u))),0):n===u||(C(n,u),0))))}function N(e,n){var t=wn.getSourceFileOfNode(r.enclosingDeclaration);return 48&wn.getObjectFlags(e)&&!wn.length(Sl(e))&&!fo(e)&&!(!wn.length(wn.filter(zc(e),D))&&!wn.length(hl(e,0)))&&!wn.length(hl(e,1))&&!_e(n,c)&&!(e.symbol&&wn.some(e.symbol.declarations,(function(e){return wn.getSourceFileOfNode(e)!==t})))&&!wn.some(zc(e),(function(e){return tc(e.escapedName)}))&&!wn.some(zc(e),(function(e){return wn.some(e.declarations,(function(e){return wn.getSourceFileOfNode(e)!==t}))}))&&wn.every(zc(e),(function(e){return wn.isIdentifierText(wn.symbolName(e),b)}))}function k(e,n,t){return function(a,o,s){var l=wn.getDeclarationModifierFlagsFromSymbol(a),d=!!(8&l);if(o&&2887656&a.flags)return[];if(4194304&a.flags||s&&gl(s,a.escapedName)&&Fb(gl(s,a.escapedName))===Fb(a)&&(16777216&a.flags)==(16777216&gl(s,a.escapedName).flags)&&mm(hs(a),Co(s,a.escapedName)))return[];var u,p=-257&l|(o?32:0),m=pe(a,r);o=null==(s=a.declarations)?void 0:s.find(wn.or(wn.isPropertyDeclaration,wn.isAccessor,wn.isVariableDeclaration,wn.isPropertySignature,wn.isBinaryExpression,wn.isPropertyAccessExpression));if(98304&a.flags&&t)return s=[],65536&a.flags&&s.push(wn.setTextRange(wn.factory.createSetAccessorDeclaration(void 0,wn.factory.createModifiersFromModifierFlags(p),m,[wn.factory.createParameterDeclaration(void 0,void 0,void 0,"arg",void 0,d?void 0:ge(r,hs(a),a,c,E,i))],void 0),(null==(u=a.declarations)?void 0:u.find(wn.isSetAccessor))||o)),32768&a.flags&&(u=8&l,s.push(wn.setTextRange(wn.factory.createGetAccessorDeclaration(void 0,wn.factory.createModifiersFromModifierFlags(p),m,[],u?void 0:ge(r,hs(a),a,c,E,i),void 0),(null==(l=a.declarations)?void 0:l.find(wn.isGetAccessor))||o))),s;if(98311&a.flags)return wn.setTextRange(e(void 0,wn.factory.createModifiersFromModifierFlags((Fb(a)?64:0)|p),m,16777216&a.flags?wn.factory.createToken(57):void 0,d?void 0:ge(r,hs(a),a,c,E,i),void 0),(null==(u=a.declarations)?void 0:u.find(wn.or(wn.isPropertyDeclaration,wn.isVariableDeclaration)))||o);if(8208&a.flags){if(l=hl(hs(a),0),8&p)return wn.setTextRange(e(void 0,wn.factory.createModifiersFromModifierFlags((Fb(a)?64:0)|p),m,16777216&a.flags?wn.factory.createToken(57):void 0,void 0,void 0),(null==(s=a.declarations)?void 0:s.find(wn.isFunctionLikeDeclaration))||l[0]&&l[0].declaration||a.declarations&&a.declarations[0]);for(var _=[],f=0,g=l;f<g.length;f++){var y=g[f],h=Y(y,n,r,{name:m,questionToken:16777216&a.flags?wn.factory.createToken(57):void 0,modifiers:p?wn.factory.createModifiersFromModifierFlags(p):void 0});y=y.declaration&&wn.isPrototypePropertyAssignment(y.declaration.parent)?y.declaration.parent:y.declaration;_.push(wn.setTextRange(h,y))}return _}return wn.Debug.fail("Unhandled class member kind! "+(a.__debugFlags||a.flags))}}function R(e,n,t,a){var i=hl(n,e);if(1===e){if(!t&&wn.every(i,(function(e){return 0===wn.length(e.parameters)})))return[];if(t){var o=hl(t,1);if(!wn.length(o)&&wn.every(i,(function(e){return 0===wn.length(e.parameters)})))return[];if(o.length===i.length){for(var s=!1,c=0;c<o.length;c++)if(!s_(i[c],o[c],!1,!1,!0,_m)){s=!0;break}if(!s)return[]}}for(var l=0,d=0,u=i;d<u.length;d++){var p=u[d];p.declaration&&(l|=wn.getSelectedEffectiveModifierFlags(p.declaration,24))}if(l)return[wn.setTextRange(wn.factory.createConstructorDeclaration(void 0,wn.factory.createModifiersFromModifierFlags(l),[],void 0),i[0].declaration)]}for(var m=[],_=0,f=i;_<f.length;_++){var g=f[_],y=Y(g,a,r);m.push(wn.setTextRange(y,g.declaration))}return m}function O(e,n){for(var t=[],a=0,i=Sl(e);a<i.length;a++){var o=i[a];if(n){var s=xl(n,o.keyType);if(s&&mm(o.type,s.type))continue}t.push(X(o,r,void 0))}return t}function P(e,n){var t,a;if(e.target&&$i(e.target.symbol,c,n)?(t=wn.map(yd(e),(function(e){return H(e,r)})),a=le(e.target.symbol,r,788968)):e.symbol&&$i(e.symbol,c,n)&&(a=le(e.symbol,r,788968)),a)return wn.factory.createExpressionWithTypeArguments(a,t)}function w(e){var n=P(e,788968);return n||(e.symbol?wn.factory.createExpressionWithTypeArguments(le(e.symbol,r,788968),void 0):void 0)}function M(e,n){var t,a=n?rk(n):void 0;if(a&&r.remappedSymbolNames.has(a))return r.remappedSymbolNames.get(a);for(var i=0,o=e=n?F(n,e):e;null!=(t=r.usedSymbolNames)&&t.has(e);)e=o+"_"+ ++i;return null!=(n=r.usedSymbolNames)&&n.add(e),a&&r.remappedSymbolNames.set(a,e),e}function F(e,n){var t;return"default"!==n&&"__class"!==n&&"__function"!==n||(t=r.flags,r.flags|=16777216,e=Eo(e,r),r.flags=t,n=0<e.length&&wn.isSingleOrDoubleQuote(e.charCodeAt(0))?wn.stripQuotes(e):e),"default"===n?n="_default":"export="===n&&(n="_exports"),wn.isIdentifierText(n,b)&&!wn.isStringANonContextualKeyword(n)?n:"_"+n.replace(/[^a-zA-Z0-9]/g,"_")}function G(e,n){var t=rk(e);return r.remappedSymbolNames.has(t)?r.remappedSymbolNames.get(t):(n=F(e,n),r.remappedSymbolNames.set(t,n),n)}}))}};function V(n,t,r,a){return wn.Debug.assert(void 0===n||0==(8&n.flags)),n={enclosingDeclaration:n,flags:t||0,tracker:r&&r.trackSymbol?r:{trackSymbol:function(){return!1},moduleResolverHost:134217728&t?{getCommonSourceDirectory:e.getCommonSourceDirectory?function(){return e.getCommonSourceDirectory()}:function(){return""},getCurrentDirectory:function(){return e.getCurrentDirectory()},getSymlinkCache:wn.maybeBind(e,e.getSymlinkCache),useCaseSensitiveFileNames:wn.maybeBind(e,e.useCaseSensitiveFileNames),redirectTargetsMap:e.redirectTargetsMap,getProjectReferenceRedirect:function(n){return e.getProjectReferenceRedirect(n)},isSourceOfProjectReferenceRedirect:function(n){return e.isSourceOfProjectReferenceRedirect(n)},fileExists:function(n){return e.fileExists(n)},getFileIncludeReasons:function(){return e.getFileIncludeReasons()}}:void 0},encounteredError:!1,reportedDiagnostic:!1,visitedTypes:void 0,symbolDepth:void 0,inferTypeParameters:void 0,approximateLength:0},n.tracker=j(n,n.tracker),r=a(n),n.truncating&&1&n.flags&&null!=(a=null==(t=n.tracker)?void 0:t.reportTruncationError)&&a.call(t),n.encounteredError?void 0:r}function j(e,n){var t=n.trackSymbol;return nu(nu({},n),{reportCyclicStructureError:r(n.reportCyclicStructureError),reportInaccessibleThisError:r(n.reportInaccessibleThisError),reportInaccessibleUniqueSymbolError:r(n.reportInaccessibleUniqueSymbolError),reportLikelyUnsafeImportRequiredError:r(n.reportLikelyUnsafeImportRequiredError),reportNonlocalAugmentation:r(n.reportNonlocalAugmentation),reportPrivateInBaseOfClassExpression:r(n.reportPrivateInBaseOfClassExpression),reportNonSerializableProperty:r(n.reportNonSerializableProperty),trackSymbol:t&&function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var a=t.apply(void 0,n);return a&&(e.reportedDiagnostic=!0),a}});function r(n){return n&&function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.reportedDiagnostic=!0,n.apply(void 0,t)}}}function K(e){return e.truncating||(e.truncating=e.approximateLength>(1&e.flags?wn.noTruncationMaximumTruncationLength:wn.defaultMaximumTruncationLength))}function H(e,n){t&&t.throwIfCancellationRequested&&t.throwIfCancellationRequested();var r,a,i,o,s,c=8388608&n.flags;if(n.flags&=-8388609,!e)return 262144&n.flags?(n.approximateLength+=3,wn.factory.createKeywordTypeNode(129)):void(n.encounteredError=!0);if(1&(e=536870912&n.flags?e:ul(e)).flags)return n.approximateLength+=3,wn.factory.createKeywordTypeNode(e===et?137:129);if(2&e.flags)return wn.factory.createKeywordTypeNode(153);if(4&e.flags)return n.approximateLength+=6,wn.factory.createKeywordTypeNode(148);if(8&e.flags)return n.approximateLength+=6,wn.factory.createKeywordTypeNode(145);if(64&e.flags)return n.approximateLength+=6,wn.factory.createKeywordTypeNode(156);if(16&e.flags&&!e.aliasSymbol)return n.approximateLength+=7,wn.factory.createKeywordTypeNode(132);if(1024&e.flags&&!(1048576&e.flags))return i=oe(o=Ni(e.symbol),n,788968),Hs(o)===e?i:(o=wn.symbolName(e.symbol),wn.isIdentifierText(o,0)?_(i,wn.factory.createTypeReferenceNode(o,void 0)):wn.isImportTypeNode(i)?(i.isTypeOf=!0,wn.factory.createIndexedAccessTypeNode(i,wn.factory.createLiteralTypeNode(wn.factory.createStringLiteral(o)))):wn.isTypeReferenceNode(i)?wn.factory.createIndexedAccessTypeNode(wn.factory.createTypeQueryNode(i.typeName),wn.factory.createLiteralTypeNode(wn.factory.createStringLiteral(o))):wn.Debug.fail("Unhandled type node kind returned from `symbolToTypeNode`."));if(1056&e.flags)return oe(e.symbol,n,788968);if(128&e.flags)return n.approximateLength+=e.value.length+2,wn.factory.createLiteralTypeNode(wn.setEmitFlags(wn.factory.createStringLiteral(e.value,!!(268435456&n.flags)),16777216));if(256&e.flags)return i=e.value,n.approximateLength+=(""+i).length,wn.factory.createLiteralTypeNode(i<0?wn.factory.createPrefixUnaryExpression(40,wn.factory.createNumericLiteral(-i)):wn.factory.createNumericLiteral(i));if(2048&e.flags)return n.approximateLength+=wn.pseudoBigIntToString(e.value).length+1,wn.factory.createLiteralTypeNode(wn.factory.createBigIntLiteral(e.value));if(512&e.flags)return n.approximateLength+=e.intrinsicName.length,wn.factory.createLiteralTypeNode("true"===e.intrinsicName?wn.factory.createTrue():wn.factory.createFalse());if(8192&e.flags){if(!(1048576&n.flags)){if(Zi(e.symbol,n.enclosingDeclaration))return n.approximateLength+=6,oe(e.symbol,n,111551);n.tracker.reportInaccessibleUniqueSymbolError&&n.tracker.reportInaccessibleUniqueSymbolError()}return n.approximateLength+=13,wn.factory.createTypeOperatorNode(152,wn.factory.createKeywordTypeNode(149))}return 16384&e.flags?(n.approximateLength+=4,wn.factory.createKeywordTypeNode(114)):32768&e.flags?(n.approximateLength+=9,wn.factory.createKeywordTypeNode(151)):65536&e.flags?(n.approximateLength+=4,wn.factory.createLiteralTypeNode(wn.factory.createNull())):131072&e.flags?(n.approximateLength+=5,wn.factory.createKeywordTypeNode(142)):4096&e.flags?(n.approximateLength+=6,wn.factory.createKeywordTypeNode(149)):67108864&e.flags?(n.approximateLength+=6,wn.factory.createKeywordTypeNode(146)):Ju(e)?(4194304&n.flags&&(n.encounteredError||32768&n.flags||(n.encounteredError=!0),n.tracker.reportInaccessibleThisError)&&n.tracker.reportInaccessibleThisError(),n.approximateLength+=4,wn.factory.createThisTypeNode()):!c&&e.aliasSymbol&&(16384&n.flags||Qi(e.aliasSymbol,n.enclosingDeclaration))?(o=q(e.aliasTypeArguments,n),!Ki(e.aliasSymbol.escapedName)||32&e.aliasSymbol.flags?oe(e.aliasSymbol,n,788968,o):wn.factory.createTypeReferenceNode(wn.factory.createIdentifier(""),o)):4&(i=wn.getObjectFlags(e))?(wn.Debug.assert(!!(524288&e.flags)),e.node?u(e,m):m(e)):262144&e.flags||3&i?262144&e.flags&&wn.contains(n.inferTypeParameters,e)?(n.approximateLength+=wn.symbolName(e.symbol).length+6,wn.factory.createInferTypeNode(Q(e,n,void 0))):4&n.flags&&262144&e.flags&&!Qi(e.symbol,n.enclosingDeclaration)?(c=se(e,n),n.approximateLength+=wn.idText(c).length,wn.factory.createTypeReferenceNode(wn.factory.createIdentifier(wn.idText(c)),void 0)):e.symbol?oe(e.symbol,n,788968):wn.factory.createTypeReferenceNode(wn.factory.createIdentifier("?"),void 0):3145728&(e=1048576&e.flags&&e.origin?e.origin:e).flags?(o=1048576&e.flags?(e=>{for(var n=[],t=0,r=0;r<e.length;r++){var a=e[r];if(t|=a.flags,!(98304&a.flags)){if(1536&a.flags){var i=512&a.flags?ft:Us(a);if(1048576&i.flags){var o=i.types.length;if(r+o<=e.length&&xp(e[r+o-1])===xp(i.types[o-1])){n.push(i),r+=o-1;continue}}}n.push(a)}}return 65536&t&&n.push(ot),32768&t&&n.push(tt),n||e})(e.types):e.types,1===wn.length(o)?H(o[0],n):(c=q(o,n,!0))&&0<c.length?1048576&e.flags?wn.factory.createUnionTypeNode(c):wn.factory.createIntersectionTypeNode(c):void(n.encounteredError||262144&n.flags||(n.encounteredError=!0))):48&i?(wn.Debug.assert(!!(524288&e.flags)),d(e)):4194304&e.flags?(o=e.type,n.approximateLength+=6,s=H(o,n),wn.factory.createTypeOperatorNode(139,s)):134217728&e.flags?(r=e.texts,a=e.types,c=wn.factory.createTemplateHead(r[0]),i=wn.factory.createNodeArray(wn.map(a,(function(e,t){return wn.factory.createTemplateLiteralTypeSpan(H(e,n),(t<a.length-1?wn.factory.createTemplateMiddle:wn.factory.createTemplateTail)(r[t+1]))}))),n.approximateLength+=2,wn.factory.createTemplateLiteralType(c,i)):268435456&e.flags?(o=H(e.type,n),oe(e.symbol,n,788968,[o])):8388608&e.flags?(c=H(e.objectType,n),s=H(e.indexType,n),n.approximateLength+=2,wn.factory.createIndexedAccessTypeNode(c,s)):16777216&e.flags?u(e,(function(e){return t=H((e=e).checkType,n),r=n.inferTypeParameters,n.inferTypeParameters=e.root.inferTypeParameters,a=H(e.extendsType,n),n.inferTypeParameters=r,r=l(cp(e)),e=l(lp(e)),n.approximateLength+=15,wn.factory.createConditionalTypeNode(t,a,r,e);var t,r,a})):33554432&e.flags?H(e.baseType,n):wn.Debug.fail("Should be unreachable.");function l(e){var t,r;return 1048576&e.flags?null!=(t=n.visitedTypes)&&t.has(e.id)?(131072&n.flags||(n.encounteredError=!0,null!=(r=null==(t=n.tracker)?void 0:t.reportCyclicStructureError)&&r.call(t)),W(n)):u(e,(function(e){return H(e,n)})):H(e,n)}function d(e){var t,r=e.id,a=e.symbol;return a?(t=fo(e)?788968:111551,Wv(a.valueDeclaration)||32&a.flags&&!ps(a)&&!(a.valueDeclaration&&224===a.valueDeclaration.kind&&2048&n.flags)||896&a.flags||(()=>{var e=!!(8192&a.flags)&&wn.some(a.declarations,(function(e){return wn.isStatic(e)})),t=!!(16&a.flags)&&(a.parent||wn.forEach(a.declarations,(function(e){return 300===e.parent.kind||260===e.parent.kind})));return(e||t)&&(4096&n.flags||null!=(e=n.visitedTypes)&&e.has(r))&&(!(8&n.flags)||Zi(a,n.enclosingDeclaration))})()?oe(a,n,t):null!=(t=n.visitedTypes)&&t.has(r)?(t=(e=>{if(e.symbol&&2048&e.symbol.flags&&e.symbol.declarations&&(e=wn.walkUpParenthesizedTypes(e.symbol.declarations[0].parent),257===e.kind))return Ii(e)})(e))?oe(t,n,788968):W(n):u(e,p)):p(e)}function u(e,t){var r,a=e.id,i=16&wn.getObjectFlags(e)&&e.symbol&&32&e.symbol.flags,o=(i=4&wn.getObjectFlags(e)&&e.node?"N"+tk(e.node):16777216&e.flags?"N"+tk(e.root.node):e.symbol?(i?"+":"")+rk(e.symbol):void 0,n.visitedTypes||(n.visitedTypes=new wn.Set),i&&!n.symbolDepth&&(n.symbolDepth=new wn.Map),n.enclosingDeclaration&&ka(n.enclosingDeclaration)),s=e.id+"|"+n.flags,c=(!o||o.serializedTypes||(o.serializedTypes=new wn.Map),null==(c=null==o?void 0:o.serializedTypes)?void 0:c.get(s));if(c)return c.truncating&&(n.truncating=!0),n.approximateLength+=c.addedLength,function e(n){return wn.nodeIsSynthesized(n)||wn.getParseTreeNode(n)!==n?wn.setTextRange(wn.factory.cloneNode(wn.visitEachChild(n,e,wn.nullTransformationContext)),n):n}(c);if(i){if(10<(r=n.symbolDepth.get(i)||0))return W(n);n.symbolDepth.set(i,r+1)}n.visitedTypes.add(a);c=n.approximateLength,t=t(e),e=n.approximateLength-c;return n.reportedDiagnostic||n.encounteredError||(n.truncating&&(t.truncating=!0),t.addedLength=e,null!=(c=null==o?void 0:o.serializedTypes)&&c.set(s,t)),n.visitedTypes.delete(a),i&&n.symbolDepth.set(i,r),t}function p(e){if(Vc(e)||e.containsError)return a=e,wn.Debug.assert(!!(524288&a.flags)),i=a.declaration.readonlyToken?wn.factory.createToken(a.declaration.readonlyToken.kind):void 0,r=a.declaration.questionToken?wn.factory.createToken(a.declaration.questionToken.kind):void 0,t=Mc(a)?wn.factory.createTypeOperatorNode(139,H(Fc(a),n)):H(Rc(a),n),t=Q(kc(a),n,t),s=a.declaration.nameType?H(Oc(a),n):void 0,a=H(W_(Pc(a),!!(4&Gc(a))),n),i=wn.factory.createMappedTypeNode(i,t,s,r,a),n.approximateLength+=10,wn.setEmitFlags(i,1);var t=jc(e);if(!t.properties.length&&!t.indexInfos.length){if(!t.callSignatures.length&&!t.constructSignatures.length)return n.approximateLength+=2,wn.setEmitFlags(wn.factory.createTypeLiteralNode(void 0),1);if(1===t.callSignatures.length&&!t.constructSignatures.length)return Y(t.callSignatures[0],177,n);if(1===t.constructSignatures.length&&!t.callSignatures.length)return Y(t.constructSignatures[0],178,n)}var r,a,i,o,s=wn.filter(t.constructSignatures,(function(e){return!!(4&e.flags)}));return wn.some(s)?(r=wn.map(s,nd),t.callSignatures.length+(t.constructSignatures.length-s.length)+t.indexInfos.length+(2048&n.flags?wn.countWhere(t.properties,(function(e){return!(4194304&e.flags)})):wn.length(t.properties))&&r.push(0===(a=t).constructSignatures.length?a:a.objectTypeWithoutAbstractConstructSignatures||(i=wn.filter(a.constructSignatures,(function(e){return!(4&e.flags)})),a.constructSignatures===i?a:(i=zi(a.symbol,a.members,a.callSignatures,wn.some(i)?i:wn.emptyArray,a.indexInfos),(a.objectTypeWithoutAbstractConstructSignatures=i).objectTypeWithoutAbstractConstructSignatures=i))),H(Tu(r),n)):(e=n.flags,n.flags|=4194304,o=(e=>{if(K(n))return[wn.factory.createPropertySignature(void 0,"...",void 0,void 0)];for(var t=[],r=0,a=e.callSignatures;r<a.length;r++){var i=a[r];t.push(Y(i,172,n))}for(var o=0,s=e.constructSignatures;o<s.length;o++)4&(i=s[o]).flags||t.push(Y(i,173,n));for(var c=0,l=e.indexInfos;c<l.length;c++){var d=l[c];t.push(X(d,n,1024&e.objectFlags?W(n):void 0))}var u=e.properties;if(!u)return t;for(var p=0,m=0,_=u;m<_.length;m++){var f=_[m];if(p++,2048&n.flags){if(4194304&f.flags)continue;24&wn.getDeclarationModifierFlagsFromSymbol(f)&&n.tracker.reportPrivateInBaseOfClassExpression&&n.tracker.reportPrivateInBaseOfClassExpression(wn.unescapeLeadingUnderscores(f.escapedName))}if(K(n)&&p+2<u.length-1){t.push(wn.factory.createPropertySignature(void 0,"... "+(u.length-p)+" more ...",void 0,void 0)),J(u[u.length-1],n,t);break}J(f,n,t)}return t.length?t:void 0})(t),n.flags=e,e=wn.factory.createTypeLiteralNode(o),n.approximateLength+=2,wn.setEmitFlags(e,1024&n.flags?0:1),e)}function m(e){var t=yd(e);if(e.target===we||e.target===Me)return 2&n.flags?(u=H(t[0],n),wn.factory.createTypeReferenceNode(e.target===we?"Array":"ReadonlyArray",[u])):(u=H(t[0],n),u=wn.factory.createArrayTypeNode(u),e.target===we?u:wn.factory.createTypeOperatorNode(143,u));if(!(8&e.target.objectFlags)){if(2048&n.flags&&e.symbol.valueDeclaration&&wn.isClassLike(e.symbol.valueDeclaration)&&!Zi(e.symbol,n.enclosingDeclaration))return d(e);var r=e.target.outerTypeParameters,a=0,i=void 0;if(r)for(var o=r.length;a<o;){for(var s,c=a,l=dd(r[a]);++a<o&&dd(r[a])===l;);wn.rangeEquals(r,t,c,a)||(c=q(t.slice(c,a),n),s=n.flags,n.flags|=16,c=oe(l,n,788968,c),n.flags=s,i=i?_(i,c):c)}var u=void 0,p=(0<t.length&&(m=(e.target.typeParameters||wn.emptyArray).length,u=q(t.slice(a,m),n)),n.flags),m=(n.flags|=16,oe(e.symbol,n,788968,u));return n.flags=p,i?_(i,m):m}if(0<(t=wn.sameMap(t,(function(n,t){return W_(n,!!(2&e.target.elementFlags[t]))}))).length){var f=hd(e),g=q(t.slice(0,f),n);if(g){if(e.target.labeledElementDeclarations)for(a=0;a<g.length;a++){p=e.target.elementFlags[a];g[a]=wn.factory.createNamedTupleMember(12&p?wn.factory.createToken(25):void 0,wn.factory.createIdentifier(wn.unescapeLeadingUnderscores(sb(e.target.labeledElementDeclarations[a]))),2&p?wn.factory.createToken(57):void 0,4&p?wn.factory.createArrayTypeNode(g[a]):g[a])}else for(a=0;a<Math.min(f,g.length);a++)p=e.target.elementFlags[a],g[a]=12&p?wn.factory.createRestTypeNode(4&p?wn.factory.createArrayTypeNode(g[a]):g[a]):2&p?wn.factory.createOptionalTypeNode(g[a]):g[a];var y=wn.setEmitFlags(wn.factory.createTupleTypeNode(g),1);return e.target.readonly?wn.factory.createTypeOperatorNode(143,y):y}}if(n.encounteredError||524288&n.flags)return y=wn.setEmitFlags(wn.factory.createTupleTypeNode([]),1),e.target.readonly?wn.factory.createTypeOperatorNode(143,y):y;n.encounteredError=!0}function _(e,n){if(wn.isImportTypeNode(e)){var t=e.typeArguments;o=(o=e.qualifier)&&(wn.isIdentifier(o)?wn.factory.updateIdentifier(o,t):wn.factory.updateQualifiedName(o,o.left,wn.factory.updateIdentifier(o.right,t))),t=n.typeArguments;for(var r=0,a=f(n);r<a.length;r++)var i=a[r],o=o?wn.factory.createQualifiedName(o,i):i;return wn.factory.updateImportTypeNode(e,e.argument,o,t,e.isTypeOf)}t=e.typeArguments;var s=e.typeName;s=wn.isIdentifier(s)?wn.factory.updateIdentifier(s,t):wn.factory.updateQualifiedName(s,s.left,wn.factory.updateIdentifier(s.right,t)),t=n.typeArguments;for(var c=0,l=f(n);c<l.length;c++)i=l[c],s=wn.factory.createQualifiedName(s,i);return wn.factory.updateTypeReferenceNode(e,s,t)}function f(e){for(var n=e.typeName,t=[];!wn.isIdentifier(n);)t.unshift(n.right),n=n.left;return t.unshift(n),t}}function W(e){return e.approximateLength+=3,1&e.flags?wn.factory.createKeywordTypeNode(129):wn.factory.createTypeReferenceNode(wn.factory.createIdentifier("..."),void 0)}function z(e,n){return 8192&wn.getCheckFlags(e)&&(wn.contains(n.reverseMappedStack,e)||null!=(e=n.reverseMappedStack)&&e[0]&&!(16&wn.getObjectFlags(wn.last(n.reverseMappedStack).propertyType)))}function J(e,n,t){var r=!!(8192&wn.getCheckFlags(e)),a=z(e,n)?Xn:vs(e),i=n.enclosingDeclaration,o=(n.enclosingDeclaration=void 0,n.tracker.trackSymbol&&4096&wn.getCheckFlags(e)&&tc(e.escapedName)&&(e.declarations?rc(p=wn.first(e.declarations))&&(wn.isBinaryExpression(p)?(u=wn.getNameOfDeclaration(p))&&wn.isElementAccessExpression(u)&&wn.isPropertyAccessEntityNameExpression(u.argumentExpression)&&ee(u.argumentExpression,i,n):ee(p.name.expression,i,n)):null!=(u=n.tracker)&&u.reportNonSerializableProperty&&n.tracker.reportNonSerializableProperty(so(e))),n.enclosingDeclaration=e.valueDeclaration||(null==(p=e.declarations)?void 0:p[0])||i,pe(e,n)),s=(n.enclosingDeclaration=i,n.approximateLength+=wn.symbolName(e).length+1,16777216&e.flags?wn.factory.createToken(57):void 0);if(8208&e.flags&&!Kc(a).length&&!Fb(e))for(var c=0,l=hl(Eg(a,(function(e){return!(32768&e.flags)})),0);c<l.length;c++){var d=Y(l[c],166,n,{name:o,questionToken:s});t.push(m(d))}else{var u=void 0,p=(z(e,n)?u=W(n):(r&&(n.reverseMappedStack||(n.reverseMappedStack=[]),n.reverseMappedStack.push(e)),u=a?ge(n,a,e,i):wn.factory.createKeywordTypeNode(129),r&&n.reverseMappedStack.pop()),Fb(e)?[wn.factory.createToken(143)]:void 0);a=(p&&(n.approximateLength+=9),wn.factory.createPropertySignature(p,o,s,u));t.push(m(a))}function m(n){var t;return wn.some(e.declarations,(function(e){return 342===e.kind}))?(t=null==(t=e.declarations)?void 0:t.find((function(e){return 342===e.kind})),(t=wn.getTextOfJSDocComment(t.comment))&&wn.setSyntheticLeadingComments(n,[{kind:3,text:"*\n * "+t.replace(/\n/g,"\n * ")+"\n ",pos:-1,end:-1,hasTrailingNewLine:!0}])):e.valueDeclaration&&wn.setCommentRange(n,e.valueDeclaration),n}}function q(e,n,t){if(wn.some(e)){if(K(n)){if(!t)return[wn.factory.createTypeReferenceNode("...",void 0)];if(2<e.length)return[H(e[0],n),wn.factory.createTypeReferenceNode("... "+(e.length-2)+" more ...",void 0),H(e[e.length-1],n)]}for(var r=64&n.flags?void 0:wn.createUnderscoreEscapedMultiMap(),a=[],i=0,o=0,s=e;o<s.length;o++){var c=s[o];if(i++,K(n)&&i+2<e.length-1){a.push(wn.factory.createTypeReferenceNode("... "+(e.length-i)+" more ...",void 0));var l=H(e[e.length-1],n);l&&a.push(l);break}n.approximateLength+=2,l=H(c,n),l&&(a.push(l),r)&&wn.isIdentifierTypeReference(l)&&r.add(l.typeName.escapedText,[c,a.length-1])}return r&&(t=n.flags,n.flags|=64,r.forEach((function(e){if(!wn.arrayIsHomogeneous(e,(function(e,n){e=e[0],n=n[0];return(e=e)===(n=n)||!!e.symbol&&e.symbol===n.symbol||!!e.aliasSymbol&&e.aliasSymbol===n.aliasSymbol})))for(var t=0,r=e;t<r.length;t++){var i=r[t],o=i[0];a[i[1]]=H(o,n)}})),n.flags=t),a}}function X(e,n,t){var r=wn.getNameFromIndexInfo(e)||"x",a=H(e.keyType,n);a=wn.factory.createParameterDeclaration(void 0,void 0,void 0,r,void 0,a,void 0);return t=t||H(e.type||Xn,n),e.type||2097152&n.flags||(n.encounteredError=!0),n.approximateLength+=r.length+4,wn.factory.createIndexSignature(void 0,e.isReadonly?[wn.factory.createToken(143)]:void 0,[a],t)}function Y(e,n,t,r){var a,i,o,s=256&t.flags,c=(s&&(t.flags&=-257),t.approximateLength+=3,32&t.flags&&e.target&&e.mapper&&e.target.typeParameters?i=e.target.typeParameters.map((function(n){return H(am(n,e.mapper),t)})):a=e.typeParameters&&e.typeParameters.map((function(e){return Z(e,t)})),gc(e,!0)[0]),l=(wn.some(c,(function(e){return e!==c[c.length-1]&&!!(32768&wn.getCheckFlags(e))}))?e.parameters:c).map((function(e){return $(e,t,169===n,null==r?void 0:r.privateSymbolVisitor,null==r?void 0:r.bundledImports)})),d=(e.thisParameter&&(d=$(e.thisParameter,t),l.unshift(d)),Hl(e)),u=(d=(d?(o=2===d.kind||3===d.kind?wn.factory.createToken(128):void 0,u=1===d.kind||3===d.kind?wn.setEmitFlags(wn.factory.createIdentifier(d.parameterName),16777216):wn.factory.createThisTypeNode(),d=d.type&&H(d.type,t),o=wn.factory.createTypePredicateNode(o,u,d)):!(u=zl(e))||s&&Io(u)?s||(o=wn.factory.createKeywordTypeNode(129)):o=((e,n,t,r,a)=>{if(n!==Zn&&e.enclosingDeclaration){var i=t.declaration&&wn.getEffectiveReturnTypeNode(t.declaration);if(wn.findAncestor(i,(function(n){return n===e.enclosingDeclaration}))&&i){var o=Op(i);if((262144&o.flags&&o.isThisType?am(o,t.mapper):o)===n&&fe(i,n)&&(t=he(e,i,r,a),t))return t}}return H(n,e)})(t,u,e,null==r?void 0:r.privateSymbolVisitor,null==r?void 0:r.bundledImports),null==r?void 0:r.modifiers),178===n&&4&e.flags&&(s=wn.modifiersToFlags(d),d=wn.factory.createModifiersFromModifierFlags(128|s)),172===n?wn.factory.createCallSignature(a,l,o):173===n?wn.factory.createConstructSignature(a,l,o):166===n?wn.factory.createMethodSignature(d,null!=(u=null==r?void 0:r.name)?u:wn.factory.createIdentifier(""),null==r?void 0:r.questionToken,a,l,o):167===n?wn.factory.createMethodDeclaration(void 0,d,void 0,null!=(s=null==r?void 0:r.name)?s:wn.factory.createIdentifier(""),void 0,a,l,o,void 0):169===n?wn.factory.createConstructorDeclaration(void 0,d,l,void 0):170===n?wn.factory.createGetAccessorDeclaration(void 0,d,null!=(u=null==r?void 0:r.name)?u:wn.factory.createIdentifier(""),l,o,void 0):171===n?wn.factory.createSetAccessorDeclaration(void 0,d,null!=(s=null==r?void 0:r.name)?s:wn.factory.createIdentifier(""),l,void 0):174===n?wn.factory.createIndexSignature(void 0,d,l,o):312===n?wn.factory.createJSDocFunctionType(l,o):177===n?wn.factory.createFunctionTypeNode(a,l,null!=o?o:wn.factory.createTypeReferenceNode(wn.factory.createIdentifier(""))):178===n?wn.factory.createConstructorTypeNode(d,a,l,null!=o?o:wn.factory.createTypeReferenceNode(wn.factory.createIdentifier(""))):254===n?wn.factory.createFunctionDeclaration(void 0,d,void 0,null!=r&&r.name?wn.cast(r.name,wn.isIdentifier):wn.factory.createIdentifier(""),a,l,o,void 0):211===n?wn.factory.createFunctionExpression(d,void 0,null!=r&&r.name?wn.cast(r.name,wn.isIdentifier):wn.factory.createIdentifier(""),a,l,o,wn.factory.createBlock([])):212===n?wn.factory.createArrowFunction(d,a,l,o,void 0,wn.factory.createBlock([])):wn.Debug.assertNever(n));return i&&(u.typeArguments=wn.factory.createNodeArray(i)),u}function Q(e,n,t){var r=n.flags,a=(n.flags&=-513,se(e,n));e=al(e),e=e&&H(e,n);return n.flags=r,wn.factory.createTypeParameterDeclaration(a,t,e)}function Z(e,n,t){return Q(e,n,(t=void 0===t?qc(e):t)&&H(t,n))}function $(e,n,t,r,a){var i=wn.getDeclarationOfKind(e,162),o=(i||wn.isTransientSymbol(e)||(i=wn.getDeclarationOfKind(e,335)),hs(e)),s=(i&&dx(i)&&(o=B_(o)),1073741824&n.flags&&i&&!wn.isJSDocParameterTag(i)&&(s=i,x)&&Ol(s)&&!s.initializer&&(o=rg(o,524288)),ge(n,o,e,n.enclosingDeclaration,r,a));o=!(8192&n.flags)&&t&&i&&i.modifiers?i.modifiers.map(wn.factory.cloneNode):void 0,r=i&&wn.isRestParameter(i)||32768&wn.getCheckFlags(e)?wn.factory.createToken(25):void 0,a=i&&i.name?79===i.name.kind?wn.setEmitFlags(wn.factory.cloneNode(i.name),16777216):159===i.name.kind?wn.setEmitFlags(wn.factory.cloneNode(i.name.right),16777216):function e(t){return n.tracker.trackSymbol&&wn.isComputedPropertyName(t)&&nc(t)&&ee(t.expression,n.enclosingDeclaration,n),t=wn.visitEachChild(t,e,wn.nullTransformationContext,void 0,e),wn.isBindingElement(t)&&(t=wn.factory.updateBindingElement(t,t.dotDotDotToken,t.propertyName,t.name,void 0)),wn.nodeIsSynthesized(t)||(t=wn.factory.cloneNode(t)),wn.setEmitFlags(t,16777217)}(i.name):wn.symbolName(e),t=i&&Ol(i)||16384&wn.getCheckFlags(e)?wn.factory.createToken(57):void 0,i=wn.factory.createParameterDeclaration(void 0,o,r,a,t,s,void 0);return n.approximateLength+=wn.symbolName(e).length+3,i}function ee(e,n,t){t.tracker.trackSymbol&&(e=Ma(e=wn.getFirstIdentifier(e),e.escapedText,1160127,void 0,void 0,!0))&&t.tracker.trackSymbol(e,n,111551)}function ne(e,n,t,r){return n.tracker.trackSymbol(e,n.enclosingDeclaration,t),te(e,n,t,r)}function te(e,n,t,r){var a;return 262144&e.flags||!(n.enclosingDeclaration||64&n.flags)||134217728&n.flags?a=[e]:(a=wn.Debug.checkDefined(function e(t,a,i){var o,s=Xi(t,n.enclosingDeclaration,a,!!(128&n.flags));if(!s||Yi(s[0],n.enclosingDeclaration,1===s.length?a:qi(a))){var c=ki(s?s[0]:t,n.enclosingDeclaration,a);if(wn.length(c)){o=c.map((function(e){return wn.some(e.declarations,ao)?ie(e,n):void 0}));for(var l=c.map((function(e,n){return n})),d=(l=(l.sort(_),l.map((function(e){return c[e]}))),0),u=l;d<u.length;d++){var p=u[d],m=e(p,qi(a),!1);if(m){if(p.exports&&p.exports.get("export=")&&Pi(p.exports.get("export="),t)){s=m;break}s=m.concat(s||[Oi(p,t)||t]);break}}}}if(s)return s;if((i||!(6144&t.flags))&&(i||r||!wn.forEach(t.declarations,ao)))return[t];function _(e,n){var t;e=o[e],n=o[n];return e&&n?(t=wn.pathIsRelative(n),wn.pathIsRelative(e)===t?wn.moduleSpecifiers.countPathComponents(e)-wn.moduleSpecifiers.countPathComponents(n):t?-1:1):0}}(e,t,!0)),wn.Debug.assert(a&&0<a.length)),a}function re(e,n){var t;return 524384&lS(e).flags?wn.factory.createNodeArray(wn.map(Ds(e),(function(e){return Z(e,n)}))):t}function ae(e,n,t){wn.Debug.assert(e&&0<=n&&n<e.length);var r,a,i,o=e[n],s=rk(o);if(null==(r=t.typeParameterSymbolList)||!r.has(s))return(t.typeParameterSymbolList||(t.typeParameterSymbolList=new wn.Set)).add(s),512&t.flags&&n<e.length-1&&(r=o,a=e[n+1],i=1&wn.getCheckFlags(a)?(s=2097152&r.flags?ai(r):r,e=wn.concatenate(Ls(s),Ds(s)),q(wn.map(e,(function(e){return Up(e,a.mapper)})),t)):re(o,t)),i}function ie(e,n){var t,r,a,i,o=wn.getDeclarationOfKind(e,300);if(o||(s=wn.firstDefined(e.declarations,(function(n){return Ri(n,e)})))&&(o=wn.getDeclarationOfKind(s,300)),o&&void 0!==o.moduleName)return o.moduleName;if(!o){if(n.tracker.trackReferencedAmbientModule){var s=wn.filter(e.declarations,wn.isAmbientModule);if(wn.length(s))for(var c=0,l=s;c<l.length;c++){var d=l[c];n.tracker.trackReferencedAmbientModule(d,e)}}if(Fn.test(e.escapedName))return e.escapedName.substring(1,e.escapedName.length-1)}return n.enclosingDeclaration&&n.tracker.moduleResolverHost?(o=wn.getSourceFileOfNode(wn.getOriginalNode(n.enclosingDeclaration)),(i=(s=Na(e)).specifierCache&&s.specifierCache.get(o.path))||(t=!!wn.outFile(v),r=n.tracker.moduleResolverHost,a=t?nu(nu({},v),{baseUrl:r.getCommonSourceDirectory()}):v,i=wn.first(wn.moduleSpecifiers.getModuleSpecifiers(e,Le,a,o,r,{importModuleSpecifierPreference:t?"non-relative":"project-relative",importModuleSpecifierEnding:t?"minimal":void 0})),null==s.specifierCache&&(s.specifierCache=new wn.Map),s.specifierCache.set(o.path,i)),i):Fn.test(e.escapedName)?e.escapedName.substring(1,e.escapedName.length-1):wn.getSourceFileOfNode(wn.getNonAugmentationDeclaration(e)).fileName}function oe(e,n,t,r){var a,i,o,s,c;e=ne(e,n,t,!(16384&n.flags)),t=111551===t;return wn.some(e[0].declarations,ao)?(c=1<e.length?l(e,e.length-1,1):void 0,a=r||ae(e,0,n),i=ie(e[0],n),!(67108864&n.flags)&&wn.getEmitModuleResolutionKind(v)===wn.ModuleResolutionKind.NodeJs&&0<=i.indexOf("/node_modules/")&&(n.encounteredError=!0,n.tracker.reportLikelyUnsafeImportRequiredError)&&n.tracker.reportLikelyUnsafeImportRequiredError(i),o=wn.factory.createLiteralTypeNode(wn.factory.createStringLiteral(i)),n.tracker.trackExternalModuleSymbolOfImportTypeNode&&n.tracker.trackExternalModuleSymbolOfImportTypeNode(e[0]),n.approximateLength+=i.length+10,!c||wn.isEntityName(c)?(c&&((s=wn.isIdentifier(c)?c:c.right).typeArguments=void 0),wn.factory.createImportTypeNode(o,c,a,t)):(c=(i=function e(n){return wn.isIndexedAccessTypeNode(n.objectType)?e(n.objectType):n}(c)).objectType.typeName,wn.factory.createIndexedAccessTypeNode(wn.factory.createImportTypeNode(o,c,a,t),i.indexType))):(o=l(e,e.length-1,0),wn.isIndexedAccessTypeNode(o)?o:t?wn.factory.createTypeQueryNode(o):(c=(s=wn.isIdentifier(o)?o:o.right).typeArguments,s.typeArguments=void 0,wn.factory.createTypeReferenceNode(o,c)));function l(e,t,a){var i,o,s,c=t===e.length-1?r:ae(e,t,n),d=e[t],u=e[t-1];return 0===t?(n.flags|=16777216,i=Eo(d,n),n.approximateLength+=(i?i.length:0)+1,n.flags^=16777216):u&&xi(u)&&(o=xi(u),wn.forEachEntry(o,(function(e,n){if(Pi(e,d)&&!tc(n)&&"export="!==n)return i=wn.unescapeLeadingUnderscores(n),!0}))),i=i||Eo(d,n),n.approximateLength+=i.length+1,!(16&n.flags)&&u&&cc(u)&&cc(u).get(d.escapedName)&&Pi(cc(u).get(d.escapedName),d)?(s=l(e,t-1,a),wn.isIndexedAccessTypeNode(s)?wn.factory.createIndexedAccessTypeNode(s,wn.factory.createLiteralTypeNode(wn.factory.createStringLiteral(i))):wn.factory.createIndexedAccessTypeNode(wn.factory.createTypeReferenceNode(s,c),wn.factory.createLiteralTypeNode(wn.factory.createStringLiteral(i)))):((o=wn.setEmitFlags(wn.factory.createIdentifier(i,c),16777216)).symbol=d,a<t?(s=l(e,t-1,a),wn.isEntityName(s)?wn.factory.createQualifiedName(s,o):wn.Debug.fail("Impossible construct - an export of an indexed access cannot be reachable")):o)}}function se(e,n){var t;if(4&n.flags&&n.typeParameterNames){var r=n.typeParameterNames.get(e.id);if(r)return r}var a,i,o;r=ce(e.symbol,n,788968,!0);if(!(79&r.kind))return wn.factory.createIdentifier("(Missing type parameter)");if(4&n.flags){for(var s=r.escapedText,c=(null==(t=n.typeParameterNamesByTextNextNameCount)?void 0:t.get(s))||0,l=s;null!=(a=n.typeParameterNamesByText)&&a.has(l)||(a=l,o=e,(i=Ma((i=n).enclosingDeclaration,a,788968,void 0,a,!1))&&!(262144&i.flags&&i===o.symbol));)l=s+"_"+ ++c;l!==s&&(r=wn.factory.createIdentifier(l,r.typeArguments)),(n.typeParameterNamesByTextNextNameCount||(n.typeParameterNamesByTextNextNameCount=new wn.Map)).set(s,c),(n.typeParameterNames||(n.typeParameterNames=new wn.Map)).set(e.id,r),(n.typeParameterNamesByText||(n.typeParameterNamesByText=new wn.Set)).add(s)}return r}function ce(e,n,t,r){return e=ne(e,n,t),!r||1===e.length||n.encounteredError||65536&n.flags||(n.encounteredError=!0),function e(t,r){var a=ae(t,r,n),i=t[r];0===r&&(n.flags|=16777216);var o=Eo(i,n);return 0===r&&(n.flags^=16777216),o=wn.setEmitFlags(wn.factory.createIdentifier(o,a),16777216),o.symbol=i,0<r?wn.factory.createQualifiedName(e(t,r-1),o):o}(e,e.length-1)}function le(e,n,t){return e=ne(e,n,t),function e(t,r){var a=ae(t,r,n),i=t[r];0===r&&(n.flags|=16777216);var o=Eo(i,n);0===r&&(n.flags^=16777216);var s=o.charCodeAt(0);if(wn.isSingleOrDoubleQuote(s)&&wn.some(i.declarations,ao))return wn.factory.createStringLiteral(ie(i,n));var c=35===s?1<o.length&&wn.isIdentifierStart(o.charCodeAt(1),b):wn.isIdentifierStart(s,b);return 0===r||c?((c=wn.setEmitFlags(wn.factory.createIdentifier(o,a),16777216)).symbol=i,0<r?wn.factory.createPropertyAccessExpression(e(t,r-1),c):c):(91===s&&(o=o.substring(1,o.length-1),s=o.charCodeAt(0)),c=void 0,wn.isSingleOrDoubleQuote(s)?c=wn.factory.createStringLiteral(o.substring(1,o.length-1).replace(/\\./g,(function(e){return e.substring(1)})),39===s):""+ +o===o&&(c=wn.factory.createNumericLiteral(+o)),c||((c=wn.setEmitFlags(wn.factory.createIdentifier(o,a),16777216)).symbol=i),wn.factory.createElementAccessExpression(e(t,r-1),c))}(e,e.length-1)}function de(e){return e=wn.getNameOfDeclaration(e),!!e&&wn.isStringLiteral(e)}function ue(e){return e=wn.getNameOfDeclaration(e),!!(e&&wn.isStringLiteral(e)&&(e.singleQuote||!wn.nodeIsSynthesized(e)&&wn.startsWith(wn.getTextOfNode(e,!1),"'")))}function pe(e,n){var t=!!wn.length(e.declarations)&&wn.every(e.declarations,ue);n=((e,n,t)=>{var r;if(e=Na(e).nameType)return 384&e.flags?(r=""+e.value,wn.isIdentifierText(r,v.target)||Hy(r)?Hy(r)&&wn.startsWith(r,"-")?wn.factory.createComputedPropertyName(wn.factory.createNumericLiteral(+r)):me(r):wn.factory.createStringLiteral(r,!!t)):8192&e.flags?wn.factory.createComputedPropertyName(le(e.symbol,n,111551)):void 0})(e,n,t);return n||me(wn.unescapeLeadingUnderscores(e.escapedName),!!wn.length(e.declarations)&&wn.every(e.declarations,de),t)}function me(e,n,t){return wn.isIdentifierText(e,v.target)?wn.factory.createIdentifier(e):!n&&Hy(e)&&0<=+e?wn.factory.createNumericLiteral(+e):wn.factory.createStringLiteral(e,!!t)}function _e(e,n){return e.declarations&&wn.find(e.declarations,(function(e){return!(!wn.getEffectiveTypeAnnotationNode(e)||n&&!wn.findAncestor(e,(function(e){return e===n})))}))}function fe(e,n){return!(4&wn.getObjectFlags(n))||!wn.isTypeReferenceNode(e)||wn.length(e.typeArguments)>=Ml(n.target.typeParameters)}function ge(e,n,t,r,a,i){return n!==Zn&&r&&(r=_e(t,r),r&&!wn.isFunctionLikeDeclaration(r)&&!wn.isGetAccessorDeclaration(r)&&(r=wn.getEffectiveTypeAnnotationNode(r),Op(r)===n&&fe(r,n)&&(r=he(e,r,a,i),r)))?r:(a=e.flags,8192&n.flags&&n.symbol===t&&(!e.enclosingDeclaration||wn.some(t.declarations,(function(n){return wn.getSourceFileOfNode(n)===wn.getSourceFileOfNode(e.enclosingDeclaration)})))&&(e.flags|=1048576),i=H(n,e),e.flags=a,i)}function ye(e,n,t){var r,a=!1,i=wn.getFirstIdentifier(e);if(wn.isInJSFile(e)&&(wn.isExportsIdentifier(i)||wn.isModuleExportsAccessExpression(i.parent)||wn.isQualifiedName(i.parent)&&wn.isModuleIdentifier(i.parent.left)&&wn.isExportsIdentifier(i.parent.right)))return{introducesError:a=!0,node:e};var o;i=pi(i,67108863,!0,!0);return i&&(0!==eo(i,n.enclosingDeclaration,67108863,!1).accessibility?a=!0:(null!=(o=null==(r=n.tracker)?void 0:r.trackSymbol)&&o.call(r,i,n.enclosingDeclaration,67108863),null!=t&&t(i)),wn.isIdentifier(e))?((o=262144&i.flags?se(Hs(i),n):wn.factory.cloneNode(e)).symbol=i,{introducesError:a,node:wn.setEmitFlags(wn.setOriginalNode(o,e),16777216)}):{introducesError:a,node:e}}function he(n,r,a,i){t&&t.throwIfCancellationRequested&&t.throwIfCancellationRequested();var o=!1,s=wn.getSourceFileOfNode(r),c=wn.visitNode(r,(function t(r){if(wn.isJSDocAllType(r)||314===r.kind)return wn.factory.createKeywordTypeNode(129);if(wn.isJSDocUnknownType(r))return wn.factory.createKeywordTypeNode(153);if(wn.isJSDocNullableType(r))return wn.factory.createUnionTypeNode([wn.visitNode(r.type,t),wn.factory.createLiteralTypeNode(wn.factory.createNull())]);if(wn.isJSDocOptionalType(r))return wn.factory.createUnionTypeNode([wn.visitNode(r.type,t),wn.factory.createKeywordTypeNode(151)]);if(wn.isJSDocNonNullableType(r))return wn.visitNode(r.type,t);if(wn.isJSDocVariadicType(r))return wn.factory.createArrayTypeNode(wn.visitNode(r.type,t));if(wn.isJSDocTypeLiteral(r))return wn.factory.createTypeLiteralNode(wn.map(r.jsDocPropertyTags,(function(e){var a=wn.isIdentifier(e.name)?e.name:e.name.right,i=Co(Op(r),a.escapedText);i=i&&e.typeExpression&&Op(e.typeExpression.type)!==i?H(i,n):void 0;return wn.factory.createPropertySignature(void 0,a,e.isBracketed||e.typeExpression&&wn.isJSDocOptionalType(e.typeExpression.type)?wn.factory.createToken(57):void 0,i||e.typeExpression&&wn.visitNode(e.typeExpression.type,t)||wn.factory.createKeywordTypeNode(129))})));if(wn.isTypeReferenceNode(r)&&wn.isIdentifier(r.typeName)&&""===r.typeName.escapedText)return wn.setOriginalNode(wn.factory.createKeywordTypeNode(129),r);if((wn.isExpressionWithTypeArguments(r)||wn.isTypeReferenceNode(r))&&wn.isJSDocIndexSignature(r))return wn.factory.createTypeLiteralNode([wn.factory.createIndexSignature(void 0,void 0,[wn.factory.createParameterDeclaration(void 0,void 0,void 0,"x",void 0,wn.visitNode(r.typeArguments[0],t))],wn.visitNode(r.typeArguments[1],t))]);var c;if(wn.isJSDocFunctionType(r))return wn.isJSDocConstructSignature(r)?wn.factory.createConstructorTypeNode(r.modifiers,wn.visitNodes(r.typeParameters,t),wn.mapDefined(r.parameters,(function(e,n){return e.name&&wn.isIdentifier(e.name)&&"new"===e.name.escapedText?void(c=e.type):wn.factory.createParameterDeclaration(void 0,void 0,u(e),p(e,n),e.questionToken,wn.visitNode(e.type,t),void 0)})),wn.visitNode(c||r.type,t)||wn.factory.createKeywordTypeNode(129)):wn.factory.createFunctionTypeNode(wn.visitNodes(r.typeParameters,t),wn.map(r.parameters,(function(e,n){return wn.factory.createParameterDeclaration(void 0,void 0,u(e),p(e,n),e.questionToken,wn.visitNode(e.type,t),void 0)})),wn.visitNode(r.type,t)||wn.factory.createKeywordTypeNode(129));if(wn.isTypeReferenceNode(r)&&wn.isInJSDoc(r)&&(!fe(r,Op(r))||Nd(r)||Jn===Sd(Td(r),788968,!0)))return wn.setOriginalNode(H(Op(r),n),r);if(wn.isLiteralImportTypeNode(r))return l=ka(r).resolvedSymbol,!wn.isInJSDoc(r)||!l||(r.isTypeOf||788968&l.flags)&&wn.length(r.typeArguments)>=Ml(Ds(l))?wn.factory.updateImportTypeNode(r,wn.factory.updateLiteralTypeNode(r.argument,m(r,r.argument.literal)),r.qualifier,wn.visitNodes(r.typeArguments,t,wn.isTypeNode),r.isTypeOf):wn.setOriginalNode(H(Op(r),n),r);if(wn.isEntityName(r)||wn.isEntityNameExpression(r)){var l=ye(r,n,a),d=l.introducesError;l=l.node;if(o=o||d,l!==r)return l}return s&&wn.isTupleTypeNode(r)&&wn.getLineAndCharacterOfPosition(s,r.pos).line===wn.getLineAndCharacterOfPosition(s,r.end).line&&wn.setEmitFlags(r,1),wn.visitEachChild(r,t,wn.nullTransformationContext);function u(e){return e.dotDotDotToken||(e.type&&wn.isJSDocVariadicType(e.type)?wn.factory.createToken(25):void 0)}function p(e,n){return e.name&&wn.isIdentifier(e.name)&&"this"===e.name.escapedText?"this":u(e)?"args":"arg"+n}function m(t,r){if(i){if(n.tracker&&n.tracker.moduleResolverHost){var a;t=Nx(t);if(t)return a=wn.createGetCanonicalFileName(!!e.useCaseSensitiveFileNames),a={getCanonicalFileName:a,getCurrentDirectory:function(){return n.tracker.moduleResolverHost.getCurrentDirectory()},getCommonSourceDirectory:function(){return n.tracker.moduleResolverHost.getCommonSourceDirectory()}},a=wn.getResolvedExternalModuleName(a,t),wn.factory.createStringLiteral(a)}}else n.tracker&&n.tracker.trackExternalModuleSymbolOfImportTypeNode&&(t=fi(r,r,void 0))&&n.tracker.trackExternalModuleSymbolOfImportTypeNode(t);return r}}));if(!o)return c===r?wn.setTextRange(wn.factory.cloneNode(r),r):c}var ve,be=wn.createSymbolTable(),Ee=Ea(4,"undefined"),Te=(Ee.declarations=[],Ea(1536,"globalThis",8)),Se=(Te.exports=be,Te.declarations=[],be.set(Te.escapedName,Te),Ea(4,"arguments")),xe=Ea(4,"require"),Le={getNodeCount:function(){return wn.sum(e.getSourceFiles(),"nodeCount")},getIdentifierCount:function(){return wn.sum(e.getSourceFiles(),"identifierCount")},getSymbolCount:function(){return wn.sum(e.getSourceFiles(),"symbolCount")+p},getTypeCount:function(){return u},getInstantiationCount:function(){return _},getRelationCacheSizes:function(){return{assignable:Ur.size,identity:jr.size,subtype:Gr.size,strictSubtype:Br.size}},isUndefinedSymbol:function(e){return e===Ee},isArgumentsSymbol:function(e){return e===Se},isUnknownSymbol:function(e){return e===Jn},getMergedSymbol:Ci,getDiagnostics:wS,getGlobalDiagnostics:function(){return MS(),Pr.getGlobalDiagnostics()},getRecursionIdentity:a_,getUnmatchedProperties:bf,getTypeOfSymbolAtLocation:function(e,n){if(n=wn.getParseTreeNode(n),n){if(e=e.exportSymbol||e,(79===n.kind||80===n.kind)&&(wn.isRightSideOfQualifiedNameOrPropertyAccess(n)&&(n=n.parent),wn.isExpressionNode(n))&&(!wn.isAssignmentTarget(n)||wn.isWriteAccess(n))){var t=_E(n);if(wi(ka(n).resolvedSymbol)===e)return t}return wn.isDeclarationName(n)&&wn.isSetAccessor(n.parent)&&ss(n.parent)?us(n.parent.symbol,!0):vs(e)}return Zn},getSymbolsOfParameterPropertyDeclaration:function(e,n){var t;e=wn.getParseTreeNode(e,wn.isParameter);return void 0===e?wn.Debug.fail("Cannot get symbols of a synthetic parameter that cannot be resolved to a parse-tree node."):(e=e,n=wn.escapeLeadingUnderscores(n),t=e.parent,e=e.parent.parent,t=Oa(t.locals,n,111551),e=Oa(cc(e.symbol),n,111551),t&&e?[t,e]:wn.Debug.fail("There should exist two symbols, one as property declaration and one as parameter declaration"))},getDeclaredTypeOfSymbol:Hs,getPropertiesOfType:zc,getPropertyOfType:function(e,n){return gl(e,wn.escapeLeadingUnderscores(n))},getPrivateIdentifierPropertyOfType:function(e,n,t){return t=wn.getParseTreeNode(t),t&&(n=Oh(wn.escapeLeadingUnderscores(n),t))?Ph(e,n):void 0},getTypeOfPropertyOfType:function(e,n){return Co(e,wn.escapeLeadingUnderscores(n))},getIndexInfoOfType:function(e,n){return xl(e,0===n?ct:lt)},getIndexInfosOfType:Sl,getSignaturesOfType:hl,getIndexTypeOfType:function(e,n){return Ll(e,0===n?ct:lt)},getBaseTypes:Ps,getBaseTypeOfLiteralType:S_,getWidenedType:ef,getTypeFromTypeNode:function(e){return e=wn.getParseTreeNode(e,wn.isTypeNode),e?Op(e):Zn},getParameterType:ub,getParameterIdentifierNameAtPosition:function(e,n){var t=e.parameters.length-(ck(e)?1:0);if(n<t)return lb(a=e.parameters[n])?[a.escapedName,!1]:void 0;var r,a=e.parameters[t]||Jn;return lb(a)?(e=hs(a),C_(e)?(e=e.target.labeledElementDeclarations,r=n-t,e=null==e?void 0:e[r],r=!(null==e||!e.dotDotDotToken),e?[sb(e),r]:void 0):n===t?[a.escapedName,!0]:void 0):void 0},getPromisedTypeOfPromise:BE,getAwaitedType:function(e){return VE(e)},getReturnTypeOfSignature:zl,isNullableType:Sh,getNullableType:G_,getNonNullableType:U_,getNonOptionalType:j_,getTypeArguments:yd,typeToTypeNode:U.typeToTypeNode,indexInfoToIndexSignatureDeclaration:U.indexInfoToIndexSignatureDeclaration,signatureToSignatureDeclaration:U.signatureToSignatureDeclaration,symbolToEntityName:U.symbolToEntityName,symbolToExpression:U.symbolToExpression,symbolToTypeParameterDeclarations:U.symbolToTypeParameterDeclarations,symbolToParameterDeclaration:U.symbolToParameterDeclaration,typeParameterToDeclaration:U.typeParameterToDeclaration,getSymbolsInScope:function(e,n){var t,r;e=wn.getParseTreeNode(e);if(!e)return[];var a=e,i=n;if(16777216&a.flags)return[];for(t=wn.createSymbolTable(),r=!1;a;){switch(a.locals&&!Ra(a)&&s(a.locals,i),a.kind){case 300:if(!wn.isExternalModule(a))break;case 259:((e,n)=>{n&&e.forEach((function(e){wn.getDeclarationOfKind(e,273)||wn.getDeclarationOfKind(e,272)||o(e,n)}))})(Ii(a).exports,2623475&i);break;case 258:s(Ii(a).exports,8&i);break;case 224:a.name&&o(a.symbol,i);case 255:case 256:r||s(cc(Ii(a)),788968&i);break;case 211:a.name&&o(a.symbol,i)}wn.introducesArgumentsExoticObject(a)&&o(Se,i),r=wn.isStatic(a),a=a.parent}return s(be,i),t.delete("this"),Nl(t);function o(e,n){wn.getCombinedLocalAndExportSymbolFlags(e)&n&&(n=e.escapedName,t.has(n)||t.set(n,e))}function s(e,n){n&&e.forEach((function(e){o(e,n)}))}},getSymbolAtLocation:function(e){return e=wn.getParseTreeNode(e),e?HS(e,!0):void 0},getIndexInfosAtLocation:function(e){var n;e=wn.getParseTreeNode(e);if(e&&wn.isIdentifier(e)&&wn.isPropertyAccessExpression(e.parent)&&e.parent.name===e)return n=Cu(e),e=1048576&(e=_E(e.parent.expression)).flags?e.types:[e],wn.flatMap(e,(function(e){return wn.filter(Sl(e),(function(e){return El(n,e.keyType)}))}))},getShorthandAssignmentValueSymbol:function(e){if(e=wn.getParseTreeNode(e),e&&e&&292===e.kind)return pi(e.name,2208703)},getExportSpecifierLocalTargetSymbol:function(e){e=wn.getParseTreeNode(e,wn.isExportSpecifier);return e?(e=e,wn.isExportSpecifier(e)?e.parent.parent.moduleSpecifier?Qa(e.parent.parent,e):pi(e.propertyName||e.name,2998271):pi(e,2998271)):void 0},getExportSymbolOfSymbol:function(e){return Ci(e.exportSymbol||e)},getTypeAtLocation:function(e){return e=wn.getParseTreeNode(e),e?WS(e):Zn},getTypeOfAssignmentPattern:function(e){return e=wn.getParseTreeNode(e,wn.isAssignmentPattern),e&&zS(e)||Zn},getPropertySymbolOfDestructuringAssignment:function(e){var n;e=wn.getParseTreeNode(e,wn.isIdentifier);return e?(e=e,(n=zS(wn.cast(e.parent.parent,wn.isAssignmentPattern)))&&gl(n,e.escapedText)):void 0},signatureToString:function(e,n,t,r){return co(e,wn.getParseTreeNode(n),t,r)},typeToString:function(e,n,t){return lo(e,wn.getParseTreeNode(n),t)},symbolToString:function(e,n,t,r){return so(e,wn.getParseTreeNode(n),t,r)},typePredicateToString:function(e,n,t){return go(e,wn.getParseTreeNode(n),t)},writeSignature:function(e,n,t,r,a){return co(e,wn.getParseTreeNode(n),t,r,a)},writeType:function(e,n,t,r){return lo(e,wn.getParseTreeNode(n),t,r)},writeSymbol:function(e,n,t,r,a){return so(e,wn.getParseTreeNode(n),t,r,a)},writeTypePredicate:function(e,n,t,r){return go(e,wn.getParseTreeNode(n),t,r)},getAugmentedPropertiesOfType:qS,getRootSymbols:function e(n){var t=YS(n);return t?wn.flatMap(t,e):[n]},getSymbolOfExpando:Jv,getContextualType:function(e,n){if(e=wn.getParseTreeNode(e,wn.isExpression),e){var t=wn.findAncestor(e,wn.isCallLikeExpression),r=t&&ka(t).resolvedSignature;if(4&n&&t){for(var a=e;ka(a).skipDirectInference=!0,(a=a.parent)&&a!==t;);ka(t).resolvedSignature=void 0}var i=ky(e,n);if(4&n&&t){for(a=e;ka(a).skipDirectInference=void 0,(a=a.parent)&&a!==t;);ka(t).resolvedSignature=r}return i}},getContextualTypeForObjectLiteralElement:function(e){return e=wn.getParseTreeNode(e,wn.isObjectLiteralElementLike),e?Ty(e):void 0},getContextualTypeForArgumentAtIndex:function(e,n){return e=wn.getParseTreeNode(e,wn.isCallLikeExpression),e&&yy(e,n)},getContextualTypeForJsxAttribute:function(e){return e=wn.getParseTreeNode(e,wn.isJsxAttributeLike),e&&Ly(e)},isContextSensitive:lm,getTypeOfPropertyOfContextualType:Ey,getFullyQualifiedName:ui,getResolvedSignature:function(e,n,t){return De(e,n,t,0)},getResolvedSignatureForSignatureHelp:function(e,n,t){return De(e,n,t,16)},getExpandedParameters:gc,hasEffectiveRestParameter:gb,containsArgumentsReference:Ul,getConstantValue:function(e){return e=wn.getParseTreeNode(e,gx),e?yx(e):void 0},isValidPropertyAccess:function(e,n){return e=wn.getParseTreeNode(e,wn.isPropertyAccessOrQualifiedNameOrImportTypeNode),!!e&&((e,n)=>{switch(e.kind){case 204:return Qh(e,106===e.expression.kind,n,ef(yE(e.expression)));case 159:return Qh(e,!1,n,ef(yE(e.left)));case 198:return Qh(e,!1,n,Op(e))}})(e,wn.escapeLeadingUnderscores(n))},isValidPropertyAccessForCompletions:function(e,n,t){return e=wn.getParseTreeNode(e,wn.isPropertyAccessExpression),!!e&&Yh(e,n,t)},getSignatureFromDeclaration:function(e){return e=wn.getParseTreeNode(e,wn.isFunctionLike),e?Gl(e):void 0},isImplementationOfOverload:function(e){return e=wn.getParseTreeNode(e,wn.isFunctionLike),e?lx(e):void 0},getImmediateAliasedSymbol:qy,getAliasedSymbol:ai,getEmitResolver:function(e,n){return wS(e,n),B},getExportsOfModule:Ei,getExportsAndPropertiesOfModule:function(e){var n=Ei(e),t=hi(e);return t!==e&&Si(e=hs(t))&&wn.addRange(n,zc(e)),n},forEachExportAndPropertyOfModule:function(e,n){Li(e).forEach((function(e,t){Ki(t)||n(e,t)}));var t=hi(e);t!==e&&Si(e=hs(t))&&zc(e).forEach((function(e){n(e,e.escapedName)}))},getSymbolWalker:wn.createGetSymbolWalker((function(e){return Xl(e)||Xn}),Hl,zl,Ps,jc,hs,Bf,qc,wn.getFirstIdentifier,yd),getAmbientModules:function(){return Ce||(Ce=[],be.forEach((function(e,n){Fn.test(n)&&Ce.push(e)}))),Ce},getJsxIntrinsicTagNamesAt:function(e){return e=rh(Mn.IntrinsicElements,e),e?zc(e):wn.emptyArray},isOptionalParameter:function(e){return e=wn.getParseTreeNode(e,wn.isParameter),!!e&&Ol(e)},tryGetMemberInModuleExports:function(e,n){return Ti(wn.escapeLeadingUnderscores(e),n)},tryGetMemberInModuleExportsAndProperties:function(e,n){e=wn.escapeLeadingUnderscores(e);var t=Ti(e,n);return t||((t=hi(n))!==n&&Si(n=hs(t))?gl(n,e):void 0)},tryFindAmbientModule:function(e){return Rl(e,!0)},tryFindAmbientModuleWithoutAugmentations:function(e){return Rl(e,!1)},getApparentType:ol,getUnionType:gu,isTypeAssignableTo:hm,createAnonymousType:zi,createSignature:pc,createSymbol:Ea,createIndexInfo:ad,getAnyType:function(){return Xn},getStringType:function(){return ct},getNumberType:function(){return lt},createPromiseType:Sb,createArrayType:qd,getElementTypeOfArrayType:p_,getBooleanType:function(){return ft},getFalseType:function(e){return e?ut:pt},getTrueType:function(e){return e?mt:_t},getVoidType:function(){return yt},getUndefinedType:function(){return tt},getNullType:function(){return ot},getESSymbolType:function(){return gt},getNeverType:function(){return ht},getOptionalType:function(){return at},isSymbolAccessible:eo,isArrayType:l_,isTupleType:C_,isArrayLikeType:m_,isTypeInvalidDueToUnionDiscriminant:function(e,n){return n.properties.some((function(n){var t=n.name&&Cu(n.name);t=t&&ec(t)?ic(t):void 0,t=void 0===t?void 0:Co(e,t);return!!t&&T_(t)&&!hm(WS(n),t)}))},getAllPossiblePropertiesOfTypes:function(e){var n=gu(e);if(!(1048576&n.flags))return qS(n);for(var t=wn.createSymbolTable(),r=0,a=e;r<a.length;r++)for(var i=a[r],o=0,s=qS(i);o<s.length;o++){var c,l=s[o].escapedName;t.has(l)||(c=cl(n,l))&&t.set(l,c)}return wn.arrayFrom(t.values())},getSuggestedSymbolForNonexistentProperty:jh,getSuggestionForNonexistentProperty:Hh,getSuggestedSymbolForNonexistentJSXAttribute:Kh,getSuggestedSymbolForNonexistentSymbol:function(e,n,t){return Wh(e,wn.escapeLeadingUnderscores(n),t)},getSuggestionForNonexistentSymbol:function(e,n,t){return n=wn.escapeLeadingUnderscores(n),(e=Wh(e,n,t))&&wn.symbolName(e)},getSuggestedSymbolForNonexistentModule:zh,getSuggestionForNonexistentExport:function(e,n){return e=zh(e,n),e&&wn.symbolName(e)},getSuggestedSymbolForNonexistentClassMember:Vh,getBaseConstraintOfType:$c,getDefaultFromTypeParameter:function(e){return e&&262144&e.flags?al(e):void 0},resolveName:function(e,n,t,r){return Ma(n,wn.escapeLeadingUnderscores(e),t,void 0,void 0,!1,r)},getJsxNamespace:function(e){return wn.unescapeLeadingUnderscores(pa(e))},getJsxFragmentFactory:function(e){return e=Ix(e),e&&wn.unescapeLeadingUnderscores(wn.getFirstIdentifier(e).escapedText)},getAccessibleSymbolChain:Xi,getTypePredicateOfSignature:Hl,resolveExternalModuleName:function(e){return e=wn.getParseTreeNode(e,wn.isExpression),e&&_i(e,e,!0)},resolveExternalModuleSymbol:hi,tryGetThisTypeAt:function(e,n){return e=wn.getParseTreeNode(e),e&&oy(e,n)},getTypeArgumentConstraint:function(e){return e=wn.getParseTreeNode(e,wn.isTypeNode),e&&(e=>{var n,t=wn.tryCast(e.parent,wn.isTypeReferenceType);if(t)return n=NE(t),(e=qc(n[t.typeArguments.indexOf(e)]))&&am(e,Bp(n,CE(t,n)))})(e)},getSuggestionDiagnostics:function(n,r){var a;n=wn.getParseTreeNode(n,wn.isSourceFile)||wn.Debug.fail("Could not determine parsed source file.");if(wn.skipTypeChecking(n,v,e))return wn.emptyArray;try{return t=r,RS(n),wn.Debug.assert(!!(1&ka(n).flags)),a=wn.addRange(a,wr.getDiagnostics(n.fileName)),$E(PS(n),(function(e,n,t){wn.containsParseError(e)||OS(n,!!(8388608&e.flags))||(a=a||[]).push(nu(nu({},t),{category:wn.DiagnosticCategory.Suggestion}))})),a||wn.emptyArray}finally{t=void 0}},runWithCancellationToken:function(e,n){try{return t=e,n(Le)}finally{t=void 0}},getLocalTypeParametersOfClassOrInterfaceOrTypeAlias:Ds,isDeclarationVisible:To};function De(e,n,t,r){return e=wn.getParseTreeNode(e,wn.isCallLikeExpression),ve=t,t=e?Hv(e,n,r):void 0,ve=void 0,t}var Ae,Ce,Ie,Ne,ke,Re,Oe,Pe,we,Me,Fe,Ge,Be,Ue,Ve,je,Ke,He,We,ze,Je,qe,Xe,Ye,Qe,Ze,$e,en,nn,tn,rn,an,on,sn,cn,ln,dn,un,pn,mn,_n,fn,gn,yn,hn,vn,bn,En,Tn,Sn=new wn.Map,xn=new wn.Map,Ln=new wn.Map,Dn=new wn.Map,An=new wn.Map,Cn=new wn.Map,In=new wn.Map,Nn=new wn.Map,kn=new wn.Map,Rn=new wn.Map,On=new wn.Map,Pn=new wn.Map,Bn=[],Un=new wn.Map,Jn=Ea(4,"unknown"),qn=Ea(0,"__resolving__"),Xn=Ui(1,"any"),Yn=Ui(1,"any"),Qn=Ui(1,"any"),Zn=Ui(1,"error"),$n=Ui(1,"any",131072),et=Ui(1,"intrinsic"),nt=Ui(2,"unknown"),tt=Ui(32768,"undefined"),rt=x?tt:Ui(32768,"undefined",131072),at=Ui(32768,"undefined"),it=O?Ui(32768,"undefined"):tt,ot=Ui(65536,"null"),st=x?ot:Ui(65536,"null",131072),ct=Ui(4,"string"),lt=Ui(8,"number"),dt=Ui(64,"bigint"),ut=Ui(512,"false"),pt=Ui(512,"false"),mt=Ui(512,"true"),_t=Ui(512,"true"),ft=(mt.regularType=_t,mt.freshType=mt,(_t.regularType=_t).freshType=mt,ut.regularType=pt,ut.freshType=ut,(pt.regularType=pt).freshType=ut,gu([pt,_t])),gt=Ui(4096,"symbol"),yt=Ui(16384,"void"),ht=Ui(131072,"never"),vt=Ui(131072,"never"),bt=Ui(131072,"never",524288),Et=Ui(131072,"never"),Tt=Ui(131072,"never"),St=Ui(67108864,"object"),xt=gu([ct,lt]),Lt=gu([ct,lt,gt]),Dt=k?ct:Lt,At=gu([lt,dt]),Ct=gu([ct,lt,ft,dt,ot,tt]),It=jp((function(e){return 262144&e.flags?(n=e).constraint===nt?n:n.restrictiveInstantiation||(n.restrictiveInstantiation=ji(n.symbol),n.restrictiveInstantiation.constraint=nt,n.restrictiveInstantiation):e;var n})),Nt=jp((function(e){return 262144&e.flags?Qn:e})),kt=zi(void 0,y,wn.emptyArray,wn.emptyArray,wn.emptyArray),Rt=zi(void 0,y,wn.emptyArray,wn.emptyArray,wn.emptyArray),Ot=(Rt.objectFlags|=2048,Ea(2048,"__type")),Pt=(Ot.members=wn.createSymbolTable(),zi(Ot,y,wn.emptyArray,wn.emptyArray,wn.emptyArray)),wt=zi(void 0,y,wn.emptyArray,wn.emptyArray,wn.emptyArray),Mt=(wt.instantiations=new wn.Map,zi(void 0,y,wn.emptyArray,wn.emptyArray,wn.emptyArray)),Ft=(Mt.objectFlags|=524288,zi(void 0,y,wn.emptyArray,wn.emptyArray,wn.emptyArray)),Gt=zi(void 0,y,wn.emptyArray,wn.emptyArray,wn.emptyArray),Bt=zi(void 0,y,wn.emptyArray,wn.emptyArray,wn.emptyArray),Ut=ji(),Vt=ji(),jt=(Vt.constraint=Ut,ji()),Kt=wl(1,"<<unresolved>>",0,Xn),Ht=pc(void 0,void 0,void 0,wn.emptyArray,Xn,void 0,0,0),Wt=pc(void 0,void 0,void 0,wn.emptyArray,Zn,void 0,0,0),zt=pc(void 0,void 0,void 0,wn.emptyArray,Xn,void 0,0,0),Jt=pc(void 0,void 0,void 0,wn.emptyArray,vt,void 0,0,0),qt=ad(lt,ct,!0),Xt=new wn.Map,Yt={get yieldType(){return wn.Debug.fail("Not supported")},get returnType(){return wn.Debug.fail("Not supported")},get nextType(){return wn.Debug.fail("Not supported")}},Qt=RT(Xn,Xn,Xn),Zt=RT(Xn,Xn,nt),$t=RT(ht,Xn,tt),er={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:function(e){return(cn=cn||Gd("AsyncIterator",3,e))||wt},getGlobalIterableType:function(e){return(sn=sn||Gd("AsyncIterable",1,e))||wt},getGlobalIterableIteratorType:function(e){return(ln=ln||Gd("AsyncIterableIterator",1,e))||wt},getGlobalGeneratorType:function(e){return(dn=dn||Gd("AsyncGenerator",3,e))||wt},resolveIterationType:VE,mustHaveANextMethodDiagnostic:wn.Diagnostics.An_async_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:wn.Diagnostics.The_0_property_of_an_async_iterator_must_be_a_method,mustHaveAValueDiagnostic:wn.Diagnostics.The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property},nr={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:function(e){return(nn=nn||Gd("Iterator",3,e))||wt},getGlobalIterableType:Hd,getGlobalIterableIteratorType:function(e){return(tn=tn||Gd("IterableIterator",1,e))||wt},getGlobalGeneratorType:function(e){return(rn=rn||Gd("Generator",3,e))||wt},resolveIterationType:function(e,n){return e},mustHaveANextMethodDiagnostic:wn.Diagnostics.An_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:wn.Diagnostics.The_0_property_of_an_iterator_must_be_a_method,mustHaveAValueDiagnostic:wn.Diagnostics.The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property},tr=new wn.Map,rr=!1,ar=new wn.Map,ir=0,or=0,sr=0,cr=!1,lr=0,dr=Dp(""),ur=Ap(0),pr=Cp({negative:!1,base10Value:"0"}),mr=[],_r=[],fr=[],gr=0,yr=10,hr=[],vr=[],br=[],Er=[],Tr=[],Sr=[],xr=[],Lr=[],Dr=[],Ar=[],Cr=[],Ir=[],Nr=[],kr=[],Rr=[],Or=[],Pr=wn.createDiagnosticCollection(),wr=wn.createDiagnosticCollection(),Mr=new wn.Map(wn.getEntries({string:ct,number:lt,bigint:dt,boolean:ft,symbol:gt,undefined:tt})),Fr=gu(wn.arrayFrom(Kn.keys(),Dp)),Gr=new wn.Map,Br=new wn.Map,Ur=new wn.Map,Vr=new wn.Map,jr=new wn.Map,Kr=new wn.Map;(Ot=wn.createSymbolTable()).set(Ee.escapedName,Ee);for(var Hr,Wr=0,zr=e.getSourceFiles();Wr<zr.length;Wr++){var Jr=zr[Wr];wn.bindSourceFile(Jr,v)}Ae=new wn.Map;for(var qr=0,Xr=e.getSourceFiles();qr<Xr.length;qr++)if(Jr=Xr[qr],!Jr.redirectInfo){if(!wn.isExternalOrCommonJsModule(Jr)){var Yr=Jr.locals.get("globalThis");if(null!=Yr&&Yr.declarations)for(var Qr=0,Zr=Yr.declarations;Qr<Zr.length;Qr++){var $r=Zr[Qr];Pr.add(wn.createDiagnosticForNode($r,wn.Diagnostics.Declaration_name_conflicts_with_built_in_global_identifier_0,"globalThis"))}Ca(be,Jr.locals)}Jr.jsGlobalAugmentations&&Ca(be,Jr.jsGlobalAugmentations),Jr.patternAmbientModules&&Jr.patternAmbientModules.length&&(Ie=wn.concatenate(Ie,Jr.patternAmbientModules)),Jr.moduleAugmentations.length&&(Hr=Hr||[]).push(Jr.moduleAugmentations),Jr.symbol&&Jr.symbol.globalExports&&Jr.symbol.globalExports.forEach((function(e,n){be.has(n)||be.set(n,e)}))}if(Hr)for(var ea=0,na=Hr;ea<na.length;ea++)for(var ta=na[ea],ra=0,aa=ta;ra<aa.length;ra++){var ia=aa[ra];wn.isGlobalScopeAugmentation(ia.parent)&&Ia(ia)}var oa=be,sa=wn.Diagnostics.Declaration_name_conflicts_with_built_in_global_identifier_0;if(Ot.forEach((function(e,n){var t,r,a=oa.get(n);a?wn.forEach(a.declarations,(t=wn.unescapeLeadingUnderscores(n),r=sa,function(e){return Pr.add(wn.createDiagnosticForNode(e,r,t))})):oa.set(n,e)})),Na(Ee).type=rt,Na(Se).type=Gd("IArguments",0,!0),Na(Jn).type=Zn,Na(Te).type=Vi(16,Te),we=Gd("Array",1,!0),ke=Gd("Object",0,!0),Re=Gd("Function",0,!0),Oe=D&&Gd("CallableFunction",0,!0)||Re,Pe=D&&Gd("NewableFunction",0,!0)||Re,Fe=Gd("String",0,!0),Ge=Gd("Number",0,!0),Be=Gd("Boolean",0,!0),Ue=Gd("RegExp",0,!0),je=qd(Xn),(Ke=qd(Yn))===kt&&(Ke=zi(void 0,y,wn.emptyArray,wn.emptyArray,wn.emptyArray)),Me=Wd("ReadonlyArray",1)||we,He=Me?zd(Me,[Xn]):je,Ve=Wd("ThisType",1),Hr)for(var ca=0,la=Hr;ca<la.length;ca++){ta=la[ca];for(var da=0,ua=ta;da<ua.length;da++)ia=ua[da],wn.isGlobalScopeAugmentation(ia.parent)||Ia(ia)}return Ae.forEach((function(e){var n=e.firstFile,t=e.secondFile;e=e.conflictingSymbols;e.size<8?e.forEach((function(e,n){for(var t=e.isBlockScoped,r=e.firstFileLocations,a=e.secondFileLocations,i=t?wn.Diagnostics.Cannot_redeclare_block_scoped_variable_0:wn.Diagnostics.Duplicate_identifier_0,o=0,s=r;o<s.length;o++)Aa(s[o],i,n,a);for(var c=0,l=a;c<l.length;c++)Aa(l[c],i,n,r)})):(e=wn.arrayFrom(e.keys()).join(", "),Pr.add(wn.addRelatedInfo(wn.createDiagnosticForNode(n,wn.Diagnostics.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,e),wn.createDiagnosticForNode(t,wn.Diagnostics.Conflicts_are_in_this_file))),Pr.add(wn.addRelatedInfo(wn.createDiagnosticForNode(t,wn.Diagnostics.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,e),wn.createDiagnosticForNode(n,wn.Diagnostics.Conflicts_are_in_this_file))))})),Ae=void 0,Le;function pa(e){if(e){var n=wn.getSourceFileOfNode(e);if(n)if(wn.isJsxOpeningFragment(e)){if(n.localJsxFragmentNamespace)return n.localJsxFragmentNamespace;var t=n.pragmas.get("jsxfrag");if(t){var r=wn.isArray(t)?t[0]:t;if(n.localJsxFragmentFactory=wn.parseIsolatedEntityName(r.arguments.factory,b),wn.visitNode(n.localJsxFragmentFactory,a),n.localJsxFragmentFactory)return n.localJsxFragmentNamespace=wn.getFirstIdentifier(n.localJsxFragmentFactory).escapedText}if(t=Ix(e),t)return n.localJsxFragmentFactory=t,n.localJsxFragmentNamespace=wn.getFirstIdentifier(t).escapedText}else{if(n.localJsxNamespace)return n.localJsxNamespace;if(e=n.pragmas.get("jsx"),e&&(r=wn.isArray(e)?e[0]:e,n.localJsxFactory=wn.parseIsolatedEntityName(r.arguments.factory,b),wn.visitNode(n.localJsxFactory,a),n.localJsxFactory))return n.localJsxNamespace=wn.getFirstIdentifier(n.localJsxFactory).escapedText}}return bn||(bn="React",v.jsxFactory?(En=wn.parseIsolatedEntityName(v.jsxFactory,b),wn.visitNode(En,a),En&&(bn=wn.getFirstIdentifier(En).escapedText)):v.reactNamespace&&(bn=wn.escapeLeadingUnderscores(v.reactNamespace))),En=En||wn.factory.createQualifiedName(wn.factory.createIdentifier(wn.unescapeLeadingUnderscores(bn)),"createElement"),bn;function a(e){return wn.setTextRangePosEnd(e,-1,-1),wn.visitEachChild(e,a,wn.nullTransformationContext)}}function ma(e,n,t,r,a,i,o){n=fa(n,t,r,a,i,o),n.skippedOn=e}function _a(e,n,t,r,a,i){return e?wn.createDiagnosticForNode(e,n,t,r,a,i):wn.createCompilerDiagnostic(n,t,r,a,i)}function fa(e,n,t,r,a,i){return e=_a(e,n,t,r,a,i),Pr.add(e),e}function ga(e,n){e?Pr.add(n):wr.add(nu(nu({},n),{category:wn.DiagnosticCategory.Suggestion}))}function ya(e,n,t,r,a,i,o){var s;if(n.pos<0||n.end<0)return e?(s=wn.getSourceFileOfNode(n),void ga(e,"message"in t?wn.createFileDiagnostic(s,0,0,t,r,a,i,o):wn.createDiagnosticForFileFromMessageChain(s,t))):void 0;ga(e,"message"in t?wn.createDiagnosticForNode(n,t,r,a,i,o):wn.createDiagnosticForNodeFromMessageChain(n,t))}function ha(e,n,t,r,a,i,o){return t=fa(e,t,r,a,i,o),n&&(r=wn.createDiagnosticForNode(e,wn.Diagnostics.Did_you_forget_to_use_await),wn.addRelatedInfo(t,r)),t}function va(e,n){return e=Array.isArray(e)?wn.forEach(e,wn.getJSDocDeprecatedTag):wn.getJSDocDeprecatedTag(e),e&&wn.addRelatedInfo(n,wn.createDiagnosticForNode(e,wn.Diagnostics.The_declaration_was_marked_as_deprecated_here)),wr.add(n),n}function ba(e,n,t){va(n,wn.createDiagnosticForNode(e,wn.Diagnostics._0_is_deprecated,t))}function Ea(e,n,t){return p++,e=new c(33554432|e,n),e.checkFlags=t||0,e}function Ta(e){var n=0;return 2&e&&(n|=111551),1&e&&(n|=111550),4&e&&(n|=0),8&e&&(n|=900095),16&e&&(n|=110991),32&e&&(n|=899503),64&e&&(n|=788872),256&e&&(n|=899327),128&e&&(n|=899967),512&e&&(n|=110735),8192&e&&(n|=103359),32768&e&&(n|=46015),65536&e&&(n|=78783),262144&e&&(n|=526824),524288&e&&(n|=788968),2097152&e&&(n|=2097152),n}function Sa(e,n){n.mergeId||(n.mergeId=Vn,Vn++),hr[n.mergeId]=e}function xa(e){var n=Ea(e.flags,e.escapedName);return n.declarations=e.declarations?e.declarations.slice():[],n.parent=e.parent,e.valueDeclaration&&(n.valueDeclaration=e.valueDeclaration),e.constEnumOnlyModule&&(n.constEnumOnlyModule=!0),e.members&&(n.members=new wn.Map(e.members)),e.exports&&(n.exports=new wn.Map(e.exports)),Sa(n,e),n}function La(e,n,t){if(void 0===t&&(t=!1),!(e.flags&Ta(n.flags))||67108864&(n.flags|e.flags)){if(n===e)return e;if(!(33554432&e.flags)){var r=ri(e);if(r===Jn)return n;e=xa(r)}512&n.flags&&512&e.flags&&e.constEnumOnlyModule&&!n.constEnumOnlyModule&&(e.constEnumOnlyModule=!1),e.flags|=n.flags,n.valueDeclaration&&wn.setValueDeclaration(e,n.valueDeclaration),wn.addRange(e.declarations,n.declarations),n.members&&(e.members||(e.members=wn.createSymbolTable()),Ca(e.members,n.members,t)),n.exports&&(e.exports||(e.exports=wn.createSymbolTable()),Ca(e.exports,n.exports,t)),t||Sa(e,n)}else{var a,i,o,s,c,l;1024&e.flags?e!==Te&&fa(n.declarations&&wn.getNameOfDeclaration(n.declarations[0]),wn.Diagnostics.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity,so(e)):(r=!!(384&e.flags||384&n.flags),a=!!(2&e.flags||2&n.flags),t=r?wn.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:a?wn.Diagnostics.Cannot_redeclare_block_scoped_variable_0:wn.Diagnostics.Duplicate_identifier_0,i=n.declarations&&wn.getSourceFileOfNode(n.declarations[0]),l=e.declarations&&wn.getSourceFileOfNode(e.declarations[0]),o=so(n),i&&l&&Ae&&!r&&i!==l?(s=-1===wn.comparePaths(i.path,l.path)?i:l,r=wn.getOrUpdate(Ae,s.path+"|"+(c=s===i?l:i).path,(function(){return{firstFile:s,secondFile:c,conflictingSymbols:new wn.Map}})),d((l=wn.getOrUpdate(r.conflictingSymbols,o,(function(){return{isBlockScoped:a,firstFileLocations:[],secondFileLocations:[]}}))).firstFileLocations,n),d(l.secondFileLocations,e)):(Da(n,t,o,e),Da(e,t,o,n)))}return e;function d(e,n){if(n.declarations)for(var t=0,r=n.declarations;t<r.length;t++){var a=r[t];wn.pushIfUnique(e,a)}}}function Da(e,n,t,r){wn.forEach(e.declarations,(function(e){Aa(e,n,t,r.declarations)}))}function Aa(e,n,t,r){for(var a,i,o,s,c=(wn.getExpandoInitializer(e,!1)?wn.getNameOfExpando(e):wn.getNameOfDeclaration(e))||e,l=(e=n,n=t,a=(a=c)?wn.createDiagnosticForNode(a,e,n,i,o,s):wn.createCompilerDiagnostic(e,n,i,o,s),(e=Pr.lookup(a))||(Pr.add(a),a)),d=0,u=r||wn.emptyArray;d<u.length;d++)(e=>{if((e=(wn.getExpandoInitializer(e,!1)?wn.getNameOfExpando(e):wn.getNameOfDeclaration(e))||e)!==c){l.relatedInformation=l.relatedInformation||[];var n=wn.createDiagnosticForNode(e,wn.Diagnostics._0_was_also_declared_here,t),r=wn.createDiagnosticForNode(e,wn.Diagnostics.and_here);5<=wn.length(l.relatedInformation)||wn.some(l.relatedInformation,(function(e){return 0===wn.compareDiagnostics(e,r)||0===wn.compareDiagnostics(e,n)}))||wn.addRelatedInfo(l,wn.length(l.relatedInformation)?r:n)}})(u[d])}function Ca(e,n,t){void 0===t&&(t=!1),n.forEach((function(n,r){var a=e.get(r);e.set(r,a?La(a,n,t):n)}))}function Ia(e){var n=e.parent;if((null==(r=n.symbol.declarations)?void 0:r[0])!==n)wn.Debug.assert(1<n.symbol.declarations.length);else if(wn.isGlobalScopeAugmentation(n))Ca(be,n.symbol.exports);else{var t=fi(e,e,8388608&e.parent.parent.flags?void 0:wn.Diagnostics.Invalid_module_name_in_augmentation_module_0_cannot_be_found,!0);if(t)if(1920&(t=hi(t)).flags)if(wn.some(Ie,(function(e){return t===e.symbol}))){var r=La(n.symbol,t,!0);(Ne=Ne||new wn.Map).set(e.text,r)}else{if(null!=(r=t.exports)&&r.get("__export")&&null!=(r=n.symbol.exports)&&r.size)for(var a=sc(t,"resolvedExports"),i=0,o=wn.arrayFrom(n.symbol.exports.entries());i<o.length;i++){var s=o[i],c=s[0];s=s[1];a.has(c)&&!t.exports.has(c)&&La(a.get(c),s)}La(t,n.symbol)}else fa(e,wn.Diagnostics.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity,e.text)}}function Na(e){return 33554432&e.flags?e:(e=rk(e),vr[e]||(vr[e]=new ek))}function ka(e){return e=tk(e),br[e]||(br[e]=new nk)}function Ra(e){return 300===e.kind&&!wn.isExternalOrCommonJsModule(e)}function Oa(e,n,t){if(t&&(e=Ci(e.get(n)),e)){if(wn.Debug.assert(0==(1&wn.getCheckFlags(e)),"Should never get an instantiated symbol here."),e.flags&t)return e;if(2097152&e.flags&&(n=ai(e),n===Jn||n.flags&t))return e}}function Pa(n,t){var r=wn.getSourceFileOfNode(n),a=wn.getSourceFileOfNode(t),i=wn.getEnclosingBlockScopeContainer(n);if(r!==a)return!!(E&&(r.externalModuleIndicator||a.externalModuleIndicator)||!wn.outFile(v)||Uf(t)||8388608&n.flags)||!!l(t,n)||(c=e.getSourceFiles()).indexOf(r)<=c.indexOf(a);if(n.pos<=t.pos&&(!wn.isPropertyDeclaration(n)||!wn.isThisProperty(t.parent)||n.initializer||n.exclamationToken)){if(201===n.kind)return(r=wn.getAncestor(t,201))?wn.findAncestor(r,wn.isBindingElement)!==wn.findAncestor(n,wn.isBindingElement)||n.pos<r.pos:Pa(wn.getAncestor(n,252),t);if(252!==n.kind)return wn.isClassDeclaration(n)?!wn.findAncestor(t,(function(e){return wn.isComputedPropertyName(e)&&e.parent.parent===n})):wn.isPropertyDeclaration(n)?!d(n,t,!1):!wn.isParameterPropertyDeclaration(n,n.parent)||!(99===v.target&&T&&wn.getContainingClass(n)===wn.getContainingClass(t)&&l(t,n));var o=n,s=t;switch(o.parent.parent.kind){case 235:case 240:case 242:if(Va(s,o,i))return!1}var c=o.parent.parent;return!(wn.isForInOrOfStatement(c)&&Va(s,c.expression,i))}return!(!(273===t.parent.kind||269===t.parent.kind&&t.parent.isExportEquals)&&(269!==t.kind||!t.isExportEquals)&&!(4194304&t.flags||Uf(t)||wn.findAncestor(t,(function(e){return wn.isInterfaceDeclaration(e)||wn.isTypeAliasDeclaration(e)})))&&(!l(t,n)||99===v.target&&T&&wn.getContainingClass(n)&&(wn.isPropertyDeclaration(n)||wn.isParameterPropertyDeclaration(n,n.parent))&&d(n,t,!0)));function l(e,n){return wn.findAncestor(e,(function(t){if(t===i)return"quit";if(wn.isFunctionLike(t))return!0;if(wn.isClassStaticBlockDeclaration(t))return n.pos<e.pos;var r=wn.tryCast(t.parent,wn.isPropertyDeclaration);if(r&&r.initializer===t)if(wn.isStatic(t.parent)){if(167===n.kind)return!0;if(wn.isPropertyDeclaration(n)&&wn.getContainingClass(e)===wn.getContainingClass(n)&&(r=n.name,(wn.isIdentifier(r)||wn.isPrivateIdentifier(r))&&((e,n,t,r,a)=>{for(var i=0,o=t;i<o.length;i++){var s=o[i];if(s.pos>=r&&s.pos<=a){var c=wn.factory.createPropertyAccessExpression(wn.factory.createThis(),e);if(wn.setParent(c.expression,c),wn.setParent(c,s),c.flowNode=s.returnFlowNode,!(32768&w_(Kg(c,n,B_(n)))))return 1}}})(r,hs(Ii(n)),wn.filter(n.parent.members,wn.isClassStaticBlockDeclaration),n.parent.pos,t.pos)))return!0}else if(165!==n.kind||wn.isStatic(n)||wn.getContainingClass(e)!==wn.getContainingClass(n))return!0;return!1}))}function d(e,n,t){return!(n.end>e.end)&&void 0===wn.findAncestor(n,(function(n){if(n===e)return"quit";switch(n.kind){case 212:return!0;case 165:return!t||!(wn.isPropertyDeclaration(e)&&n.parent===e.parent||wn.isParameterPropertyDeclaration(e,e.parent)&&n.parent===e.parent.parent)||"quit";case 233:switch(n.parent.kind){case 170:case 167:case 171:return!0;default:return!1}default:return!1}}))}}function wa(e,n,t){var r=wn.getEmitScriptTarget(v);if(wn.isParameter(t)&&n.body&&e.valueDeclaration&&e.valueDeclaration.pos>=n.body.pos&&e.valueDeclaration.end<=n.body.end&&2<=r)return void 0===(t=ka(n)).declarationRequiresScopeChange&&(t.declarationRequiresScopeChange=wn.forEach(n.parameters,(function(e){return a(e.name)||!!e.initializer&&a(e.initializer)}))||!1),!t.declarationRequiresScopeChange;function a(e){switch(e.kind){case 212:case 211:case 254:case 169:return!1;case 167:case 170:case 171:case 291:return a(e.name);case 165:return wn.hasStaticModifier(e)?r<99||!T:a(e.name);default:return wn.isNullishCoalesce(e)||wn.isOptionalChain(e)?r<7:wn.isBindingElement(e)&&e.dotDotDotToken&&wn.isObjectBindingPattern(e.parent)?r<4:!wn.isTypeNode(e)&&wn.forEachChild(e,a)||!1}}}function Ma(e,n,t,r,a,i,o,s){return Fa(e,n,t,r,a,i,o=void 0!==o&&o,Oa,s)}function Fa(e,n,t,r,a,i,o,s,c){var l,d,u,p,m,_,f,g,h,b=e,E=!1,S=e,x=!1;e:for(;e;){if(e.locals&&!Ra(e)&&(l=s(e.locals,n,t))){var L=!0;if(wn.isFunctionLike(e)&&d&&d!==e.body?(t&l.flags&788968&&315!==d.kind&&(L=!!(262144&l.flags)&&(d===e.type||162===d.kind||161===d.kind)),t&l.flags&3&&(wa(l,e,d)?L=!1:1&l.flags&&(L=162===d.kind||d===e.type&&!!wn.findAncestor(l.valueDeclaration,wn.isParameter)))):187===e.kind&&(L=d===e.trueType),L)break;l=void 0}switch(E=E||((e,n)=>212!==e.kind&&211!==e.kind?wn.isTypeQueryNode(e)||(wn.isFunctionLikeDeclaration(e)||165===e.kind&&!wn.isStatic(e))&&(!n||n!==e.name):!(n&&n===e.name||!e.asteriskToken&&!wn.hasSyntacticModifier(e,256)&&wn.getImmediatelyInvokedFunctionExpression(e)))(e,d),e.kind){case 300:if(!wn.isExternalOrCommonJsModule(e))break;x=!0;case 259:var D=Ii(e).exports||y;if(300===e.kind||wn.isModuleDeclaration(e)&&8388608&e.flags&&!wn.isGlobalScopeAugmentation(e)){if(l=D.get("default")){var A=wn.getLocalSymbolForExportDefault(l);if(A&&l.flags&t&&A.escapedName===n)break e;l=void 0}if(A=D.get(n),A&&2097152===A.flags&&(wn.getDeclarationOfKind(A,273)||wn.getDeclarationOfKind(A,272)))break}if("default"!==n&&(l=s(D,n,2623475&t))){if(!wn.isSourceFile(e)||!e.commonJsModuleIndicator||null!=(D=l.declarations)&&D.some(wn.isJSDocTypeAlias))break e;l=void 0}break;case 258:if(l=s(Ii(e).exports,n,8&t))break e;break;case 165:wn.isStatic(e)||(D=Fi(e.parent))&&D.locals&&s(D.locals,n,111551&t)&&(p=e);break;case 255:case 224:case 256:if(l=s(Ii(e).members||y,n,788968&t)){if(!((e,n)=>{if(e.declarations)for(var t=0,r=e.declarations;t<r.length;t++){var a=r[t];if(161===a.kind&&(wn.isJSDocTemplateTag(a.parent)?wn.getJSDocHost(a.parent):a.parent)===n)return!wn.isJSDocTemplateTag(a.parent)||!wn.find(a.parent.parent.tags,wn.isJSDocTypeAlias)}})(l,e)){l=void 0;break}if(d&&wn.isStatic(d))return void fa(S,wn.Diagnostics.Static_members_cannot_reference_class_type_parameters);break e}if(224===e.kind&&32&t){var C=e.name;if(C&&n===C.escapedText){l=e.symbol;break e}}break;case 226:if(d===e.expression&&94===e.parent.token&&(C=e.parent.parent,wn.isClassLike(C)&&(l=s(Ii(C).members,n,788968&t))))return void(r&&fa(S,wn.Diagnostics.Base_class_expressions_cannot_reference_class_type_parameters));break;case 160:if(I=e.parent.parent,(wn.isClassLike(I)||256===I.kind)&&(l=s(Ii(I).members,n,788968&t)))return void fa(S,wn.Diagnostics.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);break;case 212:if(2<=v.target)break;case 167:case 169:case 170:case 171:case 254:if(3&t&&"arguments"===n){l=Se;break e}break;case 211:if(3&t&&"arguments"===n){l=Se;break e}if(16&t){var I=e.name;if(I&&n===I.escapedText){l=e.symbol;break e}}break;case 163:(e=e.parent&&162===e.parent.kind?e.parent:e).parent&&(wn.isClassElement(e.parent)||255===e.parent.kind)&&(e=e.parent);break;case 340:case 333:case 334:(_=wn.getJSDocRoot(e))&&(e=_.parent);break;case 162:d&&(d===e.initializer||d===e.name&&wn.isBindingPattern(d))&&(m=m||e);break;case 201:d&&(d===e.initializer||d===e.name&&wn.isBindingPattern(d))&&wn.isParameterDeclaration(e)&&!m&&(m=e);break;case 188:if(262144&t){var N=e.typeParameter.name;if(N&&n===N.escapedText){l=e.typeParameter.symbol;break e}}}(e=>{switch(e.kind){case 254:case 255:case 256:case 258:case 257:case 259:return 1;default:return}})(e)&&(u=e),e=(d=e).parent}if(!i||!l||u&&l===u.symbol||(l.isReferenced|=t),!l){if(d&&(wn.Debug.assert(300===d.kind),d.commonJsModuleIndicator)&&"exports"===n&&t&d.symbol.flags)return d.symbol;o||(l=s(be,n,t))}if(!l&&b&&wn.isInJSFile(b)&&b.parent&&wn.isRequireCall(b.parent,!1))return xe;if(l){if(r){if(p&&(99!==v.target||!T))return i=p.name,void fa(S,wn.Diagnostics.Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor,wn.declarationNameToString(i),Ga(a));S&&(2&t||(32&t||384&t)&&111551==(111551&t))&&(2&(o=wi(l)).flags||32&o.flags||384&o.flags)&&((e,n)=>{if(wn.Debug.assert(!!(2&e.flags||32&e.flags||384&e.flags)),!(67108881&e.flags&&32&e.flags)){var t,r,a=null==(a=e.declarations)?void 0:a.find((function(e){return wn.isBlockOrCatchScoped(e)||wn.isClassLike(e)||258===e.kind}));if(void 0===a)return wn.Debug.fail("checkResolvedBlockScopedVariable could not find block-scoped declaration");8388608&a.flags||Pa(a,n)||(t=void 0,r=wn.declarationNameToString(wn.getNameOfDeclaration(a)),2&e.flags?t=fa(n,wn.Diagnostics.Block_scoped_variable_0_used_before_its_declaration,r):32&e.flags?t=fa(n,wn.Diagnostics.Class_0_used_before_its_declaration,r):(256&e.flags||(wn.Debug.assert(!!(128&e.flags)),wn.shouldPreserveConstEnums(v)))&&(t=fa(n,wn.Diagnostics.Enum_0_used_before_its_declaration,r)),t&&wn.addRelatedInfo(t,wn.createDiagnosticForNode(a,wn.Diagnostics._0_is_declared_here,r)))}})(o,S),!l||!x||111551!=(111551&t)||4194304&b.flags||(i=Ci(l),wn.length(i.declarations)&&wn.every(i.declarations,(function(e){return wn.isNamespaceExportDeclaration(e)||wn.isSourceFile(e)&&!!e.symbol.globalExports}))&&ya(!v.allowUmdGlobalAccess,S,wn.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead,wn.unescapeLeadingUnderscores(n))),l&&m&&!E&&111551==(111551&t)&&(o=Ci(lc(l)),_=wn.getRootDeclaration(m),o===Ii(m)?fa(S,wn.Diagnostics.Parameter_0_cannot_reference_itself,wn.declarationNameToString(m.name)):o.valueDeclaration&&o.valueDeclaration.pos>m.pos&&_.parent.locals&&s(_.parent.locals,o.escapedName,t)===o&&fa(S,wn.Diagnostics.Parameter_0_cannot_reference_identifier_1_declared_after_it,wn.declarationNameToString(m.name),wn.declarationNameToString(S))),l&&S&&111551&t&&2097152&l.flags&&(i=l,o=n,f=S,wn.isValidTypeOnlyAliasUseSite(f)||(i=si(i))&&(h=wn.typeOnlyDeclarationIsExport(i),g=h?wn.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:wn.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type,h=h?wn.Diagnostics._0_was_exported_here:wn.Diagnostics._0_was_imported_here,o=wn.unescapeLeadingUnderscores(o),wn.addRelatedInfo(fa(f,g,o),wn.createDiagnosticForNode(i,h,o))))}return l}!r||S&&(((e,n,t)=>{if(wn.isIdentifier(e)&&e.escapedText===n&&!GS(e)&&!Uf(e))for(var r=wn.getThisContainer(e,!1),a=r;a;){if(wn.isClassLike(a.parent)){var i=Ii(a.parent);if(!i)break;if(gl(hs(i),n))return fa(e,wn.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0,Ga(t),so(i)),1;if(a===r&&!wn.isStatic(a)&&gl(Hs(i).thisType,n))return fa(e,wn.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0,Ga(t)),1}a=a.parent}})(S,n,a)||Ba(S)||((e,n,t)=>{var r=1920|(wn.isInJSFile(e)?111551:0);if(t===r&&(t=ri(Ma(e,n,788968&~r,void 0,void 0,!1)),r=e.parent,t)){if(wn.isQualifiedName(r)){wn.Debug.assert(r.left===e,"Should only be resolving left side of qualified name as a namespace");var a=r.right.escapedText;if(gl(Hs(t),a))return fa(r,wn.Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1,wn.unescapeLeadingUnderscores(n),wn.unescapeLeadingUnderscores(a)),1}return fa(e,wn.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here,wn.unescapeLeadingUnderscores(n)),1}})(S,n,t)||((e,n)=>Ua(n)&&273===e.parent.kind&&(fa(e,wn.Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,n),1))(S,n)||((e,n,t)=>{if(111551&t){if(Ua(n))return fa(e,wn.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,wn.unescapeLeadingUnderscores(n)),1;var r;t=ri(Ma(e,n,788544,void 0,void 0,!1));if(t&&!(1024&t.flags))return r=wn.unescapeLeadingUnderscores(n),(e=>{switch(e){case"Promise":case"Symbol":case"Map":case"WeakMap":case"Set":case"WeakSet":return 1}})(n)?fa(e,wn.Diagnostics._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,r):((e,n)=>{if((e=wn.findAncestor(e.parent,(function(e){return!wn.isComputedPropertyName(e)&&!wn.isPropertySignature(e)&&(wn.isTypeLiteralNode(e)||"quit")})))&&1===e.members.length)return 1048576&(e=Hs(n)).flags&&Hb(e,384,!0)})(e,t)?fa(e,wn.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0,r,"K"===r?"P":"K"):fa(e,wn.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,r),1}})(S,n,t)||((e,n,t)=>{if(111127&t){if(ri(Ma(e,n,1024,void 0,void 0,!1)))return fa(e,wn.Diagnostics.Cannot_use_namespace_0_as_a_value,wn.unescapeLeadingUnderscores(n)),1}else if(788544&t&&ri(Ma(e,n,1536,void 0,void 0,!1)))return fa(e,wn.Diagnostics.Cannot_use_namespace_0_as_a_type,wn.unescapeLeadingUnderscores(n)),1})(S,n,t)||((e,n,t)=>{if(788584&t&&(t=ri(Ma(e,n,111127,void 0,void 0,!1)),t&&!(1920&t.flags)))return fa(e,wn.Diagnostics._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,wn.unescapeLeadingUnderscores(n)),1})(S,n,t))||(f=void 0,c&&gr<yr&&(f=(null==(f=Wh(b,n,t))?void 0:f.valueDeclaration)&&wn.isAmbientModule(f.valueDeclaration)&&wn.isGlobalScopeAugmentation(f.valueDeclaration)?void 0:f)&&(g=so(f),ga(!(i=Fh(b,f,!1)),h=_a(S,i?wn.Diagnostics.Could_not_find_name_0_Did_you_mean_1:wn.Diagnostics.Cannot_find_name_0_Did_you_mean_1,Ga(a),g)),f.valueDeclaration)&&wn.addRelatedInfo(h,wn.createDiagnosticForNode(f.valueDeclaration,wn.Diagnostics._0_is_declared_here,g)),f||a&&((o=(e=>{for(var n=Ga(e),t=wn.getScriptTargetFeatures(),r=(e=wn.getOwnKeys(t),0),a=e;r<a.length;r++){var i=a[r],o=wn.getOwnKeys(t[i]);if(void 0!==o&&wn.contains(o,n))return i}})(a))?fa(S,r,Ga(a),o):fa(S,r,Ga(a))),gr++)}function Ga(e){return wn.isString(e)?wn.unescapeLeadingUnderscores(e):wn.declarationNameToString(e)}function Ba(e){var n=function e(n){switch(n.kind){case 79:case 204:return n.parent?e(n.parent):void 0;case 226:if(wn.isEntityNameExpression(n.expression))return n.expression;default:return}}(e);return n&&pi(n,64,!0)&&(fa(e,wn.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements,wn.getTextOfNode(n)),1)}function Ua(e){return"any"===e||"string"===e||"number"===e||"boolean"===e||"never"===e||"unknown"===e}function Va(e,n,t){return!!n&&!!wn.findAncestor(e,(function(e){return e===t||wn.isFunctionLike(e)?"quit":e===n}))}function ja(e){switch(e.kind){case 263:return e;case 265:return e.parent;case 266:return e.parent.parent;case 268:return e.parent.parent.parent;default:return}}function Ka(e){return e.declarations&&wn.findLast(e.declarations,Ha)}function Ha(e){return 263===e.kind||262===e.kind||265===e.kind&&!!e.name||266===e.kind||272===e.kind||268===e.kind||273===e.kind||269===e.kind&&wn.exportAssignmentIsAlias(e)||wn.isBinaryExpression(e)&&2===wn.getAssignmentDeclarationKind(e)&&wn.exportAssignmentIsAlias(e)||wn.isAccessExpression(e)&&wn.isBinaryExpression(e.parent)&&e.parent.left===e&&63===e.parent.operatorToken.kind&&Wa(e.parent.right)||292===e.kind||291===e.kind&&Wa(e.initializer)||wn.isRequireVariableDeclaration(e)}function Wa(e){return wn.isAliasableExpression(e)||wn.isFunctionExpression(e)&&Wv(e)}function za(e,n){var t,r,a,i=Za(e);return i?(t=wn.getLeftmostAccessExpression(i.expression).arguments[0],wn.isIdentifier(i.name)?ri(gl(jl(t),i.name.escapedText)):void 0):wn.isVariableDeclaration(e)||275===e.moduleReference.kind?(ii(e,t=_i(e,wn.getExternalModuleRequireArgument(e)||wn.getExternalModuleImportEqualsDeclarationExpression(e)),i=hi(t),!1),i):(t=di(e.moduleReference,n),ii(i=e,void 0,n=t,!1)&&!i.isTypeOnly&&(n=si(Ii(i)),e=wn.typeOnlyDeclarationIsExport(n),r=e?wn.Diagnostics.An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:wn.Diagnostics.An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type,e=e?wn.Diagnostics._0_was_exported_here:wn.Diagnostics._0_was_imported_here,a=wn.unescapeLeadingUnderscores(n.name.escapedText),wn.addRelatedInfo(fa(i.moduleReference,r),wn.createDiagnosticForNode(n,e,a))),t)}function Ja(e,n,t,r){var a=e.exports.get("export=");a=a?gl(hs(a),n):e.exports.get(n),e=ri(a,r);return ii(t,a,e,!1),e}function qa(e){return wn.isExportAssignment(e)&&!e.isExportEquals||wn.hasSyntacticModifier(e,512)||wn.isExportSpecifier(e)}function Xa(e,n,t){var r;return!!S&&(!e||e.isDeclarationFile?!((r=Ja(n,"default",void 0,!0))&&wn.some(r.declarations,qa)||Ja(n,wn.escapeLeadingUnderscores("__esModule"),void 0,t)):wn.isSourceFileJS(e)?!e.externalModuleIndicator&&!Ja(n,wn.escapeLeadingUnderscores("__esModule"),void 0,t):bi(n))}function Ya(e,n){var t=_i(e,e.parent.moduleSpecifier);if(t){var r,a=void 0,i=(a=wn.isShorthandAmbientModuleSymbol(t)?t:Ja(t,"default",e,n),Xa(null==(i=t.declarations)?void 0:i.find(wn.isSourceFile),t,n));if(a||i){if(i)return i=hi(t,n)||ri(t,n),ii(e,t,i,!1),i}else bi(t)?(n=E>=wn.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop",i=t.exports.get("export=").valueDeclaration,r=fa(e.name,wn.Diagnostics.Module_0_can_only_be_default_imported_using_the_1_flag,so(t),n),i&&wn.addRelatedInfo(r,wn.createDiagnosticForNode(i,wn.Diagnostics.This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,n))):(r=e,null!=(n=(i=t).exports)&&n.has(r.symbol.escapedName)?fa(r.name,wn.Diagnostics.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,so(i),so(r.symbol)):(n=fa(r.name,wn.Diagnostics.Module_0_has_no_default_export,so(i)),(i=null==(r=i.exports)?void 0:r.get("__export"))&&(i=null==(r=i.declarations)?void 0:r.find((function(e){return!!(wn.isExportDeclaration(e)&&e.moduleSpecifier&&null!=(e=null==(e=_i(e,e.moduleSpecifier))?void 0:e.exports)&&e.has("default"))})))&&wn.addRelatedInfo(n,wn.createDiagnosticForNode(i,wn.Diagnostics.export_Asterisk_does_not_re_export_a_default))));return ii(e,a,void 0,!1),a}}function Qa(e,n,t){void 0===t&&(t=!1);var r=wn.getExternalModuleRequireArgument(e)||e.moduleSpecifier,a=_i(e,r),i=!wn.isPropertyAccessExpression(n)&&n.propertyName||n.name;if(wn.isIdentifier(i)){var o,s,c,l="default"===i.escapedText&&!(!v.allowSyntheticDefaultImports&&!v.esModuleInterop);r=vi(a,r,!1,l);if(r&&i.escapedText){if(wn.isShorthandAmbientModuleSymbol(a))return a;l=void 0,l=a&&a.exports&&a.exports.get("export=")?gl(hs(r),i.escapedText,!0):((e,n)=>{if(3&e.flags&&(e=e.valueDeclaration.type,e))return ri(gl(Op(e),n))})(r,i.escapedText),n=(l=ri(l,t),((e,n,t,r)=>{if(1536&e.flags)return ii(t,t=xi(e).get(n.escapedText),e=ri(t,r),!1),e})(r,i,n,t)),t=(n=void 0===n&&"default"===i.escapedText&&Xa(null==(c=a.declarations)?void 0:c.find(wn.isSourceFile),a,t)?hi(a,t)||ri(a,t):n)&&l&&n!==l?(c=n,(t=l)===Jn&&c===Jn?Jn:790504&t.flags?t:((m=Ea(t.flags|c.flags,t.escapedName)).declarations=wn.deduplicate(wn.concatenate(t.declarations,c.declarations),wn.equateValues),m.parent=t.parent||c.parent,t.valueDeclaration&&(m.valueDeclaration=t.valueDeclaration),c.members&&(m.members=new wn.Map(c.members)),t.exports&&(m.exports=new wn.Map(t.exports)),m)):n||l;if(!t){var d,u,p,m=ui(a,e);n=wn.declarationNameToString(i),l=zh(i,r);if(void 0!==l){r=so(l);var _=fa(i,wn.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2,m,n,r);l.valueDeclaration&&wn.addRelatedInfo(_,wn.createDiagnosticForNode(l.valueDeclaration,wn.Diagnostics._0_is_declared_here,r))}else null!=(_=a.exports)&&_.has("default")?fa(i,wn.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,m,n):(l=e,r=i,o=n,_=m,s=null==(i=null==(i=(e=a).valueDeclaration)?void 0:i.locals)?void 0:i.get(r.escapedText),i=e.exports,s?(e=null==i?void 0:i.get("export="))?Pi(e,s)?(n=l,a=r,d=o,u=_,E>=wn.ModuleKind.ES2015?(p=v.esModuleInterop?wn.Diagnostics._0_can_only_be_imported_by_using_a_default_import:wn.Diagnostics._0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import,fa(a,p,d)):wn.isInJSFile(n)?(p=v.esModuleInterop?wn.Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:wn.Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import,fa(a,p,d)):(p=v.esModuleInterop?wn.Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:wn.Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import,fa(a,p,d,d,u))):fa(r,wn.Diagnostics.Module_0_has_no_exported_member_1,_,o):(e=i?wn.find(Nl(i),(function(e){return!!Pi(e,s)})):void 0,l=e?fa(r,wn.Diagnostics.Module_0_declares_1_locally_but_it_is_exported_as_2,_,o,so(e)):fa(r,wn.Diagnostics.Module_0_declares_1_locally_but_it_is_not_exported,_,o),s.declarations&&wn.addRelatedInfo.apply(void 0,eu([l],wn.map(s.declarations,(function(e,n){return wn.createDiagnosticForNode(e,0===n?wn.Diagnostics._0_is_declared_here:wn.Diagnostics.and_here,o)})),!1))):fa(r,wn.Diagnostics.Module_0_has_no_exported_member_1,_,o))}return t}}}function Za(e){if(wn.isVariableDeclaration(e)&&e.initializer&&wn.isPropertyAccessExpression(e.initializer))return e.initializer}function $a(e,n,t){return n=e.parent.parent.moduleSpecifier?Qa(e.parent.parent,e,t):pi(e.propertyName||e.name,n,!1,t),ii(e,void 0,n,!1),n}function ei(e,n){return wn.isClassExpression(e)?nE(e).symbol:wn.isEntityName(e)||wn.isEntityNameExpression(e)?pi(e,901119,!0,n)||(nE(e),ka(e).resolvedSymbol):void 0}function ni(e,n){switch(void 0===n&&(n=!1),e.kind){case 263:case 252:return za(e,n);case 265:return Ya(e,n);case 266:return d=n,u=(l=e).parent.parent.moduleSpecifier,p=_i(l,u),u=vi(p,u,d,!1),ii(l,p,u,!1),u;case 272:return d=n,u=(p=(l=e).parent.moduleSpecifier)&&_i(l,p),p=p&&vi(u,p,d,!1),ii(l,u,p,!1),p;case 268:case 201:return a=e,i=n,o=Za(s=wn.isBindingElement(a)?wn.getRootDeclaration(a):a.parent.parent.parent),s=Qa(s,o||a,i),c=a.propertyName||a.name,o&&s&&wn.isIdentifier(c)?ri(gl(hs(s),c.escapedText),i):(ii(a,void 0,s,!1),s);case 273:return $a(e,901119,n);case 269:case 219:return o=e,c=n,c=ei(wn.isExportAssignment(o)?o.expression:o.right,c),ii(o,void 0,c,!1),c;case 262:return i=n,i=hi((a=e).parent.symbol,i),ii(a,void 0,i,!1),i;case 292:return pi(e.name,901119,!0,n);case 291:return s=n,ei(e.initializer,s);case 205:case 204:var t=e,r=n;return wn.isBinaryExpression(t.parent)&&t.parent.left===t&&63===t.parent.operatorToken.kind?ei(t.parent.right,r):void 0;default:return wn.Debug.fail()}var a,i,o,s,c,l,d,u,p}function ti(e,n){return void 0===n&&(n=901119),e&&(2097152==(e.flags&(2097152|n))||2097152&e.flags&&67108864&e.flags)}function ri(e,n){return!n&&ti(e)?ai(e):e}function ai(e){wn.Debug.assert(0!=(2097152&e.flags),"Should only get Alias here.");var n=Na(e);if(n.target)n.target===qn&&(n.target=Jn);else{n.target=qn;var t=Ka(e);if(!t)return wn.Debug.fail();var r=ni(t);n.target===qn?n.target=r||Jn:fa(t,wn.Diagnostics.Circular_definition_of_import_alias_0,so(e))}return n.target}function ii(e,n,t,r){var a;if(e&&!wn.isPropertyAccessExpression(e))return a=Ii(e),wn.isTypeOnlyImportOrExportDeclaration(e)?(Na(a).typeOnlyDeclaration=e,1):oi(e=Na(a),n,r)||oi(e,t,r)}function oi(e,n,t){return n&&(void 0===e.typeOnlyDeclaration||t&&!1===e.typeOnlyDeclaration)&&(n=(t=null!=(t=null==(t=n.exports)?void 0:t.get("export="))?t:n).declarations&&wn.find(t.declarations,wn.isTypeOnlyImportOrExportDeclaration),e.typeOnlyDeclaration=null!=(n=null!=n?n:Na(t).typeOnlyDeclaration)&&n),!!e.typeOnlyDeclaration}function si(e){if(2097152&e.flags)return Na(e).typeOnlyDeclaration||void 0}function ci(e){e=Ii(e);var n=ai(e);n&&(n===Jn||111551&n.flags&&!sx(n)&&!si(e))&&li(e)}function li(e){var n=Na(e);if(!n.referenced){if(n.referenced=!0,n=Ka(e),!n)return wn.Debug.fail();wn.isInternalModuleImportEqualsDeclaration(n)&&((e=ri(e))===Jn||111551&e.flags)&&nE(n.moduleReference)}}function di(e,n){return 79===(e=79===e.kind&&wn.isRightSideOfQualifiedNameOrPropertyAccess(e)?e.parent:e).kind||159===e.parent.kind?pi(e,1920,!1,n):(wn.Debug.assert(263===e.parent.kind),pi(e,901119,!1,n))}function ui(e,n){return e.parent?ui(e.parent,n)+"."+so(e):so(e,n,void 0,20)}function pi(e,n,t,r,a){if(!wn.nodeIsMissing(e)){var i=1920|(wn.isInJSFile(e)?111551&n:0);if(79===e.kind){var o=n===i||wn.nodeIsSynthesized(e)?wn.Diagnostics.Cannot_find_namespace_0:Gf(wn.getFirstIdentifier(e)),s=wn.isInJSFile(e)&&!wn.nodeIsSynthesized(e)?((e,n)=>{if(Cd(e.parent)){var t=(e=>{var n=wn.findAncestor(e,(function(e){return wn.isJSDocNode(e)||4194304&e.flags?wn.isJSDocTypeAlias(e):"quit"}));if(!n){if(n=wn.getJSDocHost(e),n&&wn.isExpressionStatement(n)&&wn.isBinaryExpression(n.expression)&&3===wn.getAssignmentDeclarationKind(n.expression)&&(t=Ii(n.expression.left)))return mi(t);if(n&&(wn.isObjectLiteralMethod(n)||wn.isPropertyAssignment(n))&&wn.isBinaryExpression(n.parent.parent)&&6===wn.getAssignmentDeclarationKind(n.parent.parent)&&(t=Ii(n.parent.parent.left)))return mi(t);var t;n=wn.getEffectiveJSDocHost(e);if(n&&wn.isFunctionLike(n))return(t=Ii(n))&&t.valueDeclaration}})(e.parent);if(t)return Ma(t,e.escapedText,n,void 0,e,!0)}})(e,n):void 0;if(!(o=Ci(Ma(a||e,e.escapedText,n,t||s?void 0:o,e,!0))))return Ci(s)}else{if(159!==e.kind&&204!==e.kind)throw wn.Debug.assertNever(e,"Unknown entity name kind.");s=159===e.kind?e.left:e.expression;var c=159===e.kind?e.right:e.name;s=pi(s,i,t,!1,a);if(!s||wn.nodeIsMissing(c))return;if(s===Jn)return s;if(!(o=Ci(Oa(xi(s=s.valueDeclaration&&wn.isInJSFile(s.valueDeclaration)&&wn.isVariableDeclaration(s.valueDeclaration)&&s.valueDeclaration.initializer&&$v(s.valueDeclaration.initializer)&&(a=_i(i=s.valueDeclaration.initializer.arguments[0],i))&&(i=hi(a))?i:s),c.escapedText,n))))return void(t||(a=ui(s),i=wn.declarationNameToString(c),(t=zh(c,s))?fa(c,wn.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2,a,i,so(t)):fa(c,wn.Diagnostics.Namespace_0_has_no_exported_member_1,a,i)))}return wn.Debug.assert(0==(1&wn.getCheckFlags(o)),"Should never get an instantiated symbol here."),!wn.nodeIsSynthesized(e)&&wn.isEntityName(e)&&(2097152&o.flags||269===e.parent.kind)&&ii(wn.getAliasDeclarationFromName(e),o,void 0,!0),o.flags&n||r?o:ai(o)}}function mi(e){if(e=e.parent.valueDeclaration,e)return(wn.isAssignmentDeclaration(e)?wn.getAssignedExpandoInitializer(e):wn.hasOnlyExpressionInitializer(e)?wn.getDeclaredExpandoInitializer(e):void 0)||e}function _i(e,n,t){var r=wn.getEmitModuleResolutionKind(v)===wn.ModuleResolutionKind.Classic?wn.Diagnostics.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option:wn.Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations;return fi(e,n,t?void 0:r)}function fi(e,n,t,r){return void 0===r&&(r=!1),wn.isStringLiteralLike(n)?gi(e,n.text,t,n,r):void 0}function gi(n,t,r,a,i){void 0===i&&(i=!1),wn.startsWith(t,"@types/")&&fa(a,s=wn.Diagnostics.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1,wn.removePrefix(t,"@types/"),t);var o=Rl(t,!0);if(o)return o;o=wn.getSourceFileOfNode(n),n=wn.getResolvedModule(o,t),o=n&&wn.getResolutionDiagnostic(v,n);var s,c=n&&!o&&e.getSourceFile(n.resolvedFileName);if(c)return c.symbol?(n.isExternalLibraryImport&&!wn.resolutionExtensionIsTSOrJson(n.extension)&&yi(!1,a,n,t),Ci(c.symbol)):void(r&&fa(a,wn.Diagnostics.File_0_is_not_a_module,c.fileName));if(Ie){c=wn.findBestPatternMatch(Ie,(function(e){return e.pattern}),t);if(c)return Ci(Ne&&Ne.get(t)||c.symbol)}if(n&&!wn.resolutionExtensionIsTSOrJson(n.extension)&&void 0===o||o===wn.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type)i?fa(a,s=wn.Diagnostics.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented,t,n.resolvedFileName):yi(C&&!!r,a,n,t);else if(r){if(n&&(c=e.getProjectReferenceRedirect(n.resolvedFileName),c))return void fa(a,wn.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,c,n.resolvedFileName);o?fa(a,o,t,n.resolvedFileName):(i=wn.tryExtractTSExtension(t))?(s=wn.Diagnostics.An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead,c=wn.removeExtension(t,i),wn.getEmitModuleKind(v)>=wn.ModuleKind.ES2015&&(c+=".js"),fa(a,s,i,c)):!v.resolveJsonModule&&wn.fileExtensionIs(t,".json")&&wn.getEmitModuleResolutionKind(v)===wn.ModuleResolutionKind.NodeJs&&wn.hasJsonModuleEmitEnabled(v)?fa(a,wn.Diagnostics.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,t):fa(a,r,t)}}function yi(e,n,t,r){var a=t.packageId,i=(t=t.resolvedFileName,!wn.isExternalModuleNameRelative(r)&&a?(i=a.name,s().has(wn.getTypesPackageName(i))?wn.chainDiagnosticMessages(void 0,wn.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,a.name,wn.mangleScopedPackageName(a.name)):wn.chainDiagnosticMessages(void 0,wn.Diagnostics.Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,r,wn.mangleScopedPackageName(a.name))):void 0);ya(e,n,wn.chainDiagnosticMessages(i,wn.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,r,t))}function hi(e,n){if(null!=e&&e.exports)return n=((e,n)=>{var t,r;return!e||e===Jn||e===n||1===n.exports.size||2097152&e.flags?e:(t=Na(e)).cjsExportMerged||((r=33554432&e.flags?e:xa(e)).flags=512|r.flags,void 0===r.exports&&(r.exports=wn.createSymbolTable()),n.exports.forEach((function(e,n){"export="!==n&&r.exports.set(n,r.exports.has(n)?La(r.exports.get(n),e):e)})),Na(r).cjsExportMerged=r,t.cjsExportMerged=r)})(Ci(ri(e.exports.get("export="),n)),Ci(e)),Ci(n)||e}function vi(e,n,t,r){var a=hi(e,t);if(!t&&a){if(!(r||1539&a.flags||wn.getDeclarationOfKind(a,300)))return t=E>=wn.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop",fa(n,wn.Diagnostics.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,t),a;if(v.esModuleInterop&&(r=n.parent,wn.isImportDeclaration(r)&&wn.getNamespaceDeclarationNode(r)||wn.isImportCall(r))){t=hs(a),n=yl(t,0);if((n=n&&n.length?n:yl(t,1))&&n.length)return n=Zv(t,a,e),(t=Ea(a.flags,a.escapedName)).declarations=a.declarations?a.declarations.slice():[],t.parent=a.parent,t.target=a,t.originatingImport=r,a.valueDeclaration&&(t.valueDeclaration=a.valueDeclaration),a.constEnumOnlyModule&&(t.constEnumOnlyModule=!0),a.members&&(t.members=new wn.Map(a.members)),a.exports&&(t.exports=new wn.Map(a.exports)),e=jc(n),t.type=zi(t,e.members,wn.emptyArray,wn.emptyArray,e.indexInfos),t}}return a}function bi(e){return void 0!==e.exports.get("export=")}function Ei(e){return Nl(Li(e))}function Ti(e,n){if(n=Li(n),n)return n.get(e)}function Si(e){return!(131068&e.flags||1&wn.getObjectFlags(e)||l_(e)||C_(e))}function xi(e){return 6256&e.flags?sc(e,"resolvedExports"):1536&e.flags?Li(e):e.exports||y}function Li(e){var n=Na(e);return n.resolvedExports||(n.resolvedExports=Ai(e))}function Di(e,n,t,r){n&&n.forEach((function(n,a){var i;"default"!==a&&((i=e.get(a))?t&&r&&i&&ri(i)!==ri(n)&&((i=t.get(a)).exportsWithDuplicate?i.exportsWithDuplicate.push(r):i.exportsWithDuplicate=[r]):(e.set(a,n),t&&r&&t.set(a,{specifierText:wn.getTextOfNode(r.moduleSpecifier)})))}))}function Ai(e){var n=[];return function e(t){if(t&&t.exports&&wn.pushIfUnique(n,t)){var r=new wn.Map(t.exports);if(t=t.exports.get("__export"),t){var a=wn.createSymbolTable(),i=new wn.Map;if(t.declarations)for(var o=0,s=t.declarations;o<s.length;o++){var c=s[o],l=_i(c,c.moduleSpecifier);l=e(l);Di(a,l,i,c)}i.forEach((function(e,n){if(e=e.exportsWithDuplicate,"export="!==n&&e&&e.length&&!r.has(n))for(var t=0,a=e;t<a.length;t++){var o=a[t];Pr.add(wn.createDiagnosticForNode(o,wn.Diagnostics.Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity,i.get(n).specifierText,wn.unescapeLeadingUnderscores(n)))}})),Di(r,a)}return r}}(e=hi(e))||y}function Ci(e){var n;return e&&e.mergeId&&(n=hr[e.mergeId])?n:e}function Ii(e){return Ci(e.symbol&&lc(e.symbol))}function Ni(e){return Ci(e.parent&&lc(e.parent))}function ki(n,t,r){var a,i,o,s=Ni(n);return!s||262144&n.flags?(o=wn.mapDefined(n.declarations,(function(e){return!wn.isAmbientModule(e)&&e.parent&&ao(e.parent)?Ii(e.parent):wn.isClassExpression(e)&&wn.isBinaryExpression(e.parent)&&63===e.parent.operatorToken.kind&&wn.isAccessExpression(e.parent.left)&&wn.isEntityNameExpression(e.parent.left.expression)?wn.isModuleExportsAccessExpression(e.parent.left)||wn.isExportsIdentifier(e.parent.left.expression)?Ii(wn.getSourceFileOfNode(e)):(nE(e.parent.left.expression),ka(e.parent.left.expression).resolvedSymbol):void 0})),wn.length(o)?wn.mapDefined(o,(function(e){return Oi(e,n)?e:void 0})):void 0):(o=wn.mapDefined(s.declarations,(function(e){return s&&Ri(e,s)})),a=t&&((n,t)=>{var r,a=wn.getSourceFileOfNode(t),i=tk(a),o=Na(n);if(o.extendedContainersByFile&&(r=o.extendedContainersByFile.get(i)))return r;if(a&&a.imports){for(var s=0,c=a.imports;s<c.length;s++){var l=c[s];wn.nodeIsSynthesized(l)||(l=_i(t,l,!0))&&Oi(l,n)&&(r=wn.append(r,l))}if(wn.length(r))return(o.extendedContainersByFile||(o.extendedContainersByFile=new wn.Map)).set(i,r),r}if(o.extendedContainers)return o.extendedContainers;for(var d=0,u=e.getSourceFiles();d<u.length;d++){var p=u[d];wn.isExternalModule(p)&&Oi(p=Ii(p),n)&&(r=wn.append(r,p))}return o.extendedContainers=r||wn.emptyArray})(n,t),i=((e,n)=>{if(e=!!wn.length(e.declarations)&&wn.first(e.declarations),111551&n&&e&&e.parent&&wn.isVariableDeclaration(e.parent)&&(wn.isObjectLiteralExpression(e)&&e===e.parent.initializer||wn.isTypeLiteralNode(e)&&e===e.parent.type))return Ii(e.parent)})(s,r),t&&s.flags&qi(r)&&Xi(s,t,1920,!1)?wn.append(wn.concatenate(wn.concatenate([s],o),a),i):(t=!(s.flags&qi(r))&&788968&s.flags&&524288&Hs(s).flags&&111551===r?Ji(t,(function(e){return wn.forEachEntry(e,(function(e){if(e.flags&qi(r)&&hs(e)===Hs(s))return e}))})):void 0,t=eu(eu(t?[t]:[],o,!0),[s],!1),t=wn.append(t,i),wn.addRange(t,a)))}function Ri(e,n){e=to(e);var t=e&&e.exports&&e.exports.get("export=");return t&&Pi(t,n)?e:void 0}function Oi(e,n){var t;return e===Ni(n)?n:(t=e.exports&&e.exports.get("export="))&&Pi(t,n)||(e=(t=xi(e)).get(n.escapedName))&&Pi(e,n)?e:wn.forEachEntry(t,(function(e){if(Pi(e,n))return e}))}function Pi(e,n){if(Ci(ri(Ci(e)))===Ci(ri(Ci(n))))return e}function wi(e){return Ci(e&&0!=(1048576&e.flags)?e.exportSymbol:e)}function Mi(e){return 111551&e.flags||2097152&e.flags&&111551&ai(e).flags&&!si(e)}function Fi(e){for(var n=0,t=e.members;n<t.length;n++){var r=t[n];if(169===r.kind&&wn.nodeIsPresent(r.body))return r}}function Gi(e){return e=new l(Le,e),u++,e.id=u,n&&null!=wn.tracing&&wn.tracing.recordType(e),e}function Bi(e){return new l(Le,e)}function Ui(e,n,t){return void 0===t&&(t=0),e=Gi(e),e.intrinsicName=n,e.objectFlags=t,e}function Vi(e,n){var t=Gi(524288);return t.objectFlags=e,t.symbol=n,t.members=void 0,t.properties=void 0,t.callSignatures=void 0,t.constructSignatures=void 0,t.indexInfos=void 0,t}function ji(e){var n=Gi(262144);return e&&(n.symbol=e),n}function Ki(e){return 95===e.charCodeAt(0)&&95===e.charCodeAt(1)&&95!==e.charCodeAt(2)&&64!==e.charCodeAt(2)&&35!==e.charCodeAt(2)}function Hi(e){var n;return e.forEach((function(e,t){!Ki(t)&&Mi(e)&&(n=n||[]).push(e)})),n||wn.emptyArray}function Wi(e,n,t,r,a){return e.members=n,e.properties=wn.emptyArray,e.callSignatures=t,e.constructSignatures=r,e.indexInfos=a,n!==y&&(e.properties=Hi(n)),e}function zi(e,n,t,r,a){return Wi(Vi(16,e),n,t,r,a)}function Ji(e,n){for(var t,r=e;r;r=r.parent){var a=(e=>{if(e.locals&&!Ra(e)&&(t=n(e.locals,void 0,!0,e)))return{value:t};switch(e.kind){case 300:if(!wn.isExternalOrCommonJsModule(e))break;case 259:var r=Ii(e);if(t=n((null==r?void 0:r.exports)||y,void 0,!0,e))return{value:t};break;case 255:case 224:case 256:var a;if((Ii(e).members||y).forEach((function(e,n){788968&e.flags&&(a=a||wn.createSymbolTable()).set(n,e)})),a&&(t=n(a,void 0,!1,e)))return{value:t}}})(r);if("object"==typeof a)return a.value}return n(be,void 0,!0)}function qi(e){return 111551===e?111551:1920}function Xi(e,n,t,r,a){var i,o,s,c;if(void 0===a&&(a=new wn.Map),e&&!(e=>{if(e.declarations&&e.declarations.length){for(var n=0,t=e.declarations;n<t.length;n++)switch(t[n].kind){case 165:case 167:case 170:case 171:continue;default:return}return 1}})(e))return i=(i=Na(e)).accessibleChainCache||(i.accessibleChainCache=new wn.Map),o=Ji(n,(function(e,n,t,r){return r})),o=(r?0:1)+"|"+(o&&tk(o))+"|"+t,i.has(o)?i.get(o):(c=rk(e),(s=a.get(c))||a.set(c,s=[]),c=Ji(n,l),i.set(o,c),c);function l(t,a,i){if(wn.pushIfUnique(s,t))return t=((t,a,i)=>u(t.get(e.escapedName),void 0,a)?[e]:wn.forEachEntry(t,(function(t){if(2097152&t.flags&&"export="!==t.escapedName&&"default"!==t.escapedName&&!(wn.isUMDExportSymbol(t)&&n&&wn.isExternalModule(wn.getSourceFileOfNode(n)))&&(!r||wn.some(t.declarations,wn.isExternalModuleImportEqualsDeclaration))&&(!i||!wn.some(t.declarations,wn.isNamespaceReexportDeclaration))&&(a||!wn.getDeclarationOfKind(t,273))){var o=p(t,ai(t),a);if(o)return o}if(t.escapedName===e.escapedName&&t.exportSymbol&&u(Ci(t.exportSymbol),void 0,a))return[e]}))||(t===be?p(Te,Te,a):void 0))(t,a,i),s.pop(),t}function d(e,t){return!Yi(e,n,t)||!!Xi(e.parent,n,qi(t),r,a)}function u(n,r,a){return(e===(r||n)||Ci(e)===Ci(r||n))&&!wn.some(n.declarations,ao)&&(a||d(Ci(n),t))}function p(e,n,r){return u(e,n,r)?[e]:(n=(r=xi(n))&&l(r,!0))&&d(e,qi(t))?[e].concat(n):void 0}}function Yi(e,n,t){var r=!1;return Ji(n,(function(n){return n=Ci(n.get(e.escapedName)),!!n&&(n===e||!!((2097152&n.flags&&!wn.getDeclarationOfKind(n,273)?ai(n):n).flags&t)&&(r=!0))})),r}function Qi(e,n){return 0===no(e,n,788968,!1,!0).accessibility}function Zi(e,n){return 0===no(e,n,111551,!1,!0).accessibility}function $i(e,n,t){return 0===no(e,n,t,!1,!1).accessibility}function eo(e,n,t,r){return no(e,n,t,r,!0)}function no(e,n,t,r,a){return e&&n?(r=function e(n,t,r,a,i,o){if(wn.length(n)){for(var s=!1,c=0,l=n;c<l.length;c++){var d=l[c];if(u=Xi(d,t,a,!1)){var u,p=d;if(u=io(u[0],i))return u}if(o&&wn.some(d.declarations,ao)){if(i){s=!0;continue}return{accessibility:0}}if(u=e(ki(d,t,a),t,r,r===d?qi(a):a,i,o))return u}return s?{accessibility:0}:p?{accessibility:1,errorSymbolName:so(r,t,a),errorModuleName:p!==r?so(p,t,1920):void 0}:void 0}}([e],n,e,t,r,a),r||(a=wn.forEach(e.declarations,to),a&&a!==to(n)?{accessibility:2,errorSymbolName:so(e,n,t),errorModuleName:so(a),errorNode:wn.isInJSFile(n)?n:void 0}:{accessibility:1,errorSymbolName:so(e,n,t)})):{accessibility:0}}function to(e){return e=wn.findAncestor(e,ro),e&&Ii(e)}function ro(e){return wn.isAmbientModule(e)||300===e.kind&&wn.isExternalOrCommonJsModule(e)}function ao(e){return wn.isModuleWithStringLiteralName(e)||300===e.kind&&wn.isExternalOrCommonJsModule(e)}function io(e,n){var t;if(wn.every(wn.filter(e.declarations,(function(e){return 79!==e.kind})),(function(n){if(To(n))return!0;var t=ja(n);return t&&!wn.hasSyntacticModifier(t,1)&&To(t.parent)?r(n,t):wn.isVariableDeclaration(n)&&wn.isVariableStatement(n.parent.parent)&&!wn.hasSyntacticModifier(n.parent.parent,1)&&To(n.parent.parent.parent)?r(n,n.parent.parent):wn.isLateVisibilityPaintedStatement(n)&&!wn.hasSyntacticModifier(n,1)&&To(n.parent)?r(n,n):!!(2097152&e.flags&&wn.isBindingElement(n)&&wn.isInJSFile(n)&&null!=(t=n.parent)&&t.parent&&wn.isVariableDeclaration(n.parent.parent)&&null!=(t=n.parent.parent.parent)&&t.parent&&wn.isVariableStatement(n.parent.parent.parent.parent)&&!wn.hasSyntacticModifier(n.parent.parent.parent.parent,1)&&n.parent.parent.parent.parent.parent&&To(n.parent.parent.parent.parent.parent))&&r(n,n.parent.parent.parent.parent)})))return{accessibility:0,aliasesToMakeVisible:t};function r(e,r){return n&&(ka(e).isVisible=!0,t=wn.appendIfUnique(t,r)),!0}}function oo(e,n){var t=179===e.parent.kind||wn.isExpressionWithTypeArgumentsInClassExtendsClause(e.parent)||160===e.parent.kind?1160127:159===e.kind||204===e.kind||263===e.parent.kind?1920:788968;e=wn.getFirstIdentifier(e),n=Ma(n,e.escapedText,t,void 0,void 0,!1);return n&&262144&n.flags&&788968&t?{accessibility:0}:n&&io(n,!0)||{accessibility:1,errorSymbolName:wn.getTextOfNode(e),errorNode:e}}function so(e,n,t,r,a){var i=70221824,o=(2&(r=void 0===r?4:r)&&(i|=128),1&r&&(i|=512),8&r&&(i|=16384),16&r&&(i|=134217728),4&r?U.symbolToExpression:U.symbolToEntityName);return a?s(a).getText():wn.usingSingleLineStringWriter(s);function s(r){var a=o(e,t,n,i),s=300===(null==n?void 0:n.kind)?wn.createPrinter({removeComments:!0,neverAsciiEscape:!0}):wn.createPrinter({removeComments:!0}),c=n&&wn.getSourceFileOfNode(n);return s.writeNode(4,a,c,r),r}}function co(e,n,t,r,a){return void 0===t&&(t=0),a?i(a).getText():wn.usingSingleLineStringWriter(i);function i(a){var i=262144&t?1===r?178:177:1===r?173:172,o=(i=U.signatureToSignatureDeclaration(e,i,n,70222336|_o(t)),wn.createPrinter({removeComments:!0,omitTrailingSemicolon:!0})),s=n&&wn.getSourceFileOfNode(n);return o.writeNode(4,i,s,wn.getTrailingSemicolonDeferringWriter(a)),a}}function lo(e,n,t,r){void 0===t&&(t=1064960),void 0===r&&(r=wn.createTextWriter(""));var a=v.noErrorTruncation||1&t;e=U.typeToTypeNode(e,n,70221824|_o(t)|(a?1:0),r);return void 0===e?wn.Debug.fail("should always get typenode"):(t=wn.createPrinter({removeComments:!0}),n=n&&wn.getSourceFileOfNode(n),t.writeNode(4,e,n,r),t=r.getText(),(e=a?2*wn.noTruncationMaximumTruncationLength:2*wn.defaultMaximumTruncationLength)&&t&&t.length>=e?t.substr(0,e-"...".length)+"...":t)}function uo(e,n){var t=mo(e.symbol)?lo(e,e.symbol.valueDeclaration):lo(e),r=mo(n.symbol)?lo(n,n.symbol.valueDeclaration):lo(n);return t===r&&(t=po(e),r=po(n)),[t,r]}function po(e){return lo(e,void 0,64)}function mo(e){return e&&e.valueDeclaration&&wn.isExpression(e.valueDeclaration)&&!lm(e.valueDeclaration)}function _o(e){return 814775659&(void 0===e?0:e)}function fo(e){return e.symbol&&32&e.symbol.flags&&(e===Ms(e.symbol)||524288&e.flags&&16777216&wn.getObjectFlags(e))}function go(e,n,t,r){return void 0===t&&(t=16384),r?a(r).getText():wn.usingSingleLineStringWriter(a);function a(r){var a=wn.factory.createTypePredicateNode(2===e.kind||3===e.kind?wn.factory.createToken(128):void 0,1===e.kind||3===e.kind?wn.factory.createIdentifier(e.parameterName):wn.factory.createThisTypeNode(),e.type&&U.typeToTypeNode(e.type,n,70222336|_o(t))),i=wn.createPrinter({removeComments:!0}),o=n&&wn.getSourceFileOfNode(n);return i.writeNode(4,a,o,r),r}}function yo(e){return 8===e?"private":16===e?"protected":"public"}function ho(e){return e&&e.parent&&260===e.parent.kind&&wn.isExternalModuleAugmentation(e.parent.parent)}function vo(e){return 300===e.kind||wn.isAmbientModule(e)}function bo(e,n){var t;e=Na(e).nameType;if(e)return 384&e.flags?(t=""+e.value,wn.isIdentifierText(t,v.target)||Hy(t)?Hy(t)&&wn.startsWith(t,"-")?"["+t+"]":t:'"'+wn.escapeString(t,34)+'"'):8192&e.flags?"["+Eo(e.symbol,n)+"]":void 0}function Eo(e,n){if(n&&"default"===e.escapedName&&!(16384&n.flags)&&(!(16777216&n.flags)||!e.declarations||n.enclosingDeclaration&&wn.findAncestor(e.declarations[0],vo)!==wn.findAncestor(n.enclosingDeclaration,vo)))return"default";if(e.declarations&&e.declarations.length){var t=wn.firstDefined(e.declarations,(function(e){return wn.getNameOfDeclaration(e)?e:void 0})),r=t&&wn.getNameOfDeclaration(t);if(t&&r){if(wn.isCallExpression(t)&&wn.isBindableObjectDefinePropertyCall(t))return wn.symbolName(e);if(wn.isComputedPropertyName(r)&&!(4096&wn.getCheckFlags(e))){var a=Na(e).nameType;if(a&&384&a.flags&&(a=bo(e,n),void 0!==a))return a}return wn.declarationNameToString(r)}if((t=t||e.declarations[0]).parent&&252===t.parent.kind)return wn.declarationNameToString(t.parent.name);switch(t.kind){case 224:case 211:case 212:return!n||n.encounteredError||131072&n.flags||(n.encounteredError=!0),224===t.kind?"(Anonymous class)":"(Anonymous function)"}}return a=bo(e,n),void 0!==a?a:wn.symbolName(e)}function To(e){var n;return!!e&&(void 0===(n=ka(e)).isVisible&&(n.isVisible=!!(()=>{switch(e.kind){case 333:case 340:case 334:return e.parent&&e.parent.parent&&e.parent.parent.parent&&wn.isSourceFile(e.parent.parent.parent);case 201:return To(e.parent.parent);case 252:if(wn.isBindingPattern(e.name)&&!e.name.elements.length)return;case 259:case 255:case 256:case 257:case 254:case 258:case 263:var n;return wn.isExternalModuleAugmentation(e)?1:(n=Ao(e),(1&wn.getCombinedModifierFlags(e)||263!==e.kind&&300!==n.kind&&8388608&n.flags?To:Ra)(n));case 165:case 164:case 170:case 171:case 167:case 166:if(wn.hasEffectiveModifier(e,24))return;case 169:case 173:case 172:case 174:case 162:case 260:case 177:case 178:case 180:case 176:case 181:case 182:case 185:case 186:case 189:case 195:return To(e.parent);case 265:case 266:case 268:return;case 161:case 300:case 262:return 1;default:return}})()),n.isVisible)}function So(e,n){var t,r,a;return e.parent&&269===e.parent.kind?t=Ma(e,e.escapedText,2998271,void 0,e,!1):273===e.parent.kind&&(t=$a(e.parent,2998271)),t&&((a=new wn.Set).add(rk(t)),function e(t){wn.forEach(t,(function(t){var i=ja(t)||t;n?ka(t).isVisible=!0:(r=r||[],wn.pushIfUnique(r,i)),wn.isInternalModuleImportEqualsDeclaration(t)&&(i=t.moduleReference,i=wn.getFirstIdentifier(i),t=Ma(t,i.escapedText,901119,void 0,void 0,!1))&&a&&wn.tryAddToSet(a,rk(t))&&e(t.declarations)}))}(t.declarations)),r}function xo(e,n){var t=Lo(e,n);if(!(0<=t))return mr.push(e),_r.push(!0),fr.push(n),1;for(var r=mr.length,a=t;a<r;a++)_r[a]=!1}function Lo(e,n){for(var t=mr.length-1;0<=t;t--){if(((e,n)=>{switch(n){case 0:return Na(e).type;case 5:return ka(e).resolvedEnumType;case 2:return Na(e).declaredType;case 1:return e.resolvedBaseConstructorType;case 3:return e.resolvedReturnType;case 4:return e.immediateBaseConstraint;case 6:return e.resolvedTypeArguments;case 7:return e.baseTypesResolved}return wn.Debug.assertNever(n)})(mr[t],fr[t]))return-1;if(mr[t]===e&&fr[t]===n)return t}return-1}function Do(){return mr.pop(),fr.pop(),_r.pop()}function Ao(e){return wn.findAncestor(wn.getRootDeclaration(e),(function(e){switch(e.kind){case 252:case 253:case 268:case 267:case 266:case 265:return!1;default:return!0}})).parent}function Co(e,n){return e=gl(e,n),e?hs(e):void 0}function Io(e){return e&&0!=(1&e.flags)}function No(e){var n=Ii(e);return n&&Na(n).type||jo(e,!1)}function ko(e,n,t){if(131072&(e=Eg(e,(function(e){return!(98304&e.flags)}))).flags)return kt;if(1048576&e.flags)return Sg(e,(function(e){return ko(e,n,t)}));var r=gu(wn.map(n,Cu));if(Hu(e)||Wu(r))return 131072&r.flags?e:(fn=fn||Fd("Omit",524288,wn.Diagnostics.Cannot_find_global_type_0),fn?bd(fn,[e,r]):Zn);for(var a=wn.createSymbolTable(),i=0,o=zc(e);i<o.length;i++){var s=o[i];hm(Iu(s,8576),r)||24&wn.getDeclarationModifierFlagsFromSymbol(s)||!bp(s)||a.set(s.escapedName,Ep(s,!1))}return e=zi(t,a,wn.emptyArray,wn.emptyArray,Sl(e)),e.objectFlags|=8388608,e}function Ro(e){return!!(465829888&e.flags)&&jb($c(e)||nt,32768)}function Oo(e){return rg(vg(e,Ro)?Sg(e,(function(e){return 465829888&e.flags?el(e):e})):e,524288)}function Po(e,n){return e=wo(e),e?Kg(e,n):n}function wo(e){var n=(e=>{var n=e.parent.parent;switch(n.kind){case 201:case 291:return wo(n);case 202:return wo(e.parent);case 252:return n.initializer;case 219:return n.right}})(e);if(n&&n.flowNode){var t,r,a=Mo(e);if(a)return a=wn.setTextRange(wn.parseNodeFactory.createStringLiteral(a),e),t=wn.isLeftHandSideExpression(n)?n:wn.parseNodeFactory.createParenthesizedExpression(n),r=wn.setTextRange(wn.parseNodeFactory.createElementAccessExpression(t,a),e),wn.setParent(a,r),wn.setParent(r,e),t!==n&&wn.setParent(t,r),r.flowNode=n.flowNode,r}}function Mo(e){var n=e.parent;return 201===e.kind&&199===n.kind?Fo(e.propertyName||e.name):291===e.kind||292===e.kind?Fo(e.name):""+n.elements.indexOf(e)}function Fo(e){return e=Cu(e),384&e.flags?""+e.value:void 0}function Go(e){var n=e.parent,t=No(n.parent);if(!t||Io(t))return t;if(x&&8388608&e.flags&&wn.isParameterDeclaration(e)?t=U_(t):!x||!n.parent.initializer||65536&tg(pg(n.parent.initializer))||(t=rg(t,524288)),199===n.kind)if(e.dotDotDotToken){if(2&(t=ul(t)).flags||!Yy(t))return fa(e,wn.Diagnostics.Rest_types_may_only_be_created_from_object_types),Zn;for(var r=[],a=0,i=n.elements;a<i.length;a++){var o=i[a];o.dotDotDotToken||r.push(o.propertyName||o.name)}c=ko(t,r,e.symbol)}else var s=e.propertyName||e.name,c=Po(e,Zu(t,Cu(s),32,s));else{s=IT(65|(e.dotDotDotToken?0:128),t,tt,n);var l=n.elements.indexOf(e);c=e.dotDotDotToken?bg(t,C_)?Sg(t,(function(e){return ou(e,l)})):qd(s):m_(t)?Po(e,ep(t,Ap(l),32|(Uy(e)?16:0),e.name)||Zn):s}return e.initializer?wn.getEffectiveTypeAnnotationNode(wn.walkUpBindingElementsAndPatterns(e))?!x||32768&w_(tE(e))?c:Oo(c):rE(e,gu([Oo(c),tE(e)],2)):c}function Bo(e){if(e=wn.getJSDocType(e),e)return Op(e)}function Uo(e){return e=wn.skipParentheses(e),202===e.kind&&0===e.elements.length}function Vo(e,n,t){return void 0===n&&(n=!1),void 0===t&&(t=!0),x&&t?B_(e,n):e}function jo(e,n){if(wn.isVariableDeclaration(e)&&241===e.parent.parent.kind)return 4456448&(t=ku(xh(yE(e.parent.parent.expression)))).flags?Ru(t):ct;if(wn.isVariableDeclaration(e)&&242===e.parent.parent.kind)return CT(e.parent.parent)||Xn;if(wn.isBindingPattern(e.parent))return Go(e);var t=wn.isPropertyDeclaration(e)||wn.isPropertySignature(e),r=(n=n&&(t&&!!e.questionToken||wn.isParameter(e)&&(!!e.questionToken||kl(e))||Pl(e)),is(e));if(r)return Vo(r,t,n);if((C||wn.isInJSFile(e))&&wn.isVariableDeclaration(e)&&!wn.isBindingPattern(e.name)&&!(1&wn.getCombinedModifierFlags(e))&&!(8388608&e.flags)){if(!(2&wn.getCombinedNodeFlags(e)||e.initializer&&(r=e.initializer,104!==(r=wn.skipParentheses(r)).kind)&&(79!==r.kind||Bf(r)!==Ee)))return Yn;if(e.initializer&&Uo(e.initializer))return Ke}if(wn.isParameter(e)){r=e.parent;if(171===r.kind&&ac(r)){var a=wn.getDeclarationOfKind(Ii(e.parent),170);if(a)return a=Gl(a),(i=Jx(r))&&e===i?(wn.Debug.assert(!i.type),hs(a.thisParameter)):zl(a)}if(wn.isInJSFile(e)){var i=wn.getJSDocType(r);if(i&&wn.isFunctionTypeNode(i))return a=Gl(i),i=r.parameters.indexOf(e),(e.dotDotDotToken?mb:ub)(a,i)}if(a="this"===e.symbol.escapedName?dy(r):uy(e))return Vo(a,!1,n)}if(wn.hasOnlyExpressionInitializer(e)&&e.initializer){if(wn.isInJSFile(e)&&!wn.isParameter(e)){i=Xo(e,Ii(e),wn.getDeclaredExpandoInitializer(e));if(i)return i}return Vo(a=rE(e,tE(e)),t,n)}return wn.isPropertyDeclaration(e)&&(C||wn.isInJSFile(e))?wn.hasStaticModifier(e)?(a=(r=wn.filter(e.parent.members,wn.isClassStaticBlockDeclaration)).length?((e,n)=>{for(var t=wn.startsWith(e.escapedName,"__#")?wn.factory.createPrivateIdentifier(e.escapedName.split("@")[1]):wn.unescapeLeadingUnderscores(e.escapedName),r=0,a=n;r<a.length;r++){var i=a[r],o=wn.factory.createPropertyAccessExpression(wn.factory.createThis(),t);i=(wn.setParent(o.expression,o),wn.setParent(o,i),o.flowNode=i.returnFlowNode,Jo(o,e));if(!C||i!==Yn&&i!==Ke||fa(e.valueDeclaration,wn.Diagnostics.Member_0_implicitly_has_an_1_type,so(e),lo(i)),!bg(i,Sh))return gT(i)}})(e.symbol,r):2&wn.getEffectiveModifierFlags(e)?t_(e.symbol):void 0)&&Vo(a,!0,n):(a=(i=Fi(e.parent))?zo(e.symbol,i):2&wn.getEffectiveModifierFlags(e)?t_(e.symbol):void 0)&&Vo(a,!0,n):wn.isJsxAttribute(e)?mt:wn.isBindingPattern(e.name)?es(e.name,!1,!0):void 0}function Ko(e){var n;return!(!e.valueDeclaration||!wn.isBinaryExpression(e.valueDeclaration))&&(void 0===(n=Na(e)).isConstructorDeclaredProperty&&(n.isConstructorDeclaredProperty=!1,n.isConstructorDeclaredProperty=!!Wo(e)&&wn.every(e.declarations,(function(n){return wn.isBinaryExpression(n)&&vy(n)&&(205!==n.left.kind||wn.isStringOrNumericLiteralLike(n.left.argumentExpression))&&!Yo(void 0,n,e,n)}))),n.isConstructorDeclaredProperty)}function Ho(e){return e=e.valueDeclaration,e&&wn.isPropertyDeclaration(e)&&!wn.getEffectiveTypeAnnotationNode(e)&&!e.initializer&&(C||wn.isInJSFile(e))}function Wo(e){if(e.declarations)for(var n=0,t=e.declarations;n<t.length;n++){var r=t[n];r=wn.getThisContainer(r,!1);if(r&&(169===r.kind||Wv(r)))return r}}function zo(e,n){var t=wn.startsWith(e.escapedName,"__#")?wn.factory.createPrivateIdentifier(e.escapedName.split("@")[1]):wn.unescapeLeadingUnderscores(e.escapedName);t=wn.factory.createPropertyAccessExpression(wn.factory.createThis(),t),wn.setParent(t.expression,t),wn.setParent(t,n),t.flowNode=n.returnFlowNode,n=Jo(t,e);return!C||n!==Yn&&n!==Ke||fa(e.valueDeclaration,wn.Diagnostics.Member_0_implicitly_has_an_1_type,so(e),lo(n)),bg(n,Sh)?void 0:gT(n)}function Jo(e,n){return n=(null==n?void 0:n.valueDeclaration)&&(!Ho(n)||2&wn.getEffectiveModifierFlags(n.valueDeclaration))&&t_(n)||tt,Kg(e,Yn,n)}function qo(e,n){var t=wn.getAssignedExpandoInitializer(e.valueDeclaration);if(t)return(r=wn.getJSDocTypeTag(t))&&r.typeExpression?Op(r.typeExpression):e.valueDeclaration&&Xo(e.valueDeclaration,e,t)||x_(nE(t));var r,a,i=!1,o=!1;if(!(_=Ko(e)?zo(e,Wo(e)):_)){var s=void 0;if(e.declarations){for(var c=void 0,l=0,d=e.declarations;l<d.length;l++){var u,p=d[l],m=wn.isBinaryExpression(p)||wn.isCallExpression(p)?p:wn.isAccessExpression(p)?wn.isBinaryExpression(p.parent)?p.parent:p:void 0;!m||((4===(u=wn.isAccessExpression(m)?wn.getAssignmentDeclarationPropertyAccessKind(m):wn.getAssignmentDeclarationKind(m))||wn.isBinaryExpression(m)&&vy(m,u))&&(Qo(m)?i=!0:o=!0),c=wn.isCallExpression(m)?c:Yo(c,m,e,p))||(s=s||[]).push(wn.isBinaryExpression(m)||wn.isCallExpression(m)?((e,n,t,r)=>{if(wn.isCallExpression(t)){if(n)return hs(n);var a=nE(t.arguments[2]),i=Co(a,"value");return i||(i=Co(a,"get"),i&&(i=dv(i),i)?zl(i):(i=Co(a,"set"),i&&(a=dv(i),a)?vb(a):Xn))}var o;return((e,n)=>wn.isPropertyAccessExpression(e)&&108===e.expression.kind&&wn.forEachChildRecursively(n,(function(n){return Vf(e,n)})))(t.left,t.right)?Xn:524288&(i=n?hs(n):x_(nE(t.right))).flags&&2===r&&"export="===e.escapedName?(a=jc(i),o=wn.createSymbolTable(),wn.copyEntries(a.members,o),r=o.size,n&&!n.exports&&(n.exports=wn.createSymbolTable()),(n||e).exports.forEach((function(e,n){var t,r,a=o.get(n);a&&a!==e?111551&e.flags&&111551&a.flags?(e.valueDeclaration&&a.valueDeclaration&&wn.getSourceFileOfNode(e.valueDeclaration)!==wn.getSourceFileOfNode(a.valueDeclaration)&&(t=wn.unescapeLeadingUnderscores(e.escapedName),r=(null==(r=wn.tryCast(a.valueDeclaration,wn.isNamedDeclaration))?void 0:r.name)||a.valueDeclaration,wn.addRelatedInfo(fa(e.valueDeclaration,wn.Diagnostics.Duplicate_identifier_0,t),wn.createDiagnosticForNode(r,wn.Diagnostics._0_was_also_declared_here,t)),wn.addRelatedInfo(fa(r,wn.Diagnostics.Duplicate_identifier_0,t),wn.createDiagnosticForNode(e.valueDeclaration,wn.Diagnostics._0_was_also_declared_here,t))),(r=Ea(e.flags|a.flags,n)).type=gu([hs(e),hs(a)]),r.valueDeclaration=a.valueDeclaration,r.declarations=wn.concatenate(a.declarations,e.declarations),o.set(n,r)):o.set(n,La(e,a)):o.set(n,e)})),(n=zi(r!==o.size?void 0:a.symbol,o,a.callSignatures,a.constructSignatures,a.indexInfos)).objectFlags|=8192&wn.getObjectFlags(i),n.symbol&&32&n.symbol.flags&&i===Ms(n.symbol)&&(n.objectFlags|=16777216),n):g_(i)?(tf(t,je),je):i})(e,n,m,u):ht)}_=c}if(!_){if(!wn.length(s))return Zn;t=i&&e.declarations?(r=s,a=e.declarations,wn.Debug.assert(r.length===a.length),r.filter((function(e,n){return n=a[n],n=wn.isBinaryExpression(n)?n:wn.isBinaryExpression(n.parent)?n.parent:void 0,n&&Qo(n)}))):void 0,o&&(f=t_(e))&&((t=t||[]).push(f),i=!0);var _=gu(wn.some(t,(function(e){return!!(-98305&e.flags)}))?t:s,2)}}var f=ef(Vo(_,!1,o&&!i));return e.valueDeclaration&&Eg(f,(function(e){return!!(-98305&e.flags)}))===ht?(tf(e.valueDeclaration,Xn),Xn):f}function Xo(e,n,t){var r;if(wn.isInJSFile(e)&&t&&wn.isObjectLiteralExpression(t)&&!t.properties.length){for(var a=wn.createSymbolTable();wn.isBinaryExpression(e)||wn.isPropertyAccessExpression(e);){var i=Ii(e);null!=(r=null==i?void 0:i.exports)&&r.size&&Ca(a,i.exports),e=(wn.isBinaryExpression(e)?e:e.parent).parent}t=Ii(e);var o=(null!=(o=null==t?void 0:t.exports)&&o.size&&Ca(a,t.exports),zi(n,a,wn.emptyArray,wn.emptyArray,wn.emptyArray));return o.objectFlags|=8192,o}}function Yo(e,n,t,r){if(n=wn.getEffectiveTypeAnnotationNode(n.parent),n){if(n=ef(Op(n)),!e)return n;e===Zn||n===Zn||mm(e,n)||hT(void 0,e,r,n)}return null!=(r=t.parent)&&r.valueDeclaration&&(n=wn.getEffectiveTypeAnnotationNode(t.parent.valueDeclaration),n&&(r=gl(Op(n),t.escapedName),r))?vs(r):e}function Qo(e){return e=wn.getThisContainer(e,!1),169===e.kind||254===e.kind||211===e.kind&&!wn.isPrototypePropertyAssignment(e.parent)}function Zo(e,n,t){return e.initializer?Vo(rE(e,tE(e,wn.isBindingPattern(e.name)?es(e.name,!0,!1):nt))):wn.isBindingPattern(e.name)?es(e.name,n,t):(t&&!as(e)&&tf(e,Xn),n?$n:Xn)}function $o(e,n,t){var r,a=e.elements,i=wn.lastOrUndefined(a),o=i&&201===i.kind&&i.dotDotDotToken?i:void 0;return 0===a.length||1===a.length&&o?2<=b?(i=Xn,zd(Hd(!0),[i])):je:(i=wn.map(a,(function(e){return wn.isOmittedExpression(e)?Xn:Zo(e,n,t)})),r=wn.findLastIndex(a,(function(e){return!(e===o||wn.isOmittedExpression(e)||Uy(e))}),a.length-1)+1,i=tu(i,wn.map(a,(function(e,n){return e===o?4:r<=n?2:1}))),n&&((i=fd(i)).pattern=e,i.objectFlags|=262144),i)}function es(e,n,t){return void 0===n&&(n=!1),void 0===t&&(t=!1),199===e.kind?(r=e,a=n,i=t,s=wn.createSymbolTable(),c=262272,wn.forEach(r.elements,(function(e){var n=e.propertyName||e.name;e.dotDotDotToken?o=ad(ct,Xn,!1):ec(n=Cu(n))?(n=ic(n),(n=Ea(4|(e.initializer?16777216:0),n)).type=Zo(e,a,i),n.bindingElement=e,s.set(n.escapedName,n)):c|=512})),(l=zi(void 0,s,wn.emptyArray,wn.emptyArray,o?[o]:wn.emptyArray)).objectFlags|=c,a&&(l.pattern=r,l.objectFlags|=262144),l):$o(e,n,t);var r,a,i,o,s,c,l}function ns(e,n){return rs(jo(e,!0),e,n)}function ts(e){return e=Ii(e),Je=Je||Md("SymbolConstructor",!1),Je&&e&&e===Je}function rs(e,n,t){return e?(4096&e.flags&&ts(n.parent)&&(e=Ip(n)),t&&rf(n,e),ef(e=8192&e.flags&&(wn.isBindingElement(n)||!n.type)&&e.symbol!==Ii(n)?gt:e)):(e=wn.isParameter(n)&&n.dotDotDotToken?je:Xn,t&&!as(n)&&tf(n,e),e)}function as(e){return e=wn.getRootDeclaration(e),PE(162===e.kind?e.parent:e)}function is(e){if(e=wn.getEffectiveTypeAnnotationNode(e),e)return Op(e)}function os(e){var n=Na(e);return n.type||(e=(e=>{var n;if(4194304&e.flags)return(n=Hs(Ni(n=e))).typeParameters?_d(n,wn.map(n.typeParameters,(function(e){return Xn}))):n;if(e===xe)return Xn;if(134217728&e.flags&&e.valueDeclaration)return r=Ii(wn.getSourceFileOfNode(e.valueDeclaration)),(a=Ea(r.flags,"exports")).declarations=r.declarations?r.declarations.slice():[],a.parent=e,(a.target=r).valueDeclaration&&(a.valueDeclaration=r.valueDeclaration),r.members&&(a.members=new wn.Map(r.members)),r.exports&&(a.exports=new wn.Map(r.exports)),(r=wn.createSymbolTable()).set("exports",a),zi(e,r,wn.emptyArray,wn.emptyArray,wn.emptyArray);wn.Debug.assertIsDefined(e.valueDeclaration);var t,r,a=e.valueDeclaration;if(wn.isCatchClauseVariableDeclarationOrBindingElement(a))return void 0===(r=wn.getEffectiveTypeAnnotationNode(a))?N?nt:Xn:Io(r=WS(r))||r===nt?r:Zn;if(wn.isSourceFile(a)&&wn.isJsonSourceFile(a))return a.statements.length?ef(x_(yE(a.statements[0].expression))):kt;if(!xo(e,0))return(512&e.flags&&!(67108864&e.flags)?ms:gs)(e);if(269===a.kind)t=rs(nE(a.expression),a);else if(wn.isBinaryExpression(a)||wn.isInJSFile(a)&&(wn.isCallExpression(a)||(wn.isPropertyAccessExpression(a)||wn.isBindableStaticElementAccessExpression(a))&&wn.isBinaryExpression(a.parent)))t=qo(e);else if(wn.isPropertyAccessExpression(a)||wn.isElementAccessExpression(a)||wn.isIdentifier(a)||wn.isStringLiteralLike(a)||wn.isNumericLiteral(a)||wn.isClassDeclaration(a)||wn.isFunctionDeclaration(a)||wn.isMethodDeclaration(a)&&!wn.isObjectLiteralMethod(a)||wn.isMethodSignature(a)||wn.isSourceFile(a)){if(9136&e.flags)return ms(e);t=wn.isBinaryExpression(a.parent)?qo(e):is(a)||Xn}else if(wn.isPropertyAssignment(a))t=is(a)||sE(a);else if(wn.isJsxAttribute(a))t=is(a)||$y(a);else if(wn.isShorthandPropertyAssignment(a))t=is(a)||oE(a.name,0);else if(wn.isObjectLiteralMethod(a))t=is(a)||cE(a,0);else if(wn.isParameter(a)||wn.isPropertyDeclaration(a)||wn.isPropertySignature(a)||wn.isVariableDeclaration(a)||wn.isBindingElement(a)||wn.isJSDocPropertyLikeTag(a))t=ns(a,!0);else if(wn.isEnumDeclaration(a))t=ms(e);else if(wn.isEnumMember(a))t=_s(e);else{if(!wn.isAccessor(a))return wn.Debug.fail("Unhandled declaration kind! "+wn.Debug.formatSyntaxKind(a.kind)+" for "+wn.Debug.formatSymbol(e));t=us(e)||wn.Debug.fail("Non-write accessor resolution must always produce a type")}return Do()?t:(!(512&e.flags)||67108864&e.flags?gs:ms)(e)})(e),n.type)||(n.type=e),n.type}function ss(e){if(e)return 170===e.kind?wn.getEffectiveReturnTypeNode(e):wn.getEffectiveSetAccessorTypeAnnotationNode(e)}function cs(e){return e=ss(e),e&&Op(e)}function ls(e){var n=Na(e);return n.type||(n.type=ds(e)||wn.Debug.fail("Read type of accessor must always produce a type"))}function ds(e,n){return void 0===n&&(n=!1),xo(e,0)?(n=us(e,n),Do()||(n=Xn,C&&fa(wn.getDeclarationOfKind(e,170),wn.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,so(e))),n):Zn}function us(e,n){void 0===n&&(n=!1);var t=wn.getDeclarationOfKind(e,170),r=wn.getDeclarationOfKind(e,171),a=cs(r);return n&&a?i(a,e):t&&wn.isInJSFile(t)&&(n=Bo(t),n)?i(n,e):(n=cs(t),n?i(n,e):a||(t&&t.body?i(Db(t),e):r?(PE(r)||ya(C,r,wn.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,so(e)),Xn):t?(wn.Debug.assert(!!t,"there must exist a getter as we are current checking either setter or getter in this function"),PE(t)||ya(C,t,wn.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,so(e)),Xn):void 0));function i(e,n){return 1&wn.getCheckFlags(n)?am(e,Na(n).mapper):e}}function ps(e){return e=Rs(Ms(e)),8650752&e.flags?e:2097152&e.flags?wn.find(e.types,(function(e){return!!(8650752&e.flags)})):void 0}function ms(e){var n,t=Na(e),r=t;return t.type||((n=e.valueDeclaration&&Jv(e.valueDeclaration,!1))&&(n=zv(e,n))&&(e=t=n),r.type=t.type=(e=>{var n,t=e.valueDeclaration;return 1536&e.flags&&wn.isShorthandAmbientModuleSymbol(e)?Xn:t&&(219===t.kind||wn.isAccessExpression(t)&&219===t.parent.kind)?qo(e):512&e.flags&&t&&wn.isSourceFile(t)&&t.commonJsModuleIndicator&&(t=hi(e),t!==e)?xo(e,0)?(n=Ci(e.exports.get("export=")),n=qo(n,n===t?void 0:t),Do()?n:gs(e)):Zn:(t=Vi(16,e),32&e.flags?(n=ps(e))?Tu([t,n]):t:x&&16777216&e.flags?B_(t):t)})(e)),t.type}function _s(e){var n=Na(e);return n.type||(n.type=js(e))}function fs(e){var n,t,r,a,i=Na(e);return i.type||(n=ai(e),t=e.declarations&&ni(Ka(e),!0),i.type=null!=t&&t.declarations&&AS(t.declarations)&&e.declarations.length?(t=t,r=wn.getSourceFileOfNode(t.declarations[0]),a=wn.unescapeLeadingUnderscores(t.escapedName),a=(t=t.declarations.every((function(e){return wn.isInJSFile(e)&&wn.isAccessExpression(e)&&wn.isModuleExportsAccessExpression(e.expression)})))?wn.factory.createPropertyAccessExpression(wn.factory.createPropertyAccessExpression(wn.factory.createIdentifier("module"),wn.factory.createIdentifier("exports")),a):wn.factory.createPropertyAccessExpression(wn.factory.createIdentifier("exports"),a),t&&wn.setParent(a.expression.expression,a.expression),wn.setParent(a.expression,a),wn.setParent(a,r),a.flowNode=r.endFlowNode,Kg(a,Yn,tt)):AS(e.declarations)?Yn:111551&n.flags?hs(n):Zn),i.type}function gs(e){var n=e.valueDeclaration;return wn.getEffectiveTypeAnnotationNode(n)?(fa(e.valueDeclaration,wn.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,so(e)),Zn):(C&&(162!==n.kind||n.initializer)&&fa(e.valueDeclaration,wn.Diagnostics._0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer,so(e)),Xn)}function ys(e){return 98304&e.flags&&(t=(t=Na(n=e)).writeType||(t.writeType=ds(n,!0)),t)?t:hs(e);var n,t}function hs(e){var n=wn.getCheckFlags(e);if(65536&n)return(t=Na(t=e)).type||(wn.Debug.assertIsDefined(t.deferralParent),wn.Debug.assertIsDefined(t.deferralConstituents),t.type=(1048576&t.deferralParent.flags?gu:Tu)(t.deferralConstituents)),t.type;if(1&n){var t=e,r=Na(t);if(!r.type){if(!xo(t,0))return r.type=Zn;var a=am(hs(r.target),r.mapper);Do()||(a=gs(t)),r.type=a}return r.type}if(262144&n){if(a=e,!a.type){if(r=a.mappedType,!xo(a,0))return r.containsError=!0,Zn;var o=Pc(r.target||r),s=Jp(r.mapper,kc(r),a.keyType);o=am(o,s),s=x&&16777216&a.flags&&!jb(o,49152)?B_(o,!0):524288&a.checkFlags?J_(o):o;Do()||(fa(i,wn.Diagnostics.Type_of_property_0_circularly_references_itself_in_mapped_type_1,so(a),lo(r)),s=Zn),a.type=s}return a.type}return 8192&n?((s=Na(o=e)).type||(s.type=vf(o.propertyType,o.mappedType,o.constraintType)),s.type):7&e.flags?os(e):9136&e.flags?ms(e):8&e.flags?_s(e):98304&e.flags?ls(e):2097152&e.flags?fs(e):Zn}function vs(e){return W_(hs(e),!!(16777216&e.flags))}function bs(e,n){return void 0!==e&&void 0!==n&&0!=(4&wn.getObjectFlags(e))&&e.target===n}function Es(e){return 4&wn.getObjectFlags(e)?e.target:e}function Ts(e,n){return function e(t){var r;return 7&wn.getObjectFlags(t)?(r=Es(t))===n||wn.some(Ps(r),e):!!(2097152&t.flags)&&wn.some(t.types,e)}(e)}function Ss(e,n){for(var t=0,r=n;t<r.length;t++){var a=r[t];e=wn.appendIfUnique(e,Ks(Ii(a)))}return e}function xs(e,n){for(;;){var t;if((e=e.parent)&&wn.isBinaryExpression(e)&&(6!==(t=wn.getAssignmentDeclarationKind(e))&&3!==t||(t=Ii(e.left))&&t.parent&&!wn.findAncestor(t.parent.valueDeclaration,(function(n){return e===n}))&&(e=t.parent.valueDeclaration)),!e)return;switch(e.kind){case 255:case 224:case 256:case 172:case 173:case 166:case 177:case 178:case 312:case 254:case 167:case 211:case 212:case 257:case 339:case 340:case 334:case 333:case 193:case 187:var r,a=xs(e,n);return 193===e.kind?wn.append(a,Ks(Ii(e.typeParameter))):187===e.kind?wn.concatenate(a,dp(e)):(r=Ss(a,wn.getEffectiveTypeParameterDeclarations(e)),(i=n&&(255===e.kind||224===e.kind||256===e.kind||Wv(e))&&Ms(Ii(e)).thisType)?wn.append(r,i):r);case 335:var i=wn.getParameterSymbolFromJSDoc(e);i&&(e=i.valueDeclaration);break;case 315:return a=xs(e,n),e.tags?Ss(a,wn.flatMap(e.tags,(function(e){return wn.isJSDocTemplateTag(e)?e.typeParameters:void 0}))):a}}}function Ls(e){return e=32&e.flags?e.valueDeclaration:wn.getDeclarationOfKind(e,256),wn.Debug.assert(!!e,"Class was missing valueDeclaration -OR- non-class had no interface declarations"),xs(e)}function Ds(e){if(e.declarations){for(var n=0,t=e.declarations;n<t.length;n++){var r,a=t[n];(256===a.kind||255===a.kind||224===a.kind||Wv(a)||wn.isTypeAlias(a))&&(r=Ss(r,wn.getEffectiveTypeParameterDeclarations(a)))}return r}}function As(e){if(e=hl(e,1),1===e.length){e=e[0];if(!e.typeParameters&&1===e.parameters.length&&ck(e))return Io(e=ob(e.parameters[0]))||p_(e)===Xn}return!1}function Cs(e){return 0<hl(e,1).length||(8650752&e.flags?(e=$c(e))&&As(e):void 0)}function Is(e){return wn.getEffectiveBaseTypeNode(e.symbol.valueDeclaration)}function Ns(e,n,t){var r=wn.length(n),a=wn.isInJSFile(t);return wn.filter(hl(e,1),(function(e){return(a||r>=Ml(e.typeParameters))&&r<=wn.length(e.typeParameters)}))}function ks(e,n,t){e=Ns(e,n,t);var r=wn.map(n,Op);return wn.sameMap(e,(function(e){return wn.some(e.typeParameters)?Yl(e,r,wn.isInJSFile(t)):e}))}function Rs(e){if(!e.resolvedBaseConstructorType){var n=e.symbol.valueDeclaration,t=(n=wn.getEffectiveBaseTypeNode(n),Is(e));if(!t)return e.resolvedBaseConstructorType=tt;if(!xo(e,1))return Zn;var r,a=yE(t.expression);if(n&&t!==n&&(wn.Debug.assert(!n.typeArguments),yE(n.expression)),2621440&a.flags&&jc(a),!Do())return fa(e.symbol.valueDeclaration,wn.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,so(e.symbol)),e.resolvedBaseConstructorType=Zn;if(!(1&a.flags||a===st||Cs(a)))return n=fa(t.expression,wn.Diagnostics.Type_0_is_not_a_constructor_function_type,lo(a)),262144&a.flags&&(t=ld(a),r=nt,t&&(t=hl(t,1))[0]&&(r=zl(t[0])),a.symbol.declarations)&&wn.addRelatedInfo(n,wn.createDiagnosticForNode(a.symbol.declarations[0],wn.Diagnostics.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,so(a.symbol),lo(r))),e.resolvedBaseConstructorType=Zn;e.resolvedBaseConstructorType=a}return e.resolvedBaseConstructorType}function Os(e,n){fa(e,wn.Diagnostics.Type_0_recursively_references_itself_as_a_base_type,lo(n,void 0,2))}function Ps(e){if(!e.baseTypesResolved){if(xo(e,7)){if(8&e.objectFlags)e.resolvedBaseTypes=[(p=e,qd(gu(wn.sameMap(p.typeParameters,(function(e,n){return 8&p.elementFlags[n]?Zu(e,lt):e}))||wn.emptyArray),p.readonly))];else if(96&e.symbol.flags){if(32&e.symbol.flags&&(e=>{e.resolvedBaseTypes=wn.resolvingEmptyArray;var n=ol(Rs(e));if(!(2621441&n.flags))return e.resolvedBaseTypes=wn.emptyArray;var t,r=Is(e),a=n.symbol?Hs(n.symbol):void 0;if(n.symbol&&32&n.symbol.flags&&(e=>{var n,t=e.outerTypeParameters;return!t||(n=t.length-1,e=yd(e),t[n].symbol!==e[n].symbol)})(a))t=vd(r,n.symbol);else if(1&n.flags)t=n;else{if(a=ks(n,r.typeArguments,r),!a.length)return fa(r.expression,wn.Diagnostics.No_base_constructor_has_the_specified_number_of_type_arguments),e.resolvedBaseTypes=wn.emptyArray;t=zl(a[0])}t===Zn?e.resolvedBaseTypes=wn.emptyArray:ws(n=ul(t))?e===n||Ts(n,e)?(fa(e.symbol.valueDeclaration,wn.Diagnostics.Type_0_recursively_references_itself_as_a_base_type,lo(e,void 0,2)),e.resolvedBaseTypes=wn.emptyArray):(e.resolvedBaseTypes===wn.resolvingEmptyArray&&(e.members=void 0),e.resolvedBaseTypes=[n]):(a=fl(void 0,t),t=wn.chainDiagnosticMessages(a,wn.Diagnostics.Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members,lo(n)),Pr.add(wn.createDiagnosticForNodeFromMessageChain(r.expression,t)),e.resolvedBaseTypes=wn.emptyArray)})(e),64&e.symbol.flags){var n=e;if(n.resolvedBaseTypes=n.resolvedBaseTypes||wn.emptyArray,n.symbol.declarations)for(var t=0,r=n.symbol.declarations;t<r.length;t++){var a=r[t];if(256===a.kind&&wn.getInterfaceBaseTypeNodes(a))for(var i=0,o=wn.getInterfaceBaseTypeNodes(a);i<o.length;i++){var s=o[i],c=ul(Op(s));c!==Zn&&(ws(c)?n===c||Ts(c,n)?Os(a,n):n.resolvedBaseTypes===wn.emptyArray?n.resolvedBaseTypes=[c]:n.resolvedBaseTypes.push(c):fa(s,wn.Diagnostics.An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members))}}}}else wn.Debug.fail("type must be class or interface");if(!Do()&&e.symbol.declarations)for(var l=0,d=e.symbol.declarations;l<d.length;l++){var u=d[l];255!==u.kind&&256!==u.kind||Os(u,e)}}e.baseTypesResolved=!0}var p;return e.resolvedBaseTypes}function ws(e){if(262144&e.flags){var n=$c(e);if(n)return ws(n)}return!!(67633153&e.flags&&!Vc(e)||2097152&e.flags&&wn.every(e.types,ws))}function Ms(e){var n,t,r,a,i=Na(e),o=i;return!i.declaredType&&(n=32&e.flags?1:2,(a=zv(e,e.valueDeclaration&&((a=(null==(a=null==(a=null==(a=(a=e.valueDeclaration)&&Jv(a,!0))?void 0:a.exports)?void 0:a.get("prototype"))?void 0:a.valueDeclaration)&&(e=>{if(!e.parent)return!1;for(var n=e.parent;n&&204===n.kind;)n=n.parent;return n&&wn.isBinaryExpression(n)&&wn.isPrototypeAccess(n.left)&&63===n.operatorToken.kind?(e=wn.getInitializerOfBinaryExpression(n),wn.isObjectLiteralExpression(e)&&e):void 0})(a.valueDeclaration))?Ii(a):void 0)))&&(e=i=a),o=o.declaredType=i.declaredType=Vi(n,e),t=Ls(e),r=Ds(e),t||r||1==n||!(e=>{if(e.declarations)for(var n=0,t=e.declarations;n<t.length;n++){var r=t[n];if(256===r.kind){if(128&r.flags)return;if(r=wn.getInterfaceBaseTypeNodes(r),r)for(var a=0,i=r;a<i.length;a++){var o=i[a];if(wn.isEntityNameExpression(o.expression)&&(o=pi(o.expression,788968,!0),!o||!(64&o.flags)||Ms(o).thisType))return}}}return 1})(e))&&(o.objectFlags|=4,o.typeParameters=wn.concatenate(t,r),o.outerTypeParameters=t,o.localTypeParameters=r,o.instantiations=new wn.Map,o.instantiations.set(ud(o.typeParameters),o),(o.target=o).resolvedTypeArguments=o.typeParameters,o.thisType=ji(e),o.thisType.isThisType=!0,o.thisType.constraint=o),i.declaredType}function Fs(e){var n=Na(e);if(!n.declaredType){if(!xo(e,2))return Zn;var t,r=wn.Debug.checkDefined(null==(r=e.declarations)?void 0:r.find(wn.isTypeAlias),"Type alias symbol with no valid declaration found"),a=wn.isJSDocTypeAlias(r)?r.typeExpression:r.type;a=a?Op(a):Zn;Do()?(t=Ds(e))&&(n.typeParameters=t,n.instantiations=new wn.Map,n.instantiations.set(ud(t),a)):(a=Zn,334===r.kind?fa(r.typeExpression.type,wn.Diagnostics.Type_alias_0_circularly_references_itself,so(e)):fa(wn.isNamedDeclaration(r)?r.name:r,wn.Diagnostics.Type_alias_0_circularly_references_itself,so(e))),n.declaredType=a}return n.declaredType}function Gs(e){var n=e.initializer;if(!n)return!(8388608&e.flags);switch(n.kind){case 10:case 8:case 14:return 1;case 217:return 40===n.operator&&8===n.operand.kind;case 79:return wn.nodeIsMissing(n)||Ii(e.parent).exports.get(n.escapedText);case 219:return function e(n){return!!wn.isStringLiteralLike(n)||219===n.kind&&e(n.left)&&e(n.right)}(n);default:return}}function Bs(e){var n=Na(e);if(void 0!==n.enumKind)return n.enumKind;var t=!1;if(e.declarations)for(var r=0,a=e.declarations;r<a.length;r++){var i=a[r];if(258===i.kind)for(var o=0,s=i.members;o<s.length;o++){var c=s[o];if(c.initializer&&wn.isStringLiteralLike(c.initializer))return n.enumKind=1;Gs(c)||(t=!0)}}return n.enumKind=t?0:1}function Us(e){return 1024&e.flags&&!(1048576&e.flags)?Hs(Ni(e.symbol)):e}function Vs(e){var n,t,r=Na(e);if(r.declaredType)return r.declaredType;if(1===Bs(e)){m++;var a=[];if(e.declarations)for(var i=0,o=e.declarations;i<o.length;i++){var s=o[i];if(258===s.kind)for(var c=0,l=s.members;c<l.length;c++){var d=l[c],u=fx(d),p=Sp((u=void 0!==u?u:0,n=m,t=Ii(d),p=void 0,n=n+("string"==typeof u?"@":"#")+u,p=1024|("string"==typeof u?128:256),In.get(n)||(In.set(n,n=Tp(p,u,t)),n)));Na(Ii(d)).declaredType=p,a.push(xp(p))}}if(a.length)return 1048576&(_=gu(a,1,e,void 0)).flags&&(_.flags|=1024,_.symbol=e),r.declaredType=_}var _=Gi(32);return _.symbol=e,r.declaredType=_}function js(e){var n=Na(e);return n.declaredType||(e=Vs(Ni(e)),n.declaredType)||(n.declaredType=e),n.declaredType}function Ks(e){var n=Na(e);return n.declaredType||(n.declaredType=ji(e))}function Hs(e){return Ws(e)||Zn}function Ws(e){return 96&e.flags?Ms(e):524288&e.flags?Fs(e):262144&e.flags?Ks(e):384&e.flags?Vs(e):8&e.flags?js(e):2097152&e.flags?(n=Na(e=e)).declaredType||(n.declaredType=Hs(ai(e))):void 0;var n}function zs(e){switch(e.kind){case 129:case 153:case 148:case 145:case 156:case 132:case 149:case 146:case 114:case 151:case 142:case 194:return!0;case 181:return zs(e.elementType);case 176:return!e.typeArguments||e.typeArguments.every(zs)}return!1}function Js(e){return e=wn.getEffectiveConstraintOfTypeParameter(e),!e||zs(e)}function qs(e){var n=wn.getEffectiveTypeAnnotationNode(e);return n?zs(n):!wn.hasInitializer(e)}function Xs(e){if(e.declarations&&1===e.declarations.length){var n=e.declarations[0];if(n)switch(n.kind){case 165:case 164:return qs(n);case 167:case 166:case 169:case 170:case 171:return t=n,r=wn.getEffectiveReturnTypeNode(t),a=wn.getEffectiveTypeParameterDeclarations(t),(169===t.kind||!!r&&zs(r))&&t.parameters.every(qs)&&a.every(Js)}}var t,r,a}function Ys(e,n,t){for(var r=wn.createSymbolTable(),a=0,i=e;a<i.length;a++){var o=i[a];r.set(o.escapedName,t&&Xs(o)?o:Yp(o,n))}return r}function Qs(e,n){for(var t=0,r=n;t<r.length;t++){var a=r[t];e.has(a.escapedName)||Zs(a)||e.set(a.escapedName,a)}}function Zs(e){return e.valueDeclaration&&wn.isPrivateIdentifierClassElementDeclaration(e.valueDeclaration)&&wn.isStatic(e.valueDeclaration)}function $s(e){var n,t;return e.declaredProperties||(t=cc(n=e.symbol),e.declaredProperties=Hi(t),e.declaredCallSignatures=wn.emptyArray,e.declaredConstructSignatures=wn.emptyArray,e.declaredIndexInfos=wn.emptyArray,e.declaredCallSignatures=Vl(t.get("__call")),e.declaredConstructSignatures=Vl(t.get("__new")),e.declaredIndexInfos=id(n)),e}function ec(e){return!!(8576&e.flags)}function nc(e){var n;return!(!wn.isComputedPropertyName(e)&&!wn.isElementAccessExpression(e))&&(n=wn.isComputedPropertyName(e)?e.expression:e.argumentExpression,wn.isEntityNameExpression(n))&&ec(wn.isComputedPropertyName(e)?Wy(e):nE(n))}function tc(e){return 95===e.charCodeAt(0)&&95===e.charCodeAt(1)&&64===e.charCodeAt(2)}function rc(e){return e=wn.getNameOfDeclaration(e),!!e&&nc(e)}function ac(e){return!wn.hasDynamicName(e)||rc(e)}function ic(e){return 8192&e.flags?e.escapedName:384&e.flags?wn.escapeLeadingUnderscores(""+e.value):wn.Debug.fail()}function oc(e,n,t,r){wn.Debug.assert(!!r.symbol,"The member is expected to have a symbol.");var a=ka(r);if(!a.resolvedSymbol){a.resolvedSymbol=r.symbol;var i,o,s,c,l=wn.isBinaryExpression(r)?r.left:r.name,d=wn.isElementAccessExpression(l)?nE(l.argumentExpression):Wy(l);if(ec(d))return i=ic(d),o=r.symbol.flags,(s=t.get(i))||t.set(i,s=Ea(0,i,4096)),t=n&&n.get(i),(s.flags&Ta(o)||t)&&(n=t?wn.concatenate(t.declarations,s.declarations):s.declarations,c=!(8192&d.flags)&&wn.unescapeLeadingUnderscores(i)||wn.declarationNameToString(l),wn.forEach(n,(function(e){return fa(wn.getNameOfDeclaration(e)||e,wn.Diagnostics.Property_0_was_also_declared_here,c)})),fa(l||r,wn.Diagnostics.Duplicate_property_0,c),s=Ea(0,i,4096)),s.nameType=d,t=s,n=r,l=o,wn.Debug.assert(!!(4096&wn.getCheckFlags(t)),"Expected a late-bound symbol."),t.flags|=l,(Na(n.symbol).lateSymbol=t).declarations?n.symbol.isReplaceableByMethod||t.declarations.push(n):t.declarations=[n],111551&l&&(t.valueDeclaration&&t.valueDeclaration.kind===n.kind||(t.valueDeclaration=n)),s.parent?wn.Debug.assert(s.parent===e,"Existing symbol parent should match new one"):s.parent=e,a.resolvedSymbol=s}}function sc(e,n){var t,r,a=Na(e);if(!a[n]){for(var i="resolvedExports"===n,o=i?1536&e.flags?Ai(e):e.exports:e.members,s=(a[n]=o||y,wn.createSymbolTable()),c=0,l=e.declarations||wn.emptyArray;c<l.length;c++){var d=l[c];d=wn.getMembersOfDeclaration(d);if(d)for(var u=0,p=d;u<p.length;u++){var m=p[u];i===wn.hasStaticModifier(m)&&rc(m)&&oc(e,o,s,m)}}var _=e.assignmentDeclarationMembers;if(_)for(var f=0,g=wn.arrayFrom(_.values());f<g.length;f++){m=g[f];var h=wn.getAssignmentDeclarationKind(m);i==!(3===h||wn.isBinaryExpression(m)&&vy(m,h)||9===h||6===h)&&rc(m)&&oc(e,o,s,m)}a[n]=(_=s,(null!=(t=o)&&t.size?null!=_&&_.size?(Ca(r=wn.createSymbolTable(),t),Ca(r,_),r):t:_)||y)}return a[n]}function cc(e){return 6256&e.flags?sc(e,"resolvedMembers"):e.members||y}function lc(e){var n,t;return 106500&e.flags&&"__computed"===e.escapedName?(!(n=Na(e)).lateSymbol&&wn.some(e.declarations,rc)&&(t=Ci(e.parent),(wn.some(e.declarations,wn.hasStaticModifier)?xi:cc)(t)),n.lateSymbol||(n.lateSymbol=e)):e}function dc(e,n,t){if(4&wn.getObjectFlags(e)){var r=e.target,a=yd(e);if(wn.length(r.typeParameters)===wn.length(a))return a=_d(r,wn.concatenate(a,[n||r.thisType])),t?ol(a):a}else if(2097152&e.flags)return(r=wn.sameMap(e.types,(function(e){return dc(e,n,t)})))!==e.types?Tu(r):e;return t?ol(e):e}function uc(e,n,t,r){p=wn.rangeEquals(t,r,0,t.length)?(i=n.symbol?cc(n.symbol):wn.createSymbolTable(n.declaredProperties),o=n.declaredCallSignatures,s=n.declaredConstructSignatures,n.declaredIndexInfos):(a=Bp(t,r),i=Ys(n.declaredProperties,a,1===t.length),o=Fp(n.declaredCallSignatures,a),s=Fp(n.declaredConstructSignatures,a),Gp(n.declaredIndexInfos,a));var a,i,o,s;t=Ps(n);if(t.length){Wi(e,i=n.symbol&&i===cc(n.symbol)?wn.createSymbolTable(n.declaredProperties):i,o,s,p);for(var c=wn.lastOrUndefined(r),l=0,d=t;l<d.length;l++)var u=d[l],p=(u=c?dc(am(u,a),c):u,u=(Qs(i,zc(u)),o=wn.concatenate(o,hl(u,0)),s=wn.concatenate(s,hl(u,1)),u!==Xn?Sl(u):[ad(ct,Xn,!1)]),wn.concatenate(p,wn.filter(u,(function(e){return!vl(p,e.keyType)}))))}Wi(e,i,o,s,p)}function pc(e,n,t,r,a,i,o,s){return s=new d(Le,s),s.declaration=e,s.typeParameters=n,s.parameters=r,s.thisParameter=t,s.resolvedReturnType=a,s.resolvedTypePredicate=i,s.minArgumentCount=o,s.resolvedMinArgumentCount=void 0,s.target=void 0,s.mapper=void 0,s.compositeSignatures=void 0,s.compositeKind=void 0,s}function mc(e){var n=pc(e.declaration,e.typeParameters,e.thisParameter,e.parameters,void 0,void 0,e.minArgumentCount,39&e.flags);return n.target=e.target,n.mapper=e.mapper,n.compositeSignatures=e.compositeSignatures,n.compositeKind=e.compositeKind,n}function _c(e,n){return e=mc(e),e.compositeSignatures=n,e.compositeKind=1048576,e.target=void 0,e.mapper=void 0,e}function fc(e,n){if((24&e.flags)===n)return e;e.optionalCallSignatureCache||(e.optionalCallSignatureCache={});var t=8===n?"inner":"outer";return e.optionalCallSignatureCache[t]||(e.optionalCallSignatureCache[t]=((e,n)=>(wn.Debug.assert(8===n||16===n,"An optional call signature can either be for an inner call chain or an outer call chain, but not both."),(e=mc(e)).flags|=n,e))(e,n))}function gc(e,n){if(ck(e)){var t=e.parameters.length-1,r=hs(e.parameters[t]);if(C_(r))return[a(r,t)];if(!n&&1048576&r.flags&&wn.every(r.types,C_))return wn.map(r.types,(function(e){return a(e,t)}))}return[e.parameters];function a(n,t){var r=yd(n),a=n.target.labeledElementDeclarations;r=wn.map(r,(function(r,i){var o=!!a&&sb(a[i])||cb(e,t+i,n);i=n.target.elementFlags[i],o=Ea(1,o,12&i?32768:2&i?16384:0);return o.type=4&i?qd(r):r,o}));return wn.concatenate(e.parameters.slice(0,t),r)}}function yc(e,n,t,r,a){for(var i=0,o=e;i<o.length;i++){var s=o[i];if(s_(s,n,t,r,a,t?gm:_m))return s}}function hc(e){for(var n,t,r=0;r<e.length;r++){if(0===e[r].length)return wn.emptyArray;1<e[r].length&&(t=void 0===t?r:-1);for(var a=0,i=e[r];a<i.length;a++){var o,s,c,l,d=i[a];n&&yc(n,d,!1,!1,!0)||(o=((e,n,t)=>{if(n.typeParameters){if(0<t)return;for(var r=1;r<e.length;r++)if(!yc(e[r],n,!1,!1,!1))return;return[n]}var a;for(r=0;r<e.length;r++){var i=r===t?n:yc(e[r],n,!0,!1,!0);if(!i)return;a=wn.appendIfUnique(a,i)}return a})(e,d,r))&&(s=d,1<o.length&&(l=d.thisParameter,(c=wn.forEach(o,(function(e){return e.thisParameter})))&&(l=X_(c,Tu(wn.mapDefined(o,(function(e){return e.thisParameter&&hs(e.thisParameter)}))))),(s=_c(d,o)).thisParameter=l),(n=n||[]).push(s))}}if(!wn.length(n)&&-1!==t){for(var u=e[void 0!==t?t:0],p=u.slice(),m=function(e){if(e!==u){var n=e[0];if(wn.Debug.assert(!!n,"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass"),!(p=n.typeParameters&&wn.some(p,(function(e){return!!e.typeParameters&&!vc(n.typeParameters,e.typeParameters)}))?void 0:wn.map(p,(function(e){var t,r=n,a=e.typeParameters||r.typeParameters,i=(e.typeParameters&&r.typeParameters&&(t=Bp(r.typeParameters,e.typeParameters)),e.declaration),o=((e,n,t)=>{for(var r,a=_b(e),i=_b(n),o=i<=a?e:n,s=o===e?n:e,c=o===e?a:i,l=gb(e)||gb(n),d=l&&!gb(o),u=new Array(c+(d?1:0)),p=0;p<c;p++){var m=pb(o,p),_=(o===n&&(m=am(m,t)),pb(s,p)||nt),f=(m=(s===n&&(_=am(_,t)),Tu([m,_])),_=l&&!d&&p===c-1,p>=fb(o)&&p>=fb(s)),g=a<=p?void 0:cb(e,p),y=i<=p?void 0:cb(n,p);f=Ea(1|(f&&!_?16777216:0),(g===y?g:g?y?void 0:g:y)||"arg"+p);f.type=_?qd(m):m,u[p]=f}return d&&((r=Ea(1,"args")).type=qd(ub(s,c)),s===n&&(r.type=am(r.type,t)),u[c]=r),u})(e,r,t),s=((e,n,t)=>e&&n?(t=Tu([hs(e),am(hs(n),t)]),X_(e,t)):e||n)(e.thisParameter,r.thisParameter,t),c=Math.max(e.minArgumentCount,r.minArgumentCount);return(i=pc(i,a,s,o,void 0,void 0,c,39&(e.flags|r.flags))).compositeKind=1048576,i.compositeSignatures=wn.concatenate(2097152!==e.compositeKind&&e.compositeSignatures||[e],[r]),t&&(i.mapper=2097152!==e.compositeKind&&e.mapper&&e.compositeSignatures?Wp(e.mapper,t):t),i}))))return"break"}},_=0,f=e;_<f.length;_++)if("break"===m(f[_]))break;n=p}return n||wn.emptyArray}function vc(e,n){if(wn.length(e)===wn.length(n)){if(e&&n)for(var t=Bp(n,e),r=0;r<e.length;r++){var a=e[r],i=n[r];if(a!==i&&!mm(ld(a)||nt,am(ld(i)||nt,t)))return}return 1}}function bc(e){var n=Sl(e[0]);if(n){for(var t=[],r=0,a=n;r<a.length;r++)(n=>{var r=n.keyType;wn.every(e,(function(e){return!!xl(e,r)}))&&t.push(ad(r,gu(wn.map(e,(function(e){return Ll(e,r)}))),wn.some(e,(function(e){return xl(e,r).isReadonly}))))})(a[r]);return t}return wn.emptyArray}function Ec(e,n){return e?n?Tu([e,n]):e:n}function Tc(e){var n=wn.countWhere(e,(function(e){return 0<hl(e,1).length}));e=wn.map(e,As);return 0<n&&n===wn.countWhere(e,(function(e){return e}))&&(n=e.indexOf(!0),e[n]=!1),e}function Sc(e){for(var n,t,r,a=e.types,i=Tc(a),o=wn.countWhere(i,(function(e){return e})),s=function(s){var c,l=e.types[s];i[s]||((c=hl(l,1)).length&&0<o&&(c=wn.map(c,(function(e){var n=mc(e);return n.resolvedReturnType=((e,n,t,r)=>{for(var a=[],i=0;i<n.length;i++)i===r?a.push(e):t[i]&&a.push(zl(hl(n[i],1)[0]));return Tu(a)})(zl(e),a,i,s),n}))),t=xc(t,c)),n=xc(n,hl(l,0)),r=wn.reduceLeft(Sl(l),(function(e,n){return Lc(e,n,!1)}),r)},c=0;c<a.length;c++)s(c);Wi(e,y,n||wn.emptyArray,t||wn.emptyArray,r||wn.emptyArray)}function xc(e,n){for(var t=0,r=n;t<r.length;t++)(n=>{e&&!wn.every(e,(function(e){return!s_(e,n,!1,!1,!1,_m)}))||(e=wn.append(e,n))})(r[t]);return e}function Lc(e,n,t){if(e)for(var r=0;r<e.length;r++){var a=e[r];if(a.keyType===n.keyType)return e[r]=ad(a.keyType,(t?gu:Tu)([a.type,n.type]),t?a.isReadonly||n.isReadonly:a.isReadonly&&n.isReadonly),e}return wn.append(e,n)}function Dc(e){var n,t,r,a,i,o,s,c,l,d=Ci(e.symbol);e.target?(Wi(e,y,wn.emptyArray,wn.emptyArray,wn.emptyArray),Wi(e,n=Ys(Kc(e.target),e.mapper,!1),a=Fp(hl(e.target,0),e.mapper),s=Fp(hl(e.target,1),e.mapper),t=Gp(Sl(e.target),e.mapper))):2048&d.flags?(Wi(e,y,wn.emptyArray,wn.emptyArray,wn.emptyArray),a=Vl((n=cc(d)).get("__call")),s=Vl(n.get("__new")),Wi(e,n,a,s,t=id(d))):(n=y,t=void 0,a=void(d.exports&&(n=xi(d),d===Te)&&(r=new wn.Map,n.forEach((function(e){418&e.flags||r.set(e.escapedName,e)})),n=r)),Wi(e,n,wn.emptyArray,wn.emptyArray,wn.emptyArray),32&d.flags&&(11272192&(i=Rs(Ms(d))).flags?Qs(n=wn.createSymbolTable((l=Hi(c=n),(c=rd(c))?wn.concatenate(l,[c]):l)),zc(i)):i===Xn&&(a=ad(ct,Xn,!1))),(c=rd(n))?t=od(c):(a&&(t=wn.append(t,a)),384&d.flags&&(32&Hs(d).flags||wn.some(e.properties,(function(e){return!!(296&hs(e).flags)})))&&(t=wn.append(t,qt))),Wi(e,n,wn.emptyArray,wn.emptyArray,t||wn.emptyArray),8208&d.flags&&(e.callSignatures=Vl(d)),32&d.flags&&(o=Ms(d),s=d.members?Vl(d.members.get("__constructor")):wn.emptyArray,(s=16&d.flags?wn.addRange(s.slice(),wn.mapDefined(e.callSignatures,(function(e){return Wv(e.declaration)?pc(e.declaration,e.typeParameters,e.thisParameter,e.parameters,o,void 0,e.minArgumentCount,39&e.flags):void 0}))):s).length||(s=(e=>{var n=hl(Rs(e),1),t=!!(r=wn.getClassLikeDeclarationOfSymbol(e.symbol))&&wn.hasSyntacticModifier(r,128);if(0===n.length)return[pc(void 0,e.localTypeParameters,void 0,wn.emptyArray,e,void 0,0,t?4:0)];for(var r=Is(e),a=wn.isInJSFile(r),i=Rd(r),o=wn.length(i),s=[],c=0,l=n;c<l.length;c++){var d=l[c],u=Ml(d.typeParameters),p=wn.length(d.typeParameters);(a||u<=o&&o<=p)&&((p=p?Zl(d,Fl(i,d.typeParameters,u,a)):mc(d)).typeParameters=e.localTypeParameters,p.resolvedReturnType=e,p.flags=t?4|p.flags:-5&p.flags,s.push(p))}return s})(o)),e.constructSignatures=s))}function Ac(e){for(var n,t,r=xl(e.source,ct),a=Gc(e.mappedType),i=!(1&a),o=4&a?0:16777216,s=(a=r?[ad(ct,vf(r.type,e.mappedType,e.constraintType),i&&r.isReadonly)]:wn.emptyArray,wn.createSymbolTable()),c=0,l=zc(e.source);c<l.length;c++){var d,u,p=l[c],m=8192|(i&&Fb(p)?8:0);m=Ea(4|p.flags&o,p.escapedName,m);m.declarations=p.declarations,m.nameType=Na(p).nameType,m.propertyType=hs(p),8388608&e.constraintType.type.flags&&262144&e.constraintType.type.objectType.flags&&262144&e.constraintType.type.indexType.flags?(d=e.constraintType.type.objectType,u=e.mappedType,n=e.constraintType.type,t=d,u=am(u,Bp([n.indexType,n.objectType],[Ap(0),tu([t])])),m.mappedType=u,m.constraintType=ku(d)):(m.mappedType=e.mappedType,m.constraintType=e.constraintType),s.set(p.escapedName,m)}Wi(e,s,wn.emptyArray,wn.emptyArray,a)}function Cc(e){if(4194304&e.flags)return(I_(n=ol(e.type))?su:ku)(n);if(16777216&e.flags){if(e.root.isDistributive){var n=e.checkType,t=Cc(n);if(t!==n)return rm(e,zp(e.root.checkType,t,e.mapper))}return e}return 1048576&e.flags?Sg(e,Cc):2097152&e.flags?Tu(wn.sameMap(e.types,Cc)):e}function Ic(e){return 4096&wn.getCheckFlags(e)}function Nc(e){var n,t=wn.createSymbolTable(),r=(Wi(e,y,wn.emptyArray,wn.emptyArray,wn.emptyArray),kc(e)),a=Rc(e),i=Oc(e.target||e),o=Pc(e.target||e),s=ol(Fc(e)),c=Gc(e),l=k?128:8576;if(Mc(e)){for(var d=0,u=zc(s);d<u.length;d++)f(Iu(u[d],l));if(1&s.flags)f(ct);else for(var p=0,m=Sl(s);p<m.length;p++){var _=m[p];(!k||134217732&_.keyType.flags)&&f(_.keyType)}}else hg(Cc(a),f);function f(a){hg(i?am(i,Jp(e.mapper,r,a)):a,(function(l){var d,u,p,m,_,f,g=a;ec(l)?(d=ic(l),(u=t.get(d))?(u.nameType=gu([u.nameType,l]),u.keyType=gu([u.keyType,g])):(u=ec(g)?gl(s,ic(g)):void 0,m=!!(4&c||!(8&c)&&u&&16777216&u.flags),f=!!(1&c||!(2&c)&&u&&Fb(u)),p=x&&!m&&u&&16777216&u.flags,_=u?Ic(u):0,(m=Ea(4|(m?16777216:0),d,262144|_|(f?8:0)|(p?524288:0))).mappedType=e,m.nameType=l,m.keyType=g,u&&(m.syntheticOrigin=u,m.declarations=i?void 0:u.declarations),t.set(d,m))):(sd(l)||33&l.flags)&&(_=5&l.flags?ct:40&l.flags?lt:l,f=am(o,Jp(e.mapper,r,g)),n=Lc(n,ad(_,f,!!(1&c)),!0))}))}Wi(e,t,wn.emptyArray,wn.emptyArray,n||wn.emptyArray)}function kc(e){return e.typeParameter||(e.typeParameter=Ks(Ii(e.declaration.typeParameter)))}function Rc(e){return e.constraintType||(e.constraintType=qc(kc(e))||Zn)}function Oc(e){return e.declaration.nameType?e.nameType||(e.nameType=am(Op(e.declaration.nameType),e.mapper)):void 0}function Pc(e){return e.templateType||(e.templateType=e.declaration.type?am(Vo(Op(e.declaration.type),!0,!!(4&Gc(e))),e.mapper):Zn)}function wc(e){return wn.getEffectiveConstraintOfTypeParameter(e.declaration.typeParameter)}function Mc(e){return e=wc(e),191===e.kind&&139===e.operator}function Fc(e){var n;return e.modifiersType||(Mc(e)?e.modifiersType=am(Op(wc(e).type),e.mapper):(n=(n=Rc(tp(e.declaration)))&&262144&n.flags?qc(n):n,e.modifiersType=n&&4194304&n.flags?am(n.type,e.mapper):nt)),e.modifiersType}function Gc(e){return e=e.declaration,(e.readonlyToken?40===e.readonlyToken.kind?2:1:0)|(e.questionToken?40===e.questionToken.kind?8:4:0)}function Bc(e){return e=Gc(e),8&e?-1:4&e?1:0}function Uc(e){var n=Bc(e);e=Fc(e);return n||(Vc(e)?Bc(e):0)}function Vc(e){return!!(32&wn.getObjectFlags(e))&&Wu(Rc(e))}function jc(e){var n,t,r,a;return e.members||(524288&e.flags?4&e.objectFlags?(t=$s((n=e).target),r=wn.concatenate(t.typeParameters,[t.thisType]),a=yd(n),uc(n,t,r,a.length===r.length?a:wn.concatenate(a,[n]))):3&e.objectFlags?uc(e,$s(e),wn.emptyArray,wn.emptyArray):1024&e.objectFlags?Ac(e):16&e.objectFlags?Dc(e):32&e.objectFlags&&Nc(e):1048576&e.flags?(t=e,r=hc(wn.map(t.types,(function(e){return e===Re?[Wt]:hl(e,0)}))),a=hc(wn.map(t.types,(function(e){return hl(e,1)}))),n=bc(t.types),Wi(t,y,r,a,n)):2097152&e.flags&&Sc(e)),e}function Kc(e){return 524288&e.flags?jc(e).properties:wn.emptyArray}function Hc(e,n){if(524288&e.flags&&(e=jc(e).members.get(n),e&&Mi(e)))return e}function Wc(e){if(!e.resolvedProperties){for(var n=wn.createSymbolTable(),t=0,r=e.types;t<r.length;t++){for(var a=r[t],i=0,o=zc(a);i<o.length;i++){var s,c=o[i];n.has(c.escapedName)||(s=dl(e,c.escapedName))&&n.set(c.escapedName,s)}if(1048576&e.flags&&0===Sl(a).length)break}e.resolvedProperties=Hi(n)}return e.resolvedProperties}function zc(e){return(3145728&(e=sl(e)).flags?Wc:Kc)(e)}function Jc(e){if(262144&e.flags)return qc(e);if(!(8388608&e.flags))return 16777216&e.flags?nl(n=e)?Zc(n):void 0:$c(e);if(nl(t=e)){var n=Xc(t.indexType);return n&&n!==t.indexType&&(n=ep(t.objectType,n,t.accessFlags),n)?n:(n=Xc(t.objectType))&&n!==t.objectType?ep(n,t.indexType,t.accessFlags):void 0}var t}function qc(e){return nl(e)?ld(e):void 0}function Xc(e){var n=qu(e,!1);return n!==e?n:Jc(e)}function Yc(e){var n,t;return e.resolvedDefaultConstraint||(t=(t=e).resolvedInferredTrueType||(t.resolvedInferredTrueType=t.combinedMapper?am(Op(t.root.node.trueType),t.combinedMapper):cp(t)),n=lp(e),e.resolvedDefaultConstraint=Io(t)?n:Io(n)?t:gu([t,n])),e.resolvedDefaultConstraint}function Qc(e){if(e.root.isDistributive&&e.restrictiveInstantiation!==e){var n=qu(e.checkType,!1);n=n===e.checkType?Jc(n):n;if(n&&n!==e.checkType&&(n=rm(e,zp(e.root.checkType,n,e.mapper)),!(131072&n.flags)))return n}}function Zc(e){return Qc(e)||Yc(e)}function $c(e){var n;return 464781312&e.flags?(n=tl(e))!==Ft&&n!==Gt?n:void 0:4194304&e.flags?Dt:void 0}function el(e){return $c(e)||e}function nl(e){return tl(e)!==Gt}function tl(e){var n;return e.resolvedBaseConstraint||(n=[],e.resolvedBaseConstraint=dc(t(e),e));function t(e){if(!e.immediateBaseConstraint){if(!xo(e,4))return Gt;var t,a,o=void 0;(n.length<10||n.length<50&&!r_(e,n,n.length))&&(n.push(e),o=(e=>{if(262144&e.flags)return d=ld(e),e.isThisType||!d?d:r(d);if(3145728&e.flags){for(var n=e.types,t=[],a=!1,i=0,o=n;i<o.length;i++){var s=o[i],c=r(s);c?(c!==s&&(a=!0),t.push(c)):a=!0}return a?1048576&e.flags&&t.length===n.length?gu(t):2097152&e.flags&&t.length?Tu(t):void 0:e}var l,d;return 4194304&e.flags?Dt:134217728&e.flags?(n=e.types,(l=wn.mapDefined(n,r)).length===n.length?Ou(e.texts,l):ct):268435456&e.flags?(d=r(e.type))?wu(e.symbol,d):ct:8388608&e.flags?(n=r(e.objectType),l=r(e.indexType),(n=n&&l&&ep(n,l,e.accessFlags))&&r(n)):16777216&e.flags?(d=Zc(e))&&r(d):33554432&e.flags?r(e.substitute):e})(qu(e,!1)),n.pop()),Do()||(262144&e.flags&&(t=cd(e))&&(a=fa(t,wn.Diagnostics.Type_parameter_0_has_a_circular_constraint,lo(e)),!i||wn.isNodeDescendantOf(t,i)||wn.isNodeDescendantOf(i,t)||wn.addRelatedInfo(a,wn.createDiagnosticForNode(i,wn.Diagnostics.Circularity_originates_in_type_at_this_location))),o=Gt),e.immediateBaseConstraint=o||Ft}return e.immediateBaseConstraint}function r(e){return e=t(e),e!==Ft&&e!==Gt?e:void 0}}function rl(e){var n;return e.default?e.default===Bt&&(e.default=Gt):e.target?(n=rl(e.target),e.default=n?am(n,e.mapper):Ft):(e.default=Bt,n=(n=e.symbol&&wn.forEach(e.symbol.declarations,(function(e){return wn.isTypeParameterDeclaration(e)&&e.default})))?Op(n):Ft,e.default===Bt&&(e.default=n)),e.default}function al(e){return e=rl(e),e!==Ft&&e!==Gt?e:void 0}function il(e){return e.resolvedApparentType||(e.resolvedApparentType=(e=>{var n=Zp(e);if(n&&!e.declaration.nameType){var t=qc(n);if(t&&(l_(t)||C_(t)))return am(e,zp(n,t,e.mapper))}return e})(e))}function ol(e){var n;e=465829888&e.flags?$c(e)||nt:e;return 32&wn.getObjectFlags(e)?il(e):2097152&e.flags?(n=e).resolvedApparentType||(n.resolvedApparentType=dc(n,n,!0)):402653316&e.flags?Fe:296&e.flags?Ge:2112&e.flags?(n=7<=b,(gn=gn||Gd("BigInt",0,n))||kt):528&e.flags?Be:12288&e.flags?Vd(2<=b):67108864&e.flags?kt:4194304&e.flags?Dt:2&e.flags&&!x?kt:e}function sl(e){return ul(ol(ul(e)))}function cl(e,n,t){for(var r,a,i,o,s,c,l=1048576&e.flags,d=l?0:16777216,u=4,p=0,m=!1,_=0,f=e.types;_<f.length;_++)(L=ol(f[_]))===Zn||131072&L.flags||(o=(x=gl(L,n,t))?wn.getDeclarationModifierFlagsFromSymbol(x):0,x?(l?d|=16777216&x.flags:d&=x.flags,r?x!==r&&((lS(x)||x)===(lS(r)||r)&&-1===o_(r,x,(function(e,n){return e===n?-1:0}))?m=!!r.parent&&!!wn.length(Ds(r.parent)):(a||(a=new wn.Map).set(rk(r),r),s=rk(x),a.has(s)||a.set(s,x))):r=x,p|=(Fb(x)?8:0)|(24&o?0:256)|(16&o?512:0)|(8&o?1024:0)|(32&o?2048:0),vh(x)||(u=2)):l&&((s=!tc(n)&&Cl(L,n))?(p|=32|(s.isReadonly?8:0),i=wn.append(i,C_(L)?k_(L)||tt:s.type)):!kf(L)||4194304&wn.getObjectFlags(L)?p|=16:(p|=32,i=wn.append(i,tt))));if(r&&!(l&&(a||48&p)&&1536&p)){if(!(a||16&p||i))return m?((c=X_(r,r.type)).parent=null==(D=null==(D=r.valueDeclaration)?void 0:D.symbol)?void 0:D.parent,c.containingType=e,c.mapper=r.mapper,c):r;for(var g,y,h,v,b=[],E=!1,T=0,S=a?wn.arrayFrom(a.values()):[r];T<S.length;T++){var x=S[T],L=(v?x.valueDeclaration&&x.valueDeclaration!==v&&(E=!0):v=x.valueDeclaration,g=wn.addRange(g,x.declarations),hs(x));y?L!==y&&(p|=64):(y=L,h=Na(x).nameType),T_(L)&&(p|=128),131072&L.flags&&(p|=131072),b.push(L)}wn.addRange(b,i);var D=Ea(4|d,n,u|p);return D.containingType=e,!E&&v&&(D.valueDeclaration=v).symbol.parent&&(D.parent=v.symbol.parent),D.declarations=g,D.nameType=h,2<b.length?(D.checkFlags|=65536,D.deferralParent=e,D.deferralConstituents=b):D.type=(l?gu:Tu)(b),D}}function ll(e,n,t){var r=(null==(r=e.propertyCacheWithoutObjectFunctionPropertyAugment)||!r.get(n))&&t||null==(r=e.propertyCache)?void 0:r.get(n);return r||(r=cl(e,n,t))&&(t?e.propertyCacheWithoutObjectFunctionPropertyAugment||(e.propertyCacheWithoutObjectFunctionPropertyAugment=wn.createSymbolTable()):e.propertyCache||(e.propertyCache=wn.createSymbolTable())).set(n,r),r}function dl(e,n,t){return e=ll(e,n,t),!e||16&wn.getCheckFlags(e)?void 0:e}function ul(e){return 1048576&e.flags&&33554432&e.objectFlags?e.resolvedReducedType||(e.resolvedReducedType=(e=>{var n=wn.sameMap(e.types,ul);return n!==e.types&&1048576&(e=gu(n)).flags&&(e.resolvedReducedType=e),e})(e)):2097152&e.flags&&(33554432&e.objectFlags||(e.objectFlags|=33554432|(wn.some(Wc(e),pl)?67108864:0)),67108864&e.objectFlags)?ht:e}function pl(e){return ml(e)||_l(e)}function ml(e){return!(16777216&e.flags||192!=(131264&wn.getCheckFlags(e))||!(131072&hs(e).flags))}function _l(e){return!e.valueDeclaration&&!!(1024&wn.getCheckFlags(e))}function fl(e,n){if(2097152&n.flags&&67108864&wn.getObjectFlags(n)){var t=wn.find(Wc(n),ml);if(t)return wn.chainDiagnosticMessages(e,wn.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents,lo(n,void 0,536870912),so(t));if(t=wn.find(Wc(n),_l),t)return wn.chainDiagnosticMessages(e,wn.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some,lo(n,void 0,536870912),so(t))}return e}function gl(e,n,t){if(524288&(e=sl(e)).flags){var r=jc(e),a=r.members.get(n);if(a&&Mi(a))return a;if(t)return;return a=r===Mt?Re:r.callSignatures.length?Oe:r.constructSignatures.length?Pe:void 0,a&&(r=Hc(a,n),r)?r:Hc(ke,n)}if(3145728&e.flags)return dl(e,n,t)}function yl(e,n){return 3670016&e.flags?(e=jc(e),0===n?e.callSignatures:e.constructSignatures):wn.emptyArray}function hl(e,n){return yl(sl(e),n)}function vl(e,n){return wn.find(e,(function(e){return e.keyType===n}))}function bl(e,n){for(var t,r,a,i=0,o=e;i<o.length;i++){var s=o[i];s.keyType===ct?t=s:El(n,s.keyType)&&(r?(a=a||[r]).push(s):r=s)}return a?ad(nt,Tu(wn.map(a,(function(e){return e.type}))),wn.reduceLeft(a,(function(e,n){return e&&n.isReadonly}),!0)):r||(t&&El(n,ct)?t:void 0)}function El(e,n){return hm(e,n)||n===ct&&hm(e,lt)||n===lt&&!!(128&e.flags)&&Hy(e.value)}function Tl(e){return 3670016&e.flags?jc(e).indexInfos:wn.emptyArray}function Sl(e){return Tl(sl(e))}function xl(e,n){return vl(Sl(e),n)}function Ll(e,n){return null==(e=xl(e,n))?void 0:e.type}function Dl(e,n){return Sl(e).filter((function(e){return El(n,e.keyType)}))}function Al(e,n){return bl(Sl(e),n)}function Cl(e,n){return Al(e,tc(n)?gt:Dp(wn.unescapeLeadingUnderscores(n)))}function Il(e){for(var n=0,t=wn.getEffectiveTypeParameterDeclarations(e);n<t.length;n++)var r=t[n],a=wn.appendIfUnique(a,Ks(r.symbol));return a}function Nl(e){var n=[];return e.forEach((function(e,t){Ki(t)||n.push(e)})),n}function kl(e){return wn.isInJSFile(e)&&(e.type&&311===e.type.kind||wn.getJSDocParameterTags(e).some((function(e){var n=e.isBracketed;e=e.typeExpression;return n||!!e&&311===e.type.kind})))}function Rl(e,n){if(!wn.isExternalModuleNameRelative(e))return(e=Oa(be,'"'+e+'"',512))&&n?Ci(e):e}function Ol(e){var n,t;return!!(wn.hasQuestionToken(e)||Pl(e)||kl(e))||(e.initializer?(n=Gl(e.parent),t=e.parent.parameters.indexOf(e),wn.Debug.assert(0<=t),t>=fb(n,3)):!!(t=wn.getImmediatelyInvokedFunctionExpression(e.parent))&&!e.type&&!e.dotDotDotToken&&e.parent.parameters.indexOf(e)>=t.arguments.length)}function Pl(e){var n;return!!wn.isJSDocPropertyLikeTag(e)&&(n=e.isBracketed,e=e.typeExpression,n||!!e&&311===e.type.kind)}function wl(e,n,t,r){return{kind:e,parameterName:n,parameterIndex:t,type:r}}function Ml(e){var n,t=0;if(e)for(var r=0;r<e.length;r++)(n=e[r]).symbol&&wn.forEach(n.symbol.declarations,(function(e){return wn.isTypeParameterDeclaration(e)&&e.default}))||(t=r+1);return t}function Fl(e,n,t,r){var a=wn.length(n);if(!a)return[];var i=wn.length(e);if(r||t<=i&&i<=a){for(var o=e?e.slice():[],s=i;s<a;s++)o[s]=Zn;var c=Mf(r);for(s=i;s<a;s++){var l=al(n[s]);r&&l&&(mm(l,nt)||mm(l,kt))&&(l=Xn),o[s]=l?am(l,Bp(n,o)):c}return o.length=n.length,o}return e&&e.slice()}function Gl(e){var n=ka(e);if(!n.resolvedSignature){var t=[],r=0,a=0,i=void 0,o=!1,s=wn.getImmediatelyInvokedFunctionExpression(e),c=wn.isJSDocConstructSignature(e);!s&&wn.isInJSFile(e)&&wn.isValueSignatureDeclaration(e)&&!wn.hasJSDocParameterTags(e)&&!wn.getJSDocType(e)&&(r|=32);for(var l=c?1:0;l<e.parameters.length;l++){var d=e.parameters[l],u=d.symbol,p=wn.isJSDocParameterTag(d)?d.typeExpression&&d.typeExpression.type:d.type;u&&4&u.flags&&!wn.isBindingPattern(d.name)&&(u=Ma(d,u.escapedName,111551,void 0,void 0,!1)),0===l&&"this"===u.escapedName?(o=!0,i=d.symbol):t.push(u),p&&194===p.kind&&(r|=2),Pl(d)||d.initializer||d.questionToken||wn.isRestParameter(d)||s&&t.length>s.arguments.length&&!p||kl(d)||(a=t.length)}170!==e.kind&&171!==e.kind||!ac(e)||o&&i||(c=170===e.kind?171:170,(c=wn.getDeclarationOfKind(Ii(e),c))&&(i=(c=Jx(c=c))&&c.symbol)),c=169===e.kind?Ms(Ci(e.parent.symbol)):void 0,c=c?c.localTypeParameters:Il(e),(wn.hasRestParameter(e)||wn.isInJSFile(e)&&((e,n)=>{var t;if(!wn.isJSDocSignature(e)&&Ul(e))return t=(t=wn.lastOrUndefined(e.parameters))?wn.getJSDocParameterTags(t):wn.getJSDocTags(e).filter(wn.isJSDocParameterTag),e=wn.firstDefined(t,(function(e){return e.typeExpression&&wn.isJSDocVariadicType(e.typeExpression.type)?e.typeExpression.type:void 0})),(t=Ea(3,"args",32768)).type=e?qd(Op(e.type)):je,e&&n.pop(),n.push(t),1})(e,t))&&(r|=1),(wn.isConstructorTypeNode(e)&&wn.hasSyntacticModifier(e,128)||wn.isConstructorDeclaration(e)&&wn.hasSyntacticModifier(e.parent,128))&&(r|=4),n.resolvedSignature=pc(e,c,i,t,void 0,void 0,a,r)}return n.resolvedSignature}function Bl(e){if(wn.isInJSFile(e)&&wn.isFunctionLikeDeclaration(e))return(null==(e=wn.getJSDocTypeTag(e))?void 0:e.typeExpression)&&dv(Op(e.typeExpression))}function Ul(e){var n=ka(e);return void 0===n.containsArgumentsReference&&(8192&n.flags?n.containsArgumentsReference=!0:n.containsArgumentsReference=function e(n){if(!n)return!1;switch(n.kind){case 79:return n.escapedText===Se.escapedName&&Bf(n)===Se;case 165:case 167:case 170:case 171:return 160===n.name.kind&&e(n.name);case 204:case 205:return e(n.expression);default:return!wn.nodeStartsNewLexicalEnvironment(n)&&!wn.isPartOfTypeNode(n)&&!!wn.forEachChild(n,e)}}(e.body)),n.containsArgumentsReference}function Vl(e){if(!e||!e.declarations)return wn.emptyArray;for(var n=[],t=0;t<e.declarations.length;t++){var r=e.declarations[t];if(wn.isFunctionLike(r)){if(0<t&&r.body){var a=e.declarations[t-1];if(r.parent===a.parent&&r.kind===a.kind&&r.pos===a.end)continue}n.push(Gl(r))}}return n}function jl(e){return e=_i(e,e),e&&(e=hi(e),e)?hs(e):Xn}function Kl(e){if(e.thisParameter)return hs(e.thisParameter)}function Hl(e){var n,t,r,a,i,o;return e.resolvedTypePredicate||(e.target?(n=Hl(e.target),e.resolvedTypePredicate=n?(o=e.mapper,wl(n.kind,n.parameterName,n.parameterIndex,am(n.type,o))):Kt):e.compositeSignatures?e.resolvedTypePredicate=((e,n)=>{for(var t,r=[],a=0,i=e;a<i.length;a++){var o=Hl(i[a]);if(!o||2===o.kind||3===o.kind){if(2097152!==n)continue;return}if(t){if(!yu(t,o))return}else t=o;r.push(o.type)}if(t)return e=Wl(r,n),wl(t.kind,t.parameterName,t.parameterIndex,e)})(e.compositeSignatures,e.compositeKind)||Kt:(n=void 0,!(o=e.declaration&&wn.getEffectiveReturnTypeNode(e.declaration))&&wn.isInJSFile(e.declaration)&&(r=Bl(e.declaration))&&e!==r&&(n=Hl(r)),e.resolvedTypePredicate=o&&wn.isTypePredicateNode(o)?(r=e,a=(t=o).parameterName,i=t.type&&Op(t.type),190===a.kind?wl(t.assertsModifier?2:0,void 0,void 0,i):wl(t.assertsModifier?3:1,a.escapedText,wn.findIndex(r.parameters,(function(e){return e.escapedName===a.escapedText})),i)):n||Kt),wn.Debug.assert(!!e.resolvedTypePredicate)),e.resolvedTypePredicate===Kt?void 0:e.resolvedTypePredicate}function Wl(e,n,t){return 2097152!==n?gu(e,t):Tu(e)}function zl(e){if(!e.resolvedReturnType){if(!xo(e,3))return Zn;var n,t,r=e.target?am(zl(e.target),e.mapper):e.compositeSignatures?am(Wl(wn.map(e.compositeSignatures,zl),e.compositeKind,2),e.mapper):Jl(e.declaration)||(wn.nodeIsMissing(e.declaration.body)?Xn:Db(e.declaration));8&e.flags?r=V_(r):16&e.flags&&(r=B_(r)),Do()||(e.declaration&&((n=wn.getEffectiveReturnTypeNode(e.declaration))?fa(n,wn.Diagnostics.Return_type_annotation_circularly_references_itself):C&&(n=e.declaration,(t=wn.getNameOfDeclaration(n))?fa(t,wn.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,wn.declarationNameToString(t)):fa(n,wn.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=Xn),e.resolvedReturnType=r}return e.resolvedReturnType}function Jl(e){if(169===e.kind)return Ms(Ci(e.parent.symbol));if(wn.isJSDocConstructSignature(e))return Op(e.parameters[0].type);var n=wn.getEffectiveReturnTypeNode(e);if(n)return Op(n);if(170===e.kind&&ac(e)){n=wn.isInJSFile(e)&&Bo(e);if(n)return n;if(n=cs(wn.getDeclarationOfKind(Ii(e),171)),n)return n}return(n=Bl(n=e))&&zl(n)}function ql(e){return!e.resolvedReturnType&&0<=Lo(e,3)}function Xl(e){if(ck(e))return(e=C_(e=hs(e.parameters[e.parameters.length-1]))?k_(e):e)&&Ll(e,lt)}function Yl(e,n,t,r){if(n=Ql(e,Fl(n,e.typeParameters,Ml(e.typeParameters),t)),r){e=uv(zl(n));if(e)return(t=mc(e)).typeParameters=r,(e=mc(n)).resolvedReturnType=nd(t),e}return n}function Ql(e,n){var t=e.instantiations||(e.instantiations=new wn.Map),r=ud(n),a=t.get(r);return a||t.set(r,a=Zl(e,n)),a}function Zl(e,n){return Xp(e,Bp(e.typeParameters,n),!0)}function $l(e){return e.typeParameters?e.erasedSignatureCache||(e.erasedSignatureCache=Xp(e,Hp(e.typeParameters),!0)):e}function ed(e){return e.typeParameters?e.canonicalSignatureCache||(e.canonicalSignatureCache=Yl(n=e,wn.map(n.typeParameters,(function(e){return e.target&&!qc(e.target)?e.target:e})),wn.isInJSFile(n.declaration))):e;var n}function nd(e){var n,t;return e.isolatedSignatureType||(n=169===(n=e.declaration?e.declaration.kind:0)||173===n||178===n,(t=Vi(16)).members=y,t.properties=wn.emptyArray,t.callSignatures=n?wn.emptyArray:[e],t.constructSignatures=n?[e]:wn.emptyArray,t.indexInfos=wn.emptyArray,e.isolatedSignatureType=t),e.isolatedSignatureType}function td(e){return e.members?rd(e.members):void 0}function rd(e){return e.get("__index")}function ad(e,n,t,r){return{keyType:e,type:n,isReadonly:t,declaration:r}}function id(e){return e=td(e),e?od(e):wn.emptyArray}function od(e){if(e.declarations){for(var n=[],t=0,r=e.declarations;t<r.length;t++)(e=>{var t;1===e.parameters.length&&(t=e.parameters[0]).type&&hg(Op(t.type),(function(t){sd(t)&&!vl(n,t)&&n.push(ad(t,e.type?Op(e.type):Xn,wn.hasEffectiveModifier(e,64),e))}))})(r[t]);return n}return wn.emptyArray}function sd(e){return!!(4108&e.flags)||ju(e)||!!(2097152&e.flags)&&!Wu(e)&&!Hu(e)&&wn.some(e.types,sd)}function cd(e){return wn.mapDefined(wn.filter(e.symbol&&e.symbol.declarations,wn.isTypeParameterDeclaration),wn.getEffectiveConstraintOfTypeParameter)[0]}function ld(e){var n,t;return e.constraint||(e.target?(n=qc(e.target),e.constraint=n?am(n,e.mapper):Ft):(n=cd(e))?(1&(t=Op(n)).flags&&t!==Zn&&(t=193===n.parent.parent.kind?Dt:nt),e.constraint=t):e.constraint=(e=>{var n;if(null!=(n=e.symbol)&&n.declarations)for(var t=0,r=e.symbol.declarations;t<r.length;t++){var a,i,o,s,c,l=r[t];188===l.parent.kind&&(i=void 0===(i=(a=wn.walkUpParenthesizedTypesAndGetParentAndChild(l.parent.parent))[0])?l.parent:i,176===(a=a[1]).kind?(s=NE(o=a))&&(i=o.typeArguments.indexOf(i))<s.length&&(i=qc(s[i]))&&(i=am(i,Bp(s,CE(o,s))))!==e&&(c=wn.append(c,i)):162===a.kind&&a.dotDotDotToken||184===a.kind||195===a.kind&&a.dotDotDotToken?c=wn.append(c,qd(nt)):197===a.kind?c=wn.append(c,ct):161===a.kind&&193===a.parent.kind?c=wn.append(c,Dt):193===a.kind&&a.type&&wn.skipParentheses(a.type)===l.parent&&187===a.parent.kind&&a.parent.extendsType===a&&193===a.parent.checkType.kind&&a.parent.checkType.type&&(s=Op((o=a.parent.checkType).type),c=wn.append(c,am(s,Vp(Ks(Ii(o.typeParameter)),o.typeParameter.constraint?Op(o.typeParameter.constraint):Dt)))))}return c&&Tu(c)})(e)||Ft),e.constraint===Ft?void 0:e.constraint}function dd(e){return e=wn.getDeclarationOfKind(e.symbol,161),e=wn.isJSDocTemplateTag(e.parent)?wn.getHostSignatureFromJSDoc(e.parent):e.parent,e&&Ii(e)}function ud(e){var n="";if(e)for(var t=e.length,r=0;r<t;){for(var a=e[r].id,i=1;r+i<t&&e[r+i].id===a+i;)i++;n.length&&(n+=","),n+=a,1<i&&(n+=":"+i),r+=i}return n}function pd(e,n){return e?"@"+rk(e)+(n?":"+ud(n):""):""}function md(e,n){for(var t=0,r=0,a=e;r<a.length;r++){var i=a[r];i.flags&n||(t|=wn.getObjectFlags(i))}return 917504&t}function _d(e,n){var t=ud(n),r=e.instantiations.get(t);return r||(r=Vi(4,e.symbol),e.instantiations.set(t,r),r.objectFlags|=n?md(n,0):0,r.target=e,r.resolvedTypeArguments=n),r}function fd(e){var n=Gi(e.flags);return n.symbol=e.symbol,n.objectFlags=e.objectFlags,n.target=e.target,n.resolvedTypeArguments=e.resolvedTypeArguments,n}function gd(e,n,t,r,a){r||(i=fp(r=_p(n)),a=t?Mp(i,t):i);var i=Vi(4,e.symbol);return i.target=e,i.node=n,i.mapper=t,i.aliasSymbol=r,i.aliasTypeArguments=a,i}function yd(e){if(!e.resolvedTypeArguments){if(!xo(e,6))return(null==(n=e.target.localTypeParameters)?void 0:n.map((function(){return Zn})))||wn.emptyArray;var n=e.node;n=n?176===n.kind?wn.concatenate(e.target.outerTypeParameters,CE(n,e.target.localTypeParameters)):181===n.kind?[Op(n.elementType)]:wn.map(n.elements,Op):wn.emptyArray;Do()?e.resolvedTypeArguments=e.mapper?Mp(n,e.mapper):n:(e.resolvedTypeArguments=(null==(n=e.target.localTypeParameters)?void 0:n.map((function(){return Zn})))||wn.emptyArray,fa(e.node||i,e.target.symbol?wn.Diagnostics.Type_arguments_for_0_circularly_reference_themselves:wn.Diagnostics.Tuple_type_arguments_circularly_reference_themselves,e.target.symbol&&so(e.target.symbol)))}return e.resolvedTypeArguments}function hd(e){return wn.length(e.target.typeParameters)}function vd(e,n){var t=Hs(Ci(n)),r=t.localTypeParameters;if(r){var a=wn.length(e.typeArguments),i=Ml(r),o=wn.isInJSFile(e);return!C&&o||!(a<i||a>r.length)||(a=o&&wn.isExpressionWithTypeArguments(e)&&!wn.isJSDocAugmentsTag(e.parent),fa(e,i===r.length?a?wn.Diagnostics.Expected_0_type_arguments_provide_these_with_an_extends_tag:wn.Diagnostics.Generic_type_0_requires_1_type_argument_s:a?wn.Diagnostics.Expected_0_1_type_arguments_provide_these_with_an_extends_tag:wn.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,lo(t,void 0,2),i,r.length),o)?176===e.kind&&Zd(e,wn.length(e.typeArguments)!==r.length)?gd(t,e,void 0):_d(t,wn.concatenate(t.outerTypeParameters,Fl(Rd(e),r,i,o))):Zn}return Id(e,n)?t:Zn}function bd(e,n,t,r){var a,i,o,s,c=Hs(e);return c===et&&zn.has(e.escapedName)&&n&&1===n.length?wu(e,n[0]):(i=(a=Na(e)).typeParameters,o=ud(n)+pd(t,r),(s=a.instantiations.get(o))||a.instantiations.set(o,s=im(c,Bp(i,Fl(n,i,Ml(i),wn.isInJSFile(e.valueDeclaration))),t,r)),s)}function Ed(e){return e=null==(e=e.declarations)?void 0:e.find(wn.isTypeAlias),e&&wn.getContainingFunction(e)}function Td(e){switch(e.kind){case 176:return e.typeName;case 226:var n=e.expression;if(wn.isEntityNameExpression(n))return n}}function Sd(e,n,t){return e&&pi(e,n,t)||Jn}function xd(e,n){var t,r,a,i,o,s;return n===Jn?Zn:96&(n=(e=>{var n=e.valueDeclaration;if(n&&wn.isInJSFile(n)&&!(524288&e.flags)&&!wn.getExpandoInitializer(n,!1)&&(n=wn.isVariableDeclaration(n)?wn.getDeclaredExpandoInitializer(n):wn.getAssignedExpandoInitializer(n),n&&(n=Ii(n),n)))return zv(n,e)})(n)||n).flags?vd(e,n):524288&n.flags?(t=e,o=Hs(r=n),(s=Na(r).typeParameters)?(a=wn.length(t.typeArguments))<(i=Ml(s))||a>s.length?(fa(t,i===s.length?wn.Diagnostics.Generic_type_0_requires_1_type_argument_s:wn.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,so(r),i,s.length),Zn):(i=!(a=_p(t))||!Ed(r)&&Ed(a)?void 0:a,bd(r,Rd(t),i,fp(i))):Id(t,r)?o:Zn):(s=Ws(n))?Id(e,n)?xp(s):Zn:111551&n.flags&&Cd(e)?((e,n)=>{var t,r,a,i=ka(e);return i.resolvedJSDocType||(t=hs(n),r=t,n.valueDeclaration&&(a=198===e.kind&&e.qualifier,t.symbol)&&t.symbol!==n&&a&&(r=xd(e,t.symbol)),i.resolvedJSDocType=r),i.resolvedJSDocType})(e,n)||(Sd(Td(e),788968),hs(n)):Zn}function Ld(e,n){var t,r;return 3&n.flags||n===e?e:(t=e.id+">"+n.id,On.get(t)||((r=Gi(33554432)).baseType=e,r.substitute=n,On.set(t,r),r))}function Dd(e){return 182===e.kind&&1===e.elements.length}function Ad(e,n){for(var t,r=!0;n&&!wn.isStatement(n)&&315!==n.kind;){var a,i=n.parent;((r=162===i.kind?!r:r)||8650752&e.flags)&&187===i.kind&&n===i.trueType&&(a=function e(n,t,r){return Dd(t)&&Dd(r)?e(n,t.elements[0],r.elements[0]):rp(Op(t))===n?Op(r):void 0}(e,i.checkType,i.extendsType))&&(t=wn.append(t,a)),n=i}return t?Ld(e,Tu(wn.append(t,e))):e}function Cd(e){return!!(4194304&e.flags)&&(176===e.kind||198===e.kind)}function Id(e,n){if(!e.typeArguments)return 1;fa(e,wn.Diagnostics.Type_0_is_not_generic,n?so(n):e.typeName?wn.declarationNameToString(e.typeName):Gn)}function Nd(e){if(wn.isIdentifier(e.typeName)){var n,t,r=e.typeArguments;switch(e.typeName.escapedText){case"String":return Id(e),ct;case"Number":return Id(e),lt;case"Boolean":return Id(e),ft;case"Void":return Id(e),yt;case"Undefined":return Id(e),tt;case"Null":return Id(e),ot;case"Function":case"function":return Id(e),Re;case"array":return r&&r.length||C?void 0:je;case"promise":return r&&r.length||C?void 0:Sb(Xn);case"Object":return r&&2===r.length?wn.isJSDocIndexSignature(e)?(t=Op(r[0]),n=Op(r[1]),t=t===ct||t===lt?[ad(t,n,!1)]:wn.emptyArray,zi(void 0,y,wn.emptyArray,wn.emptyArray,t)):Xn:(Id(e),C?void 0:Xn)}}}function kd(e){var n=ka(e);if(!n.resolvedType){if(wn.isConstTypeReference(e)&&wn.isAssertionExpression(e.parent))return n.resolvedSymbol=Jn,n.resolvedType=nE(e.parent.expression);var t=void 0,r=void 0,a=788968;!Cd(e)||(r=Nd(e))||((t=Sd(Td(e),a,!0))===Jn?t=Sd(Td(e),900095):Sd(Td(e),a),r=xd(e,t)),r=r||xd(e,t=Sd(Td(e),a)),n.resolvedSymbol=t,n.resolvedType=r}return n.resolvedType}function Rd(e){return wn.map(e.typeArguments,Op)}function Od(e){var n=ka(e);return n.resolvedType||(e=(wn.isThisIdentifier(e.exprName)?iy:yE)(e.exprName),n.resolvedType=xp(ef(e))),n.resolvedType}function Pd(e,n){function t(e){if(e=e.declarations,e)for(var n=0,t=e;n<t.length;n++){var r=t[n];switch(r.kind){case 255:case 256:case 258:return r}}}var r;return e?524288&(r=Hs(e)).flags?wn.length(r.typeParameters)!==n?(fa(t(e),wn.Diagnostics.Global_type_0_must_have_1_type_parameter_s,wn.symbolName(e),n),n?wt:kt):r:(fa(t(e),wn.Diagnostics.Global_type_0_must_be_a_class_or_interface_type,wn.symbolName(e)),n?wt:kt):n?wt:kt}function wd(e,n){return Fd(e,111551,n?wn.Diagnostics.Cannot_find_global_value_0:void 0)}function Md(e,n){return Fd(e,788968,n?wn.Diagnostics.Cannot_find_global_type_0:void 0)}function Fd(e,n,t){return Ma(void 0,e,n,t,e,!1)}function Gd(e,n,t){return e=Md(e,t),e||t?Pd(e,n):void 0}function Bd(){return(pn=pn||Gd("ImportMeta",0,!0))||kt}function Ud(e){return ze=ze||wd("Symbol",e)}function Vd(e){return(qe=qe||Gd("Symbol",0,e))||kt}function jd(e){return(Ye=Ye||Gd("Promise",1,e))||wt}function Kd(e){return Ze=Ze||wd("Promise",e)}function Hd(e){return(en=en||Gd("Iterable",1,e))||wt}function Wd(e,n){return void 0===n&&(n=0),e=Fd(e,788968,void 0),e&&Pd(e,n)}function zd(e,n){return e!==wt?_d(e,n):kt}function Jd(e){return zd((Xe=Xe||Gd("TypedPropertyDescriptor",1,!0))||wt,[e])}function qd(e,n){return zd(n?Me:we,[e])}function Xd(e){switch(e.kind){case 183:return 2;case 184:return Yd(e);case 195:return e.questionToken?2:e.dotDotDotToken?Yd(e):1;default:return 1}}function Yd(e){return Rp(e.type)?4:8}function Qd(e){n=e.parent;var n=wn.isTypeOperatorNode(n)&&143===n.operator;return Rp(e)?n?Me:we:au(wn.map(e.elements,Xd),n,wn.some(e.elements,(function(e){return 195!==e.kind}))?void 0:e.elements)}function Zd(e,n){return _p(e)||function e(n){var t=n.parent;switch(t.kind){case 189:case 195:case 176:case 185:case 186:case 192:case 187:case 191:case 181:case 182:return e(t);case 257:return!0}return!1}(e)&&(181===e.kind?$d(e.elementType):182===e.kind?wn.some(e.elements,$d):n||wn.some(e.typeArguments,$d))}function $d(e){switch(e.kind){case 176:return Cd(e)||!!(524288&Sd(e.typeName,788968).flags);case 179:return!0;case 191:return 152!==e.operator&&$d(e.type);case 189:case 183:case 195:case 311:case 309:case 310:case 304:return $d(e.type);case 184:return 181!==e.type.kind||$d(e.type.elementType);case 185:case 186:return wn.some(e.types,$d);case 192:return $d(e.objectType)||$d(e.indexType);case 187:return $d(e.checkType)||$d(e.extendsType)||$d(e.trueType)||$d(e.falseType)}return!1}function tu(e,n,t,r){return void 0===t&&(t=!1),n=au(n||wn.map(e,(function(e){return 1})),t,r),n===wt?kt:e.length?iu(n,e):n}function au(e,n,t){var r,a;return 1===e.length&&4&e[0]?n?Me:we:(r=wn.map(e,(function(e){return 1&e?"#":2&e?"?":4&e?".":"*"})).join()+(n?"R":"")+(t&&t.length?","+wn.map(t,tk).join(","):""),(a=Sn.get(r))||Sn.set(r,a=((e,n,t)=>{var r,a=e.length,i=wn.countWhere(e,(function(e){return!!(9&e)})),o=[],s=0;if(a){r=new Array(a);for(var c=0;c<a;c++){var l=r[c]=ji(),d=e[c];12&(s|=d)||((d=Ea(4|(2&d?16777216:0),""+c,n?8:0)).tupleLabelDeclaration=null==t?void 0:t[c],d.type=l,o.push(d))}}var u=o.length,p=Ea(4,"length");if(12&s)p.type=lt;else{var m=[];for(c=i;c<=a;c++)m.push(Ap(c));p.type=gu(m)}return o.push(p),(p=Vi(12)).typeParameters=r,p.outerTypeParameters=void 0,p.localTypeParameters=r,p.instantiations=new wn.Map,p.instantiations.set(ud(p.typeParameters),p),(p.target=p).resolvedTypeArguments=p.typeParameters,p.thisType=ji(),p.thisType.isThisType=!0,(p.thisType.constraint=p).declaredProperties=o,p.declaredCallSignatures=wn.emptyArray,p.declaredConstructSignatures=wn.emptyArray,p.declaredIndexInfos=wn.emptyArray,p.elementFlags=e,p.minLength=i,p.fixedLength=u,p.hasRestElement=!!(12&s),p.combinedFlags=s,p.readonly=n,p.labeledElementDeclarations=t,p})(e,n,t)),a)}function iu(e,n){return(8&e.objectFlags?function e(n,t){var r,a;if(!(14&n.combinedFlags))return _d(n,t);if(8&n.combinedFlags){var o=wn.findIndex(t,(function(e,t){return!!(8&n.elementFlags[t]&&1179648&e.flags)}));if(0<=o)return xu(wn.map(t,(function(e,t){return 8&n.elementFlags[t]?e:nt})))?Sg(t[o],(function(r){return e(n,wn.replaceElement(t,o,r))})):Zn}for(var s=[],c=[],l=[],d=-1,u=-1,p=-1,m=function(e){var o=t[e],c=n.elementFlags[e];if(8&c)if(58982400&o.flags||Vc(o))y(o,8,null==(r=n.labeledElementDeclarations)?void 0:r[e]);else if(C_(o)){var l=yd(o);if(1e4<=l.length+s.length)return fa(i,wn.isPartOfTypeNode(i)?wn.Diagnostics.Type_produces_a_tuple_type_that_is_too_large_to_represent:wn.Diagnostics.Expression_produces_a_tuple_type_that_is_too_large_to_represent),{value:Zn};wn.forEach(l,(function(e,n){return y(e,o.target.elementFlags[n],null==(e=o.target.labeledElementDeclarations)?void 0:e[n])}))}else y(m_(o)&&Ll(o,lt)||Zn,4,null==(r=n.labeledElementDeclarations)?void 0:r[e]);else y(o,c,null==(a=n.labeledElementDeclarations)?void 0:a[e])},_=0;_<t.length;_++){var f=m(_);if("object"==typeof f)return f.value}for(_=0;_<d;_++)2&c[_]&&(c[_]=1);0<=u&&u<p&&(s[u]=gu(wn.sameMap(s.slice(u,p+1),(function(e,n){return 8&c[u+n]?Zu(e,lt):e}))),s.splice(u+1,p-u),c.splice(u+1,p-u),null!=l)&&l.splice(u+1,p-u);var g=au(c,n.readonly,l);return g===wt?kt:c.length?_d(g,s):g;function y(e,n,t){1&n&&(d=c.length),4&n&&u<0&&(u=c.length),6&n&&(p=c.length),s.push(e),c.push(n),l&&t?l.push(t):l=void 0}}:_d)(e,n)}function ou(e,n,t){void 0===t&&(t=0);var r=e.target;t=hd(e)-t;return n>r.fixedLength?(e=>(e=k_(e))&&qd(e))(e)||tu(wn.emptyArray):tu(yd(e).slice(n,t),r.elementFlags.slice(n,t),!1,r.labeledElementDeclarations&&r.labeledElementDeclarations.slice(n,t))}function su(e){return gu(wn.append(wn.arrayOf(e.target.fixedLength,(function(e){return Dp(""+e)})),ku(e.target.readonly?Me:we)))}function cu(e,n){var t=wn.findIndex(e.elementFlags,(function(e){return!(e&n)}));return 0<=t?t:e.elementFlags.length}function lu(e,n){return e.elementFlags.length-wn.findLastIndex(e.elementFlags,(function(e){return!(e&n)}))-1}function du(e){return e.id}function uu(e,n){return 0<=wn.binarySearch(e,n,du,wn.compareValues)}function pu(e,n){var t=wn.binarySearch(e,n,du,wn.compareValues);return t<0&&(e.splice(~t,0,n),1)}function mu(e,n,t){for(var r,a,i,o,s=0,c=t;s<c.length;s++){var l=c[s];r=e,a=n,o=i=void 0,n=1048576&(o=(l=l).flags)?mu(r,a|(1048576&(i=l).flags&&(i.aliasSymbol||i.origin)?1048576:0),l.types):(131072&o||(a|=205258751&o,469499904&o&&(a|=262144),l===Qn&&(a|=8388608),!x&&98304&o?131072&wn.getObjectFlags(l)||(a|=4194304):(o=(i=r.length)&&l.id>r[i-1].id?~i:wn.binarySearch(r,l,du,wn.compareValues))<0&&r.splice(~o,0,l)),a)}return n}function _u(e){var n=wn.filter(e,ju);if(n.length)for(var t=e.length;0<t;)(()=>{var r=e[--t];128&r.flags&&wn.some(n,(function(e){return ym(r,e)}))&&wn.orderedRemoveItemAt(e,t)})()}function fu(e,n){return e=Bi(e),e.types=n,e}function gu(e,n,t,r,a){if(void 0===n&&(n=1),0===e.length)return ht;if(1===e.length)return e[0];var o,s=[],c=mu(s,0,e);if(0!==n){if(3&c)return 1&c?8388608&c?Qn:Xn:nt;if(O&&32768&c&&0<=(o=wn.binarySearch(s,it,du,wn.compareValues))&&uu(s,tt)&&wn.orderedRemoveItemAt(s,o),402664320&c||16384&c&&32768&c)for(var l=s,d=c,u=!!(2&n),p=l.length;0<p;){var m=l[--p],_=m.flags;(402653312&_&&4&d||256&_&&8&d||2048&_&&64&d||8192&_&&4096&d||u&&32768&_&&16384&d||Lp(m)&&uu(l,m.regularType))&&wn.orderedRemoveItemAt(l,p)}if(128&c&&134217728&c&&_u(s),2===n&&!(s=((e,n)=>{var t=ud(e),r=Pn.get(t);if(r)return r;for(var a=n&&wn.some(e,(function(e){return!!(524288&e.flags)&&!Vc(e)&&Om(jc(e))})),o=e.length,s=o,c=0;0<s;){var l=e[--s];if(a||469499904&l.flags)for(var d=61603840&l.flags?wn.find(zc(l),(function(e){return b_(hs(e))})):void 0,u=d&&xp(hs(d)),p=0,m=e;p<m.length;p++){var _=m[p];if(l!==_){if(1e5===c&&1e6<c/(o-s)*o)return null!=wn.tracing&&wn.tracing.instant("checkTypes","removeSubtypes_DepthLimit",{typeIds:e.map((function(e){return e.id}))}),void fa(i,wn.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent);if(c++,d&&61603840&_.flags){var f=Co(_,d.escapedName);if(f&&b_(f)&&xp(f)!==u)continue}if(Bm(l,_,Br)&&(!(1&wn.getObjectFlags(Es(l)))||!(1&wn.getObjectFlags(Es(_)))||vm(l,_))){wn.orderedRemoveItemAt(e,s);break}}}}return Pn.set(t,e),e})(s,!!(524288&c))))return Zn;if(0===s.length)return 65536&c?4194304&c?ot:st:32768&c?4194304&c?tt:rt:ht}if(!a&&1048576&c){for(var f=[],g=(function e(n,t){for(var r=0,a=t;r<a.length;r++){var i,o=a[r];1048576&o.flags&&(i=o.origin,o.aliasSymbol||i&&!(1048576&i.flags)?wn.pushIfUnique(n,o):i&&1048576&i.flags&&e(n,i.types))}}(f,e),[]),y=0,h=s;y<h.length;y++)(e=>{wn.some(f,(function(n){return uu(n.types,e)}))||g.push(e)})(h[y]);if(!t&&1===f.length&&0===g.length)return f[0];if(wn.reduceLeft(f,(function(e,n){return e+n.types.length}),0)+g.length===s.length){for(var v=0,b=f;v<b.length;v++)pu(g,b[v]);a=fu(1048576,g)}}return hu(s,(468598819&c?0:65536)|(2097152&c?33554432:0),t,r,a)}function yu(e,n){return e.kind===n.kind&&e.parameterIndex===n.parameterIndex}function hu(e,n,t,r,a){var i,o;return 0===e.length?ht:1===e.length?e[0]:(i=(a?1048576&a.flags?"|"+ud(a.types):2097152&a.flags?"&"+ud(a.types):"#"+a.type.id+"|"+ud(e):ud(e))+pd(t,r),(o=xn.get(i))||((o=Gi(1048576)).objectFlags=n|md(e,98304),o.types=e,o.origin=a,o.aliasSymbol=t,o.aliasTypeArguments=r,2===e.length&&512&e[0].flags&&512&e[1].flags&&(o.flags|=16,o.intrinsicName="boolean"),xn.set(i,o)),o)}function vu(e,n,t){for(var r,a,i,o=0,s=t;o<s.length;o++){var c=s[o];r=e,a=n,c=xp(c),i=void 0,n=2097152&(i=c.flags)?vu(r,a,c.types):(wm(c)?16777216&a||(a|=16777216,r.set(c.id.toString(),c)):(3&i?c===Qn&&(a|=8388608):!x&&98304&i||r.has(c.id.toString())||(109440&c.flags&&109440&a&&(a|=67108864),r.set(c.id.toString(),c)),a|=205258751&i),a)}return n}function bu(e,n){if(wn.every(e,(function(e){return!!(1048576&e.flags)&&wn.some(e.types,(function(e){return!!(e.flags&n)}))}))){for(var t=0;t<e.length;t++)e[t]=Eg(e[t],(function(e){return!(e.flags&n)}));return 1}}function Eu(e){var n,t=wn.findIndex(e,(function(e){return!!(65536&wn.getObjectFlags(e))}));if(!(t<0)){for(var r=t+1;r<e.length;){var a=e[r];65536&wn.getObjectFlags(a)?((n=n||[e[t]]).push(a),wn.orderedRemoveItemAt(e,r)):r++}if(n){for(var i=[],o=[],s=0,c=n;s<c.length;s++)for(var l=0,d=c[s].types;l<d.length;l++)pu(i,a=d[l])&&((e,n)=>{for(var t=0,r=e;t<r.length;t++){var a=r[t];if(!uu(a.types,n)){var i=128&n.flags?ct:256&n.flags?lt:2048&n.flags?dt:8192&n.flags?gt:void 0;if(!i||!uu(a.types,i))return}}return 1})(n,a)&&pu(o,a);return e[t]=hu(o,65536),1}}}function Tu(e,n,t){var r=new wn.Map;e=vu(r,0,e),r=wn.arrayFrom(r.values());if(131072&e)return wn.contains(r,vt)?vt:ht;if(x&&98304&e&&84410368&e||67108864&e&&402783228&e||402653316&e&&67238776&e||296&e&&469891796&e||2112&e&&469889980&e||12288&e&&469879804&e||49152&e&&469842940&e)return ht;if(134217728&e&&128&e&&(e=>{for(var n=e.length,t=wn.filter(e,(function(e){return!!(128&e.flags)}));0<n;){var r=e[--n];if(134217728&r.flags)for(var a=0,i=t;a<i.length;a++){if(ym(i[a],r)){wn.orderedRemoveItemAt(e,n);break}if(ju(r))return 1}}})(r))return ht;if(1&e)return 8388608&e?Qn:Xn;if(!x&&98304&e)return 32768&e?tt:ot;if(4&e&&128&e||8&e&&256&e||64&e&&2048&e||4096&e&&8192&e)for(var a=r,i=e,o=a.length;0<o;){var s=a[--o];(4&s.flags&&128&i||8&s.flags&&256&i||64&s.flags&&2048&i||4096&s.flags&&8192&i)&&wn.orderedRemoveItemAt(a,o)}if(16777216&e&&524288&e&&wn.orderedRemoveItemAt(r,wn.findIndex(r,wm)),0===r.length)return nt;if(1===r.length)return r[0];var c=ud(r)+pd(n,t);if(!(l=Ln.get(c))){if(1048576&e)if(Eu(r))l=Tu(r,n,t);else if(bu(r,32768))l=gu([Tu(r),tt],1,n,t);else if(bu(r,65536))l=gu([Tu(r),ot],1,n,t);else{if(!xu(r))return Zn;e=(e=>{for(var n=Su(e),t=[],r=0;r<n;r++){for(var a,i,o=e.slice(),s=r,c=e.length-1;0<=c;c--)1048576&e[c].flags&&(a=e[c].types,i=a.length,o[c]=a[s%i],s=Math.floor(s/i));var l=Tu(o);131072&l.flags||t.push(l)}return t})(r);var l=gu(e,1,n,t,wn.some(e,(function(e){return!!(2097152&e.flags)}))?fu(2097152,r):void 0)}else e=r,r=n,n=t,(t=Gi(2097152)).objectFlags=md(e,98304),t.types=e,t.aliasSymbol=r,t.aliasTypeArguments=n,l=t;Ln.set(c,l)}return l}function Su(e){return wn.reduceLeft(e,(function(e,n){return 1048576&n.flags?e*n.types.length:131072&n.flags?0:e}),1)}function xu(e){var n=Su(e);return!(1e5<=n&&(null!=wn.tracing&&wn.tracing.instant("checkTypes","checkCrossProductUnion_DepthLimit",{typeIds:e.map((function(e){return e.id})),size:n}),fa(i,wn.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent),1))}function Lu(e,n){var t=Gi(4194304);return t.type=e,t.stringsOnly=n,t}function Du(e,n,t){return am(e,Jp(n.mapper,kc(n),t))}function Au(e){var n=kc(e);return function e(t){return!!(68157439&t.flags)||(16777216&t.flags?t.root.isDistributive&&t.checkType===n:137363456&t.flags?wn.every(t.types,e):8388608&t.flags?e(t.objectType)&&e(t.indexType):33554432&t.flags?e(t.substitute):!!(268435456&t.flags)&&e(t.type))}(Oc(e)||n)}function Cu(e){return wn.isPrivateIdentifier(e)?ht:wn.isIdentifier(e)?Dp(wn.unescapeLeadingUnderscores(e.escapedText)):xp((wn.isComputedPropertyName(e)?Wy:yE)(e))}function Iu(e,n,t){if(t||!(24&wn.getDeclarationModifierFlagsFromSymbol(e))){var r;t=Na(lc(e)).nameType;if(t||(r=wn.getNameOfDeclaration(e.valueDeclaration),t="default"===e.escapedName?Dp("default"):r&&Cu(r)||(wn.isKnownSymbol(e)?void 0:Dp(wn.symbolName(e)))),t&&t.flags&n)return t}return ht}function Nu(e,n,t){t=t&&(7&wn.getObjectFlags(e)||e.aliasSymbol)?(t=e,(r=Bi(4194304)).type=t,r):void 0;var r=wn.map(zc(e),(function(e){return Iu(e,n)}));e=wn.map(Sl(e),(function(e){return e!==qt&&e.keyType.flags&n?e.keyType===ct&&8&n?xt:e.keyType:ht}));return gu(wn.concatenate(r,e),1,void 0,void 0,t)}function ku(e,n,t){return void 0===n&&(n=k),1048576&(e=ul(e)).flags?Tu(wn.map(e.types,(function(e){return ku(e,n,t)}))):2097152&e.flags?gu(wn.map(e.types,(function(e){return ku(e,n,t)}))):58982400&e.flags||I_(e)||Vc(e)&&!Au(e)?(s=e,n?s.resolvedStringIndexType||(s.resolvedStringIndexType=Lu(s,!0)):s.resolvedIndexType||(s.resolvedIndexType=Lu(s,!1))):32&wn.getObjectFlags(e)?(a=t,s=Eg(Rc(r=e),(function(e){return!(a&&5&e.flags)})),i=r.declaration.nameType&&Op(r.declaration.nameType),o=i&&bg(s,(function(e){return!!(131084&e.flags)}))&&zc(ol(Fc(r))),i?gu([Sg(s,(function(e){return Du(i,r,e)})),Sg(gu(wn.map(o||wn.emptyArray,(function(e){return Iu(e,8576)}))),(function(e){return Du(i,r,e)}))]):s):e===Qn?Qn:2&e.flags?ht:131073&e.flags?Dt:Nu(e,(t?128:402653316)|(n?0:12584),n===k&&!t);var r,a,i,o,s}function Ru(e){return k?e:(_n=_n||Fd("Extract",524288,wn.Diagnostics.Cannot_find_global_type_0),_n?bd(_n,[e,ct]):ct)}function Ou(e,n){var t,r,a,i,o,s,c,l=wn.findIndex(n,(function(e){return!!(1179648&e.flags)}));return 0<=l?xu(n)?Sg(n[l],(function(t){return Ou(e,wn.replaceElement(n,l,t))})):Zn:wn.contains(n,Qn)?Qn:(t=[],r=[],a=e[0],function e(n,i){for(var o=0;o<i.length;o++){var s=i[o];if(101248&s.flags)a=(a+=Pu(s)||"")+n[o+1];else if(134217728&s.flags){if(a+=s.texts[0],!e(s.texts,s.types))return!1;a+=n[o+1]}else{if(!Wu(s)&&!Vu(s))return!1;t.push(s),r.push(a),a=n[o+1]}}return!0}(e,n)?0===t.length?Dp(a):(r.push(a),wn.every(r,(function(e){return""===e}))&&wn.every(t,(function(e){return!!(4&e.flags)}))?ct:(o=ud(t)+"|"+wn.map(r,(function(e){return e.length})).join(",")+"|"+r.join(""),(i=kn.get(o))||kn.set(o,(o=r,s=t,(c=Gi(134217728)).texts=o,c.types=s,i=c)),i)):ct)}function Pu(e){return 128&e.flags?e.value:256&e.flags?""+e.value:2048&e.flags?wn.pseudoBigIntToString(e.value):98816&e.flags?e.intrinsicName:void 0}function wu(e,n){var t,r,a,i;return 1179648&n.flags?Sg(n,(function(n){return wu(e,n)})):Wu(n)?(r=n,a=rk(t=e)+","+r.id,(i=Rn.get(a))||Rn.set(a,i=((e,n)=>{var t=Gi(268435456);return t.symbol=e,t.type=n,t})(t,r)),i):128&n.flags?Dp(((e,n)=>{switch(zn.get(e.escapedName)){case 0:return n.toUpperCase();case 1:return n.toLowerCase();case 2:return n.charAt(0).toUpperCase()+n.slice(1);case 3:return n.charAt(0).toLowerCase()+n.slice(1)}return n})(e,n.value)):n}function Mu(e){var n;return!C&&(!!(8192&wn.getObjectFlags(e))||(1048576&e.flags?wn.every(e.types,Mu):2097152&e.flags?wn.some(e.types,Mu):!!(465829888&e.flags)&&(n=tl(e))!==e&&Mu(n)))}function Fu(e,n){return ec(e)?ic(e):n&&wn.isPropertyName(n)?wn.getPropertyNameForPropertyNameNode(n):void 0}function Gu(e,n){var t;return!(8208&n.flags)||(t=wn.findAncestor(e.parent,(function(e){return!wn.isAccessExpression(e)}))||e.parent,wn.isCallLikeExpression(t)?wn.isCallOrNewExpression(t)&&wn.isIdentifier(e)&&Zf(t,e):wn.every(n.declarations,(function(e){return!wn.isFunctionLike(e)||!!(134217728&wn.getCombinedNodeFlags(e))})))}function Bu(e,n,t,r,a,i){var o=a&&205===a.kind?a:void 0,s=a&&wn.isPrivateIdentifier(a)?void 0:Fu(t,a);if(void 0!==s){if(256&i)return Ey(n,s)||Xn;var c=gl(n,s);if(c){if(64&i&&a&&c.declarations&&134217728&hh(c)&&Gu(a,c)&&ba(null!=(l=null==o?void 0:o.argumentExpression)?l:wn.isIndexedAccessTypeNode(a)?a.indexType:a,c.declarations,s),o){if(qh(c,o,Xh(o.expression,n.symbol)),Gb(o,c,wn.getAssignmentTargetKind(o)))return void fa(o.argumentExpression,wn.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,so(c));if(8&i&&(ka(a).resolvedSymbol=c),wh(o,c))return Yn}var l=hs(c);return o&&1!==wn.getAssignmentTargetKind(o)?Kg(o,l):l}if(bg(n,C_)&&Hy(s)&&0<=+s)return!a||!bg(n,(function(e){return!e.target.hasRestElement}))||16&i||(d=Uu(a),C_(n)?fa(d,wn.Diagnostics.Tuple_type_0_of_length_1_has_no_element_at_index_2,lo(n),hd(n),wn.unescapeLeadingUnderscores(s)):fa(d,wn.Diagnostics.Property_0_does_not_exist_on_type_1,wn.unescapeLeadingUnderscores(s),lo(n))),u(xl(n,lt)),Sg(n,(function(e){return e=k_(e)||tt,1&i?gu([e,tt]):e}))}if(!(98304&t.flags)&&Kb(t,402665900)){if(131073&n.flags)return n;var d;c=Al(n,t)||xl(n,ct);if(c)return 2&i&&c.keyType!==lt?void(o&&fa(o,wn.Diagnostics.Type_0_cannot_be_used_to_index_type_1,lo(t),lo(e))):(a&&c.keyType===ct&&!Kb(t,12)?fa(d=Uu(a),wn.Diagnostics.Type_0_cannot_be_used_as_an_index_type,lo(t)):u(c),1&i?gu([c.type,tt]):c.type);if(131072&t.flags)return ht;if(Mu(n))return Xn;if(o&&!Wb(n)){if(kf(n)){if(C&&384&t.flags)return Pr.add(wn.createDiagnosticForNode(o,wn.Diagnostics.Property_0_does_not_exist_on_type_1,t.value,lo(n))),tt;if(12&t.flags)return l=wn.map(n.properties,hs),gu(wn.append(l,tt))}return void(n.symbol===Te&&void 0!==s&&Te.exports.has(s)&&418&Te.exports.get(s).flags?fa(o,wn.Diagnostics.Property_0_does_not_exist_on_type_1,wn.unescapeLeadingUnderscores(s),lo(n)):!C||v.suppressImplicitAnyIndexErrors||128&i||(void 0!==s&&Uh(s,n)?(e=lo(n),fa(o,wn.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,s,e,e+"["+wn.getTextOfNode(o.argumentExpression)+"]")):Ll(n,lt)?fa(o.argumentExpression,wn.Diagnostics.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number):(c=void 0)!==s&&(c=Hh(s,n))?void 0!==c&&fa(o.argumentExpression,wn.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,s,lo(n),c):void 0!==(l=((e,n,t)=>{var r=wn.isAssignmentTarget(n)?"set":"get";if((n=>(n=(n=Hc(e,n))&&dv(hs(n)))&&1<=fb(n)&&hm(t,ub(n,0)))(r))return void 0===(n=wn.tryGetPropertyAccessOrIdentifierToString(n.expression))?n=r:n+="."+r,n})(n,o,t))?fa(o,wn.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,lo(n),l):(e=void 0,1024&t.flags?e=wn.chainDiagnosticMessages(void 0,wn.Diagnostics.Property_0_does_not_exist_on_type_1,"["+lo(t)+"]",lo(n)):8192&t.flags?(s=ui(t.symbol,o),e=wn.chainDiagnosticMessages(void 0,wn.Diagnostics.Property_0_does_not_exist_on_type_1,"["+s+"]",lo(n))):128&t.flags||256&t.flags?e=wn.chainDiagnosticMessages(void 0,wn.Diagnostics.Property_0_does_not_exist_on_type_1,t.value,lo(n)):12&t.flags&&(e=wn.chainDiagnosticMessages(void 0,wn.Diagnostics.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,lo(t),lo(n))),e=wn.chainDiagnosticMessages(e,wn.Diagnostics.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,lo(r),lo(n)),Pr.add(wn.createDiagnosticForNodeFromMessageChain(o,e)))))}}return Mu(n)?Xn:(a&&(d=Uu(a),384&t.flags?fa(d,wn.Diagnostics.Property_0_does_not_exist_on_type_1,""+t.value,lo(n)):12&t.flags?fa(d,wn.Diagnostics.Type_0_has_no_matching_index_signature_for_type_1,lo(n),lo(t)):fa(d,wn.Diagnostics.Type_0_cannot_be_used_as_an_index_type,lo(t))),Io(t)?t:void 0);function u(e){e&&e.isReadonly&&o&&(wn.isAssignmentTarget(o)||wn.isDeleteTarget(o))&&fa(o,wn.Diagnostics.Index_signature_in_type_0_only_permits_reading,lo(n))}}function Uu(e){return 205===e.kind?e.argumentExpression:192===e.kind?e.indexType:160===e.kind?e.expression:e}function Vu(e){return!!(77&e.flags)}function ju(e){return!!(134217728&e.flags)&&wn.every(e.types,Vu)}function Ku(e){return!!zu(e)}function Hu(e){return 8388608&zu(e)}function Wu(e){return!!(16777216&zu(e))}function zu(e){return 3145728&e.flags?(4194304&e.objectFlags||(e.objectFlags|=4194304|wn.reduceLeft(e.types,(function(e,n){return e|zu(n)}),0)),25165824&e.objectFlags):33554432&e.flags?(4194304&e.objectFlags||(e.objectFlags|=4194304|zu(e.substitute)|zu(e.baseType)),25165824&e.objectFlags):(58982400&e.flags||Vc(e)||I_(e)?8388608:0)|(465829888&e.flags&&!ju(e)?16777216:0)}function Ju(e){return 262144&e.flags&&e.isThisType}function qu(e,n){if(8388608&e.flags){var t=e,r=n,a=r?"simplifiedForWriting":"simplifiedForReading";if(t[a])return t[a]===Gt?t:t[a];t[a]=Gt;var i=qu(t.objectType,r),o=qu(t.indexType,r),s=((e,n,t)=>{if(1048576&n.flags)return n=wn.map(n.types,(function(n){return qu(Zu(e,n),t)})),(t?Tu:gu)(n)})(i,o,r);return s?t[a]=s:465829888&o.flags||(s=Xu(i,o,r),!s)?I_(i)&&296&o.flags&&(s=R_(i,8&o.flags?0:i.target.fixedLength,0,r),s)?t[a]=s:Vc(i)?t[a]=Sg(Qu(i,t.indexType),(function(e){return qu(e,r)})):t[a]=t:t[a]=s}if(16777216&e.flags){if(o=e,s=n,i=o.checkType,a=o.extendsType,t=cp(o),n=lp(o),131072&n.flags&&rp(t)===rp(i)){if(1&i.flags||hm(sm(i),sm(a)))return qu(t,s);if(Yu(i,a))return ht}else if(131072&t.flags&&rp(n)===rp(i)){if(!(1&i.flags)&&hm(sm(i),sm(a)))return ht;if(1&i.flags||Yu(i,a))return qu(n,s)}return o}return e}function Xu(e,n,t){var r;if(3145728&e.flags)return r=wn.map(e.types,(function(e){return qu(Zu(e,n),t)})),(2097152&e.flags||t?Tu:gu)(r)}function Yu(e,n){return 131072&gu([Ec(e,n),ht]).flags}function Qu(e,n){return n=Bp([kc(e)],[n]),n=Wp(e.mapper,n),am(Pc(e),n)}function Zu(e,n,t,r,a,i){return ep(e,n,t=void 0===t?0:t,r,a,i)||(r?Zn:nt)}function $u(e,n){return bg(e,(function(e){if(384&e.flags){e=ic(e);if(Hy(e))return 0<=(e=+e)&&e<n}return!1}))}function ep(e,n,t,r,a,i){if(void 0===t&&(t=0),e===Qn||n===Qn)return Qn;var o,s,c,l,d,u,p;if(!Mm(e)||98304&n.flags||!Kb(n,12)||(n=ct),v.noUncheckedIndexedAccess&&32&t&&(t|=1),Wu(n)||(r&&192!==r.kind?I_(e)&&!$u(n,e.target.fixedLength):Hu(e)&&(!C_(e)||!$u(n,e.target.fixedLength))))return 3&e.flags?e:(s=e.id+","+n.id+","+(l=1&t)+pd(a,i),(o=Nn.get(s))||Nn.set(s,(s=e,c=n,l=l,d=a,u=i,(p=Gi(8388608)).objectType=s,p.indexType=c,p.accessFlags=l,p.aliasSymbol=d,p.aliasTypeArguments=u,o=p)),o);var m=sl(e);if(!(1048576&n.flags)||16&n.flags)return Bu(e,m,n,n,r,72|t);for(var _=[],f=!1,g=0,y=n.types;g<y.length;g++){var h=Bu(e,m,y[g],n,r,t|(f?128:0));if(h)_.push(h);else{if(!r)return;f=!0}}return f?void 0:4&t?Tu(_,a,i):gu(_,1,a,i)}function np(e){var n,t,r,a=ka(e);return a.resolvedType||(r=Zu(n=Op(e.objectType),t=Op(e.indexType),0,e,r=_p(e),fp(r)),a.resolvedType=8388608&r.flags&&r.objectType===n&&r.indexType===t?Ad(r,e):r),a.resolvedType}function tp(e){var n,t=ka(e);return t.resolvedType||((n=Vi(32,e.symbol)).declaration=e,n.aliasSymbol=_p(e),n.aliasTypeArguments=fp(n.aliasSymbol),Rc(t.resolvedType=n)),t.resolvedType}function rp(e){return 33554432&e.flags?e.baseType:8388608&e.flags&&(33554432&e.objectType.flags||33554432&e.indexType.flags)?Zu(rp(e.objectType),rp(e.indexType)):e}function ap(e){return!e.isDistributive&&ip(e.node.checkType)&&ip(e.node.extendsType)}function ip(e){return wn.isTupleTypeNode(e)&&1===wn.length(e.elements)&&!wn.isOptionalTypeNode(e.elements[0])&&!wn.isRestTypeNode(e.elements[0])}function op(e,n){return ap(e)&&C_(n)?yd(n)[0]:n}function sp(e,n,t,r){for(var a,i;;){var o=ap(e),s=am(op(e,rp(e.checkType)),n),c=Ku(s),l=am(op(e,e.extendsType),n);if(s===Qn||l===Qn)return Qn;var d=void 0,u=(e.inferTypeParameters&&(u=sf(e.inferTypeParameters,void 0,0),c||Cf(u.inferences,s,l,1536),d=n?Wp(u.mapper,n):u.mapper),d?am(op(e,e.extendsType),d):l);if(!c&&!Ku(u)){if(!(3&u.flags)&&(1&s.flags&&!o||!hm(om(s),om(u)))){if(1&s.flags&&!o&&(i=i||[]).push(am(Op(e.node.trueType),d||n)),l=Op(e.node.falseType),16777216&l.flags&&(c=l.root,c.node.parent===e.node&&(!c.isDistributive||c.checkType===e.checkType))){e=c;continue}a=am(l,n);break}if(3&u.flags||hm(sm(s),sm(u))){a=am(Op(e.node.trueType),d||n);break}}(a=Gi(16777216)).root=e,a.checkType=am(e.checkType,n),a.extendsType=am(e.extendsType,n),a.mapper=n,a.combinedMapper=d,a.aliasSymbol=t||e.aliasSymbol,a.aliasTypeArguments=t?r:Mp(e.aliasTypeArguments,n);break}return i?gu(wn.append(i,a)):a}function cp(e){return e.resolvedTrueType||(e.resolvedTrueType=am(Op(e.root.node.trueType),e.mapper))}function lp(e){return e.resolvedFalseType||(e.resolvedFalseType=am(Op(e.root.node.falseType),e.mapper))}function dp(e){var n;return e.locals&&e.locals.forEach((function(e){262144&e.flags&&(n=wn.append(n,Hs(e)))})),n}function up(e){var n=ka(e);if(!n.resolvedType){if(e.isTypeOf&&e.typeArguments)return fa(e,wn.Diagnostics.Type_arguments_cannot_be_used_here),n.resolvedSymbol=Jn,n.resolvedType=Zn;if(!wn.isLiteralImportTypeNode(e))return fa(e.argument,wn.Diagnostics.String_literal_expected),n.resolvedSymbol=Jn,n.resolvedType=Zn;var t=e.isTypeOf?111551:4194304&e.flags?900095:788968,r=_i(e,e.argument.literal);if(!r)return n.resolvedSymbol=Jn,n.resolvedType=Zn;if(r=hi(r,!1),wn.nodeIsMissing(e.qualifier))r.flags&t?n.resolvedType=pp(e,n,r,t):(fa(e,111551==t?wn.Diagnostics.Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:wn.Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0,e.argument.literal.text),n.resolvedSymbol=Jn,n.resolvedType=Zn);else{for(var a,i=function e(n){return wn.isIdentifier(n)?[n]:wn.append(e(n.left),n.right)}(e.qualifier),o=r;a=i.shift();){var s=i.length?1920:t,c=Ci(ri(o));c=e.isTypeOf?gl(hs(c),a.escapedText):Oa(xi(c),a.escapedText,s);if(!c)return fa(a,wn.Diagnostics.Namespace_0_has_no_exported_member_1,ui(o),wn.declarationNameToString(a)),n.resolvedType=Zn;ka(a).resolvedSymbol=c,o=ka(a.parent).resolvedSymbol=c}n.resolvedType=pp(e,n,o,t)}}return n.resolvedType}function pp(e,n,t,r){var a=ri(t);return n.resolvedSymbol=a,111551===r?hs(t):xd(e,a)}function mp(e){var n,t,r=ka(e);return r.resolvedType||(n=_p(e),0!==cc(e.symbol).size||n?((t=Vi(16,e.symbol)).aliasSymbol=n,t.aliasTypeArguments=fp(n),wn.isJSDocTypeLiteral(e)&&e.isArrayType&&(t=qd(t)),r.resolvedType=t):r.resolvedType=Pt),r.resolvedType}function _p(e){for(var n=e.parent;wn.isParenthesizedTypeNode(n)||wn.isJSDocTypeExpression(n)||wn.isTypeOperatorNode(n)&&143===n.operator;)n=n.parent;return wn.isTypeAlias(n)?Ii(n):void 0}function fp(e){return e?Ds(e):void 0}function gp(e){return 524288&e.flags&&!Vc(e)}function yp(e){return Pm(e)||!!(474058748&e.flags)}function hp(e,n){if(!(1048576&e.flags))return e;if(wn.every(e.types,yp))return wn.find(e.types,Pm)||kt;var t=wn.find(e.types,(function(e){return!yp(e)}));if(!t)return e;if(wn.find(e.types,(function(e){return e!==t&&!yp(e)})))return e;e=t;for(var r=wn.createSymbolTable(),a=0,i=zc(e);a<i.length;a++){var o,s,c=i[a];24&wn.getDeclarationModifierFlagsFromSymbol(c)||bp(c)&&(o=65536&c.flags&&!(32768&c.flags),(s=Ea(16777220,c.escapedName,Ic(c)|(n?8:0))).type=o?tt:Vo(hs(c),!0),s.declarations=c.declarations,s.nameType=Na(c).nameType,s.syntheticOrigin=c,r.set(c.escapedName,s))}return(e=zi(e.symbol,r,wn.emptyArray,wn.emptyArray,Sl(e))).objectFlags|=262272,e}function vp(e,n,t,r,a){if(1&e.flags||1&n.flags)return Xn;if(2&e.flags||2&n.flags)return nt;if(131072&e.flags)return n;if(131072&n.flags)return e;if(1048576&(e=hp(e,a)).flags)return xu([e,n])?Sg(e,(function(e){return vp(e,n,t,r,a)})):Zn;if(1048576&(n=hp(n,a)).flags)return xu([e,n])?Sg(n,(function(n){return vp(e,n,t,r,a)})):Zn;if(473960444&n.flags)return e;if(Hu(e)||Hu(n)){if(Pm(e))return n;if(2097152&e.flags){var i=e.types,o=i[i.length-1];if(gp(o)&&gp(n))return Tu(wn.concatenate(i.slice(0,i.length-1),[vp(o,n,t,r,a)]))}return Tu([e,n])}for(var s=wn.createSymbolTable(),c=new wn.Set,l=(i=e===kt?Sl(n):bc([e,n]),0),d=zc(n);l<d.length;l++){var u=d[l];24&wn.getDeclarationModifierFlagsFromSymbol(u)?c.add(u.escapedName):bp(u)&&s.set(u.escapedName,Ep(u,a))}for(var p=0,m=zc(e);p<m.length;p++){var _,f,g,y=m[p];!c.has(y.escapedName)&&bp(y)&&(s.has(y.escapedName)?(_=hs(u=s.get(y.escapedName)),16777216&u.flags&&(f=wn.concatenate(y.declarations,u.declarations),(g=Ea(4|16777216&y.flags,y.escapedName)).type=gu([hs(y),J_(_)]),g.leftSpread=y,g.rightSpread=u,g.declarations=f,g.nameType=Na(y).nameType,s.set(y.escapedName,g))):s.set(y.escapedName,Ep(y,a)))}return o=zi(t,s,wn.emptyArray,wn.emptyArray,wn.sameMap(i,(function(e){return n=a,(e=e).isReadonly!==n?ad(e.keyType,e.type,n,e.declaration):e;var n}))),o.objectFlags|=4456576|r,o}function bp(e){return!(wn.some(e.declarations,wn.isPrivateIdentifierClassElementDeclaration)||106496&e.flags&&null!=(e=e.declarations)&&e.some((function(e){return wn.isClassLike(e.parent)})))}function Ep(e,n){var t=65536&e.flags&&!(32768&e.flags);return t||n!==Fb(e)?((n=Ea(4|16777216&e.flags,e.escapedName,Ic(e)|(n?8:0))).type=t?tt:hs(e),n.declarations=e.declarations,n.nameType=Na(e).nameType,n.syntheticOrigin=e,n):e}function Tp(e,n,t,r){return e=Gi(e),e.symbol=t,e.value=n,e.regularType=r||e,e}function Sp(e){var n;return 2944&e.flags?(e.freshType||((n=Tp(e.flags,e.value,e.symbol,e)).freshType=n,e.freshType=n),e.freshType):e}function xp(e){return 2944&e.flags?e.regularType:1048576&e.flags?e.regularType||(e.regularType=Sg(e,xp)):e}function Lp(e){return!!(2944&e.flags)&&e.freshType===e}function Dp(e){return Dn.get(e)||(Dn.set(e,e=Tp(128,e)),e)}function Ap(e){return An.get(e)||(An.set(e,e=Tp(256,e)),e)}function Cp(e){var n=wn.pseudoBigIntToString(e);return Cn.get(n)||(Cn.set(n,n=Tp(2048,e)),n)}function Ip(e){var n;return wn.isValidESSymbolDeclaration(e)?(n=Na(e=Ii(e))).uniqueESSymbolType||(n.uniqueESSymbolType=(n=e,(e=Gi(8192)).symbol=n,e.escapedName="__@"+e.symbol.escapedName+"@"+rk(e.symbol),e)):gt}function Np(e){var n,t,r,a=ka(e);return a.resolvedType||(a.resolvedType=(e=e,t=wn.getThisContainer(e,!1),!(r=t&&t.parent)||!wn.isClassLike(r)&&256!==r.kind||wn.isStatic(t)||wn.isConstructorDeclaration(t)&&!wn.isNodeDescendantOf(e,t.body)?r&&wn.isObjectLiteralExpression(r)&&wn.isBinaryExpression(r.parent)&&6===wn.getAssignmentDeclarationKind(r.parent)?Ms(Ii(r.parent.left).parent).thisType:(n=4194304&e.flags?wn.getHostSignatureFromJSDoc(e):void 0)&&wn.isFunctionExpression(n)&&wn.isBinaryExpression(n.parent)&&3===wn.getAssignmentDeclarationKind(n.parent)?Ms(Ii(n.parent.left).parent).thisType:Wv(t)&&wn.isNodeDescendantOf(e,t.body)?Ms(Ii(t)).thisType:(fa(e,wn.Diagnostics.A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface),Zn):Ms(Ii(r)).thisType)),a.resolvedType}function kp(e){return Op(Rp(e.type)||e.type)}function Rp(e){switch(e.kind){case 189:return Rp(e.type);case 182:if(1===e.elements.length&&(184===(e=e.elements[0]).kind||195===e.kind&&e.dotDotDotToken))return Rp(e.type);break;case 181:return e.elementType}}function Op(e){return Ad(Pp(e),e)}function Pp(e){switch(e.kind){case 129:case 307:case 308:return Xn;case 153:return nt;case 148:return ct;case 145:return lt;case 156:return dt;case 132:return ft;case 149:return gt;case 114:return yt;case 151:return tt;case 104:return ot;case 142:return ht;case 146:return 131072&e.flags&&!C?Xn:St;case 137:return et;case 190:case 108:return Np(e);case 194:return 104===(y=e).literal.kind?ot:((h=ka(y)).resolvedType||(h.resolvedType=xp(yE(y.literal))),h.resolvedType);case 176:return kd(e);case 175:return e.assertsModifier?yt:ft;case 226:return kd(e);case 179:return Od(e);case 181:case 182:return(h=ka(y=e)).resolvedType||((f=Qd(y))===wt?h.resolvedType=kt:182===y.kind&&wn.some(y.elements,(function(e){return!!(8&Xd(e))}))||!Zd(y)?(g=181===y.kind?[Op(y.elementType)]:wn.map(y.elements,Op),h.resolvedType=iu(f,g)):h.resolvedType=182===y.kind&&0===y.elements.length?f:gd(f,y,void 0)),h.resolvedType;case 183:return Vo(Op(e.type),!0);case 185:return(f=ka(g=e)).resolvedType||(_=_p(g),f.resolvedType=gu(wn.map(g.types,Op),1,_,fp(_))),f.resolvedType;case 186:return(m=ka(_=e)).resolvedType||(p=_p(_),m.resolvedType=Tu(wn.map(_.types,Op),p,fp(p))),m.resolvedType;case 309:return p=Op((p=e).type),x?G_(p,65536):p;case 311:return Vo(Op(e.type));case 195:return(a=ka(m=e)).resolvedType||(a.resolvedType=m.dotDotDotToken?kp(m):Vo(Op(m.type),!0,!!m.questionToken));case 189:case 310:case 304:return Op(e.type);case 184:return kp(e);case 313:var n=Op((a=e).type),t=a.parent,r=a.parent.parent;if(wn.isJSDocTypeExpression(a.parent)&&wn.isJSDocParameterTag(r)){var a=wn.getHostSignatureFromJSDoc(r),i=wn.isJSDocCallbackTag(r.parent.parent);if((a||i)&&(i=i?wn.lastOrUndefined(r.parent.parent.typeExpression.parameters):wn.lastOrUndefined(a.parameters),a=wn.getParameterSymbolFromJSDoc(r),!i||a&&i.symbol===a&&wn.isRestParameter(i)))return qd(n)}return(wn.isParameter(t)&&wn.isJSDocFunctionType(t.parent)?qd:Vo)(n);case 177:case 178:case 180:case 317:case 312:case 318:return mp(e);case 191:var o=e,s=ka(o);if(!s.resolvedType)switch(o.operator){case 139:s.resolvedType=ku(Op(o.type));break;case 152:s.resolvedType=149===o.type.kind?Ip(wn.walkUpParenthesizedTypes(o.parent)):Zn;break;case 143:s.resolvedType=Op(o.type);break;default:throw wn.Debug.assertNever(o.operator)}return s.resolvedType;case 192:return np(e);case 193:return tp(e);case 187:return(r=ka(d=e)).resolvedType||(i=Op(d.checkType),n=fp(t=_p(d)),u=xs(d,!0),u=n?u:wn.filter(u,(function(e){return Qp(e,d)})),i={node:d,checkType:i,extendsType:Op(d.extendsType),isDistributive:!!(262144&i.flags),inferTypeParameters:dp(d),outerTypeParameters:u,instantiations:void 0,aliasSymbol:t,aliasTypeArguments:n},r.resolvedType=sp(i,void 0),u&&(i.instantiations=new wn.Map,i.instantiations.set(ud(u),r.resolvedType))),r.resolvedType;case 188:return(l=ka(u=e)).resolvedType||(l.resolvedType=Ks(Ii(u.typeParameter))),l.resolvedType;case 196:return(c=ka(l=e)).resolvedType||(c.resolvedType=Ou(eu([l.head.text],wn.map(l.templateSpans,(function(e){return e.literal.text})),!0),wn.map(l.templateSpans,(function(e){return Op(e.type)})))),c.resolvedType;case 198:return up(e);case 79:case 159:case 204:return c=HS(e),c?Hs(c):Zn;default:return Zn}var c,l,d,u,p,m,_,f,g,y,h}function wp(e,n,t){if(e&&e.length)for(var r=0;r<e.length;r++){var a=e[r],i=t(a,n);if(a!==i){var o=0===r?[]:e.slice(0,r);for(o.push(i),r++;r<e.length;r++)o.push(t(e[r],n));return o}}return e}function Mp(e,n){return wp(e,n,am)}function Fp(e,n){return wp(e,n,Xp)}function Gp(e,n){return wp(e,n,cm)}function Bp(e,n){return 1===e.length?Vp(e[0],n?n[0]:Xn):{kind:1,sources:e,targets:n}}function Up(e,n){switch(n.kind){case 0:return e===n.source?n.target:e;case 1:for(var t=n.sources,r=n.targets,a=0;a<t.length;a++)if(e===t[a])return r?r[a]:Xn;return e;case 2:return n.func(e);case 3:case 4:var i=Up(e,n.mapper1);return(i!==e&&3===n.kind?am:Up)(i,n.mapper2)}}function Vp(e,n){return{kind:0,source:e,target:n}}function jp(e){return{kind:2,func:e}}function Kp(e,n,t){return{kind:e,mapper1:n,mapper2:t}}function Hp(e){return Bp(e,void 0)}function Wp(e,n){return e?Kp(3,e,n):n}function zp(e,n,t){return t?Kp(4,Vp(e,n),t):Vp(e,n)}function Jp(e,n,t){return e?Kp(4,e,Vp(n,t)):Vp(n,t)}function qp(e){var n=ji(e.symbol);return n.target=e,n}function Xp(e,n,t){var r;if(e.typeParameters&&!t){r=wn.map(e.typeParameters,qp),n=Wp(Bp(e.typeParameters,r),n);for(var a=0,i=r;a<i.length;a++)i[a].mapper=n}return t=pc(e.declaration,r,e.thisParameter&&Yp(e.thisParameter,n),wp(e.parameters,n,Yp),void 0,void 0,e.minArgumentCount,39&e.flags),t.target=e,t.mapper=n,t}function Yp(e,n){var t=Na(e);if(t.type&&!_f(t.type))return e;1&wn.getCheckFlags(e)&&(e=t.target,n=Wp(t.mapper,n));var r=Ea(e.flags,e.escapedName,1|53256&wn.getCheckFlags(e));return r.declarations=e.declarations,r.parent=e.parent,r.target=e,r.mapper=n,e.valueDeclaration&&(r.valueDeclaration=e.valueDeclaration),t.nameType&&(r.nameType=t.nameType),r}function Qp(e,n){if(e.symbol&&e.symbol.declarations&&1===e.symbol.declarations.length){for(var t=e.symbol.declarations[0].parent,r=n;r!==t;r=r.parent)if(!r||233===r.kind||187===r.kind&&wn.forEachChild(r.extendsType,a))return!0;return a(n)}return!0;function a(n){switch(n.kind){case 190:return!!e.isThisType;case 79:return!e.isThisType&&wn.isPartOfTypeNode(n)&&!(176===(t=n).parent.kind&&t.parent.typeArguments&&t===t.parent.typeName||198===t.parent.kind&&t.parent.typeArguments&&t===t.parent.qualifier)&&Pp(n)===e;case 179:return!0;case 167:case 166:return!n.type&&!!n.body||wn.some(n.typeParameters,a)||wn.some(n.parameters,a)||!!n.type&&a(n.type)}var t;return!!wn.forEachChild(n,a)}}function Zp(e){if(e=Rc(e),4194304&e.flags&&(e=rp(e.type),262144&e.flags))return e}function $p(e,n,t,r){var a=Zp(e);if(a){var i=am(a,n);if(a!==i)return xg(ul(i),(function(t){if(61603843&t.flags&&t!==Qn&&t!==Zn){if(!e.declaration.nameType){if(l_(t))return u=zp(a,g=t,n),(u=nm(r=e,lt,!0,u))===Zn?Zn:qd(u,em(d_(g),Gc(r)));if(I_(t))return p=e,m=a,_=n,f=(u=t).target.elementFlags,g=wn.map(yd(u),(function(e,n){return e=8&f[n]?e:4&f[n]?qd(e):tu([e],[f[n]]),$p(p,zp(m,e,_))})),u=em(u.target.readonly,Gc(p)),tu(g,wn.map(g,(function(e){return 8})),u);if(C_(t))return i=e,o=zp(a,r=t,n),s=r.target.elementFlags,c=wn.map(yd(r),(function(e,n){return nm(i,Dp(""+n),!!(2&s[n]),o)})),l=Gc(i),d=4&l?wn.map(s,(function(e){return 1&e?2:e})):8&l?wn.map(s,(function(e){return 2&e?1:e})):s,l=em(r.target.readonly,l),wn.contains(c,Zn)?Zn:tu(c,d,l,r.target.labeledElementDeclarations)}return tm(e,zp(a,t,n))}var r,i,o,s,c,l,d,u,p,m,_,f,g;return t}),t,r)}return am(Rc(e),n)===Qn?Qn:tm(e,n,t,r)}function em(e,n){return!!(1&n)||!(2&n)&&e}function nm(e,n,t,r){return r=Jp(r,kc(e),n),n=am(Pc(e.target||e),r),r=Gc(e),x&&4&r&&!jb(n,49152)?B_(n,!0):x&&8&r&&t?rg(n,524288):n}function tm(e,n,t,r){var a,i,o=Vi(64|e.objectFlags,e.symbol);return 32&e.objectFlags&&(o.declaration=e.declaration,i=qp(a=kc(e)),n=Wp(Vp(a,o.typeParameter=i),n),i.mapper=n),o.target=e,o.mapper=n,o.aliasSymbol=t||e.aliasSymbol,o.aliasTypeArguments=t?r:Mp(e.aliasTypeArguments,n),o}function rm(e,n,t,r){var a,i,o,s=e.root;return s.outerTypeParameters?(i=ud(a=wn.map(s.outerTypeParameters,(function(e){return Up(e,n)})))+pd(t,r),(o=s.instantiations.get(i))||(o=((e,n,t,r)=>{if(e.isDistributive){var a=e.checkType,i=Up(a,n);if(a!==i&&1179648&i.flags)return xg(i,(function(t){return sp(e,zp(a,t,n))}),t,r)}return sp(e,n,t,r)})(s,Bp(s.outerTypeParameters,a),t,r),s.instantiations.set(i,o)),o):e}function am(e,n){return e&&n?im(e,n,void 0,void 0):e}function im(e,n,t,r){return _f(e)?50===g||5e6<=f?(null!=wn.tracing&&wn.tracing.instant("checkTypes","instantiateType_DepthLimit",{typeId:e.id,instantiationDepth:g,instantiationCount:f}),fa(i,wn.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite),Zn):(_++,f++,g++,e=((e,n,t,r)=>{var a,i,o=e.flags;if(262144&o)return Up(e,n);if(524288&o){var s,c,l=e.objectFlags;if(52&l)return 4&l&&!e.node?(s=e.resolvedTypeArguments,(c=Mp(s,n))!==s?iu(e.target,c):e):1024&l?((e,n)=>{var t=am(e.mappedType,n);if(32&wn.getObjectFlags(t)){var r=am(e.constraintType,n);if(4194304&r.flags&&(n=yf(am(e.source,n),t,r),n))return n}return e})(e,n):((e,n,t,r)=>{var a,i,o,s,c=4&e.objectFlags?e.node:e.symbol.declarations[0],l=ka(c),d=4&e.objectFlags?l.resolvedType:64&e.objectFlags?e.target:e,u=l.outerTypeParameters;return u||(s=xs(c,!0),Wv(c)&&(o=Il(c),s=wn.addRange(s,o)),u=s||wn.emptyArray,a=4&e.objectFlags?[c]:e.symbol.declarations,u=(4&d.objectFlags||8192&d.symbol.flags||2048&d.symbol.flags)&&!d.aliasTypeArguments?wn.filter(u,(function(e){return wn.some(a,(function(n){return Qp(e,n)}))})):u,l.outerTypeParameters=u),u.length?(i=Wp(e.mapper,n),o=wn.map(u,(function(e){return Up(e,i)})),s=t||e.aliasSymbol,c=t?r:Mp(e.aliasTypeArguments,n),l=ud(o)+pd(s,c),d.instantiations||(d.instantiations=new wn.Map,d.instantiations.set(ud(u)+pd(d.aliasSymbol,d.aliasTypeArguments),d)),(t=d.instantiations.get(l))||(r=Bp(u,o),t=4&d.objectFlags?gd(e.target,e.node,r,s,c):(32&d.objectFlags?$p:tm)(d,r,s,c),d.instantiations.set(l,t)),t):e})(e,n,t,r)}else{if(3145728&o)return s=1048576&e.flags?e.origin:void 0,c=(s&&3145728&s.flags?s:e).types,(l=Mp(c,n))===c&&t===e.aliasSymbol?e:(a=t||e.aliasSymbol,i=t?r:Mp(e.aliasTypeArguments,n),2097152&o||s&&2097152&s.flags?Tu(l,a,i):gu(l,1,a,i));if(4194304&o)return ku(am(e.type,n));if(134217728&o)return Ou(e.texts,Mp(e.types,n));if(268435456&o)return wu(e.symbol,am(e.type,n));if(8388608&o)return a=t||e.aliasSymbol,i=t?r:Mp(e.aliasTypeArguments,n),Zu(am(e.objectType,n),am(e.indexType,n),e.accessFlags,void 0,a,i);if(16777216&o)return rm(e,Wp(e.mapper,n),t,r);if(33554432&o)return 8650752&(c=am(e.baseType,n)).flags?Ld(c,am(e.substitute,n)):3&(s=am(e.substitute,n)).flags||hm(sm(c),sm(s))?c:s}return e})(e,n,t,r),g--,e):e}function om(e){return 262143&e.flags?e:e.permissiveInstantiation||(e.permissiveInstantiation=am(e,Nt))}function sm(e){return 262143&e.flags?e:(e.restrictiveInstantiation||(e.restrictiveInstantiation=am(e,It),e.restrictiveInstantiation.restrictiveInstantiation=e.restrictiveInstantiation),e.restrictiveInstantiation)}function cm(e,n){return ad(e.keyType,am(e.type,n),e.isReadonly,e.declaration)}function lm(e){switch(wn.Debug.assert(167!==e.kind||wn.isObjectLiteralMethod(e)),e.kind){case 211:case 212:case 167:case 254:return dm(e);case 203:return wn.some(e.properties,lm);case 202:return wn.some(e.elements,lm);case 220:return lm(e.whenTrue)||lm(e.whenFalse);case 219:return(56===e.operatorToken.kind||60===e.operatorToken.kind)&&(lm(e.left)||lm(e.right));case 291:return lm(e.initializer);case 210:return lm(e.expression);case 284:return wn.some(e.properties,lm)||wn.isJsxOpeningElement(e.parent)&&wn.some(e.parent.parent.children,lm);case 283:var n=e.initializer;return!!n&&lm(n);case 286:return n=e.expression,!!n&&lm(n)}return!1}function dm(e){return(!wn.isFunctionDeclaration(e)||wn.isInJSFile(e)&&!!Bo(e))&&(wn.hasContextSensitiveParameters(e)||!(e=e).typeParameters&&!wn.getEffectiveReturnTypeNode(e)&&!!e.body&&233!==e.body.kind&&lm(e.body))}function um(e){return(wn.isInJSFile(e)&&wn.isFunctionDeclaration(e)||Fy(e)||wn.isObjectLiteralMethod(e))&&dm(e)}function pm(e){if(524288&e.flags){var n,t=jc(e);if(t.constructSignatures.length||t.callSignatures.length)return(n=Vi(16,e.symbol)).members=t.members,n.properties=t.properties,n.callSignatures=wn.emptyArray,n.constructSignatures=wn.emptyArray,n.indexInfos=wn.emptyArray,n}else if(2097152&e.flags)return Tu(wn.map(e.types,pm));return e}function mm(e,n){return Bm(e,n,jr)}function _m(e,n){return Bm(e,n,jr)?-1:0}function fm(e,n){return Bm(e,n,Ur)?-1:0}function gm(e,n){return Bm(e,n,Gr)?-1:0}function ym(e,n){return Bm(e,n,Gr)}function hm(e,n){return Bm(e,n,Ur)}function vm(e,n){return 1048576&e.flags?wn.every(e.types,(function(e){return vm(e,n)})):1048576&n.flags?wn.some(n.types,(function(n){return vm(e,n)})):58982400&e.flags?vm($c(e)||nt,n):n===ke?!!(67633152&e.flags):n===Re?!!(524288&e.flags)&&ng(e):Ts(e,Es(n))||l_(n)&&!d_(n)&&vm(e,Me)}function bm(e,n){return Bm(e,n,Vr)}function Em(e,n){return bm(e,n)||bm(n,e)}function Tm(e,n,t,r,a,i){return jm(e,n,Ur,t,r,a,i)}function Sm(e,n,t,r,a,i){return xm(e,n,Ur,t,r,a,i,void 0)}function xm(e,n,t,r,a,i,o,s){return!!Bm(e,n,t)||(!r||!Dm(a,e,n,t,i,o,s))&&jm(e,n,t,r,i,o,s)}function Lm(e){return!!(16777216&e.flags||2097152&e.flags&&wn.some(e.types,Lm))}function Dm(e,n,t,r,a,i,o){if(e&&!Lm(t)){if(!jm(n,t,r,void 0)&&((e,n,t,r,a,i,o)=>{for(var s=hl(n,0),c=hl(n,1),l=0,d=[c,s];l<d.length;l++){var u,p=d[l];if(wn.some(p,(function(e){return e=zl(e),!(131073&e.flags)&&jm(e,t,r,void 0)})))return Tm(n,t,e,a,i,u=o||{}),u=u.errors[u.errors.length-1],wn.addRelatedInfo(u,wn.createDiagnosticForNode(e,p===c?wn.Diagnostics.Did_you_mean_to_use_new_with_this_expression:wn.Diagnostics.Did_you_mean_to_call_this_expression)),1}})(e,n,t,r,a,i,o))return!0;switch(e.kind){case 286:case 210:return Dm(e.expression,n,t,r,a,i,o);case 219:switch(e.operatorToken.kind){case 63:case 27:return Dm(e.right,n,t,r,a,i,o)}break;case 203:return A=e,C=n,N=r,k=i,R=o,!(131068&(I=t).flags)&&Am(function(e){var n,t,r,a;return ru(this,(function(i){switch(i.label){case 0:if(!wn.length(e.properties))return[2];n=0,t=e.properties,i.label=1;case 1:if(!(n<t.length))return[3,8];if(r=t[n],wn.isSpreadAssignment(r))return[3,7];if(!(a=Iu(Ii(r),8576))||131072&a.flags)return[3,7];switch(r.kind){case 171:case 170:case 167:case 292:return[3,2];case 291:return[3,4]}return[3,6];case 2:return[4,{errorNode:r.name,innerExpression:void 0,nameType:a}];case 3:return i.sent(),[3,7];case 4:return[4,{errorNode:r.name,innerExpression:r.initializer,nameType:a,errorMessage:wn.isComputedNonLiteralName(r.name)?wn.Diagnostics.Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:void 0}];case 5:return i.sent(),[3,7];case 6:wn.Debug.assertNever(r),i.label=7;case 7:return n++,[3,1];case 8:return[2]}}))}(A),C,I,N,k,R);case 202:if(A=e,C=n,I=t,N=r,k=i,R=o,131068&I.flags)return!1;if(y_(C))return Am(Im(A,I),C,I,N,k,R);C=A.contextualType,A.contextualType=I;try{var s=Vy(A,1,!0);return A.contextualType=C,!!y_(s)&&Am(Im(A,I),s,I,N,k,R)}finally{A.contextualType=C}return;case 284:var c,l=e,d=(s=n,t),u=r,p=i,m=o,_=Am(function(e){var n,t,r;return ru(this,(function(a){switch(a.label){case 0:if(!wn.length(e.properties))return[2];n=0,t=e.properties,a.label=1;case 1:return n<t.length?(r=t[n],wn.isJsxSpreadAttribute(r)||Qy(wn.idText(r.name))?[3,3]:[4,{errorNode:r.name,innerExpression:r.initializer,nameType:Dp(wn.idText(r.name))}]):[3,4];case 2:a.sent(),a.label=3;case 3:return n++,[3,1];case 4:return[2]}}))}(l),s,d,u,p,m);if(wn.isJsxOpeningElement(l.parent)&&wn.isJsxElement(l.parent.parent)){var f=l.parent.parent,g=ch(oh(l)),y=(g=void 0===g?"children":wn.unescapeLeadingUnderscores(g),Dp(g)),h=Zu(d,y),v=wn.getSemanticJsxChildren(f.children);if(!wn.length(v))return _;var b,E,T=1<wn.length(v),S=Eg(h,h_),x=Eg(h,(function(e){return!h_(e)}));T?S!==ht?(T=tu(eh(f,0)),D=function(e,n){var t,r,a,i;return ru(this,(function(o){switch(o.label){case 0:if(!wn.length(e.children))return[2];r=t=0,o.label=1;case 1:return r<e.children.length?(i=e.children[r],a=Ap(r-t),(i=Cm(i,a,n))?[4,i]:[3,3]):[3,5];case 2:return o.sent(),[3,4];case 3:t++,o.label=4;case 4:return r++,[3,1];case 5:return[2]}}))}(f,L),_=Am(D,T,S,u,p,m)||_):Bm(Zu(s,y),h,u)||(_=!0,E=fa(f.openingElement.tagName,wn.Diagnostics.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided,g,lo(h)),m&&m.skipLogging&&(m.errors||(m.errors=[])).push(E)):x!==ht?(b=Cm(v[0],y,L))&&(_=Am(function(){return ru(this,(function(e){switch(e.label){case 0:return[4,b];case 1:return e.sent(),[2]}}))}(),s,d,u,p,m)||_):Bm(Zu(s,y),h,u)||(_=!0,E=fa(f.openingElement.tagName,wn.Diagnostics.This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided,g,lo(h)),m&&m.skipLogging&&(m.errors||(m.errors=[])).push(E))}return _;function L(){var e,n,t,r;return c||(e=wn.getTextOfNode(l.parent.tagName),n=void 0===(n=ch(oh(l)))?"children":wn.unescapeLeadingUnderscores(n),t=Zu(d,Dp(n)),r=wn.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,c=nu(nu({},r),{key:"!!ALREADY FORMATTED!!",message:wn.formatMessage(void 0,r,e,n,lo(t))})),c}case 212:var D=e;T=n,S=t,x=r,v=i,p=o;if(!wn.isBlock(D.body)&&!wn.some(D.parameters,wn.hasType)&&(T=dv(T),T&&(y=hl(S,0),wn.length(y)&&(u=D.body,T=zl(T),y=gu(wn.map(y,zl)),!jm(T,y,x,void 0))))){if(f=u&&Dm(u,T,y,x,void 0,v,p),f)return f;if(f=p||{},jm(T,y,x,u,void 0,v,f),f.errors)return S.symbol&&wn.length(S.symbol.declarations)&&wn.addRelatedInfo(f.errors[f.errors.length-1],wn.createDiagnosticForNode(S.symbol.declarations[0],wn.Diagnostics.The_expected_type_comes_from_the_return_type_of_this_signature)),0==(2&wn.getFunctionFlags(D))&&!Co(T,"then")&&jm(Sb(T),y,x,void 0)&&wn.addRelatedInfo(f.errors[f.errors.length-1],wn.createDiagnosticForNode(D,wn.Diagnostics.Did_you_mean_to_mark_this_function_as_async)),!0}return!1}var A,C,I,N,k,R}return!1}function Am(e,n,t,r,a,i){for(var o=!1,s=e.next();!s.done;s=e.next()){var c,l,d,u=s.value,p=u.errorNode,m=u.innerExpression,_=u.nameType,f=(u=u.errorMessage,((e,n,t)=>{var r=ep(n,t);return r||(1048576&n.flags&&(r=Hm(e,n),r)?ep(r,t):void 0)})(n,t,_));!f||8388608&f.flags||(d=ep(n,_))&&(c=!!((l=Fu(_,void 0))&&16777216&(gl(t,l)||Jn).flags),l=!!(l&&16777216&(gl(n,l)||Jn).flags),f=W_(f,c),jm(d=W_(d,c&&l),f,r,void 0)||(m&&Dm(m,d,f,r,void 0,a,i)||(c=i||{},jm(l=m?((e,n)=>{e.contextualType=n;try{return oE(e,1,n)}finally{e.contextualType=void 0}})(m,d):d,f,r,p,u,a,c)&&l!==d&&jm(d,f,r,p,u,a,c),c.errors&&(m=c.errors[c.errors.length-1],l=!1,(f=void 0!==(d=ec(_)?ic(_):void 0)?gl(t,d):void 0)||(p=Al(t,_))&&p.declaration&&!wn.getSourceFileOfNode(p.declaration).hasNoDefaultLib&&(l=!0,wn.addRelatedInfo(m,wn.createDiagnosticForNode(p.declaration,wn.Diagnostics.The_expected_type_comes_from_this_index_signature))),!l)&&(f&&wn.length(f.declarations)||t.symbol&&wn.length(t.symbol.declarations))&&(u=(f&&wn.length(f.declarations)?f:t.symbol).declarations[0],wn.getSourceFileOfNode(u).hasNoDefaultLib||wn.addRelatedInfo(m,wn.createDiagnosticForNode(u,wn.Diagnostics.The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1,!d||8192&_.flags?lo(_):wn.unescapeLeadingUnderscores(d),lo(t))))),o=!0))}return o}function Cm(e,n,t){switch(e.kind){case 286:return{errorNode:e,innerExpression:e.expression,nameType:n};case 11:if(e.containsOnlyTriviaWhiteSpaces)break;return{errorNode:e,innerExpression:void 0,nameType:n,errorMessage:t()};case 276:case 277:case 280:return{errorNode:e,innerExpression:e,nameType:n};default:return wn.Debug.assertNever(e,"Found invalid jsx child")}}function Im(e,n){var t,r,a,i;return ru(this,(function(o){switch(o.label){case 0:if(!(t=wn.length(e.elements)))return[2];r=0,o.label=1;case 1:return r<t?y_(n)&&!gl(n,""+r)||(a=e.elements[r],wn.isOmittedExpression(a))?[3,3]:(i=Ap(r),[4,{errorNode:a,innerExpression:a,nameType:i}]):[3,4];case 2:o.sent(),o.label=3;case 3:return r++,[3,1];case 4:return[2]}}))}function Nm(e,n,t,r,a){jm(e,n,Vr,t,r,a)}function km(e,n,t,r,a,i,o,s){if(e===n)return-1;if(!(c=n).typeParameters&&(!c.thisParameter||Io(ob(c.thisParameter)))&&1===c.parameters.length&&ck(c)&&(ob(c.parameters[0])===je||Io(ob(c.parameters[0])))&&Io(zl(c)))return-1;var c=_b(n);if(!gb(n)&&(8&t?gb(e)||_b(e)>c:fb(e)>c))return 0;var l=_b(e=e.typeParameters&&e.typeParameters!==n.typeParameters?mv(e,n=ed(n),void 0,o):e),d=hb(e),u=hb(n);if((d||u)&&am(d||u,s),d&&u&&l!==c)return 0;var p=n.declaration?n.declaration.kind:0,m=!(3&t)&&L&&167!==p&&166!==p&&169!==p,_=-1;p=Kl(e);if(p&&p!==yt){var f=Kl(n);if(f){if(!(E=!m&&o(p,f,!1)||o(f,p,r)))return r&&a(wn.Diagnostics.The_this_types_of_each_signature_are_incompatible),0;_&=E}}for(var g=d||u?Math.min(l,c):Math.max(l,c),y=d||u?g-1:-1,h=0;h<g;h++){var v=(h===y?mb:pb)(e,h),b=(h===y?mb:pb)(n,h);if(v&&b){var E,T=3&t?void 0:dv(U_(v)),S=3&t?void 0:dv(U_(b));if(!(E=(E=T&&S&&!Hl(T)&&!Hl(S)&&(98304&w_(v))==(98304&w_(b))?km(S,T,8&t|(m?2:1),r,a,i,o,s):!(3&t)&&!m&&o(v,b,!1)||o(b,v,r))&&8&t&&h>=fb(e)&&h<fb(n)&&o(v,b,!1)?0:E))return r&&a(wn.Diagnostics.Types_of_parameters_0_and_1_are_incompatible,wn.unescapeLeadingUnderscores(cb(e,h)),wn.unescapeLeadingUnderscores(cb(n,h))),0;_&=E}}if(!(4&t)){if(f=ql(n)?Xn:n.declaration&&Wv(n.declaration)?Ms(Ci(n.declaration.symbol)):zl(n),f===yt)return _;if(p=ql(e)?Xn:e.declaration&&Wv(e.declaration)?Ms(Ci(e.declaration.symbol)):zl(e),l=Hl(n),l){if(c=Hl(e),c)_&=((e,n,t,r,a)=>e.kind!==n.kind?(t&&(r(wn.Diagnostics.A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard),r(wn.Diagnostics.Type_predicate_0_is_not_assignable_to_1,go(e),go(n))),0):1!==e.kind&&3!==e.kind||e.parameterIndex===n.parameterIndex?(0===(a=e.type===n.type?-1:e.type&&n.type?a(e.type,n.type,t):0)&&t&&r(wn.Diagnostics.Type_predicate_0_is_not_assignable_to_1,go(e),go(n)),a):(t&&(r(wn.Diagnostics.Parameter_0_is_not_in_the_same_position_as_parameter_1,e.parameterName,n.parameterName),r(wn.Diagnostics.Type_predicate_0_is_not_assignable_to_1,go(e),go(n))),0))(c,l,r,a,o);else if(wn.isIdentifierTypePredicate(l))return r&&a(wn.Diagnostics.Signature_0_must_be_a_type_predicate,co(e)),0}else!(_&=1&t&&o(f,p,!1)||o(p,f,r))&&r&&i&&i(p,f)}return _}function Rm(e,n){e=$l(e),n=$l(n);var t=zl(e),r=zl(n);return(r===yt||Bm(r,t,Ur)||Bm(t,r,Ur))&&0!==km(e,n,4,!1,void 0,void 0,fm,void 0)}function Om(e){return e!==Mt&&0===e.properties.length&&0===e.callSignatures.length&&0===e.constructSignatures.length&&0===e.indexInfos.length}function Pm(e){return 524288&e.flags?!Vc(e)&&Om(jc(e)):!!(67108864&e.flags)||(1048576&e.flags?wn.some(e.types,Pm):!!(2097152&e.flags)&&wn.every(e.types,Pm))}function wm(e){return!!(16&wn.getObjectFlags(e)&&(e.members&&Om(e)||e.symbol&&2048&e.symbol.flags&&0===cc(e.symbol).size))}function Mm(e){return 524288&e.flags&&!Vc(e)&&0===zc(e).length&&1===Sl(e).length&&!!xl(e,ct)||3145728&e.flags&&wn.every(e.types,Mm)||!1}function Fm(e,n,t){if(e===n)return 1;var r=rk(e)+","+rk(n),a=Kr.get(r);if(void 0!==a&&(4&a||!(2&a)||!t))return 1&a;if(e.escapedName===n.escapedName&&256&e.flags&&256&n.flags){for(var i=hs(n),o=0,s=zc(hs(e));o<s.length;o++){var c=s[o];if(8&c.flags){var l=gl(i,c.escapedName);if(!(l&&8&l.flags))return void(t?(t(wn.Diagnostics.Property_0_is_missing_in_type_1,wn.symbolName(c),lo(Hs(n),void 0,64)),Kr.set(r,6)):Kr.set(r,2))}}return Kr.set(r,1),1}Kr.set(r,6)}function Gm(e,n,t,r){var a=e.flags,i=n.flags;if(3&i||131072&a||e===Qn)return 1;if(!(131072&i)){if(402653316&a&&4&i)return 1;if(128&a&&1024&a&&128&i&&!(1024&i)&&e.value===n.value)return 1;if(296&a&&8&i)return 1;if(256&a&&1024&a&&256&i&&!(1024&i)&&e.value===n.value)return 1;if(2112&a&&64&i)return 1;if(528&a&&16&i)return 1;if(12288&a&&4096&i)return 1;if(32&a&&32&i&&Fm(e.symbol,n.symbol,r))return 1;if(1024&a&&1024&i){if(1048576&a&&1048576&i&&Fm(e.symbol,n.symbol,r))return 1;if(2944&a&&2944&i&&e.value===n.value&&Fm(Ni(e.symbol),Ni(n.symbol),r))return 1}if(32768&a&&(!x||49152&i))return 1;if(65536&a&&(!x||65536&i))return 1;if(524288&a&&67108864&i)return 1;if(t===Ur||t===Vr){if(1&a)return 1;if(264&a&&!(1024&a)&&(32&i||t===Ur&&256&i&&1024&i))return 1}}}function Bm(e,n,t){if((e=Lp(e)?e.regularType:e)===(n=Lp(n)?n.regularType:n))return!0;if(t!==jr){if(t===Vr&&!(131072&n.flags)&&Gm(n,e,t)||Gm(e,n,t))return!0}else{if(e.flags!==n.flags)return!1;if(67358815&e.flags)return!0}if(524288&e.flags&&524288&n.flags){var r=t.get($m(e,n,0,t));if(void 0!==r)return!!(1&r)}return!!(469499904&e.flags||469499904&n.flags)&&jm(e,n,t,void 0)}function Um(e,n){return 2048&wn.getObjectFlags(e)&&Qy(n.escapedName)}function Vm(e,n){for(;;){var t=Lp(e)?e.regularType:4&wn.getObjectFlags(e)&&e.node?_d(e.target,yd(e)):3145728&e.flags?ul(e):33554432&e.flags?n?e.baseType:e.substitute:25165824&e.flags?qu(e,n):e;if((t=__(t)||t)===e)break;e=t}return e}function jm(e,n,t,r,a,o,s){var c,l,d,u,p,m,_,f=0,g=0,y=0,h=!1,b=0,E=[],T=!1,S=(wn.Debug.assert(t!==jr||!r,"no error reporting in identity checking"),P(e,n,!!r,a));return E.length&&I(),h?(null!=wn.tracing&&wn.tracing.instant("checkTypes","checkTypeRelatedTo_DepthLimit",{sourceId:e.id,targetId:n.id,depth:g}),_=fa(r||i,wn.Diagnostics.Excessive_stack_depth_comparing_types_0_and_1,lo(e),lo(n)),s&&(s.errors||(s.errors=[])).push(_)):c&&(o=void(o&&(o=o())&&(wn.concatenateDiagnosticMessageChains(o,c),c=o)),a&&r&&!S&&e.symbol&&(e=Na(e.symbol)).originatingImport&&!wn.isImportCall(e.originatingImport)&&jm(hs(e.target),n,t,void 0)&&(n=wn.createDiagnosticForNode(e.originatingImport,wn.Diagnostics.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=wn.append(o,n)),_=wn.createDiagnosticForNodeFromMessageChain(r,c,o),l&&wn.addRelatedInfo.apply(void 0,eu([_],l,!1)),s&&(s.errors||(s.errors=[])).push(_),s&&s.skipLogging||Pr.add(_)),r&&s&&s.skipLogging&&0===S&&wn.Debug.assert(!!s.errors,"missed opportunity to interact with error."),0!==S;function L(e){c=e.errorInfo,m=e.lastSkippedInfo,E=e.incompatibleStack,b=e.overrideNextErrorInfo,l=e.relatedInfo}function D(){return{errorInfo:c,lastSkippedInfo:m,incompatibleStack:E.slice(),overrideNextErrorInfo:b,relatedInfo:l?l.slice():void 0}}function A(e,n,t,r,a){b++,m=void 0,E.push([e,n,t,r,a])}function I(){var e=E,n=(E=[],m);if(m=void 0,1===e.length)N.apply(void 0,e[0]);else{for(var t="",r=[];e.length;){var a=e.pop(),i=a[0],o=a.slice(1);switch(i.code){case wn.Diagnostics.Types_of_property_0_are_incompatible.code:0===t.indexOf("new ")&&(t="("+t+")");var s=""+o[0];0===t.length?t=s:wn.isIdentifierText(s,v.target)?t=t+"."+s:"["===s[0]&&"]"===s[s.length-1]?t+=s:t=t+"["+s+"]";break;case wn.Diagnostics.Call_signature_return_types_0_and_1_are_incompatible.code:case wn.Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible.code:case wn.Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:case wn.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:0===t.length?((s=i).code===wn.Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?s=wn.Diagnostics.Call_signature_return_types_0_and_1_are_incompatible:i.code===wn.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code&&(s=wn.Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible),r.unshift([s,o[0],o[1]])):t=(i.code===wn.Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible.code||i.code===wn.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?"new ":"")+t+"("+(i.code===wn.Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code||i.code===wn.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?"":"...")+")";break;case wn.Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target.code:r.unshift([wn.Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,o[0],o[1]]);break;case wn.Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target.code:r.unshift([wn.Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,o[0],o[1],o[2]]);break;default:return wn.Debug.fail("Unhandled Diagnostic: "+i.code)}}t?N(")"===t[t.length-1]?wn.Diagnostics.The_types_returned_by_0_are_incompatible_between_these_types:wn.Diagnostics.The_types_of_0_are_incompatible_between_these_types,t):r.shift();for(var c=0,l=r;c<l.length;c++){var d=l[c];i=d[0],o=d.slice(1),d=i.elidedInCompatabilityPyramid;i.elidedInCompatabilityPyramid=!1,N.apply(void 0,eu([i],o,!1)),i.elidedInCompatabilityPyramid=d}}n&&k.apply(void 0,eu([void 0],n,!1))}function N(e,n,t,a,i){wn.Debug.assert(!!r),E.length&&I(),e.elidedInCompatabilityPyramid||(c=wn.chainDiagnosticMessages(c,e,n,t,a,i))}function k(e,n,r){E.length&&I();var a,i=uo(n,r),o=i[0],s=(i=i[1],n),l=o;T_(n)&&!Km(r)&&(s=S_(n),wn.Debug.assert(!hm(s,r),"generalized source shouldn't be assignable"),l=po(s)),262144&r.flags&&(a=void 0,(r=$c(r))&&(hm(s,r)||(a=hm(n,r)))?N(wn.Diagnostics._0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2,a?o:l,i,lo(r)):(c=void 0,N(wn.Diagnostics._0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1,i,l))),N(e=e||(t===Vr?wn.Diagnostics.Type_0_is_not_comparable_to_type_1:o===i?wn.Diagnostics.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:wn.Diagnostics.Type_0_is_not_assignable_to_type_1),l,i)}function R(e,n,t){return C_(e)?e.target.readonly&&u_(n)?void(t&&N(wn.Diagnostics.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,lo(e),lo(n))):C_(n)||l_(n):d_(e)&&u_(n)?void(t&&N(wn.Diagnostics.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,lo(e),lo(n))):!C_(n)||l_(e)}function P(e,n,a,i,o){if(void 0===a&&(a=!1),void 0===o&&(o=0),524288&e.flags&&131068&n.flags)return Gm(e,n,t,a?N:void 0)?-1:(v(e,n,0,!!(2048&wn.getObjectFlags(e))),0);var s=Vm(e,!1),l=Vm(n,!0);if(s===l)return-1;if(t===jr)return p=l,(u=s).flags!==p.flags?0:67358815&u.flags?-1:(w(u,p),3145728&u.flags?((d=M(u,p))&&(d&=M(p,u)),d):U(u,p,!1,0));if(262144&s.flags&&Jc(s)===l)return-1;if(1048576&l.flags&&524288&s.flags&&l.types.length<=3&&jb(l,98304)){var d=Dg(l,-98305);if(1179648&d.flags||(l=Vm(d,!0)),s===d)return-1}if(t===Vr&&!(131072&l.flags)&&Gm(l,s,t)||Gm(s,l,t,a?N:void 0))return-1;var u=!!(2048&wn.getObjectFlags(s)),p=!(2&o)&&kf(s)&&16384&wn.getObjectFlags(s);if(p&&((e,n,a)=>{var i;if(!(!gh(n)||!C&&8192&wn.getObjectFlags(n))){var o=!!(2048&wn.getObjectFlags(e));if(t!==Ur&&t!==Vr||!(yg(ke,n)||!o&&Pm(n)))for(var s,c=n,l=(1048576&n.flags&&(c=oL(e,n,P)||(e=>{if(jb(e,67108864)){var n=Eg(e,(function(e){return!(131068&e.flags)}));if(!(131072&n.flags))return n}return e})(n),s=1048576&c.flags?c.types:[c]),function(n){if(d=n,p=e.symbol,d.valueDeclaration&&p.valueDeclaration&&d.valueDeclaration.parent===p.valueDeclaration&&!Um(e,n)){if(!fh(c,n.escapedName,o)){if(a){var t,l,d=Eg(c,gh);if(!r)return{value:wn.Debug.fail()};wn.isJsxAttributes(r)||wn.isJsxOpeningLikeElement(r)||wn.isJsxOpeningLikeElement(r.parent)?(n.valueDeclaration&&wn.isJsxAttribute(n.valueDeclaration)&&wn.getSourceFileOfNode(r)===wn.getSourceFileOfNode(n.valueDeclaration.name)&&(r=n.valueDeclaration.name),(l=(l=Kh(p=so(n),d))?so(l):void 0)?N(wn.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,p,lo(d),l):N(wn.Diagnostics.Property_0_does_not_exist_on_type_1,p,lo(d))):(t=(null==(i=e.symbol)?void 0:i.declarations)&&wn.firstOrUndefined(e.symbol.declarations),(l=void 0)!==(l=n.valueDeclaration&&wn.findAncestor(n.valueDeclaration,(function(e){return e===t}))&&wn.getSourceFileOfNode(t)===wn.getSourceFileOfNode(r)&&(p=n.valueDeclaration,wn.Debug.assertNode(p,wn.isObjectLiteralElementLike),p=(r=p).name,wn.isIdentifier(p))?Hh(p,d):l)?N(wn.Diagnostics.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2,so(n),lo(d),l):N(wn.Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,so(n),lo(d)))}return{value:!0}}if(s&&!P(hs(n),(p=s,u=n.escapedName,gu(wn.reduceLeft(p,(function(e,n){var t=(3145728&(n=ol(n)).flags?dl:Hc)(n,u);n=t&&hs(t)||(null==(t=Cl(n,u))?void 0:t.type)||tt;return wn.append(e,n)}),void 0)||wn.emptyArray)),a))return a&&A(wn.Diagnostics.Types_of_property_0_are_incompatible,so(n)),{value:!0}}var u,p}),d=0,u=zc(e);d<u.length;d++){var p=u[d];p=l(p);if("object"==typeof p)return p.value}}})(s,l,a))return a&&k(i,s,n.aliasSymbol?n:l),0;var _,f=t!==Vr&&!(2&o)&&2752508&s.flags&&s!==ke&&2621440&l.flags&&zm(l)&&(0<zc(s).length||XS(s));if(f&&!((e,n,t)=>{for(var r=0,a=zc(e);r<a.length;r++){var i=a[r];if(fh(n,i.escapedName,t))return 1}})(s,l,u))return a&&(g=lo(e.aliasSymbol?e:s),_=lo(n.aliasSymbol?n:l),y=hl(s,0),h=hl(s,1),0<y.length&&P(zl(y[0]),l,!1)||0<h.length&&P(zl(h[0]),l,!1)?N(wn.Diagnostics.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,g,_):N(wn.Diagnostics.Type_0_has_no_properties_in_common_with_type_1,g,_)),0;w(s,l);var g,y=0,h=D();return(y=3145728&s.flags||3145728&l.flags?(4<=Lg(s)*Lg(l)?U:V)(s,l,a,8|o):y)||1048576&s.flags||!(469499904&s.flags||469499904&l.flags)||(y=U(s,l,a,o))&&L(h),!y&&2359296&s.flags&&(g=((e,n)=>{for(var t,r=!1,a=0,i=e;a<i.length;a++)if(465829888&(s=i[a]).flags){for(var o=Jc(s);o&&21233664&o.flags;)o=Jc(o);o&&(t=wn.append(t,o),n)&&(t=wn.append(t,s))}else 469892092&s.flags&&(r=!0);if(t&&(n||r)){if(r)for(var s,c=0,l=e;c<l.length;c++)469892092&(s=l[c]).flags&&(t=wn.append(t,s));return Tu(t)}})(2097152&s.flags?s.types:[s],!!(1048576&l.flags)))&&(2097152&s.flags||1048576&l.flags)&&bg(g,(function(e){return e!==s}))&&(y=P(g,l,!1,void 0,o))&&L(h),y&&!T&&(2097152&l.flags&&(p||f)||gp(l)&&!l_(l)&&!C_(l)&&2097152&s.flags&&3670016&ol(s).flags&&!wn.some(s.types,(function(e){return!!(524288&wn.getObjectFlags(e))})))&&(T=!0,y&=U(s,l,a,4),T=!1),v(s,l,y,u),y;function v(t,o,s,l){if(!s&&a){s=!!__(e);var d=!!__(n);s=(t=e.aliasSymbol||s?e:t,o=n.aliasSymbol||d?n:o,0<b);if(s&&b--,524288&t.flags&&524288&o.flags&&(d=c,R(t,o,a),c!==d)&&(s=!!c),524288&t.flags&&131068&o.flags)d=o,p=mo((u=t).symbol)?lo(u,u.symbol.valueDeclaration):lo(u),_=mo(d.symbol)?lo(d,d.symbol.valueDeclaration):lo(d),(Fe===u&&ct===d||Ge===u&&lt===d||Be===u&&ft===d||Vd(!1)===u&&gt===d)&&N(wn.Diagnostics._0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible,_,p);else if(t.symbol&&524288&t.flags&&ke===t)N(wn.Diagnostics.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead);else if(l&&2097152&o.flags){if(u=o.types,d=rh(Mn.IntrinsicAttributes,r),_=rh(Mn.IntrinsicClassAttributes,r),d!==Zn&&_!==Zn&&(wn.contains(u,d)||wn.contains(u,_)))return}else c=fl(c,n);!i&&s?m=[t,o]:k(i,t,o)}var u,p,_}}function w(e,n){var t,a;wn.tracing&&3145728&e.flags&&3145728&n.flags&&(e.objectFlags&n.objectFlags&65536||1e6<(t=e.types.length)*(a=n.types.length)&&wn.tracing.instant("checkTypes","traceUnionsOrIntersectionsTooLarge_DepthLimit",{sourceId:e.id,sourceSize:t,targetId:n.id,targetSize:a,pos:null==r?void 0:r.pos,end:null==r?void 0:r.end}))}function M(e,n){for(var t=-1,r=0,a=e.types;r<a.length;r++){var i=F(a[r],n,!1);if(!i)return 0;t&=i}return t}function F(e,n,t){var r=n.types;if(1048576&n.flags){if(uu(r,e))return-1;var a=Yf(n,e);if(a&&(i=P(e,a,!1)))return i}for(var i,o=0,s=r;o<s.length;o++)if(i=P(e,s[o],!1))return i;return t&&P(e,Hm(e,n,P)||r[r.length-1],!0),0}function G(e,n,t,r){var a=e.types;if(1048576&e.flags&&uu(a,n))return-1;for(var i=a.length,o=0;o<i;o++){var s=P(a[o],n,t&&o===i-1,void 0,r);if(s)return s}return 0}function B(e,n,t,r){for(var a,i=-1,o=e.types,s=(a=n,1048576&(e=e).flags&&1048576&a.flags&&!(32768&e.types[0].flags)&&32768&a.types[0].flags?Dg(a,-32769):a),c=0;c<o.length;c++){var l=o[c];if(1048576&s.flags&&o.length>=s.types.length&&o.length%s.types.length==0){var d=P(l,s.types[c%s.types.length],!1,void 0,r);if(d){i&=d;continue}}if(d=P(l,n,t,void 0,r),!d)return 0;i&=d}return i}function U(e,n,r,a){if(h)return 0;var i=$m(e,n,a|(T?16:0),t),o=t.get(i);if(void 0!==o&&(!(r&&2&o)||4&o))return Tn&&(8&(m=24&o)&&am(e,jp(j)),16&m)&&am(e,jp(K)),1&o?-1:0;if(d){for(var s=i.split(",").map((function(e){return e.replace(/-\d+/g,(function(e,n){return"="+wn.length(i.slice(0,n).match(/[-=]/g)||void 0)}))})).join(","),c=0;c<f;c++)if(i===d[c]||s===d[c])return 3;if(100===g)return h=!0,0}else d=[],u=[],p=[];var l,m=f,_=(o=(d[f]=i,f++,u[g]=e,p[g]=n,g++,y),1&y||!r_(e,u,g)||(y|=1),2&y||!r_(n,p,g)||(y|=2),0);Tn&&(l=Tn,Tn=function(e){return _|=e?16:8,l(e)}),3===y&&null!=wn.tracing&&wn.tracing.instant("checkTypes","recursiveTypeRelatedTo_DepthLimit",{sourceId:e.id,sourceIdStack:u.map((function(e){return e.id})),targetId:n.id,targetIdStack:p.map((function(e){return e.id})),depth:g}),e=3!==y?V(e,n,r,a):3;if(Tn=Tn&&l,y=o,g--,e){if(-1===e||0===g){if(-1===e||3===e)for(c=m;c<f;c++)t.set(d[c],1|_);f=m}}else t.set(i,2|(r?4:0)|_),f=m;return e}function V(e,n,r,a){return null!=wn.tracing&&wn.tracing.push("checkTypes","structuredTypeRelatedTo",{sourceId:e.id,targetId:n.id}),e=((e,n,r,a)=>{if(4&a)return J(e,n,r,void 0,0);if(8&a){if(1048576&e.flags)return(t===Vr?G:B)(e,n,r&&!(131068&e.flags),-9&a);if(1048576&n.flags)return F(Y_(e),n,r&&!(131068&e.flags)&&!(131068&n.flags));if(2097152&n.flags)return((e,n,t,r)=>{for(var a=-1,i=0,o=n.types;i<o.length;i++){var s=P(e,o[i],t,void 0,r);if(!s)return 0;a&=s}return a})(Y_(e),n,r,2);if(t===Vr&&131068&n.flags){var i=wn.sameMap(e.types,el);if(i!==e.types&&!(2097152&(e=Tu(i)).flags))return P(e,n,!1)}return G(e,n,!1,1)}if(i=e.flags&n.flags,t!==jr||524288&i){var o,s,l=!1,d=D();if(17301504&e.flags&&e.aliasSymbol&&e.aliasTypeArguments&&e.aliasSymbol===n.aliasSymbol&&!e.aliasTypeArgumentsContainsMarker&&!n.aliasTypeArgumentsContainsMarker){if((h=qm(e.aliasSymbol))===wn.emptyArray)return 1;if(void 0!==(v=E(e.aliasTypeArguments,n.aliasTypeArguments,h,a)))return v}if(N_(e)&&!e.target.readonly&&(o=P(yd(e)[0],n))||N_(n)&&(n.target.readonly||u_($c(e)||e))&&(o=P(e,yd(n)[0])))return o;if(262144&n.flags){if(32&wn.getObjectFlags(e)&&!e.declaration.nameType&&P(ku(n),Rc(e))&&!(4&Gc(e))){var u=Pc(e),p=Zu(n,kc(e));if(o=P(u,p,r))return o}}else if(4194304&n.flags){var m=n.type;if(4194304&e.flags&&(o=P(m,e.type,!1)))return o;if(C_(m)){if(o=P(e,su(m),r))return o}else{var _=Xc(m);if(_&&-1===P(e,ku(_,n.stringsOnly),r))return-1}}else if(8388608&n.flags){if(8388608&e.flags){if((o=P(e.objectType,n.objectType,r))&&(o&=P(e.indexType,n.indexType,r)),o)return L(d),o;r&&(s=c)}if(t===Ur||t===Vr){m=n.objectType;var f=n.indexType,g=$c(m)||m;f=$c(f)||f;if(!Hu(g)&&!Wu(f)&&(_=ep(g,f,4|(g!==m?2:0)))){if(r&&s&&L(d),o=P(e,_,r))return o;r&&s&&(c=c&&(b([s])<=b([c])?s:c))}}r&&(s=void 0)}else if(Vc(n)&&!n.declaration.nameType){if(f=Pc(n),g=Gc(n),!(8&g)){if(8388608&f.flags&&f.objectType===e&&f.indexType===kc(n))return-1;if(!Vc(e)){m=Rc(n),f=ku(e,void 0,!0),g=4&g;var y=g?Ec(m,f):void 0;if(g?!(131072&y.flags):P(m,f))if(u=Pc(n),g=kc(n),m=Dg(u,-98305),8388608&m.flags&&m.indexType===g){if(o=P(e,m.objectType,r))return o}else if(f=y?Tu([y,g]):g,p=Zu(e,f),o=P(p,u,r))return o;s=c,L(d)}}}else if(16777216&n.flags){if(m=n,y=!hm(om(m.checkType),om(m.extendsType)),g=!y&&(e=>{var n=e.root.inferTypeParameters&&Bp(e.root.inferTypeParameters,wn.map(e.root.inferTypeParameters,(function(){return Qn}))),t=e.extendsType;return hm(sm(e.checkType),sm(am(t,n)))})(m),f=void 0,p=rp(m.root.checkType),p=void(m.root.isDistributive&&262144&p.flags&&(u=qp(p),f=zp(p,u,m.mapper),u.mapper=f)),p=!y&&!(p=P(e,f?am(Op(m.root.node.trueType),f):cp(m),!1))||g?p:(p||3)&P(e,f?am(Op(m.root.node.falseType),f):lp(m),!1))return L(d),p}else if(134217728&n.flags&&(134217728&e.flags&&am(e,jp(K)),u=Lf(e,n),u&&wn.every(u,(function(e,t){var r;t=n.types[t];return!!(e===t||5&t.flags)||(128&e.flags?(r=e.value,!!(8&t.flags&&""!==r&&isFinite(+r)||64&t.flags&&""!==r&&(e=>{var n=wn.createScanner(99,!1),t=!0,r=(n.setOnError((function(){return t=!1})),n.setText(e+"n"),n.scan()),a=(40===r&&(r=n.scan()),n.getTokenFlags());return t&&9===r&&n.getTextPos()===e.length+1&&!(512&a)})(r)||98816&t.flags&&r===t.intrinsicName)):134217728&e.flags?2===(r=e.texts).length&&""===r[0]&&""===r[1]&&hm(e.types[0],t):hm(e,t))}))))return-1;if(8650752&e.flags){if(!(8388608&e.flags&&8388608&n.flags))if(!(_=Jc(e))||262144&e.flags&&1&_.flags){if(o=P(kt,Dg(n,-67108865)))return L(d),o}else{if(o=P(_,n,!1,void 0,a))return L(d),o;if(o=P(dc(_,e),n,r&&!(n.flags&e.flags&262144),void 0,a))return L(d),o}}else if(4194304&e.flags){if(o=P(Dt,n,r))return L(d),o}else if(134217728&e.flags){if(!(134217728&n.flags)&&(y=$c(e),o=P(_=y&&y!==e?y:ct,n,r)))return L(d),o}else if(268435456&e.flags){if(268435456&n.flags&&e.symbol===n.symbol){if(o=P(e.type,n.type,r))return L(d),o}else if((_=$c(e))&&(o=P(_,n,r)))return L(d),o}else if(16777216&e.flags){if(16777216&n.flags){if(g=e.root.inferTypeParameters,f=e.extendsType,m=void 0,g&&(Cf((p=sf(g,void 0,0,P)).inferences,n.extendsType,f,1536),f=am(f,p.mapper),m=p.mapper),mm(f,n.extendsType)&&(P(e.checkType,n.checkType)||P(n.checkType,e.checkType))&&((o=P(am(cp(e),m),cp(n),r))&&(o&=P(lp(e),lp(n),r)),o))return L(d),o}else if(u=Qc(e),u&&(o=P(u,n,r)))return L(d),o;if(y=Yc(e),y&&(o=P(y,n,r)))return L(d),o}else{if(t!==Gr&&t!==Br&&(e=>32&wn.getObjectFlags(e)&&4&Gc(e))(n)&&Pm(e))return-1;if(Vc(n))return Vc(e)&&(o=((e,n,r)=>{if(t===Vr||(t===jr?Gc(e)===Gc(n):Uc(e)<=Uc(n))){var a=Rc(n),i=am(Rc(e),jp(Uc(e)<0?j:K));if((a=P(a,i,r))&&(i=Bp([kc(e)],[kc(n)]),am(Oc(e),i)===am(Oc(n),i)))return a&P(am(Pc(e),i),Pc(n),r)}return 0})(e,n,r))?(L(d),o):0;var h,v;_=!!(131068&e.flags);if(t!==jr)e=ol(e);else if(Vc(e))return 0;if(4&wn.getObjectFlags(e)&&4&wn.getObjectFlags(n)&&e.target===n.target&&!C_(e)&&!(4096&wn.getObjectFlags(e)||4096&wn.getObjectFlags(n))){if((h=Ym(e.target))===wn.emptyArray)return 1;if(void 0!==(v=E(yd(e),yd(n),h,a)))return v}else{if(d_(n)?l_(e)||C_(e):l_(n)&&C_(e)&&!e.target.readonly)return t!==jr?P(Ll(e,lt)||Xn,Ll(n,lt)||Xn,r):0;if((t===Gr||t===Br)&&Pm(n)&&16384&wn.getObjectFlags(n)&&!Pm(e))return 0}if(2621440&e.flags&&524288&n.flags)if(g=r&&c===d.errorInfo&&!_,(o=J(e,n,g,void 0,a))&&(o&=q(e,n,0,g))&&(o&=q(e,n,1,g))&&(o&=$(e,n,_,g,a)),l&&o)c=s||c||d.errorInfo;else if(o)return o;if(2621440&e.flags&&1048576&n.flags&&(p=Dg(n,36175872),1048576&p.flags&&(f=((e,n)=>{var r=zf(zc(e),n);if(!r)return 0;for(var a=1,i=0,o=r;i<o.length;i++){var s=o[i];if(25<(a*=(e=>1048576&e.flags?e.types.length:1)(vs(s))))return null!=wn.tracing&&wn.tracing.instant("checkTypes","typeRelatedToDiscriminatedType_DepthLimit",{sourceId:e.id,targetId:n.id,numCombinations:a}),0}for(var c=new Array(r.length),l=new wn.Set,d=0;d<r.length;d++){var u=vs(s=r[d]);c[d]=1048576&u.flags?u.types:[u],l.add(s.escapedName)}for(var p=wn.cartesianProduct(c),m=[],_=function(a){var i=!1;e:for(var o=0,s=n.types;o<s.length;o++){for(var c=s[o],l=0;l<r.length;l++){var d=(i=>{var o=r[i],s=gl(c,o.escapedName);return s?o===s?"continue":W(e,n,o,s,(function(e){return a[i]}),!1,0,x||t===Vr)?void 0:"continue-outer":"continue-outer"})(l);if("continue-outer"===d)continue e}wn.pushIfUnique(m,c,wn.equateValues),i=!0}if(!i)return{value:0}},f=0,g=p;f<g.length;f++){var y=g[f];y=_(y);if("object"==typeof y)return y.value}for(var h=-1,v=0,b=m;v<b.length;v++){var E=b[v];if(!(h&=J(e,E,!1,l,0))||!(h&=q(e,E,0,!1))||!(h&=q(e,E,1,!1))||C_(e)&&C_(E)||(h&=$(e,E,!1,!1,0)),!h)return h}return h})(e,p),f)))return f}}else{if(4194304&i)return P(e.type,n.type,!1);if(m=0,8388608&i&&(m=P(e.objectType,n.objectType,!1))&&(m&=P(e.indexType,n.indexType,!1)))return m;if(16777216&i&&e.root.isDistributive===n.root.isDistributive&&(m=P(e.checkType,n.checkType,!1))&&(m&=P(e.extendsType,n.extendsType,!1))&&(m&=P(cp(e),cp(n),!1))&&(m&=P(lp(e),lp(n),!1)))return m;if(33554432&i)return P(e.substitute,n.substitute,!1)}return 0;function b(e){return e?wn.reduceLeft(e,(function(e,n){return e+1+b(n.next)}),0):0}function E(e,n,a,i){if(o=((e,n,r,a,i)=>{if(void 0===e&&(e=wn.emptyArray),void 0===n&&(n=wn.emptyArray),void 0===r&&(r=wn.emptyArray),e.length!==n.length&&t===jr)return 0;for(var o=(e.length<=n.length?e:n).length,s=-1,c=0;c<o;c++){var l=c<r.length?r[c]:1,d=7&l;if(4!=d){var u=e[c],p=n[c],m=-1;if(8&l?m=t===jr?P(u,p,!1):_m(u,p):1==d?m=P(u,p,a,void 0,i):2==d?m=P(p,u,a,void 0,i):3==d?m=(m=P(p,u,!1))||P(u,p,a,void 0,i):(m=P(u,p,a,void 0,i))&&(m&=P(p,u,a,void 0,i)),!m)return 0;s&=m}}return s})(e,n,a,r,i))return o;if(wn.some(a,(function(e){return!!(24&e)})))s=void 0,L(d);else if(e=n&&((e,n)=>{for(var t=0;t<n.length;t++)if(1==(7&n[t])&&16384&e[t].flags)return!0;return!1})(n,a),l=!e,a!==wn.emptyArray&&!e){if(l&&(!r||!wn.some(a,(function(e){return 0==(7&e)}))))return 0;s=c,L(d)}}})(e,n,r,a),null!=wn.tracing&&wn.tracing.pop(),e}function j(e){return!Tn||e!==Ut&&e!==Vt&&e!==jt||Tn(!1),e}function K(e){return!Tn||e!==Ut&&e!==Vt&&e!==jt||Tn(!0),e}function H(e,n){if(!n||0===e.length)return e;for(var t,r=0;r<e.length;r++)n.has(e[r].escapedName)?t=t||e.slice(0,r):t&&t.push(e[r]);return t||e}function W(e,n,t,r,a,i,o,s){var c,l=wn.getDeclarationModifierFlagsFromSymbol(t),d=wn.getDeclarationModifierFlagsFromSymbol(r);if(8&l||8&d){if(t.valueDeclaration!==r.valueDeclaration)return i&&(8&l&&8&d?N(wn.Diagnostics.Types_have_separate_declarations_of_a_private_property_0,so(r)):N(wn.Diagnostics.Property_0_is_private_in_type_1_but_not_in_type_2,so(r),lo(8&l?e:n),lo(8&l?n:e))),0}else if(16&d){if(c=t,e_(r,(function(e){return!!(16&wn.getDeclarationModifierFlagsFromSymbol(e))&&(n=c,t=n_(e),!e_(n,(function(e){return e=n_(e),!!e&&Ts(e,t)})));var n,t})))return i&&N(wn.Diagnostics.Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2,so(r),lo(n_(t)||e),lo(n_(r)||n)),0}else if(16&l)return i&&N(wn.Diagnostics.Property_0_is_protected_in_type_1_but_public_in_type_2,so(r),lo(e),lo(n)),0;d=t,l=r,a=a,u=i,o=o,p=x&&!!(48&wn.getCheckFlags(l)),l=Vo(vs(l),!1,p);var u,p=P(a(d),l,u,void 0,o);return p?s||!(16777216&t.flags)||16777216&r.flags?p:(i&&N(wn.Diagnostics.Property_0_is_optional_in_type_1_but_required_in_type_2,so(r),lo(e),lo(n)),0):(i&&A(wn.Diagnostics.Types_of_property_0_are_incompatible,so(r)),0)}function z(e,n,t,r){var i=!1;if(t.valueDeclaration&&wn.isNamedDeclaration(t.valueDeclaration)&&wn.isPrivateIdentifier(t.valueDeclaration.name)&&e.symbol&&32&e.symbol.flags){var o=t.valueDeclaration.name.escapedText,s=wn.getSymbolNameForPrivateIdentifier(e.symbol,o);if(s&&gl(e,s))return s=wn.factory.getDeclarationName(e.symbol.valueDeclaration),d=wn.factory.getDeclarationName(n.symbol.valueDeclaration),void N(wn.Diagnostics.Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2,Ga(o),Ga(""===s.escapedText?Gn:s),Ga(""===d.escapedText?Gn:d))}var d;o=wn.arrayFrom(bf(e,n,r,!1));a&&(a.code===wn.Diagnostics.Class_0_incorrectly_implements_interface_1.code||a.code===wn.Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code)||(i=!0),1===o.length?(s=so(t),N.apply(void 0,eu([wn.Diagnostics.Property_0_is_missing_in_type_1_but_required_in_type_2,s],uo(e,n),!1)),wn.length(t.declarations)&&(d=wn.createDiagnosticForNode(t.declarations[0],wn.Diagnostics._0_is_declared_here,s),wn.Debug.assert(!!c),l?l.push(d):l=[d]),i&&c&&b++):R(e,n,!1)&&(5<o.length?N(wn.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,lo(e),lo(n),wn.map(o.slice(0,4),(function(e){return so(e)})).join(", "),o.length-4):N(wn.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,lo(e),lo(n),wn.map(o,(function(e){return so(e)})).join(", ")),i)&&c&&b++}function J(e,n,r,a,i){if(t===jr){var o=e,s=n,c=a;if(!(524288&o.flags&&524288&s.flags))return 0;if(o=H(Kc(o),c),c=H(Kc(s),c),o.length!==c.length)return 0;for(var l=-1,d=0,u=o;d<u.length;d++){var p=u[d],m=Hc(s,p.escapedName);if(!m)return 0;if(p=o_(p,m,P),!p)return 0;l&=p}return l}var _=-1;if(C_(n)){if(l_(e)||C_(e)){if(!n.target.readonly&&(d_(e)||C_(e)&&e.target.readonly))return 0;var f=hd(e),g=hd(n),y=(c=C_(e)?4&e.target.combinedFlags:4,o=4&n.target.combinedFlags,C_(e)?e.target.minLength:0),h=n.target.minLength;if(!c&&f<h)return r&&N(wn.Diagnostics.Source_has_0_element_s_but_target_requires_1,f,h),0;if(!o&&g<y)return r&&N(wn.Diagnostics.Source_has_0_element_s_but_target_allows_only_1,y,g),0;if(!o&&(c||g<f))return r&&(y<h?N(wn.Diagnostics.Target_requires_0_element_s_but_source_may_have_fewer,h):N(wn.Diagnostics.Target_allows_only_0_element_s_but_source_may_have_more,g)),0;for(var v=yd(e),b=yd(n),E=Math.min(C_(e)?cu(e.target,11):0,cu(n.target,11)),T=Math.min(C_(e)?lu(e.target,11):0,o?lu(n.target,11):0),S=!!a,x=0;x<g;x++){var L=x<g-T?x:x+f-g,D=C_(e)&&(x<E||g-T<=x)?e.target.elementFlags[L]:4,C=n.target.elementFlags[x];if(8&C&&!(8&D))return r&&N(wn.Diagnostics.Source_provides_no_match_for_variadic_element_at_position_0_in_target,x),0;if(8&D&&!(12&C))return r&&N(wn.Diagnostics.Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target,L,x),0;if(1&C&&!(1&D))return r&&N(wn.Diagnostics.Source_provides_no_match_for_required_element_at_position_0_in_target,x),0;if(!(S=S&&!(12&D||12&C)&&S)||null==a||!a.has(""+x)){var I=C_(e)?x<E||g-T<=x?W_(v[L],!!(D&C&2)):R_(e,E,T)||ht:v[0],k=b[x];if(!(B=P(I,8&D&&4&C?qd(k):W_(k,!!(2&C)),r,void 0,i)))return r&&(1<g||1<f)&&(x<E||g-T<=x||f-E-T==1?A(wn.Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,L,x):A(wn.Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,E,f-T-1,x)),0;_&=B}}return _}if(12&n.target.combinedFlags)return 0}if(y=!(t!==Gr&&t!==Br||kf(e)||g_(e)||C_(e)),h=Ef(e,n,y,!1),h)return r&&z(e,n,h,y),0;if(kf(n))for(var R=0,O=H(zc(e),a);R<O.length;R++){var w=O[R];if(!Hc(n,w.escapedName)&&!(32768&(I=hs(w)).flags))return r&&N(wn.Diagnostics.Property_0_does_not_exist_on_type_1,so(w),lo(n)),0}h=zc(n);for(var M=C_(e)&&C_(n),F=0,G=H(h,a);F<G.length;F++){var B,U=G[F],V=U.escapedName;if(!(4194304&U.flags)&&(!M||Hy(V)||"length"===V)&&(w=gl(e,V))&&w!==U){if(!(B=W(e,n,w,U,vs,r,i,t===Vr)))return 0;_&=B}}return _}function q(e,n,r,a){if(t===jr){var i=n,o=r,s=hl(e,o),c=hl(i,o);if(s.length!==c.length)return 0;for(var l=-1,d=0;d<s.length;d++){var u=s_(s[d],c[d],!1,!1,!1,P);if(!u)return 0;l&=u}return l}if(n===Mt||e===Mt)return-1;i=e.symbol&&Wv(e.symbol.valueDeclaration),o=n.symbol&&Wv(n.symbol.valueDeclaration);var p=hl(e,i&&1===r?0:r),m=hl(n,o&&1===r?0:r);if(1===r&&p.length&&m.length){var _=!!(4&p[0].flags),f=!!(4&m[0].flags);if(_&&!f)return a&&N(wn.Diagnostics.Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type),0;if(!((e,n,t)=>!e.declaration||!n.declaration||(e=wn.getSelectedEffectiveModifierFlags(e.declaration,24),8===(n=wn.getSelectedEffectiveModifierFlags(n.declaration,24)))||16===n&&8!==e||16!==n&&!e||void(t&&N(wn.Diagnostics.Cannot_assign_a_0_constructor_type_to_a_1_constructor_type,yo(e),yo(n))))(p[0],m[0],a))return 0}var g=-1,y=D(),h=1===r?Y:X;_=wn.getObjectFlags(e),f=wn.getObjectFlags(n);if(64&_&&64&f&&e.symbol===n.symbol)for(var b=0;b<m.length;b++){if(!(R=Q(p[b],m[b],!0,a,h(p[b],m[b]))))return 0;g&=R}else if(1===p.length&&1===m.length){n=t===Vr||!!v.noStrictGenericChecks;var E=wn.first(p),T=wn.first(m);!(g=Q(E,T,n,a,h(E,T)))&&a&&1===r&&_&f&&(169===(null==(n=T.declaration)?void 0:n.kind)||169===(null==(_=E.declaration)?void 0:_.kind))&&(N(wn.Diagnostics.Type_0_is_not_assignable_to_type_1,(f=function(e){return co(e,void 0,262144,r)})(E),f(T)),N(wn.Diagnostics.Types_of_construct_signatures_are_incompatible))}else e:for(var S=0,x=m;S<x.length;S++){for(var A=x[S],C=a,I=0,k=p;I<k.length;I++){var R,O=k[I];if(R=Q(O,A,!0,C,h(O,A))){g&=R,L(y);continue e}C=!1}return C&&N(wn.Diagnostics.Type_0_provides_no_match_for_the_signature_1,lo(e),co(A,void 0,void 0,r)),0}return g}function X(e,n){return 0===e.parameters.length&&0===n.parameters.length?function(e,n){return A(wn.Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,lo(e),lo(n))}:function(e,n){return A(wn.Diagnostics.Call_signature_return_types_0_and_1_are_incompatible,lo(e),lo(n))}}function Y(e,n){return 0===e.parameters.length&&0===n.parameters.length?function(e,n){return A(wn.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,lo(e),lo(n))}:function(e,n){return A(wn.Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible,lo(e),lo(n))}}function Q(e,n,r,a,i){return km(r?$l(e):e,r?$l(n):n,t===Br?8:0,a,N,i,P,jp(K))}function Z(e,n,t){var r=P(e.type,n.type,t);return!r&&t&&(e.keyType===n.keyType?N(wn.Diagnostics._0_index_signatures_are_incompatible,lo(e.keyType)):N(wn.Diagnostics._0_and_1_index_signatures_are_incompatible,lo(e.keyType),lo(n.keyType))),r}function $(e,n,r,a,i){if(t===jr){var o=e,s=n,c=Sl(o);s=Sl(s);if(c.length!==s.length)return 0;for(var l=0,d=s;l<d.length;l++){var u=d[l],p=xl(o,u.keyType);if(!p||!P(p.type,u.type)||p.isReadonly!==u.isReadonly)return 0}return-1}c=Sl(n);for(var m=wn.some(c,(function(e){return e.keyType===ct})),_=-1,f=0,g=c;f<g.length;f++){var y=g[f];y=!r&&m&&1&y.type.flags?-1:Vc(e)&&m?P(Pc(e),y.type,a):((e,n,t,r)=>{var a=Al(e,n.keyType);if(a)return Z(a,n,t);if(1&r||!q_(e))return t&&N(wn.Diagnostics.Index_signature_for_type_0_is_missing_in_type_1,lo(n.keyType),lo(e)),0;for(var i=e,o=n,s=t,c=-1,l=o.keyType,d=0,u=(2097152&i.flags?Wc:Kc)(i);d<u.length;d++){var p=u[d];if(!Um(i,p)&&El(Iu(p,8576),l)){var m=vs(p);if(!(g=P(O||32768&m.flags||l===lt||!(16777216&p.flags)?m:rg(m,524288),o.type,s)))return s&&N(wn.Diagnostics.Property_0_is_incompatible_with_index_signature,so(p)),0;c&=g}}for(var _=0,f=Sl(i);_<f.length;_++){var g,y=f[_];if(El(y.keyType,l)){if(!(g=Z(y,o,s)))return 0;c&=g}}return c})(e,y,a,i);if(!y)return 0;_&=y}return _}}function Km(e){if(16&e.flags)return!1;if(3145728&e.flags)return!!wn.forEach(e.types,Km);if(465829888&e.flags){var n=Jc(e);if(n&&n!==e)return Km(n)}return b_(e)||!!(134217728&e.flags)}function Hm(e,n,t){return oL(e,n,t=void 0===t?fm:t,!0)||((e,n)=>{var t=wn.getObjectFlags(e);if(20&t&&1048576&n.flags)return wn.find(n.types,(function(n){if(524288&n.flags){var r=t&wn.getObjectFlags(n);if(4&r)return e.target===n.target;if(16&r)return!!e.aliasSymbol&&e.aliasSymbol===n.aliasSymbol}return!1}))})(e,n)||((e,n)=>{if(128&wn.getObjectFlags(e)&&vg(n,m_))return wn.find(n.types,(function(e){return!m_(e)}))})(e,n)||((e,n)=>{var t=0;if(0<hl(e,t).length||0<hl(e,t=1).length)return wn.find(n.types,(function(e){return 0<hl(e,t).length}))})(e,n)||((e,n)=>{for(var t,r=0,a=0,i=n.types;a<i.length;a++){var o,s=i[a],c=Tu([ku(e),ku(s)]);4194304&c.flags?(t=s,r=1/0):1048576&c.flags?(o=wn.length(wn.filter(c.types,b_)),r<=o&&(t=s,r=o)):b_(c)&&r<=1&&(t=s,r=1)}return t})(e,n)}function Wm(e,n,t,r,a){for(var i=e.types.map((function(e){})),o=0,s=n;o<s.length;o++){var c=s[o],l=c[0],d=c[1];c=ll(e,d);if(!(a&&c&&16&wn.getCheckFlags(c)))for(var u=0,p=0,m=e.types;p<m.length;p++){var _=Co(m[p],d);_&&t(l(),_)?i[u]=void 0===i[u]||i[u]:i[u]=!1,u++}}var f=i.indexOf(!0);if(-1===f)return r;for(var g=i.indexOf(!0,f+1);-1!==g;){if(!mm(e.types[f],e.types[g]))return r;g=i.indexOf(!0,g+1)}return e.types[f]}function zm(e){var n;return 524288&e.flags?0===(n=jc(e)).callSignatures.length&&0===n.constructSignatures.length&&0===n.indexInfos.length&&0<n.properties.length&&wn.every(n.properties,(function(e){return!!(16777216&e.flags)})):!!(2097152&e.flags)&&wn.every(e.types,zm)}function Jm(e,n,t){return e=_d(e,wn.map(e.typeParameters,(function(e){return e===n?t:e}))),e.objectFlags|=4096,e}function qm(e){var n=Na(e);return Xm(n.typeParameters,n,(function(t,r,a){return r=bd(e,Mp(n.typeParameters,Vp(r,a))),r.aliasTypeArgumentsContainsMarker=!0,r}))}function Xm(e,n,t){var r;if(void 0===e&&(e=wn.emptyArray),!(a=n.variances)){null!=wn.tracing&&wn.tracing.push("checkTypes","getVariancesWorker",{arity:e.length,id:null!=(r=null!=(r=n.id)?r:null==(r=n.declaredType)?void 0:r.id)?r:-1}),n.variances=wn.emptyArray;for(var a=[],i=0,o=e;i<o.length;i++)(e=>{var r=!1,i=!1,o=Tn,s=(Tn=function(e){return e?i=!0:r=!0},t(n,e,Ut)),c=t(n,e,Vt);3===(c=(hm(c,s)?1:0)|(hm(s,c)?2:0))&&hm(t(n,e,jt),s)&&(c=4),Tn=o,(r||i)&&(r&&(c|=8),i)&&(c|=16),a.push(c)})(o[i]);n.variances=a,null!=wn.tracing&&wn.tracing.pop()}return a}function Ym(e){return e===we||e===Me||8&e.objectFlags?h:Xm(e.typeParameters,e,Jm)}function Qm(e){return n=e,!!(4&wn.getObjectFlags(n))&&!n.node&&wn.some(yd(e),(function(e){return!!(262144&e.flags)||Qm(e)}));var n}function Zm(e,n,t){void 0===t&&(t=0);for(var r=""+e.target.id,a=0,i=yd(e);a<i.length;a++){var o,s=i[a];262144&(o=s).flags&&!qc(o)?((o=n.indexOf(s))<0&&(o=n.length,n.push(s)),r+="="+o):t<4&&Qm(s)?r+="<"+Zm(s,n,t+1)+">":r+="-"+s.id}return r}function $m(e,n,t,r){return r===jr&&e.id>n.id&&(r=e,e=n,n=r),r=t?":"+t:"",Qm(e)&&Qm(n)?Zm(e,t=[])+","+Zm(n,t)+r:e.id+","+n.id+r}function e_(e,n){if(!(6&wn.getCheckFlags(e)))return n(e);for(var t=0,r=e.containingType.types;t<r.length;t++){var a=gl(r[t],e.escapedName);a=a&&e_(a,n);if(a)return a}}function n_(e){return e.parent&&32&e.parent.flags?Hs(Ni(e)):void 0}function t_(e){var n=n_(e);n=n&&Ps(n)[0];return n&&Co(n,e.escapedName)}function r_(e,n,t){if(5<=t)for(var r=a_(e),a=0,i=0;i<t;i++)if(a_(n[i])===r&&5<=++a)return 1}function a_(e){if(524288&e.flags&&!Rf(e)){if(wn.getObjectFlags(e)&&e.node)return e.node;if(e.symbol&&!(16&wn.getObjectFlags(e)&&32&e.symbol.flags))return e.symbol;if(C_(e))return e.target}if(262144&e.flags)return e.symbol;if(8388608&e.flags){for(;8388608&(e=e.objectType).flags;);return e}return 16777216&e.flags?e.root:e}function i_(e,n){return 0!==o_(e,n,_m)}function o_(e,n,t){if(e===n)return-1;var r=24&wn.getDeclarationModifierFlagsFromSymbol(e);if(r!=(24&wn.getDeclarationModifierFlagsFromSymbol(n)))return 0;if(r){if(lS(e)!==lS(n))return 0}else if((16777216&e.flags)!=(16777216&n.flags))return 0;return Fb(e)!==Fb(n)?0:t(hs(e),hs(n))}function s_(e,n,t,r,a,i){if(e===n)return-1;if(p=n,t=t,l=_b(u=e),d=_b(p),_=fb(u),m=fb(p),u=gb(u),p=gb(p),(l!==d||_!==m||u!==p)&&!(t&&_<=m))return 0;if(wn.length(e.typeParameters)!==wn.length(n.typeParameters))return 0;if(n.typeParameters){for(var o=Bp(e.typeParameters,n.typeParameters),s=0;s<n.typeParameters.length;s++)if(!((h=e.typeParameters[s])===(g=n.typeParameters[s])||i(am(ld(h),o)||nt,ld(g)||nt)&&i(am(al(h),o)||nt,al(g)||nt)))return 0;e=Xp(e,o,!0)}var c=-1;if(!r){var l=Kl(e);if(l){var d=Kl(n);if(d){if(!(y=i(l,d)))return 0;c&=y}}}var u,p,m,_,f=_b(n);for(s=0;s<f;s++){var g,y,h=ub(e,s);if(!(y=i(g=ub(n,s),h)))return 0;c&=y}return a||(u=Hl(e),p=Hl(n),c&=u||p?(t=p,_=i,(m=u)&&t&&yu(m,t)?m.type===t.type?-1:m.type&&t.type?_(m.type,t.type):0:0):i(zl(e),zl(n))),c}function c_(e){return 1===e.length?e[0]:(e=>{for(var n=0,t=e;n<t.length;n++){var r=t[n],a=S_(r),i=i||a;if(a===r||a!==i)return}return 1})(e)?gu(e):wn.reduceLeft(e,(function(e,n){return ym(e,n)?n:e}))}function l_(e){return!!(4&wn.getObjectFlags(e))&&(e.target===we||e.target===Me)}function d_(e){return!!(4&wn.getObjectFlags(e))&&e.target===Me}function u_(e){return l_(e)&&!d_(e)||C_(e)&&!e.target.readonly}function p_(e){return l_(e)?yd(e)[0]:void 0}function m_(e){return l_(e)||!(98304&e.flags)&&hm(e,He)}function __(e){if(4&wn.getObjectFlags(e)&&3&wn.getObjectFlags(e.target)){if(33554432&wn.getObjectFlags(e))return 67108864&wn.getObjectFlags(e)?e.cachedEquivalentBaseType:void 0;e.objectFlags|=33554432;var n=e.target;if(1&wn.getObjectFlags(n)){var t=Is(n);if(t&&79!==t.expression.kind&&204!==t.expression.kind)return}t=Ps(n);if(1===t.length&&!cc(e.symbol).size)return t=wn.length(n.typeParameters)?am(t[0],Bp(n.typeParameters,yd(e).slice(0,n.typeParameters.length))):t[0],wn.length(yd(e))>wn.length(n.typeParameters)&&(t=dc(t,wn.last(yd(e)))),e.objectFlags|=67108864,e.cachedEquivalentBaseType=t}}function f_(e){return x?e===Et:e===rt}function g_(e){return e=p_(e),e&&f_(e)}function y_(e){return C_(e)||!!gl(e,"0")}function h_(e){return m_(e)||y_(e)}function v_(e){return!(240512&e.flags)}function b_(e){return!!(109440&e.flags)}function E_(e){return 2097152&e.flags?wn.some(e.types,b_):109440&e.flags}function T_(e){return!!(16&e.flags)||(1048576&e.flags?!!(1024&e.flags)||wn.every(e.types,b_):b_(e))}function S_(e){return 1024&e.flags?Us(e):128&e.flags?ct:256&e.flags?lt:2048&e.flags?dt:512&e.flags?ft:1048576&e.flags?Sg(e,S_):e}function x_(e){return 1024&e.flags&&Lp(e)?Us(e):128&e.flags&&Lp(e)?ct:256&e.flags&&Lp(e)?lt:2048&e.flags&&Lp(e)?dt:512&e.flags&&Lp(e)?ft:1048576&e.flags?Sg(e,x_):e}function L_(e){return 8192&e.flags?gt:1048576&e.flags?Sg(e,L_):e}function D_(e,n){return aE(e,n)?e:L_(x_(e))}function A_(e,n,t,r){return e&&b_(e)?D_(e,n?YT(t,n,r):void 0):e}function C_(e){return!!(4&wn.getObjectFlags(e)&&8&e.target.objectFlags)}function I_(e){return C_(e)&&!!(8&e.target.combinedFlags)}function N_(e){return I_(e)&&1===e.target.elementFlags.length}function k_(e){return R_(e,e.target.fixedLength)}function R_(e,n,t,r){void 0===t&&(t=0),void 0===r&&(r=!1);var a=hd(e)-t;if(n<a){for(var i=yd(e),o=[],s=n;s<a;s++){var c=i[s];o.push(8&e.target.elementFlags[s]?Zu(c,lt):c)}return(r?Tu:gu)(o)}}function O_(e){return"0"===e.value.base10Value}function P_(e){for(var n=0,t=0,r=e;t<r.length;t++)n|=w_(r[t]);return n}function w_(e){return 1048576&e.flags?P_(e.types):128&e.flags?""===e.value?128:0:256&e.flags?0===e.value?256:0:2048&e.flags?O_(e)?2048:0:512&e.flags?e===ut||e===pt?512:0:117724&e.flags}function M_(e){return 117632&w_(e)?Eg(e,(function(e){return!(117632&w_(e))})):e}function F_(e){return 4&e.flags?dr:8&e.flags?ur:64&e.flags?pr:e===pt||e===ut||114691&e.flags||128&e.flags&&""===e.value||256&e.flags&&0===e.value||2048&e.flags&&O_(e)?e:ht}function G_(e,n){return n=n&~e.flags&98304,0==n?e:gu(32768==n?[e,tt]:65536==n?[e,ot]:[e,tt,ot])}function B_(e,n){return void 0===n&&(n=!1),wn.Debug.assert(x),32768&e.flags?e:gu([e,n?it:tt])}function U_(e){return x?(n=rg(n=e,2097152),(We=We||Fd("NonNullable",524288,void 0)||Jn)!==Jn?bd(We,[n]):n):e;var n}function V_(e){return x?gu([e,at]):e}function j_(e){return x?Tg(e,at):e}function K_(e,n,t){return t?(wn.isOutermostOptionalChain(n)?B_:V_)(e):e}function H_(e,n){return wn.isExpressionOfOptionalChainRoot(n)?U_(e):wn.isOptionalChain(n)?j_(e):e}function W_(e,n){return O&&n?Tg(e,it):e}function z_(e){return O&&(e===it||1048576&e.flags&&uu(e.types,it))}function J_(e){return O?Tg(e,it):rg(e,524288)}function q_(e){return 2097152&e.flags?wn.every(e.types,q_):!(!e.symbol||0==(7040&e.symbol.flags)||XS(e))||!!(1024&wn.getObjectFlags(e)&&q_(e.source))}function X_(e,n){var t=Ea(e.flags,e.escapedName,8&wn.getCheckFlags(e));t.declarations=e.declarations,t.parent=e.parent,t.type=n,(t.target=e).valueDeclaration&&(t.valueDeclaration=e.valueDeclaration),n=Na(e).nameType;return n&&(t.nameType=n),t}function Y_(e){var n,t;return kf(e)&&16384&wn.getObjectFlags(e)?e.regularType||(t=((e,n)=>{for(var t=wn.createSymbolTable(),r=0,a=Kc(e);r<a.length;r++){var i=a[r],o=hs(i),s=n(o);t.set(i.escapedName,s===o?i:X_(i,s))}return t})(n=e,Y_),(t=zi(n.symbol,t,n.callSignatures,n.constructSignatures,n.indexInfos)).flags=n.flags,t.objectFlags|=-16385&n.objectFlags,e.regularType=t):e}function Q_(e,n,t){return{parent:e,propertyName:n,siblings:t,resolvedProperties:void 0}}function Z_(e){if(!e.resolvedProperties){for(var n=new wn.Map,t=0,r=function e(n){if(!n.siblings){for(var t=[],r=0,a=e(n.parent);r<a.length;r++){var i=a[r];kf(i)&&(i=Hc(i,n.propertyName))&&hg(hs(i),(function(e){t.push(e)}))}n.siblings=t}return n.siblings}(e);t<r.length;t++){var a=r[t];if(kf(a)&&!(4194304&wn.getObjectFlags(a)))for(var i=0,o=zc(a);i<o.length;i++){var s=o[i];n.set(s.escapedName,s)}}e.resolvedProperties=wn.arrayFrom(n.values())}return e.resolvedProperties}function $_(e,n){for(var t,r,a,i,o,s=wn.createSymbolTable(),c=0,l=Kc(e);c<l.length;c++){var d=l[c];s.set(d.escapedName,(r=n,a=void 0,4&(t=d).flags&&(r=nf(a=hs(t),r&&Q_(r,t.escapedName,void 0)))!==a?X_(t,r):t))}if(n)for(var u=0,p=Z_(n);u<p.length;u++)d=p[u],s.has(d.escapedName)||s.set(d.escapedName,(i=d,o=void 0,(o=Un.get(i.escapedName))||((o=X_(i,it)).flags|=16777216,Un.set(i.escapedName,o),o)));var m=zi(e.symbol,s,wn.emptyArray,wn.emptyArray,wn.sameMap(Sl(e),(function(e){return ad(e.keyType,ef(e.type),e.isReadonly)})));return m.objectFlags|=532480&wn.getObjectFlags(e),m}function ef(e){return nf(e,void 0)}function nf(e,n){var t,r,a;return 393216&wn.getObjectFlags(e)?void 0===n&&e.widened?e.widened:(a=void 0,98305&e.flags?a=Xn:kf(e)?a=$_(e,n):1048576&e.flags?(t=n||Q_(void 0,void 0,e.types),a=gu(r=wn.sameMap(e.types,(function(e){return 98304&e.flags?e:nf(e,t)})),wn.some(r,Pm)?2:1)):2097152&e.flags?a=Tu(wn.sameMap(e.types,ef)):(l_(e)||C_(e))&&(a=_d(e.target,wn.sameMap(yd(e),ef))),a&&void 0===n&&(e.widened=a),a||e):e}function tf(e,n,t){var r,a=lo(ef(n));if(!wn.isInJSFile(e)||wn.isCheckJsEnabledForFile(wn.getSourceFileOfNode(e),v)){switch(e.kind){case 219:case 165:case 164:r=C?wn.Diagnostics.Member_0_implicitly_has_an_1_type:wn.Diagnostics.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 162:var i,o=e;if(wn.isIdentifier(o.name)&&(wn.isCallSignatureDeclaration(o.parent)||wn.isMethodSignature(o.parent)||wn.isFunctionTypeNode(o.parent))&&-1<o.parent.parameters.indexOf(o)&&(Ma(o,o.name.escapedText,788968,void 0,o.name.escapedText,!0)||o.name.originalKeywordKind&&wn.isTypeNodeKind(o.name.originalKeywordKind)))return i="arg"+o.parent.parameters.indexOf(o),void ya(C,e,wn.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,i,wn.declarationNameToString(o.name));r=e.dotDotDotToken?C?wn.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type:wn.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:C?wn.Diagnostics.Parameter_0_implicitly_has_an_1_type:wn.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 201:if(r=wn.Diagnostics.Binding_element_0_implicitly_has_an_1_type,C)break;return;case 312:return void fa(e,wn.Diagnostics.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,a);case 254:case 167:case 166:case 170:case 171:case 211:case 212:if(C&&!e.name)return void fa(e,3===t?wn.Diagnostics.Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation:wn.Diagnostics.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,a);r=C?3===t?wn.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:wn.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:wn.Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage;break;case 193:return void(C&&fa(e,wn.Diagnostics.Mapped_object_type_implicitly_has_an_any_template_type));default:r=C?wn.Diagnostics.Variable_0_implicitly_has_an_1_type:wn.Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage}ya(C,e,r,wn.declarationNameToString(wn.getNameOfDeclaration(e)),a)}}function rf(e,t,r){!(n&&C&&131072&wn.getObjectFlags(t))||r&&Gy(e)||!function e(n){var t=!1;if(131072&wn.getObjectFlags(n)){if(1048576&n.flags)if(wn.some(n.types,Pm))t=!0;else for(var r=0,a=n.types;r<a.length;r++)e(d=a[r])&&(t=!0);if(l_(n)||C_(n))for(var i=0,o=yd(n);i<o.length;i++)e(d=o[i])&&(t=!0);if(kf(n))for(var s=0,c=Kc(n);s<c.length;s++){var l=c[s],d=hs(l);131072&wn.getObjectFlags(d)&&(e(d)||fa(l.valueDeclaration,wn.Diagnostics.Object_literal_s_property_0_implicitly_has_an_1_type,so(l),lo(ef(d))),t=!0)}}return t}(t)&&tf(e,t,r)}function af(e,n,t){var r=_b(e),a=_b(n),i=yb(e),o=yb(n),s=(a=o?a-1:a,i?a:Math.min(r,a));i=Kl(e);i&&(r=Kl(n))&&t(i,r);for(var c=0;c<s;c++)t(ub(e,c),ub(n,c));o&&t(mb(e,s),o)}function of(e,n,t){var r=Hl(e),a=Hl(n);r&&a&&yu(r,a)&&r.type&&a.type?t(r.type,a.type):t(zl(e),zl(n))}function sf(e,n,t,r){return cf(e.map(uf),n,t,r||fm)}function cf(e,n,t,r){var a={inferences:e,signature:n,flags:t,compareTypes:r,mapper:jp((function(e){return lf(a,e,!0)})),nonFixingMapper:jp((function(e){return lf(a,e,!1)}))};return a}function lf(e,n,t){for(var r=e.inferences,a=0;a<r.length;a++){var i=r[a];if(n===i.typeParameter)return t&&!i.isFixed&&(df(r),i.isFixed=!0),wf(e,a)}return n}function df(e){for(var n=0,t=e;n<t.length;n++){var r=t[n];r.isFixed||(r.inferredType=void 0)}}function uf(e){return{typeParameter:e,candidates:void 0,contraCandidates:void 0,inferredType:void 0,priority:void 0,topLevel:!0,isFixed:!1,impliedArity:void 0}}function pf(e){return{typeParameter:e.typeParameter,candidates:e.candidates&&e.candidates.slice(),contraCandidates:e.contraCandidates&&e.contraCandidates.slice(),inferredType:e.inferredType,priority:e.priority,topLevel:e.topLevel,isFixed:e.isFixed,impliedArity:e.impliedArity}}function mf(e){return e&&e.mapper}function _f(e){var n=wn.getObjectFlags(e);return 1048576&n?!!(2097152&n):(n=!!(465829888&e.flags||524288&e.flags&&!ff(e)&&(4&n&&(e.node||wn.forEach(yd(e),_f))||16&n&&e.symbol&&14384&e.symbol.flags&&e.symbol.declarations||8389664&n)||3145728&e.flags&&!(1024&e.flags)&&!ff(e)&&wn.some(e.types,_f)),3899393&e.flags&&(e.objectFlags|=1048576|(n?2097152:0)),n)}function ff(e){if(e.aliasSymbol&&!e.aliasTypeArguments)return(e=wn.getDeclarationOfKind(e.aliasSymbol,257))&&wn.findAncestor(e.parent,(function(e){return 300===e.kind||259!==e.kind&&"quit"}))}function gf(e,n){return!!(e===n||3145728&e.flags&&wn.some(e.types,(function(e){return gf(e,n)}))||16777216&e.flags&&(cp(e)===n||lp(e)===n))}function yf(e,n,t){if(!rr){var r=e.id+","+n.id+","+t.id;return tr.has(r)?tr.get(r):(rr=!0,e=((e,n,t)=>{var r,a;if(xl(e,ct)||0!==zc(e).length&&hf(e))return l_(e)?qd(vf(yd(e)[0],n,t),d_(e)):C_(e)?(a=wn.map(yd(e),(function(e){return vf(e,n,t)})),r=4&Gc(n)?wn.sameMap(e.target.elementFlags,(function(e){return 2&e?1:e})):e.target.elementFlags,tu(a,r,e.target.readonly,e.target.labeledElementDeclarations)):((a=Vi(1040,void 0)).source=e,a.mappedType=n,a.constraintType=t,a)})(e,n,t),rr=!1,tr.set(r,e),e)}}function hf(e){return!(524288&wn.getObjectFlags(e))||kf(e)&&wn.some(zc(e),(function(e){return hf(hs(e))}))||C_(e)&&wn.some(yd(e),hf)}function vf(e,n,t){return t=Zu(t.type,kc(n)),n=Pc(n),t=uf(t),Cf([t],e,n),Tf(t)||nt}function bf(e,n,t,r){var a,i,o,s,c,l;return ru(this,(function(d){switch(d.label){case 0:i=zc(n),a=0,i=i,d.label=1;case 1:return a<i.length?Zs(o=i[a])||!t&&(16777216&o.flags||48&wn.getCheckFlags(o))?[3,5]:(s=gl(e,o.escapedName))?[3,3]:[4,o]:[3,6];case 2:return d.sent(),[3,5];case 3:return r?!(109440&(c=hs(o)).flags)||1&(l=hs(s)).flags||xp(l)===xp(c)?[3,5]:[4,o]:[3,5];case 4:d.sent(),d.label=5;case 5:return a++,[3,1];case 6:return[2]}}))}function Ef(e,n,t,r){if(e=bf(e,n,t,r).next(),!e.done)return e.value}function Tf(e){return e.candidates?gu(e.candidates,2):e.contraCandidates?Tu(e.contraCandidates):void 0}function Sf(e){return!!ka(e).skipDirectInference}function xf(e){return e.symbol&&wn.some(e.symbol.declarations,Sf)}function Lf(e,n){return 128&e.flags?Af([e.value],wn.emptyArray,n):134217728&e.flags?wn.arraysEqual(e.texts,n.texts)?wn.map(e.types,Df):Af(e.texts,e.types,n):void 0}function Df(e){return 402653317&e.flags?e:Ou(["",""],[e])}function Af(e,n,t){var r=e.length-1,a=e[0],i=e[r],o=t.texts,s=o.length-1,c=(t=o[0],o[s]);if(!(0==r&&a.length<t.length+c.length)&&a.startsWith(t)&&i.endsWith(c)){for(var l=i.slice(0,i.length-c.length),d=[],u=0,p=t.length,m=1;m<s;m++){var _=o[m];if(0<_.length){for(var f=u,g=p;;){if(0<=(g=y(f).indexOf(_,g)))break;if(++f===e.length)return;g=0}h(f,g),p+=_.length}else if(p<y(u).length)h(u,p+1);else{if(!(u<r))return;h(u+1,0)}}return h(r,y(r).length),d}function y(n){return n<r?e[n]:l}function h(t,r){var a=t===u?Dp(y(t).slice(p,r)):Ou(eu(eu([e[u].slice(p)],e.slice(u+1,t),!0),[y(t).slice(0,r)],!1),n.slice(u,t));d.push(a),u=t,p=r}}function Cf(e,n,t,r,a){void 0===r&&(r=0),void 0===a&&(a=!1);var i,o,s,c,l=!1,d=2048,u=!0,p=0;function m(n,o){var s;if(_f(o))if(n===Qn)S=i,i=n,m(o,o),i=S;else if(n.aliasSymbol&&n.aliasTypeArguments&&n.aliasSymbol===o.aliasSymbol)y(n.aliasTypeArguments,o.aliasTypeArguments,qm(n.aliasSymbol));else if(n===o&&3145728&n.flags)for(var c=0,p=n.types;c<p.length;c++){var h=p[c];m(h,h)}else{if(1048576&o.flags){var S=g(1048576&n.flags?n.types:[n],o.types,If),x=(S=g(S[0],S[1],Nf),S[0]);if(0===(L=S[1]).length)return;if(o=gu(L),0===x.length)return void _(n,o,1);n=gu(x)}else if(2097152&o.flags&&wn.some(o.types,(function(e){return!!v(e)||Vc(e)&&!!v(Zp(e)||ht)}))){if(!(1048576&n.flags)){S=g(2097152&n.flags?n.types:[n],o.types,mm),x=S[0];var L=S[1];if(0===x.length||0===L.length)return;n=Tu(x),o=Tu(L)}}else 41943040&o.flags&&(o=rp(o));if(8650752&o.flags){if(524288&wn.getObjectFlags(n)||n===$n||n===vt||128&r&&(n===Yn||n===Ke)||xf(n))return;if(S=v(o),S)return S.isFixed||((void 0===S.priority||r<S.priority)&&(S.candidates=void 0,S.contraCandidates=void 0,S.topLevel=!0,S.priority=r),r===S.priority&&(x=i||n,a&&!l?wn.contains(S.contraCandidates,x)||(S.contraCandidates=wn.append(S.contraCandidates,x),df(e)):wn.contains(S.candidates,x)||(S.candidates=wn.append(S.candidates,x),df(e))),!(128&r)&&262144&o.flags&&S.topLevel&&!gf(t,o)&&(S.topLevel=!1,df(e))),void(d=Math.min(d,r));(L=qu(o,!1))!==o?f(n,L,m):8388608&o.flags&&465829888&(x=qu(o.indexType,!1)).flags&&(S=Xu(qu(o.objectType,!1),x,!1))&&S!==o&&f(n,S,m)}if(!(4&wn.getObjectFlags(n)&&4&wn.getObjectFlags(o)&&(n.target===o.target||l_(n)&&l_(o)))||n.node&&o.node)if(4194304&n.flags&&4194304&o.flags)a=!a,m(n.type,o.type),a=!a;else if((T_(n)||4&n.flags)&&4194304&o.flags)L=n,s=wn.createSymbolTable(),hg(L,(function(e){var n,t;128&e.flags&&((t=Ea(4,n=wn.escapeLeadingUnderscores(e.value))).type=Xn,e.symbol&&(t.declarations=e.symbol.declarations,t.valueDeclaration=e.symbol.valueDeclaration),s.set(n,t))})),L=4&L.flags?[ad(ct,kt,!1)]:wn.emptyArray,x=zi(void 0,s,wn.emptyArray,wn.emptyArray,L),a=!a,_(x,o.type,256),a=!a;else if(8388608&n.flags&&8388608&o.flags)m(n.objectType,o.objectType),m(n.indexType,o.indexType);else if(268435456&n.flags&&268435456&o.flags)n.symbol===o.symbol&&m(n.type,o.type);else if(33554432&n.flags)m(n.baseType,o),S=r,r|=4,m(n.substitute,o),r=S;else if(16777216&o.flags)f(n,o,E);else if(3145728&o.flags)b(n,o.types,o.flags);else if(1048576&n.flags)for(var D=0,A=n.types;D<A.length;D++)m(A[D],o);else if(134217728&o.flags){x=o;for(var C=Lf(n,x),I=x.types,N=0;N<I.length;N++)m(C?C[N]:ht,I[N])}else{if(n=ul(n),!(512&r&&467927040&n.flags)){if(S=ol(n),S!==n&&u&&!(2621440&S.flags))return u=!1,m(S,o);n=S}2621440&n.flags&&f(n,o,T)}else y(yd(n),yd(o),Ym(n.target))}}function _(e,n,t){var a=r;r|=t,m(e,n),r=a}function f(e,n,t){var r,a,i,l=e.id+","+n.id,u=o&&o.get(l);void 0!==u||((o=o||new wn.Map).set(l,-1),u=d,d=2048,r=p,a=a_(e),i=a_(n),wn.contains(s,a)&&(p|=1),wn.contains(c,i)&&(p|=2),3!==p?((s=s||[]).push(a),(c=c||[]).push(i),t(e,n),c.pop(),s.pop()):d=-1,p=r,o.set(l,d)),d=Math.min(d,u)}function g(e,n,t){for(var r,a,i=0,o=n;i<o.length;i++)for(var s=o[i],c=0,l=e;c<l.length;c++){var d=l[c];t(d,s)&&(m(d,s),r=wn.appendIfUnique(r,d),a=wn.appendIfUnique(a,s))}return[r?wn.filter(e,(function(e){return!wn.contains(r,e)})):e,a?wn.filter(n,(function(e){return!wn.contains(a,e)})):n]}function y(e,n,t){for(var r=(e.length<n.length?e:n).length,a=0;a<r;a++)(a<t.length&&2==(7&t[a])?h:m)(e[a],n[a])}function h(e,n){L||1024&r?(a=!a,m(e,n),a=!a):m(e,n)}function v(n){if(8650752&n.flags)for(var t=0,r=e;t<r.length;t++){var a=r[t];if(n===a.typeParameter)return a}}function b(e,n,t){var a=0;if(1048576&t){for(var i=void 0,o=1048576&e.flags?e.types:[e],s=new Array(o.length),c=!1,l=0,u=n;l<u.length;l++)if(v(b=u[l]))i=b,a++;else for(var p=0;p<o.length;p++){var f=d;d=2048,m(o[p],b),d===r&&(s[p]=!0),c=c||-1===d,d=Math.min(d,f)}if(0===a)return void((g=(e=>{for(var n,t=0,r=e;t<r.length;t++){var a=r[t];a=2097152&a.flags&&wn.find(a.types,(function(e){return!!v(e)}));if(!a||n&&a!==n)return;n=a}return n})(n))&&_(e,g,1));if(1===a&&!c){var g=wn.flatMap(o,(function(e,n){return s[n]?void 0:e}));if(g.length)return void m(gu(g),i)}}else for(var y=0,h=n;y<h.length;y++)v(b=h[y])?a++:m(e,b);if(2097152&t?1===a:0<a)for(var b,E=0,T=n;E<T.length;E++)v(b=T[E])&&_(e,b,1)}function E(e,n){var t;16777216&e.flags?(m(e.checkType,n.checkType),m(e.extendsType,n.extendsType),m(cp(e),cp(n)),m(lp(e),lp(n))):(t=r,r|=a?64:0,b(e,[cp(n),lp(n)],n.flags),r=t)}function T(e,n){if(4&wn.getObjectFlags(e)&&4&wn.getObjectFlags(n)&&(e.target===n.target||l_(e)&&l_(n)))y(yd(e),yd(n),Ym(e.target));else{var t,r,a,i;if(Vc(e)&&Vc(n)&&(m(Rc(e),Rc(n)),m(Pc(e),Pc(n)),a=Oc(e),r=Oc(n),a)&&r&&m(a,r),32&wn.getObjectFlags(n)&&!n.declaration.nameType&&function e(n,t,r){if(1048576&r.flags){for(var a=!1,i=0,o=r.types;i<o.length;i++)a=e(n,t,o[i])||a;return a}var s,c;return 4194304&r.flags?(!(c=v(r.type))||c.isFixed||xf(n)||(s=yf(n,t,r))&&_(s,c.typeParameter,524288&wn.getObjectFlags(n)?16:8),!0):!!(262144&r.flags)&&(_(ku(n),r,32),(s=Jc(r))&&e(n,t,s)||(c=wn.map(zc(n),hs),r=wn.map(Sl(n),(function(e){return e!==qt?e.type:ht})),m(gu(wn.concatenate(c,r)),Pc(t))),!0)}(e,n,Rc(n)))return;if(a=n,!(C_(r=e)&&C_(a)?(g=r,!(8&(i=a).target.combinedFlags)&&i.target.minLength>g.target.minLength||!i.target.hasRestElement&&(g.target.hasRestElement||i.target.fixedLength<g.target.fixedLength)):Ef(r,a,!1,!0)&&Ef(a,r,!1,!1))){if(l_(e)||C_(e)){if(C_(n)){var o=hd(e),s=hd(n),c=yd(n),l=n.target.elementFlags;if(C_(e)&&(t=n,hd(i=e)===hd(t))&&wn.every(i.target.elementFlags,(function(e,n){return(12&e)==(12&t.target.elementFlags[n])}))){for(var d=0;d<s;d++)m(yd(e)[d],c[d]);return}var u=C_(e)?Math.min(e.target.fixedLength,n.target.fixedLength):0,p=Math.min(C_(e)?lu(e.target,3):0,n.target.hasRestElement?lu(n.target,3):0);for(d=0;d<u;d++)m(yd(e)[d],c[d]);if(!C_(e)||o-u-p==1&&4&e.target.elementFlags[u]){var f=yd(e)[u];for(d=u;d<s-p;d++)m(8&l[d]?qd(f):f,c[d])}else{var g=s-u-p;2==g&&l[u]&l[u+1]&8&&C_(e)?(b=v(c[u]))&&void 0!==b.impliedArity&&(m(ou(e,u,p+o-b.impliedArity),c[u]),m(ou(e,u+b.impliedArity,p),c[u+1])):1==g&&8&l[u]?(b=2&n.target.elementFlags[s-1],_(C_(e)?ou(e,u,p):qd(yd(e)[0]),c[u],b?2:0)):1==g&&4&l[u]&&(f=C_(e)?R_(e,u,p):yd(e)[0])&&m(f,c[u])}for(d=0;d<p;d++)m(yd(e)[o-d-1],c[s-d-1]);return}if(l_(n))return void x(e,n)}for(var h=e,b=Kc(b=n),E=0,T=b;E<T.length;E++){var L=T[E],D=gl(h,L.escapedName);D&&m(hs(D),hs(L))}S(e,n,0),S(e,n,1),x(e,n)}}}function S(e,n,t){for(var r=hl(e,t),a=hl(n,t),i=r.length,o=a.length,s=i<o?i:o,c=!!(524288&wn.getObjectFlags(e)),d=0;d<s;d++){u=f=_=p=void 0;var u,p=(e=>{var n=e.typeParameters;if(n){if(e.baseSignatureCache)return e.baseSignatureCache;for(var t=Hp(n),r=Bp(n,wn.map(n,(function(e){return qc(e)||nt}))),a=wn.map(n,(function(e){return am(e,r)||nt})),i=0;i<n.length-1;i++)a=Mp(a,r);return a=Mp(a,t),e.baseSignatureCache=Xp(e,Bp(n,a),!0)}return e})(r[i-s+d]),_=$l(a[o-s+d]),f=c;f||(f=l,u=_.declaration?_.declaration.kind:0,l=l||167===u||166===u||169===u,af(p,_,h),l=f),of(p,_,m)}}function x(e,n){var t=wn.getObjectFlags(e)&wn.getObjectFlags(n)&32?8:0;n=Sl(n);if(q_(e))for(var r=0,a=n;r<a.length;r++){for(var i=a[r],o=[],s=0,c=zc(e);s<c.length;s++){var l,d=c[s];El(Iu(d,8576),i.keyType)&&(l=hs(d),o.push(16777216&d.flags?J_(l):l))}for(var u=0,p=Sl(e);u<p.length;u++){var m=p[u];El(m.keyType,i.keyType)&&o.push(m.type)}o.length&&_(gu(o),i.type,t)}for(var f=0,g=n;f<g.length;f++){var y=Al(e,(i=g[f]).keyType);y&&_(y.type,i.type,t)}}m(n,t)}function If(e,n){return O&&n===it?e===n:mm(e,n)||!!(4&n.flags&&128&e.flags||8&n.flags&&256&e.flags)}function Nf(e,n){return!!(524288&e.flags&&524288&n.flags&&e.symbol&&e.symbol===n.symbol||e.aliasSymbol&&e.aliasTypeArguments&&e.aliasSymbol===n.aliasSymbol)}function kf(e){return!!(128&wn.getObjectFlags(e))}function Rf(e){return!!(32896&wn.getObjectFlags(e))}function Of(e){return 416&e.priority?Tu(e.contraCandidates):(e=e.contraCandidates,wn.reduceLeft(e,(function(e,n){return ym(n,e)?n:e})))}function Pf(e,n){var t=(e=>{if(1<e.length){var n=wn.filter(e,Rf);if(n.length)return n=gu(n,2),wn.concatenate(wn.filter(e,(function(e){return!Rf(e)})),[n])}return e})(e.candidates),r=!!(r=qc(r=e.typeParameter))&&jb(16777216&r.flags?Yc(r):r,406978556);n=!r&&e.topLevel&&(e.isFixed||!gf(zl(n),e.typeParameter)),r=r?wn.sameMap(t,xp):n?wn.sameMap(t,x_):t;return ef(416&e.priority?gu(r,2):(n=r,x?(t=wn.filter(n,(function(e){return!(98304&e.flags)}))).length?G_(c_(t),98304&P_(n)):gu(n,2):c_(n)))}function wf(e,n){var t,r,a,i,o,s=e.inferences[n];return!s.inferredType&&(t=void 0,(r=e.signature)?(r=s.candidates?Pf(s,r):void 0,s.contraCandidates?(a=Of(s),t=!r||131072&r.flags||!ym(r,a)?a:r):r?t=r:1&e.flags?t=vt:(a=al(s.typeParameter))&&(t=am(a,(o=n,r=jp((function(e){return wn.findIndex(i.inferences,(function(n){return n.typeParameter===e}))>=o?nt:e})),a=(i=e).nonFixingMapper,r?Kp(4,r,a):a)))):t=Tf(s),s.inferredType=t||Mf(!!(2&e.flags)),n=qc(s.typeParameter))&&(r=am(n,e.nonFixingMapper),t&&e.compareTypes(t,dc(r,t))||(s.inferredType=t=r)),s.inferredType}function Mf(e){return e?Xn:nt}function Ff(e){for(var n=[],t=0;t<e.inferences.length;t++)n.push(wf(e,t));return n}function Gf(e){switch(e.escapedText){case"document":case"console":return wn.Diagnostics.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom;case"$":return v.types?wn.Diagnostics.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:wn.Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery;case"describe":case"suite":case"it":case"test":return v.types?wn.Diagnostics.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:wn.Diagnostics.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;case"process":case"require":case"Buffer":case"module":return v.types?wn.Diagnostics.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:wn.Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode;case"Map":case"Set":case"Promise":case"Symbol":case"WeakMap":case"WeakSet":case"Iterator":case"AsyncIterator":case"SharedArrayBuffer":case"Atomics":case"AsyncIterable":case"AsyncIterableIterator":case"AsyncGenerator":case"AsyncGeneratorFunction":case"BigInt":case"Reflect":case"BigInt64Array":case"BigUint64Array":return wn.Diagnostics.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later;default:return 292===e.parent.kind?wn.Diagnostics.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:wn.Diagnostics.Cannot_find_name_0}}function Bf(e){var n=ka(e);return n.resolvedSymbol||(n.resolvedSymbol=!wn.nodeIsMissing(e)&&Ma(e,e.escapedText,1160127,Gf(e),e,!wn.isWriteOnlyAccess(e),!1,!0)||Jn),n.resolvedSymbol}function Uf(e){return!!wn.findAncestor(e,(function(e){return 179===e.kind||79!==e.kind&&159!==e.kind&&"quit"}))}function Vf(e,n){switch(n.kind){case 210:case 228:return Vf(e,n.expression);case 219:return wn.isAssignmentExpression(n)&&Vf(e,n.left)||wn.isBinaryExpression(n)&&27===n.operatorToken.kind&&Vf(e,n.right)}switch(e.kind){case 229:return 229===n.kind&&e.keywordToken===n.keywordToken&&e.name.escapedText===n.name.escapedText;case 79:case 80:return wn.isThisInTypeQuery(e)?108===n.kind:79===n.kind&&Bf(e)===Bf(n)||(252===n.kind||201===n.kind)&&wi(Bf(e))===Ii(n);case 108:return 108===n.kind;case 106:return 106===n.kind;case 228:case 210:return Vf(e.expression,n);case 204:case 205:return wn.isAccessExpression(n)&&jf(e)===jf(n)&&Vf(e.expression,n.expression);case 159:return wn.isAccessExpression(n)&&e.right.escapedText===jf(n)&&Vf(e.left,n.expression);case 219:return wn.isBinaryExpression(e)&&27===e.operatorToken.kind&&Vf(e.right,n)}return!1}function jf(e){return 204===e.kind?e.name.escapedText:205===e.kind&&wn.isStringOrNumericLiteralLike(e.argumentExpression)?wn.escapeLeadingUnderscores(e.argumentExpression.text):201===e.kind&&(e=Mo(e))?wn.escapeLeadingUnderscores(e):void 0}function Kf(e,n){for(;wn.isAccessExpression(e);)if(Vf(e=e.expression,n))return!0;return!1}function Hf(e,n){for(;wn.isOptionalChain(e);)if(Vf(e=e.expression,n))return 1}function Wf(e,n){return!!(e&&1048576&e.flags&&(e=ll(e,n),e&&2&wn.getCheckFlags(e)))&&(void 0===e.isDiscriminantProperty&&(e.isDiscriminantProperty=192==(192&e.checkFlags)&&!jb(hs(e),331612160)),!!e.isDiscriminantProperty)}function zf(e,n){for(var t,r=0,a=e;r<a.length;r++){var i=a[r];Wf(n,i.escapedName)&&(t?t.push(i):t=[i])}return t}function Jf(e,n){for(var t=new wn.Map,r=0,a=0,i=e;a<i.length;a++){var o=(e=>{if(61603840&e.flags){var a=Co(e,n);if(a){if(!T_(a))return{value:void 0};var i=!1;hg(a,(function(n){n=xp(n).id;var r=t.get(n);r?r!==nt&&(t.set(n,nt),i=!0):t.set(n,e)})),i||r++}}})(i[a]);if("object"==typeof o)return o.value}return 10<=r&&2*r>=e.length?t:void 0}function qf(e){var n,t=e.types;if(!(t.length<10||65536&wn.getObjectFlags(e)))return void 0===e.keyPropertyName&&(t=(n=wn.forEach(t,(function(e){return 59506688&e.flags?wn.forEach(zc(e),(function(e){return b_(hs(e))?e.escapedName:void 0})):void 0})))&&Jf(t,n),e.keyPropertyName=t?n:"",e.constituentMap=t),e.keyPropertyName.length?e.keyPropertyName:void 0}function Xf(e,n){return e=null==(e=e.constituentMap)?void 0:e.get(xp(n).id),e!==nt?e:void 0}function Yf(e,n){var t=qf(e);n=t&&Co(n,t);return n&&Xf(e,n)}function Qf(e,n){return Vf(e,n)||Kf(e,n)}function Zf(e,n){if(e.arguments)for(var t=0,r=e.arguments;t<r.length;t++)if(Qf(n,r[t]))return!0;return!(204!==e.expression.kind||!Qf(n,e.expression.expression))}function $f(e){return(!e.id||e.id<0)&&(e.id=jn,jn++),e.id}function eg(e,n){if(e!==n){if(131072&n.flags)return n;var t=Eg(e,(function(e){var t=n,r=e;if(!(1048576&t.flags))return hm(t,r);for(var a=0,i=t.types;a<i.length;a++)if(hm(i[a],r))return!0;return!1}));if(512&n.flags&&Lp(n)&&(t=Sg(t,Sp)),hm(n,t))return t}return e}function ng(e){var n=jc(e);return!!(n.callSignatures.length||n.constructSignatures.length||n.members.get("bind")&&ym(e,Re))}function tg(e,n){void 0===n&&(n=!1);var t,r,a=e.flags;return 4&a?x?16317953:16776705:128&a?(t=""===e.value,x?t?12123649:7929345:t?12582401:16776705):40&a?x?16317698:16776450:256&a?(r=0===e.value,x?r?12123394:7929090:r?12582146:16776450):64&a?x?16317188:16775940:2048&a?(r=O_(e),x?r?12122884:7928580:r?12581636:16775940):16&a?x?16316168:16774920:528&a?x?e===ut||e===pt?12121864:7927560:e===ut||e===pt?12580616:16774920:524288&a&&!n?16&wn.getObjectFlags(e)&&Pm(e)?x?16318463:16777215:ng(e)?x?7880640:16728e3:x?7888800:16736160:49152&a?9830144:65536&a?9363232:12288&a?x?7925520:16772880:67108864&a?x?7888800:16736160:131072&a?0:465829888&a?ju(e)?x?7929345:16776705:tg($c(e)||nt,n):1048576&a?wn.reduceLeft(e.types,(function(e,t){return e|tg(t,n)}),0):2097152&a?(n=n||jb(e,131068),wn.reduceLeft(e.types,(function(e,t){return e&tg(t,n)}),16777215)):16777215}function rg(e,n){return Eg(e,(function(e){return 0!=(tg(e)&n)}))}function ag(e,n){return n?gu([Oo(e),_E(n)]):e}function ig(e,n){n=Cu(n);return ec(n)&&(Co(e,n=ic(n))||sg(null==(e=Cl(e,n))?void 0:e.type))||Zn}function og(e,n){return bg(e,y_)&&(Co(t=e,""+n)||(bg(t,C_)?Sg(t,(function(e){return k_(e)||tt})):void 0))||sg(IT(65,e,tt,void 0))||Zn;var t}function sg(e){return e&&(v.noUncheckedIndexedAccess?gu([e,tt]):e)}function cg(e){return qd(IT(65,e,tt,void 0)||Zn)}function lg(e){return 219===e.parent.kind&&e.parent.left===e||242===e.parent.kind&&e.parent.initializer===e}function dg(e){return ig(ug(e.parent),e.name)}function ug(e){var n,t,r=e.parent;switch(r.kind){case 241:return ct;case 242:return CT(r)||Zn;case 219:return 202===(t=r).parent.kind&&lg(t.parent)||291===t.parent.kind&&lg(t.parent.parent)?ag(ug(t),t.right):_E(t.right);case 213:return tt;case 202:return t=e,og(ug(n=r),n.elements.indexOf(t));case 223:return cg(ug(r.parent));case 291:return dg(r);case 292:return ag(dg(n=r),n.objectAssignmentInitializer)}return Zn}function pg(e){return ka(e).resolvedType||_E(e)}function mg(e){return 252===e.kind?(t=e).initializer?pg(t.initializer):241===t.parent.parent.kind?ct:242===t.parent.parent.kind&&CT(t.parent.parent)||Zn:(e=(t=e).parent,n=mg(e.parent),ag(199===e.kind?ig(n,t.propertyName||t.name):t.dotDotDotToken?cg(n):og(n,e.elements.indexOf(t)),t.initializer));var n,t}function _g(e){switch(e.kind){case 210:return _g(e.expression);case 219:switch(e.operatorToken.kind){case 63:case 75:case 76:case 77:return _g(e.left);case 27:return _g(e.right)}}return e}function fg(e){var n=ka(e);if(!n.switchTypes){n.switchTypes=[];for(var t=0,r=e.caseBlock.clauses;t<r.length;t++){var a=r[t];n.switchTypes.push(287===(a=a).kind?xp(_E(a.expression)):ht)}}return n.switchTypes}function gg(e,n){for(var t=[],r=0,a=e.caseBlock.clauses;r<a.length;r++){var i=a[r];if(287===i.kind){if(wn.isStringLiteralLike(i.expression)){t.push(i.expression.text);continue}return wn.emptyArray}n&&t.push(void 0)}return t}function yg(e,n){return e===n||1048576&n.flags&&((e,n)=>{if(1048576&e.flags){for(var t=0,r=e.types;t<r.length;t++){var a=r[t];if(!uu(n.types,a))return}return 1}return 1024&e.flags&&Us(e)===n||uu(n.types,e)})(e,n)}function hg(e,n){return 1048576&e.flags?wn.forEach(e.types,n):n(e)}function vg(e,n){return 1048576&e.flags?wn.some(e.types,n):n(e)}function bg(e,n){return 1048576&e.flags?wn.every(e.types,n):n(e)}function Eg(e,n){if(1048576&e.flags){var t=e.types,r=wn.filter(t,n);if(r===t)return e;var a=e.origin,i=void 0;if(a&&1048576&a.flags){a=a.types;var o=wn.filter(a,(function(e){return!!(1048576&e.flags)||n(e)}));if(a.length-o.length==t.length-r.length){if(1===o.length)return o[0];i=fu(1048576,o)}}return hu(r,e.objectFlags,void 0,void 0,i)}return 131072&e.flags||n(e)?e:ht}function Tg(e,n){return Eg(e,(function(e){return e!==n}))}function Sg(e,n,t){if(131072&e.flags)return e;if(!(1048576&e.flags))return n(e);for(var r,a=e.origin,i=!1,o=0,s=(a&&1048576&a.flags?a:e).types;o<s.length;o++){var c=s[o],l=1048576&c.flags?Sg(c,n,t):n(c);i=i||c!==l;l&&(r?r.push(l):r=[l])}return i?r&&gu(r,t?0:1):e}function xg(e,n,t,r){return 1048576&e.flags&&t?gu(wn.map(e.types,n),1,t,r):Sg(e,n)}function Lg(e){return 3145728&e.flags?e.types.length:1}function Dg(e,n){return Eg(e,(function(e){return 0!=(e.flags&n)}))}function Ag(e,n){return yg(ct,e)&&jb(n,128)||yg(lt,e)&&jb(n,256)||yg(dt,e)&&jb(n,2048)?Sg(e,(function(e){return 4&e.flags?Dg(n,132):8&e.flags?Dg(n,264):64&e.flags?Dg(n,2112):e})):e}function Cg(e){return 0===e.flags}function Ig(e){return 0===e.flags?e.type:e}function Ng(e,n){return n?{flags:0,type:131072&e.flags?vt:e}:e}function kg(e){return Bn[e.id]||(Bn[e.id]=(e=e,(n=Vi(256)).elementType=e,n));var n}function Rg(e,n){return n=Y_(S_(gE(n))),yg(n,e.elementType)?e:kg(gu([e.elementType,n]))}function Og(e){return e.finalArrayType||(e.finalArrayType=131072&(e=e.elementType).flags?Ke:qd(1048576&e.flags?gu(e.types,2):e))}function Pg(e){return 256&wn.getObjectFlags(e)?Og(e):e}function wg(e){return 256&wn.getObjectFlags(e)?e.elementType:ht}function Mg(e){e=function e(n){var t=n.parent;return 210===t.kind||219===t.kind&&63===t.operatorToken.kind&&t.left===n||219===t.kind&&27===t.operatorToken.kind&&t.right===n?e(t):n}(e);var n=e.parent,t=wn.isPropertyAccessExpression(n)&&("length"===n.name.escapedText||206===n.parent.kind&&wn.isIdentifier(n.name)&&wn.isPushOrUnshiftIdentifier(n.name));e=205===n.kind&&n.expression===e&&219===n.parent.kind&&63===n.parent.operatorToken.kind&&n.parent.left===n&&!wn.isAssignmentTarget(n.parent)&&Kb(_E(n.argumentExpression),296);return t||e}function Fg(e,n){if(8752&e.flags)return hs(e);if(7&e.flags){if(262144&wn.getCheckFlags(e)){var t=e.syntheticOrigin;if(t&&Fg(t))return hs(e)}if(t=e.valueDeclaration,t){if((252===(r=t).kind||162===r.kind||165===r.kind||164===r.kind)&&wn.getEffectiveTypeAnnotationNode(r))return hs(e);if(wn.isVariableDeclaration(t)&&242===t.parent.parent.kind){var r=t.parent.parent,a=Gg(r.expression,void 0);if(a)return IT(r.awaitModifier?15:13,a,tt,void 0)}n&&wn.addRelatedInfo(n,wn.createDiagnosticForNode(t,wn.Diagnostics._0_needs_an_explicit_type_annotation,so(e)))}}}function Gg(e,n){if(!(16777216&e.flags))switch(e.kind){case 79:var t=wi(Bf(e));return Fg(2097152&t.flags?ai(t):t,n);case 108:if(t=e,t=wn.getThisContainer(t,!1),wn.isFunctionLike(t)){var r=Gl(t);if(r.thisParameter)return Fg(r.thisParameter)}return wn.isClassLike(t.parent)?(r=Ii(t.parent),wn.isStatic(t)?hs(r):Hs(r).thisType):void 0;case 106:return cy(e);case 204:if(r=Gg(e.expression,n),r){var a=e.name,i=void 0;if(wn.isPrivateIdentifier(a)){if(!r.symbol)return;i=gl(r,wn.getSymbolNameForPrivateIdentifier(r.symbol,a.escapedText))}else i=gl(r,a.escapedText);return i&&Fg(i,n)}return;case 210:return Gg(e.expression,n)}}function Bg(e){var n,t=ka(e),r=t.effectsSignature;return void 0===r&&(n=void 0,236===e.parent.kind?n=Gg(e.expression,void 0):106!==e.expression.kind&&(n=wn.isOptionalChain(e)?Ch(H_(yE(e.expression),e.expression),e.expression):Th(e.expression)),e=1!==(n=hl(n&&ol(n)||nt,0)).length||n[0].typeParameters?wn.some(n,Ug)?Hv(e):void 0:n[0],r=t.effectsSignature=e&&Ug(e)?e:Wt),r===Wt?void 0:r}function Ug(e){return!!(Hl(e)||e.declaration&&131072&(Jl(e.declaration)||nt).flags)}function Vg(e){var n=function e(n,t){for(;;){if(n===yn)return hn;var r,a,i,o=n.flags;if(4096&o){if(!t)return c=$f(n),void 0!==(s=Ar[c])?s:Ar[c]=e(n,!0);t=!1}if(368&o)n=n.antecedent;else if(512&o){var s=Bg(n.node);if(s){var c=Hl(s);if(c&&3===c.kind&&!c.type){var l=n.node.arguments[c.parameterIndex];if(l&&jg(l))return!1}if(131072&zl(s).flags)return!1}n=n.antecedent}else{if(4&o)return wn.some(n.antecedents,(function(n){return e(n,!1)}));if(8&o){if(l=n.antecedents,void 0===l||0===l.length)return!1;n=l[0]}else{if(!(128&o))return 1024&o?(yn=void 0,r=n.target,a=r.antecedents,r.antecedents=n.antecedents,i=e(n.antecedent,!1),r.antecedents=a,i):!(1&o);if(n.clauseStart===n.clauseEnd&&Nb(n.switchStatement))return!1;n=n.antecedent}}}}(e,!1);return yn=e,hn=n}function jg(e){return e=wn.skipParentheses(e),95===e.kind||219===e.kind&&(55===e.operatorToken.kind&&(jg(e.left)||jg(e.right))||56===e.operatorToken.kind&&jg(e.left)&&jg(e.right))}function Kg(e,n,t,r){void 0===t&&(t=n);var a,i=!1,o=0,s=0;if(cr)return Zn;if(!e.flowNode)return n;lr++;var c=sr,l=Ig(u(e.flowNode));sr=c,l=256&wn.getObjectFlags(l)&&Mg(e)?Ke:Pg(l);return l===Tt||e.parent&&228===e.parent.kind&&!(131072&l.flags)&&131072&rg(l,2097152).flags?n:l;function d(){return i?a:(i=!0,a=function e(n,t,r,a){switch(n.kind){case 79:return(o=Bf(n))!==Jn?(a?tk(a):"-1")+"|"+t.id+"|"+r.id+"|"+rk(o):void 0;case 108:return"0|"+(a?tk(a):"-1")+"|"+t.id+"|"+r.id;case 228:case 210:return e(n.expression,t,r,a);case 159:return(o=e(n.left,t,r,a))&&o+"."+n.right.escapedText;case 204:case 205:var i,o;if(void 0!==(o=jf(n)))return(i=e(n.expression,t,r,a))&&i+"."+o}}(e,n,t,r))}function u(a){if(2e3===o)return null!=wn.tracing&&wn.tracing.instant("checkTypes","getTypeAtFlowNode_DepthLimit",{flowId:a.id}),cr=!0,i=e,s=wn.findAncestor(i,wn.isFunctionOrModuleBlock),i=wn.getSourceFileOfNode(i),s=wn.getSpanOfTokenAtPosition(i,s.statements.pos),Pr.add(wn.createFileDiagnostic(i,s.start,s.length,wn.Diagnostics.The_containing_function_or_module_body_is_too_large_for_control_flow_analysis)),Zn;var i,s,l;for(o++;;){var g=a.flags;if(4096&g){for(var y=c;y<sr;y++)if(Lr[y]===a)return o--,Dr[y];l=a}var h=void 0;if(16&g){if(!(h=(t=>{var r=t.node;if(Vf(e,r))return Vg(t)?2===wn.getAssignmentTargetKind(r)?Ng(S_(Ig(a=u(t.antecedent))),Cg(a)):n===Yn||n===Ke?(e=>252===e.kind&&e.initializer&&Uo(e.initializer)||201!==e.kind&&219===e.parent.kind&&Uo(e.parent.right))(r)?kg(ht):hm(a=x_(p(t)),n)?a:je:1048576&n.flags?eg(n,p(t)):n:Tt;if(Kf(e,r)){if(!Vg(t))return Tt;if(wn.isVariableDeclaration(r)&&(wn.isInJSFile(r)||wn.isVarConst(r))){var a=wn.getDeclaredExpandoInitializer(r);if(a&&(211===a.kind||212===a.kind))return u(t.antecedent)}return n}return wn.isVariableDeclaration(r)&&241===r.parent.parent.kind&&Vf(e,r.parent.parent.expression)?xh(Ig(u(t.antecedent))):void 0})(a))){a=a.antecedent;continue}}else if(512&g){if(!(h=(e=>{var n=Bg(e.node);if(n){var t,r,a=Hl(n);if(a&&(2===a.kind||3===a.kind))return t=u(e.antecedent),r=Pg(Ig(t)),(e=a.type?k(r,a,e.node,!0):3===a.kind&&0<=a.parameterIndex&&a.parameterIndex<e.node.arguments.length?function e(n,t){if(t=wn.skipParentheses(t),95===t.kind)return Tt;if(219===t.kind){if(55===t.operatorToken.kind)return e(e(n,t.left),t.right);if(56===t.operatorToken.kind)return gu([e(n,t.left),e(n,t.right)])}return R(n,t,!0)}(r,e.node.arguments[a.parameterIndex]):r)===r?t:Ng(e,Cg(t));if(131072&zl(n).flags)return Tt}})(a))){a=a.antecedent;continue}}else if(96&g)h=(e=>{var n,t=u(e.antecedent),r=Ig(t);return 131072&r.flags||(n=0!=(32&e.flags),r=Pg(r),(e=R(r,e.node,n))===r)?t:Ng(e,Cg(t))})(a);else if(128&g)h=(n=>{var t=n.switchStatement.expression,r=u(n.antecedent),a=Ig(r);return Vf(e,t)?a=L(a,n.switchStatement,n.clauseStart,n.clauseEnd):214===t.kind&&Vf(e,t.expression)?a=((e,n,t,r)=>{var a,i,o,s,c,l;return(n=gg(n,!0)).length?(o=wn.findIndex(n,(function(e){return void 0===e})),s=t===r||t<=o&&o<r,i=-1<o?(c=n.filter((function(e){return void 0!==e})),l=o<t?t-1:t,o=o<r?r-1:r,a=c.slice(l,o),Ib(l,o,c,s)):(a=n.slice(t,r),Ib(t,r,n,s)),s?Eg(e,(function(e){return(tg(e)&i)===i})):(l=rg(gu(a.map((function(n){return D(e,n)||e}))),i),rg(Sg(e,A(l)),i))):e})(a,n.switchStatement,n.clauseStart,n.clauseEnd):(x&&(Hf(t,e)?a=S(a,n.switchStatement,n.clauseStart,n.clauseEnd,(function(e){return!(163840&e.flags)})):214===t.kind&&Hf(t.expression,e)&&(a=S(a,n.switchStatement,n.clauseStart,n.clauseEnd,(function(e){return!(131072&e.flags||128&e.flags&&"undefined"===e.value)})))),(t=_(t,a))&&(a=((e,n,t,r,a)=>{if(r<a&&1048576&e.flags&&qf(e)===jf(n)){var i=fg(t).slice(r,a);i=gu(wn.map(i,(function(n){return Xf(e,n)||nt})));if(i!==nt)return i}return f(e,n,(function(e){return L(e,t,r,a)}))})(a,t,n.switchStatement,n.clauseStart,n.clauseEnd))),Ng(a,Cg(r))})(a);else if(12&g){if(1===a.antecedents.length){a=a.antecedents[0];continue}h=(4&g?e=>{for(var r,a=[],i=!1,o=!1,s=0,c=e.antecedents;s<c.length;s++){var l=c[s];if(!r&&128&l.flags&&l.clauseStart===l.clauseEnd)r=l;else{var d=u(l);if((p=Ig(d))===n&&n===t)return p;wn.pushIfUnique(a,p),yg(p,n)||(i=!0),Cg(d)&&(o=!0)}}if(r){var p=Ig(d=u(r));if(!wn.contains(a,p)&&!Nb(r.switchStatement)){if(p===n&&n===t)return p;a.push(p),yg(p,n)||(i=!0),Cg(d)&&(o=!0)}}return Ng(m(a,i?2:1),o)}:e=>{var t=$f(e),r=Er[t]||(Er[t]=new wn.Map),a=d();if(!a)return n;if(t=r.get(a))return t;for(var i=ir;i<or;i++)if(Tr[i]===e&&Sr[i]===a&&xr[i].length)return Ng(m(xr[i],1),!0);for(var o,s=[],c=!1,l=0,p=e.antecedents;l<p.length;l++){var _=p[l],f=void 0;if(o){Tr[or]=e,Sr[or]=a,xr[or]=s,or++;var g=vn;g=(vn=void 0,f=u(_),vn=g,or--,r.get(a));if(g)return g}else f=o=u(_);if(g=Ig(f),wn.pushIfUnique(s,g),yg(g,n)||(c=!0),g===n)break}return t=m(s,c?2:1),Cg(o)?Ng(t,!0):(r.set(a,t),t)})(a)}else if(256&g){if(!(h=(t=>{if(n===Yn||n===Ke){var r=t.node,a=(206===r.kind?r.expression:r.left).expression;if(Vf(e,_g(a))){if(a=u(t.antecedent),t=Ig(a),256&wn.getObjectFlags(t)){var i=t;if(206===r.kind)for(var o=0,s=r.arguments;o<s.length;o++){var c=s[o];i=Rg(i,c)}else Kb(gE(r.left.argumentExpression),296)&&(i=Rg(i,r.right));return i===t?a:Ng(i,Cg(a))}return a}}})(a))){a=a.antecedent;continue}}else if(1024&g){var v=a.target,b=v.antecedents;v.antecedents=a.antecedents,h=u(a.antecedent),v.antecedents=b}else if(2&g){if(v=a.node,v&&v!==r&&204!==e.kind&&205!==e.kind&&108!==e.kind){a=v.flowNode;continue}h=t}else h=gT(n);return l&&(Lr[sr]=l,Dr[sr]=h,sr++),o--,h}}function p(n){return n=n.node,Yg((252===n.kind||201===n.kind?mg:ug)(n),e)}function m(e,t){return(e=>{for(var n=!1,t=0,r=e;t<r.length;t++){var a=r[t];if(!(131072&a.flags)){if(!(256&wn.getObjectFlags(a)))return;n=!0}}return n})(e)?kg(gu(wn.map(e,wg))):(e=gu(wn.sameMap(e,Pg),t))!==n&&e.flags&n.flags&1048576&&wn.arraysEqual(e.types,n.types)?n:e}function _(t,r){var a;r=1048576&n.flags?n:r;return 1048576&r.flags&&(t=(e=>{if(wn.isAccessExpression(e))return e;if(wn.isIdentifier(e)&&(e=Bf(e),Jg(e))){if(e=e.valueDeclaration,wn.isVariableDeclaration(e)&&!e.type&&e.initializer&&wn.isAccessExpression(e.initializer))return e.initializer;if(wn.isBindingElement(e)&&!e.initializer){var n=e.parent.parent;if(wn.isVariableDeclaration(n)&&!n.type&&n.initializer&&(wn.isIdentifier(n.initializer)||wn.isAccessExpression(n.initializer)))return e}}})(t))&&(a=jf(t))&&Vf(e,wn.isAccessExpression(t)?t.expression:t.parent.parent.initializer)&&Wf(r,a)?t:void 0}function f(e,n,t){var r,a,i=jf(n);return void 0!==i&&(r=Co((n=x&&wn.isOptionalChain(n)&&jb(e,98304))?rg(e,2097152):e,i))?(a=t(r=n?B_(r):r),Eg(e,(function(e){var n=Co(e=e,n=i)||(null==(e=Cl(e,n))?void 0:e.type)||nt;return!(131072&n.flags)&&bm(n,a)}))):e}function g(e,n,t,r,a){if((36===t||37===t)&&1048576&e.flags){var i=qf(e);if(i&&i===jf(n)){var o=Xf(e,_E(r));if(o)return t===(a?36:37)?o:b_(Co(o,i)||nt)?Tg(e,o):e}}return f(e,n,(function(e){return E(e,t,r,a)}))}function y(n,t,r){return Vf(e,t)?rg(n,r?4194304:8388608):(t=_(t,n=x&&r&&Hf(t,e)?rg(n,2097152):n))?f(n,t,(function(e){return rg(e,r?4194304:8388608)})):n}function h(e,t,r){return 1048576&e.flags||524288&e.flags&&n!==e||Ju(e)||2097152&e.flags&&wn.every(e.types,(function(e){return e.symbol!==Te}))?Eg(e,(function(e){return a=r,(i=gl(e=e,n=t))?!!(16777216&i.flags)||a:!!Cl(e,n)||!a;var n,a,i})):e}function v(n,t,r){switch(t.operatorToken.kind){case 63:case 75:case 76:case 77:return y(R(n,t.right,r),t.left,r);case 34:case 35:case 36:case 37:var a=t.operatorToken.kind,i=_g(t.left),o=_g(t.right);if(214===i.kind&&wn.isStringLiteralLike(o))return T(n,i,a,o,r);if(214===o.kind&&wn.isStringLiteralLike(i))return T(n,o,a,i,r);if(Vf(e,i))return E(n,a,o,r);if(Vf(e,o))return E(n,a,i,r);x&&(Hf(i,e)?n=b(n,a,o,r):Hf(o,e)&&(n=b(n,a,i,r)));var s=_(i,n);if(s)return g(n,s,a,o,r);if(s=_(o,n),s)return g(n,s,a,i,r);if(C(i))return I(n,a,o,r);if(C(o))return I(n,a,i,r);break;case 102:return s=n,o=t,a=r,i=_g(o.left),Vf(e,i)?vm(i=_E(o.right),Re)?(!(o=gl(i,"prototype"))||Io(o=hs(o))||(c=o),!Io(s)||c!==ke&&c!==Re?(c||(o=hl(i,1),c=o.length?gu(wn.map(o,(function(e){return zl($l(e))}))):kt),!a&&1048576&i.flags&&!wn.find(i.types,(function(e){return!Cs(e)}))?s:N(s,c,a,vm)):s):s:a&&x&&Hf(i,e)?rg(s,2097152):s;case 101:var c=_g(t.right),l=WS(t.left);if(128&l.flags){if(l=wn.escapeLeadingUnderscores(l.value),z_(n)&&wn.isAccessExpression(e)&&Vf(e.expression,c)&&jf(e)===l)return rg(n,r?524288:65536);if(Vf(e,c))return h(n,l,r)}break;case 27:return R(n,t.right,r);case 55:return r?R(R(n,t.left,!0),t.right,!0):gu([R(n,t.left,!1),R(n,t.right,!1)]);case 56:return r?gu([R(n,t.left,!0),R(n,t.right,!0)]):R(R(n,t.left,!1),t.right,!1)}return n}function b(e,n,t,r){var a=34===n||36===n,i=34===n||35===n?98304:32768;n=_E(t);return a!==r&&bg(n,(function(e){return!!(e.flags&i)}))||a===r&&bg(n,(function(e){return!(e.flags&(3|i))}))?rg(e,2097152):e}function E(e,n,t,r){if(1&e.flags)return e;35!==n&&37!==n||(r=!r);var a=_E(t);return 2&e.flags&&r&&(36===n||37===n)?67239932&a.flags?a:524288&a.flags?St:e:98304&a.flags?x?rg(e,34===n||35===n?r?262144:2097152:65536&a.flags?r?131072:1048576:r?65536:524288):e:r?Ag(Eg(e,34===n?function(e){return Em(e,a)||(n=a,0!=(524&e.flags)&&0!=(28&n.flags));var n}:function(e){return Em(e,a)}),a):b_(a)?Eg(e,(function(e){return!(E_(e)&&Em(e,a))})):e}function T(n,t,r,a,i){return 35!==r&&37!==r||(i=!i),r=_g(t.expression),Vf(e,r)?1&n.flags&&"function"===a.text?n:i&&2&n.flags&&"object"===a.text?219===t.parent.parent.kind&&(r=t.parent.parent,55===r.operatorToken.kind&&r.right===t.parent&&function e(n,t){return Vf(n,t)||219===t.kind&&55===t.operatorToken.kind&&(e(n,t.left)||e(n,t.right))}(e,r.left))?St:gu([St,ot]):(t=i?Kn.get(a.text)||128:Hn.get(a.text)||32768,r=D(n,a.text),rg(i&&r?Sg(n,A(r)):n,t)):x&&Hf(r,e)&&i===("undefined"!==a.text)?rg(n,2097152):n}function S(e,n,t,r,a){return t!==r&&wn.every(fg(n).slice(t,r),a)?rg(e,2097152):e}function L(e,n,t,r){var a=fg(n);if(!a.length)return e;var i=a.slice(t,r);n=t===r||wn.contains(i,ht);if(2&e.flags&&!n){for(var o=void 0,s=0;s<i.length;s+=1){var c=i[s];if(67239932&c.flags)void 0!==o&&o.push(c);else{if(!(524288&c.flags))return e;(o=void 0===o?i.slice(0,s):o).push(St)}}return gu(void 0===o?i:o)}var l=gu(i);t=131072&l.flags?ht:Ag(Eg(e,(function(e){return Em(l,e)})),l);return n?(r=Eg(e,(function(e){return!(E_(e)&&wn.contains(a,xp(2097152&(e=e).flags&&wn.find(e.types,b_)||e)))})),131072&t.flags?r:gu([t,r])):t}function D(e,n){switch(n){case"function":return 1&e.flags?e:Re;case"object":return 2&e.flags?gu([St,ot]):e;default:return Mr.get(n)}}function A(e){return function(n){if(!ym(n,e)){if(ym(e,n))return e;if(465829888&n.flags){var t=$c(n)||Xn;if(ym(e,t))return Tu([n,e])}}return n}}function C(n){return(wn.isPropertyAccessExpression(n)&&"constructor"===wn.idText(n.name)||wn.isElementAccessExpression(n)&&wn.isStringLiteralLike(n.argumentExpression)&&"constructor"===n.argumentExpression.text)&&Vf(e,n.expression)}function I(e,n,t,r){var a;return(r?34===n||36===n:35===n||37===n)&&(hx(r=_E(t))||Cs(r))&&(n=gl(r,"prototype"))&&(t=hs(n),a=Io(t)?void 0:t)&&a!==ke&&a!==Re?Io(e)?a:Eg(e,(function(e){var n=a;return 524288&e.flags&&1&wn.getObjectFlags(e)||524288&n.flags&&1&wn.getObjectFlags(n)?e.symbol===n.symbol:ym(e,n)})):e}function N(e,n,t,r){return t?1048576&e.flags&&(t=Eg(e,(function(e){return r(e,n)})),!(131072&t.flags))?t:ym(n,e)?n:hm(e,n)?e:hm(n,e)?n:Tu([e,n]):Eg(e,(function(e){var t;return!r(e,n)||!(!(t=$c(e))||t===e||r(t,n))}))}function k(n,t,r,a){if(t.type&&(!Io(n)||t.type!==ke&&t.type!==Re)&&(r=r,r=1===(i=t).kind||3===i.kind?r.arguments[i.parameterIndex]:(i=wn.skipParentheses(r.expression),wn.isAccessExpression(i)?wn.skipParentheses(i.expression):void 0),r)){if(Vf(e,r))return N(n,t.type,a,ym);if(i=_(r,n=x&&a&&Hf(r,e)&&!(65536&tg(t.type))?rg(n,2097152):n),i)return f(n,i,(function(e){return N(e,t.type,a,ym)}))}var i;return n}function R(n,t,r){var a,i,o;if(wn.isExpressionOfOptionalChainRoot(t)||wn.isBinaryExpression(t.parent)&&60===t.parent.operatorToken.kind&&t.parent.left===t)return a=n,o=r,Vf(e,i=t)?rg(a,o?2097152:262144):(i=_(i,a))?f(a,i,(function(e){return rg(e,o?2097152:262144)})):a;switch(t.kind){case 79:if(!Vf(e,t)&&s<5){var c=Bf(t);if(Jg(c)){c=c.valueDeclaration;if(c&&wn.isVariableDeclaration(c)&&!c.type&&c.initializer&&function e(n){switch(n.kind){case 79:var t=Bf(n);return Jg(t)||!!t.valueDeclaration&&162===wn.getRootDeclaration(t.valueDeclaration).kind&&!Wg(t);case 204:case 205:return e(n.expression)&&Fb(ka(n).resolvedSymbol||Jn)}return!1}(e))return s++,c=R(n,c.initializer,r),s--,c}}case 108:case 106:case 204:case 205:return y(n,t,r);case 206:c=n;var l=t,d=r;if(Zf(l,e)){var u=d||!wn.isCallChain(l)?Bg(l):void 0;u=u&&Hl(u);if(u&&(0===u.kind||1===u.kind))return k(c,u,l,d)}return z_(c)&&wn.isAccessExpression(e)&&wn.isPropertyAccessExpression(l.expression)&&(u=l.expression,Vf(e.expression,_g(u.expression))&&wn.isIdentifier(u.name)&&"hasOwnProperty"===u.name.escapedText&&1===l.arguments.length&&(u=l.arguments[0],wn.isStringLiteralLike(u)&&jf(e)===wn.escapeLeadingUnderscores(u.text)))?rg(c,d?524288:65536):c;case 210:case 228:return R(n,t.expression,r);case 219:return v(n,t,r);case 217:if(53===t.operator)return R(n,t.operand,!r)}return n}}function Hg(e){return wn.findAncestor(e.parent,(function(e){return wn.isFunctionLike(e)&&!wn.getImmediatelyInvokedFunctionExpression(e)||260===e.kind||300===e.kind||165===e.kind}))}function Wg(e){var n,t;return e.valueDeclaration&&(8388608&(t=ka(n=wn.getRootDeclaration(e.valueDeclaration).parent)).flags||(t.flags|=8388608,wn.findAncestor(n.parent,(function(e){return wn.isFunctionLike(e)&&!!(8388608&ka(e).flags)})))||zg(n),e.isAssigned)||!1}function zg(e){var n;79===e.kind?wn.isAssignmentTarget(e)&&(n=Bf(e)).valueDeclaration&&162===wn.getRootDeclaration(n.valueDeclaration).kind&&(n.isAssigned=!0):wn.forEachChild(e,zg)}function Jg(e){return 3&e.flags&&0!=(2&hh(e))}function qg(e,n){var t=n.parent;return 204===t.kind||206===t.kind&&t.expression===n||205===t.kind&&t.expression===n&&!(465829888&(n=e).flags&&!jb(el(n),98304)&&Wu(_E(t.argumentExpression)))}function Xg(e){return!!(465829888&e.flags&&1146880&el(e).flags)}function Yg(e,n,t){return t&&2&t||!vg(e,Xg)||!qg(e,n)&&(t=n,!(t=(wn.isIdentifier(t)||wn.isPropertyAccessExpression(t)||wn.isElementAccessExpression(t))&&!((wn.isJsxOpeningElement(t.parent)||wn.isJsxSelfClosingElement(t.parent))&&t.parent.tagName===t)&&ky(t,8))||Ku(t))?e:Sg(e,(function(e){return 465829888&e.flags?el(e):e}))}function Qg(e){return wn.findAncestor(e,(function(e){return e.parent&&wn.isExportAssignment(e.parent)&&e.parent.expression===e&&wn.isEntityNameExpression(e)}))}function Zg(e,n){var t;!ti(e,111551)||Uf(n)||si(e)||111551&(t=ai(e)).flags&&(v.isolatedModules||wn.shouldPreserveConstEnums(v)&&Qg(n)||!sx(t)?li(e):(n=Na(n=e)).constEnumReferenced||(n.constEnumReferenced=!0))}function $g(e,n){var t=Bf(e);if(t===Jn)return Zn;if(t===Se)return Bh(e)?(fa(e,wn.Diagnostics.arguments_cannot_be_referenced_in_property_initializers),Zn):(o=wn.getContainingFunction(e),b<2&&(212===o.kind?fa(e,wn.Diagnostics.The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression):wn.hasSyntacticModifier(o,256)&&fa(e,wn.Diagnostics.The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method)),ka(o).flags|=8192,hs(t));e.parent&&wn.isPropertyAccessExpression(e.parent)&&e.parent.expression===e||Zg(t,e);var r=wi(t),a=2097152&r.flags?ai(r):r,i=(a.declarations&&134217728&hh(a)&&Gu(e,a)&&ba(e,a.declarations,e.escapedText),r.valueDeclaration);if(i&&32&r.flags)if(255===i.kind&&wn.nodeIsDecorated(i))for(var o=wn.getContainingClass(e);void 0!==o;){if(o===i&&o.name!==e){ka(i).flags|=16777216,ka(e).flags|=33554432;break}o=wn.getContainingClass(o)}else if(224===i.kind)for(o=wn.getThisContainer(e,!1);300!==o.kind;){if(o.parent===i){(wn.isPropertyDeclaration(o)&&wn.isStatic(o)||wn.isClassStaticBlockDeclaration(o))&&(ka(i).flags|=16777216,ka(e).flags|=33554432);break}o=wn.getThisContainer(o,!1)}a=e,h=t,2<=b||0==(34&h.flags)||!h.valueDeclaration||wn.isSourceFile(h.valueDeclaration)||290===h.valueDeclaration.parent.kind||(g=wn.getEnclosingBlockScopeContainer(h.valueDeclaration),y=((e,n)=>!!wn.findAncestor(e,(function(e){return e===n?"quit":wn.isFunctionLike(e)||e.parent&&wn.isPropertyDeclaration(e.parent)&&!wn.hasStaticModifier(e.parent)&&e.parent.initializer===e})))(a,g),(_=ey(g))&&(y&&(m=!0,m=!(wn.isForStatement(g)&&(f=wn.getAncestor(h.valueDeclaration,253))&&f.parent===g&&(l=((e,n)=>wn.findAncestor(e,(function(e){return e===n?"quit":e===n.initializer||e===n.condition||e===n.incrementor||e===n.statement})))(a.parent,g))&&((c=ka(l)).flags|=131072,c=c.capturedBlockScopeBindings||(c.capturedBlockScopeBindings=[]),wn.pushIfUnique(c,h),l===g.initializer))&&m)&&(ka(_).flags|=65536),wn.isForStatement(g)&&(f=wn.getAncestor(h.valueDeclaration,253))&&f.parent===g&&((e,n)=>{for(var t,r=e;210===r.parent.kind;)r=r.parent;return e=!1,wn.isAssignmentTarget(r)?e=!0:217!==r.parent.kind&&218!==r.parent.kind||(t=r.parent,e=45===t.operator||46===t.operator),e&&!!wn.findAncestor(r,(function(e){return e===n?"quit":e===n.statement}))})(a,g)&&(ka(h.valueDeclaration).flags|=4194304),ka(h.valueDeclaration).flags|=524288),y&&(ka(h.valueDeclaration).flags|=262144));var s=hs(r),c=wn.getAssignmentTargetKind(e);if(c){if(!(3&r.flags||wn.isInJSFile(e)&&512&r.flags))return fa(e,384&r.flags?wn.Diagnostics.Cannot_assign_to_0_because_it_is_an_enum:32&r.flags?wn.Diagnostics.Cannot_assign_to_0_because_it_is_a_class:1536&r.flags?wn.Diagnostics.Cannot_assign_to_0_because_it_is_a_namespace:16&r.flags?wn.Diagnostics.Cannot_assign_to_0_because_it_is_a_function:2097152&r.flags?wn.Diagnostics.Cannot_assign_to_0_because_it_is_an_import:wn.Diagnostics.Cannot_assign_to_0_because_it_is_not_a_variable,so(t)),Zn;if(Fb(r))return 3&r.flags?fa(e,wn.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant,so(t)):fa(e,wn.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,so(t)),Zn}var l=2097152&r.flags;if(3&r.flags){if(1===c)return s}else{if(!l)return s;i=Ka(t)}if(!i)return s;s=Yg(s,e,n);for(var d=162===wn.getRootDeclaration(i).kind,u=Hg(i),p=Hg(e),m=p!==u,_=e.parent&&e.parent.parent&&wn.isSpreadAssignment(e.parent)&&lg(e.parent.parent),f=134217728&t.flags;p!==u&&(211===p.kind||212===p.kind||wn.isObjectLiteralOrClassExpressionMethod(p))&&(Jg(r)&&s!==Ke||d&&!Wg(r));)p=Hg(p);var g,y,h;a=d||l||m||_||f||wn.isBindingElement(i)||s!==Yn&&s!==Ke&&(!x||0!=(16387&s.flags)||Uf(e)||273===e.parent.kind)||228===e.parent.kind||252===i.kind&&i.exclamationToken||8388608&i.flags,n=Kg(e,s,a?d?(g=s,xo((y=i).symbol,2)?(h=x&&162===y.kind&&y.initializer&&32768&w_(g)&&!(32768&w_(yE(y.initializer))),Do(),h?rg(g,524288):g):(gs(y.symbol),g)):s:s===Yn||s===Ke?tt:B_(s),p);if(Mg(e)||s!==Yn&&s!==Ke){if(!a&&!(32768&w_(s))&&32768&w_(n))return fa(e,wn.Diagnostics.Variable_0_is_used_before_being_assigned,so(t)),s}else if(n===Yn||n===Ke)return C&&(fa(wn.getNameOfDeclaration(i),wn.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined,so(t),lo(n)),fa(e,wn.Diagnostics.Variable_0_implicitly_has_an_1_type,so(t),lo(n))),gT(n);return c?S_(n):n}function ey(e){return wn.findAncestor(e,(function(e){return!e||wn.nodeStartsNewLexicalEnvironment(e)?"quit":wn.isIterationStatement(e,!1)}))}function ny(e,n){ka(e).flags|=2,165===n.kind||169===n.kind?ka(n.parent).flags|=4:ka(n).flags|=4}function ty(e){return wn.isSuperCall(e)?e:wn.isFunctionLike(e)?void 0:wn.forEachChild(e,ty)}function ry(e){return Rs(Hs(Ii(e)))===st}function ay(e,n,t){n=n.parent,wn.getClassExtendsHeritageElement(n)&&!ry(n)&&e.flowNode&&!function e(n,t){for(;;){var r,a,i,o=n.flags;if(4096&o){if(!t)return a=$f(n),void 0!==(r=Cr[a])?r:Cr[a]=e(n,!0);t=!1}if(496&o)n=n.antecedent;else if(512&o){if(106===n.node.expression.kind)return!0;n=n.antecedent}else{if(4&o)return wn.every(n.antecedents,(function(n){return e(n,!1)}));if(!(8&o))return 1024&o?(a=(r=n.target).antecedents,r.antecedents=n.antecedents,i=e(n.antecedent,!1),r.antecedents=a,i):!!(1&o);n=n.antecedents[0]}}}(e.flowNode,!1)&&fa(e,t)}function iy(e){var n=Uf(e),t=wn.getThisContainer(e,!0),r=!1;switch(169===t.kind&&ay(e,t,wn.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class),212===t.kind&&(t=wn.getThisContainer(t,!1),r=!0),a=e,i=t,wn.isPropertyDeclaration(i)&&wn.hasStaticModifier(i)&&i.initializer&&wn.textRangeContainsPositionInclusive(i.initializer,a.pos)&&wn.length(i.parent.decorators)&&fa(a,wn.Diagnostics.Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class),t.kind){case 259:fa(e,wn.Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 258:fa(e,wn.Diagnostics.this_cannot_be_referenced_in_current_location);break;case 169:sy(e,t)&&fa(e,wn.Diagnostics.this_cannot_be_referenced_in_constructor_arguments);break;case 160:fa(e,wn.Diagnostics.this_cannot_be_referenced_in_a_computed_property_name)}!n&&r&&b<2&&ny(e,t);var a,i=oy(e,!0,t);return I&&(i===(a=hs(Te))&&r?fa(e,wn.Diagnostics.The_containing_arrow_function_captures_the_global_value_of_this):i||(n=fa(e,wn.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation),wn.isSourceFile(t))||(r=oy(t))&&r!==a&&wn.addRelatedInfo(n,wn.createDiagnosticForNode(t,wn.Diagnostics.An_outer_value_of_this_is_shadowed_by_this_container))),i||Xn}function oy(e,n,t){void 0===n&&(n=!0),void 0===t&&(t=wn.getThisContainer(e,!1));var r=wn.isInJSFile(e);if(wn.isFunctionLike(t)&&(!my(e)||wn.getThisParameter(t))){var a,i=Kl(Gl(t))||r&&(e=>{var n=wn.getJSDocType(e);return n&&312===n.kind&&0<n.parameters.length&&n.parameters[0].name&&"this"===n.parameters[0].name.escapedText?Op(n.parameters[0].type):(n=wn.getJSDocThisTag(e))&&n.typeExpression?Op(n.typeExpression):void 0})(t);if(i||(a=211===(a=t).kind&&wn.isBinaryExpression(a.parent)&&3===wn.getAssignmentDeclarationKind(a.parent)?a.parent.left.expression.expression:167===a.kind&&203===a.parent.kind&&wn.isBinaryExpression(a.parent.parent)&&6===wn.getAssignmentDeclarationKind(a.parent.parent)?a.parent.parent.left.expression:211===a.kind&&291===a.parent.kind&&203===a.parent.parent.kind&&wn.isBinaryExpression(a.parent.parent.parent)&&6===wn.getAssignmentDeclarationKind(a.parent.parent.parent)?a.parent.parent.parent.left.expression:211===a.kind&&wn.isPropertyAssignment(a.parent)&&wn.isIdentifier(a.parent.name)&&("value"===a.parent.name.escapedText||"get"===a.parent.name.escapedText||"set"===a.parent.name.escapedText)&&wn.isObjectLiteralExpression(a.parent.parent)&&wn.isCallExpression(a.parent.parent.parent)&&a.parent.parent.parent.arguments[2]===a.parent.parent&&9===wn.getAssignmentDeclarationKind(a.parent.parent.parent)?a.parent.parent.parent.arguments[0].expression:wn.isMethodDeclaration(a)&&wn.isIdentifier(a.name)&&("value"===a.name.escapedText||"get"===a.name.escapedText||"set"===a.name.escapedText)&&wn.isObjectLiteralExpression(a.parent)&&wn.isCallExpression(a.parent.parent)&&a.parent.parent.arguments[2]===a.parent&&9===wn.getAssignmentDeclarationKind(a.parent.parent)?a.parent.parent.arguments[0].expression:void 0,r&&a?(r=yE(a).symbol)&&r.members&&16&r.flags&&(i=Hs(r).thisType):Wv(t)&&(i=Hs(Ci(t.symbol)).thisType),i=i||dy(t)),i)return Kg(e,i)}return wn.isClassLike(t.parent)?(a=Ii(t.parent),Kg(e,wn.isStatic(t)?hs(a):Hs(a).thisType)):wn.isSourceFile(t)?t.commonJsModuleIndicator?(r=Ii(t))&&hs(r):t.externalModuleIndicator?tt:n?hs(Te):void 0:void 0}function sy(e,n){return wn.findAncestor(e,(function(e){return wn.isFunctionLikeDeclaration(e)?"quit":162===e.kind&&e.parent===n}))}function cy(e){var n=206===e.parent.kind&&e.parent.expression===e,t=wn.getSuperContainer(e,!0),r=t,a=!1;if(!n)for(;r&&212===r.kind;)r=wn.getSuperContainer(r,!0),a=b<2;var i,o=0;return(e=>{if(e){if(n)return 169===e.kind;if(wn.isClassLike(e.parent)||203===e.parent.kind)return wn.isStatic(e)?167===e.kind||166===e.kind||170===e.kind||171===e.kind||165===e.kind||168===e.kind:167===e.kind||166===e.kind||170===e.kind||171===e.kind||165===e.kind||164===e.kind||169===e.kind}return!1})(r)?(n||169!==t.kind||ay(e,r,wn.Diagnostics.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class),wn.isStatic(r)||n?(o=512,!n&&2<=b&&b<=8&&(wn.isPropertyDeclaration(r)||wn.isClassStaticBlockDeclaration(r))&&wn.forEachEnclosingBlockScopeContainer(e.parent,(function(e){wn.isSourceFile(e)&&!wn.isExternalOrCommonJsModule(e)||(ka(e).flags|=134217728)}))):o=256,ka(e).flags|=o,167===r.kind&&wn.hasSyntacticModifier(r,256)&&(wn.isSuperProperty(e.parent)&&wn.isAssignmentTarget(e.parent)?ka(r).flags|=4096:ka(r).flags|=2048),a&&ny(e.parent,r),203===r.parent.kind?b<2?(fa(e,wn.Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),Zn):Xn:(t=r.parent,wn.getClassExtendsHeritageElement(t)?(i=(t=Hs(Ii(t)))&&Ps(t)[0])?169===r.kind&&sy(e,r)?(fa(e,wn.Diagnostics.super_cannot_be_referenced_in_constructor_arguments),Zn):512===o?Rs(t):dc(i,t.thisType):Zn:(fa(e,wn.Diagnostics.super_can_only_be_referenced_in_a_derived_class),Zn))):((o=wn.findAncestor(e,(function(e){return e===r?"quit":160===e.kind})))&&160===o.kind?fa(e,wn.Diagnostics.super_cannot_be_referenced_in_a_computed_property_name):n?fa(e,wn.Diagnostics.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors):r&&r.parent&&(wn.isClassLike(r.parent)||203===r.parent.kind)?fa(e,wn.Diagnostics.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class):fa(e,wn.Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions),Zn)}function ly(e){return 4&wn.getObjectFlags(e)&&e.target===Ve?yd(e)[0]:void 0}function dy(e){if(212!==e.kind){if(um(e)){var n=By(e);if(n&&(n=n.thisParameter,n))return hs(n)}if(n=wn.isInJSFile(e),I||n){var t=167!==(r=e).kind&&170!==r.kind&&171!==r.kind||203!==r.parent.kind?211===r.kind&&291===r.parent.kind?r.parent.parent:void 0:r.parent;if(t){for(var r=Cy(t),a=t,i=r;i;){var o=Sg(i,(function(e){return 2097152&e.flags?wn.forEach(e.types,ly):ly(e)}));if(o)return am(o,mf(Ry(t)));if(291!==a.parent.kind)break;i=Cy(a=a.parent.parent)}return ef(r?U_(r):nE(t))}if(r=wn.walkUpParenthesizedExpressions(e.parent),219===r.kind&&63===r.operatorToken.kind&&(e=r.left,wn.isAccessExpression(e))){if(e=e.expression,n&&wn.isIdentifier(e)&&(n=wn.getSourceFileOfNode(r),n.commonJsModuleIndicator&&Bf(e)===n.symbol))return;return ef(nE(e))}}}}function uy(e){var n,t,r,a,i=e.parent;if(um(i))return(a=wn.getImmediatelyInvokedFunctionExpression(i))&&a.arguments?(t=xv(a),r=i.parameters.indexOf(e),e.dotDotDotToken?yv(t,r,t.length,Xn,void 0,0):(n=(a=ka(a)).resolvedSignature,a.resolvedSignature=Ht,t=r<t.length?x_(yE(t[r])):e.initializer?void 0:rt,a.resolvedSignature=n,t)):(r=By(i))?(a=i.parameters.indexOf(e)-(wn.getThisParameter(i)?1:0),(e.dotDotDotToken&&wn.lastOrUndefined(i.parameters)===e?mb:pb)(r,a)):void 0}function py(e){var n=wn.getEffectiveTypeAnnotationNode(e);if(n)return Op(n);switch(e.kind){case 162:return uy(e);case 201:var t=e,r=t.parent.parent,a=t.propertyName||t.name,i=py(r)||201!==r.kind&&r.initializer&&tE(r);return!i||wn.isBindingPattern(a)||wn.isComputedNonLiteralName(a)?void 0:200===r.name.kind?(r=wn.indexOfNode(t.parent.elements,t))<0?void 0:Sy(i,r):ec(t=Cu(a))?(r=ic(t),Co(i,r)):void 0;case 165:if(wn.isStatic(e)&&(a=e,t=wn.isExpression(a.parent)&&ky(a.parent),t))return Ey(t,Ii(a).escapedName)}}function my(e){for(var n=!1;e.parent&&!wn.isFunctionLike(e.parent);){if(wn.isParameter(e.parent)&&(n||e.parent.initializer===e))return 1;wn.isBindingElement(e.parent)&&e.parent.initializer===e&&(n=!0),e=e.parent}}function _y(e,n){var t=!!(2&wn.getFunctionFlags(n));n=fy(n);if(n)return YT(e,n,t)||void 0}function fy(e){var n=Jl(e);return n||((n=Gy(e))&&!ql(n)?zl(n):void 0)}function gy(e,n){return n=xv(e).indexOf(n),-1===n?void 0:yy(e,n)}function yy(e,n){var t=ka(e).resolvedSignature===zt?zt:Hv(e);return wn.isJsxOpeningLikeElement(e)&&0===n?Oy(t,e):(e=t.parameters.length-1,ck(t)&&e<=n?Zu(hs(t.parameters[e]),Ap(n-e),256):ub(t,n))}function hy(e,n){var t=e.parent,r=t.left,a=t.right;switch(t.operatorToken.kind){case 63:case 76:case 75:case 77:if(e===a){var i=t,o=wn.getAssignmentDeclarationKind(i);switch(o){case 0:case 4:var s=(e=>{var n,t,r;return e.symbol?e.symbol:wn.isIdentifier(e)?Bf(e):wn.isPropertyAccessExpression(e)?(n=_E(e.expression),wn.isPrivateIdentifier(e.name)?(t=n,(r=Oh((r=e.name).escapedText,r))&&Ph(t,r)):gl(n,e.name.escapedText)):void 0})(i.left),c=s&&s.valueDeclaration;return c&&(wn.isPropertyDeclaration(c)||wn.isPropertySignature(c))?(l=wn.getEffectiveTypeAnnotationNode(c))&&am(Op(l),Na(s).mapper)||c.initializer&&_E(i.left):0===o?_E(i.left):by(i);case 5:if(vy(i,o))return by(i);if(i.left.symbol){if(s=i.left.symbol.valueDeclaration,!s)return;c=wn.cast(i.left,wn.isAccessExpression);if(l=wn.getEffectiveTypeAnnotationNode(s))return Op(l);if(wn.isIdentifier(c.expression)){var l=c.expression;l=Ma(l,l.escapedText,111551,void 0,l.escapedText,!0);if(l)return l=l.valueDeclaration&&wn.getEffectiveTypeAnnotationNode(l.valueDeclaration),l&&(c=wn.getElementOrPropertyAccessName(c),void 0!==c)?Ey(Op(l),c):void 0}return wn.isInJSFile(s)?void 0:_E(i.left)}return _E(i.left);case 1:case 6:case 3:var d=null==(l=i.left.symbol)?void 0:l.valueDeclaration;case 2:return s=(d=d||(null==(c=i.symbol)?void 0:c.valueDeclaration))&&wn.getEffectiveTypeAnnotationNode(d),s?Op(s):void 0;case 7:case 8:case 9:return wn.Debug.fail("Does not apply");default:return wn.Debug.assertNever(o)}return}return;case 56:case 60:var u=ky(t,n);return e===a&&(u&&u.pattern||!u&&!wn.isDefaultedExpandoInitializer(t))?_E(r):u;case 55:case 27:return e===a?ky(t,n):void 0;default:return}}function vy(e,n){return 4===(n=void 0===n?wn.getAssignmentDeclarationKind(e):n)||!(!wn.isInJSFile(e)||5!==n||!wn.isIdentifier(e.left.expression))&&(n=e.left.expression.escapedText,e=Ma(e.left,n,111551,void 0,void 0,!0,!0),wn.isThisInitializedDeclaration(null==e?void 0:e.valueDeclaration))}function by(e){if(!e.symbol)return _E(e.left);if(e.symbol.valueDeclaration){var n=wn.getEffectiveTypeAnnotationNode(e.symbol.valueDeclaration);if(n&&(n=Op(n),n))return n}n=wn.cast(e.left,wn.isAccessExpression);return wn.isObjectLiteralMethod(wn.getThisContainer(n.expression,!1))&&(e=iy(n.expression),void 0!==(n=wn.getElementOrPropertyAccessName(n)))&&Ey(e,n)||void 0}function Ey(e,n){return Sg(e,(function(e){if(Vc(e)){var t=Rc(e),r=(t=$c(t)||t,Dp(wn.unescapeLeadingUnderscores(n)));if(hm(r,t))return Qu(e,r)}else if(3670016&e.flags)return t=gl(e,n),t?(r=t,262144&wn.getCheckFlags(r)&&!r.type&&0<=Lo(r,0)?void 0:hs(t)):C_(e)&&(t=k_(e),t&&Hy(n)&&0<=+n)?t:null==(t=bl(Tl(e),Dp(wn.unescapeLeadingUnderscores(n))))?void 0:t.type}),!0)}function Ty(e,n){var t=e.parent,r=wn.isPropertyAssignment(e)&&py(e);if(r)return r;var a;r=Cy(t,n);if(r){if(ac(e))return Ey(r,Ii(e).escapedName);if(e.name)return a=Cu(e.name),Sg(r,(function(e){return null==(e=bl(Tl(e),a))?void 0:e.type}),!0)}}function Sy(e,n){return e&&(Ey(e,""+n)||Sg(e,(function(e){return NT(1,e,tt,void 0,!1)}),!0))}function xy(e){var n,t,r,a=e.parent;return wn.isJsxAttributeLike(a)?ky(e):wn.isJsxElement(a)&&(t=Cy(a.openingElement.tagName),r=ch(oh(a)),t)&&!Io(t)&&r&&""!==r?(a=wn.getSemanticJsxChildren(a.children),n=a.indexOf(e),(e=Ey(t,r))&&(1===a.length?e:Sg(e,(function(e){return m_(e)?Zu(e,Ap(n)):e}),!0))):void 0}function Ly(e){var n;return wn.isJsxAttribute(e)?(n=Cy(e.parent))&&!Io(n)?Ey(n,e.name.escapedText):void 0:ky(e.parent)}function Dy(e){switch(e.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 Dy(e.expression);case 286:return!e.expression||Dy(e.expression)}return!1}function Ay(e,n){return r=e,a=qf(t=n),(r=(r=a&&wn.find(r.properties,(function(e){return e.symbol&&291===e.kind&&e.symbol.escapedName===a&&Dy(e.initializer)})))&&_E(r.initializer))&&Xf(t,r)||Wm(n,wn.concatenate(wn.map(wn.filter(e.properties,(function(e){return!!e.symbol&&291===e.kind&&Dy(e.initializer)&&Wf(n,e.symbol.escapedName)})),(function(e){return[function(){return gE(e.initializer)},e.symbol.escapedName]})),wn.map(wn.filter(zc(n),(function(t){var r;return!!(16777216&t.flags)&&!(null==(r=null==e?void 0:e.symbol)||!r.members)&&!e.symbol.members.has(t.escapedName)&&Wf(n,t.escapedName)})),(function(e){return[function(){return tt},e.escapedName]}))),hm,n);var t,r,a}function Cy(e,n){var t,r,a=Iy((wn.isObjectLiteralMethod(e)?(e,n)=>{if(wn.Debug.assert(wn.isObjectLiteralMethod(e)),!(16777216&e.flags))return Ty(e,n)}:ky)(e,n),e,n);if(a&&!(n&&2&n&&8650752&a.flags))return 1048576&(n=Sg(a,ol,!0)).flags&&wn.isObjectLiteralExpression(e)?Ay(e,n):1048576&n.flags&&wn.isJsxAttributes(e)?(t=e,Wm(r=n,wn.concatenate(wn.map(wn.filter(t.properties,(function(e){return!!e.symbol&&283===e.kind&&Wf(r,e.symbol.escapedName)&&(!e.initializer||Dy(e.initializer))})),(function(e){return[e.initializer?function(){return yE(e.initializer)}:function(){return mt},e.symbol.escapedName]})),wn.map(wn.filter(zc(r),(function(e){var n;return!!(16777216&e.flags)&&!(null==(n=null==t?void 0:t.symbol)||!n.members)&&!t.symbol.members.has(e.escapedName)&&Wf(r,e.escapedName)})),(function(e){return[function(){return tt},e.escapedName]}))),hm,r)):n}function Iy(e,n,t){if(e&&jb(e,465829888)&&(n=Ry(n),n&&wn.some(n.inferences,uE))){if(t&&1&t)return Ny(e,n.nonFixingMapper);if(n.returnMapper)return Ny(e,n.returnMapper)}return e}function Ny(e,n){return 465829888&e.flags?am(e,n):1048576&e.flags?gu(wn.map(e.types,(function(e){return Ny(e,n)})),0):2097152&e.flags?Tu(wn.map(e.types,(function(e){return Ny(e,n)}))):e}function ky(e,n){if(!(16777216&e.flags)){if(e.contextualType)return e.contextualType;var t=e.parent;switch(t.kind){case 252:case 162:case 165:case 164:case 201:var r=e,a=n,i=r.parent;if(wn.hasInitializer(i)&&r===i.initializer){if(r=py(i),r)return r;if(!(8&a)&&wn.isBindingPattern(i.name))return es(i.name,!0,!1)}return;case 212:case 245:if(r=e,(r=wn.getContainingFunction(r))&&(a=fy(r),a)){if(r=wn.getFunctionFlags(r),1&r){var o=PT(a,2&r?2:1,void 0);if(!o)return;a=o.returnType}return 2&r?(o=Sg(a,VE))&&gu([o,xb(o)]):a}return;case 222:if(i=t,o=wn.getContainingFunction(i)){var s=wn.getFunctionFlags(o);o=fy(o);if(o)return i.asteriskToken?o:YT(0,o,0!=(2&s))}return;case 216:s=t;var c=n;return(s=ky(s,c))?(c=VE(s))&&gu([c,xb(c)]):void 0;case 206:if(100===t.expression.kind)return ct;case 207:return gy(t,e);case 209:case 227:return wn.isConstTypeReference(t.type)?ky(t):Op(t.type);case 219:return hy(e,n);case 291:case 292:return Ty(t,n);case 293:return ky(t.parent,n);case 202:return c=t,Sy(Cy(c,n),wn.indexOfNode(c.elements,e));case 220:return u=n,d=(l=e).parent,l===d.whenTrue||l===d.whenFalse?ky(d,u):void 0;case 231:wn.Debug.assert(221===t.parent.kind);var l=t.parent,d=e;return 208===l.parent.kind?gy(l.parent,d):void 0;case 210:var u=wn.isInJSFile(t)?wn.getJSDocTypeTag(t):void 0;return u?Op(u.typeExpression.type):ky(t,n);case 228:return ky(t,n);case 286:return xy(t);case 283:case 285:return Ly(t);case 278:case 277:var p=t,m=n;return wn.isJsxOpeningElement(p)&&p.parent.contextualType&&4!==m?p.parent.contextualType:yy(p,0)}}}function Ry(e){return e=wn.findAncestor(e,(function(e){return!!e.inferenceContext})),e&&e.inferenceContext}function Oy(e,n){return(0!==vv(n)?(e,n)=>(e=bb(e,nt),e=Py(n,oh(n),e),n=rh(Mn.IntrinsicAttributes,n),n!==Zn?Ec(n,e):e):(e,n)=>{var t=oh(n),r=(e=>sh(Mn.ElementAttributesPropertyNameContainer,e))(t),a=void 0===r?bb(e,nt):""===r?zl(e):((e,n)=>{if(e.compositeSignatures){for(var t=[],r=0,a=e.compositeSignatures;r<a.length;r++){var i=zl(a[r]);if(Io(i))return i;if(i=Co(i,n),!i)return;t.push(i)}return Tu(t)}return Io(e=zl(e))?e:Co(e,n)})(e,r);return a?Io(a=Py(n,t,a))?a:(r=a,(t=rh(Mn.IntrinsicClassAttributes,n))!==Zn&&(a=Ds(t.symbol),e=zl(e),r=Ec(a?_d(t,Fl([e],a,Ml(a),wn.isInJSFile(n))):t,r)),e=rh(Mn.IntrinsicAttributes,n),r=e!==Zn?Ec(e,r):r):(r&&wn.length(n.attributes.properties)&&fa(n,wn.Diagnostics.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,wn.unescapeLeadingUnderscores(r)),nt)})(e,n)}function Py(e,n,t){var r;n=(n=n)&&Oa(n.exports,Mn.LibraryManagedAttributes,788968);if(n){var a=Hs(n),i=Zy((i=e).tagName)?nd(Vv(i,o=dh(i))):128&(r=nE(i.tagName)).flags?(o=lh(r,i))?nd(Vv(i,o)):Zn:r;if(524288&n.flags){var o=Na(n).typeParameters;if(2<=wn.length(o))return bd(n,Fl([i,t],o,2,wn.isInJSFile(e)))}if(2<=wn.length(a.typeParameters))return _d(a,Fl([i,t],a.typeParameters,2,wn.isInJSFile(e)))}return t}function wy(e){return wn.getStrictOptionValue(v,"noImplicitAny")?wn.reduceLeft(e,(function(e,n){var t,r,a,i,o,s,c;return e!==n&&e?vc(e.typeParameters,n.typeParameters)?(a=(t=e).typeParameters||n.typeParameters,t.typeParameters&&n.typeParameters&&(r=Bp(n.typeParameters,t.typeParameters)),i=t.declaration,o=((e,n,t)=>{for(var r,a=_b(e),i=_b(n),o=i<=a?e:n,s=o===e?n:e,c=o===e?a:i,l=gb(e)||gb(n),d=l&&!gb(o),u=new Array(c+(d?1:0)),p=0;p<c;p++){var m=pb(o,p),_=(o===n&&(m=am(m,t)),pb(s,p)||nt),f=(m=(s===n&&(_=am(_,t)),gu([m,_])),_=l&&!d&&p===c-1,p>=fb(o)&&p>=fb(s)),g=a<=p?void 0:cb(e,p),y=i<=p?void 0:cb(n,p);f=Ea(1|(f&&!_?16777216:0),(g===y?g:g?y?void 0:g:y)||"arg"+p);f.type=_?qd(m):m,u[p]=f}return d&&((r=Ea(1,"args")).type=qd(ub(s,c)),s===n&&(r.type=am(r.type,t)),u[c]=r),u})(t,n,r),s=((e,n,t)=>e&&n?(t=gu([hs(e),am(hs(n),t)]),X_(e,t)):e||n)(t.thisParameter,n.thisParameter,r),c=Math.max(t.minArgumentCount,n.minArgumentCount),(i=pc(i,a,s,o,void 0,void 0,c,39&(t.flags|n.flags))).compositeKind=2097152,i.compositeSignatures=wn.concatenate(2097152===t.compositeKind&&t.compositeSignatures||[t],[n]),r&&(i.mapper=2097152===t.compositeKind&&t.mapper&&t.compositeSignatures?Wp(t.mapper,r):r),i):void 0:e})):void 0}function My(e,n){return e=hl(e,0),e=wn.filter(e,(function(e){for(var t=n,r=0;r<t.parameters.length;r++){var a=t.parameters[r];if(a.initializer||a.questionToken||a.dotDotDotToken||kl(a))break}return t.parameters.length&&wn.parameterIsThisKeyword(t.parameters[0])&&r--,!(!gb(e)&&_b(e)<r)})),1===e.length?e[0]:wy(e)}function Fy(e){return 211===e.kind||212===e.kind}function Gy(e){return Fy(e)||wn.isObjectLiteralMethod(e)?By(e):void 0}function By(e){wn.Debug.assert(167!==e.kind||wn.isObjectLiteralMethod(e));var n=Bl(e);if(n)return n;if(n=Cy(e,1),n){if(!(1048576&n.flags))return My(n,e);for(var t,r=0,a=n.types;r<a.length;r++){var i=My(a[r],e);if(i)if(t){if(!s_(t[0],i,!1,!0,!0,_m))return;t.push(i)}else t=[i]}return t?1===t.length?t[0]:_c(t[0],t):void 0}}function Uy(e){return 201===e.kind&&!!e.initializer||219===e.kind&&63===e.operatorToken.kind}function Vy(e,n,t){for(var r=e.elements,a=r.length,i=[],o=[],s=Cy(e),c=wn.isAssignmentTarget(e),l=(e=iE(e),!1),d=0;d<a;d++){var u,p,m=r[d];223===m.kind?(b<2&&kx(m,v.downlevelIteration?1536:1024),m_(u=yE(m.expression,n,t))?(i.push(u),o.push(8)):(c?(p=Ll(u,lt)||NT(65,u,tt,void 0,!1)||nt,i.push(p)):i.push(IT(33,u,tt,m.expression)),o.push(4))):O&&225===m.kind?(l=!0,i.push(it),o.push(2)):(p=oE(m,n,Sy(s,i.length),t),i.push(Vo(p,!0,l)),o.push(l?2:1))}return c?tu(i,o):t||e||s&&vg(s,y_)?jy(tu(i,o,e)):jy(qd(i.length?gu(wn.sameMap(i,(function(e,n){return 8&o[n]?ep(e,lt)||Xn:e})),2):x?Et:rt,e))}function jy(e){var n;return 4&wn.getObjectFlags(e)?((n=e.literalType)||((n=e.literalType=fd(e)).objectFlags|=294912),n):e}function Ky(e){switch(e.kind){case 160:return Kb(Wy(e),296);case 79:return Hy(e.escapedText);case 8:case 10:return Hy(e.text);default:return!1}}function Hy(e){return(+e).toString()===e}function Wy(e){var n,t=ka(e.expression);return!t.resolvedType&&(t.resolvedType=yE(e.expression),wn.isPropertyDeclaration(e.parent)&&!wn.hasStaticModifier(e.parent)&&wn.isClassExpression(e.parent.parent)&&(n=ey(wn.getEnclosingBlockScopeContainer(e.parent.parent)))&&(ka(n).flags|=65536,ka(e).flags|=524288,ka(e.parent.parent).flags|=524288),98304&t.resolvedType.flags||!Kb(t.resolvedType,402665900)&&!hm(t.resolvedType,Lt))&&fa(e,wn.Diagnostics.A_computed_property_name_must_be_of_type_string_number_symbol_or_any),t.resolvedType}function zy(e){var n=null==(n=e.declarations)?void 0:n[0];return wn.isKnownSymbol(e)||n&&wn.isNamedDeclaration(n)&&wn.isComputedPropertyName(n.name)&&Kb(Wy(n.name),4096)}function Jy(e,n,t,r){for(var a,i=[],o=n;o<t.length;o++){var s=t[o];(r===ct&&!zy(s)||r===lt&&(a=void 0,a=null==(a=s.declarations)?void 0:a[0],Hy(s.escapedName)||a&&wn.isNamedDeclaration(a)&&Ky(a.name))||r===gt&&zy(s))&&i.push(hs(t[o]))}return ad(r,i.length?gu(i,2):tt,iE(e))}function qy(e){wn.Debug.assert(0!=(2097152&e.flags),"Should only get Alias here.");var n=Na(e);if(!n.immediateTarget){if(e=Ka(e),!e)return wn.Debug.fail();n.immediateTarget=ni(e,!0)}return n.immediateTarget}function Xy(e,n){for(var t=wn.isAssignmentTarget(e),r=(((e,n)=>{for(var t=new wn.Map,r=0,a=e.properties;r<a.length;r++){var i=a[r];if(293===i.kind){if(n){var o=wn.skipParentheses(i.expression);if(wn.isArrayLiteralExpression(o)||wn.isObjectLiteralExpression(o))return rL(i.expression,wn.Diagnostics.A_rest_element_cannot_contain_a_binding_pattern)}}else{var s=i.name;if(160===s.kind&&jx(s),292===i.kind&&!n&&i.objectAssignmentInitializer)return rL(i.equalsToken,wn.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);if(80===s.kind&&rL(s,wn.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),i.modifiers)for(var c=0,l=i.modifiers;c<l.length;c++){var d=l[c];130===d.kind&&167===i.kind||rL(d,wn.Diagnostics._0_modifier_cannot_be_used_here,wn.getTextOfNode(d))}var u=void 0;switch(i.kind){case 292:Wx(i.exclamationToken,wn.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context);case 291:Hx(i.questionToken,wn.Diagnostics.An_object_member_cannot_be_declared_optional),8===s.kind&&iL(s),u=4;break;case 167:u=8;break;case 170:u=1;break;case 171:u=2;break;default:throw wn.Debug.assertNever(i,"Unexpected syntax kind:"+i.kind)}if(!n&&(o=wn.getPropertyNameForPropertyNameNode(s),void 0!==o)){var p=t.get(o);if(p)if(12&u&&12&p)rL(s,wn.Diagnostics.Duplicate_identifier_0,wn.getTextOfNode(s));else{if(!(3&u&&3&p))return rL(s,wn.Diagnostics.An_object_literal_cannot_have_property_and_accessor_with_the_same_name);if(3===p||u===p)return rL(s,wn.Diagnostics.An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name);t.set(o,u|p)}else t.set(o,u)}}}})(e,t),x?wn.createSymbolTable():void 0),a=wn.createSymbolTable(),i=[],o=kt,s=Cy(e),c=s&&s.pattern&&(199===s.pattern.kind||203===s.pattern.kind),l=iE(e),d=l?8:0,u=wn.isInJSFile(e)&&!wn.isInJsonFile(e),p=wn.getJSDocEnumTag(e),m=!s&&u&&!p,_=R,f=!1,g=!1,y=!1,h=!1,E=0,T=e.properties;E<T.length;E++){var S=T[E];S.name&&wn.isComputedPropertyName(S.name)&&Wy(S.name)}for(var L=0,D=0,A=e.properties;D<A.length;D++){var C=A[D],I=Ii(C),N=C.name&&160===C.name.kind?Wy(C.name):void 0;if(291===C.kind||292===C.kind||wn.isObjectLiteralMethod(C)){var k=291===C.kind?sE(C,n):292===C.kind?oE(!t&&C.objectAssignmentInitializer?C.objectAssignmentInitializer:C.name,n):cE(C,n),O=(u&&((O=Bo(C))?(Tm(k,O,C),k=O):p&&p.typeExpression&&Tm(k,Op(p.typeExpression),C)),_|=917504&wn.getObjectFlags(k),N&&ec(N)?N:void 0),P=O?Ea(4|I.flags,ic(O),4096|d):Ea(4|I.flags,I.escapedName,d);O&&(P.nameType=O),t?(291===C.kind&&Uy(C.initializer)||292===C.kind&&C.objectAssignmentInitializer)&&(P.flags|=16777216):!c||512&wn.getObjectFlags(s)||((w=gl(s,I.escapedName))?P.flags|=16777216&w.flags:v.suppressExcessPropertyErrors||xl(s,ct)||fa(C.name,wn.Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,so(I),lo(s))),P.declarations=I.declarations,P.parent=I.parent,I.valueDeclaration&&(P.valueDeclaration=I.valueDeclaration),P.type=k,P.target=I,I=P,null!=r&&r.set(P.escapedName,P)}else{if(293===C.kind){if(b<2&&kx(C,2),0<i.length&&(o=vp(o,G(),e.symbol,_,l),i=[],a=wn.createSymbolTable(),h=y=g=!1),Yy(k=ul(yE(C.expression)))){var w=hp(k,l);if(r&&nh(w,r,C),L=i.length,o===Zn)continue;o=vp(o,w,e.symbol,_,l)}else fa(C,wn.Diagnostics.Spread_types_may_only_be_created_from_object_types),o=Zn;continue}wn.Debug.assert(170===C.kind||171===C.kind),NS(C)}!N||8576&N.flags?a.set(I.escapedName,I):hm(N,Lt)&&(hm(N,lt)?y=!0:hm(N,gt)?h=!0:g=!0,t)&&(f=!0),i.push(I)}if(c&&293!==e.parent.kind)for(var M=0,F=zc(s);M<F.length;M++)P=F[M],a.get(P.escapedName)||gl(o,P.escapedName)||(16777216&P.flags||fa(P.valueDeclaration||P.bindingElement,wn.Diagnostics.Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value),a.set(P.escapedName,P),i.push(P));return o===Zn?Zn:o!==kt?(0<i.length&&(o=vp(o,G(),e.symbol,_,l),i=[],a=wn.createSymbolTable(),y=g=!1),Sg(o,(function(e){return e===kt?G():e}))):G();function G(){var n=[];g&&n.push(Jy(e,L,i,ct)),y&&n.push(Jy(e,L,i,lt)),h&&n.push(Jy(e,L,i,gt)),n=zi(e.symbol,a,wn.emptyArray,wn.emptyArray,n);return n.objectFlags|=262272|_,m&&(n.objectFlags|=8192),f&&(n.objectFlags|=512),t&&(n.pattern=e),n}}function Yy(e){if(465829888&e.flags){var n=$c(e);if(void 0!==n)return Yy(n)}return!!(126615553&e.flags||117632&w_(e)&&Yy(M_(e))||3145728&e.flags&&wn.every(e.types,Yy))}function Qy(e){return wn.stringContains(e,"-")}function Zy(e){return 79===e.kind&&wn.isIntrinsicJsxName(e.escapedText)}function $y(e,n){return e.initializer?oE(e.initializer,n):mt}function eh(e,n){for(var t=[],r=0,a=e.children;r<a.length;r++){var i=a[r];11===i.kind?i.containsOnlyTriviaWhiteSpaces||t.push(ct):286===i.kind&&!i.expression||t.push(oE(i,n))}return t}function nh(e,n,t){for(var r=0,a=zc(e);r<a.length;r++){var i=a[r];16777216&i.flags||(i=n.get(i.escapedName))&&(i=fa(i.valueDeclaration,wn.Diagnostics._0_is_specified_more_than_once_so_this_usage_will_be_overwritten,wn.unescapeLeadingUnderscores(i.escapedName)),wn.addRelatedInfo(i,wn.createDiagnosticForNode(t,wn.Diagnostics.This_spread_always_overwrites_this_property)))}}function th(e,n){e=e.parent;for(var t,r=n,a=e.attributes,i=x?wn.createSymbolTable():void 0,o=wn.createSymbolTable(),s=Rt,c=!1,l=!1,d=2048,u=ch(oh(e)),p=0,m=a.properties;p<m.length;p++){var _,f,g=m[p],y=g.symbol;wn.isJsxAttribute(g)?(f=$y(g,r),d|=917504&wn.getObjectFlags(f),(_=Ea(4|y.flags,y.escapedName)).declarations=y.declarations,_.parent=y.parent,y.valueDeclaration&&(_.valueDeclaration=y.valueDeclaration),_.type=f,_.target=y,o.set(_.escapedName,_),null!=i&&i.set(_.escapedName,_),g.name.escapedText===u&&(l=!0)):(wn.Debug.assert(285===g.kind),0<o.size&&(s=vp(s,v(),a.symbol,d,!1),o=wn.createSymbolTable()),Io(f=ul(nE(g.expression,r)))&&(c=!0),Yy(f)?(s=vp(s,f,a.symbol,d,!1),i&&nh(f,i,g)):t=t?Tu([t,f]):f)}c||0<o.size&&(s=vp(s,v(),a.symbol,d,!1));var h;n=276===e.parent.kind?e.parent:void 0;return n&&n.openingElement===e&&0<n.children.length&&(n=eh(n,r),!c)&&u&&""!==u&&(l&&fa(a,wn.Diagnostics._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,wn.unescapeLeadingUnderscores(u)),e=(e=Cy(e.attributes))&&Ey(e,u),(h=Ea(4,u)).type=1===n.length?n[0]:e&&vg(e,y_)?tu(n):qd(gu(n)),h.valueDeclaration=wn.factory.createPropertySignature(void 0,wn.unescapeLeadingUnderscores(u),void 0,void 0),wn.setParent(h.valueDeclaration,a),h.valueDeclaration.symbol=h,(e=wn.createSymbolTable()).set(u,h),s=vp(s,zi(a.symbol,e,wn.emptyArray,wn.emptyArray,wn.emptyArray),a.symbol,d,!1)),c?Xn:t&&s!==Rt?Tu([t,s]):t||(s===Rt?v():s);function v(){d|=R;var e=zi(a.symbol,o,wn.emptyArray,wn.emptyArray,wn.emptyArray);return e.objectFlags|=262272|d,e}}function rh(e,n){return n=oh(n),n=n&&xi(n),n=n&&Oa(n,e,788968),n?Hs(n):Zn}function ah(e){var n,t,r=ka(e);return r.resolvedSymbol||((n=rh(Mn.IntrinsicElements,e))!==Zn?wn.isIdentifier(e.tagName)?(t=gl(n,e.tagName.escapedText))?(r.jsxFlags|=1,r.resolvedSymbol=t):Ll(n,ct)?(r.jsxFlags|=2,r.resolvedSymbol=n.symbol):(fa(e,wn.Diagnostics.Property_0_does_not_exist_on_type_1,wn.idText(e.tagName),"JSX."+Mn.IntrinsicElements),r.resolvedSymbol=Jn):wn.Debug.fail():(C&&fa(e,wn.Diagnostics.JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists,wn.unescapeLeadingUnderscores(Mn.IntrinsicElements)),r.resolvedSymbol=Jn))}function ih(e){var n=e&&wn.getSourceFileOfNode(e),t=n&&ka(n);if(!t||!1!==t.jsxImplicitImportContainer)return t&&t.jsxImplicitImportContainer?t.jsxImplicitImportContainer:(n=wn.getJSXRuntimeImport(wn.getJSXImplicitImportBase(v,n),v))?(e=(n=gi(e,n,wn.getEmitModuleResolutionKind(v)===wn.ModuleResolutionKind.Classic?wn.Diagnostics.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option:wn.Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations,e))&&n!==Jn?Ci(ri(n)):void 0,t&&(t.jsxImplicitImportContainer=e||!1),e):void 0}function oh(e){var n=e&&ka(e);if(n&&n.jsxNamespace)return n.jsxNamespace;if(!n||!1!==n.jsxNamespace){var t=ih(e);if((t=t&&t!==Jn?t:Ma(e,e=pa(e),1920,void 0,e,!1))&&(e=ri(Oa(xi(ri(t)),Mn.JSX,1920)),e&&e!==Jn))return n&&(n.jsxNamespace=e),e;n&&(n.jsxNamespace=!1)}return t=ri(Fd(Mn.JSX,1920,void 0)),t!==Jn?t:void 0}function sh(e,n){n=n&&Oa(n.exports,e,788968);var t=n&&Hs(n);t=t&&zc(t);if(t){if(0===t.length)return"";if(1===t.length)return t[0].escapedName;1<t.length&&n.declarations&&fa(n.declarations[0],wn.Diagnostics.The_global_type_JSX_0_may_not_have_more_than_one_property,wn.unescapeLeadingUnderscores(e))}}function ch(e){return sh(Mn.ElementChildrenAttributeNameContainer,e)}function lh(e,n){return n=rh(Mn.IntrinsicElements,n),n!==Zn?(e=e.value,(e=gl(n,wn.escapeLeadingUnderscores(e)))?hs(e):Ll(n,ct)||void 0):Xn}function dh(e){wn.Debug.assert(Zy(e.tagName));var n,t=ka(e);return t.resolvedJsxElementAttributesType||(n=ah(e),1&t.jsxFlags?t.resolvedJsxElementAttributesType=hs(n)||Zn:2&t.jsxFlags?t.resolvedJsxElementAttributesType=Ll(rh(Mn.IntrinsicElements,e),ct)||Zn:t.resolvedJsxElementAttributesType=Zn)}function uh(e){if(e=rh(Mn.ElementClass,e),e!==Zn)return e}function ph(e){return rh(Mn.Element,e)}function mh(e){if(e=ph(e),e)return gu([e,ot])}function _h(e){var n,t,r,a,i,o,s,c=wn.isJsxOpeningLikeElement(e);function l(){var e=wn.getTextOfNode(i.tagName);return wn.chainDiagnosticMessages(void 0,wn.Diagnostics._0_cannot_be_used_as_a_JSX_component,e)}c&&(e=>{(e=>{if(wn.isPropertyAccessExpression(e)){var n=e;do{var t=r(n.name);if(t)return}while(n=n.expression,wn.isPropertyAccessExpression(n));e=r(n)}function r(e){if(wn.isIdentifier(e)&&-1!==wn.idText(e).indexOf(":"))return rL(e,wn.Diagnostics.JSX_property_access_expressions_cannot_include_JSX_namespace_names)}})(e.tagName),Gx(e,e.typeArguments);for(var n=new wn.Map,t=0,r=e.attributes.properties;t<r.length;t++){var a=r[t];if(285!==a.kind){var i=a.name;a=a.initializer;if(n.get(i.escapedText))return rL(i,wn.Diagnostics.JSX_elements_cannot_have_multiple_attributes_with_the_same_name);if(n.set(i.escapedText,!0),a&&286===a.kind&&!a.expression)return rL(a,wn.Diagnostics.JSX_attributes_must_only_be_assigned_a_non_empty_expression)}}})(e),t=e,0===(v.jsx||0)&&fa(t,wn.Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided),void 0===ph(t)&&C&&fa(t,wn.Diagnostics.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist),ih(e)||(t=Pr&&2===v.jsx?wn.Diagnostics.Cannot_find_name_0:void 0,r=pa(e),n=c?e.tagName:e,a=void 0,(a=wn.isJsxOpeningFragment(e)&&"null"===r?a:Ma(n,r,111551,t,r,!0))&&(a.isReferenced=67108863,2097152&a.flags)&&!si(a)&&li(a)),c&&(qv(t=Hv(n=e),e),r=vv(n),a=zl(t),i=n,1===r?(o=mh(i))&&jm(a,o,Ur,i.tagName,wn.Diagnostics.Its_return_type_0_is_not_a_valid_JSX_element,l):0===r?(s=uh(i))&&jm(a,s,Ur,i.tagName,wn.Diagnostics.Its_instance_type_0_is_not_a_valid_JSX_element,l):(o=mh(i),s=uh(i),o&&s&&jm(a,gu([o,s]),Ur,i.tagName,wn.Diagnostics.Its_element_type_0_is_not_a_valid_JSX_element,l)))}function fh(e,n,t){if(524288&e.flags){if(Hc(e,n)||Cl(e,n)||tc(n)&&xl(e,ct)||t&&Qy(n))return 1}else if(3145728&e.flags&&gh(e))for(var r=0,a=e.types;r<a.length;r++)if(fh(a[r],n,t))return 1}function gh(e){return!!(524288&e.flags&&!(512&wn.getObjectFlags(e))||67108864&e.flags||1048576&e.flags&&wn.some(e.types,gh)||2097152&e.flags&&wn.every(e.types,gh))}function yh(e,n){var t=e;return t.expression&&wn.isCommaSequence(t.expression)&&rL(t.expression,wn.Diagnostics.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array),e.expression?(t=yE(e.expression,n),e.dotDotDotToken&&t!==Xn&&!l_(t)&&fa(e,wn.Diagnostics.JSX_spread_child_must_be_an_array_type),t):Zn}function hh(e){return e.valueDeclaration?wn.getCombinedNodeFlags(e.valueDeclaration):0}function vh(e){return 8192&e.flags||4&wn.getCheckFlags(e)||(wn.isInJSFile(e.valueDeclaration)?(e=e.valueDeclaration.parent)&&wn.isBinaryExpression(e)&&3===wn.getAssignmentDeclarationKind(e):void 0)}function bh(e,n,t,r,a,i){void 0===i&&(i=!0);var o=wn.getDeclarationModifierFlagsFromSymbol(a,t),s=159===e.kind?e.right:198===e.kind?e:201===e.kind&&e.propertyName?e.propertyName:e.name;if(n){if(b<2&&Eh(a))return i&&fa(s,wn.Diagnostics.Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword),!1;if(128&o)return i&&fa(s,wn.Diagnostics.Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression,so(a),lo(n_(a))),!1}if(128&o&&Eh(a)&&(wn.isThisProperty(e)||wn.isThisInitializedObjectBindingExpression(e)||wn.isObjectBindingPattern(e.parent)&&wn.isThisInitializedDeclaration(e.parent.parent))&&(c=wn.getClassLikeDeclarationOfSymbol(Ni(a)))&&wn.findAncestor(e,(function(e){return!!(wn.isConstructorDeclaration(e)&&wn.nodeIsPresent(e.body)||wn.isPropertyDeclaration(e))||!(!wn.isClassLike(e)&&!wn.isFunctionLikeDeclaration(e))&&"quit"})))return i&&fa(s,wn.Diagnostics.Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor,so(a),wn.getTextOfIdentifierOrLiteral(c.name)),!1;if(!(24&o))return!0;if(8&o)return c=wn.getClassLikeDeclarationOfSymbol(Ni(a)),!!US(e,c)||(i&&fa(s,wn.Diagnostics.Property_0_is_private_and_only_accessible_within_class_1,so(a),lo(n_(a))),!1);if(n)return!0;if(!(c=BS(e,(function(e){var n,r;e=Hs(Ii(e));return n=e,r=t,!e_(a,(function(e){return!!(16&wn.getDeclarationModifierFlagsFromSymbol(e,r))&&!Ts(n,n_(e))}))&&n?e:void 0})))){if(n=void 0,32&o||!(n=(e=>(e=wn.getThisContainer(e,!1))&&wn.isFunctionLike(e)?wn.getThisParameter(e):void 0)(e))||!n.type)return i&&fa(s,wn.Diagnostics.Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses,so(a),lo(n_(a)||r)),!1;e=Op(n.type);var c=(262144&e.flags?qc(e):e).target}return!!(32&o)||!(!(r=262144&r.flags?(r.isThisType?qc:$c)(r):r)||!Ts(r,c))||(i&&fa(s,wn.Diagnostics.Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2,so(a),lo(c),lo(r)),!1)}function Eh(e){return e_(e,(function(e){return!(8192&e.flags)}))}function Th(e){return Ch(yE(e),e)}function Sh(e){return!!(98304&(x?w_(e):e.flags))}function xh(e){return Sh(e)?U_(e):e}function Lh(e,n){fa(e,32768&n?65536&n?wn.Diagnostics.Object_is_possibly_null_or_undefined:wn.Diagnostics.Object_is_possibly_undefined:wn.Diagnostics.Object_is_possibly_null)}function Dh(e,n){fa(e,32768&n?65536&n?wn.Diagnostics.Cannot_invoke_an_object_which_is_possibly_null_or_undefined:wn.Diagnostics.Cannot_invoke_an_object_which_is_possibly_undefined:wn.Diagnostics.Cannot_invoke_an_object_which_is_possibly_null)}function Ah(e,n,t){var r;return x&&2&e.flags?(fa(n,wn.Diagnostics.Object_is_of_type_unknown),Zn):(r=98304&(x?w_(e):e.flags))?(t(n,r),229376&(t=U_(e)).flags?Zn:t):e}function Ch(e,n){return Ah(e,n,Lh)}function Ih(e,n){e=Ch(e,n),e!==Zn&&16384&e.flags&&fa(n,wn.Diagnostics.Object_is_possibly_undefined)}function Nh(e,n){return 32&e.flags?(r=n,a=yE((t=e).expression),i=H_(a,t.expression),K_(Mh(t,t.expression,Ch(i,t.expression),t.name,r),t,i!==a)):Mh(e,e.expression,Th(e.expression),e.name,n);var t,r,a,i}function kh(e,n){var t=wn.isPartOfTypeQuery(e)&&wn.isThisIdentifier(e.left)?Ch(iy(e.left),e.left):Th(e.left);return Mh(e,e.left,t,e.right,n)}function Rh(e){for(;210===e.parent.kind;)e=e.parent;return wn.isCallOrNewExpression(e.parent)&&e.parent.expression===e}function Oh(e,n){for(var t=wn.getContainingClass(n);t;t=wn.getContainingClass(t)){var r=t.symbol,a=wn.getSymbolNameForPrivateIdentifier(r,e);r=r.members&&r.members.get(a)||r.exports&&r.exports.get(a);if(r)return r}}function Ph(e,n){return gl(e,n.escapedName)}function wh(e,n){return(Ko(n)||wn.isThisProperty(e)&&Ho(n))&&wn.getThisContainer(e,!0)===Wo(n)}function Mh(e,n,t,r,a){var i,o=ka(n).resolvedSymbol,s=wn.getAssignmentTargetKind(e),c=ol(0!==s||Rh(e)?ef(t):t),l=Io(c)||c===vt;if(wn.isPrivateIdentifier(r)){b<99&&(0!==s&&kx(e,1048576),1!==s)&&kx(e,524288);var d,u,p,m,_=Oh(r.escapedText,r);if(s&&_&&_.valueDeclaration&&wn.isMethodDeclaration(_.valueDeclaration)&&rL(r,wn.Diagnostics.Cannot_assign_to_private_method_0_Private_methods_are_not_writable,wn.idText(r)),null!=_&&_.valueDeclaration&&99===v.target&&!T&&(d=wn.getContainingClass(_.valueDeclaration),u=wn.findAncestor(e,(function(e){return e===d?"quit":!(!wn.isPropertyDeclaration(e.parent)||!wn.hasStaticModifier(e.parent)||e.parent.initializer!==e||e.parent.parent!==d)})))&&(p=Ii(u.parent),wn.Debug.assert(p,"Initializer without declaration symbol"),m=fa(e,wn.Diagnostics.Property_0_may_not_be_used_in_a_static_property_s_initializer_in_the_same_class_when_target_is_esnext_and_useDefineForClassFields_is_false,wn.symbolName(_)),wn.addRelatedInfo(m,wn.createDiagnosticForNode(u.parent,wn.Diagnostics.Initializer_for_property_0,wn.symbolName(p)))),l){if(_)return c;if(!wn.getContainingClass(r))return rL(r,wn.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),Xn}if(!(m=_?Ph(t,_):void 0)&&((e,n,t)=>{(a=zc(e))&&wn.forEach(a,(function(e){var t=e.valueDeclaration;if(t&&wn.isNamedDeclaration(t)&&wn.isPrivateIdentifier(t.name)&&t.name.escapedText===n.escapedText)return r=e,!0}));var r,a=Ga(n);if(r){var i=wn.Debug.checkDefined(r.valueDeclaration),o=wn.Debug.checkDefined(wn.getContainingClass(i));if(null!=t&&t.valueDeclaration){t=t.valueDeclaration;var s=wn.getContainingClass(t);if(wn.Debug.assert(!!s),wn.findAncestor(s,(function(e){return o===e})))return s=fa(n,wn.Diagnostics.The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling,a,lo(e)),wn.addRelatedInfo(s,wn.createDiagnosticForNode(t,wn.Diagnostics.The_shadowing_declaration_of_0_is_defined_here,a),wn.createDiagnosticForNode(i,wn.Diagnostics.The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here,a)),1}return fa(n,wn.Diagnostics.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier,a,Ga(o.name||Gn)),1}})(t,r,_))return Zn;m&&65536&m.flags&&!(32768&m.flags)&&1!==s&&fa(e,wn.Diagnostics.Private_accessor_was_defined_without_a_getter)}else{if(l)return wn.isIdentifier(n)&&o&&Zg(o,e),c;m=gl(c,r.escapedText)}if(wn.isIdentifier(n)&&o&&(v.isolatedModules||!m||!sx(m)||wn.shouldPreserveConstEnums(v)&&Qg(e))&&Zg(o,e),m){m.declarations&&134217728&hh(m)&&Gu(e,m)&&ba(r,m.declarations,r.escapedText),u=e,p=r,(l=(_=m).valueDeclaration)&&!wn.getSourceFileOfNode(u).isDeclarationFile&&(i=wn.idText(p),!Bh(u)||(e=>wn.isPropertyDeclaration(e)&&e.questionToken)(l)||wn.isAccessExpression(u)&&wn.isAccessExpression(u.expression)||Pa(l,p)||!v.useDefineForClassFields&&(e=>{if(32&e.parent.flags)for(var n=hs(e.parent);;){if(!(n=n.symbol&&(e=>{if(0!==(e=Ps(e)).length)return Tu(e)})(n)))return;var t=gl(n,e.escapedName);if(t&&t.valueDeclaration)return 1}})(_)?255!==l.kind||176===u.parent.kind||8388608&l.flags||Pa(l,p)||(f=fa(p,wn.Diagnostics.Class_0_used_before_its_declaration,i)):f=fa(p,wn.Diagnostics.Property_0_is_used_before_its_initialization,i),f)&&wn.addRelatedInfo(f,wn.createDiagnosticForNode(l,wn.Diagnostics._0_is_declared_here,i)),qh(m,e,Xh(n,o)),ka(e).resolvedSymbol=m;var f=wn.isWriteAccess(e);if(bh(e,106===n.kind,f,c,m),Gb(e,m,s))return fa(r,wn.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,wn.idText(r)),Zn;i=wh(e,m)?Yn:(f?ys:hs)(m)}else{if(l=wn.isPrivateIdentifier(r)||0!==s&&Hu(t)&&!Ju(t)?void 0:Cl(c,r.escapedText),!l||!l.type){if(o=Fh(e,t.symbol,!0),!o&&Mu(t))return Xn;if(t.symbol===Te)return Te.exports.has(r.escapedText)&&418&Te.exports.get(r.escapedText).flags?fa(r,wn.Diagnostics.Property_0_does_not_exist_on_type_1,wn.unescapeLeadingUnderscores(r.escapedText),lo(t)):C&&fa(r,wn.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature,lo(t)),Xn;if(r.escapedText&&!Ba(e)){var g,y,h,E,S,x=r;n=Ju(t)?c:t,s=o;if(!wn.isPrivateIdentifier(x)&&1048576&n.flags&&!(131068&n.flags))for(var L=0,D=n.types;L<D.length;L++){var A=D[L];if(!gl(A,x.escapedText)&&!Cl(A,x.escapedText)){g=wn.chainDiagnosticMessages(g,wn.Diagnostics.Property_0_does_not_exist_on_type_1,wn.declarationNameToString(x),lo(A));break}}Uh(x.escapedText,n)?(h=wn.declarationNameToString(x),E=lo(n),g=wn.chainDiagnosticMessages(g,wn.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,h,E,E+"."+h)):(E=BE(n))&&gl(E,x.escapedText)?(g=wn.chainDiagnosticMessages(g,wn.Diagnostics.Property_0_does_not_exist_on_type_1,wn.declarationNameToString(x),lo(n)),y=wn.createDiagnosticForNode(x,wn.Diagnostics.Did_you_forget_to_use_await)):(h=wn.declarationNameToString(x),E=lo(n),void 0!==(I=((e,n)=>{var t=ol(n).symbol;if(t)for(var r=wn.getScriptTargetFeatures(),a=(n=wn.getOwnKeys(r),0),i=n;a<i.length;a++){var o=i[a],s=r[o][wn.symbolName(t)];if(void 0!==s&&wn.contains(s,e))return o}})(h,n))?g=wn.chainDiagnosticMessages(g,wn.Diagnostics.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,h,E,I):void 0!==(I=jh(x,n))?(t=wn.symbolName(I),S=s?wn.Diagnostics.Property_0_may_not_exist_on_type_1_Did_you_mean_2:wn.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,g=wn.chainDiagnosticMessages(g,S,h,E,t),y=I.valueDeclaration&&wn.createDiagnosticForNode(I.valueDeclaration,wn.Diagnostics._0_is_declared_here,t)):(S=(e=>v.lib&&!v.lib.includes("dom")&&((e,n)=>3145728&e.flags?wn.every(e.types,n):n(e))(e,(function(e){return e.symbol&&/^(EventTarget|Node|((HTML[a-zA-Z]*)?Element))$/.test(wn.unescapeLeadingUnderscores(e.symbol.escapedName))}))&&Pm(e))(n)?wn.Diagnostics.Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:wn.Diagnostics.Property_0_does_not_exist_on_type_1,g=wn.chainDiagnosticMessages(fl(g,n),S,h,E)));var I=wn.createDiagnosticForNodeFromMessageChain(x,g);y&&wn.addRelatedInfo(I,y),ga(!s,I)}return Zn}l.isReadonly&&(wn.isAssignmentTarget(e)||wn.isDeleteTarget(e))&&fa(e,wn.Diagnostics.Index_signature_in_type_0_only_permits_reading,lo(c)),i=v.noUncheckedIndexedAccess&&!wn.isAssignmentTarget(e)?gu([l.type,tt]):l.type,v.noPropertyAccessFromIndexSignature&&wn.isPropertyAccessExpression(e)&&fa(r,wn.Diagnostics.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0,wn.unescapeLeadingUnderscores(r.escapedText))}return Gh(e,m,i,r,a)}function Fh(e,n,t){var r=wn.getSourceFileOfNode(e);return!(!r||void 0!==v.checkJs||void 0!==r.checkJsDirective||1!==r.scriptKind&&2!==r.scriptKind)&&!(r!==(r=wn.forEach(null==n?void 0:n.declarations,wn.getSourceFileOfNode))&&r&&Ra(r)||t&&n&&32&n.flags||e&&t&&wn.isPropertyAccessExpression(e)&&108===e.expression.kind)}function Gh(e,n,t,r,a){var i=wn.getAssignmentTargetKind(e);if(1===i)return W_(t,!!(n&&16777216&n.flags));if(n&&!(98311&n.flags)&&!(8192&n.flags&&1048576&t.flags)&&!AS(n.declarations))return t;if(t===Yn)return Jo(e,n);t=Yg(t,e,a);a=!1;var o,s=(x&&A&&wn.isAccessExpression(e)&&108===e.expression.kind?(o=n&&n.valueDeclaration)&&dS(o)&&(wn.isStatic(o)||169!==(s=Hg(e)).kind||s.parent!==o.parent||8388608&o.flags||(a=!0)):x&&n&&n.valueDeclaration&&wn.isPropertyAccessExpression(n.valueDeclaration)&&wn.getAssignmentDeclarationPropertyAccessKind(n.valueDeclaration)&&Hg(e)===Hg(n.valueDeclaration)&&(a=!0),Kg(e,t,a?B_(t):t));return a&&!(32768&w_(t))&&32768&w_(s)?(fa(r,wn.Diagnostics.Property_0_is_used_before_being_assigned,so(n)),t):i?S_(s):s}function Bh(e){return wn.findAncestor(e,(function(e){switch(e.kind){case 165:return!0;case 291:case 167:case 170:case 171:case 293:case 160:case 231:case 286:case 283:case 284:case 285:case 278:case 226:case 289:return!1;case 212:case 236:return!(!wn.isBlock(e.parent)||!wn.isClassStaticBlockDeclaration(e.parent.parent))||"quit";default:return!wn.isExpressionNode(e)&&"quit"}}))}function Uh(e,n){return n=n.symbol&&gl(hs(n.symbol),e),void 0!==n&&n.valueDeclaration&&wn.isStatic(n.valueDeclaration)}function Vh(e,n){return Jh(e,zc(n),106500)}function jh(e,n){var t,r=zc(n);return"string"!=typeof e&&(t=e.parent,wn.isPropertyAccessExpression(t)&&(r=wn.filter(r,(function(e){return Yh(t,n,e)}))),e=wn.idText(e)),Jh(e,r,111551)}function Kh(e,n){e=wn.isString(e)?e:wn.idText(e),n=zc(n);var t="for"===e?wn.find(n,(function(e){return"htmlFor"===wn.symbolName(e)})):"class"===e?wn.find(n,(function(e){return"className"===wn.symbolName(e)})):void 0;return null!=t?t:Jh(e,n,111551)}function Hh(e,n){return e=jh(e,n),e&&wn.symbolName(e)}function Wh(e,n,t){return wn.Debug.assert(void 0!==n,"outername should always be defined"),Fa(e,n,t,void 0,n,!1,!1,(function(e,t,r){return wn.Debug.assertEqual(n,t,"name should equal outerName"),Oa(e,t,r)||Jh(wn.unescapeLeadingUnderscores(t),wn.arrayFrom(e.values()),r)}))}function zh(e,n){return n.exports&&Jh(wn.idText(e),Ei(n),2623475)}function Jh(e,n,t){return wn.getSpellingSuggestion(e,n,(function(e){var n=wn.symbolName(e);if(!wn.startsWith(n,'"')){if(e.flags&t)return n;if(2097152&e.flags&&(e=(e=>{if(Na(e).target!==qn)return ai(e)})(e),e&&e.flags&t))return n}}))}function qh(e,n,t){var r=e&&106500&e.flags&&e.valueDeclaration;if(r){r=wn.hasEffectiveModifier(r,8);var a=e.valueDeclaration&&wn.isNamedDeclaration(e.valueDeclaration)&&wn.isPrivateIdentifier(e.valueDeclaration.name);if((r||a)&&(!n||!wn.isWriteOnlyAccess(n)||65536&e.flags)){if(t&&(r=wn.findAncestor(n,wn.isFunctionLikeDeclaration),r&&r.symbol===e))return;(1&wn.getCheckFlags(e)?Na(e).target:e).isReferenced=67108863}}}function Xh(e,n){return 108===e.kind||!!n&&wn.isEntityNameExpression(e)&&n===Bf(wn.getFirstIdentifier(e))}function Yh(e,n,t){return Qh(e,204===e.kind&&106===e.expression.kind,t.escapedName,n)}function Qh(e,n,t,r){var a,i;return!(r!==Zn&&!Io(r))||((a=gl(r,t))?a.valueDeclaration&&wn.isPrivateIdentifierClassElementDeclaration(a.valueDeclaration)?(i=wn.getContainingClass(a.valueDeclaration),!wn.isOptionalChain(e)&&!!wn.findAncestor(e,(function(e){return e===i}))):bh(e,n,!1,r,a,!1):wn.isInJSFile(e)&&0!=(1048576&r.flags)&&r.types.some((function(r){return Qh(e,n,t,r)})))}function Zh(e){var n,t=wn.skipParentheses(e);if(79===t.kind){var r=Bf(t);if(3&r.flags)for(var a=e,i=e.parent;i;){if(241===i.kind&&a===i.statement&&(e=>{if(253===(e=e.initializer).kind){var n=e.declarations[0];if(n&&!wn.isBindingPattern(n.name))return Ii(n)}else if(79===e.kind)return Bf(e)})(i)===r&&1===Sl(n=_E(i.expression)).length&&xl(n,lt))return 1;i=(a=i).parent}}}function $h(e,n){return 32&e.flags?(r=n,a=yE((t=e).expression),i=H_(a,t.expression),K_(ev(t,Ch(i,t.expression),r),t,i!==a)):ev(e,Th(e.expression),n);var t,r,a,i}function ev(e,n,t){n=0!==wn.getAssignmentTargetKind(e)||Rh(e)?ef(n):n;var r=e.argumentExpression,a=yE(r);return n===Zn||n===vt?n:Wb(n)&&!wn.isStringLiteralLike(r)?(fa(r,wn.Diagnostics.A_const_enum_member_can_only_be_accessed_using_a_string_literal),Zn):(a=ep(n,Zh(r)?lt:a,wn.isAssignmentTarget(e)?4|(Hu(n)&&!Ju(n)?2:0):32,e)||Zn,RE(Gh(e,ka(e).resolvedSymbol,a,r,t),e))}function nv(e){return wn.isCallOrNewExpression(e)||wn.isTaggedTemplateExpression(e)||wn.isJsxOpeningLikeElement(e)}function tv(e){return nv(e)&&wn.forEach(e.typeArguments,CS),208===e.kind?yE(e.template):wn.isJsxOpeningLikeElement(e)?yE(e.attributes):163!==e.kind&&wn.forEach(e.arguments,(function(e){yE(e)})),Ht}function rv(e){return tv(e),Wt}function av(e){return!!e&&(223===e.kind||230===e.kind&&e.isSpread)}function iv(e){return wn.findIndex(e,av)}function ov(e){return!!(16384&e.flags)}function sv(e){return!!(49155&e.flags)}function cv(e,n,t,r){void 0===r&&(r=!1);var a=!1,i=_b(t),o=fb(t);if(208===e.kind){var s=n.length;a=221===e.template.kind?(c=wn.last(e.template.templateSpans),wn.nodeIsMissing(c.literal)||!!c.literal.isUnterminated):(c=e.template,wn.Debug.assert(14===c.kind),!!c.isUnterminated)}else if(163===e.kind)s=Lv(e,t);else if(wn.isJsxOpeningLikeElement(e)){if(a=e.attributes.end===e.end)return 1;s=0===o?n.length:1,i=0===n.length?i:1,o=Math.min(o,1)}else{if(!e.arguments)return wn.Debug.assert(207===e.kind),0===fb(t);s=r?n.length+1:n.length,a=e.arguments.end===e.end;var c=iv(n);if(0<=c)return c>=fb(t)&&(gb(t)||c<_b(t))}if(gb(t)||!(i<s)){if(!(a||o<=s))for(var l=s;l<o;l++)if(131072&Eg(ub(t,l),wn.isInJSFile(e)&&!x?sv:ov).flags)return;return 1}}function lv(e,n){var t=wn.length(e.typeParameters);e=Ml(e.typeParameters);return!wn.some(n)||n.length>=e&&n.length<=t}function dv(e){return pv(e,0,!1)}function uv(e){return pv(e,0,!1)||pv(e,1,!1)}function pv(e,n,t){if(524288&e.flags&&(e=jc(e),t||0===e.properties.length&&0===e.indexInfos.length)){if(0===n&&1===e.callSignatures.length&&0===e.constructSignatures.length)return e.callSignatures[0];if(1===n&&1===e.constructSignatures.length&&0===e.callSignatures.length)return e.constructSignatures[0]}}function mv(e,n,t,r){var a=sf(e.typeParameters,e,0,r);r=yb(n),r=t&&(r&&262144&r.flags?t.nonFixingMapper:t.mapper);return af(r?Xp(n,r):n,e,(function(e,n){Cf(a.inferences,e,n)})),t||of(n,e,(function(e,n){Cf(a.inferences,e,n,128)})),Yl(e,Ff(a),wn.isInJSFile(n.declaration))}function _v(e){var n;return e?(n=yE(e),wn.isOptionalChainRoot(e.parent)?U_(n):wn.isOptionalChain(e.parent)?j_(n):n):yt}function fv(e,n,t,r,a){if(wn.isJsxOpeningLikeElement(e))return i=r,s=a,c=Oy(c=n,o=e),o=eE(o.attributes,c,s,i),Cf(s.inferences,o,c),Ff(s);163!==e.kind&&(i=ky(e,wn.every(n.typeParameters,(function(e){return!!al(e)}))?8:0))&&(o=Ry(e),m=(m=dv(p=am(i,mf((void 0===(c=1)&&(c=0),(s=o)&&cf(wn.map(s.inferences,pf),s.signature,s.flags|c,s.compareTypes))))))&&m.typeParameters?nd(Ql(m,m.typeParameters)):p,p=zl(n),Cf(a.inferences,m,p,128),m=sf(n.typeParameters,n,a.flags),l=am(i,o&&o.returnMapper),Cf(m.inferences,l,p),a.returnMapper=wn.some(m.inferences,uE)?mf((l=m,(p=wn.filter(l.inferences,uE)).length?cf(wn.map(p,pf),l.signature,l.flags,l.compareTypes):void 0)):void 0);var i,o,s,c,l,d=hb(n),u=d?Math.min(_b(n)-1,t.length):t.length,p=(d&&262144&d.flags&&(m=wn.find(a.inferences,(function(e){return e.typeParameter===d})))&&(m.impliedArity=wn.findIndex(t,av,u)<0?t.length-u:void 0),Kl(n));p&&(l=Tv(e),Cf(a.inferences,_v(l),p));for(var m,_=0;_<u;_++){var f,g=t[_];225!==g.kind&&(f=eE(g,g=ub(n,_),a,r),Cf(a.inferences,f,g))}return d&&(m=yv(t,u,t.length,d,a,r),Cf(a.inferences,m,d)),Ff(a)}function gv(e){return 1048576&e.flags?Sg(e,gv):1&e.flags||u_($c(e)||e)?e:C_(e)?tu(yd(e),e.target.elementFlags,!1,e.target.labeledElementDeclarations):tu([e],[8])}function yv(e,n,t,r,a,i){if(t-1<=n&&av(o=e[t-1]))return gv(230===o.kind?o.type:eE(o.expression,r,a,i));for(var o,s,c,l,d=[],u=[],p=[],m=n;m<t;m++)av(o=e[m])?m_(s=230===o.kind?o.type:yE(o.expression))?(d.push(s),u.push(8)):(d.push(IT(33,s,tt,223===o.kind?o.expression:o)),u.push(4)):(c=eE(o,s=Zu(r,Ap(m-n),256),a,i),l=jb(s,406978556),d.push((l?xp:x_)(c)),u.push(1)),230===o.kind&&o.tupleNameSource&&p.push(o.tupleNameSource);return tu(d,u,!1,wn.length(p)===wn.length(d)?p:void 0)}function hv(e,n,t,r){for(var a=wn.isInJSFile(e.declaration),i=e.typeParameters,o=Fl(wn.map(n,Op),i,Ml(i),a),s=0;s<n.length;s++){wn.Debug.assert(void 0!==i[s],"Should not call checkTypeArguments with too many type arguments");var c=qc(i[s]);if(c){var l=t&&r?function(){return wn.chainDiagnosticMessages(void 0,wn.Diagnostics.Type_0_does_not_satisfy_the_constraint_1)}:void 0,d=r||wn.Diagnostics.Type_0_does_not_satisfy_the_constraint_1,u=u||Bp(i,o),p=o[s];if(!Tm(p,dc(am(c,u),p),t?n[s]:void 0,d,l))return}}return o}function vv(e){return Zy(e.tagName)?2:(e=ol(yE(e.tagName)),wn.length(hl(e,1))?0:wn.length(hl(e,0))?1:2)}function bv(e,n,t,r,a,i,o){return n=Oy(n,e),r=eE(e.attributes,n,void 0,r),(()=>{if(ih(e))return 1;if(!(n=wn.isJsxOpeningElement(e)||wn.isJsxSelfClosingElement(e)&&!Zy(e.tagName)?yE(e.tagName):void 0))return 1;var n=hl(n,0);if(!wn.length(n))return 1;var t=Cx(e);if(!t)return 1;var r=pi(t,111551,!0,!1,e);if(!r)return 1;if(r=hl(hs(r),0),!wn.length(r))return 1;for(var i=!1,s=0,c=0,l=r;c<l.length;c++){var d=hl(ub(l[c],0),0);if(wn.length(d))for(var u=0,p=d;u<p.length;u++){var m=p[u];if(i=!0,gb(m))return 1;m=_b(m),s<m&&(s=m)}}if(!i)return 1;for(var _=1/0,f=0,g=n;f<g.length;f++){var y=fb(g[f]);y<_&&(_=y)}if(_<=s)return 1;a&&(r=wn.createDiagnosticForNode(e.tagName,wn.Diagnostics.Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3,wn.entityNameToString(e.tagName),_,wn.entityNameToString(t),s),(t=null==(n=HS(e.tagName))?void 0:n.valueDeclaration)&&wn.addRelatedInfo(r,wn.createDiagnosticForNode(t,wn.Diagnostics._0_is_declared_here,wn.entityNameToString(e.tagName))),o&&o.skipLogging&&(o.errors||(o.errors=[])).push(r),o.skipLogging||Pr.add(r))})()&&xm(r,n,t,a?e.tagName:void 0,e.attributes,void 0,i,o)}function Ev(e,n,t,r,a,i,o){var s={errors:void 0,skipLogging:!0};if(wn.isJsxOpeningLikeElement(e))return bv(e,t,r,a,i,o,s)?void 0:(wn.Debug.assert(!i||!!s.errors,"jsx should have errors when reporting errors"),s.errors||wn.emptyArray);var c=Kl(t);if(c&&c!==yt&&207!==e.kind){var l=Tv(e),d=_v(l),u=(l=i?l||e:void 0,wn.Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1);if(!jm(d,c,r,l,u,o,s))return wn.Debug.assert(!i||!!s.errors,"this parameter should have errors when reporting errors"),s.errors||wn.emptyArray}for(var p=wn.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1,m=(d=hb(t),d?Math.min(_b(t)-1,n.length):n.length),_=0;_<m;_++){var f=n[_];if(225!==f.kind){var g=ub(t,_),y=eE(f,g,void 0,a);y=4&a?Y_(y):y;if(!xm(y,g,r,i?f:void 0,f,p,o,s))return wn.Debug.assert(!i||!!s.errors,"parameter should have errors when reporting errors"),h(f,y,g),s.errors||wn.emptyArray}}if(d&&(c=yv(n,m,n.length,d,void 0,a),u=n.length-m,l=i?0==u?e:1==u?n[m]:wn.setTextRangePosEnd(Sv(e,c),n[m].pos,n[n.length-1].end):void 0,!jm(c,d,r,l,p,void 0,s)))return wn.Debug.assert(!i||!!s.errors,"rest parameter should have errors when reporting errors"),h(l,c,d),s.errors||wn.emptyArray;function h(e,n,t){e&&i&&s.errors&&s.errors.length&&(GE(t)||(n=GE(n))&&Bm(n,t,r)&&wn.addRelatedInfo(s.errors[0],wn.createDiagnosticForNode(e,wn.Diagnostics.Did_you_forget_to_use_await)))}}function Tv(e){if(e=206===e.kind?e.expression:208===e.kind?e.tag:void 0,e&&(e=wn.skipOuterExpressions(e),wn.isAccessExpression(e)))return e.expression}function Sv(e,n,t,r){return n=wn.parseNodeFactory.createSyntheticExpression(n,t,r),wn.setTextRange(n,e),wn.setParent(n,e),n}function xv(e){var n;if(208===e.kind)return t=e.template,n=[Sv(t,(un=un||Gd("TemplateStringsArray",0,!0))||kt)],221===t.kind&&wn.forEach(t.templateSpans,(function(e){n.push(e.expression)})),n;if(163===e.kind){var t=e,r=t.parent,a=t.expression;switch(r.kind){case 255:case 224:return[Sv(a,hs(Ii(r)))];case 162:var i=r.parent;return[Sv(a,169===r.parent.kind?hs(Ii(i)):Zn),Sv(a,Xn),Sv(a,lt)];case 165:case 167:case 170:case 171:return i=165!==r.kind&&0!==b,[Sv(a,(e=>{var n=Ii(e.parent);return(wn.isStatic(e)?hs:Hs)(n)})(r)),Sv(a,(e=>{var n=e.name;switch(n.kind){case 79:return Dp(wn.idText(n));case 8:case 10:return Dp(n.text);case 160:var t=Wy(n);return Kb(t,12288)?t:ct;default:return wn.Debug.fail("Unsupported property name.")}})(r)),Sv(a,i?Jd(WS(r)):Xn)]}return wn.Debug.fail()}if(wn.isJsxOpeningLikeElement(e))return 0<e.attributes.properties.length||wn.isJsxOpeningElement(e)&&0<e.parent.children.length?[e.attributes]:wn.emptyArray;var o=e.arguments||wn.emptyArray;e=iv(o);if(0<=e){for(var s=o.slice(0,e),c=e;c<o.length;c++)(e=>{var n=o[e],t=223===n.kind&&(or?yE:nE)(n.expression);t&&C_(t)?wn.forEach(yd(t),(function(e,r){var a=t.target.elementFlags[r];a=Sv(n,4&a?qd(e):e,!!(12&a),null==(e=t.target.labeledElementDeclarations)?void 0:e[r]);s.push(a)})):s.push(n)})(c);return s}return o}function Lv(e,n){switch(e.parent.kind){case 255:case 224:return 1;case 165:return 2;case 167:case 170:case 171:return 0===b||n.parameters.length<=2?2:3;case 162:return 3;default:return wn.Debug.fail()}}function Dv(e,n){var t,r,a=wn.getSourceFileOfNode(e);return n=wn.isPropertyAccessExpression(e.expression)?(t=(r=wn.getErrorSpanForNode(a,e.expression.name)).start,n?r.length:e.end-t):(t=(r=wn.getErrorSpanForNode(a,e.expression)).start,n?r.length:e.end-t),{start:t,length:n,sourceFile:a}}function Av(e,n,t,r,a,i){var o,s;return wn.isCallExpression(e)?(s=(o=Dv(e)).sourceFile,wn.createFileDiagnostic(s,o.start,o.length,n,t,r,a,i)):wn.createDiagnosticForNode(e,n,t,r,a,i)}function Cv(e,n,t){var r=iv(t);if(-1<r)return wn.createDiagnosticForNode(t[r],wn.Diagnostics.A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter);for(var a,i=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY,s=Number.NEGATIVE_INFINITY,c=Number.POSITIVE_INFINITY,l=0,d=n;l<d.length;l++){var u=d[l],p=fb(u),m=_b(u);p<i&&(i=p,a=u),o=Math.max(o,m),p<t.length&&s<p&&(s=p),t.length<m&&m<c&&(c=m)}var _,f,g;r=wn.some(n,gb),n=!r&&i<o?i+"-"+o:i,r=r?wn.Diagnostics.Expected_at_least_0_arguments_but_got_1:1===n&&0===t.length&&(e=>{if(wn.isCallExpression(e)&&wn.isIdentifier(e.expression)){var n;e=Ma(e.expression,e.expression.escapedText,111551,void 0,void 0,!1),e=null==e?void 0:e.valueDeclaration;if(e&&wn.isParameter(e)&&Fy(e.parent)&&wn.isNewExpression(e.parent.parent)&&wn.isIdentifier(e.parent.parent.expression))return(n=Kd(!1))&&HS(e.parent.parent.expression,!0)===n}})(e)?wn.Diagnostics.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise:wn.Diagnostics.Expected_0_arguments_but_got_1;return i<t.length&&t.length<o?Av(e,wn.Diagnostics.No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments,t.length,s,c):t.length<i?(f=Av(e,r,n,t.length),(_=null==(_=null==a?void 0:a.declaration)?void 0:_.parameters[a.thisParameter?t.length+1:t.length])?(_=wn.createDiagnosticForNode(_,wn.isBindingPattern(_.name)?wn.Diagnostics.An_argument_matching_this_binding_pattern_was_not_provided:wn.isRestParameter(_)?wn.Diagnostics.Arguments_for_the_rest_parameter_0_were_not_provided:wn.Diagnostics.An_argument_for_0_was_not_provided,_.name?wn.isBindingPattern(_.name)?void 0:wn.idText(wn.getFirstIdentifier(_.name)):t.length),wn.addRelatedInfo(f,_)):f):(_=wn.factory.createNodeArray(t.slice(o)),f=wn.first(_).pos,(g=wn.last(_).end)===f&&g++,wn.setTextRangePosEnd(_,f,g),wn.createDiagnosticForNodeArray(wn.getSourceFileOfNode(e),_,r,n,t.length))}function Iv(e,t,r,a,i,o){var s,c,l,d,u,p=208===e.kind,m=163===e.kind,_=wn.isJsxOpeningLikeElement(e),f=!r&&n,g=(!m&&(s=e.typeArguments,p||_||106!==e.expression.kind)&&wn.forEach(s,CS),r||[]),y=(p=t,g),h=i,v=0,b=-1;wn.Debug.assert(!y.length);for(var E=0,T=p;E<T.length;E++){var S=T[E],x=S.declaration&&Ii(S.declaration),L=S.declaration&&S.declaration.parent;l&&x!==l?(d=v=y.length,c=L):c&&L===c?d+=1:(c=L,d=v),l=x,lk(S)?(u=++b,v++):u=d,y.splice(u,0,h?fc(S,h):S)}if(!g.length)return f&&Pr.add(Av(e,wn.Diagnostics.Call_target_does_not_contain_any_signatures)),rv(e);var D,A,C,I,N=xv(e),k=(_=1===g.length&&!g[0].typeParameters,m||_||!wn.some(N,lm)?0:4);i=!!(16&a)&&206===e.kind&&e.arguments.hasTrailingComma;if(H=(H=1<g.length?Q(g,Gr,_,i):H)||Q(g,Ur,_,i))return H;if(f)if(D)if(1===D.length||3<D.length){var R,O=D[D.length-1];p=(3<D.length&&(R=wn.chainDiagnosticMessages(R,wn.Diagnostics.The_last_overload_gave_the_following_error),R=wn.chainDiagnosticMessages(R,wn.Diagnostics.No_overload_matches_this_call)),Ev(e,N,O,Ur,0,!0,(function(){return R})));if(p)for(var P=0,w=p;P<w.length;P++){var M=w[P];O.declaration&&3<D.length&&wn.addRelatedInfo(M,wn.createDiagnosticForNode(O.declaration,wn.Diagnostics.The_last_overload_is_declared_here)),Y(O,M),Pr.add(M)}else wn.Debug.fail("No error for last overload signature")}else{for(var F=[],G=0,B=Number.MAX_VALUE,U=0,V=0,j=0,K=D;j<K.length;j++)(n=>{var t=Ev(e,N,n,Ur,0,!0,(function(){return wn.chainDiagnosticMessages(void 0,wn.Diagnostics.Overload_0_of_1_2_gave_the_following_error,V+1,g.length,co(n))}));t?(t.length<=B&&(B=t.length,U=V),G=Math.max(G,t.length),F.push(t)):wn.Debug.fail("No error for 3 or fewer overload signatures"),V++})(K[j]);var H,W=1<G?F[U]:wn.flatten(F);a=(wn.Debug.assert(0<W.length,"No errors reported for 3 or fewer overload signatures"),wn.chainDiagnosticMessages(wn.map(W,(function(e){return"string"==typeof e.messageText?e:e.messageText})),wn.Diagnostics.No_overload_matches_this_call)),_=eu([],wn.flatMap(W,(function(e){return e.relatedInformation})),!0),i=void 0;i=wn.every(W,(function(e){return e.start===W[0].start&&e.length===W[0].length&&e.file===W[0].file}))?{file:(H=W[0]).file,start:H.start,length:H.length,code:a.code,category:a.category,messageText:a,relatedInformation:_}:wn.createDiagnosticForNodeFromMessageChain(e,a,_),Y(D[0],i),Pr.add(i)}else A?Pr.add(Cv(e,[A],N)):C?hv(C,e.typeArguments,!0,o):0===(f=wn.filter(t,(function(e){return lv(e,s)}))).length?Pr.add(((e,n,t)=>{var r,a=t.length;if(1===n.length)return r=Ml((l=n[0]).typeParameters),u=wn.length(l.typeParameters),wn.createDiagnosticForNodeArray(wn.getSourceFileOfNode(e),t,wn.Diagnostics.Expected_0_type_arguments_but_got_1,r<u?r+"-"+u:r,a);for(var i=-1/0,o=1/0,s=0,c=n;s<c.length;s++){var l,d=Ml((l=c[s]).typeParameters),u=wn.length(l.typeParameters);a<d?o=Math.min(o,d):u<a&&(i=Math.max(i,u))}return i!==-1/0&&o!==1/0?wn.createDiagnosticForNodeArray(wn.getSourceFileOfNode(e),t,wn.Diagnostics.No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments,a,i,o):wn.createDiagnosticForNodeArray(wn.getSourceFileOfNode(e),t,wn.Diagnostics.Expected_0_type_arguments_but_got_1,i===-1/0?o:i,a)})(e,t,s)):m?o&&Pr.add(Av(e,o)):Pr.add(Cv(e,f,N));if(p=e,H=g,a=N,_=!!r,wn.Debug.assert(0<H.length),NS(p),_||1===H.length||H.some((function(e){return!!e.typeParameters})))return i=p,t=a,o=((e,n)=>{for(var t=-1,r=-1,a=0;a<e.length;a++){var i=e[a],o=_b(i);if(gb(i)||n<=o)return a;r<o&&(r=o,t=a)}return t})(m=H,void 0===ve?t.length:ve),f=m[o],(r=f.typeParameters)?(_=(_=nv(i)?i.typeArguments:void 0)?Zl(f,((e,n,t)=>{for(var r=e.map(WS);r.length>n.length;)r.pop();for(;r.length<n.length;)r.push(qc(n[r.length])||Mf(t));return r})(_,r,wn.isInJSFile(i))):((e,n,t,r)=>(n=sf(n,t,wn.isInJSFile(e)?2:0),e=fv(e,t,r,12,n),Zl(t,e)))(i,r,f,t),m[o]=_):f;var z=H;(p=wn.mapDefined(z,(function(e){return e.thisParameter}))).length&&(I=kv(p,p.map(ob)));a=(p=wn.minAndMax(z,Nv)).min;for(var J=p.max,q=[],X=0;X<J;X++)(e=>{var n=wn.mapDefined(z,(function(n){return ck(n)?e<n.parameters.length-1?n.parameters[e]:wn.last(n.parameters):e<n.parameters.length?n.parameters[e]:void 0}));wn.Debug.assert(0!==n.length),q.push(kv(n,wn.mapDefined(z,(function(n){return pb(n,e)}))))})(X);return p=wn.mapDefined(z,(function(e){return ck(e)?wn.last(e.parameters):void 0})),i=0,0!==p.length&&(r=qd(gu(wn.mapDefined(z,Xl),2)),q.push(Rv(p,r)),i|=1),z.some(lk)&&(i|=2),pc(z[0].declaration,void 0,I,q,Tu(z.map(zl)),void 0,a,i);function Y(e,n){var t,r,a=D,i=A,o=C;e=(null==(e=null==(e=e.declaration)?void 0:e.symbol)?void 0:e.declarations)||wn.emptyArray,e=1<e.length?wn.find(e,(function(e){return wn.isFunctionLikeDeclaration(e)&&wn.nodeIsPresent(e.body)})):void 0;e&&(r=!(t=Gl(e)).typeParameters,Q([t],Ur,r))&&wn.addRelatedInfo(n,wn.createDiagnosticForNode(e,wn.Diagnostics.The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible)),D=a,A=i,C=o}function Q(n,t,r,a){if(void 0===a&&(a=!1),C=A=D=void 0,r)return i=n[0],wn.some(s)||!cv(e,N,i,a)?void 0:Ev(e,N,i,t,0,!1,void 0)?void(D=[i]):i;for(var i,o=0;o<n.length;o++)if(lv(i=n[o],s)&&cv(e,N,i,a)){var c=void 0,l=void 0;if(i.typeParameters){var d=void 0;if(wn.some(s)){if(!(d=hv(i,s,!1))){C=i;continue}}else l=sf(i.typeParameters,i,wn.isInJSFile(e)?2:0),d=fv(e,i,N,8|k,l),k|=4&l.flags?8:0;if(c=Yl(i,d,wn.isInJSFile(i.declaration),l&&l.inferredTypeParameters),hb(i)&&!cv(e,N,c,a)){A=c;continue}}else c=i;if(!Ev(e,N,c,t,k,!1,void 0)){if(k){if(k=0,l&&(c=Yl(i,d=fv(e,i,N,k,l),wn.isInJSFile(i.declaration),l&&l.inferredTypeParameters),hb(i)&&!cv(e,N,c,a))){A=c;continue}if(Ev(e,N,c,t,k,!1,void 0)){(D=D||[]).push(c);continue}}return n[o]=c}(D=D||[]).push(c)}}}function Nv(e){var n=e.parameters.length;return ck(e)?n-1:n}function kv(e,n){return Rv(e,gu(n,2))}function Rv(e,n){return X_(wn.first(e),n)}function Ov(e){return!(!e.typeParameters||!hx(zl(e)))}function Pv(e,n,t,r){return Io(e)||Io(n)&&262144&e.flags||!t&&!r&&!(1048576&n.flags)&&!(131072&ul(n).flags)&&hm(e,Re)}function wv(e,n,t){e.arguments&&b<1&&0<=(r=iv(e.arguments))&&fa(e.arguments[r],wn.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher);var r=Th(e.expression);if(r===vt)return Jt;if((r=ol(r))!==Zn){if(Io(r))return e.typeArguments&&fa(e,wn.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments),tv(e);var a=hl(r,1);if(a.length)return((e,n)=>{if(!n||!n.declaration)return 1;n=n.declaration;var t=wn.getSelectedEffectiveModifierFlags(n,24);if(!t||169!==n.kind)return 1;var r=wn.getClassLikeDeclarationOfSymbol(n.parent.symbol),a=Hs(n.parent.symbol);return US(e,r)||(r=wn.getContainingClass(e))&&16&t&&(r=WS(r),function e(n,t){if(t=Ps(t),!wn.length(t))return!1;if(t=t[0],2097152&t.flags){for(var r=t.types,a=Tc(r),i=0,o=0,s=t.types;o<s.length;o++){var c=s[o];if(!a[i]&&3&wn.getObjectFlags(c)){if(c.symbol===n)return!0;if(e(n,c))return!0}i++}return!1}return t.symbol===n||e(n,t)}(n.parent.symbol,r))?1:(8&t&&fa(e,wn.Diagnostics.Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration,lo(a)),void(16&t&&fa(e,wn.Diagnostics.Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration,lo(a))))})(e,a[0])?a.some((function(e){return 4&e.flags}))||(i=r.symbol&&wn.getClassLikeDeclarationOfSymbol(r.symbol))&&wn.hasSyntacticModifier(i,128)?(fa(e,wn.Diagnostics.Cannot_create_an_instance_of_an_abstract_class),rv(e)):Iv(e,a,n,t,0):rv(e);var i=hl(r,0);if(i.length)return a=Iv(e,i,n,t,0),C||(a.declaration&&!Wv(a.declaration)&&zl(a)!==yt&&fa(e,wn.Diagnostics.Only_a_void_function_can_be_called_with_the_new_keyword),Kl(a)===yt&&fa(e,wn.Diagnostics.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void)),a;Fv(e.expression,r,1)}return rv(e)}function Mv(e,n,t){var r,a=0===t,i=VE(n);i=i&&0<hl(i,t).length;if(1048576&n.flags){for(var o=!1,s=0,c=n.types;s<c.length;s++){var l=c[s];if(0!==hl(l,t).length){if(o=!0,r)break}else if(r||(r=wn.chainDiagnosticMessages(r,a?wn.Diagnostics.Type_0_has_no_call_signatures:wn.Diagnostics.Type_0_has_no_construct_signatures,lo(l)),r=wn.chainDiagnosticMessages(r,a?wn.Diagnostics.Not_all_constituents_of_type_0_are_callable:wn.Diagnostics.Not_all_constituents_of_type_0_are_constructable,lo(n))),o)break}r=(r=o?r:wn.chainDiagnosticMessages(void 0,a?wn.Diagnostics.No_constituent_of_type_0_is_callable:wn.Diagnostics.No_constituent_of_type_0_is_constructable,lo(n)))||wn.chainDiagnosticMessages(r,a?wn.Diagnostics.Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:wn.Diagnostics.Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other,lo(n))}else r=wn.chainDiagnosticMessages(r,a?wn.Diagnostics.Type_0_has_no_call_signatures:wn.Diagnostics.Type_0_has_no_construct_signatures,lo(n));var d=a?wn.Diagnostics.This_expression_is_not_callable:wn.Diagnostics.This_expression_is_not_constructable;return wn.isCallExpression(e.parent)&&0===e.parent.arguments.length&&(e=ka(e).resolvedSymbol)&&32768&e.flags&&(d=wn.Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without),{messageChain:wn.chainDiagnosticMessages(r,d),relatedMessage:i?wn.Diagnostics.Did_you_forget_to_use_await:void 0}}function Fv(e,n,t,r){var a=Mv(e,n,t),i=a.messageChain;a=a.relatedMessage,i=wn.createDiagnosticForNodeFromMessageChain(e,i);a&&wn.addRelatedInfo(i,wn.createDiagnosticForNode(e,a)),wn.isCallExpression(e.parent)&&(e=(a=Dv(e.parent,!0)).start,a=a.length,i.start=e,i.length=a),Pr.add(i),Gv(n,t,r?wn.addRelatedInfo(i,r):i)}function Gv(e,n,t){var r;e.symbol&&(r=Na(e.symbol).originatingImport)&&!wn.isImportCall(r)&&(e=hl(hs(Na(e.symbol).target),n))&&e.length&&wn.addRelatedInfo(t,wn.createDiagnosticForNode(r,wn.Diagnostics.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))}function Bv(e){switch(e.parent.kind){case 255:case 224:return wn.Diagnostics.Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression;case 162:return wn.Diagnostics.Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression;case 165:return wn.Diagnostics.Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression;case 167:case 170:case 171:return wn.Diagnostics.Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression;default:return wn.Debug.fail()}}function Uv(e,n,t){var r,a,i,o=yE(e.expression),s=ol(o);return s===Zn?rv(e):(i=hl(s,0),a=hl(s,1).length,Pv(o,s,i.length,a)?tv(e):(r=e,(o=i).length&&wn.every(o,(function(e){return 0===e.minArgumentCount&&!ck(e)&&e.parameters.length<Lv(r,e)}))?(a=wn.getTextOfNode(e.expression,!1),fa(e,wn.Diagnostics._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0,a),rv(e)):(o=Bv(e),i.length?Iv(e,i,n,t,0,o):(a=Mv(e.expression,s,0),i=wn.chainDiagnosticMessages(a.messageChain,o),n=wn.createDiagnosticForNodeFromMessageChain(e.expression,i),a.relatedMessage&&wn.addRelatedInfo(n,wn.createDiagnosticForNode(e.expression,a.relatedMessage)),Pr.add(n),Gv(s,0,n),rv(e)))))}function Vv(e,n){var t=oh(e),r=(t=t&&xi(t),t=t&&Oa(t,Mn.Element,788968),t&&U.symbolToEntityName(t,788968,e));e=wn.factory.createFunctionTypeNode(void 0,[wn.factory.createParameterDeclaration(void 0,void 0,void 0,"props",void 0,U.typeToTypeNode(n,e))],r?wn.factory.createTypeReferenceNode(r,void 0):wn.factory.createKeywordTypeNode(129)),r=Ea(1,"props");return r.type=n,pc(e,void 0,void 0,[r],t?Hs(t):Zn,void 0,1,0)}function jv(e,n,t){var r,a;return Zy(e.tagName)?(a=Vv(e,r=dh(e)),Sm(eE(e.attributes,Oy(a,e),void 0,0),r,e.tagName,e.attributes),wn.length(e.typeArguments)&&(wn.forEach(e.typeArguments,CS),Pr.add(wn.createDiagnosticForNodeArray(wn.getSourceFileOfNode(e),e.typeArguments,wn.Diagnostics.Expected_0_type_arguments_but_got_1,0,wn.length(e.typeArguments)))),a):(a=ol(r=yE(e.tagName)))===Zn?rv(e):Pv(r,a,(a=function e(n,t){var r;return 4&n.flags?[Ht]:128&n.flags?(r=lh(n,t))?[Vv(t,r)]:(fa(t,wn.Diagnostics.Property_0_does_not_exist_on_type_1,n.value,"JSX."+Mn.IntrinsicElements),wn.emptyArray):0===(n=0===(n=hl(r=ol(n),1)).length?hl(r,0):n).length&&1048576&r.flags?hc(wn.map(r.types,(function(n){return e(n,t)}))):n}(r,e)).length,0)?tv(e):0===a.length?(fa(e.tagName,wn.Diagnostics.JSX_element_type_0_does_not_have_any_construct_or_call_signatures,wn.getTextOfNode(e.tagName)),rv(e)):Iv(e,a,n,t,0)}function Kv(e,n,t){switch(e.kind){case 206:var r=e,a=n,i=t;if(106===r.expression.kind){var o=cy(r.expression);if(Io(o)){for(var s=0,c=r.arguments;s<c.length;s++)yE(c[s]);return Ht}if(o!==Zn){var l=wn.getEffectiveBaseTypeNode(wn.getContainingClass(r));if(l)return Iv(r,ks(o,l.typeArguments,l),a,i,0)}return tv(r)}return o=yE(r.expression),wn.isCallChain(r)?(u=(l=H_(o,r.expression))===o?0:wn.isOutermostOptionalChain(r)?16:8,o=l):u=0,(o=Ah(o,r.expression,Dh))===vt?Jt:(l=ol(o))===Zn?rv(r):(p=hl(l,0),d=hl(l,1).length,Pv(o,l,p.length,d)?(o!==Zn&&r.typeArguments&&fa(r,wn.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments),tv(r)):p.length?8&i&&!r.typeArguments&&p.some(Ov)?(dE(r,i),zt):p.some((function(e){return wn.isInJSFile(e.declaration)&&!!wn.getJSDocClassTag(e.declaration)}))?(fa(r,wn.Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,lo(o)),rv(r)):Iv(r,p,a,i,u):(d?fa(r,wn.Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,lo(o)):(p=void 0,1===r.arguments.length&&(a=wn.getSourceFileOfNode(r).text,wn.isLineBreak(a.charCodeAt(wn.skipTrivia(a,r.expression.end,!0)-1)))&&(p=wn.createDiagnosticForNode(r.expression,wn.Diagnostics.Are_you_missing_a_semicolon)),Fv(r.expression,l,0,p)),rv(r)));case 207:return wv(e,n,t);case 208:return i=n,u=t,o=yE((d=e).tag),(a=ol(o))===Zn?rv(d):(l=hl(a,0),p=hl(a,1).length,Pv(o,a,l.length,p)?tv(d):l.length?Iv(d,l,i,u,0):(wn.isArrayLiteralExpression(d.parent)?(o=wn.createDiagnosticForNode(d.tag,wn.Diagnostics.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),Pr.add(o)):Fv(d.tag,a,0),rv(d)));case 163:return Uv(e,n,t);case 278:case 277:return jv(e,n,t)}var d,u,p;throw wn.Debug.assertNever(e,"Branch in 'resolveSignature' should be unreachable.")}function Hv(e,n,t){var r=ka(e),a=r.resolvedSignature;return a&&a!==zt&&!n?a:(r.resolvedSignature=zt,e=Kv(e,n,t||0),e!==zt&&(r.resolvedSignature=ir===or?e:a),e)}function Wv(e){var n;return!!(e&&wn.isInJSFile(e)&&(n=wn.isFunctionDeclaration(e)||wn.isFunctionExpression(e)?e:wn.isVariableDeclaration(e)&&e.initializer&&wn.isFunctionExpression(e.initializer)?e.initializer:void 0)&&(wn.getJSDocClassTag(e)||null!=(n=null==(e=Ii(n))?void 0:e.members)&&n.size))}function zv(e,n){var t,r;if(n)return(r=Na(n)).inferredClassSymbol&&r.inferredClassSymbol.has(rk(e))?r.inferredClassSymbol.get(rk(e)):((e=wn.isTransientSymbol(e)?e:xa(e)).exports=e.exports||wn.createSymbolTable(),e.members=e.members||wn.createSymbolTable(),e.flags|=32&n.flags,null!=(t=n.exports)&&t.size&&Ca(e.exports,n.exports),null!=(t=n.members)&&t.size&&Ca(e.members,n.members),(r.inferredClassSymbol||(r.inferredClassSymbol=new wn.Map)).set(rk(e),e),e)}function Jv(e,n){if(e.parent){var t,r;if(wn.isVariableDeclaration(e.parent)&&e.parent.initializer===e){if(!(wn.isInJSFile(e)||wn.isVarConst(e.parent)&&wn.isFunctionLikeDeclaration(e)))return;t=e.parent.name,r=e.parent}else if(wn.isBinaryExpression(e.parent)){var a=e.parent,i=e.parent.operatorToken.kind;if(63!==i||!n&&a.right!==e){if(!(56!==i&&60!==i||(wn.isVariableDeclaration(a.parent)&&a.parent.initializer===a?(t=a.parent.name,r=a.parent):wn.isBinaryExpression(a.parent)&&63===a.parent.operatorToken.kind&&(n||a.parent.right===a)&&(r=t=a.parent.left),t&&wn.isBindableStaticNameExpression(t)&&wn.isSameEntityName(t,a.left))))return}else r=t=a.left}else n&&wn.isFunctionDeclaration(e)&&(t=e.name,r=e);if(r&&t&&(n||wn.getExpandoInitializer(e,wn.isPrototypeAccess(t))))return Ii(r)}}function qv(e,n){var t,r;e.declaration&&134217728&e.declaration.flags&&(t=Xv(n),n=wn.tryGetPropertyAccessOrIdentifierToString(wn.getInvokedExpression(n)),t=t,r=e.declaration,n=n,e=co(e),va(r,n?wn.createDiagnosticForNode(t,wn.Diagnostics.The_signature_0_of_1_is_deprecated,e,n):wn.createDiagnosticForNode(t,wn.Diagnostics._0_is_deprecated,e)))}function Xv(e){switch((e=wn.skipParentheses(e)).kind){case 206:case 163:case 207:return Xv(e.expression);case 208:return Xv(e.tag);case 278:case 277:return Xv(e.tagName);case 205:return e.argumentExpression;case 204:return e.name;case 176:var n=e;return wn.isQualifiedName(n.typeName)?n.typeName.right:n;default:return e}}function Yv(e){var n;if(wn.isCallExpression(e))return e=e.expression,wn.isPropertyAccessExpression(e)&&"for"===e.name.escapedText&&(e=e.expression),wn.isIdentifier(e)&&"Symbol"===e.escapedText&&(n=Ud(!1))?n===Ma(e,"Symbol",111551,void 0,void 0,!1):void 0}function Qv(e){if(Bx(e.arguments)||(n=e,E===wn.ModuleKind.ES2015?rL(n,wn.Diagnostics.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system_or_umd):n.typeArguments?rL(n,wn.Diagnostics.Dynamic_import_cannot_have_type_arguments):1!==(t=n.arguments).length?rL(n,wn.Diagnostics.Dynamic_import_must_have_one_specifier_as_an_argument):(Px(t),wn.isSpreadElement(t[0])&&rL(t[0],wn.Diagnostics.Specifier_of_dynamic_import_cannot_be_spread_element))),0!==e.arguments.length){for(var n=e.arguments[0],t=nE(n),r=1;r<e.arguments.length;++r)nE(e.arguments[r]);(32768&t.flags||65536&t.flags||!hm(t,ct))&&fa(n,wn.Diagnostics.Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0,lo(t));var a=_i(e,n);if(a){var i=vi(a,n,!0,!1);if(i)return Lb(e,Zv(hs(i),i,a))}}return Lb(e,Xn)}function Zv(e,n,t){var r,a,i;return S&&e&&e!==Zn?((r=e).syntheticType||(Xa(null==(a=t.declarations)?void 0:a.find(wn.isSourceFile),t,!1)?(a=wn.createSymbolTable(),(i=Ea(2097152,"default")).parent=t,i.nameType=Dp("default"),i.target=ri(n),a.set("default",i),n=zi(t=Ea(2048,"__type"),a,wn.emptyArray,wn.emptyArray,wn.emptyArray),t.type=n,r.syntheticType=Yy(e)?vp(e,n,t,0,!1):n):r.syntheticType=e),r.syntheticType):e}function $v(e){var n;return wn.isRequireCall(e,!0)&&(wn.isIdentifier(e.expression)?(e=Ma(e.expression,e.expression.escapedText,111551,void 0,void 0,!0))===xe||(2097152&e.flags||0==(n=16&e.flags?254:3&e.flags?252:0)?void 0:(e=wn.getDeclarationOfKind(e,n))&&8388608&e.flags):wn.Debug.fail())}function eb(e){(e=>(e.questionDotToken||32&e.flags)&&rL(e.template,wn.Diagnostics.Tagged_template_expressions_are_not_permitted_in_an_optional_chain))(e)||Gx(e,e.typeArguments),b<2&&kx(e,262144);var n=Hv(e);return qv(n,e),zl(n)}function nb(e,t,r,a){return a=yE(r,a),wn.isConstTypeReference(t)?(function e(n){switch(n.kind){case 10:case 14:case 8:case 9:case 110:case 95:case 202:case 203:case 221:return!0;case 210:return e(n.expression);case 217:var t=n.operator,r=n.operand;return 40===t&&(8===r.kind||9===r.kind)||39===t&&8===r.kind;case 204:case 205:if(t=n.expression,wn.isIdentifier(t))return!!((r=(r=HS(t))&&2097152&r.flags?ai(r):r)&&384&r.flags&&1===Bs(r))}return!1}(r)||fa(r,wn.Diagnostics.A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals),xp(a)):(CS(t),a=Y_(S_(a)),r=Op(t),n&&r!==Zn&&!bm(r,ef(a))&&Nm(a,r,e,wn.Diagnostics.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),r)}function tb(e){return 32&e.flags?(t=yE((n=e).expression),K_(U_(r=H_(t,n.expression)),n,r!==t)):U_(yE(e.expression));var n,t,r}function rb(e){var n,t;return(e=>{var n=e.name.escapedText;switch(e.keywordToken){case 103:if("target"!==n)return rL(e.name,wn.Diagnostics._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,e.name.escapedText,wn.tokenToString(e.keywordToken),"target");break;case 100:"meta"!==n&&rL(e.name,wn.Diagnostics._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,e.name.escapedText,wn.tokenToString(e.keywordToken),"meta")}})(e),103===e.keywordToken?ib(e):100===e.keywordToken?(n=e,E!==wn.ModuleKind.ES2020&&E!==wn.ModuleKind.ESNext&&E!==wn.ModuleKind.System&&fa(n,wn.Diagnostics.The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_esnext_or_system),t=wn.getSourceFileOfNode(n),wn.Debug.assert(!!(2097152&t.flags),"Containing file is missing import meta node flag."),"meta"===n.name.escapedText?Bd():Zn):wn.Debug.assertNever(e.keywordToken)}function ab(e){switch(e.keywordToken){case 100:return mn||(t=Ea(0,"ImportMetaExpression"),a=Bd(),(r=Ea(4,"meta",8)).parent=t,r.type=a,a=wn.createSymbolTable([r]),t.members=a,mn=zi(t,a,wn.emptyArray,wn.emptyArray,wn.emptyArray)),mn;case 103:return r=ib(e),r===Zn?Zn:(t=r,a=Ea(0,"NewTargetExpression"),(n=Ea(4,"target",8)).parent=a,n.type=t,t=wn.createSymbolTable([n]),a.members=t,zi(a,t,wn.emptyArray,wn.emptyArray,wn.emptyArray));default:wn.Debug.assertNever(e.keywordToken)}var n,t,r,a}function ib(e){var n=wn.getNewTargetContainer(e);return n?169===n.kind?hs(Ii(n.parent)):hs(Ii(n)):(fa(e,wn.Diagnostics.Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor,"new.target"),Zn)}function ob(e){var n=hs(e);return x&&(e=e.valueDeclaration,e&&wn.hasInitializer(e))?B_(n):n}function sb(e){return wn.Debug.assert(wn.isIdentifier(e.name)),e.name.escapedText}function cb(e,n,t){var r=e.parameters.length-(ck(e)?1:0);return n<r?e.parameters[n].escapedName:(e=e.parameters[r]||Jn,C_(t=t||hs(e))?(n-=r,(r=t.target.labeledElementDeclarations)&&sb(r[n])||e.escapedName+"_"+n):e.escapedName)}function lb(e){return e.valueDeclaration&&wn.isParameter(e.valueDeclaration)&&wn.isIdentifier(e.valueDeclaration.name)}function db(e){return 195===e.kind||wn.isParameter(e)&&e.name&&wn.isIdentifier(e.name)}function ub(e,n){return pb(e,n)||Xn}function pb(e,n){var t=e.parameters.length-(ck(e)?1:0);return n<t?ob(e.parameters[n]):ck(e)&&(e=hs(e.parameters[t]),n-=t,!C_(e)||e.target.hasRestElement||n<e.target.fixedLength)?Zu(e,Ap(n)):void 0}function mb(e,n){var t=_b(e),r=fb(e),a=yb(e);if(a&&t-1<=n)return n===t-1?a:qd(Zu(a,lt));for(var i,o,s,c=[],l=[],d=[],u=n;u<t;u++){!a||u<t-1?(c.push(ub(e,u)),l.push(u<r?1:2)):(c.push(a),l.push(8)),i=u,s=o=void 0,s=(p=e).parameters.length-(ck(p)?1:0);var p=i<s?(o=p.parameters[i].valueDeclaration)&&db(o)?o:void 0:C_(p=hs(o=p.parameters[s]||Jn))?(p=p.target.labeledElementDeclarations)&&p[i-s]:o.valueDeclaration&&db(o.valueDeclaration)?o.valueDeclaration:void 0;p&&d.push(p)}return tu(c,l,!1,wn.length(d)===wn.length(c)?d:void 0)}function _b(e){var n=e.parameters.length;return ck(e)&&(e=hs(e.parameters[n-1]),C_(e))?n+e.target.fixedLength-(e.target.hasRestElement?0:1):n}function fb(e,n){var t=1&n;n&=2;if(n||void 0===e.resolvedMinArgumentCount){var r,a,i=void 0;if(void 0===(i=ck(e)&&C_(a=hs(e.parameters[e.parameters.length-1]))&&0<(a=(r=wn.findIndex(a.target.elementFlags,(function(e){return!(1&e)})))<0?a.target.fixedLength:r)?e.parameters.length-1+a:i)){if(!t&&32&e.flags)return 0;i=e.minArgumentCount}if(n)return i;for(var o=i-1;0<=o;o--){if(131072&Eg(ub(e,o),ov).flags)break;i=o}e.resolvedMinArgumentCount=i}return e.resolvedMinArgumentCount}function gb(e){return!!ck(e)&&(!C_(e=hs(e.parameters[e.parameters.length-1]))||e.target.hasRestElement)}function yb(e){if(ck(e)){if(e=hs(e.parameters[e.parameters.length-1]),!C_(e))return e;if(e.target.hasRestElement)return ou(e,e.target.fixedLength)}}function hb(e){return e=yb(e),!e||l_(e)||Io(e)||0!=(131072&ul(e).flags)?void 0:e}function vb(e){return bb(e,ht)}function bb(e,n){return 0<e.parameters.length?ub(e,0):n}function Eb(e,n){if(n.typeParameters){if(e.typeParameters)return;e.typeParameters=n.typeParameters}n.thisParameter&&(!(a=e.thisParameter)||a.valueDeclaration&&!a.valueDeclaration.type)&&(a||(e.thisParameter=X_(n.thisParameter,void 0)),Tb(e.thisParameter,hs(n.thisParameter)));for(var t=e.parameters.length-(ck(e)?1:0),r=0;r<t;r++){var a=e.parameters[r];wn.getEffectiveTypeAnnotationNode(a.valueDeclaration)||Tb(a,pb(n,r))}ck(e)&&(a=wn.last(e.parameters),!wn.isTransientSymbol(a)&&wn.getEffectiveTypeAnnotationNode(a.valueDeclaration)||Tb(a,mb(n,t)))}function Tb(e,n){var t=Na(e);t.type||(e=e.valueDeclaration,t.type=n||ns(e,!0),79!==e.name.kind&&(t.type===nt&&(t.type=es(e.name)),function e(n){for(var t=0,r=n.elements;t<r.length;t++){var a=r[t];wn.isOmittedExpression(a)||(79===a.name.kind?Na(Ii(a)).type=Go(a):e(a.name))}}(e.name)))}function Sb(e){var n=jd(!0);return n!==wt?_d(n,[e=VE(e)||nt]):nt}function xb(e){var n=(Qe=Qe||Gd("PromiseLike",1,!0))||wt;return n!==wt?_d(n,[e=VE(e)||nt]):nt}function Lb(e,n){return n=Sb(n),n===nt?(fa(e,wn.isImportCall(e)?wn.Diagnostics.A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:wn.Diagnostics.An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option),Zn):(Kd(!0)||fa(e,wn.isImportCall(e)?wn.Diagnostics.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:wn.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),n)}function Db(e,n){if(!e.body)return Zn;var t,r,a,i,o,s,c=wn.getFunctionFlags(e),l=0!=(2&c),d=0!=(1&c),u=yt;if(233!==e.body.kind)t=nE(e.body,n&&-9&n),l&&(t=UE(t,e,wn.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member));else if(d){var p=Rb(e,n),m=(p=(p?0<p.length&&(t=gu(p,2)):u=ht,p=e,r=n,a=[],i=[],o=0!=(2&wn.getFunctionFlags(p)),wn.forEachYieldExpression(p.body,(function(e){var n=e.expression?yE(e.expression,r):rt;wn.pushIfUnique(a,Cb(e,n,Xn,o)),(n=e.asteriskToken?(n=PT(n,o?19:17,e.expression))&&n.nextType:ky(e))&&wn.pushIfUnique(i,n)})),{yieldTypes:a,nextTypes:i}),p.yieldTypes);p=p.nextTypes,m=wn.some(m)?gu(m,2):void 0,p=wn.some(p)?Tu(p):void 0}else{n=Rb(e,n);if(!n)return 2&c?Lb(e,ht):ht;if(0===n.length)return 2&c?Lb(e,yt):yt;t=gu(n,2)}return(t||m||p)&&(m&&rf(e,m,3),t&&rf(e,t,1),p&&rf(e,p,2),(t&&b_(t)||m&&b_(m)||p&&b_(p))&&(n=(c=Gy(e))?c===Gl(e)?d?void 0:t:Iy(zl(c),e):void 0,d?(m=A_(m,n,0,l),t=A_(t,n,1,l),p=A_(p,n,2,l)):(c=n,n=l,t=s=(s=t)&&b_(s)?D_(s,c?n?BE(c):c:void 0):s)),m=m&&ef(m),t=t&&ef(t),p=p&&ef(p)),d?Ab(m||ht,t||u,p||_y(2,e)||nt,l):l?Sb(t||u):t||u}function Ab(e,n,t,r){r=r?er:nr;var a,i,o,s=r.getGlobalGeneratorType(!1);return e=r.resolveIterationType(e,void 0)||nt,n=r.resolveIterationType(n,void 0)||nt,t=r.resolveIterationType(t,void 0)||nt,s===wt?(i=(o=(a=r.getGlobalIterableIteratorType(!1))!==wt?GT(a,r):void 0)?o.returnType:Xn,o=o?o.nextType:tt,hm(n,i)&&hm(o,t)?a!==wt?zd(a,[e]):(r.getGlobalIterableIteratorType(!0),kt):(r.getGlobalGeneratorType(!0),kt)):zd(s,[e,n,t])}function Cb(e,n,t,r){var a=e.expression||e;t=e.asteriskToken?IT(r?19:17,n,t,a):n;return r?VE(t,a,e.asteriskToken?wn.Diagnostics.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:wn.Diagnostics.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):t}function Ib(e,n,t,r){var a=0;if(r){for(var i=n;i<t.length;i++)a|=Hn.get(t[i])||32768;for(i=e;i<n;i++)a&=~(Hn.get(t[i])||0);for(i=0;i<e;i++)a|=Hn.get(t[i])||32768}else{for(i=e;i<n;i++)a|=Kn.get(t[i])||128;for(i=0;i<e;i++)a&=~(Kn.get(t[i])||0)}return a}function Nb(e){var n=ka(e);return void 0!==n.isExhaustive?n.isExhaustive:n.isExhaustive=(e=>{var n,t,r;return 214===e.expression.kind?(r=_E(e.expression.expression),n=Ib(0,0,gg(e,!1),!0),3&(r=$c(r)||r).flags?556800==(556800&n):!!(131072&Eg(r,(function(e){return(tg(e)&n)===n})).flags)):!!T_(r=_E(e.expression))&&!(!(e=fg(e)).length||wn.some(e,v_))&&(r=Sg(r,xp),t=e,1048576&r.flags?!wn.forEach(r.types,(function(e){return!wn.contains(t,e)})):wn.contains(t,r))})(e)}function kb(e){return e.endFlowNode&&Vg(e.endFlowNode)}function Rb(e,n){var t=wn.getFunctionFlags(e),r=[],a=kb(e),i=!1;if(wn.forEachReturnStatement(e.body,(function(o){o=o.expression;o?(o=nE(o,n&&-9&n),131072&(o=2&t?UE(o,e,wn.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):o).flags&&(i=!0),wn.pushIfUnique(r,o)):a=!0})),0!==r.length||a||!i&&!(e=>{switch(e.kind){case 211:case 212:return 1;case 167:return 203===e.parent.kind;default:return}})(e))return!(x&&r.length&&a)||Wv(e)&&r.some((function(n){return n.symbol===e.symbol}))||wn.pushIfUnique(r,tt),r}function Ob(e,t){if(n){var r=wn.getFunctionFlags(e);t=t&&$T(t,r);if((!t||!jb(t,16385))&&166!==e.kind&&!wn.nodeIsMissing(e.body)&&233===e.body.kind&&kb(e)){r=512&e.flags;var a=wn.getEffectiveReturnTypeNode(e)||e;if(t&&131072&t.flags)fa(a,wn.Diagnostics.A_function_returning_never_cannot_have_a_reachable_end_point);else if(t&&!r)fa(a,wn.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value);else if(t&&x&&!hm(tt,t))fa(a,wn.Diagnostics.Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined);else if(v.noImplicitReturns){if(!t){if(!r)return;if(eS(e,zl(Gl(e))))return}fa(a,wn.Diagnostics.Not_all_code_paths_return_a_value)}}}}function Pb(e,n){if(wn.Debug.assert(167!==e.kind||wn.isObjectLiteralMethod(e)),NS(e),wn.isFunctionExpression(e)&&fT(e,e.name),n&&4&n&&lm(e)){if(!wn.getEffectiveReturnTypeNode(e)&&!wn.hasContextSensitiveParameters(e)){var t=By(e);if(t&&_f(zl(t)))return(t=ka(e)).contextFreeType||(i=Db(e,n),i=pc(void 0,void 0,void 0,wn.emptyArray,i,void 0,0,0),(i=zi(e.symbol,y,[i],wn.emptyArray,wn.emptyArray)).objectFlags|=524288,t.contextFreeType=i)}return Mt}Fx(e)||211!==e.kind||Kx(e);t=e;var r,a,i=n;n=ka(t);if(!(1024&n.flags||(r=By(t),1024&n.flags))&&(n.flags|=1024,n=wn.firstOrUndefined(hl(hs(Ii(t)),0)))){if(lm(t))if(r){if(a=Ry(t),i&&2&i){for(var o=n,s=r,c=a,l=o.parameters.length-(ck(o)?1:0),d=0;d<l;d++){var u=o.parameters[d].valueDeclaration;u.type&&(u=wn.getEffectiveTypeAnnotationNode(u))&&Cf(c.inferences,Op(u),ub(s,d))}var p=yb(s);p&&262144&p.flags&&(Eb(o,Xp(s,c.nonFixingMapper)),m=_b(s)-1,Cf(c.inferences,mb(o,m),p))}a=a?Xp(r,a.mapper):r,Eb(n,a)}else{var m=n;m.thisParameter&&Tb(m.thisParameter);for(var _=0,f=m.parameters;_<f.length;_++)Tb(f[_])}!r||Jl(t)||n.resolvedReturnType||(a=Db(t,i),n.resolvedReturnType)||(n.resolvedReturnType=a),EE(t)}return hs(Ii(e))}function wb(e,n,t,r){return void 0===r&&(r=!1),!!hm(n,At)||(ha(e,!!(e=r&&GE(n))&&hm(e,At),t),!1)}function Mb(e){if(!wn.isCallExpression(e))return!1;if(!wn.isBindableObjectDefinePropertyCall(e))return!1;if(e=nE(e.arguments[2]),Co(e,"value")){var n=gl(e,"writable"),t=n&&hs(n);return!t||t===ut||t===pt||!!(n&&n.valueDeclaration&&wn.isPropertyAssignment(n.valueDeclaration)&&(t=yE(n.valueDeclaration.initializer),t===ut||t===pt))}return!gl(e,"set")}function Fb(e){return!!(8&wn.getCheckFlags(e)||4&e.flags&&64&wn.getDeclarationModifierFlagsFromSymbol(e)||3&e.flags&&2&hh(e)||98304&e.flags&&!(65536&e.flags)||8&e.flags||wn.some(e.declarations,Mb))}function Gb(e,n,t){if(0!==t){if(Fb(n)){if(4&n.flags&&wn.isAccessExpression(e)&&108===e.expression.kind){var r,a;t=wn.getContainingFunction(e);if(!t||169!==t.kind&&!Wv(t))return 1;if(n.valueDeclaration)return i=wn.isBinaryExpression(n.valueDeclaration),o=t.parent===n.valueDeclaration.parent,r=t===n.valueDeclaration.parent,a=i&&(null==(a=n.parent)?void 0:a.valueDeclaration)===t.parent,n=i&&(null==(i=n.parent)?void 0:i.valueDeclaration)===t,!(o||r||a||n)}return 1}if(wn.isAccessExpression(e)){var i=wn.skipParentheses(e.expression);if(79===i.kind){var o;t=ka(i).resolvedSymbol;if(2097152&t.flags)return(o=Ka(t))&&266===o.kind}}}}function Bb(e,n,t){var r=wn.skipOuterExpressions(e,7);if(79===r.kind||wn.isAccessExpression(r)){if(!(32&r.flags))return 1;fa(e,t)}else fa(e,n)}function Ub(e){yE(e.expression);var n,t,r;e=wn.skipParentheses(e.expression);return wn.isAccessExpression(e)?(wn.isPropertyAccessExpression(e)&&wn.isPrivateIdentifier(e.name)&&fa(e,wn.Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_private_identifier),(t=wi(ka(e).resolvedSymbol))&&(Fb(t)&&fa(e,wn.Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_read_only_property),n=e,r=hs(t=t),!x||131075&r.flags||(O?16777216&t.flags:32768&w_(r))||fa(n,wn.Diagnostics.The_operand_of_a_delete_operator_must_be_optional))):fa(e,wn.Diagnostics.The_operand_of_a_delete_operator_must_be_a_property_reference),ft}function Vb(e){return jb(e,2112)?Kb(e,3)||jb(e,296)?At:dt:lt}function jb(e,n){if(e.flags&n)return!0;if(3145728&e.flags)for(var t=0,r=e.types;t<r.length;t++)if(jb(r[t],n))return!0;return!1}function Kb(e,n,t){return!!(e.flags&n)||!(t&&114691&e.flags)&&(!!(296&n)&&hm(e,lt)||!!(2112&n)&&hm(e,dt)||!!(402653316&n)&&hm(e,ct)||!!(528&n)&&hm(e,ft)||!!(16384&n)&&hm(e,yt)||!!(131072&n)&&hm(e,ht)||!!(65536&n)&&hm(e,ot)||!!(32768&n)&&hm(e,tt)||!!(4096&n)&&hm(e,gt)||!!(67108864&n)&&hm(e,St))}function Hb(e,n,t){return 1048576&e.flags?wn.every(e.types,(function(e){return Hb(e,n,t)})):Kb(e,n,t)}function Wb(e){return 16&wn.getObjectFlags(e)&&e.symbol&&zb(e.symbol)}function zb(e){return 0!=(128&e.flags)}function Jb(e,n,t,r,a){void 0===a&&(a=!1);e=e.properties;var i,o,s=e[t];if(291===s.kind||292===s.kind)return ec(o=Cu(i=s.name))&&(p=gl(n,ic(o)))&&(qh(p,s,a),bh(s,!1,!0,n,p)),p=Po(s,Zu(n,o,32,i)),Xb(292===s.kind?s:s.initializer,p);if(293===s.kind){if(!(t<e.length-1)){b<99&&kx(s,4);var c=[];if(r)for(var l=0,d=r;l<d.length;l++){var u=d[l];wn.isSpreadAssignment(u)||c.push(u.name)}var p=ko(n,c,n.symbol);return Px(r,wn.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),Xb(s.expression,p)}fa(s,wn.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern)}else fa(s,wn.Diagnostics.Property_assignment_expected)}function qb(e,n,t,r,a){var i=e.elements,o=i[t];if(225!==o.kind){if(223!==o.kind)return s=Ap(t),m_(n)?(s=ep(n,s,32|(Uy(o)?16:0),Sv(o,s))||Zn,Xb(o,Po(o,Uy(o)?rg(s,524288):s),a)):Xb(o,r,a);if(t<i.length-1)fa(o,wn.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);else{var s=o.expression;if(219!==s.kind||63!==s.operatorToken.kind)return Px(e.elements,wn.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),Xb(s,bg(n,C_)?Sg(n,(function(e){return ou(e,t)})):qd(r),a);fa(s.operatorToken,wn.Diagnostics.A_rest_element_cannot_have_an_initializer)}}}function Xb(e,n,t,r){var a,i,o,s,c,l=292===e.kind?((c=e).objectAssignmentInitializer&&(!x||32768&w_(yE(c.objectAssignmentInitializer))||(n=rg(n,524288)),o=c.name,l=c.equalsToken,c=c.objectAssignmentInitializer,s=t,63!==(i=l.kind)||203!==o.kind&&202!==o.kind?(i=(55===i||56===i||60===i?LT:yE)(o,s),s=yE(c,s),Qb(o,l,c,i,s,a)):Xb(o,yE(c,s),s,108===c.kind)),e.name):e;if(219===l.kind&&63===l.operatorToken.kind&&(P(l,t),l=l.left),203===l.kind){var d=l,u=n,p=r,m=d.properties;if(x&&0===m.length)return Ch(u,d);for(var _=0;_<m.length;_++)Jb(d,u,_,m,p);return u}if(202!==l.kind)return i=n,o=yE(a=l,o=t),s=293===a.parent.kind?wn.Diagnostics.The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:wn.Diagnostics.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access,c=293===a.parent.kind?wn.Diagnostics.The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:wn.Diagnostics.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access,Bb(a,s,c)&&Sm(i,o,a,a),wn.isPrivateIdentifierPropertyAccessExpression(a)&&kx(a.parent,1048576),i;for(var f=l,g=n,y=t,h=f.elements,E=(b<2&&v.downlevelIteration&&kx(f,512),IT(193,g,tt,f)||Zn),T=v.noUncheckedIndexedAccess?void 0:E,S=0;S<h.length;S++){var L=E;qb(f,g,S,L=223===f.elements[S].kind?T=null!=T?T:IT(65,g,tt,f)||Zn:L,y)}return g}function Yb(e,n){return 0!=(98304&n.flags)||bm(e,n)}function Qb(e,t,r,a,i,o){var s,c,l,d=t.kind;switch(d){case 41:case 42:case 66:case 67:case 43:case 68:case 44:case 69:case 40:case 65:case 47:case 70:case 48:case 71:case 49:case 72:case 51:case 74:case 52:case 78:case 50:case 73:if(a===vt||i===vt)return vt;a=Ch(a,e),i=Ch(i,r);var u=void 0;if(528&a.flags&&528&i.flags&&void 0!==(u=(e=>{switch(e){case 51:case 74:return 56;case 52:case 78:return 37;case 50:case 73:return 55;default:return}})(t.kind)))return fa(o||t,wn.Diagnostics.The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead,wn.tokenToString(t.kind),wn.tokenToString(u)),lt;u=wb(e,a,wn.Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,!0);var p,m=wb(r,i,wn.Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,!0);if(Kb(a,3)&&Kb(i,3)||!jb(a,2112)&&!jb(i,2112))p=lt;else if(A(a,i)){switch(d){case 49:case 72:k();break;case 42:case 67:b<3&&fa(o,wn.Diagnostics.Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later)}p=dt}else k(A),p=Zn;return u&&m&&I(p),p;case 39:case 64:if(a===vt||i===vt)return vt;if(Kb(a,402653316)||Kb(i,402653316)||(a=Ch(a,e),i=Ch(i,r)),u=void 0,Kb(a,296,!0)&&Kb(i,296,!0)?u=lt:Kb(a,2112,!0)&&Kb(i,2112,!0)?u=dt:Kb(a,402653316,!0)||Kb(i,402653316,!0)?u=ct:(Io(a)||Io(i))&&(u=a===Zn||i===Zn?Zn:Xn),!u||C(d)){if(!u)return k((function(e,n){return Kb(e,402655727)&&Kb(n,402655727)})),Xn;64===d&&I(u)}return u;case 29:case 31:case 32:case 33:return C(d)&&(a=S_(Ch(a,e)),i=S_(Ch(i,r)),N((function(e,n){return bm(e,n)||bm(n,e)||hm(e,At)&&hm(n,At)}))),ft;case 34:case 35:case 36:case 37:return N((function(e,n){return Yb(e,n)||Yb(n,e)})),ft;case 102:return m=e,p=r,u=i,(l=a)===vt||u===vt?vt:(!Io(l)&&Hb(l,131068)&&fa(m,wn.Diagnostics.The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter),Io(u)||XS(u)||ym(u,Re)||fa(p,wn.Diagnostics.The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type),ft);case 101:return l=e,g=r,_=i,(f=a)===vt||_===vt?vt:(f=Ch(f,l),_=Ch(_,g),Hb(f,402665900)||Kb(f,407109632)||fa(l,wn.Diagnostics.The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol),f=Jc(_),Hb(_,126091264)&&(!f||(!Kb(_,3145728)||Hb(f,126091264))&&jb(f,126615552))||fa(g,wn.Diagnostics.The_right_hand_side_of_an_in_expression_must_not_be_a_primitive),ft);case 55:case 76:var _=4194304&tg(a)?gu([Sg(x?a:S_(i),F_),i]):a;return 76===d&&I(i),_;case 56:case 75:var f=8388608&tg(a)?gu([M_(a),i],2):a;return 75===d&&I(i),f;case 60:case 77:var g=262144&tg(a)?gu([U_(a),i],2):a;return 77===d&&I(i),g;case 63:var y=wn.isBinaryExpression(e.parent)?wn.getAssignmentDeclarationKind(e.parent):0,h=i;if(2===y)for(var E=0,T=Kc(h);E<T.length;E++){var S,L=T[E],D=hs(L);D.symbol&&32&D.symbol.flags&&(D=L.escapedName,null!=(S=Ma(L.valueDeclaration,D,788968,void 0,D,!1)))&&S.declarations&&S.declarations.some(wn.isJSDocTypedefTag)&&(Da(S,wn.Diagnostics.Duplicate_identifier_0,wn.unescapeLeadingUnderscores(D),L),Da(L,wn.Diagnostics.Duplicate_identifier_0,wn.unescapeLeadingUnderscores(D),S))}return(n=>{switch(n){case 2:return 1;case 1:case 5:case 6:case 3:case 4:var t=Ii(e),a=wn.getAssignedExpandoInitializer(r);return a&&wn.isObjectLiteralExpression(a)&&null!=(a=null==t?void 0:t.exports)&&a.size;default:return}})(y)?(524288&i.flags&&(2===y||6===y||Pm(i)||ng(i)||1&wn.getObjectFlags(i))||I(i),a):(I(i),Y_(i));case 27:return v.allowUnreachableCode||!function e(n){switch((n=wn.skipParentheses(n)).kind){case 79:case 10:case 13:case 208:case 221:case 14:case 8:case 9:case 110:case 95:case 104:case 151:case 211:case 224:case 212:case 202:case 203:case 214:case 228:case 277:case 276:return!0;case 220:return e(n.whenTrue)&&e(n.whenFalse);case 219:return!wn.isAssignmentOperator(n.operatorToken.kind)&&e(n.left)&&e(n.right);case 217:case 218:switch(n.operator){case 53:case 39:case 40:case 54:return!0}return!1;default:return!1}}(e)||79===(h=r).kind&&"eval"===h.escapedText||(s=(y=wn.getSourceFileOfNode(e)).text,c=wn.skipTrivia(s,e.pos),y.parseDiagnostics.some((function(e){return e.code===wn.Diagnostics.JSX_expressions_must_have_one_parent_element.code&&wn.textSpanContainsPosition(e,c)})))||fa(e,wn.Diagnostics.Left_side_of_comma_operator_is_unused_and_has_no_side_effects),i;default:return wn.Debug.fail()}function A(e,n){return Kb(e,2112)&&Kb(n,2112)}function C(n){var t=jb(a,12288)?e:jb(i,12288)?r:void 0;if(!t)return 1;fa(t,wn.Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol,wn.tokenToString(n))}function I(t){n&&wn.isAssignmentOperator(d)&&(!Bb(e,wn.Diagnostics.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access,wn.Diagnostics.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access)||wn.isIdentifier(e)&&"exports"===wn.unescapeLeadingUnderscores(e.escapedText)||Sm(t,a,e,r))}function N(e){e(a,i)||k(e)}function k(e){var n=!1,r=o||t,s=(e&&(s=VE(a),c=VE(i),n=!(s===a&&c===i)&&!(!s||!c)&&e(s,c)),a),c=i;!n&&e&&(s=(e=((e,n,t)=>{var r=e,a=n;e=S_(e),n=S_(n);return t(e,n)||(r=e,a=n),[r,a]})(a,i,e))[0],c=e[1]),e=uo(s,c),s=e[0],c=e[1];((e,n,r,a)=>{var i;switch(t.kind){case 36:case 34:i="false";break;case 37:case 35:i="true"}return i&&ha(e,n,wn.Diagnostics.This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap,i,r,a)})(r,n,s,c)||ha(r,n,wn.Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2,wn.tokenToString(t.kind),s,c)}}function Zb(e){for(var n=[e.head.text],t=[],r=0,a=e.templateSpans;r<a.length;r++){var i=a[r],o=yE(i.expression);jb(o,12288)&&fa(i.expression,wn.Diagnostics.Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String),n.push(i.literal.text),t.push(hm(o,Ct)?o:ct)}return iE(e)||function e(n){var t=n.parent;return wn.isParenthesizedExpression(t)&&e(t)||wn.isElementAccessExpression(t)&&t.argumentExpression===n}(e)||vg(ky(e)||nt,$b)?Ou(n,t):ct}function $b(e){return!!(134217856&e.flags||58982400&e.flags&&jb($c(e)||nt,402653316))}function eE(e,n,t,r){var a=284!==(a=e).kind||wn.isJsxSelfClosingElement(a.parent)?a:a.parent.parent,i=a.contextualType,o=a.inferenceContext;try{a.contextualType=n;var s=yE(e,1|r|((a.inferenceContext=t)?2:0));return jb(s,2944)&&aE(s,Iy(n,e))?xp(s):s}finally{a.contextualType=i,a.inferenceContext=o}}function nE(e,n){var t=ka(e);if(!t.resolvedType){if(n&&0!==n)return yE(e,n);var r=ir,a=vn;ir=or,vn=void 0,t.resolvedType=yE(e,n),vn=a,ir=r}return t.resolvedType}function tE(e,n){var t=wn.getEffectiveInitializer(e);n=fE(t)||(n?eE(t,n,void 0,0):nE(t));if(wn.isParameter(e)&&200===e.name.kind&&C_(n)&&!n.target.hasRestElement&&hd(n)<e.name.elements.length){t=n;for(var r=e.name.elements,a=yd(t).slice(),i=t.target.elementFlags.slice(),o=hd(t);o<r.length;o++){var s=r[o];(o<r.length-1||201!==s.kind||!s.dotDotDotToken)&&(a.push(!wn.isOmittedExpression(s)&&Uy(s)?Zo(s,!1,!1):Xn),i.push(2),wn.isOmittedExpression(s)||Uy(s)||tf(s,Xn))}return tu(a,i,t.target.readonly)}return n}function rE(e,n){if(n=2&wn.getCombinedNodeFlags(e)||wn.isDeclarationReadonly(e)?n:x_(n),wn.isInJSFile(e)){if(f_(n))return tf(e,Xn),Xn;if(g_(n))return tf(e,je),je}return n}function aE(e,n){var t;return!!n&&(3145728&n.flags?(t=n.types,wn.some(t,(function(n){return aE(e,n)}))):58982400&n.flags?jb(t=$c(n)||nt,4)&&jb(e,128)||jb(t,8)&&jb(e,256)||jb(t,64)&&jb(e,2048)||jb(t,4096)&&jb(e,8192)||aE(e,t):!!(406847616&n.flags&&jb(e,128)||256&n.flags&&jb(e,256)||2048&n.flags&&jb(e,2048)||512&n.flags&&jb(e,512)||8192&n.flags&&jb(e,8192)))}function iE(e){return e=e.parent,wn.isAssertionExpression(e)&&wn.isConstTypeReference(e.type)||(wn.isParenthesizedExpression(e)||wn.isArrayLiteralExpression(e)||wn.isSpreadElement(e))&&iE(e)||(wn.isPropertyAssignment(e)||wn.isShorthandPropertyAssignment(e)||wn.isTemplateSpan(e))&&iE(e.parent)}function oE(e,n,t,r){return n=yE(e,n,r),iE(e)?xp(n):(r=e,209===(r=wn.skipParentheses(r)).kind||227===r.kind?n:D_(n,Iy(2===arguments.length?ky(e):t,e)))}function sE(e,n){return 160===e.name.kind&&Wy(e.name),oE(e.initializer,n)}function cE(e,n){return Xx(e),160===e.name.kind&&Wy(e.name),lE(e,Pb(e,n),n)}function lE(e,n,t){if(t&&10&t){var r=pv(n,0,!0),a=pv(n,1,!0);a=r||a;if(a&&a.typeParameters){var i=Cy(e,2);if(i&&(i=pv(U_(i),r?0:1,!1),i&&!i.typeParameters)){if(8&t)return dE(e,t),Mt;if(r=Ry(e),t=r.signature&&zl(r.signature),e=t&&uv(t),e&&!e.typeParameters&&!wn.every(r.inferences,uE)){t=((e,n)=>{for(var t,r,a=[],i=0,o=n;i<o.length;i++){var s=(c=o[i]).symbol.escapedName;pE(e.inferredTypeParameters,s)||pE(a,s)?((s=ji(Ea(262144,((e,n)=>{for(var t=n.length;1<t&&48<=n.charCodeAt(t-1)&&n.charCodeAt(t-1)<=57;)t--;for(var r=n.slice(0,t),a=1;;a++){var i=r+a;if(!pE(e,i))return i}})(wn.concatenate(e.inferredTypeParameters,a),s)))).target=c,t=wn.append(t,c),r=wn.append(r,s),a.push(s)):a.push(c)}if(r)for(var c,l=Bp(t,r),d=0,u=r;d<u.length;d++)(c=u[d]).mapper=l;return a})(r,a.typeParameters),e=Ql(a,t);var o=wn.map(r.inferences,(function(e){return uf(e.typeParameter)}));if(af(e,i,(function(e,n){Cf(o,e,n,0,!0)})),wn.some(o,uE)&&(of(e,i,(function(e,n){Cf(o,e,n)})),!((e,n)=>{for(var t=0;t<e.length;t++)if(uE(e[t])&&uE(n[t]))return 1})(r.inferences,o))){for(var s=r.inferences,c=o,l=0;l<s.length;l++)!uE(s[l])&&uE(c[l])&&(s[l]=c[l]);return r.inferredTypeParameters=wn.concatenate(r.inferredTypeParameters,t),nd(e)}}return nd(mv(a,i,r))}}}return n}function dE(e,n){2&n&&(Ry(e).flags|=4)}function uE(e){return!(!e.candidates&&!e.contraCandidates)}function pE(e,n){return wn.some(e,(function(e){return e.symbol.escapedName===n}))}function mE(e){if(e=dv(e),e&&!e.typeParameters)return zl(e)}function _E(e){var n=fE(e);if(n)return n;if(67108864&e.flags&&vn&&(n=vn[tk(e)],n))return n;n=lr;var t=yE(e);return lr!==n&&(vn=vn||[],vn[tk(e)]=t,wn.setNodeFlags(e,67108864|e.flags)),t}function fE(e){var n,t,r=wn.skipParentheses(e);if(!wn.isCallExpression(r)||106===r.expression.kind||wn.isRequireCall(r,!0)||Yv(r)){if(wn.isAssertionExpression(r)&&!wn.isConstTypeReference(r.type))return Op(r.type);if(8===e.kind||10===e.kind||110===e.kind||95===e.kind)return yE(e)}else{var a=wn.isCallChain(r)?(n=yE((e=r).expression),t=H_(n,e.expression),(a=mE(n))&&K_(a,e,t!==n)):mE(Th(r.expression));if(a)return a}}function gE(e){var n=ka(e);if(n.contextFreeType)return n.contextFreeType;var t=e.contextualType;e.contextualType=Xn;try{return n.contextFreeType=yE(e,4)}finally{e.contextualType=t}}function yE(e,r,a){null!=wn.tracing&&wn.tracing.push("check","checkExpression",{kind:e.kind,pos:e.pos,end:e.end});var o=i;f=0,a=((e,r,a)=>{var i=e.kind;if(t)switch(i){case 224:case 211:case 212:t.throwIfCancellationRequested()}switch(i){case 79:return $g(e,r);case 108:return iy(e);case 106:return cy(e);case 104:return st;case 14:case 10:return Sp(Dp(e.text));case 8:return iL(e),Sp(Ap(+e.text));case 9:return(e=>{!(wn.isLiteralTypeNode(e.parent)||wn.isPrefixUnaryExpression(e.parent)&&wn.isLiteralTypeNode(e.parent.parent))&&b<7&&rL(e,wn.Diagnostics.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020)})(e),Sp(Cp({negative:!1,base10Value:wn.parsePseudoBigInt(e.text)}));case 110:return mt;case 95:return ut;case 221:return Zb(e);case 13:return Ue;case 202:return Vy(e,r,a);case 203:return Xy(e,r);case 204:return Nh(e,r);case 159:return kh(e,r);case 205:return $h(e,r);case 206:if(100===e.expression.kind)return Qv(e);case 207:return((e,n)=>{if(Gx(e,e.typeArguments)||Bx(e.arguments),(n=Hv(e,void 0,n))===zt)return bt;if(qv(n,e),106===e.expression.kind)return yt;if(207===e.kind){var t=n.declaration;if(t&&169!==t.kind&&173!==t.kind&&178!==t.kind&&!wn.isJSDocConstructSignature(t)&&!Wv(t))return C&&fa(e,wn.Diagnostics.new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type),Xn}return wn.isInJSFile(e)&&$v(e)?jl(e.arguments[0]):12288&(t=zl(n)).flags&&Yv(e)?Ip(wn.walkUpParenthesizedExpressions(e.parent)):(206===e.kind&&!e.questionDotToken&&236===e.parent.kind&&16384&t.flags&&Hl(n)&&(wn.isDottedName(e.expression)?Bg(e)||(n=fa(e.expression,wn.Diagnostics.Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation),Gg(e.expression,n)):fa(e.expression,wn.Diagnostics.Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name)),wn.isInJSFile(e)&&(n=Jv(e,!1),null!=(e=null==n?void 0:n.exports)&&e.size)?((e=zi(n,n.exports,wn.emptyArray,wn.emptyArray,wn.emptyArray)).objectFlags|=8192,Tu([t,e])):t)})(e,r);case 208:return eb(e);case 210:return((e,n)=>{var t=wn.isInJSFile(e)?wn.getJSDocTypeTag(e):void 0;return t?nb(t.typeExpression.type,t.typeExpression.type,e.expression,n):yE(e.expression,n)})(e,r);case 224:return(e=>(sS(e),NS(e),hs(Ii(e))))(e);case 211:case 212:return Pb(e,r);case 214:return(e=>(yE(e.expression),Fr))(e);case 209:case 227:return(e=>nb(e,e.type,e.expression))(e);case 228:return tb(e);case 229:return rb(e);case 213:return Ub(e);case 215:return(e=>(yE(e.expression),rt))(e);case 216:return(e=>{n&&((i=wn.getContainingFunctionOrClassStaticBlock(e))&&wn.isClassStaticBlockDeclaration(i)?fa(e,wn.Diagnostics.Await_expression_cannot_be_used_inside_a_class_static_block):32768&e.flags||(wn.isInTopLevelContext(e)?!$x(r=wn.getSourceFileOfNode(e))&&(a=void 0,wn.isEffectiveExternalModule(r,v)||(a=a||wn.getSpanOfTokenAtPosition(r,e.pos),t=wn.createFileDiagnostic(r,a.start,a.length,wn.Diagnostics.await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module),Pr.add(t)),E!==wn.ModuleKind.ESNext&&E!==wn.ModuleKind.System||b<4)&&(a=wn.getSpanOfTokenAtPosition(r,e.pos),t=wn.createFileDiagnostic(r,a.start,a.length,wn.Diagnostics.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),Pr.add(t)):$x(r=wn.getSourceFileOfNode(e))||(a=wn.getSpanOfTokenAtPosition(r,e.pos),t=wn.createFileDiagnostic(r,a.start,a.length,wn.Diagnostics.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules),i&&169!==i.kind&&0==(2&wn.getFunctionFlags(i))&&(r=wn.createDiagnosticForNode(i,wn.Diagnostics.Did_you_mean_to_mark_this_function_as_async),wn.addRelatedInfo(t,r)),Pr.add(t))),my(e))&&fa(e,wn.Diagnostics.await_expressions_cannot_be_used_in_a_parameter_initializer);var t,r,a=yE(e.expression),i=UE(a,e,wn.Diagnostics.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);return i!==a||i===Zn||3&a.flags||ga(!1,wn.createDiagnosticForNode(e,wn.Diagnostics.await_has_no_effect_on_the_type_of_this_expression)),i})(e);case 217:return(e=>{var n=yE(e.operand);if(n===vt)return vt;switch(e.operand.kind){case 8:switch(e.operator){case 40:return Sp(Ap(-e.operand.text));case 39:return Sp(Ap(+e.operand.text))}break;case 9:if(40===e.operator)return Sp(Cp({negative:!0,base10Value:wn.parsePseudoBigInt(e.operand.text)}))}switch(e.operator){case 39:case 40:case 54:return Ch(n,e.operand),jb(n,12288)&&fa(e.operand,wn.Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol,wn.tokenToString(e.operator)),39===e.operator?(jb(n,2112)&&fa(e.operand,wn.Diagnostics.Operator_0_cannot_be_applied_to_type_1,wn.tokenToString(e.operator),lo(S_(n))),lt):Vb(n);case 53:LT(e.operand);var t=12582912&tg(n);return 4194304==t?ut:8388608==t?mt:ft;case 45:case 46:return wb(e.operand,Ch(n,e.operand),wn.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&Bb(e.operand,wn.Diagnostics.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,wn.Diagnostics.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),Vb(n)}return Zn})(e);case 218:return(e=>{var n=yE(e.operand);return n===vt?vt:(wb(e.operand,Ch(n,e.operand),wn.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&Bb(e.operand,wn.Diagnostics.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,wn.Diagnostics.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),Vb(n))})(e);case 219:return P(e,r);case 220:return((e,n)=>{var t=LT(e.condition);return ST(e.condition,t,e.whenTrue),gu([yE(e.whenTrue,n),yE(e.whenFalse,n)],2)})(e,r);case 223:return((e,n)=>(b<2&&kx(e,v.downlevelIteration?1536:1024),IT(33,yE(e.expression,n),tt,e.expression)))(e,r);case 225:return rt;case 222:return(e=>{n&&(8192&e.flags||eL(e,wn.Diagnostics.A_yield_expression_is_only_allowed_in_a_generator_body),my(e))&&fa(e,wn.Diagnostics.yield_expressions_cannot_be_used_in_a_parameter_initializer);var t,r,a,i,o,s=wn.getContainingFunction(e);return s&&1&(t=wn.getFunctionFlags(s))?(t=0!=(2&t),e.asteriskToken&&(t&&b<99&&kx(e,26624),!t)&&b<2&&v.downlevelIteration&&kx(e,256),i=(o=(r=Jl(s))&&QT(r,t))&&o.yieldType||Xn,o=o&&o.nextType||Xn,o=t?VE(o)||Xn:o,o=Cb(e,a=e.expression?yE(e.expression):rt,o,t),r&&o&&Sm(o,i,e.expression||e,e.expression),e.asteriskToken?kT(t?19:17,1,a,e.expression)||Xn:r?YT(2,r,t)||Xn:((o=_y(2,s))||(o=Xn,!n)||!C||wn.expressionResultIsUnused(e)||(i=ky(e))&&!Io(i)||fa(e,wn.Diagnostics.yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation),o)):Xn})(e);case 230:return(e=>e.isSpread?Zu(e.type,lt):e.type)(e);case 286:return yh(e,r);case 276:return(e=>(NS(e),ph(e)||Xn))(e);case 277:return(e=>(NS(e),ph(e)||Xn))(e);case 280:return(e=>{_h(e.openingFragment);var n=wn.getSourceFileOfNode(e);return!wn.getJSXTransformEnabled(v)||!v.jsxFactory&&!n.pragmas.has("jsx")||v.jsxFragmentFactory||n.pragmas.has("jsxfrag")||fa(e,v.jsxFactory?wn.Diagnostics.The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:wn.Diagnostics.An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments),eh(e),ph(e)||Xn})(e);case 284:return th(e,r);case 278:wn.Debug.fail("Shouldn't ever directly check a JsxOpeningElement")}return Zn})(i=e,r,a),a=lE(e,a,r);return Wb(a)&&(r=a,204===(e=e).parent.kind&&e.parent.expression===e||205===e.parent.kind&&e.parent.expression===e||(79===e.kind||159===e.kind)&&VS(e)||179===e.parent.kind&&e.parent.exprName===e||273===e.parent.kind||fa(e,wn.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),v.isolatedModules)&&(wn.Debug.assert(!!(128&r.symbol.flags)),8388608&r.symbol.valueDeclaration.flags)&&fa(e,wn.Diagnostics.Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided),i=o,null!=wn.tracing&&wn.tracing.pop(),a}function hE(e){e.expression&&eL(e.expression,wn.Diagnostics.Type_expected),CS(e.constraint),CS(e.default);var t=Ks(Ii(e)),r=($c(t),rl(t)===Gt&&fa(e.default,wn.Diagnostics.Type_parameter_0_has_a_circular_default,lo(t)),qc(t)),a=al(t);r&&a&&Tm(a,dc(am(r,Vp(t,a)),a),e.default,wn.Diagnostics.Type_0_does_not_satisfy_the_constraint_1),n&&aS(e.name,wn.Diagnostics.Type_parameter_name_cannot_be_0)}function vE(e){Rx(e),yT(e);var n=wn.getContainingFunction(e);wn.hasSyntacticModifier(e,16476)&&(169===n.kind&&wn.nodeIsPresent(n.body)||fa(e,wn.Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation),169===n.kind)&&wn.isIdentifier(e.name)&&"constructor"===e.name.escapedText&&fa(e.name,wn.Diagnostics.constructor_cannot_be_used_as_a_parameter_property_name),e.questionToken&&wn.isBindingPattern(e.name)&&n.body&&fa(e,wn.Diagnostics.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature),e.name&&wn.isIdentifier(e.name)&&("this"===e.name.escapedText||"new"===e.name.escapedText)&&(0!==n.parameters.indexOf(e)&&fa(e,wn.Diagnostics.A_0_parameter_must_be_the_first_parameter,e.name.escapedText),169!==n.kind&&173!==n.kind&&178!==n.kind||fa(e,wn.Diagnostics.A_constructor_cannot_have_a_this_parameter),212===n.kind&&fa(e,wn.Diagnostics.An_arrow_function_cannot_have_a_this_parameter),170!==n.kind&&171!==n.kind||fa(e,wn.Diagnostics.get_and_set_accessors_cannot_declare_this_parameters)),!e.dotDotDotToken||wn.isBindingPattern(e.name)||hm(ul(hs(e.symbol)),He)||fa(e,wn.Diagnostics.A_rest_parameter_must_be_of_an_array_type)}function bE(e){var n=(e=>{switch(e.parent.kind){case 212:case 172:case 254:case 211:case 177:case 167:case 166:var n=e.parent;if(e===n.type)return n}})(e);if(n){var t=Gl(n),r=Hl(t);if(r){CS(e.type);var a=e.parameterName;if(0===r.kind||2===r.kind)Np(a);else if(0<=r.parameterIndex)ck(t)&&r.parameterIndex===t.parameters.length-1?fa(a,wn.Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter):r.type&&Tm(r.type,hs(t.parameters[r.parameterIndex]),e.type,void 0,(function(){return wn.chainDiagnosticMessages(void 0,wn.Diagnostics.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type)}));else if(a){for(var i=!1,o=0,s=n.parameters;o<s.length;o++){var c=s[o].name;if(wn.isBindingPattern(c)&&function e(n,t,r){for(var a=0,i=n.elements;a<i.length;a++){var o=i[a];if(!wn.isOmittedExpression(o)){if(o=o.name,79===o.kind&&o.escapedText===r)return fa(t,wn.Diagnostics.A_type_predicate_cannot_reference_element_0_in_a_binding_pattern,r),!0;if((200===o.kind||199===o.kind)&&e(o,t,r))return!0}}}(c,a,r.parameterName)){i=!0;break}}i||fa(e.parameterName,wn.Diagnostics.Cannot_find_parameter_0,r.parameterName)}}}else fa(e,wn.Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods)}function EE(e){if(174===e.kind){if(!Rx(r=e)){var t=r.parameters[0];1!==r.parameters.length?rL(t?t.name:r,wn.Diagnostics.An_index_signature_must_have_exactly_one_parameter):(Px(r.parameters,wn.Diagnostics.An_index_signature_cannot_have_a_trailing_comma),t.dotDotDotToken?rL(t.dotDotDotToken,wn.Diagnostics.An_index_signature_cannot_have_a_rest_parameter):wn.hasEffectiveModifiers(t)?rL(t.name,wn.Diagnostics.An_index_signature_parameter_cannot_have_an_accessibility_modifier):t.questionToken?rL(t.questionToken,wn.Diagnostics.An_index_signature_parameter_cannot_have_a_question_mark):t.initializer?rL(t.name,wn.Diagnostics.An_index_signature_parameter_cannot_have_an_initializer):t.type?vg(a=Op(t.type),(function(e){return!!(8576&e.flags)}))||Ku(a)?rL(t.name,wn.Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead):bg(a,sd)?r.type||rL(r,wn.Diagnostics.An_index_signature_must_have_a_type_annotation):rL(t.name,wn.Diagnostics.An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type):rL(t.name,wn.Diagnostics.An_index_signature_parameter_must_have_a_type_annotation))}}else 177!==e.kind&&254!==e.kind&&178!==e.kind&&172!==e.kind&&169!==e.kind&&173!==e.kind||Fx(e);var r,a=wn.getFunctionFlags(e);if(4&a||(3==(3&a)&&b<99&&kx(e,6144),2==(3&a)&&b<4&&kx(e,64),0!=(3&a)&&b<2&&kx(e,128)),iS(e.typeParameters),wn.forEach(e.parameters,vE),e.type&&CS(e.type),n){r=e,2<=b||!wn.hasRestParameter(r)||8388608&r.flags||wn.nodeIsMissing(r.body)||wn.forEach(r.parameters,(function(e){e.name&&!wn.isBindingPattern(e.name)&&e.name.escapedText===Se.escapedName&&ma("noEmit",e,wn.Diagnostics.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)}));var i,o,s;t=wn.getEffectiveReturnTypeNode(e);if(C&&!t)switch(e.kind){case 173:fa(e,wn.Diagnostics.Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);break;case 172:fa(e,wn.Diagnostics.Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type)}t&&(1==(5&(i=wn.getFunctionFlags(e)))?(o=Op(t))===yt?fa(t,wn.Diagnostics.A_generator_cannot_have_a_void_type_annotation):Tm(Ab(s=YT(0,o,0!=(2&i))||Xn,YT(1,o,0!=(2&i))||s,YT(2,o,0!=(2&i))||nt,!!(2&i)),o,t):2==(3&i)&&((e,n)=>{var t=Op(n);if(2<=b){if(t===Zn)return;var r=jd(!0);if(r!==wt&&!bs(t,r))return fa(n,wn.Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0,lo(VE(t)||yt))}else{if((e=>{HE(e&&wn.getEntityNameFromTypeNode(e))})(n),t===Zn)return;if(r=wn.getEntityNameFromTypeNode(n),void 0===r)return fa(n,wn.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,lo(t));var a=pi(r,111551,!0);a=a?hs(a):Zn;if(a===Zn)return 79===r.kind&&"Promise"===r.escapedText&&Es(t)===jd(!1)?fa(n,wn.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):fa(n,wn.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,wn.entityNameToString(r));var i=($e=$e||Gd("PromiseConstructorLike",0,!0))||kt;if(i===kt)return fa(n,wn.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,wn.entityNameToString(r));if(!Tm(a,i,n,wn.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;if(a=r&&wn.getFirstIdentifier(r),i=Oa(e.locals,a.escapedText,111551),i)return fa(i.valueDeclaration,wn.Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,wn.idText(a),wn.entityNameToString(r))}UE(t,e,wn.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)})(e,t)),174!==e.kind&&312!==e.kind&&ZE(e)}}function TE(e){for(var n=new wn.Map,t=0,r=e.members;t<r.length;t++){var a=r[t];if(164===a.kind){var i=void 0,o=a.name;switch(o.kind){case 10:case 8:i=o.text;break;case 79:i=wn.idText(o);break;default:continue}n.get(i)?(fa(wn.getNameOfDeclaration(a.symbol.valueDeclaration),wn.Diagnostics.Duplicate_identifier_0,i),fa(a.name,wn.Diagnostics.Duplicate_identifier_0,i)):n.set(i,!0)}}}function SE(e){if(256===e.kind){var n=Ii(e);if(n.declarations&&0<n.declarations.length&&n.declarations[0]!==e)return}if(n=td(Ii(e)),null!=n&&n.declarations){for(var t=new wn.Map,r=0,a=n.declarations;r<a.length;r++)(e=>{1===e.parameters.length&&e.parameters[0].type&&hg(Op(e.parameters[0].type),(function(n){var r=t.get(n.id);r?r.declarations.push(e):t.set(n.id,{type:n,declarations:[e]})}))})(a[r]);t.forEach((function(e){if(1<e.declarations.length)for(var n=0,t=e.declarations;n<t.length;n++)fa(t[n],wn.Diagnostics.Duplicate_index_signature_for_type_0,lo(e.type))}))}}function xE(e){Rx(e)||(e=>{if(wn.isClassLike(e.parent)){if(wn.isStringLiteral(e.name)&&"constructor"===e.name.text)return rL(e.name,wn.Diagnostics.Classes_may_not_have_a_field_named_constructor);if(qx(e.name,wn.Diagnostics.A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type))return 1;if(b<2&&wn.isPrivateIdentifier(e.name))return rL(e.name,wn.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher)}else if(256===e.parent.kind){if(qx(e.name,wn.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 1;if(e.initializer)return rL(e.initializer,wn.Diagnostics.An_interface_property_cannot_have_an_initializer)}else if(180===e.parent.kind){if(qx(e.name,wn.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 1;if(e.initializer)return rL(e.initializer,wn.Diagnostics.A_type_literal_property_cannot_have_an_initializer)}var n;if(8388608&e.flags&&Qx(e),wn.isPropertyDeclaration(e)&&e.exclamationToken&&(!wn.isClassLike(e.parent)||!e.type||e.initializer||8388608&e.flags||wn.isStatic(e)||wn.hasAbstractModifier(e)))return n=e.initializer?wn.Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:e.type?wn.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context:wn.Diagnostics.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations,rL(e.exclamationToken,n)})(e)||jx(e.name),yT(e),LE(e),wn.isPrivateIdentifier(e.name)&&wn.hasStaticModifier(e)&&e.initializer&&99===b&&!v.useDefineForClassFields&&fa(e.initializer,wn.Diagnostics.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),wn.hasSyntacticModifier(e,128)&&165===e.kind&&e.initializer&&fa(e,wn.Diagnostics.Property_0_cannot_have_an_initializer_because_it_is_marked_abstract,wn.declarationNameToString(e.name))}function LE(e){if(wn.isPrivateIdentifier(e.name)&&b<99){for(var n,t=wn.getEnclosingBlockScopeContainer(e);t;t=wn.getEnclosingBlockScopeContainer(t))ka(t).flags|=67108864;wn.isClassExpression(e.parent)&&(n=ey(e.parent))&&(ka(e.name).flags|=524288,ka(n).flags|=65536)}}function DE(e){if(EE(e),!(e=>{var n,t=wn.isInJSFile(e)?wn.getJSDocTypeParameterDeclarations(e):void 0;if(t=e.typeParameters||t&&wn.firstOrUndefined(t))return n=t.pos===t.end?t.pos:wn.skipTrivia(wn.getSourceFileOfNode(e).text,t.pos),nL(e,n,t.end-n,wn.Diagnostics.Type_parameters_cannot_appear_on_a_constructor_declaration)})(e)){var t=e;(t=wn.getEffectiveReturnTypeNode(t))&&rL(t,wn.Diagnostics.Type_annotation_cannot_appear_on_a_constructor_declaration)}CS(e.body);t=Ii(e);var r=wn.getDeclarationOfKind(t,e.kind);if(e===r&&ME(t),!wn.nodeIsMissing(e.body)&&n&&(r=e.parent,wn.getClassExtendsHeritageElement(r))){ny(e.parent,r);r=ry(r);var a=ty(e.body);if(a){if(r&&fa(a,wn.Diagnostics.A_constructor_cannot_contain_a_super_call_when_its_class_extends_null),(99!==v.target||!T)&&(wn.some(e.parent.members,(function(e){return!!wn.isPrivateIdentifierClassElementDeclaration(e)||165===e.kind&&!wn.isStatic(e)&&!!e.initializer}))||wn.some(e.parameters,(function(e){return wn.hasSyntacticModifier(e,16476)})))){for(var i=void 0,o=0,s=e.body.statements;o<s.length;o++){var c=s[o];if(236===c.kind&&wn.isSuperCall(c.expression)){i=c;break}if(!wn.isPrologueDirective(c))break}i||fa(e,wn.Diagnostics.A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_properties_parameter_properties_or_private_identifiers)}}else r||fa(e,wn.Diagnostics.Constructors_for_derived_classes_must_contain_a_super_call)}}function AE(e){var t,r,a,i;n&&(Fx(e)||(e=>{if(!(8388608&e.flags)&&180!==e.parent.kind&&256!==e.parent.kind){if(b<1)return rL(e.name,wn.Diagnostics.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher);if(b<2&&wn.isPrivateIdentifier(e.name))return rL(e.name,wn.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(void 0===e.body&&!wn.hasSyntacticModifier(e,128))return nL(e,e.end-1,";".length,wn.Diagnostics._0_expected,"{")}if(e.body){if(wn.hasSyntacticModifier(e,128))return rL(e,wn.Diagnostics.An_abstract_accessor_cannot_have_an_implementation);if(180===e.parent.kind||256===e.parent.kind)return rL(e.body,wn.Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts)}if(e.typeParameters)return rL(e.name,wn.Diagnostics.An_accessor_cannot_have_type_parameters);if(!(e=>Jx(e)||e.parameters.length===(170===e.kind?0:1))(e))return rL(e.name,170===e.kind?wn.Diagnostics.A_get_accessor_cannot_have_parameters:wn.Diagnostics.A_set_accessor_must_have_exactly_one_parameter);if(171===e.kind){if(e.type)return rL(e.name,wn.Diagnostics.A_set_accessor_cannot_have_a_return_type_annotation);var n=wn.Debug.checkDefined(wn.getSetAccessorValueParameter(e),"Return value does not match parameter count assertion.");if(n.dotDotDotToken)return rL(n.dotDotDotToken,wn.Diagnostics.A_set_accessor_cannot_have_rest_parameter);if(n.questionToken)return rL(n.questionToken,wn.Diagnostics.A_set_accessor_cannot_have_an_optional_parameter);if(n.initializer)return rL(e.name,wn.Diagnostics.A_set_accessor_parameter_cannot_have_an_initializer)}})(e)||jx(e.name),XE(e),EE(e),170!==e.kind||8388608&e.flags||!wn.nodeIsPresent(e.body)||!(256&e.flags)||512&e.flags||fa(e.name,wn.Diagnostics.A_get_accessor_must_return_a_value),160===e.name.kind&&Wy(e.name),ac(e)&&(i=Ii(e),t=wn.getDeclarationOfKind(i,170),i=wn.getDeclarationOfKind(i,171),!t||!i||1&_x(t)||(ka(t).flags|=1,(128&(r=wn.getEffectiveModifierFlags(t)))!=(128&(a=wn.getEffectiveModifierFlags(i)))&&(fa(t.name,wn.Diagnostics.Accessors_must_both_be_abstract_or_non_abstract),fa(i.name,wn.Diagnostics.Accessors_must_both_be_abstract_or_non_abstract)),(16&r&&!(24&a)||8&r&&!(8&a))&&(fa(t.name,wn.Diagnostics.A_get_accessor_must_be_at_least_as_accessible_as_the_setter),fa(i.name,wn.Diagnostics.A_get_accessor_must_be_at_least_as_accessible_as_the_setter)),r=cs(t),a=cs(i),r&&a&&Tm(r,a,t,wn.Diagnostics.The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type))),i=ls(Ii(e)),170===e.kind)&&Ob(e,i),CS(e.body),LE(e)}function CE(e,n){return Fl(wn.map(e.typeArguments,Op),n,Ml(n),wn.isInJSFile(e))}function IE(e,n){for(var t,r,a=!0,i=0;i<n.length;i++){var o=qc(n[i]);o&&(t||(r=Bp(n,t=CE(e,n))),a=a&&Tm(t[i],am(o,r),e.typeArguments[i],wn.Diagnostics.Type_0_does_not_satisfy_the_constraint_1))}return a}function NE(e){var n=kd(e);if(n!==Zn&&(e=ka(e).resolvedSymbol,e))return 524288&e.flags&&Na(e).typeParameters||(4&wn.getObjectFlags(n)?n.target.localTypeParameters:void 0)}function kE(e){Gx(e,e.typeArguments),176!==e.kind||void 0===e.typeName.jsdocDotPos||wn.isInJSFile(e)||wn.isInJSDoc(e)||nL(e,e.typeName.jsdocDotPos,1,wn.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments),wn.forEach(e.typeArguments,CS);var t,r=kd(e);r!==Zn&&(e.typeArguments&&n&&(t=NE(e))&&IE(e,t),t=ka(e).resolvedSymbol)&&(wn.some(t.declarations,(function(e){return FS(e)&&!!(134217728&e.flags)}))&&ba(Xv(e),t.declarations,t.escapedName),32&r.flags)&&8&t.flags&&fa(e,wn.Diagnostics.Enum_type_0_has_members_with_initializers_that_are_not_literals,lo(r))}function RE(e,n){if(!(8388608&e.flags))return e;var t=e.objectType,r=e.indexType;if(hm(r,ku(t,!1)))return 205===n.kind&&wn.isAssignmentTarget(n)&&32&wn.getObjectFlags(t)&&1&Gc(t)&&fa(n,wn.Diagnostics.Index_signature_in_type_0_only_permits_reading,lo(t)),e;var a=ol(t);if(xl(a,lt)&&Kb(r,296))return e;if(Hu(t)){var i=Fu(r,n);if(i&&(e=hg(a,(function(e){return gl(e,i)})),e&&24&wn.getDeclarationModifierFlagsFromSymbol(e)))return fa(n,wn.Diagnostics.Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter,wn.unescapeLeadingUnderscores(i)),Zn}return fa(n,wn.Diagnostics.Type_0_cannot_be_used_to_index_type_1,lo(r),lo(t)),Zn}function OE(e){(e=>{if(152===e.operator){if(149!==e.type.kind)return rL(e.type,wn.Diagnostics._0_expected,wn.tokenToString(149));var n=wn.walkUpParenthesizedTypes(e.parent);switch((n=wn.isInJSFile(n)&&wn.isJSDocTypeExpression(n)&&(n=n.parent,wn.isJSDocTypeTag(n))?n.parent.parent:n).kind){case 252:var t=n;if(79!==t.name.kind)return rL(e,wn.Diagnostics.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name);if(!wn.isVariableDeclarationInVariableStatement(t))return rL(e,wn.Diagnostics.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement);if(2&t.parent.flags)break;return rL(n.name,wn.Diagnostics.A_variable_whose_type_is_a_unique_symbol_type_must_be_const);case 165:if(wn.isStatic(n)&&wn.hasEffectiveReadonlyModifier(n))break;return rL(n.name,wn.Diagnostics.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly);case 164:if(wn.hasSyntacticModifier(n,64))break;return rL(n.name,wn.Diagnostics.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly);default:rL(e,wn.Diagnostics.unique_symbol_types_are_not_allowed_here)}}else 143===e.operator&&181!==e.type.kind&&182!==e.type.kind&&eL(e,wn.Diagnostics.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types,wn.tokenToString(149))})(e),CS(e.type)}function PE(e){return(wn.hasEffectiveModifier(e,8)||wn.isPrivateIdentifierClassElementDeclaration(e))&&!!(8388608&e.flags)}function wE(e,n){var t=wn.getCombinedModifierFlags(e);return 256!==e.parent.kind&&255!==e.parent.kind&&224!==e.parent.kind&&8388608&e.flags&&(2&t||wn.isModuleBlock(e.parent)&&wn.isModuleDeclaration(e.parent.parent)&&wn.isGlobalScopeAugmentation(e.parent.parent)||(t|=1),t|=2),t&n}function ME(e){if(n){var t,r,a,i,o,s,c,l,d,u=0,p=155,m=!1,_=!0,f=!1,g=e.declarations,y=0!=(16384&e.flags),h=!1,v=!1,b=!1,E=[];if(g)for(var T=0,S=g;T<S.length;T++){var x=S[T],L=8388608&x.flags,D=x.parent&&(256===x.parent.kind||180===x.parent.kind)||L;D&&(a=void 0),255!==x.kind&&224!==x.kind||L||(b=!0),254!==x.kind&&167!==x.kind&&166!==x.kind&&169!==x.kind||(E.push(x),u|=L=wE(x,155),p&=L,m=m||wn.hasQuestionToken(x),_=_&&wn.hasQuestionToken(x),(L=wn.nodeIsPresent(x.body))&&t?y?v=!0:h=!0:(null==a?void 0:a.parent)===x.parent&&a.end!==x.pos&&R(a),L?t=t||x:f=!0,a=x,D)||(r=x)}if(v&&wn.forEach(E,(function(e){fa(e,wn.Diagnostics.Multiple_constructor_implementations_are_not_allowed)})),h&&wn.forEach(E,(function(e){fa(wn.getNameOfDeclaration(e)||e,wn.Diagnostics.Duplicate_function_implementation)})),b&&!y&&16&e.flags&&g&&(i=wn.filter(g,(function(e){return 255===e.kind})).map((function(e){return wn.createDiagnosticForNode(e,wn.Diagnostics.Consider_adding_a_declare_modifier_to_this_class)})),wn.forEach(g,(function(n){var t=255===n.kind?wn.Diagnostics.Class_declaration_cannot_implement_overload_list_for_0:254===n.kind?wn.Diagnostics.Function_with_bodies_can_only_merge_with_classes_that_are_ambient:void 0;t&&wn.addRelatedInfo.apply(void 0,eu([fa(wn.getNameOfDeclaration(n)||n,t,wn.symbolName(e))],i,!1))}))),!r||r.body||wn.hasSyntacticModifier(r,128)||r.questionToken||R(r),f&&(g&&(s=g,c=t,l=155,0!=(u^p)&&(d=wE(k(s,c),l),wn.forEach(s,(function(e){var n=wE(e,l)^d;1&n?fa(wn.getNameOfDeclaration(e),wn.Diagnostics.Overload_signatures_must_all_be_exported_or_non_exported):2&n?fa(wn.getNameOfDeclaration(e),wn.Diagnostics.Overload_signatures_must_all_be_ambient_or_non_ambient):24&n?fa(wn.getNameOfDeclaration(e)||e,wn.Diagnostics.Overload_signatures_must_all_be_public_private_or_protected):128&n&&fa(wn.getNameOfDeclaration(e),wn.Diagnostics.Overload_signatures_must_all_be_abstract_or_non_abstract)}))),c=g,s=t,m!==_)&&(o=wn.hasQuestionToken(k(c,s)),wn.forEach(c,(function(e){wn.hasQuestionToken(e)!==o&&fa(wn.getNameOfDeclaration(e),wn.Diagnostics.Overload_signatures_must_all_be_optional_or_required)}))),t)){g=Vl(e);for(var A=Gl(t),C=0,I=g;C<I.length;C++){var N=I[C];if(!Rm(A,N)){wn.addRelatedInfo(fa(N.declaration,wn.Diagnostics.This_overload_signature_is_not_compatible_with_its_implementation_signature),wn.createDiagnosticForNode(t,wn.Diagnostics.The_implementation_signature_is_declared_here));break}}}}function k(e,n){return void 0!==n&&n.parent===e[0].parent?n:e[0]}function R(e){if(!e.name||!wn.nodeIsMissing(e.name)){var n=!1,t=wn.forEachChild(e.parent,(function(t){if(n)return t;n=t===e}));if(t&&t.pos===e.end&&t.kind===e.kind){var r=t.name||t,a=t.name;if(e.name&&a&&(wn.isPrivateIdentifier(e.name)&&wn.isPrivateIdentifier(a)&&e.name.escapedText===a.escapedText||wn.isComputedPropertyName(e.name)&&wn.isComputedPropertyName(a)||wn.isPropertyNameLiteral(e.name)&&wn.isPropertyNameLiteral(a)&&wn.getEscapedTextOfIdentifierOrLiteral(e.name)===wn.getEscapedTextOfIdentifierOrLiteral(a)))return void((167===e.kind||166===e.kind)&&wn.isStatic(e)!==wn.isStatic(t)&&fa(r,wn.isStatic(e)?wn.Diagnostics.Function_overload_must_be_static:wn.Diagnostics.Function_overload_must_not_be_static));if(wn.nodeIsPresent(t.body))return void fa(r,wn.Diagnostics.Function_implementation_name_must_be_0,wn.declarationNameToString(e.name))}a=e.name||e,y?fa(a,wn.Diagnostics.Constructor_implementation_is_missing):wn.hasSyntacticModifier(e,128)?fa(a,wn.Diagnostics.All_declarations_of_an_abstract_method_must_be_consecutive):fa(a,wn.Diagnostics.Function_implementation_is_missing_or_not_immediately_following_the_declaration)}}}function FE(e){if(n){var t=e.localSymbol;if((t||(t=Ii(e)).exportSymbol)&&wn.getDeclarationOfKind(t,e.kind)===e){for(var r=0,a=0,i=0,o=0,s=t.declarations;o<s.length;o++){var c=g(_=s[o]),l=wE(_,513);1&l?512&l?i|=c:r|=c:a|=c}var d=r&a,u=i&(r|a);if(d||u)for(var p=0,m=t.declarations;p<m.length;p++){c=g(_=m[p]);var _,f=wn.getNameOfDeclaration(_);c&u?fa(f,wn.Diagnostics.Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead,wn.declarationNameToString(f)):c&d&&fa(f,wn.Diagnostics.Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local,wn.declarationNameToString(f))}}}function g(e){var n=e;switch(n.kind){case 256:case 257:case 340:case 333:case 334:return 2;case 259:return wn.isAmbientModule(n)||0!==wn.getModuleInstanceState(n)?5:4;case 255:case 258:case 294:return 3;case 300:return 7;case 269:case 219:var t=n;t=wn.isExportAssignment(t)?t.expression:t.right;if(!wn.isEntityNameExpression(t))return 1;n=t;case 263:case 266:case 265:var r=0;t=ai(Ii(n));return wn.forEach(t.declarations,(function(e){r|=g(e)})),r;case 252:case 201:case 254:case 268:case 79:return 1;default:return wn.Debug.failBadSyntaxKind(n)}}}function GE(e,n,t,r){return e=BE(e,n),e&&VE(e,n,t,r)}function BE(e,n){if(!Io(e)){var t=e;if(t.promisedTypeOfPromise)return t.promisedTypeOfPromise;if(bs(e,jd(!1)))return t.promisedTypeOfPromise=yd(e)[0];if(e=Co(e,"then"),!Io(e))if(e=e?hl(e,0):wn.emptyArray,0===e.length)n&&fa(n,wn.Diagnostics.A_promise_must_have_a_then_method);else if(e=rg(gu(wn.map(e,vb)),2097152),!Io(e)){if(e=hl(e,0),0!==e.length)return t.promisedTypeOfPromise=gu(wn.map(e,vb),2);n&&fa(n,wn.Diagnostics.The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback)}}}function UE(e,n,t,r){return VE(e,n,t,r)||Zn}function VE(e,n,t,r){var a;return Io(e)?e:(a=e).awaitedTypeOfType||(a.awaitedTypeOfType=Sg(e,n?function(e){return jE(e,n,t,r)}:jE))}function jE(e,n,t,r){var a=e;if(a.awaitedTypeOfType)return a.awaitedTypeOfType;var i=BE(e);if(i){if(e.id===i.id||0<=Or.lastIndexOf(i.id))return void(n&&fa(n,wn.Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method));Or.push(e.id);i=VE(i,n,t,r);return Or.pop(),i?a.awaitedTypeOfType=i:void 0}if(!((i=Co(i=e,"then"))&&0<hl(rg(i,2097152),0).length))return a.awaitedTypeOfType=e;if(n){if(!t)return wn.Debug.fail();fa(n,t,r)}}function KE(e){var n=Hv(e);qv(n,e),n=zl(n);if(!(1&n.flags)){var t,r=Bv(e);switch(e.parent.kind){case 255:var a=gu([hs(Ii(e.parent)),yt]);break;case 162:a=yt,t=wn.chainDiagnosticMessages(void 0,wn.Diagnostics.The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any);break;case 165:a=yt,t=wn.chainDiagnosticMessages(void 0,wn.Diagnostics.The_return_type_of_a_property_decorator_function_must_be_either_void_or_any);break;case 167:case 170:case 171:a=gu([Jd(WS(e.parent)),yt]);break;default:return wn.Debug.fail()}Tm(n,a,e,r,(function(){return t}))}}function HE(e){var n;e&&(n=wn.getFirstIdentifier(e),e=2097152|(79===e.kind?788968:1920),n=Ma(n,n.escapedText,e,void 0,void 0,!0))&&2097152&n.flags&&Mi(n)&&!sx(ai(n))&&!si(n)&&li(n)}function WE(e){e=zE(e),e&&wn.isEntityName(e)&&HE(e)}function zE(e){if(e)switch(e.kind){case 186:case 185:return JE(e.types);case 187:return JE([e.trueType,e.falseType]);case 189:case 195:return zE(e.type);case 176:return e.typeName}}function JE(e){for(var n,t=0,r=e;t<r.length;t++){for(var a=r[t];189===a.kind||195===a.kind;)a=a.type;if(142!==a.kind&&(x||(194!==a.kind||104!==a.literal.kind)&&151!==a.kind)){var i=zE(a);if(!i)return;if(n){if(!wn.isIdentifier(n)||!wn.isIdentifier(i)||n.escapedText!==i.escapedText)return}else n=i}}return n}function qE(e){var n=wn.getEffectiveTypeAnnotationNode(e);return wn.isRestParameter(e)?wn.getRestParameterElementType(n):n}function XE(e){if(e.decorators&&wn.nodeCanBeDecorated(e,e.parent,e.parent.parent)){v.experimentalDecorators||fa(e,wn.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);var n=e.decorators[0];if(kx(n,8),162===e.kind&&kx(n,32),v.emitDecoratorMetadata)switch(kx(n,16),e.kind){case 255:var t=wn.getFirstConstructorWithBody(e);if(t)for(var r=0,a=t.parameters;r<a.length;r++)WE(qE(a[r]));break;case 170:case 171:t=170===e.kind?171:170,t=wn.getDeclarationOfKind(Ii(e),t),WE(ss(e)||t&&ss(t));break;case 167:for(var i=0,o=e.parameters;i<o.length;i++)WE(qE(o[i]));WE(wn.getEffectiveReturnTypeNode(e));break;case 165:WE(wn.getEffectiveTypeAnnotationNode(e));break;case 162:WE(qE(e));for(var s=0,c=e.parent.parameters;s<c.length;s++)WE(qE(c[s]))}wn.forEach(e.decorators,KE)}}function YE(e){switch(e.kind){case 79:return e;case 204:return e.name;default:return}}function QE(e){XE(e),EE(e);var t,r,a=wn.getFunctionFlags(e),i=(e.name&&160===e.name.kind&&Wy(e.name),ac(e)&&(t=Ii(e),i=null==(i=(r=e.localSymbol||t).declarations)?void 0:i.find((function(n){return n.kind===e.kind&&!(131072&n.flags)})),e===i&&ME(r),t.parent)&&ME(t),166===e.kind?void 0:e.body);CS(i),Ob(e,Jl(e)),n&&!wn.getEffectiveReturnTypeNode(e)&&(wn.nodeIsMissing(i)&&!PE(e)&&tf(e,Xn),1&a)&&wn.nodeIsPresent(i)&&zl(Gl(e)),wn.isInJSFile(e)&&(r=wn.getJSDocTypeTag(e))&&r.typeExpression&&!My(Op(r.typeExpression),e)&&fa(r.typeExpression.type,wn.Diagnostics.The_type_of_a_function_declaration_must_match_the_function_s_signature)}function ZE(e){var t,r;n&&(t=wn.getSourceFileOfNode(e),(r=ar.get(t.path))||ar.set(t.path,r=[]),r.push(e))}function $E(e,n){for(var t,r,a=0,i=e;a<i.length;a++){var o=i[a];switch(o.kind){case 255:case 224:f=_=m=u=p=d=l=c=s=void 0;for(var s=o,c=n,l=0,d=s.members;l<d.length;l++){var u,p=d[l];switch(p.kind){case 167:case 165:case 170:case 171:171===p.kind&&32768&p.symbol.flags||(u=Ii(p)).isReferenced||!(wn.hasEffectiveModifier(p,8)||wn.isNamedDeclaration(p)&&wn.isPrivateIdentifier(p.name))||8388608&p.flags||c(p,0,wn.createDiagnosticForNode(p.name,wn.Diagnostics._0_is_declared_but_its_value_is_never_read,so(u)));break;case 169:for(var m=0,_=p.parameters;m<_.length;m++){var f=_[m];!f.symbol.isReferenced&&wn.hasSyntacticModifier(f,8)&&c(f,0,wn.createDiagnosticForNode(f.name,wn.Diagnostics.Property_0_is_declared_but_its_value_is_never_read,wn.symbolName(f.symbol)))}break;case 174:case 232:case 168:break;default:wn.Debug.fail("Unexpected class member")}}tT(o,n);break;case 300:case 259:case 233:case 261:case 240:case 241:case 242:oT(o,n);break;case 169:case 211:case 254:case 212:case 167:case 170:case 171:o.body&&oT(o,n),tT(o,n);break;case 166:case 172:case 173:case 177:case 178:case 257:case 256:tT(o,n);break;case 188:s=n,r=void 0,rT(r=(t=o).typeParameter)&&s(t,1,wn.createDiagnosticForNode(t,wn.Diagnostics._0_is_declared_but_its_value_is_never_read,wn.idText(r.name)));break;default:wn.Debug.assertNever(o,"Node should not have been registered for unused identifiers check")}}}function eT(e,n,t){var r=wn.getNameOfDeclaration(e)||e,a=FS(e)?wn.Diagnostics._0_is_declared_but_never_used:wn.Diagnostics._0_is_declared_but_its_value_is_never_read;t(e,0,wn.createDiagnosticForNode(r,a,n))}function nT(e){return wn.isIdentifier(e)&&95===wn.idText(e).charCodeAt(0)}function tT(e,n){var t=Ii(e).declarations;if(t&&wn.last(t)===e){t=wn.getEffectiveTypeParameterDeclarations(e);for(var r=new wn.Set,a=0,i=t;a<i.length;a++){var o,s,c,l,d,u=i[a];rT(u)&&(o=wn.idText(u.name),188!==(l=u.parent).kind&&l.typeParameters.every(rT)?wn.tryAddToSet(r,l)&&(s=wn.getSourceFileOfNode(l),c=wn.isJSDocTemplateTag(l)?wn.rangeOfNode(l):wn.rangeOfTypeParameters(s,l.typeParameters),d=(l=1===l.typeParameters.length)?wn.Diagnostics._0_is_declared_but_its_value_is_never_read:wn.Diagnostics.All_type_parameters_are_unused,n(u,1,wn.createFileDiagnostic(s,c.pos,c.end-c.pos,d,l?o:void 0))):n(u,1,wn.createDiagnosticForNode(u,wn.Diagnostics._0_is_declared_but_its_value_is_never_read,o)))}}}function rT(e){return!(262144&Ci(e.symbol).isReferenced||nT(e.name))}function aT(e,n,t,r){r=String(r(n));var a=e.get(r);a?a[1].push(t):e.set(r,[n,[t]])}function iT(e){return wn.tryCast(wn.getRootDeclaration(e),wn.isParameter)}function oT(e,n){var t=new wn.Map,r=new wn.Map,a=new wn.Map;e.locals.forEach((function(e){if((262144&e.flags?3&e.flags&&!(3&e.isReferenced):!e.isReferenced&&!e.exportSymbol)&&e.declarations)for(var i=0,o=e.declarations;i<o.length;i++){var s,c,l=o[i];s=l,(wn.isBindingElement(s)?(!wn.isObjectBindingPattern(s.parent)||s.propertyName)&&nT(s.name):wn.isAmbientModule(s)||(wn.isVariableDeclaration(s)&&wn.isForInOrOfStatement(s.parent.parent)||cT(s))&&nT(s.name))||(cT(l)?aT(t,265===(s=l).kind?s:(266===s.kind?s:s.parent).parent,l,tk):wn.isBindingElement(l)&&wn.isObjectBindingPattern(l.parent)?(s=wn.last(l.parent.elements),l!==s&&wn.last(l.parent.elements).dotDotDotToken||aT(r,l.parent,l,tk)):wn.isVariableDeclaration(l)?aT(a,l.parent,l,tk):(s=e.valueDeclaration&&iT(e.valueDeclaration),c=e.valueDeclaration&&wn.getNameOfDeclaration(e.valueDeclaration),s&&c?wn.isParameterPropertyDeclaration(s,s.parent)||wn.parameterIsThisKeyword(s)||nT(c)||(wn.isBindingElement(l)&&wn.isArrayBindingPattern(l.parent)?aT(r,l.parent,l,tk):n(s,1,wn.createDiagnosticForNode(c,wn.Diagnostics._0_is_declared_but_its_value_is_never_read,wn.symbolName(e)))):eT(l,wn.symbolName(e),n)))}})),t.forEach((function(e){var t=e[0],r=(e=e[1],t.parent);if((t.name?1:0)+(t.namedBindings?266===t.namedBindings.kind?1:t.namedBindings.elements.length:0)===e.length)n(r,0,1===e.length?wn.createDiagnosticForNode(r,wn.Diagnostics._0_is_declared_but_its_value_is_never_read,wn.idText(wn.first(e).name)):wn.createDiagnosticForNode(r,wn.Diagnostics.All_imports_in_import_declaration_are_unused));else for(var a=0,i=e;a<i.length;a++){var o=i[a];eT(o,wn.idText(o.name),n)}})),r.forEach((function(e){var t=e[0],r=(e=e[1],iT(t.parent)?1:0);if(t.elements.length===e.length)1===e.length&&252===t.parent.kind&&253===t.parent.parent.kind?aT(a,t.parent.parent,t.parent,tk):n(t,r,1===e.length?wn.createDiagnosticForNode(t,wn.Diagnostics._0_is_declared_but_its_value_is_never_read,sT(wn.first(e).name)):wn.createDiagnosticForNode(t,wn.Diagnostics.All_destructured_elements_are_unused));else for(var i=0,o=e;i<o.length;i++){var s=o[i];n(s,r,wn.createDiagnosticForNode(s,wn.Diagnostics._0_is_declared_but_its_value_is_never_read,sT(s.name)))}})),a.forEach((function(e){var t=e[0];e=e[1];if(t.declarations.length===e.length)n(t,0,1===e.length?wn.createDiagnosticForNode(wn.first(e).name,wn.Diagnostics._0_is_declared_but_its_value_is_never_read,sT(wn.first(e).name)):wn.createDiagnosticForNode(235===t.parent.kind?t.parent:t,wn.Diagnostics.All_variables_are_unused));else for(var r=0,a=e;r<a.length;r++){var i=a[r];n(i,0,wn.createDiagnosticForNode(i,wn.Diagnostics._0_is_declared_but_its_value_is_never_read,sT(i.name)))}}))}function sT(e){switch(e.kind){case 79:return wn.idText(e);case 200:case 199:return sT(wn.cast(wn.first(e.elements),wn.isBindingElement).name);default:return wn.Debug.assertNever(e)}}function cT(e){return 265===e.kind||268===e.kind||266===e.kind}function lT(e){var n;233===e.kind&&aL(e),wn.isFunctionOrModuleBlock(e)?(n=cr,wn.forEach(e.statements,CS),cr=n):wn.forEach(e.statements,CS),e.locals&&ZE(e)}function dT(e,n,t){if((null==n?void 0:n.escapedText)===t&&165!==e.kind&&164!==e.kind&&167!==e.kind&&166!==e.kind&&170!==e.kind&&171!==e.kind&&291!==e.kind&&!(8388608&e.flags||(wn.isImportClause(e)||wn.isImportEqualsDeclaration(e)||wn.isImportSpecifier(e))&&wn.isTypeOnlyImportOrExportDeclaration(e)))return n=wn.getRootDeclaration(e),wn.isParameter(n)&&wn.nodeIsMissing(n.parent.body)?void 0:1}function uT(e){wn.findAncestor(e,(function(n){return!!(4&_x(n))&&(79!==e.kind?fa(wn.getNameOfDeclaration(e),wn.Diagnostics.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference):fa(e,wn.Diagnostics.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference),!0)}))}function pT(e){wn.findAncestor(e,(function(n){return!!(8&_x(n))&&(79!==e.kind?fa(wn.getNameOfDeclaration(e),wn.Diagnostics.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference):fa(e,wn.Diagnostics.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference),!0)}))}function mT(e){67108864&_x(wn.getEnclosingBlockScopeContainer(e))&&(wn.Debug.assert(wn.isNamedDeclaration(e)&&wn.isIdentifier(e.name)&&"string"==typeof e.name.escapedText,"The target of a WeakMap/WeakSet collision check should be an identifier"),ma("noEmit",e,wn.Diagnostics.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel,e.name.escapedText))}function _T(e){var n,t=!1;if(wn.isClassExpression(e)){for(var r=0,a=e.members;r<a.length;r++)if(134217728&_x(a[r])){t=!0;break}}else wn.isFunctionExpression(e)?134217728&_x(e)&&(t=!0):(n=wn.getEnclosingBlockScopeContainer(e))&&134217728&_x(n)&&(t=!0);t&&(wn.Debug.assert(wn.isNamedDeclaration(e)&&wn.isIdentifier(e.name),"The target of a Reflect collision check should be an identifier"),ma("noEmit",e,wn.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers,wn.declarationNameToString(e.name),"Reflect"))}function fT(e,n){var t,r;n&&(r=e,t=n,E>=wn.ModuleKind.ES2015||!t||!dT(r,t,"require")&&!dT(r,t,"exports")||wn.isModuleDeclaration(r)&&1!==wn.getModuleInstanceState(r)||300===(r=Ao(r)).kind&&wn.isExternalOrCommonJsModule(r)&&ma("noEmit",t,wn.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,wn.declarationNameToString(t),wn.declarationNameToString(t)),r=e,!(t=n)||4<=b||!dT(r,t,"Promise")||wn.isModuleDeclaration(r)&&1!==wn.getModuleInstanceState(r)||300===(r=Ao(r)).kind&&wn.isExternalOrCommonJsModule(r)&&2048&r.flags&&ma("noEmit",t,wn.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,wn.declarationNameToString(t),wn.declarationNameToString(t)),r=e,t=n,b<=8&&(dT(r,t,"WeakMap")||dT(r,t,"WeakSet"))&&kr.push(r),t=e,(r=n)&&2<=b&&b<=8&&dT(t,r,"Reflect")&&Rr.push(t),wn.isClassLike(e)?(aS(n,wn.Diagnostics.Class_name_cannot_be_0),8388608&e.flags||(r=n,1===b&&"Object"===r.escapedText&&E<wn.ModuleKind.ES2015&&fa(r,wn.Diagnostics.Class_name_cannot_be_Object_when_targeting_ES5_with_module_0,wn.ModuleKind[E]))):wn.isEnumDeclaration(e)&&aS(n,wn.Diagnostics.Enum_name_cannot_be_0))}function gT(e){return e===Yn?Xn:e===Ke?je:e}function yT(e){var n,t,r,a;XE(e),wn.isBindingElement(e)||CS(e.type),e.name&&(160===e.name.kind&&(Wy(e.name),e.initializer)&&nE(e.initializer),wn.isBindingElement(e)&&(wn.isObjectBindingPattern(e.parent)&&e.dotDotDotToken&&b<5&&kx(e,4),e.propertyName&&160===e.propertyName.kind&&Wy(e.propertyName),t=No(n=e.parent.parent),r=e.propertyName||e.name,t)&&!wn.isBindingPattern(r)&&ec(r=Cu(r))&&(r=gl(t,ic(r)))&&(qh(r,void 0,!1),bh(e,!!n.initializer&&106===n.initializer.kind,!1,t,r)),wn.isBindingPattern(e.name)&&(200===e.name.kind&&b<2&&v.downlevelIteration&&kx(e,512),wn.forEach(e.name.elements,CS)),e.initializer&&wn.isParameterDeclaration(e)&&wn.nodeIsMissing(wn.getContainingFunction(e).body)?fa(e,wn.Diagnostics.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation):wn.isBindingPattern(e.name)?(n=e.initializer&&241!==e.parent.parent.kind,t=0===e.name.elements.length,(n||t)&&(r=ns(e),n&&(n=nE(e.initializer),x&&t?Ih(n,e):Sm(n,ns(e),e,e.initializer)),t)&&(wn.isArrayBindingPattern(e.name)?IT(65,r,tt,e):x&&Ih(r,e))):2097152&(n=Ii(e)).flags&&wn.isRequireVariableDeclaration(e)?hS(e):(t=gT(hs(n)),e===n.valueDeclaration?(!(r=wn.getEffectiveInitializer(e))||wn.isInJSFile(e)&&wn.isObjectLiteralExpression(r)&&(0===r.properties.length||wn.isPrototypeAccess(e.name))&&!(null==(a=n.exports)||!a.size)||241===e.parent.parent.kind||Sm(nE(r),t,e,r,void 0),n.declarations&&1<n.declarations.length&&wn.some(n.declarations,(function(n){return n!==e&&wn.isVariableLike(n)&&!vT(n,e)}))&&fa(e.name,wn.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,wn.declarationNameToString(e.name))):(a=gT(ns(e)),t===Zn||a===Zn||mm(t,a)||67108864&n.flags||hT(n.valueDeclaration,t,e,a),e.initializer&&Sm(nE(e.initializer),a,e,e.initializer,void 0),n.valueDeclaration&&!vT(e,n.valueDeclaration)&&fa(e.name,wn.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,wn.declarationNameToString(e.name))),165!==e.kind&&164!==e.kind&&(FE(e),252!==e.kind&&201!==e.kind||(e=>{if(0==(3&wn.getCombinedNodeFlags(e))&&!wn.isParameterDeclaration(e)&&(252!==e.kind||e.initializer)){var n=Ii(e);if(1&n.flags){if(!wn.isIdentifier(e.name))return wn.Debug.fail();var t=Ma(e,e.name.escapedText,3,void 0,void 0,!1);t&&t!==n&&2&t.flags&&3&hh(t)&&((n=235===(n=wn.getAncestor(t.valueDeclaration,253)).parent.kind&&n.parent.parent?n.parent.parent:void 0)&&(233===n.kind&&wn.isFunctionLike(n.parent)||260===n.kind||259===n.kind||300===n.kind)||(n=so(t),fa(e,wn.Diagnostics.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,n,n)))}}})(e),fT(e,e.name))))}function hT(e,n,t,r){var a=wn.getNameOfDeclaration(t),i=(t=165===t.kind||164===t.kind?wn.Diagnostics.Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:wn.Diagnostics.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2,wn.declarationNameToString(a));a=fa(a,t,i,lo(n),lo(r));e&&wn.addRelatedInfo(a,wn.createDiagnosticForNode(e,wn.Diagnostics._0_was_also_declared_here,i))}function vT(e,n){return 162===e.kind&&252===n.kind||252===e.kind&&162===n.kind||(wn.hasQuestionToken(e)===wn.hasQuestionToken(n)?wn.getSelectedEffectiveModifierFlags(e,504)===wn.getSelectedEffectiveModifierFlags(n,504):void 0)}function bT(e){null!=wn.tracing&&wn.tracing.push("check","checkVariableDeclaration",{kind:e.kind,pos:e.pos,end:e.end}),(e=>{if(241!==e.parent.parent.kind&&242!==e.parent.parent.kind)if(8388608&e.flags)Qx(e);else if(!e.initializer){if(wn.isBindingPattern(e.name)&&!wn.isBindingPattern(e.parent))return rL(e,wn.Diagnostics.A_destructuring_declaration_must_have_an_initializer);if(wn.isVarConst(e))return rL(e,wn.Diagnostics.const_declarations_must_be_initialized)}var n;e.exclamationToken&&(235!==e.parent.parent.kind||!e.type||e.initializer||8388608&e.flags)?(n=e.initializer?wn.Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:e.type?wn.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context:wn.Diagnostics.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations,rL(e.exclamationToken,n)):((n=wn.getEmitModuleKind(v))<wn.ModuleKind.ES2015&&n!==wn.ModuleKind.System&&!(8388608&e.parent.parent.flags)&&wn.hasSyntacticModifier(e.parent.parent,1)&&function e(n){if(79===n.kind){if("__esModule"===wn.idText(n))return tL("noEmit",n,wn.Diagnostics.Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules)}else{n=n.elements;for(var t=0,r=n;t<r.length;t++){var a=r[t];if(!wn.isOmittedExpression(a))return e(a.name)}}return!1}(e.name),(wn.isLet(e)||wn.isVarConst(e))&&function e(n){if(79===n.kind){if(119===n.originalKeywordKind)return rL(n,wn.Diagnostics.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations)}else{n=n.elements;for(var t=0,r=n;t<r.length;t++){var a=r[t];wn.isOmittedExpression(a)||e(a.name)}}return!1}(e.name))})(e),yT(e),null!=wn.tracing&&wn.tracing.pop()}function ET(e){return(e=>{if(e.dotDotDotToken){var n=e.parent.elements;if(e!==wn.last(n))return rL(e,wn.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);if(Px(n,wn.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),e.propertyName)return rL(e.name,wn.Diagnostics.A_rest_element_cannot_have_a_property_name)}e.dotDotDotToken&&e.initializer&&nL(e,e.initializer.pos-1,1,wn.Diagnostics.A_rest_element_cannot_have_an_initializer)})(e),yT(e)}function TT(e){if(!Rx(e)&&!Zx(e.declarationList)){var n=e;(function e(n){switch(n.kind){case 237:case 238:case 239:case 246:case 240:case 241:case 242:return!1;case 248:return e(n.parent)}return!0})(n.parent)||(wn.isLet(n.declarationList)?rL(n,wn.Diagnostics.let_declarations_can_only_be_declared_inside_a_block):wn.isVarConst(n.declarationList)&&rL(n,wn.Diagnostics.const_declarations_can_only_be_declared_inside_a_block))}wn.forEach(e.declarationList.declarations,CS)}function ST(e,n,t){var r,a,i,o,s,c,l;!x||w_(n)||(r=wn.isBinaryExpression(e)?e.right:e,wn.isPropertyAccessExpression(r)&&wn.isAssertionExpression(wn.skipParentheses(r.expression)))||(a=wn.isIdentifier(r)?r:wn.isPropertyAccessExpression(r)?r.name:wn.isBinaryExpression(r)&&wn.isIdentifier(r.right)?r.right:void 0,o=hl(n,0),i=!!GE(n),0===o.length&&!i)||!(o=a&&HS(a))&&!i||o&&wn.isBinaryExpression(e.parent)&&((e,n)=>{for(;wn.isBinaryExpression(e)&&55===e.operatorToken.kind;){if(wn.forEachChild(e.right,(function e(t){if(wn.isIdentifier(t)){var r=HS(t);if(r&&r===n)return!0}return wn.forEachChild(t,e)})))return!0;e=e.parent}return!1})(e.parent,o)||o&&t&&(s=e,c=a,l=o,wn.forEachChild(t,(function e(n){if(wn.isIdentifier(n)){var t=HS(n);if(t&&t===l){if(wn.isIdentifier(s))return!0;for(var r=c.parent,a=n.parent;r&&a;){if(wn.isIdentifier(r)&&wn.isIdentifier(a)||108===r.kind&&108===a.kind)return HS(r)===HS(a);if(wn.isPropertyAccessExpression(r)&&wn.isPropertyAccessExpression(a)){if(HS(r.name)!==HS(a.name))return!1}else if(!wn.isCallExpression(r)||!wn.isCallExpression(a))return!1;a=a.expression,r=r.expression}}}return wn.forEachChild(n,e)})))||(i?ha(r,!0,wn.Diagnostics.This_condition_will_always_return_true_since_this_0_is_always_defined,po(n)):fa(r,wn.Diagnostics.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead))}function xT(e,n){return 16384&e.flags&&fa(n,wn.Diagnostics.An_expression_of_type_void_cannot_be_tested_for_truthiness),e}function LT(e,n){return xT(yE(e,n),e)}function DT(e){zx(e);var n,t,r,a=xh(yE(e.expression));253===e.initializer.kind?((n=e.initializer.declarations[0])&&wn.isBindingPattern(n.name)&&fa(n.name,wn.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern),AT(e)):(t=yE(n=e.initializer),202===n.kind||203===n.kind?fa(n,wn.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern):hm(131072&(r=Ru(ku(r=a))).flags?ct:r,t)?Bb(n,wn.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access,wn.Diagnostics.The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access):fa(n,wn.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any)),a!==ht&&Kb(a,126091264)||fa(e.expression,wn.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,lo(a)),CS(e.statement),e.locals&&ZE(e)}function AT(e){e=e.initializer,1<=e.declarations.length&&bT(e.declarations[0])}function CT(e){return IT(e.awaitModifier?15:13,Th(e.expression),tt,e.expression)}function IT(e,n,t,r){return Io(n)?n:NT(e,n,t,r,!0)||Xn}function NT(e,n,t,r,a){var i=0!=(2&e);if(n!==ht){var o=2<=b,s=!o&&v.downlevelIteration,c=v.noUncheckedIndexedAccess&&!!(128&e);if(o||s||i){var l=PT(n,e,o?r:void 0);if(a&&l&&(a=8&e?wn.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:32&e?wn.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:64&e?wn.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:16&e?wn.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)&&Tm(t,l.nextType,r,a),l||o)return c?sg(l&&l.yieldType):l&&l.yieldType}var d;t=n,a=!1,o=!1;return 4&e&&(1048576&t.flags?(l=n.types,(d=wn.filter(l,(function(e){return!(402653316&e.flags)})))!==l&&(t=gu(d,2))):402653316&t.flags&&(t=ht),(o=t!==n)&&(b<1&&r&&(fa(r,wn.Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher),a=!0),131072&t.flags))?c?sg(ct):ct:m_(t)?(l=Ll(t,lt),o&&l?402653316&l.flags&&!v.noUncheckedIndexedAccess?ct:gu(c?[l,ct,tt]:[l,ct],2):128&e?sg(l):l):(r&&!a&&(l=(d=((t,r)=>r?t?[wn.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]:[wn.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0]:kT(e,0,n,void 0)?[wn.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators,!1]:(e=>{switch(e){case"Float32Array":case"Float64Array":case"Int16Array":case"Int32Array":case"Int8Array":case"NodeList":case"Uint16Array":case"Uint32Array":case"Uint8Array":case"Uint8ClampedArray":return 1}})(null==(r=n.symbol)?void 0:r.escapedName)?[wn.Diagnostics.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,!0]:t?[wn.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type,!0]:[wn.Diagnostics.Type_0_is_not_an_array_type,!0])(!!(4&e)&&!o,s))[0],ha(r,d[1]&&!!GE(t),l,lo(t))),o?c?sg(ct):ct:void 0)}VT(r,n,i)}function kT(e,n,t,r){if(!Io(t))return(t=PT(t,e,r))&&t[sk(n)]}function RT(e,n,t){var r,a;return void 0===n&&(n=ht),void 0===t&&(t=nt),67359327&(e=void 0===e?ht:e).flags&&180227&n.flags&&180227&t.flags?(r=ud([e,n,t]),(a=Xt.get(r))||Xt.set(r,a={yieldType:e,returnType:n,nextType:t}),a):{yieldType:e,returnType:n,nextType:t}}function OT(e){for(var n,t,r,a=0,i=e;a<i.length;a++){var o=i[a];if(void 0!==o&&o!==Yt){if(o===Qt)return Qt;n=wn.append(n,o.yieldType),t=wn.append(t,o.returnType),r=wn.append(r,o.nextType)}}return n||t||r?RT(n&&gu(n),t&&gu(t),r&&Tu(r)):Yt}function PT(e,n,t){if(Io(e))return Qt;if(!(1048576&e.flags))return(i=MT(e,n,t))===Yt?void(t&&VT(t,e,!!(2&n))):i;var r,a=2&n?"iterationTypesOfAsyncIterable":"iterationTypesOfIterable",i=e[a];if(i)return i===Yt?void 0:i;for(var o=0,s=e.types;o<s.length;o++){var c=MT(s[o],n,t);if(c===Yt)return t&&VT(t,e,!!(2&n)),void(e[a]=Yt);r=wn.append(r,c)}return i=r?OT(r):Yt,(e[a]=i)===Yt?void 0:i}function wT(e,n){var t,r;return e===Yt?Yt:e===Qt?Qt:(t=e.yieldType,r=e.returnType,e=e.nextType,RT(VE(t,n)||Xn,VE(r,n)||Xn,e))}function MT(e,n,t){if(Io(e))return Qt;var r;if(2&n&&(r=FT(e,er)||BT(e,er)))return r;if(1&n&&(r=FT(e,nr)||BT(e,nr))){if(!(2&n))return r;if(r!==Yt)return e.iterationTypesOfAsyncIterable=wT(r,t)}return 2&n&&(r=UT(e,er,t))!==Yt?r:1&n&&(r=UT(e,nr,t))!==Yt?2&n?e.iterationTypesOfAsyncIterable=r?wT(r,t):Yt:r:Yt}function FT(e,n){return e[n.iterableCacheKey]}function GT(e,n){return e=FT(e,n)||UT(e,n,void 0),e===Yt?$t:e}function BT(e,n){var t,r,a;return bs(e,t=n.getGlobalIterableType(!1))||bs(e,t=n.getGlobalIterableIteratorType(!1))?(r=yd(e)[0],a=(t=GT(t,n)).returnType,e[n.iterableCacheKey]=RT(r,a,t.nextType)):bs(e,n.getGlobalGeneratorType(!1))?(r=(t=yd(e))[0],e[n.iterableCacheKey]=RT(r,a=t[1],t[2])):void 0}function UT(e,n,t){var r=gl(e,(a=n.iteratorSymbolName,(r=(r=Ud(!1))&&Co(hs(r),wn.escapeLeadingUnderscores(a)))&&ec(r)?ic(r):"__@"+a)),a=!r||16777216&r.flags?void 0:hs(r);return Io(a)?e[n.iterableCacheKey]=Qt:(r=a?hl(a,0):void 0,wn.some(r)?(r=null!=(a=jT(Tu(wn.map(r,zl)),n,t))?a:Yt,e[n.iterableCacheKey]=r):e[n.iterableCacheKey]=Yt)}function VT(e,n,t){t=t?wn.Diagnostics.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:wn.Diagnostics.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator,ha(e,!!GE(n),t,lo(n))}function jT(e,n,t){return Io(e)?Qt:(e=KT(e,n)||((e,n)=>{var t,r,a,i=n.getGlobalIterableIteratorType(!1);return bs(e,i)?(t=yd(e)[0],i=KT(i,n)||XT(i,n,void 0),r=(i=i===Yt?$t:i).returnType,a=i.nextType,e[n.iteratorCacheKey]=RT(t,r,a)):bs(e,n.getGlobalIteratorType(!1))||bs(e,n.getGlobalGeneratorType(!1))?(i=yd(e),t=i[0],r=i[1],a=i[2],e[n.iteratorCacheKey]=RT(t,r,a)):void 0})(e,n)||XT(e,n,t))===Yt?void 0:e}function KT(e,n){return e[n.iteratorCacheKey]}function HT(e,n){return e=Co(e,"done")||ut,hm(0===n?ut:mt,e)}function WT(e){return HT(e,0)}function zT(e){return HT(e,1)}function JT(e){var n,t;return Io(e)?Qt:e.iterationTypesOfIteratorResult||(bs(e,(an=an||Gd("IteratorYieldResult",1,!1))||wt)?(n=yd(e)[0],e.iterationTypesOfIteratorResult=RT(n,void 0,void 0)):bs(e,(on=on||Gd("IteratorReturnResult",1,!1))||wt)?(n=yd(e)[0],e.iterationTypesOfIteratorResult=RT(void 0,n,void 0)):(n=(n=Eg(e,WT))!==ht?Co(n,"value"):void 0,t=(t=Eg(e,zT))!==ht?Co(t,"value"):void 0,e.iterationTypesOfIteratorResult=n||t?RT(n,t||yt,void 0):Yt))}function qT(e,n,t,r){if(e=gl(e,t),e||"next"===t){if(e=!e||"next"===t&&16777216&e.flags?void 0:"next"===t?hs(e):rg(hs(e),2097152),Io(e))return"next"===t?Qt:Zt;var a,i,o=e?hl(e,0):wn.emptyArray;if(0===o.length)return r&&fa(r,"next"===t?n.mustHaveANextMethodDiagnostic:n.mustBeAMethodDiagnostic,t),"next"===t?Qt:void 0;if(null!=e&&e.symbol&&1===o.length){var s=n.getGlobalGeneratorType(!1),c=n.getGlobalIteratorType(!1),l=(null==(l=null==(l=s.symbol)?void 0:l.members)?void 0:l.get(t))===e.symbol,d=!l&&(null==(d=null==(d=c.symbol)?void 0:d.members)?void 0:d.get(t))===e.symbol;if(l||d)return d=e.mapper,RT(Up((e=l?s:c).typeParameters[0],d),Up(e.typeParameters[1],d),"next"===t?Up(e.typeParameters[2],d):void 0)}for(var u,p,m,_=0,f=o;_<f.length;_++){var g=f[_];"throw"!==t&&wn.some(g.parameters)&&(a=wn.append(a,ub(g,0))),i=wn.append(i,zl(g))}return"throw"!==t&&(l=a?gu(a):nt,"next"===t?u=l:"return"===t&&(s=n.resolveIterationType(l,r)||Xn,p=wn.append(p,s))),c=i?Tu(i):ht,e=JT(n.resolveIterationType(c,r)||Xn),p=e===Yt?(r&&fa(r,n.mustHaveAValueDiagnostic,t),wn.append(p,m=Xn)):(m=e.yieldType,wn.append(p,e.returnType)),RT(m,gu(p),u)}}function XT(e,n,t){return t=OT([qT(e,n,"next",t),qT(e,n,"return",t),qT(e,n,"throw",t)]),e[n.iteratorCacheKey]=t}function YT(e,n,t){if(!Io(n))return(n=QT(n,t))&&n[sk(e)]}function QT(e,n){var t;return Io(e)?Qt:(t=n?er:nr,PT(e,n?2:1,void 0)||jT(e,t,void 0))}function ZT(e){if(!aL(e)){for(var n=e,t=n;t;){if(wn.isFunctionLikeOrClassStaticBlockDeclaration(t))return void rL(n,wn.Diagnostics.Jump_target_cannot_cross_function_boundary);switch(t.kind){case 248:if(n.label&&t.label.escapedText===n.label.escapedText)return void(243!==n.kind||wn.isIterationStatement(t.statement,!0)||rL(n,wn.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement));break;case 247:if(244!==n.kind||n.label)break;return;default:if(wn.isIterationStatement(t,!1)&&!n.label)return}t=t.parent}e=n.label?244===n.kind?wn.Diagnostics.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:wn.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:244===n.kind?wn.Diagnostics.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:wn.Diagnostics.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement,rL(n,e)}}function $T(e,n){var t=!!(2&n);return 1&n?null!=(n=YT(1,e,t))?n:Zn:t?null!=(n=VE(e))?n:Zn:e}function eS(e,n){return n=$T(n,wn.getFunctionFlags(e)),n&&jb(n,16387)}function nS(e){var n,t,r,a,i,o;aL(e)||wn.isIdentifier(e.expression)&&!e.expression.escapedText&&(n=e,t=wn.Diagnostics.Line_break_not_permitted_here,$x(o=wn.getSourceFileOfNode(n))||(n=wn.getSpanOfTokenAtPosition(o,n.pos),Pr.add(wn.createFileDiagnostic(o,wn.textSpanEnd(n),0,t,r,a,i)))),e.expression&&yE(e.expression)}function tS(e,n){var t=Sl(e);if(0!==t.length){for(var r=0,a=Kc(e);r<a.length;r++){var i=a[r];n&&4194304&i.flags||rS(e,i,Iu(i,8576,!0),vs(i))}var o=e.symbol.valueDeclaration;if(o&&wn.isClassLike(o))for(var s=0,c=o.members;s<c.length;s++){var l,d=c[s];wn.isStatic(d)||ac(d)||rS(e,l=Ii(d),_E(d.name.expression),vs(l))}if(1<t.length)for(var u=0,p=t;u<p.length;u++)((e,n)=>{for(var t=n.declaration,r=Dl(e,n.keyType),a=2&wn.getObjectFlags(e)?wn.getDeclarationOfKind(e.symbol,256):void 0,i=t&&Ni(Ii(t))===e.symbol?t:void 0,o=0,s=r;o<s.length;o++)(t=>{if(t!==n){var r=t.declaration&&Ni(Ii(t.declaration))===e.symbol?t.declaration:void 0;(r=i||r||(a&&!wn.some(Ps(e),(function(e){return!!xl(e,n.keyType)&&!!Ll(e,t.keyType)}))?a:void 0))&&!hm(n.type,t.type)&&fa(r,wn.Diagnostics._0_index_type_1_is_not_assignable_to_2_index_type_3,lo(n.keyType),lo(n.type),lo(t.keyType),lo(t.type))}})(s[o])})(e,p[u])}}function rS(e,n,t,r){var a=n.valueDeclaration,i=wn.getNameOfDeclaration(a);if(!i||!wn.isPrivateIdentifier(i)){t=Dl(e,t);for(var o=2&wn.getObjectFlags(e)?wn.getDeclarationOfKind(e.symbol,256):void 0,s=a&&219===a.kind||i&&160===i.kind||Ni(n)===e.symbol?a:void 0,c=0,l=t;c<l.length;c++)(t=>{var a=t.declaration&&Ni(Ii(t.declaration))===e.symbol?t.declaration:void 0;(a=s||a||(o&&!wn.some(Ps(e),(function(e){return!!Hc(e,n.escapedName)&&!!Ll(e,t.keyType)}))?o:void 0))&&!hm(r,t.type)&&fa(a,wn.Diagnostics.Property_0_of_type_1_is_not_assignable_to_2_index_type_3,so(n),lo(r),lo(t.keyType),lo(t.type))})(l[c])}}function aS(e,n){switch(e.escapedText){case"any":case"unknown":case"never":case"number":case"bigint":case"boolean":case"string":case"symbol":case"void":case"object":fa(e,n,e.escapedText)}}function iS(e){if(e)for(var t=!1,r=0;r<e.length;r++){var a=e[r];if(hE(a),n){a.default?(t=!0,((e,n,t)=>{!function e(r){if(176===r.kind){var a=kd(r);if(262144&a.flags)for(var i=t;i<n.length;i++)a.symbol===Ii(n[i])&&fa(r,wn.Diagnostics.Type_parameter_defaults_can_only_reference_previously_declared_type_parameters)}wn.forEachChild(r,e)}(e)})(a.default,e,r)):t&&fa(a,wn.Diagnostics.Required_type_parameters_may_not_follow_optional_type_parameters);for(var i=0;i<r;i++)e[i].symbol===a.symbol&&fa(a.name,wn.Diagnostics.Duplicate_identifier_0,wn.declarationNameToString(a.name))}}}function oS(e){if(!e.declarations||1!==e.declarations.length){var n=Na(e);if(!n.typeParametersChecked&&(n.typeParametersChecked=!0,n=wn.filter(e.declarations,(function(e){return 255===e.kind||256===e.kind})),n&&!(n.length<=1)&&!((e,n)=>{for(var t=wn.length(n),r=Ml(n),a=0,i=e;a<i.length;a++){var o=i[a],s=wn.getEffectiveTypeParameterDeclarations(o),c=s.length;if(c<r||t<c)return;for(var l=0;l<c;l++){var d=s[l],u=n[l];if(d.name.escapedText!==u.symbol.escapedName)return;var p=wn.getEffectiveConstraintOfTypeParameter(d),m=(p=p&&Op(p),qc(u));if(p&&m&&!mm(p,m))return;if(p=d.default&&Op(d.default),m=al(u),p&&m&&!mm(p,m))return}}return 1})(n,Hs(e).localTypeParameters)))for(var t=so(e),r=0,a=n;r<a.length;r++)fa(a[r].name,wn.Diagnostics.All_declarations_of_0_must_have_identical_type_parameters,t)}}function sS(e){t=e,i=wn.getSourceFileOfNode(t),(e=>{var n=!1,t=!1;if(!Rx(e)&&e.heritageClauses)for(var r=0,a=e.heritageClauses;r<a.length;r++){var i=a[r];if(94===i.token){if(n)return eL(i,wn.Diagnostics.extends_clause_already_seen);if(t)return eL(i,wn.Diagnostics.extends_clause_must_precede_implements_clause);if(1<i.types.length)return eL(i.types[1],wn.Diagnostics.Classes_can_only_extend_a_single_class);n=!0}else{if(wn.Debug.assert(117===i.token),t)return eL(i,wn.Diagnostics.implements_clause_already_seen);t=!0}Ux(i)}})(t)||wx(t.typeParameters,i),XE(e),fT(e,e.name),iS(wn.getEffectiveTypeParameterDeclarations(e)),FE(e);for(var t=Ii(e),r=Hs(t),a=dc(r),i=hs(t),o=(t=(oS(t),ME(t),e),new wn.Map),s=new wn.Map,c=new wn.Map,l=0,d=t.members;l<d.length;l++){var u=d[l];if(169===u.kind)for(var p=0,m=u.parameters;p<m.length;p++){var _=m[p];wn.isParameterPropertyDeclaration(_,u)&&!wn.isBindingPattern(_.name)&&L(o,_.name,_.name.escapedText,3)}else{var f=wn.isStatic(u),g=u.name;if(g){var y=wn.isPrivateIdentifier(g),h=y&&f?16:0,E=y?c:f?s:o,S=g&&wn.getPropertyNameForPropertyNameNode(g);if(S)switch(u.kind){case 170:L(E,g,S,1|h);break;case 171:L(E,g,S,2|h);break;case 165:L(E,g,S,3|h);break;case 167:L(E,g,S,8|h)}}}}function L(e,n,t,r){var a,i,o=e.get(t);o?(16&o)!=(16&r)?fa(n,wn.Diagnostics.Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name,wn.getTextOfNode(n)):(i=!!(8&r),(a=!!(8&o))||i?a!=i&&fa(n,wn.Diagnostics.Duplicate_identifier_0,wn.getTextOfNode(n)):o&r&-17?fa(n,wn.Diagnostics.Duplicate_identifier_0,wn.getTextOfNode(n)):e.set(t,o|r)):e.set(t,r)}if(!(8388608&e.flags))for(var D=e,C=0,I=D.members;C<I.length;C++){var N=I[C],k=N.name;if(wn.isStatic(N)&&k){var R=wn.getPropertyNameForPropertyNameNode(k);switch(R){case"name":case"length":case"caller":case"arguments":case"prototype":fa(k,wn.Diagnostics.Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1,R,Eo(Ii(D)))}}}var O=wn.getEffectiveBaseTypeNode(e);if(O&&(wn.forEach(O.typeArguments,CS),b<2&&kx(O.parent,1),t=wn.getClassExtendsHeritageElement(e),t&&t!==O&&yE(t.expression),t=Ps(r),t.length&&n)){var P,w=t[0],M=(t=Rs(r),ol(t));if(ne=O,(P=hl(oe=M,1)).length&&(P=P[0].declaration)&&wn.hasEffectiveModifier(P,8)&&(P=wn.getClassLikeDeclarationOfSymbol(oe.symbol),US(ne,P)||fa(ne,wn.Diagnostics.Cannot_extend_a_class_0_Class_constructor_is_marked_as_private,ui(oe.symbol))),CS(O.expression),wn.some(O.typeArguments)){wn.forEach(O.typeArguments,CS);for(var F=0,G=Ns(M,O.typeArguments,O);F<G.length;F++)if(!IE(O,G[F].typeParameters))break}Tm(a,ge=dc(w,r.thisType),void 0)?Tm(i,pm(M),e.name||e,wn.Diagnostics.Class_static_side_0_incorrectly_extends_base_class_static_side_1):cS(e,a,ge,wn.Diagnostics.Class_0_incorrectly_extends_base_class_1),8650752&t.flags&&(As(i)?hl(t,1).some((function(e){return 4&e.flags}))&&!wn.hasSyntacticModifier(e,128)&&fa(e.name||e,wn.Diagnostics.A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract):fa(e.name||e,wn.Diagnostics.A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any)),M.symbol&&32&M.symbol.flags||8650752&t.flags||(P=ks(M,O.typeArguments,O),wn.forEach(P,(function(e){return!Wv(e.declaration)&&!mm(zl(e),w)}))&&fa(O.expression,wn.Diagnostics.Base_constructors_must_all_have_the_same_return_type));var B=r,U=w,V=zc(U);e:for(var j=0,K=V;j<K.length;j++){var H=K[j],W=lS(H);if(!(4194304&W.flags)){var z=Hc(B,W.escapedName);if(z){z=lS(z);var J=wn.getDeclarationModifierFlagsFromSymbol(W);if(wn.Debug.assert(!!z,"derived should point to something, even if it is the base class' declaration."),z===W){var q=wn.getClassLikeDeclarationOfSymbol(B.symbol);if(128&J&&(!q||!wn.hasSyntacticModifier(q,128))){for(var X=0,Y=Ps(B);X<Y.length;X++){var Q=Y[X];if(Q!==U&&(Q=Hc(Q,W.escapedName),Q=Q&&lS(Q),Q&&Q!==W))continue e}224===q.kind?fa(q,wn.Diagnostics.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1,so(H),lo(U)):fa(q,wn.Diagnostics.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2,lo(B),so(H),lo(U))}}else if(q=wn.getDeclarationModifierFlagsFromSymbol(z),!(8&J||8&q)){H=void 0;var Z,$=98308&W.flags,ee=98308&z.flags;if($&&ee)128&J&&!(W.valueDeclaration&&wn.isPropertyDeclaration(W.valueDeclaration)&&W.valueDeclaration.initializer)||W.valueDeclaration&&256===W.valueDeclaration.parent.kind||z.valueDeclaration&&wn.isBinaryExpression(z.valueDeclaration)||(Z=4==$&&4!=ee,($=4!=$&&4==ee)||Z?(ee=$?wn.Diagnostics._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:wn.Diagnostics._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor,fa(wn.getNameOfDeclaration(z.valueDeclaration)||z.valueDeclaration,ee,so(W),lo(U),lo(B))):!T||!($=null==(Z=z.declarations)?void 0:Z.find((function(e){return 165===e.kind&&!e.initializer})))||33554432&z.flags||128&J||128&q||null!=(ee=z.declarations)&&ee.some((function(e){return!!(8388608&e.flags)}))||(Z=Fi(wn.getClassLikeDeclarationOfSymbol(B.symbol)),J=$.name,!$.exclamationToken&&Z&&wn.isIdentifier(J)&&x&&uS(J,B,Z))||(ee=wn.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,fa(wn.getNameOfDeclaration(z.valueDeclaration)||z.valueDeclaration,ee,so(W),lo(U))));else{if(vh(W)){if(vh(z)||4&z.flags)continue;wn.Debug.assert(!!(98304&z.flags)),H=wn.Diagnostics.Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor}else H=98304&W.flags?wn.Diagnostics.Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:wn.Diagnostics.Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function;fa(wn.getNameOfDeclaration(z.valueDeclaration)||z.valueDeclaration,H,lo(U),so(W),lo(B))}}}}}}for(var ne=e,te=r,re=a,ae=i,ie=!!(8388608&ne.flags),oe=wn.getEffectiveBaseTypeNode(ne)&&Ps(te),se=null!=oe&&oe.length?dc(wn.first(oe),te.thisType):void 0,ce=Rs(te),le=0,de=ne.members;le<de.length;le++)(e=>{wn.hasAmbientModifier(e)||(wn.isConstructorDeclaration(e)&&wn.forEach(e.parameters,(function(n){wn.isParameterPropertyDeclaration(n,e)&&ue(n,!0)})),ue(e))})(de[le]);function ue(e,n){var t,r,a,i,o=wn.hasOverrideModifier(e),s=wn.isStatic(e);se&&(o||v.noImplicitOverride)?(i=e.name&&HS(e.name)||HS(e))&&(a=s?ce:se,s=gl(s?ae:re,i.escapedName),t=gl(a,i.escapedName),r=lo(se),s&&!t&&o?(i=Vh(wn.symbolName(i),a))?fa(e,wn.Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1,r,so(i)):fa(e,wn.Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0,r):s&&null!=t&&t.declarations&&v.noImplicitOverride&&!ie&&(a=wn.some(t.declarations,(function(e){return wn.hasAbstractModifier(e)})),o||(a?wn.hasAbstractModifier(e)&&a&&fa(e,wn.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0,r):fa(e,n?wn.Diagnostics.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:wn.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0,r)))):o&&(i=lo(te),fa(e,wn.Diagnostics.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class,i))}if(t=wn.getEffectiveImplementsTypeNodes(e),t)for(var pe=0,me=t;pe<me.length;pe++){var _e,fe,ge,ye=me[pe];wn.isEntityNameExpression(ye.expression)&&!wn.isOptionalChain(ye.expression)||fa(ye.expression,wn.Diagnostics.A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments),kE(ye),n&&(_e=ul(Op(ye)))!==Zn&&(ws(_e)?(fe=_e.symbol&&32&_e.symbol.flags?wn.Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:wn.Diagnostics.Class_0_incorrectly_implements_interface_1,Tm(a,ge=dc(_e,r.thisType),void 0)||cS(e,a,ge,fe)):fa(ye,wn.Diagnostics.A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members))}if(n&&(tS(r),tS(i,!0),SE(e),M=e,x&&A&&!(8388608&M.flags)))for(var he=Fi(M),ve=0,be=M.members;ve<be.length;ve++){var Ee,Te,Se=be[ve];2&wn.getEffectiveModifierFlags(Se)||!wn.isStatic(Se)&&dS(Se)&&(Ee=Se.name,!wn.isIdentifier(Ee)&&!wn.isPrivateIdentifier(Ee)||3&(Te=hs(Ii(Se))).flags||32768&w_(Te)||he&&uS(Ee,Te,he)||fa(Se.name,wn.Diagnostics.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor,wn.declarationNameToString(Ee)))}}function cS(e,n,t,r){for(var a=!1,i=function(e){if(wn.isStatic(e))return"continue";var r,i,o=e.name&&HS(e.name)||HS(e);o&&(r=gl(n,o.escapedName),i=gl(t,o.escapedName),r)&&i&&(Tm(hs(r),hs(i),e.name||e,void 0,(function(){return wn.chainDiagnosticMessages(void 0,wn.Diagnostics.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2,so(o),lo(n),lo(t))}))||(a=!0))},o=0,s=e.members;o<s.length;o++)i(s[o]);a||Tm(n,t,e.name||e,r)}function lS(e){return 1&wn.getCheckFlags(e)?e.target:e}function dS(e){return 165===e.kind&&!wn.hasAbstractModifier(e)&&!e.exclamationToken&&!e.initializer}function uS(e,n,t){return e=wn.factory.createPropertyAccessExpression(wn.factory.createThis(),e),wn.setParent(e.expression,e),wn.setParent(e,t),e.flowNode=t.returnFlowNode,!(32768&w_(Kg(e,n,B_(n))))}function pS(e){if(Rx(e)||(e=>{var n=!1;if(e.heritageClauses)for(var t=0,r=e.heritageClauses;t<r.length;t++){var a=r[t];if(94!==a.token)return wn.Debug.assert(117===a.token),eL(a,wn.Diagnostics.Interface_declaration_cannot_have_implements_clause);if(n)return eL(a,wn.Diagnostics.extends_clause_already_seen);n=!0,Ux(a)}})(e),iS(e.typeParameters),n){aS(e.name,wn.Diagnostics.Interface_name_cannot_be_0),FE(e);var t=Ii(e);if(oS(t),e===wn.getDeclarationOfKind(t,256)){var r=Hs(t),a=dc(r);if(((e,n)=>{var t=Ps(e);if(t.length<2)return 1;for(var r=new wn.Map,a=(wn.forEach($s(e).declaredProperties,(function(n){r.set(n.escapedName,{prop:n,containingType:e})})),!0),i=0,o=t;i<o.length;i++)for(var s=o[i],c=0,l=zc(dc(s,e.thisType));c<l.length;c++){var d,u,p=l[c],m=r.get(p.escapedName);m?m.containingType===e||i_(m.prop,p)||(a=!1,m=lo(m.containingType),d=lo(s),u=wn.chainDiagnosticMessages(void 0,wn.Diagnostics.Named_property_0_of_types_1_and_2_are_not_identical,so(p),m,d),u=wn.chainDiagnosticMessages(u,wn.Diagnostics.Interface_0_cannot_simultaneously_extend_types_1_and_2,lo(e),m,d),Pr.add(wn.createDiagnosticForNodeFromMessageChain(n,u))):r.set(p.escapedName,{prop:p,containingType:s})}return a})(r,e.name)){for(var i=0,o=Ps(r);i<o.length;i++)Tm(a,dc(o[i],r.thisType),e.name,wn.Diagnostics.Interface_0_incorrectly_extends_interface_1);tS(r)}}TE(e)}wn.forEach(wn.getInterfaceBaseTypeNodes(e),(function(e){wn.isEntityNameExpression(e.expression)&&!wn.isOptionalChain(e.expression)||fa(e.expression,wn.Diagnostics.An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments),kE(e)})),wn.forEach(e.members,CS),n&&(SE(e),ZE(e))}function mS(e){var n=ka(e);if(!(16384&n.flags)){n.flags|=16384;for(var t=0,r=0,a=e.members;r<a.length;r++){var i=a[r],o=((e,n)=>{if(wn.isComputedNonLiteralName(e.name)?fa(e.name,wn.Diagnostics.Computed_property_names_are_not_allowed_in_enums):Hy(r=wn.getTextOfPropertyName(e.name))&&!wn.isInfinityOrNaNString(r)&&fa(e.name,wn.Diagnostics.An_enum_member_cannot_have_a_numeric_name),e.initializer){var t=e,r=Bs(Ii(t.parent)),a=wn.isEnumConst(t.parent),i=t.initializer,o=1!==r||Gs(t)?function e(n){switch(n.kind){case 217:var r=e(n.operand);if("number"==typeof r)switch(n.operator){case 39:return r;case 40:return-r;case 54:return~r}break;case 219:var a=e(n.left),i=e(n.right);if("number"==typeof a&&"number"==typeof i)switch(n.operatorToken.kind){case 51:return a|i;case 50:return a&i;case 48:return a>>i;case 49:return a>>>i;case 47:return a<<i;case 52:return a^i;case 41:return a*i;case 43:return a/i;case 39:return a+i;case 40:return a-i;case 44:return a%i;case 42:return Math.pow(a,i)}else if("string"==typeof a&&"string"==typeof i&&39===n.operatorToken.kind)return a+i;break;case 10:case 14:return n.text;case 8:return iL(n),+n.text;case 210:return e(n.expression);case 79:var o=n;return wn.isInfinityOrNaNString(o.escapedText)?+o.escapedText:wn.nodeIsMissing(n)?0:s(n,Ii(t.parent),o.escapedText);case 205:case 204:if(o=n,_S(o)){var c,l=_E(o.expression);if(l.symbol&&384&l.symbol.flags)return c=void 0,c=204===o.kind?o.name.escapedText:wn.escapeLeadingUnderscores(wn.cast(o.argumentExpression,wn.isLiteralExpression).text),s(n,l.symbol,c)}}}(i):void 0;if(void 0!==o)a&&"number"==typeof o&&!isFinite(o)&&fa(i,isNaN(o)?wn.Diagnostics.const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:wn.Diagnostics.const_enum_member_initializer_was_evaluated_to_a_non_finite_value);else{if(1===r)return fa(i,wn.Diagnostics.Computed_values_are_not_permitted_in_an_enum_with_string_valued_members),0;a?fa(i,wn.Diagnostics.const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values):8388608&t.parent.flags?fa(i,wn.Diagnostics.In_ambient_enum_declarations_member_initializer_must_be_constant_expression):Kb(r=yE(i),296)?Tm(r,Hs(Ii(t.parent)),i,void 0):fa(i,wn.Diagnostics.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,lo(r))}return o;function s(e,n,r){if(n=n.exports.get(r),n){if(r=n.valueDeclaration,r!==t)return r&&Pa(r,t)?fx(r):(fa(e,wn.Diagnostics.A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums),0);fa(e,wn.Diagnostics.Property_0_is_used_before_being_assigned,so(n))}}}if(!(8388608&e.parent.flags)||wn.isEnumConst(e.parent)||0!==Bs(Ii(e.parent))){if(void 0!==n)return n;fa(e.name,wn.Diagnostics.Enum_member_must_have_initializer)}})(i,t);t="number"==typeof(ka(i).enumMemberValue=o)?o+1:void 0}}}function _S(e){return 79===e.kind||204===e.kind&&_S(e.expression)||205===e.kind&&_S(e.expression)&&wn.isStringLiteralLike(e.argumentExpression)}function fS(e){wn.isPrivateIdentifier(e.name)&&fa(e,wn.Diagnostics.An_enum_member_cannot_be_named_with_a_private_identifier)}function gS(e){if(n){var t=wn.isGlobalScopeAugmentation(e),r=8388608&e.flags,a=(t&&!r&&fa(e.name,wn.Diagnostics.Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context),wn.isAmbientModule(e));if(TS(e,a?wn.Diagnostics.An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:wn.Diagnostics.A_namespace_declaration_is_only_allowed_in_a_namespace_or_module))return;Rx(e)||r||10!==e.name.kind||rL(e.name,wn.Diagnostics.Only_ambient_modules_can_use_quoted_names),wn.isIdentifier(e.name)&&fT(e,e.name),FE(e);var i=Ii(e);if(512&i.flags&&!r&&i.declarations&&1<i.declarations.length&&ak(e,wn.shouldPreserveConstEnums(v))&&((r=(e=>{if(e=e.declarations)for(var n=0,t=e;n<t.length;n++){var r=t[n];if((255===r.kind||254===r.kind&&wn.nodeIsPresent(r.body))&&!(8388608&r.flags))return r}})(i))&&(wn.getSourceFileOfNode(e)!==wn.getSourceFileOfNode(r)?fa(e.name,wn.Diagnostics.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged):e.pos<r.pos&&fa(e.name,wn.Diagnostics.A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged)),r=wn.getDeclarationOfKind(i,255))&&(i=e,r=r,i=wn.getEnclosingBlockScopeContainer(i),r=wn.getEnclosingBlockScopeContainer(r),Ra(i)?Ra(r):!Ra(r)&&i===r)&&(ka(e).flags|=32768),a)if(wn.isExternalModuleAugmentation(e)){if((t||33554432&Ii(e).flags)&&e.body)for(var o=0,s=e.body.statements;o<s.length;o++)!function e(n,t){var r;switch(n.kind){case 235:for(var a=0,i=n.declarationList.declarations;a<i.length;a++){var o=i[a];e(o,t)}break;case 269:case 270:eL(n,wn.Diagnostics.Exports_and_export_assignments_are_not_permitted_in_module_augmentations);break;case 263:case 264:eL(n,wn.Diagnostics.Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module);break;case 201:case 252:var s=n.name;if(wn.isBindingPattern(s)){for(var c=0,l=s.elements;c<l.length;c++){var d=l[c];e(d,t)}break}case 255:case 258:case 254:case 256:case 259:case 257:t||(s=Ii(n))&&(!(33554432&s.flags)||null!=(r=s.parent)&&r.declarations&&wn.isExternalModuleAugmentation(s.parent.declarations[0]))}}(s[o],t)}else Ra(e.parent)?t?fa(e.name,wn.Diagnostics.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations):wn.isExternalModuleNameRelative(wn.getTextOfIdentifierOrLiteral(e.name))&&fa(e.name,wn.Diagnostics.Ambient_module_declaration_cannot_specify_relative_module_name):fa(e.name,t?wn.Diagnostics.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:wn.Diagnostics.Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces)}e.body&&(CS(e.body),wn.isGlobalScopeAugmentation(e)||ZE(e))}function yS(e){var n=wn.getExternalModuleName(e);if(n&&!wn.nodeIsMissing(n))if(wn.isStringLiteral(n)){var t=260===e.parent.kind&&wn.isAmbientModule(e.parent.parent);if(300===e.parent.kind||t){if(!t||!wn.isExternalModuleNameRelative(n.text)||ho(e))return 1;fa(e,wn.Diagnostics.Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name)}else fa(n,270===e.kind?wn.Diagnostics.Export_declarations_are_not_permitted_in_a_namespace:wn.Diagnostics.Import_declarations_in_a_namespace_cannot_reference_a_module)}else fa(n,wn.Diagnostics.String_literal_expected)}function hS(e){var n,t=Ii(e),r=ai(t);r!==Jn&&(n=(1160127&(t=Ci(t.exportSymbol||t)).flags?111551:0)|(788968&t.flags?788968:0)|(1920&t.flags?1920:0),r.flags&n&&fa(e,273===e.kind?wn.Diagnostics.Export_declaration_conflicts_with_exported_declaration_of_0:wn.Diagnostics.Import_declaration_conflicts_with_local_declaration_of_0,so(t)),!v.isolatedModules||273!==e.kind||e.parent.parent.isTypeOnly||111551&r.flags||8388608&e.flags||fa(e,wn.Diagnostics.Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type),wn.isImportSpecifier(e))&&null!=(n=r.declarations)&&n.every((function(e){return!!(134217728&wn.getCombinedNodeFlags(e))}))&&ba(e.name,r.declarations,t.escapedName)}function vS(e){fT(e,e.name),hS(e),268===e.kind&&"default"===wn.idText(e.propertyName||e.name)&&v.esModuleInterop&&E!==wn.ModuleKind.System&&E<wn.ModuleKind.ES2015&&kx(e,131072)}function bS(e){var n;TS(e,wn.Diagnostics.An_import_declaration_can_only_be_used_in_a_namespace_or_module)||(!Rx(e)&&wn.hasEffectiveModifiers(e)&&eL(e,wn.Diagnostics.An_import_declaration_cannot_have_modifiers),yS(e)&&(n=e.importClause)&&!(e=>e.isTypeOnly&&e.name&&e.namedBindings&&rL(e,wn.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both))(n)&&(n.name&&vS(n),n.namedBindings)&&(266===n.namedBindings.kind?(vS(n.namedBindings),E!==wn.ModuleKind.System&&E<wn.ModuleKind.ES2015&&v.esModuleInterop&&kx(e,65536)):_i(e,e.moduleSpecifier)&&wn.forEach(n.namedBindings.elements,vS)))}function ES(e){var n,t;TS(e,wn.Diagnostics.An_export_declaration_can_only_be_used_in_a_module)||(!Rx(e)&&wn.hasEffectiveModifiers(e)&&eL(e,wn.Diagnostics.An_export_declaration_cannot_have_modifiers),e.moduleSpecifier&&e.exportClause&&wn.isNamedExports(e.exportClause)&&wn.length(e.exportClause.elements)&&0===b&&kx(e,2097152),(n=(t=e).isTypeOnly&&271!==(null==(n=t.exportClause)?void 0:n.kind))&&rL(t,wn.Diagnostics.Only_named_exports_may_use_export_type),e.moduleSpecifier&&!yS(e))||(e.exportClause&&!wn.isNamespaceExport(e.exportClause)?(wn.forEach(e.exportClause.elements,LS),t=!(n=260===e.parent.kind&&wn.isAmbientModule(e.parent.parent))&&260===e.parent.kind&&!e.moduleSpecifier&&8388608&e.flags,300===e.parent.kind||n||t||fa(e,wn.Diagnostics.Export_declarations_are_not_permitted_in_a_namespace)):((t=_i(e,e.moduleSpecifier))&&bi(t)?fa(e.moduleSpecifier,wn.Diagnostics.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,so(t)):e.exportClause&&hS(e.exportClause),E!==wn.ModuleKind.System&&E<wn.ModuleKind.ES2015&&(e.exportClause?v.esModuleInterop&&kx(e,65536):kx(e,32768))))}function TS(e,n){var t=300===e.parent.kind||260===e.parent.kind||259===e.parent.kind;return t||eL(e,n),!t}function SS(e){return wn.isImportDeclaration(e)&&e.importClause&&!e.importClause.isTypeOnly&&(n=e.importClause,wn.forEachImportClauseDeclaration(n,(function(e){return!!Ii(e).isReferenced})))&&!cx(e.importClause,!0)&&(n=e.importClause,!wn.forEachImportClauseDeclaration(n,(function(e){return!!Na(Ii(e)).constEnumReferenced})));var n}function xS(e){for(var n,t=0,r=e.statements;t<r.length;t++){var a=r[t];!SS(a)&&(n=a,!wn.isImportEqualsDeclaration(n)||!wn.isExternalModuleReference(n.moduleReference)||n.isTypeOnly||!Ii(n).isReferenced||cx(n,!1)||Na(Ii(n)).constEnumReferenced)||fa(a,wn.Diagnostics.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error)}}function LS(e){var n,t;hS(e),wn.getEmitDeclarations(v)&&So(e.propertyName||e.name,!0),e.parent.parent.moduleSpecifier?v.esModuleInterop&&E!==wn.ModuleKind.System&&E<wn.ModuleKind.ES2015&&"default"===wn.idText(e.propertyName||e.name)&&kx(e,131072):(n=Ma(t=e.propertyName||e.name,t.escapedText,2998271,void 0,void 0,!0))&&(n===Ee||n===Te||n.declarations&&Ra(Ao(n.declarations[0])))?fa(t,wn.Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,wn.idText(t)):(ci(e),(!(t=n&&(2097152&n.flags?ai(n):n))||t===Jn||111551&t.flags)&&nE(e.propertyName||e.name))}function DS(e){e=Ii(e);var n,t=Na(e);t.exportsChecked||((n=e.exports.get("export="))&&wn.forEachEntry(e.exports,(function(e,n){return"export="!==n}))&&(!(n=Ka(n)||n.valueDeclaration)||ho(n)||wn.isInJSFile(n)||fa(n,wn.Diagnostics.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements)),(n=Li(e))&&n.forEach((function(e,n){var t=e.declarations;e=e.flags;if("__export"!==n&&!(1984&e)){var r=wn.countWhere(t,Wn);if(!(524288&e&&r<=2)&&1<r&&!AS(t))for(var a=0,i=t;a<i.length;a++){var o=i[a];ik(o)&&Pr.add(wn.createDiagnosticForNode(o,wn.Diagnostics.Cannot_redeclare_exported_variable_0,wn.unescapeLeadingUnderscores(n)))}}})),t.exportsChecked=!0)}function AS(e){return e&&1<e.length&&e.every((function(e){return wn.isInJSFile(e)&&wn.isAccessExpression(e)&&(wn.isExportsIdentifier(e.expression)||wn.isModuleExportsAccessExpression(e.expression))}))}function CS(e){var r;e&&(r=i,f=0,(e=>{wn.isInJSFile(e)&&wn.forEach(e.jsDoc,(function(e){return e=e.tags,wn.forEach(e,CS)}));var r=e.kind;if(t)switch(r){case 259:case 255:case 256:case 254:t.throwIfCancellationRequested()}switch(235<=r&&r<=251&&e.flowNode&&!Vg(e.flowNode)&&ya(!1===v.allowUnreachableCode,e,wn.Diagnostics.Unreachable_code_detected),r){case 161:return hE(e);case 162:return vE(e);case 165:return xE(e);case 164:return(e=>(wn.isPrivateIdentifier(e.name)&&fa(e,wn.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),xE(e)))(e);case 178:case 177:case 172:case 173:case 174:return EE(e);case 167:case 166:return(e=>{Xx(e)||jx(e.name),QE(e),wn.hasSyntacticModifier(e,128)&&167===e.kind&&e.body&&fa(e,wn.Diagnostics.Method_0_cannot_have_an_implementation_because_it_is_marked_abstract,wn.declarationNameToString(e.name)),wn.isPrivateIdentifier(e.name)&&!wn.getContainingClass(e)&&fa(e,wn.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),LE(e)})(e);case 168:return(e=>{Rx(e),wn.forEachChild(e,CS)})(e);case 169:return DE(e);case 170:case 171:return AE(e);case 176:return kE(e);case 175:return bE(e);case 179:return(e=>{Od(e)})(e);case 180:return(e=>{wn.forEach(e.members,CS),n&&(tS(mp(e)),SE(e),TE(e))})(e);case 181:return(e=>{CS(e.elementType)})(e);case 182:return(e=>{for(var n=e.elements,t=!1,r=!1,a=wn.some(n,wn.isNamedTupleMember),i=0,o=n;i<o.length;i++){var s=o[i];if(195!==s.kind&&a){rL(s,wn.Diagnostics.Tuple_members_must_all_have_names_or_all_not_have_names);break}var c=Xd(s);if(8&c){var l=Op(s.type);if(!m_(l)){fa(s,wn.Diagnostics.A_rest_element_type_must_be_an_array_type);break}(l_(l)||C_(l)&&4&l.target.combinedFlags)&&(r=!0)}else if(4&c){if(r){rL(s,wn.Diagnostics.A_rest_element_cannot_follow_another_rest_element);break}r=!0}else if(2&c){if(r){rL(s,wn.Diagnostics.An_optional_element_cannot_follow_a_rest_element);break}t=!0}else if(t){rL(s,wn.Diagnostics.A_required_element_cannot_follow_an_optional_element);break}}wn.forEach(e.elements,CS),Op(e)})(e);case 185:case 186:return(e=>{wn.forEach(e.types,CS),Op(e)})(e);case 189:case 183:case 184:return CS(e.type);case 190:return(e=>{Np(e)})(e);case 191:return OE(e);case 187:return(e=>{wn.forEachChild(e,CS)})(e);case 188:return(e=>{wn.findAncestor(e,(function(e){return e.parent&&187===e.parent.kind&&e.parent.extendsType===e}))||rL(e,wn.Diagnostics.infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type),CS(e.typeParameter),ZE(e)})(e);case 196:return(e=>{for(var n=0,t=e.templateSpans;n<t.length;n++){var r=t[n];CS(r.type),Tm(Op(r.type),Ct,r.type)}Op(e)})(e);case 198:return(e=>{CS(e.argument),Op(e)})(e);case 195:return(e=>{e.dotDotDotToken&&e.questionToken&&rL(e,wn.Diagnostics.A_tuple_member_cannot_be_both_optional_and_rest),183===e.type.kind&&rL(e.type,wn.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),184===e.type.kind&&rL(e.type,wn.Diagnostics.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type),CS(e.type),Op(e)})(e);case 323:return(e=>{var n,t,r=wn.getEffectiveJSDocHost(e);r&&(wn.isClassDeclaration(r)||wn.isClassExpression(r))?(n=wn.getJSDocTags(r).filter(wn.isJSDocAugmentsTag),wn.Debug.assert(0<n.length),1<n.length&&fa(n[1],wn.Diagnostics.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag),n=YE(e.class.expression),(t=wn.getClassExtendsHeritageElement(r))&&(t=YE(t.expression))&&n.escapedText!==t.escapedText&&fa(n,wn.Diagnostics.JSDoc_0_1_does_not_match_the_extends_2_clause,wn.idText(e.tagName),wn.idText(n),wn.idText(t))):fa(r,wn.Diagnostics.JSDoc_0_is_not_attached_to_a_class,wn.idText(e.tagName))})(e);case 324:return(e=>{var n=wn.getEffectiveJSDocHost(e);n&&(wn.isClassDeclaration(n)||wn.isClassExpression(n))||fa(n,wn.Diagnostics.JSDoc_0_is_not_attached_to_a_class,wn.idText(e.tagName))})(e);case 340:case 333:case 334:return(e=>{e.typeExpression||fa(e.name,wn.Diagnostics.JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags),e.name&&aS(e.name,wn.Diagnostics.Type_alias_name_cannot_be_0),CS(e.typeExpression)})(e);case 339:return(e=>{CS(e.constraint);for(var n=0,t=e.typeParameters;n<t.length;n++)CS(t[n])})(e);case 338:return(e=>{CS(e.typeExpression)})(e);case 335:return(e=>{var n,t;CS(e.typeExpression),wn.getParameterSymbolFromJSDoc(e)||!(n=wn.getHostSignatureFromJSDoc(e))||-1<(t=wn.getJSDocTags(n).filter(wn.isJSDocParameterTag).indexOf(e))&&t<n.parameters.length&&wn.isBindingPattern(n.parameters[t].name)||(Ul(n)?wn.findLast(wn.getJSDocTags(n),wn.isJSDocParameterTag)===e&&e.typeExpression&&e.typeExpression.type&&!l_(Op(e.typeExpression.type))&&fa(e.name,wn.Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type,wn.idText(159===e.name.kind?e.name.right:e.name)):wn.isQualifiedName(e.name)?fa(e.name,wn.Diagnostics.Qualified_name_0_is_not_allowed_without_a_leading_param_object_1,wn.entityNameToString(e.name),wn.entityNameToString(e.name.left)):fa(e.name,wn.Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name,wn.idText(e.name)))})(e);case 342:return(e=>{CS(e.typeExpression)})(e);case 312:(e=>{!n||e.type||wn.isJSDocConstructSignature(e)||tf(e,Xn),EE(e)})(e);case 310:case 309:case 307:case 308:case 317:return IS(e),wn.forEachChild(e,CS);case 313:return(e=>{IS(e),CS(e.type);var n,t=e.parent;wn.isParameter(t)&&wn.isJSDocFunctionType(t.parent)?wn.last(t.parent.parameters)!==t&&fa(e,wn.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list):(wn.isJSDocTypeExpression(t)||fa(e,wn.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature),t=e.parent.parent,wn.isJSDocParameterTag(t)?!(n=wn.getParameterSymbolFromJSDoc(t))||(t=wn.getHostSignatureFromJSDoc(t))&&wn.last(t.parameters).symbol===n||fa(e,wn.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list):fa(e,wn.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature))})(e);case 304:return CS(e.type);case 192:return(e=>{CS(e.objectType),CS(e.indexType),RE(np(e),e)})(e);case 193:return(e=>{CS(e.typeParameter),CS(e.nameType),CS(e.type),e.type||tf(e,Xn);var n=tp(e),t=Oc(n);t?Tm(t,Dt,e.nameType):Tm(Rc(n),Dt,wn.getEffectiveConstraintOfTypeParameter(e.typeParameter))})(e);case 254:return(e=>{n&&(QE(e),Kx(e),fT(e,e.name))})(e);case 233:case 260:return lT(e);case 235:return TT(e);case 236:return(e=>{aL(e),yE(e.expression)})(e);case 237:return(e=>{aL(e);var n=LT(e.expression);ST(e.expression,n,e.thenStatement),CS(e.thenStatement),234===e.thenStatement.kind&&fa(e.thenStatement,wn.Diagnostics.The_body_of_an_if_statement_cannot_be_the_empty_statement),CS(e.elseStatement)})(e);case 238:return(e=>{aL(e),CS(e.statement),LT(e.expression)})(e);case 239:return(e=>{aL(e),LT(e.expression),CS(e.statement)})(e);case 240:return(e=>{aL(e)||e.initializer&&253===e.initializer.kind&&Zx(e.initializer),e.initializer&&(253===e.initializer.kind?wn.forEach(e.initializer.declarations,bT):yE(e.initializer)),e.condition&&LT(e.condition),e.incrementor&&yE(e.incrementor),CS(e.statement),e.locals&&ZE(e)})(e);case 241:return DT(e);case 242:return(e=>{zx(e);var n,t,r=wn.getContainingFunctionOrClassStaticBlock(e);e.awaitModifier?r&&wn.isClassStaticBlockDeclaration(r)?rL(e.awaitModifier,wn.Diagnostics.For_await_loops_cannot_be_used_inside_a_class_static_block):2==(6&wn.getFunctionFlags(r))&&b<99&&kx(e,16384):v.downlevelIteration&&b<2&&kx(e,256),253===e.initializer.kind?AT(e):(r=e.initializer,n=CT(e),202===r.kind||203===r.kind?Xb(r,n||Zn):(t=yE(r),Bb(r,wn.Diagnostics.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access,wn.Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access),n&&Sm(n,t,r,e.expression))),CS(e.statement),e.locals&&ZE(e)})(e);case 243:case 244:return ZT(e);case 245:return(e=>{var n,t,r,a,i;aL(e)||((n=wn.getContainingFunctionOrClassStaticBlock(e))&&wn.isClassStaticBlockDeclaration(n)?eL(e,wn.Diagnostics.A_return_statement_cannot_be_used_inside_a_class_static_block):n?(t=zl(Gl(n)),i=wn.getFunctionFlags(n),x||e.expression||131072&t.flags?(r=e.expression?nE(e.expression):tt,171===n.kind?e.expression&&fa(e,wn.Diagnostics.Setters_cannot_return_a_value):169===n.kind?e.expression&&!Sm(r,t,e,e.expression)&&fa(e,wn.Diagnostics.Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class):Jl(n)&&(a=null!=(a=$T(t,i))?a:t,i=2&i?UE(r,e,wn.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):r,a)&&Sm(i,a,e,e.expression)):169!==n.kind&&v.noImplicitReturns&&!eS(n,t)&&fa(e,wn.Diagnostics.Not_all_code_paths_return_a_value)):eL(e,wn.Diagnostics.A_return_statement_can_only_be_used_within_a_function_body))})(e);case 246:return(e=>{aL(e)||32768&e.flags&&eL(e,wn.Diagnostics.with_statements_are_not_allowed_in_an_async_function_block),yE(e.expression);var n=wn.getSourceFileOfNode(e);$x(n)||nL(n,n=wn.getSpanOfTokenAtPosition(n,e.pos).start,e.statement.pos-n,wn.Diagnostics.The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any)})(e);case 247:return(e=>{aL(e);var t,r=!1,a=yE(e.expression),i=T_(a);wn.forEach(e.caseBlock.clauses,(function(e){var o,s,c;288!==e.kind||r||(void 0===t?t=e:(rL(e,wn.Diagnostics.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement),r=!0)),n&&287===e.kind&&(s=T_(o=yE(e.expression)),c=a,s&&i||(o=s?S_(o):o,c=S_(a)),Yb(c,o)||Nm(o,c,e.expression,void 0)),wn.forEach(e.statements,CS),v.noFallthroughCasesInSwitch&&e.fallthroughFlowNode&&Vg(e.fallthroughFlowNode)&&fa(e,wn.Diagnostics.Fallthrough_case_in_switch)})),e.caseBlock.locals&&ZE(e.caseBlock)})(e);case 248:return(e=>{aL(e)||wn.findAncestor(e.parent,(function(n){return wn.isFunctionLike(n)?"quit":248===n.kind&&n.label.escapedText===e.label.escapedText&&(rL(e.label,wn.Diagnostics.Duplicate_label_0,wn.getTextOfNode(e.label)),!0)})),CS(e.statement)})(e);case 249:return nS(e);case 250:return(e=>{aL(e),lT(e.tryBlock);var n,t,r,a,i=e.catchClause;i&&(i.variableDeclaration&&(n=i.variableDeclaration,(t=wn.getEffectiveTypeAnnotationNode(wn.getRootDeclaration(n)))?!(r=jo(n,!1))||3&r.flags||eL(t,wn.Diagnostics.Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified):n.initializer?eL(n.initializer,wn.Diagnostics.Catch_clause_variable_cannot_have_an_initializer):(a=i.block.locals)&&wn.forEachKey(i.locals,(function(e){var n=a.get(e);null!=n&&n.valueDeclaration&&0!=(2&n.flags)&&rL(n.valueDeclaration,wn.Diagnostics.Cannot_redeclare_identifier_0_in_catch_clause,e)}))),lT(i.block)),e.finallyBlock&&lT(e.finallyBlock)})(e);case 252:return bT(e);case 201:return ET(e);case 255:return(e=>{wn.some(e.decorators)&&wn.some(e.members,(function(e){return wn.hasStaticModifier(e)&&wn.isPrivateIdentifierClassElementDeclaration(e)}))&&rL(e.decorators[0],wn.Diagnostics.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator),e.name||wn.hasSyntacticModifier(e,512)||eL(e,wn.Diagnostics.A_class_declaration_without_the_default_modifier_must_have_a_name),sS(e),wn.forEach(e.members,CS),ZE(e)})(e);case 256:return pS(e);case 257:return(e=>{Rx(e),aS(e.name,wn.Diagnostics.Type_alias_name_cannot_be_0),FE(e),iS(e.typeParameters),137===e.type.kind?zn.has(e.name.escapedText)&&1===wn.length(e.typeParameters)||fa(e.type,wn.Diagnostics.The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types):(CS(e.type),ZE(e))})(e);case 258:return(e=>{var t,r,a;n&&(Rx(e),fT(e,e.name),FE(e),e.members.forEach(fS),mS(e),t=Ii(e),e===wn.getDeclarationOfKind(t,e.kind))&&(t.declarations&&1<t.declarations.length&&(r=wn.isEnumConst(e),wn.forEach(t.declarations,(function(e){wn.isEnumDeclaration(e)&&wn.isEnumConst(e)!==r&&fa(wn.getNameOfDeclaration(e),wn.Diagnostics.Enum_declarations_must_all_be_const_or_non_const)}))),a=!1,wn.forEach(t.declarations,(function(e){return 258===e.kind&&!!e.members.length&&void((e=e.members[0]).initializer||(a?fa(e.name,wn.Diagnostics.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element):a=!0))})))})(e);case 259:return gS(e);case 264:return bS(e);case 263:return(e=>{var n,t;!TS(e,wn.Diagnostics.An_import_declaration_can_only_be_used_in_a_namespace_or_module)&&(Rx(e),wn.isInternalModuleImportEqualsDeclaration(e)||yS(e))&&(vS(e),wn.hasSyntacticModifier(e,1)&&ci(e),275!==e.moduleReference.kind?((n=ai(Ii(e)))!==Jn&&(111551&n.flags&&(1920&pi(t=wn.getFirstIdentifier(e.moduleReference),112575).flags||fa(t,wn.Diagnostics.Module_0_is_hidden_by_a_local_declaration_with_the_same_name,wn.declarationNameToString(t))),788968&n.flags)&&aS(e.name,wn.Diagnostics.Import_name_cannot_be_0),e.isTypeOnly&&rL(e,wn.Diagnostics.An_import_alias_cannot_use_import_type)):!(E>=wn.ModuleKind.ES2015)||e.isTypeOnly||8388608&e.flags||rL(e,wn.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))})(e);case 270:return ES(e);case 269:return(e=>{var n,t,r;TS(e,e.isExportEquals?wn.Diagnostics.An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:wn.Diagnostics.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration)||(259!==(n=(300===e.parent.kind?e:e.parent).parent).kind||wn.isAmbientModule(n)?(!Rx(e)&&wn.hasEffectiveModifiers(e)&&eL(e,wn.Diagnostics.An_export_assignment_cannot_have_modifiers),79===e.expression.kind?((!(t=pi(r=e.expression,67108863,!0,!0,e))||(Zg(t,r),(r=2097152&t.flags?ai(t):t)===Jn)||111551&r.flags)&&nE(e.expression),wn.getEmitDeclarations(v)&&So(e.expression,!0)):nE(e.expression),DS(n),8388608&e.flags&&!wn.isEntityNameExpression(e.expression)&&rL(e.expression,wn.Diagnostics.The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context),!e.isExportEquals||8388608&e.flags||(E>=wn.ModuleKind.ES2015?rL(e,wn.Diagnostics.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead):E===wn.ModuleKind.System&&rL(e,wn.Diagnostics.Export_assignment_is_not_supported_when_module_flag_is_system))):e.isExportEquals?fa(e,wn.Diagnostics.An_export_assignment_cannot_be_used_in_a_namespace):fa(e,wn.Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module))})(e);case 234:case 251:return aL(e);case 274:(e=>{XE(e)})(e)}})(i=e),i=r)}function IS(e){wn.isInJSFile(e)||rL(e,wn.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments)}function NS(e){var n,t=ka(wn.getSourceFileOfNode(e));1&t.flags||(t.deferredNodes=t.deferredNodes||new wn.Map,n=tk(e),t.deferredNodes.set(n,e))}function kS(e){null!=wn.tracing&&wn.tracing.push("check","checkDeferredNode",{kind:e.kind,pos:e.pos,end:e.end});var n,t,r,a,o=i;switch(f=0,(i=e).kind){case 206:case 207:case 208:case 163:case 278:tv(e);break;case 211:case 212:case 167:case 166:n=e,wn.Debug.assert(167!==n.kind||wn.isObjectLiteralMethod(n)),r=wn.getFunctionFlags(n),a=Jl(n),Ob(n,a),n.body&&(wn.getEffectiveReturnTypeNode(n)||zl(Gl(n)),233===n.body.kind?CS(n.body):(t=yE(n.body),(a=a&&$T(a,r))&&Sm(2==(3&r)?UE(t,n.body,wn.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):t,a,n.body,n.body)));break;case 170:case 171:AE(e);break;case 224:r=e,wn.forEach(r.members,CS),ZE(r);break;case 277:_h(e);break;case 276:_h((t=e).openingElement),Zy(t.closingElement.tagName)?ah(t.closingElement):yE(t.closingElement.tagName),eh(t)}i=o,null!=wn.tracing&&wn.tracing.pop()}function RS(n){var t,r;null!=wn.tracing&&wn.tracing.push("check","checkSourceFile",{path:n.path},!0),wn.performance.mark("beforeCheck"),1&(r=ka(n=n)).flags||wn.skipTypeChecking(n,v,e)||((e=>{8388608&e.flags&&(e=>{for(var n=0,t=e.statements;n<t.length;n++){var r=t[n];if((wn.isDeclaration(r)||235===r.kind)&&(e=>256!==e.kind&&257!==e.kind&&264!==e.kind&&263!==e.kind&&270!==e.kind&&269!==e.kind&&262!==e.kind&&!wn.hasSyntacticModifier(e,515)&&eL(e,wn.Diagnostics.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier))(r))return}})(e)})(n),wn.clear(Ir),wn.clear(Nr),wn.clear(kr),wn.clear(Rr),wn.forEach(n.statements,CS),CS(n.endOfFileToken),(t=ka(t=n)).deferredNodes&&t.deferredNodes.forEach(kS),wn.isExternalOrCommonJsModule(n)&&ZE(n),n.isDeclarationFile||!v.noUnusedLocals&&!v.noUnusedParameters||$E(PS(n),(function(e,n,t){!wn.containsParseError(e)&&OS(n,!!(8388608&e.flags))&&Pr.add(t)})),2===v.importsNotUsedAsValues&&!n.isDeclarationFile&&wn.isExternalModule(n)&&xS(n),wn.isExternalOrCommonJsModule(n)&&DS(n),Ir.length&&(wn.forEach(Ir,uT),wn.clear(Ir)),Nr.length&&(wn.forEach(Nr,pT),wn.clear(Nr)),kr.length&&(wn.forEach(kr,mT),wn.clear(kr)),Rr.length&&(wn.forEach(Rr,_T),wn.clear(Rr)),r.flags|=1),wn.performance.mark("afterCheck"),wn.performance.measure("Check","beforeCheck","afterCheck"),null!=wn.tracing&&wn.tracing.pop()}function OS(e,n){if(!n)switch(e){case 0:return v.noUnusedLocals;case 1:return v.noUnusedParameters;default:return wn.Debug.assertNever(e)}}function PS(e){return ar.get(e.path)||wn.emptyArray}function wS(n,r){try{t=r;var a,i,o,s=n;return MS(),s?(o=Pr.getGlobalDiagnostics(),a=o.length,RS(s),s=Pr.getDiagnostics(s.fileName),(i=Pr.getGlobalDiagnostics())!==o?(o=wn.relativeComplement(o,i,wn.compareDiagnostics),wn.concatenate(o,s)):0===a&&0<i.length?wn.concatenate(i,s):s):(wn.forEach(e.getSourceFiles(),RS),Pr.getDiagnostics())}finally{t=void 0}}function MS(){if(!n)throw new Error("Trying to get diagnostics from a type checker that does not produce them.")}function FS(e){switch(e.kind){case 161:case 255:case 256:case 257:case 258:case 340:case 333:case 334:return!0;case 265:return e.isTypeOnly;case 268:case 273:return e.parent.parent.isTypeOnly;default:return!1}}function GS(e){for(;159===e.parent.kind;)e=e.parent;return 176===e.parent.kind}function BS(e,n){for(var t;(e=wn.getContainingClass(e))&&!(t=n(e)););return t}function US(e,n){return BS(e,(function(e){return e===n}))}function VS(e){return void 0!==(e=>{for(;159===e.parent.kind;)e=e.parent;return 263===e.parent.kind?e.parent.moduleReference===e?e.parent:void 0:269===e.parent.kind&&e.parent.expression===e?e.parent:void 0})(e)}function jS(e){if(wn.isDeclarationName(e))return Ii(e.parent);if(wn.isInJSFile(e)&&204===e.parent.kind&&e.parent===e.parent.parent.left&&!wn.isPrivateIdentifier(e)&&!wn.isJSDocMemberName(e)){var n=(e=>{switch(wn.getAssignmentDeclarationKind(e.parent.parent)){case 1:case 3:return Ii(e.parent);case 4:case 2:case 5:return Ii(e.parent.parent)}})(e);if(n)return n}if(269===e.parent.kind&&wn.isEntityNameExpression(e)){if(n=pi(e,2998271,!0),n&&n!==Jn)return n}else if(wn.isEntityName(e)&&VS(e))return n=wn.getAncestor(e,263),wn.Debug.assert(void 0!==n),di(e,!0);if(wn.isEntityName(e)){n=(e=>{for(var n=e.parent;wn.isQualifiedName(n);)n=(e=n).parent;if(n&&198===n.kind&&n.qualifier===e)return n})(e);if(n)return Op(n),(n=ka(e).resolvedSymbol)===Jn?void 0:n}for(;wn.isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName(e);)e=e.parent;if((e=>{for(;204===e.parent.kind;)e=e.parent;return 226===e.parent.kind})(e)){var t=0;n=(226===e.parent.kind?(t=788968,wn.isExpressionWithTypeArgumentsInClassExtendsClause(e.parent)&&(t|=111551)):t=1920,t|=2097152,wn.isEntityNameExpression(e)?pi(e,t):void 0);if(n)return n}if(335===e.parent.kind)return wn.getParameterSymbolFromJSDoc(e.parent);if(161===e.parent.kind&&339===e.parent.parent.kind)return wn.Debug.assert(!wn.isInJSFile(e)),(n=wn.getTypeParameterFromJsDoc(e.parent))&&n.symbol;if(wn.isExpressionNode(e)){if(wn.nodeIsMissing(e))return;n=wn.findAncestor(e,wn.or(wn.isJSDocLinkLike,wn.isJSDocNameReference,wn.isJSDocMemberName)),t=n?901119:111551;if(79===e.kind){if(wn.isJSXTagName(e)&&Zy(e))return(r=ah(e.parent))===Jn?void 0:r;var r=pi(e,t,!1,!n,wn.getHostSignatureFromJSDoc(e));if(!r&&n){var a=wn.findAncestor(e,wn.or(wn.isClassLike,wn.isInterfaceDeclaration));if(a)return KS(e,Ii(a))}return r}if(204===e.kind||159===e.kind)return(a=ka(e)).resolvedSymbol||((204===e.kind?Nh:kh)(e,0),!a.resolvedSymbol&&n&&wn.isQualifiedName(e)?KS(e):a.resolvedSymbol);if(wn.isJSDocMemberName(e))return KS(e)}else if(GS(e))return pi(e,t=176===e.parent.kind?788968:1920,!1,!0);return 175===e.parent.kind?pi(e,1):void 0}function KS(e,n){if(wn.isEntityName(e)){var t=pi(e,901119,!1,!0,wn.getHostSignatureFromJSDoc(e));if(t=!t&&wn.isIdentifier(e)&&n?Ci(Oa(xi(n),e.escapedText,901119)):t)return t}if(t=wn.isIdentifier(e)?n:KS(e.left),n=(wn.isIdentifier(e)?e:e.right).escapedText,t)return e=111551&t.flags&&gl(hs(t),"prototype"),gl(e?hs(e):Hs(t),n)}function HS(e,n){if(300===e.kind)return wn.isExternalModule(e)?Ci(e.symbol):void 0;var t,r,a=e.parent,i=a.parent;if(!(16777216&e.flags)){if(ok(e))return t=Ii(a),wn.isImportOrExportSpecifier(e.parent)&&e.parent.propertyName===e?qy(t):t;if(wn.isLiteralComputedPropertyDeclarationName(e))return Ii(a.parent);if(79===e.kind){if(VS(e))return jS(e);if(201===a.kind&&199===i.kind&&e===a.propertyName){if(r=gl(WS(i),e.escapedText))return r}else if(wn.isMetaProperty(a)){if(r=gl(WS(a),e.escapedText))return r;if(103===a.keywordToken)return ib(a).symbol}}switch(e.kind){case 79:case 80:case 204:case 159:return jS(e);case 108:var o=wn.getThisContainer(e,!1);if(wn.isFunctionLike(o)&&(o=Gl(o),o.thisParameter))return o.thisParameter;if(wn.isInExpressionContext(e))return yE(e).symbol;case 190:return Np(e).symbol;case 106:return yE(e).symbol;case 133:return o=e.parent,o&&169===o.kind?o.parent.symbol:void 0;case 10:case 14:if(wn.isExternalModuleImportEqualsDeclaration(e.parent.parent)&&wn.getExternalModuleImportEqualsDeclarationExpression(e.parent.parent)===e||(264===e.parent.kind||270===e.parent.kind)&&e.parent.moduleSpecifier===e||wn.isInJSFile(e)&&wn.isRequireCall(e.parent,!1)||wn.isImportCall(e.parent)||wn.isLiteralTypeNode(e.parent)&&wn.isLiteralImportTypeNode(e.parent.parent)&&e.parent.parent.argument===e.parent)return _i(e,e,n);if(wn.isCallExpression(a)&&wn.isBindableObjectDefinePropertyCall(a)&&a.arguments[1]===e)return Ii(a);case 8:return o=wn.isElementAccessExpression(a)?a.argumentExpression===e?_E(a.expression):void 0:wn.isLiteralTypeNode(a)&&wn.isIndexedAccessTypeNode(i)?Op(i.objectType):void 0,o&&gl(o,wn.escapeLeadingUnderscores(e.text));case 88:case 98:case 38:case 84:return Ii(e.parent);case 198:return wn.isLiteralImportTypeNode(e)?HS(e.argument.literal,n):void 0;case 93:return wn.isExportAssignment(e.parent)?wn.Debug.checkDefined(e.parent.symbol):void 0;case 100:case 103:return wn.isMetaProperty(e.parent)?ab(e.parent).symbol:void 0;case 229:return yE(e).symbol;default:return}}}function WS(e){if(wn.isSourceFile(e)&&!wn.isExternalModule(e))return Zn;if(16777216&e.flags)return Zn;var n,t,r=wn.tryGetClassImplementingOrExtendingExpressionWithTypeArguments(e),a=r&&Ms(Ii(r.class));return wn.isPartOfTypeNode(e)?(t=Op(e),a?dc(t,a.thisType):t):wn.isExpressionNode(e)?JS(e):a&&!r.isImplements?(t=wn.firstOrUndefined(Ps(a)))?dc(t,a.thisType):Zn:FS(e)?Hs(n=Ii(e)):79===(r=e).kind&&FS(r.parent)&&wn.getNameOfDeclaration(r.parent)===r?(n=HS(e))?Hs(n):Zn:wn.isDeclaration(e)?hs(n=Ii(e)):ok(e)?(n=HS(e))?hs(n):Zn:wn.isBindingPattern(e)?jo(e.parent,!0)||Zn:VS(e)&&(n=HS(e))?(t=Hs(n))!==Zn?t:hs(n):wn.isMetaProperty(e.parent)&&e.parent.keywordToken===e.kind?ab(e.parent):Zn}function zS(e){var n,t,r;return wn.Debug.assert(203===e.kind||202===e.kind),242===e.parent.kind?Xb(e,CT(e.parent)||Zn):219===e.parent.kind?Xb(e,_E(e.parent.right)||Zn):291===e.parent.kind?Jb(n=wn.cast(e.parent.parent,wn.isObjectLiteralExpression),zS(n)||Zn,wn.indexOfNode(n.properties,e.parent)):(r=IT(65,t=zS(n=wn.cast(e.parent,wn.isArrayLiteralExpression))||Zn,tt,e.parent)||Zn,qb(n,t,n.elements.indexOf(e),r))}function JS(e){return xp(_E(e=wn.isRightSideOfQualifiedNameOrPropertyAccess(e)?e.parent:e))}function qS(e){e=ol(e);var n=wn.createSymbolTable(zc(e));e=hl(e,0).length?Oe:hl(e,1).length?Pe:void 0;return e&&wn.forEach(zc(e),(function(e){n.has(e.escapedName)||n.set(e.escapedName,e)})),Hi(n)}function XS(e){return wn.typeHasCallOrConstructSignatures(e,Le)}function YS(e){var n,t;return 6&wn.getCheckFlags(e)?wn.mapDefined(Na(e).containingType.types,(function(n){return gl(n,e.escapedName)})):33554432&e.flags?(n=e.leftSpread,t=e.syntheticOrigin,n?[n,e.rightSpread]:t?[t]:wn.singleElementArray((e=>{for(var n,t=e;t=Na(t).target;)n=t;return n})(e))):void 0}function QS(e){var n;return!wn.isGeneratedIdentifier(e)&&!!(e=wn.getParseTreeNode(e,wn.isIdentifier))&&!(!(n=e.parent)||(wn.isPropertyAccessExpression(n)||wn.isPropertyAssignment(n))&&n.name===e||xx(e)!==Se)}function ZS(e){var n,t;e=_i(e.parent,e);return!(e&&!wn.isShorthandAmbientModuleSymbol(e))||(n=bi(e),void 0===(t=Na(e=hi(e))).exportsSomeValue&&(t.exportsSomeValue=n?!!(111551&e.flags):wn.forEachEntry(Li(e),(function(e){return(e=ri(e))&&!!(111551&e.flags)}))),t.exportsSomeValue)}function $S(e,n){if(e=wn.getParseTreeNode(e,wn.isIdentifier),e){var t=xx(e,(t=e,wn.isModuleOrEnumDeclaration(t.parent)&&t===t.parent.name));if(t){if(1048576&t.flags){var r=Ci(t.exportSymbol);if(!n&&944&r.flags&&!(3&r.flags))return;t=r}var a=Ni(t);if(a)return 512&a.flags&&300===(null==(n=a.valueDeclaration)?void 0:n.kind)?(r=a.valueDeclaration)!==wn.getSourceFileOfNode(e)?void 0:r:wn.findAncestor(e.parent,(function(e){return wn.isModuleOrEnumDeclaration(e)&&Ii(e)===a}))}}}function ex(e){return e.generatedImportReference?e.generatedImportReference:(e=wn.getParseTreeNode(e,wn.isIdentifier),e&&(e=xx(e),ti(e,111551)&&!si(e))?Ka(e):void 0)}function nx(e){var n,t,r,a,i;return!(!(418&e.flags&&e.valueDeclaration)||wn.isSourceFile(e.valueDeclaration))&&(void 0===(n=Na(e)).isDeclarationWithCollidingName&&(t=wn.getEnclosingBlockScopeContainer(e.valueDeclaration),wn.isStatementWithLocals(t)||(i=e).valueDeclaration&&wn.isBindingElement(i.valueDeclaration)&&290===wn.walkUpBindingElementsAndPatterns(i.valueDeclaration).parent.kind)&&(i=ka(e.valueDeclaration),Ma(t.parent,e.escapedName,111551,void 0,void 0,!1)?n.isDeclarationWithCollidingName=!0:262144&i.flags?(e=524288&i.flags,r=wn.isIterationStatement(t,!1),a=233===t.kind&&wn.isIterationStatement(t.parent,!1),n.isDeclarationWithCollidingName=!(wn.isBlockScopedContainerTopLevel(t)||e&&(r||a))):n.isDeclarationWithCollidingName=!1),n.isDeclarationWithCollidingName)}function tx(e){if(!wn.isGeneratedIdentifier(e)&&(e=wn.getParseTreeNode(e,wn.isIdentifier),e&&(e=xx(e),e&&nx(e))))return e.valueDeclaration}function rx(e){return e=wn.getParseTreeNode(e,wn.isDeclaration),!(!e||(e=Ii(e),!e))&&nx(e)}function ax(e){switch(e.kind){case 263:return ox(Ii(e)||Jn);case 265:case 266:case 268:case 273:var n=Ii(e)||Jn;return ox(n)&&!si(n);case 270:return n=e.exportClause,!!n&&(wn.isNamespaceExport(n)||wn.some(n.elements,ax));case 269:return!e.expression||79!==e.expression.kind||ox(Ii(e)||Jn)}return!1}function ix(e){return e=wn.getParseTreeNode(e,wn.isImportEqualsDeclaration),!(void 0===e||300!==e.parent.kind||!wn.isInternalModuleImportEqualsDeclaration(e))&&ox(Ii(e))&&e.moduleReference&&!wn.nodeIsMissing(e.moduleReference)}function ox(e){return e=ai(e),e===Jn||!!(111551&e.flags)&&(wn.shouldPreserveConstEnums(v)||!sx(e))}function sx(e){return zb(e)||e.constEnumOnlyModule}function cx(e,n){if(Ha(e)){var t=Ii(e),r=t&&Na(t);if(null!=r&&r.referenced)return!0;if(r=Na(t).target,r&&1&wn.getEffectiveModifierFlags(e)&&111551&r.flags&&(wn.shouldPreserveConstEnums(v)||!sx(r)))return!0}return!!n&&!!wn.forEachChild(e,(function(e){return cx(e,n)}))}function lx(e){var n;return!!wn.nodeIsPresent(e.body)&&!wn.isGetAccessor(e)&&!wn.isSetAccessor(e)&&(1<(n=Vl(Ii(e))).length||1===n.length&&n[0].declaration!==e)}function dx(e){return!(!x||Ol(e)||wn.isJSDocParameterTag(e)||!e.initializer||wn.hasSyntacticModifier(e,16476))}function ux(e){return x&&Ol(e)&&!e.initializer&&wn.hasSyntacticModifier(e,16476)}function px(e){e=wn.getParseTreeNode(e,wn.isFunctionDeclaration);return!!e&&!!((e=Ii(e))&&16&e.flags)&&!!wn.forEachEntry(xi(e),(function(e){return 111551&e.flags&&e.valueDeclaration&&wn.isPropertyAccessExpression(e.valueDeclaration)}))}function mx(e){e=wn.getParseTreeNode(e,wn.isFunctionDeclaration);return(e=e&&Ii(e))&&zc(hs(e))||wn.emptyArray}function _x(e){e=e.id||0;return!(e<0||e>=br.length)&&(null==(e=br[e])?void 0:e.flags)||0}function fx(e){return mS(e.parent),ka(e).enumMemberValue}function gx(e){switch(e.kind){case 294:case 204:case 205:return!0}return!1}function yx(e){return 294===e.kind?fx(e):(e=ka(e).resolvedSymbol,e&&8&e.flags&&(e=e.valueDeclaration,wn.isEnumConst(e.parent))?fx(e):void 0)}function hx(e){return 524288&e.flags&&0<hl(e,0).length}function vx(e,n){if(e=wn.getParseTreeNode(e,wn.isEntityName),!e)return wn.TypeReferenceSerializationKind.Unknown;if(n&&!(n=wn.getParseTreeNode(n)))return wn.TypeReferenceSerializationKind.Unknown;var t=!1,r=(wn.isQualifiedName(e)&&(t=!(null==(r=null==(r=pi(wn.getFirstIdentifier(e),111551,!0,!0,n))?void 0:r.declarations)||!r.every(wn.isTypeOnlyImportOrExportDeclaration))),pi(e,111551,!0,!0,n)),a=r&&2097152&r.flags?ai(r):r;t=t||!(null==(r=null==r?void 0:r.declarations)||!r.every(wn.isTypeOnlyImportOrExportDeclaration)),r=pi(e,788968,!0,!1,n);if(a&&a===r){e=Kd(!1);if(e&&a===e)return wn.TypeReferenceSerializationKind.Promise;if(n=hs(a),n&&Cs(n))return t?wn.TypeReferenceSerializationKind.TypeWithCallSignature:wn.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue}return r&&(e=Hs(r))!==Zn?3&e.flags?wn.TypeReferenceSerializationKind.ObjectType:Kb(e,245760)?wn.TypeReferenceSerializationKind.VoidNullableOrNeverType:Kb(e,528)?wn.TypeReferenceSerializationKind.BooleanType:Kb(e,296)?wn.TypeReferenceSerializationKind.NumberLikeType:Kb(e,2112)?wn.TypeReferenceSerializationKind.BigIntLikeType:Kb(e,402653316)?wn.TypeReferenceSerializationKind.StringLikeType:C_(e)?wn.TypeReferenceSerializationKind.ArrayLikeType:Kb(e,12288)?wn.TypeReferenceSerializationKind.ESSymbolType:hx(e)?wn.TypeReferenceSerializationKind.TypeWithCallSignature:l_(e)?wn.TypeReferenceSerializationKind.ArrayLikeType:wn.TypeReferenceSerializationKind.ObjectType:t?wn.TypeReferenceSerializationKind.ObjectType:wn.TypeReferenceSerializationKind.Unknown}function bx(e,n,t,r,a){var i;e=wn.getParseTreeNode(e,wn.isVariableLikeOrAccessor);return e?(8192&(i=!(e=Ii(e))||133120&e.flags?Zn:x_(hs(e))).flags&&i.symbol===e&&(t|=1048576),a&&(i=B_(i)),U.typeToTypeNode(i,n,1024|t,r)):wn.factory.createToken(129)}function Ex(e,n,t,r){e=wn.getParseTreeNode(e,wn.isFunctionLike);return e?(e=Gl(e),U.typeToTypeNode(zl(e),n,1024|t,r)):wn.factory.createToken(129)}function Tx(e,n,t,r){e=wn.getParseTreeNode(e,wn.isExpression);return e?(e=ef(JS(e)),U.typeToTypeNode(e,n,1024|t,r)):wn.factory.createToken(129)}function Sx(e){return be.has(wn.escapeLeadingUnderscores(e))}function xx(e,n){var t=ka(e).resolvedSymbol;return t||(t=e,Ma(t=n&&(n=e.parent,wn.isDeclaration(n))&&e===n.name?Ao(n):t,e.escapedText,3257279,void 0,void 0,!0))}function Lx(e){if(!wn.isGeneratedIdentifier(e)&&(e=wn.getParseTreeNode(e,wn.isIdentifier),e&&(e=xx(e),e)))return wi(e).valueDeclaration}function Dx(e){return!!(wn.isDeclarationReadonly(e)||wn.isVariableDeclaration(e)&&wn.isVarConst(e))&&Lp(hs(Ii(e)))}function Ax(e,n){var t=hs(Ii(e));return e=e,n=n,(e=1024&(t=t).flags?U.symbolToExpression(t.symbol,111551,e,void 0,n):t===mt?wn.factory.createTrue():t===ut&&wn.factory.createFalse())||("object"==typeof(n=t.value)?wn.factory.createBigIntLiteral(n):"number"==typeof n?wn.factory.createNumericLiteral(n):wn.factory.createStringLiteral(n))}function Cx(e){return e&&(pa(e),wn.getSourceFileOfNode(e).localJsxFactory)||En}function Ix(e){if(e&&(e=wn.getSourceFileOfNode(e),e)){if(e.localJsxFragmentFactory)return e.localJsxFragmentFactory;var n=e.pragmas.get("jsxfrag");n=wn.isArray(n)?n[0]:n;if(n)return e.localJsxFragmentFactory=wn.parseIsolatedEntityName(n.arguments.factory,b),e.localJsxFragmentFactory}if(v.jsxFragmentFactory)return wn.parseIsolatedEntityName(v.jsxFragmentFactory,b)}function Nx(e){if(e=259===e.kind?wn.tryCast(e.name,wn.isStringLiteral):wn.getExternalModuleName(e),e=fi(e,e,void 0),e)return wn.getDeclarationOfKind(e,300)}function kx(e,n){if((r&n)!==n&&v.importHelpers){var t=wn.getSourceFileOfNode(e);if(wn.isEffectiveExternalModule(t,v)&&!(8388608&e.flags)){var i=((e,n)=>a=a||gi(e,wn.externalHelpersModuleNameText,wn.Diagnostics.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,n)||Jn)(t,e);if(i!==Jn)for(var o,s,c=n&~r,l=1;l<=2097152;l<<=1)c&l&&(o=(e=>{switch(e){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 wn.Debug.fail("Unrecognized helper")}})(l),(s=Oa(i.exports,wn.escapeLeadingUnderscores(o),111551))?524288&l?wn.some(Vl(s),(function(e){return 3<_b(e)}))||fa(e,wn.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,wn.externalHelpersModuleNameText,o,4):1048576&l?wn.some(Vl(s),(function(e){return 4<_b(e)}))||fa(e,wn.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,wn.externalHelpersModuleNameText,o,5):1024&l&&(wn.some(Vl(s),(function(e){return 2<_b(e)}))||fa(e,wn.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,wn.externalHelpersModuleNameText,o,3)):fa(e,wn.Diagnostics.This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0,wn.externalHelpersModuleNameText,o));r|=n}}}function Rx(e){return(e=>{if(e.decorators){if(!wn.nodeCanBeDecorated(e,e.parent,e.parent.parent))return 167!==e.kind||wn.nodeIsPresent(e.body)?eL(e,wn.Diagnostics.Decorators_are_not_valid_here):eL(e,wn.Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload);if(170===e.kind||171===e.kind){var n=wn.getAllAccessorDeclarations(e.parent.members,e);if(n.firstAccessor.decorators&&e===n.secondAccessor)return eL(e,wn.Diagnostics.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}}return!1})(e)||(e=>{var n,t,r,a,i,o=(e=>!!e.modifiers&&((e=>{switch(e.kind){case 170:case 171:case 169:case 165:case 164:case 167:case 166:case 174:case 259:case 264:case 263:case 270:case 269:case 211:case 212:case 162:return;default:if(260===e.parent.kind||300===e.parent.kind)return;switch(e.kind){case 254:return Ox(e,130);case 255:case 178:return Ox(e,126);case 256:case 235:case 257:case 168:return 1;case 258:return Ox(e,85);default:wn.Debug.fail()}}})(e)?eL(e,wn.Diagnostics.Modifiers_cannot_appear_here):void 0))(e);if(void 0!==o)return o;for(var s=0,c=0,l=e.modifiers;c<l.length;c++){var d=l[c];if(143!==d.kind){if(164===e.kind||166===e.kind)return rL(d,wn.Diagnostics._0_modifier_cannot_appear_on_a_type_member,wn.tokenToString(d.kind));if(174===e.kind&&(124!==d.kind||!wn.isClassLike(e.parent)))return rL(d,wn.Diagnostics._0_modifier_cannot_appear_on_an_index_signature,wn.tokenToString(d.kind))}switch(d.kind){case 85:if(258!==e.kind)return rL(e,wn.Diagnostics.A_class_member_cannot_have_the_0_keyword,wn.tokenToString(85));break;case 157:if(16384&s)return rL(d,wn.Diagnostics._0_modifier_already_seen,"override");if(2&s)return rL(d,wn.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"override","declare");if(64&s)return rL(d,wn.Diagnostics._0_modifier_must_precede_1_modifier,"override","readonly");if(256&s)return rL(d,wn.Diagnostics._0_modifier_must_precede_1_modifier,"override","async");s|=16384,i=d;break;case 123:case 122:case 121:var u=yo(wn.modifierToFlag(d.kind));if(28&s)return rL(d,wn.Diagnostics.Accessibility_modifier_already_seen);if(16384&s)return rL(d,wn.Diagnostics._0_modifier_must_precede_1_modifier,u,"override");if(32&s)return rL(d,wn.Diagnostics._0_modifier_must_precede_1_modifier,u,"static");if(64&s)return rL(d,wn.Diagnostics._0_modifier_must_precede_1_modifier,u,"readonly");if(256&s)return rL(d,wn.Diagnostics._0_modifier_must_precede_1_modifier,u,"async");if(260===e.parent.kind||300===e.parent.kind)return rL(d,wn.Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element,u);if(128&s)return 121===d.kind?rL(d,wn.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,u,"abstract"):rL(d,wn.Diagnostics._0_modifier_must_precede_1_modifier,u,"abstract");if(wn.isPrivateIdentifierClassElementDeclaration(e))return rL(d,wn.Diagnostics.An_accessibility_modifier_cannot_be_used_with_a_private_identifier);s|=wn.modifierToFlag(d.kind);break;case 124:if(32&s)return rL(d,wn.Diagnostics._0_modifier_already_seen,"static");if(64&s)return rL(d,wn.Diagnostics._0_modifier_must_precede_1_modifier,"static","readonly");if(256&s)return rL(d,wn.Diagnostics._0_modifier_must_precede_1_modifier,"static","async");if(260===e.parent.kind||300===e.parent.kind)return rL(d,wn.Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element,"static");if(162===e.kind)return rL(d,wn.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"static");if(128&s)return rL(d,wn.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(16384&s)return rL(d,wn.Diagnostics._0_modifier_must_precede_1_modifier,"static","override");s|=32,n=d;break;case 143:if(64&s)return rL(d,wn.Diagnostics._0_modifier_already_seen,"readonly");if(165!==e.kind&&164!==e.kind&&174!==e.kind&&162!==e.kind)return rL(d,wn.Diagnostics.readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature);s|=64,a=d;break;case 93:if(1&s)return rL(d,wn.Diagnostics._0_modifier_already_seen,"export");if(2&s)return rL(d,wn.Diagnostics._0_modifier_must_precede_1_modifier,"export","declare");if(128&s)return rL(d,wn.Diagnostics._0_modifier_must_precede_1_modifier,"export","abstract");if(256&s)return rL(d,wn.Diagnostics._0_modifier_must_precede_1_modifier,"export","async");if(wn.isClassLike(e.parent))return rL(d,wn.Diagnostics._0_modifier_cannot_appear_on_class_elements_of_this_kind,"export");if(162===e.kind)return rL(d,wn.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"export");s|=1;break;case 88:if(u=(300===e.parent.kind?e:e.parent).parent,259===u.kind&&!wn.isAmbientModule(u))return rL(d,wn.Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);if(!(1&s))return rL(d,wn.Diagnostics._0_modifier_must_precede_1_modifier,"export","default");s|=512;break;case 134:if(2&s)return rL(d,wn.Diagnostics._0_modifier_already_seen,"declare");if(256&s)return rL(d,wn.Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(16384&s)return rL(d,wn.Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context,"override");if(wn.isClassLike(e.parent)&&!wn.isPropertyDeclaration(e))return rL(d,wn.Diagnostics._0_modifier_cannot_appear_on_class_elements_of_this_kind,"declare");if(162===e.kind)return rL(d,wn.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"declare");if(8388608&e.parent.flags&&260===e.parent.kind)return rL(d,wn.Diagnostics.A_declare_modifier_cannot_be_used_in_an_already_ambient_context);if(wn.isPrivateIdentifierClassElementDeclaration(e))return rL(d,wn.Diagnostics._0_modifier_cannot_be_used_with_a_private_identifier,"declare");s|=2,t=d;break;case 126:if(128&s)return rL(d,wn.Diagnostics._0_modifier_already_seen,"abstract");if(255!==e.kind&&178!==e.kind){if(167!==e.kind&&165!==e.kind&&170!==e.kind&&171!==e.kind)return rL(d,wn.Diagnostics.abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration);if(255!==e.parent.kind||!wn.hasSyntacticModifier(e.parent,128))return rL(d,wn.Diagnostics.Abstract_methods_can_only_appear_within_an_abstract_class);if(32&s)return rL(d,wn.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(8&s)return rL(d,wn.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"private","abstract");if(256&s&&r)return rL(r,wn.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"async","abstract");if(16384&s)return rL(d,wn.Diagnostics._0_modifier_must_precede_1_modifier,"abstract","override")}if(wn.isNamedDeclaration(e)&&80===e.name.kind)return rL(d,wn.Diagnostics._0_modifier_cannot_be_used_with_a_private_identifier,"abstract");s|=128;break;case 130:if(256&s)return rL(d,wn.Diagnostics._0_modifier_already_seen,"async");if(2&s||8388608&e.parent.flags)return rL(d,wn.Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(162===e.kind)return rL(d,wn.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"async");if(128&s)return rL(d,wn.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"async","abstract");s|=256,r=d}}if(169===e.kind){if(32&s)return rL(n,wn.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"static");if(128&s)return rL(n,wn.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"abstract");if(16384&s)return rL(i,wn.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"override");if(256&s)return rL(r,wn.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"async");if(64&s)return rL(a,wn.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"readonly")}else{if((264===e.kind||263===e.kind)&&2&s)return rL(t,wn.Diagnostics.A_0_modifier_cannot_be_used_with_an_import_declaration,"declare");if(162===e.kind&&16476&s&&wn.isBindingPattern(e.name))return rL(e,wn.Diagnostics.A_parameter_property_may_not_be_declared_using_a_binding_pattern);if(162===e.kind&&16476&s&&e.dotDotDotToken)return rL(e,wn.Diagnostics.A_parameter_property_cannot_be_declared_using_a_rest_parameter);if(256&s)return((e,n)=>{switch(e.kind){case 167:case 254:case 211:case 212:return!1}return rL(n,wn.Diagnostics._0_modifier_cannot_be_used_here,"async")})(e,r)}return!1})(e)}function Ox(e,n){return 1<e.modifiers.length||e.modifiers[0].kind!==n}function Px(e,n){return void 0===n&&(n=wn.Diagnostics.Trailing_comma_not_allowed),!(!e||!e.hasTrailingComma)&&nL(e[0],e.end-",".length,",".length,n)}function wx(e,n){var t;return!(!e||0!==e.length)&&nL(n,t=e.pos-"<".length,wn.skipTrivia(n.text,e.end)+">".length-t,wn.Diagnostics.Type_parameter_list_cannot_be_empty)}function Mx(e){if(3<=b){var n=e.body&&wn.isBlock(e.body)&&wn.findUseStrictPrologue(e.body.statements);if(n&&(e=e.parameters,e=wn.filter(e,(function(e){return!!e.initializer||wn.isBindingPattern(e.name)||wn.isRestParameter(e)})),wn.length(e)))return wn.forEach(e,(function(e){wn.addRelatedInfo(fa(e,wn.Diagnostics.This_parameter_is_not_allowed_with_use_strict_directive),wn.createDiagnosticForNode(n,wn.Diagnostics.use_strict_directive_used_here))})),e=e.map((function(e,n){return 0===n?wn.createDiagnosticForNode(e,wn.Diagnostics.Non_simple_parameter_declared_here):wn.createDiagnosticForNode(e,wn.Diagnostics.and_here)})),wn.addRelatedInfo.apply(void 0,eu([fa(n,wn.Diagnostics.use_strict_directive_cannot_be_used_with_non_simple_parameter_list)],e,!1)),!0}return!1}function Fx(e){var n,t,r=wn.getSourceFileOfNode(e);return Rx(e)||wx(e.typeParameters,r)||(e=>{for(var n=!1,t=e.length,r=0;r<t;r++){var a=e[r];if(a.dotDotDotToken){if(r!==t-1)return rL(a.dotDotDotToken,wn.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list);if(8388608&a.flags||Px(e,wn.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),a.questionToken)return rL(a.questionToken,wn.Diagnostics.A_rest_parameter_cannot_be_optional);if(a.initializer)return rL(a.name,wn.Diagnostics.A_rest_parameter_cannot_have_an_initializer)}else if(Ol(a)){if(n=!0,a.questionToken&&a.initializer)return rL(a.name,wn.Diagnostics.Parameter_cannot_have_question_mark_and_initializer)}else if(n&&!a.initializer)return rL(a.name,wn.Diagnostics.A_required_parameter_cannot_follow_an_optional_parameter)}})(e.parameters)||(n=e,r=r,!!wn.isArrowFunction(n)&&(n=n.equalsGreaterThanToken,t=wn.getLineAndCharacterOfPosition(r,n.pos).line,r=wn.getLineAndCharacterOfPosition(r,n.end).line,t!==r)&&rL(n,wn.Diagnostics.Line_terminator_not_permitted_before_arrow))||wn.isFunctionLikeDeclaration(e)&&Mx(e)}function Gx(e,n){return Px(n)||(e=e,!(!(n=n)||0!==n.length)&&nL(e=wn.getSourceFileOfNode(e),t=n.pos-"<".length,wn.skipTrivia(e.text,n.end)+">".length-t,wn.Diagnostics.Type_argument_list_cannot_be_empty));var t}function Bx(e){if(e)for(var n=0,t=e;n<t.length;n++){var r=t[n];if(225===r.kind)return nL(r,r.pos,0,wn.Diagnostics.Argument_expression_expected)}}function Ux(e){var n,t=e.types;if(!Px(t))return t&&0===t.length?(n=wn.tokenToString(e.token),nL(e,t.pos,0,wn.Diagnostics._0_list_cannot_be_empty,n)):void wn.some(t,Vx)}function Vx(e){return Gx(e,e.typeArguments)}function jx(e){return 160===e.kind&&219===e.expression.kind&&27===e.expression.operatorToken.kind?rL(e.expression,wn.Diagnostics.A_comma_expression_is_not_allowed_in_a_computed_property_name):void 0}function Kx(e){return e.asteriskToken&&(wn.Debug.assert(254===e.kind||211===e.kind||167===e.kind),8388608&e.flags?rL(e.asteriskToken,wn.Diagnostics.Generators_are_not_allowed_in_an_ambient_context):!e.body&&rL(e.asteriskToken,wn.Diagnostics.An_overload_signature_cannot_be_declared_as_a_generator))}function Hx(e,n){return e&&rL(e,n)}function Wx(e,n){return e&&rL(e,n)}function zx(e){if(!aL(e))if(242!==e.kind||!e.awaitModifier||32768&e.flags)if(!wn.isForOfStatement(e)||32768&e.flags||!wn.isIdentifier(e.initializer)||"async"!==e.initializer.escapedText){if(253===e.initializer.kind){var n=e.initializer;if(!Zx(n)){var t=n.declarations;if(!t.length)return;if(1<t.length)return r=241===e.kind?wn.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:wn.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement,eL(n.declarations[1],r);if(n=t[0],n.initializer)return r=241===e.kind?wn.Diagnostics.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:wn.Diagnostics.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer,rL(n.name,r);if(n.type)return rL(n,r=241===e.kind?wn.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:wn.Diagnostics.The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation)}}}else rL(e.initializer,wn.Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_async);else{var r;t=wn.getSourceFileOfNode(e);if(wn.isInTopLevelContext(e))!$x(t)&&(wn.isEffectiveExternalModule(t,v)||Pr.add(wn.createDiagnosticForNode(e.awaitModifier,wn.Diagnostics.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)),E!==wn.ModuleKind.ESNext&&E!==wn.ModuleKind.System||b<4)&&Pr.add(wn.createDiagnosticForNode(e.awaitModifier,wn.Diagnostics.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));else if(!$x(t))return r=wn.createDiagnosticForNode(e.awaitModifier,wn.Diagnostics.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules),(n=wn.getContainingFunction(e))&&169!==n.kind&&(wn.Debug.assert(0==(2&wn.getFunctionFlags(n)),"Enclosing function should never be an async function."),t=wn.createDiagnosticForNode(n,wn.Diagnostics.Did_you_mean_to_mark_this_function_as_async),wn.addRelatedInfo(r,t)),void Pr.add(r)}}function Jx(e){if(e.parameters.length===(170===e.kind?1:2))return wn.getThisParameter(e)}function qx(e,n){if(t=e,wn.isDynamicName(t)&&!nc(t))return rL(e,n);var t}function Xx(e){if(Fx(e))return 1;if(167===e.kind){if(203===e.parent.kind){if(e.modifiers&&(1!==e.modifiers.length||130!==wn.first(e.modifiers).kind))return eL(e,wn.Diagnostics.Modifiers_cannot_appear_here);if(Hx(e.questionToken,wn.Diagnostics.An_object_member_cannot_be_declared_optional))return 1;if(Wx(e.exclamationToken,wn.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context))return 1;if(void 0===e.body)return nL(e,e.end-1,";".length,wn.Diagnostics._0_expected,"{")}if(Kx(e))return 1}return wn.isClassLike(e.parent)?b<2&&wn.isPrivateIdentifier(e.name)?rL(e.name,wn.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher):8388608&e.flags?qx(e.name,wn.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):167===e.kind&&!e.body&&qx(e.name,wn.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):256===e.parent.kind?qx(e.name,wn.Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type):180===e.parent.kind&&qx(e.name,wn.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 Yx(e){return wn.isStringOrNumericLiteralLike(e)||217===e.kind&&40===e.operator&&8===e.operand.kind}function Qx(e){var n,t,r=e.initializer;if(r)return t=!(Yx(r)||(t=r,(wn.isPropertyAccessExpression(t)||wn.isElementAccessExpression(t)&&Yx(t.argumentExpression))&&wn.isEntityNameExpression(t.expression)&&1024&nE(t).flags)||110===r.kind||95===r.kind||9===(t=r).kind||217===t.kind&&40===t.operator&&9===t.operand.kind),!(n=wn.isDeclarationReadonly(e)||wn.isVariableDeclaration(e)&&wn.isVarConst(e))||e.type?rL(r,wn.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts):t?rL(r,wn.Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference):void(n&&!t||rL(r,wn.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts))}function Zx(e){var n=e.declarations;return Px(e.declarations)||!e.declarations.length&&nL(e,n.pos,n.end-n.pos,wn.Diagnostics.Variable_declaration_list_cannot_be_empty)}function $x(e){return 0<e.parseDiagnostics.length}function eL(e,n,t,r,a){var i=wn.getSourceFileOfNode(e);return!$x(i)&&(e=wn.getSpanOfTokenAtPosition(i,e.pos),Pr.add(wn.createFileDiagnostic(i,e.start,e.length,n,t,r,a)),!0)}function nL(e,n,t,r,a,i,o){return e=wn.getSourceFileOfNode(e),!$x(e)&&(Pr.add(wn.createFileDiagnostic(e,n,t,r,a,i,o)),!0)}function tL(e,n,t,r,a,i){return!$x(wn.getSourceFileOfNode(n))&&(ma(e,n,t,r,a,i),!0)}function rL(e,n,t,r,a){return!$x(wn.getSourceFileOfNode(e))&&(Pr.add(wn.createDiagnosticForNode(e,n,t,r,a)),!0)}function aL(e){if(8388608&e.flags){if(!ka(e).hasReportedStatementInAmbientContext&&(wn.isFunctionLike(e.parent)||wn.isAccessor(e.parent)))return ka(e).hasReportedStatementInAmbientContext=eL(e,wn.Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts);if(233===e.parent.kind||260===e.parent.kind||300===e.parent.kind){var n=ka(e.parent);if(!n.hasReportedStatementInAmbientContext)return n.hasReportedStatementInAmbientContext=eL(e,wn.Diagnostics.Statements_are_not_allowed_in_ambient_contexts)}}}function iL(e){if(32&e.numericLiteralFlags){var n,t=void 0;if(1<=b?t=wn.Diagnostics.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:wn.isChildOfNodeWithKind(e,194)?t=wn.Diagnostics.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:wn.isChildOfNodeWithKind(e,294)&&(t=wn.Diagnostics.Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0),t)return n=((r=wn.isPrefixUnaryExpression(e.parent)&&40===e.parent.operator)?"-":"")+"0o"+e.text,rL(r?e.parent:e,t,n)}var r;return 16&(r=e).numericLiteralFlags||r.text.length<=15||-1!==r.text.indexOf(".")||(t=+wn.getTextOfNode(r))<=Math.pow(2,53)-1&&t<1+t||ga(!1,wn.createDiagnosticForNode(r,wn.Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers)),!1}function oL(e,n,t,r){if(1048576&n.flags&&2621440&e.flags){var a=Yf(n,e);if(a)return a;if(a=zc(e),a&&(e=zf(a,n),e))return Wm(n,wn.map(e,(function(e){return[function(){return hs(e)},e.escapedName]})),t,void 0,r)}}},(cm=Mn=Mn||{}).JSX="JSX",cm.IntrinsicElements="IntrinsicElements",cm.ElementClass="ElementClass",cm.ElementAttributesPropertyNameContainer="ElementAttributesProperty",cm.ElementChildrenAttributeNameContainer="ElementChildrenAttribute",cm.Element="Element",cm.IntrinsicAttributes="IntrinsicAttributes",cm.IntrinsicClassAttributes="IntrinsicClassAttributes",cm.LibraryManagedAttributes="LibraryManagedAttributes",wn.signatureHasRestParameter=ck,wn.signatureHasLiteralTypes=lk,(Jn=bY=bY||{}).visitNode=dk,Jn.visitNodes=uk,Jn.visitLexicalEnvironment=pk,Jn.visitParameterList=mk,Jn.visitFunctionBody=_k,Jn.visitIterationBody=fk,Jn.visitEachChild=function(e,n,t,r,a,i){if(void 0===r&&(r=uk),void 0===i&&(i=dk),void 0!==e){var o=e.kind;if(0<o&&o<=158||190===o)return e;var s=t.factory;switch(o){case 79:return Jn.Debug.type(e),s.updateIdentifier(e,r(e.typeArguments,n,Jn.isTypeNodeOrTypeParameterDeclaration));case 159:return Jn.Debug.type(e),s.updateQualifiedName(e,i(e.left,n,Jn.isEntityName),i(e.right,n,Jn.isIdentifier));case 160:return Jn.Debug.type(e),s.updateComputedPropertyName(e,i(e.expression,n,Jn.isExpression));case 161:return Jn.Debug.type(e),s.updateTypeParameterDeclaration(e,i(e.name,n,Jn.isIdentifier),i(e.constraint,n,Jn.isTypeNode),i(e.default,n,Jn.isTypeNode));case 162:return Jn.Debug.type(e),s.updateParameterDeclaration(e,r(e.decorators,n,Jn.isDecorator),r(e.modifiers,n,Jn.isModifier),i(e.dotDotDotToken,a,Jn.isDotDotDotToken),i(e.name,n,Jn.isBindingName),i(e.questionToken,a,Jn.isQuestionToken),i(e.type,n,Jn.isTypeNode),i(e.initializer,n,Jn.isExpression));case 163:return Jn.Debug.type(e),s.updateDecorator(e,i(e.expression,n,Jn.isExpression));case 164:return Jn.Debug.type(e),s.updatePropertySignature(e,r(e.modifiers,n,Jn.isModifier),i(e.name,n,Jn.isPropertyName),i(e.questionToken,a,Jn.isToken),i(e.type,n,Jn.isTypeNode));case 165:return Jn.Debug.type(e),s.updatePropertyDeclaration(e,r(e.decorators,n,Jn.isDecorator),r(e.modifiers,n,Jn.isModifier),i(e.name,n,Jn.isPropertyName),i(e.questionToken||e.exclamationToken,a,Jn.isQuestionOrExclamationToken),i(e.type,n,Jn.isTypeNode),i(e.initializer,n,Jn.isExpression));case 166:return Jn.Debug.type(e),s.updateMethodSignature(e,r(e.modifiers,n,Jn.isModifier),i(e.name,n,Jn.isPropertyName),i(e.questionToken,a,Jn.isQuestionToken),r(e.typeParameters,n,Jn.isTypeParameterDeclaration),r(e.parameters,n,Jn.isParameterDeclaration),i(e.type,n,Jn.isTypeNode));case 167:return Jn.Debug.type(e),s.updateMethodDeclaration(e,r(e.decorators,n,Jn.isDecorator),r(e.modifiers,n,Jn.isModifier),i(e.asteriskToken,a,Jn.isAsteriskToken),i(e.name,n,Jn.isPropertyName),i(e.questionToken,a,Jn.isQuestionToken),r(e.typeParameters,n,Jn.isTypeParameterDeclaration),mk(e.parameters,n,t,r),i(e.type,n,Jn.isTypeNode),_k(e.body,n,t,i));case 169:return Jn.Debug.type(e),s.updateConstructorDeclaration(e,r(e.decorators,n,Jn.isDecorator),r(e.modifiers,n,Jn.isModifier),mk(e.parameters,n,t,r),_k(e.body,n,t,i));case 170:return Jn.Debug.type(e),s.updateGetAccessorDeclaration(e,r(e.decorators,n,Jn.isDecorator),r(e.modifiers,n,Jn.isModifier),i(e.name,n,Jn.isPropertyName),mk(e.parameters,n,t,r),i(e.type,n,Jn.isTypeNode),_k(e.body,n,t,i));case 171:return Jn.Debug.type(e),s.updateSetAccessorDeclaration(e,r(e.decorators,n,Jn.isDecorator),r(e.modifiers,n,Jn.isModifier),i(e.name,n,Jn.isPropertyName),mk(e.parameters,n,t,r),_k(e.body,n,t,i));case 168:return Jn.Debug.type(e),t.startLexicalEnvironment(),t.suspendLexicalEnvironment(),s.updateClassStaticBlockDeclaration(e,r(e.decorators,n,Jn.isDecorator),r(e.modifiers,n,Jn.isModifier),_k(e.body,n,t,i));case 172:return Jn.Debug.type(e),s.updateCallSignature(e,r(e.typeParameters,n,Jn.isTypeParameterDeclaration),r(e.parameters,n,Jn.isParameterDeclaration),i(e.type,n,Jn.isTypeNode));case 173:return Jn.Debug.type(e),s.updateConstructSignature(e,r(e.typeParameters,n,Jn.isTypeParameterDeclaration),r(e.parameters,n,Jn.isParameterDeclaration),i(e.type,n,Jn.isTypeNode));case 174:return Jn.Debug.type(e),s.updateIndexSignature(e,r(e.decorators,n,Jn.isDecorator),r(e.modifiers,n,Jn.isModifier),r(e.parameters,n,Jn.isParameterDeclaration),i(e.type,n,Jn.isTypeNode));case 175:return Jn.Debug.type(e),s.updateTypePredicateNode(e,i(e.assertsModifier,n,Jn.isAssertsKeyword),i(e.parameterName,n,Jn.isIdentifierOrThisTypeNode),i(e.type,n,Jn.isTypeNode));case 176:return Jn.Debug.type(e),s.updateTypeReferenceNode(e,i(e.typeName,n,Jn.isEntityName),r(e.typeArguments,n,Jn.isTypeNode));case 177:return Jn.Debug.type(e),s.updateFunctionTypeNode(e,r(e.typeParameters,n,Jn.isTypeParameterDeclaration),r(e.parameters,n,Jn.isParameterDeclaration),i(e.type,n,Jn.isTypeNode));case 178:return Jn.Debug.type(e),s.updateConstructorTypeNode(e,r(e.modifiers,n,Jn.isModifier),r(e.typeParameters,n,Jn.isTypeParameterDeclaration),r(e.parameters,n,Jn.isParameterDeclaration),i(e.type,n,Jn.isTypeNode));case 179:return Jn.Debug.type(e),s.updateTypeQueryNode(e,i(e.exprName,n,Jn.isEntityName));case 180:return Jn.Debug.type(e),s.updateTypeLiteralNode(e,r(e.members,n,Jn.isTypeElement));case 181:return Jn.Debug.type(e),s.updateArrayTypeNode(e,i(e.elementType,n,Jn.isTypeNode));case 182:return Jn.Debug.type(e),s.updateTupleTypeNode(e,r(e.elements,n,Jn.isTypeNode));case 183:return Jn.Debug.type(e),s.updateOptionalTypeNode(e,i(e.type,n,Jn.isTypeNode));case 184:return Jn.Debug.type(e),s.updateRestTypeNode(e,i(e.type,n,Jn.isTypeNode));case 185:return Jn.Debug.type(e),s.updateUnionTypeNode(e,r(e.types,n,Jn.isTypeNode));case 186:return Jn.Debug.type(e),s.updateIntersectionTypeNode(e,r(e.types,n,Jn.isTypeNode));case 187:return Jn.Debug.type(e),s.updateConditionalTypeNode(e,i(e.checkType,n,Jn.isTypeNode),i(e.extendsType,n,Jn.isTypeNode),i(e.trueType,n,Jn.isTypeNode),i(e.falseType,n,Jn.isTypeNode));case 188:return Jn.Debug.type(e),s.updateInferTypeNode(e,i(e.typeParameter,n,Jn.isTypeParameterDeclaration));case 198:return Jn.Debug.type(e),s.updateImportTypeNode(e,i(e.argument,n,Jn.isTypeNode),i(e.qualifier,n,Jn.isEntityName),uk(e.typeArguments,n,Jn.isTypeNode),e.isTypeOf);case 195:return Jn.Debug.type(e),s.updateNamedTupleMember(e,dk(e.dotDotDotToken,n,Jn.isDotDotDotToken),dk(e.name,n,Jn.isIdentifier),dk(e.questionToken,n,Jn.isQuestionToken),dk(e.type,n,Jn.isTypeNode));case 189:return Jn.Debug.type(e),s.updateParenthesizedType(e,i(e.type,n,Jn.isTypeNode));case 191:return Jn.Debug.type(e),s.updateTypeOperatorNode(e,i(e.type,n,Jn.isTypeNode));case 192:return Jn.Debug.type(e),s.updateIndexedAccessTypeNode(e,i(e.objectType,n,Jn.isTypeNode),i(e.indexType,n,Jn.isTypeNode));case 193:return Jn.Debug.type(e),s.updateMappedTypeNode(e,i(e.readonlyToken,a,Jn.isReadonlyKeywordOrPlusOrMinusToken),i(e.typeParameter,n,Jn.isTypeParameterDeclaration),i(e.nameType,n,Jn.isTypeNode),i(e.questionToken,a,Jn.isQuestionOrPlusOrMinusToken),i(e.type,n,Jn.isTypeNode));case 194:return Jn.Debug.type(e),s.updateLiteralTypeNode(e,i(e.literal,n,Jn.isExpression));case 196:return Jn.Debug.type(e),s.updateTemplateLiteralType(e,i(e.head,n,Jn.isTemplateHead),r(e.templateSpans,n,Jn.isTemplateLiteralTypeSpan));case 197:return Jn.Debug.type(e),s.updateTemplateLiteralTypeSpan(e,i(e.type,n,Jn.isTypeNode),i(e.literal,n,Jn.isTemplateMiddleOrTemplateTail));case 199:return Jn.Debug.type(e),s.updateObjectBindingPattern(e,r(e.elements,n,Jn.isBindingElement));case 200:return Jn.Debug.type(e),s.updateArrayBindingPattern(e,r(e.elements,n,Jn.isArrayBindingElement));case 201:return Jn.Debug.type(e),s.updateBindingElement(e,i(e.dotDotDotToken,a,Jn.isDotDotDotToken),i(e.propertyName,n,Jn.isPropertyName),i(e.name,n,Jn.isBindingName),i(e.initializer,n,Jn.isExpression));case 202:return Jn.Debug.type(e),s.updateArrayLiteralExpression(e,r(e.elements,n,Jn.isExpression));case 203:return Jn.Debug.type(e),s.updateObjectLiteralExpression(e,r(e.properties,n,Jn.isObjectLiteralElementLike));case 204:return 32&e.flags?(Jn.Debug.type(e),s.updatePropertyAccessChain(e,i(e.expression,n,Jn.isExpression),i(e.questionDotToken,a,Jn.isQuestionDotToken),i(e.name,n,Jn.isMemberName))):(Jn.Debug.type(e),s.updatePropertyAccessExpression(e,i(e.expression,n,Jn.isExpression),i(e.name,n,Jn.isMemberName)));case 205:return 32&e.flags?(Jn.Debug.type(e),s.updateElementAccessChain(e,i(e.expression,n,Jn.isExpression),i(e.questionDotToken,a,Jn.isQuestionDotToken),i(e.argumentExpression,n,Jn.isExpression))):(Jn.Debug.type(e),s.updateElementAccessExpression(e,i(e.expression,n,Jn.isExpression),i(e.argumentExpression,n,Jn.isExpression)));case 206:return 32&e.flags?(Jn.Debug.type(e),s.updateCallChain(e,i(e.expression,n,Jn.isExpression),i(e.questionDotToken,a,Jn.isQuestionDotToken),r(e.typeArguments,n,Jn.isTypeNode),r(e.arguments,n,Jn.isExpression))):(Jn.Debug.type(e),s.updateCallExpression(e,i(e.expression,n,Jn.isExpression),r(e.typeArguments,n,Jn.isTypeNode),r(e.arguments,n,Jn.isExpression)));case 207:return Jn.Debug.type(e),s.updateNewExpression(e,i(e.expression,n,Jn.isExpression),r(e.typeArguments,n,Jn.isTypeNode),r(e.arguments,n,Jn.isExpression));case 208:return Jn.Debug.type(e),s.updateTaggedTemplateExpression(e,i(e.tag,n,Jn.isExpression),uk(e.typeArguments,n,Jn.isTypeNode),i(e.template,n,Jn.isTemplateLiteral));case 209:return Jn.Debug.type(e),s.updateTypeAssertion(e,i(e.type,n,Jn.isTypeNode),i(e.expression,n,Jn.isExpression));case 210:return Jn.Debug.type(e),s.updateParenthesizedExpression(e,i(e.expression,n,Jn.isExpression));case 211:return Jn.Debug.type(e),s.updateFunctionExpression(e,r(e.modifiers,n,Jn.isModifier),i(e.asteriskToken,a,Jn.isAsteriskToken),i(e.name,n,Jn.isIdentifier),r(e.typeParameters,n,Jn.isTypeParameterDeclaration),mk(e.parameters,n,t,r),i(e.type,n,Jn.isTypeNode),_k(e.body,n,t,i));case 212:return Jn.Debug.type(e),s.updateArrowFunction(e,r(e.modifiers,n,Jn.isModifier),r(e.typeParameters,n,Jn.isTypeParameterDeclaration),mk(e.parameters,n,t,r),i(e.type,n,Jn.isTypeNode),i(e.equalsGreaterThanToken,a,Jn.isEqualsGreaterThanToken),_k(e.body,n,t,i));case 213:return Jn.Debug.type(e),s.updateDeleteExpression(e,i(e.expression,n,Jn.isExpression));case 214:return Jn.Debug.type(e),s.updateTypeOfExpression(e,i(e.expression,n,Jn.isExpression));case 215:return Jn.Debug.type(e),s.updateVoidExpression(e,i(e.expression,n,Jn.isExpression));case 216:return Jn.Debug.type(e),s.updateAwaitExpression(e,i(e.expression,n,Jn.isExpression));case 217:return Jn.Debug.type(e),s.updatePrefixUnaryExpression(e,i(e.operand,n,Jn.isExpression));case 218:return Jn.Debug.type(e),s.updatePostfixUnaryExpression(e,i(e.operand,n,Jn.isExpression));case 219:return Jn.Debug.type(e),s.updateBinaryExpression(e,i(e.left,n,Jn.isExpression),i(e.operatorToken,a,Jn.isBinaryOperatorToken),i(e.right,n,Jn.isExpression));case 220:return Jn.Debug.type(e),s.updateConditionalExpression(e,i(e.condition,n,Jn.isExpression),i(e.questionToken,a,Jn.isQuestionToken),i(e.whenTrue,n,Jn.isExpression),i(e.colonToken,a,Jn.isColonToken),i(e.whenFalse,n,Jn.isExpression));case 221:return Jn.Debug.type(e),s.updateTemplateExpression(e,i(e.head,n,Jn.isTemplateHead),r(e.templateSpans,n,Jn.isTemplateSpan));case 222:return Jn.Debug.type(e),s.updateYieldExpression(e,i(e.asteriskToken,a,Jn.isAsteriskToken),i(e.expression,n,Jn.isExpression));case 223:return Jn.Debug.type(e),s.updateSpreadElement(e,i(e.expression,n,Jn.isExpression));case 224:return Jn.Debug.type(e),s.updateClassExpression(e,r(e.decorators,n,Jn.isDecorator),r(e.modifiers,n,Jn.isModifier),i(e.name,n,Jn.isIdentifier),r(e.typeParameters,n,Jn.isTypeParameterDeclaration),r(e.heritageClauses,n,Jn.isHeritageClause),r(e.members,n,Jn.isClassElement));case 226:return Jn.Debug.type(e),s.updateExpressionWithTypeArguments(e,i(e.expression,n,Jn.isExpression),r(e.typeArguments,n,Jn.isTypeNode));case 227:return Jn.Debug.type(e),s.updateAsExpression(e,i(e.expression,n,Jn.isExpression),i(e.type,n,Jn.isTypeNode));case 228:return 32&e.flags?(Jn.Debug.type(e),s.updateNonNullChain(e,i(e.expression,n,Jn.isExpression))):(Jn.Debug.type(e),s.updateNonNullExpression(e,i(e.expression,n,Jn.isExpression)));case 229:return Jn.Debug.type(e),s.updateMetaProperty(e,i(e.name,n,Jn.isIdentifier));case 231:return Jn.Debug.type(e),s.updateTemplateSpan(e,i(e.expression,n,Jn.isExpression),i(e.literal,n,Jn.isTemplateMiddleOrTemplateTail));case 233:return Jn.Debug.type(e),s.updateBlock(e,r(e.statements,n,Jn.isStatement));case 235:return Jn.Debug.type(e),s.updateVariableStatement(e,r(e.modifiers,n,Jn.isModifier),i(e.declarationList,n,Jn.isVariableDeclarationList));case 236:return Jn.Debug.type(e),s.updateExpressionStatement(e,i(e.expression,n,Jn.isExpression));case 237:return Jn.Debug.type(e),s.updateIfStatement(e,i(e.expression,n,Jn.isExpression),i(e.thenStatement,n,Jn.isStatement,s.liftToBlock),i(e.elseStatement,n,Jn.isStatement,s.liftToBlock));case 238:return Jn.Debug.type(e),s.updateDoStatement(e,fk(e.statement,n,t),i(e.expression,n,Jn.isExpression));case 239:return Jn.Debug.type(e),s.updateWhileStatement(e,i(e.expression,n,Jn.isExpression),fk(e.statement,n,t));case 240:return Jn.Debug.type(e),s.updateForStatement(e,i(e.initializer,n,Jn.isForInitializer),i(e.condition,n,Jn.isExpression),i(e.incrementor,n,Jn.isExpression),fk(e.statement,n,t));case 241:return Jn.Debug.type(e),s.updateForInStatement(e,i(e.initializer,n,Jn.isForInitializer),i(e.expression,n,Jn.isExpression),fk(e.statement,n,t));case 242:return Jn.Debug.type(e),s.updateForOfStatement(e,i(e.awaitModifier,a,Jn.isAwaitKeyword),i(e.initializer,n,Jn.isForInitializer),i(e.expression,n,Jn.isExpression),fk(e.statement,n,t));case 243:return Jn.Debug.type(e),s.updateContinueStatement(e,i(e.label,n,Jn.isIdentifier));case 244:return Jn.Debug.type(e),s.updateBreakStatement(e,i(e.label,n,Jn.isIdentifier));case 245:return Jn.Debug.type(e),s.updateReturnStatement(e,i(e.expression,n,Jn.isExpression));case 246:return Jn.Debug.type(e),s.updateWithStatement(e,i(e.expression,n,Jn.isExpression),i(e.statement,n,Jn.isStatement,s.liftToBlock));case 247:return Jn.Debug.type(e),s.updateSwitchStatement(e,i(e.expression,n,Jn.isExpression),i(e.caseBlock,n,Jn.isCaseBlock));case 248:return Jn.Debug.type(e),s.updateLabeledStatement(e,i(e.label,n,Jn.isIdentifier),i(e.statement,n,Jn.isStatement,s.liftToBlock));case 249:return Jn.Debug.type(e),s.updateThrowStatement(e,i(e.expression,n,Jn.isExpression));case 250:return Jn.Debug.type(e),s.updateTryStatement(e,i(e.tryBlock,n,Jn.isBlock),i(e.catchClause,n,Jn.isCatchClause),i(e.finallyBlock,n,Jn.isBlock));case 252:return Jn.Debug.type(e),s.updateVariableDeclaration(e,i(e.name,n,Jn.isBindingName),i(e.exclamationToken,a,Jn.isExclamationToken),i(e.type,n,Jn.isTypeNode),i(e.initializer,n,Jn.isExpression));case 253:return Jn.Debug.type(e),s.updateVariableDeclarationList(e,r(e.declarations,n,Jn.isVariableDeclaration));case 254:return Jn.Debug.type(e),s.updateFunctionDeclaration(e,r(e.decorators,n,Jn.isDecorator),r(e.modifiers,n,Jn.isModifier),i(e.asteriskToken,a,Jn.isAsteriskToken),i(e.name,n,Jn.isIdentifier),r(e.typeParameters,n,Jn.isTypeParameterDeclaration),mk(e.parameters,n,t,r),i(e.type,n,Jn.isTypeNode),_k(e.body,n,t,i));case 255:return Jn.Debug.type(e),s.updateClassDeclaration(e,r(e.decorators,n,Jn.isDecorator),r(e.modifiers,n,Jn.isModifier),i(e.name,n,Jn.isIdentifier),r(e.typeParameters,n,Jn.isTypeParameterDeclaration),r(e.heritageClauses,n,Jn.isHeritageClause),r(e.members,n,Jn.isClassElement));case 256:return Jn.Debug.type(e),s.updateInterfaceDeclaration(e,r(e.decorators,n,Jn.isDecorator),r(e.modifiers,n,Jn.isModifier),i(e.name,n,Jn.isIdentifier),r(e.typeParameters,n,Jn.isTypeParameterDeclaration),r(e.heritageClauses,n,Jn.isHeritageClause),r(e.members,n,Jn.isTypeElement));case 257:return Jn.Debug.type(e),s.updateTypeAliasDeclaration(e,r(e.decorators,n,Jn.isDecorator),r(e.modifiers,n,Jn.isModifier),i(e.name,n,Jn.isIdentifier),r(e.typeParameters,n,Jn.isTypeParameterDeclaration),i(e.type,n,Jn.isTypeNode));case 258:return Jn.Debug.type(e),s.updateEnumDeclaration(e,r(e.decorators,n,Jn.isDecorator),r(e.modifiers,n,Jn.isModifier),i(e.name,n,Jn.isIdentifier),r(e.members,n,Jn.isEnumMember));case 259:return Jn.Debug.type(e),s.updateModuleDeclaration(e,r(e.decorators,n,Jn.isDecorator),r(e.modifiers,n,Jn.isModifier),i(e.name,n,Jn.isModuleName),i(e.body,n,Jn.isModuleBody));case 260:return Jn.Debug.type(e),s.updateModuleBlock(e,r(e.statements,n,Jn.isStatement));case 261:return Jn.Debug.type(e),s.updateCaseBlock(e,r(e.clauses,n,Jn.isCaseOrDefaultClause));case 262:return Jn.Debug.type(e),s.updateNamespaceExportDeclaration(e,i(e.name,n,Jn.isIdentifier));case 263:return Jn.Debug.type(e),s.updateImportEqualsDeclaration(e,r(e.decorators,n,Jn.isDecorator),r(e.modifiers,n,Jn.isModifier),e.isTypeOnly,i(e.name,n,Jn.isIdentifier),i(e.moduleReference,n,Jn.isModuleReference));case 264:return Jn.Debug.type(e),s.updateImportDeclaration(e,r(e.decorators,n,Jn.isDecorator),r(e.modifiers,n,Jn.isModifier),i(e.importClause,n,Jn.isImportClause),i(e.moduleSpecifier,n,Jn.isExpression));case 265:return Jn.Debug.type(e),s.updateImportClause(e,e.isTypeOnly,i(e.name,n,Jn.isIdentifier),i(e.namedBindings,n,Jn.isNamedImportBindings));case 266:return Jn.Debug.type(e),s.updateNamespaceImport(e,i(e.name,n,Jn.isIdentifier));case 272:return Jn.Debug.type(e),s.updateNamespaceExport(e,i(e.name,n,Jn.isIdentifier));case 267:return Jn.Debug.type(e),s.updateNamedImports(e,r(e.elements,n,Jn.isImportSpecifier));case 268:return Jn.Debug.type(e),s.updateImportSpecifier(e,i(e.propertyName,n,Jn.isIdentifier),i(e.name,n,Jn.isIdentifier));case 269:return Jn.Debug.type(e),s.updateExportAssignment(e,r(e.decorators,n,Jn.isDecorator),r(e.modifiers,n,Jn.isModifier),i(e.expression,n,Jn.isExpression));case 270:return Jn.Debug.type(e),s.updateExportDeclaration(e,r(e.decorators,n,Jn.isDecorator),r(e.modifiers,n,Jn.isModifier),e.isTypeOnly,i(e.exportClause,n,Jn.isNamedExportBindings),i(e.moduleSpecifier,n,Jn.isExpression));case 271:return Jn.Debug.type(e),s.updateNamedExports(e,r(e.elements,n,Jn.isExportSpecifier));case 273:return Jn.Debug.type(e),s.updateExportSpecifier(e,i(e.propertyName,n,Jn.isIdentifier),i(e.name,n,Jn.isIdentifier));case 275:return Jn.Debug.type(e),s.updateExternalModuleReference(e,i(e.expression,n,Jn.isExpression));case 276:return Jn.Debug.type(e),s.updateJsxElement(e,i(e.openingElement,n,Jn.isJsxOpeningElement),r(e.children,n,Jn.isJsxChild),i(e.closingElement,n,Jn.isJsxClosingElement));case 277:return Jn.Debug.type(e),s.updateJsxSelfClosingElement(e,i(e.tagName,n,Jn.isJsxTagNameExpression),r(e.typeArguments,n,Jn.isTypeNode),i(e.attributes,n,Jn.isJsxAttributes));case 278:return Jn.Debug.type(e),s.updateJsxOpeningElement(e,i(e.tagName,n,Jn.isJsxTagNameExpression),r(e.typeArguments,n,Jn.isTypeNode),i(e.attributes,n,Jn.isJsxAttributes));case 279:return Jn.Debug.type(e),s.updateJsxClosingElement(e,i(e.tagName,n,Jn.isJsxTagNameExpression));case 280:return Jn.Debug.type(e),s.updateJsxFragment(e,i(e.openingFragment,n,Jn.isJsxOpeningFragment),r(e.children,n,Jn.isJsxChild),i(e.closingFragment,n,Jn.isJsxClosingFragment));case 283:return Jn.Debug.type(e),s.updateJsxAttribute(e,i(e.name,n,Jn.isIdentifier),i(e.initializer,n,Jn.isStringLiteralOrJsxExpression));case 284:return Jn.Debug.type(e),s.updateJsxAttributes(e,r(e.properties,n,Jn.isJsxAttributeLike));case 285:return Jn.Debug.type(e),s.updateJsxSpreadAttribute(e,i(e.expression,n,Jn.isExpression));case 286:return Jn.Debug.type(e),s.updateJsxExpression(e,i(e.expression,n,Jn.isExpression));case 287:return Jn.Debug.type(e),s.updateCaseClause(e,i(e.expression,n,Jn.isExpression),r(e.statements,n,Jn.isStatement));case 288:return Jn.Debug.type(e),s.updateDefaultClause(e,r(e.statements,n,Jn.isStatement));case 289:return Jn.Debug.type(e),s.updateHeritageClause(e,r(e.types,n,Jn.isExpressionWithTypeArguments));case 290:return Jn.Debug.type(e),s.updateCatchClause(e,i(e.variableDeclaration,n,Jn.isVariableDeclaration),i(e.block,n,Jn.isBlock));case 291:return Jn.Debug.type(e),s.updatePropertyAssignment(e,i(e.name,n,Jn.isPropertyName),i(e.initializer,n,Jn.isExpression));case 292:return Jn.Debug.type(e),s.updateShorthandPropertyAssignment(e,i(e.name,n,Jn.isIdentifier),i(e.objectAssignmentInitializer,n,Jn.isExpression));case 293:return Jn.Debug.type(e),s.updateSpreadAssignment(e,i(e.expression,n,Jn.isExpression));case 294:return Jn.Debug.type(e),s.updateEnumMember(e,i(e.name,n,Jn.isPropertyName),i(e.initializer,n,Jn.isExpression));case 300:return Jn.Debug.type(e),s.updateSourceFile(e,pk(e.statements,n,t));case 345:return Jn.Debug.type(e),s.updatePartiallyEmittedExpression(e,i(e.expression,n,Jn.isExpression));case 346:return Jn.Debug.type(e),s.updateCommaListExpression(e,r(e.elements,n,Jn.isExpression));default:return e}}},(qn=bY=bY||{}).createSourceMapGenerator=function(e,n,t,r,a){var i,o,s=(a=a.extendedDiagnostics?qn.performance.createTimer("Source Map","beforeSourcemap","afterSourcemap"):qn.performance.nullTimer).enter,c=a.exit,l=[],d=[],u=new qn.Map,p=[],m=[],_="",f=0,g=0,y=0,h=0,v=0,b=0,E=!1,T=0,S=0,x=0,L=0,D=0,A=0,C=!1,I=!1,N=!1;return{getSources:function(){return l},addSource:k,setSourceContent:R,addName:O,addMapping:P,appendSourceMap:function(e,n,t,r,a,i){qn.Debug.assert(T<=e,"generatedLine cannot backtrack"),qn.Debug.assert(0<=n,"generatedCharacter cannot be negative"),s();for(var o,l=[],d=vk(t.mappings),u=d.next();!u.done;u=d.next()){var p,m,_,f,g,y,h=u.value;if(i&&(h.generatedLine>i.line||h.generatedLine===i.line&&h.generatedCharacter>i.character))break;a&&(h.generatedLine<a.line||a.line===h.generatedLine&&h.generatedCharacter<a.character)||((f=_=m=p=void 0)!==h.sourceIndex&&(void 0===(p=l[h.sourceIndex])&&(g=t.sources[h.sourceIndex],g=t.sourceRoot?qn.combinePaths(t.sourceRoot,g):g,g=qn.combinePaths(qn.getDirectoryPath(r),g),l[h.sourceIndex]=p=k(g),t.sourcesContent)&&"string"==typeof t.sourcesContent[h.sourceIndex]&&R(p,t.sourcesContent[h.sourceIndex]),m=h.sourceLine,_=h.sourceCharacter,t.names)&&void 0!==h.nameIndex&&void 0===(f=(o=o||[])[h.nameIndex])&&(o[h.nameIndex]=f=O(t.names[h.nameIndex])),g=h.generatedLine-(a?a.line:0),y=g+e,h=a&&a.line===h.generatedLine?h.generatedCharacter-a.character:h.generatedCharacter,P(y,0==g?h+n:h,p,m,_,f))}c()},toJSON:G,toString:function(){return JSON.stringify(G())}};function k(n){s();var t=qn.getRelativePathToDirectoryOrUrl(r,n,e.getCurrentDirectory(),e.getCanonicalFileName,!0),a=u.get(t);return void 0===a&&(a=d.length,d.push(t),l.push(n),u.set(t,a)),c(),a}function R(e,n){if(s(),null!==n){for(i=i||[];i.length<e;)i.push(null);i[e]=n}c()}function O(e){s();var n=(o=o||new qn.Map).get(e);return void 0===n&&(n=p.length,p.push(e),o.set(e,n)),c(),n}function P(e,n,t,r,a,i){var o,l,d;qn.Debug.assert(T<=e,"generatedLine cannot backtrack"),qn.Debug.assert(0<=n,"generatedCharacter cannot be negative"),qn.Debug.assert(void 0===t||0<=t,"sourceIndex cannot be negative"),qn.Debug.assert(void 0===r||0<=r,"sourceLine cannot be negative"),qn.Debug.assert(void 0===a||0<=a,"sourceCharacter cannot be negative"),s(),C&&T===e&&S===n&&(l=r,d=a,void 0===(o=t)||void 0===l||void 0===d||x!==o||!(l<L||L===l&&d<D))||(M(),T=e,S=n,C=!(N=I=!1)),void 0!==t&&void 0!==r&&void 0!==a&&(x=t,L=r,D=a,I=!0,void 0!==i)&&(A=i,N=!0),c()}function w(e){m.push(e),1024<=m.length&&F()}function M(){if(C&&(!E||f!==T||g!==S||y!==x||h!==L||v!==D||b!==A)){if(s(),f<T){for(;w(59),++f<T;);g=0}else qn.Debug.assertEqual(f,T,"generatedLine cannot backtrack"),E&&w(44);B(S-g),g=S,I&&(B(x-y),y=x,B(L-h),h=L,B(D-v),v=D,N)&&(B(A-b),b=A),E=!0,c()}}function F(){0<m.length&&(_+=String.fromCharCode.apply(void 0,m),m.length=0)}function G(){return M(),F(),{version:3,file:n,sourceRoot:t,sources:d,names:p,mappings:_,sourcesContent:i}}function B(e){e<0?e=1+(-e<<1):e<<=1;do{var n=31&e;0<(e>>=5)&&(n|=32),w(0<=(n=n)&&n<26?65+n:26<=n&&n<52?97+n-26:52<=n&&n<62?48+n-52:62===n?43:63===n?47:qn.Debug.fail(n+": not a base64 value"))}while(0<e)}},Xn=/^\/\/[@#] source[M]appingURL=(.+)$/,Yn=/^\s*(\/\/[@#] .*)?$/,qn.getLineInfo=function(e,n){return{getLineCount:function(){return n.length},getLineText:function(t){return e.substring(n[t],n[t+1])}}},qn.tryGetSourceMappingURL=function(e){for(var n=e.getLineCount()-1;0<=n;n--){var t=e.getLineText(n),r=Xn.exec(t);if(r)return qn.trimStringEnd(r[1]);if(!t.match(Yn))break}},qn.isRawSourceMap=hk,qn.tryParseRawSourceMap=function(e){try{var n=JSON.parse(e);if(hk(n))return n}catch(e){}},qn.decodeMappings=vk,qn.sameMapping=function(e,n){return e===n||e.generatedLine===n.generatedLine&&e.generatedCharacter===n.generatedCharacter&&e.sourceIndex===n.sourceIndex&&e.sourceLine===n.sourceLine&&e.sourceCharacter===n.sourceCharacter&&e.nameIndex===n.nameIndex},qn.isSourceMapping=bk,qn.createDocumentPositionMapper=function(e,n,t){t=qn.getDirectoryPath(t);var r,a,i,o=n.sourceRoot?qn.getNormalizedAbsolutePath(n.sourceRoot,t):t,s=qn.getNormalizedAbsolutePath(n.file,t),c=e.getSourceFileLike(s),l=n.sources.map((function(e){return qn.getNormalizedAbsolutePath(e,o)})),d=new qn.Map(l.map((function(n,t){return[e.getCanonicalFileName(n),t]})));return{getSourcePosition:function(e){var n=(()=>{if(void 0===a){for(var e=[],n=0,t=p();n<t.length;n++){var r=t[n];e.push(r)}a=qn.sortAndDeduplicate(e,xk,Tk)}return a})();if(!qn.some(n))return e;var t=qn.binarySearchKey(n,e.pos,Dk,qn.compareValues);return t<0&&(t=~t),n=n[t],void 0!==n&&Ek(n)?{fileName:l[n.sourceIndex],pos:n.sourcePosition}:e},getGeneratedPosition:function(n){var t=d.get(e.getCanonicalFileName(n.fileName));if(void 0===t)return n;var r=(e=>{if(void 0===i){for(var n=[],t=0,r=p();t<r.length;t++){var a,o=r[t];Ek(o)&&((a=n[o.sourceIndex])||(n[o.sourceIndex]=a=[]),a.push(o))}i=n.map((function(e){return qn.sortAndDeduplicate(e,Sk,Tk)}))}return i[e]})(t);if(!qn.some(r))return n;var a=qn.binarySearchKey(r,n.pos,Lk,qn.compareValues);return a<0&&(a=~a),r=r[a],void 0!==r&&r.sourceIndex===t?{fileName:s,pos:r.generatedPosition}:n}};function u(t){var r,a,i=void 0!==c?qn.getPositionOfLineAndCharacter(c,t.generatedLine,t.generatedCharacter,!0):-1;return bk(t)&&(a=e.getSourceFileLike(l[t.sourceIndex]),r=n.sources[t.sourceIndex],a=void 0!==a?qn.getPositionOfLineAndCharacter(a,t.sourceLine,t.sourceCharacter,!0):-1),{generatedPosition:i,source:r,sourceIndex:t.sourceIndex,sourcePosition:a,nameIndex:t.nameIndex}}function p(){var t,a;return void 0===r&&(t=vk(n.mappings),a=qn.arrayFrom(t,u),r=void 0!==t.error?(e.log&&e.log("Encountered error while decoding sourcemap: "+t.error),qn.emptyArray):a),r}},qn.identitySourceMapConsumer={getSourcePosition:qn.identity,getGeneratedPosition:qn.identity},(Qn=bY=bY||{}).getOriginalNodeId=Ak,Qn.chainBundle=function(e,n){return function(t){return(300===t.kind?n:t=>e.factory.createBundle(Qn.map(t.sourceFiles,n),t.prepends))(t)}},Qn.getExportNeedsImportStarHelper=function(e){return!!Qn.getNamespaceDeclarationNode(e)},Qn.getImportNeedsImportStarHelper=Ik,Qn.getImportNeedsImportDefaultHelper=Nk,Qn.collectExternalModuleInfo=function(e,n,t,r){for(var a,i=[],o=Qn.createMultiMap(),s=[],c=new Qn.Map,l=!1,d=!1,u=!1,p=!1,m=0,_=n.statements;m<_.length;m++){var f,g=_[m];switch(g.kind){case 264:i.push(g),!u&&Ik(g)&&(u=!0),!p&&Nk(g)&&(p=!0);break;case 263:275===g.moduleReference.kind&&i.push(g);break;case 270:g.moduleSpecifier?g.exportClause?(i.push(g),Qn.isNamedExports(g.exportClause)?b(g):(f=g.exportClause.name,c.get(Qn.idText(f))||(kk(s,Ak(g),f),c.set(Qn.idText(f),!0),v=Qn.append(v,f)),u=!0)):(i.push(g),d=!0):b(g);break;case 269:g.isExportEquals&&!a&&(a=g);break;case 235:if(Qn.hasSyntacticModifier(g,1))for(var y=0,h=g.declarationList.declarations;y<h.length;y++)var v=function e(n,t,r){var a;if(Qn.isBindingPattern(n.name))for(var i=0,o=n.name.elements;i<o.length;i++){var s=o[i];Qn.isOmittedExpression(s)||(r=e(s,t,r))}else Qn.isGeneratedIdentifier(n.name)||(a=Qn.idText(n.name),t.get(a))||(t.set(a,!0),r=Qn.append(r,n.name));return r}(h[y],c,v);break;case 254:Qn.hasSyntacticModifier(g,1)&&(Qn.hasSyntacticModifier(g,512)?l||(kk(s,Ak(g),e.factory.getDeclarationName(g)),l=!0):(f=g.name,c.get(Qn.idText(f))||(kk(s,Ak(g),f),c.set(Qn.idText(f),!0),v=Qn.append(v,f))));break;case 255:Qn.hasSyntacticModifier(g,1)&&(Qn.hasSyntacticModifier(g,512)?l||(kk(s,Ak(g),e.factory.getDeclarationName(g)),l=!0):(f=g.name)&&!c.get(Qn.idText(f))&&(kk(s,Ak(g),f),c.set(Qn.idText(f),!0),v=Qn.append(v,f)))}}return(n=Qn.createExternalHelpersImportDeclarationIfNeeded(e.factory,e.getEmitHelperFactory(),n,r,d,u,p))&&i.unshift(n),{externalImports:i,exportSpecifiers:o,exportEquals:a,hasExportStarsToExportValues:d,exportedBindings:s,exportedNames:v,externalHelpersImportDeclaration:n};function b(e){for(var n=0,r=Qn.cast(e.exportClause,Qn.isNamedExports).elements;n<r.length;n++){var a,i=r[n];c.get(Qn.idText(i.name))||(a=i.propertyName||i.name,e.moduleSpecifier||o.add(Qn.idText(a),i),(a=t.getReferencedImportDeclaration(a)||t.getReferencedValueDeclaration(a))&&kk(s,Ak(a),i.name),c.set(Qn.idText(i.name),!0),v=Qn.append(v,i.name))}}},Qn.isSimpleCopiableExpression=Rk,Qn.isSimpleInlineableExpression=function(e){return!Qn.isIdentifier(e)&&Rk(e)},Qn.isCompoundAssignment=function(e){return 64<=e&&e<=78},Qn.getNonAssignmentOperatorForCompoundAssignment=function(e){switch(e){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}},Qn.addPrologueDirectivesAndInitialSuperCall=function(e,n,t,r){if(n.body){var a=n.body.statements;n=e.copyPrologue(a,t,!1,r);if(n!==a.length){var i=Qn.findIndex(a,(function(e){return Qn.isExpressionStatement(e)&&Qn.isSuperCall(e.expression)}),n);if(-1<i){for(var o=n;o<=i;o++)t.push(Qn.visitNode(a[o],r,Qn.isStatement));return i+1}}return n}return 0},Qn.getProperties=function(e,n,t){return Qn.filter(e.members,(function(e){return e=e,r=n,a=t,Qn.isPropertyDeclaration(e)&&(!!e.initializer||!r)&&Qn.hasStaticModifier(e)===a;var r,a}))},Qn.getStaticPropertiesAndClassStaticBlock=function(e){return Qn.filter(e.members,Ok)},Qn.isInitializedProperty=function(e){return 165===e.kind&&void 0!==e.initializer},Qn.isNonStaticMethodOrAccessorWithPrivateName=function(e){return!Qn.isStatic(e)&&Qn.isMethodOrAccessor(e)&&Qn.isPrivateIdentifier(e.name)},Zn=bY=bY||{},(tu=Zn.FlattenLevel||(Zn.FlattenLevel={}))[tu.All=0]="All",tu[tu.ObjectRest=1]="ObjectRest",Zn.flattenDestructuringAssignment=function(e,n,t,r,a,i){var o,s,c=e;if(Zn.isDestructuringAssignment(e))for(o=e.right;Zn.isEmptyArrayLiteral(e.left)||Zn.isEmptyObjectLiteral(e.left);){if(!Zn.isDestructuringAssignment(o))return Zn.visitNode(o,n,Zn.isExpression);c=e=o,o=e.right}if(r={context:t,level:r,downlevelIteration:!!t.getCompilerOptions().downlevelIteration,hoistTempVariables:!0,emitExpression:l,emitBindingOrAssignment:function(e,r,a,o){Zn.Debug.assertNode(e,i?Zn.isIdentifier:Zn.isExpression),e=i?i(e,r,a):Zn.setTextRange(t.factory.createAssignment(Zn.visitNode(e,n,Zn.isExpression),r),a),e.original=o,l(e)},createArrayBindingOrAssignmentPattern:function(e){return(n=t.factory).createArrayLiteralExpression(Zn.map(e,n.converters.convertToArrayAssignmentElement));var n},createObjectBindingOrAssignmentPattern:function(e){return(n=t.factory).createObjectLiteralExpression(Zn.map(e,n.converters.convertToObjectAssignmentElement));var n},createArrayBindingOrAssignmentElement:Bk,visitor:n},o&&(o=Zn.visitNode(o,n,Zn.isExpression),Zn.isIdentifier(o)&&Pk(e,o.escapedText)||wk(e)?o=Gk(r,o,!1,c):a?o=Gk(r,o,!0,c):Zn.nodeIsSynthesized(e)&&(c=o)),Mk(r,e,o,c,Zn.isDestructuringAssignment(e)),o&&a){if(!Zn.some(s))return o;s.push(o)}return t.factory.inlineExpressions(s)||t.factory.createOmittedExpression();function l(e){s=Zn.append(s,e)}},Zn.flattenDestructuringBinding=function(e,n,t,r,a,i,o){void 0===i&&(i=!1);var s,c=[],l=[];r={context:t,level:r,downlevelIteration:!!t.getCompilerOptions().downlevelIteration,hoistTempVariables:i,emitExpression:function(e){s=Zn.append(s,e)},emitBindingOrAssignment:y,createArrayBindingOrAssignmentPattern:function(e){return n=t.factory,e=e,Zn.Debug.assertEachNode(e,Zn.isArrayBindingElement),n.createArrayBindingPattern(e);var n},createObjectBindingOrAssignmentPattern:function(e){return n=t.factory,e=e,Zn.Debug.assertEachNode(e,Zn.isBindingElement),n.createObjectBindingPattern(e);var n},createArrayBindingOrAssignmentElement:function(e){return t.factory.createBindingElement(void 0,void 0,e)},visitor:n};Zn.isVariableDeclaration(e)&&(n=Zn.getInitializerOfBindingOrAssignmentElement(e))&&(Zn.isIdentifier(n)&&Pk(e,n.escapedText)||wk(e))&&(n=Gk(r,Zn.visitNode(n,r.visitor),!1,n),e=t.factory.updateVariableDeclaration(e,e.name,void 0,void 0,n)),Mk(r,e,a,e,o),s&&(n=t.factory.createTempVariable(void 0),i?y(n,_=t.factory.inlineExpressions(s),s=void 0,void 0):(t.hoistVariableDeclaration(n),(r=Zn.last(c)).pendingExpressions=Zn.append(r.pendingExpressions,t.factory.createAssignment(n,r.value)),Zn.addRange(r.pendingExpressions,s),r.value=n));for(var d=0,u=c;d<u.length;d++){var p=u[d],m=p.pendingExpressions,_=p.value,f=p.location,g=p.original;p=t.factory.createVariableDeclaration(p.name,void 0,void 0,m?t.factory.inlineExpressions(Zn.append(m,_)):_);p.original=g,Zn.setTextRange(p,f),l.push(p)}return l;function y(e,n,r,a){Zn.Debug.assertNode(e,Zn.isBindingName),s&&(n=t.factory.inlineExpressions(Zn.append(s,n)),s=void 0),c.push({pendingExpressions:s,name:e,value:n,location:r,original:a})}},$n=bY=bY||{},(sm=et=$n.ProcessLevel||($n.ProcessLevel={}))[sm.LiftRestriction=0]="LiftRestriction",sm[sm.All=1]="All",$n.processTaggedTemplateExpression=function(e,n,t,r,a,i){var o=$n.visitNode(n.tag,t,$n.isExpression),s=[void 0],c=[],l=[],d=n.template;if(i===et.LiftRestriction&&!$n.hasInvalidEscape(d))return $n.visitEachChild(n,t,e);if($n.isNoSubstitutionTemplateLiteral(d))c.push(Uk(d)),l.push(Vk(d,r));else{c.push(Uk(d.head)),l.push(Vk(d.head,r));for(var u=0,p=d.templateSpans;u<p.length;u++){var m=p[u];c.push(Uk(m.literal)),l.push(Vk(m.literal,r)),s.push($n.visitNode(m.expression,t,$n.isExpression))}}return i=e.getEmitHelperFactory().createTemplateObjectHelper($n.factory.createArrayLiteralExpression(c),$n.factory.createArrayLiteralExpression(l)),$n.isExternalModule(r)?(a(n=$n.factory.createUniqueName("templateObject")),s[0]=$n.factory.createLogicalOr(n,$n.factory.createAssignment(n,i))):s[0]=i,$n.factory.createCallExpression(o,void 0,s)},(nt=bY=bY||{}).transformTypeScript=function(e){var n,t,r,a,i,o,s,c,l,d,u=e.factory,p=e.getEmitHelperFactory,m=e.startLexicalEnvironment,_=e.resumeLexicalEnvironment,f=e.endLexicalEnvironment,g=e.hoistVariableDeclaration,y=e.getEmitResolver(),h=e.getCompilerOptions(),v=nt.getStrictOptionValue(h,"strictNullChecks"),b=nt.getEmitScriptTarget(h),E=nt.getEmitModuleKind(h),T=e.onEmitNode,S=e.onSubstituteNode;return e.onEmitNode=function(e,t,r){var a=d,i=n;nt.isSourceFile(t)&&(n=t),2&c&&(e=>259===nt.getOriginalNode(e).kind)(t)&&(d|=2),8&c&&(e=>258===nt.getOriginalNode(e).kind)(t)&&(d|=8),T(e,t,r),d=a,n=i},e.onSubstituteNode=function(e,n){return n=S(e,n),1===e?(e=>{switch(e.kind){case 79:return(e=>(e=>{if(1&c&&33554432&y.getNodeCheckFlags(e)){var n=y.getReferencedValueDeclaration(e);if(n){n=l[n.id];if(n)return n=u.cloneNode(n),nt.setSourceMapRange(n,e),nt.setCommentRange(n,e),n}}})(e)||we(e)||e)(e);case 204:case 205:return Me(e)}return e})(n):nt.isShorthandPropertyAssignment(n)?(e=>{if(2&c){var n,t=e.name,r=we(t);if(r)return e.objectAssignmentInitializer?(n=u.createAssignment(r,e.objectAssignmentInitializer),nt.setTextRange(u.createPropertyAssignment(t,n),e)):nt.setTextRange(u.createPropertyAssignment(t,r),e)}return e})(n):n},e.enableSubstitution(204),e.enableSubstitution(205),function(e){return 301!==e.kind?x(e):(e=e,u.createBundle(e.sourceFiles.map(x),nt.mapDefined(e.prepends,(function(e){return 303===e.kind?nt.createUnparsedSourceFile(e,"js"):e}))))};function x(t){return t.isDeclarationFile||(t=L(n=t,M),nt.addEmitHelpers(t,e.readEmitHelpers()),n=void 0),t}function L(e,n){var t=a,r=i,c=o,l=s,d=e;switch(d.kind){case 300:case 261:case 260:case 233:a=d,o=i=void 0;break;case 255:case 254:nt.hasSyntacticModifier(d,2)||(d.name?ge(d):nt.Debug.assert(255===d.kind||nt.hasSyntacticModifier(d,512)),nt.isClassDeclaration(d)&&(i=d))}return n=n(e),a!==t&&(o=c),a=t,i=r,s=l,n}function D(e){return L(e,A)}function A(e){return 1&e.transformFlags?w(e):e}function C(e){return L(e,I)}function I(n){switch(n.kind){case 264:case 263:case 269:case 270:var t=n;if(nt.getParseTreeNode(t)!==t)return 1&t.transformFlags?nt.visitEachChild(t,D,e):t;switch(t.kind){case 264:return(e=>{var n;return e.importClause?e.importClause.isTypeOnly||!(n=nt.visitNode(e.importClause,be,nt.isImportClause))&&1!==h.importsNotUsedAsValues&&2!==h.importsNotUsedAsValues?void 0:u.updateImportDeclaration(e,void 0,void 0,n,e.moduleSpecifier):e})(t);case 263:return Le(t);case 269:return(n=>y.isValueAliasDeclaration(n)?nt.visitEachChild(n,D,e):void 0)(t);case 270:return(e=>{var n;if(!e.isTypeOnly)return!e.exportClause||nt.isNamespaceExport(e.exportClause)?e:y.isValueAliasDeclaration(e)&&(n=nt.visitNode(e.exportClause,Se,nt.isNamedExportBindings))?u.updateExportDeclaration(e,void 0,void 0,e.isTypeOnly,n,e.moduleSpecifier):void 0})(t);default:nt.Debug.fail("Unhandled ellided statement")}return;default:return A(n)}}function N(e){return L(e,k)}function k(e){if(270!==e.kind&&264!==e.kind&&265!==e.kind&&(263!==e.kind||275!==e.moduleReference.kind))return 1&e.transformFlags||nt.hasSyntacticModifier(e,1)?w(e):e}function R(e){return L(e,O)}function O(e){switch(e.kind){case 169:return de(e);case 165:return le(e);case 174:case 170:case 171:case 167:case 168:return A(e);case 232:return e;default:return nt.Debug.failBadSyntaxKind(e)}}function P(e){if(!(18654&nt.modifierToFlag(e.kind)||t&&93===e.kind))return e}function w(i){if(nt.isStatement(i)&&nt.hasSyntacticModifier(i,2))return u.createNotEmittedStatement(i);switch(i.kind){case 93:case 88:return t?void 0:i;case 123:case 121:case 122:case 126:case 157:case 85:case 134:case 143:case 181:case 182:case 183:case 184:case 180:case 175:case 161:case 129:case 153:case 132:case 148:case 145:case 142:case 114:case 149:case 178:case 177:case 179:case 176:case 185:case 186:case 187:case 189:case 190:case 191:case 192:case 193:case 194:case 174:case 163:return;case 257:return u.createNotEmittedStatement(i);case 165:return le(i);case 262:return;case 169:return de(i);case 256:return u.createNotEmittedStatement(i);case 255:var o=i;return G(o)||t&&nt.hasSyntacticModifier(o,1)?(_=nt.getProperties(o,!0,!0),128&(_=((e,n)=>{var t=0;return nt.some(n)&&(t|=1),(n=nt.getEffectiveBaseTypeNode(e))&&104!==nt.skipOuterExpressions(n.expression).kind&&(t|=64),nt.classOrConstructorParameterIsDecorated(e)&&(t|=2),nt.childIsDecorated(e)&&(t|=4),De(e)?t|=8:(e=>Ae(e)&&nt.hasSyntacticModifier(e,512))(e)?t|=32:Ce(e)&&(t|=16),b<=1&&7&t&&(t|=128),t})(o,_))&&e.startLexicalEnvironment(),d=o.name||(5&_?u.getGeneratedNameForNode(o):void 0),W(v=[d=2&_?((n,t)=>{var r=nt.moveRangePastDecorators(n),a=(n=>{var t;if(16777216&y.getNodeCheckFlags(n))return 0==(1&c)&&(c|=1,e.enableSubstitution(79),l=[]),t=u.createUniqueName(n.name&&!nt.isGeneratedIdentifier(n.name)?nt.idText(n.name):"default"),l[nt.getOriginalNodeId(n)]=t,g(t),t})(n),i=b<=2?u.getInternalName(n,!1,!0):u.getLocalName(n,!1,!0),o=nt.visitNodes(n.heritageClauses,D,nt.isHeritageClause),s=B(n);t=u.createClassExpression(void 0,void 0,t,void 0,o,s),nt.setOriginalNode(t,n),nt.setTextRange(t,r),o=u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(i,void 0,void 0,a?u.createAssignment(a,t):t)],1));return nt.setOriginalNode(o,n),nt.setTextRange(o,r),nt.setCommentRange(o,n),o})(o,d):((e,n,t)=>{var r=128&t?void 0:nt.visitNodes(e.modifiers,P,nt.isModifier);r=u.createClassDeclaration(void 0,r,n,void 0,nt.visitNodes(e.heritageClauses,D,nt.isHeritageClause),B(e)),n=nt.getEmitFlags(e);return 1&t&&(n|=32),nt.setTextRange(r,e),nt.setOriginalNode(r,e),nt.setEmitFlags(r,n),r})(o,d,_)],o,!1),W(v,o,!0),z=v,(s=(e=>{var n,t,r=(e=>{var n=e.decorators;e=j(nt.getFirstConstructorWithBody(e));if(n||e)return{decorators:n,parameters:e}})(e);if(r=H(e,e,r))return n=l&&l[nt.getOriginalNodeId(e)],t=b<=2?u.getInternalName(e,!1,!0):u.getLocalName(e,!1,!0),r=p().createDecorateHelper(r,t),t=u.createAssignment(t,n?u.createAssignment(n,r):r),nt.setEmitFlags(t,1536),nt.setSourceMapRange(t,nt.moveRangePastDecorators(e)),t})(K=o))&&z.push(nt.setOriginalNode(u.createExpressionStatement(s),K)),128&_&&(z=nt.createTokenRange(nt.skipTrivia(n.text,o.members.end),19),s=u.getInternalName(o),s=u.createPartiallyEmittedExpression(s),nt.setTextRangeEnd(s,z.end),nt.setEmitFlags(s,1536),s=u.createReturnStatement(s),nt.setTextRangePos(s,z.pos),nt.setEmitFlags(s,1920),v.push(s),nt.insertStatementsAfterStandardPrologue(v,e.endLexicalEnvironment()),z=u.createImmediatelyInvokedArrowFunction(v),nt.setEmitFlags(z,33554432),s=u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(u.getLocalName(o,!1,!1),void 0,void 0,z)])),nt.setOriginalNode(s,o),nt.setCommentRange(s,o),nt.setSourceMapRange(s,nt.moveRangePastDecorators(o)),nt.startOnNewLine(s),v=[s]),8&_?Ne(v,o):(128&_||2&_)&&(32&_?v.push(u.createExportDefault(u.getLocalName(o,!1,!0))):16&_&&v.push(u.createExternalModuleExport(u.getLocalName(o,!1,!0)))),1<v.length&&(v.push(u.createEndOfDeclarationMarker(o)),nt.setEmitFlags(d,4194304|nt.getEmitFlags(d))),nt.singleOrMany(v)):nt.visitEachChild(o,D,e);case 224:return G(K=i)?(z=u.createClassExpression(void 0,void 0,K.name,void 0,nt.visitNodes(K.heritageClauses,D,nt.isHeritageClause),B(K)),nt.setOriginalNode(z,K),nt.setTextRange(z,K),z):nt.visitEachChild(K,D,e);case 289:var s=i;return 117!==s.token?nt.visitEachChild(s,D,e):void 0;case 226:return u.updateExpressionWithTypeArguments(i,nt.visitNode(i.expression,D,nt.isLeftHandSideExpression),void 0);case 167:var d,_=i;return ce(_)?((d=u.updateMethodDeclaration(_,void 0,nt.visitNodes(_.modifiers,P,nt.isModifier),_.asteriskToken,se(_),void 0,void 0,nt.visitParameterList(_.parameters,D,e),void 0,nt.visitFunctionBody(_.body,D,e)))!==_&&(nt.setCommentRange(d,_),nt.setSourceMapRange(d,nt.moveRangePastDecorators(_))),d):void 0;case 170:var v=i;return pe(v)?((o=u.updateGetAccessorDeclaration(v,void 0,nt.visitNodes(v.modifiers,P,nt.isModifier),se(v),nt.visitParameterList(v.parameters,D,e),void 0,nt.visitFunctionBody(v.body,D,e)||u.createBlock([])))!==v&&(nt.setCommentRange(o,v),nt.setSourceMapRange(o,nt.moveRangePastDecorators(v))),o):void 0;case 171:var T=i;return pe(T)?((S=u.updateSetAccessorDeclaration(T,void 0,nt.visitNodes(T.modifiers,P,nt.isModifier),se(T),nt.visitParameterList(T.parameters,D,e),nt.visitFunctionBody(T.body,D,e)||u.createBlock([])))!==T&&(nt.setCommentRange(S,T),nt.setSourceMapRange(S,nt.moveRangePastDecorators(T))),S):void 0;case 254:var S;T=i;return ce(T)?(S=u.updateFunctionDeclaration(T,void 0,nt.visitNodes(T.modifiers,P,nt.isModifier),T.asteriskToken,T.name,void 0,nt.visitParameterList(T.parameters,D,e),void 0,nt.visitFunctionBody(T.body,D,e)||u.createBlock([])),De(T)?(Ne(V=[S],T),V):S):u.createNotEmittedStatement(T);case 211:return ce(V=i)?u.updateFunctionExpression(V,nt.visitNodes(V.modifiers,P,nt.isModifier),V.asteriskToken,V.name,void 0,nt.visitParameterList(V.parameters,D,e),void 0,nt.visitFunctionBody(V.body,D,e)||u.createBlock([])):u.createOmittedExpression();case 212:return U=i,u.updateArrowFunction(U,nt.visitNodes(U.modifiers,P,nt.isModifier),void 0,nt.visitParameterList(U.parameters,D,e),void 0,U.equalsGreaterThanToken,nt.visitFunctionBody(U.body,D,e));case 162:return U=i,nt.parameterIsThisKeyword(U)?void 0:((x=u.updateParameterDeclaration(U,void 0,void 0,U.dotDotDotToken,nt.visitNode(U.name,D,nt.isBindingName),void 0,void 0,nt.visitNode(U.initializer,D,nt.isExpression)))!==U&&(nt.setCommentRange(x,U),nt.setTextRange(x,nt.moveRangePastModifiers(U)),nt.setSourceMapRange(x,nt.moveRangePastModifiers(U)),nt.setEmitFlags(x.name,32)),x);case 210:var x=i,L=nt.skipOuterExpressions(x.expression,-7);return nt.isAssertionExpression(L)?(L=nt.visitNode(x.expression,D,nt.isExpression),nt.length(nt.getLeadingCommentRangesOfNode(L,n))?u.updateParenthesizedExpression(x,L):u.createPartiallyEmittedExpression(L,x)):nt.visitEachChild(x,D,e);case 209:case 227:return L=i,F=nt.visitNode(L.expression,D,nt.isExpression),u.createPartiallyEmittedExpression(F,L);case 206:return F=i,u.updateCallExpression(F,nt.visitNode(F.expression,D,nt.isExpression),void 0,nt.visitNodes(F.arguments,D,nt.isExpression));case 207:return M=i,u.updateNewExpression(M,nt.visitNode(M.expression,D,nt.isExpression),void 0,nt.visitNodes(M.arguments,D,nt.isExpression));case 208:return M=i,u.updateTaggedTemplateExpression(M,nt.visitNode(M.tag,D,nt.isExpression),void 0,nt.visitNode(M.template,D,nt.isExpression));case 228:return w=i,C=nt.visitNode(w.expression,D,nt.isLeftHandSideExpression),u.createPartiallyEmittedExpression(C,w);case 258:var A,C=i;return(e=>!nt.isEnumConst(e)||nt.shouldPreserveConstEnums(h))(C)?(w=2,!(R=he(A=[],C))||E===nt.ModuleKind.System&&a===n||(w|=512),N=Oe(C),I=Pe(C),O=nt.hasSyntacticModifier(C,1)?u.getExternalModuleOrNamespaceExportName(r,C,!1,!0):u.getLocalName(C,!1,!0),O=u.createLogicalOr(O,u.createAssignment(O,u.createObjectLiteralExpression())),fe(C)&&(k=u.getLocalName(C,!1,!0),O=u.createAssignment(k,O)),k=u.createExpressionStatement(u.createCallExpression(u.createFunctionExpression(void 0,void 0,void 0,void 0,[u.createParameterDeclaration(void 0,void 0,void 0,N)],void 0,((e,n)=>{var t=r,a=(n=(r=n,[]),m(),nt.map(e.members,_e));return nt.insertStatementsAfterStandardPrologue(n,f()),nt.addRange(n,a),r=t,u.createBlock(nt.setTextRange(u.createNodeArray(n),e.members),!0)})(C,I)),void 0,[O])),nt.setOriginalNode(k,C),R&&(nt.setSyntheticLeadingComments(k,void 0),nt.setSyntheticTrailingComments(k,void 0)),nt.setTextRange(k,C),nt.addEmitFlags(k,w),A.push(k),A.push(u.createEndOfDeclarationMarker(C)),A):u.createNotEmittedStatement(C);case 235:var I,N=i;return De(N)?0!==(I=nt.getInitializedVariables(N.declarationList)).length?nt.setTextRange(u.createExpressionStatement(u.inlineExpressions(nt.map(I,me))),N):void 0:nt.visitEachChild(N,D,e);case 252:return O=i,u.updateVariableDeclaration(O,nt.visitNode(O.name,D,nt.isBindingName),void 0,void 0,nt.visitNode(O.initializer,D,nt.isExpression));case 259:return ve(i);case 263:return Le(i);case 277:return R=i,u.updateJsxSelfClosingElement(R,nt.visitNode(R.tagName,D,nt.isJsxTagNameExpression),void 0,nt.visitNode(R.attributes,D,nt.isJsxAttributes));case 278:return k=i,u.updateJsxOpeningElement(k,nt.visitNode(k.tagName,D,nt.isJsxTagNameExpression),void 0,nt.visitNode(k.attributes,D,nt.isJsxAttributes));default:return nt.visitEachChild(i,D,e)}var k,R,O,w,M,F,U,V,K,z}function M(n){var t=nt.getStrictOptionValue(h,"alwaysStrict")&&!(nt.isExternalModule(n)&&E>=nt.ModuleKind.ES2015)&&!nt.isJsonSourceFile(n);return u.updateSourceFile(n,nt.visitLexicalEnvironment(n.statements,C,e,0,t))}function F(e){return!!(4096&e.transformFlags)}function G(e){return nt.some(e.decorators)||nt.some(e.typeParameters)||nt.some(e.heritageClauses,F)||nt.some(e.members,F)}function B(e){var n=[],t=nt.getFirstConstructorWithBody(e),r=t&&nt.filter(t.parameters,(function(e){return nt.isParameterPropertyDeclaration(e,t)}));if(r)for(var a=0,i=r;a<i.length;a++){var o=i[a];nt.isIdentifier(o.name)&&n.push(nt.setOriginalNode(u.createPropertyDeclaration(void 0,void 0,o.name,void 0,void 0,void 0),o))}return nt.addRange(n,nt.visitNodes(e.members,R,nt.isClassElement)),nt.setTextRange(u.createNodeArray(n),e.members)}function U(e,n){return nt.filter(e.members,n?function(n){return V(n,!0,e)}:function(n){return V(n,!1,e)})}function V(e,n,t){return nt.nodeOrChildIsDecorated(e,t)&&n===nt.isStatic(e)}function j(e){var n;if(e)for(var t=e.parameters,r=(e=0<t.length&&nt.parameterIsThisKeyword(t[0]),e?1:0),a=e?t.length-1:t.length,i=0;i<a;i++){var o=t[i+r];(n||o.decorators)&&((n=n||new Array(a))[i]=o.decorators)}return n}function K(e,n){switch(n.kind){case 170:case 171:var t=e,r=n;if(r.body){var a=(t=nt.getAllAccessorDeclarations(t.members,r)).firstAccessor,i=t.secondAccessor;t=t.setAccessor;if((a=a.decorators?a:i&&i.decorators?i:void 0)&&r===a)return i=a.decorators,r=j(t),i||r?{decorators:i,parameters:r}:void 0}return;case 167:return a=n,a.body?(t=a.decorators,a=j(a),t||a?{decorators:t,parameters:a}:void 0):void 0;case 165:return i=n,(i=i.decorators)?{decorators:i}:void 0;default:return}}function H(e,n,t){var r;if(t)return nt.addRange(r=[],nt.map(t.decorators,z)),nt.addRange(r,nt.flatMap(t.parameters,J)),t=e,e=n,n=r,h.emitDecoratorMetadata&&(q(t)&&n.push(p().createMetadataHelper("design:type",Q(t))),Y(t)&&n.push(p().createMetadataHelper("design:paramtypes",Z(t,e))),X(t))&&n.push(p().createMetadataHelper("design:returntype",$(t))),r}function W(e,n,t){nt.addRange(e,nt.map(((e,n)=>{n=U(e,n);for(var t,r=0,a=n;r<a.length;r++){var i=a[r];i=((e,n)=>{var t,r,a=K(e,n);if(a=H(n,e,a))return e=((e,n)=>nt.isStatic(n)?u.getDeclarationName(e):u.createPropertyAccessExpression(u.getDeclarationName(e),"prototype"))(e,n),t=oe(n,!0),r=0<b?165===n.kind?u.createVoidZero():u.createNull():void 0,a=p().createDecorateHelper(a,e,t,r),nt.setTextRange(a,nt.moveRangePastDecorators(n)),nt.setEmitFlags(a,1536),a})(e,i);i&&(t?t.push(i):t=[i])}return t})(n,t),Ie))}function z(e){return nt.visitNode(e.expression,D,nt.isExpression)}function J(e,n){if(e)for(var t=[],r=0,a=e;r<a.length;r++){var i=a[r],o=p().createParamHelper(z(i),n);nt.setTextRange(o,i.expression),nt.setEmitFlags(o,1536),t.push(o)}return t}function q(e){return e=e.kind,167===e||170===e||171===e||165===e}function X(e){return 167===e.kind}function Y(e){switch(e.kind){case 255:case 224:return void 0!==nt.getFirstConstructorWithBody(e);case 167:case 170:case 171:return 1}}function Q(e){switch(e.kind){case 165:case 162:return ee(e.type);case 171:case 170:return ee((n=e,(n=y.getAllAccessorDeclarations(n)).setAccessor&&nt.getSetAccessorTypeAnnotationNode(n.setAccessor)||n.getAccessor&&nt.getEffectiveReturnTypeNode(n.getAccessor)));case 255:case 224:case 167:return u.createIdentifier("Function");default:return u.createVoidZero()}var n}function Z(e,n){e=nt.isClassLike(e)?nt.getFirstConstructorWithBody(e):nt.isFunctionLike(e)&&nt.nodeIsPresent(e.body)?e:void 0;var t=[];if(e)for(var r=((e,n)=>n&&170===e.kind&&(n=nt.getAllAccessorDeclarations(n.members,e).setAccessor,n)?n.parameters:e.parameters)(e,n),a=r.length,i=0;i<a;i++){var o=r[i];0===i&&nt.isIdentifier(o.name)&&"this"===o.name.escapedText||(o.dotDotDotToken?t.push(ee(nt.getRestParameterElementType(o.type))):t.push(Q(o)))}return u.createArrayLiteralExpression(t)}function $(e){return nt.isFunctionLike(e)&&e.type?ee(e.type):nt.isAsyncFunction(e)?u.createIdentifier("Promise"):u.createVoidZero()}function ee(e){if(void 0!==e)switch(e.kind){case 114:case 151:case 142:return u.createVoidZero();case 189:return ee(e.type);case 177:case 178:return u.createIdentifier("Function");case 181:case 182:return u.createIdentifier("Array");case 175:case 132:return u.createIdentifier("Boolean");case 148:return u.createIdentifier("String");case 146:return u.createIdentifier("Object");case 194:switch(e.literal.kind){case 10:case 14:return u.createIdentifier("String");case 217:case 8:return u.createIdentifier("Number");case 9:return ie();case 110:case 95:return u.createIdentifier("Boolean");case 104:return u.createVoidZero();default:return nt.Debug.failBadSyntaxKind(e.literal)}case 145:return u.createIdentifier("Number");case 156:return ie();case 149:return b<2?ae():u.createIdentifier("Symbol");case 176:var n,t,r=e,o=y.getTypeReferenceSerializationKind(r.typeName,i||a);switch(o){case nt.TypeReferenceSerializationKind.Unknown:return nt.findAncestor(r,(function(e){return e.parent&&nt.isConditionalTypeNode(e.parent)&&(e.parent.trueType===e||e.parent.falseType===e)}))?u.createIdentifier("Object"):(n=function e(n){if(79===n.kind)return te(t=re(n),t);if(79===n.left.kind)return te(re(n.left),re(n));var t=e(n.left),r=u.createTempVariable(g);return u.createLogicalAnd(u.createLogicalAnd(t.left,u.createStrictInequality(u.createAssignment(r,t.right),u.createVoidZero())),u.createPropertyAccessExpression(r,n.right))}(r.typeName),t=u.createTempVariable(g),u.createConditionalExpression(u.createTypeCheck(u.createAssignment(t,n),"function"),void 0,t,void 0,u.createIdentifier("Object")));case nt.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue:return re(r.typeName);case nt.TypeReferenceSerializationKind.VoidNullableOrNeverType:return u.createVoidZero();case nt.TypeReferenceSerializationKind.BigIntLikeType:return ie();case nt.TypeReferenceSerializationKind.BooleanType:return u.createIdentifier("Boolean");case nt.TypeReferenceSerializationKind.NumberLikeType:return u.createIdentifier("Number");case nt.TypeReferenceSerializationKind.StringLikeType:return u.createIdentifier("String");case nt.TypeReferenceSerializationKind.ArrayLikeType:return u.createIdentifier("Array");case nt.TypeReferenceSerializationKind.ESSymbolType:return b<2?ae():u.createIdentifier("Symbol");case nt.TypeReferenceSerializationKind.TypeWithCallSignature:return u.createIdentifier("Function");case nt.TypeReferenceSerializationKind.Promise:return u.createIdentifier("Promise");case nt.TypeReferenceSerializationKind.ObjectType:return u.createIdentifier("Object");default:return nt.Debug.assertNever(o)}return;case 186:case 185:return ne(e.types);case 187:return ne([e.trueType,e.falseType]);case 191:if(143===e.operator)return ee(e.type);break;case 179:case 192:case 193:case 180:case 129:case 153:case 190:case 198:break;case 307:case 308:case 312:case 313:case 314:break;case 309:case 310:case 311:return ee(e.type);default:return nt.Debug.failBadSyntaxKind(e)}return u.createIdentifier("Object")}function ne(e){for(var n,t=0,r=e;t<r.length;t++){for(var a=r[t];189===a.kind;)a=a.type;if(142!==a.kind&&(v||(194!==a.kind||104!==a.literal.kind)&&151!==a.kind)){var i=ee(a);if(nt.isIdentifier(i)&&"Object"===i.escapedText)return i;if(n){if(!nt.isIdentifier(n)||!nt.isIdentifier(i)||n.escapedText!==i.escapedText)return u.createIdentifier("Object")}else n=i}}return n||u.createVoidZero()}function te(e,n){return u.createLogicalAnd(u.createStrictInequality(u.createTypeOfExpression(e),u.createStringLiteral("undefined")),n)}function re(e){switch(e.kind){case 79:var n=nt.setParent(nt.setTextRange(nt.parseNodeFactory.cloneNode(e),e),e.parent);return n.original=void 0,nt.setParent(n,nt.getParseTreeNode(a)),n;case 159:return n=e,u.createPropertyAccessExpression(re(n.left),n.right)}}function ae(){return u.createConditionalExpression(u.createTypeCheck(u.createIdentifier("Symbol"),"function"),void 0,u.createIdentifier("Symbol"),void 0,u.createIdentifier("Object"))}function ie(){return b<99?u.createConditionalExpression(u.createTypeCheck(u.createIdentifier("BigInt"),"function"),void 0,u.createIdentifier("BigInt"),void 0,u.createIdentifier("Object")):u.createIdentifier("BigInt")}function oe(e,n){return e=e.name,nt.isPrivateIdentifier(e)?u.createIdentifier(""):nt.isComputedPropertyName(e)?n&&!nt.isSimpleInlineableExpression(e.expression)?u.getGeneratedNameForNode(e):e.expression:nt.isIdentifier(e)?u.createStringLiteral(nt.idText(e)):u.cloneNode(e)}function se(e){var n=e.name;if(nt.isComputedPropertyName(n)&&(!nt.hasStaticModifier(e)&&s||nt.some(e.decorators))){e=nt.visitNode(n.expression,D,nt.isExpression);var t=nt.skipPartiallyEmittedExpressions(e);if(!nt.isSimpleInlineableExpression(t))return t=u.getGeneratedNameForNode(n),g(t),u.updateComputedPropertyName(n,u.createAssignment(t,e))}return nt.visitNode(n,D,nt.isPropertyName)}function ce(e){return!nt.nodeIsMissing(e.body)}function le(e){var n;if(!(8388608&e.flags||nt.hasSyntacticModifier(e,128)))return(n=u.updatePropertyDeclaration(e,void 0,nt.visitNodes(e.modifiers,D,nt.isModifier),se(e),void 0,void 0,nt.visitNode(e.initializer,D)))!==e&&(nt.setCommentRange(n,e),nt.setSourceMapRange(n,nt.moveRangePastDecorators(e))),n}function de(n){var t,r,a,i;if(ce(n))return u.updateConstructorDeclaration(n,void 0,void 0,nt.visitParameterList(n.parameters,D,e),(t=n.body,n=(r=n)&&nt.filter(r.parameters,(function(e){return nt.isParameterPropertyDeclaration(e,r)})),nt.some(n)?(a=[],i=0,_(),i=nt.addPrologueDirectivesAndInitialSuperCall(u,r,a,D),nt.addRange(a,nt.map(n,ue)),nt.addRange(a,nt.visitNodes(t.statements,D,nt.isStatement,i)),a=u.mergeLexicalEnvironment(a,f()),n=u.createBlock(nt.setTextRange(u.createNodeArray(a),t.statements),!0),nt.setTextRange(n,t),nt.setOriginalNode(n,t),n):nt.visitFunctionBody(t,D,e)))}function ue(e){var n,t=e.name;if(nt.isIdentifier(t))return n=nt.setParent(nt.setTextRange(u.cloneNode(t),t),t.parent),nt.setEmitFlags(n,1584),t=nt.setParent(nt.setTextRange(u.cloneNode(t),t),t.parent),nt.setEmitFlags(t,1536),nt.startOnNewLine(nt.removeAllComments(nt.setTextRange(nt.setOriginalNode(u.createExpressionStatement(u.createAssignment(nt.setTextRange(u.createPropertyAccessExpression(u.createThis(),n),e.name),t)),e),nt.moveRangePos(e,-1))))}function pe(e){return!nt.nodeIsMissing(e.body)||!nt.hasSyntacticModifier(e,128)}function me(n){var t=n.name;return nt.isBindingPattern(t)?nt.flattenDestructuringAssignment(n,D,e,0,!1,ke):nt.setTextRange(u.createAssignment(Re(t),nt.visitNode(n.initializer,D,nt.isExpression)),n)}function _e(n){var t=oe(n,!1),a=(i=n,void 0!==(a=y.getConstantValue(i))?"string"==typeof a?u.createStringLiteral(a):u.createNumericLiteral(a):(0==(8&c)&&(c|=8,e.enableSubstitution(79)),i.initializer?nt.visitNode(i.initializer,D,nt.isExpression):u.createVoidZero())),i=u.createAssignment(u.createElementAccessExpression(r,t),a);a=10===a.kind?i:u.createAssignment(u.createElementAccessExpression(r,i),t);return nt.setTextRange(u.createExpressionStatement(nt.setTextRange(a,n)),n)}function fe(e){return De(e)||Ae(e)&&E!==nt.ModuleKind.ES2015&&E!==nt.ModuleKind.ES2020&&E!==nt.ModuleKind.ESNext&&E!==nt.ModuleKind.System}function ge(e){o=o||new nt.Map;var n=ye(e);o.has(n)||o.set(n,e)}function ye(e){return nt.Debug.assertNode(e.name,nt.isIdentifier),e.name.escapedText}function he(e,n){var t,r,i=u.createVariableStatement(nt.visitNodes(n.modifiers,P,nt.isModifier),u.createVariableDeclarationList([u.createVariableDeclaration(u.getLocalName(n,!1,!0))],300===a.kind?0:1));return nt.setOriginalNode(i,n),ge(n),t=n,o&&(r=ye(t),o.get(r)!==t)?(r=u.createMergeDeclarationMarker(i),nt.setEmitFlags(r,4195840),e.push(r),!1):(258===n.kind?nt.setSourceMapRange(i.declarationList,n):nt.setSourceMapRange(i,n),nt.setCommentRange(i,n),nt.addEmitFlags(i,4195328),e.push(i),!0)}function ve(i){var s,l,d,p,_,g,y;return l=i,(l=nt.getParseTreeNode(l,nt.isModuleDeclaration))&&!nt.isInstantiatedModule(l,nt.shouldPreserveConstEnums(h))?u.createNotEmittedStatement(i):(nt.Debug.assertNode(i.name,nt.isIdentifier,"A TypeScript namespace should have an Identifier name."),0==(2&c)&&(c|=2,e.enableSubstitution(79),e.enableSubstitution(292),e.enableEmitNotification(259)),l=2,!(d=he(s=[],i))||E===nt.ModuleKind.System&&a===n||(l|=512),p=Oe(i),_=Pe(i),g=nt.hasSyntacticModifier(i,1)?u.getExternalModuleOrNamespaceExportName(r,i,!1,!0):u.getLocalName(i,!1,!0),g=u.createLogicalOr(g,u.createAssignment(g,u.createObjectLiteralExpression())),fe(i)&&(y=u.getLocalName(i,!1,!0),g=u.createAssignment(y,g)),y=u.createExpressionStatement(u.createCallExpression(u.createFunctionExpression(void 0,void 0,void 0,void 0,[u.createParameterDeclaration(void 0,void 0,void 0,p)],void 0,((e,n)=>{var a,i,s=r,c=t,l=o,d=(r=n,t=e,o=void 0,[]);return m(),e.body&&(260===e.body.kind?(L(e.body,(function(e){return nt.addRange(d,nt.visitNodes(e.statements,N,nt.isStatement))})),a=e.body.statements,i=e.body):((n=ve(e.body))&&(nt.isArray(n)?nt.addRange(d,n):d.push(n)),n=function e(n){if(259===n.body.kind)return e(n.body)||n.body}(e).body,a=nt.moveRangePos(n.statements,-1))),nt.insertStatementsAfterStandardPrologue(d,f()),r=s,t=c,o=l,n=u.createBlock(nt.setTextRange(u.createNodeArray(d),a),!0),nt.setTextRange(n,i),e.body&&260===e.body.kind||nt.setEmitFlags(n,1536|nt.getEmitFlags(n)),n})(i,_)),void 0,[g])),nt.setOriginalNode(y,i),d&&(nt.setSyntheticLeadingComments(y,void 0),nt.setSyntheticTrailingComments(y,void 0)),nt.setTextRange(y,i),nt.addEmitFlags(y,l),s.push(y),s.push(u.createEndOfDeclarationMarker(i)),s)}function be(e){var n,t;if(!e.isTypeOnly)return n=y.isReferencedAliasDeclaration(e)?e.name:void 0,t=nt.visitNode(e.namedBindings,Ee,nt.isNamedImportBindings),n||t?u.updateImportClause(e,!1,n,t):void 0}function Ee(e){var n;return 266===e.kind?y.isReferencedAliasDeclaration(e)?e:void 0:(n=nt.visitNodes(e.elements,Te,nt.isImportSpecifier),nt.some(n)?u.updateNamedImports(e,n):void 0)}function Te(e){return y.isReferencedAliasDeclaration(e)?e:void 0}function Se(e){return nt.isNamespaceExport(e)?u.updateNamespaceExport(e,nt.visitNode(e.name,D,nt.isIdentifier)):(e=e,n=nt.visitNodes(e.elements,xe,nt.isExportSpecifier),nt.some(n)?u.updateNamedExports(e,n):void 0);var n}function xe(e){return y.isValueAliasDeclaration(e)?e:void 0}function Le(t){var a,i,o,s;if(!t.isTypeOnly)return nt.isExternalModuleImportEqualsDeclaration(t)?(a=y.isReferencedAliasDeclaration(t))||1!==h.importsNotUsedAsValues?a?nt.visitEachChild(t,D,e):void 0:nt.setOriginalNode(nt.setTextRange(u.createImportDeclaration(void 0,void 0,void 0,t.moduleReference.expression),t),t):(a=t,y.isReferencedAliasDeclaration(a)||!nt.isExternalModule(n)&&y.isTopLevelValueImportEqualsWithEntityName(a)?(o=nt.createExpressionFromEntityName(u,t.moduleReference),nt.setEmitFlags(o,3584),Ce(t)||!De(t)?nt.setOriginalNode(nt.setTextRange(u.createVariableStatement(nt.visitNodes(t.modifiers,P,nt.isModifier),u.createVariableDeclarationList([nt.setOriginalNode(u.createVariableDeclaration(t.name,void 0,void 0,o),t)])),t),t):nt.setOriginalNode((i=t.name,o=o,s=t,nt.setTextRange(u.createExpressionStatement(u.createAssignment(u.getNamespaceMemberName(r,i,!1,!0),o)),s)),t)):void 0)}function De(e){return void 0!==t&&nt.hasSyntacticModifier(e,1)}function Ae(e){return void 0===t&&nt.hasSyntacticModifier(e,1)}function Ce(e){return Ae(e)&&!nt.hasSyntacticModifier(e,512)}function Ie(e){return u.createExpressionStatement(e)}function Ne(e,n){var t=u.createAssignment(u.getExternalModuleOrNamespaceExportName(r,n,!1,!0),u.getLocalName(n));nt.setSourceMapRange(t,nt.createRange((n.name||n).pos,n.end)),t=u.createExpressionStatement(t);nt.setSourceMapRange(t,nt.createRange(-1,n.end)),e.push(t)}function ke(e,n,t){return nt.setTextRange(u.createAssignment(Re(e),n),t)}function Re(e){return u.getNamespaceMemberName(r,e,!1,!0)}function Oe(e){var n=u.getGeneratedNameForNode(e);return nt.setSourceMapRange(n,e.name),n}function Pe(e){return u.getGeneratedNameForNode(e)}function we(e){if(c&d&&!nt.isGeneratedIdentifier(e)&&!nt.isLocalName(e)){var n=y.getReferencedExportContainer(e,!1);if(n&&300!==n.kind&&(2&d&&259===n.kind||8&d&&258===n.kind))return nt.setTextRange(u.createPropertyAccessExpression(u.getGeneratedNameForNode(n),e),e)}}function Me(e){var n,t=(e=>h.isolatedModules||!nt.isPropertyAccessExpression(e)&&!nt.isElementAccessExpression(e)?void 0:y.getConstantValue(e))(e);return void 0!==t?(nt.setConstantValue(e,t),t="string"==typeof t?u.createStringLiteral(t):u.createNumericLiteral(t),h.removeComments||(n=nt.getOriginalNode(e,nt.isAccessExpression),n=nt.isPropertyAccessExpression(n)?nt.declarationNameToString(n.name):nt.getTextOfNode(n.argumentExpression),nt.addSyntheticTrailingComment(t,3," "+n+" ")),t):e}},tt=bY=bY||{},(OY=tt.PrivateIdentifierKind||(tt.PrivateIdentifierKind={})).Field="f",OY.Method="m",OY.Accessor="a",tt.transformClassFields=function(e){var n,t,r,a,i,o,s,c=e.factory,l=e.hoistVariableDeclaration,d=e.endLexicalEnvironment,u=e.startLexicalEnvironment,p=e.resumeLexicalEnvironment,m=e.addBlockScopedVariable,_=e.getEmitResolver(),f=e.getCompilerOptions(),g=tt.getEmitScriptTarget(f),y=tt.getUseDefineForClassFields(f),h=g<99,v=(g<=8||!y)&&2<=g,b=g<=8||!y,E=e.onSubstituteNode,T=(e.onSubstituteNode=function(e,r){if(r=E(e,r),1!==e)return r;var a=r;switch(a.kind){case 79:return(e=>(e=>{if(1&n&&33554432&_.getNodeCheckFlags(e)){var r=_.getReferencedValueDeclaration(e);if(r){r=t[r.id];if(r)return r=c.cloneNode(r),tt.setSourceMapRange(r,e),tt.setCommentRange(r,e),r}}})(e)||e)(a);case 108:return(e=>{if(2&n&&i){var t=i.facts,r=i.classConstructor;if(1&t)return c.createParenthesizedExpression(c.createVoidZero());if(r)return tt.setTextRange(tt.setOriginalNode(c.cloneNode(r),e),e)}return e})(a)}return a},e.onEmitNode),S=(e.onEmitNode=function(e,n,t){var r=tt.getOriginalNode(n);if(r.id){var a=x.get(r.id);if(a)return s=i,c=o,o=i=a,T(e,n,t),i=s,void(o=c)}switch(n.kind){case 211:if(tt.isArrowFunction(r)||262144&tt.getEmitFlags(n))break;case 254:case 169:var s=i,c=o;return o=i=void 0,T(e,n,t),i=s,void(o=c);case 170:case 171:case 167:case 165:return s=i,c=o,o=i,i=void 0,T(e,n,t),i=s,void(o=c);case 160:return s=i,c=o,i=o,o=void 0,T(e,n,t),i=s,void(o=c)}T(e,n,t)},[]),x=new tt.Map;return tt.chainBundle(e,(function(n){var t=e.getCompilerOptions();return n.isDeclarationFile||y&&99===t.target?n:(t=tt.visitEachChild(n,A,e),tt.addEmitHelpers(t,e.readEmitHelpers()),t)}));function L(o,d){if(8388608&o.transformFlags)switch(o.kind){case 224:case 255:var u=o;return tt.forEach(u.members,F)?(f=r,r=void 0,S.push(i),i=void 0,h&&((y=tt.getNameOfDeclaration(u))&&tt.isIdentifier(y)&&(J().className=tt.idText(y)),y=G(u),tt.some(y))&&(J().weakSetName=X("instances",y[0].name)),y=(tt.isClassDeclaration(u)?e=>{var n=B(e);n&&(z().facts=n),8&n&&H();var t,a=tt.getStaticPropertiesAndClassStaticBlock(e);return 2&n&&(n=c.createTempVariable(l,!0),z().classConstructor=c.cloneNode(n),t=c.createAssignment(n,c.getInternalName(e))),n=!(!(n=tt.getEffectiveBaseTypeNode(e))||104===tt.skipOuterExpressions(n.expression).kind),n=[c.updateClassDeclaration(e,void 0,e.modifiers,e.name,void 0,tt.visitNodes(e.heritageClauses,C,tt.isHeritageClause),U(e,n))],t&&q().unshift(t),tt.some(r)&&n.push(c.createExpressionStatement(c.inlineExpressions(r))),tt.some(a)&&j(n,a,c.getInternalName(e)),n}:i=>{var o=B(i);o&&(z().facts=o),8&o&&H();var s,d=!!(1&o),u=tt.getStaticPropertiesAndClassStaticBlock(i),p=!(!(p=tt.getEffectiveBaseTypeNode(i))||104===tt.skipOuterExpressions(p.expression).kind),f=16777216&_.getNodeCheckFlags(i);function g(){var e=_.getNodeCheckFlags(i);return c.createTempVariable(524288&e?m:l,!!(16777216&e))}if(2&o&&(s=g(),z().classConstructor=c.cloneNode(s)),o=c.updateClassExpression(i,tt.visitNodes(i.decorators,A,tt.isDecorator),i.modifiers,i.name,void 0,tt.visitNodes(i.heritageClauses,C,tt.isHeritageClause),U(i,p)),tt.some(u,(function(e){return tt.isClassStaticBlockDeclaration(e)||!!e.initializer||h&&tt.isPrivateIdentifier(e.name)}))||tt.some(r)){if(!d)return p=[],s=s||g(),f&&(0==(1&n)&&(n|=1,e.enableSubstitution(79),t=[]),(d=c.cloneNode(s)).autoGenerateFlags&=-9,t[tt.getOriginalNodeId(i)]=d),tt.setEmitFlags(o,65536|tt.getEmitFlags(o)),p.push(tt.startOnNewLine(c.createAssignment(s,o))),tt.addRange(p,tt.map(r,tt.startOnNewLine)),tt.addRange(p,((e,n)=>{for(var t=[],r=0,a=e;r<a.length;r++){var i=a[r],o=tt.isClassStaticBlockDeclaration(i)?w(i):K(i,n);o&&(tt.startOnNewLine(o),tt.setSourceMapRange(o,tt.moveRangePastModifiers(i)),tt.setCommentRange(o,i),tt.setOriginalNode(o,i),t.push(o))}return t})(u,s)),p.push(tt.startOnNewLine(s)),c.inlineExpressions(p);if(tt.Debug.assertIsDefined(a,"Decorated classes transformed by TypeScript are expected to be within a variable declaration."),a&&r&&tt.some(r)&&a.push(c.createExpressionStatement(c.inlineExpressions(r))),a&&tt.some(u)&&j(a,u,c.getInternalName(i)),s)return c.inlineExpressions([c.createAssignment(s,o),s])}return o})(u),i=S.pop(),r=f,y):tt.visitEachChild(u,A,e);case 165:return k(o);case 235:return f=o,y=a,a=[],f=tt.visitEachChild(f,A,e),f=tt.some(a)?eu([f],a,!0):f,a=y,f;case 80:return u=o,h?tt.setOriginalNode(c.createIdentifier(""),u):u;case 168:var p=o;return h?void 0:tt.visitEachChild(p,N,e)}var f,y;if(8388608&o.transformFlags||33554432&o.transformFlags&&v&&s&&i)switch(o.kind){case 217:case 218:var b=o,E=d;if(45===b.operator||46===b.operator)if(h&&tt.isPrivateIdentifierPropertyAccessExpression(b.operand)){var T=void 0;if(T=Q(b.operand.name))return x=P(tt.visitNode(b.operand.expression,A,tt.isExpression)),L=x.readExpression,x=x.initializeExpression,$=R(T,L),Z=tt.isPrefixUnaryExpression(b)||E?void 0:c.createTempVariable(l),$=tt.expandPreOrPostfixIncrementOrDecrementExpression(c,b,$,l,Z),$=M(T,x||L,$,63),tt.setOriginalNode($,b),tt.setTextRange($,b),Z&&($=c.createComma($,Z),tt.setTextRange($,b)),$}else if(v&&tt.isSuperProperty(b.operand)&&s&&i){T=i.classConstructor;var x=i.superClassReference;if(1&i.facts)return L=W(b.operand),tt.isPrefixUnaryExpression(b)?c.updatePrefixUnaryExpression(b,L):c.updatePostfixUnaryExpression(b,L);if(T&&x){var L=void 0,O=void 0;if(tt.isPropertyAccessExpression(b.operand)?tt.isIdentifier(b.operand.name)&&(O=L=c.createStringLiteralFromNode(b.operand.name)):tt.isSimpleInlineableExpression(b.operand.argumentExpression)?O=L=b.operand.argumentExpression:(O=c.createTempVariable(l),L=c.createAssignment(O,tt.visitNode(b.operand.argumentExpression,A,tt.isExpression))),L&&O)return $=c.createReflectGetCall(x,O,T),tt.setTextRange($,b.operand),Z=E?void 0:c.createTempVariable(l),$=tt.expandPreOrPostfixIncrementOrDecrementExpression(c,b,$,l,Z),$=c.createReflectSetCall(x,L,$,T),tt.setOriginalNode($,b),tt.setTextRange($,b),Z&&($=c.createComma($,Z),tt.setTextRange($,b)),$}}return tt.visitEachChild(b,A,e);case 219:if(O=o,E=d,tt.isDestructuringAssignment(O))return V=r,r=void 0,O=c.updateBinaryExpression(O,tt.visitNode(O.left,I),O.operatorToken,tt.visitNode(O.right,A)),Y=tt.some(r)?c.inlineExpressions(tt.compact(eu(eu([],r,!0),[O],!1))):O,r=V,Y;if(tt.isAssignmentExpression(O))if(h&&tt.isPrivateIdentifierPropertyAccessExpression(O.left)){var V=Q(O.left.name);if(V)return tt.setTextRange(tt.setOriginalNode(M(V,O.left.expression,O.right,O.operatorToken.kind),O),O)}else if(v&&tt.isSuperProperty(O.left)&&s&&i){var Y=i.classConstructor;V=i.superClassReference;if(1&i.facts)return c.updateBinaryExpression(O,W(O.left),O.operatorToken,tt.visitNode(O.right,A,tt.isExpression));if(Y&&V&&(x=tt.isElementAccessExpression(O.left)?tt.visitNode(O.left.argumentExpression,A,tt.isExpression):tt.isIdentifier(O.left.name)?c.createStringLiteralFromNode(O.left.name):void 0,x))return L=tt.visitNode(O.right,A,tt.isExpression),tt.isCompoundAssignment(O.operatorToken.kind)&&(ne=x,tt.isSimpleInlineableExpression(x)||(ne=c.createTempVariable(l),x=c.createAssignment(ne,x)),ne=c.createReflectGetCall(V,ne,Y),tt.setOriginalNode(ne,O.left),tt.setTextRange(ne,O.left),L=c.createBinaryExpression(ne,tt.getNonAssignmentOperatorForCompoundAssignment(O.operatorToken.kind),L),tt.setTextRange(L,O)),(ne=E?void 0:c.createTempVariable(l))&&(L=c.createAssignment(ne,L),tt.setTextRange(ne,O)),L=c.createReflectSetCall(V,x,L,Y),tt.setOriginalNode(L,O),tt.setTextRange(L,O),ne&&(L=c.createComma(L,ne),tt.setTextRange(L,O)),L}return tt.visitEachChild(O,A,e);case 206:var Z;T=o;return h&&tt.isPrivateIdentifierPropertyAccessExpression(T.expression)?(te=c.createCallBinding(T.expression,l,g),Z=te.thisArg,te=te.target,tt.isCallChain(T)?c.updateCallChain(T,c.createPropertyAccessChain(tt.visitNode(te,A),T.questionDotToken,"call"),void 0,void 0,eu([tt.visitNode(Z,A,tt.isExpression)],tt.visitNodes(T.arguments,A,tt.isExpression),!0)):c.updateCallExpression(T,c.createPropertyAccessExpression(tt.visitNode(te,A),"call"),void 0,eu([tt.visitNode(Z,A,tt.isExpression)],tt.visitNodes(T.arguments,A,tt.isExpression),!0))):v&&tt.isSuperProperty(T.expression)&&s&&null!=i&&i.classConstructor?(te=c.createFunctionCallCall(tt.visitNode(T.expression,A,tt.isExpression),i.classConstructor,tt.visitNodes(T.arguments,A,tt.isExpression)),tt.setOriginalNode(te,T),tt.setTextRange(te,T),te):tt.visitEachChild(T,A,e);case 208:var $=o;return h&&tt.isPrivateIdentifierPropertyAccessExpression($.tag)?(re=c.createCallBinding($.tag,l,g),b=re.thisArg,re=re.target,c.updateTaggedTemplateExpression($,c.createCallExpression(c.createPropertyAccessExpression(tt.visitNode(re,A),"bind"),void 0,[tt.visitNode(b,A,tt.isExpression)]),void 0,tt.visitNode($.template,A,tt.isTemplateLiteral))):v&&tt.isSuperProperty($.tag)&&s&&null!=i&&i.classConstructor?(re=c.createFunctionBindCall(tt.visitNode($.tag,A,tt.isExpression),i.classConstructor,[]),tt.setOriginalNode(re,$),tt.setTextRange(re,$),c.updateTaggedTemplateExpression($,re,void 0,tt.visitNode($.template,A,tt.isTemplateLiteral))):tt.visitEachChild($,A,e);case 204:if(V=o,h&&tt.isPrivateIdentifier(V.name)){var ee=Q(V.name);if(ee)return tt.setTextRange(tt.setOriginalNode(R(ee,V.expression),V),V)}if(v&&tt.isSuperProperty(V)&&tt.isIdentifier(V.name)&&s&&i){ee=i.classConstructor,Y=i.superClassReference;if(1&i.facts)return W(V);if(ee&&Y)return Y=c.createReflectGetCall(Y,c.createStringLiteralFromNode(V.name),ee),tt.setOriginalNode(Y,V.expression),tt.setTextRange(Y,V.expression),Y}return tt.visitEachChild(V,A,e);case 205:var ne=o;if(v&&tt.isSuperProperty(ne)&&s&&i){var te=i.classConstructor,re=i.superClassReference;if(1&i.facts)return W(ne);if(te&&re)return re=c.createReflectGetCall(re,tt.visitNode(ne.argumentExpression,A,tt.isExpression),te),tt.setOriginalNode(re,ne.expression),tt.setTextRange(re,ne.expression),re}return tt.visitEachChild(ne,A,e);case 236:return c.updateExpressionStatement(o,tt.visitNode(o.expression,D,tt.isExpression));case 240:return ee=o,c.updateForStatement(ee,tt.visitNode(ee.initializer,D,tt.isForInitializer),tt.visitNode(ee.condition,A,tt.isExpression),tt.visitNode(ee.incrementor,D,tt.isExpression),tt.visitIterationBody(ee.statement,A,e));case 254:case 211:case 169:case 167:case 170:case 171:var ae=s,ie=(s=void 0,tt.visitEachChild(o,A,e));return s=ae,ie}return tt.visitEachChild(o,A,e)}function D(e){return L(e,!0)}function A(e){return L(e,!1)}function C(n){switch(n.kind){case 289:return tt.visitEachChild(n,C,e);case 226:var t,r=n;return 4&((null==i?void 0:i.facts)||0)?(t=c.createTempVariable(l,!0),z().superClassReference=t,c.updateExpressionWithTypeArguments(r,c.createAssignment(t,tt.visitNode(r.expression,A,tt.isExpression)),void 0)):tt.visitEachChild(r,A,e)}return A(n)}function I(e){switch(e.kind){case 203:case 202:return n=e,tt.isArrayLiteralExpression(n)?c.updateArrayLiteralExpression(n,tt.visitNodes(n.elements,$,tt.isExpression)):c.updateObjectLiteralExpression(n,tt.visitNodes(n.properties,ee,tt.isObjectLiteralElementLike));default:return A(e)}var n}function N(n){switch(n.kind){case 169:return;case 170:case 171:case 167:var t=n;return tt.Debug.assert(!tt.some(t.decorators)),h&&tt.isPrivateIdentifier(t.name)?(a=Q(t.name),tt.Debug.assert(a,"Undeclared private name for property declaration."),a.isValid?void((a=(e=>{tt.Debug.assert(tt.isPrivateIdentifier(e.name));var n=Q(e.name);return tt.Debug.assert(n,"Undeclared private name for property declaration."),"m"===n.kind?n.methodName:"a"===n.kind?tt.isGetAccessor(e)?n.getterName:tt.isSetAccessor(e)?n.setterName:void 0:void 0})(t))&&q().push(c.createAssignment(a,c.createFunctionExpression(tt.filter(t.modifiers,(function(e){return!tt.isStaticModifier(e)})),t.asteriskToken,a,void 0,tt.visitParameterList(t.parameters,N,e),void 0,tt.visitFunctionBody(t.body,N,e))))):t):tt.visitEachChild(t,N,e);case 165:return k(n);case 160:var a=n;return a=tt.visitEachChild(a,A,e),tt.some(r)&&((t=r).push(a.expression),r=[],a=c.updateComputedPropertyName(a,c.inlineExpressions(t))),a;case 232:return n;default:return A(n)}}function k(e){if(tt.Debug.assert(!tt.some(e.decorators)),tt.isPrivateIdentifier(e.name)){if(!h)return c.updatePropertyDeclaration(e,void 0,tt.visitNodes(e.modifiers,A,tt.isModifier),e.name,void 0,void 0,void 0);var n=Q(e.name);if(tt.Debug.assert(n,"Undeclared private name for property declaration."),!n.isValid)return e}n=((e,n)=>{var t,r,a;if(tt.isComputedPropertyName(e))return t=tt.visitNode(e.expression,A,tt.isExpression),r=tt.skipPartiallyEmittedExpressions(t),a=tt.isSimpleInlineableExpression(r),tt.isAssignmentExpression(r)&&tt.isGeneratedIdentifier(r.left)||a||!n?a||tt.isIdentifier(r)?void 0:t:(n=c.getGeneratedNameForNode(e),(524288&_.getNodeCheckFlags(e)?m:l)(n),c.createAssignment(n,t))})(e.name,!!e.initializer||y),n&&!tt.isSimpleInlineableExpression(n)&&q().push(n)}function R(e,n){return O(e,tt.visitNode(n,A,tt.isExpression))}function O(n,t){switch(tt.setCommentRange(t,tt.moveRangePos(t,-1)),n.kind){case"a":return e.getEmitHelperFactory().createClassPrivateFieldGetHelper(t,n.brandCheckIdentifier,n.kind,n.getterName);case"m":return e.getEmitHelperFactory().createClassPrivateFieldGetHelper(t,n.brandCheckIdentifier,n.kind,n.methodName);case"f":return e.getEmitHelperFactory().createClassPrivateFieldGetHelper(t,n.brandCheckIdentifier,n.kind,n.variableName);default:tt.Debug.assertNever(n,"Unknown private element type")}}function P(e){var n=tt.nodeIsSynthesized(e)?e:c.cloneNode(e);return tt.isSimpleInlineableExpression(e)?{readExpression:n,initializeExpression:void 0}:{readExpression:e=c.createTempVariable(l),initializeExpression:c.createAssignment(e,n)}}function w(e){var n,t;if(h)return i&&x.set(tt.getOriginalNodeId(e),i),u(),t=s,s=e,n=tt.visitNodes(e.body.statements,A,tt.isStatement),n=c.mergeLexicalEnvironment(n,d()),s=t,t=c.createImmediatelyInvokedArrowFunction(n),tt.setOriginalNode(t,e),tt.setTextRange(t,e),tt.addEmitFlags(t,2),t}function M(n,t,r,a){var i,o;switch(t=tt.visitNode(t,A,tt.isExpression),r=tt.visitNode(r,A,tt.isExpression),tt.isCompoundAssignment(a)&&(o=(i=P(t)).readExpression,t=i.initializeExpression||o,r=c.createBinaryExpression(O(n,o),tt.getNonAssignmentOperatorForCompoundAssignment(a),r)),tt.setCommentRange(t,tt.moveRangePos(t,-1)),n.kind){case"a":return e.getEmitHelperFactory().createClassPrivateFieldSetHelper(t,n.brandCheckIdentifier,r,n.kind,n.setterName);case"m":return e.getEmitHelperFactory().createClassPrivateFieldSetHelper(t,n.brandCheckIdentifier,r,n.kind,void 0);case"f":return e.getEmitHelperFactory().createClassPrivateFieldSetHelper(t,n.brandCheckIdentifier,r,n.kind,n.variableName);default:tt.Debug.assertNever(n,"Unknown private element type")}}function F(e){return tt.isPropertyDeclaration(e)||tt.isClassStaticBlockDeclaration(e)||h&&e.name&&tt.isPrivateIdentifier(e.name)}function G(e){return tt.filter(e.members,tt.isNonStaticMethodOrAccessorWithPrivateName)}function B(e){var n=0,t=tt.getOriginalNode(e);tt.isClassDeclaration(t)&&tt.classOrConstructorParameterIsDecorated(t)&&(n|=1);for(var r=0,a=e.members;r<a.length;r++){var i=a[r];tt.isStatic(i)&&(i.name&&tt.isPrivateIdentifier(i.name)&&h&&(n|=2),tt.isPropertyDeclaration(i)||tt.isClassStaticBlockDeclaration(i))&&(b&&8192&i.transformFlags&&(1&(n|=8)||(n|=2)),v)&&33554432&i.transformFlags&&(1&n||(n|=6))}return n}function U(n,t){if(h){for(var r=0,a=n.members;r<a.length;r++){var i,o,s,l,u,m,_,f,g,v,b,E,T=a[r];tt.isPrivateIdentifierClassElementDeclaration(T)&&(l=s=o=E=b=v=g=f=_=m=u=i=void 0,i=T,u=tt.getTextOfPropertyName(i.name),m=z().classConstructor,_=J(),f=_.weakSetName,g=[],v=i.name.escapedText,b=_.identifiers.get(v),E=!("#constructor"===i.name.escapedText)&&void 0===b,tt.hasStaticModifier(i)?(tt.Debug.assert(m,"weakSetName should be set in private identifier environment"),tt.isPropertyDeclaration(i)?(o=Y(u,i),_.identifiers.set(v,{kind:"f",variableName:o,brandCheckIdentifier:m,isStatic:!0,isValid:E})):tt.isMethodDeclaration(i)?(o=Y(u,i),_.identifiers.set(v,{kind:"m",methodName:o,brandCheckIdentifier:m,isStatic:!0,isValid:E})):tt.isGetAccessorDeclaration(i)?(s=Y(u+"_get",i),"a"===(null==b?void 0:b.kind)&&b.isStatic&&!b.getterName?b.getterName=s:_.identifiers.set(v,{kind:"a",getterName:s,setterName:void 0,brandCheckIdentifier:m,isStatic:!0,isValid:E})):tt.isSetAccessorDeclaration(i)?(l=Y(u+"_set",i),"a"===(null==b?void 0:b.kind)&&b.isStatic&&!b.setterName?b.setterName=l:_.identifiers.set(v,{kind:"a",getterName:void 0,setterName:l,brandCheckIdentifier:m,isStatic:!0,isValid:E})):tt.Debug.assertNever(i,"Unknown class element type.")):tt.isPropertyDeclaration(i)?(o=Y(u,i),_.identifiers.set(v,{kind:"f",brandCheckIdentifier:o,isStatic:!1,variableName:void 0,isValid:E}),g.push(c.createAssignment(o,c.createNewExpression(c.createIdentifier("WeakMap"),void 0,[])))):tt.isMethodDeclaration(i)?(tt.Debug.assert(f,"weakSetName should be set in private identifier environment"),_.identifiers.set(v,{kind:"m",methodName:Y(u,i),brandCheckIdentifier:f,isStatic:!1,isValid:E})):tt.isAccessor(i)?(tt.Debug.assert(f,"weakSetName should be set in private identifier environment"),tt.isGetAccessor(i)?(s=Y(u+"_get",i),"a"!==(null==b?void 0:b.kind)||b.isStatic||b.getterName?_.identifiers.set(v,{kind:"a",getterName:s,setterName:void 0,brandCheckIdentifier:f,isStatic:!1,isValid:E}):b.getterName=s):(l=Y(u+"_set",i),"a"!==(null==b?void 0:b.kind)||b.isStatic||b.setterName?_.identifiers.set(v,{kind:"a",getterName:void 0,setterName:l,brandCheckIdentifier:f,isStatic:!1,isValid:E}):b.setterName=l)):tt.Debug.assertNever(i,"Unknown class element type."),(m=q()).push.apply(m,g))}tt.some(G(n))&&(S=J().weakSetName,tt.Debug.assert(S,"weakSetName should be set in private identifier environment"),q().push(c.createAssignment(S,c.createNewExpression(c.createIdentifier("WeakSet"),void 0,[]))))}var S=[];t=((n,t)=>{var r=tt.visitNode(tt.getFirstConstructorWithBody(n),A,tt.isConstructorDeclaration),a=n.members.filter(V);return tt.some(a)?(a=tt.visitParameterList(r?r.parameters:void 0,A,e),(t=((n,t,r)=>{var a=tt.getProperties(n,!1,!1),i=(y||(a=tt.filter(a,(function(e){return!!e.initializer||tt.isPrivateIdentifier(e.name)}))),G(n)),o=tt.some(a)||tt.some(i);if(!t&&!o)return tt.visitFunctionBody(void 0,A,e);p();o=0;var s=[],l=(!t&&r&&s.push(c.createExpressionStatement(c.createCallExpression(c.createSuper(),void 0,[c.createSpreadElement(c.createIdentifier("arguments"))]))),t&&(o=tt.addPrologueDirectivesAndInitialSuperCall(c,t,s,A)),null!=t&&t.body&&(-1===(r=tt.findIndex(t.body.statements,(function(e){return!tt.isParameterPropertyDeclaration(tt.getOriginalNode(e),t)}),o))&&(r=t.body.statements.length),o<r)&&(y||tt.addRange(s,tt.visitNodes(t.body.statements,A,tt.isStatement,o,r-o)),o=r),r=c.createThis(),s),u=r;return h&&tt.some(i)&&(i=J().weakSetName,tt.Debug.assert(i,"weakSetName should be set in private identifier environment"),l.push(c.createExpressionStatement(((e,n)=>tt.factory.createCallExpression(tt.factory.createPropertyAccessExpression(n,"add"),void 0,[e]))(u,i)))),j(s,a,r),t&&tt.addRange(s,tt.visitNodes(t.body.statements,A,tt.isStatement,o)),s=c.mergeLexicalEnvironment(s,d()),tt.setTextRange(c.createBlock(tt.setTextRange(c.createNodeArray(s),t?t.body.statements:n.members),!0),t?t.body:void 0)})(n,r,t))?tt.startOnNewLine(tt.setOriginalNode(tt.setTextRange(c.createConstructorDeclaration(void 0,void 0,null!=a?a:[],t),r||n),r)):void 0):r})(n,t);return t&&S.push(t),tt.addRange(S,tt.visitNodes(n.members,N,tt.isClassElement)),tt.setTextRange(c.createNodeArray(S),n.members)}function V(e){return!tt.isStatic(e)&&!tt.hasSyntacticModifier(tt.getOriginalNode(e),128)&&(y?g<99:tt.isInitializedProperty(e)||h&&tt.isPrivateIdentifierClassElementDeclaration(e))}function j(e,n,t){for(var r=0,a=n;r<a.length;r++){var i=a[r],o=tt.isClassStaticBlockDeclaration(i)?w(i):K(i,t);o&&(o=c.createExpressionStatement(o),tt.setSourceMapRange(o,tt.moveRangePastModifiers(i)),tt.setCommentRange(o,i),tt.setOriginalNode(o,i),e.push(o))}}function K(e,n){var t=s;n=((e,n)=>{var t=!y,r=tt.isComputedPropertyName(e.name)&&!tt.isSimpleInlineableExpression(e.name.expression)?c.updateComputedPropertyName(e.name,c.getGeneratedNameForNode(e.name)):e.name;if(tt.hasStaticModifier(e)&&(s=e),h&&tt.isPrivateIdentifier(r)){var a=Q(r);if(a)return"f"===a.kind?a.isStatic?((e,n)=>tt.factory.createAssignment(e,tt.factory.createObjectLiteralExpression([tt.factory.createPropertyAssignment("value",n||tt.factory.createVoidZero())])))(a.variableName,tt.visitNode(e.initializer,A,tt.isExpression)):((e,n,t)=>tt.factory.createCallExpression(tt.factory.createPropertyAccessExpression(t,"set"),void 0,[e,n||tt.factory.createVoidZero()]))(n,tt.visitNode(e.initializer,A,tt.isExpression),a.brandCheckIdentifier):void 0;tt.Debug.fail("Undeclared private name for property declaration.")}if((!tt.isPrivateIdentifier(r)&&!tt.hasStaticModifier(e)||e.initializer)&&(a=tt.getOriginalNode(e),!tt.hasSyntacticModifier(a,128)))return e=e.initializer||t?null!=(e=tt.visitNode(e.initializer,A,tt.isExpression))?e:c.createVoidZero():tt.isParameterPropertyDeclaration(a,a.parent)&&tt.isIdentifier(r)?r:c.createVoidZero(),t||tt.isPrivateIdentifier(r)?(a=tt.createMemberAccessForPropertyName(c,n,r,r),c.createAssignment(a,e)):(t=tt.isComputedPropertyName(r)?r.expression:tt.isIdentifier(r)?c.createStringLiteral(tt.unescapeLeadingUnderscores(r.escapedText)):r,a=c.createPropertyDescriptor({value:e,configurable:!0,writable:!0,enumerable:!0}),c.createObjectDefinePropertyCall(n,t,a))})(e,n);return n&&tt.hasStaticModifier(e)&&null!=i&&i.facts&&(tt.setOriginalNode(n,e),tt.addEmitFlags(n,2),x.set(tt.getOriginalNodeId(n),i)),s=t,n}function H(){0==(2&n)&&(n|=2,e.enableSubstitution(108),e.enableEmitNotification(254),e.enableEmitNotification(211),e.enableEmitNotification(169),e.enableEmitNotification(170),e.enableEmitNotification(171),e.enableEmitNotification(167),e.enableEmitNotification(165),e.enableEmitNotification(160))}function W(e){return tt.isPropertyAccessExpression(e)?c.updatePropertyAccessExpression(e,c.createVoidZero(),e.name):c.updateElementAccessExpression(e,c.createVoidZero(),tt.visitNode(e.argumentExpression,A,tt.isExpression))}function z(){return i=i||{facts:0,classConstructor:void 0,superClassReference:void 0,privateIdentifierEnvironment:void 0}}function J(){var e=z();return e.privateIdentifierEnvironment||(e.privateIdentifierEnvironment={className:"",identifiers:new tt.Map}),e.privateIdentifierEnvironment}function q(){return r=r||[]}function X(e,n){var t=J().className;t=c.createUniqueName((t?"_"+t:"")+"_"+e,16);return(524288&_.getNodeCheckFlags(n)?m:l)(t),t}function Y(e,n){return X(e.substring(1),n.name)}function Q(e){if(null!=i&&i.privateIdentifierEnvironment&&(t=i.privateIdentifierEnvironment.identifiers.get(e.escapedText)))return t;for(var n=S.length-1;0<=n;--n){var t,r=S[n];if(r&&(t=null==(r=r.privateIdentifierEnvironment)?void 0:r.identifiers.get(e.escapedText)))return t}}function Z(n){var t,r=c.getGeneratedNameForNode(n),a=Q(n.name);return a?(t=n.expression,!tt.isThisProperty(n)&&!tt.isSuperProperty(n)&&tt.isSimpleCopiableExpression(n.expression)||(t=c.createTempVariable(l,!0),q().push(c.createBinaryExpression(t,63,tt.visitNode(n.expression,A,tt.isExpression)))),c.createAssignmentTargetWrapper(r,M(a,t,r,63))):tt.visitEachChild(n,A,e)}function $(e){var n=tt.getTargetOfBindingOrAssignmentElement(e);if(n){var t,r,a,o=void 0;if(tt.isPrivateIdentifierPropertyAccessExpression(n)?o=Z(n):v&&tt.isSuperProperty(n)&&s&&i&&(t=i.classConstructor,r=i.superClassReference,1&i.facts?o=W(n):t&&r&&(n=tt.isElementAccessExpression(n)?tt.visitNode(n.argumentExpression,A,tt.isExpression):tt.isIdentifier(n.name)?c.createStringLiteralFromNode(n.name):void 0)&&(a=c.createTempVariable(void 0),o=c.createAssignmentTargetWrapper(a,c.createReflectSetCall(r,n,a,t)))),o)return tt.isAssignmentExpression(e)?c.updateBinaryExpression(e,o,e.operatorToken,tt.visitNode(e.right,A,tt.isExpression)):tt.isSpreadElement(e)?c.updateSpreadElement(e,o):o}return tt.visitNode(e,I)}function ee(e){if(tt.isObjectBindingOrAssignmentElement(e)&&!tt.isShorthandPropertyAssignment(e)){var n,t,r,a=tt.getTargetOfBindingOrAssignmentElement(e),o=void 0;if(a&&(tt.isPrivateIdentifierPropertyAccessExpression(a)?o=Z(a):v&&tt.isSuperProperty(a)&&s&&i&&(n=i.classConstructor,r=i.superClassReference,1&i.facts?o=W(a):n&&r&&(a=tt.isElementAccessExpression(a)?tt.visitNode(a.argumentExpression,A,tt.isExpression):tt.isIdentifier(a.name)?c.createStringLiteralFromNode(a.name):void 0)&&(t=c.createTempVariable(void 0),o=c.createAssignmentTargetWrapper(t,c.createReflectSetCall(r,a,t,n))))),tt.isPropertyAssignment(e))return r=tt.getInitializerOfBindingOrAssignmentElement(e),c.updatePropertyAssignment(e,tt.visitNode(e.name,A,tt.isPropertyName),o?r?c.createAssignment(o,tt.visitNode(r,A)):o:tt.visitNode(e.initializer,I,tt.isExpression));if(tt.isSpreadAssignment(e))return c.updateSpreadAssignment(e,o||tt.visitNode(e.expression,I,tt.isExpression));tt.Debug.assert(void 0===o,"Should not have generated a wrapped target")}return tt.visitNode(e,A)}},(rt=bY=bY||{}).transformES2017=function(e){var n,t,r,a,i=e.factory,o=e.getEmitHelperFactory,s=e.resumeLexicalEnvironment,c=e.endLexicalEnvironment,l=e.hoistVariableDeclaration,d=e.getEmitResolver(),u=e.getCompilerOptions(),p=rt.getEmitScriptTarget(u),m=0,_=[],f=0,g=e.onEmitNode,y=e.onSubstituteNode;return e.onEmitNode=function(e,t,r){if(1&n&&(e=>255===(e=e.kind)||169===e||167===e||170===e||171===e)(t)){var a=6144&d.getNodeCheckFlags(t);if(a!==m)return i=m,m=a,g(e,t,r),void(m=i)}else{var i;if(n&&_[rt.getNodeId(t)])return i=m,m=0,g(e,t,r),void(m=i)}g(e,t,r)},e.onSubstituteNode=function(e,n){return n=y(e,n),1===e&&m?(e=>{switch(e.kind){case 204:return F(e);case 205:return G(e);case 206:return(e=>{var n=e.expression;return rt.isSuperProperty(n)?(n=(rt.isPropertyAccessExpression(n)?F:G)(n),i.createCallExpression(i.createPropertyAccessExpression(n,"call"),void 0,eu([i.createThis()],e.arguments,!0))):e})(e)}return e})(n):n},rt.chainBundle(e,(function(n){return n.isDeclarationFile||(h(1,!1),h(2,!rt.isEffectiveStrictModeSourceFile(n,u)),n=rt.visitEachChild(n,S,e),rt.addEmitHelpers(n,e.readEmitHelpers())),n}));function h(e,n){f=n?f|e:f&~e}function v(e){return 0!=(f&e)}function b(){return v(2)}function E(e,n,t){var r;e&=~f;return e?(h(e,!0),r=n(t),h(e,!1),r):n(t)}function T(n){return rt.visitEachChild(n,S,e)}function S(n){if(0==(128&n.transformFlags))return n;switch(n.kind){case 130:return;case 216:var t=n;return v(1)?rt.setOriginalNode(rt.setTextRange(i.createYieldExpression(void 0,rt.visitNode(t.expression,S,rt.isExpression)),t),t):rt.visitEachChild(t,S,e);case 167:return E(3,L,n);case 254:return E(3,D,n);case 211:return E(3,A,n);case 212:return E(1,C,n);case 204:return r&&rt.isPropertyAccessExpression(n)&&106===n.expression.kind&&r.add(n.name.escapedText),rt.visitEachChild(n,S,e);case 205:return r&&106===n.expression.kind&&(a=!0),rt.visitEachChild(n,S,e);case 170:case 171:case 169:case 255:case 224:return E(3,T,n);default:return rt.visitEachChild(n,S,e)}}function x(n){if(rt.isNodeWithPossibleHoistedDeclaration(n))switch(n.kind){case 235:var r=n;return N(r.declarationList)?(d=k(r.declarationList,!1))?i.createExpressionStatement(d):void 0:rt.visitEachChild(r,S,e);case 240:return r=(d=n).initializer,i.updateForStatement(d,N(r)?k(r,!1):rt.visitNode(d.initializer,S,rt.isForInitializer),rt.visitNode(d.condition,S,rt.isExpression),rt.visitNode(d.incrementor,S,rt.isExpression),rt.visitIterationBody(d.statement,x,e));case 241:return l=n,i.updateForInStatement(l,N(l.initializer)?k(l.initializer,!0):rt.visitNode(l.initializer,S,rt.isForInitializer),rt.visitNode(l.expression,S,rt.isExpression),rt.visitIterationBody(l.statement,x,e));case 242:return l=n,i.updateForOfStatement(l,rt.visitNode(l.awaitModifier,S,rt.isToken),N(l.initializer)?k(l.initializer,!0):rt.visitNode(l.initializer,S,rt.isForInitializer),rt.visitNode(l.expression,S,rt.isExpression),rt.visitIterationBody(l.statement,x,e));case 290:var a,o,s=n,c=new rt.Set;return I(s.variableDeclaration,c),c.forEach((function(e,n){t.has(n)&&(a=a||new rt.Set(t)).delete(n)})),a?(c=t,t=a,o=rt.visitEachChild(s,x,e),t=c,o):rt.visitEachChild(s,x,e);case 233:case 247:case 261:case 287:case 288:case 250:case 238:case 239:case 237:case 246:case 248:return rt.visitEachChild(n,x,e);default:return rt.Debug.assertNever(n,"Unhandled node.")}var l,d;return S(n)}function L(n){return i.updateMethodDeclaration(n,void 0,rt.visitNodes(n.modifiers,S,rt.isModifier),n.asteriskToken,n.name,void 0,void 0,rt.visitParameterList(n.parameters,S,e),void 0,2&rt.getFunctionFlags(n)?w(n):rt.visitFunctionBody(n.body,S,e))}function D(n){return i.updateFunctionDeclaration(n,void 0,rt.visitNodes(n.modifiers,S,rt.isModifier),n.asteriskToken,n.name,void 0,rt.visitParameterList(n.parameters,S,e),void 0,2&rt.getFunctionFlags(n)?w(n):rt.visitFunctionBody(n.body,S,e))}function A(n){return i.updateFunctionExpression(n,rt.visitNodes(n.modifiers,S,rt.isModifier),n.asteriskToken,n.name,void 0,rt.visitParameterList(n.parameters,S,e),void 0,2&rt.getFunctionFlags(n)?w(n):rt.visitFunctionBody(n.body,S,e))}function C(n){return i.updateArrowFunction(n,rt.visitNodes(n.modifiers,S,rt.isModifier),void 0,rt.visitParameterList(n.parameters,S,e),void 0,n.equalsGreaterThanToken,2&rt.getFunctionFlags(n)?w(n):rt.visitFunctionBody(n.body,S,e))}function I(e,n){if(e=e.name,rt.isIdentifier(e))n.add(e.escapedText);else for(var t=0,r=e.elements;t<r.length;t++){var a=r[t];rt.isOmittedExpression(a)||I(a,n)}}function N(e){return e&&rt.isVariableDeclarationList(e)&&!(3&e.flags)&&e.declarations.some(P)}function k(e,n){rt.forEach(e.declarations,R);var t=rt.getInitializedVariables(e);return 0===t.length?n?rt.visitNode(i.converters.convertToAssignmentElementTarget(e.declarations[0].name),S,rt.isExpression):void 0:i.inlineExpressions(rt.map(t,O))}function R(e){if(e=e.name,rt.isIdentifier(e))l(e);else for(var n=0,t=e.elements;n<t.length;n++){var r=t[n];rt.isOmittedExpression(r)||R(r)}}function O(e){return e=rt.setSourceMapRange(i.createAssignment(i.converters.convertToAssignmentElementTarget(e.name),e.initializer),e),rt.visitNode(e,S,rt.isExpression)}function P(e){if(e=e.name,rt.isIdentifier(e))return t.has(e.escapedText);for(var n=0,r=e.elements;n<r.length;n++){var a=r[n];if(!rt.isOmittedExpression(a)&&P(a))return!0}return!1}function w(l){s();var u=rt.getOriginalNode(l,rt.isFunctionLike).type,m=(u=p<2?(e=>{if((e=e&&rt.getEntityNameFromTypeNode(e))&&rt.isEntityName(e)){var n=d.getTypeReferenceSerializationKind(e);if(n===rt.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue||n===rt.TypeReferenceSerializationKind.Unknown)return e}})(u):void 0,212===l.kind),f=0!=(8192&d.getNodeCheckFlags(l)),g=t;t=new rt.Set;for(var y=0,h=l.parameters;y<h.length;y++)I(h[y],t);var v,E,T,x=r,L=a;return m||(r=new rt.Set,a=!1),E=m?(E=o().createAwaiterHelper(b(),f,u,M(l.body)),v=c(),rt.some(v)?(T=i.converters.convertToFunctionBlock(E),i.updateBlock(T,rt.setTextRange(i.createNodeArray(rt.concatenate(v,T.statements)),T.statements))):E):(E=i.copyPrologue(l.body.statements,v=[],!1,S),v.push(i.createReturnStatement(o().createAwaiterHelper(b(),f,u,M(l.body,E)))),rt.insertStatementsAfterStandardPrologue(v,c()),(f=2<=p&&6144&d.getNodeCheckFlags(l))&&(0==(1&n)&&(n|=1,e.enableSubstitution(206),e.enableSubstitution(204),e.enableSubstitution(205),e.enableEmitNotification(255),e.enableEmitNotification(167),e.enableEmitNotification(170),e.enableEmitNotification(171),e.enableEmitNotification(169),e.enableEmitNotification(235)),r.size)&&(u=jk(i,d,l,r),_[rt.getNodeId(u)]=!0,rt.insertStatementsAfterStandardPrologue(v,[u])),T=i.createBlock(v,!0),rt.setTextRange(T,l.body),f&&a&&(4096&d.getNodeCheckFlags(l)?rt.addEmitHelper(T,rt.advancedAsyncSuperHelper):2048&d.getNodeCheckFlags(l)&&rt.addEmitHelper(T,rt.asyncSuperHelper)),T),t=g,m||(r=x,a=L),E}function M(e,n){return rt.isBlock(e)?i.updateBlock(e,rt.visitNodes(e.statements,x,rt.isStatement,n)):i.converters.convertToFunctionBlock(rt.visitNode(e,x,rt.isConciseBody))}function F(e){return 106===e.expression.kind?rt.setTextRange(i.createPropertyAccessExpression(i.createUniqueName("_super",48),e.name),e):e}function G(e){var n,t;return 106===e.expression.kind?(n=e.argumentExpression,t=e,4096&m?rt.setTextRange(i.createPropertyAccessExpression(i.createCallExpression(i.createUniqueName("_superIndex",48),void 0,[n]),"value"),t):rt.setTextRange(i.createCallExpression(i.createUniqueName("_superIndex",48),void 0,[n]),t)):e}},rt.createSuperAccessVariableStatement=jk,at=bY=bY||{},at.transformES2018=function(e){var n,t,r,a,i,o,s=e.factory,c=e.getEmitHelperFactory,l=e.resumeLexicalEnvironment,d=e.endLexicalEnvironment,u=e.hoistVariableDeclaration,p=e.getEmitResolver(),m=e.getCompilerOptions(),_=at.getEmitScriptTarget(m),f=e.onEmitNode,g=(e.onEmitNode=function(e,t,r){if(1&n&&(e=>255===(e=e.kind)||169===e||167===e||170===e||171===e)(t)){var a=6144&p.getNodeCheckFlags(t);if(a!==h)return i=h,h=a,f(e,t,r),void(h=i)}else{var i;if(n&&b[at.getNodeId(t)])return i=h,h=0,f(e,t,r),void(h=i)}f(e,t,r)},e.onSubstituteNode),y=!(e.onSubstituteNode=function(e,n){return n=g(e,n),1===e&&h?(e=>{switch(e.kind){case 204:return H(e);case 205:return W(e);case 206:return(e=>{var n=e.expression;return at.isSuperProperty(n)?(n=(at.isPropertyAccessExpression(n)?H:W)(n),s.createCallExpression(s.createPropertyAccessExpression(n,"call"),void 0,eu([s.createThis()],e.arguments,!0))):e})(e)}return e})(n):n}),h=0,v=0,b=[];return at.chainBundle(e,(function(n){return n.isDeclarationFile||(n=(n=>{var t=E(2,at.isEffectiveStrictModeSourceFile(n,m)?0:1),r=(y=!1,at.visitEachChild(n,x,e)),i=at.concatenate(r.statements,a&&[s.createVariableStatement(void 0,s.createVariableDeclarationList(a))]);r=s.updateSourceFile(r,at.setTextRange(s.createNodeArray(i),n.statements));return T(t),r})(r=n),at.addEmitHelpers(n,e.readEmitHelpers()),r=void 0,a=void 0),n}));function E(e,n){var t=v;return v=3&(v&~e|n),t}function T(e){v=e}function S(e){a=at.append(a,s.createVariableDeclaration(e))}function x(e){return I(e,!1)}function L(e){return I(e,!0)}function D(e){if(130!==e.kind)return e}function A(e,n,t,r){return v!==(v&~t|r)?(t=E(t,r),r=e(n),T(t),r):e(n)}function C(n){return at.visitEachChild(n,x,e)}function I(n,a){if(0==(64&n.transformFlags))return n;switch(n.kind){case 216:var l=n;return 2&t&&1&t?at.setOriginalNode(at.setTextRange(s.createYieldExpression(void 0,c().createAwaitHelper(at.visitNode(l.expression,x,at.isExpression))),l),l):at.visitEachChild(l,x,e);case 222:return l=n,2&t&&1&t?l.asteriskToken?(d=at.visitNode(at.Debug.assertDefined(l.expression),x,at.isExpression),at.setOriginalNode(at.setTextRange(s.createYieldExpression(void 0,c().createAwaitHelper(s.updateYieldExpression(l,l.asteriskToken,at.setTextRange(c().createAsyncDelegatorHelper(at.setTextRange(c().createAsyncValuesHelper(d),d)),d)))),l),l)):at.setOriginalNode(at.setTextRange(s.createYieldExpression(void 0,O(l.expression?at.visitNode(l.expression,x,at.isExpression):s.createVoidZero())),l),l):at.visitEachChild(l,x,e);case 245:var d=n;return 2&t&&1&t?s.updateReturnStatement(d,O(d.expression?at.visitNode(d.expression,x,at.isExpression):s.createVoidZero())):at.visitEachChild(d,x,e);case 248:var u=n;return 2&t?242===(p=at.unwrapInnermostStatementOfLabel(u)).kind&&p.awaitModifier?R(p,u):s.restoreEnclosingLabel(at.visitNode(p,x,at.isStatement,s.liftToBlock),u):at.visitEachChild(u,x,e);case 203:var p=n;if(32768&p.transformFlags){var m=(e=>{for(var n,t=[],r=0,a=e;r<a.length;r++){var i,o=a[r];293===o.kind?(n&&(t.push(s.createObjectLiteralExpression(n)),n=void 0),i=o.expression,t.push(at.visitNode(i,x,at.isExpression))):n=at.append(n,291===o.kind?s.createPropertyAssignment(o.name,at.visitNode(o.initializer,x,at.isExpression)):at.visitNode(o,x,at.isObjectLiteralElementLike))}return n&&t.push(s.createObjectLiteralExpression(n)),t})(p.properties),_=(m.length&&203!==m[0].kind&&m.unshift(s.createObjectLiteralExpression()),m[0]);if(1<m.length){for(var f=1;f<m.length;f++)_=c().createAssignHelper([_,m[f]]);return _}return c().createAssignHelper(m)}return at.visitEachChild(p,x,e);case 219:u=n;var g=a;return at.isDestructuringAssignment(u)&&32768&u.left.transformFlags?at.flattenDestructuringAssignment(u,x,e,1,!g):27!==u.operatorToken.kind?at.visitEachChild(u,x,e):s.updateBinaryExpression(u,at.visitNode(u.left,L,at.isExpression),u.operatorToken,at.visitNode(u.right,g?L:x,at.isExpression));case 346:var h=n;g=a;if(g)return at.visitEachChild(h,L,e);for(var v,b=0;b<h.elements.length;b++){var E=h.elements[b],T=at.visitNode(E,b<h.elements.length-1?L:x,at.isExpression);!v&&T===E||(v=v||h.elements.slice(0,b)).push(T)}return g=v?at.setTextRange(s.createNodeArray(v),h.elements):h.elements,s.updateCommaListExpression(h,g);case 290:var D=n;return D.variableDeclaration&&at.isBindingPattern(D.variableDeclaration.name)&&32768&D.variableDeclaration.name.transformFlags?(I=s.getGeneratedNameForNode(D.variableDeclaration.name),j=s.updateVariableDeclaration(D.variableDeclaration,D.variableDeclaration.name,void 0,void 0,I),j=at.flattenDestructuringBinding(j,x,e,1),V=at.visitNode(D.block,x,at.isBlock),at.some(j)&&(V=s.updateBlock(V,eu([s.createVariableStatement(void 0,j)],V.statements,!0))),s.updateCatchClause(D,s.updateVariableDeclaration(D.variableDeclaration,I,void 0,void 0,void 0),V)):at.visitEachChild(D,x,e);case 235:var I,V,j=n;return at.hasSyntacticModifier(j,1)?(I=y,y=!0,V=at.visitEachChild(j,x,e),y=I,V):at.visitEachChild(j,x,e);case 252:var K;D=n;return y?(H=y,K=N(D,!(y=!1)),y=H,K):N(D,!1);case 238:case 239:case 241:return A(C,n,0,2);case 242:return R(n,void 0);case 240:return A(k,n,0,2);case 215:return at.visitEachChild(n,L,e);case 169:return A(P,n,2,1);case 167:return A(F,n,2,1);case 170:return A(w,n,2,1);case 171:return A(M,n,2,1);case 254:return A(G,n,2,1);case 211:return A(U,n,2,1);case 212:return A(B,n,2,0);case 162:var H=n;return 32768&H.transformFlags?s.updateParameterDeclaration(H,void 0,void 0,H.dotDotDotToken,s.getGeneratedNameForNode(H),void 0,void 0,at.visitNode(H.initializer,x,at.isExpression)):at.visitEachChild(H,x,e);case 236:return at.visitEachChild(n,L,e);case 210:return at.visitEachChild(n,a?L:x,e);case 208:return at.processTaggedTemplateExpression(e,n,x,r,S,at.ProcessLevel.LiftRestriction);case 204:return i&&at.isPropertyAccessExpression(n)&&106===n.expression.kind&&i.add(n.name.escapedText),at.visitEachChild(n,x,e);case 205:return i&&106===n.expression.kind&&(o=!0),at.visitEachChild(n,x,e);case 255:case 224:return A(C,n,2,1);default:return at.visitEachChild(n,x,e)}}function N(n,t){return at.isBindingPattern(n.name)&&32768&n.name.transformFlags?at.flattenDestructuringBinding(n,x,e,1,void 0,t):at.visitEachChild(n,x,e)}function k(n){return s.updateForStatement(n,at.visitNode(n.initializer,L,at.isForInitializer),at.visitNode(n.condition,x,at.isExpression),at.visitNode(n.incrementor,L,at.isExpression),at.visitIterationBody(n.statement,x,e))}function R(n,t){var r,a,i,o,l,d,p,m,_,f,g,y,h=E(0,2),v=(n=32768&n.initializer.transformFlags?(e=>{var n,t,r,a=at.skipParentheses(e.initializer);return at.isVariableDeclarationList(a)||at.isAssignmentPattern(a)?(t=n=void 0,r=s.createTempVariable(void 0),a=[at.createForOfBindingStatement(s,a,r)],at.isBlock(e.statement)?(at.addRange(a,e.statement.statements),n=e.statement,t=e.statement.statements):e.statement&&(at.append(a,e.statement),n=e.statement,t=e.statement),s.updateForOfStatement(e,e.awaitModifier,at.setTextRange(s.createVariableDeclarationList([at.setTextRange(s.createVariableDeclaration(r),e.initializer)],1),e.initializer),e.expression,at.setTextRange(s.createBlock(at.setTextRange(s.createNodeArray(a),t),!0),n))):e})(n):n).awaitModifier?(r=n,a=t,v=h,i=at.visitNode(r.expression,x,at.isExpression),o=at.isIdentifier(i)?s.getGeneratedNameForNode(i):s.createTempVariable(void 0),l=at.isIdentifier(i)?s.getGeneratedNameForNode(o):s.createTempVariable(void 0),d=s.createUniqueName("e"),p=s.getGeneratedNameForNode(d),m=s.createTempVariable(void 0),i=at.setTextRange(c().createAsyncValuesHelper(i),r.expression),_=s.createCallExpression(s.createPropertyAccessExpression(o,"next"),void 0,[]),f=s.createPropertyAccessExpression(l,"done"),g=s.createPropertyAccessExpression(l,"value"),y=s.createFunctionCallCall(m,o,[]),u(d),u(m),v=2&v?s.inlineExpressions([s.createAssignment(d,s.createVoidZero()),i]):i,i=at.setEmitFlags(at.setTextRange(s.createForStatement(at.setEmitFlags(at.setTextRange(s.createVariableDeclarationList([at.setTextRange(s.createVariableDeclaration(o,void 0,void 0,v),r.expression),s.createVariableDeclaration(l)]),r.expression),2097152),s.createComma(s.createAssignment(l,O(_)),s.createLogicalNot(f)),void 0,((n,t)=>{var r,a;t=at.createForOfBindingStatement(s,n.initializer,t),t=[at.visitNode(t,x,at.isStatement)],n=at.visitIterationBody(n.statement,x,e);return at.isBlock(n)?(at.addRange(t,n.statements),a=(r=n).statements):t.push(n),at.setEmitFlags(at.setTextRange(s.createBlock(at.setTextRange(s.createNodeArray(t),a),!0),r),432)})(r,g)),r),256),s.createTryStatement(s.createBlock([s.restoreEnclosingLabel(i,a)]),s.createCatchClause(s.createVariableDeclaration(p),at.setEmitFlags(s.createBlock([s.createExpressionStatement(s.createAssignment(d,s.createObjectLiteralExpression([s.createPropertyAssignment("error",p)])))]),1)),s.createBlock([s.createTryStatement(s.createBlock([at.setEmitFlags(s.createIfStatement(s.createLogicalAnd(s.createLogicalAnd(l,s.createLogicalNot(f)),s.createAssignment(m,s.createPropertyAccessExpression(o,"return"))),s.createExpressionStatement(O(y))),1)]),void 0,at.setEmitFlags(s.createBlock([at.setEmitFlags(s.createIfStatement(d,s.createThrowStatement(s.createPropertyAccessExpression(d,"error"))),1)]),1))]))):s.restoreEnclosingLabel(at.visitEachChild(n,x,e),t);return T(h),v}function O(e){return 1&t?s.createYieldExpression(void 0,c().createAwaitHelper(e)):s.createAwaitExpression(e)}function P(n){var r=t;t=0,n=s.updateConstructorDeclaration(n,void 0,n.modifiers,at.visitParameterList(n.parameters,x,e),j(n));return t=r,n}function w(n){var r=t;t=0,n=s.updateGetAccessorDeclaration(n,void 0,n.modifiers,at.visitNode(n.name,x,at.isPropertyName),at.visitParameterList(n.parameters,x,e),void 0,j(n));return t=r,n}function M(n){var r=t;t=0,n=s.updateSetAccessorDeclaration(n,void 0,n.modifiers,at.visitNode(n.name,x,at.isPropertyName),at.visitParameterList(n.parameters,x,e),j(n));return t=r,n}function F(n){var r=t;t=at.getFunctionFlags(n),n=s.updateMethodDeclaration(n,void 0,1&t?at.visitNodes(n.modifiers,D,at.isModifier):n.modifiers,2&t?void 0:n.asteriskToken,at.visitNode(n.name,x,at.isPropertyName),at.visitNode(void 0,x,at.isToken),void 0,at.visitParameterList(n.parameters,x,e),void 0,(2&t&&1&t?V:j)(n));return t=r,n}function G(n){var r=t;t=at.getFunctionFlags(n),n=s.updateFunctionDeclaration(n,void 0,1&t?at.visitNodes(n.modifiers,D,at.isModifier):n.modifiers,2&t?void 0:n.asteriskToken,n.name,void 0,at.visitParameterList(n.parameters,x,e),void 0,(2&t&&1&t?V:j)(n));return t=r,n}function B(n){var r=t;t=at.getFunctionFlags(n),n=s.updateArrowFunction(n,n.modifiers,void 0,at.visitParameterList(n.parameters,x,e),void 0,n.equalsGreaterThanToken,j(n));return t=r,n}function U(n){var r=t;t=at.getFunctionFlags(n),n=s.updateFunctionExpression(n,1&t?at.visitNodes(n.modifiers,D,at.isModifier):n.modifiers,2&t?void 0:n.asteriskToken,n.name,void 0,at.visitParameterList(n.parameters,x,e),void 0,(2&t&&1&t?V:j)(n));return t=r,n}function V(t){l();var r=[],a=s.copyPrologue(t.body.statements,r,!1,x),u=(K(r,t),i),m=o,f=(a=(i=new at.Set,o=!1,s.createReturnStatement(c().createAsyncGeneratorHelper(s.createFunctionExpression(void 0,s.createToken(41),t.name&&s.getGeneratedNameForNode(t.name),void 0,[],void 0,s.updateBlock(t.body,at.visitLexicalEnvironment(t.body.statements,x,e,a))),!!(1&v)))),2<=_&&6144&p.getNodeCheckFlags(t)),g=(f&&(0==(1&n)&&(n|=1,e.enableSubstitution(206),e.enableSubstitution(204),e.enableSubstitution(205),e.enableEmitNotification(255),e.enableEmitNotification(167),e.enableEmitNotification(170),e.enableEmitNotification(171),e.enableEmitNotification(169),e.enableEmitNotification(235)),g=at.createSuperAccessVariableStatement(s,p,t,i),b[at.getNodeId(g)]=!0,at.insertStatementsAfterStandardPrologue(r,[g])),r.push(a),at.insertStatementsAfterStandardPrologue(r,d()),s.updateBlock(t.body,r));return f&&o&&(4096&p.getNodeCheckFlags(t)?at.addEmitHelper(g,at.advancedAsyncSuperHelper):2048&p.getNodeCheckFlags(t)&&at.addEmitHelper(g,at.asyncSuperHelper)),i=u,o=m,g}function j(e){l();var n,t=0,r=[],a=null!=(a=at.visitNode(e.body,x,at.isConciseBody))?a:s.createBlock([]);at.isBlock(a)&&(t=s.copyPrologue(a.statements,r,!1,x)),at.addRange(r,K(void 0,e)),e=d();return 0<t||at.some(r)||at.some(e)?(n=s.converters.convertToFunctionBlock(a,!0),at.insertStatementsAfterStandardPrologue(r,e),at.addRange(r,n.statements.slice(t)),s.updateBlock(n,at.setTextRange(s.createNodeArray(r),n.statements))):a}function K(n,t){for(var r=0,a=t.parameters;r<a.length;r++){var i,o=a[r];32768&o.transformFlags&&(i=s.getGeneratedNameForNode(o),o=at.flattenDestructuringBinding(o,x,e,1,i,!1,!0),at.some(o))&&(i=s.createVariableStatement(void 0,s.createVariableDeclarationList(o)),at.setEmitFlags(i,1048576),n=at.append(n,i))}return n}function H(e){return 106===e.expression.kind?at.setTextRange(s.createPropertyAccessExpression(s.createUniqueName("_super",48),e.name),e):e}function W(e){var n,t;return 106===e.expression.kind?(n=e.argumentExpression,t=e,4096&h?at.setTextRange(s.createPropertyAccessExpression(s.createCallExpression(s.createIdentifier("_superIndex"),void 0,[n]),"value"),t):at.setTextRange(s.createCallExpression(s.createIdentifier("_superIndex"),void 0,[n]),t)):e}},(it=bY=bY||{}).transformES2019=function(e){var n=e.factory;return it.chainBundle(e,(function(n){return n.isDeclarationFile?n:it.visitEachChild(n,t,e)}));function t(r){return 0==(32&r.transformFlags)?r:290!==r.kind||(r=r).variableDeclaration?it.visitEachChild(r,t,e):n.updateCatchClause(r,n.createVariableDeclaration(n.createTempVariable(void 0)),it.visitNode(r.block,t,it.isBlock))}},(ot=bY=bY||{}).transformES2020=function(e){var n=e.factory,t=e.hoistVariableDeclaration;return ot.chainBundle(e,(function(n){return n.isDeclarationFile?n:ot.visitEachChild(n,r,e)}));function r(a){if(0==(16&a.transformFlags))return a;switch(a.kind){case 206:var l=i(a,!1);return ot.Debug.assertNotNode(l,ot.isSyntheticReference),l;case 204:case 205:return ot.isOptionalChain(a)?(l=s(a,!1,!1),ot.Debug.assertNotNode(l,ot.isSyntheticReference),l):ot.visitEachChild(a,r,e);case 219:var d;return 60===a.operatorToken.kind?(l=a,u=ot.visitNode(l.left,r,ot.isExpression),d=u,ot.isSimpleCopiableExpression(u)||(d=n.createTempVariable(t),u=n.createAssignment(d,u)),ot.setTextRange(n.createConditionalExpression(c(u,d),void 0,d,void 0,ot.visitNode(l.right,r,ot.isExpression)),l)):ot.visitEachChild(a,r,e);case 213:return u=a,ot.isOptionalChain(ot.skipParentheses(u.expression))?ot.setOriginalNode(o(u.expression,!1,!0),u):n.updateDeleteExpression(u,ot.visitNode(u.expression,r,ot.isExpression));default:return ot.visitEachChild(a,r,e)}var u}function a(e,t,r){return t=o(e.expression,t,r),ot.isSyntheticReference(t)?n.createSyntheticReferenceExpression(n.updateParenthesizedExpression(e,t.expression),t.thisArg):n.updateParenthesizedExpression(e,t)}function i(t,i){var o;return ot.isOptionalChain(t)?s(t,i,!1):ot.isParenthesizedExpression(t.expression)&&ot.isOptionalChain(ot.skipParentheses(t.expression))?(i=a(t.expression,!0,!1),o=ot.visitNodes(t.arguments,r,ot.isExpression),ot.isSyntheticReference(i)?ot.setTextRange(n.createFunctionCallCall(i.expression,i.thisArg,o),t):n.updateCallExpression(t,i,void 0,o)):ot.visitEachChild(t,r,e)}function o(e,o,c){switch(e.kind){case 210:return a(e,o,c);case 204:case 205:return l=e,d=o,u=c,ot.isOptionalChain(l)?s(l,d,u):(u=ot.visitNode(l.expression,r,ot.isExpression),ot.Debug.assertNotNode(u,ot.isSyntheticReference),d&&(ot.isSimpleCopiableExpression(u)?p=u:(p=n.createTempVariable(t),u=n.createAssignment(p,u))),u=204===l.kind?n.updatePropertyAccessExpression(l,u,ot.visitNode(l.name,r,ot.isIdentifier)):n.updateElementAccessExpression(l,u,ot.visitNode(l.argumentExpression,r,ot.isExpression)),p?n.createSyntheticReferenceExpression(u,p):u);case 206:return i(e,o);default:return ot.visitNode(e,r,ot.isExpression)}var l,d,u,p}function s(e,a,i){for(var s,l=(e=>{ot.Debug.assertNotNode(e,ot.isNonNullChain);for(var n=[e];!e.questionDotToken&&!ot.isTaggedTemplateExpression(e);)e=ot.cast(ot.skipPartiallyEmittedExpressions(e.expression),ot.isOptionalChain),ot.Debug.assertNotNode(e,ot.isNonNullChain),n.unshift(e);return{expression:e.expression,chain:n}})(e),d=l.expression,u=l.chain,p=(l=o(d,ot.isCallChain(u[0]),!1),ot.isSyntheticReference(l)?l.thisArg:void 0),m=(d=ot.isSyntheticReference(l)?l.expression:l,l=d,ot.isSimpleCopiableExpression(d)||(l=n.createTempVariable(t),d=n.createAssignment(l,d)),l),_=0;_<u.length;_++){var f=u[_];switch(f.kind){case 204:case 205:_===u.length-1&&a&&(ot.isSimpleCopiableExpression(m)?s=m:(s=n.createTempVariable(t),m=n.createAssignment(s,m))),m=204===f.kind?n.createPropertyAccessExpression(m,ot.visitNode(f.name,r,ot.isIdentifier)):n.createElementAccessExpression(m,ot.visitNode(f.argumentExpression,r,ot.isExpression));break;case 206:m=0===_&&p?n.createFunctionCallCall(m,106===p.kind?n.createThis():p,ot.visitNodes(f.arguments,r,ot.isExpression)):n.createCallExpression(m,void 0,ot.visitNodes(f.arguments,r,ot.isExpression))}ot.setOriginalNode(m,f)}return i=i?n.createConditionalExpression(c(d,l,!0),void 0,n.createTrue(),void 0,n.createDeleteExpression(m)):n.createConditionalExpression(c(d,l,!0),void 0,n.createVoidZero(),void 0,m),ot.setTextRange(i,e),s?n.createSyntheticReferenceExpression(i,s):i}function c(e,t,r){return n.createBinaryExpression(n.createBinaryExpression(e,n.createToken(r?36:37),n.createNull()),n.createToken(r?56:55),n.createBinaryExpression(t,n.createToken(r?36:37),n.createVoidZero()))}},(st=bY=bY||{}).transformES2021=function(e){var n=e.hoistVariableDeclaration,t=e.factory;return st.chainBundle(e,(function(n){return n.isDeclarationFile?n:st.visitEachChild(n,r,e)}));function r(a){if(0==(8&a.transformFlags))return a;if(219===a.kind){var i,o,s,c,l,d,u,p=a;if(st.isLogicalOrCoalescingAssignmentExpression(p))return l=(p=p).operatorToken,l=st.getNonAssignmentOperatorForCompoundAssignment(l.kind),d=st.skipParentheses(st.visitNode(p.left,r,st.isLeftHandSideExpression)),u=d,p=st.skipParentheses(st.visitNode(p.right,r,st.isExpression)),st.isAccessExpression(d)&&(o=st.isSimpleCopiableExpression(d.expression),i=o?d.expression:t.createTempVariable(n),o=o?d.expression:t.createAssignment(i,d.expression),d=st.isPropertyAccessExpression(d)?(u=t.createPropertyAccessExpression(i,d.name),t.createPropertyAccessExpression(o,d.name)):(s=st.isSimpleCopiableExpression(d.argumentExpression),c=s?d.argumentExpression:t.createTempVariable(n),u=t.createElementAccessExpression(i,c),t.createElementAccessExpression(o,s?d.argumentExpression:t.createAssignment(c,d.argumentExpression)))),t.createBinaryExpression(d,l,t.createParenthesizedExpression(t.createAssignment(u,p)))}return st.visitEachChild(a,r,e)}},(ct=bY=bY||{}).transformESNext=function(e){return ct.chainBundle(e,(function(t){return t.isDeclarationFile?t:ct.visitEachChild(t,n,e)}));function n(t){return 0==(4&t.transformFlags)?t:ct.visitEachChild(t,n,e)}},(lt=bY=bY||{}).transformJsx=function(e){var n,t,r=e.factory,a=e.getEmitHelperFactory,i=e.getCompilerOptions();return lt.chainBundle(e,(function(a){if(a.isDeclarationFile)return a;n=a,(t={}).importSpecifier=lt.getJSXImplicitImportBase(i,a);var o=lt.visitEachChild(a,c,e),s=(lt.addEmitHelpers(o,e.readEmitHelpers()),o.statements);if(t.filenameDeclaration&&(s=lt.insertStatementAfterCustomPrologue(s.slice(),r.createVariableStatement(void 0,r.createVariableDeclarationList([t.filenameDeclaration],2)))),t.utilizedImplicitRuntimeImports)for(var l=0,d=lt.arrayFrom(t.utilizedImplicitRuntimeImports.entries());l<d.length;l++){var u,p=d[l],m=p[0];p=p[1];lt.isExternalModule(a)?(u=r.createImportDeclaration(void 0,void 0,r.createImportClause(!1,void 0,r.createNamedImports(lt.arrayFrom(p.values()))),r.createStringLiteral(m)),lt.setParentRecursive(u,!1),s=lt.insertStatementAfterCustomPrologue(s.slice(),u)):lt.isExternalOrCommonJsModule(a)&&(u=r.createVariableStatement(void 0,r.createVariableDeclarationList([r.createVariableDeclaration(r.createObjectBindingPattern(lt.map(lt.arrayFrom(p.values()),(function(e){return r.createBindingElement(void 0,e.propertyName,e.name)}))),void 0,void 0,r.createCallExpression(r.createIdentifier("require"),void 0,[r.createStringLiteral(m)]))],2)),lt.setParentRecursive(u,!1),s=lt.insertStatementAfterCustomPrologue(s.slice(),u))}return s!==o.statements&&(o=r.updateSourceFile(o,s)),t=void 0,o}));function o(e){return e=e,s(5===i.jsx?"jsxDEV":1<e?"jsxs":"jsx")}function s(e){var n="createElement"===e?t.importSpecifier:lt.getJSXRuntimeImport(t.importSpecifier,i),a=null==(a=null==(a=t.utilizedImplicitRuntimeImports)?void 0:a.get(n))?void 0:a.get(e);if(a)return a.name;t.utilizedImplicitRuntimeImports||(t.utilizedImplicitRuntimeImports=lt.createMap());a=t.utilizedImplicitRuntimeImports.get(n),a||(a=lt.createMap(),t.utilizedImplicitRuntimeImports.set(n,a)),n=r.createUniqueName("_"+e,112);var o=r.createImportSpecifier(r.createIdentifier(e),n);return n.generatedImportReference=o,a.set(e,o),n}function c(n){if(!(2&n.transformFlags))return n;var t=n;switch(t.kind){case 276:return u(t,!1);case 277:return p(t,!1);case 280:return m(t,!1);case 286:return A(t);default:return lt.visitEachChild(t,c,e)}}function l(e){switch(e.kind){case 11:var n=e;return void 0===(n=(e=>{for(var n,t=0,r=-1,a=0;a<e.length;a++){var i=e.charCodeAt(a);lt.isLineBreak(i)?(-1!==t&&-1!==r&&(n=x(n,e.substr(t,r-t+1))),t=-1):lt.isWhiteSpaceSingleLine(i)||(r=a,-1===t&&(t=a))}return-1!==t?x(n,e.substr(t)):n})(n.text))?void 0:r.createStringLiteral(n);case 286:return A(e);case 276:return u(e,!0);case 277:return p(e,!0);case 280:return m(e,!0);default:return lt.Debug.failBadSyntaxKind(e)}}function d(e){return void 0===t.importSpecifier||(e=>{for(var n=!1,t=0,r=e.attributes.properties;t<r.length;t++){var a=r[t];if(lt.isJsxSpreadAttribute(a))n=!0;else if(n&&lt.isJsxAttribute(a)&&"key"===a.name.escapedText)return 1}})(e)}function u(e,n){return(d(e.openingElement)?y:f)(e.openingElement,e.children,n,e)}function p(e,n){return(d(e)?y:f)(e,void 0,n,e)}function m(e,n){return(void 0===t.importSpecifier?v:h)(e.openingFragment,e.children,n,e)}function _(e){var n=lt.getSemanticJsxChildren(e);return 1===lt.length(n)?(n=l(n[0]))&&r.createObjectLiteralExpression([r.createPropertyAssignment("children",n)]):(n=lt.mapDefined(e,l)).length?r.createObjectLiteralExpression([r.createPropertyAssignment("children",r.createArrayLiteralExpression(n))]):void 0}function f(e,n,t,i){var o=D(e),s=lt.find(e.attributes.properties,(function(e){return!!e.name&&lt.isIdentifier(e.name)&&"key"===e.name.escapedText})),c=(e=s?lt.filter(e.attributes.properties,(function(e){return e!==s})):e.attributes.properties,[]);return e.length&&(c=lt.flatten(lt.spanMap(e,lt.isJsxSpreadAttribute,(function(e,n){return n?lt.map(e,E):r.createObjectLiteralExpression(lt.map(e,T))}))),lt.isJsxSpreadAttribute(e[0]))&&c.unshift(r.createObjectLiteralExpression()),n&&n.length&&(e=_(n))&&c.push(e),g(o,0===c.length?r.createObjectLiteralExpression([]):lt.singleOrUndefined(c)||a().createAssignHelper(c),s,lt.length(lt.getSemanticJsxChildren(n||lt.emptyArray)),t,i)}function g(e,a,s,c,l,d){return e=[e,a,s?S(s.initializer):r.createVoidZero()],5===i.jsx&&(a=lt.getOriginalNode(n))&&lt.isSourceFile(a)&&(e.push(1<c?r.createTrue():r.createFalse()),s=lt.getLineAndCharacterOfPosition(a,d.pos),e.push(r.createObjectLiteralExpression([r.createPropertyAssignment("fileName",(t.filenameDeclaration||(a=r.createVariableDeclaration(r.createUniqueName("_jsxFileName",48),void 0,void 0,r.createStringLiteral(n.fileName)),t.filenameDeclaration=a),t.filenameDeclaration.name)),r.createPropertyAssignment("lineNumber",r.createNumericLiteral(s.line+1)),r.createPropertyAssignment("columnNumber",r.createNumericLiteral(s.character+1))])),e.push(r.createThis())),a=lt.setTextRange(r.createCallExpression(o(c),void 0,e),d),l&&lt.startOnNewLine(a),a}function y(o,c,d,u){var p,m=D(o),_=o.attributes.properties,f=(_=(p=0===_.length?r.createNull():(f=i.target)&&5<=f?r.createObjectLiteralExpression(lt.flatten(lt.spanMap(_,lt.isJsxSpreadAttribute,(function(e,n){return n?lt.map(e,b):lt.map(e,T)})))):(f=lt.flatten(lt.spanMap(_,lt.isJsxSpreadAttribute,(function(e,n){return n?lt.map(e,E):r.createObjectLiteralExpression(lt.map(e,T))}))),lt.isJsxSpreadAttribute(_[0])&&f.unshift(r.createObjectLiteralExpression()),(p=lt.singleOrUndefined(f))||a().createAssignHelper(f)),void 0===t.importSpecifier?lt.createJsxFactoryExpression(r,e.getEmitResolver().getJsxFactoryEntity(n),i.reactNamespace,o):s("createElement")),lt.createExpressionForJsxElement(r,_,m,p,lt.mapDefined(c,l),u));return d&&lt.startOnNewLine(f),f}function h(e,n,t,a){var i,o;return n&&n.length&&(o=_(n))&&(i=o),g(s("Fragment"),i||r.createObjectLiteralExpression([]),void 0,lt.length(lt.getSemanticJsxChildren(n)),t,a)}function v(t,a,o,s){return a=lt.createExpressionForJsxFragment(r,e.getEmitResolver().getJsxFactoryEntity(n),e.getEmitResolver().getJsxFragmentFactoryEntity(n),i.reactNamespace,lt.mapDefined(a,l),t,s),o&&lt.startOnNewLine(a),a}function b(e){return r.createSpreadAssignment(lt.visitNode(e.expression,c,lt.isExpression))}function E(e){return lt.visitNode(e.expression,c,lt.isExpression)}function T(e){n=(n=e).name,t=lt.idText(n);var n=/^[A-Za-z_]\w*$/.test(t)?n:r.createStringLiteral(t),t=S(e.initializer);return r.createPropertyAssignment(n,t)}function S(e){var t,a,i;return void 0===e?r.createTrue():10===e.kind?(t=void 0!==e.singleQuote?e.singleQuote:!lt.isStringDoubleQuoted(e,n),a=r.createStringLiteral(((i=L(a=e.text))===a?void 0:i)||e.text,t),lt.setTextRange(a,e)):286===e.kind?void 0===e.expression?r.createTrue():lt.visitNode(e.expression,c,lt.isExpression):lt.Debug.failBadSyntaxKind(e)}function x(e,n){return n=L(n),void 0===e?n:e+" "+n}function L(e){return e.replace(/&((#((\d+)|x([\da-fA-F]+)))|(\w+));/g,(function(e,n,t,r,a,i,o){return a?lt.utf16EncodeAsString(parseInt(a,10)):i?lt.utf16EncodeAsString(parseInt(i,16)):(a=dt.get(o))?lt.utf16EncodeAsString(a):e}))}function D(e){return 276===e.kind?D(e.openingElement):(e=e.tagName,lt.isIdentifier(e)&&lt.isIntrinsicJsxName(e.escapedText)?r.createStringLiteral(lt.idText(e)):lt.createExpressionFromEntityName(r,e))}function A(e){return lt.visitNode(e.expression,c,lt.isExpression)}},dt=new lt.Map(lt.getEntries({quot:34,amp:38,apos:39,lt:60,gt:62,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,copy:169,ordf:170,laquo:171,not:172,shy:173,reg:174,macr:175,deg:176,plusmn:177,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,sup1:185,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,Agrave:192,Aacute:193,Acirc:194,Atilde:195,Auml:196,Aring:197,AElig:198,Ccedil:199,Egrave:200,Eacute:201,Ecirc:202,Euml:203,Igrave:204,Iacute:205,Icirc:206,Iuml:207,ETH:208,Ntilde:209,Ograve:210,Oacute:211,Ocirc:212,Otilde:213,Ouml:214,times:215,Oslash:216,Ugrave:217,Uacute:218,Ucirc:219,Uuml:220,Yacute:221,THORN:222,szlig:223,agrave:224,aacute:225,acirc:226,atilde:227,auml:228,aring:229,aelig:230,ccedil:231,egrave:232,eacute:233,ecirc:234,euml:235,igrave:236,iacute:237,icirc:238,iuml:239,eth:240,ntilde:241,ograve:242,oacute:243,ocirc:244,otilde:245,ouml:246,divide:247,oslash:248,ugrave:249,uacute:250,ucirc:251,uuml:252,yacute:253,thorn:254,yuml:255,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830})),(ut=bY=bY||{}).transformES2016=function(e){var n=e.factory,t=e.hoistVariableDeclaration;return ut.chainBundle(e,(function(n){return n.isDeclarationFile?n:ut.visitEachChild(n,r,e)}));function r(a){if(0==(256&a.transformFlags))return a;if(219!==a.kind)return ut.visitEachChild(a,r,e);var i=a;switch(i.operatorToken.kind){case 67:return(e=>{var a,i,o,s=ut.visitNode(e.left,r,ut.isExpression),c=ut.visitNode(e.right,r,ut.isExpression);return i=ut.isElementAccessExpression(s)?(o=n.createTempVariable(t),i=n.createTempVariable(t),a=ut.setTextRange(n.createElementAccessExpression(ut.setTextRange(n.createAssignment(o,s.expression),s.expression),ut.setTextRange(n.createAssignment(i,s.argumentExpression),s.argumentExpression)),s),ut.setTextRange(n.createElementAccessExpression(o,i),s)):ut.isPropertyAccessExpression(s)?(o=n.createTempVariable(t),a=ut.setTextRange(n.createPropertyAccessExpression(ut.setTextRange(n.createAssignment(o,s.expression),s.expression),s.name),s),ut.setTextRange(n.createPropertyAccessExpression(o,s.name),s)):a=s,ut.setTextRange(n.createAssignment(a,ut.setTextRange(n.createGlobalMethodCall("Math","pow",[i,c]),e)),e)})(i);case 42:return(e=>{var t=ut.visitNode(e.left,r,ut.isExpression),a=ut.visitNode(e.right,r,ut.isExpression);return ut.setTextRange(n.createGlobalMethodCall("Math","pow",[t,a]),e)})(i);default:return ut.visitEachChild(i,r,e)}}},pt=bY=bY||{},pt.transformES2015=function(e){var n,t,r,a,i,o,s=e.factory,c=e.getEmitHelperFactory,l=e.startLexicalEnvironment,d=e.resumeLexicalEnvironment,u=e.endLexicalEnvironment,p=e.hoistVariableDeclaration,m=e.getCompilerOptions(),_=e.getEmitResolver(),f=e.onSubstituteNode,g=e.onEmitNode;function y(e){a=pt.append(a,s.createVariableDeclaration(e))}return e.onEmitNode=function(e,n,t){var r;1&o&&pt.isFunctionLike(n)?(r=h(32670,8&pt.getEmitFlags(n)?81:65),g(e,n,t),v(r,0,0)):g(e,n,t)},e.onSubstituteNode=function(e,n){return n=f(e,n),1===e?(e=>{switch(e.kind){case 79:return(e=>{if(2&o&&!pt.isInternalName(e)){var n=_.getReferencedDeclarationWithCollidingName(e);if(n&&(!pt.isClassLike(n)||!((e,n)=>{var t=pt.getParseTreeNode(n);if(!(!t||t===e||t.end<=e.pos||t.pos>=e.end))for(var r=pt.getEnclosingBlockScopeContainer(e);t;){if(t===r||t===e)return;if(pt.isClassElement(t)&&t.parent===e)return 1;t=t.parent}})(n,e)))return pt.setTextRange(s.getGeneratedNameForNode(pt.getNameOfDeclaration(n)),e)}return e})(e);case 108:return(e=>1&o&&16&r?pt.setTextRange(s.createUniqueName("_this",48),e):e)(e)}return e})(n):pt.isIdentifier(n)?(e=>{if(2&o&&!pt.isInternalName(e)){var n=pt.getParseTreeNode(e,pt.isIdentifier);if(n&&(e=>{switch(e.parent.kind){case 201:case 255:case 258:case 252:return e.parent.name===e&&_.isDeclarationWithCollidingName(e.parent)}})(n))return pt.setTextRange(s.getGeneratedNameForNode(n),e)}return e})(n):n},pt.chainBundle(e,(function(i){return i.isDeclarationFile||(t=(n=i).text,i=(e=>{var n=h(8064,64),t=[],r=[],i=(l(),s.copyPrologue(e.statements,t,!1,T));return pt.addRange(r,pt.visitNodes(e.statements,T,pt.isStatement,i)),a&&r.push(s.createVariableStatement(void 0,s.createVariableDeclarationList(a))),s.mergeLexicalEnvironment(t,u()),w(t,e),v(n,0,0),s.updateSourceFile(e,pt.setTextRange(s.createNodeArray(pt.concatenate(t,r)),e.statements))})(i),pt.addEmitHelpers(i,e.readEmitHelpers()),n=void 0,t=void 0,a=void 0,r=0),i}));function h(e,n){var t=r;return r=32767&(r&~e|n),t}function v(e,n,t){r=-32768&(r&~n|t)|e}function b(e){return 0!=(8192&r)&&245===e.kind&&!e.expression}function E(e){return 0!=(512&e.transformFlags)||void 0!==i||8192&r&&2097152&(n=e).transformFlags&&(pt.isReturnStatement(n)||pt.isIfStatement(n)||pt.isWithStatement(n)||pt.isSwitchStatement(n)||pt.isCaseBlock(n)||pt.isCaseClause(n)||pt.isDefaultClause(n)||pt.isTryStatement(n)||pt.isCatchClause(n)||pt.isLabeledStatement(n)||pt.isIterationStatement(n,!1)||pt.isBlock(n))||pt.isIterationStatement(e,!1)&&ae(e)||0!=(33554432&pt.getEmitFlags(e));var n}function T(e){return E(e)?D(e,!1):e}function S(e){return E(e)?D(e,!0):e}function x(e){var n,t;return E(e)?(n=pt.getOriginalNode(e),pt.isPropertyDeclaration(n)&&pt.hasStaticModifier(n)?(n=h(32670,16449),t=D(e,!1),v(n,98304,0),t):D(e,!1)):e}function L(e){return 106===e.kind?he(!0):T(e)}function D(t,a){switch(t.kind){case 124:return;case 255:var o=t,c=s.createVariableDeclaration(s.getLocalName(o,!0),void 0,void 0,I(o)),l=(pt.setOriginalNode(c,o),[]),d=(c=s.createVariableStatement(void 0,s.createVariableDeclarationList([c])),pt.setOriginalNode(c,o),pt.setTextRange(c,o),pt.startOnNewLine(c),l.push(c),pt.hasSyntacticModifier(o,1)&&(d=pt.hasSyntacticModifier(o,512)?s.createExportDefault(s.getLocalName(o)):s.createExternalModuleExport(s.getLocalName(o)),pt.setOriginalNode(d,c),l.push(d)),pt.getEmitFlags(o));return 0==(4194304&d)&&(l.push(s.createEndOfDeclarationMarker(o)),pt.setEmitFlags(c,4194304|d)),pt.singleOrMany(l);case 224:return I(t);case 162:return o=t,o.dotDotDotToken?void 0:pt.isBindingPattern(o.name)?pt.setOriginalNode(pt.setTextRange(s.createParameterDeclaration(void 0,void 0,void 0,s.getGeneratedNameForNode(o),void 0,void 0,void 0),o),o):o.initializer?pt.setOriginalNode(pt.setTextRange(s.createParameterDeclaration(void 0,void 0,void 0,o.name,void 0,void 0,void 0),o),o):o;case 254:return c=t,d=i,i=void 0,l=h(32670,65),rn=pt.visitParameterList(c.parameters,T,e),an=U(c),on=32768&r?s.getLocalName(c):c.name,v(l,98304,0),i=d,s.updateFunctionDeclaration(c,void 0,pt.visitNodes(c.modifiers,T,pt.isModifier),c.asteriskToken,on,void 0,rn,void 0,an);case 212:return 8192&(on=t).transformFlags&&!(16384&r)&&(r|=65536),rn=i,i=void 0,an=h(15232,66),tn=s.createFunctionExpression(void 0,void 0,void 0,void 0,pt.visitParameterList(on.parameters,T,e),void 0,U(on)),pt.setTextRange(tn,on),pt.setOriginalNode(tn,on),pt.setEmitFlags(tn,8),v(an,0,0),i=rn,tn;case 211:return tn=t,Qe=262144&pt.getEmitFlags(tn)?h(32662,69):h(32670,65),Ze=i,i=void 0,$e=pt.visitParameterList(tn.parameters,T,e),en=U(tn),nn=32768&r?s.getLocalName(tn):tn.name,v(Qe,98304,0),i=Ze,s.updateFunctionExpression(tn,void 0,tn.asteriskToken,nn,void 0,$e,void 0,en);case 252:return K(t);case 79:return C(t);case 253:return Qe=t,3&Qe.flags||262144&Qe.transformFlags?(3&Qe.flags&&ve(),Ze=pt.flatMap(Qe.declarations,1&Qe.flags?j:K),nn=s.createVariableDeclarationList(Ze),pt.setOriginalNode(nn,Qe),pt.setTextRange(nn,Qe),pt.setCommentRange(nn,Qe),262144&Qe.transformFlags&&(pt.isBindingPattern(Qe.declarations[0].name)||pt.isBindingPattern(pt.last(Qe.declarations).name))&&pt.setSourceMapRange(nn,(e=>{for(var n=-1,t=-1,r=0,a=e;r<a.length;r++){var i=a[r];n=-1===n?i.pos:-1===i.pos?n:Math.min(n,i.pos),t=Math.max(t,i.end)}return pt.createRange(n,t)})(Ze)),nn):pt.visitEachChild(Qe,T,e);case 247:return $e=t,void 0===i?pt.visitEachChild($e,T,e):(en=i.allowedNonLabeledJumps,i.allowedNonLabeledJumps|=2,$e=pt.visitEachChild($e,T,e),i.allowedNonLabeledJumps=en,$e);case 261:return Xe=t,Ye=h(7104,0),Xe=pt.visitEachChild(t,T,e),v(Ye,0,0),Xe;case 233:return Ye=t,Xe=!1,Xe?pt.visitEachChild(Ye,T,e):(Xe=256&r?h(7104,512):h(6976,128),Ye=pt.visitEachChild(Ye,T,e),v(Xe,0,0),Ye);case 244:case 243:var u=t;if(i){var m=244===u.kind?2:4;if(!(u.label&&i.labels&&i.labels.get(pt.idText(u.label))||!u.label&&i.allowedNonLabeledJumps&m)){m=void 0;var _=u.label;_=(_?244===u.kind?(m="break-"+_.escapedText,de(i,!0,pt.idText(_),m)):(m="continue-"+_.escapedText,de(i,!1,pt.idText(_),m)):m=244===u.kind?(i.nonLocalJumps|=2,"break"):(i.nonLocalJumps|=4,"continue"),s.createStringLiteral(m));if(i.loopOutParameters.length){for(var f=i.loopOutParameters,g=void 0,E=0;E<f.length;E++){var D=ce(f[E],1);g=0===E?D:s.createBinaryExpression(g,27,D)}_=s.createBinaryExpression(g,27,_)}return s.createReturnStatement(_)}}return pt.visitEachChild(u,T,e);case 248:if(m=t,i&&!i.labels&&(i.labels=new pt.Map),_=pt.unwrapInnermostStatementOfLabel(m,i&&H),pt.isIterationStatement(_,!1)){var N=_,k=m;switch(N.kind){case 238:case 239:return J(N,k);case 240:return q(N,k);case 241:return X(N,k);case 242:return Y(N,k)}return}return s.restoreEnclosingLabel(pt.visitNode(_,T,pt.isStatement,s.liftToBlock),m,i&&W);case 238:case 239:return J(t,void 0);case 240:return q(t,void 0);case 241:return X(t,void 0);case 242:return Y(t,void 0);case 236:return pt.visitEachChild(t,S,e);case 203:u=t;for(var R=u.properties,O=-1,P=!1,w=0;w<R.length;w++){var M=R[w];if(524288&M.transformFlags&&4&r||(P=160===pt.Debug.checkDefined(M.name).kind)){O=w;break}}if(O<0)return pt.visitEachChild(u,T,e);for(var F=s.createTempVariable(p),z=[],Q=s.createAssignment(F,pt.setEmitFlags(s.createObjectLiteralExpression(pt.visitNodes(R,T,pt.isObjectLiteralElementLike,0,O),u.multiLine),P?65536:0)),Z=(u.multiLine&&pt.startOnNewLine(Q),z.push(Q),z),$=u,ee=F,ne=(Q=O,$.properties),te=ne.length,re=Q;re<te;re++){var ae=ne[re];switch(ae.kind){case 170:case 171:var ie=pt.getAllAccessorDeclarations($.properties,ae);ae===ie.firstAccessor&&Z.push(G(ee,ie,$,!!$.multiLine));break;case 167:Z.push(((e,n,t,r)=>(n=s.createAssignment(pt.createMemberAccessForPropertyName(s,n,pt.visitNode(e.name,T,pt.isPropertyName)),B(e,e,void 0,t)),pt.setTextRange(n,e),r&&pt.startOnNewLine(n),n))(ae,ee,$,$.multiLine));break;case 291:Z.push(((e,n,t)=>(n=s.createAssignment(pt.createMemberAccessForPropertyName(s,n,pt.visitNode(e.name,T,pt.isPropertyName)),pt.visitNode(e.initializer,T,pt.isExpression)),pt.setTextRange(n,e),t&&pt.startOnNewLine(n),n))(ae,ee,$.multiLine));break;case 292:Z.push(((e,n,t)=>(n=s.createAssignment(pt.createMemberAccessForPropertyName(s,n,pt.visitNode(e.name,T,pt.isPropertyName)),s.cloneNode(e.name)),pt.setTextRange(n,e),t&&pt.startOnNewLine(n),n))(ae,ee,$.multiLine));break;default:pt.Debug.failBadSyntaxKind($)}}return z.push(u.multiLine?pt.startOnNewLine(pt.setParent(pt.setTextRange(s.cloneNode(F),F),F.parent)):F),s.inlineExpressions(z);case 290:return Q=t,F=h(7104,0),pt.Debug.assert(!!Q.variableDeclaration,"Catch clause variable should always be present when downleveling ES2015."),qe=pt.isBindingPattern(Q.variableDeclaration.name)?(z=s.createTempVariable(void 0),qe=s.createVariableDeclaration(z),pt.setTextRange(qe,Q.variableDeclaration),z=pt.flattenDestructuringBinding(Q.variableDeclaration,T,e,0,z),z=s.createVariableDeclarationList(z),pt.setTextRange(z,Q.variableDeclaration),z=s.createVariableStatement(void 0,z),s.updateCatchClause(Q,qe,((e,n)=>{var t=pt.visitNodes(e.statements,T,pt.isStatement);return s.updateBlock(e,eu([n],t,!0))})(Q.block,z))):pt.visitEachChild(Q,T,e),v(F,0,0),qe;case 292:return qe=t,pt.setTextRange(s.createPropertyAssignment(qe.name,C(s.cloneNode(qe.name))),qe);case 160:return pt.visitEachChild(t,T,e);case 202:var oe=t;return pt.some(oe.elements,pt.isSpreadElement)?me(oe.elements,!1,!!oe.multiLine,!!oe.elements.hasTrailingComma):pt.visitEachChild(oe,T,e);case 206:if(oe=t,33554432&pt.getEmitFlags(oe)){var se=oe;function le(e){return pt.isVariableStatement(e)&&!!pt.first(e.declarationList.declarations).initializer}var ue,_e=pt.cast(pt.cast(pt.skipOuterExpressions(se.expression),pt.isArrowFunction).body,pt.isBlock),fe=i,ge=(_e=(i=void 0,pt.visitNodes(_e.statements,x,pt.isStatement)),fe=(i=fe,pt.filter(_e,le)),_e=pt.filter(_e,(function(e){return!le(e)})),pt.cast(pt.first(fe),pt.isVariableStatement).declarationList.declarations[0]),ye=pt.skipOuterExpressions(ge.initializer),be=pt.tryCast(ye,pt.isAssignmentExpression),Ee=(ye=(!be&&pt.isBinaryExpression(ye)&&27===ye.operatorToken.kind&&(be=pt.tryCast(ye.left,pt.isAssignmentExpression)),pt.cast(be?pt.skipOuterExpressions(be.right):ye,pt.isCallExpression)),pt.cast(pt.skipOuterExpressions(ye.expression),pt.isFunctionExpression)),Te=Ee.body.statements,Se=0,xe=-1,Le=[];for(be&&((ue=pt.tryCast(Te[Se],pt.isExpressionStatement))&&(Le.push(ue),Se++),Le.push(Te[Se]),Se++,Le.push(s.createExpressionStatement(s.createAssignment(be.left,pt.cast(ge.name,pt.isIdentifier)))));!pt.isReturnStatement(pt.elementAt(Te,xe));)xe--;return pt.addRange(Le,Te,Se,xe),xe<-1&&pt.addRange(Le,Te,xe+1),pt.addRange(Le,_e),pt.addRange(Le,fe,1),s.restoreOuterExpressions(se.expression,s.restoreOuterExpressions(ge.initializer,s.restoreOuterExpressions(be&&be.right,s.updateCallExpression(ye,s.restoreOuterExpressions(ye.expression,s.updateFunctionExpression(Ee,void 0,void 0,void 0,void 0,Ee.parameters,void 0,s.updateBlock(Ee.body,Le))),void 0,ye.arguments))))}return 106===(ue=pt.skipOuterExpressions(oe.expression)).kind||pt.isSuperProperty(ue)||pt.some(oe.arguments,pt.isSpreadElement)?pe(oe,!0):s.updateCallExpression(oe,pt.visitNode(oe.expression,L,pt.isExpression),void 0,pt.visitNodes(oe.arguments,T,pt.isExpression));case 207:return Se=t,pt.some(Se.arguments,pt.isSpreadElement)?(_e=s.createCallBinding(s.createPropertyAccessExpression(Se.expression,"bind"),p),fe=_e.target,_e=_e.thisArg,s.createNewExpression(s.createFunctionApplyCall(pt.visitNode(fe,T,pt.isExpression),_e,me(s.createNodeArray(eu([s.createVoidZero()],Se.arguments,!0)),!0,!1,!1)),void 0,[])):pt.visitEachChild(Se,T,e);case 210:return pt.visitEachChild(t,a?S:T,e);case 219:return V(t,a);case 346:var De=t;se=a;if(se)return pt.visitEachChild(De,S,e);for(var Ae,Ce=0;Ce<De.elements.length;Ce++){var Ie=De.elements[Ce],Ne=pt.visitNode(Ie,Ce<De.elements.length-1?S:T,pt.isExpression);!Ae&&Ne===Ie||(Ae=Ae||De.elements.slice(0,Ce)).push(Ne)}return se=Ae?pt.setTextRange(s.createNodeArray(Ae),De.elements):De.elements,s.updateCommaListExpression(De,se);case 14:case 15:case 16:case 17:return ge=t,pt.setTextRange(s.createStringLiteral(ge.text),ge);case 10:return be=t,be.hasExtendedUnicodeEscape?pt.setTextRange(s.createStringLiteral(be.text),be):be;case 8:return Ee=t,384&Ee.numericLiteralFlags?pt.setTextRange(s.createNumericLiteral(Ee.text),Ee):Ee;case 208:return pt.processTaggedTemplateExpression(e,t,T,n,y,pt.ProcessLevel.All);case 221:Le=t;for(var ke=ye=[],Re=Le,Oe=((e=>(pt.Debug.assert(0!==e.templateSpans.length),0!==e.head.text.length||0===e.templateSpans[0].literal.text.length))(Re)&&ke.push(s.createStringLiteral(Re.head.text)),ye),Pe=0,we=Le.templateSpans;Pe<we.length;Pe++){var Me=we[Pe];Oe.push(pt.visitNode(Me.expression,T,pt.isExpression)),0!==Me.literal.text.length&&Oe.push(s.createStringLiteral(Me.literal.text))}return ye=pt.reduceLeft(ye,s.createAdd),pt.nodeIsSynthesized(ye)&&pt.setTextRange(ye,Le),ye;case 222:return pt.visitEachChild(t,T,e);case 223:return pt.visitNode(t.expression,T,pt.isExpression);case 106:return he(!1);case 108:return ke=t,2&r&&!(16384&r)&&(r|=65536),i?2&r?(i.containsLexicalThis=!0,ke):i.thisName||(i.thisName=s.createUniqueName("this")):ke;case 229:return 103!==(Re=t).keywordToken||"target"!==Re.name.escapedText?Re:(r|=32768,s.createUniqueName("_newTarget",48));case 167:return Ge=t,pt.Debug.assert(!pt.isComputedPropertyName(Ge.name)),Fe=B(Ge,pt.moveRangePos(Ge,-1),void 0,void 0),pt.setEmitFlags(Fe,512|pt.getEmitFlags(Fe)),pt.setTextRange(s.createPropertyAssignment(Ge.name,Fe),Ge);case 170:case 171:var Fe=t,Ge=(pt.Debug.assert(!pt.isComputedPropertyName(Fe.name)),i),Be=(i=void 0,h(32670,65)),Ue=pt.visitParameterList(Fe.parameters,T,e),Ve=U(Fe);return Fe=170===Fe.kind?s.updateGetAccessorDeclaration(Fe,Fe.decorators,Fe.modifiers,Fe.name,Ue,Fe.type,Ve):s.updateSetAccessorDeclaration(Fe,Fe.decorators,Fe.modifiers,Fe.name,Ue,Ve),v(Be,98304,0),i=Ge,Fe;case 235:var je;Ue=t,Ve=h(0,pt.hasSyntacticModifier(Ue,1)?32:0);if(i&&0==(3&Ue.declarationList.flags)&&!(e=>1===e.declarationList.declarations.length&&e.declarationList.declarations[0].initializer&&33554432&pt.getEmitFlags(e.declarationList.declarations[0].initializer))(Ue)){for(var Ke=void 0,He=0,We=Ue.declarationList.declarations;He<We.length;He++){var ze,Je=We[He];((e,n)=>{e.hoistedLocalVariables||(e.hoistedLocalVariables=[]),function n(t){if(79===t.kind)e.hoistedLocalVariables.push(t);else for(var r=0,a=t.elements;r<a.length;r++){var i=a[r];pt.isOmittedExpression(i)||n(i.name)}}(n.name)})(i,Je),Je.initializer&&(ze=void 0,pt.isBindingPattern(Je.name)?ze=pt.flattenDestructuringAssignment(Je,T,e,0):(ze=s.createBinaryExpression(Je.name,63,pt.visitNode(Je.initializer,T,pt.isExpression)),pt.setTextRange(ze,Je)),Ke=pt.append(Ke,ze))}je=Ke?pt.setTextRange(s.createExpressionStatement(s.inlineExpressions(Ke)),Ue):void 0}else je=pt.visitEachChild(Ue,T,e);return v(Ve,0,0),je;case 245:return Be=t,i?(i.nonLocalJumps|=8,b(Be)&&(Be=A(Be)),s.createReturnStatement(s.createObjectLiteralExpression([s.createPropertyAssignment(s.createIdentifier("value"),Be.expression?pt.visitNode(Be.expression,T,pt.isExpression):s.createVoidZero())]))):b(Be)?A(Be):pt.visitEachChild(Be,T,e);case 215:return pt.visitEachChild(t,S,e);default:return pt.visitEachChild(t,T,e)}var qe,Xe,Ye,Qe,Ze,$e,en,nn,tn,rn,an,on}function A(e){return pt.setOriginalNode(s.createReturnStatement(s.createUniqueName("_this",48)),e)}function C(e){return i&&_.isArgumentsLocalBinding(e)?i.argumentsName||(i.argumentsName=s.createUniqueName("arguments")):e}function I(a){a.name&&ve();var o=pt.getClassExtendsHeritageElement(a),p=s.createFunctionExpression(void 0,void 0,void 0,void 0,o?[s.createParameterDeclaration(void 0,void 0,void 0,s.createUniqueName("_super",48))]:[],void 0,(_=a,f=o,m=[],p=s.getInternalName(_),p=pt.isIdentifierANonContextualKeyword(p)?s.getGeneratedNameForNode(p):p,l(),((e,n,t)=>{t&&e.push(pt.setTextRange(s.createExpressionStatement(c().createExtendsHelper(s.getInternalName(n))),t))})(m,_,f),((n,t,a,o)=>{var c=i,l=(i=void 0,h(32662,73)),p=pt.getFirstConstructorWithBody(t),m=((e,n)=>!(!e||!n)&&!pt.some(e.parameters)&&!(!(n=pt.firstOrUndefined(e.body.statements))||!pt.nodeIsSynthesized(n)||236!==n.kind)&&(e=n.expression,!(!pt.nodeIsSynthesized(e)||206!==e.kind))&&(n=e.expression,!(!pt.nodeIsSynthesized(n)||106!==n.kind))&&!(!(n=pt.singleOrUndefined(e.arguments))||!pt.nodeIsSynthesized(n)||223!==n.kind)&&(e=n.expression,pt.isIdentifier(e))&&"arguments"===e.escapedText)(p,void 0!==o);a=s.createFunctionDeclaration(void 0,void 0,void 0,a,void 0,((n,t)=>pt.visitParameterList(n&&!t?n.parameters:void 0,T,e)||[])(p,m),void 0,((e,n,t,a)=>{var i,o,c;return t=!!t&&104!==pt.skipOuterExpressions(t.expression).kind,e?(n=[],c=[],d(),i=0,a||(i=s.copyStandardPrologue(e.body.statements,n,!1)),O(c,e),P(c,e,a),a||(i=s.copyCustomPrologue(e.body.statements,c,i,T)),a?o=k():t&&i<e.body.statements.length&&(a=e.body.statements[i],pt.isExpressionStatement(a))&&pt.isSuperCall(a.expression)&&(o=(e=>pe(e,!1))(a.expression)),o&&(r|=8192,i++),pt.addRange(c,pt.visitNodes(e.body.statements,T,pt.isStatement,i)),s.mergeLexicalEnvironment(n,u()),F(n,e,!1),t?!o||i!==e.body.statements.length||8192&e.body.transformFlags?(M(c,e,o||N()),function e(n){if(245===n.kind)return!0;if(237===n.kind){var t=n;if(t.elseStatement)return e(t.thenStatement)&&e(t.elseStatement)}else if(233===n.kind&&(t=pt.lastOrUndefined(n.statements),t&&e(t)))return!0;return!1}(e.body)||c.push(s.createReturnStatement(s.createUniqueName("_this",48)))):(a=pt.cast(pt.cast(o,pt.isBinaryExpression).left,pt.isCallExpression),t=s.createReturnStatement(o),pt.setCommentRange(t,pt.getCommentRange(a)),pt.setEmitFlags(a,1536),c.push(t)):w(n,e),i=s.createBlock(pt.setTextRange(s.createNodeArray(pt.concatenate(n,c)),e.body.statements),!0),pt.setTextRange(i,e.body),i):(o=n,a=t,c=[],d(),s.mergeLexicalEnvironment(c,u()),a&&c.push(s.createReturnStatement(k())),a=s.createNodeArray(c),pt.setTextRange(a,o.members),c=s.createBlock(a,!0),pt.setTextRange(c,o),pt.setEmitFlags(c,1536),c)})(p,t,o,m));pt.setTextRange(a,p||t),o&&pt.setEmitFlags(a,8),n.push(a),v(l,98304,0),i=c})(m,_,p,f),((t,r)=>{for(var a=0,i=r.members;a<i.length;a++){var o=i[a];switch(o.kind){case 232:t.push((e=>pt.setTextRange(s.createEmptyStatement(),e))(o));break;case 167:t.push(((n,t,r)=>{var a,i=pt.getCommentRange(t),o=pt.getSourceMapRange(t),c=(r=B(t,t,void 0,r),pt.visitNode(t.name,T,pt.isPropertyName));return n=!pt.isPrivateIdentifier(c)&&pt.getUseDefineForClassFields(e.getCompilerOptions())?(a=pt.isComputedPropertyName(c)?c.expression:pt.isIdentifier(c)?s.createStringLiteral(pt.unescapeLeadingUnderscores(c.escapedText)):c,s.createObjectDefinePropertyCall(n,a,s.createPropertyDescriptor({value:r,enumerable:!1,writable:!0,configurable:!0}))):(a=pt.createMemberAccessForPropertyName(s,n,c,t.name),s.createAssignment(a,r)),pt.setEmitFlags(r,1536),pt.setSourceMapRange(r,o),c=pt.setTextRange(s.createExpressionStatement(n),t),pt.setOriginalNode(c,t),pt.setCommentRange(c,i),pt.setEmitFlags(c,48),c})(be(r,o),o,r));break;case 170:case 171:var c=pt.getAllAccessorDeclarations(r.members,o);o===c.firstAccessor&&t.push(((e,n,t)=>(e=s.createExpressionStatement(G(e,n,t,!1)),pt.setEmitFlags(e,1536),pt.setSourceMapRange(e,pt.getSourceMapRange(n.firstAccessor)),e))(be(r,o),c,r));break;case 169:case 168:break;default:pt.Debug.failBadSyntaxKind(o,n&&n.fileName)}}})(m,_),f=pt.createTokenRange(pt.skipTrivia(t,_.members.end),19),p=s.createPartiallyEmittedExpression(p),pt.setTextRangeEnd(p,f.end),pt.setEmitFlags(p,1536),p=s.createReturnStatement(p),pt.setTextRangePos(p,f.pos),pt.setEmitFlags(p,1920),m.push(p),pt.insertStatementsAfterStandardPrologue(m,u()),f=s.createBlock(pt.setTextRange(s.createNodeArray(m),_.members),!0),pt.setEmitFlags(f,1536),f)),m=(pt.setEmitFlags(p,65536&pt.getEmitFlags(a)|524288),s.createPartiallyEmittedExpression(p)),_=(pt.setTextRangeEnd(m,a.end),pt.setEmitFlags(m,1536),s.createPartiallyEmittedExpression(m)),f=(pt.setTextRangeEnd(_,pt.skipTrivia(t,a.pos)),pt.setEmitFlags(_,1536),s.createParenthesizedExpression(s.createCallExpression(_,void 0,o?[pt.visitNode(o.expression,T,pt.isExpression)]:[])));return pt.addSyntheticLeadingComment(f,3,"* @class "),f}function N(){return pt.setEmitFlags(s.createThis(),4)}function k(){return s.createLogicalOr(s.createLogicalAnd(s.createStrictInequality(s.createUniqueName("_super",48),s.createNull()),s.createFunctionApplyCall(s.createUniqueName("_super",48),N(),s.createIdentifier("arguments"))),N())}function R(e){return void 0!==e.initializer||pt.isBindingPattern(e.name)}function O(n,t){if(!pt.some(t.parameters,R))return!1;for(var r=!1,a=0,i=t.parameters;a<i.length;a++){var o,c,l,d,u=i[a],p=u.name,m=u.initializer;u.dotDotDotToken||(pt.isBindingPattern(p)?r=((n,t,r,a)=>0<r.elements.length?(pt.insertStatementAfterCustomPrologue(n,pt.setEmitFlags(s.createVariableStatement(void 0,s.createVariableDeclarationList(pt.flattenDestructuringBinding(t,T,e,0,s.getGeneratedNameForNode(t)))),1048576)),!0):!!a&&(pt.insertStatementAfterCustomPrologue(n,pt.setEmitFlags(s.createExpressionStatement(s.createAssignment(s.getGeneratedNameForNode(t),pt.visitNode(a,T,pt.isExpression))),1048576)),!0))(n,u,p,m)||r:m&&(d=l=c=o=void 0,o=n,c=u,l=p,d=m,d=pt.visitNode(d,T,pt.isExpression),l=s.createIfStatement(s.createTypeCheck(s.cloneNode(l),"undefined"),pt.setEmitFlags(pt.setTextRange(s.createBlock([s.createExpressionStatement(pt.setEmitFlags(pt.setTextRange(s.createAssignment(pt.setEmitFlags(pt.setParent(pt.setTextRange(s.cloneNode(l),l),l.parent),48),pt.setEmitFlags(d,1584|pt.getEmitFlags(d))),c),1536))]),c),1953)),pt.startOnNewLine(l),pt.setTextRange(l,c),pt.setEmitFlags(l,1050528),pt.insertStatementAfterCustomPrologue(o,l),r=!0))}return r}function P(n,t,r){var a,i,o=[],c=pt.lastOrUndefined(t.parameters);return r=r,!(!(i=c)||!i.dotDotDotToken||r||(i=79===c.name.kind?pt.setParent(pt.setTextRange(s.cloneNode(c.name),c.name),c.name.parent):s.createTempVariable(void 0),pt.setEmitFlags(i,48),r=79===c.name.kind?s.cloneNode(c.name):i,t=t.parameters.length-1,a=s.createLoopVariable(),o.push(pt.setEmitFlags(pt.setTextRange(s.createVariableStatement(void 0,s.createVariableDeclarationList([s.createVariableDeclaration(i,void 0,void 0,s.createArrayLiteralExpression([]))])),c),1048576)),i=s.createForStatement(pt.setTextRange(s.createVariableDeclarationList([s.createVariableDeclaration(a,void 0,void 0,s.createNumericLiteral(t))]),c),pt.setTextRange(s.createLessThan(a,s.createPropertyAccessExpression(s.createIdentifier("arguments"),"length")),c),pt.setTextRange(s.createPostfixIncrement(a),c),s.createBlock([pt.startOnNewLine(pt.setTextRange(s.createExpressionStatement(s.createAssignment(s.createElementAccessExpression(r,0==t?a:s.createSubtract(a,s.createNumericLiteral(t))),s.createElementAccessExpression(s.createIdentifier("arguments"),a))),c))])),pt.setEmitFlags(i,1048576),pt.startOnNewLine(i),o.push(i),79!==c.name.kind&&o.push(pt.setEmitFlags(pt.setTextRange(s.createVariableStatement(void 0,s.createVariableDeclarationList(pt.flattenDestructuringBinding(c,T,e,0,r))),c),1048576)),pt.insertStatementsAfterCustomPrologue(n,o),0))}function w(e,n){65536&r&&212!==n.kind&&M(e,n,s.createThis())}function M(n,t,r){0==(1&o)&&(o|=1,e.enableSubstitution(108),e.enableEmitNotification(169),e.enableEmitNotification(167),e.enableEmitNotification(170),e.enableEmitNotification(171),e.enableEmitNotification(212),e.enableEmitNotification(211),e.enableEmitNotification(254)),r=s.createVariableStatement(void 0,s.createVariableDeclarationList([s.createVariableDeclaration(s.createUniqueName("_this",48),void 0,void 0,r)])),pt.setEmitFlags(r,1050112),pt.setSourceMapRange(r,t),pt.insertStatementAfterCustomPrologue(n,r)}function F(e,n,t){if(32768&r){var a=void 0;switch(n.kind){case 212:return;case 167:case 170:case 171:a=s.createVoidZero();break;case 169:a=s.createPropertyAccessExpression(pt.setEmitFlags(s.createThis(),4),"constructor");break;case 254:case 211:a=s.createConditionalExpression(s.createLogicalAnd(pt.setEmitFlags(s.createThis(),4),s.createBinaryExpression(pt.setEmitFlags(s.createThis(),4),102,s.getLocalName(n))),void 0,s.createPropertyAccessExpression(pt.setEmitFlags(s.createThis(),4),"constructor"),void 0,s.createVoidZero());break;default:return pt.Debug.failBadSyntaxKind(n)}var i=s.createVariableStatement(void 0,s.createVariableDeclarationList([s.createVariableDeclaration(s.createUniqueName("_newTarget",48),void 0,void 0,a)]));pt.setEmitFlags(i,1050112),t&&(e=e.slice()),pt.insertStatementAfterCustomPrologue(e,i)}}function G(e,n,t,r){var a,i=n.firstAccessor,o=n.getAccessor,c=(n=n.setAccessor,e=pt.setParent(pt.setTextRange(s.cloneNode(e),e),e.parent),pt.setEmitFlags(e,1568),pt.setSourceMapRange(e,i.name),pt.visitNode(i.name,T,pt.isPropertyName));return pt.isPrivateIdentifier(c)?pt.Debug.failBadSyntaxKind(c,"Encountered unhandled private identifier while transforming ES2015."):(c=pt.createExpressionForPropertyName(s,c),pt.setEmitFlags(c,1552),pt.setSourceMapRange(c,i.name),i=[],o&&(a=B(o,void 0,void 0,t),pt.setSourceMapRange(a,pt.getSourceMapRange(o)),pt.setEmitFlags(a,512),a=s.createPropertyAssignment("get",a),pt.setCommentRange(a,pt.getCommentRange(o)),i.push(a)),n&&(a=B(n,void 0,void 0,t),pt.setSourceMapRange(a,pt.getSourceMapRange(n)),pt.setEmitFlags(a,512),t=s.createPropertyAssignment("set",a),pt.setCommentRange(t,pt.getCommentRange(n)),i.push(t)),i.push(s.createPropertyAssignment("enumerable",o||n?s.createFalse():s.createTrue()),s.createPropertyAssignment("configurable",s.createTrue())),a=s.createCallExpression(s.createPropertyAccessExpression(s.createIdentifier("Object"),"defineProperty"),void 0,[e,c,s.createObjectLiteralExpression(i,!0)]),r&&pt.startOnNewLine(a),a)}function B(n,t,a,o){var c=i,l=(o=(i=void 0,o&&pt.isClassLike(o)&&!pt.isStatic(n)?h(32670,73):h(32670,65)),pt.visitParameterList(n.parameters,T,e)),d=U(n);return 32768&r&&!a&&(254===n.kind||211===n.kind)&&(a=s.getGeneratedNameForNode(n)),v(o,98304,0),i=c,pt.setOriginalNode(pt.setTextRange(s.createFunctionExpression(void 0,n.asteriskToken,a,void 0,l,void 0,d),t),n)}function U(e){var t,r,a,i=!1,o=!1,c=[],l=[],p=e.body;return d(),pt.isBlock(p)&&(a=s.copyStandardPrologue(p.statements,c,!1),a=s.copyCustomPrologue(p.statements,l,a,T,pt.isHoistedFunction),a=s.copyCustomPrologue(p.statements,l,a,T,pt.isHoistedVariableStatement)),i=O(l,e)||i,i=P(l,e,!1)||i,pt.isBlock(p)?(a=s.copyCustomPrologue(p.statements,l,a,T),r=p.statements,pt.addRange(l,pt.visitNodes(p.statements,T,pt.isStatement,a)),!i&&p.multiLine&&(i=!0)):(pt.Debug.assert(212===e.kind),r=pt.moveRangeEnd(p,-1),a=e.equalsGreaterThanToken,pt.nodeIsSynthesized(a)||pt.nodeIsSynthesized(p)||(pt.rangeEndIsOnSameLineAsRangeStart(a,p,n)?o=!0:i=!0),a=pt.visitNode(p,T,pt.isExpression),a=s.createReturnStatement(a),pt.setTextRange(a,p),pt.moveSyntheticComments(a,p),pt.setEmitFlags(a,1440),l.push(a),t=p),s.mergeLexicalEnvironment(c,u()),F(c,e,!1),w(c,e),pt.some(c)&&(i=!0),l.unshift.apply(l,c),pt.isBlock(p)&&pt.arrayIsEqualTo(l,p.statements)?p:(a=s.createBlock(pt.setTextRange(s.createNodeArray(l),r),i),pt.setTextRange(a,e.body),!i&&o&&pt.setEmitFlags(a,1),t&&pt.setTokenSourceMapRange(a,19,t),pt.setOriginalNode(a,e.body),a)}function V(n,t){return pt.isDestructuringAssignment(n)?pt.flattenDestructuringAssignment(n,T,e,0,!t):27===n.operatorToken.kind?s.updateBinaryExpression(n,pt.visitNode(n.left,S,pt.isExpression),n.operatorToken,pt.visitNode(n.right,t?S:T,pt.isExpression)):pt.visitEachChild(n,T,e)}function j(n){var t,a,i=n.name;return pt.isBindingPattern(i)?K(n):n.initializer||(i=n,t=262144&(a=_.getNodeCheckFlags(i)),a&=524288,0!=(64&r))||t&&a&&0!=(512&r)||0!=(4096&r)||_.isDeclarationWithCollidingName(i)&&(!a||t||0!=(6144&r))?pt.visitEachChild(n,T,e):s.updateVariableDeclaration(n,n.name,void 0,void 0,s.createVoidZero())}function K(n){var t=h(32,0);n=pt.isBindingPattern(n.name)?pt.flattenDestructuringBinding(n,T,e,0,void 0,0!=(32&t)):pt.visitEachChild(n,T,e);return v(t,0,0),n}function H(e){i.labels.set(pt.idText(e.label),!0)}function W(e){i.labels.set(pt.idText(e.label),!1)}function z(n,t,a,o,c){return n=h(n,t),t=((n,t,a,o)=>{var c,d,p,m,f,g;if(ae(n)){c=(e=>{var n;switch(e.kind){case 240:case 241:case 242:var t=e.initializer;t&&253===t.kind&&(n=t)}var r=[],a=[];if(n&&3&pt.getCombinedNodeFlags(n))for(var o=te(e),c=0,l=n.declarations;c<l.length;c++){var d=l[c];!function e(n,t,r,a,i){var o=t.name;if(pt.isBindingPattern(o))for(var c=0,l=o.elements;c<l.length;c++){var d=l[c];pt.isOmittedExpression(d)||e(n,d,r,a,i)}else{r.push(s.createParameterDeclaration(void 0,void 0,void 0,o));var u,p,m=_.getNodeCheckFlags(t);(4194304&m||i)&&(u=s.createUniqueName("out_"+pt.idText(o)),p=0,4194304&m&&(p|=1),pt.isForStatement(n)&&n.initializer&&_.isBindingCapturedByNode(n.initializer,t)&&(p|=2),a.push({flags:p,originalName:o,outParamName:u}))}}(e,d,r,a,o)}var u={loopParameters:r,loopOutParameters:a};return i&&(i.argumentsName&&(u.argumentsName=i.argumentsName),i.thisName&&(u.thisName=i.thisName),i.hoistedLocalVariables)&&(u.hoistedLocalVariables=i.hoistedLocalVariables),u})(n),d=[],p=i,i=c,m=te(n)?((e,n)=>{var t=s.createUniqueName("_loop_init"),a=0!=(524288&e.initializer.transformFlags),i=0;n.containsLexicalThis&&(i|=8),a&&4&r&&(i|=262144),(o=[]).push(s.createVariableStatement(void 0,e.initializer)),le(n.loopOutParameters,2,1,o);e=s.createVariableStatement(void 0,pt.setEmitFlags(s.createVariableDeclarationList([s.createVariableDeclaration(t,void 0,void 0,pt.setEmitFlags(s.createFunctionExpression(void 0,a?s.createToken(41):void 0,void 0,void 0,void 0,void 0,pt.visitNode(s.createBlock(o,!0),T,pt.isBlock)),i))]),2097152));var o=s.createVariableDeclarationList(pt.map(n.loopOutParameters,se));return{functionName:t,containsYield:a,functionDeclaration:e,part:o}})(n,c):void 0,f=ie(n)?((e,n,t)=>{var a=s.createUniqueName("_loop"),i=(l(),pt.visitNode(e.statement,T,pt.isStatement,s.liftToBlock)),o=u(),c=[];return(re(e)||(e=>pt.isForStatement(e)&&e.incrementor&&ne(e.incrementor))(e))&&(n.conditionVariable=s.createUniqueName("inc"),e.incrementor?c.push(s.createIfStatement(n.conditionVariable,s.createExpressionStatement(pt.visitNode(e.incrementor,T,pt.isExpression)),s.createExpressionStatement(s.createAssignment(n.conditionVariable,s.createTrue())))):c.push(s.createIfStatement(s.createLogicalNot(n.conditionVariable),s.createExpressionStatement(s.createAssignment(n.conditionVariable,s.createTrue())))),re(e))&&c.push(s.createIfStatement(s.createPrefixUnaryExpression(53,pt.visitNode(e.condition,T,pt.isExpression)),pt.visitNode(s.createBreakStatement(),T,pt.isStatement))),pt.isBlock(i)?pt.addRange(c,i.statements):c.push(i),le(n.loopOutParameters,1,1,c),pt.insertStatementsAfterStandardPrologue(c,o),o=s.createBlock(c,!0),pt.isBlock(i)&&pt.setOriginalNode(o,i),c=0!=(524288&e.statement.transformFlags),i=524288,n.containsLexicalThis&&(i|=8),c&&0!=(4&r)&&(i|=262144),e=s.createVariableStatement(void 0,pt.setEmitFlags(s.createVariableDeclarationList([s.createVariableDeclaration(a,void 0,void 0,pt.setEmitFlags(s.createFunctionExpression(void 0,c?s.createToken(41):void 0,void 0,void 0,n.loopParameters,void 0,o),i))]),2097152)),o=((e,n,t,r)=>{var a=[],i=!(-5&n.nonLocalJumps||n.labeledNonLocalBreaks||n.labeledNonLocalContinues);e=s.createCallExpression(e,void 0,pt.map(n.loopParameters,(function(e){return e.name}))),r=r?s.createYieldExpression(s.createToken(41),pt.setEmitFlags(e,8388608)):e;return i?(a.push(s.createExpressionStatement(r)),le(n.loopOutParameters,1,0,a)):(e=s.createUniqueName("state"),i=s.createVariableStatement(void 0,s.createVariableDeclarationList([s.createVariableDeclaration(e,void 0,void 0,r)])),a.push(i),le(n.loopOutParameters,1,0,a),8&n.nonLocalJumps&&(r=void 0,r=t?(t.nonLocalJumps|=8,s.createReturnStatement(e)):s.createReturnStatement(s.createPropertyAccessExpression(e,"value")),a.push(s.createIfStatement(s.createTypeCheck(e,"object"),r))),2&n.nonLocalJumps&&a.push(s.createIfStatement(s.createStrictEquality(e,s.createStringLiteral("break")),s.createBreakStatement())),(n.labeledNonLocalBreaks||n.labeledNonLocalContinues)&&(i=[],ue(n.labeledNonLocalBreaks,!0,e,t,i),ue(n.labeledNonLocalContinues,!1,e,t,i),a.push(s.createSwitchStatement(e,s.createCaseBlock(i))))),a})(a,n,t,c),{functionName:a,containsYield:c,functionDeclaration:e,part:o}})(n,c,p):void 0,i=p,m&&d.push(m.functionDeclaration),f&&d.push(f.functionDeclaration);var y=d,h=c,v=p;if(h.argumentsName&&(v?v.argumentsName=h.argumentsName:(g=g||[]).push(s.createVariableDeclaration(h.argumentsName,void 0,void 0,s.createIdentifier("arguments")))),h.thisName&&(v?v.thisName=h.thisName:(g=g||[]).push(s.createVariableDeclaration(h.thisName,void 0,void 0,s.createIdentifier("this")))),h.hoistedLocalVariables)if(v)v.hoistedLocalVariables=h.hoistedLocalVariables;else{g=g||[];for(var b=0,E=h.hoistedLocalVariables;b<E.length;b++){var x=E[b];g.push(s.createVariableDeclaration(x))}}if(h.loopOutParameters.length){g=g||[];for(var L=0,D=h.loopOutParameters;L<D.length;L++){var A=D[L];g.push(s.createVariableDeclaration(A.outParamName))}}h.conditionVariable&&(g=g||[]).push(s.createVariableDeclaration(h.conditionVariable,void 0,void 0,s.createFalse())),g&&y.push(s.createVariableStatement(void 0,s.createVariableDeclarationList(g))),m&&d.push(((e,n)=>(e=s.createCallExpression(e,void 0,[]),n=n?s.createYieldExpression(s.createToken(41),pt.setEmitFlags(e,8388608)):e,s.createExpressionStatement(n)))(m.functionName,m.containsYield)),o=f?o?o(n,t,f.part,a):(c=oe(n,m,s.createBlock(f.part,!0)),s.restoreEnclosingLabel(c,t,i&&W)):(p=oe(n,m,pt.visitNode(n.statement,T,pt.isStatement,s.liftToBlock)),s.restoreEnclosingLabel(p,t,i&&W)),d.push(o)}else c=void 0,i&&(c=i.allowedNonLabeledJumps,i.allowedNonLabeledJumps=6),d=o?o(n,t,void 0,a):s.restoreEnclosingLabel(pt.isForStatement(n)?(e=>s.updateForStatement(e,pt.visitNode(e.initializer,S,pt.isForInitializer),pt.visitNode(e.condition,T,pt.isExpression),pt.visitNode(e.incrementor,S,pt.isExpression),pt.visitNode(e.statement,T,pt.isStatement,s.liftToBlock)))(n):pt.visitEachChild(n,T,e),t,i&&W),i&&(i.allowedNonLabeledJumps=c);return d})(a,o,n,c),v(n,0,0),t}function J(e,n){return z(0,1280,e,n)}function q(e,n){return z(5056,3328,e,n)}function X(e,n){return z(3008,5376,e,n)}function Y(e,n){return z(3008,5376,e,n,m.downlevelIteration?ee:$)}function Q(n,t,r){var a,i,o,c=[],l=n.initializer;return pt.isVariableDeclarationList(l)?(3&n.initializer.flags&&ve(),(a=pt.firstOrUndefined(l.declarations))&&pt.isBindingPattern(a.name)?(i=pt.flattenDestructuringBinding(a,T,e,0,t),o=pt.setTextRange(s.createVariableDeclarationList(i),n.initializer),pt.setOriginalNode(o,n.initializer),pt.setSourceMapRange(o,pt.createRange(i[0].pos,pt.last(i).end)),c.push(s.createVariableStatement(void 0,o))):c.push(pt.setTextRange(s.createVariableStatement(void 0,pt.setOriginalNode(pt.setTextRange(s.createVariableDeclarationList([s.createVariableDeclaration(a?a.name:s.createTempVariable(void 0),void 0,void 0,t)]),pt.moveRangePos(l,-1)),l)),pt.moveRangeEnd(l,-1)))):(i=s.createAssignment(l,t),pt.isDestructuringAssignment(i)?c.push(s.createExpressionStatement(V(i,!0))):(pt.setTextRangeEnd(i,l.end),c.push(pt.setTextRange(s.createExpressionStatement(pt.visitNode(i,T,pt.isExpression)),pt.moveRangeEnd(l,-1))))),r?Z(pt.addRange(c,r)):(o=pt.visitNode(n.statement,T,pt.isStatement,s.liftToBlock),pt.isBlock(o)?s.updateBlock(o,pt.setTextRange(s.createNodeArray(pt.concatenate(c,o.statements)),o.statements)):(c.push(o),Z(c)))}function Z(e){return pt.setEmitFlags(s.createBlock(s.createNodeArray(e),!0),432)}function $(e,n,t){var r=pt.visitNode(e.expression,T,pt.isExpression),a=s.createLoopVariable(),o=pt.isIdentifier(r)?s.getGeneratedNameForNode(r):s.createTempVariable(void 0);pt.setEmitFlags(r,48|pt.getEmitFlags(r)),r=pt.setTextRange(s.createForStatement(pt.setEmitFlags(pt.setTextRange(s.createVariableDeclarationList([pt.setTextRange(s.createVariableDeclaration(a,void 0,void 0,s.createNumericLiteral(0)),pt.moveRangePos(e.expression,-1)),pt.setTextRange(s.createVariableDeclaration(o,void 0,void 0,r),e.expression)]),e.expression),2097152),pt.setTextRange(s.createLessThan(a,s.createPropertyAccessExpression(o,"length")),e.expression),pt.setTextRange(s.createPostfixIncrement(a),e.expression),Q(e,s.createElementAccessExpression(o,a),t)),e);return pt.setEmitFlags(r,256),pt.setTextRange(r,e),s.restoreEnclosingLabel(r,n,i&&W)}function ee(e,n,t,r){var a=pt.visitNode(e.expression,T,pt.isExpression),o=pt.isIdentifier(a)?s.getGeneratedNameForNode(a):s.createTempVariable(void 0),l=pt.isIdentifier(a)?s.getGeneratedNameForNode(o):s.createTempVariable(void 0),d=s.createUniqueName("e"),u=s.getGeneratedNameForNode(d),m=s.createTempVariable(void 0),_=(a=pt.setTextRange(c().createValuesHelper(a),e.expression),s.createCallExpression(s.createPropertyAccessExpression(o,"next"),void 0,[]));p(d),p(m),r=1024&r?s.inlineExpressions([s.createAssignment(d,s.createVoidZero()),a]):a,a=pt.setEmitFlags(pt.setTextRange(s.createForStatement(pt.setEmitFlags(pt.setTextRange(s.createVariableDeclarationList([pt.setTextRange(s.createVariableDeclaration(o,void 0,void 0,r),e.expression),s.createVariableDeclaration(l,void 0,void 0,_)]),e.expression),2097152),s.createLogicalNot(s.createPropertyAccessExpression(l,"done")),s.createAssignment(l,_),Q(e,s.createPropertyAccessExpression(l,"value"),t)),e),256);return s.createTryStatement(s.createBlock([s.restoreEnclosingLabel(a,n,i&&W)]),s.createCatchClause(s.createVariableDeclaration(u),pt.setEmitFlags(s.createBlock([s.createExpressionStatement(s.createAssignment(d,s.createObjectLiteralExpression([s.createPropertyAssignment("error",u)])))]),1)),s.createBlock([s.createTryStatement(s.createBlock([pt.setEmitFlags(s.createIfStatement(s.createLogicalAnd(s.createLogicalAnd(l,s.createLogicalNot(s.createPropertyAccessExpression(l,"done"))),s.createAssignment(m,s.createPropertyAccessExpression(o,"return"))),s.createExpressionStatement(s.createFunctionCallCall(m,o,[]))),1)]),void 0,pt.setEmitFlags(s.createBlock([pt.setEmitFlags(s.createIfStatement(d,s.createThrowStatement(s.createPropertyAccessExpression(d,"error"))),1)]),1))]))}function ne(e){return 0!=(131072&_.getNodeCheckFlags(e))}function te(e){return pt.isForStatement(e)&&!!e.initializer&&ne(e.initializer)}function re(e){return pt.isForStatement(e)&&e.condition&&ne(e.condition)}function ae(e){return ie(e)||te(e)}function ie(e){return 0!=(65536&_.getNodeCheckFlags(e))}function oe(e,n,t){switch(e.kind){case 240:return a=n,i=t,o=(r=e).condition&&ne(r.condition),c=o||r.incrementor&&ne(r.incrementor),s.updateForStatement(r,pt.visitNode(a?a.part:r.initializer,S,pt.isForInitializer),pt.visitNode(o?void 0:r.condition,T,pt.isExpression),pt.visitNode(c?void 0:r.incrementor,S,pt.isExpression),i);case 241:return a=e,o=t,s.updateForInStatement(a,pt.visitNode(a.initializer,T,pt.isForInitializer),pt.visitNode(a.expression,T,pt.isExpression),o);case 242:return c=e,r=t,s.updateForOfStatement(c,void 0,pt.visitNode(c.initializer,T,pt.isForInitializer),pt.visitNode(c.expression,T,pt.isExpression),r);case 238:return s.updateDoStatement(e,t,pt.visitNode(e.expression,T,pt.isExpression));case 239:return i=t,s.updateWhileStatement(e,pt.visitNode(e.expression,T,pt.isExpression),i);default:return pt.Debug.failBadSyntaxKind(e,"IterationStatement expected")}var r,a,i,o,c}function se(e){return s.createVariableDeclaration(e.originalName,void 0,void 0,e.outParamName)}function ce(e,n){var t=0===n?e.outParamName:e.originalName;n=0===n?e.originalName:e.outParamName;return s.createBinaryExpression(n,63,t)}function le(e,n,t,r){for(var a=0,i=e;a<i.length;a++){var o=i[a];o.flags&n&&r.push(s.createExpressionStatement(ce(o,t)))}}function de(e,n,t,r){(n?(e.labeledNonLocalBreaks||(e.labeledNonLocalBreaks=new pt.Map),e.labeledNonLocalBreaks):(e.labeledNonLocalContinues||(e.labeledNonLocalContinues=new pt.Map),e.labeledNonLocalContinues)).set(t,r)}function ue(e,n,t,r,a){e&&e.forEach((function(e,i){var o,c=[];!r||r.labels&&r.labels.get(i)?(o=s.createIdentifier(i),c.push(n?s.createBreakStatement(o):s.createContinueStatement(o))):(de(r,n,i,e),c.push(s.createReturnStatement(t))),a.push(s.createCaseClause(s.createStringLiteral(e),c))}))}function pe(n,t){var r,a,i;return 16384&n.transformFlags||106===n.expression.kind||pt.isSuperProperty(pt.skipOuterExpressions(n.expression))?(a=(r=s.createCallBinding(n.expression,p)).target,r=r.thisArg,i=void(106===n.expression.kind&&pt.setEmitFlags(r,4)),i=16384&n.transformFlags?s.createFunctionApplyCall(pt.visitNode(a,L,pt.isExpression),106===n.expression.kind?r:pt.visitNode(r,T,pt.isExpression),me(n.arguments,!0,!1,!1)):pt.setTextRange(s.createFunctionCallCall(pt.visitNode(a,L,pt.isExpression),106===n.expression.kind?r:pt.visitNode(r,T,pt.isExpression),pt.visitNodes(n.arguments,T,pt.isExpression)),n),106===n.expression.kind&&(a=s.createLogicalOr(i,N()),i=t?s.createAssignment(s.createUniqueName("_this",48),a):a),pt.setOriginalNode(i,n)):pt.visitEachChild(n,T,e)}function me(e,n,t,r){var a=e.length,i=pt.flatten(pt.spanMap(e,_e,(function(e,n,i,o){return n(e,t,r&&o===a)})));if(1===i.length&&(e=i[0],n&&!m.downlevelIteration||pt.isPackedArrayLiteral(e.expression)||pt.isCallToHelper(e.expression,"___spreadArray")))return e.expression;for(var o=c(),l=(e=0!==i[0].kind,e?s.createArrayLiteralExpression():i[0].expression),d=e?0:1;d<i.length;d++){var u=i[d];l=o.createSpreadArrayHelper(l,u.expression,1===u.kind&&!n)}return l}function _e(e){return pt.isSpreadElement(e)?fe:ye}function fe(e){return pt.map(e,ge)}function ge(e){e=pt.visitNode(e.expression,T,pt.isExpression);var n=pt.isCallToHelper(e,"___read"),t=n||pt.isPackedArrayLiteral(e)?2:1;return!m.downlevelIteration||1!==t||pt.isArrayLiteralExpression(e)||n||(e=c().createReadHelper(e,void 0),t=2),Kk(t,e)}function ye(e,n,t){return Kk(0,s.createArrayLiteralExpression(pt.visitNodes(s.createNodeArray(e,t),T,pt.isExpression),n))}function he(e){return 8&r&&!e?s.createPropertyAccessExpression(s.createUniqueName("_super",48),"prototype"):s.createUniqueName("_super",48)}function ve(){0==(2&o)&&(o|=2,e.enableSubstitution(79))}function be(e,n){return pt.isStatic(n)?s.getInternalName(e):s.createPropertyAccessExpression(s.getInternalName(e),"prototype")}},(mt=bY=bY||{}).transformES5=function(e){var n,t,r=e.factory,a=e.getCompilerOptions(),i=(1!==a.jsx&&3!==a.jsx||(n=e.onEmitNode,e.onEmitNode=function(e,r,a){switch(r.kind){case 278:case 279:case 277:var i=r.tagName;t[mt.getOriginalNodeId(i)]=!0}n(e,r,a)},e.enableEmitNotification(278),e.enableEmitNotification(279),e.enableEmitNotification(277),t=[]),e.onSubstituteNode);return e.onSubstituteNode=function(e,n){return n.id&&t&&t[n.id]?i(e,n):(n=i(e,n),mt.isPropertyAccessExpression(n)?(e=>{if(!mt.isPrivateIdentifier(e.name)){var n=o(e.name);if(n)return mt.setTextRange(r.createElementAccessExpression(e.expression,n),e)}return e})(n):mt.isPropertyAssignment(n)?(e=>{var n=mt.isIdentifier(e.name)&&o(e.name);return n?r.updatePropertyAssignment(e,n,e.initializer):e})(n):n)},e.enableSubstitution(204),e.enableSubstitution(291),mt.chainBundle(e,(function(e){return e}));function o(e){var n=e.originalKeywordKind||(mt.nodeIsSynthesized(e)?mt.stringToToken(mt.idText(e)):void 0);if(void 0!==n&&81<=n&&n<=116)return mt.setTextRange(r.createStringLiteralFromNode(e),e)}},(_t=bY=bY||{}).transformGenerators=function(e){var n,t,r,a,i,o,s,c,l,d,u,p,m,_,f,g,y,h,v,b,E,T,S=e.factory,x=e.getEmitHelperFactory,L=e.resumeLexicalEnvironment,D=e.endLexicalEnvironment,A=e.hoistFunctionDeclaration,C=e.hoistVariableDeclaration,I=e.getCompilerOptions(),N=_t.getEmitScriptTarget(I),k=e.getEmitResolver(),R=e.onSubstituteNode,O=(e.onSubstituteNode=function(e,r){if(r=R(e,r),1!==e)return r;if(e=r,_t.isIdentifier(e)){if(r=e,!_t.isGeneratedIdentifier(r)&&n&&n.has(_t.idText(r))){var a=_t.getOriginalNode(r);if(_t.isIdentifier(a)&&a.parent&&(a=k.getReferencedValueDeclaration(a),a)){a=t[_t.getOriginalNodeId(a)];if(a)return a=_t.setParent(_t.setTextRange(S.cloneNode(a),a),a.parent),_t.setSourceMapRange(a,r),_t.setCommentRange(a,r),a}}return r}return e},1),P=0,w=0;return _t.chainBundle(e,(function(n){return n.isDeclarationFile||0==(1024&n.transformFlags)||(n=_t.visitEachChild(n,M,e),_t.addEmitHelpers(n,e.readEmitHelpers())),n}));function M(n){var t=n.transformFlags;if(a){var i=n;switch(i.kind){case 238:return(n=>a?(ae(),n=_t.visitEachChild(n,M,e),oe(),n):_t.visitEachChild(n,M,e))(i);case 239:return(n=>a?(ae(),n=_t.visitEachChild(n,M,e),oe(),n):_t.visitEachChild(n,M,e))(i);case 247:return(n=>(a&&ee({kind:2,isScript:!0,breakLabel:-1}),n=_t.visitEachChild(n,M,e),a&&se(),n))(i);case 248:return(n=>(a&&ee({kind:4,isScript:!0,labelText:_t.idText(n.label),breakLabel:-1}),n=_t.visitEachChild(n,M,e),a&&ce(),n))(i);default:return F(i)}}else{if(r)return F(n);if(!_t.isFunctionLikeDeclaration(n)||!n.asteriskToken)return 1024&t?_t.visitEachChild(n,M,e):n;var o=n;switch(o.kind){case 254:return G(o);case 211:return B(o);default:return _t.Debug.failBadSyntaxKind(o)}}}function F(n){switch(n.kind){case 254:return G(n);case 211:return B(n);case 170:case 171:return s=n,T=r,L=a,a=r=!1,s=_t.visitEachChild(n,M,e),r=T,a=L,s;case 235:if(T=n,524288&T.transformFlags)return void z(T.declarationList);if(1048576&_t.getEmitFlags(T))return T;for(var t=0,i=T.declarationList.declarations;t<i.length;t++){var o=i[t];C(o.name)}return L=_t.getInitializedVariables(T.declarationList),0!==L.length?_t.setSourceMapRange(S.createExpressionStatement(S.inlineExpressions(_t.map(L,J))),T):void 0;case 240:var s=n,c=(a&&ae(),s.initializer);if(c&&_t.isVariableDeclarationList(c)){for(var l=0,d=c.declarations;l<d.length;l++){var u=d[l];C(u.name)}c=_t.getInitializedVariables(c),s=S.updateForStatement(s,0<c.length?S.inlineExpressions(_t.map(c,J)):void 0,_t.visitNode(s.condition,M,_t.isExpression),_t.visitNode(s.incrementor,M,_t.isExpression),_t.visitIterationBody(s.statement,M,e))}else s=_t.visitEachChild(s,M,e);return a&&oe(),s;case 241:c=n;var p=(a&&ae(),c.initializer);if(_t.isVariableDeclarationList(p)){for(var m=0,f=p.declarations;m<f.length;m++){var g=f[m];C(g.name)}c=S.updateForInStatement(c,p.declarations[0].name,_t.visitNode(c.expression,M,_t.isExpression),_t.visitNode(c.statement,M,_t.isStatement,S.liftToBlock))}else c=_t.visitEachChild(c,M,e);return a&&oe(),c;case 244:if(p=n,a){var y=me(p.label&&_t.idText(p.label));if(0<y)return ye(y,p)}return _t.visitEachChild(p,M,e);case 243:if(y=n,a){var h=_e(y.label&&_t.idText(y.label));if(0<h)return ye(h,y)}return _t.visitEachChild(y,M,e);case 245:h=n;var v=_t.visitNode(h.expression,M,_t.isExpression),b=h;return _t.setTextRange(S.createReturnStatement(S.createArrayLiteralExpression(v?[ge(2),v]:[ge(2)])),b);default:if(!(524288&n.transformFlags))return 2098176&n.transformFlags?_t.visitEachChild(n,M,e):n;var E=n;switch(E.kind){case 219:return(n=>{var t=_t.getExpressionAssociativity(n);switch(t){case 0:return(n=>{var t,r,a;return q(n.right)?_t.isLogicalOperator(n.operatorToken.kind)?(t=n,r=Z(),be(a=Q(),_t.visitNode(t.left,M,_t.isExpression),t.left),(55===t.operatorToken.kind?Se:Te)(r,a,t.left),be(a,_t.visitNode(t.right,M,_t.isExpression),t.right),$(r),a):27===n.operatorToken.kind?V(n):S.updateBinaryExpression(n,Y(_t.visitNode(n.left,M,_t.isExpression)),n.operatorToken,_t.visitNode(n.right,M,_t.isExpression)):_t.visitEachChild(n,M,e)})(n);case 1:return(n=>{var t=n.left,r=n.right;if(q(r)){var a=void 0;switch(t.kind){case 204:a=S.updatePropertyAccessExpression(t,Y(_t.visitNode(t.expression,M,_t.isLeftHandSideExpression)),t.name);break;case 205:a=S.updateElementAccessExpression(t,Y(_t.visitNode(t.expression,M,_t.isLeftHandSideExpression)),Y(_t.visitNode(t.argumentExpression,M,_t.isExpression)));break;default:a=_t.visitNode(t,M,_t.isExpression)}var i=n.operatorToken.kind;return _t.isCompoundAssignment(i)?_t.setTextRange(S.createAssignment(a,_t.setTextRange(S.createBinaryExpression(Y(a),_t.getNonAssignmentOperatorForCompoundAssignment(i),_t.visitNode(r,M,_t.isExpression)),n)),n):S.updateBinaryExpression(n,a,n.operatorToken,_t.visitNode(r,M,_t.isExpression))}return _t.visitEachChild(n,M,e)})(n);default:return _t.Debug.assertNever(t)}})(E);case 346:return(e=>{for(var n=[],t=0,r=e.elements;t<r.length;t++){var a=r[t];_t.isBinaryExpression(a)&&27===a.operatorToken.kind?n.push(V(a)):(q(a)&&0<n.length&&(xe(1,[S.createExpressionStatement(S.inlineExpressions(n))]),n=[]),n.push(_t.visitNode(a,M,_t.isExpression)))}return S.inlineExpressions(n)})(E);case 220:return(n=>{var t,r,a;return q(n.whenTrue)||q(n.whenFalse)?(t=Z(),r=Z(),a=Q(),Se(t,_t.visitNode(n.condition,M,_t.isExpression),n.condition),be(a,_t.visitNode(n.whenTrue,M,_t.isExpression),n.whenTrue),Ee(r),$(t),be(a,_t.visitNode(n.whenFalse,M,_t.isExpression),n.whenFalse),$(r),a):_t.visitEachChild(n,M,e)})(E);case 222:return(e=>{var n=Z(),t=_t.visitNode(e.expression,M,_t.isExpression);return e.asteriskToken?xe(7,[0==(8388608&_t.getEmitFlags(e.expression))?_t.setTextRange(x().createValuesHelper(t),e):t],e):xe(6,[t],e),$(n),t=e,_t.setTextRange(S.createCallExpression(S.createPropertyAccessExpression(_,"sent"),void 0,[]),t)})(E);case 202:return(e=>j(e.elements,void 0,void 0,e.multiLine))(E);case 203:return(e=>{var n=e.properties,t=e.multiLine,r=X(n),a=Q();return be(a,S.createObjectLiteralExpression(_t.visitNodes(n,M,_t.isObjectLiteralElementLike,0,r),t)),(n=_t.reduceLeft(n,(function(n,r){return q(r)&&0<n.length&&(ve(S.createExpressionStatement(S.inlineExpressions(n))),n=[]),r=_t.createExpressionForObjectLiteralElementLike(S,e,r,a),r=_t.visitNode(r,M,_t.isExpression),r&&(t&&_t.startOnNewLine(r),n.push(r)),n}),[],r)).push(t?_t.startOnNewLine(_t.setParent(_t.setTextRange(S.cloneNode(a),a),a.parent)):a),S.inlineExpressions(n)})(E);case 205:return(n=>q(n.argumentExpression)?S.updateElementAccessExpression(n,Y(_t.visitNode(n.expression,M,_t.isLeftHandSideExpression)),_t.visitNode(n.argumentExpression,M,_t.isExpression)):_t.visitEachChild(n,M,e))(E);case 206:return(n=>{var t,r;return _t.isImportCall(n)||!_t.forEach(n.arguments,q)?_t.visitEachChild(n,M,e):(r=S.createCallBinding(n.expression,C,N,!0),t=r.target,r=r.thisArg,_t.setOriginalNode(_t.setTextRange(S.createFunctionApplyCall(Y(_t.visitNode(t,M,_t.isLeftHandSideExpression)),r,j(n.arguments)),n),n))})(E);case 207:return(n=>{var t,r;return _t.forEach(n.arguments,q)?(r=S.createCallBinding(S.createPropertyAccessExpression(n.expression,"bind"),C),t=r.target,r=r.thisArg,_t.setOriginalNode(_t.setTextRange(S.createNewExpression(S.createFunctionApplyCall(Y(_t.visitNode(t,M,_t.isExpression)),r,j(n.arguments,S.createVoidZero())),void 0,[]),n),n)):_t.visitEachChild(n,M,e)})(E);default:return _t.visitEachChild(E,M,e)}}var T,L}function G(n){var t,i;if(n.asteriskToken?n=_t.setOriginalNode(_t.setTextRange(S.createFunctionDeclaration(void 0,n.modifiers,void 0,n.name,void 0,_t.visitParameterList(n.parameters,M,e),void 0,U(n.body)),n),n):(t=r,i=a,a=r=!1,n=_t.visitEachChild(n,M,e),r=t,a=i),!r)return n;A(n)}function B(n){var t,i;return n.asteriskToken?n=_t.setOriginalNode(_t.setTextRange(S.createFunctionExpression(void 0,void 0,n.name,void 0,_t.visitParameterList(n.parameters,M,e),void 0,U(n.body)),n),n):(t=r,i=a,a=r=!1,n=_t.visitEachChild(n,M,e),r=t,a=i),n}function U(e){var n=[],t=r,A=a,C=i,I=o,N=s,k=c,R=l,F=d,G=O,B=u,U=p,V=m,j=_,H=(a=!(r=!0),O=1,m=p=u=d=l=c=s=o=i=void 0,_=S.createTempVariable(void 0),L(),S.copyPrologue(e.statements,n,!1,M));K(e.statements,H),w=P=0,y=g=!1,T=E=b=v=h=f=void 0,H=(()=>{if(u){for(var e=0;e<u.length;e++)(e=>{Ae(e);var n=e;if(i)for(;P<s.length&&o[P]<=n;P++){var t=i[P],r=s[P];switch(t.kind){case 0:0===r?(v=v||[],(b=b||[]).push(E),E=t):1===r&&(E=b.pop());break;case 1:0===r?(T=T||[]).push(t):1===r&&T.pop()}}if(!g){y=g=!1;var a=u[e];if(0!==a)if(10===a)g=!0,Ce(S.createReturnStatement(S.createArrayLiteralExpression([ge(7)])));else{var c=p[e];if(1===a)return Ce(c[0]);var l=m[e];switch(a){case 2:return((e,n,t)=>{Ce(_t.setTextRange(S.createExpressionStatement(S.createAssignment(e,n)),t))})(c[0],c[1],l);case 3:return((e,n)=>{g=!0,Ce(_t.setEmitFlags(_t.setTextRange(S.createReturnStatement(S.createArrayLiteralExpression([ge(3),fe(e)])),n),384))})(c[0],l);case 4:return((e,n,t)=>{Ce(_t.setEmitFlags(S.createIfStatement(n,_t.setEmitFlags(_t.setTextRange(S.createReturnStatement(S.createArrayLiteralExpression([ge(3),fe(e)])),t),384)),1))})(c[0],c[1],l);case 5:return((e,n,t)=>{Ce(_t.setEmitFlags(S.createIfStatement(S.createLogicalNot(n),_t.setEmitFlags(_t.setTextRange(S.createReturnStatement(S.createArrayLiteralExpression([ge(3),fe(e)])),t),384)),1))})(c[0],c[1],l);case 6:return((e,n)=>{g=!0,Ce(_t.setEmitFlags(_t.setTextRange(S.createReturnStatement(S.createArrayLiteralExpression(e?[ge(4),e]:[ge(4)])),n),384))})(c[0],l);case 7:return((e,n)=>{g=!0,Ce(_t.setEmitFlags(_t.setTextRange(S.createReturnStatement(S.createArrayLiteralExpression([ge(5),e])),n),384))})(c[0],l);case 8:return Ie(c[0],l);case 9:((e,n)=>{y=g=!0,Ce(_t.setTextRange(S.createThrowStatement(e),n))})(c[0],l)}}}})(e);Le(u.length)}else Le(0);var n;return h?(n=S.createPropertyAccessExpression(_,"label"),n=S.createSwitchStatement(n,S.createCaseBlock(h)),[_t.startOnNewLine(n)]):v||[]})(),H=x().createGeneratorHelper(_t.setEmitFlags(S.createFunctionExpression(void 0,void 0,void 0,void 0,[S.createParameterDeclaration(void 0,void 0,void 0,_)],void 0,S.createBlock(H,0<H.length)),524288));return _t.insertStatementsAfterStandardPrologue(n,D()),n.push(S.createReturnStatement(H)),r=t,a=A,i=C,o=I,s=N,c=k,l=R,d=F,O=G,u=B,p=U,m=V,_=j,_t.setTextRange(S.createBlock(n,e.multiLine),e)}function V(e){var n=[];return t(e.left),t(e.right),S.inlineExpressions(n);function t(e){_t.isBinaryExpression(e)&&27===e.operatorToken.kind?(t(e.left),t(e.right)):(q(e)&&0<n.length&&(xe(1,[S.createExpressionStatement(S.inlineExpressions(n))]),n=[]),n.push(_t.visitNode(e,M,_t.isExpression)))}}function j(e,n,t,r){var a,i=X(e),o=(0<i&&(a=Q(),o=_t.visitNodes(e,M,_t.isExpression,0,i),be(a,S.createArrayLiteralExpression(n?eu([n],o,!0):o)),n=void 0),_t.reduceLeft(e,(function(e,t){var i;return q(t)&&0<e.length&&(i=void 0!==a,be(a=a||Q(),i?S.createArrayConcatCall(a,[S.createArrayLiteralExpression(e,r)]):S.createArrayLiteralExpression(n?eu([n],e,!0):e,r)),n=void 0,e=[]),e.push(_t.visitNode(t,M,_t.isExpression)),e}),[],i));return a?S.createArrayConcatCall(a,[S.createArrayLiteralExpression(o,r)]):_t.setTextRange(S.createArrayLiteralExpression(n?eu([n],o,!0):o,r),t)}function K(e,n){for(var t=e.length,r=n=void 0===n?0:n;r<t;r++)W(e[r])}function H(e){_t.isBlock(e)?K(e.statements):W(e)}function W(r){var i=a;a=a||q(r),(r=>{switch(r.kind){case 233:return(e=>{q(e)?K(e.statements):ve(_t.visitNode(e,M,_t.isStatement))})(r);case 236:return(e=>{ve(_t.visitNode(e,M,_t.isStatement))})(r);case 237:return(e=>{var n,t;q(e)&&(q(e.thenStatement)||q(e.elseStatement))?(n=Z(),t=e.elseStatement?Z():void 0,Se(e.elseStatement?t:n,_t.visitNode(e.expression,M,_t.isExpression),e.expression),H(e.thenStatement),e.elseStatement&&(Ee(n),$(t),H(e.elseStatement)),$(n)):ve(_t.visitNode(e,M,_t.isStatement))})(r);case 238:return(e=>{var n,t;q(e)?(n=Z(),t=Z(),ie(n),$(t),H(e.statement),$(n),Te(t,_t.visitNode(e.expression,M,_t.isExpression)),oe()):ve(_t.visitNode(e,M,_t.isStatement))})(r);case 239:return(e=>{var n,t;q(e)?(n=Z(),t=ie(n),$(n),Se(t,_t.visitNode(e.expression,M,_t.isExpression)),H(e.statement),Ee(n),oe()):ve(_t.visitNode(e,M,_t.isStatement))})(r);case 240:return(e=>{var n,t,r,a;q(e)?(n=Z(),t=Z(),r=ie(t),e.initializer&&(a=e.initializer,_t.isVariableDeclarationList(a)?z(a):ve(_t.setTextRange(S.createExpressionStatement(_t.visitNode(a,M,_t.isExpression)),a))),$(n),e.condition&&Se(r,_t.visitNode(e.condition,M,_t.isExpression)),H(e.statement),$(t),e.incrementor&&ve(_t.setTextRange(S.createExpressionStatement(_t.visitNode(e.incrementor,M,_t.isExpression)),e.incrementor)),Ee(n),oe()):ve(_t.visitNode(e,M,_t.isStatement))})(r);case 241:return(e=>{if(q(e)){var n=Q(),t=Q(),r=S.createLoopVariable(),a=e.initializer,i=(t=(C(r),be(n,S.createArrayLiteralExpression()),ve(S.createForInStatement(t,_t.visitNode(e.expression,M,_t.isExpression),S.createExpressionStatement(S.createCallExpression(S.createPropertyAccessExpression(n,"push"),void 0,[t])))),be(r,S.createNumericLiteral(0)),Z()),Z()),o=ie(i);o=($(t),void Se(o,S.createLessThan(r,S.createPropertyAccessExpression(n,"length"))));if(_t.isVariableDeclarationList(a)){for(var s=0,c=a.declarations;s<c.length;s++){var l=c[s];C(l.name)}o=S.cloneNode(a.declarations[0].name)}else o=_t.visitNode(a,M,_t.isExpression),_t.Debug.assert(_t.isLeftHandSideExpression(o));be(o,S.createElementAccessExpression(n,r)),H(e.statement),$(i),ve(S.createExpressionStatement(S.createPostfixIncrement(r))),Ee(t),oe()}else ve(_t.visitNode(e,M,_t.isStatement))})(r);case 243:return(e=>{var n=_e(e.label?_t.idText(e.label):void 0);0<n?Ee(n,e):ve(e)})(r);case 244:return(e=>{var n=me(e.label?_t.idText(e.label):void 0);0<n?Ee(n,e):ve(e)})(r);case 245:return(e=>{xe(8,[_t.visitNode(e.expression,M,_t.isExpression)],e)})(r);case 246:return(e=>{var n,t,r;q(e)?(n=Y(_t.visitNode(e.expression,M,_t.isExpression)),t=Z(),r=Z(),$(t),ee({kind:1,expression:n,startLabel:t,endLabel:r}),H(e.statement),_t.Debug.assert(1===re()),$(ne().endLabel)):ve(_t.visitNode(e,M,_t.isStatement))})(r);case 247:return(e=>{if(q(e.caseBlock)){for(var n=e.caseBlock,t=n.clauses.length,r=(()=>{var e=Z();return ee({kind:2,isScript:!1,breakLabel:e}),e})(),a=Y(_t.visitNode(e.expression,M,_t.isExpression)),i=[],o=-1,s=0;s<t;s++){var c=n.clauses[s];i.push(Z()),288===c.kind&&-1===o&&(o=s)}for(var l=0,d=[];l<t;){var u=0;for(s=l;s<t;s++)if(287===(c=n.clauses[s]).kind){if(q(c.expression)&&0<d.length)break;d.push(S.createCaseClause(_t.visitNode(c.expression,M,_t.isExpression),[ye(i[s],c.expression)]))}else u++;d.length&&(ve(S.createSwitchStatement(a,S.createCaseBlock(d))),l+=d.length,d=[]),0<u&&(l+=u,u=0)}for(Ee(0<=o?i[o]:r),s=0;s<t;s++)$(i[s]),K(n.clauses[s].statements);se()}else ve(_t.visitNode(e,M,_t.isStatement))})(r);case 248:return(e=>{var n,t;q(e)?(n=_t.idText(e.label),t=Z(),ee({kind:4,isScript:!1,labelText:n,breakLabel:t}),H(e.statement),ce()):ve(_t.visitNode(e,M,_t.isStatement))})(r);case 249:return(e=>{var n;xe(9,[_t.visitNode(null!=(n=e.expression)?n:S.createVoidZero(),M,_t.isExpression)],e)})(r);case 250:return(r=>{var a,i,o,s,c,l,d,u;q(r)?(a=Z(),i=Z(),$(a),ee({kind:0,state:0,startLabel:a,endLabel:i}),he(),H(r.tryBlock),r.catchClause&&(o=r.catchClause.variableDeclaration,_t.Debug.assert(0===re()),_t.isGeneratedIdentifier(o.name)?(s=o.name,C(o.name)):(c=_t.idText(o.name),s=Q(c),n||(n=new _t.Map,t=[],e.enableSubstitution(79)),n.set(c,!0),t[_t.getOriginalNodeId(o)]=s),c=te(),_t.Debug.assert(c.state<1),Ee(c.endLabel),$(o=Z()),c.state=1,c.catchVariable=s,c.catchLabel=o,be(s,S.createCallExpression(S.createPropertyAccessExpression(_,"sent"),void 0,[])),he(),H(r.catchClause.block)),r.finallyBlock&&(_t.Debug.assert(0===re()),l=te(),_t.Debug.assert(l.state<2),Ee(l.endLabel),$(d=Z()),l.state=2,l.finallyLabel=d,H(r.finallyBlock)),_t.Debug.assert(0===re()),(u=ne()).state<2?Ee(u.endLabel):xe(10),$(u.endLabel),he(),u.state=3):ve(_t.visitEachChild(r,M,e))})(r);default:ve(_t.visitNode(r,M,_t.isStatement))}})(r),a=i}function z(e){for(var n=0,t=e.declarations;n<t.length;n++){var r=t[n],a=S.cloneNode(r.name);_t.setCommentRange(a,r.name),C(a)}for(var i=_t.getInitializedVariables(e),o=i.length,s=0,c=[];s<o;){for(var l=s;l<o;l++){if(q((r=i[l]).initializer)&&0<c.length)break;c.push(J(r))}c.length&&(ve(S.createExpressionStatement(S.inlineExpressions(c))),s+=c.length,c=[])}}function J(e){return _t.setSourceMapRange(S.createAssignment(_t.setSourceMapRange(S.cloneNode(e.name),e.name),_t.visitNode(e.initializer,M,_t.isExpression)),e)}function q(e){return!!e&&0!=(524288&e.transformFlags)}function X(e){for(var n=e.length,t=0;t<n;t++)if(q(e[t]))return t;return-1}function Y(e){var n;return _t.isGeneratedIdentifier(e)||4096&_t.getEmitFlags(e)?e:(be(n=S.createTempVariable(C),e,e),n)}function Q(e){return e=e?S.createUniqueName(e):S.createTempVariable(void 0),C(e),e}function Z(){var e=O;return O++,(l=l||[])[e]=-1,e}function $(e){_t.Debug.assert(void 0!==l,"No labels were defined."),l[e]=u?u.length:0}function ee(e){i||(i=[],s=[],o=[],c=[]);var n=s.length;s[n]=0,o[n]=u?u.length:0,i[n]=e,c.push(e)}function ne(){var e,n=te();return void 0===n?_t.Debug.fail("beginBlock was never called."):(e=s.length,s[e]=1,o[e]=u?u.length:0,i[e]=n,c.pop(),n)}function te(){return _t.lastOrUndefined(c)}function re(){var e=te();return e&&e.kind}function ae(){ee({kind:3,isScript:!0,breakLabel:-1,continueLabel:-1})}function ie(e){var n=Z();return ee({kind:3,isScript:!1,breakLabel:n,continueLabel:e}),n}function oe(){_t.Debug.assert(3===re());var e=ne(),n=e.breakLabel;e.isScript||$(n)}function se(){_t.Debug.assert(2===re());var e=ne(),n=e.breakLabel;e.isScript||$(n)}function ce(){_t.Debug.assert(4===re());var e=ne();e.isScript||$(e.breakLabel)}function le(e){return 2===e.kind||3===e.kind}function de(e){return 4===e.kind}function ue(e){return 3===e.kind}function pe(e,n){for(var t=n;0<=t;t--){var r=c[t];if(!de(r))break;if(r.labelText===e)return 1}}function me(e){if(c)if(e)for(var n=c.length-1;0<=n;n--){if(de(t=c[n])&&t.labelText===e)return t.breakLabel;if(le(t)&&pe(e,n-1))return t.breakLabel}else{var t;for(n=c.length-1;0<=n;n--)if(le(t=c[n]))return t.breakLabel}return 0}function _e(e){if(c)if(e){for(var n=c.length-1;0<=n;n--)if(ue(t=c[n])&&pe(e,n-1))return t.continueLabel}else{var t;for(n=c.length-1;0<=n;n--)if(ue(t=c[n]))return t.continueLabel}return 0}function fe(e){var n;return void 0!==e&&0<e?(void 0===d&&(d=[]),n=S.createNumericLiteral(-1),void 0===d[e]?d[e]=[n]:d[e].push(n),n):S.createOmittedExpression()}function ge(e){var n=S.createNumericLiteral(e);return _t.addSyntheticTrailingComment(n,3,(e=>{switch(e){case 2:return"return";case 3:return"break";case 4:return"yield";case 5:return"yield*";case 7:return"endfinally";default:return}})(e)),n}function ye(e,n){return _t.Debug.assertLessThan(0,e,"Invalid label"),_t.setTextRange(S.createReturnStatement(S.createArrayLiteralExpression([ge(3),fe(e)])),n)}function he(){xe(0)}function ve(e){e?xe(1,[e]):he()}function be(e,n,t){xe(2,[e,n],t)}function Ee(e,n){xe(3,[e],n)}function Te(e,n,t){xe(4,[e,n],t)}function Se(e,n,t){xe(5,[e,n],t)}function xe(e,n,t){void 0===u&&(u=[],p=[],m=[]),void 0===l&&$(Z());var r=u.length;u[r]=e,p[r]=n,m[r]=t}function Le(e){if((e=>{if(!y)return 1;if(l&&d)for(var n=0;n<l.length;n++)if(l[n]===e&&d[n])return 1})(e)&&(Ae(e),Ie(T=void 0,void 0)),v&&h&&De(!1),void 0!==d&&void 0!==f)for(var n=0;n<f.length;n++){var t=f[n];if(void 0!==t)for(var r=0,a=t;r<a.length;r++){var i=a[r];i=d[i];if(void 0!==i)for(var o=0,s=i;o<s.length;o++)s[o].text=String(n)}}}function De(e){if(h=h||[],v){if(T)for(var n=T.length-1;0<=n;n--){var t=T[n];v=[S.createWithStatement(t.expression,S.createBlock(v))]}var r,a,i,o;E&&(r=E.startLabel,a=E.catchLabel,i=E.finallyLabel,o=E.endLabel,v.unshift(S.createExpressionStatement(S.createCallExpression(S.createPropertyAccessExpression(S.createPropertyAccessExpression(_,"trys"),"push"),void 0,[S.createArrayLiteralExpression([fe(r),fe(a),fe(i),fe(o)])]))),E=void 0),e&&v.push(S.createExpressionStatement(S.createAssignment(S.createPropertyAccessExpression(_,"label"),S.createNumericLiteral(w+1))))}h.push(S.createCaseClause(S.createNumericLiteral(w),v||[])),v=void 0}function Ae(e){if(l)for(var n=0;n<l.length;n++)l[n]===e&&(v&&(De(!g),y=g=!1,w++),void 0===(f=void 0===f?[]:f)[w]?f[w]=[n]:f[w].push(n))}function Ce(e){e&&(v?v.push(e):v=[e])}function Ie(e,n){y=g=!0,Ce(_t.setEmitFlags(_t.setTextRange(S.createReturnStatement(S.createArrayLiteralExpression(e?[ge(2),e]:[ge(2)])),n),384))}},(ft=bY=bY||{}).transformModule=function(e){var n,t,r,a=e.factory,i=e.getEmitHelperFactory,o=e.startLexicalEnvironment,s=e.endLexicalEnvironment,c=e.hoistVariableDeclaration,l=e.getCompilerOptions(),d=e.getEmitResolver(),u=e.getEmitHost(),p=ft.getEmitScriptTarget(l),m=ft.getEmitModuleKind(l),_=e.onSubstituteNode,f=e.onEmitNode,g=(e.onSubstituteNode=function(e,n){if(!(n=_(e,n)).id||!h[n.id]){if(1===e)return(e=>{switch(e.kind){case 79:return z(e);case 206:return(e=>{if(ft.isIdentifier(e.expression)){var n=z(e.expression);if(h[ft.getNodeId(n)]=!0,!ft.isIdentifier(n))return ft.addEmitFlags(a.updateCallExpression(e,n,void 0,e.arguments),536870912)}return e})(e);case 208:return(e=>{if(ft.isIdentifier(e.tag)){var n=z(e.tag);if(h[ft.getNodeId(n)]=!0,!ft.isIdentifier(n))return ft.addEmitFlags(a.updateTaggedTemplateExpression(e,n,void 0,e.template),536870912)}return e})(e);case 219:return(e=>{if(ft.isAssignmentOperator(e.operatorToken.kind)&&ft.isIdentifier(e.left)&&!ft.isGeneratedIdentifier(e.left)&&!ft.isLocalName(e.left)&&!ft.isDeclarationNameOfEnumOrNamespace(e.left)){var n=J(e.left);if(n){for(var t=e,r=0,a=n;r<a.length;r++){var i=a[r];h[ft.getNodeId(t)]=!0,t=H(i,t,e)}return t}}return e})(e)}return e})(n);if(ft.isShorthandPropertyAssignment(n))return(e=>{var n,t=e.name,r=z(t);return r===t?e:e.objectAssignmentInitializer?(n=a.createAssignment(r,e.objectAssignmentInitializer),ft.setTextRange(a.createPropertyAssignment(t,n),e)):ft.setTextRange(a.createPropertyAssignment(t,r),e)})(n)}return n},e.onEmitNode=function(e,r,a){300===r.kind?(n=r,t=g[ft.getOriginalNodeId(n)],f(e,r,a),t=n=void 0):f(e,r,a)},e.enableSubstitution(206),e.enableSubstitution(208),e.enableSubstitution(79),e.enableSubstitution(219),e.enableSubstitution(292),e.enableEmitNotification(300),[]),y=[],h=[];return ft.chainBundle(e,(function(a){return a.isDeclarationFile||!(ft.isEffectiveExternalModule(a,l)||4194304&a.transformFlags||ft.isJsonSourceFile(a)&&ft.hasJsonModuleEmitEnabled(l)&&ft.outFile(l))||(n=a,t=ft.collectExternalModuleInfo(e,a,d,l),g[ft.getOriginalNodeId(a)]=t,a=(e=>{switch(e){case ft.ModuleKind.AMD:return E;case ft.ModuleKind.UMD:return T;default:return b}})(m)(a),n=void 0,t=void 0,r=!1),a}));function v(){return!(t.exportEquals||!ft.isExternalModule(n))}function b(r){o();var i=[],c=ft.getStrictOptionValue(l,"alwaysStrict")||!l.noImplicitUseStrict&&ft.isExternalModule(n);c=a.copyPrologue(r.statements,i,c&&!ft.isJsonSourceFile(r),A);if(v()&&ft.append(i,K()),ft.length(t.exportedNames))for(var d=0;d<t.exportedNames.length;d+=50)ft.append(i,a.createExpressionStatement(ft.reduceLeft(t.exportedNames.slice(d,d+50),(function(e,n){return a.createAssignment(a.createPropertyAccessExpression(a.createIdentifier("exports"),a.createIdentifier(ft.idText(n))),e)}),a.createVoidZero())));return ft.append(i,ft.visitNode(t.externalHelpersImportDeclaration,A,ft.isStatement)),ft.addRange(i,ft.visitNodes(r.statements,A,ft.isStatement,c)),D(i,!1),ft.insertStatementsAfterStandardPrologue(i,s()),c=a.updateSourceFile(r,ft.setTextRange(a.createNodeArray(i),r.statements)),ft.addEmitHelpers(c,e.readEmitHelpers()),c}function E(n){var t=a.createIdentifier("define"),r=ft.tryGetModuleNameFromFile(a,n,u,l),i=ft.isJsonSourceFile(n)&&n,o=S(n,!0),s=o.aliasedModuleNames,c=o.unaliasedModuleNames;o=o.importAliasNames,t=a.updateSourceFile(n,ft.setTextRange(a.createNodeArray([a.createExpressionStatement(a.createCallExpression(t,void 0,eu(eu([],r?[r]:[],!0),[a.createArrayLiteralExpression(i?ft.emptyArray:eu(eu([a.createStringLiteral("require"),a.createStringLiteral("exports")],s,!0),c,!0)),i?i.statements.length?i.statements[0].expression:a.createObjectLiteralExpression():a.createFunctionExpression(void 0,void 0,void 0,void 0,eu([a.createParameterDeclaration(void 0,void 0,void 0,"require"),a.createParameterDeclaration(void 0,void 0,void 0,"exports")],o,!0),void 0,L(n))],!1)))]),n.statements));return ft.addEmitHelpers(t,e.readEmitHelpers()),t}function T(n){var t=S(n,!1),r=t.aliasedModuleNames,i=t.unaliasedModuleNames,o=(t=t.importAliasNames,ft.tryGetModuleNameFromFile(a,n,u,l));o=a.createFunctionExpression(void 0,void 0,void 0,void 0,[a.createParameterDeclaration(void 0,void 0,void 0,"factory")],void 0,ft.setTextRange(a.createBlock([a.createIfStatement(a.createLogicalAnd(a.createTypeCheck(a.createIdentifier("module"),"object"),a.createTypeCheck(a.createPropertyAccessExpression(a.createIdentifier("module"),"exports"),"object")),a.createBlock([a.createVariableStatement(void 0,[a.createVariableDeclaration("v",void 0,void 0,a.createCallExpression(a.createIdentifier("factory"),void 0,[a.createIdentifier("require"),a.createIdentifier("exports")]))]),ft.setEmitFlags(a.createIfStatement(a.createStrictInequality(a.createIdentifier("v"),a.createIdentifier("undefined")),a.createExpressionStatement(a.createAssignment(a.createPropertyAccessExpression(a.createIdentifier("module"),"exports"),a.createIdentifier("v")))),1)]),a.createIfStatement(a.createLogicalAnd(a.createTypeCheck(a.createIdentifier("define"),"function"),a.createPropertyAccessExpression(a.createIdentifier("define"),"amd")),a.createBlock([a.createExpressionStatement(a.createCallExpression(a.createIdentifier("define"),void 0,eu(eu([],o?[o]:[],!0),[a.createArrayLiteralExpression(eu(eu([a.createStringLiteral("require"),a.createStringLiteral("exports")],r,!0),i,!0)),a.createIdentifier("factory")],!1)))])))],!0),void 0)),r=a.updateSourceFile(n,ft.setTextRange(a.createNodeArray([a.createExpressionStatement(a.createCallExpression(o,void 0,[a.createFunctionExpression(void 0,void 0,void 0,void 0,eu([a.createParameterDeclaration(void 0,void 0,void 0,"require"),a.createParameterDeclaration(void 0,void 0,void 0,"exports")],t,!0),void 0,L(n))]))]),n.statements));return ft.addEmitHelpers(r,e.readEmitHelpers()),r}function S(e,r){for(var i=[],o=[],s=[],c=0,p=e.amdDependencies;c<p.length;c++){var m=p[c];m.name?(i.push(a.createStringLiteral(m.path)),s.push(a.createParameterDeclaration(void 0,void 0,void 0,m.name))):o.push(a.createStringLiteral(m.path))}for(var _=0,f=t.externalImports;_<f.length;_++){var g=f[_],y=ft.getExternalModuleNameLiteral(a,g,n,u,d,l);g=ft.getLocalNameForExternalImport(a,g,n);y&&(r&&g?(ft.setEmitFlags(g,4),i.push(y),s.push(a.createParameterDeclaration(void 0,void 0,void 0,g))):o.push(y))}return{aliasedModuleNames:i,unaliasedModuleNames:o,importAliasNames:s}}function x(e){if(!ft.isImportEqualsDeclaration(e)&&!ft.isExportDeclaration(e)&&ft.getExternalModuleNameLiteral(a,e,n,u,d,l)){var t=ft.getLocalNameForExternalImport(a,e,n);e=O(e,t);if(e!==t)return a.createExpressionStatement(a.createAssignment(t,e))}}function L(e){o();var n=[],i=a.copyPrologue(e.statements,n,!l.noImplicitUseStrict,A);v()&&ft.append(n,K()),ft.length(t.exportedNames)&&ft.append(n,a.createExpressionStatement(ft.reduceLeft(t.exportedNames,(function(e,n){return a.createAssignment(a.createPropertyAccessExpression(a.createIdentifier("exports"),a.createIdentifier(ft.idText(n))),e)}),a.createVoidZero()))),ft.append(n,ft.visitNode(t.externalHelpersImportDeclaration,A,ft.isStatement)),m===ft.ModuleKind.AMD&&ft.addRange(n,ft.mapDefined(t.externalImports,x)),ft.addRange(n,ft.visitNodes(e.statements,A,ft.isStatement,i)),D(n,!0),ft.insertStatementsAfterStandardPrologue(n,s()),e=a.createBlock(n,!0);return r&&ft.addEmitHelper(e,gt),e}function D(e,n){var r,i;t.exportEquals&&(r=ft.visitNode(t.exportEquals.expression,I))&&(n?(i=a.createReturnStatement(r),ft.setTextRange(i,t.exportEquals),ft.setEmitFlags(i,1920)):(i=a.createExpressionStatement(a.createAssignment(a.createPropertyAccessExpression(a.createIdentifier("module"),"exports"),r)),ft.setTextRange(i,t.exportEquals),ft.setEmitFlags(i,1536)),e.push(i))}function A(n){switch(n.kind){case 264:var t,r=n,o=ft.getNamespaceDeclarationNode(r);if(m!==ft.ModuleKind.AMD){if(!r.importClause)return ft.setOriginalNode(ft.setTextRange(a.createExpressionStatement(P(r)),r),r);var s=[];o&&!ft.isDefaultImport(r)?s.push(a.createVariableDeclaration(a.cloneNode(o.name),void 0,void 0,O(r,P(r)))):(s.push(a.createVariableDeclaration(a.getGeneratedNameForNode(r),void 0,void 0,O(r,P(r)))),o&&ft.isDefaultImport(r)&&s.push(a.createVariableDeclaration(a.cloneNode(o.name),void 0,void 0,a.getGeneratedNameForNode(r)))),t=ft.append(t,ft.setOriginalNode(ft.setTextRange(a.createVariableStatement(void 0,a.createVariableDeclarationList(s,2<=p?2:0)),r),r))}else o&&ft.isDefaultImport(r)&&(t=ft.append(t,a.createVariableStatement(void 0,a.createVariableDeclarationList([ft.setOriginalNode(ft.setTextRange(a.createVariableDeclaration(a.cloneNode(o.name),void 0,void 0,a.getGeneratedNameForNode(r)),r),r)],2<=p?2:0))));return M(r)?(s=ft.getOriginalNodeId(r),y[s]=F(y[s],r)):t=F(t,r),ft.singleOrMany(t);case 263:var c;o=n;return ft.Debug.assert(ft.isExternalModuleImportEqualsDeclaration(o),"import= for internal module references should be handled in an earlier transformer."),m!==ft.ModuleKind.AMD?c=ft.hasSyntacticModifier(o,1)?ft.append(c,ft.setOriginalNode(ft.setTextRange(a.createExpressionStatement(H(o.name,P(o))),o),o)):ft.append(c,ft.setOriginalNode(ft.setTextRange(a.createVariableStatement(void 0,a.createVariableDeclarationList([a.createVariableDeclaration(a.cloneNode(o.name),void 0,void 0,P(o))],2<=p?2:0)),o),o)):ft.hasSyntacticModifier(o,1)&&(c=ft.append(c,ft.setOriginalNode(ft.setTextRange(a.createExpressionStatement(H(a.getExportName(o),a.getLocalName(o))),o),o))),M(o)?(s=ft.getOriginalNodeId(o),y[s]=G(y[s],o)):c=G(c,o),ft.singleOrMany(c);case 270:var d=n;if(d.moduleSpecifier){var u=a.getGeneratedNameForNode(d);if(d.exportClause&&ft.isNamedExports(d.exportClause)){var _=[];m!==ft.ModuleKind.AMD&&_.push(ft.setOriginalNode(ft.setTextRange(a.createVariableStatement(void 0,a.createVariableDeclarationList([a.createVariableDeclaration(u,void 0,void 0,P(d))])),d),d));for(var f=0,g=d.exportClause.elements;f<g.length;f++){var h,v=g[f];0===p?_.push(ft.setOriginalNode(ft.setTextRange(a.createExpressionStatement(i().createCreateBindingHelper(u,a.createStringLiteralFromNode(v.propertyName||v.name),v.propertyName?a.createStringLiteralFromNode(v.name):void 0)),v),v)):(h=!(!l.esModuleInterop||67108864&ft.getEmitFlags(d)||"default"!==ft.idText(v.propertyName||v.name)),h=a.createPropertyAccessExpression(h?i().createImportDefaultHelper(u):u,v.propertyName||v.name),_.push(ft.setOriginalNode(ft.setTextRange(a.createExpressionStatement(H(a.getExportName(v),h,void 0,!0)),v),v)))}return ft.singleOrMany(_)}return d.exportClause?((_=[]).push(ft.setOriginalNode(ft.setTextRange(a.createExpressionStatement(H(a.cloneNode(d.exportClause.name),((e,n)=>!l.esModuleInterop||67108864&ft.getEmitFlags(e)||!ft.getExportNeedsImportStarHelper(e)?n:i().createImportStarHelper(n))(d,m!==ft.ModuleKind.AMD?P(d):ft.isExportNamespaceAsDefaultDeclaration(d)?u:a.createIdentifier(ft.idText(d.exportClause.name))))),d),d)),ft.singleOrMany(_)):ft.setOriginalNode(ft.setTextRange(a.createExpressionStatement(i().createExportStarHelper(m!==ft.ModuleKind.AMD?P(d):u)),d),d)}return;case 269:var b;r=n;return r.isExportEquals?void 0:((z=r.original)&&M(z)?(z=ft.getOriginalNodeId(r),y[z]=j(y[z],a.createIdentifier("default"),ft.visitNode(r.expression,I),r,!0)):b=j(b,a.createIdentifier("default"),ft.visitNode(r.expression,I),r,!0),ft.singleOrMany(b));case 235:var E,T,S,x=n;if(ft.hasSyntacticModifier(x,1)){for(var L=void 0,D=!1,A=0,C=x.declarationList.declarations;A<C.length;A++){var N,k,R=C[A];ft.isIdentifier(R.name)&&ft.isLocalName(R.name)?(L=L||ft.visitNodes(x.modifiers,W,ft.isModifier),T=ft.append(T,R)):R.initializer&&(!ft.isBindingPattern(R.name)&&(ft.isArrowFunction(R.initializer)||ft.isFunctionExpression(R.initializer)||ft.isClassExpression(R.initializer))?(N=a.createAssignment(ft.setTextRange(a.createPropertyAccessExpression(a.createIdentifier("exports"),R.name),R.name),a.createIdentifier(ft.getTextOfIdentifierOrLiteral(R.name))),k=a.createVariableDeclaration(R.name,R.exclamationToken,R.type,ft.visitNode(R.initializer,I)),T=ft.append(T,k),S=ft.append(S,N),D=!0):S=ft.append(S,(n=>ft.isBindingPattern(n.name)?ft.flattenDestructuringAssignment(ft.visitNode(n,I),void 0,e,0,!1,w):a.createAssignment(ft.setTextRange(a.createPropertyAccessExpression(a.createIdentifier("exports"),n.name),n.name),n.initializer?ft.visitNode(n.initializer,I):a.createVoidZero()))(R)))}T&&(E=ft.append(E,a.updateVariableStatement(x,L,a.updateVariableDeclarationList(x.declarationList,T)))),S&&(K=ft.setOriginalNode(ft.setTextRange(a.createExpressionStatement(a.inlineExpressions(S)),x),x),D&&ft.removeAllComments(K),E=ft.append(E,K))}else E=ft.append(E,ft.visitEachChild(x,I,e));return M(x)?(K=ft.getOriginalNodeId(x),y[K]=B(y[K],x)):E=B(E,x),ft.singleOrMany(E);case 254:var V,K,z=n;return V=ft.hasSyntacticModifier(z,1)?ft.append(V,ft.setOriginalNode(ft.setTextRange(a.createFunctionDeclaration(void 0,ft.visitNodes(z.modifiers,W,ft.isModifier),z.asteriskToken,a.getDeclarationName(z,!0,!0),void 0,ft.visitNodes(z.parameters,I),void 0,ft.visitEachChild(z.body,I,e)),z),z)):ft.append(V,ft.visitEachChild(z,I,e)),M(z)?(K=ft.getOriginalNodeId(z),y[K]=U(y[K],z)):V=U(V,z),ft.singleOrMany(V);case 255:var J,q=n;return J=ft.hasSyntacticModifier(q,1)?ft.append(J,ft.setOriginalNode(ft.setTextRange(a.createClassDeclaration(void 0,ft.visitNodes(q.modifiers,W,ft.isModifier),a.getDeclarationName(q,!0,!0),void 0,ft.visitNodes(q.heritageClauses,I),ft.visitNodes(q.members,I)),q),q)):ft.append(J,ft.visitEachChild(q,I,e)),M(q)?(X=ft.getOriginalNodeId(q),y[X]=U(y[X],q)):J=U(J,q),ft.singleOrMany(J);case 347:var X=n;return M(X)&&235===X.original.kind&&(q=ft.getOriginalNodeId(X),y[q]=B(y[q],X.original)),X;case 348:var Y=n,Q=ft.getOriginalNodeId(Y),Z=y[Q];return Z?(delete y[Q],ft.append(Z,Y)):Y;default:return I(n)}}function C(t,i){if(!(71305216&t.transformFlags))return t;switch(t.kind){case 240:return o=t,a.updateForStatement(o,ft.visitNode(o.initializer,N,ft.isForInitializer),ft.visitNode(o.condition,I,ft.isExpression),ft.visitNode(o.incrementor,N,ft.isExpression),ft.visitIterationBody(o.statement,I,e));case 236:return a.updateExpressionStatement(t,ft.visitNode(t.expression,N,ft.isExpression));case 210:return a.updateParenthesizedExpression(t,ft.visitNode(t.expression,i?N:I,ft.isExpression));case 345:return a.updatePartiallyEmittedExpression(t,ft.visitNode(t.expression,i?N:I,ft.isExpression));case 206:if(ft.isImportCall(t)){var o=t,s=ft.getExternalModuleNameLiteral(a,o,n,u,d,l),p=ft.visitNode(ft.firstOrUndefined(o.arguments),I),m=!s||p&&ft.isStringLiteral(p)&&p.text===s.text?p:s,_=!!(8192&o.transformFlags);switch(l.module){case ft.ModuleKind.AMD:return k(m,_);case ft.ModuleKind.UMD:return((e,n)=>{var t;return r=!0,ft.isSimpleCopiableExpression(e)?(t=ft.isGeneratedIdentifier(e)?e:ft.isStringLiteral(e)?a.createStringLiteralFromNode(e):ft.setEmitFlags(ft.setTextRange(a.cloneNode(e),e),1536),a.createConditionalExpression(a.createIdentifier("__syncRequire"),void 0,R(e,n),void 0,k(t,n))):(t=a.createTempVariable(c),a.createComma(a.createAssignment(t,e),a.createConditionalExpression(a.createIdentifier("__syncRequire"),void 0,R(t,n),void 0,k(t,n))))})(null!=m?m:a.createVoidZero(),_);default:return ft.ModuleKind.CommonJS,R(m,_)}return}break;case 219:if(ft.isDestructuringAssignment(t))return p=i,function e(n){if(ft.isObjectLiteralExpression(n))for(var t=0,r=n.properties;t<r.length;t++)switch((o=r[t]).kind){case 291:if(e(o.initializer))return!0;break;case 292:if(e(o.name))return!0;break;case 293:if(e(o.expression))return!0;break;case 167:case 170:case 171:return!1;default:ft.Debug.assertNever(o,"Unhandled object member kind")}else if(ft.isArrayLiteralExpression(n))for(var a=0,i=n.elements;a<i.length;a++){var o=i[a];if(ft.isSpreadElement(o)){if(e(o.expression))return!0}else if(e(o))return!0}else if(ft.isIdentifier(n))return ft.length(J(n))>(ft.isExportName(n)?1:0);return!1}((s=t).left)?ft.flattenDestructuringAssignment(s,I,e,0,!p,w):ft.visitEachChild(s,I,e);break;case 217:case 218:var f=t,g=i;if((45===f.operator||46===f.operator)&&ft.isIdentifier(f.operand)&&!ft.isGeneratedIdentifier(f.operand)&&!ft.isLocalName(f.operand)&&!ft.isDeclarationNameOfEnumOrNamespace(f.operand)){var y=J(f.operand);if(y){var v=void 0,b=ft.visitNode(f.operand,I,ft.isExpression);ft.isPrefixUnaryExpression(f)?b=a.updatePrefixUnaryExpression(f,b):(b=a.updatePostfixUnaryExpression(f,b),g||(v=a.createTempVariable(c),b=a.createAssignment(v,b),ft.setTextRange(b,f)),b=a.createComma(b,a.cloneNode(f.operand)),ft.setTextRange(b,f));for(var E=0,T=y;E<T.length;E++){var S=T[E];h[ft.getNodeId(b)]=!0,b=H(S,b),ft.setTextRange(b,f)}return v&&(h[ft.getNodeId(b)]=!0,b=a.createComma(b,v),ft.setTextRange(b,f)),b}}return ft.visitEachChild(f,I,e)}return ft.visitEachChild(t,I,e)}function I(e){return C(e,!1)}function N(e){return C(e,!0)}function k(e,n){var t,r=a.createUniqueName("resolve"),o=a.createUniqueName("reject"),s=[a.createParameterDeclaration(void 0,void 0,void 0,r),a.createParameterDeclaration(void 0,void 0,void 0,o)];e=a.createBlock([a.createExpressionStatement(a.createCallExpression(a.createIdentifier("require"),void 0,[a.createArrayLiteralExpression([e||a.createOmittedExpression()]),r,o]))]),2<=p?t=a.createArrowFunction(void 0,void 0,s,void 0,void 0,e):(t=a.createFunctionExpression(void 0,void 0,void 0,void 0,s,void 0,e),n&&ft.setEmitFlags(t,8)),r=a.createNewExpression(a.createIdentifier("Promise"),void 0,[t]);return l.esModuleInterop?a.createCallExpression(a.createPropertyAccessExpression(r,a.createIdentifier("then")),void 0,[i().createImportStarCallbackHelper()]):r}function R(e,n){var t,r=a.createCallExpression(a.createPropertyAccessExpression(a.createIdentifier("Promise"),"resolve"),void 0,[]);e=a.createCallExpression(a.createIdentifier("require"),void 0,e?[e]:[]);return l.esModuleInterop&&(e=i().createImportStarHelper(e)),2<=p?t=a.createArrowFunction(void 0,void 0,[],void 0,void 0,e):(t=a.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,a.createBlock([a.createReturnStatement(e)])),n&&ft.setEmitFlags(t,8)),a.createCallExpression(a.createPropertyAccessExpression(r,"then"),void 0,[t])}function O(e,n){return!l.esModuleInterop||67108864&ft.getEmitFlags(e)?n:ft.getImportNeedsImportStarHelper(e)?i().createImportStarHelper(n):ft.getImportNeedsImportDefaultHelper(e)?i().createImportDefaultHelper(n):n}function P(e){e=ft.getExternalModuleNameLiteral(a,e,n,u,d,l);var t=[];return e&&t.push(e),a.createCallExpression(a.createIdentifier("require"),void 0,t)}function w(e,n,t){var r=J(e);if(r){for(var i=ft.isExportName(e)?n:a.createAssignment(e,n),o=0,s=r;o<s.length;o++){var c=s[o];ft.setEmitFlags(i,4),i=H(c,i,t)}return i}return a.createAssignment(e,n)}function M(e){return 0!=(4194304&ft.getEmitFlags(e))}function F(e,n){if(!t.exportEquals&&(n=n.importClause,n)){n.name&&(e=V(e,n));var r=n.namedBindings;if(r)switch(r.kind){case 266:e=V(e,r);break;case 267:for(var a=0,i=r.elements;a<i.length;a++)e=V(e,i[a],!0)}}return e}function G(e,n){return t.exportEquals?e:V(e,n)}function B(e,n){if(!t.exportEquals)for(var r=0,a=n.declarationList.declarations;r<a.length;r++)e=function e(n,r){if(t.exportEquals)return n;if(ft.isBindingPattern(r.name))for(var a=0,i=r.name.elements;a<i.length;a++){var o=i[a];ft.isOmittedExpression(o)||(n=e(n,o))}else ft.isGeneratedIdentifier(r.name)||(n=V(n,r));return n}(e,a[r]);return e}function U(e,n){return t.exportEquals||(ft.hasSyntacticModifier(n,1)&&(e=j(e,ft.hasSyntacticModifier(n,512)?a.createIdentifier("default"):a.getDeclarationName(n),a.getLocalName(n),n)),n.name&&(e=V(e,n))),e}function V(e,n,r){var i=a.getDeclarationName(n);n=t.exportSpecifiers.get(ft.idText(i));if(n)for(var o=0,s=n;o<s.length;o++){var c=s[o];e=j(e,c.name,i,c.name,void 0,r)}return e}function j(e,n,t,r,i,o){return ft.append(e,((e,n,t,r,i)=>(e=ft.setTextRange(a.createExpressionStatement(H(e,n,void 0,i)),t),ft.startOnNewLine(e),r||ft.setEmitFlags(e,1536),e))(n,t,r,i,o))}function K(){var e=0===p?a.createExpressionStatement(H(a.createIdentifier("__esModule"),a.createTrue())):a.createExpressionStatement(a.createCallExpression(a.createPropertyAccessExpression(a.createIdentifier("Object"),"defineProperty"),void 0,[a.createIdentifier("exports"),a.createStringLiteral("__esModule"),a.createObjectLiteralExpression([a.createPropertyAssignment("value",a.createTrue())])]));return ft.setEmitFlags(e,1048576),e}function H(e,n,t,r){return ft.setTextRange(r&&0!==p?a.createCallExpression(a.createPropertyAccessExpression(a.createIdentifier("Object"),"defineProperty"),void 0,[a.createIdentifier("exports"),a.createStringLiteralFromNode(e),a.createObjectLiteralExpression([a.createPropertyAssignment("enumerable",a.createTrue()),a.createPropertyAssignment("get",a.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,a.createBlock([a.createReturnStatement(n)])))])]):a.createAssignment(a.createPropertyAccessExpression(a.createIdentifier("exports"),a.cloneNode(e)),n),t)}function W(e){switch(e.kind){case 93:case 88:return}return e}function z(e){var t;if(4096&ft.getEmitFlags(e))return(r=ft.getExternalHelpersModuleName(n))?a.createPropertyAccessExpression(r,e):e;if((!ft.isGeneratedIdentifier(e)||64&e.autoGenerateFlags)&&!ft.isLocalName(e)){var r=d.getReferencedExportContainer(e,ft.isExportName(e));if(r&&300===r.kind)return ft.setTextRange(a.createPropertyAccessExpression(a.createIdentifier("exports"),a.cloneNode(e)),e);var i;r=d.getReferencedImportDeclaration(e);if(r){if(ft.isImportClause(r))return ft.setTextRange(a.createPropertyAccessExpression(a.getGeneratedNameForNode(r.parent),a.createIdentifier("default")),e);if(ft.isImportSpecifier(r))return i=r.propertyName||r.name,ft.setTextRange(a.createPropertyAccessExpression(a.getGeneratedNameForNode((null==(t=null==(t=r.parent)?void 0:t.parent)?void 0:t.parent)||r),a.cloneNode(i)),e)}}return e}function J(e){if(!ft.isGeneratedIdentifier(e)&&(e=d.getReferencedImportDeclaration(e)||d.getReferencedValueDeclaration(e),e))return t&&t.exportedBindings[ft.getOriginalNodeId(e)]}},gt={name:"typescript:dynamicimport-sync-require",scoped:!0,text:'\n var __syncRequire = typeof module === "object" && typeof module.exports === "object";'},(yt=bY=bY||{}).transformSystemModule=function(e){var n,t,r,a,i,o,s,c=e.factory,l=e.startLexicalEnvironment,d=e.endLexicalEnvironment,u=e.hoistVariableDeclaration,p=e.getCompilerOptions(),m=e.getEmitResolver(),_=e.getEmitHost(),f=e.onSubstituteNode,g=e.onEmitNode,y=(e.onSubstituteNode=function(e,t){if(!(e=>s&&e.id&&s[e.id])(t=f(e,t))){if(1===e)return(e=>{switch(e.kind){case 79:return(e=>{var t;if(4096&yt.getEmitFlags(e)){var r=yt.getExternalHelpersModuleName(n);if(r)return c.createPropertyAccessExpression(r,e)}else if(!yt.isGeneratedIdentifier(e)&&!yt.isLocalName(e)&&(r=m.getReferencedImportDeclaration(e),r)){if(yt.isImportClause(r))return yt.setTextRange(c.createPropertyAccessExpression(c.getGeneratedNameForNode(r.parent),c.createIdentifier("default")),e);if(yt.isImportSpecifier(r))return yt.setTextRange(c.createPropertyAccessExpression(c.getGeneratedNameForNode((null==(t=null==(t=r.parent)?void 0:t.parent)?void 0:t.parent)||r),c.cloneNode(r.propertyName||r.name)),e)}return e})(e);case 219:return(e=>{if(yt.isAssignmentOperator(e.operatorToken.kind)&&yt.isIdentifier(e.left)&&!yt.isGeneratedIdentifier(e.left)&&!yt.isLocalName(e.left)&&!yt.isDeclarationNameOfEnumOrNamespace(e.left)){var n=J(e.left);if(n){for(var t=e,r=0,a=n;r<a.length;r++){var i=a[r];t=G(i,q(t))}return t}}return e})(e);case 229:return(e=>yt.isImportMeta(e)?c.createPropertyAccessExpression(a,c.createIdentifier("meta")):e)(e)}return e})(t);if(4===e)return(e=>{if(292!==e.kind)return e;var n=e.name;if(!yt.isGeneratedIdentifier(n)&&!yt.isLocalName(n)){var t=m.getReferencedImportDeclaration(n);if(t){if(yt.isImportClause(t))return yt.setTextRange(c.createPropertyAssignment(c.cloneNode(n),c.createPropertyAccessExpression(c.getGeneratedNameForNode(t.parent),c.createIdentifier("default"))),e);if(yt.isImportSpecifier(t))return yt.setTextRange(c.createPropertyAssignment(c.cloneNode(n),c.createPropertyAccessExpression(c.getGeneratedNameForNode((null==(n=null==(n=t.parent)?void 0:n.parent)?void 0:n.parent)||t),c.cloneNode(t.propertyName||t.name))),e)}}return e})(t)}return t},e.onEmitNode=function(e,i,o){var c;300===i.kind?(c=yt.getOriginalNodeId(i),n=i,t=y[c],r=v[c],s=b[c],a=E[c],s&&delete b[c],g(e,i,o),s=a=r=t=n=void 0):g(e,i,o)},e.enableSubstitution(79),e.enableSubstitution(292),e.enableSubstitution(219),e.enableSubstitution(229),e.enableEmitNotification(300),[]),h=[],v=[],b=[],E=[];return yt.chainBundle(e,(function(u){if(u.isDeclarationFile||!(yt.isEffectiveExternalModule(u,p)||4194304&u.transformFlags))return u;var f=yt.getOriginalNodeId(u),g=(o=n=u,t=y[f]=yt.collectExternalModuleInfo(e,u,m,p),r=c.createUniqueName("exports"),v[f]=r,a=E[f]=c.createUniqueName("context"),(e=>{for(var t=new yt.Map,r=[],a=0,i=e;a<i.length;a++){var o,s,l=i[a],d=yt.getExternalModuleNameLiteral(c,l,n,_,m,p);d&&(o=d.text,void 0!==(s=t.get(o))?r[s].externalImports.push(l):(t.set(o,r.length),r.push({name:d,externalImports:[l]})))}return r})(t.externalImports)),h=((e,o)=>{var s=[],u=(l(),yt.getStrictOptionValue(p,"alwaysStrict")||!p.noImplicitUseStrict&&yt.isExternalModule(n)),m=(u=c.copyPrologue(e.statements,s,u,S),u=(s.push(c.createVariableStatement(void 0,c.createVariableDeclarationList([c.createVariableDeclaration("__moduleName",void 0,void 0,c.createLogicalAnd(a,c.createPropertyAccessExpression(a,"id")))]))),yt.visitNode(t.externalHelpersImportDeclaration,S,yt.isStatement),yt.visitNodes(e.statements,S,yt.isStatement,u)),yt.addRange(s,i),yt.insertStatementsAfterStandardPrologue(s,d()),(e=>{if(t.hasExportStarsToExportValues){if(!t.exportedNames&&0===t.exportSpecifiers.size){for(var n=!1,r=0,a=t.externalImports;r<a.length;r++){var i=a[r];if(270===i.kind&&i.exportClause){n=!0;break}}if(!n)return u=T(void 0),e.push(u),u.name}var o=[];if(t.exportedNames)for(var s=0,l=t.exportedNames;s<l.length;s++){var d=l[s];"default"!==d.escapedText&&o.push(c.createPropertyAssignment(c.createStringLiteralFromNode(d),c.createTrue()))}var u=c.createUniqueName("exportedNames");u=(e.push(c.createVariableStatement(void 0,c.createVariableDeclarationList([c.createVariableDeclaration(u,void 0,void 0,c.createObjectLiteralExpression(o,!0))]))),T(u));return e.push(u),u.name}})(s));e=1048576&e.transformFlags?c.createModifiersFromModifierFlags(256):void 0,m=c.createObjectLiteralExpression([c.createPropertyAssignment("setters",((e,t)=>{for(var a=[],i=0,o=t;i<o.length;i++){for(var s=o[i],l=yt.forEach(s.externalImports,(function(e){return yt.getLocalNameForExternalImport(c,e,n)})),d=l?c.getGeneratedNameForNode(l):c.createUniqueName(""),u=[],p=0,m=s.externalImports;p<m.length;p++){var _=m[p],f=yt.getLocalNameForExternalImport(c,_,n);switch(_.kind){case 264:if(!_.importClause)break;case 263:yt.Debug.assert(void 0!==f),u.push(c.createExpressionStatement(c.createAssignment(f,d)));break;case 270:if(yt.Debug.assert(void 0!==f),_.exportClause)if(yt.isNamedExports(_.exportClause)){for(var g=[],y=0,h=_.exportClause.elements;y<h.length;y++){var v=h[y];g.push(c.createPropertyAssignment(c.createStringLiteral(yt.idText(v.name)),c.createElementAccessExpression(d,c.createStringLiteral(yt.idText(v.propertyName||v.name)))))}u.push(c.createExpressionStatement(c.createCallExpression(r,void 0,[c.createObjectLiteralExpression(g,!0)])))}else u.push(c.createExpressionStatement(c.createCallExpression(r,void 0,[c.createStringLiteral(yt.idText(_.exportClause.name)),d])));else u.push(c.createExpressionStatement(c.createCallExpression(e,void 0,[d])))}}a.push(c.createFunctionExpression(void 0,void 0,void 0,void 0,[c.createParameterDeclaration(void 0,void 0,void 0,d)],void 0,c.createBlock(u,!0)))}return c.createArrayLiteralExpression(a,!0)})(m,o)),c.createPropertyAssignment("execute",c.createFunctionExpression(e,void 0,void 0,void 0,[],void 0,c.createBlock(u,!0)))],!0);return s.push(c.createReturnStatement(m)),c.createBlock(s,!0)})(u,g),x=c.createFunctionExpression(void 0,void 0,void 0,void 0,[c.createParameterDeclaration(void 0,void 0,void 0,r),c.createParameterDeclaration(void 0,void 0,void 0,a)],void 0,h),L=yt.tryGetModuleNameFromFile(c,u,_,p);g=c.createArrayLiteralExpression(yt.map(g,(function(e){return e.name}))),L=yt.setEmitFlags(c.updateSourceFile(u,yt.setTextRange(c.createNodeArray([c.createExpressionStatement(c.createCallExpression(c.createPropertyAccessExpression(c.createIdentifier("System"),"register"),void 0,L?[L,g,x]:[g,x]))]),u.statements)),1024);return yt.outFile(p)||yt.moveEmitHelpers(L,h,(function(e){return!e.scoped})),s&&(b[f]=s,s=void 0),n=void 0,t=void 0,r=void 0,a=void 0,i=void 0,o=void 0,L}));function T(e){var n=c.createUniqueName("exportStar"),t=c.createIdentifier("m"),a=c.createIdentifier("n"),i=c.createIdentifier("exports"),o=c.createStrictInequality(a,c.createStringLiteral("default"));return e&&(o=c.createLogicalAnd(o,c.createLogicalNot(c.createCallExpression(c.createPropertyAccessExpression(e,"hasOwnProperty"),void 0,[a])))),c.createFunctionDeclaration(void 0,void 0,void 0,n,void 0,[c.createParameterDeclaration(void 0,void 0,void 0,t)],void 0,c.createBlock([c.createVariableStatement(void 0,c.createVariableDeclarationList([c.createVariableDeclaration(i,void 0,void 0,c.createObjectLiteralExpression([]))])),c.createForInStatement(c.createVariableDeclarationList([c.createVariableDeclaration(a)]),t,c.createBlock([yt.setEmitFlags(c.createIfStatement(o,c.createExpressionStatement(c.createAssignment(c.createElementAccessExpression(i,a),c.createElementAccessExpression(t,a)))),1)])),c.createExpressionStatement(c.createCallExpression(r,void 0,[i]))],!0))}function S(e){switch(e.kind){case 264:var t,r=e;return r.importClause&&u(yt.getLocalNameForExternalImport(c,r,n)),N(r)?(i=yt.getOriginalNodeId(r),h[i]=k(h[i],r)):t=k(t,r),yt.singleOrMany(t);case 263:var a,i=e;return yt.Debug.assert(yt.isExternalModuleImportEqualsDeclaration(i),"import= for internal module references should be handled in an earlier transformer."),u(yt.getLocalNameForExternalImport(c,i,n)),N(i)?(r=yt.getOriginalNodeId(i),h[r]=R(h[r],i)):a=R(a,i),yt.singleOrMany(a);case 270:return void yt.Debug.assertIsDefined(e);case 269:var o=e;if(!o.isExportEquals){var s=yt.visitNode(o.expression,K,yt.isExpression),l=o.original;if(!l||!N(l))return F(c.createIdentifier("default"),s,!0);l=yt.getOriginalNodeId(o),h[l]=M(h[l],c.createIdentifier("default"),s,!0)}return;default:return B(e)}}function x(e){if(yt.isBindingPattern(e.name))for(var n=0,t=e.name.elements;n<t.length;n++){var r=t[n];yt.isOmittedExpression(r)||x(r)}else u(c.cloneNode(e.name))}function L(e){return 0==(2097152&yt.getEmitFlags(e))&&(300===o.kind||0==(3&yt.getOriginalNode(e).flags))}function D(n,t){return t=t?A:C,yt.isBindingPattern(n.name)?yt.flattenDestructuringAssignment(n,K,e,0,!1,t):n.initializer?t(n.name,yt.visitNode(n.initializer,K,yt.isExpression)):n.name}function A(e,n,t){return I(e,n,t,!0)}function C(e,n,t){return I(e,n,t,!1)}function I(e,n,t,r){return u(c.cloneNode(e)),r?G(e,q(yt.setTextRange(c.createAssignment(e,n),t))):q(yt.setTextRange(c.createAssignment(e,n),t))}function N(e){return 0!=(4194304&yt.getEmitFlags(e))}function k(e,n){if(!t.exportEquals&&(n=n.importClause,n)){n.name&&(e=w(e,n));var r=n.namedBindings;if(r)switch(r.kind){case 266:e=w(e,r);break;case 267:for(var a=0,i=r.elements;a<i.length;a++)e=w(e,i[a])}}return e}function R(e,n){return t.exportEquals?e:w(e,n)}function O(e,n,r){if(!t.exportEquals)for(var a=0,i=n.declarationList.declarations;a<i.length;a++){var o=i[a];(o.initializer||r)&&(e=function e(n,r,a){if(t.exportEquals)return n;var i;if(yt.isBindingPattern(r.name))for(var o=0,s=r.name.elements;o<s.length;o++){var l=s[o];yt.isOmittedExpression(l)||(n=e(n,l,a))}else yt.isGeneratedIdentifier(r.name)||(i=void 0,a&&(n=M(n,r.name,c.getLocalName(r)),i=yt.idText(r.name)),n=w(n,r,i));return n}(e,o,r))}return e}function P(e,n){var r;return t.exportEquals||(yt.hasSyntacticModifier(n,1)&&(e=M(e,r=yt.hasSyntacticModifier(n,512)?c.createStringLiteral("default"):n.name,c.getLocalName(n)),r=yt.getTextOfIdentifierOrLiteral(r)),n.name&&(e=w(e,n,r))),e}function w(e,n,r){if(!t.exportEquals){var a=c.getDeclarationName(n);n=t.exportSpecifiers.get(yt.idText(a));if(n)for(var i=0,o=n;i<o.length;i++){var s=o[i];s.name.escapedText!==r&&(e=M(e,s.name,a))}}return e}function M(e,n,t,r){return yt.append(e,F(n,t,r))}function F(e,n,t){return e=c.createExpressionStatement(G(e,n)),yt.startOnNewLine(e),t||yt.setEmitFlags(e,1536),e}function G(e,n){return e=yt.isIdentifier(e)?c.createStringLiteralFromNode(e):e,yt.setEmitFlags(n,1536|yt.getEmitFlags(n)),yt.setCommentRange(c.createCallExpression(r,void 0,[e,n]),n)}function B(n){switch(n.kind){case 235:var t=n;if(!L(t.declarationList))return yt.visitNode(t,K,yt.isStatement);for(var r,a,s=yt.hasSyntacticModifier(t,1),l=N(t),d=0,p=t.declarationList.declarations;d<p.length;d++){var m=p[d];m.initializer?r=yt.append(r,D(m,s&&!l)):x(m)}return r&&(a=yt.append(a,yt.setTextRange(c.createExpressionStatement(c.inlineExpressions(r)),t))),l?(R=yt.getOriginalNodeId(t),h[R]=O(h[R],t,s)):a=O(a,t,!1),yt.singleOrMany(a);case 254:return R=n,i=yt.hasSyntacticModifier(R,1)?yt.append(i,c.updateFunctionDeclaration(R,R.decorators,yt.visitNodes(R.modifiers,z,yt.isModifier),R.asteriskToken,c.getDeclarationName(R,!0,!0),void 0,yt.visitNodes(R.parameters,K,yt.isParameterDeclaration),void 0,yt.visitNode(R.body,K,yt.isBlock))):yt.append(i,yt.visitEachChild(R,K,e)),void(N(R)?(t=yt.getOriginalNodeId(R),h[t]=P(h[t],R)):i=P(i,R));case 255:return C=n,k=c.getLocalName(C),u(k),I=yt.append(I,yt.setTextRange(c.createExpressionStatement(c.createAssignment(k,yt.setTextRange(c.createClassExpression(yt.visitNodes(C.decorators,K,yt.isDecorator),void 0,C.name,void 0,yt.visitNodes(C.heritageClauses,K,yt.isHeritageClause),yt.visitNodes(C.members,K,yt.isClassElement)),C))),C)),N(C)?(k=yt.getOriginalNodeId(C),h[k]=P(h[k],C)):I=P(I,C),yt.singleOrMany(I);case 240:return U(n,!0);case 241:return k=o,o=C=n,C=c.updateForInStatement(C,V(C.initializer),yt.visitNode(C.expression,K,yt.isExpression),yt.visitIterationBody(C.statement,B,e)),o=k,C;case 242:return A=o,o=S=n,S=c.updateForOfStatement(S,S.awaitModifier,V(S.initializer),yt.visitNode(S.expression,K,yt.isExpression),yt.visitIterationBody(S.statement,B,e)),o=A,S;case 238:return A=n,c.updateDoStatement(A,yt.visitIterationBody(A.statement,B,e),yt.visitNode(A.expression,K,yt.isExpression));case 239:return S=n,c.updateWhileStatement(S,yt.visitNode(S.expression,K,yt.isExpression),yt.visitIterationBody(S.statement,B,e));case 248:return c.updateLabeledStatement(n,n.label,yt.visitNode(n.statement,B,yt.isStatement,c.liftToBlock));case 246:return T=n,c.updateWithStatement(T,yt.visitNode(T.expression,K,yt.isExpression),yt.visitNode(T.statement,B,yt.isStatement,c.liftToBlock));case 247:return T=n,c.updateSwitchStatement(T,yt.visitNode(T.expression,K,yt.isExpression),yt.visitNode(T.caseBlock,B,yt.isCaseBlock));case 261:return E=o,o=b=n,b=c.updateCaseBlock(n,yt.visitNodes(n.clauses,B,yt.isCaseOrDefaultClause)),o=E,b;case 287:return E=n,c.updateCaseClause(E,yt.visitNode(E.expression,K,yt.isExpression),yt.visitNodes(E.statements,B,yt.isStatement));case 288:case 250:return yt.visitEachChild(n,B,e);case 290:return b=o,o=v=n,v=c.updateCatchClause(n,n.variableDeclaration,yt.visitNode(n.block,B,yt.isBlock)),o=b,v;case 233:return v=o,o=y=n,y=yt.visitEachChild(n,B,e),o=v,y;case 347:return N(y=n)&&235===y.original.kind&&(f=yt.getOriginalNodeId(y),g=yt.hasSyntacticModifier(y.original,1),h[f]=O(h[f],y.original,g)),y;case 348:return f=n,g=yt.getOriginalNodeId(f),(_=h[g])?(delete h[g],yt.append(_,f)):(g=yt.getOriginalNode(f),yt.isModuleOrEnumDeclaration(g)?yt.append(w(_,g),f):f);default:return K(n)}var _,f,g,y,v,b,E,T,S,A,C,I,k,R}function U(n,t){var r=o;return o=n,n=c.updateForStatement(n,yt.visitNode(n.initializer,t?V:H,yt.isForInitializer),yt.visitNode(n.condition,K,yt.isExpression),yt.visitNode(n.incrementor,H,yt.isExpression),yt.visitIterationBody(n.statement,t?B:K,e)),o=r,n}function V(e){if(i=e,yt.isVariableDeclarationList(i)&&L(i)){for(var n=void 0,t=0,r=e.declarations;t<r.length;t++){var a=r[t];n=yt.append(n,D(a,!1));a.initializer||x(a)}return n?c.inlineExpressions(n):c.createOmittedExpression()}return yt.visitNode(e,H,yt.isExpression);var i}function j(t,r){if(!(71305216&t.transformFlags))return t;switch(t.kind){case 240:return U(t,!1);case 236:return c.updateExpressionStatement(t,yt.visitNode(t.expression,H,yt.isExpression));case 210:return c.updateParenthesizedExpression(t,yt.visitNode(t.expression,r?H:K,yt.isExpression));case 345:return c.updatePartiallyEmittedExpression(t,yt.visitNode(t.expression,r?H:K,yt.isExpression));case 219:if(yt.isDestructuringAssignment(t))return h=r,W((v=t).left)?yt.flattenDestructuringAssignment(v,K,e,0,!h):yt.visitEachChild(v,K,e);break;case 206:if(yt.isImportCall(t))return h=t,v=yt.getExternalModuleNameLiteral(c,h,n,_,m,p),h=yt.visitNode(yt.firstOrUndefined(h.arguments),K),h=!v||h&&yt.isStringLiteral(h)&&h.text===v.text?h:v,c.createCallExpression(c.createPropertyAccessExpression(a,c.createIdentifier("import")),void 0,h?[h]:[]);break;case 217:case 218:var i=t,o=r;if((45===i.operator||46===i.operator)&&yt.isIdentifier(i.operand)&&!yt.isGeneratedIdentifier(i.operand)&&!yt.isLocalName(i.operand)&&!yt.isDeclarationNameOfEnumOrNamespace(i.operand)){var s=J(i.operand);if(s){var l=void 0,d=yt.visitNode(i.operand,K,yt.isExpression);yt.isPrefixUnaryExpression(i)?d=c.updatePrefixUnaryExpression(i,d):(d=c.updatePostfixUnaryExpression(i,d),o||(l=c.createTempVariable(u),d=c.createAssignment(l,d),yt.setTextRange(d,i)),d=c.createComma(d,c.cloneNode(i.operand)),yt.setTextRange(d,i));for(var f=0,g=s;f<g.length;f++){var y=g[f];d=G(y,q(d))}return l&&(d=c.createComma(d,l),yt.setTextRange(d,i)),d}}return yt.visitEachChild(i,K,e)}var h,v;return yt.visitEachChild(t,K,e)}function K(e){return j(e,!1)}function H(e){return j(e,!0)}function W(e){return yt.isAssignmentExpression(e,!0)?W(e.left):yt.isSpreadElement(e)?W(e.expression):yt.isObjectLiteralExpression(e)?yt.some(e.properties,W):yt.isArrayLiteralExpression(e)?yt.some(e.elements,W):yt.isShorthandPropertyAssignment(e)?W(e.name):yt.isPropertyAssignment(e)?W(e.initializer):!!yt.isIdentifier(e)&&void 0!==(e=m.getReferencedExportContainer(e))&&300===e.kind}function z(e){switch(e.kind){case 93:case 88:return}return e}function J(e){var n,r;return yt.isGeneratedIdentifier(e)||(r=m.getReferencedImportDeclaration(e)||m.getReferencedValueDeclaration(e))&&((e=m.getReferencedExportContainer(e,!1))&&300===e.kind&&(n=yt.append(n,c.getDeclarationName(r))),n=yt.addRange(n,t&&t.exportedBindings[yt.getOriginalNodeId(r)])),n}function q(e){return(s=void 0===s?[]:s)[yt.getNodeId(e)]=!0,e}},(ht=bY=bY||{}).transformECMAScriptModule=function(e){var n,t=e.factory,r=e.getEmitHelperFactory,a=e.getCompilerOptions(),i=e.onEmitNode,o=e.onSubstituteNode;return e.onEmitNode=function(e,t,r){ht.isSourceFile(t)?((ht.isExternalModule(t)||a.isolatedModules)&&a.importHelpers&&(n=new ht.Map),i(e,t,r),n=void 0):i(e,t,r)},e.onSubstituteNode=function(e,r){return r=o(e,r),n&&ht.isIdentifier(r)&&4096&ht.getEmitFlags(r)?(e=>{e=ht.idText(e);var r=n.get(e);return r||n.set(e,r=t.createUniqueName(e,48)),r})(r):r},e.enableEmitNotification(300),e.enableSubstitution(79),ht.chainBundle(e,(function(n){var i;return n.isDeclarationFile||!ht.isExternalModule(n)&&!a.isolatedModules?n:(i=(n=>{var i,o,c=ht.createExternalHelpersImportDeclarationIfNeeded(t,r(),n,a);return c?(i=[],o=t.copyPrologue(n.statements,i),ht.append(i,c),ht.addRange(i,ht.visitNodes(n.statements,s,ht.isStatement,o)),t.updateSourceFile(n,ht.setTextRange(t.createNodeArray(i),n.statements))):ht.visitEachChild(n,s,e)})(n),!ht.isExternalModule(n)||ht.some(i.statements,ht.isExternalModuleIndicator)?i:t.updateSourceFile(i,ht.setTextRange(t.createNodeArray(eu(eu([],i.statements,!0),[ht.createEmptyExports(t)],!1)),i.statements)))}));function s(e){switch(e.kind){case 263:return;case 269:return(o=e).isExportEquals?void 0:o;case 270:var n,r,i,o=e;return!(void 0!==a.module&&a.module>ht.ModuleKind.ES2015)&&o.exportClause&&ht.isNamespaceExport(o.exportClause)&&o.moduleSpecifier?(n=o.exportClause.name,i=t.getGeneratedNameForNode(n),r=t.createImportDeclaration(void 0,void 0,t.createImportClause(!1,void 0,t.createNamespaceImport(i)),o.moduleSpecifier),ht.setOriginalNode(r,o.exportClause),i=ht.isExportNamespaceAsDefaultDeclaration(o)?t.createExportDefault(i):t.createExportDeclaration(void 0,void 0,!1,t.createNamedExports([t.createExportSpecifier(i,n)])),ht.setOriginalNode(i,o),[r,i]):o}return e}},(vt=bY=bY||{}).canProduceDiagnostics=function(e){return vt.isVariableDeclaration(e)||vt.isPropertyDeclaration(e)||vt.isPropertySignature(e)||vt.isBindingElement(e)||vt.isSetAccessor(e)||vt.isGetAccessor(e)||vt.isConstructSignatureDeclaration(e)||vt.isCallSignatureDeclaration(e)||vt.isMethodDeclaration(e)||vt.isMethodSignature(e)||vt.isFunctionDeclaration(e)||vt.isParameter(e)||vt.isTypeParameterDeclaration(e)||vt.isExpressionWithTypeArguments(e)||vt.isImportEqualsDeclaration(e)||vt.isTypeAliasDeclaration(e)||vt.isConstructorDeclaration(e)||vt.isIndexSignatureDeclaration(e)||vt.isPropertyAccessExpression(e)||vt.isJSDocTypeAlias(e)},vt.createGetSymbolAccessibilityDiagnosticForNodeName=function(e){return vt.isSetAccessor(e)||vt.isGetAccessor(e)?function(n){return n=(n=>vt.isStatic(e)?n.errorModuleName?2===n.accessibility?vt.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:vt.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:vt.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:255===e.parent.kind?n.errorModuleName?2===n.accessibility?vt.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:vt.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:vt.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1:n.errorModuleName?vt.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:vt.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1)(n),void 0!==n?{diagnosticMessage:n,errorNode:e,typeName:e.name}:void 0}:vt.isMethodSignature(e)||vt.isMethodDeclaration(e)?function(n){return n=(n=>vt.isStatic(e)?n.errorModuleName?2===n.accessibility?vt.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:vt.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:vt.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:255===e.parent.kind?n.errorModuleName?2===n.accessibility?vt.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:vt.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:vt.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_private_name_1:n.errorModuleName?vt.Diagnostics.Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:vt.Diagnostics.Method_0_of_exported_interface_has_or_is_using_private_name_1)(n),void 0!==n?{diagnosticMessage:n,errorNode:e,typeName:e.name}:void 0}:Hk(e)},vt.createGetSymbolAccessibilityDiagnosticForNode=Hk,(bt=bY=bY||{}).getDeclarationDiagnostics=function(e,n,t){var r=e.getCompilerOptions();return bt.transformNodes(n,e,bt.factory,r,t?[t]:bt.filter(e.getSourceFiles(),bt.isSourceFileNotJson),[Jk],!1).diagnostics},bt.isInternalDeclaration=zk,Et=531469,bt.transformDeclarations=Jk,(Tt=bY=bY||{}).noTransformers={scriptTransformers:Tt.emptyArray,declarationTransformers:Tt.emptyArray},Tt.getTransformers=function(e,n,t){return{scriptTransformers:((e,n,t)=>{var r,a;return t?Tt.emptyArray:(t=Tt.getEmitScriptTarget(e),r=Tt.getEmitModuleKind(e),a=[],Tt.addRange(a,n&&Tt.map(n.before,Qk)),a.push(Tt.transformTypeScript),a.push(Tt.transformClassFields),Tt.getJSXTransformEnabled(e)&&a.push(Tt.transformJsx),t<99&&a.push(Tt.transformESNext),t<8&&a.push(Tt.transformES2021),t<7&&a.push(Tt.transformES2020),t<6&&a.push(Tt.transformES2019),t<5&&a.push(Tt.transformES2018),t<4&&a.push(Tt.transformES2017),t<3&&a.push(Tt.transformES2016),t<2&&(a.push(Tt.transformES2015),a.push(Tt.transformGenerators)),a.push((e=>{switch(e){case Tt.ModuleKind.ESNext:case Tt.ModuleKind.ES2020:case Tt.ModuleKind.ES2015:return Tt.transformECMAScriptModule;case Tt.ModuleKind.System:return Tt.transformSystemModule;default:return Tt.transformModule}})(r)),t<1&&a.push(Tt.transformES5),Tt.addRange(a,n&&Tt.map(n.after,Qk)),a)})(e,n,t),declarationTransformers:(e=n,(t=[]).push(Tt.transformDeclarations),Tt.addRange(t,e&&Tt.map(e.afterDeclarations,Zk)),t)}},Tt.noEmitSubstitution=$k,Tt.noEmitNotification=eR,Tt.transformNodes=function(e,n,t,r,a,i,o){for(var s,c,l,d,u,p=new Array(350),m=0,_=[],f=[],g=[],y=[],h=0,v=!1,b=[],E=0,T=$k,S=eR,x=0,L=[],D={factory:t,getCompilerOptions:function(){return r},getEmitResolver:function(){return e},getEmitHost:function(){return n},getEmitHelperFactory:Tt.memoize((function(){return Tt.createEmitHelperFactory(D)})),startLexicalEnvironment:function(){Tt.Debug.assert(0<x,"Cannot modify the lexical environment during initialization."),Tt.Debug.assert(x<2,"Cannot modify the lexical environment after transformation has completed."),Tt.Debug.assert(!v,"Lexical environment is suspended."),_[h]=s,f[h]=c,g[h]=l,y[h]=m,h++,s=void 0,c=void 0,l=void 0,m=0},suspendLexicalEnvironment:function(){Tt.Debug.assert(0<x,"Cannot modify the lexical environment during initialization."),Tt.Debug.assert(x<2,"Cannot modify the lexical environment after transformation has completed."),Tt.Debug.assert(!v,"Lexical environment is already suspended."),v=!0},resumeLexicalEnvironment:function(){Tt.Debug.assert(0<x,"Cannot modify the lexical environment during initialization."),Tt.Debug.assert(x<2,"Cannot modify the lexical environment after transformation has completed."),Tt.Debug.assert(v,"Lexical environment is not suspended."),v=!1},endLexicalEnvironment:function(){var e,n;return Tt.Debug.assert(0<x,"Cannot modify the lexical environment during initialization."),Tt.Debug.assert(x<2,"Cannot modify the lexical environment after transformation has completed."),Tt.Debug.assert(!v,"Lexical environment is suspended."),(s||c||l)&&(c&&(e=eu([],c,!0)),s&&(n=t.createVariableStatement(void 0,t.createVariableDeclarationList(s)),Tt.setEmitFlags(n,1048576),e?e.push(n):e=[n]),l)&&(e=eu(e?eu([],e,!0):[],l,!0)),s=_[--h],c=f[h],l=g[h],m=y[h],0===h&&(_=[],f=[],g=[],y=[]),e},setLexicalEnvironmentFlags:function(e,n){m=n?m|e:m&~e},getLexicalEnvironmentFlags:function(){return m},hoistVariableDeclaration:function(e){Tt.Debug.assert(0<x,"Cannot modify the lexical environment during initialization."),Tt.Debug.assert(x<2,"Cannot modify the lexical environment after transformation has completed."),e=Tt.setEmitFlags(t.createVariableDeclaration(e),64),s?s.push(e):s=[e],1&m&&(m|=2)},hoistFunctionDeclaration:function(e){Tt.Debug.assert(0<x,"Cannot modify the lexical environment during initialization."),Tt.Debug.assert(x<2,"Cannot modify the lexical environment after transformation has completed."),Tt.setEmitFlags(e,1048576),c?c.push(e):c=[e]},addInitializationStatement:function(e){Tt.Debug.assert(0<x,"Cannot modify the lexical environment during initialization."),Tt.Debug.assert(x<2,"Cannot modify the lexical environment after transformation has completed."),Tt.setEmitFlags(e,1048576),l?l.push(e):l=[e]},startBlockScope:function(){Tt.Debug.assert(0<x,"Cannot start a block scope during initialization."),Tt.Debug.assert(x<2,"Cannot start a block scope after transformation has completed."),b[E]=d,E++,d=void 0},endBlockScope:function(){Tt.Debug.assert(0<x,"Cannot end a block scope during initialization."),Tt.Debug.assert(x<2,"Cannot end a block scope after transformation has completed.");var e=Tt.some(d)?[t.createVariableStatement(void 0,t.createVariableDeclarationList(d.map((function(e){return t.createVariableDeclaration(e)})),1))]:void 0;return d=b[--E],0===E&&(b=[]),e},addBlockScopedVariable:function(e){Tt.Debug.assert(0<E,"Cannot add a block scoped variable outside of an iteration body."),(d=d||[]).push(e)},requestEmitHelper:function e(n){if(Tt.Debug.assert(0<x,"Cannot modify the transformation context during initialization."),Tt.Debug.assert(x<2,"Cannot modify the transformation context after transformation has completed."),Tt.Debug.assert(!n.scoped,"Cannot request a scoped emit helper."),n.dependencies)for(var t=0,r=n.dependencies;t<r.length;t++){var a=r[t];e(a)}u=Tt.append(u,n)},readEmitHelpers:function(){Tt.Debug.assert(0<x,"Cannot modify the transformation context during initialization."),Tt.Debug.assert(x<2,"Cannot modify the transformation context after transformation has completed.");var e=u;return u=void 0,e},enableSubstitution:function(e){Tt.Debug.assert(x<2,"Cannot modify the transformation context after transformation has completed."),p[e]|=1},enableEmitNotification:function(e){Tt.Debug.assert(x<2,"Cannot modify the transformation context after transformation has completed."),p[e]|=2},isSubstitutionEnabled:M,isEmitNotificationEnabled:F,get onSubstituteNode(){return T},set onSubstituteNode(e){Tt.Debug.assert(x<1,"Cannot modify transformation hooks after initialization has completed."),Tt.Debug.assert(void 0!==e,"Value must not be 'undefined'"),T=e},get onEmitNode(){return S},set onEmitNode(e){Tt.Debug.assert(x<1,"Cannot modify transformation hooks after initialization has completed."),Tt.Debug.assert(void 0!==e,"Value must not be 'undefined'"),S=e},addDiagnostic:function(e){L.push(e)}},A=0,C=a;A<C.length;A++){var I=C[A];Tt.disposeEmitNodes(Tt.getSourceFileOfNode(Tt.getParseTreeNode(I)))}Tt.performance.mark("beforeTransform");for(var N=i.map((function(e){return e(D)})),k=function(e){for(var n=0,t=N;n<t.length;n++)e=(0,t[n])(e);return e},R=(x=1,[]),O=0,P=a;O<P.length;O++)I=P[O],null!=Tt.tracing&&Tt.tracing.push("emit","transformNodes",300===I.kind?{path:I.path}:{kind:I.kind,pos:I.pos,end:I.end}),R.push((o?k:w)(I)),null!=Tt.tracing&&Tt.tracing.pop();return x=2,Tt.performance.mark("afterTransform"),Tt.performance.measure("transformTime","beforeTransform","afterTransform"),{transformed:R,substituteNode:function(e,n){return Tt.Debug.assert(x<3,"Cannot substitute a node after the result is disposed."),n&&M(n)&&T(e,n)||n},emitNodeWithNotification:function(e,n,t){Tt.Debug.assert(x<3,"Cannot invoke TransformationResult callbacks after the result is disposed."),n&&(F(n)?S(e,n,t):t(e,n))},isEmitNotificationEnabled:F,dispose:function(){if(x<3){for(var e=0,n=a;e<n.length;e++){var t=n[e];Tt.disposeEmitNodes(Tt.getSourceFileOfNode(Tt.getParseTreeNode(t)))}u=S=T=f=c=_=s=void 0,x=3}},diagnostics:L};function w(e){return!e||Tt.isSourceFile(e)&&e.isDeclarationFile?e:k(e)}function M(e){return 0!=(1&p[e.kind])&&0==(4&Tt.getEmitFlags(e))}function F(e){return 0!=(2&p[e.kind])||0!=(2&Tt.getEmitFlags(e))}},Tt.nullTransformationContext={factory:Tt.factory,getCompilerOptions:function(){return{}},getEmitResolver:Tt.notImplemented,getEmitHost:Tt.notImplemented,getEmitHelperFactory:Tt.notImplemented,startLexicalEnvironment:Tt.noop,resumeLexicalEnvironment:Tt.noop,suspendLexicalEnvironment:Tt.noop,endLexicalEnvironment:Tt.returnUndefined,setLexicalEnvironmentFlags:Tt.noop,getLexicalEnvironmentFlags:function(){return 0},hoistVariableDeclaration:Tt.noop,hoistFunctionDeclaration:Tt.noop,addInitializationStatement:Tt.noop,startBlockScope:Tt.noop,endBlockScope:Tt.returnUndefined,addBlockScopedVariable:Tt.noop,requestEmitHelper:Tt.noop,readEmitHelpers:Tt.notImplemented,enableSubstitution:Tt.noop,enableEmitNotification:Tt.noop,isSubstitutionEnabled:Tt.notImplemented,isEmitNotificationEnabled:Tt.notImplemented,onSubstituteNode:$k,onEmitNode:eR,addDiagnostic:Tt.noop},St=bY=bY||{},(cm=[])[1024]=["{","}"],cm[2048]=["(",")"],cm[4096]=["<",">"],cm[8192]=["[","]"],xt=cm,St.isBuildInfoFile=function(e){return St.fileExtensionIs(e,".tsbuildinfo")},St.forEachEmittedFile=nR,St.getTsBuildInfoEmitOutputFilePath=tR,St.getOutputPathsForBundle=rR,St.getOutputPathsFor=aR,St.getOutputExtension=oR,St.getOutputDeclarationFileName=cR,St.getCommonSourceDirectory=mR,St.getCommonSourceDirectoryOfConfig=_R,St.getAllProjectOutputs=function(e,n){var t=(r=dR()).addOutput,r=r.getOutputs;if(St.outFile(e.options))uR(e,t);else{for(var a=St.memoize((function(){return _R(e,n)})),i=0,o=e.fileNames;i<o.length;i++){var s=o[i];pR(e,s,n,t,a)}t(tR(e.options))}return r()},St.getOutputFileNames=function(e,n,t){n=St.normalizePath(n),St.Debug.assert(St.contains(e.fileNames,n),"Expected fileName to be present in command line");var r=(a=dR()).addOutput,a=a.getOutputs;return St.outFile(e.options)?uR(e,r):pR(e,n,t,r),a()},St.getFirstProjectOutput=function(e,n){if(St.outFile(e.options))return i=rR(e.options,!1).jsFilePath,St.Debug.checkDefined(i,"project "+e.options.configFilePath+" expected to have at least one output");for(var t=St.memoize((function(){return _R(e,n)})),r=0,a=e.fileNames;r<a.length;r++){var i,o=a[r];if(!St.fileExtensionIs(o,".d.ts")){if(i=lR(o,e,n,t))return i;if(!St.fileExtensionIs(o,".json")&&St.getEmitDeclarations(e.options))return cR(o,e,n,t)}}var s=tR(e.options);return s||St.Debug.fail("project "+e.options.configFilePath+" expected to have at least one output")},St.emitFiles=fR,St.getBuildInfoText=gR,St.getBuildInfo=yR,St.notImplementedResolver={hasGlobalName:St.notImplemented,getReferencedExportContainer:St.notImplemented,getReferencedImportDeclaration:St.notImplemented,getReferencedDeclarationWithCollidingName:St.notImplemented,isDeclarationWithCollidingName:St.notImplemented,isValueAliasDeclaration:St.notImplemented,isReferencedAliasDeclaration:St.notImplemented,isTopLevelValueImportEqualsWithEntityName:St.notImplemented,getNodeCheckFlags:St.notImplemented,isDeclarationVisible:St.notImplemented,isLateBound:function(e){return!1},collectLinkedAliases:St.notImplemented,isImplementationOfOverload:St.notImplemented,isRequiredInitializedParameter:St.notImplemented,isOptionalUninitializedParameterProperty:St.notImplemented,isExpandoFunctionDeclaration:St.notImplemented,getPropertiesOfContainerFunction:St.notImplemented,createTypeOfDeclaration:St.notImplemented,createReturnTypeOfSignatureDeclaration:St.notImplemented,createTypeOfExpression:St.notImplemented,createLiteralConstValue:St.notImplemented,isSymbolAccessible:St.notImplemented,isEntityNameVisible:St.notImplemented,getConstantValue:St.notImplemented,getReferencedValueDeclaration:St.notImplemented,getTypeReferenceSerializationKind:St.notImplemented,isOptionalParameter:St.notImplemented,moduleExportsSomeValue:St.notImplemented,isArgumentsLocalBinding:St.notImplemented,getExternalModuleFileFromDeclaration:St.notImplemented,getTypeReferenceDirectivesForEntityName:St.notImplemented,getTypeReferenceDirectivesForSymbol:St.notImplemented,isLiteralConstDeclaration:St.notImplemented,getJsxFactoryEntity:St.notImplemented,getJsxFragmentFactoryEntity:St.notImplemented,getAllAccessorDeclarations:St.notImplemented,getSymbolOfExternalModuleSpecifier:St.notImplemented,isBindingCapturedByNode:St.notImplemented,getDeclarationStatementsForSourceFile:St.notImplemented,isImportRequiredByAugmentation:St.notImplemented},St.emitUsingBuildInfo=function(e,n,t,r){var a,i,o,s,c,l,d,u,p,m,_,f,g,y,h=rR(e.options,!1),v=h.buildInfoPath,b=h.jsFilePath,E=h.sourceMapFilePath,T=h.declarationFilePath,S=h.declarationMapPath;return(h=n.readFile(St.Debug.checkDefined(v)))?(a=n.readFile(St.Debug.checkDefined(b)))?(i=E&&n.readFile(E),E&&!i||e.options.inlineSourceMap?E||"inline sourcemap decoding":(o=T&&n.readFile(T),T&&!o?T:(s=S&&n.readFile(S),S&&!s||e.options.inlineSourceMap?S||"inline sourcemap decoding":!(c=yR(h)).bundle||!c.bundle.js||o&&!c.bundle.dts?v:(l=St.getDirectoryPath(St.getNormalizedAbsolutePath(v,n.getCurrentDirectory())),d=St.createInputFiles(a,o,E,i,S,s,b,T,v,c,!0),u=[],p=St.createPrependNodes(e.projectReferences,t,(function(e){return n.readFile(e)})),h=c.bundle,_=l,f=n,t=St.Debug.checkDefined(h.js),g=(null==(y=t.sources)?void 0:y.prologues)&&St.arrayToMap(t.sources.prologues,(function(e){return e.file})),m=h.sourceFiles.map((function(e,n){n=null==g?void 0:g.get(n);var t=null==n?void 0:n.directives.map((function(e){var n=St.setTextRange(St.factory.createStringLiteral(e.expression.text),e.expression);e=St.setTextRange(St.factory.createExpressionStatement(n),e);return St.setParent(n,e),e})),r=St.factory.createToken(1);t=St.factory.createSourceFile(null!=t?t:[],r,0);return t.fileName=St.getRelativePathFromDirectory(f.getCurrentDirectory(),St.getNormalizedAbsolutePath(e,_),!f.useCaseSensitiveFileNames()),t.text=null!=(e=null==n?void 0:n.text)?e:"",St.setTextRangePosWidth(t,0,null!=(e=null==n?void 0:n.text.length)?e:0),St.setEachParent(t.statements,t),St.setTextRangePosWidth(r,t.end,0),St.setParent(r,t),t})),y={getPrependNodes:St.memoize((function(){return eu(eu([],p,!0),[d],!1)})),getCanonicalFileName:n.getCanonicalFileName,getCommonSourceDirectory:function(){return St.getNormalizedAbsolutePath(c.bundle.commonSourceDirectory,l)},getCompilerOptions:function(){return e.options},getCurrentDirectory:function(){return n.getCurrentDirectory()},getNewLine:function(){return n.getNewLine()},getSourceFile:St.returnUndefined,getSourceFileByPath:St.returnUndefined,getSourceFiles:function(){return m},getLibFileFromReference:St.notImplemented,isSourceFileFromExternalLibrary:St.returnFalse,getResolvedProjectReferenceToRedirect:St.returnUndefined,getProjectReferenceRedirect:St.returnUndefined,isSourceOfProjectReferenceRedirect:St.returnFalse,writeFile:function(e,n,t){switch(e){case b:if(a===n)return;break;case E:if(i===n)return;break;case v:var r=yR(n),l=(r.program=c.program,c.bundle),d=l.js,p=l.dts;l=l.sourceFiles;return r.bundle.js.sources=d.sources,p&&(r.bundle.dts.sources=p.sources),r.bundle.sourceFiles=l,void u.push({name:e,text:gR(r),writeByteOrderMark:t});case T:if(o===n)return;break;case S:if(s===n)return;break;default:St.Debug.fail("Unexpected path: "+e)}u.push({name:e,text:n,writeByteOrderMark:t})},isEmitBlocked:St.returnFalse,readFile:function(e){return n.readFile(e)},fileExists:function(e){return n.fileExists(e)},useCaseSensitiveFileNames:function(){return n.useCaseSensitiveFileNames()},getProgramBuildInfo:St.returnUndefined,getSourceFileFromReference:St.returnUndefined,redirectTargetsMap:St.createMultiMap(),getFileIncludeReasons:St.notImplemented},fR(St.notImplementedResolver,y,void 0,St.getTransformers(e.options,r)),u)))):b:v},St.createPrinter=hR,(Lt=bY=bY||{}).createCachedDirectoryStructureHost=function(e,n,t){var r,a;if(e.getDirectories&&e.readDirectory)return r=new Lt.Map,a=Lt.createGetCanonicalFileName(t),{useCaseSensitiveFileNames:t,fileExists:function(n){var t=s(i(n));return t&&u(t.files,c(n))||e.fileExists(n)},readFile:function(n,t){return e.readFile(n,t)},directoryExists:e.directoryExists&&m,getDirectories:function(n){var t=i(n);t=l(n,t);return t?t.directories.slice():e.getDirectories(n)},readDirectory:function(r,a,o,s,d){var u,p=i(r),f=l(r,p);return void 0===f?e.readDirectory(r,a,o,s,d):Lt.matchFiles(r,a,o,s,t,n,d,(function(e){var n=i(e);if(n===p)return f||g(e,n);var t=l(e,n);return void 0!==t?t||g(e,n):Lt.emptyFileSystemEntries}),_,m);function g(n,t){return u&&t===p?u:(n={files:Lt.map(e.readDirectory(n,void 0,void 0,["*.*"]),c)||Lt.emptyArray,directories:e.getDirectories(n)||Lt.emptyArray},t===p&&(u=n),n)}},createDirectory:e.createDirectory&&function(n){var t=s(i(n)),r=c(n);t&&p(t.directories,r,!0),e.createDirectory(n)},writeFile:e.writeFile&&function(n,t,r){var a=s(i(n));return a&&f(a,c(n),!0),e.writeFile(n,t,r)},addOrDeleteFileOrDirectory:function(n,t){if(void 0===o(t)){var r=s(t);if(r){if(e.directoryExists)return n=c(n),t={fileExists:e.fileExists(t),directoryExists:e.directoryExists(t)},t.directoryExists||u(r.directories,n)?g():f(r,n,t.fileExists),t;g()}}else g()},addOrDeleteFile:function(e,n,t){t!==Lt.FileWatcherEventKind.Changed&&(n=s(n))&&f(n,c(e),t===Lt.FileWatcherEventKind.Created)},clearCache:g,realpath:e.realpath&&_};function i(e){return Lt.toPath(e,n,a)}function o(e){return r.get(Lt.ensureTrailingDirectorySeparator(e))}function s(e){return o(Lt.getDirectoryPath(e))}function c(e){return Lt.getBaseFileName(Lt.normalizePath(e))}function l(n,t){var a,s,l,d=o(t=Lt.ensureTrailingDirectorySeparator(t));if(d)return d;try{return a=n,s=t,e.realpath&&Lt.ensureTrailingDirectorySeparator(i(e.realpath(a)))!==s?null!=(l=e.directoryExists)&&l.call(e,a)?(r.set(s,!1),!1):void 0:(l={files:Lt.map(e.readDirectory(a,void 0,void 0,["*.*"]),c)||[],directories:e.getDirectories(a)||[]},r.set(Lt.ensureTrailingDirectorySeparator(s),l),l)}catch(n){Lt.Debug.assert(!r.has(Lt.ensureTrailingDirectorySeparator(t)))}}function d(e,n){return a(e)===a(n)}function u(e,n){return Lt.some(e,(function(e){return d(e,n)}))}function p(e,n,t){u(e,n)?t||Lt.filterMutate(e,(function(e){return!d(e,n)})):t&&e.push(n)}function m(n){var t=i(n);return r.has(Lt.ensureTrailingDirectorySeparator(t))||e.directoryExists(n)}function _(n){return e.realpath?e.realpath(n):n}function f(e,n,t){p(e.files,n,t)}function g(){r.clear()}},(tu=Lt.ConfigFileProgramReloadLevel||(Lt.ConfigFileProgramReloadLevel={}))[tu.None=0]="None",tu[tu.Partial=1]="Partial",tu[tu.Full=2]="Full",Lt.updateSharedExtendedConfigFileWatcher=function(e,n,t,r,a){var i=Lt.arrayToMap((null==(n=null==n?void 0:n.configFile)?void 0:n.extendedSourceFiles)||Lt.emptyArray,a);t.forEach((function(n,t){i.has(t)||(n.projects.delete(e),n.close())})),i.forEach((function(n,a){var i=t.get(a);i?i.projects.add(e):t.set(a,{projects:new Lt.Set([e]),watcher:r(n,a),close:function(){var e=t.get(a);e&&0===e.projects.size&&(e.watcher.close(),t.delete(a))}})}))},Lt.clearSharedExtendedConfigFileWatcher=function(e,n){n.forEach((function(n){n.projects.delete(e)&&n.close()}))},Lt.cleanExtendedConfigCache=function e(n,t,r){n.delete(t)&&n.forEach((function(a,i){null!=(a=a.extendedResult.extendedSourceFiles)&&a.some((function(e){return r(e)===t}))&&e(n,i,r)}))},Lt.updatePackageJsonWatch=function(e,n,t){e=new Lt.Map(e),Lt.mutateMap(n,e,{createNewValue:t,onDeleteValue:Lt.closeFileWatcher})},Lt.updateMissingFilePathsWatch=function(e,n,t){e=e.getMissingFilePaths(),e=Lt.arrayToMap(e,Lt.identity,Lt.returnTrue),Lt.mutateMap(n,e,{createNewValue:t,onDeleteValue:Lt.closeFileWatcher})},Lt.updateWatchingWildcardDirectories=function(e,n,t){function r(e,n){return{watcher:t(e,n),flags:n}}Lt.mutateMap(e,n,{createNewValue:r,onDeleteValue:vR,onExistingValue:function(n,t,a){n.flags!==t&&(n.watcher.close(),e.set(a,r(a,t)))}})},Lt.isIgnoredFileFromWildCardWatching=function(e){var n=e.watchedDirPath,t=e.fileOrDirectory,r=e.configFileName,a=e.options,i=e.program,o=e.extraFileExtensions,s=e.currentDirectory,c=e.useCaseSensitiveFileNames,l=e.writeLog,d=e.toPath;if(!(e=Lt.removeIgnoredPath(e.fileOrDirectoryPath)))return l("Project: "+r+" Detected ignored path: "+t),!0;if((e=e)===n)return!1;if(Lt.hasExtension(e)&&!Lt.isSupportedSourceFileName(t,a,o))return l("Project: "+r+" Detected file add/remove of non supported extension: "+t),!0;if(Lt.isExcludedFile(t,a.configFile.configFileSpecs,Lt.getNormalizedAbsolutePath(Lt.getDirectoryPath(r),s),c,s))return l("Project: "+r+" Detected excluded file: "+t),!0;if(!i)return!1;if(Lt.outFile(a)||a.outDir)return!1;if(Lt.fileExtensionIs(e,".d.ts")){if(a.declarationDir)return!1}else if(!Lt.fileExtensionIsOneOf(e,Lt.supportedJSExtensions))return!1;n=Lt.removeFileExtension(e);var u=Lt.isArray(i)?void 0:i.getState?i.getProgramOrUndefined():i,p=u||Lt.isArray(i)?void 0:i;return!(!m(n+".ts")&&!m(n+".tsx")||(l("Project: "+r+" Detected output file: "+t),0));function m(e){return u?u.getSourceFileByPath(e):p?p.getState().fileInfos.has(e):Lt.find(i,(function(n){return d(n)===e}))}},Lt.isEmittedFileOfProgram=function(e,n){return!!e&&e.isEmittedFile(n)},(tu=Dt=Lt.WatchLogLevel||(Lt.WatchLogLevel={}))[tu.None=0]="None",tu[tu.TriggerOnly=1]="TriggerOnly",tu[tu.Verbose=2]="Verbose",Lt.getWatchFactory=function(e,n,t,r){Lt.setSysLog(n===Dt.Verbose?t:Lt.noop);var a={watchFile:function(n,t,r,a){return e.watchFile(n,t,r,a)},watchDirectory:function(n,t,r,a){return e.watchDirectory(n,t,0!=(1&r),a)}},i=n!==Dt.None?{watchFile:l("watchFile"),watchDirectory:l("watchDirectory")}:void 0,o=n===Dt.Verbose?{watchFile:function(e,n,a,o,s,c){t("FileWatcher:: Added:: "+d(e,a,o,s,c,r));var l=i.watchFile(e,n,a,o,s,c);return{close:function(){t("FileWatcher:: Close:: "+d(e,a,o,s,c,r)),l.close()}}},watchDirectory:function(e,n,a,o,s,c){var l="DirectoryWatcher:: Added:: "+d(e,a,o,s,c,r),u=(t(l),Lt.timestamp()),p=i.watchDirectory(e,n,a,o,s,c);n=Lt.timestamp()-u;return t("Elapsed:: "+n+"ms "+l),{close:function(){var n="DirectoryWatcher:: Close:: "+d(e,a,o,s,c,r),i=(t(n),Lt.timestamp());p.close(),i=Lt.timestamp()-i;t("Elapsed:: "+i+"ms "+n)}}}}:i||a,s=n===Dt.Verbose?function(e,n,a,i,o){return t("ExcludeWatcher:: Added:: "+d(e,n,a,i,o,r)),{close:function(){return t("ExcludeWatcher:: Close:: "+d(e,n,a,i,o,r))}}}:Lt.returnNoopFileWatcher;return{watchFile:c("watchFile"),watchDirectory:c("watchDirectory")};function c(n){return function(t,r,a,i,c,l){var d;return Lt.matchesExclude(t,"watchFile"===n?null==i?void 0:i.excludeFiles:null==i?void 0:i.excludeDirectories,"boolean"==typeof e.useCaseSensitiveFileNames?e.useCaseSensitiveFileNames:e.useCaseSensitiveFileNames(),(null==(d=e.getCurrentDirectory)?void 0:d.call(e))||"")?s(t,a,i,c,l):o[n].call(void 0,t,r,a,i,c,l)}}function l(e){return function(n,i,o,s,c,l){return a[e].call(void 0,n,(function(){for(var a=[],u=0;u<arguments.length;u++)a[u]=arguments[u];var p=("watchFile"===e?"FileWatcher":"DirectoryWatcher")+":: Triggered with "+a[0]+" "+(void 0!==a[1]?a[1]:"")+":: "+d(n,o,s,c,l,r),m=(t(p),Lt.timestamp());i.call.apply(i,eu([void 0],a,!1)),m=Lt.timestamp()-m;t("Elapsed:: "+m+"ms "+p)}),o,s,c,l)}}function d(e,n,t,r,a,i){return"WatchInfo: "+e+" "+n+" "+JSON.stringify(t)+" "+(i?i(r,a):void 0===a?r:r+" "+a)}},Lt.getFallbackOptions=function(e){return{watchFile:void 0!==(e=null==e?void 0:e.fallbackPolling)?e:Lt.WatchFileKind.PriorityPollingInterval}},Lt.closeFileWatcherOf=vR,(At=bY=bY||{}).findConfigFile=function(e,n,t){return void 0===t&&(t="tsconfig.json"),At.forEachAncestorDirectory(e,(function(e){return e=At.combinePaths(e,t),n(e)?e:void 0}))},At.resolveTripleslashReference=bR,At.computeCommonSourceDirectoryOfFilenames=function(e,n,t){var r;return At.forEach(e,(function(e){var a=At.getNormalizedPathComponents(e,n);if(a.pop(),r){for(var i=Math.min(r.length,a.length),o=0;o<i;o++)if(t(r[o])!==t(a[o])){if(0===o)return!0;r.length=o;break}a.length<r.length&&(r.length=a.length)}else r=a}))?"":r?At.getPathFromPathComponents(r):n},At.createCompilerHost=ER,At.createCompilerHostWorker=TR,At.changeCompilerHostLikeToUseCache=function(e,n,t){function r(n,t){return t=a.call(e,t),l.set(n,void 0!==t&&t),t}var a=e.readFile,i=e.fileExists,o=e.directoryExists,s=e.createDirectory,c=e.writeFile,l=new At.Map,d=new At.Map,u=new At.Map,p=new At.Map,m=(e.readFile=function(t){var i=n(t),o=l.get(i);return void 0!==o?!1!==o?o:void 0:At.fileExtensionIs(t,".json")||At.isBuildInfoFile(t)?r(i,t):a.call(e,t)},t?function(e,r,a,i){var o=n(e),s=p.get(o);return s||((s=t(e,r,a,i))&&(At.isDeclarationFileName(e)||At.fileExtensionIs(e,".json"))&&p.set(o,s),s)}:void 0);return e.fileExists=function(t){var r=n(t),a=d.get(r);return void 0!==a||(a=i.call(e,t),d.set(r,!!a)),a},c&&(e.writeFile=function(t,r,a,i,o){var s=n(t),u=(d.delete(s),l.get(s));void 0!==u&&u!==r?(l.delete(s),p.delete(s)):m&&(u=p.get(s))&&u.text!==r&&p.delete(s),c.call(e,t,r,a,i,o)}),o&&s&&(e.directoryExists=function(t){var r=n(t),a=u.get(r);return void 0!==a||(a=o.call(e,t),u.set(r,!!a)),a},e.createDirectory=function(t){var r=n(t);u.delete(r),s.call(e,t)}),{originalReadFile:a,originalFileExists:i,originalDirectoryExists:o,originalCreateDirectory:s,originalWriteFile:c,getSourceFileWithCache:m,readFileWithCache:function(e){var t=n(e),a=l.get(t);return void 0!==a?!1!==a?a:void 0:r(t,e)}}},At.getPreEmitDiagnostics=function(e,n,t){var r=At.addRange(r,e.getConfigFileParsingDiagnostics());return r=At.addRange(r,e.getOptionsDiagnostics(t)),r=At.addRange(r,e.getSyntacticDiagnostics(n,t)),r=At.addRange(r,e.getGlobalDiagnostics(t)),r=At.addRange(r,e.getSemanticDiagnostics(n,t)),At.getEmitDeclarations(e.getCompilerOptions())&&(r=At.addRange(r,e.getDeclarationDiagnostics(n,t))),At.sortAndDeduplicateDiagnostics(r||At.emptyArray)},At.formatDiagnostics=function(e,n){for(var t="",r=0,a=e;r<a.length;r++)t+=SR(a[r],n);return t},At.formatDiagnostic=SR,(sm=Ct=At.ForegroundColorEscapeSequences||(At.ForegroundColorEscapeSequences={})).Grey="",sm.Red="",sm.Yellow="",sm.Blue="",sm.Cyan="",It="",Nt=" ",kt="",Rt="...",At.formatColorAndReset=LR,At.formatLocation=AR,At.formatDiagnosticsWithColorAndContext=function(e,n){for(var t="",r=0,a=e;r<a.length;r++){var i=a[r];if(i.file&&(t=t+AR(l=i.file,d=i.start,n)+" - "),t=(t=(t+=LR(At.diagnosticCategoryName(i),xR(i.category)))+LR(" TS"+i.code+": ",Ct.Grey))+CR(i.messageText,n.getNewLine()),i.file&&(t=(t+=n.getNewLine())+DR(i.file,i.start,i.length,"",xR(i.category),n)),i.relatedInformation){t+=n.getNewLine();for(var o=0,s=i.relatedInformation;o<s.length;o++){var c=s[o],l=c.file,d=c.start,u=c.length;c=c.messageText;l&&(t=(t=(t+=n.getNewLine())+" "+AR(l,d,n))+DR(l,d,u," ",Ct.Cyan,n)),t=(t+=n.getNewLine())+" "+CR(c,n.getNewLine())}}t+=n.getNewLine()}return t},At.flattenDiagnosticMessageText=CR,At.loadWithLocalCache=IR,At.forEachResolvedProjectReference=function(e,n){return NR(void 0,e,(function(e,t){return e&&n(e,t)}))},At.inferredTypesContainingFile="__inferred type names__.ts",At.isReferencedFile=kR,At.isReferenceFileLocation=RR,At.getReferencedFileLocation=OR,At.isProgramUptoDate=function(e,n,t,r,a,i,o,s,c){var l;return!(!e||null!=o&&o()||!At.arrayIsEqualTo(e.getRootFileNames(),n)||!At.arrayIsEqualTo(e.getProjectReferences(),c,(function(n,t,r){return At.projectReferenceIsEqualTo(n,t)&&function e(n,t){if(n)return!(!At.contains(l,n)&&(r=GR(t),!(r=s(r))||n.commandLine.options.configFile!==r.options.configFile||!At.arrayIsEqualTo(n.commandLine.fileNames,r.fileNames)||((l=l||[]).push(n),At.forEach(n.references,(function(t,r){return!e(t,n.commandLine.projectReferences[r])})))));var r=GR(t);return!s(r)}(e.getResolvedProjectReferences()[r],n)}))||e.getSourceFiles().some((function(e){return!(e=>e.version===r(e.resolvedPath,e.fileName))(e)||i(e.path)}))||e.getMissingFilePaths().some(a)||(o=e.getCompilerOptions(),!At.compareDataObjects(o,t))||o.configFile&&t.configFile&&o.configFile.text!==t.configFile.text)},At.getConfigFileParsingDiagnostics=function(e){return e.options.configFile?eu(eu([],e.options.configFile.parseDiagnostics,!0),e.errors,!0):e.errors},At.createProgram=function(e,n,t,r,a){var i,o,s,c,l,d,u,p,m,_,f,g,y,h,v,b,E,T,S,x,L,D,A,C=(n=At.isArray(e)?{rootNames:e,options:n,host:t,oldProgram:r,configFileParsingDiagnostics:a}:e).rootNames,I=n.options,N=n.configFileParsingDiagnostics,k=n.projectReferences,R=n.oldProgram,O=new At.Map,P=At.createMultiMap(),w={},M={},F=new At.Map,G="number"==typeof I.maxNodeModuleJsDepth?I.maxNodeModuleJsDepth:0,B=0,U=new At.Map,V=new At.Map,j=(null!=At.tracing&&At.tracing.push("program","createProgram",{configFilePath:I.configFilePath,rootDir:I.rootDir},!0),At.performance.mark("beforeProgram"),n.host||ER(I)),K=MR(j),H=I.noLib,W=At.memoize((function(){return j.getDefaultLibFileName(I)})),z=j.getDefaultLibLocation?j.getDefaultLibLocation():At.getDirectoryPath(W()),J=At.createDiagnosticCollection(),q=j.getCurrentDirectory(),X=At.getSupportedExtensions(I),Y=At.getSuppoertedExtensionsWithJsonIfResolveJsonModule(I,X),Q=new At.Map,Z=j.hasInvalidatedResolution||At.returnFalse,$=(h=j.resolveModuleNames?function(e,n,t,r){return j.resolveModuleNames(At.Debug.checkEachDefined(e),n,t,r,I).map((function(e){var n;return e&&void 0===e.extension?((n=At.clone(e)).extension=At.extensionFromPath(e.resolvedFileName),n):e}))}:(g=At.createModuleResolutionCache(q,In,I),y=function(e,n,t){return At.resolveModuleName(e,n,I,j,g,t).resolvedModule},function(e,n,t,r){return IR(At.Debug.checkEachDefined(e),n,r,y)}),E=j.resolveTypeReferenceDirectives?function(e,n,t){return j.resolveTypeReferenceDirectives(At.Debug.checkEachDefined(e),n,t,I)}:(v=At.createTypeReferenceDirectiveResolutionCache(q,In,void 0,null==g?void 0:g.getPackageJsonInfoCache()),b=function(e,n,t){return At.resolveTypeReferenceDirective(e,n,I,j,t,v).resolvedTypeReferenceDirective},function(e,n,t){return IR(At.Debug.checkEachDefined(e),n,t,b)}),new At.Map),ee=new At.Map,ne=At.createMultiMap(),te=!1,re=new At.Map,ae=j.useCaseSensitiveFileNames()?new At.Map:void 0,ie=!(null==(t=j.useSourceOfProjectReferenceRedirect)||!t.call(j)||I.disableSourceOfProjectReferenceRedirect),oe=(a=(r=(e=>{var n,t,r=e.compilerHost.fileExists,a=e.compilerHost.directoryExists,i=e.compilerHost.getDirectories,o=e.compilerHost.realpath;return e.useSourceOfProjectReferenceRedirect?(e.compilerHost.fileExists=s,a&&(t=e.compilerHost.directoryExists=function(t){var r,i,s,l,d;return a.call(e.compilerHost,t)?(r=t,e.getResolvedProjectReferences()&&!At.containsIgnoredPath(r)&&o&&At.stringContains(r,At.nodeModulesPathPart)&&(i=e.getSymlinkCache(),s=At.ensureTrailingDirectorySeparator(e.toPath(r)),null!=(l=i.getSymlinkedDirectories())&&l.has(s)||((l=At.normalizePath(o.call(e.compilerHost,r)))===r||(d=At.ensureTrailingDirectorySeparator(e.toPath(l)))===s?i.setSymlinkedDirectory(s,!1):i.setSymlinkedDirectory(r,{real:At.ensureTrailingDirectorySeparator(l),realPath:d}))),!0):!!e.getResolvedProjectReferences()&&(n||(n=new At.Set,e.forEachResolvedProjectReference((function(t){var r=At.outFile(t.commandLine.options);r?n.add(At.getDirectoryPath(e.toPath(r))):(r=t.commandLine.options.declarationDir||t.commandLine.options.outDir)&&n.add(e.toPath(r))}))),c(t,!1))}),i&&(e.compilerHost.getDirectories=function(n){return!e.getResolvedProjectReferences()||a&&a.call(e.compilerHost,n)?i.call(e.compilerHost,n):[]}),o&&(e.compilerHost.realpath=function(n){var t;return(null==(t=e.getSymlinkCache().getSymlinkedFiles())?void 0:t.get(e.toPath(n)))||o.call(e.compilerHost,n)}),{onProgramCreateComplete:function(){e.compilerHost.fileExists=r,e.compilerHost.directoryExists=a,e.compilerHost.getDirectories=i},fileExists:s,directoryExists:t}):{onProgramCreateComplete:At.noop,fileExists:s};function s(n){return!!r.call(e.compilerHost,n)||!!e.getResolvedProjectReferences()&&!!At.isDeclarationFileName(n)&&c(n,!0)}function c(t,a){var i,o,s,c=a?function(n){return n=n,void 0!==(n=e.getSourceOfProjectReferenceRedirect(n))?!At.isString(n)||r.call(e.compilerHost,n):void 0}:function(t){return r=e.toPath(t),a=""+r+At.directorySeparator,At.forEachKey(n,(function(e){return r===e||At.startsWith(e,a)||At.startsWith(r,e+"/")}));var r,a},l=c(t);return void 0!==l?l:(l=(o=e.getSymlinkCache()).getSymlinkedDirectories())&&(s=e.toPath(t),At.stringContains(s,At.nodeModulesPathPart))&&(!(!a||null==(i=o.getSymlinkedFiles())||!i.has(s))||At.firstDefinedIterator(l.entries(),(function(n){var r,i,l=n[0];n=n[1];if(n&&At.startsWith(s,l))return r=c(s.replace(l,n.realPath)),a&&r&&(i=At.getNormalizedAbsolutePath(t,e.compilerHost.getCurrentDirectory()),o.setSymlinkedFile(s,""+n.real+i.replace(new RegExp(l,"i"),""))),r})))||!1}})({compilerHost:j,getSymlinkCache:qn,useSourceOfProjectReferenceRedirect:ie,toPath:Pe,getResolvedProjectReferences:Ge,getSourceOfProjectReferenceRedirect:Tn,forEachResolvedProjectReference:En})).onProgramCreateComplete,e=r.fileExists,n=r.directoryExists,null!=At.tracing&&At.tracing.push("program","shouldProgramCreateNewSourceFiles",{hasOldProgram:!!R}),t=I,!!(r=R)&&At.optionsHaveChanges(r.getCompilerOptions(),t,At.sourceFileAffectingCompilerOptions));if(null!=At.tracing&&At.tracing.pop(),null!=At.tracing&&At.tracing.push("program","tryReuseStructureFromOldProgram",{}),A=(()=>{if(!R)return 0;var e=R.getCompilerOptions();if(At.changesAffectModuleResolution(e,I))return 0;var n=R.getRootFileNames();if(!At.arrayIsEqualTo(n,C))return 0;if(NR(R.getProjectReferences(),R.getResolvedProjectReferences(),(function(e,n,t){return n=kn((n?n.commandLine.projectReferences:k)[t]),e?!n||n.sourceFile!==e.sourceFile||!At.arrayIsEqualTo(e.commandLine.fileNames,n.commandLine.fileNames):void 0!==n}),(function(e,n){return n=n?xn(n.sourceFile.path).commandLine.projectReferences:k,!At.arrayIsEqualTo(e,n,At.projectReferenceIsEqualTo)})))return 0;k&&(S=k.map(kn));var t=[],r=[];if(A=2,R.getMissingFilePaths().some((function(e){return j.fileExists(e)})))return 0;n=R.getSourceFiles();for(var a={Exists:0,0:"Exists",Modified:1,1:"Modified"},i=new At.Map,o=0,s=n;o<s.length;o++){var l=s[o];if(!(G=j.getSourceFileByPath?j.getSourceFileByPath(l.fileName,l.resolvedPath,I.target,void 0,oe):j.getSourceFile(l.fileName,I.target,void 0,oe)))return 0;At.Debug.assert(!G.redirectInfo,"Host should not return a redirect source file from `getSourceFile`");var d=void 0;if(l.redirectInfo){if(G!==l.redirectInfo.unredirected)return 0;d=!1,G=l}else if(R.redirectTargetsMap.has(l.path)){if(G!==l)return 0;d=!1}else d=G!==l;G.path=l.path,G.originalFileName=l.originalFileName,G.resolvedPath=l.resolvedPath,G.fileName=l.fileName;var u=R.sourceFileToPackageName.get(l.path);if(void 0!==u){var p=i.get(u),m=d?1:0;if(void 0!==p&&1==m||1===p)return 0;i.set(u,m)}d?(At.arrayIsEqualTo(l.libReferenceDirectives,G.libReferenceDirectives,on)||(A=1),l.hasNoDefaultLib!==G.hasNoDefaultLib&&(A=1),At.arrayIsEqualTo(l.referencedFiles,G.referencedFiles,on)||(A=1),ln(G),At.arrayIsEqualTo(l.imports,G.imports,sn)||(A=1),At.arrayIsEqualTo(l.moduleAugmentations,G.moduleAugmentations,sn)||(A=1),(3145728&l.flags)!=(3145728&G.flags)&&(A=1),At.arrayIsEqualTo(l.typeReferenceDirectives,G.typeReferenceDirectives,on)||(A=1),r.push({oldFile:l,newFile:G})):Z(l.path)&&(A=1,r.push({oldFile:l,newFile:G})),t.push(G)}if(2!==A)return A;for(var f=r.map((function(e){return e.oldFile})),g=0,y=n;g<y.length;g++){var h=y[g];if(!At.contains(f,h))for(var v=0,b=h.ambientModuleNames;v<b.length;v++){var E=b[v];O.set(E,h.fileName)}}for(var x=0,L=r;x<L.length;x++){var D=L[x],N=(l=D.oldFile,D=UR(G=D.newFile),Me(D,G));D=(At.hasChangesInResolutions(D,N,l.resolvedModules,At.moduleResolutionIsEqualTo)?(A=1,G.resolvedModules=At.zipToMap(D,N)):G.resolvedModules=l.resolvedModules,At.map(G.typeReferenceDirectives,(function(e){return At.toFileNameLowerCase(e.fileName)}))),N=Ne(D,G);At.hasChangesInResolutions(D,N,l.resolvedTypeReferenceDirectiveNames,At.typeDirectiveIsEqualTo)?(A=1,G.resolvedTypeReferenceDirectiveNames=At.zipToMap(D,N)):G.resolvedTypeReferenceDirectiveNames=l.resolvedTypeReferenceDirectiveNames}if(2!==A)return A;if(At.changesAffectingProgramStructure(e,I)||null!=(a=j.hasChangedAutomaticTypeDirectiveNames)&&a.call(j))return 1;T=R.getMissingFilePaths(),At.Debug.assert(t.length===R.getSourceFiles().length);for(var w=0,M=t;w<M.length;w++){var G=M[w];re.set(G.path,G)}return R.getFilesByNameMap().forEach((function(e,n){e?e.path===n?R.isSourceFileFromExternalLibrary(e)&&V.set(e.path,!0):re.set(n,re.get(e.path)):re.set(n,e)})),c=t,P=R.getFileIncludeReasons(),_=R.getFileProcessingDiagnostics(),F=R.getResolvedTypeReferenceDirectives(),ee=R.sourceFileToPackageName,ne=R.redirectTargetsMap,te=R.usesUriStyleNodeCoreModules,2})(),null!=At.tracing&&At.tracing.pop(),2!==A){o=[],s=[],k&&(S=S||k.map(kn),C.length)&&null!=S&&S.forEach((function(e,n){if(e){var t=At.outFile(e.commandLine.options);if(ie){if(t||At.getEmitModuleKind(e.commandLine.options)===At.ModuleKind.None)for(var r=0,a=e.commandLine.fileNames;r<a.length;r++)pn(c=a[r],{kind:At.FileIncludeKind.SourceFromProjectReference,index:n})}else if(t)pn(At.changeExtension(t,".d.ts"),{kind:At.FileIncludeKind.OutputFromProjectReference,index:n});else if(At.getEmitModuleKind(e.commandLine.options)===At.ModuleKind.None)for(var i=At.memoize((function(){return At.getCommonSourceDirectoryOfConfig(e.commandLine,!j.useCaseSensitiveFileNames())})),o=0,s=e.commandLine.fileNames;o<s.length;o++){var c=s[o];At.fileExtensionIs(c,".d.ts")||At.fileExtensionIs(c,".json")||pn(At.getOutputDeclarationFileName(c,e.commandLine,!j.useCaseSensitiveFileNames(),i),{kind:At.FileIncludeKind.OutputFromProjectReference,index:n})}}})),null!=At.tracing&&At.tracing.push("program","processRootFiles",{count:C.length}),At.forEach(C,(function(e,n){return an(e,!1,!1,{kind:At.FileIncludeKind.RootFile,index:n})})),null!=At.tracing&&At.tracing.pop();var se=C.length?At.getAutomaticTypeDirectiveNames(I,j):At.emptyArray;if(se.length){null!=At.tracing&&At.tracing.push("program","processTypeReferences",{count:se.length});r=I.configFilePath?At.getDirectoryPath(I.configFilePath):j.getCurrentDirectory();for(var ce=Ne(se,At.combinePaths(r,At.inferredTypesContainingFile)),le=0;le<se.length;le++)An(se[le],ce[le],{kind:At.FileIncludeKind.AutomaticTypeDirectiveFile,typeReference:se[le],packageId:null==(i=ce[le])?void 0:i.packageId});null!=At.tracing&&At.tracing.pop()}C.length&&!H&&(t=W(),!I.lib&&t?an(t,!0,!1,{kind:At.FileIncludeKind.LibFile}):At.forEach(I.lib,(function(e,n){an(At.combinePaths(z,e),!0,!1,{kind:At.FileIncludeKind.LibFile,index:n})}))),T=At.arrayFrom(At.mapDefinedIterator(re.entries(),(function(e){var n=e[0];return void 0===e[1]?n:void 0}))),c=At.stableSort(o,(function(e,n){return At.compareValues(Oe(e),Oe(n))})).concat(s),s=o=void 0}if(At.Debug.assert(!!T),R&&j.onReleaseOldSourceFile){for(var de=0,ue=R.getSourceFiles();de<ue.length;de++){var pe=ue[de],me=We(pe.resolvedPath);(oe||!me||pe.resolvedPath===pe.path&&me.resolvedPath!==pe.path)&&j.onReleaseOldSourceFile(pe,R.getCompilerOptions(),!!We(pe.path))}j.getParsedCommandLine||R.forEachResolvedProjectReference((function(e){xn(e.sourceFile.path)||j.onReleaseOldSourceFile(e.sourceFile,R.getCompilerOptions(),!1)}))}R&&j.onReleaseParsedCommandLine&&NR(R.getProjectReferences(),R.getResolvedProjectReferences(),(function(e,n,t){n=GR((null==n?void 0:n.commandLine.projectReferences[t])||R.getProjectReferences()[t]),null!=x&&x.has(Pe(n))||j.onReleaseParsedCommandLine(n,e,R.getCompilerOptions())}));R=v=void 0;var _e={getRootFileNames:function(){return C},getSourceFile:He,getSourceFileByPath:We,getSourceFiles:function(){return c},getMissingFilePaths:function(){return T},getModuleResolutionCache:function(){return g},getFilesByNameMap:function(){return re},getCompilerOptions:function(){return I},getSyntacticDiagnostics:function(e,n){return ze(e,qe,n)},getOptionsDiagnostics:function(){return At.sortAndDeduplicateDiagnostics(At.concatenate(J.getGlobalDiagnostics(),(()=>{var e;return I.configFile?(e=J.getDiagnostics(I.configFile.fileName),En((function(n){e=At.concatenate(e,J.getDiagnostics(n.sourceFile.fileName))})),e):At.emptyArray})()))},getGlobalDiagnostics:function(){return C.length?At.sortAndDeduplicateDiagnostics(Ve().getGlobalDiagnostics().slice()):At.emptyArray},getSemanticDiagnostics:function(e,n){return ze(e,Ye,n)},getCachedSemanticDiagnostics:function(e){var n;return e?null==(n=w.perFile)?void 0:n.get(e.path):w.allDiagnostics},getSuggestionDiagnostics:function(e,n){return Xe((function(){return Ve().getSuggestionDiagnostics(e,n)}))},getDeclarationDiagnostics:function(e,n){var t=_e.getCompilerOptions();return!e||At.outFile(t)?en(e,n):ze(e,rn,n)},getBindAndCheckDiagnostics:Qe,getProgramDiagnostics:Je,getTypeChecker:je,getClassifiableNames:function(){if(!m){je(),m=new At.Set;for(var e=0,n=c;e<n.length;e++){var t=n[e];null!=(t=t.classifiableNames)&&t.forEach((function(e){return m.add(e)}))}}return m},getDiagnosticsProducingTypeChecker:Ve,getCommonSourceDirectory:we,emit:function(e,n,t,r,a,i){null!=At.tracing&&At.tracing.push("emit","emit",{path:null==e?void 0:e.path},!0);var o=Xe((function(){var o=_e,s=e,c=n,l=t,d=r,u=a,p=i;return!p&&(o=PR(o,s,c,l),o)?o:(o=Ve().getEmitResolver(At.outFile(I)?void 0:s,l),At.performance.mark("beforeEmit"),l=At.emitFiles(o,Fe(c),s,At.getTransformers(I,u,d),d,!1,p),At.performance.mark("afterEmit"),At.performance.measure("Emit","beforeEmit","afterEmit"),l)}));return null==At.tracing||At.tracing.pop(),o},getCurrentDirectory:function(){return q},getNodeCount:function(){return Ve().getNodeCount()},getIdentifierCount:function(){return Ve().getIdentifierCount()},getSymbolCount:function(){return Ve().getSymbolCount()},getTypeCount:function(){return Ve().getTypeCount()},getInstantiationCount:function(){return Ve().getInstantiationCount()},getRelationCacheSizes:function(){return Ve().getRelationCacheSizes()},getFileProcessingDiagnostics:function(){return _},getResolvedTypeReferenceDirectives:function(){return F},isSourceFileFromExternalLibrary:Ue,isSourceFileDefaultLibrary:function(e){if(e.hasNoDefaultLib)return!0;if(!I.noLib)return!1;var n=j.useCaseSensitiveFileNames()?At.equateStringsCaseSensitive:At.equateStringsCaseInsensitive;return I.lib?At.some(I.lib,(function(t){return n(e.fileName,At.combinePaths(z,t))})):n(e.fileName,W())},dropDiagnosticsProducingTypeChecker:function(){u=void 0},getSourceFileFromReference:function(e,n){return dn(bR(n.fileName,e.fileName),He)},getLibFileFromReference:function(e){if(e=At.toFileNameLowerCase(e.fileName),e=At.libMap.get(e),e)return He(At.combinePaths(z,e))},sourceFileToPackageName:ee,redirectTargetsMap:ne,usesUriStyleNodeCoreModules:te,isEmittedFile:function(e){if(!I.noEmit&&(e=Pe(e),!We(e))){var n=At.outFile(I);if(n)return Jn(e,n)||Jn(e,At.removeFileExtension(n)+".d.ts");if(I.declarationDir&&At.containsPath(I.declarationDir,e,q,!j.useCaseSensitiveFileNames()))return!0;if(I.outDir)return At.containsPath(I.outDir,e,q,!j.useCaseSensitiveFileNames());if(At.fileExtensionIsOneOf(e,At.supportedJSExtensions)||At.fileExtensionIs(e,".d.ts"))return!!We((n=At.removeFileExtension(e))+".ts")||!!We(n+".tsx")}return!1},getConfigFileParsingDiagnostics:function(){return N||At.emptyArray},getResolvedModuleWithFailedLookupLocationsFromCache:function(e,n){return g&&At.resolveModuleNameFromCache(e,n,g)},getProjectReferences:function(){return k},getResolvedProjectReferences:Ge,getProjectReferenceRedirect:yn,getResolvedProjectReferenceToRedirect:bn,getResolvedProjectReferenceByPath:xn,forEachResolvedProjectReference:En,isSourceOfProjectReferenceRedirect:Sn,emitBuildInfo:function(e){return At.Debug.assert(!At.outFile(I)),null!=At.tracing&&At.tracing.push("emit","emitBuildInfo",{},!0),At.performance.mark("beforeEmit"),e=At.emitFiles(At.notImplementedResolver,Fe(e),void 0,At.noTransformers,!1,!0),At.performance.mark("afterEmit"),At.performance.measure("Emit","beforeEmit","afterEmit"),null==At.tracing||At.tracing.pop(),e},fileExists:e,directoryExists:n,getSymlinkCache:qn,realpath:null==(r=j.realpath)?void 0:r.bind(j),useCaseSensitiveFileNames:function(){return j.useCaseSensitiveFileNames()},getFileIncludeReasons:function(){return P},structureIsReused:A},fe=(t=(a(),null!=_&&_.forEach((function(e){switch(e.kind){case 1:return J.add(Rn(e.file&&We(e.file),e.fileProcessingReason,e.diagnostic,e.args||At.emptyArray));case 0:var n=OR(We,e.reason),t=n.file,r=n.pos;n=n.end;return J.add(At.createFileDiagnostic.apply(void 0,eu([t,At.Debug.checkDefined(r),At.Debug.checkDefined(n)-r,e.diagnostic],e.args||At.emptyArray,!1)));default:At.Debug.assertNever(e)}})),I.strictPropertyInitialization&&!At.getStrictOptionValue(I,"strictNullChecks")&&Un(At.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"strictPropertyInitialization","strictNullChecks"),I.exactOptionalPropertyTypes&&!At.getStrictOptionValue(I,"strictNullChecks")&&Un(At.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"exactOptionalPropertyTypes","strictNullChecks"),I.isolatedModules&&(I.out&&Un(At.Diagnostics.Option_0_cannot_be_specified_with_option_1,"out","isolatedModules"),I.outFile)&&Un(At.Diagnostics.Option_0_cannot_be_specified_with_option_1,"outFile","isolatedModules"),I.inlineSourceMap&&(I.sourceMap&&Un(At.Diagnostics.Option_0_cannot_be_specified_with_option_1,"sourceMap","inlineSourceMap"),I.mapRoot)&&Un(At.Diagnostics.Option_0_cannot_be_specified_with_option_1,"mapRoot","inlineSourceMap"),I.composite&&(!1===I.declaration&&Un(At.Diagnostics.Composite_projects_may_not_disable_declaration_emit,"declaration"),!1===I.incremental)&&Un(At.Diagnostics.Composite_projects_may_not_disable_incremental_compilation,"declaration"),At.outFile(I)),I.tsBuildInfoFile?At.isIncrementalCompilation(I)||Un(At.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"tsBuildInfoFile","incremental","composite"):!I.incremental||t||I.configFilePath||J.add(At.createCompilerDiagnostic(At.Diagnostics.Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified)),I.suppressOutputPathCheck?void 0:At.getTsBuildInfoEmitOutputFilePath(I));if(NR(k,S,(function(e,n,t){var r,a=(n?n.commandLine.projectReferences:k)[t],i=n&&n.sourceFile;e?((e=e.commandLine.options).composite&&!e.noEmit||(n?n.commandLine.fileNames:C).length&&(e.composite||jn(i,t,At.Diagnostics.Referenced_project_0_must_have_setting_composite_Colon_true,a.path),e.noEmit)&&jn(i,t,At.Diagnostics.Referenced_project_0_may_not_disable_emit,a.path),a.prepend&&((r=At.outFile(e))?j.fileExists(r)||jn(i,t,At.Diagnostics.Output_file_0_from_project_1_does_not_exist,r,a.path):jn(i,t,At.Diagnostics.Cannot_prepend_project_0_because_it_does_not_have_outFile_set,a.path)),!n&&fe&&fe===At.getTsBuildInfoEmitOutputFilePath(e)&&(jn(i,t,At.Diagnostics.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1,fe,a.path),Q.set(Pe(fe),!0))):jn(i,t,At.Diagnostics.File_0_not_found,a.path)})),I.composite)for(var ge=new At.Set(C.map(Pe)),ye=0,he=c;ye<he.length;ye++){var ve=he[ye];At.sourceFileMayBeEmitted(ve,_e)&&!ge.has(ve.path)&&Pn(ve,At.Diagnostics.File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern,[ve.fileName,I.configFilePath||""])}if(I.paths)for(var be in I.paths)if(At.hasProperty(I.paths,be))if(At.hasZeroOrOneAsteriskCharacter(be)||Mn(!0,be,At.Diagnostics.Pattern_0_can_have_at_most_one_Asterisk_character,be),At.isArray(I.paths[be])){var Ee=I.paths[be].length;0===Ee&&Mn(!1,be,At.Diagnostics.Substitutions_for_pattern_0_shouldn_t_be_an_empty_array,be);for(var Te=0;Te<Ee;Te++){var Se=I.paths[be][Te],xe=typeof Se;"string"==xe?(At.hasZeroOrOneAsteriskCharacter(Se)||wn(be,Te,At.Diagnostics.Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character,Se,be),I.baseUrl||At.pathIsRelative(Se)||At.pathIsAbsolute(Se)||wn(be,Te,At.Diagnostics.Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash)):wn(be,Te,At.Diagnostics.Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2,Se,be,xe)}}else Mn(!1,be,At.Diagnostics.Substitutions_for_pattern_0_should_be_an_array,be);I.sourceMap||I.inlineSourceMap||(I.inlineSources&&Un(At.Diagnostics.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided,"inlineSources"),I.sourceRoot&&Un(At.Diagnostics.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided,"sourceRoot")),I.out&&I.outFile&&Un(At.Diagnostics.Option_0_cannot_be_specified_with_option_1,"out","outFile"),!I.mapRoot||I.sourceMap||I.declarationMap||Un(At.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"mapRoot","sourceMap","declarationMap"),I.declarationDir&&(At.getEmitDeclarations(I)||Un(At.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"declarationDir","declaration","composite"),t)&&Un(At.Diagnostics.Option_0_cannot_be_specified_with_option_1,"declarationDir",I.out?"out":"outFile"),I.declarationMap&&!At.getEmitDeclarations(I)&&Un(At.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"declarationMap","declaration","composite"),I.lib&&I.noLib&&Un(At.Diagnostics.Option_0_cannot_be_specified_with_option_1,"lib","noLib"),I.noImplicitUseStrict&&At.getStrictOptionValue(I,"alwaysStrict")&&Un(At.Diagnostics.Option_0_cannot_be_specified_with_option_1,"noImplicitUseStrict","alwaysStrict");var Le,De,Ae;e=I.target||0,n=At.find(c,(function(e){return At.isExternalModule(e)&&!e.isDeclarationFile}));function Ce(e,n){var t,r;e&&(t=Pe(e),re.has(t)&&(r=void 0,I.configFilePath||(r=At.chainDiagnosticMessages(void 0,At.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)),r=At.chainDiagnosticMessages(r,At.Diagnostics.Cannot_write_file_0_because_it_would_overwrite_input_file,e),zn(e,At.createCompilerDiagnosticFromMessageChain(r))),r=j.useCaseSensitiveFileNames()?t:At.toFileNameLowerCase(t),n.has(r)?zn(e,At.createCompilerDiagnostic(At.Diagnostics.Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files,e)):n.add(r))}return I.isolatedModules?(I.module===At.ModuleKind.None&&e<2&&Un(At.Diagnostics.Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher,"isolatedModules","target"),!1===I.preserveConstEnums&&Un(At.Diagnostics.Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled,"preserveConstEnums","isolatedModules"),(De=At.find(c,(function(e){return!At.isExternalModule(e)&&!At.isSourceFileJS(e)&&!e.isDeclarationFile&&6!==e.scriptKind})))&&(Le=At.getErrorSpanForNode(De,De),J.add(At.createFileDiagnostic(De,Le.start,Le.length,At.Diagnostics._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,At.getBaseFileName(De.fileName))))):n&&e<2&&I.module===At.ModuleKind.None&&(Le=At.getErrorSpanForNode(n,n.externalModuleIndicator),J.add(At.createFileDiagnostic(n,Le.start,Le.length,At.Diagnostics.Cannot_use_imports_exports_or_module_augmentations_when_module_is_none))),t&&!I.emitDeclarationOnly&&(I.module&&I.module!==At.ModuleKind.AMD&&I.module!==At.ModuleKind.System?Un(At.Diagnostics.Only_amd_and_system_modules_are_supported_alongside_0,I.out?"out":"outFile","module"):void 0===I.module&&n&&(Le=At.getErrorSpanForNode(n,n.externalModuleIndicator),J.add(At.createFileDiagnostic(n,Le.start,Le.length,At.Diagnostics.Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system,I.out?"out":"outFile")))),I.resolveJsonModule&&(At.getEmitModuleResolutionKind(I)!==At.ModuleResolutionKind.NodeJs?Un(At.Diagnostics.Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy,"resolveJsonModule"):At.hasJsonModuleEmitEnabled(I)||Un(At.Diagnostics.Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext,"resolveJsonModule","module")),(I.outDir||I.rootDir||I.sourceRoot||I.mapRoot)&&(De=we(),I.outDir)&&""===De&&c.some((function(e){return 1<At.getRootLength(e.fileName)}))&&Un(At.Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir"),I.useDefineForClassFields&&0===e&&Un(At.Diagnostics.Option_0_cannot_be_specified_when_option_target_is_ES3,"useDefineForClassFields"),I.checkJs&&!At.getAllowJSCompilerOption(I)&&J.add(At.createCompilerDiagnostic(At.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs")),I.emitDeclarationOnly&&(At.getEmitDeclarations(I)||Un(At.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite"),I.noEmit)&&Un(At.Diagnostics.Option_0_cannot_be_specified_with_option_1,"emitDeclarationOnly","noEmit"),I.emitDecoratorMetadata&&!I.experimentalDecorators&&Un(At.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators"),I.jsxFactory?(I.reactNamespace&&Un(At.Diagnostics.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory"),4!==I.jsx&&5!==I.jsx||Un(At.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFactory",At.inverseJsxOptionMap.get(""+I.jsx)),At.parseIsolatedEntityName(I.jsxFactory,e)||Vn("jsxFactory",At.Diagnostics.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,I.jsxFactory)):I.reactNamespace&&!At.isIdentifierText(I.reactNamespace,e)&&Vn("reactNamespace",At.Diagnostics.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,I.reactNamespace),I.jsxFragmentFactory&&(I.jsxFactory||Un(At.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"jsxFragmentFactory","jsxFactory"),4!==I.jsx&&5!==I.jsx||Un(At.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFragmentFactory",At.inverseJsxOptionMap.get(""+I.jsx)),At.parseIsolatedEntityName(I.jsxFragmentFactory,e)||Vn("jsxFragmentFactory",At.Diagnostics.Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name,I.jsxFragmentFactory)),!I.reactNamespace||4!==I.jsx&&5!==I.jsx||Un(At.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"reactNamespace",At.inverseJsxOptionMap.get(""+I.jsx)),I.jsxImportSource&&2===I.jsx&&Un(At.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxImportSource",At.inverseJsxOptionMap.get(""+I.jsx)),I.noEmit||I.suppressOutputPathCheck||(t=Fe(),Ae=new At.Set,At.forEachEmittedFile(t,(function(e){I.emitDeclarationOnly||Ce(e.jsFilePath,Ae),Ce(e.declarationFilePath,Ae)}))),At.performance.mark("afterProgram"),At.performance.measure("Program","beforeProgram","afterProgram"),null!=At.tracing&&At.tracing.pop(),_e;function Ie(e,n,t){var r;return e.length?(r=At.getNormalizedAbsolutePath(n.originalFileName,q),n=ke(n),null!=At.tracing&&At.tracing.push("program","resolveModuleNamesWorker",{containingFileName:r}),At.performance.mark("beforeResolveModule"),e=h(e,r,t,n),At.performance.mark("afterResolveModule"),At.performance.measure("ResolveModule","beforeResolveModule","afterResolveModule"),null!=At.tracing&&At.tracing.pop(),e):At.emptyArray}function Ne(e,n){var t;return e.length?(t=At.isString(n)?n:At.getNormalizedAbsolutePath(n.originalFileName,q),n=At.isString(n)?void 0:ke(n),null!=At.tracing&&At.tracing.push("program","resolveTypeReferenceDirectiveNamesWorker",{containingFileName:t}),At.performance.mark("beforeResolveTypeReference"),e=E(e,t,n),At.performance.mark("afterResolveTypeReference"),At.performance.measure("ResolveTypeReference","beforeResolveTypeReference","afterResolveTypeReference"),null!=At.tracing&&At.tracing.pop(),e):[]}function ke(e){var n,t=bn(e.originalFileName);return t||!At.fileExtensionIs(e.originalFileName,".d.ts")?t:Re(e.originalFileName,e.path)||(j.realpath&&I.preserveSymlinks&&At.stringContains(e.originalFileName,At.nodeModulesPathPart)&&(n=Pe(t=j.realpath(e.originalFileName)))!==e.path?Re(t,n):void 0)}function Re(e,n){return e=Tn(e),At.isString(e)?bn(e):e?En((function(e){var t=At.outFile(e.commandLine.options);return t&&Pe(t)===n?e:void 0})):void 0}function Oe(e){if(At.containsPath(z,e.fileName,!1)){if(e=At.getBaseFileName(e.fileName),"lib.d.ts"===e||"lib.es6.d.ts"===e)return 0;if(e=At.removeSuffix(At.removePrefix(e,"lib."),".d.ts"),e=At.libs.indexOf(e),-1!==e)return e+1}return At.libs.length+2}function Pe(e){return At.toPath(e,q,In)}function we(){var e;return void 0===d&&(e=At.filter(c,(function(e){return At.sourceFileMayBeEmitted(e,_e)})),d=At.getCommonSourceDirectory(I,(function(){return At.mapDefined(e,(function(e){return e.isDeclarationFile?void 0:e.fileName}))}),q,In,(function(n){for(var t=e,r=n,a=!0,i=j.getCanonicalFileName(At.getNormalizedAbsolutePath(r,q)),o=0,s=t;o<s.length;o++){var c=s[o];c.isDeclarationFile||0!==j.getCanonicalFileName(At.getNormalizedAbsolutePath(c.fileName,q)).indexOf(i)&&(Pn(c,At.Diagnostics.File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files,[c.fileName,r]),a=!1)}return a}))),d}function Me(e,n){if(0===A&&!n.ambientModuleNames.length)return Ie(e,n,void 0);var t,r,a,i=R&&R.getSourceFile(n.fileName);if(i!==n&&n.resolvedModules){for(var o=[],s=0,c=e;s<c.length;s++){var l=c[s],d=n.resolvedModules.get(l);o.push(d)}return o}for(var u={},p=0;p<e.length;p++){if(l=e[p],n===i&&!Z(i.path)){var m=At.getResolvedModule(i,l);if(m){At.isTraceEnabled(I,j)&&At.trace(j,m.packageId?At.Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:At.Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2,l,At.getNormalizedAbsolutePath(n.originalFileName,q),m.resolvedFileName,m.packageId&&At.packageIdToString(m.packageId)),(r=r||new Array(e.length))[p]=m,(a=a||[]).push(l);continue}}m=!1,At.contains(n.ambientModuleNames,l)?(m=!0,At.isTraceEnabled(I,j)&&At.trace(j,At.Diagnostics.Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1,l,At.getNormalizedAbsolutePath(n.originalFileName,q))):m=(e=>{var n=At.getResolvedModule(i,e),t=n&&R.getSourceFile(n.resolvedFileName);return!(n&&t||!(n=O.get(e))||(At.isTraceEnabled(I,j)&&At.trace(j,At.Diagnostics.Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified,e,n),0))})(l),m?(r=r||new Array(e.length))[p]=u:(t=t||[]).push(l)}var _=t&&t.length?Ie(t,n,a):At.emptyArray;if(!r)return At.Debug.assert(_.length===e.length),_;var f=0;for(p=0;p<r.length;p++)r[p]?r[p]===u&&(r[p]=void 0):(r[p]=_[f],f++);return At.Debug.assert(f===_.length),r}function Fe(e){return{getPrependNodes:Be,getCanonicalFileName:In,getCommonSourceDirectory:_e.getCommonSourceDirectory,getCompilerOptions:_e.getCompilerOptions,getCurrentDirectory:function(){return q},getNewLine:function(){return j.getNewLine()},getSourceFile:_e.getSourceFile,getSourceFileByPath:_e.getSourceFileByPath,getSourceFiles:_e.getSourceFiles,getLibFileFromReference:_e.getLibFileFromReference,isSourceFileFromExternalLibrary:Ue,getResolvedProjectReferenceToRedirect:bn,getProjectReferenceRedirect:yn,isSourceOfProjectReferenceRedirect:Sn,getSymlinkCache:qn,writeFile:e||function(e,n,t,r,a){return j.writeFile(e,n,t,r,a)},isEmitBlocked:Ke,readFile:function(e){return j.readFile(e)},fileExists:function(e){var n=Pe(e);return!!We(n)||!At.contains(T,n)&&j.fileExists(e)},useCaseSensitiveFileNames:function(){return j.useCaseSensitiveFileNames()},getProgramBuildInfo:function(){return _e.getProgramBuildInfo&&_e.getProgramBuildInfo()},getSourceFileFromReference:function(e,n){return _e.getSourceFileFromReference(e,n)},redirectTargetsMap:ne,getFileIncludeReasons:_e.getFileIncludeReasons}}function Ge(){return S}function Be(){return FR(k,(function(e,n){return null==(n=S[n])?void 0:n.commandLine}),(function(e){e=Pe(e);var n=We(e);return n?n.text:re.has(e)?void 0:j.readFile(e)}))}function Ue(e){return!!V.get(e.path)}function Ve(){return u=u||At.createTypeChecker(_e,!0)}function je(){return p=p||At.createTypeChecker(_e,!1)}function Ke(e){return Q.has(Pe(e))}function He(e){return We(Pe(e))}function We(e){return re.get(e)||void 0}function ze(e,n,t){return e?n(e,t):At.sortAndDeduplicateDiagnostics(At.flatMap(_e.getSourceFiles(),(function(e){return t&&t.throwIfCancellationRequested(),n(e,t)})))}function Je(e){var n,t;return At.skipTypeChecking(e,I,_e)?At.emptyArray:(t=J.getDiagnostics(e.fileName),null!=(n=e.commentDirectives)&&n.length?$e(e,e.commentDirectives,t).diagnostics:t)}function qe(e){var n;return At.isSourceFileJS(e)?(e.additionalSyntacticDiagnostics||(e.additionalSyntacticDiagnostics=(n=e,Xe((function(){var e=[];return t(n,n),At.forEachChildRecursively(n,t,(function(n,t){switch(t.decorators!==n||I.experimentalDecorators||e.push(a(t,At.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)),t.kind){case 255:case 224:case 167:case 169:case 170:case 171:case 211:case 254:case 212:if(n===t.typeParameters)return e.push(r(n,At.Diagnostics.Type_parameter_declarations_can_only_be_used_in_TypeScript_files)),"skip";case 235:if(n===t.modifiers)return((n,t)=>{for(var r=0,i=n;r<i.length;r++){var o=i[r];switch(o.kind){case 85:if(t)continue;case 123:case 121:case 122:case 143:case 134:case 126:case 157:e.push(a(o,At.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,At.tokenToString(o.kind)))}}})(t.modifiers,235===t.kind),"skip";break;case 165:if(n!==t.modifiers)break;for(var i=0,o=n;i<o.length;i++){var s=o[i];124!==s.kind&&e.push(a(s,At.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,At.tokenToString(s.kind)))}return"skip";case 162:if(n===t.modifiers)return e.push(r(n,At.Diagnostics.Parameter_modifiers_can_only_be_used_in_TypeScript_files)),"skip";break;case 206:case 207:case 226:case 277:case 278:case 208:if(n===t.typeArguments)return e.push(r(n,At.Diagnostics.Type_arguments_can_only_be_used_in_TypeScript_files)),"skip"}})),e;function t(n,t){switch(t.kind){case 162:case 165:case 167:if(t.questionToken===n)return e.push(a(n,At.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(t.type===n)return e.push(a(n,At.Diagnostics.Type_annotations_can_only_be_used_in_TypeScript_files)),"skip"}switch(n.kind){case 265:if(n.isTypeOnly)return e.push(a(t,At.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"import type")),"skip";break;case 270:if(n.isTypeOnly)return e.push(a(n,At.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"export type")),"skip";break;case 263:return e.push(a(n,At.Diagnostics.import_can_only_be_used_in_TypeScript_files)),"skip";case 269:if(n.isExportEquals)return e.push(a(n,At.Diagnostics.export_can_only_be_used_in_TypeScript_files)),"skip";break;case 289:if(117===n.token)return e.push(a(n,At.Diagnostics.implements_clauses_can_only_be_used_in_TypeScript_files)),"skip";break;case 256:var r=At.tokenToString(118);return At.Debug.assertIsDefined(r),e.push(a(n,At.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,r)),"skip";case 259:return r=16&n.flags?At.tokenToString(141):At.tokenToString(140),At.Debug.assertIsDefined(r),e.push(a(n,At.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,r)),"skip";case 257:return e.push(a(n,At.Diagnostics.Type_aliases_can_only_be_used_in_TypeScript_files)),"skip";case 258:return r=At.Debug.checkDefined(At.tokenToString(92)),e.push(a(n,At.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,r)),"skip";case 228:return e.push(a(n,At.Diagnostics.Non_null_assertions_can_only_be_used_in_TypeScript_files)),"skip";case 227:return e.push(a(n.type,At.Diagnostics.Type_assertion_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 209:At.Debug.fail()}}function r(e,t,r,a,i){var o=e.pos;return At.createFileDiagnostic(n,o,e.end-o,t,r,a,i)}function a(e,t,r,a,i){return At.createDiagnosticForNodeInSourceFile(n,e,t,r,a,i)}})))),At.concatenate(e.additionalSyntacticDiagnostics,e.parseDiagnostics)):e.parseDiagnostics}function Xe(e){try{return e()}catch(e){throw e instanceof At.OperationCanceledException&&(u=p=void 0),e}}function Ye(e,n){return At.concatenate(wR(Qe(e,n),I),Je(e))}function Qe(e,n){return tn(e,n,w,Ze)}function Ze(e,n){return Xe((function(){var t,r,a,i;return At.skipTypeChecking(e,I,_e)?At.emptyArray:(i=Ve(),At.Debug.assert(!!e.bindDiagnostics),t=At.isCheckJsEnabledForFile(e,I),a=(r=!(e.checkJsDirective&&!1===e.checkJsDirective.enabled)&&(3===e.scriptKind||4===e.scriptKind||5===e.scriptKind||t||7===e.scriptKind))?e.bindDiagnostics:At.emptyArray,i=r?i.getDiagnostics(e,n):At.emptyArray,function(e,n){for(var t=[],r=2;r<arguments.length;r++)t[r-2]=arguments[r];var a=At.flatten(t);if(!n||null==(n=e.commentDirectives)||!n.length)return a;n=$e(e,e.commentDirectives,a);for(var i=n.diagnostics,o=0,s=n.directives.getUnusedExpectations();o<s.length;o++){var c=s[o];i.push(At.createDiagnosticForRange(e,c.range,At.Diagnostics.Unused_ts_expect_error_directive))}return i}(e,r,a,i,t?e.jsDocDiagnostics:void 0))}))}function $e(e,n,t){var r=At.createCommentDirectivesMap(e,n);return{diagnostics:t.filter((function(e){return-1===((e,n)=>{var t=e.file;e=e.start;if(t)for(var r=At.getLineStarts(t),a=At.computeLineAndCharacterOfPosition(r,e).line-1;0<=a;){if(n.markUsed(a))return a;var i=t.text.slice(r[a],r[a+1]).trim();if(""!==i&&!/^(\s*)\/\/(.*)$/.test(i))return-1;a--}return-1})(e,r)})),directives:r}}function en(e,n){return tn(e,n,M,nn)}function nn(e,n){return Xe((function(){var t=Ve().getEmitResolver(e,n);return At.getDeclarationDiagnostics(Fe(At.noop),t,e)||At.emptyArray}))}function tn(e,n,t,r){var a=e?null==(a=t.perFile)?void 0:a.get(e.path):t.allDiagnostics;return a||(a=r(e,n),e?(t.perFile||(t.perFile=new At.Map)).set(e.path,a):t.allDiagnostics=a,a)}function rn(e,n){return e.isDeclarationFile?[]:en(e,n)}function an(e,n,t,r){un(At.normalizePath(e),n,t,void 0,r)}function on(e,n){return e.fileName===n.fileName}function sn(e,n){return 79===e.kind?79===n.kind&&e.escapedText===n.escapedText:10===n.kind&&e.text===n.text}function cn(e,n){e=At.factory.createStringLiteral(e);var t=At.factory.createImportDeclaration(void 0,void 0,void 0,e);return At.addEmitFlags(t,67108864),At.setParent(e,t),At.setParent(t,n),e.flags&=-9,t.flags&=-9,e}function ln(e){if(!e.imports){var n,t,r,a,i=At.isSourceFileJS(e),o=At.isExternalModule(e);(I.isolatedModules||o)&&!e.isDeclarationFile&&(I.importHelpers&&(n=[cn(At.externalHelpersModuleNameText,e)]),a=At.getJSXRuntimeImport(At.getJSXImplicitImportBase(I,e),I))&&(n=n||[]).push(cn(a,e));for(var s=0,c=e.statements;s<c.length;s++)!function a(i,s){if(At.isAnyImportOrReExport(i)){var c=At.getExternalModuleName(i);!(c&&At.isStringLiteral(c)&&c.text)||s&&At.isExternalModuleNameRelative(c.text)||(n=At.append(n,c),te)||0!==B||e.isDeclarationFile||(te=At.startsWith(c.text,"node:"))}else if(At.isModuleDeclaration(i)&&At.isAmbientModule(i)&&(s||At.hasSyntacticModifier(i,2)||e.isDeclarationFile))if(c=At.getTextOfIdentifierOrLiteral(i.name),o||s&&!At.isExternalModuleNameRelative(c))(t=t||[]).push(i.name);else if(!s&&(e.isDeclarationFile&&(r=r||[]).push(c),s=i.body,s))for(var l=0,d=s.statements;l<d.length;l++){var u=d[l];a(u,!0)}}(c[s],!1);if(1048576&e.flags||i)for(var l=e,d=/import|require/g;null!==d.exec(l.text);){var u=((e,n)=>{function t(e){if(e.pos<=n&&(n<e.end||n===e.end&&1===e.kind))return e}for(var r=e;;){var a=i&&At.hasJSDocNodes(r)&&At.forEach(r.jsDoc,t)||At.forEachChild(r,t);if(!a)return r;r=a}})(l,d.lastIndex);i&&At.isRequireCall(u,!0)||At.isImportCall(u)&&1===u.arguments.length&&At.isStringLiteralLike(u.arguments[0])?n=At.append(n,u.arguments[0]):At.isLiteralImportTypeNode(u)&&(n=At.append(n,u.argument.literal))}e.imports=n||At.emptyArray,e.moduleAugmentations=t||At.emptyArray,e.ambientModuleNames=r||At.emptyArray}}function dn(e,n,t,r){var a,i;return At.hasExtension(e)?(a=j.getCanonicalFileName(e),I.allowNonTsExtensions||At.forEach(Y,(function(e){return At.fileExtensionIs(a,e)}))?(i=n(e),t&&(i?kR(r)&&a===j.getCanonicalFileName(We(r.file).fileName)&&t(At.Diagnostics.A_file_cannot_have_a_reference_to_itself):(r=yn(e))?t(At.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,r,e):t(At.Diagnostics.File_0_not_found,e)),i):void(t&&(At.hasJSFileExtension(a)?t(At.Diagnostics.File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option,e):t(At.Diagnostics.File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1,e,"'"+X.join("', '")+"'")))):I.allowNonTsExtensions&&n(e)||(t&&I.allowNonTsExtensions?void t(At.Diagnostics.File_0_not_found,e):(r=At.forEach(X,(function(t){return n(e+t)})),t&&!r&&t(At.Diagnostics.Could_not_resolve_the_path_0_with_the_extensions_Colon_1,e,"'"+X.join("', '")+"'"),r))}function un(e,n,t,r,a){dn(e,(function(e){return _n(e,Pe(e),n,t,a,r)}),(function(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];return On(void 0,a,e,n)}),a)}function pn(e,n){un(e,!1,!1,void 0,n)}function mn(e,n,t){!kR(t)&&At.some(P.get(n.path),kR)?On(n,t,At.Diagnostics.Already_included_file_name_0_differs_from_file_name_1_only_in_casing,[n.fileName,e]):On(n,t,At.Diagnostics.File_name_0_differs_from_already_included_file_name_1_only_in_casing,[e,n.fileName])}function _n(e,n,t,r,a,i){return null!=At.tracing&&At.tracing.push("program","findSourceFile",{fileName:e,isDefaultLib:t||void 0,fileIncludeKind:At.FileIncludeKind[a.kind]}),e=((e,n,t,r,a,i)=>{if(ie){var c=Tn(e);if(c=!c&&j.realpath&&I.preserveSymlinks&&At.isDeclarationFileName(e)&&At.stringContains(e,At.nodeModulesPathPart)&&(m=j.realpath(e))!==e?Tn(m):c)return(m=At.isString(c)?_n(c,Pe(c),t,r,a,i):void 0)&&gn(m,n,void 0),m}var l;c=e;if(re.has(n))return fn((m=re.get(n))||void 0,a),m&&I.forceConsistentCasingInFileNames&&(Pe(d=m.fileName)!==Pe(e)&&(e=yn(e)||e),d=At.getNormalizedAbsolutePathWithoutRoot(d,q),u=At.getNormalizedAbsolutePathWithoutRoot(e,q),d!==u)&&mn(e,m,a),m&&V.get(m.path)&&0===B?(V.set(m.path,!1),I.noResolve||(Ln(m,t),Dn(m)),I.noLib||Cn(m),U.set(m.path,!1),Nn(m)):m&&U.get(m.path)&&B<G&&(U.set(m.path,!1),Nn(m)),m||void 0;if(kR(a)&&!ie){var d=hn(e);if(d){if(At.outFile(d.commandLine.options))return;var u=vn(d,e);l=Pe(e=u)}}var p,m=j.getSourceFile(e,I.target,(function(n){return On(void 0,a,At.Diagnostics.Cannot_read_file_0_Colon_1,[e,n])}),oe);if(i){if(d=At.packageIdToString(i),u=$.get(d),u)return p=((e,n,t,r,a,i)=>{var o=Object.create(e);return o.fileName=t,o.path=r,o.resolvedPath=a,o.originalFileName=i,o.redirectInfo={redirectTarget:e,unredirected:n},V.set(r,0<B),Object.defineProperties(o,{id:{get:function(){return this.redirectInfo.redirectTarget.id},set:function(e){this.redirectInfo.redirectTarget.id=e}},symbol:{get:function(){return this.redirectInfo.redirectTarget.symbol},set:function(e){this.redirectInfo.redirectTarget.symbol=e}}}),o})(u,m,e,n,Pe(e),c),ne.add(u.path,e),gn(p,n,l),fn(p,a),ee.set(n,i.name),s.push(p),p;m&&($.set(d,m),ee.set(n,i.name))}return gn(m,n,l),m&&(V.set(n,0<B),m.fileName=e,m.path=n,m.resolvedPath=Pe(e),m.originalFileName=c,fn(m,a),j.useCaseSensitiveFileNames()&&(u=At.toFileNameLowerCase(n),(p=ae.get(u))?mn(e,p,a):ae.set(u,m)),H=H||m.hasNoDefaultLib&&!r,I.noResolve||(Ln(m,t),Dn(m)),I.noLib||Cn(m),Nn(m),(t?o:s).push(m)),m})(e,n,t,r,a,i),null!=At.tracing&&At.tracing.pop(),e}function fn(e,n){e&&P.add(e.path,n)}function gn(e,n,t){t?(re.set(t,e),re.set(n,e||!1)):re.set(n,e)}function yn(e){var n=hn(e);return n&&vn(n,e)}function hn(e){if(S&&S.length&&!At.fileExtensionIs(e,".d.ts")&&!At.fileExtensionIs(e,".json"))return bn(e)}function vn(e,n){var t=At.outFile(e.commandLine.options);return t?At.changeExtension(t,".d.ts"):At.getOutputDeclarationFileName(n,e.commandLine,!j.useCaseSensitiveFileNames())}function bn(e){return void 0===L&&(L=new At.Map,En((function(e){Pe(I.configFilePath)!==e.sourceFile.path&&e.commandLine.fileNames.forEach((function(n){return L.set(Pe(n),e.sourceFile.path)}))}))),e=L.get(Pe(e)),e&&xn(e)}function En(e){return At.forEachResolvedProjectReference(S,e)}function Tn(e){if(At.isDeclarationFileName(e))return void 0===D&&(D=new At.Map,En((function(e){var n,t=At.outFile(e.commandLine.options);t?(t=At.changeExtension(t,".d.ts"),D.set(Pe(t),!0)):(n=At.memoize((function(){return At.getCommonSourceDirectoryOfConfig(e.commandLine,!j.useCaseSensitiveFileNames())})),At.forEach(e.commandLine.fileNames,(function(t){var r;At.fileExtensionIs(t,".d.ts")||At.fileExtensionIs(t,".json")||(r=At.getOutputDeclarationFileName(t,e.commandLine,!j.useCaseSensitiveFileNames(),n),D.set(Pe(r),t))})))}))),D.get(Pe(e))}function Sn(e){return ie&&!!bn(e)}function xn(e){if(x)return x.get(e)||void 0}function Ln(e,n){At.forEach(e.referencedFiles,(function(t,r){un(bR(t.fileName,e.fileName),n,!1,void 0,{kind:At.FileIncludeKind.ReferenceFile,file:e.path,index:r})}))}function Dn(e){var n=At.map(e.typeReferenceDirectives,(function(e){return At.toFileNameLowerCase(e.fileName)}));if(n)for(var t=Ne(n,e),r=0;r<n.length;r++){var a=e.typeReferenceDirectives[r],i=t[r];a=At.toFileNameLowerCase(a.fileName);At.setResolvedTypeReferenceDirective(e,a,i),An(a,i,{kind:At.FileIncludeKind.TypeReferenceDirective,file:e.path,index:r})}}function An(e,n,t){var r,a,i,o;null!=At.tracing&&At.tracing.push("program","processTypeReferenceDirective",{directive:e,hasResolved:!0,refKind:t.kind,refPath:kR(t)?t.file:void 0}),e=e,n=n,t=t,(o=F.get(e))&&o.primary||(r=!0,n?(n.isExternalLibraryImport&&B++,!n.primary&&o?(n.resolvedFileName!==o.resolvedFileName&&(a=j.readFile(n.resolvedFileName),i=He(o.resolvedFileName),a!==i.text)&&On(i,t,At.Diagnostics.Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict,[e,n.resolvedFileName,o.resolvedFileName]),r=!1):un(n.resolvedFileName,!1,!1,n.packageId,t),n.isExternalLibraryImport&&B--):On(void 0,t,At.Diagnostics.Cannot_find_type_definition_file_for_0,[e]),r&&F.set(e,n)),null!=At.tracing&&At.tracing.pop()}function Cn(e){At.forEach(e.libReferenceDirectives,(function(n,t){n=At.toFileNameLowerCase(n.fileName);var r,a=At.libMap.get(n);a?an(At.combinePaths(z,a),!0,!0,{kind:At.FileIncludeKind.LibReferenceDirective,file:e.path,index:t}):(a=At.removeSuffix(At.removePrefix(n,"lib."),".d.ts"),r=(a=At.getSpellingSuggestion(a,At.libs,At.identity))?At.Diagnostics.Cannot_find_lib_definition_for_0_Did_you_mean_1:At.Diagnostics.Cannot_find_lib_definition_for_0,(_=_||[]).push({kind:0,reason:{kind:At.FileIncludeKind.LibReferenceDirective,file:e.path,index:t},diagnostic:r,args:[n,a]}))}))}function In(e){return j.getCanonicalFileName(e)}function Nn(e){var n;if(ln(e),e.imports.length||e.moduleAugmentations.length)for(var t=UR(e),r=Me(t,e),a=(At.Debug.assert(r.length===t.length),(ie&&null!=(n=ke(e))?n.commandLine.options:void 0)||I),i=0;i<t.length;i++){var o,s,c,l,d=r[i];At.setResolvedModule(e,t[i],d),d&&(o=d.isExternalLibraryImport,l=!At.resolutionExtensionIsTSOrJson(d.extension),s=d.resolvedFileName,o&&B++,c=o&&l&&G<B,l=s&&!BR(a,d)&&!a.noResolve&&i<e.imports.length&&!c&&!(l&&!At.getAllowJSCompilerOption(a))&&(At.isInJSFile(e.imports[i])||!(4194304&e.imports[i].flags)),c?U.set(e.path,!0):l&&_n(s,Pe(s),!1,!1,{kind:At.FileIncludeKind.Import,file:e.path,index:i},d.packageId),o)&&B--}else e.resolvedModules=void 0}function kn(e){x=x||new At.Map;e=GR(e);var n,t=Pe(e),r=x.get(t);if(void 0!==r)return r||void 0;if(j.getParsedCommandLine){if(!(n=j.getParsedCommandLine(e)))return gn(void 0,t,void 0),void x.set(t,!1);a=At.Debug.checkDefined(n.options.configFile),At.Debug.assert(!a.path||a.path===t),gn(a,t,void 0)}else{var a;r=At.getNormalizedAbsolutePath(At.getDirectoryPath(e),j.getCurrentDirectory());if(gn(a=j.getSourceFile(e,100),t,void 0),void 0===a)return void x.set(t,!1);n=At.parseJsonSourceFileConfigFileContent(a,K,r,void 0,e)}return a.fileName=e,a.path=t,a.resolvedPath=t,a.originalFileName=e,r={commandLine:n,sourceFile:a},x.set(t,r),n.projectReferences&&(r.references=n.projectReferences.map(kn)),r}function Rn(e,n,t,r){var a,i,o=kR(n)?n:void 0,s=(e&&null!=(s=P.get(e.path))&&s.forEach(l),n&&l(n),o&&1===(null==a?void 0:a.length)&&(a=void 0),o&&OR(We,o)),c=a&&At.chainDiagnosticMessages(a,At.Diagnostics.The_file_is_in_the_program_because_Colon);e=e&&At.explainIfFileIsRedirect(e),e=At.chainDiagnosticMessages.apply(void 0,eu([e?c?eu([c],e,!0):e:c,t],r||At.emptyArray,!1));return s&&RR(s)?At.createFileDiagnosticFromMessageChain(s.file,s.pos,s.end-s.pos,e,i):At.createCompilerDiagnosticFromMessageChain(e,i);function l(e){(a=a||[]).push(At.fileIncludeReasonToDiagnostics(_e,e)),!o&&kR(e)?o=e:o!==e&&(i=At.append(i,(e=>{if(kR(e)){var n,t=OR(We,e);switch(e.kind){case At.FileIncludeKind.Import:n=At.Diagnostics.File_is_included_via_import_here;break;case At.FileIncludeKind.ReferenceFile:n=At.Diagnostics.File_is_included_via_reference_here;break;case At.FileIncludeKind.TypeReferenceDirective:n=At.Diagnostics.File_is_included_via_type_library_reference_here;break;case At.FileIncludeKind.LibReferenceDirective:n=At.Diagnostics.File_is_included_via_library_reference_here;break;default:At.Debug.assertNever(e)}return RR(t)?At.createFileDiagnostic(t.file,t.pos,t.end-t.pos,n):void 0}if(I.configFile){var r,a;switch(e.kind){case At.FileIncludeKind.RootFile:if(!I.configFile.configFileSpecs)return;var i=At.getNormalizedAbsolutePath(C[e.index],q),o=At.getMatchedFileSpec(_e,i);if(o)r=At.getTsConfigPropArrayElementValue(I.configFile,"files",o),a=At.Diagnostics.File_is_matched_by_files_list_specified_here;else{if(o=At.getMatchedIncludeSpec(_e,i),!o)return;r=At.getTsConfigPropArrayElementValue(I.configFile,"include",o),a=At.Diagnostics.File_is_matched_by_include_pattern_specified_here}break;case At.FileIncludeKind.SourceFromProjectReference:case At.FileIncludeKind.OutputFromProjectReference:var s,c=At.Debug.checkDefined(null==S?void 0:S[e.index]);i=NR(k,S,(function(e,n,t){return e===c?{sourceFile:(null==n?void 0:n.sourceFile)||I.configFile,index:t}:void 0}));return i?(o=i.sourceFile,i=i.index,(s=At.firstDefined(At.getTsConfigPropArray(o,"references"),(function(e){return At.isArrayLiteralExpression(e.initializer)?e.initializer:void 0})))&&s.elements.length>i?At.createDiagnosticForNodeInSourceFile(o,s.elements[i],e.kind===At.FileIncludeKind.OutputFromProjectReference?At.Diagnostics.File_is_output_from_referenced_project_specified_here:At.Diagnostics.File_is_source_from_referenced_project_specified_here):void 0):void 0;case At.FileIncludeKind.AutomaticTypeDirectiveFile:if(!I.types)return;r=Bn("types",e.typeReference),a=At.Diagnostics.File_is_entry_point_of_type_library_specified_here;break;case At.FileIncludeKind.LibFile:void 0!==e.index?(r=Bn("lib",I.lib[e.index]),a=At.Diagnostics.File_is_library_specified_here):(o=At.forEachEntry(At.targetOptionDeclaration.type,(function(e,n){return e===I.target?n:void 0})),r=o?((e,n)=>(e=Fn(e))&&At.firstDefined(e,(function(e){return At.isStringLiteral(e.initializer)&&e.initializer.text===n?e.initializer:void 0})))("target",o):void 0,a=At.Diagnostics.File_is_default_library_for_target_specified_here);break;default:At.Debug.assertNever(e)}return r&&At.createDiagnosticForNodeInSourceFile(I.configFile,r,a)}})(e))),e===n&&(n=void 0)}}function On(e,n,t,r){(_=_||[]).push({kind:1,file:e&&e.path,fileProcessingReason:n,diagnostic:t,args:r})}function Pn(e,n,t){J.add(Rn(e,void 0,n,t))}function wn(e,n,t,r,a,i){for(var o=!0,s=0,c=Gn();s<c.length;s++){var l=c[s];if(At.isObjectLiteralExpression(l.initializer))for(var d=0,u=At.getPropertyAssignment(l.initializer,e);d<u.length;d++){var p=u[d].initializer;At.isArrayLiteralExpression(p)&&p.elements.length>n&&(J.add(At.createDiagnosticForNodeInSourceFile(I.configFile,p.elements[n],t,r,a,i)),o=!1)}}o&&J.add(At.createCompilerDiagnostic(t,r,a,i))}function Mn(e,n,t,r){for(var a=!0,i=0,o=Gn();i<o.length;i++){var s=o[i];At.isObjectLiteralExpression(s.initializer)&&Wn(s.initializer,e,n,void 0,t,r)&&(a=!1)}a&&J.add(At.createCompilerDiagnostic(t,r))}function Fn(e){var n=Hn();return n&&At.getPropertyAssignment(n,e)}function Gn(){return Fn("paths")||At.emptyArray}function Bn(e,n){var t=Hn();return t&&At.getPropertyArrayElementValue(t,e,n)}function Un(e,n,t,r){Kn(!0,n,t,e,n,t,r)}function Vn(e,n,t){Kn(!1,e,void 0,n,t)}function jn(e,n,t,r,a){var i=At.firstDefined(At.getTsConfigPropArray(e||I.configFile,"references"),(function(e){return At.isArrayLiteralExpression(e.initializer)?e.initializer:void 0}));i&&i.elements.length>n?J.add(At.createDiagnosticForNodeInSourceFile(e||I.configFile,i.elements[n],t,r,a)):J.add(At.createCompilerDiagnostic(t,r,a))}function Kn(e,n,t,r,a,i,o){var s=Hn();s&&Wn(s,e,n,t,r,a,i,o)||J.add(At.createCompilerDiagnostic(r,a,i,o))}function Hn(){if(void 0===f){f=!1;var e=At.getTsConfigObjectLiteralExpression(I.configFile);if(e)for(var n=0,t=At.getPropertyAssignment(e,"compilerOptions");n<t.length;n++){var r=t[n];if(At.isObjectLiteralExpression(r.initializer)){f=r.initializer;break}}}return f||void 0}function Wn(e,n,t,r,a,i,o,s){e=At.getPropertyAssignment(e,t,r);for(var c=0,l=e;c<l.length;c++){var d=l[c];J.add(At.createDiagnosticForNodeInSourceFile(I.configFile,n?d.name:d.initializer,a,i,o,s))}return e.length}function zn(e,n){Q.set(Pe(e),!0),J.add(n)}function Jn(e,n){return 0===At.comparePaths(e,n,q,!j.useCaseSensitiveFileNames())}function qn(){return j.getSymlinkCache?j.getSymlinkCache():(l=l||At.createSymlinkCache(q,In),c&&F&&!l.hasProcessedResolutions()&&l.setSymlinksFromResolutions(c,F),l)}},At.emitSkippedWithNoDiagnostics={diagnostics:At.emptyArray,sourceMaps:void 0,emittedFiles:void 0,emitSkipped:!0},At.handleNoEmitOptions=PR,At.filterSemanticDiagnostics=wR,At.parseConfigHostFromCompilerHostLike=MR,At.createPrependNodes=FR,At.resolveProjectReferencePath=GR,At.getResolutionDiagnostic=BR,At.getModuleNameStringLiteralAt=VR,(Ot=bY=bY||{}).getFileEmitOutput=jR,OY=Ot.BuilderState||(Ot.BuilderState={}),Pt=0,OY.createManyToManyPathMap=KR,OY.canReuseOldState=qR,OY.create=function(e,n,t,r){var a=new Ot.Map,i=e.getCompilerOptions().module!==Ot.ModuleKind.None?KR():void 0,o=i?KR():void 0,s=new Ot.Set,c=qR(i,t);e.getTypeChecker();for(var l=0,d=e.getSourceFiles();l<d.length;l++){var u,p=d[l],m=Ot.Debug.checkDefined(p.version,"Program intended to be used with Builder should have source files with versions set"),_=c?t.fileInfos.get(p.resolvedPath):void 0;i&&((u=JR(e,p,n))&&i.set(p.resolvedPath,u),c)&&(u=t.exportedModulesMap.getValues(p.resolvedPath))&&o.set(p.resolvedPath,u),a.set(p.resolvedPath,{version:m,signature:_&&_.signature,affectsGlobalScope:eO(p)||void 0})}return{fileInfos:a,referencedMap:i,exportedModulesMap:o,hasCalledUpdateShapeSignature:s,useFileVersionAsSignature:!r&&!c}},OY.releaseCache=function(e){e.allFilesExcludingDefaultLibraryFile=void 0,e.allFileNames=void 0},OY.clone=function(e){var n;return{fileInfos:new Ot.Map(e.fileInfos),referencedMap:null==(n=e.referencedMap)?void 0:n.clone(),exportedModulesMap:null==(n=e.exportedModulesMap)?void 0:n.clone(),hasCalledUpdateShapeSignature:new Ot.Set(e.hasCalledUpdateShapeSignature),useFileVersionAsSignature:e.useFileVersionAsSignature}},OY.getFilesAffectedBy=function(e,n,t,r,a,i,o){var s=i||new Ot.Map;return(t=n.getSourceFileByPath(t))?QR(e,n,t,s,r,a,o)?(n=(e.referencedMap?function(e,n,t,r,a,i,o){if(eO(t))return nO(e,n,t);var s=n.getCompilerOptions();if(s&&(s.isolatedModules||Ot.outFile(s)))return[t];for(var c=new Ot.Map,l=(c.set(t.resolvedPath,t),$R(e,t.resolvedPath));0<l.length;){var d,u=l.pop();c.has(u)||(d=n.getSourceFileByPath(u),c.set(u,d),d&&QR(e,n,d,r,a,i,o)&&l.push.apply(l,$R(e,d.resolvedPath)))}return Ot.arrayFrom(Ot.mapDefinedIterator(c.values(),(function(e){return e})))}:function(e,n,t){var r=n.getCompilerOptions();return r&&Ot.outFile(r)?[t]:nO(e,n,t)})(e,n,t,s,r,a,o),i||XR(e,s),n):[t]:Ot.emptyArray},OY.updateSignaturesFromCache=XR,OY.updateSignatureOfFile=YR,OY.updateShapeSignature=QR,OY.updateExportedFilesMapFromCache=function(e,n){if(n){Ot.Debug.assert(!!e.exportedModulesMap);var t=n.id,r=n.version();if(e.previousCache){if(e.previousCache.id===t&&e.previousCache.version===r)return;e.previousCache.id=t,e.previousCache.version=r}else e.previousCache={id:t,version:r};null!=(t=n.deletedKeys())&&t.forEach((function(n){return e.exportedModulesMap.deleteKey(n)})),n.forEach((function(n,t){return e.exportedModulesMap.set(t,n)}))}},OY.getAllDependencies=function(e,n,t){var r=n.getCompilerOptions();if(Ot.outFile(r))return ZR(e,n);if(!e.referencedMap||eO(t))return ZR(e,n);for(var a=new Ot.Set,i=[t.resolvedPath];i.length;){var o=i.pop();if(!a.has(o)&&(a.add(o),o=e.referencedMap.getValues(o),o))for(var s=o.keys(),c=s.next();!c.done;c=s.next())i.push(c.value)}return Ot.arrayFrom(Ot.mapDefinedIterator(a.keys(),(function(e){var t;return null!=(t=null==(t=n.getSourceFileByPath(e))?void 0:t.fileName)?t:e})))},OY.getReferencedByPaths=$R,OY.getAllFilesExcludingDefaultLibraryFile=nO,wt=bY=bY||{},(cm=wt.BuilderFileEmit||(wt.BuilderFileEmit={}))[cm.DtsOnly=0]="DtsOnly",cm[cm.Full=1]="Full",(cm=Mt=wt.BuilderProgramKind||(wt.BuilderProgramKind={}))[cm.SemanticDiagnosticsBuilderProgram=0]="SemanticDiagnosticsBuilderProgram",cm[cm.EmitAndSemanticDiagnosticsBuilderProgram=1]="EmitAndSemanticDiagnosticsBuilderProgram",wt.getBuilderCreationParameters=function(e,n,t,r,a,i){var o,s,c;return void 0===e?(wt.Debug.assert(void 0===n),o=t,wt.Debug.assert(!!(c=r)),s=c.getProgram()):wt.isArray(e)?(s=wt.createProgram({rootNames:e,options:n,host:t,oldProgram:(c=r)&&c.getProgramOrUndefined(),configFileParsingDiagnostics:a,projectReferences:i}),o=t):(s=e,o=n,c=t,a=r),{host:o,newProgram:s,oldProgram:c,configFileParsingDiagnostics:a||wt.emptyArray}},wt.createBuilderProgram=function(e,n){var t,r,a,i,o,s=n.newProgram,c=n.host,l=n.oldProgram,d=(n=n.configFileParsingDiagnostics,l&&l.getState());return d&&s===d.program&&n===s.getConfigFileParsingDiagnostics()?(d=s=void 0,l):(t=wt.createGetCanonicalFileName(c.useCaseSensitiveFileNames()),r=wt.maybeBind(c,c.createHash),a=tO(s,t,d,c.disableUseFileVersionAsSignature),s.getProgramBuildInfo=function(){return mO(a,t)},d=l=s=void 0,(o=yO(s=function(){return a},n)).getState=s,o.backupState=function(){var e,n,t;wt.Debug.assert(void 0===i),e=a,(t=wt.BuilderState.clone(e)).semanticDiagnosticsPerFile=e.semanticDiagnosticsPerFile&&new wt.Map(e.semanticDiagnosticsPerFile),t.changedFilesSet=new wt.Set(e.changedFilesSet),t.affectedFiles=e.affectedFiles,t.affectedFilesIndex=e.affectedFilesIndex,t.currentChangedFilePath=e.currentChangedFilePath,t.currentAffectedFilesSignatures=e.currentAffectedFilesSignatures&&new wt.Map(e.currentAffectedFilesSignatures),t.currentAffectedFilesExportedModulesMap=null==(n=e.currentAffectedFilesExportedModulesMap)?void 0:n.clone(),t.seenAffectedFiles=e.seenAffectedFiles&&new wt.Set(e.seenAffectedFiles),t.cleanedDiagnosticsOfLibFiles=e.cleanedDiagnosticsOfLibFiles,t.semanticDiagnosticsFromOldState=e.semanticDiagnosticsFromOldState&&new wt.Set(e.semanticDiagnosticsFromOldState),t.program=e.program,t.compilerOptions=e.compilerOptions,t.affectedFilesPendingEmit=e.affectedFilesPendingEmit&&e.affectedFilesPendingEmit.slice(),t.affectedFilesPendingEmitKind=e.affectedFilesPendingEmitKind&&new wt.Map(e.affectedFilesPendingEmitKind),t.affectedFilesPendingEmitIndex=e.affectedFilesPendingEmitIndex,t.seenEmittedFiles=e.seenEmittedFiles&&new wt.Map(e.seenEmittedFiles),t.programEmitComplete=e.programEmitComplete,i=t},o.restoreState=function(){a=wt.Debug.checkDefined(i),i=void 0},o.getAllDependencies=function(e){return wt.BuilderState.getAllDependencies(a,wt.Debug.checkDefined(a.program),e)},o.getSemanticDiagnostics=function(e,n){aO(a,e);var t,r=wt.Debug.checkDefined(a.program).getCompilerOptions();if(wt.outFile(r))return wt.Debug.assert(!a.semanticDiagnosticsPerFile),wt.Debug.checkDefined(a.program).getSemanticDiagnostics(e,n);if(e)return pO(a,e,n);for(;p(n););for(var i=0,o=wt.Debug.checkDefined(a.program).getSourceFiles();i<o.length;i++){var s=o[i];t=wt.addRange(t,pO(a,s,n))}return t||wt.emptyArray},o.emit=function(n,t,r,i,s){var l,d,p,m=!1;e===Mt.EmitAndSemanticDiagnosticsBuilderProgram||n||wt.outFile(a.compilerOptions)||a.compilerOptions.noEmit||!a.compilerOptions.noEmitOnError||(m=!0,l=a.affectedFilesPendingEmit&&a.affectedFilesPendingEmit.slice(),d=a.affectedFilesPendingEmitKind&&new wt.Map(a.affectedFilesPendingEmitKind),p=a.affectedFilesPendingEmitIndex),e===Mt.EmitAndSemanticDiagnosticsBuilderProgram&&aO(a,n);var _=wt.handleNoEmitOptions(o,n,t,r);if(_)return _;if(m&&(a.affectedFilesPendingEmit=l,a.affectedFilesPendingEmitKind=d,a.affectedFilesPendingEmitIndex=p),n||e!==Mt.EmitAndSemanticDiagnosticsBuilderProgram)return wt.Debug.checkDefined(a.program).emit(n,t||wt.maybeBind(c,c.writeFile),r,i,s);for(var f=[],g=!1,y=void 0,h=[],v=void 0;v=u(t,r,i,s);)g=g||v.result.emitSkipped,y=wt.addRange(y,v.result.diagnostics),h=wt.addRange(h,v.result.emittedFiles),f=wt.addRange(f,v.result.sourceMaps);return{emitSkipped:g,diagnostics:y||wt.emptyArray,emittedFiles:h,sourceMaps:f}},o.releaseProgram=function(){var e;e=a,wt.BuilderState.releaseCache(e),e.program=void 0,i=void 0},e===Mt.SemanticDiagnosticsBuilderProgram?o.getSemanticDiagnosticsOfNextAffectedFile=p:e===Mt.EmitAndSemanticDiagnosticsBuilderProgram?(o.getSemanticDiagnosticsOfNextAffectedFile=p,o.emitNextAffectedFile=u,o.emitBuildInfo=function(e,n){return a.buildInfoEmitPending?(e=wt.Debug.checkDefined(a.program).emitBuildInfo(e||wt.maybeBind(c,c.writeFile),n),a.buildInfoEmitPending=!1,e):wt.emitSkippedWithNoDiagnostics}):wt.notImplemented(),o);function u(e,n,t,i){var o=iO(a,n,r),s=1,l=!1;if(!o)if(wt.outFile(a.compilerOptions)){var d=wt.Debug.checkDefined(a.program);if(a.programEmitComplete)return;o=d}else{var u;d=(e=>{var n=e.affectedFilesPendingEmit;if(n){for(var t=e.seenEmittedFiles||(e.seenEmittedFiles=new wt.Map),r=e.affectedFilesPendingEmitIndex;r<n.length;r++){var a=wt.Debug.checkDefined(e.program).getSourceFileByPath(n[r]);if(a){var i=t.get(a.resolvedPath),o=wt.Debug.checkDefined(wt.Debug.checkDefined(e.affectedFilesPendingEmitKind).get(a.resolvedPath));if(void 0===i||i<o)return e.affectedFilesPendingEmitIndex=r,{affectedFile:a,emitKind:o}}}e.affectedFilesPendingEmit=void 0,e.affectedFilesPendingEmitKind=void 0,e.affectedFilesPendingEmitIndex=void 0}})(a);if(!d)return a.buildInfoEmitPending?(u=wt.Debug.checkDefined(a.program),uO(a,u.emitBuildInfo(e||wt.maybeBind(c,c.writeFile),n),u,1,!1,!0)):void 0;o=d.affectedFile,s=d.emitKind,l=!0}return uO(a,wt.Debug.checkDefined(a.program).emit(o===a.program?void 0:o,e||wt.maybeBind(c,c.writeFile),n,t||0===s,i),o,s,l)}function p(n,t){for(;;){var i=iO(a,n,r);if(!i)return;if(i===a.program)return dO(a,a.program.getSemanticDiagnostics(void 0,n),i);if((e===Mt.EmitAndSemanticDiagnosticsBuilderProgram||a.compilerOptions.noEmit||a.compilerOptions.noEmitOnError)&&fO(a,i.resolvedPath,1),!t||!t(i))return dO(a,pO(a,i,n),i);lO(a,i)}}},wt.toBuilderStateFileInfo=gO,wt.createBuildProgramUsingProgramBuildInfo=function(e,n,t){var r=wt.getDirectoryPath(wt.getNormalizedAbsolutePath(n,t.getCurrentDirectory())),a=wt.createGetCanonicalFileName(t.useCaseSensitiveFileNames()),i=e.fileNames.map((function(e){return wt.toPath(e,r,a)})),o=null==(n=e.fileIdsList)?void 0:n.map((function(e){return new wt.Set(e.map(l))})),s=new wt.Map,c=(e.fileInfos.forEach((function(e,n){return s.set(l(n+1),gO(e))})),{fileInfos:s,compilerOptions:e.options?wt.convertToOptionsWithAbsolutePaths(e.options,(function(e){return wt.getNormalizedAbsolutePath(e,r)})):{},referencedMap:d(e.referencedMap),exportedModulesMap:d(e.exportedModulesMap),semanticDiagnosticsPerFile:e.semanticDiagnosticsPerFile&&wt.arrayToMap(e.semanticDiagnosticsPerFile,(function(e){return l(wt.isNumber(e)?e:e[0])}),(function(e){return wt.isNumber(e)?wt.emptyArray:e[1]})),hasReusableDiagnostic:!0,affectedFilesPendingEmit:wt.map(e.affectedFilesPendingEmit,(function(e){return l(e[0])})),affectedFilesPendingEmitKind:e.affectedFilesPendingEmit&&wt.arrayToMap(e.affectedFilesPendingEmit,(function(e){return l(e[0])}),(function(e){return e[1]})),affectedFilesPendingEmitIndex:e.affectedFilesPendingEmit&&0});return{getState:function(){return c},backupState:wt.noop,restoreState:wt.noop,getProgram:wt.notImplemented,getProgramOrUndefined:wt.returnUndefined,releaseProgram:wt.noop,getCompilerOptions:function(){return c.compilerOptions},getSourceFile:wt.notImplemented,getSourceFiles:wt.notImplemented,getOptionsDiagnostics:wt.notImplemented,getGlobalDiagnostics:wt.notImplemented,getConfigFileParsingDiagnostics:wt.notImplemented,getSyntacticDiagnostics:wt.notImplemented,getDeclarationDiagnostics:wt.notImplemented,getSemanticDiagnostics:wt.notImplemented,emit:wt.notImplemented,getAllDependencies:wt.notImplemented,getCurrentDirectory:wt.notImplemented,emitNextAffectedFile:wt.notImplemented,getSemanticDiagnosticsOfNextAffectedFile:wt.notImplemented,emitBuildInfo:wt.notImplemented,close:wt.noop};function l(e){return i[e-1]}function d(e){var n;if(e)return n=wt.BuilderState.createManyToManyPathMap(),e.forEach((function(e){var t=e[0];return n.set(l(t),o[e[1]-1])})),n}},wt.createRedirectedBuilderProgram=yO,(Ft=bY=bY||{}).createSemanticDiagnosticsBuilderProgram=function(e,n,t,r,a,i){return Ft.createBuilderProgram(Ft.BuilderProgramKind.SemanticDiagnosticsBuilderProgram,Ft.getBuilderCreationParameters(e,n,t,r,a,i))},Ft.createEmitAndSemanticDiagnosticsBuilderProgram=function(e,n,t,r,a,i){return Ft.createBuilderProgram(Ft.BuilderProgramKind.EmitAndSemanticDiagnosticsBuilderProgram,Ft.getBuilderCreationParameters(e,n,t,r,a,i))},Ft.createAbstractBuilder=function(e,n,t,r,a,i){var o=(e=Ft.getBuilderCreationParameters(e,n,t,r,a,i)).newProgram;return Ft.createRedirectedBuilderProgram((function(){return{program:o,compilerOptions:o.getCompilerOptions()}}),e.configFileParsingDiagnostics)},(Gt=bY=bY||{}).removeIgnoredPath=hO,Gt.canWatchDirectory=vO,Gt.createResolutionCache=function(e,n,t){var r,a,i,o,s,c,l=Gt.createMultiMap(),d=[],u=Gt.createMultiMap(),p=!1,m=Gt.memoize((function(){return e.getCurrentDirectory()})),_=e.getCachedDirectoryStructureHost(),f=new Gt.Map,g=Gt.createCacheWithRedirects(),y=Gt.createCacheWithRedirects(),h=Gt.createModuleResolutionCache(m(),e.getCanonicalFileName,void 0,g,y),v=new Gt.Map,b=Gt.createCacheWithRedirects(),E=Gt.createTypeReferenceDirectiveResolutionCache(m(),e.getCanonicalFileName,void 0,h.getPackageJsonInfoCache(),b),T=[".ts",".tsx",".js",".jsx",".json"],S=new Gt.Map,x=new Gt.Map,L=n&&Gt.removeTrailingDirectorySeparator(Gt.getNormalizedAbsolutePath(n,m())),D=L&&e.toPath(L),A=void 0!==D?D.split(Gt.directorySeparator).length:0,C=new Gt.Map;return{getModuleResolutionCache:function(){return h},startRecordingFilesWithChangedResolutions:function(){r=[]},finishRecordingFilesWithChangedResolutions:function(){var e=r;return r=void 0,e},startCachingPerDirectoryResolution:O,finishCachingPerDirectoryResolution:function(){i=void 0,O(),x.forEach((function(e,n){0===e.refCount&&(x.delete(n),e.watcher.close())})),p=!1},resolveModuleNames:function(e,n,r,a){return M({names:e,containingFile:n,redirectedReference:a,cache:f,perDirectoryCacheWithRedirects:g,loader:P,getResolutionWithResolvedFileName:I,shouldRetryResolution:function(e){return!e.resolvedModule||!Gt.resolutionExtensionIsTSOrJson(e.resolvedModule.extension)},reusedNames:r,logChanges:t})},getResolvedModuleWithFailedLookupLocationsFromCache:function(n,t){return t=f.get(e.toPath(t)),t&&t.get(n)},resolveTypeReferenceDirectives:function(e,n,t){return M({names:e,containingFile:n,redirectedReference:t,cache:v,perDirectoryCacheWithRedirects:b,loader:w,getResolutionWithResolvedFileName:N,shouldRetryResolution:function(e){return void 0===e.resolvedTypeReferenceDirective}})},removeResolutionsFromProjectReferenceRedirects:function(n){var t;Gt.fileExtensionIs(n,".json")&&(t=e.getCurrentProgram())&&(t=t.getResolvedProjectReferenceByPath(n))&&t.commandLine.fileNames.forEach((function(n){return J(e.toPath(n))}))},removeResolutionsOfFile:J,hasChangedAutomaticTypeDirectiveNames:function(){return p},invalidateResolutionOfFile:function(n){J(n);var t=p;q(u.get(n),Gt.returnTrue)&&p&&!t&&e.onChangedAutomaticTypeDirectiveNames()},invalidateResolutionsOfFailedLookupLocations:Y,setFilesWithInvalidatedNonRelativeUnresolvedImports:function(e){Gt.Debug.assert(i===e||void 0===i),i=e},createHasInvalidatedResolution:function(e){if(Y(),e)return a=void 0,Gt.returnTrue;var n=a;return a=void 0,function(e){return!!n&&n.has(e)||R(e)}},isFileWithInvalidatedNonRelativeUnresolvedImports:R,updateTypeRootsWatch:function(){var n=e.getCompilationSettings();!n.types&&(n=Gt.getEffectiveTypeRoots(n,{directoryExists:ee,getCurrentDirectory:m}))?Gt.mutateMap(C,Gt.arrayToMap(n,(function(n){return e.toPath(n)})),{createNewValue:$,onDeleteValue:Gt.closeFileWatcher}):Z()},closeTypeRootsWatch:Z,clear:function(){Gt.clearMap(x,Gt.closeFileWatcherOf),S.clear(),l.clear(),Z(),f.clear(),v.clear(),u.clear(),d.length=0,o=void 0,s=void 0,c=void 0,O(),p=!1}};function I(e){return e.resolvedModule}function N(e){return e.resolvedTypeReferenceDirective}function k(e,n){return!(void 0===e||n.length<=e.length)&&Gt.startsWith(n,e)&&n[e.length]===Gt.directorySeparator}function R(e){return!!i&&!!(e=i.get(e))&&!!e.length}function O(){h.clear(),E.clear(),l.forEach(j),l.clear()}function P(n,t,r,a,i){if(t=Gt.resolveModuleName(n,t,r,a,h,i),e.getGlobalCache){i=e.getGlobalCache();void 0===i||Gt.isExternalModuleNameRelative(n)||t.resolvedModule&&Gt.extensionIsTS(t.resolvedModule.extension)||(n=Gt.loadModuleFromGlobalCache(Gt.Debug.checkDefined(e.globalCacheResolutionModuleName)(n),e.projectName,r,a,i,h),r=n.resolvedModule,a=n.failedLookupLocations,r&&(t.resolvedModule=r,(i=t.failedLookupLocations).push.apply(i,a)))}return t}function w(e,n,t,r,a){return Gt.resolveTypeReferenceDirective(e,n,t,r,a,E)}function M(n){for(var t=n.names,a=n.containingFile,i=n.redirectedReference,o=n.cache,s=n.perDirectoryCacheWithRedirects,c=n.loader,d=n.getResolutionWithResolvedFileName,p=n.shouldRetryResolution,m=n.reusedNames,_=n.logChanges,f=e.toPath(a),g=o.get(f)||o.set(f,new Gt.Map).get(f),y=(n=Gt.getDirectoryPath(f),o=s.getOrCreateMapOfCacheRedirects(i),o.get(n)),h=(y||(y=new Gt.Map,o.set(n,y)),[]),v=e.getCompilationSettings(),b=_&&R(f),E=(s=e.getCurrentProgram(),o=s&&s.getResolvedProjectReferenceToRedirect(a),o?!i||i.sourceFile.path!==o.sourceFile.path:!!i),T=new Gt.Map,S=0,x=t;S<x.length;S++){var L,D,A,C,I,N,k,O=x[S],w=g.get(O);!T.has(O)&&E||!w||w.isInvalidated||b&&!Gt.isExternalModuleNameRelative(O)&&p(w)?(L=w,(D=y.get(O))?(w=D,N=(null==(D=e.getCompilerHost)?void 0:D.call(e))||e,Gt.isTraceEnabled(v,N)&&(k=d(w),Gt.trace(N,c===P?null!=k&&k.resolvedFileName?k.packagetId?Gt.Diagnostics.Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:Gt.Diagnostics.Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:Gt.Diagnostics.Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:null!=k&&k.resolvedFileName?k.packagetId?Gt.Diagnostics.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:Gt.Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:Gt.Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_resolved,O,a,Gt.getDirectoryPath(a),null==k?void 0:k.resolvedFileName,(null==k?void 0:k.packagetId)&&Gt.packageIdToString(k.packagetId)))):(w=c(O,a,v,(null==(D=e.getCompilerHost)?void 0:D.call(e))||e,i),y.set(O,w)),g.set(O,w),I=C=A=D=void 0,D=O,C=f,I=d,(A=w).refCount?(A.refCount++,Gt.Debug.assertDefined(A.files)):(A.refCount=1,Gt.Debug.assert(0===Gt.length(A.files)),Gt.isExternalModuleNameRelative(D)?V(A):l.add(D,A),(D=I(A))&&D.resolvedFileName&&u.add(e.toPath(D.resolvedFileName),A)),(A.files||(A.files=[])).push(C),L&&H(L,f,d),_&&r&&!((e,n)=>e===n||!!(e&&n&&(e=d(e),n=d(n),e===n||e&&n&&e.resolvedFileName===n.resolvedFileName)))(L,w)&&(r.push(f),_=!1)):(N=(null==(I=e.getCompilerHost)?void 0:I.call(e))||e,Gt.isTraceEnabled(v,N)&&!T.has(O)&&(k=d(w),Gt.trace(N,c===P?null!=k&&k.resolvedFileName?k.packagetId?Gt.Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:Gt.Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:Gt.Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:null!=k&&k.resolvedFileName?k.packagetId?Gt.Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:Gt.Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:Gt.Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved,O,a,null==k?void 0:k.resolvedFileName,(null==k?void 0:k.packagetId)&&Gt.packageIdToString(k.packagetId)))),Gt.Debug.assert(void 0!==w&&!w.isInvalidated),T.set(O,!0),h.push(d(w))}return g.forEach((function(e,n){T.has(n)||Gt.contains(m,n)||(H(e,f,d),g.delete(n))})),h}function F(e){return Gt.endsWith(e,"/node_modules/@types")}function G(e,n){var t,r;return k(D,n)?(e=Gt.isRootedDiskPath(e)?Gt.normalizePath(e):Gt.getNormalizedAbsolutePath(e,m()),t=n.split(Gt.directorySeparator),r=e.split(Gt.directorySeparator),Gt.Debug.assert(r.length===t.length,"FailedLookup: "+e+" failedLookupLocationPath: "+n),t.length>A+1?{dir:r.slice(0,A+1).join(Gt.directorySeparator),dirPath:t.slice(0,A+1).join(Gt.directorySeparator)}:{dir:L,dirPath:D,nonRecursive:!1}):B(Gt.getDirectoryPath(Gt.getNormalizedAbsolutePath(e,m())),Gt.getDirectoryPath(n))}function B(e,n){for(;Gt.pathContainsNodeModules(n);)e=Gt.getDirectoryPath(e),n=Gt.getDirectoryPath(n);if(Gt.isNodeModulesDirectory(n))return vO(Gt.getDirectoryPath(n))?{dir:e,dirPath:n}:void 0;var t,r,a=!0;if(void 0!==D)for(;!k(n,D);){var i=Gt.getDirectoryPath(n);if(i===n)break;a=!1,t=n,r=e,n=i,e=Gt.getDirectoryPath(e)}return vO(n)?{dir:r||e,dirPath:t||n,nonRecursive:a}:void 0}function U(e){return Gt.fileExtensionIsOneOf(e,T)}function V(n){Gt.Debug.assert(!!n.refCount);var t=n.failedLookupLocations;if(t.length){d.push(n);for(var r=!1,a=0,i=t;a<i.length;a++){var o,s,c,l=i[a],u=e.toPath(l);l=G(l,u);l&&(o=l.dir,s=l.dirPath,l=l.nonRecursive,U(u)||(c=S.get(u)||0,S.set(u,c+1)),s===D?(Gt.Debug.assert(!l),r=!0):K(o,s,l))}r&&K(L,D,!0)}}function j(n,t){var r=e.getCurrentProgram();r&&r.getTypeChecker().tryFindAmbientModuleWithoutAugmentations(t)||n.forEach(V)}function K(n,t,r){var a,i=x.get(t);i?(Gt.Debug.assert(!!r==!!i.nonRecursive),i.refCount++):x.set(t,{watcher:(a=t,e.watchDirectoryOfFailedLookupLocation(n,(function(n){var t=e.toPath(n);_&&_.addOrDeleteFileOrDirectory(n,t),X(t,a===t)}),r?0:1)),refCount:1,nonRecursive:r})}function H(n,t,r){if(Gt.unorderedRemoveItem(Gt.Debug.assertDefined(n.files),t),n.refCount--,!n.refCount&&(t=r(n),t&&t.resolvedFileName&&u.remove(e.toPath(t.resolvedFileName),n),Gt.unorderedRemoveItem(d,n))){for(var a=!1,i=0,o=n.failedLookupLocations;i<o.length;i++){var s,c=o[i],l=e.toPath(c);c=G(c,l);c&&(c=c.dirPath,(s=S.get(l))&&(1===s?S.delete(l):(Gt.Debug.assert(1<s),S.set(l,s-1))),c===D?a=!0:W(c))}a&&W(D)}}function W(e){x.get(e).refCount--}function z(e,n,t){var r=e.get(n);r&&(r.forEach((function(e){return H(e,n,t)})),e.delete(n))}function J(e){z(f,e,I),z(v,e,N)}function q(e,n){if(!e)return!1;for(var t=!1,r=0,i=e;r<i.length;r++){var o=i[r];if(!o.isInvalidated&&n(o)){o.isInvalidated=t=!0;for(var s=0,c=Gt.Debug.assertDefined(o.files);s<c.length;s++){var l=c[s];(a=a||new Gt.Set).add(l),p=p||Gt.endsWith(l,Gt.inferredTypesContainingFile)}}}return t}function X(n,t){if(t)(c=c||[]).push(n);else{if(t=hO(n),!t)return;if(e.fileIsOpen(n=t))return;if(t=Gt.getDirectoryPath(n),F(n)||Gt.isNodeModulesDirectory(n)||F(t)||Gt.isNodeModulesDirectory(t))(o=o||[]).push(n),(s=s||new Gt.Set).add(n);else{if(!U(n)&&!S.has(n))return;if(Gt.isEmittedFileOfProgram(e.getCurrentProgram(),n))return;(o=o||[]).push(n),t=Gt.parseNodeModuleFromPath(n),t&&(s=s||new Gt.Set).add(t)}}e.scheduleInvalidateResolutionsOfFailedLookupLocations()}function Y(){var e;return!!(o||s||c)&&(e=q(d,Q),c=s=o=void 0,e)}function Q(n){return n.failedLookupLocations.some((function(n){var t=e.toPath(n);return Gt.contains(o,t)||Gt.firstDefinedIterator((null==s?void 0:s.keys())||Gt.emptyIterator,(function(e){return!!Gt.startsWith(t,e)||void 0}))||(null==c?void 0:c.some((function(e){return k(e,t)})))}))}function Z(){Gt.clearMap(C,Gt.closeFileWatcher)}function $(n,t){return e.watchTypeRootsDirectory(t,(function(r){var a=e.toPath(r),i=(_&&_.addOrDeleteFileOrDirectory(r,a),p=!0,e.onChangedAutomaticTypeDirectiveNames(),r=t,k(D,i=n)?D:(r=B(r,i))&&x.has(r.dirPath)?r.dirPath:void 0);i&&X(a,i===a)}),1)}function ee(n){return n=Gt.getDirectoryPath(Gt.getDirectoryPath(n)),n=e.toPath(n),n===D||vO(n)}},Bt=bY=bY||{},(tu=Bt.moduleSpecifiers||(Bt.moduleSpecifiers={})).updateModuleSpecifier=function(e,n,t,r,a){if((r=EO(e,n,t,r,(n=e,t=a,{relativePreference:Bt.isExternalModuleNameRelative(t)?0:1,ending:Bt.hasJSFileExtension(t)?2:Bt.getEmitModuleResolutionKind(n)!==Bt.ModuleResolutionKind.NodeJs||Bt.endsWith(t,"index")?1:0}),{}))!==a)return r},tu.getModuleSpecifier=function(e,n,t,r,a){return EO(e,t,r,a,bO({},e,n),{})},tu.getNodeModulesPackageName=function(e,n,t,r,a){var i=xO(n,r);n=NO(n,t,r,a);return Bt.firstDefined(n,(function(n){return OO(n,i,r,e,!0)}))},tu.tryGetModuleSpecifiersFromCache=function(e,n,t,r){return TO(e,n,t,r)[0]},tu.getModuleSpecifiers=function(e,n,t,r,a,i){return SO(e,n,t,r,a,i).moduleSpecifiers},tu.getModuleSpecifiersWithCacheInfo=SO,tu.countPathComponents=DO,tu.forEachFileNameOfModule=IO,tu.tryGetJSExtensionForFile=MO,Ut=bY=bY||{},Vt=Ut.sys?{getCurrentDirectory:function(){return Ut.sys.getCurrentDirectory()},getNewLine:function(){return Ut.sys.newLine},getCanonicalFileName:Ut.createGetCanonicalFileName(Ut.sys.useCaseSensitiveFileNames)}:void 0,Ut.createDiagnosticReporter=BO,Ut.screenStartingMessageCodes=[Ut.Diagnostics.Starting_compilation_in_watch_mode.code,Ut.Diagnostics.File_change_detected_Starting_incremental_compilation.code],Ut.getLocaleTimeString=VO,Ut.createWatchStatusReporter=jO,Ut.parseConfigFileWithSystem=function(e,n,t,r,a,i){var o=a;o.onUnRecoverableConfigFileDiagnostic=function(e){return iP(a,i,e)},e=Ut.getParsedCommandLineOfConfigFile(e,n,o,t,r);return o.onUnRecoverableConfigFileDiagnostic=void 0,e},Ut.getErrorCountForSummary=KO,Ut.getWatchErrorSummaryDiagnosticMessage=HO,Ut.getErrorSummaryText=WO,Ut.isBuilderProgram=zO,Ut.listFiles=JO,Ut.explainFiles=qO,Ut.explainIfFileIsRedirect=XO,Ut.getMatchedFileSpec=YO,Ut.getMatchedIncludeSpec=QO,Ut.fileIncludeReasonToDiagnostics=ZO,Ut.emitFilesAndReportErrors=eP,Ut.emitFilesAndReportErrorsAndGetExitStatus=nP,Ut.noopFileWatcher={close:Ut.noop},Ut.returnNoopFileWatcher=function(){return Ut.noopFileWatcher},Ut.createWatchHost=tP,Ut.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"},Ut.createWatchFactory=function(e,n){var t=(n=e.trace?n.extendedDiagnostics?Ut.WatchLogLevel.Verbose:n.diagnostics?Ut.WatchLogLevel.TriggerOnly:Ut.WatchLogLevel.None:Ut.WatchLogLevel.None)!==Ut.WatchLogLevel.None?function(n){return e.trace(n)}:Ut.noop;return(n=Ut.getWatchFactory(e,n,t)).writeLog=t,n},Ut.createCompilerHostFromProgramHost=function(e,n,t){void 0===t&&(t=e);var r=e.useCaseSensitiveFileNames(),a=Ut.memoize((function(){return e.getNewLine()}));return{getSourceFile:function(t,r,a){var i;try{Ut.performance.mark("beforeIORead"),i=e.readFile(t,n().charset),Ut.performance.mark("afterIORead"),Ut.performance.measure("I/O Read","beforeIORead","afterIORead")}catch(t){a&&a(t.message),i=""}return void 0!==i?Ut.createSourceFile(t,i,r):void 0},getDefaultLibLocation:Ut.maybeBind(e,e.getDefaultLibLocation),getDefaultLibFileName:function(n){return e.getDefaultLibFileName(n)},writeFile:function(n,t,r,a){try{Ut.performance.mark("beforeIOWrite"),Ut.writeFileEnsuringDirectories(n,t,r,(function(n,t,r){return e.writeFile(n,t,r)}),(function(n){return e.createDirectory(n)}),(function(n){return e.directoryExists(n)})),Ut.performance.mark("afterIOWrite"),Ut.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(n){a&&a(n.message)}},getCurrentDirectory:Ut.memoize((function(){return e.getCurrentDirectory()})),useCaseSensitiveFileNames:function(){return r},getCanonicalFileName:Ut.createGetCanonicalFileName(r),getNewLine:function(){return Ut.getNewLineCharacter(n(),a)},fileExists:function(n){return e.fileExists(n)},readFile:function(n){return e.readFile(n)},trace:Ut.maybeBind(e,e.trace),directoryExists:Ut.maybeBind(t,t.directoryExists),getDirectories:Ut.maybeBind(t,t.getDirectories),realpath:Ut.maybeBind(e,e.realpath),getEnvironmentVariable:Ut.maybeBind(e,e.getEnvironmentVariable)||function(){return""},createHash:Ut.maybeBind(e,e.createHash),readDirectory:Ut.maybeBind(e,e.readDirectory),disableUseFileVersionAsSignature:e.disableUseFileVersionAsSignature}},Ut.setGetSourceFileAsHashVersioned=function(e,n){var t=e.getSourceFile,r=Ut.maybeBind(n,n.createHash)||Ut.generateDjb2Hash;e.getSourceFile=function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var i=t.call.apply(t,eu([e],n,!1));return i&&(i.version=r(i.text)),i}},Ut.createProgramHost=rP,Ut.createWatchCompilerHostOfConfigFile=function(e){var n=e.configFileName,t=e.optionsToExtend,r=e.watchOptionsToExtend,a=e.extraFileExtensions,i=e.system,o=e.createProgram,s=e.reportWatchStatus,c=e.reportDiagnostic||BO(i);return(e=aP(i,o,c,s)).onUnRecoverableConfigFileDiagnostic=function(e){return iP(i,c,e)},e.configFileName=n,e.optionsToExtend=t,e.watchOptionsToExtend=r,e.extraFileExtensions=a,e},Ut.createWatchCompilerHostOfFilesAndCompilerOptions=function(e){var n=e.rootFiles,t=e.options,r=e.watchOptions,a=e.projectReferences,i=e.system,o=e.reportWatchStatus;return(e=aP(i,e.createProgram,e.reportDiagnostic||BO(i),o)).rootFiles=n,e.options=t,e.watchOptions=r,e.projectReferences=a,e},Ut.performIncrementalCompilation=function(e){var n=e.system||Ut.sys,t=e.host||(e.host=Ut.createIncrementalCompilerHost(e.options,n)),r=Ut.createIncrementalProgram(e),a=nP(r,e.reportDiagnostic||BO(n),(function(e){return t.trace&&t.trace(e)}),e.reportErrorSummary||e.options.pretty?function(e){return n.write(WO(e,n.newLine))}:void 0);return e.afterProgramEmitAndDiagnostics&&e.afterProgramEmitAndDiagnostics(r),a},(jt=bY=bY||{}).readBuilderProgram=oP,jt.createIncrementalCompilerHost=sP,jt.createIncrementalProgram=function(e){var n=e.rootNames,t=e.options,r=e.configFileParsingDiagnostics,a=e.projectReferences,i=e.createProgram;e=e.host||sP(t);return(i=i||jt.createEmitAndSemanticDiagnosticsBuilderProgram)(n,t,e,oP(t,e),r,a)},jt.createWatchCompilerHost=function(e,n,t,r,a,i,o,s){return jt.isArray(e)?jt.createWatchCompilerHostOfFilesAndCompilerOptions({rootFiles:e,options:n,watchOptions:s,projectReferences:o,system:t,createProgram:r,reportDiagnostic:a,reportWatchStatus:i}):jt.createWatchCompilerHostOfConfigFile({configFileName:e,optionsToExtend:n,watchOptionsToExtend:o,extraFileExtensions:s,system:t,createProgram:r,reportDiagnostic:a,reportWatchStatus:i})},jt.createWatchProgram=function(e){var n,t,r,a,i,o,s,c,l,d,u,p,m=e.extendedConfigCache,_=!1,f=new jt.Map,g=!1,y=e.useCaseSensitiveFileNames(),h=e.getCurrentDirectory(),v=e.configFileName,b=e.optionsToExtend,E=void 0===b?{}:b,T=e.watchOptionsToExtend,S=e.extraFileExtensions,x=e.createProgram,L=e.rootFiles,D=e.options,A=e.watchOptions,C=e.projectReferences,I=!1,N=!1,k=void 0===v?void 0:jt.createCachedDirectoryStructureHost(e,h,y),R=k||e,O=jt.parseConfigHostFromCompilerHostLike(e,R),P=q();v&&e.configFileParsingResult&&(le(e.configFileParsingResult),P=q()),ne(jt.Diagnostics.Starting_compilation_in_watch_mode),v&&!e.configFileParsingResult&&(P=jt.getNewLineCharacter(E,(function(){return e.getNewLine()})),jt.Debug.assert(!L),ce(),P=q());var w=(b=jt.createWatchFactory(e,D)).watchFile,M=b.watchDirectory,F=b.writeLog,G=jt.createGetCanonicalFileName(y),B=(F("Current directory: "+h+" CaseSensitiveFileNames: "+y),v&&(p=w(v,(function(){jt.Debug.assert(!!v),n=jt.ConfigFileProgramReloadLevel.Full,ie()}),jt.PollingInterval.High,A,jt.WatchType.ConfigFile)),jt.createCompilerHostFromProgramHost(e,(function(){return D}),R)),U=(jt.setGetSourceFileAsHashVersioned(B,e),B.getSourceFile),V=(B.getSourceFile=function(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];return Z.apply(void 0,eu([e,X(e)],n,!1))},B.getSourceFileByPath=Z,B.getNewLine=function(){return P},B.fileExists=Q,B.onReleaseOldSourceFile=function(e,n,t){var r=f.get(e.resolvedPath);void 0!==r&&(Y(r)?(l=l||[]).push(e.path):r.sourceFile===e&&(r.fileWatcher&&r.fileWatcher.close(),f.delete(e.resolvedPath),t||V.removeResolutionsOfFile(e.path)))},B.onReleaseParsedCommandLine=function(e){e=X(e);var n=null==s?void 0:s.get(e);n&&(s.delete(e),n.watchedDirectories&&jt.clearMap(n.watchedDirectories,jt.closeFileWatcherOf),null!=(n=n.watcher)&&n.close(),jt.clearSharedExtendedConfigFileWatcher(e,c))},B.toPath=X,B.getCompilationSettings=function(){return D},B.useSourceOfProjectReferenceRedirect=jt.maybeBind(e,e.useSourceOfProjectReferenceRedirect),B.watchDirectoryOfFailedLookupLocation=function(e,n,t){return M(e,n,t,A,jt.WatchType.FailedLookupLocations)},B.watchTypeRootsDirectory=function(e,n,t){return M(e,n,t,A,jt.WatchType.TypeRoots)},B.getCachedDirectoryStructureHost=function(){return k},B.scheduleInvalidateResolutionsOfFailedLookupLocations=function(){if(!e.setTimeout||!e.clearTimeout)return V.invalidateResolutionsOfFailedLookupLocations();var n=re();F("Scheduling invalidateFailedLookup"+(n?", Cancelled earlier one":"")),o=e.setTimeout(ae,250)},B.onInvalidatedResolution=ie,B.onChangedAutomaticTypeDirectiveNames=ie,B.fileIsOpen=jt.returnFalse,B.getCurrentProgram=z,B.writeLog=F,B.getParsedCommandLine=de,jt.createResolutionCache(B,v?jt.getDirectoryPath(jt.getNormalizedAbsolutePath(v,h)):h,!1)),j=(B.resolveModuleNames=e.resolveModuleNames?function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return e.resolveModuleNames.apply(e,n)}:function(e,n,t,r){return V.resolveModuleNames(e,n,t,r)},B.resolveTypeReferenceDirectives=e.resolveTypeReferenceDirectives?function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return e.resolveTypeReferenceDirectives.apply(e,n)}:function(e,n,t){return V.resolveTypeReferenceDirectives(e,n,t)},!!e.resolveModuleNames||!!e.resolveTypeReferenceDirectives),K=oP(D,B);return J(),he(),v&&be(X(v),D,A,jt.WatchType.ExtendedConfigFile),v?{getCurrentProgram:W,getProgram:se,close:H}:{getCurrentProgram:W,getProgram:se,updateRootFileNames:function(e){jt.Debug.assert(!v,"Cannot update root file names with config file watch mode"),L=e,ie()},close:H};function H(){re(),V.clear(),jt.clearMap(f,(function(e){e&&e.fileWatcher&&(e.fileWatcher.close(),e.fileWatcher=void 0)})),p&&(p.close(),p=void 0),null!=m&&m.clear(),m=void 0,c&&(jt.clearMap(c,jt.closeFileWatcherOf),c=void 0),a&&(jt.clearMap(a,jt.closeFileWatcherOf),a=void 0),t&&(jt.clearMap(t,jt.closeFileWatcher),t=void 0),s&&(jt.clearMap(s,(function(e){var n;null!=(n=e.watcher)&&n.close(),e.watcher=void 0,e.watchedDirectories&&jt.clearMap(e.watchedDirectories,jt.closeFileWatcherOf),e.watchedDirectories=void 0})),s=void 0)}function W(){return K}function z(){return K&&K.getProgramOrUndefined()}function J(){F("Synchronizing program"),re();var n=K,a=(g&&(P=q(),n)&&(_||jt.changesAffectModuleResolution(n.getCompilerOptions(),D))&&V.clear(),V.createHasInvalidatedResolution(j||_));if(jt.isProgramUptoDate(z(),L,D,ee,Q,a,te,de,C))N&&(K=x(void 0,void 0,B,K,u,C),N=!1);else{F("CreatingProgramWith::"),F(" roots: "+JSON.stringify(L)),F(" options: "+JSON.stringify(D)),C&&F(" projectReferences: "+JSON.stringify(C));var i=g||!z();a=(N=g=!1,V.startCachingPerDirectoryResolution(),B.hasInvalidatedResolution=a,B.hasChangedAutomaticTypeDirectiveNames=te,K=x(L,D,B,K,u,C),jt.map(V.getModuleResolutionCache().getPackageJsonInfoCache().entries(),(function(e){var n=e[0];e=e[1];return[B.realpath?X(B.realpath(n)):n,e]})));if(V.finishCachingPerDirectoryResolution(),jt.updateMissingFilePathsWatch(K.getProgram(),t=t||new jt.Map,_e),jt.updatePackageJsonWatch(a,r=r||new jt.Map,fe),i&&V.updateTypeRootsWatch(),l){for(var o=0,s=l;o<s.length;o++){var c=s[o];t.has(c)||f.delete(c)}l=void 0}}_=!1,e.afterProgramCreate&&n!==K&&e.afterProgramCreate(K)}function q(){return jt.getNewLineCharacter(D||E,(function(){return e.getNewLine()}))}function X(e){return jt.toPath(e,h,G)}function Y(e){return"boolean"==typeof e}function Q(e){var n=X(e);return!Y(f.get(n))&&R.fileExists(e)}function Z(e,n,t,r,a){var i=f.get(n);if(!Y(i))return void 0===i||a||"boolean"==typeof i.version?(a=U(e,t,r),i?a?(i.sourceFile=a,i.version=a.version,i.fileWatcher||(i.fileWatcher=ue(n,e,pe,jt.PollingInterval.Low,A,jt.WatchType.SourceFile))):(i.fileWatcher&&i.fileWatcher.close(),f.set(n,!1)):a?(t=ue(n,e,pe,jt.PollingInterval.Low,A,jt.WatchType.SourceFile),f.set(n,{sourceFile:a,version:a.version,fileWatcher:t})):f.set(n,!1),a):i.sourceFile}function $(e){var n=f.get(e);void 0!==n&&(Y(n)?f.set(e,{version:!1}):n.version=!1)}function ee(e){return e=f.get(e),e&&e.version?e.version:void 0}function ne(n){e.onWatchStatusChange&&e.onWatchStatusChange(jt.createCompilerDiagnostic(n),P,D||E)}function te(){return V.hasChangedAutomaticTypeDirectiveNames()}function re(){return!(!o||(e.clearTimeout(o),o=void 0))}function ae(){o=void 0,V.invalidateResolutionsOfFailedLookupLocations()&&ie()}function ie(){e.setTimeout&&e.clearTimeout&&(i&&e.clearTimeout(i),F("Scheduling update"),i=e.setTimeout(oe,250))}function oe(){i=void 0,ne(jt.Diagnostics.File_change_detected_Starting_incremental_compilation),se()}function se(){switch(n){case jt.ConfigFileProgramReloadLevel.Partial:jt.perfLogger.logStartUpdateProgram("PartialConfigReload"),F("Reloading new file names and options"),L=jt.getFileNamesFromConfigSpecs(D.configFile.configFileSpecs,jt.getNormalizedAbsolutePath(jt.getDirectoryPath(v),h),D,O,S),jt.updateErrorForNoInputFiles(L,jt.getNormalizedAbsolutePath(v,h),D.configFile.configFileSpecs,u,I)&&(N=!0),J();break;case jt.ConfigFileProgramReloadLevel.Full:jt.perfLogger.logStartUpdateProgram("FullConfigReload"),F("Reloading config file: "+v),n=jt.ConfigFileProgramReloadLevel.None,k&&k.clearCache(),ce(),g=!0,J(),he(),be(X(v),D,A,jt.WatchType.ExtendedConfigFile);break;default:jt.perfLogger.logStartUpdateProgram("SynchronizeProgram"),J()}return jt.perfLogger.logStopUpdateProgram("Done"),K}function ce(){le(jt.getParsedCommandLineOfConfigFile(v,E,O,m=m||new jt.Map,T,S))}function le(e){L=e.fileNames,D=e.options,A=e.watchOptions,C=e.projectReferences,d=e.wildcardDirectories,u=jt.getConfigFileParsingDiagnostics(e).slice(),I=jt.canJsonReportNoInputFiles(e.raw),N=!0}function de(n){var t=X(n),r=null==s?void 0:s.get(t);if(r){if(!r.reloadLevel)return r.parsedCommandLine;if(r.parsedCommandLine&&r.reloadLevel===jt.ConfigFileProgramReloadLevel.Partial&&!e.getParsedCommandLine)return F("Reloading new file names and options"),a=jt.getFileNamesFromConfigSpecs(r.parsedCommandLine.options.configFile.configFileSpecs,jt.getNormalizedAbsolutePath(jt.getDirectoryPath(n),h),D,O),r.parsedCommandLine=nu(nu({},r.parsedCommandLine),{fileNames:a}),r.reloadLevel=void 0,r.parsedCommandLine}F("Loading config file: "+n);var a,i,o=e.getParsedCommandLine?e.getParsedCommandLine(n):(a=n,o=O.onUnRecoverableConfigFileDiagnostic,O.onUnRecoverableConfigFileDiagnostic=jt.noop,a=jt.getParsedCommandLineOfConfigFile(a,void 0,O,m=m||new jt.Map,T),O.onUnRecoverableConfigFileDiagnostic=o,a),c=(r?(r.parsedCommandLine=o,r.reloadLevel=void 0):(s=s||new jt.Map).set(t,r={parsedCommandLine:o}),n),l=t,d=r;return d.watcher||(d.watcher=w(c,(function(e,n){me(c,l,n),n=null==s?void 0:s.get(l),n&&(n.reloadLevel=jt.ConfigFileProgramReloadLevel.Full),V.removeResolutionsFromProjectReferenceRedirects(l),ie()}),jt.PollingInterval.High,(null==(i=d.parsedCommandLine)?void 0:i.watchOptions)||A,jt.WatchType.ConfigFileOfReferencedProject)),null!=(i=d.parsedCommandLine)&&i.wildcardDirectories?jt.updateWatchingWildcardDirectories(d.watchedDirectories||(d.watchedDirectories=new jt.Map),new jt.Map(jt.getEntries(null==(i=d.parsedCommandLine)?void 0:i.wildcardDirectories)),(function(e,n){return M(e,(function(n){var t=X(n),r=(k&&k.addOrDeleteFileOrDirectory(n,t),$(t),null==s?void 0:s.get(l));null!=r&&r.parsedCommandLine&&!jt.isIgnoredFileFromWildCardWatching({watchedDirPath:X(e),fileOrDirectory:n,fileOrDirectoryPath:t,configFileName:c,options:r.parsedCommandLine.options,program:r.parsedCommandLine.fileNames,currentDirectory:h,useCaseSensitiveFileNames:y,writeLog:F,toPath:X})&&r.reloadLevel!==jt.ConfigFileProgramReloadLevel.Full&&(r.reloadLevel=jt.ConfigFileProgramReloadLevel.Partial,ie())}),n,(null==(n=d.parsedCommandLine)?void 0:n.watchOptions)||A,jt.WatchType.WildcardDirectoryOfReferencedProject)})):d.watchedDirectories&&(jt.clearMap(d.watchedDirectories,jt.closeFileWatcherOf),d.watchedDirectories=void 0),be(l,null==(i=d.parsedCommandLine)?void 0:i.options,(null==(i=d.parsedCommandLine)?void 0:i.watchOptions)||A,jt.WatchType.ExtendedConfigOfReferencedProject),o}function ue(e,n,t,r,a,i){return w(n,(function(n,r){return t(n,r,e)}),r,a,i)}function pe(e,n,t){me(e,t,n),n===jt.FileWatcherEventKind.Deleted&&f.has(t)&&V.invalidateResolutionOfFile(t),$(t),ie()}function me(e,n,t){k&&k.addOrDeleteFile(e,n,t)}function _e(e){return null!=s&&s.has(e)?jt.noopFileWatcher:ue(e,e,ye,jt.PollingInterval.Medium,A,jt.WatchType.MissingFile)}function fe(e){return f.has(e)?jt.noopFileWatcher:ue(e,e,ge,jt.PollingInterval.High,A,jt.WatchType.PackageJson)}function ge(e,t,r){me(e,r,t),n=jt.ConfigFileProgramReloadLevel.Full,_=!0,ie()}function ye(e,n,r){me(e,r,n),n===jt.FileWatcherEventKind.Created&&t.has(r)&&(t.get(r).close(),t.delete(r),$(r),ie())}function he(){d?jt.updateWatchingWildcardDirectories(a=a||new jt.Map,new jt.Map(jt.getEntries(d)),ve):a&&jt.clearMap(a,jt.closeFileWatcherOf)}function ve(e,t){return M(e,(function(t){jt.Debug.assert(!!v);var r=X(t);k&&k.addOrDeleteFileOrDirectory(t,r),$(r),jt.isIgnoredFileFromWildCardWatching({watchedDirPath:X(e),fileOrDirectory:t,fileOrDirectoryPath:r,configFileName:v,extraFileExtensions:S,options:D,program:K||L,currentDirectory:h,useCaseSensitiveFileNames:y,writeLog:F,toPath:X})||n!==jt.ConfigFileProgramReloadLevel.Full&&(n=jt.ConfigFileProgramReloadLevel.Partial,ie())}),t,A,jt.WatchType.WildcardDirectory)}function be(e,t,r,a){jt.updateSharedExtendedConfigFileWatcher(e,t,c=c||new jt.Map,(function(e,t){return w(e,(function(r,a){me(e,t,a),m&&jt.cleanExtendedConfigCache(m,t,X),a=null==(a=c.get(t))?void 0:a.projects,null!=a&&a.size&&a.forEach((function(e){var t;X(v)===e?n=jt.ConfigFileProgramReloadLevel.Full:((t=null==s?void 0:s.get(e))&&(t.reloadLevel=jt.ConfigFileProgramReloadLevel.Full),V.removeResolutionsFromProjectReferenceRedirects(e)),ie()}))}),jt.PollingInterval.High,r,a)}),X)}},Kt=bY=bY||{},(sm=Kt.UpToDateStatusType||(Kt.UpToDateStatusType={}))[sm.Unbuildable=0]="Unbuildable",sm[sm.UpToDate=1]="UpToDate",sm[sm.UpToDateWithUpstreamTypes=2]="UpToDateWithUpstreamTypes",sm[sm.OutOfDateWithPrepend=3]="OutOfDateWithPrepend",sm[sm.OutputMissing=4]="OutputMissing",sm[sm.OutOfDateWithSelf=5]="OutOfDateWithSelf",sm[sm.OutOfDateWithUpstream=6]="OutOfDateWithUpstream",sm[sm.UpstreamOutOfDate=7]="UpstreamOutOfDate",sm[sm.UpstreamBlocked=8]="UpstreamBlocked",sm[sm.ComputingUpstream=9]="ComputingUpstream",sm[sm.TsVersionOutputOfDate=10]="TsVersionOutputOfDate",sm[sm.ContainerOnly=11]="ContainerOnly",Kt.resolveConfigFileProjectName=function(e){return Kt.fileExtensionIs(e,".json")?e:Kt.combinePaths(e,"tsconfig.json")},Ht=bY=bY||{},qt=new Date(-864e13),Xt=new Date(864e13),(OY=Wt=Wt||{})[OY.None=0]="None",OY[OY.Success=1]="Success",OY[OY.DeclarationOutputUnchanged=2]="DeclarationOutputUnchanged",OY[OY.ConfigFileErrors=4]="ConfigFileErrors",OY[OY.SyntaxErrors=8]="SyntaxErrors",OY[OY.TypeErrors=16]="TypeErrors",OY[OY.DeclarationEmitErrors=32]="DeclarationEmitErrors",OY[OY.EmitErrors=64]="EmitErrors",OY[OY.AnyErrors=124]="AnyErrors",Ht.isCircularBuildOrder=uP,Ht.getBuildOrderFromAnyBuildOrder=pP,Ht.createBuilderStatusReporter=mP,Ht.createSolutionBuilderHost=function(e,n,t,r,a){return(e=_P(e=void 0===e?Ht.sys:e,n,t,r)).reportErrorSummary=a,e},Ht.createSolutionBuilderWithWatchHost=function(e,n,t,r,a){return n=_P(e=void 0===e?Ht.sys:e,n,t,r),t=Ht.createWatchHost(e,a),Ht.copyProperties(n,t),n},Ht.createSolutionBuilder=function(e,n,t){return YP(!1,e,n,t)},Ht.createSolutionBuilderWithWatch=function(e,n,t,r){return YP(!0,e,n,t,r)},(OY=zt=Ht.InvalidatedProjectKind||(Ht.InvalidatedProjectKind={}))[OY.Build=0]="Build",OY[OY.UpdateBundle=1]="UpdateBundle",OY[OY.UpdateOutputFileStamps=2]="UpdateOutputFileStamps",(OY=Jt=Jt||{})[OY.CreateProgram=0]="CreateProgram",OY[OY.SyntaxDiagnostics=1]="SyntaxDiagnostics",OY[OY.SemanticDiagnostics=2]="SemanticDiagnostics",OY[OY.Emit=3]="Emit",OY[OY.EmitBundle=4]="EmitBundle",OY[OY.EmitBuildInfo=5]="EmitBuildInfo",OY[OY.BuildInvalidatedProjectOfBundle=6]="BuildInvalidatedProjectOfBundle",OY[OY.QueueReferencingProjects=7]="QueueReferencingProjects",OY[OY.Done=8]="Done",Yt=bY=bY||{},(cm=Yt.server||(Yt.server={})).ActionSet="action::set",cm.ActionInvalidate="action::invalidate",cm.ActionPackageInstalled="action::packageInstalled",cm.EventTypesRegistry="event::typesRegistry",cm.EventBeginInstallTypes="event::beginInstallTypes",cm.EventEndInstallTypes="event::endInstallTypes",cm.EventInitializationFailed="event::initializationFailed",(tu=cm.Arguments||(cm.Arguments={})).GlobalCacheLocation="--globalTypingsCacheLocation",tu.LogFile="--logFile",tu.EnableTelemetry="--enableTelemetry",tu.TypingSafeListLocation="--typingSafeListLocation",tu.TypesMapLocation="--typesMapLocation",tu.NpmLocation="--npmLocation",tu.ValidateDefaultNpmLocation="--validateDefaultNpmLocation",cm.hasArgument=function(e){return 0<=Yt.sys.args.indexOf(e)},cm.findArgument=function(e){return 0<=(e=Yt.sys.args.indexOf(e))&&e<Yt.sys.args.length-1?Yt.sys.args[e+1]:void 0},cm.nowString=function(){var e=new Date;return Yt.padLeft(e.getHours().toString(),2,"0")+":"+Yt.padLeft(e.getMinutes().toString(),2,"0")+":"+Yt.padLeft(e.getSeconds().toString(),2,"0")+"."+Yt.padLeft(e.getMilliseconds().toString(),3,"0")},Qt=bY=bY||{},(Zt=Qt.JsTyping||(Qt.JsTyping={})).isTypingUpToDate=iw,sm=["assert","assert/strict","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","diagnostics_channel","dns","dns/promises","domain","events","fs","fs/promises","http","https","http2","inspector","module","net","os","path","perf_hooks","process","punycode","querystring","readline","repl","stream","stream/promises","string_decoder","timers","timers/promises","tls","trace_events","tty","url","util","util/types","v8","vm","wasi","worker_threads","zlib"],Zt.prefixedNodeCoreModuleList=sm.map((function(e){return"node:"+e})),Zt.nodeCoreModuleList=eu(eu([],sm,!0),Zt.prefixedNodeCoreModuleList,!0),Zt.nodeCoreModules=new Qt.Set(Zt.nodeCoreModuleList),Zt.nonRelativeModuleNameForTypingCache=ow,Zt.loadSafeList=function(e,n){return n=Qt.readConfigFile(n,(function(n){return e.readFile(n)})),new Qt.Map(Qt.getEntries(n.config))},Zt.loadTypesMap=function(e,n){if((n=Qt.readConfigFile(n,(function(n){return e.readFile(n)}))).config)return new Qt.Map(Qt.getEntries(n.config.simpleMap))},Zt.discoverTypings=function(e,n,t,r,a,i,o,s,c){if(!o||!o.enable)return{cachedTypingPaths:[],newTypingNames:[],filesToWatch:[]};var l=new Qt.Map,d=(t=Qt.mapDefined(t,(function(e){if(e=Qt.normalizePath(e),Qt.hasJSFileExtension(e))return e})),[]),u=(o.include&&v(o.include,"Explicitly included types"),o.exclude||[]),p=new Qt.Set(t.map(Qt.getDirectoryPath));p.add(r),p.forEach((function(e){b(Qt.combinePaths(e,"package.json"),d);var n=Qt.combinePaths(e,"bower.json");b(n,d),E(Qt.combinePaths(e,"bower_components"),d),n=Qt.combinePaths(e,"node_modules"),E(n,d)})),o.disableFilenameBasedTypeAcquisition||(r=t,(p=Qt.mapDefined(r,(function(e){if(Qt.hasJSFileExtension(e))return e=Qt.removeFileExtension(Qt.getBaseFileName(e.toLowerCase())),e=Qt.removeMinAndVersionNumbers(e),a.get(e)}))).length&&v(p,"Inferred typings from file names"),Qt.some(r,(function(e){return Qt.fileExtensionIs(e,".jsx")}))&&(n&&n("Inferred 'react' typings due to presence of '.jsx' extension"),h("react"))),s&&v(Qt.deduplicate(s.map(ow),Qt.equateStringsCaseSensitive,Qt.compareStringsCaseSensitive),"Inferred typings from unresolved imports"),i.forEach((function(e,n){var t=c.get(n);l.has(n)&&void 0===l.get(n)&&void 0!==t&&iw(e,t)&&l.set(n,e.typingLocation)}));for(var m=0,_=u;m<_.length;m++){var f=_[m];l.delete(f)&&n&&n("Typing for "+f+" is in exclude list, will be ignored.")}var g=[],y=[];l.forEach((function(e,n){void 0!==e?y.push(e):g.push(n)})),o={cachedTypingPaths:y,newTypingNames:g,filesToWatch:d};return n&&n("Result: "+JSON.stringify(o)),o;function h(e){l.has(e)||l.set(e,void 0)}function v(e,t){n&&n(t+": "+JSON.stringify(e)),Qt.forEach(e,h)}function b(n,t){e.fileExists(n)&&(t.push(n),t=Qt.readConfigFile(n,(function(n){return e.readFile(n)})).config,v(Qt.flatMap([t.dependencies,t.devDependencies,t.optionalDependencies,t.peerDependencies],Qt.getOwnKeys),"Typing names in '"+n+"' dependencies"))}function E(t,r){if(r.push(t),e.directoryExists(t)){r=e.readDirectory(t,[".json"],void 0,void 0,2);for(var a=(n&&n("Searching for typing names in "+t+"; all files: "+JSON.stringify(r)),[]),i=0,o=r;i<o.length;i++){var s,c=o[i],d=(c=Qt.normalizePath(c),Qt.getBaseFileName(c));"package.json"!==d&&"bower.json"!==d||(s=Qt.readConfigFile(c,(function(n){return e.readFile(n)})).config,"package.json"===d&&s._requiredBy&&0===Qt.filter(s._requiredBy,(function(e){return"#"===e[0]||"/"===e})).length)||s.name&&((d=s.types||s.typings)?(d=Qt.getNormalizedAbsolutePath(d,Qt.getDirectoryPath(c)),n&&n(" Package '"+s.name+"' provides its own types."),l.set(s.name,d)):a.push(s.name))}v(a," Found package names")}}},(sm=Zt.NameValidationResult||(Zt.NameValidationResult={}))[sm.Ok=0]="Ok",sm[sm.EmptyName=1]="EmptyName",sm[sm.NameTooLong=2]="NameTooLong",sm[sm.NameStartsWithDot=3]="NameStartsWithDot",sm[sm.NameStartsWithUnderscore=4]="NameStartsWithUnderscore",sm[sm.NameContainsNonURISafeCharacters=5]="NameContainsNonURISafeCharacters",$t=214,Zt.validatePackageName=function(e){return function e(n,t){if(!n)return 1;if(n.length>$t)return 2;if(46===n.charCodeAt(0))return 3;if(95===n.charCodeAt(0))return 4;if(t){var r;t=/^@([^/]+)\/([^/]+)$/.exec(n);if(t)return 0!==(r=e(t[1],!1))?{name:t[1],isScopeName:!0,result:r}:0!==(r=e(t[2],!1))?{name:t[2],isScopeName:!1,result:r}:0}return encodeURIComponent(n)!==n?5:0}(e,!0)},Zt.renderPackageNameValidationFailure=function(e,n){return"object"==typeof e?sw(n,e.result,e.name,e.isScopeName):sw(n,e,n,!1)},OY=bY=bY||{},tu=OY.ScriptSnapshot||(OY.ScriptSnapshot={}),cw.prototype.getText=function(e,n){return 0===e&&n===this.text.length?this.text:this.text.substring(e,n)},cw.prototype.getLength=function(){return this.text.length},cw.prototype.getChangeRange=function(){},er=cw,tu.fromString=function(e){return new er(e)},(tu=OY.PackageJsonDependencyGroup||(OY.PackageJsonDependencyGroup={}))[tu.Dependencies=1]="Dependencies",tu[tu.DevDependencies=2]="DevDependencies",tu[tu.PeerDependencies=4]="PeerDependencies",tu[tu.OptionalDependencies=8]="OptionalDependencies",tu[tu.All=15]="All",(tu=OY.PackageJsonAutoImportPreference||(OY.PackageJsonAutoImportPreference={}))[tu.Off=0]="Off",tu[tu.On=1]="On",tu[tu.Auto=2]="Auto",(tu=OY.LanguageServiceMode||(OY.LanguageServiceMode={}))[tu.Semantic=0]="Semantic",tu[tu.PartialSemantic=1]="PartialSemantic",tu[tu.Syntactic=2]="Syntactic",OY.emptyOptions={},(tu=OY.SemanticClassificationFormat||(OY.SemanticClassificationFormat={})).Original="original",tu.TwentyTwenty="2020",(tu=OY.CompletionTriggerKind||(OY.CompletionTriggerKind={}))[tu.Invoked=1]="Invoked",tu[tu.TriggerCharacter=2]="TriggerCharacter",tu[tu.TriggerForIncompleteCompletions=3]="TriggerForIncompleteCompletions",(tu=OY.InlayHintKind||(OY.InlayHintKind={})).Type="Type",tu.Parameter="Parameter",tu.Enum="Enum",(tu=OY.HighlightSpanKind||(OY.HighlightSpanKind={})).none="none",tu.definition="definition",tu.reference="reference",tu.writtenReference="writtenReference",(tu=nr=OY.IndentStyle||(OY.IndentStyle={}))[tu.None=0]="None",tu[tu.Block=1]="Block",tu[tu.Smart=2]="Smart",(tu=tr=OY.SemicolonPreference||(OY.SemicolonPreference={})).Ignore="ignore",tu.Insert="insert",tu.Remove="remove",OY.getDefaultFormatCodeSettings=lw,OY.testFormatSettings=lw("\n"),(tu=OY.SymbolDisplayPartKind||(OY.SymbolDisplayPartKind={}))[tu.aliasName=0]="aliasName",tu[tu.className=1]="className",tu[tu.enumName=2]="enumName",tu[tu.fieldName=3]="fieldName",tu[tu.interfaceName=4]="interfaceName",tu[tu.keyword=5]="keyword",tu[tu.lineBreak=6]="lineBreak",tu[tu.numericLiteral=7]="numericLiteral",tu[tu.stringLiteral=8]="stringLiteral",tu[tu.localName=9]="localName",tu[tu.methodName=10]="methodName",tu[tu.moduleName=11]="moduleName",tu[tu.operator=12]="operator",tu[tu.parameterName=13]="parameterName",tu[tu.propertyName=14]="propertyName",tu[tu.punctuation=15]="punctuation",tu[tu.space=16]="space",tu[tu.text=17]="text",tu[tu.typeParameterName=18]="typeParameterName",tu[tu.enumMemberName=19]="enumMemberName",tu[tu.functionName=20]="functionName",tu[tu.regularExpressionLiteral=21]="regularExpressionLiteral",tu[tu.link=22]="link",tu[tu.linkName=23]="linkName",tu[tu.linkText=24]="linkText",(tu=OY.OutliningSpanKind||(OY.OutliningSpanKind={})).Comment="comment",tu.Region="region",tu.Code="code",tu.Imports="imports",(tu=OY.OutputFileType||(OY.OutputFileType={}))[tu.JavaScript=0]="JavaScript",tu[tu.SourceMap=1]="SourceMap",tu[tu.Declaration=2]="Declaration",(tu=OY.EndOfLineState||(OY.EndOfLineState={}))[tu.None=0]="None",tu[tu.InMultiLineCommentTrivia=1]="InMultiLineCommentTrivia",tu[tu.InSingleQuoteStringLiteral=2]="InSingleQuoteStringLiteral",tu[tu.InDoubleQuoteStringLiteral=3]="InDoubleQuoteStringLiteral",tu[tu.InTemplateHeadOrNoSubstitutionTemplate=4]="InTemplateHeadOrNoSubstitutionTemplate",tu[tu.InTemplateMiddleOrTail=5]="InTemplateMiddleOrTail",tu[tu.InTemplateSubstitutionPosition=6]="InTemplateSubstitutionPosition",(tu=OY.TokenClass||(OY.TokenClass={}))[tu.Punctuation=0]="Punctuation",tu[tu.Keyword=1]="Keyword",tu[tu.Operator=2]="Operator",tu[tu.Comment=3]="Comment",tu[tu.Whitespace=4]="Whitespace",tu[tu.Identifier=5]="Identifier",tu[tu.NumberLiteral=6]="NumberLiteral",tu[tu.BigIntLiteral=7]="BigIntLiteral",tu[tu.StringLiteral=8]="StringLiteral",tu[tu.RegExpLiteral=9]="RegExpLiteral",(tu=OY.ScriptElementKind||(OY.ScriptElementKind={})).unknown="",tu.warning="warning",tu.keyword="keyword",tu.scriptElement="script",tu.moduleElement="module",tu.classElement="class",tu.localClassElement="local class",tu.interfaceElement="interface",tu.typeElement="type",tu.enumElement="enum",tu.enumMemberElement="enum member",tu.variableElement="var",tu.localVariableElement="local var",tu.functionElement="function",tu.localFunctionElement="local function",tu.memberFunctionElement="method",tu.memberGetAccessorElement="getter",tu.memberSetAccessorElement="setter",tu.memberVariableElement="property",tu.constructorImplementationElement="constructor",tu.callSignatureElement="call",tu.indexSignatureElement="index",tu.constructSignatureElement="construct",tu.parameterElement="parameter",tu.typeParameterElement="type parameter",tu.primitiveType="primitive type",tu.label="label",tu.alias="alias",tu.constElement="const",tu.letElement="let",tu.directory="directory",tu.externalModuleName="external module name",tu.jsxAttribute="JSX attribute",tu.string="string",tu.link="link",tu.linkName="link name",tu.linkText="link text",(tu=OY.ScriptElementKindModifier||(OY.ScriptElementKindModifier={})).none="",tu.publicMemberModifier="public",tu.privateMemberModifier="private",tu.protectedMemberModifier="protected",tu.exportedModifier="export",tu.ambientModifier="declare",tu.staticModifier="static",tu.abstractModifier="abstract",tu.optionalModifier="optional",tu.deprecatedModifier="deprecated",tu.dtsModifier=".d.ts",tu.tsModifier=".ts",tu.tsxModifier=".tsx",tu.jsModifier=".js",tu.jsxModifier=".jsx",tu.jsonModifier=".json",(tu=OY.ClassificationTypeNames||(OY.ClassificationTypeNames={})).comment="comment",tu.identifier="identifier",tu.keyword="keyword",tu.numericLiteral="number",tu.bigintLiteral="bigint",tu.operator="operator",tu.stringLiteral="string",tu.whiteSpace="whitespace",tu.text="text",tu.punctuation="punctuation",tu.className="class name",tu.enumName="enum name",tu.interfaceName="interface name",tu.moduleName="module name",tu.typeParameterName="type parameter name",tu.typeAliasName="type alias name",tu.parameterName="parameter name",tu.docCommentTagName="doc comment tag name",tu.jsxOpenTagName="jsx open tag name",tu.jsxCloseTagName="jsx close tag name",tu.jsxSelfClosingTagName="jsx self closing tag name",tu.jsxAttribute="jsx attribute",tu.jsxText="jsx text",tu.jsxAttributeStringLiteralValue="jsx attribute string literal value",(tu=OY.ClassificationType||(OY.ClassificationType={}))[tu.comment=1]="comment",tu[tu.identifier=2]="identifier",tu[tu.keyword=3]="keyword",tu[tu.numericLiteral=4]="numericLiteral",tu[tu.operator=5]="operator",tu[tu.stringLiteral=6]="stringLiteral",tu[tu.regularExpressionLiteral=7]="regularExpressionLiteral",tu[tu.whiteSpace=8]="whiteSpace",tu[tu.text=9]="text",tu[tu.punctuation=10]="punctuation",tu[tu.className=11]="className",tu[tu.enumName=12]="enumName",tu[tu.interfaceName=13]="interfaceName",tu[tu.moduleName=14]="moduleName",tu[tu.typeParameterName=15]="typeParameterName",tu[tu.typeAliasName=16]="typeAliasName",tu[tu.parameterName=17]="parameterName",tu[tu.docCommentTagName=18]="docCommentTagName",tu[tu.jsxOpenTagName=19]="jsxOpenTagName",tu[tu.jsxCloseTagName=20]="jsxCloseTagName",tu[tu.jsxSelfClosingTagName=21]="jsxSelfClosingTagName",tu[tu.jsxAttribute=22]="jsxAttribute",tu[tu.jsxText=23]="jsxText",tu[tu.jsxAttributeStringLiteralValue=24]="jsxAttributeStringLiteralValue",tu[tu.bigintLiteral=25]="bigintLiteral";var dw=bY=bY||{};function uw(e){switch(e.kind){case 252:return dw.isInJSFile(e)&&dw.getJSDocEnumTag(e)?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 void 0===e.name?3:2;case 294:case 255:return 3;case 259:return dw.isAmbientModule(e)||1===dw.getModuleInstanceState(e)?5:4;case 258:case 267:case 268:case 263:case 264:case 269:case 270:return 7;case 300:return 5}return 7}function pw(e){for(;159===e.parent.kind;)e=e.parent;return dw.isInternalModuleImportEqualsDeclaration(e.parent)&&e.parent.moduleReference===e}function mw(e){return e.expression}function _w(e){return e.tag}function fw(e){return e.tagName}function gw(e,n,t,r,a){return r=(r?hw:yw)(e),!!(r=a?dw.skipOuterExpressions(r):r)&&!!r.parent&&n(r.parent)&&t(r.parent)===r}function yw(e){return Ew(e)?e.parent:e}function hw(e){return Ew(e)||Tw(e)?e.parent:e}function vw(e){var n;return dw.isIdentifier(e)&&(null==(n=dw.tryCast(e.parent,dw.isBreakOrContinueStatement))?void 0:n.label)===e}function bw(e){var n;return dw.isIdentifier(e)&&(null==(n=dw.tryCast(e.parent,dw.isLabeledStatement))?void 0:n.label)===e}function Ew(e){var n;return(null==(n=dw.tryCast(e.parent,dw.isPropertyAccessExpression))?void 0:n.name)===e}function Tw(e){var n;return(null==(n=dw.tryCast(e.parent,dw.isElementAccessExpression))?void 0:n.argumentExpression)===e}dw.scanner=dw.createScanner(99,!0),(cm=dw.SemanticMeaning||(dw.SemanticMeaning={}))[cm.None=0]="None",cm[cm.Value=1]="Value",cm[cm.Type=2]="Type",cm[cm.Namespace=4]="Namespace",cm[cm.All=7]="All",dw.getMeaningFromDeclaration=uw,dw.getMeaningFromLocation=function(e){var n,t=(e=Bw(e)).parent;if(300===e.kind)return 1;if(dw.isExportAssignment(t)||dw.isExportSpecifier(t)||dw.isExternalModuleReference(t)||dw.isImportSpecifier(t)||dw.isImportClause(t)||dw.isImportEqualsDeclaration(t)&&e===t.name){for(var r=t;r;){if(dw.isImportEqualsDeclaration(r)||dw.isImportClause(r)||dw.isExportDeclaration(r))return r.isTypeOnly?2:7;r=r.parent}return 7}return pw(e)?(n=159===(n=e).kind?n:dw.isQualifiedName(n.parent)&&n.parent.right===n?n.parent:void 0)&&263===n.parent.kind?7:4:dw.isDeclarationName(e)?uw(t):dw.isEntityName(e)&&dw.findAncestor(e,dw.or(dw.isJSDocNameReference,dw.isJSDocLinkLike,dw.isJSDocMemberName))?7:(e=>{switch((e=dw.isRightSideOfQualifiedNameOrPropertyAccess(e)?e.parent:e).kind){case 108:return!dw.isExpressionNode(e);case 190:return 1}switch(e.parent.kind){case 176:return 1;case 198:return!e.parent.isTypeOf;case 226:return!dw.isExpressionWithTypeArgumentsInClassExtendsClause(e.parent)}})(e)?2:(e=>{var n=e,t=!0;if(159===n.parent.kind){for(;n.parent&&159===n.parent.kind;)n=n.parent;t=n.right===e}return 176===n.parent.kind&&!t})(n=e)||(e=>{var n=e,t=!0;if(204===n.parent.kind){for(;n.parent&&204===n.parent.kind;)n=n.parent;t=n.name===e}return!t&&226===n.parent.kind&&289===n.parent.parent.kind&&(255===(e=n.parent.parent.parent).kind&&117===n.parent.parent.token||256===e.kind&&94===n.parent.parent.token)})(n)?4:dw.isTypeParameterDeclaration(t)?(dw.Debug.assert(dw.isJSDocTemplateTag(t.parent)),2):dw.isLiteralTypeNode(t)?3:1},dw.isInRightSideOfInternalImportEqualsDeclaration=pw,dw.isCallExpressionTarget=function(e,n,t){return gw(e,dw.isCallExpression,mw,n=void 0!==n&&n,t=void 0!==t&&t)},dw.isNewExpressionTarget=function(e,n,t){return gw(e,dw.isNewExpression,mw,n=void 0!==n&&n,t=void 0!==t&&t)},dw.isCallOrNewExpressionTarget=function(e,n,t){return gw(e,dw.isCallOrNewExpression,mw,n=void 0!==n&&n,t=void 0!==t&&t)},dw.isTaggedTemplateTag=function(e,n,t){return gw(e,dw.isTaggedTemplateExpression,_w,n=void 0!==n&&n,t=void 0!==t&&t)},dw.isDecoratorTarget=function(e,n,t){return gw(e,dw.isDecorator,mw,n=void 0!==n&&n,t=void 0!==t&&t)},dw.isJsxOpeningLikeElementTagName=function(e,n,t){return gw(e,dw.isJsxOpeningLikeElement,fw,n=void 0!==n&&n,t=void 0!==t&&t)},dw.climbPastPropertyAccess=yw,dw.climbPastPropertyOrElementAccess=hw,dw.getTargetLabel=function(e,n){for(;e;){if(248===e.kind&&e.label.escapedText===n)return e.label;e=e.parent}},dw.hasPropertyAccessExpressionWithName=function(e,n){return!!dw.isPropertyAccessExpression(e.expression)&&e.expression.name.text===n},dw.isJumpStatementTarget=vw,dw.isLabelOfLabeledStatement=bw,dw.isLabelName=function(e){return bw(e)||vw(e)},dw.isTagName=function(e){var n;return(null==(n=dw.tryCast(e.parent,dw.isJSDocTag))?void 0:n.tagName)===e},dw.isRightSideOfQualifiedName=function(e){var n;return(null==(n=dw.tryCast(e.parent,dw.isQualifiedName))?void 0:n.right)===e},dw.isRightSideOfPropertyAccess=Ew,dw.isArgumentExpressionOfElementAccess=Tw,dw.isNameOfModuleDeclaration=function(e){var n;return(null==(n=dw.tryCast(e.parent,dw.isModuleDeclaration))?void 0:n.name)===e},dw.isNameOfFunctionDeclaration=function(e){var n;return dw.isIdentifier(e)&&(null==(n=dw.tryCast(e.parent,dw.isFunctionLike))?void 0:n.name)===e},dw.isLiteralNameOfPropertyDeclarationOrIndexAccess=function(e){switch(e.parent.kind){case 165:case 164:case 291:case 294:case 167:case 166:case 170:case 171:case 259:return dw.getNameOfDeclaration(e.parent)===e;case 205:return e.parent.argumentExpression===e;case 160:return!0;case 194:return 192===e.parent.parent.kind;default:return!1}},dw.isExpressionOfExternalModuleImportEqualsDeclaration=function(e){return dw.isExternalModuleImportEqualsDeclaration(e.parent.parent)&&dw.getExternalModuleImportEqualsDeclarationExpression(e.parent.parent)===e},dw.getContainerNode=function(e){for(dw.isJSDocTypeAlias(e)&&(e=e.parent.parent);;){if(!(e=e.parent))return;switch(e.kind){case 300:case 167:case 166:case 254:case 211:case 170:case 171:case 255:case 256:case 258:case 259:return e}}},dw.getNodeKind=function e(n){switch(n.kind){case 300:return dw.isExternalModule(n)?"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 o(n);case 201:return o(dw.getRootDeclaration(n));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 t=n.initializer;return dw.isFunctionLike(t)?"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 dw.hasSyntacticModifier(n,16476)?"property":"parameter";case 263:case 268:case 273:case 266:case 272:return"alias";case 219:var r=dw.getAssignmentDeclarationKind(n),a=n.right;switch(r){case 7:case 8:case 9:case 0:return"";case 1:case 2:var i=e(a);return""===i?"const":i;case 3:return dw.isFunctionExpression(a)?"method":"property";case 4:return"property";case 5:return dw.isFunctionExpression(a)?"method":"property";case 6:return"local class";default:return dw.assertType(r),""}case 79:return dw.isImportClause(n.parent)?"alias":"";case 269:return""===(t=e(n.expression))?"const":t;default:return""}function o(e){return dw.isVarConst(e)?"const":dw.isLet(e)?"let":"var"}},dw.isThis=function(e){switch(e.kind){case 108:return!0;case 79:return dw.identifierIsThisKeyword(e)&&162===e.parent.kind;default:return!1}};var Sw=/^\/\/\/\s*</;function xw(e,n){return Dw(e.pos,e.end,n)}function Lw(e,n){return e.pos<n&&n<e.end}function Dw(e,n,t){return e<=t.pos&&n>=t.end}function Aw(e,n,t,r){return Math.max(e,t)<Math.min(n,r)}function Cw(e,n,t){if(e=e.getChildren(t),e.length){if(t=dw.last(e),t.kind===n)return!0;if(26===t.kind&&1!==e.length)return e[e.length-2].kind===n}return!1}function Iw(e,n,t){return!!Nw(e,n,t)}function Nw(e,n,t){return dw.find(e.getChildren(t),(function(e){return e.kind===n}))}function kw(e){var n=dw.find(e.parent.getChildren(),(function(n){return dw.isSyntaxList(n)&&xw(n,e)}));return dw.Debug.assert(!n||dw.contains(n.getChildren(),e)),n}function Rw(e){return 88===e.kind}function Ow(e){return 84===e.kind}function Pw(e){return 98===e.kind}function ww(e,n){if(!n)switch(e.kind){case 255:case 224:var t=e;if(dw.isNamedDeclaration(t))return t.name;if(dw.isClassDeclaration(t)){var r=t.modifiers&&dw.find(t.modifiers,Rw);if(r)return r}return dw.isClassExpression(t)&&(r=dw.find(t.getChildren(),Ow),r)?r:void 0;case 254:case 211:if(t=e,dw.isNamedDeclaration(t))return t.name;if(dw.isFunctionDeclaration(t)){var a=dw.find(t.modifiers,Rw);if(a)return a}return dw.isFunctionExpression(t)&&(a=dw.find(t.getChildren(),Pw),a)?a:void 0}if(dw.isNamedDeclaration(e))return e.name}function Mw(e,n){if(e.importClause){if(e.importClause.name&&e.importClause.namedBindings)return;if(e.importClause.name)return e.importClause.name;if(e.importClause.namedBindings){var t;if(dw.isNamedImports(e.importClause.namedBindings))return(t=dw.singleOrUndefined(e.importClause.namedBindings.elements))?t.name:void 0;if(dw.isNamespaceImport(e.importClause.namedBindings))return e.importClause.namedBindings.name}}if(!n)return e.moduleSpecifier}function Fw(e,n){if(e.exportClause){if(dw.isNamedExports(e.exportClause))return dw.singleOrUndefined(e.exportClause.elements)?e.exportClause.elements[0].name:void 0;if(dw.isNamespaceExport(e.exportClause))return e.exportClause.name}if(!n)return e.moduleSpecifier}function Gw(e,n){var t,r=e.parent;if((dw.isModifier(e)&&(n||88!==e.kind)?dw.contains(r.modifiers,e):84===e.kind?dw.isClassDeclaration(r)||dw.isClassExpression(e):98===e.kind?dw.isFunctionDeclaration(r)||dw.isFunctionExpression(e):118===e.kind?dw.isInterfaceDeclaration(r):92===e.kind?dw.isEnumDeclaration(r):150===e.kind?dw.isTypeAliasDeclaration(r):141===e.kind||140===e.kind?dw.isModuleDeclaration(r):100===e.kind?dw.isImportEqualsDeclaration(r):135===e.kind?dw.isGetAccessorDeclaration(r):147===e.kind&&dw.isSetAccessorDeclaration(r))&&(t=ww(r,n)))return t;if((113===e.kind||85===e.kind||119===e.kind)&&dw.isVariableDeclarationList(r)&&1===r.declarations.length){var a=r.declarations[0];if(dw.isIdentifier(a.name))return a.name}if(150===e.kind){if(dw.isImportClause(r)&&r.isTypeOnly&&(t=Mw(r.parent,n)))return t;if(dw.isExportDeclaration(r)&&r.isTypeOnly&&(t=Fw(r,n)))return t}if(127===e.kind){if(dw.isImportSpecifier(r)&&r.propertyName||dw.isExportSpecifier(r)&&r.propertyName||dw.isNamespaceImport(r)||dw.isNamespaceExport(r))return r.name;if(dw.isExportDeclaration(r)&&r.exportClause&&dw.isNamespaceExport(r.exportClause))return r.exportClause.name}if(100===e.kind&&dw.isImportDeclaration(r)&&(t=Mw(r,n)))return t;if(93===e.kind){if(dw.isExportDeclaration(r)&&(t=Fw(r,n)))return t;if(dw.isExportAssignment(r))return dw.skipOuterExpressions(r.expression)}if(144===e.kind&&dw.isExternalModuleReference(r))return r.expression;if(154===e.kind&&(dw.isImportDeclaration(r)||dw.isExportDeclaration(r))&&r.moduleSpecifier)return r.moduleSpecifier;if((94===e.kind||117===e.kind)&&dw.isHeritageClause(r)&&r.token===e.kind&&(t=(e=>{if(1===e.types.length)return e.types[0].expression})(r)))return t;if(94===e.kind){if(dw.isTypeParameterDeclaration(r)&&r.constraint&&dw.isTypeReferenceNode(r.constraint))return r.constraint.typeName;if(dw.isConditionalTypeNode(r)&&dw.isTypeReferenceNode(r.extendsType))return r.extendsType.typeName}if(136===e.kind&&dw.isInferTypeNode(r))return r.typeParameter.name;if(101===e.kind&&dw.isTypeParameterDeclaration(r)&&dw.isMappedTypeNode(r.parent))return r.name;if(139===e.kind&&dw.isTypeOperatorNode(r)&&139===r.operator&&dw.isTypeReferenceNode(r.type))return r.type.typeName;if(143===e.kind&&dw.isTypeOperatorNode(r)&&143===r.operator&&dw.isArrayTypeNode(r.type)&&dw.isTypeReferenceNode(r.type.elementType))return r.type.elementType.typeName;if(!n){if((103===e.kind&&dw.isNewExpression(r)||114===e.kind&&dw.isVoidExpression(r)||112===e.kind&&dw.isTypeOfExpression(r)||131===e.kind&&dw.isAwaitExpression(r)||125===e.kind&&dw.isYieldExpression(r)||89===e.kind&&dw.isDeleteExpression(r))&&r.expression)return dw.skipOuterExpressions(r.expression);if((101===e.kind||102===e.kind)&&dw.isBinaryExpression(r)&&r.operatorToken===e)return dw.skipOuterExpressions(r.right);if(127===e.kind&&dw.isAsExpression(r)&&dw.isTypeReferenceNode(r.type))return r.type.typeName;if(101===e.kind&&dw.isForInStatement(r)||158===e.kind&&dw.isForOfStatement(r))return dw.skipOuterExpressions(r.expression)}return e}function Bw(e){return Gw(e,!1)}function Uw(e,n,t){return jw(e,n,!1,t,!1)}function Vw(e,n){return jw(e,n,!0,void 0,!1)}function jw(e,n,t,r,a){var i=e;e:for(;;){for(var o=0,s=i.getChildren(e);o<s.length;o++){var c=s[o];if(n<(t?c.getFullStart():c.getStart(e,!0)))break;var l=c.getEnd();if(n<l||n===l&&(1===c.kind||a)){i=c;continue e}if(r&&l===n&&(l=Hw(n,e,c),l&&r(l)))return l}return i}}function Kw(e,n,t){return function n(r){return dw.isToken(r)&&r.pos===e.end?r:dw.firstDefined(r.getChildren(t),(function(r){var a=r.pos<=e.pos&&r.end>e.end||r.pos===e.end;return a&&eM(r,t)?n(r):void 0}))}(n)}function Hw(e,n,t,r){var a=function a(i){if(Ww(i)&&1!==i.kind)return i;var o=i.getChildren(n),s=dw.binarySearchKey(o,e,(function(e,n){return n}),(function(n,t){return e<o[n].end?!o[n-1]||e>=o[n-1].end?0:1:-1}));if(0<=s&&o[s]){var c,l=o[s];if(e<l.end)return c=l.getStart(n,!r),e<=c||!eM(l,n)||qw(l)?(c=Jw(o,s,n))&&zw(c,n):a(l)}return dw.Debug.assert(void 0!==t||300===i.kind||1===i.kind||dw.isJSDocCommentContainingNode(i)),s=Jw(o,o.length,n),s&&zw(s,n)}(t||n);return dw.Debug.assert(!(a&&qw(a))),a}function Ww(e){return dw.isToken(e)&&!qw(e)}function zw(e,n){var t;return Ww(e)||0===(t=e.getChildren(n)).length?e:(e=Jw(t,t.length,n))&&zw(e,n)}function Jw(e,n,t){for(var r=n-1;0<=r;r--)if(qw(e[r]))dw.Debug.assert(0<r,"`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`");else if(eM(e[r],t))return e[r]}function qw(e){return dw.isJsxText(e)&&e.containsOnlyTriviaWhiteSpaces}function Xw(e,n,t){var r=dw.tokenToString(e.kind),a=dw.tokenToString(n),i=e.getFullStart();a=t.text.lastIndexOf(a,i);if(-1!==a){if(t.text.lastIndexOf(r,i-1)<a&&(r=Hw(a+1,t),r&&r.kind===n))return r;for(var o=e.kind,s=0;;){var c=Hw(e.getFullStart(),t);if(!c)return;if((e=c).kind===n){if(0===s)return e;s--}else e.kind===o&&s++}}}function Yw(e,n,t){return n?e.getNonNullableType():t?e.getNonOptionalType():e}function Qw(e,n,t){return t=t.getTypeAtLocation(e),dw.isOptionalChain(e.parent)&&(t=Yw(t,dw.isOptionalChainRoot(e.parent),!0)),(dw.isNewExpression(e.parent)?t.getConstructSignatures():t.getCallSignatures()).filter((function(e){return!!e.typeParameters&&e.typeParameters.length>=n}))}function Zw(e,n){if(-1!==n.text.lastIndexOf("<",e?e.pos:n.text.length))for(var t=e,r=0,a=0;t;){switch(t.kind){case 29:if(!(t=(t=Hw(t.getFullStart(),n))&&28===t.kind?Hw(t.getFullStart(),n):t)||!dw.isIdentifier(t))return;if(!r)return dw.isDeclarationName(t)?void 0:{called:t,nTypeArguments:a};r--;break;case 49:r=3;break;case 48:r=2;break;case 31:r++;break;case 19:if(t=Xw(t,18,n))break;return;case 21:if(t=Xw(t,20,n))break;return;case 23:if(t=Xw(t,22,n))break;return;case 27:a++;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(dw.isTypeNode(t))break;return}t=Hw(t.getFullStart(),n)}}function $w(e,n,t){return dw.formatting.getRangeOfEnclosingComment(e,n,void 0,t)}function eM(e,n){return 1===e.kind?!!e.jsDoc:0!==e.getWidth(n)}function nM(e,n,t){return n=$w(e,n,void 0),!!n&&t===Sw.test(e.text.substring(n.pos,n.end))}function tM(e,n,t){return dw.createTextSpanFromBounds(e.getStart(n),(t||e).getEnd())}function rM(e){if(!e.isUnterminated)return dw.createTextSpanFromBounds(e.getStart()+1,e.getEnd()-1)}function aM(e,n){return{span:e,newText:n}}function iM(e){return 150===e.kind}function oM(e,n){return{fileExists:function(n){return e.fileExists(n)},getCurrentDirectory:function(){return n.getCurrentDirectory()},readFile:dw.maybeBind(n,n.readFile),useCaseSensitiveFileNames:dw.maybeBind(n,n.useCaseSensitiveFileNames),getSymlinkCache:dw.maybeBind(n,n.getSymlinkCache)||e.getSymlinkCache,getModuleSpecifierCache:dw.maybeBind(n,n.getModuleSpecifierCache),getGlobalTypingsCacheLocation:dw.maybeBind(n,n.getGlobalTypingsCacheLocation),redirectTargetsMap:e.redirectTargetsMap,getProjectReferenceRedirect:function(n){return e.getProjectReferenceRedirect(n)},isSourceOfProjectReferenceRedirect:function(n){return e.isSourceOfProjectReferenceRedirect(n)},getNearestAncestorDirectoryWithPackageJson:dw.maybeBind(n,n.getNearestAncestorDirectoryWithPackageJson),getFileIncludeReasons:function(){return e.getFileIncludeReasons()}}}function sM(e,n){return nu(nu({},oM(e,n)),{getCommonSourceDirectory:function(){return e.getCommonSourceDirectory()}})}function cM(e,n,t,r,a){return dw.factory.createImportDeclaration(void 0,void 0,e||n?dw.factory.createImportClause(!!a,e,n&&n.length?dw.factory.createNamedImports(n):void 0):void 0,"string"==typeof t?lM(t,r):t)}function lM(e,n){return dw.factory.createStringLiteral(e,0===n)}function dM(e,n){return dw.isStringDoubleQuoted(e,n)?1:0}function uM(e,n){return n.quotePreference&&"auto"!==n.quotePreference?"single"===n.quotePreference?0:1:(n=e.imports&&dw.find(e.imports,(function(e){return dw.isStringLiteral(e)&&!dw.nodeIsSynthesized(e.parent)})))?dM(n,e):1}function pM(e){return"default"!==e.escapedName?e.escapedName:dw.firstDefined(e.declarations,(function(e){return e=dw.getNameOfDeclaration(e),e&&79===e.kind?e.escapedText:void 0}))}function mM(e,n){return!!e&&!!n&&e.start===n.start&&e.length===n.length}function _M(e){return e.declarations&&0<e.declarations.length&&162===e.declarations[0].kind}dw.getLineStartPositionForPosition=function(e,n){return dw.getLineStarts(n)[n.getLineAndCharacterOfPosition(e).line]},dw.rangeContainsRange=xw,dw.rangeContainsRangeExclusive=function(e,n){return Lw(e,n.pos)&&Lw(e,n.end)},dw.rangeContainsPosition=function(e,n){return e.pos<=n&&n<=e.end},dw.rangeContainsPositionExclusive=Lw,dw.startEndContainsRange=Dw,dw.rangeContainsStartEnd=function(e,n,t){return e.pos<=n&&e.end>=t},dw.rangeOverlapsWithStartEnd=function(e,n,t){return Aw(e.pos,e.end,n,t)},dw.nodeOverlapsWithStartEnd=function(e,n,t,r){return Aw(e.getStart(n),e.end,t,r)},dw.startEndOverlapsWithStartEnd=Aw,dw.positionBelongsToNode=function(e,n,t){return dw.Debug.assert(e.pos<=n),n<e.end||!function e(n,t){if(void 0===n||dw.nodeIsMissing(n))return!1;switch(n.kind){case 255:case 256:case 258:case 203:case 199:case 180:case 233:case 260:case 261:case 267:case 271:return Cw(n,19,t);case 290:return e(n.block,t);case 207:if(!n.arguments)return!0;case 206:case 210:case 189:return Cw(n,21,t);case 177:case 178:return e(n.type,t);case 169:case 170:case 171:case 254:case 211:case 167:case 166:case 173:case 172:case 212:return n.body?e(n.body,t):n.type?e(n.type,t):Iw(n,21,t);case 259:return!!n.body&&e(n.body,t);case 237:return n.elseStatement?e(n.elseStatement,t):e(n.thenStatement,t);case 236:return e(n.expression,t)||Iw(n,26,t);case 202:case 200:case 205:case 160:case 182:return Cw(n,23,t);case 174:return n.type?e(n.type,t):Iw(n,23,t);case 287:case 288:return!1;case 240:case 241:case 242:case 239:return e(n.statement,t);case 238:return Iw(n,115,t)?Cw(n,21,t):e(n.statement,t);case 179:return e(n.exprName,t);case 214:case 213:case 215:case 222:case 223:var r=n;return e(r.expression,t);case 208:return e(n.template,t);case 221:return r=dw.lastOrUndefined(n.templateSpans),e(r,t);case 231:return dw.nodeIsPresent(n.literal);case 270:case 264:return dw.nodeIsPresent(n.moduleSpecifier);case 217:return e(n.operand,t);case 219:return e(n.right,t);case 220:return e(n.whenFalse,t);default:return!0}}(e,t)},dw.findListItemInfo=function(e){var n,t=kw(e);if(t)return n=t.getChildren(),{listItemIndex:dw.indexOfNode(n,e),list:t}},dw.hasChildOfKind=Iw,dw.findChildOfKind=Nw,dw.findContainingList=kw,dw.getContextualTypeOrAncestorTypeNodeType=function(e,n){var t,r=n.getContextualType(e);return r||((r=e.parent)&&dw.isBinaryExpression(r)&&UM(r.operatorToken.kind)?n.getTypeAtLocation(e===r.left?r.right:r.left):(dw.findAncestor(e,(function(e){return dw.isTypeNode(e)&&(t=e),!dw.isQualifiedName(e.parent)&&!dw.isTypeNode(e.parent)&&!dw.isTypeElement(e.parent)})),(r=t)&&n.getTypeAtLocation(r)))},dw.getAdjustedReferenceLocation=Bw,dw.getAdjustedRenameLocation=function(e){return Gw(e,!0)},dw.getTouchingPropertyName=function(e,n){return Uw(e,n,(function(e){return dw.isPropertyNameLiteral(e)||dw.isKeyword(e.kind)||dw.isPrivateIdentifier(e)}))},dw.getTouchingToken=Uw,dw.getTokenAtPosition=Vw,dw.findFirstNonJsxWhitespaceToken=function(e,n){for(var t=Vw(e,n);qw(t);){var r=Kw(t,t.parent,e);if(!r)return;t=r}return t},dw.findTokenOnLeftOfPosition=function(e,n){var t=Vw(e,n);return dw.isToken(t)&&n>t.getStart(e)&&n<t.getEnd()?t:Hw(n,e)},dw.findNextToken=Kw,dw.findPrecedingToken=Hw,dw.isInString=function(e,n,t){if((t=void 0===t?Hw(n,e):t)&&dw.isStringTextContainingNode(t)){e=t.getStart(e);var r=t.getEnd();if(e<n&&n<r)return!0;if(n===r)return!!t.isUnterminated}return!1},dw.isInsideJsxElementOrAttribute=function(e,n){return!!(e=Vw(e,n))&&(11===e.kind||29===e.kind&&11===e.parent.kind||29===e.kind&&286===e.parent.kind||!(!e||19!==e.kind||286!==e.parent.kind)||29===e.kind&&279===e.parent.kind)},dw.isInTemplateString=function(e,n){var t=Vw(e,n);return dw.isTemplateLiteralKind(t.kind)&&n>t.getStart(e)},dw.isInJSXText=function(e,n){return e=Vw(e,n),!!dw.isJsxText(e)||!(18!==e.kind||!dw.isJsxExpression(e.parent)||!dw.isJsxElement(e.parent.parent))||!(29!==e.kind||!dw.isJsxOpeningLikeElement(e.parent)||!dw.isJsxElement(e.parent.parent))},dw.isInsideJsxElement=function(e,n){for(var t=Vw(e,n);t;){if(!(277<=t.kind&&t.kind<=286||11===t.kind||29===t.kind||31===t.kind||79===t.kind||19===t.kind||18===t.kind||43===t.kind)){if(276!==t.kind)return!1;if(n>t.getStart(e))return!0}t=t.parent}return!1},dw.findPrecedingMatchingToken=Xw,dw.removeOptionality=Yw,dw.isPossiblyTypeArgumentPosition=function e(n,t,r){return n=Zw(n,t),void 0!==n&&(dw.isPartOfTypeNode(n.called)||0!==Qw(n.called,n.nTypeArguments,r).length||e(n.called,t,r))},dw.getPossibleGenericSignatures=Qw,dw.getPossibleTypeArgumentsInfo=Zw,dw.isInComment=$w,dw.hasDocComment=function(e,n){return e=Vw(e,n),!!dw.findAncestor(e,dw.isJSDoc)},dw.getNodeModifiers=function(e,n){void 0===n&&(n=0);var t=[];return 8&(n=dw.isDeclaration(e)?dw.getCombinedNodeFlagsAlwaysIncludeJSDoc(e)&~n:0)&&t.push("private"),16&n&&t.push("protected"),4&n&&t.push("public"),(32&n||dw.isClassStaticBlockDeclaration(e))&&t.push("static"),128&n&&t.push("abstract"),1&n&&t.push("export"),8192&n&&t.push("deprecated"),8388608&e.flags&&t.push("declare"),269===e.kind&&t.push("export"),0<t.length?t.join(","):""},dw.getTypeArgumentOrTypeParameterList=function(e){return 176===e.kind||206===e.kind?e.typeArguments:dw.isFunctionLike(e)||255===e.kind||256===e.kind?e.typeParameters:void 0},dw.isComment=function(e){return 2===e||3===e},dw.isStringOrRegularExpressionOrTemplateLiteral=function(e){return!(10!==e&&13!==e&&!dw.isTemplateLiteralKind(e))},dw.isPunctuation=function(e){return 18<=e&&e<=78},dw.isInsideTemplateLiteral=function(e,n,t){return dw.isTemplateLiteralKind(e.kind)&&e.getStart(t)<n&&n<e.end||!!e.isUnterminated&&n===e.end},dw.isAccessibilityModifier=function(e){switch(e){case 123:case 121:case 122:return!0}return!1},dw.cloneCompilerOptions=function(e){var n=dw.clone(e);return dw.setConfigFileInOptions(n,e&&e.configFile),n},dw.isArrayLiteralOrObjectLiteralDestructuringPattern=function e(n){if(202===n.kind||203===n.kind){if(219===n.parent.kind&&n.parent.left===n&&63===n.parent.operatorToken.kind)return!0;if(242===n.parent.kind&&n.parent.initializer===n)return!0;if(e((291===n.parent.kind?n.parent:n).parent))return!0}return!1},dw.isInReferenceComment=function(e,n){return nM(e,n,!0)},dw.isInNonReferenceComment=function(e,n){return nM(e,n,!1)},dw.getReplacementSpanForContextToken=function(e){if(e)switch(e.kind){case 10:case 14:return rM(e);default:return tM(e)}},dw.createTextSpanFromNode=tM,dw.createTextSpanFromStringLiteralLikeContent=rM,dw.createTextRangeFromNode=function(e,n){return dw.createRange(e.getStart(n),e.end)},dw.createTextSpanFromRange=function(e){return dw.createTextSpanFromBounds(e.pos,e.end)},dw.createTextRangeFromSpan=function(e){return dw.createRange(e.start,e.start+e.length)},dw.createTextChangeFromStartLength=function(e,n,t){return aM(dw.createTextSpan(e,n),t)},dw.createTextChange=aM,dw.typeKeywords=[129,128,156,132,95,136,139,142,104,145,146,143,148,149,110,114,151,152,153],dw.isTypeKeyword=function(e){return dw.contains(dw.typeKeywords,e)},dw.isTypeKeywordToken=iM,dw.isExternalModuleSymbol=function(e){return!!(1536&e.flags)&&34===e.name.charCodeAt(0)},dw.nodeSeenTracker=function(){var e=[];return function(n){return n=dw.getNodeId(n),!e[n]&&(e[n]=!0)}},dw.getSnapshotText=function(e){return e.getText(0,e.getLength())},dw.repeatString=function(e,n){for(var t="",r=0;r<n;r++)t+=e;return t},dw.skipConstraint=function(e){return e.isTypeParameter()&&e.getConstraint()||e},dw.getNameFromPropertyName=function(e){return 160===e.kind?dw.isStringOrNumericLiteralLike(e.expression)?e.expression.text:void 0:dw.isPrivateIdentifier(e)?dw.idText(e):dw.getTextOfIdentifierOrLiteral(e)},dw.programContainsModules=function(e){return e.getSourceFiles().some((function(n){return!(n.isDeclarationFile||e.isSourceFileFromExternalLibrary(n)||!n.externalModuleIndicator&&!n.commonJsModuleIndicator)}))},dw.programContainsEs6Modules=function(e){return e.getSourceFiles().some((function(n){return!n.isDeclarationFile&&!e.isSourceFileFromExternalLibrary(n)&&!!n.externalModuleIndicator}))},dw.compilerOptionsIndicateEs6Modules=function(e){return!!e.module||2<=e.target||!!e.noEmit},dw.createModuleSpecifierResolutionHost=oM,dw.getModuleSpecifierResolverHost=sM,dw.makeImportIfNecessary=function(e,n,t,r){return e||n&&n.length?cM(e,n,t,r):void 0},dw.makeImport=cM,dw.makeStringLiteral=lM,(cm=dw.QuotePreference||(dw.QuotePreference={}))[cm.Single=0]="Single",cm[cm.Double=1]="Double",dw.quotePreferenceFromString=dM,dw.getQuotePreference=uM,dw.getQuoteFromPreference=function(e){switch(e){case 0:return"'";case 1:return'"';default:return dw.Debug.assertNever(e)}},dw.symbolNameNoDefault=function(e){return void 0===(e=pM(e))?void 0:dw.unescapeLeadingUnderscores(e)},dw.symbolEscapedNameNoDefault=pM,dw.isModuleSpecifierLike=function(e){return dw.isStringLiteralLike(e)&&(dw.isExternalModuleReference(e.parent)||dw.isImportDeclaration(e.parent)||dw.isRequireCall(e.parent,!1)&&e.parent.arguments[0]===e||dw.isImportCall(e.parent)&&e.parent.arguments[0]===e)},dw.isObjectBindingElementWithoutPropertyName=function(e){return dw.isBindingElement(e)&&dw.isObjectBindingPattern(e.parent)&&dw.isIdentifier(e.name)&&!e.propertyName},dw.getPropertySymbolFromBindingElement=function(e,n){var t=e.getTypeAtLocation(n.parent);return t&&e.getPropertyOfType(t,n.name.text)},dw.getParentNodeInSpan=function(e,n,t){var r,a;if(e)for(;e.parent;){if(dw.isSourceFile(e.parent)||(r=t,a=e.parent,!(dw.textSpanContainsPosition(r,a.getStart(n))&&a.getEnd()<=dw.textSpanEnd(r))))return e;e=e.parent}},dw.findModifier=function(e,n){return e.modifiers&&dw.find(e.modifiers,(function(e){return e.kind===n}))},dw.insertImports=function(e,n,t,r){var a=235===(dw.isArray(t)?t[0]:t).kind?dw.isRequireVariableStatement:dw.isAnyImportSyntax,i=dw.filter(n.statements,a);a=dw.isArray(t)?dw.stableSort(t,dw.OrganizeImports.compareImportsOrRequireStatements):[t];if(i.length)if(i&&dw.OrganizeImports.importsAreSorted(i))for(var o=0,s=a;o<s.length;o++){var c,l=s[o],d=dw.OrganizeImports.getImportDeclarationInsertionIndex(i,l);0===d?(c=i[0]===n.statements[0]?{leadingTriviaOption:dw.textChanges.LeadingTriviaOption.Exclude}:{},e.insertNodeBefore(n,i[0],l,!1,c)):(c=i[d-1],e.insertNodeAfter(n,c,l))}else t=dw.lastOrUndefined(i),t?e.insertNodesAfter(n,t,a):e.insertNodesAtTopOfFile(n,a,r);else e.insertNodesAtTopOfFile(n,a,r)},dw.getTypeKeywordOfTypeOnlyImport=function(e,n){return dw.Debug.assert(e.isTypeOnly),dw.cast(e.getChildAt(0,n),iM)},dw.textSpansEqual=mM,dw.documentSpansEqual=function(e,n){return e.fileName===n.fileName&&mM(e.textSpan,n.textSpan)},dw.forEachUnique=function(e,n){if(e)for(var t=0;t<e.length;t++)if(e.indexOf(e[t])===t){var r=n(e[t],t);if(r)return r}},dw.isTextWhiteSpaceLike=function(e,n,t){for(var r=n;r<t;r++)if(!dw.isWhiteSpaceLike(e.charCodeAt(r)))return!1;return!0},dw.isFirstDeclarationOfSymbolParameter=_M;var fM=(()=>{function e(e){return s(e,dw.SymbolDisplayPartKind.text)}var n,t,r,a,i=10*dw.defaultMaximumTruncationLength;return c(),{displayParts:function(){var e=n.length&&n[n.length-1].text;return i<a&&e&&"..."!==e&&(dw.isWhiteSpaceLike(e.charCodeAt(e.length-1))||n.push(yM(" ",dw.SymbolDisplayPartKind.space)),n.push(yM("...",dw.SymbolDisplayPartKind.punctuation))),n},writeKeyword:function(e){return s(e,dw.SymbolDisplayPartKind.keyword)},writeOperator:function(e){return s(e,dw.SymbolDisplayPartKind.operator)},writePunctuation:function(e){return s(e,dw.SymbolDisplayPartKind.punctuation)},writeTrailingSemicolon:function(e){return s(e,dw.SymbolDisplayPartKind.punctuation)},writeSpace:function(e){return s(e,dw.SymbolDisplayPartKind.space)},writeStringLiteral:function(e){return s(e,dw.SymbolDisplayPartKind.stringLiteral)},writeParameter:function(e){return s(e,dw.SymbolDisplayPartKind.parameterName)},writeProperty:function(e){return s(e,dw.SymbolDisplayPartKind.propertyName)},writeLiteral:function(e){return s(e,dw.SymbolDisplayPartKind.stringLiteral)},writeSymbol:function(e,t){i<a||(o(),a+=e.length,n.push(gM(e,t)))},writeLine:function(){i<a||(a+=1,n.push(SM()),t=!0)},write:e,writeComment:e,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:dw.notImplemented,getIndent:function(){return r},increaseIndent:function(){r++},decreaseIndent:function(){r--},clear:c,trackSymbol:function(){return!1},reportInaccessibleThisError:dw.noop,reportInaccessibleUniqueSymbolError:dw.noop,reportPrivateInBaseOfClassExpression:dw.noop};function o(){var e;i<a||t&&((e=dw.getIndentString(r))&&(a+=e.length,n.push(yM(e,dw.SymbolDisplayPartKind.space))),t=!1)}function s(e,t){i<a||(o(),a+=e.length,n.push(yM(e,t)))}function c(){n=[],t=!0,a=r=0}})();function gM(e,n){return yM(e,(e=>{var n=e.flags;return 3&n?_M(e)?dw.SymbolDisplayPartKind.parameterName:dw.SymbolDisplayPartKind.localName:4&n||32768&n||65536&n?dw.SymbolDisplayPartKind.propertyName:8&n?dw.SymbolDisplayPartKind.enumMemberName:16&n?dw.SymbolDisplayPartKind.functionName:32&n?dw.SymbolDisplayPartKind.className:64&n?dw.SymbolDisplayPartKind.interfaceName:384&n?dw.SymbolDisplayPartKind.enumName:1536&n?dw.SymbolDisplayPartKind.moduleName:8192&n?dw.SymbolDisplayPartKind.methodName:262144&n?dw.SymbolDisplayPartKind.typeParameterName:524288&n||2097152&n?dw.SymbolDisplayPartKind.aliasName:dw.SymbolDisplayPartKind.text})(n))}function yM(e,n){return{text:e,kind:dw.SymbolDisplayPartKind[n]}}function hM(e){return yM(dw.tokenToString(e),dw.SymbolDisplayPartKind.keyword)}function vM(e){return yM(e,dw.SymbolDisplayPartKind.text)}function bM(e){return yM(e,dw.SymbolDisplayPartKind.linkText)}function EM(e,n){return{text:dw.getTextOfNode(e),kind:dw.SymbolDisplayPartKind[dw.SymbolDisplayPartKind.linkName],target:{fileName:dw.getSourceFileOfNode(n).fileName,textSpan:tM(n)}}}function TM(e){return yM(e,dw.SymbolDisplayPartKind.link)}function SM(){return yM("\n",dw.SymbolDisplayPartKind.lineBreak)}function xM(e){try{return e(fM),fM.displayParts()}finally{fM.clear()}}function LM(e){return 0!=(33554432&e.flags)}function DM(e,n){return void 0===n&&(n=!0),e=e&&CM(e),e&&!n&&kM(e),e}function AM(e,n,t){var r=t(e);return r?dw.setOriginalNode(r,e):r=CM(e,t),r&&!n&&kM(r),r}function CM(e,n){var t,r=n?function(e){return AM(e,!0,n)}:DM;r=dw.visitEachChild(e,r,dw.nullTransformationContext,n?function(e){return e&&NM(e,!0,n)}:function(e){return e&&IM(e)},r);return r===e?(t=dw.isStringLiteral(e)?dw.setOriginalNode(dw.factory.createStringLiteralFromNode(e),e):dw.isNumericLiteral(e)?dw.setOriginalNode(dw.factory.createNumericLiteral(e.text,e.numericLiteralFlags),e):dw.factory.cloneNode(e),dw.setTextRange(t,e)):(r.parent=void 0,r)}function IM(e,n){return void 0===n&&(n=!0),e&&dw.factory.createNodeArray(e.map((function(e){return DM(e,n)})),e.hasTrailingComma)}function NM(e,n,t){return dw.factory.createNodeArray(e.map((function(e){return AM(e,n,t)})),e.hasTrailingComma)}function kM(e){RM(e),OM(e)}function RM(e){PM(e,512,wM)}function OM(e){PM(e,1024,dw.getLastChild)}function PM(e,n,t){dw.addEmitFlags(e,n),e=t(e),e&&PM(e,n,t)}function wM(e){return e.forEachChild((function(e){return e}))}function MM(e,n,t,r,a){dw.forEachLeadingCommentRange(t.text,e.pos,BM(n,t,r,a,dw.addSyntheticLeadingComment))}function FM(e,n,t,r,a){dw.forEachTrailingCommentRange(t.text,e.end,BM(n,t,r,a,dw.addSyntheticTrailingComment))}function GM(e,n,t,r,a){dw.forEachTrailingCommentRange(t.text,e.pos,BM(n,t,r,a,dw.addSyntheticLeadingComment))}function BM(e,n,t,r,a){return function(i,o,s,c){3===s?(i+=2,o-=2):i+=2,a(e,t||s,n.text.slice(i,o),void 0!==r?r:c)}}function UM(e){switch(e){case 36:case 34:case 37:case 35:return!0;default:return!1}}function VM(e,n){return n.getTypeAtLocation(e.parent.parent.expression)}function jM(e){return 172===e||173===e||174===e||164===e||166===e}function KM(e){return 254===e||169===e||167===e||170===e||171===e}function HM(e){return 259===e}function WM(e){return 235===e||236===e||238===e||243===e||244===e||245===e||249===e||251===e||165===e||257===e||264===e||263===e||270===e||262===e||269===e}function zM(e,n){return qM(e,e.fileExists,n)}function JM(e){try{return e()}catch(e){}}function qM(e,n){for(var t=[],r=2;r<arguments.length;r++)t[r-2]=arguments[r];return JM((function(){return n&&n.apply(e,t)}))}function XM(e,n){var t;return n.fileExists?(t=[],dw.forEachAncestorDirectory(dw.getDirectoryPath(e),(function(e){e=dw.combinePaths(e,"package.json");n.fileExists(e)&&(e=YM(e,n))&&t.push(e)})),t):[]}function YM(e,n){if(n.readFile){var t=(e=>{try{return JSON.parse(e)}catch(e){}})(n.readFile(e)||""),r={};if(t)for(var a=0,i=["dependencies","devDependencies","optionalDependencies","peerDependencies"];a<i.length;a++){var o=i[a],s=t[o];if(s){var c,l=new dw.Map;for(c in s)l.set(c,s[c]);r[o]=l}}var d=[[1,r.dependencies],[2,r.devDependencies],[8,r.optionalDependencies],[4,r.peerDependencies]];return nu(nu({},r),{parseable:!!t,fileName:e,get:u,has:function(e,n){return!!u(e,n)}})}function u(e,n){void 0===n&&(n=15);for(var t=0,r=d;t<r.length;t++){var a=r[t],i=a[0];a=a[1];if(a&&n&i&&(i=a.get(e),void 0!==i))return i}}}function QM(e){return dw.some(e.imports,(function(e){return e=e.text,dw.JsTyping.nodeCoreModules.has(e)}))}function ZM(e){return void 0!==e.file&&void 0!==e.start&&void 0!==e.length}function $M(e){var n=e.getSourceFile();return!(!n.externalModuleIndicator&&!n.commonJsModuleIndicator)&&(dw.isInJSFile(e)||!dw.findAncestor(e,dw.isGlobalScopeAugmentation))}function eF(e){var n,t=1,r=rr.createMultiMap(),a=new rr.Map,i={isUsableByFile:function(e){return e===n},isEmpty:function(){return!r.size},clear:function(){r.clear(),a.clear(),n=void 0},add:function(e,o,c,l,d,u,p,m,_){e!==n&&(i.clear(),n=e);e=1===u&&rr.getLocalSymbolForExportDefault(o)||o,e=rr.isExternalModuleSymbol(e)?rr.unescapeLeadingUnderscores(c):rr.getNameForExportedSymbol(e,m),m=rr.stripQuotes(l.name);var f=t++,g=33554432&o.flags?void 0:o,y=33554432&l.flags?void 0:l;g&&y||a.set(f,[o,l]),r.add(s(e,o,m,_),{id:f,symbolTableKey:c,symbolName:e,moduleName:m,moduleFile:d,moduleFileName:null==d?void 0:d.fileName,exportKind:u,targetFlags:rr.skipAlias(o,_).flags,isFromPackageJson:p,symbol:g,moduleSymbol:y})},get:function(e,t,a,i,c){return e!==n||null==(e=r.get(s(t,a,i,c)))?void 0:e.map(o)},forEach:function(e,t){e===n&&r.forEach((function(e,n){r=(n=n).substring(0,n.indexOf("|")),n=n.substring(n.lastIndexOf("|")+1);var r={symbolName:r,ambientModuleName:n="/"===n?void 0:n};n=r.symbolName,r=r.ambientModuleName;t(e.map(o),n,!!r)}))},releaseSymbols:function(){a.clear()},onFileChanged:function(e,t,r){if(!c(e)||!c(t)){if(n&&n!==t.path||r&&rr.consumesNodeCoreModules(e)!==rr.consumesNodeCoreModules(t)||!rr.arrayIsEqualTo(e.moduleAugmentations,t.moduleAugmentations)||!((e,n)=>{if(rr.arrayIsEqualTo(e.ambientModuleNames,n.ambientModuleNames)){for(var t=-1,r=-1,a=function(a){function i(e){return rr.isNonGlobalAmbientModule(e)&&e.name.text===a}if(t=rr.findIndex(e.statements,i,t+1),r=rr.findIndex(n.statements,i,r+1),e.statements[t]!==n.statements[r])return{value:!1}},i=0,o=n.ambientModuleNames;i<o.length;i++){var s=o[i];s=a(s);if("object"==typeof s)return s.value}return 1}})(e,t))return i.clear(),!0;n=t.path}return!1}};return rr.Debug.isDebugging&&Object.defineProperty(i,"__cache",{get:function(){return r}}),i;function o(n){var t,r,i,o,s,c,l,d;return n.symbol&&n.moduleSymbol?n:(r=n.exportKind,i=n.targetFlags,o=n.isFromPackageJson,s=n.moduleFileName,d=(l=a.get(t=n.id)||rr.emptyArray)[0],l=l[1],d&&l||(c=(o?e.getPackageJsonAutoImportProvider():e.getCurrentProgram()).getTypeChecker(),l=n.moduleSymbol||l||rr.Debug.checkDefined(n.moduleFile?c.getMergedSymbol(n.moduleFile.symbol):c.tryFindAmbientModule(n.moduleName)),d=n.symbol||d||rr.Debug.checkDefined(2===r?c.resolveExternalModuleSymbol(l):c.tryGetMemberInModuleExportsAndProperties(rr.unescapeLeadingUnderscores(n.symbolTableKey),l),"Could not find symbol '"+n.symbolName+"' by key '"+n.symbolTableKey+"' in module "+l.name),a.set(t,[d,l])),{symbol:d,moduleSymbol:l,moduleFileName:s,exportKind:r,targetFlags:i,isFromPackageJson:o})}function s(e,n,t,r){return t=rr.stripQuotes(t),t=rr.isExternalModuleNameRelative(t)?"/":t,e+"|"+(e=>{for(var n=e.name;e.parent;)n+=","+e.parent.name,e=e.parent;return n})(rr.skipAlias(n,r))+"|"+t}function c(e){return!(e.commonJsModuleIndicator||e.externalModuleIndicator||e.moduleAugmentations||e.ambientModuleNames)}}function nF(e,n,t,r){tF(e.getTypeChecker(),e.getSourceFiles(),(function(n,t){r(n,t,e,!1)}));var a,i=t&&(null==(t=n.getPackageJsonAutoImportProvider)?void 0:t.call(n));i&&(t=rr.timestamp(),tF(i.getTypeChecker(),i.getSourceFiles(),(function(e,n){r(e,n,i,!0)})),null!=(a=n.log))&&a.call(n,"forEachExternalModuleToImportFrom autoImportProvider: "+(rr.timestamp()-t))}function tF(e,n,t){for(var r=0,a=e.getAmbientModules();r<a.length;r++){var i=a[r];rr.stringContains(i.name,"*")||t(i,void 0)}for(var o=0,s=n;o<s.length;o++){var c=s[o];rr.isExternalOrCommonJsModule(c)&&t(e.getMergedSymbol(c.symbol),c)}}function rF(e,n,t){e=e;var r,a=(r=(a=n).resolveExternalModuleSymbol(e))!==e?{symbol:r,exportKind:2}:(r=a.tryGetMemberInModuleExports("default",e))?{symbol:r,exportKind:1}:void 0;if(a)return e=a.symbol,r=a.exportKind,(a=function e(n,t,r){var a=rr.getLocalSymbolForExportDefault(n);return a?{symbolForMeaning:a,name:a.name}:(a=iF(n),void 0!==a?{symbolForMeaning:n,name:a}:2097152&n.flags&&(a=t.getImmediateAliasedSymbol(n),a&&a.parent)?e(a,t,r):"default"!==n.escapedName&&"export="!==n.escapedName?{symbolForMeaning:n,name:n.getName()}:{symbolForMeaning:n,name:rr.getNameForExportedSymbol(n,r.target)})}(e,n,t))&&nu({symbol:e,exportKind:r},a)}function aF(e,n){return!(n.isUndefinedSymbol(e)||n.isUnknownSymbol(e)||rr.isKnownSymbol(e)||rr.isPrivateIdentifierSymbol(e))}function iF(e){return e.declarations&&rr.firstDefined(e.declarations,(function(e){var n;return rr.isExportAssignment(e)?null==(n=rr.tryCast(rr.skipOuterExpressions(e.expression),rr.isIdentifier))?void 0:n.text:rr.isExportSpecifier(e)?(rr.Debug.assert("default"===e.name.text,"Expected the specifier to be a default export"),e.propertyName&&e.propertyName.text):void 0}))}function oF(e,n){switch(n){case 259:case 255:case 256:case 254:case 224:case 211:case 212:e.throwIfCancellationRequested()}}function sF(e,n,t,r,a){var i=[];return t.forEachChild((function o(s){var c,l,d;s&&ar.textSpanIntersectsWith(a,s.pos,s.getFullWidth())&&(oF(n,s.kind),ar.isIdentifier(s)&&!ar.nodeIsMissing(s)&&r.has(s.escapedText)&&(d=(d=e.getSymbolAtLocation(s))&&function e(n,t,r){var a=n.getFlags();if(0!=(2885600&a))return 32&a?11:384&a?12:524288&a?16:1536&a?4&t||1&t&&cF(n)?14:void 0:2097152&a?e(r.getAliasedSymbol(n),t,r):2&t?64&a?13:262144&a?15:void 0:void 0}(d,ar.getMeaningFromLocation(s),e))&&(c=s.getStart(t),l=s.getEnd(),d=d,l-=c,ar.Debug.assert(0<l,"Classification had non-positive length of "+l),i.push(c),i.push(l),i.push(d)),s.forEachChild(o))})),{spans:i,endOfLineState:0}}function cF(e){return ar.some(e.declarations,(function(e){return ar.isModuleDeclaration(e)&&1===ar.getModuleInstanceState(e)}))}function lF(e){ar.Debug.assert(e.spans.length%3==0);for(var n=e.spans,t=[],r=0;r<n.length;r+=3)t.push({textSpan:ar.createTextSpan(n[r],n[r+1]),classificationType:(e=>{switch(e){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}})(n[r+2])});return t}function dF(e,n,t){var r=t.start,a=t.length,i=ar.createScanner(99,!1,n.languageVariant,n.text),o=ar.createScanner(99,!1,n.languageVariant,n.text),s=[];return m(n),{spans:s,endOfLineState:0};function c(e,n,t){s.push(e),s.push(n),s.push(t)}function l(e){for(i.setTextPos(e.pos);;){var t=i.getTextPos();if(!ar.couldStartTrivia(n.text,t))return t;var r=i.scan(),a=i.getTextPos(),s=a-t;if(!ar.isTrivia(r))return t;switch(r){case 4:case 5:continue;case 2:case 3:((e,t,r,a)=>{if(3===t){var i=ar.parseIsolatedJSDocComment(n.text,r,a);if(i&&i.jsDoc)return ar.setParent(i.jsDoc,e),(e=>{var n,t=e.pos;if(e.tags)for(var r=0,a=e.tags;r<a.length;r++){var i=a[r],o=(i.pos!==t&&d(t,i.pos-t),c(i.pos,1,10),c(i.tagName.pos,i.tagName.end-i.tagName.pos,18),t=i.tagName.end,i.tagName.end);switch(i.kind){case 335:var s=i;(e=>{e.isNameFirst&&(d(t,e.name.pos-t),c(e.name.pos,e.name.end-e.name.pos,17),t=e.name.end),e.typeExpression&&(d(t,e.typeExpression.pos-t),m(e.typeExpression),t=e.typeExpression.end),e.isNameFirst||(d(t,e.name.pos-t),c(e.name.pos,e.name.end-e.name.pos,17),t=e.name.end)})(s),o=s.isNameFirst&&(null==(l=s.typeExpression)?void 0:l.end)||s.name.end;break;case 342:var l=i;o=l.isNameFirst&&(null==(s=l.typeExpression)?void 0:s.end)||l.name.end;break;case 339:(e=>{for(var n=0,t=e.getChildren();n<t.length;n++)m(t[n])})(i),t=i.end,o=i.typeParameters.end;break;case 340:var u=i;o=304===(null==(n=u.typeExpression)?void 0:n.kind)&&(null==(n=u.fullName)?void 0:n.end)||(null==(n=u.typeExpression)?void 0:n.end)||o;break;case 333:o=i.typeExpression.end;break;case 338:m(i.typeExpression),t=i.end,o=i.typeExpression.end;break;case 337:case 334:o=i.typeExpression.end;break;case 336:m(i.typeExpression),t=i.end,o=(null==(u=i.typeExpression)?void 0:u.end)||o;break;case 341:o=(null==(n=i.name)?void 0:n.end)||o;break;case 323:case 324:o=i.class.end}"object"==typeof i.comment?d(i.comment.pos,i.comment.end-i.comment.pos):"string"==typeof i.comment&&d(o,i.end-o)}t!==e.end&&d(t,e.end-t)})(i.jsDoc)}else if(2===t&&((e,t)=>{var r=/(\s)(\S+)(\s*)(=)(\s*)('[^']+'|"[^"]+")/gim,a=n.text.substr(e,t);a=/^(\/\/\/\s*)(<)(?:(\S+)((?:[^/]|\/[^>])*)(\/>)?)?/im.exec(a);if(a&&a[3]&&a[3]in ar.commentPragmas){for(var i=e,o=(d(i,a[1].length),c(i+=a[1].length,a[2].length,10),c(i+=a[2].length,a[3].length,21),i+=a[3].length,a[4]),s=i;;){var l=r.exec(o);if(!l)break;var u=i+l.index+l[1].length;s<u&&(d(s,u-s),s=u),c(s,l[2].length,22),s+=l[2].length,l[3].length&&(d(s,l[3].length),s+=l[3].length),c(s,l[4].length,5),s+=l[4].length,l[5].length&&(d(s,l[5].length),s+=l[5].length),c(s,l[6].length,24),s+=l[6].length}return(i+=a[4].length)>s&&d(s,i-s),a[5]&&(c(i,a[5].length,10),i+=a[5].length),i<(a=e+t)&&d(i,a-i),1}})(r,a))return;d(r,a)})(e,r,t,s),i.setTextPos(a);continue;case 7:var l=n.text,u=l.charCodeAt(t);if(60===u||62===u)c(t,s,1);else{ar.Debug.assert(124===u||61===u),v=h=y=_=g=u=f=void 0;var _,f=l,g=(u=t,a);for(_=u;_<g&&!ar.isLineBreak(f.charCodeAt(_));_++);for(c(u,_-u,1),o.setTextPos(_);o.getTextPos()<g;){y=void 0,h=void 0,v=void 0;var y=o.getTextPos(),h=o.scan(),v=o.getTextPos();(h=p(h))&&c(y,v-y,h)}}break;case 6:break;default:ar.Debug.assertNever(r)}}}function d(e,n){c(e,n,1)}function u(e){var n,t,r;return ar.isJSDoc(e)||ar.nodeIsMissing(e)||(r=(e=>{switch(e.parent&&e.parent.kind){case 278:if(e.parent.tagName===e)return 19;break;case 279:if(e.parent.tagName===e)return 20;break;case 277:if(e.parent.tagName===e)return 21;break;case 283:if(e.parent.name===e)return 22}})(e),ar.isToken(e)||11===e.kind||void 0!==r?(n=11===e.kind?e.pos:l(e),ar.Debug.assert(0<=(t=e.end-n)),0<t&&(r=r||p(e.kind,e))&&c(n,t,r),1):void 0)}function p(e,n){if(ar.isKeyword(e))return 3;if((29===e||31===e)&&n&&ar.getTypeArgumentOrTypeParameterList(n.parent))return 10;if(ar.isPunctuation(e)){if(n){var t=n.parent;if(63===e&&(252===t.kind||165===t.kind||162===t.kind||283===t.kind))return 5;if(219===t.kind||217===t.kind||218===t.kind||220===t.kind)return 5}return 10}if(8===e)return 4;if(9===e)return 25;if(10===e)return n&&283===n.parent.kind?24:6;if(13===e)return 6;if(ar.isTemplateLiteralKind(e))return 6;if(11===e)return 23;if(79===e){if(n)switch(n.parent.kind){case 255:return n.parent.name===n?11:void 0;case 161:return n.parent.name===n?15:void 0;case 256:return n.parent.name===n?13:void 0;case 258:return n.parent.name===n?12:void 0;case 259:return n.parent.name===n?14:void 0;case 162:return n.parent.name===n?ar.isThisIdentifier(n)?3:17:void 0}return 2}}function m(t){if(t&&ar.decodedTextSpanIntersectsWith(r,a,t.pos,t.getFullWidth())){oF(e,t.kind);for(var i=0,o=t.getChildren(n);i<o.length;i++){var s=o[i];u(s)||m(s)}}}}function uF(e,n,t,r){return{spans:((e,n,t,r)=>{var a,i,o,s,c,l,d,u=[];return e&&n&&(i=n,o=t,s=function(e,t,r){u.push(e.getStart(n),e.getWidth(n),(t+1<<8)+r)},c=r,l=(a=e).getTypeChecker(),d=!1,function e(n){switch(n.kind){case 259:case 255:case 256:case 254:case 224:case 211:case 212:c.throwIfCancellationRequested()}var t,r,u,p,m,_,f;n&&or.textSpanIntersectsWith(o,n.pos,n.getFullWidth())&&0!==n.getFullWidth()&&(t=d,(or.isJsxElement(n)||or.isJsxSelfClosingElement(n))&&(d=!0),or.isJsxExpression(n)&&(d=!1),!or.isIdentifier(n)||d||(e=>(e=e.parent)&&(or.isImportClause(e)||or.isImportSpecifier(e)||or.isNamespaceImport(e)))(n)||or.isInfinityOrNaNString(n.escapedText)||(r=l.getSymbolAtLocation(n))&&void 0!==(u=((e,n)=>{var t=e.getFlags();if(32&t)return 0;if(384&t)return 1;if(524288&t)return 5;if(64&t){if(2&n)return 2}else if(262144&t)return 4;return(n=(n=e.valueDeclaration||e.declarations&&e.declarations[0])&&or.isBindingElement(n)?pF(n):n)&&sr.get(n.kind)})(r=2097152&r.flags?l.getAliasedSymbol(r):r,or.getMeaningFromLocation(n)))&&(p=0,n.parent&&(or.isBindingElement(n.parent)||sr.get(n.parent.kind)===u)&&n.parent.name===n&&(p=1),6===u&&mF(n)&&(u=9),u=((e,n,t)=>{if(7===t||9===t||6===t){var r=e.getTypeAtLocation(n);if(r){if(e=function(e){return e(r)||r.isUnion()&&r.types.some(e)},6!==t&&e((function(e){return 0<e.getConstructSignatures().length})))return 0;if(e((function(e){return 0<e.getCallSignatures().length}))&&!e((function(e){return 0<e.getProperties().length}))||(e=>{for(;mF(e);)e=e.parent;return or.isCallExpression(e.parent)&&e.parent.expression===e})(n))return 9===t?11:10}}return t})(l,n,u),(m=r.valueDeclaration)?(_=or.getCombinedModifierFlags(m),f=or.getCombinedNodeFlags(m),32&_&&(p|=2),256&_&&(p|=4),0!==u&&2!==u&&(64&_||2&f||8&r.getFlags())&&(p|=8),7!==u&&10!==u||!((e,n)=>(or.isBindingElement(e)&&(e=pF(e)),or.isVariableDeclaration(e)?(!or.isSourceFile(e.parent.parent.parent)||or.isCatchClause(e.parent))&&e.getSourceFile()===n:or.isFunctionDeclaration(e)&&!or.isSourceFile(e.parent)&&e.getSourceFile()===n))(m,i)||(p|=32),a.isSourceFileDefaultLibrary(m.getSourceFile())&&(p|=16)):r.declarations&&r.declarations.some((function(e){return a.isSourceFileDefaultLibrary(e.getSourceFile())}))&&(p|=16),s(n,u,p)),or.forEachChild(n,e),d=t)}(i)),u})(e,t,r,n),endOfLineState:0}}function pF(e){for(;;){if(!or.isBindingElement(e.parent.parent))return e.parent.parent;e=e.parent.parent}}function mF(e){return or.isQualifiedName(e.parent)&&e.parent.right===e||or.isPropertyAccessExpression(e.parent)&&e.parent.name===e}function _F(e){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!0,entries:e.map((function(e){var n=e.name,t=e.span;return{name:n,kind:e.kind,kindModifiers:fF(e.extension),sortText:lr.SortText.LocationPriority,replacementSpan:t}}))}}function fF(e){switch(e){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 cr.Debug.fail("Extension .tsbuildinfo is unsupported.");case void 0:return"";default:return cr.Debug.assertNever(e)}}function gF(e,n,t,r,a,i,o){var s,c,l,d,u,p,m,_,f=yF(n.parent);switch(f.kind){case 194:var g,y=yF(f.parent);switch(y.kind){case 176:var h=y,v=cr.findAncestor(f,(function(e){return e.parent===h}));return v?{kind:2,types:vF(r.getTypeArgumentConstraint(v)),isNewIdentifier:!1}:void 0;case 192:v=y.indexType;var b=y.objectType;return cr.rangeContainsPosition(v,t)?hF(r.getTypeFromTypeNode(b)):void 0;case 198:return{kind:0,paths:SF(e,n,a,i,r,o)};case 185:return cr.isTypeReferenceNode(y.parent)?(_=f,g=cr.mapDefined(y.types,(function(e){return e!==_&&cr.isLiteralTypeNode(e)&&cr.isStringLiteral(e.literal)?e.literal.text:void 0})),{kind:2,types:vF(r.getTypeArgumentConstraint(y)).filter((function(e){return!cr.contains(g,e.value)})),isNewIdentifier:!1}):void 0;default:return}case 291:return cr.isObjectLiteralExpression(f.parent)&&f.name===n?(s=r,m=f.parent,(p=s.getContextualType(m))?(E=s.getContextualType(m,4),{kind:1,symbols:lr.getPropertiesForObjectExpression(p,E,m,s),hasIndexSignature:cr.hasIndexSignature(p)}):void 0):T();case 205:var E=f.expression;return n===cr.skipParentheses(f.argumentExpression)?hF(r.getTypeAtLocation(E)):void 0;case 206:case 207:if(m=n,!(cr.isCallExpression(m.parent)&&cr.firstOrUndefined(m.parent.arguments)===m&&cr.isIdentifier(m.parent.expression)&&"require"===m.parent.expression.escapedText||cr.isImportCall(f)))return(s=cr.SignatureHelp.getArgumentInfoForCompletions(n,t,e))?(c=s,l=r,d=!1,u=new cr.Map,p=[],l.getResolvedSignature(c.invocation,p,c.argumentCount),{kind:2,types:cr.flatMap(p,(function(e){if(cr.signatureHasRestParameter(e)||!(c.argumentCount>e.parameters.length))return e=l.getParameterType(e,c.argumentIndex),d=d||!!(4&e.flags),vF(e,u)})),isNewIdentifier:d}):T();case 264:case 270:case 275:return{kind:0,paths:SF(e,n,a,i,r,o)};default:return T()}function T(){return{kind:2,types:vF(cr.getContextualTypeFromParent(n,r)),isNewIdentifier:!1}}}function yF(e){switch(e.kind){case 189:return cr.walkUpParenthesizedTypes(e);case 210:return cr.walkUpParenthesizedExpressions(e);default:return e}}function hF(e){return e&&{kind:1,symbols:cr.filter(e.getApparentProperties(),(function(e){return!(e.valueDeclaration&&cr.isPrivateIdentifierClassElementDeclaration(e.valueDeclaration))})),hasIndexSignature:cr.hasIndexSignature(e)}}function vF(e,n){return void 0===n&&(n=new cr.Map),e?(e=cr.skipConstraint(e)).isUnion()?cr.flatMap(e.types,(function(e){return vF(e,n)})):!e.isStringLiteral()||1024&e.flags||!cr.addToSeen(n,e.value)?cr.emptyArray:[e]:cr.emptyArray}function bF(e,n,t){return{name:e,kind:n,extension:t}}function EF(e){return bF(e,"directory",void 0)}function TF(e,n,t){r=e,a=n,i=-1!==(i=Math.max(r.lastIndexOf(cr.directorySeparator),r.lastIndexOf(cr.altDirectorySeparator)))?i+1:0;var r,a,i,o,s=0==(o=r.length-i)||cr.isIdentifierText(r.substr(i,o),99)?void 0:cr.createTextSpan(a+i,o),c=0===e.length?void 0:cr.createTextSpan(n,e.length);return t.map((function(e){var n=e.name,t=e.kind;e=e.extension;return-1!==Math.max(n.indexOf(cr.directorySeparator),n.indexOf(cr.altDirectorySeparator))?{name:n,kind:t,extension:e,span:c}:{name:n,kind:t,extension:e,span:s}}))}function SF(e,n,t,r,a,i){return TF(n.text,n.getStart(e)+1,(e=e,n=n,t=t,r=r,a=a,i=i,n=cr.normalizeSlashes(n.text),e=e.path,o=cr.getDirectoryPath(e),(e=>{var n;if(e&&2<=e.length&&46===e.charCodeAt(0))return n=3<=e.length&&46===e.charCodeAt(1)?2:1,47===(e=e.charCodeAt(n))||92===e})(n)||!t.baseUrl&&(cr.isRootedDiskPath(n)||cr.isUrl(n))?((e,n,t,r,a,i)=>{var o,s,c,l,d,u,p;return i="js"===i.importModuleSpecifierEnding?2:0,i=xF(t,i),t.rootDirs?(p=t.rootDirs,o=e,s=n,c=i,l=r,d=a,t=(t=t).project||l.getCurrentDirectory(),u=!(l.useCaseSensitiveFileNames&&l.useCaseSensitiveFileNames()),p=((e,n,t,r)=>{e=e.map((function(e){return cr.normalizePath(cr.isRootedDiskPath(e)?e:cr.combinePaths(n,e))}));var a=cr.firstDefined(e,(function(e){return cr.containsPath(e,t,n,r)?t.substr(e.length):void 0}));return cr.deduplicate(eu(eu([],e.map((function(e){return cr.combinePaths(e,a)})),!0),[t],!1),cr.equateStringsCaseSensitive,cr.compareStringsCaseSensitive)})(p,t,s,u),cr.flatMap(p,(function(e){return LF(o,e,c,l,d)}))):LF(e,n,i,r,a)})(n,o,t,r,e,i):((e,n,t,r,a)=>{var i,o=t.baseUrl,s=t.paths,c=[],l=xF(t);o&&(i=t.project||r.getCurrentDirectory(),i=cr.normalizePath(cr.combinePaths(i,o)),LF(e,i,l,r,void 0,c),s)&&DF(c,e,i,l.extensions,s,r);o=AF(e);for(var d=0,u=((e,n,t)=>{var r;t=t.getAmbientModules().map((function(e){return cr.stripQuotes(e.name)})).filter((function(n){return cr.startsWith(n,e)}));return void 0===n?t:(r=cr.ensureTrailingDirectorySeparator(n),t.map((function(e){return cr.removePrefix(e,r)})))})(e,o,a);d<u.length;d++){var p=u[d];c.push(bF(p,"external module name",void 0))}if(CF(r,t,n,o,l,c),cr.getEmitModuleResolutionKind(t)===cr.ModuleResolutionKind.NodeJs){var m=!1;if(void 0===o)for(var _=0,f=((e,n)=>{if(!e.readFile||!e.fileExists)return cr.emptyArray;for(var t=[],r=0,a=cr.findPackageJsons(n,e);r<a.length;r++)for(var i=a[r],o=cr.readJson(i,e),s=0,c=ur;s<c.length;s++){var l=c[s],d=o[l];if(d)for(var u in d)d.hasOwnProperty(u)&&!cr.startsWith(u,"@types/")&&t.push(u)}return t})(r,n);_<f.length;_++)(e=>{c.some((function(n){return n.name===e}))||(m=!0,c.push(bF(e,"external module name",void 0)))})(f[_]);m||cr.forEachAncestorDirectory(n,(function(n){n=cr.combinePaths(n,"node_modules"),cr.tryDirectoryExists(r,n)&&LF(e,n,l,r,void 0,c)}))}return c})(n,o,t,r,a)));var o}function xF(e,n){return void 0===n&&(n=0),{extensions:(e=e,t=cr.getSupportedExtensions(e),e.resolveJsonModule&&cr.getEmitModuleResolutionKind(e)===cr.ModuleResolutionKind.NodeJs?t.concat(".json"):t),includeExtensionsOption:n};var t}function LF(e,n,t,r,a,i){var o=t.extensions,s=t.includeExtensionsOption,c=(t=(void 0===i&&(i=[]),e=cr.normalizeSlashes(e=void 0===e?"":e),""===(e=cr.hasTrailingDirectorySeparator(e)?e:cr.getDirectoryPath(e))&&(e="."+cr.directorySeparator),e=cr.ensureTrailingDirectorySeparator(e),cr.resolvePath(n,e)),e=cr.hasTrailingDirectorySeparator(t)?t:cr.getDirectoryPath(t),!(r.useCaseSensitiveFileNames&&r.useCaseSensitiveFileNames()));if(cr.tryDirectoryExists(r,e)){var l=cr.tryReadDirectory(r,e,o,void 0,["./*"]);if(l){for(var d=new cr.Map,u=0,p=l;u<p.length;u++){var m,_,f=p[u];f=cr.normalizePath(f);a&&0===cr.comparePaths(f,a,n,c)||(m=void 0,_=cr.moduleSpecifiers.tryGetJSExtensionForFile(f,r.getCompilationSettings()),0!==s||cr.fileExtensionIs(f,".json")?2===s&&_?(m=cr.changeExtension(cr.getBaseFileName(f),_),d.set(m,_)):(m=cr.getBaseFileName(f),d.set(m,cr.tryGetExtensionFromPath(f))):(m=cr.removeFileExtension(cr.getBaseFileName(f)),d.set(m,cr.tryGetExtensionFromPath(f))))}d.forEach((function(e,n){i.push(bF(n,"script",e))}))}if(l=cr.tryGetDirectories(r,e),l)for(var g=0,y=l;g<y.length;g++){var h=y[g];h=cr.getBaseFileName(cr.normalizePath(h));"@types"!==h&&i.push(EF(h))}l=cr.findPackageJson(e,r);l&&"object"==typeof(l=cr.readJson(l,r).typesVersions)&&(l=(l=cr.getPackageJsonTypesVersionsPaths(l))&&l.paths,t=t.slice(cr.ensureTrailingDirectorySeparator(e).length),l)&&DF(i,t,e,o,l,r)}return i}function DF(e,n,t,r,a,i){for(var o in a)if(cr.hasProperty(a,o)){var s=a[o];if(s)for(var c=0,l=((e,n,t,r,a,i)=>{var o,s;return cr.endsWith(e,"*")?(o=e.slice(0,e.length-1),void 0===(s=cr.tryRemovePrefix(t,o))?c(o):cr.flatMap(n,(function(e){var n,t,o,c,l,d,u=s,p=r,m=a,_=i;if(_.readDirectory&&void 0!==(e=cr.tryParsePattern(e))&&!cr.isString(e))return n=cr.resolvePath(e.prefix),d=cr.hasTrailingDirectorySeparator(e.prefix)?n:cr.getDirectoryPath(n),n=cr.hasTrailingDirectorySeparator(e.prefix)?"":cr.getBaseFileName(n),t=IF(u),u=t?cr.hasTrailingDirectorySeparator(u)?u:cr.getDirectoryPath(u):void 0,u=t?cr.combinePaths(d,n+u):d,o=cr.normalizePath(e.suffix),c=cr.normalizePath(cr.combinePaths(p,u)),l=t?c:cr.ensureTrailingDirectorySeparator(c)+n,d=o?"**/*":"./*",e=cr.mapDefined(cr.tryReadDirectory(_,c,m,void 0,[d]),(function(e){var n=cr.tryGetExtensionFromPath(e);e=f(e);return void 0===e?void 0:bF(cr.removeFileExtension(e),"script",n)})),p=cr.mapDefined(cr.tryGetDirectories(_,c).map((function(e){return cr.combinePaths(c,e)})),(function(e){return e=f(e),void 0===e?void 0:EF(e)})),eu(eu([],e,!0),p,!0);function f(e){e=cr.normalizePath(e),t=l,n=o;var n,t=cr.startsWith(e,t)&&cr.endsWith(e,n)?e.slice(t.length,e.length-n.length):void 0;return void 0===t?void 0:(e=t)[0]===cr.directorySeparator?e.slice(1):e}}))):cr.stringContains(e,"*")?cr.emptyArray:c(e);function c(e){return cr.startsWith(e,t)?[EF(e)]:cr.emptyArray}})(o,s,n,t,r,i);c<l.length;c++){var d=l[c];((n,t,r)=>{e.some((function(e){return e.name===n}))||e.push(bF(n,t,r))})(d.name,d.kind,d.extension)}}}function AF(e){return IF(e)?cr.hasTrailingDirectorySeparator(e)?e:cr.getDirectoryPath(e):void 0}function CF(e,n,t,r,a,i){void 0===i&&(i=[]);for(var o=new cr.Map,s=0,c=cr.tryAndIgnoreErrors((function(){return cr.getEffectiveTypeRoots(n,e)}))||cr.emptyArray;s<c.length;s++)p(c[s]);for(var l=0,d=cr.findPackageJsons(t,e);l<d.length;l++){var u=d[l];p(cr.combinePaths(cr.getDirectoryPath(u),"node_modules/@types"))}return i;function p(t){if(cr.tryDirectoryExists(e,t))for(var s=0,c=cr.tryGetDirectories(e,t);s<c.length;s++){var l=c[s],d=cr.unmangleScopedPackageName(l);n.types&&!cr.contains(n.types,d)||(void 0===r?o.has(d)||(i.push(bF(d,"external module name",void 0)),o.set(d,!0)):(l=cr.combinePaths(t,l),void 0!==(d=cr.tryRemoveDirectoryPrefix(r,d,cr.hostGetCanonicalFileName(e)))&&LF(d,l,a,e,void 0,i)))}}}function IF(e){return cr.stringContains(e,cr.directorySeparator)}function NF(e){return!!(e&&4&e.kind)}function kF(e){return!(!e||32!==e.kind)}function RF(e,n,t,r,a,i,o){var s,c=pr.timestamp(),l=!1,d=0,u=0,p=0,m=0,_=(o=o({tryResolve:function(e,o){if(o)return(o=pr.codefix.getModuleSpecifierForBestExportInfo(e,r,t,n,a))&&d++,o;o=i||a.allowIncompleteCompletions&&u<mr.moduleSpecifierResolutionLimit;var s=!o&&a.allowIncompleteCompletions&&m<mr.moduleSpecifierResolutionCacheAttemptLimit,c=o||s?pr.codefix.getModuleSpecifierForBestExportInfo(e,r,t,n,a,s):void 0;return(!o&&!s||s&&!c)&&(l=!0),u+=(null==c?void 0:c.computedWithoutCacheCount)||0,p+=e.length-u,s&&m++,c},resolutionLimitExceeded:function(){return l}}),m?" ("+(p/m*100).toFixed(1)+"% hit rate)":"");return null!=(s=n.log)&&s.call(n,e+": resolved "+u+" module specifiers, plus "+d+" ambient and "+p+" from cache"+_),null!=(s=n.log)&&s.call(n,e+": response is "+(l?"incomplete":"complete")),null!=(_=n.log)&&_.call(n,e+": "+(pr.timestamp()-c)),o}function OF(e){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:e}}function PF(e,n){return pr.isSourceFileJS(e)&&!pr.isCheckJsEnabledForFile(e,n)}function wF(e,n,t){return"object"==typeof t?pr.pseudoBigIntToString(t)+"n":pr.isString(t)?pr.quote(e,n,t):JSON.stringify(t)}function MF(e,n,t,r,a,i,o,s,c,l,d,u,p,m,_,f){t=pr.getReplacementSpanForContextToken(t);var g,y,h,v,b,E=c&&!!(16&c.kind),T=c&&!!(2&c.kind)||s;if(c&&1&c.kind)g=s?"this"+(E?"?.":"")+"["+GF(a,f,o)+"]":"this"+(E?"?.":".")+o;else if((T||E)&&d){g=T?s?"["+GF(a,f,o)+"]":"["+o+"]":o,(E||d.questionDotToken)&&(g="?."+g);T=pr.findChildOfKind(d,24,a)||pr.findChildOfKind(d,28,a);if(!T)return;var S=(pr.startsWith(o,d.name.text)?d.name:T).end;t=pr.createTextSpanFromBounds(T.getStart(a),S)}if(u&&(g="{"+(g=void 0===g?o:g)+"}","boolean"!=typeof u)&&(t=pr.createTextSpanFromNode(u,a)),c&&8&c.kind&&d&&(void 0===g&&(g=o),T="",(S=pr.findPrecedingToken(d.pos,a))&&pr.positionIsASICandidate(S.end,S.parent,a)&&(T=";"),T+="(await "+d.expression.getText()+")",g=s?""+T+g:T+(E?"?.":".")+g,t=pr.createTextSpanFromBounds(d.getStart(a),d.end)),kF(c)&&(v=[pr.textPart(c.moduleSpecifier)],p)&&(g=(u=((e,n,t,r,a,i)=>{var o=n.getSourceFile(),s=pr.createTextSpanFromNode(n,o),c=pr.quote(o,i,t.moduleSpecifier),l=(n=t.isDefaultExport?1:"export="===t.exportName?2:0,i.includeCompletionsWithSnippetText?"$1":""),d=(t=pr.codefix.getImportKind(o,n,a,!0),r?";":"");switch(t){case 3:return{replacementSpan:s,insertText:"import "+e+l+" = require("+c+")"+d};case 1:return{replacementSpan:s,insertText:"import "+e+l+" from "+c+d};case 2:return{replacementSpan:s,insertText:"import * as "+e+" from "+c+d};case 0:return{replacementSpan:s,insertText:"import { "+e+l+" } from "+c+d}}})(o,p,c,m,_,f)).insertText,t=u.replacementSpan,h=!!f.includeCompletionsWithSnippetText||void 0),void 0===g||f.includeCompletionsWithInsertText)return(NF(c)||kF(c))&&(y=FF(c),b=!p),{name:o,kind:pr.SymbolDisplay.getSymbolKind(i,e,r),kindModifiers:pr.SymbolDisplay.getSymbolModifiers(i,e),sortText:n,source:BF(c),hasAction:!!b||void 0,isRecommended:(S=i,(s=e)===(T=l)||!!(1048576&s.flags)&&S.getExportSymbolOfSymbol(s)===T||void 0),insertText:g,replacementSpan:t,sourceDisplay:v,isSnippet:h,isPackageJsonImport:(NF(E=c)||kF(E))&&!!E.isFromPackageJson||void 0,isImportStatementCompletion:!!p||void 0,data:y}}function FF(e){return{exportName:e.exportName,fileName:e.fileName,ambientModuleName:e.fileName?void 0:pr.stripQuotes(e.moduleSymbol.name),isPackageJsonImport:!!e.isFromPackageJson||void 0,moduleSpecifier:kF(e)?e.moduleSpecifier:void 0}}function GF(e,n,t){return/^\d+$/.test(t)?t:pr.quote(e,n,t)}function BF(e){return NF(e)?pr.stripQuotes(e.moduleSymbol.name):kF(e)?e.moduleSpecifier:1===(null==e?void 0:e.kind)?fr.ThisProperty:void 0}function UF(e,n,t,r,a,i,o,s,c,l,d,u,p,m,_,f,g,y,h){for(var v=pr.timestamp(),b=pr.findAncestor(r,(function(e){return pr.isFunctionBlock(e)||(n=e).parent&&pr.isArrowFunction(n.parent)&&n.parent.body===n||pr.isBindingPattern(e)?"quit":pr.isVariableDeclaration(e);var n})),E=pr.probablyUsesSemicolons(a),T=new pr.Map,S=0;S<e.length;S++){var x,L,D=e[S],A=null==y?void 0:y[S],C=XF(D,o,A,c,!!m);!C||T.get(C.name)||1===c&&h&&!((e,n)=>{if(!pr.isSourceFile(r)){if(pr.isExportAssignment(r.parent))return 1;if(b&&e.valueDeclaration===b)return;var t=pr.skipAlias(e,i);if(a.externalModuleIndicator&&!d.allowUmdGlobalAccess&&15===n[pr.getSymbolId(e)]&&(16===n[pr.getSymbolId(t)]||11===n[pr.getSymbolId(t)]))return;if(e=t,pr.isInRightSideOfInternalImportEqualsDeclaration(r))return 1920&e.flags;if(u)return sG(e,i)}return 111551&pr.getCombinedLocalAndExportSymbolFlags(e)})(D,h)||(x=C.name,C=C.needsConvertPropertyAccess,L=null!=(L=null==h?void 0:h[pr.getSymbolId(D)])?L:11,(L=MF(D,(((e,n)=>(e=pr.skipAlias(e,n).declarations,pr.length(e)&&pr.every(e,pr.isDeprecatedDeclaration)))(D,i)?8+L:L).toString(),t,r,a,i,x,C,A,g,p,_,f,E,d,l))&&(C=!(A||void 0===D.parent&&!pr.some(D.declarations,(function(e){return e.getSourceFile()===r.getSourceFile()}))),T.set(x,C),n.push(L)))}return s("getCompletionsAtPosition: getCompletionEntriesFromSymbols: "+(pr.timestamp()-v)),{has:function(e){return T.has(e)},add:function(e){return T.set(e,!0)}}}function VF(e,n,t,r,a,i,o){if(a.data){var s=qF(a.name,a.data,e,i);if(s)return{type:"symbol",symbol:s.symbol,location:pr.getTouchingPropertyName(t,r),previousToken:pr.findPrecedingToken(r,t,void 0),isJsxInitializer:!1,isTypeOnlyLocation:!1,origin:s.origin}}var c,l,d,u,p,m,_=e.getCompilerOptions(),f=zF(e,n,t,PF(t,_),r,{includeCompletionsForModuleExports:!0,includeCompletionsWithInsertText:!0},a,i);return f?0!==f.kind?{type:"request",request:f}:(s=f.symbols,c=f.location,l=f.completionKind,d=f.symbolToOriginInfoMap,u=f.previousToken,p=f.isJsxInitializer,m=f.isTypeOnlyLocation,void 0!==(e=pr.find(f.literals,(function(e){return wF(t,o,e)===a.name})))?{type:"literal",literal:e}:pr.firstDefined(s,(function(e,n){n=d[n];var t=XF(e,_.target,n,l,f.isJsxIdentifierExpected);return t&&t.name===a.name&&BF(n)===a.source?{type:"symbol",symbol:e,location:c,origin:n,previousToken:u,isJsxInitializer:p,isTypeOnlyLocation:m}:void 0}))||{type:"none"}):{type:"none"}}function jF(e,n,t){return HF(e,"",n,[pr.displayPart(e,t)])}function KF(e,n,t,r,a,i,o){a=n.runWithCancellationToken(a,(function(n){return pr.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(n,e,t,r,r,7)}));var s=a.displayParts,c=a.documentation,l=a.symbolKind;a=a.tags;return HF(e.name,pr.SymbolDisplay.getSymbolModifiers(n,e),l,s,c,a,i,o)}function HF(e,n,t,r,a,i,o,s){return{name:e,kindModifiers:n,kind:t,displayParts:r,documentation:a,tags:i,codeActions:o,source:s,sourceDisplay:s}}function WF(e,n,t){var r=t.getAccessibleSymbolChain(e,n,67108863,!1);return r?pr.first(r):e.parent&&(null!=(r=(r=e.parent).declarations)&&r.some((function(e){return 300===e.kind}))?e:WF(e.parent,n,t))}function zF(e,n,t,r,a,i,o,s,c){var l=e.getTypeChecker(),d=pr.timestamp(),u=pr.getTokenAtPosition(t,a),p=(n("getCompletionData: Get current token: "+(pr.timestamp()-d)),d=pr.timestamp(),pr.isInComment(t,a,u)),m=(n("getCompletionData: Is inside comment: "+(pr.timestamp()-d)),!1),_=!1;if(p){if(pr.hasDocComment(t,a)){if(64===t.text.charCodeAt(a-1))return{kind:1};if(p=pr.getLineStartPositionForPosition(a,t),!/[^\*|\s(/)]/.test(t.text.substring(p,a)))return{kind:2}}if(p=((e,n)=>(e=pr.findAncestor(e,pr.isJSDoc))&&e.tags&&(pr.rangeContainsPosition(e,n)?pr.findLast(e.tags,(function(e){return e.pos<n})):void 0))(u,a),p){if(p.tagName.pos<=a&&a<=p.tagName.end)return{kind:1};if((e=>{switch(e.kind){case 335:case 342:case 336:case 338:case 340:return 1;default:return}})(p)&&p.typeExpression&&304===p.typeExpression.kind&&((u=pr.getTokenAtPosition(t,a))&&(pr.isDeclarationName(u)||342===u.parent.kind&&u.parent.name===u)||(m=Q(p.typeExpression))),!m&&pr.isJSDocParameterTag(p)&&(pr.nodeIsMissing(p.name)||p.name.pos<=a&&a<=p.name.end))return{kind:3,tag:p}}if(!m)return void n("Returning an empty list because completion was inside a regular comment or plain text part of a JsDoc comment.")}d=pr.timestamp(),p=JF(a,t);var f,g,y=p.previousToken,h=p.contextToken,v=(n("getCompletionData: Get previous token: "+(pr.timestamp()-d)),u),b=!1,E=!1,T=!1,S=!1,x=!1,L=!1,D=pr.getTouchingPropertyName(t,a);if(h){if(p=iG(h),154===p)return{kind:4,keywords:[154]};if(!(g=p&&i.includeCompletionsForImportStatements&&i.includeCompletionsWithInsertText?p:g)&&(d=h,p=pr.timestamp(),d=(e=>(pr.isRegularExpressionLiteral(e)||pr.isStringTextContainingNode(e))&&(pr.rangeContainsPositionExclusive(pr.createTextRangeFromSpan(pr.createTextSpanFromNode(e)),a)||a===e.end&&(!!e.isUnterminated||pr.isRegularExpressionLiteral(e))))(d)||(e=>{var n=e.parent,r=n.kind;switch(e.kind){case 27:return 252===r||(e=>253===e.parent.kind&&!pr.isPossiblyTypeArgumentPosition(e,t,l))(e)||235===r||258===r||J(r)||256===r||200===r||257===r||pr.isClassLike(n)&&!!n.typeParameters&&n.typeParameters.end>=e.pos;case 24:return 200===r;case 58:return 201===r;case 22:return 200===r;case 20:return 290===r||J(r);case 18:return 258===r;case 29:return 255===r||224===r||256===r||257===r||pr.isFunctionLikeKind(r);case 124:return 165===r&&!pr.isClassLike(n.parent);case 25:return 162===r||!!n.parent&&200===n.parent.kind;case 123:case 121:case 122:return 162===r&&!pr.isConstructorDeclaration(n.parent);case 127:return 268===r||273===r||266===r;case 135:case 147:return!rG(e);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 pr.isFunctionLike(e.parent)&&!pr.isMethodDeclaration(e.parent)}if(ZF(eG(e))&&rG(e))return!1;if(W(e)&&(!pr.isIdentifier(e)||pr.isParameterPropertyModifier(eG(e))||Q(e)))return!1;switch(eG(e)){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 pr.isPropertyDeclaration(e.parent)}if(pr.findAncestor(e.parent,pr.isClassLike)&&e===y&&z(e,a))return!1;var i=pr.getAncestor(e.parent,165);if(i&&e!==y&&pr.isClassLike(y.parent.parent)&&a<=y.end){if(z(e,y.end))return!1;if(63!==e.kind&&(pr.isInitializedProperty(i)||pr.hasType(i)))return!0}return pr.isDeclarationName(e)&&!pr.isShorthandPropertyAssignment(e.parent)&&!pr.isJsxAttribute(e.parent)&&!(pr.isClassLike(e.parent)&&(e!==y||a>y.end))})(d)||(e=>8===e.kind&&"."===(e=e.getFullText()).charAt(e.length-1))(d)||(e=>{if(11===e.kind)return!0;if(31===e.kind&&e.parent){if(278===e.parent.kind)return 278!==D.parent.kind;if(279===e.parent.kind||277===e.parent.kind)return!!e.parent.parent&&276===e.parent.parent.kind}return!1})(d)||pr.isBigIntLiteral(d),n("getCompletionsAtPosition: isCompletionListBlocker: "+(pr.timestamp()-p)),d))return void n("Returning an empty list because completion was requested in an invalid position.");var A=h.parent;if(24===h.kind||28===h.kind)switch(b=24===h.kind,E=28===h.kind,A.kind){case 204:if(v=(f=A).expression,(pr.isCallExpression(v)||pr.isFunctionLike(v))&&v.end===h.pos&&v.getChildCount(t)&&21!==pr.last(v.getChildren(t)).kind)return;break;case 159:v=A.left;break;case 259:v=A.name;break;case 198:v=A;break;case 229:v=A.getFirstToken(t),pr.Debug.assert(100===v.kind||103===v.kind);break;default:return}else if(!g&&1===t.languageVariant){if(A&&204===A.kind&&(A=(h=A).parent),u.parent===D)switch(u.kind){case 31:276!==u.parent.kind&&278!==u.parent.kind||(D=u);break;case 43:277===u.parent.kind&&(D=u)}switch(A.kind){case 279:43===h.kind&&(S=!0,D=h);break;case 219:if(!aG(A))break;case 277:case 276:case 278:L=!0,29===h.kind&&(T=!0,D=h);break;case 286:case 285:19===y.kind&&31===u.kind&&(L=!0);break;case 283:if(A.initializer===y&&y.end<a)L=!0;else switch(y.kind){case 63:x=!0;break;case 79:L=!0,A!==y.parent&&!A.initializer&&pr.findChildOfKind(A,63,t)&&(x=y)}}}}p=pr.timestamp();var C=5,I=!1,N=!1,k=!1,R=0,O=[],P=[],w=[],M=new pr.Map,F=m||!(e=>e&&(112===e.kind&&(179===e.parent.kind||pr.isTypeOfExpression(e.parent))||128===e.kind&&175===e.parent.kind))(h)&&(pr.isPossiblyTypeArgumentPosition(h,t,l)||pr.isPartOfTypeNode(D)||(e=>{if(e){var n=e.parent.kind;switch(e.kind){case 58:return 165===n||164===n||162===n||252===n||pr.isFunctionLikeKind(n);case 63:return 257===n;case 127:return 227===n;case 29:return 176===n||209===n;case 94:return 161===n}}return!1})(h)),G=pr.memoizeOne((function(n){return pr.createModuleSpecifierResolutionHost(n?s.getPackageJsonAutoImportProvider():e,s)}));if(b||E)(()=>{C=2;var e,n,r,a=pr.isLiteralImportTypeNode(v),o=m||a&&!v.isTypeOf||pr.isPartOfTypeNode(v.parent)||pr.isPossiblyTypeArgumentPosition(h,t,l),s=pr.isInRightSideOfInternalImportEqualsDeclaration(v);if(pr.isEntityName(v)||a||pr.isPropertyAccessExpression(v)){var c=pr.isModuleDeclaration(v.parent),d=(c&&(I=!0),l.getSymbolAtLocation(v));if(d&&1920&(d=pr.skipAlias(d,l)).flags){for(var u=l.getExportsOfModule(d),p=(pr.Debug.assertEachIsDefined(u,"getExportsOfModule() should all be defined"),function(e){return l.isValidPropertyAccess(a?v:v.parent,e.name)}),_=function(e){return sG(e,l)},f=c?function(e){return!(!(1920&e.flags)||null!=(e=e.declarations)&&e.every((function(e){return e.parent===v.parent})))}:s?function(e){return _(e)||p(e)}:o?_:p,g=0,y=u;g<y.length;g++){var T=y[g];f(T)&&O.push(T)}return!o&&d.declarations&&d.declarations.some((function(e){return 300!==e.kind&&259!==e.kind&&258!==e.kind}))&&(e=l.getTypeOfSymbolAtLocation(d,v).getNonOptionalType(),n=!1,e.isNullableType()&&((r=b&&!E&&!1!==i.includeAutomaticOptionalChainCompletions)||E)&&(e=e.getNonNullableType(),r)&&(n=!0),V(e,!!(32768&v.flags),n))}}o||(c=pr.getThisContainer(v,!1),!pr.isSourceFile(c)&&c.parent&&l.getTypeAtLocation(c),e=l.getTypeAtLocation(v).getNonOptionalType(),n=!1,e.isNullableType()&&((r=b&&!E&&!1!==i.includeAutomaticOptionalChainCompletions)||E)&&(e=e.getNonNullableType(),r)&&(n=!0),V(e,!!(32768&v.flags),n))})();else if(T)O=l.getJsxIntrinsicTagNamesAt(D),pr.Debug.assertEachIsDefined(O,"getJsxIntrinsicTagNames() should all be defined"),K(),C=1,R=0;else if(S)d=h.parent.parent.openingElement.tagName,d=l.getSymbolAtLocation(d),d&&(O=[d]),C=1,R=0;else if(!K())return;n("getCompletionData: Semantic work: "+(pr.timestamp()-p));var B,U;d=y&&((e,n,t,r)=>{var a=e.parent;switch(e.kind){case 79:return pr.getContextualTypeFromParent(e,r);case 63:switch(a.kind){case 252:return r.getContextualType(a.initializer);case 219:return r.getTypeAtLocation(a.left);case 283:return r.getContextualTypeForJsxAttribute(a);default:return}case 103:return r.getContextualType(a);case 82:return pr.getSwitchedType(pr.cast(a,pr.isCaseClause),r);case 18:return pr.isJsxExpression(a)&&276!==a.parent.kind?r.getContextualTypeForJsxAttribute(a.parent):void 0;default:var i=pr.SignatureHelp.getArgumentInfoForCompletions(e,n,t);return i?r.getContextualTypeForArgumentAtIndex(i.invocation,i.argumentIndex+(27===e.kind?1:0)):pr.isEqualityOperatorKind(e.kind)&&pr.isBinaryExpression(a)&&pr.isEqualityOperatorKind(a.operatorToken.kind)?r.getTypeAtLocation(a.left):r.getContextualType(e)}})(y,a,t,l),n=pr.mapDefined(d&&(d.isUnion()?d.types:[d]),(function(e){return e.isLiteral()?e.value:void 0})),d=y&&d&&(B=y,p=d,U=l,pr.firstDefined(p&&(p.isUnion()?p.types:[p]),(function(e){return e=e&&e.symbol,e&&424&e.flags&&!pr.isAbstractConstructorSymbol(e)?WF(e,B,U):void 0})));return{kind:0,symbols:O,completionKind:C,isInSnippetScope:_,propertyAccessToConvert:f,isNewIdentifierLocation:I,location:D,keywordFilters:R,literals:n,symbolToOriginInfoMap:P,recommendedCompletion:d,previousToken:y,isJsxInitializer:x,insideJsDocTagTypeExpression:m,symbolToSortTextIdMap:w,isTypeOnlyLocation:F,isJsxIdentifierExpected:L,importCompletionNode:g,hasUnresolvedAutoImports:k};function V(e,n,t){I=!!e.getStringIndexType(),E&&pr.some(e.getCallSignatures())&&(I=!0);var a=198===v.kind?v:v.parent;if(r)O.push.apply(O,pr.filter(tG(e,l),(function(n){return l.isValidPropertyAccessForCompletions(a,e,n)})));else for(var o=0,s=e.getApparentProperties();o<s.length;o++){var c=s[o];l.isValidPropertyAccessForCompletions(a,e,c)&&j(c,!1,t)}if(n&&i.includeCompletionsWithInsertText){var d=l.getPromisedTypeOfPromise(e);if(d)for(var u=0,p=d.getApparentProperties();u<p.length;u++)c=p[u],l.isValidPropertyAccessForCompletions(a,d,c)&&j(c,!0,t)}}function j(e,n,t){var r,a,o=pr.firstDefined(e.declarations,(function(e){return pr.tryCast(pr.getNameOfDeclaration(e),pr.isComputedPropertyName)}));function s(e){var n;(n=e).valueDeclaration&&32&pr.getEffectiveModifierFlags(n.valueDeclaration)&&pr.isClassLike(n.valueDeclaration.parent)&&(w[pr.getSymbolId(e)]=10)}function c(e){i.includeCompletionsWithInsertText&&(n&&pr.addToSeen(M,pr.getSymbolId(e))?P[O.length]={kind:d(8)}:t&&(P[O.length]={kind:16}))}function d(e){return t?16|e:e}o?(o=(o=(o=function e(n){return pr.isIdentifier(n)?n:pr.isPropertyAccessExpression(n)?e(n.expression):void 0}(o.expression))&&l.getSymbolAtLocation(o))&&WF(o,h,l))&&pr.addToSeen(M,pr.getSymbolId(o))?(r=O.length,O.push(o),(a=o.parent)&&pr.isExternalModuleSymbol(a)?(o={kind:d(6),moduleSymbol:a,isDefaultExport:!1,symbolName:o.name,exportName:o.name,fileName:pr.isExternalModuleNameRelative(pr.stripQuotes(a.name))?pr.cast(a.valueDeclaration,pr.isSourceFile).fileName:void 0},P[r]=o):P[r]={kind:d(2)}):i.includeCompletionsWithInsertText&&(c(e),s(e),O.push(e)):(c(e),s(e),O.push(e))}function K(){var e,n,r,o,s;return 1===(((s=(e=>{if(e){var n=e.parent;switch(e.kind){case 18:if(pr.isTypeLiteralNode(n))return n;break;case 26:case 27:case 79:if(164===n.kind&&pr.isTypeLiteralNode(n.parent))return n.parent}}})(h))&&(s=(pr.isIntersectionTypeNode(s.parent)?s.parent:void 0)||s,r=function e(n,t){if(n){if(pr.isTypeNode(n)&&pr.isTypeReferenceType(n.parent))return t.getTypeArgumentConstraint(n);var r=e(n.parent,t);if(r)switch(n.kind){case 164:return t.getTypeOfPropertyOfContextualType(r,n.symbol.escapedName);case 186:case 180:case 185:return r}}}(s,l))?(s=l.getTypeFromTypeNode(s),r=tG(r,l),s=tG(s,l),o=new pr.Set,s.forEach((function(e){return o.add(e.escapedName)})),O=pr.concatenate(O,pr.filter(r,(function(e){return!o.has(e.escapedName)}))),I=!(C=0),1):0)||(()=>{var e=(e=>{if(e){var n=e.parent;switch(e.kind){case 18:case 27:if(pr.isObjectLiteralExpression(n)||pr.isObjectBindingPattern(n))return n;break;case 41:return pr.isMethodDeclaration(n)?pr.tryCast(n.parent,pr.isObjectLiteralExpression):void 0;case 79:return"async"===e.text&&pr.isShorthandPropertyAssignment(e.parent)?e.parent.parent:void 0}}})(h);if(!e)return 0;if(C=0,203===e.kind){var n=((e,n)=>{var t=n.getContextualType(e);return t||(pr.isBinaryExpression(e.parent)&&63===e.parent.operatorToken.kind&&e===e.parent.left?n.getTypeAtLocation(e.parent):void 0)})(e,l);if(void 0===n)return 16777216&e.flags?2:(N=!0,0);var t=l.getContextualType(e,4),r=(t||n).getStringIndexType(),a=(t||n).getNumberIndexType();if(I=!!r||!!a,r=nG(n,t,e,l),n=e.properties,0===r.length&&!a)return N=!0,0}else{if(pr.Debug.assert(199===e.kind),I=!1,t=pr.getRootDeclaration(e.parent),!pr.isVariableLike(t))return pr.Debug.fail("Root declaration is not variable-like.");if(a=pr.hasInitializer(t)||pr.hasType(t)||242===t.parent.parent.kind,a||162!==t.kind||(pr.isExpression(t.parent)?a=!!l.getContextualType(t.parent):167!==t.parent.kind&&171!==t.parent.kind||(a=pr.isExpression(t.parent.parent)&&!!l.getContextualType(t.parent.parent))),a){var i=l.getTypeAtLocation(e);if(!i)return 2;var o=pr.getContainingClass(e);r=l.getPropertiesOfType(i).filter((function(e){return!(24&pr.getDeclarationModifierFlagsFromSymbol(e))||o&&pr.contains(i.symbol.declarations,o)})),n=e.elements}}return r&&0<r.length&&(O=pr.concatenate(O,((e,n)=>{if(0===n.length)return e;for(var t=new pr.Set,r=new pr.Set,a=0,i=n;a<i.length;a++){var o,s=i[a];291!==s.kind&&292!==s.kind&&201!==s.kind&&167!==s.kind&&170!==s.kind&&171!==s.kind&&293!==s.kind||Q(s)||(o=void 0,pr.isSpreadAssignment(s)?q(s,t):pr.isBindingElement(s)&&s.propertyName?79===s.propertyName.kind&&(o=s.propertyName.escapedText):(s=pr.getNameOfDeclaration(s),o=s&&pr.isPropertyNameLiteral(s)?pr.getEscapedTextOfIdentifierOrLiteral(s):void 0),void 0!==o&&r.add(o))}return n=e.filter((function(e){return!r.has(e.escapedName)})),Y(t,n),n})(r,pr.Debug.checkDefined(n)))),X(),1})()||(g?(I=!0,H(),1):0)||(()=>{var e=!h||18!==h.kind&&27!==h.kind?void 0:pr.tryCast(h.parent,pr.isNamedImportsOrExports);if(!e)return 0;if(!(n=(267===e.kind?e.parent:e).parent.moduleSpecifier))return 267===e.kind?2:0;if(!(n=l.getSymbolAtLocation(n)))return 2;I=!(C=3);var n=l.getExportsAndPropertiesOfModule(n),t=new pr.Set(e.elements.filter((function(e){return!Q(e)})).map((function(e){return(e.propertyName||e.name).escapedText})));return O=pr.concatenate(O,n.filter((function(e){return"default"!==e.escapedName&&!t.has(e.escapedName)}))),1})()||((s=!h||18!==h.kind&&27!==h.kind?void 0:pr.tryCast(h.parent,pr.isNamedExports))?(n=pr.findAncestor(s,pr.or(pr.isSourceFile,pr.isModuleDeclaration)),I=!(C=5),null!=(s=n.locals)&&s.forEach((function(e,t){var r;O.push(e),null!=(r=null==(r=n.symbol)?void 0:r.exports)&&r.has(t)&&(w[pr.getSymbolId(e)]=12)})),1):0)||((e=>{if(e){var n=e.parent;switch(e.kind){case 20:case 27:return pr.isConstructorDeclaration(e.parent)&&e.parent;default:if(W(e))return n.parent}}})(h)?(C=5,I=!0,R=4,1):0)||(()=>{var e=((e,n,t,r)=>{switch(t.kind){case 343:return pr.tryCast(t.parent,pr.isObjectTypeDeclaration);case 1:var a=pr.tryCast(pr.lastOrUndefined(pr.cast(t.parent,pr.isSourceFile).statements),pr.isObjectTypeDeclaration);if(a&&!pr.findChildOfKind(a,19,e))return a;break;case 79:if(pr.isPropertyDeclaration(t.parent)&&t.parent.initializer===t)return;if(rG(t))return pr.findAncestor(t,pr.isObjectTypeDeclaration)}if(n){if(133===t.kind||pr.isIdentifier(n)&&pr.isPropertyDeclaration(n.parent)&&pr.isClassLike(t))return pr.findAncestor(n,pr.isClassLike);switch(n.kind){case 63:return;case 26:case 19:return rG(t)&&t.parent.name===t?t.parent.parent:pr.tryCast(t,pr.isObjectTypeDeclaration);case 18:case 27:return pr.tryCast(n.parent,pr.isObjectTypeDeclaration);default:var i;return rG(n)?(i=pr.isClassLike(n.parent.parent)?ZF:QF)(n.kind)||41===n.kind||pr.isIdentifier(n)&&i(pr.stringToToken(n.text))?n.parent.parent:void 0:pr.getLineAndCharacterOfPosition(e,n.getEnd()).line!==pr.getLineAndCharacterOfPosition(e,r).line&&pr.isObjectTypeDeclaration(t)?t:void 0}}})(t,h,D,a);if(!e)return 0;if(C=3,I=!0,R=41===h.kind?0:pr.isClassLike(e)?2:3,pr.isClassLike(e)){var n=(26===h.kind?h.parent:h).parent,r=pr.isClassElement(n)?pr.getEffectiveModifierFlags(n):0;if(79===h.kind&&!Q(h))switch(h.getText()){case"private":r|=8;break;case"static":r|=32;break;case"override":r|=16384}pr.isClassStaticBlockDeclaration(n)&&(r|=32),8&r||(n=pr.isClassLike(e)&&16384&r?pr.singleElementArray(pr.getEffectiveBaseTypeNode(e)):pr.getAllSuperTypeNodes(e),n=pr.flatMap(n,(function(n){return n=l.getTypeAtLocation(n),32&r?(null==n?void 0:n.symbol)&&l.getPropertiesOfType(l.getTypeOfSymbolAtLocation(n.symbol,e)):n&&l.getPropertiesOfType(n)})),O=pr.concatenate(O,((e,n,t)=>{for(var r=new pr.Set,a=0,i=n;a<i.length;a++){var o=i[a];165!==o.kind&&167!==o.kind&&170!==o.kind&&171!==o.kind||Q(o)||pr.hasEffectiveModifier(o,8)||pr.isStatic(o)===!!(32&t)&&(o=pr.getPropertyNameForPropertyNameNode(o.name))&&r.add(o)}return e.filter((function(e){return!(r.has(e.escapedName)||!e.declarations||8&pr.getDeclarationModifierFlagsFromSymbol(e)||e.valueDeclaration&&pr.isPrivateIdentifierClassElementDeclaration(e.valueDeclaration))}))})(n,e.members,r)))}return 1})()||(r=(e=>{if(e){var n=e.parent;switch(e.kind){case 31:case 30:case 43:case 79:case 204:case 284:case 283:case 285:if(n&&(277===n.kind||278===n.kind)){if(31===e.kind){var r=pr.findPrecedingToken(e.pos,t,void 0);if(!n.typeArguments||r&&43===r.kind)break}return n}if(283===n.kind)return n.parent.parent;break;case 10:if(!n||283!==n.kind&&285!==n.kind)break;return n.parent.parent;case 19:if(n&&286===n.kind&&n.parent&&283===n.parent.kind)return n.parent.parent.parent;if(n&&285===n.kind)return n.parent.parent}}})(h),(s=r&&l.getContextualType(r.attributes))?(e=r&&l.getContextualType(r.attributes,4),O=pr.concatenate(O,((e,n)=>{for(var t=new pr.Set,r=new pr.Set,a=0,i=n;a<i.length;a++){var o=i[a];Q(o)||(283===o.kind?t.add(o.name.escapedText):pr.isJsxSpreadAttribute(o)&&q(o,r))}return n=e.filter((function(e){return!t.has(e.escapedName)})),Y(r,n),n})(nG(s,e,r.attributes,l),r.attributes.properties)),X(),I=!(C=3),1):0)||((()=>{R=(e=>{var n;if(e)return pr.findAncestor(e.parent,(function(e){return pr.isClassLike(e)?"quit":!(!pr.isFunctionLikeDeclaration(e)||n!==e.body)||(n=e,!1)}))})(h)?5:1,C=1,I=(()=>{if(h){var e=h.parent.kind;switch(eG(h)){case 27:return 206===e||169===e||207===e||202===e||219===e||177===e||203===e;case 20:return 206===e||169===e||207===e||210===e||189===e;case 22:return 202===e||174===e||160===e;case 140:case 141:return!0;case 24:return 259===e;case 18:return 255===e||203===e;case 63:return 252===e||219===e;case 15:return 221===e;case 16:return 231===e;case 123:case 121:case 122:return 165===e}}return!1})(),y!==h&&pr.Debug.assert(!!y,"Expected 'contextToken' to be defined when different from 'previousToken'.");var e=y!==h?y.getStart():a,n=(e=((e,n,t)=>{for(var r=e;r&&!pr.positionBelongsToNode(r,n,t);)r=r.parent;return r})(h,e,t)||t,_=(e=>{switch(e.kind){case 300:case 221:case 286:case 233:return!0;default:return pr.isStatement(e)}})(e),2887656|(F?0:111551));O=pr.concatenate(O,l.getSymbolsInScope(e,n)),pr.Debug.assertEachIsDefined(O,"getSymbolsInScope() should all be defined");for(var r=0,o=O;r<o.length;r++){var s=o[r];l.isArgumentsSymbol(s)||pr.some(s.declarations,(function(e){return e.getSourceFile()===t}))||(w[pr.getSymbolId(s)]=15)}if(i.includeCompletionsWithInsertText&&300!==e.kind&&(n=l.tryGetThisTypeAt(e,!1),n&&!((e,n,t)=>{var r=t.resolveName("self",void 0,111551,!1);return r&&t.getTypeOfSymbolAtLocation(r,n)===e||(r=t.resolveName("global",void 0,111551,!1))&&t.getTypeOfSymbolAtLocation(r,n)===e||!(!(r=t.resolveName("globalThis",void 0,111551,!1))||t.getTypeOfSymbolAtLocation(r,n)!==e)})(n,t,l)))for(var c=0,d=tG(n,l);c<d.length;c++)s=d[c],P[O.length]={kind:1},O.push(s),w[pr.getSymbolId(s)]=14;H(),F&&(R=h&&pr.isAssertionExpression(h.parent)?6:7)})(),1))}function H(){var n,r,a,l,d,u;function p(n){var a=pr.tryCast(n.moduleSymbol.valueDeclaration,pr.isSourceFile);return a?pr.isImportableFile(n.isFromPackageJson?d:e,t,a,i,u,G(n.isFromPackageJson),r):(a=pr.stripQuotes(n.moduleSymbol.name),(!pr.JsTyping.nodeCoreModules.has(a)||pr.startsWith(a,"node:")===pr.shouldUseUriStyleNodeCoreModules(t,e))&&(!u||u.allowsImportingAmbientModule(n.moduleSymbol,G(n.isFromPackageJson))))}(g||!N&&i.includeCompletionsForModuleExports&&(t.externalModuleIndicator||t.commonJsModuleIndicator||pr.compilerOptionsIndicateEs6Modules(e.getCompilerOptions())||pr.programContainsModules(e)))&&(pr.Debug.assert(!(null!=o&&o.data),"Should not run 'collectAutoImports' when faster path is available via `data`"),o&&!o.source||(r=null==(n=s.getModuleSpecifierCache)?void 0:n.call(s),a=y&&pr.isIdentifier(y)?y.text.toLowerCase():"",l=pr.getExportInfoMap(t,s,e,c),d=null==(n=s.getPackageJsonAutoImportProvider)?void 0:n.call(s),u=o?void 0:pr.createPackageJsonImportFilter(t,i,s),RF("collectAutoImports",s,e,t,i,!!g,(function(e){l.forEach(t.path,(function(n,t,r){var i,c;!pr.isIdentifierText(t,pr.getEmitScriptTarget(s.getCompilationSettings()))||!o&&pr.isStringANonContextualKeyword(t)||(F||g||111551&n[0].targetFlags)&&(!F||790504&n[0].targetFlags)&&(o&&pr.some(n,(function(e){return o.source===pr.stripQuotes(e.moduleSymbol.name)}))||!o&&cG(t,a))&&(i=pr.find(n,p))&&(r=(n=e.tryResolve(n,r)||{}).exportInfo,n=n.moduleSpecifier,c=(r=1===(i=void 0===r?i:r).exportKind)&&pr.getLocalSymbolForExportDefault(i.symbol)||i.symbol,c=c,n={kind:n?32:4,moduleSpecifier:n,symbolName:t,exportName:2===i.exportKind?"export=":i.symbol.name,fileName:i.moduleFileName,isDefaultExport:r,moduleSymbol:i.moduleSymbol,isFromPackageJson:i.isFromPackageJson},t=pr.getSymbolId(c),15!==w[t])&&(P[O.length]=n,w[t]=g?11:16,O.push(c))})),k=e.resolutionLimitExceeded()}))))}function W(e){return e.parent&&pr.isParameter(e.parent)&&pr.isConstructorDeclaration(e.parent.parent)&&(pr.isParameterPropertyModifier(e.kind)||pr.isDeclarationName(e))}function z(e,n){return 63!==e.kind&&(26===e.kind||!pr.positionsAreOnSameLine(e.end,n,t))}function J(e){return pr.isFunctionLikeKind(e)&&169!==e}function q(e,n){e=e.expression;var t=l.getSymbolAtLocation(e);t=t&&l.getTypeOfSymbolAtLocation(t,e),e=t&&t.properties;e&&e.forEach((function(e){n.add(e.name)}))}function X(){O.forEach((function(e){16777216&e.flags&&(e=pr.getSymbolId(e),w[e]=null!=(e=w[e])?e:12)}))}function Y(e,n){if(0!==e.size)for(var t=0,r=n;t<r.length;t++){var a=r[t];e.has(a.name)&&(w[pr.getSymbolId(a)]=13)}}function Q(e){return e.getStart(t)<=a&&a<=e.getEnd()}}function JF(e,n){var t=pr.findPrecedingToken(e,n);return t&&e<=t.end&&(pr.isMemberName(t)||pr.isKeyword(t.kind))?{contextToken:pr.findPrecedingToken(t.getFullStart(),n,void 0),previousToken:t}:{contextToken:t,previousToken:t}}function qF(e,n,t,r){if(r=n.isPackageJsonImport?r.getPackageJsonAutoImportProvider():t,t=r.getTypeChecker(),r=n.ambientModuleName?t.tryFindAmbientModule(n.ambientModuleName):n.fileName?t.getMergedSymbol(pr.Debug.checkDefined(r.getSourceFile(n.fileName)).symbol):void 0,r){var a;t="export="===n.exportName?t.resolveExternalModuleSymbol(r):t.tryGetMemberInModuleExportsAndProperties(n.exportName,r);if(t)return{symbol:(a="default"===n.exportName)&&pr.getLocalSymbolForExportDefault(t)||t,origin:{kind:n.moduleSpecifier?32:4,moduleSymbol:r,symbolName:e,isDefaultExport:a,exportName:n.exportName,fileName:n.fileName,isFromPackageJson:!!n.isPackageJsonImport}}}}function XF(e,n,t,r,a){var i,o=NF(i=t)||kF(i)?t.symbolName:e.name;if(!(void 0===o||1536&e.flags&&pr.isSingleOrDoubleQuote(o.charCodeAt(0))||pr.isKnownSymbol(e))){var s={name:o,needsConvertPropertyAccess:!1};if(pr.isIdentifierText(o,n,a?1:0)||e.valueDeclaration&&pr.isPrivateIdentifierClassElementDeclaration(e.valueDeclaration))return s;switch(r){case 3:return;case 0:return{name:JSON.stringify(o),needsConvertPropertyAccess:!1};case 2:case 1:return 32===o.charCodeAt(0)?void 0:{name:o,needsConvertPropertyAccess:!0};case 5:case 4:return s;default:pr.Debug.assertNever(r)}}}function YF(e){return gr[e]||(gr[e]=yr().filter((function(n){var t=pr.stringToToken(n.name);switch(e){case 0:return!1;case 1:return $F(t)||134===t||140===t||150===t||141===t||pr.isTypeKeyword(t)&&151!==t;case 5:return $F(t);case 2:return ZF(t);case 3:return QF(t);case 4:return pr.isParameterPropertyModifier(t);case 6:return pr.isTypeKeyword(t)||85===t;case 7:return pr.isTypeKeyword(t);default:return pr.Debug.assertNever(e)}})))}function QF(e){return 143===e}function ZF(e){switch(e){case 126:case 133:case 135:case 147:case 130:case 134:case 157:return!0;default:return pr.isClassMemberModifier(e)}}function $F(e){return 130===e||131===e||127===e||!pr.isContextualKeyword(e)&&!ZF(e)}function eG(e){return pr.isIdentifier(e)?e.originalKeywordKind||0:e.kind}function nG(e,n,t,r){var a=n&&n!==e;e=!a||3&n.flags?e:r.getUnionType([e,n]),n=e.isUnion()?r.getAllPossiblePropertiesOfTypes(e.types.filter((function(e){return!(131068&e.flags||r.isArrayLikeType(e)||pr.typeHasCallOrConstructSignatures(e,r)||r.isTypeInvalidDueToUnionDiscriminant(e,t))}))):e.getApparentProperties();return a?n.filter((function(e){return pr.some(e.declarations,(function(e){return e.parent!==t}))})):n}function tG(e,n){return e.isUnion()?pr.Debug.checkEachDefined(n.getAllPossiblePropertiesOfTypes(e.types),"getAllPossiblePropertiesOfTypes() should all be defined"):pr.Debug.checkEachDefined(e.getApparentProperties(),"getApparentProperties() should all be defined")}function rG(e){return e.parent&&pr.isClassOrTypeElement(e.parent)&&pr.isObjectTypeDeclaration(e.parent.parent)}function aG(e){return e=e.left,pr.nodeIsMissing(e)}function iG(e){var n=(()=>{var n=e.parent;if(pr.isImportEqualsDeclaration(n))return oG(n.moduleReference)?n:void 0;if(pr.isNamedImports(n)||pr.isNamespaceImport(n)){if(oG(n.parent.parent.moduleSpecifier)&&(pr.isNamespaceImport(n)||n.elements.length<2)&&!n.parent.name)return 19===e.kind||79===e.kind?154:n.parent.parent}else{if(pr.isImportKeyword(e)&&pr.isSourceFile(n))return e;if(pr.isImportKeyword(e)&&pr.isImportDeclaration(n))return oG(n.moduleSpecifier)?n:void 0}})();return 154===n||n&&pr.rangeIsOnSingleLine(n,n.getSourceFile())?n:void 0}function oG(e){return pr.nodeIsMissing(e)||null==(e=pr.tryCast(pr.isExternalModuleReference(e)?e.expression:e,pr.isStringLiteralLike))||!e.text}function sG(e,n,t){return void 0===t&&(t=new pr.Map),e=pr.skipAlias(e.exportSymbol||e,n),!!(788968&e.flags)||n.isUnknownSymbol(e)||!!(1536&e.flags)&&pr.addToSeen(t,pr.getSymbolId(e))&&n.getExportsOfModule(e).some((function(e){return sG(e,n,t)}))}function cG(e,n){if(0===n.length)return 1;for(var t,r=!1,a=0,i=e.length,o=0;o<i;o++){var s=e.charCodeAt(o),c=n.charCodeAt(a);if((s===c||s===(e=>97<=e&&e<=122?e-32:e)(c))&&((r=r||void 0===t||97<=t&&t<=122&&65<=s&&s<=90||95===t&&95!==s)&&a++,a===n.length))return 1;t=s}}function lG(e,n){return{fileName:n.fileName,textSpan:hr.createTextSpanFromNode(e,n),kind:"none"}}function dG(e){return hr.isThrowStatement(e)?[e]:hr.isTryStatement(e)?hr.concatenate(e.catchClause?dG(e.catchClause):e.tryBlock&&dG(e.tryBlock),e.finallyBlock&&dG(e.finallyBlock)):hr.isFunctionLike(e)?void 0:pG(e,dG)}function uG(e){return hr.isBreakOrContinueStatement(e)?[e]:hr.isFunctionLike(e)?void 0:pG(e,uG)}function pG(e,n){var t=[];return e.forEachChild((function(e){e=n(e),void 0!==e&&t.push.apply(t,hr.toArray(e))})),t}function mG(e,n){return n=_G(n),n&&n===e}function _G(e){return hr.findAncestor(e,(function(n){switch(n.kind){case 247:if(243===e.kind)return!1;case 240:case 241:case 242:case 239:case 238:return!e.label||(t=e.label.escapedText,!!hr.findAncestor(n.parent,(function(e){return hr.isLabeledStatement(e)?e.label.escapedText===t:"quit"})));default:return hr.isFunctionLike(n)&&"quit"}var t}))}function fG(e,n){for(var t=[],r=2;r<arguments.length;r++)t[r-2]=arguments[r];return n&&hr.contains(t,n.kind)&&(e.push(n),1)}function gG(e){var n=[];if(fG(n,e.getFirstToken(),97,115,90)&&238===e.kind)for(var t=e.getChildren(),r=t.length-1;0<=r&&!fG(n,t[r],115);r--);return hr.forEach(uG(e.statement),(function(t){mG(e,t)&&fG(n,t.getFirstToken(),81,86)})),n}function yG(e){var n=_G(e);if(n)switch(n.kind){case 240:case 241:case 242:case 238:case 239:return gG(n);case 247:return hG(n)}}function hG(e){var n=[];return fG(n,e.getFirstToken(),107),hr.forEach(e.caseBlock.clauses,(function(t){fG(n,t.getFirstToken(),82,88),hr.forEach(uG(t),(function(t){mG(e,t)&&fG(n,t.getFirstToken(),81)}))})),n}function vG(e,n){var t=[];return fG(t,e.getFirstToken(),111),e.catchClause&&fG(t,e.catchClause.getFirstToken(),83),e.finallyBlock&&fG(t,hr.findChildOfKind(e,96,n),96),t}function bG(e,n){var t;e=(e=>{for(var n=e;n.parent;){var t=n.parent;if(hr.isFunctionBlock(t)||300===t.kind)return t;if(hr.isTryStatement(t)&&t.tryBlock===n&&t.catchClause)return n;n=t}})(e);if(e)return t=[],hr.forEach(dG(e),(function(e){t.push(hr.findChildOfKind(e,109,n))})),hr.isFunctionBlock(e)&&hr.forEachReturnStatement(e,(function(e){t.push(hr.findChildOfKind(e,105,n))})),t}function EG(e,n){var t;e=hr.getContainingFunction(e);if(e)return t=[],hr.forEachReturnStatement(hr.cast(e.body,hr.isBlock),(function(e){t.push(hr.findChildOfKind(e,105,n))})),hr.forEach(dG(e.body),(function(e){t.push(hr.findChildOfKind(e,109,n))})),t}function TG(e){var n;e=hr.getContainingFunction(e);if(e)return n=[],e.modifiers&&e.modifiers.forEach((function(e){fG(n,e,130)})),hr.forEachChild(e,(function(e){SG(e,(function(e){hr.isAwaitExpression(e)&&fG(n,e.getFirstToken(),131)}))})),n}function SG(e,n){n(e),hr.isFunctionLike(e)||hr.isClassLike(e)||hr.isInterfaceDeclaration(e)||hr.isModuleDeclaration(e)||hr.isTypeAliasDeclaration(e)||hr.isTypeNode(e)||hr.forEachChild(e,(function(e){return SG(e,n)}))}function xG(e){return e.sourceFile}function LG(e,n,t){void 0===n&&(n="");var r=new vr.Map,a=vr.createGetCanonicalFileName(!!e);function i(e,n,t,r,a,i,o){return c(e,n,t,r,a,i,!0,o)}function o(e,n,t,r,a,i,o){return c(e,n,t,r,a,i,!1,o)}function s(e,n){return e=xG(e)?e:e.get(vr.Debug.checkDefined(n,"If there are more than one scriptKind's for same document the scriptKind should be provided")),vr.Debug.assert(void 0===n||!e||e.sourceFile.scriptKind===n,"Script kind should match provided ScriptKind:"+n+" and sourceFile.scriptKind: "+(null==e?void 0:e.sourceFile.scriptKind)+", !entry: "+!e),e}function c(e,n,a,i,o,c,l,d){a=6===(d=vr.ensureScriptKind(e,d))?100:a.target||1;var u,p=vr.getOrUpdate(r,i,(function(){return new vr.Map})),m=p.get(n),_=m&&s(m,d);return!_&&t&&(u=t.getDocument(i,n))&&(vr.Debug.assert(l),_={sourceFile:u,languageServiceRefCount:0},f()),_?(_.sourceFile.version!==c&&(_.sourceFile=vr.updateLanguageServiceSourceFile(_.sourceFile,o,c,o.getChangeRange(_.sourceFile.scriptSnapshot)),t)&&t.setDocument(i,n,_.sourceFile),l&&_.languageServiceRefCount++):(u=vr.createLanguageServiceSourceFile(e,o,a,c,!1,d),t&&t.setDocument(i,n,u),_={sourceFile:u,languageServiceRefCount:1},f()),vr.Debug.assert(0!==_.languageServiceRefCount),_.sourceFile;function f(){var e;m?xG(m)?((e=new vr.Map).set(m.sourceFile.scriptKind,m),e.set(d,_),p.set(n,e)):m.set(d,_):p.set(n,_)}}function l(e,n,t){n=vr.Debug.checkDefined(r.get(n));var a=n.get(e),i=s(a,t);i.languageServiceRefCount--,vr.Debug.assert(0<=i.languageServiceRefCount),0===i.languageServiceRefCount&&(xG(a)?n.delete(e):(a.delete(t),1===a.size&&n.set(e,vr.firstDefinedIterator(a.values(),vr.identity))))}return{acquireDocument:function(e,t,r,o,s){return i(e,vr.toPath(e,n,a),t,DG(t),r,o,s)},acquireDocumentWithKey:i,updateDocument:function(e,t,r,i,s){return o(e,vr.toPath(e,n,a),t,DG(t),r,i,s)},updateDocumentWithKey:o,releaseDocument:function(e,t,r){return l(vr.toPath(e,n,a),DG(t),r)},releaseDocumentWithKey:l,getLanguageServiceRefCounts:function(e,n){return vr.arrayFrom(r.entries(),(function(t){var r=t[0];t=t[1].get(e),t=t&&s(t,n);return[r,t&&t.languageServiceRefCount]}))},reportStats:function(){var e=vr.arrayFrom(r.keys()).filter((function(e){return e&&"_"===e.charAt(0)})).map((function(e){var n=r.get(e),t=[];return n.forEach((function(e,n){xG(e)?t.push({name:n,scriptKind:e.sourceFile.scriptKind,refCount:e.languageServiceRefCount}):e.forEach((function(e,r){return t.push({name:n,scriptKind:r,refCount:e.languageServiceRefCount})}))})),t.sort((function(e,n){return n.refCount-e.refCount})),{bucket:e,sourceFiles:t}}));return JSON.stringify(e,void 0,2)},getKeyForCompilationSettings:DG}}function DG(e){return vr.sourceFileAffectingCompilerOptions.map((function(n){return vr.getCompilerOptionValue(e,n)})).join("|")}function AG(e,n){return br.forEach((300===e.kind?e:e.body).statements,(function(e){return n(e)||RG(e)&&br.forEach(e.body&&e.body.statements,n)}))}function CG(e,n){if(e.externalModuleIndicator||void 0!==e.imports)for(var t=0,r=e.imports;t<r.length;t++){var a=r[t];n(br.importFromModuleSpecifier(a),a)}else AG(e,(function(e){switch(e.kind){case 270:case 264:(t=e).moduleSpecifier&&br.isStringLiteral(t.moduleSpecifier)&&n(t,t.moduleSpecifier);break;case 263:var t;OG(t=e)&&n(t,t.moduleReference.expression)}}))}function IG(e,n,t){if(e=e.parent,e)return t=t.getMergedSymbol(e),br.isExternalModuleSymbol(t)?{exportingModuleSymbol:t,exportKind:n}:void 0}function NG(e,n){return n.getMergedSymbol(kG(e).symbol)}function kG(e){return 206===e.kind?e.getSourceFile():300===(e=e.parent).kind?e:(br.Debug.assert(260===e.kind),br.cast(e.parent,RG))}function RG(e){return 259===e.kind&&10===e.name.kind}function OG(e){return 275===e.moduleReference.kind&&10===e.moduleReference.expression.kind}function PG(e,n){return{kind:n=void 0===n?1:n,node:e.name||e,context:(e=>{if(Er.isDeclaration(e))return MG(e);if(e.parent){if(!Er.isDeclaration(e.parent)&&!Er.isExportAssignment(e.parent)){if(Er.isInJSFile(e)){var n=Er.isBinaryExpression(e.parent)?e.parent:Er.isAccessExpression(e.parent)&&Er.isBinaryExpression(e.parent.parent)&&e.parent.parent.left===e.parent?e.parent.parent:void 0;if(n&&0!==Er.getAssignmentDeclarationKind(n))return MG(n)}if(Er.isJsxOpeningElement(e.parent)||Er.isJsxClosingElement(e.parent))return e.parent.parent;if(Er.isJsxSelfClosingElement(e.parent)||Er.isLabeledStatement(e.parent)||Er.isBreakOrContinueStatement(e.parent))return e.parent;if(Er.isStringLiteralLike(e)){n=Er.tryGetImportFromModuleSpecifier(e);if(n)return n=Er.findAncestor(n,(function(e){return Er.isDeclaration(e)||Er.isStatement(e)||Er.isJSDocTag(e)})),Er.isDeclaration(n)?MG(n):n}return n=Er.findAncestor(e,Er.isComputedPropertyName),n?MG(n.parent):void 0}if(e.parent.name===e||Er.isConstructorDeclaration(e.parent)||Er.isExportAssignment(e.parent)||(Er.isImportOrExportSpecifier(e.parent)||Er.isBindingElement(e.parent))&&e.parent.propertyName===e||88===e.kind&&Er.hasSyntacticModifier(e.parent,513))return MG(e.parent)}})(e)}}function wG(e){return e&&void 0===e.kind}function MG(e){if(e)switch(e.kind){case 252:return Er.isVariableDeclarationList(e.parent)&&1===e.parent.declarations.length?Er.isVariableStatement(e.parent.parent)?e.parent.parent:Er.isForInOrOfStatement(e.parent.parent)?MG(e.parent.parent):e.parent:e;case 201:return MG(e.parent.parent);case 268:return e.parent.parent.parent;case 273:case 266:return e.parent.parent;case 265:case 272:return e.parent;case 219:return Er.isExpressionStatement(e.parent)?e.parent:e;case 242:case 241:return{start:e.initializer,end:e.expression};case 291:case 292:return Er.isArrayLiteralOrObjectLiteralDestructuringPattern(e.parent)?MG(Er.findAncestor(e.parent,(function(e){return Er.isBinaryExpression(e)||Er.isForInOrOfStatement(e)}))):e;default:return e}}function FG(e,n,t){return!t||(t=wG(t)?WG(t.start,n,t.end):WG(t,n)).start===e.start&&t.length===e.length?void 0:{contextSpan:t}}function GG(e,n,t,r,a){var i,o;if(300!==r.kind)return o=e.getTypeChecker(),292===r.parent.kind?(i=[],Sr.getReferenceEntriesForShorthandPropertyAssignment(r,o,(function(e){return i.push(PG(e))})),i):106===r.kind||Er.isSuperProperty(r.parent)?(o=o.getSymbolAtLocation(r)).valueDeclaration&&[PG(o.valueDeclaration)]:BG(a,r,e,t,n,{implementations:!0,use:1})}function BG(e,n,t,r,a,i,o){return void 0===i&&(i={}),void 0===o&&(o=new Er.Set(r.map((function(e){return e.fileName})))),UG(Sr.getReferencedSymbolsForNode(e,n,t,r,a,i,o))}function UG(e){return e&&Er.flatMap(e,(function(e){return e.references}))}function VG(e){var n=e.getSourceFile();return{sourceFile:n,textSpan:WG(Er.isComputedPropertyName(e)?e.expression:e,n)}}function jG(e,n,t){var r=Sr.getIntersectingMeaningFromDeclarations(t,e);t=e.declarations&&Er.firstOrUndefined(e.declarations)||t,n=Er.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(n,e,t.getSourceFile(),t,t,r);return{displayParts:n.displayParts,kind:n.symbolKind}}function KG(e){var n,t=HG(e);return 0===e.kind?nu(nu({},t),{isWriteAccess:!1,isDefinition:!1}):(n=e.kind,e=e.node,nu(nu({},t),{isWriteAccess:JG(e),isDefinition:88===(t=e).kind||!!Er.getDeclarationFromName(t)||Er.isLiteralComputedPropertyDeclarationName(t)||133===t.kind&&Er.isConstructorDeclaration(t.parent),isInString:2===n||void 0}))}function HG(e){var n,t;return 0===e.kind?{textSpan:e.textSpan,fileName:e.fileName}:(n=e.node.getSourceFile(),t=WG(e.node,n),nu({textSpan:t,fileName:n.fileName},FG(t,n,e.context)))}function WG(e,n,t){n=e.getStart(n);var r=(t||e).getEnd();return Er.isStringLiteralLike(e)&&(Er.Debug.assert(void 0===t),n+=1,--r),Er.createTextSpanFromBounds(n,r)}function zG(e){return 0===e.kind?e.textSpan:WG(e.node,e.node.getSourceFile())}function JG(e){var n=Er.getDeclarationFromName(e);return!!n&&(e=>{if(8388608&e.flags)return!0;switch(e.kind){case 219:case 201:case 255:case 224:case 88:case 258:case 294:case 273:case 265:case 263:case 268:case 256:case 333:case 340:case 283:case 259:case 262:case 266:case 272:case 162:case 292:case 257:case 161:return!0;case 291:return!Er.isArrayLiteralOrObjectLiteralDestructuringPattern(e.parent);case 254:case 211:case 169:case 167:case 170:case 171:return!!e.body;case 252:case 165:return!!e.initializer||Er.isCatchClause(e.parent);case 166:case 164:case 342:case 335:return!1;default:return Er.Debug.failBadSyntaxKind(e)}})(n)||88===e.kind||Er.isWriteAccess(e)}function qG(e,n,t){for(var r,a=0,i=n.get(e.path)||Er.emptyArray;a<i.length;a++){var o,s=i[a];Er.isReferencedFile(s)&&(o=t.getSourceFileByPath(s.file),s=Er.getReferencedFileLocation(t.getSourceFileByPath,s),Er.isReferenceFileLocation(s))&&(r=Er.append(r,{kind:0,fileName:o.fileName,textSpan:Er.createTextSpanFromRange(s)}))}return r}function XG(e,n,t){if(e.parent&&Er.isNamespaceExportDeclaration(e.parent)&&(e=t.getAliasedSymbol(n),n=t.getMergedSymbol(e),e!==n))return n}function YG(e,n,t,r,a,i){var o,s,c=1536&e.flags&&e.declarations&&Er.find(e.declarations,Er.isSourceFile);if(c)return o=e.exports.get("export="),s=$G(n,e,!!o,t,i),o&&i.has(c.fileName)?(c=n.getTypeChecker(),QG(n,s,nB(e=Er.skipAlias(o,c),void 0,t,i,c,r,a))):s}function QG(e){for(var n,t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var a=0,i=t;a<i.length;a++){var o=i[a];if(o&&o.length)if(n)for(var s=0,c=o;s<c.length;s++)(t=>{var r,a,i;t.definition&&0===t.definition.type&&(r=t.definition.symbol,-1!==(a=Er.findIndex(n,(function(e){return!!e.definition&&0===e.definition.type&&e.definition.symbol===r}))))?(i=n[a],n[a]={definition:i.definition,references:i.references.concat(t.references).sort((function(n,t){var r=ZG(e,n),a=ZG(e,t);return r!==a?Er.compareValues(r,a):(r=zG(n),a=zG(t),r.start!==a.start?Er.compareValues(r.start,a.start):Er.compareValues(r.length,a.length))}))}):n.push(t)})(c[s]);else n=o}return n}function ZG(e,n){return n=0===n.kind?e.getSourceFile(n.fileName):n.node.getSourceFile(),e.getSourceFiles().indexOf(n)}function $G(e,n,t,r,a){Er.Debug.assert(!!n.valueDeclaration);var i=Er.mapDefined(Tr.findModuleReferences(e,r,n),(function(e){if("import"!==e.kind)return{kind:0,fileName:e.referencingFile.fileName,textSpan:Er.createTextSpanFromRange(e.ref)};var n=e.literal.parent;return Er.isLiteralTypeNode(n)&&(n=Er.cast(n.parent,Er.isImportTypeNode),t&&!n.qualifier)?void 0:PG(e.literal)}));if(n.declarations)for(var o=0,s=n.declarations;o<s.length;o++)switch((d=s[o]).kind){case 300:break;case 259:a.has(d.getSourceFile().fileName)&&i.push(PG(d.name));break;default:Er.Debug.assert(!!(33554432&n.flags),"Expected a module symbol to be declared by a SourceFile or ModuleDeclaration.")}if(e=n.exports.get("export="),null!=e&&e.declarations)for(var c=0,l=e.declarations;c<l.length;c++){var d,u=(d=l[c]).getSourceFile();a.has(u.fileName)&&(u=Er.isBinaryExpression(d)&&Er.isPropertyAccessExpression(d.left)?d.left.expression:Er.isExportAssignment(d)?Er.Debug.checkDefined(Er.findChildOfKind(d,93,u)):Er.getNameOfDeclaration(d)||d,i.push(PG(u)))}return i.length?[{definition:{type:0,symbol:n},references:i}]:Er.emptyArray}function eB(e){return 143===e.kind&&Er.isTypeOperatorNode(e.parent)&&143===e.parent.operator}function nB(e,n,t,r,a,i,o){var s,c,l,d=n&&((e,n,t,r)=>{var a=n.parent;return Er.isExportSpecifier(a)&&r?fB(n,e,a,t):Er.firstDefined(e.declarations,(function(r){if(!r.parent){if(33554432&e.flags)return;Er.Debug.fail("Unexpected symbol at "+Er.Debug.formatSyntaxKind(n.kind)+": "+Er.Debug.formatSymbol(e))}return Er.isTypeLiteralNode(r.parent)&&Er.isUnionTypeNode(r.parent.parent)?t.getPropertyOfType(t.getTypeFromTypeNode(r.parent.parent),e.name):void 0}))})(e,n,a,!xB(o))||e,u=n?EB(n,d):7,p=[];t=new xr(t,r,n?(e=>{switch(e.kind){case 169:case 133:return 1;case 79:if(Er.isClassLike(e.parent))return Er.Debug.assert(e.parent.name===e),2;default:return 0}})(n):0,a,i,u,o,p),r=xB(o)&&d.declarations?Er.find(d.declarations,Er.isExportSpecifier):void 0;return r?_B(r.name,d,r,t.createSearch(n,e,void 0),t,!0,!0):n&&88===n.kind&&"default"===d.escapedName&&d.parent?(gB(n,d,t),aB(n,d,{exportingModuleSymbol:d.parent,exportKind:1},t)):(r=t.createSearch(n,d,void 0,{allSearchSymbols:n?(s=d,i=2===o.use,u=!!o.providePrefixAndSuffixTextForRename,c=!!o.implementations,l=[],vB(s,n,a,i,!(i&&u),(function(e,n,t){t&&bB(s)!==bB(t)&&(t=void 0),l.push(t||n||e)}),(function(){return!c})),l):[d]}),tB(d,t,r)),p}function tB(e,n,t){if(e=(e=>{var n,t=e.declarations,r=e.flags,a=e.parent,i=e.valueDeclaration;if(i&&(211===i.kind||224===i.kind))return i;if(t){if(8196&r)return(i=Er.find(t,(function(e){return Er.hasEffectiveModifier(e,8)||Er.isPrivateIdentifierClassElementDeclaration(e)})))?Er.getAncestor(i,255):void 0;if(!t.some(Er.isObjectBindingElementWithoutPropertyName)&&(!(r=a&&!(262144&e.flags))||Er.isExternalModuleSymbol(a)&&!a.globalExports)){for(var o=0,s=t;o<s.length;o++){var c=s[o];c=Er.getContainerNode(c);if(n&&n!==c)return;if(!c||300===c.kind&&!Er.isExternalOrCommonJsModule(c))return;if(n=c,Er.isFunctionExpression(n))for(var l=void 0;l=Er.getNextJSDocCommentLocation(n);)n=l}return r?n.getSourceFile():n}}})(e),e)pB(e,e.getSourceFile(),t,n,!(Er.isSourceFile(e)&&!Er.contains(n.sourceFiles,e)));else for(var r=0,a=n.sourceFiles;r<a.length;r++){var i=a[r];n.cancellationToken.throwIfCancellationRequested(),oB(i,t,n)}}function rB(e,n,t,r,a,i,o,s){this.sourceFiles=e,this.sourceFilesSet=n,this.specialSearchKind=t,this.checker=r,this.cancellationToken=a,this.searchMeaning=i,this.options=o,this.result=s,this.inheritsFromCache=new Er.Map,this.markSeenContainingTypeReference=Er.nodeSeenTracker(),this.markSeenReExportRHS=Er.nodeSeenTracker(),this.symbolIdToReferences=[],this.sourceFileToSeenSymbols=[]}function aB(e,n,t,r){var a,i,o=r.getImportSearches(n,t),s=o.importSearches,c=o.singleReferences;o=o.indirectUsers;if(c.length)for(var l=r.referenceAdder(n),d=0,u=c;d<u.length;d++){var p=u[d];!mB(a=p,i=r)||2===i.options.use&&(!Er.isIdentifier(a)||Er.isImportOrExportSpecifier(a.parent)&&"default"===a.escapedText)||l(p)}for(var m=0,_=s;m<_.length;m++){var f=_[m],g=f[0];f=f[1];uB(g.getSourceFile(),r.createSearch(g,f,1),r)}if(o.length){var y=void 0;switch(t.exportKind){case 0:y=r.createSearch(e,n,1);break;case 1:y=2===r.options.use?void 0:r.createSearch(e,n,1,{text:"default"})}if(y)for(var h=0,v=o;h<v.length;h++)oB(v[h],y,r)}}function iB(e,n){if(e.declarations)for(var t=0,r=e.declarations;t<r.length;t++){var a=r[t],i=a.getSourceFile();uB(i,n.createSearch(a,e,0),n,n.includesSourceFile(i))}}function oB(e,n,t){void 0!==Er.getNameTable(e).get(n.escapedText)&&uB(e,n,t)}function sB(e,n,t,r,a){void 0===a&&(a=t);var i=Er.isParameterPropertyDeclaration(e.parent,e.parent.parent)?Er.first(n.getSymbolsOfParameterPropertyDeclaration(e.parent,e.text)):n.getSymbolAtLocation(e);if(i)for(var o=0,s=cB(t,i.name,a);o<s.length;o++){var c=s[o];if(Er.isIdentifier(c)&&c!==e&&c.escapedText===e.escapedText){var l=n.getSymbolAtLocation(c);if((l===i||n.getShorthandAssignmentValueSymbol(c.parent)===i||Er.isExportSpecifier(c.parent)&&fB(c,l,c.parent,n)===i)&&(l=r(c),l))return l}}}function cB(e,n,t){return lB(e,n,t=void 0===t?e:t).map((function(n){return Er.getTouchingPropertyName(e,n)}))}function lB(e,n,t){void 0===t&&(t=e);var r=[];if(n&&n.length)for(var a=e.text,i=a.length,o=n.length,s=a.indexOf(n,t.pos);0<=s&&!(s>t.end);){var c=s+o;0!==s&&Er.isIdentifierPart(a.charCodeAt(s-1),99)||c!==i&&Er.isIdentifierPart(a.charCodeAt(c),99)||r.push(s),s=a.indexOf(n,s+o+1)}return r}function dB(e,n){var t=e.getSourceFile(),r=n.text;t=Er.mapDefined(cB(t,r,e),(function(e){return e===n||Er.isJumpStatementTarget(e)&&Er.getTargetLabel(e,r)===n?PG(e):void 0}));return[{definition:{type:1,node:n},references:t}]}function uB(e,n,t,r){void 0===r&&(r=!0),t.cancellationToken.throwIfCancellationRequested(),pB(e,e,n,t,r)}function pB(e,n,t,r,a){if(r.markSearchedSymbols(n,t.allSearchSymbols))for(var i=0,o=lB(n,t.text,e);i<o.length;i++){var s=o[i],c=(g=f=_=m=p=u=d=l=c=void 0,n),l=s,d=t,u=r,p=a,m=Er.getTouchingPropertyName(c,l);if(((e,n)=>{switch(e.kind){case 80:if(Er.isJSDocMemberName(e.parent))return 1;case 79:return e.text.length===n.length;case 14:case 10:var t=e;return(Er.isLiteralNameOfPropertyDeclarationOrIndexAccess(t)||Er.isNameOfModuleDeclaration(e)||Er.isExpressionOfExternalModuleImportEqualsDeclaration(e)||Er.isCallExpression(e.parent)&&Er.isBindableObjectDefinePropertyCall(e.parent)&&e.parent.arguments[1]===e)&&t.text.length===n.length;case 8:return Er.isLiteralNameOfPropertyDeclarationOrIndexAccess(e)&&e.text.length===n.length;case 88:return"default".length===n.length;default:return}})(m,d.text)){if(mB(m,u)){var _=u.checker.getSymbolAtLocation(m);if(_){var f=m.parent;if(!Er.isImportSpecifier(f)||f.propertyName!==m)if(Er.isExportSpecifier(f))Er.Debug.assert(79===m.kind),_B(m,_,f,d,u,p);else{var g=((e,n,t,r)=>{var a=r.checker;return vB(n,t,a,!1,2!==r.options.use||!!r.options.providePrefixAndSuffixTextForRename,(function(t,r,a,i){return a&&bB(n)!==bB(a)&&(a=void 0),e.includes(a||r||t)?{symbol:!r||6&Er.getCheckFlags(t)?t:r,kind:i}:void 0}),(function(n){return!e.parents||e.parents.some((function(e){return function e(n,t,r,a){if(n===t)return!0;var i=Er.getSymbolId(n)+","+Er.getSymbolId(t),o=r.get(i);return void 0!==o||(r.set(i,!1),o=!!n.declarations&&n.declarations.some((function(n){return Er.getAllSuperTypeNodes(n).some((function(n){return n=a.getTypeAtLocation(n),!!n&&!!n.symbol&&e(n.symbol,t,r,a)}))})),r.set(i,o)),o}(n.parent,e,r.inheritsFromCache,a)}))}))})(d,_,m,u);if(g){switch(u.specialSearchKind){case 0:p&&gB(m,g,u);break;case 1:((e,n,t,r)=>{function a(){return r.referenceAdder(t.symbol)}if(Er.isNewExpressionTarget(e)&&gB(e,t.symbol,r),Er.isClassLike(e.parent)){Er.Debug.assert(88===e.kind||e.parent.name===e);var i=t.symbol,o=n,s=a(),c=yB(i);if(c&&c.declarations)for(var l=0,d=c.declarations;l<d.length;l++){var u=d[l],p=Er.findChildOfKind(u,133,o);Er.Debug.assert(169===u.kind&&!!p),s(p)}i.exports&&i.exports.forEach((function(e){e=e.valueDeclaration;e&&167===e.kind&&(e=e.body)&&SB(e,108,(function(e){Er.isNewExpressionTarget(e)&&s(e)}))}))}else if(n=(e=>Er.tryGetClassExtendingExpressionWithTypeArguments(Er.climbPastPropertyAccess(e).parent))(e)){e=n;var m=a();if((e=yB(e.symbol))&&e.declarations)for(var _=0,f=e.declarations;_<f.length;_++){var g=f[_];g=(Er.Debug.assert(169===g.kind),g.body);g&&SB(g,106,(function(e){Er.isCallExpressionTarget(e)&&m(e)}))}var y;e=n,n=r;(e=>yB(e.symbol))(e)||(e=e.symbol,y=n.createSearch(void 0,e,void 0),tB(e,n,y))}})(m,c,d,u);break;case 2:((e,n,t)=>{gB(e,n.symbol,t);var r=e.parent;if(2!==t.options.use&&Er.isClassLike(r)){Er.Debug.assert(r.name===e);for(var a=t.referenceAdder(n.symbol),i=0,o=r.members;i<o.length;i++){var s=o[i];Er.isMethodOrAccessor(s)&&Er.isStatic(s)&&s.body&&s.body.forEachChild((function e(n){108===n.kind?a(n):Er.isFunctionLike(n)||Er.isClassLike(n)||n.forEachChild(e)}))}}})(m,d,u);break;default:Er.Debug.assertNever(u.specialSearchKind)}_=Er.isInJSFile(m)&&201===m.parent.kind&&Er.isRequireVariableDeclaration(m.parent)?m.parent.symbol:_,((e,n,t,r)=>{(n=Tr.getImportOrExportSymbol(e,n,r.checker,1===t.comingFrom))&&(t=n.symbol,0===n.kind?xB(r.options)||iB(t,r):aB(e,t,n.exportInfo,r))})(m,_,d,u)}else((e,n,t)=>{var r=e.flags,a=(e=e.valueDeclaration,t.checker.getShorthandAssignmentValueSymbol(e));e=e&&Er.getNameOfDeclaration(e);33554432&r||!e||!n.includes(a)||gB(e,a,t)})(_,d,u)}}}}else!u.options.implementations&&(u.options.findInStrings&&Er.isInString(c,l)||u.options.findInComments&&Er.isInNonReferenceComment(c,l))&&u.addStringOrCommentReference(c.fileName,Er.createTextSpan(l,d.text.length))}}function mB(e,n){return Er.getMeaningFromLocation(e)&n.searchMeaning}function _B(e,n,t,r,a,i,o){Er.Debug.assert(!o||!!a.options.providePrefixAndSuffixTextForRename,"If alwaysGetReferences is true, then prefix/suffix text must be enabled");var s=t.parent,c=t.propertyName,l=t.name,d=(s=s.parent,fB(e,n,t,a.checker));function u(){i&&gB(e,d,a)}(o||r.includes(d))&&(c?e===c?(s.moduleSpecifier||u(),i&&2!==a.options.use&&a.markSeenReExportRHS(l)&&gB(l,Er.Debug.checkDefined(t.symbol),a)):a.markSeenReExportRHS(e)&&u():2===a.options.use&&"default"===l.escapedText||u(),(!xB(a.options)||o)&&(n=88===e.originalKeywordKind||88===t.name.originalKeywordKind?1:0,l=Er.Debug.checkDefined(t.symbol),o=Tr.getExportInfo(l,n,a.checker))&&aB(e,l,o,a),1===r.comingFrom||!s.moduleSpecifier||c||xB(a.options)||(n=a.checker.getExportSpecifierLocalTargetSymbol(t))&&iB(n,a))}function fB(e,n,t,r){return e=e,i=(a=t).parent,o=t.propertyName,a=t.name,Er.Debug.assert(o===e||a===e),(o?o===e:!i.parent.moduleSpecifier)&&r.getExportSpecifierLocalTargetSymbol(t)||n;var a,i,o}function gB(e,n,t){n="kind"in n?n:{kind:void 0,symbol:n};var r,a,i,o=n.kind;n=t.referenceAdder(n.symbol);function s(e){!function e(n){switch(n.kind){case 210:return e(n.expression);case 212:case 211:case 203:case 224:case 202:return!0;default:return!1}}(e)||a(e)}t.options.implementations?(r=e,a=n,t=t,Er.isDeclarationName(r)&&(e=>8388608&e.flags?!Er.isInterfaceDeclaration(e)&&!Er.isTypeAliasDeclaration(e):Er.isVariableLike(e)?Er.hasInitializer(e):Er.isFunctionLikeDeclaration(e)?e.body:Er.isClassLike(e)||Er.isModuleOrEnumDeclaration(e))(r.parent)?a(r):79===r.kind&&(292===r.parent.kind&&TB(r,t.checker,a),(i=function e(n){return Er.isIdentifier(n)||Er.isPropertyAccessExpression(n)?e(n.parent):Er.isExpressionWithTypeArguments(n)?Er.tryCast(n.parent.parent,Er.isClassLike):void 0}(r))?a(i):(i=Er.findAncestor(r,(function(e){return!Er.isQualifiedName(e.parent)&&!Er.isTypeNode(e.parent)&&!Er.isTypeElement(e.parent)})),r=i.parent,Er.hasType(r)&&r.type===i&&t.markSeenContainingTypeReference(r)&&(Er.hasInitializer(r)?s(r.initializer):Er.isFunctionLike(r)&&r.body?233===(i=r.body).kind?Er.forEachReturnStatement(i,(function(e){e.expression&&s(e.expression)})):s(i):Er.isAssertionExpression(r)&&s(r.expression))))):n(e,o)}function yB(e){return e.members&&e.members.get("__constructor")}function hB(e){return 79===e.kind&&162===e.parent.kind&&e.parent.name===e}function vB(e,n,t,r,a,i,o){var s=Er.getContainingObjectLiteralElement(n);if(s){var c=t.getShorthandAssignmentValueSymbol(n.parent);if(c&&r)return i(c,void 0,void 0,3);var l=t.getContextualType(s.parent);s=l&&Er.firstDefined(Er.getPropertySymbolsFromContextualType(s,t,l,!0),(function(e){return u(e,4)}));if(s)return s;if(l=n,s=t,s=Er.isArrayLiteralOrObjectLiteralDestructuringPattern(l.parent.parent)?s.getPropertySymbolOfDestructuringAssignment(l):void 0,l=s&&i(s,void 0,void 0,4),l)return l;if(s=c&&i(c,void 0,void 0,3),s)return s}if(l=XG(n,e,t),l&&(c=i(l,void 0,void 0,1),c))return c;if(s=u(e),s)return s;if(e.valueDeclaration&&Er.isParameterPropertyDeclaration(e.valueDeclaration,e.valueDeclaration.parent))return c=t.getSymbolsOfParameterPropertyDeclaration(Er.cast(e.valueDeclaration,Er.isParameter),e.name),Er.Debug.assert(2===c.length&&!!(1&c[0].flags)&&!!(4&c[1].flags)),u(1&e.flags?c[1]:c[0]);var d;s=Er.getDeclarationOfKind(e,273);return(!r||s&&!s.propertyName)&&(c=s&&t.getExportSpecifierLocalTargetSymbol(s),c&&(s=i(c,void 0,void 0,1),s))?s:r?(Er.Debug.assert(r),a?(d=p(e,t))&&u(d,4):void 0):(d=void 0,(d=a?Er.isObjectBindingElementWithoutPropertyName(n.parent)?Er.getPropertySymbolFromBindingElement(t,n.parent):void 0:p(e,t))&&u(d,4));function u(e,n){return Er.firstDefined(t.getRootSymbols(e),(function(r){return i(e,r,void 0,n)||(r.parent&&96&r.parent.flags&&o(r)?(a=r.parent,s=r.name,c=t,l=function(t){return i(e,r,t,n)},d=new Er.Map,function e(n){if(96&n.flags&&Er.addToSeen(d,Er.getSymbolId(n)))return Er.firstDefined(n.declarations,(function(n){return Er.firstDefined(Er.getAllSuperTypeNodes(n),(function(n){n=c.getTypeAtLocation(n);var t=n&&n.symbol&&c.getPropertyOfType(n,s);return n&&t&&(Er.firstDefined(c.getRootSymbols(t),l)||e(n.symbol))}))}))}(a)):void 0);var a,s,c,l,d}))}function p(e,n){if(e=Er.getDeclarationOfKind(e,201),e&&Er.isObjectBindingElementWithoutPropertyName(e))return Er.getPropertySymbolFromBindingElement(n,e)}}function bB(e){return!!e.valueDeclaration&&!!(32&Er.getEffectiveModifierFlags(e.valueDeclaration))}function EB(e,n){var t=Er.getMeaningFromLocation(e),r=n.declarations;if(r)do{for(var a=t,i=0,o=r;i<o.length;i++){var s=o[i];s=Er.getMeaningFromDeclaration(s);s&t&&(t|=s)}}while(t!==a);return t}function TB(e,n,t){if(e=n.getSymbolAtLocation(e),n=n.getShorthandAssignmentValueSymbol(e.valueDeclaration),n)for(var r=0,a=n.getDeclarations();r<a.length;r++){var i=a[r];1&Er.getMeaningFromDeclaration(i)&&t(i)}}function SB(e,n,t){Er.forEachChild(e,(function(e){e.kind===n&&t(e),SB(e,n,t)}))}function xB(e){return 2===e.use&&e.providePrefixAndSuffixTextForRename}function LB(e){return(Lr.isFunctionExpression(e)||Lr.isArrowFunction(e)||Lr.isClassExpression(e))&&Lr.isVariableDeclaration(e.parent)&&e===e.parent.initializer&&Lr.isIdentifier(e.parent.name)&&!!(2&Lr.getCombinedNodeFlags(e.parent))}function DB(e){return Lr.isSourceFile(e)||Lr.isModuleDeclaration(e)||Lr.isFunctionDeclaration(e)||Lr.isFunctionExpression(e)||Lr.isClassDeclaration(e)||Lr.isClassExpression(e)||Lr.isClassStaticBlockDeclaration(e)||Lr.isMethodDeclaration(e)||Lr.isMethodSignature(e)||Lr.isGetAccessorDeclaration(e)||Lr.isSetAccessorDeclaration(e)}function AB(e){return Lr.isSourceFile(e)||Lr.isModuleDeclaration(e)&&Lr.isIdentifier(e.name)||Lr.isFunctionDeclaration(e)||Lr.isClassDeclaration(e)||Lr.isClassStaticBlockDeclaration(e)||Lr.isMethodDeclaration(e)||Lr.isMethodSignature(e)||Lr.isGetAccessorDeclaration(e)||Lr.isSetAccessorDeclaration(e)||(n=e,(Lr.isFunctionExpression(n)||Lr.isClassExpression(n))&&Lr.isNamedDeclaration(n))||LB(e);var n}function CB(e){return Lr.isSourceFile(e)?e:Lr.isNamedDeclaration(e)?e.name:LB(e)?e.parent.name:Lr.Debug.checkDefined(e.modifiers&&Lr.find(e.modifiers,IB))}function IB(e){return 88===e.kind}function NB(e,n){return n=CB(n),n&&e.getSymbolAtLocation(n)}function kB(e,n){return n.body?n:Lr.isConstructorDeclaration(n)?Lr.getFirstConstructorWithBody(n.parent):Lr.isFunctionDeclaration(n)||Lr.isMethodDeclaration(n)?(e=NB(e,n))&&e.valueDeclaration&&Lr.isFunctionLikeDeclaration(e.valueDeclaration)&&e.valueDeclaration.body?e.valueDeclaration:void 0:n}function RB(e,n){var t,r=NB(e,n);if(r&&r.declarations){e=Lr.indicesOf(r.declarations);var a=Lr.map(r.declarations,(function(e){return{file:e.getSourceFile().fileName,pos:e.pos}}));e.sort((function(e,n){return Lr.compareStringsCaseSensitive(a[e].file,a[n].file)||a[e].pos-a[n].pos}));for(var i=void 0,o=0,s=Lr.map(e,(function(e){return r.declarations[e]}));o<s.length;o++){var c=s[o];AB(c)&&(i&&i.parent===c.parent&&i.end===c.pos||(t=Lr.append(t,c)),i=c)}}return t}function OB(e,n){var t;return Lr.isClassStaticBlockDeclaration(n)?n:Lr.isFunctionLikeDeclaration(n)?null!=(t=null!=(t=kB(e,n))?t:RB(e,n))?t:n:null!=(t=RB(e,n))?t:n}function PB(e,n){for(var t,r=e.getTypeChecker(),a=!1;;){if(AB(n))return OB(r,n);if(DB(n))return(t=Lr.findAncestor(n,AB))&&OB(r,t);if(Lr.isDeclarationName(n))return AB(n.parent)?OB(r,n.parent):DB(n.parent)?(t=Lr.findAncestor(n.parent,AB))&&OB(r,t):Lr.isVariableDeclaration(n.parent)&&n.parent.initializer&&LB(n.parent.initializer)?n.parent.initializer:void 0;if(Lr.isConstructorDeclaration(n))return AB(n.parent)?n.parent:void 0;if(124!==n.kind||!Lr.isClassStaticBlockDeclaration(n.parent)){if(Lr.isVariableDeclaration(n)&&n.initializer&&LB(n.initializer))return n.initializer;if(!a){var i=r.getSymbolAtLocation(n);if(i&&(i=2097152&i.flags?r.getAliasedSymbol(i):i).valueDeclaration){a=!0,n=i.valueDeclaration;continue}}return}n=n.parent}}function wB(e,n){var t=n.getSourceFile(),r=(e=((e,n)=>{if(Lr.isSourceFile(n))return{text:n.fileName,pos:0,end:0};if((Lr.isFunctionDeclaration(n)||Lr.isClassDeclaration(n))&&!Lr.isNamedDeclaration(n)){var t=n.modifiers&&Lr.find(n.modifiers,IB);if(t)return{text:"default",pos:t.getStart(),end:t.getEnd()}}var r,a,i,o;return Lr.isClassStaticBlockDeclaration(n)?(t=n.getSourceFile(),o=(t=Lr.skipTrivia(t.text,Lr.moveRangePastModifiers(n).pos))+6,{text:((a=(r=e.getTypeChecker()).getSymbolAtLocation(n.parent))?r.symbolToString(a,n.parent)+" ":"")+"static {}",pos:t,end:o}):(t=LB(n)?n.parent.name:Lr.Debug.checkDefined(Lr.getNameOfDeclaration(n),"Expected call hierarchy item to have a name"),void 0===(o=void 0===(o=Lr.isIdentifier(t)?Lr.idText(t):Lr.isStringOrNumericLiteralLike(t)?t.text:Lr.isComputedPropertyName(t)&&Lr.isStringOrNumericLiteralLike(t.expression)?t.expression.text:void 0)&&(a=(r=e.getTypeChecker()).getSymbolAtLocation(t))?r.symbolToString(a,n):o)&&(i=Lr.createPrinter({removeComments:!0,omitTrailingSemicolon:!0}),o=Lr.usingSingleLineStringWriter((function(e){return i.writeNode(4,n,n.getSourceFile(),e)}))),{text:o,pos:t.getStart(),end:t.getEnd()})})(e,n),(e=>{var n;if(LB(e))return Lr.isModuleBlock(e.parent.parent.parent.parent)&&Lr.isIdentifier(e.parent.parent.parent.parent.parent.name)?e.parent.parent.parent.parent.parent.name.getText():void 0;switch(e.kind){case 170:case 171:case 167:return 203===e.parent.kind?null==(n=Lr.getAssignedName(e.parent))?void 0:n.getText():null==(n=Lr.getNameOfDeclaration(e.parent))?void 0:n.getText();case 254:case 255:case 259:if(Lr.isModuleBlock(e.parent)&&Lr.isIdentifier(e.parent.parent.name))return e.parent.parent.name.getText()}})(n)),a=Lr.getNodeKind(n),i=Lr.getNodeModifiers(n),o=(n=Lr.createTextSpanFromBounds(Lr.skipTrivia(t.text,n.getFullStart(),!1,!0),n.getEnd()),Lr.createTextSpanFromBounds(e.pos,e.end));return{file:t.fileName,kind:a,kindModifiers:i,name:e.text,containerName:r,span:n,selectionSpan:o}}function MB(e){return void 0!==e}function FB(e){if(1===e.kind){var n;e=e.node;if(Lr.isCallOrNewExpressionTarget(e,!0,!0)||Lr.isTaggedTemplateTag(e,!0,!0)||Lr.isDecoratorTarget(e,!0,!0)||Lr.isJsxOpeningLikeElementTagName(e,!0,!0)||Lr.isRightSideOfPropertyAccess(e)||Lr.isArgumentExpressionOfElementAccess(e))return n=e.getSourceFile(),{declaration:Lr.findAncestor(e,AB)||n,range:Lr.createTextRangeFromNode(e,n)}}}function GB(e){return Lr.getNodeId(e.declaration)}function BB(e,n){function t(t){var r=Lr.isTaggedTemplateExpression(t)?t.tag:Lr.isJsxOpeningLikeElement(t)?t.tagName:Lr.isAccessExpression(t)||Lr.isClassStaticBlockDeclaration(t)?t:t.expression,a=PB(e,r);if(a){var i=Lr.createTextRangeFromNode(r,t.getSourceFile());if(Lr.isArray(a))for(var o=0,s=a;o<s.length;o++){var c=s[o];n.push({declaration:c,range:i})}else n.push({declaration:a,range:i})}}return function e(n){if(n&&!(8388608&n.flags))if(AB(n)){if(Lr.isClassLike(n))for(var r=0,a=n.members;r<a.length;r++){var i=a[r];i.name&&Lr.isComputedPropertyName(i.name)&&e(i.name.expression)}}else{switch(n.kind){case 79:case 263:case 264:case 270:case 256:case 257:return;case 168:return void t(n);case 209:case 227:return void e(n.expression);case 252:case 162:return e(n.name),void e(n.initializer);case 206:case 207:return t(n),e(n.expression),void Lr.forEach(n.arguments,e);case 208:return t(n),e(n.tag),void e(n.template);case 278:case 277:return t(n),e(n.tagName),void e(n.attributes);case 163:return t(n),void e(n.expression);case 204:case 205:t(n),Lr.forEachChild(n,e)}Lr.isPartOfTypeNode(n)||Lr.forEachChild(n,e)}}}function UB(e,n){var t,r,a=[],i=BB(e,a);switch(n.kind){case 300:Lr.forEach(n.statements,i);break;case 259:t=n,r=i,!Lr.hasSyntacticModifier(t,2)&&t.body&&Lr.isModuleBlock(t.body)&&Lr.forEach(t.body.statements,r);break;case 254:case 211:case 212:case 167:case 170:case 171:t=e.getTypeChecker(),r=i,(t=kB(t,n))&&(Lr.forEach(t.parameters,r),r(t.body));break;case 255:case 224:var o=n,s=i,c=(Lr.forEach(o.decorators,s),Lr.getClassExtendsHeritageElement(o));c&&s(c.expression);for(var l=0,d=o.members;l<d.length;l++){var u=d[l];Lr.forEach(u.decorators,s),Lr.isPropertyDeclaration(u)?s(u.initializer):Lr.isConstructorDeclaration(u)&&u.body?(Lr.forEach(u.parameters,s),s(u.body)):Lr.isClassStaticBlockDeclaration(u)&&s(u)}break;case 168:i(n.body);break;default:Lr.Debug.assertNever(n)}return a}function VB(e,n,t,r){var a=t(e);return function(e){var i,o=r&&r.tryGetSourcePosition({fileName:e,pos:0}),s=(s=o?o.fileName:e,t(s)===a?n:void 0===(s=Dr.tryRemoveDirectoryPrefix(s,a,t))?void 0:n+"/"+s);return o?void 0===s?void 0:(o=o.fileName,i=s,o=Dr.getRelativePathFromFile(o,i,t),jB(Dr.getDirectoryPath(e),o)):s}}function jB(e,n){return Dr.ensurePathIsNonModuleName(Dr.normalizePath(Dr.combinePaths(e,n)))}function KB(e,n,t,r){if(n){if(n.resolvedModule){var a=o(n.resolvedModule.resolvedFileName);if(a)return a}return a=Dr.forEach(n.failedLookupLocations,(function(e){var n=t(e);return n&&Dr.find(r,(function(e){return e.fileName===n}))?i(e):void 0}))||Dr.pathIsRelative(e.text)&&Dr.forEach(n.failedLookupLocations,i),a||n.resolvedModule&&{newFileName:n.resolvedModule.resolvedFileName,updated:!1}}function i(e){return Dr.endsWith(e,"/package.json")?void 0:o(e)}function o(e){return e=t(e),e&&{newFileName:e,updated:!0}}}function HB(e,n){return Dr.createRange(e.getStart(n)+1,e.end-1)}function WB(e,n){if(Dr.isObjectLiteralExpression(e))for(var t=0,r=e.properties;t<r.length;t++){var a=r[t];Dr.isPropertyAssignment(a)&&Dr.isStringLiteral(a.name)&&n(a,a.name.text)}}function zB(e,n,t){var r,a,i,o,s,c,l,d,u,p,m=qB(n,t,e),_=m?[(a=m.reference.fileName,_=m.fileName,o=m.unverified,{fileName:_,textSpan:Ar.createTextSpanFromBounds(0,0),kind:"script",name:a,containerName:void 0,containerKind:void 0,unverified:o})]:Ar.emptyArray;return null!=m&&m.file?_:(r=Ar.getTouchingPropertyName(n,t))!==n?(a=r.parent,i=e.getTypeChecker(),157===r.kind||Ar.isJSDocOverrideTag(r)&&Ar.rangeContainsPosition(r.tagName,t)?((e,n)=>{if((i=Ar.findAncestor(n,Ar.isClassElement))&&i.name){var t=Ar.findAncestor(i,Ar.isClassLike);if(t){var r=Ar.getEffectiveBaseTypeNode(t);r=r?e.getTypeAtLocation(r):void 0;if(r){var a=Ar.unescapeLeadingUnderscores(Ar.getTextOfPropertyName(i.name)),i=Ar.hasStaticModifier(i)?e.getPropertyOfType(e.getTypeOfSymbolAtLocation(r.symbol,t),a):e.getPropertyOfType(r,a);if(i)return QB(e,i,n)}}}})(i,r)||Ar.emptyArray:Ar.isJumpStatementTarget(r)?(o=Ar.getTargetLabel(r.parent,r.text))?[$B(i,o,"label",r.text,void 0)]:void 0:Ar.isStaticModifier(r)&&Ar.isClassStaticBlockDeclaration(r.parent)?(n=YB(m=r.parent.parent,i),e=Ar.filter(m.members,Ar.isClassStaticBlockDeclaration),s=n?i.symbolToString(n,m):"",c=r.getSourceFile(),Ar.map(e,(function(e){var n=Ar.moveRangePastModifiers(e).pos;n=Ar.skipTrivia(c.text,n);return $B(i,e,"constructor","static {}",s,{start:n,length:"static".length})}))):(t=YB(r,i))?!(d=((e,n)=>(n=(e=>{var n=null==(e=Ar.findAncestor(e,(function(e){return!Ar.isRightSideOfPropertyAccess(e)})))?void 0:e.parent;return n&&Ar.isCallLikeExpression(n)&&Ar.getInvokedExpression(n)===e?n:void 0})(n),e=n&&e.getResolvedSignature(n),Ar.tryCast(e&&e.declaration,(function(e){return Ar.isFunctionLike(e)&&!Ar.isFunctionTypeNode(e)}))))(i,r))||Ar.isJsxOpeningLikeElement(r.parent)&&(e=>{switch(e.kind){case 169:case 178:case 173:return 1;default:return}})(d)?292===r.parent.kind?(n=null!=(u=i.getShorthandAssignmentValueSymbol(t.valueDeclaration))&&u.declarations?u.declarations.map((function(e){return ZB(e,i,u,r)})):Ar.emptyArray,Ar.concatenate(n,JB(i,r)||Ar.emptyArray)):Ar.isPropertyName(r)&&Ar.isBindingElement(a)&&Ar.isObjectBindingPattern(a.parent)&&r===(a.propertyName||a.name)?(p=Ar.getNameFromPropertyName(r),m=i.getTypeAtLocation(a.parent),void 0===p?Ar.emptyArray:Ar.flatMap(m.isUnion()?m.types:[m],(function(e){return e=e.getProperty(p),e&&QB(i,e,r)}))):Ar.concatenate(_,JB(i,r)||QB(i,t,r)):(e=eU(i,d),i.getRootSymbols(t).some((function(e){return(e=e)===(n=d).symbol||e===n.symbol.parent||Ar.isAssignmentExpression(n.parent)||!Ar.isCallLikeExpression(n.parent)&&e===n.parent.symbol;var n}))?[e]:(n=QB(i,t,r,d)||Ar.emptyArray,106===r.kind?eu([e],n,!0):eu(eu([],n,!0),[e],!1))):Ar.concatenate(_,(l=i,Ar.mapDefined(l.getIndexInfosAtLocation(r),(function(e){return e.declaration&&eU(l,e.declaration)}))))):void 0}function JB(e,n){var t=Ar.getContainingObjectLiteralElement(n);if(t){var r=t&&e.getContextualType(t.parent);if(r)return Ar.flatMap(Ar.getPropertySymbolsFromContextualType(t,e,r,!1),(function(t){return QB(e,t,n)}))}}function qB(e,n,t){var r=nU(e.referencedFiles,n);if(r)return(a=t.getSourceFileFromReference(e,r))&&{reference:r,fileName:a.fileName,file:a,unverified:!1};r=nU(e.typeReferenceDirectives,n);if(r)return(a=(i=t.getResolvedTypeReferenceDirectives().get(r.fileName))&&t.getSourceFile(i.resolvedFileName))&&{reference:r,fileName:a.fileName,file:a,unverified:!1};var a,i=nU(e.libReferenceDirectives,n);return i?(a=t.getLibFileFromReference(i))&&{reference:i,fileName:a.fileName,file:a,unverified:!1}:null!=(r=e.resolvedModules)&&r.size&&(i=Ar.getTokenAtPosition(e,n),Ar.isModuleSpecifierLike(i)&&Ar.isExternalModuleNameRelative(i.text)&&e.resolvedModules.has(i.text))?(n=(r=null==(a=e.resolvedModules.get(i.text))?void 0:a.resolvedFileName)||Ar.resolvePath(Ar.getDirectoryPath(e.fileName),i.text),{file:t.getSourceFile(n),fileName:n,reference:{pos:i.getStart(),end:i.getEnd(),fileName:i.text},unverified:!r}):void 0}function XB(e,n,t){return Ar.flatMap(!e.isUnion()||32&e.flags?[e]:e.types,(function(e){return e.symbol&&QB(n,e.symbol,t)}))}function YB(e,n){var t=n.getSymbolAtLocation(e);return null!=t&&t.declarations&&2097152&t.flags&&((e,n)=>{if(79===e.kind){if(e.parent===n)return 1;switch(n.kind){case 265:case 263:return 1;case 268:return 267===n.parent.kind;case 201:case 252:return Ar.isInJSFile(n)&&Ar.isRequireVariableDeclaration(n);default:return}}})(e,t.declarations[0])&&(e=n.getAliasedSymbol(t),e.declarations)?e:t}function QB(e,n,t,r){var a=Ar.filter(n.declarations,(function(e){return e!==r&&(!Ar.isAssignmentDeclaration(e)||e===n.valueDeclaration)}))||void 0;return(()=>{if(32&n.flags&&!(19&n.flags)&&(Ar.isNewExpressionTarget(t)||133===t.kind))return i((Ar.find(a,Ar.isClassLike)||Ar.Debug.fail("Expected declaration to have at least one class-like declaration")).members,!0)})()||(Ar.isCallOrNewExpressionTarget(t)||Ar.isNameOfFunctionDeclaration(t)?i(a,!1):void 0)||Ar.map(a,(function(r){return ZB(r,e,n,t)}));function i(r,a){if(r)return a=(r=r.filter(a?Ar.isConstructorDeclaration:Ar.isFunctionLike)).filter((function(e){return!!e.body})),r.length?0!==a.length?a.map((function(r){return ZB(r,e,n,t)})):[ZB(Ar.last(r),e,n,t)]:void 0}}function ZB(e,n,t,r){var a=n.symbolToString(t),i=Ar.SymbolDisplay.getSymbolKind(n,t,r);t=t.parent?n.symbolToString(t.parent,r):"";return $B(n,e,i,a,t)}function $B(e,n,t,r,a,i){var o,s=n.getSourceFile();return i||(o=Ar.getNameOfDeclaration(n)||n,i=Ar.createTextSpanFromNode(o,s)),nu(nu({fileName:s.fileName,textSpan:i,kind:t,name:r,containerKind:void 0,containerName:a},Ar.FindAllReferences.toContextSpan(i,s,Ar.FindAllReferences.getContextNode(n))),{isLocal:!function e(n,t){if(n.isDeclarationVisible(t))return!0;if(!t.parent)return!1;if(Ar.hasInitializer(t.parent)&&t.parent.initializer===t)return e(n,t.parent);switch(t.kind){case 165:case 170:case 171:case 167:if(Ar.hasEffectiveModifier(t,8))return!1;case 169:case 291:case 292:case 203:case 224:case 212:case 211:return e(n,t.parent);default:return!1}}(e,n)})}function eU(e,n){return ZB(n,e,n.symbol,n)}function nU(e,n){return Ar.find(e,(function(e){return Ar.textRangeContainsPositionInclusive(e,n)}))}function tU(e,n){return Cr.arraysEqual(e,n,(function(e,n){return e.kind===n.kind&&e.text===n.text}))}function rU(e,n){return"string"==typeof e?[Cr.textPart(e)]:Cr.flatMap(e,(function(e){return 316===e.kind?[Cr.textPart(e.text)]:Cr.buildLinkParts(e,n)}))}function aU(e){return{name:e,kind:"",kindModifiers:"",displayParts:[Cr.textPart(e)],documentation:Cr.emptyArray,tags:void 0,codeActions:void 0}}function iU(e,n){return!(null==n||!n.generateReturnInDocTemplate)&&(Cr.isArrowFunction(e)&&Cr.isExpression(e.body)||Cr.isFunctionLikeDeclaration(e)&&e.body&&Cr.isBlock(e.body)&&!!Cr.forEachReturnStatement(e.body,(function(e){return e})))}function oU(e){for(;210===e.kind;)e=e.expression;switch(e.kind){case 211:case 212:return e;case 224:return Cr.find(e.members,Cr.isConstructorDeclaration)}}function sU(e,n){return cU(e,n)||Rr.isPropertyAccessExpression(e)&&(n.push(e.name.text),!0)&&sU(e.expression,n)}function cU(e,n){return Rr.isPropertyNameLiteral(e)&&(n.push(Rr.getTextOfIdentifierOrLiteral(e)),!0)}function lU(e,n){return Rr.compareValues(e.matchKind,n.matchKind)||Rr.compareStringsCaseSensitiveUI(e.name,n.name)}function dU(e){var n=e.declaration,t=Rr.getContainerNode(n),r=t&&Rr.getNameOfDeclaration(t);return{name:e.name,kind:Rr.getNodeKind(n),kindModifiers:Rr.getNodeModifiers(n),matchKind:Rr.PatternMatchKind[e.matchKind],isCaseSensitive:e.isCaseSensitive,fileName:e.fileName,textSpan:Rr.createTextSpanFromNode(n),containerName:r?r.text:"",containerKind:r?Rr.getNodeKind(t):""}}function uU(){Ur=[],Mr=Pr=wr=void 0,jr=[]}function pU(e){return KU(e.getText(wr))}function mU(e){return e.node.kind}function _U(e,n){e.children?e.children.push(n):e.children=[n]}function fU(e){Or.Debug.assert(!Ur.length);var n={node:e,name:void 0,additionalNodes:void 0,parent:void 0,children:void 0,indent:0};Mr=n;for(var t=0,r=e.statements;t<r.length;t++)DU(r[t]);return TU(),Or.Debug.assert(!Mr&&!Ur.length),n}function gU(e,n){_U(Mr,yU(e,n))}function yU(e,n){return{node:e,name:n||(Or.isDeclaration(e)||Or.isExpression(e)?Or.getNameOfDeclaration(e):void 0),additionalNodes:void 0,parent:Mr,children:void 0,indent:Mr.indent+1}}function hU(e){(Fr=Fr||new Or.Map).set(e,!0)}function vU(e){for(var n=0;n<e;n++)TU()}function bU(e,n){for(var t=[];!Or.isPropertyNameLiteral(n);){var r=Or.getNameOrArgument(n),a=Or.getElementOrPropertyAccessName(n);n=n.expression,"prototype"===a||Or.isPrivateIdentifier(r)||t.push(r)}t.push(n);for(var i=t.length-1;0<i;i--)EU(e,r=t[i]);return[t.length-1,t[0]]}function EU(e,n){e=yU(e,n),_U(Mr,e),Ur.push(Mr),Vr.push(Fr),Fr=void 0,Mr=e}function TU(){Mr.children&&(AU(Mr.children,Mr),kU(Mr.children)),Mr=Ur.pop(),Fr=Vr.pop()}function SU(e,n,t){EU(e,t),DU(n),TU()}function xU(e){e.initializer&&(e=>{switch(e.kind){case 212:case 211:case 224:return 1;default:return}})(e.initializer)?(EU(e),Or.forEachChild(e.initializer,DU),TU()):SU(e,e.initializer)}function LU(e){return!Or.hasDynamicName(e)||219!==e.kind&&Or.isPropertyAccessExpression(e.name.expression)&&Or.isIdentifier(e.name.expression.expression)&&"Symbol"===Or.idText(e.name.expression.expression)}function DU(e){var n;if(Pr.throwIfCancellationRequested(),e&&!Or.isToken(e))switch(e.kind){case 169:var t=e;SU(t,t.body);for(var r=0,a=t.parameters;r<a.length;r++){var i=a[r];Or.isParameterPropertyDeclaration(i,t)&&gU(i)}break;case 167:case 170:case 171:case 166:LU(e)&&SU(e,e.body);break;case 165:LU(e)&&xU(e);break;case 164:LU(e)&&gU(e);break;case 265:var o=e;o=(o.name&&gU(o.name),o.namedBindings);if(o)if(266===o.kind)gU(o);else for(var s=0,c=o.elements;s<c.length;s++)gU(c[s]);break;case 292:SU(e,e.name);break;case 293:o=e.expression,Or.isIdentifier(o)?gU(e,o):gU(e);break;case 201:case 291:case 252:var l=e;Or.isBindingPattern(l.name)?DU(l.name):xU(l);break;case 254:o=e.name,o&&Or.isIdentifier(o)&&hU(o.text),SU(e,e.body);break;case 212:case 211:SU(e,e.body);break;case 258:EU(e);for(var d=0,u=e.members;d<u.length;d++){var p=u[d];(n=p).name&&160!==n.name.kind&&gU(p)}TU();break;case 255:case 224:case 256:EU(e);for(var m=0,_=e.members;m<_.length;m++)DU(p=_[m]);TU();break;case 259:SU(e,function e(n){return n.body&&Or.isModuleDeclaration(n.body)?e(n.body):n}(e).body);break;case 269:o=e.expression,(l=Or.isObjectLiteralExpression(o)||Or.isCallExpression(o)?o:Or.isArrowFunction(o)||Or.isFunctionExpression(o)?o.body:void 0)?(EU(e),DU(l),TU()):gU(e);break;case 273:case 263:case 174:case 172:case 173:case 257:gU(e);break;case 206:case 219:var f=Or.getAssignmentDeclarationKind(e);switch(f){case 1:case 2:return void SU(e,e.right);case 6:case 3:var g=(b=e).left,y=3===f?g.expression:g,h=0,v=void 0;return v=Or.isIdentifier(y.expression)?(hU(y.expression.text),y.expression):(h=(y=bU(b,y.expression))[0],y[1]),6===f?Or.isObjectLiteralExpression(b.right)&&0<b.right.properties.length&&(EU(b,v),Or.forEachChild(b.right,DU),TU()):Or.isFunctionExpression(b.right)||Or.isArrowFunction(b.right)?SU(e,b.right,v):(EU(b,v),SU(e,b.right,g.name),TU()),void vU(h);case 7:case 9:return v=7===f?e.arguments[0]:e.arguments[0].expression,y=e.arguments[1],v=bU(e,v),h=v[0],EU(e,v[1]),EU(e,Or.setTextRange(Or.factory.createIdentifier(y.text),y)),DU(e.arguments[2]),TU(),TU(),void vU(h);case 5:var b;v=(g=(b=e).left).expression;if(Or.isIdentifier(v)&&"prototype"!==Or.getElementOrPropertyAccessName(g)&&Fr&&Fr.has(v.text))return void(Or.isFunctionExpression(b.right)||Or.isArrowFunction(b.right)?SU(e,b.right,v):Or.isBindableStaticAccessExpression(g)&&(EU(b,v),SU(b.left,b.right,Or.getNameOrArgument(g)),TU()));break;case 4:case 0:case 8:break;default:Or.Debug.assertNever(f)}default:Or.hasJSDocNodes(e)&&Or.forEach(e.jsDoc,(function(e){Or.forEach(e.tags,(function(e){Or.isJSDocTypeAlias(e)&&gU(e)}))})),Or.forEachChild(e,DU)}}function AU(e,n){var t=new Or.Map;Or.filterMutate(e,(function(e,r){var a=e.name||Or.getNameOfDeclaration(e.node);a=a&&pU(a);if(!a)return!0;var i=t.get(a);if(!i)return t.set(a,e),!0;if(i instanceof Array){for(var o,s=0,c=i;s<c.length;s++)if(CU(o=c[s],e,r,n))return!1;return i.push(e),!0}return!CU(o=i,e,r,n)&&(t.set(a,[o,e]),!0)}))}function CU(e,n,t,r){var a,i,o,s,c,l,d;return a=e,i=n,t=t,l=r,s=Or.isBinaryExpression(i.node)||Or.isCallExpression(i.node)?Or.getAssignmentDeclarationKind(i.node):0,c=Or.isBinaryExpression(a.node)||Or.isCallExpression(a.node)?Or.getAssignmentDeclarationKind(a.node):0,!(Kr[s]&&Kr[c]||u(a.node)&&Kr[s]||u(i.node)&&Kr[c]||Or.isClassDeclaration(a.node)&&IU(a.node)&&Kr[s]||Or.isClassDeclaration(i.node)&&Kr[c]||Or.isClassDeclaration(a.node)&&IU(a.node)&&u(i.node)||Or.isClassDeclaration(i.node)&&u(a.node)&&IU(a.node)?(c=a.additionalNodes&&Or.lastOrUndefined(a.additionalNodes)||a.node,!Or.isClassDeclaration(a.node)&&!Or.isClassDeclaration(i.node)||u(a.node)||u(i.node)?(void 0!==(o=u(a.node)?a.node:u(i.node)?i.node:void 0)?((d=yU(Or.setTextRange(Or.factory.createConstructorDeclaration(void 0,void 0,[],void 0),o))).indent=a.indent+1,d.children=(a.node===o?a:i).children,a.children=a.node===o?Or.concatenate([d],i.children||[i]):Or.concatenate(a.children||[nu({},a)],[d])):(a.children||i.children)&&(a.children=Or.concatenate(a.children||[nu({},a)],i.children||[i]),a.children)&&(AU(a.children,a),kU(a.children)),c=a.node=Or.setTextRange(Or.factory.createClassDeclaration(void 0,void 0,a.name||Or.factory.createIdentifier("__class__"),void 0,void 0,[]),a.node)):(a.children=Or.concatenate(a.children,i.children),a.children&&AU(a.children,a)),o=i.node,l.children[t-1].node.end===c.end?Or.setTextRange(c,{pos:c.pos,end:o.end}):(a.additionalNodes||(a.additionalNodes=[]),a.additionalNodes.push(Or.setTextRange(Or.factory.createClassDeclaration(void 0,void 0,a.name||Or.factory.createIdentifier("__class__"),void 0,void 0,[]),i.node))),0):0===s)||(((e,n,t)=>{if(e.kind===n.kind&&(e.parent===n.parent||NU(e,t)&&NU(n,t)))switch(e.kind){case 165:case 167:case 170:case 171:return Or.isStatic(e)===Or.isStatic(n);case 259:return function e(n,t){return n.body.kind===t.body.kind&&(259!==n.body.kind||e(n.body,t.body))}(e,n)&&BU(e)===BU(n);default:return 1}})(e.node,n.node,r)?(d=n,(l=e).additionalNodes=l.additionalNodes||[],l.additionalNodes.push(d.node),d.additionalNodes&&(t=l.additionalNodes).push.apply(t,d.additionalNodes),l.children=Or.concatenate(l.children,d.children),l.children&&(AU(l.children,l),kU(l.children)),1):void 0);function u(e){return Or.isFunctionExpression(e)||Or.isFunctionDeclaration(e)||Or.isVariableDeclaration(e)}}function IU(e){return 8&e.flags}function NU(e,n){return e=(Or.isModuleBlock(e.parent)?e.parent:e).parent,e===n.node||Or.contains(n.additionalNodes,e)}function kU(e){e.sort(RU)}function RU(e,n){return Or.compareStringsCaseSensitiveUI(OU(e.node),OU(n.node))||Or.compareValues(mU(e),mU(n))}function OU(e){if(259===e.kind)return GU(e);var n=Or.getNameOfDeclaration(e);if(n&&Or.isPropertyName(n))return(n=Or.getPropertyNameForPropertyNameNode(n))&&Or.unescapeLeadingUnderscores(n);switch(e.kind){case 211:case 212:case 224:return jU(e);default:return}}function PU(e,n){if(259===e.kind)return KU(GU(e));if(n&&(n=Or.isIdentifier(n)?n.text:Or.isElementAccessExpression(n)?"["+pU(n.argumentExpression)+"]":pU(n),0<n.length))return KU(n);switch(e.kind){case 300:var t=e;return Or.isExternalModule(t)?'"'+Or.escapeString(Or.getBaseFileName(Or.removeFileExtension(Or.normalizePath(t.fileName))))+'"':"<global>";case 269:return Or.isExportAssignment(e)&&e.isExportEquals?"export=":"default";case 212:case 254:case 211:case 255:case 224:return 512&Or.getSyntacticModifierFlags(e)?"default":jU(e);case 169:return"constructor";case 173:return"new()";case 172:return"()";case 174:return"[]";default:return"<unknown>"}}function wU(e){return{text:PU(e.node,e.name),kind:Or.getNodeKind(e.node),kindModifiers:VU(e.node),spans:FU(e),nameSpan:e.name&&UU(e.name),childItems:Or.map(e.children,wU)}}function MU(e){return{text:PU(e.node,e.name),kind:Or.getNodeKind(e.node),kindModifiers:VU(e.node),spans:FU(e),childItems:Or.map(e.children,(function(e){return{text:PU(e.node,e.name),kind:Or.getNodeKind(e.node),kindModifiers:Or.getNodeModifiers(e.node),spans:FU(e),childItems:jr,indent:0,bolded:!1,grayed:!1}}))||jr,indent:e.indent,bolded:!1,grayed:!1}}function FU(e){var n=[UU(e.node)];if(e.additionalNodes)for(var t=0,r=e.additionalNodes;t<r.length;t++){var a=r[t];n.push(UU(a))}return n}function GU(e){return Or.isAmbientModule(e)?Or.getTextOfNode(e.name):BU(e)}function BU(e){for(var n=[Or.getTextOfIdentifierOrLiteral(e.name)];e.body&&259===e.body.kind;)n.push(Or.getTextOfIdentifierOrLiteral((e=e.body).name));return n.join(".")}function UU(e){return 300===e.kind?Or.createTextSpanFromRange(e):Or.createTextSpanFromNode(e,wr)}function VU(e){return e.parent&&252===e.parent.kind&&(e=e.parent),Or.getNodeModifiers(e)}function jU(e){var n=e.parent;return e.name&&0<Or.getFullWidth(e.name)?KU(Or.declarationNameToString(e.name)):Or.isVariableDeclaration(n)?KU(Or.declarationNameToString(n.name)):Or.isBinaryExpression(n)&&63===n.operatorToken.kind?pU(n.left).replace(Gr,""):Or.isPropertyAssignment(n)?pU(n.name):512&Or.getSyntacticModifierFlags(e)?"default":Or.isClassLike(e)?"<class>":Or.isCallExpression(n)&&(e=function e(n){var t;return Or.isIdentifier(n)?n.text:Or.isPropertyAccessExpression(n)?(t=e(n.expression),n=n.name.text,void 0===t?n:t+"."+n):void 0}(n.expression),void 0!==e)?(e=KU(e)).length>Br?e+" callback":e+"("+KU(Or.mapDefined(n.arguments,(function(e){return Or.isStringLiteralLike(e)?e.getText(wr):void 0})).join(", "))+") callback":"<function>"}function KU(e){return(e=e.length>Br?e.substring(0,Br)+"...":e).replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}function HU(e){return void 0!==e&&Hr.isStringLiteralLike(e)?e.text:void 0}function WU(e){if(0===e.length)return e;e=(e=>{for(var n,t={defaultImports:[],namespaceImports:[],namedImports:[]},r={defaultImports:[],namespaceImports:[],namedImports:[]},a=0,i=e;a<i.length;a++){var o,s,c,l=i[a];void 0===l.importClause?n=n||l:(o=l.importClause.isTypeOnly?t:r,s=(c=l.importClause).name,c=c.namedBindings,s&&o.defaultImports.push(l),c&&(Hr.isNamespaceImport(c)?o.namespaceImports:o.namedImports).push(l))}return{importWithoutClause:n,typeOnlyImports:t,regularImports:r}})(e);var n=e.importWithoutClause,t=e.typeOnlyImports,r=(e=e.regularImports,[]);n&&r.push(n);for(var a=0,i=[e,t];a<i.length;a++){var o=i[a],s=o===t,c=o.defaultImports,l=o.namespaceImports;o=o.namedImports;if(s||1!==c.length||1!==l.length||0!==o.length){for(var d=0,u=Hr.stableSort(l,(function(e,n){return QU(e.importClause.namedBindings.name,n.importClause.namedBindings.name)}));d<u.length;d++){var p=u[d];r.push(JU(p,void 0,p.importClause.namedBindings))}if(0!==c.length||0!==o.length){var m=void 0,_=[];if(1===c.length)m=c[0].importClause.name;else for(var f=0,g=c;f<g.length;f++)v=g[f],_.push(Hr.factory.createImportSpecifier(Hr.factory.createIdentifier("default"),v.importClause.name));_.push.apply(_,Hr.flatMap(o,(function(e){return e.importClause.namedBindings.elements})));var y=qU(_),h=(0<c.length?c:o)[0];y=0===y.length?m?void 0:Hr.factory.createNamedImports(Hr.emptyArray):0===o.length?Hr.factory.createNamedImports(y):Hr.factory.updateNamedImports(o[0].importClause.namedBindings,y);s&&m&&y?(r.push(JU(h,m,void 0)),r.push(JU(null!=(s=o[0])?s:h,void 0,y))):r.push(JU(h,m,y))}}else{var v=c[0];r.push(JU(v,v.importClause.name,l[0].importClause.namedBindings))}}return r}function zU(e){if(0===e.length)return e;e=(e=>{for(var n,t=[],r=[],a=0,i=e;a<i.length;a++){var o=i[a];void 0===o.exportClause?n=n||o:(o.isTypeOnly?r:t).push(o)}return{exportWithoutClause:n,namedExports:t,typeOnlyExports:r}})(e);var n=e.exportWithoutClause,t=e.namedExports,r=(e=e.typeOnlyExports,[]);n&&r.push(n);for(var a=0,i=[t,e];a<i.length;a++){var o,s=i[a];0!==s.length&&((o=[]).push.apply(o,Hr.flatMap(s,(function(e){return e.exportClause&&Hr.isNamedExports(e.exportClause)?e.exportClause.elements:Hr.emptyArray}))),o=qU(o),s=s[0],r.push(Hr.factory.updateExportDeclaration(s,s.decorators,s.modifiers,s.isTypeOnly,s.exportClause&&(Hr.isNamedExports(s.exportClause)?Hr.factory.updateNamedExports(s.exportClause,o):Hr.factory.updateNamespaceExport(s.exportClause,s.exportClause.name)),s.moduleSpecifier)))}return r}function JU(e,n,t){return Hr.factory.updateImportDeclaration(e,e.decorators,e.modifiers,Hr.factory.updateImportClause(e.importClause,e.importClause.isTypeOnly,n,t),e.moduleSpecifier)}function qU(e){return Hr.stableSort(e,XU)}function XU(e,n){return QU(e.propertyName||e.name,n.propertyName||n.name)||QU(e.name,n.name)}function YU(e,n){return e=void 0===e?void 0:HU(e),n=void 0===n?void 0:HU(n),Hr.compareBooleans(void 0===e,void 0===n)||Hr.compareBooleans(Hr.isExternalModuleNameRelative(e),Hr.isExternalModuleNameRelative(n))||Hr.compareStringsCaseInsensitive(e,n)}function QU(e,n){return Hr.compareStringsCaseInsensitive(e.text,n.text)}function ZU(e){var n;switch(e.kind){case 263:return null==(n=Hr.tryCast(e.moduleReference,Hr.isExternalModuleReference))?void 0:n.expression;case 264:return e.moduleSpecifier;case 235:return e.declarationList.declarations[0].initializer.arguments[0]}}function $U(e,n){return YU(ZU(e),ZU(n))||(n=n,Hr.compareValues(eV(e),eV(n)))}function eV(e){var n;switch(e.kind){case 264:return e.importClause?e.importClause.isTypeOnly?1:266===(null==(n=e.importClause.namedBindings)?void 0:n.kind)?2:e.importClause.name?3:4:0;case 263:return 5;case 235:return 6}}function nV(e){return e=Wr.trimStringStart(e),Wr.startsWith(e,"//")?(e=Wr.trimString(e.slice(2)),zr.exec(e)):null}function tV(e,n,t,r){if(e=Wr.getLeadingCommentRanges(n.text,e),e){for(var a=-1,i=-1,o=0,s=n.getFullText(),c=0,l=e;c<l.length;c++){var d=l[c],u=d.kind,p=d.pos,m=d.end;switch(t.throwIfCancellationRequested(),u){case 2:nV(s.slice(p,m))?(_(),o=0):(0===o&&(a=p),i=m,o++);break;case 3:_(),r.push(aV(p,m,"comment")),o=0;break;default:Wr.Debug.assertNever(u)}}_()}function _(){1<o&&r.push(aV(a,i,"comment"))}}function rV(e,n,t,r){Wr.isJsxText(e)||tV(e.pos,n,t,r)}function aV(e,n,t){return oV(Wr.createTextSpanFromBounds(e,n),t)}function iV(e,n,t,r,a,i){return void 0===a&&(a=!1),oV(Wr.createTextSpanFromBounds((i=void 0===i||i)?e.getFullStart():e.getStart(r),n.getEnd()),"code",Wr.createTextSpanFromNode(t,r),a)}function oV(e,n,t,r,a){return{textSpan:e,kind:n,hintSpan:t=void 0===t?e:t,bannerText:a=void 0===a?"...":a,autoCollapse:r=void 0!==r&&r}}function sV(e,n){return{kind:e,isCaseSensitive:n}}function cV(e,n){var t=n.get(e);return t||n.set(e,t=EV(e)),t}function lV(e,n,t){var r=((e,n)=>{for(var t=e.length-n.length,r=0;r<=t;r++){var a=(t=>{if(DV(n,(function(n,r){return yV(e.charCodeAt(r+t))===n})))return{value:t}})(r);if("object"==typeof a)return a.value}return-1})(e,n.textLowerCase);if(0===r)return sV(n.text.length===e.length?qr.exact:qr.prefix,Jr.startsWith(e,n.text));if(n.isLowerCase){if(-1!==r){for(var a=0,i=cV(e,t);a<i.length;a++){var o=i[a];if(mV(e,o,n.text,!0))return sV(qr.substring,mV(e,o,n.text,!1))}return n.text.length<e.length&&fV(e.charCodeAt(r))?sV(qr.substring,!1):void 0}}else{if(0<e.indexOf(n.text))return sV(qr.substring,!0);if(0<n.characterSpans.length&&(r=cV(e,t),t=!!_V(e,r,n,!1)||!_V(e,r,n,!0)&&void 0,void 0!==t))return sV(qr.camelCase,t)}}function dV(e,n,t){if(DV(n.totalTextChunk.text,(function(e){return 32!==e&&42!==e}))){var r=lV(e,n.totalTextChunk,t);if(r)return r}for(var a=0,i=n.subWordTextChunks;a<i.length;a++)var o=uV(o,lV(e,i[a],t));return o}function uV(e,n){return Jr.min(e,n,pV)}function pV(e,n){return void 0===e?1:void 0===n?-1:Jr.compareValues(e.kind,n.kind)||Jr.compareBooleans(!e.isCaseSensitive,!n.isCaseSensitive)}function mV(e,n,t,r,a){return(a=void 0===a?{start:0,length:t.length}:a).length<=n.length&&LV(0,a.length,(function(i){return o=t.charCodeAt(a.start+i),i=e.charCodeAt(n.start+i),r?yV(o)===yV(i):o===i;var o}))}function _V(e,n,t,r){for(var a,i=t.characterSpans,o=0,s=0;;){if(s===i.length)return 1;if(o===n.length)return;for(var c=n[o],l=!1;s<i.length;s++){var d=i[s];if(l&&(!fV(t.text.charCodeAt(i[s-1].start))||!fV(t.text.charCodeAt(i[s].start))))break;if(!mV(e,c,t.text,r,d))break;l=!0,a=void 0===a||a,c=Jr.createTextSpan(c.start+d.length,c.length-d.length)}l||void 0===a||(a=!1),o++}}function fV(e){return 65<=e&&e<=90||!(e<127||!Jr.isUnicodeIdentifierStart(e,99))&&(e=String.fromCharCode(e))===e.toUpperCase()}function gV(e){return 97<=e&&e<=122||!(e<127||!Jr.isUnicodeIdentifierStart(e,99))&&(e=String.fromCharCode(e))===e.toLowerCase()}function yV(e){return 65<=e&&e<=90?e-65+97:e<127?e:String.fromCharCode(e).toLowerCase().charCodeAt(0)}function hV(e){return 48<=e&&e<=57}function vV(e){var n=e.toLowerCase();return{text:e,textLowerCase:n,isLowerCase:e===n,characterSpans:bV(e)}}function bV(e){return TV(e,!1)}function EV(e){return TV(e,!0)}function TV(e,n){for(var t,r,a=[],i=0,o=1;o<e.length;o++){var s=hV(e.charCodeAt(o-1)),c=hV(e.charCodeAt(o)),l=(t=n,d=o,r=void 0,r=fV((l=e).charCodeAt(d-1)),fV(l.charCodeAt(d))&&(!t||!r)),d=n&&(d=e,(t=o)!==(r=i))&&t+1<d.length&&fV(d.charCodeAt(t))&&gV(d.charCodeAt(t+1))&&DV(d,fV,r,t);(SV(e.charCodeAt(o-1))||SV(e.charCodeAt(o))||s!==c||l||d)&&(xV(e,i,o)||a.push(Jr.createTextSpan(i,o-i)),i=o)}return xV(e,i,e.length)||a.push(Jr.createTextSpan(i,e.length-i)),a}function SV(e){switch(e){case 33:case 34:case 35:case 37:case 38:case 39:case 40:case 41:case 42:case 44:case 45:case 46:case 47:case 58:case 59:case 63:case 64:case 91:case 92:case 93:case 95:case 123:case 125:return!0}return!1}function xV(e,n,t){return DV(e,(function(e){return SV(e)&&95!==e}),n,t)}function LV(e,n,t){for(var r=e;r<n;r++)if(!t(r))return!1;return!0}function DV(e,n,t,r){return LV(t=void 0===t?0:t,r=void 0===r?e.length:r,(function(t){return n(e.charCodeAt(t),t)}))}function AV(e,n,t,r,a,i){return{canRename:!0,fileToRename:void 0,kind:t,displayName:e,fullDisplayName:n,kindModifiers:r,triggerSpan:((e,n)=>{var t=e.getStart(n);n=e.getWidth(n);return Yr.isStringLiteralLike(e)&&(t+=1,n-=2),Yr.createTextSpan(t,n)})(a,i)}}function CV(e){return{canRename:!1,localizedErrorMessage:Yr.getLocaleSpecificMessage(e)}}function IV(e,n){for(var t,r=[],a=0,i=e;a<i.length;a++){var o=i[a];(n(o)?t=t||[]:(t&&(r.push(kV(t)),t=void 0),r)).push(o)}return t&&r.push(kV(t)),r}function NV(e,n,t){var r,a,i;return void 0===t&&(t=!0),e.length<2||-1===(n=Qr.findIndex(e,n))?e:(r=e.slice(0,n),a=e[n],i=Qr.last(e),t=t&&26===i.kind,n=e.slice(n+1,t?e.length-1:void 0),e=Qr.compact([r.length?kV(r):void 0,a,n.length?kV(n):void 0]),t?e.concat(i):e)}function kV(e){return Qr.Debug.assertGreaterThanOrEqual(e.length,1),Qr.setTextRangePosEnd(Qr.parseNodeFactory.createSyntaxList(e),e[0].pos,Qr.last(e).end)}function RV(e,n,t){for(var r=e.getFullStart(),a=e.parent;a;){var i=$r.findPrecedingToken(r,n,a,!0);if(i)return $r.rangeContainsRange(t,i);a=a.parent}return $r.Debug.fail("Could not find preceding token")}function OV(e,n){i=n;var t,r,a,i=29===(e=e).kind||20===e.kind?{list:((e,n,t)=>(e=e.getChildren(t),t=e.indexOf(n),$r.Debug.assert(0<=t&&e.length>t+1),e[t+1]))(e.parent,e,i),argumentIndex:0}:(i=$r.findContainingList(e))&&{list:i,argumentIndex:((e,n)=>{for(var t=0,r=0,a=e.getChildren();r<a.length;r++){var i=a[r];if(i===n)break;27!==i.kind&&t++}return t})(i,e)};if(i)return e=i.list,i=i.argumentIndex,t=(e=>{e=e.getChildren();var n=$r.countWhere(e,(function(e){return 27!==e.kind}));return 0<e.length&&27===$r.last(e).kind&&n++,n})(e),0!==i&&$r.Debug.assertLessThan(i,t),n=n,a=(r=e).getFullStart(),n=$r.skipTrivia(n.text,r.getEnd(),!1),r=$r.createTextSpan(a,n-a),{list:e,argumentIndex:i,argumentCount:t,argumentsSpan:r}}function PV(e,n,t){var r,a=e.parent;if(!$r.isCallOrNewExpression(a))return $r.isNoSubstitutionTemplateLiteral(e)&&$r.isTaggedTemplateExpression(a)?$r.isInsideTemplateLiteral(e,n,t)?MV(a,0,t):void 0:$r.isTemplateHead(e)&&208===a.parent.kind?(r=a.parent,$r.Debug.assert(221===a.kind),MV(r,$r.isInsideTemplateLiteral(e,n,t)?0:1,t)):$r.isTemplateSpan(a)&&$r.isTaggedTemplateExpression(a.parent.parent)?(r=(i=a).parent.parent,!$r.isTemplateTail(e)||$r.isInsideTemplateLiteral(e,n,t)?MV(r,((e,n,t,r)=>($r.Debug.assert(t>=n.getStart(),"Assumed 'position' could not occur before node."),$r.isTemplateLiteralToken(n)?$r.isInsideTemplateLiteral(n,t,r)?0:e+2:e+1))(i.parent.templateSpans.indexOf(i),e,n,t),t):void 0):$r.isJsxOpeningLikeElement(a)?(r=a.attributes.pos,i=$r.skipTrivia(t.text,a.attributes.end,!1),{isTypeParameterList:!1,invocation:{kind:0,node:a},argumentsSpan:$r.createTextSpan(r,i-r),argumentIndex:0,argumentCount:1}):(n=$r.getPossibleTypeArgumentsInfo(e,t))?(i=n.called,r=n.nTypeArguments,{isTypeParameterList:!0,invocation:o={kind:1,called:i},argumentsSpan:$r.createTextSpanFromBounds(i.getStart(t),e.end),argumentIndex:r,argumentCount:r+1}):void 0;var i,o=a;n=OV(e,t);return n?(i=n.list,{isTypeParameterList:!!a.typeArguments&&a.typeArguments.pos===i.pos,invocation:{kind:0,node:o},argumentsSpan:n.argumentsSpan,argumentIndex:n.argumentIndex,argumentCount:n.argumentCount}):void 0}function wV(e){return $r.isBinaryExpression(e.left)?wV(e.left)+1:2}function MV(e,n,t){var r=$r.isNoSubstitutionTemplateLiteral(e.template)?1:e.template.templateSpans.length+1;return 0!==n&&$r.Debug.assertLessThan(n,r),{isTypeParameterList:!1,invocation:{kind:0,node:e},argumentsSpan:((e,n)=>{var t=(e=e.template).getStart(),r=e.getEnd();return 221===e.kind&&0===$r.last(e.templateSpans).literal.getFullWidth()&&(r=$r.skipTrivia(n.text,r,!1)),$r.createTextSpan(t,r-t)})(e,t),argumentIndex:n,argumentCount:r}}function FV(e){return 0===e.kind?$r.getInvokedExpression(e.node):e.called}function GV(e){return 0!==e.kind&&1===e.kind?e.called:e.node}function BV(e,n,t,r,a,i){for(var o=t.isTypeParameterList,s=t.argumentCount,c=t.argumentsSpan,l=t.invocation,d=(t=t.argumentIndex,GV(l)),u=(l=2===l.kind?l.symbol:a.getSymbolAtLocation(FV(l))||i&&(null==(l=n.declaration)?void 0:l.symbol),l?$r.symbolToDisplayParts(a,l,i?r:void 0,void 0):$r.emptyArray),p=$r.map(e,(function(e){var n=e,t=u,i=(e=o,a),s=d;return e=(o?function(e,n,t,r){var a=(e.target||e).typeParameters,i=$r.createPrinter({removeComments:!0}),o=(a||$r.emptyArray).map((function(e){return UV(e,n,t,r,i)})),s=e.thisParameter?[n.symbolToParameterDeclaration(e.thisParameter,t,ea)]:[];return n.getExpandedParameters(e).map((function(e){var a=$r.factory.createNodeArray(eu(eu([],s,!0),$r.map(e,(function(e){return n.symbolToParameterDeclaration(e,t,ea)})),!0));e=$r.mapToDisplayParts((function(e){i.writeList(2576,a,r,e)}));return{isVariadic:!1,parameters:o,prefix:[$r.punctuationPart(29)],suffix:eu([$r.punctuationPart(31)],e,!0)}}))}:function(e,n,t,r){var a=$r.createPrinter({removeComments:!0}),i=$r.mapToDisplayParts((function(i){var o;e.typeParameters&&e.typeParameters.length&&(o=$r.factory.createNodeArray(e.typeParameters.map((function(e){return n.typeParameterToDeclaration(e,t,ea)}))),a.writeList(53776,o,r,i))})),o=n.getExpandedParameters(e),s=n.hasEffectiveRestParameter(e)?1===o.length?function(e){return!0}:function(e){return!!(e.length&&32768&e[e.length-1].checkFlags)}:function(e){return!1};return o.map((function(e){return{isVariadic:s(e),parameters:e.map((function(e){return i=e,o=n,s=t,c=r,l=a,e=$r.mapToDisplayParts((function(e){var n=o.symbolToParameterDeclaration(i,s,ea);l.writeNode(4,n,c,e)})),d=o.isOptionalParameter(i.valueDeclaration),u=!!(32768&i.checkFlags),{name:i.name,documentation:i.getDocumentationComment(o),displayParts:e,isOptional:d,isRest:u};var i,o,s,c,l,d,u})),prefix:eu(eu([],i,!0),[$r.punctuationPart(20)],!1),suffix:[$r.punctuationPart(21)]}}))})(n,i,s,r),$r.map(e,(function(e){var r,a,o,c=e.isVariadic,l=e.parameters,d=e.prefix,u=(e=e.suffix,d=eu(eu([],t,!0),d,!0),e=eu(eu([],e,!0),(r=n,a=s,o=i,$r.mapToDisplayParts((function(e){e.writePunctuation(":"),e.writeSpace(" ");var n=o.getTypePredicateOfSignature(r);n?o.writeTypePredicate(n,a,void 0,e):o.writeType(o.getReturnTypeOfSignature(r),a,void 0,e)}))),!0),n.getDocumentationComment(i)),p=n.getJsDocTags();return{isVariadic:c,prefixDisplayParts:d,suffixDisplayParts:e,separatorDisplayParts:na,parameters:l,documentation:u,tags:p}}))})),m=(0!==t&&$r.Debug.assertLessThan(t,s),0),_=0,f=0;f<p.length;f++){var g=p[f];if(e[f]===n&&(m=_,1<g.length))for(var y=0,h=0,v=g;h<v.length;h++){var b=v[h];if(b.isVariadic||b.parameters.length>=s){m=_+y;break}y++}_+=g.length}return $r.Debug.assert(-1!==m),l={items:$r.flatMapToMutable(p,$r.identity),applicableSpan:c,selectedItemIndex:m,argumentIndex:t,argumentCount:s},i=l.items[m],i.isVariadic&&(-1<(c=$r.findIndex(i.parameters,(function(e){return!!e.isRest})))&&c<i.parameters.length-1?l.argumentIndex=i.parameters.length:l.argumentIndex=Math.min(l.argumentIndex,i.parameters.length-1)),l}function UV(e,n,t,r,a){var i=$r.mapToDisplayParts((function(i){var o=n.typeParameterToDeclaration(e,t,ea);a.writeNode(4,o,r,i)}));return{name:e.symbol.name,documentation:e.symbol.getDocumentationComment(n),displayParts:i,isOptional:!1,isRest:!1}}function VV(e){return"literals"===e.includeInlayParameterNameHints||"all"===e.includeInlayParameterNameHints}function jV(e,n,t){if(n=ra.tryParseRawSourceMap(n),n&&n.sources&&n.file&&n.mappings&&(!n.sourcesContent||!n.sourcesContent.some(ra.isString)))return ra.createDocumentPositionMapper(e,n,t)}function KV(e,n,t){var r;r=e,n=n,!ia.isAsyncFunction(r)&&r.body&&ia.isBlock(r.body)&&((e,n)=>ia.forEachReturnStatement(e,(function(e){return WV(e,n)})))(r.body,n)&&HV(r,n)&&!oa.has(XV(e))&&t.push(ia.createDiagnosticForNode(!e.name&&ia.isVariableDeclaration(e.parent)&&ia.isIdentifier(e.parent.name)?e.parent.name:e,ia.Diagnostics.This_may_be_converted_to_an_async_function))}function HV(e,n){return e=n.getSignatureFromDeclaration(e),e=e?n.getReturnTypeOfSignature(e):void 0,!!e&&!!n.getPromisedTypeOfPromise(e)}function WV(e,n){return ia.isReturnStatement(e)&&!!e.expression&&zV(e.expression,n)}function zV(e,n){if(!JV(e)||!e.arguments.every((function(e){return qV(e,n)})))return!1;for(var t=e.expression;JV(t)||ia.isPropertyAccessExpression(t);){if(ia.isCallExpression(t)&&!t.arguments.every((function(e){return qV(e,n)})))return!1;t=t.expression}return!0}function JV(e){return ia.isCallExpression(e)&&(ia.hasPropertyAccessExpressionWithName(e,"then")&&!(2<(n=e).arguments.length)&&(n.arguments.length<2||ia.some(n.arguments,(function(e){return 104===e.kind||ia.isIdentifier(e)&&"undefined"===e.text})))||ia.hasPropertyAccessExpressionWithName(e,"catch"));var n}function qV(e,n){switch(e.kind){case 254:case 211:if(1&ia.getFunctionFlags(e))return!1;case 212:oa.set(XV(e),!0);case 104:return!0;case 79:case 204:var t=n.getSymbolAtLocation(e);return!!t&&(n.isUndefinedSymbol(t)||ia.some(ia.skipAlias(t,n).declarations,(function(e){return ia.isFunctionLike(e)||ia.hasInitializer(e)&&!!e.initializer&&ia.isFunctionLike(e.initializer)})));default:return!1}}function XV(e){return e.pos.toString()+":"+e.end.toString()}function YV(e,n){var t;return 211===e.kind?!(!ia.isVariableDeclaration(e.parent)||null==(t=e.symbol.members)||!t.size)||!(!(t=n.getSymbolOfExpando(e,!1))||!(null!=(n=t.exports)&&n.size||null!=(n=t.members)&&n.size)):254===e.kind&&!(null==(t=e.symbol.members)||!t.size)}function QV(e){switch(e.kind){case 254:case 167:case 211:case 212:return!0;default:return!1}}function ZV(e,n,t){return e=$V(e,n,t),""!==e?e:32&(t=sa.getCombinedLocalAndExportSymbolFlags(n))?sa.getDeclarationOfKind(n,224)?"local class":"class":384&t?"enum":524288&t?"type":64&t?"interface":262144&t?"type parameter":8&t?"enum member":2097152&t?"alias":1536&t?"module":e}function $V(e,n,t){var r=e.getRootSymbols(n);if(1===r.length&&8192&sa.first(r).flags&&0!==e.getTypeOfSymbolAtLocation(n,t).getNonNullableType().getCallSignatures().length)return"method";if(e.isUndefinedSymbol(n))return"var";if(e.isArgumentsSymbol(n))return"local var";if(108===t.kind&&sa.isExpression(t))return"parameter";if(r=sa.getCombinedLocalAndExportSymbolFlags(n),3&r)return sa.isFirstDeclarationOfSymbolParameter(n)?"parameter":n.valueDeclaration&&sa.isVarConst(n.valueDeclaration)?"const":sa.forEach(n.declarations,sa.isLet)?"let":nj(n)?"local var":"var";if(16&r)return nj(n)?"local function":"function";if(32768&r)return"getter";if(65536&r)return"setter";if(8192&r)return"method";if(16384&r)return"constructor";if(4&r){if(33554432&r&&6&n.checkFlags)return sa.forEach(e.getRootSymbols(n),(function(e){if(98311&e.getFlags())return"property"}))||(e.getTypeOfSymbolAtLocation(n,t).getCallSignatures().length?"method":"property");switch(t.parent&&t.parent.kind){case 278:case 276:case 277:return 79===t.kind?"property":"JSX attribute";case 283:return"JSX attribute";default:return"property"}}return""}function ej(e){if(e.declarations&&e.declarations.length){e=e.declarations;var n=e[0];e=e.slice(1),e=sa.length(e)&&sa.isDeprecatedDeclaration(n)&&sa.some(e,(function(e){return!sa.isDeprecatedDeclaration(e)}))?8192:0,n=sa.getNodeModifiers(n,e);if(n)return n.split(",")}return[]}function nj(e){return!e.parent&&sa.forEach(e.declarations,(function(e){if(211!==e.kind){if(252!==e.kind&&254!==e.kind)return!1;for(var n=e.parent;!sa.isFunctionBlock(n);n=n.parent)if(300===n.kind||260===n.kind)return!1}return!0}))}function tj(e,n){var t,r=[],a=n.compilerOptions?rj(n.compilerOptions,r):{},i=ca.getDefaultCompilerOptions();for(t in i)ca.hasProperty(i,t)&&void 0===a[t]&&(a[t]=i[t]);for(var o=0,s=ca.transpileOptionValueCompilerOptions;o<s.length;o++){var c=s[o];a[c.name]=c.transpileOptionValue}a.suppressOutputPathCheck=!0,a.allowNonTsExtensions=!0;var l,d,u=n.fileName||(n.compilerOptions&&n.compilerOptions.jsx?"module.tsx":"module.ts"),p=ca.createSourceFile(u,e,a.target),m=(n.moduleName&&(p.moduleName=n.moduleName),n.renamedDependencies&&(p.renamedDependencies=new ca.Map(ca.getEntries(n.renamedDependencies))),ca.getNewLineCharacter(a));e=ca.createProgram([u],a,{getSourceFile:function(e){return e===ca.normalizePath(u)?p:void 0},writeFile:function(e,n){ca.fileExtensionIs(e,".map")?(ca.Debug.assertEqual(d,void 0,"Unexpected multiple source map outputs, file:",e),d=n):(ca.Debug.assertEqual(l,void 0,"Unexpected multiple outputs, file:",e),l=n)},getDefaultLibFileName:function(){return"lib.d.ts"},useCaseSensitiveFileNames:function(){return!1},getCanonicalFileName:function(e){return e},getCurrentDirectory:function(){return""},getNewLine:function(){return m},fileExists:function(e){return e===u},readFile:function(){return""},directoryExists:function(){return!0},getDirectories:function(){return[]}});return n.reportDiagnostics&&(ca.addRange(r,e.getSyntacticDiagnostics(p)),ca.addRange(r,e.getOptionsDiagnostics())),e.emit(void 0,void 0,void 0,void 0,n.transformers),void 0===l?ca.Debug.fail("Output generation failed"):{outputText:l,diagnostics:r,sourceMapText:d}}function rj(e,n){la=la||ca.filter(ca.optionDeclarations,(function(e){return"object"==typeof e.type&&!ca.forEachEntry(e.type,(function(e){return"number"!=typeof e}))})),e=ca.cloneCompilerOptions(e);for(var t=0,r=la;t<r.length;t++)(t=>{if(ca.hasProperty(e,t.name)){var r=e[t.name];ca.isString(r)?e[t.name]=ca.parseCustomTypeOption(t,r,n):ca.forEachEntry(t.type,(function(e){return e===r}))||n.push(ca.createCompilerDiagnosticForInvalidCustomType(t))}})(r[t]);return e}function aj(e,n,t){this.sourceFile=e,this.formattingRequestKind=n,this.options=t}function ij(e,n,t,r,a,i){return void 0===i&&(i=0),{leftTokenRange:sj(n),rightTokenRange:sj(t),rule:{debugName:e,context:r,action:a,flags:i}}}function oj(e){return{tokens:e,isSpecific:!0}}function sj(e){return"number"==typeof e?oj([e]):fa.isArray(e)?oj(e):e}function cj(e,n,t){void 0===t&&(t=[]);for(var r=[],a=e;a<=n;a++)fa.contains(t,a)||r.push(a);return oj(r)}function lj(e,n){return function(t){return t.options&&t.options[e]===n}}function dj(e){return function(n){return n.options&&n.options.hasOwnProperty(e)&&!!n.options[e]}}function uj(e){return function(n){return n.options&&n.options.hasOwnProperty(e)&&!n.options[e]}}function pj(e){return function(n){return!n.options||!n.options.hasOwnProperty(e)||!n.options[e]}}function mj(e){return function(n){return!n.options||!n.options.hasOwnProperty(e)||!n.options[e]||n.TokensAreOnSameLine()}}function _j(e){return function(n){return!n.options||!n.options.hasOwnProperty(e)||!!n.options[e]}}function fj(e){return 240===e.contextNode.kind}function gj(e){return!fj(e)}function yj(e){switch(e.contextNode.kind){case 219:return 27!==e.contextNode.operatorToken.kind;case 220:case 187:case 227:case 273:case 268:case 175:case 185:case 186:return!0;case 201:case 257:case 263:case 269:case 252:case 162:case 294:case 165:case 164:return 63===e.currentTokenSpan.kind||63===e.nextTokenSpan.kind;case 241:case 161:return 101===e.currentTokenSpan.kind||101===e.nextTokenSpan.kind||63===e.currentTokenSpan.kind||63===e.nextTokenSpan.kind;case 242:return 158===e.currentTokenSpan.kind||158===e.nextTokenSpan.kind}return!1}function hj(e){return!yj(e)}function vj(e){return!bj(e)}function bj(e){return e=e.contextNode.kind,165===e||164===e||162===e||252===e||fa.isFunctionLikeKind(e)}function Ej(e){return 220===e.contextNode.kind||187===e.contextNode.kind}function Tj(e){return e.TokensAreOnSameLine()||Aj(e)}function Sj(e){return 199===e.contextNode.kind||193===e.contextNode.kind||Dj(e=e)&&(e.ContextNodeAllOnSameLine()||e.ContextNodeBlockIsOnOneLine())}function xj(e){return Aj(e)&&!(e.NextNodeAllOnSameLine()||e.NextNodeBlockIsOnOneLine())}function Lj(e){return Dj(e)&&!(e.ContextNodeAllOnSameLine()||e.ContextNodeBlockIsOnOneLine())}function Dj(e){return Cj(e.contextNode)}function Aj(e){return Cj(e.nextTokenParent)}function Cj(e){if(Oj(e))return!0;switch(e.kind){case 233:case 261:case 203:case 260:return!0}return!1}function Ij(e){switch(e.contextNode.kind){case 254:case 167:case 166:case 170:case 171:case 172:case 211:case 169:case 212:case 256:return!0}return!1}function Nj(e){return!Ij(e)}function kj(e){return 254===e.contextNode.kind||211===e.contextNode.kind}function Rj(e){return Oj(e.contextNode)}function Oj(e){switch(e.kind){case 255:case 224:case 256:case 258:case 180:case 259:case 270:case 271:case 264:case 267:return!0}return!1}function Pj(e){switch(e.currentTokenParent.kind){case 255:case 259:case 258:case 290:case 260:case 247:return!0;case 233:var n=e.currentTokenParent.parent;if(!n||212!==n.kind&&211!==n.kind)return!0}return!1}function wj(e){switch(e.contextNode.kind){case 237:case 247:case 240:case 241:case 242:case 239:case 250:case 238:case 246:case 290:return!0;default:return!1}}function Mj(e){return 203===e.contextNode.kind}function Fj(e){return 206===e.contextNode.kind||207===e.contextNode.kind}function Gj(e){return 27!==e.currentTokenSpan.kind}function Bj(e){return 23!==e.nextTokenSpan.kind}function Uj(e){return 21!==e.nextTokenSpan.kind}function Vj(e){return 212===e.contextNode.kind}function jj(e){return 198===e.contextNode.kind}function Kj(e){return e.TokensAreOnSameLine()&&11!==e.contextNode.kind}function Hj(e){return 11!==e.contextNode.kind}function Wj(e){return 276!==e.contextNode.kind&&280!==e.contextNode.kind}function zj(e){return 286===e.contextNode.kind||285===e.contextNode.kind}function Jj(e){return 283===e.nextTokenParent.kind}function qj(e){return 283===e.contextNode.kind}function Xj(e){return 277===e.contextNode.kind}function Yj(e){return!Ij(e)&&!Aj(e)}function Qj(e){return e.TokensAreOnSameLine()&&!!e.contextNode.decorators&&Zj(e.currentTokenParent)&&!Zj(e.nextTokenParent)}function Zj(e){for(;fa.isExpressionNode(e);)e=e.parent;return 163===e.kind}function $j(e){return 253===e.currentTokenParent.kind&&e.currentTokenParent.getStart(e.sourceFile)===e.currentTokenSpan.pos}function eK(e){return 2!==e.formattingRequestKind}function nK(e){return 259===e.contextNode.kind}function tK(e){return 180===e.contextNode.kind}function rK(e){return 173===e.contextNode.kind}function aK(e,n){if(29!==e.kind&&31!==e.kind)return!1;switch(n.kind){case 176:case 209:case 257:case 255:case 224:case 256:case 254:case 211:case 212:case 167:case 166:case 172:case 173:case 206:case 207:case 226:return!0;default:return!1}}function iK(e){return aK(e.currentTokenSpan,e.currentTokenParent)||aK(e.nextTokenSpan,e.nextTokenParent)}function oK(e){return 209===e.contextNode.kind}function sK(e){return 114===e.currentTokenSpan.kind&&215===e.currentTokenParent.kind}function cK(e){return 222===e.contextNode.kind&&void 0!==e.contextNode.expression}function lK(e){return 228===e.contextNode.kind}function dK(e){switch(e.contextNode.kind){case 237:case 240:case 241:case 242:case 238:case 239:return!1;default:return!0}return!0}function uK(e){var n=e.nextTokenSpan.kind,t=e.nextTokenSpan.pos;if(fa.isTrivia(n)){var r=e.nextTokenParent===e.currentTokenParent?fa.findNextToken(e.currentTokenParent,fa.findAncestor(e.currentTokenParent,(function(e){return!e.parent})),e.sourceFile):e.nextTokenParent.getFirstToken(e.sourceFile);if(!r)return!0;n=r.kind,t=r.getStart(e.sourceFile)}return e.sourceFile.getLineAndCharacterOfPosition(e.currentTokenSpan.pos).line===e.sourceFile.getLineAndCharacterOfPosition(t).line?19===n||1===n:232!==n&&26!==n&&(256===e.contextNode.kind||257===e.contextNode.kind?!fa.isPropertySignature(e.currentTokenParent)||!!e.currentTokenParent.type||20!==n:fa.isPropertyDeclaration(e.currentTokenParent)?!e.currentTokenParent.initializer:240!==e.currentTokenParent.kind&&234!==e.currentTokenParent.kind&&232!==e.currentTokenParent.kind&&22!==n&&20!==n&&39!==n&&40!==n&&43!==n&&13!==n&&27!==n&&221!==n&&15!==n&&14!==n&&24!==n)}function pK(e){return fa.positionIsASICandidate(e.currentTokenSpan.end,e.currentTokenParent,e.sourceFile)}function mK(e,n){return ya.Debug.assert(e<=158&&n<=158,"Must compute formatting context from tokens"),e*Sa+n}function _K(e,n,t){return t=xa.findPrecedingToken(e,t),t&&t.kind===n&&e===t.getEnd()?t:void 0}function fK(e){for(var n=e;n&&n.parent&&n.parent.end===e.end&&!((e,n)=>{switch(e.kind){case 255:case 256:return xa.rangeContainsRange(e.members,n);case 259:var t=e.body;return t&&260===t.kind&&xa.rangeContainsRange(t.statements,n);case 300:case 233:case 260:return xa.rangeContainsRange(e.statements,n);case 290:return xa.rangeContainsRange(e.block.statements,n)}})(n.parent,n);)n=n.parent;return n}function gK(e,n){return function t(r){var a=xa.forEachChild(r,(function(t){return xa.startEndContainsRange(t.getStart(n),t.end,e)&&t}));return a&&(a=t(a),a)?a:r}(n)}function yK(e,n,t,r){return e?hK({pos:xa.getLineStartPositionForPosition(e.getStart(n),n),end:e.end},n,t,r):[]}function hK(e,n,t,r){var a,i,o,s,c=gK(e,n);return La.getFormattingScanner(n.text,n.languageVariant,(i=e,o=n,(s=(a=c).getStart(o))===i.pos&&a.end===i.end?s:!(s=xa.findPrecedingToken(i.pos,o))||s.end>=i.pos?a.pos:s.end),e.end,(function(a){return vK(e,c,La.SmartIndenter.getIndentationForNode(c,e,n,t.options),((e,n,t)=>{for(var r,a=-1;e;){var i=t.getLineAndCharacterOfPosition(e.getStart(t)).line;if(-1!==a&&i!==a)break;if(La.SmartIndenter.shouldIndentChildNode(n,e,r,t))return n.indentSize;a=i,e=(r=e).parent}return 0})(c,t.options,n),a,t,r,(a=n.parseDiagnostics,o=e,a.length&&(s=a.filter((function(e){return xa.rangeOverlapsWithStartEnd(o,e.start,e.start+e.length)})).sort((function(e,n){return e.start-n.start}))).length?(l=0,function(e){for(;;){if(l>=s.length)return!1;var n=s[l];if(e.end<=n.start)return!1;if(xa.startEndOverlapsWithStartEnd(e.pos,e.end,n.start,n.start+n.length))return!0;l++}}):i),n);function i(){return!1}var o,s,l}))}function vK(e,n,t,r,a,i,o,s,c){var l,d,u,p,m=i.options,_=i.getRules,f=i.host,g=new La.FormattingContext(c,o,m),y=-1,h=[];return a.advance(),a.isOnToken()&&(o=i=c.getLineAndCharacterOfPosition(n.getStart(c)).line,n.decorators&&(o=c.getLineAndCharacterOfPosition(xa.getNonDecoratorTokenPosOfNode(n,c)).line),function n(t,r,i,o,_,f){if(xa.rangeOverlapsWithStartEnd(e,t.getStart(c),t.getEnd())){var g=E(t,i,_,f),h=r;for(xa.forEachChild(t,(function(e){C(e,-1,t,g,i,o,!1)}),(function(e){I(e,t,i,g)}));a.isOnToken();){var A=a.readTokenInfo(t);if(A.token.end>t.end)break;N(A,t,g,t)}!t.parent&&a.isOnEOF()&&(_=a.readEOFTokenRange()).end<=t.end&&l&&L(_,c.getLineAndCharacterOfPosition(_.pos).line,t,l,u,d,r,g)}function C(r,i,o,s,l,d,u,p){var m=r.getStart(c),_=c.getLineAndCharacterOfPosition(m).line,f=_,g=(r.decorators&&(f=c.getLineAndCharacterOfPosition(xa.getNonDecoratorTokenPosOfNode(r,c)).line),-1);if(u&&xa.rangeContainsRange(e,o)&&-1!==(g=v(m,r.end,l,e,i))&&(i=g),xa.rangeOverlapsWithStartEnd(e,r.pos,r.end)){if(0!==r.getFullWidth()){for(;a.isOnToken();){if((y=a.readTokenInfo(t)).token.end>m){y.token.pos>m&&a.skipToStartOf(r);break}N(y,t,s,t)}if(a.isOnToken()){if(xa.isToken(r)){var y=a.readTokenInfo(r);if(11!==r.kind)return xa.Debug.assert(y.token.end===r.end,"Token end is child end"),N(y,t,s,r),i}u=163===r.kind?_:d,l=b(r,_,g,t,s,u),n(r,h,_,f,l.indentation,l.delta),h=t,p&&202===o.kind&&-1===i&&(i=l.indentation)}}}else r.end<e.pos&&a.skipToEndOf(r);return i}function I(e,n,r,i){xa.Debug.assert(xa.isNodeArray(e));var o,s,l=bK(n,e),d=i,u=r;if(0!==l)for(;a.isOnToken();){if((g=a.readTokenInfo(n)).token.end>e.pos)break;g.token.kind===l?(u=c.getLineAndCharacterOfPosition(g.token.pos).line,N(g,n,i,n),o=void 0,o=-1!==y?y:(s=xa.getLineStartPositionForPosition(g.token.pos,c),La.SmartIndenter.findFirstNonWhitespaceColumn(s,g.token.pos,c,m)),d=E(n,r,o,m.indentSize)):N(g,n,i,n)}for(var p=-1,_=0;_<e.length;_++){var f=e[_];p=C(f,p,t,d,u,u,!0,0===_)}var g,h,v=EK(l);0!==v&&a.isOnToken()&&(27===(g=a.readTokenInfo(n)).token.kind&&xa.isCallLikeExpression(n)&&(h=c.getLineAndCharacterOfPosition(g.token.pos).line,u!==h)&&(a.advance(),g=a.isOnToken()?a.readTokenInfo(n):void 0),g)&&g.token.kind===v&&xa.rangeContainsRange(n,g.token)&&N(g,n,d,n,!0)}function N(n,t,r,i,o){xa.Debug.assert(xa.rangeContainsRange(t,n.token));var d,u,m,_=a.lastTrailingTriviaWasNewLine(),f=!1,g=(n.leadingTrivia&&S(n.leadingTrivia,t,h,r),0),v=xa.rangeContainsRange(e,n.token),b=c.getLineAndCharacterOfPosition(n.token.pos);v&&(d=s(n.token),u=l,g=x(n.token,b,t,h,r),d||(f=0===g?(d=u&&c.getLineAndCharacterOfPosition(u.end).line,_&&b.line!==d):1===g)),n.trailingTrivia&&S(n.trailingTrivia,t,h,r),f&&(u=v&&!s(n.token)?r.getIndentationForToken(b.line,n.token.kind,i,!!o):-1,_=!0,n.leadingTrivia&&(m=r.getIndentationForComment(n.token.kind,u,i),_=T(n.leadingTrivia,m,_,(function(e){D(e.pos,m,!1)}))),-1!==u)&&_&&(D(n.token.pos,u,1===g),p=b.line,y=u),a.advance(),h=t}}(n,n,i,o,t,r)),!a.isOnToken()&&(i=La.SmartIndenter.nodeWillIndentChild(m,n,void 0,c,!1)?t+m.indentSize:t,o=a.getCurrentLeadingTrivia())&&T(o,i,!1,(function(e){x(e,c.getLineAndCharacterOfPosition(e.pos),n,n,void 0)})),!1!==m.trimTrailingWhitespace&&(r=l?l.end:e.pos,r=c.getLineAndCharacterOfPosition(r).line,t=c.getLineAndCharacterOfPosition(e.end).line,A(r,t+1,l)),h;function v(e,n,t,r,a){if(xa.rangeOverlapsWithStartEnd(r,e,n)||xa.rangeContainsStartEnd(r,e,n)){if(-1!==a)return a}else{r=c.getLineAndCharacterOfPosition(e).line,n=xa.getLineStartPositionForPosition(e,c),a=La.SmartIndenter.findFirstNonWhitespaceColumn(n,e,c,m);if(r!==t||e===a)return a<(n=La.SmartIndenter.getBaseIndentation(m))?n:a}return-1}function b(e,n,t,r,a,i){var o=La.SmartIndenter.shouldIndentChildNode(m,e)?m.indentSize:0;return i===n?{indentation:n===p?y:a.getIndentation(),delta:Math.min(m.indentSize,a.getDelta(e)+o)}:-1===t?20===e.kind&&n===p?{indentation:y,delta:a.getDelta(e)}:La.SmartIndenter.childStartsOnTheSameLineWithElseInIfStatement(r,e,n,c)||La.SmartIndenter.childIsUnindentedBranchOfConditionalExpression(r,e,n,c)||La.SmartIndenter.argumentStartsOnSameLineAsPreviousArgument(r,e,n,c)?{indentation:a.getIndentation(),delta:o}:{indentation:a.getIndentation()+a.getDelta(e),delta:o}:{indentation:t,delta:o}}function E(e,n,t,r){return{getIndentationForComment:function(e,n,r){switch(e){case 19:case 23:case 21:return t+a(r)}return-1!==n?n:t},getIndentationForToken:function(r,i,o,s){return!s&&((t,r,a)=>{switch(r){case 18:case 19:case 21:case 91:case 115:case 59:return;case 43:case 31:switch(a.kind){case 278:case 279:case 277:case 226:return}break;case 22:case 23:if(193!==a.kind)return}return n!==t&&(!e.decorators||r!==(e=>{if(e.modifiers&&e.modifiers.length)return e.modifiers[0].kind;switch(e.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(e.asteriskToken)return 41;case 165:case 162:var n=xa.getNameOfDeclaration(e);if(n)return n.kind}})(e))})(r,i,o)?t+a(o):t},getIndentation:function(){return t},getDelta:a,recomputeIndentation:function(n,a){La.SmartIndenter.shouldIndentChildNode(m,a,e,c)&&(t+=n?m.indentSize:-m.indentSize,r=La.SmartIndenter.shouldIndentChildNode(m,e)?m.indentSize:0)}};function a(n){return La.SmartIndenter.nodeWillIndentChild(m,e,n,c,!0)?r:0}}function T(n,t,r,a){for(var i=0,o=n;i<o.length;i++){var s=o[i],l=xa.rangeContainsRange(e,s);switch(s.kind){case 3:if(l){p=u=d=void 0;var d=s,u=t,p=!r,_=((A=L=x=S=T=E=v=h=y=g=f=_=b=void 0)===(b=void 0)&&(b=!0),c.getLineAndCharacterOfPosition(d.pos).line),f=c.getLineAndCharacterOfPosition(d.end).line;if(_===f)p||D(d.pos,u,!1);else{for(var g=[],y=d.pos,h=_;h<f;h++){var v=xa.getEndLinePosition(h,c);g.push({pos:y,end:v}),y=xa.getStartPositionOfLine(h+1,c)}if(b&&g.push({pos:y,end:d.end}),0!==g.length)for(var b=xa.getStartPositionOfLine(_,c),E=La.SmartIndenter.findFirstNonWhitespaceCharacterAndColumn(b,g[0].pos,c,m),T=(d=0,p&&(d=1,_++),u-E.column),S=d;S<g.length;S++,_++){var x=xa.getStartPositionOfLine(_,c),L=0===S?E:La.SmartIndenter.findFirstNonWhitespaceCharacterAndColumn(g[S].pos,g[S].end,c,m),A=L.column+T;0<A?(A=TK(A,m),I(x,L.character,A)):C(x,L.character)}}}r=!1;break;case 2:r&&l&&a(s),r=!1;break;case 4:r=!0}}return r}function S(n,t,r,a){for(var i=0,o=n;i<o.length;i++){var s=o[i];xa.isComment(s.kind)&&xa.rangeContainsRange(e,s)&&x(s,c.getLineAndCharacterOfPosition(s.pos),t,r,a)}}function x(n,t,r,a,i){var o=0;return s(n)||(l?o=L(n,t.line,r,l,u,d,a,i):A(c.getLineAndCharacterOfPosition(e.pos).line,t.line)),l=n,d=r,u=t.line,o}function L(e,n,t,r,a,i,o,s){g.updateContext(r,i,e,t,o);i=_(g);var l=!1!==g.options.trimTrailingWhitespace,d=0;return i?xa.forEachRight(i,(function(i){switch(d=((e,n,t,r,a)=>{var i=a!==t;switch(e.action){case 1:return 0;case 16:if(n.end!==r.pos)return C(n.end,r.pos-n.end),i?2:0;break;case 32:C(n.pos,n.end-n.pos);break;case 8:if(1!==e.flags&&t!==a)return 0;if(1!=a-t)return I(n.end,r.pos-n.end,xa.getNewLineOrDefaultFromHost(f,m)),i?0:1;break;case 4:if(1!==e.flags&&t!==a)return 0;if(1!=r.pos-n.end||32!==c.text.charCodeAt(n.end))return I(n.end,r.pos-n.end," "),i?2:0;break;case 64:((e,n)=>{n&&h.push(xa.createTextChangeFromStartLength(e,0,n))})(n.end,";")}return 0})(i,r,a,e,n)){case 2:t.getStart(c)===e.pos&&s.recomputeIndentation(!1,o);break;case 1:t.getStart(c)===e.pos&&s.recomputeIndentation(!0,o);break;default:xa.Debug.assert(0===d)}l=l&&!(16&i.action)&&1!==i.flags})):l=l&&1!==e.kind,n!==a&&l&&A(a,n,r),d}function D(e,n,t){var r=TK(n,m);t?I(e,0,r):(t=c.getLineAndCharacterOfPosition(e),n===((e,n)=>{for(var t=0,r=0;r<n;r++)9===c.text.charCodeAt(e+r)?t+=m.tabSize-t%m.tabSize:t++;return t})(e=xa.getStartPositionOfLine(t.line,c),t.character)&&r===c.text.substr(e,r.length)||I(e,t.character,r))}function A(e,n,t){for(var r=e;r<n;r++){var a,i=xa.getStartPositionOfLine(r,c),o=xa.getEndLinePosition(r,c);t&&(xa.isComment(t.kind)||xa.isStringOrRegularExpressionOrTemplateLiteral(t.kind))&&t.pos<=o&&t.end>o||-1!==(a=((e,n)=>{for(var t=n;e<=t&&xa.isWhiteSpaceSingleLine(c.text.charCodeAt(t));)t--;return t===n?-1:t+1})(i,o))&&(xa.Debug.assert(a===i||!xa.isWhiteSpaceSingleLine(c.text.charCodeAt(a-1))),C(a,o+1-a))}}function C(e,n){n&&h.push(xa.createTextChangeFromStartLength(e,n,""))}function I(e,n,t){(n||t)&&h.push(xa.createTextChangeFromStartLength(e,n,t))}}function bK(e,n){switch(e.kind){case 169:case 254:case 211:case 167:case 166:case 212:if(e.typeParameters===n)return 29;if(e.parameters===n)return 20;break;case 206:case 207:if(e.typeArguments===n)return 29;if(e.arguments===n)return 20;break;case 176:if(e.typeArguments===n)return 29;break;case 180:return 18}return 0}function EK(e){switch(e){case 20:return 21;case 29:return 31;case 18:return 19}return 0}function TK(e,n){var t,r,a;return(!Da||Da.tabSize!==n.tabSize||Da.indentSize!==n.indentSize)&&(Da={tabSize:n.tabSize,indentSize:n.indentSize},Aa=Ca=void 0),n.convertTabsToSpaces?(a=void 0,t=Math.floor(e/n.indentSize),r=e%n.indentSize,void 0===(Ca=Ca||[])[t]?(a=xa.repeatString(" ",n.indentSize*t),Ca[t]=a):a=Ca[t],r?a+xa.repeatString(" ",r):a):(r=e-(t=Math.floor(e/n.tabSize))*n.tabSize,(a=void 0)===(Aa=Aa||[])[t]?Aa[t]=a=xa.repeatString("\t",t):a=Aa[t],r?a+xa.repeatString(" ",r):a)}function SK(e){return e.baseIndentSize||0}function xK(e,n,t,r,a,i,o){for(var s,c,l,d,u,p=e.parent;p;){var m=!0,_=(t&&(m=(_=e.getStart(a))<t.pos||_>t.end),((e,n,t)=>(n=(n=CK(n,t))?n.pos:e.getStart(t),t.getLineAndCharacterOfPosition(n)))(p,e,a)),f=_.line===n.line||AK(p,e,n.line,a);if(m){if(m=null==(m=CK(e,a))?void 0:m[0],m=kK(e,a,o,!!m&&LK(m,a).line>_.line),-1!==m)return m+r;if(g=e,s=p,c=n,l=f,d=a,u=o,-1!==(m=!Ia.isDeclaration(g)&&!Ia.isStatementButNotDeclaration(g)||300!==s.kind&&l?-1:OK(c,d,u)))return m+r}FK(o,p,e,a,i)&&!f&&(r+=o.indentSize);var g=DK(p,e,n.line,a);p=(e=p).parent;n=g?a.getLineAndCharacterOfPosition(e.getStart(a)):_}return r+SK(o)}function LK(e,n){return n.getLineAndCharacterOfPosition(e.getStart(n))}function DK(e,n,t,r){return!(!Ia.isCallExpression(e)||!Ia.contains(e.arguments,n))&&(n=e.expression.getEnd(),Ia.getLineAndCharacterOfPosition(r,n).line===t)}function AK(e,n,t,r){return 237===e.kind&&e.elseStatement===n&&(n=Ia.findChildOfKind(e,91,r),Ia.Debug.assert(void 0!==n),LK(n,r).line===t)}function CK(e,n){return e.parent&&IK(e.getStart(n),e.getEnd(),e.parent,n)}function IK(e,n,t,r){switch(t.kind){case 176:return a(t.typeArguments);case 203:return a(t.properties);case 202:return a(t.elements);case 180:return a(t.members);case 254:case 211:case 212:case 167:case 166:case 172:case 169:case 178:case 173:return a(t.typeParameters)||a(t.parameters);case 255:case 224:case 256:case 257:case 339:return a(t.typeParameters);case 207:case 206:return a(t.typeArguments)||a(t.arguments);case 253:return a(t.declarations);case 267:case 271:return a(t.elements);case 199:case 200:return a(t.elements)}function a(a){return a&&Ia.rangeContainsStartEnd(((e,n,t)=>{for(var r=e.getChildren(t),a=1;a<r.length-1;a++)if(r[a].pos===n.pos&&r[a].end===n.end)return{pos:r[a-1].end,end:r[a+1].getStart(t)};return n})(t,a,r),e,n)?a:void 0}}function NK(e,n,t){return e?OK(n.getLineAndCharacterOfPosition(e.pos),n,t):-1}function kK(e,n,t,r){if(!e.parent||253!==e.parent.kind){var a=CK(e,n);if(a)return e=a.indexOf(e),-1!==e&&(e=RK(a,e,n,t),-1!==e)?e:NK(a,n,t)+(r?t.indentSize:0)}return-1}function RK(e,n,t,r){Ia.Debug.assert(0<=n&&n<e.length);for(var a=LK(e[n],t),i=n-1;0<=i;i--)if(27!==e[i].kind){if(t.getLineAndCharacterOfPosition(e[i].end).line!==a.line)return OK(a,t,r);a=LK(e[i],t)}return-1}function OK(e,n,t){var r=n.getPositionOfLineAndCharacter(e.line,0);return wK(r,r+e.character,n,t)}function PK(e,n,t,r){for(var a=0,i=0,o=e;o<n;o++){var s=t.text.charCodeAt(o);if(!Ia.isWhiteSpaceSingleLine(s))break;9===s?i+=r.tabSize+i%r.tabSize:i++,a++}return{column:i,character:a}}function wK(e,n,t,r){return PK(e,n,t,r).column}function MK(e,n,t,r,a){var i=t?t.kind:0;switch(n.kind){case 236:case 255:case 224:case 256:case 258:case 257:case 202:case 233:case 260:case 203:case 180:case 193:case 182:case 261:case 288:case 287:case 210:case 204:case 206:case 207:case 235:case 269:case 245:case 220:case 200:case 199:case 278:case 281:case 277:case 286:case 166:case 172:case 173:case 162:case 177:case 178:case 189:case 208:case 216:case 271:case 267:case 273:case 268:case 165:return!0;case 252:case 291:case 219:if(!e.indentMultiLineObjectLiteralBeginningOnBlankLine&&r&&203===i)return GK(r,t);if(219!==n.kind)return!0;break;case 238:case 239:case 241:case 242:case 240:case 237:case 254:case 211:case 167:case 169:case 170:case 171:return 233!==i;case 212:return r&&210===i?GK(r,t):233!==i;case 270:return 271!==i;case 264:return 265!==i||!!t.namedBindings&&267!==t.namedBindings.kind;case 276:return 279!==i;case 280:return 282!==i;case 186:case 185:if(180===i||182===i)return!1}return a}function FK(e,n,t,r,a){return void 0===a&&(a=!1),MK(e,n,t,r,!1)&&!(a&&t&&((e,n)=>{switch(e){case 245:case 249:case 243:case 244:return 233!==n.kind;default:return}})(t.kind,n))}function GK(e,n){var t=Ia.skipTrivia(e.text,n.pos);return e.getLineAndCharacterOfPosition(t).line===e.getLineAndCharacterOfPosition(n.end).line}function BK(e){return e=e.__pos,ka.Debug.assert("number"==typeof e),e}function UK(e,n){ka.Debug.assert("number"==typeof n),e.__pos=n}function VK(e){return e=e.__end,ka.Debug.assert("number"==typeof e),e}function jK(e,n){ka.Debug.assert("number"==typeof n),e.__end=n}function KK(e,n){return ka.skipTrivia(e,n,!1,!0)}function HK(e,n,t,r){return{pos:WK(e,n,r),end:JK(e,t,r)}}function WK(e,n,t,r){void 0===r&&(r=!1);t=t.leadingTriviaOption;if(t===Ra.Exclude)return n.getStart(e);if(t===Ra.StartLine)return i=n.getStart(e),a=ka.getLineStartPositionForPosition(i,e),ka.rangeContainsPosition(n,a)?a:i;if(t===Ra.JSDoc){var a=ka.getJSDocCommentRanges(n,e.text);if(null!=a&&a.length)return ka.getLineStartPositionForPosition(a[0].pos,e)}var i=n.getFullStart();a=n.getStart(e);return i===a?a:(n=ka.getLineStartPositionForPosition(i,e),ka.getLineStartPositionForPosition(a,e)===n?t===Ra.IncludeAll?i:a:r&&(r=(null==(t=ka.getLeadingCommentRanges(e.text,i))?void 0:t[0])||(null==(a=ka.getTrailingCommentRanges(e.text,i))?void 0:a[0]),r)?ka.skipTrivia(e.text,r.end,!0,!0):(t=0<i?1:0,a=ka.getStartPositionOfLine(ka.getLineOfLocalPosition(e,n)+t,e),a=KK(e.text,a),ka.getStartPositionOfLine(ka.getLineOfLocalPosition(e,a),e)))}function zK(e,n,t){var r=n.end;if(t.trailingTriviaOption===Oa.Include&&(t=ka.getTrailingCommentRanges(e.text,r),t))for(var a=ka.getLineOfLocalPosition(e,n.end),i=0,o=t;i<o.length;i++){var s=o[i];if(2===s.kind||ka.getLineOfLocalPosition(e,s.pos)>a)break;if(a<ka.getLineOfLocalPosition(e,s.end))return ka.skipTrivia(e.text,s.end,!0,!0)}}function JK(e,n,t){var r,a=n.end,i=t.trailingTriviaOption;return i===Oa.Exclude?a:i===Oa.ExcludeWhitespace?(null==(r=null==(r=ka.concatenate(ka.getTrailingCommentRanges(e.text,a),ka.getLeadingCommentRanges(e.text,a)))?void 0:r[r.length-1])?void 0:r.end)||a:zK(e,n,t)||((r=ka.skipTrivia(e.text,a,!0))===a||i!==Oa.Include&&!ka.isLineBreak(e.text.charCodeAt(r-1))?a:r)}function qK(e,n){return n&&e.parent&&(27===n.kind||26===n.kind&&203===e.parent.kind)}function XK(e,n){this.newLineCharacter=e,this.formatContext=n,this.changes=[],this.newFiles=[],this.classesWithNodesInsertedAtStart=new ka.Map,this.deletedNodes=[]}function YK(e,n){return ka.skipTrivia(e.text,WK(e,n,{leadingTriviaOption:Ra.IncludeAll}),!1,!0)}function QK(e){return ka.isObjectLiteralExpression(e)?e.properties:e.members}function ZK(e,n,t,r,a){return t=t.map((function(n){return 4===n?"":$K(n,e,r).text})).join(r),n=ka.createSourceFile("any file name",t,99,!0,n),eH(t,ka.formatting.formatDocument(n,a))+r}function $K(e,n,t){r=0,a=ka.createTextWriter(t);var r,a,i={onBeforeEmitNode:function(e){e&&UK(e,r)},onAfterEmitNode:function(e){e&&jK(e,r)},onBeforeEmitNodeArray:function(e){e&&UK(e,r)},onAfterEmitNodeArray:function(e){e&&jK(e,r)},onBeforeEmitToken:function(e){e&&UK(e,r)},onAfterEmitToken:function(e){e&&jK(e,r)},write:function(e){a.write(e),o(e,!1)},writeComment:function(e){a.writeComment(e)},writeKeyword:function(e){a.writeKeyword(e),o(e,!1)},writeOperator:function(e){a.writeOperator(e),o(e,!1)},writePunctuation:function(e){a.writePunctuation(e),o(e,!1)},writeTrailingSemicolon:function(e){a.writeTrailingSemicolon(e),o(e,!1)},writeParameter:function(e){a.writeParameter(e),o(e,!1)},writeProperty:function(e){a.writeProperty(e),o(e,!1)},writeSpace:function(e){a.writeSpace(e),o(e,!1)},writeStringLiteral:function(e){a.writeStringLiteral(e),o(e,!1)},writeSymbol:function(e,n){a.writeSymbol(e,n),o(e,!1)},writeLine:function(e){a.writeLine(e)},increaseIndent:function(){a.increaseIndent()},decreaseIndent:function(){a.decreaseIndent()},getText:function(){return a.getText()},rawWrite:function(e){a.rawWrite(e),o(e,!1)},writeLiteral:function(e){a.writeLiteral(e),o(e,!0)},getTextPos:function(){return a.getTextPos()},getLine:function(){return a.getLine()},getColumn:function(){return a.getColumn()},getIndent:function(){return a.getIndent()},isAtStartOfLine:function(){return a.isAtStartOfLine()},hasTrailingComment:function(){return a.hasTrailingComment()},hasTrailingWhitespace:function(){return a.hasTrailingWhitespace()},clear:function(){a.clear(),r=0}};function o(e,n){if(n||(n=e,ka.skipTrivia(n,0)!==n.length)){r=a.getTextPos();for(var t=0;ka.isWhiteSpaceLike(e.charCodeAt(e.length-t-1));)t++;r-=t}}return ka.createPrinter({newLine:"\n"===t?1:0,neverAsciiEscape:!0,preserveSourceNewlines:!0,terminateUnterminatedLiterals:!0},i).writeNode(4,e,n,i),{text:i.getText(),node:nH(e)}}function eH(e,n){for(var t=n.length-1;0<=t;t--){var r=n[t],a=r.span;r=r.newText;e=""+e.substring(0,a.start)+r+e.substring(ka.textSpanEnd(a))}return e}function nH(e){var n=ka.visitEachChild(e,nH,ka.nullTransformationContext,tH,nH);n=ka.nodeIsSynthesized(n)?n:Object.create(n);return ka.setTextRangePosEnd(n,BK(e),VK(e)),n}function tH(e,n,t,r,a){return n=ka.visitNodes(e,n,t,r,a),n&&(t=n===e?ka.factory.createNodeArray(n.slice(0)):n,ka.setTextRangePosEnd(t,BK(e),VK(e)),t)}function rH(e,n){return!(ka.isInComment(e,n)||ka.isInString(e,n)||ka.isInTemplateString(e,n)||ka.isInJSXText(e,n))}function aH(e,n,t){var r;t.parent.name?(r=ka.Debug.checkDefined(ka.getTokenAtPosition(n,t.pos-1)),e.deleteRange(n,{pos:r.getStart(n),end:t.end})):iH(e,n,ka.getAncestor(t,264))}function iH(e,n,t,r){var a=WK(n,t,r=void 0===r?{leadingTriviaOption:Ra.IncludeAll}:r);t=JK(n,t,r);e.deleteRange(n,{pos:a,end:t})}function oH(e,n,t,r){var a=ka.Debug.checkDefined(ka.formatting.SmartIndenter.getContainingList(r,t)),i=ka.indexOfNode(a,r);ka.Debug.assert(-1!==i),1===a.length?iH(e,t,r):(ka.Debug.assert(!n.has(r),"Deleting a node twice"),n.add(r),e.deleteRange(t,{pos:YK(t,r),end:i===a.length-1?JK(t,r,{}):YK(t,a[i+1])}))}function sH(e){return Ga.isArray(e)?Ga.formatStringFromArgs(Ga.getLocaleSpecificMessage(e[0]),e.slice(1)):Ga.getLocaleSpecificMessage(e)}function cH(e,n,t,r,a,i){return{fixName:e,description:n,changes:t,fixId:r,fixAllDescription:a,commands:i?[i]:void 0}}function lH(e,n){return{changes:e,commands:n}}function dH(e,n,t){for(var r=0,a=uH(e);r<a.length;r++){var i=a[r];Ga.contains(n,i.code)&&t(i)}}function uH(e){var n=e.program,t=e.sourceFile;e=e.cancellationToken;return eu(eu(eu([],n.getSemanticDiagnostics(t,e),!0),n.getSyntacticDiagnostics(t,e),!0),Ga.computeSuggestionDiagnostics(t,n,e),!0)}function pH(e,n,t){t=Ha.getTokenAtPosition(n,t),t=Ha.Debug.checkDefined(Ha.findAncestor(t,(function(e){return Ha.isAsExpression(e)||Ha.isTypeAssertionExpression(e)})),"Expected to find an assertion expression");var r=Ha.isAsExpression(t)?Ha.factory.createAsExpression(t.expression,Ha.factory.createKeywordTypeNode(153)):Ha.factory.createTypeAssertion(Ha.factory.createKeywordTypeNode(153),t.expression);e.replaceNode(n,t.expression,r)}function mH(e,n,t,r){return t=t((function(t){var a=e.sourceFile,i=n,o=r;o&&o.has(Ya.getNodeId(i))||(null!=o&&o.add(Ya.getNodeId(i)),o=Ya.factory.updateModifiers(Ya.getSynthesizedDeepClone(i,!0),Ya.factory.createNodeArray(Ya.factory.createModifiersFromModifierFlags(256|Ya.getSyntacticModifierFlags(i)))),t.replaceNode(a,i,o))})),Qa.createCodeFixAction(Za,t,Ya.Diagnostics.Add_async_modifier_to_containing_function,Za,Ya.Diagnostics.Add_all_missing_async_modifiers)}function _H(e,n){var t;if(n)return t=Ya.getTokenAtPosition(e,n.start),Ya.findAncestor(t,(function(t){return t.getStart(e)<n.start||t.getEnd()>Ya.textSpanEnd(n)?"quit":(Ya.isArrowFunction(t)||Ya.isMethodDeclaration(t)||Ya.isFunctionExpression(t)||Ya.isFunctionDeclaration(t))&&Ya.textSpansEqual(n,Ya.createTextSpanFromNode(t,e))}))}function fH(e,n,t,r,a,i){var o=e.sourceFile,s=((e,n,t,r,a)=>{if(e=((e,n)=>{if(ei.isPropertyAccessExpression(e.parent)&&ei.isIdentifier(e.parent.expression))return{identifiers:[e.parent.expression],isCompleteFix:!0};if(ei.isIdentifier(e))return{identifiers:[e],isCompleteFix:!0};if(ei.isBinaryExpression(e)){for(var t=void 0,r=!0,a=0,i=[e.left,e.right];a<i.length;a++){var o=i[a],s=n.getTypeAtLocation(o);n.getPromisedTypeOfPromise(s)&&(ei.isIdentifier(o)?(t=t||[]).push(o):r=!1)}return t&&{identifiers:t,isCompleteFix:r}}})(e,a)){for(var i,o=e.isCompleteFix,s=function(e){var s,c,l,d,u=a.getSymbolAtLocation(e);return u?(c=(s=ei.tryCast(u.valueDeclaration,ei.isVariableDeclaration))&&ei.tryCast(s.name,ei.isIdentifier),l=ei.getAncestor(s,235),s&&l&&!s.type&&s.initializer&&l.getSourceFile()===n&&!ei.hasSyntacticModifier(l,1)&&c&&hH(s.initializer)&&(d=r.getSemanticDiagnostics(n,t),!ei.FindAllReferences.Core.eachSymbolReferenceInFile(c,a,n,(function(t){return e!==t&&(t=t,r=d,i=n,o=a,s=ei.isPropertyAccessExpression(t.parent)?t.parent.name:ei.isBinaryExpression(t.parent)?t.parent:t,!((t=ei.find(r,(function(e){return e.start===s.getStart(i)&&e.start+e.length===s.getEnd()})))&&ei.contains(ii,t.code)||1&o.getTypeAtLocation(s).flags));var r,i,o,s})))?void(i=i||[]).push({expression:s.initializer,declarationSymbol:u}):(o=!1,"continue")):"continue"},c=0,l=e.identifiers;c<l.length;c++){var d=l[c];s(d)}return i&&{initializers:i,needsSecondPassForFixAll:!o}}})(n,o,e.cancellationToken,e.program,r);if(s)return e=a((function(e){ei.forEach(s.initializers,(function(n){return n=n.expression,vH(e,t,o,r,n,i)})),i&&s.needsSecondPassForFixAll&&vH(e,t,o,r,n,i)})),ni.createCodeFixActionWithoutFixAll("addMissingAwaitToInitializer",e,1===s.initializers.length?[ei.Diagnostics.Add_await_to_initializer_for_0,s.initializers[0].declarationSymbol.name]:ei.Diagnostics.Add_await_to_initializers)}function gH(e,n,t,r,a,i){return a=a((function(a){return vH(a,t,e.sourceFile,r,n,i)})),ni.createCodeFixAction(ti,a,ei.Diagnostics.Add_await,ti,ei.Diagnostics.Fix_all_expressions_possibly_missing_await)}function yH(e,n,t,r,a){var i,o,s,c=ei.getTokenAtPosition(e,t.start);c=ei.findAncestor(c,(function(n){return n.getStart(e)<t.start||n.getEnd()>ei.textSpanEnd(t)?"quit":ei.isExpression(n)&&ei.textSpansEqual(t,ei.createTextSpanFromNode(n,e))}));return c&&(i=e,o=n,s=t,n=r,r=(r=a).getDiagnosticsProducingTypeChecker().getDiagnostics(i,n),ei.some(r,(function(e){var n=e.start,t=e.length,r=e.relatedInformation;e=e.code;return ei.isNumber(n)&&ei.isNumber(t)&&ei.textSpansEqual({start:n,length:t},s)&&e===o&&!!r&&ei.some(r,(function(e){return e.code===ei.Diagnostics.Did_you_forget_to_use_await.code}))})))&&hH(c)?c:void 0}function hH(e){return 32768&e.kind||ei.findAncestor(e,(function(e){return e.parent&&ei.isArrowFunction(e.parent)&&e.parent.body===e||ei.isBlock(e)&&(254===e.parent.kind||211===e.parent.kind||212===e.parent.kind||167===e.parent.kind)}))}function vH(e,n,t,r,a,i){if(ei.isBinaryExpression(a))for(var o=0,s=[a.left,a.right];o<s.length;o++){var c=s[o];if(!(i&&ei.isIdentifier(c)&&(d=r.getSymbolAtLocation(c))&&i.has(ei.getSymbolId(d)))){var l=r.getTypeAtLocation(c);l=r.getPromisedTypeOfPromise(l)?ei.factory.createAwaitExpression(c):c;e.replaceNode(t,c,l)}}else if(n===ri&&ei.isPropertyAccessExpression(a.parent)){if(i&&ei.isIdentifier(a.parent.expression)&&(d=r.getSymbolAtLocation(a.parent.expression))&&i.has(ei.getSymbolId(d)))return;e.replaceNode(t,a.parent.expression,ei.factory.createParenthesizedExpression(ei.factory.createAwaitExpression(a.parent.expression))),bH(e,a.parent.expression,t)}else if(ei.contains(ai,n)&&ei.isCallOrNewExpression(a.parent)){if(i&&ei.isIdentifier(a)&&(d=r.getSymbolAtLocation(a))&&i.has(ei.getSymbolId(d)))return;e.replaceNode(t,a,ei.factory.createParenthesizedExpression(ei.factory.createAwaitExpression(a))),bH(e,a,t)}else{var d;if(i&&ei.isVariableDeclaration(a.parent)&&ei.isIdentifier(a.parent.name)&&(d=r.getSymbolAtLocation(a.parent.name))&&!ei.tryAddToSet(i,ei.getSymbolId(d)))return;e.replaceNode(t,a,ei.factory.createAwaitExpression(a))}}function bH(e,n,t){var r=ei.findPrecedingToken(n.pos,t);r&&ei.positionIsASICandidate(r.end,r.parent,t)&&e.insertText(t,n.getStart(t),";")}function EH(e,n,t,r,a){t=oi.getTokenAtPosition(n,t);var i=oi.findAncestor(t,(function(e){return oi.isForInOrOfStatement(e.parent)?e.parent.initializer===e:!(e=>{switch(e.kind){case 79:case 202:case 203:case 291:case 292:return 1;default:return}})(e)&&"quit"}));if(i)return TH(e,i,n,a);var o;i=t.parent;return oi.isBinaryExpression(i)&&63===i.operatorToken.kind&&oi.isExpressionStatement(i.parent)?TH(e,t,n,a):oi.isArrayLiteralExpression(i)?(o=r.getTypeChecker(),oi.every(i.elements,(function(e){var n=o;return!!(e=oi.isIdentifier(e)?e:oi.isAssignmentExpression(e,!0)&&oi.isIdentifier(e.left)?e.left:void 0)&&!n.getSymbolAtLocation(e)}))?TH(e,i,n,a):void 0):(i=oi.findAncestor(t,(function(e){return!!oi.isExpressionStatement(e.parent)||!(e=>{switch(e.kind){case 79:case 219:case 27:return 1;default:return}})(e)&&"quit"})),i&&function e(n,t){return!!oi.isBinaryExpression(n)&&(27===n.operatorToken.kind?oi.every([n.left,n.right],(function(n){return e(n,t)})):63===n.operatorToken.kind&&oi.isIdentifier(n.left)&&!t.getSymbolAtLocation(n.left))}(i,r.getTypeChecker())?TH(e,i,n,a):void 0)}function TH(e,n,t,r){r&&!oi.tryAddToSet(r,n)||e.insertModifierBefore(t,85,n)}function SH(e,n,t,r){t=di.getTokenAtPosition(n,t);!di.isIdentifier(t)||165!==(t=t.parent).kind||r&&!di.tryAddToSet(r,t)||e.insertModifierBefore(n,134,t)}function xH(e,n,t){t=_i.getTokenAtPosition(n,t),t=_i.findAncestor(t,_i.isDecorator);var r=(_i.Debug.assert(!!t,"Expected position to be owned by a decorator."),_i.factory.createCallExpression(t.expression,void 0,void 0));e.replaceNode(n,t.expression,r)}function LH(e,n,t){var r,a;t=hi.getTokenAtPosition(n,t);return hi.isIdentifier(t)?(r=t.parent,hi.isParameter(r)?(a=r.parent.parameters.indexOf(r),hi.Debug.assert(!r.type,"Tried to add a parameter name to a parameter that already had one."),hi.Debug.assert(-1<a,"Parameter not found in parent parameter list."),a=hi.factory.createParameterDeclaration(void 0,r.modifiers,r.dotDotDotToken,"arg"+a,r.questionToken,hi.factory.createTypeReferenceNode(t,void 0),r.initializer),void e.replaceNode(n,t,a)):hi.Debug.fail("Tried to add a parameter name to a non-parameter: "+hi.Debug.formatSyntaxKind(t.kind))):hi.Debug.fail("add-name-to-nameless-parameter operates on identifiers, but got a "+hi.Debug.formatSyntaxKind(t.kind))}function DH(e,n){return e=Ti.getTokenAtPosition(e,n),Ti.tryCast((Ti.isParameter(e.parent)?e.parent:e).parent,AH)}function AH(e){return n=e,(Ti.isFunctionLikeDeclaration(n)||252===n.kind||164===n.kind||165===n.kind)&&CH(e);var n}function CH(e){return Ti.isFunctionLikeDeclaration(e)?e.parameters.some(CH)||!e.type&&!!Ti.getJSDocReturnType(e):!e.type&&!!Ti.getJSDocType(e)}function IH(e,n,t){if(Ti.isFunctionLikeDeclaration(t)&&(Ti.getJSDocReturnType(t)||t.parameters.some((function(e){return!!Ti.getJSDocType(e)})))){t.typeParameters||(r=Ti.getJSDocTypeParameterDeclarations(t)).length&&e.insertTypeParameters(n,t,r);var r=Ti.isArrowFunction(t)&&!Ti.findChildOfKind(t,20,n);r&&e.insertNodeBefore(n,Ti.first(t.parameters),Ti.factory.createToken(20));for(var a=0,i=t.parameters;a<i.length;a++){var o,s=i[a];s.type||(o=Ti.getJSDocType(s))&&e.tryInsertTypeAnnotation(n,s,NH(o))}r&&e.insertNodeAfter(n,Ti.last(t.parameters),Ti.factory.createToken(21)),t.type||(r=Ti.getJSDocReturnType(t))&&e.tryInsertTypeAnnotation(n,t,NH(r))}else r=Ti.Debug.checkDefined(Ti.getJSDocType(t),"A JSDocType for this declaration should exist"),Ti.Debug.assert(!t.type,"The JSDocType decl should have a type"),e.tryInsertTypeAnnotation(n,t,NH(r))}function NH(e){switch(e.kind){case 307:case 308:return Ti.factory.createTypeReferenceNode("any",Ti.emptyArray);case 311:return Ti.factory.createUnionTypeNode([Ti.visitNode(e.type,NH),Ti.factory.createTypeReferenceNode("undefined",Ti.emptyArray)]);case 310:return NH(e.type);case 309:return Ti.factory.createUnionTypeNode([Ti.visitNode(e.type,NH),Ti.factory.createTypeReferenceNode("null",Ti.emptyArray)]);case 313:return Ti.factory.createArrayTypeNode(Ti.visitNode(e.type,NH));case 312:return n=e,Ti.factory.createFunctionTypeNode(Ti.emptyArray,n.parameters.map(kH),null!=(n=n.type)?n:Ti.factory.createKeywordTypeNode(129));case 176:var n=e,t=n.typeName,r=n.typeArguments;if(Ti.isIdentifier(n.typeName)){if(Ti.isJSDocIndexSignature(n))return(e=>{var n=Ti.factory.createParameterDeclaration(void 0,void 0,void 0,145===e.typeArguments[0].kind?"n":"s",void 0,Ti.factory.createTypeReferenceNode(145===e.typeArguments[0].kind?"number":"string",[]),void 0);n=Ti.factory.createTypeLiteralNode([Ti.factory.createIndexSignature(void 0,void 0,[n],e.typeArguments[1])]);return Ti.setEmitFlags(n,1),n})(n);var a=n.typeName.text;switch(n.typeName.text){case"String":case"Boolean":case"Object":case"Number":a=a.toLowerCase();break;case"array":case"date":case"promise":a=a[0].toUpperCase()+a.slice(1)}t=Ti.factory.createIdentifier(a),r="Array"!==a&&"Promise"!==a||n.typeArguments?Ti.visitNodes(n.typeArguments,NH):Ti.factory.createNodeArray([Ti.factory.createTypeReferenceNode("any",Ti.emptyArray)])}return Ti.factory.createTypeReferenceNode(t,r);default:return t=Ti.visitEachChild(e,NH,Ti.nullTransformationContext),Ti.setEmitFlags(t,1),t}}function kH(e){var n=e.parent.parameters.indexOf(e),t=313===e.type.kind&&n===e.parent.parameters.length-1;n=e.name||(t?"rest":"arg"+n),t=t?Ti.factory.createToken(25):e.dotDotDotToken;return Ti.factory.createParameterDeclaration(e.decorators,e.modifiers,t,n,e.questionToken,Ti.visitNode(e.type,NH),e.initializer)}function RH(e,n,t,r,a,i){var o,s;r=r.getSymbolAtLocation(Di.getTokenAtPosition(n,t));function c(t){var r=[];return t.members&&t.members.forEach((function(t,a){"constructor"===a&&t.valueDeclaration?e.delete(n,t.valueDeclaration.parent):(a=o(t,void 0))&&r.push.apply(r,a)})),t.exports&&t.exports.forEach((function(e){var n,t;"prototype"===e.name&&e.declarations?(n=e.declarations[0],1===e.declarations.length&&Di.isPropertyAccessExpression(n)&&Di.isBinaryExpression(n.parent)&&63===n.parent.operatorToken.kind&&Di.isObjectLiteralExpression(n.parent.right)&&(t=o(n.parent.right.symbol,void 0))&&r.push.apply(r,t)):(t=o(e,[Di.factory.createToken(124)]))&&r.push.apply(r,t)})),r;function o(t,r){var o,s,c,l,d,u=[];return(8192&t.flags||4096&t.flags)&&(c=(s=(o=t.valueDeclaration).parent).right,d=o,l=c,Di.isAccessExpression(d)?Di.isPropertyAccessExpression(d)&&PH(d)||Di.isFunctionLike(l):Di.every(d.properties,(function(e){return!!(Di.isMethodDeclaration(e)||Di.isGetOrSetAccessorDeclaration(e)||Di.isPropertyAssignment(e)&&Di.isFunctionExpression(e.initializer)&&e.name||PH(e))})))?(l=s.parent&&236===s.parent.kind?s.parent:s,e.delete(n,l),c?Di.isAccessExpression(o)&&(Di.isFunctionExpression(c)||Di.isArrowFunction(c))?(d=Di.getQuotePreference(n,a),(l=((e,n,t)=>Di.isPropertyAccessExpression(e)?e.name:(e=e.argumentExpression,Di.isNumericLiteral(e)?e:Di.isStringLiteralLike(e)?Di.isIdentifierText(e.text,n.target)?Di.factory.createIdentifier(e.text):Di.isNoSubstitutionTemplateLiteral(e)?Di.factory.createStringLiteral(e.text,0===t):e:void 0))(o,i,d))?p(u,c,l):u):Di.isObjectLiteralExpression(c)?Di.flatMap(c.properties,(function(e){return Di.isMethodDeclaration(e)||Di.isGetOrSetAccessorDeclaration(e)?u.concat(e):Di.isPropertyAssignment(e)&&Di.isFunctionExpression(e.initializer)?p(u,e.initializer,e.name):PH(e)?u:[]})):(Di.isSourceFileJS(n)||Di.isPropertyAccessExpression(o)&&(d=Di.factory.createPropertyDeclaration(void 0,r,o.name,void 0,void 0,c),Di.copyLeadingComments(s.parent,d,n),u.push(d)),u):(u.push(Di.factory.createPropertyDeclaration([],r,t.name,void 0,void 0,void 0)),u)):u;function p(e,t,a){return Di.isFunctionExpression(t)?(i=e,o=t,c=a,l=Di.concatenate(r,OH(o,130)),l=Di.factory.createMethodDeclaration(void 0,l,void 0,c,void 0,void 0,o.parameters,void 0,o.body),Di.copyLeadingComments(s,l,n),i.concat(l)):(c=e,o=a,l=233===(l=(i=t).body).kind?l:Di.factory.createBlock([Di.factory.createReturnStatement(l)]),e=Di.concatenate(r,OH(i,130)),e=Di.factory.createMethodDeclaration(void 0,e,void 0,o,void 0,void 0,i.parameters,void 0,l),Di.copyLeadingComments(s,e,n),c.concat(e));var i,o,c,l}}}r&&r.valueDeclaration&&19&r.flags&&(t=r.valueDeclaration,Di.isFunctionDeclaration(t)?e.replaceNode(n,t,(o=t,r=c(r),o.body&&r.unshift(Di.factory.createConstructorDeclaration(void 0,void 0,o.parameters,o.body)),s=OH(o,93),Di.factory.createClassDeclaration(void 0,s,o.name,void 0,void 0,r))):Di.isVariableDeclaration(t)&&(s=(e=>{var n,t=e.initializer;if(t&&Di.isFunctionExpression(t)&&Di.isIdentifier(e.name))return n=c(e.symbol),t.body&&n.unshift(Di.factory.createConstructorDeclaration(void 0,void 0,t.parameters,t.body)),t=OH(e.parent.parent,93),Di.factory.createClassDeclaration(void 0,t,e.name,void 0,void 0,n)})(t))&&(o=t.parent.parent,Di.isVariableDeclarationList(t.parent)&&1<t.parent.declarations.length?(e.delete(n,t),e.insertNodeAfter(n,o,s)):e.replaceNode(n,o,s)))}function OH(e,n){return Di.filter(e.modifiers,(function(e){return e.kind===n}))}function PH(e){return e.name&&!(!Di.isIdentifier(e.name)||"constructor"!==e.name.text)}function wH(e,n,t,r){var a=Ni.getTokenAtPosition(n,t);a=Ni.isIdentifier(a)&&Ni.isVariableDeclaration(a.parent)&&a.parent.initializer&&Ni.isFunctionLikeDeclaration(a.parent.initializer)?a.parent.initializer:Ni.tryCast(Ni.getContainingFunction(Ni.getTokenAtPosition(n,t)),Ni.canBeConvertedToAsync);if(a){t=new Ni.Map;var i,o,s,c,l,d,u=Ni.isInJSFile(a),p=(i=r,(p=a).body?(o=new Ni.Set,Ni.forEachChild(p.body,(function e(n){MH(n,i,"then")?(o.add(Ni.getNodeId(n)),Ni.forEach(n.arguments,e)):MH(n,i,"catch")?(o.add(Ni.getNodeId(n)),Ni.forEachChild(n,e)):FH(n,i)?o.add(Ni.getNodeId(n)):Ni.forEachChild(n,e)})),o):new Ni.Set),m=(m=a,s=r,c=t,l=new Ni.Map,d=Ni.createMultiMap(),Ni.forEachChild(m,(function e(n){var t,r,a,i,o;Ni.isIdentifier(n)?(t=s.getSymbolAtLocation(n))&&(o=WH(s.getTypeAtLocation(n),s),r=Ni.getSymbolId(t).toString(),!o||Ni.isParameter(n.parent)||Ni.isFunctionLikeDeclaration(n.parent)||c.has(r)?n.parent&&(Ni.isParameter(n.parent)||Ni.isVariableDeclaration(n.parent)||Ni.isBindingElement(n.parent))&&(i=n.text,(a=d.get(i))&&a.some((function(e){return e!==t}))?(a=GH(n,d),l.set(r,a.identifier),c.set(r,a)):(a=Ni.getSynthesizedDeepClone(n),c.set(r,YH(a))),d.add(i,t)):(o=GH(i=(null==(a=Ni.firstOrUndefined(o.parameters))?void 0:a.valueDeclaration)&&Ni.isParameter(a.valueDeclaration)&&Ni.tryCast(a.valueDeclaration.name,Ni.isIdentifier)||Ni.factory.createUniqueName("result",16),d),c.set(r,o),d.add(i.text,t))):Ni.forEachChild(n,e)})),Ni.getSynthesizedDeepCloneWithReplacements(m,!0,(function(e){var n,t;if(Ni.isBindingElement(e)&&Ni.isIdentifier(e.name)&&Ni.isObjectBindingPattern(e.parent)){if((t=(n=s.getSymbolAtLocation(e.name))&&l.get(String(Ni.getSymbolId(n))))&&t.text!==(e.name||e.propertyName).getText())return Ni.factory.createBindingElement(e.dotDotDotToken,e.propertyName||e.name,t,e.initializer)}else if(Ni.isIdentifier(e)&&(t=(n=s.getSymbolAtLocation(e))&&l.get(String(Ni.getSymbolId(n)))))return Ni.factory.createIdentifier(t.text)})));if(Ni.returnsPromise(m,r)){m=m.body&&Ni.isBlock(m.body)?(m=m.body,_=r,f=[],Ni.forEachReturnStatement(m,(function(e){Ni.isReturnStatementWithFixablePromiseHandler(e,_)&&f.push(e)})),f):Ni.emptyArray;var _,f,g={checker:r,synthNamesMap:t,setOfExpressionsToReturn:p,isInJSFile:u};if(m.length){r=a.modifiers?a.modifiers.end:a.decorators?Ni.skipTrivia(n.text,a.decorators.end):a.getStart(n),t=a.modifiers?{prefix:" "}:{suffix:" "};for(var y=(e.insertModifierAt(n,r,130,t),0),h=m;y<h.length;y++)(t=>{Ni.forEachChild(t,(function r(a){var i;Ni.isCallExpression(a)?(i=UH(a,g),e.replaceNodeWithNodes(n,t,i)):Ni.isFunctionLike(a)||Ni.forEachChild(a,r)}))})(h[y])}}}}function MH(e,n,t){if(Ni.isCallExpression(e))return(t=Ni.hasPropertyAccessExpressionWithName(e,t)&&n.getTypeAtLocation(e))&&n.getPromisedTypeOfPromise(t)}function FH(e,n){return Ni.isExpression(e)&&n.getPromisedTypeOfPromise(n.getTypeAtLocation(e))}function GH(e,n){return n=(n.get(e.text)||Ni.emptyArray).length,YH(0===n?e:Ni.factory.createIdentifier(e.text+"_"+n))}function BH(){return Pi=!1,Ni.emptyArray}function UH(e,n,t){var r,a,i,o,s,c,l,d,u,p,m,_,f;return MH(e,n.checker,"then")?0===e.arguments.length?BH():(f=n,u=t,r=(s=(m=e).arguments)[0],s=s[1],_=JH(r,f),r=KH(r,u,_,m,f),s?(a=JH(s,f),c=Ni.factory.createBlock(UH(m.expression,f,_).concat(r)),s=KH(s,u,a,m,f),u=a?ZH(a)?a.identifier.text:a.bindingPattern:"e",a=Ni.factory.createVariableDeclaration(u),u=Ni.factory.createCatchClause(a,Ni.factory.createBlock(s)),[Ni.factory.createTryStatement(c,u,void 0)]):UH(m.expression,f,_).concat(r)):MH(e,n.checker,"catch")?(a=e,i=n,o=t,s=Ni.singleOrUndefined(a.arguments),c=s?JH(s,i):void 0,o&&!$H(a,i)&&(ZH(o)?(p=o,i.synthNamesMap.forEach((function(e,n){e.identifier.text===o.identifier.text&&(e=YH(Ni.factory.createUniqueName(o.identifier.text,16)),i.synthNamesMap.set(n,e))}))):p=YH(Ni.factory.createUniqueName("result",16),o.types),p.hasBeenDeclared=!0),u=Ni.factory.createBlock(UH(a.expression,i,p)),s=s?KH(s,p,c,a,i):Ni.emptyArray,c=c?ZH(c)?c.identifier.text:c.bindingPattern:"e",c=Ni.factory.createVariableDeclaration(c),c=Ni.factory.createCatchClause(c,Ni.factory.createBlock(s)),p&&!$H(a,i)&&(d=Ni.getSynthesizedDeepClone(p.identifier),s=p.types,a=i.checker.getUnionType(s,2),p=i.isInJSFile?void 0:i.checker.typeToTypeNode(a,void 0,void 0),s=[Ni.factory.createVariableDeclaration(d,void 0,p)],l=Ni.factory.createVariableStatement(void 0,Ni.factory.createVariableDeclarationList(s,1))),a=Ni.factory.createTryStatement(u,c,void 0),p=o&&d&&1===o.kind&&Ni.factory.createVariableStatement(void 0,Ni.factory.createVariableDeclarationList([Ni.factory.createVariableDeclaration(Ni.getSynthesizedDeepClone(o.bindingPattern),void 0,void 0,d)],2)),Ni.compact([l,a,p])):Ni.isPropertyAccessExpression(e)?UH(e.expression,n,t):(m=n.checker.getTypeAtLocation(e))&&n.checker.getPromisedTypeOfPromise(m)?(Ni.Debug.assertNode(e.original.parent,Ni.isPropertyAccessExpression),f=t,$H(_=e,n)?[Ni.factory.createReturnStatement(Ni.getSynthesizedDeepClone(_))]:VH(f,Ni.factory.createAwaitExpression(_),void 0)):BH()}function VH(e,n,t){return!e||qH(e)?[Ni.factory.createExpressionStatement(n)]:ZH(e)&&e.hasBeenDeclared?[Ni.factory.createExpressionStatement(Ni.factory.createAssignment(Ni.getSynthesizedDeepClone(e.identifier),n))]:[Ni.factory.createVariableStatement(void 0,Ni.factory.createVariableDeclarationList([Ni.factory.createVariableDeclaration(Ni.getSynthesizedDeepClone(XH(e)),void 0,t,n)],2))]}function jH(e,n){var t;return n&&e?(t=Ni.factory.createUniqueName("result",16),eu(eu([],VH(YH(t),e,n),!0),[Ni.factory.createReturnStatement(t)],!1)):[Ni.factory.createReturnStatement(e)]}function KH(e,n,t,r,a){var i;switch(e.kind){case 104:break;case 204:case 79:if(t)return _=Ni.factory.createCallExpression(Ni.getSynthesizedDeepClone(e),void 0,ZH(t)?[t.identifier]:[]),$H(r,a)?jH(_,null==(o=r.typeArguments)?void 0:o[0]):(o=a.checker.getTypeAtLocation(e),(o=a.checker.getSignaturesOfType(o,0)).length?(o=o[0].getReturnType(),_=VH(n,Ni.factory.createAwaitExpression(_),null==(_=r.typeArguments)?void 0:_[0]),n&&n.types.push(o),_):BH());break;case 211:case 212:var o=e.body,s=null==(_=WH(a.checker.getTypeAtLocation(e),a.checker))?void 0:_.getReturnType();if(Ni.isBlock(o)){for(var c=[],l=!1,d=0,u=o.statements;d<u.length;d++){var p,m=u[d];Ni.isReturnStatement(m)?(l=!0,Ni.isReturnStatementWithFixablePromiseHandler(m,a.checker)?c=c.concat(zH(a,[m],n)):(p=s&&m.expression?HH(a.checker,s,m.expression):m.expression,c.push.apply(c,jH(p,null==(i=r.typeArguments)?void 0:i[0])))):c.push(m)}if($H(r,a))return c.map((function(e){return Ni.getSynthesizedDeepClone(e)}));for(var _=c,f=n,g=a,y=l,h=[],v=0,b=_;v<b.length;v++){var E,T=b[v];Ni.isReturnStatement(T)?T.expression&&(E=FH(T.expression,g.checker)?Ni.factory.createAwaitExpression(T.expression):T.expression,h.push(void 0===f?Ni.factory.createExpressionStatement(E):Ni.factory.createVariableStatement(void 0,Ni.factory.createVariableDeclarationList([Ni.factory.createVariableDeclaration(XH(f),void 0,void 0,E)],2)))):h.push(Ni.getSynthesizedDeepClone(T))}return y||void 0===f||h.push(Ni.factory.createVariableStatement(void 0,Ni.factory.createVariableDeclarationList([Ni.factory.createVariableDeclaration(XH(f),void 0,void 0,Ni.factory.createIdentifier("undefined"))],2))),h}return 0<(y=zH(a,Ni.isFixablePromiseHandler(o,a.checker)?[Ni.factory.createReturnStatement(o)]:Ni.emptyArray,n)).length?y:s?(p=HH(a.checker,s,o),$H(r,a)?jH(p,null==(o=r.typeArguments)?void 0:o[0]):(o=VH(n,p,void 0),n&&n.types.push(s),o)):BH();default:return BH()}return Ni.emptyArray}function HH(e,n,t){return t=Ni.getSynthesizedDeepClone(t),e.getPromisedTypeOfPromise(n)?Ni.factory.createAwaitExpression(t):t}function WH(e,n){return n=n.getSignaturesOfType(e,0),Ni.lastOrUndefined(n)}function zH(e,n,t){for(var r=[],a=0,i=n;a<i.length;a++){var o=i[a];Ni.forEachChild(o,(function n(a){var i;Ni.isCallExpression(a)?(i=UH(a,e,t),(r=r.concat(i)).length):Ni.isFunctionLike(a)||Ni.forEachChild(a,n)}))}return r}function JH(e,n){var t,r=[];if(Ni.isFunctionLikeDeclaration(e)?0<e.parameters.length&&(t=function e(n){if(Ni.isIdentifier(n))return a(n);var t=Ni.flatMap(n.elements,(function(n){return Ni.isOmittedExpression(n)?[]:[e(n.name)]}));return QH(n,t)}(e.parameters[0].name)):Ni.isIdentifier(e)?t=a(e):Ni.isPropertyAccessExpression(e)&&Ni.isIdentifier(e.name)&&(t=a(e.name)),t&&(!("identifier"in t)||"undefined"!==t.identifier.text))return t;function a(e){var t=(t=e).original||t;t=(t=t).symbol||n.checker.getSymbolAtLocation(t);return t&&n.synthNamesMap.get(Ni.getSymbolId(t).toString())||YH(e,r)}}function qH(e){return!e||(ZH(e)?!e.identifier.text:Ni.every(e.elements,qH))}function XH(e){return ZH(e)?e.identifier:e.bindingPattern}function YH(e,n){return{kind:0,identifier:e,types:n=void 0===n?[]:n,hasBeenDeclared:!1}}function QH(e,n,t){return{kind:1,bindingPattern:e,elements:n=void 0===n?Ni.emptyArray:n,types:t=void 0===t?[]:t}}function ZH(e){return 0===e.kind}function $H(e,n){return e.original&&n.setOfExpressionsToReturn.has(Ni.getNodeId(e.original))}function eW(e,n){e.forEachChild((function t(r){var a;wi.isPropertyAccessExpression(r)&&wi.isExportsOrModuleExportsOrAlias(e,r.expression)&&wi.isIdentifier(r.name)&&(a=r.parent,n(r,wi.isBinaryExpression(a)&&a.left===r&&63===a.operatorToken.kind)),r.forEachChild(t)}))}function nW(e,n,t,r,a,i,o){var s,c=n.declarationList,l=!1,d=wi.map(c.declarations,(function(n){var t=n.name,s=n.initializer;if(s){if(wi.isExportsOrModuleExportsOrAlias(e,s))return l=!0,pW([]);if(wi.isRequireCall(s,!0)){l=!0;var d=t,u=s.arguments[0],p=r,m=a,_=i,f=o;switch(d.kind){case 199:var g=wi.mapAllOrFail(d.elements,(function(e){return e.dotDotDotToken||e.initializer||e.propertyName&&!wi.isIdentifier(e.propertyName)||!wi.isIdentifier(e.name)?void 0:lW(e.propertyName&&e.propertyName.text,e.name.text)}));if(g)return pW([wi.makeImport(void 0,g,u,f)]);case 200:return g=iW(Mi.moduleSpecifierToValidIdentifier(u.text,_),m),pW([wi.makeImport(wi.factory.createIdentifier(g),void 0,u,f),dW(void 0,wi.getSynthesizedDeepClone(d),wi.factory.createIdentifier(g))]);case 79:return((e,n,t,r,a)=>{for(var i,o=t.getSymbolAtLocation(e),s=new wi.Map,c=!1,l=0,d=r.original.get(e.text);l<d.length;l++){var u,p,m,_=d[l];t.getSymbolAtLocation(_)===o&&_!==e&&(u=_.parent,wi.isPropertyAccessExpression(u)?"default"===(p=u.name.text)?(c=!0,m=_.getText(),(null!=i?i:i=new wi.Map).set(u,wi.factory.createIdentifier(m))):(wi.Debug.assert(u.expression===_,"Didn't expect expression === use"),void 0===(m=s.get(p))&&(m=iW(p,r),s.set(p,m)),(null!=i?i:i=new wi.Map).set(u,wi.factory.createIdentifier(m))):c=!0)}var f=0===s.size?void 0:wi.arrayFrom(wi.mapIterator(s.entries(),(function(e){var n=e[0];e=e[1];return wi.factory.createImportSpecifier(n===e?void 0:wi.factory.createIdentifier(n),wi.factory.createIdentifier(e))})));return f||(c=!0),pW([wi.makeImport(c?wi.getSynthesizedDeepClone(e):void 0,f,n,a)],i)})(d,u,p,m,f);default:return wi.Debug.assertNever(d,"Convert to ES6 module got invalid name kind "+d.kind)}return}if(wi.isPropertyAccessExpression(s)&&wi.isRequireCall(s.expression,!0)){l=!0;var y=t,h=s.name.text,v=s.expression.arguments[0],b=a,E=o;switch(y.kind){case 199:case 200:var T=iW(h,b);return pW([cW(T,h,v,E),dW(void 0,y,wi.factory.createIdentifier(T))]);case 79:return pW([cW(y.text,h,v,E)]);default:return wi.Debug.assertNever(y,"Convert to ES6 module got invalid syntax form "+y.kind)}return}}return pW([wi.factory.createVariableStatement(void 0,wi.factory.createVariableDeclarationList([n],c.flags))])}));if(l)return t.replaceNodeWithNodes(e,n,wi.flatMap(d,(function(e){return e.newImports}))),wi.forEach(d,(function(e){e.useSitesToUnqualify&&wi.copyEntries(e.useSitesToUnqualify,null!=s?s:s=new wi.Map)})),s}function tW(e){return uW(void 0,e)}function rW(e){return uW([wi.factory.createExportSpecifier(void 0,"default")],e)}function aW(e,n){return n&&wi.some(wi.arrayFrom(n.keys()),(function(n){return wi.rangeContainsRange(e,n)}))?wi.isArray(e)?wi.getSynthesizedDeepClonesWithReplacements(e,!0,t):wi.getSynthesizedDeepCloneWithReplacements(e,!0,t):e;function t(e){var t;if(204===e.kind)return t=n.get(e),n.delete(e),t}}function iW(e,n){for(;n.original.has(e)||n.additional.has(e);)e="_"+e;return n.additional.add(e),e}function oW(e){var n=e.parent;switch(n.kind){case 204:return n.name!==e;case 201:case 268:return n.propertyName!==e;default:return!0}}function sW(e,n,t,r){return wi.factory.createFunctionDeclaration(wi.getSynthesizedDeepClones(t.decorators),wi.concatenate(n,wi.getSynthesizedDeepClones(t.modifiers)),wi.getSynthesizedDeepClone(t.asteriskToken),e,wi.getSynthesizedDeepClones(t.typeParameters),wi.getSynthesizedDeepClones(t.parameters),wi.getSynthesizedDeepClone(t.type),wi.factory.converters.convertToFunctionBlock(aW(t.body,r)))}function cW(e,n,t,r){return"default"===n?wi.makeImport(wi.factory.createIdentifier(e),void 0,t,r):wi.makeImport(void 0,[lW(n,e)],t,r)}function lW(e,n){return wi.factory.createImportSpecifier(void 0!==e&&e!==n?wi.factory.createIdentifier(e):void 0,wi.factory.createIdentifier(n))}function dW(e,n,t){return wi.factory.createVariableStatement(e,wi.factory.createVariableDeclarationList([wi.factory.createVariableDeclaration(n,void 0,void 0,t)],2))}function uW(e,n){return wi.factory.createExportDeclaration(void 0,void 0,!1,e&&wi.factory.createNamedExports(e),void 0===n?void 0:wi.factory.createStringLiteral(n))}function pW(e,n){return{newImports:e,useSitesToUnqualify:n}}function mW(e,n){return e=Fi.findAncestor(Fi.getTokenAtPosition(e,n),Fi.isQualifiedName),Fi.Debug.assert(!!e,"Expected position to be owned by a qualified name."),Fi.isIdentifier(e.left)?e:void 0}function _W(e,n,t){var r=t.right.text;r=Fi.factory.createIndexedAccessTypeNode(Fi.factory.createTypeReferenceNode(t.left,void 0),Fi.factory.createLiteralTypeNode(Fi.factory.createStringLiteral(r)));e.replaceNode(n,t,r)}function fW(e,n){return Vi.tryCast(Vi.getTokenAtPosition(n,e.start).parent,Vi.isExportSpecifier)}function gW(e,n,t){var r,a,i;n&&(r=(i=n.parent).parent,(a=((e,n)=>{var t,r=e.parent;return 1===r.elements.length?r.elements:(t=Vi.getDiagnosticsWithinSpan(Vi.createTextSpanFromNode(r),n.program.getSemanticDiagnostics(n.sourceFile,n.cancellationToken)),Vi.filter(r.elements,(function(n){return n===e||(null==(n=Vi.findDiagnosticForNode(n,t))?void 0:n.code)===Ki[0]})))})(n,t)).length===i.elements.length?e.insertModifierBefore(t.sourceFile,150,i):(n=Vi.factory.updateExportDeclaration(r,r.decorators,r.modifiers,!1,Vi.factory.updateNamedExports(i,Vi.filter(i.elements,(function(e){return!Vi.contains(a,e)}))),r.moduleSpecifier),i=Vi.factory.createExportDeclaration(void 0,void 0,!0,Vi.factory.createNamedExports(a),r.moduleSpecifier),e.replaceNode(t.sourceFile,r,n,{leadingTriviaOption:Vi.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:Vi.textChanges.TrailingTriviaOption.Exclude}),e.insertNodeAfter(t.sourceFile,r,i)))}function yW(e,n){return Wi.tryCast(Wi.getTokenAtPosition(n,e.start).parent,Wi.isImportDeclaration)}function hW(e,n,t){var r;null!=n&&n.importClause&&(r=n.importClause,e.insertText(t.sourceFile,n.getStart()+"import".length," type"),r.name)&&r.namedBindings&&(e.deleteNodeRangeExcludingEnd(t.sourceFile,r.name,n.importClause.namedBindings),e.insertNodeBefore(t.sourceFile,n,Wi.factory.updateImportDeclaration(n,void 0,void 0,Wi.factory.createImportClause(!0,r.name,void 0),n.moduleSpecifier)))}function vW(e,n){var t;n=Xi.getTokenAtPosition(e,n);if(Xi.isIdentifier(n))return t=Xi.cast(n.parent.parent,Xi.isPropertySignature),n=n.getText(e),{container:Xi.cast(t.parent,Xi.isTypeLiteralNode),typeNode:t.type,constraint:n,name:"K"===n?"P":"K"}}function bW(e,n,t){var r=t.container,a=t.typeNode;e.replaceNode(n,r,Xi.factory.createMappedTypeNode(void 0,Xi.factory.createTypeParameterDeclaration(t.name,Xi.factory.createTypeReferenceNode(t.constraint)),void 0,void 0,a))}function EW(e,n){return $i.Debug.checkDefined($i.getContainingClass($i.getTokenAtPosition(e,n)),"There should be a containing class")}function TW(e){return!(e.valueDeclaration&&8&$i.getEffectiveModifierFlags(e.valueDeclaration))}function SW(e,n,t,r,a,i){var o=e.program.getTypeChecker(),s=(c=r,l=o,(c=$i.getEffectiveBaseTypeNode(c))?(c=l.getTypeAtLocation(c),l=l.getPropertiesOfType(c),$i.createSymbolTable(l.filter(TW))):$i.createSymbolTable()),c=o.getTypeAtLocation(n),l=o.getPropertiesOfType(c).filter($i.and(TW,(function(e){return!s.has(e.escapedName)}))),d=(n=o.getTypeAtLocation(r),$i.find(r.members,(function(e){return $i.isConstructorDeclaration(e)})));n.getNumberIndexType()||u(c,1),n.getStringIndexType()||u(c,0),n=eo.createImportAdder(t,e.program,i,e.host);function u(n,a){n=o.getIndexInfoOfType(n,a),n&&p(t,r,o.indexInfoToIndexSignatureDeclaration(n,r,void 0,eo.getNoopSymbolTrackerWithResolver(e)))}function p(e,n,t){d?a.insertNodeAfter(e,d,t):a.insertNodeAtClassStart(e,n,t)}eo.createMissingMemberNodes(r,l,t,e,i,n,(function(e){return p(t,r,e)})),n.writeFixes(a)}function xW(e,n,t,r,a){var i=n.getCompilerOptions(),o=[],s=[],c=new ro.Map,l=new ro.Map;return{addImportFromDiagnostic:function(e,n){n=NW(n,e.code,e.start,t),n&&n.fixes.length&&d(n)},addImportFromExportedSymbol:function(o,s){var c=ro.Debug.checkDefined(o.parent),l=ro.getNameForExportedSymbol(o,ro.getEmitScriptTarget(i)),u=n.getTypeChecker();o=u.getMergedSymbol(ro.skipAlias(o,u)),u=DW(e,o,c,l,a,n,r,t),o=!!s&&2===i.importsNotUsedAsValues,s=CW(e,n),u=LW(e,u,c,l,n,void 0,o,s,a,r);u&&d({fixes:[u],symbolName:l})},writeFixes:function(n){for(var t=ro.getQuotePreference(e,r),a=0,i=o;a<i.length;a++){var d=i[a];MW(n,e,d)}for(var u,p=0,m=s;p<m.length;p++)d=m[p],FW(n,e,d,t);c.forEach((function(t){var r=t.importClauseOrBindingPattern;wW(n,e,r,t.defaultImport,t.namedImports,t.canUseTypeOnlyImport)})),l.forEach((function(e,n){var r=e.useRequire;e=au(e,["useRequire"]),r=r?UW:BW;u=ro.combine(u,r(n,t,e))})),u&&ro.insertImports(n,e,u,!0)}};function d(e){var n=e.fixes,t=e.symbolName,r=ro.first(n);switch(r.kind){case 0:o.push(r);break;case 1:s.push(r);break;case 2:var a=r.importClauseOrBindingPattern,i=r.importKind,d=r.canUseTypeOnlyImport,u=String(ro.getNodeId(a));(p=c.get(u))||c.set(u,p={importClauseOrBindingPattern:a,defaultImport:void 0,namedImports:[],canUseTypeOnlyImport:d}),0===i?ro.pushIfUnique(p.namedImports,t):(ro.Debug.assert(void 0===p.defaultImport||p.defaultImport===t,"(Add to Existing) Default import should be missing or match symbolName"),p.defaultImport=t);break;case 3:var p;u=r.moduleSpecifier,i=r.importKind,a=r.useRequire,d=r.typeOnly;switch((p=l.get(u))?p.typeOnly=p.typeOnly&&d:l.set(u,p={namedImports:[],namespaceLikeImport:void 0,typeOnly:d,useRequire:a}),i){case 1:ro.Debug.assert(void 0===p.defaultImport||p.defaultImport===t,"(Add new) Default import should be missing or match symbolName"),p.defaultImport=t;break;case 0:ro.pushIfUnique(p.namedImports||(p.namedImports=[]),t);break;case 3:case 2:ro.Debug.assert(void 0===p.namespaceLikeImport||p.namespaceLikeImport.name===t,"Namespacelike import shoudl be missing or match symbolName"),p.namespaceLikeImport={importKind:i,name:t}}break;default:ro.Debug.assertNever(r,"fix wasn't never - got kind "+r.kind)}}}function LW(e,n,t,r,a,i,o,s,c,l){return ro.Debug.assert(n.some((function(e){return e.moduleSymbol===t||e.symbol.parent===t})),"Some exportInfo should match the specified moduleSymbol"),kW(AW(n,r,i,o,s,a,e,c,l),e,a,c,l)}function DW(e,n,t,r,a,i,o,s){var c=[],l=i.getCompilerOptions(),d=ro.memoizeOne((function(e){return ro.createModuleSpecifierResolutionHost(e?a.getPackageJsonAutoImportProvider():i,a)}));return ro.forEachExternalModuleToImportFrom(i,a,s,(function(a,i,o,s){var d=o.getTypeChecker();if(!i||a===t||!ro.startsWith(e.fileName,ro.getDirectoryPath(i.fileName))){var p=ro.getDefaultLikeExportInfo(a,d,l);p&&(p.name===r||KW(a,l.target)===r)&&ro.skipAlias(p.symbol,d)===n&&u(o,i,s)&&c.push({symbol:p.symbol,moduleSymbol:a,moduleFileName:null==i?void 0:i.fileName,exportKind:p.exportKind,targetFlags:ro.skipAlias(p.symbol,d).flags,isFromPackageJson:s});for(var m=0,_=d.getExportsAndPropertiesOfModule(a);m<_.length;m++){var f=_[m];f.name===r&&ro.skipAlias(f,d)===n&&u(o,i,s)&&c.push({symbol:f,moduleSymbol:a,moduleFileName:null==i?void 0:i.fileName,exportKind:0,targetFlags:ro.skipAlias(f,d).flags,isFromPackageJson:s})}}})),c;function u(n,t,r){return!t||ro.isImportableFile(n,e,t,o,void 0,d(r),null==(n=a.getModuleSpecifierCache)?void 0:n.call(a))}}function AW(e,n,t,r,a,i,o,s,c){var l,d,u,p,m=i.getTypeChecker(),_=ro.flatMap(e,(function(e){return e=e,n=m,t=o,r=i.getCompilerOptions(),s=e.moduleSymbol,c=e.exportKind,111551&e.targetFlags||!ro.isSourceFileJS(t)?(a=OW(t,c,r),ro.mapDefined(t.imports,(function(e){var t=ro.importFromModuleSpecifier(e);return ro.isRequireVariableDeclaration(t.parent)?n.resolveExternalModuleName(e)===s?{declaration:t.parent,importKind:a}:void 0:264!==t.kind&&263!==t.kind||n.getSymbolAtLocation(e)!==s?void 0:{declaration:t,importKind:a}}))):ro.emptyArray;var n,t,r,a,s,c})),f=(n=void 0===t?void 0:(l=n,d=t,u=m,ro.firstDefined(_,(function(e){e=e.declaration;var n=(e=>{var n;switch(e.kind){case 252:return null==(n=ro.tryCast(e.name,ro.isIdentifier))?void 0:n.text;case 263:return e.name.text;case 264:return null==(n=ro.tryCast(null==(n=e.importClause)?void 0:n.namedBindings,ro.isNamespaceImport))?void 0:n.name.text;default:return ro.Debug.assertNever(e)}})(e),t=ro.tryGetModuleSpecifierFromDeclaration(e);if(n&&t&&(e=((e,n)=>{switch(e.kind){case 252:return n.resolveExternalModuleName(e.initializer.arguments[0]);case 263:return n.getAliasedSymbol(e.symbol);case 264:var t=ro.tryCast(null==(t=e.importClause)?void 0:t.namedBindings,ro.isNamespaceImport);return t&&n.getAliasedSymbol(t.symbol);default:return ro.Debug.assertNever(e)}})(e,u),e&&e.exports.has(ro.escapeLeadingUnderscores(l))))return{kind:0,namespacePrefix:n,position:d,moduleSpecifier:t}}))),f=_,p=void 0!==t&&ro.isValidTypeOnlyAliasUseSite(ro.getTokenAtPosition(o,t)),ro.firstDefined(f,(function(e){var n,t,r,a=e.declaration;e=e.importKind;if(263!==a.kind)return 252===a.kind?0!==e&&1!==e||199!==a.name.kind?void 0:{kind:2,importClauseOrBindingPattern:a.name,importKind:e,moduleSpecifier:a.initializer.arguments[0].text,canUseTypeOnlyImport:!1}:(n=a.importClause)&&ro.isStringLiteralLike(a.moduleSpecifier)&&(t=n.name,r=n.namedBindings,!n.isTypeOnly||0===e&&r)&&(1===e&&!t||0===e&&(!r||267===r.kind))?{kind:2,importClauseOrBindingPattern:n,importKind:e,moduleSpecifier:a.moduleSpecifier.text,canUseTypeOnlyImport:p}:void 0})));f=f?[f]:((e,n,t,r,a,i,o,s,c)=>(n=ro.firstDefined(n,(function(e){return t=i,r=o,a=(n=e).declaration,n=e.importKind,(a=ro.tryGetModuleSpecifierFromDeclaration(a))?{kind:3,moduleSpecifier:a,importKind:n,typeOnly:t,useRequire:r}:void 0;var n,t,r,a})))?[n]:IW(t,r,a,i,o,e,s,c).fixes)(e,_,i,o,t,r,a,s,c);return eu(eu([],n?[n]:ro.emptyArray,!0),f,!0)}function CW(e,n){if(!ro.isSourceFileJS(e))return!1;if(!e.commonJsModuleIndicator||e.externalModuleIndicator){if(e.externalModuleIndicator&&!e.commonJsModuleIndicator)return!1;var t=n.getCompilerOptions();if(t.configFile)return ro.getEmitModuleKind(t)<ro.ModuleKind.ES2015;for(var r=0,a=n.getSourceFiles();r<a.length;r++){var i=a[r];if(i!==e&&ro.isSourceFileJS(i)&&!n.isSourceFileFromExternalLibrary(i)){if(i.commonJsModuleIndicator&&!i.externalModuleIndicator)return!0;if(i.externalModuleIndicator&&!i.commonJsModuleIndicator)return!1}}}return!0}function IW(e,n,t,r,a,i,o,s,c){var l=ro.isSourceFileJS(n),d=e.getCompilerOptions(),u=ro.createModuleSpecifierResolutionHost(e,o),p=e.getTypeChecker(),m=c?function(e){return{moduleSpecifiers:ro.moduleSpecifiers.tryGetModuleSpecifiersFromCache(e,n,u,s),computedWithoutCache:!1}}:function(e){return ro.moduleSpecifiers.getModuleSpecifiersWithCacheInfo(e,p,d,n,u,s)},_=0;o=ro.flatMap(i,(function(e){var i=m(e.moduleSymbol),o=i.computedWithoutCache;i=i.moduleSpecifiers;return _+=o?1:0,null==i?void 0:i.map((function(i){return 111551&e.targetFlags||!l||void 0===t?{kind:3,moduleSpecifier:i,importKind:OW(n,e.exportKind,d),useRequire:a,typeOnly:r,exportInfo:e}:{kind:1,moduleSpecifier:i,position:t,exportInfo:e}}))}));return{computedWithoutCacheCount:_,fixes:o}}function NW(e,n,t,r){t=ro.getTokenAtPosition(e.sourceFile,t);var a,i,o,s,c,l,d,u,p,m,_,f=n===ro.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code?((e,n)=>{var t,r=e.sourceFile,a=e.program,i=e.host,o=(e=e.preferences,a.getTypeChecker()),s=((e,n)=>{var t=ro.isIdentifier(e)?n.getSymbolAtLocation(e):void 0;return ro.isUMDExportSymbol(t)?t:(t=e.parent,ro.isJsxOpeningLikeElement(t)&&t.tagName===e||ro.isJsxOpeningFragment(t)?ro.tryCast(n.resolveName(n.getJsxNamespace(t),ro.isJsxOpeningLikeElement(t)?e:t,111551,!1),ro.isUMDExportSymbol):void 0)})(n,o);if(s)return o=o.getAliasedSymbol(s),t=s.name,s=[{symbol:s,moduleSymbol:o,moduleFileName:void 0,exportKind:3,targetFlags:o.flags,isFromPackageJson:!1}],o=CW(r,a),{fixes:AW(s,t,ro.isIdentifier(n)?n.getStart(r):void 0,!1,o,a,r,i,e),symbolName:t}})(e,t):ro.isIdentifier(t)?(a=t,n=r,i=(t=e).sourceFile,o=t.program,r=t.cancellationToken,s=t.host,c=t.preferences,t=o.getTypeChecker(),f=o.getCompilerOptions(),l=((e,n,t,r)=>{var a=t.parent;return(ro.isJsxOpeningLikeElement(a)||ro.isJsxClosingElement(a))&&a.tagName===t&&4!==r.jsx&&5!==r.jsx&&(r=n.getJsxNamespace(e),ro.isIntrinsicJsxName(t.text)||!n.resolveName(r,a,111551,!0))?r:t.text})(i,t,a,f),ro.Debug.assert("default"!==l,"'default' isn't a legal identifier and couldn't occur here"),d=2===f.importsNotUsedAsValues&&ro.isValidTypeOnlyAliasUseSite(a),u=CW(i,o),t=((e,n,t,r,a,i,o,s)=>{var c,l=ro.createMultiMap(),d=ro.createPackageJsonImportFilter(r,s,o),u=null==(c=o.getModuleSpecifierCache)?void 0:c.call(o),p=ro.memoizeOne((function(e){return ro.createModuleSpecifierResolutionHost(e?o.getPackageJsonAutoImportProvider():a,o)}));function m(e,n,t,a,i,o){var c=p(o);(n&&ro.isImportableFile(i,r,n,s,d,c,u)||!n&&d.allowsImportingAmbientModule(e,c))&&(c=i.getTypeChecker(),l.add(ro.getUniqueSymbolId(t,c).toString(),{symbol:t,moduleSymbol:e,moduleFileName:null==n?void 0:n.fileName,exportKind:a,targetFlags:ro.skipAlias(t,c).flags,isFromPackageJson:o}))}return ro.forEachExternalModuleToImportFrom(a,o,i,(function(r,a,i,o){var s=i.getTypeChecker(),c=(t.throwIfCancellationRequested(),i.getCompilerOptions()),l=ro.getDefaultLikeExportInfo(r,s,c);l&&(l.name===e||KW(r,c.target)===e)&&jW(l.symbolForMeaning,n)&&m(r,a,l.symbol,l.exportKind,i,o),c=s.tryGetMemberInModuleExportsAndProperties(e,r);c&&jW(c,n)&&m(r,a,c,0,i,o)})),l})(l,ro.getMeaningFromLocation(a),r,i,o,n,s,c),{fixes:ro.arrayFrom(ro.flatMapIterator(t.entries(),(function(e){return e[0],AW(e[1],l,a.getStart(i),d,u,o,i,s,c)}))),symbolName:l}):void 0;return f&&nu(nu({},f),{fixes:(r=f.fixes,p=e.sourceFile,m=e.program,n=e.host,t=e.preferences,_=ro.createPackageJsonImportFilter(p,t,n).allowsImportingSpecifier,ro.sort(r,(function(e,n){return ro.compareValues(e.kind,n.kind)||RW(e,n,p,m,_)})))})}function kW(e,n,t,r,a){var i;if(ro.some(e))return 0===e[0].kind||2===e[0].kind?e[0]:(i=ro.createPackageJsonImportFilter(n,a,r).allowsImportingSpecifier,e.reduce((function(e,r){return-1===RW(r,e,n,t,i)?r:e})))}function RW(e,n,t,r,a){var i;return 0!==e.kind&&0!==n.kind?ro.compareBooleans(a(e.moduleSpecifier),a(n.moduleSpecifier))||(a=e.moduleSpecifier,i=n.moduleSpecifier,t=t,r=r,ro.startsWith(a,"node:")&&!ro.startsWith(i,"node:")?ro.shouldUseUriStyleNodeCoreModules(t,r)?-1:1:ro.startsWith(i,"node:")&&!ro.startsWith(a,"node:")?ro.shouldUseUriStyleNodeCoreModules(t,r)?1:-1:0)||ro.compareNumberOfDirectorySeparators(e.moduleSpecifier,n.moduleSpecifier):0}function OW(e,n,t,r){switch(n){case 0:return 0;case 1:return 1;case 2:var a=e,i=t,o=!!r,s=ro.getAllowSyntheticDefaultImports(i),c=ro.isInJSFile(a);if(!c&&ro.getEmitModuleKind(i)>=ro.ModuleKind.ES2015)return s?1:2;if(c)return ro.isExternalModule(a)||o?s?1:2:3;for(var l=0,d=a.statements;l<d.length;l++){var u=d[l];if(ro.isImportEqualsDeclaration(u)&&!ro.nodeIsMissing(u.moduleReference))return 3}return s?1:3;case 3:var p=e,m=(i=t,!!r);if(ro.getAllowSyntheticDefaultImports(i))return 1;var _=ro.getEmitModuleKind(i);switch(_){case ro.ModuleKind.AMD:case ro.ModuleKind.CommonJS:case ro.ModuleKind.UMD:return ro.isInJSFile(p)&&(ro.isExternalModule(p)||m)?2:3;case ro.ModuleKind.System:case ro.ModuleKind.ES2015:case ro.ModuleKind.ES2020:case ro.ModuleKind.ESNext:case ro.ModuleKind.None:return 2;default:return ro.Debug.assertNever(_,"Unexpected moduleKind "+_)}return;default:return ro.Debug.assertNever(n)}}function PW(e,n,t,r,a){var i;e=ro.textChanges.ChangeTracker.with(e,(function(e){i=((e,n,t,r,a)=>{switch(r.kind){case 0:return MW(e,n,r),[ro.Diagnostics.Change_0_to_1,t,r.namespacePrefix+"."+t];case 1:return FW(e,n,r,a),[ro.Diagnostics.Change_0_to_1,t,GW(r.moduleSpecifier,a)+t];case 2:var i=r.importClauseOrBindingPattern,o=r.importKind,s=r.canUseTypeOnlyImport,c=r.moduleSpecifier;i=(wW(e,n,i,1===o?t:void 0,0===o?[t]:ro.emptyArray,s),ro.stripQuotes(c));return[1===o?ro.Diagnostics.Add_default_import_0_to_existing_import_declaration_from_1:ro.Diagnostics.Add_0_to_existing_import_declaration_from_1,t,i];case 3:return o=r.importKind,c=r.moduleSpecifier,s=r.typeOnly,i=r.useRequire?UW:BW,s=1===o?{defaultImport:t,typeOnly:s}:0===o?{namedImports:[t],typeOnly:s}:{namespaceLikeImport:{importKind:o,name:t},typeOnly:s},ro.insertImports(e,n,i(c,a,s),!0),[1===o?ro.Diagnostics.Import_default_0_from_module_1:ro.Diagnostics.Import_0_from_module_1,t,c];default:return ro.Debug.assertNever(r,"Unexpected fix kind "+r.kind)}})(e,n,t,r,a)}));return ao.createCodeFixAction(ao.importFixName,e,i,io,ro.Diagnostics.Add_all_missing_imports)}function wW(e,n,t,r,a,i){if(199===t.kind){r&&f(t,r,"default");for(var o=0,s=a;o<s.length;o++)f(t,s[o],void 0)}else{if(i=!i&&t.isTypeOnly,r&&(ro.Debug.assert(!t.name,"Cannot add a default import to an import clause that already has one"),e.insertNodeAt(n,t.getStart(n),ro.factory.createIdentifier(r),{suffix:", "})),a.length){var c=t.namedBindings&&ro.cast(t.namedBindings,ro.isNamedImports).elements;r=ro.stableSort(a.map((function(e){return ro.factory.createImportSpecifier(void 0,ro.factory.createIdentifier(e))})),ro.OrganizeImports.compareImportOrExportSpecifiers);if(null!=c&&c.length&&ro.OrganizeImports.importSpecifiersAreSorted(c))for(var l=0,d=r;l<d.length;l++){var u=d[l],p=ro.OrganizeImports.getImportSpecifierInsertionIndex(c,u);p=t.namedBindings.elements[p-1];p?e.insertNodeInListAfter(n,p,u):e.insertNodeBefore(n,c[0],u,!ro.positionsAreOnSameLine(c[0].getStart(),t.parent.getStart(),n))}else if(null!=c&&c.length)for(var m=0,_=r;m<_.length;m++)u=_[m],e.insertNodeInListAfter(n,ro.last(c),u,c);else r.length&&(a=ro.factory.createNamedImports(r),t.namedBindings?e.replaceNode(n,t.namedBindings,a):e.insertNodeAfter(n,ro.Debug.checkDefined(t.name,"Import clause must have either named imports or a default import"),a))}i&&e.delete(n,ro.getTypeKeywordOfTypeOnlyImport(t,n))}function f(t,r,a){a=ro.factory.createBindingElement(void 0,a,r),t.elements.length?e.insertNodeInListAfter(n,ro.last(t.elements),a):e.replaceNode(n,t,ro.factory.createObjectBindingPattern([a]))}}function MW(e,n,t){var r=t.namespacePrefix;e.insertText(n,t.position,r+".")}function FW(e,n,t,r){var a=t.moduleSpecifier;e.insertText(n,t.position,GW(a,r))}function GW(e,n){return n=ro.getQuoteFromPreference(n),"import("+n+e+n+")."}function BW(e,n,t){var r,a=ro.makeStringLiteral(e,n),i=((void 0!==t.defaultImport||null!=(i=t.namedImports)&&i.length)&&(r=ro.combine(r,ro.makeImport(void 0===t.defaultImport?void 0:ro.factory.createIdentifier(t.defaultImport),null==(i=t.namedImports)?void 0:i.map((function(e){return ro.factory.createImportSpecifier(void 0,ro.factory.createIdentifier(e))})),e,n,t.typeOnly))),t.namespaceLikeImport);e=t.typeOnly;return i&&(n=3===i.importKind?ro.factory.createImportEqualsDeclaration(void 0,void 0,e,ro.factory.createIdentifier(i.name),ro.factory.createExternalModuleReference(a)):ro.factory.createImportDeclaration(void 0,void 0,ro.factory.createImportClause(e,void 0,ro.factory.createNamespaceImport(ro.factory.createIdentifier(i.name))),a),r=ro.combine(r,n)),ro.Debug.checkDefined(r)}function UW(e,n,t){var r,a;e=ro.makeStringLiteral(e,n);return(t.defaultImport||null!=(n=t.namedImports)&&n.length)&&(n=(null==(n=t.namedImports)?void 0:n.map((function(e){return ro.factory.createBindingElement(void 0,void 0,e)})))||[],t.defaultImport&&n.unshift(ro.factory.createBindingElement(void 0,"default",t.defaultImport)),a=VW(ro.factory.createObjectBindingPattern(n),e),r=ro.combine(r,a)),t.namespaceLikeImport&&(a=VW(t.namespaceLikeImport.name,e),r=ro.combine(r,a)),ro.Debug.checkDefined(r)}function VW(e,n){return ro.factory.createVariableStatement(void 0,ro.factory.createVariableDeclarationList([ro.factory.createVariableDeclaration("string"==typeof e?ro.factory.createIdentifier(e):e,void 0,void 0,ro.factory.createCallExpression(ro.factory.createIdentifier("require"),void 0,[n]))],2))}function jW(e,n){return e=e.declarations,ro.some(e,(function(e){return!!(ro.getMeaningFromDeclaration(e)&n)}))}function KW(e,n){return HW(ro.removeFileExtension(ro.stripQuotes(e.name)),n)}function HW(e,n){var t=ro.getBaseFileName(ro.removeSuffix(e,"/index")),r="",a=!0;e=t.charCodeAt(0);ro.isIdentifierStart(e,n)?r+=String.fromCharCode(e):a=!1;for(var i=1;i<t.length;i++){var o=t.charCodeAt(i),s=ro.isIdentifierPart(o,n);s&&(o=String.fromCharCode(o),r+=o=a?o:o.toUpperCase()),a=s}return ro.isStringANonContextualKeyword(r)?"_"+r:r||"_"}function WW(e,n,t,r){switch(t){case so.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code:case so.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code:case so.Diagnostics.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code:return a=e,i=n.sourceFile,o=JW(i,o=r),s=o.modifiers||so.emptyArray,c=so.find(s,so.isStaticModifier),l=so.find(s,so.isAbstractModifier),s=so.find(s,(function(e){return so.isAccessibilityModifier(e.kind)})),o=l?l.end:c?c.end:s?s.end:o.decorators?so.skipTrivia(i.text,o.decorators.end):o.getStart(i),s=s||c||l?{prefix:" "}:{suffix:" "},void a.insertModifierAt(i,o,157,s);case so.Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code:case so.Diagnostics.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code:return c=e,l=n.sourceFile,a=r,a=(a=JW(l,a)).modifiers&&so.find(a.modifiers,(function(e){return 157===e.kind})),so.Debug.assertIsDefined(a),void c.deleteModifier(l,a);default:so.Debug.fail("Unexpected error code: "+t)}var a,i,o,s,c,l}function zW(e){switch(e.kind){case 169:case 165:case 167:case 170:case 171:return!0;case 162:return so.isParameterPropertyDeclaration(e,e.parent);default:return!1}}function JW(e,n){return e=so.getTokenAtPosition(e,n),n=so.findAncestor(e,(function(e){return so.isClassLike(e)?"quit":zW(e)})),so.Debug.assert(n&&zW(n)),n}function qW(e,n,t,r){r=mo.getQuotePreference(n,r),r=mo.factory.createStringLiteral(t.name.text,0===r),e.replaceNode(n,t,mo.isPropertyAccessChain(t)?mo.factory.createElementAccessChain(t.expression,t.questionDotToken,r):mo.factory.createElementAccessExpression(t.expression,r))}function XW(e,n){return mo.cast(mo.getTokenAtPosition(e,n).parent,mo.isPropertyAccessExpression)}function YW(e,n,t,r){var a,i,o;t=yo.getTokenAtPosition(n,t),yo.Debug.assert(108===t.kind),t=yo.getThisContainer(t,!1);return!yo.isFunctionDeclaration(t)&&!yo.isFunctionExpression(t)||yo.isSourceFile(yo.getThisContainer(t,!1))?void 0:(a=yo.Debug.assertDefined(yo.findChildOfKind(t,98,n)),i=t.name,o=yo.Debug.assertDefined(t.body),yo.isFunctionExpression(t)?i&&yo.FindAllReferences.Core.isSymbolReferencedInFile(i,r,n,o)?void 0:(e.delete(n,a),i&&e.delete(n,i),e.insertText(n,o.pos," =>"),[yo.Diagnostics.Convert_function_expression_0_to_arrow_function,i?i.text:yo.ANONYMOUS]):(e.replaceNode(n,a,yo.factory.createToken(85)),e.insertText(n,i.end," = "),e.insertText(n,o.pos," =>"),[yo.Diagnostics.Convert_function_declaration_0_to_arrow_function,i.text]))}function QW(e,n,t,r){n=xo.getTokenAtPosition(e,n);var a,i,o=n.parent;if(r!==xo.Diagnostics.No_overload_matches_this_call.code&&r!==xo.Diagnostics.Type_0_is_not_assignable_to_type_1.code||xo.isJsxAttribute(o))return r=t.program.getTypeChecker(),xo.isPropertyAccessExpression(o)&&o.name===n?(xo.Debug.assert(xo.isMemberName(n),"Expected an identifier for spelling (property access)"),a=r.getTypeAtLocation(o.expression),32&o.flags&&(a=r.getNonNullableType(a)),a=r.getSuggestedSymbolForNonexistentProperty(n,a)):xo.isQualifiedName(o)&&o.right===n?(i=r.getSymbolAtLocation(o.left))&&1536&i.flags&&(a=r.getSuggestedSymbolForNonexistentModule(o.right,i)):xo.isImportSpecifier(o)&&o.name===n?(xo.Debug.assertNode(n,xo.isIdentifier,"Expected an identifier for spelling (import)"),i=xo.findAncestor(n,xo.isImportDeclaration),e=e,t=t,(i=(i=i)&&xo.isStringLiteralLike(i.moduleSpecifier)&&(e=xo.getResolvedModule(e,i.moduleSpecifier.text))?t.program.getSourceFile(e.resolvedFileName):void 0)&&i.symbol&&(a=r.getSuggestedSymbolForNonexistentModule(n,i.symbol))):xo.isJsxAttribute(o)&&o.name===n?(xo.Debug.assertNode(n,xo.isIdentifier,"Expected an identifier for JSX attribute"),t=xo.findAncestor(n,xo.isJsxOpeningLikeElement),e=r.getContextualTypeForArgumentAtIndex(t,0),a=r.getSuggestedSymbolForNonexistentJSXAttribute(n,e)):xo.hasSyntacticModifier(o,16384)&&xo.isClassElement(o)&&o.name===n?(e=(t=(i=xo.findAncestor(n,xo.isClassLike))?xo.getEffectiveBaseTypeNode(i):void 0)?r.getTypeAtLocation(t):void 0)&&(a=r.getSuggestedSymbolForNonexistentClassMember(xo.getTextOfNode(n),e)):(o=xo.getMeaningFromLocation(n),i=xo.getTextOfNode(n),xo.Debug.assert(void 0!==i,"name should be defined"),a=r.getSuggestedSymbolForNonexistentSymbol(n,i,(e=>{var n=0;return 4&e&&(n|=1920),2&e&&(n|=788968),1&e&&(n|=111551),n})(o))),void 0===a?void 0:{node:n,suggestedSymbol:a}}function ZW(e,n,t,r,a){var i=xo.symbolName(r);xo.isIdentifierText(i,a)||!xo.isPropertyAccessExpression(t.parent)||(a=r.valueDeclaration)&&xo.isNamedDeclaration(a)&&xo.isPrivateIdentifier(a.name)?e.replaceNode(n,t,xo.factory.createIdentifier(i)):e.replaceNode(n,t.parent,xo.factory.createElementAccessExpression(t.parent.expression,xo.factory.createStringLiteral(i)))}function $W(e,n,t){return n=e.createSymbol(4,n.escapedText),n.type=e.getTypeAtLocation(t),t=Co.createSymbolTable([n]),e.createAnonymousType(void 0,t,[],[],[])}function ez(e,n,t,r){if(n.body&&Co.isBlock(n.body)&&1===Co.length(n.body.statements)){var a=Co.first(n.body.statements);if(Co.isExpressionStatement(a)&&nz(e,n,e.getTypeAtLocation(a.expression),t,r))return{declaration:n,kind:No.MissingReturnStatement,expression:a.expression,statement:a,commentSource:a.expression};if(Co.isLabeledStatement(a)&&Co.isExpressionStatement(a.statement)){var i=Co.factory.createObjectLiteralExpression([Co.factory.createPropertyAssignment(a.label,a.statement.expression)]);if(nz(e,n,$W(e,a.label,a.statement.expression),t,r))return Co.isArrowFunction(n)?{declaration:n,kind:No.MissingParentheses,expression:i,statement:a,commentSource:a.statement.expression}:{declaration:n,kind:No.MissingReturnStatement,expression:i,statement:a,commentSource:a.statement.expression}}else if(Co.isBlock(a)&&1===Co.length(a.statements)){var o=Co.first(a.statements);if(Co.isLabeledStatement(o)&&Co.isExpressionStatement(o.statement)&&(i=Co.factory.createObjectLiteralExpression([Co.factory.createPropertyAssignment(o.label,o.statement.expression)]),nz(e,n,$W(e,o.label,o.statement.expression),t,r)))return{declaration:n,kind:No.MissingReturnStatement,expression:i,statement:a,commentSource:o}}}}function nz(e,n,t,r,a){return a&&(t=(a=e.getSignatureFromDeclaration(n))?(Co.hasSyntacticModifier(n,256)&&(t=e.createPromiseType(t)),n=e.createSignature(n,a.typeParameters,a.thisParameter,a.parameters,t,void 0,a.minArgumentCount,a.flags),e.createAnonymousType(void 0,Co.createSymbolTable(),[n],[],[])):e.getAnyType()),e.isTypeAssignableTo(t,r)}function tz(e,n,t,r){var a=Co.getTokenAtPosition(n,t);if(a.parent){var i,o=Co.findAncestor(a.parent,Co.isFunctionLikeDeclaration);switch(r){case Co.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code:return o&&o.body&&o.type&&Co.rangeContainsRange(o.type,a)?ez(e,o,e.getTypeFromTypeNode(o.type),!1):void 0;case Co.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code:return o&&Co.isCallExpression(o.parent)&&o.body?(i=o.parent.arguments.indexOf(o),(i=e.getContextualTypeForArgumentAtIndex(o.parent,i))?ez(e,o,i,!0):void 0):void 0;case Co.Diagnostics.Type_0_is_not_assignable_to_type_1.code:return Co.isDeclarationName(a)&&(Co.isVariableLike(a.parent)||Co.isJsxAttribute(a.parent))&&(i=(e=>{switch(e.kind){case 252:case 162:case 201:case 165:case 291:return e.initializer;case 283:return e.initializer&&(Co.isJsxExpression(e.initializer)?e.initializer.expression:void 0);case 292:case 164:case 294:case 342:case 335:return}})(a.parent))&&Co.isFunctionLikeDeclaration(i)&&i.body?ez(e,i,e.getTypeAtLocation(a.parent),!0):void 0}}}function rz(e,n,t,r){Co.suppressLeadingAndTrailingTrivia(t);var a=Co.probablyUsesSemicolons(n);e.replaceNode(n,r,Co.factory.createReturnStatement(t),{leadingTriviaOption:Co.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:Co.textChanges.TrailingTriviaOption.Exclude,suffix:a?";":void 0})}function az(e,n,t,r,a,i){i=i||Co.needsParentheses(r)?Co.factory.createParenthesizedExpression(r):r,Co.suppressLeadingAndTrailingTrivia(a),Co.copyComments(a,i),e.replaceNode(n,t.body,i)}function iz(e,n,t,r){e.replaceNode(n,t.body,Co.factory.createParenthesizedExpression(r))}function oz(e,n,t,r){if(n=Mo.getTokenAtPosition(e,n),Mo.isIdentifier(n)||Mo.isPrivateIdentifier(n)){var a=n.parent;if(Mo.isIdentifier(n)&&Mo.hasInitializer(a)&&a.initializer&&Mo.isObjectLiteralExpression(a.initializer)){var i=Mo.arrayFrom(t.getUnmatchedProperties(t.getTypeAtLocation(a.initializer),t.getTypeAtLocation(n),!1,!1));if(Mo.length(i))return{kind:3,token:n,properties:i,parentDeclaration:a.initializer}}if(Mo.isIdentifier(n)&&Mo.isJsxOpeningLikeElement(n.parent)&&(i=((e,n)=>{var t=e.getContextualType(n.attributes);if(void 0===t)return Mo.emptyArray;if(t=t.getProperties(),!Mo.length(t))return Mo.emptyArray;for(var r=new Mo.Set,a=0,i=n.attributes.properties;a<i.length;a++){var o=i[a];if(Mo.isJsxAttribute(o)&&r.add(o.name.escapedText),Mo.isJsxSpreadAttribute(o)){o=e.getTypeAtLocation(o.expression);for(var s=0,c=o.getProperties();s<c.length;s++){var l=c[s];r.add(l.escapedName)}}}return Mo.filter(t,(function(e){return!(16777216&e.flags||48&Mo.getCheckFlags(e)||r.has(e.escapedName))}))})(t,n.parent),Mo.length(i)))return{kind:4,token:n,attributes:i,parentDeclaration:n.parent};if(Mo.isIdentifier(n)&&Mo.isCallExpression(a))return{kind:2,token:n,call:a,sourceFile:e,modifierFlags:0,parentDeclaration:e};if(Mo.isPropertyAccessExpression(a)){i=Mo.skipConstraint(t.getTypeAtLocation(a.expression));var o=i.symbol;if(o&&o.declarations){if(Mo.isIdentifier(n)&&Mo.isCallExpression(a.parent)){var s=Mo.find(o.declarations,Mo.isModuleDeclaration),c=null==s?void 0:s.getSourceFile();if(s&&c&&!sz(r,c))return{kind:2,token:n,call:a.parent,sourceFile:e,modifierFlags:1,parentDeclaration:s};if(c=Mo.find(o.declarations,Mo.isSourceFile),e.commonJsModuleIndicator)return;if(c&&!sz(r,c))return{kind:2,token:n,call:a.parent,sourceFile:c,modifierFlags:1,parentDeclaration:c}}s=Mo.find(o.declarations,Mo.isClassLike);if(s||!Mo.isPrivateIdentifier(n))return(e=s||Mo.find(o.declarations,Mo.isInterfaceDeclaration))&&!sz(r,e.getSourceFile())?(c=(i.target||i)!==t.getDeclaredTypeOfSymbol(o))&&(Mo.isPrivateIdentifier(n)||Mo.isInterfaceDeclaration(e))?void 0:(s=e.getSourceFile(),i=(c?32:0)|(Mo.startsWithUnderscore(n.text)?8:0),t=Mo.isSourceFileJS(s),{kind:1,token:n,call:Mo.tryCast(a.parent,Mo.isCallExpression),modifierFlags:i,parentDeclaration:e,declSourceFile:s,isJSFile:t}):!(c=Mo.find(o.declarations,Mo.isEnumDeclaration))||Mo.isPrivateIdentifier(n)||sz(r,c.getSourceFile())?void 0:{kind:0,token:n,parentDeclaration:c}}}}}function sz(e,n){return e.isSourceFileFromExternalLibrary(n)||e.isSourceFileDefaultLibrary(n)}function cz(e,n,t,r,a){var i=r.text;a?224!==t.kind&&(a=t.name.getText(),a=lz(Mo.factory.createIdentifier(a),i),e.insertNodeAfter(n,t,a)):Mo.isPrivateIdentifier(r)?(a=Mo.factory.createPropertyDeclaration(void 0,void 0,i,void 0,void 0,void 0),(r=pz(t))?e.insertNodeAfter(n,r,a):e.insertNodeAtClassStart(n,t,a)):(r=Mo.getFirstConstructorWithBody(t))&&(a=lz(Mo.factory.createThis(),i),e.insertNodeAtConstructorEnd(n,r,a))}function lz(e,n){return Mo.factory.createExpressionStatement(Mo.factory.createAssignment(Mo.factory.createPropertyAccessExpression(e,n),vz()))}function dz(e,n,t){var r;return(219===t.parent.parent.kind?(r=t.parent.parent,r=t.parent===r.left?r.right:r.left,r=e.getWidenedType(e.getBaseTypeOfLiteralType(e.getTypeAtLocation(r))),e.typeToTypeNode(r,n,1)):(r=e.getContextualType(t.parent))?e.typeToTypeNode(r,void 0,1):void 0)||Mo.factory.createKeywordTypeNode(129)}function uz(e,n,t,r,a,i){i=Mo.factory.createPropertyDeclaration(void 0,i?Mo.factory.createNodeArray(Mo.factory.createModifiersFromModifierFlags(i)):void 0,r,void 0,a,void 0),r=pz(t),r?e.insertNodeAfter(n,r,i):e.insertNodeAtClassStart(n,t,i)}function pz(e){for(var n,t=0,r=e.members;t<r.length;t++){var a=r[t];if(!Mo.isPropertyDeclaration(a))break;n=a}return n}function mz(e,n,t,r,a,i,o){var s=Fo.createImportAdder(o,e.program,e.preferences,e.host);e=Fo.createSignatureDeclarationFromCallExpression(167,e,s,t,r,a,i),r=Mo.findAncestor(t,(function(e){return Mo.isMethodDeclaration(e)||Mo.isConstructorDeclaration(e)}));r&&r.parent===i?n.insertNodeAfter(o,r,e):n.insertNodeAtClassStart(o,i,e),s.writeFixes(n)}function _z(e,n,t){var r=t.token,a=(t=t.parentDeclaration,Mo.some(t.members,(function(e){return e=n.getTypeAtLocation(e),!!(e&&402653316&e.flags)})));a=Mo.factory.createEnumMember(r,a?Mo.factory.createStringLiteral(r.text):void 0);e.replaceNode(t.getSourceFile(),t,Mo.factory.updateEnumDeclaration(t,t.decorators,t.modifiers,t.name,Mo.concatenate(t.members,Mo.singleElementArray(a))),{leadingTriviaOption:Mo.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:Mo.textChanges.TrailingTriviaOption.Exclude})}function fz(e,n,t){var r=Fo.createImportAdder(n.sourceFile,n.program,n.preferences,n.host);n=Fo.createSignatureDeclarationFromCallExpression(254,n,r,t.call,Mo.idText(t.token),t.modifierFlags,t.parentDeclaration);e.insertNodeAtEndOfScope(t.sourceFile,t.parentDeclaration,n)}function gz(e,n,t){var r=Fo.createImportAdder(n.sourceFile,n.program,n.preferences,n.host),a=Mo.getQuotePreference(n.sourceFile,n.preferences),i=n.program.getTypeChecker(),o=t.parentDeclaration.attributes,s=Mo.some(o.properties,Mo.isJsxSpreadAttribute);t=Mo.map(t.attributes,(function(e){var t=e.valueDeclaration?hz(n,i,r,a,i.getTypeAtLocation(e.valueDeclaration)):vz();return Mo.factory.createJsxAttribute(Mo.factory.createIdentifier(e.name),Mo.factory.createJsxExpression(void 0,t))})),s=Mo.factory.createJsxAttributes(s?eu(eu([],t,!0),o.properties,!0):eu(eu([],o.properties,!0),t,!0)),t={prefix:o.pos===o.end?" ":void 0};e.replaceNode(n.sourceFile,o,s,t)}function yz(e,n,t){var r=Fo.createImportAdder(n.sourceFile,n.program,n.preferences,n.host),a=Mo.getQuotePreference(n.sourceFile,n.preferences),i=n.program.getTypeChecker(),o=Mo.map(t.properties,(function(e){var t=e.valueDeclaration?hz(n,i,r,a,i.getTypeAtLocation(e.valueDeclaration)):vz();return Mo.factory.createPropertyAssignment(e.name,t)}));e.replaceNode(n.sourceFile,t.parentDeclaration,Mo.factory.createObjectLiteralExpression(eu(eu([],t.parentDeclaration.properties,!0),o,!0),!0))}function hz(e,n,t,r,a){var i,o;return 3&a.flags?vz():134217732&a.flags?Mo.factory.createStringLiteral("",0===r):8&a.flags?Mo.factory.createNumericLiteral(0):64&a.flags?Mo.factory.createBigIntLiteral("0n"):16&a.flags?Mo.factory.createFalse():1056&a.flags?(i=a.symbol.exports?Mo.firstOrUndefined(Mo.arrayFrom(a.symbol.exports.values())):a.symbol,o=n.symbolToExpression(a.symbol.parent||a.symbol,111551,void 0,void 0),void 0===i||void 0===o?Mo.factory.createNumericLiteral(0):Mo.factory.createPropertyAccessExpression(o,n.symbolToString(i))):256&a.flags?Mo.factory.createNumericLiteral(a.value):2048&a.flags?Mo.factory.createBigIntLiteral(a.value):128&a.flags?Mo.factory.createStringLiteral(a.value,0===r):512&a.flags?a===n.getFalseType()||a===n.getFalseType(!0)?Mo.factory.createFalse():Mo.factory.createTrue():65536&a.flags?Mo.factory.createNull():1048576&a.flags?null!=(o=Mo.firstDefined(a.types,(function(a){return hz(e,n,t,r,a)})))?o:vz():n.isArrayLikeType(a)?Mo.factory.createArrayLiteralExpression():524288&(i=a).flags&&(128&Mo.getObjectFlags(i)||i.symbol&&Mo.tryCast(Mo.singleOrUndefined(i.symbol.declarations),Mo.isTypeLiteralNode))?(o=Mo.map(n.getPropertiesOfType(a),(function(a){var i=a.valueDeclaration?hz(e,n,t,r,n.getTypeAtLocation(a.valueDeclaration)):vz();return Mo.factory.createPropertyAssignment(a.name,i)})),Mo.factory.createObjectLiteralExpression(o,!0)):16&Mo.getObjectFlags(a)?void 0!==Mo.find(a.symbol.declarations||Mo.emptyArray,Mo.or(Mo.isFunctionTypeNode,Mo.isMethodSignature,Mo.isMethodDeclaration))&&void 0!==(o=n.getSignaturesOfType(a,0))&&null!=(o=Fo.createSignatureDeclarationFromSignature(211,e,r,o[0],Fo.createStubbedBody(Mo.Diagnostics.Function_not_implemented.message,r),void 0,void 0,void 0,void 0,t))?o:vz():!(1&Mo.getObjectFlags(a))||void 0===(o=Mo.getClassLikeDeclarationOfSymbol(a.symbol))||Mo.hasAbstractModifier(o)||(o=Mo.getFirstConstructorWithBody(o))&&Mo.length(o.parameters)?vz():Mo.factory.createNewExpression(Mo.factory.createIdentifier(a.symbol.name),void 0,void 0)}function vz(){return Mo.factory.createIdentifier("undefined")}function bz(e,n,t){t=Ko.cast(((e,n)=>{for(var t=Ko.getTokenAtPosition(e,n.start),r=Ko.textSpanEnd(n);t.end<r;)t=t.parent;return t})(n,t),Ko.isCallExpression);var r=Ko.factory.createNewExpression(t.expression,t.typeArguments,t.arguments);e.replaceNode(n,t,r)}function Ez(e,n){return{type:"install package",file:e,packageName:n}}function Tz(e,n){e=Jo.tryCast(Jo.getTokenAtPosition(e,n),Jo.isStringLiteral);if(e)return n=e.text,e=Jo.parsePackageName(n).packageName,Jo.isExternalModuleNameRelative(e)?void 0:e}function Sz(e,n,t){return t===Yo?Jo.JsTyping.nodeCoreModules.has(e)?"@types/node":void 0:null!=(t=n.isKnownTypesPackageName)&&t.call(n,e)?Jo.getTypesPackageName(e):void 0}function xz(e,n){return e=Zo.getTokenAtPosition(e,n),Zo.cast(e.parent,Zo.isClassLike)}function Lz(e,n,t,r,a){var i=Zo.getEffectiveBaseTypeNode(e),o=t.program.getTypeChecker();i=o.getTypeAtLocation(i),o=o.getPropertiesOfType(i).filter(Dz),i=$o.createImportAdder(n,t.program,a,t.host);$o.createMissingMemberNodes(e,o,n,t,a,i,(function(t){return r.insertNodeAtClassStart(n,e,t)})),i.writeFixes(r)}function Dz(e){return e=Zo.getSyntacticModifierFlags(Zo.first(e.getDeclarations())),!(8&e||!(128&e))}function Az(e,n,t,r){e.insertNodeAtConstructorStart(n,t,r),e.delete(n,r)}function Cz(e,n){var t=ts.getTokenAtPosition(e,n);return 108===t.kind&&(n=Iz((e=ts.getContainingFunction(t)).body))&&!n.expression.arguments.some((function(e){return ts.isPropertyAccessExpression(e)&&e.expression===t}))?{constructor:e,superCall:n}:void 0}function Iz(e){return ts.isExpressionStatement(e)&&ts.isSuperCall(e.expression)?e:ts.isFunctionLike(e)?void 0:ts.forEachChild(e,Iz)}function Nz(e,n){return e=os.getTokenAtPosition(e,n),os.Debug.assert(os.isConstructorDeclaration(e.parent),"token should be at the constructor declaration"),e.parent}function kz(e,n,t){var r=os.factory.createExpressionStatement(os.factory.createCallExpression(os.factory.createSuper(),void 0,os.emptyArray));e.insertNodeAtConstructorStart(n,t,r)}function Rz(e,n){us.setJsonCompilerOptionValue(e,n,"experimentalDecorators",ds.factory.createTrue())}function Oz(e,n){fs.setJsonCompilerOptionValue(e,n,"jsx",_s.factory.createStringLiteral("react"))}function Pz(e,n,t){e.replaceNode(n,t,bs.factory.createPropertyAssignment(t.name,t.objectAssignmentInitializer))}function wz(e,n){return bs.cast(bs.getTokenAtPosition(e,n).parent,bs.isShorthandPropertyAssignment)}function Mz(e,n){return e=xs.getTokenAtPosition(e,n),n=xs.getContainingClass(e).heritageClauses,e=n[0].getFirstToken(),94===e.kind?{extendsToken:e,heritageClauses:n}:void 0}function Fz(e,n,t,r){if(e.replaceNode(n,t,xs.factory.createToken(117)),2===r.length&&94===r[0].token&&117===r[1].token){t=r[1].getFirstToken(),r=t.getFullStart();for(var a=(e.replaceRange(n,{pos:r,end:r},xs.factory.createToken(27)),n.text),i=t.end;i<a.length&&xs.isWhiteSpaceSingleLine(a.charCodeAt(i));)i++;e.deleteRange(n,{pos:t.getStart(),end:i})}}function Gz(e,n,t){if(e=Cs.getTokenAtPosition(e,n),Cs.isIdentifier(e))return{node:e,className:t===ks?Cs.getContainingClass(e).name.text:void 0}}function Bz(e,n,t){var r=t.node;t=t.className;Cs.suppressLeadingAndTrailingTrivia(r),e.replaceNode(n,r,Cs.factory.createPropertyAccessExpression(t?Cs.factory.createIdentifier(t):Cs.factory.createThis(),r))}function Uz(e,n,t,r,a){var i=t.getText()[r];Os.hasProperty(Gs,i)&&(a=a?Gs[i]:"{"+Os.quote(t,n,i)+"}",e.replaceRangeWithText(t,{pos:r,end:r+1},a))}function Vz(e,n,t){e.replaceNode(n,t.parent,Bs.factory.createKeywordTypeNode(153))}function jz(e,n){return Us.createCodeFixAction(Vs,e,n,Ks,Bs.Diagnostics.Delete_all_unused_declarations)}function Kz(e,n,t){e.delete(n,Bs.Debug.checkDefined(Bs.cast(t.parent,Bs.isDeclarationWithTypeParameterChildren).typeParameters,"The type parameter to delete should exist"))}function Hz(e){return 100===e.kind||79===e.kind&&(268===e.parent.kind||265===e.parent.kind)}function Wz(e){return 100===e.kind?Bs.tryCast(e.parent,Bs.isImportDeclaration):void 0}function zz(e,n){return Bs.isVariableDeclarationList(n.parent)&&Bs.first(n.parent.getChildren(e))===n}function Jz(e,n,t){e.delete(n,235===t.parent.kind?t.parent:t)}function qz(e,n,t,r){n!==Bs.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code&&(136===r.kind&&(r=Bs.cast(r.parent,Bs.isInferTypeNode).typeParameter.name),Bs.isIdentifier(r))&&(e=>{switch(e.parent.kind){case 162:case 161:return 1;case 252:switch(e.parent.parent.parent.kind){case 242:case 241:return 1}}})(r)&&(e.replaceNode(t,r,Bs.factory.createIdentifier("_"+r.text)),Bs.isParameter(r.parent))&&Bs.getJSDocParameterTags(r.parent).forEach((function(n){Bs.isIdentifier(n.name)&&e.replaceNode(t,n.name,Bs.factory.createIdentifier("_"+n.name.text))}))}function Xz(e,n,t,r,a,i,o,s){var c,l,d,u,p,m,_,f,g,y,h,v;f=t,g=e,y=r,a=a,i=i,o=o,h=s,v=(_=n).parent,Bs.isParameter(v)?(c=f,((e,n,t,r,a,i,o)=>{var s=t.parent;switch(s.kind){case 167:case 169:var c=s.parameters.indexOf(t),l=Bs.isMethodDeclaration(s)?s.name:s;l=Bs.FindAllReferences.Core.getReferencedSymbolsForNode(s.pos,l,a,r,i);if(l)for(var d=0,u=l;d<u.length;d++)for(var p=u[d],m=0,_=p.references;m<_.length;m++){var f=_[m];if(1===f.kind){var g=Bs.isSuperKeyword(f.node)&&Bs.isCallExpression(f.node.parent)&&f.node.parent.arguments.length>c,y=Bs.isPropertyAccessExpression(f.node.parent)&&Bs.isSuperKeyword(f.node.parent.expression)&&Bs.isCallExpression(f.node.parent.parent)&&f.node.parent.parent.arguments.length>c;f=(Bs.isMethodDeclaration(f.node.parent)||Bs.isMethodSignature(f.node.parent))&&f.node.parent!==t.parent&&f.node.parent.parameters.length>c;if(g||y||f)return}}return 1;case 254:return!s.name||!((e,n,t)=>Bs.FindAllReferences.Core.eachSymbolReferenceInFile(t,e,n,(function(e){return Bs.isIdentifier(e)&&Bs.isCallExpression(e.parent)&&0<=e.parent.arguments.indexOf(e)})))(e,n,s.name)||Qz(s,t,o);case 211:case 212:return Qz(s,t,o);case 171:return;default:return Bs.Debug.failBadSyntaxKind(s)}})(u=y,l=g,d=v,p=a,i,o,m=void 0!==(m=h)&&m)&&(d.modifiers&&0<d.modifiers.length&&(!Bs.isIdentifier(d.name)||Bs.FindAllReferences.Core.isSymbolReferencedInFile(d.name,u,l))?d.modifiers.forEach((function(e){return c.deleteModifier(l,e)})):!d.initializer&&Yz(d,u,p)&&c.delete(l,d))):h&&Bs.isIdentifier(_)&&Bs.FindAllReferences.Core.isSymbolReferencedInFile(_,y,g)||(a=Bs.isImportClause(v)?_:Bs.isComputedPropertyName(v)?v.parent:v,Bs.Debug.assert(a!==g,"should not delete whole source file"),f.delete(g,a)),Bs.isIdentifier(n)&&Bs.FindAllReferences.Core.eachSymbolReferenceInFile(n,r,e,(function(n){var r;Bs.isPropertyAccessExpression(n.parent)&&n.parent.name===n&&(n=n.parent),!s&&(r=n,Bs.isBinaryExpression(r.parent)&&r.parent.left===r||(Bs.isPostfixUnaryExpression(r.parent)||Bs.isPrefixUnaryExpression(r.parent))&&r.parent.operand===r)&&Bs.isExpressionStatement(r.parent.parent)&&t.delete(e,n.parent.parent)}))}function Yz(e,n,t){var r=e.parent.parameters.indexOf(e);return!Bs.FindAllReferences.Core.someSignatureUsage(e.parent,t,n,(function(e,n){return!n||n.arguments.length>r}))}function Qz(e,n,t){return e=e.parameters,n=e.indexOf(n),Bs.Debug.assert(-1!==n,"The parameter should already be in the list"),t?e.slice(n+1).every((function(e){return Bs.isIdentifier(e.name)&&!e.symbol.isReferenced})):n===e.length-1}function Zz(e,n,t,r,a){var i,o=Js.getTokenAtPosition(n,t),s=Js.findAncestor(o,Js.isStatement),c=(s.getStart(n)!==o.getStart(n)&&(o=JSON.stringify({statementKind:Js.Debug.formatSyntaxKind(s.kind),tokenKind:Js.Debug.formatSyntaxKind(o.kind),errorCode:a,start:t,length:r}),Js.Debug.fail("Token and statement should start at the same point. "+o)),(Js.isBlock(s.parent)?s.parent:s).parent);if(!Js.isBlock(s.parent)||s===Js.first(s.parent.statements))switch(c.kind){case 237:if(c.elseStatement){if(Js.isBlock(s.parent))break;return void e.replaceNode(n,s,Js.factory.createBlock(Js.emptyArray))}case 239:case 240:return void e.delete(n,c)}Js.isBlock(s.parent)?(i=t+r,a=Js.Debug.checkDefined(((e,n)=>{for(var t,r=0,a=e;r<a.length;r++){var i=a[r];if(!n(i))break;t=i}return t})(Js.sliceAfter(s.parent.statements,s),(function(e){return e.pos<i})),"Some statement should be last"),e.deleteNodeRange(n,s,a)):e.delete(n,s)}function $z(e,n,t){t=Qs.getTokenAtPosition(n,t);var r=Qs.cast(t.parent,Qs.isLabeledStatement),a=(t=t.getStart(n),r.statement.getStart(n));a=Qs.positionsAreOnSameLine(t,a,n)?a:Qs.skipTrivia(n.text,Qs.findChildOfKind(r,58,n).end,!0);e.deleteRange(n,{pos:t,end:a})}function eJ(e,n,t,r,a){e.replaceNode(n,t,a.typeToTypeNode(r,t,void 0))}function nJ(e,n,t){return e=nc.findAncestor(nc.getTokenAtPosition(e,n),tJ),n=e&&e.type,n&&{typeNode:n,type:t.getTypeFromTypeNode(n)}}function tJ(e){switch(e.kind){case 227:case 172:case 173:case 254:case 170:case 174:case 193:case 167:case 166:case 162:case 165:case 164:case 171:case 257:case 209:case 252:return!0;default:return!1}}function rJ(e,n,t){e.replaceNodeWithText(n,t,t.text+"()")}function aJ(e,n){if(e=oc.getTokenAtPosition(e,n),oc.isPropertyAccessExpression(e.parent)){for(var t=e.parent;oc.isPropertyAccessExpression(t.parent);)t=t.parent;return t.name}if(oc.isIdentifier(e))return e}function iJ(e,n){n=dc.getTokenAtPosition(e,n);var t,r=dc.getContainingFunction(n);if(r){switch(r.kind){case 167:t=r.name;break;case 254:case 211:t=dc.findChildOfKind(r,98,e);break;case 212:t=dc.findChildOfKind(r,20,e)||dc.first(r.parameters);break;default:return}return t&&{insertBefore:t,returnType:(n=r).type||(dc.isVariableDeclaration(n.parent)&&n.parent.type&&dc.isFunctionTypeNode(n.parent.type)?n.parent.type.type:void 0)}}}function oJ(e,n,t){var r,a=t.insertBefore;t=t.returnType;!t||(r=dc.getEntityNameFromTypeNode(t))&&79===r.kind&&"Promise"===r.text||e.replaceNode(n,t,dc.factory.createTypeReferenceNode("Promise",dc.factory.createNodeArray([t]))),e.insertModifierBefore(n,130,a)}function sJ(e,n,t,r,a){var i,o;if(r===_c.Diagnostics._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code)o=(i=n)+t;else if(r===_c.Diagnostics._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code){t=a.program.getTypeChecker(),n=_c.getTokenAtPosition(e,n).parent;var s=(_c.Debug.assert(_c.isAccessor(n),"error span of fixPropertyOverrideAccessor should only be on an accessor"),n.parent);s=(_c.Debug.assert(_c.isClassLike(s),"erroneous accessors should only be inside classes"),_c.singleOrUndefined(fc.getAllSupers(s,t)));if(!s)return[];if(n=_c.unescapeLeadingUnderscores(_c.getTextOfPropertyName(n.name)),t=t.getPropertyOfType(t.getTypeAtLocation(s),n),!t||!t.valueDeclaration)return[];i=t.valueDeclaration.pos,o=t.valueDeclaration.end,e=_c.getSourceFileOfNode(t.valueDeclaration)}else _c.Debug.fail("fixPropertyOverrideAccessor codefix got unexpected error code "+r);return fc.generateAccessorFromProperty(e,a.program,i,o,a,_c.Diagnostics.Generate_get_and_set_accessors.message)}function cJ(e,n,t,r,a,i,o,s,c){if(hc.isParameterPropertyModifier(t.kind)||79===t.kind||25===t.kind||108===t.kind){var l=t.parent,d=vc.createImportAdder(n,a,c,s);switch(r=(e=>{switch(e){case hc.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code:return hc.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code;case hc.Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return hc.Diagnostics.Variable_0_implicitly_has_an_1_type.code;case hc.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return hc.Diagnostics.Parameter_0_implicitly_has_an_1_type.code;case hc.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:return hc.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code;case hc.Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code:return hc.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code;case hc.Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code:return hc.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code;case hc.Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code:return hc.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code;case hc.Diagnostics.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return hc.Diagnostics.Member_0_implicitly_has_an_1_type.code}return e})(r)){case hc.Diagnostics.Member_0_implicitly_has_an_1_type.code:case hc.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code:return hc.isVariableDeclaration(l)&&o(l)||hc.isPropertyDeclaration(l)||hc.isPropertySignature(l)?(lJ(e,d,n,l,a,s,i),d.writeFixes(e),l):hc.isPropertyAccessExpression(l)?(u=fJ(l.name,a,i),(u=hc.getTypeNodeIfAccessible(u,l,a,s))&&(u=hc.factory.createJSDocTypeTag(void 0,hc.factory.createJSDocTypeExpression(u),void 0),mJ(e,n,hc.cast(l.parent.parent,hc.isExpressionStatement),[u])),d.writeFixes(e),l):void 0;case hc.Diagnostics.Variable_0_implicitly_has_an_1_type.code:var u=a.getTypeChecker().getSymbolAtLocation(t);return u&&u.valueDeclaration&&hc.isVariableDeclaration(u.valueDeclaration)&&o(u.valueDeclaration)?(lJ(e,d,n,u.valueDeclaration,a,s,i),d.writeFixes(e),u.valueDeclaration):void 0}var p,m,_,f,g=hc.getContainingFunction(t);if(void 0!==g){switch(r){case hc.Diagnostics.Parameter_0_implicitly_has_an_1_type.code:if(hc.isSetAccessorDeclaration(g)){dJ(e,d,n,g,a,s,i),p=g;break}case hc.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code:if(o(g)){var y=hc.cast(l,hc.isParameter),h=e,v=d,b=n,E=y,T=g,S=a,x=s,L=i;if(hc.isIdentifier(E.name))if(E=((e,n,t,r)=>(n=gJ(e,n,t,r))&&yJ(t,n,r).parameters(e)||e.parameters.map((function(e){return{declaration:e,type:hc.isIdentifier(e.name)?fJ(e.name,t,r):t.getTypeChecker().getAnyType()}})))(T,b,S,L),hc.Debug.assert(T.parameters.length===E.length,"Parameter count and inference count should match"),hc.isInJSFile(T))pJ(h,b,E,S,x);else{L=hc.isArrowFunction(T)&&!hc.findChildOfKind(T,20,b),L&&h.insertNodeBefore(b,hc.first(T.parameters),hc.factory.createToken(20));for(var D=0,A=E;D<A.length;D++){var C=A[D],I=C.declaration;C=C.type;!I||I.type||I.initializer||uJ(h,v,b,I,C,S,x)}L&&h.insertNodeAfter(b,hc.last(T.parameters),hc.factory.createToken(21))}p=y}break;case hc.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code:case hc.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code:hc.isGetAccessorDeclaration(g)&&hc.isIdentifier(g.name)&&(uJ(e,d,n,g,fJ(g.name,a,i),a,s),p=g);break;case hc.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code:hc.isSetAccessorDeclaration(g)&&(dJ(e,d,n,g,a,s,i),p=g);break;case hc.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:hc.textChanges.isThisTypeAnnotatable(g)&&o(g)&&(E=e,L=s,(f=gJ(T=g,y=n,m=a,_=i))&&f.length&&(f=yJ(m,f,_).thisParameter(),_=hc.getTypeNodeIfAccessible(f,T,m,L))&&(hc.isInJSFile(T)?mJ(E,y,T,[hc.factory.createJSDocThisTag(void 0,hc.factory.createJSDocTypeExpression(_))]):E.tryInsertThisTypeAnnotation(y,T,_)),p=g);break;default:return hc.Debug.fail(String(r))}return d.writeFixes(e),p}}}function lJ(e,n,t,r,a,i,o){hc.isIdentifier(r.name)&&uJ(e,n,t,r,fJ(r.name,a,o),a,i)}function dJ(e,n,t,r,a,i,o){var s,c=hc.firstOrUndefined(r.parameters);c&&hc.isIdentifier(r.name)&&hc.isIdentifier(c.name)&&((s=fJ(r.name,a,o))===a.getTypeChecker().getAnyType()&&(s=fJ(c.name,a,o)),hc.isInJSFile(r)?pJ(e,t,[{declaration:c,type:s}],a,i):uJ(e,n,t,c,s,a,i))}function uJ(e,n,t,r,a,i,o){var s;a=hc.getTypeNodeIfAccessible(a,r,i,o);a&&(hc.isInJSFile(t)&&164!==r.kind?(o=hc.isVariableDeclaration(r)?hc.tryCast(r.parent.parent,hc.isVariableStatement):r)&&(s=hc.factory.createJSDocTypeExpression(a),mJ(e,t,o,[hc.isGetAccessorDeclaration(r)?hc.factory.createJSDocReturnTag(void 0,s,void 0):hc.factory.createJSDocTypeTag(void 0,s,void 0)])):((e,n,t,r,a,i)=>(e=vc.tryGetAutoImportableReferenceFromTypeNode(e,i))&&r.tryInsertTypeAnnotation(t,n,e.typeNode)&&(hc.forEach(e.symbols,(function(e){return a.addImportFromExportedSymbol(e,!0)})),1))(a,r,t,e,n,hc.getEmitScriptTarget(i.getCompilerOptions()))||e.tryInsertTypeAnnotation(t,r,a))}function pJ(e,n,t,r,a){var i,o=t.length&&t[0].declaration.parent;o&&(t=hc.mapDefined(t,(function(e){var n,t,i=e.declaration;return!i.initializer&&!hc.getJSDocType(i)&&hc.isIdentifier(i.name)&&(n=e.type&&hc.getTypeNodeIfAccessible(e.type,i,r,a))?(t=hc.factory.cloneNode(i.name),hc.setEmitFlags(t,3584),{name:hc.factory.cloneNode(i.name),param:i,isOptional:!!e.isOptional,typeNode:n}):void 0}))).length&&(hc.isArrowFunction(o)||hc.isFunctionExpression(o)?((i=hc.isArrowFunction(o)&&!hc.findChildOfKind(o,20,n))&&e.insertNodeBefore(n,hc.first(o.parameters),hc.factory.createToken(20)),hc.forEach(t,(function(t){var r=t.typeNode;t=t.param,r=hc.factory.createJSDocTypeTag(void 0,hc.factory.createJSDocTypeExpression(r)),r=hc.factory.createJSDocComment(void 0,[r]);e.insertNodeAt(n,t.getStart(n),r,{suffix:" "})})),i&&e.insertNodeAfter(n,hc.last(o.parameters),hc.factory.createToken(21))):(i=hc.map(t,(function(e){var n=e.name;return hc.factory.createJSDocParameterTag(void 0,n,!!e.isOptional,hc.factory.createJSDocTypeExpression(e.typeNode),!1,void 0)})),mJ(e,n,o,i)))}function mJ(e,n,t,r){var a=hc.flatMap(t.jsDoc,(function(e){return"string"==typeof e.comment?hc.factory.createJSDocText(e.comment):e.comment})),i=hc.flatMapToMutable(t.jsDoc,(function(e){return e.tags}));r=r.filter((function(e){return!i||!i.some((function(n,t){return n=((e,n)=>{if(e.kind===n.kind)switch(e.kind){case 335:var t=e,r=n;return hc.isIdentifier(t.name)&&hc.isIdentifier(r.name)&&t.name.escapedText===r.name.escapedText?hc.factory.createJSDocParameterTag(void 0,r.name,!1,r.typeExpression,r.isNameFirst,t.comment):void 0;case 336:return hc.factory.createJSDocReturnTag(void 0,n.typeExpression,e.comment)}})(n,e),n&&(i[t]=n),!!n}))})),a=hc.factory.createJSDocComment(hc.factory.createNodeArray(hc.intersperse(a,hc.factory.createJSDocText("\n"))),hc.factory.createNodeArray(eu(eu([],i||hc.emptyArray,!0),r,!0))),r=212===t.kind?(165!==(r=t).parent.kind?r.parent:r).parent:t;r.jsDoc=t.jsDoc,r.jsDocCache=t.jsDocCache,e.insertJsdocCommentBefore(n,r,a)}function _J(e,n,t){return hc.mapDefined(hc.FindAllReferences.getReferenceEntriesForNode(-1,e,n,n.getSourceFiles(),t),(function(e){return 0!==e.kind?hc.tryCast(e.node,hc.isIdentifier):void 0}))}function fJ(e,n,t){return yJ(n,_J(e,n,t),t).single()}function gJ(e,n,t,r){switch(e.kind){case 169:i=hc.findChildOfKind(e,133,n);break;case 212:case 211:var a=e.parent,i=((hc.isVariableDeclaration(a)||hc.isPropertyDeclaration(a))&&hc.isIdentifier(a.name)?a:e).name;break;case 254:case 167:case 166:i=e.name}if(i)return _J(i,t,r)}function yJ(e,n,t){var r=e.getTypeChecker(),a={string:function(){return r.getStringType()},number:function(){return r.getNumberType()},Array:function(e){return r.createArrayType(e)},Promise:function(e){return r.createPromiseType(e)}},i=[r.getStringType(),r.getNumberType(),r.createArrayType(r.getAnyType()),r.createPromiseType(r.getAnyType())];return{single:function(){return u(s(n))},parameters:function(a){if(0!==n.length&&a.parameters){for(var i=o(),l=0,d=n;l<d.length;l++){var p=d[l];t.throwIfCancellationRequested(),c(p,i)}var m=eu(eu([],i.constructs||[],!0),i.calls||[],!0);return a.parameters.map((function(n,i){for(var o=[],c=hc.isRestParameter(n),l=!1,d=0,p=m;d<p.length;d++){var _=p[d];if(_.argumentTypes.length<=i)l=hc.isInJSFile(a),o.push(r.getUndefinedType());else if(c)for(var f=i;f<_.argumentTypes.length;f++)o.push(r.getBaseTypeOfLiteralType(_.argumentTypes[f]));else o.push(r.getBaseTypeOfLiteralType(_.argumentTypes[i]))}hc.isIdentifier(n.name)&&(g=s(_J(n.name,e,t)),o.push.apply(o,c?hc.mapDefined(g,r.getElementTypeOfArrayType):g));var g=u(o);return{type:c?r.createArrayType(g):g,isOptional:l&&!c,declaration:n}}))}},thisParameter:function(){for(var e=o(),r=0,a=n;r<a.length;r++){var i=a[r];t.throwIfCancellationRequested(),c(i,e)}return u(e.candidateThisTypes||hc.emptyArray)}};function o(){return{isNumber:void 0,isString:void 0,isNumberOrString:void 0,candidateTypes:void 0,properties:void 0,calls:void 0,constructs:void 0,numberIndex:void 0,stringIndex:void 0,candidateThisTypes:void 0,inferredTypes:void 0}}function s(e){for(var n=o(),r=0,a=e;r<a.length;r++){var i=a[r];t.throwIfCancellationRequested(),c(i,n)}return p(n)}function c(e,n){for(;hc.isRightSideOfQualifiedNameOrPropertyAccess(e);)e=e.parent;switch(e.parent.kind){case 236:t=e,f(n,hc.isCallExpression(t)?r.getVoidType():r.getAnyType());break;case 218:n.isNumber=!0;break;case 217:var t=e.parent,a=n;switch(t.operator){case 45:case 46:case 40:case 54:a.isNumber=!0;break;case 39:a.isNumberOrString=!0}break;case 219:var i=e,s=e.parent,d=n;switch(s.operatorToken.kind){case 42:case 41:case 43:case 44:case 47:case 48:case 49:case 50:case 51:case 52:case 65:case 67:case 66:case 68:case 69:case 73:case 74:case 78:case 70:case 72:case 71:case 40:case 29:case 32:case 31:case 33:var u=r.getTypeAtLocation(s.left===i?s.right:s.left);1056&u.flags?f(d,u):d.isNumber=!0;break;case 64:case 39:u=r.getTypeAtLocation(s.left===i?s.right:s.left),1056&u.flags?f(d,u):296&u.flags?d.isNumber=!0:402653316&u.flags?d.isString=!0:1&u.flags||(d.isNumberOrString=!0);break;case 63:case 34:case 36:case 37:case 35:f(d,r.getTypeAtLocation(s.left===i?s.right:s.left));break;case 101:i===s.left&&(d.isString=!0);break;case 56:case 60:i!==s.left||252!==i.parent.parent.kind&&!hc.isAssignmentExpression(i.parent.parent,!0)||f(d,r.getTypeAtLocation(s.right))}break;case 287:case 288:p=e.parent,f(n,r.getTypeAtLocation(p.parent.parent.expression));break;case 206:case 207:if(e.parent.expression===e){var p=e.parent,m=n,_={argumentTypes:[],return_:o()};if(p.arguments)for(var y=0,h=p.arguments;y<h.length;y++){var v=h[y];_.argumentTypes.push(r.getTypeAtLocation(v))}c(p,_.return_),(206===p.kind?m.calls||(m.calls=[]):m.constructs||(m.constructs=[])).push(_)}else l(e,n);break;case 204:m=e.parent,x=n,L=hc.escapeLeadingUnderscores(m.name.text),x.properties||(x.properties=new hc.Map),D=x.properties.get(L)||o(),c(m,D),x.properties.set(L,D);break;case 205:x=e.parent,L=n,(D=e)===x.argumentExpression?L.isNumberOrString=!0:(D=r.getTypeAtLocation(x.argumentExpression),c(x,x=o()),296&D.flags?L.numberIndex=x:L.stringIndex=x);break;case 291:case 292:var b=e.parent,E=n;b=(hc.isVariableDeclaration(b.parent.parent)?b.parent:b).parent,g(E,r.getTypeAtLocation(b));break;case 165:E=e.parent,g(n,r.getTypeAtLocation(E.parent));break;case 252:b=e.parent;var T=b.name,S=b.initializer;if(e===T){S&&f(n,r.getTypeAtLocation(S));break}default:l(e,n)}var x,L,D}function l(e,n){hc.isExpressionNode(e)&&f(n,r.getContextualType(e))}function d(e){return u(p(e))}function u(e){var n,t;return e.length?(n=r.getUnionType([r.getStringType(),r.getNumberType()]),(t=(e=((e,n)=>{for(var t=[],r=0,a=e;r<a.length;r++)for(var i=a[r],o=0,s=n;o<s.length;o++){var c=s[o],l=c.high;c=c.low;l(i)&&(hc.Debug.assert(!c(i),"Priority can't have both low and high"),t.push(c))}return e.filter((function(e){return t.every((function(n){return!n(e)}))}))})(e,[{high:function(e){return e===r.getStringType()||e===r.getNumberType()},low:function(e){return e===n}},{high:function(e){return!(16385&e.flags)},low:function(e){return!!(16385&e.flags)}},{high:function(e){return!(114689&e.flags||16&hc.getObjectFlags(e))},low:function(e){return!!(16&hc.getObjectFlags(e))}}])).filter((function(e){return 16&hc.getObjectFlags(e)}))).length&&(e=e.filter((function(e){return!(16&hc.getObjectFlags(e))}))).push((e=>{if(1===e.length)return e[0];for(var n=[],t=[],a=[],i=[],o=!1,s=!1,c=hc.createMultiMap(),l=0,d=e;l<d.length;l++){for(var u=d[l],p=0,m=r.getPropertiesOfType(u);p<m.length;p++){var _=m[p];c.add(_.name,_.valueDeclaration?r.getTypeOfSymbolAtLocation(_,_.valueDeclaration):r.getAnyType())}n.push.apply(n,r.getSignaturesOfType(u,0)),t.push.apply(t,r.getSignaturesOfType(u,1));var f=r.getIndexInfoOfType(u,0);f=(f&&(a.push(f.type),o=o||f.isReadonly),r.getIndexInfoOfType(u,1));f&&(i.push(f.type),s=s||f.isReadonly)}var g=hc.mapEntries(c,(function(n,t){var a=t.length<e.length?16777216:0;a=r.createSymbol(4|a,n);return a.type=r.getUnionType(t),[n,a]})),y=[];return a.length&&y.push(r.createIndexInfo(r.getStringType(),r.getUnionType(a),o)),i.length&&y.push(r.createIndexInfo(r.getNumberType(),r.getUnionType(i),s)),r.createAnonymousType(e[0].symbol,g,n,t,y)})(t)),r.getWidenedType(r.getUnionType(e.map(r.getBaseTypeOfLiteralType),2))):r.getAnyType()}function p(e){var n,t,o,s,c=[];return e.isNumber&&c.push(r.getNumberType()),e.isString&&c.push(r.getStringType()),e.isNumberOrString&&c.push(r.getUnionType([r.getStringType(),r.getNumberType()])),e.numberIndex&&c.push(r.createArrayType(d(e.numberIndex))),(null!=(n=e.properties)&&n.size||null!=(n=e.calls)&&n.length||null!=(n=e.constructs)&&n.length||e.stringIndex)&&c.push((n=e,t=new hc.Map,n.properties&&n.properties.forEach((function(e,n){var a=r.createSymbol(4,n);a.type=d(e),t.set(n,a)})),o=n.calls?[_(n.calls)]:[],s=n.constructs?[_(n.constructs)]:[],n=n.stringIndex?[r.createIndexInfo(r.getStringType(),d(n.stringIndex),!1)]:[],r.createAnonymousType(void 0,t,o,s,n))),c.push.apply(c,(e.candidateTypes||[]).map((function(e){return r.getBaseTypeOfLiteralType(e)}))),c.push.apply(c,(e=>{if(e.properties&&e.properties.size){var n=i.filter((function(n){return t=n,!!(n=e).properties&&!hc.forEachEntry(n.properties,(function(e,n){var a;n=r.getTypeOfPropertyOfType(t,n);return!(n&&(e.calls?r.getSignaturesOfType(n,0).length&&r.isTypeAssignableTo(n,(a=e.calls,r.createAnonymousType(void 0,hc.createSymbolTable(),[_(a)],hc.emptyArray,hc.emptyArray))):r.isTypeAssignableTo(n,d(e))))}));var t}));if(0<n.length&&n.length<3)return n.map((function(n){return n=n,t=e,4&hc.getObjectFlags(n)&&t.properties&&(i=n.target,o=hc.singleOrUndefined(i.typeParameters))?(s=[],t.properties.forEach((function(e,n){n=r.getTypeOfPropertyOfType(i,n),hc.Debug.assert(!!n,"generic should have all the properties of its reference."),s.push.apply(s,m(n,d(e),o))})),a[n.symbol.escapedName](u(s))):n;var t,i,o,s}))}return[]})(e)),c}function m(e,n,t){if(e===t)return[n];if(3145728&e.flags)return hc.flatMap(e.types,(function(e){return m(e,n,t)}));if(4&hc.getObjectFlags(e)&&4&hc.getObjectFlags(n)){var a=r.getTypeArguments(e),i=r.getTypeArguments(n),o=[];if(a&&i)for(var s=0;s<a.length;s++)i[s]&&o.push.apply(o,m(a[s],i[s],t));return o}e=r.getSignaturesOfType(e,0);var c=r.getSignaturesOfType(n,0);if(1!==e.length||1!==c.length)return[];for(var l=e[0],d=c[0],u=t,p=[],_=0;_<l.parameters.length;_++){var f=l.parameters[_],g=d.parameters[_],y=l.declaration&&hc.isRestParameter(l.declaration.parameters[_]);if(!g)break;f=f.valueDeclaration?r.getTypeOfSymbolAtLocation(f,f.valueDeclaration):r.getAnyType(),y=y&&r.getElementTypeOfArrayType(f),y&&(f=y),y=g.type||(g.valueDeclaration?r.getTypeOfSymbolAtLocation(g,g.valueDeclaration):r.getAnyType()),p.push.apply(p,m(f,y,u))}return e=r.getReturnTypeOfSignature(l),c=r.getReturnTypeOfSignature(d),p.push.apply(p,m(e,c,u)),p}function _(e){for(var n=[],t=Math.max.apply(Math,e.map((function(e){return e.argumentTypes.length}))),a=0;a<t;a++)(t=>{var a=r.createSymbol(1,hc.escapeLeadingUnderscores("arg"+t));a.type=u(e.map((function(e){return e.argumentTypes[t]||r.getUndefinedType()}))),e.some((function(e){return void 0===e.argumentTypes[t]}))&&(a.flags|=16777216),n.push(a)})(a);var i=d(function e(n){for(var t=new hc.Map,r=0,a=n;r<a.length;r++){var i=a[r];i.properties&&i.properties.forEach((function(e,n){t.has(n)||t.set(n,[]),t.get(n).push(e)}))}var o=new hc.Map;return t.forEach((function(n,t){o.set(t,e(n))})),{isNumber:n.some((function(e){return e.isNumber})),isString:n.some((function(e){return e.isString})),isNumberOrString:n.some((function(e){return e.isNumberOrString})),candidateTypes:hc.flatMap(n,(function(e){return e.candidateTypes})),properties:o,calls:hc.flatMap(n,(function(e){return e.calls})),constructs:hc.flatMap(n,(function(e){return e.constructs})),numberIndex:hc.forEach(n,(function(e){return e.numberIndex})),stringIndex:hc.forEach(n,(function(e){return e.stringIndex})),candidateThisTypes:hc.flatMap(n,(function(e){return e.candidateThisTypes})),inferredTypes:void 0}}(e.map((function(e){return e.return_}))));return r.createSignature(void 0,void 0,void 0,n,i,void 0,t,0)}function f(e,n){!n||1&n.flags||131072&n.flags||(e.candidateTypes||(e.candidateTypes=[])).push(n)}function g(e,n){!n||1&n.flags||131072&n.flags||(e.candidateThisTypes||(e.candidateThisTypes=[])).push(n)}}function hJ(e,n,t){if(!Tc.isInJSFile(e)){var r;e=Tc.getTokenAtPosition(e,t),t=Tc.findAncestor(e,Tc.isFunctionLikeDeclaration),e=null==t?void 0:t.type;if(e)return t=n.getTypeFromTypeNode(e),r=n.getAwaitedType(t)||n.getVoidType(),(n=n.typeToTypeNode(r,e,void 0))?{returnTypeNode:e,returnType:t,promisedTypeNode:n,promisedType:r}:void 0}}function vJ(e,n,t,r){e.replaceNode(n,t,Tc.factory.createTypeReferenceNode("Promise",[r]))}function bJ(e,n,t,r){var a=Dc.getLineAndCharacterOfPosition(n,t).line;r&&!Dc.tryAddToSet(r,a)||e.insertCommentBeforeLine(n,a,t," @ts-ignore")}function EJ(e){return{trackSymbol:function(){return!1},moduleResolverHost:kc.getModuleSpecifierResolverHost(e.program,e.host)}}function TJ(e,n,t,r,a,i,o,s,c,l){var d=n.program,u=d.getTypeChecker(),p=kc.getEmitScriptTarget(d.getCompilerOptions());d=u.signatureToSignatureDeclaration(r,e,c,1073742081|(0===t?268435456:0),EJ(n));if(d)return u=d.typeParameters,r=d.parameters,e=d.type,l&&(u&&u!==(c=kc.sameMap(u,(function(e){var n,t=e.constraint,r=e.default;return t&&(n=NJ(t,p))&&(t=n.typeNode,RJ(l,n.symbols)),r&&(n=NJ(r,p))&&(r=n.typeNode,RJ(l,n.symbols)),kc.factory.updateTypeParameterDeclaration(e,e.name,t,r)})))&&(u=kc.setTextRange(kc.factory.createNodeArray(c,u.hasTrailingComma),u)),r!==(t=kc.sameMap(r,(function(e){var n=NJ(e.type,p),t=e.type;return n&&(t=n.typeNode,RJ(l,n.symbols)),kc.factory.updateParameterDeclaration(e,e.decorators,e.modifiers,e.dotDotDotToken,e.name,e.questionToken,t,e.initializer)})))&&(r=kc.setTextRange(kc.factory.createNodeArray(t,r.hasTrailingComma),r)),e)&&(n=NJ(e,p))&&(e=n.typeNode,RJ(l,n.symbols)),c=s?kc.factory.createToken(57):void 0,t=d.asteriskToken,kc.isFunctionExpression(d)?kc.factory.updateFunctionExpression(d,o,d.asteriskToken,kc.tryCast(i,kc.isIdentifier),u,r,e,null!=a?a:d.body):kc.isArrowFunction(d)?kc.factory.updateArrowFunction(d,o,u,r,e,d.equalsGreaterThanToken,null!=a?a:d.body):kc.isMethodDeclaration(d)?kc.factory.updateMethodDeclaration(d,void 0,o,t,null!=i?i:kc.factory.createIdentifier(""),c,u,r,e,a):void 0}function SJ(e,n,t,r,a,i,o){return e=e.typeToTypeNode(t,r,i,o),e&&kc.isImportTypeNode(e)&&(t=NJ(e,a))&&(RJ(n,t.symbols),e=t.typeNode),kc.getSynthesizedDeepClone(e)}function xJ(e,n,t,r,a){for(var i=[],o=0;o<e;o++){var s=kc.factory.createParameterDeclaration(void 0,void 0,void 0,n&&n[o]||"arg"+o,void 0!==r&&r<=o?kc.factory.createToken(57):void 0,a?void 0:t&&t[o]||kc.factory.createKeywordTypeNode(129),void 0);i.push(s)}return i}function LJ(e){return DJ(kc.Diagnostics.Method_not_implemented.message,e)}function DJ(e,n){return kc.factory.createBlock([kc.factory.createThrowStatement(kc.factory.createNewExpression(kc.factory.createIdentifier("Error"),void 0,[kc.factory.createStringLiteral(e,0===n)]))],!0)}function AJ(e,n,t){var r=kc.getTsConfigObjectLiteralExpression(n);if(r){var a=IJ(r,"compilerOptions");if(void 0===a)e.insertNodeAtObjectStart(n,r,CJ("compilerOptions",kc.factory.createObjectLiteralExpression(t.map((function(e){return CJ(e[0],e[1])})),!0)));else{var i=a.initializer;if(kc.isObjectLiteralExpression(i))for(var o=0,s=t;o<s.length;o++){var c=s[o],l=c[0],d=(c=c[1],IJ(i,l));void 0===d?e.insertNodeAtObjectStart(n,i,CJ(l,c)):e.replaceNode(n,d.initializer,c)}}}}function CJ(e,n){return kc.factory.createPropertyAssignment(kc.factory.createStringLiteral(e),n)}function IJ(e,n){return kc.find(e.properties,(function(e){return kc.isPropertyAssignment(e)&&!!e.name&&kc.isStringLiteral(e.name)&&e.name.text===n}))}function NJ(e,n){var t;e=kc.visitNode(e,(function e(r){var a,i;return kc.isLiteralImportTypeNode(r)&&r.qualifier?(i=kc.getFirstIdentifier(r.qualifier),a=kc.getNameForExportedSymbol(i.symbol,n),a=a!==i.text?kJ(r.qualifier,kc.factory.createIdentifier(a)):r.qualifier,t=kc.append(t,i.symbol),i=null==(i=r.typeArguments)?void 0:i.map(e),kc.factory.createTypeReferenceNode(a,i)):kc.visitEachChild(r,e,kc.nullTransformationContext)}));if(t&&e)return{typeNode:e,symbols:t}}function kJ(e,n){return 79===e.kind?n:kc.factory.createQualifiedName(kJ(e.left,n),e.right)}function RJ(e,n){n.forEach((function(n){return e.addImportFromExportedSymbol(n,!0)}))}function OJ(e){return Rc.isParameterPropertyDeclaration(e,e.parent)||Rc.isPropertyDeclaration(e)||Rc.isPropertyAssignment(e)}function PJ(e,n){return Rc.isIdentifier(n)?Rc.factory.createIdentifier(e):Rc.factory.createStringLiteral(e)}function wJ(e,n,t){return n=n?t.name:Rc.factory.createThis(),Rc.isIdentifier(e)?Rc.factory.createPropertyAccessExpression(n,e):Rc.factory.createElementAccessExpression(n,Rc.factory.createStringLiteralFromNode(e))}function MJ(e,n,t,r,a){void 0===a&&(a=!0);var i=Rc.getTokenAtPosition(e,t);a=t===r&&a,i=Rc.findAncestor(i.parent,OJ);return i&&(Rc.nodeOverlapsWithStartEnd(i.name,e,t,r)||a)?(t=i.name,Rc.isIdentifier(t)||Rc.isStringLiteral(t)?124!=(124|Rc.getEffectiveModifierFlags(i))?{error:Rc.getLocaleSpecificMessage(Rc.Diagnostics.Can_only_convert_property_with_modifier)}:(r=i.name.text,t=PJ((a=Rc.startsWithUnderscore(r))?r:Rc.getUniqueName("_"+r,e),i.name),e=PJ(a?Rc.getUniqueName(r.substring(1),e):r,i.name),{isStatic:Rc.hasStaticModifier(i),isReadonly:Rc.hasEffectiveReadonlyModifier(i),type:((e,n)=>{var t=Rc.getTypeAnnotationNode(e);if(Rc.isPropertyDeclaration(e)&&t&&e.questionToken){e=n.getTypeChecker(),n=e.getTypeFromTypeNode(t);if(!e.isTypeAssignableTo(e.getUndefinedType(),n))return e=Rc.isUnionTypeNode(t)?t.types:[t],Rc.factory.createUnionTypeNode(eu(eu([],e,!0),[Rc.factory.createKeywordTypeNode(151)],!1))}return t})(i,n),container:(162===i.kind?i.parent:i).parent,originalName:i.name.text,declaration:i,fieldName:t,accessorName:e,renameAccessor:a}):{error:Rc.getLocaleSpecificMessage(Rc.Diagnostics.Name_is_not_valid)}):{error:Rc.getLocaleSpecificMessage(Rc.Diagnostics.Could_not_find_property_for_which_to_generate_accessor)}}function FJ(e,n,t,r,a){Rc.isParameterPropertyDeclaration(r,r.parent)?e.insertNodeAtClassStart(n,a,t):Rc.isPropertyAssignment(r)?e.insertNodeAfterComma(n,r,t):e.insertNodeAfter(n,r,t)}function GJ(e,n,t,r){return e=Oc.textChanges.ChangeTracker.with(e,(function(e){return e.replaceNode(n,t,r)})),Pc.createCodeFixActionWithoutFixAll(wc,e,[Oc.Diagnostics.Replace_import_with_0,e[0].textChanges[0].newText])}function BJ(e,n){var t,r,a,i,o,s,c,l=e.program.getTypeChecker().getTypeAtLocation(n);return l.symbol&&l.symbol.originatingImport?(t=[],l=l.symbol.originatingImport,Oc.isImportCall(l)||Oc.addRange(t,(r=e,l=l,a=Oc.getSourceFileOfNode(l),i=Oc.getNamespaceDeclarationNode(l),c=r.program.getCompilerOptions(),(o=[]).push(GJ(r,a,l,Oc.makeImport(i.name,void 0,l.moduleSpecifier,Oc.getQuotePreference(a,r.preferences)))),Oc.getEmitModuleKind(c)===Oc.ModuleKind.CommonJS&&o.push(GJ(r,a,l,Oc.factory.createImportEqualsDeclaration(void 0,void 0,!1,i.name,Oc.factory.createExternalModuleReference(l.moduleSpecifier)))),o)),!Oc.isExpression(n)||Oc.isNamedDeclaration(n.parent)&&n.parent.name===n||(s=e.sourceFile,c=Oc.textChanges.ChangeTracker.with(e,(function(e){return e.replaceNode(s,n,Oc.factory.createPropertyAccessExpression(n,"default"),{})})),t.push(Pc.createCodeFixActionWithoutFixAll(wc,c,Oc.Diagnostics.Use_synthetic_default_member))),t):[]}function UJ(e,n){return e=Mc.getTokenAtPosition(e,n),Mc.isIdentifier(e)?Mc.cast(e.parent,Mc.isPropertyDeclaration):void 0}function VJ(e,n,t){var r=Mc.factory.updatePropertyDeclaration(t,t.decorators,t.modifiers,t.name,Mc.factory.createToken(53),t.type,t.initializer);e.replaceNode(n,t,r)}function jJ(e,n,t){var r=Mc.factory.createKeywordTypeNode(151);t=t.type,r=Mc.isUnionTypeNode(t)?t.types.concat(r):[t,r];e.replaceNode(n,t,Mc.factory.createUnionTypeNode(r))}function KJ(e,n,t,r){r=Mc.factory.updatePropertyDeclaration(t,t.decorators,t.modifiers,t.name,t.questionToken,t.type,r),e.replaceNode(n,t,r)}function HJ(e,n){return function e(n,t){return 512&t.flags?t===n.getFalseType()||t===n.getFalseType(!0)?Mc.factory.createFalse():Mc.factory.createTrue():t.isStringLiteral()?Mc.factory.createStringLiteral(t.value):t.isNumberLiteral()?Mc.factory.createNumericLiteral(t.value):2048&t.flags?Mc.factory.createBigIntLiteral(t.value):t.isUnion()?Mc.firstDefined(t.types,(function(t){return e(n,t)})):t.isClass()?!(r=Mc.getClassLikeDeclarationOfSymbol(t.symbol))||Mc.hasSyntacticModifier(r,128)||(r=Mc.getFirstConstructorWithBody(r))&&r.parameters.length?void 0:Mc.factory.createNewExpression(Mc.factory.createIdentifier(t.symbol.name),void 0,void 0):n.isArrayLikeType(t)?Mc.factory.createArrayLiteralExpression():void 0;var r}(e,e.getTypeFromTypeNode(n.type))}function WJ(e,n,t){var r=t.allowSyntheticDefaults,a=t.defaultImportName,i=t.namedImports,o=t.required;e.replaceNode(n,t.statement,a&&!r?Kc.factory.createImportEqualsDeclaration(void 0,void 0,!1,a,Kc.factory.createExternalModuleReference(o)):Kc.factory.createImportDeclaration(void 0,void 0,Kc.factory.createImportClause(!1,a,i),o))}function zJ(e,n,t){if(e=Kc.getTokenAtPosition(e,t).parent,!Kc.isRequireCall(e,!0))throw Kc.Debug.failBadSyntaxKind(e);t=Kc.cast(e.parent,Kc.isVariableDeclaration);var r=Kc.tryCast(t.name,Kc.isIdentifier),a=Kc.isObjectBindingPattern(t.name)?(e=>{for(var n=[],t=0,r=e.elements;t<r.length;t++){var a=r[t];if(!Kc.isIdentifier(a.name)||a.initializer)return;n.push(Kc.factory.createImportSpecifier(Kc.tryCast(a.propertyName,Kc.isIdentifier),a.name))}if(n.length)return Kc.factory.createNamedImports(n)})(t.name):void 0;if(r||a)return{allowSyntheticDefaults:Kc.getAllowSyntheticDefaultImports(n.getCompilerOptions()),defaultImportName:r,namedImports:a,statement:Kc.cast(t.parent.parent,Kc.isVariableStatement),required:Kc.first(e.arguments)}}function JJ(e,n){if(e=Jc.getTokenAtPosition(e,n),Jc.isIdentifier(e))return n=e.parent,Jc.isImportEqualsDeclaration(n)&&Jc.isExternalModuleReference(n.moduleReference)?{importNode:n,name:e,moduleSpecifier:n.moduleReference.expression}:Jc.isNamespaceImport(n)?{importNode:n=n.parent.parent,name:e,moduleSpecifier:n.moduleSpecifier}:void 0}function qJ(e,n,t,r){e.replaceNode(n,t.importNode,Jc.makeImport(t.name,void 0,t.moduleSpecifier,Jc.getQuotePreference(n,r)))}function XJ(e,n,t){var r;t=Qc.tryCast(Qc.getTokenAtPosition(n,t.start),Qc.isNumericLiteral);t&&(r=t.getText(n)+"n",e.replaceNode(n,t,Qc.factory.createBigIntLiteral(r)))}function YJ(e,n){return e=nl.getTokenAtPosition(e,n),nl.Debug.assert(100===e.kind,"This token should be an ImportKeyword"),nl.Debug.assert(198===e.parent.kind,"Token parent should be an ImportType"),e.parent}function QJ(e,n,t){var r=nl.factory.updateImportTypeNode(t,t.argument,t.qualifier,t.typeArguments,!0);e.replaceNode(n,t,r)}function ZJ(e,n){if(e=il.getTokenAtPosition(e,n).parent.parent,(il.isBinaryExpression(e)||(e=e.parent,il.isBinaryExpression(e)))&&il.nodeIsMissing(e.operatorToken))return e}function $J(e,n,t){var r=(e=>{for(var n=[],t=e;;){if(!il.isBinaryExpression(t)||!il.nodeIsMissing(t.operatorToken)||27!==t.operatorToken.kind)return;if(n.push(t.left),il.isJsxChild(t.right))return n.push(t.right),n;if(!il.isBinaryExpression(t.right))return;t=t.right}})(t);r&&e.replaceNode(n,t,il.factory.createJsxFragment(il.factory.createJsxOpeningFragment(),r,il.factory.createJsxJsxClosingFragment()))}function eq(e,n){if(e=ll.getTokenAtPosition(e,n),n=ll.cast(e.parent.parent,ll.isIndexSignatureDeclaration),!ll.isClassDeclaration(n.parent))return{indexSignature:n,container:ll.isInterfaceDeclaration(n.parent)?n.parent:ll.cast(n.parent.parent,ll.isTypeAliasDeclaration)}}function nq(e,n,t){var r=t.indexSignature,a=(t=t.container,(ll.isInterfaceDeclaration(t)?t:t.type).members.filter((function(e){return!ll.isIndexSignatureDeclaration(e)}))),i=ll.first(r.parameters);i=ll.factory.createTypeParameterDeclaration(ll.cast(i.name,ll.isIdentifier),i.type),i=ll.factory.createMappedTypeNode(ll.hasEffectiveReadonlyModifier(r)?ll.factory.createModifier(143):void 0,i,void 0,r.questionToken,r.type),r=ll.factory.createIntersectionTypeNode(eu(eu(eu([],ll.getAllSuperTypeNodes(t),!0),[i],!1),a.length?[ll.factory.createTypeLiteralNode(a)]:ll.emptyArray,!0));e.replaceNode(n,t,ll.factory.createTypeAliasDeclaration(t.decorators,t.modifiers,t.name,t.typeParameters,r))}function tq(e,n,t){var r,a;t=gl.tryCast(gl.getTokenAtPosition(n,t.start),(function(e){return 131===e.kind})),t=t&&gl.tryCast(t.parent,gl.isAwaitExpression);t&&(gl.isParenthesizedExpression((r=t).parent)&&(a=gl.getLeftmostExpression(t.expression,!1),gl.isIdentifier(a))&&(a=gl.findPrecedingToken(t.parent.pos,n))&&103!==a.kind&&(r=t.parent),e.replaceNode(n,r,t.expression))}function rq(e,n){return bl.findAncestor(bl.getTokenAtPosition(e,n.start),bl.isImportDeclaration)}function aq(e,n,t){var r;n&&(r=bl.Debug.checkDefined(n.importClause),e.replaceNode(t.sourceFile,n,bl.factory.updateImportDeclaration(n,n.decorators,n.modifiers,bl.factory.updateImportClause(r,r.isTypeOnly,r.name,void 0),n.moduleSpecifier)),e.insertNodeAfter(t.sourceFile,n,bl.factory.createImportDeclaration(void 0,void 0,bl.factory.updateImportClause(r,r.isTypeOnly,void 0,r.namedBindings),n.moduleSpecifier)))}function iq(e,n){return e=Al.getTokenAtPosition(e,n),26===e.kind&&e.parent&&(Al.isObjectLiteralExpression(e.parent)||Al.isArrayLiteralExpression(e.parent))?{node:e}:void 0}function oq(e,n,t){t=t.node;var r=Al.factory.createToken(27);e.replaceNode(n,t,r)}function sq(e,n,t,r,a){var i,o;t=kl.getTokenAtPosition(n,t.start);kl.isIdentifier(t)&&kl.isCallExpression(t.parent)&&t.parent.expression===t&&0===t.parent.arguments.length&&(i=null==(i=(r=r.getTypeChecker()).getSymbolAtLocation(t))?void 0:i.valueDeclaration)&&kl.isParameter(i)&&kl.isNewExpression(i.parent.parent)&&(null!=a&&a.has(i)||(null!=a&&a.add(i),a=(e=>kl.isInJSFile(e)?kl.isParenthesizedExpression(e.parent)&&(e=null==(e=kl.getJSDocTypeTag(e.parent))?void 0:e.typeExpression.type,e&&kl.isTypeReferenceNode(e)&&kl.isIdentifier(e.typeName)&&"Promise"===kl.idText(e.typeName))?e.typeArguments:void 0:e.typeArguments)(i.parent.parent),kl.some(a)?(a=a[0],(o=!kl.isUnionTypeNode(a)&&!kl.isParenthesizedTypeNode(a)&&kl.isParenthesizedTypeNode(kl.factory.createUnionTypeNode([a,kl.factory.createKeywordTypeNode(114)]).types[0]))&&e.insertText(n,a.pos,"("),e.insertText(n,a.end,o?") | void":" | void")):(t=(o=null==(a=r.getResolvedSignature(t.parent))?void 0:a.parameters[0])&&r.getTypeOfSymbolAtLocation(o,i.parent.parent),kl.isInJSFile(i)?(!t||3&t.flags)&&(e.insertText(n,i.parent.parent.end,")"),e.insertText(n,kl.skipTrivia(n.text,i.parent.parent.pos),"/** @type {Promise<void>} */(")):(!t||2&t.flags)&&e.insertText(n,i.parent.parent.expression.end,"<void>"))))}function cq(e,n){void 0===n&&(n=!0);var t=e.file,r=e.program,a=(e=wl.getRefactorContextSpan(e),wl.getTokenAtPosition(t,e.start)),i=a.parent&&1&wl.getSyntacticModifierFlags(a.parent)&&n?a.parent:wl.getParentNodeInSpan(a,t,e);if(!i||!(wl.isSourceFile(i.parent)||wl.isModuleBlock(i.parent)&&wl.isAmbientModule(i.parent.parent)))return{error:wl.getLocaleSpecificMessage(wl.Diagnostics.Could_not_find_export_statement)};var o=(wl.isSourceFile(i.parent)?i:i.parent).parent.symbol,s=(n=wl.getSyntacticModifierFlags(i)||(wl.isExportAssignment(i)&&!i.isExportEquals?513:0),!!(512&n));if(!(1&n)||!s&&o.exports.has("default"))return{error:wl.getLocaleSpecificMessage(wl.Diagnostics.This_file_already_has_a_default_export)};function c(e){return wl.isIdentifier(e)&&d.getSymbolAtLocation(e)?void 0:{error:wl.getLocaleSpecificMessage(wl.Diagnostics.Can_only_convert_named_export)}}var l,d=r.getTypeChecker();switch(i.kind){case 254:case 255:case 256:case 258:case 257:case 259:return(l=i).name?c(l.name)||{exportNode:l,exportName:l.name,wasDefault:s,exportingModuleSymbol:o}:void 0;case 235:var u,p=i;return 2&p.declarationList.flags&&1===p.declarationList.declarations.length&&(u=wl.first(p.declarationList.declarations)).initializer?(wl.Debug.assert(!s,"Can't have a default flag here"),c(u.name)||{exportNode:p,exportName:u.name,wasDefault:s,exportingModuleSymbol:o}):void 0;case 269:return(l=i).isExportEquals?void 0:c(l.expression)||{exportNode:l,exportName:l.expression,wasDefault:s,exportingModuleSymbol:o};default:return}}function lq(e,n){return wl.factory.createImportSpecifier(e===n?void 0:wl.factory.createIdentifier(e),wl.factory.createIdentifier(n))}function dq(e,n){return wl.factory.createExportSpecifier(e===n?void 0:wl.factory.createIdentifier(e),wl.factory.createIdentifier(n))}function uq(e,n){void 0===n&&(n=!0);var t=e.file,r=(e=Ul.getRefactorContextSpan(e),Ul.getTokenAtPosition(t,e.start));n=n?Ul.findAncestor(r,Ul.isImportDeclaration):Ul.getParentNodeInSpan(r,t,e);return n&&Ul.isImportDeclaration(n)?n.getEnd()<e.start+e.length?void 0:(r=n.importClause)?r.namedBindings||{error:Ul.getLocaleSpecificMessage(Ul.Diagnostics.Could_not_find_namespace_import_or_named_imports)}:{error:Ul.getLocaleSpecificMessage(Ul.Diagnostics.Could_not_find_import_clause)}:{error:"Selection is not an import declaration."}}function pq(e){return Ul.isPropertyAccessExpression(e)?e.name:e.right}function mq(e,n,t){return Ul.factory.createImportDeclaration(void 0,void 0,Ul.factory.createImportClause(!1,n,t&&t.length?Ul.factory.createNamedImports(t):void 0),e.moduleSpecifier)}function _q(e){return Wl.isBinaryExpression(e)||Wl.isConditionalExpression(e)}function fq(e){return _q(e)||(e=e,Wl.isExpressionStatement(e))||Wl.isReturnStatement(e)||Wl.isVariableStatement(e)}function gq(e,n){void 0===n&&(n=!0);var t=e.file,r=e.program,a=(e=Wl.getRefactorContextSpan(e),0===e.length);if(!a||n){if(n=Wl.getTokenAtPosition(t,e.start),t=Wl.findTokenOnLeftOfPosition(t,e.start+e.length),e=Wl.createTextSpanFromBounds(n.pos,(t&&t.end>=n.pos?t:n).getEnd()),t=a?(e=>{for(;e.parent;){if(fq(e)&&!fq(e.parent))return e;e=e.parent}})(n):((e,n)=>{for(;e.parent;){if(fq(e)&&0!==n.length&&e.end>=n.start+n.length)return e;e=e.parent}})(n,e),a=t&&fq(t)?(e=>{var n;return _q(e)?e:Wl.isVariableStatement(e)?(n=null==(n=Wl.getSingleVariableOfVariableStatement(e))?void 0:n.initializer)&&_q(n)?n:void 0:e.expression&&_q(e.expression)?e.expression:void 0})(t):void 0,a){n=r.getTypeChecker();if(Wl.isConditionalExpression(a)){e=a;t=n;return r=e.condition,n=bq(e.whenTrue),!n||t.isNullableType(t.getTypeAtLocation(n))?{error:Wl.getLocaleSpecificMessage(Wl.Diagnostics.Could_not_find_convertible_access_expression)}:(Wl.isPropertyAccessExpression(r)||Wl.isIdentifier(r))&&hq(r,n.expression)?{finalExpression:n,occurrences:[r],expression:e}:Wl.isBinaryExpression(r)?(t=yq(n.expression,r))?{finalExpression:n,occurrences:t,expression:e}:{error:Wl.getLocaleSpecificMessage(Wl.Diagnostics.Could_not_find_matching_access_expressions)}:void 0}return r=a,55!==r.operatorToken.kind?{error:Wl.getLocaleSpecificMessage(Wl.Diagnostics.Can_only_convert_logical_AND_access_chains)}:(n=bq(r.right))?(t=yq(n.expression,r.left))?{finalExpression:n,occurrences:t,expression:r}:{error:Wl.getLocaleSpecificMessage(Wl.Diagnostics.Could_not_find_matching_access_expressions)}:{error:Wl.getLocaleSpecificMessage(Wl.Diagnostics.Could_not_find_convertible_access_expression)}}return{error:Wl.getLocaleSpecificMessage(Wl.Diagnostics.Could_not_find_convertible_access_expression)}}}function yq(e,n){for(var t=[];Wl.isBinaryExpression(n)&&55===n.operatorToken.kind;){var r=hq(Wl.skipParentheses(e),Wl.skipParentheses(n.right));if(!r)break;t.push(r),e=r,n=n.left}var a=hq(e,n);return a&&t.push(a),0<t.length?t:void 0}function hq(e,n){return(Wl.isIdentifier(n)||Wl.isPropertyAccessExpression(n)||Wl.isElementAccessExpression(n))&&((e,n)=>{for(;(Wl.isCallExpression(e)||Wl.isPropertyAccessExpression(e)||Wl.isElementAccessExpression(e))&&vq(e)!==vq(n);)e=e.expression;for(;Wl.isPropertyAccessExpression(e)&&Wl.isPropertyAccessExpression(n)||Wl.isElementAccessExpression(e)&&Wl.isElementAccessExpression(n);){if(vq(e)!==vq(n))return;e=e.expression,n=n.expression}return Wl.isIdentifier(e)&&Wl.isIdentifier(n)&&e.getText()===n.getText()})(e,n)?n:void 0}function vq(e){return Wl.isIdentifier(e)||Wl.isStringOrNumericLiteralLike(e)?e.getText():Wl.isPropertyAccessExpression(e)?vq(e.name):Wl.isElementAccessExpression(e)?vq(e.argumentExpression):void 0}function bq(e){return e=Wl.skipParentheses(e),Wl.isBinaryExpression(e)?bq(e.left):(Wl.isPropertyAccessExpression(e)||Wl.isElementAccessExpression(e)||Wl.isCallExpression(e))&&!Wl.isOptionalChain(e)?e:void 0}function Eq(e){switch(e.kind){case 166:case 167:case 172:case 169:case 173:case 254:return!0}return!1}function Tq(e,n,t){if(n=Yl.getTokenAtPosition(e,n),n=Yl.findAncestor(n,Eq),n){var r=t.getTypeChecker();t=n.symbol;if(t&&(n=t.declarations,!(Yl.length(n)<=1)&&Yl.every(n,(function(n){return Yl.getSourceFileOfNode(n)===e}))&&Eq(n[0]))){var a=n[0].kind;if(Yl.every(n,(function(e){return e.kind===a}))&&(t=n,!Yl.some(t,(function(e){return!!e.typeParameters||Yl.some(e.parameters,(function(e){return!!e.decorators||!!e.modifiers||!Yl.isIdentifier(e.name)}))})))){var i=Yl.mapDefined(t,(function(e){return r.getSignatureFromDeclaration(e)}));if(Yl.length(i)===Yl.length(n)){var o=r.getReturnTypeOfSignature(i[0]);if(Yl.every(i,(function(e){return r.getReturnTypeOfSignature(e)===o})))return t}}}}}function Sq(e){var n=e.kind,t=Dq(e.file,ed.getRefactorContextSpan(e),"invoked"===e.triggerReason),r=t.targetRange;if(void 0===r)return t.errors&&0!==t.errors.length&&e.preferences.provideRefactorNotApplicableReason?(a=[],nd.refactorKindBeginsWith(od.kind,n)&&a.push({name:ad,description:od.description,actions:[nu(nu({},od),{notApplicableReason:v(t.errors)})]}),nd.refactorKindBeginsWith(id.kind,n)&&a.push({name:ad,description:id.description,actions:[nu(nu({},id),{notApplicableReason:v(t.errors)})]}),a):ed.emptyArray;a=(t=Cq(t=r,a=e)).scopes,i=(t=t.readsAndWrites).functionErrorsPerScope,o=t.constantErrorsPerScope;var a,i,o;r=a.map((function(e,n){a=e;var t,r,a=ed.isFunctionLikeDeclaration(a)?"inner function":ed.isClassLike(a)?"method":"function",s=ed.isClassLike(e)?"readonly field":"constant",c=ed.isFunctionLikeDeclaration(e)?(e=>{switch(e.kind){case 169:return"constructor";case 211:case 254:return e.name?"function '"+e.name.text+"'":ed.ANONYMOUS;case 212:return"arrow function";case 167:return"method '"+e.name.getText()+"'";case 170:return"'get "+e.name.getText()+"'";case 171:return"'set "+e.name.getText()+"'";default:throw ed.Debug.assertNever(e,"Unexpected scope kind "+e.kind)}})(e):ed.isClassLike(e)?255===(t=e).kind?t.name?"class '"+t.name.text+"'":"anonymous class declaration":t.name?"class expression '"+t.name.text+"'":"anonymous class expression":260===(t=e).kind?"namespace '"+t.parent.name.getText()+"'":t.externalModuleIndicator?0:1;a=1===c?(r=ed.formatStringFromArgs(ed.getLocaleSpecificMessage(ed.Diagnostics.Extract_to_0_in_1_scope),[a,"global"]),ed.formatStringFromArgs(ed.getLocaleSpecificMessage(ed.Diagnostics.Extract_to_0_in_1_scope),[s,"global"])):0===c?(r=ed.formatStringFromArgs(ed.getLocaleSpecificMessage(ed.Diagnostics.Extract_to_0_in_1_scope),[a,"module"]),ed.formatStringFromArgs(ed.getLocaleSpecificMessage(ed.Diagnostics.Extract_to_0_in_1_scope),[s,"module"])):(r=ed.formatStringFromArgs(ed.getLocaleSpecificMessage(ed.Diagnostics.Extract_to_0_in_1),[a,c]),ed.formatStringFromArgs(ed.getLocaleSpecificMessage(ed.Diagnostics.Extract_to_0_in_1),[s,c]));return 0!==n||ed.isClassLike(e)||(a=ed.formatStringFromArgs(ed.getLocaleSpecificMessage(ed.Diagnostics.Extract_to_0_in_enclosing_scope),[s])),{functionExtraction:{description:r,errors:i[n]},constantExtraction:{description:a,errors:o[n]}}}));if(void 0===r)return ed.emptyArray;for(var s,c,l=[],d=new ed.Map,u=[],p=new ed.Map,m=0,_=0,f=r;_<f.length;_++){var g=f[_],y=g.functionExtraction,h=(g=g.constantExtraction,y.description);nd.refactorKindBeginsWith(od.kind,n)&&(0===y.errors.length?d.has(h)||(d.set(h,!0),l.push({description:h,name:"function_scope_"+m,kind:od.kind})):s=s||{description:h,name:"function_scope_"+m,notApplicableReason:v(y.errors),kind:od.kind}),nd.refactorKindBeginsWith(id.kind,n)&&(0===g.errors.length?(y=g.description,p.has(y)||(p.set(y,!0),u.push({description:y,name:"constant_scope_"+m,kind:id.kind}))):c=c||{description:h,name:"constant_scope_"+m,notApplicableReason:v(g.errors),kind:id.kind}),m++}return t=[],l.length?t.push({name:ad,description:ed.getLocaleSpecificMessage(ed.Diagnostics.Extract_function),actions:l}):e.preferences.provideRefactorNotApplicableReason&&s&&t.push({name:ad,description:ed.getLocaleSpecificMessage(ed.Diagnostics.Extract_function),actions:[s]}),u.length?t.push({name:ad,description:ed.getLocaleSpecificMessage(ed.Diagnostics.Extract_constant),actions:u}):e.preferences.provideRefactorNotApplicableReason&&c&&t.push({name:ad,description:ed.getLocaleSpecificMessage(ed.Diagnostics.Extract_constant),actions:[c]}),t.length?t:ed.emptyArray;function v(e){return e=e[0].messageText,"string"!=typeof e?e.messageText:e}}function xq(e,n){var t=Dq(e.file,ed.getRefactorContextSpan(e)).targetRange,r=/^function_scope_(\d+)$/.exec(n);if(r){var a,i=+r[1],o=(ed.Debug.assert(isFinite(i),"Expected to parse a finite number from the function scope index"),r=i,u=Cq(p=t,g=e),l=u.scopes,c=(u=u.readsAndWrites).target,d=u.usagesPerScope,o=u.functionErrorsPerScope,u=u.exposedVariableDeclarations,ed.Debug.assert(!o[r].length,"The extraction went missing? How?"),g.cancellationToken.throwIfCancellationRequested(),c),s=l[r],c=d[r],l=u,d=p,u=(r=g,c.usages),p=c.typeParameterUsages,m=(c=c.substitutions,r.program.getTypeChecker()),_=ed.getEmitScriptTarget(r.program.getCompilerOptions()),f=ed.codefix.createImportAdder(r.file,r.program,r.preferences,r.host),g=s.getSourceFile(),y=(g=ed.getUniqueName(ed.isClassLike(s)?"newMethod":"newFunction",g),ed.isInJSFile(s)),h=ed.factory.createIdentifier(g),v=[],b=[],E=(u.forEach((function(e,n){y||(t=m.getTypeOfSymbolAtLocation(e.symbol,e.node),t=m.getBaseTypeOfLiteralType(t),t=ed.codefix.typeToAutoImportableTypeNode(m,f,t,s,_,1));var t=ed.factory.createParameterDeclaration(void 0,void 0,void 0,n,void 0,t);v.push(t),2===e.usage&&(a=a||[]).push(e),b.push(ed.factory.createIdentifier(n))})),u=void 0!==(p=0===(u=ed.arrayFrom(p.values()).map((function(e){return{type:e,declaration:(e=>{var n;if((e=e.symbol)&&e.declarations)for(var t=0,r=e.declarations;t<r.length;t++){var a=r[t];(void 0===n||a.pos<n.pos)&&(n=a)}return n})(e)}})).sort(Iq)).length?void 0:u.map((function(e){return e.declaration})))?p.map((function(e){return ed.factory.createTypeReferenceNode(e.name,void 0)})):void 0,ed.isExpression(o)&&!y&&(j=m.getContextualType(o),j=m.typeToTypeNode(j,s,1)),(c=((e,n,t,r,a)=>{var i,o,s,c,l=void 0!==t||0<n.length;return ed.isBlock(e)&&!l&&0===r.size?{body:ed.factory.createBlock(e.statements,!0),returnValueProperty:void 0}:(o=!1,s=ed.factory.createNodeArray(ed.isBlock(e)?e.statements.slice(0):[ed.isStatement(e)?e:ed.factory.createReturnStatement(e)]),l||r.size?(c=ed.visitNodes(s,(function e(a){var s,c;return!o&&ed.isReturnStatement(a)&&l?(s=Nq(n,t),a.expression&&(i=i||"__return",s.unshift(ed.factory.createPropertyAssignment(i,ed.visitNode(a.expression,e)))),1===s.length?ed.factory.createReturnStatement(s[0].name):ed.factory.createReturnStatement(ed.factory.createObjectLiteralExpression(s))):(o=(s=o)||ed.isFunctionLikeDeclaration(a)||ed.isClassLike(a),c=r.get(ed.getNodeId(a).toString()),c=c?ed.getSynthesizedDeepClone(c):ed.visitEachChild(a,e,ed.nullTransformationContext),o=s,c)})).slice(),l&&!a&&ed.isStatement(e)&&(1===(a=Nq(n,t)).length?c.push(ed.factory.createReturnStatement(a[0].name)):c.push(ed.factory.createReturnStatement(ed.factory.createObjectLiteralExpression(a)))),{body:ed.factory.createBlock(c,!0),returnValueProperty:i}):{body:ed.factory.createBlock(s,!0),returnValueProperty:void 0})})(o,l,a,c,!!(d.facts&rd.HasReturn))).body),T=(c=c.returnValueProperty,ed.suppressLeadingAndTrailingTrivia(E),k=ed.isClassLike(s)?(k=y?[]:[ed.factory.createModifier(121)],d.facts&rd.InStaticRegion&&k.push(ed.factory.createModifier(124)),d.facts&rd.IsAsyncFunction&&k.push(ed.factory.createModifier(130)),ed.factory.createMethodDeclaration(void 0,k.length?k:void 0,d.facts&rd.IsGenerator?ed.factory.createToken(41):void 0,h,void 0,p,v,j,E)):ed.factory.createFunctionDeclaration(void 0,d.facts&rd.IsAsyncFunction?[ed.factory.createToken(130)]:void 0,d.facts&rd.IsGenerator?ed.factory.createToken(41):void 0,h,p,v,j,E),h=ed.textChanges.ChangeTracker.fromContext(r),(p=((e,n)=>ed.find((e=>{if(ed.isFunctionLikeDeclaration(e)){var n=e.body;if(ed.isBlock(n))return n.statements}else{if(ed.isModuleBlock(e)||ed.isSourceFile(e))return e.statements;if(ed.isClassLike(e))return e.members;ed.assertType(e)}return ed.emptyArray})(n),(function(n){return n.pos>=e&&ed.isFunctionLikeDeclaration(n)&&!ed.isConstructorDeclaration(n)})))((kq(d.range)?ed.last(d.range):d.range).end,s))?h.insertNodeBefore(r.file,p,k,!0):h.insertNodeAtEndOfScope(r.file,s,k),f.writeFixes(h),[]);E=((e,n,t)=>(t=ed.factory.createIdentifier(t),ed.isClassLike(e)?(n=n.facts&rd.InStaticRegion?ed.factory.createIdentifier(e.name.text):ed.factory.createThis(),ed.factory.createPropertyAccessExpression(n,t)):t))(s,d,g),p=ed.factory.createCallExpression(E,u,b);if(d.facts&rd.IsGenerator&&(p=ed.factory.createYieldExpression(ed.factory.createToken(41),p)),d.facts&rd.IsAsyncFunction&&(p=ed.factory.createAwaitExpression(p)),Pq(o)&&(p=ed.factory.createJsxExpression(void 0,p)),l.length&&!a)if(ed.Debug.assert(!c,"Expected no returnValueProperty"),ed.Debug.assert(!(d.facts&rd.HasReturn),"Expected RangeFacts.HasReturn flag to be unset"),1===l.length){var S=l[0];T.push(ed.factory.createVariableStatement(void 0,ed.factory.createVariableDeclarationList([ed.factory.createVariableDeclaration(ed.getSynthesizedDeepClone(S.name),void 0,ed.getSynthesizedDeepClone(S.type),p)],S.parent.flags)))}else{for(var x=[],L=[],D=l[0].parent.flags,A=!1,C=0,I=l;C<I.length;C++){S=I[C];var N=(x.push(ed.factory.createBindingElement(void 0,void 0,ed.getSynthesizedDeepClone(S.name))),m.typeToTypeNode(m.getBaseTypeOfLiteralType(m.getTypeAtLocation(S)),s,1));L.push(ed.factory.createPropertySignature(void 0,S.symbol.name,void 0,N)),A=A||void 0!==S.type,D&=S.parent.flags}var k=A?ed.factory.createTypeLiteralNode(L):void 0;k&&ed.setEmitFlags(k,1),T.push(ed.factory.createVariableStatement(void 0,ed.factory.createVariableDeclarationList([ed.factory.createVariableDeclaration(ed.factory.createObjectBindingPattern(x),void 0,k,p)],D)))}else if(l.length||a){if(l.length)for(var R=0,O=l;R<O.length;R++){var P=(S=O[R]).parent.flags;2&P&&(P=-3&P|1),T.push(ed.factory.createVariableStatement(void 0,ed.factory.createVariableDeclarationList([ed.factory.createVariableDeclaration(S.symbol.name,void 0,w(S.type))],P)))}c&&T.push(ed.factory.createVariableStatement(void 0,ed.factory.createVariableDeclarationList([ed.factory.createVariableDeclaration(c,void 0,w(j))],1))),E=Nq(l,a),c&&E.unshift(ed.factory.createShorthandPropertyAssignment(c)),1===E.length?(ed.Debug.assert(!c,"Shouldn't have returnValueProperty here"),T.push(ed.factory.createExpressionStatement(ed.factory.createAssignment(E[0].name,p))),d.facts&rd.HasReturn&&T.push(ed.factory.createReturnStatement())):(T.push(ed.factory.createExpressionStatement(ed.factory.createAssignment(ed.factory.createObjectLiteralExpression(E),p))),c&&T.push(ed.factory.createReturnStatement(ed.factory.createIdentifier(c))))}else d.facts&rd.HasReturn?T.push(ed.factory.createReturnStatement(p)):kq(d.range)?T.push(ed.factory.createExpressionStatement(p)):T.push(p);return kq(d.range)?h.replaceNodeRangeWithNodes(r.file,ed.first(d.range),ed.last(d.range),T):h.replaceNodeWithNodes(r.file,d.range,T),u=h.getChanges(),o=(kq(d.range)?ed.first(d.range):d.range).getSourceFile().fileName,k=ed.getRenameLocation(u,o,g,!1),{renameFilename:o,renameLocation:k,edits:u};function w(e){if(void 0!==e){e=ed.getSynthesizedDeepClone(e);for(var n=e;ed.isParenthesizedTypeNode(n);)n=n.type;return ed.isUnionTypeNode(n)&&ed.find(n.types,(function(e){return 151===e.kind}))?e:ed.factory.createUnionTypeNode([e,ed.factory.createKeywordTypeNode(151)])}}}var M,F,G,B,U,V,j=/^constant_scope_(\d+)$/.exec(n);if(j)return i=+j[1],ed.Debug.assert(isFinite(i),"Expected to parse a finite number from the constant scope index"),l=i,p=Cq(E=t,c=e),r=p.scopes,h=(p=p.readsAndWrites).target,d=p.usagesPerScope,g=p.constantErrorsPerScope,p=p.exposedVariableDeclarations,ed.Debug.assert(!g[l].length,"The extraction went missing? How?"),ed.Debug.assert(0===p.length,"Extract constant accepted a range containing a variable declaration?"),c.cancellationToken.throwIfCancellationRequested(),M=ed.isExpression(h)?h:h.statements[0].expression,F=r[l],o=d[l],k=E.facts,u=c,o=o.substitutions,V=u.program.getTypeChecker(),n=F.getSourceFile(),n=ed.getUniqueName(ed.isClassLike(F)?"newProperty":"newLocal",n),i=ed.isInJSFile(F),t=i||!V.isContextSensitive(M)?void 0:V.typeToTypeNode(V.getContextualType(M),F,1),o=((e,n)=>n.size?function e(t){var r=n.get(ed.getNodeId(t).toString());return r?ed.getSynthesizedDeepClone(r):ed.visitEachChild(t,e,ed.nullTransformationContext)}(e):e)(M,o),e=((e,n)=>{if(void 0!==e&&(ed.isFunctionExpression(n)||ed.isArrowFunction(n))&&!n.typeParameters){var t=V.getTypeAtLocation(M);t=ed.singleOrUndefined(V.getSignaturesOfType(t,0));if(t&&!t.getTypeParameters()){for(var r,a=[],i=!1,o=0,s=n.parameters;o<s.length;o++){var c,l=s[o];l.type?a.push(l):((c=V.getTypeAtLocation(l))===V.getAnyType()&&(i=!0),a.push(ed.factory.updateParameterDeclaration(l,l.decorators,l.modifiers,l.dotDotDotToken,l.name,l.questionToken,l.type||V.typeToTypeNode(c,F,1),l.initializer)))}i||(e=void 0,n=ed.isArrowFunction(n)?ed.factory.updateArrowFunction(n,M.modifiers,n.typeParameters,a,n.type||V.typeToTypeNode(t.getReturnType(),F,1),n.equalsGreaterThanToken,n.body):(t&&t.thisParameter&&(!(r=ed.firstOrUndefined(a))||ed.isIdentifier(r.name)&&"this"!==r.name.escapedText)&&(r=V.getTypeOfSymbolAtLocation(t.thisParameter,M),a.splice(0,0,ed.factory.createParameterDeclaration(void 0,void 0,void 0,"this",void 0,V.typeToTypeNode(r,F,1)))),ed.factory.updateFunctionExpression(n,M.modifiers,n.asteriskToken,n.name,n.typeParameters,a,n.type||V.typeToTypeNode(t.getReturnType(),F,1),n.body)))}}return{variableType:e,initializer:n}})(t,o),t=e.variableType,o=e.initializer,ed.suppressLeadingAndTrailingTrivia(o),e=ed.textChanges.ChangeTracker.fromContext(u),ed.isClassLike(F)?(ed.Debug.assert(!i,"Cannot extract to a JS class"),(i=[]).push(ed.factory.createModifier(121)),k&rd.InStaticRegion&&i.push(ed.factory.createModifier(124)),i.push(ed.factory.createModifier(143)),i=ed.factory.createPropertyDeclaration(void 0,i,n,void 0,t,o),U=ed.factory.createPropertyAccessExpression(k&rd.InStaticRegion?ed.factory.createIdentifier(F.name.getText()):ed.factory.createThis(),ed.factory.createIdentifier(n)),Pq(M)&&(U=ed.factory.createJsxExpression(void 0,U)),B=((e,n)=>{for(var t,r=n.members,a=(ed.Debug.assert(0<r.length,"Found no members"),!0),i=0,o=r;i<o.length;i++){var s=o[i];if(s.pos>e)return t||r[0];if(a&&!ed.isPropertyDeclaration(s)){if(void 0!==t)return s;a=!1}t=s}return void 0===t?ed.Debug.fail():t})(M.pos,F),e.insertNodeBefore(u.file,B,i,!0),e.replaceNode(u.file,M,U)):(k=ed.factory.createVariableDeclaration(n,void 0,t,o),(i=((e,n)=>{for(var t;void 0!==e&&e!==n;){if(ed.isVariableDeclaration(e)&&e.initializer===t&&ed.isVariableDeclarationList(e.parent)&&1<e.parent.declarations.length)return e;e=(t=e).parent}})(M,F))?(e.insertNodeBefore(u.file,i,k),U=ed.factory.createIdentifier(n),e.replaceNode(u.file,M,U)):236===M.parent.kind&&F===ed.findAncestor(M,Aq)?(G=ed.factory.createVariableStatement(void 0,ed.factory.createVariableDeclarationList([k],2)),e.replaceNode(u.file,M.parent,G)):(G=ed.factory.createVariableStatement(void 0,ed.factory.createVariableDeclarationList([k],2)),0===(B=((e,n)=>{var t;ed.Debug.assert(!ed.isClassLike(n));for(var r=e;r!==n;r=r.parent)Aq(r)&&(t=r);for(r=(t||e).parent;;r=r.parent){if(Oq(r)){for(var a=void 0,i=0,o=r.statements;i<o.length;i++){var s=o[i];if(s.pos>e.pos)break;a=s}return!a&&ed.isCaseClause(r)?(ed.Debug.assert(ed.isSwitchStatement(r.parent.parent),"Grandparent isn't a switch statement"),r.parent.parent):ed.Debug.checkDefined(a,"prevStatement failed to get set")}ed.Debug.assert(r!==n,"Didn't encounter a block-like before encountering scope")}})(M,F)).pos?e.insertNodeAtTopOfFile(u.file,G,!1):e.insertNodeBefore(u.file,B,G,!1),236===M.parent.kind?e.delete(u.file,M.parent):(U=ed.factory.createIdentifier(n),Pq(M)&&(U=ed.factory.createJsxExpression(void 0,U)),e.replaceNode(u.file,M,U)))),t=e.getChanges(),o=M.getSourceFile().fileName,i=ed.getRenameLocation(t,o,n,!0),{renameFilename:o,renameLocation:i,edits:t};ed.Debug.fail("Unrecognized action name")}function Lq(e){return{message:e,code:0,category:ed.DiagnosticCategory.Message,key:e}}function Dq(e,n,t){void 0===t&&(t=!0);var r=n.length;if(0===r&&!t)return{errors:[ed.createFileDiagnostic(e,n.start,r,td.cannotExtractEmpty)]};var a=0===r&&t,i=ed.findFirstNonJsxWhitespaceToken(e,n.start),o=ed.findTokenOnLeftOfPosition(e,ed.textSpanEnd(n)),s=(t=i&&o&&t?((e,n,t)=>(e=e.getStart(t),n=n.getEnd(),59===t.text.charCodeAt(n)&&n++,{start:e,length:n-e}))(i,o,e):n,a?ed.findAncestor(i,(function(e){return e.parent&&Rq(e)&&!ed.isBinaryExpression(e.parent)})):ed.getParentNodeInSpan(i,e,t)),c=a?s:ed.getParentNodeInSpan(o,e,t),l=[],d=rd.None;if(!s||!c)return{errors:[ed.createFileDiagnostic(e,n.start,r,td.cannotExtractRange)]};if(ed.isJSDoc(s))return{errors:[ed.createFileDiagnostic(e,n.start,r,td.cannotExtractJSDoc)]};if(s.parent!==c.parent)return{errors:[ed.createFileDiagnostic(e,n.start,r,td.cannotExtractRange)]};if(s===c)return ed.isReturnStatement(s)&&!s.expression?{errors:[ed.createFileDiagnostic(e,n.start,r,td.cannotExtractRange)]}:(a=(e=>{if(ed.isIdentifier(ed.isExpressionStatement(e)?e.expression:e))return[ed.createDiagnosticForNode(e,td.cannotExtractIdentifier)]})(i=(e=>{if(ed.isReturnStatement(e)){if(e.expression)return e.expression}else if(ed.isVariableStatement(e)){for(var n=0,t=void 0,r=0,a=e.declarationList.declarations;r<a.length;r++){var i=a[r];i.initializer&&(n++,t=i.initializer)}if(1===n)return t}else if(ed.isVariableDeclaration(e)&&e.initializer)return e.initializer;return e})(s))||g(i))?{errors:a}:{targetRange:{range:(e=>ed.isStatement(e)?[e]:ed.isExpressionNode(e)?ed.isExpressionStatement(e.parent)?[e.parent]:e:void 0)(i),facts:d,declarations:l}};if(!Oq(s.parent))return{errors:[ed.createFileDiagnostic(e,n.start,r,td.cannotExtractRange)]};for(var u=[],p=0,m=s.parent.statements;p<m.length;p++){var _=m[p];if(_===s||u.length){var f=g(_);if(f)return{errors:f};u.push(_)}if(_===c)break}return u.length?{targetRange:{range:u,facts:d,declarations:l}}:{errors:[ed.createFileDiagnostic(e,n.start,r,td.cannotExtractRange)]};function g(e){if(ed.Debug.assert(e.pos<=e.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (1)"),ed.Debug.assert(!ed.positionIsSynthesized(e.pos),"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (2)"),!(ed.isStatement(e)||ed.isExpressionNode(e)&&Rq(e)))return[ed.createDiagnosticForNode(e,td.statementOrExpressionExpected)];if(8388608&e.flags)return[ed.createDiagnosticForNode(e,td.cannotExtractAmbientBlock)];var t,r=ed.getContainingClass(e);if(r)for(var a=r,i=e;i!==a;){if(165===i.kind){ed.isStatic(i)&&(d|=rd.InStaticRegion);break}if(162===i.kind){169===ed.getContainingFunction(i).kind&&(d|=rd.InStaticRegion);break}167===i.kind&&ed.isStatic(i)&&(d|=rd.InStaticRegion),i=i.parent}var o,s=4;return function e(r){if(t)return!0;if(ed.isDeclaration(r)){var a=252===r.kind?r.parent.parent:r;if(ed.hasSyntacticModifier(a,1))return(t=t||[]).push(ed.createDiagnosticForNode(r,td.cannotExtractExportedEntity)),!0;l.push(r.symbol)}switch(r.kind){case 264:return(t=t||[]).push(ed.createDiagnosticForNode(r,td.cannotExtractImport)),!0;case 269:return(t=t||[]).push(ed.createDiagnosticForNode(r,td.cannotExtractExportedEntity)),!0;case 106:if(206===r.parent.kind){var i=ed.getContainingClass(r);if(i.pos<n.start||i.end>=n.start+n.length)return(t=t||[]).push(ed.createDiagnosticForNode(r,td.cannotExtractSuper)),!0}else d|=rd.UsesThis;break;case 212:ed.forEachChild(r,(function e(n){if(ed.isThis(n))d|=rd.UsesThis;else{if(ed.isClassLike(n)||ed.isFunctionLike(n)&&!ed.isArrowFunction(n))return!1;ed.forEachChild(n,e)}}));case 255:case 254:ed.isSourceFile(r.parent)&&void 0===r.parent.externalModuleIndicator&&(t=t||[]).push(ed.createDiagnosticForNode(r,td.functionWillNotBeVisibleInTheNewScope));case 224:case 211:case 167:case 169:case 170:case 171:return!1}switch(a=s,r.kind){case 237:case 250:s=0;break;case 233:r.parent&&250===r.parent.kind&&r.parent.finallyBlock===r&&(s=4);break;case 288:case 287:s|=1;break;default:ed.isIterationStatement(r,!1)&&(s|=3)}switch(r.kind){case 190:case 108:d|=rd.UsesThis;break;case 248:var c=r.label;(o=o||[]).push(c.escapedText),ed.forEachChild(r,e),o.pop();break;case 244:case 243:(c=r.label)?ed.contains(o,c.escapedText)||(t=t||[]).push(ed.createDiagnosticForNode(r,td.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):s&(244===r.kind?1:2)||(t=t||[]).push(ed.createDiagnosticForNode(r,td.cannotExtractRangeContainingConditionalBreakOrContinueStatements));break;case 216:d|=rd.IsAsyncFunction;break;case 222:d|=rd.IsGenerator;break;case 245:4&s?d|=rd.HasReturn:(t=t||[]).push(ed.createDiagnosticForNode(r,td.cannotExtractRangeContainingConditionalReturnStatement));break;default:ed.forEachChild(r,e)}s=a}(e),t}}function Aq(e){return ed.isFunctionLikeDeclaration(e)||ed.isSourceFile(e)||ed.isModuleBlock(e)||ed.isClassLike(e)}function Cq(e,n){var t,r=n.file,a=(e=>{var n=kq(e.range)?ed.first(e.range):e.range;if(e.facts&rd.UsesThis){var t;e=ed.getContainingClass(n);if(e)return(t=ed.findAncestor(n,ed.isFunctionLikeDeclaration))?[t,e]:[e]}for(var r=[];;)if(Aq(n=162===(n=n.parent).kind?ed.findAncestor(n,(function(e){return ed.isFunctionLikeDeclaration(e)})).parent:n)&&(r.push(n),300===n.kind))return r})(e),i=(i=r,kq((t=e).range)?{pos:ed.first(t.range).getStart(i),end:ed.last(t.range).getEnd()}:t.range);return{scopes:a,readsAndWrites:((e,n,t,r,a,i)=>{var o,s,c=new ed.Map,l=[],d=[],u=[],p=[],m=[],_=new ed.Map,f=[],g=kq(e.range)?1===e.range.length&&ed.isExpressionStatement(e.range[0])?e.range[0].expression:void 0:e.range;void 0===g?(T=e.range,S=ed.first(T).getStart(),T=ed.last(T).end,s=ed.createFileDiagnostic(r,S,T-S,td.expressionExpected)):147456&a.getTypeAtLocation(g).flags&&(s=ed.createDiagnosticForNode(g,td.uselessConstantType));for(var y=0,h=n;y<h.length;y++){var v=h[y],b=(l.push({usages:new ed.Map,typeParameterUsages:new ed.Map,substitutions:new ed.Map}),d.push(new ed.Map),u.push([]),[]);s&&b.push(s),ed.isClassLike(v)&&ed.isInJSFile(v)&&b.push(ed.createDiagnosticForNode(v,td.cannotExtractToJSClass)),ed.isArrowFunction(v)&&!ed.isBlock(v.body)&&b.push(ed.createDiagnosticForNode(v,td.cannotExtractToExpressionArrowFunction)),p.push(b)}var E=new ed.Map,T=kq(e.range)?ed.factory.createBlock(e.range):e.range,S=kq(e.range)?ed.first(e.range):e.range,x=(e=>!!ed.findAncestor(e,(function(e){return ed.isDeclarationWithTypeParameters(e)&&0!==ed.getEffectiveTypeParameterDeclarations(e).length})))(S);if(function e(n,t){void 0===t&&(t=1),x&&R(a.getTypeAtLocation(n)),ed.isDeclaration(n)&&n.symbol&&m.push(n),ed.isAssignmentExpression(n)?(e(n.left,2),e(n.right)):ed.isUnaryExpressionWithWrite(n)?e(n.operand,2):ed.isPropertyAccessExpression(n)||ed.isElementAccessExpression(n)||!ed.isIdentifier(n)?ed.forEachChild(n,e):!n.parent||ed.isQualifiedName(n.parent)&&n!==n.parent.left||ed.isPropertyAccessExpression(n.parent)&&n!==n.parent.expression||O(n,t,ed.isPartOfTypeNode(n))}(T),x&&!kq(e.range)&&R(a.getContextualType(e.range)),0<c.size){for(var L=new ed.Map,D=0,A=S;void 0!==A&&D<n.length;A=A.parent)if(A===n[D]&&(L.forEach((function(e,n){l[D].typeParameterUsages.set(n,e)})),D++),ed.isDeclarationWithTypeParameters(A))for(var C=0,I=ed.getEffectiveTypeParameterDeclarations(A);C<I.length;C++){var N=I[C];N=a.getTypeAtLocation(N);c.has(N.id.toString())&&L.set(N.id.toString(),N)}ed.Debug.assert(D===n.length,"Should have iterated all scopes")}m.length&&(g=ed.isBlockScope(n[0],n[0].parent)?n[0]:ed.getEnclosingBlockScopeContainer(n[0]),ed.forEachChild(g,(function n(t){if(!(t===e.range||kq(e.range)&&0<=e.range.indexOf(t))){var r,i,s=ed.isIdentifier(t)?P(t):a.getSymbolAtLocation(t);s&&(r=ed.find(m,(function(e){return e.symbol===s})))&&(ed.isVariableDeclaration(r)?(i=r.symbol.id.toString(),_.has(i)||(f.push(r),_.set(i,!0))):o=o||r),ed.forEachChild(t,n)}})));for(var k=0;k<n.length;k++)(n=>{var t,r,a=l[n],i=(0<n&&(0<a.usages.size||0<a.typeParameterUsages.size)&&(a=kq(e.range)?e.range[0]:e.range,p[n].push(ed.createDiagnosticForNode(a,td.cannotAccessVariablesFromNestedScopes))),!1);l[n].usages.forEach((function(e){2===e.usage&&(i=!0,106500&e.symbol.flags)&&e.symbol.valueDeclaration&&ed.hasEffectiveModifier(e.symbol.valueDeclaration,64)&&(t=e.symbol.valueDeclaration)})),ed.Debug.assert(kq(e.range)||0===f.length,"No variable declarations expected if something was extracted"),i&&!kq(e.range)?(r=ed.createDiagnosticForNode(e.range,td.cannotWriteInExpression),u[n].push(r),p[n].push(r)):t&&0<n?(r=ed.createDiagnosticForNode(t,td.cannotExtractReadonlyPropertyInitializerOutsideConstructor),u[n].push(r),p[n].push(r)):o&&(r=ed.createDiagnosticForNode(o,td.cannotExtractExportedEntity),u[n].push(r),p[n].push(r))})(k);return{target:T,usagesPerScope:l,functionErrorsPerScope:u,constantErrorsPerScope:p,exposedVariableDeclarations:f};function R(e){for(var n=0,t=a.getSymbolWalker((function(){return i.throwIfCancellationRequested(),!0})).walkType(e).visitedTypes;n<t.length;n++){var r=t[n];r.isTypeParameter()&&c.set(r.id.toString(),r)}}function O(i,o,s){var c=((i,o,s)=>{var c=P(i);if(c){var m=ed.getSymbolId(c).toString(),_=E.get(m);if(!(_&&o<=_))if(E.set(m,o),_)for(var f=0,g=l;f<g.length;f++){var y=g[f];y.usages.get(i.text)&&y.usages.set(i.text,{usage:o,symbol:c,node:i})}else{if(_=c.getDeclarations(),_=_&&ed.find(_,(function(e){return e.getSourceFile()===r})),!_)return;if(ed.rangeContainsStartEnd(t,_.getStart(),_.end))return;if(e.facts&rd.IsGenerator&&2===o){for(var h=ed.createDiagnosticForNode(i,td.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators),v=0,b=u;v<b.length;v++)b[v].push(h);for(var T=0,S=p;T<S.length;T++)S[T].push(h)}for(var x=0;x<n.length;x++){var L=n[x];a.resolveName(c.name,L,c.flags,!1)===c||d[x].has(m)||((L=function e(n,t,r){if(n){var a=n.getDeclarations();if(a&&a.some((function(e){return e.parent===t})))return ed.factory.createIdentifier(n.name);if(a=e(n.parent,t,r),void 0!==a)return r?ed.factory.createQualifiedName(a,ed.factory.createIdentifier(n.name)):ed.factory.createPropertyAccessExpression(a,n.name)}}(c.exportSymbol||c,L,s))?d[x].set(m,L):s?262144&c.flags||(h=ed.createDiagnosticForNode(i,td.typeWillNotBeVisibleInTheNewScope),u[x].push(h),p[x].push(h)):l[x].usages.set(i.text,{usage:o,symbol:c,node:i}))}}return m}})(i,o,s);if(c)for(var m=0;m<n.length;m++){var _=d[m].get(c);_&&l[m].substitutions.set(ed.getNodeId(i).toString(),_)}}function P(e){return e.parent&&ed.isShorthandPropertyAssignment(e.parent)&&e.parent.name===e?a.getShorthandAssignmentValueSymbol(e.parent):a.getSymbolAtLocation(e)}})(e,a,i,r,n.program.getTypeChecker(),n.cancellationToken)}}function Iq(e,n){var t=e.type,r=n.type;return ed.compareProperties(e.declaration,n.declaration,"pos",ed.compareValues)||ed.compareStringsCaseSensitive(t.symbol?t.symbol.getName():"",r.symbol?r.symbol.getName():"")||ed.compareValues(t.id,r.id)}function Nq(e,n){return e=ed.map(e,(function(e){return ed.factory.createShorthandPropertyAssignment(e.symbol.name)})),n=ed.map(n,(function(e){return ed.factory.createShorthandPropertyAssignment(e.symbol.name)})),void 0===e?n:void 0===n?e:e.concat(n)}function kq(e){return ed.isArray(e)}function Rq(e){var n=e.parent;if(294===n.kind)return!1;switch(e.kind){case 10:return 264!==n.kind&&268!==n.kind;case 223:case 199:case 201:return!1;case 79:return 201!==n.kind&&268!==n.kind&&273!==n.kind}return!0}function Oq(e){switch(e.kind){case 233:case 300:case 260:case 287:return 1;default:return}}function Pq(e){return(ed.isJsxElement(e)||ed.isJsxSelfClosingElement(e)||ed.isJsxFragment(e))&&(ed.isJsxElement(e.parent)||ed.isJsxFragment(e.parent))}function wq(e,n){void 0===n&&(n=!0);var t,r,a,i,o,s,c=e.file,l=e.startPosition,d=sd.isSourceFileJS(c),u=sd.getTokenAtPosition(c,l),p=sd.createTextRangeFromSpan(sd.getRefactorContextSpan(e)),m=p.pos===p.end&&n;l=sd.findAncestor(u,(function(e){return e.parent&&sd.isTypeNode(e)&&!Mq(p,e.parent,c)&&(m||sd.nodeOverlapsWithStartEnd(u,c,p.pos,p.end))}));return l&&sd.isTypeNode(l)?(n=e.program.getTypeChecker(),e=sd.Debug.checkDefined(sd.findAncestor(l,sd.isStatement),"Should find a statement"),r=n,i=e,o=c,s=[],(t=function e(n){if(sd.isTypeReferenceNode(n))sd.isIdentifier(n.typeName)&&null!=(c=r.resolveName(n.typeName.text,n.typeName,262144,!0))&&c.declarations&&(t=sd.cast(sd.first(c.declarations),sd.isTypeParameterDeclaration),Mq(i,t,o))&&!Mq(a,t,o)&&sd.pushIfUnique(s,t);else if(sd.isInferTypeNode(n)){var t=sd.findAncestor(n,(function(e){return sd.isConditionalTypeNode(e)&&Mq(e.extendsType,n,o)}));if(!t||!Mq(a,t,o))return!0}else if(sd.isTypePredicateNode(n)||sd.isThisTypeNode(n)){if(t=sd.findAncestor(n.parent,sd.isFunctionLike),t&&t.type&&Mq(t.type,n,o)&&!Mq(a,t,o))return!0}else if(sd.isTypeQueryNode(n)){var c;if(sd.isIdentifier(n.exprName)){if(null!=(c=r.resolveName(n.exprName.text,n.exprName,111551,!1))&&c.valueDeclaration&&Mq(i,c.valueDeclaration,o)&&!Mq(a,c.valueDeclaration,o))return!0}else if(sd.isThisIdentifier(n.exprName.left)&&!Mq(a,n.parent,o))return!0}return o&&sd.isTupleTypeNode(n)&&sd.getLineAndCharacterOfPosition(o,n.pos).line===sd.getLineAndCharacterOfPosition(o,n.end).line&&sd.setEmitFlags(n,1),sd.forEachChild(n,e)}(a=l)?void 0:s)?{isJS:d,selection:l,firstStatement:e,typeParameters:t,typeElements:function e(n,t){if(t){if(sd.isIntersectionTypeNode(t)){for(var r=[],a=new sd.Map,i=0,o=t.types;i<o.length;i++){var s=o[i];s=e(n,s);if(!s||!s.every((function(e){return e.name&&sd.addToSeen(a,sd.getNameFromPropertyName(e.name))})))return;sd.addRange(r,s)}return r}return sd.isParenthesizedTypeNode(t)?e(n,t.type):sd.isTypeLiteralNode(t)?t.members:void 0}}(n,l)}:{error:sd.getLocaleSpecificMessage(sd.Diagnostics.No_type_could_be_extracted_from_this_type_node)}):{error:sd.getLocaleSpecificMessage(sd.Diagnostics.Selection_is_not_a_valid_type_node)}}function Mq(e,n,t){return sd.rangeContainsStartEnd(e,sd.skipTrivia(t.text,n.pos),n.end)}function Fq(e){var n,t,r,a;e=(e=>{var n=e.file,t=hd.createTextRangeFromSpan(hd.getRefactorContextSpan(e)),r=(e=n.statements,hd.findIndex(e,(function(e){return e.end>t.pos})));if(-1!==r){var a=e[r];if(hd.isNamedDeclaration(a)&&a.name&&hd.rangeContainsRange(a.name,t))return{toMove:[e[r]],afterLast:e[r+1]};if(!(t.pos>a.getStart(n))&&(a=hd.findIndex(e,(function(e){return e.end>t.end}),r),-1===a||!(0===a||e[a].getStart(n)<t.end)))return{toMove:e.slice(r,-1===a?e.length:a),afterLast:-1===a?void 0:e[a]}}})(e);if(void 0!==e)return n=[],t=[],r=e.toMove,a=e.afterLast,hd.getRangesWhere(r,Gq,(function(e,i){for(var o=e;o<i;o++)n.push(r[o]);t.push({first:r[e],afterLast:a})})),0===n.length?void 0:{all:n,ranges:t}}function Gq(e){return!(e=>{switch(e.kind){case 264:return 1;case 263:return!hd.hasSyntacticModifier(e,1);case 235:return e.declarationList.declarations.every((function(e){return!!e.initializer&&hd.isRequireCall(e.initializer,!0)}));default:return}})(e)&&!hd.isPrologueDirective(e)}function Bq(e,n,t){for(var r=0,a=n;r<a.length;r++){var i=a[r],o=i.first;t.deleteNodeRangeExcludingEnd(e,o,i.afterLast)}}function Uq(e){return 264===e.kind?e.moduleSpecifier:263===e.kind?e.moduleReference.expression:e.initializer.arguments[0]}function Vq(e,n){if(hd.isImportDeclaration(e))hd.isStringLiteral(e.moduleSpecifier)&&n(e);else if(hd.isImportEqualsDeclaration(e))hd.isExternalModuleReference(e.moduleReference)&&hd.isStringLiteralLike(e.moduleReference.expression)&&n(e);else if(hd.isVariableStatement(e))for(var t=0,r=e.declarationList.declarations;t<r.length;t++){var a=r[t];a.initializer&&hd.isRequireCall(a.initializer,!0)&&n(a)}}function jq(e,n,t,r,a){return t=hd.ensurePathIsNonModuleName(t),r?(r=n.map((function(e){return hd.factory.createImportSpecifier(void 0,hd.factory.createIdentifier(e))})),hd.makeImportIfNecessary(e,r,t,a)):(hd.Debug.assert(!e,"No default import should exist"),(r=n.map((function(e){return hd.factory.createBindingElement(void 0,void 0,e)}))).length?Kq(hd.factory.createObjectBindingPattern(r),void 0,Hq(hd.factory.createStringLiteral(t))):void 0)}function Kq(e,n,t,r){return void 0===r&&(r=2),hd.factory.createVariableStatement(void 0,hd.factory.createVariableDeclarationList([hd.factory.createVariableDeclaration(e,void 0,n,t)],r))}function Hq(e){return hd.factory.createCallExpression(hd.factory.createIdentifier("require"),void 0,[e])}function Wq(e,n,t,r){switch(n.kind){case 264:var a=e,i=n,o=t,s=r;if(i.importClause){var c=i.importClause,l=c.name,d=(c=c.namedBindings,!l||s(l)),u=!c||(266===c.kind?s(c.name):0!==c.elements.length&&c.elements.every((function(e){return s(e.name)})));if(d&&u)o.delete(a,i);else if(l&&d&&o.delete(a,l),c)if(u)o.replaceNode(a,i.importClause,hd.factory.updateImportClause(i.importClause,i.importClause.isTypeOnly,l,void 0));else if(267===c.kind)for(var p=0,m=c.elements;p<m.length;p++){var _=m[p];s(_.name)&&o.delete(a,_)}}break;case 263:r(n.name)&&t.delete(e,n);break;case 252:var f=e,g=n,y=t,h=r,v=g.name;switch(v.kind){case 79:h(v)&&y.delete(f,v);break;case 200:break;case 199:if(v.elements.every((function(e){return hd.isIdentifier(e.name)&&h(e.name)})))y.delete(f,hd.isVariableDeclarationList(g.parent)&&1===g.parent.declarations.length?g.parent.parent:g);else for(var b=0,E=v.elements;b<E.length;b++){var T=E[b];hd.isIdentifier(T.name)&&h(T.name)&&y.delete(f,T.name)}}break;default:hd.Debug.assertNever(n,"Unexpected import decl kind "+n.kind)}}function zq(e){switch(e.kind){case 263:case 268:case 265:case 266:return!0;case 252:return Jq(e);case 201:return hd.isVariableDeclaration(e.parent.parent)&&Jq(e.parent.parent);default:return!1}}function Jq(e){return hd.isSourceFile(e.parent.parent.parent)&&!!e.initializer&&hd.isRequireCall(e.initializer,!0)}function qq(e,n,t){switch(e.kind){case 264:var r=e.importClause;return r?(a=r.name&&t(r.name)?r.name:void 0,r=r.namedBindings&&(r=r.namedBindings,i=t,266===r.kind?i(r.name)?r:void 0:(r=r.elements.filter((function(e){return i(e.name)}))).length?hd.factory.createNamedImports(r):void 0),a||r?hd.factory.createImportDeclaration(void 0,void 0,hd.factory.createImportClause(!1,a,r),n):void 0):void 0;case 263:return t(e.name)?e:void 0;case 252:var a=((e,n)=>{switch(e.kind){case 79:return n(e)?e:void 0;case 200:return e;case 199:var t=e.elements.filter((function(e){return e.propertyName||!hd.isIdentifier(e.name)||n(e.name)}));return t.length?hd.factory.createObjectBindingPattern(t):void 0}})(e.name,t);return a?Kq(a,e.type,Hq(n),e.parent.flags):void 0;default:return hd.Debug.assertNever(e,"Unexpected import kind "+e.kind)}var i}function Xq(e,n,t){e.forEachChild((function e(r){var a;hd.isIdentifier(r)&&!hd.isDeclarationName(r)?(a=n.getSymbolAtLocation(r))&&t(a):r.forEachChild(e)}))}function Yq(){this.map=new hd.Map}function Qq(e){return Zq(e)&&hd.isSourceFile(e.parent)||hd.isVariableDeclaration(e)&&hd.isSourceFile(e.parent.parent.parent)}function Zq(e){switch(e.kind){case 254:case 255:case 259:case 258:case 257:case 256:case 263:return!0;default:return!1}}function $q(e,n){switch(e.kind){case 254:case 255:case 259:case 258:case 257:case 256:case 263:return n(e);case 235:return hd.firstDefined(e.declarationList.declarations,(function(e){return function e(n,t){switch(n.kind){case 79:return t(hd.cast(n.parent,(function(e){return hd.isVariableDeclaration(e)||hd.isBindingElement(e)})));case 200:case 199:return hd.firstDefined(n.elements,(function(n){return hd.isOmittedExpression(n)?void 0:e(n.name,t)}));default:return hd.Debug.assertNever(n,"Unexpected name kind "+n.kind)}}(e.name,n)}));case 236:var t=e.expression;return hd.isBinaryExpression(t)&&1===hd.getAssignmentDeclarationKind(t)&&n(e)}}function eX(e,n,t,r){return t?!hd.isExpressionStatement(n)&&hd.hasSyntacticModifier(n,1)||r&&null!=(t=e.symbol.exports)&&t.has(r.escapedText):nX(n).some((function(n){return e.symbol.exports.has(hd.escapeLeadingUnderscores(n))}))}function nX(e){switch(e.kind){case 254:case 255:return[e.name.text];case 235:return hd.mapDefined(e.declarationList.declarations,(function(e){return hd.isIdentifier(e.name)?e.name.text:void 0}));case 259:case 258:case 257:case 256:case 263:return hd.emptyArray;case 236:return hd.Debug.fail("Can't export an ExpressionStatement");default:return hd.Debug.assertNever(e,"Unexpected decl kind "+e.kind)}}function tX(e){return hd.factory.createExpressionStatement(hd.factory.createBinaryExpression(hd.factory.createPropertyAccessExpression(hd.factory.createIdentifier("exports"),hd.factory.createIdentifier(e)),63,hd.factory.createIdentifier(e)))}function rX(e,n,t,r){if(void 0===t&&(t=!0),e=Sd.getTokenAtPosition(e,n),n=Sd.getContainingFunction(e),!n)return{error:Sd.getLocaleSpecificMessage(Sd.Diagnostics.Could_not_find_a_containing_arrow_function)};if(!Sd.isArrowFunction(n))return{error:Sd.getLocaleSpecificMessage(Sd.Diagnostics.Containing_function_is_not_an_arrow_function)};if(Sd.rangeContainsRange(n,e)&&(!Sd.rangeContainsRange(n.body,e)||t)){if(xd.refactorKindBeginsWith(Ad.kind,r)&&Sd.isExpression(n.body))return{func:n,addBraces:!0,expression:n.body};if(xd.refactorKindBeginsWith(Cd.kind,r)&&Sd.isBlock(n.body)&&1===n.body.statements.length&&(e=Sd.first(n.body.statements),Sd.isReturnStatement(e)))return{func:n,addBraces:!1,expression:e.expression,returnStatement:e}}}function aX(e,n){if(e=Id.getContainingObjectLiteralElement(e),e&&(n=n.getContextualTypeForObjectLiteralElement(e),e=null==n?void 0:n.getSymbol(),e&&!(6&Id.getCheckFlags(e))))return e}function iX(e){return e=e.node,Id.isImportSpecifier(e.parent)||Id.isImportClause(e.parent)||Id.isImportEqualsDeclaration(e.parent)||Id.isNamespaceImport(e.parent)||Id.isExportSpecifier(e.parent)||Id.isExportAssignment(e.parent)?e:void 0}function oX(e){if(Id.isDeclaration(e.node.parent))return e.node}function sX(e){if(e.node.parent){var n=e.node,t=n.parent;switch(t.kind){case 206:case 207:var r=Id.tryCast(t,Id.isCallOrNewExpression);if(r&&r.expression===n)return r;break;case 204:if(r=Id.tryCast(t,Id.isPropertyAccessExpression),r&&r.parent&&r.name===n){var a=Id.tryCast(r.parent,Id.isCallOrNewExpression);if(a&&a.expression===r)return a}break;case 205:if(r=Id.tryCast(t,Id.isElementAccessExpression),r&&r.parent&&r.argumentExpression===n&&(a=Id.tryCast(r.parent,Id.isCallOrNewExpression),a&&a.expression===r))return a}}}function cX(e,n,t){return e=Id.getTouchingToken(e,n),n=Id.getContainingFunctionDeclaration(e),(e=>{if(e=Id.findAncestor(e,Id.isJSDocNode))return(e=Id.findAncestor(e,(function(e){return!Id.isJSDocNode(e)})))&&Id.isFunctionLikeDeclaration(e)})(e)||!(n&&((e,n)=>{var t;if(((e,n)=>(e=>pX(e)?e.length-1:e.length)(e)>=kd&&Id.every(e,(function(e){var t=n;if(Id.isRestParameter(e)){var r=t.getTypeAtLocation(e);if(!t.isArrayType(r)&&!t.isTupleType(r))return!1}return!e.modifiers&&!e.decorators&&Id.isIdentifier(e.name)})))(e.parameters,n))switch(e.kind){case 254:return dX(e)&&lX(e,n);case 167:return Id.isObjectLiteralExpression(e.parent)?(t=aX(e.name,n),1===(null==(t=null==t?void 0:t.declarations)?void 0:t.length)&&lX(e,n)):lX(e,n);case 169:return Id.isClassDeclaration(e.parent)?dX(e.parent)&&lX(e,n):uX(e.parent.parent)&&lX(e,n);case 211:case 212:return uX(e.parent)}})(n,t)&&Id.rangeContainsRange(n,e))||n.body&&Id.rangeContainsRange(n.body,e)?void 0:n}function lX(e,n){return!!e.body&&!n.isImplementationOfOverload(e)}function dX(e){return!!e.name||!!Id.findModifier(e,88)}function uX(e){return Id.isVariableDeclaration(e)&&Id.isVarConst(e)&&Id.isIdentifier(e.name)&&!e.type}function pX(e){return 0<e.length&&Id.isThis(e[0].name)}function mX(e){return pX(e)?Id.factory.createNodeArray(e.slice(1),e.hasTrailingComma):e}function _X(e,n,t){var r,a=n.getTypeChecker(),i=mX(e.parameters),o=Id.map(i,(function(e){var n=Id.factory.createBindingElement(void 0,void 0,fX(e),Id.isRestParameter(e)&&l(e)?Id.factory.createArrayLiteralExpression():e.initializer);return Id.suppressLeadingAndTrailingTrivia(n),e.initializer&&n.initializer&&Id.copyComments(e.initializer,n.initializer),n})),s=(o=Id.factory.createObjectBindingPattern(o),(e=>(e=Id.map(e,c),Id.addEmitFlags(Id.factory.createTypeLiteralNode(e),1)))(i));Id.every(i,l)&&(r=Id.factory.createObjectLiteralExpression()),i=Id.factory.createParameterDeclaration(void 0,void 0,void 0,o,void 0,s,r);return pX(e.parameters)?(o=e.parameters[0],s=Id.factory.createParameterDeclaration(void 0,void 0,void 0,o.name,void 0,o.type),Id.suppressLeadingAndTrailingTrivia(s.name),Id.copyComments(o.name,s.name),o.type&&(Id.suppressLeadingAndTrailingTrivia(s.type),Id.copyComments(o.type,s.type)),Id.factory.createNodeArray([s,i])):Id.factory.createNodeArray([i]);function c(e){var r,i=e.type,o=(i||!e.initializer&&!Id.isRestParameter(e)||(r=e,o=a.getTypeAtLocation(r),i=Id.getTypeNodeIfAccessible(o,r,n,t)),Id.factory.createPropertySignature(void 0,fX(e),l(e)?Id.factory.createToken(57):e.questionToken,i));return Id.suppressLeadingAndTrailingTrivia(o),Id.copyComments(e.name,o.name),e.type&&o.type&&Id.copyComments(e.type,o.type),o}function l(e){var n;return Id.isRestParameter(e)?(n=a.getTypeAtLocation(e),!a.isTupleType(n)):a.isOptionalParameter(e)}}function fX(e){return Id.getTextOfIdentifierOrLiteral(e.name)}function gX(e,n){return e=Pd.getTokenAtPosition(e,n),n=yX(e),!hX(n).isValidConcatenation&&Pd.isParenthesizedExpression(n.parent)&&Pd.isBinaryExpression(n.parent.parent)?n.parent.parent:e}function yX(e){return Pd.findAncestor(e.parent,(function(e){switch(e.kind){case 204:case 205:return!1;case 221:case 219:return!(Pd.isBinaryExpression(e.parent)&&63!==e.parent.operatorToken.kind);default:return"quit"}}))||e}function hX(e){function n(e){var t,r,a,i;return Pd.isBinaryExpression(e)?(t=(a=n(e.left)).nodes,r=a.operators,i=a.validOperators,a.hasString||Pd.isStringLiteral(e.right)||Pd.isTemplateExpression(e.right)?(a=39===e.operatorToken.kind,i=i&&a,t.push(e.right),r.push(e.operatorToken),{nodes:t,operators:r,hasString:!0,validOperators:i}):{nodes:[e],operators:[],hasString:!1,validOperators:!0}):{nodes:[e],operators:[],validOperators:!0,hasString:Pd.isStringLiteral(e)||Pd.isNoSubstitutionTemplateLiteral(e)}}return e=n(e),{nodes:e.nodes,operators:e.operators,isValidConcatenation:e.validOperators&&e.hasString}}function vX(e){var n=Pd.isTemplateHead(e)||Pd.isTemplateMiddle(e)?-2:-1;return Pd.getTextOfNode(e).slice(1,n)}function bX(e,n){for(var t=[],r="",a="";e<n.length;){var i=n[e];if(!Pd.isStringLiteralLike(i)){if(Pd.isTemplateExpression(i)){r+=i.head.text,a+=vX(i.head);break}break}r+=i.text,a+=Pd.getTextOfNode(i).slice(1,-1).replace(/\\.|[$`]/g,(function(e){return"\\"===e[0]?e:"\\"+e})),t.push(e),e++}return[e,r,a,t]}function EX(e){var n=e.getSourceFile();Pd.copyTrailingComments(e,e.expression,n,3,!1),Pd.copyTrailingAsLeadingComments(e.expression,e.expression,n,3,!1)}function TX(e){var n=!1;return e.forEachChild((function e(t){Ud.isThis(t)?n=!0:Ud.isClassLike(t)||Ud.isFunctionDeclaration(t)||Ud.isFunctionExpression(t)||Ud.forEachChild(t,e)})),n}function SX(e,n,t){n=Ud.getTokenAtPosition(e,n),t=t.getTypeChecker();var r,a=((e,n,t)=>{if((e=>Ud.isVariableDeclaration(e)||Ud.isVariableDeclarationList(e)&&1===e.declarations.length)(t)&&(t=(Ud.isVariableDeclaration(t)?t:Ud.first(t.declarations)).initializer,t&&(Ud.isArrowFunction(t)||Ud.isFunctionExpression(t)&&!LX(e,n,t))))return t})(e,t,n.parent);return!a||TX(a.body)||t.containsArgumentsReference(a)?!(r=Ud.getContainingFunction(n))||!Ud.isFunctionExpression(r)&&!Ud.isArrowFunction(r)||Ud.rangeContainsRange(r.body,n)||TX(r.body)||t.containsArgumentsReference(r)||Ud.isFunctionExpression(r)&&LX(e,t,r)?void 0:{selectedVariableDeclaration:!1,func:r}:{selectedVariableDeclaration:!0,func:a}}function xX(e){var n,t;return Ud.isExpression(e)?(n=Ud.factory.createReturnStatement(e),t=e.getSourceFile(),Ud.suppressLeadingAndTrailingTrivia(n),Ud.copyTrailingAsLeadingComments(e,n,t,void 0,!0),Ud.factory.createBlock([n],!0)):e}function LX(e,n,t){return t.name&&Ud.FindAllReferences.Core.isSymbolReferencedInFile(t.name,n,e)}function DX(e){var n,t;if(!Jd.isInJSFile(e.file)&&qd.refactorKindBeginsWith(Qd.kind,e.kind))return n=Jd.getTokenAtPosition(e.file,e.startPosition),(n=Jd.findAncestor(n,(function(e){if(Jd.isBlock(e)||e.parent&&Jd.isArrowFunction(e.parent)&&(38===e.kind||e.parent.body===e))return"quit";switch(e.kind){case 254:case 211:case 212:case 167:return!0;default:return!1}})))&&n.body&&!n.type?(t=((e,n)=>{if(e.isImplementationOfOverload(n)){var t=e.getTypeAtLocation(n).getCallSignatures();if(1<t.length)return e.getUnionType(Jd.mapDefined(t,(function(e){return e.getReturnType()})))}if(t=e.getSignatureFromDeclaration(n))return e.getReturnTypeOfSignature(t)})(e=e.program.getTypeChecker(),n))?(e=e.typeToTypeNode(t,n,1))?{declaration:n,returnTypeNode:e}:void 0:{error:Jd.getLocaleSpecificMessage(Jd.Diagnostics.Could_not_determine_function_return_type)}:{error:Jd.getLocaleSpecificMessage(Jd.Diagnostics.Return_type_must_be_inferred_from_a_function)}}dw.symbolPart=gM,dw.displayPart=yM,dw.spacePart=function(){return yM(" ",dw.SymbolDisplayPartKind.space)},dw.keywordPart=hM,dw.punctuationPart=function(e){return yM(dw.tokenToString(e),dw.SymbolDisplayPartKind.punctuation)},dw.operatorPart=function(e){return yM(dw.tokenToString(e),dw.SymbolDisplayPartKind.operator)},dw.parameterNamePart=function(e){return yM(e,dw.SymbolDisplayPartKind.parameterName)},dw.propertyNamePart=function(e){return yM(e,dw.SymbolDisplayPartKind.propertyName)},dw.textOrKeywordPart=function(e){var n=dw.stringToToken(e);return void 0===n?vM(e):hM(n)},dw.textPart=vM,dw.typeAliasNamePart=function(e){return yM(e,dw.SymbolDisplayPartKind.aliasName)},dw.typeParameterNamePart=function(e){return yM(e,dw.SymbolDisplayPartKind.typeParameterName)},dw.linkTextPart=bM,dw.linkNamePart=EM,dw.linkPart=TM,dw.buildLinkParts=function(e,n){var t=[TM("{@"+(dw.isJSDocLink(e)?"link":dw.isJSDocLinkCode(e)?"linkcode":"linkplain")+" ")];return e.name?(n=(null==(n=null==n?void 0:n.getSymbolAtLocation(e.name))?void 0:n.valueDeclaration)||(null==(n=null==n?void 0:n.declarations)?void 0:n[0]))?(t.push(EM(e.name,n)),e.text&&t.push(bM(e.text))):t.push(bM(dw.getTextOfNode(e.name)+" "+e.text)):e.text&&t.push(bM(e.text)),t.push(TM("}")),t},dw.getNewLineOrDefaultFromHost=function(e,n){return(null==n?void 0:n.newLineCharacter)||(null==(n=e.getNewLine)?void 0:n.call(e))||"\r\n"},dw.lineBreakPart=SM,dw.mapToDisplayParts=xM,dw.typeToDisplayParts=function(e,n,t,r){return void 0===r&&(r=0),xM((function(a){e.writeType(n,t,17408|r,a)}))},dw.symbolToDisplayParts=function(e,n,t,r,a){return void 0===a&&(a=0),xM((function(i){e.writeSymbol(n,t,r,8|a,i)}))},dw.signatureToDisplayParts=function(e,n,t,r){return void 0===r&&(r=0),r|=25632,xM((function(a){e.writeSignature(n,t,r,void 0,a)}))},dw.isImportOrExportSpecifierName=function(e){return!!e.parent&&dw.isImportOrExportSpecifier(e.parent)&&e.parent.propertyName===e},dw.getScriptKind=function(e,n){return dw.ensureScriptKind(e,n.getScriptKind&&n.getScriptKind(e))},dw.getSymbolTarget=function(e,n){for(var t=e;0!=(2097152&t.flags)||LM(t)&&t.target;)t=LM(t)&&t.target?t.target:dw.skipAlias(t,n);return t},dw.getUniqueSymbolId=function(e,n){return dw.getSymbolId(dw.skipAlias(e,n))},dw.getFirstNonSpaceCharacterPosition=function(e,n){for(;dw.isWhiteSpaceLike(e.charCodeAt(n));)n+=1;return n},dw.getPrecedingNonSpaceCharacterPosition=function(e,n){for(;-1<n&&dw.isWhiteSpaceSingleLine(e.charCodeAt(n));)--n;return n+1},dw.getSynthesizedDeepClone=DM,dw.getSynthesizedDeepCloneWithReplacements=AM,dw.getSynthesizedDeepClones=IM,dw.getSynthesizedDeepClonesWithReplacements=NM,dw.suppressLeadingAndTrailingTrivia=kM,dw.suppressLeadingTrivia=RM,dw.suppressTrailingTrivia=OM,dw.copyComments=function(e,n){var t=e.getSourceFile();(((e,n)=>{for(var t=e.getFullStart(),r=e.getStart(),a=t;a<r;a++)if(10===n.charCodeAt(a))return 1})(e,t.text)?MM:GM)(e,n,t),FM(e,n,t)},dw.getUniqueName=function(e,n){for(var t=e,r=1;!dw.isFileLevelUniqueName(n,t);r++)t=e+"_"+r;return t},dw.getRenameLocation=function(e,n,t,r){for(var a=0,i=-1,o=0,s=e;o<s.length;o++){var c=s[o],l=c.fileName;c=c.textChanges;dw.Debug.assert(l===n);for(var d=0,u=c;d<u.length;d++){var p=u[d],m=p.span,_=(p=p.newText,((e,n)=>{var t;return dw.startsWith(e,n)?0:-1===(t=-1===(t=-1===(t=e.indexOf(" "+n))?e.indexOf("."+n):t)?e.indexOf('"'+n):t)?-1:t+1})(p,t));if(-1!==_&&(i=m.start+a+_,!r))return i;a+=p.length-m.length}}return dw.Debug.assert(r),dw.Debug.assert(0<=i),i},dw.copyLeadingComments=MM,dw.copyTrailingComments=FM,dw.copyTrailingAsLeadingComments=GM,dw.needsParentheses=function(e){return dw.isBinaryExpression(e)&&27===e.operatorToken.kind||dw.isObjectLiteralExpression(e)||dw.isAsExpression(e)&&dw.isObjectLiteralExpression(e.expression)},dw.getContextualTypeFromParent=function(e,n){var t=e.parent;switch(t.kind){case 207:return n.getContextualType(t);case 219:var r=t.left,a=t.right;return UM(t.operatorToken.kind)?n.getTypeAtLocation(e===a?r:a):n.getContextualType(e);case 287:return t.expression===e?VM(t,n):void 0;default:return n.getContextualType(e)}},dw.quote=function(e,n,t){return e=uM(e,n),n=JSON.stringify(t),0===e?"'"+dw.stripQuotes(n).replace(/'/g,"\\'").replace(/\\"/g,'"')+"'":n},dw.isEqualityOperatorKind=UM,dw.isStringLiteralOrTemplate=function(e){switch(e.kind){case 10:case 14:case 221:case 208:return!0;default:return!1}},dw.hasIndexSignature=function(e){return!!e.getStringIndexType()||!!e.getNumberIndexType()},dw.getSwitchedType=VM,dw.ANONYMOUS="anonymous function",dw.getTypeNodeIfAccessible=function(e,n,t,r){function a(){o=!1}var i=t.getTypeChecker(),o=!0;e=i.typeToTypeNode(e,n,1,{trackSymbol:function(e,n,t){return!(o=o&&0===i.isSymbolAccessible(e,n,t,!1).accessibility)},reportInaccessibleThisError:a,reportPrivateInBaseOfClassExpression:a,reportInaccessibleUniqueSymbolError:a,moduleResolverHost:sM(t,r)});return o?e:void 0},dw.syntaxRequiresTrailingCommaOrSemicolonOrASI=jM,dw.syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI=KM,dw.syntaxRequiresTrailingModuleBlockOrSemicolonOrASI=HM,dw.syntaxRequiresTrailingSemicolonOrASI=WM,dw.syntaxMayBeASICandidate=dw.or(jM,KM,HM,WM),dw.positionIsASICandidate=function(e,n,t){return!!(n=dw.findAncestor(n,(function(n){return n.end!==e?"quit":dw.syntaxMayBeASICandidate(n.kind)})))&&((e,n)=>{var t,r=e.getLastToken(n);if(r&&26===r.kind)return!1;if(jM(e.kind)){if(r&&27===r.kind)return!1}else if(HM(e.kind)){if((t=dw.last(e.getChildren(n)))&&dw.isModuleBlock(t))return!1}else if(KM(e.kind)){if((t=dw.last(e.getChildren(n)))&&dw.isFunctionBlock(t))return!1}else if(!WM(e.kind))return!1;return 238===e.kind||!(r=Kw(e,dw.findAncestor(e,(function(e){return!e.parent})),n))||19===r.kind||n.getLineAndCharacterOfPosition(e.getEnd()).line!==n.getLineAndCharacterOfPosition(r.getStart(n)).line})(n,t)},dw.probablyUsesSemicolons=function(e){var n=0,t=0;return dw.forEachChild(e,(function r(a){var i;return WM(a.kind)&&((i=a.getLastToken(e))&&26===i.kind?n++:t++),5<=n+t||dw.forEachChild(a,r)})),0===n&&t<=1||.2<n/t},dw.tryGetDirectories=function(e,n){return qM(e,e.getDirectories,n)||[]},dw.tryReadDirectory=function(e,n,t,r,a){return qM(e,e.readDirectory,n,t,r,a)||dw.emptyArray},dw.tryFileExists=zM,dw.tryDirectoryExists=function(e,n){return JM((function(){return dw.directoryProbablyExists(n,e)}))||!1},dw.tryAndIgnoreErrors=JM,dw.tryIOAndConsumeErrors=qM,dw.findPackageJsons=function(e,n,t){var r=[];return dw.forEachAncestorDirectory(e,(function(e){if(e===t)return!0;e=dw.combinePaths(e,"package.json"),zM(n,e)&&r.push(e)})),r},dw.findPackageJson=function(e,n){var t;return dw.forEachAncestorDirectory(e,(function(e){return"node_modules"===e||!!(t=dw.findConfigFile(e,(function(e){return zM(n,e)}),"package.json"))||void 0})),t},dw.getPackageJsonsVisibleToFile=XM,dw.createPackageJsonInfo=YM,dw.createPackageJsonImportFilter=function(e,n,t){var r,a=(t.getPackageJsonsVisibleToFile&&t.getPackageJsonsVisibleToFile(e.fileName)||XM(e.fileName,t)).filter((function(e){return e.parseable}));return{allowsImportingAmbientModule:function(e,n){return!a.length||!e.valueDeclaration||(n=s(e.valueDeclaration.getSourceFile().fileName,n),void 0===n||(e=dw.stripQuotes(e.getName()),!!o(e)||(i(n)||i(e))))},allowsImportingSourceFile:function(e,n){return!a.length||!(e=s(e.fileName,n))||i(e)},allowsImportingSpecifier:function(e){return!(a.length&&!o(e))||(!(!dw.pathIsRelative(e)&&!dw.isRootedDiskPath(e))||i(e))}};function i(e){for(var n=c(e),t=0,r=a;t<r.length;t++){var i=r[t];if(i.has(n)||i.has(dw.getTypesPackageName(n)))return!0}return!1}function o(n){return!!(dw.isSourceFileJS(e)&&dw.JsTyping.nodeCoreModules.has(n)&&(r=void 0===r?QM(e):r))}function s(r,a){return!dw.stringContains(r,"node_modules")||!(r=dw.moduleSpecifiers.getNodeModulesPackageName(t.getCompilationSettings(),e.path,r,a,n))||dw.pathIsRelative(r)||dw.isRootedDiskPath(r)?void 0:c(r)}function c(e){return e=dw.getPathComponents(dw.getPackageNameFromTypesPackageName(e)).slice(1),dw.startsWith(e[0],"@")?e[0]+"/"+e[1]:e[0]}},dw.consumesNodeCoreModules=QM,dw.isInsideNodeModules=function(e){return dw.contains(dw.getPathComponents(e),"node_modules")},dw.isDiagnosticWithLocation=ZM,dw.findDiagnosticForNode=function(e,n){var t=tM(e);if(0<=(t=dw.binarySearchKey(n,t,dw.identity,dw.compareTextSpans)))return n=n[t],dw.Debug.assertEqual(n.file,e.getSourceFile(),"Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile"),dw.cast(n,ZM)},dw.getDiagnosticsWithinSpan=function(e,n){var t,r=dw.binarySearchKey(n,e.start,(function(e){return e.start}),dw.compareValues);for(r<0&&(r=~r);(null==(t=n[r-1])?void 0:t.start)===e.start;)r--;for(var a=[],i=dw.textSpanEnd(e);;){var o=dw.tryCast(n[r],ZM);if(!o||o.start>i)break;dw.textSpanContainsTextSpan(e,o)&&a.push(o),r++}return a},dw.getRefactorContextSpan=function(e){var n=e.startPosition;e=e.endPosition;return dw.createTextSpanFromBounds(n,void 0===e?n:e)},dw.mapOneOrMany=function(e,n,t){return void 0===t&&(t=dw.identity),e?dw.isArray(e)?t(dw.map(e,n)):n(e,0):void 0},dw.firstOrOnly=function(e){return dw.isArray(e)?dw.first(e):e},dw.getNameForExportedSymbol=function(e,n){return 33554432&e.flags||"export="!==e.escapedName&&"default"!==e.escapedName?e.name:dw.firstDefined(e.declarations,(function(e){return dw.isExportAssignment(e)&&null!=(e=dw.tryCast(dw.skipOuterExpressions(e.expression),dw.isIdentifier))?e.text:void 0}))||dw.codefix.moduleSymbolToValidIdentifier((e=e,dw.Debug.checkDefined(e.parent,"Symbol parent was undefined. Flags: "+dw.Debug.formatSymbolFlags(e.flags)+". Declarations: "+(null==(e=e.declarations)?void 0:e.map((function(e){var n=dw.Debug.formatSyntaxKind(e.kind),t=dw.isInJSFile(e);e=e.expression;return(t?"[JS]":"")+n+(e?" (expression: "+dw.Debug.formatSyntaxKind(e.kind)+")":"")})).join(", "))+".")),n)},dw.stringContainsAt=function(e,n,t){var r=n.length;if(r+t>e.length)return!1;for(var a=0;a<r;a++)if(n.charCodeAt(a)!==e.charCodeAt(a+t))return!1;return!0},dw.startsWithUnderscore=function(e){return 95===e.charCodeAt(0)},dw.isGlobalDeclaration=function(e){return!$M(e)},dw.isNonGlobalDeclaration=$M,dw.isDeprecatedDeclaration=function(e){return!!(8192&dw.getCombinedNodeFlagsAlwaysIncludeJSDoc(e))},dw.shouldUseUriStyleNodeCoreModules=function(e,n){return null!=(e=dw.firstDefined(e.imports,(function(e){if(dw.JsTyping.nodeCoreModules.has(e.text))return dw.startsWith(e.text,"node:")})))?e:n.usesUriStyleNodeCoreModules},rr=bY=bY||{},(sm=rr.ImportKind||(rr.ImportKind={}))[sm.Named=0]="Named",sm[sm.Default=1]="Default",sm[sm.Namespace=2]="Namespace",sm[sm.CommonJS=3]="CommonJS",(sm=rr.ExportKind||(rr.ExportKind={}))[sm.Named=0]="Named",sm[sm.Default=1]="Default",sm[sm.ExportEquals=2]="ExportEquals",sm[sm.UMD=3]="UMD",rr.createCacheableExportInfoMap=eF,rr.isImportableFile=function(e,n,t,r,a,i,o){var s,c,l;return n!==t&&(void 0!==(null==(l=null==o?void 0:o.get(n.path,t.path,r))?void 0:l.isAutoImportable)?l.isAutoImportable:(s=rr.hostGetCanonicalFileName(i),c=null==(l=i.getGlobalTypingsCacheLocation)?void 0:l.call(i),l=!!rr.moduleSpecifiers.forEachFileNameOfModule(n.fileName,t.fileName,i,!1,(function(r){var a=e.getSourceFile(r);return(a===t||!a)&&((e,n,t,r)=>void 0===(n=(n=rr.forEachAncestorDirectory(n,(function(e){return"node_modules"===rr.getBaseFileName(e)?e:void 0})))&&rr.getDirectoryPath(t(n)))||rr.startsWith(t(e),n)||!!r&&rr.startsWith(t(r),n))(n.fileName,r,s,c)})),a?(a=l&&a.allowsImportingSourceFile(t,i),null!=o&&o.setIsAutoImportable(n.path,t.path,r,a),a):l))},rr.forEachExternalModuleToImportFrom=nF,rr.getExportInfoMap=function(e,n,t,r){var a,i,o,s,c=rr.timestamp(),l=(null!=(a=n.getPackageJsonAutoImportProvider)&&a.call(n),(null==(a=n.getCachedExportInfoMap)?void 0:a.call(n))||eF({getCurrentProgram:function(){return t},getPackageJsonAutoImportProvider:function(){var e;return null==(e=n.getPackageJsonAutoImportProvider)?void 0:e.call(n)}}));return l.isUsableByFile(e.path)?null!=(a=n.log)&&a.call(n,"getExportInfoMap: cache hit"):(null!=(a=n.log)&&a.call(n,"getExportInfoMap: cache miss or empty; calculating new results"),i=t.getCompilerOptions(),o=rr.getEmitScriptTarget(i),nF(t,n,!(s=0),(function(n,t,a,c){++s%100==0&&null!=r&&r.throwIfCancellationRequested();var d=new rr.Map,u=a.getTypeChecker(),p=rF(n,u,i);p&&aF(p.symbol,u)&&l.add(e.path,p.symbol,1===p.exportKind?"default":"export=",n,t,p.exportKind,c,o,u),u.forEachExportAndPropertyOfModule(n,(function(r,a){r!==(null==p?void 0:p.symbol)&&aF(r,u)&&rr.addToSeen(d,r)&&l.add(e.path,r,a,n,t,0,c,o,u)}))})),null!=(a=n.log)&&a.call(n,"getExportInfoMap: done in "+(rr.timestamp()-c)+" ms")),l},rr.getDefaultLikeExportInfo=rF,(ar=bY=bY||{}).createClassifier=function(){var e=ar.createScanner(99,!1);function n(n,t,r){var a,i,o,s,c,l=0,d=0,u=[],p=(t=(e=>{switch(e){case 3:return{prefix:'"\\\n'};case 2:return{prefix:"'\\\n"};case 1:return{prefix:"/*\n"};case 4:return{prefix:"`\n"};case 5:return{prefix:"}\n",pushTemplate:!0};case 6:return{prefix:"",pushTemplate:!0};case 0:return{prefix:""};default:return ar.Debug.assertNever(e)}})(t),t.prefix),m=(n=p+n,p.length),_=(t.pushTemplate&&u.push(15),e.setText(n),0),f=[],g=0;do{if(l=e.scan(),!ar.isTrivia(l)){switch(a=void 0,l){case 43:case 68:ir[d]||13!==e.reScanSlashToken()||(l=13);break;case 29:79===d&&g++;break;case 31:0<g&&g--;break;case 129:case 148:case 145:case 132:case 149:0<g&&!r&&(l=79);break;case 15:u.push(l);break;case 18:0<u.length&&u.push(l);break;case 19:0<u.length&&(15===(a=ar.lastOrUndefined(u))?17===(l=e.reScanTemplateToken(!1))?u.pop():ar.Debug.assertEqual(l,16,"Should have been a template middle."):(ar.Debug.assertEqual(a,18,"Should have been an open brace"),u.pop()));break;default:ar.isKeyword(l)&&(24===d||ar.isKeyword(d)&&ar.isKeyword(l)&&!((e,n)=>{if(!ar.isAccessibilityModifier(e))return 1;switch(n){case 135:case 147:case 133:case 124:return 1;default:return}})(d,l))&&(l=79)}d=l}var y,h=e.getTextPos();i=e.getTokenPos(),o=h,s=m,c=(e=>{if(ar.isKeyword(e))return 3;if((e=>{switch(e){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 1;default:return}})(e)||(e=>{switch(e){case 39:case 40:case 54:case 53:case 45:case 46:return 1;default:return}})(e))return 5;if(18<=e&&e<=78)return 10;switch(e){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;default:return ar.isTemplateLiteralKind(e)?6:2}})(l),y=f,8!==c&&(0===i&&0<s&&(i+=s),0<(o-=i))&&y.push(i-s,o,c),h>=n.length&&void 0!==(y=((e,n,t)=>{switch(n){case 10:if(!e.isUnterminated())return;for(var r=e.getTokenText(),a=r.length-1,i=0;92===r.charCodeAt(a-i);)i++;return 0==(1&i)?void 0:34===r.charCodeAt(0)?3:2;case 3:return e.isUnterminated()?1:void 0;default:if(ar.isTemplateLiteralKind(n)){if(!e.isUnterminated())return;switch(n){case 17:return 5;case 14:return 4;default:return ar.Debug.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+n)}}return 15===t?6:void 0}})(e,l,ar.lastOrUndefined(u)))&&(_=y)}while(1!==l);return{endOfLineState:_,spans:f}}return{getClassificationsForLine:function(e,t,r){t=n(e,t,r),r=e;for(var a=[],i=t.spans,o=0,s=0;s<i.length;s+=3){var c,l=i[s],d=i[s+1],u=i[s+2];0<=o&&0<(c=l-o)&&a.push({length:c,classification:ar.TokenClass.Whitespace}),a.push({length:d,classification:(e=>{switch(e){case 1:return ar.TokenClass.Comment;case 3:return ar.TokenClass.Keyword;case 4:return ar.TokenClass.NumberLiteral;case 25:return ar.TokenClass.BigIntLiteral;case 5:return ar.TokenClass.Operator;case 6:return ar.TokenClass.StringLiteral;case 8:return ar.TokenClass.Whitespace;case 10:return ar.TokenClass.Punctuation;case 2:case 11:case 12:case 13:case 14:case 15:case 16:case 9:case 17:return ar.TokenClass.Identifier;default:return}})(u)}),o=l+d}return 0<(r=r.length-o)&&a.push({length:r,classification:ar.TokenClass.Whitespace}),{entries:a,finalLexState:t.endOfLineState}},getEncodedLexicalClassifications:n}},ir=ar.arrayToNumericMap([79,10,8,9,13,108,45,46,21,23,19,110,95],(function(e){return e}),(function(){return!0})),ar.getSemanticClassifications=function(e,n,t,r,a){return lF(sF(e,n,t,r,a))},ar.getEncodedSemanticClassifications=sF,ar.getSyntacticClassifications=function(e,n,t){return lF(dF(e,n,t))},ar.getEncodedSyntacticClassifications=dF,or=bY=bY||{},OY=(OY=or.classifier||(or.classifier={})).v2020||(OY.v2020={}),(tu=OY.TokenEncodingConsts||(OY.TokenEncodingConsts={}))[tu.typeOffset=8]="typeOffset",tu[tu.modifierMask=255]="modifierMask",(tu=OY.TokenType||(OY.TokenType={}))[tu.class=0]="class",tu[tu.enum=1]="enum",tu[tu.interface=2]="interface",tu[tu.namespace=3]="namespace",tu[tu.typeParameter=4]="typeParameter",tu[tu.type=5]="type",tu[tu.parameter=6]="parameter",tu[tu.variable=7]="variable",tu[tu.enumMember=8]="enumMember",tu[tu.property=9]="property",tu[tu.function=10]="function",tu[tu.member=11]="member",(tu=OY.TokenModifier||(OY.TokenModifier={}))[tu.declaration=0]="declaration",tu[tu.static=1]="static",tu[tu.async=2]="async",tu[tu.readonly=3]="readonly",tu[tu.defaultLibrary=4]="defaultLibrary",tu[tu.local=5]="local",OY.getSemanticClassifications=function(e,n,t,r){e=uF(e,n,t,r);for(var a=(or.Debug.assert(e.spans.length%3==0),e.spans),i=[],o=0;o<a.length;o+=3)i.push({textSpan:or.createTextSpan(a[o],a[o+1]),classificationType:a[o+2]});return i},OY.getEncodedSemanticClassifications=uF,sr=new or.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]]),cr=bY=bY||{},lr=cr.Completions||(cr.Completions={}),(cm=lr.StringCompletions||(lr.StringCompletions={})).getStringLiteralCompletions=function(e,n,t,r,a,i,o,s){if(cr.isInReferenceComment(e,n))return(c=((e,n,t,r)=>{var a,i,o,s,c=cr.getTokenAtPosition(e,n);if(c=(c=cr.getLeadingCommentRanges(e.text,c.pos))&&cr.find(c,(function(e){return n>=e.pos&&n<=e.end})))return s=e.text.slice(c.pos,n),(s=dr.exec(s))?(a=s[1],i=s[2],s=s[3],o=cr.getDirectoryPath(e.path),e="path"===i?LF(s,o,xF(t,1),r,e.path):"types"===i?CF(r,t,o,AF(s),xF(t)):cr.Debug.fail(),TF(s,c.pos+a.length,e)):void 0})(e,n,a,i))&&_F(c);if(cr.isInString(e,n,t)&&t&&cr.isStringLiteralLike(t)){var c,l=c=gF(e,t,n,r,a,i,s),d=t,u=e,p=r,m=o,_=a,f=s;if(void 0!==l){var g=cr.createTextSpanFromStringLiteralLikeContent(d);switch(l.kind){case 0:return _F(l.paths);case 1:var y=[];return lr.getCompletionEntriesFromSymbols(l.symbols,y,d,u,u,p,99,m,4,f,_),{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:l.hasIndexSignature,optionalReplacementSpan:g,entries:y};case 2:return y=l.types.map((function(e){return{name:e.value,kindModifiers:"",kind:"string",sortText:lr.SortText.LocationPriority,replacementSpan:cr.getReplacementSpanForContextToken(d)}})),{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:l.isNewIdentifier,optionalReplacementSpan:g,entries:y};default:return cr.Debug.assertNever(l)}}}},cm.getStringLiteralCompletionDetails=function(e,n,t,r,a,i,o,s,c){if(r&&cr.isStringLiteralLike(r))return(t=gF(n,r,t,a,i,o,c))&&((e,n,t,r,a,i)=>{switch(t.kind){case 0:return(o=cr.find(t.paths,(function(n){return n.name===e})))&&lr.createCompletionDetails(e,fF(o.extension),o.kind,[cr.textPart(e)]);case 1:var o;return(o=cr.find(t.symbols,(function(n){return n.name===e})))&&lr.createCompletionDetailsForSymbol(o,a,r,n,i);case 2:return cr.find(t.types,(function(n){return n.value===e}))?lr.createCompletionDetails(e,"","type",[cr.textPart(e)]):void 0;default:return cr.Debug.assertNever(t)}})(e,r,t,n,a,s)},dr=/^(\/\/\/\s*<reference\s+(path|types)\s*=\s*(?:'|"))([^\3"]*)$/,ur=["dependencies","devDependencies","peerDependencies","optionalDependencies"],pr=bY=bY||{},(mr=pr.Completions||(pr.Completions={})).moduleSpecifierResolutionLimit=100,mr.moduleSpecifierResolutionCacheAttemptLimit=1e3,(sm=_r=mr.SortText||(mr.SortText={})).LocalDeclarationPriority="10",sm.LocationPriority="11",sm.OptionalMember="12",sm.MemberDeclaredBySpreadAssignment="13",sm.SuggestedClassMembers="14",sm.GlobalsOrKeywords="15",sm.AutoImportSuggestions="16",sm.JavascriptIdentifiers="17",sm.DeprecatedLocalDeclarationPriority="18",sm.DeprecatedLocationPriority="19",sm.DeprecatedOptionalMember="20",sm.DeprecatedMemberDeclaredBySpreadAssignment="21",sm.DeprecatedSuggestedClassMembers="22",sm.DeprecatedGlobalsOrKeywords="23",sm.DeprecatedAutoImportSuggestions="24",(sm={LocalDeclarationPriority:10,10:"LocalDeclarationPriority",LocationPriority:11,11:"LocationPriority",OptionalMember:12,12:"OptionalMember",MemberDeclaredBySpreadAssignment:13,13:"MemberDeclaredBySpreadAssignment",SuggestedClassMembers:14,14:"SuggestedClassMembers",GlobalsOrKeywords:15,15:"GlobalsOrKeywords",AutoImportSuggestions:16,16:"AutoImportSuggestions",_JavaScriptIdentifiers:17,17:"_JavaScriptIdentifiers",_DeprecatedStart:18,18:"_DeprecatedStart",_First:10})[10]="_First",sm[sm.DeprecatedOffset=8]="DeprecatedOffset",(fr=mr.CompletionSource||(mr.CompletionSource={})).ThisProperty="ThisProperty/",(sm={ThisType:1,1:"ThisType",SymbolMember:2,2:"SymbolMember",Export:4,4:"Export",Promise:8,8:"Promise",Nullable:16,16:"Nullable",ResolvedExport:32,32:"ResolvedExport",SymbolMemberNoExport:2})[2]="SymbolMemberNoExport",sm[sm.SymbolMemberExport=6]="SymbolMemberExport",mr.getCompletionsAtPosition=function(e,n,t,r,a,i,o,s,c){var l=JF(a,r).previousToken;if(!o||pr.isInString(r,a,l)||((e,n,t,r)=>{switch(n){case".":case"@":return 1;case'"':case"'":case"`":return t&&pr.isStringLiteralOrTemplate(t)&&r===t.getStart(e)+1;case"#":return t&&pr.isPrivateIdentifier(t)&&pr.getContainingClass(t);case"<":return t&&29===t.kind&&(!pr.isBinaryExpression(t.parent)||aG(t.parent));case"/":return t&&(pr.isStringLiteralLike(t)?pr.tryGetImportFromModuleSpecifier(t):43===t.kind&&pr.isJsxClosingElement(t.parent));case" ":return t&&pr.isImportKeyword(t)&&300===t.parent.kind;default:return pr.Debug.assertNever(n)}})(r,o,l,a)){if(" "===o)return i.includeCompletionsForImportStatements&&i.includeCompletionsWithInsertText?{isGlobalCompletion:!0,isMemberCompletion:!1,isNewIdentifierLocation:!0,isIncomplete:!0,entries:[]}:void 0;var d=n.getTypeChecker(),u=n.getCompilerOptions(),p=i.allowIncompleteCompletions&&null!=(o=e.getIncompleteCompletionsCache)?o.call(e):void 0;if(p&&3===s&&l&&pr.isIdentifier(l)){if(o=((e,n,t,r,a,i,o)=>{var s,c,l,d,u=e.get();if(u)return s=t.text.toLowerCase(),c=pr.getExportInfoMap(n,a,r,o),l=r.getTypeChecker(),t=null==(e=a.getPackageJsonAutoImportProvider)?void 0:e.call(a),d=null==t?void 0:t.getTypeChecker(),o=RF("continuePreviousIncompleteResponse",a,r,n,i,!1,(function(e){var t=pr.mapDefined(u.entries,(function(t){var i,o;return t.hasAction&&t.source&&t.data&&!t.data.moduleSpecifier?cG(t.name,s)?(o=(i=pr.Debug.checkDefined(qF(t.name,t.data,r,a))).symbol,(i=(i=c.get(n.path,t.name,o,(o=i.origin).moduleSymbol.name,o.isFromPackageJson?d:l))&&e.tryResolve(i,!pr.isExternalModuleNameRelative(pr.stripQuotes(o.moduleSymbol.name))))&&(o=nu(nu({},o),{kind:32,moduleSpecifier:i.moduleSpecifier}),t.data=FF(o),t.source=BF(o),t.sourceDisplay=[pr.textPart(o.moduleSpecifier)]),t):void 0:t}));return e.resolutionLimitExceeded()||(u.isIncomplete=void 0),t})),u.entries=o,u})(p,r,l,n,e,i,c),o)return o}else null!=p&&p.clear();if(s=mr.StringCompletions.getStringLiteralCompletions(r,a,l,d,u,e,t,i),s)return s;if(l&&pr.isBreakOrContinueStatement(l.parent)&&(81===l.kind||86===l.kind||79===l.kind))return(o=(e=>{for(var n,t=[],r=new pr.Map,a=e;a&&!pr.isFunctionLike(a);)pr.isLabeledStatement(a)&&(n=a.label.text,r.has(n)||(r.set(n,!0),t.push({name:n,kindModifiers:"",kind:"label",sortText:_r.LocationPriority}))),a=a.parent;return t})(o=l.parent)).length?{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:o}:void 0;var m=zF(n,t,r,PF(r,u),a,i,void 0,e,c);if(m)switch(m.kind){case 0:var _=((e,n,t,r,a,i)=>{var o=a.symbols,s=a.completionKind,c=a.isInSnippetScope,l=a.isNewIdentifierLocation,d=a.location,u=a.propertyAccessToConvert,p=a.keywordFilters,m=a.literals,_=a.symbolToOriginInfoMap,f=a.recommendedCompletion,g=a.isJsxInitializer,y=a.isTypeOnlyLocation,h=a.isJsxIdentifierExpected,v=a.importCompletionNode,b=a.insideJsDocTagTypeExpression,E=a.symbolToSortTextIdMap;a=a.hasUnresolvedAutoImports;if(1===pr.getLanguageVariant(e.scriptKind)){var T=((e,n)=>{var t;if(e=pr.findAncestor(e,(function(e){switch(e.kind){case 279:return!0;case 43:case 31:case 79:case 204:return!1;default:return"quit"}})))return t=!!pr.findChildOfKind(e,31,n),n=e.parent.openingElement.tagName.getText(n)+(t?"":">"),t=pr.createTextSpanFromNode(e.tagName),{isGlobalCompletion:!(e={name:n,kind:"class",kindModifiers:void 0,sortText:_r.LocationPriority}),isMemberCompletion:!0,isNewIdentifierLocation:!1,optionalReplacementSpan:t,entries:[e]}})(d,e);if(T)return T}var S=[];if(PF(e,t))T=UF(o,S,void 0,d,e,n,t.target,r,s,i,t,y,u,h,g,v,f,_,E),((e,n,t,r,a)=>{pr.getNameTable(e).forEach((function(e,i){e!==n&&(e=pr.unescapeLeadingUnderscores(i),!t.has(e))&&pr.isIdentifierText(e,r)&&(t.add(e),a.push({name:e,kind:"warning",kindModifiers:"",sortText:_r.JavascriptIdentifiers,isFromUncheckedFile:!0}))}))})(e,d.pos,T,t.target,S);else{if(!(l||o&&0!==o.length||0!==p))return;UF(o,S,void 0,d,e,n,t.target,r,s,i,t,y,u,h,g,v,f,_,E)}if(0!==p)for(var x=new pr.Set(S.map((function(e){return e.name}))),L=0,D=((e,n)=>n?gr[n=e+7+1]||(gr[n]=YF(e).filter((function(e){switch(pr.stringToToken(e.name)){case 126:case 129:case 156:case 132:case 134:case 92:case 155:case 117:case 136:case 118:case 138:case 139:case 140:case 141:case 142:case 145:case 146:case 157:case 121:case 122:case 123:case 143:case 148:case 149:case 150:case 152:case 153:return!1;default:return!0}return!0}))):YF(e))(p,!b&&pr.isSourceFileJS(e));L<D.length;L++){var A=D[L];x.has(A.name)||S.push(A)}for(var C=0,I=m;C<I.length;C++){var N=I[C];S.push(((e,n,t)=>({name:wF(e,n,t),kind:"string",kindModifiers:"",sortText:_r.LocationPriority}))(e,i,N))}return{isGlobalCompletion:c,isIncomplete:!(!i.allowIncompleteCompletions||!a)||void 0,isMemberCompletion:(e=>{switch(e){case 0:case 3:case 2:return!0;default:return!1}})(s),isNewIdentifierLocation:l,optionalReplacementSpan:(e=>79===(null==e?void 0:e.kind)?pr.createTextSpanFromNode(e):void 0)(d),entries:S}})(r,d,u,t,m,i);return null!=_&&_.isIncomplete&&null!=p&&p.set(_),_;case 1:return OF(pr.JsDoc.getJSDocTagNameCompletions());case 2:return OF(pr.JsDoc.getJSDocTagCompletions());case 3:return OF(pr.JsDoc.getJSDocParameterNameCompletions(m.tag));case 4:return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:m.keywords.map((function(e){return{name:pr.tokenToString(e),kind:"keyword",kindModifiers:"",sortText:_r.GlobalsOrKeywords}}))};default:return pr.Debug.assertNever(m)}}},mr.getCompletionEntriesFromSymbols=UF,mr.getCompletionEntryDetails=function(e,n,t,r,a,i,o,s,c){var l=e.getTypeChecker(),d=e.getCompilerOptions(),u=a.name,p=pr.findPrecedingToken(r,t);if(pr.isInString(t,r,p))return mr.StringCompletions.getStringLiteralCompletionDetails(u,t,r,p,l,d,i,c,s);var m=VF(e,n,t,r,a,i,s);switch(m.type){case"request":var _=m.request;switch(_.kind){case 1:return pr.JsDoc.getJSDocTagNameCompletionDetails(u);case 2:return pr.JsDoc.getJSDocTagCompletionDetails(u);case 3:return pr.JsDoc.getJSDocParameterNameCompletionDetails(u);case 4:return-1<_.keywords.indexOf(pr.stringToToken(u))?jF(u,"keyword",pr.SymbolDisplayPartKind.keyword):void 0;default:return pr.Debug.assertNever(_)}case"symbol":var f=m.symbol,g=m.location,y=((e,n,t,r,a,i,o,s,c,l,d)=>{if(null!=d&&d.moduleSpecifier){var u=JF(o,i),p=u.contextToken;u=u.previousToken;if(u&&iG(p||u))return{codeActions:void 0,sourceDisplay:[pr.textPart(d.moduleSpecifier)]}}return e&&(NF(e)||kF(e))?(p=(e.isFromPackageJson?r.getPackageJsonAutoImportProvider():t).getTypeChecker(),u=e.moduleSymbol,e=p.getMergedSymbol(pr.skipAlias(n.exportSymbol||n,p)),p=pr.codefix.getImportCompletionAction(e,u,i,pr.getNameForExportedSymbol(n,a.target),r,t,c,s&&pr.isIdentifier(s)?s.getStart(i):o,l),e=p.moduleSpecifier,u=p.codeAction,pr.Debug.assert(!(null!=d&&d.moduleSpecifier)||e===d.moduleSpecifier),{sourceDisplay:[pr.textPart(e)],codeActions:[u]}):{codeActions:void 0,sourceDisplay:void 0}})(m.origin,f,e,i,d,t,r,m.previousToken,o,s,a.data);return KF(f,l,t,g,c,y.codeActions,y.sourceDisplay);case"literal":return f=m.literal,jF(wF(t,s,f),"string","string"==typeof f?pr.SymbolDisplayPartKind.stringLiteral:pr.SymbolDisplayPartKind.numericLiteral);case"none":return yr().some((function(e){return e.name===u}))?jF(u,"keyword",pr.SymbolDisplayPartKind.keyword):void 0;default:pr.Debug.assertNever(m)}},mr.createCompletionDetailsForSymbol=KF,mr.createCompletionDetails=HF,mr.getCompletionEntrySymbol=function(e,n,t,r,a,i,o){return"symbol"===(e=VF(e,n,t,r,a,i,o)).type?e.symbol:void 0},(sm=mr.CompletionKind||(mr.CompletionKind={}))[sm.ObjectPropertyDeclaration=0]="ObjectPropertyDeclaration",sm[sm.Global=1]="Global",sm[sm.PropertyAccess=2]="PropertyAccess",sm[sm.MemberLike=3]="MemberLike",sm[sm.String=4]="String",sm[sm.None=5]="None",gr=[],yr=pr.memoize((function(){for(var e=[],n=81;n<=158;n++)e.push({name:pr.tokenToString(n),kind:"keyword",kindModifiers:"",sortText:_r.GlobalsOrKeywords});return e})),mr.getPropertiesForObjectExpression=nG,((hr=bY=bY||{}).DocumentHighlights||(hr.DocumentHighlights={})).getDocumentHighlights=function(e,n,t,r,a){var i,o=hr.getTouchingPropertyName(t,r);return o.parent&&(hr.isJsxOpeningElement(o.parent)&&o.parent.tagName===o||hr.isJsxClosingElement(o.parent))?(i=[(i=o.parent.parent).openingElement,i.closingElement].map((function(e){return lG(e.tagName,t)})),[{fileName:t.fileName,highlightSpans:i}]):((e,n,t,r,a)=>{var i,o=new hr.Set(a.map((function(e){return e.fileName})));if(e=hr.FindAllReferences.getReferenceEntriesForNode(e,n,t,a,r,void 0,o))return n=hr.arrayToMultiMap(e.map(hr.FindAllReferences.toHighlightSpan),(function(e){return e.fileName}),(function(e){return e.span})),i=hr.createGetCanonicalFileName(t.useCaseSensitiveFileNames()),hr.mapDefined(hr.arrayFrom(n.entries()),(function(e){var n=e[0];e=e[1];if(!o.has(n)){if(!t.redirectTargetsMap.has(hr.toPath(n,t.getCurrentDirectory(),i)))return;var r=t.getSourceFile(n);n=hr.find(a,(function(e){return!!e.redirectInfo&&e.redirectInfo.redirectTarget===r})).fileName;hr.Debug.assert(o.has(n))}return{fileName:n,highlightSpans:e}}))})(r,o,e,n,a)||((e,n)=>(e=((e,n)=>{switch(e.kind){case 99:case 91:return hr.isIfStatement(e.parent)?((e,n)=>{for(var t=((e,n)=>{for(var t=[];hr.isIfStatement(e.parent)&&e.parent.elseStatement===e;)e=e.parent;for(;;){var r=e.getChildren(n);fG(t,r[0],99);for(var a=r.length-1;0<=a&&!fG(t,r[a],91);a--);if(!e.elseStatement||!hr.isIfStatement(e.elseStatement))break;e=e.elseStatement}return t})(e,n),r=[],a=0;a<t.length;a++){if(91===t[a].kind&&a<t.length-1){for(var i=t[a],o=t[a+1],s=!0,c=o.getStart(n)-1;c>=i.end;c--)if(!hr.isWhiteSpaceSingleLine(n.text.charCodeAt(c))){s=!1;break}if(s){r.push({fileName:n.fileName,textSpan:hr.createTextSpanFromBounds(i.getStart(),o.end),kind:"reference"}),a++;continue}}r.push(lG(t[a],n))}return r})(e.parent,n):void 0;case 105:return r(e.parent,hr.isReturnStatement,EG);case 109:return r(e.parent,hr.isThrowStatement,bG);case 111:case 83:case 96:return r((83===e.kind?e.parent:e).parent,hr.isTryStatement,vG);case 107:return r(e.parent,hr.isSwitchStatement,hG);case 82:case 88:return hr.isDefaultClause(e.parent)||hr.isCaseClause(e.parent)?r(e.parent.parent.parent,hr.isSwitchStatement,hG):void 0;case 81:case 86:return r(e.parent,hr.isBreakOrContinueStatement,yG);case 97:case 115:case 90:return r(e.parent,(function(e){return hr.isIterationStatement(e,!0)}),gG);case 133:return t(hr.isConstructorDeclaration,[133]);case 135:case 147:return t(hr.isAccessor,[135,147]);case 131:return r(e.parent,hr.isAwaitExpression,TG);case 130:return a(TG(e));case 125:return a((e=>{var n;if(e=hr.getContainingFunction(e))return n=[],hr.forEachChild(e,(function(e){SG(e,(function(e){hr.isYieldExpression(e)&&fG(n,e.getFirstToken(),125)}))})),n})(e));default:return hr.isModifierKind(e.kind)&&(hr.isDeclaration(e.parent)||hr.isVariableStatement(e.parent))?a(((e,n)=>hr.mapDefined(((e,n)=>{var t=e.parent;switch(t.kind){case 260:case 300:case 233:case 287:case 288:return 128&n&&hr.isClassDeclaration(e)?eu(eu([],e.members,!0),[e],!1):t.statements;case 169:case 167:case 254:return eu(eu([],t.parameters,!0),hr.isClassLike(t.parent)?t.parent.members:[],!0);case 255:case 224:case 256:case 180:var r=t.members;if(92&n){var a=hr.find(t.members,hr.isConstructorDeclaration);if(a)return eu(eu([],r,!0),a.parameters,!0)}else if(128&n)return eu(eu([],r,!0),[t],!1);return r;case 203:return;default:hr.Debug.assertNever(t,"Invalid container kind.")}})(n,hr.modifierToFlag(e)),(function(n){return hr.findModifier(n,e)})))(e.kind,e.parent)):void 0}function t(t,a){return r(e.parent,t,(function(e){return hr.mapDefined(e.symbol.declarations,(function(e){return t(e)?hr.find(e.getChildren(n),(function(e){return hr.contains(a,e.kind)})):void 0}))}))}function r(e,t,r){return t(e)?a(r(e,n)):void 0}function a(e){return e&&e.map((function(e){return lG(e,n)}))}})(e,n))&&[{fileName:n.fileName,highlightSpans:e}])(o,t)},(vr=bY=bY||{}).createDocumentRegistry=function(e,n){return LG(e,n)},vr.createDocumentRegistryInternal=LG,br=bY=bY||{},(tu=br.FindAllReferences||(br.FindAllReferences={})).createImportTracker=function(e,n,t,r){var a=((e,n,t)=>{for(var r=new br.Map,a=0,i=e;a<i.length;a++){var o=i[a];t&&t.throwIfCancellationRequested(),CG(o,(function(e,t){var a;t=n.getSymbolAtLocation(t);t&&(t=br.getSymbolId(t).toString(),(a=r.get(t))||r.set(t,a=[]),a.push(e))}))}return r})(e,t,r);return function(i,o,s){c=e,l=n,d=a,u=t,p=r,m=o.exportingModuleSymbol,_=o.exportKind,f=br.nodeSeenTracker(),g=br.nodeSeenTracker(),y=[],h=!!m.globalExports,v=h?void 0:[],function e(n){if(n=L(n),n)for(var t=0,r=n;t<r.length;t++){var a=r[t];if(f(a))switch(p&&p.throwIfCancellationRequested(),a.kind){case 206:if(br.isImportCall(a))E(a);else if(!h){var i=a.parent;if(2===_&&252===i.kind&&(i=i.name,79===i.kind)){y.push(i);break}}break;case 79:break;case 263:S(a,a.name,br.hasSyntacticModifier(a,1),!1);break;case 264:y.push(a),i=a.importClause&&a.importClause.namedBindings,i&&266===i.kind?S(a,i.name,!1,!0):!h&&br.isDefaultImport(a)&&x(kG(a));break;case 270:a.exportClause?272===a.exportClause.kind?x(kG(a),!0):y.push(a):e(NG(a,u));break;case 198:a.isTypeOf&&!a.qualifier&&T(a)&&x(a.getSourceFile(),!0),y.push(a);break;default:br.Debug.failBadSyntaxKind(a,"Unexpected import kind.")}}}(m);var c,l,d,u,p,m,_,f,g,y,h,v,b={directImports:y,indirectUsers:(()=>{if(h)return c;if(m.declarations)for(var e=0,n=m.declarations;e<n.length;e++){var t=n[e];br.isExternalModuleAugmentation(t)&&l.has(t.getSourceFile().fileName)&&x(t)}return v.map(br.getSourceFileOfNode)})()};function E(e){x(br.findAncestor(e,RG)||e.getSourceFile(),!!T(e,!0))}function T(e,n){return void 0===n&&(n=!1),br.findAncestor(e,(function(e){return n&&RG(e)?"quit":br.some(e.modifiers,(function(e){return 93===e.kind}))}))}function S(e,n,t,r){var a,i;2===_?r||y.push(e):h||(r=kG(e),br.Debug.assert(300===r.kind||259===r.kind),t||(e=r,i=(a=u).getSymbolAtLocation(n),AG(e,(function(e){var n;if(br.isExportDeclaration(e))return n=e.exportClause,!e.moduleSpecifier&&n&&br.isNamedExports(n)&&n.elements.some((function(e){return a.getExportSpecifierLocalTargetSymbol(e)===i}))})))?x(r,!0):x(r))}function x(e,n){void 0===n&&(n=!1),br.Debug.assert(!h);var t=g(e);if(t&&(v.push(e),n)&&(t=u.getMergedSymbol(e.symbol),t&&(br.Debug.assert(!!(1536&t.flags)),n=L(t),n)))for(var r=0,a=n;r<a.length;r++){var i=a[r];br.isImportTypeNode(i)||x(kG(i),!0)}}function L(e){return d.get(br.getSymbolId(e).toString())}return nu({indirectUsers:b.indirectUsers},((e,n,t,r,a)=>{var i=[],o=[];function s(e,n){i.push([e,n])}if(e)for(var c=0,l=e;c<l.length;c++){d=void 0,u=void 0,p=void 0;var d=l[c];if(263===d.kind)OG(d)&&m(d.name);else if(79===d.kind)m(d);else if(198===d.kind)d.qualifier?(u=br.getFirstIdentifier(d.qualifier)).escapedText===br.symbolName(n)&&o.push(u):2===t&&o.push(d.argument.literal);else if(10===d.moduleSpecifier.kind)if(270===d.kind)d.exportClause&&br.isNamedExports(d.exportClause)&&_(d.exportClause);else{var u=d.importClause||{name:void 0,namedBindings:void 0},p=(d=u.name,u.namedBindings);if(p)switch(p.kind){case 266:m(p.name);break;case 267:0!==t&&1!==t||_(p);break;default:br.Debug.assertNever(p)}!d||1!==t&&2!==t||a&&d.escapedText!==br.symbolEscapedNameNoDefault(n)||(u=r.getSymbolAtLocation(d),s(d,u))}}return{importSearches:i,singleReferences:o};function m(e){2!==t||a&&!f(e.escapedText)||s(e,r.getSymbolAtLocation(e))}function _(e){if(e)for(var t=0,i=e.elements;t<i.length;t++){var c=i[t],l=c.name,d=c.propertyName;f((d||l).escapedText)&&(d?(o.push(d),a&&l.escapedText!==n.escapedName||s(l,r.getSymbolAtLocation(l))):s(l,273===c.kind&&c.propertyName?r.getExportSpecifierLocalTargetSymbol(c):r.getSymbolAtLocation(l)))}}function f(e){return e===n.escapedName||0!==t&&"default"===e}})(b.directImports,i,o.exportKind,t,s))}},(OY=tu.ExportKind||(tu.ExportKind={}))[OY.Named=0]="Named",OY[OY.Default=1]="Default",OY[OY.ExportEquals=2]="ExportEquals",(OY=tu.ImportExport||(tu.ImportExport={}))[OY.Import=0]="Import",OY[OY.Export=1]="Export",tu.findModuleReferences=function(e,n,t){for(var r=[],a=e.getTypeChecker(),i=0,o=n;i<o.length;i++){var s=o[i],c=t.valueDeclaration;if(300===(null==c?void 0:c.kind)){for(var l=0,d=s.referencedFiles;l<d.length;l++){var u=d[l];e.getSourceFileFromReference(s,u)===c&&r.push({kind:"reference",referencingFile:s,ref:u})}for(var p=0,m=s.typeReferenceDirectives;p<m.length;p++){u=m[p];var _=e.getResolvedTypeReferenceDirectives().get(u.fileName);void 0!==_&&_.resolvedFileName===c.fileName&&r.push({kind:"reference",referencingFile:s,ref:u})}}CG(s,(function(e,n){a.getSymbolAtLocation(n)===t&&r.push({kind:"import",literal:n})}))}return r},tu.getImportOrExportSymbol=function(e,n,t,r){return r?a():a()||(()=>{if((e=>{var n=e.parent;switch(n.kind){case 263:return n.name===e&&OG(n);case 268:return!n.propertyName;case 265:case 266:return br.Debug.assert(n.name===e),1;case 201:return br.isInJSFile(e)&&br.isRequireVariableDeclaration(n);default:return}})(e)){var r,a=t.getImmediateAliasedSymbol(n);if(a)return"export="===(a=((e,n)=>{if(e.declarations)for(var t=0,r=e.declarations;t<r.length;t++){var a=r[t];if(br.isExportSpecifier(a)&&!a.propertyName&&!a.parent.parent.moduleSpecifier)return n.getExportSpecifierLocalTargetSymbol(a);if(br.isPropertyAccessExpression(a)&&br.isModuleExportsAccessExpression(a.expression)&&!br.isPrivateIdentifier(a.name))return n.getSymbolAtLocation(a);if(br.isShorthandPropertyAssignment(a)&&br.isBinaryExpression(a.parent.parent)&&2===br.getAssignmentDeclarationKind(a.parent.parent))return n.getExportSpecifierLocalTargetSymbol(a.name)}return e})(a,t)).escapedName&&(a=((e,n)=>2097152&e.flags?br.Debug.checkDefined(n.getImmediateAliasedSymbol(e)):(n=br.Debug.checkDefined(e.valueDeclaration),br.isExportAssignment(n)?br.Debug.checkDefined(n.expression.symbol):br.isBinaryExpression(n)?br.Debug.checkDefined(n.right.symbol):br.isSourceFile(n)?br.Debug.checkDefined(n.symbol):br.Debug.fail()))(a,t)),void 0===(r=br.symbolEscapedNameNoDefault(a))||"default"===r||r===n.escapedName?{kind:0,symbol:a}:void 0}})();function a(){var a,s,c,l=e.parent,d=l.parent;return n.exportSymbol?204===l.kind?null!=(a=n.declarations)&&a.some((function(e){return e===l}))&&br.isBinaryExpression(d)?p(d,!1):void 0:i(n.exportSymbol,o(l)):(a=l,s=e,(s=(c=br.isVariableDeclaration(a)?a:br.isBindingElement(a)?br.walkUpBindingElementsAndPatterns(a):void 0)?a.name===s&&!br.isCatchClause(c.parent)&&br.isVariableStatement(c.parent.parent)?c.parent.parent:void 0:a)&&br.hasSyntacticModifier(s,1)?br.isImportEqualsDeclaration(s)&&s.moduleReference===e?r?void 0:{kind:0,symbol:t.getSymbolAtLocation(s.name)}:i(n,o(s)):br.isNamespaceExport(l)?i(n,0):br.isExportAssignment(l)?u(l):br.isExportAssignment(d)?u(d):br.isBinaryExpression(l)?p(l,!0):br.isBinaryExpression(d)?p(d,!0):br.isJSDocTypedefTag(l)?i(n,0):void 0);function u(e){if(e.symbol.parent)return{kind:1,symbol:n,exportInfo:{exportingModuleSymbol:e.symbol.parent,exportKind:e.isExportEquals?2:1}}}function p(e,r){var a;switch(br.getAssignmentDeclarationKind(e)){case 1:a=0;break;case 2:a=2;break;default:return}return r=r?t.getSymbolAtLocation(br.getNameOfAccessExpression(br.cast(e.left,br.isAccessExpression))):n,r&&i(r,a)}}function i(e,n){return n=IG(e,n,t),n&&{kind:1,symbol:e,exportInfo:n}}function o(e){return br.hasSyntacticModifier(e,512)?1:0}},tu.getExportInfo=IG,Er=bY=bY||{},Tr=Er.FindAllReferences||(Er.FindAllReferences={}),(cm=Tr.DefinitionKind||(Tr.DefinitionKind={}))[cm.Symbol=0]="Symbol",cm[cm.Label=1]="Label",cm[cm.Keyword=2]="Keyword",cm[cm.This=3]="This",cm[cm.String=4]="String",cm[cm.TripleSlashReference=5]="TripleSlashReference",(cm=Tr.EntryKind||(Tr.EntryKind={}))[cm.Span=0]="Span",cm[cm.Node=1]="Node",cm[cm.StringLiteral=2]="StringLiteral",cm[cm.SearchedLocalFoundProperty=3]="SearchedLocalFoundProperty",cm[cm.SearchedPropertyFoundLocal=4]="SearchedPropertyFoundLocal",Tr.nodeEntry=PG,Tr.isContextWithStartAndEndNode=wG,Tr.getContextNode=MG,Tr.toContextSpan=FG,(cm=Tr.FindReferencesUse||(Tr.FindReferencesUse={}))[cm.Other=0]="Other",cm[cm.References=1]="References",cm[cm.Rename=2]="Rename",Tr.findReferencedSymbols=function(e,n,t,r,a){var i=Er.getTouchingPropertyName(r,a),o=(r=Sr.getReferencedSymbolsForNode(a,i,e,t,n,{use:1}),e.getTypeChecker());return r&&r.length?Er.mapDefined(r,(function(e){var t=e.definition;e=e.references;return t&&{definition:o.runWithCancellationToken(n,(function(e){return n=t,r=e,a=i,e=(()=>{switch(n.type){case 0:var e=jG(c=n.symbol,r,a),t=e.displayParts,i=(e=e.kind,t.map((function(e){return e.text})).join("")),o=c.declarations&&Er.firstOrUndefined(c.declarations),s=o?Er.getNameOfDeclaration(o)||o:a;return nu(nu({},VG(s)),{name:i,kind:e,displayParts:t,context:MG(o)});case 1:return s=n.node,nu(nu({},VG(s)),{name:s.text,kind:"label",displayParts:[Er.displayPart(s.text,Er.SymbolDisplayPartKind.text)]});case 2:s=n.node,i=Er.tokenToString(s.kind);return nu(nu({},VG(s)),{name:i,kind:"keyword",displayParts:[{text:i,kind:"keyword"}]});case 3:var c;s=n.node,e=(c=r.getSymbolAtLocation(s))&&Er.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(r,c,s.getSourceFile(),Er.getContainerNode(s),s).displayParts||[Er.textPart("this")];return nu(nu({},VG(s)),{name:"this",kind:"var",displayParts:e});case 4:return s=n.node,nu(nu({},VG(s)),{name:s.text,kind:"var",displayParts:[Er.displayPart(Er.getTextOfNode(s),Er.SymbolDisplayPartKind.stringLiteral)]});case 5:return{textSpan:Er.createTextSpanFromRange(n.reference),sourceFile:n.file,name:n.reference.fileName,kind:"string",displayParts:[Er.displayPart('"'+n.reference.fileName+'"',Er.SymbolDisplayPartKind.stringLiteral)]};default:return Er.Debug.assertNever(n)}})(),o=e.sourceFile,s=e.textSpan,c=e.name,l=e.kind,d=e.displayParts,e=e.context,nu({containerKind:"",containerName:"",fileName:o.fileName,kind:l,name:c,textSpan:s,displayParts:d},FG(s,o,e));var n,r,a,o,s,c,l,d})),references:e.map(KG)}})):void 0},Tr.getImplementationsAtPosition=function(e,n,t,r,a){if(r=Er.getTouchingPropertyName(r,a),a=GG(e,n,t,r,a),204===r.parent.kind||201===r.parent.kind||205===r.parent.kind||106===r.kind)s=a&&eu([],a,!0);else for(var i=a&&eu([],a,!0),o=new Er.Map;i&&i.length;){var s,c=i.shift();Er.addToSeen(o,Er.getNodeId(c.node))&&(s=Er.append(s,c),c=GG(e,n,t,c.node,c.node.pos))&&i.push.apply(i,c)}var l=e.getTypeChecker();return Er.map(s,(function(e){return n=l,t=HG(e=e),0!==e.kind?(e=e.node,nu(nu({},t),((e,n)=>{var t=n.getSymbolAtLocation(Er.isDeclaration(e)&&e.name?e.name:e);return t?jG(t,n,e):203===e.kind?{kind:"interface",displayParts:[Er.punctuationPart(20),Er.textPart("object literal"),Er.punctuationPart(21)]}:224===e.kind?{kind:"local class",displayParts:[Er.punctuationPart(20),Er.textPart("anonymous local class"),Er.punctuationPart(21)]}:{kind:Er.getNodeKind(e),displayParts:[]}})(e,n))):nu(nu({},t),{kind:"",displayParts:[]});var n,t}))},Tr.findReferenceOrRenameEntries=function(e,n,t,r,a,i,o){return Er.map(UG(Sr.getReferencedSymbolsForNode(a,r,e,t,n,i)),(function(n){return o(n,r,e.getTypeChecker())}))},Tr.getReferenceEntriesForNode=BG,Tr.toRenameLocation=function(e,n,t,r){return nu(nu({},HG(e)),r&&((e,n,t)=>{if(0!==e.kind&&Er.isIdentifier(n)){var r,a=e.node,i=e.kind,o=a.parent,s=n.text,c=Er.isShorthandPropertyAssignment(o);if(c||Er.isObjectBindingElementWithoutPropertyName(o)&&o.name===a&&void 0===o.dotDotDotToken)return a={prefixText:s+": "},r={suffixText:": "+s},3===i||4!==i&&(!c||(i=o.parent,Er.isObjectLiteralExpression(i)&&Er.isBinaryExpression(i.parent)&&Er.isModuleExportsAccessExpression(i.parent.left)))?a:r;if(Er.isImportSpecifier(o)&&!o.propertyName)return c=Er.isExportSpecifier(n.parent)?t.getExportSpecifierLocalTargetSymbol(n.parent):t.getSymbolAtLocation(n),Er.contains(c.declarations,o)?{prefixText:s+" as "}:Er.emptyOptions;if(Er.isExportSpecifier(o)&&!o.propertyName)return n===e.node||t.getSymbolAtLocation(n)===t.getSymbolAtLocation(e.node)?{prefixText:s+" as "}:{suffixText:" as "+s}}return Er.emptyOptions})(e,n,t))},Tr.toReferenceEntry=KG,Tr.toHighlightSpan=function(e){var n,t=HG(e);return 0===e.kind?{fileName:t.fileName,span:{textSpan:t.textSpan,kind:"reference"}}:(n=JG(e.node),n=nu({textSpan:t.textSpan,kind:n?"writtenReference":"reference",isInString:2===e.kind||void 0},t.contextSpan&&{contextSpan:t.contextSpan}),{fileName:t.fileName,span:n})},Tr.getTextSpanOfEntry=zG,(cm=Sr=Tr.Core||(Tr.Core={})).getReferencedSymbolsForNode=function(e,n,t,r,a,i,o){if(void 0===i&&(i={}),void 0===o&&(o=new Er.Set(r.map((function(e){return e.fileName})))),1===i.use?n=Er.getAdjustedReferenceLocation(n):2===i.use&&(n=Er.getAdjustedRenameLocation(n)),Er.isSourceFile(n))return null!=(e=Er.GoToDefinition.getReferenceAtPosition(n,e,t))&&e.file?(s=t.getTypeChecker().getMergedSymbol(e.file.symbol))?$G(t,s,!1,r,o):(p=t.getFileIncludeReasons())?[{definition:{type:5,reference:e.reference,file:n},references:qG(e.file,p,t)||Er.emptyArray}]:void 0:void 0;if(!i.implementations){var s=((e,n,t)=>{if(Er.isTypeKeyword(e.kind)){if(114===e.kind&&Er.isVoidExpression(e.parent)||143===e.kind&&!eB(e))return;var r=n,a=e.kind,i=t,o=143===e.kind?eB:void 0;return(r=Er.flatMap(r,(function(e){return i.throwIfCancellationRequested(),Er.mapDefined(cB(e,Er.tokenToString(a),e),(function(e){if(e.kind===a&&(!o||o(e)))return PG(e)}))}))).length?[{definition:{type:2,node:r[0].node},references:r}]:void 0}if(Er.isStaticModifier(e)&&Er.isClassStaticBlockDeclaration(e.parent))return[{definition:{type:2,node:e},references:[PG(e)]}];if(Er.isJumpStatementTarget(e))return(u=Er.getTargetLabel(e.parent,e.text))&&dB(u.parent,u);if(Er.isLabelOfLabeledStatement(e))return dB(e.parent,e);if(Er.isThis(e)){var s=e,c=t,l=Er.getThisContainer(s,!1),d=32;switch(l.kind){case 167:case 166:if(Er.isObjectLiteralMethod(l)){d&=Er.getSyntacticModifierFlags(l),l=l.parent;break}case 165:case 164:case 169:case 170:case 171:d&=Er.getSyntacticModifierFlags(l),l=l.parent;break;case 300:if(Er.isExternalModule(l)||hB(s))return;case 254:case 211:break;default:return}return n=Er.flatMap(300===l.kind?n:[l.getSourceFile()],(function(e){return c.throwIfCancellationRequested(),cB(e,"this",Er.isSourceFile(l)?e:l).filter((function(e){if(!Er.isThis(e))return!1;var n=Er.getThisContainer(e,!1);switch(l.kind){case 211:case 254:return l.symbol===n.symbol;case 167:case 166:return Er.isObjectLiteralMethod(l)&&l.symbol===n.symbol;case 224:case 255:case 203:return n.parent&&l.symbol===n.parent.symbol&&Er.isStatic(n)===!!d;case 300:return 300===n.kind&&!Er.isExternalModule(n)&&!hB(e)}}))})).map((function(e){return PG(e)})),[{definition:{type:3,node:Er.firstDefined(n,(function(e){return Er.isParameter(e.node.parent)?e.node:void 0}))||s},references:n}]}if(106===e.kind){var u=e,p=Er.getSuperContainer(u,!1);if(p){var m=32;switch(p.kind){case 165:case 164:case 167:case 166:case 169:case 170:case 171:m&=Er.getSyntacticModifierFlags(p),p=p.parent;break;default:return}return u=p.getSourceFile(),u=Er.mapDefined(cB(u,"super",p),(function(e){var n;return 106===e.kind&&(n=Er.getSuperContainer(e,!1))&&Er.isStatic(n)===!!m&&n.parent.symbol===p.symbol?PG(e):void 0})),[{definition:{type:0,symbol:p.symbol},references:u}]}}})(n,r,a);if(s)return s}var c,l,d,u;e=t.getTypeChecker();if(s=e.getSymbolAtLocation(Er.isConstructorDeclaration(n)&&n.parent.name||n))return"export="===s.escapedName?$G(t,s.parent,!1,r,o):!(_=YG(s,t,r,a,i,o))||33554432&s.flags?(m=(m=XG(n,s,e))&&YG(m,t,r,a,i,o),QG(t,_,nB(s,n,r,o,e,a,i),m)):_;if(!i.implementations&&Er.isStringLiteralLike(n)){if(Er.isModuleSpecifierLike(n)){var p=t.getFileIncludeReasons(),m=null==(o=null==(s=n.getSourceFile().resolvedModules)?void 0:s.get(n.text))?void 0:o.resolvedFileName,_=m?t.getSourceFile(m):void 0;if(_)return[{definition:{type:4,node:n},references:qG(_,p,t)||Er.emptyArray}]}return c=n,i=r,l=e,d=a,u=Er.getContextualTypeOrAncestorTypeNodeType(c,l),i=Er.flatMap(i,(function(e){return d.throwIfCancellationRequested(),Er.mapDefined(cB(e,c.text),(function(e){var n;return!Er.isStringLiteralLike(e)||e.text!==c.text||u&&(n=Er.getContextualTypeOrAncestorTypeNodeType(e,l),u===l.getStringType()||u!==n)?void 0:PG(e,2)}))})),[{definition:{type:4,node:c},references:i}]}},cm.getReferencesForFileName=function(e,n,t,r){void 0===r&&(r=new Er.Set(t.map((function(e){return e.fileName}))));var a=null==(a=n.getSourceFile(e))?void 0:a.symbol;return a?(null==(a=$G(n,a,!1,t,r)[0])?void 0:a.references)||Er.emptyArray:(t=n.getFileIncludeReasons(),(r=n.getSourceFile(e))&&t&&qG(r,t,n)||Er.emptyArray)},rB.prototype.includesSourceFile=function(e){return this.sourceFilesSet.has(e.fileName)},rB.prototype.getImportSearches=function(e,n){return this.importTracker||(this.importTracker=Tr.createImportTracker(this.sourceFiles,this.sourceFilesSet,this.checker,this.cancellationToken)),this.importTracker(e,n,2===this.options.use)},rB.prototype.createSearch=function(e,n,t,r){var a=(r=void 0===r?{}:r).text,i=(a=void 0===a?Er.stripQuotes(Er.symbolName(Er.getLocalSymbolForExportDefault(n)||(e=>{if(33555968&e.flags)return(e=e.declarations&&Er.find(e.declarations,(function(e){return!Er.isSourceFile(e)&&!Er.isModuleDeclaration(e)})))&&e.symbol})(n)||n)):a,r=r.allSearchSymbols,void 0===r?[n]:r);return{symbol:n,comingFrom:t,text:a,escapedText:Er.escapeLeadingUnderscores(a),parents:this.options.implementations&&e?((e,n,t)=>(e=Er.isRightSideOfPropertyAccess(e)?e.parent:void 0,t=e&&t.getTypeAtLocation(e.expression),0===(e=Er.mapDefined(t&&(t.isUnionOrIntersection()?t.types:t.symbol===n.parent?void 0:[t]),(function(e){return e.symbol&&96&e.symbol.flags?e.symbol:void 0}))).length?void 0:e))(e,n,this.checker):void 0,allSearchSymbols:i,includes:function(e){return Er.contains(i,e)}}},rB.prototype.referenceAdder=function(e){var n=Er.getSymbolId(e),t=this.symbolIdToReferences[n];return t||(t=this.symbolIdToReferences[n]=[],this.result.push({definition:{type:0,symbol:e},references:t})),function(e,n){return t.push(PG(e,n))}},rB.prototype.addStringOrCommentReference=function(e,n){this.result.push({definition:void 0,references:[{kind:0,fileName:e,textSpan:n}]})},rB.prototype.markSearchedSymbols=function(e,n){e=Er.getNodeId(e);for(var t=this.sourceFileToSeenSymbols[e]||(this.sourceFileToSeenSymbols[e]=new Er.Set),r=!1,a=0,i=n;a<i.length;a++){var o=i[a];r=Er.tryAddToSet(t,Er.getSymbolId(o))||r}return r},xr=rB,cm.eachExportReference=function(e,n,t,r,a,i,o,s){t=(e=Tr.createImportTracker(e,new Er.Set(e.map((function(e){return e.fileName}))),n,t)(r,{exportKind:o?1:0,exportingModuleSymbol:a},!1)).importSearches,a=e.indirectUsers;for(var c=0,l=t;c<l.length;c++)s(l[c][0]);for(var d=0,u=a;d<u.length;d++)for(var p=0,m=cB(u[d],o?"default":i);p<m.length;p++){var _=m[p],f=n.getSymbolAtLocation(_),g=Er.some(null==f?void 0:f.declarations,(function(e){return!!Er.tryCast(e,Er.isExportAssignment)}));!Er.isIdentifier(_)||Er.isImportOrExportSpecifier(_.parent)||f!==r&&!g||s(_)}},cm.isSymbolReferencedInFile=function(e,n,t,r){return sB(e,n,t,(function(){return!0}),r=void 0===r?t:r)||!1},cm.eachSymbolReferenceInFile=sB,cm.someSignatureUsage=function(e,n,t,r){if(e.name&&Er.isIdentifier(e.name))for(var a=Er.Debug.checkDefined(t.getSymbolAtLocation(e.name)),i=0,o=n;i<o.length;i++)for(var s=0,c=cB(o[i],a.name);s<c.length;s++){var l=c[s];if(Er.isIdentifier(l)&&l!==e.name&&l.escapedText===e.name.escapedText){var d=Er.climbPastPropertyAccess(l),u=(d=Er.isCallExpression(d.parent)&&d.parent.expression===d?d.parent:void 0,t.getSymbolAtLocation(l));if(u&&t.getRootSymbols(u).some((function(e){return e===a}))&&r(l,d))return!0}}return!1},cm.getIntersectingMeaningFromDeclarations=EB,cm.getReferenceEntriesForShorthandPropertyAssignment=TB,Lr=bY=bY||{},(sm=Lr.CallHierarchy||(Lr.CallHierarchy={})).resolveCallHierarchyDeclaration=PB,sm.createCallHierarchyItem=wB,sm.getIncomingCalls=function(e,n,t){return!(Lr.isSourceFile(n)||Lr.isModuleDeclaration(n)||Lr.isClassStaticBlockDeclaration(n))&&(n=CB(n),t=Lr.filter(Lr.FindAllReferences.findReferenceOrRenameEntries(e,t,e.getSourceFiles(),n,0,{use:1},FB),MB))?Lr.group(t,GB,(function(n){return{from:wB(e,(n=n)[0].declaration),fromSpans:Lr.map(n,(function(e){return Lr.createTextSpanFromRange(e.range)}))}})):[]},sm.getOutgoingCalls=function(e,n){return 8388608&n.flags||Lr.isMethodSignature(n)?[]:Lr.group(UB(e,n),GB,(function(n){return{to:wB(e,(n=n)[0].declaration),fromSpans:Lr.map(n,(function(e){return Lr.createTextSpanFromRange(e.range)}))}}))},(Dr=bY=bY||{}).getEditsForFileRename=function(e,n,t,r,a,i,o){var s=Dr.hostUsesCaseSensitiveFileNames(r),c=Dr.createGetCanonicalFileName(s),l=VB(n,t,c,o),d=VB(t,n,c,o);return Dr.textChanges.ChangeTracker.with({host:r,formatContext:a,preferences:i},(function(a){function i(e){for(var n=!1,t=0,r=Dr.isArrayLiteralExpression(e.initializer)?e.initializer.elements:[e.initializer];t<r.length;t++)n=o(r[t])||n;return n}function o(e){var n;return!!Dr.isStringLiteral(e)&&(n=jB(v,e.text),void 0!==(n=_(n)))&&(m.replaceRangeWithText(b,HB(e,b),u(n)),!0)}function u(e){return Dr.getRelativePathFromDirectory(v,e,!h)}p=e,m=a,_=l,f=n,g=t,y=r.getCurrentDirectory(),h=s,(b=p.getCompilerOptions().configFile)&&(v=Dr.getDirectoryPath(b.fileName),p=Dr.getTsConfigObjectLiteralExpression(b))&&WB(p,(function(e,n){switch(n){case"files":case"include":case"exclude":var t;return i(e)||"include"!==n||!Dr.isArrayLiteralExpression(e.initializer)||0===(t=Dr.mapDefined(e.initializer.elements,(function(e){return Dr.isStringLiteral(e)?e.text:void 0}))).length?void 0:(t=Dr.getFileMatcherPatterns(v,[],t,h,y),void(Dr.getRegexFromPattern(Dr.Debug.checkDefined(t.includeFilePattern),h).test(f)&&!Dr.getRegexFromPattern(Dr.Debug.checkDefined(t.includeFilePattern),h).test(g)&&m.insertNodeAfter(b,Dr.last(e.initializer.elements),Dr.factory.createStringLiteral(u(g)))));case"compilerOptions":WB(e.initializer,(function(e,n){var t=Dr.getOptionFromName(n);t&&(t.isFilePath||"list"===t.type&&t.element.isFilePath)?i(e):"paths"===n&&WB(e.initializer,(function(e){if(Dr.isArrayLiteralExpression(e.initializer))for(var n=0,t=e.initializer.elements;n<t.length;n++)o(t[n])}))}))}}));for(var p,m,_,f,g,y,h,v,b,E=e,T=a,S=l,x=d,L=r,D=c,A=E.getSourceFiles(),C=function(e){for(var n=S(e.fileName),t=null!=n?n:e.fileName,r=Dr.getDirectoryPath(t),a=x(e.fileName),i=a||e.fileName,o=Dr.getDirectoryPath(i),s=void 0!==n||void 0!==a,c=e,l=T,d=function(e){if(Dr.pathIsRelative(e))return e=jB(o,e),void 0===(e=S(e))?void 0:Dr.ensurePathIsNonModuleName(Dr.getRelativePathFromDirectory(r,e,D))},u=function(n){var r=E.getTypeChecker().getSymbolAtLocation(n);return null!=r&&r.declarations&&r.declarations.some((function(e){return Dr.isAmbientModule(e)}))||void 0===(r=void 0!==a?KB(n,Dr.resolveModuleName(n.text,i,E.getCompilerOptions(),L),S,A):((e,n,t,r,a,i)=>{var o;return e?(e=Dr.find(e.declarations,Dr.isSourceFile).fileName,void 0===(o=i(e))?{newFileName:e,updated:!1}:{newFileName:o,updated:!0}):(e=a.resolveModuleNames?a.getResolvedModuleWithFailedLookupLocationsFromCache&&a.getResolvedModuleWithFailedLookupLocationsFromCache(n.text,t.fileName):r.getResolvedModuleWithFailedLookupLocationsFromCache(n.text,t.fileName),KB(n,e,i,r.getSourceFiles()))})(r,n,e,E,L,S))||!(r.updated||s&&Dr.pathIsRelative(n.text))?void 0:Dr.moduleSpecifiers.updateModuleSpecifier(E.getCompilerOptions(),D(t),r.newFileName,Dr.createModuleSpecifierResolutionHost(E,L),n.text)},p=0,m=c.referencedFiles||Dr.emptyArray;p<m.length;p++){var _=m[p];void 0!==(y=d(_.fileName))&&y!==c.text.slice(_.pos,_.end)&&l.replaceRangeWithText(c,_,y)}for(var f=0,g=c.imports;f<g.length;f++){var y,h=g[f];void 0!==(y=u(h))&&y!==h.text&&l.replaceRangeWithText(c,HB(h,c),y)}},I=0,N=A;I<N.length;I++){var k=N[I];C(k)}}))},Dr.getPathUpdater=VB,Ar=bY=bY||{},(OY=Ar.GoToDefinition||(Ar.GoToDefinition={})).getDefinitionAtPosition=zB,OY.getReferenceAtPosition=qB,OY.getTypeDefinitionAtPosition=function(e,n,t){if((t=Ar.getTouchingPropertyName(n,t))!==n){var r;n=e.getSymbolAtLocation(t);if(n)return(r=(r=((e,n,t)=>{if((n.symbol===e||e.valueDeclaration&&n.symbol&&Ar.isVariableDeclaration(e.valueDeclaration)&&e.valueDeclaration.initializer===n.symbol.valueDeclaration)&&(e=n.getCallSignatures(),1===e.length))return t.getReturnTypeOfSignature(Ar.first(e))})(n,n=e.getTypeOfSymbolAtLocation(n,t),e))&&XB(r,e,t))&&0!==r.length?r:XB(n,e,t)}},OY.getDefinitionAndBoundSpan=function(e,n,t){var r;if((e=zB(e,n,t))&&0!==e.length)return(r=nU(n.referencedFiles,t)||nU(n.typeReferenceDirectives,t)||nU(n.libReferenceDirectives,t))?{definitions:e,textSpan:Ar.createTextSpanFromRange(r)}:(r=Ar.getTouchingPropertyName(n,t),{definitions:e,textSpan:Ar.createTextSpan(r.getStart(),r.getWidth())})},OY.findReferenceInPosition=nU,Cr=bY=bY||{},tu=Cr.JsDoc||(Cr.JsDoc={}),kr=["abstract","access","alias","argument","async","augments","author","borrows","callback","class","classdesc","constant","constructor","constructs","copyright","default","deprecated","description","emits","enum","event","example","exports","extends","external","field","file","fileoverview","fires","function","generator","global","hideconstructor","host","ignore","implements","inheritdoc","inner","instance","interface","kind","lends","license","link","listens","member","memberof","method","mixes","module","name","namespace","override","package","param","private","property","protected","public","readonly","requires","returns","see","since","static","summary","template","this","throws","todo","tutorial","type","typedef","var","variation","version","virtual","yields"],tu.getJsDocCommentsFromDeclarations=function(e,n){var t=[];return Cr.forEachUnique(e,(function(e){for(var r=0,a=(e=>{switch(e.kind){case 335:case 342:return[e];case 333:case 340:return[e,e.parent];default:return Cr.getJSDocCommentsAndTags(e)}})(e);r<a.length;r++){var i=a[r];void 0===i.comment||Cr.isJSDoc(i)&&340!==e.kind&&333!==e.kind&&i.tags&&i.tags.some((function(e){return 340===e.kind||333===e.kind}))&&!i.tags.some((function(e){return 335===e.kind||336===e.kind}))||(i=rU(i.comment,n),Cr.contains(t,i,tU))||t.push(i)}})),Cr.flatten(Cr.intersperse(t,[Cr.lineBreakPart()]))},tu.getJsDocTagsFromDeclarations=function(e,n){var t=[];return Cr.forEachUnique(e,(function(e){if(e=Cr.getJSDocTags(e),!e.some((function(e){return 340===e.kind||333===e.kind}))||e.some((function(e){return 335===e.kind||336===e.kind})))for(var r=0,a=e;r<a.length;r++){var i=a[r];t.push({name:i.tagName.text,text:((e,n)=>{var t=e.comment,r=e.kind,a=(e=>{switch(e){case 335:return Cr.parameterNamePart;case 342:return Cr.propertyNamePart;case 339:return Cr.typeParameterNamePart;case 340:case 333:return Cr.typeAliasNamePart;default:return Cr.textPart}})(r);switch(r){case 324:case 323:return o(e.class);case 339:return s(e.typeParameters.map((function(e){return e.getText()})).join(", "));case 338:return o(e.typeExpression);case 340:case 333:case 342:case 335:case 341:var i=e.name;return i?o(i):void 0===t?void 0:rU(t,n);default:return void 0===t?void 0:rU(t,n)}function o(e){return s(e.getText())}function s(e){return t?e.match(/^https?$/)?eu([Cr.textPart(e)],rU(t,n),!0):eu([a(e),Cr.spacePart()],rU(t,n),!0):[Cr.textPart(e)]}})(i,n)})}})),t},tu.getJSDocTagNameCompletions=function(){return Ir=Ir||Cr.map(kr,(function(e){return{name:e,kind:"keyword",kindModifiers:"",sortText:Cr.Completions.SortText.LocationPriority}}))},tu.getJSDocTagNameCompletionDetails=aU,tu.getJSDocTagCompletions=function(){return Nr=Nr||Cr.map(kr,(function(e){return{name:"@"+e,kind:"keyword",kindModifiers:"",sortText:Cr.Completions.SortText.LocationPriority}}))},tu.getJSDocTagCompletionDetails=aU,tu.getJSDocParameterNameCompletions=function(e){var n,t,r;return Cr.isIdentifier(e.name)?(n=e.name.text,r=(t=e.parent).parent,Cr.isFunctionLike(r)?Cr.mapDefined(r.parameters,(function(r){if(Cr.isIdentifier(r.name)){var a=r.name.text;if(!t.tags.some((function(n){return n!==e&&Cr.isJSDocParameterTag(n)&&Cr.isIdentifier(n.name)&&n.name.escapedText===a}))&&(void 0===n||Cr.startsWith(a,n)))return{name:a,kind:"parameter",kindModifiers:"",sortText:Cr.Completions.SortText.LocationPriority}}})):[]):Cr.emptyArray},tu.getJSDocParameterNameCompletionDetails=function(e){return{name:e,kind:"parameter",kindModifiers:"",displayParts:[Cr.textPart(e)],documentation:Cr.emptyArray,tags:void 0,codeActions:void 0}},tu.getDocCommentTemplateAtPosition=function(e,n,t,r){var a=Cr.getTokenAtPosition(n,t),i=Cr.findAncestor(a,Cr.isJSDoc);if(!i||void 0===i.comment&&!Cr.length(i.tags)){var o=a.getStart(n);if(i||!(o<t)){s=r;var s;i=Cr.forEachAncestor(a,(function(e){return function e(n,t){switch(n.kind){case 254:case 211:case 167:case 169:case 166:case 212:var r=n;return{commentOwner:n,parameters:r.parameters,hasReturn:iU(r,t)};case 291:return e(n.initializer,t);case 255:case 256:case 164:case 258:case 294:case 257:return{commentOwner:n};case 235:return r=n,r=r.declarationList.declarations,r=1===r.length&&r[0].initializer?oU(r[0].initializer):void 0,r?{commentOwner:n,parameters:r.parameters,hasReturn:iU(r,t)}:{commentOwner:n};case 300:return"quit";case 259:return 259===n.parent.kind?void 0:{commentOwner:n};case 236:return e(n.expression,t);case 219:return r=n,0===Cr.getAssignmentDeclarationKind(r)?"quit":Cr.isFunctionLike(r.right)?{commentOwner:n,parameters:r.right.parameters,hasReturn:iU(r.right,t)}:{commentOwner:n};case 165:if(r=n.initializer,r&&(Cr.isFunctionExpression(r)||Cr.isArrowFunction(r)))return{commentOwner:n,parameters:r.parameters,hasReturn:iU(r,t)}}}(e,s)}));if(i){var c,l,d;r=i.commentOwner,a=i.parameters,i=i.hasReturn;if(!(r.getStart(n)<t))return r=((e,n)=>{for(var t=e.text,r=e=Cr.getLineStartPositionForPosition(n,e);r<=n&&Cr.isWhiteSpaceSingleLine(t.charCodeAt(r));r++);return t.slice(e,r)})(n,t),n=Cr.hasJSFileExtension(n.fileName),(n=(a?(c=n,l=r,d=e,(a||[]).map((function(e,n){var t=e.name;t=79===t.kind?t.text:"param"+n;return l+" * @param "+(c?e.dotDotDotToken?"{...any} ":"{any} ":"")+t+d})).join("")):"")+(i?r+" * @returns"+e:""))?{newText:(a="/**"+e+r+" * ")+e+n+r+" */"+(o===t?e+r:""),caretOffset:a.length}:{newText:"/** */",caretOffset:3}}}}},((Rr=bY=bY||{}).NavigateTo||(Rr.NavigateTo={})).getNavigateToItems=function(e,n,t,r,a,i){var o=Rr.createPatternMatcher(r);if(!o)return Rr.emptyArray;for(var s=[],c=function(e){if(t.throwIfCancellationRequested(),i&&e.isDeclarationFile)return"continue";e.getNamedDeclarations().forEach((function(t,r){var a=o,i=r,c=(r=t,n),l=e.fileName,d=s,u=a.getMatchForLastSegmentOfPattern(i);if(u)for(var p=0,m=r;p<m.length;p++){var _,f=m[p];((e,n)=>{switch(e.kind){case 265:case 268:case 263:var t=n.getSymbolAtLocation(e.name),r=n.getAliasedSymbol(t);return t.escapedName!==r.escapedName;default:return 1}})(f,c)&&(a.patternContainsDots?(_=a.getFullMatch((e=>{var n=[],t=Rr.getNameOfDeclaration(e);if(t&&160===t.kind&&!sU(t.expression,n))return Rr.emptyArray;n.shift();for(var r=Rr.getContainerNode(e);r;){if(!((e,n)=>(e=Rr.getNameOfDeclaration(e))&&(cU(e,n)||160===e.kind&&sU(e.expression,n)))(r,n))return Rr.emptyArray;r=Rr.getContainerNode(r)}return n.reverse()})(f),i))&&d.push({name:i,fileName:l,matchKind:_.kind,isCaseSensitive:_.isCaseSensitive,declaration:f}):d.push({name:i,fileName:l,matchKind:u.kind,isCaseSensitive:u.isCaseSensitive,declaration:f}))}}))},l=0,d=e;l<d.length;l++)c(d[l]);return s.sort(lU),(void 0===a?s:s.slice(0,a)).map(dU)},Or=bY=bY||{},cm=Or.NavigationBar||(Or.NavigationBar={}),Gr=/\s+/g,Br=150,Ur=[],Vr=[],jr=[],cm.getNavigationBarItems=function(e,n){Pr=n,wr=e;try{return Or.map((t=fU(e),r=[],function e(n){if((e=>{if(e.children)return 1;switch(mU(e)){case 255:case 224:case 258:case 256:case 259:case 300:case 257:case 340:case 333:return 1;case 212:case 254:case 211:return(e=>{if(e.node.body)switch(mU(e.parent)){case 260:case 300:case 167:case 169:return 1;default:return}})(e);default:return}})(n)&&(r.push(n),n.children))for(var t=0,a=n.children;t<a.length;t++)e(a[t])}(t),r),MU)}finally{uU()}var t,r},cm.getNavigationTree=function(e,n){Pr=n,wr=e;try{return wU(fU(e))}finally{uU()}},Kr=cm={5:!0,3:!0,7:!0,9:!0,0:!1,1:!1,2:!1,8:!1,6:!0,4:!1},Hr=bY=bY||{},(sm=Hr.OrganizeImports||(Hr.OrganizeImports={})).organizeImports=function(e,n,t,r,a,i){function o(n){return Hr.stableSort(WU(((e,n,t,r)=>{if(r)return e;for(var a=t.getTypeChecker(),i=a.getJsxNamespace(n),o=a.getJsxFragmentFactory(n),s=!!(2&n.transformFlags),c=[],l=0,d=e;l<d.length;l++){var u,p,m=d[l],_=m.importClause,f=m.moduleSpecifier;_?(u=_.name,_=_.namedBindings,u&&!g(u)&&(u=void 0),_&&(Hr.isNamespaceImport(_)?g(_.name)||(_=void 0):(p=_.elements.filter((function(e){return g(e.name)}))).length<_.elements.length&&(_=p.length?Hr.factory.updateNamedImports(_,p):void 0)),u||_?c.push(JU(m,u,_)):((e,n)=>{var t=Hr.isStringLiteral(n)&&n.text;return Hr.isString(t)&&Hr.some(e.moduleAugmentations,(function(e){return Hr.isStringLiteral(e)&&e.text===t}))})(n,f)&&(n.isDeclarationFile?c.push(Hr.factory.createImportDeclaration(m.decorators,m.modifiers,void 0,f)):c.push(m))):c.push(m)}return c;function g(e){return s&&(e.text===i||o&&e.text===o)||Hr.FindAllReferences.Core.isSymbolReferencedInFile(e,a,n)}})(n,e,r,i)),$U)}var s=Hr.textChanges.ChangeTracker.fromContext({host:t,formatContext:n,preferences:a});u(e.statements.filter(Hr.isImportDeclaration),o),a=e.statements.filter(Hr.isExportDeclaration);u(a,zU);for(var c=0,l=e.statements.filter(Hr.isAmbientModule);c<l.length;c++){var d=l[c];d.body&&(u(d.body.statements.filter(Hr.isImportDeclaration),o),u(d.body.statements.filter(Hr.isExportDeclaration),zU))}return s.getChanges();function u(r,a){var i,o;0!==Hr.length(r)&&(Hr.suppressLeadingTrivia(r[0]),o=Hr.group(r,(function(e){return HU(e.moduleSpecifier)})),o=Hr.stableSort(o,(function(e,n){return YU(e[0].moduleSpecifier,n[0].moduleSpecifier)})),0===(o=Hr.flatMap(o,(function(e){return HU(e[0].moduleSpecifier)?a(e):e}))).length?s.deleteNodes(e,r,{trailingTriviaOption:Hr.textChanges.TrailingTriviaOption.Include},!0):(i={leadingTriviaOption:Hr.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:Hr.textChanges.TrailingTriviaOption.Include,suffix:Hr.getNewLineOrDefaultFromHost(t,n.options)},s.replaceNodeWithNodes(e,r[0],o,i),o=s.nodeHasTrailingComment(e,r[0],i),s.deleteNodes(e,r.slice(1),{trailingTriviaOption:Hr.textChanges.TrailingTriviaOption.Include},o)))}},sm.coalesceImports=WU,sm.coalesceExports=zU,sm.compareImportOrExportSpecifiers=XU,sm.compareModuleSpecifiers=YU,sm.importsAreSorted=function(e){return Hr.arrayIsSorted(e,$U)},sm.importSpecifiersAreSorted=function(e){return Hr.arrayIsSorted(e,XU)},sm.getImportDeclarationInsertionIndex=function(e,n){return(e=Hr.binarySearch(e,n,Hr.identity,$U))<0?~e:e},sm.getImportSpecifierInsertionIndex=function(e,n){return(e=Hr.binarySearch(e,n,Hr.identity,XU))<0?~e:e},sm.compareImportsOrRequireStatements=$U,((Wr=bY=bY||{}).OutliningElementsCollector||(Wr.OutliningElementsCollector={})).collectElements=function(e,n){for(var t=[],r=e,a=n,i=t,o=40,s=0,c=eu(eu([],r.statements,!0),[r.endOfFileToken],!1),l=c.length;s<l;){for(;s<l&&!Wr.isAnyImportSyntax(c[s]);)p(c[s]),s++;if(s===l)break;for(var d=s;s<l&&Wr.isAnyImportSyntax(c[s]);)rV(c[s],r,a,i),s++;var u=s-1;u!==d&&i.push(aV(Wr.findChildOfKind(c[d],100,r).getStart(r),c[u].getEnd(),"imports"))}function p(e){var n;0!==o&&(a.throwIfCancellationRequested(),(Wr.isDeclaration(e)||Wr.isVariableStatement(e)||Wr.isReturnStatement(e)||1===e.kind)&&rV(e,r,a,i),Wr.isFunctionLike(e)&&Wr.isBinaryExpression(e.parent)&&Wr.isPropertyAccessExpression(e.parent.left)&&rV(e.parent.left,r,a,i),(Wr.isBlock(e)||Wr.isModuleBlock(e))&&tV(e.statements.end,r,a,i),(Wr.isClassLike(e)||Wr.isInterfaceDeclaration(e))&&tV(e.members.end,r,a,i),(n=((e,n)=>{switch(e.kind){case 233:if(Wr.isFunctionLike(e.parent))return((e,n,t)=>{var r=((e,n,t)=>Wr.isNodeArrayMultiLine(e.parameters,t)&&(e=Wr.findChildOfKind(e,20,t),e)?e:Wr.findChildOfKind(n,18,t))(e,n,t);n=Wr.findChildOfKind(n,19,t);return r&&n&&iV(r,n,e,t,212!==e.kind)})(e.parent,e,n);switch(e.parent.kind){case 238:case 241:case 242:case 240:case 237:case 239:case 246:case 290:return a(e.parent);case 250:var t=e.parent;if(t.tryBlock===e)return a(e.parent);if(t.finallyBlock===e&&(t=Wr.findChildOfKind(t,96,n),t))return a(t);default:return oV(Wr.createTextSpanFromNode(e,n),"code")}case 260:return a(e.parent);case 255:case 224:case 256:case 258:case 261:case 180:case 199:return a(e);case 182:return a(e,!1,!Wr.isTupleTypeNode(e.parent),22);case 287:case 288:return(e=>e.length?oV(Wr.createTextSpanFromRange(e),"code"):void 0)(e.statements);case 203:return r(e);case 202:return r(e,22);case 276:return(e=>{var t=Wr.createTextSpanFromBounds(e.openingElement.getStart(n),e.closingElement.getEnd());e=e.openingElement.tagName.getText(n);return oV(t,"code",t,!1,"<"+e+">...</"+e+">")})(e);case 280:return(e=>oV(e=Wr.createTextSpanFromBounds(e.openingFragment.getStart(n),e.closingFragment.getEnd()),"code",e,!1,"<>...</>"))(e);case 277:case 278:return(e=>{if(0!==e.properties.length)return aV(e.getStart(n),e.getEnd(),"code")})(e.attributes);case 221:case 14:return(e=>{if(14!==e.kind||0!==e.text.length)return aV(e.getStart(n),e.getEnd(),"code")})(e);case 200:return a(e,!1,!Wr.isBindingElement(e.parent),22);case 212:return(e=>{if(!Wr.isBlock(e.body)&&!Wr.positionsAreOnSameLine(e.body.getFullStart(),e.body.getEnd(),n))return oV(Wr.createTextSpanFromBounds(e.body.getFullStart(),e.body.getEnd()),"code",Wr.createTextSpanFromNode(e))})(e);case 206:return(e=>{var t,r;if(e.arguments.length)return t=Wr.findChildOfKind(e,20,n),r=Wr.findChildOfKind(e,21,n),t&&r&&!Wr.positionsAreOnSameLine(t.pos,r.pos,n)?iV(t,r,e,n,!1,!0):void 0})(e)}function r(e,n){return void 0===n&&(n=18),a(e,!1,!Wr.isArrayLiteralExpression(e.parent)&&!Wr.isCallExpression(e.parent),n)}function a(t,r,a,i,o){return void 0===r&&(r=!1),void 0===a&&(a=!0),void 0===i&&(i=18),void 0===o&&(o=18===i?19:23),i=Wr.findChildOfKind(e,i,n),o=Wr.findChildOfKind(e,o,n),i&&o&&iV(i,o,t,n,r,a)}})(e,r))&&i.push(n),o--,Wr.isCallExpression(e)?(o++,p(e.expression),o--,e.arguments.forEach(p),null!=(n=e.typeArguments)&&n.forEach(p)):Wr.isIfStatement(e)&&e.elseStatement&&Wr.isIfStatement(e.elseStatement)?(p(e.expression),p(e.thenStatement),o++,p(e.elseStatement),o--):e.forEachChild(p),o++)}for(var m=e,_=t,f=[],g=(n=m.getLineStarts(),0),y=n;g<y.length;g++){var h,v=y[g],b=m.getLineEndOfPosition(v),E=nV(m.text.substring(v,b));E&&!Wr.isInComment(m,v)&&(E[1]?(h=f.pop())&&(h.textSpan.length=b-h.textSpan.start,h.hintSpan.length=b-h.textSpan.start,_.push(h)):(h=Wr.createTextSpanFromBounds(m.text.indexOf("//",v),b),f.push(oV(h,"region",h,!1,E[2]||"#region"))))}return t.sort((function(e,n){return e.textSpan.start-n.textSpan.start}))},zr=/^#(end)?region(?:\s+(.*))?(?:\r)?$/,Jr=bY=bY||{},(OY=qr=Jr.PatternMatchKind||(Jr.PatternMatchKind={}))[OY.exact=0]="exact",OY[OY.prefix=1]="prefix",OY[OY.substring=2]="substring",OY[OY.camelCase=3]="camelCase",Jr.createPatternMatcher=function(e){var n=new Jr.Map,t=e.trim().split(".").map((function(e){return{totalTextChunk:vV(e=e.trim()),subWordTextChunks:(e=>{for(var n=[],t=0,r=0,a=0;a<e.length;a++)(e=>fV(e)||gV(e)||hV(e)||95===e||36===e)(e.charCodeAt(a))?(0===r&&(t=a),r++):0<r&&(n.push(vV(e.substr(t,r))),r=0);return 0<r&&n.push(vV(e.substr(t,r))),n})(e)}}));if(!t.some((function(e){return!e.subWordTextChunks.length})))return{getFullMatch:function(e,r){var a,i=e,o=(e=r,t),s=n;if(dV(e,Jr.last(o),s)&&!(o.length-1>i.length)){for(var c=o.length-2,l=i.length-1;0<=c;--c,--l)a=uV(a,dV(i[l],o[c],s));return a}},getMatchForLastSegmentOfPattern:function(e){return dV(e,Jr.last(t),n)},patternContainsDots:1<t.length}},Jr.breakIntoCharacterSpans=bV,Jr.breakIntoWordSpans=EV,(Xr=bY=bY||{}).preProcessFile=function(e,n,t){void 0===t&&(t=!1);var r,a,i,o={languageVersion:1,pragmas:void 0,checkJsDirective:void 0,referencedFiles:[],typeReferenceDirectives:[],libReferenceDirectives:[],amdDependencies:[],hasNoDefaultLib:void 0,moduleName:void 0},s=[],c=0,l=!1;function d(){return a=i,18===(i=Xr.scanner.scan())?c++:19===i&&c--,i}function u(){var e=Xr.scanner.getTokenValue(),n=Xr.scanner.getTokenPos();return{fileName:e,pos:n,end:n+e.length}}function p(){s.push(u()),m()}function m(){0===c&&(l=!0)}function _(){return 134===Xr.scanner.getToken()&&(140===d()&&10===d()&&(r=r||[]).push({ref:u(),depth:c}),1)}function f(e,n){return void 0===n&&(n=!1),144===(e?d():Xr.scanner.getToken())&&(20===d()&&(10===(e=d())||n&&14===e)&&p(),1)}function g(){for(Xr.scanner.setText(e),d();;){if(1===Xr.scanner.getToken())break;_()||(()=>{if(24!==a){var e=Xr.scanner.getToken();if(100===e){if(20===(e=d()))10!==(e=d())&&14!==e||p();else{if(10===e)return p(),1;if(79===(e=150===e&&Xr.scanner.lookAhead((function(){var e=Xr.scanner.scan();return 154!==e&&(41===e||18===e||79===e||Xr.isKeyword(e))}))?d():e)||Xr.isKeyword(e))if(154===(e=d())){if(10===(e=d()))return p(),1}else if(63===e){if(f(!0))return 1}else{if(27!==e)return 1;e=d()}if(18===e){for(e=d();19!==e&&1!==e;)e=d();19===e&&154===(e=d())&&10===(e=d())&&p()}else 41!==e||127!==(e=d())||79!==(e=d())&&!Xr.isKeyword(e)||154!==(e=d())||10!==(e=d())||p()}return 1}}})()||(()=>{if(93===(e=Xr.scanner.getToken())){if(m(),18===(e=150===(e=d())&&Xr.scanner.lookAhead((function(){var e=Xr.scanner.scan();return 41===e||18===e}))?d():e)){for(e=d();19!==e&&1!==e;)e=d();19===e&&154===(e=d())&&10===(e=d())&&p()}else if(41===e)154===(e=d())&&10===(e=d())&&p();else if(100===e){var e=d();(79===(e=150===e&&Xr.scanner.lookAhead((function(){var e=Xr.scanner.scan();return 79===e||Xr.isKeyword(e)}))?d():e)||Xr.isKeyword(e))&&63===(e=d())&&f(!0)}return 1}})()||t&&(f(!1,!0)||(()=>{var e=Xr.scanner.getToken();if(79===e&&"define"===Xr.scanner.getTokenValue()){if(20===(e=d())){if(10===(e=d())||14===e){if(27!==(e=d()))return 1;e=d()}if(22===e)for(e=d();23!==e&&1!==e;)10!==e&&14!==e||p(),e=d()}return 1}})())||d()}Xr.scanner.setText(void 0)}if((n=void 0===n||n)&&g(),Xr.processCommentPragmas(o,e),Xr.processPragmasIntoFields(o,Xr.noop),l){if(r)for(var y=0,h=r;y<h.length;y++){var v=h[y];s.push(v.ref)}return{referencedFiles:o.referencedFiles,typeReferenceDirectives:o.typeReferenceDirectives,libReferenceDirectives:o.libReferenceDirectives,importedFiles:s,isLibFile:!!o.hasNoDefaultLib,ambientExternalModules:void 0}}var b=void 0;if(r)for(var E=0,T=r;E<T.length;E++)0===(v=T[E]).depth?(b=b||[]).push(v.ref.fileName):s.push(v.ref);return{referencedFiles:o.referencedFiles,typeReferenceDirectives:o.typeReferenceDirectives,libReferenceDirectives:o.libReferenceDirectives,importedFiles:s,isLibFile:!!o.hasNoDefaultLib,ambientExternalModules:b}},((Yr=bY=bY||{}).Rename||(Yr.Rename={})).getRenameInfo=function(e,n,t,r){return(e=>{switch(e.kind){case 79:case 80:case 10:case 14:case 108:return 1;case 8:return Yr.isLiteralNameOfPropertyDeclarationOrIndexAccess(e);default:return}})(t=Yr.getAdjustedRenameLocation(Yr.getTouchingPropertyName(n,t)))&&(t=((e,n,t,r,a)=>{var i,o,s=n.getSymbolAtLocation(e);if(s){if((l=s.declarations)&&0!==l.length){if(l.some((function(e){var n=r;return e=e.getSourceFile(),n.isSourceFileDefaultLibrary(e)&&Yr.fileExtensionIs(e.fileName,".d.ts")})))return CV(Yr.Diagnostics.You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library);if(Yr.isIdentifier(e)&&88===e.originalKeywordKind&&s.parent&&1536&s.parent.flags)return;if(Yr.isStringLiteralLike(e)&&Yr.tryGetImportFromModuleSpecifier(e)){if(a&&a.allowRenameOfImportPath){l=e;a=t;var c=s;return Yr.isExternalModuleNameRelative(l.text)?(c=c.declarations&&Yr.find(c.declarations,Yr.isSourceFile))?(i=Yr.endsWith(l.text,"/index")||Yr.endsWith(l.text,"/index.js")?void 0:Yr.tryRemoveSuffix(Yr.removeFileExtension(c.fileName),"/index"),c=void 0===i?c.fileName:i,i=void 0===i?"module":"directory",o=l.text.lastIndexOf("/")+1,a=Yr.createTextSpan(l.getStart(a)+1+o,l.text.length-o),{canRename:!0,fileToRename:c,kind:i,displayName:c,fullDisplayName:c,kindModifiers:"",triggerSpan:a}):void 0:CV(Yr.Diagnostics.You_cannot_rename_a_module_via_a_global_import)}return}return o=Yr.SymbolDisplay.getSymbolKind(n,s,e),i=Yr.isImportOrExportSpecifierName(e)||Yr.isStringOrNumericLiteralLike(e)&&160===e.parent.kind?Yr.stripQuotes(Yr.getTextOfIdentifierOrLiteral(e)):void 0,c=i||n.symbolToString(s),a=i||n.getFullyQualifiedName(s),AV(c,a,o,Yr.SymbolDisplay.getSymbolModifiers(n,s),e,t)}}else if(Yr.isStringLiteralLike(e)){var l=Yr.getContextualTypeOrAncestorTypeNodeType(e,n);if(l&&(128&l.flags||1048576&l.flags&&Yr.every(l.types,(function(e){return!!(128&e.flags)}))))return AV(e.text,e.text,"string","",e,t)}else if(Yr.isLabelName(e))return AV(l=Yr.getTextOfNode(e),l,"label","",e,t)})(t,e.getTypeChecker(),n,e,r),t)?t:CV(Yr.Diagnostics.You_cannot_rename_this_element)},((Qr=bY=bY||{}).SmartSelectionRange||(Qr.SmartSelectionRange={})).getSmartSelectionRange=function(e,n){var t={textSpan:Qr.createTextSpanFromBounds(n.getFullStart(),n.getEnd())},r=n;e:for(;;){var a=(e=>{var n,t,r,a,i;return Qr.isSourceFile(e)?IV(e.getChildAt(0).getChildren(),Zr):Qr.isMappedTypeNode(e)?(a=e.getChildren(),n=a[0],a=a.slice(1),t=Qr.Debug.checkDefined(a.pop()),Qr.Debug.assertEqual(n.kind,18),Qr.Debug.assertEqual(t.kind,19),r=IV(a,(function(n){return n===e.readonlyToken||143===n.kind||n===e.questionToken||57===n.kind})),r=IV(r,(function(e){return e=e.kind,22===e||161===e||23===e})),[n,kV(NV(r,(function(e){return 58===e.kind}))),t]):Qr.isPropertySignature(e)?NV(a=IV(e.getChildren(),(function(n){return n===e.name||Qr.contains(e.modifiers,n)})),(function(e){return 58===e.kind})):Qr.isParameter(e)?(i=IV(e.getChildren(),(function(n){return n===e.dotDotDotToken||n===e.name})),NV(IV(i,(function(n){return n===i[0]||n===e.questionToken})),(function(e){return 63===e.kind}))):Qr.isBindingElement(e)?NV(e.getChildren(),(function(e){return 63===e.kind})):e.getChildren()})(r);if(!a.length)break;for(var i=0;i<a.length;i++){var o=a[i-1],s=a[i],c=a[i+1];if(Qr.getTokenPosOfNode(s,n,!0)>e)break e;var l=Qr.singleOrUndefined(Qr.getTrailingCommentRanges(n.text,s.end));if(l&&2===l.kind){p=u=d=void 0;var d=l.pos,u=l.end;m(d,u);for(var p=d;47===n.text.charCodeAt(p);)p++;m(p,u)}if(((e,n,t)=>(Qr.Debug.assert(t.pos<=n),n<t.end||t.getEnd()===n&&Qr.getTouchingPropertyName(e,n).pos<t.end))(n,e,s)){if(Qr.isBlock(s)||Qr.isTemplateSpan(s)||Qr.isTemplateHead(s)||Qr.isTemplateTail(s)||o&&Qr.isTemplateHead(o)||Qr.isVariableDeclarationList(s)&&Qr.isVariableStatement(r)||Qr.isSyntaxList(s)&&Qr.isVariableDeclarationList(r)||Qr.isVariableDeclaration(s)&&Qr.isSyntaxList(r)&&1===a.length||Qr.isJSDocTypeExpression(s)||Qr.isJSDocSignature(s)||Qr.isJSDocTypeLiteral(s)){r=s;break}Qr.isTemplateSpan(r)&&c&&Qr.isTemplateMiddleOrTemplateTail(c)&&m(s.getFullStart()-"${".length,c.getStart()+"}".length),l=Qr.isSyntaxList(s)&&(e=>18===(e=e&&e.kind)||22===e||20===e||278===e)(o)&&(e=>19===(e=e&&e.kind)||23===e||21===e||279===e)(c)&&!Qr.positionsAreOnSameLine(o.getStart(),c.getStart(),n),d=l?o.getEnd():s.getStart(),u=l?c.getStart():((e,n)=>{switch(n.kind){case 335:case 333:case 342:case 340:case 337:return e.getLineEndOfPosition(n.getStart());default:return n.getEnd()}})(n,s),Qr.hasJSDocNodes(s)&&null!=(o=s.jsDoc)&&o.length&&m(Qr.first(s.jsDoc).getStart(),u),m(d,u),(Qr.isStringLiteral(s)||Qr.isTemplateLiteral(s))&&m(d+1,u-1),r=s;break}if(i===a.length-1)break e}}return t;function m(n,r){n!==r&&(n=Qr.createTextSpanFromBounds(n,r),t&&(Qr.textSpansEqual(n,t.textSpan)||!Qr.textSpanIntersectsWithPosition(n,e))||(t=nu({textSpan:n},t&&{parent:t})))}},Zr=Qr.or(Qr.isImportDeclaration,Qr.isImportEqualsDeclaration),$r=bY=bY||{},(tu=$r.SignatureHelp||($r.SignatureHelp={})).getSignatureHelpItems=function(e,n,t,r,a){var i=e.getTypeChecker(),o=$r.findTokenOnLeftOfPosition(n,t);if(o){var s=!!r&&"characterTyped"===r.kind;if(!s||!$r.isInString(n,t,o)&&!$r.isInComment(n,t)){r=!!r&&"invoked"===r.kind;var c,l,d,u,p,m=((e,n,t,r,a)=>{for(var i=function(e){$r.Debug.assert($r.rangeContainsRange(e.parent,e),"Not a subspan",(function(){return"Child: "+$r.Debug.formatSyntaxKind(e.kind)+", parent: "+$r.Debug.formatSyntaxKind(e.parent.kind)})),a=n;var a,i,o=((e,n,t)=>{var r,a,i;if(n=((e,n,t)=>{if(20===e.kind||27===e.kind){var r=e.parent;switch(r.kind){case 210:case 167:case 211:case 212:var a=OV(e,n);return a?(o=a.argumentIndex,s=a.argumentCount,a=a.argumentsSpan,(i=$r.isMethodDeclaration(r)?t.getContextualTypeForObjectLiteralElement(r):t.getContextualType(r))&&{contextualType:i,argumentIndex:o,argumentCount:s,argumentsSpan:a}):void 0;case 219:var i=function e(n){return $r.isBinaryExpression(n.parent)?e(n.parent):n}(r),o=t.getContextualType(i),s=20===e.kind?0:wV(r)-1;a=wV(i);return o&&{contextualType:o,argumentIndex:s,argumentCount:a,argumentsSpan:$r.createTextSpanFromNode(r)};default:return}}})(e,n,t))return t=n.contextualType,r=n.argumentIndex,a=n.argumentCount,n=n.argumentsSpan,t=t.getNonNullableType(),1!==(i=t.getCallSignatures()).length?void 0:{isTypeParameterList:!1,invocation:{kind:2,signature:$r.first(i),node:e,symbol:(e=>"__type"===e.name&&$r.firstDefined(e.declarations,(function(e){return $r.isFunctionTypeNode(e)?e.parent.symbol:void 0}))||e)(t.symbol)},argumentsSpan:n,argumentIndex:r,argumentCount:a}})(o=e,i=t,r)||PV(o,a,i);if(o)return{value:o}},o=e;!$r.isSourceFile(o)&&(a||!$r.isBlock(o));o=o.parent){var s=i(o);if("object"==typeof s)return s.value}})(o,t,n,i,r);if(m)return a.throwIfCancellationRequested(),c=((e,n,t,r,a)=>{var i=e.invocation,o=e.argumentCount;switch(i.kind){case 0:return a&&!((e,n,t)=>{if($r.isCallOrNewExpression(n)){var r=n.getChildren(t);switch(e.kind){case 20:return $r.contains(r,e);case 27:var a=$r.findContainingList(e);return a&&$r.contains(r,a);case 29:return RV(e,t,n.expression);default:return}}})(r,i.node,t)?void 0:(s=[],c=n.getResolvedSignatureForSignatureHelp(i.node,s,o),0===s.length?void 0:{kind:0,candidates:s,resolvedSignature:c});case 1:var s,c=i.called;return a&&!RV(r,t,$r.isIdentifier(c)?c.parent:c)?void 0:0!==(s=$r.getPossibleGenericSignatures(c,o,n)).length?{kind:0,candidates:s,resolvedSignature:$r.first(s)}:(s=n.getSymbolAtLocation(c))&&{kind:1,symbol:s};case 2:return{kind:0,candidates:[i.signature],resolvedSignature:i.signature};default:return $r.Debug.assertNever(i)}})(m,i,n,o,s),a.throwIfCancellationRequested(),c?i.runWithCancellationToken(a,(function(e){var t,r,a,i,o,s,l;return 0===c.kind?BV(c.candidates,c.resolvedSignature,m,n,e):(t=c.symbol,r=n,e=e,a=(s=m).argumentCount,i=m.argumentsSpan,o=m.invocation,s=m.argumentIndex,(l=e.getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(t))?{items:[((e,n,t,r,a)=>{var i=$r.symbolToDisplayParts(t,e),o=$r.createPrinter({removeComments:!0}),s=(n=n.map((function(e){return UV(e,t,r,a,o)})),e.getDocumentationComment(t));e=e.getJsDocTags(t);return{isVariadic:!1,prefixDisplayParts:eu(eu([],i,!0),[$r.punctuationPart(29)],!1),suffixDisplayParts:[$r.punctuationPart(31)],separatorDisplayParts:na,parameters:n,documentation:s,tags:e}})(t,l,e,GV(o),r)],applicableSpan:i,selectedItemIndex:0,argumentIndex:s,argumentCount:a}:void 0)})):$r.isSourceFileJS(n)&&(t=e,d=a,2!==(l=m).invocation.kind)&&(r=FV(l.invocation),u=$r.isPropertyAccessExpression(r)?r.name.text:void 0,p=t.getTypeChecker(),void 0!==u)?$r.firstDefined(t.getSourceFiles(),(function(e){return $r.firstDefined(e.getNamedDeclarations().get(u),(function(n){n=n.symbol&&p.getTypeOfSymbolAtLocation(n.symbol,n);var t=n&&n.getCallSignatures();if(t&&t.length)return p.runWithCancellationToken(d,(function(n){return BV(t,t[0],l,e,n,!0)}))}))})):void 0}}},tu.getArgumentInfoForCompletions=function(e,n,t){return!(e=PV(e,n,t))||e.isTypeParameterList||0!==e.invocation.kind?void 0:{invocation:e.invocation.node,argumentCount:e.argumentCount,argumentIndex:e.argumentIndex}},ea=70246400,na=[$r.punctuationPart(27),$r.spacePart()],((ta=bY=bY||{}).InlayHints||(ta.InlayHints={})).provideInlayHints=function(e){var n=e.file,t=e.program,r=e.span,a=e.cancellationToken,i=e.preferences,o=n.text,s=t.getCompilerOptions(),c=t.getTypeChecker(),l=[];return function e(n){if(n&&0!==n.getFullWidth()){switch(n.kind){case 259:case 255:case 256:case 254:case 224:case 211:case 167:case 212:a.throwIfCancellationRequested()}if(ta.textSpanIntersectsWith(r,n.pos,n.getFullWidth())&&!ta.isTypeNode(n))return i.includeInlayVariableTypeHints&&ta.isVariableDeclaration(n)||i.includeInlayPropertyDeclarationTypeHints&&ta.isPropertyDeclaration(n)?_(n):i.includeInlayEnumMemberValueHints&&ta.isEnumMember(n)?p(n):VV(i)&&(ta.isCallExpression(n)||ta.isNewExpression(n))?f(n):(i.includeInlayFunctionParameterTypeHints&&ta.isFunctionLikeDeclaration(n)&&ta.hasContextSensitiveParameters(n)&&y(n),i.includeInlayFunctionLikeReturnTypeHints&&d(n)&&g(n)),ta.forEachChild(n,e)}}(n),l;function d(e){return ta.isArrowFunction(e)||ta.isFunctionExpression(e)||ta.isFunctionDeclaration(e)||ta.isMethodDeclaration(e)||ta.isGetAccessorDeclaration(e)}function u(e,n){l.push({text:": "+h(e,30),position:n,kind:"Type",whitespaceBefore:!0})}function p(e){var n;e.initializer||void 0!==(n=c.getConstantValue(e))&&(n=n.toString(),e=e.end,l.push({text:"= "+h(n,30),position:e,kind:"Enum",whitespaceBefore:!0}))}function m(e){return e.symbol&&1536&e.symbol.flags}function _(e){var n;!e.initializer||ta.isBindingPattern(e.name)||ta.getEffectiveTypeAnnotationNode(e)||m(n=c.getTypeAtLocation(e))||(n=v(n))&&u(n,e.name.end)}function f(e){var t=e.arguments;if(t&&t.length){var r=[],a=c.getResolvedSignatureForSignatureHelp(e,r);if(a&&r.length)for(var d=0;d<t.length;++d){var u,p,m=t[d],_=ta.skipParentheses(m);"literals"===i.includeInlayParameterNameHints&&!(e=>{switch(e.kind){case 217:var n=e.operand;return ta.isLiteralExpression(n)||ta.isIdentifier(n)&&ta.isInfinityOrNaNString(n.escapedText);case 110:case 95:case 104:return 1;case 79:return n=e.escapedText,"undefined"===n||ta.isInfinityOrNaNString(n)}return ta.isLiteralExpression(e)})(_)||!(p=c.getParameterIdentifierNameAtPosition(a,d))||(u=p[0],p=p[1],!i.includeInlayParameterNameHintsWhenArgumentMatchesName&&((e,n)=>ta.isIdentifier(e)?e.text===n:ta.isPropertyAccessExpression(e)&&e.name.text===n)(_,u)&&!p)||((e,t)=>{var r;return ta.isIdentifierText(t,s.target,ta.getLanguageVariant(n.scriptKind))&&!(null==(e=ta.getLeadingCommentRanges(o,e.pos))||!e.length)&&(r=(e=>new RegExp("^\\s?/\\*\\*?\\s?"+e+"\\s?\\*\\/\\s?$"))(t),ta.some(e,(function(e){return r.test(o.substring(e.pos,e.end))})))})(_,_=ta.unescapeLeadingUnderscores(u))||(u=_,_=m.getStart(),l.push({text:(p?"...":"")+h(u,30)+":",position:_,kind:"Parameter",whitespaceAfter:!0}))}}}function g(e){var t;ta.isArrowFunction(e)&&!ta.findChildOfKind(e,20,n)||!ta.getEffectiveReturnTypeNode(e)&&e.body&&(t=c.getSignatureFromDeclaration(e))&&!m(t=c.getReturnTypeOfSignature(t))&&(t=v(t))&&u(t,(e=>{var t=ta.findChildOfKind(e,21,n);return(t||e.parameters).end})(e))}function y(e){var n=c.getSignatureFromDeclaration(e);if(n)for(var t=0;t<e.parameters.length&&t<n.parameters.length;++t){var r,a=e.parameters[t];ta.getEffectiveTypeAnnotationNode(a)||(r=(e=>{var n=e.valueDeclaration;if(n&&ta.isParameter(n)&&!m(e=c.getTypeOfSymbolAtLocation(e,n)))return v(e)})(n.parameters[t]))&&u(r,a.end)}}function h(e,n){return e.length>n?e.substr(0,n-"...".length)+"...":e}function v(e){var t=ta.createPrinter({removeComments:!0});return ta.usingSingleLineStringWriter((function(r){var a=c.typeToTypeNode(e,void 0,71286784,r);ta.Debug.assertIsDefined(a,"should always get typenode"),t.writeNode(4,a,n,r)}))}},ra=bY=bY||{},aa=/^data:(?:application\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+\/=]+)$)?/,ra.getSourceMapper=function(e){var n=ra.createGetCanonicalFileName(e.useCaseSensitiveFileNames()),t=e.getCurrentDirectory(),r=new ra.Map,a=new ra.Map;return{tryGetSourcePosition:function e(n){if(ra.isDeclarationFileName(n.fileName)){var t=s(n.fileName);if(t)return t=o(n.fileName).getSourcePosition(n),t&&t!==n?e(t)||t:void 0}},tryGetGeneratedPosition:function(r){if(!ra.isDeclarationFileName(r.fileName)){var a=s(r.fileName);if(a){var i=e.getProgram();if(!i.isSourceOfProjectReferenceRedirect(a.fileName))return a=i.getCompilerOptions(),a=ra.outFile(a),a=a?ra.removeFileExtension(a)+".d.ts":ra.getDeclarationEmitOutputFilePathWorker(r.fileName,i.getCompilerOptions(),t,i.getCommonSourceDirectory(),n),void 0===a||(i=o(a,r.fileName).getGeneratedPosition(r))===r?void 0:i}}},toLineColumnOffset:function(e,n){return l(e).getLineAndCharacterOfPosition(n)},clearCache:function(){r.clear(),a.clear()}};function i(e){return ra.toPath(e,t,n)}function o(t,r){var o,s=i(t),c=a.get(s);return c||(e.getDocumentPositionMapper?o=e.getDocumentPositionMapper(t,r):e.readFile&&(o=(c=l(t))&&ra.getDocumentPositionMapper({getSourceFileLike:l,getCanonicalFileName:n,log:function(n){return e.log(n)}},t,ra.getLineInfo(c.text,ra.getLineStarts(c)),(function(n){return!e.fileExists||e.fileExists(n)?e.readFile(n):void 0}))),a.set(s,o||ra.identitySourceMapConsumer),o)||ra.identitySourceMapConsumer}function s(n){var t=e.getProgram();if(t)return n=i(n),(t=t.getSourceFileByPath(n))&&t.resolvedPath===n?t:void 0}function c(n){n=i(n);var t,a=r.get(n);return void 0!==a?a||void 0:!e.readFile||e.fileExists&&!e.fileExists(n)?void r.set(n,!1):(a=e.readFile(n),r.set(n,n=!!a&&{text:a,lineMap:t,getLineAndCharacterOfPosition:function(e){return ra.computeLineAndCharacterOfPosition(ra.getLineStarts(this),e)}}),n||void 0)}function l(n){return e.getSourceFileLike?e.getSourceFileLike(n):s(n)||c(n)}},ra.getDocumentPositionMapper=function(e,n,t,r){if(t=ra.tryGetSourceMappingURL(t)){var a=aa.exec(t);if(a){if(a[1])return a=a[1],jV(e,ra.base64decode(ra.sys,a),n);t=void 0}}a=[];for(var i=(t&&a.push(t),a.push(n+".map"),t&&ra.getNormalizedAbsolutePath(t,ra.getDirectoryPath(n))),o=0,s=a;o<s.length;o++){var c=ra.getNormalizedAbsolutePath(s[o],ra.getDirectoryPath(n)),l=r(c,i);if(ra.isString(l))return jV(e,l,c);if(void 0!==l)return l||void 0}},ia=bY=bY||{},oa=new ia.Map,ia.computeSuggestionDiagnostics=function(e,n,t){n.getSemanticDiagnostics(e,t);var r,a=[],i=n.getTypeChecker(),o=(e.commonJsModuleIndicator&&(ia.programContainsEs6Modules(n)||ia.compilerOptionsIndicateEs6Modules(n.getCompilerOptions()))&&e.statements.some((function(e){switch(e.kind){case 235:return e.declarationList.declarations.some((function(e){return!!e.initializer&&ia.isRequireCall(function e(n){return ia.isPropertyAccessExpression(n)?e(n.expression):n}(e.initializer),!0)}));case 236:var n,t=e.expression;return ia.isBinaryExpression(t)?1===(n=ia.getAssignmentDeclarationKind(t))||2===n:ia.isRequireCall(t,!0);default:return!1}}))&&a.push(ia.createDiagnosticForNode((r=e.commonJsModuleIndicator,ia.isBinaryExpression(r)?r.left:r),ia.Diagnostics.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module)),ia.isSourceFileJS(e));if(oa.clear(),function n(t){var r;o?YV(t,i)&&a.push(ia.createDiagnosticForNode(ia.isVariableDeclaration(t.parent)?t.parent.name:t,ia.Diagnostics.This_constructor_function_may_be_converted_to_a_class_declaration)):(ia.isVariableStatement(t)&&t.parent===e&&2&t.declarationList.flags&&1===t.declarationList.declarations.length&&(r=t.declarationList.declarations[0].initializer)&&ia.isRequireCall(r,!0)&&a.push(ia.createDiagnosticForNode(r,ia.Diagnostics.require_call_may_be_converted_to_an_import)),ia.codefix.parameterShouldGetTypeFromJSDoc(t)&&a.push(ia.createDiagnosticForNode(t.name||t,ia.Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types))),QV(t)&&KV(t,i,a),t.forEachChild(n)}(e),ia.getAllowSyntheticDefaultImports(n.getCompilerOptions()))for(var s=0,c=e.imports;s<c.length;s++){var l=c[s],d=(e=>{switch(e.kind){case 264:var n=e.importClause,t=e.moduleSpecifier;return n&&!n.name&&n.namedBindings&&266===n.namedBindings.kind&&ia.isStringLiteral(t)?n.namedBindings.name:void 0;case 263:return e.name;default:return}})(ia.importFromModuleSpecifier(l));d&&(l=(l=ia.getResolvedModule(e,l.text))&&n.getSourceFile(l.resolvedFileName))&&l.externalModuleIndicator&&ia.isExportAssignment(l.externalModuleIndicator)&&l.externalModuleIndicator.isExportEquals&&a.push(ia.createDiagnosticForNode(d,ia.Diagnostics.Import_may_be_converted_to_a_default_import))}return ia.addRange(a,e.bindSuggestionDiagnostics),ia.addRange(a,n.getSuggestionDiagnostics(e,t)),a.sort((function(e,n){return e.start-n.start}))},ia.returnsPromise=HV,ia.isReturnStatementWithFixablePromiseHandler=WV,ia.isFixablePromiseHandler=zV,ia.canBeConvertedToAsync=QV,sa=bY=bY||{},(cm=sa.SymbolDisplay||(sa.SymbolDisplay={})).getSymbolKind=ZV,cm.getSymbolModifiers=function(e,n){var t;return n&&(t=new sa.Set(ej(n)),2097152&n.flags&&(e=e.getAliasedSymbol(n))!==n&&sa.forEach(ej(e),(function(e){t.add(e)})),16777216&n.flags&&t.add("optional"),0<t.size)?sa.arrayFrom(t.values()).join(","):""},cm.getSymbolDisplayPartsDocumentationAndSymbolKind=function e(n,t,r,a,i,o,s){void 0===o&&(o=sa.getMeaningFromLocation(i));var c,l,d,u,p=[],m=[],_=[],f=sa.getCombinedLocalAndExportSymbolFlags(t),g=1&o?$V(n,t,i):"",y=!1,h=108===i.kind&&sa.isInExpressionContext(i),v=!1;if(108===i.kind&&!h)return{displayParts:[sa.keywordPart(108)],documentation:[],symbolKind:"primitive type",tags:void 0};if(""!==g||32&f||2097152&f){"getter"!==g&&"setter"!==g||(g="property");var b,E=void 0,T=h?n.getTypeAtLocation(i):n.getTypeOfSymbolAtLocation(t,i),S=void(i.parent&&204===i.parent.kind&&((S=i.parent.name)===i||S&&0===S.getFullWidth())&&(i=i.parent));if(sa.isCallOrNewExpression(i)?S=i:(sa.isCallExpressionTarget(i)||sa.isNewExpressionTarget(i)||i.parent&&(sa.isJsxOpeningLikeElement(i.parent)||sa.isTaggedTemplateExpression(i.parent))&&sa.isFunctionLike(t.valueDeclaration))&&(S=i.parent),S){E=n.getResolvedSignature(S);var x=207===S.kind||sa.isCallExpression(S)&&106===S.expression.kind,L=x?T.getConstructSignatures():T.getCallSignatures();if(E=!E||sa.contains(L,E.target)||sa.contains(L,E)?E:L.length?L[0]:void 0){switch(x&&32&f?w(T.symbol,g="constructor"):2097152&f?(M(g="alias"),p.push(sa.spacePart()),x&&(4&E.flags&&(p.push(sa.keywordPart(126)),p.push(sa.spacePart())),p.push(sa.keywordPart(103)),p.push(sa.spacePart())),P(t)):w(t,g),g){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":p.push(sa.punctuationPart(58)),p.push(sa.spacePart()),16&sa.getObjectFlags(T)||!T.symbol||(sa.addRange(p,sa.symbolToDisplayParts(n,T.symbol,a,void 0,5)),p.push(sa.lineBreakPart())),x&&(4&E.flags&&(p.push(sa.keywordPart(126)),p.push(sa.spacePart())),p.push(sa.keywordPart(103)),p.push(sa.spacePart())),F(E,L,262144);break;default:F(E,L)}y=!0,v=1<L.length}}else(sa.isNameOfFunctionDeclaration(i)&&!(98304&f)||133===i.kind&&169===i.parent.kind)&&(b=i.parent,t.declarations)&&sa.find(t.declarations,(function(e){return e===(133===i.kind?b.parent:b)}))&&(L=169===b.kind?T.getNonNullableType().getConstructSignatures():T.getNonNullableType().getCallSignatures(),E=n.isImplementationOfOverload(b)?L[0]:n.getSignatureFromDeclaration(b),169===b.kind?w(T.symbol,g="constructor"):w(172!==b.kind||2048&T.symbol.flags||4096&T.symbol.flags?t:T.symbol,g),E&&F(E,L),y=!0,v=1<L.length)}if(32&f&&!y&&!h&&(R(),sa.getDeclarationOfKind(t,224)?M("local class"):p.push(sa.keywordPart(84)),p.push(sa.spacePart()),P(t),G(t,r)),64&f&&2&o&&(k(),p.push(sa.keywordPart(118)),p.push(sa.spacePart()),P(t),G(t,r)),524288&f&&2&o&&(k(),p.push(sa.keywordPart(150)),p.push(sa.spacePart()),P(t),G(t,r),p.push(sa.spacePart()),p.push(sa.operatorPart(63)),p.push(sa.spacePart()),sa.addRange(p,sa.typeToDisplayParts(n,n.getDeclaredTypeOfSymbol(t),a,8388608))),384&f&&(k(),sa.some(t.declarations,(function(e){return sa.isEnumDeclaration(e)&&sa.isEnumConst(e)}))&&(p.push(sa.keywordPart(85)),p.push(sa.spacePart())),p.push(sa.keywordPart(92)),p.push(sa.spacePart()),P(t)),1536&f&&!h&&(k(),S=(D=sa.getDeclarationOfKind(t,259))&&D.name&&79===D.name.kind,p.push(sa.keywordPart(S?141:140)),p.push(sa.spacePart()),P(t)),262144&f&&2&o)if(k(),p.push(sa.punctuationPart(20)),p.push(sa.textPart("type parameter")),p.push(sa.punctuationPart(21)),p.push(sa.spacePart()),P(t),t.parent)O(),P(t.parent,a),G(t.parent,a);else{if(void 0===(S=sa.getDeclarationOfKind(t,161)))return sa.Debug.fail();(D=S.parent)&&(sa.isFunctionLikeKind(D.kind)?(O(),E=n.getSignatureFromDeclaration(D),173===D.kind?(p.push(sa.keywordPart(103)),p.push(sa.spacePart())):172!==D.kind&&D.name&&P(D.symbol),sa.addRange(p,sa.signatureToDisplayParts(n,E,r,32))):257===D.kind&&(O(),p.push(sa.keywordPart(150)),p.push(sa.spacePart()),P(D.symbol),G(D.symbol,r)))}if(8&f&&(w(t,g="enum member"),294===(null==(D=null==(S=t.declarations)?void 0:S[0])?void 0:D.kind))&&void 0!==(S=n.getConstantValue(D))&&(p.push(sa.spacePart()),p.push(sa.operatorPart(63)),p.push(sa.spacePart()),p.push(sa.displayPart(sa.getTextOfConstantValue(S),"number"==typeof S?sa.SymbolDisplayPartKind.numericLiteral:sa.SymbolDisplayPartKind.stringLiteral))),2097152&t.flags){if(k(),y||(S=n.getAliasedSymbol(t))!==t&&S.declarations&&0<S.declarations.length&&(u=S.declarations[0],d=(d=sa.getNameOfDeclaration(u))?(l=sa.isModuleWithStringLiteralName(u)&&sa.hasSyntacticModifier(u,2),l="default"!==t.name&&!l,d=e(n,S,sa.getSourceFileOfNode(u),u,d,o,l?t:S),p.push.apply(p,d.displayParts),p.push(sa.lineBreakPart()),l=d.documentation,d.tags):(l=S.getContextualDocumentationComment(u,n),S.getJsDocTags(n))),t.declarations)switch(t.declarations[0].kind){case 262:p.push(sa.keywordPart(93)),p.push(sa.spacePart()),p.push(sa.keywordPart(141));break;case 269:p.push(sa.keywordPart(93)),p.push(sa.spacePart()),p.push(sa.keywordPart(t.declarations[0].isExportEquals?63:88));break;case 273:p.push(sa.keywordPart(93));break;default:p.push(sa.keywordPart(100))}p.push(sa.spacePart()),P(t),sa.forEach(t.declarations,(function(e){if(263===e.kind)return sa.isExternalModuleImportEqualsDeclaration(e)?(p.push(sa.spacePart()),p.push(sa.operatorPart(63)),p.push(sa.spacePart()),p.push(sa.keywordPart(144)),p.push(sa.punctuationPart(20)),p.push(sa.displayPart(sa.getTextOfNode(sa.getExternalModuleImportEqualsDeclarationExpression(e)),sa.SymbolDisplayPartKind.stringLiteral)),p.push(sa.punctuationPart(21))):(e=n.getSymbolAtLocation(e.moduleReference))&&(p.push(sa.spacePart()),p.push(sa.operatorPart(63)),p.push(sa.spacePart()),P(e,a)),!0}))}if(y||(""!==g?T&&(h?(k(),p.push(sa.keywordPart(108))):w(t,g),"property"===g||"JSX attribute"===g||3&f||"local var"===g||h?(p.push(sa.punctuationPart(58)),p.push(sa.spacePart()),T.symbol&&262144&T.symbol.flags?(o=sa.mapToDisplayParts((function(e){var t=n.typeParameterToDeclaration(T,a,70246400);N().writeNode(4,t,sa.getSourceFileOfNode(sa.getParseTreeNode(a)),e)})),sa.addRange(p,o)):sa.addRange(p,sa.typeToDisplayParts(n,T,a)),t.target&&t.target.tupleLabelDeclaration&&(u=t.target.tupleLabelDeclaration,sa.Debug.assertNode(u.name,sa.isIdentifier),p.push(sa.spacePart()),p.push(sa.punctuationPart(20)),p.push(sa.textPart(sa.idText(u.name))),p.push(sa.punctuationPart(21)))):(16&f||8192&f||16384&f||131072&f||98304&f||"method"===g)&&(L=T.getNonNullableType().getCallSignatures()).length&&(F(L[0],L),v=1<L.length)):g=ZV(n,t,i)),0===(m=0!==m.length||v?m:t.getContextualDocumentationComment(a,n)).length&&4&f&&t.parent&&t.declarations&&sa.forEach(t.parent.declarations,(function(e){return 300===e.kind})))for(var D,A=0,C=t.declarations;A<C.length;A++)if((D=C[A]).parent&&219===D.parent.kind){var I=n.getSymbolAtLocation(D.parent.right);if(I&&(m=I.getDocumentationComment(n),_=I.getJsDocTags(n),0<m.length))break}return 0!==_.length||v||(_=t.getJsDocTags(n)),0===m.length&&l&&(m=l),0===_.length&&d&&(_=d),{displayParts:p,documentation:m,symbolKind:g,tags:0===_.length?void 0:_};function N(){return c=c||sa.createPrinter({removeComments:!0})}function k(){p.length&&p.push(sa.lineBreakPart()),R()}function R(){s&&(M("alias"),p.push(sa.spacePart()))}function O(){p.push(sa.spacePart()),p.push(sa.keywordPart(101)),p.push(sa.spacePart())}function P(e,a){e=sa.symbolToDisplayParts(n,e=s&&e===t?s:e,a||r,void 0,7),sa.addRange(p,e),16777216&t.flags&&p.push(sa.punctuationPart(57))}function w(e,n){k(),n&&(M(n),e)&&!sa.some(e.declarations,(function(e){return sa.isArrowFunction(e)||(sa.isFunctionExpression(e)||sa.isClassExpression(e))&&!e.name}))&&(p.push(sa.spacePart()),P(e))}function M(e){switch(e){case"var":case"function":case"let":case"const":case"constructor":return void p.push(sa.textOrKeywordPart(e));default:p.push(sa.punctuationPart(20)),p.push(sa.textOrKeywordPart(e)),p.push(sa.punctuationPart(21))}}function F(e,t,r){sa.addRange(p,sa.signatureToDisplayParts(n,e,a,32|(r=void 0===r?0:r))),1<t.length&&(p.push(sa.spacePart()),p.push(sa.punctuationPart(20)),p.push(sa.operatorPart(39)),p.push(sa.displayPart((t.length-1).toString(),sa.SymbolDisplayPartKind.numericLiteral)),p.push(sa.spacePart()),p.push(sa.textPart(2===t.length?"overload":"overloads")),p.push(sa.punctuationPart(21))),m=e.getDocumentationComment(n),_=e.getJsDocTags(),1<t.length&&0===m.length&&0===_.length&&(m=t[0].getDocumentationComment(n),_=t[0].getJsDocTags())}function G(e,t){var r=sa.mapToDisplayParts((function(r){var a=n.symbolToTypeParameterDeclarations(e,t,70246400);N().writeList(53776,a,sa.getSourceFileOfNode(sa.getParseTreeNode(t)),r)}));sa.addRange(p,r)}},(ca=bY=bY||{}).transpileModule=tj,ca.transpile=function(e,n,t,r,a){return e=tj(e,{compilerOptions:n,fileName:t,reportDiagnostics:!!r,moduleName:a}),ca.addRange(r,e.diagnostics),e.outputText},ca.fixupCompilerOptions=rj,da=bY=bY||{},sm=da.formatting||(da.formatting={}),(OY=sm.FormattingRequestKind||(sm.FormattingRequestKind={}))[OY.FormatDocument=0]="FormatDocument",OY[OY.FormatSelection=1]="FormatSelection",OY[OY.FormatOnEnter=2]="FormatOnEnter",OY[OY.FormatOnSemicolon=3]="FormatOnSemicolon",OY[OY.FormatOnOpeningCurlyBrace=4]="FormatOnOpeningCurlyBrace",OY[OY.FormatOnClosingCurlyBrace=5]="FormatOnClosingCurlyBrace",aj.prototype.updateContext=function(e,n,t,r,a){this.currentTokenSpan=da.Debug.checkDefined(e),this.currentTokenParent=da.Debug.checkDefined(n),this.nextTokenSpan=da.Debug.checkDefined(t),this.nextTokenParent=da.Debug.checkDefined(r),this.contextNode=da.Debug.checkDefined(a),this.contextNodeAllOnSameLine=void 0,this.nextNodeAllOnSameLine=void 0,this.tokensAreOnSameLine=void 0,this.contextNodeBlockIsOnOneLine=void 0,this.nextNodeBlockIsOnOneLine=void 0},aj.prototype.ContextNodeAllOnSameLine=function(){return void 0===this.contextNodeAllOnSameLine&&(this.contextNodeAllOnSameLine=this.NodeIsOnOneLine(this.contextNode)),this.contextNodeAllOnSameLine},aj.prototype.NextNodeAllOnSameLine=function(){return void 0===this.nextNodeAllOnSameLine&&(this.nextNodeAllOnSameLine=this.NodeIsOnOneLine(this.nextTokenParent)),this.nextNodeAllOnSameLine},aj.prototype.TokensAreOnSameLine=function(){var e,n;return void 0===this.tokensAreOnSameLine&&(e=this.sourceFile.getLineAndCharacterOfPosition(this.currentTokenSpan.pos).line,n=this.sourceFile.getLineAndCharacterOfPosition(this.nextTokenSpan.pos).line,this.tokensAreOnSameLine=e===n),this.tokensAreOnSameLine},aj.prototype.ContextNodeBlockIsOnOneLine=function(){return void 0===this.contextNodeBlockIsOnOneLine&&(this.contextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.contextNode)),this.contextNodeBlockIsOnOneLine},aj.prototype.NextNodeBlockIsOnOneLine=function(){return void 0===this.nextNodeBlockIsOnOneLine&&(this.nextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.nextTokenParent)),this.nextNodeBlockIsOnOneLine},aj.prototype.NodeIsOnOneLine=function(e){return this.sourceFile.getLineAndCharacterOfPosition(e.getStart(this.sourceFile)).line===this.sourceFile.getLineAndCharacterOfPosition(e.getEnd()).line},aj.prototype.BlockIsOnOneLine=function(e){var n=da.findChildOfKind(e,18,this.sourceFile);e=da.findChildOfKind(e,19,this.sourceFile);return!(!n||!e)&&this.sourceFile.getLineAndCharacterOfPosition(n.getEnd()).line===this.sourceFile.getLineAndCharacterOfPosition(e.getStart(this.sourceFile)).line},OY=aj,sm.FormattingContext=OY,ua=bY=bY||{},pa=ua.formatting||(ua.formatting={}),ma=ua.createScanner(99,!1,0),_a=ua.createScanner(99,!1,1),pa.getFormattingScanner=function(e,n,t,r,a){var i,o,s,c,l=1===n?_a:ma,d=(l.setText(e),l.setTextPos(t),!0),u=(n=a({advance:function(){u=void 0,l.getStartPos()!==t?d=!!o&&4===ua.last(o).kind:l.scan(),i=void 0,o=void 0;for(var e=l.getStartPos();e<r;){var n=l.getToken();if(!ua.isTrivia(n))break;l.scan(),n={pos:e,end:l.getStartPos(),kind:n},e=l.getStartPos(),i=ua.append(i,n)}s=l.getStartPos()},readTokenInfo:function(e){ua.Debug.assert(p());var n=(e=>{switch(e.kind){case 33:case 71:case 72:case 49:case 48:return 1}})(e)?1:13===e.kind?2:(e=>16===e.kind||17===e.kind)(e)?3:(e=>{if(e.parent)switch(e.parent.kind){case 283:case 278:case 279:case 277:return ua.isKeyword(e.kind)||79===e.kind}})(e)?4:(e=>ua.isJsxText(e))(e)?5:(e=>e.parent&&ua.isJsxAttribute(e.parent)&&e.parent.initializer===e)(e)?6:0;if(!u||n!==c){l.getStartPos()!==s&&(ua.Debug.assert(void 0!==u),l.setTextPos(s),l.scan());var t=((e,n)=>{var t,r=l.getToken();switch(c=0,n){case 1:if(31===r)return c=1,t=l.reScanGreaterToken(),ua.Debug.assert(e.kind===t),t;break;case 2:if((e=>43===e||68===e)(r))return c=2,t=l.reScanSlashToken(),ua.Debug.assert(e.kind===t),t;break;case 3:if(19===r)return c=3,l.reScanTemplateToken(!1);break;case 4:return c=4,l.scanJsxIdentifier();case 5:return c=5,l.reScanJsxToken(!1);case 6:return c=6,l.reScanJsxAttributeValue();case 0:break;default:ua.Debug.assertNever(n)}return r})(e,n);n=pa.createTextRangeWithKind(l.getStartPos(),l.getTextPos(),t);for(o=o&&void 0;l.getStartPos()<r&&(t=l.scan(),ua.isTrivia(t));){var a=pa.createTextRangeWithKind(l.getStartPos(),l.getTextPos(),t);if((o=o||[]).push(a),4===t){l.scan();break}}u={leadingTrivia:i,trailingTrivia:o,token:n}}return _(u,e)},readEOFTokenRange:function(){return ua.Debug.assert(m()),pa.createTextRangeWithKind(l.getStartPos(),l.getTextPos(),1)},isOnToken:p,isOnEOF:m,getCurrentLeadingTrivia:function(){return i},lastTrailingTriviaWasNewLine:function(){return d},skipToEndOf:function(e){l.setTextPos(e.end),s=l.getStartPos(),c=void 0,u=void 0,d=!1,i=void 0,o=void 0},skipToStartOf:function(e){l.setTextPos(e.pos),s=l.getStartPos(),c=void 0,u=void 0,d=!1,i=void 0,o=void 0}}),void 0);return l.setText(void 0),n;function p(){var e=u?u.token.kind:l.getToken();return(u?u.token.pos:l.getStartPos())<r&&1!==e&&!ua.isTrivia(e)}function m(){return 1===(u?u.token.kind:l.getToken())}function _(e,n){return ua.isToken(n)&&e.token.kind!==n.kind&&(e.token.kind=n.kind),e}},tu=bY=bY||{},(cm=tu.formatting||(tu.formatting={})).anyContext=tu.emptyArray,(tu=cm.RuleAction||(cm.RuleAction={}))[tu.StopProcessingSpaceActions=1]="StopProcessingSpaceActions",tu[tu.StopProcessingTokenActions=2]="StopProcessingTokenActions",tu[tu.InsertSpace=4]="InsertSpace",tu[tu.InsertNewLine=8]="InsertNewLine",tu[tu.DeleteSpace=16]="DeleteSpace",tu[tu.DeleteToken=32]="DeleteToken",tu[tu.InsertTrailingSemicolon=64]="InsertTrailingSemicolon",tu[tu.StopAction=3]="StopAction",tu[tu.ModifySpaceAction=28]="ModifySpaceAction",tu[tu.ModifyTokenAction=96]="ModifyTokenAction",(tu=cm.RuleFlags||(cm.RuleFlags={}))[tu.None=0]="None",tu[tu.CanDeleteNewLines=1]="CanDeleteNewLines",fa=bY=bY||{},(ga=fa.formatting||(fa.formatting={})).getAllRules=function(){for(var e=[],n=0;n<=158;n++)1!==n&&e.push(n);function t(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return{tokens:e.filter((function(e){return!n.some((function(n){return n===e}))})),isSpecific:!1}}var r={tokens:e,isSpecific:!1},a=oj(eu(eu([],e,!0),[3],!1)),i=oj(eu(eu([],e,!0),[1],!1)),o=cj(81,158),s=cj(29,78),c=[101,102,158,127,138],l=eu([79],fa.typeKeywords,!0),d=a,u=oj([79,3,84,93,100]),p=oj([21,3,90,111,96,91]);a=[ij("IgnoreBeforeComment",r,[2,3],ga.anyContext,1),ij("IgnoreAfterLineComment",2,r,ga.anyContext,1),ij("NotSpaceBeforeColon",r,58,[Kj,hj,vj],16),ij("SpaceAfterColon",58,r,[Kj,hj],4),ij("NoSpaceBeforeQuestionMark",r,57,[Kj,hj,vj],16),ij("SpaceAfterQuestionMarkInConditionalOperator",57,r,[Kj,Ej],4),ij("NoSpaceAfterQuestionMark",57,r,[Kj],16),ij("NoSpaceBeforeDot",r,[24,28],[Kj],16),ij("NoSpaceAfterDot",[24,28],r,[Kj],16),ij("NoSpaceBetweenImportParenInImportType",100,20,[Kj,jj],16),ij("NoSpaceAfterUnaryPrefixOperator",[45,46,54,53],[8,9,79,20,22,18,108,103],[Kj,hj],16),ij("NoSpaceAfterUnaryPreincrementOperator",45,[79,20,108,103],[Kj],16),ij("NoSpaceAfterUnaryPredecrementOperator",46,[79,20,108,103],[Kj],16),ij("NoSpaceBeforeUnaryPostincrementOperator",[79,21,23,103],45,[Kj,dK],16),ij("NoSpaceBeforeUnaryPostdecrementOperator",[79,21,23,103],46,[Kj,dK],16),ij("SpaceAfterPostincrementWhenFollowedByAdd",45,39,[Kj,yj],4),ij("SpaceAfterAddWhenFollowedByUnaryPlus",39,39,[Kj,yj],4),ij("SpaceAfterAddWhenFollowedByPreincrement",39,45,[Kj,yj],4),ij("SpaceAfterPostdecrementWhenFollowedBySubtract",46,40,[Kj,yj],4),ij("SpaceAfterSubtractWhenFollowedByUnaryMinus",40,40,[Kj,yj],4),ij("SpaceAfterSubtractWhenFollowedByPredecrement",40,46,[Kj,yj],4),ij("NoSpaceAfterCloseBrace",19,[27,26],[Kj],16),ij("NewLineBeforeCloseBraceInBlockContext",a,19,[Lj],8),ij("SpaceAfterCloseBrace",19,t(21),[Kj,Pj],4),ij("SpaceBetweenCloseBraceAndElse",19,91,[Kj],4),ij("SpaceBetweenCloseBraceAndWhile",19,115,[Kj],4),ij("NoSpaceBetweenEmptyBraceBrackets",18,19,[Kj,Mj],16),ij("SpaceAfterConditionalClosingParen",21,22,[wj],4),ij("NoSpaceBetweenFunctionKeywordAndStar",98,41,[kj],16),ij("SpaceAfterStarInGeneratorDeclaration",41,79,[kj],4),ij("SpaceAfterFunctionInFuncDecl",98,r,[Ij],4),ij("NewLineAfterOpenBraceInBlockContext",18,r,[Lj],8),ij("SpaceAfterGetSetInMember",[135,147],79,[Ij],4),ij("NoSpaceBetweenYieldKeywordAndStar",125,41,[Kj,cK],16),ij("SpaceBetweenYieldOrYieldStarAndOperand",[125,41],r,[Kj,cK],4),ij("NoSpaceBetweenReturnAndSemicolon",105,26,[Kj],16),ij("SpaceAfterCertainKeywords",[113,109,103,89,105,112,131],r,[Kj],4),ij("SpaceAfterLetConstInVariableDeclaration",[119,85],r,[Kj,$j],4),ij("NoSpaceBeforeOpenParenInFuncCall",r,20,[Kj,Fj,Gj],16),ij("SpaceBeforeBinaryKeywordOperator",r,c,[Kj,yj],4),ij("SpaceAfterBinaryKeywordOperator",c,r,[Kj,yj],4),ij("SpaceAfterVoidOperator",114,r,[Kj,sK],4),ij("SpaceBetweenAsyncAndOpenParen",130,20,[Vj,Kj],4),ij("SpaceBetweenAsyncAndFunctionKeyword",130,[98,79],[Kj],4),ij("NoSpaceBetweenTagAndTemplateString",[79,21],[14,15],[Kj],16),ij("SpaceBeforeJsxAttribute",r,79,[Jj,Kj],4),ij("SpaceBeforeSlashInJsxOpeningElement",r,43,[Xj,Kj],4),ij("NoSpaceBeforeGreaterThanTokenInJsxOpeningElement",43,31,[Xj,Kj],16),ij("NoSpaceBeforeEqualInJsxAttribute",r,63,[qj,Kj],16),ij("NoSpaceAfterEqualInJsxAttribute",63,r,[qj,Kj],16),ij("NoSpaceAfterModuleImport",[140,144],20,[Kj],16),ij("SpaceAfterCertainTypeScriptKeywords",[126,84,134,88,92,93,94,135,117,100,118,140,141,121,123,122,143,147,124,150,154,139,136],r,[Kj],4),ij("SpaceBeforeCertainTypeScriptKeywords",r,[94,117,154],[Kj],4),ij("SpaceAfterModuleName",10,18,[nK],4),ij("SpaceBeforeArrow",r,38,[Kj],4),ij("SpaceAfterArrow",38,r,[Kj],4),ij("NoSpaceAfterEllipsis",25,79,[Kj],16),ij("NoSpaceAfterOptionalParameters",57,[21,27],[Kj,hj],16),ij("NoSpaceBetweenEmptyInterfaceBraceBrackets",18,19,[Kj,tK],16),ij("NoSpaceBeforeOpenAngularBracket",l,29,[Kj,iK],16),ij("NoSpaceBetweenCloseParenAndAngularBracket",21,29,[Kj,iK],16),ij("NoSpaceAfterOpenAngularBracket",29,r,[Kj,iK],16),ij("NoSpaceBeforeCloseAngularBracket",r,31,[Kj,iK],16),ij("NoSpaceAfterCloseAngularBracket",31,[20,22,31,27],[Kj,iK,Nj],16),ij("SpaceBeforeAt",[21,79],59,[Kj],4),ij("NoSpaceAfterAt",59,r,[Kj],16),ij("SpaceAfterDecorator",r,[126,79,93,88,84,124,123,121,122,135,147,22,41],[Qj],4),ij("NoSpaceBeforeNonNullAssertionOperator",r,53,[Kj,lK],16),ij("NoSpaceAfterNewKeywordOnConstructorSignature",103,20,[Kj,rK],16),ij("SpaceLessThanAndNonJSXTypeAnnotation",29,29,[Kj],4)],c=[ij("SpaceAfterConstructor",133,20,[dj("insertSpaceAfterConstructor"),Kj],4),ij("NoSpaceAfterConstructor",133,20,[pj("insertSpaceAfterConstructor"),Kj],16),ij("SpaceAfterComma",27,r,[dj("insertSpaceAfterCommaDelimiter"),Kj,Wj,Bj,Uj],4),ij("NoSpaceAfterComma",27,r,[pj("insertSpaceAfterCommaDelimiter"),Kj,Wj],16),ij("SpaceAfterAnonymousFunctionKeyword",[98,41],20,[dj("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),Ij],4),ij("NoSpaceAfterAnonymousFunctionKeyword",[98,41],20,[pj("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),Ij],16),ij("SpaceAfterKeywordInControl",o,20,[dj("insertSpaceAfterKeywordsInControlFlowStatements"),wj],4),ij("NoSpaceAfterKeywordInControl",o,20,[pj("insertSpaceAfterKeywordsInControlFlowStatements"),wj],16),ij("SpaceAfterOpenParen",20,r,[dj("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),Kj],4),ij("SpaceBeforeCloseParen",r,21,[dj("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),Kj],4),ij("SpaceBetweenOpenParens",20,20,[dj("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),Kj],4),ij("NoSpaceBetweenParens",20,21,[Kj],16),ij("NoSpaceAfterOpenParen",20,r,[pj("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),Kj],16),ij("NoSpaceBeforeCloseParen",r,21,[pj("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),Kj],16),ij("SpaceAfterOpenBracket",22,r,[dj("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),Kj],4),ij("SpaceBeforeCloseBracket",r,23,[dj("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),Kj],4),ij("NoSpaceBetweenBrackets",22,23,[Kj],16),ij("NoSpaceAfterOpenBracket",22,r,[pj("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),Kj],16),ij("NoSpaceBeforeCloseBracket",r,23,[pj("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),Kj],16),ij("SpaceAfterOpenBrace",18,r,[_j("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),Sj],4),ij("SpaceBeforeCloseBrace",r,19,[_j("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),Sj],4),ij("NoSpaceBetweenEmptyBraceBrackets",18,19,[Kj,Mj],16),ij("NoSpaceAfterOpenBrace",18,r,[uj("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),Kj],16),ij("NoSpaceBeforeCloseBrace",r,19,[uj("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),Kj],16),ij("SpaceBetweenEmptyBraceBrackets",18,19,[dj("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces")],4),ij("NoSpaceBetweenEmptyBraceBrackets",18,19,[uj("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces"),Kj],16),ij("SpaceAfterTemplateHeadAndMiddle",[15,16],r,[dj("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),Hj],4,1),ij("SpaceBeforeTemplateMiddleAndTail",r,[16,17],[dj("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),Kj],4),ij("NoSpaceAfterTemplateHeadAndMiddle",[15,16],r,[pj("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),Hj],16,1),ij("NoSpaceBeforeTemplateMiddleAndTail",r,[16,17],[pj("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),Kj],16),ij("SpaceAfterOpenBraceInJsxExpression",18,r,[dj("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),Kj,zj],4),ij("SpaceBeforeCloseBraceInJsxExpression",r,19,[dj("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),Kj,zj],4),ij("NoSpaceAfterOpenBraceInJsxExpression",18,r,[pj("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),Kj,zj],16),ij("NoSpaceBeforeCloseBraceInJsxExpression",r,19,[pj("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),Kj,zj],16),ij("SpaceAfterSemicolonInFor",26,r,[dj("insertSpaceAfterSemicolonInForStatements"),Kj,fj],4),ij("NoSpaceAfterSemicolonInFor",26,r,[pj("insertSpaceAfterSemicolonInForStatements"),Kj,fj],16),ij("SpaceBeforeBinaryOperator",r,s,[dj("insertSpaceBeforeAndAfterBinaryOperators"),Kj,yj],4),ij("SpaceAfterBinaryOperator",s,r,[dj("insertSpaceBeforeAndAfterBinaryOperators"),Kj,yj],4),ij("NoSpaceBeforeBinaryOperator",r,s,[pj("insertSpaceBeforeAndAfterBinaryOperators"),Kj,yj],16),ij("NoSpaceAfterBinaryOperator",s,r,[pj("insertSpaceBeforeAndAfterBinaryOperators"),Kj,yj],16),ij("SpaceBeforeOpenParenInFuncDecl",r,20,[dj("insertSpaceBeforeFunctionParenthesis"),Kj,Ij],4),ij("NoSpaceBeforeOpenParenInFuncDecl",r,20,[pj("insertSpaceBeforeFunctionParenthesis"),Kj,Ij],16),ij("NewLineBeforeOpenBraceInControl",p,18,[dj("placeOpenBraceOnNewLineForControlBlocks"),wj,xj],8,1),ij("NewLineBeforeOpenBraceInFunction",d,18,[dj("placeOpenBraceOnNewLineForFunctions"),Ij,xj],8,1),ij("NewLineBeforeOpenBraceInTypeScriptDeclWithBlock",u,18,[dj("placeOpenBraceOnNewLineForFunctions"),Rj,xj],8,1),ij("SpaceAfterTypeAssertion",31,r,[dj("insertSpaceAfterTypeAssertion"),Kj,oK],4),ij("NoSpaceAfterTypeAssertion",31,r,[pj("insertSpaceAfterTypeAssertion"),Kj,oK],16),ij("SpaceBeforeTypeAnnotation",r,[57,58],[dj("insertSpaceBeforeTypeAnnotation"),Kj,bj],4),ij("NoSpaceBeforeTypeAnnotation",r,[57,58],[pj("insertSpaceBeforeTypeAnnotation"),Kj,bj],16),ij("NoOptionalSemicolon",26,i,[lj("semicolons",fa.SemicolonPreference.Remove),uK],32),ij("OptionalSemicolon",r,i,[lj("semicolons",fa.SemicolonPreference.Insert),pK],64)],l=[ij("NoSpaceBeforeSemicolon",r,26,[Kj],16),ij("SpaceBeforeOpenBraceInControl",p,18,[mj("placeOpenBraceOnNewLineForControlBlocks"),wj,eK,Tj],4,1),ij("SpaceBeforeOpenBraceInFunction",d,18,[mj("placeOpenBraceOnNewLineForFunctions"),Ij,Aj,eK,Tj],4,1),ij("SpaceBeforeOpenBraceInTypeScriptDeclWithBlock",u,18,[mj("placeOpenBraceOnNewLineForFunctions"),Rj,eK,Tj],4,1),ij("NoSpaceBeforeComma",r,27,[Kj],16),ij("NoSpaceBeforeOpenBracket",t(130,82),22,[Kj],16),ij("NoSpaceAfterCloseBracket",23,r,[Kj,Yj],16),ij("SpaceAfterSemicolon",26,r,[Kj],4),ij("SpaceBetweenForAndAwaitKeyword",97,131,[Kj],4),ij("SpaceBetweenStatements",[21,90,91,82],r,[Kj,Wj,gj],4),ij("SpaceAfterTryCatchFinally",[111,83,96],18,[Kj],4)];return eu(eu(eu([],a,!0),c,!0),l,!0)},ya=bY=bY||{},(ha=ya.formatting||(ya.formatting={})).getFormatContext=function(e,n){return{options:e,getRules:(()=>va=void 0===va?(e=>{var n=(e=>{for(var n=new Array(Sa*Sa),t=new Array(n.length),r=0,a=e;r<a.length;r++)for(var i=a[r],o=i.leftTokenRange.isSpecific&&i.rightTokenRange.isSpecific,s=0,c=i.leftTokenRange.tokens;s<c.length;s++)for(var l=c[s],d=0,u=i.rightTokenRange.tokens;d<u.length;d++){var p=u[d],m=(p=mK(l,p),n[p]);((e,n,t,r,a)=>{t=3&n.action?t?ba.StopRulesSpecific:ba.StopRulesAny:n.context!==ha.anyContext?t?ba.ContextRulesSpecific:ba.ContextRulesAny:t?ba.NoContextRulesSpecific:ba.NoContextRulesAny;var i=r[a]||0;e.splice(((e,n)=>{for(var t=0,r=0;r<=n;r+=Ea)t+=e&Ta,e>>=Ea;return t})(i,t),0,n),r[a]=((e,n)=>{var t=1+(e>>n&Ta);return ya.Debug.assert((t&Ta)==t,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules."),e&~(Ta<<n)|t<<n})(i,t)})(m=void 0===m?n[p]=[]:m,i.rule,o,t,p)}return n})(e);return function(e){var t=n[mK(e.currentTokenSpan.kind,e.nextTokenSpan.kind)];if(t){for(var r=[],a=0,i=0,o=t;i<o.length;i++){var s=o[i],c=~(e=>{var n=0;return 1&e&&(n|=28),2&e&&(n|=96),28&e&&(n|=28),96&e&&(n|=96),n})(a);s.action&c&&ya.every(s.context,(function(n){return n(e)}))&&(r.push(s),a|=s.action)}if(r.length)return r}}})(ha.getAllRules()):va)(),host:n}},Ea=5,Ta=31,Sa=159,(sm=ba=ba||{})[sm.StopRulesSpecific=0]="StopRulesSpecific",sm[sm.StopRulesAny=+Ea]="StopRulesAny",sm[sm.ContextRulesSpecific=2*Ea]="ContextRulesSpecific",sm[sm.ContextRulesAny=3*Ea]="ContextRulesAny",sm[sm.NoContextRulesSpecific=4*Ea]="NoContextRulesSpecific",sm[sm.NoContextRulesAny=5*Ea]="NoContextRulesAny",xa=bY=bY||{},(La=xa.formatting||(xa.formatting={})).createTextRangeWithKind=function(e,n,t){return e={pos:e,end:n,kind:t},xa.Debug.isDebugging&&Object.defineProperty(e,"__debugKind",{get:function(){return xa.Debug.formatSyntaxKind(t)}}),e},La.formatOnEnter=function(e,n,t){if(0===(e=n.getLineAndCharacterOfPosition(e).line))return[];for(var r=xa.getEndLinePosition(e,n);xa.isWhiteSpaceSingleLine(n.text.charCodeAt(r));)r--;return xa.isLineBreak(n.text.charCodeAt(r))&&r--,hK({pos:xa.getStartPositionOfLine(e-1,n),end:r+1},n,t,2)},La.formatOnSemicolon=function(e,n,t){return yK(fK(_K(e,26,n)),n,t,3)},La.formatOnOpeningCurly=function(e,n,t){var r=_K(e,18,n);return r?(r=fK(r.parent),hK({pos:xa.getLineStartPositionForPosition(r.getStart(n),n),end:e},n,t,4)):[]},La.formatOnClosingCurly=function(e,n,t){return yK(fK(_K(e,19,n)),n,t,5)},La.formatDocument=function(e,n){return hK({pos:0,end:e.text.length},e,n,0)},La.formatSelection=function(e,n,t,r){return hK({pos:xa.getLineStartPositionForPosition(e,t),end:n},t,r,1)},La.formatNodeGivenIndentation=function(e,n,t,r,a,i){var o={pos:0,end:n.text.length};return La.getFormattingScanner(n.text,t,o.pos,o.end,(function(t){return vK(o,e,r,a,t,i,1,(function(e){return!1}),n)}))},La.getRangeOfEnclosingComment=function(e,n,t,r){void 0===r&&(r=xa.getTokenAtPosition(e,n));var a=xa.findAncestor(r,xa.isJSDoc);a=(r=a?a.parent:r).getStart(e);if(!(a<=n&&n<r.getEnd()))return a=(t=null===t?void 0:void 0===t?xa.findPrecedingToken(n,e):t)&&xa.getTrailingCommentRanges(e.text,t.end),t=xa.getLeadingCommentRangesOfNode(r,e),(r=xa.concatenate(a,t))&&xa.find(r,(function(t){return xa.rangeContainsPositionExclusive(t,n)||n===t.end&&(2===t.kind||n===e.getFullWidth())}))},La.getIndentationString=TK,Ia=bY=bY||{},Na=Ia.formatting||(Ia.formatting={}),(OY=Na.SmartIndenter||(Na.SmartIndenter={})).getIndentation=function(e,n,t,r){if(void 0===r&&(r=!1),e>n.text.length)return SK(t);if(t.indentStyle===Ia.IndentStyle.None)return 0;var a=Ia.findPrecedingToken(e,n,void 0,!0),i=Na.getRangeOfEnclosingComment(n,e,a||null);if(i&&3===i.kind)return d=n,s=e,o=t,i=i,c=Ia.getLineAndCharacterOfPosition(d,s).line-1,i=Ia.getLineAndCharacterOfPosition(d,i.pos).line,Ia.Debug.assert(0<=i),c<=i?wK(Ia.getStartPositionOfLine(i,d),s,d,o):(i=Ia.getStartPositionOfLine(c,d),c=PK(i,s,d,o),s=c.column,o=c.character,0!==s&&42===d.text.charCodeAt(i+o)?s-1:s);if(!a)return SK(t);if(Ia.isStringOrRegularExpressionOrTemplateLiteral(a.kind)&&a.getStart(n)<=e&&e<a.end)return 0;var o,s,c=n.getLineAndCharacterOfPosition(e).line;if(t.indentStyle===Ia.IndentStyle.Block){for(var l=n,d=t,u=e;0<u;){var p=l.text.charCodeAt(u);if(!Ia.isWhiteSpaceLike(p))break;u--}return wK(Ia.getLineStartPositionForPosition(u,l),u,l,d)}if(27===a.kind&&219!==a.parent.kind&&(i=((e,n,t)=>(e=Ia.findListItemInfo(e))&&0<e.listItemIndex?RK(e.list.getChildren(),e.listItemIndex-1,n,t):-1)(a,n,t),-1!==i))return i;if(o=e,s=a.parent,i=n,(i=s&&IK(o,o,s,i))&&!Ia.rangeContainsRange(i,a))return NK(i,n,t)+t.indentSize;for(var m,_,f=n,g=e,y=a,h=c,v=r,b=t,E=y;E;){if(Ia.positionBelongsToNode(E,g,f)&&FK(b,E,m,f,!0))return T=LK(E,f),_=((e,n,t,r)=>{if(e=Ia.findNextToken(e,n,r)){if(18===e.kind)return 1;if(19===e.kind)return n=LK(e,r).line,t===n?2:0}return 0})(y,E,h,f),_=0!==_?v&&2===_?b.indentSize:0:h!==T.line?b.indentSize:0,xK(E,T,void 0,_,f,!0,b);var T=kK(E,f,b,!0);if(-1!==T)return T;E=(m=E).parent}return SK(b)},OY.getIndentationForNode=function(e,n,t,r){var a=t.getLineAndCharacterOfPosition(e.getStart(t));return xK(e,a,n,0,t,!1,r)},OY.getBaseIndentation=SK,OY.isArgumentAndStartLineOverlapsExpressionBeingCalled=DK,OY.childStartsOnTheSameLineWithElseInIfStatement=AK,OY.childIsUnindentedBranchOfConditionalExpression=function(e,n,t,r){var a;return!(!Ia.isConditionalExpression(e)||n!==e.whenTrue&&n!==e.whenFalse)&&(a=Ia.getLineAndCharacterOfPosition(r,e.condition.end).line,n===e.whenTrue?t===a:(n=LK(e.whenTrue,r).line,r=Ia.getLineAndCharacterOfPosition(r,e.whenTrue.end).line,a===n&&r===t))},OY.argumentStartsOnSameLineAsPreviousArgument=function(e,n,t,r){if(Ia.isCallOrNewExpression(e)){if(!e.arguments)return!1;var a=Ia.find(e.arguments,(function(e){return e.pos===n.pos}));if(!a)return!1;if(a=e.arguments.indexOf(a),0===a)return!1;if(e=e.arguments[a-1],t===Ia.getLineAndCharacterOfPosition(r,e.getEnd()).line)return!0}return!1},OY.getContainingList=CK,OY.findFirstNonWhitespaceCharacterAndColumn=PK,OY.findFirstNonWhitespaceColumn=wK,OY.nodeWillIndentChild=MK,OY.shouldIndentChildNode=FK,ka=bY=bY||{},cm=ka.textChanges||(ka.textChanges={}),(tu=Ra=cm.LeadingTriviaOption||(cm.LeadingTriviaOption={}))[tu.Exclude=0]="Exclude",tu[tu.IncludeAll=1]="IncludeAll",tu[tu.JSDoc=2]="JSDoc",tu[tu.StartLine=3]="StartLine",(tu=Oa=cm.TrailingTriviaOption||(cm.TrailingTriviaOption={}))[tu.Exclude=0]="Exclude",tu[tu.ExcludeWhitespace=1]="ExcludeWhitespace",tu[tu.Include=2]="Include",Fa={leadingTriviaOption:Ra.Exclude,trailingTriviaOption:Oa.Exclude},(tu=Pa=Pa||{})[tu.Remove=0]="Remove",tu[tu.ReplaceWithSingleNode=1]="ReplaceWithSingleNode",tu[tu.ReplaceWithMultipleNodes=2]="ReplaceWithMultipleNodes",tu[tu.Text=3]="Text",cm.isThisTypeAnnotatable=function(e){return ka.isFunctionExpression(e)||ka.isFunctionDeclaration(e)},XK.fromContext=function(e){return new XK(ka.getNewLineOrDefaultFromHost(e.host,e.formatContext.options),e.formatContext)},XK.with=function(e,n){return e=XK.fromContext(e),n(e),e.getChanges()},XK.prototype.pushRaw=function(e,n){ka.Debug.assertEqual(e.fileName,n.fileName);for(var t=0,r=n.textChanges;t<r.length;t++){var a=r[t];this.changes.push({kind:Pa.Text,sourceFile:e,text:a.newText,range:ka.createTextRangeFromSpan(a.span)})}},XK.prototype.deleteRange=function(e,n){this.changes.push({kind:Pa.Remove,sourceFile:e,range:n})},XK.prototype.delete=function(e,n){this.deletedNodes.push({sourceFile:e,node:n})},XK.prototype.deleteNode=function(e,n,t){void 0===t&&(t={leadingTriviaOption:Ra.IncludeAll}),this.deleteRange(e,HK(e,n,n,t))},XK.prototype.deleteNodes=function(e,n,t,r){void 0===t&&(t={leadingTriviaOption:Ra.IncludeAll});for(var a=0,i=n;a<i.length;a++){var o=i[a],s=WK(e,o,t,r),c=JK(e,o,t);this.deleteRange(e,{pos:s,end:c}),r=!!zK(e,o,t)}},XK.prototype.deleteModifier=function(e,n){this.deleteRange(e,{pos:n.getStart(e),end:ka.skipTrivia(e.text,n.end,!0)})},XK.prototype.deleteNodeRange=function(e,n,t,r){n=WK(e,n,r=void 0===r?{leadingTriviaOption:Ra.IncludeAll}:r),t=JK(e,t,r),this.deleteRange(e,{pos:n,end:t})},XK.prototype.deleteNodeRangeExcludingEnd=function(e,n,t,r){n=WK(e,n,r=void 0===r?{leadingTriviaOption:Ra.IncludeAll}:r),t=void 0===t?e.text.length:WK(e,t,r),this.deleteRange(e,{pos:n,end:t})},XK.prototype.replaceRange=function(e,n,t,r){this.changes.push({kind:Pa.ReplaceWithSingleNode,sourceFile:e,range:n,options:r=void 0===r?{}:r,node:t})},XK.prototype.replaceNode=function(e,n,t,r){this.replaceRange(e,HK(e,n,n,r=void 0===r?Fa:r),t,r)},XK.prototype.replaceNodeRange=function(e,n,t,r,a){this.replaceRange(e,HK(e,n,t,a=void 0===a?Fa:a),r,a)},XK.prototype.replaceRangeWithNodes=function(e,n,t,r){this.changes.push({kind:Pa.ReplaceWithMultipleNodes,sourceFile:e,range:n,options:r=void 0===r?{}:r,nodes:t})},XK.prototype.replaceNodeWithNodes=function(e,n,t,r){this.replaceRangeWithNodes(e,HK(e,n,n,r=void 0===r?Fa:r),t,r)},XK.prototype.replaceNodeWithText=function(e,n,t){this.replaceRangeWithText(e,HK(e,n,n,Fa),t)},XK.prototype.replaceNodeRangeWithNodes=function(e,n,t,r,a){this.replaceRangeWithNodes(e,HK(e,n,t,a=void 0===a?Fa:a),r,a)},XK.prototype.nodeHasTrailingComment=function(e,n,t){return!!zK(e,n,t=void 0===t?Fa:t)},XK.prototype.nextCommaToken=function(e,n){return n=ka.findNextToken(n,n.parent,e),n&&27===n.kind?n:void 0},XK.prototype.replacePropertyAssignment=function(e,n,t){var r=this.nextCommaToken(e,n)?"":","+this.newLineCharacter;this.replaceNode(e,n,t,{suffix:r})},XK.prototype.insertNodeAt=function(e,n,t,r){void 0===r&&(r={}),this.replaceRange(e,ka.createRange(n),t,r)},XK.prototype.insertNodesAt=function(e,n,t,r){void 0===r&&(r={}),this.replaceRangeWithNodes(e,ka.createRange(n),t,r)},XK.prototype.insertNodeAtTopOfFile=function(e,n,t){this.insertAtTopOfFile(e,n,t)},XK.prototype.insertNodesAtTopOfFile=function(e,n,t){this.insertAtTopOfFile(e,n,t)},XK.prototype.insertAtTopOfFile=function(e,n,t){var r=(e=>{for(var n,t=0,r=e.statements;t<r.length;t++){var a=r[t];if(!ka.isPrologueDirective(a))break;n=a}var i=0,o=e.text;if(n)i=n.end,_();else{var s=ka.getShebang(o);s=(void 0!==s&&(i=s.length,_()),ka.getLeadingCommentRanges(o,i));if(s){for(var c,l,d=0,u=s;d<u.length;d++){var p=u[d];if(3===p.kind){if(ka.isPinnedComment(o,p.pos)){c={range:p,pinnedOrTripleSlash:!0};continue}}else if(ka.isRecognizedTripleSlashComment(o,p.pos,p.end)){c={range:p,pinnedOrTripleSlash:!0};continue}if(c){if(c.pinnedOrTripleSlash)break;var m=e.getLineAndCharacterOfPosition(p.pos).line;if(e.getLineAndCharacterOfPosition(c.range.end).line+2<=m)break}if(e.statements.length&&(void 0===l&&(l=e.getLineAndCharacterOfPosition(e.statements[0].getStart()).line),m=e.getLineAndCharacterOfPosition(p.end).line,l<m+2))break;c={range:p,pinnedOrTripleSlash:!1}}c&&(i=c.range.end,_())}}return i;function _(){var e;i<o.length&&(e=o.charCodeAt(i),ka.isLineBreak(e))&&++i<o.length&&13===e&&10===o.charCodeAt(i)&&i++}})(e);t={prefix:0===r?void 0:this.newLineCharacter,suffix:(ka.isLineBreak(e.text.charCodeAt(r))?"":this.newLineCharacter)+(t?this.newLineCharacter:"")};ka.isArray(n)?this.insertNodesAt(e,r,n,t):this.insertNodeAt(e,r,n,t)},XK.prototype.insertFirstParameter=function(e,n,t){var r=ka.firstOrUndefined(n);r?this.insertNodeBefore(e,r,t):this.insertNodeAt(e,n.pos,t)},XK.prototype.insertNodeBefore=function(e,n,t,r,a){void 0===r&&(r=!1),this.insertNodeAt(e,WK(e,n,a=void 0===a?{}:a),t,this.getOptionsForInsertNodeBefore(n,t,r))},XK.prototype.insertModifierAt=function(e,n,t,r){void 0===r&&(r={}),this.insertNodeAt(e,n,ka.factory.createToken(t),r)},XK.prototype.insertModifierBefore=function(e,n,t){return this.insertModifierAt(e,t.getStart(e),n,{suffix:" "})},XK.prototype.insertCommentBeforeLine=function(e,n,t,r){n=ka.getStartPositionOfLine(n,e);var a=ka.getFirstNonSpaceCharacterPosition(e.text,n),i=rH(e,a);t=ka.getTouchingToken(e,i?a:t),n=e.text.slice(n,a),a=(i?"":this.newLineCharacter)+"//"+r+this.newLineCharacter+n;this.insertText(e,t.getStart(e),a)},XK.prototype.insertJsdocCommentBefore=function(e,n,t){var r=n.getStart(e);if(n.jsDoc)for(var a=0,i=n.jsDoc;a<i.length;a++){var o=i[a];this.deleteRange(e,{pos:ka.getLineStartPositionForPosition(o.getStart(e),e),end:JK(e,o,{})})}n=ka.getPrecedingNonSpaceCharacterPosition(e.text,r-1),n=e.text.slice(n,r),this.insertNodeAt(e,r,t,{preserveLeadingWhitespace:!1,suffix:this.newLineCharacter+n})},XK.prototype.replaceRangeWithText=function(e,n,t){this.changes.push({kind:Pa.Text,sourceFile:e,range:n,text:t})},XK.prototype.insertText=function(e,n,t){this.replaceRangeWithText(e,ka.createRange(n),t)},XK.prototype.tryInsertTypeAnnotation=function(e,n,t){var r,a;if(ka.isFunctionLike(n)){if(!(a=ka.findChildOfKind(n,21,e))){if(!ka.isArrowFunction(n))return!1;a=ka.first(n.parameters)}}else a=null!=(r=252===n.kind?n.exclamationToken:n.questionToken)?r:n.name;return this.insertNodeAt(e,a.end,t,{prefix:": "}),!0},XK.prototype.tryInsertThisTypeAnnotation=function(e,n,t){var r=ka.findChildOfKind(n,20,e).getStart(e)+1;n=n.parameters.length?", ":"";this.insertNodeAt(e,r,t,{prefix:"this: ",suffix:n})},XK.prototype.insertTypeParameters=function(e,n,t){n=(ka.findChildOfKind(n,20,e)||ka.first(n.parameters)).getStart(e),this.insertNodesAt(e,n,t,{prefix:"<",suffix:">",joiner:", "})},XK.prototype.getOptionsForInsertNodeBefore=function(e,n,t){return ka.isStatement(e)||ka.isClassElement(e)?{suffix:t?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}:ka.isVariableDeclaration(e)?{suffix:", "}:ka.isParameter(e)?ka.isParameter(n)?{suffix:", "}:{}:ka.isStringLiteral(e)&&ka.isImportDeclaration(e.parent)||ka.isNamedImports(e)?{suffix:", "}:ka.isImportSpecifier(e)?{suffix:","+(t?this.newLineCharacter:" ")}:ka.Debug.failBadSyntaxKind(e)},XK.prototype.insertNodeAtConstructorStart=function(e,n,t){var r=ka.firstOrUndefined(n.body.statements);r&&n.body.multiLine?this.insertNodeBefore(e,r,t):this.replaceConstructorBody(e,n,eu([t],n.body.statements,!0))},XK.prototype.insertNodeAtConstructorStartAfterSuperCall=function(e,n,t){var r=ka.find(n.body.statements,(function(e){return ka.isExpressionStatement(e)&&ka.isSuperCall(e.expression)}));r&&n.body.multiLine?this.insertNodeAfter(e,r,t):this.replaceConstructorBody(e,n,eu(eu([],n.body.statements,!0),[t],!1))},XK.prototype.insertNodeAtConstructorEnd=function(e,n,t){var r=ka.lastOrUndefined(n.body.statements);r&&n.body.multiLine?this.insertNodeAfter(e,r,t):this.replaceConstructorBody(e,n,eu(eu([],n.body.statements,!0),[t],!1))},XK.prototype.replaceConstructorBody=function(e,n,t){this.replaceNode(e,n.body,ka.factory.createBlock(t,!0))},XK.prototype.insertNodeAtEndOfScope=function(e,n,t){var r=WK(e,n.getLastToken(),{});this.insertNodeAt(e,r,t,{prefix:ka.isLineBreak(e.text.charCodeAt(n.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})},XK.prototype.insertNodeAtClassStart=function(e,n,t){this.insertNodeAtStartWorker(e,n,t)},XK.prototype.insertNodeAtObjectStart=function(e,n,t){this.insertNodeAtStartWorker(e,n,t)},XK.prototype.insertNodeAtStartWorker=function(e,n,t){var r=null!=(r=this.guessIndentationFromExistingMembers(e,n))?r:this.computeIndentationForNewMember(e,n);this.insertNodeAt(e,QK(n).pos,t,this.getInsertNodeAtStartInsertOptions(e,n,r))},XK.prototype.guessIndentationFromExistingMembers=function(e,n){for(var t,r=n,a=0,i=QK(n);a<i.length;a++){var o=i[a];if(ka.rangeStartPositionsAreOnSameLine(r,o,e))return;var s=o.getStart(e);s=ka.formatting.SmartIndenter.findFirstNonWhitespaceColumn(ka.getLineStartPositionForPosition(s,e),s,e,this.formatContext.options);if(void 0===t)t=s;else if(s!==t)return;r=o}return t},XK.prototype.computeIndentationForNewMember=function(e,n){n=n.getStart(e);return ka.formatting.SmartIndenter.findFirstNonWhitespaceColumn(ka.getLineStartPositionForPosition(n,e),n,e,this.formatContext.options)+(null!=(n=this.formatContext.options.indentSize)?n:4)},XK.prototype.getInsertNodeAtStartInsertOptions=function(e,n,t){var r=0===QK(n).length,a=ka.addToSeen(this.classesWithNodesInsertedAtStart,ka.getNodeId(n),{node:n,sourceFile:e}),i=ka.isObjectLiteralExpression(n)&&(!ka.isJsonSourceFile(e)||!r);return{indentation:t,prefix:(ka.isObjectLiteralExpression(n)&&ka.isJsonSourceFile(e)&&r&&!a?",":"")+this.newLineCharacter,suffix:i?",":""}},XK.prototype.insertNodeAfterComma=function(e,n,t){var r=this.insertNodeAfterWorker(e,this.nextCommaToken(e,n)||n,t);this.insertNodeAt(e,r,t,this.getInsertNodeAfterOptions(e,n))},XK.prototype.insertNodeAfter=function(e,n,t){var r=this.insertNodeAfterWorker(e,n,t);this.insertNodeAt(e,r,t,this.getInsertNodeAfterOptions(e,n))},XK.prototype.insertNodeAtEndOfList=function(e,n,t){this.insertNodeAt(e,n.end,t,{prefix:", "})},XK.prototype.insertNodesAfter=function(e,n,t){var r=this.insertNodeAfterWorker(e,n,ka.first(t));this.insertNodesAt(e,r,t,this.getInsertNodeAfterOptions(e,n))},XK.prototype.insertNodeAfterWorker=function(e,n,t){var r;return r=n,t=t,((ka.isPropertySignature(r)||ka.isPropertyDeclaration(r))&&ka.isClassOrTypeElement(t)&&160===t.name.kind||ka.isStatementButNotDeclaration(r)&&ka.isStatementButNotDeclaration(t))&&59!==e.text.charCodeAt(n.end-1)&&this.replaceRange(e,ka.createRange(n.end),ka.factory.createToken(26)),JK(e,n,{})},XK.prototype.getInsertNodeAfterOptions=function(e,n){var t=this.getInsertNodeAfterOptionsWorker(n);return nu(nu({},t),{prefix:n.end===e.end&&ka.isStatement(n)?t.prefix?"\n"+t.prefix:"\n":t.prefix})},XK.prototype.getInsertNodeAfterOptionsWorker=function(e){switch(e.kind){case 255:case 259:return{prefix:this.newLineCharacter,suffix:this.newLineCharacter};case 252:case 10:case 79:return{prefix:", "};case 291:return{suffix:","+this.newLineCharacter};case 93:return{prefix:" "};case 162:return{};default:return ka.Debug.assert(ka.isStatement(e)||ka.isClassOrTypeElement(e)),{suffix:this.newLineCharacter}}},XK.prototype.insertName=function(e,n,t){var r,a;ka.Debug.assert(!n.name),212===n.kind?(r=ka.findChildOfKind(n,38,e),(a=ka.findChildOfKind(n,20,e))?(this.insertNodesAt(e,a.getStart(e),[ka.factory.createToken(98),ka.factory.createIdentifier(t)],{joiner:" "}),iH(this,e,r)):(this.insertText(e,ka.first(n.parameters).getStart(e),"function "+t+"("),this.replaceRange(e,r,ka.factory.createToken(21))),233!==n.body.kind&&(this.insertNodesAt(e,n.body.getStart(e),[ka.factory.createToken(18),ka.factory.createToken(105)],{joiner:" ",suffix:" "}),this.insertNodesAt(e,n.body.end,[ka.factory.createToken(26),ka.factory.createToken(19)],{joiner:" "}))):(a=ka.findChildOfKind(n,211===n.kind?98:84,e).end,this.insertNodeAt(e,a,ka.factory.createIdentifier(t),{prefix:" "}))},XK.prototype.insertExportModifier=function(e,n){this.insertText(e,n.getStart(e),"export ")},XK.prototype.insertNodeInListAfter=function(e,n,t,r){if(r=void 0===r?ka.formatting.SmartIndenter.getContainingList(n,e):r){var a=ka.indexOfNode(r,n);if(!(a<0)){var i=n.getEnd();if(a!==r.length-1){var o=ka.getTokenAtPosition(e,n.end);o&&qK(n,o)&&(s=r[a+1],s=KK(e.text,s.getFullStart()),o=""+ka.tokenToString(o.kind)+e.text.substring(o.end,s),this.insertNodesAt(e,s,[t],{suffix:o}))}else{var s=n.getStart(e),c=(o=ka.getLineStartPositionForPosition(s,e),void 0),l=!1;if(1===r.length?c=27:(c=qK(n,d=ka.findPrecedingToken(n.pos,e))?d.kind:27,l=ka.getLineStartPositionForPosition(r[a-1].getStart(e),e)!==o),l=!!((e,n)=>{for(var t=n;t<e.length;){var r=e.charCodeAt(t);if(!ka.isWhiteSpaceSingleLine(r))return 47===r;t++}})(e.text,n.end)||l){this.replaceRange(e,ka.createRange(i),ka.factory.createToken(c));for(var d=ka.formatting.SmartIndenter.findFirstNonWhitespaceColumn(o,s,e,this.formatContext.options),u=ka.skipTrivia(e.text,i,!0,!1);u!==i&&ka.isLineBreak(e.text.charCodeAt(u-1));)u--;this.replaceRange(e,ka.createRange(u),t,{indentation:d,prefix:this.newLineCharacter})}else this.replaceRange(e,ka.createRange(i),t,{prefix:ka.tokenToString(c)+" "})}}}else ka.Debug.fail("node is not a list element")},XK.prototype.parenthesizeExpression=function(e,n){this.replaceRange(e,ka.rangeOfNode(n),ka.factory.createParenthesizedExpression(n))},XK.prototype.finishClassesWithNodesInsertedAtStart=function(){var e=this;this.classesWithNodesInsertedAtStart.forEach((function(n){var t=n.node,r=(n=n.sourceFile,i=t,r=n,a=ka.findChildOfKind(i,18,r),i=ka.findChildOfKind(i,19,r),[null==a?void 0:a.end,null==i?void 0:i.end]),a=r[0],i=r[1];void 0!==a&&void 0!==i&&(r=0===QK(t).length,t=ka.positionsAreOnSameLine(a,i,n),r&&t&&a!==i-1&&e.deleteRange(n,ka.createRange(a,i-1)),t)&&e.insertText(n,i-1,e.newLineCharacter)}))},XK.prototype.finishDeleteDeclarations=function(){for(var e=this,n=new ka.Set,t=this,r=0,a=this.deletedNodes;r<a.length;r++){var i=a[r];((e,r)=>{t.deletedNodes.some((function(n){return n.sourceFile===e&&ka.rangeContainsRangeExclusive(n.node,r)}))||(ka.isArray(r)?t.deleteRange(e,ka.rangeOfTypeParameters(e,r)):Ma.deleteDeclaration(t,n,e,r))})(i.sourceFile,i.node)}n.forEach((function(t){var r=t.getSourceFile(),a=ka.formatting.SmartIndenter.getContainingList(t,r);t===ka.last(a)&&-1!==(t=ka.findLastIndex(a,(function(e){return!n.has(e)}),a.length-2))&&e.deleteRange(r,{pos:a[t].end,end:YK(r,a[t+1])})}))},XK.prototype.getChanges=function(e){this.finishDeleteDeclarations(),this.finishClassesWithNodesInsertedAtStart();for(var n=wa.getTextChangesFromChanges(this.changes,this.newLineCharacter,this.formatContext,e),t=0,r=this.newFiles;t<r.length;t++){var a=r[t],i=a.oldFile;n.push(wa.newFileChanges(i,a.fileName,a.statements,this.newLineCharacter,this.formatContext))}return n},XK.prototype.createNewFile=function(e,n,t){this.newFiles.push({oldFile:e,fileName:n,statements:t})},cm.ChangeTracker=XK,cm.getNewFileText=function(e,n,t,r){return wa.newFileChangesWorker(void 0,n,e,t,r)},(tu=wa=wa||{}).getTextChangesFromChanges=function(e,n,t,r){return ka.mapDefined(ka.group(e,(function(e){return e.sourceFile.path})),(function(e){for(var a=e[0].sourceFile,i=ka.stableSort(e,(function(e,n){return e.range.pos-n.range.pos||e.range.end-n.range.end})),o=0;o<i.length-1;o++)(e=>{ka.Debug.assert(i[e].range.end<=i[e+1].range.pos,"Changes overlap",(function(){return JSON.stringify(i[e].range)+" and "+JSON.stringify(i[e+1].range)}))})(o);return e=ka.mapDefined(i,(function(e){var i=ka.createTextSpanFromRange(e.range);e=((e,n,t,r,a)=>{var i,o,s;return e.kind===Pa.Remove?"":e.kind===Pa.Text?e.text:(i=void 0===(s=e.options)?{}:s,o=e.range.pos,s=e.kind===Pa.ReplaceWithMultipleNodes?e.nodes.map((function(e){return ka.removeSuffix(c(e),t)})).join((null==(s=e.options)?void 0:s.joiner)||t):c(e.node),e=i.preserveLeadingWhitespace||void 0!==i.indentation||ka.getLineStartPositionForPosition(o,n)===o?s:s.replace(/^\s+/,""),(i.prefix||"")+e+(!i.suffix||ka.endsWith(e,i.suffix)?"":i.suffix));function c(e){var s=n,c=o,l=t,d=r,u=a,p=(_=i).indentation,m=_.prefix,_=_.delta,f=(g=$K(e,s,l)).node,g=g.text;return u&&u(f,g),u=((e,n)=>{var t=!(e=e.options).semicolons||e.semicolons===ka.SemicolonPreference.Ignore;t=e.semicolons===ka.SemicolonPreference.Remove||t&&!ka.probablyUsesSemicolons(n);return nu(nu({},e),{semicolons:t?ka.SemicolonPreference.Remove:ka.SemicolonPreference.Ignore})})(d,s),p=void 0!==p?p:ka.formatting.SmartIndenter.getIndentation(c,s,u,m===l||ka.getLineStartPositionForPosition(c,s)===c),void 0===_&&(_=ka.formatting.SmartIndenter.shouldIndentChildNode(u,e)&&u.indentSize||0),m={text:g,getLineAndCharacterOfPosition:function(e){return ka.getLineAndCharacterOfPosition(this,e)}},l=ka.formatting.formatNodeGivenIndentation(f,m,s.languageVariant,p,_,nu(nu({},d),{options:u})),eH(g,l)}})(e,a,n,t,r);if(i.length!==e.length||!ka.stringContainsAt(a.text,e,i.start))return ka.createTextChange(i,e)})),0<e.length?{fileName:a.fileName,textChanges:e}:void 0}))},tu.newFileChanges=function(e,n,t,r,a){return e=ZK(e,ka.getScriptKindFromFileName(n),t,r,a),{fileName:n,textChanges:[ka.createTextChange(ka.createTextSpan(0,0),e)],isNewFile:!0}},tu.newFileChangesWorker=ZK,tu.getNonformattedText=$K,cm.applyChanges=eH,cm.isValidLocationToAddComment=rH,(Ma||(Ma={})).deleteDeclaration=function(e,n,t,r){switch(r.kind){case 162:var a=r.parent;ka.isArrowFunction(a)&&1===a.parameters.length&&!ka.findChildOfKind(a,20,t)?e.replaceNodeWithText(t,r,"()"):oH(e,n,t,r);break;case 264:case 263:iH(e,t,r,{leadingTriviaOption:t.imports.length&&r===ka.first(t.imports).parent||r===ka.find(t.statements,ka.isAnyImportSyntax)?Ra.Exclude:ka.hasJSDocNodes(r)?Ra.JSDoc:Ra.StartLine});break;case 201:a=r.parent,200===a.kind&&r!==ka.last(a.elements)?iH(e,t,r):oH(e,n,t,r);break;case 252:var i=e,o=(a=n,t),s=r,c=s.parent;if(290===c.kind)i.deleteNodeRange(o,ka.findChildOfKind(c,20,o),ka.findChildOfKind(c,21,o));else if(1!==c.declarations.length)oH(i,a,o,s);else{var l=c.parent;switch(l.kind){case 242:case 241:i.replaceNode(o,s,ka.factory.createObjectLiteralExpression());break;case 240:iH(i,o,c);break;case 235:iH(i,o,l,{leadingTriviaOption:ka.hasJSDocNodes(l)?Ra.JSDoc:Ra.StartLine});break;default:ka.Debug.assertNever(l)}}break;case 161:oH(e,n,t,r);break;case 268:var d=r.parent;1===d.elements.length?aH(e,t,d):oH(e,n,t,r);break;case 266:aH(e,t,r);break;case 26:iH(e,t,r,{trailingTriviaOption:Oa.Exclude});break;case 98:iH(e,t,r,{leadingTriviaOption:Ra.Exclude});break;case 255:case 254:iH(e,t,r,{leadingTriviaOption:ka.hasJSDocNodes(r)?Ra.JSDoc:Ra.StartLine});break;default:var u,p,m,_;r.parent?ka.isImportClause(r.parent)&&r.parent.name===r?(d=e,u=t,(p=r.parent).namedBindings?(m=p.name.getStart(u),(_=ka.getTokenAtPosition(u,p.name.end))&&27===_.kind?(_=ka.skipTrivia(u.text,_.end,!1,!0),d.deleteRange(u,{pos:m,end:_})):iH(d,u,p.name)):iH(d,u,p.parent)):ka.isCallExpression(r.parent)&&ka.contains(r.parent.arguments,r)?oH(e,n,t,r):iH(e,t,r):iH(e,t,r)}},cm.deleteNode=iH,Ga=bY=bY||{},sm=Ga.codefix||(Ga.codefix={}),Ba=Ga.createMultiMap(),Ua=new Ga.Map,sm.createCodeFixActionWithoutFixAll=function(e,n,t){return cH(e,sH(t),n,void 0,void 0)},sm.createCodeFixAction=function(e,n,t,r,a,i){return cH(e,sH(t),n,r,sH(a),i)},sm.createCodeFixActionMaybeFixAll=function(e,n,t,r,a,i){return cH(e,sH(t),n,r,a&&sH(a),i)},sm.registerCodeFix=function(e){for(var n=0,t=e.errorCodes;n<t.length;n++){var r=t[n];Ba.add(String(r),e)}if(e.fixIds)for(var a=0,i=e.fixIds;a<i.length;a++){var o=i[a];Ga.Debug.assert(!Ua.has(o)),Ua.set(o,e)}},sm.getSupportedErrorCodes=function(){return Ga.arrayFrom(Ba.keys())},sm.getFixes=function(e){var n=uH(e),t=Ba.get(String(e.errorCode));return Ga.flatMap(t,(function(t){return Ga.map(t.getCodeActions(e),((e,n)=>{for(var t=e.errorCodes,r=0,a=0,i=n;a<i.length;a++){var o=i[a];if(Ga.contains(t,o.code)&&r++,1<r)break}var s=r<2;return function(e){var n=e.fixId,t=e.fixAllDescription;e=au(e,["fixId","fixAllDescription"]);return s?e:nu(nu({},e),{fixId:n,fixAllDescription:t})}})(t,n))}))},sm.getAllFixes=function(e){return Ua.get(Ga.cast(e.fixId,Ga.isString)).getAllCodeActions(e)},sm.createCombinedCodeActions=lH,sm.createFileTextChanges=function(e,n){return{fileName:e,textChanges:n}},sm.codeFixAll=function(e,n,t){var r=[];return lH(Ga.textChanges.ChangeTracker.with(e,(function(a){return dH(e,n,(function(e){t(a,e,r)}))})),0===r.length?void 0:r)},sm.eachDiagnostic=dH,Va=bY=bY||{},ja=Va.refactor||(Va.refactor={}),Ka=new Va.Map,ja.registerRefactor=function(e,n){Ka.set(e,n)},ja.getApplicableRefactors=function(e){return Va.arrayFrom(Va.flatMapIterator(Ka.values(),(function(n){var t;return e.cancellationToken&&e.cancellationToken.isCancellationRequested()||null==(t=n.kinds)||!t.some((function(n){return ja.refactorKindBeginsWith(n,e.kind)}))?void 0:n.getAvailableActions(e)})))},ja.getEditsForRefactor=function(e,n,t){return(n=Ka.get(n))&&n.getEditsForAction(e,t)},Ha=bY=bY||{},Wa=Ha.codefix||(Ha.codefix={}),za="addConvertToUnknownForNonOverlappingTypes",Ja=[Ha.Diagnostics.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.code],Wa.registerCodeFix({errorCodes:Ja,getCodeActions:function(e){var n=Ha.textChanges.ChangeTracker.with(e,(function(n){return pH(n,e.sourceFile,e.span.start)}));return[Wa.createCodeFixAction(za,n,Ha.Diagnostics.Add_unknown_conversion_for_non_overlapping_types,za,Ha.Diagnostics.Add_unknown_to_all_conversions_of_non_overlapping_types)]},fixIds:[za],getAllCodeActions:function(e){return Wa.codeFixAll(e,Ja,(function(e,n){return pH(e,n.file,n.start)}))}}),qa=bY=bY||{},(Xa=qa.codefix||(qa.codefix={})).registerCodeFix({errorCodes:[qa.Diagnostics.await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module.code,qa.Diagnostics.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.code],getCodeActions:function(e){var n=e.sourceFile;e=qa.textChanges.ChangeTracker.with(e,(function(e){var t=qa.factory.createExportDeclaration(void 0,void 0,!1,qa.factory.createNamedExports([]),void 0);e.insertNodeAtEndOfScope(n,n,t)}));return[Xa.createCodeFixActionWithoutFixAll("addEmptyExportDeclaration",e,qa.Diagnostics.Add_export_to_make_this_file_into_a_module)]}}),Ya=bY=bY||{},Qa=Ya.codefix||(Ya.codefix={}),Za="addMissingAsync",$a=[Ya.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,Ya.Diagnostics.Type_0_is_not_assignable_to_type_1.code,Ya.Diagnostics.Type_0_is_not_comparable_to_type_1.code],Qa.registerCodeFix({fixIds:[Za],errorCodes:$a,getCodeActions:function(e){var n,t,r=e.sourceFile,a=e.errorCode,i=e.cancellationToken,o=e.program,s=e.span;o=Ya.find(o.getDiagnosticsProducingTypeChecker().getDiagnostics(r,i),(n=s,t=a,function(e){var r=e.start,a=e.length,i=e.relatedInformation;e=e.code;return Ya.isNumber(r)&&Ya.isNumber(a)&&Ya.textSpansEqual({start:r,length:a},n)&&e===t&&!!i&&Ya.some(i,(function(e){return e.code===Ya.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code}))})),i=_H(r,o&&o.relatedInformation&&Ya.find(o.relatedInformation,(function(e){return e.code===Ya.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code})));if(i)return[mH(e,i,(function(n){return Ya.textChanges.ChangeTracker.with(e,n)}))]},getAllCodeActions:function(e){var n=e.sourceFile,t=new Ya.Set;return Qa.codeFixAll(e,$a,(function(r,a){if(a=a.relatedInformation&&Ya.find(a.relatedInformation,(function(e){return e.code===Ya.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code})),a=_H(n,a),a)return mH(e,a,(function(e){return e(r),[]}),t)}))}}),ei=bY=bY||{},ni=ei.codefix||(ei.codefix={}),ti="addMissingAwait",ri=ei.Diagnostics.Property_0_does_not_exist_on_type_1.code,ai=[ei.Diagnostics.This_expression_is_not_callable.code,ei.Diagnostics.This_expression_is_not_constructable.code],ii=eu([ei.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type.code,ei.Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,ei.Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,ei.Diagnostics.Operator_0_cannot_be_applied_to_type_1.code,ei.Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2.code,ei.Diagnostics.This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap.code,ei.Diagnostics.This_condition_will_always_return_true_since_this_0_is_always_defined.code,ei.Diagnostics.Type_0_is_not_an_array_type.code,ei.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type.code,ei.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators.code,ei.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,ei.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,ei.Diagnostics.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator.code,ei.Diagnostics.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator.code,ei.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,ri],ai,!0),ni.registerCodeFix({fixIds:[ti],errorCodes:ii,getCodeActions:function(e){var n,t,r=e.sourceFile,a=e.errorCode;r=yH(r,a,e.span,e.cancellationToken,e.program);if(r)return n=e.program.getTypeChecker(),ei.compact([fH(e,r,a,n,t=function(n){return ei.textChanges.ChangeTracker.with(e,n)}),gH(e,r,a,n,t)])},getAllCodeActions:function(e){var n=e.sourceFile,t=e.program,r=e.cancellationToken,a=e.program.getTypeChecker(),i=new ei.Set;return ni.codeFixAll(e,ii,(function(o,s){var c,l=yH(n,s.code,s,r,t);if(l)return fH(e,l,s.code,a,c=function(e){return e(o),[]},i)||gH(e,l,s.code,a,c,i)}))}}),oi=bY=bY||{},si=oi.codefix||(oi.codefix={}),ci="addMissingConst",li=[oi.Diagnostics.Cannot_find_name_0.code,oi.Diagnostics.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer.code],si.registerCodeFix({errorCodes:li,getCodeActions:function(e){var n=oi.textChanges.ChangeTracker.with(e,(function(n){return EH(n,e.sourceFile,e.span.start,e.program)}));if(0<n.length)return[si.createCodeFixAction(ci,n,oi.Diagnostics.Add_const_to_unresolved_variable,ci,oi.Diagnostics.Add_const_to_all_unresolved_variables)]},fixIds:[ci],getAllCodeActions:function(e){var n=new oi.Set;return si.codeFixAll(e,li,(function(t,r){return EH(t,r.file,r.start,e.program,n)}))}}),di=bY=bY||{},ui=di.codefix||(di.codefix={}),pi="addMissingDeclareProperty",mi=[di.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],ui.registerCodeFix({errorCodes:mi,getCodeActions:function(e){var n=di.textChanges.ChangeTracker.with(e,(function(n){return SH(n,e.sourceFile,e.span.start)}));if(0<n.length)return[ui.createCodeFixAction(pi,n,di.Diagnostics.Prefix_with_declare,pi,di.Diagnostics.Prefix_all_incorrect_property_declarations_with_declare)]},fixIds:[pi],getAllCodeActions:function(e){var n=new di.Set;return ui.codeFixAll(e,mi,(function(e,t){return SH(e,t.file,t.start,n)}))}}),_i=bY=bY||{},fi=_i.codefix||(_i.codefix={}),gi="addMissingInvocationForDecorator",yi=[_i.Diagnostics._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0.code],fi.registerCodeFix({errorCodes:yi,getCodeActions:function(e){var n=_i.textChanges.ChangeTracker.with(e,(function(n){return xH(n,e.sourceFile,e.span.start)}));return[fi.createCodeFixAction(gi,n,_i.Diagnostics.Call_decorator_expression,gi,_i.Diagnostics.Add_to_all_uncalled_decorators)]},fixIds:[gi],getAllCodeActions:function(e){return fi.codeFixAll(e,yi,(function(e,n){return xH(e,n.file,n.start)}))}}),hi=bY=bY||{},vi=hi.codefix||(hi.codefix={}),bi="addNameToNamelessParameter",Ei=[hi.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code],vi.registerCodeFix({errorCodes:Ei,getCodeActions:function(e){var n=hi.textChanges.ChangeTracker.with(e,(function(n){return LH(n,e.sourceFile,e.span.start)}));return[vi.createCodeFixAction(bi,n,hi.Diagnostics.Add_parameter_name,bi,hi.Diagnostics.Add_names_to_all_parameters_without_names)]},fixIds:[bi],getAllCodeActions:function(e){return vi.codeFixAll(e,Ei,(function(e,n){return LH(e,n.file,n.start)}))}}),Ti=bY=bY||{},Si=Ti.codefix||(Ti.codefix={}),xi="annotateWithTypeFromJSDoc",Li=[Ti.Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types.code],Si.registerCodeFix({errorCodes:Li,getCodeActions:function(e){var n,t=DH(e.sourceFile,e.span.start);if(t)return n=Ti.textChanges.ChangeTracker.with(e,(function(n){return IH(n,e.sourceFile,t)})),[Si.createCodeFixAction(xi,n,Ti.Diagnostics.Annotate_with_type_from_JSDoc,xi,Ti.Diagnostics.Annotate_everything_with_types_from_JSDoc)]},fixIds:[xi],getAllCodeActions:function(e){return Si.codeFixAll(e,Li,(function(e,n){var t=DH(n.file,n.start);t&&IH(e,n.file,t)}))}}),Si.parameterShouldGetTypeFromJSDoc=AH,Di=bY=bY||{},Ai=Di.codefix||(Di.codefix={}),Ci="convertFunctionToEs6Class",Ii=[Di.Diagnostics.This_constructor_function_may_be_converted_to_a_class_declaration.code],Ai.registerCodeFix({errorCodes:Ii,getCodeActions:function(e){var n=Di.textChanges.ChangeTracker.with(e,(function(n){return RH(n,e.sourceFile,e.span.start,e.program.getTypeChecker(),e.preferences,e.program.getCompilerOptions())}));return[Ai.createCodeFixAction(Ci,n,Di.Diagnostics.Convert_function_to_an_ES2015_class,Ci,Di.Diagnostics.Convert_all_constructor_functions_to_classes)]},fixIds:[Ci],getAllCodeActions:function(e){return Ai.codeFixAll(e,Ii,(function(n,t){return RH(n,t.file,t.start,e.program.getTypeChecker(),e.preferences,e.program.getCompilerOptions())}))}}),Ni=bY=bY||{},ki=Ni.codefix||(Ni.codefix={}),Ri="convertToAsyncFunction",Oi=[Ni.Diagnostics.This_may_be_converted_to_an_async_function.code],Pi=!0,ki.registerCodeFix({errorCodes:Oi,getCodeActions:function(e){Pi=!0;var n=Ni.textChanges.ChangeTracker.with(e,(function(n){return wH(n,e.sourceFile,e.span.start,e.program.getTypeChecker())}));return Pi?[ki.createCodeFixAction(Ri,n,Ni.Diagnostics.Convert_to_async_function,Ri,Ni.Diagnostics.Convert_all_to_async_functions)]:[]},fixIds:[Ri],getAllCodeActions:function(e){return ki.codeFixAll(e,Oi,(function(n,t){return wH(n,t.file,t.start,e.program.getTypeChecker())}))}}),wi=bY=bY||{},(Mi=wi.codefix||(wi.codefix={})).registerCodeFix({errorCodes:[wi.Diagnostics.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module.code],getCodeActions:function(e){var n=e.sourceFile,t=e.program,r=e.preferences;e=wi.textChanges.ChangeTracker.with(e,(function(e){if(((e,n,t,r,a)=>{for(var i,o={original:(e=>{var n=wi.createMultiMap();return function e(n,t){wi.isIdentifier(n)&&oW(n)&&t(n),n.forEachChild((function(n){return e(n,t)}))}(e,(function(e){return n.add(e.text,e)})),n})(e),additional:new wi.Set},s=((e,n,t)=>{var r=new wi.Map;return eW(e,(function(e){var a=e.name,i=a.text;a=a.originalKeywordKind;!r.has(i)&&(void 0!==a&&wi.isNonContextualKeyword(a)||n.resolveName(i,e,111551,!0))&&r.set(i,iW("_"+i,t))})),r})(e,n,o),c=(((e,n,t)=>{eW(e,(function(r,a){a||(a=r.name.text,t.replaceNode(e,r,wi.factory.createIdentifier(n.get(a)||a)))}))})(e,s,t),!1),l=0,d=wi.filter(e.statements,wi.isVariableStatement);l<d.length;l++){var u=d[l],p=nW(e,u,t,n,o,r,a);p&&wi.copyEntries(p,null!=i?i:i=new wi.Map)}for(var m=0,_=wi.filter(e.statements,(function(e){return!wi.isVariableStatement(e)}));m<_.length;m++){u=_[m];var f=((e,n,t,r,a,i,o,s,c)=>{switch(n.kind){case 235:return nW(e,n,r,t,a,i,c),!1;case 236:var l=n.expression;switch(l.kind){case 206:return wi.isRequireCall(l,!0)&&r.replaceNode(e,n,wi.makeImport(void 0,void 0,l.arguments[0],c)),!1;case 219:return 63===l.operatorToken.kind&&((e,n,t,r,a,i)=>{var o=t.left,s=t.right;if(wi.isPropertyAccessExpression(o))if(wi.isExportsOrModuleExportsOrAlias(e,o)){if(!wi.isExportsOrModuleExportsOrAlias(e,s))return(i=wi.isObjectLiteralExpression(s)?((e,n)=>(e=wi.mapAllOrFail(e.properties,(function(e){switch(e.kind){case 170:case 171:case 292:case 293:return;case 291:if(wi.isIdentifier(e.name)){var t=e.name.text,r=e.initializer,a=n,i=[wi.factory.createToken(93)];switch(r.kind){case 211:var o=r.name;if(o&&o.text!==t)return s();case 212:return sW(t,i,r,a);case 224:return((e,n,t,r)=>wi.factory.createClassDeclaration(wi.getSynthesizedDeepClones(t.decorators),wi.concatenate(n,wi.getSynthesizedDeepClones(t.modifiers)),e,wi.getSynthesizedDeepClones(t.typeParameters),wi.getSynthesizedDeepClones(t.heritageClauses),aW(t.members,r)))(t,i,r,a);default:return s()}function s(){return dW(i,wi.factory.createIdentifier(t),aW(r,a))}return}return;case 167:return wi.isIdentifier(e.name)?sW(e.name.text,[wi.factory.createToken(93)],e,n):void 0;default:wi.Debug.assertNever(e,"Convert to ES6 got invalid prop kind "+e.kind)}})))&&[e,!1])(s,i):wi.isRequireCall(s,!0)?((e,n)=>{var t=e.text;n=n.getSymbolAtLocation(e);return(e=n?n.exports:wi.emptyMap).has("export=")?[[rW(t)],!0]:e.has("default")?1<e.size?[[tW(t),rW(t)],!0]:[[rW(t)],!0]:[[tW(t)],!1]})(s.arguments[0],n):void 0)?(r.replaceNodeWithNodes(e,t.parent,i[0]),i[1]):(r.replaceRangeWithText(e,wi.createRange(o.getStart(e),s.pos),"export default"),!0);r.delete(e,t.parent)}else wi.isExportsOrModuleExportsOrAlias(e,o.expression)&&(n=e,i=t,s=r,o=a,e=i.left.name.text,void 0!==(o=o.get(e))?(o=[dW(void 0,o,i.right),uW([wi.factory.createExportSpecifier(o,e)])],s.replaceNodeWithNodes(n,i.parent,o)):(e=n,o=s,s=(n=i).left,t=i.right,n=i.parent,i=s.name.text,!(wi.isFunctionExpression(t)||wi.isArrowFunction(t)||wi.isClassExpression(t))||t.name&&t.name.text!==i?o.replaceNodeRangeWithNodes(e,s.expression,wi.findChildOfKind(s,24,e),[wi.factory.createToken(93),wi.factory.createToken(85)],{joiner:" ",suffix:" "}):(o.replaceRange(e,{pos:s.getStart(e),end:t.getStart(e)},wi.factory.createToken(93),{suffix:" "}),t.name||o.insertName(e,t,i),(s=wi.findChildOfKind(n,26,e))&&o.delete(e,s))));return!1})(e,t,l,r,o,s)}default:return!1}})(e,u,n,t,o,r,s,i,a);c=c||f}return null==i||i.forEach((function(n,r){t.replaceNode(e,r,n)})),c})(n,t.getTypeChecker(),e,t.getCompilerOptions().target,wi.getQuotePreference(n,r)))for(var a=0,i=t.getSourceFiles();a<i.length;a++)for(var o=i[a],s=(f=_=m=p=u=d=l=c=s=void 0,o),c=n,l=e,d=wi.getQuotePreference(o,r),u=0,p=s.imports;u<p.length;u++){var m=p[u],_=wi.getResolvedModule(s,m.text);if(_&&_.resolvedFileName===c.fileName){var f=wi.importFromModuleSpecifier(m);switch(f.kind){case 263:l.replaceNode(s,f,wi.makeImport(f.name,void 0,m,d));break;case 206:wi.isRequireCall(f,!1)&&l.replaceNode(s,f,wi.factory.createPropertyAccessExpression(wi.getSynthesizedDeepClone(f),"default"))}}}}));return[Mi.createCodeFixActionWithoutFixAll("convertToEs6Module",e,wi.Diagnostics.Convert_to_ES6_module)]}}),Fi=bY=bY||{},Gi=Fi.codefix||(Fi.codefix={}),Bi="correctQualifiedNameToIndexedAccessType",Ui=[Fi.Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1.code],Gi.registerCodeFix({errorCodes:Ui,getCodeActions:function(e){var n,t,r=mW(e.sourceFile,e.span.start);if(r)return n=Fi.textChanges.ChangeTracker.with(e,(function(n){return _W(n,e.sourceFile,r)})),t=r.left.text+'["'+r.right.text+'"]',[Gi.createCodeFixAction(Bi,n,[Fi.Diagnostics.Rewrite_as_the_indexed_access_type_0,t],Bi,Fi.Diagnostics.Rewrite_all_as_indexed_access_types)]},fixIds:[Bi],getAllCodeActions:function(e){return Gi.codeFixAll(e,Ui,(function(e,n){var t=mW(n.file,n.start);t&&_W(e,n.file,t)}))}}),Vi=bY=bY||{},ji=Vi.codefix||(Vi.codefix={}),Ki=[Vi.Diagnostics.Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type.code],Hi="convertToTypeOnlyExport",ji.registerCodeFix({errorCodes:Ki,getCodeActions:function(e){var n=Vi.textChanges.ChangeTracker.with(e,(function(n){return gW(n,fW(e.span,e.sourceFile),e)}));if(n.length)return[ji.createCodeFixAction(Hi,n,Vi.Diagnostics.Convert_to_type_only_export,Hi,Vi.Diagnostics.Convert_all_re_exported_types_to_type_only_exports)]},fixIds:[Hi],getAllCodeActions:function(e){var n=new Vi.Map;return ji.codeFixAll(e,Ki,(function(t,r){r=fW(r,e.sourceFile),r&&Vi.addToSeen(n,Vi.getNodeId(r.parent.parent))&&gW(t,r,e)}))}}),Wi=bY=bY||{},zi=Wi.codefix||(Wi.codefix={}),Ji=[Wi.Diagnostics.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error.code],qi="convertToTypeOnlyImport",zi.registerCodeFix({errorCodes:Ji,getCodeActions:function(e){var n=Wi.textChanges.ChangeTracker.with(e,(function(n){hW(n,yW(e.span,e.sourceFile),e)}));if(n.length)return[zi.createCodeFixAction(qi,n,Wi.Diagnostics.Convert_to_type_only_import,qi,Wi.Diagnostics.Convert_all_imports_not_used_as_a_value_to_type_only_imports)]},fixIds:[qi],getAllCodeActions:function(e){return zi.codeFixAll(e,Ji,(function(n,t){hW(n,yW(t,e.sourceFile),e)}))}}),Xi=bY=bY||{},Yi=Xi.codefix||(Xi.codefix={}),Qi="convertLiteralTypeToMappedType",Zi=[Xi.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0.code],Yi.registerCodeFix({errorCodes:Zi,getCodeActions:function(e){var n,t,r=e.sourceFile,a=vW(r,e.span.start);if(a)return n=a.name,t=a.constraint,e=Xi.textChanges.ChangeTracker.with(e,(function(e){return bW(e,r,a)})),[Yi.createCodeFixAction(Qi,e,[Xi.Diagnostics.Convert_0_to_1_in_0,t,n],Qi,Xi.Diagnostics.Convert_all_type_literals_to_mapped_type)]},fixIds:[Qi],getAllCodeActions:function(e){return Yi.codeFixAll(e,Zi,(function(e,n){var t=vW(n.file,n.start);t&&bW(e,n.file,t)}))}}),$i=bY=bY||{},eo=$i.codefix||($i.codefix={}),no=[$i.Diagnostics.Class_0_incorrectly_implements_interface_1.code,$i.Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code],to="fixClassIncorrectlyImplementsInterface",eo.registerCodeFix({errorCodes:no,getCodeActions:function(e){var n=e.sourceFile,t=EW(n,e.span.start);return $i.mapDefined($i.getEffectiveImplementsTypeNodes(t),(function(r){var a=$i.textChanges.ChangeTracker.with(e,(function(a){return SW(e,r,n,t,a,e.preferences)}));return 0===a.length?void 0:eo.createCodeFixAction(to,a,[$i.Diagnostics.Implement_interface_0,r.getText(n)],to,$i.Diagnostics.Implement_all_unimplemented_interfaces)}))},fixIds:[to],getAllCodeActions:function(e){var n=new $i.Map;return eo.codeFixAll(e,no,(function(t,r){var a=EW(r.file,r.start);if($i.addToSeen(n,$i.getNodeId(a)))for(var i=0,o=$i.getEffectiveImplementsTypeNodes(a);i<o.length;i++){var s=o[i];SW(e,s,r.file,a,t,e.preferences)}}))}}),ro=bY=bY||{},(ao=ro.codefix||(ro.codefix={})).importFixName="import",io="fixMissingImport",oo=[ro.Diagnostics.Cannot_find_name_0.code,ro.Diagnostics.Cannot_find_name_0_Did_you_mean_1.code,ro.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,ro.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,ro.Diagnostics.Cannot_find_namespace_0.code,ro.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code,ro.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here.code,ro.Diagnostics.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer.code],ao.registerCodeFix({errorCodes:oo,getCodeActions:function(e){var n,t,r,a=e.errorCode,i=e.preferences,o=e.sourceFile;a=NW(e,a,e.span.start,!0);if(a)return n=a.fixes,t=a.symbolName,r=ro.getQuotePreference(o,i),n.map((function(n){return PW(e,o,t,n,r)}))},fixIds:[io],getAllCodeActions:function(e){var n=xW(e.sourceFile,e.program,!0,e.preferences,e.host);return ao.eachDiagnostic(e,oo,(function(t){return n.addImportFromDiagnostic(t,e)})),ao.createCombinedCodeActions(ro.textChanges.ChangeTracker.with(e,n.writeFixes))}}),ao.createImportAdder=function(e,n,t,r){return xW(e,n,!1,t,r)},ao.getImportCompletionAction=function(e,n,t,r,a,i,o,s,c){var l=i.getCompilerOptions(),d=(e=ro.pathIsBareSpecifier(ro.stripQuotes(n.name))?[((e,n,t,r)=>{var a=t.getCompilerOptions();return(t=i(t.getTypeChecker(),!1))||(r=null==(t=null==(t=r.getPackageJsonAutoImportProvider)?void 0:t.call(r))?void 0:t.getTypeChecker(),ro.Debug.checkDefined(r&&i(r,!0),"Could not find symbol in specified module for code actions"));function i(t,r){var i=ro.getDefaultLikeExportInfo(n,t,a);return i&&ro.skipAlias(i.symbol,t)===e?{symbol:i.symbol,moduleSymbol:n,moduleFileName:void 0,exportKind:i.exportKind,targetFlags:ro.skipAlias(e,t).flags,isFromPackageJson:r}:(i=t.tryGetMemberInModuleExportsAndProperties(e.name,n))&&ro.skipAlias(i,t)===e?{symbol:i,moduleSymbol:n,moduleFileName:void 0,exportKind:0,targetFlags:ro.skipAlias(e,t).flags,isFromPackageJson:r}:void 0}})(e,n,i,a)]:DW(t,e,n,r,a,i,c,!0),CW(t,i));l=2===l.importsNotUsedAsValues&&!ro.isSourceFileJS(t)&&ro.isValidTypeOnlyAliasUseSite(ro.getTokenAtPosition(t,s));return{moduleSpecifier:(e=ro.Debug.checkDefined(LW(t,e,n,r,i,s,l,d,a,c))).moduleSpecifier,codeAction:{description:(n=PW({host:a,formatContext:o,preferences:c},t,r,e,ro.getQuotePreference(t,c))).description,changes:n.changes,commands:n.commands}}},ao.getModuleSpecifierForBestExportInfo=function(e,n,t,r,a,i){return e=IW(t,n,void 0,!1,!1,e,r,a,i),i=e.fixes,e=e.computedWithoutCacheCount,(i=kW(i,n,t,r,a))&&nu(nu({},i),{computedWithoutCacheCount:e})},ao.getImportKind=OW,ao.moduleSymbolToValidIdentifier=KW,ao.moduleSpecifierToValidIdentifier=HW,so=bY=bY||{},co=so.codefix||(so.codefix={}),lo="fixOverrideModifier",OY="fixAddOverrideModifier",tu="fixRemoveOverrideModifier",uo=[so.Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code,so.Diagnostics.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code,so.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code,so.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code,so.Diagnostics.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code],(cm={})[so.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code]=[so.Diagnostics.Add_override_modifier,OY,so.Diagnostics.Add_all_missing_override_modifiers],cm[so.Diagnostics.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code]=[so.Diagnostics.Remove_override_modifier,tu,so.Diagnostics.Remove_all_unnecessary_override_modifiers],cm[so.Diagnostics.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code]=[so.Diagnostics.Add_override_modifier,OY,so.Diagnostics.Add_all_missing_override_modifiers],cm[so.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code]=[so.Diagnostics.Add_override_modifier,OY,so.Diagnostics.Remove_all_unnecessary_override_modifiers],cm[so.Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code]=[so.Diagnostics.Remove_override_modifier,tu,so.Diagnostics.Remove_all_unnecessary_override_modifiers],po=cm,co.registerCodeFix({errorCodes:uo,getCodeActions:function(e){var n,t,r,a=e.errorCode,i=e.span,o=po[a];return!o||(n=o[0],t=o[1],o=o[2],so.isSourceFileJS(e.sourceFile))?so.emptyArray:(r=so.textChanges.ChangeTracker.with(e,(function(n){return WW(n,e,a,i.start)})),[co.createCodeFixActionMaybeFixAll(lo,r,n,t,o)])},fixIds:[lo,OY,tu],getAllCodeActions:function(e){return co.codeFixAll(e,uo,(function(n,t){var r=t.code,a=t.start,i=po[r];i&&i[1]===e.fixId&&!so.isSourceFileJS(t.file)&&WW(n,e,r,a)}))}}),mo=bY=bY||{},_o=mo.codefix||(mo.codefix={}),fo="fixNoPropertyAccessFromIndexSignature",go=[mo.Diagnostics.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0.code],_o.registerCodeFix({errorCodes:go,fixIds:[fo],getCodeActions:function(e){var n=e.sourceFile,t=e.preferences,r=XW(n,e.span.start);n=mo.textChanges.ChangeTracker.with(e,(function(n){return qW(n,e.sourceFile,r,t)}));return[_o.createCodeFixAction(fo,n,[mo.Diagnostics.Use_element_access_for_0,r.name.text],fo,mo.Diagnostics.Use_element_access_for_all_undeclared_properties)]},getAllCodeActions:function(e){return _o.codeFixAll(e,go,(function(n,t){return qW(n,t.file,XW(t.file,t.start),e.preferences)}))}}),yo=bY=bY||{},ho=yo.codefix||(yo.codefix={}),vo="fixImplicitThis",bo=[yo.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code],ho.registerCodeFix({errorCodes:bo,getCodeActions:function(e){var n,t=e.sourceFile,r=e.program,a=e.span;e=yo.textChanges.ChangeTracker.with(e,(function(e){n=YW(e,t,a.start,r.getTypeChecker())}));return n?[ho.createCodeFixAction(vo,e,n,vo,yo.Diagnostics.Fix_all_implicit_this_errors)]:yo.emptyArray},fixIds:[vo],getAllCodeActions:function(e){return ho.codeFixAll(e,bo,(function(n,t){YW(n,t.file,t.start,e.program.getTypeChecker())}))}}),Eo=bY=bY||{},To=Eo.codefix||(Eo.codefix={}),So="fixIncorrectNamedTupleSyntax",sm=[Eo.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,Eo.Diagnostics.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type.code],To.registerCodeFix({errorCodes:sm,getCodeActions:function(e){var n=e.sourceFile,t=((e,n)=>(e=Eo.getTokenAtPosition(e,n),Eo.findAncestor(e,(function(e){return 195===e.kind}))))(n,e.span.start);e=Eo.textChanges.ChangeTracker.with(e,(function(e){var r=n,a=t;if(a){for(var i=a.type,o=!1,s=!1;183===i.kind||184===i.kind||189===i.kind;)183===i.kind?o=!0:184===i.kind&&(s=!0),i=i.type;var c=Eo.factory.updateNamedTupleMember(a,a.dotDotDotToken||(s?Eo.factory.createToken(25):void 0),a.name,a.questionToken||(o?Eo.factory.createToken(57):void 0),i);c!==a&&e.replaceNode(r,a,c)}}));return[To.createCodeFixAction(So,e,Eo.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels,So,Eo.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels)]},fixIds:[So]}),xo=bY=bY||{},Lo=xo.codefix||(xo.codefix={}),Do="fixSpelling",Ao=[xo.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,xo.Diagnostics.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,xo.Diagnostics.Cannot_find_name_0_Did_you_mean_1.code,xo.Diagnostics.Could_not_find_name_0_Did_you_mean_1.code,xo.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,xo.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,xo.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2.code,xo.Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,xo.Diagnostics.No_overload_matches_this_call.code,xo.Diagnostics.Type_0_is_not_assignable_to_type_1.code],Lo.registerCodeFix({errorCodes:Ao,getCodeActions:function(e){var n,t,r,a=e.sourceFile,i=QW(a,e.span.start,e,e.errorCode);if(i)return n=i.node,t=i.suggestedSymbol,r=e.host.getCompilationSettings().target,i=xo.textChanges.ChangeTracker.with(e,(function(e){return ZW(e,a,n,t,r)})),[Lo.createCodeFixAction("spelling",i,[xo.Diagnostics.Change_spelling_to_0,xo.symbolName(t)],Do,xo.Diagnostics.Fix_all_detected_spelling_errors)]},fixIds:[Do],getAllCodeActions:function(e){return Lo.codeFixAll(e,Ao,(function(n,t){t=QW(t.file,t.start,e,t.code);var r=e.host.getCompilationSettings().target;t&&ZW(n,e.sourceFile,t.node,t.suggestedSymbol,r)}))}}),Co=bY=bY||{},Io=Co.codefix||(Co.codefix={}),ko="returnValueCorrect",Ro="fixAddReturnStatement",Oo="fixRemoveBracesFromArrowFunctionBody",Po="fixWrapTheBlockWithParen",wo=[Co.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code,Co.Diagnostics.Type_0_is_not_assignable_to_type_1.code,Co.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code],(cm=No=No||{})[cm.MissingReturnStatement=0]="MissingReturnStatement",cm[cm.MissingParentheses=1]="MissingParentheses",Io.registerCodeFix({errorCodes:wo,fixIds:[Ro,Oo,Po],getCodeActions:function(e){var n,t,r,a,i,o,s,c,l,d,u=e.program,p=e.sourceFile,m=e.span.start,_=e.errorCode;u=tz(u.getTypeChecker(),p,m,_);if(u)return u.kind===No.MissingReturnStatement?Co.append([(c=e,l=u.expression,d=u.statement,p=Co.textChanges.ChangeTracker.with(c,(function(e){return rz(e,c.sourceFile,l,d)})),Io.createCodeFixAction(ko,p,Co.Diagnostics.Add_a_return_statement,Ro,Co.Diagnostics.Add_all_missing_return_statement))],Co.isArrowFunction(u.declaration)?(a=e,i=u.declaration,o=u.expression,s=u.commentSource,m=Co.textChanges.ChangeTracker.with(a,(function(e){return az(e,a.sourceFile,i,o,s,!1)})),Io.createCodeFixAction(ko,m,Co.Diagnostics.Remove_braces_from_arrow_function_body,Oo,Co.Diagnostics.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues)):void 0):[(n=e,t=u.declaration,r=u.expression,_=Co.textChanges.ChangeTracker.with(n,(function(e){return iz(e,n.sourceFile,t,r)})),Io.createCodeFixAction(ko,_,Co.Diagnostics.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal,Po,Co.Diagnostics.Wrap_all_object_literal_with_parentheses))]},getAllCodeActions:function(e){return Io.codeFixAll(e,wo,(function(n,t){var r=tz(e.program.getTypeChecker(),t.file,t.start,t.code);if(r)switch(e.fixId){case Ro:rz(n,t.file,r.expression,r.statement);break;case Oo:Co.isArrowFunction(r.declaration)&&az(n,t.file,r.declaration,r.expression,r.commentSource,!1);break;case Po:Co.isArrowFunction(r.declaration)&&iz(n,t.file,r.declaration,r.expression);break;default:Co.Debug.fail(JSON.stringify(e.fixId))}}))}}),Mo=bY=bY||{},Fo=Mo.codefix||(Mo.codefix={}),Go="fixMissingMember",Bo="fixMissingProperties",Uo="fixMissingAttributes",Vo="fixMissingFunctionDeclaration",jo=[Mo.Diagnostics.Property_0_does_not_exist_on_type_1.code,Mo.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,Mo.Diagnostics.Property_0_is_missing_in_type_1_but_required_in_type_2.code,Mo.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2.code,Mo.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more.code,Mo.Diagnostics.Cannot_find_name_0.code],Fo.registerCodeFix({errorCodes:jo,getCodeActions:function(e){var n,t=e.program.getTypeChecker(),r=oz(e.sourceFile,e.span.start,t,e.program);if(r)return 3===r.kind?(n=Mo.textChanges.ChangeTracker.with(e,(function(n){return yz(n,e,r)})),[Fo.createCodeFixAction(Bo,n,Mo.Diagnostics.Add_missing_properties,Bo,Mo.Diagnostics.Add_all_missing_properties)]):4===r.kind?(n=Mo.textChanges.ChangeTracker.with(e,(function(n){return gz(n,e,r)})),[Fo.createCodeFixAction(Uo,n,Mo.Diagnostics.Add_missing_attributes,Uo,Mo.Diagnostics.Add_all_missing_attributes)]):2===r.kind?(n=Mo.textChanges.ChangeTracker.with(e,(function(n){return fz(n,e,r)})),[Fo.createCodeFixAction(Vo,n,[Mo.Diagnostics.Add_missing_function_declaration_0,r.token.text],Vo,Mo.Diagnostics.Add_all_missing_function_declarations)]):0===r.kind?(n=Mo.textChanges.ChangeTracker.with(e,(function(n){return _z(n,e.program.getTypeChecker(),r)})),[Fo.createCodeFixAction(Go,n,[Mo.Diagnostics.Add_missing_enum_member_0,r.token.text],Go,Mo.Diagnostics.Add_all_missing_members)]):Mo.concatenate(((e,n)=>{var t,r=n.parentDeclaration,a=n.declSourceFile,i=n.modifierFlags,o=n.token,s=n.call;if(void 0!==s&&!Mo.isPrivateIdentifier(o))return n=o.text,t=[Fo.createCodeFixAction(Go,c(32&i),[32&i?Mo.Diagnostics.Declare_static_method_0:Mo.Diagnostics.Declare_method_0,n],Go,Mo.Diagnostics.Add_all_missing_members)],8&i&&t.unshift(Fo.createCodeFixActionWithoutFixAll(Go,c(8),[Mo.Diagnostics.Declare_private_method_0,n])),t;function c(n){return Mo.textChanges.ChangeTracker.with(e,(function(t){return mz(e,t,s,o,n,r,a)}))}})(e,r),(t=e,(n=r).isJSFile?Mo.singleElementArray(((e,n)=>{var t=n.parentDeclaration,r=n.declSourceFile,a=n.modifierFlags,i=n.token;if(!Mo.isInterfaceDeclaration(t)&&0!==(n=Mo.textChanges.ChangeTracker.with(e,(function(e){return cz(e,r,t,i,!!(32&a))}))).length)return e=32&a?Mo.Diagnostics.Initialize_static_property_0:Mo.isPrivateIdentifier(i)?Mo.Diagnostics.Declare_a_private_field_named_0:Mo.Diagnostics.Initialize_property_0_in_the_constructor,Fo.createCodeFixAction(Go,n,[e,i.text],Go,Mo.Diagnostics.Add_all_missing_members)})(t,n)):((e,n)=>{function t(n){return Mo.textChanges.ChangeTracker.with(e,(function(e){return uz(e,a,r,o,c,n)}))}var r=n.parentDeclaration,a=n.declSourceFile,i=n.modifierFlags,o=(n=n.token).text,s=32&i,c=dz(e.program.getTypeChecker(),r,n),l=[Fo.createCodeFixAction(Go,t(32&i),[s?Mo.Diagnostics.Declare_static_property_0:Mo.Diagnostics.Declare_property_0,o],Go,Mo.Diagnostics.Add_all_missing_members)];return s||Mo.isPrivateIdentifier(n)||(8&i&&l.unshift(Fo.createCodeFixActionWithoutFixAll(Go,t(8),[Mo.Diagnostics.Declare_private_property_0,o])),l.push(((e,n,t,r,a)=>{var i=Mo.factory.createKeywordTypeNode(148),o=(i=Mo.factory.createParameterDeclaration(void 0,void 0,void 0,"x",void 0,i,void 0),Mo.factory.createIndexSignature(void 0,void 0,[i],a));i=Mo.textChanges.ChangeTracker.with(e,(function(e){return e.insertNodeAtClassStart(n,t,o)}));return Fo.createCodeFixActionWithoutFixAll(Go,i,[Mo.Diagnostics.Add_index_signature_for_property_0,r])})(e,a,r,n.text,c))),l})(t,n)))},fixIds:[Go,Vo,Bo,Uo],getAllCodeActions:function(e){var n=e.program,t=e.fixId,r=n.getTypeChecker(),a=new Mo.Map,i=new Mo.Map;return Fo.createCombinedCodeActions(Mo.textChanges.ChangeTracker.with(e,(function(o){Fo.eachDiagnostic(e,jo,(function(n){var s,c;n=oz(n.file,n.start,r,e.program);n&&Mo.addToSeen(a,Mo.getNodeId(n.parentDeclaration)+"#"+n.token.text)&&(t===Vo&&2===n.kind?fz(o,e,n):t===Bo&&3===n.kind?yz(o,e,n):t===Uo&&4===n.kind?gz(o,e,n):(0===n.kind&&_z(o,r,n),1===n.kind&&(c=n.parentDeclaration,s=n.token,(c=Mo.getOrUpdate(i,c,(function(){return[]}))).some((function(e){return e.token.text===s.text}))||c.push(n))))})),i.forEach((function(t,a){for(var s=Fo.getAllSupers(a,r),c=0,l=t;c<l.length;c++)(t=>{if(!s.some((function(e){return e=i.get(e),!!e&&e.some((function(e){return e.token.text===t.token.text}))}))){var r=t.parentDeclaration,a=t.declSourceFile,c=t.modifierFlags,l=t.token,d=t.call,u=t.isJSFile;d&&!Mo.isPrivateIdentifier(l)?mz(e,o,d,l,32&c,r,a):u&&!Mo.isInterfaceDeclaration(r)?cz(o,a,r,l,!!(32&c)):(d=dz(n.getTypeChecker(),r,l),uz(o,a,r,l.text,d,32&c))}})(l[c])}))})))}}),Ko=bY=bY||{},Ho=Ko.codefix||(Ko.codefix={}),Wo="addMissingNewOperator",zo=[Ko.Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new.code],Ho.registerCodeFix({errorCodes:zo,getCodeActions:function(e){var n=e.sourceFile,t=e.span;e=Ko.textChanges.ChangeTracker.with(e,(function(e){return bz(e,n,t)}));return[Ho.createCodeFixAction(Wo,e,Ko.Diagnostics.Add_missing_new_operator_to_call,Wo,Ko.Diagnostics.Add_missing_new_operator_to_all_calls)]},fixIds:[Wo],getAllCodeActions:function(e){return Ho.codeFixAll(e,zo,(function(n,t){return bz(n,e.sourceFile,t)}))}}),Jo=bY=bY||{},qo=Jo.codefix||(Jo.codefix={}),Xo="installTypesPackage",Yo=Jo.Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations.code,Qo=[Yo,Jo.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type.code],qo.registerCodeFix({errorCodes:Qo,getCodeActions:function(e){var n=e.host,t=e.sourceFile,r=Tz(t,e.span.start);if(void 0!==r)return void 0===(r=Sz(r,n,e.errorCode))?[]:[qo.createCodeFixAction("fixCannotFindModule",[],[Jo.Diagnostics.Install_0,r],Xo,Jo.Diagnostics.Install_all_missing_types_packages,Ez(t.fileName,r))]},fixIds:[Xo],getAllCodeActions:function(e){return qo.codeFixAll(e,Qo,(function(n,t,r){var a=Tz(t.file,t.start);void 0!==a&&(e.fixId===Xo?(a=Sz(a,e.host,t.code))&&r.push(Ez(t.file.fileName,a)):Jo.Debug.fail("Bad fixId: "+e.fixId))}))}}),Zo=bY=bY||{},$o=Zo.codefix||(Zo.codefix={}),es=[Zo.Diagnostics.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2.code,Zo.Diagnostics.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1.code],ns="fixClassDoesntImplementInheritedAbstractMember",$o.registerCodeFix({errorCodes:es,getCodeActions:function(e){var n=e.sourceFile,t=e.span,r=Zo.textChanges.ChangeTracker.with(e,(function(r){return Lz(xz(n,t.start),n,e,r,e.preferences)}));return 0===r.length?void 0:[$o.createCodeFixAction(ns,r,Zo.Diagnostics.Implement_inherited_abstract_class,ns,Zo.Diagnostics.Implement_all_inherited_abstract_classes)]},fixIds:[ns],getAllCodeActions:function(e){var n=new Zo.Map;return $o.codeFixAll(e,es,(function(t,r){r=xz(r.file,r.start),Zo.addToSeen(n,Zo.getNodeId(r))&&Lz(r,e.sourceFile,e,t,e.preferences)}))}}),ts=bY=bY||{},rs=ts.codefix||(ts.codefix={}),as="classSuperMustPrecedeThisAccess",is=[ts.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class.code],rs.registerCodeFix({errorCodes:is,getCodeActions:function(e){var n,t,r=e.sourceFile,a=Cz(r,e.span.start);if(a)return n=a.constructor,t=a.superCall,a=ts.textChanges.ChangeTracker.with(e,(function(e){return Az(e,r,n,t)})),[rs.createCodeFixAction(as,a,ts.Diagnostics.Make_super_call_the_first_statement_in_the_constructor,as,ts.Diagnostics.Make_all_super_calls_the_first_statement_in_their_constructor)]},fixIds:[as],getAllCodeActions:function(e){var n=e.sourceFile,t=new ts.Map;return rs.codeFixAll(e,is,(function(e,r){var a;r=Cz(r.file,r.start);r&&(a=r.constructor,r=r.superCall,ts.addToSeen(t,ts.getNodeId(a.parent)))&&Az(e,n,a,r)}))}}),os=bY=bY||{},ss=os.codefix||(os.codefix={}),cs="constructorForDerivedNeedSuperCall",ls=[os.Diagnostics.Constructors_for_derived_classes_must_contain_a_super_call.code],ss.registerCodeFix({errorCodes:ls,getCodeActions:function(e){var n=e.sourceFile,t=Nz(n,e.span.start);e=os.textChanges.ChangeTracker.with(e,(function(e){return kz(e,n,t)}));return[ss.createCodeFixAction(cs,e,os.Diagnostics.Add_missing_super_call,cs,os.Diagnostics.Add_all_missing_super_calls)]},fixIds:[cs],getAllCodeActions:function(e){return ss.codeFixAll(e,ls,(function(n,t){return kz(n,e.sourceFile,Nz(t.file,t.start))}))}}),ds=bY=bY||{},us=ds.codefix||(ds.codefix={}),ps="enableExperimentalDecorators",ms=[ds.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.code],us.registerCodeFix({errorCodes:ms,getCodeActions:function(e){var n=e.program.getCompilerOptions().configFile;if(void 0!==n)return e=ds.textChanges.ChangeTracker.with(e,(function(e){return Rz(e,n)})),[us.createCodeFixActionWithoutFixAll(ps,e,ds.Diagnostics.Enable_the_experimentalDecorators_option_in_your_configuration_file)]},fixIds:[ps],getAllCodeActions:function(e){return us.codeFixAll(e,ms,(function(n){var t=e.program.getCompilerOptions().configFile;void 0!==t&&Rz(n,t)}))}}),_s=bY=bY||{},fs=_s.codefix||(_s.codefix={}),gs="fixEnableJsxFlag",ys=[_s.Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided.code],fs.registerCodeFix({errorCodes:ys,getCodeActions:function(e){var n=e.program.getCompilerOptions().configFile;if(void 0!==n)return e=_s.textChanges.ChangeTracker.with(e,(function(e){return Oz(e,n)})),[fs.createCodeFixActionWithoutFixAll(gs,e,_s.Diagnostics.Enable_the_jsx_flag_in_your_configuration_file)]},fixIds:[gs],getAllCodeActions:function(e){return fs.codeFixAll(e,ys,(function(n){var t=e.program.getCompilerOptions().configFile;void 0!==t&&Oz(n,t)}))}}),hs=bY=bY||{},(vs=hs.codefix||(hs.codefix={})).registerCodeFix({errorCodes:[hs.Diagnostics.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.code,hs.Diagnostics.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.code],getCodeActions:function(e){var n,t,r,a=e.program.getCompilerOptions(),i=a.configFile;if(void 0!==i)return n=[],(t=hs.getEmitModuleKind(a))>=hs.ModuleKind.ES2015&&t<hs.ModuleKind.ESNext&&(r=hs.textChanges.ChangeTracker.with(e,(function(e){vs.setJsonCompilerOptionValue(e,i,"module",hs.factory.createStringLiteral("esnext"))})),n.push(vs.createCodeFixActionWithoutFixAll("fixModuleOption",r,[hs.Diagnostics.Set_the_module_option_in_your_configuration_file_to_0,"esnext"]))),((a=hs.getEmitScriptTarget(a))<4||99<a)&&(r=hs.textChanges.ChangeTracker.with(e,(function(e){var n;hs.getTsConfigObjectLiteralExpression(i)&&(n=[["target",hs.factory.createStringLiteral("es2017")]],t===hs.ModuleKind.CommonJS&&n.push(["module",hs.factory.createStringLiteral("commonjs")]),vs.setJsonCompilerOptionValues(e,i,n))})),n.push(vs.createCodeFixActionWithoutFixAll("fixTargetOption",r,[hs.Diagnostics.Set_the_target_option_in_your_configuration_file_to_0,"es2017"]))),n.length?n:void 0}}),bs=bY=bY||{},Es=bs.codefix||(bs.codefix={}),Ts="fixPropertyAssignment",Ss=[bs.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],Es.registerCodeFix({errorCodes:Ss,fixIds:[Ts],getCodeActions:function(e){var n=wz(e.sourceFile,e.span.start),t=bs.textChanges.ChangeTracker.with(e,(function(t){return Pz(t,e.sourceFile,n)}));return[Es.createCodeFixAction(Ts,t,[bs.Diagnostics.Change_0_to_1,"=",":"],Ts,[bs.Diagnostics.Switch_each_misused_0_to_1,"=",":"])]},getAllCodeActions:function(e){return Es.codeFixAll(e,Ss,(function(e,n){return Pz(e,n.file,wz(n.file,n.start))}))}}),xs=bY=bY||{},Ls=xs.codefix||(xs.codefix={}),Ds="extendsInterfaceBecomesImplements",As=[xs.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements.code],Ls.registerCodeFix({errorCodes:As,getCodeActions:function(e){var n,t,r=e.sourceFile,a=Mz(r,e.span.start);if(a)return n=a.extendsToken,t=a.heritageClauses,a=xs.textChanges.ChangeTracker.with(e,(function(e){return Fz(e,r,n,t)})),[Ls.createCodeFixAction(Ds,a,xs.Diagnostics.Change_extends_to_implements,Ds,xs.Diagnostics.Change_all_extended_interfaces_to_implements)]},fixIds:[Ds],getAllCodeActions:function(e){return Ls.codeFixAll(e,As,(function(e,n){var t=Mz(n.file,n.start);t&&Fz(e,n.file,t.extendsToken,t.heritageClauses)}))}}),Cs=bY=bY||{},Is=Cs.codefix||(Cs.codefix={}),Ns="forgottenThisPropertyAccess",ks=Cs.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,Rs=[Cs.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,Cs.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies.code,ks],Is.registerCodeFix({errorCodes:Rs,getCodeActions:function(e){var n=e.sourceFile,t=Gz(n,e.span.start,e.errorCode);if(t)return e=Cs.textChanges.ChangeTracker.with(e,(function(e){return Bz(e,n,t)})),[Is.createCodeFixAction(Ns,e,[Cs.Diagnostics.Add_0_to_unresolved_variable,t.className||"this"],Ns,Cs.Diagnostics.Add_qualifier_to_all_unresolved_variables_matching_a_member_name)]},fixIds:[Ns],getAllCodeActions:function(e){return Is.codeFixAll(e,Rs,(function(n,t){t=Gz(t.file,t.start,t.code),t&&Bz(n,e.sourceFile,t)}))}}),Os=bY=bY||{},Ps=Os.codefix||(Os.codefix={}),ws="fixInvalidJsxCharacters_expression",Ms="fixInvalidJsxCharacters_htmlEntity",Fs=[Os.Diagnostics.Unexpected_token_Did_you_mean_or_gt.code,Os.Diagnostics.Unexpected_token_Did_you_mean_or_rbrace.code],Ps.registerCodeFix({errorCodes:Fs,fixIds:[ws,Ms],getCodeActions:function(e){var n=e.sourceFile,t=e.preferences,r=e.span,a=Os.textChanges.ChangeTracker.with(e,(function(e){return Uz(e,t,n,r.start,!1)}));e=Os.textChanges.ChangeTracker.with(e,(function(e){return Uz(e,t,n,r.start,!0)}));return[Ps.createCodeFixAction(ws,a,Os.Diagnostics.Wrap_invalid_character_in_an_expression_container,ws,Os.Diagnostics.Wrap_all_invalid_characters_in_an_expression_container),Ps.createCodeFixAction(Ms,e,Os.Diagnostics.Convert_invalid_character_to_its_html_entity_code,Ms,Os.Diagnostics.Convert_all_invalid_characters_to_HTML_entity_code)]},getAllCodeActions:function(e){return Ps.codeFixAll(e,Fs,(function(n,t){return Uz(n,e.preferences,t.file,t.start,e.fixId===Ms)}))}}),Gs={">":"&gt;","}":"&rbrace;"},Bs=bY=bY||{},Us=Bs.codefix||(Bs.codefix={}),Vs="unusedIdentifier",js="unusedIdentifier_prefix",Ks="unusedIdentifier_delete",Hs="unusedIdentifier_deleteImports",Ws="unusedIdentifier_infer",zs=[Bs.Diagnostics._0_is_declared_but_its_value_is_never_read.code,Bs.Diagnostics._0_is_declared_but_never_used.code,Bs.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code,Bs.Diagnostics.All_imports_in_import_declaration_are_unused.code,Bs.Diagnostics.All_destructured_elements_are_unused.code,Bs.Diagnostics.All_variables_are_unused.code,Bs.Diagnostics.All_type_parameters_are_unused.code],Us.registerCodeFix({errorCodes:zs,getCodeActions:function(e){var n,t,r,a,i,o=e.errorCode,s=e.sourceFile,c=e.program,l=e.cancellationToken,d=c.getTypeChecker(),u=c.getSourceFiles(),p=Bs.getTokenAtPosition(s,e.span.start);return Bs.isJSDocTemplateTag(p)?[jz(Bs.textChanges.ChangeTracker.with(e,(function(e){return e.delete(s,p)})),Bs.Diagnostics.Remove_template_tag)]:29===p.kind?[jz(i=Bs.textChanges.ChangeTracker.with(e,(function(e){return Kz(e,s,p)})),Bs.Diagnostics.Remove_type_parameters)]:(n=Wz(p))?(i=Bs.textChanges.ChangeTracker.with(e,(function(e){return e.delete(s,n)})),[Us.createCodeFixAction(Vs,i,[Bs.Diagnostics.Remove_import_from_0,Bs.showModuleSpecifier(n)],Hs,Bs.Diagnostics.Delete_all_unused_imports)]):Hz(p)&&(r=Bs.textChanges.ChangeTracker.with(e,(function(e){return Xz(s,p,e,d,u,c,l,!1)}))).length?[Us.createCodeFixAction(Vs,r,[Bs.Diagnostics.Remove_unused_declaration_for_Colon_0,p.getText(s)],Hs,Bs.Diagnostics.Delete_all_unused_imports)]:Bs.isObjectBindingPattern(p.parent)||Bs.isArrayBindingPattern(p.parent)?Bs.isParameter(p.parent.parent)?(t=[1<(t=p.parent.elements).length?Bs.Diagnostics.Remove_unused_declarations_for_Colon_0:Bs.Diagnostics.Remove_unused_declaration_for_Colon_0,Bs.map(t,(function(e){return e.getText(s)})).join(", ")],[jz(Bs.textChanges.ChangeTracker.with(e,(function(e){var n,t;n=e,t=s,e=p.parent,Bs.forEach(e.elements,(function(e){return n.delete(t,e)}))})),t)]):[jz(Bs.textChanges.ChangeTracker.with(e,(function(e){return e.delete(s,p.parent.parent)})),Bs.Diagnostics.Remove_unused_destructuring_declaration)]:zz(s,p)?[jz(Bs.textChanges.ChangeTracker.with(e,(function(e){return Jz(e,s,p.parent)})),Bs.Diagnostics.Remove_variable_statement)]:(t=[],136===p.kind?(i=Bs.textChanges.ChangeTracker.with(e,(function(e){return Vz(e,s,p)})),a=Bs.cast(p.parent,Bs.isInferTypeNode).typeParameter.name.text,t.push(Us.createCodeFixAction(Vs,i,[Bs.Diagnostics.Replace_infer_0_with_unknown,a],Ws,Bs.Diagnostics.Replace_all_unused_infer_with_unknown))):(r=Bs.textChanges.ChangeTracker.with(e,(function(e){return Xz(s,p,e,d,u,c,l,!1)}))).length&&(a=Bs.isComputedPropertyName(p.parent)?p.parent:p,t.push(jz(r,[Bs.Diagnostics.Remove_unused_declaration_for_Colon_0,a.getText(s)]))),(i=Bs.textChanges.ChangeTracker.with(e,(function(e){return qz(e,o,s,p)}))).length&&t.push(Us.createCodeFixAction(Vs,i,[Bs.Diagnostics.Prefix_0_with_an_underscore,p.getText(s)],js,Bs.Diagnostics.Prefix_all_unused_declarations_with_where_possible)),t)},fixIds:[js,Ks,Hs,Ws],getAllCodeActions:function(e){var n=e.sourceFile,t=e.program,r=e.cancellationToken,a=t.getTypeChecker(),i=t.getSourceFiles();return Us.codeFixAll(e,zs,(function(o,s){var c=Bs.getTokenAtPosition(n,s.start);switch(e.fixId){case js:qz(o,s.code,n,c);break;case Hs:var l=Wz(c);l?o.delete(n,l):Hz(c)&&Xz(n,c,o,a,i,t,r,!0);break;case Ks:if(136!==c.kind&&!Hz(c))if(Bs.isJSDocTemplateTag(c))o.delete(n,c);else if(29===c.kind)Kz(o,n,c);else if(Bs.isObjectBindingPattern(c.parent)){if(c.parent.parent.initializer)break;Bs.isParameter(c.parent.parent)&&!Yz(c.parent.parent,a,i)||o.delete(n,c.parent.parent)}else{if(Bs.isArrayBindingPattern(c.parent.parent)&&c.parent.parent.parent.initializer)break;zz(n,c)?Jz(o,n,c.parent):Xz(n,c,o,a,i,t,r,!0)}break;case Ws:136===c.kind&&Vz(o,n,c);break;default:Bs.Debug.fail(JSON.stringify(e.fixId))}}))}}),Js=bY=bY||{},qs=Js.codefix||(Js.codefix={}),Xs="fixUnreachableCode",Ys=[Js.Diagnostics.Unreachable_code_detected.code],qs.registerCodeFix({errorCodes:Ys,getCodeActions:function(e){var n=Js.textChanges.ChangeTracker.with(e,(function(n){return Zz(n,e.sourceFile,e.span.start,e.span.length,e.errorCode)}));return[qs.createCodeFixAction(Xs,n,Js.Diagnostics.Remove_unreachable_code,Xs,Js.Diagnostics.Remove_all_unreachable_code)]},fixIds:[Xs],getAllCodeActions:function(e){return qs.codeFixAll(e,Ys,(function(e,n){return Zz(e,n.file,n.start,n.length,n.code)}))}}),Qs=bY=bY||{},Zs=Qs.codefix||(Qs.codefix={}),$s="fixUnusedLabel",ec=[Qs.Diagnostics.Unused_label.code],Zs.registerCodeFix({errorCodes:ec,getCodeActions:function(e){var n=Qs.textChanges.ChangeTracker.with(e,(function(n){return $z(n,e.sourceFile,e.span.start)}));return[Zs.createCodeFixAction($s,n,Qs.Diagnostics.Remove_unused_label,$s,Qs.Diagnostics.Remove_all_unused_labels)]},fixIds:[$s],getAllCodeActions:function(e){return Zs.codeFixAll(e,ec,(function(e,n){return $z(e,n.file,n.start)}))}}),nc=bY=bY||{},tc=nc.codefix||(nc.codefix={}),rc="fixJSDocTypes_plain",ac="fixJSDocTypes_nullable",ic=[nc.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments.code],tc.registerCodeFix({errorCodes:ic,getCodeActions:function(e){var n,t,r,a=e.sourceFile,i=e.program.getTypeChecker(),o=nJ(a,e.span.start,i);if(o)return n=o.typeNode,o=o.type,t=n.getText(a),r=[s(o,rc,nc.Diagnostics.Change_all_jsdoc_style_types_to_TypeScript)],309===n.kind&&r.push(s(i.getNullableType(o,32768),ac,nc.Diagnostics.Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types)),r;function s(r,o,s){var c=nc.textChanges.ChangeTracker.with(e,(function(e){return eJ(e,a,n,r,i)}));return tc.createCodeFixAction("jdocTypes",c,[nc.Diagnostics.Change_0_to_1,t,i.typeToString(r)],o,s)}},fixIds:[rc,ac],getAllCodeActions:function(e){var n=e.fixId,t=e.program,r=e.sourceFile,a=t.getTypeChecker();return tc.codeFixAll(e,ic,(function(e,t){var i;t=nJ(t.file,t.start,a);t&&(i=t.typeNode,t=t.type,t=309===i.kind&&n===ac?a.getNullableType(t,32768):t,eJ(e,r,i,t,a))}))}}),oc=bY=bY||{},sc=oc.codefix||(oc.codefix={}),cc="fixMissingCallParentheses",lc=[oc.Diagnostics.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead.code],sc.registerCodeFix({errorCodes:lc,fixIds:[cc],getCodeActions:function(e){var n,t=aJ(e.sourceFile,e.span.start);if(t)return n=oc.textChanges.ChangeTracker.with(e,(function(n){return rJ(n,e.sourceFile,t)})),[sc.createCodeFixAction(cc,n,oc.Diagnostics.Add_missing_call_parentheses,cc,oc.Diagnostics.Add_all_missing_call_parentheses)]},getAllCodeActions:function(e){return sc.codeFixAll(e,lc,(function(e,n){var t=aJ(n.file,n.start);t&&rJ(e,n.file,t)}))}}),dc=bY=bY||{},uc=dc.codefix||(dc.codefix={}),pc="fixAwaitInSyncFunction",mc=[dc.Diagnostics.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,dc.Diagnostics.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code],uc.registerCodeFix({errorCodes:mc,getCodeActions:function(e){var n=e.sourceFile,t=iJ(n,e.span.start);if(t)return e=dc.textChanges.ChangeTracker.with(e,(function(e){return oJ(e,n,t)})),[uc.createCodeFixAction(pc,e,dc.Diagnostics.Add_async_modifier_to_containing_function,pc,dc.Diagnostics.Add_all_missing_async_modifiers)]},fixIds:[pc],getAllCodeActions:function(e){var n=new dc.Map;return uc.codeFixAll(e,mc,(function(t,r){r=iJ(r.file,r.start),r&&dc.addToSeen(n,dc.getNodeId(r.insertBefore))&&oJ(t,e.sourceFile,r)}))}}),_c=bY=bY||{},fc=_c.codefix||(_c.codefix={}),gc=[_c.Diagnostics._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code,_c.Diagnostics._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code],yc="fixPropertyOverrideAccessor",fc.registerCodeFix({errorCodes:gc,getCodeActions:function(e){if(e=sJ(e.sourceFile,e.span.start,e.span.length,e.errorCode,e),e)return[fc.createCodeFixAction(yc,e,_c.Diagnostics.Generate_get_and_set_accessors,yc,_c.Diagnostics.Generate_get_and_set_accessors_for_all_overriding_properties)]},fixIds:[yc],getAllCodeActions:function(e){return fc.codeFixAll(e,gc,(function(n,t){if(t=sJ(t.file,t.start,t.length,t.code,e),t)for(var r=0,a=t;r<a.length;r++){var i=a[r];n.pushRaw(e.sourceFile,i)}}))}}),hc=bY=bY||{},vc=hc.codefix||(hc.codefix={}),bc="inferFromUsage",Ec=[hc.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code,hc.Diagnostics.Variable_0_implicitly_has_an_1_type.code,hc.Diagnostics.Parameter_0_implicitly_has_an_1_type.code,hc.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code,hc.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code,hc.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code,hc.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code,hc.Diagnostics.Member_0_implicitly_has_an_1_type.code,hc.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code,hc.Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,hc.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,hc.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code,hc.Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code,hc.Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code,hc.Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code,hc.Diagnostics.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,hc.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code],vc.registerCodeFix({errorCodes:Ec,getCodeActions:function(e){var n,t=e.sourceFile,r=e.program,a=e.span.start,i=e.errorCode,o=e.cancellationToken,s=e.host,c=e.preferences,l=hc.getTokenAtPosition(t,a);a=hc.textChanges.ChangeTracker.with(e,(function(e){n=cJ(e,t,l,i,r,o,hc.returnTrue,s,c)})),e=n&&hc.getNameOfDeclaration(n);return e&&0!==a.length?[vc.createCodeFixAction(bc,a,[((e,n)=>{switch(e){case hc.Diagnostics.Parameter_0_implicitly_has_an_1_type.code:case hc.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return hc.isSetAccessorDeclaration(hc.getContainingFunction(n))?hc.Diagnostics.Infer_type_of_0_from_usage:hc.Diagnostics.Infer_parameter_types_from_usage;case hc.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code:case hc.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:return hc.Diagnostics.Infer_parameter_types_from_usage;case hc.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:return hc.Diagnostics.Infer_this_type_of_0_from_usage;default:return hc.Diagnostics.Infer_type_of_0_from_usage}})(i,l),e.getText(t)],bc,hc.Diagnostics.Infer_all_types_from_usage)]:void 0},fixIds:[bc],getAllCodeActions:function(e){var n=e.sourceFile,t=e.program,r=e.cancellationToken,a=e.host,i=e.preferences,o=hc.nodeSeenTracker();return vc.codeFixAll(e,Ec,(function(e,s){cJ(e,n,hc.getTokenAtPosition(s.file,s.start),s.code,t,r,o,a,i)}))}}),vc.addJSDocTags=mJ,Tc=bY=bY||{},Sc=Tc.codefix||(Tc.codefix={}),xc="fixReturnTypeInAsyncFunction",Lc=[Tc.Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0.code],Sc.registerCodeFix({errorCodes:Lc,fixIds:[xc],getCodeActions:function(e){var n,t,r=e.sourceFile,a=e.program,i=e.span,o=a.getTypeChecker();a=hJ(r,a.getTypeChecker(),i.start);if(a)return n=a.returnTypeNode,i=a.returnType,t=a.promisedTypeNode,a=a.promisedType,e=Tc.textChanges.ChangeTracker.with(e,(function(e){return vJ(e,r,n,t)})),[Sc.createCodeFixAction(xc,e,[Tc.Diagnostics.Replace_0_with_Promise_1,o.typeToString(i),o.typeToString(a)],xc,Tc.Diagnostics.Fix_all_incorrect_return_type_of_an_async_functions)]},getAllCodeActions:function(e){return Sc.codeFixAll(e,Lc,(function(n,t){var r=hJ(t.file,e.program.getTypeChecker(),t.start);r&&vJ(n,t.file,r.returnTypeNode,r.promisedTypeNode)}))}}),Dc=bY=bY||{},Ac=Dc.codefix||(Dc.codefix={}),Ic=Cc="disableJsDiagnostics",Nc=Dc.mapDefined(Object.keys(Dc.Diagnostics),(function(e){return e=Dc.Diagnostics[e],e.category===Dc.DiagnosticCategory.Error?e.code:void 0})),Ac.registerCodeFix({errorCodes:Nc,getCodeActions:function(e){var n=e.sourceFile,t=e.program,r=e.span,a=e.host,i=e.formatContext;if(Dc.isInJSFile(n)&&Dc.isCheckJsEnabledForFile(n,t.getCompilerOptions()))return t=n.checkJsDirective?"":Dc.getNewLineOrDefaultFromHost(a,i.options),a=[Ac.createCodeFixActionWithoutFixAll(Cc,[Ac.createFileTextChanges(n.fileName,[Dc.createTextChange(n.checkJsDirective?Dc.createTextSpanFromBounds(n.checkJsDirective.pos,n.checkJsDirective.end):Dc.createTextSpan(0,0),"// @ts-nocheck"+t)])],Dc.Diagnostics.Disable_checking_for_this_file)],Dc.textChanges.isValidLocationToAddComment(n,r.start)&&a.unshift(Ac.createCodeFixAction(Cc,Dc.textChanges.ChangeTracker.with(e,(function(e){return bJ(e,n,r.start)})),Dc.Diagnostics.Ignore_this_error_message,Ic,Dc.Diagnostics.Add_ts_ignore_to_all_error_messages)),a},fixIds:[Ic],getAllCodeActions:function(e){var n=new Dc.Set;return Ac.codeFixAll(e,Nc,(function(e,t){Dc.textChanges.isValidLocationToAddComment(t.file,t.start)&&bJ(e,t.file,t.start,n)}))}}),kc=bY=bY||{},(OY=kc.codefix||(kc.codefix={})).createMissingMemberNodes=function(e,n,t,r,a,i,o){for(var s=e.symbol.members,c=0,l=n;c<l.length;c++){var d=l[c];s.has(d.escapedName)||((e,n,t,r,a,i,o)=>{var s=e.getDeclarations();if(s&&s.length){var c=r.program.getTypeChecker(),l=kc.getEmitScriptTarget(r.program.getCompilerOptions()),d=s[0],u=kc.getSynthesizedDeepClone(kc.getNameOfDeclaration(d),!1),p=(e=>4&e?kc.factory.createToken(123):16&e?kc.factory.createToken(122):void 0)(kc.getEffectiveModifierFlags(d)),m=p?kc.factory.createNodeArray([p]):void 0,_=c.getWidenedType(c.getTypeOfSymbolAtLocation(e,n)),f=!!(16777216&e.flags),g=!!(8388608&n.flags),y=kc.getQuotePreference(t,a);switch(d.kind){case 164:case 165:var h=0===y?268435456:void 0;h=c.typeToTypeNode(_,n,h,EJ(r));i&&(S=NJ(h,l))&&(h=S.typeNode,RJ(i,S.symbols)),o(kc.factory.createPropertyDeclaration(void 0,m,u,f?kc.factory.createToken(57):void 0,h,void 0));break;case 170:case 171:var v=c.typeToTypeNode(_,n,void 0,EJ(r));h=kc.getAllAccessorDeclarations(s,d),h=h.secondAccessor?[h.firstAccessor,h.secondAccessor]:[h.firstAccessor];i&&(S=NJ(v,l))&&(v=S.typeNode,RJ(i,S.symbols));for(var b=0,E=h;b<E.length;b++){var T=E[b];kc.isGetAccessorDeclaration(T)?o(kc.factory.createGetAccessorDeclaration(void 0,m,u,kc.emptyArray,v,g?void 0:LJ(y))):(kc.Debug.assertNode(T,kc.isSetAccessorDeclaration,"The counterpart to a getter should be a setter"),T=kc.getSetAccessorValueParameter(T),T=T&&kc.isIdentifier(T.name)?kc.idText(T.name):void 0,o(kc.factory.createSetAccessorDeclaration(void 0,m,u,xJ(1,[T],[v],1,!1),g?void 0:LJ(y))))}break;case 166:case 167:var S=c.getSignaturesOfType(_,0);if(kc.some(S))if(1===s.length){kc.Debug.assert(1===S.length,"One declaration implies one signature");var x=S[0];A(y,x,m,u,g?void 0:LJ(y))}else{for(var L=0,D=S;L<D.length;L++){x=D[L];A(y,x,kc.getSynthesizedDeepClones(m,!1),kc.getSynthesizedDeepClone(u,!1))}g||(s.length>S.length?(x=c.getSignatureFromDeclaration(s[s.length-1]),A(y,x,m,u,LJ(y))):(kc.Debug.assert(s.length===S.length,"Declarations and signatures should match count"),o(((e,n,t,r,a,i,o,s)=>{for(var c=r[0],l=r[0].minArgumentCount,d=!1,u=0,p=r;u<p.length;u++){var m=p[u];l=Math.min(m.minArgumentCount,l),kc.signatureHasRestParameter(m)&&(d=!0),m.parameters.length>=c.parameters.length&&(!kc.signatureHasRestParameter(m)||kc.signatureHasRestParameter(c))&&(c=m)}var _=c.parameters.length-(kc.signatureHasRestParameter(c)?1:0),f=c.parameters.map((function(e){return e.name})),g=xJ(_,f,void 0,l,!1),y=(_=(d&&(y=kc.factory.createArrayTypeNode(kc.factory.createKeywordTypeNode(129)),f=kc.factory.createParameterDeclaration(void 0,void 0,kc.factory.createToken(25),f[_]||"rest",l<=_?kc.factory.createToken(57):void 0,y,void 0),g.push(f)),o),a);f=i,o=void 0,a=g,i=((e,n,t,r)=>{if(kc.length(e))return e=n.getUnionType(kc.map(e,n.getReturnTypeOfSignature)),n.typeToTypeNode(e,r,void 0,EJ(t))})(r,e,n,t),g=s;return kc.factory.createMethodDeclaration(void 0,_,void 0,y,f?kc.factory.createToken(57):void 0,o,a,i,LJ(g))})(c,r,n,S,u,f,m,y))))}}}function A(e,t,a,s,c){e=TJ(167,r,e,t,c,s,a,f,n,i),e&&o(e)}})(d,e,t,r,a,i,o)}},OY.getNoopSymbolTrackerWithResolver=EJ,OY.createSignatureDeclarationFromSignature=TJ,OY.createSignatureDeclarationFromCallExpression=function(e,n,t,r,a,i,o){var s=kc.getQuotePreference(n.sourceFile,n.preferences),c=kc.getEmitScriptTarget(n.program.getCompilerOptions()),l=EJ(n),d=n.program.getTypeChecker(),u=(n=kc.isInJSFile(o),r.typeArguments),p=r.arguments,m=r.parent,_=(r=n?void 0:d.getContextualType(r),kc.map(p,(function(e){return kc.isIdentifier(e)?e.text:kc.isPropertyAccessExpression(e)&&kc.isIdentifier(e.name)?e.name.text:void 0}))),f=n?[]:kc.map(p,(function(e){return SJ(d,t,d.getBaseTypeOfLiteralType(d.getTypeAtLocation(e)),o,c,void 0,l)})),g=(i=i?kc.factory.createNodeArray(kc.factory.createModifiersFromModifierFlags(i)):void 0,m=kc.isYieldExpression(m)?kc.factory.createToken(41):void 0,n||void 0===u?void 0:kc.map(u,(function(e,n){return kc.factory.createTypeParameterDeclaration(84+u.length-1<=90?String.fromCharCode(84+n):"T"+n)})));p=xJ(p.length,_,f,void 0,n),_=n||void 0===r?void 0:d.typeToTypeNode(r,o,void 0,l);return 167===e?kc.factory.createMethodDeclaration(void 0,i,m,a,void 0,g,p,_,kc.isInterfaceDeclaration(o)?void 0:LJ(s)):kc.factory.createFunctionDeclaration(void 0,i,m,a,g,p,_,DJ(kc.Diagnostics.Function_not_implemented.message,s))},OY.typeToAutoImportableTypeNode=SJ,OY.createStubbedBody=DJ,OY.setJsonCompilerOptionValues=AJ,OY.setJsonCompilerOptionValue=function(e,n,t,r){AJ(e,n,[[t,r]])},OY.createJsonPropertyAssignment=CJ,OY.findJsonProperty=IJ,OY.tryGetAutoImportableReferenceFromTypeNode=NJ,OY.importSymbols=RJ,Rc=bY=bY||{},(tu=Rc.codefix||(Rc.codefix={})).generateAccessorFromProperty=function(e,n,t,r,a,i){if((n=MJ(e,n,t,r))&&!Rc.refactor.isRefactorErrorInfo(n)){t=Rc.textChanges.ChangeTracker.fromContext(a),r=n.isStatic,a=n.isReadonly;var o,s,c=n.fieldName,l=n.accessorName,d=n.originalName,u=n.type,p=n.container;n=n.declaration;if(Rc.suppressLeadingAndTrailingTrivia(c),Rc.suppressLeadingAndTrailingTrivia(l),Rc.suppressLeadingAndTrailingTrivia(n),Rc.suppressLeadingAndTrailingTrivia(p),Rc.isClassLike(p)&&(s=Rc.getEffectiveModifierFlags(n),s=Rc.isSourceFileJS(e)?o=Rc.createModifiers(s):(o=Rc.createModifiers((e=>(16&(e=-65&e&-9)||(e|=4),e))(s)),Rc.createModifiers((s=s,s=-17&(s&=-5)|8)))),L=t,v=e,T=n,h=u,E=c,b=s,Rc.isPropertyDeclaration(T)){var m=L,_=v,f=T,g=E,y=b;y=Rc.factory.updatePropertyDeclaration(f,f.decorators,y,g,f.questionToken||f.exclamationToken,h,f.initializer),m.replaceNode(_,f,y)}else if(Rc.isPropertyAssignment(T)){g=L;var h=v;m=T,_=E,_=Rc.factory.updatePropertyAssignment(m,_,m.initializer),g.replacePropertyAssignment(h,m,_)}else L.replaceNode(v,T,Rc.factory.updateParameterDeclaration(T,T.decorators,b,T.dotDotDotToken,Rc.cast(E,Rc.isIdentifier),T.questionToken,T.type,T.initializer));f=o;var v,b,E,T,S,x,L,D,A;y=Rc.factory.createGetAccessorDeclaration(void 0,f,l,void 0,u,Rc.factory.createBlock([Rc.factory.createReturnStatement(wJ(c,r,p))],!0));return Rc.suppressLeadingAndTrailingTrivia(y),FJ(t,e,y,n,p),a?(h=Rc.getFirstConstructorWithBody(p))&&(S=t,x=e,L=h,D=c.text,A=d,L.body)&&L.body.forEachChild((function e(n){Rc.isElementAccessExpression(n)&&108===n.expression.kind&&Rc.isStringLiteral(n.argumentExpression)&&n.argumentExpression.text===A&&Rc.isWriteAccess(n)&&S.replaceNode(x,n.argumentExpression,Rc.factory.createStringLiteral(D)),Rc.isPropertyAccessExpression(n)&&108===n.expression.kind&&n.name.text===A&&Rc.isWriteAccess(n)&&S.replaceNode(x,n.name,Rc.factory.createIdentifier(D)),Rc.isFunctionLike(n)||Rc.isClassLike(n)||n.forEachChild(e)})):(v=c,b=u,E=o,T=r,a=p,h=Rc.factory.createSetAccessorDeclaration(void 0,E,l,[Rc.factory.createParameterDeclaration(void 0,void 0,void 0,Rc.factory.createIdentifier("value"),void 0,b)],Rc.factory.createBlock([Rc.factory.createExpressionStatement(Rc.factory.createAssignment(wJ(v,T,a),Rc.factory.createIdentifier("value")))],!0)),Rc.suppressLeadingAndTrailingTrivia(h),FJ(t,e,h,n,p)),t.getChanges()}},tu.getAccessorConvertiblePropertyAtPosition=MJ,tu.getAllSupers=function(e,n){for(var t=[];e;){var r=Rc.getClassExtendsHeritageElement(e);r=r&&n.getSymbolAtLocation(r.expression);if(!r)break;if(r=2097152&r.flags?n.getAliasedSymbol(r):r,r=r.declarations&&Rc.find(r.declarations,Rc.isClassLike),!r)break;t.push(r),e=r}return t},Oc=bY=bY||{},Pc=Oc.codefix||(Oc.codefix={}),wc="invalidImportSyntax",Pc.registerCodeFix({errorCodes:[Oc.Diagnostics.This_expression_is_not_callable.code,Oc.Diagnostics.This_expression_is_not_constructable.code],getCodeActions:function(e){var n=e.sourceFile,t=Oc.Diagnostics.This_expression_is_not_callable.code===e.errorCode?206:207;n=Oc.findAncestor(Oc.getTokenAtPosition(n,e.span.start),(function(e){return e.kind===t}));return n?(n=n.expression,BJ(e,n)):[]}}),Pc.registerCodeFix({errorCodes:[Oc.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,Oc.Diagnostics.Type_0_does_not_satisfy_the_constraint_1.code,Oc.Diagnostics.Type_0_is_not_assignable_to_type_1.code,Oc.Diagnostics.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated.code,Oc.Diagnostics.Type_predicate_0_is_not_assignable_to_1.code,Oc.Diagnostics.Property_0_of_type_1_is_not_assignable_to_2_index_type_3.code,Oc.Diagnostics._0_index_type_1_is_not_assignable_to_2_index_type_3.code,Oc.Diagnostics.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2.code,Oc.Diagnostics.Property_0_in_type_1_is_not_assignable_to_type_2.code,Oc.Diagnostics.Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property.code,Oc.Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1.code],getCodeActions:function(e){var n=e.sourceFile;n=Oc.findAncestor(Oc.getTokenAtPosition(n,e.span.start),(function(n){return n.getStart()===e.span.start&&n.getEnd()===e.span.start+e.span.length}));return n?BJ(e,n):[]}}),Mc=bY=bY||{},Fc=Mc.codefix||(Mc.codefix={}),Gc="strictClassInitialization",Bc="addMissingPropertyDefiniteAssignmentAssertions",Uc="addMissingPropertyUndefinedType",Vc="addMissingPropertyInitializer",jc=[Mc.Diagnostics.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor.code],Fc.registerCodeFix({errorCodes:jc,getCodeActions:function(e){var n,t,r,a,i,o=UJ(e.sourceFile,e.span.start);if(o)return i=[(r=e,a=o,i=Mc.textChanges.ChangeTracker.with(r,(function(e){return jJ(e,r.sourceFile,a)})),Fc.createCodeFixAction(Gc,i,[Mc.Diagnostics.Add_undefined_type_to_property_0,a.name.getText()],Uc,Mc.Diagnostics.Add_undefined_type_to_all_uninitialized_properties)),(n=e,t=o,i=Mc.textChanges.ChangeTracker.with(n,(function(e){return VJ(e,n.sourceFile,t)})),Fc.createCodeFixAction(Gc,i,[Mc.Diagnostics.Add_definite_assignment_assertion_to_property_0,t.getText()],Bc,Mc.Diagnostics.Add_definite_assignment_assertions_to_all_uninitialized_properties))],Mc.append(i,((e,n)=>{var t,r=HJ(e.program.getTypeChecker(),n);if(r)return t=Mc.textChanges.ChangeTracker.with(e,(function(t){return KJ(t,e.sourceFile,n,r)})),Fc.createCodeFixAction(Gc,t,[Mc.Diagnostics.Add_initializer_to_property_0,n.name.getText()],Vc,Mc.Diagnostics.Add_initializers_to_all_uninitialized_properties)})(e,o)),i},fixIds:[Bc,Uc,Vc],getAllCodeActions:function(e){return Fc.codeFixAll(e,jc,(function(n,t){var r=UJ(t.file,t.start);if(r)switch(e.fixId){case Bc:VJ(n,t.file,r);break;case Uc:jJ(n,t.file,r);break;case Vc:var a=HJ(e.program.getTypeChecker(),r);a&&KJ(n,t.file,r,a);break;default:Mc.Debug.fail(JSON.stringify(e.fixId))}}))}}),Kc=bY=bY||{},Hc=Kc.codefix||(Kc.codefix={}),Wc="requireInTs",zc=[Kc.Diagnostics.require_call_may_be_converted_to_an_import.code],Hc.registerCodeFix({errorCodes:zc,getCodeActions:function(e){var n,t=zJ(e.sourceFile,e.program,e.span.start);if(t)return n=Kc.textChanges.ChangeTracker.with(e,(function(n){return WJ(n,e.sourceFile,t)})),[Hc.createCodeFixAction(Wc,n,Kc.Diagnostics.Convert_require_to_import,Wc,Kc.Diagnostics.Convert_all_require_to_import)]},fixIds:[Wc],getAllCodeActions:function(e){return Hc.codeFixAll(e,zc,(function(n,t){t=zJ(t.file,e.program,t.start),t&&WJ(n,e.sourceFile,t)}))}}),Jc=bY=bY||{},qc=Jc.codefix||(Jc.codefix={}),Xc="useDefaultImport",Yc=[Jc.Diagnostics.Import_may_be_converted_to_a_default_import.code],qc.registerCodeFix({errorCodes:Yc,getCodeActions:function(e){var n=e.sourceFile,t=e.span.start,r=JJ(n,t);if(r)return t=Jc.textChanges.ChangeTracker.with(e,(function(t){return qJ(t,n,r,e.preferences)})),[qc.createCodeFixAction(Xc,t,Jc.Diagnostics.Convert_to_default_import,Xc,Jc.Diagnostics.Convert_all_to_default_imports)]},fixIds:[Xc],getAllCodeActions:function(e){return qc.codeFixAll(e,Yc,(function(n,t){var r=JJ(t.file,t.start);r&&qJ(n,t.file,r,e.preferences)}))}}),Qc=bY=bY||{},Zc=Qc.codefix||(Qc.codefix={}),$c="useBigintLiteral",el=[Qc.Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers.code],Zc.registerCodeFix({errorCodes:el,getCodeActions:function(e){var n=Qc.textChanges.ChangeTracker.with(e,(function(n){return XJ(n,e.sourceFile,e.span)}));if(0<n.length)return[Zc.createCodeFixAction($c,n,Qc.Diagnostics.Convert_to_a_bigint_numeric_literal,$c,Qc.Diagnostics.Convert_all_to_bigint_numeric_literals)]},fixIds:[$c],getAllCodeActions:function(e){return Zc.codeFixAll(e,el,(function(e,n){return XJ(e,n.file,n)}))}}),nl=bY=bY||{},tl=nl.codefix||(nl.codefix={}),rl="fixAddModuleReferTypeMissingTypeof",al=[nl.Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0.code],tl.registerCodeFix({errorCodes:al,getCodeActions:function(e){var n=e.sourceFile,t=YJ(n,e.span.start);e=nl.textChanges.ChangeTracker.with(e,(function(e){return QJ(e,n,t)}));return[tl.createCodeFixAction(rl,e,nl.Diagnostics.Add_missing_typeof,rl,nl.Diagnostics.Add_missing_typeof)]},fixIds:[rl],getAllCodeActions:function(e){return tl.codeFixAll(e,al,(function(n,t){return QJ(n,e.sourceFile,YJ(t.file,t.start))}))}}),il=bY=bY||{},ol=il.codefix||(il.codefix={}),sl="wrapJsxInFragment",cl=[il.Diagnostics.JSX_expressions_must_have_one_parent_element.code],ol.registerCodeFix({errorCodes:cl,getCodeActions:function(e){var n=e.sourceFile,t=ZJ(n,e.span.start);if(t)return e=il.textChanges.ChangeTracker.with(e,(function(e){return $J(e,n,t)})),[ol.createCodeFixAction(sl,e,il.Diagnostics.Wrap_in_JSX_fragment,sl,il.Diagnostics.Wrap_all_unparented_JSX_in_JSX_fragment)]},fixIds:[sl],getAllCodeActions:function(e){return ol.codeFixAll(e,cl,(function(n,t){t=ZJ(e.sourceFile,t.start),t&&$J(n,e.sourceFile,t)}))}}),ll=bY=bY||{},dl=ll.codefix||(ll.codefix={}),ul="fixConvertToMappedObjectType",pl=[ll.Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead.code],dl.registerCodeFix({errorCodes:pl,getCodeActions:function(e){var n,t=e.sourceFile,r=eq(t,e.span.start);if(r)return e=ll.textChanges.ChangeTracker.with(e,(function(e){return nq(e,t,r)})),n=ll.idText(r.container.name),[dl.createCodeFixAction(ul,e,[ll.Diagnostics.Convert_0_to_mapped_object_type,n],ul,[ll.Diagnostics.Convert_0_to_mapped_object_type,n])]},fixIds:[ul],getAllCodeActions:function(e){return dl.codeFixAll(e,pl,(function(e,n){var t=eq(n.file,n.start);t&&nq(e,n.file,t)}))}}),ml=bY=bY||{},_l=ml.codefix||(ml.codefix={}),fl="removeAccidentalCallParentheses",sm=[ml.Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without.code],_l.registerCodeFix({errorCodes:sm,getCodeActions:function(e){var n,t=ml.findAncestor(ml.getTokenAtPosition(e.sourceFile,e.span.start),ml.isCallExpression);if(t)return n=ml.textChanges.ChangeTracker.with(e,(function(n){n.deleteRange(e.sourceFile,{pos:t.expression.end,end:t.end})})),[_l.createCodeFixActionWithoutFixAll(fl,n,ml.Diagnostics.Remove_parentheses)]},fixIds:[fl]}),gl=bY=bY||{},yl=gl.codefix||(gl.codefix={}),hl="removeUnnecessaryAwait",vl=[gl.Diagnostics.await_has_no_effect_on_the_type_of_this_expression.code],yl.registerCodeFix({errorCodes:vl,getCodeActions:function(e){var n=gl.textChanges.ChangeTracker.with(e,(function(n){return tq(n,e.sourceFile,e.span)}));if(0<n.length)return[yl.createCodeFixAction(hl,n,gl.Diagnostics.Remove_unnecessary_await,hl,gl.Diagnostics.Remove_all_unnecessary_uses_of_await)]},fixIds:[hl],getAllCodeActions:function(e){return yl.codeFixAll(e,vl,(function(e,n){return tq(e,n.file,n)}))}}),bl=bY=bY||{},El=bl.codefix||(bl.codefix={}),Tl=[bl.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code],Sl="splitTypeOnlyImport",El.registerCodeFix({errorCodes:Tl,fixIds:[Sl],getCodeActions:function(e){var n=bl.textChanges.ChangeTracker.with(e,(function(n){return aq(n,rq(e.sourceFile,e.span),e)}));if(n.length)return[El.createCodeFixAction(Sl,n,bl.Diagnostics.Split_into_two_separate_import_declarations,Sl,bl.Diagnostics.Split_all_invalid_type_only_imports)]},getAllCodeActions:function(e){return El.codeFixAll(e,Tl,(function(n,t){aq(n,rq(e.sourceFile,t),e)}))}}),xl=bY=bY||{},Ll=xl.codefix||(xl.codefix={}),Dl="fixConvertConstToLet",cm=[xl.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant.code],Ll.registerCodeFix({errorCodes:cm,getCodeActions:function(e){var n=e.sourceFile,t=((e,n,t)=>{if(t=t.getTypeChecker().getSymbolAtLocation(xl.getTokenAtPosition(e,n)),void 0!==(t=xl.tryCast(null==(n=null==t?void 0:t.valueDeclaration)?void 0:n.parent,xl.isVariableDeclarationList))&&(n=xl.findChildOfKind(t,85,e),void 0!==n))return xl.createRange(n.pos,n.end)})(n,e.span.start,e.program);if(void 0!==t)return e=xl.textChanges.ChangeTracker.with(e,(function(e){e.replaceRangeWithText(n,t,"let")})),[Ll.createCodeFixAction(Dl,e,xl.Diagnostics.Convert_const_to_let,Dl,xl.Diagnostics.Convert_const_to_let)]},fixIds:[Dl]}),Al=bY=bY||{},Cl=Al.codefix||(Al.codefix={}),Il="fixExpectedComma",Nl=[Al.Diagnostics._0_expected.code],Cl.registerCodeFix({errorCodes:Nl,getCodeActions:function(e){var n=e.sourceFile,t=iq(n,e.span.start);if(t)return e=Al.textChanges.ChangeTracker.with(e,(function(e){return oq(e,n,t)})),[Cl.createCodeFixAction(Il,e,[Al.Diagnostics.Change_0_to_1,";",","],Il,[Al.Diagnostics.Change_0_to_1,";",","])]},fixIds:[Il],getAllCodeActions:function(e){return Cl.codeFixAll(e,Nl,(function(n,t){t=iq(t.file,t.start),t&&oq(n,e.sourceFile,t)}))}}),kl=bY=bY||{},Rl=kl.codefix||(kl.codefix={}),Ol="addVoidToPromise",Pl=[kl.Diagnostics.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise.code],Rl.registerCodeFix({errorCodes:Pl,fixIds:[Ol],getCodeActions:function(e){var n=kl.textChanges.ChangeTracker.with(e,(function(n){return sq(n,e.sourceFile,e.span,e.program)}));if(0<n.length)return[Rl.createCodeFixAction("addVoidToPromise",n,kl.Diagnostics.Add_void_to_Promise_resolved_without_a_value,Ol,kl.Diagnostics.Add_void_to_all_Promises_resolved_without_a_value)]},getAllCodeActions:function(e){return Rl.codeFixAll(e,Pl,(function(n,t){return sq(n,t.file,t,e.program,new kl.Set)}))}}),wl=bY=bY||{},Ml=wl.refactor||(wl.refactor={}),Fl="Convert export",Gl={name:"Convert default export to named export",description:wl.Diagnostics.Convert_default_export_to_named_export.message,kind:"refactor.rewrite.export.named"},Bl={name:"Convert named export to default export",description:wl.Diagnostics.Convert_named_export_to_default_export.message,kind:"refactor.rewrite.export.default"},Ml.registerRefactor(Fl,{kinds:[Gl.kind,Bl.kind],getAvailableActions:function(e){var n=cq(e,"invoked"===e.triggerReason);return n?Ml.isRefactorErrorInfo(n)?e.preferences.provideRefactorNotApplicableReason?[{name:Fl,description:wl.Diagnostics.Convert_default_export_to_named_export.message,actions:[nu(nu({},Gl),{notApplicableReason:n.error}),nu(nu({},Bl),{notApplicableReason:n.error})]}]:wl.emptyArray:(e=n.wasDefault?Gl:Bl,[{name:Fl,description:e.description,actions:[e]}]):wl.emptyArray},getEditsForAction:function(e,n){wl.Debug.assert(n===Gl.name||n===Bl.name,"Unexpected action name");var t=cq(e);return wl.Debug.assert(t&&!Ml.isRefactorErrorInfo(t),"Expected applicable refactor info"),{edits:wl.textChanges.ChangeTracker.with(e,(function(n){a=e.file,p=t,y=e.cancellationToken;var r=a,a=p,i=n,o=(g=e.program).getTypeChecker(),s=a.wasDefault,c=a.exportNode,l=a.exportName;if(s)wl.isExportAssignment(c)&&!c.isExportEquals?(a=c.expression,s=dq(a.text,a.text),i.replaceNode(r,c,wl.factory.createExportDeclaration(void 0,void 0,!1,wl.factory.createNamedExports([s])))):i.delete(r,wl.Debug.checkDefined(wl.findModifier(c,88),"Should find a default keyword in modifier list"));else{var d=wl.Debug.checkDefined(wl.findModifier(c,93),"Should find an export keyword in modifier list");switch(c.kind){case 254:case 255:case 256:i.insertNodeAfter(r,d,wl.factory.createToken(88));break;case 235:var u=wl.first(c.declarationList.declarations);if(!wl.FindAllReferences.Core.isSymbolReferencedInFile(l,o,r)&&!u.type){i.replaceNode(r,c,wl.factory.createExportDefault(wl.Debug.checkDefined(u.initializer,"Initializer was previously known to be present")));break}case 258:case 257:case 259:i.deleteModifier(r,d),i.insertNodeAfter(r,c,wl.factory.createExportDefault(wl.factory.createIdentifier(l.text)));break;default:wl.Debug.fail("Unexpected exportNode kind "+c.kind)}}a=g;var p,m=n,_=(s=y,(g=p).wasDefault),f=g.exportName,g=g.exportingModuleSymbol,y=(n=a.getTypeChecker(),wl.Debug.checkDefined(n.getSymbolAtLocation(f),"Export name should resolve to a symbol"));wl.FindAllReferences.Core.eachExportReference(a.getSourceFiles(),n,s,y,g,f.text,_,(function(e){var n=e.getSourceFile();if(_){var t=n,r=e,a=m,i=f.text,o=r.parent;switch(o.kind){case 204:a.replaceNode(t,r,wl.factory.createIdentifier(i));break;case 268:case 273:var s=o;a.replaceNode(t,s,lq(i,s.name.text));break;case 265:var c,l=o,d=(s=(wl.Debug.assert(l.name===r,"Import clause name should match provided ref"),lq(i,r.text)),l.namedBindings);d?266===d.kind?(a.deleteRange(t,{pos:r.getStart(t),end:d.getStart(t)}),c=wl.isStringLiteral(l.parent.moduleSpecifier)?wl.quotePreferenceFromString(l.parent.moduleSpecifier,t):1,c=wl.makeImport(void 0,[lq(i,r.text)],l.parent.moduleSpecifier,c),a.insertNodeAfter(t,l.parent,c)):(a.delete(t,r),a.insertNodeAtEndOfList(t,d.elements,s)):a.replaceNode(t,r,wl.factory.createNamedImports([s]));break;default:wl.Debug.failBadSyntaxKind(o)}}else{var u=n,p=e,g=m,y=p.parent;switch(y.kind){case 204:g.replaceNode(u,p,wl.factory.createIdentifier("default"));break;case 268:var h=wl.factory.createIdentifier(y.name.text);1===y.parent.elements.length?g.replaceNode(u,y.parent,h):(g.delete(u,y),g.insertNodeBefore(u,y.parent,h));break;case 273:g.replaceNode(u,y,dq("default",y.name.text));break;default:wl.Debug.assertNever(y,"Unexpected parent kind "+y.kind)}}}))})),renameFilename:void 0,renameLocation:void 0}}}),Ul=bY=bY||{},Vl=Ul.refactor||(Ul.refactor={}),jl="Convert import",Kl={name:"Convert namespace import to named imports",description:Ul.Diagnostics.Convert_namespace_import_to_named_imports.message,kind:"refactor.rewrite.import.named"},Hl={name:"Convert named imports to namespace import",description:Ul.Diagnostics.Convert_named_imports_to_namespace_import.message,kind:"refactor.rewrite.import.namespace"},Vl.registerRefactor(jl,{kinds:[Kl.kind,Hl.kind],getAvailableActions:function(e){var n=uq(e,"invoked"===e.triggerReason);return n?Vl.isRefactorErrorInfo(n)?e.preferences.provideRefactorNotApplicableReason?[{name:jl,description:Kl.description,actions:[nu(nu({},Kl),{notApplicableReason:n.error})]},{name:jl,description:Hl.description,actions:[nu(nu({},Hl),{notApplicableReason:n.error})]}]:Ul.emptyArray:(e=266===n.kind?Kl:Hl,[{name:jl,description:e.description,actions:[e]}]):Ul.emptyArray},getEditsForAction:function(e,n){Ul.Debug.assert(n===Kl.name||n===Hl.name,"Unexpected action name");var t=uq(e);return Ul.Debug.assert(t&&!Vl.isRefactorErrorInfo(t),"Expected applicable refactor info"),{edits:Ul.textChanges.ChangeTracker.with(e,(function(n){if(A=e.file,n=n,I=t,N=(C=e.program).getTypeChecker(),266===I.kind){var r=A,a=N,i=n,o=I;C=Ul.getAllowSyntheticDefaultImports(C.getCompilerOptions());for(var s=!1,c=[],l=new Ul.Map,d=(Ul.FindAllReferences.Core.eachSymbolReferenceInFile(o.name,a,r,(function(e){var n;Ul.isPropertyAccessOrQualifiedName(e.parent)?(n=pq(e.parent).text,a.resolveName(n,e,67108863,!0)&&l.set(n,!0),Ul.Debug.assert((n=e.parent,(Ul.isPropertyAccessExpression(n)?n.expression:n.left)===e),"Parent expression should match id"),c.push(e.parent)):s=!0})),new Ul.Map),u=0,p=c;u<p.length;u++){var m=p[u],_=pq(m).text,f=d.get(_);void 0===f&&d.set(_,f=l.has(_)?Ul.getUniqueName(_,r):_),i.replaceNode(r,m,Ul.factory.createIdentifier(f))}var g=[],y=(d.forEach((function(e,n){g.push(Ul.factory.createImportSpecifier(e===n?void 0:Ul.factory.createIdentifier(n),Ul.factory.createIdentifier(e)))})),o.parent.parent);s&&!C?i.insertNodeAfter(r,y,mq(y,void 0,g)):i.replaceNode(r,y,mq(y,s?Ul.factory.createIdentifier(o.name.text):void 0,g))}else{for(var h=A,v=N,b=n,E=(o=(y=(C=I).parent.parent).moduleSpecifier,new Ul.Set),T=(C.elements.forEach((function(e){e=v.getSymbolAtLocation(e.name),e&&E.add(e)})),o&&Ul.isStringLiteral(o)?Ul.codefix.moduleSpecifierToValidIdentifier(o.text,99):"module"),S=C.elements.some((function(e){return!!Ul.FindAllReferences.Core.eachSymbolReferenceInFile(e.name,v,h,(function(e){var n=v.resolveName(T,e,67108863,!0);return!!n&&(!E.has(n)||Ul.isExportSpecifier(e.parent))}))}))?Ul.getUniqueName(T,h):T,x=new Ul.Set,L=0,D=C.elements;L<D.length;L++)(e=>{var n=(e.propertyName||e.name).text;Ul.FindAllReferences.Core.eachSymbolReferenceInFile(e.name,v,h,(function(t){var r=Ul.factory.createPropertyAccessExpression(Ul.factory.createIdentifier(S),n);Ul.isShorthandPropertyAssignment(t.parent)?b.replaceNode(h,t.parent,Ul.factory.createPropertyAssignment(t.text,r)):Ul.isExportSpecifier(t.parent)?x.add(e):b.replaceNode(h,t,r)}))})(D[L]);b.replaceNode(h,C,Ul.factory.createNamespaceImport(Ul.factory.createIdentifier(S))),x.size&&(o=Ul.arrayFrom(x.values()).map((function(e){return Ul.factory.createImportSpecifier(e.propertyName&&Ul.factory.createIdentifier(e.propertyName.text),Ul.factory.createIdentifier(e.name.text))})),b.insertNodeAfter(h,C.parent.parent,mq(y,void 0,o)))}var A,C,I,N})),renameFilename:void 0,renameLocation:void 0}}}),Wl=bY=bY||{},(zl=Wl.refactor||(Wl.refactor={})).convertToOptionalChainExpression||(zl.convertToOptionalChainExpression={}),Jl="Convert to optional chain expression",ql=Wl.getLocaleSpecificMessage(Wl.Diagnostics.Convert_to_optional_chain_expression),Xl={name:Jl,description:ql,kind:"refactor.rewrite.expression.optionalChain"},zl.registerRefactor(Jl,{kinds:[Xl.kind],getAvailableActions:function(e){var n=gq(e,"invoked"===e.triggerReason);if(n){if(!zl.isRefactorErrorInfo(n))return[{name:Jl,description:ql,actions:[Xl]}];if(e.preferences.provideRefactorNotApplicableReason)return[{name:Jl,description:ql,actions:[nu(nu({},Xl),{notApplicableReason:n.error})]}]}return Wl.emptyArray},getEditsForAction:function(e,n){var t=gq(e);return Wl.Debug.assert(t&&!zl.isRefactorErrorInfo(t),"Expected applicable refactor info"),{edits:Wl.textChanges.ChangeTracker.with(e,(function(n){var r,a,i,o,s,c;r=e.file,a=e.program.getTypeChecker(),n=n,o=(i=t).finalExpression,s=i.occurrences,i=i.expression,c=s[s.length-1],(a=function e(n,t,r){if(Wl.isPropertyAccessExpression(t)||Wl.isElementAccessExpression(t)||Wl.isCallExpression(t)){n=e(n,t.expression,r);var a=0<r.length?r[r.length-1]:void 0;a=(null==a?void 0:a.getText())===t.expression.getText();if(a&&r.pop(),Wl.isCallExpression(t))return a?Wl.factory.createCallChain(n,Wl.factory.createToken(28),t.typeArguments,t.arguments):Wl.factory.createCallChain(n,t.questionDotToken,t.typeArguments,t.arguments);if(Wl.isPropertyAccessExpression(t))return a?Wl.factory.createPropertyAccessChain(n,Wl.factory.createToken(28),t.name):Wl.factory.createPropertyAccessChain(n,t.questionDotToken,t.name);if(Wl.isElementAccessExpression(t))return a?Wl.factory.createElementAccessChain(n,Wl.factory.createToken(28),t.argumentExpression):Wl.factory.createElementAccessChain(n,t.questionDotToken,t.argumentExpression)}return t}(a,o,s))&&(Wl.isPropertyAccessExpression(a)||Wl.isElementAccessExpression(a)||Wl.isCallExpression(a))&&(Wl.isBinaryExpression(i)?n.replaceNodeRange(r,c,o,a):Wl.isConditionalExpression(i)&&n.replaceNode(r,i,Wl.factory.createBinaryExpression(a,Wl.factory.createToken(60),i.whenFalse)))})),renameFilename:void 0,renameLocation:void 0}}}),Yl=bY=bY||{},(OY=Yl.refactor||(Yl.refactor={})).addOrRemoveBracesToArrowFunction||(OY.addOrRemoveBracesToArrowFunction={}),Ql="Convert overload list to single signature",Zl=Yl.Diagnostics.Convert_overload_list_to_single_signature.message,OY.registerRefactor(Ql,{kinds:[($l={name:Ql,description:Zl,kind:"refactor.rewrite.function.overloadList"}).kind],getEditsForAction:function(e){var n=e.file,t=e.program,r=Tq(n,e.startPosition,t);if(r){var a=t.getTypeChecker(),i=r[r.length-1],o=i;switch(i.kind){case 166:o=Yl.factory.updateMethodSignature(i,i.modifiers,i.name,i.questionToken,i.typeParameters,s(r),i.type);break;case 167:o=Yl.factory.updateMethodDeclaration(i,i.decorators,i.modifiers,i.asteriskToken,i.name,i.questionToken,i.typeParameters,s(r),i.type,i.body);break;case 172:o=Yl.factory.updateCallSignature(i,i.typeParameters,s(r),i.type);break;case 169:o=Yl.factory.updateConstructorDeclaration(i,i.decorators,i.modifiers,s(r),i.body);break;case 173:o=Yl.factory.updateConstructSignature(i,i.typeParameters,s(r),i.type);break;case 254:o=Yl.factory.updateFunctionDeclaration(i,i.decorators,i.modifiers,i.asteriskToken,i.name,i.typeParameters,s(r),i.type,i.body);break;default:return Yl.Debug.failBadSyntaxKind(i,"Unhandled signature kind in overload list conversion refactoring")}return o!==i?{renameFilename:void 0,renameLocation:void 0,edits:Yl.textChanges.ChangeTracker.with(e,(function(e){e.replaceNodeRange(n,r[0],r[r.length-1],o)}))}:void 0}function s(e){var n=e[e.length-1];return Yl.isFunctionLikeDeclaration(n)&&n.body&&(e=e.slice(0,e.length-1)),Yl.factory.createNodeArray([Yl.factory.createParameterDeclaration(void 0,void 0,Yl.factory.createToken(25),"args",void 0,Yl.factory.createUnionTypeNode(Yl.map(e,c)))])}function c(e){return e=Yl.map(e.parameters,l),Yl.setEmitFlags(Yl.factory.createTupleTypeNode(e),Yl.some(e,(function(e){return!!Yl.length(Yl.getSyntheticLeadingComments(e))}))?0:1)}function l(e){Yl.Debug.assert(Yl.isIdentifier(e.name));var n=Yl.setTextRange(Yl.factory.createNamedTupleMember(e.dotDotDotToken,e.name,e.questionToken,e.type||Yl.factory.createKeywordTypeNode(129)),e);e=e.symbol&&e.symbol.getDocumentationComment(a);return e&&(e=Yl.displayPartsToString(e)).length&&Yl.setSyntheticLeadingComments(n,[{text:"*\n"+e.split("\n").map((function(e){return" * "+e})).join("\n")+"\n ",kind:3,pos:-1,end:-1,hasTrailingNewLine:!0,hasLeadingNewline:!0}]),n}},getAvailableActions:function(e){return Tq(e.file,e.startPosition,e.program)?[{name:Ql,description:Zl,actions:[$l]}]:Yl.emptyArray}});ed=bY=bY||{},nd=ed.refactor||(ed.refactor={}),tu=nd.extractSymbol||(nd.extractSymbol={}),ad="Extract Symbol",id={name:"Extract Constant",description:ed.getLocaleSpecificMessage(ed.Diagnostics.Extract_constant),kind:"refactor.extract.constant"},od={name:"Extract Function",description:ed.getLocaleSpecificMessage(ed.Diagnostics.Extract_function),kind:"refactor.extract.function"},nd.registerRefactor(ad,{kinds:[id.kind,od.kind],getAvailableActions:Sq,getEditsForAction:xq}),tu.getAvailableActions=Sq,tu.getEditsForAction=xq,(sm=td=tu.Messages||(tu.Messages={})).cannotExtractRange=Lq("Cannot extract range."),sm.cannotExtractImport=Lq("Cannot extract import statement."),sm.cannotExtractSuper=Lq("Cannot extract super call."),sm.cannotExtractJSDoc=Lq("Cannot extract JSDoc."),sm.cannotExtractEmpty=Lq("Cannot extract empty range."),sm.expressionExpected=Lq("expression expected."),sm.uselessConstantType=Lq("No reason to extract constant of type."),sm.statementOrExpressionExpected=Lq("Statement or expression expected."),sm.cannotExtractRangeContainingConditionalBreakOrContinueStatements=Lq("Cannot extract range containing conditional break or continue statements."),sm.cannotExtractRangeContainingConditionalReturnStatement=Lq("Cannot extract range containing conditional return statement."),sm.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange=Lq("Cannot extract range containing labeled break or continue with target outside of the range."),sm.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators=Lq("Cannot extract range containing writes to references located outside of the target range in generators."),sm.typeWillNotBeVisibleInTheNewScope=Lq("Type will not visible in the new scope."),sm.functionWillNotBeVisibleInTheNewScope=Lq("Function will not visible in the new scope."),sm.cannotExtractIdentifier=Lq("Select more than a single identifier."),sm.cannotExtractExportedEntity=Lq("Cannot extract exported declaration"),sm.cannotWriteInExpression=Lq("Cannot write back side-effects when extracting an expression"),sm.cannotExtractReadonlyPropertyInitializerOutsideConstructor=Lq("Cannot move initialization of read-only class property outside of the constructor"),sm.cannotExtractAmbientBlock=Lq("Cannot extract code from ambient contexts"),sm.cannotAccessVariablesFromNestedScopes=Lq("Cannot access variables from nested scopes"),sm.cannotExtractToJSClass=Lq("Cannot extract constant to a class scope in JS"),sm.cannotExtractToExpressionArrowFunction=Lq("Cannot extract constant to an arrow function without a block"),(sm=rd=rd||{})[sm.None=0]="None",sm[sm.HasReturn=1]="HasReturn",sm[sm.IsGenerator=2]="IsGenerator",sm[sm.IsAsyncFunction=4]="IsAsyncFunction",sm[sm.UsesThis=8]="UsesThis",sm[sm.InStaticRegion=16]="InStaticRegion",tu.getRangeToExtract=Dq,sd=bY=bY||{},cd=sd.refactor||(sd.refactor={}),ld="Extract type",dd={name:"Extract to type alias",description:sd.getLocaleSpecificMessage(sd.Diagnostics.Extract_to_type_alias),kind:"refactor.extract.type"},ud={name:"Extract to interface",description:sd.getLocaleSpecificMessage(sd.Diagnostics.Extract_to_interface),kind:"refactor.extract.interface"},pd={name:"Extract to typedef",description:sd.getLocaleSpecificMessage(sd.Diagnostics.Extract_to_typedef),kind:"refactor.extract.typedef"},cd.registerRefactor(ld,{kinds:[dd.kind,ud.kind,pd.kind],getAvailableActions:function(e){var n=wq(e,"invoked"===e.triggerReason);return n?cd.isRefactorErrorInfo(n)?e.preferences.provideRefactorNotApplicableReason?[{name:ld,description:sd.getLocaleSpecificMessage(sd.Diagnostics.Extract_type),actions:[nu(nu({},pd),{notApplicableReason:n.error}),nu(nu({},dd),{notApplicableReason:n.error}),nu(nu({},ud),{notApplicableReason:n.error})]}]:sd.emptyArray:[{name:ld,description:sd.getLocaleSpecificMessage(sd.Diagnostics.Extract_type),actions:n.isJS?[pd]:sd.append([dd],n.typeElements&&ud)}]:sd.emptyArray},getEditsForAction:function(e,n){var t=e.file,r=wq(e),a=(sd.Debug.assert(r&&!cd.isRefactorErrorInfo(r),"Expected to find a range to extract"),sd.getUniqueName("NewType",t)),i=(e=sd.textChanges.ChangeTracker.with(e,(function(e){switch(n){case dd.name:return sd.Debug.assert(!r.isJS,"Invalid actionName/JS combo"),_=e,f=t,g=a,h=(y=r).firstStatement,v=y.selection,y=y.typeParameters,b=sd.factory.createTypeAliasDeclaration(void 0,void 0,g,y.map((function(e){return sd.factory.updateTypeParameterDeclaration(e,e.name,e.constraint,void 0)})),v),_.insertNodeBefore(f,h,sd.ignoreSourceNewlines(b),!0),void _.replaceNode(f,v,sd.factory.createTypeReferenceNode(g,y.map((function(e){return sd.factory.createTypeReferenceNode(e.name,void 0)}))),{leadingTriviaOption:sd.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:sd.textChanges.TrailingTriviaOption.ExcludeWhitespace});case pd.name:return sd.Debug.assert(r.isJS,"Invalid actionName/JS combo"),h=e,b=t,_=a,v=(f=r).firstStatement,g=f.selection,f=f.typeParameters,y=sd.factory.createJSDocTypedefTag(sd.factory.createIdentifier("typedef"),sd.factory.createJSDocTypeExpression(g),sd.factory.createIdentifier(_)),m=[],sd.forEach(f,(function(e){var n=sd.getEffectiveConstraintOfTypeParameter(e);e=sd.factory.createTypeParameterDeclaration(e.name),n=sd.factory.createJSDocTemplateTag(sd.factory.createIdentifier("template"),n&&sd.cast(n,sd.isJSDocTypeExpression),[e]);m.push(n)})),h.insertNodeBefore(b,v,sd.factory.createJSDocComment(void 0,sd.factory.createNodeArray(sd.concatenate(m,[y]))),!0),void h.replaceNode(b,g,sd.factory.createTypeReferenceNode(_,f.map((function(e){return sd.factory.createTypeReferenceNode(e.name,void 0)}))));case ud.name:return sd.Debug.assert(!r.isJS&&!!r.typeElements,"Invalid actionName/JS combo"),i=e,o=t,s=a,l=(c=r).firstStatement,d=c.selection,u=c.typeParameters,c=c.typeElements,p=sd.factory.createInterfaceDeclaration(void 0,void 0,s,u,void 0,c),sd.setTextRange(p,null==(c=c[0])?void 0:c.parent),i.insertNodeBefore(o,l,sd.ignoreSourceNewlines(p),!0),void i.replaceNode(o,d,sd.factory.createTypeReferenceNode(s,u.map((function(e){return sd.factory.createTypeReferenceNode(e.name,void 0)}))),{leadingTriviaOption:sd.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:sd.textChanges.TrailingTriviaOption.ExcludeWhitespace});default:sd.Debug.fail("Unexpected action name")}var i,o,s,c,l,d,u,p,m,_,f,g,y,h,v,b})),t.fileName);return{edits:e,renameFilename:i,renameLocation:sd.getRenameLocation(e,i,a,!1)}}}),md=bY=bY||{},(yd=md.refactor||(md.refactor={})).generateGetAccessorAndSetAccessor||(yd.generateGetAccessorAndSetAccessor={}),_d="Generate 'get' and 'set' accessors",fd=md.Diagnostics.Generate_get_and_set_accessors.message,yd.registerRefactor(_d,{kinds:[(gd={name:_d,description:fd,kind:"refactor.rewrite.property.generateAccessors"}).kind],getEditsForAction:function(e,n){if(e.endPosition){var t,r=md.codefix.getAccessorConvertiblePropertyAtPosition(e.file,e.program,e.startPosition,e.endPosition);n=(md.Debug.assert(r&&!yd.isRefactorErrorInfo(r),"Expected applicable refactor info"),md.codefix.generateAccessorFromProperty(e.file,e.program,e.startPosition,e.endPosition,e,n));if(n)return e=e.file.fileName,t=r.renameAccessor?r.accessorName:r.fieldName,{renameFilename:e,renameLocation:(md.isIdentifier(t)?0:-1)+md.getRenameLocation(n,e,t.text,md.isParameter(r.declaration)),edits:n}}},getAvailableActions:function(e){var n;return e.endPosition&&(n=md.codefix.getAccessorConvertiblePropertyAtPosition(e.file,e.program,e.startPosition,e.endPosition,"invoked"===e.triggerReason))?yd.isRefactorErrorInfo(n)?e.preferences.provideRefactorNotApplicableReason?[{name:_d,description:fd,actions:[nu(nu({},gd),{notApplicableReason:n.error})]}]:md.emptyArray:[{name:_d,description:fd,actions:[gd]}]:md.emptyArray}}),(cm=(cm=bY=bY||{}).refactor||(cm.refactor={})).isRefactorErrorInfo=function(e){return void 0!==e.error},cm.refactorKindBeginsWith=function(e,n){return!n||e.substr(0,n.length)===n},hd=bY=bY||{},OY=hd.refactor||(hd.refactor={}),vd="Move to a new file",bd=hd.getLocaleSpecificMessage(hd.Diagnostics.Move_to_a_new_file),Ed={name:vd,description:bd,kind:"refactor.move.newFile"},OY.registerRefactor(vd,{kinds:[Ed.kind],getAvailableActions:function(e){var n=Fq(e);return e.preferences.allowTextChangesInNewFiles&&n?[{name:vd,description:bd,actions:[Ed]}]:e.preferences.provideRefactorNotApplicableReason?[{name:vd,description:bd,actions:[nu(nu({},Ed),{notApplicableReason:hd.getLocaleSpecificMessage(hd.Diagnostics.Selection_is_not_a_valid_statement_or_statements)})]}]:hd.emptyArray},getEditsForAction:function(e,n){hd.Debug.assert(n===vd,"Wrong refactor invoked");var t=hd.Debug.checkDefined(Fq(e));return{edits:hd.textChanges.ChangeTracker.with(e,(function(n){r=e.file,l=t,n=n,i=e.host,u=e.preferences,c=(a=e.program).getTypeChecker(),c=((e,n,t)=>{var r=new Td,a=new Td,i=new Td,o=(e=>{var n;if(void 0!==e)return n=t.getJsxNamespace(e),(n=t.resolveName(n,e,1920,!0))&&hd.some(n.declarations,zq)?n:void 0})(hd.find(n,(function(e){return!!(2&e.transformFlags)})));o&&a.add(o);for(var s=0,c=n;s<c.length;s++)$q(f=c[s],(function(e){r.add(hd.Debug.checkDefined(hd.isExpressionStatement(e)?t.getSymbolAtLocation(e.expression.left):e.symbol,"Need a symbol here"))}));for(var l=0,d=n;l<d.length;l++)Xq(f=d[l],t,(function(n){if(n.declarations)for(var t=0,o=n.declarations;t<o.length;t++){var s=o[t];zq(s)?a.add(n):Qq(s)&&(s=s,(hd.isVariableDeclaration(s)?s.parent.parent:s).parent===e)&&!r.has(n)&&i.add(n)}}));for(var u=a.clone(),p=new Td,m=0,_=e.statements;m<_.length;m++){var f=_[m];hd.contains(n,f)||(o&&2&f.transformFlags&&u.delete(o),Xq(f,t,(function(e){r.has(e)&&p.add(e),u.delete(e)})))}return{movedSymbols:r,newFileImportsFromOldFile:i,oldFileImportsFromNewFile:p,oldImportsNeededByNewFile:a,unusedImportsFromOldFile:u}})(r,l.all,c),s=hd.getDirectoryPath(r.fileName),o=hd.extensionFromPath(r.fileName),d=((e,n,t,r)=>{for(var a=e,i=1;;i++){var o=hd.combinePaths(t,a+n);if(!r.fileExists(o))return a;a=e+"."+i}})((e=>e.forEachEntry(hd.symbolNameNoDefault)||"newFile")(c.movedSymbols),o,s,i),o=d+o,n.createNewFile(r,hd.combinePaths(s,o),((e,n,t,r,a,i,o)=>{var s=a.getTypeChecker(),c=hd.takeWhile(e.statements,hd.isPrologueDirective);if(!e.externalModuleIndicator&&!e.commonJsModuleIndicator)return Bq(e,r.ranges,t),eu(eu([],c,!0),r.all,!0);for(var l=!!e.externalModuleIndicator,d=(o=hd.getQuotePreference(e,o),((e,n,t,r)=>{var a,i=[];return e.forEach((function(e){"default"===e.escapedName?a=hd.factory.createIdentifier(hd.symbolNameNoDefault(e)):i.push(e.name)})),jq(a,i,n,t,r)})(n.oldFileImportsFromNewFile,i,l,o)),u=(d&&hd.insertImports(t,e,d,!0),e),p=r.all,m=t,_=n.unusedImportsFromOldFile,f=s,g=0,y=u.statements;g<y.length;g++){var h=y[g];hd.contains(p,h)||Vq(h,(function(e){Wq(u,e,m,(function(e){return _.has(f.getSymbolAtLocation(e))}))}))}Bq(e,r.ranges,t);for(var v=t,b=a,E=e,T=n.movedSymbols,S=i,x=b.getTypeChecker(),L=function(e){if(e===E)return"continue";for(var n=function(n){Vq(n,(function(t){if(x.getSymbolAtLocation(Uq(t))===E.symbol){var r=function(e){return e=hd.isBindingElement(e.parent)?hd.getPropertySymbolFromBindingElement(x,e.parent):hd.skipAlias(x.getSymbolAtLocation(e),x),!!e&&T.has(e)},a=(Wq(e,t,v,r),hd.combinePaths(hd.getDirectoryPath(Uq(t).text),S));r=qq(t,hd.factory.createStringLiteral(a),r),r=(r&&v.insertNodeAfter(e,n,r),(e=>{switch(e.kind){case 264:return e.importClause&&e.importClause.namedBindings&&266===e.importClause.namedBindings.kind?e.importClause.namedBindings.name:void 0;case 263:return e.name;case 252:return hd.tryCast(e.name,hd.isIdentifier);default:return hd.Debug.assertNever(e,"Unexpected node kind "+e.kind)}})(t));if(r){var i=v,o=e,s=x,c=T,l=S,d=hd.codefix.moduleSpecifierToValidIdentifier(l,99),u=!1,p=[];if(hd.FindAllReferences.Core.eachSymbolReferenceInFile(r,s,o,(function(e){hd.isPropertyAccessExpression(e.parent)&&(u=u||!!s.resolveName(d,e,67108863,!0),c.has(s.getSymbolAtLocation(e.parent.name)))&&p.push(e)})),p.length){for(var m=u?hd.getUniqueName(d,o):d,_=0,f=p;_<f.length;_++){var g=f[_];i.replaceNode(o,g,hd.factory.createIdentifier(m))}i.insertNodeAfter(o,t,((e,n,t)=>{var r=hd.factory.createIdentifier(n),a=hd.factory.createStringLiteral(t);switch(e.kind){case 264:return hd.factory.createImportDeclaration(void 0,void 0,hd.factory.createImportClause(!1,void 0,hd.factory.createNamespaceImport(r)),a);case 263:return hd.factory.createImportEqualsDeclaration(void 0,void 0,!1,r,hd.factory.createExternalModuleReference(a));case 252:return hd.factory.createVariableDeclaration(r,void 0,void 0,Hq(a));default:return hd.Debug.assertNever(e,"Unexpected node kind "+e.kind)}})(t,l,a))}}}}))},t=0,r=e.statements;t<r.length;t++)n(r[t])},D=0,A=b.getSourceFiles();D<A.length;D++){var C=A[D];L(C)}return d=((e,n,t,r,a,i,o)=>{for(var s,c=[],l=0,d=e.statements;l<d.length;l++)Vq(d[l],(function(e){hd.append(c,qq(e,Uq(e),(function(e){return n.has(a.getSymbolAtLocation(e))})))}));var u=[],p=hd.nodeSeenTracker();return t.forEach((function(n){if(n.declarations)for(var t,a,o,c,l=0,d=n.declarations;l<d.length;l++){var m,_,f=d[l];Qq(f)&&(m=f,m=hd.isExpressionStatement(m)?hd.tryCast(m.expression.left.name,hd.isIdentifier):hd.tryCast(m.name,hd.isIdentifier))&&(_=function e(n){switch(n.kind){case 252:return n.parent.parent;case 201:return e(hd.cast(n.parent.parent,(function(e){return hd.isVariableDeclaration(e)||hd.isBindingElement(e)})));default:return n}}(f),p(_)&&(o=r,eX(t=e,_=_,c=i,a=m)||(c?hd.isExpressionStatement(_)||o.insertExportModifier(t,_):0!==(a=nX(_)).length&&o.insertNodesAfter(t,_,a.map(tX)))),hd.hasSyntacticModifier(f,512)?s=m:u.push(m.text))}})),hd.append(c,jq(s,u,hd.removeFileExtension(hd.getBaseFileName(e.fileName)),i,o)),c})(e,n.oldImportsNeededByNewFile,n.newFileImportsFromOldFile,t,s,l,o),a=((e,n,t,r)=>hd.flatMap(n,(function(n){return a=n,hd.Debug.assert(hd.isSourceFile(a.parent),"Node parent should be a SourceFile"),(Zq(a)||hd.isVariableStatement(a))&&!eX(e,n,r)&&$q(n,(function(e){return t.has(hd.Debug.checkDefined(e.symbol))}))&&(a=n,a=r?[(e=>{var n=hd.concatenate([hd.factory.createModifier(93)],e.modifiers);switch(e.kind){case 254:return hd.factory.updateFunctionDeclaration(e,e.decorators,n,e.asteriskToken,e.name,e.typeParameters,e.parameters,e.type,e.body);case 255:return hd.factory.updateClassDeclaration(e,e.decorators,n,e.name,e.typeParameters,e.heritageClauses,e.members);case 235:return hd.factory.updateVariableStatement(e,n,e.declarationList);case 259:return hd.factory.updateModuleDeclaration(e,e.decorators,n,e.name,e.body);case 258:return hd.factory.updateEnumDeclaration(e,e.decorators,n,e.name,e.members);case 257:return hd.factory.updateTypeAliasDeclaration(e,e.decorators,n,e.name,e.typeParameters,e.type);case 256:return hd.factory.updateInterfaceDeclaration(e,e.decorators,n,e.name,e.typeParameters,e.heritageClauses,e.members);case 263:return hd.factory.updateImportEqualsDeclaration(e,e.decorators,n,e.isTypeOnly,e.name,e.moduleReference);case 236:return hd.Debug.fail();default:return hd.Debug.assertNever(e,"Unexpected declaration kind "+e.kind)}})(a)]:(e=>eu([e],nX(e).map(tX),!0))(a),a)?a:n;var a})))(e,r.all,n.oldFileImportsFromNewFile,l),d.length&&a.length?eu(eu(eu(eu([],c,!0),d,!0),[4],!1),a,!0):eu(eu(eu([],c,!0),d,!0),a,!0)})(r,c,n,l,a,d,u));var r,a,i,o,s=a,c=n,l=r.fileName,d=o,u=hd.hostGetCanonicalFileName(i);(s=s.getCompilerOptions().configFile)&&(l=hd.normalizePath(hd.combinePaths(l,"..",d)),d=hd.getRelativePathFromFile(s.fileName,l,u),l=s.statements[0]&&hd.tryCast(s.statements[0].expression,hd.isObjectLiteralExpression),u=l&&hd.find(l.properties,(function(e){return hd.isPropertyAssignment(e)&&hd.isStringLiteral(e.name)&&"files"===e.name.text})))&&hd.isArrayLiteralExpression(u.initializer)&&c.insertNodeInListAfter(s,hd.last(u.initializer.elements),hd.factory.createStringLiteral(d),u.initializer.elements)})),renameFilename:void 0,renameLocation:void 0}}}),Yq.prototype.add=function(e){this.map.set(String(hd.getSymbolId(e)),e)},Yq.prototype.has=function(e){return this.map.has(String(hd.getSymbolId(e)))},Yq.prototype.delete=function(e){this.map.delete(String(hd.getSymbolId(e)))},Yq.prototype.forEach=function(e){this.map.forEach(e)},Yq.prototype.forEachEntry=function(e){return hd.forEachEntry(this.map,e)},Yq.prototype.clone=function(){var e=new Yq;return hd.copyEntries(this.map,e.map),e},Td=Yq,Sd=bY=bY||{},(xd=Sd.refactor||(Sd.refactor={})).addOrRemoveBracesToArrowFunction||(xd.addOrRemoveBracesToArrowFunction={}),Ld="Add or remove braces in an arrow function",Dd=Sd.Diagnostics.Add_or_remove_braces_in_an_arrow_function.message,Ad={name:"Add braces to arrow function",description:Sd.Diagnostics.Add_braces_to_arrow_function.message,kind:"refactor.rewrite.arrow.braces.add"},Cd={name:"Remove braces from arrow function",description:Sd.Diagnostics.Remove_braces_from_arrow_function.message,kind:"refactor.rewrite.arrow.braces.remove"},xd.registerRefactor(Ld,{kinds:[Cd.kind],getEditsForAction:function(e,n){var t,r=e.file,a=rX(r,e.startPosition),i=(Sd.Debug.assert(a&&!xd.isRefactorErrorInfo(a),"Expected applicable refactor info"),a.expression),o=a.returnStatement,s=a.func;return n===Ad.name?(a=Sd.factory.createReturnStatement(i),t=Sd.factory.createBlock([a],!0),Sd.suppressLeadingAndTrailingTrivia(t),Sd.copyLeadingComments(i,a,r,3,!0)):n===Cd.name&&o?(a=i||Sd.factory.createVoidZero(),t=Sd.needsParentheses(a)?Sd.factory.createParenthesizedExpression(a):a,Sd.suppressLeadingAndTrailingTrivia(t),Sd.copyTrailingAsLeadingComments(o,t,r,3,!1),Sd.copyLeadingComments(o,t,r,3,!1),Sd.copyTrailingComments(o,t,r,3,!1)):Sd.Debug.fail("invalid action"),n=Sd.textChanges.ChangeTracker.with(e,(function(e){e.replaceNode(r,s.body,t)})),{renameFilename:void 0,renameLocation:void 0,edits:n}},getAvailableActions:function(e){var n=rX(e.file,e.startPosition,"invoked"===e.triggerReason);if(n){if(!xd.isRefactorErrorInfo(n))return[{name:Ld,description:Dd,actions:[n.addBraces?Ad:Cd]}];if(e.preferences.provideRefactorNotApplicableReason)return[{name:Ld,description:Dd,actions:[nu(nu({},Ad),{notApplicableReason:n.error}),nu(nu({},Cd),{notApplicableReason:n.error})]}]}return Sd.emptyArray}}),Id=bY=bY||{},(sm=Id.refactor||(Id.refactor={})).convertParamsToDestructuredObject||(sm.convertParamsToDestructuredObject={}),Nd="Convert parameters to destructured object",kd=2,Rd=Id.getLocaleSpecificMessage(Id.Diagnostics.Convert_parameters_to_destructured_object),Od={name:Nd,description:Rd,kind:"refactor.rewrite.parameters.toDestructured"},sm.registerRefactor(Nd,{kinds:[Od.kind],getEditsForAction:function(e,n){Id.Debug.assert(n===Nd,"Unexpected action name");var t=e.file,r=e.program,a=(n=e.cancellationToken,e.host),i=cX(t,e.startPosition,r.getTypeChecker());if(i&&n){var o=((e,n,t)=>{var r=(e=>{switch(e.kind){case 254:return e.name?[e.name]:[Id.Debug.checkDefined(Id.findModifier(e,88),"Nameless function declaration should be a default export")];case 167:return[e.name];case 169:var n=Id.Debug.checkDefined(Id.findChildOfKind(e,133,e.getSourceFile()),"Constructor declaration should have constructor keyword");return 224===e.parent.kind?[e.parent.parent.name,n]:[n];case 212:return[e.parent.name];case 211:return e.name?[e.name,e.parent.name]:[e.parent.name];default:return Id.Debug.assertNever(e,"Unexpected function declaration kind "+e.kind)}})(e),a=Id.isConstructorDeclaration(e)?(e=>{switch(e.parent.kind){case 255:var n=e.parent;return n.name?[n.name]:[Id.Debug.checkDefined(Id.findModifier(n,88),"Nameless class declaration should be a default export")];case 224:n=e.parent;var t=e.parent.parent;n=n.name;return n?[n,t.name]:[t.name]}})(e):[],i=Id.deduplicate(eu(eu([],r,!0),a,!0),Id.equateValues),o=n.getTypeChecker(),s=(n=>{for(var t={accessExpressions:[],typeUsages:[]},i={functionCalls:[],declarations:[],classReferences:t,valid:!0},s=Id.map(r,c),l=Id.map(a,c),d=Id.isConstructorDeclaration(e),u=Id.map(r,(function(e){return aX(e,o)})),p=0,m=n;p<m.length;p++){var _=m[p];if(0===_.kind);else{if(Id.contains(u,c(_.node))){if((e=>Id.isMethodSignature(e)&&(Id.isInterfaceDeclaration(e.parent)||Id.isTypeLiteralNode(e.parent)))(_.node.parent)){i.signature=_.node.parent;continue}if(f=sX(_)){i.functionCalls.push(f);continue}}var f,g,y=aX(_.node,o);if(y&&Id.contains(u,y)&&(g=oX(_))){i.declarations.push(g);continue}if(Id.contains(s,c(_.node))||Id.isNewExpressionTarget(_.node)){if(iX(_))continue;if(g=oX(_)){i.declarations.push(g);continue}if(f=sX(_)){i.functionCalls.push(f);continue}}if(d&&Id.contains(l,c(_.node))){if(iX(_))continue;if(g=oX(_)){i.declarations.push(g);continue}if(y=(e=>{if(e.node.parent){var n=e.node,t=n.parent;switch(t.kind){case 204:var r=Id.tryCast(t,Id.isPropertyAccessExpression);if(r&&r.expression===n)return r;break;case 205:if(r=Id.tryCast(t,Id.isElementAccessExpression),r&&r.expression===n)return r}}})(_),y){t.accessExpressions.push(y);continue}if(Id.isClassDeclaration(e.parent)&&(y=(e=>{if(e=e.node,2===Id.getMeaningFromLocation(e)||Id.isExpressionWithTypeArgumentsInClassExtendsClause(e.parent))return e})(_),y)){t.typeUsages.push(y);continue}}}i.valid=!1}return i})(Id.flatMap(i,(function(e){return Id.FindAllReferences.getReferenceEntriesForNode(-1,e,n,n.getSourceFiles(),t)})));return Id.every(s.declarations,(function(e){return Id.contains(i,e)}))||(s.valid=!1),s;function c(e){return e=o.getSymbolAtLocation(e),e&&Id.getSymbolTarget(e,o)}})(i,r,n);return o.valid?{renameFilename:void 0,renameLocation:void 0,edits:Id.textChanges.ChangeTracker.with(e,(function(e){var n=t,s=r,c=a,l=e,d=i,u=(e=o,e.signature),p=Id.map(_X(d,s,c),(function(e){return Id.getSynthesizedDeepClone(e)}));u&&(s=Id.map(_X(u,s,c),(function(e){return Id.getSynthesizedDeepClone(e)})),y(u,s)),y(d,p);c=Id.sortAndDeduplicate(e.functionCalls,(function(e,n){return Id.compareValues(e.pos,n.pos)}));for(var m=0,_=c;m<_.length;m++){var f,g=_[m];g.arguments&&g.arguments.length&&(f=Id.getSynthesizedDeepClone(((e,n)=>{var t=mX(e.parameters),r=(e=Id.isRestParameter(Id.last(t)))?n.slice(0,t.length-1):n;r=Id.map(r,(function(e,n){return n=((e,n)=>Id.isIdentifier(n)&&Id.getTextOfIdentifierOrLiteral(n)===e?Id.factory.createShorthandPropertyAssignment(e):Id.factory.createPropertyAssignment(e,n))(fX(t[n]),e),Id.suppressLeadingAndTrailingTrivia(n.name),Id.isPropertyAssignment(n)&&Id.suppressLeadingAndTrailingTrivia(n.initializer),Id.copyComments(e,n),n}));return e&&n.length>=t.length&&(e=n.slice(t.length-1),n=Id.factory.createPropertyAssignment(fX(Id.last(t)),Id.factory.createArrayLiteralExpression(e)),r.push(n)),Id.factory.createObjectLiteralExpression(r,!1)})(d,g.arguments),!0),l.replaceNodeRange(Id.getSourceFileOfNode(g),Id.first(g.arguments),Id.last(g.arguments),f,{leadingTriviaOption:Id.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:Id.textChanges.TrailingTriviaOption.Include}))}function y(e,t){l.replaceNodeRangeWithNodes(n,Id.first(e.parameters),Id.last(e.parameters),t,{joiner:", ",indentation:0,leadingTriviaOption:Id.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:Id.textChanges.TrailingTriviaOption.Include})}}))}:{edits:[]}}},getAvailableActions:function(e){var n=e.file,t=e.startPosition;return!Id.isSourceFileJS(n)&&cX(n,t,e.program.getTypeChecker())?[{name:Nd,description:Rd,actions:[Od]}]:Id.emptyArray}}),Pd=bY=bY||{},(tu=Pd.refactor||(Pd.refactor={})).convertStringOrTemplateLiteral||(tu.convertStringOrTemplateLiteral={}),wd="Convert to template string",Md=Pd.getLocaleSpecificMessage(Pd.Diagnostics.Convert_to_template_string),Fd={name:wd,description:Md,kind:"refactor.rewrite.string"},tu.registerRefactor(wd,{kinds:[Fd.kind],getEditsForAction:function(e,n){var t=gX(e.file,e.startPosition);return n!==Md?Pd.Debug.fail("invalid action"):{edits:((e,n)=>{var t,r,a=yX(n),i=e.file,o=((e,n)=>{var t=e.nodes,r=Gd(e.operators,n),a=Bd(t,n,r),i=(n=(e=bX(0,t))[0],e[1]),o=e[2];e=e[3];if(n===t.length)return l=Pd.factory.createNoSubstitutionTemplateLiteral(i,o),a(e,l),l;for(var s,c=[],l=Pd.factory.createTemplateHead(i,o),d=(a(e,l),function(e){var n=(e=>(Pd.isParenthesizedExpression(e)&&(EX(e),e=e.expression),e))(t[e]),i=(r(e,n),bX(e+1,t)),o=i[0],l=i[1],d=i[2],u=(i=i[3],(e=o-1)===t.length-1);Pd.isTemplateExpression(n)?(o=Pd.map(n.templateSpans,(function(e,t){EX(e);t=t===n.templateSpans.length-1;var r=e.literal.text+(t?l:"");t=vX(e.literal)+(t?d:"");return Pd.factory.createTemplateSpan(e.expression,u?Pd.factory.createTemplateTail(r,t):Pd.factory.createTemplateMiddle(r,t))})),c.push.apply(c,o)):(o=u?Pd.factory.createTemplateTail(l,d):Pd.factory.createTemplateMiddle(l,d),a(i,o),c.push(Pd.factory.createTemplateSpan(n,o))),s=e}),u=n;u<t.length;u++)d(u),u=s;return Pd.factory.createTemplateExpression(l,c)})(hX(a),i);return(n=Pd.getTrailingCommentRanges(i.text,a.end))?(t=n[n.length-1],r={pos:n[0].pos,end:t.end},Pd.textChanges.ChangeTracker.with(e,(function(e){e.deleteRange(i,r),e.replaceNode(i,a,o)}))):Pd.textChanges.ChangeTracker.with(e,(function(e){return e.replaceNode(i,a,o)}))})(e,t)}},getAvailableActions:function(e){var n=yX(gX(e.file,e.startPosition)),t={name:wd,description:Md,actions:[]};return Pd.isBinaryExpression(n)&&hX(n).isValidConcatenation?(t.actions.push(Fd),[t]):e.preferences.provideRefactorNotApplicableReason?(t.actions.push(nu(nu({},Fd),{notApplicableReason:Pd.getLocaleSpecificMessage(Pd.Diagnostics.Can_only_convert_string_concatenation)})),[t]):Pd.emptyArray}}),Gd=function(e,n){return function(t,r){t<e.length&&Pd.copyTrailingComments(e[t],r,n,3,!1)}},Bd=function(e,n,t){return function(r,a){for(;0<r.length;){var i=r.shift();Pd.copyTrailingComments(e[i],a,n,3,!1),t(i,a)}}},Ud=bY=bY||{},(Vd=Ud.refactor||(Ud.refactor={})).convertArrowFunctionOrFunctionExpression||(Vd.convertArrowFunctionOrFunctionExpression={}),jd="Convert arrow function or function expression",Kd=Ud.getLocaleSpecificMessage(Ud.Diagnostics.Convert_arrow_function_or_function_expression),Hd={name:"Convert to anonymous function",description:Ud.getLocaleSpecificMessage(Ud.Diagnostics.Convert_to_anonymous_function),kind:"refactor.rewrite.function.anonymous"},Wd={name:"Convert to named function",description:Ud.getLocaleSpecificMessage(Ud.Diagnostics.Convert_to_named_function),kind:"refactor.rewrite.function.named"},zd={name:"Convert to arrow function",description:Ud.getLocaleSpecificMessage(Ud.Diagnostics.Convert_to_arrow_function),kind:"refactor.rewrite.function.arrow"},Vd.registerRefactor(jd,{kinds:[Hd.kind,Wd.kind,zd.kind],getEditsForAction:function(e,n){var t=SX(e.file,e.startPosition,e.program);if(t){var r=t.func,a=[];switch(n){case Hd.name:a.push.apply(a,((e,n)=>{var t=e.file,r=xX(n.body),a=Ud.factory.createFunctionExpression(n.modifiers,n.asteriskToken,void 0,n.typeParameters,n.parameters,n.type,r);return Ud.textChanges.ChangeTracker.with(e,(function(e){return e.replaceNode(t,n,a)}))})(e,r));break;case Wd.name:var i=(e=>{var n,t;e=e.parent;if(Ud.isVariableDeclaration(e)&&Ud.isVariableDeclarationInVariableStatement(e))return n=e.parent,t=n.parent,Ud.isVariableDeclarationList(n)&&Ud.isVariableStatement(t)&&Ud.isIdentifier(e.name)?{variableDeclaration:e,variableDeclarationList:n,statement:t,name:e.name}:void 0})(r);if(!i)return;a.push.apply(a,((e,n,t)=>{var r=e.file,a=xX(n.body),i=t.variableDeclaration,o=t.variableDeclarationList,s=t.statement,c=(t=t.name,Ud.suppressLeadingTrivia(s),1&Ud.getCombinedModifierFlags(i)|Ud.getEffectiveModifierFlags(n)),l=(c=Ud.factory.createModifiersFromModifierFlags(c),Ud.factory.createFunctionDeclaration(n.decorators,Ud.length(c)?c:void 0,n.asteriskToken,t,n.typeParameters,n.parameters,n.type,a));return 1===o.declarations.length?Ud.textChanges.ChangeTracker.with(e,(function(e){return e.replaceNode(r,s,l)})):Ud.textChanges.ChangeTracker.with(e,(function(e){e.delete(r,i),e.insertNodeAfter(r,s,l)}))})(e,r,i));break;case zd.name:if(!Ud.isFunctionExpression(r))return;a.push.apply(a,((e,n)=>{var t,r=e.file,a=n.body.statements[0],i=(((e,n)=>1===e.statements.length&&Ud.isReturnStatement(n)&&n.expression)(n.body,a)?(t=a.expression,Ud.suppressLeadingAndTrailingTrivia(t),Ud.copyComments(a,t)):t=n.body,Ud.factory.createArrowFunction(n.modifiers,n.typeParameters,n.parameters,n.type,Ud.factory.createToken(38),t));return Ud.textChanges.ChangeTracker.with(e,(function(e){return e.replaceNode(r,n,i)}))})(e,r));break;default:return Ud.Debug.fail("invalid action")}return{renameFilename:void 0,renameLocation:void 0,edits:a}}},getAvailableActions:function(e){var n=e.file,t=e.kind;n=SX(n,e.startPosition,e.program);if(!n)return Ud.emptyArray;var r,a=n.selectedVariableDeclaration,i=(n=n.func,[]),o=[];return Vd.refactorKindBeginsWith(Wd.kind,t)&&((r=a||Ud.isArrowFunction(n)&&Ud.isVariableDeclaration(n.parent)?void 0:Ud.getLocaleSpecificMessage(Ud.Diagnostics.Could_not_convert_to_named_function))?o.push(nu(nu({},Wd),{notApplicableReason:r})):i.push(Wd)),Vd.refactorKindBeginsWith(Hd.kind,t)&&((r=!a&&Ud.isArrowFunction(n)?void 0:Ud.getLocaleSpecificMessage(Ud.Diagnostics.Could_not_convert_to_anonymous_function))?o.push(nu(nu({},Hd),{notApplicableReason:r})):i.push(Hd)),Vd.refactorKindBeginsWith(zd.kind,t)&&((r=Ud.isFunctionExpression(n)?void 0:Ud.getLocaleSpecificMessage(Ud.Diagnostics.Could_not_convert_to_arrow_function))?o.push(nu(nu({},zd),{notApplicableReason:r})):i.push(zd)),[{name:jd,description:Kd,actions:0===i.length&&e.preferences.provideRefactorNotApplicableReason?o:i}]}}),Jd=bY=bY||{},(qd=Jd.refactor||(Jd.refactor={})).inferFunctionReturnType||(qd.inferFunctionReturnType={}),Xd="Infer function return type",Yd=Jd.Diagnostics.Infer_function_return_type.message,Qd={name:Xd,description:Yd,kind:"refactor.rewrite.function.returnType"},qd.registerRefactor(Xd,{kinds:[Qd.kind],getEditsForAction:function(e){var n=DX(e);if(n&&!qd.isRefactorErrorInfo(n))return{renameFilename:void 0,renameLocation:void 0,edits:Jd.textChanges.ChangeTracker.with(e,(function(t){var r,a,i,o,s;r=e.file,t=t,a=n.declaration,i=n.returnTypeNode,o=Jd.findChildOfKind(a,21,r),s=Jd.isArrowFunction(a)&&void 0===o,(a=s?Jd.first(a.parameters):o)&&(s&&(t.insertNodeBefore(r,a,Jd.factory.createToken(20)),t.insertNodeAfter(r,a,Jd.factory.createToken(21))),t.insertNodeAt(r,a.end,i,{prefix:": "}))}))}},getAvailableActions:function(e){var n=DX(e);if(n){if(!qd.isRefactorErrorInfo(n))return[{name:Xd,description:Yd,actions:[Qd]}];if(e.preferences.provideRefactorNotApplicableReason)return[{name:Xd,description:Yd,actions:[nu(nu({},Qd),{notApplicableReason:n.error})]}]}return Jd.emptyArray}});var AX=bY=bY||{};function CX(e,n,t,r){return e=AX.isNodeKind(e)?new IX(e,n,t):79===e?new BX(79,n,t):80===e?new jX(80,n,t):new MX(e,n,t),e.parent=r,e.flags=25358336&r.flags,e}AX.servicesVersion="0.8",NX.prototype.assertHasRealPosition=function(e){AX.Debug.assert(!AX.positionIsSynthesized(this.pos)&&!AX.positionIsSynthesized(this.end),e||"Node must have a real position for this operation")},NX.prototype.getSourceFile=function(){return AX.getSourceFileOfNode(this)},NX.prototype.getStart=function(e,n){return this.assertHasRealPosition(),AX.getTokenPosOfNode(this,e,n)},NX.prototype.getFullStart=function(){return this.assertHasRealPosition(),this.pos},NX.prototype.getEnd=function(){return this.assertHasRealPosition(),this.end},NX.prototype.getWidth=function(e){return this.assertHasRealPosition(),this.getEnd()-this.getStart(e)},NX.prototype.getFullWidth=function(){return this.assertHasRealPosition(),this.end-this.pos},NX.prototype.getLeadingTriviaWidth=function(e){return this.assertHasRealPosition(),this.getStart(e)-this.pos},NX.prototype.getFullText=function(e){return this.assertHasRealPosition(),(e||this.getSourceFile()).text.substring(this.pos,this.end)},NX.prototype.getText=function(e){return this.assertHasRealPosition(),(e=e||this.getSourceFile()).text.substring(this.getStart(e),this.getEnd())},NX.prototype.getChildCount=function(e){return this.getChildren(e).length},NX.prototype.getChildAt=function(e,n){return this.getChildren(n)[e]},NX.prototype.getChildren=function(e){return this.assertHasRealPosition("Node without a real position cannot be scanned and thus has no token nodes - use forEachChild and collect the result if that's fine"),this._children||(this._children=(n=this,e=e,AX.isNodeKind(n.kind)?(t=[],AX.isJSDocCommentContainingNode(n)?n.forEachChild((function(e){t.push(e)})):(AX.scanner.setText((e||n.getSourceFile()).text),r=n.pos,e=function(e){kX(t,r,e.pos,n),t.push(e),r=e.end},AX.forEach(n.jsDoc,e),r=n.pos,n.forEachChild(e,(function(e){kX(t,r,e.pos,n),t.push(((e,n)=>{for(var t=CX(343,e.pos,e.end,n),r=(t._children=[],e.pos),a=0,i=e;a<i.length;a++){var o=i[a];kX(t._children,r,o.pos,n),t._children.push(o),r=o.end}return kX(t._children,r,e.end,n),t})(e,n)),r=e.end})),kX(t,r,n.end,n),AX.scanner.setText(void 0)),t):AX.emptyArray));var n,t,r},NX.prototype.getFirstToken=function(e){this.assertHasRealPosition();var n=this.getChildren(e);if(n.length)return(n=AX.find(n,(function(e){return e.kind<304||342<e.kind}))).kind<159?n:n.getFirstToken(e)},NX.prototype.getLastToken=function(e){this.assertHasRealPosition();var n=this.getChildren(e);n=AX.lastOrUndefined(n);if(n)return n.kind<159?n:n.getLastToken(e)},NX.prototype.forEachChild=function(e,n){return AX.forEachChild(this,e,n)};var IX=NX;function NX(e,n,t){this.pos=n,this.end=t,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.kind=e}function kX(e,n,t,r){for(AX.scanner.setTextPos(n);n<t;){var a=AX.scanner.scan(),i=AX.scanner.getTextPos();if(i<=t&&(79===a&&AX.Debug.fail("Did not expect "+AX.Debug.formatSyntaxKind(r.kind)+" to have an Identifier in its trivia"),e.push(CX(a,n,i,r))),n=i,1===a)break}}function RX(e,n){this.pos=e,this.end=n,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0}RX.prototype.getSourceFile=function(){return AX.getSourceFileOfNode(this)},RX.prototype.getStart=function(e,n){return AX.getTokenPosOfNode(this,e,n)},RX.prototype.getFullStart=function(){return this.pos},RX.prototype.getEnd=function(){return this.end},RX.prototype.getWidth=function(e){return this.getEnd()-this.getStart(e)},RX.prototype.getFullWidth=function(){return this.end-this.pos},RX.prototype.getLeadingTriviaWidth=function(e){return this.getStart(e)-this.pos},RX.prototype.getFullText=function(e){return(e||this.getSourceFile()).text.substring(this.pos,this.end)},RX.prototype.getText=function(e){return(e=e||this.getSourceFile()).text.substring(this.getStart(e),this.getEnd())},RX.prototype.getChildCount=function(){return this.getChildren().length},RX.prototype.getChildAt=function(e){return this.getChildren()[e]},RX.prototype.getChildren=function(){return 1===this.kind&&this.jsDoc||AX.emptyArray},RX.prototype.getFirstToken=function(){},RX.prototype.getLastToken=function(){},RX.prototype.forEachChild=function(){},cm=RX,PX.prototype.getFlags=function(){return this.flags},Object.defineProperty(PX.prototype,"name",{get:function(){return AX.symbolName(this)},enumerable:!1,configurable:!0}),PX.prototype.getEscapedName=function(){return this.escapedName},PX.prototype.getName=function(){return this.name},PX.prototype.getDeclarations=function(){return this.declarations},PX.prototype.getDocumentationComment=function(e){var n;return this.documentationComment||(this.documentationComment=AX.emptyArray,!this.declarations&&this.target&&this.target.tupleLabelDeclaration?(n=this.target.tupleLabelDeclaration,this.documentationComment=XX([n],e)):this.documentationComment=XX(this.declarations,e)),this.documentationComment},PX.prototype.getContextualDocumentationComment=function(e,n){switch(null==e?void 0:e.kind){case 170:return this.contextualGetAccessorDocumentationComment||(this.contextualGetAccessorDocumentationComment=AX.emptyArray,this.contextualGetAccessorDocumentationComment=XX(AX.filter(this.declarations,AX.isGetAccessor),n)),this.contextualGetAccessorDocumentationComment;case 171:return this.contextualSetAccessorDocumentationComment||(this.contextualSetAccessorDocumentationComment=AX.emptyArray,this.contextualSetAccessorDocumentationComment=XX(AX.filter(this.declarations,AX.isSetAccessor),n)),this.contextualSetAccessorDocumentationComment;default:return this.getDocumentationComment(n)}},PX.prototype.getJsDocTags=function(e){return void 0===this.tags&&(this.tags=AX.JsDoc.getJsDocTagsFromDeclarations(this.declarations,e)),this.tags};var OX=PX;function PX(e,n){this.flags=e,this.escapedName=n}iu(FX,wX=cm);var wX,MX=FX;function FX(e,n,t){return n=wX.call(this,n,t)||this,n.kind=e,n}iu(UX,GX=cm),Object.defineProperty(UX.prototype,"text",{get:function(){return AX.idText(this)},enumerable:!1,configurable:!0});var GX,BX=UX;function UX(e,n,t){return n=GX.call(this,n,t)||this,n.kind=79,n}BX.prototype.kind=79,iu(KX,VX=cm),Object.defineProperty(KX.prototype,"text",{get:function(){return AX.idText(this)},enumerable:!1,configurable:!0});var VX,jX=KX;function KX(e,n,t){return VX.call(this,n,t)||this}jX.prototype.kind=80,WX.prototype.getFlags=function(){return this.flags},WX.prototype.getSymbol=function(){return this.symbol},WX.prototype.getProperties=function(){return this.checker.getPropertiesOfType(this)},WX.prototype.getProperty=function(e){return this.checker.getPropertyOfType(this,e)},WX.prototype.getApparentProperties=function(){return this.checker.getAugmentedPropertiesOfType(this)},WX.prototype.getCallSignatures=function(){return this.checker.getSignaturesOfType(this,0)},WX.prototype.getConstructSignatures=function(){return this.checker.getSignaturesOfType(this,1)},WX.prototype.getStringIndexType=function(){return this.checker.getIndexTypeOfType(this,0)},WX.prototype.getNumberIndexType=function(){return this.checker.getIndexTypeOfType(this,1)},WX.prototype.getBaseTypes=function(){return this.isClassOrInterface()?this.checker.getBaseTypes(this):void 0},WX.prototype.isNullableType=function(){return this.checker.isNullableType(this)},WX.prototype.getNonNullableType=function(){return this.checker.getNonNullableType(this)},WX.prototype.getNonOptionalType=function(){return this.checker.getNonOptionalType(this)},WX.prototype.getConstraint=function(){return this.checker.getBaseConstraintOfType(this)},WX.prototype.getDefault=function(){return this.checker.getDefaultFromTypeParameter(this)},WX.prototype.isUnion=function(){return!!(1048576&this.flags)},WX.prototype.isIntersection=function(){return!!(2097152&this.flags)},WX.prototype.isUnionOrIntersection=function(){return!!(3145728&this.flags)},WX.prototype.isLiteral=function(){return!!(384&this.flags)},WX.prototype.isStringLiteral=function(){return!!(128&this.flags)},WX.prototype.isNumberLiteral=function(){return!!(256&this.flags)},WX.prototype.isTypeParameter=function(){return!!(262144&this.flags)},WX.prototype.isClassOrInterface=function(){return!!(3&AX.getObjectFlags(this))},WX.prototype.isClass=function(){return!!(1&AX.getObjectFlags(this))},Object.defineProperty(WX.prototype,"typeArguments",{get:function(){if(4&AX.getObjectFlags(this))return this.checker.getTypeArguments(this)},enumerable:!1,configurable:!0});var HX=WX;function WX(e,n){this.checker=e,this.flags=n}JX.prototype.getDeclaration=function(){return this.declaration},JX.prototype.getTypeParameters=function(){return this.typeParameters},JX.prototype.getParameters=function(){return this.parameters},JX.prototype.getReturnType=function(){return this.checker.getReturnTypeOfSignature(this)},JX.prototype.getDocumentationComment=function(){return this.documentationComment||(this.documentationComment=XX(AX.singleElementArray(this.declaration),this.checker))},JX.prototype.getJsDocTags=function(){return void 0===this.jsDocTags&&(this.jsDocTags=this.declaration?((e,n)=>{var t=AX.JsDoc.getJsDocTagsFromDeclarations([e],n);return(0===t.length||qX(e))&&(n=YX(n,e,(function(e){var n;return 1===(null==(n=e.declarations)?void 0:n.length)?e.getJsDocTags():void 0})))?eu(eu([],n,!0),t,!0):t})(this.declaration,this.checker):[]),this.jsDocTags};var zX=JX;function JX(e,n){this.checker=e,this.flags=n}function qX(e){return AX.getJSDocTags(e).some((function(e){return"inheritDoc"===e.tagName.text}))}function XX(e,n){if(!e)return AX.emptyArray;var t=AX.JsDoc.getJsDocCommentsFromDeclarations(e,n);if(n&&(0===t.length||e.some(qX)))for(var r=new AX.Set,a=0,i=e;a<i.length;a++){var o=i[a];o=YX(n,o,(function(e){if(!r.has(e))return r.add(e),e.getDocumentationComment(n)}));o&&(t=0===t.length?o.slice():o.concat(AX.lineBreakPart(),t))}return t}function YX(e,n,t){var r=(169===(null==(r=n.parent)?void 0:r.kind)?n.parent:n).parent;if(r)return AX.firstDefined(AX.getAllSuperTypeNodes(r),(function(r){return r=e.getPropertyOfType(e.getTypeAtLocation(r),n.symbol.name),r?t(r):void 0}))}iu($X,QX=IX),$X.prototype.update=function(e,n){return AX.updateSourceFile(this,e,n)},$X.prototype.getLineAndCharacterOfPosition=function(e){return AX.getLineAndCharacterOfPosition(this,e)},$X.prototype.getLineStarts=function(){return AX.getLineStarts(this)},$X.prototype.getPositionOfLineAndCharacter=function(e,n,t){return AX.computePositionOfLineAndCharacter(AX.getLineStarts(this),e,n,this.text,t)},$X.prototype.getLineEndOfPosition=function(e){e=this.getLineAndCharacterOfPosition(e).line;var n,t=this.getLineStarts();n=(n=e+1>=t.length?this.getEnd():n)||t[e+1]-1,t=this.getFullText();return"\n"===t[n]&&"\r"===t[n-1]?n-1:n},$X.prototype.getNamedDeclarations=function(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations},$X.prototype.computeNamedDeclarations=function(){var e=AX.createMultiMap();return this.forEachChild((function e(a){switch(a.kind){case 254:case 211:case 167:case 166:var i=a,o=r(i);o&&(o=t(o),(s=AX.lastOrUndefined(o))&&i.parent===s.parent&&i.symbol===s.symbol?i.body&&!s.body&&(o[o.length-1]=i):o.push(i)),AX.forEachChild(a,e);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:n(a),AX.forEachChild(a,e);break;case 162:if(!AX.hasSyntacticModifier(a,16476))break;case 252:case 201:var s=a;if(AX.isBindingPattern(s.name)){AX.forEachChild(s.name,e);break}s.initializer&&e(s.initializer);case 294:case 165:case 164:n(a);break;case 270:o=a,o.exportClause&&(AX.isNamedExports(o.exportClause)?AX.forEach(o.exportClause.elements,e):e(o.exportClause.name));break;case 264:i=a.importClause,i&&(i.name&&n(i.name),i.namedBindings)&&(266===i.namedBindings.kind?n(i.namedBindings):AX.forEach(i.namedBindings.elements,e));break;case 219:0!==AX.getAssignmentDeclarationKind(a)&&n(a);default:AX.forEachChild(a,e)}})),e;function n(n){var t=r(n);t&&e.add(t,n)}function t(n){var t=e.get(n);return t||e.set(n,t=[]),t}function r(e){return e=AX.getNonAssignedNameOfDeclaration(e),e&&(AX.isComputedPropertyName(e)&&AX.isPropertyAccessExpression(e.expression)?e.expression.name.text:AX.isPropertyName(e)?AX.getNameFromPropertyName(e):void 0)}};var QX,ZX=$X;function $X(e,n,t){return e=QX.call(this,e,n,t)||this,e.kind=300,e}nY.prototype.getLineAndCharacterOfPosition=function(e){return AX.getLineAndCharacterOfPosition(this,e)};var eY=nY;function nY(e,n,t){this.fileName=e,this.text=n,this.skipTrivia=t}function tY(e){var n=!0;for(t in e)if(AX.hasProperty(e,t)&&!rY(t)){n=!1;break}if(n)return e;var t,r={};for(t in e)AX.hasProperty(e,t)&&(r[rY(t)?t:t.charAt(0).toLowerCase()+t.substr(1)]=e[t]);return r}function rY(e){return!e.length||e.charAt(0)===e.charAt(0).toLowerCase()}function aY(){return{target:1,jsx:1}}AX.toEditorSettings=tY,AX.displayPartsToString=function(e){return e?AX.map(e,(function(e){return e.text})).join(""):""},AX.getDefaultCompilerOptions=aY,AX.getSupportedCodeFixes=function(){return AX.codefix.getSupportedErrorCodes()},oY.prototype.createEntry=function(e,n){var t=this.host.getScriptSnapshot(e);t=t?{hostFileName:e,version:this.host.getScriptVersion(e),scriptSnapshot:t,scriptKind:AX.getScriptKind(e,this.host)}:e;return this.fileNameToEntry.set(n,t),t},oY.prototype.getEntryByPath=function(e){return this.fileNameToEntry.get(e)},oY.prototype.getHostFileInformation=function(e){return e=this.fileNameToEntry.get(e),AX.isString(e)?void 0:e},oY.prototype.getOrCreateEntryByPath=function(e,n){return e=this.getEntryByPath(n)||this.createEntry(e,n),AX.isString(e)?void 0:e},oY.prototype.getRootFileNames=function(){var e=[];return this.fileNameToEntry.forEach((function(n){AX.isString(n)?e.push(n):e.push(n.hostFileName)})),e},oY.prototype.getScriptSnapshot=function(e){return e=this.getHostFileInformation(e),e&&e.scriptSnapshot};var iY=oY;function oY(e,n){this.host=e,this.currentDirectory=e.getCurrentDirectory(),this.fileNameToEntry=new AX.Map;for(var t=0,r=e.getScriptFileNames();t<r.length;t++){var a=r[t];this.createEntry(a,AX.toPath(a,this.currentDirectory,n))}}cY.prototype.getCurrentSourceFile=function(e){var n,t,r,a=this.host.getScriptSnapshot(e);if(a)return t=AX.getScriptKind(e,this.host),n=this.host.getScriptVersion(e),this.currentFileName!==e?r=dY(e,a,99,n,!0,t):this.currentFileVersion!==n&&(t=a.getChangeRange(this.currentFileScriptSnapshot),r=uY(this.currentSourceFile,a,n,t)),r&&(this.currentFileVersion=n,this.currentFileName=e,this.currentFileScriptSnapshot=a,this.currentSourceFile=r),this.currentSourceFile;throw new Error("Could not find file: '"+e+"'.")};var sY=cY;function cY(e){this.host=e}function lY(e,n,t){e.version=t,e.scriptSnapshot=n}function dY(e,n,t,r,a,i){return e=AX.createSourceFile(e,AX.getSnapshotText(n),t,a,i),lY(e,n,r),e}function uY(e,n,t,r,a){var i,o,s,c;return r&&t!==e.version?(s=void 0,c=0!==r.span.start?e.text.substr(0,r.span.start):"",i=AX.textSpanEnd(r.span)!==e.text.length?e.text.substr(AX.textSpanEnd(r.span)):"",s=0===r.newLength?c&&i?c+i:c||i:(o=n.getText(r.span.start,r.span.start+r.newLength),c&&i?c+o+i:c?c+o:o+i),lY(c=AX.updateSourceFile(e,s,r,a),n,t),c.nameTable=void 0,e!==c&&e.scriptSnapshot&&(e.scriptSnapshot.dispose&&e.scriptSnapshot.dispose(),e.scriptSnapshot=void 0),c):dY(e.fileName,n,e.languageVersion,t,!0,e.scriptKind)}AX.createLanguageServiceSourceFile=dY,AX.updateLanguageServiceSourceFile=uY;var pY={isCancellationRequested:AX.returnFalse,throwIfCancellationRequested:AX.noop},mY=(_Y.prototype.isCancellationRequested=function(){return this.cancellationToken.isCancellationRequested()},_Y.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw null!=AX.tracing&&AX.tracing.instant("session","cancellationThrown",{kind:"CancellationTokenObject"}),new AX.OperationCanceledException},_Y);function _Y(e){this.cancellationToken=e}function fY(e,n){void 0===n&&(n=20),this.hostCancellationToken=e,this.throttleWaitMilliseconds=n,this.lastCancellationCheckTime=0}fY.prototype.isCancellationRequested=function(){var e=AX.timestamp();return Math.abs(e-this.lastCancellationCheckTime)>=this.throttleWaitMilliseconds&&(this.lastCancellationCheckTime=e,this.hostCancellationToken.isCancellationRequested())},fY.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw null!=AX.tracing&&AX.tracing.instant("session","cancellationThrown",{kind:"ThrottledCancellationToken"}),new AX.OperationCanceledException},AX.ThrottledCancellationToken=fY;var gY=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints"],yY=eu(eu([],gY,!0),["getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getOccurrencesAtPosition","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"],!1);function hY(e){return e=(e=>{switch(e.kind){case 10:case 14:case 8:if(160===e.parent.kind)return AX.isObjectLiteralElement(e.parent.parent)?e.parent.parent:void 0;case 79:return!AX.isObjectLiteralElement(e.parent)||203!==e.parent.parent.kind&&284!==e.parent.parent.kind||e.parent.name!==e?void 0:e.parent}})(e),e&&(AX.isObjectLiteralExpression(e.parent)||AX.isJsxAttributes(e.parent))?e:void 0}function vY(e,n,t,r){var a=AX.getNameFromPropertyName(e.name);if(!a)return AX.emptyArray;if(!t.isUnion())return(i=t.getProperty(a))?[i]:AX.emptyArray;var i,o=AX.mapDefined(t.types,(function(t){return(AX.isObjectLiteralExpression(e.parent)||AX.isJsxAttributes(e.parent))&&n.isTypeInvalidDueToUnionDiscriminant(t,e.parent)?void 0:t.getProperty(a)}));return r&&(0===o.length||o.length===t.types.length)&&(i=t.getProperty(a))?[i]:0===o.length?AX.mapDefined(t.types,(function(e){return e.getProperty(a)})):o}AX.createLanguageService=function(e,n,t){void 0===n&&(n=AX.createDocumentRegistry(e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames(),e.getCurrentDirectory())),r=void 0===t?AX.LanguageServiceMode.Semantic:"boolean"==typeof t?t?AX.LanguageServiceMode.Syntactic:AX.LanguageServiceMode.Semantic:t;var r,a,i,o=new sY(e),s=0,c=e.getCancellationToken?new mY(e.getCancellationToken()):pY,l=e.getCurrentDirectory();function d(n){e.log&&e.log(n)}!AX.localizedDiagnosticMessages&&e.getLocalizedDiagnosticMessages&&AX.setLocalizedDiagnosticMessages(e.getLocalizedDiagnosticMessages());var u=AX.hostUsesCaseSensitiveFileNames(e),p=AX.createGetCanonicalFileName(u),m=AX.getSourceMapper({useCaseSensitiveFileNames:function(){return u},getCurrentDirectory:function(){return l},getProgram:g,fileExists:AX.maybeBind(e,e.fileExists),readFile:AX.maybeBind(e,e.readFile),getDocumentPositionMapper:AX.maybeBind(e,e.getDocumentPositionMapper),getSourceFileLike:AX.maybeBind(e,e.getSourceFileLike),log:d});function _(e){var n=a.getSourceFile(e);if(n)return n;throw(n=new Error("Could not find source file: '"+e+"'.")).ProgramFiles=a.getSourceFiles().map((function(e){return e.fileName})),n}function f(){if(AX.Debug.assert(r!==AX.LanguageServiceMode.Syntactic),e.getProjectVersion){var t=e.getProjectVersion();if(t){if(i===t&&(null==(f=e.hasChangedAutomaticTypeDirectiveNames)||!f.call(e)))return;i=t}}var o,_,f=e.getTypeRootsVersion?e.getTypeRootsVersion():0,g=(s!==f&&(d("TypeRoots version has changed; provide new program"),a=void 0,s=f),new iY(e,p)),y=(t=g.getRootFileNames(),e.getCompilationSettings()||aY()),h=(f=e.hasInvalidatedResolution||AX.returnFalse,AX.maybeBind(e,e.hasChangedAutomaticTypeDirectiveNames)),v=null==(v=e.getProjectReferences)?void 0:v.call(e),b={useCaseSensitiveFileNames:u,fileExists:T,readFile:S,readDirectory:x,trace:AX.maybeBind(e,e.trace),getCurrentDirectory:function(){return l},onUnRecoverableConfigFileDiagnostic:AX.noop};function E(n){var t=AX.toPath(n,l,p),r=null==o?void 0:o.get(t);return void 0!==r?r||void 0:(r=e.getParsedCommandLine?e.getParsedCommandLine(n):(e=>{var n=D(e);if(n)return n.path=AX.toPath(e,l,p),n.resolvedPath=n.path,n.originalFileName=n.fileName,AX.parseJsonSourceFileConfigFileContent(n,b,AX.getNormalizedAbsolutePath(AX.getDirectoryPath(e),l),void 0,AX.getNormalizedAbsolutePath(e,l))})(n),(o=o||new AX.Map).set(t,r||!1),r)}function T(n){var t=AX.toPath(n,l,p);t=g&&g.getEntryByPath(t);return t?!AX.isString(t):!!e.fileExists&&e.fileExists(n)}function S(n){var t=AX.toPath(n,l,p);t=g&&g.getEntryByPath(t);return t?AX.isString(t)?void 0:AX.getSnapshotText(t.scriptSnapshot):e.readFile&&e.readFile(n)}function x(n,t,r,a,i){return AX.Debug.checkDefined(e.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'"),e.readDirectory(n,t,r,a,i)}function L(e,t){t=n.getKeyForCompilationSettings(t),n.releaseDocumentWithKey(e.resolvedPath,t,e.scriptKind)}function D(e,n,t,r){return A(e,AX.toPath(e,l,p),0,0,r)}function A(e,t,r,i,o){AX.Debug.assert(void 0!==g,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");var s=g&&g.getOrCreateEntryByPath(e,t);if(s){if(!o&&(o=a&&a.getSourceFileByPath(t),o)){if(s.scriptKind===o.scriptKind)return n.updateDocumentWithKey(e,t,y,_,s.scriptSnapshot,s.version,s.scriptKind);n.releaseDocumentWithKey(o.resolvedPath,n.getKeyForCompilationSettings(a.getCompilerOptions()),o.scriptKind)}return n.acquireDocumentWithKey(e,t,y,_,s.scriptSnapshot,s.version,s.scriptKind)}}AX.isProgramUptoDate(a,t,y,(function(n,t){return e.getScriptVersion(t)}),T,f,h,E,v)||(f={getSourceFile:D,getSourceFileByPath:A,getCancellationToken:function(){return c},getCanonicalFileName:p,useCaseSensitiveFileNames:function(){return u},getNewLine:function(){return AX.getNewLineCharacter(y,(function(){return AX.getNewLineOrDefaultFromHost(e)}))},getDefaultLibFileName:function(n){return e.getDefaultLibFileName(n)},writeFile:AX.noop,getCurrentDirectory:function(){return l},fileExists:T,readFile:S,getSymlinkCache:AX.maybeBind(e,e.getSymlinkCache),realpath:AX.maybeBind(e,e.realpath),directoryExists:function(n){return AX.directoryProbablyExists(n,e)},getDirectories:function(n){return e.getDirectories?e.getDirectories(n):[]},readDirectory:x,onReleaseOldSourceFile:L,onReleaseParsedCommandLine:function(n,t,r){var a;e.getParsedCommandLine?null!=(a=e.onReleaseParsedCommandLine)&&a.call(e,n,t,r):t&&L(t.sourceFile,r)},hasInvalidatedResolution:f,hasChangedAutomaticTypeDirectiveNames:h,trace:b.trace,resolveModuleNames:AX.maybeBind(e,e.resolveModuleNames),resolveTypeReferenceDirectives:AX.maybeBind(e,e.resolveTypeReferenceDirectives),useSourceOfProjectReferenceRedirect:AX.maybeBind(e,e.useSourceOfProjectReferenceRedirect),getParsedCommandLine:E},null!=(h=e.setCompilerHost)&&h.call(e,f),_=n.getKeyForCompilationSettings(y),h={rootNames:t,options:y,host:f,oldProgram:a,projectReferences:v},a=AX.createProgram(h),o=g=void 0,m.clearCache(),a.getTypeChecker())}function g(){if(r!==AX.LanguageServiceMode.Syntactic)return f(),a;AX.Debug.assert(void 0===a)}function y(e,n,t){var r=AX.normalizePath(e);AX.Debug.assert(t.some((function(e){return AX.normalizePath(e)===r}))),f(),t=AX.mapDefined(t,(function(e){return a.getSourceFile(e)})),e=_(e);return AX.DocumentHighlights.getDocumentHighlights(a,c,e,n,t)}function h(e,n,t,r){f();var i=t&&2===t.use?a.getSourceFiles().filter((function(e){return!a.isSourceFileDefaultLibrary(e)})):a.getSourceFiles();return AX.FindAllReferences.findReferenceOrRenameEntries(a,c,i,e,n,t,r)}var v=new AX.Map(AX.getEntries(((t={})[18]=19,t[20]=21,t[22]=23,t[31]=29,t)));function b(n){var t;return AX.Debug.assertEqual(n.type,"install package"),e.installPackage?e.installPackage({fileName:(t=n.file,AX.toPath(t,l,p)),packageName:n.packageName}):Promise.reject("Host does not implement `installPackage`")}function E(e,n){return{lineStarts:e.getLineStarts(),firstLine:e.getLineAndCharacterOfPosition(n.pos).line,lastLine:e.getLineAndCharacterOfPosition(n.end).line}}function T(e,n,t){for(var r=o.getCurrentSourceFile(e),a=[],i=E(r,n),s=i.lineStarts,c=i.firstLine,l=i.lastLine,d=t||!1,u=Number.MAX_VALUE,p=new AX.Map,m=new RegExp(/\S/),_=AX.isInsideJsxElement(r,s[c]),f=_?"{/*":"//",g=c;g<=l;g++){var y=r.text.substring(s[g],r.getLineEndOfPosition(s[g])),h=m.exec(y);h&&(u=Math.min(u,h.index),p.set(g.toString(),h.index),y.substr(h.index,f.length)!==f)&&(d=void 0===t||t)}var v;for(g=c;g<=l;g++)c!==l&&s[g]===n.end||void 0!==(v=p.get(g.toString()))&&(_?a.push.apply(a,S(e,{pos:s[g]+u,end:r.getLineEndOfPosition(s[g])},d,_)):d?a.push({newText:f,span:{length:0,start:s[g]+u}}):r.text.substr(s[g]+v,f.length)===f&&a.push({newText:"",span:{length:f.length,start:s[g]+v}}));return a}function S(e,n,t,r){for(var a=o.getCurrentSourceFile(e),i=[],s=a.text,c=!1,l=t||!1,d=[],u=n.pos,p=void 0!==r?r:AX.isInsideJsxElement(a,u),m=p?"{/*":"/*",_=p?"*/}":"*/",f=p?"\\{\\/\\*":"\\/\\*",g=p?"\\*\\/\\}":"\\*\\/";u<=n.end;){var y=s.substr(u,m.length)===m?m.length:0,h=AX.isInComment(a,u+y);u=h?(p&&(h.pos--,h.end++),d.push(h.pos),3===h.kind&&d.push(h.end),c=!0,h.end+1):(h=s.substring(u,n.end).search("("+f+")|("+g+")"),l=void 0!==t?t:l||!AX.isTextWhiteSpaceLike(s,u,-1===h?n.end:u+h),-1===h?n.end+1:u+h+_.length)}if(l||!c){2!==(null==(e=AX.isInComment(a,n.pos))?void 0:e.kind)&&AX.insertSorted(d,n.pos,AX.compareValues),AX.insertSorted(d,n.end,AX.compareValues),r=d[0],s.substr(r,m.length)!==m&&i.push({newText:m,span:{length:0,start:r}});for(var v=1;v<d.length-1;v++)s.substr(d[v]-_.length,_.length)!==_&&i.push({newText:_,span:{length:0,start:d[v]}}),s.substr(d[v],m.length)!==m&&i.push({newText:m,span:{length:0,start:d[v]}});i.length%2!=0&&i.push({newText:_,span:{length:0,start:d[d.length-1]}})}else for(var b=0,E=d;b<E.length;b++){var T=E[b];y=s.substr(0<T-_.length?T-_.length:0,_.length)===_?_.length:0;i.push({newText:"",span:{length:m.length,start:T-y}})}return i}function x(n,t,r,a,i,o){return t="number"==typeof t?[t,void 0]:[t.pos,t.end],{file:n,startPosition:t[0],endPosition:t[1],program:g(),host:e,formatContext:AX.formatting.getFormatContext(a,e),cancellationToken:c,preferences:r,triggerReason:i,kind:o}}v.forEach((function(e,n){return v.set(e.toString(),Number(n))}));var L={dispose:function(){var t;a&&(t=n.getKeyForCompilationSettings(a.getCompilerOptions()),AX.forEach(a.getSourceFiles(),(function(e){return n.releaseDocumentWithKey(e.resolvedPath,t,e.scriptKind)})),a=void 0),e=void 0},cleanupSemanticCache:function(){a=void 0},getSyntacticDiagnostics:function(e){return f(),a.getSyntacticDiagnostics(_(e),c).slice()},getSemanticDiagnostics:function(e){f();e=_(e);var n=a.getSemanticDiagnostics(e,c);return AX.getEmitDeclarations(a.getCompilerOptions())?(e=a.getDeclarationDiagnostics(e,c),eu(eu([],n,!0),e,!0)):n.slice()},getSuggestionDiagnostics:function(e){return f(),AX.computeSuggestionDiagnostics(_(e),a,c)},getCompilerOptionsDiagnostics:function(){return f(),eu(eu([],a.getOptionsDiagnostics(c),!0),a.getGlobalDiagnostics(c),!0)},getSyntacticClassifications:function(e,n){return AX.getSyntacticClassifications(c,o.getCurrentSourceFile(e),n)},getSemanticClassifications:function(e,n,t){return f(),"2020"===(t||"original")?AX.classifier.v2020.getSemanticClassifications(a,c,_(e),n):AX.getSemanticClassifications(a.getTypeChecker(),c,_(e),a.getClassifiableNames(),n)},getEncodedSyntacticClassifications:function(e,n){return AX.getEncodedSyntacticClassifications(c,o.getCurrentSourceFile(e),n)},getEncodedSemanticClassifications:function(e,n,t){return f(),"original"===(t||"original")?AX.getEncodedSemanticClassifications(a.getTypeChecker(),c,_(e),a.getClassifiableNames(),n):AX.classifier.v2020.getEncodedSemanticClassifications(a,c,_(e),n)},getCompletionsAtPosition:function(n,t,r){void 0===r&&(r=AX.emptyOptions);var i=nu(nu({},AX.identity(r)),{includeCompletionsForModuleExports:r.includeCompletionsForModuleExports||r.includeExternalModuleExports,includeCompletionsWithInsertText:r.includeCompletionsWithInsertText||r.includeInsertTextCompletions});return f(),AX.Completions.getCompletionsAtPosition(e,a,d,_(n),t,i,r.triggerCharacter,r.triggerKind,c)},getCompletionEntryDetails:function(n,t,r,i,o,s,l){return void 0===s&&(s=AX.emptyOptions),f(),AX.Completions.getCompletionEntryDetails(a,d,_(n),t,{name:r,source:o,data:l},e,i&&AX.formatting.getFormatContext(i,e),s,c)},getCompletionEntrySymbol:function(n,t,r,i,o){return void 0===o&&(o=AX.emptyOptions),f(),AX.Completions.getCompletionEntrySymbol(a,d,_(n),t,{name:r,source:i},e,o)},getSignatureHelpItems:function(e,n,t){return t=(void 0===t?AX.emptyOptions:t).triggerReason,f(),e=_(e),AX.SignatureHelp.getSignatureHelpItems(a,e,n,t,c)},getQuickInfoAtPosition:function(e,n){f();var t,r,i,o,s,l,d=_(e);e=AX.getTouchingPropertyName(d,n);if(e!==d)return t=a.getTypeChecker(),r=(e=>AX.isNewExpression(e.parent)&&e.pos===e.parent.pos?e.parent.expression:AX.isNamedTupleMember(e.parent)&&e.pos===e.parent.pos?e.parent:e)(e),!(i=((e,n)=>{if(r=hY(e)){var t=n.getContextualType(r.parent),r=t&&vY(r,n,t,!1);if(r&&1===r.length)return AX.first(r)}return n.getSymbolAtLocation(e)})(r,t))||t.isUnknownSymbol(i)?(o=((e,n,t)=>{switch(n.kind){case 79:return!AX.isLabelName(n)&&!AX.isTagName(n)&&!AX.isConstTypeReference(n.parent);case 204:case 159:return!AX.isInComment(e,t);case 108:case 190:case 106:case 195:return 1;default:return}})(d,r,n)?t.getTypeAtLocation(r):void 0)&&{kind:"",kindModifiers:"",textSpan:AX.createTextSpanFromNode(r,d),displayParts:t.runWithCancellationToken(c,(function(e){return AX.typeToDisplayParts(e,o,AX.getContainerNode(r))})),documentation:o.symbol?o.symbol.getDocumentationComment(t):void 0,tags:o.symbol?o.symbol.getJsDocTags(t):void 0}:(n=(e=t.runWithCancellationToken(c,(function(e){return AX.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(e,i,d,AX.getContainerNode(r),r)}))).symbolKind,s=e.displayParts,l=e.documentation,e=e.tags,{kind:n,kindModifiers:AX.SymbolDisplay.getSymbolModifiers(t,i),textSpan:AX.createTextSpanFromNode(r,d),displayParts:s,documentation:l,tags:e})},getDefinitionAtPosition:function(e,n){return f(),AX.GoToDefinition.getDefinitionAtPosition(a,_(e),n)},getDefinitionAndBoundSpan:function(e,n){return f(),AX.GoToDefinition.getDefinitionAndBoundSpan(a,_(e),n)},getImplementationAtPosition:function(e,n){return f(),AX.FindAllReferences.getImplementationsAtPosition(a,c,a.getSourceFiles(),_(e),n)},getTypeDefinitionAtPosition:function(e,n){return f(),AX.GoToDefinition.getTypeDefinitionAtPosition(a.getTypeChecker(),_(e),n)},getReferencesAtPosition:function(e,n){return f(),h(AX.getTouchingPropertyName(_(e),n),n,{use:1},AX.FindAllReferences.toReferenceEntry)},findReferences:function(e,n){return f(),AX.FindAllReferences.findReferencedSymbols(a,c,a.getSourceFiles(),_(e),n)},getFileReferences:function(e){return f(),AX.FindAllReferences.Core.getReferencesForFileName(e,a,a.getSourceFiles()).map(AX.FindAllReferences.toReferenceEntry)},getOccurrencesAtPosition:function(e,n){return AX.flatMap(y(e,n,[e]),(function(e){return e.highlightSpans.map((function(n){return nu(nu({fileName:e.fileName,textSpan:n.textSpan,isWriteAccess:"writtenReference"===n.kind,isDefinition:!1},n.isInString&&{isInString:!0}),n.contextSpan&&{contextSpan:n.contextSpan})}))}))},getDocumentHighlights:y,getNameOrDottedNameSpan:function(e,n,t){if(e=o.getCurrentSourceFile(e),(n=AX.getTouchingPropertyName(e,n))!==e){switch(n.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 r=n;;)if(AX.isRightSideOfPropertyAccess(r)||AX.isRightSideOfQualifiedName(r))r=r.parent;else{if(!AX.isNameOfModuleDeclaration(r))break;if(259!==r.parent.parent.kind||r.parent.parent.body!==r.parent)break;r=r.parent.parent.name}return AX.createTextSpanFromBounds(r.getStart(),n.getEnd())}},getBreakpointStatementAtPosition:function(e,n){return e=o.getCurrentSourceFile(e),AX.BreakpointResolver.spanInSourceFileAtLocation(e,n)},getNavigateToItems:function(e,n,t,r){return void 0===r&&(r=!1),f(),t=t?[_(t)]:a.getSourceFiles(),AX.NavigateTo.getNavigateToItems(t,a.getTypeChecker(),c,e,n,r)},getRenameInfo:function(e,n,t){return f(),AX.Rename.getRenameInfo(a,_(e),n,t)},getSmartSelectionRange:function(e,n){return AX.SmartSelectionRange.getSmartSelectionRange(n,o.getCurrentSourceFile(e))},findRenameLocations:function(e,n,t,r,a){f();var i,o=_(e);e=AX.getAdjustedRenameLocation(AX.getTouchingPropertyName(o,n));return AX.isIdentifier(e)&&(AX.isJsxOpeningElement(e.parent)||AX.isJsxClosingElement(e.parent))&&AX.isIntrinsicJsxName(e.escapedText)?[(i=e.parent.parent).openingElement,i.closingElement].map((function(e){var n=AX.createTextSpanFromNode(e.tagName,o);return nu({fileName:o.fileName,textSpan:n},AX.FindAllReferences.toContextSpan(n,o,e.parent))})):h(e,n,{findInStrings:t,findInComments:r,providePrefixAndSuffixTextForRename:a,use:2},(function(e,n,t){return AX.FindAllReferences.toRenameLocation(e,n,t,a||!1)}))},getNavigationBarItems:function(e){return AX.NavigationBar.getNavigationBarItems(o.getCurrentSourceFile(e),c)},getNavigationTree:function(e){return AX.NavigationBar.getNavigationTree(o.getCurrentSourceFile(e),c)},getOutliningSpans:function(e){return e=o.getCurrentSourceFile(e),AX.OutliningElementsCollector.collectElements(e,c)},getTodoComments:function(e,n){f();var t,r=_(e),a=(c.throwIfCancellationRequested(),r.text),i=[];if(0<n.length&&(e=r.fileName,!AX.stringContains(e,"/node_modules/"))){e="("+/(?:^(?:\s|\*)*)/.source+"|"+/(?:\/\/+\s*)/.source+"|"+/(?:\/\*+\s*)/.source+")",t="(?:"+AX.map(n,(function(e){return"("+e.text.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")+")"})).join("|")+")";for(var o,s=new RegExp(e+"("+t+/(?:.*?)/.source+")"+/(?:$|\*\/)/.source,"gim");o=s.exec(a);){c.throwIfCancellationRequested(),AX.Debug.assert(o.length===n.length+3);var l=o[1];l=o.index+l.length;if(AX.isInComment(r,l)){for(var d,u=void 0,p=0;p<n.length;p++)o[p+3]&&(u=n[p]);if(void 0===u)return AX.Debug.fail();97<=(d=a.charCodeAt(l+u.text.length))&&d<=122||65<=d&&d<=90||48<=d&&d<=57||(d=o[2],i.push({descriptor:u,message:d,position:l}))}}}return i},getBraceMatchingAtPosition:function(e,n){e=o.getCurrentSourceFile(e);var t=AX.getTouchingToken(e,n);return(n=(n=t.getStart(e)===n?v.get(t.kind.toString()):void 0)&&AX.findChildOfKind(t.parent,n,e))?[AX.createTextSpanFromNode(t,e),AX.createTextSpanFromNode(n,e)].sort((function(e,n){return e.start-n.start})):AX.emptyArray},getIndentationAtPosition:function(e,n,t){var r=AX.timestamp();t=tY(t),e=o.getCurrentSourceFile(e),d("getIndentationAtPosition: getCurrentSourceFile: "+(AX.timestamp()-r)),r=AX.timestamp(),n=AX.formatting.SmartIndenter.getIndentation(n,e,t);return d("getIndentationAtPosition: computeIndentation : "+(AX.timestamp()-r)),n},getFormattingEditsForRange:function(n,t,r,a){return n=o.getCurrentSourceFile(n),AX.formatting.formatSelection(t,r,n,AX.formatting.getFormatContext(tY(a),e))},getFormattingEditsForDocument:function(n,t){return AX.formatting.formatDocument(o.getCurrentSourceFile(n),AX.formatting.getFormatContext(tY(t),e))},getFormattingEditsAfterKeystroke:function(n,t,r,a){var i=o.getCurrentSourceFile(n),s=AX.formatting.getFormatContext(tY(a),e);if(!AX.isInComment(i,t))switch(r){case"{":return AX.formatting.formatOnOpeningCurly(t,i,s);case"}":return AX.formatting.formatOnClosingCurly(t,i,s);case";":return AX.formatting.formatOnSemicolon(t,i,s);case"\n":return AX.formatting.formatOnEnter(t,i,s)}return[]},getDocCommentTemplateAtPosition:function(n,t,r){return AX.JsDoc.getDocCommentTemplateAtPosition(AX.getNewLineOrDefaultFromHost(e),o.getCurrentSourceFile(n),t,r)},isValidBraceCompletionAtPosition:function(e,n,t){if(60===t)return!1;var r=o.getCurrentSourceFile(e);if(AX.isInString(r,n))return!1;if(AX.isInsideJsxElementOrAttribute(r,n))return 123===t;if(AX.isInTemplateString(r,n))return!1;switch(t){case 39:case 34:case 96:return!AX.isInComment(r,n)}return!0},getJsxClosingTagAtPosition:function(e,n){return e=o.getCurrentSourceFile(e),(n=(n=AX.findPrecedingToken(n,e))&&(31===n.kind&&AX.isJsxOpeningElement(n.parent)?n.parent.parent:AX.isJsxText(n)?n.parent:void 0))&&function e(n){var t=n.openingElement,r=n.closingElement;n=n.parent;return!AX.tagNamesAreEquivalent(t.tagName,r.tagName)||AX.isJsxElement(n)&&AX.tagNamesAreEquivalent(t.tagName,n.openingElement.tagName)&&e(n)}(n)?{newText:"</"+n.openingElement.tagName.getText(e)+">"}:void 0},getSpanOfEnclosingComment:function(e,n,t){return e=o.getCurrentSourceFile(e),!(e=AX.formatting.getRangeOfEnclosingComment(e,n))||t&&3!==e.kind?void 0:AX.createTextSpanFromRange(e)},getCodeFixesAtPosition:function(n,t,r,i,o,s){void 0===s&&(s=AX.emptyOptions),f();var l=_(n),d=AX.createTextSpanFromBounds(t,r),u=AX.formatting.getFormatContext(o,e);return AX.flatMap(AX.deduplicate(i,AX.equateValues,AX.compareValues),(function(n){return c.throwIfCancellationRequested(),AX.codefix.getFixes({errorCode:n,sourceFile:l,span:d,program:a,host:e,cancellationToken:c,formatContext:u,preferences:s})}))},getCombinedCodeFix:function(n,t,r,i){return void 0===i&&(i=AX.emptyOptions),f(),AX.Debug.assert("file"===n.type),n=_(n.fileName),r=AX.formatting.getFormatContext(r,e),AX.codefix.getAllFixes({fixId:t,sourceFile:n,program:a,host:e,cancellationToken:c,formatContext:r,preferences:i})},applyCodeActionCommand:function(e,n){return n="string"==typeof e?n:e,AX.isArray(n)?Promise.all(n.map(b)):b(n)},organizeImports:function(n,t,r){void 0===r&&(r=AX.emptyOptions),f(),AX.Debug.assert("file"===n.type);var i=_(n.fileName);t=AX.formatting.getFormatContext(t,e);return AX.OrganizeImports.organizeImports(i,t,e,a,r,n.skipDestructiveCodeActions)},getEditsForFileRename:function(n,t,r,a){return void 0===a&&(a=AX.emptyOptions),AX.getEditsForFileRename(g(),n,t,e,AX.formatting.getFormatContext(r,e),a,m)},getEmitOutput:function(n,t,r){f();n=_(n);var i=e.getCustomTransformers&&e.getCustomTransformers();return AX.getFileEmitOutput(a,n,!!t,c,i,r)},getNonBoundSourceFile:function(e){return o.getCurrentSourceFile(e)},getProgram:g,getAutoImportProvider:function(){var n;return null==(n=e.getPackageJsonAutoImportProvider)?void 0:n.call(e)},getApplicableRefactors:function(e,n,t,r,a){return void 0===t&&(t=AX.emptyOptions),f(),e=_(e),AX.refactor.getApplicableRefactors(x(e,n,t,AX.emptyOptions,r,a))},getEditsForRefactor:function(e,n,t,r,a,i){return void 0===i&&(i=AX.emptyOptions),f(),e=_(e),AX.refactor.getEditsForRefactor(x(e,t,i,n),r,a)},toLineColumnOffset:function(e,n){return 0===n?{line:0,character:0}:m.toLineColumnOffset(e,n)},getSourceMapper:function(){return m},clearSourceMapperCache:function(){return m.clearCache()},prepareCallHierarchy:function(e,n){return f(),(e=AX.CallHierarchy.resolveCallHierarchyDeclaration(a,AX.getTouchingPropertyName(_(e),n)))&&AX.mapOneOrMany(e,(function(e){return AX.CallHierarchy.createCallHierarchyItem(a,e)}))},provideCallHierarchyIncomingCalls:function(e,n){return f(),e=_(e),(e=AX.firstOrOnly(AX.CallHierarchy.resolveCallHierarchyDeclaration(a,0===n?e:AX.getTouchingPropertyName(e,n))))?AX.CallHierarchy.getIncomingCalls(a,e,c):[]},provideCallHierarchyOutgoingCalls:function(e,n){return f(),e=_(e),(e=AX.firstOrOnly(AX.CallHierarchy.resolveCallHierarchyDeclaration(a,0===n?e:AX.getTouchingPropertyName(e,n))))?AX.CallHierarchy.getOutgoingCalls(a,e):[]},toggleLineComment:T,toggleMultilineComment:S,commentSelection:function(e,n){var t=E(o.getCurrentSourceFile(e),n);return(t.firstLine===t.lastLine&&n.pos!==n.end?S:T)(e,n,!0)},uncommentSelection:function(e,n){var t=o.getCurrentSourceFile(e),r=[],a=n.pos,i=n.end;a===i&&(i+=AX.isInsideJsxElement(t,a)?2:1);for(var s=a;s<=i;s++){var c=AX.isInComment(t,s);if(c){switch(c.kind){case 2:r.push.apply(r,T(e,{end:c.end,pos:c.pos+1},!1));break;case 3:r.push.apply(r,S(e,{end:c.end,pos:c.pos+1},!1))}s=c.end+1}}return r},provideInlayHints:function(n,t,r){return void 0===r&&(r=AX.emptyOptions),f(),n=_(n),AX.InlayHints.provideInlayHints((t=t,r=r,{file:n,program:g(),host:e,span:t,preferences:r,cancellationToken:c}))}};switch(r){case AX.LanguageServiceMode.Semantic:break;case AX.LanguageServiceMode.PartialSemantic:gY.forEach((function(e){return L[e]=function(){throw new Error("LanguageService Operation: "+e+" not allowed in LanguageServiceMode.PartialSemantic")}}));break;case AX.LanguageServiceMode.Syntactic:yY.forEach((function(e){return L[e]=function(){throw new Error("LanguageService Operation: "+e+" not allowed in LanguageServiceMode.Syntactic")}}));break;default:AX.Debug.assertNever(r)}return L},AX.getNameTable=function(e){var n,t;return e.nameTable||(t=(n=e).nameTable=new AX.Map,n.forEachChild((function e(n){var r,a;if(AX.isIdentifier(n)&&!AX.isTagName(n)&&n.escapedText||AX.isStringOrNumericLiteralLike(n)&&(a=n,AX.isDeclarationName(a)||275===a.parent.kind||(e=>e&&e.parent&&205===e.parent.kind&&e.parent.argumentExpression===e)(a)||AX.isLiteralComputedPropertyDeclarationName(a))?(r=AX.getEscapedTextOfIdentifierOrLiteral(n),t.set(r,void 0===t.get(r)?n.pos:-1)):AX.isPrivateIdentifier(n)&&(r=n.escapedText,t.set(r,void 0===t.get(r)?n.pos:-1)),AX.forEachChild(n,e),AX.hasJSDocNodes(n))for(var i=0,o=n.jsDoc;i<o.length;i++){var s=o[i];AX.forEachChild(s,e)}}))),e.nameTable},AX.getContainingObjectLiteralElement=hY,AX.getPropertySymbolsFromContextualType=vY,AX.getDefaultLibFilePath=function(e){return r+AX.directorySeparator+AX.getDefaultLibFileName(e)},AX.setObjectAllocator({getNodeConstructor:function(){return IX},getTokenConstructor:function(){return MX},getIdentifierConstructor:function(){return BX},getPrivateIdentifierConstructor:function(){return jX},getSourceFileConstructor:function(){return ZX},getSymbolConstructor:function(){return OX},getTypeConstructor:function(){return HX},getSignatureConstructor:function(){return zX},getSourceMapSourceConstructor:function(){return eY}}),((Zd=bY=bY||{}).BreakpointResolver||(Zd.BreakpointResolver={})).spanInSourceFileAtLocation=function(e,n){if(!e.isDeclarationFile){var t=Zd.getTokenAtPosition(e,n),r=e.getLineAndCharacterOfPosition(n).line;if(e.getLineAndCharacterOfPosition(t.getStart(e)).line>r){if(n=Zd.findPrecedingToken(t.pos,e),!n||e.getLineAndCharacterOfPosition(n.getEnd()).line!==r)return;t=n}if(!(8388608&t.flags))return l(t)}function a(n,t){var r=n.decorators?Zd.skipTrivia(e.text,n.decorators.end):n.getStart(e);return Zd.createTextSpanFromBounds(r,(t||n).getEnd())}function i(n,t){return a(n,Zd.findNextToken(t,t.parent,e))}function o(n,t){return n&&r===e.getLineAndCharacterOfPosition(n.getStart(e)).line?l(n):l(t)}function s(n){return l(Zd.findPrecedingToken(n.pos,e))}function c(n){return l(Zd.findNextToken(n,n.parent,e))}function l(n){if(n){var t=n.parent;switch(n.kind){case 235:return x(n.declarationList.declarations[0]);case 252:case 165:case 164:return x(n);case 162:return function e(n){var t;return Zd.isBindingPattern(n.name)?I(n.name):L(n)?a(n):(t=n.parent,n=t.parameters.indexOf(n),Zd.Debug.assert(-1!==n),0!==n?e(t.parameters[n-1]):l(t.body))}(n);case 254:case 167:case 166:case 170:case 171:case 169:case 211:case 212:var r=n;return r.body?D(r)?a(r):l(r.body):void 0;case 233:if(Zd.isFunctionBlock(n))return d=(r=n).statements.length?r.statements[0]:r.getLastToken(),D(r.parent)?o(r.parent,d):l(d);case 260:return A(n);case 290:return A(n.block);case 236:return a(n.expression);case 245:return a(n.getChildAt(0),n.expression);case 239:return i(n,n.expression);case 238:return l(n.statement);case 251:return a(n.getChildAt(0));case 237:return i(n,n.expression);case 248:return l(n.statement);case 244:case 243:return a(n.getChildAt(0),n.label);case 240:var d=n;return d.initializer?C(d):d.condition?a(d.condition):d.incrementor?a(d.incrementor):void 0;case 241:return i(n,n.expression);case 242:return C(n);case 247:return i(n,n.expression);case 287:case 288:return l(n.statements[0]);case 250:return A(n.tryBlock);case 249:case 269:return a(n,n.expression);case 263:return a(n,n.moduleReference);case 264:case 270:return a(n,n.moduleSpecifier);case 259:if(1!==Zd.getModuleInstanceState(n))return;case 255:case 258:case 294:case 201:return a(n);case 246:return l(n.statement);case 163:return T=t.decorators,Zd.createTextSpanFromBounds(Zd.skipTrivia(e.text,T.pos),T.end);case 199:case 200:return I(n);case 256:case 257:return;case 26:case 1:return o(Zd.findPrecedingToken(n.pos,e));case 27:return s(n);case 18:var u=n;switch(u.parent.kind){case 258:var p=u.parent;return o(Zd.findPrecedingToken(u.pos,e,u.parent),p.members.length?p.members[0]:p.getLastToken(e));case 255:return p=u.parent,o(Zd.findPrecedingToken(u.pos,e,u.parent),p.members.length?p.members[0]:p.getLastToken(e));case 261:return o(u.parent.parent,u.parent.clauses[0])}return l(u.parent);case 19:var m=n;switch(m.parent.kind){case 260:if(1!==Zd.getModuleInstanceState(m.parent.parent))return;case 258:case 255:return a(m);case 233:if(Zd.isFunctionBlock(m.parent))return a(m);case 290:return l(Zd.lastOrUndefined(m.parent.statements));case 261:var _=m.parent;_=Zd.lastOrUndefined(_.clauses);return _?l(Zd.lastOrUndefined(_.statements)):void 0;case 199:return _=m.parent,l(Zd.lastOrUndefined(_.elements)||_);default:return Zd.isArrayLiteralOrObjectLiteralDestructuringPattern(m.parent)?(_=m.parent,a(Zd.lastOrUndefined(_.properties)||_)):l(m.parent)}return;case 23:return T=n,200===T.parent.kind||Zd.isArrayLiteralOrObjectLiteralDestructuringPattern(T.parent)?(E=T.parent,a(Zd.lastOrUndefined(E.elements)||E)):l(T.parent);case 20:return 238!==(E=n).parent.kind&&206!==E.parent.kind&&207!==E.parent.kind?210!==E.parent.kind?l(E.parent):c(E):s(E);case 21:var f=n;switch(f.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 s(f);default:return l(f.parent)}return;case 58:var g=n;return Zd.isFunctionLike(g.parent)||291===g.parent.kind||162===g.parent.kind?s(g):l(g.parent);case 31:case 29:return 209!==(g=n).parent.kind?l(g.parent):c(g);case 115:return 238!==(b=n).parent.kind?l(b.parent):i(b,b.parent.expression);case 91:case 83:case 96:return c(n);case 158:return 242!==(b=n).parent.kind?l(b.parent):c(b);default:if(Zd.isArrayLiteralOrObjectLiteralDestructuringPattern(n))return N(n);if((79===n.kind||223===n.kind||291===n.kind||292===n.kind)&&Zd.isArrayLiteralOrObjectLiteralDestructuringPattern(t))return a(n);if(219===n.kind){var y=n.left,h=n.operatorToken;if(Zd.isArrayLiteralOrObjectLiteralDestructuringPattern(y))return N(y);if(63===h.kind&&Zd.isArrayLiteralOrObjectLiteralDestructuringPattern(n.parent))return a(n);if(27===h.kind)return l(y)}if(Zd.isExpressionNode(n))switch(t.kind){case 238:return s(n);case 163:return l(n.parent);case 240:case 242:return a(n);case 219:if(27===n.parent.operatorToken.kind)return a(n);break;case 212:if(n.parent.body===n)return a(n)}switch(n.parent.kind){case 291:if(n.parent.name!==n||Zd.isArrayLiteralOrObjectLiteralDestructuringPattern(n.parent.parent))break;return l(n.parent.initializer);case 209:if(n.parent.type===n)return c(n.parent.type);break;case 252:case 162:var v=n.parent;if(v.initializer===n||v.type===n||Zd.isAssignmentOperator(n.kind))return s(n);break;case 219:if(y=n.parent.left,Zd.isArrayLiteralOrObjectLiteralDestructuringPattern(y)&&n!==y)return s(n);break;default:if(Zd.isFunctionLike(n.parent)&&n.parent.type===n)return s(n)}return l(n.parent)}}var b,E,T;function S(n){return Zd.isVariableDeclarationList(n.parent)&&n.parent.declarations[0]===n?a(Zd.findPrecedingToken(n.pos,e,n.parent),n):a(n)}function x(n){var t;return 241===n.parent.parent.kind?l(n.parent.parent):(t=n.parent,Zd.isBindingPattern(n.name)?I(n.name):n.initializer||Zd.hasSyntacticModifier(n,1)||242===t.parent.kind?S(n):Zd.isVariableDeclarationList(n.parent)&&n.parent.declarations[0]!==n?l(Zd.findPrecedingToken(n.pos,e,n.parent)):void 0)}function L(e){return!!e.initializer||void 0!==e.dotDotDotToken||Zd.hasSyntacticModifier(e,12)}function D(e){return Zd.hasSyntacticModifier(e,1)||255===e.parent.kind&&169!==e.kind}function A(n){switch(n.parent.kind){case 259:if(1!==Zd.getModuleInstanceState(n.parent))return;case 239:case 237:case 241:return o(n.parent,n.statements[0]);case 240:case 242:return o(Zd.findPrecedingToken(n.pos,e,n.parent),n.statements[0])}return l(n.statements[0])}function C(e){return 253!==e.initializer.kind?l(e.initializer):0<(e=e.initializer).declarations.length?l(e.declarations[0]):void 0}function I(e){var n=Zd.forEach(e.elements,(function(e){return 225!==e.kind?e:void 0}));return n?l(n):(201===e.parent.kind?a:S)(e.parent)}function N(e){Zd.Debug.assert(200!==e.kind&&199!==e.kind);var n=202===e.kind?e.elements:e.properties;n=Zd.forEach(n,(function(e){return 225!==e.kind?e:void 0}));return n?l(n):a(219===e.parent.kind?e.parent:e)}}},($d=bY=bY||{}).transform=function(e,n,t){var r=[];t=$d.fixupCompilerOptions(t,r),e=$d.isArray(e)?e:[e];return(t=$d.transformNodes(void 0,void 0,$d.factory,t,e,n,!0)).diagnostics=$d.concatenate(t.diagnostics,r),t};var bY,EY,TY=function(){return this}(),SY=bY=bY||{};function xY(e,n){e&&e.log("*INTERNAL ERROR* - Exception in typescript services: "+n.message)}DY.prototype.getText=function(e,n){return this.scriptSnapshotShim.getText(e,n)},DY.prototype.getLength=function(){return this.scriptSnapshotShim.getLength()},DY.prototype.getChangeRange=function(e){e=this.scriptSnapshotShim.getChangeRange(e.scriptSnapshotShim);return null===e?null:(e=JSON.parse(e),SY.createTextChangeRange(SY.createTextSpan(e.span.start,e.span.length),e.newLength))},DY.prototype.dispose=function(){"dispose"in this.scriptSnapshotShim&&this.scriptSnapshotShim.dispose()};var LY=DY;function DY(e){this.scriptSnapshotShim=e}CY.prototype.log=function(e){this.loggingEnabled&&this.shimHost.log(e)},CY.prototype.trace=function(e){this.tracingEnabled&&this.shimHost.trace(e)},CY.prototype.error=function(e){this.shimHost.error(e)},CY.prototype.getProjectVersion=function(){if(this.shimHost.getProjectVersion)return this.shimHost.getProjectVersion()},CY.prototype.getTypeRootsVersion=function(){return this.shimHost.getTypeRootsVersion?this.shimHost.getTypeRootsVersion():0},CY.prototype.useCaseSensitiveFileNames=function(){return!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames()},CY.prototype.getCompilationSettings=function(){var e=this.shimHost.getCompilationSettings();if(null===e||""===e)throw Error("LanguageServiceShimHostAdapter.getCompilationSettings: empty compilationSettings");return e=JSON.parse(e),e.allowNonTsExtensions=!0,e},CY.prototype.getScriptFileNames=function(){var e=this.shimHost.getScriptFileNames();return JSON.parse(e)},CY.prototype.getScriptSnapshot=function(e){return e=this.shimHost.getScriptSnapshot(e),e&&new LY(e)},CY.prototype.getScriptKind=function(e){return"getScriptKind"in this.shimHost?this.shimHost.getScriptKind(e):0},CY.prototype.getScriptVersion=function(e){return this.shimHost.getScriptVersion(e)},CY.prototype.getLocalizedDiagnosticMessages=function(){var e=this.shimHost.getLocalizedDiagnosticMessages();if(null===e||""===e)return null;try{return JSON.parse(e)}catch(e){return this.log(e.description||"diagnosticMessages.generated.json has invalid JSON format"),null}},CY.prototype.getCancellationToken=function(){var e=this.shimHost.getCancellationToken();return new SY.ThrottledCancellationToken(e)},CY.prototype.getCurrentDirectory=function(){return this.shimHost.getCurrentDirectory()},CY.prototype.getDirectories=function(e){return JSON.parse(this.shimHost.getDirectories(e))},CY.prototype.getDefaultLibFileName=function(e){return this.shimHost.getDefaultLibFileName(JSON.stringify(e))},CY.prototype.readDirectory=function(e,n,t,r,a){return t=SY.getFileMatcherPatterns(e,t,r,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory()),JSON.parse(this.shimHost.readDirectory(e,JSON.stringify(n),JSON.stringify(t.basePaths),t.excludePattern,t.includeFilePattern,t.includeDirectoryPattern,a))},CY.prototype.readFile=function(e,n){return this.shimHost.readFile(e,n)},CY.prototype.fileExists=function(e){return this.shimHost.fileExists(e)};var AY=CY;function CY(e){var n=this;this.shimHost=e,this.loggingEnabled=!1,this.tracingEnabled=!1,"getModuleResolutionsForFile"in this.shimHost&&(this.resolveModuleNames=function(e,t){var r=JSON.parse(n.shimHost.getModuleResolutionsForFile(t));return SY.map(e,(function(e){return e=SY.getProperty(r,e),e?{resolvedFileName:e,extension:SY.extensionFromPath(e),isExternalLibraryImport:!1}:void 0}))}),"directoryExists"in this.shimHost&&(this.directoryExists=function(e){return n.shimHost.directoryExists(e)}),"getTypeReferenceDirectiveResolutionsForFile"in this.shimHost&&(this.resolveTypeReferenceDirectives=function(e,t){var r=JSON.parse(n.shimHost.getTypeReferenceDirectiveResolutionsForFile(t));return SY.map(e,(function(e){return SY.getProperty(r,e)}))})}SY.LanguageServiceShimHostAdapter=AY,NY.prototype.readDirectory=function(e,n,t,r,a){return t=SY.getFileMatcherPatterns(e,t,r,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory()),JSON.parse(this.shimHost.readDirectory(e,JSON.stringify(n),JSON.stringify(t.basePaths),t.excludePattern,t.includeFilePattern,t.includeDirectoryPattern,a))},NY.prototype.fileExists=function(e){return this.shimHost.fileExists(e)},NY.prototype.readFile=function(e){return this.shimHost.readFile(e)},NY.prototype.getDirectories=function(e){return JSON.parse(this.shimHost.getDirectories(e))};var IY=NY;function NY(e){var n=this;this.shimHost=e,this.useCaseSensitiveFileNames=!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames(),"directoryExists"in this.shimHost?this.directoryExists=function(e){return n.shimHost.directoryExists(e)}:this.directoryExists=void 0,"realpath"in this.shimHost?this.realpath=function(e){return n.shimHost.realpath(e)}:this.realpath=void 0}function kY(e,n,t,r){return RY(e,n,!0,t,r)}function RY(e,n,t,r,a){try{o=e,s=n,c=r,(l=a)&&(o.log(s),d=SY.timestamp()),c=c(),l&&(l=SY.timestamp(),o.log(s+" completed in "+(l-d)+" msec"),SY.isString(c))&&(128<(s=c).length&&(s=s.substring(0,128)+"..."),o.log(" result.length="+s.length+", result='"+JSON.stringify(s)+"'"));var i=c;return t?JSON.stringify({result:i}):i}catch(t){return t instanceof SY.OperationCanceledException?JSON.stringify({canceled:!0}):(xY(e,t),t.description=n,JSON.stringify({error:t}))}var o,s,c,l,d}SY.CoreServicesShimHostAdapter=IY,PY.prototype.dispose=function(e){this.factory.unregisterShim(this)};var OY=PY;function PY(e){(this.factory=e).registerShim(this)}function wY(e,n){return e.map((function(e){return e=e,{message:SY.flattenDiagnosticMessageText(e.messageText,n),start:e.start,length:e.length,category:SY.diagnosticCategoryName(e),code:e.code,reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated}}))}SY.realizeDiagnostics=wY,iu(GY,MY=OY),GY.prototype.forwardJSONCall=function(e,n){return kY(this.logger,e,n,this.logPerformance)},GY.prototype.dispose=function(e){this.logger.log("dispose()"),this.languageService.dispose(),this.languageService=null,TY&&TY.CollectGarbage&&(TY.CollectGarbage(),this.logger.log("CollectGarbage()")),this.logger=null,MY.prototype.dispose.call(this,e)},GY.prototype.refresh=function(e){this.forwardJSONCall("refresh("+e+")",(function(){return null}))},GY.prototype.cleanupSemanticCache=function(){var e=this;this.forwardJSONCall("cleanupSemanticCache()",(function(){return e.languageService.cleanupSemanticCache(),null}))},GY.prototype.realizeDiagnostics=function(e){return wY(e,SY.getNewLineOrDefaultFromHost(this.host))},GY.prototype.getSyntacticClassifications=function(e,n,t){var r=this;return this.forwardJSONCall("getSyntacticClassifications('"+e+"', "+n+", "+t+")",(function(){return r.languageService.getSyntacticClassifications(e,SY.createTextSpan(n,t))}))},GY.prototype.getSemanticClassifications=function(e,n,t){var r=this;return this.forwardJSONCall("getSemanticClassifications('"+e+"', "+n+", "+t+")",(function(){return r.languageService.getSemanticClassifications(e,SY.createTextSpan(n,t))}))},GY.prototype.getEncodedSyntacticClassifications=function(e,n,t){var r=this;return this.forwardJSONCall("getEncodedSyntacticClassifications('"+e+"', "+n+", "+t+")",(function(){return BY(r.languageService.getEncodedSyntacticClassifications(e,SY.createTextSpan(n,t)))}))},GY.prototype.getEncodedSemanticClassifications=function(e,n,t){var r=this;return this.forwardJSONCall("getEncodedSemanticClassifications('"+e+"', "+n+", "+t+")",(function(){return BY(r.languageService.getEncodedSemanticClassifications(e,SY.createTextSpan(n,t)))}))},GY.prototype.getSyntacticDiagnostics=function(e){var n=this;return this.forwardJSONCall("getSyntacticDiagnostics('"+e+"')",(function(){var t=n.languageService.getSyntacticDiagnostics(e);return n.realizeDiagnostics(t)}))},GY.prototype.getSemanticDiagnostics=function(e){var n=this;return this.forwardJSONCall("getSemanticDiagnostics('"+e+"')",(function(){var t=n.languageService.getSemanticDiagnostics(e);return n.realizeDiagnostics(t)}))},GY.prototype.getSuggestionDiagnostics=function(e){var n=this;return this.forwardJSONCall("getSuggestionDiagnostics('"+e+"')",(function(){return n.realizeDiagnostics(n.languageService.getSuggestionDiagnostics(e))}))},GY.prototype.getCompilerOptionsDiagnostics=function(){var e=this;return this.forwardJSONCall("getCompilerOptionsDiagnostics()",(function(){var n=e.languageService.getCompilerOptionsDiagnostics();return e.realizeDiagnostics(n)}))},GY.prototype.getQuickInfoAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getQuickInfoAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getQuickInfoAtPosition(e,n)}))},GY.prototype.getNameOrDottedNameSpan=function(e,n,t){var r=this;return this.forwardJSONCall("getNameOrDottedNameSpan('"+e+"', "+n+", "+t+")",(function(){return r.languageService.getNameOrDottedNameSpan(e,n,t)}))},GY.prototype.getBreakpointStatementAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getBreakpointStatementAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getBreakpointStatementAtPosition(e,n)}))},GY.prototype.getSignatureHelpItems=function(e,n,t){var r=this;return this.forwardJSONCall("getSignatureHelpItems('"+e+"', "+n+")",(function(){return r.languageService.getSignatureHelpItems(e,n,t)}))},GY.prototype.getDefinitionAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getDefinitionAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getDefinitionAtPosition(e,n)}))},GY.prototype.getDefinitionAndBoundSpan=function(e,n){var t=this;return this.forwardJSONCall("getDefinitionAndBoundSpan('"+e+"', "+n+")",(function(){return t.languageService.getDefinitionAndBoundSpan(e,n)}))},GY.prototype.getTypeDefinitionAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getTypeDefinitionAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getTypeDefinitionAtPosition(e,n)}))},GY.prototype.getImplementationAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getImplementationAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getImplementationAtPosition(e,n)}))},GY.prototype.getRenameInfo=function(e,n,t){var r=this;return this.forwardJSONCall("getRenameInfo('"+e+"', "+n+")",(function(){return r.languageService.getRenameInfo(e,n,t)}))},GY.prototype.getSmartSelectionRange=function(e,n){var t=this;return this.forwardJSONCall("getSmartSelectionRange('"+e+"', "+n+")",(function(){return t.languageService.getSmartSelectionRange(e,n)}))},GY.prototype.findRenameLocations=function(e,n,t,r,a){var i=this;return this.forwardJSONCall("findRenameLocations('"+e+"', "+n+", "+t+", "+r+", "+a+")",(function(){return i.languageService.findRenameLocations(e,n,t,r,a)}))},GY.prototype.getBraceMatchingAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getBraceMatchingAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getBraceMatchingAtPosition(e,n)}))},GY.prototype.isValidBraceCompletionAtPosition=function(e,n,t){var r=this;return this.forwardJSONCall("isValidBraceCompletionAtPosition('"+e+"', "+n+", "+t+")",(function(){return r.languageService.isValidBraceCompletionAtPosition(e,n,t)}))},GY.prototype.getSpanOfEnclosingComment=function(e,n,t){var r=this;return this.forwardJSONCall("getSpanOfEnclosingComment('"+e+"', "+n+")",(function(){return r.languageService.getSpanOfEnclosingComment(e,n,t)}))},GY.prototype.getIndentationAtPosition=function(e,n,t){var r=this;return this.forwardJSONCall("getIndentationAtPosition('"+e+"', "+n+")",(function(){var a=JSON.parse(t);return r.languageService.getIndentationAtPosition(e,n,a)}))},GY.prototype.getReferencesAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getReferencesAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getReferencesAtPosition(e,n)}))},GY.prototype.findReferences=function(e,n){var t=this;return this.forwardJSONCall("findReferences('"+e+"', "+n+")",(function(){return t.languageService.findReferences(e,n)}))},GY.prototype.getFileReferences=function(e){var n=this;return this.forwardJSONCall("getFileReferences('"+e+")",(function(){return n.languageService.getFileReferences(e)}))},GY.prototype.getOccurrencesAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getOccurrencesAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getOccurrencesAtPosition(e,n)}))},GY.prototype.getDocumentHighlights=function(e,n,t){var r=this;return this.forwardJSONCall("getDocumentHighlights('"+e+"', "+n+")",(function(){var a=r.languageService.getDocumentHighlights(e,n,JSON.parse(t)),i=SY.toFileNameLowerCase(SY.normalizeSlashes(e));return SY.filter(a,(function(e){return SY.toFileNameLowerCase(SY.normalizeSlashes(e.fileName))===i}))}))},GY.prototype.getCompletionsAtPosition=function(e,n,t){var r=this;return this.forwardJSONCall("getCompletionsAtPosition('"+e+"', "+n+", "+t+")",(function(){return r.languageService.getCompletionsAtPosition(e,n,t)}))},GY.prototype.getCompletionEntryDetails=function(e,n,t,r,a,i,o){var s=this;return this.forwardJSONCall("getCompletionEntryDetails('"+e+"', "+n+", '"+t+"')",(function(){var c=void 0===r?void 0:JSON.parse(r);return s.languageService.getCompletionEntryDetails(e,n,t,c,a,i,o)}))},GY.prototype.getFormattingEditsForRange=function(e,n,t,r){var a=this;return this.forwardJSONCall("getFormattingEditsForRange('"+e+"', "+n+", "+t+")",(function(){var i=JSON.parse(r);return a.languageService.getFormattingEditsForRange(e,n,t,i)}))},GY.prototype.getFormattingEditsForDocument=function(e,n){var t=this;return this.forwardJSONCall("getFormattingEditsForDocument('"+e+"')",(function(){var r=JSON.parse(n);return t.languageService.getFormattingEditsForDocument(e,r)}))},GY.prototype.getFormattingEditsAfterKeystroke=function(e,n,t,r){var a=this;return this.forwardJSONCall("getFormattingEditsAfterKeystroke('"+e+"', "+n+", '"+t+"')",(function(){var i=JSON.parse(r);return a.languageService.getFormattingEditsAfterKeystroke(e,n,t,i)}))},GY.prototype.getDocCommentTemplateAtPosition=function(e,n,t){var r=this;return this.forwardJSONCall("getDocCommentTemplateAtPosition('"+e+"', "+n+")",(function(){return r.languageService.getDocCommentTemplateAtPosition(e,n,t)}))},GY.prototype.getNavigateToItems=function(e,n,t){var r=this;return this.forwardJSONCall("getNavigateToItems('"+e+"', "+n+", "+t+")",(function(){return r.languageService.getNavigateToItems(e,n,t)}))},GY.prototype.getNavigationBarItems=function(e){var n=this;return this.forwardJSONCall("getNavigationBarItems('"+e+"')",(function(){return n.languageService.getNavigationBarItems(e)}))},GY.prototype.getNavigationTree=function(e){var n=this;return this.forwardJSONCall("getNavigationTree('"+e+"')",(function(){return n.languageService.getNavigationTree(e)}))},GY.prototype.getOutliningSpans=function(e){var n=this;return this.forwardJSONCall("getOutliningSpans('"+e+"')",(function(){return n.languageService.getOutliningSpans(e)}))},GY.prototype.getTodoComments=function(e,n){var t=this;return this.forwardJSONCall("getTodoComments('"+e+"')",(function(){return t.languageService.getTodoComments(e,JSON.parse(n))}))},GY.prototype.prepareCallHierarchy=function(e,n){var t=this;return this.forwardJSONCall("prepareCallHierarchy('"+e+"', "+n+")",(function(){return t.languageService.prepareCallHierarchy(e,n)}))},GY.prototype.provideCallHierarchyIncomingCalls=function(e,n){var t=this;return this.forwardJSONCall("provideCallHierarchyIncomingCalls('"+e+"', "+n+")",(function(){return t.languageService.provideCallHierarchyIncomingCalls(e,n)}))},GY.prototype.provideCallHierarchyOutgoingCalls=function(e,n){var t=this;return this.forwardJSONCall("provideCallHierarchyOutgoingCalls('"+e+"', "+n+")",(function(){return t.languageService.provideCallHierarchyOutgoingCalls(e,n)}))},GY.prototype.provideInlayHints=function(e,n,t){var r=this;return this.forwardJSONCall("provideInlayHints('"+e+"', '"+JSON.stringify(n)+"', "+JSON.stringify(t)+")",(function(){return r.languageService.provideInlayHints(e,n,t)}))},GY.prototype.getEmitOutput=function(e){var n=this;return this.forwardJSONCall("getEmitOutput('"+e+"')",(function(){var t=n.languageService.getEmitOutput(e),r=t.diagnostics;t=au(t,["diagnostics"]);return nu(nu({},t),{diagnostics:n.realizeDiagnostics(r)})}))},GY.prototype.getEmitOutputObject=function(e){var n=this;return RY(this.logger,"getEmitOutput('"+e+"')",!1,(function(){return n.languageService.getEmitOutput(e)}),this.logPerformance)},GY.prototype.toggleLineComment=function(e,n){var t=this;return this.forwardJSONCall("toggleLineComment('"+e+"', '"+JSON.stringify(n)+"')",(function(){return t.languageService.toggleLineComment(e,n)}))},GY.prototype.toggleMultilineComment=function(e,n){var t=this;return this.forwardJSONCall("toggleMultilineComment('"+e+"', '"+JSON.stringify(n)+"')",(function(){return t.languageService.toggleMultilineComment(e,n)}))},GY.prototype.commentSelection=function(e,n){var t=this;return this.forwardJSONCall("commentSelection('"+e+"', '"+JSON.stringify(n)+"')",(function(){return t.languageService.commentSelection(e,n)}))},GY.prototype.uncommentSelection=function(e,n){var t=this;return this.forwardJSONCall("uncommentSelection('"+e+"', '"+JSON.stringify(n)+"')",(function(){return t.languageService.uncommentSelection(e,n)}))};var MY,FY=GY;function GY(e,n,t){return e=MY.call(this,e)||this,e.host=n,e.languageService=t,e.logPerformance=!1,e.logger=e.host,e}function BY(e){return{spans:e.spans.join(","),endOfLineState:e.endOfLineState}}iu(jY,UY=OY),jY.prototype.getEncodedLexicalClassifications=function(e,n,t){var r=this;return void 0===t&&(t=!1),kY(this.logger,"getEncodedLexicalClassifications",(function(){return BY(r.classifier.getEncodedLexicalClassifications(e,n,t))}),this.logPerformance)},jY.prototype.getClassificationsForLine=function(e,n,t){e=this.classifier.getClassificationsForLine(e,n,t=void 0!==t&&t);for(var r="",a=0,i=e.entries;a<i.length;a++){var o=i[a];r=(r+=o.length+"\n")+o.classification+"\n"}return r+e.finalLexState};var UY,VY=jY;function jY(e,n){return e=UY.call(this,e)||this,e.logger=n,e.logPerformance=!1,e.classifier=SY.createClassifier(),e}iu(WY,KY=OY),WY.prototype.forwardJSONCall=function(e,n){return kY(this.logger,e,n,this.logPerformance)},WY.prototype.resolveModuleName=function(e,n,t){var r=this;return this.forwardJSONCall("resolveModuleName('"+e+"')",(function(){var a=JSON.parse(t),i=(a=SY.resolveModuleName(n,SY.normalizeSlashes(e),a,r.host),a.resolvedModule?a.resolvedModule.resolvedFileName:void 0);return{resolvedFileName:i=a.resolvedModule&&".ts"!==a.resolvedModule.extension&&".tsx"!==a.resolvedModule.extension&&".d.ts"!==a.resolvedModule.extension?void 0:i,failedLookupLocations:a.failedLookupLocations}}))},WY.prototype.resolveTypeReferenceDirective=function(e,n,t){var r=this;return this.forwardJSONCall("resolveTypeReferenceDirective("+e+")",(function(){var a=JSON.parse(t);a=SY.resolveTypeReferenceDirective(n,SY.normalizeSlashes(e),a,r.host);return{resolvedFileName:a.resolvedTypeReferenceDirective?a.resolvedTypeReferenceDirective.resolvedFileName:void 0,primary:!a.resolvedTypeReferenceDirective||a.resolvedTypeReferenceDirective.primary,failedLookupLocations:a.failedLookupLocations}}))},WY.prototype.getPreProcessedFileInfo=function(e,n){var t=this;return this.forwardJSONCall("getPreProcessedFileInfo('"+e+"')",(function(){var e=SY.preProcessFile(SY.getSnapshotText(n),!0,!0);return{referencedFiles:t.convertFileReferences(e.referencedFiles),importedFiles:t.convertFileReferences(e.importedFiles),ambientExternalModules:e.ambientExternalModules,isLibFile:e.isLibFile,typeReferenceDirectives:t.convertFileReferences(e.typeReferenceDirectives),libReferenceDirectives:t.convertFileReferences(e.libReferenceDirectives)}}))},WY.prototype.getAutomaticTypeDirectiveNames=function(e){var n=this;return this.forwardJSONCall("getAutomaticTypeDirectiveNames('"+e+"')",(function(){var t=JSON.parse(e);return SY.getAutomaticTypeDirectiveNames(t,n.host)}))},WY.prototype.convertFileReferences=function(e){if(e){for(var n=[],t=0,r=e;t<r.length;t++){var a=r[t];n.push({path:SY.normalizeSlashes(a.fileName),position:a.pos,length:a.end-a.pos})}return n}},WY.prototype.getTSConfigFileInfo=function(e,n){var t=this;return this.forwardJSONCall("getTSConfigFileInfo('"+e+"')",(function(){var r=SY.parseJsonText(e,SY.getSnapshotText(n)),a=SY.normalizeSlashes(e);a=SY.parseJsonSourceFileConfigFileContent(r,t.host,SY.getDirectoryPath(a),{},a);return{options:a.options,typeAcquisition:a.typeAcquisition,files:a.fileNames,raw:a.raw,errors:wY(eu(eu([],r.parseDiagnostics,!0),a.errors,!0),"\r\n")}}))},WY.prototype.getDefaultCompilationSettings=function(){return this.forwardJSONCall("getDefaultCompilationSettings()",(function(){return SY.getDefaultCompilerOptions()}))},WY.prototype.discoverTypings=function(e){var n=this,t=SY.createGetCanonicalFileName(!1);return this.forwardJSONCall("discoverTypings()",(function(){var r=JSON.parse(e);return void 0===n.safeList&&(n.safeList=SY.JsTyping.loadSafeList(n.host,SY.toPath(r.safeListPath,r.safeListPath,t))),SY.JsTyping.discoverTypings(n.host,(function(e){return n.logger.log(e)}),r.fileNames,SY.toPath(r.projectRootPath,r.projectRootPath,t),n.safeList,r.packageNameToTypingLocation,r.typeAcquisition,r.unresolvedImports,r.typesRegistry)}))};var KY,HY=WY;function WY(e,n,t){return e=KY.call(this,e)||this,e.logger=n,e.host=t,e.logPerformance=!1,e}function zY(){this._shims=[]}if(zY.prototype.getServicesVersion=function(){return SY.servicesVersion},zY.prototype.createLanguageServiceShim=function(e){try{void 0===this.documentRegistry&&(this.documentRegistry=SY.createDocumentRegistry(e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames(),e.getCurrentDirectory()));var n=new AY(e),t=SY.createLanguageService(n,this.documentRegistry,!1);return new FY(this,e,t)}catch(n){throw xY(e,n),n}},zY.prototype.createClassifierShim=function(e){try{return new VY(this,e)}catch(tu){throw xY(e,tu),tu}},zY.prototype.createCoreServicesShim=function(e){try{var n=new IY(e);return new HY(this,e,n)}catch(n){throw xY(e,n),n}},zY.prototype.close=function(){SY.clear(this._shims),this.documentRegistry=void 0},zY.prototype.registerShim=function(e){this._shims.push(e)},zY.prototype.unregisterShim=function(e){for(var n=0;n<this._shims.length;n++)if(this._shims[n]===e)return void delete this._shims[n];throw new Error("Invalid operation")},SY.TypeScriptServicesFactory=zY,"object"!=typeof globalThis)try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,"undefined"==typeof globalThis&&(window.globalThis=window),delete Object.prototype.__magic__}catch(tu){window.globalThis=window}void 0!==e&&!e.browser||(globalThis.TypeScript=globalThis.TypeScript||{},globalThis.TypeScript.Services=globalThis.TypeScript.Services||{},globalThis.TypeScript.Services.TypeScriptServicesFactory=bY.TypeScriptServicesFactory,globalThis.toolsVersion=bY.versionMajorMinor),a.exports&&(a.exports=bY),EY=bY=bY||{},sm={since:"4.0",warnAfter:"4.1",message:"Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead."},EY.createNodeArray=EY.Debug.deprecate(EY.factory.createNodeArray,sm),EY.createNumericLiteral=EY.Debug.deprecate(EY.factory.createNumericLiteral,sm),EY.createBigIntLiteral=EY.Debug.deprecate(EY.factory.createBigIntLiteral,sm),EY.createStringLiteral=EY.Debug.deprecate(EY.factory.createStringLiteral,sm),EY.createStringLiteralFromNode=EY.Debug.deprecate(EY.factory.createStringLiteralFromNode,sm),EY.createRegularExpressionLiteral=EY.Debug.deprecate(EY.factory.createRegularExpressionLiteral,sm),EY.createLoopVariable=EY.Debug.deprecate(EY.factory.createLoopVariable,sm),EY.createUniqueName=EY.Debug.deprecate(EY.factory.createUniqueName,sm),EY.createPrivateIdentifier=EY.Debug.deprecate(EY.factory.createPrivateIdentifier,sm),EY.createSuper=EY.Debug.deprecate(EY.factory.createSuper,sm),EY.createThis=EY.Debug.deprecate(EY.factory.createThis,sm),EY.createNull=EY.Debug.deprecate(EY.factory.createNull,sm),EY.createTrue=EY.Debug.deprecate(EY.factory.createTrue,sm),EY.createFalse=EY.Debug.deprecate(EY.factory.createFalse,sm),EY.createModifier=EY.Debug.deprecate(EY.factory.createModifier,sm),EY.createModifiersFromModifierFlags=EY.Debug.deprecate(EY.factory.createModifiersFromModifierFlags,sm),EY.createQualifiedName=EY.Debug.deprecate(EY.factory.createQualifiedName,sm),EY.updateQualifiedName=EY.Debug.deprecate(EY.factory.updateQualifiedName,sm),EY.createComputedPropertyName=EY.Debug.deprecate(EY.factory.createComputedPropertyName,sm),EY.updateComputedPropertyName=EY.Debug.deprecate(EY.factory.updateComputedPropertyName,sm),EY.createTypeParameterDeclaration=EY.Debug.deprecate(EY.factory.createTypeParameterDeclaration,sm),EY.updateTypeParameterDeclaration=EY.Debug.deprecate(EY.factory.updateTypeParameterDeclaration,sm),EY.createParameter=EY.Debug.deprecate(EY.factory.createParameterDeclaration,sm),EY.updateParameter=EY.Debug.deprecate(EY.factory.updateParameterDeclaration,sm),EY.createDecorator=EY.Debug.deprecate(EY.factory.createDecorator,sm),EY.updateDecorator=EY.Debug.deprecate(EY.factory.updateDecorator,sm),EY.createProperty=EY.Debug.deprecate(EY.factory.createPropertyDeclaration,sm),EY.updateProperty=EY.Debug.deprecate(EY.factory.updatePropertyDeclaration,sm),EY.createMethod=EY.Debug.deprecate(EY.factory.createMethodDeclaration,sm),EY.updateMethod=EY.Debug.deprecate(EY.factory.updateMethodDeclaration,sm),EY.createConstructor=EY.Debug.deprecate(EY.factory.createConstructorDeclaration,sm),EY.updateConstructor=EY.Debug.deprecate(EY.factory.updateConstructorDeclaration,sm),EY.createGetAccessor=EY.Debug.deprecate(EY.factory.createGetAccessorDeclaration,sm),EY.updateGetAccessor=EY.Debug.deprecate(EY.factory.updateGetAccessorDeclaration,sm),EY.createSetAccessor=EY.Debug.deprecate(EY.factory.createSetAccessorDeclaration,sm),EY.updateSetAccessor=EY.Debug.deprecate(EY.factory.updateSetAccessorDeclaration,sm),EY.createCallSignature=EY.Debug.deprecate(EY.factory.createCallSignature,sm),EY.updateCallSignature=EY.Debug.deprecate(EY.factory.updateCallSignature,sm),EY.createConstructSignature=EY.Debug.deprecate(EY.factory.createConstructSignature,sm),EY.updateConstructSignature=EY.Debug.deprecate(EY.factory.updateConstructSignature,sm),EY.updateIndexSignature=EY.Debug.deprecate(EY.factory.updateIndexSignature,sm),EY.createKeywordTypeNode=EY.Debug.deprecate(EY.factory.createKeywordTypeNode,sm),EY.createTypePredicateNodeWithModifier=EY.Debug.deprecate(EY.factory.createTypePredicateNode,sm),EY.updateTypePredicateNodeWithModifier=EY.Debug.deprecate(EY.factory.updateTypePredicateNode,sm),EY.createTypeReferenceNode=EY.Debug.deprecate(EY.factory.createTypeReferenceNode,sm),EY.updateTypeReferenceNode=EY.Debug.deprecate(EY.factory.updateTypeReferenceNode,sm),EY.createFunctionTypeNode=EY.Debug.deprecate(EY.factory.createFunctionTypeNode,sm),EY.updateFunctionTypeNode=EY.Debug.deprecate(EY.factory.updateFunctionTypeNode,sm),EY.createConstructorTypeNode=EY.Debug.deprecate((function(e,n,t){return EY.factory.createConstructorTypeNode(void 0,e,n,t)}),sm),EY.updateConstructorTypeNode=EY.Debug.deprecate((function(e,n,t,r){return EY.factory.updateConstructorTypeNode(e,e.modifiers,n,t,r)}),sm),EY.createTypeQueryNode=EY.Debug.deprecate(EY.factory.createTypeQueryNode,sm),EY.updateTypeQueryNode=EY.Debug.deprecate(EY.factory.updateTypeQueryNode,sm),EY.createTypeLiteralNode=EY.Debug.deprecate(EY.factory.createTypeLiteralNode,sm),EY.updateTypeLiteralNode=EY.Debug.deprecate(EY.factory.updateTypeLiteralNode,sm),EY.createArrayTypeNode=EY.Debug.deprecate(EY.factory.createArrayTypeNode,sm),EY.updateArrayTypeNode=EY.Debug.deprecate(EY.factory.updateArrayTypeNode,sm),EY.createTupleTypeNode=EY.Debug.deprecate(EY.factory.createTupleTypeNode,sm),EY.updateTupleTypeNode=EY.Debug.deprecate(EY.factory.updateTupleTypeNode,sm),EY.createOptionalTypeNode=EY.Debug.deprecate(EY.factory.createOptionalTypeNode,sm),EY.updateOptionalTypeNode=EY.Debug.deprecate(EY.factory.updateOptionalTypeNode,sm),EY.createRestTypeNode=EY.Debug.deprecate(EY.factory.createRestTypeNode,sm),EY.updateRestTypeNode=EY.Debug.deprecate(EY.factory.updateRestTypeNode,sm),EY.createUnionTypeNode=EY.Debug.deprecate(EY.factory.createUnionTypeNode,sm),EY.updateUnionTypeNode=EY.Debug.deprecate(EY.factory.updateUnionTypeNode,sm),EY.createIntersectionTypeNode=EY.Debug.deprecate(EY.factory.createIntersectionTypeNode,sm),EY.updateIntersectionTypeNode=EY.Debug.deprecate(EY.factory.updateIntersectionTypeNode,sm),EY.createConditionalTypeNode=EY.Debug.deprecate(EY.factory.createConditionalTypeNode,sm),EY.updateConditionalTypeNode=EY.Debug.deprecate(EY.factory.updateConditionalTypeNode,sm),EY.createInferTypeNode=EY.Debug.deprecate(EY.factory.createInferTypeNode,sm),EY.updateInferTypeNode=EY.Debug.deprecate(EY.factory.updateInferTypeNode,sm),EY.createImportTypeNode=EY.Debug.deprecate(EY.factory.createImportTypeNode,sm),EY.updateImportTypeNode=EY.Debug.deprecate(EY.factory.updateImportTypeNode,sm),EY.createParenthesizedType=EY.Debug.deprecate(EY.factory.createParenthesizedType,sm),EY.updateParenthesizedType=EY.Debug.deprecate(EY.factory.updateParenthesizedType,sm),EY.createThisTypeNode=EY.Debug.deprecate(EY.factory.createThisTypeNode,sm),EY.updateTypeOperatorNode=EY.Debug.deprecate(EY.factory.updateTypeOperatorNode,sm),EY.createIndexedAccessTypeNode=EY.Debug.deprecate(EY.factory.createIndexedAccessTypeNode,sm),EY.updateIndexedAccessTypeNode=EY.Debug.deprecate(EY.factory.updateIndexedAccessTypeNode,sm),EY.createMappedTypeNode=EY.Debug.deprecate(EY.factory.createMappedTypeNode,sm),EY.updateMappedTypeNode=EY.Debug.deprecate(EY.factory.updateMappedTypeNode,sm),EY.createLiteralTypeNode=EY.Debug.deprecate(EY.factory.createLiteralTypeNode,sm),EY.updateLiteralTypeNode=EY.Debug.deprecate(EY.factory.updateLiteralTypeNode,sm),EY.createObjectBindingPattern=EY.Debug.deprecate(EY.factory.createObjectBindingPattern,sm),EY.updateObjectBindingPattern=EY.Debug.deprecate(EY.factory.updateObjectBindingPattern,sm),EY.createArrayBindingPattern=EY.Debug.deprecate(EY.factory.createArrayBindingPattern,sm),EY.updateArrayBindingPattern=EY.Debug.deprecate(EY.factory.updateArrayBindingPattern,sm),EY.createBindingElement=EY.Debug.deprecate(EY.factory.createBindingElement,sm),EY.updateBindingElement=EY.Debug.deprecate(EY.factory.updateBindingElement,sm),EY.createArrayLiteral=EY.Debug.deprecate(EY.factory.createArrayLiteralExpression,sm),EY.updateArrayLiteral=EY.Debug.deprecate(EY.factory.updateArrayLiteralExpression,sm),EY.createObjectLiteral=EY.Debug.deprecate(EY.factory.createObjectLiteralExpression,sm),EY.updateObjectLiteral=EY.Debug.deprecate(EY.factory.updateObjectLiteralExpression,sm),EY.createPropertyAccess=EY.Debug.deprecate(EY.factory.createPropertyAccessExpression,sm),EY.updatePropertyAccess=EY.Debug.deprecate(EY.factory.updatePropertyAccessExpression,sm),EY.createPropertyAccessChain=EY.Debug.deprecate(EY.factory.createPropertyAccessChain,sm),EY.updatePropertyAccessChain=EY.Debug.deprecate(EY.factory.updatePropertyAccessChain,sm),EY.createElementAccess=EY.Debug.deprecate(EY.factory.createElementAccessExpression,sm),EY.updateElementAccess=EY.Debug.deprecate(EY.factory.updateElementAccessExpression,sm),EY.createElementAccessChain=EY.Debug.deprecate(EY.factory.createElementAccessChain,sm),EY.updateElementAccessChain=EY.Debug.deprecate(EY.factory.updateElementAccessChain,sm),EY.createCall=EY.Debug.deprecate(EY.factory.createCallExpression,sm),EY.updateCall=EY.Debug.deprecate(EY.factory.updateCallExpression,sm),EY.createCallChain=EY.Debug.deprecate(EY.factory.createCallChain,sm),EY.updateCallChain=EY.Debug.deprecate(EY.factory.updateCallChain,sm),EY.createNew=EY.Debug.deprecate(EY.factory.createNewExpression,sm),EY.updateNew=EY.Debug.deprecate(EY.factory.updateNewExpression,sm),EY.createTypeAssertion=EY.Debug.deprecate(EY.factory.createTypeAssertion,sm),EY.updateTypeAssertion=EY.Debug.deprecate(EY.factory.updateTypeAssertion,sm),EY.createParen=EY.Debug.deprecate(EY.factory.createParenthesizedExpression,sm),EY.updateParen=EY.Debug.deprecate(EY.factory.updateParenthesizedExpression,sm),EY.createFunctionExpression=EY.Debug.deprecate(EY.factory.createFunctionExpression,sm),EY.updateFunctionExpression=EY.Debug.deprecate(EY.factory.updateFunctionExpression,sm),EY.createDelete=EY.Debug.deprecate(EY.factory.createDeleteExpression,sm),EY.updateDelete=EY.Debug.deprecate(EY.factory.updateDeleteExpression,sm),EY.createTypeOf=EY.Debug.deprecate(EY.factory.createTypeOfExpression,sm),EY.updateTypeOf=EY.Debug.deprecate(EY.factory.updateTypeOfExpression,sm),EY.createVoid=EY.Debug.deprecate(EY.factory.createVoidExpression,sm),EY.updateVoid=EY.Debug.deprecate(EY.factory.updateVoidExpression,sm),EY.createAwait=EY.Debug.deprecate(EY.factory.createAwaitExpression,sm),EY.updateAwait=EY.Debug.deprecate(EY.factory.updateAwaitExpression,sm),EY.createPrefix=EY.Debug.deprecate(EY.factory.createPrefixUnaryExpression,sm),EY.updatePrefix=EY.Debug.deprecate(EY.factory.updatePrefixUnaryExpression,sm),EY.createPostfix=EY.Debug.deprecate(EY.factory.createPostfixUnaryExpression,sm),EY.updatePostfix=EY.Debug.deprecate(EY.factory.updatePostfixUnaryExpression,sm),EY.createBinary=EY.Debug.deprecate(EY.factory.createBinaryExpression,sm),EY.updateConditional=EY.Debug.deprecate(EY.factory.updateConditionalExpression,sm),EY.createTemplateExpression=EY.Debug.deprecate(EY.factory.createTemplateExpression,sm),EY.updateTemplateExpression=EY.Debug.deprecate(EY.factory.updateTemplateExpression,sm),EY.createTemplateHead=EY.Debug.deprecate(EY.factory.createTemplateHead,sm),EY.createTemplateMiddle=EY.Debug.deprecate(EY.factory.createTemplateMiddle,sm),EY.createTemplateTail=EY.Debug.deprecate(EY.factory.createTemplateTail,sm),EY.createNoSubstitutionTemplateLiteral=EY.Debug.deprecate(EY.factory.createNoSubstitutionTemplateLiteral,sm),EY.updateYield=EY.Debug.deprecate(EY.factory.updateYieldExpression,sm),EY.createSpread=EY.Debug.deprecate(EY.factory.createSpreadElement,sm),EY.updateSpread=EY.Debug.deprecate(EY.factory.updateSpreadElement,sm),EY.createOmittedExpression=EY.Debug.deprecate(EY.factory.createOmittedExpression,sm),EY.createAsExpression=EY.Debug.deprecate(EY.factory.createAsExpression,sm),EY.updateAsExpression=EY.Debug.deprecate(EY.factory.updateAsExpression,sm),EY.createNonNullExpression=EY.Debug.deprecate(EY.factory.createNonNullExpression,sm),EY.updateNonNullExpression=EY.Debug.deprecate(EY.factory.updateNonNullExpression,sm),EY.createNonNullChain=EY.Debug.deprecate(EY.factory.createNonNullChain,sm),EY.updateNonNullChain=EY.Debug.deprecate(EY.factory.updateNonNullChain,sm),EY.createMetaProperty=EY.Debug.deprecate(EY.factory.createMetaProperty,sm),EY.updateMetaProperty=EY.Debug.deprecate(EY.factory.updateMetaProperty,sm),EY.createTemplateSpan=EY.Debug.deprecate(EY.factory.createTemplateSpan,sm),EY.updateTemplateSpan=EY.Debug.deprecate(EY.factory.updateTemplateSpan,sm),EY.createSemicolonClassElement=EY.Debug.deprecate(EY.factory.createSemicolonClassElement,sm),EY.createBlock=EY.Debug.deprecate(EY.factory.createBlock,sm),EY.updateBlock=EY.Debug.deprecate(EY.factory.updateBlock,sm),EY.createVariableStatement=EY.Debug.deprecate(EY.factory.createVariableStatement,sm),EY.updateVariableStatement=EY.Debug.deprecate(EY.factory.updateVariableStatement,sm),EY.createEmptyStatement=EY.Debug.deprecate(EY.factory.createEmptyStatement,sm),EY.createExpressionStatement=EY.Debug.deprecate(EY.factory.createExpressionStatement,sm),EY.updateExpressionStatement=EY.Debug.deprecate(EY.factory.updateExpressionStatement,sm),EY.createStatement=EY.Debug.deprecate(EY.factory.createExpressionStatement,sm),EY.updateStatement=EY.Debug.deprecate(EY.factory.updateExpressionStatement,sm),EY.createIf=EY.Debug.deprecate(EY.factory.createIfStatement,sm),EY.updateIf=EY.Debug.deprecate(EY.factory.updateIfStatement,sm),EY.createDo=EY.Debug.deprecate(EY.factory.createDoStatement,sm),EY.updateDo=EY.Debug.deprecate(EY.factory.updateDoStatement,sm),EY.createWhile=EY.Debug.deprecate(EY.factory.createWhileStatement,sm),EY.updateWhile=EY.Debug.deprecate(EY.factory.updateWhileStatement,sm),EY.createFor=EY.Debug.deprecate(EY.factory.createForStatement,sm),EY.updateFor=EY.Debug.deprecate(EY.factory.updateForStatement,sm),EY.createForIn=EY.Debug.deprecate(EY.factory.createForInStatement,sm),EY.updateForIn=EY.Debug.deprecate(EY.factory.updateForInStatement,sm),EY.createForOf=EY.Debug.deprecate(EY.factory.createForOfStatement,sm),EY.updateForOf=EY.Debug.deprecate(EY.factory.updateForOfStatement,sm),EY.createContinue=EY.Debug.deprecate(EY.factory.createContinueStatement,sm),EY.updateContinue=EY.Debug.deprecate(EY.factory.updateContinueStatement,sm),EY.createBreak=EY.Debug.deprecate(EY.factory.createBreakStatement,sm),EY.updateBreak=EY.Debug.deprecate(EY.factory.updateBreakStatement,sm),EY.createReturn=EY.Debug.deprecate(EY.factory.createReturnStatement,sm),EY.updateReturn=EY.Debug.deprecate(EY.factory.updateReturnStatement,sm),EY.createWith=EY.Debug.deprecate(EY.factory.createWithStatement,sm),EY.updateWith=EY.Debug.deprecate(EY.factory.updateWithStatement,sm),EY.createSwitch=EY.Debug.deprecate(EY.factory.createSwitchStatement,sm),EY.updateSwitch=EY.Debug.deprecate(EY.factory.updateSwitchStatement,sm),EY.createLabel=EY.Debug.deprecate(EY.factory.createLabeledStatement,sm),EY.updateLabel=EY.Debug.deprecate(EY.factory.updateLabeledStatement,sm),EY.createThrow=EY.Debug.deprecate(EY.factory.createThrowStatement,sm),EY.updateThrow=EY.Debug.deprecate(EY.factory.updateThrowStatement,sm),EY.createTry=EY.Debug.deprecate(EY.factory.createTryStatement,sm),EY.updateTry=EY.Debug.deprecate(EY.factory.updateTryStatement,sm),EY.createDebuggerStatement=EY.Debug.deprecate(EY.factory.createDebuggerStatement,sm),EY.createVariableDeclarationList=EY.Debug.deprecate(EY.factory.createVariableDeclarationList,sm),EY.updateVariableDeclarationList=EY.Debug.deprecate(EY.factory.updateVariableDeclarationList,sm),EY.createFunctionDeclaration=EY.Debug.deprecate(EY.factory.createFunctionDeclaration,sm),EY.updateFunctionDeclaration=EY.Debug.deprecate(EY.factory.updateFunctionDeclaration,sm),EY.createClassDeclaration=EY.Debug.deprecate(EY.factory.createClassDeclaration,sm),EY.updateClassDeclaration=EY.Debug.deprecate(EY.factory.updateClassDeclaration,sm),EY.createInterfaceDeclaration=EY.Debug.deprecate(EY.factory.createInterfaceDeclaration,sm),EY.updateInterfaceDeclaration=EY.Debug.deprecate(EY.factory.updateInterfaceDeclaration,sm),EY.createTypeAliasDeclaration=EY.Debug.deprecate(EY.factory.createTypeAliasDeclaration,sm),EY.updateTypeAliasDeclaration=EY.Debug.deprecate(EY.factory.updateTypeAliasDeclaration,sm),EY.createEnumDeclaration=EY.Debug.deprecate(EY.factory.createEnumDeclaration,sm),EY.updateEnumDeclaration=EY.Debug.deprecate(EY.factory.updateEnumDeclaration,sm),EY.createModuleDeclaration=EY.Debug.deprecate(EY.factory.createModuleDeclaration,sm),EY.updateModuleDeclaration=EY.Debug.deprecate(EY.factory.updateModuleDeclaration,sm),EY.createModuleBlock=EY.Debug.deprecate(EY.factory.createModuleBlock,sm),EY.updateModuleBlock=EY.Debug.deprecate(EY.factory.updateModuleBlock,sm),EY.createCaseBlock=EY.Debug.deprecate(EY.factory.createCaseBlock,sm),EY.updateCaseBlock=EY.Debug.deprecate(EY.factory.updateCaseBlock,sm),EY.createNamespaceExportDeclaration=EY.Debug.deprecate(EY.factory.createNamespaceExportDeclaration,sm),EY.updateNamespaceExportDeclaration=EY.Debug.deprecate(EY.factory.updateNamespaceExportDeclaration,sm),EY.createImportEqualsDeclaration=EY.Debug.deprecate(EY.factory.createImportEqualsDeclaration,sm),EY.updateImportEqualsDeclaration=EY.Debug.deprecate(EY.factory.updateImportEqualsDeclaration,sm),EY.createImportDeclaration=EY.Debug.deprecate(EY.factory.createImportDeclaration,sm),EY.updateImportDeclaration=EY.Debug.deprecate(EY.factory.updateImportDeclaration,sm),EY.createNamespaceImport=EY.Debug.deprecate(EY.factory.createNamespaceImport,sm),EY.updateNamespaceImport=EY.Debug.deprecate(EY.factory.updateNamespaceImport,sm),EY.createNamedImports=EY.Debug.deprecate(EY.factory.createNamedImports,sm),EY.updateNamedImports=EY.Debug.deprecate(EY.factory.updateNamedImports,sm),EY.createImportSpecifier=EY.Debug.deprecate(EY.factory.createImportSpecifier,sm),EY.updateImportSpecifier=EY.Debug.deprecate(EY.factory.updateImportSpecifier,sm),EY.createExportAssignment=EY.Debug.deprecate(EY.factory.createExportAssignment,sm),EY.updateExportAssignment=EY.Debug.deprecate(EY.factory.updateExportAssignment,sm),EY.createNamedExports=EY.Debug.deprecate(EY.factory.createNamedExports,sm),EY.updateNamedExports=EY.Debug.deprecate(EY.factory.updateNamedExports,sm),EY.createExportSpecifier=EY.Debug.deprecate(EY.factory.createExportSpecifier,sm),EY.updateExportSpecifier=EY.Debug.deprecate(EY.factory.updateExportSpecifier,sm),EY.createExternalModuleReference=EY.Debug.deprecate(EY.factory.createExternalModuleReference,sm),EY.updateExternalModuleReference=EY.Debug.deprecate(EY.factory.updateExternalModuleReference,sm),EY.createJSDocTypeExpression=EY.Debug.deprecate(EY.factory.createJSDocTypeExpression,sm),EY.createJSDocTypeTag=EY.Debug.deprecate(EY.factory.createJSDocTypeTag,sm),EY.createJSDocReturnTag=EY.Debug.deprecate(EY.factory.createJSDocReturnTag,sm),EY.createJSDocThisTag=EY.Debug.deprecate(EY.factory.createJSDocThisTag,sm),EY.createJSDocComment=EY.Debug.deprecate(EY.factory.createJSDocComment,sm),EY.createJSDocParameterTag=EY.Debug.deprecate(EY.factory.createJSDocParameterTag,sm),EY.createJSDocClassTag=EY.Debug.deprecate(EY.factory.createJSDocClassTag,sm),EY.createJSDocAugmentsTag=EY.Debug.deprecate(EY.factory.createJSDocAugmentsTag,sm),EY.createJSDocEnumTag=EY.Debug.deprecate(EY.factory.createJSDocEnumTag,sm),EY.createJSDocTemplateTag=EY.Debug.deprecate(EY.factory.createJSDocTemplateTag,sm),EY.createJSDocTypedefTag=EY.Debug.deprecate(EY.factory.createJSDocTypedefTag,sm),EY.createJSDocCallbackTag=EY.Debug.deprecate(EY.factory.createJSDocCallbackTag,sm),EY.createJSDocSignature=EY.Debug.deprecate(EY.factory.createJSDocSignature,sm),EY.createJSDocPropertyTag=EY.Debug.deprecate(EY.factory.createJSDocPropertyTag,sm),EY.createJSDocTypeLiteral=EY.Debug.deprecate(EY.factory.createJSDocTypeLiteral,sm),EY.createJSDocImplementsTag=EY.Debug.deprecate(EY.factory.createJSDocImplementsTag,sm),EY.createJSDocAuthorTag=EY.Debug.deprecate(EY.factory.createJSDocAuthorTag,sm),EY.createJSDocPublicTag=EY.Debug.deprecate(EY.factory.createJSDocPublicTag,sm),EY.createJSDocPrivateTag=EY.Debug.deprecate(EY.factory.createJSDocPrivateTag,sm),EY.createJSDocProtectedTag=EY.Debug.deprecate(EY.factory.createJSDocProtectedTag,sm),EY.createJSDocReadonlyTag=EY.Debug.deprecate(EY.factory.createJSDocReadonlyTag,sm),EY.createJSDocTag=EY.Debug.deprecate(EY.factory.createJSDocUnknownTag,sm),EY.createJsxElement=EY.Debug.deprecate(EY.factory.createJsxElement,sm),EY.updateJsxElement=EY.Debug.deprecate(EY.factory.updateJsxElement,sm),EY.createJsxSelfClosingElement=EY.Debug.deprecate(EY.factory.createJsxSelfClosingElement,sm),EY.updateJsxSelfClosingElement=EY.Debug.deprecate(EY.factory.updateJsxSelfClosingElement,sm),EY.createJsxOpeningElement=EY.Debug.deprecate(EY.factory.createJsxOpeningElement,sm),EY.updateJsxOpeningElement=EY.Debug.deprecate(EY.factory.updateJsxOpeningElement,sm),EY.createJsxClosingElement=EY.Debug.deprecate(EY.factory.createJsxClosingElement,sm),EY.updateJsxClosingElement=EY.Debug.deprecate(EY.factory.updateJsxClosingElement,sm),EY.createJsxFragment=EY.Debug.deprecate(EY.factory.createJsxFragment,sm),EY.createJsxText=EY.Debug.deprecate(EY.factory.createJsxText,sm),EY.updateJsxText=EY.Debug.deprecate(EY.factory.updateJsxText,sm),EY.createJsxOpeningFragment=EY.Debug.deprecate(EY.factory.createJsxOpeningFragment,sm),EY.createJsxJsxClosingFragment=EY.Debug.deprecate(EY.factory.createJsxJsxClosingFragment,sm),EY.updateJsxFragment=EY.Debug.deprecate(EY.factory.updateJsxFragment,sm),EY.createJsxAttribute=EY.Debug.deprecate(EY.factory.createJsxAttribute,sm),EY.updateJsxAttribute=EY.Debug.deprecate(EY.factory.updateJsxAttribute,sm),EY.createJsxAttributes=EY.Debug.deprecate(EY.factory.createJsxAttributes,sm),EY.updateJsxAttributes=EY.Debug.deprecate(EY.factory.updateJsxAttributes,sm),EY.createJsxSpreadAttribute=EY.Debug.deprecate(EY.factory.createJsxSpreadAttribute,sm),EY.updateJsxSpreadAttribute=EY.Debug.deprecate(EY.factory.updateJsxSpreadAttribute,sm),EY.createJsxExpression=EY.Debug.deprecate(EY.factory.createJsxExpression,sm),EY.updateJsxExpression=EY.Debug.deprecate(EY.factory.updateJsxExpression,sm),EY.createCaseClause=EY.Debug.deprecate(EY.factory.createCaseClause,sm),EY.updateCaseClause=EY.Debug.deprecate(EY.factory.updateCaseClause,sm),EY.createDefaultClause=EY.Debug.deprecate(EY.factory.createDefaultClause,sm),EY.updateDefaultClause=EY.Debug.deprecate(EY.factory.updateDefaultClause,sm),EY.createHeritageClause=EY.Debug.deprecate(EY.factory.createHeritageClause,sm),EY.updateHeritageClause=EY.Debug.deprecate(EY.factory.updateHeritageClause,sm),EY.createCatchClause=EY.Debug.deprecate(EY.factory.createCatchClause,sm),EY.updateCatchClause=EY.Debug.deprecate(EY.factory.updateCatchClause,sm),EY.createPropertyAssignment=EY.Debug.deprecate(EY.factory.createPropertyAssignment,sm),EY.updatePropertyAssignment=EY.Debug.deprecate(EY.factory.updatePropertyAssignment,sm),EY.createShorthandPropertyAssignment=EY.Debug.deprecate(EY.factory.createShorthandPropertyAssignment,sm),EY.updateShorthandPropertyAssignment=EY.Debug.deprecate(EY.factory.updateShorthandPropertyAssignment,sm),EY.createSpreadAssignment=EY.Debug.deprecate(EY.factory.createSpreadAssignment,sm),EY.updateSpreadAssignment=EY.Debug.deprecate(EY.factory.updateSpreadAssignment,sm),EY.createEnumMember=EY.Debug.deprecate(EY.factory.createEnumMember,sm),EY.updateEnumMember=EY.Debug.deprecate(EY.factory.updateEnumMember,sm),EY.updateSourceFileNode=EY.Debug.deprecate(EY.factory.updateSourceFile,sm),EY.createNotEmittedStatement=EY.Debug.deprecate(EY.factory.createNotEmittedStatement,sm),EY.createPartiallyEmittedExpression=EY.Debug.deprecate(EY.factory.createPartiallyEmittedExpression,sm),EY.updatePartiallyEmittedExpression=EY.Debug.deprecate(EY.factory.updatePartiallyEmittedExpression,sm),EY.createCommaList=EY.Debug.deprecate(EY.factory.createCommaListExpression,sm),EY.updateCommaList=EY.Debug.deprecate(EY.factory.updateCommaListExpression,sm),EY.createBundle=EY.Debug.deprecate(EY.factory.createBundle,sm),EY.updateBundle=EY.Debug.deprecate(EY.factory.updateBundle,sm),EY.createImmediatelyInvokedFunctionExpression=EY.Debug.deprecate(EY.factory.createImmediatelyInvokedFunctionExpression,sm),EY.createImmediatelyInvokedArrowFunction=EY.Debug.deprecate(EY.factory.createImmediatelyInvokedArrowFunction,sm),EY.createVoidZero=EY.Debug.deprecate(EY.factory.createVoidZero,sm),EY.createExportDefault=EY.Debug.deprecate(EY.factory.createExportDefault,sm),EY.createExternalModuleExport=EY.Debug.deprecate(EY.factory.createExternalModuleExport,sm),EY.createNamespaceExport=EY.Debug.deprecate(EY.factory.createNamespaceExport,sm),EY.updateNamespaceExport=EY.Debug.deprecate(EY.factory.updateNamespaceExport,sm),EY.createToken=EY.Debug.deprecate((function(e){return EY.factory.createToken(e)}),sm),EY.createIdentifier=EY.Debug.deprecate((function(e){return EY.factory.createIdentifier(e,void 0,void 0)}),sm),EY.createTempVariable=EY.Debug.deprecate((function(e){return EY.factory.createTempVariable(e,void 0)}),sm),EY.getGeneratedNameForNode=EY.Debug.deprecate((function(e){return EY.factory.getGeneratedNameForNode(e,void 0)}),sm),EY.createOptimisticUniqueName=EY.Debug.deprecate((function(e){return EY.factory.createUniqueName(e,16)}),sm),EY.createFileLevelUniqueName=EY.Debug.deprecate((function(e){return EY.factory.createUniqueName(e,48)}),sm),EY.createIndexSignature=EY.Debug.deprecate((function(e,n,t,r){return EY.factory.createIndexSignature(e,n,t,r)}),sm),EY.createTypePredicateNode=EY.Debug.deprecate((function(e,n){return EY.factory.createTypePredicateNode(void 0,e,n)}),sm),EY.updateTypePredicateNode=EY.Debug.deprecate((function(e,n,t){return EY.factory.updateTypePredicateNode(e,void 0,n,t)}),sm),EY.createLiteral=EY.Debug.deprecate((function(e){return"number"==typeof e?EY.factory.createNumericLiteral(e):"object"==typeof e&&"base10Value"in e?EY.factory.createBigIntLiteral(e):"boolean"==typeof e?e?EY.factory.createTrue():EY.factory.createFalse():"string"==typeof e?EY.factory.createStringLiteral(e,void 0):EY.factory.createStringLiteralFromNode(e)}),{since:"4.0",warnAfter:"4.1",message:"Use `factory.createStringLiteral`, `factory.createStringLiteralFromNode`, `factory.createNumericLiteral`, `factory.createBigIntLiteral`, `factory.createTrue`, `factory.createFalse`, or the factory supplied by your transformation context instead."}),EY.createMethodSignature=EY.Debug.deprecate((function(e,n,t,r,a){return EY.factory.createMethodSignature(void 0,r,a,e,n,t)}),sm),EY.updateMethodSignature=EY.Debug.deprecate((function(e,n,t,r,a,i){return EY.factory.updateMethodSignature(e,e.modifiers,a,i,n,t,r)}),sm),EY.createTypeOperatorNode=EY.Debug.deprecate((function(e,n){return e=n?e:(n=e,139),EY.factory.createTypeOperatorNode(e,n)}),sm),EY.createTaggedTemplate=EY.Debug.deprecate((function(e,n,t){var r;return t?r=n:t=n,EY.factory.createTaggedTemplateExpression(e,r,t)}),sm),EY.updateTaggedTemplate=EY.Debug.deprecate((function(e,n,t,r){var a;return r?a=t:r=t,EY.factory.updateTaggedTemplateExpression(e,n,a,r)}),sm),EY.updateBinary=EY.Debug.deprecate((function(e,n,t,r){return"number"==typeof(r=void 0===r?e.operatorToken:r)&&(r=r===e.operatorToken.kind?e.operatorToken:EY.factory.createToken(r)),EY.factory.updateBinaryExpression(e,n,r,t)}),sm),EY.createConditional=EY.Debug.deprecate((function(e,n,t,r,a){return 5===arguments.length?EY.factory.createConditionalExpression(e,n,t,r,a):3===arguments.length?EY.factory.createConditionalExpression(e,EY.factory.createToken(57),n,EY.factory.createToken(58),t):EY.Debug.fail("Argument count mismatch")}),sm),EY.createYield=EY.Debug.deprecate((function(e,n){var t;return n?t=e:n=e,EY.factory.createYieldExpression(t,n)}),sm),EY.createClassExpression=EY.Debug.deprecate((function(e,n,t,r,a){return EY.factory.createClassExpression(void 0,e,n,t,r,a)}),sm),EY.updateClassExpression=EY.Debug.deprecate((function(e,n,t,r,a,i){return EY.factory.updateClassExpression(e,void 0,n,t,r,a,i)}),sm),EY.createPropertySignature=EY.Debug.deprecate((function(e,n,t,r,a){return e=EY.factory.createPropertySignature(e,n,t,r),e.initializer=a,e}),sm),EY.updatePropertySignature=EY.Debug.deprecate((function(e,n,t,r,a,i){return n=EY.factory.updatePropertySignature(e,n,t,r,a),e.initializer!==i&&((n=n===e?EY.factory.cloneNode(e):n).initializer=i),n}),sm),EY.createExpressionWithTypeArguments=EY.Debug.deprecate((function(e,n){return EY.factory.createExpressionWithTypeArguments(n,e)}),sm),EY.updateExpressionWithTypeArguments=EY.Debug.deprecate((function(e,n,t){return EY.factory.updateExpressionWithTypeArguments(e,t,n)}),sm),EY.createArrowFunction=EY.Debug.deprecate((function(e,n,t,r,a,i){return 6===arguments.length?EY.factory.createArrowFunction(e,n,t,r,a,i):5===arguments.length?EY.factory.createArrowFunction(e,n,t,r,void 0,a):EY.Debug.fail("Argument count mismatch")}),sm),EY.updateArrowFunction=EY.Debug.deprecate((function(e,n,t,r,a,i,o){return 7===arguments.length?EY.factory.updateArrowFunction(e,n,t,r,a,i,o):6===arguments.length?EY.factory.updateArrowFunction(e,n,t,r,a,e.equalsGreaterThanToken,i):EY.Debug.fail("Argument count mismatch")}),sm),EY.createVariableDeclaration=EY.Debug.deprecate((function(e,n,t,r){return 4===arguments.length?EY.factory.createVariableDeclaration(e,n,t,r):1<=arguments.length&&arguments.length<=3?EY.factory.createVariableDeclaration(e,void 0,n,t):EY.Debug.fail("Argument count mismatch")}),sm),EY.updateVariableDeclaration=EY.Debug.deprecate((function(e,n,t,r,a){return 5===arguments.length?EY.factory.updateVariableDeclaration(e,n,t,r,a):4===arguments.length?EY.factory.updateVariableDeclaration(e,n,e.exclamationToken,t,r):EY.Debug.fail("Argument count mismatch")}),sm),EY.createImportClause=EY.Debug.deprecate((function(e,n,t){return EY.factory.createImportClause(t=void 0!==t&&t,e,n)}),sm),EY.updateImportClause=EY.Debug.deprecate((function(e,n,t,r){return EY.factory.updateImportClause(e,r,n,t)}),sm),EY.createExportDeclaration=EY.Debug.deprecate((function(e,n,t,r,a){return EY.factory.createExportDeclaration(e,n,a=void 0!==a&&a,t,r)}),sm),EY.updateExportDeclaration=EY.Debug.deprecate((function(e,n,t,r,a,i){return EY.factory.updateExportDeclaration(e,n,t,i,r,a)}),sm),EY.createJSDocParamTag=EY.Debug.deprecate((function(e,n,t,r){return EY.factory.createJSDocParameterTag(void 0,e,n,t,!1,r?EY.factory.createNodeArray([EY.factory.createJSDocText(r)]):void 0)}),sm),EY.createComma=EY.Debug.deprecate((function(e,n){return EY.factory.createComma(e,n)}),sm),EY.createLessThan=EY.Debug.deprecate((function(e,n){return EY.factory.createLessThan(e,n)}),sm),EY.createAssignment=EY.Debug.deprecate((function(e,n){return EY.factory.createAssignment(e,n)}),sm),EY.createStrictEquality=EY.Debug.deprecate((function(e,n){return EY.factory.createStrictEquality(e,n)}),sm),EY.createStrictInequality=EY.Debug.deprecate((function(e,n){return EY.factory.createStrictInequality(e,n)}),sm),EY.createAdd=EY.Debug.deprecate((function(e,n){return EY.factory.createAdd(e,n)}),sm),EY.createSubtract=EY.Debug.deprecate((function(e,n){return EY.factory.createSubtract(e,n)}),sm),EY.createLogicalAnd=EY.Debug.deprecate((function(e,n){return EY.factory.createLogicalAnd(e,n)}),sm),EY.createLogicalOr=EY.Debug.deprecate((function(e,n){return EY.factory.createLogicalOr(e,n)}),sm),EY.createPostfixIncrement=EY.Debug.deprecate((function(e){return EY.factory.createPostfixIncrement(e)}),sm),EY.createLogicalNot=EY.Debug.deprecate((function(e){return EY.factory.createLogicalNot(e)}),sm),EY.createNode=EY.Debug.deprecate((function(e,n,t){return void 0===n&&(n=0),void 0===t&&(t=0),EY.setTextRangePosEnd(300===e?EY.parseBaseNodeFactory.createBaseSourceFileNode(e):79===e?EY.parseBaseNodeFactory.createBaseIdentifierNode(e):80===e?EY.parseBaseNodeFactory.createBasePrivateIdentifierNode(e):EY.isNodeKind(e)?EY.parseBaseNodeFactory.createBaseNode(e):EY.parseBaseNodeFactory.createBaseTokenNode(e),n,t)}),{since:"4.0",warnAfter:"4.1",message:"Use an appropriate `factory` method instead."}),EY.getMutableClone=EY.Debug.deprecate((function(e){var n=EY.factory.cloneNode(e);return EY.setTextRange(n,e),EY.setParent(n,e.parent),n}),{since:"4.0",warnAfter:"4.1",message:"Use an appropriate `factory.update...` method instead, use `setCommentRange` or `setSourceMapRange`, and avoid setting `parent`."}),EY.isTypeAssertion=EY.Debug.deprecate((function(e){return 209===e.kind}),{since:"4.0",warnAfter:"4.1",message:"Use `isTypeAssertionExpression` instead."}),EY.isIdentifierOrPrivateIdentifier=EY.Debug.deprecate((function(e){return EY.isMemberName(e)}),{since:"4.2",warnAfter:"4.3",message:"Use `isMemberName` instead."});var JY=bY.createClassifier,qY=bY.createLanguageService,XY=bY.displayPartsToString,YY=bY.EndOfLineState,QY=bY.flattenDiagnosticMessageText,ZY=bY.IndentStyle,$Y=bY.ScriptKind,eQ=bY.ScriptTarget,nQ=bY.TokenClass}.call(this,t("f28c"),"node_modules\\monaco-editor\\esm\\vs\\language\\typescript\\lib",t("dd40")(e))},c317:function(e,n,t){(function(e){t.d(n,"a",(function(){return i})),t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return s}));var r=t("30db");let a;if(void 0!==r.a.vscode&&void 0!==r.a.vscode.process){let e=r.a.vscode.process;a={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd(){return e.cwd()},nextTick(e){return Object(r.e)(e)}}}else a=void 0!==e?{get platform(){return e.platform},get arch(){return e.arch},get env(){return Object({NODE_ENV:"production",VUE_APP_API_URL:"",VUE_APP_ENV:"production",VUE_APP_TITLE:"CRMEB",BASE_URL:"/admin/"})},cwd(){return Object({NODE_ENV:"production",VUE_APP_API_URL:"",VUE_APP_ENV:"production",VUE_APP_TITLE:"CRMEB",BASE_URL:"/admin/"}).VSCODE_CWD||e.cwd()},nextTick(n){return e.nextTick(n)}}:{get platform(){return r.d?"win32":r.b?"darwin":"linux"},get arch(){},nextTick(e){return Object(r.e)(e)},get env(){return{}},cwd(){return"/"}};let i=a.cwd,o=a.env,s=a.platform}).call(this,t("f28c"))},c8ba:function(e,n){var t=function(){return this}();try{t=t||new Function("return this")()}catch(e){"object"==typeof window&&(t=window)}e.exports=t},d0c7:function(e,n,t){t.r(n);let r=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e},0)}}emit(e){this.listeners.forEach(n=>{n(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function a(e){var n,t;return e instanceof Error?(({name:n,message:t}=e),{$isError:!0,name:n,message:t,stack:e.stacktrace||e.stack}):e}let i="Canceled";function o(e){return e instanceof Error&&e.name===i&&e.message===i}var s;Error;{var c=s=s||{};c.is=function(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]};let e=Object.freeze([]);c.empty=function(){return e},c.single=function*(e){yield e},c.from=function(n){return n||e},c.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done},c.first=function(e){return e[Symbol.iterator]().next().value},c.some=function(e,n){for(var t of e)if(n(t))return!0;return!1},c.find=function(e,n){for(var t of e)if(n(t))return t},c.filter=function*(e,n){for(var t of e)n(t)&&(yield t)},c.map=function*(e,n){let t=0;for(var r of e)yield n(r,t++)},c.concat=function*(...e){for(var n of e)for(var t of n)yield t},c.concatNested=function*(e){for(var n of e)for(var t of n)yield t},c.reduce=function(e,n,t){let r=t;for(var a of e)r=n(r,a);return r},c.slice=function*(e,n,t=e.length){for(n<0&&(n+=e.length),t<0?t+=e.length:t>e.length&&(t=e.length);n<t;n++)yield e[n]},c.consume=function(e,n=Number.POSITIVE_INFINITY){var t=[];if(0===n)return[t,e];let r=e[Symbol.iterator]();for(let i=0;i<n;i++){var a=r.next();if(a.done)return[t,c.empty()];t.push(a.value)}return[t,{[Symbol.iterator](){return r}}]},c.equals=function(e,n,t=((e,n)=>e===n)){for(var r=e[Symbol.iterator](),a=n[Symbol.iterator]();;){var i=r.next(),o=a.next();if(i.done!==o.done)return!1;if(i.done)return!0;if(!t(i.value,o.value))return!1}}}let l=null;function d(e){return null!=l&&l.trackDisposable(e),e}function u(e){null!=l&&l.markAsDisposed(e)}function p(e,n){null!=l&&l.setParent(e,n)}class m extends Error{constructor(e){super(`Encountered errors while disposing of store. Errors: [${e.join(", ")}]`),this.errors=e}}function _(e){if(s.is(e)){var n,t=[];for(n of e)if(n)try{n.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(1<t.length)throw new m(t);return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function f(...e){var n=g(()=>_(e)),t=e,r=n;if(l)for(var a of t)l.setParent(a,r);return n}function g(e){let n=d({dispose:function(e){let n,t=this,r=!1;return function(){return r||(r=!0,n=e.apply(t,arguments)),n}}(()=>{u(n),e()})});return n}class y{constructor(){this._toDispose=new Set,this._isDisposed=!1,d(this)}dispose(){this._isDisposed||(u(this),this._isDisposed=!0,this.clear())}clear(){try{_(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(e){if(e===this)throw new Error("Cannot register a disposable on itself!");p(e,this),this._isDisposed||this._toDispose.add(e)}return e}}y.DISABLE_DISPOSED_WARNING=!1;class h{constructor(){this._store=new y,d(this),p(this._store,this)}dispose(){u(this),this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}h.None=Object.freeze({dispose(){}});var v=t("30db");function b(e){var n,t=[];for(n of(e=>{let n=[],t=Object.getPrototypeOf(e);for(;Object.prototype!==t;)n=n.concat(Object.getOwnPropertyNames(t)),t=Object.getPrototypeOf(t);return n})(e))"function"==typeof e[n]&&t.push(n);return t}function E(e,n){var t,r={};for(t of e)r[t]=(e=>function(){var t=Array.prototype.slice.call(arguments,0);return n(e,t)})(t);return r}let T="$initialize";class S{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null)}setWorkerId(e){this._workerId=e}sendMessage(e,n){let t=String(++this._lastSentReq);return new Promise((r,a)=>{this._pendingReplies[t]={resolve:r,reject:a},this._send({vsWorker:this._workerId,req:t,method:e,args:n})})}handleMessage(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))}_handleMessage(e){if(e.seq){var n=e;if(this._pendingReplies[n.seq]){var t=this._pendingReplies[n.seq];if(delete this._pendingReplies[n.seq],n.err){let e=n.err;n.err.$isError&&((e=new Error).name=n.err.name,e.message=n.err.message,e.stack=n.err.stack),t.reject(e)}else t.resolve(n.res)}}else{let n=e.req;this._handler.handleMessage(e.method,e.args).then(e=>{this._send({vsWorker:this._workerId,seq:n,res:e,err:void 0})},e=>{e.detail instanceof Error&&(e.detail=a(e.detail)),this._send({vsWorker:this._workerId,seq:n,res:void 0,err:a(e)})})}}_send(e){var n=[];if(e.req){var t=e;for(let e=0;e<t.args.length;e++)t.args[e]instanceof ArrayBuffer&&n.push(t.args[e])}else{var r=e;r.res instanceof ArrayBuffer&&n.push(r.res)}this._handler.sendMessage(e,n)}}class x{constructor(e,n){this._requestHandlerFactory=n,this._requestHandler=null,this._protocol=new S({sendMessage:(n,t)=>{e(n,t)},handleMessage:(e,n)=>this._handleMessage(e,n)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,n){if(e===T)return this.initialize(n[0],n[1],n[2],n[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,n))}catch(e){return Promise.reject(e)}}initialize(e,n,t,r){this._protocol.setWorkerId(e);let a=E(r,(e,n)=>this._protocol.sendMessage(e,n));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(a),Promise.resolve(b(this._requestHandler))):(n&&(void 0!==n.baseUrl&&delete n.baseUrl,void 0!==n.paths&&void 0!==n.paths.vs&&delete n.paths.vs,delete n.trustedTypesPolicy,n.catchError=!0,self.require.config(n)),new Promise((e,n)=>{self.require([t],t=>{this._requestHandler=t.create(a),this._requestHandler?e(b(this._requestHandler)):n(new Error("No RequestHandler!"))},n)}))}}class L{constructor(e,n,t,r){this.originalStart=e,this.originalLength=n,this.modifiedStart=t,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function D(e,n=e.length-1){for(let r=n;0<=r;r--){var t=e.charCodeAt(r);if(32!==t&&9!==t)return r}return-1}String.fromCharCode(65279);class A{constructor(){this._data=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]")}static getInstance(){return A._INSTANCE||(A._INSTANCE=new A),A._INSTANCE}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(!(e<127)){var n=this._data,t=n.length/3;let r=1;for(;r<=t;)if(e<n[3*r])r*=2;else{if(!(e>n[3*r+1]))return n[3*r+2];r=2*r+1}}return 0}}function C(e,n){return(n<<5)-n+e|0}function I(e,n){n=C(149417,n);for(let t=0,r=e.length;t<r;t++)n=C(e.charCodeAt(t),n);return n}A._INSTANCE=null,new DataView(new ArrayBuffer(320));class N{constructor(e){this.source=e}getElements(){var e=this.source,n=new Int32Array(e.length);for(let t=0,r=e.length;t<r;t++)n[t]=e.charCodeAt(t);return n}}class k{static Assert(e,n){if(!e)throw new Error(n)}}class R{static Copy(e,n,t,r,a){for(let i=0;i<a;i++)t[r+i]=e[n+i]}static Copy2(e,n,t,r,a){for(let i=0;i<a;i++)t[r+i]=e[n+i]}}class O{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(0<this.m_originalCount||0<this.m_modifiedCount)&&this.m_changes.push(new L(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(e,n){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_originalCount++}AddModifiedElement(e,n){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_modifiedCount++}getChanges(){return(0<this.m_originalCount||0<this.m_modifiedCount)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(0<this.m_originalCount||0<this.m_modifiedCount)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class P{constructor(e,n,t=null){this.ContinueProcessingPredicate=t,this._originalSequence=e,this._modifiedSequence=n;var[t,e,r]=P._getElements(e),[n,a,i]=P._getElements(n);this._hasStrings=r&&i,this._originalStringElements=t,this._originalElementsOrHash=e,this._modifiedStringElements=n,this._modifiedElementsOrHash=a,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return 0<e.length&&"string"==typeof e[0]}static _getElements(e){var n=e.getElements();if(P._isStringArray(n)){var t=new Int32Array(n.length);for(let e=0,r=n.length;e<r;e++)t[e]=I(n[e],0);return[n,t,!0]}return n instanceof Int32Array?[[],n,!1]:[[],new Int32Array(n),!1]}ElementsAreEqual(e,n){return this._originalElementsOrHash[e]===this._modifiedElementsOrHash[n]&&(!this._hasStrings||this._originalStringElements[e]===this._modifiedStringElements[n])}ElementsAreStrictEqual(e,n){return!!this.ElementsAreEqual(e,n)&&P._getStrictElement(this._originalSequence,e)===P._getStrictElement(this._modifiedSequence,n)}static _getStrictElement(e,n){return"function"==typeof e.getStrictElement?e.getStrictElement(n):null}OriginalElementsAreEqual(e,n){return this._originalElementsOrHash[e]===this._originalElementsOrHash[n]&&(!this._hasStrings||this._originalStringElements[e]===this._originalStringElements[n])}ModifiedElementsAreEqual(e,n){return this._modifiedElementsOrHash[e]===this._modifiedElementsOrHash[n]&&(!this._hasStrings||this._modifiedStringElements[e]===this._modifiedStringElements[n])}ComputeDiff(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)}_ComputeDiff(e,n,t,r,a){var i=[!1];let o=this.ComputeDiffRecursive(e,n,t,r,i);return a&&(o=this.PrettifyChanges(o)),{quitEarly:i[0],changes:o}}ComputeDiffRecursive(e,n,t,r,a){for(a[0]=!1;e<=n&&t<=r&&this.ElementsAreEqual(e,t);)e++,t++;for(;e<=n&&t<=r&&this.ElementsAreEqual(n,r);)n--,r--;if(n<e||r<t){let a;return a=t<=r?(k.Assert(e===n+1,"originalStart should only be one more than originalEnd"),[new L(e,0,t,r-t+1)]):e<=n?(k.Assert(t===r+1,"modifiedStart should only be one more than modifiedEnd"),[new L(e,n-e+1,t,0)]):(k.Assert(e===n+1,"originalStart should only be one more than originalEnd"),k.Assert(t===r+1,"modifiedStart should only be one more than modifiedEnd"),[])}var i=[0],o=[0],s=this.ComputeRecursionPoint(e,n,t,r,i,o,a);i=i[0],o=o[0];if(null!==s)return s;if(a[0])return[new L(e,n-e+1,t,r-t+1)];{s=this.ComputeDiffRecursive(e,i,t,o,a);let c=[];return c=a[0]?[new L(i+1,n-(i+1)+1,o+1,r-(o+1)+1)]:this.ComputeDiffRecursive(i+1,n,o+1,r,a),this.ConcatenateChanges(s,c)}}WALKTRACE(e,n,t,r,a,i,o,s,c,l,d,u,p,m,_,f,g,y){let h=null,v=new O,b=n,E=t,T=p[0]-f[0]-r,S=-1073741824,x=this.m_forwardHistory.length-1;do{var D=T+e;T=D===b||D<E&&c[D-1]<c[D+1]?(m=(d=c[D+1])-T-r,d<S&&v.MarkNextChange(),S=d,v.AddModifiedElement(d+1,m),D+1-e):(m=(d=c[D-1]+1)-T-r,d<S&&v.MarkNextChange(),S=d-1,v.AddOriginalElement(d,m+1),D-1-e),0<=x&&(e=(c=this.m_forwardHistory[x])[0],b=1,E=c.length-1)}while(-1<=--x);if(n=v.getReverseChanges(),y[0]){let e=p[0]+1,r=f[0]+1;null!==n&&0<n.length&&(t=n[n.length-1],e=Math.max(e,t.getOriginalEnd()),r=Math.max(r,t.getModifiedEnd())),h=[new L(e,u-e+1,r,_-r+1)]}else{v=new O,b=i,E=o,T=p[0]-f[0]-s,S=1073741824,x=g?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{var A=T+a;T=A===b||A<E&&l[A-1]>=l[A+1]?(m=(d=l[A+1]-1)-T-s,d>S&&v.MarkNextChange(),S=d+1,v.AddOriginalElement(d+1,m+1),A+1-a):(m=(d=l[A-1])-T-s,d>S&&v.MarkNextChange(),S=d,v.AddModifiedElement(d+1,m+1),A-1-a),0<=x&&(a=(l=this.m_reverseHistory[x])[0],b=1,E=l.length-1)}while(-1<=--x);h=v.getChanges()}return this.ConcatenateChanges(n,h)}ComputeRecursionPoint(e,n,t,r,a,i,o){let s=0,c=0,l=0,d=0,u=0,p=0;e--,t--,i[a[0]=0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];var m=n-e+(r-t),_=1+m,f=new Int32Array(_),g=new Int32Array(_),y=r-t,h=n-e,v=e-t,b=n-r,E=(h-y)%2==0;f[y]=e,g[h]=n,o[0]=!1;for(let D=1;D<=m/2+1;D++){let m=0,A=0;l=this.ClipDiagonalBound(y-D,D,y,_),d=this.ClipDiagonalBound(y+D,D,y,_);for(let e=l;e<=d;e+=2){s=e===l||e<d&&f[e-1]<f[e+1]?f[e+1]:f[e-1]+1,c=s-(e-y)-v;for(var T=s;s<n&&c<r&&this.ElementsAreEqual(s+1,c+1);)s++,c++;if((f[e]=s)+c>m+A&&(m=s,A=c),!E&&Math.abs(e-h)<=D-1&&s>=g[e])return a[0]=s,i[0]=c,T<=g[e]&&D<=1448?this.WALKTRACE(y,l,d,v,h,u,p,b,f,g,s,n,a,c,r,i,E,o):null}var S=(m-e+(A-t)-D)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(m,S))return o[0]=!0,a[0]=m,i[0]=A,0<S&&D<=1448?this.WALKTRACE(y,l,d,v,h,u,p,b,f,g,s,n,a,c,r,i,E,o):(e++,t++,[new L(e,n-e+1,t,r-t+1)]);u=this.ClipDiagonalBound(h-D,D,h,_),p=this.ClipDiagonalBound(h+D,D,h,_);for(let _=u;_<=p;_+=2){s=_===u||_<p&&g[_-1]>=g[_+1]?g[_+1]-1:g[_-1],c=s-(_-h)-b;for(var x=s;s>e&&c>t&&this.ElementsAreEqual(s,c);)s--,c--;if(g[_]=s,E&&Math.abs(_-y)<=D&&s<=f[_])return a[0]=s,i[0]=c,x>=f[_]&&D<=1448?this.WALKTRACE(y,l,d,v,h,u,p,b,f,g,s,n,a,c,r,i,E,o):null}if(D<=1447){let e=new Int32Array(d-l+2);e[0]=y-l+1,R.Copy2(f,l,e,1,d-l+1),this.m_forwardHistory.push(e),(e=new Int32Array(p-u+2))[0]=h-u+1,R.Copy2(g,u,e,1,p-u+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(y,l,d,v,h,u,p,b,f,g,s,n,a,c,r,i,E,o)}PrettifyChanges(e){for(let S=0;S<e.length;S++){for(var n=e[S],t=S<e.length-1?e[S+1].originalStart:this._originalElementsOrHash.length,r=S<e.length-1?e[S+1].modifiedStart:this._modifiedElementsOrHash.length,a=0<n.originalLength,i=0<n.modifiedLength;n.originalStart+n.originalLength<t&&n.modifiedStart+n.modifiedLength<r&&(!a||this.OriginalElementsAreEqual(n.originalStart,n.originalStart+n.originalLength))&&(!i||this.ModifiedElementsAreEqual(n.modifiedStart,n.modifiedStart+n.modifiedLength));){var o=this.ElementsAreStrictEqual(n.originalStart,n.modifiedStart);if(this.ElementsAreStrictEqual(n.originalStart+n.originalLength,n.modifiedStart+n.modifiedLength)&&!o)break;n.originalStart++,n.modifiedStart++}var s=[null];S<e.length-1&&this.ChangesOverlap(e[S],e[S+1],s)&&(e[S]=s[0],e.splice(S+1,1),S--)}for(let S=e.length-1;0<=S;S--){var c=e[S];let n=0,t=0;0<S&&(m=e[S-1],n=m.originalStart+m.originalLength,t=m.modifiedStart+m.modifiedLength);var l=0<c.originalLength,d=0<c.modifiedLength;let r=0,a=this._boundaryScore(c.originalStart,c.originalLength,c.modifiedStart,c.modifiedLength);for(let e=1;;e++){var u=c.originalStart-e,p=c.modifiedStart-e;if(u<n||p<t)break;if(l&&!this.OriginalElementsAreEqual(u,u+c.originalLength))break;if(d&&!this.ModifiedElementsAreEqual(p,p+c.modifiedLength))break;u=(u===n&&p===t?5:0)+this._boundaryScore(u,c.originalLength,p,c.modifiedLength),u>a&&(a=u,r=e)}c.originalStart-=r,c.modifiedStart-=r;var m=[null];0<S&&this.ChangesOverlap(e[S-1],e[S],m)&&(e[S-1]=m[0],e.splice(S,1),S++)}if(this._hasStrings)for(let S=1,x=e.length;S<x;S++){var _=e[S-1],f=e[S],g=f.originalStart-_.originalStart-_.originalLength,y=_.originalStart,h=f.originalStart+f.originalLength,v=h-y,b=_.modifiedStart,E=f.modifiedStart+f.modifiedLength,T=E-b;g<5&&v<20&&T<20&&(y=this._findBetterContiguousSequence(y,v,b,T,g))&&([v,b]=y,v===_.originalStart+_.originalLength&&b===_.modifiedStart+_.modifiedLength||(_.originalLength=v-_.originalStart,_.modifiedLength=b-_.modifiedStart,f.originalStart=v+g,f.modifiedStart=b+g,f.originalLength=h-f.originalStart,f.modifiedLength=E-f.modifiedStart))}return e}_findBetterContiguousSequence(e,n,t,r,a){if(n<a||r<a)return null;var i=e+n-a+1,o=t+r-a+1;let s=0,c=0,l=0;for(let u=e;u<i;u++)for(let e=t;e<o;e++){var d=this._contiguousSequenceScore(u,e,a);0<d&&d>s&&(s=d,c=u,l=e)}return 0<s?[c,l]:null}_contiguousSequenceScore(e,n,t){let r=0;for(let a=0;a<t;a++){if(!this.ElementsAreEqual(e+a,n+a))return 0;r+=this._originalStringElements[e+a].length}return r}_OriginalIsBoundary(e){return e<=0||e>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,n){return!(!this._OriginalIsBoundary(e)&&!this._OriginalIsBoundary(e-1))||!!(0<n&&(e+=n,this._OriginalIsBoundary(e-1)||this._OriginalIsBoundary(e)))}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,n){return!(!this._ModifiedIsBoundary(e)&&!this._ModifiedIsBoundary(e-1))||!!(0<n&&(e+=n,this._ModifiedIsBoundary(e-1)||this._ModifiedIsBoundary(e)))}_boundaryScore(e,n,t,r){return(this._OriginalRegionIsBoundary(e,n)?1:0)+(this._ModifiedRegionIsBoundary(t,r)?1:0)}ConcatenateChanges(e,n){var t,r=[];return 0===e.length||0===n.length?0<n.length?n:e:this.ChangesOverlap(e[e.length-1],n[0],r)?(t=new Array(e.length+n.length-1),R.Copy(e,0,t,0,e.length-1),t[e.length-1]=r[0],R.Copy(n,1,t,e.length,n.length-1),t):(r=new Array(e.length+n.length),R.Copy(e,0,r,0,e.length),R.Copy(n,0,r,e.length,n.length),r)}ChangesOverlap(e,n,t){if(k.Assert(e.originalStart<=n.originalStart,"Left change is not less than or equal to right change"),k.Assert(e.modifiedStart<=n.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=n.originalStart||e.modifiedStart+e.modifiedLength>=n.modifiedStart){var r=e.originalStart;let i=e.originalLength;var a=e.modifiedStart;let o=e.modifiedLength;return e.originalStart+e.originalLength>=n.originalStart&&(i=n.originalStart+n.originalLength-e.originalStart),n.modifiedStart<=e.modifiedStart+e.modifiedLength&&(o=n.modifiedStart+n.modifiedLength-e.modifiedStart),t[0]=new L(r,i,a,o),!0}return t[0]=null,!1}ClipDiagonalBound(e,n,t,r){return 0<=e&&e<r?e:(n=n%2==0,e<0?n==(t%2==0)?0:1:n==((r-t-1)%2==0)?r-1:r-2)}}var w=t("c317");class M extends Error{constructor(e,n,t){let r;"string"==typeof n&&0===n.indexOf("not ")?(r="must not be",n=n.replace(/^not /,"")):r="must be";var a=-1!==e.indexOf(".")?"property":"argument";e=`The "${e}" ${a} ${r} of type `+n;super(e+=". Received type "+typeof t),this.code="ERR_INVALID_ARG_TYPE"}}function F(e,n){if("string"!=typeof e)throw new M(n,"string",e)}function G(e){return 47===e||92===e}function B(e){return 47===e}function U(e){return 65<=e&&e<=90||97<=e&&e<=122}function V(e,n,t,r){let a="",i=0,o=-1,s=0,c=0;for(let d=0;d<=e.length;++d){if(d<e.length)c=e.charCodeAt(d);else{if(r(c))break;c=47}if(r(c)){if(o!==d-1&&1!==s)if(2===s){if(a.length<2||2!==i||46!==a.charCodeAt(a.length-1)||46!==a.charCodeAt(a.length-2)){if(2<a.length){var l=a.lastIndexOf(t);i=-1===l?(a="",0):(a=a.slice(0,l)).length-1-a.lastIndexOf(t),o=d,s=0;continue}if(0!==a.length){a="",i=0,o=d,s=0;continue}}n&&(a+=0<a.length?t+"..":"..",i=2)}else 0<a.length?a+=""+t+e.slice(o+1,d):a=e.slice(o+1,d),i=d-o-1;o=d,s=0}else 46===c&&-1!==s?++s:s=-1}return a}function j(e,n){if(null===n||"object"!=typeof n)throw new M("pathObject","Object",n);var t=n.dir||n.root,r=n.base||""+(n.name||"")+(n.ext||"");return t?t===n.root?""+t+r:""+t+e+r:r}let K={resolve(...e){let n="",t="",r=!1;for(let c=e.length-1;-1<=c;c--){let l;if(0<=c){if(F(l=e[c],"path"),0===l.length)continue}else 0===n.length?l=w.a():(void 0===(l=w.b["="+n]||w.a())||l.slice(0,2).toLowerCase()!==n.toLowerCase()&&92===l.charCodeAt(2))&&(l=n+"\\");var a=l.length;let d=0,u="",p=!1;var i=l.charCodeAt(0);if(1===a)G(i)&&(d=1,p=!0);else if(G(i))if(p=!0,G(l.charCodeAt(1))){let e=2;for(var o=e;e<a&&!G(l.charCodeAt(e));)e++;if(e<a&&e!==o){var s=l.slice(o,e);for(o=e;e<a&&G(l.charCodeAt(e));)e++;if(e<a&&e!==o){for(o=e;e<a&&!G(l.charCodeAt(e));)e++;e!==a&&e===o||(u=`\\\\${s}\\`+l.slice(o,e),d=e)}}}else d=1;else U(i)&&58===l.charCodeAt(1)&&(u=l.slice(0,2),(d=2)<a)&&G(l.charCodeAt(2))&&(p=!0,d=3);if(0<u.length)if(0<n.length){if(u.toLowerCase()!==n.toLowerCase())continue}else n=u;if(r){if(0<n.length)break}else if(t=l.slice(d)+"\\"+t,(r=p)&&0<n.length)break}return t=V(t,!r,"\\",G),r?n+"\\"+t:""+n+t||"."},normalize(e){F(e,"path");var n=e.length;if(0===n)return".";let t,r=0,a=!1;var i=e.charCodeAt(0);if(1===n)return 47===i?"\\":e;if(G(i))if(a=!0,G(e.charCodeAt(1))){let a=2;for(var o=a;a<n&&!G(e.charCodeAt(a));)a++;if(a<n&&a!==o){var s=e.slice(o,a);for(o=a;a<n&&G(e.charCodeAt(a));)a++;if(a<n&&a!==o){for(o=a;a<n&&!G(e.charCodeAt(a));)a++;if(a===n)return`\\\\${s}\\${e.slice(o)}\\`;a!==o&&(t=`\\\\${s}\\`+e.slice(o,a),r=a)}}}else r=1;else U(i)&&58===e.charCodeAt(1)&&(t=e.slice(0,2),(r=2)<n)&&G(e.charCodeAt(2))&&(a=!0,r=3);let c=r<n?V(e.slice(r),!a,"\\",G):"";return 0<(c=0!==c.length||a?c:".").length&&G(e.charCodeAt(n-1))&&(c+="\\"),void 0===t?a?"\\"+c:c:a?t+"\\"+c:""+t+c},isAbsolute(e){F(e,"path");var n,t=e.length;return 0!==t&&(G(n=e.charCodeAt(0))||2<t&&U(n)&&58===e.charCodeAt(1)&&G(e.charCodeAt(2)))},join(...e){if(0===e.length)return".";let n,t;for(let s=0;s<e.length;++s){var r=e[s];F(r,"path"),0<r.length&&(void 0===n?n=t=r:n+="\\"+r)}if(void 0===n)return".";let a=!0,i=0;var o;if("string"==typeof t&&G(t.charCodeAt(0))&&(++i,1<(o=t.length))&&G(t.charCodeAt(1))&&(++i,2<o)&&(G(t.charCodeAt(2))?++i:a=!1),a){for(;i<n.length&&G(n.charCodeAt(i));)i++;2<=i&&(n="\\"+n.slice(i))}return K.normalize(n)},relative(e,n){if(F(e,"from"),F(n,"to"),e===n)return"";var t=K.resolve(e),r=K.resolve(n);if(t===r)return"";if((e=t.toLowerCase())===(n=r.toLowerCase()))return"";let a=0;for(;a<e.length&&92===e.charCodeAt(a);)a++;let i=e.length;for(;i-1>a&&92===e.charCodeAt(i-1);)i--;t=i-a;let o=0;for(;o<n.length&&92===n.charCodeAt(o);)o++;let s=n.length;for(;s-1>o&&92===n.charCodeAt(s-1);)s--;var c=s-o,l=t<c?t:c;let d=-1,u=0;for(;u<l;u++){var p=e.charCodeAt(a+u);if(p!==n.charCodeAt(o+u))break;92===p&&(d=u)}if(u!==l){if(-1===d)return r}else{if(l<c){if(92===n.charCodeAt(o+u))return r.slice(o+u+1);if(2===u)return r.slice(o+u)}l<t&&(92===e.charCodeAt(a+u)?d=u:2===u&&(d=3)),-1===d&&(d=0)}let m="";for(u=a+d+1;u<=i;++u)u!==i&&92!==e.charCodeAt(u)||(m+=0===m.length?"..":"\\..");return o+=d,0<m.length?""+m+r.slice(o,s):(92===r.charCodeAt(o)&&++o,r.slice(o,s))},toNamespacedPath(e){if("string"==typeof e){if(0===e.length)return"";var n=K.resolve(e);if(!(n.length<=2))if(92===n.charCodeAt(0)){if(92===n.charCodeAt(1)){var t=n.charCodeAt(2);if(63!==t&&46!==t)return"\\\\?\\UNC\\"+n.slice(2)}}else if(U(n.charCodeAt(0))&&58===n.charCodeAt(1)&&92===n.charCodeAt(2))return"\\\\?\\"+n}return e},dirname(e){F(e,"path");var n=e.length;if(0===n)return".";let t=-1,r=0;var a=e.charCodeAt(0);if(1===n)return G(a)?e:".";if(G(a)){if(t=r=1,G(e.charCodeAt(1))){let a=2;for(var i=a;a<n&&!G(e.charCodeAt(a));)a++;if(a<n&&a!==i){for(i=a;a<n&&G(e.charCodeAt(a));)a++;if(a<n&&a!==i){for(i=a;a<n&&!G(e.charCodeAt(a));)a++;if(a===n)return e;a!==i&&(t=r=a+1)}}}}else U(a)&&58===e.charCodeAt(1)&&(t=2<n&&G(e.charCodeAt(2))?3:2,r=t);let o=-1,s=!0;for(let c=n-1;c>=r;--c)if(G(e.charCodeAt(c))){if(!s){o=c;break}}else s=!1;if(-1===o){if(-1===t)return".";o=t}return e.slice(0,o)},basename(e,n){void 0!==n&&F(n,"ext"),F(e,"path");let t,r=0,a=-1,i=!0;if(2<=e.length&&U(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(r=2),void 0!==n&&0<n.length&&n.length<=e.length){if(n===e)return"";let s=n.length-1,c=-1;for(t=e.length-1;t>=r;--t){var o=e.charCodeAt(t);if(G(o)){if(!i){r=t+1;break}}else-1===c&&(i=!1,c=t+1),0<=s&&(o===n.charCodeAt(s)?-1==--s&&(a=t):(s=-1,a=c))}return r===a?a=c:-1===a&&(a=e.length),e.slice(r,a)}for(t=e.length-1;t>=r;--t)if(G(e.charCodeAt(t))){if(!i){r=t+1;break}}else-1===a&&(i=!1,a=t+1);return-1===a?"":e.slice(r,a)},extname(e){F(e,"path");let n=0,t=-1,r=0,a=-1,i=!0,o=0;2<=e.length&&58===e.charCodeAt(1)&&U(e.charCodeAt(0))&&(n=r=2);for(let c=e.length-1;c>=n;--c){var s=e.charCodeAt(c);if(G(s)){if(i)continue;r=c+1;break}-1===a&&(i=!1,a=c+1),46===s?-1===t?t=c:1!==o&&(o=1):-1!==t&&(o=-1)}return-1===t||-1===a||0===o||1===o&&t===a-1&&t===r+1?"":e.slice(t,a)},format:j.bind(null,"\\"),parse(e){F(e,"path");var n={root:"",dir:"",base:"",ext:"",name:""};if(0!==e.length){var t=e.length;let a=0,i=e.charCodeAt(0);if(1===t)G(i)?n.root=n.dir=e:n.base=n.name=e;else{if(G(i)){if(a=1,G(e.charCodeAt(1))){let n=2;for(var r=n;n<t&&!G(e.charCodeAt(n));)n++;if(n<t&&n!==r){for(r=n;n<t&&G(e.charCodeAt(n));)n++;if(n<t&&n!==r){for(r=n;n<t&&!G(e.charCodeAt(n));)n++;n===t?a=n:n!==r&&(a=n+1)}}}}else if(U(i)&&58===e.charCodeAt(1)){if(t<=2)return n.root=n.dir=e,n;if(a=2,G(e.charCodeAt(2))){if(3===t)return n.root=n.dir=e,n;a=3}}0<a&&(n.root=e.slice(0,a));let o=-1,s=a,c=-1,l=!0,d=e.length-1,u=0;for(;d>=a;--d){if(G(i=e.charCodeAt(d))){if(l)continue;s=d+1;break}-1===c&&(l=!1,c=d+1),46===i?-1===o?o=d:1!==u&&(u=1):-1!==o&&(u=-1)}-1!==c&&(-1===o||0===u||1===u&&o===c-1&&o===s+1?n.base=n.name=e.slice(s,c):(n.name=e.slice(s,o),n.base=e.slice(s,c),n.ext=e.slice(o,c))),n.dir=0<s&&s!==a?e.slice(0,s-1):n.root}}return n},sep:"\\",delimiter:";",win32:null,posix:null},H={resolve(...e){let n="",t=!1;for(let a=e.length-1;-1<=a&&!t;a--){var r=0<=a?e[a]:w.a();F(r,"path"),0!==r.length&&(n=r+"/"+n,t=47===r.charCodeAt(0))}return n=V(n,!t,"/",B),t?"/"+n:0<n.length?n:"."},normalize(e){var n,t;return F(e,"path"),0===e.length?".":(n=47===e.charCodeAt(0),t=47===e.charCodeAt(e.length-1),0===(e=V(e,!n,"/",B)).length?n?"/":t?"./":".":(t&&(e+="/"),n?"/"+e:e))},isAbsolute(e){return F(e,"path"),0<e.length&&47===e.charCodeAt(0)},join(...e){if(0===e.length)return".";let n;for(let r=0;r<e.length;++r){var t=e[r];F(t,"path"),0<t.length&&(void 0===n?n=t:n+="/"+t)}return void 0===n?".":H.normalize(n)},relative(e,n){if(F(e,"from"),F(n,"to"),e===n)return"";if((e=H.resolve(e))===(n=H.resolve(n)))return"";var t=e.length,r=t-1,a=n.length-1,i=r<a?r:a;let o=-1,s=0;for(;s<i;s++){var c=e.charCodeAt(1+s);if(c!==n.charCodeAt(1+s))break;47===c&&(o=s)}if(s===i)if(i<a){if(47===n.charCodeAt(1+s))return n.slice(1+s+1);if(0===s)return n.slice(1+s)}else i<r&&(47===e.charCodeAt(1+s)?o=s:0===s&&(o=0));let l="";for(s=1+o+1;s<=t;++s)s!==t&&47!==e.charCodeAt(s)||(l+=0===l.length?"..":"/..");return""+l+n.slice(1+o)},toNamespacedPath(e){return e},dirname(e){if(F(e,"path"),0===e.length)return".";var n=47===e.charCodeAt(0);let t=-1,r=!0;for(let a=e.length-1;1<=a;--a)if(47===e.charCodeAt(a)){if(!r){t=a;break}}else r=!1;return-1===t?n?"/":".":n&&1===t?"//":e.slice(0,t)},basename(e,n){void 0!==n&&F(n,"ext"),F(e,"path");let t,r=0,a=-1,i=!0;if(void 0!==n&&0<n.length&&n.length<=e.length){if(n===e)return"";let s=n.length-1,c=-1;for(t=e.length-1;0<=t;--t){var o=e.charCodeAt(t);if(47===o){if(!i){r=t+1;break}}else-1===c&&(i=!1,c=t+1),0<=s&&(o===n.charCodeAt(s)?-1==--s&&(a=t):(s=-1,a=c))}return r===a?a=c:-1===a&&(a=e.length),e.slice(r,a)}for(t=e.length-1;0<=t;--t)if(47===e.charCodeAt(t)){if(!i){r=t+1;break}}else-1===a&&(i=!1,a=t+1);return-1===a?"":e.slice(r,a)},extname(e){F(e,"path");let n=-1,t=0,r=-1,a=!0,i=0;for(let s=e.length-1;0<=s;--s){var o=e.charCodeAt(s);if(47===o){if(a)continue;t=s+1;break}-1===r&&(a=!1,r=s+1),46===o?-1===n?n=s:1!==i&&(i=1):-1!==n&&(i=-1)}return-1===n||-1===r||0===i||1===i&&n===r-1&&n===t+1?"":e.slice(n,r)},format:j.bind(null,"/"),parse(e){F(e,"path");var n={root:"",dir:"",base:"",ext:"",name:""};if(0!==e.length){var t=47===e.charCodeAt(0);let a,i=(a=t?(n.root="/",1):0,-1),o=0,s=-1,c=!0,l=e.length-1,d=0;for(;l>=a;--l){var r=e.charCodeAt(l);if(47===r){if(c)continue;o=l+1;break}-1===s&&(c=!1,s=l+1),46===r?-1===i?i=l:1!==d&&(d=1):-1!==i&&(d=-1)}if(-1!==s){let r=0===o&&t?1:o;-1===i||0===d||1===d&&i===s-1&&i===o+1?n.base=n.name=e.slice(r,s):(n.name=e.slice(r,i),n.base=e.slice(r,s),n.ext=e.slice(i,s))}0<o?n.dir=e.slice(0,o-1):t&&(n.dir="/")}return n},sep:"/",delimiter:":",win32:null,posix:null};var W,z,J,q,X,Y,Q;H.win32=K.win32=K,H.posix=K.posix=H,("win32"===w.c?K:H).normalize,("win32"===w.c?K:H).resolve,("win32"===w.c?K:H).relative,("win32"===w.c?K:H).dirname,("win32"===w.c?K:H).basename,("win32"===w.c?K:H).extname,("win32"===w.c?K:H).sep;let Z=/^\w[\w\d+.-]*$/,$=/^\//,ee=/^\/\//;function ne(e,n){if(!e.scheme&&n)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!Z.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!$.test(e.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(ee.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}let te=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class re{constructor(e,n,t,r,a,i=!1){var o;"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=(o=i,(e=e)||o?e:"file"),this.authority=n||"",this.path=((e,n)=>{switch(e){case"https":case"http":case"file":n?"/"!==n[0]&&(n="/"+n):n="/"}return n})(this.scheme,t||""),this.query=r||"",this.fragment=a||"",ne(this,i))}static isUri(e){return e instanceof re||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}get fsPath(){return le(this,!1)}with(e){if(!e)return this;let{scheme:n,authority:t,path:r,query:a,fragment:i}=e;return void 0===n?n=this.scheme:null===n&&(n=""),void 0===t?t=this.authority:null===t&&(t=""),void 0===r?r=this.path:null===r&&(r=""),void 0===a?a=this.query:null===a&&(a=""),void 0===i?i=this.fragment:null===i&&(i=""),n===this.scheme&&t===this.authority&&r===this.path&&a===this.query&&i===this.fragment?this:new ie(n,t,r,a,i)}static parse(e,n=!1){return e=te.exec(e),e?new ie(e[2]||"",pe(e[4]||""),pe(e[5]||""),pe(e[7]||""),pe(e[9]||""),n):new ie("","","","","")}static file(e){let n="";var t;return"/"===(e=v.d?e.replace(/\\/g,"/"):e)[0]&&"/"===e[1]&&(e=-1===(t=e.indexOf("/",2))?(n=e.substring(2),"/"):(n=e.substring(2,t),e.substring(t)||"/")),new ie("file",n,e,"","")}static from(e){return e=new ie(e.scheme,e.authority,e.path,e.query,e.fragment),ne(e,!0),e}static joinPath(e,...n){if(!e.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let t;return t=v.d&&"file"===e.scheme?re.file(K.join(le(e,!0),...n)).path:H.join(e.path,...n),e.with({path:t})}toString(e=!1){return de(this,e)}toJSON(){return this}static revive(e){var n;return e&&(e instanceof re?e:((n=new ie(e))._formatted=e.external,n._fsPath=e._sep===ae?e.fsPath:null,n))}}let ae=v.d?1:void 0;class ie extends re{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=le(this,!1)),this._fsPath}toString(e=!1){return e?de(this,!0):(this._formatted||(this._formatted=de(this,!1)),this._formatted)}toJSON(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=ae),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}let oe={[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 se(e,n){let t=void 0,r=-1;for(let i=0;i<e.length;i++){var a=e.charCodeAt(i);97<=a&&a<=122||65<=a&&a<=90||48<=a&&a<=57||45===a||46===a||95===a||126===a||n&&47===a?(-1!==r&&(t+=encodeURIComponent(e.substring(r,i)),r=-1),void 0!==t&&(t+=e.charAt(i))):(void 0===t&&(t=e.substr(0,i)),void 0!==(a=oe[a])?(-1!==r&&(t+=encodeURIComponent(e.substring(r,i)),r=-1),t+=a):-1===r&&(r=i))}return-1!==r&&(t+=encodeURIComponent(e.substring(r))),void 0!==t?t:e}function ce(e){let n=void 0;for(let r=0;r<e.length;r++){var t=e.charCodeAt(r);35===t||63===t?(void 0===n&&(n=e.substr(0,r)),n+=oe[t]):void 0!==n&&(n+=e[r])}return void 0!==n?n:e}function le(e,n){let t;return t=e.authority&&1<e.path.length&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(65<=e.path.charCodeAt(1)&&e.path.charCodeAt(1)<=90||97<=e.path.charCodeAt(1)&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?n?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,v.d?t.replace(/\//g,"\\"):t}function de(e,n){var t=n?ce:se;let r="",{scheme:a,authority:i,path:o,query:s,fragment:c}=e;if(a&&(r=r+a+":"),!i&&"file"!==a||(r+="//"),i){let n=i.indexOf("@");-1!==n&&(e=i.substr(0,n),i=i.substr(n+1),-1===(n=e.indexOf(":"))?r+=t(e,!1):r=(r=r+t(e.substr(0,n),!1)+":")+t(e.substr(n+1),!1),r+="@"),i=i.toLowerCase(),-1===(n=i.indexOf(":"))?r+=t(i,!1):r=(r+=t(i.substr(0,n),!1))+i.substr(n)}return o&&(3<=o.length&&47===o.charCodeAt(0)&&58===o.charCodeAt(2)?65<=(e=o.charCodeAt(1))&&e<=90&&(o=`/${String.fromCharCode(e+32)}:`+o.substr(3)):2<=o.length&&58===o.charCodeAt(1)&&65<=(e=o.charCodeAt(0))&&e<=90&&(o=String.fromCharCode(e+32)+":"+o.substr(2)),r+=t(o,!0)),s&&(r=(r+="?")+t(s,!1)),c?(r+="#")+(n?c:se(c,!1)):r}let ue=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function pe(e){return e.match(ue)?e.replace(ue,e=>function n(t){try{return decodeURIComponent(t)}catch(e){return 3<t.length?t.substr(0,3)+n(t.substr(3)):t}}(e)):e}class me{constructor(e,n){this.lineNumber=e,this.column=n}with(e=this.lineNumber,n=this.column){return e===this.lineNumber&&n===this.column?this:new me(e,n)}delta(e=0,n=0){return this.with(this.lineNumber+e,this.column+n)}equals(e){return me.equals(this,e)}static equals(e,n){return!e&&!n||!!e&&!!n&&e.lineNumber===n.lineNumber&&e.column===n.column}isBefore(e){return me.isBefore(this,e)}static isBefore(e,n){return e.lineNumber<n.lineNumber||!(n.lineNumber<e.lineNumber)&&e.column<n.column}isBeforeOrEqual(e){return me.isBeforeOrEqual(this,e)}static isBeforeOrEqual(e,n){return e.lineNumber<n.lineNumber||!(n.lineNumber<e.lineNumber)&&e.column<=n.column}static compare(e,n){var t=0|e.lineNumber,r=0|n.lineNumber;return t==r?(0|e.column)-(0|n.column):t-r}clone(){return new me(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(e){return new me(e.lineNumber,e.column)}static isIPosition(e){return e&&"number"==typeof e.lineNumber&&"number"==typeof e.column}}class _e{constructor(e,n,t,r){t<e||e===t&&r<n?(this.startLineNumber=t,this.startColumn=r,this.endLineNumber=e,this.endColumn=n):(this.startLineNumber=e,this.startColumn=n,this.endLineNumber=t,this.endColumn=r)}isEmpty(){return _e.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return _e.containsPosition(this,e)}static containsPosition(e,n){return!(n.lineNumber<e.startLineNumber||n.lineNumber>e.endLineNumber||n.lineNumber===e.startLineNumber&&n.column<e.startColumn||n.lineNumber===e.endLineNumber&&n.column>e.endColumn)}containsRange(e){return _e.containsRange(this,e)}static containsRange(e,n){return!(n.startLineNumber<e.startLineNumber||n.endLineNumber<e.startLineNumber||e.endLineNumber<n.startLineNumber||n.endLineNumber>e.endLineNumber||n.startLineNumber===e.startLineNumber&&n.startColumn<e.startColumn||n.endLineNumber===e.endLineNumber&&n.endColumn>e.endColumn)}strictContainsRange(e){return _e.strictContainsRange(this,e)}static strictContainsRange(e,n){return!(n.startLineNumber<e.startLineNumber||n.endLineNumber<e.startLineNumber||e.endLineNumber<n.startLineNumber||n.endLineNumber>e.endLineNumber||n.startLineNumber===e.startLineNumber&&n.startColumn<=e.startColumn||n.endLineNumber===e.endLineNumber&&n.endColumn>=e.endColumn)}plusRange(e){return _e.plusRange(this,e)}static plusRange(e,n){let t,r,a,i;return r=n.startLineNumber<e.startLineNumber?(t=n.startLineNumber,n.startColumn):n.startLineNumber===e.startLineNumber?(t=n.startLineNumber,Math.min(n.startColumn,e.startColumn)):(t=e.startLineNumber,e.startColumn),i=e.endLineNumber<n.endLineNumber?(a=n.endLineNumber,n.endColumn):n.endLineNumber===e.endLineNumber?(a=n.endLineNumber,Math.max(n.endColumn,e.endColumn)):(a=e.endLineNumber,e.endColumn),new _e(t,r,a,i)}intersectRanges(e){return _e.intersectRanges(this,e)}static intersectRanges(e,n){let t=e.startLineNumber,r=e.startColumn,a=e.endLineNumber,i=e.endColumn;e=n.startLineNumber;var o=n.startColumn,s=n.endLineNumber;n=n.endColumn;return t<e?(t=e,r=o):t===e&&(r=Math.max(r,o)),a>s?(a=s,i=n):a===s&&(i=Math.min(i,n)),t>a||t===a&&r>i?null:new _e(t,r,a,i)}equalsRange(e){return _e.equalsRange(this,e)}static equalsRange(e,n){return!!e&&!!n&&e.startLineNumber===n.startLineNumber&&e.startColumn===n.startColumn&&e.endLineNumber===n.endLineNumber&&e.endColumn===n.endColumn}getEndPosition(){return _e.getEndPosition(this)}static getEndPosition(e){return new me(e.endLineNumber,e.endColumn)}getStartPosition(){return _e.getStartPosition(this)}static getStartPosition(e){return new me(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,n){return new _e(this.startLineNumber,this.startColumn,e,n)}setStartPosition(e,n){return new _e(e,n,this.endLineNumber,this.endColumn)}collapseToStart(){return _e.collapseToStart(this)}static collapseToStart(e){return new _e(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}static fromPositions(e,n=e){return new _e(e.lineNumber,e.column,n.lineNumber,n.column)}static lift(e){return e?new _e(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,n){return!(e.endLineNumber<n.startLineNumber||e.endLineNumber===n.startLineNumber&&e.endColumn<n.startColumn||n.endLineNumber<e.startLineNumber||n.endLineNumber===e.startLineNumber&&n.endColumn<e.startColumn)}static areIntersecting(e,n){return!(e.endLineNumber<n.startLineNumber||e.endLineNumber===n.startLineNumber&&e.endColumn<=n.startColumn||n.endLineNumber<e.startLineNumber||n.endLineNumber===e.startLineNumber&&n.endColumn<=e.startColumn)}static compareRangesUsingStarts(e,n){var t,r,a,i,o,s;return e&&n?(t=0|e.startLineNumber)==(r=0|n.startLineNumber)?(a=0|e.startColumn)==(i=0|n.startColumn)?(o=0|e.endLineNumber)==(s=0|n.endLineNumber)?(0|e.endColumn)-(0|n.endColumn):o-s:a-i:t-r:(e?1:0)-(n?1:0)}static compareRangesUsingEnds(e,n){return e.endLineNumber===n.endLineNumber?e.endColumn===n.endColumn?e.startLineNumber===n.startLineNumber?e.startColumn-n.startColumn:e.startLineNumber-n.startLineNumber:e.endColumn-n.endColumn:e.endLineNumber-n.endLineNumber}static spansMultipleLines(e){return e.endLineNumber>e.startLineNumber}}function fe(e,n,t,r){return new P(e,n,t).ComputeDiff(r)}class ge{constructor(e){var n=[],t=[];for(let r=0,a=e.length;r<a;r++)n[r]=Ee(e[r],1),t[r]=Te(e[r],1);this.lines=e,this._startColumns=n,this._endColumns=t}getElements(){var e=[];for(let n=0,t=this.lines.length;n<t;n++)e[n]=this.lines[n].substring(this._startColumns[n]-1,this._endColumns[n]-1);return e}getStrictElement(e){return this.lines[e]}getStartLineNumber(e){return e+1}getEndLineNumber(e){return e+1}createCharSequence(e,n,t){var r=[],a=[],i=[];let o=0;for(let d=n;d<=t;d++){var s=this.lines[d],c=e?this._startColumns[d]:1,l=e?this._endColumns[d]:s.length+1;for(let e=c;e<l;e++)r[o]=s.charCodeAt(e-1),a[o]=d+1,i[o]=e,o++}return new ye(r,a,i)}}class ye{constructor(e,n,t){this._charCodes=e,this._lineNumbers=n,this._columns=t}getElements(){return this._charCodes}getStartLineNumber(e){return this._lineNumbers[e]}getStartColumn(e){return this._columns[e]}getEndLineNumber(e){return this._lineNumbers[e]}getEndColumn(e){return this._columns[e]+1}}class he{constructor(e,n,t,r,a,i,o,s){this.originalStartLineNumber=e,this.originalStartColumn=n,this.originalEndLineNumber=t,this.originalEndColumn=r,this.modifiedStartLineNumber=a,this.modifiedStartColumn=i,this.modifiedEndLineNumber=o,this.modifiedEndColumn=s}static createFromDiffChange(e,n,t){let r,a,i,o,s,c,l,d;return o=0===e.originalLength?(r=0,a=0,i=0):(r=n.getStartLineNumber(e.originalStart),a=n.getStartColumn(e.originalStart),i=n.getEndLineNumber(e.originalStart+e.originalLength-1),n.getEndColumn(e.originalStart+e.originalLength-1)),d=0===e.modifiedLength?(s=0,c=0,l=0):(s=t.getStartLineNumber(e.modifiedStart),c=t.getStartColumn(e.modifiedStart),l=t.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),t.getEndColumn(e.modifiedStart+e.modifiedLength-1)),new he(r,a,i,o,s,c,l,d)}}class ve{constructor(e,n,t,r,a){this.originalStartLineNumber=e,this.originalEndLineNumber=n,this.modifiedStartLineNumber=t,this.modifiedEndLineNumber=r,this.charChanges=a}static createFromDiffResult(e,n,t,r,a,i,o){let s,c,l,d,u=void 0;if(c=0===n.originalLength?(s=t.getStartLineNumber(n.originalStart)-1,0):(s=t.getStartLineNumber(n.originalStart),t.getEndLineNumber(n.originalStart+n.originalLength-1)),d=0===n.modifiedLength?(l=r.getStartLineNumber(n.modifiedStart)-1,0):(l=r.getStartLineNumber(n.modifiedStart),r.getEndLineNumber(n.modifiedStart+n.modifiedLength-1)),i&&0<n.originalLength&&n.originalLength<20&&0<n.modifiedLength&&n.modifiedLength<20&&a()){var p=t.createCharSequence(e,n.originalStart,n.originalStart+n.originalLength-1),m=r.createCharSequence(e,n.modifiedStart,n.modifiedStart+n.modifiedLength-1);let i=fe(p,m,a,!0).changes;o&&(i=(e=>{if(e.length<=1)return e;var n=[e[0]];let t=n[0];for(let o=1,s=e.length;o<s;o++){var r=e[o],a=r.originalStart-(t.originalStart+t.originalLength),i=r.modifiedStart-(t.modifiedStart+t.modifiedLength);Math.min(a,i)<3?(t.originalLength=r.originalStart+r.originalLength-t.originalStart,t.modifiedLength=r.modifiedStart+r.modifiedLength-t.modifiedStart):(n.push(r),t=r)}return n})(i)),u=[];for(let e=0,n=i.length;e<n;e++)u.push(he.createFromDiffChange(i[e],p,m))}return new ve(s,c,l,d,u)}}class be{constructor(e,n,t){this.shouldComputeCharChanges=t.shouldComputeCharChanges,this.shouldPostProcessCharChanges=t.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=t.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=t.shouldMakePrettyDiff,this.originalLines=e,this.modifiedLines=n,this.original=new ge(e),this.modified=new ge(n),this.continueLineDiff=Se(t.maxComputationTime),this.continueCharDiff=Se(0===t.maxComputationTime?0:Math.min(t.maxComputationTime,5e3))}computeDiff(){if(1===this.original.lines.length&&0===this.original.lines[0].length)return 1===this.modified.lines.length&&0===this.modified.lines[0].length?{quitEarly:!1,changes:[]}:{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};if(1===this.modified.lines.length&&0===this.modified.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};var e=fe(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),n=e.changes;e=e.quitEarly;if(this.shouldIgnoreTrimWhitespace){var t=[];for(let e=0,r=n.length;e<r;e++)t.push(ve.createFromDiffResult(this.shouldIgnoreTrimWhitespace,n[e],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:e,changes:t}}var r=[];let a=0,i=0;for(let m=-1,_=n.length;m<_;m++){for(var o=m+1<_?n[m+1]:null,s=o?o.originalStart:this.originalLines.length,c=o?o.modifiedStart:this.modifiedLines.length;a<s&&i<c;){var l=this.originalLines[a],d=this.modifiedLines[i];if(l!==d){{let e=Ee(l,1),n=Ee(d,1);for(;1<e&&1<n;){if(l.charCodeAt(e-2)!==d.charCodeAt(n-2))break;e--,n--}(1<e||1<n)&&this._pushTrimWhitespaceCharChange(r,a+1,1,e,i+1,1,n)}{let e=Te(l,1),n=Te(d,1);for(var u=l.length+1,p=d.length+1;e<u&&n<p;){if(l.charCodeAt(e-1)!==l.charCodeAt(n-1))break;e++,n++}(e<u||n<p)&&this._pushTrimWhitespaceCharChange(r,a+1,e,u,i+1,n,p)}}a++,i++}o&&(r.push(ve.createFromDiffResult(this.shouldIgnoreTrimWhitespace,o,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),a+=o.originalLength,i+=o.modifiedLength)}return{quitEarly:e,changes:r}}_pushTrimWhitespaceCharChange(e,n,t,r,a,i,o){if(!this._mergeTrimWhitespaceCharChange(e,n,t,r,a,i,o)){let s=void 0;this.shouldComputeCharChanges&&(s=[new he(n,t,n,r,a,i,a,o)]),e.push(new ve(n,n,a,a,s))}}_mergeTrimWhitespaceCharChange(e,n,t,r,a,i,o){var s=e.length;return 0!==s&&0!==(e=e[s-1]).originalEndLineNumber&&0!==e.modifiedEndLineNumber&&e.originalEndLineNumber+1===n&&e.modifiedEndLineNumber+1===a&&(e.originalEndLineNumber=n,e.modifiedEndLineNumber=a,this.shouldComputeCharChanges&&e.charChanges&&e.charChanges.push(new he(n,t,n,r,a,i,a,o)),!0)}}function Ee(e,n){return e=(e=>{for(let t=0,r=e.length;t<r;t++){var n=e.charCodeAt(t);if(32!==n&&9!==n)return t}return-1})(e),-1===e?n:e+1}function Te(e,n){return e=D(e),-1===e?n:e+2}function Se(e){if(0===e)return()=>!0;let n=Date.now();return()=>Date.now()-n<e}function xe(e){return e<0?0:255<e?255:0|e}function Le(e){return e<0?0:4294967295<e?4294967295:0|e}class De{constructor(e,n){this._prefixSumIndexOfResultBrand=void 0,this.index=e,this.remainder=n}}class Ae{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,n){e=Le(e);var t=this.values,r=this.prefixSum,a=n.length;return 0!==a&&(this.values=new Uint32Array(t.length+a),this.values.set(t.subarray(0,e),0),this.values.set(t.subarray(e),e+a),this.values.set(n,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),0<=this.prefixSumValidIndex[0]&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}changeValue(e,n){return e=Le(e),n=Le(n),this.values[e]!==n&&(this.values[e]=n,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,n){e=Le(e),n=Le(n);var t,r=this.values,a=this.prefixSum;return!(e>=r.length||0===(n=(t=r.length-e)<=n?t:n)||(this.values=new Uint32Array(r.length-n),this.values.set(r.subarray(0,e),0),this.values.set(r.subarray(e+n),e),this.prefixSum=new Uint32Array(this.values.length),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),0<=this.prefixSumValidIndex[0]&&this.prefixSum.set(a.subarray(0,this.prefixSumValidIndex[0]+1)),0))}getTotalSum(){return 0===this.values.length?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=Le(e),this._getPrefixSum(e))}_getPrefixSum(e){if(!(e<=this.prefixSumValidIndex[0])){let n=this.prefixSumValidIndex[0]+1;0===n&&(this.prefixSum[0]=this.values[0],n++),e>=this.values.length&&(e=this.values.length-1);for(let t=n;t<=e;t++)this.prefixSum[t]=this.prefixSum[t-1]+this.values[t];this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e)}return this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let n=0,t=this.values.length-1,r=0;var a;let i=0;for(;n<=t;)if(r=n+(t-n)/2|0,a=this.prefixSum[r],e<(i=a-this.values[r]))t=r-1;else{if(!(a<=e))break;n=r+1}return new De(r,e-i)}}let Ce=((e="")=>{let n="(-?\\d*\\.\\d\\w*)|([^";for(var t of"`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?")0<=e.indexOf(t)||(n+="\\"+t);return n+="\\s]+)",new RegExp(n,"g")})(),Ie={maxLen:1e3,windowSize:15,timeBudget:150};function Ne(e,n,t,r,a=Ie){if(t.length>a.maxLen){let i=e-a.maxLen/2;return i<0?i=0:r+=i,Ne(e,n,t=t.substring(i,e+a.maxLen/2),r,a)}var i=Date.now(),o=e-1-r;let s=-1,c=null;for(let u=1;!(Date.now()-i>=a.timeBudget);u++){var l=o-a.windowSize*u,d=(n.lastIndex=Math.max(0,l),((e,n,t,r)=>{for(var a;a=e.exec(n);){var i=a.index||0;if(i<=t&&e.lastIndex>=t)return a;if(0<r&&r<i)return null}return null})(n,t,o,s));if(!d&&c)break;if(c=d,l<=0)break;s=l}return c?(e={word:c[0],startColumn:r+1+c.index,endColumn:r+1+c.index+c[0].length},n.lastIndex=0,e):null}class ke{constructor(e){e=xe(e),this._defaultValue=e,this._asciiMap=ke._createAsciiMap(e),this._map=new Map}static _createAsciiMap(e){var n=new Uint8Array(256);for(let t=0;t<256;t++)n[t]=e;return n}set(e,n){n=xe(n),0<=e&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return 0<=e&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}}class Re{constructor(e,n,t){var r=new Uint8Array(e*n);for(let a=0,i=e*n;a<i;a++)r[a]=t;this._data=r,this.rows=e,this.cols=n}get(e,n){return this._data[e*this.cols+n]}set(e,n,t){this._data[e*this.cols+n]=t}}class Oe{constructor(e){let n=0,t=0;for(let d=0,u=e.length;d<u;d++){var[r,a,i]=e[d];a>n&&(n=a),i>(t=r>t?r:t)&&(t=i)}n++,t++;var o=new Re(t,n,0);for(let d=0,u=e.length;d<u;d++){var[s,c,l]=e[d];o.set(s,c,l)}this._states=o,this._maxCharCode=n}nextState(e,n){return n<0||n>=this._maxCharCode?0:this._states.get(e,n)}}let Pe=null,we=null;class Me{static _createLink(e,n,t,r,a){let i=a-1;do{var o=n.charCodeAt(i);if(2!==e.get(o))break}while(--i>r);var s;return 0<r&&(a=n.charCodeAt(r-1),s=n.charCodeAt(i),40===a&&41===s||91===a&&93===s||123===a&&125===s)&&i--,{range:{startLineNumber:t,startColumn:r+1,endLineNumber:t,endColumn:i+2},url:n.substring(r,i+1)}}static computeLinks(e,n=(Pe=null===Pe?new Oe([[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]]):Pe)){var t=(()=>{if(null===we){we=new ke(0);var e=" \t<>'\"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…";for(let n=0;n<e.length;n++)we.set(e.charCodeAt(n),1);for(let e=0;e<".,;".length;e++)we.set(".,;".charCodeAt(e),2)}return we})(),r=[];for(let s=1,c=e.getLineCount();s<=c;s++){var a=e.getLineContent(s),i=a.length;let c=0,l=0,d=0,u=1,p=!1,m=!1,_=!1,f=!1;for(;c<i;){let e=!1;var o=a.charCodeAt(c);if(13===u){let n;switch(o){case 40:p=!0,n=0;break;case 41:n=p?0:1;break;case 91:_=!0,m=!0,n=0;break;case 93:_=!1,n=m?0:1;break;case 123:f=!0,n=0;break;case 125:n=f?0:1;break;case 39:n=34===d||96===d?0:1;break;case 34:n=39===d||96===d?0:1;break;case 96:n=39===d||34===d?0:1;break;case 42:n=42===d?1:0;break;case 124:n=124===d?1:0;break;case 32:n=_?0:1;break;default:n=t.get(o)}1===n&&(r.push(Me._createLink(t,a,s,l,c)),e=!0)}else if(12===u){let n;1===(n=91===o?(m=!0,0):t.get(o))?e=!0:u=13}else 0===(u=n.nextState(u,o))&&(e=!0);e&&(u=1,p=!1,m=!1,f=!1,l=c+1,d=o),c++}13===u&&r.push(Me._createLink(t,a,s,l,i))}return r}}class Fe{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(e,n,t,r,a){return e&&n&&(n=this.doNavigateValueSet(n,a),n)?{range:e,value:n}:t&&r&&(e=this.doNavigateValueSet(r,a),e)?{range:t,value:e}:null}doNavigateValueSet(e,n){var t=this.numberReplace(e,n);return null!==t?t:this.textReplace(e,n)}numberReplace(e,n){var t=Math.pow(10,e.length-(e.lastIndexOf(".")+1)),r=Number(e);e=parseFloat(e);return isNaN(r)||isNaN(e)||r!==e||0===r&&!n?null:(r=Math.floor(r*t),r+=n?t:-t,String(r/t))}textReplace(e,n){return this.valueSetsReplace(this._defaultValueSet,e,n)}valueSetsReplace(e,n,t){let r=null;for(let a=0,i=e.length;null===r&&a<i;a++)r=this.valueSetReplace(e[a],n,t);return r}valueSetReplace(e,n,t){let r=e.indexOf(n);return 0<=r?((r+=t?1:-1)<0?r=e.length-1:r%=e.length,e[r]):null}}Fe.INSTANCE=new Fe;class Ge{constructor(e){this.element=e,this.next=Ge.Undefined,this.prev=Ge.Undefined}}Ge.Undefined=new Ge(void 0);class Be{constructor(){this._first=Ge.Undefined,this._last=Ge.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===Ge.Undefined}clear(){let e=this._first;for(;e!==Ge.Undefined;){var n=e.next;e.prev=Ge.Undefined,e.next=Ge.Undefined,e=n}this._first=Ge.Undefined,this._last=Ge.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,n){let t=new Ge(e);this._first===Ge.Undefined?(this._first=t,this._last=t):n?(e=this._last,((this._last=t).prev=e).next=t):(n=this._first,((this._first=t).next=n).prev=t),this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(t))}}shift(){var e;if(this._first!==Ge.Undefined)return e=this._first.element,this._remove(this._first),e}pop(){var e;if(this._last!==Ge.Undefined)return e=this._last.element,this._remove(this._last),e}_remove(e){var n;e.prev!==Ge.Undefined&&e.next!==Ge.Undefined?((n=e.prev).next=e.next,e.next.prev=n):e.prev===Ge.Undefined&&e.next===Ge.Undefined?(this._first=Ge.Undefined,this._last=Ge.Undefined):e.next===Ge.Undefined?(this._last=this._last.prev,this._last.next=Ge.Undefined):e.prev===Ge.Undefined&&(this._first=this._first.next,this._first.prev=Ge.Undefined),--this._size}*[Symbol.iterator](){let e=this._first;for(;e!==Ge.Undefined;)yield e.element,e=e.next}}let Ue=v.a.performance&&"function"==typeof v.a.performance.now;class Ve{constructor(e){this._highResolution=Ue&&e,this._startTime=this._now(),this._stopTime=-1}static create(e=!0){return new Ve(e)}stop(){this._stopTime=this._now()}elapsed(){return-1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return(this._highResolution?v.a.performance:Date).now()}}{var je=Q=Q||{};function Ke(e){return(n,t=null,r)=>{let a,i=!1;return a=e(e=>{if(!i)return a?a.dispose():i=!0,n.call(t,e)},null,r),i&&a.dispose(),a}}function He(e,n){return qe((t,r=null,a)=>e(e=>t.call(r,n(e)),null,a))}function We(e,n){return qe((t,r=null,a)=>e(e=>{n(e),t.call(r,e)},null,a))}function ze(e,n){return qe((t,r=null,a)=>e(e=>n(e)&&t.call(r,e),null,a))}function Je(e,n,t){let r=t;return He(e,e=>r=n(r,e))}function qe(e){let n,t=new Ze({onFirstListenerAdd(){n=e(t.fire,t)},onLastListenerRemove(){n.dispose()}});return t.event}function Xe(e,n,t=100,r=!1,a){let i,o=void 0,s=void 0,c=0,l=new Ze({leakWarningThreshold:a,onFirstListenerAdd(){i=e(e=>{c++,o=n(o,e),r&&!s&&(l.fire(o),o=void 0),clearTimeout(s),s=setTimeout(()=>{var e=o;o=void 0,s=void 0,(!r||1<c)&&l.fire(e),c=0},t)})},onLastListenerRemove(){i.dispose()}});return l.event}function Ye(e,n=((e,n)=>e===n)){let t,r=!0;return ze(e,e=>{var a=r||!n(e,t);return r=!1,t=e,a})}je.None=()=>h.None,je.once=Ke,je.map=He,je.forEach=We,je.filter=ze,je.signal=function(e){return e},je.any=function(...e){return(n,t=null,r)=>f(...e.map(e=>e(e=>n.call(t,e),null,r)))},je.reduce=Je,je.debounce=Xe,je.latch=Ye,je.split=function(e,n){return[je.filter(e,n),je.filter(e,e=>!n(e))]},je.buffer=function(e,n=!1,t=[]){let r=t.slice(),a=e(e=>{r?r.push(e):o.fire(e)}),i=()=>{r&&r.forEach(e=>o.fire(e)),r=null},o=new Ze({onFirstListenerAdd(){a=a||e(e=>o.fire(e))},onFirstListenerDidAdd(){r&&(n?setTimeout(i):i())},onLastListenerRemove(){a&&a.dispose(),a=null}});return o.event};class e{constructor(e){this.event=e}map(n){return new e(He(this.event,n))}forEach(n){return new e(We(this.event,n))}filter(n){return new e(ze(this.event,n))}reduce(n,t){return new e(Je(this.event,n,t))}latch(){return new e(Ye(this.event))}debounce(n,t=100,r=!1,a){return new e(Xe(this.event,n,t,r,a))}on(e,n,t){return this.event(e,n,t)}once(e,n,t){return Ke(this.event)(e,n,t)}}je.chain=function(n){return new e(n)},je.fromNodeEventEmitter=function(e,n,t=(e=>e)){let r=(...e)=>a.fire(t(...e)),a=new Ze({onFirstListenerAdd:()=>e.on(n,r),onLastListenerRemove:()=>e.removeListener(n,r)});return a.event},je.fromDOMEventEmitter=function(e,n,t=(e=>e)){let r=(...e)=>a.fire(t(...e)),a=new Ze({onFirstListenerAdd:()=>e.addEventListener(n,r),onLastListenerRemove:()=>e.removeEventListener(n,r)});return a.event},je.toPromise=function(e){return new Promise(n=>Ke(e)(n))}}class Qe{constructor(e){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=e+"_"+Qe._idPool++}start(e){this._stopWatch=new Ve(!0),this._listenerCount=e}stop(){var e;this._stopWatch&&(e=this._stopWatch.elapsed(),this._elapsedOverall+=e,this._invocationCount+=1,this._stopWatch=void 0)}}Qe._idPool=0;class Ze{constructor(e){this._disposed=!1,this._options=e,this._leakageMon=void 0,this._perfMon=null!=(e=this._options)&&e._profName?new Qe(this._options._profName):void 0}get event(){return this._event||(this._event=(e,n,t)=>{this._listeners||(this._listeners=new Be);var r=this._listeners.isEmpty();r&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);let a=this._listeners.push(n?[e,n]:e),i=(r&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,e,n),null==(r=this._leakageMon)?void 0:r.check(this._listeners.size));return e=g(()=>{i&&i(),this._disposed||(a(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))}),t instanceof y?t.add(e):Array.isArray(t)&&t.push(e),e}),this._event}fire(e){var n,t;if(this._listeners){for(var a of(this._deliveryQueue||(this._deliveryQueue=new Be),this._listeners))this._deliveryQueue.push([a,e]);for(null!=(n=this._perfMon)&&n.start(this._deliveryQueue.size);0<this._deliveryQueue.size;){let[n,a]=this._deliveryQueue.shift();try{"function"==typeof n?n.call(void 0,a):n[0].call(n[1],a)}catch(e){o(t=e)||r.onUnexpectedError(t)}}null!=(n=this._perfMon)&&n.stop()}}dispose(){var e,n;this._disposed||(this._disposed=!0,null!=(e=this._listeners)&&e.clear(),null!=(e=this._deliveryQueue)&&e.clear(),null!=(n=null==(e=this._options)?void 0:e.onLastListenerRemove)&&n.call(e),null!=(n=this._leakageMon)&&n.dispose())}}let $e=Object.freeze((function(e,n){let t=setTimeout(e.bind(n),0);return{dispose(){clearTimeout(t)}}}));(z=W=W||{}).isCancellationToken=function(e){return e===z.None||e===z.Cancelled||e instanceof en||!(!e||"object"!=typeof e)&&"boolean"==typeof e.isCancellationRequested&&"function"==typeof e.onCancellationRequested},z.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:Q.None}),z.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:$e});class en{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?$e:(this._emitter||(this._emitter=new Ze),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class nn{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new en),this._token}cancel(){this._token?this._token instanceof en&&this._token.cancel():this._token=W.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof en&&this._token.dispose():this._token=W.None}}class tn{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,n){this._keyCodeToStr[e]=n,this._strToKeyCode[n.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}let rn=new tn,an=new tn,on=new tn;function sn(e,n,t=n,r=t){rn.define(e,n),an.define(e,t),on.define(e,r)}sn(0,"unknown"),sn(1,"Backspace"),sn(2,"Tab"),sn(3,"Enter"),sn(4,"Shift"),sn(5,"Ctrl"),sn(6,"Alt"),sn(7,"PauseBreak"),sn(8,"CapsLock"),sn(9,"Escape"),sn(10,"Space"),sn(11,"PageUp"),sn(12,"PageDown"),sn(13,"End"),sn(14,"Home"),sn(15,"LeftArrow","Left"),sn(16,"UpArrow","Up"),sn(17,"RightArrow","Right"),sn(18,"DownArrow","Down"),sn(19,"Insert"),sn(20,"Delete"),sn(21,"0"),sn(22,"1"),sn(23,"2"),sn(24,"3"),sn(25,"4"),sn(26,"5"),sn(27,"6"),sn(28,"7"),sn(29,"8"),sn(30,"9"),sn(31,"A"),sn(32,"B"),sn(33,"C"),sn(34,"D"),sn(35,"E"),sn(36,"F"),sn(37,"G"),sn(38,"H"),sn(39,"I"),sn(40,"J"),sn(41,"K"),sn(42,"L"),sn(43,"M"),sn(44,"N"),sn(45,"O"),sn(46,"P"),sn(47,"Q"),sn(48,"R"),sn(49,"S"),sn(50,"T"),sn(51,"U"),sn(52,"V"),sn(53,"W"),sn(54,"X"),sn(55,"Y"),sn(56,"Z"),sn(57,"Meta"),sn(58,"ContextMenu"),sn(59,"F1"),sn(60,"F2"),sn(61,"F3"),sn(62,"F4"),sn(63,"F5"),sn(64,"F6"),sn(65,"F7"),sn(66,"F8"),sn(67,"F9"),sn(68,"F10"),sn(69,"F11"),sn(70,"F12"),sn(71,"F13"),sn(72,"F14"),sn(73,"F15"),sn(74,"F16"),sn(75,"F17"),sn(76,"F18"),sn(77,"F19"),sn(78,"NumLock"),sn(79,"ScrollLock"),sn(80,";",";","OEM_1"),sn(81,"=","=","OEM_PLUS"),sn(82,",",",","OEM_COMMA"),sn(83,"-","-","OEM_MINUS"),sn(84,".",".","OEM_PERIOD"),sn(85,"/","/","OEM_2"),sn(86,"`","`","OEM_3"),sn(110,"ABNT_C1"),sn(111,"ABNT_C2"),sn(87,"[","[","OEM_4"),sn(88,"\\","\\","OEM_5"),sn(89,"]","]","OEM_6"),sn(90,"'","'","OEM_7"),sn(91,"OEM_8"),sn(92,"OEM_102"),sn(93,"NumPad0"),sn(94,"NumPad1"),sn(95,"NumPad2"),sn(96,"NumPad3"),sn(97,"NumPad4"),sn(98,"NumPad5"),sn(99,"NumPad6"),sn(100,"NumPad7"),sn(101,"NumPad8"),sn(102,"NumPad9"),sn(103,"NumPad_Multiply"),sn(104,"NumPad_Add"),sn(105,"NumPad_Separator"),sn(106,"NumPad_Subtract"),sn(107,"NumPad_Decimal"),sn(108,"NumPad_Divide");class cn extends _e{constructor(e,n,t,r){super(e,n,t,r),this.selectionStartLineNumber=e,this.selectionStartColumn=n,this.positionLineNumber=t,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return cn.selectionsEqual(this,e)}static selectionsEqual(e,n){return e.selectionStartLineNumber===n.selectionStartLineNumber&&e.selectionStartColumn===n.selectionStartColumn&&e.positionLineNumber===n.positionLineNumber&&e.positionColumn===n.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,n){return 0===this.getDirection()?new cn(this.startLineNumber,this.startColumn,e,n):new cn(e,n,this.startLineNumber,this.startColumn)}getPosition(){return new me(this.positionLineNumber,this.positionColumn)}setStartPosition(e,n){return 0===this.getDirection()?new cn(e,n,this.endLineNumber,this.endColumn):new cn(this.endLineNumber,this.endColumn,e,n)}static fromPositions(e,n=e){return new cn(e.lineNumber,e.column,n.lineNumber,n.column)}static liftSelection(e){return new cn(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,n){if(e&&!n||!e&&n)return!1;if(e||n){if(e.length!==n.length)return!1;for(let t=0,r=e.length;t<r;t++)if(!this.selectionsEqual(e[t],n[t]))return!1}return!0}static isISelection(e){return e&&"number"==typeof e.selectionStartLineNumber&&"number"==typeof e.selectionStartColumn&&"number"==typeof e.positionLineNumber&&"number"==typeof e.positionColumn}static createWithDirection(e,n,t,r,a){return 0===a?new cn(e,n,t,r):new cn(t,r,e,n)}}class ln{constructor(e,n,t){this._tokenBrand=void 0,this.offset=0|e,this.type=n,this.language=t}toString(){return"("+this.offset+", "+this.type+")"}}(n=J=J||{})[n.DependsOnKbLayout=-1]="DependsOnKbLayout",n[n.Unknown=0]="Unknown",n[n.Backspace=1]="Backspace",n[n.Tab=2]="Tab",n[n.Enter=3]="Enter",n[n.Shift=4]="Shift",n[n.Ctrl=5]="Ctrl",n[n.Alt=6]="Alt",n[n.PauseBreak=7]="PauseBreak",n[n.CapsLock=8]="CapsLock",n[n.Escape=9]="Escape",n[n.Space=10]="Space",n[n.PageUp=11]="PageUp",n[n.PageDown=12]="PageDown",n[n.End=13]="End",n[n.Home=14]="Home",n[n.LeftArrow=15]="LeftArrow",n[n.UpArrow=16]="UpArrow",n[n.RightArrow=17]="RightArrow",n[n.DownArrow=18]="DownArrow",n[n.Insert=19]="Insert",n[n.Delete=20]="Delete",n[n.KEY_0=21]="KEY_0",n[n.KEY_1=22]="KEY_1",n[n.KEY_2=23]="KEY_2",n[n.KEY_3=24]="KEY_3",n[n.KEY_4=25]="KEY_4",n[n.KEY_5=26]="KEY_5",n[n.KEY_6=27]="KEY_6",n[n.KEY_7=28]="KEY_7",n[n.KEY_8=29]="KEY_8",n[n.KEY_9=30]="KEY_9",n[n.KEY_A=31]="KEY_A",n[n.KEY_B=32]="KEY_B",n[n.KEY_C=33]="KEY_C",n[n.KEY_D=34]="KEY_D",n[n.KEY_E=35]="KEY_E",n[n.KEY_F=36]="KEY_F",n[n.KEY_G=37]="KEY_G",n[n.KEY_H=38]="KEY_H",n[n.KEY_I=39]="KEY_I",n[n.KEY_J=40]="KEY_J",n[n.KEY_K=41]="KEY_K",n[n.KEY_L=42]="KEY_L",n[n.KEY_M=43]="KEY_M",n[n.KEY_N=44]="KEY_N",n[n.KEY_O=45]="KEY_O",n[n.KEY_P=46]="KEY_P",n[n.KEY_Q=47]="KEY_Q",n[n.KEY_R=48]="KEY_R",n[n.KEY_S=49]="KEY_S",n[n.KEY_T=50]="KEY_T",n[n.KEY_U=51]="KEY_U",n[n.KEY_V=52]="KEY_V",n[n.KEY_W=53]="KEY_W",n[n.KEY_X=54]="KEY_X",n[n.KEY_Y=55]="KEY_Y",n[n.KEY_Z=56]="KEY_Z",n[n.Meta=57]="Meta",n[n.ContextMenu=58]="ContextMenu",n[n.F1=59]="F1",n[n.F2=60]="F2",n[n.F3=61]="F3",n[n.F4=62]="F4",n[n.F5=63]="F5",n[n.F6=64]="F6",n[n.F7=65]="F7",n[n.F8=66]="F8",n[n.F9=67]="F9",n[n.F10=68]="F10",n[n.F11=69]="F11",n[n.F12=70]="F12",n[n.F13=71]="F13",n[n.F14=72]="F14",n[n.F15=73]="F15",n[n.F16=74]="F16",n[n.F17=75]="F17",n[n.F18=76]="F18",n[n.F19=77]="F19",n[n.NumLock=78]="NumLock",n[n.ScrollLock=79]="ScrollLock",n[n.US_SEMICOLON=80]="US_SEMICOLON",n[n.US_EQUAL=81]="US_EQUAL",n[n.US_COMMA=82]="US_COMMA",n[n.US_MINUS=83]="US_MINUS",n[n.US_DOT=84]="US_DOT",n[n.US_SLASH=85]="US_SLASH",n[n.US_BACKTICK=86]="US_BACKTICK",n[n.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",n[n.US_BACKSLASH=88]="US_BACKSLASH",n[n.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",n[n.US_QUOTE=90]="US_QUOTE",n[n.OEM_8=91]="OEM_8",n[n.OEM_102=92]="OEM_102",n[n.NUMPAD_0=93]="NUMPAD_0",n[n.NUMPAD_1=94]="NUMPAD_1",n[n.NUMPAD_2=95]="NUMPAD_2",n[n.NUMPAD_3=96]="NUMPAD_3",n[n.NUMPAD_4=97]="NUMPAD_4",n[n.NUMPAD_5=98]="NUMPAD_5",n[n.NUMPAD_6=99]="NUMPAD_6",n[n.NUMPAD_7=100]="NUMPAD_7",n[n.NUMPAD_8=101]="NUMPAD_8",n[n.NUMPAD_9=102]="NUMPAD_9",n[n.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",n[n.NUMPAD_ADD=104]="NUMPAD_ADD",n[n.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",n[n.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",n[n.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",n[n.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",n[n.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",n[n.ABNT_C1=110]="ABNT_C1",n[n.ABNT_C2=111]="ABNT_C2",n[n.MAX_VALUE=112]="MAX_VALUE",(Q=q=q||{})[Q.Hint=1]="Hint",Q[Q.Info=2]="Info",Q[Q.Warning=4]="Warning",Q[Q.Error=8]="Error",(n=X=X||{})[n.Unnecessary=1]="Unnecessary",n[n.Deprecated=2]="Deprecated",(Q=Y=Y||{})[Q.LTR=0]="LTR",Q[Q.RTL=1]="RTL";class dn{static chord(e,n){return(e|(65535&n)<<16>>>0)>>>0}}dn.CtrlCmd=2048,dn.Shift=1024,dn.Alt=512,dn.WinCtrl=256;var un=function(e,n,t,r){return new(t=t||Promise)((function(a,i){function o(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var n;e.done?a(e.value):((n=e.value)instanceof t?n:new t((function(e){e(n)}))).then(o,s)}c((r=r.apply(e,n||[])).next())}))};class pn extends class{constructor(e,n,t,r){this._uri=e,this._lines=n,this._eol=t,this._versionId=r,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){var n;for(n of(e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null),e.changes))this._acceptDeleteRange(n.range),this._acceptInsertText(new me(n.range.startLineNumber,n.range.startColumn),n.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){var e=this._eol.length,n=this._lines.length,t=new Uint32Array(n);for(let r=0;r<n;r++)t[r]=this._lines[r].length+e;this._lineStarts=new Ae(t)}}_setLineText(e,n){this._lines[e]=n,this._lineStarts&&this._lineStarts.changeValue(e,this._lines[e].length+this._eol.length)}_acceptDeleteRange(e){if(e.startLineNumber===e.endLineNumber)return e.startColumn===e.endColumn?void 0:void this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.startLineNumber-1].substring(e.endColumn-1));this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.endLineNumber-1].substring(e.endColumn-1)),this._lines.splice(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(e.startLineNumber,e.endLineNumber-e.startLineNumber)}_acceptInsertText(e,n){if(0!==n.length){var t=n.split(/\r\n|\r|\n/);if(1===t.length)this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+t[0]+this._lines[e.lineNumber-1].substring(e.column-1));else{t[t.length-1]+=this._lines[e.lineNumber-1].substring(e.column-1),this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+t[0]);var r=new Uint32Array(t.length-1);for(let n=1;n<t.length;n++)this._lines.splice(e.lineNumber+n-1,0,t[n]),r[n-1]=t[n].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(e.lineNumber,r)}}}}{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(e){return this._lines[e-1]}getWordAtPosition(e,n){return n=Ne(e.column,(e=>{let n=Ce;if(e&&e instanceof RegExp)if(e.global)n=e;else{let t="g";e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),n=new RegExp(e.source,t)}return n.lastIndex=0,n})(n),this._lines[e.lineNumber-1],0),n?new _e(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null}words(e){let n=this._lines,t=this._wordenize.bind(this),r=0,a="",i=0,o=[];return{*[Symbol.iterator](){for(;;)if(i<o.length){var s=a.substring(o[i].start,o[i].end);i+=1,yield s}else{if(!(r<n.length))break;a=n[r],o=t(a,e),i=0,r+=1}}}}getLineWords(e,n){var t,r=this._lines[e-1],a=[];for(t of this._wordenize(r,n))a.push({word:r.substring(t.start,t.end),startColumn:t.start+1,endColumn:t.end+1});return a}_wordenize(e,n){var t,r=[];for(n.lastIndex=0;(t=n.exec(e))&&0!==t[0].length;)r.push({start:t.index,end:t.index+t[0].length});return r}getValueInRange(e){if((e=this._validateRange(e)).startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);var n=this._eol,t=e.startLineNumber-1,r=e.endLineNumber-1,a=[];a.push(this._lines[t].substring(e.startColumn-1));for(let i=1+t;i<r;i++)a.push(this._lines[i]);return a.push(this._lines[r].substring(0,e.endColumn-1)),a.join(n)}offsetAt(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getPrefixSum(e.lineNumber-2)+(e.column-1)}positionAt(e){e=Math.floor(e),e=Math.max(0,e),this._ensureLineStarts();e=this._lineStarts.getIndexOf(e);var n=this._lines[e.index].length;return{lineNumber:1+e.index,column:1+Math.min(e.remainder,n)}}_validateRange(e){var n=this._validatePosition({lineNumber:e.startLineNumber,column:e.startColumn}),t=this._validatePosition({lineNumber:e.endLineNumber,column:e.endColumn});return n.lineNumber!==e.startLineNumber||n.column!==e.startColumn||t.lineNumber!==e.endLineNumber||t.column!==e.endColumn?{startLineNumber:n.lineNumber,startColumn:n.column,endLineNumber:t.lineNumber,endColumn:t.column}:e}_validatePosition(e){if(!me.isIPosition(e))throw new Error("bad position");let{lineNumber:n,column:t}=e,r=!1;var a;return n<1?(n=1,t=1,r=!0):n>this._lines.length?(n=this._lines.length,t=this._lines[n-1].length+1,r=!0):(a=this._lines[n-1].length+1,t<1?(t=1,r=!0):t>a&&(t=a,r=!0)),r?{lineNumber:n,column:t}:e}}class mn{constructor(e,n){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=n,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(n=>e.push(this._models[n])),e}acceptNewModel(e){this._models[e.url]=new pn(re.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,n){this._models[e]&&this._models[e].onEvents(n)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeDiff(e,n,t,r){return un(this,void 0,void 0,(function*(){var a,i,o=this._getModel(e),s=this._getModel(n);return o&&s?(a=o.getLinesContent(),i=s.getLinesContent(),i=!(0<(a=new be(a,i,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:t,shouldMakePrettyDiff:!0,maxComputationTime:r}).computeDiff()).changes.length)&&this._modelsAreIdentical(o,s),{quitEarly:a.quitEarly,identical:i,changes:a.changes}):null}))}_modelsAreIdentical(e,n){var t=e.getLineCount();if(t!==n.getLineCount())return!1;for(let r=1;r<=t;r++)if(e.getLineContent(r)!==n.getLineContent(r))return!1;return!0}computeMoreMinimalEdits(e,n){return un(this,void 0,void 0,(function*(){var t=this._getModel(e);if(!t)return n;var r,a,i,o,s,c=[];let l=void 0;for({range:r,text:a,eol:i}of n=n.slice(0).sort((e,n)=>e.range&&n.range?_e.compareRangesUsingStarts(e.range,n.range):(e.range?0:1)-(n.range?0:1)))if("number"==typeof i&&(l=i),!_e.isEmpty(r)||a){var d=t.getValueInRange(r);if(d!==(a=a.replace(/\r\n|\n|\r/g,t.eol)))if(Math.max(a.length,d.length)>mn._diffLimit)c.push({range:r,text:a});else{d=d,o=a,s=!1;d=new P(new N(d),new N(o)).ComputeDiff(s).changes;var u,p=t.offsetAt(_e.lift(r).getStartPosition());for(u of d){var m=t.positionAt(p+u.originalStart),_=t.positionAt(p+u.originalStart+u.originalLength);m={text:a.substr(u.modifiedStart,u.modifiedLength),range:{startLineNumber:m.lineNumber,startColumn:m.column,endLineNumber:_.lineNumber,endColumn:_.column}};t.getValueInRange(m.range)!==m.text&&c.push(m)}}}return"number"==typeof l&&c.push({eol:l,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),c}))}computeLinks(e){return un(this,void 0,void 0,(function*(){var n=this._getModel(e);return n?(n=n)&&"function"==typeof n.getLineCount&&"function"==typeof n.getLineContent?Me.computeLinks(n):[]:null}))}textualSuggest(e,n,t,r){return un(this,void 0,void 0,(function*(){var a=new Ve(!0),i=new RegExp(t,r),o=new Set;e:for(var s of e)if(s=this._getModel(s),s)for(var c of s.words(i))if(c!==n&&isNaN(Number(c))&&(o.add(c),o.size>mn._suggestionsLimit))break e;return{words:Array.from(o),duration:a.elapsed()}}))}computeWordRanges(e,n,t,r){return un(this,void 0,void 0,(function*(){var a=this._getModel(e);if(!a)return Object.create(null);var i,o=new RegExp(t,r),s=Object.create(null);for(let e=n.startLineNumber;e<n.endLineNumber;e++)for(i of a.getLineWords(e,o))if(isNaN(Number(i.word))){let n=s[i.word];n||(n=[],s[i.word]=n),n.push({startLineNumber:e,startColumn:i.startColumn,endLineNumber:e,endColumn:i.endColumn})}return s}))}navigateValueSet(e,n,t,r,a){return un(this,void 0,void 0,(function*(){var i,o,s=this._getModel(e);return s&&(o=new RegExp(r,a),n.startColumn===n.endColumn&&(n={startLineNumber:n.startLineNumber,startColumn:n.startColumn,endLineNumber:n.endLineNumber,endColumn:n.endColumn+1}),i=s.getValueInRange(n),o=s.getWordAtPosition({lineNumber:n.startLineNumber,column:n.startColumn},o))?(s=s.getValueInRange(o),Fe.INSTANCE.navigateValueSet(n,i,o,s,t)):null}))}loadForeignModule(e,n,t){return t=E(t,(e,n)=>this._host.fhr(e,n)),this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory({host:t,getMirrorModels:()=>this._getModels()},n),Promise.resolve(b(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(e,n){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,n))}catch(e){return Promise.reject(e)}}}mn._diffLimit=1e5,mn._suggestionsLimit=1e4,"function"==typeof importScripts&&(v.a.monaco={editor:void 0,languages:void 0,CancellationTokenSource:nn,Emitter:Ze,KeyCode:J,KeyMod:dn,Position:me,Range:_e,Selection:cn,SelectionDirection:Y,MarkerSeverity:q,MarkerTag:X,Uri:re,Token:ln});let _n=!1;function fn(e){if(!_n){_n=!0;let n=new x(e=>{self.postMessage(e)},n=>new mn(n,e));self.onmessage=e=>{n.onmessage(e.data)}}}self.onmessage=e=>{_n||fn(null)};var gn=t("973d"),yn={"lib.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es5" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n',"lib.dom.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/////////////////////////////\n/// Window APIs\n/////////////////////////////\n\ninterface AddEventListenerOptions extends EventListenerOptions {\n once?: boolean;\n passive?: boolean;\n signal?: AbortSignal;\n}\n\ninterface AesCbcParams extends Algorithm {\n iv: BufferSource;\n}\n\ninterface AesCtrParams extends Algorithm {\n counter: BufferSource;\n length: number;\n}\n\ninterface AesDerivedKeyParams extends Algorithm {\n length: number;\n}\n\ninterface AesGcmParams extends Algorithm {\n additionalData?: BufferSource;\n iv: BufferSource;\n tagLength?: number;\n}\n\ninterface AesKeyAlgorithm extends KeyAlgorithm {\n length: number;\n}\n\ninterface AesKeyGenParams extends Algorithm {\n length: number;\n}\n\ninterface Algorithm {\n name: string;\n}\n\ninterface AnalyserOptions extends AudioNodeOptions {\n fftSize?: number;\n maxDecibels?: number;\n minDecibels?: number;\n smoothingTimeConstant?: number;\n}\n\ninterface AnimationEventInit extends EventInit {\n animationName?: string;\n elapsedTime?: number;\n pseudoElement?: string;\n}\n\ninterface AnimationPlaybackEventInit extends EventInit {\n currentTime?: number | null;\n timelineTime?: number | null;\n}\n\ninterface AssignedNodesOptions {\n flatten?: boolean;\n}\n\ninterface AudioBufferOptions {\n length: number;\n numberOfChannels?: number;\n sampleRate: number;\n}\n\ninterface AudioBufferSourceOptions {\n buffer?: AudioBuffer | null;\n detune?: number;\n loop?: boolean;\n loopEnd?: number;\n loopStart?: number;\n playbackRate?: number;\n}\n\ninterface AudioConfiguration {\n bitrate?: number;\n channels?: string;\n contentType: string;\n samplerate?: number;\n spatialRendering?: boolean;\n}\n\ninterface AudioContextOptions {\n latencyHint?: AudioContextLatencyCategory | number;\n sampleRate?: number;\n}\n\ninterface AudioNodeOptions {\n channelCount?: number;\n channelCountMode?: ChannelCountMode;\n channelInterpretation?: ChannelInterpretation;\n}\n\ninterface AudioProcessingEventInit extends EventInit {\n inputBuffer: AudioBuffer;\n outputBuffer: AudioBuffer;\n playbackTime: number;\n}\n\ninterface AudioTimestamp {\n contextTime?: number;\n performanceTime?: DOMHighResTimeStamp;\n}\n\ninterface AudioWorkletNodeOptions extends AudioNodeOptions {\n numberOfInputs?: number;\n numberOfOutputs?: number;\n outputChannelCount?: number[];\n parameterData?: Record<string, number>;\n processorOptions?: any;\n}\n\ninterface AuthenticationExtensionsClientInputs {\n appid?: string;\n appidExclude?: string;\n credProps?: boolean;\n uvm?: boolean;\n}\n\ninterface AuthenticationExtensionsClientOutputs {\n appid?: boolean;\n credProps?: CredentialPropertiesOutput;\n uvm?: UvmEntries;\n}\n\ninterface AuthenticatorSelectionCriteria {\n authenticatorAttachment?: AuthenticatorAttachment;\n requireResidentKey?: boolean;\n residentKey?: ResidentKeyRequirement;\n userVerification?: UserVerificationRequirement;\n}\n\ninterface BiquadFilterOptions extends AudioNodeOptions {\n Q?: number;\n detune?: number;\n frequency?: number;\n gain?: number;\n type?: BiquadFilterType;\n}\n\ninterface BlobEventInit {\n data: Blob;\n timecode?: DOMHighResTimeStamp;\n}\n\ninterface BlobPropertyBag {\n endings?: EndingType;\n type?: string;\n}\n\ninterface CSSStyleSheetInit {\n baseURL?: string;\n disabled?: boolean;\n media?: MediaList | string;\n}\n\ninterface CacheQueryOptions {\n ignoreMethod?: boolean;\n ignoreSearch?: boolean;\n ignoreVary?: boolean;\n}\n\ninterface CanvasRenderingContext2DSettings {\n alpha?: boolean;\n colorSpace?: PredefinedColorSpace;\n desynchronized?: boolean;\n willReadFrequently?: boolean;\n}\n\ninterface ChannelMergerOptions extends AudioNodeOptions {\n numberOfInputs?: number;\n}\n\ninterface ChannelSplitterOptions extends AudioNodeOptions {\n numberOfOutputs?: number;\n}\n\ninterface ClientQueryOptions {\n includeUncontrolled?: boolean;\n type?: ClientTypes;\n}\n\ninterface ClipboardEventInit extends EventInit {\n clipboardData?: DataTransfer | null;\n}\n\ninterface ClipboardItemOptions {\n presentationStyle?: PresentationStyle;\n}\n\ninterface CloseEventInit extends EventInit {\n code?: number;\n reason?: string;\n wasClean?: boolean;\n}\n\ninterface CompositionEventInit extends UIEventInit {\n data?: string;\n}\n\ninterface ComputedEffectTiming extends EffectTiming {\n activeDuration?: CSSNumberish;\n currentIteration?: number | null;\n endTime?: CSSNumberish;\n localTime?: CSSNumberish | null;\n progress?: CSSNumberish | null;\n startTime?: CSSNumberish;\n}\n\ninterface ComputedKeyframe {\n composite: CompositeOperationOrAuto;\n computedOffset: number;\n easing: string;\n offset: number | null;\n [property: string]: string | number | null | undefined;\n}\n\ninterface ConstantSourceOptions {\n offset?: number;\n}\n\ninterface ConstrainBooleanParameters {\n exact?: boolean;\n ideal?: boolean;\n}\n\ninterface ConstrainDOMStringParameters {\n exact?: string | string[];\n ideal?: string | string[];\n}\n\ninterface ConstrainDoubleRange extends DoubleRange {\n exact?: number;\n ideal?: number;\n}\n\ninterface ConstrainULongRange extends ULongRange {\n exact?: number;\n ideal?: number;\n}\n\ninterface ConvolverOptions extends AudioNodeOptions {\n buffer?: AudioBuffer | null;\n disableNormalization?: boolean;\n}\n\ninterface CredentialCreationOptions {\n publicKey?: PublicKeyCredentialCreationOptions;\n signal?: AbortSignal;\n}\n\ninterface CredentialPropertiesOutput {\n rk?: boolean;\n}\n\ninterface CredentialRequestOptions {\n mediation?: CredentialMediationRequirement;\n publicKey?: PublicKeyCredentialRequestOptions;\n signal?: AbortSignal;\n}\n\ninterface CryptoKeyPair {\n privateKey?: CryptoKey;\n publicKey?: CryptoKey;\n}\n\ninterface CustomEventInit<T = any> extends EventInit {\n detail?: T;\n}\n\ninterface DOMMatrix2DInit {\n a?: number;\n b?: number;\n c?: number;\n d?: number;\n e?: number;\n f?: number;\n m11?: number;\n m12?: number;\n m21?: number;\n m22?: number;\n m41?: number;\n m42?: number;\n}\n\ninterface DOMMatrixInit extends DOMMatrix2DInit {\n is2D?: boolean;\n m13?: number;\n m14?: number;\n m23?: number;\n m24?: number;\n m31?: number;\n m32?: number;\n m33?: number;\n m34?: number;\n m43?: number;\n m44?: number;\n}\n\ninterface DOMPointInit {\n w?: number;\n x?: number;\n y?: number;\n z?: number;\n}\n\ninterface DOMQuadInit {\n p1?: DOMPointInit;\n p2?: DOMPointInit;\n p3?: DOMPointInit;\n p4?: DOMPointInit;\n}\n\ninterface DOMRectInit {\n height?: number;\n width?: number;\n x?: number;\n y?: number;\n}\n\ninterface DelayOptions extends AudioNodeOptions {\n delayTime?: number;\n maxDelayTime?: number;\n}\n\ninterface DeviceMotionEventAccelerationInit {\n x?: number | null;\n y?: number | null;\n z?: number | null;\n}\n\ninterface DeviceMotionEventInit extends EventInit {\n acceleration?: DeviceMotionEventAccelerationInit;\n accelerationIncludingGravity?: DeviceMotionEventAccelerationInit;\n interval?: number;\n rotationRate?: DeviceMotionEventRotationRateInit;\n}\n\ninterface DeviceMotionEventRotationRateInit {\n alpha?: number | null;\n beta?: number | null;\n gamma?: number | null;\n}\n\ninterface DeviceOrientationEventInit extends EventInit {\n absolute?: boolean;\n alpha?: number | null;\n beta?: number | null;\n gamma?: number | null;\n}\n\ninterface DisplayMediaStreamConstraints {\n audio?: boolean | MediaTrackConstraints;\n video?: boolean | MediaTrackConstraints;\n}\n\ninterface DocumentTimelineOptions {\n originTime?: DOMHighResTimeStamp;\n}\n\ninterface DoubleRange {\n max?: number;\n min?: number;\n}\n\ninterface DragEventInit extends MouseEventInit {\n dataTransfer?: DataTransfer | null;\n}\n\ninterface DynamicsCompressorOptions extends AudioNodeOptions {\n attack?: number;\n knee?: number;\n ratio?: number;\n release?: number;\n threshold?: number;\n}\n\ninterface EcKeyAlgorithm extends KeyAlgorithm {\n namedCurve: NamedCurve;\n}\n\ninterface EcKeyGenParams extends Algorithm {\n namedCurve: NamedCurve;\n}\n\ninterface EcKeyImportParams extends Algorithm {\n namedCurve: NamedCurve;\n}\n\ninterface EcdhKeyDeriveParams extends Algorithm {\n public: CryptoKey;\n}\n\ninterface EcdsaParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n}\n\ninterface EffectTiming {\n delay?: number;\n direction?: PlaybackDirection;\n duration?: number | string;\n easing?: string;\n endDelay?: number;\n fill?: FillMode;\n iterationStart?: number;\n iterations?: number;\n playbackRate?: number;\n}\n\ninterface ElementCreationOptions {\n is?: string;\n}\n\ninterface ElementDefinitionOptions {\n extends?: string;\n}\n\ninterface ErrorEventInit extends EventInit {\n colno?: number;\n error?: any;\n filename?: string;\n lineno?: number;\n message?: string;\n}\n\ninterface EventInit {\n bubbles?: boolean;\n cancelable?: boolean;\n composed?: boolean;\n}\n\ninterface EventListenerOptions {\n capture?: boolean;\n}\n\ninterface EventModifierInit extends UIEventInit {\n altKey?: boolean;\n ctrlKey?: boolean;\n metaKey?: boolean;\n modifierAltGraph?: boolean;\n modifierCapsLock?: boolean;\n modifierFn?: boolean;\n modifierFnLock?: boolean;\n modifierHyper?: boolean;\n modifierNumLock?: boolean;\n modifierScrollLock?: boolean;\n modifierSuper?: boolean;\n modifierSymbol?: boolean;\n modifierSymbolLock?: boolean;\n shiftKey?: boolean;\n}\n\ninterface EventSourceInit {\n withCredentials?: boolean;\n}\n\ninterface FilePropertyBag extends BlobPropertyBag {\n lastModified?: number;\n}\n\ninterface FileSystemFlags {\n create?: boolean;\n exclusive?: boolean;\n}\n\ninterface FocusEventInit extends UIEventInit {\n relatedTarget?: EventTarget | null;\n}\n\ninterface FocusOptions {\n preventScroll?: boolean;\n}\n\ninterface FontFaceDescriptors {\n display?: string;\n featureSettings?: string;\n stretch?: string;\n style?: string;\n unicodeRange?: string;\n variant?: string;\n weight?: string;\n}\n\ninterface FontFaceSetLoadEventInit extends EventInit {\n fontfaces?: FontFace[];\n}\n\ninterface FormDataEventInit extends EventInit {\n formData: FormData;\n}\n\ninterface FullscreenOptions {\n navigationUI?: FullscreenNavigationUI;\n}\n\ninterface GainOptions extends AudioNodeOptions {\n gain?: number;\n}\n\ninterface GamepadEventInit extends EventInit {\n gamepad: Gamepad;\n}\n\ninterface GetAnimationsOptions {\n subtree?: boolean;\n}\n\ninterface GetNotificationOptions {\n tag?: string;\n}\n\ninterface GetRootNodeOptions {\n composed?: boolean;\n}\n\ninterface HashChangeEventInit extends EventInit {\n newURL?: string;\n oldURL?: string;\n}\n\ninterface HkdfParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n info: BufferSource;\n salt: BufferSource;\n}\n\ninterface HmacImportParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n length?: number;\n}\n\ninterface HmacKeyAlgorithm extends KeyAlgorithm {\n hash: KeyAlgorithm;\n length: number;\n}\n\ninterface HmacKeyGenParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n length?: number;\n}\n\ninterface IDBDatabaseInfo {\n name?: string;\n version?: number;\n}\n\ninterface IDBIndexParameters {\n multiEntry?: boolean;\n unique?: boolean;\n}\n\ninterface IDBObjectStoreParameters {\n autoIncrement?: boolean;\n keyPath?: string | string[] | null;\n}\n\ninterface IDBVersionChangeEventInit extends EventInit {\n newVersion?: number | null;\n oldVersion?: number;\n}\n\ninterface IIRFilterOptions extends AudioNodeOptions {\n feedback: number[];\n feedforward: number[];\n}\n\ninterface IdleRequestOptions {\n timeout?: number;\n}\n\ninterface ImageBitmapOptions {\n colorSpaceConversion?: ColorSpaceConversion;\n imageOrientation?: ImageOrientation;\n premultiplyAlpha?: PremultiplyAlpha;\n resizeHeight?: number;\n resizeQuality?: ResizeQuality;\n resizeWidth?: number;\n}\n\ninterface ImageBitmapRenderingContextSettings {\n alpha?: boolean;\n}\n\ninterface ImageDataSettings {\n colorSpace?: PredefinedColorSpace;\n}\n\ninterface ImportMeta {\n url: string;\n}\n\ninterface InputEventInit extends UIEventInit {\n data?: string | null;\n dataTransfer?: DataTransfer | null;\n inputType?: string;\n isComposing?: boolean;\n targetRanges?: StaticRange[];\n}\n\ninterface IntersectionObserverEntryInit {\n boundingClientRect: DOMRectInit;\n intersectionRatio: number;\n intersectionRect: DOMRectInit;\n isIntersecting: boolean;\n rootBounds: DOMRectInit | null;\n target: Element;\n time: DOMHighResTimeStamp;\n}\n\ninterface IntersectionObserverInit {\n root?: Element | Document | null;\n rootMargin?: string;\n threshold?: number | number[];\n}\n\ninterface JsonWebKey {\n alg?: string;\n crv?: string;\n d?: string;\n dp?: string;\n dq?: string;\n e?: string;\n ext?: boolean;\n k?: string;\n key_ops?: string[];\n kty?: string;\n n?: string;\n oth?: RsaOtherPrimesInfo[];\n p?: string;\n q?: string;\n qi?: string;\n use?: string;\n x?: string;\n y?: string;\n}\n\ninterface KeyAlgorithm {\n name: string;\n}\n\ninterface KeyboardEventInit extends EventModifierInit {\n /** @deprecated */\n charCode?: number;\n code?: string;\n isComposing?: boolean;\n key?: string;\n /** @deprecated */\n keyCode?: number;\n location?: number;\n repeat?: boolean;\n}\n\ninterface Keyframe {\n composite?: CompositeOperationOrAuto;\n easing?: string;\n offset?: number | null;\n [property: string]: string | number | null | undefined;\n}\n\ninterface KeyframeAnimationOptions extends KeyframeEffectOptions {\n id?: string;\n}\n\ninterface KeyframeEffectOptions extends EffectTiming {\n composite?: CompositeOperation;\n iterationComposite?: IterationCompositeOperation;\n pseudoElement?: string | null;\n}\n\ninterface MediaCapabilitiesDecodingInfo extends MediaCapabilitiesInfo {\n configuration?: MediaDecodingConfiguration;\n}\n\ninterface MediaCapabilitiesEncodingInfo extends MediaCapabilitiesInfo {\n configuration?: MediaEncodingConfiguration;\n}\n\ninterface MediaCapabilitiesInfo {\n powerEfficient: boolean;\n smooth: boolean;\n supported: boolean;\n}\n\ninterface MediaConfiguration {\n audio?: AudioConfiguration;\n video?: VideoConfiguration;\n}\n\ninterface MediaDecodingConfiguration extends MediaConfiguration {\n type: MediaDecodingType;\n}\n\ninterface MediaElementAudioSourceOptions {\n mediaElement: HTMLMediaElement;\n}\n\ninterface MediaEncodingConfiguration extends MediaConfiguration {\n type: MediaEncodingType;\n}\n\ninterface MediaEncryptedEventInit extends EventInit {\n initData?: ArrayBuffer | null;\n initDataType?: string;\n}\n\ninterface MediaImage {\n sizes?: string;\n src: string;\n type?: string;\n}\n\ninterface MediaKeyMessageEventInit extends EventInit {\n message: ArrayBuffer;\n messageType: MediaKeyMessageType;\n}\n\ninterface MediaKeySystemConfiguration {\n audioCapabilities?: MediaKeySystemMediaCapability[];\n distinctiveIdentifier?: MediaKeysRequirement;\n initDataTypes?: string[];\n label?: string;\n persistentState?: MediaKeysRequirement;\n sessionTypes?: string[];\n videoCapabilities?: MediaKeySystemMediaCapability[];\n}\n\ninterface MediaKeySystemMediaCapability {\n contentType?: string;\n encryptionScheme?: string | null;\n robustness?: string;\n}\n\ninterface MediaMetadataInit {\n album?: string;\n artist?: string;\n artwork?: MediaImage[];\n title?: string;\n}\n\ninterface MediaPositionState {\n duration?: number;\n playbackRate?: number;\n position?: number;\n}\n\ninterface MediaQueryListEventInit extends EventInit {\n matches?: boolean;\n media?: string;\n}\n\ninterface MediaRecorderErrorEventInit extends EventInit {\n error: DOMException;\n}\n\ninterface MediaRecorderOptions {\n audioBitsPerSecond?: number;\n bitsPerSecond?: number;\n mimeType?: string;\n videoBitsPerSecond?: number;\n}\n\ninterface MediaSessionActionDetails {\n action: MediaSessionAction;\n fastSeek?: boolean | null;\n seekOffset?: number | null;\n seekTime?: number | null;\n}\n\ninterface MediaStreamAudioSourceOptions {\n mediaStream: MediaStream;\n}\n\ninterface MediaStreamConstraints {\n audio?: boolean | MediaTrackConstraints;\n peerIdentity?: string;\n video?: boolean | MediaTrackConstraints;\n}\n\ninterface MediaStreamTrackEventInit extends EventInit {\n track: MediaStreamTrack;\n}\n\ninterface MediaTrackCapabilities {\n aspectRatio?: DoubleRange;\n autoGainControl?: boolean[];\n channelCount?: ULongRange;\n cursor?: string[];\n deviceId?: string;\n displaySurface?: string;\n echoCancellation?: boolean[];\n facingMode?: string[];\n frameRate?: DoubleRange;\n groupId?: string;\n height?: ULongRange;\n latency?: DoubleRange;\n logicalSurface?: boolean;\n noiseSuppression?: boolean[];\n resizeMode?: string[];\n sampleRate?: ULongRange;\n sampleSize?: ULongRange;\n width?: ULongRange;\n}\n\ninterface MediaTrackConstraintSet {\n aspectRatio?: ConstrainDouble;\n channelCount?: ConstrainULong;\n deviceId?: ConstrainDOMString;\n echoCancellation?: ConstrainBoolean;\n facingMode?: ConstrainDOMString;\n frameRate?: ConstrainDouble;\n groupId?: ConstrainDOMString;\n height?: ConstrainULong;\n latency?: ConstrainDouble;\n sampleRate?: ConstrainULong;\n sampleSize?: ConstrainULong;\n suppressLocalAudioPlayback?: ConstrainBoolean;\n width?: ConstrainULong;\n}\n\ninterface MediaTrackConstraints extends MediaTrackConstraintSet {\n advanced?: MediaTrackConstraintSet[];\n}\n\ninterface MediaTrackSettings {\n aspectRatio?: number;\n deviceId?: string;\n echoCancellation?: boolean;\n facingMode?: string;\n frameRate?: number;\n groupId?: string;\n height?: number;\n restrictOwnAudio?: boolean;\n sampleRate?: number;\n sampleSize?: number;\n width?: number;\n}\n\ninterface MediaTrackSupportedConstraints {\n aspectRatio?: boolean;\n deviceId?: boolean;\n echoCancellation?: boolean;\n facingMode?: boolean;\n frameRate?: boolean;\n groupId?: boolean;\n height?: boolean;\n sampleRate?: boolean;\n sampleSize?: boolean;\n suppressLocalAudioPlayback?: boolean;\n width?: boolean;\n}\n\ninterface MessageEventInit<T = any> extends EventInit {\n data?: T;\n lastEventId?: string;\n origin?: string;\n ports?: MessagePort[];\n source?: MessageEventSource | null;\n}\n\ninterface MouseEventInit extends EventModifierInit {\n button?: number;\n buttons?: number;\n clientX?: number;\n clientY?: number;\n movementX?: number;\n movementY?: number;\n relatedTarget?: EventTarget | null;\n screenX?: number;\n screenY?: number;\n}\n\ninterface MultiCacheQueryOptions extends CacheQueryOptions {\n cacheName?: string;\n}\n\ninterface MutationObserverInit {\n /**\n * 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.\n */\n attributeFilter?: string[];\n /**\n * Set to true if attributes is true or omitted and target\'s attribute value before the mutation needs to be recorded.\n */\n attributeOldValue?: boolean;\n /**\n * Set to true if mutations to target\'s attributes are to be observed. Can be omitted if attributeOldValue or attributeFilter is specified.\n */\n attributes?: boolean;\n /**\n * Set to true if mutations to target\'s data are to be observed. Can be omitted if characterDataOldValue is specified.\n */\n characterData?: boolean;\n /**\n * Set to true if characterData is set to true or omitted and target\'s data before the mutation needs to be recorded.\n */\n characterDataOldValue?: boolean;\n /**\n * Set to true if mutations to target\'s children are to be observed.\n */\n childList?: boolean;\n /**\n * Set to true if mutations to not just target, but also target\'s descendants are to be observed.\n */\n subtree?: boolean;\n}\n\ninterface NotificationAction {\n action: string;\n icon?: string;\n title: string;\n}\n\ninterface NotificationOptions {\n actions?: NotificationAction[];\n badge?: string;\n body?: string;\n data?: any;\n dir?: NotificationDirection;\n icon?: string;\n image?: string;\n lang?: string;\n renotify?: boolean;\n requireInteraction?: boolean;\n silent?: boolean;\n tag?: string;\n timestamp?: DOMTimeStamp;\n vibrate?: VibratePattern;\n}\n\ninterface OfflineAudioCompletionEventInit extends EventInit {\n renderedBuffer: AudioBuffer;\n}\n\ninterface OfflineAudioContextOptions {\n length: number;\n numberOfChannels?: number;\n sampleRate: number;\n}\n\ninterface OptionalEffectTiming {\n delay?: number;\n direction?: PlaybackDirection;\n duration?: number | string;\n easing?: string;\n endDelay?: number;\n fill?: FillMode;\n iterationStart?: number;\n iterations?: number;\n playbackRate?: number;\n}\n\ninterface OscillatorOptions extends AudioNodeOptions {\n detune?: number;\n frequency?: number;\n periodicWave?: PeriodicWave;\n type?: OscillatorType;\n}\n\ninterface PageTransitionEventInit extends EventInit {\n persisted?: boolean;\n}\n\ninterface PannerOptions extends AudioNodeOptions {\n coneInnerAngle?: number;\n coneOuterAngle?: number;\n coneOuterGain?: number;\n distanceModel?: DistanceModelType;\n maxDistance?: number;\n orientationX?: number;\n orientationY?: number;\n orientationZ?: number;\n panningModel?: PanningModelType;\n positionX?: number;\n positionY?: number;\n positionZ?: number;\n refDistance?: number;\n rolloffFactor?: number;\n}\n\ninterface PaymentCurrencyAmount {\n currency: string;\n value: string;\n}\n\ninterface PaymentDetailsBase {\n displayItems?: PaymentItem[];\n modifiers?: PaymentDetailsModifier[];\n}\n\ninterface PaymentDetailsInit extends PaymentDetailsBase {\n id?: string;\n total: PaymentItem;\n}\n\ninterface PaymentDetailsModifier {\n additionalDisplayItems?: PaymentItem[];\n data?: any;\n supportedMethods: string;\n total?: PaymentItem;\n}\n\ninterface PaymentDetailsUpdate extends PaymentDetailsBase {\n paymentMethodErrors?: any;\n total?: PaymentItem;\n}\n\ninterface PaymentItem {\n amount: PaymentCurrencyAmount;\n label: string;\n pending?: boolean;\n}\n\ninterface PaymentMethodChangeEventInit extends PaymentRequestUpdateEventInit {\n methodDetails?: any;\n methodName?: string;\n}\n\ninterface PaymentMethodData {\n data?: any;\n supportedMethods: string;\n}\n\ninterface PaymentRequestUpdateEventInit extends EventInit {\n}\n\ninterface PaymentValidationErrors {\n error?: string;\n paymentMethod?: any;\n}\n\ninterface Pbkdf2Params extends Algorithm {\n hash: HashAlgorithmIdentifier;\n iterations: number;\n salt: BufferSource;\n}\n\ninterface PerformanceMarkOptions {\n detail?: any;\n startTime?: DOMHighResTimeStamp;\n}\n\ninterface PerformanceMeasureOptions {\n detail?: any;\n duration?: DOMHighResTimeStamp;\n end?: string | DOMHighResTimeStamp;\n start?: string | DOMHighResTimeStamp;\n}\n\ninterface PerformanceObserverInit {\n buffered?: boolean;\n entryTypes?: string[];\n type?: string;\n}\n\ninterface PeriodicWaveConstraints {\n disableNormalization?: boolean;\n}\n\ninterface PeriodicWaveOptions extends PeriodicWaveConstraints {\n imag?: number[] | Float32Array;\n real?: number[] | Float32Array;\n}\n\ninterface PermissionDescriptor {\n name: PermissionName;\n}\n\ninterface PointerEventInit extends MouseEventInit {\n coalescedEvents?: PointerEvent[];\n height?: number;\n isPrimary?: boolean;\n pointerId?: number;\n pointerType?: string;\n predictedEvents?: PointerEvent[];\n pressure?: number;\n tangentialPressure?: number;\n tiltX?: number;\n tiltY?: number;\n twist?: number;\n width?: number;\n}\n\ninterface PopStateEventInit extends EventInit {\n state?: any;\n}\n\ninterface PositionOptions {\n enableHighAccuracy?: boolean;\n maximumAge?: number;\n timeout?: number;\n}\n\ninterface PostMessageOptions {\n transfer?: any[];\n}\n\ninterface ProgressEventInit extends EventInit {\n lengthComputable?: boolean;\n loaded?: number;\n total?: number;\n}\n\ninterface PromiseRejectionEventInit extends EventInit {\n promise: Promise<any>;\n reason?: any;\n}\n\ninterface PropertyIndexedKeyframes {\n composite?: CompositeOperationOrAuto | CompositeOperationOrAuto[];\n easing?: string | string[];\n offset?: number | (number | null)[];\n [property: string]: string | string[] | number | null | (number | null)[] | undefined;\n}\n\ninterface PublicKeyCredentialCreationOptions {\n attestation?: AttestationConveyancePreference;\n authenticatorSelection?: AuthenticatorSelectionCriteria;\n challenge: BufferSource;\n excludeCredentials?: PublicKeyCredentialDescriptor[];\n extensions?: AuthenticationExtensionsClientInputs;\n pubKeyCredParams: PublicKeyCredentialParameters[];\n rp: PublicKeyCredentialRpEntity;\n timeout?: number;\n user: PublicKeyCredentialUserEntity;\n}\n\ninterface PublicKeyCredentialDescriptor {\n id: BufferSource;\n transports?: AuthenticatorTransport[];\n type: PublicKeyCredentialType;\n}\n\ninterface PublicKeyCredentialEntity {\n name: string;\n}\n\ninterface PublicKeyCredentialParameters {\n alg: COSEAlgorithmIdentifier;\n type: PublicKeyCredentialType;\n}\n\ninterface PublicKeyCredentialRequestOptions {\n allowCredentials?: PublicKeyCredentialDescriptor[];\n challenge: BufferSource;\n extensions?: AuthenticationExtensionsClientInputs;\n rpId?: string;\n timeout?: number;\n userVerification?: UserVerificationRequirement;\n}\n\ninterface PublicKeyCredentialRpEntity extends PublicKeyCredentialEntity {\n id?: string;\n}\n\ninterface PublicKeyCredentialUserEntity extends PublicKeyCredentialEntity {\n displayName: string;\n id: BufferSource;\n}\n\ninterface PushSubscriptionJSON {\n endpoint?: string;\n expirationTime?: DOMTimeStamp | null;\n keys?: Record<string, string>;\n}\n\ninterface PushSubscriptionOptionsInit {\n applicationServerKey?: BufferSource | string | null;\n userVisibleOnly?: boolean;\n}\n\ninterface QueuingStrategy<T = any> {\n highWaterMark?: number;\n size?: QueuingStrategySize<T>;\n}\n\ninterface QueuingStrategyInit {\n /**\n * Creates a new ByteLengthQueuingStrategy with the provided high water mark.\n *\n * 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.\n */\n highWaterMark: number;\n}\n\ninterface RTCAnswerOptions extends RTCOfferAnswerOptions {\n}\n\ninterface RTCCertificateExpiration {\n expires?: DOMTimeStamp;\n}\n\ninterface RTCConfiguration {\n bundlePolicy?: RTCBundlePolicy;\n certificates?: RTCCertificate[];\n iceCandidatePoolSize?: number;\n iceServers?: RTCIceServer[];\n iceTransportPolicy?: RTCIceTransportPolicy;\n rtcpMuxPolicy?: RTCRtcpMuxPolicy;\n}\n\ninterface RTCDTMFToneChangeEventInit extends EventInit {\n tone?: string;\n}\n\ninterface RTCDataChannelEventInit extends EventInit {\n channel: RTCDataChannel;\n}\n\ninterface RTCDataChannelInit {\n id?: number;\n maxPacketLifeTime?: number;\n maxRetransmits?: number;\n negotiated?: boolean;\n ordered?: boolean;\n protocol?: string;\n}\n\ninterface RTCDtlsFingerprint {\n algorithm?: string;\n value?: string;\n}\n\ninterface RTCIceCandidateInit {\n candidate?: string;\n sdpMLineIndex?: number | null;\n sdpMid?: string | null;\n usernameFragment?: string | null;\n}\n\ninterface RTCIceCandidatePairStats extends RTCStats {\n availableIncomingBitrate?: number;\n availableOutgoingBitrate?: number;\n bytesReceived?: number;\n bytesSent?: number;\n currentRoundTripTime?: number;\n localCandidateId: string;\n nominated?: boolean;\n remoteCandidateId: string;\n requestsReceived?: number;\n requestsSent?: number;\n responsesReceived?: number;\n responsesSent?: number;\n state: RTCStatsIceCandidatePairState;\n totalRoundTripTime?: number;\n transportId: string;\n}\n\ninterface RTCIceServer {\n credential?: string;\n credentialType?: RTCIceCredentialType;\n urls: string | string[];\n username?: string;\n}\n\ninterface RTCInboundRtpStreamStats extends RTCReceivedRtpStreamStats {\n firCount?: number;\n framesDecoded?: number;\n nackCount?: number;\n pliCount?: number;\n qpSum?: number;\n remoteId?: string;\n}\n\ninterface RTCLocalSessionDescriptionInit {\n sdp?: string;\n type?: RTCSdpType;\n}\n\ninterface RTCOfferAnswerOptions {\n}\n\ninterface RTCOfferOptions extends RTCOfferAnswerOptions {\n iceRestart?: boolean;\n offerToReceiveAudio?: boolean;\n offerToReceiveVideo?: boolean;\n}\n\ninterface RTCOutboundRtpStreamStats extends RTCSentRtpStreamStats {\n firCount?: number;\n framesEncoded?: number;\n nackCount?: number;\n pliCount?: number;\n qpSum?: number;\n remoteId?: string;\n}\n\ninterface RTCPeerConnectionIceErrorEventInit extends EventInit {\n address?: string | null;\n errorCode: number;\n errorText?: string;\n port?: number | null;\n url?: string;\n}\n\ninterface RTCPeerConnectionIceEventInit extends EventInit {\n candidate?: RTCIceCandidate | null;\n url?: string | null;\n}\n\ninterface RTCReceivedRtpStreamStats extends RTCRtpStreamStats {\n jitter?: number;\n packetsDiscarded?: number;\n packetsLost?: number;\n packetsReceived?: number;\n}\n\ninterface RTCRtcpParameters {\n cname?: string;\n reducedSize?: boolean;\n}\n\ninterface RTCRtpCapabilities {\n codecs: RTCRtpCodecCapability[];\n headerExtensions: RTCRtpHeaderExtensionCapability[];\n}\n\ninterface RTCRtpCodecCapability {\n channels?: number;\n clockRate: number;\n mimeType: string;\n sdpFmtpLine?: string;\n}\n\ninterface RTCRtpCodecParameters {\n channels?: number;\n clockRate: number;\n mimeType: string;\n payloadType: number;\n sdpFmtpLine?: string;\n}\n\ninterface RTCRtpCodingParameters {\n rid?: string;\n}\n\ninterface RTCRtpContributingSource {\n audioLevel?: number;\n rtpTimestamp: number;\n source: number;\n timestamp: DOMHighResTimeStamp;\n}\n\ninterface RTCRtpEncodingParameters extends RTCRtpCodingParameters {\n active?: boolean;\n maxBitrate?: number;\n priority?: RTCPriorityType;\n scaleResolutionDownBy?: number;\n}\n\ninterface RTCRtpHeaderExtensionCapability {\n uri?: string;\n}\n\ninterface RTCRtpHeaderExtensionParameters {\n encrypted?: boolean;\n id: number;\n uri: string;\n}\n\ninterface RTCRtpParameters {\n codecs: RTCRtpCodecParameters[];\n headerExtensions: RTCRtpHeaderExtensionParameters[];\n rtcp: RTCRtcpParameters;\n}\n\ninterface RTCRtpReceiveParameters extends RTCRtpParameters {\n}\n\ninterface RTCRtpSendParameters extends RTCRtpParameters {\n degradationPreference?: RTCDegradationPreference;\n encodings: RTCRtpEncodingParameters[];\n transactionId: string;\n}\n\ninterface RTCRtpStreamStats extends RTCStats {\n codecId?: string;\n kind: string;\n ssrc: number;\n transportId?: string;\n}\n\ninterface RTCRtpSynchronizationSource extends RTCRtpContributingSource {\n}\n\ninterface RTCRtpTransceiverInit {\n direction?: RTCRtpTransceiverDirection;\n sendEncodings?: RTCRtpEncodingParameters[];\n streams?: MediaStream[];\n}\n\ninterface RTCSentRtpStreamStats extends RTCRtpStreamStats {\n bytesSent?: number;\n packetsSent?: number;\n}\n\ninterface RTCSessionDescriptionInit {\n sdp?: string;\n type: RTCSdpType;\n}\n\ninterface RTCStats {\n id: string;\n timestamp: DOMHighResTimeStamp;\n type: RTCStatsType;\n}\n\ninterface RTCTrackEventInit extends EventInit {\n receiver: RTCRtpReceiver;\n streams?: MediaStream[];\n track: MediaStreamTrack;\n transceiver: RTCRtpTransceiver;\n}\n\ninterface RTCTransportStats extends RTCStats {\n bytesReceived?: number;\n bytesSent?: number;\n dtlsCipher?: string;\n dtlsState: RTCDtlsTransportState;\n localCertificateId?: string;\n remoteCertificateId?: string;\n rtcpTransportStatsId?: string;\n selectedCandidatePairId?: string;\n srtpCipher?: string;\n tlsVersion?: string;\n}\n\ninterface ReadableStreamDefaultReadDoneResult {\n done: true;\n value?: undefined;\n}\n\ninterface ReadableStreamDefaultReadValueResult<T> {\n done: false;\n value: T;\n}\n\ninterface ReadableWritablePair<R = any, W = any> {\n readable: ReadableStream<R>;\n /**\n * 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.\n *\n * Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.\n */\n writable: WritableStream<W>;\n}\n\ninterface RegistrationOptions {\n scope?: string;\n type?: WorkerType;\n updateViaCache?: ServiceWorkerUpdateViaCache;\n}\n\ninterface RequestInit {\n /**\n * A BodyInit object or null to set request\'s body.\n */\n body?: BodyInit | null;\n /**\n * A string indicating how the request will interact with the browser\'s cache to set request\'s cache.\n */\n cache?: RequestCache;\n /**\n * 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.\n */\n credentials?: RequestCredentials;\n /**\n * A Headers object, an object literal, or an array of two-item arrays to set request\'s headers.\n */\n headers?: HeadersInit;\n /**\n * A cryptographic hash of the resource to be fetched by request. Sets request\'s integrity.\n */\n integrity?: string;\n /**\n * A boolean to set request\'s keepalive.\n */\n keepalive?: boolean;\n /**\n * A string to set request\'s method.\n */\n method?: string;\n /**\n * A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request\'s mode.\n */\n mode?: RequestMode;\n /**\n * 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.\n */\n redirect?: RequestRedirect;\n /**\n * A string whose value is a same-origin URL, "about:client", or the empty string, to set request\'s referrer.\n */\n referrer?: string;\n /**\n * A referrer policy to set request\'s referrerPolicy.\n */\n referrerPolicy?: ReferrerPolicy;\n /**\n * An AbortSignal to set request\'s signal.\n */\n signal?: AbortSignal | null;\n /**\n * Can only be null. Used to disassociate request from any Window.\n */\n window?: any;\n}\n\ninterface ResizeObserverOptions {\n box?: ResizeObserverBoxOptions;\n}\n\ninterface ResponseInit {\n headers?: HeadersInit;\n status?: number;\n statusText?: string;\n}\n\ninterface RsaHashedImportParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n}\n\ninterface RsaHashedKeyAlgorithm extends RsaKeyAlgorithm {\n hash: KeyAlgorithm;\n}\n\ninterface RsaHashedKeyGenParams extends RsaKeyGenParams {\n hash: HashAlgorithmIdentifier;\n}\n\ninterface RsaKeyAlgorithm extends KeyAlgorithm {\n modulusLength: number;\n publicExponent: BigInteger;\n}\n\ninterface RsaKeyGenParams extends Algorithm {\n modulusLength: number;\n publicExponent: BigInteger;\n}\n\ninterface RsaOaepParams extends Algorithm {\n label?: BufferSource;\n}\n\ninterface RsaOtherPrimesInfo {\n d?: string;\n r?: string;\n t?: string;\n}\n\ninterface RsaPssParams extends Algorithm {\n saltLength: number;\n}\n\ninterface SVGBoundingBoxOptions {\n clipped?: boolean;\n fill?: boolean;\n markers?: boolean;\n stroke?: boolean;\n}\n\ninterface ScrollIntoViewOptions extends ScrollOptions {\n block?: ScrollLogicalPosition;\n inline?: ScrollLogicalPosition;\n}\n\ninterface ScrollOptions {\n behavior?: ScrollBehavior;\n}\n\ninterface ScrollToOptions extends ScrollOptions {\n left?: number;\n top?: number;\n}\n\ninterface SecurityPolicyViolationEventInit extends EventInit {\n blockedURI?: string;\n columnNumber?: number;\n disposition: SecurityPolicyViolationEventDisposition;\n documentURI: string;\n effectiveDirective: string;\n lineNumber?: number;\n originalPolicy: string;\n referrer?: string;\n sample?: string;\n sourceFile?: string;\n statusCode: number;\n violatedDirective: string;\n}\n\ninterface ShadowRootInit {\n delegatesFocus?: boolean;\n mode: ShadowRootMode;\n slotAssignment?: SlotAssignmentMode;\n}\n\ninterface ShareData {\n files?: File[];\n text?: string;\n title?: string;\n url?: string;\n}\n\ninterface SpeechSynthesisErrorEventInit extends SpeechSynthesisEventInit {\n error: SpeechSynthesisErrorCode;\n}\n\ninterface SpeechSynthesisEventInit extends EventInit {\n charIndex?: number;\n charLength?: number;\n elapsedTime?: number;\n name?: string;\n utterance: SpeechSynthesisUtterance;\n}\n\ninterface StaticRangeInit {\n endContainer: Node;\n endOffset: number;\n startContainer: Node;\n startOffset: number;\n}\n\ninterface StereoPannerOptions extends AudioNodeOptions {\n pan?: number;\n}\n\ninterface StorageEstimate {\n quota?: number;\n usage?: number;\n}\n\ninterface StorageEventInit extends EventInit {\n key?: string | null;\n newValue?: string | null;\n oldValue?: string | null;\n storageArea?: Storage | null;\n url?: string;\n}\n\ninterface StreamPipeOptions {\n preventAbort?: boolean;\n preventCancel?: boolean;\n /**\n * 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.\n *\n * Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.\n *\n * Errors and closures of the source and destination streams propagate as follows:\n *\n * 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.\n *\n * 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.\n *\n * 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.\n *\n * 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.\n *\n * 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.\n */\n preventClose?: boolean;\n signal?: AbortSignal;\n}\n\ninterface SubmitEventInit extends EventInit {\n submitter?: HTMLElement | null;\n}\n\ninterface TextDecodeOptions {\n stream?: boolean;\n}\n\ninterface TextDecoderOptions {\n fatal?: boolean;\n ignoreBOM?: boolean;\n}\n\ninterface TextEncoderEncodeIntoResult {\n read?: number;\n written?: number;\n}\n\ninterface TouchEventInit extends EventModifierInit {\n changedTouches?: Touch[];\n targetTouches?: Touch[];\n touches?: Touch[];\n}\n\ninterface TouchInit {\n altitudeAngle?: number;\n azimuthAngle?: number;\n clientX?: number;\n clientY?: number;\n force?: number;\n identifier: number;\n pageX?: number;\n pageY?: number;\n radiusX?: number;\n radiusY?: number;\n rotationAngle?: number;\n screenX?: number;\n screenY?: number;\n target: EventTarget;\n touchType?: TouchType;\n}\n\ninterface TrackEventInit extends EventInit {\n track?: TextTrack | null;\n}\n\ninterface Transformer<I = any, O = any> {\n flush?: TransformerFlushCallback<O>;\n readableType?: undefined;\n start?: TransformerStartCallback<O>;\n transform?: TransformerTransformCallback<I, O>;\n writableType?: undefined;\n}\n\ninterface TransitionEventInit extends EventInit {\n elapsedTime?: number;\n propertyName?: string;\n pseudoElement?: string;\n}\n\ninterface UIEventInit extends EventInit {\n detail?: number;\n view?: Window | null;\n /** @deprecated */\n which?: number;\n}\n\ninterface ULongRange {\n max?: number;\n min?: number;\n}\n\ninterface UnderlyingSink<W = any> {\n abort?: UnderlyingSinkAbortCallback;\n close?: UnderlyingSinkCloseCallback;\n start?: UnderlyingSinkStartCallback;\n type?: undefined;\n write?: UnderlyingSinkWriteCallback<W>;\n}\n\ninterface UnderlyingSource<R = any> {\n cancel?: UnderlyingSourceCancelCallback;\n pull?: UnderlyingSourcePullCallback<R>;\n start?: UnderlyingSourceStartCallback<R>;\n type?: undefined;\n}\n\ninterface VideoConfiguration {\n bitrate: number;\n colorGamut?: ColorGamut;\n contentType: string;\n framerate: number;\n hdrMetadataType?: HdrMetadataType;\n height: number;\n scalabilityMode?: string;\n transferFunction?: TransferFunction;\n width: number;\n}\n\ninterface WaveShaperOptions extends AudioNodeOptions {\n curve?: number[] | Float32Array;\n oversample?: OverSampleType;\n}\n\ninterface WebGLContextAttributes {\n alpha?: boolean;\n antialias?: boolean;\n depth?: boolean;\n desynchronized?: boolean;\n failIfMajorPerformanceCaveat?: boolean;\n powerPreference?: WebGLPowerPreference;\n premultipliedAlpha?: boolean;\n preserveDrawingBuffer?: boolean;\n stencil?: boolean;\n}\n\ninterface WebGLContextEventInit extends EventInit {\n statusMessage?: string;\n}\n\ninterface WheelEventInit extends MouseEventInit {\n deltaMode?: number;\n deltaX?: number;\n deltaY?: number;\n deltaZ?: number;\n}\n\ninterface WindowPostMessageOptions extends PostMessageOptions {\n targetOrigin?: string;\n}\n\ninterface WorkerOptions {\n credentials?: RequestCredentials;\n name?: string;\n type?: WorkerType;\n}\n\ninterface WorkletOptions {\n credentials?: RequestCredentials;\n}\n\ntype NodeFilter = ((node: Node) => number) | { acceptNode(node: Node): number; };\n\ndeclare var NodeFilter: {\n readonly FILTER_ACCEPT: number;\n readonly FILTER_REJECT: number;\n readonly FILTER_SKIP: number;\n readonly SHOW_ALL: number;\n readonly SHOW_ATTRIBUTE: number;\n readonly SHOW_CDATA_SECTION: number;\n readonly SHOW_COMMENT: number;\n readonly SHOW_DOCUMENT: number;\n readonly SHOW_DOCUMENT_FRAGMENT: number;\n readonly SHOW_DOCUMENT_TYPE: number;\n readonly SHOW_ELEMENT: number;\n readonly SHOW_ENTITY: number;\n readonly SHOW_ENTITY_REFERENCE: number;\n readonly SHOW_NOTATION: number;\n readonly SHOW_PROCESSING_INSTRUCTION: number;\n readonly SHOW_TEXT: number;\n};\n\ntype XPathNSResolver = ((prefix: string | null) => string | null) | { lookupNamespaceURI(prefix: string | null): string | null; };\n\n/** 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. */\ninterface ANGLE_instanced_arrays {\n drawArraysInstancedANGLE(mode: GLenum, first: GLint, count: GLsizei, primcount: GLsizei): void;\n drawElementsInstancedANGLE(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, primcount: GLsizei): void;\n vertexAttribDivisorANGLE(index: GLuint, divisor: GLuint): void;\n readonly VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: GLenum;\n}\n\ninterface ARIAMixin {\n ariaAtomic: string;\n ariaAutoComplete: string;\n ariaBusy: string;\n ariaChecked: string;\n ariaColCount: string;\n ariaColIndex: string;\n ariaColSpan: string;\n ariaCurrent: string;\n ariaDisabled: string;\n ariaExpanded: string;\n ariaHasPopup: string;\n ariaHidden: string;\n ariaKeyShortcuts: string;\n ariaLabel: string;\n ariaLevel: string;\n ariaLive: string;\n ariaModal: string;\n ariaMultiLine: string;\n ariaMultiSelectable: string;\n ariaOrientation: string;\n ariaPlaceholder: string;\n ariaPosInSet: string;\n ariaPressed: string;\n ariaReadOnly: string;\n ariaRequired: string;\n ariaRoleDescription: string;\n ariaRowCount: string;\n ariaRowIndex: string;\n ariaRowSpan: string;\n ariaSelected: string;\n ariaSetSize: string;\n ariaSort: string;\n ariaValueMax: string;\n ariaValueMin: string;\n ariaValueNow: string;\n ariaValueText: string;\n}\n\n/** A controller object that allows you to abort one or more DOM requests as and when desired. */\ninterface AbortController {\n /**\n * Returns the AbortSignal object associated with this object.\n */\n readonly signal: AbortSignal;\n /**\n * 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.\n */\n abort(): void;\n}\n\ndeclare var AbortController: {\n prototype: AbortController;\n new(): AbortController;\n};\n\ninterface AbortSignalEventMap {\n "abort": Event;\n}\n\n/** 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. */\ninterface AbortSignal extends EventTarget {\n /**\n * Returns true if this AbortSignal\'s AbortController has signaled to abort, and false otherwise.\n */\n readonly aborted: boolean;\n onabort: ((this: AbortSignal, ev: Event) => any) | null;\n addEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AbortSignal: {\n prototype: AbortSignal;\n new(): AbortSignal;\n};\n\ninterface AbstractRange {\n /**\n * Returns true if range is collapsed, and false otherwise.\n */\n readonly collapsed: boolean;\n /**\n * Returns range\'s end node.\n */\n readonly endContainer: Node;\n /**\n * Returns range\'s end offset.\n */\n readonly endOffset: number;\n /**\n * Returns range\'s start node.\n */\n readonly startContainer: Node;\n /**\n * Returns range\'s start offset.\n */\n readonly startOffset: number;\n}\n\ndeclare var AbstractRange: {\n prototype: AbstractRange;\n new(): AbstractRange;\n};\n\ninterface AbstractWorkerEventMap {\n "error": ErrorEvent;\n}\n\ninterface AbstractWorker {\n onerror: ((this: AbstractWorker, ev: ErrorEvent) => any) | null;\n addEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\n/** 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. */\ninterface AnalyserNode extends AudioNode {\n fftSize: number;\n readonly frequencyBinCount: number;\n maxDecibels: number;\n minDecibels: number;\n smoothingTimeConstant: number;\n getByteFrequencyData(array: Uint8Array): void;\n getByteTimeDomainData(array: Uint8Array): void;\n getFloatFrequencyData(array: Float32Array): void;\n getFloatTimeDomainData(array: Float32Array): void;\n}\n\ndeclare var AnalyserNode: {\n prototype: AnalyserNode;\n new(context: BaseAudioContext, options?: AnalyserOptions): AnalyserNode;\n};\n\ninterface Animatable {\n animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;\n getAnimations(options?: GetAnimationsOptions): Animation[];\n}\n\ninterface AnimationEventMap {\n "cancel": AnimationPlaybackEvent;\n "finish": AnimationPlaybackEvent;\n "remove": Event;\n}\n\ninterface Animation extends EventTarget {\n currentTime: number | null;\n effect: AnimationEffect | null;\n readonly finished: Promise<Animation>;\n id: string;\n oncancel: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null;\n onfinish: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null;\n onremove: ((this: Animation, ev: Event) => any) | null;\n readonly pending: boolean;\n readonly playState: AnimationPlayState;\n playbackRate: number;\n readonly ready: Promise<Animation>;\n readonly replaceState: AnimationReplaceState;\n startTime: number | null;\n timeline: AnimationTimeline | null;\n cancel(): void;\n commitStyles(): void;\n finish(): void;\n pause(): void;\n persist(): void;\n play(): void;\n reverse(): void;\n updatePlaybackRate(playbackRate: number): void;\n addEventListener<K extends keyof AnimationEventMap>(type: K, listener: (this: Animation, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AnimationEventMap>(type: K, listener: (this: Animation, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Animation: {\n prototype: Animation;\n new(effect?: AnimationEffect | null, timeline?: AnimationTimeline | null): Animation;\n};\n\ninterface AnimationEffect {\n getComputedTiming(): ComputedEffectTiming;\n getTiming(): EffectTiming;\n updateTiming(timing?: OptionalEffectTiming): void;\n}\n\ndeclare var AnimationEffect: {\n prototype: AnimationEffect;\n new(): AnimationEffect;\n};\n\n/** Events providing information related to animations. */\ninterface AnimationEvent extends Event {\n readonly animationName: string;\n readonly elapsedTime: number;\n readonly pseudoElement: string;\n}\n\ndeclare var AnimationEvent: {\n prototype: AnimationEvent;\n new(type: string, animationEventInitDict?: AnimationEventInit): AnimationEvent;\n};\n\ninterface AnimationFrameProvider {\n cancelAnimationFrame(handle: number): void;\n requestAnimationFrame(callback: FrameRequestCallback): number;\n}\n\ninterface AnimationPlaybackEvent extends Event {\n readonly currentTime: number | null;\n readonly timelineTime: number | null;\n}\n\ndeclare var AnimationPlaybackEvent: {\n prototype: AnimationPlaybackEvent;\n new(type: string, eventInitDict?: AnimationPlaybackEventInit): AnimationPlaybackEvent;\n};\n\ninterface AnimationTimeline {\n readonly currentTime: number | null;\n}\n\ndeclare var AnimationTimeline: {\n prototype: AnimationTimeline;\n new(): AnimationTimeline;\n};\n\n/** 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. */\ninterface Attr extends Node {\n readonly localName: string;\n readonly name: string;\n readonly namespaceURI: string | null;\n readonly ownerDocument: Document;\n readonly ownerElement: Element | null;\n readonly prefix: string | null;\n readonly specified: boolean;\n value: string;\n}\n\ndeclare var Attr: {\n prototype: Attr;\n new(): Attr;\n};\n\n/** 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. */\ninterface AudioBuffer {\n readonly duration: number;\n readonly length: number;\n readonly numberOfChannels: number;\n readonly sampleRate: number;\n copyFromChannel(destination: Float32Array, channelNumber: number, bufferOffset?: number): void;\n copyToChannel(source: Float32Array, channelNumber: number, bufferOffset?: number): void;\n getChannelData(channel: number): Float32Array;\n}\n\ndeclare var AudioBuffer: {\n prototype: AudioBuffer;\n new(options: AudioBufferOptions): AudioBuffer;\n};\n\n/** 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. */\ninterface AudioBufferSourceNode extends AudioScheduledSourceNode {\n buffer: AudioBuffer | null;\n readonly detune: AudioParam;\n loop: boolean;\n loopEnd: number;\n loopStart: number;\n readonly playbackRate: AudioParam;\n start(when?: number, offset?: number, duration?: number): void;\n addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioBufferSourceNode: {\n prototype: AudioBufferSourceNode;\n new(context: BaseAudioContext, options?: AudioBufferSourceOptions): AudioBufferSourceNode;\n};\n\n/** An audio-processing graph built from audio modules linked together, each represented by an AudioNode. */\ninterface AudioContext extends BaseAudioContext {\n readonly baseLatency: number;\n close(): Promise<void>;\n createMediaElementSource(mediaElement: HTMLMediaElement): MediaElementAudioSourceNode;\n createMediaStreamDestination(): MediaStreamAudioDestinationNode;\n createMediaStreamSource(mediaStream: MediaStream): MediaStreamAudioSourceNode;\n getOutputTimestamp(): AudioTimestamp;\n resume(): Promise<void>;\n suspend(): Promise<void>;\n addEventListener<K extends keyof BaseAudioContextEventMap>(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof BaseAudioContextEventMap>(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioContext: {\n prototype: AudioContext;\n new(contextOptions?: AudioContextOptions): AudioContext;\n};\n\n/** 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. */\ninterface AudioDestinationNode extends AudioNode {\n readonly maxChannelCount: number;\n}\n\ndeclare var AudioDestinationNode: {\n prototype: AudioDestinationNode;\n new(): AudioDestinationNode;\n};\n\n/** 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. */\ninterface AudioListener {\n readonly forwardX: AudioParam;\n readonly forwardY: AudioParam;\n readonly forwardZ: AudioParam;\n readonly positionX: AudioParam;\n readonly positionY: AudioParam;\n readonly positionZ: AudioParam;\n readonly upX: AudioParam;\n readonly upY: AudioParam;\n readonly upZ: AudioParam;\n /** @deprecated */\n setOrientation(x: number, y: number, z: number, xUp: number, yUp: number, zUp: number): void;\n /** @deprecated */\n setPosition(x: number, y: number, z: number): void;\n}\n\ndeclare var AudioListener: {\n prototype: AudioListener;\n new(): AudioListener;\n};\n\n/** A generic interface for representing an audio processing module. Examples include: */\ninterface AudioNode extends EventTarget {\n channelCount: number;\n channelCountMode: ChannelCountMode;\n channelInterpretation: ChannelInterpretation;\n readonly context: BaseAudioContext;\n readonly numberOfInputs: number;\n readonly numberOfOutputs: number;\n connect(destinationNode: AudioNode, output?: number, input?: number): AudioNode;\n connect(destinationParam: AudioParam, output?: number): void;\n disconnect(): void;\n disconnect(output: number): void;\n disconnect(destinationNode: AudioNode): void;\n disconnect(destinationNode: AudioNode, output: number): void;\n disconnect(destinationNode: AudioNode, output: number, input: number): void;\n disconnect(destinationParam: AudioParam): void;\n disconnect(destinationParam: AudioParam, output: number): void;\n}\n\ndeclare var AudioNode: {\n prototype: AudioNode;\n new(): AudioNode;\n};\n\n/** The Web Audio API\'s AudioParam interface represents an audio-related parameter, usually a parameter of an AudioNode (such as GainNode.gain). */\ninterface AudioParam {\n automationRate: AutomationRate;\n readonly defaultValue: number;\n readonly maxValue: number;\n readonly minValue: number;\n value: number;\n cancelAndHoldAtTime(cancelTime: number): AudioParam;\n cancelScheduledValues(cancelTime: number): AudioParam;\n exponentialRampToValueAtTime(value: number, endTime: number): AudioParam;\n linearRampToValueAtTime(value: number, endTime: number): AudioParam;\n setTargetAtTime(target: number, startTime: number, timeConstant: number): AudioParam;\n setValueAtTime(value: number, startTime: number): AudioParam;\n setValueCurveAtTime(values: number[] | Float32Array, startTime: number, duration: number): AudioParam;\n}\n\ndeclare var AudioParam: {\n prototype: AudioParam;\n new(): AudioParam;\n};\n\ninterface AudioParamMap {\n forEach(callbackfn: (value: AudioParam, key: string, parent: AudioParamMap) => void, thisArg?: any): void;\n}\n\ndeclare var AudioParamMap: {\n prototype: AudioParamMap;\n new(): AudioParamMap;\n};\n\n/**\n * The Web Audio API events that occur when a ScriptProcessorNode input buffer is ready to be processed.\n * @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.\n */\ninterface AudioProcessingEvent extends Event {\n /** @deprecated */\n readonly inputBuffer: AudioBuffer;\n /** @deprecated */\n readonly outputBuffer: AudioBuffer;\n /** @deprecated */\n readonly playbackTime: number;\n}\n\n/** @deprecated */\ndeclare var AudioProcessingEvent: {\n prototype: AudioProcessingEvent;\n new(type: string, eventInitDict: AudioProcessingEventInit): AudioProcessingEvent;\n};\n\ninterface AudioScheduledSourceNodeEventMap {\n "ended": Event;\n}\n\ninterface AudioScheduledSourceNode extends AudioNode {\n onended: ((this: AudioScheduledSourceNode, ev: Event) => any) | null;\n start(when?: number): void;\n stop(when?: number): void;\n addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioScheduledSourceNode: {\n prototype: AudioScheduledSourceNode;\n new(): AudioScheduledSourceNode;\n};\n\ninterface AudioWorklet extends Worklet {\n}\n\ndeclare var AudioWorklet: {\n prototype: AudioWorklet;\n new(): AudioWorklet;\n};\n\ninterface AudioWorkletNodeEventMap {\n "processorerror": Event;\n}\n\ninterface AudioWorkletNode extends AudioNode {\n onprocessorerror: ((this: AudioWorkletNode, ev: Event) => any) | null;\n readonly parameters: AudioParamMap;\n readonly port: MessagePort;\n addEventListener<K extends keyof AudioWorkletNodeEventMap>(type: K, listener: (this: AudioWorkletNode, ev: AudioWorkletNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AudioWorkletNodeEventMap>(type: K, listener: (this: AudioWorkletNode, ev: AudioWorkletNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioWorkletNode: {\n prototype: AudioWorkletNode;\n new(context: BaseAudioContext, name: string, options?: AudioWorkletNodeOptions): AudioWorkletNode;\n};\n\ninterface AuthenticatorAssertionResponse extends AuthenticatorResponse {\n readonly authenticatorData: ArrayBuffer;\n readonly signature: ArrayBuffer;\n readonly userHandle: ArrayBuffer | null;\n}\n\ndeclare var AuthenticatorAssertionResponse: {\n prototype: AuthenticatorAssertionResponse;\n new(): AuthenticatorAssertionResponse;\n};\n\ninterface AuthenticatorAttestationResponse extends AuthenticatorResponse {\n readonly attestationObject: ArrayBuffer;\n}\n\ndeclare var AuthenticatorAttestationResponse: {\n prototype: AuthenticatorAttestationResponse;\n new(): AuthenticatorAttestationResponse;\n};\n\ninterface AuthenticatorResponse {\n readonly clientDataJSON: ArrayBuffer;\n}\n\ndeclare var AuthenticatorResponse: {\n prototype: AuthenticatorResponse;\n new(): AuthenticatorResponse;\n};\n\ninterface BarProp {\n readonly visible: boolean;\n}\n\ndeclare var BarProp: {\n prototype: BarProp;\n new(): BarProp;\n};\n\ninterface BaseAudioContextEventMap {\n "statechange": Event;\n}\n\ninterface BaseAudioContext extends EventTarget {\n readonly audioWorklet: AudioWorklet;\n readonly currentTime: number;\n readonly destination: AudioDestinationNode;\n readonly listener: AudioListener;\n onstatechange: ((this: BaseAudioContext, ev: Event) => any) | null;\n readonly sampleRate: number;\n readonly state: AudioContextState;\n createAnalyser(): AnalyserNode;\n createBiquadFilter(): BiquadFilterNode;\n createBuffer(numberOfChannels: number, length: number, sampleRate: number): AudioBuffer;\n createBufferSource(): AudioBufferSourceNode;\n createChannelMerger(numberOfInputs?: number): ChannelMergerNode;\n createChannelSplitter(numberOfOutputs?: number): ChannelSplitterNode;\n createConstantSource(): ConstantSourceNode;\n createConvolver(): ConvolverNode;\n createDelay(maxDelayTime?: number): DelayNode;\n createDynamicsCompressor(): DynamicsCompressorNode;\n createGain(): GainNode;\n createIIRFilter(feedforward: number[], feedback: number[]): IIRFilterNode;\n createOscillator(): OscillatorNode;\n createPanner(): PannerNode;\n createPeriodicWave(real: number[] | Float32Array, imag: number[] | Float32Array, constraints?: PeriodicWaveConstraints): PeriodicWave;\n /** @deprecated */\n createScriptProcessor(bufferSize?: number, numberOfInputChannels?: number, numberOfOutputChannels?: number): ScriptProcessorNode;\n createStereoPanner(): StereoPannerNode;\n createWaveShaper(): WaveShaperNode;\n decodeAudioData(audioData: ArrayBuffer, successCallback?: DecodeSuccessCallback | null, errorCallback?: DecodeErrorCallback | null): Promise<AudioBuffer>;\n addEventListener<K extends keyof BaseAudioContextEventMap>(type: K, listener: (this: BaseAudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof BaseAudioContextEventMap>(type: K, listener: (this: BaseAudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var BaseAudioContext: {\n prototype: BaseAudioContext;\n new(): BaseAudioContext;\n};\n\n/** The beforeunload event is fired when the window, the document and its resources are about to be unloaded. */\ninterface BeforeUnloadEvent extends Event {\n returnValue: any;\n}\n\ndeclare var BeforeUnloadEvent: {\n prototype: BeforeUnloadEvent;\n new(): BeforeUnloadEvent;\n};\n\n/** 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. */\ninterface BiquadFilterNode extends AudioNode {\n readonly Q: AudioParam;\n readonly detune: AudioParam;\n readonly frequency: AudioParam;\n readonly gain: AudioParam;\n type: BiquadFilterType;\n getFrequencyResponse(frequencyHz: Float32Array, magResponse: Float32Array, phaseResponse: Float32Array): void;\n}\n\ndeclare var BiquadFilterNode: {\n prototype: BiquadFilterNode;\n new(context: BaseAudioContext, options?: BiquadFilterOptions): BiquadFilterNode;\n};\n\n/** 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. */\ninterface Blob {\n readonly size: number;\n readonly type: string;\n arrayBuffer(): Promise<ArrayBuffer>;\n slice(start?: number, end?: number, contentType?: string): Blob;\n stream(): ReadableStream;\n text(): Promise<string>;\n}\n\ndeclare var Blob: {\n prototype: Blob;\n new(blobParts?: BlobPart[], options?: BlobPropertyBag): Blob;\n};\n\ninterface BlobEvent extends Event {\n readonly data: Blob;\n readonly timecode: DOMHighResTimeStamp;\n}\n\ndeclare var BlobEvent: {\n prototype: BlobEvent;\n new(type: string, eventInitDict: BlobEventInit): BlobEvent;\n};\n\ninterface Body {\n readonly body: ReadableStream<Uint8Array> | null;\n readonly bodyUsed: boolean;\n arrayBuffer(): Promise<ArrayBuffer>;\n blob(): Promise<Blob>;\n formData(): Promise<FormData>;\n json(): Promise<any>;\n text(): Promise<string>;\n}\n\ninterface BroadcastChannelEventMap {\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\ninterface BroadcastChannel extends EventTarget {\n /**\n * Returns the channel name (as passed to the constructor).\n */\n readonly name: string;\n onmessage: ((this: BroadcastChannel, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: BroadcastChannel, ev: MessageEvent) => any) | null;\n /**\n * Closes the BroadcastChannel object, opening it up to garbage collection.\n */\n close(): void;\n /**\n * Sends the given message to other BroadcastChannel objects set up for this channel. Messages can be structured objects, e.g. nested objects and arrays.\n */\n postMessage(message: any): void;\n addEventListener<K extends keyof BroadcastChannelEventMap>(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof BroadcastChannelEventMap>(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var BroadcastChannel: {\n prototype: BroadcastChannel;\n new(name: string): BroadcastChannel;\n};\n\n/** This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams. */\ninterface ByteLengthQueuingStrategy extends QueuingStrategy<ArrayBufferView> {\n readonly highWaterMark: number;\n readonly size: QueuingStrategySize<ArrayBufferView>;\n}\n\ndeclare var ByteLengthQueuingStrategy: {\n prototype: ByteLengthQueuingStrategy;\n new(init: QueuingStrategyInit): ByteLengthQueuingStrategy;\n};\n\n/** A CDATA section that can be used within XML to include extended portions of unescaped text. The symbols < and & dont need escaping as they normally do when inside a CDATA section. */\ninterface CDATASection extends Text {\n}\n\ndeclare var CDATASection: {\n prototype: CDATASection;\n new(): CDATASection;\n};\n\ninterface CSSAnimation extends Animation {\n readonly animationName: string;\n addEventListener<K extends keyof AnimationEventMap>(type: K, listener: (this: CSSAnimation, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AnimationEventMap>(type: K, listener: (this: CSSAnimation, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var CSSAnimation: {\n prototype: CSSAnimation;\n new(): CSSAnimation;\n};\n\n/** A single condition CSS at-rule, which consists of a condition and a statement block. It is a child of CSSGroupingRule. */\ninterface CSSConditionRule extends CSSGroupingRule {\n conditionText: string;\n}\n\ndeclare var CSSConditionRule: {\n prototype: CSSConditionRule;\n new(): CSSConditionRule;\n};\n\ninterface CSSCounterStyleRule extends CSSRule {\n additiveSymbols: string;\n fallback: string;\n name: string;\n negative: string;\n pad: string;\n prefix: string;\n range: string;\n speakAs: string;\n suffix: string;\n symbols: string;\n system: string;\n}\n\ndeclare var CSSCounterStyleRule: {\n prototype: CSSCounterStyleRule;\n new(): CSSCounterStyleRule;\n};\n\ninterface CSSFontFaceRule extends CSSRule {\n readonly style: CSSStyleDeclaration;\n}\n\ndeclare var CSSFontFaceRule: {\n prototype: CSSFontFaceRule;\n new(): CSSFontFaceRule;\n};\n\n/** Any CSS at-rule that contains other rules nested within it. */\ninterface CSSGroupingRule extends CSSRule {\n readonly cssRules: CSSRuleList;\n deleteRule(index: number): void;\n insertRule(rule: string, index?: number): number;\n}\n\ndeclare var CSSGroupingRule: {\n prototype: CSSGroupingRule;\n new(): CSSGroupingRule;\n};\n\ninterface CSSImportRule extends CSSRule {\n readonly href: string;\n readonly media: MediaList;\n readonly styleSheet: CSSStyleSheet;\n}\n\ndeclare var CSSImportRule: {\n prototype: CSSImportRule;\n new(): CSSImportRule;\n};\n\n/** 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). */\ninterface CSSKeyframeRule extends CSSRule {\n keyText: string;\n readonly style: CSSStyleDeclaration;\n}\n\ndeclare var CSSKeyframeRule: {\n prototype: CSSKeyframeRule;\n new(): CSSKeyframeRule;\n};\n\n/** 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). */\ninterface CSSKeyframesRule extends CSSRule {\n readonly cssRules: CSSRuleList;\n name: string;\n appendRule(rule: string): void;\n deleteRule(select: string): void;\n findRule(select: string): CSSKeyframeRule | null;\n}\n\ndeclare var CSSKeyframesRule: {\n prototype: CSSKeyframesRule;\n new(): CSSKeyframesRule;\n};\n\n/** 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). */\ninterface CSSMediaRule extends CSSConditionRule {\n readonly media: MediaList;\n}\n\ndeclare var CSSMediaRule: {\n prototype: CSSMediaRule;\n new(): CSSMediaRule;\n};\n\n/** An object representing a single CSS @namespace at-rule. It implements the CSSRule interface, with a type value of 10 (CSSRule.NAMESPACE_RULE). */\ninterface CSSNamespaceRule extends CSSRule {\n readonly namespaceURI: string;\n readonly prefix: string;\n}\n\ndeclare var CSSNamespaceRule: {\n prototype: CSSNamespaceRule;\n new(): CSSNamespaceRule;\n};\n\n/** CSSPageRule is an interface representing a single CSS @page rule. It implements the CSSRule interface with a type value of 6 (CSSRule.PAGE_RULE). */\ninterface CSSPageRule extends CSSGroupingRule {\n selectorText: string;\n readonly style: CSSStyleDeclaration;\n}\n\ndeclare var CSSPageRule: {\n prototype: CSSPageRule;\n new(): CSSPageRule;\n};\n\n/** A single CSS rule. There are several types of rules, listed in the Type constants section below. */\ninterface CSSRule {\n cssText: string;\n readonly parentRule: CSSRule | null;\n readonly parentStyleSheet: CSSStyleSheet | null;\n /** @deprecated */\n readonly type: number;\n readonly CHARSET_RULE: number;\n readonly FONT_FACE_RULE: number;\n readonly IMPORT_RULE: number;\n readonly KEYFRAMES_RULE: number;\n readonly KEYFRAME_RULE: number;\n readonly MEDIA_RULE: number;\n readonly NAMESPACE_RULE: number;\n readonly PAGE_RULE: number;\n readonly STYLE_RULE: number;\n readonly SUPPORTS_RULE: number;\n}\n\ndeclare var CSSRule: {\n prototype: CSSRule;\n new(): CSSRule;\n readonly CHARSET_RULE: number;\n readonly FONT_FACE_RULE: number;\n readonly IMPORT_RULE: number;\n readonly KEYFRAMES_RULE: number;\n readonly KEYFRAME_RULE: number;\n readonly MEDIA_RULE: number;\n readonly NAMESPACE_RULE: number;\n readonly PAGE_RULE: number;\n readonly STYLE_RULE: number;\n readonly SUPPORTS_RULE: number;\n};\n\n/** A CSSRuleList is an (indirect-modify only) array-like object containing an ordered collection of CSSRule objects. */\ninterface CSSRuleList {\n readonly length: number;\n item(index: number): CSSRule | null;\n [index: number]: CSSRule;\n}\n\ndeclare var CSSRuleList: {\n prototype: CSSRuleList;\n new(): CSSRuleList;\n};\n\n/** An object that is a CSS declaration block, and exposes style information and various style-related methods and properties. */\ninterface CSSStyleDeclaration {\n alignContent: string;\n alignItems: string;\n alignSelf: string;\n alignmentBaseline: string;\n all: string;\n animation: string;\n animationDelay: string;\n animationDirection: string;\n animationDuration: string;\n animationFillMode: string;\n animationIterationCount: string;\n animationName: string;\n animationPlayState: string;\n animationTimingFunction: string;\n appearance: string;\n aspectRatio: string;\n backfaceVisibility: string;\n background: string;\n backgroundAttachment: string;\n backgroundBlendMode: string;\n backgroundClip: string;\n backgroundColor: string;\n backgroundImage: string;\n backgroundOrigin: string;\n backgroundPosition: string;\n backgroundPositionX: string;\n backgroundPositionY: string;\n backgroundRepeat: string;\n backgroundSize: string;\n baselineShift: string;\n blockSize: string;\n border: string;\n borderBlock: string;\n borderBlockColor: string;\n borderBlockEnd: string;\n borderBlockEndColor: string;\n borderBlockEndStyle: string;\n borderBlockEndWidth: string;\n borderBlockStart: string;\n borderBlockStartColor: string;\n borderBlockStartStyle: string;\n borderBlockStartWidth: string;\n borderBlockStyle: string;\n borderBlockWidth: string;\n borderBottom: string;\n borderBottomColor: string;\n borderBottomLeftRadius: string;\n borderBottomRightRadius: string;\n borderBottomStyle: string;\n borderBottomWidth: string;\n borderCollapse: string;\n borderColor: string;\n borderEndEndRadius: string;\n borderEndStartRadius: string;\n borderImage: string;\n borderImageOutset: string;\n borderImageRepeat: string;\n borderImageSlice: string;\n borderImageSource: string;\n borderImageWidth: string;\n borderInline: string;\n borderInlineColor: string;\n borderInlineEnd: string;\n borderInlineEndColor: string;\n borderInlineEndStyle: string;\n borderInlineEndWidth: string;\n borderInlineStart: string;\n borderInlineStartColor: string;\n borderInlineStartStyle: string;\n borderInlineStartWidth: string;\n borderInlineStyle: string;\n borderInlineWidth: string;\n borderLeft: string;\n borderLeftColor: string;\n borderLeftStyle: string;\n borderLeftWidth: string;\n borderRadius: string;\n borderRight: string;\n borderRightColor: string;\n borderRightStyle: string;\n borderRightWidth: string;\n borderSpacing: string;\n borderStartEndRadius: string;\n borderStartStartRadius: string;\n borderStyle: string;\n borderTop: string;\n borderTopColor: string;\n borderTopLeftRadius: string;\n borderTopRightRadius: string;\n borderTopStyle: string;\n borderTopWidth: string;\n borderWidth: string;\n bottom: string;\n boxShadow: string;\n boxSizing: string;\n breakAfter: string;\n breakBefore: string;\n breakInside: string;\n captionSide: string;\n caretColor: string;\n clear: string;\n /** @deprecated */\n clip: string;\n clipPath: string;\n clipRule: string;\n color: string;\n colorInterpolation: string;\n colorInterpolationFilters: string;\n colorScheme: string;\n columnCount: string;\n columnFill: string;\n columnGap: string;\n columnRule: string;\n columnRuleColor: string;\n columnRuleStyle: string;\n columnRuleWidth: string;\n columnSpan: string;\n columnWidth: string;\n columns: string;\n contain: string;\n content: string;\n counterIncrement: string;\n counterReset: string;\n counterSet: string;\n cssFloat: string;\n cssText: string;\n cursor: string;\n direction: string;\n display: string;\n dominantBaseline: string;\n emptyCells: string;\n fill: string;\n fillOpacity: string;\n fillRule: string;\n filter: string;\n flex: string;\n flexBasis: string;\n flexDirection: string;\n flexFlow: string;\n flexGrow: string;\n flexShrink: string;\n flexWrap: string;\n float: string;\n floodColor: string;\n floodOpacity: string;\n font: string;\n fontFamily: string;\n fontFeatureSettings: string;\n fontKerning: string;\n fontOpticalSizing: string;\n fontSize: string;\n fontSizeAdjust: string;\n fontStretch: string;\n fontStyle: string;\n fontSynthesis: string;\n fontVariant: string;\n /** @deprecated */\n fontVariantAlternates: string;\n fontVariantCaps: string;\n fontVariantEastAsian: string;\n fontVariantLigatures: string;\n fontVariantNumeric: string;\n fontVariantPosition: string;\n fontVariationSettings: string;\n fontWeight: string;\n gap: string;\n grid: string;\n gridArea: string;\n gridAutoColumns: string;\n gridAutoFlow: string;\n gridAutoRows: string;\n gridColumn: string;\n gridColumnEnd: string;\n gridColumnGap: string;\n gridColumnStart: string;\n gridGap: string;\n gridRow: string;\n gridRowEnd: string;\n gridRowGap: string;\n gridRowStart: string;\n gridTemplate: string;\n gridTemplateAreas: string;\n gridTemplateColumns: string;\n gridTemplateRows: string;\n height: string;\n hyphens: string;\n /** @deprecated */\n imageOrientation: string;\n imageRendering: string;\n inlineSize: string;\n inset: string;\n insetBlock: string;\n insetBlockEnd: string;\n insetBlockStart: string;\n insetInline: string;\n insetInlineEnd: string;\n insetInlineStart: string;\n isolation: string;\n justifyContent: string;\n justifyItems: string;\n justifySelf: string;\n left: string;\n readonly length: number;\n letterSpacing: string;\n lightingColor: string;\n lineBreak: string;\n lineHeight: string;\n listStyle: string;\n listStyleImage: string;\n listStylePosition: string;\n listStyleType: string;\n margin: string;\n marginBlock: string;\n marginBlockEnd: string;\n marginBlockStart: string;\n marginBottom: string;\n marginInline: string;\n marginInlineEnd: string;\n marginInlineStart: string;\n marginLeft: string;\n marginRight: string;\n marginTop: string;\n marker: string;\n markerEnd: string;\n markerMid: string;\n markerStart: string;\n mask: string;\n maskType: string;\n maxBlockSize: string;\n maxHeight: string;\n maxInlineSize: string;\n maxWidth: string;\n minBlockSize: string;\n minHeight: string;\n minInlineSize: string;\n minWidth: string;\n mixBlendMode: string;\n objectFit: string;\n objectPosition: string;\n offset: string;\n offsetAnchor: string;\n offsetDistance: string;\n offsetPath: string;\n offsetRotate: string;\n opacity: string;\n order: string;\n orphans: string;\n outline: string;\n outlineColor: string;\n outlineOffset: string;\n outlineStyle: string;\n outlineWidth: string;\n overflow: string;\n overflowAnchor: string;\n overflowWrap: string;\n overflowX: string;\n overflowY: string;\n overscrollBehavior: string;\n overscrollBehaviorBlock: string;\n overscrollBehaviorInline: string;\n overscrollBehaviorX: string;\n overscrollBehaviorY: string;\n padding: string;\n paddingBlock: string;\n paddingBlockEnd: string;\n paddingBlockStart: string;\n paddingBottom: string;\n paddingInline: string;\n paddingInlineEnd: string;\n paddingInlineStart: string;\n paddingLeft: string;\n paddingRight: string;\n paddingTop: string;\n pageBreakAfter: string;\n pageBreakBefore: string;\n pageBreakInside: string;\n paintOrder: string;\n readonly parentRule: CSSRule | null;\n perspective: string;\n perspectiveOrigin: string;\n placeContent: string;\n placeItems: string;\n placeSelf: string;\n pointerEvents: string;\n position: string;\n quotes: string;\n resize: string;\n right: string;\n rotate: string;\n rowGap: string;\n rubyPosition: string;\n scale: string;\n scrollBehavior: string;\n scrollMargin: string;\n scrollMarginBlock: string;\n scrollMarginBlockEnd: string;\n scrollMarginBlockStart: string;\n scrollMarginBottom: string;\n scrollMarginInline: string;\n scrollMarginInlineEnd: string;\n scrollMarginInlineStart: string;\n scrollMarginLeft: string;\n scrollMarginRight: string;\n scrollMarginTop: string;\n scrollPadding: string;\n scrollPaddingBlock: string;\n scrollPaddingBlockEnd: string;\n scrollPaddingBlockStart: string;\n scrollPaddingBottom: string;\n scrollPaddingInline: string;\n scrollPaddingInlineEnd: string;\n scrollPaddingInlineStart: string;\n scrollPaddingLeft: string;\n scrollPaddingRight: string;\n scrollPaddingTop: string;\n scrollSnapAlign: string;\n scrollSnapStop: string;\n scrollSnapType: string;\n shapeImageThreshold: string;\n shapeMargin: string;\n shapeOutside: string;\n shapeRendering: string;\n stopColor: string;\n stopOpacity: string;\n stroke: string;\n strokeDasharray: string;\n strokeDashoffset: string;\n strokeLinecap: string;\n strokeLinejoin: string;\n strokeMiterlimit: string;\n strokeOpacity: string;\n strokeWidth: string;\n tabSize: string;\n tableLayout: string;\n textAlign: string;\n textAlignLast: string;\n textAnchor: string;\n textCombineUpright: string;\n textDecoration: string;\n textDecorationColor: string;\n textDecorationLine: string;\n textDecorationSkipInk: string;\n textDecorationStyle: string;\n textDecorationThickness: string;\n textEmphasis: string;\n textEmphasisColor: string;\n textEmphasisPosition: string;\n textEmphasisStyle: string;\n textIndent: string;\n textOrientation: string;\n textOverflow: string;\n textRendering: string;\n textShadow: string;\n textTransform: string;\n textUnderlineOffset: string;\n textUnderlinePosition: string;\n top: string;\n touchAction: string;\n transform: string;\n transformBox: string;\n transformOrigin: string;\n transformStyle: string;\n transition: string;\n transitionDelay: string;\n transitionDuration: string;\n transitionProperty: string;\n transitionTimingFunction: string;\n translate: string;\n unicodeBidi: string;\n userSelect: string;\n verticalAlign: string;\n visibility: string;\n /** @deprecated This is a legacy alias of `alignContent`. */\n webkitAlignContent: string;\n /** @deprecated This is a legacy alias of `alignItems`. */\n webkitAlignItems: string;\n /** @deprecated This is a legacy alias of `alignSelf`. */\n webkitAlignSelf: string;\n /** @deprecated This is a legacy alias of `animation`. */\n webkitAnimation: string;\n /** @deprecated This is a legacy alias of `animationDelay`. */\n webkitAnimationDelay: string;\n /** @deprecated This is a legacy alias of `animationDirection`. */\n webkitAnimationDirection: string;\n /** @deprecated This is a legacy alias of `animationDuration`. */\n webkitAnimationDuration: string;\n /** @deprecated This is a legacy alias of `animationFillMode`. */\n webkitAnimationFillMode: string;\n /** @deprecated This is a legacy alias of `animationIterationCount`. */\n webkitAnimationIterationCount: string;\n /** @deprecated This is a legacy alias of `animationName`. */\n webkitAnimationName: string;\n /** @deprecated This is a legacy alias of `animationPlayState`. */\n webkitAnimationPlayState: string;\n /** @deprecated This is a legacy alias of `animationTimingFunction`. */\n webkitAnimationTimingFunction: string;\n /** @deprecated This is a legacy alias of `appearance`. */\n webkitAppearance: string;\n /** @deprecated This is a legacy alias of `backfaceVisibility`. */\n webkitBackfaceVisibility: string;\n /** @deprecated This is a legacy alias of `backgroundClip`. */\n webkitBackgroundClip: string;\n /** @deprecated This is a legacy alias of `backgroundOrigin`. */\n webkitBackgroundOrigin: string;\n /** @deprecated This is a legacy alias of `backgroundSize`. */\n webkitBackgroundSize: string;\n /** @deprecated This is a legacy alias of `borderBottomLeftRadius`. */\n webkitBorderBottomLeftRadius: string;\n /** @deprecated This is a legacy alias of `borderBottomRightRadius`. */\n webkitBorderBottomRightRadius: string;\n /** @deprecated This is a legacy alias of `borderRadius`. */\n webkitBorderRadius: string;\n /** @deprecated This is a legacy alias of `borderTopLeftRadius`. */\n webkitBorderTopLeftRadius: string;\n /** @deprecated This is a legacy alias of `borderTopRightRadius`. */\n webkitBorderTopRightRadius: string;\n /** @deprecated */\n webkitBoxAlign: string;\n /** @deprecated */\n webkitBoxFlex: string;\n /** @deprecated */\n webkitBoxOrdinalGroup: string;\n /** @deprecated */\n webkitBoxOrient: string;\n /** @deprecated */\n webkitBoxPack: string;\n /** @deprecated This is a legacy alias of `boxShadow`. */\n webkitBoxShadow: string;\n /** @deprecated This is a legacy alias of `boxSizing`. */\n webkitBoxSizing: string;\n /** @deprecated This is a legacy alias of `filter`. */\n webkitFilter: string;\n /** @deprecated This is a legacy alias of `flex`. */\n webkitFlex: string;\n /** @deprecated This is a legacy alias of `flexBasis`. */\n webkitFlexBasis: string;\n /** @deprecated This is a legacy alias of `flexDirection`. */\n webkitFlexDirection: string;\n /** @deprecated This is a legacy alias of `flexFlow`. */\n webkitFlexFlow: string;\n /** @deprecated This is a legacy alias of `flexGrow`. */\n webkitFlexGrow: string;\n /** @deprecated This is a legacy alias of `flexShrink`. */\n webkitFlexShrink: string;\n /** @deprecated This is a legacy alias of `flexWrap`. */\n webkitFlexWrap: string;\n /** @deprecated This is a legacy alias of `justifyContent`. */\n webkitJustifyContent: string;\n webkitLineClamp: string;\n /** @deprecated This is a legacy alias of `mask`. */\n webkitMask: string;\n /** @deprecated This is a legacy alias of `maskBorder`. */\n webkitMaskBoxImage: string;\n /** @deprecated This is a legacy alias of `maskBorderOutset`. */\n webkitMaskBoxImageOutset: string;\n /** @deprecated This is a legacy alias of `maskBorderRepeat`. */\n webkitMaskBoxImageRepeat: string;\n /** @deprecated This is a legacy alias of `maskBorderSlice`. */\n webkitMaskBoxImageSlice: string;\n /** @deprecated This is a legacy alias of `maskBorderSource`. */\n webkitMaskBoxImageSource: string;\n /** @deprecated This is a legacy alias of `maskBorderWidth`. */\n webkitMaskBoxImageWidth: string;\n /** @deprecated This is a legacy alias of `maskClip`. */\n webkitMaskClip: string;\n webkitMaskComposite: string;\n /** @deprecated This is a legacy alias of `maskImage`. */\n webkitMaskImage: string;\n /** @deprecated This is a legacy alias of `maskOrigin`. */\n webkitMaskOrigin: string;\n /** @deprecated This is a legacy alias of `maskPosition`. */\n webkitMaskPosition: string;\n /** @deprecated This is a legacy alias of `maskRepeat`. */\n webkitMaskRepeat: string;\n /** @deprecated This is a legacy alias of `maskSize`. */\n webkitMaskSize: string;\n /** @deprecated This is a legacy alias of `order`. */\n webkitOrder: string;\n /** @deprecated This is a legacy alias of `perspective`. */\n webkitPerspective: string;\n /** @deprecated This is a legacy alias of `perspectiveOrigin`. */\n webkitPerspectiveOrigin: string;\n webkitTextFillColor: string;\n webkitTextStroke: string;\n webkitTextStrokeColor: string;\n webkitTextStrokeWidth: string;\n /** @deprecated This is a legacy alias of `transform`. */\n webkitTransform: string;\n /** @deprecated This is a legacy alias of `transformOrigin`. */\n webkitTransformOrigin: string;\n /** @deprecated This is a legacy alias of `transformStyle`. */\n webkitTransformStyle: string;\n /** @deprecated This is a legacy alias of `transition`. */\n webkitTransition: string;\n /** @deprecated This is a legacy alias of `transitionDelay`. */\n webkitTransitionDelay: string;\n /** @deprecated This is a legacy alias of `transitionDuration`. */\n webkitTransitionDuration: string;\n /** @deprecated This is a legacy alias of `transitionProperty`. */\n webkitTransitionProperty: string;\n /** @deprecated This is a legacy alias of `transitionTimingFunction`. */\n webkitTransitionTimingFunction: string;\n /** @deprecated This is a legacy alias of `userSelect`. */\n webkitUserSelect: string;\n whiteSpace: string;\n widows: string;\n width: string;\n willChange: string;\n wordBreak: string;\n wordSpacing: string;\n /** @deprecated */\n wordWrap: string;\n writingMode: string;\n zIndex: string;\n getPropertyPriority(property: string): string;\n getPropertyValue(property: string): string;\n item(index: number): string;\n removeProperty(property: string): string;\n setProperty(property: string, value: string | null, priority?: string): void;\n [index: number]: string;\n}\n\ndeclare var CSSStyleDeclaration: {\n prototype: CSSStyleDeclaration;\n new(): CSSStyleDeclaration;\n};\n\n/** CSSStyleRule represents a single CSS style rule. It implements the CSSRule interface with a type value of 1 (CSSRule.STYLE_RULE). */\ninterface CSSStyleRule extends CSSRule {\n selectorText: string;\n readonly style: CSSStyleDeclaration;\n}\n\ndeclare var CSSStyleRule: {\n prototype: CSSStyleRule;\n new(): CSSStyleRule;\n};\n\n/** A single CSS style sheet. It inherits properties and methods from its parent, StyleSheet. */\ninterface CSSStyleSheet extends StyleSheet {\n readonly cssRules: CSSRuleList;\n readonly ownerRule: CSSRule | null;\n /** @deprecated */\n readonly rules: CSSRuleList;\n /** @deprecated */\n addRule(selector?: string, style?: string, index?: number): number;\n deleteRule(index: number): void;\n insertRule(rule: string, index?: number): number;\n /** @deprecated */\n removeRule(index?: number): void;\n}\n\ndeclare var CSSStyleSheet: {\n prototype: CSSStyleSheet;\n new(options?: CSSStyleSheetInit): CSSStyleSheet;\n};\n\n/** 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). */\ninterface CSSSupportsRule extends CSSConditionRule {\n}\n\ndeclare var CSSSupportsRule: {\n prototype: CSSSupportsRule;\n new(): CSSSupportsRule;\n};\n\ninterface CSSTransition extends Animation {\n readonly transitionProperty: string;\n addEventListener<K extends keyof AnimationEventMap>(type: K, listener: (this: CSSTransition, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AnimationEventMap>(type: K, listener: (this: CSSTransition, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var CSSTransition: {\n prototype: CSSTransition;\n new(): CSSTransition;\n};\n\n/** 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. */\ninterface Cache {\n add(request: RequestInfo): Promise<void>;\n addAll(requests: RequestInfo[]): Promise<void>;\n delete(request: RequestInfo, options?: CacheQueryOptions): Promise<boolean>;\n keys(request?: RequestInfo, options?: CacheQueryOptions): Promise<ReadonlyArray<Request>>;\n match(request: RequestInfo, options?: CacheQueryOptions): Promise<Response | undefined>;\n matchAll(request?: RequestInfo, options?: CacheQueryOptions): Promise<ReadonlyArray<Response>>;\n put(request: RequestInfo, response: Response): Promise<void>;\n}\n\ndeclare var Cache: {\n prototype: Cache;\n new(): Cache;\n};\n\n/** The storage for Cache objects. */\ninterface CacheStorage {\n delete(cacheName: string): Promise<boolean>;\n has(cacheName: string): Promise<boolean>;\n keys(): Promise<string[]>;\n match(request: RequestInfo, options?: MultiCacheQueryOptions): Promise<Response | undefined>;\n open(cacheName: string): Promise<Cache>;\n}\n\ndeclare var CacheStorage: {\n prototype: CacheStorage;\n new(): CacheStorage;\n};\n\ninterface CanvasCompositing {\n globalAlpha: number;\n globalCompositeOperation: string;\n}\n\ninterface CanvasDrawImage {\n drawImage(image: CanvasImageSource, dx: number, dy: number): void;\n drawImage(image: CanvasImageSource, dx: number, dy: number, dw: number, dh: number): void;\n drawImage(image: CanvasImageSource, sx: number, sy: number, sw: number, sh: number, dx: number, dy: number, dw: number, dh: number): void;\n}\n\ninterface CanvasDrawPath {\n beginPath(): void;\n clip(fillRule?: CanvasFillRule): void;\n clip(path: Path2D, fillRule?: CanvasFillRule): void;\n fill(fillRule?: CanvasFillRule): void;\n fill(path: Path2D, fillRule?: CanvasFillRule): void;\n isPointInPath(x: number, y: number, fillRule?: CanvasFillRule): boolean;\n isPointInPath(path: Path2D, x: number, y: number, fillRule?: CanvasFillRule): boolean;\n isPointInStroke(x: number, y: number): boolean;\n isPointInStroke(path: Path2D, x: number, y: number): boolean;\n stroke(): void;\n stroke(path: Path2D): void;\n}\n\ninterface CanvasFillStrokeStyles {\n fillStyle: string | CanvasGradient | CanvasPattern;\n strokeStyle: string | CanvasGradient | CanvasPattern;\n createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient;\n createPattern(image: CanvasImageSource, repetition: string | null): CanvasPattern | null;\n createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient;\n}\n\ninterface CanvasFilters {\n filter: string;\n}\n\n/** An opaque object describing a gradient. It is returned by the methods CanvasRenderingContext2D.createLinearGradient() or CanvasRenderingContext2D.createRadialGradient(). */\ninterface CanvasGradient {\n /**\n * 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.\n *\n * Throws an "IndexSizeError" DOMException if the offset is out of range. Throws a "SyntaxError" DOMException if the color cannot be parsed.\n */\n addColorStop(offset: number, color: string): void;\n}\n\ndeclare var CanvasGradient: {\n prototype: CanvasGradient;\n new(): CanvasGradient;\n};\n\ninterface CanvasImageData {\n createImageData(sw: number, sh: number, settings?: ImageDataSettings): ImageData;\n createImageData(imagedata: ImageData): ImageData;\n getImageData(sx: number, sy: number, sw: number, sh: number, settings?: ImageDataSettings): ImageData;\n putImageData(imagedata: ImageData, dx: number, dy: number): void;\n putImageData(imagedata: ImageData, dx: number, dy: number, dirtyX: number, dirtyY: number, dirtyWidth: number, dirtyHeight: number): void;\n}\n\ninterface CanvasImageSmoothing {\n imageSmoothingEnabled: boolean;\n imageSmoothingQuality: ImageSmoothingQuality;\n}\n\ninterface CanvasPath {\n arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void;\n arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): void;\n bezierCurveTo(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void;\n closePath(): void;\n ellipse(x: number, y: number, radiusX: number, radiusY: number, rotation: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void;\n lineTo(x: number, y: number): void;\n moveTo(x: number, y: number): void;\n quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void;\n rect(x: number, y: number, w: number, h: number): void;\n}\n\ninterface CanvasPathDrawingStyles {\n lineCap: CanvasLineCap;\n lineDashOffset: number;\n lineJoin: CanvasLineJoin;\n lineWidth: number;\n miterLimit: number;\n getLineDash(): number[];\n setLineDash(segments: number[]): void;\n}\n\n/** An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method. */\ninterface CanvasPattern {\n /**\n * Sets the transformation matrix that will be used when rendering the pattern during a fill or stroke painting operation.\n */\n setTransform(transform?: DOMMatrix2DInit): void;\n}\n\ndeclare var CanvasPattern: {\n prototype: CanvasPattern;\n new(): CanvasPattern;\n};\n\ninterface CanvasRect {\n clearRect(x: number, y: number, w: number, h: number): void;\n fillRect(x: number, y: number, w: number, h: number): void;\n strokeRect(x: number, y: number, w: number, h: number): void;\n}\n\n/** The CanvasRenderingContext2D interface, part of the Canvas API, provides the 2D rendering context for the drawing surface of a <canvas> element. It is used for drawing shapes, text, images, and other objects. */\ninterface CanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform, CanvasUserInterface {\n readonly canvas: HTMLCanvasElement;\n getContextAttributes(): CanvasRenderingContext2DSettings;\n}\n\ndeclare var CanvasRenderingContext2D: {\n prototype: CanvasRenderingContext2D;\n new(): CanvasRenderingContext2D;\n};\n\ninterface CanvasShadowStyles {\n shadowBlur: number;\n shadowColor: string;\n shadowOffsetX: number;\n shadowOffsetY: number;\n}\n\ninterface CanvasState {\n restore(): void;\n save(): void;\n}\n\ninterface CanvasText {\n fillText(text: string, x: number, y: number, maxWidth?: number): void;\n measureText(text: string): TextMetrics;\n strokeText(text: string, x: number, y: number, maxWidth?: number): void;\n}\n\ninterface CanvasTextDrawingStyles {\n direction: CanvasDirection;\n font: string;\n textAlign: CanvasTextAlign;\n textBaseline: CanvasTextBaseline;\n}\n\ninterface CanvasTransform {\n getTransform(): DOMMatrix;\n resetTransform(): void;\n rotate(angle: number): void;\n scale(x: number, y: number): void;\n setTransform(a: number, b: number, c: number, d: number, e: number, f: number): void;\n setTransform(transform?: DOMMatrix2DInit): void;\n transform(a: number, b: number, c: number, d: number, e: number, f: number): void;\n translate(x: number, y: number): void;\n}\n\ninterface CanvasUserInterface {\n drawFocusIfNeeded(element: Element): void;\n drawFocusIfNeeded(path: Path2D, element: Element): void;\n}\n\n/** 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. */\ninterface ChannelMergerNode extends AudioNode {\n}\n\ndeclare var ChannelMergerNode: {\n prototype: ChannelMergerNode;\n new(context: BaseAudioContext, options?: ChannelMergerOptions): ChannelMergerNode;\n};\n\n/** 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. */\ninterface ChannelSplitterNode extends AudioNode {\n}\n\ndeclare var ChannelSplitterNode: {\n prototype: ChannelSplitterNode;\n new(context: BaseAudioContext, options?: ChannelSplitterOptions): ChannelSplitterNode;\n};\n\n/** 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. */\ninterface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode {\n data: string;\n readonly length: number;\n readonly ownerDocument: Document;\n appendData(data: string): void;\n deleteData(offset: number, count: number): void;\n insertData(offset: number, data: string): void;\n replaceData(offset: number, count: number, data: string): void;\n substringData(offset: number, count: number): string;\n}\n\ndeclare var CharacterData: {\n prototype: CharacterData;\n new(): CharacterData;\n};\n\ninterface ChildNode extends Node {\n /**\n * Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes.\n *\n * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.\n */\n after(...nodes: (Node | string)[]): void;\n /**\n * Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes.\n *\n * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.\n */\n before(...nodes: (Node | string)[]): void;\n /**\n * Removes node.\n */\n remove(): void;\n /**\n * Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes.\n *\n * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.\n */\n replaceWith(...nodes: (Node | string)[]): void;\n}\n\n/** @deprecated */\ninterface ClientRect extends DOMRect {\n}\n\ninterface Clipboard extends EventTarget {\n read(): Promise<ClipboardItems>;\n readText(): Promise<string>;\n write(data: ClipboardItems): Promise<void>;\n writeText(data: string): Promise<void>;\n}\n\ndeclare var Clipboard: {\n prototype: Clipboard;\n new(): Clipboard;\n};\n\n/** Events providing information related to modification of the clipboard, that is cut, copy, and paste events. */\ninterface ClipboardEvent extends Event {\n readonly clipboardData: DataTransfer | null;\n}\n\ndeclare var ClipboardEvent: {\n prototype: ClipboardEvent;\n new(type: string, eventInitDict?: ClipboardEventInit): ClipboardEvent;\n};\n\ninterface ClipboardItem {\n readonly types: ReadonlyArray<string>;\n getType(type: string): Promise<Blob>;\n}\n\ndeclare var ClipboardItem: {\n prototype: ClipboardItem;\n new(items: Record<string, ClipboardItemData>, options?: ClipboardItemOptions): ClipboardItem;\n};\n\n/** 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. */\ninterface CloseEvent extends Event {\n /**\n * Returns the WebSocket connection close code provided by the server.\n */\n readonly code: number;\n /**\n * Returns the WebSocket connection close reason provided by the server.\n */\n readonly reason: string;\n /**\n * Returns true if the connection closed cleanly; false otherwise.\n */\n readonly wasClean: boolean;\n}\n\ndeclare var CloseEvent: {\n prototype: CloseEvent;\n new(type: string, eventInitDict?: CloseEventInit): CloseEvent;\n};\n\n/** Textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view. */\ninterface Comment extends CharacterData {\n}\n\ndeclare var Comment: {\n prototype: Comment;\n new(data?: string): Comment;\n};\n\n/** The DOM CompositionEvent represents events that occur due to the user indirectly entering text. */\ninterface CompositionEvent extends UIEvent {\n readonly data: string;\n /** @deprecated */\n initCompositionEvent(typeArg: string, bubblesArg?: boolean, cancelableArg?: boolean, viewArg?: WindowProxy | null, dataArg?: string): void;\n}\n\ndeclare var CompositionEvent: {\n prototype: CompositionEvent;\n new(type: string, eventInitDict?: CompositionEventInit): CompositionEvent;\n};\n\ninterface ConstantSourceNode extends AudioScheduledSourceNode {\n readonly offset: AudioParam;\n addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ConstantSourceNode: {\n prototype: ConstantSourceNode;\n new(context: BaseAudioContext, options?: ConstantSourceOptions): ConstantSourceNode;\n};\n\n/** 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. */\ninterface ConvolverNode extends AudioNode {\n buffer: AudioBuffer | null;\n normalize: boolean;\n}\n\ndeclare var ConvolverNode: {\n prototype: ConvolverNode;\n new(context: BaseAudioContext, options?: ConvolverOptions): ConvolverNode;\n};\n\n/** This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams. */\ninterface CountQueuingStrategy extends QueuingStrategy {\n readonly highWaterMark: number;\n readonly size: QueuingStrategySize;\n}\n\ndeclare var CountQueuingStrategy: {\n prototype: CountQueuingStrategy;\n new(init: QueuingStrategyInit): CountQueuingStrategy;\n};\n\ninterface Credential {\n readonly id: string;\n readonly type: string;\n}\n\ndeclare var Credential: {\n prototype: Credential;\n new(): Credential;\n};\n\ninterface CredentialsContainer {\n create(options?: CredentialCreationOptions): Promise<Credential | null>;\n get(options?: CredentialRequestOptions): Promise<Credential | null>;\n preventSilentAccess(): Promise<void>;\n store(credential: Credential): Promise<Credential>;\n}\n\ndeclare var CredentialsContainer: {\n prototype: CredentialsContainer;\n new(): CredentialsContainer;\n};\n\n/** Basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives. */\ninterface Crypto {\n readonly subtle: SubtleCrypto;\n getRandomValues<T extends ArrayBufferView | null>(array: T): T;\n}\n\ndeclare var Crypto: {\n prototype: Crypto;\n new(): Crypto;\n};\n\n/** The CryptoKey dictionary of the Web Crypto API represents a cryptographic key. */\ninterface CryptoKey {\n readonly algorithm: KeyAlgorithm;\n readonly extractable: boolean;\n readonly type: KeyType;\n readonly usages: KeyUsage[];\n}\n\ndeclare var CryptoKey: {\n prototype: CryptoKey;\n new(): CryptoKey;\n};\n\ninterface CustomElementRegistry {\n define(name: string, constructor: CustomElementConstructor, options?: ElementDefinitionOptions): void;\n get(name: string): CustomElementConstructor | undefined;\n upgrade(root: Node): void;\n whenDefined(name: string): Promise<CustomElementConstructor>;\n}\n\ndeclare var CustomElementRegistry: {\n prototype: CustomElementRegistry;\n new(): CustomElementRegistry;\n};\n\ninterface CustomEvent<T = any> extends Event {\n /**\n * Returns any custom data event was created with. Typically used for synthetic events.\n */\n readonly detail: T;\n /** @deprecated */\n initCustomEvent(type: string, bubbles?: boolean, cancelable?: boolean, detail?: T): void;\n}\n\ndeclare var CustomEvent: {\n prototype: CustomEvent;\n new<T>(type: string, eventInitDict?: CustomEventInit<T>): CustomEvent<T>;\n};\n\n/** An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. */\ninterface DOMException {\n readonly code: number;\n readonly message: string;\n readonly name: string;\n readonly ABORT_ERR: number;\n readonly DATA_CLONE_ERR: number;\n readonly DOMSTRING_SIZE_ERR: number;\n readonly HIERARCHY_REQUEST_ERR: number;\n readonly INDEX_SIZE_ERR: number;\n readonly INUSE_ATTRIBUTE_ERR: number;\n readonly INVALID_ACCESS_ERR: number;\n readonly INVALID_CHARACTER_ERR: number;\n readonly INVALID_MODIFICATION_ERR: number;\n readonly INVALID_NODE_TYPE_ERR: number;\n readonly INVALID_STATE_ERR: number;\n readonly NAMESPACE_ERR: number;\n readonly NETWORK_ERR: number;\n readonly NOT_FOUND_ERR: number;\n readonly NOT_SUPPORTED_ERR: number;\n readonly NO_DATA_ALLOWED_ERR: number;\n readonly NO_MODIFICATION_ALLOWED_ERR: number;\n readonly QUOTA_EXCEEDED_ERR: number;\n readonly SECURITY_ERR: number;\n readonly SYNTAX_ERR: number;\n readonly TIMEOUT_ERR: number;\n readonly TYPE_MISMATCH_ERR: number;\n readonly URL_MISMATCH_ERR: number;\n readonly VALIDATION_ERR: number;\n readonly WRONG_DOCUMENT_ERR: number;\n}\n\ndeclare var DOMException: {\n prototype: DOMException;\n new(message?: string, name?: string): DOMException;\n readonly ABORT_ERR: number;\n readonly DATA_CLONE_ERR: number;\n readonly DOMSTRING_SIZE_ERR: number;\n readonly HIERARCHY_REQUEST_ERR: number;\n readonly INDEX_SIZE_ERR: number;\n readonly INUSE_ATTRIBUTE_ERR: number;\n readonly INVALID_ACCESS_ERR: number;\n readonly INVALID_CHARACTER_ERR: number;\n readonly INVALID_MODIFICATION_ERR: number;\n readonly INVALID_NODE_TYPE_ERR: number;\n readonly INVALID_STATE_ERR: number;\n readonly NAMESPACE_ERR: number;\n readonly NETWORK_ERR: number;\n readonly NOT_FOUND_ERR: number;\n readonly NOT_SUPPORTED_ERR: number;\n readonly NO_DATA_ALLOWED_ERR: number;\n readonly NO_MODIFICATION_ALLOWED_ERR: number;\n readonly QUOTA_EXCEEDED_ERR: number;\n readonly SECURITY_ERR: number;\n readonly SYNTAX_ERR: number;\n readonly TIMEOUT_ERR: number;\n readonly TYPE_MISMATCH_ERR: number;\n readonly URL_MISMATCH_ERR: number;\n readonly VALIDATION_ERR: number;\n readonly WRONG_DOCUMENT_ERR: number;\n};\n\n/** An object providing methods which are not dependent on any particular document. Such an object is returned by the Document.implementation property. */\ninterface DOMImplementation {\n createDocument(namespace: string | null, qualifiedName: string | null, doctype?: DocumentType | null): XMLDocument;\n createDocumentType(qualifiedName: string, publicId: string, systemId: string): DocumentType;\n createHTMLDocument(title?: string): Document;\n /** @deprecated */\n hasFeature(...args: any[]): true;\n}\n\ndeclare var DOMImplementation: {\n prototype: DOMImplementation;\n new(): DOMImplementation;\n};\n\ninterface DOMMatrix extends DOMMatrixReadOnly {\n a: number;\n b: number;\n c: number;\n d: number;\n e: number;\n f: number;\n m11: number;\n m12: number;\n m13: number;\n m14: number;\n m21: number;\n m22: number;\n m23: number;\n m24: number;\n m31: number;\n m32: number;\n m33: number;\n m34: number;\n m41: number;\n m42: number;\n m43: number;\n m44: number;\n invertSelf(): DOMMatrix;\n multiplySelf(other?: DOMMatrixInit): DOMMatrix;\n preMultiplySelf(other?: DOMMatrixInit): DOMMatrix;\n rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;\n rotateFromVectorSelf(x?: number, y?: number): DOMMatrix;\n rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;\n scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n setMatrixValue(transformList: string): DOMMatrix;\n skewXSelf(sx?: number): DOMMatrix;\n skewYSelf(sy?: number): DOMMatrix;\n translateSelf(tx?: number, ty?: number, tz?: number): DOMMatrix;\n}\n\ndeclare var DOMMatrix: {\n prototype: DOMMatrix;\n new(init?: string | number[]): DOMMatrix;\n fromFloat32Array(array32: Float32Array): DOMMatrix;\n fromFloat64Array(array64: Float64Array): DOMMatrix;\n fromMatrix(other?: DOMMatrixInit): DOMMatrix;\n};\n\ntype SVGMatrix = DOMMatrix;\ndeclare var SVGMatrix: typeof DOMMatrix;\n\ntype WebKitCSSMatrix = DOMMatrix;\ndeclare var WebKitCSSMatrix: typeof DOMMatrix;\n\ninterface DOMMatrixReadOnly {\n readonly a: number;\n readonly b: number;\n readonly c: number;\n readonly d: number;\n readonly e: number;\n readonly f: number;\n readonly is2D: boolean;\n readonly isIdentity: boolean;\n readonly m11: number;\n readonly m12: number;\n readonly m13: number;\n readonly m14: number;\n readonly m21: number;\n readonly m22: number;\n readonly m23: number;\n readonly m24: number;\n readonly m31: number;\n readonly m32: number;\n readonly m33: number;\n readonly m34: number;\n readonly m41: number;\n readonly m42: number;\n readonly m43: number;\n readonly m44: number;\n flipX(): DOMMatrix;\n flipY(): DOMMatrix;\n inverse(): DOMMatrix;\n multiply(other?: DOMMatrixInit): DOMMatrix;\n rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;\n rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;\n rotateFromVector(x?: number, y?: number): DOMMatrix;\n scale(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n scale3d(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n /** @deprecated */\n scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix;\n skewX(sx?: number): DOMMatrix;\n skewY(sy?: number): DOMMatrix;\n toFloat32Array(): Float32Array;\n toFloat64Array(): Float64Array;\n toJSON(): any;\n transformPoint(point?: DOMPointInit): DOMPoint;\n translate(tx?: number, ty?: number, tz?: number): DOMMatrix;\n toString(): string;\n}\n\ndeclare var DOMMatrixReadOnly: {\n prototype: DOMMatrixReadOnly;\n new(init?: string | number[]): DOMMatrixReadOnly;\n fromFloat32Array(array32: Float32Array): DOMMatrixReadOnly;\n fromFloat64Array(array64: Float64Array): DOMMatrixReadOnly;\n fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly;\n toString(): string;\n};\n\n/** Provides the ability to parse XML or HTML source code from a string into a DOM Document. */\ninterface DOMParser {\n /**\n * 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).\n *\n * For the XML parser, if string cannot be parsed, then the returned Document will contain elements describing the resulting error.\n *\n * Note that script elements are not evaluated during parsing, and the resulting document\'s encoding will always be UTF-8.\n *\n * Values other than the above for type will cause a TypeError exception to be thrown.\n */\n parseFromString(string: string, type: DOMParserSupportedType): Document;\n}\n\ndeclare var DOMParser: {\n prototype: DOMParser;\n new(): DOMParser;\n};\n\ninterface DOMPoint extends DOMPointReadOnly {\n w: number;\n x: number;\n y: number;\n z: number;\n}\n\ndeclare var DOMPoint: {\n prototype: DOMPoint;\n new(x?: number, y?: number, z?: number, w?: number): DOMPoint;\n fromPoint(other?: DOMPointInit): DOMPoint;\n};\n\ntype SVGPoint = DOMPoint;\ndeclare var SVGPoint: typeof DOMPoint;\n\ninterface DOMPointReadOnly {\n readonly w: number;\n readonly x: number;\n readonly y: number;\n readonly z: number;\n matrixTransform(matrix?: DOMMatrixInit): DOMPoint;\n toJSON(): any;\n}\n\ndeclare var DOMPointReadOnly: {\n prototype: DOMPointReadOnly;\n new(x?: number, y?: number, z?: number, w?: number): DOMPointReadOnly;\n fromPoint(other?: DOMPointInit): DOMPointReadOnly;\n};\n\ninterface DOMQuad {\n readonly p1: DOMPoint;\n readonly p2: DOMPoint;\n readonly p3: DOMPoint;\n readonly p4: DOMPoint;\n getBounds(): DOMRect;\n toJSON(): any;\n}\n\ndeclare var DOMQuad: {\n prototype: DOMQuad;\n new(p1?: DOMPointInit, p2?: DOMPointInit, p3?: DOMPointInit, p4?: DOMPointInit): DOMQuad;\n fromQuad(other?: DOMQuadInit): DOMQuad;\n fromRect(other?: DOMRectInit): DOMQuad;\n};\n\ninterface DOMRect extends DOMRectReadOnly {\n height: number;\n width: number;\n x: number;\n y: number;\n}\n\ndeclare var DOMRect: {\n prototype: DOMRect;\n new(x?: number, y?: number, width?: number, height?: number): DOMRect;\n fromRect(other?: DOMRectInit): DOMRect;\n};\n\ntype SVGRect = DOMRect;\ndeclare var SVGRect: typeof DOMRect;\n\ninterface DOMRectList {\n readonly length: number;\n item(index: number): DOMRect | null;\n [index: number]: DOMRect;\n}\n\ndeclare var DOMRectList: {\n prototype: DOMRectList;\n new(): DOMRectList;\n};\n\ninterface DOMRectReadOnly {\n readonly bottom: number;\n readonly height: number;\n readonly left: number;\n readonly right: number;\n readonly top: number;\n readonly width: number;\n readonly x: number;\n readonly y: number;\n toJSON(): any;\n}\n\ndeclare var DOMRectReadOnly: {\n prototype: DOMRectReadOnly;\n new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly;\n fromRect(other?: DOMRectInit): DOMRectReadOnly;\n};\n\n/** A type returned by some APIs which contains a list of DOMString (strings). */\ninterface DOMStringList {\n /**\n * Returns the number of strings in strings.\n */\n readonly length: number;\n /**\n * Returns true if strings contains string, and false otherwise.\n */\n contains(string: string): boolean;\n /**\n * Returns the string with index index from strings.\n */\n item(index: number): string | null;\n [index: number]: string;\n}\n\ndeclare var DOMStringList: {\n prototype: DOMStringList;\n new(): DOMStringList;\n};\n\n/** Used by the dataset HTML attribute to represent data for custom attributes added to elements. */\ninterface DOMStringMap {\n [name: string]: string | undefined;\n}\n\ndeclare var DOMStringMap: {\n prototype: DOMStringMap;\n new(): DOMStringMap;\n};\n\n/** 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. */\ninterface DOMTokenList {\n /**\n * Returns the number of tokens.\n */\n readonly length: number;\n /**\n * Returns the associated set as string.\n *\n * Can be set, to change the associated attribute.\n */\n value: string;\n toString(): string;\n /**\n * Adds all arguments passed, except those already present.\n *\n * Throws a "SyntaxError" DOMException if one of the arguments is the empty string.\n *\n * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace.\n */\n add(...tokens: string[]): void;\n /**\n * Returns true if token is present, and false otherwise.\n */\n contains(token: string): boolean;\n /**\n * Returns the token with index index.\n */\n item(index: number): string | null;\n /**\n * Removes arguments passed, if they are present.\n *\n * Throws a "SyntaxError" DOMException if one of the arguments is the empty string.\n *\n * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace.\n */\n remove(...tokens: string[]): void;\n /**\n * Replaces token with newToken.\n *\n * Returns true if token was replaced with newToken, and false otherwise.\n *\n * Throws a "SyntaxError" DOMException if one of the arguments is the empty string.\n *\n * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace.\n */\n replace(token: string, newToken: string): boolean;\n /**\n * Returns true if token is in the associated attribute\'s supported tokens. Returns false otherwise.\n *\n * Throws a TypeError if the associated attribute has no supported tokens defined.\n */\n supports(token: string): boolean;\n /**\n * 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()).\n *\n * Returns true if token is now present, and false otherwise.\n *\n * Throws a "SyntaxError" DOMException if token is empty.\n *\n * Throws an "InvalidCharacterError" DOMException if token contains any spaces.\n */\n toggle(token: string, force?: boolean): boolean;\n forEach(callbackfn: (value: string, key: number, parent: DOMTokenList) => void, thisArg?: any): void;\n [index: number]: string;\n}\n\ndeclare var DOMTokenList: {\n prototype: DOMTokenList;\n new(): DOMTokenList;\n};\n\n/** 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. */\ninterface DataTransfer {\n /**\n * 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.\n *\n * Can be set, to change the selected operation.\n *\n * The possible values are "none", "copy", "link", and "move".\n */\n dropEffect: "none" | "copy" | "link" | "move";\n /**\n * Returns the kinds of operations that are to be allowed.\n *\n * Can be set (during the dragstart event), to change the allowed operations.\n *\n * The possible values are "none", "copy", "copyLink", "copyMove", "link", "linkMove", "move", "all", and "uninitialized",\n */\n effectAllowed: "none" | "copy" | "copyLink" | "copyMove" | "link" | "linkMove" | "move" | "all" | "uninitialized";\n /**\n * Returns a FileList of the files being dragged, if any.\n */\n readonly files: FileList;\n /**\n * Returns a DataTransferItemList object, with the drag data.\n */\n readonly items: DataTransferItemList;\n /**\n * 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".\n */\n readonly types: ReadonlyArray<string>;\n /**\n * Removes the data of the specified formats. Removes all data if the argument is omitted.\n */\n clearData(format?: string): void;\n /**\n * Returns the specified data. If there is no such data, returns the empty string.\n */\n getData(format: string): string;\n /**\n * Adds the specified data.\n */\n setData(format: string, data: string): void;\n /**\n * Uses the given element to update the drag feedback, replacing any previously specified feedback.\n */\n setDragImage(image: Element, x: number, y: number): void;\n}\n\ndeclare var DataTransfer: {\n prototype: DataTransfer;\n new(): DataTransfer;\n};\n\n/** 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. */\ninterface DataTransferItem {\n /**\n * Returns the drag data item kind, one of: "string", "file".\n */\n readonly kind: string;\n /**\n * Returns the drag data item type string.\n */\n readonly type: string;\n /**\n * Returns a File object, if the drag data item kind is File.\n */\n getAsFile(): File | null;\n /**\n * Invokes the callback with the string data as the argument, if the drag data item kind is text.\n */\n getAsString(callback: FunctionStringCallback | null): void;\n webkitGetAsEntry(): FileSystemEntry | null;\n}\n\ndeclare var DataTransferItem: {\n prototype: DataTransferItem;\n new(): DataTransferItem;\n};\n\n/** 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. */\ninterface DataTransferItemList {\n /**\n * Returns the number of items in the drag data store.\n */\n readonly length: number;\n /**\n * 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.\n */\n add(data: string, type: string): DataTransferItem | null;\n add(data: File): DataTransferItem | null;\n /**\n * Removes all the entries in the drag data store.\n */\n clear(): void;\n /**\n * Removes the indexth entry in the drag data store.\n */\n remove(index: number): void;\n [index: number]: DataTransferItem;\n}\n\ndeclare var DataTransferItemList: {\n prototype: DataTransferItemList;\n new(): DataTransferItemList;\n};\n\n/** 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. */\ninterface DelayNode extends AudioNode {\n readonly delayTime: AudioParam;\n}\n\ndeclare var DelayNode: {\n prototype: DelayNode;\n new(context: BaseAudioContext, options?: DelayOptions): DelayNode;\n};\n\n/** The DeviceMotionEvent provides web developers with information about the speed of changes for the device\'s position and orientation. */\ninterface DeviceMotionEvent extends Event {\n readonly acceleration: DeviceMotionEventAcceleration | null;\n readonly accelerationIncludingGravity: DeviceMotionEventAcceleration | null;\n readonly interval: number;\n readonly rotationRate: DeviceMotionEventRotationRate | null;\n}\n\ndeclare var DeviceMotionEvent: {\n prototype: DeviceMotionEvent;\n new(type: string, eventInitDict?: DeviceMotionEventInit): DeviceMotionEvent;\n};\n\ninterface DeviceMotionEventAcceleration {\n readonly x: number | null;\n readonly y: number | null;\n readonly z: number | null;\n}\n\ninterface DeviceMotionEventRotationRate {\n readonly alpha: number | null;\n readonly beta: number | null;\n readonly gamma: number | null;\n}\n\n/** The DeviceOrientationEvent provides web developers with information from the physical orientation of the device running the web page. */\ninterface DeviceOrientationEvent extends Event {\n readonly absolute: boolean;\n readonly alpha: number | null;\n readonly beta: number | null;\n readonly gamma: number | null;\n}\n\ndeclare var DeviceOrientationEvent: {\n prototype: DeviceOrientationEvent;\n new(type: string, eventInitDict?: DeviceOrientationEventInit): DeviceOrientationEvent;\n};\n\ninterface DocumentEventMap extends DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap {\n "fullscreenchange": Event;\n "fullscreenerror": Event;\n "pointerlockchange": Event;\n "pointerlockerror": Event;\n "readystatechange": Event;\n "visibilitychange": Event;\n}\n\n/** Any web page loaded in the browser and serves as an entry point into the web page\'s content, which is the DOM tree. */\ninterface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShadowRoot, FontFaceSource, GlobalEventHandlers, NonElementParentNode, ParentNode, XPathEvaluatorBase {\n /**\n * Sets or gets the URL for the current document.\n */\n readonly URL: string;\n /**\n * Sets or gets the color of all active links in the document.\n * @deprecated\n */\n alinkColor: string;\n /**\n * Returns a reference to the collection of elements contained by the object.\n * @deprecated\n */\n readonly all: HTMLAllCollection;\n /**\n * Retrieves a collection of all a objects that have a name and/or id property. Objects in this collection are in HTML source order.\n * @deprecated\n */\n readonly anchors: HTMLCollectionOf<HTMLAnchorElement>;\n /**\n * Retrieves a collection of all applet objects in the document.\n * @deprecated\n */\n readonly applets: HTMLCollection;\n /**\n * Deprecated. Sets or retrieves a value that indicates the background color behind the object.\n * @deprecated\n */\n bgColor: string;\n /**\n * Specifies the beginning and end of the document body.\n */\n body: HTMLElement;\n /**\n * Returns document\'s encoding.\n */\n readonly characterSet: string;\n /**\n * Gets or sets the character set used to encode the object.\n * @deprecated This is a legacy alias of `characterSet`.\n */\n readonly charset: string;\n /**\n * Gets a value that indicates whether standards-compliant mode is switched on for the object.\n */\n readonly compatMode: string;\n /**\n * Returns document\'s content type.\n */\n readonly contentType: string;\n /**\n * 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.\n *\n * Can be set, to add a new cookie to the element\'s set of HTTP cookies.\n *\n * 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.\n */\n cookie: string;\n /**\n * 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.\n *\n * 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.\n */\n readonly currentScript: HTMLOrSVGScriptElement | null;\n /**\n * Returns the Window object of the active document.\n */\n readonly defaultView: (WindowProxy & typeof globalThis) | null;\n /**\n * Sets or gets a value that indicates whether the document can be edited.\n */\n designMode: string;\n /**\n * Sets or retrieves a value that indicates the reading order of the object.\n */\n dir: string;\n /**\n * Gets an object representing the document type declaration associated with the current document.\n */\n readonly doctype: DocumentType | null;\n /**\n * Gets a reference to the root node of the document.\n */\n readonly documentElement: HTMLElement;\n /**\n * Returns document\'s URL.\n */\n readonly documentURI: string;\n /**\n * Sets or gets the security domain of the document.\n */\n domain: string;\n /**\n * Retrieves a collection of all embed objects in the document.\n */\n readonly embeds: HTMLCollectionOf<HTMLEmbedElement>;\n /**\n * Sets or gets the foreground (text) color of the document.\n * @deprecated\n */\n fgColor: string;\n /**\n * Retrieves a collection, in source order, of all form objects in the document.\n */\n readonly forms: HTMLCollectionOf<HTMLFormElement>;\n /** @deprecated */\n readonly fullscreen: boolean;\n /**\n * Returns true if document has the ability to display elements fullscreen and fullscreen is supported, or false otherwise.\n */\n readonly fullscreenEnabled: boolean;\n /**\n * Returns the head element.\n */\n readonly head: HTMLHeadElement;\n readonly hidden: boolean;\n /**\n * Retrieves a collection, in source order, of img objects in the document.\n */\n readonly images: HTMLCollectionOf<HTMLImageElement>;\n /**\n * Gets the implementation object of the current document.\n */\n readonly implementation: DOMImplementation;\n /**\n * Returns the character encoding used to create the webpage that is loaded into the document object.\n * @deprecated This is a legacy alias of `characterSet`.\n */\n readonly inputEncoding: string;\n /**\n * Gets the date that the page was last modified, if the page supplies one.\n */\n readonly lastModified: string;\n /**\n * Sets or gets the color of the document links.\n * @deprecated\n */\n linkColor: string;\n /**\n * Retrieves a collection of all a objects that specify the href property and all area objects in the document.\n */\n readonly links: HTMLCollectionOf<HTMLAnchorElement | HTMLAreaElement>;\n /**\n * Contains information about the current URL.\n */\n get location(): Location;\n set location(href: string | Location);\n onfullscreenchange: ((this: Document, ev: Event) => any) | null;\n onfullscreenerror: ((this: Document, ev: Event) => any) | null;\n onpointerlockchange: ((this: Document, ev: Event) => any) | null;\n onpointerlockerror: ((this: Document, ev: Event) => any) | null;\n /**\n * Fires when the state of the object has changed.\n * @param ev The event\n */\n onreadystatechange: ((this: Document, ev: Event) => any) | null;\n onvisibilitychange: ((this: Document, ev: Event) => any) | null;\n readonly ownerDocument: null;\n readonly pictureInPictureEnabled: boolean;\n /**\n * Return an HTMLCollection of the embed elements in the Document.\n */\n readonly plugins: HTMLCollectionOf<HTMLEmbedElement>;\n /**\n * Retrieves a value that indicates the current state of the object.\n */\n readonly readyState: DocumentReadyState;\n /**\n * Gets the URL of the location that referred the user to the current page.\n */\n readonly referrer: string;\n /** @deprecated */\n readonly rootElement: SVGSVGElement | null;\n /**\n * Retrieves a collection of all script objects in the document.\n */\n readonly scripts: HTMLCollectionOf<HTMLScriptElement>;\n readonly scrollingElement: Element | null;\n readonly timeline: DocumentTimeline;\n /**\n * Contains the title of the document.\n */\n title: string;\n readonly visibilityState: VisibilityState;\n /**\n * Sets or gets the color of the links that the user has visited.\n * @deprecated\n */\n vlinkColor: string;\n /**\n * Moves node from another document and returns it.\n *\n * If node is a document, throws a "NotSupportedError" DOMException or, if node is a shadow root, throws a "HierarchyRequestError" DOMException.\n */\n adoptNode<T extends Node>(node: T): T;\n /** @deprecated */\n captureEvents(): void;\n /** @deprecated */\n caretRangeFromPoint(x: number, y: number): Range | null;\n /** @deprecated */\n clear(): void;\n /**\n * Closes an output stream and forces the sent data to display.\n */\n close(): void;\n /**\n * Creates an attribute object with a specified name.\n * @param name String that sets the attribute object\'s name.\n */\n createAttribute(localName: string): Attr;\n createAttributeNS(namespace: string | null, qualifiedName: string): Attr;\n /**\n * Returns a CDATASection node whose data is data.\n */\n createCDATASection(data: string): CDATASection;\n /**\n * Creates a comment object with the specified data.\n * @param data Sets the comment object\'s data.\n */\n createComment(data: string): Comment;\n /**\n * Creates a new document.\n */\n createDocumentFragment(): DocumentFragment;\n /**\n * Creates an instance of the element for the specified tag.\n * @param tagName The name of an element.\n */\n createElement<K extends keyof HTMLElementTagNameMap>(tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K];\n /** @deprecated */\n createElement<K extends keyof HTMLElementDeprecatedTagNameMap>(tagName: K, options?: ElementCreationOptions): HTMLElementDeprecatedTagNameMap[K];\n createElement(tagName: string, options?: ElementCreationOptions): HTMLElement;\n /**\n * 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.\n *\n * If localName does not match the Name production an "InvalidCharacterError" DOMException will be thrown.\n *\n * If one of the following conditions is true a "NamespaceError" DOMException will be thrown:\n *\n * localName does not match the QName production.\n * Namespace prefix is not null and namespace is the empty string.\n * Namespace prefix is "xml" and namespace is not the XML namespace.\n * qualifiedName or namespace prefix is "xmlns" and namespace is not the XMLNS namespace.\n * namespace is the XMLNS namespace and neither qualifiedName nor namespace prefix is "xmlns".\n *\n * When supplied, options\'s is can be used to create a customized built-in element.\n */\n createElementNS(namespaceURI: "http://www.w3.org/1999/xhtml", qualifiedName: string): HTMLElement;\n createElementNS<K extends keyof SVGElementTagNameMap>(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: K): SVGElementTagNameMap[K];\n createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: string): SVGElement;\n createElementNS(namespaceURI: string | null, qualifiedName: string, options?: ElementCreationOptions): Element;\n createElementNS(namespace: string | null, qualifiedName: string, options?: string | ElementCreationOptions): Element;\n createEvent(eventInterface: "AnimationEvent"): AnimationEvent;\n createEvent(eventInterface: "AnimationPlaybackEvent"): AnimationPlaybackEvent;\n createEvent(eventInterface: "AudioProcessingEvent"): AudioProcessingEvent;\n createEvent(eventInterface: "BeforeUnloadEvent"): BeforeUnloadEvent;\n createEvent(eventInterface: "BlobEvent"): BlobEvent;\n createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent;\n createEvent(eventInterface: "CloseEvent"): CloseEvent;\n createEvent(eventInterface: "CompositionEvent"): CompositionEvent;\n createEvent(eventInterface: "CustomEvent"): CustomEvent;\n createEvent(eventInterface: "DeviceMotionEvent"): DeviceMotionEvent;\n createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent;\n createEvent(eventInterface: "DragEvent"): DragEvent;\n createEvent(eventInterface: "ErrorEvent"): ErrorEvent;\n createEvent(eventInterface: "FocusEvent"): FocusEvent;\n createEvent(eventInterface: "FontFaceSetLoadEvent"): FontFaceSetLoadEvent;\n createEvent(eventInterface: "FormDataEvent"): FormDataEvent;\n createEvent(eventInterface: "GamepadEvent"): GamepadEvent;\n createEvent(eventInterface: "HashChangeEvent"): HashChangeEvent;\n createEvent(eventInterface: "IDBVersionChangeEvent"): IDBVersionChangeEvent;\n createEvent(eventInterface: "InputEvent"): InputEvent;\n createEvent(eventInterface: "KeyboardEvent"): KeyboardEvent;\n createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent;\n createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent;\n createEvent(eventInterface: "MediaQueryListEvent"): MediaQueryListEvent;\n createEvent(eventInterface: "MediaRecorderErrorEvent"): MediaRecorderErrorEvent;\n createEvent(eventInterface: "MediaStreamTrackEvent"): MediaStreamTrackEvent;\n createEvent(eventInterface: "MessageEvent"): MessageEvent;\n createEvent(eventInterface: "MouseEvent"): MouseEvent;\n createEvent(eventInterface: "MouseEvents"): MouseEvent;\n createEvent(eventInterface: "MutationEvent"): MutationEvent;\n createEvent(eventInterface: "MutationEvents"): MutationEvent;\n createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent;\n createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent;\n createEvent(eventInterface: "PaymentMethodChangeEvent"): PaymentMethodChangeEvent;\n createEvent(eventInterface: "PaymentRequestUpdateEvent"): PaymentRequestUpdateEvent;\n createEvent(eventInterface: "PointerEvent"): PointerEvent;\n createEvent(eventInterface: "PopStateEvent"): PopStateEvent;\n createEvent(eventInterface: "ProgressEvent"): ProgressEvent;\n createEvent(eventInterface: "PromiseRejectionEvent"): PromiseRejectionEvent;\n createEvent(eventInterface: "RTCDTMFToneChangeEvent"): RTCDTMFToneChangeEvent;\n createEvent(eventInterface: "RTCDataChannelEvent"): RTCDataChannelEvent;\n createEvent(eventInterface: "RTCPeerConnectionIceErrorEvent"): RTCPeerConnectionIceErrorEvent;\n createEvent(eventInterface: "RTCPeerConnectionIceEvent"): RTCPeerConnectionIceEvent;\n createEvent(eventInterface: "RTCTrackEvent"): RTCTrackEvent;\n createEvent(eventInterface: "SecurityPolicyViolationEvent"): SecurityPolicyViolationEvent;\n createEvent(eventInterface: "SpeechSynthesisErrorEvent"): SpeechSynthesisErrorEvent;\n createEvent(eventInterface: "SpeechSynthesisEvent"): SpeechSynthesisEvent;\n createEvent(eventInterface: "StorageEvent"): StorageEvent;\n createEvent(eventInterface: "SubmitEvent"): SubmitEvent;\n createEvent(eventInterface: "TouchEvent"): TouchEvent;\n createEvent(eventInterface: "TrackEvent"): TrackEvent;\n createEvent(eventInterface: "TransitionEvent"): TransitionEvent;\n createEvent(eventInterface: "UIEvent"): UIEvent;\n createEvent(eventInterface: "UIEvents"): UIEvent;\n createEvent(eventInterface: "WebGLContextEvent"): WebGLContextEvent;\n createEvent(eventInterface: "WheelEvent"): WheelEvent;\n createEvent(eventInterface: string): Event;\n /**\n * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.\n * @param root The root element or node to start traversing on.\n * @param whatToShow The type of nodes or elements to appear in the node list\n * @param filter A custom NodeFilter function to use. For more information, see filter. Use null for no filter.\n */\n createNodeIterator(root: Node, whatToShow?: number, filter?: NodeFilter | null): NodeIterator;\n /**\n * 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.\n */\n createProcessingInstruction(target: string, data: string): ProcessingInstruction;\n /**\n * Returns an empty range object that has both of its boundary points positioned at the beginning of the document.\n */\n createRange(): Range;\n /**\n * Creates a text string from the specified value.\n * @param data String that specifies the nodeValue property of the text node.\n */\n createTextNode(data: string): Text;\n /**\n * Creates a TreeWalker object that you can use to traverse filtered lists of nodes or elements in a document.\n * @param root The root element or node to start traversing on.\n * @param whatToShow The type of nodes or elements to appear in the node list. For more information, see whatToShow.\n * @param filter A custom NodeFilter function to use.\n */\n createTreeWalker(root: Node, whatToShow?: number, filter?: NodeFilter | null): TreeWalker;\n /**\n * Returns the element for the specified x coordinate and the specified y coordinate.\n * @param x The x-offset\n * @param y The y-offset\n */\n elementFromPoint(x: number, y: number): Element | null;\n elementsFromPoint(x: number, y: number): Element[];\n /**\n * Executes a command on the current document, current selection, or the given range.\n * @param commandId String that specifies the command to execute. This command can be any of the command identifiers that can be executed in script.\n * @param showUI Display the user interface, defaults to false.\n * @param value Value to assign.\n * @deprecated\n */\n execCommand(commandId: string, showUI?: boolean, value?: string): boolean;\n /**\n * Stops document\'s fullscreen element from being displayed fullscreen and resolves promise when done.\n */\n exitFullscreen(): Promise<void>;\n exitPictureInPicture(): Promise<void>;\n exitPointerLock(): void;\n /**\n * Returns a reference to the first object with the specified value of the ID attribute.\n * @param elementId String that specifies the ID value.\n */\n getElementById(elementId: string): HTMLElement | null;\n /**\n * 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.\n */\n getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;\n /**\n * Gets a collection of objects based on the value of the NAME or ID attribute.\n * @param elementName Gets a collection of objects based on the value of the NAME or ID attribute.\n */\n getElementsByName(elementName: string): NodeListOf<HTMLElement>;\n /**\n * Retrieves a collection of objects based on the specified element name.\n * @param name Specifies the name of an element.\n */\n getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;\n getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;\n getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;\n /**\n * If namespace and localName are "*" returns a HTMLCollection of all descendant elements.\n *\n * If only namespace is "*" returns a HTMLCollection of all descendant elements whose local name is localName.\n *\n * If only localName is "*" returns a HTMLCollection of all descendant elements whose namespace is namespace.\n *\n * Otherwise, returns a HTMLCollection of all descendant elements whose namespace is namespace and local name is localName.\n */\n getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;\n getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;\n getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;\n /**\n * Returns an object representing the current selection of the document that is loaded into the object displaying a webpage.\n */\n getSelection(): Selection | null;\n /**\n * Gets a value indicating whether the object currently has focus.\n */\n hasFocus(): boolean;\n hasStorageAccess(): Promise<boolean>;\n /**\n * Returns a copy of node. If deep is true, the copy also includes the node\'s descendants.\n *\n * If node is a document or a shadow root, throws a "NotSupportedError" DOMException.\n */\n importNode<T extends Node>(node: T, deep?: boolean): T;\n /**\n * 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.\n * @param url Specifies a MIME type for the document.\n * @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.\n * @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.\n * @param replace Specifies whether the existing entry for the document is replaced in the history list.\n */\n open(unused1?: string, unused2?: string): Document;\n open(url: string | URL, name: string, features: string): WindowProxy | null;\n /**\n * Returns a Boolean value that indicates whether a specified command can be successfully executed using execCommand, given the current state of the document.\n * @param commandId Specifies a command identifier.\n * @deprecated\n */\n queryCommandEnabled(commandId: string): boolean;\n /**\n * Returns a Boolean value that indicates whether the specified command is in the indeterminate state.\n * @param commandId String that specifies a command identifier.\n */\n queryCommandIndeterm(commandId: string): boolean;\n /**\n * Returns a Boolean value that indicates the current state of the command.\n * @param commandId String that specifies a command identifier.\n * @deprecated\n */\n queryCommandState(commandId: string): boolean;\n /**\n * Returns a Boolean value that indicates whether the current command is supported on the current range.\n * @param commandId Specifies a command identifier.\n * @deprecated\n */\n queryCommandSupported(commandId: string): boolean;\n /**\n * Returns the current value of the document, range, or current selection for the given command.\n * @param commandId String that specifies a command identifier.\n */\n queryCommandValue(commandId: string): string;\n /** @deprecated */\n releaseEvents(): void;\n requestStorageAccess(): Promise<void>;\n /**\n * Writes one or more HTML expressions to a document in the specified window.\n * @param content Specifies the text and HTML tags to write.\n */\n write(...text: string[]): void;\n /**\n * Writes one or more HTML expressions, followed by a carriage return, to a document in the specified window.\n * @param content The text and HTML tags to write.\n */\n writeln(...text: string[]): void;\n addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Document: {\n prototype: Document;\n new(): Document;\n};\n\ninterface DocumentAndElementEventHandlersEventMap {\n "copy": ClipboardEvent;\n "cut": ClipboardEvent;\n "paste": ClipboardEvent;\n}\n\ninterface DocumentAndElementEventHandlers {\n oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;\n oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;\n onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;\n addEventListener<K extends keyof DocumentAndElementEventHandlersEventMap>(type: K, listener: (this: DocumentAndElementEventHandlers, ev: DocumentAndElementEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof DocumentAndElementEventHandlersEventMap>(type: K, listener: (this: DocumentAndElementEventHandlers, ev: DocumentAndElementEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\n/** 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. */\ninterface DocumentFragment extends Node, NonElementParentNode, ParentNode {\n readonly ownerDocument: Document;\n getElementById(elementId: string): HTMLElement | null;\n}\n\ndeclare var DocumentFragment: {\n prototype: DocumentFragment;\n new(): DocumentFragment;\n};\n\ninterface DocumentOrShadowRoot {\n /**\n * 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.\n *\n * 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.\n *\n * 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.\n */\n readonly activeElement: Element | null;\n /**\n * Returns document\'s fullscreen element.\n */\n readonly fullscreenElement: Element | null;\n readonly pictureInPictureElement: Element | null;\n readonly pointerLockElement: Element | null;\n /**\n * Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document.\n */\n readonly styleSheets: StyleSheetList;\n getAnimations(): Animation[];\n}\n\ninterface DocumentTimeline extends AnimationTimeline {\n}\n\ndeclare var DocumentTimeline: {\n prototype: DocumentTimeline;\n new(options?: DocumentTimelineOptions): DocumentTimeline;\n};\n\n/** A Node containing a doctype. */\ninterface DocumentType extends Node, ChildNode {\n readonly name: string;\n readonly ownerDocument: Document;\n readonly publicId: string;\n readonly systemId: string;\n}\n\ndeclare var DocumentType: {\n prototype: DocumentType;\n new(): DocumentType;\n};\n\n/** 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. */\ninterface DragEvent extends MouseEvent {\n /**\n * Returns the DataTransfer object for the event.\n */\n readonly dataTransfer: DataTransfer | null;\n}\n\ndeclare var DragEvent: {\n prototype: DragEvent;\n new(type: string, eventInitDict?: DragEventInit): DragEvent;\n};\n\n/** Inherits properties from its parent, AudioNode. */\ninterface DynamicsCompressorNode extends AudioNode {\n readonly attack: AudioParam;\n readonly knee: AudioParam;\n readonly ratio: AudioParam;\n readonly reduction: number;\n readonly release: AudioParam;\n readonly threshold: AudioParam;\n}\n\ndeclare var DynamicsCompressorNode: {\n prototype: DynamicsCompressorNode;\n new(context: BaseAudioContext, options?: DynamicsCompressorOptions): DynamicsCompressorNode;\n};\n\ninterface EXT_blend_minmax {\n readonly MAX_EXT: GLenum;\n readonly MIN_EXT: GLenum;\n}\n\ninterface EXT_color_buffer_float {\n}\n\ninterface EXT_color_buffer_half_float {\n readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: GLenum;\n readonly RGB16F_EXT: GLenum;\n readonly RGBA16F_EXT: GLenum;\n readonly UNSIGNED_NORMALIZED_EXT: GLenum;\n}\n\ninterface EXT_float_blend {\n}\n\n/** 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. */\ninterface EXT_frag_depth {\n}\n\ninterface EXT_sRGB {\n readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: GLenum;\n readonly SRGB8_ALPHA8_EXT: GLenum;\n readonly SRGB_ALPHA_EXT: GLenum;\n readonly SRGB_EXT: GLenum;\n}\n\ninterface EXT_shader_texture_lod {\n}\n\ninterface EXT_texture_compression_rgtc {\n readonly COMPRESSED_RED_GREEN_RGTC2_EXT: GLenum;\n readonly COMPRESSED_RED_RGTC1_EXT: GLenum;\n readonly COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT: GLenum;\n readonly COMPRESSED_SIGNED_RED_RGTC1_EXT: GLenum;\n}\n\n/** The EXT_texture_filter_anisotropic extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF). */\ninterface EXT_texture_filter_anisotropic {\n readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: GLenum;\n readonly TEXTURE_MAX_ANISOTROPY_EXT: GLenum;\n}\n\ninterface ElementEventMap {\n "fullscreenchange": Event;\n "fullscreenerror": Event;\n}\n\n/** 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. */\ninterface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, NonDocumentTypeChildNode, ParentNode, Slottable {\n readonly attributes: NamedNodeMap;\n /**\n * Allows for manipulation of element\'s class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.\n */\n readonly classList: DOMTokenList;\n /**\n * Returns the value of element\'s class content attribute. Can be set to change it.\n */\n className: string;\n readonly clientHeight: number;\n readonly clientLeft: number;\n readonly clientTop: number;\n readonly clientWidth: number;\n /**\n * Returns the value of element\'s id content attribute. Can be set to change it.\n */\n id: string;\n /**\n * Returns the local name.\n */\n readonly localName: string;\n /**\n * Returns the namespace.\n */\n readonly namespaceURI: string | null;\n onfullscreenchange: ((this: Element, ev: Event) => any) | null;\n onfullscreenerror: ((this: Element, ev: Event) => any) | null;\n outerHTML: string;\n readonly ownerDocument: Document;\n readonly part: DOMTokenList;\n /**\n * Returns the namespace prefix.\n */\n readonly prefix: string | null;\n readonly scrollHeight: number;\n scrollLeft: number;\n scrollTop: number;\n readonly scrollWidth: number;\n /**\n * Returns element\'s shadow root, if any, and if shadow root\'s mode is "open", and null otherwise.\n */\n readonly shadowRoot: ShadowRoot | null;\n /**\n * Returns the value of element\'s slot content attribute. Can be set to change it.\n */\n slot: string;\n /**\n * Returns the HTML-uppercased qualified name.\n */\n readonly tagName: string;\n /**\n * Creates a shadow root for element and returns it.\n */\n attachShadow(init: ShadowRootInit): ShadowRoot;\n /**\n * Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise.\n */\n closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;\n closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;\n closest<E extends Element = Element>(selectors: string): E | null;\n /**\n * Returns element\'s first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise.\n */\n getAttribute(qualifiedName: string): string | null;\n /**\n * Returns element\'s attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise.\n */\n getAttributeNS(namespace: string | null, localName: string): string | null;\n /**\n * Returns the qualified names of all element\'s attributes. Can contain duplicates.\n */\n getAttributeNames(): string[];\n getAttributeNode(qualifiedName: string): Attr | null;\n getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;\n getBoundingClientRect(): DOMRect;\n getClientRects(): DOMRectList;\n /**\n * 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.\n */\n getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;\n getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;\n getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;\n getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;\n getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;\n getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;\n getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;\n /**\n * Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise.\n */\n hasAttribute(qualifiedName: string): boolean;\n /**\n * Returns true if element has an attribute whose namespace is namespace and local name is localName.\n */\n hasAttributeNS(namespace: string | null, localName: string): boolean;\n /**\n * Returns true if element has attributes, and false otherwise.\n */\n hasAttributes(): boolean;\n hasPointerCapture(pointerId: number): boolean;\n insertAdjacentElement(where: InsertPosition, element: Element): Element | null;\n insertAdjacentHTML(position: InsertPosition, text: string): void;\n insertAdjacentText(where: InsertPosition, data: string): void;\n /**\n * Returns true if matching selectors against element\'s root yields element, and false otherwise.\n */\n matches(selectors: string): boolean;\n releasePointerCapture(pointerId: number): void;\n /**\n * Removes element\'s first attribute whose qualified name is qualifiedName.\n */\n removeAttribute(qualifiedName: string): void;\n /**\n * Removes element\'s attribute whose namespace is namespace and local name is localName.\n */\n removeAttributeNS(namespace: string | null, localName: string): void;\n removeAttributeNode(attr: Attr): Attr;\n /**\n * Displays element fullscreen and resolves promise when done.\n *\n * 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.\n */\n requestFullscreen(options?: FullscreenOptions): Promise<void>;\n requestPointerLock(): void;\n scroll(options?: ScrollToOptions): void;\n scroll(x: number, y: number): void;\n scrollBy(options?: ScrollToOptions): void;\n scrollBy(x: number, y: number): void;\n scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;\n scrollTo(options?: ScrollToOptions): void;\n scrollTo(x: number, y: number): void;\n /**\n * Sets the value of element\'s first attribute whose qualified name is qualifiedName to value.\n */\n setAttribute(qualifiedName: string, value: string): void;\n /**\n * Sets the value of element\'s attribute whose namespace is namespace and local name is localName to value.\n */\n setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;\n setAttributeNode(attr: Attr): Attr | null;\n setAttributeNodeNS(attr: Attr): Attr | null;\n setPointerCapture(pointerId: number): void;\n /**\n * 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.\n *\n * Returns true if qualifiedName is now present, and false otherwise.\n */\n toggleAttribute(qualifiedName: string, force?: boolean): boolean;\n /** @deprecated This is a legacy alias of `matches`. */\n webkitMatchesSelector(selectors: string): boolean;\n addEventListener<K extends keyof ElementEventMap>(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ElementEventMap>(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Element: {\n prototype: Element;\n new(): Element;\n};\n\ninterface ElementCSSInlineStyle {\n readonly style: CSSStyleDeclaration;\n}\n\ninterface ElementContentEditable {\n contentEditable: string;\n enterKeyHint: string;\n inputMode: string;\n readonly isContentEditable: boolean;\n}\n\n/** Events providing information related to errors in scripts or in files. */\ninterface ErrorEvent extends Event {\n readonly colno: number;\n readonly error: any;\n readonly filename: string;\n readonly lineno: number;\n readonly message: string;\n}\n\ndeclare var ErrorEvent: {\n prototype: ErrorEvent;\n new(type: string, eventInitDict?: ErrorEventInit): ErrorEvent;\n};\n\n/** An event which takes place in the DOM. */\ninterface Event {\n /**\n * 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.\n */\n readonly bubbles: boolean;\n cancelBubble: boolean;\n /**\n * 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.\n */\n readonly cancelable: boolean;\n /**\n * 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.\n */\n readonly composed: boolean;\n /**\n * Returns the object whose event listener\'s callback is currently being invoked.\n */\n readonly currentTarget: EventTarget | null;\n /**\n * Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.\n */\n readonly defaultPrevented: boolean;\n /**\n * Returns the event\'s phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.\n */\n readonly eventPhase: number;\n /**\n * Returns true if event was dispatched by the user agent, and false otherwise.\n */\n readonly isTrusted: boolean;\n /** @deprecated */\n returnValue: boolean;\n /** @deprecated */\n readonly srcElement: EventTarget | null;\n /**\n * Returns the object to which event is dispatched (its target).\n */\n readonly target: EventTarget | null;\n /**\n * Returns the event\'s timestamp as the number of milliseconds measured relative to the time origin.\n */\n readonly timeStamp: DOMHighResTimeStamp;\n /**\n * Returns the type of event, e.g. "click", "hashchange", or "submit".\n */\n readonly type: string;\n /**\n * 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.\n */\n composedPath(): EventTarget[];\n /** @deprecated */\n initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;\n /**\n * 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.\n */\n preventDefault(): void;\n /**\n * 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.\n */\n stopImmediatePropagation(): void;\n /**\n * When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.\n */\n stopPropagation(): void;\n readonly AT_TARGET: number;\n readonly BUBBLING_PHASE: number;\n readonly CAPTURING_PHASE: number;\n readonly NONE: number;\n}\n\ndeclare var Event: {\n prototype: Event;\n new(type: string, eventInitDict?: EventInit): Event;\n readonly AT_TARGET: number;\n readonly BUBBLING_PHASE: number;\n readonly CAPTURING_PHASE: number;\n readonly NONE: number;\n};\n\ninterface EventListener {\n (evt: Event): void;\n}\n\ninterface EventListenerObject {\n handleEvent(object: Event): void;\n}\n\ninterface EventSourceEventMap {\n "error": Event;\n "message": MessageEvent;\n "open": Event;\n}\n\ninterface EventSource extends EventTarget {\n onerror: ((this: EventSource, ev: Event) => any) | null;\n onmessage: ((this: EventSource, ev: MessageEvent) => any) | null;\n onopen: ((this: EventSource, ev: Event) => any) | null;\n /**\n * Returns the state of this EventSource object\'s connection. It can have the values described below.\n */\n readonly readyState: number;\n /**\n * Returns the URL providing the event stream.\n */\n readonly url: string;\n /**\n * Returns true if the credentials mode for connection requests to the URL providing the event stream is set to "include", and false otherwise.\n */\n readonly withCredentials: boolean;\n /**\n * Aborts any instances of the fetch algorithm started for this EventSource object, and sets the readyState attribute to CLOSED.\n */\n close(): void;\n readonly CLOSED: number;\n readonly CONNECTING: number;\n readonly OPEN: number;\n addEventListener<K extends keyof EventSourceEventMap>(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof EventSourceEventMap>(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var EventSource: {\n prototype: EventSource;\n new(url: string | URL, eventSourceInitDict?: EventSourceInit): EventSource;\n readonly CLOSED: number;\n readonly CONNECTING: number;\n readonly OPEN: number;\n};\n\n/** EventTarget is a DOM interface implemented by objects that can receive events and may have listeners for them. */\ninterface EventTarget {\n /**\n * 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.\n *\n * 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.\n *\n * 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.\n *\n * 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 § 2.8 Observing event listeners.\n *\n * When set to true, options\'s once indicates that the callback will only be invoked once after which the event listener will be removed.\n *\n * If an AbortSignal is passed for options\'s signal, then the event listener will be removed when signal is aborted.\n *\n * The event listener is appended to target\'s event listener list and is not appended if it has the same type, callback, and capture.\n */\n addEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void;\n /**\n * 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.\n */\n dispatchEvent(event: Event): boolean;\n /**\n * Removes the event listener in target\'s event listener list with the same type, callback, and options.\n */\n removeEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void;\n}\n\ndeclare var EventTarget: {\n prototype: EventTarget;\n new(): EventTarget;\n};\n\n/** @deprecated */\ninterface External {\n /** @deprecated */\n AddSearchProvider(): void;\n /** @deprecated */\n IsSearchProviderInstalled(): void;\n}\n\n/** @deprecated */\ndeclare var External: {\n prototype: External;\n new(): External;\n};\n\n/** Provides information about files and allows JavaScript in a web page to access their content. */\ninterface File extends Blob {\n readonly lastModified: number;\n readonly name: string;\n readonly webkitRelativePath: string;\n}\n\ndeclare var File: {\n prototype: File;\n new(fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File;\n};\n\n/** An object of this type is returned by the files property of the HTML <input> element; this lets you access the list of files selected with the <input type="file"> 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. */\ninterface FileList {\n readonly length: number;\n item(index: number): File | null;\n [index: number]: File;\n}\n\ndeclare var FileList: {\n prototype: FileList;\n new(): FileList;\n};\n\ninterface FileReaderEventMap {\n "abort": ProgressEvent<FileReader>;\n "error": ProgressEvent<FileReader>;\n "load": ProgressEvent<FileReader>;\n "loadend": ProgressEvent<FileReader>;\n "loadstart": ProgressEvent<FileReader>;\n "progress": ProgressEvent<FileReader>;\n}\n\n/** 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. */\ninterface FileReader extends EventTarget {\n readonly error: DOMException | null;\n onabort: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n onerror: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n onload: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n onloadend: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n onloadstart: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n onprogress: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n readonly readyState: number;\n readonly result: string | ArrayBuffer | null;\n abort(): void;\n readAsArrayBuffer(blob: Blob): void;\n readAsBinaryString(blob: Blob): void;\n readAsDataURL(blob: Blob): void;\n readAsText(blob: Blob, encoding?: string): void;\n readonly DONE: number;\n readonly EMPTY: number;\n readonly LOADING: number;\n addEventListener<K extends keyof FileReaderEventMap>(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof FileReaderEventMap>(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var FileReader: {\n prototype: FileReader;\n new(): FileReader;\n readonly DONE: number;\n readonly EMPTY: number;\n readonly LOADING: number;\n};\n\ninterface FileSystem {\n readonly name: string;\n readonly root: FileSystemDirectoryEntry;\n}\n\ndeclare var FileSystem: {\n prototype: FileSystem;\n new(): FileSystem;\n};\n\ninterface FileSystemDirectoryEntry extends FileSystemEntry {\n createReader(): FileSystemDirectoryReader;\n getDirectory(path?: string | null, options?: FileSystemFlags, successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void;\n getFile(path?: string | null, options?: FileSystemFlags, successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void;\n}\n\ndeclare var FileSystemDirectoryEntry: {\n prototype: FileSystemDirectoryEntry;\n new(): FileSystemDirectoryEntry;\n};\n\n/** @deprecated */\ninterface FileSystemDirectoryReader {\n /** @deprecated */\n readEntries(successCallback: FileSystemEntriesCallback, errorCallback?: ErrorCallback): void;\n}\n\n/** @deprecated */\ndeclare var FileSystemDirectoryReader: {\n prototype: FileSystemDirectoryReader;\n new(): FileSystemDirectoryReader;\n};\n\ninterface FileSystemEntry {\n readonly filesystem: FileSystem;\n readonly fullPath: string;\n readonly isDirectory: boolean;\n readonly isFile: boolean;\n readonly name: string;\n getParent(successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void;\n}\n\ndeclare var FileSystemEntry: {\n prototype: FileSystemEntry;\n new(): FileSystemEntry;\n};\n\ninterface FileSystemFileEntry extends FileSystemEntry {\n file(successCallback: FileCallback, errorCallback?: ErrorCallback): void;\n}\n\ndeclare var FileSystemFileEntry: {\n prototype: FileSystemFileEntry;\n new(): FileSystemFileEntry;\n};\n\n/** Focus-related events like focus, blur, focusin, or focusout. */\ninterface FocusEvent extends UIEvent {\n readonly relatedTarget: EventTarget | null;\n}\n\ndeclare var FocusEvent: {\n prototype: FocusEvent;\n new(type: string, eventInitDict?: FocusEventInit): FocusEvent;\n};\n\ninterface FontFace {\n ascentOverride: string;\n descentOverride: string;\n display: string;\n family: string;\n featureSettings: string;\n lineGapOverride: string;\n readonly loaded: Promise<FontFace>;\n readonly status: FontFaceLoadStatus;\n stretch: string;\n style: string;\n unicodeRange: string;\n variant: string;\n variationSettings: string;\n weight: string;\n load(): Promise<FontFace>;\n}\n\ndeclare var FontFace: {\n prototype: FontFace;\n new(family: string, source: string | BinaryData, descriptors?: FontFaceDescriptors): FontFace;\n};\n\ninterface FontFaceSetEventMap {\n "loading": Event;\n "loadingdone": Event;\n "loadingerror": Event;\n}\n\ninterface FontFaceSet extends EventTarget {\n onloading: ((this: FontFaceSet, ev: Event) => any) | null;\n onloadingdone: ((this: FontFaceSet, ev: Event) => any) | null;\n onloadingerror: ((this: FontFaceSet, ev: Event) => any) | null;\n readonly ready: Promise<FontFaceSet>;\n readonly status: FontFaceSetLoadStatus;\n check(font: string, text?: string): boolean;\n load(font: string, text?: string): Promise<FontFace[]>;\n forEach(callbackfn: (value: FontFace, key: FontFace, parent: FontFaceSet) => void, thisArg?: any): void;\n addEventListener<K extends keyof FontFaceSetEventMap>(type: K, listener: (this: FontFaceSet, ev: FontFaceSetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof FontFaceSetEventMap>(type: K, listener: (this: FontFaceSet, ev: FontFaceSetEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var FontFaceSet: {\n prototype: FontFaceSet;\n new(initialFaces: FontFace[]): FontFaceSet;\n};\n\ninterface FontFaceSetLoadEvent extends Event {\n readonly fontfaces: ReadonlyArray<FontFace>;\n}\n\ndeclare var FontFaceSetLoadEvent: {\n prototype: FontFaceSetLoadEvent;\n new(type: string, eventInitDict?: FontFaceSetLoadEventInit): FontFaceSetLoadEvent;\n};\n\ninterface FontFaceSource {\n readonly fonts: FontFaceSet;\n}\n\n/** 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". */\ninterface FormData {\n append(name: string, value: string | Blob, fileName?: string): void;\n delete(name: string): void;\n get(name: string): FormDataEntryValue | null;\n getAll(name: string): FormDataEntryValue[];\n has(name: string): boolean;\n set(name: string, value: string | Blob, fileName?: string): void;\n forEach(callbackfn: (value: FormDataEntryValue, key: string, parent: FormData) => void, thisArg?: any): void;\n}\n\ndeclare var FormData: {\n prototype: FormData;\n new(form?: HTMLFormElement): FormData;\n};\n\ninterface FormDataEvent extends Event {\n /**\n * 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.\n */\n readonly formData: FormData;\n}\n\ndeclare var FormDataEvent: {\n prototype: FormDataEvent;\n new(type: string, eventInitDict: FormDataEventInit): FormDataEvent;\n};\n\n/** 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. */\ninterface GainNode extends AudioNode {\n readonly gain: AudioParam;\n}\n\ndeclare var GainNode: {\n prototype: GainNode;\n new(context: BaseAudioContext, options?: GainOptions): GainNode;\n};\n\n/** This Gamepad API interface defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id. */\ninterface Gamepad {\n readonly axes: ReadonlyArray<number>;\n readonly buttons: ReadonlyArray<GamepadButton>;\n readonly connected: boolean;\n readonly hapticActuators: ReadonlyArray<GamepadHapticActuator>;\n readonly id: string;\n readonly index: number;\n readonly mapping: GamepadMappingType;\n readonly timestamp: DOMHighResTimeStamp;\n}\n\ndeclare var Gamepad: {\n prototype: Gamepad;\n new(): Gamepad;\n};\n\n/** 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. */\ninterface GamepadButton {\n readonly pressed: boolean;\n readonly touched: boolean;\n readonly value: number;\n}\n\ndeclare var GamepadButton: {\n prototype: GamepadButton;\n new(): GamepadButton;\n};\n\n/** 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. */\ninterface GamepadEvent extends Event {\n readonly gamepad: Gamepad;\n}\n\ndeclare var GamepadEvent: {\n prototype: GamepadEvent;\n new(type: string, eventInitDict: GamepadEventInit): GamepadEvent;\n};\n\n/** This Gamepad API interface represents hardware in the controller designed to provide haptic feedback to the user (if available), most commonly vibration hardware. */\ninterface GamepadHapticActuator {\n readonly type: GamepadHapticActuatorType;\n}\n\ndeclare var GamepadHapticActuator: {\n prototype: GamepadHapticActuator;\n new(): GamepadHapticActuator;\n};\n\ninterface GenericTransformStream {\n readonly readable: ReadableStream;\n readonly writable: WritableStream;\n}\n\n/** 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. */\ninterface Geolocation {\n clearWatch(watchId: number): void;\n getCurrentPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback | null, options?: PositionOptions): void;\n watchPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback | null, options?: PositionOptions): number;\n}\n\ndeclare var Geolocation: {\n prototype: Geolocation;\n new(): Geolocation;\n};\n\ninterface GeolocationCoordinates {\n readonly accuracy: number;\n readonly altitude: number | null;\n readonly altitudeAccuracy: number | null;\n readonly heading: number | null;\n readonly latitude: number;\n readonly longitude: number;\n readonly speed: number | null;\n}\n\ndeclare var GeolocationCoordinates: {\n prototype: GeolocationCoordinates;\n new(): GeolocationCoordinates;\n};\n\ninterface GeolocationPosition {\n readonly coords: GeolocationCoordinates;\n readonly timestamp: DOMTimeStamp;\n}\n\ndeclare var GeolocationPosition: {\n prototype: GeolocationPosition;\n new(): GeolocationPosition;\n};\n\ninterface GeolocationPositionError {\n readonly code: number;\n readonly message: string;\n readonly PERMISSION_DENIED: number;\n readonly POSITION_UNAVAILABLE: number;\n readonly TIMEOUT: number;\n}\n\ndeclare var GeolocationPositionError: {\n prototype: GeolocationPositionError;\n new(): GeolocationPositionError;\n readonly PERMISSION_DENIED: number;\n readonly POSITION_UNAVAILABLE: number;\n readonly TIMEOUT: number;\n};\n\ninterface GlobalEventHandlersEventMap {\n "abort": UIEvent;\n "animationcancel": AnimationEvent;\n "animationend": AnimationEvent;\n "animationiteration": AnimationEvent;\n "animationstart": AnimationEvent;\n "auxclick": MouseEvent;\n "beforeinput": InputEvent;\n "blur": FocusEvent;\n "canplay": Event;\n "canplaythrough": Event;\n "change": Event;\n "click": MouseEvent;\n "close": Event;\n "compositionend": CompositionEvent;\n "compositionstart": CompositionEvent;\n "compositionupdate": CompositionEvent;\n "contextmenu": MouseEvent;\n "cuechange": Event;\n "dblclick": MouseEvent;\n "drag": DragEvent;\n "dragend": DragEvent;\n "dragenter": DragEvent;\n "dragleave": DragEvent;\n "dragover": DragEvent;\n "dragstart": DragEvent;\n "drop": DragEvent;\n "durationchange": Event;\n "emptied": Event;\n "ended": Event;\n "error": ErrorEvent;\n "focus": FocusEvent;\n "focusin": FocusEvent;\n "focusout": FocusEvent;\n "formdata": FormDataEvent;\n "gotpointercapture": PointerEvent;\n "input": Event;\n "invalid": Event;\n "keydown": KeyboardEvent;\n "keypress": KeyboardEvent;\n "keyup": KeyboardEvent;\n "load": Event;\n "loadeddata": Event;\n "loadedmetadata": Event;\n "loadstart": Event;\n "lostpointercapture": PointerEvent;\n "mousedown": MouseEvent;\n "mouseenter": MouseEvent;\n "mouseleave": MouseEvent;\n "mousemove": MouseEvent;\n "mouseout": MouseEvent;\n "mouseover": MouseEvent;\n "mouseup": MouseEvent;\n "pause": Event;\n "play": Event;\n "playing": Event;\n "pointercancel": PointerEvent;\n "pointerdown": PointerEvent;\n "pointerenter": PointerEvent;\n "pointerleave": PointerEvent;\n "pointermove": PointerEvent;\n "pointerout": PointerEvent;\n "pointerover": PointerEvent;\n "pointerup": PointerEvent;\n "progress": ProgressEvent;\n "ratechange": Event;\n "reset": Event;\n "resize": UIEvent;\n "scroll": Event;\n "securitypolicyviolation": SecurityPolicyViolationEvent;\n "seeked": Event;\n "seeking": Event;\n "select": Event;\n "selectionchange": Event;\n "selectstart": Event;\n "stalled": Event;\n "submit": Event;\n "suspend": Event;\n "timeupdate": Event;\n "toggle": Event;\n "touchcancel": TouchEvent;\n "touchend": TouchEvent;\n "touchmove": TouchEvent;\n "touchstart": TouchEvent;\n "transitioncancel": TransitionEvent;\n "transitionend": TransitionEvent;\n "transitionrun": TransitionEvent;\n "transitionstart": TransitionEvent;\n "volumechange": Event;\n "waiting": Event;\n "webkitanimationend": Event;\n "webkitanimationiteration": Event;\n "webkitanimationstart": Event;\n "webkittransitionend": Event;\n "wheel": WheelEvent;\n}\n\ninterface GlobalEventHandlers {\n /**\n * Fires when the user aborts the download.\n * @param ev The event.\n */\n onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;\n onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;\n onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;\n onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;\n onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;\n onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /**\n * Fires when the object loses the input focus.\n * @param ev The focus event.\n */\n onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;\n /**\n * Occurs when playback is possible, but would require further buffering.\n * @param ev The event.\n */\n oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when the contents of the object or selection have changed.\n * @param ev The event.\n */\n onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when the user clicks the left mouse button on the object\n * @param ev The mouse event.\n */\n onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when the user clicks the right mouse button in the client area, opening the context menu.\n * @param ev The mouse event.\n */\n oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when the user double-clicks the object.\n * @param ev The mouse event.\n */\n ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /**\n * Fires on the source object continuously during a drag operation.\n * @param ev The event.\n */\n ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n /**\n * Fires on the source object when the user releases the mouse at the close of a drag operation.\n * @param ev The event.\n */\n ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n /**\n * Fires on the target element when the user drags the object to a valid drop target.\n * @param ev The drag event.\n */\n ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n /**\n * Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.\n * @param ev The drag event.\n */\n ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n /**\n * Fires on the target element continuously while the user drags the object over a valid drop target.\n * @param ev The event.\n */\n ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n /**\n * Fires on the source object when the user starts to drag a text selection or selected object.\n * @param ev The event.\n */\n ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n /**\n * Occurs when the duration attribute is updated.\n * @param ev The event.\n */\n ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when the media element is reset to its initial state.\n * @param ev The event.\n */\n onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when the end of playback is reached.\n * @param ev The event\n */\n onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when an error occurs during object loading.\n * @param ev The event.\n */\n onerror: OnErrorEventHandler;\n /**\n * Fires when the object receives focus.\n * @param ev The event.\n */\n onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;\n onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;\n ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when the user presses a key.\n * @param ev The keyboard event\n */\n onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;\n /**\n * Fires when the user presses an alphanumeric key.\n * @param ev The event.\n * @deprecated\n */\n onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;\n /**\n * Fires when the user releases a key.\n * @param ev The keyboard event\n */\n onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;\n /**\n * Fires immediately after the browser loads the object.\n * @param ev The event.\n */\n onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when media data is loaded at the current playback position.\n * @param ev The event.\n */\n onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when the duration and dimensions of the media have been determined.\n * @param ev The event.\n */\n onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when Internet Explorer begins looking for media data.\n * @param ev The event.\n */\n onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n /**\n * Fires when the user clicks the object with either mouse button.\n * @param ev The mouse event.\n */\n onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /**\n * Fires when the user moves the mouse over the object.\n * @param ev The mouse event.\n */\n onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /**\n * Fires when the user moves the mouse pointer outside the boundaries of the object.\n * @param ev The mouse event.\n */\n onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /**\n * Fires when the user moves the mouse pointer into the object.\n * @param ev The mouse event.\n */\n onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /**\n * Fires when the user releases a mouse button while the mouse is over the object.\n * @param ev The mouse event.\n */\n onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /**\n * Occurs when playback is paused.\n * @param ev The event.\n */\n onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when the play method is requested.\n * @param ev The event.\n */\n onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when the audio or video has started playing.\n * @param ev The event.\n */\n onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n /**\n * Occurs to indicate progress while downloading media data.\n * @param ev The event.\n */\n onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;\n /**\n * Occurs when the playback rate is increased or decreased.\n * @param ev The event.\n */\n onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when the user resets a form.\n * @param ev The event.\n */\n onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;\n /**\n * Fires when the user repositions the scroll box in the scroll bar on the object.\n * @param ev The event.\n */\n onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when the seek operation ends.\n * @param ev The event.\n */\n onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when the current playback position is moved.\n * @param ev The event.\n */\n onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when the current selection changes.\n * @param ev The event.\n */\n onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when the download has stopped.\n * @param ev The event.\n */\n onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onsubmit: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs if the load operation has been intentionally halted.\n * @param ev The event.\n */\n onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs to indicate the current playback position.\n * @param ev The event.\n */\n ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;\n ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;\n ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;\n ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;\n ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;\n ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;\n ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;\n ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;\n /**\n * Occurs when the volume is changed, or playback is muted or unmuted.\n * @param ev The event.\n */\n onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when playback stops because the next frame of a video resource is not available.\n * @param ev The event.\n */\n onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;\n addEventListener<K extends keyof GlobalEventHandlersEventMap>(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof GlobalEventHandlersEventMap>(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ninterface HTMLAllCollection {\n /**\n * Returns the number of elements in the collection.\n */\n readonly length: number;\n /**\n * Returns the item with index index from the collection (determined by tree order).\n */\n item(nameOrIndex?: string): HTMLCollection | Element | null;\n /**\n * Returns the item with ID or name name from the collection.\n *\n * If there are multiple matching items, then an HTMLCollection object containing all those elements is returned.\n *\n * 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.\n */\n namedItem(name: string): HTMLCollection | Element | null;\n [index: number]: Element;\n}\n\ndeclare var HTMLAllCollection: {\n prototype: HTMLAllCollection;\n new(): HTMLAllCollection;\n};\n\n/** 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. */\ninterface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {\n /**\n * Sets or retrieves the character set used to encode the object.\n * @deprecated\n */\n charset: string;\n /**\n * Sets or retrieves the coordinates of the object.\n * @deprecated\n */\n coords: string;\n download: string;\n /**\n * Sets or retrieves the language code of the object.\n */\n hreflang: string;\n /**\n * Sets or retrieves the shape of the object.\n * @deprecated\n */\n name: string;\n ping: string;\n referrerPolicy: string;\n /**\n * Sets or retrieves the relationship between the object and the destination of the link.\n */\n rel: string;\n readonly relList: DOMTokenList;\n /**\n * Sets or retrieves the relationship between the object and the destination of the link.\n * @deprecated\n */\n rev: string;\n /**\n * Sets or retrieves the shape of the object.\n * @deprecated\n */\n shape: string;\n /**\n * Sets or retrieves the window or frame at which to target content.\n */\n target: string;\n /**\n * Retrieves or sets the text of the object as a string.\n */\n text: string;\n type: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLAnchorElement: {\n prototype: HTMLAnchorElement;\n new(): HTMLAnchorElement;\n};\n\n/** 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 <area> elements. */\ninterface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {\n /**\n * Sets or retrieves a text alternative to the graphic.\n */\n alt: string;\n /**\n * Sets or retrieves the coordinates of the object.\n */\n coords: string;\n download: string;\n /**\n * Sets or gets whether clicks in this region cause action.\n * @deprecated\n */\n noHref: boolean;\n ping: string;\n referrerPolicy: string;\n rel: string;\n readonly relList: DOMTokenList;\n /**\n * Sets or retrieves the shape of the object.\n */\n shape: string;\n /**\n * Sets or retrieves the window or frame at which to target content.\n */\n target: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLAreaElement: {\n prototype: HTMLAreaElement;\n new(): HTMLAreaElement;\n};\n\n/** Provides access to the properties of <audio> elements, as well as methods to manipulate them. It derives from the HTMLMediaElement interface. */\ninterface HTMLAudioElement extends HTMLMediaElement {\n addEventListener<K extends keyof HTMLMediaElementEventMap>(type: K, listener: (this: HTMLAudioElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLMediaElementEventMap>(type: K, listener: (this: HTMLAudioElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLAudioElement: {\n prototype: HTMLAudioElement;\n new(): HTMLAudioElement;\n};\n\n/** A HTML line break element (<br>). It inherits from HTMLElement. */\ninterface HTMLBRElement extends HTMLElement {\n /**\n * Sets or retrieves the side on which floating objects are not to be positioned when any IHTMLBlockElement is inserted into the document.\n * @deprecated\n */\n clear: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLBRElement: {\n prototype: HTMLBRElement;\n new(): HTMLBRElement;\n};\n\n/** Contains the base URI for a document. This object inherits all of the properties and methods as described in the HTMLElement interface. */\ninterface HTMLBaseElement extends HTMLElement {\n /**\n * Gets or sets the baseline URL on which relative links are based.\n */\n href: string;\n /**\n * Sets or retrieves the window or frame at which to target content.\n */\n target: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBaseElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBaseElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLBaseElement: {\n prototype: HTMLBaseElement;\n new(): HTMLBaseElement;\n};\n\ninterface HTMLBodyElementEventMap extends HTMLElementEventMap, WindowEventHandlersEventMap {\n "orientationchange": Event;\n}\n\n/** Provides special properties (beyond those inherited from the regular HTMLElement interface) for manipulating <body> elements. */\ninterface HTMLBodyElement extends HTMLElement, WindowEventHandlers {\n /** @deprecated */\n aLink: string;\n /** @deprecated */\n background: string;\n /** @deprecated */\n bgColor: string;\n /** @deprecated */\n link: string;\n /** @deprecated */\n onorientationchange: ((this: HTMLBodyElement, ev: Event) => any) | null;\n /** @deprecated */\n text: string;\n /** @deprecated */\n vLink: string;\n addEventListener<K extends keyof HTMLBodyElementEventMap>(type: K, listener: (this: HTMLBodyElement, ev: HTMLBodyElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLBodyElementEventMap>(type: K, listener: (this: HTMLBodyElement, ev: HTMLBodyElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLBodyElement: {\n prototype: HTMLBodyElement;\n new(): HTMLBodyElement;\n};\n\n/** Provides properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <button> elements. */\ninterface HTMLButtonElement extends HTMLElement {\n disabled: boolean;\n /**\n * Retrieves a reference to the form that the object is embedded in.\n */\n readonly form: HTMLFormElement | null;\n /**\n * Overrides the action attribute (where the data on a form is sent) on the parent form element.\n */\n formAction: string;\n /**\n * Used to override the encoding (formEnctype attribute) specified on the form element.\n */\n formEnctype: string;\n /**\n * Overrides the submit method attribute previously specified on a form element.\n */\n formMethod: string;\n /**\n * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option.\n */\n formNoValidate: boolean;\n /**\n * Overrides the target attribute on a form element.\n */\n formTarget: string;\n readonly labels: NodeListOf<HTMLLabelElement>;\n /**\n * Sets or retrieves the name of the object.\n */\n name: string;\n /**\n * Gets the classification and default behavior of the button.\n */\n type: string;\n /**\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.\n */\n readonly validationMessage: string;\n /**\n * Returns a ValidityState object that represents the validity states of an element.\n */\n readonly validity: ValidityState;\n /**\n * Sets or retrieves the default or selected value of the control.\n */\n value: string;\n /**\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\n */\n readonly willValidate: boolean;\n /**\n * Returns whether a form will validate when it is submitted, without having to submit it.\n */\n checkValidity(): boolean;\n reportValidity(): boolean;\n /**\n * Sets a custom error message that is displayed when a form is submitted.\n * @param error Sets a custom error message that is displayed when a form is submitted.\n */\n setCustomValidity(error: string): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLButtonElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLButtonElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLButtonElement: {\n prototype: HTMLButtonElement;\n new(): HTMLButtonElement;\n};\n\n/** Provides properties and methods for manipulating the layout and presentation of <canvas> elements. The HTMLCanvasElement interface also inherits the properties and methods of the HTMLElement interface. */\ninterface HTMLCanvasElement extends HTMLElement {\n /**\n * Gets or sets the height of a canvas element on a document.\n */\n height: number;\n /**\n * Gets or sets the width of a canvas element on a document.\n */\n width: number;\n captureStream(frameRequestRate?: number): MediaStream;\n /**\n * Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in a document. A context object includes information about colors, line widths, fonts, and other graphic parameters that can be drawn on a canvas.\n * @param contextId The identifier (ID) of the type of canvas to create. Internet Explorer 9 and Internet Explorer 10 support only a 2-D context using canvas.getContext("2d"); IE11 Preview also supports 3-D or WebGL context using canvas.getContext("experimental-webgl");\n */\n getContext(contextId: "2d", options?: CanvasRenderingContext2DSettings): CanvasRenderingContext2D | null;\n getContext(contextId: "bitmaprenderer", options?: ImageBitmapRenderingContextSettings): ImageBitmapRenderingContext | null;\n getContext(contextId: "webgl", options?: WebGLContextAttributes): WebGLRenderingContext | null;\n getContext(contextId: "webgl2", options?: WebGLContextAttributes): WebGL2RenderingContext | null;\n getContext(contextId: string, options?: any): RenderingContext | null;\n toBlob(callback: BlobCallback, type?: string, quality?: any): void;\n /**\n * Returns the content of the current canvas as an image that you can use as a source for another canvas or an HTML element.\n * @param type The standard MIME type for the image format to return. If you do not specify this parameter, the default value is a PNG format image.\n */\n toDataURL(type?: string, quality?: any): string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLCanvasElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLCanvasElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLCanvasElement: {\n prototype: HTMLCanvasElement;\n new(): HTMLCanvasElement;\n};\n\n/** A generic collection (array-like object similar to arguments) of elements (in document order) and offers methods and properties for selecting from the list. */\ninterface HTMLCollectionBase {\n /**\n * Sets or retrieves the number of objects in a collection.\n */\n readonly length: number;\n /**\n * Retrieves an object from various collections.\n */\n item(index: number): Element | null;\n [index: number]: Element;\n}\n\ninterface HTMLCollection extends HTMLCollectionBase {\n /**\n * Retrieves a select object or an object from an options collection.\n */\n namedItem(name: string): Element | null;\n}\n\ndeclare var HTMLCollection: {\n prototype: HTMLCollection;\n new(): HTMLCollection;\n};\n\ninterface HTMLCollectionOf<T extends Element> extends HTMLCollectionBase {\n item(index: number): T | null;\n namedItem(name: string): T | null;\n [index: number]: T;\n}\n\n/** Provides special properties (beyond those of the regular HTMLElement interface it also has available to it by inheritance) for manipulating definition list (<dl>) elements. */\ninterface HTMLDListElement extends HTMLElement {\n /** @deprecated */\n compact: boolean;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLDListElement: {\n prototype: HTMLDListElement;\n new(): HTMLDListElement;\n};\n\n/** Provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <data> elements. */\ninterface HTMLDataElement extends HTMLElement {\n value: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDataElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDataElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLDataElement: {\n prototype: HTMLDataElement;\n new(): HTMLDataElement;\n};\n\n/** Provides special properties (beyond the HTMLElement object interface it also has available to it by inheritance) to manipulate <datalist> elements and their content. */\ninterface HTMLDataListElement extends HTMLElement {\n /**\n * Returns an HTMLCollection of the option elements of the datalist element.\n */\n readonly options: HTMLCollectionOf<HTMLOptionElement>;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLDataListElement: {\n prototype: HTMLDataListElement;\n new(): HTMLDataListElement;\n};\n\ninterface HTMLDetailsElement extends HTMLElement {\n open: boolean;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDetailsElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDetailsElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLDetailsElement: {\n prototype: HTMLDetailsElement;\n new(): HTMLDetailsElement;\n};\n\n/** @deprecated this is not available in most browsers */\ninterface HTMLDialogElement extends HTMLElement {\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDialogElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDialogElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\n/** @deprecated */\ninterface HTMLDirectoryElement extends HTMLElement {\n /** @deprecated */\n compact: boolean;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDirectoryElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDirectoryElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\n/** @deprecated */\ndeclare var HTMLDirectoryElement: {\n prototype: HTMLDirectoryElement;\n new(): HTMLDirectoryElement;\n};\n\n/** Provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <div> elements. */\ninterface HTMLDivElement extends HTMLElement {\n /**\n * Sets or retrieves how the object is aligned with adjacent text.\n * @deprecated\n */\n align: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDivElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDivElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLDivElement: {\n prototype: HTMLDivElement;\n new(): HTMLDivElement;\n};\n\n/** @deprecated use Document */\ninterface HTMLDocument extends Document {\n addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\n/** @deprecated */\ndeclare var HTMLDocument: {\n prototype: HTMLDocument;\n new(): HTMLDocument;\n};\n\ninterface HTMLElementEventMap extends ElementEventMap, DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap {\n}\n\n/** Any HTML element. Some elements directly implement this interface, while others implement it via an interface that inherits it. */\ninterface HTMLElement extends Element, DocumentAndElementEventHandlers, ElementCSSInlineStyle, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGElement {\n accessKey: string;\n readonly accessKeyLabel: string;\n autocapitalize: string;\n dir: string;\n draggable: boolean;\n hidden: boolean;\n innerText: string;\n lang: string;\n readonly offsetHeight: number;\n readonly offsetLeft: number;\n readonly offsetParent: Element | null;\n readonly offsetTop: number;\n readonly offsetWidth: number;\n outerText: string;\n spellcheck: boolean;\n title: string;\n translate: boolean;\n click(): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLElement: {\n prototype: HTMLElement;\n new(): HTMLElement;\n};\n\n/** Provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <embed> elements. */\ninterface HTMLEmbedElement extends HTMLElement {\n /** @deprecated */\n align: string;\n /**\n * Sets or retrieves the height of the object.\n */\n height: string;\n /**\n * Sets or retrieves the name of the object.\n * @deprecated\n */\n name: string;\n /**\n * Sets or retrieves a URL to be loaded by the object.\n */\n src: string;\n type: string;\n /**\n * Sets or retrieves the width of the object.\n */\n width: string;\n getSVGDocument(): Document | null;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLEmbedElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLEmbedElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLEmbedElement: {\n prototype: HTMLEmbedElement;\n new(): HTMLEmbedElement;\n};\n\n/** Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <fieldset> elements. */\ninterface HTMLFieldSetElement extends HTMLElement {\n disabled: boolean;\n /**\n * Returns an HTMLCollection of the form controls in the element.\n */\n readonly elements: HTMLCollection;\n /**\n * Retrieves a reference to the form that the object is embedded in.\n */\n readonly form: HTMLFormElement | null;\n name: string;\n /**\n * Returns the string "fieldset".\n */\n readonly type: string;\n /**\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.\n */\n readonly validationMessage: string;\n /**\n * Returns a ValidityState object that represents the validity states of an element.\n */\n readonly validity: ValidityState;\n /**\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\n */\n readonly willValidate: boolean;\n /**\n * Returns whether a form will validate when it is submitted, without having to submit it.\n */\n checkValidity(): boolean;\n reportValidity(): boolean;\n /**\n * Sets a custom error message that is displayed when a form is submitted.\n * @param error Sets a custom error message that is displayed when a form is submitted.\n */\n setCustomValidity(error: string): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFieldSetElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFieldSetElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLFieldSetElement: {\n prototype: HTMLFieldSetElement;\n new(): HTMLFieldSetElement;\n};\n\n/**\n * Implements the document object model (DOM) representation of the font element. The HTML Font Element <font> defines the font size, font face and color of text.\n * @deprecated\n */\ninterface HTMLFontElement extends HTMLElement {\n /** @deprecated */\n color: string;\n /**\n * Sets or retrieves the current typeface family.\n * @deprecated\n */\n face: string;\n /** @deprecated */\n size: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFontElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFontElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\n/** @deprecated */\ndeclare var HTMLFontElement: {\n prototype: HTMLFontElement;\n new(): HTMLFontElement;\n};\n\n/** A collection of HTML form control elements. */\ninterface HTMLFormControlsCollection extends HTMLCollectionBase {\n /**\n * Returns the item with ID or name name from the collection.\n *\n * If there are multiple matching items, then a RadioNodeList object containing all those elements is returned.\n */\n namedItem(name: string): RadioNodeList | Element | null;\n}\n\ndeclare var HTMLFormControlsCollection: {\n prototype: HTMLFormControlsCollection;\n new(): HTMLFormControlsCollection;\n};\n\n/** A <form> element in the DOM; it allows access to and in some cases modification of aspects of the form, as well as access to its component elements. */\ninterface HTMLFormElement extends HTMLElement {\n /**\n * Sets or retrieves a list of character encodings for input data that must be accepted by the server processing the form.\n */\n acceptCharset: string;\n /**\n * Sets or retrieves the URL to which the form content is sent for processing.\n */\n action: string;\n /**\n * Specifies whether autocomplete is applied to an editable text field.\n */\n autocomplete: string;\n /**\n * Retrieves a collection, in source order, of all controls in a given form.\n */\n readonly elements: HTMLFormControlsCollection;\n /**\n * Sets or retrieves the MIME encoding for the form.\n */\n encoding: string;\n /**\n * Sets or retrieves the encoding type for the form.\n */\n enctype: string;\n /**\n * Sets or retrieves the number of objects in a collection.\n */\n readonly length: number;\n /**\n * Sets or retrieves how to send the form data to the server.\n */\n method: string;\n /**\n * Sets or retrieves the name of the object.\n */\n name: string;\n /**\n * Designates a form that is not validated when submitted.\n */\n noValidate: boolean;\n /**\n * Sets or retrieves the window or frame at which to target content.\n */\n target: string;\n /**\n * Returns whether a form will validate when it is submitted, without having to submit it.\n */\n checkValidity(): boolean;\n reportValidity(): boolean;\n requestSubmit(submitter?: HTMLElement | null): void;\n /**\n * Fires when the user resets a form.\n */\n reset(): void;\n /**\n * Fires when a FORM is about to be submitted.\n */\n submit(): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFormElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFormElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n [index: number]: Element;\n [name: string]: any;\n}\n\ndeclare var HTMLFormElement: {\n prototype: HTMLFormElement;\n new(): HTMLFormElement;\n};\n\n/** @deprecated */\ninterface HTMLFrameElement extends HTMLElement {\n /**\n * Retrieves the document object of the page or frame.\n * @deprecated\n */\n readonly contentDocument: Document | null;\n /**\n * Retrieves the object of the specified.\n * @deprecated\n */\n readonly contentWindow: WindowProxy | null;\n /**\n * Sets or retrieves whether to display a border for the frame.\n * @deprecated\n */\n frameBorder: string;\n /**\n * Sets or retrieves a URI to a long description of the object.\n * @deprecated\n */\n longDesc: string;\n /**\n * Sets or retrieves the top and bottom margin heights before displaying the text in a frame.\n * @deprecated\n */\n marginHeight: string;\n /**\n * Sets or retrieves the left and right margin widths before displaying the text in a frame.\n * @deprecated\n */\n marginWidth: string;\n /**\n * Sets or retrieves the frame name.\n * @deprecated\n */\n name: string;\n /**\n * Sets or retrieves whether the user can resize the frame.\n * @deprecated\n */\n noResize: boolean;\n /**\n * Sets or retrieves whether the frame can be scrolled.\n * @deprecated\n */\n scrolling: string;\n /**\n * Sets or retrieves a URL to be loaded by the object.\n * @deprecated\n */\n src: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\n/** @deprecated */\ndeclare var HTMLFrameElement: {\n prototype: HTMLFrameElement;\n new(): HTMLFrameElement;\n};\n\ninterface HTMLFrameSetElementEventMap extends HTMLElementEventMap, WindowEventHandlersEventMap {\n}\n\n/**\n * Provides special properties (beyond those of the regular HTMLElement interface they also inherit) for manipulating <frameset> elements.\n * @deprecated\n */\ninterface HTMLFrameSetElement extends HTMLElement, WindowEventHandlers {\n /**\n * Sets or retrieves the frame widths of the object.\n * @deprecated\n */\n cols: string;\n /**\n * Sets or retrieves the frame heights of the object.\n * @deprecated\n */\n rows: string;\n addEventListener<K extends keyof HTMLFrameSetElementEventMap>(type: K, listener: (this: HTMLFrameSetElement, ev: HTMLFrameSetElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLFrameSetElementEventMap>(type: K, listener: (this: HTMLFrameSetElement, ev: HTMLFrameSetElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\n/** @deprecated */\ndeclare var HTMLFrameSetElement: {\n prototype: HTMLFrameSetElement;\n new(): HTMLFrameSetElement;\n};\n\n/** Provides special properties (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating <hr> elements. */\ninterface HTMLHRElement extends HTMLElement {\n /**\n * Sets or retrieves how the object is aligned with adjacent text.\n * @deprecated\n */\n align: string;\n /** @deprecated */\n color: string;\n /**\n * Sets or retrieves whether the horizontal rule is drawn with 3-D shading.\n * @deprecated\n */\n noShade: boolean;\n /** @deprecated */\n size: string;\n /**\n * Sets or retrieves the width of the object.\n * @deprecated\n */\n width: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLHRElement: {\n prototype: HTMLHRElement;\n new(): HTMLHRElement;\n};\n\n/** Contains the descriptive information, or metadata, for a document. This object inherits all of the properties and methods described in the HTMLElement interface. */\ninterface HTMLHeadElement extends HTMLElement {\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHeadElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHeadElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLHeadElement: {\n prototype: HTMLHeadElement;\n new(): HTMLHeadElement;\n};\n\n/** The different heading elements. It inherits methods and properties from the HTMLElement interface. */\ninterface HTMLHeadingElement extends HTMLElement {\n /**\n * Sets or retrieves a value that indicates the table alignment.\n * @deprecated\n */\n align: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHeadingElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHeadingElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLHeadingElement: {\n prototype: HTMLHeadingElement;\n new(): HTMLHeadingElement;\n};\n\n/** Serves as the root node for a given HTML document. This object inherits the properties and methods described in the HTMLElement interface. */\ninterface HTMLHtmlElement extends HTMLElement {\n /**\n * Sets or retrieves the DTD version that governs the current document.\n * @deprecated\n */\n version: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHtmlElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHtmlElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLHtmlElement: {\n prototype: HTMLHtmlElement;\n new(): HTMLHtmlElement;\n};\n\ninterface HTMLHyperlinkElementUtils {\n /**\n * Returns the hyperlink\'s URL\'s fragment (includes leading "#" if non-empty).\n *\n * Can be set, to change the URL\'s fragment (ignores leading "#").\n */\n hash: string;\n /**\n * Returns the hyperlink\'s URL\'s host and port (if different from the default port for the scheme).\n *\n * Can be set, to change the URL\'s host and port.\n */\n host: string;\n /**\n * Returns the hyperlink\'s URL\'s host.\n *\n * Can be set, to change the URL\'s host.\n */\n hostname: string;\n /**\n * Returns the hyperlink\'s URL.\n *\n * Can be set, to change the URL.\n */\n href: string;\n toString(): string;\n /**\n * Returns the hyperlink\'s URL\'s origin.\n */\n readonly origin: string;\n /**\n * Returns the hyperlink\'s URL\'s password.\n *\n * Can be set, to change the URL\'s password.\n */\n password: string;\n /**\n * Returns the hyperlink\'s URL\'s path.\n *\n * Can be set, to change the URL\'s path.\n */\n pathname: string;\n /**\n * Returns the hyperlink\'s URL\'s port.\n *\n * Can be set, to change the URL\'s port.\n */\n port: string;\n /**\n * Returns the hyperlink\'s URL\'s scheme.\n *\n * Can be set, to change the URL\'s scheme.\n */\n protocol: string;\n /**\n * Returns the hyperlink\'s URL\'s query (includes leading "?" if non-empty).\n *\n * Can be set, to change the URL\'s query (ignores leading "?").\n */\n search: string;\n /**\n * Returns the hyperlink\'s URL\'s username.\n *\n * Can be set, to change the URL\'s username.\n */\n username: string;\n}\n\n/** Provides special properties and methods (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of inline frame elements. */\ninterface HTMLIFrameElement extends HTMLElement {\n /**\n * Sets or retrieves how the object is aligned with adjacent text.\n * @deprecated\n */\n align: string;\n allow: string;\n allowFullscreen: boolean;\n /**\n * Retrieves the document object of the page or frame.\n */\n readonly contentDocument: Document | null;\n /**\n * Retrieves the object of the specified.\n */\n readonly contentWindow: WindowProxy | null;\n /**\n * Sets or retrieves whether to display a border for the frame.\n * @deprecated\n */\n frameBorder: string;\n /**\n * Sets or retrieves the height of the object.\n */\n height: string;\n /**\n * Sets or retrieves a URI to a long description of the object.\n * @deprecated\n */\n longDesc: string;\n /**\n * Sets or retrieves the top and bottom margin heights before displaying the text in a frame.\n * @deprecated\n */\n marginHeight: string;\n /**\n * Sets or retrieves the left and right margin widths before displaying the text in a frame.\n * @deprecated\n */\n marginWidth: string;\n /**\n * Sets or retrieves the frame name.\n */\n name: string;\n referrerPolicy: ReferrerPolicy;\n readonly sandbox: DOMTokenList;\n /**\n * Sets or retrieves whether the frame can be scrolled.\n * @deprecated\n */\n scrolling: string;\n /**\n * Sets or retrieves a URL to be loaded by the object.\n */\n src: string;\n /**\n * Sets or retrives the content of the page that is to contain.\n */\n srcdoc: string;\n /**\n * Sets or retrieves the width of the object.\n */\n width: string;\n getSVGDocument(): Document | null;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLIFrameElement: {\n prototype: HTMLIFrameElement;\n new(): HTMLIFrameElement;\n};\n\n/** Provides special properties and methods for manipulating <img> elements. */\ninterface HTMLImageElement extends HTMLElement {\n /**\n * Sets or retrieves how the object is aligned with adjacent text.\n * @deprecated\n */\n align: string;\n /**\n * Sets or retrieves a text alternative to the graphic.\n */\n alt: string;\n /**\n * Specifies the properties of a border drawn around an object.\n * @deprecated\n */\n border: string;\n /**\n * Retrieves whether the object is fully loaded.\n */\n readonly complete: boolean;\n crossOrigin: string | null;\n readonly currentSrc: string;\n decoding: "async" | "sync" | "auto";\n /**\n * Sets or retrieves the height of the object.\n */\n height: number;\n /**\n * Sets or retrieves the width of the border to draw around the object.\n * @deprecated\n */\n hspace: number;\n /**\n * Sets or retrieves whether the image is a server-side image map.\n */\n isMap: boolean;\n loading: string;\n /**\n * Sets or retrieves a Uniform Resource Identifier (URI) to a long description of the object.\n * @deprecated\n */\n longDesc: string;\n /** @deprecated */\n lowsrc: string;\n /**\n * Sets or retrieves the name of the object.\n * @deprecated\n */\n name: string;\n /**\n * The original height of the image resource before sizing.\n */\n readonly naturalHeight: number;\n /**\n * The original width of the image resource before sizing.\n */\n readonly naturalWidth: number;\n referrerPolicy: string;\n sizes: string;\n /**\n * The address or URL of the a media resource that is to be considered.\n */\n src: string;\n srcset: string;\n /**\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\n */\n useMap: string;\n /**\n * Sets or retrieves the vertical margin for the object.\n * @deprecated\n */\n vspace: number;\n /**\n * Sets or retrieves the width of the object.\n */\n width: number;\n readonly x: number;\n readonly y: number;\n decode(): Promise<void>;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLImageElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLImageElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLImageElement: {\n prototype: HTMLImageElement;\n new(): HTMLImageElement;\n};\n\n/** Provides special properties and methods for manipulating the options, layout, and presentation of <input> elements. */\ninterface HTMLInputElement extends HTMLElement {\n /**\n * Sets or retrieves a comma-separated list of content types.\n */\n accept: string;\n /**\n * Sets or retrieves how the object is aligned with adjacent text.\n * @deprecated\n */\n align: string;\n /**\n * Sets or retrieves a text alternative to the graphic.\n */\n alt: string;\n /**\n * Specifies whether autocomplete is applied to an editable text field.\n */\n autocomplete: string;\n capture: string;\n /**\n * Sets or retrieves the state of the check box or radio button.\n */\n checked: boolean;\n /**\n * Sets or retrieves the state of the check box or radio button.\n */\n defaultChecked: boolean;\n /**\n * Sets or retrieves the initial contents of the object.\n */\n defaultValue: string;\n dirName: string;\n disabled: boolean;\n /**\n * Returns a FileList object on a file type input object.\n */\n files: FileList | null;\n /**\n * Retrieves a reference to the form that the object is embedded in.\n */\n readonly form: HTMLFormElement | null;\n /**\n * Overrides the action attribute (where the data on a form is sent) on the parent form element.\n */\n formAction: string;\n /**\n * Used to override the encoding (formEnctype attribute) specified on the form element.\n */\n formEnctype: string;\n /**\n * Overrides the submit method attribute previously specified on a form element.\n */\n formMethod: string;\n /**\n * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option.\n */\n formNoValidate: boolean;\n /**\n * Overrides the target attribute on a form element.\n */\n formTarget: string;\n /**\n * Sets or retrieves the height of the object.\n */\n height: number;\n /**\n * When set, overrides the rendering of checkbox controls so that the current value is not visible.\n */\n indeterminate: boolean;\n readonly labels: NodeListOf<HTMLLabelElement> | null;\n /**\n * Specifies the ID of a pre-defined datalist of options for an input element.\n */\n readonly list: HTMLElement | null;\n /**\n * Defines the maximum acceptable value for an input element with type="number".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field.\n */\n max: string;\n /**\n * Sets or retrieves the maximum number of characters that the user can enter in a text control.\n */\n maxLength: number;\n /**\n * Defines the minimum acceptable value for an input element with type="number". When used with the max and step attributes, lets you control the range and increment (such as even numbers only) that the user can enter into an input field.\n */\n min: string;\n minLength: number;\n /**\n * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.\n */\n multiple: boolean;\n /**\n * Sets or retrieves the name of the object.\n */\n name: string;\n /**\n * Gets or sets a string containing a regular expression that the user\'s input must match.\n */\n pattern: string;\n /**\n * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.\n */\n placeholder: string;\n readOnly: boolean;\n /**\n * When present, marks an element that can\'t be submitted without a value.\n */\n required: boolean;\n selectionDirection: "forward" | "backward" | "none" | null;\n /**\n * Gets or sets the end position or offset of a text selection.\n */\n selectionEnd: number | null;\n /**\n * Gets or sets the starting position or offset of a text selection.\n */\n selectionStart: number | null;\n size: number;\n /**\n * The address or URL of the a media resource that is to be considered.\n */\n src: string;\n /**\n * Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field.\n */\n step: string;\n /**\n * Returns the content type of the object.\n */\n type: string;\n /**\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\n * @deprecated\n */\n useMap: string;\n /**\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.\n */\n readonly validationMessage: string;\n /**\n * Returns a ValidityState object that represents the validity states of an element.\n */\n readonly validity: ValidityState;\n /**\n * Returns the value of the data at the cursor\'s current position.\n */\n value: string;\n /**\n * Returns a Date object representing the form control\'s value, if applicable; otherwise, returns null. Can be set, to change the value. Throws an "InvalidStateError" DOMException if the control isn\'t date- or time-based.\n */\n valueAsDate: Date | null;\n /**\n * Returns the input field value as a number.\n */\n valueAsNumber: number;\n readonly webkitEntries: ReadonlyArray<FileSystemEntry>;\n webkitdirectory: boolean;\n /**\n * Sets or retrieves the width of the object.\n */\n width: number;\n /**\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\n */\n readonly willValidate: boolean;\n /**\n * Returns whether a form will validate when it is submitted, without having to submit it.\n */\n checkValidity(): boolean;\n reportValidity(): boolean;\n /**\n * Makes the selection equal to the current object.\n */\n select(): void;\n /**\n * Sets a custom error message that is displayed when a form is submitted.\n * @param error Sets a custom error message that is displayed when a form is submitted.\n */\n setCustomValidity(error: string): void;\n setRangeText(replacement: string): void;\n setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void;\n /**\n * Sets the start and end positions of a selection in a text field.\n * @param start The offset into the text field for the start of the selection.\n * @param end The offset into the text field for the end of the selection.\n * @param direction The direction in which the selection is performed.\n */\n setSelectionRange(start: number | null, end: number | null, direction?: "forward" | "backward" | "none"): void;\n /**\n * Decrements a range input control\'s value by the value given by the Step attribute. If the optional parameter is used, it will decrement the input control\'s step value multiplied by the parameter\'s value.\n * @param n Value to decrement the value by.\n */\n stepDown(n?: number): void;\n /**\n * Increments a range input control\'s value by the value given by the Step attribute. If the optional parameter is used, will increment the input control\'s value by that value.\n * @param n Value to increment the value by.\n */\n stepUp(n?: number): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLInputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLInputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLInputElement: {\n prototype: HTMLInputElement;\n new(): HTMLInputElement;\n};\n\n/** Exposes specific properties and methods (beyond those defined by regular HTMLElement interface it also has available to it by inheritance) for manipulating list elements. */\ninterface HTMLLIElement extends HTMLElement {\n /** @deprecated */\n type: string;\n /**\n * Sets or retrieves the value of a list item.\n */\n value: number;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLIElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLIElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLLIElement: {\n prototype: HTMLLIElement;\n new(): HTMLLIElement;\n};\n\n/** Gives access to properties specific to <label> elements. It inherits methods and properties from the base HTMLElement interface. */\ninterface HTMLLabelElement extends HTMLElement {\n /**\n * Returns the form control that is associated with this element.\n */\n readonly control: HTMLElement | null;\n /**\n * Retrieves a reference to the form that the object is embedded in.\n */\n readonly form: HTMLFormElement | null;\n /**\n * Sets or retrieves the object to which the given label object is assigned.\n */\n htmlFor: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLabelElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLabelElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLLabelElement: {\n prototype: HTMLLabelElement;\n new(): HTMLLabelElement;\n};\n\n/** The HTMLLegendElement is an interface allowing to access properties of the <legend> elements. It inherits properties and methods from the HTMLElement interface. */\ninterface HTMLLegendElement extends HTMLElement {\n /** @deprecated */\n align: string;\n /**\n * Retrieves a reference to the form that the object is embedded in.\n */\n readonly form: HTMLFormElement | null;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLegendElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLegendElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLLegendElement: {\n prototype: HTMLLegendElement;\n new(): HTMLLegendElement;\n};\n\n/** Reference information for external resources and the relationship of those resources to a document and vice-versa. This object inherits all of the properties and methods of the HTMLElement interface. */\ninterface HTMLLinkElement extends HTMLElement, LinkStyle {\n as: string;\n /**\n * Sets or retrieves the character set used to encode the object.\n * @deprecated\n */\n charset: string;\n crossOrigin: string | null;\n disabled: boolean;\n /**\n * Sets or retrieves a destination URL or an anchor point.\n */\n href: string;\n /**\n * Sets or retrieves the language code of the object.\n */\n hreflang: string;\n imageSizes: string;\n imageSrcset: string;\n integrity: string;\n /**\n * Sets or retrieves the media type.\n */\n media: string;\n referrerPolicy: string;\n /**\n * Sets or retrieves the relationship between the object and the destination of the link.\n */\n rel: string;\n readonly relList: DOMTokenList;\n /**\n * Sets or retrieves the relationship between the object and the destination of the link.\n * @deprecated\n */\n rev: string;\n readonly sizes: DOMTokenList;\n /**\n * Sets or retrieves the window or frame at which to target content.\n * @deprecated\n */\n target: string;\n /**\n * Sets or retrieves the MIME type of the object.\n */\n type: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLinkElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLinkElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLLinkElement: {\n prototype: HTMLLinkElement;\n new(): HTMLLinkElement;\n};\n\n/** 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 map elements. */\ninterface HTMLMapElement extends HTMLElement {\n /**\n * Retrieves a collection of the area objects defined for the given map object.\n */\n readonly areas: HTMLCollection;\n /**\n * Sets or retrieves the name of the object.\n */\n name: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMapElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMapElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLMapElement: {\n prototype: HTMLMapElement;\n new(): HTMLMapElement;\n};\n\n/**\n * Provides methods to manipulate <marquee> elements.\n * @deprecated\n */\ninterface HTMLMarqueeElement extends HTMLElement {\n /** @deprecated */\n behavior: string;\n /** @deprecated */\n bgColor: string;\n /** @deprecated */\n direction: string;\n /** @deprecated */\n height: string;\n /** @deprecated */\n hspace: number;\n /** @deprecated */\n loop: number;\n /** @deprecated */\n scrollAmount: number;\n /** @deprecated */\n scrollDelay: number;\n /** @deprecated */\n trueSpeed: boolean;\n /** @deprecated */\n vspace: number;\n /** @deprecated */\n width: string;\n /** @deprecated */\n start(): void;\n /** @deprecated */\n stop(): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMarqueeElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMarqueeElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\n/** @deprecated */\ndeclare var HTMLMarqueeElement: {\n prototype: HTMLMarqueeElement;\n new(): HTMLMarqueeElement;\n};\n\ninterface HTMLMediaElementEventMap extends HTMLElementEventMap {\n "encrypted": MediaEncryptedEvent;\n "waitingforkey": Event;\n}\n\n/** Adds to HTMLElement the properties and methods needed to support basic media-related capabilities that are common to audio and video. */\ninterface HTMLMediaElement extends HTMLElement {\n /**\n * Gets or sets a value that indicates whether to start playing the media automatically.\n */\n autoplay: boolean;\n /**\n * Gets a collection of buffered time ranges.\n */\n readonly buffered: TimeRanges;\n /**\n * Gets or sets a flag that indicates whether the client provides a set of controls for the media (in case the developer does not include controls for the player).\n */\n controls: boolean;\n crossOrigin: string | null;\n /**\n * Gets the address or URL of the current media resource that is selected by IHTMLMediaElement.\n */\n readonly currentSrc: string;\n /**\n * Gets or sets the current playback position, in seconds.\n */\n currentTime: number;\n defaultMuted: boolean;\n /**\n * Gets or sets the default playback rate when the user is not using fast forward or reverse for a video or audio resource.\n */\n defaultPlaybackRate: number;\n disableRemotePlayback: boolean;\n /**\n * Returns the duration in seconds of the current media resource. A NaN value is returned if duration is not available, or Infinity if the media resource is streaming.\n */\n readonly duration: number;\n /**\n * Gets information about whether the playback has ended or not.\n */\n readonly ended: boolean;\n /**\n * Returns an object representing the current error state of the audio or video element.\n */\n readonly error: MediaError | null;\n /**\n * Gets or sets a flag to specify whether playback should restart after it completes.\n */\n loop: boolean;\n readonly mediaKeys: MediaKeys | null;\n /**\n * Gets or sets a flag that indicates whether the audio (either audio or the audio track on video media) is muted.\n */\n muted: boolean;\n /**\n * Gets the current network activity for the element.\n */\n readonly networkState: number;\n onencrypted: ((this: HTMLMediaElement, ev: MediaEncryptedEvent) => any) | null;\n onwaitingforkey: ((this: HTMLMediaElement, ev: Event) => any) | null;\n /**\n * Gets a flag that specifies whether playback is paused.\n */\n readonly paused: boolean;\n /**\n * Gets or sets the current rate of speed for the media resource to play. This speed is expressed as a multiple of the normal speed of the media resource.\n */\n playbackRate: number;\n /**\n * Gets TimeRanges for the current media resource that has been played.\n */\n readonly played: TimeRanges;\n /**\n * Gets or sets the current playback position, in seconds.\n */\n preload: string;\n readonly readyState: number;\n readonly remote: RemotePlayback;\n /**\n * Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked.\n */\n readonly seekable: TimeRanges;\n /**\n * Gets a flag that indicates whether the client is currently moving to a new playback position in the media resource.\n */\n readonly seeking: boolean;\n /**\n * The address or URL of the a media resource that is to be considered.\n */\n src: string;\n srcObject: MediaProvider | null;\n readonly textTracks: TextTrackList;\n /**\n * Gets or sets the volume level for audio portions of the media element.\n */\n volume: number;\n addTextTrack(kind: TextTrackKind, label?: string, language?: string): TextTrack;\n /**\n * Returns a string that specifies whether the client can play a given media resource type.\n */\n canPlayType(type: string): CanPlayTypeResult;\n fastSeek(time: number): void;\n /**\n * Resets the audio or video object and loads a new media resource.\n */\n load(): void;\n /**\n * Pauses the current playback and sets paused to TRUE. This can be used to test whether the media is playing or paused. You can also use the pause or play events to tell whether the media is playing or not.\n */\n pause(): void;\n /**\n * Loads and starts playback of a media resource.\n */\n play(): Promise<void>;\n setMediaKeys(mediaKeys: MediaKeys | null): Promise<void>;\n readonly HAVE_CURRENT_DATA: number;\n readonly HAVE_ENOUGH_DATA: number;\n readonly HAVE_FUTURE_DATA: number;\n readonly HAVE_METADATA: number;\n readonly HAVE_NOTHING: number;\n readonly NETWORK_EMPTY: number;\n readonly NETWORK_IDLE: number;\n readonly NETWORK_LOADING: number;\n readonly NETWORK_NO_SOURCE: number;\n addEventListener<K extends keyof HTMLMediaElementEventMap>(type: K, listener: (this: HTMLMediaElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLMediaElementEventMap>(type: K, listener: (this: HTMLMediaElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLMediaElement: {\n prototype: HTMLMediaElement;\n new(): HTMLMediaElement;\n readonly HAVE_CURRENT_DATA: number;\n readonly HAVE_ENOUGH_DATA: number;\n readonly HAVE_FUTURE_DATA: number;\n readonly HAVE_METADATA: number;\n readonly HAVE_NOTHING: number;\n readonly NETWORK_EMPTY: number;\n readonly NETWORK_IDLE: number;\n readonly NETWORK_LOADING: number;\n readonly NETWORK_NO_SOURCE: number;\n};\n\ninterface HTMLMenuElement extends HTMLElement {\n /** @deprecated */\n compact: boolean;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMenuElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMenuElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLMenuElement: {\n prototype: HTMLMenuElement;\n new(): HTMLMenuElement;\n};\n\n/** Contains descriptive metadata about a document. It inherits all of the properties and methods described in the HTMLElement interface. */\ninterface HTMLMetaElement extends HTMLElement {\n /**\n * Gets or sets meta-information to associate with httpEquiv or name.\n */\n content: string;\n /**\n * Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header.\n */\n httpEquiv: string;\n /**\n * Sets or retrieves the value specified in the content attribute of the meta object.\n */\n name: string;\n /**\n * Sets or retrieves a scheme to be used in interpreting the value of a property specified for the object.\n * @deprecated\n */\n scheme: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMetaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMetaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLMetaElement: {\n prototype: HTMLMetaElement;\n new(): HTMLMetaElement;\n};\n\n/** The HTML <meter> elements expose the HTMLMeterElement interface, which provides special properties and methods (beyond the HTMLElement object interface they also have available to them by inheritance) for manipulating the layout and presentation of <meter> elements. */\ninterface HTMLMeterElement extends HTMLElement {\n high: number;\n readonly labels: NodeListOf<HTMLLabelElement>;\n low: number;\n max: number;\n min: number;\n optimum: number;\n value: number;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMeterElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMeterElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLMeterElement: {\n prototype: HTMLMeterElement;\n new(): HTMLMeterElement;\n};\n\n/** Provides special properties (beyond the regular methods and properties available through the HTMLElement interface they also have available to them by inheritance) for manipulating modification elements, that is <del> and <ins>. */\ninterface HTMLModElement extends HTMLElement {\n /**\n * Sets or retrieves reference information about the object.\n */\n cite: string;\n /**\n * Sets or retrieves the date and time of a modification to the object.\n */\n dateTime: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLModElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLModElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLModElement: {\n prototype: HTMLModElement;\n new(): HTMLModElement;\n};\n\n/** Provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating ordered list elements. */\ninterface HTMLOListElement extends HTMLElement {\n /** @deprecated */\n compact: boolean;\n reversed: boolean;\n /**\n * The starting number.\n */\n start: number;\n type: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLOListElement: {\n prototype: HTMLOListElement;\n new(): HTMLOListElement;\n};\n\n/** Provides special properties and methods (beyond those on the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <object> element, representing external resources. */\ninterface HTMLObjectElement extends HTMLElement {\n /** @deprecated */\n align: string;\n /**\n * Sets or retrieves a character string that can be used to implement your own archive functionality for the object.\n * @deprecated\n */\n archive: string;\n /** @deprecated */\n border: string;\n /**\n * Sets or retrieves the URL of the file containing the compiled Java class.\n * @deprecated\n */\n code: string;\n /**\n * Sets or retrieves the URL of the component.\n * @deprecated\n */\n codeBase: string;\n /**\n * Sets or retrieves the Internet media type for the code associated with the object.\n * @deprecated\n */\n codeType: string;\n /**\n * Retrieves the document object of the page or frame.\n */\n readonly contentDocument: Document | null;\n readonly contentWindow: WindowProxy | null;\n /**\n * Sets or retrieves the URL that references the data of the object.\n */\n data: string;\n /** @deprecated */\n declare: boolean;\n /**\n * Retrieves a reference to the form that the object is embedded in.\n */\n readonly form: HTMLFormElement | null;\n /**\n * Sets or retrieves the height of the object.\n */\n height: string;\n /** @deprecated */\n hspace: number;\n /**\n * Sets or retrieves the name of the object.\n */\n name: string;\n /**\n * Sets or retrieves a message to be displayed while an object is loading.\n * @deprecated\n */\n standby: string;\n /**\n * Sets or retrieves the MIME type of the object.\n */\n type: string;\n /**\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\n */\n useMap: string;\n /**\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.\n */\n readonly validationMessage: string;\n /**\n * Returns a ValidityState object that represents the validity states of an element.\n */\n readonly validity: ValidityState;\n /** @deprecated */\n vspace: number;\n /**\n * Sets or retrieves the width of the object.\n */\n width: string;\n /**\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\n */\n readonly willValidate: boolean;\n /**\n * Returns whether a form will validate when it is submitted, without having to submit it.\n */\n checkValidity(): boolean;\n getSVGDocument(): Document | null;\n reportValidity(): boolean;\n /**\n * Sets a custom error message that is displayed when a form is submitted.\n * @param error Sets a custom error message that is displayed when a form is submitted.\n */\n setCustomValidity(error: string): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLObjectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLObjectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLObjectElement: {\n prototype: HTMLObjectElement;\n new(): HTMLObjectElement;\n};\n\n/** Provides special properties and methods (beyond the regular HTMLElement object interface they also have available to them by inheritance) for manipulating the layout and presentation of <optgroup> elements. */\ninterface HTMLOptGroupElement extends HTMLElement {\n disabled: boolean;\n /**\n * Sets or retrieves a value that you can use to implement your own label functionality for the object.\n */\n label: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLOptGroupElement: {\n prototype: HTMLOptGroupElement;\n new(): HTMLOptGroupElement;\n};\n\n/** <option> elements and inherits all classes and methods of the HTMLElement interface. */\ninterface HTMLOptionElement extends HTMLElement {\n /**\n * Sets or retrieves the status of an option.\n */\n defaultSelected: boolean;\n disabled: boolean;\n /**\n * Retrieves a reference to the form that the object is embedded in.\n */\n readonly form: HTMLFormElement | null;\n /**\n * Sets or retrieves the ordinal position of an option in a list box.\n */\n readonly index: number;\n /**\n * Sets or retrieves a value that you can use to implement your own label functionality for the object.\n */\n label: string;\n /**\n * Sets or retrieves whether the option in the list box is the default item.\n */\n selected: boolean;\n /**\n * Sets or retrieves the text string specified by the option tag.\n */\n text: string;\n /**\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\n */\n value: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLOptionElement: {\n prototype: HTMLOptionElement;\n new(): HTMLOptionElement;\n};\n\n/** HTMLOptionsCollection is an interface representing a collection of HTML option elements (in document order) and offers methods and properties for traversing the list as well as optionally altering its items. This type is returned solely by the "options" property of select. */\ninterface HTMLOptionsCollection extends HTMLCollectionOf<HTMLOptionElement> {\n /**\n * Returns the number of elements in the collection.\n *\n * When set to a smaller number, truncates the number of option elements in the corresponding container.\n *\n * When set to a greater number, adds new blank option elements to that container.\n */\n length: number;\n /**\n * Returns the index of the first selected item, if any, or 1 if there is no selected item.\n *\n * Can be set, to change the selection.\n */\n selectedIndex: number;\n /**\n * Inserts element before the node given by before.\n *\n * The before argument can be a number, in which case element is inserted before the item with that number, or an element from the collection, in which case element is inserted before that element.\n *\n * If before is omitted, null, or a number out of range, then element will be added at the end of the list.\n *\n * This method will throw a "HierarchyRequestError" DOMException if element is an ancestor of the element into which it is to be inserted.\n */\n add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null): void;\n /**\n * Removes the item with index index from the collection.\n */\n remove(index: number): void;\n}\n\ndeclare var HTMLOptionsCollection: {\n prototype: HTMLOptionsCollection;\n new(): HTMLOptionsCollection;\n};\n\ninterface HTMLOrSVGElement {\n readonly dataset: DOMStringMap;\n nonce?: string;\n tabIndex: number;\n blur(): void;\n focus(options?: FocusOptions): void;\n}\n\n/** Provides properties and methods (beyond those inherited from HTMLElement) for manipulating the layout and presentation of <output> elements. */\ninterface HTMLOutputElement extends HTMLElement {\n defaultValue: string;\n readonly form: HTMLFormElement | null;\n readonly htmlFor: DOMTokenList;\n readonly labels: NodeListOf<HTMLLabelElement>;\n name: string;\n /**\n * Returns the string "output".\n */\n readonly type: string;\n readonly validationMessage: string;\n readonly validity: ValidityState;\n /**\n * Returns the element\'s current value.\n *\n * Can be set, to change the value.\n */\n value: string;\n readonly willValidate: boolean;\n checkValidity(): boolean;\n reportValidity(): boolean;\n setCustomValidity(error: string): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLOutputElement: {\n prototype: HTMLOutputElement;\n new(): HTMLOutputElement;\n};\n\n/** Provides special properties (beyond those of the regular HTMLElement object interface it inherits) for manipulating <p> elements. */\ninterface HTMLParagraphElement extends HTMLElement {\n /**\n * Sets or retrieves how the object is aligned with adjacent text.\n * @deprecated\n */\n align: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLParagraphElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLParagraphElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLParagraphElement: {\n prototype: HTMLParagraphElement;\n new(): HTMLParagraphElement;\n};\n\n/** Provides special properties (beyond those of the regular HTMLElement object interface it inherits) for manipulating <param> elements, representing a pair of a key and a value that acts as a parameter for an <object> element. */\ninterface HTMLParamElement extends HTMLElement {\n /**\n * Sets or retrieves the name of an input parameter for an element.\n */\n name: string;\n /**\n * Sets or retrieves the content type of the resource designated by the value attribute.\n * @deprecated\n */\n type: string;\n /**\n * Sets or retrieves the value of an input parameter for an element.\n */\n value: string;\n /**\n * Sets or retrieves the data type of the value attribute.\n * @deprecated\n */\n valueType: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLParamElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLParamElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLParamElement: {\n prototype: HTMLParamElement;\n new(): HTMLParamElement;\n};\n\n/** A <picture> HTML element. It doesn\'t implement specific properties or methods. */\ninterface HTMLPictureElement extends HTMLElement {\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLPictureElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLPictureElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLPictureElement: {\n prototype: HTMLPictureElement;\n new(): HTMLPictureElement;\n};\n\n/** Exposes specific properties and methods (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating a block of preformatted text (<pre>). */\ninterface HTMLPreElement extends HTMLElement {\n /**\n * Sets or gets a value that you can use to implement your own width functionality for the object.\n * @deprecated\n */\n width: number;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLPreElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLPreElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLPreElement: {\n prototype: HTMLPreElement;\n new(): HTMLPreElement;\n};\n\n/** Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <progress> elements. */\ninterface HTMLProgressElement extends HTMLElement {\n readonly labels: NodeListOf<HTMLLabelElement>;\n /**\n * Defines the maximum, or "done" value for a progress element.\n */\n max: number;\n /**\n * Returns the quotient of value/max when the value attribute is set (determinate progress bar), or -1 when the value attribute is missing (indeterminate progress bar).\n */\n readonly position: number;\n /**\n * Sets or gets the current value of a progress element. The value must be a non-negative number between 0 and the max value.\n */\n value: number;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLProgressElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLProgressElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLProgressElement: {\n prototype: HTMLProgressElement;\n new(): HTMLProgressElement;\n};\n\n/** Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating quoting elements, like <blockquote> and <q>, but not the <cite> element. */\ninterface HTMLQuoteElement extends HTMLElement {\n /**\n * Sets or retrieves reference information about the object.\n */\n cite: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLQuoteElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLQuoteElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLQuoteElement: {\n prototype: HTMLQuoteElement;\n new(): HTMLQuoteElement;\n};\n\n/** HTML <script> elements expose the HTMLScriptElement interface, which provides special properties and methods for manipulating the behavior and execution of <script> elements (beyond the inherited HTMLElement interface). */\ninterface HTMLScriptElement extends HTMLElement {\n async: boolean;\n /**\n * Sets or retrieves the character set used to encode the object.\n * @deprecated\n */\n charset: string;\n crossOrigin: string | null;\n /**\n * Sets or retrieves the status of the script.\n */\n defer: boolean;\n /**\n * Sets or retrieves the event for which the script is written.\n * @deprecated\n */\n event: string;\n /**\n * Sets or retrieves the object that is bound to the event script.\n * @deprecated\n */\n htmlFor: string;\n integrity: string;\n noModule: boolean;\n referrerPolicy: string;\n /**\n * Retrieves the URL to an external file that contains the source code or data.\n */\n src: string;\n /**\n * Retrieves or sets the text of the object as a string.\n */\n text: string;\n /**\n * Sets or retrieves the MIME type for the associated scripting engine.\n */\n type: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLScriptElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLScriptElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLScriptElement: {\n prototype: HTMLScriptElement;\n new(): HTMLScriptElement;\n};\n\n/** A <select> HTML Element. These elements also share all of the properties and methods of other HTML elements via the HTMLElement interface. */\ninterface HTMLSelectElement extends HTMLElement {\n autocomplete: string;\n disabled: boolean;\n /**\n * Retrieves a reference to the form that the object is embedded in.\n */\n readonly form: HTMLFormElement | null;\n readonly labels: NodeListOf<HTMLLabelElement>;\n /**\n * Sets or retrieves the number of objects in a collection.\n */\n length: number;\n /**\n * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.\n */\n multiple: boolean;\n /**\n * Sets or retrieves the name of the object.\n */\n name: string;\n /**\n * Returns an HTMLOptionsCollection of the list of options.\n */\n readonly options: HTMLOptionsCollection;\n /**\n * When present, marks an element that can\'t be submitted without a value.\n */\n required: boolean;\n /**\n * Sets or retrieves the index of the selected option in a select object.\n */\n selectedIndex: number;\n readonly selectedOptions: HTMLCollectionOf<HTMLOptionElement>;\n /**\n * Sets or retrieves the number of rows in the list box.\n */\n size: number;\n /**\n * Retrieves the type of select control based on the value of the MULTIPLE attribute.\n */\n readonly type: string;\n /**\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.\n */\n readonly validationMessage: string;\n /**\n * Returns a ValidityState object that represents the validity states of an element.\n */\n readonly validity: ValidityState;\n /**\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\n */\n value: string;\n /**\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\n */\n readonly willValidate: boolean;\n /**\n * Adds an element to the areas, controlRange, or options collection.\n * @param element Variant of type Number that specifies the index position in the collection where the element is placed. If no value is given, the method places the element at the end of the collection.\n * @param before Variant of type Object that specifies an element to insert before, or null to append the object to the collection.\n */\n add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null): void;\n /**\n * Returns whether a form will validate when it is submitted, without having to submit it.\n */\n checkValidity(): boolean;\n /**\n * Retrieves a select object or an object from an options collection.\n * @param name Variant of type Number or String that specifies the object or collection to retrieve. If this parameter is an integer, it is the zero-based index of the object. If this parameter is a string, all objects with matching name or id properties are retrieved, and a collection is returned if more than one match is made.\n * @param index Variant of type Number that specifies the zero-based index of the object to retrieve when a collection is returned.\n */\n item(index: number): HTMLOptionElement | null;\n /**\n * Retrieves a select object or an object from an options collection.\n * @param namedItem A String that specifies the name or id property of the object to retrieve. A collection is returned if more than one match is made.\n */\n namedItem(name: string): HTMLOptionElement | null;\n /**\n * Removes an element from the collection.\n * @param index Number that specifies the zero-based index of the element to remove from the collection.\n */\n remove(): void;\n remove(index: number): void;\n reportValidity(): boolean;\n /**\n * Sets a custom error message that is displayed when a form is submitted.\n * @param error Sets a custom error message that is displayed when a form is submitted.\n */\n setCustomValidity(error: string): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSelectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSelectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n [name: number]: HTMLOptionElement | HTMLOptGroupElement;\n}\n\ndeclare var HTMLSelectElement: {\n prototype: HTMLSelectElement;\n new(): HTMLSelectElement;\n};\n\ninterface HTMLSlotElement extends HTMLElement {\n name: string;\n assignedElements(options?: AssignedNodesOptions): Element[];\n assignedNodes(options?: AssignedNodesOptions): Node[];\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSlotElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSlotElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLSlotElement: {\n prototype: HTMLSlotElement;\n new(): HTMLSlotElement;\n};\n\n/** Provides special properties (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating <source> elements. */\ninterface HTMLSourceElement extends HTMLElement {\n /**\n * Gets or sets the intended media type of the media source.\n */\n media: string;\n sizes: string;\n /**\n * The address or URL of the a media resource that is to be considered.\n */\n src: string;\n srcset: string;\n /**\n * Gets or sets the MIME type of a media resource.\n */\n type: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLSourceElement: {\n prototype: HTMLSourceElement;\n new(): HTMLSourceElement;\n};\n\n/** A <span> element and derives from the HTMLElement interface, but without implementing any additional properties or methods. */\ninterface HTMLSpanElement extends HTMLElement {\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSpanElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSpanElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLSpanElement: {\n prototype: HTMLSpanElement;\n new(): HTMLSpanElement;\n};\n\n/** A <style> element. It inherits properties and methods from its parent, HTMLElement, and from LinkStyle. */\ninterface HTMLStyleElement extends HTMLElement, LinkStyle {\n /**\n * Sets or retrieves the media type.\n */\n media: string;\n /**\n * Retrieves the CSS language in which the style sheet is written.\n * @deprecated\n */\n type: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLStyleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLStyleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLStyleElement: {\n prototype: HTMLStyleElement;\n new(): HTMLStyleElement;\n};\n\n/** Special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating table caption elements. */\ninterface HTMLTableCaptionElement extends HTMLElement {\n /**\n * Sets or retrieves the alignment of the caption or legend.\n * @deprecated\n */\n align: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTableCaptionElement: {\n prototype: HTMLTableCaptionElement;\n new(): HTMLTableCaptionElement;\n};\n\n/** Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of table cells, either header or data cells, in an HTML document. */\ninterface HTMLTableCellElement extends HTMLElement {\n /**\n * Sets or retrieves abbreviated text for the object.\n */\n abbr: string;\n /**\n * Sets or retrieves how the object is aligned with adjacent text.\n * @deprecated\n */\n align: string;\n /**\n * Sets or retrieves a comma-delimited list of conceptual categories associated with the object.\n * @deprecated\n */\n axis: string;\n /** @deprecated */\n bgColor: string;\n /**\n * Retrieves the position of the object in the cells collection of a row.\n */\n readonly cellIndex: number;\n /** @deprecated */\n ch: string;\n /** @deprecated */\n chOff: string;\n /**\n * Sets or retrieves the number columns in the table that the object should span.\n */\n colSpan: number;\n /**\n * Sets or retrieves a list of header cells that provide information for the object.\n */\n headers: string;\n /**\n * Sets or retrieves the height of the object.\n * @deprecated\n */\n height: string;\n /**\n * Sets or retrieves whether the browser automatically performs wordwrap.\n * @deprecated\n */\n noWrap: boolean;\n /**\n * Sets or retrieves how many rows in a table the cell should span.\n */\n rowSpan: number;\n /**\n * Sets or retrieves the group of cells in a table to which the object\'s information applies.\n */\n scope: string;\n /** @deprecated */\n vAlign: string;\n /**\n * Sets or retrieves the width of the object.\n * @deprecated\n */\n width: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTableCellElement: {\n prototype: HTMLTableCellElement;\n new(): HTMLTableCellElement;\n};\n\n/** Provides special properties (beyond the HTMLElement interface it also has available to it inheritance) for manipulating single or grouped table column elements. */\ninterface HTMLTableColElement extends HTMLElement {\n /**\n * Sets or retrieves the alignment of the object relative to the display or table.\n * @deprecated\n */\n align: string;\n /** @deprecated */\n ch: string;\n /** @deprecated */\n chOff: string;\n /**\n * Sets or retrieves the number of columns in the group.\n */\n span: number;\n /** @deprecated */\n vAlign: string;\n /**\n * Sets or retrieves the width of the object.\n * @deprecated\n */\n width: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableColElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableColElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTableColElement: {\n prototype: HTMLTableColElement;\n new(): HTMLTableColElement;\n};\n\n/** @deprecated prefer HTMLTableCellElement */\ninterface HTMLTableDataCellElement extends HTMLTableCellElement {\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableDataCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableDataCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\n/** Provides special properties and methods (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating the layout and presentation of tables in an HTML document. */\ninterface HTMLTableElement extends HTMLElement {\n /**\n * Sets or retrieves a value that indicates the table alignment.\n * @deprecated\n */\n align: string;\n /** @deprecated */\n bgColor: string;\n /**\n * Sets or retrieves the width of the border to draw around the object.\n * @deprecated\n */\n border: string;\n /**\n * Retrieves the caption object of a table.\n */\n caption: HTMLTableCaptionElement | null;\n /**\n * Sets or retrieves the amount of space between the border of the cell and the content of the cell.\n * @deprecated\n */\n cellPadding: string;\n /**\n * Sets or retrieves the amount of space between cells in a table.\n * @deprecated\n */\n cellSpacing: string;\n /**\n * Sets or retrieves the way the border frame around the table is displayed.\n * @deprecated\n */\n frame: string;\n /**\n * Sets or retrieves the number of horizontal rows contained in the object.\n */\n readonly rows: HTMLCollectionOf<HTMLTableRowElement>;\n /**\n * Sets or retrieves which dividing lines (inner borders) are displayed.\n * @deprecated\n */\n rules: string;\n /**\n * Sets or retrieves a description and/or structure of the object.\n * @deprecated\n */\n summary: string;\n /**\n * Retrieves a collection of all tBody objects in the table. Objects in this collection are in source order.\n */\n readonly tBodies: HTMLCollectionOf<HTMLTableSectionElement>;\n /**\n * Retrieves the tFoot object of the table.\n */\n tFoot: HTMLTableSectionElement | null;\n /**\n * Retrieves the tHead object of the table.\n */\n tHead: HTMLTableSectionElement | null;\n /**\n * Sets or retrieves the width of the object.\n * @deprecated\n */\n width: string;\n /**\n * Creates an empty caption element in the table.\n */\n createCaption(): HTMLTableCaptionElement;\n /**\n * Creates an empty tBody element in the table.\n */\n createTBody(): HTMLTableSectionElement;\n /**\n * Creates an empty tFoot element in the table.\n */\n createTFoot(): HTMLTableSectionElement;\n /**\n * Returns the tHead element object if successful, or null otherwise.\n */\n createTHead(): HTMLTableSectionElement;\n /**\n * Deletes the caption element and its contents from the table.\n */\n deleteCaption(): void;\n /**\n * Removes the specified row (tr) from the element and from the rows collection.\n * @param index Number that specifies the zero-based position in the rows collection of the row to remove.\n */\n deleteRow(index: number): void;\n /**\n * Deletes the tFoot element and its contents from the table.\n */\n deleteTFoot(): void;\n /**\n * Deletes the tHead element and its contents from the table.\n */\n deleteTHead(): void;\n /**\n * Creates a new row (tr) in the table, and adds the row to the rows collection.\n * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.\n */\n insertRow(index?: number): HTMLTableRowElement;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTableElement: {\n prototype: HTMLTableElement;\n new(): HTMLTableElement;\n};\n\n/** @deprecated prefer HTMLTableCellElement */\ninterface HTMLTableHeaderCellElement extends HTMLTableCellElement {\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableHeaderCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableHeaderCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\n/** Provides special properties and methods (beyond the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of rows in an HTML table. */\ninterface HTMLTableRowElement extends HTMLElement {\n /**\n * Sets or retrieves how the object is aligned with adjacent text.\n * @deprecated\n */\n align: string;\n /** @deprecated */\n bgColor: string;\n /**\n * Retrieves a collection of all cells in the table row.\n */\n readonly cells: HTMLCollectionOf<HTMLTableCellElement>;\n /** @deprecated */\n ch: string;\n /** @deprecated */\n chOff: string;\n /**\n * Retrieves the position of the object in the rows collection for the table.\n */\n readonly rowIndex: number;\n /**\n * Retrieves the position of the object in the collection.\n */\n readonly sectionRowIndex: number;\n /** @deprecated */\n vAlign: string;\n /**\n * Removes the specified cell from the table row, as well as from the cells collection.\n * @param index Number that specifies the zero-based position of the cell to remove from the table row. If no value is provided, the last cell in the cells collection is deleted.\n */\n deleteCell(index: number): void;\n /**\n * Creates a new cell in the table row, and adds the cell to the cells collection.\n * @param index Number that specifies where to insert the cell in the tr. The default value is -1, which appends the new cell to the end of the cells collection.\n */\n insertCell(index?: number): HTMLTableCellElement;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableRowElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableRowElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTableRowElement: {\n prototype: HTMLTableRowElement;\n new(): HTMLTableRowElement;\n};\n\n/** Provides special properties and methods (beyond the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of sections, that is headers, footers and bodies, in an HTML table. */\ninterface HTMLTableSectionElement extends HTMLElement {\n /**\n * Sets or retrieves a value that indicates the table alignment.\n * @deprecated\n */\n align: string;\n /** @deprecated */\n ch: string;\n /** @deprecated */\n chOff: string;\n /**\n * Sets or retrieves the number of horizontal rows contained in the object.\n */\n readonly rows: HTMLCollectionOf<HTMLTableRowElement>;\n /** @deprecated */\n vAlign: string;\n /**\n * Removes the specified row (tr) from the element and from the rows collection.\n * @param index Number that specifies the zero-based position in the rows collection of the row to remove.\n */\n deleteRow(index: number): void;\n /**\n * Creates a new row (tr) in the table, and adds the row to the rows collection.\n * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.\n */\n insertRow(index?: number): HTMLTableRowElement;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableSectionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableSectionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTableSectionElement: {\n prototype: HTMLTableSectionElement;\n new(): HTMLTableSectionElement;\n};\n\n/** Enables access to the contents of an HTML <template> element. */\ninterface HTMLTemplateElement extends HTMLElement {\n /**\n * Returns the template contents (a DocumentFragment).\n */\n readonly content: DocumentFragment;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTemplateElement: {\n prototype: HTMLTemplateElement;\n new(): HTMLTemplateElement;\n};\n\n/** Provides special properties and methods for manipulating the layout and presentation of <textarea> elements. */\ninterface HTMLTextAreaElement extends HTMLElement {\n autocomplete: string;\n /**\n * Sets or retrieves the width of the object.\n */\n cols: number;\n /**\n * Sets or retrieves the initial contents of the object.\n */\n defaultValue: string;\n dirName: string;\n disabled: boolean;\n /**\n * Retrieves a reference to the form that the object is embedded in.\n */\n readonly form: HTMLFormElement | null;\n readonly labels: NodeListOf<HTMLLabelElement>;\n /**\n * Sets or retrieves the maximum number of characters that the user can enter in a text control.\n */\n maxLength: number;\n minLength: number;\n /**\n * Sets or retrieves the name of the object.\n */\n name: string;\n /**\n * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.\n */\n placeholder: string;\n /**\n * Sets or retrieves the value indicated whether the content of the object is read-only.\n */\n readOnly: boolean;\n /**\n * When present, marks an element that can\'t be submitted without a value.\n */\n required: boolean;\n /**\n * Sets or retrieves the number of horizontal rows contained in the object.\n */\n rows: number;\n selectionDirection: "forward" | "backward" | "none";\n /**\n * Gets or sets the end position or offset of a text selection.\n */\n selectionEnd: number;\n /**\n * Gets or sets the starting position or offset of a text selection.\n */\n selectionStart: number;\n readonly textLength: number;\n /**\n * Retrieves the type of control.\n */\n readonly type: string;\n /**\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.\n */\n readonly validationMessage: string;\n /**\n * Returns a ValidityState object that represents the validity states of an element.\n */\n readonly validity: ValidityState;\n /**\n * Retrieves or sets the text in the entry field of the textArea element.\n */\n value: string;\n /**\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\n */\n readonly willValidate: boolean;\n /**\n * Sets or retrieves how to handle wordwrapping in the object.\n */\n wrap: string;\n /**\n * Returns whether a form will validate when it is submitted, without having to submit it.\n */\n checkValidity(): boolean;\n reportValidity(): boolean;\n /**\n * Highlights the input area of a form element.\n */\n select(): void;\n /**\n * Sets a custom error message that is displayed when a form is submitted.\n * @param error Sets a custom error message that is displayed when a form is submitted.\n */\n setCustomValidity(error: string): void;\n setRangeText(replacement: string): void;\n setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void;\n /**\n * Sets the start and end positions of a selection in a text field.\n * @param start The offset into the text field for the start of the selection.\n * @param end The offset into the text field for the end of the selection.\n * @param direction The direction in which the selection is performed.\n */\n setSelectionRange(start: number | null, end: number | null, direction?: "forward" | "backward" | "none"): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTextAreaElement: {\n prototype: HTMLTextAreaElement;\n new(): HTMLTextAreaElement;\n};\n\n/** Provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <time> elements. */\ninterface HTMLTimeElement extends HTMLElement {\n dateTime: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTimeElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTimeElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTimeElement: {\n prototype: HTMLTimeElement;\n new(): HTMLTimeElement;\n};\n\n/** Contains the title for a document. This element inherits all of the properties and methods of the HTMLElement interface. */\ninterface HTMLTitleElement extends HTMLElement {\n /**\n * Retrieves or sets the text of the object as a string.\n */\n text: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTitleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTitleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTitleElement: {\n prototype: HTMLTitleElement;\n new(): HTMLTitleElement;\n};\n\n/** The HTMLTrackElement */\ninterface HTMLTrackElement extends HTMLElement {\n default: boolean;\n kind: string;\n label: string;\n readonly readyState: number;\n src: string;\n srclang: string;\n /**\n * Returns the TextTrack object corresponding to the text track of the track element.\n */\n readonly track: TextTrack;\n readonly ERROR: number;\n readonly LOADED: number;\n readonly LOADING: number;\n readonly NONE: number;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTrackElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTrackElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTrackElement: {\n prototype: HTMLTrackElement;\n new(): HTMLTrackElement;\n readonly ERROR: number;\n readonly LOADED: number;\n readonly LOADING: number;\n readonly NONE: number;\n};\n\n/** Provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating unordered list elements. */\ninterface HTMLUListElement extends HTMLElement {\n /** @deprecated */\n compact: boolean;\n /** @deprecated */\n type: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLUListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLUListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLUListElement: {\n prototype: HTMLUListElement;\n new(): HTMLUListElement;\n};\n\n/** An invalid HTML element and derives from the HTMLElement interface, but without implementing any additional properties or methods. */\ninterface HTMLUnknownElement extends HTMLElement {\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLUnknownElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLUnknownElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLUnknownElement: {\n prototype: HTMLUnknownElement;\n new(): HTMLUnknownElement;\n};\n\ninterface HTMLVideoElementEventMap extends HTMLMediaElementEventMap {\n "enterpictureinpicture": Event;\n "leavepictureinpicture": Event;\n}\n\n/** Provides special properties and methods for manipulating video objects. It also inherits properties and methods of HTMLMediaElement and HTMLElement. */\ninterface HTMLVideoElement extends HTMLMediaElement {\n disablePictureInPicture: boolean;\n /**\n * Gets or sets the height of the video element.\n */\n height: number;\n onenterpictureinpicture: ((this: HTMLVideoElement, ev: Event) => any) | null;\n onleavepictureinpicture: ((this: HTMLVideoElement, ev: Event) => any) | null;\n /**\n * Gets or sets the playsinline of the video element. for example, On iPhone, video elements will now be allowed to play inline, and will not automatically enter fullscreen mode when playback begins.\n */\n playsInline: boolean;\n /**\n * Gets or sets a URL of an image to display, for example, like a movie poster. This can be a still frame from the video, or another image if no video data is available.\n */\n poster: string;\n /**\n * Gets the intrinsic height of a video in CSS pixels, or zero if the dimensions are not known.\n */\n readonly videoHeight: number;\n /**\n * Gets the intrinsic width of a video in CSS pixels, or zero if the dimensions are not known.\n */\n readonly videoWidth: number;\n /**\n * Gets or sets the width of the video element.\n */\n width: number;\n getVideoPlaybackQuality(): VideoPlaybackQuality;\n requestPictureInPicture(): Promise<PictureInPictureWindow>;\n addEventListener<K extends keyof HTMLVideoElementEventMap>(type: K, listener: (this: HTMLVideoElement, ev: HTMLVideoElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLVideoElementEventMap>(type: K, listener: (this: HTMLVideoElement, ev: HTMLVideoElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLVideoElement: {\n prototype: HTMLVideoElement;\n new(): HTMLVideoElement;\n};\n\n/** Events that fire when the fragment identifier of the URL has changed. */\ninterface HashChangeEvent extends Event {\n /**\n * Returns the URL of the session history entry that is now current.\n */\n readonly newURL: string;\n /**\n * Returns the URL of the session history entry that was previously current.\n */\n readonly oldURL: string;\n}\n\ndeclare var HashChangeEvent: {\n prototype: HashChangeEvent;\n new(type: string, eventInitDict?: HashChangeEventInit): HashChangeEvent;\n};\n\n/** This Fetch API interface allows you to perform various actions on HTTP request and response headers. These actions include retrieving, setting, adding to, and removing. A Headers object has an associated header list, which is initially empty and consists of zero or more name and value pairs.  You can add to this using methods like append() (see Examples.) In all methods of this interface, header names are matched by case-insensitive byte sequence. */\ninterface Headers {\n append(name: string, value: string): void;\n delete(name: string): void;\n get(name: string): string | null;\n has(name: string): boolean;\n set(name: string, value: string): void;\n forEach(callbackfn: (value: string, key: string, parent: Headers) => void, thisArg?: any): void;\n}\n\ndeclare var Headers: {\n prototype: Headers;\n new(init?: HeadersInit): Headers;\n};\n\n/** Allows manipulation of the browser session history, that is the pages visited in the tab or frame that the current page is loaded in. */\ninterface History {\n readonly length: number;\n scrollRestoration: ScrollRestoration;\n readonly state: any;\n back(): void;\n forward(): void;\n go(delta?: number): void;\n pushState(data: any, unused: string, url?: string | URL | null): void;\n replaceState(data: any, unused: string, url?: string | URL | null): void;\n}\n\ndeclare var History: {\n prototype: History;\n new(): History;\n};\n\n/** This IndexedDB API interface represents a cursor for traversing or iterating over multiple records in a database. */\ninterface IDBCursor {\n /**\n * Returns the direction ("next", "nextunique", "prev" or "prevunique") of the cursor.\n */\n readonly direction: IDBCursorDirection;\n /**\n * Returns the key of the cursor. Throws a "InvalidStateError" DOMException if the cursor is advancing or is finished.\n */\n readonly key: IDBValidKey;\n /**\n * Returns the effective key of the cursor. Throws a "InvalidStateError" DOMException if the cursor is advancing or is finished.\n */\n readonly primaryKey: IDBValidKey;\n readonly request: IDBRequest;\n /**\n * Returns the IDBObjectStore or IDBIndex the cursor was opened from.\n */\n readonly source: IDBObjectStore | IDBIndex;\n /**\n * Advances the cursor through the next count records in range.\n */\n advance(count: number): void;\n /**\n * Advances the cursor to the next record in range.\n */\n continue(key?: IDBValidKey): void;\n /**\n * Advances the cursor to the next record in range matching or after key and primaryKey. Throws an "InvalidAccessError" DOMException if the source is not an index.\n */\n continuePrimaryKey(key: IDBValidKey, primaryKey: IDBValidKey): void;\n /**\n * Delete the record pointed at by the cursor with a new value.\n *\n * If successful, request\'s result will be undefined.\n */\n delete(): IDBRequest<undefined>;\n /**\n * Updated the record pointed at by the cursor with a new value.\n *\n * Throws a "DataError" DOMException if the effective object store uses in-line keys and the key would have changed.\n *\n * If successful, request\'s result will be the record\'s key.\n */\n update(value: any): IDBRequest<IDBValidKey>;\n}\n\ndeclare var IDBCursor: {\n prototype: IDBCursor;\n new(): IDBCursor;\n};\n\n/** This IndexedDB API interface represents a cursor for traversing or iterating over multiple records in a database. It is the same as the IDBCursor, except that it includes the value property. */\ninterface IDBCursorWithValue extends IDBCursor {\n /**\n * Returns the cursor\'s current value.\n */\n readonly value: any;\n}\n\ndeclare var IDBCursorWithValue: {\n prototype: IDBCursorWithValue;\n new(): IDBCursorWithValue;\n};\n\ninterface IDBDatabaseEventMap {\n "abort": Event;\n "close": Event;\n "error": Event;\n "versionchange": IDBVersionChangeEvent;\n}\n\n/** This IndexedDB API interface provides a connection to a database; you can use an IDBDatabase object to open a transaction on your database then create, manipulate, and delete objects (data) in that database. The interface provides the only way to get and manage versions of the database. */\ninterface IDBDatabase extends EventTarget {\n /**\n * Returns the name of the database.\n */\n readonly name: string;\n /**\n * Returns a list of the names of object stores in the database.\n */\n readonly objectStoreNames: DOMStringList;\n onabort: ((this: IDBDatabase, ev: Event) => any) | null;\n onclose: ((this: IDBDatabase, ev: Event) => any) | null;\n onerror: ((this: IDBDatabase, ev: Event) => any) | null;\n onversionchange: ((this: IDBDatabase, ev: IDBVersionChangeEvent) => any) | null;\n /**\n * Returns the version of the database.\n */\n readonly version: number;\n /**\n * Closes the connection once all running transactions have finished.\n */\n close(): void;\n /**\n * Creates a new object store with the given name and options and returns a new IDBObjectStore.\n *\n * Throws a "InvalidStateError" DOMException if not called within an upgrade transaction.\n */\n createObjectStore(name: string, options?: IDBObjectStoreParameters): IDBObjectStore;\n /**\n * Deletes the object store with the given name.\n *\n * Throws a "InvalidStateError" DOMException if not called within an upgrade transaction.\n */\n deleteObjectStore(name: string): void;\n /**\n * Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names.\n */\n transaction(storeNames: string | string[], mode?: IDBTransactionMode): IDBTransaction;\n addEventListener<K extends keyof IDBDatabaseEventMap>(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof IDBDatabaseEventMap>(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBDatabase: {\n prototype: IDBDatabase;\n new(): IDBDatabase;\n};\n\n/** In the following code snippet, we make a request to open a database, and include handlers for the success and error cases. For a full working example, see our To-do Notifications app (view example live.) */\ninterface IDBFactory {\n /**\n * Compares two values as keys. Returns -1 if key1 precedes key2, 1 if key2 precedes key1, and 0 if the keys are equal.\n *\n * Throws a "DataError" DOMException if either input is not a valid key.\n */\n cmp(first: any, second: any): number;\n databases(): Promise<IDBDatabaseInfo[]>;\n /**\n * Attempts to delete the named database. If the database already exists and there are open connections that don\'t close in response to a versionchange event, the request will be blocked until all they close. If the request is successful request\'s result will be null.\n */\n deleteDatabase(name: string): IDBOpenDBRequest;\n /**\n * Attempts to open a connection to the named database with the current version, or 1 if it does not already exist. If the request is successful request\'s result will be the connection.\n */\n open(name: string, version?: number): IDBOpenDBRequest;\n}\n\ndeclare var IDBFactory: {\n prototype: IDBFactory;\n new(): IDBFactory;\n};\n\n/** IDBIndex interface of the IndexedDB API provides asynchronous access to an index in a database. An index is a kind of object store for looking up records in another object store, called the referenced object store. You use this interface to retrieve data. */\ninterface IDBIndex {\n readonly keyPath: string | string[];\n readonly multiEntry: boolean;\n /**\n * Returns the name of the index.\n */\n name: string;\n /**\n * Returns the IDBObjectStore the index belongs to.\n */\n readonly objectStore: IDBObjectStore;\n readonly unique: boolean;\n /**\n * Retrieves the number of records matching the given key or key range in query.\n *\n * If successful, request\'s result will be the count.\n */\n count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;\n /**\n * Retrieves the value of the first record matching the given key or key range in query.\n *\n * If successful, request\'s result will be the value, or undefined if there was no matching record.\n */\n get(query: IDBValidKey | IDBKeyRange): IDBRequest<any>;\n /**\n * Retrieves the values of the records matching the given key or key range in query (up to count if given).\n *\n * If successful, request\'s result will be an Array of the values.\n */\n getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;\n /**\n * Retrieves the keys of records matching the given key or key range in query (up to count if given).\n *\n * If successful, request\'s result will be an Array of the keys.\n */\n getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;\n /**\n * Retrieves the key of the first record matching the given key or key range in query.\n *\n * If successful, request\'s result will be the key, or undefined if there was no matching record.\n */\n getKey(query: IDBValidKey | IDBKeyRange): IDBRequest<IDBValidKey | undefined>;\n /**\n * Opens a cursor over the records matching query, ordered by direction. If query is null, all records in index are matched.\n *\n * If successful, request\'s result will be an IDBCursorWithValue, or null if there were no matching records.\n */\n openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;\n /**\n * Opens a cursor with key only flag set over the records matching query, ordered by direction. If query is null, all records in index are matched.\n *\n * If successful, request\'s result will be an IDBCursor, or null if there were no matching records.\n */\n openKeyCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursor | null>;\n}\n\ndeclare var IDBIndex: {\n prototype: IDBIndex;\n new(): IDBIndex;\n};\n\n/** A key range can be a single value or a range with upper and lower bounds or endpoints. If the key range has both upper and lower bounds, then it is bounded; if it has no bounds, it is unbounded. A bounded key range can either be open (the endpoints are excluded) or closed (the endpoints are included). To retrieve all keys within a certain range, you can use the following code constructs: */\ninterface IDBKeyRange {\n /**\n * Returns lower bound, or undefined if none.\n */\n readonly lower: any;\n /**\n * Returns true if the lower open flag is set, and false otherwise.\n */\n readonly lowerOpen: boolean;\n /**\n * Returns upper bound, or undefined if none.\n */\n readonly upper: any;\n /**\n * Returns true if the upper open flag is set, and false otherwise.\n */\n readonly upperOpen: boolean;\n /**\n * Returns true if key is included in the range, and false otherwise.\n */\n includes(key: any): boolean;\n}\n\ndeclare var IDBKeyRange: {\n prototype: IDBKeyRange;\n new(): IDBKeyRange;\n /**\n * Returns a new IDBKeyRange spanning from lower to upper. If lowerOpen is true, lower is not included in the range. If upperOpen is true, upper is not included in the range.\n */\n bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange;\n /**\n * Returns a new IDBKeyRange starting at key with no upper bound. If open is true, key is not included in the range.\n */\n lowerBound(lower: any, open?: boolean): IDBKeyRange;\n /**\n * Returns a new IDBKeyRange spanning only key.\n */\n only(value: any): IDBKeyRange;\n /**\n * Returns a new IDBKeyRange with no lower bound and ending at key. If open is true, key is not included in the range.\n */\n upperBound(upper: any, open?: boolean): IDBKeyRange;\n};\n\n/** This example shows a variety of different uses of object stores, from updating the data structure with IDBObjectStore.createIndex inside an onupgradeneeded function, to adding a new item to our object store with IDBObjectStore.add. For a full working example, see our To-do Notifications app (view example live.) */\ninterface IDBObjectStore {\n /**\n * Returns true if the store has a key generator, and false otherwise.\n */\n readonly autoIncrement: boolean;\n /**\n * Returns a list of the names of indexes in the store.\n */\n readonly indexNames: DOMStringList;\n /**\n * Returns the key path of the store, or null if none.\n */\n readonly keyPath: string | string[];\n /**\n * Returns the name of the store.\n */\n name: string;\n /**\n * Returns the associated transaction.\n */\n readonly transaction: IDBTransaction;\n /**\n * Adds or updates a record in store with the given value and key.\n *\n * If the store uses in-line keys and key is specified a "DataError" DOMException will be thrown.\n *\n * If put() is used, any existing record with the key will be replaced. If add() is used, and if a record with the key already exists the request will fail, with request\'s error set to a "ConstraintError" DOMException.\n *\n * If successful, request\'s result will be the record\'s key.\n */\n add(value: any, key?: IDBValidKey): IDBRequest<IDBValidKey>;\n /**\n * Deletes all records in store.\n *\n * If successful, request\'s result will be undefined.\n */\n clear(): IDBRequest<undefined>;\n /**\n * Retrieves the number of records matching the given key or key range in query.\n *\n * If successful, request\'s result will be the count.\n */\n count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;\n /**\n * Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.\n *\n * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.\n */\n createIndex(name: string, keyPath: string | string[], options?: IDBIndexParameters): IDBIndex;\n /**\n * Deletes records in store with the given key or in the given key range in query.\n *\n * If successful, request\'s result will be undefined.\n */\n delete(query: IDBValidKey | IDBKeyRange): IDBRequest<undefined>;\n /**\n * Deletes the index in store with the given name.\n *\n * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.\n */\n deleteIndex(name: string): void;\n /**\n * Retrieves the value of the first record matching the given key or key range in query.\n *\n * If successful, request\'s result will be the value, or undefined if there was no matching record.\n */\n get(query: IDBValidKey | IDBKeyRange): IDBRequest<any>;\n /**\n * Retrieves the values of the records matching the given key or key range in query (up to count if given).\n *\n * If successful, request\'s result will be an Array of the values.\n */\n getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;\n /**\n * Retrieves the keys of records matching the given key or key range in query (up to count if given).\n *\n * If successful, request\'s result will be an Array of the keys.\n */\n getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;\n /**\n * Retrieves the key of the first record matching the given key or key range in query.\n *\n * If successful, request\'s result will be the key, or undefined if there was no matching record.\n */\n getKey(query: IDBValidKey | IDBKeyRange): IDBRequest<IDBValidKey | undefined>;\n index(name: string): IDBIndex;\n /**\n * Opens a cursor over the records matching query, ordered by direction. If query is null, all records in store are matched.\n *\n * If successful, request\'s result will be an IDBCursorWithValue pointing at the first matching record, or null if there were no matching records.\n */\n openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;\n /**\n * Opens a cursor with key only flag set over the records matching query, ordered by direction. If query is null, all records in store are matched.\n *\n * If successful, request\'s result will be an IDBCursor pointing at the first matching record, or null if there were no matching records.\n */\n openKeyCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursor | null>;\n /**\n * Adds or updates a record in store with the given value and key.\n *\n * If the store uses in-line keys and key is specified a "DataError" DOMException will be thrown.\n *\n * If put() is used, any existing record with the key will be replaced. If add() is used, and if a record with the key already exists the request will fail, with request\'s error set to a "ConstraintError" DOMException.\n *\n * If successful, request\'s result will be the record\'s key.\n */\n put(value: any, key?: IDBValidKey): IDBRequest<IDBValidKey>;\n}\n\ndeclare var IDBObjectStore: {\n prototype: IDBObjectStore;\n new(): IDBObjectStore;\n};\n\ninterface IDBOpenDBRequestEventMap extends IDBRequestEventMap {\n "blocked": Event;\n "upgradeneeded": IDBVersionChangeEvent;\n}\n\n/** Also inherits methods from its parents IDBRequest and EventTarget. */\ninterface IDBOpenDBRequest extends IDBRequest<IDBDatabase> {\n onblocked: ((this: IDBOpenDBRequest, ev: Event) => any) | null;\n onupgradeneeded: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null;\n addEventListener<K extends keyof IDBOpenDBRequestEventMap>(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof IDBOpenDBRequestEventMap>(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBOpenDBRequest: {\n prototype: IDBOpenDBRequest;\n new(): IDBOpenDBRequest;\n};\n\ninterface IDBRequestEventMap {\n "error": Event;\n "success": Event;\n}\n\n/** The request object does not initially contain any information about the result of the operation, but once information becomes available, an event is fired on the request, and the information becomes available through the properties of the IDBRequest instance. */\ninterface IDBRequest<T = any> extends EventTarget {\n /**\n * When a request is completed, returns the error (a DOMException), or null if the request succeeded. Throws a "InvalidStateError" DOMException if the request is still pending.\n */\n readonly error: DOMException | null;\n onerror: ((this: IDBRequest<T>, ev: Event) => any) | null;\n onsuccess: ((this: IDBRequest<T>, ev: Event) => any) | null;\n /**\n * Returns "pending" until a request is complete, then returns "done".\n */\n readonly readyState: IDBRequestReadyState;\n /**\n * When a request is completed, returns the result, or undefined if the request failed. Throws a "InvalidStateError" DOMException if the request is still pending.\n */\n readonly result: T;\n /**\n * Returns the IDBObjectStore, IDBIndex, or IDBCursor the request was made against, or null if is was an open request.\n */\n readonly source: IDBObjectStore | IDBIndex | IDBCursor;\n /**\n * Returns the IDBTransaction the request was made within. If this as an open request, then it returns an upgrade transaction while it is running, or null otherwise.\n */\n readonly transaction: IDBTransaction | null;\n addEventListener<K extends keyof IDBRequestEventMap>(type: K, listener: (this: IDBRequest<T>, ev: IDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof IDBRequestEventMap>(type: K, listener: (this: IDBRequest<T>, ev: IDBRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBRequest: {\n prototype: IDBRequest;\n new(): IDBRequest;\n};\n\ninterface IDBTransactionEventMap {\n "abort": Event;\n "complete": Event;\n "error": Event;\n}\n\ninterface IDBTransaction extends EventTarget {\n /**\n * Returns the transaction\'s connection.\n */\n readonly db: IDBDatabase;\n /**\n * If the transaction was aborted, returns the error (a DOMException) providing the reason.\n */\n readonly error: DOMException | null;\n /**\n * Returns the mode the transaction was created with ("readonly" or "readwrite"), or "versionchange" for an upgrade transaction.\n */\n readonly mode: IDBTransactionMode;\n /**\n * Returns a list of the names of object stores in the transaction\'s scope. For an upgrade transaction this is all object stores in the database.\n */\n readonly objectStoreNames: DOMStringList;\n onabort: ((this: IDBTransaction, ev: Event) => any) | null;\n oncomplete: ((this: IDBTransaction, ev: Event) => any) | null;\n onerror: ((this: IDBTransaction, ev: Event) => any) | null;\n /**\n * Aborts the transaction. All pending requests will fail with a "AbortError" DOMException and all changes made to the database will be reverted.\n */\n abort(): void;\n commit(): void;\n /**\n * Returns an IDBObjectStore in the transaction\'s scope.\n */\n objectStore(name: string): IDBObjectStore;\n addEventListener<K extends keyof IDBTransactionEventMap>(type: K, listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof IDBTransactionEventMap>(type: K, listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBTransaction: {\n prototype: IDBTransaction;\n new(): IDBTransaction;\n};\n\n/** This IndexedDB API interface indicates that the version of the database has changed, as the result of an IDBOpenDBRequest.onupgradeneeded event handler function. */\ninterface IDBVersionChangeEvent extends Event {\n readonly newVersion: number | null;\n readonly oldVersion: number;\n}\n\ndeclare var IDBVersionChangeEvent: {\n prototype: IDBVersionChangeEvent;\n new(type: string, eventInitDict?: IDBVersionChangeEventInit): IDBVersionChangeEvent;\n};\n\n/** The IIRFilterNode interface of the Web Audio API is a AudioNode processor which implements a general infinite impulse response (IIR)  filter; this type of filter can be used to implement tone control devices and graphic equalizers as well. It lets the parameters of the filter response be specified, so that it can be tuned as needed. */\ninterface IIRFilterNode extends AudioNode {\n getFrequencyResponse(frequencyHz: Float32Array, magResponse: Float32Array, phaseResponse: Float32Array): void;\n}\n\ndeclare var IIRFilterNode: {\n prototype: IIRFilterNode;\n new(context: BaseAudioContext, options: IIRFilterOptions): IIRFilterNode;\n};\n\ninterface IdleDeadline {\n readonly didTimeout: boolean;\n timeRemaining(): DOMHighResTimeStamp;\n}\n\ndeclare var IdleDeadline: {\n prototype: IdleDeadline;\n new(): IdleDeadline;\n};\n\ninterface ImageBitmap {\n /**\n * Returns the intrinsic height of the image, in CSS pixels.\n */\n readonly height: number;\n /**\n * Returns the intrinsic width of the image, in CSS pixels.\n */\n readonly width: number;\n /**\n * Releases imageBitmap\'s underlying bitmap data.\n */\n close(): void;\n}\n\ndeclare var ImageBitmap: {\n prototype: ImageBitmap;\n new(): ImageBitmap;\n};\n\ninterface ImageBitmapRenderingContext {\n /**\n * Returns the canvas element that the context is bound to.\n */\n readonly canvas: HTMLCanvasElement;\n /**\n * Transfers the underlying bitmap data from imageBitmap to context, and the bitmap becomes the contents of the canvas element to which context is bound.\n */\n transferFromImageBitmap(bitmap: ImageBitmap | null): void;\n}\n\ndeclare var ImageBitmapRenderingContext: {\n prototype: ImageBitmapRenderingContext;\n new(): ImageBitmapRenderingContext;\n};\n\n/** The underlying pixel data of an area of a <canvas> element. It is created using the ImageData() constructor or creator methods on the CanvasRenderingContext2D object associated with a canvas: createImageData() and getImageData(). It can also be used to set a part of the canvas by using putImageData(). */\ninterface ImageData {\n /**\n * Returns the one-dimensional array containing the data in RGBA order, as integers in the range 0 to 255.\n */\n readonly data: Uint8ClampedArray;\n /**\n * Returns the actual dimensions of the data in the ImageData object, in pixels.\n */\n readonly height: number;\n /**\n * Returns the actual dimensions of the data in the ImageData object, in pixels.\n */\n readonly width: number;\n}\n\ndeclare var ImageData: {\n prototype: ImageData;\n new(sw: number, sh: number, settings?: ImageDataSettings): ImageData;\n new(data: Uint8ClampedArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;\n};\n\ninterface InnerHTML {\n innerHTML: string;\n}\n\ninterface InputEvent extends UIEvent {\n readonly data: string | null;\n readonly dataTransfer: DataTransfer | null;\n readonly inputType: string;\n readonly isComposing: boolean;\n getTargetRanges(): StaticRange[];\n}\n\ndeclare var InputEvent: {\n prototype: InputEvent;\n new(type: string, eventInitDict?: InputEventInit): InputEvent;\n};\n\n/** provides a way to asynchronously observe changes in the intersection of a target element with an ancestor element or with a top-level document\'s viewport. */\ninterface IntersectionObserver {\n readonly root: Element | Document | null;\n readonly rootMargin: string;\n readonly thresholds: ReadonlyArray<number>;\n disconnect(): void;\n observe(target: Element): void;\n takeRecords(): IntersectionObserverEntry[];\n unobserve(target: Element): void;\n}\n\ndeclare var IntersectionObserver: {\n prototype: IntersectionObserver;\n new(callback: IntersectionObserverCallback, options?: IntersectionObserverInit): IntersectionObserver;\n};\n\n/** This Intersection Observer API interface describes the intersection between the target element and its root container at a specific moment of transition. */\ninterface IntersectionObserverEntry {\n readonly boundingClientRect: DOMRectReadOnly;\n readonly intersectionRatio: number;\n readonly intersectionRect: DOMRectReadOnly;\n readonly isIntersecting: boolean;\n readonly rootBounds: DOMRectReadOnly | null;\n readonly target: Element;\n readonly time: DOMHighResTimeStamp;\n}\n\ndeclare var IntersectionObserverEntry: {\n prototype: IntersectionObserverEntry;\n new(intersectionObserverEntryInit: IntersectionObserverEntryInit): IntersectionObserverEntry;\n};\n\ninterface KHR_parallel_shader_compile {\n readonly COMPLETION_STATUS_KHR: GLenum;\n}\n\n/** KeyboardEvent objects describe a user interaction with the keyboard; each event describes a single interaction between the user and a key (or combination of a key with modifier keys) on the keyboard. */\ninterface KeyboardEvent extends UIEvent {\n readonly altKey: boolean;\n /** @deprecated */\n readonly charCode: number;\n readonly code: string;\n readonly ctrlKey: boolean;\n readonly isComposing: boolean;\n readonly key: string;\n /** @deprecated */\n readonly keyCode: number;\n readonly location: number;\n readonly metaKey: boolean;\n readonly repeat: boolean;\n readonly shiftKey: boolean;\n getModifierState(keyArg: string): boolean;\n /** @deprecated */\n initKeyboardEvent(typeArg: string, bubblesArg?: boolean, cancelableArg?: boolean, viewArg?: Window | null, keyArg?: string, locationArg?: number, ctrlKey?: boolean, altKey?: boolean, shiftKey?: boolean, metaKey?: boolean): void;\n readonly DOM_KEY_LOCATION_LEFT: number;\n readonly DOM_KEY_LOCATION_NUMPAD: number;\n readonly DOM_KEY_LOCATION_RIGHT: number;\n readonly DOM_KEY_LOCATION_STANDARD: number;\n}\n\ndeclare var KeyboardEvent: {\n prototype: KeyboardEvent;\n new(type: string, eventInitDict?: KeyboardEventInit): KeyboardEvent;\n readonly DOM_KEY_LOCATION_LEFT: number;\n readonly DOM_KEY_LOCATION_NUMPAD: number;\n readonly DOM_KEY_LOCATION_RIGHT: number;\n readonly DOM_KEY_LOCATION_STANDARD: number;\n};\n\ninterface KeyframeEffect extends AnimationEffect {\n composite: CompositeOperation;\n iterationComposite: IterationCompositeOperation;\n pseudoElement: string | null;\n target: Element | null;\n getKeyframes(): ComputedKeyframe[];\n setKeyframes(keyframes: Keyframe[] | PropertyIndexedKeyframes | null): void;\n}\n\ndeclare var KeyframeEffect: {\n prototype: KeyframeEffect;\n new(target: Element | null, keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeEffectOptions): KeyframeEffect;\n new(source: KeyframeEffect): KeyframeEffect;\n};\n\ninterface LinkStyle {\n readonly sheet: CSSStyleSheet | null;\n}\n\n/** The location (URL) of the object it is linked to. Changes done on it are reflected on the object it relates to. Both the Document and Window interface have such a linked Location, accessible via Document.location and Window.location respectively. */\ninterface Location {\n /**\n * Returns a DOMStringList object listing the origins of the ancestor browsing contexts, from the parent browsing context to the top-level browsing context.\n */\n readonly ancestorOrigins: DOMStringList;\n /**\n * Returns the Location object\'s URL\'s fragment (includes leading "#" if non-empty).\n *\n * Can be set, to navigate to the same URL with a changed fragment (ignores leading "#").\n */\n hash: string;\n /**\n * Returns the Location object\'s URL\'s host and port (if different from the default port for the scheme).\n *\n * Can be set, to navigate to the same URL with a changed host and port.\n */\n host: string;\n /**\n * Returns the Location object\'s URL\'s host.\n *\n * Can be set, to navigate to the same URL with a changed host.\n */\n hostname: string;\n /**\n * Returns the Location object\'s URL.\n *\n * Can be set, to navigate to the given URL.\n */\n href: string;\n toString(): string;\n /**\n * Returns the Location object\'s URL\'s origin.\n */\n readonly origin: string;\n /**\n * Returns the Location object\'s URL\'s path.\n *\n * Can be set, to navigate to the same URL with a changed path.\n */\n pathname: string;\n /**\n * Returns the Location object\'s URL\'s port.\n *\n * Can be set, to navigate to the same URL with a changed port.\n */\n port: string;\n /**\n * Returns the Location object\'s URL\'s scheme.\n *\n * Can be set, to navigate to the same URL with a changed scheme.\n */\n protocol: string;\n /**\n * Returns the Location object\'s URL\'s query (includes leading "?" if non-empty).\n *\n * Can be set, to navigate to the same URL with a changed query (ignores leading "?").\n */\n search: string;\n /**\n * Navigates to the given URL.\n */\n assign(url: string | URL): void;\n /**\n * Reloads the current page.\n */\n reload(): void;\n /**\n * Removes the current page from the session history and navigates to the given URL.\n */\n replace(url: string | URL): void;\n}\n\ndeclare var Location: {\n prototype: Location;\n new(): Location;\n};\n\ninterface MathMLElementEventMap extends ElementEventMap, DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap {\n}\n\ninterface MathMLElement extends Element, DocumentAndElementEventHandlers, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement {\n addEventListener<K extends keyof MathMLElementEventMap>(type: K, listener: (this: MathMLElement, ev: MathMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MathMLElementEventMap>(type: K, listener: (this: MathMLElement, ev: MathMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MathMLElement: {\n prototype: MathMLElement;\n new(): MathMLElement;\n};\n\ninterface MediaCapabilities {\n decodingInfo(configuration: MediaDecodingConfiguration): Promise<MediaCapabilitiesDecodingInfo>;\n encodingInfo(configuration: MediaEncodingConfiguration): Promise<MediaCapabilitiesEncodingInfo>;\n}\n\ndeclare var MediaCapabilities: {\n prototype: MediaCapabilities;\n new(): MediaCapabilities;\n};\n\n/** The MediaDevicesInfo interface contains information that describes a single media input or output device. */\ninterface MediaDeviceInfo {\n readonly deviceId: string;\n readonly groupId: string;\n readonly kind: MediaDeviceKind;\n readonly label: string;\n toJSON(): any;\n}\n\ndeclare var MediaDeviceInfo: {\n prototype: MediaDeviceInfo;\n new(): MediaDeviceInfo;\n};\n\ninterface MediaDevicesEventMap {\n "devicechange": Event;\n}\n\n/** Provides access to connected media input devices like cameras and microphones, as well as screen sharing. In essence, it lets you obtain access to any hardware source of media data. */\ninterface MediaDevices extends EventTarget {\n ondevicechange: ((this: MediaDevices, ev: Event) => any) | null;\n enumerateDevices(): Promise<MediaDeviceInfo[]>;\n getDisplayMedia(constraints?: DisplayMediaStreamConstraints): Promise<MediaStream>;\n getSupportedConstraints(): MediaTrackSupportedConstraints;\n getUserMedia(constraints?: MediaStreamConstraints): Promise<MediaStream>;\n addEventListener<K extends keyof MediaDevicesEventMap>(type: K, listener: (this: MediaDevices, ev: MediaDevicesEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MediaDevicesEventMap>(type: K, listener: (this: MediaDevices, ev: MediaDevicesEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MediaDevices: {\n prototype: MediaDevices;\n new(): MediaDevices;\n};\n\n/** A MediaElementSourceNode has no inputs and exactly one output, and is created using the AudioContext.createMediaElementSource method. The amount of channels in the output equals the number of channels of the audio referenced by the HTMLMediaElement used in the creation of the node, or is 1 if the HTMLMediaElement has no audio. */\ninterface MediaElementAudioSourceNode extends AudioNode {\n readonly mediaElement: HTMLMediaElement;\n}\n\ndeclare var MediaElementAudioSourceNode: {\n prototype: MediaElementAudioSourceNode;\n new(context: AudioContext, options: MediaElementAudioSourceOptions): MediaElementAudioSourceNode;\n};\n\ninterface MediaEncryptedEvent extends Event {\n readonly initData: ArrayBuffer | null;\n readonly initDataType: string;\n}\n\ndeclare var MediaEncryptedEvent: {\n prototype: MediaEncryptedEvent;\n new(type: string, eventInitDict?: MediaEncryptedEventInit): MediaEncryptedEvent;\n};\n\n/** An error which occurred while handling media in an HTML media element based on HTMLMediaElement, such as <audio> or <video>. */\ninterface MediaError {\n readonly code: number;\n readonly message: string;\n readonly MEDIA_ERR_ABORTED: number;\n readonly MEDIA_ERR_DECODE: number;\n readonly MEDIA_ERR_NETWORK: number;\n readonly MEDIA_ERR_SRC_NOT_SUPPORTED: number;\n}\n\ndeclare var MediaError: {\n prototype: MediaError;\n new(): MediaError;\n readonly MEDIA_ERR_ABORTED: number;\n readonly MEDIA_ERR_DECODE: number;\n readonly MEDIA_ERR_NETWORK: number;\n readonly MEDIA_ERR_SRC_NOT_SUPPORTED: number;\n};\n\n/** This EncryptedMediaExtensions API interface contains the content and related data when the content decryption module generates a message for the session. */\ninterface MediaKeyMessageEvent extends Event {\n readonly message: ArrayBuffer;\n readonly messageType: MediaKeyMessageType;\n}\n\ndeclare var MediaKeyMessageEvent: {\n prototype: MediaKeyMessageEvent;\n new(type: string, eventInitDict: MediaKeyMessageEventInit): MediaKeyMessageEvent;\n};\n\ninterface MediaKeySessionEventMap {\n "keystatuseschange": Event;\n "message": MediaKeyMessageEvent;\n}\n\n/** This EncryptedMediaExtensions API interface represents a context for message exchange with a content decryption module (CDM). */\ninterface MediaKeySession extends EventTarget {\n readonly closed: Promise<MediaKeySessionClosedReason>;\n readonly expiration: number;\n readonly keyStatuses: MediaKeyStatusMap;\n onkeystatuseschange: ((this: MediaKeySession, ev: Event) => any) | null;\n onmessage: ((this: MediaKeySession, ev: MediaKeyMessageEvent) => any) | null;\n readonly sessionId: string;\n close(): Promise<void>;\n generateRequest(initDataType: string, initData: BufferSource): Promise<void>;\n load(sessionId: string): Promise<boolean>;\n remove(): Promise<void>;\n update(response: BufferSource): Promise<void>;\n addEventListener<K extends keyof MediaKeySessionEventMap>(type: K, listener: (this: MediaKeySession, ev: MediaKeySessionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MediaKeySessionEventMap>(type: K, listener: (this: MediaKeySession, ev: MediaKeySessionEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MediaKeySession: {\n prototype: MediaKeySession;\n new(): MediaKeySession;\n};\n\n/** This EncryptedMediaExtensions API interface is a read-only map of media key statuses by key IDs. */\ninterface MediaKeyStatusMap {\n readonly size: number;\n get(keyId: BufferSource): MediaKeyStatus | undefined;\n has(keyId: BufferSource): boolean;\n forEach(callbackfn: (value: MediaKeyStatus, key: BufferSource, parent: MediaKeyStatusMap) => void, thisArg?: any): void;\n}\n\ndeclare var MediaKeyStatusMap: {\n prototype: MediaKeyStatusMap;\n new(): MediaKeyStatusMap;\n};\n\n/** This EncryptedMediaExtensions API interface provides access to a Key System for decryption and/or a content protection provider. You can request an instance of this object using the Navigator.requestMediaKeySystemAccess method. */\ninterface MediaKeySystemAccess {\n readonly keySystem: string;\n createMediaKeys(): Promise<MediaKeys>;\n getConfiguration(): MediaKeySystemConfiguration;\n}\n\ndeclare var MediaKeySystemAccess: {\n prototype: MediaKeySystemAccess;\n new(): MediaKeySystemAccess;\n};\n\n/** This EncryptedMediaExtensions API interface the represents a set of keys that an associated HTMLMediaElement can use for decryption of media data during playback. */\ninterface MediaKeys {\n createSession(sessionType?: MediaKeySessionType): MediaKeySession;\n setServerCertificate(serverCertificate: BufferSource): Promise<boolean>;\n}\n\ndeclare var MediaKeys: {\n prototype: MediaKeys;\n new(): MediaKeys;\n};\n\ninterface MediaList {\n readonly length: number;\n mediaText: string;\n toString(): string;\n appendMedium(medium: string): void;\n deleteMedium(medium: string): void;\n item(index: number): string | null;\n [index: number]: string;\n}\n\ndeclare var MediaList: {\n prototype: MediaList;\n new(): MediaList;\n};\n\ninterface MediaMetadata {\n album: string;\n artist: string;\n artwork: ReadonlyArray<MediaImage>;\n title: string;\n}\n\ndeclare var MediaMetadata: {\n prototype: MediaMetadata;\n new(init?: MediaMetadataInit): MediaMetadata;\n};\n\ninterface MediaQueryListEventMap {\n "change": MediaQueryListEvent;\n}\n\n/** Stores information on a media query applied to a document, and handles sending notifications to listeners when the media query state change (i.e. when the media query test starts or stops evaluating to true). */\ninterface MediaQueryList extends EventTarget {\n readonly matches: boolean;\n readonly media: string;\n onchange: ((this: MediaQueryList, ev: MediaQueryListEvent) => any) | null;\n /** @deprecated */\n addListener(callback: ((this: MediaQueryList, ev: MediaQueryListEvent) => any) | null): void;\n /** @deprecated */\n removeListener(callback: ((this: MediaQueryList, ev: MediaQueryListEvent) => any) | null): void;\n addEventListener<K extends keyof MediaQueryListEventMap>(type: K, listener: (this: MediaQueryList, ev: MediaQueryListEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MediaQueryListEventMap>(type: K, listener: (this: MediaQueryList, ev: MediaQueryListEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MediaQueryList: {\n prototype: MediaQueryList;\n new(): MediaQueryList;\n};\n\ninterface MediaQueryListEvent extends Event {\n readonly matches: boolean;\n readonly media: string;\n}\n\ndeclare var MediaQueryListEvent: {\n prototype: MediaQueryListEvent;\n new(type: string, eventInitDict?: MediaQueryListEventInit): MediaQueryListEvent;\n};\n\ninterface MediaRecorderEventMap {\n "dataavailable": BlobEvent;\n "error": Event;\n "pause": Event;\n "resume": Event;\n "start": Event;\n "stop": Event;\n}\n\ninterface MediaRecorder extends EventTarget {\n readonly audioBitsPerSecond: number;\n readonly mimeType: string;\n ondataavailable: ((this: MediaRecorder, ev: BlobEvent) => any) | null;\n onerror: ((this: MediaRecorder, ev: Event) => any) | null;\n onpause: ((this: MediaRecorder, ev: Event) => any) | null;\n onresume: ((this: MediaRecorder, ev: Event) => any) | null;\n onstart: ((this: MediaRecorder, ev: Event) => any) | null;\n onstop: ((this: MediaRecorder, ev: Event) => any) | null;\n readonly state: RecordingState;\n readonly stream: MediaStream;\n readonly videoBitsPerSecond: number;\n pause(): void;\n requestData(): void;\n resume(): void;\n start(timeslice?: number): void;\n stop(): void;\n addEventListener<K extends keyof MediaRecorderEventMap>(type: K, listener: (this: MediaRecorder, ev: MediaRecorderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MediaRecorderEventMap>(type: K, listener: (this: MediaRecorder, ev: MediaRecorderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MediaRecorder: {\n prototype: MediaRecorder;\n new(stream: MediaStream, options?: MediaRecorderOptions): MediaRecorder;\n isTypeSupported(type: string): boolean;\n};\n\ninterface MediaRecorderErrorEvent extends Event {\n readonly error: DOMException;\n}\n\ndeclare var MediaRecorderErrorEvent: {\n prototype: MediaRecorderErrorEvent;\n new(type: string, eventInitDict: MediaRecorderErrorEventInit): MediaRecorderErrorEvent;\n};\n\ninterface MediaSession {\n metadata: MediaMetadata | null;\n playbackState: MediaSessionPlaybackState;\n setActionHandler(action: MediaSessionAction, handler: MediaSessionActionHandler | null): void;\n setPositionState(state?: MediaPositionState): void;\n}\n\ndeclare var MediaSession: {\n prototype: MediaSession;\n new(): MediaSession;\n};\n\ninterface MediaSourceEventMap {\n "sourceclose": Event;\n "sourceended": Event;\n "sourceopen": Event;\n}\n\n/** This Media Source Extensions API interface represents a source of media data for an HTMLMediaElement object. A MediaSource object can be attached to a HTMLMediaElement to be played in the user agent. */\ninterface MediaSource extends EventTarget {\n readonly activeSourceBuffers: SourceBufferList;\n duration: number;\n onsourceclose: ((this: MediaSource, ev: Event) => any) | null;\n onsourceended: ((this: MediaSource, ev: Event) => any) | null;\n onsourceopen: ((this: MediaSource, ev: Event) => any) | null;\n readonly readyState: ReadyState;\n readonly sourceBuffers: SourceBufferList;\n addSourceBuffer(type: string): SourceBuffer;\n clearLiveSeekableRange(): void;\n endOfStream(error?: EndOfStreamError): void;\n removeSourceBuffer(sourceBuffer: SourceBuffer): void;\n setLiveSeekableRange(start: number, end: number): void;\n addEventListener<K extends keyof MediaSourceEventMap>(type: K, listener: (this: MediaSource, ev: MediaSourceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MediaSourceEventMap>(type: K, listener: (this: MediaSource, ev: MediaSourceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MediaSource: {\n prototype: MediaSource;\n new(): MediaSource;\n isTypeSupported(type: string): boolean;\n};\n\ninterface MediaStreamEventMap {\n "addtrack": MediaStreamTrackEvent;\n "removetrack": MediaStreamTrackEvent;\n}\n\n/** A stream of media content. A stream consists of several tracks such as video or audio tracks. Each track is specified as an instance of MediaStreamTrack. */\ninterface MediaStream extends EventTarget {\n readonly active: boolean;\n readonly id: string;\n onaddtrack: ((this: MediaStream, ev: MediaStreamTrackEvent) => any) | null;\n onremovetrack: ((this: MediaStream, ev: MediaStreamTrackEvent) => any) | null;\n addTrack(track: MediaStreamTrack): void;\n clone(): MediaStream;\n getAudioTracks(): MediaStreamTrack[];\n getTrackById(trackId: string): MediaStreamTrack | null;\n getTracks(): MediaStreamTrack[];\n getVideoTracks(): MediaStreamTrack[];\n removeTrack(track: MediaStreamTrack): void;\n addEventListener<K extends keyof MediaStreamEventMap>(type: K, listener: (this: MediaStream, ev: MediaStreamEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MediaStreamEventMap>(type: K, listener: (this: MediaStream, ev: MediaStreamEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MediaStream: {\n prototype: MediaStream;\n new(): MediaStream;\n new(stream: MediaStream): MediaStream;\n new(tracks: MediaStreamTrack[]): MediaStream;\n};\n\ninterface MediaStreamAudioDestinationNode extends AudioNode {\n readonly stream: MediaStream;\n}\n\ndeclare var MediaStreamAudioDestinationNode: {\n prototype: MediaStreamAudioDestinationNode;\n new(context: AudioContext, options?: AudioNodeOptions): MediaStreamAudioDestinationNode;\n};\n\n/** A type of AudioNode which operates as an audio source whose media is received from a MediaStream obtained using the WebRTC or Media Capture and Streams APIs. */\ninterface MediaStreamAudioSourceNode extends AudioNode {\n readonly mediaStream: MediaStream;\n}\n\ndeclare var MediaStreamAudioSourceNode: {\n prototype: MediaStreamAudioSourceNode;\n new(context: AudioContext, options: MediaStreamAudioSourceOptions): MediaStreamAudioSourceNode;\n};\n\ninterface MediaStreamTrackEventMap {\n "ended": Event;\n "mute": Event;\n "unmute": Event;\n}\n\n/** A single media track within a stream; typically, these are audio or video tracks, but other track types may exist as well. */\ninterface MediaStreamTrack extends EventTarget {\n contentHint: string;\n enabled: boolean;\n readonly id: string;\n readonly kind: string;\n readonly label: string;\n readonly muted: boolean;\n onended: ((this: MediaStreamTrack, ev: Event) => any) | null;\n onmute: ((this: MediaStreamTrack, ev: Event) => any) | null;\n onunmute: ((this: MediaStreamTrack, ev: Event) => any) | null;\n readonly readyState: MediaStreamTrackState;\n applyConstraints(constraints?: MediaTrackConstraints): Promise<void>;\n clone(): MediaStreamTrack;\n getCapabilities(): MediaTrackCapabilities;\n getConstraints(): MediaTrackConstraints;\n getSettings(): MediaTrackSettings;\n stop(): void;\n addEventListener<K extends keyof MediaStreamTrackEventMap>(type: K, listener: (this: MediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MediaStreamTrackEventMap>(type: K, listener: (this: MediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MediaStreamTrack: {\n prototype: MediaStreamTrack;\n new(): MediaStreamTrack;\n};\n\n/** Events which indicate that a MediaStream has had tracks added to or removed from the stream through calls to Media Stream API methods. These events are sent to the stream when these changes occur. */\ninterface MediaStreamTrackEvent extends Event {\n readonly track: MediaStreamTrack;\n}\n\ndeclare var MediaStreamTrackEvent: {\n prototype: MediaStreamTrackEvent;\n new(type: string, eventInitDict: MediaStreamTrackEventInit): MediaStreamTrackEvent;\n};\n\n/** This Channel Messaging API interface allows us to create a new message channel and send data through it via its two MessagePort properties. */\ninterface MessageChannel {\n /**\n * Returns the first MessagePort object.\n */\n readonly port1: MessagePort;\n /**\n * Returns the second MessagePort object.\n */\n readonly port2: MessagePort;\n}\n\ndeclare var MessageChannel: {\n prototype: MessageChannel;\n new(): MessageChannel;\n};\n\n/** A message received by a target object. */\ninterface MessageEvent<T = any> extends Event {\n /**\n * Returns the data of the message.\n */\n readonly data: T;\n /**\n * Returns the last event ID string, for server-sent events.\n */\n readonly lastEventId: string;\n /**\n * Returns the origin of the message, for server-sent events and cross-document messaging.\n */\n readonly origin: string;\n /**\n * Returns the MessagePort array sent with the message, for cross-document messaging and channel messaging.\n */\n readonly ports: ReadonlyArray<MessagePort>;\n /**\n * Returns the WindowProxy of the source window, for cross-document messaging, and the MessagePort being attached, in the connect event fired at SharedWorkerGlobalScope objects.\n */\n readonly source: MessageEventSource | null;\n /** @deprecated */\n initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: MessagePort[]): void;\n}\n\ndeclare var MessageEvent: {\n prototype: MessageEvent;\n new<T>(type: string, eventInitDict?: MessageEventInit<T>): MessageEvent<T>;\n};\n\ninterface MessagePortEventMap {\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\n/** This Channel Messaging API interface represents one of the two ports of a MessageChannel, allowing messages to be sent from one port and listening out for them arriving at the other. */\ninterface MessagePort extends EventTarget {\n onmessage: ((this: MessagePort, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: MessagePort, ev: MessageEvent) => any) | null;\n /**\n * Disconnects the port, so that it is no longer active.\n */\n close(): void;\n /**\n * Posts a message through the channel. Objects listed in transfer are transferred, not just cloned, meaning that they are no longer usable on the sending side.\n *\n * Throws a "DataCloneError" DOMException if transfer contains duplicate objects or port, or if message could not be cloned.\n */\n postMessage(message: any, transfer: Transferable[]): void;\n postMessage(message: any, options?: PostMessageOptions): void;\n /**\n * Begins dispatching messages received on the port.\n */\n start(): void;\n addEventListener<K extends keyof MessagePortEventMap>(type: K, listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MessagePortEventMap>(type: K, listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MessagePort: {\n prototype: MessagePort;\n new(): MessagePort;\n};\n\n/**\n * Provides contains information about a MIME type associated with a particular plugin. NavigatorPlugins.mimeTypes returns an array of this object.\n * @deprecated\n */\ninterface MimeType {\n /**\n * Returns the MIME type\'s description.\n * @deprecated\n */\n readonly description: string;\n /**\n * Returns the Plugin object that implements this MIME type.\n * @deprecated\n */\n readonly enabledPlugin: Plugin;\n /**\n * Returns the MIME type\'s typical file extensions, in a comma-separated list.\n * @deprecated\n */\n readonly suffixes: string;\n /**\n * Returns the MIME type.\n * @deprecated\n */\n readonly type: string;\n}\n\n/** @deprecated */\ndeclare var MimeType: {\n prototype: MimeType;\n new(): MimeType;\n};\n\n/**\n * Returns an array of MimeType instances, each of which contains information about a supported browser plugins. This object is returned by NavigatorPlugins.mimeTypes.\n * @deprecated\n */\ninterface MimeTypeArray {\n /** @deprecated */\n readonly length: number;\n /** @deprecated */\n item(index: number): MimeType | null;\n /** @deprecated */\n namedItem(name: string): MimeType | null;\n [index: number]: MimeType;\n}\n\n/** @deprecated */\ndeclare var MimeTypeArray: {\n prototype: MimeTypeArray;\n new(): MimeTypeArray;\n};\n\n/** Events that occur due to the user interacting with a pointing device (such as a mouse). Common events using this interface include click, dblclick, mouseup, mousedown. */\ninterface MouseEvent extends UIEvent {\n readonly altKey: boolean;\n readonly button: number;\n readonly buttons: number;\n readonly clientX: number;\n readonly clientY: number;\n readonly ctrlKey: boolean;\n readonly metaKey: boolean;\n readonly movementX: number;\n readonly movementY: number;\n readonly offsetX: number;\n readonly offsetY: number;\n readonly pageX: number;\n readonly pageY: number;\n readonly relatedTarget: EventTarget | null;\n readonly screenX: number;\n readonly screenY: number;\n readonly shiftKey: boolean;\n readonly x: number;\n readonly y: number;\n getModifierState(keyArg: string): boolean;\n /** @deprecated */\n initMouseEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, ctrlKeyArg: boolean, altKeyArg: boolean, shiftKeyArg: boolean, metaKeyArg: boolean, buttonArg: number, relatedTargetArg: EventTarget | null): void;\n}\n\ndeclare var MouseEvent: {\n prototype: MouseEvent;\n new(type: string, eventInitDict?: MouseEventInit): MouseEvent;\n};\n\n/**\n * Provides event properties that are specific to modifications to the Document Object Model (DOM) hierarchy and nodes.\n * @deprecated DOM4 [DOM] provides a new mechanism using a MutationObserver interface which addresses the use cases that mutation events solve, but in a more performant manner. Thus, this specification describes mutation events for reference and completeness of legacy behavior, but deprecates the use of the MutationEvent interface.\n */\ninterface MutationEvent extends Event {\n /** @deprecated */\n readonly attrChange: number;\n /** @deprecated */\n readonly attrName: string;\n /** @deprecated */\n readonly newValue: string;\n /** @deprecated */\n readonly prevValue: string;\n /** @deprecated */\n readonly relatedNode: Node | null;\n /** @deprecated */\n initMutationEvent(typeArg: string, bubblesArg?: boolean, cancelableArg?: boolean, relatedNodeArg?: Node | null, prevValueArg?: string, newValueArg?: string, attrNameArg?: string, attrChangeArg?: number): void;\n readonly ADDITION: number;\n readonly MODIFICATION: number;\n readonly REMOVAL: number;\n}\n\n/** @deprecated */\ndeclare var MutationEvent: {\n prototype: MutationEvent;\n new(): MutationEvent;\n readonly ADDITION: number;\n readonly MODIFICATION: number;\n readonly REMOVAL: number;\n};\n\n/** Provides the ability to watch for changes being made to the DOM tree. It is designed as a replacement for the older Mutation Events feature which was part of the DOM3 Events specification. */\ninterface MutationObserver {\n /**\n * Stops observer from observing any mutations. Until the observe() method is used again, observer\'s callback will not be invoked.\n */\n disconnect(): void;\n /**\n * Instructs the user agent to observe a given target (a node) and report any mutations based on the criteria given by options (an object).\n *\n * The options argument allows for setting mutation observation options via object members.\n */\n observe(target: Node, options?: MutationObserverInit): void;\n /**\n * Empties the record queue and returns what was in there.\n */\n takeRecords(): MutationRecord[];\n}\n\ndeclare var MutationObserver: {\n prototype: MutationObserver;\n new(callback: MutationCallback): MutationObserver;\n};\n\n/** A MutationRecord represents an individual DOM mutation. It is the object that is passed to MutationObserver\'s callback. */\ninterface MutationRecord {\n /**\n * Return the nodes added and removed respectively.\n */\n readonly addedNodes: NodeList;\n /**\n * Returns the local name of the changed attribute, and null otherwise.\n */\n readonly attributeName: string | null;\n /**\n * Returns the namespace of the changed attribute, and null otherwise.\n */\n readonly attributeNamespace: string | null;\n /**\n * Return the previous and next sibling respectively of the added or removed nodes, and null otherwise.\n */\n readonly nextSibling: Node | null;\n /**\n * The return value depends on type. For "attributes", it is the value of the changed attribute before the change. For "characterData", it is the data of the changed node before the change. For "childList", it is null.\n */\n readonly oldValue: string | null;\n /**\n * Return the previous and next sibling respectively of the added or removed nodes, and null otherwise.\n */\n readonly previousSibling: Node | null;\n /**\n * Return the nodes added and removed respectively.\n */\n readonly removedNodes: NodeList;\n /**\n * Returns the node the mutation affected, depending on the type. For "attributes", it is the element whose attribute changed. For "characterData", it is the CharacterData node. For "childList", it is the node whose children changed.\n */\n readonly target: Node;\n /**\n * Returns "attributes" if it was an attribute mutation. "characterData" if it was a mutation to a CharacterData node. And "childList" if it was a mutation to the tree of nodes.\n */\n readonly type: MutationRecordType;\n}\n\ndeclare var MutationRecord: {\n prototype: MutationRecord;\n new(): MutationRecord;\n};\n\n/** A collection of Attr objects. Objects inside a NamedNodeMap are not in any particular order, unlike NodeList, although they may be accessed by an index as in an array. */\ninterface NamedNodeMap {\n readonly length: number;\n getNamedItem(qualifiedName: string): Attr | null;\n getNamedItemNS(namespace: string | null, localName: string): Attr | null;\n item(index: number): Attr | null;\n removeNamedItem(qualifiedName: string): Attr;\n removeNamedItemNS(namespace: string | null, localName: string): Attr;\n setNamedItem(attr: Attr): Attr | null;\n setNamedItemNS(attr: Attr): Attr | null;\n [index: number]: Attr;\n}\n\ndeclare var NamedNodeMap: {\n prototype: NamedNodeMap;\n new(): NamedNodeMap;\n};\n\n/** The state and the identity of the user agent. It allows scripts to query it and to register themselves to carry on some activities. */\ninterface Navigator extends NavigatorAutomationInformation, NavigatorConcurrentHardware, NavigatorContentUtils, NavigatorCookies, NavigatorID, NavigatorLanguage, NavigatorNetworkInformation, NavigatorOnLine, NavigatorPlugins, NavigatorStorage {\n readonly clipboard: Clipboard;\n readonly credentials: CredentialsContainer;\n readonly doNotTrack: string | null;\n readonly geolocation: Geolocation;\n readonly maxTouchPoints: number;\n readonly mediaCapabilities: MediaCapabilities;\n readonly mediaDevices: MediaDevices;\n readonly mediaSession: MediaSession;\n readonly permissions: Permissions;\n readonly pointerEnabled: boolean;\n readonly serviceWorker: ServiceWorkerContainer;\n getGamepads(): (Gamepad | null)[];\n requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: MediaKeySystemConfiguration[]): Promise<MediaKeySystemAccess>;\n sendBeacon(url: string | URL, data?: BodyInit | null): boolean;\n share(data?: ShareData): Promise<void>;\n vibrate(pattern: VibratePattern): boolean;\n}\n\ndeclare var Navigator: {\n prototype: Navigator;\n new(): Navigator;\n};\n\ninterface NavigatorAutomationInformation {\n readonly webdriver: boolean;\n}\n\ninterface NavigatorConcurrentHardware {\n readonly hardwareConcurrency: number;\n}\n\ninterface NavigatorContentUtils {\n registerProtocolHandler(scheme: string, url: string | URL): void;\n}\n\ninterface NavigatorCookies {\n readonly cookieEnabled: boolean;\n}\n\ninterface NavigatorID {\n /** @deprecated */\n readonly appCodeName: string;\n /** @deprecated */\n readonly appName: string;\n /** @deprecated */\n readonly appVersion: string;\n /** @deprecated */\n readonly platform: string;\n /** @deprecated */\n readonly product: string;\n /** @deprecated */\n readonly productSub: string;\n readonly userAgent: string;\n readonly vendor: string;\n /** @deprecated */\n readonly vendorSub: string;\n}\n\ninterface NavigatorLanguage {\n readonly language: string;\n readonly languages: ReadonlyArray<string>;\n}\n\ninterface NavigatorNetworkInformation {\n readonly connection: NetworkInformation;\n}\n\ninterface NavigatorOnLine {\n readonly onLine: boolean;\n}\n\ninterface NavigatorPlugins {\n /** @deprecated */\n readonly mimeTypes: MimeTypeArray;\n /** @deprecated */\n readonly plugins: PluginArray;\n /** @deprecated */\n javaEnabled(): boolean;\n}\n\ninterface NavigatorStorage {\n readonly storage: StorageManager;\n}\n\ninterface NetworkInformation extends EventTarget {\n readonly type: ConnectionType;\n}\n\ndeclare var NetworkInformation: {\n prototype: NetworkInformation;\n new(): NetworkInformation;\n};\n\n/** Node is an interface from which a number of DOM API object types inherit. It allows those types to be treated similarly; for example, inheriting the same set of methods, or being tested in the same way. */\ninterface Node extends EventTarget {\n /**\n * Returns node\'s node document\'s document base URL.\n */\n readonly baseURI: string;\n /**\n * Returns the children.\n */\n readonly childNodes: NodeListOf<ChildNode>;\n /**\n * Returns the first child.\n */\n readonly firstChild: ChildNode | null;\n /**\n * Returns true if node is connected and false otherwise.\n */\n readonly isConnected: boolean;\n /**\n * Returns the last child.\n */\n readonly lastChild: ChildNode | null;\n /**\n * Returns the next sibling.\n */\n readonly nextSibling: ChildNode | null;\n /**\n * Returns a string appropriate for the type of node.\n */\n readonly nodeName: string;\n /**\n * Returns the type of node.\n */\n readonly nodeType: number;\n nodeValue: string | null;\n /**\n * Returns the node document. Returns null for documents.\n */\n readonly ownerDocument: Document | null;\n /**\n * Returns the parent element.\n */\n readonly parentElement: HTMLElement | null;\n /**\n * Returns the parent.\n */\n readonly parentNode: ParentNode | null;\n /**\n * Returns the previous sibling.\n */\n readonly previousSibling: ChildNode | null;\n textContent: string | null;\n appendChild<T extends Node>(node: T): T;\n /**\n * Returns a copy of node. If deep is true, the copy also includes the node\'s descendants.\n */\n cloneNode(deep?: boolean): Node;\n /**\n * Returns a bitmask indicating the position of other relative to node.\n */\n compareDocumentPosition(other: Node): number;\n /**\n * Returns true if other is an inclusive descendant of node, and false otherwise.\n */\n contains(other: Node | null): boolean;\n /**\n * Returns node\'s root.\n */\n getRootNode(options?: GetRootNodeOptions): Node;\n /**\n * Returns whether node has children.\n */\n hasChildNodes(): boolean;\n insertBefore<T extends Node>(node: T, child: Node | null): T;\n isDefaultNamespace(namespace: string | null): boolean;\n /**\n * Returns whether node and otherNode have the same properties.\n */\n isEqualNode(otherNode: Node | null): boolean;\n isSameNode(otherNode: Node | null): boolean;\n lookupNamespaceURI(prefix: string | null): string | null;\n lookupPrefix(namespace: string | null): string | null;\n /**\n * Removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes.\n */\n normalize(): void;\n removeChild<T extends Node>(child: T): T;\n replaceChild<T extends Node>(node: Node, child: T): T;\n readonly ATTRIBUTE_NODE: number;\n /**\n * node is a CDATASection node.\n */\n readonly CDATA_SECTION_NODE: number;\n /**\n * node is a Comment node.\n */\n readonly COMMENT_NODE: number;\n /**\n * node is a DocumentFragment node.\n */\n readonly DOCUMENT_FRAGMENT_NODE: number;\n /**\n * node is a document.\n */\n readonly DOCUMENT_NODE: number;\n /**\n * Set when other is a descendant of node.\n */\n readonly DOCUMENT_POSITION_CONTAINED_BY: number;\n /**\n * Set when other is an ancestor of node.\n */\n readonly DOCUMENT_POSITION_CONTAINS: number;\n /**\n * Set when node and other are not in the same tree.\n */\n readonly DOCUMENT_POSITION_DISCONNECTED: number;\n /**\n * Set when other is following node.\n */\n readonly DOCUMENT_POSITION_FOLLOWING: number;\n readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;\n /**\n * Set when other is preceding node.\n */\n readonly DOCUMENT_POSITION_PRECEDING: number;\n /**\n * node is a doctype.\n */\n readonly DOCUMENT_TYPE_NODE: number;\n /**\n * node is an element.\n */\n readonly ELEMENT_NODE: number;\n readonly ENTITY_NODE: number;\n readonly ENTITY_REFERENCE_NODE: number;\n readonly NOTATION_NODE: number;\n /**\n * node is a ProcessingInstruction node.\n */\n readonly PROCESSING_INSTRUCTION_NODE: number;\n /**\n * node is a Text node.\n */\n readonly TEXT_NODE: number;\n}\n\ndeclare var Node: {\n prototype: Node;\n new(): Node;\n readonly ATTRIBUTE_NODE: number;\n /**\n * node is a CDATASection node.\n */\n readonly CDATA_SECTION_NODE: number;\n /**\n * node is a Comment node.\n */\n readonly COMMENT_NODE: number;\n /**\n * node is a DocumentFragment node.\n */\n readonly DOCUMENT_FRAGMENT_NODE: number;\n /**\n * node is a document.\n */\n readonly DOCUMENT_NODE: number;\n /**\n * Set when other is a descendant of node.\n */\n readonly DOCUMENT_POSITION_CONTAINED_BY: number;\n /**\n * Set when other is an ancestor of node.\n */\n readonly DOCUMENT_POSITION_CONTAINS: number;\n /**\n * Set when node and other are not in the same tree.\n */\n readonly DOCUMENT_POSITION_DISCONNECTED: number;\n /**\n * Set when other is following node.\n */\n readonly DOCUMENT_POSITION_FOLLOWING: number;\n readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;\n /**\n * Set when other is preceding node.\n */\n readonly DOCUMENT_POSITION_PRECEDING: number;\n /**\n * node is a doctype.\n */\n readonly DOCUMENT_TYPE_NODE: number;\n /**\n * node is an element.\n */\n readonly ELEMENT_NODE: number;\n readonly ENTITY_NODE: number;\n readonly ENTITY_REFERENCE_NODE: number;\n readonly NOTATION_NODE: number;\n /**\n * node is a ProcessingInstruction node.\n */\n readonly PROCESSING_INSTRUCTION_NODE: number;\n /**\n * node is a Text node.\n */\n readonly TEXT_NODE: number;\n};\n\n/** An iterator over the members of a list of the nodes in a subtree of the DOM. The nodes will be returned in document order. */\ninterface NodeIterator {\n readonly filter: NodeFilter | null;\n readonly pointerBeforeReferenceNode: boolean;\n readonly referenceNode: Node;\n readonly root: Node;\n readonly whatToShow: number;\n /** @deprecated */\n detach(): void;\n nextNode(): Node | null;\n previousNode(): Node | null;\n}\n\ndeclare var NodeIterator: {\n prototype: NodeIterator;\n new(): NodeIterator;\n};\n\n/** NodeList objects are collections of nodes, usually returned by properties such as Node.childNodes and methods such as document.querySelectorAll(). */\ninterface NodeList {\n /**\n * Returns the number of nodes in the collection.\n */\n readonly length: number;\n /**\n * Returns the node with index index from the collection. The nodes are sorted in tree order.\n */\n item(index: number): Node | null;\n /**\n * Performs the specified action for each node in an list.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the list.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: Node, key: number, parent: NodeList) => void, thisArg?: any): void;\n [index: number]: Node;\n}\n\ndeclare var NodeList: {\n prototype: NodeList;\n new(): NodeList;\n};\n\ninterface NodeListOf<TNode extends Node> extends NodeList {\n item(index: number): TNode;\n /**\n * Performs the specified action for each node in an list.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the list.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: TNode, key: number, parent: NodeListOf<TNode>) => void, thisArg?: any): void;\n [index: number]: TNode;\n}\n\ninterface NonDocumentTypeChildNode {\n /**\n * Returns the first following sibling that is an element, and null otherwise.\n */\n readonly nextElementSibling: Element | null;\n /**\n * Returns the first preceding sibling that is an element, and null otherwise.\n */\n readonly previousElementSibling: Element | null;\n}\n\ninterface NonElementParentNode {\n /**\n * Returns the first element within node\'s descendants whose ID is elementId.\n */\n getElementById(elementId: string): Element | null;\n}\n\ninterface NotificationEventMap {\n "click": Event;\n "close": Event;\n "error": Event;\n "show": Event;\n}\n\n/** This Notifications API interface is used to configure and display desktop notifications to the user. */\ninterface Notification extends EventTarget {\n readonly body: string;\n readonly data: any;\n readonly dir: NotificationDirection;\n readonly icon: string;\n readonly lang: string;\n onclick: ((this: Notification, ev: Event) => any) | null;\n onclose: ((this: Notification, ev: Event) => any) | null;\n onerror: ((this: Notification, ev: Event) => any) | null;\n onshow: ((this: Notification, ev: Event) => any) | null;\n readonly tag: string;\n readonly title: string;\n close(): void;\n addEventListener<K extends keyof NotificationEventMap>(type: K, listener: (this: Notification, ev: NotificationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof NotificationEventMap>(type: K, listener: (this: Notification, ev: NotificationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Notification: {\n prototype: Notification;\n new(title: string, options?: NotificationOptions): Notification;\n readonly permission: NotificationPermission;\n requestPermission(deprecatedCallback?: NotificationPermissionCallback): Promise<NotificationPermission>;\n};\n\n/** The OES_element_index_uint extension is part of the WebGL API and adds support for gl.UNSIGNED_INT types to WebGLRenderingContext.drawElements(). */\ninterface OES_element_index_uint {\n}\n\ninterface OES_fbo_render_mipmap {\n}\n\n/** The OES_standard_derivatives extension is part of the WebGL API and adds the GLSL derivative functions dFdx, dFdy, and fwidth. */\ninterface OES_standard_derivatives {\n readonly FRAGMENT_SHADER_DERIVATIVE_HINT_OES: GLenum;\n}\n\n/** The OES_texture_float extension is part of the WebGL API and exposes floating-point pixel types for textures. */\ninterface OES_texture_float {\n}\n\n/** The OES_texture_float_linear extension is part of the WebGL API and allows linear filtering with floating-point pixel types for textures. */\ninterface OES_texture_float_linear {\n}\n\n/** The OES_texture_half_float extension is part of the WebGL API and adds texture formats with 16- (aka half float) and 32-bit floating-point components. */\ninterface OES_texture_half_float {\n readonly HALF_FLOAT_OES: GLenum;\n}\n\n/** The OES_texture_half_float_linear extension is part of the WebGL API and allows linear filtering with half floating-point pixel types for textures. */\ninterface OES_texture_half_float_linear {\n}\n\ninterface OES_vertex_array_object {\n bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;\n createVertexArrayOES(): WebGLVertexArrayObjectOES | null;\n deleteVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;\n isVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): GLboolean;\n readonly VERTEX_ARRAY_BINDING_OES: GLenum;\n}\n\ninterface OVR_multiview2 {\n framebufferTextureMultiviewOVR(target: GLenum, attachment: GLenum, texture: WebGLTexture | null, level: GLint, baseViewIndex: GLint, numViews: GLsizei): void;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR: GLenum;\n readonly MAX_VIEWS_OVR: GLenum;\n}\n\n/** The Web Audio API OfflineAudioCompletionEvent interface represents events that occur when the processing of an OfflineAudioContext is terminated. The complete event implements this interface. */\ninterface OfflineAudioCompletionEvent extends Event {\n readonly renderedBuffer: AudioBuffer;\n}\n\ndeclare var OfflineAudioCompletionEvent: {\n prototype: OfflineAudioCompletionEvent;\n new(type: string, eventInitDict: OfflineAudioCompletionEventInit): OfflineAudioCompletionEvent;\n};\n\ninterface OfflineAudioContextEventMap extends BaseAudioContextEventMap {\n "complete": OfflineAudioCompletionEvent;\n}\n\n/** An AudioContext interface representing an audio-processing graph built from linked together AudioNodes. In contrast with a standard AudioContext, an OfflineAudioContext doesn\'t render the audio to the device hardware; instead, it generates it, as fast as it can, and outputs the result to an AudioBuffer. */\ninterface OfflineAudioContext extends BaseAudioContext {\n readonly length: number;\n oncomplete: ((this: OfflineAudioContext, ev: OfflineAudioCompletionEvent) => any) | null;\n resume(): Promise<void>;\n startRendering(): Promise<AudioBuffer>;\n suspend(suspendTime: number): Promise<void>;\n addEventListener<K extends keyof OfflineAudioContextEventMap>(type: K, listener: (this: OfflineAudioContext, ev: OfflineAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof OfflineAudioContextEventMap>(type: K, listener: (this: OfflineAudioContext, ev: OfflineAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var OfflineAudioContext: {\n prototype: OfflineAudioContext;\n new(contextOptions: OfflineAudioContextOptions): OfflineAudioContext;\n new(numberOfChannels: number, length: number, sampleRate: number): OfflineAudioContext;\n};\n\n/** The OscillatorNode interface represents a periodic waveform, such as a sine wave. It is an AudioScheduledSourceNode audio-processing module that causes a specified frequency of a given wave to be created—in effect, a constant tone. */\ninterface OscillatorNode extends AudioScheduledSourceNode {\n readonly detune: AudioParam;\n readonly frequency: AudioParam;\n type: OscillatorType;\n setPeriodicWave(periodicWave: PeriodicWave): void;\n addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: OscillatorNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: OscillatorNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var OscillatorNode: {\n prototype: OscillatorNode;\n new(context: BaseAudioContext, options?: OscillatorOptions): OscillatorNode;\n};\n\ninterface OverconstrainedError extends Error {\n readonly constraint: string;\n}\n\ndeclare var OverconstrainedError: {\n prototype: OverconstrainedError;\n new(constraint: string, message?: string): OverconstrainedError;\n};\n\n/** The PageTransitionEvent is fired when a document is being loaded or unloaded. */\ninterface PageTransitionEvent extends Event {\n /**\n * For the pageshow event, returns false if the page is newly being loaded (and the load event will fire). Otherwise, returns true.\n *\n * For the pagehide event, returns false if the page is going away for the last time. Otherwise, returns true, meaning that (if nothing conspires to make the page unsalvageable) the page might be reused if the user navigates back to this page.\n *\n * Things that can cause the page to be unsalvageable include:\n *\n * The user agent decided to not keep the Document alive in a session history entry after unload\n * Having iframes that are not salvageable\n * Active WebSocket objects\n * Aborting a Document\n */\n readonly persisted: boolean;\n}\n\ndeclare var PageTransitionEvent: {\n prototype: PageTransitionEvent;\n new(type: string, eventInitDict?: PageTransitionEventInit): PageTransitionEvent;\n};\n\n/** A PannerNode always has exactly one input and one output: the input can be mono or stereo but the output is always stereo (2 channels); you can\'t have panning effects without at least two audio channels! */\ninterface PannerNode extends AudioNode {\n coneInnerAngle: number;\n coneOuterAngle: number;\n coneOuterGain: number;\n distanceModel: DistanceModelType;\n maxDistance: number;\n readonly orientationX: AudioParam;\n readonly orientationY: AudioParam;\n readonly orientationZ: AudioParam;\n panningModel: PanningModelType;\n readonly positionX: AudioParam;\n readonly positionY: AudioParam;\n readonly positionZ: AudioParam;\n refDistance: number;\n rolloffFactor: number;\n /** @deprecated */\n setOrientation(x: number, y: number, z: number): void;\n /** @deprecated */\n setPosition(x: number, y: number, z: number): void;\n}\n\ndeclare var PannerNode: {\n prototype: PannerNode;\n new(context: BaseAudioContext, options?: PannerOptions): PannerNode;\n};\n\ninterface ParentNode extends Node {\n readonly childElementCount: number;\n /**\n * Returns the child elements.\n */\n readonly children: HTMLCollection;\n /**\n * Returns the first child that is an element, and null otherwise.\n */\n readonly firstElementChild: Element | null;\n /**\n * Returns the last child that is an element, and null otherwise.\n */\n readonly lastElementChild: Element | null;\n /**\n * Inserts nodes after the last child of node, while replacing strings in nodes with equivalent Text nodes.\n *\n * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.\n */\n append(...nodes: (Node | string)[]): void;\n /**\n * Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.\n *\n * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.\n */\n prepend(...nodes: (Node | string)[]): void;\n /**\n * Returns the first element that is a descendant of node that matches selectors.\n */\n querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;\n querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;\n querySelector<E extends Element = Element>(selectors: string): E | null;\n /**\n * Returns all element descendants of node that match selectors.\n */\n querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;\n querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;\n querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;\n /**\n * Replace all children of node with nodes, while replacing strings in nodes with equivalent Text nodes.\n *\n * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.\n */\n replaceChildren(...nodes: (Node | string)[]): void;\n}\n\n/** This Canvas 2D API interface is used to declare a path that can then be used on a CanvasRenderingContext2D object. The path methods of the CanvasRenderingContext2D interface are also present on this interface, which gives you the convenience of being able to retain and replay your path whenever desired. */\ninterface Path2D extends CanvasPath {\n /**\n * Adds to the path the path given by the argument.\n */\n addPath(path: Path2D, transform?: DOMMatrix2DInit): void;\n}\n\ndeclare var Path2D: {\n prototype: Path2D;\n new(path?: Path2D | string): Path2D;\n};\n\n/**\n * This Payment Request API interface is used to store shipping or payment address information.\n * @deprecated\n */\ninterface PaymentAddress {\n /** @deprecated */\n readonly addressLine: ReadonlyArray<string>;\n /** @deprecated */\n readonly city: string;\n /** @deprecated */\n readonly country: string;\n /** @deprecated */\n readonly dependentLocality: string;\n /** @deprecated */\n readonly organization: string;\n /** @deprecated */\n readonly phone: string;\n /** @deprecated */\n readonly postalCode: string;\n /** @deprecated */\n readonly recipient: string;\n /** @deprecated */\n readonly region: string;\n /** @deprecated */\n readonly sortingCode: string;\n /** @deprecated */\n toJSON(): any;\n}\n\n/** @deprecated */\ndeclare var PaymentAddress: {\n prototype: PaymentAddress;\n new(): PaymentAddress;\n};\n\ninterface PaymentMethodChangeEvent extends PaymentRequestUpdateEvent {\n readonly methodDetails: any;\n readonly methodName: string;\n}\n\ndeclare var PaymentMethodChangeEvent: {\n prototype: PaymentMethodChangeEvent;\n new(type: string, eventInitDict?: PaymentMethodChangeEventInit): PaymentMethodChangeEvent;\n};\n\ninterface PaymentRequestEventMap {\n "paymentmethodchange": Event;\n}\n\n/** This Payment Request API interface is the primary access point into the API, and lets web content and apps accept payments from the end user. */\ninterface PaymentRequest extends EventTarget {\n readonly id: string;\n onpaymentmethodchange: ((this: PaymentRequest, ev: Event) => any) | null;\n abort(): Promise<void>;\n canMakePayment(): Promise<boolean>;\n show(detailsPromise?: PaymentDetailsUpdate | PromiseLike<PaymentDetailsUpdate>): Promise<PaymentResponse>;\n addEventListener<K extends keyof PaymentRequestEventMap>(type: K, listener: (this: PaymentRequest, ev: PaymentRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof PaymentRequestEventMap>(type: K, listener: (this: PaymentRequest, ev: PaymentRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var PaymentRequest: {\n prototype: PaymentRequest;\n new(methodData: PaymentMethodData[], details: PaymentDetailsInit): PaymentRequest;\n};\n\n/** This Payment Request API interface enables a web page to update the details of a PaymentRequest in response to a user action. */\ninterface PaymentRequestUpdateEvent extends Event {\n updateWith(detailsPromise: PaymentDetailsUpdate | PromiseLike<PaymentDetailsUpdate>): void;\n}\n\ndeclare var PaymentRequestUpdateEvent: {\n prototype: PaymentRequestUpdateEvent;\n new(type: string, eventInitDict?: PaymentRequestUpdateEventInit): PaymentRequestUpdateEvent;\n};\n\n/** This Payment Request API interface is returned after a user selects a payment method and approves a payment request. */\ninterface PaymentResponse extends EventTarget {\n readonly details: any;\n readonly methodName: string;\n readonly requestId: string;\n complete(result?: PaymentComplete): Promise<void>;\n retry(errorFields?: PaymentValidationErrors): Promise<void>;\n toJSON(): any;\n}\n\ndeclare var PaymentResponse: {\n prototype: PaymentResponse;\n new(): PaymentResponse;\n};\n\ninterface PerformanceEventMap {\n "resourcetimingbufferfull": Event;\n}\n\n/** Provides access to performance-related information for the current page. It\'s part of the High Resolution Time API, but is enhanced by the Performance Timeline API, the Navigation Timing API, the User Timing API, and the Resource Timing API. */\ninterface Performance extends EventTarget {\n /** @deprecated */\n readonly navigation: PerformanceNavigation;\n onresourcetimingbufferfull: ((this: Performance, ev: Event) => any) | null;\n readonly timeOrigin: DOMHighResTimeStamp;\n /** @deprecated */\n readonly timing: PerformanceTiming;\n clearMarks(markName?: string): void;\n clearMeasures(measureName?: string): void;\n clearResourceTimings(): void;\n getEntries(): PerformanceEntryList;\n getEntriesByName(name: string, type?: string): PerformanceEntryList;\n getEntriesByType(type: string): PerformanceEntryList;\n mark(markName: string, markOptions?: PerformanceMarkOptions): PerformanceMark;\n measure(measureName: string, startOrMeasureOptions?: string | PerformanceMeasureOptions, endMark?: string): PerformanceMeasure;\n now(): DOMHighResTimeStamp;\n setResourceTimingBufferSize(maxSize: number): void;\n toJSON(): any;\n addEventListener<K extends keyof PerformanceEventMap>(type: K, listener: (this: Performance, ev: PerformanceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof PerformanceEventMap>(type: K, listener: (this: Performance, ev: PerformanceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Performance: {\n prototype: Performance;\n new(): Performance;\n};\n\n/** Encapsulates a single performance metric that is part of the performance timeline. A performance entry can be directly created by making a performance mark or measure (for example by calling the mark() method) at an explicit point in an application. Performance entries are also created in indirect ways such as loading a resource (such as an image). */\ninterface PerformanceEntry {\n readonly duration: DOMHighResTimeStamp;\n readonly entryType: string;\n readonly name: string;\n readonly startTime: DOMHighResTimeStamp;\n toJSON(): any;\n}\n\ndeclare var PerformanceEntry: {\n prototype: PerformanceEntry;\n new(): PerformanceEntry;\n};\n\ninterface PerformanceEventTiming extends PerformanceEntry {\n readonly cancelable: boolean;\n readonly processingEnd: DOMHighResTimeStamp;\n readonly processingStart: DOMHighResTimeStamp;\n readonly target: Node | null;\n}\n\ndeclare var PerformanceEventTiming: {\n prototype: PerformanceEventTiming;\n new(): PerformanceEventTiming;\n};\n\n/** PerformanceMark is an abstract interface for PerformanceEntry objects with an entryType of "mark". Entries of this type are created by calling performance.mark() to add a named DOMHighResTimeStamp (the mark) to the browser\'s performance timeline. */\ninterface PerformanceMark extends PerformanceEntry {\n readonly detail: any;\n}\n\ndeclare var PerformanceMark: {\n prototype: PerformanceMark;\n new(markName: string, markOptions?: PerformanceMarkOptions): PerformanceMark;\n};\n\n/** PerformanceMeasure is an abstract interface for PerformanceEntry objects with an entryType of "measure". Entries of this type are created by calling performance.measure() to add a named DOMHighResTimeStamp (the measure) between two marks to the browser\'s performance timeline. */\ninterface PerformanceMeasure extends PerformanceEntry {\n readonly detail: any;\n}\n\ndeclare var PerformanceMeasure: {\n prototype: PerformanceMeasure;\n new(): PerformanceMeasure;\n};\n\n/**\n * The legacy PerformanceNavigation interface represents information about how the navigation to the current document was done.\n * @deprecated This interface is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.\n */\ninterface PerformanceNavigation {\n /** @deprecated */\n readonly redirectCount: number;\n /** @deprecated */\n readonly type: number;\n /** @deprecated */\n toJSON(): any;\n readonly TYPE_BACK_FORWARD: number;\n readonly TYPE_NAVIGATE: number;\n readonly TYPE_RELOAD: number;\n readonly TYPE_RESERVED: number;\n}\n\n/** @deprecated */\ndeclare var PerformanceNavigation: {\n prototype: PerformanceNavigation;\n new(): PerformanceNavigation;\n readonly TYPE_BACK_FORWARD: number;\n readonly TYPE_NAVIGATE: number;\n readonly TYPE_RELOAD: number;\n readonly TYPE_RESERVED: number;\n};\n\n/** Provides methods and properties to store and retrieve metrics regarding the browser\'s document navigation events. For example, this interface can be used to determine how much time it takes to load or unload a document. */\ninterface PerformanceNavigationTiming extends PerformanceResourceTiming {\n readonly domComplete: DOMHighResTimeStamp;\n readonly domContentLoadedEventEnd: DOMHighResTimeStamp;\n readonly domContentLoadedEventStart: DOMHighResTimeStamp;\n readonly domInteractive: DOMHighResTimeStamp;\n readonly loadEventEnd: DOMHighResTimeStamp;\n readonly loadEventStart: DOMHighResTimeStamp;\n readonly redirectCount: number;\n readonly type: NavigationType;\n readonly unloadEventEnd: DOMHighResTimeStamp;\n readonly unloadEventStart: DOMHighResTimeStamp;\n toJSON(): any;\n}\n\ndeclare var PerformanceNavigationTiming: {\n prototype: PerformanceNavigationTiming;\n new(): PerformanceNavigationTiming;\n};\n\ninterface PerformanceObserver {\n disconnect(): void;\n observe(options?: PerformanceObserverInit): void;\n takeRecords(): PerformanceEntryList;\n}\n\ndeclare var PerformanceObserver: {\n prototype: PerformanceObserver;\n new(callback: PerformanceObserverCallback): PerformanceObserver;\n readonly supportedEntryTypes: ReadonlyArray<string>;\n};\n\ninterface PerformanceObserverEntryList {\n getEntries(): PerformanceEntryList;\n getEntriesByName(name: string, type?: string): PerformanceEntryList;\n getEntriesByType(type: string): PerformanceEntryList;\n}\n\ndeclare var PerformanceObserverEntryList: {\n prototype: PerformanceObserverEntryList;\n new(): PerformanceObserverEntryList;\n};\n\ninterface PerformancePaintTiming extends PerformanceEntry {\n}\n\ndeclare var PerformancePaintTiming: {\n prototype: PerformancePaintTiming;\n new(): PerformancePaintTiming;\n};\n\n/** Enables retrieval and analysis of detailed network timing data regarding the loading of an application\'s resources. An application can use the timing metrics to determine, for example, the length of time it takes to fetch a specific resource, such as an XMLHttpRequest, <SVG>, image, or script. */\ninterface PerformanceResourceTiming extends PerformanceEntry {\n readonly connectEnd: DOMHighResTimeStamp;\n readonly connectStart: DOMHighResTimeStamp;\n readonly decodedBodySize: number;\n readonly domainLookupEnd: DOMHighResTimeStamp;\n readonly domainLookupStart: DOMHighResTimeStamp;\n readonly encodedBodySize: number;\n readonly fetchStart: DOMHighResTimeStamp;\n readonly initiatorType: string;\n readonly nextHopProtocol: string;\n readonly redirectEnd: DOMHighResTimeStamp;\n readonly redirectStart: DOMHighResTimeStamp;\n readonly requestStart: DOMHighResTimeStamp;\n readonly responseEnd: DOMHighResTimeStamp;\n readonly responseStart: DOMHighResTimeStamp;\n readonly secureConnectionStart: DOMHighResTimeStamp;\n readonly serverTiming: ReadonlyArray<PerformanceServerTiming>;\n readonly transferSize: number;\n readonly workerStart: DOMHighResTimeStamp;\n toJSON(): any;\n}\n\ndeclare var PerformanceResourceTiming: {\n prototype: PerformanceResourceTiming;\n new(): PerformanceResourceTiming;\n};\n\ninterface PerformanceServerTiming {\n readonly description: string;\n readonly duration: DOMHighResTimeStamp;\n readonly name: string;\n toJSON(): any;\n}\n\ndeclare var PerformanceServerTiming: {\n prototype: PerformanceServerTiming;\n new(): PerformanceServerTiming;\n};\n\n/**\n * A legacy interface kept for backwards compatibility and contains properties that offer performance timing information for various events which occur during the loading and use of the current page. You get a PerformanceTiming object describing your page using the window.performance.timing property.\n * @deprecated This interface is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.\n */\ninterface PerformanceTiming {\n /** @deprecated */\n readonly connectEnd: number;\n /** @deprecated */\n readonly connectStart: number;\n /** @deprecated */\n readonly domComplete: number;\n /** @deprecated */\n readonly domContentLoadedEventEnd: number;\n /** @deprecated */\n readonly domContentLoadedEventStart: number;\n /** @deprecated */\n readonly domInteractive: number;\n /** @deprecated */\n readonly domLoading: number;\n /** @deprecated */\n readonly domainLookupEnd: number;\n /** @deprecated */\n readonly domainLookupStart: number;\n /** @deprecated */\n readonly fetchStart: number;\n /** @deprecated */\n readonly loadEventEnd: number;\n /** @deprecated */\n readonly loadEventStart: number;\n /** @deprecated */\n readonly navigationStart: number;\n /** @deprecated */\n readonly redirectEnd: number;\n /** @deprecated */\n readonly redirectStart: number;\n /** @deprecated */\n readonly requestStart: number;\n /** @deprecated */\n readonly responseEnd: number;\n /** @deprecated */\n readonly responseStart: number;\n /** @deprecated */\n readonly secureConnectionStart: number;\n /** @deprecated */\n readonly unloadEventEnd: number;\n /** @deprecated */\n readonly unloadEventStart: number;\n /** @deprecated */\n toJSON(): any;\n}\n\n/** @deprecated */\ndeclare var PerformanceTiming: {\n prototype: PerformanceTiming;\n new(): PerformanceTiming;\n};\n\n/** PeriodicWave has no inputs or outputs; it is used to define custom oscillators when calling OscillatorNode.setPeriodicWave(). The PeriodicWave itself is created/returned by AudioContext.createPeriodicWave(). */\ninterface PeriodicWave {\n}\n\ndeclare var PeriodicWave: {\n prototype: PeriodicWave;\n new(context: BaseAudioContext, options?: PeriodicWaveOptions): PeriodicWave;\n};\n\ninterface PermissionStatusEventMap {\n "change": Event;\n}\n\ninterface PermissionStatus extends EventTarget {\n onchange: ((this: PermissionStatus, ev: Event) => any) | null;\n readonly state: PermissionState;\n addEventListener<K extends keyof PermissionStatusEventMap>(type: K, listener: (this: PermissionStatus, ev: PermissionStatusEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof PermissionStatusEventMap>(type: K, listener: (this: PermissionStatus, ev: PermissionStatusEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var PermissionStatus: {\n prototype: PermissionStatus;\n new(): PermissionStatus;\n};\n\ninterface Permissions {\n query(permissionDesc: PermissionDescriptor): Promise<PermissionStatus>;\n}\n\ndeclare var Permissions: {\n prototype: Permissions;\n new(): Permissions;\n};\n\ninterface PictureInPictureWindowEventMap {\n "resize": Event;\n}\n\ninterface PictureInPictureWindow extends EventTarget {\n readonly height: number;\n onresize: ((this: PictureInPictureWindow, ev: Event) => any) | null;\n readonly width: number;\n addEventListener<K extends keyof PictureInPictureWindowEventMap>(type: K, listener: (this: PictureInPictureWindow, ev: PictureInPictureWindowEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof PictureInPictureWindowEventMap>(type: K, listener: (this: PictureInPictureWindow, ev: PictureInPictureWindowEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var PictureInPictureWindow: {\n prototype: PictureInPictureWindow;\n new(): PictureInPictureWindow;\n};\n\n/**\n * Provides information about a browser plugin.\n * @deprecated\n */\ninterface Plugin {\n /**\n * Returns the plugin\'s description.\n * @deprecated\n */\n readonly description: string;\n /**\n * Returns the plugin library\'s filename, if applicable on the current platform.\n * @deprecated\n */\n readonly filename: string;\n /**\n * Returns the number of MIME types, represented by MimeType objects, supported by the plugin.\n * @deprecated\n */\n readonly length: number;\n /**\n * Returns the plugin\'s name.\n * @deprecated\n */\n readonly name: string;\n /**\n * Returns the specified MimeType object.\n * @deprecated\n */\n item(index: number): MimeType | null;\n /** @deprecated */\n namedItem(name: string): MimeType | null;\n [index: number]: MimeType;\n}\n\n/** @deprecated */\ndeclare var Plugin: {\n prototype: Plugin;\n new(): Plugin;\n};\n\n/**\n * Used to store a list of Plugin objects describing the available plugins; it\'s returned by the window.navigator.plugins property. The PluginArray is not a JavaScript array, but has the length property and supports accessing individual items using bracket notation (plugins[2]), as well as via item(index) and namedItem("name") methods.\n * @deprecated\n */\ninterface PluginArray {\n /** @deprecated */\n readonly length: number;\n /** @deprecated */\n item(index: number): Plugin | null;\n /** @deprecated */\n namedItem(name: string): Plugin | null;\n /** @deprecated */\n refresh(): void;\n [index: number]: Plugin;\n}\n\n/** @deprecated */\ndeclare var PluginArray: {\n prototype: PluginArray;\n new(): PluginArray;\n};\n\n/** The state of a DOM event produced by a pointer such as the geometry of the contact point, the device type that generated the event, the amount of pressure that was applied on the contact surface, etc. */\ninterface PointerEvent extends MouseEvent {\n readonly height: number;\n readonly isPrimary: boolean;\n readonly pointerId: number;\n readonly pointerType: string;\n readonly pressure: number;\n readonly tangentialPressure: number;\n readonly tiltX: number;\n readonly tiltY: number;\n readonly twist: number;\n readonly width: number;\n getCoalescedEvents(): PointerEvent[];\n getPredictedEvents(): PointerEvent[];\n}\n\ndeclare var PointerEvent: {\n prototype: PointerEvent;\n new(type: string, eventInitDict?: PointerEventInit): PointerEvent;\n};\n\n/** PopStateEvent is an event handler for the popstate event on the window. */\ninterface PopStateEvent extends Event {\n /**\n * Returns a copy of the information that was provided to pushState() or replaceState().\n */\n readonly state: any;\n}\n\ndeclare var PopStateEvent: {\n prototype: PopStateEvent;\n new(type: string, eventInitDict?: PopStateEventInit): PopStateEvent;\n};\n\n/** A processing instruction embeds application-specific instructions in XML which can be ignored by other applications that don\'t recognize them. */\ninterface ProcessingInstruction extends CharacterData, LinkStyle {\n readonly ownerDocument: Document;\n readonly target: string;\n}\n\ndeclare var ProcessingInstruction: {\n prototype: ProcessingInstruction;\n new(): ProcessingInstruction;\n};\n\n/** Events measuring progress of an underlying process, like an HTTP request (for an XMLHttpRequest, or the loading of the underlying resource of an <img>, <audio>, <video>, <style> or <link>). */\ninterface ProgressEvent<T extends EventTarget = EventTarget> extends Event {\n readonly lengthComputable: boolean;\n readonly loaded: number;\n readonly target: T | null;\n readonly total: number;\n}\n\ndeclare var ProgressEvent: {\n prototype: ProgressEvent;\n new(type: string, eventInitDict?: ProgressEventInit): ProgressEvent;\n};\n\ninterface PromiseRejectionEvent extends Event {\n readonly promise: Promise<any>;\n readonly reason: any;\n}\n\ndeclare var PromiseRejectionEvent: {\n prototype: PromiseRejectionEvent;\n new(type: string, eventInitDict: PromiseRejectionEventInit): PromiseRejectionEvent;\n};\n\ninterface PublicKeyCredential extends Credential {\n readonly rawId: ArrayBuffer;\n readonly response: AuthenticatorResponse;\n getClientExtensionResults(): AuthenticationExtensionsClientOutputs;\n}\n\ndeclare var PublicKeyCredential: {\n prototype: PublicKeyCredential;\n new(): PublicKeyCredential;\n isUserVerifyingPlatformAuthenticatorAvailable(): Promise<boolean>;\n};\n\n/** This Push API interface provides a way to receive notifications from third-party servers as well as request URLs for push notifications. */\ninterface PushManager {\n getSubscription(): Promise<PushSubscription | null>;\n permissionState(options?: PushSubscriptionOptionsInit): Promise<PushPermissionState>;\n subscribe(options?: PushSubscriptionOptionsInit): Promise<PushSubscription>;\n}\n\ndeclare var PushManager: {\n prototype: PushManager;\n new(): PushManager;\n readonly supportedContentEncodings: ReadonlyArray<string>;\n};\n\n/** This Push API interface provides a subcription\'s URL endpoint and allows unsubscription from a push service. */\ninterface PushSubscription {\n readonly endpoint: string;\n readonly options: PushSubscriptionOptions;\n getKey(name: PushEncryptionKeyName): ArrayBuffer | null;\n toJSON(): PushSubscriptionJSON;\n unsubscribe(): Promise<boolean>;\n}\n\ndeclare var PushSubscription: {\n prototype: PushSubscription;\n new(): PushSubscription;\n};\n\ninterface PushSubscriptionOptions {\n readonly applicationServerKey: ArrayBuffer | null;\n}\n\ndeclare var PushSubscriptionOptions: {\n prototype: PushSubscriptionOptions;\n new(): PushSubscriptionOptions;\n};\n\ninterface RTCCertificate {\n readonly expires: DOMTimeStamp;\n getFingerprints(): RTCDtlsFingerprint[];\n}\n\ndeclare var RTCCertificate: {\n prototype: RTCCertificate;\n new(): RTCCertificate;\n};\n\ninterface RTCDTMFSenderEventMap {\n "tonechange": RTCDTMFToneChangeEvent;\n}\n\ninterface RTCDTMFSender extends EventTarget {\n readonly canInsertDTMF: boolean;\n ontonechange: ((this: RTCDTMFSender, ev: RTCDTMFToneChangeEvent) => any) | null;\n readonly toneBuffer: string;\n insertDTMF(tones: string, duration?: number, interToneGap?: number): void;\n addEventListener<K extends keyof RTCDTMFSenderEventMap>(type: K, listener: (this: RTCDTMFSender, ev: RTCDTMFSenderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof RTCDTMFSenderEventMap>(type: K, listener: (this: RTCDTMFSender, ev: RTCDTMFSenderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RTCDTMFSender: {\n prototype: RTCDTMFSender;\n new(): RTCDTMFSender;\n};\n\n/** Events sent to indicate that DTMF tones have started or finished playing. This interface is used by the tonechange event. */\ninterface RTCDTMFToneChangeEvent extends Event {\n readonly tone: string;\n}\n\ndeclare var RTCDTMFToneChangeEvent: {\n prototype: RTCDTMFToneChangeEvent;\n new(type: string, eventInitDict?: RTCDTMFToneChangeEventInit): RTCDTMFToneChangeEvent;\n};\n\ninterface RTCDataChannelEventMap {\n "bufferedamountlow": Event;\n "close": Event;\n "error": Event;\n "message": MessageEvent;\n "open": Event;\n}\n\ninterface RTCDataChannel extends EventTarget {\n binaryType: BinaryType;\n readonly bufferedAmount: number;\n bufferedAmountLowThreshold: number;\n readonly id: number | null;\n readonly label: string;\n readonly maxPacketLifeTime: number | null;\n readonly maxRetransmits: number | null;\n readonly negotiated: boolean;\n onbufferedamountlow: ((this: RTCDataChannel, ev: Event) => any) | null;\n onclose: ((this: RTCDataChannel, ev: Event) => any) | null;\n onerror: ((this: RTCDataChannel, ev: Event) => any) | null;\n onmessage: ((this: RTCDataChannel, ev: MessageEvent) => any) | null;\n onopen: ((this: RTCDataChannel, ev: Event) => any) | null;\n readonly ordered: boolean;\n readonly protocol: string;\n readonly readyState: RTCDataChannelState;\n close(): void;\n send(data: string): void;\n send(data: Blob): void;\n send(data: ArrayBuffer): void;\n send(data: ArrayBufferView): void;\n addEventListener<K extends keyof RTCDataChannelEventMap>(type: K, listener: (this: RTCDataChannel, ev: RTCDataChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof RTCDataChannelEventMap>(type: K, listener: (this: RTCDataChannel, ev: RTCDataChannelEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RTCDataChannel: {\n prototype: RTCDataChannel;\n new(): RTCDataChannel;\n};\n\ninterface RTCDataChannelEvent extends Event {\n readonly channel: RTCDataChannel;\n}\n\ndeclare var RTCDataChannelEvent: {\n prototype: RTCDataChannelEvent;\n new(type: string, eventInitDict: RTCDataChannelEventInit): RTCDataChannelEvent;\n};\n\ninterface RTCDtlsTransportEventMap {\n "statechange": Event;\n}\n\ninterface RTCDtlsTransport extends EventTarget {\n onstatechange: ((this: RTCDtlsTransport, ev: Event) => any) | null;\n readonly state: RTCDtlsTransportState;\n addEventListener<K extends keyof RTCDtlsTransportEventMap>(type: K, listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof RTCDtlsTransportEventMap>(type: K, listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RTCDtlsTransport: {\n prototype: RTCDtlsTransport;\n new(): RTCDtlsTransport;\n};\n\n/** The RTCIceCandidate interface—part of the WebRTC API—represents a candidate Internet Connectivity Establishment (ICE) configuration which may be used to establish an RTCPeerConnection. */\ninterface RTCIceCandidate {\n readonly address: string | null;\n readonly candidate: string;\n readonly component: RTCIceComponent | null;\n readonly foundation: string | null;\n readonly port: number | null;\n readonly priority: number | null;\n readonly protocol: RTCIceProtocol | null;\n readonly relatedAddress: string | null;\n readonly relatedPort: number | null;\n readonly sdpMLineIndex: number | null;\n readonly sdpMid: string | null;\n readonly tcpType: RTCIceTcpCandidateType | null;\n readonly type: RTCIceCandidateType | null;\n readonly usernameFragment: string | null;\n toJSON(): RTCIceCandidateInit;\n}\n\ndeclare var RTCIceCandidate: {\n prototype: RTCIceCandidate;\n new(candidateInitDict?: RTCIceCandidateInit): RTCIceCandidate;\n};\n\n/** Provides access to information about the ICE transport layer over which the data is being sent and received. */\ninterface RTCIceTransport extends EventTarget {\n readonly gatheringState: RTCIceGathererState;\n readonly state: RTCIceTransportState;\n}\n\ndeclare var RTCIceTransport: {\n prototype: RTCIceTransport;\n new(): RTCIceTransport;\n};\n\ninterface RTCPeerConnectionEventMap {\n "connectionstatechange": Event;\n "datachannel": RTCDataChannelEvent;\n "icecandidate": RTCPeerConnectionIceEvent;\n "icecandidateerror": Event;\n "iceconnectionstatechange": Event;\n "icegatheringstatechange": Event;\n "negotiationneeded": Event;\n "signalingstatechange": Event;\n "track": RTCTrackEvent;\n}\n\n/** A WebRTC connection between the local computer and a remote peer. It provides methods to connect to a remote peer, maintain and monitor the connection, and close the connection once it\'s no longer needed. */\ninterface RTCPeerConnection extends EventTarget {\n readonly canTrickleIceCandidates: boolean | null;\n readonly connectionState: RTCPeerConnectionState;\n readonly currentLocalDescription: RTCSessionDescription | null;\n readonly currentRemoteDescription: RTCSessionDescription | null;\n readonly iceConnectionState: RTCIceConnectionState;\n readonly iceGatheringState: RTCIceGatheringState;\n readonly localDescription: RTCSessionDescription | null;\n onconnectionstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;\n ondatachannel: ((this: RTCPeerConnection, ev: RTCDataChannelEvent) => any) | null;\n onicecandidate: ((this: RTCPeerConnection, ev: RTCPeerConnectionIceEvent) => any) | null;\n onicecandidateerror: ((this: RTCPeerConnection, ev: Event) => any) | null;\n oniceconnectionstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;\n onicegatheringstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;\n onnegotiationneeded: ((this: RTCPeerConnection, ev: Event) => any) | null;\n onsignalingstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;\n ontrack: ((this: RTCPeerConnection, ev: RTCTrackEvent) => any) | null;\n readonly pendingLocalDescription: RTCSessionDescription | null;\n readonly pendingRemoteDescription: RTCSessionDescription | null;\n readonly remoteDescription: RTCSessionDescription | null;\n readonly signalingState: RTCSignalingState;\n addIceCandidate(candidate?: RTCIceCandidateInit): Promise<void>;\n /** @deprecated */\n addIceCandidate(candidate: RTCIceCandidateInit, successCallback: VoidFunction, failureCallback: RTCPeerConnectionErrorCallback): Promise<void>;\n addTrack(track: MediaStreamTrack, ...streams: MediaStream[]): RTCRtpSender;\n addTransceiver(trackOrKind: MediaStreamTrack | string, init?: RTCRtpTransceiverInit): RTCRtpTransceiver;\n close(): void;\n createAnswer(options?: RTCAnswerOptions): Promise<RTCSessionDescriptionInit>;\n /** @deprecated */\n createAnswer(successCallback: RTCSessionDescriptionCallback, failureCallback: RTCPeerConnectionErrorCallback): Promise<void>;\n createDataChannel(label: string, dataChannelDict?: RTCDataChannelInit): RTCDataChannel;\n createOffer(options?: RTCOfferOptions): Promise<RTCSessionDescriptionInit>;\n /** @deprecated */\n createOffer(successCallback: RTCSessionDescriptionCallback, failureCallback: RTCPeerConnectionErrorCallback, options?: RTCOfferOptions): Promise<void>;\n getConfiguration(): RTCConfiguration;\n getReceivers(): RTCRtpReceiver[];\n getSenders(): RTCRtpSender[];\n getStats(selector?: MediaStreamTrack | null): Promise<RTCStatsReport>;\n getTransceivers(): RTCRtpTransceiver[];\n removeTrack(sender: RTCRtpSender): void;\n restartIce(): void;\n setConfiguration(configuration?: RTCConfiguration): void;\n setLocalDescription(description?: RTCLocalSessionDescriptionInit): Promise<void>;\n /** @deprecated */\n setLocalDescription(description: RTCLocalSessionDescriptionInit, successCallback: VoidFunction, failureCallback: RTCPeerConnectionErrorCallback): Promise<void>;\n setRemoteDescription(description: RTCSessionDescriptionInit): Promise<void>;\n /** @deprecated */\n setRemoteDescription(description: RTCSessionDescriptionInit, successCallback: VoidFunction, failureCallback: RTCPeerConnectionErrorCallback): Promise<void>;\n addEventListener<K extends keyof RTCPeerConnectionEventMap>(type: K, listener: (this: RTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof RTCPeerConnectionEventMap>(type: K, listener: (this: RTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RTCPeerConnection: {\n prototype: RTCPeerConnection;\n new(configuration?: RTCConfiguration): RTCPeerConnection;\n generateCertificate(keygenAlgorithm: AlgorithmIdentifier): Promise<RTCCertificate>;\n};\n\ninterface RTCPeerConnectionIceErrorEvent extends Event {\n readonly address: string | null;\n readonly errorCode: number;\n readonly errorText: string;\n readonly port: number | null;\n readonly url: string;\n}\n\ndeclare var RTCPeerConnectionIceErrorEvent: {\n prototype: RTCPeerConnectionIceErrorEvent;\n new(type: string, eventInitDict: RTCPeerConnectionIceErrorEventInit): RTCPeerConnectionIceErrorEvent;\n};\n\n/** Events that occurs in relation to ICE candidates with the target, usually an RTCPeerConnection. Only one event is of this type: icecandidate. */\ninterface RTCPeerConnectionIceEvent extends Event {\n readonly candidate: RTCIceCandidate | null;\n}\n\ndeclare var RTCPeerConnectionIceEvent: {\n prototype: RTCPeerConnectionIceEvent;\n new(type: string, eventInitDict?: RTCPeerConnectionIceEventInit): RTCPeerConnectionIceEvent;\n};\n\n/** This WebRTC API interface manages the reception and decoding of data for a MediaStreamTrack on an RTCPeerConnection. */\ninterface RTCRtpReceiver {\n readonly track: MediaStreamTrack;\n readonly transport: RTCDtlsTransport | null;\n getContributingSources(): RTCRtpContributingSource[];\n getParameters(): RTCRtpReceiveParameters;\n getStats(): Promise<RTCStatsReport>;\n getSynchronizationSources(): RTCRtpSynchronizationSource[];\n}\n\ndeclare var RTCRtpReceiver: {\n prototype: RTCRtpReceiver;\n new(): RTCRtpReceiver;\n getCapabilities(kind: string): RTCRtpCapabilities | null;\n};\n\n/** Provides the ability to control and obtain details about how a particular MediaStreamTrack is encoded and sent to a remote peer. */\ninterface RTCRtpSender {\n readonly dtmf: RTCDTMFSender | null;\n readonly track: MediaStreamTrack | null;\n readonly transport: RTCDtlsTransport | null;\n getParameters(): RTCRtpSendParameters;\n getStats(): Promise<RTCStatsReport>;\n replaceTrack(withTrack: MediaStreamTrack | null): Promise<void>;\n setParameters(parameters: RTCRtpSendParameters): Promise<void>;\n setStreams(...streams: MediaStream[]): void;\n}\n\ndeclare var RTCRtpSender: {\n prototype: RTCRtpSender;\n new(): RTCRtpSender;\n getCapabilities(kind: string): RTCRtpCapabilities | null;\n};\n\ninterface RTCRtpTransceiver {\n readonly currentDirection: RTCRtpTransceiverDirection | null;\n direction: RTCRtpTransceiverDirection;\n readonly mid: string | null;\n readonly receiver: RTCRtpReceiver;\n readonly sender: RTCRtpSender;\n stop(): void;\n}\n\ndeclare var RTCRtpTransceiver: {\n prototype: RTCRtpTransceiver;\n new(): RTCRtpTransceiver;\n};\n\n/** One end of a connection—or potential connection—and how it\'s configured. Each RTCSessionDescription consists of a description type indicating which part of the offer/answer negotiation process it describes and of the SDP descriptor of the session. */\ninterface RTCSessionDescription {\n readonly sdp: string;\n readonly type: RTCSdpType;\n toJSON(): any;\n}\n\ndeclare var RTCSessionDescription: {\n prototype: RTCSessionDescription;\n new(descriptionInitDict: RTCSessionDescriptionInit): RTCSessionDescription;\n};\n\ninterface RTCStatsReport {\n forEach(callbackfn: (value: any, key: string, parent: RTCStatsReport) => void, thisArg?: any): void;\n}\n\ndeclare var RTCStatsReport: {\n prototype: RTCStatsReport;\n new(): RTCStatsReport;\n};\n\ninterface RTCTrackEvent extends Event {\n readonly receiver: RTCRtpReceiver;\n readonly streams: ReadonlyArray<MediaStream>;\n readonly track: MediaStreamTrack;\n readonly transceiver: RTCRtpTransceiver;\n}\n\ndeclare var RTCTrackEvent: {\n prototype: RTCTrackEvent;\n new(type: string, eventInitDict: RTCTrackEventInit): RTCTrackEvent;\n};\n\ninterface RadioNodeList extends NodeList {\n value: string;\n}\n\ndeclare var RadioNodeList: {\n prototype: RadioNodeList;\n new(): RadioNodeList;\n};\n\n/** A fragment of a document that can contain nodes and parts of text nodes. */\ninterface Range extends AbstractRange {\n /**\n * Returns the node, furthest away from the document, that is an ancestor of both range\'s start node and end node.\n */\n readonly commonAncestorContainer: Node;\n cloneContents(): DocumentFragment;\n cloneRange(): Range;\n collapse(toStart?: boolean): void;\n compareBoundaryPoints(how: number, sourceRange: Range): number;\n /**\n * Returns 1 if the point is before the range, 0 if the point is in the range, and 1 if the point is after the range.\n */\n comparePoint(node: Node, offset: number): number;\n createContextualFragment(fragment: string): DocumentFragment;\n deleteContents(): void;\n detach(): void;\n extractContents(): DocumentFragment;\n getBoundingClientRect(): DOMRect;\n getClientRects(): DOMRectList;\n insertNode(node: Node): void;\n /**\n * Returns whether range intersects node.\n */\n intersectsNode(node: Node): boolean;\n isPointInRange(node: Node, offset: number): boolean;\n selectNode(node: Node): void;\n selectNodeContents(node: Node): void;\n setEnd(node: Node, offset: number): void;\n setEndAfter(node: Node): void;\n setEndBefore(node: Node): void;\n setStart(node: Node, offset: number): void;\n setStartAfter(node: Node): void;\n setStartBefore(node: Node): void;\n surroundContents(newParent: Node): void;\n toString(): string;\n readonly END_TO_END: number;\n readonly END_TO_START: number;\n readonly START_TO_END: number;\n readonly START_TO_START: number;\n}\n\ndeclare var Range: {\n prototype: Range;\n new(): Range;\n readonly END_TO_END: number;\n readonly END_TO_START: number;\n readonly START_TO_END: number;\n readonly START_TO_START: number;\n toString(): string;\n};\n\n/** This Streams API interface represents a readable stream of byte data. The Fetch API offers a concrete instance of a ReadableStream through the body property of a Response object. */\ninterface ReadableStream<R = any> {\n readonly locked: boolean;\n cancel(reason?: any): Promise<void>;\n getReader(): ReadableStreamDefaultReader<R>;\n pipeThrough<T>(transform: ReadableWritablePair<T, R>, options?: StreamPipeOptions): ReadableStream<T>;\n pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;\n tee(): [ReadableStream<R>, ReadableStream<R>];\n forEach(callbackfn: (value: any, key: number, parent: ReadableStream<R>) => void, thisArg?: any): void;\n}\n\ndeclare var ReadableStream: {\n prototype: ReadableStream;\n new<R = any>(underlyingSource?: UnderlyingSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;\n};\n\ninterface ReadableStreamDefaultController<R = any> {\n readonly desiredSize: number | null;\n close(): void;\n enqueue(chunk?: R): void;\n error(e?: any): void;\n}\n\ndeclare var ReadableStreamDefaultController: {\n prototype: ReadableStreamDefaultController;\n new(): ReadableStreamDefaultController;\n};\n\ninterface ReadableStreamDefaultReader<R = any> extends ReadableStreamGenericReader {\n read(): Promise<ReadableStreamDefaultReadResult<R>>;\n releaseLock(): void;\n}\n\ndeclare var ReadableStreamDefaultReader: {\n prototype: ReadableStreamDefaultReader;\n new<R = any>(stream: ReadableStream<R>): ReadableStreamDefaultReader<R>;\n};\n\ninterface ReadableStreamGenericReader {\n readonly closed: Promise<undefined>;\n cancel(reason?: any): Promise<void>;\n}\n\ninterface RemotePlaybackEventMap {\n "connect": Event;\n "connecting": Event;\n "disconnect": Event;\n}\n\ninterface RemotePlayback extends EventTarget {\n onconnect: ((this: RemotePlayback, ev: Event) => any) | null;\n onconnecting: ((this: RemotePlayback, ev: Event) => any) | null;\n ondisconnect: ((this: RemotePlayback, ev: Event) => any) | null;\n readonly state: RemotePlaybackState;\n cancelWatchAvailability(id?: number): Promise<void>;\n prompt(): Promise<void>;\n watchAvailability(callback: RemotePlaybackAvailabilityCallback): Promise<number>;\n addEventListener<K extends keyof RemotePlaybackEventMap>(type: K, listener: (this: RemotePlayback, ev: RemotePlaybackEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof RemotePlaybackEventMap>(type: K, listener: (this: RemotePlayback, ev: RemotePlaybackEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RemotePlayback: {\n prototype: RemotePlayback;\n new(): RemotePlayback;\n};\n\n/** This Fetch API interface represents a resource request. */\ninterface Request extends Body {\n /**\n * Returns the cache mode associated with request, which is a string indicating how the request will interact with the browser\'s cache when fetching.\n */\n readonly cache: RequestCache;\n /**\n * Returns the credentials mode associated with request, which is a string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL.\n */\n readonly credentials: RequestCredentials;\n /**\n * Returns the kind of resource requested by request, e.g., "document" or "script".\n */\n readonly destination: RequestDestination;\n /**\n * Returns a Headers object consisting of the headers associated with request. Note that headers added in the network layer by the user agent will not be accounted for in this object, e.g., the "Host" header.\n */\n readonly headers: Headers;\n /**\n * Returns request\'s subresource integrity metadata, which is a cryptographic hash of the resource being fetched. Its value consists of multiple hashes separated by whitespace. [SRI]\n */\n readonly integrity: string;\n /**\n * Returns a boolean indicating whether or not request can outlive the global in which it was created.\n */\n readonly keepalive: boolean;\n /**\n * Returns request\'s HTTP method, which is "GET" by default.\n */\n readonly method: string;\n /**\n * Returns the mode associated with request, which is a string indicating whether the request will use CORS, or will be restricted to same-origin URLs.\n */\n readonly mode: RequestMode;\n /**\n * Returns the redirect mode associated with request, which is a string indicating how redirects for the request will be handled during fetching. A request will follow redirects by default.\n */\n readonly redirect: RequestRedirect;\n /**\n * Returns the referrer of request. Its value can be a same-origin URL if explicitly set in init, the empty string to indicate no referrer, and "about:client" when defaulting to the global\'s default. This is used during fetching to determine the value of the `Referer` header of the request being made.\n */\n readonly referrer: string;\n /**\n * Returns the referrer policy associated with request. This is used during fetching to compute the value of the request\'s referrer.\n */\n readonly referrerPolicy: ReferrerPolicy;\n /**\n * Returns the signal associated with request, which is an AbortSignal object indicating whether or not request has been aborted, and its abort event handler.\n */\n readonly signal: AbortSignal;\n /**\n * Returns the URL of request as a string.\n */\n readonly url: string;\n clone(): Request;\n}\n\ndeclare var Request: {\n prototype: Request;\n new(input: RequestInfo, init?: RequestInit): Request;\n};\n\ninterface ResizeObserver {\n disconnect(): void;\n observe(target: Element, options?: ResizeObserverOptions): void;\n unobserve(target: Element): void;\n}\n\ndeclare var ResizeObserver: {\n prototype: ResizeObserver;\n new(callback: ResizeObserverCallback): ResizeObserver;\n};\n\ninterface ResizeObserverEntry {\n readonly borderBoxSize: ReadonlyArray<ResizeObserverSize>;\n readonly contentBoxSize: ReadonlyArray<ResizeObserverSize>;\n readonly contentRect: DOMRectReadOnly;\n readonly target: Element;\n}\n\ndeclare var ResizeObserverEntry: {\n prototype: ResizeObserverEntry;\n new(): ResizeObserverEntry;\n};\n\ninterface ResizeObserverSize {\n readonly blockSize: number;\n readonly inlineSize: number;\n}\n\ndeclare var ResizeObserverSize: {\n prototype: ResizeObserverSize;\n new(): ResizeObserverSize;\n};\n\n/** This Fetch API interface represents the response to a request. */\ninterface Response extends Body {\n readonly headers: Headers;\n readonly ok: boolean;\n readonly redirected: boolean;\n readonly status: number;\n readonly statusText: string;\n readonly type: ResponseType;\n readonly url: string;\n clone(): Response;\n}\n\ndeclare var Response: {\n prototype: Response;\n new(body?: BodyInit | null, init?: ResponseInit): Response;\n error(): Response;\n redirect(url: string | URL, status?: number): Response;\n};\n\n/** Provides access to the properties of <a> element, as well as methods to manipulate them. */\ninterface SVGAElement extends SVGGraphicsElement, SVGURIReference {\n rel: string;\n readonly relList: DOMTokenList;\n readonly target: SVGAnimatedString;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGAElement: {\n prototype: SVGAElement;\n new(): SVGAElement;\n};\n\n/** Used to represent a value that can be an <angle> or <number> value. An SVGAngle reflected through the animVal attribute is always read only. */\ninterface SVGAngle {\n readonly unitType: number;\n value: number;\n valueAsString: string;\n valueInSpecifiedUnits: number;\n convertToSpecifiedUnits(unitType: number): void;\n newValueSpecifiedUnits(unitType: number, valueInSpecifiedUnits: number): void;\n readonly SVG_ANGLETYPE_DEG: number;\n readonly SVG_ANGLETYPE_GRAD: number;\n readonly SVG_ANGLETYPE_RAD: number;\n readonly SVG_ANGLETYPE_UNKNOWN: number;\n readonly SVG_ANGLETYPE_UNSPECIFIED: number;\n}\n\ndeclare var SVGAngle: {\n prototype: SVGAngle;\n new(): SVGAngle;\n readonly SVG_ANGLETYPE_DEG: number;\n readonly SVG_ANGLETYPE_GRAD: number;\n readonly SVG_ANGLETYPE_RAD: number;\n readonly SVG_ANGLETYPE_UNKNOWN: number;\n readonly SVG_ANGLETYPE_UNSPECIFIED: number;\n};\n\ninterface SVGAnimateElement extends SVGAnimationElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimateElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimateElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGAnimateElement: {\n prototype: SVGAnimateElement;\n new(): SVGAnimateElement;\n};\n\ninterface SVGAnimateMotionElement extends SVGAnimationElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimateMotionElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimateMotionElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGAnimateMotionElement: {\n prototype: SVGAnimateMotionElement;\n new(): SVGAnimateMotionElement;\n};\n\ninterface SVGAnimateTransformElement extends SVGAnimationElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimateTransformElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimateTransformElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGAnimateTransformElement: {\n prototype: SVGAnimateTransformElement;\n new(): SVGAnimateTransformElement;\n};\n\n/** Used for attributes of basic type <angle> which can be animated. */\ninterface SVGAnimatedAngle {\n readonly animVal: SVGAngle;\n readonly baseVal: SVGAngle;\n}\n\ndeclare var SVGAnimatedAngle: {\n prototype: SVGAnimatedAngle;\n new(): SVGAnimatedAngle;\n};\n\n/** Used for attributes of type boolean which can be animated. */\ninterface SVGAnimatedBoolean {\n readonly animVal: boolean;\n baseVal: boolean;\n}\n\ndeclare var SVGAnimatedBoolean: {\n prototype: SVGAnimatedBoolean;\n new(): SVGAnimatedBoolean;\n};\n\n/** Used for attributes whose value must be a constant from a particular enumeration and which can be animated. */\ninterface SVGAnimatedEnumeration {\n readonly animVal: number;\n baseVal: number;\n}\n\ndeclare var SVGAnimatedEnumeration: {\n prototype: SVGAnimatedEnumeration;\n new(): SVGAnimatedEnumeration;\n};\n\n/** Used for attributes of basic type <integer> which can be animated. */\ninterface SVGAnimatedInteger {\n readonly animVal: number;\n baseVal: number;\n}\n\ndeclare var SVGAnimatedInteger: {\n prototype: SVGAnimatedInteger;\n new(): SVGAnimatedInteger;\n};\n\n/** Used for attributes of basic type <length> which can be animated. */\ninterface SVGAnimatedLength {\n readonly animVal: SVGLength;\n readonly baseVal: SVGLength;\n}\n\ndeclare var SVGAnimatedLength: {\n prototype: SVGAnimatedLength;\n new(): SVGAnimatedLength;\n};\n\n/** Used for attributes of type SVGLengthList which can be animated. */\ninterface SVGAnimatedLengthList {\n readonly animVal: SVGLengthList;\n readonly baseVal: SVGLengthList;\n}\n\ndeclare var SVGAnimatedLengthList: {\n prototype: SVGAnimatedLengthList;\n new(): SVGAnimatedLengthList;\n};\n\n/** Used for attributes of basic type <Number> which can be animated. */\ninterface SVGAnimatedNumber {\n readonly animVal: number;\n baseVal: number;\n}\n\ndeclare var SVGAnimatedNumber: {\n prototype: SVGAnimatedNumber;\n new(): SVGAnimatedNumber;\n};\n\n/** The SVGAnimatedNumber interface is used for attributes which take a list of numbers and which can be animated. */\ninterface SVGAnimatedNumberList {\n readonly animVal: SVGNumberList;\n readonly baseVal: SVGNumberList;\n}\n\ndeclare var SVGAnimatedNumberList: {\n prototype: SVGAnimatedNumberList;\n new(): SVGAnimatedNumberList;\n};\n\ninterface SVGAnimatedPoints {\n readonly animatedPoints: SVGPointList;\n readonly points: SVGPointList;\n}\n\n/** Used for attributes of type SVGPreserveAspectRatio which can be animated. */\ninterface SVGAnimatedPreserveAspectRatio {\n readonly animVal: SVGPreserveAspectRatio;\n readonly baseVal: SVGPreserveAspectRatio;\n}\n\ndeclare var SVGAnimatedPreserveAspectRatio: {\n prototype: SVGAnimatedPreserveAspectRatio;\n new(): SVGAnimatedPreserveAspectRatio;\n};\n\n/** Used for attributes of basic SVGRect which can be animated. */\ninterface SVGAnimatedRect {\n readonly animVal: DOMRectReadOnly;\n readonly baseVal: DOMRect;\n}\n\ndeclare var SVGAnimatedRect: {\n prototype: SVGAnimatedRect;\n new(): SVGAnimatedRect;\n};\n\n/** The SVGAnimatedString interface represents string attributes which can be animated from each SVG declaration. You need to create SVG attribute before doing anything else, everything should be declared inside this. */\ninterface SVGAnimatedString {\n readonly animVal: string;\n baseVal: string;\n}\n\ndeclare var SVGAnimatedString: {\n prototype: SVGAnimatedString;\n new(): SVGAnimatedString;\n};\n\n/** Used for attributes which take a list of numbers and which can be animated. */\ninterface SVGAnimatedTransformList {\n readonly animVal: SVGTransformList;\n readonly baseVal: SVGTransformList;\n}\n\ndeclare var SVGAnimatedTransformList: {\n prototype: SVGAnimatedTransformList;\n new(): SVGAnimatedTransformList;\n};\n\ninterface SVGAnimationElement extends SVGElement, SVGTests {\n readonly targetElement: SVGElement | null;\n beginElement(): void;\n beginElementAt(offset: number): void;\n endElement(): void;\n endElementAt(offset: number): void;\n getCurrentTime(): number;\n getSimpleDuration(): number;\n getStartTime(): number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimationElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimationElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGAnimationElement: {\n prototype: SVGAnimationElement;\n new(): SVGAnimationElement;\n};\n\n/** An interface for the <circle> element. The circle element is defined by the cx and cy attributes that denote the coordinates of the centre of the circle. */\ninterface SVGCircleElement extends SVGGeometryElement {\n readonly cx: SVGAnimatedLength;\n readonly cy: SVGAnimatedLength;\n readonly r: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGCircleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGCircleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGCircleElement: {\n prototype: SVGCircleElement;\n new(): SVGCircleElement;\n};\n\n/** Provides access to the properties of <clipPath> elements, as well as methods to manipulate them. */\ninterface SVGClipPathElement extends SVGElement {\n readonly clipPathUnits: SVGAnimatedEnumeration;\n readonly transform: SVGAnimatedTransformList;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGClipPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGClipPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGClipPathElement: {\n prototype: SVGClipPathElement;\n new(): SVGClipPathElement;\n};\n\n/** A base interface used by the component transfer function interfaces. */\ninterface SVGComponentTransferFunctionElement extends SVGElement {\n readonly amplitude: SVGAnimatedNumber;\n readonly exponent: SVGAnimatedNumber;\n readonly intercept: SVGAnimatedNumber;\n readonly offset: SVGAnimatedNumber;\n readonly slope: SVGAnimatedNumber;\n readonly tableValues: SVGAnimatedNumberList;\n readonly type: SVGAnimatedEnumeration;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE: number;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_GAMMA: number;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: number;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_LINEAR: number;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_TABLE: number;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGComponentTransferFunctionElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGComponentTransferFunctionElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGComponentTransferFunctionElement: {\n prototype: SVGComponentTransferFunctionElement;\n new(): SVGComponentTransferFunctionElement;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE: number;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_GAMMA: number;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: number;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_LINEAR: number;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_TABLE: number;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN: number;\n};\n\n/** Corresponds to the <defs> element. */\ninterface SVGDefsElement extends SVGGraphicsElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGDefsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGDefsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGDefsElement: {\n prototype: SVGDefsElement;\n new(): SVGDefsElement;\n};\n\n/** Corresponds to the <desc> element. */\ninterface SVGDescElement extends SVGElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGDescElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGDescElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGDescElement: {\n prototype: SVGDescElement;\n new(): SVGDescElement;\n};\n\ninterface SVGElementEventMap extends ElementEventMap, DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap {\n}\n\n/** All of the SVG DOM interfaces that correspond directly to elements in the SVG language derive from the SVGElement interface. */\ninterface SVGElement extends Element, DocumentAndElementEventHandlers, DocumentAndElementEventHandlers, ElementCSSInlineStyle, GlobalEventHandlers, GlobalEventHandlers, HTMLOrSVGElement {\n /** @deprecated */\n readonly className: any;\n readonly ownerSVGElement: SVGSVGElement | null;\n readonly viewportElement: SVGElement | null;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGElement: {\n prototype: SVGElement;\n new(): SVGElement;\n};\n\n/** Provides access to the properties of <ellipse> elements. */\ninterface SVGEllipseElement extends SVGGeometryElement {\n readonly cx: SVGAnimatedLength;\n readonly cy: SVGAnimatedLength;\n readonly rx: SVGAnimatedLength;\n readonly ry: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGEllipseElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGEllipseElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGEllipseElement: {\n prototype: SVGEllipseElement;\n new(): SVGEllipseElement;\n};\n\n/** Corresponds to the <feBlend> element. */\ninterface SVGFEBlendElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly in1: SVGAnimatedString;\n readonly in2: SVGAnimatedString;\n readonly mode: SVGAnimatedEnumeration;\n readonly SVG_FEBLEND_MODE_COLOR: number;\n readonly SVG_FEBLEND_MODE_COLOR_BURN: number;\n readonly SVG_FEBLEND_MODE_COLOR_DODGE: number;\n readonly SVG_FEBLEND_MODE_DARKEN: number;\n readonly SVG_FEBLEND_MODE_DIFFERENCE: number;\n readonly SVG_FEBLEND_MODE_EXCLUSION: number;\n readonly SVG_FEBLEND_MODE_HARD_LIGHT: number;\n readonly SVG_FEBLEND_MODE_HUE: number;\n readonly SVG_FEBLEND_MODE_LIGHTEN: number;\n readonly SVG_FEBLEND_MODE_LUMINOSITY: number;\n readonly SVG_FEBLEND_MODE_MULTIPLY: number;\n readonly SVG_FEBLEND_MODE_NORMAL: number;\n readonly SVG_FEBLEND_MODE_OVERLAY: number;\n readonly SVG_FEBLEND_MODE_SATURATION: number;\n readonly SVG_FEBLEND_MODE_SCREEN: number;\n readonly SVG_FEBLEND_MODE_SOFT_LIGHT: number;\n readonly SVG_FEBLEND_MODE_UNKNOWN: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEBlendElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEBlendElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEBlendElement: {\n prototype: SVGFEBlendElement;\n new(): SVGFEBlendElement;\n readonly SVG_FEBLEND_MODE_COLOR: number;\n readonly SVG_FEBLEND_MODE_COLOR_BURN: number;\n readonly SVG_FEBLEND_MODE_COLOR_DODGE: number;\n readonly SVG_FEBLEND_MODE_DARKEN: number;\n readonly SVG_FEBLEND_MODE_DIFFERENCE: number;\n readonly SVG_FEBLEND_MODE_EXCLUSION: number;\n readonly SVG_FEBLEND_MODE_HARD_LIGHT: number;\n readonly SVG_FEBLEND_MODE_HUE: number;\n readonly SVG_FEBLEND_MODE_LIGHTEN: number;\n readonly SVG_FEBLEND_MODE_LUMINOSITY: number;\n readonly SVG_FEBLEND_MODE_MULTIPLY: number;\n readonly SVG_FEBLEND_MODE_NORMAL: number;\n readonly SVG_FEBLEND_MODE_OVERLAY: number;\n readonly SVG_FEBLEND_MODE_SATURATION: number;\n readonly SVG_FEBLEND_MODE_SCREEN: number;\n readonly SVG_FEBLEND_MODE_SOFT_LIGHT: number;\n readonly SVG_FEBLEND_MODE_UNKNOWN: number;\n};\n\n/** Corresponds to the <feColorMatrix> element. */\ninterface SVGFEColorMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly in1: SVGAnimatedString;\n readonly type: SVGAnimatedEnumeration;\n readonly values: SVGAnimatedNumberList;\n readonly SVG_FECOLORMATRIX_TYPE_HUEROTATE: number;\n readonly SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: number;\n readonly SVG_FECOLORMATRIX_TYPE_MATRIX: number;\n readonly SVG_FECOLORMATRIX_TYPE_SATURATE: number;\n readonly SVG_FECOLORMATRIX_TYPE_UNKNOWN: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEColorMatrixElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEColorMatrixElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEColorMatrixElement: {\n prototype: SVGFEColorMatrixElement;\n new(): SVGFEColorMatrixElement;\n readonly SVG_FECOLORMATRIX_TYPE_HUEROTATE: number;\n readonly SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: number;\n readonly SVG_FECOLORMATRIX_TYPE_MATRIX: number;\n readonly SVG_FECOLORMATRIX_TYPE_SATURATE: number;\n readonly SVG_FECOLORMATRIX_TYPE_UNKNOWN: number;\n};\n\n/** Corresponds to the <feComponentTransfer> element. */\ninterface SVGFEComponentTransferElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly in1: SVGAnimatedString;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEComponentTransferElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEComponentTransferElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEComponentTransferElement: {\n prototype: SVGFEComponentTransferElement;\n new(): SVGFEComponentTransferElement;\n};\n\n/** Corresponds to the <feComposite> element. */\ninterface SVGFECompositeElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly in1: SVGAnimatedString;\n readonly in2: SVGAnimatedString;\n readonly k1: SVGAnimatedNumber;\n readonly k2: SVGAnimatedNumber;\n readonly k3: SVGAnimatedNumber;\n readonly k4: SVGAnimatedNumber;\n readonly operator: SVGAnimatedEnumeration;\n readonly SVG_FECOMPOSITE_OPERATOR_ARITHMETIC: number;\n readonly SVG_FECOMPOSITE_OPERATOR_ATOP: number;\n readonly SVG_FECOMPOSITE_OPERATOR_IN: number;\n readonly SVG_FECOMPOSITE_OPERATOR_OUT: number;\n readonly SVG_FECOMPOSITE_OPERATOR_OVER: number;\n readonly SVG_FECOMPOSITE_OPERATOR_UNKNOWN: number;\n readonly SVG_FECOMPOSITE_OPERATOR_XOR: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFECompositeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFECompositeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFECompositeElement: {\n prototype: SVGFECompositeElement;\n new(): SVGFECompositeElement;\n readonly SVG_FECOMPOSITE_OPERATOR_ARITHMETIC: number;\n readonly SVG_FECOMPOSITE_OPERATOR_ATOP: number;\n readonly SVG_FECOMPOSITE_OPERATOR_IN: number;\n readonly SVG_FECOMPOSITE_OPERATOR_OUT: number;\n readonly SVG_FECOMPOSITE_OPERATOR_OVER: number;\n readonly SVG_FECOMPOSITE_OPERATOR_UNKNOWN: number;\n readonly SVG_FECOMPOSITE_OPERATOR_XOR: number;\n};\n\n/** Corresponds to the <feConvolveMatrix> element. */\ninterface SVGFEConvolveMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly bias: SVGAnimatedNumber;\n readonly divisor: SVGAnimatedNumber;\n readonly edgeMode: SVGAnimatedEnumeration;\n readonly in1: SVGAnimatedString;\n readonly kernelMatrix: SVGAnimatedNumberList;\n readonly kernelUnitLengthX: SVGAnimatedNumber;\n readonly kernelUnitLengthY: SVGAnimatedNumber;\n readonly orderX: SVGAnimatedInteger;\n readonly orderY: SVGAnimatedInteger;\n readonly preserveAlpha: SVGAnimatedBoolean;\n readonly targetX: SVGAnimatedInteger;\n readonly targetY: SVGAnimatedInteger;\n readonly SVG_EDGEMODE_DUPLICATE: number;\n readonly SVG_EDGEMODE_NONE: number;\n readonly SVG_EDGEMODE_UNKNOWN: number;\n readonly SVG_EDGEMODE_WRAP: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEConvolveMatrixElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEConvolveMatrixElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEConvolveMatrixElement: {\n prototype: SVGFEConvolveMatrixElement;\n new(): SVGFEConvolveMatrixElement;\n readonly SVG_EDGEMODE_DUPLICATE: number;\n readonly SVG_EDGEMODE_NONE: number;\n readonly SVG_EDGEMODE_UNKNOWN: number;\n readonly SVG_EDGEMODE_WRAP: number;\n};\n\n/** Corresponds to the <feDiffuseLighting> element. */\ninterface SVGFEDiffuseLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly diffuseConstant: SVGAnimatedNumber;\n readonly in1: SVGAnimatedString;\n readonly kernelUnitLengthX: SVGAnimatedNumber;\n readonly kernelUnitLengthY: SVGAnimatedNumber;\n readonly surfaceScale: SVGAnimatedNumber;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDiffuseLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDiffuseLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEDiffuseLightingElement: {\n prototype: SVGFEDiffuseLightingElement;\n new(): SVGFEDiffuseLightingElement;\n};\n\n/** Corresponds to the <feDisplacementMap> element. */\ninterface SVGFEDisplacementMapElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly in1: SVGAnimatedString;\n readonly in2: SVGAnimatedString;\n readonly scale: SVGAnimatedNumber;\n readonly xChannelSelector: SVGAnimatedEnumeration;\n readonly yChannelSelector: SVGAnimatedEnumeration;\n readonly SVG_CHANNEL_A: number;\n readonly SVG_CHANNEL_B: number;\n readonly SVG_CHANNEL_G: number;\n readonly SVG_CHANNEL_R: number;\n readonly SVG_CHANNEL_UNKNOWN: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDisplacementMapElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDisplacementMapElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEDisplacementMapElement: {\n prototype: SVGFEDisplacementMapElement;\n new(): SVGFEDisplacementMapElement;\n readonly SVG_CHANNEL_A: number;\n readonly SVG_CHANNEL_B: number;\n readonly SVG_CHANNEL_G: number;\n readonly SVG_CHANNEL_R: number;\n readonly SVG_CHANNEL_UNKNOWN: number;\n};\n\n/** Corresponds to the <feDistantLight> element. */\ninterface SVGFEDistantLightElement extends SVGElement {\n readonly azimuth: SVGAnimatedNumber;\n readonly elevation: SVGAnimatedNumber;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDistantLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDistantLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEDistantLightElement: {\n prototype: SVGFEDistantLightElement;\n new(): SVGFEDistantLightElement;\n};\n\ninterface SVGFEDropShadowElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly dx: SVGAnimatedNumber;\n readonly dy: SVGAnimatedNumber;\n readonly in1: SVGAnimatedString;\n readonly stdDeviationX: SVGAnimatedNumber;\n readonly stdDeviationY: SVGAnimatedNumber;\n setStdDeviation(stdDeviationX: number, stdDeviationY: number): void;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDropShadowElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDropShadowElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEDropShadowElement: {\n prototype: SVGFEDropShadowElement;\n new(): SVGFEDropShadowElement;\n};\n\n/** Corresponds to the <feFlood> element. */\ninterface SVGFEFloodElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFloodElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFloodElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEFloodElement: {\n prototype: SVGFEFloodElement;\n new(): SVGFEFloodElement;\n};\n\n/** Corresponds to the <feFuncA> element. */\ninterface SVGFEFuncAElement extends SVGComponentTransferFunctionElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEFuncAElement: {\n prototype: SVGFEFuncAElement;\n new(): SVGFEFuncAElement;\n};\n\n/** Corresponds to the <feFuncB> element. */\ninterface SVGFEFuncBElement extends SVGComponentTransferFunctionElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncBElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncBElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEFuncBElement: {\n prototype: SVGFEFuncBElement;\n new(): SVGFEFuncBElement;\n};\n\n/** Corresponds to the <feFuncG> element. */\ninterface SVGFEFuncGElement extends SVGComponentTransferFunctionElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEFuncGElement: {\n prototype: SVGFEFuncGElement;\n new(): SVGFEFuncGElement;\n};\n\n/** Corresponds to the <feFuncR> element. */\ninterface SVGFEFuncRElement extends SVGComponentTransferFunctionElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncRElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncRElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEFuncRElement: {\n prototype: SVGFEFuncRElement;\n new(): SVGFEFuncRElement;\n};\n\n/** Corresponds to the <feGaussianBlur> element. */\ninterface SVGFEGaussianBlurElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly in1: SVGAnimatedString;\n readonly stdDeviationX: SVGAnimatedNumber;\n readonly stdDeviationY: SVGAnimatedNumber;\n setStdDeviation(stdDeviationX: number, stdDeviationY: number): void;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEGaussianBlurElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEGaussianBlurElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEGaussianBlurElement: {\n prototype: SVGFEGaussianBlurElement;\n new(): SVGFEGaussianBlurElement;\n};\n\n/** Corresponds to the <feImage> element. */\ninterface SVGFEImageElement extends SVGElement, SVGFilterPrimitiveStandardAttributes, SVGURIReference {\n readonly preserveAspectRatio: SVGAnimatedPreserveAspectRatio;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEImageElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEImageElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEImageElement: {\n prototype: SVGFEImageElement;\n new(): SVGFEImageElement;\n};\n\n/** Corresponds to the <feMerge> element. */\ninterface SVGFEMergeElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMergeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMergeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEMergeElement: {\n prototype: SVGFEMergeElement;\n new(): SVGFEMergeElement;\n};\n\n/** Corresponds to the <feMergeNode> element. */\ninterface SVGFEMergeNodeElement extends SVGElement {\n readonly in1: SVGAnimatedString;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMergeNodeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMergeNodeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEMergeNodeElement: {\n prototype: SVGFEMergeNodeElement;\n new(): SVGFEMergeNodeElement;\n};\n\n/** Corresponds to the <feMorphology> element. */\ninterface SVGFEMorphologyElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly in1: SVGAnimatedString;\n readonly operator: SVGAnimatedEnumeration;\n readonly radiusX: SVGAnimatedNumber;\n readonly radiusY: SVGAnimatedNumber;\n readonly SVG_MORPHOLOGY_OPERATOR_DILATE: number;\n readonly SVG_MORPHOLOGY_OPERATOR_ERODE: number;\n readonly SVG_MORPHOLOGY_OPERATOR_UNKNOWN: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMorphologyElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMorphologyElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEMorphologyElement: {\n prototype: SVGFEMorphologyElement;\n new(): SVGFEMorphologyElement;\n readonly SVG_MORPHOLOGY_OPERATOR_DILATE: number;\n readonly SVG_MORPHOLOGY_OPERATOR_ERODE: number;\n readonly SVG_MORPHOLOGY_OPERATOR_UNKNOWN: number;\n};\n\n/** Corresponds to the <feOffset> element. */\ninterface SVGFEOffsetElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly dx: SVGAnimatedNumber;\n readonly dy: SVGAnimatedNumber;\n readonly in1: SVGAnimatedString;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEOffsetElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEOffsetElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEOffsetElement: {\n prototype: SVGFEOffsetElement;\n new(): SVGFEOffsetElement;\n};\n\n/** Corresponds to the <fePointLight> element. */\ninterface SVGFEPointLightElement extends SVGElement {\n readonly x: SVGAnimatedNumber;\n readonly y: SVGAnimatedNumber;\n readonly z: SVGAnimatedNumber;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEPointLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEPointLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEPointLightElement: {\n prototype: SVGFEPointLightElement;\n new(): SVGFEPointLightElement;\n};\n\n/** Corresponds to the <feSpecularLighting> element. */\ninterface SVGFESpecularLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly in1: SVGAnimatedString;\n readonly kernelUnitLengthX: SVGAnimatedNumber;\n readonly kernelUnitLengthY: SVGAnimatedNumber;\n readonly specularConstant: SVGAnimatedNumber;\n readonly specularExponent: SVGAnimatedNumber;\n readonly surfaceScale: SVGAnimatedNumber;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFESpecularLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFESpecularLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFESpecularLightingElement: {\n prototype: SVGFESpecularLightingElement;\n new(): SVGFESpecularLightingElement;\n};\n\n/** Corresponds to the <feSpotLight> element. */\ninterface SVGFESpotLightElement extends SVGElement {\n readonly limitingConeAngle: SVGAnimatedNumber;\n readonly pointsAtX: SVGAnimatedNumber;\n readonly pointsAtY: SVGAnimatedNumber;\n readonly pointsAtZ: SVGAnimatedNumber;\n readonly specularExponent: SVGAnimatedNumber;\n readonly x: SVGAnimatedNumber;\n readonly y: SVGAnimatedNumber;\n readonly z: SVGAnimatedNumber;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFESpotLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFESpotLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFESpotLightElement: {\n prototype: SVGFESpotLightElement;\n new(): SVGFESpotLightElement;\n};\n\n/** Corresponds to the <feTile> element. */\ninterface SVGFETileElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly in1: SVGAnimatedString;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFETileElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFETileElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFETileElement: {\n prototype: SVGFETileElement;\n new(): SVGFETileElement;\n};\n\n/** Corresponds to the <feTurbulence> element. */\ninterface SVGFETurbulenceElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly baseFrequencyX: SVGAnimatedNumber;\n readonly baseFrequencyY: SVGAnimatedNumber;\n readonly numOctaves: SVGAnimatedInteger;\n readonly seed: SVGAnimatedNumber;\n readonly stitchTiles: SVGAnimatedEnumeration;\n readonly type: SVGAnimatedEnumeration;\n readonly SVG_STITCHTYPE_NOSTITCH: number;\n readonly SVG_STITCHTYPE_STITCH: number;\n readonly SVG_STITCHTYPE_UNKNOWN: number;\n readonly SVG_TURBULENCE_TYPE_FRACTALNOISE: number;\n readonly SVG_TURBULENCE_TYPE_TURBULENCE: number;\n readonly SVG_TURBULENCE_TYPE_UNKNOWN: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFETurbulenceElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFETurbulenceElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFETurbulenceElement: {\n prototype: SVGFETurbulenceElement;\n new(): SVGFETurbulenceElement;\n readonly SVG_STITCHTYPE_NOSTITCH: number;\n readonly SVG_STITCHTYPE_STITCH: number;\n readonly SVG_STITCHTYPE_UNKNOWN: number;\n readonly SVG_TURBULENCE_TYPE_FRACTALNOISE: number;\n readonly SVG_TURBULENCE_TYPE_TURBULENCE: number;\n readonly SVG_TURBULENCE_TYPE_UNKNOWN: number;\n};\n\n/** Provides access to the properties of <filter> elements, as well as methods to manipulate them. */\ninterface SVGFilterElement extends SVGElement, SVGURIReference {\n readonly filterUnits: SVGAnimatedEnumeration;\n readonly height: SVGAnimatedLength;\n readonly primitiveUnits: SVGAnimatedEnumeration;\n readonly width: SVGAnimatedLength;\n readonly x: SVGAnimatedLength;\n readonly y: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFilterElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFilterElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFilterElement: {\n prototype: SVGFilterElement;\n new(): SVGFilterElement;\n};\n\ninterface SVGFilterPrimitiveStandardAttributes {\n readonly height: SVGAnimatedLength;\n readonly result: SVGAnimatedString;\n readonly width: SVGAnimatedLength;\n readonly x: SVGAnimatedLength;\n readonly y: SVGAnimatedLength;\n}\n\ninterface SVGFitToViewBox {\n readonly preserveAspectRatio: SVGAnimatedPreserveAspectRatio;\n readonly viewBox: SVGAnimatedRect;\n}\n\n/** Provides access to the properties of <foreignObject> elements, as well as methods to manipulate them. */\ninterface SVGForeignObjectElement extends SVGGraphicsElement {\n readonly height: SVGAnimatedLength;\n readonly width: SVGAnimatedLength;\n readonly x: SVGAnimatedLength;\n readonly y: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGForeignObjectElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGForeignObjectElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGForeignObjectElement: {\n prototype: SVGForeignObjectElement;\n new(): SVGForeignObjectElement;\n};\n\n/** Corresponds to the <g> element. */\ninterface SVGGElement extends SVGGraphicsElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGGElement: {\n prototype: SVGGElement;\n new(): SVGGElement;\n};\n\ninterface SVGGeometryElement extends SVGGraphicsElement {\n readonly pathLength: SVGAnimatedNumber;\n getPointAtLength(distance: number): DOMPoint;\n getTotalLength(): number;\n isPointInFill(point?: DOMPointInit): boolean;\n isPointInStroke(point?: DOMPointInit): boolean;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGeometryElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGeometryElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGGeometryElement: {\n prototype: SVGGeometryElement;\n new(): SVGGeometryElement;\n};\n\n/** The SVGGradient interface is a base interface used by SVGLinearGradientElement and SVGRadialGradientElement. */\ninterface SVGGradientElement extends SVGElement, SVGURIReference {\n readonly gradientTransform: SVGAnimatedTransformList;\n readonly gradientUnits: SVGAnimatedEnumeration;\n readonly spreadMethod: SVGAnimatedEnumeration;\n readonly SVG_SPREADMETHOD_PAD: number;\n readonly SVG_SPREADMETHOD_REFLECT: number;\n readonly SVG_SPREADMETHOD_REPEAT: number;\n readonly SVG_SPREADMETHOD_UNKNOWN: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGGradientElement: {\n prototype: SVGGradientElement;\n new(): SVGGradientElement;\n readonly SVG_SPREADMETHOD_PAD: number;\n readonly SVG_SPREADMETHOD_REFLECT: number;\n readonly SVG_SPREADMETHOD_REPEAT: number;\n readonly SVG_SPREADMETHOD_UNKNOWN: number;\n};\n\n/** SVG elements whose primary purpose is to directly render graphics into a group. */\ninterface SVGGraphicsElement extends SVGElement, SVGTests {\n readonly transform: SVGAnimatedTransformList;\n getBBox(options?: SVGBoundingBoxOptions): DOMRect;\n getCTM(): DOMMatrix | null;\n getScreenCTM(): DOMMatrix | null;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGraphicsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGraphicsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGGraphicsElement: {\n prototype: SVGGraphicsElement;\n new(): SVGGraphicsElement;\n};\n\n/** Corresponds to the <image> element. */\ninterface SVGImageElement extends SVGGraphicsElement, SVGURIReference {\n readonly height: SVGAnimatedLength;\n readonly preserveAspectRatio: SVGAnimatedPreserveAspectRatio;\n readonly width: SVGAnimatedLength;\n readonly x: SVGAnimatedLength;\n readonly y: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGImageElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGImageElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGImageElement: {\n prototype: SVGImageElement;\n new(): SVGImageElement;\n};\n\n/** Correspond to the <length> basic data type. */\ninterface SVGLength {\n readonly unitType: number;\n value: number;\n valueAsString: string;\n valueInSpecifiedUnits: number;\n convertToSpecifiedUnits(unitType: number): void;\n newValueSpecifiedUnits(unitType: number, valueInSpecifiedUnits: number): void;\n readonly SVG_LENGTHTYPE_CM: number;\n readonly SVG_LENGTHTYPE_EMS: number;\n readonly SVG_LENGTHTYPE_EXS: number;\n readonly SVG_LENGTHTYPE_IN: number;\n readonly SVG_LENGTHTYPE_MM: number;\n readonly SVG_LENGTHTYPE_NUMBER: number;\n readonly SVG_LENGTHTYPE_PC: number;\n readonly SVG_LENGTHTYPE_PERCENTAGE: number;\n readonly SVG_LENGTHTYPE_PT: number;\n readonly SVG_LENGTHTYPE_PX: number;\n readonly SVG_LENGTHTYPE_UNKNOWN: number;\n}\n\ndeclare var SVGLength: {\n prototype: SVGLength;\n new(): SVGLength;\n readonly SVG_LENGTHTYPE_CM: number;\n readonly SVG_LENGTHTYPE_EMS: number;\n readonly SVG_LENGTHTYPE_EXS: number;\n readonly SVG_LENGTHTYPE_IN: number;\n readonly SVG_LENGTHTYPE_MM: number;\n readonly SVG_LENGTHTYPE_NUMBER: number;\n readonly SVG_LENGTHTYPE_PC: number;\n readonly SVG_LENGTHTYPE_PERCENTAGE: number;\n readonly SVG_LENGTHTYPE_PT: number;\n readonly SVG_LENGTHTYPE_PX: number;\n readonly SVG_LENGTHTYPE_UNKNOWN: number;\n};\n\n/** The SVGLengthList defines a list of SVGLength objects. */\ninterface SVGLengthList {\n readonly length: number;\n readonly numberOfItems: number;\n appendItem(newItem: SVGLength): SVGLength;\n clear(): void;\n getItem(index: number): SVGLength;\n initialize(newItem: SVGLength): SVGLength;\n insertItemBefore(newItem: SVGLength, index: number): SVGLength;\n removeItem(index: number): SVGLength;\n replaceItem(newItem: SVGLength, index: number): SVGLength;\n [index: number]: SVGLength;\n}\n\ndeclare var SVGLengthList: {\n prototype: SVGLengthList;\n new(): SVGLengthList;\n};\n\n/** Provides access to the properties of <line> elements, as well as methods to manipulate them. */\ninterface SVGLineElement extends SVGGeometryElement {\n readonly x1: SVGAnimatedLength;\n readonly x2: SVGAnimatedLength;\n readonly y1: SVGAnimatedLength;\n readonly y2: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGLineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGLineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGLineElement: {\n prototype: SVGLineElement;\n new(): SVGLineElement;\n};\n\n/** Corresponds to the <linearGradient> element. */\ninterface SVGLinearGradientElement extends SVGGradientElement {\n readonly x1: SVGAnimatedLength;\n readonly x2: SVGAnimatedLength;\n readonly y1: SVGAnimatedLength;\n readonly y2: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGLinearGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGLinearGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGLinearGradientElement: {\n prototype: SVGLinearGradientElement;\n new(): SVGLinearGradientElement;\n};\n\ninterface SVGMPathElement extends SVGElement, SVGURIReference {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGMPathElement: {\n prototype: SVGMPathElement;\n new(): SVGMPathElement;\n};\n\ninterface SVGMarkerElement extends SVGElement, SVGFitToViewBox {\n readonly markerHeight: SVGAnimatedLength;\n readonly markerUnits: SVGAnimatedEnumeration;\n readonly markerWidth: SVGAnimatedLength;\n readonly orientAngle: SVGAnimatedAngle;\n readonly orientType: SVGAnimatedEnumeration;\n readonly refX: SVGAnimatedLength;\n readonly refY: SVGAnimatedLength;\n setOrientToAngle(angle: SVGAngle): void;\n setOrientToAuto(): void;\n readonly SVG_MARKERUNITS_STROKEWIDTH: number;\n readonly SVG_MARKERUNITS_UNKNOWN: number;\n readonly SVG_MARKERUNITS_USERSPACEONUSE: number;\n readonly SVG_MARKER_ORIENT_ANGLE: number;\n readonly SVG_MARKER_ORIENT_AUTO: number;\n readonly SVG_MARKER_ORIENT_UNKNOWN: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMarkerElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMarkerElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGMarkerElement: {\n prototype: SVGMarkerElement;\n new(): SVGMarkerElement;\n readonly SVG_MARKERUNITS_STROKEWIDTH: number;\n readonly SVG_MARKERUNITS_UNKNOWN: number;\n readonly SVG_MARKERUNITS_USERSPACEONUSE: number;\n readonly SVG_MARKER_ORIENT_ANGLE: number;\n readonly SVG_MARKER_ORIENT_AUTO: number;\n readonly SVG_MARKER_ORIENT_UNKNOWN: number;\n};\n\n/** Provides access to the properties of <mask> elements, as well as methods to manipulate them. */\ninterface SVGMaskElement extends SVGElement {\n readonly height: SVGAnimatedLength;\n readonly maskContentUnits: SVGAnimatedEnumeration;\n readonly maskUnits: SVGAnimatedEnumeration;\n readonly width: SVGAnimatedLength;\n readonly x: SVGAnimatedLength;\n readonly y: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMaskElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMaskElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGMaskElement: {\n prototype: SVGMaskElement;\n new(): SVGMaskElement;\n};\n\n/** Corresponds to the <metadata> element. */\ninterface SVGMetadataElement extends SVGElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMetadataElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMetadataElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGMetadataElement: {\n prototype: SVGMetadataElement;\n new(): SVGMetadataElement;\n};\n\n/** Corresponds to the <number> basic data type. */\ninterface SVGNumber {\n value: number;\n}\n\ndeclare var SVGNumber: {\n prototype: SVGNumber;\n new(): SVGNumber;\n};\n\n/** The SVGNumberList defines a list of SVGNumber objects. */\ninterface SVGNumberList {\n readonly length: number;\n readonly numberOfItems: number;\n appendItem(newItem: SVGNumber): SVGNumber;\n clear(): void;\n getItem(index: number): SVGNumber;\n initialize(newItem: SVGNumber): SVGNumber;\n insertItemBefore(newItem: SVGNumber, index: number): SVGNumber;\n removeItem(index: number): SVGNumber;\n replaceItem(newItem: SVGNumber, index: number): SVGNumber;\n [index: number]: SVGNumber;\n}\n\ndeclare var SVGNumberList: {\n prototype: SVGNumberList;\n new(): SVGNumberList;\n};\n\n/** Corresponds to the <path> element. */\ninterface SVGPathElement extends SVGGeometryElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGPathElement: {\n prototype: SVGPathElement;\n new(): SVGPathElement;\n};\n\n/** Corresponds to the <pattern> element. */\ninterface SVGPatternElement extends SVGElement, SVGFitToViewBox, SVGURIReference {\n readonly height: SVGAnimatedLength;\n readonly patternContentUnits: SVGAnimatedEnumeration;\n readonly patternTransform: SVGAnimatedTransformList;\n readonly patternUnits: SVGAnimatedEnumeration;\n readonly width: SVGAnimatedLength;\n readonly x: SVGAnimatedLength;\n readonly y: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPatternElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPatternElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGPatternElement: {\n prototype: SVGPatternElement;\n new(): SVGPatternElement;\n};\n\ninterface SVGPointList {\n readonly length: number;\n readonly numberOfItems: number;\n appendItem(newItem: DOMPoint): DOMPoint;\n clear(): void;\n getItem(index: number): DOMPoint;\n initialize(newItem: DOMPoint): DOMPoint;\n insertItemBefore(newItem: DOMPoint, index: number): DOMPoint;\n removeItem(index: number): DOMPoint;\n replaceItem(newItem: DOMPoint, index: number): DOMPoint;\n [index: number]: DOMPoint;\n}\n\ndeclare var SVGPointList: {\n prototype: SVGPointList;\n new(): SVGPointList;\n};\n\n/** Provides access to the properties of <polygon> elements, as well as methods to manipulate them. */\ninterface SVGPolygonElement extends SVGGeometryElement, SVGAnimatedPoints {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPolygonElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPolygonElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGPolygonElement: {\n prototype: SVGPolygonElement;\n new(): SVGPolygonElement;\n};\n\n/** Provides access to the properties of <polyline> elements, as well as methods to manipulate them. */\ninterface SVGPolylineElement extends SVGGeometryElement, SVGAnimatedPoints {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPolylineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPolylineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGPolylineElement: {\n prototype: SVGPolylineElement;\n new(): SVGPolylineElement;\n};\n\n/** Corresponds to the preserveAspectRatio attribute, which is available for some of SVG\'s elements. */\ninterface SVGPreserveAspectRatio {\n align: number;\n meetOrSlice: number;\n readonly SVG_MEETORSLICE_MEET: number;\n readonly SVG_MEETORSLICE_SLICE: number;\n readonly SVG_MEETORSLICE_UNKNOWN: number;\n readonly SVG_PRESERVEASPECTRATIO_NONE: number;\n readonly SVG_PRESERVEASPECTRATIO_UNKNOWN: number;\n readonly SVG_PRESERVEASPECTRATIO_XMAXYMAX: number;\n readonly SVG_PRESERVEASPECTRATIO_XMAXYMID: number;\n readonly SVG_PRESERVEASPECTRATIO_XMAXYMIN: number;\n readonly SVG_PRESERVEASPECTRATIO_XMIDYMAX: number;\n readonly SVG_PRESERVEASPECTRATIO_XMIDYMID: number;\n readonly SVG_PRESERVEASPECTRATIO_XMIDYMIN: number;\n readonly SVG_PRESERVEASPECTRATIO_XMINYMAX: number;\n readonly SVG_PRESERVEASPECTRATIO_XMINYMID: number;\n readonly SVG_PRESERVEASPECTRATIO_XMINYMIN: number;\n}\n\ndeclare var SVGPreserveAspectRatio: {\n prototype: SVGPreserveAspectRatio;\n new(): SVGPreserveAspectRatio;\n readonly SVG_MEETORSLICE_MEET: number;\n readonly SVG_MEETORSLICE_SLICE: number;\n readonly SVG_MEETORSLICE_UNKNOWN: number;\n readonly SVG_PRESERVEASPECTRATIO_NONE: number;\n readonly SVG_PRESERVEASPECTRATIO_UNKNOWN: number;\n readonly SVG_PRESERVEASPECTRATIO_XMAXYMAX: number;\n readonly SVG_PRESERVEASPECTRATIO_XMAXYMID: number;\n readonly SVG_PRESERVEASPECTRATIO_XMAXYMIN: number;\n readonly SVG_PRESERVEASPECTRATIO_XMIDYMAX: number;\n readonly SVG_PRESERVEASPECTRATIO_XMIDYMID: number;\n readonly SVG_PRESERVEASPECTRATIO_XMIDYMIN: number;\n readonly SVG_PRESERVEASPECTRATIO_XMINYMAX: number;\n readonly SVG_PRESERVEASPECTRATIO_XMINYMID: number;\n readonly SVG_PRESERVEASPECTRATIO_XMINYMIN: number;\n};\n\n/** Corresponds to the <RadialGradient> element. */\ninterface SVGRadialGradientElement extends SVGGradientElement {\n readonly cx: SVGAnimatedLength;\n readonly cy: SVGAnimatedLength;\n readonly fr: SVGAnimatedLength;\n readonly fx: SVGAnimatedLength;\n readonly fy: SVGAnimatedLength;\n readonly r: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGRadialGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGRadialGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGRadialGradientElement: {\n prototype: SVGRadialGradientElement;\n new(): SVGRadialGradientElement;\n};\n\n/** Provides access to the properties of <rect> elements, as well as methods to manipulate them. */\ninterface SVGRectElement extends SVGGeometryElement {\n readonly height: SVGAnimatedLength;\n readonly rx: SVGAnimatedLength;\n readonly ry: SVGAnimatedLength;\n readonly width: SVGAnimatedLength;\n readonly x: SVGAnimatedLength;\n readonly y: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGRectElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGRectElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGRectElement: {\n prototype: SVGRectElement;\n new(): SVGRectElement;\n};\n\ninterface SVGSVGElementEventMap extends SVGElementEventMap, WindowEventHandlersEventMap {\n}\n\n/** Provides access to the properties of <svg> elements, as well as methods to manipulate them. This interface contains also various miscellaneous commonly-used utility methods, such as matrix operations and the ability to control the time of redraw on visual rendering devices. */\ninterface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEventHandlers {\n currentScale: number;\n readonly currentTranslate: DOMPointReadOnly;\n readonly height: SVGAnimatedLength;\n readonly width: SVGAnimatedLength;\n readonly x: SVGAnimatedLength;\n readonly y: SVGAnimatedLength;\n animationsPaused(): boolean;\n checkEnclosure(element: SVGElement, rect: DOMRectReadOnly): boolean;\n checkIntersection(element: SVGElement, rect: DOMRectReadOnly): boolean;\n createSVGAngle(): SVGAngle;\n createSVGLength(): SVGLength;\n createSVGMatrix(): DOMMatrix;\n createSVGNumber(): SVGNumber;\n createSVGPoint(): DOMPoint;\n createSVGRect(): DOMRect;\n createSVGTransform(): SVGTransform;\n createSVGTransformFromMatrix(matrix?: DOMMatrix2DInit): SVGTransform;\n deselectAll(): void;\n /** @deprecated */\n forceRedraw(): void;\n getCurrentTime(): number;\n getElementById(elementId: string): Element;\n getEnclosureList(rect: DOMRectReadOnly, referenceElement: SVGElement | null): NodeListOf<SVGCircleElement | SVGEllipseElement | SVGImageElement | SVGLineElement | SVGPathElement | SVGPolygonElement | SVGPolylineElement | SVGRectElement | SVGTextElement | SVGUseElement>;\n getIntersectionList(rect: DOMRectReadOnly, referenceElement: SVGElement | null): NodeListOf<SVGCircleElement | SVGEllipseElement | SVGImageElement | SVGLineElement | SVGPathElement | SVGPolygonElement | SVGPolylineElement | SVGRectElement | SVGTextElement | SVGUseElement>;\n pauseAnimations(): void;\n setCurrentTime(seconds: number): void;\n /** @deprecated */\n suspendRedraw(maxWaitMilliseconds: number): number;\n unpauseAnimations(): void;\n /** @deprecated */\n unsuspendRedraw(suspendHandleID: number): void;\n /** @deprecated */\n unsuspendRedrawAll(): void;\n addEventListener<K extends keyof SVGSVGElementEventMap>(type: K, listener: (this: SVGSVGElement, ev: SVGSVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGSVGElementEventMap>(type: K, listener: (this: SVGSVGElement, ev: SVGSVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGSVGElement: {\n prototype: SVGSVGElement;\n new(): SVGSVGElement;\n};\n\n/** Corresponds to the SVG <script> element. */\ninterface SVGScriptElement extends SVGElement, SVGURIReference {\n type: string;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGScriptElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGScriptElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGScriptElement: {\n prototype: SVGScriptElement;\n new(): SVGScriptElement;\n};\n\ninterface SVGSetElement extends SVGAnimationElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGSetElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGSetElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGSetElement: {\n prototype: SVGSetElement;\n new(): SVGSetElement;\n};\n\n/** Corresponds to the <stop> element. */\ninterface SVGStopElement extends SVGElement {\n readonly offset: SVGAnimatedNumber;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGStopElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGStopElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGStopElement: {\n prototype: SVGStopElement;\n new(): SVGStopElement;\n};\n\n/** The SVGStringList defines a list of DOMString objects. */\ninterface SVGStringList {\n readonly length: number;\n readonly numberOfItems: number;\n appendItem(newItem: string): string;\n clear(): void;\n getItem(index: number): string;\n initialize(newItem: string): string;\n insertItemBefore(newItem: string, index: number): string;\n removeItem(index: number): string;\n replaceItem(newItem: string, index: number): string;\n [index: number]: string;\n}\n\ndeclare var SVGStringList: {\n prototype: SVGStringList;\n new(): SVGStringList;\n};\n\n/** Corresponds to the SVG <style> element. */\ninterface SVGStyleElement extends SVGElement, LinkStyle {\n disabled: boolean;\n media: string;\n title: string;\n type: string;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGStyleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGStyleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGStyleElement: {\n prototype: SVGStyleElement;\n new(): SVGStyleElement;\n};\n\n/** Corresponds to the <switch> element. */\ninterface SVGSwitchElement extends SVGGraphicsElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGSwitchElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGSwitchElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGSwitchElement: {\n prototype: SVGSwitchElement;\n new(): SVGSwitchElement;\n};\n\n/** Corresponds to the <symbol> element. */\ninterface SVGSymbolElement extends SVGElement, SVGFitToViewBox {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGSymbolElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGSymbolElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGSymbolElement: {\n prototype: SVGSymbolElement;\n new(): SVGSymbolElement;\n};\n\n/** A <tspan> element. */\ninterface SVGTSpanElement extends SVGTextPositioningElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTSpanElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTSpanElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGTSpanElement: {\n prototype: SVGTSpanElement;\n new(): SVGTSpanElement;\n};\n\ninterface SVGTests {\n readonly requiredExtensions: SVGStringList;\n readonly systemLanguage: SVGStringList;\n}\n\n/** Implemented by elements that support rendering child text content. It is inherited by various text-related interfaces, such as SVGTextElement, SVGTSpanElement, SVGTRefElement, SVGAltGlyphElement and SVGTextPathElement. */\ninterface SVGTextContentElement extends SVGGraphicsElement {\n readonly lengthAdjust: SVGAnimatedEnumeration;\n readonly textLength: SVGAnimatedLength;\n getCharNumAtPosition(point?: DOMPointInit): number;\n getComputedTextLength(): number;\n getEndPositionOfChar(charnum: number): DOMPoint;\n getExtentOfChar(charnum: number): DOMRect;\n getNumberOfChars(): number;\n getRotationOfChar(charnum: number): number;\n getStartPositionOfChar(charnum: number): DOMPoint;\n getSubStringLength(charnum: number, nchars: number): number;\n /** @deprecated */\n selectSubString(charnum: number, nchars: number): void;\n readonly LENGTHADJUST_SPACING: number;\n readonly LENGTHADJUST_SPACINGANDGLYPHS: number;\n readonly LENGTHADJUST_UNKNOWN: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextContentElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextContentElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGTextContentElement: {\n prototype: SVGTextContentElement;\n new(): SVGTextContentElement;\n readonly LENGTHADJUST_SPACING: number;\n readonly LENGTHADJUST_SPACINGANDGLYPHS: number;\n readonly LENGTHADJUST_UNKNOWN: number;\n};\n\n/** Corresponds to the <text> elements. */\ninterface SVGTextElement extends SVGTextPositioningElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGTextElement: {\n prototype: SVGTextElement;\n new(): SVGTextElement;\n};\n\n/** Corresponds to the <textPath> element. */\ninterface SVGTextPathElement extends SVGTextContentElement, SVGURIReference {\n readonly method: SVGAnimatedEnumeration;\n readonly spacing: SVGAnimatedEnumeration;\n readonly startOffset: SVGAnimatedLength;\n readonly TEXTPATH_METHODTYPE_ALIGN: number;\n readonly TEXTPATH_METHODTYPE_STRETCH: number;\n readonly TEXTPATH_METHODTYPE_UNKNOWN: number;\n readonly TEXTPATH_SPACINGTYPE_AUTO: number;\n readonly TEXTPATH_SPACINGTYPE_EXACT: number;\n readonly TEXTPATH_SPACINGTYPE_UNKNOWN: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGTextPathElement: {\n prototype: SVGTextPathElement;\n new(): SVGTextPathElement;\n readonly TEXTPATH_METHODTYPE_ALIGN: number;\n readonly TEXTPATH_METHODTYPE_STRETCH: number;\n readonly TEXTPATH_METHODTYPE_UNKNOWN: number;\n readonly TEXTPATH_SPACINGTYPE_AUTO: number;\n readonly TEXTPATH_SPACINGTYPE_EXACT: number;\n readonly TEXTPATH_SPACINGTYPE_UNKNOWN: number;\n};\n\n/** Implemented by elements that support attributes that position individual text glyphs. It is inherited by SVGTextElement, SVGTSpanElement, SVGTRefElement and SVGAltGlyphElement. */\ninterface SVGTextPositioningElement extends SVGTextContentElement {\n readonly dx: SVGAnimatedLengthList;\n readonly dy: SVGAnimatedLengthList;\n readonly rotate: SVGAnimatedNumberList;\n readonly x: SVGAnimatedLengthList;\n readonly y: SVGAnimatedLengthList;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextPositioningElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextPositioningElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGTextPositioningElement: {\n prototype: SVGTextPositioningElement;\n new(): SVGTextPositioningElement;\n};\n\n/** Corresponds to the <title> element. */\ninterface SVGTitleElement extends SVGElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTitleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTitleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGTitleElement: {\n prototype: SVGTitleElement;\n new(): SVGTitleElement;\n};\n\n/** SVGTransform is the interface for one of the component transformations within an SVGTransformList; thus, an SVGTransform object corresponds to a single component (e.g., scale(…) or matrix(…)) within a transform attribute. */\ninterface SVGTransform {\n readonly angle: number;\n readonly matrix: DOMMatrix;\n readonly type: number;\n setMatrix(matrix?: DOMMatrix2DInit): void;\n setRotate(angle: number, cx: number, cy: number): void;\n setScale(sx: number, sy: number): void;\n setSkewX(angle: number): void;\n setSkewY(angle: number): void;\n setTranslate(tx: number, ty: number): void;\n readonly SVG_TRANSFORM_MATRIX: number;\n readonly SVG_TRANSFORM_ROTATE: number;\n readonly SVG_TRANSFORM_SCALE: number;\n readonly SVG_TRANSFORM_SKEWX: number;\n readonly SVG_TRANSFORM_SKEWY: number;\n readonly SVG_TRANSFORM_TRANSLATE: number;\n readonly SVG_TRANSFORM_UNKNOWN: number;\n}\n\ndeclare var SVGTransform: {\n prototype: SVGTransform;\n new(): SVGTransform;\n readonly SVG_TRANSFORM_MATRIX: number;\n readonly SVG_TRANSFORM_ROTATE: number;\n readonly SVG_TRANSFORM_SCALE: number;\n readonly SVG_TRANSFORM_SKEWX: number;\n readonly SVG_TRANSFORM_SKEWY: number;\n readonly SVG_TRANSFORM_TRANSLATE: number;\n readonly SVG_TRANSFORM_UNKNOWN: number;\n};\n\n/** The SVGTransformList defines a list of SVGTransform objects. */\ninterface SVGTransformList {\n readonly length: number;\n readonly numberOfItems: number;\n appendItem(newItem: SVGTransform): SVGTransform;\n clear(): void;\n consolidate(): SVGTransform | null;\n createSVGTransformFromMatrix(matrix?: DOMMatrix2DInit): SVGTransform;\n getItem(index: number): SVGTransform;\n initialize(newItem: SVGTransform): SVGTransform;\n insertItemBefore(newItem: SVGTransform, index: number): SVGTransform;\n removeItem(index: number): SVGTransform;\n replaceItem(newItem: SVGTransform, index: number): SVGTransform;\n [index: number]: SVGTransform;\n}\n\ndeclare var SVGTransformList: {\n prototype: SVGTransformList;\n new(): SVGTransformList;\n};\n\ninterface SVGURIReference {\n readonly href: SVGAnimatedString;\n}\n\n/** A commonly used set of constants used for reflecting gradientUnits, patternContentUnits and other similar attributes. */\ninterface SVGUnitTypes {\n readonly SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: number;\n readonly SVG_UNIT_TYPE_UNKNOWN: number;\n readonly SVG_UNIT_TYPE_USERSPACEONUSE: number;\n}\n\ndeclare var SVGUnitTypes: {\n prototype: SVGUnitTypes;\n new(): SVGUnitTypes;\n readonly SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: number;\n readonly SVG_UNIT_TYPE_UNKNOWN: number;\n readonly SVG_UNIT_TYPE_USERSPACEONUSE: number;\n};\n\n/** Corresponds to the <use> element. */\ninterface SVGUseElement extends SVGGraphicsElement, SVGURIReference {\n readonly height: SVGAnimatedLength;\n readonly width: SVGAnimatedLength;\n readonly x: SVGAnimatedLength;\n readonly y: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGUseElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGUseElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGUseElement: {\n prototype: SVGUseElement;\n new(): SVGUseElement;\n};\n\n/** Provides access to the properties of <view> elements, as well as methods to manipulate them. */\ninterface SVGViewElement extends SVGElement, SVGFitToViewBox {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGViewElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGViewElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGViewElement: {\n prototype: SVGViewElement;\n new(): SVGViewElement;\n};\n\n/** A screen, usually the one on which the current window is being rendered, and is obtained using window.screen. */\ninterface Screen {\n readonly availHeight: number;\n readonly availWidth: number;\n readonly colorDepth: number;\n readonly height: number;\n readonly orientation: ScreenOrientation;\n readonly pixelDepth: number;\n readonly width: number;\n}\n\ndeclare var Screen: {\n prototype: Screen;\n new(): Screen;\n};\n\ninterface ScreenOrientationEventMap {\n "change": Event;\n}\n\ninterface ScreenOrientation extends EventTarget {\n readonly angle: number;\n onchange: ((this: ScreenOrientation, ev: Event) => any) | null;\n readonly type: OrientationType;\n lock(orientation: OrientationLockType): Promise<void>;\n unlock(): void;\n addEventListener<K extends keyof ScreenOrientationEventMap>(type: K, listener: (this: ScreenOrientation, ev: ScreenOrientationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ScreenOrientationEventMap>(type: K, listener: (this: ScreenOrientation, ev: ScreenOrientationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ScreenOrientation: {\n prototype: ScreenOrientation;\n new(): ScreenOrientation;\n};\n\ninterface ScriptProcessorNodeEventMap {\n "audioprocess": AudioProcessingEvent;\n}\n\n/**\n * Allows the generation, processing, or analyzing of audio using JavaScript.\n * @deprecated As of the August 29 2014 Web Audio API spec publication, this feature has been marked as deprecated, and was replaced by AudioWorklet (see AudioWorkletNode).\n */\ninterface ScriptProcessorNode extends AudioNode {\n /** @deprecated */\n readonly bufferSize: number;\n /** @deprecated */\n onaudioprocess: ((this: ScriptProcessorNode, ev: AudioProcessingEvent) => any) | null;\n addEventListener<K extends keyof ScriptProcessorNodeEventMap>(type: K, listener: (this: ScriptProcessorNode, ev: ScriptProcessorNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ScriptProcessorNodeEventMap>(type: K, listener: (this: ScriptProcessorNode, ev: ScriptProcessorNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\n/** @deprecated */\ndeclare var ScriptProcessorNode: {\n prototype: ScriptProcessorNode;\n new(): ScriptProcessorNode;\n};\n\n/** Inherits from Event, and represents the event object of an event sent on a document or worker when its content security policy is violated. */\ninterface SecurityPolicyViolationEvent extends Event {\n readonly blockedURI: string;\n readonly columnNumber: number;\n readonly disposition: SecurityPolicyViolationEventDisposition;\n readonly documentURI: string;\n readonly effectiveDirective: string;\n readonly lineNumber: number;\n readonly originalPolicy: string;\n readonly referrer: string;\n readonly sample: string;\n readonly sourceFile: string;\n readonly statusCode: number;\n readonly violatedDirective: string;\n}\n\ndeclare var SecurityPolicyViolationEvent: {\n prototype: SecurityPolicyViolationEvent;\n new(type: string, eventInitDict?: SecurityPolicyViolationEventInit): SecurityPolicyViolationEvent;\n};\n\n/** A Selection object represents the range of text selected by the user or the current position of the caret. To obtain a Selection object for examination or modification, call Window.getSelection(). */\ninterface Selection {\n readonly anchorNode: Node | null;\n readonly anchorOffset: number;\n readonly focusNode: Node | null;\n readonly focusOffset: number;\n readonly isCollapsed: boolean;\n readonly rangeCount: number;\n readonly type: string;\n addRange(range: Range): void;\n collapse(node: Node | null, offset?: number): void;\n collapseToEnd(): void;\n collapseToStart(): void;\n containsNode(node: Node, allowPartialContainment?: boolean): boolean;\n deleteFromDocument(): void;\n empty(): void;\n extend(node: Node, offset?: number): void;\n getRangeAt(index: number): Range;\n removeAllRanges(): void;\n removeRange(range: Range): void;\n selectAllChildren(node: Node): void;\n setBaseAndExtent(anchorNode: Node, anchorOffset: number, focusNode: Node, focusOffset: number): void;\n setPosition(node: Node | null, offset?: number): void;\n toString(): string;\n}\n\ndeclare var Selection: {\n prototype: Selection;\n new(): Selection;\n toString(): string;\n};\n\ninterface ServiceWorkerEventMap extends AbstractWorkerEventMap {\n "statechange": Event;\n}\n\n/** This ServiceWorker API interface provides a reference to a service worker. Multiple browsing contexts (e.g. pages, workers, etc.) can be associated with the same service worker, each through a unique ServiceWorker object. */\ninterface ServiceWorker extends EventTarget, AbstractWorker {\n onstatechange: ((this: ServiceWorker, ev: Event) => any) | null;\n readonly scriptURL: string;\n readonly state: ServiceWorkerState;\n postMessage(message: any, transfer: Transferable[]): void;\n postMessage(message: any, options?: PostMessageOptions): void;\n addEventListener<K extends keyof ServiceWorkerEventMap>(type: K, listener: (this: ServiceWorker, ev: ServiceWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ServiceWorkerEventMap>(type: K, listener: (this: ServiceWorker, ev: ServiceWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ServiceWorker: {\n prototype: ServiceWorker;\n new(): ServiceWorker;\n};\n\ninterface ServiceWorkerContainerEventMap {\n "controllerchange": Event;\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\n/** The ServiceWorkerContainer interface of the ServiceWorker API provides an object representing the service worker as an overall unit in the network ecosystem, including facilities to register, unregister and update service workers, and access the state of service workers and their registrations. */\ninterface ServiceWorkerContainer extends EventTarget {\n readonly controller: ServiceWorker | null;\n oncontrollerchange: ((this: ServiceWorkerContainer, ev: Event) => any) | null;\n onmessage: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;\n readonly ready: Promise<ServiceWorkerRegistration>;\n getRegistration(clientURL?: string | URL): Promise<ServiceWorkerRegistration | undefined>;\n getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;\n register(scriptURL: string | URL, options?: RegistrationOptions): Promise<ServiceWorkerRegistration>;\n startMessages(): void;\n addEventListener<K extends keyof ServiceWorkerContainerEventMap>(type: K, listener: (this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ServiceWorkerContainerEventMap>(type: K, listener: (this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ServiceWorkerContainer: {\n prototype: ServiceWorkerContainer;\n new(): ServiceWorkerContainer;\n};\n\ninterface ServiceWorkerRegistrationEventMap {\n "updatefound": Event;\n}\n\n/** This ServiceWorker API interface represents the service worker registration. You register a service worker to control one or more pages that share the same origin. */\ninterface ServiceWorkerRegistration extends EventTarget {\n readonly active: ServiceWorker | null;\n readonly installing: ServiceWorker | null;\n onupdatefound: ((this: ServiceWorkerRegistration, ev: Event) => any) | null;\n readonly pushManager: PushManager;\n readonly scope: string;\n readonly updateViaCache: ServiceWorkerUpdateViaCache;\n readonly waiting: ServiceWorker | null;\n getNotifications(filter?: GetNotificationOptions): Promise<Notification[]>;\n showNotification(title: string, options?: NotificationOptions): Promise<void>;\n unregister(): Promise<boolean>;\n update(): Promise<void>;\n addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ServiceWorkerRegistration: {\n prototype: ServiceWorkerRegistration;\n new(): ServiceWorkerRegistration;\n};\n\ninterface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML {\n readonly delegatesFocus: boolean;\n readonly host: Element;\n readonly mode: ShadowRootMode;\n /**\n * Throws a "NotSupportedError" DOMException if context object is a shadow root.\n */\n}\n\ndeclare var ShadowRoot: {\n prototype: ShadowRoot;\n new(): ShadowRoot;\n};\n\ninterface SharedWorker extends EventTarget, AbstractWorker {\n /**\n * Returns sharedWorker\'s MessagePort object which can be used to communicate with the global environment.\n */\n readonly port: MessagePort;\n addEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: SharedWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: SharedWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SharedWorker: {\n prototype: SharedWorker;\n new(scriptURL: string | URL, options?: string | WorkerOptions): SharedWorker;\n};\n\ninterface Slottable {\n readonly assignedSlot: HTMLSlotElement | null;\n}\n\ninterface SourceBufferEventMap {\n "abort": Event;\n "error": Event;\n "update": Event;\n "updateend": Event;\n "updatestart": Event;\n}\n\n/** A chunk of media to be passed into an HTMLMediaElement and played, via a MediaSource object. This can be made up of one or several media segments. */\ninterface SourceBuffer extends EventTarget {\n appendWindowEnd: number;\n appendWindowStart: number;\n readonly buffered: TimeRanges;\n mode: AppendMode;\n onabort: ((this: SourceBuffer, ev: Event) => any) | null;\n onerror: ((this: SourceBuffer, ev: Event) => any) | null;\n onupdate: ((this: SourceBuffer, ev: Event) => any) | null;\n onupdateend: ((this: SourceBuffer, ev: Event) => any) | null;\n onupdatestart: ((this: SourceBuffer, ev: Event) => any) | null;\n timestampOffset: number;\n readonly updating: boolean;\n abort(): void;\n appendBuffer(data: BufferSource): void;\n changeType(type: string): void;\n remove(start: number, end: number): void;\n addEventListener<K extends keyof SourceBufferEventMap>(type: K, listener: (this: SourceBuffer, ev: SourceBufferEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SourceBufferEventMap>(type: K, listener: (this: SourceBuffer, ev: SourceBufferEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SourceBuffer: {\n prototype: SourceBuffer;\n new(): SourceBuffer;\n};\n\ninterface SourceBufferListEventMap {\n "addsourcebuffer": Event;\n "removesourcebuffer": Event;\n}\n\n/** A simple container list for multiple SourceBuffer objects. */\ninterface SourceBufferList extends EventTarget {\n readonly length: number;\n onaddsourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null;\n onremovesourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null;\n addEventListener<K extends keyof SourceBufferListEventMap>(type: K, listener: (this: SourceBufferList, ev: SourceBufferListEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SourceBufferListEventMap>(type: K, listener: (this: SourceBufferList, ev: SourceBufferListEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n [index: number]: SourceBuffer;\n}\n\ndeclare var SourceBufferList: {\n prototype: SourceBufferList;\n new(): SourceBufferList;\n};\n\ninterface SpeechRecognitionAlternative {\n readonly confidence: number;\n readonly transcript: string;\n}\n\ndeclare var SpeechRecognitionAlternative: {\n prototype: SpeechRecognitionAlternative;\n new(): SpeechRecognitionAlternative;\n};\n\ninterface SpeechRecognitionResult {\n readonly isFinal: boolean;\n readonly length: number;\n item(index: number): SpeechRecognitionAlternative;\n [index: number]: SpeechRecognitionAlternative;\n}\n\ndeclare var SpeechRecognitionResult: {\n prototype: SpeechRecognitionResult;\n new(): SpeechRecognitionResult;\n};\n\ninterface SpeechRecognitionResultList {\n readonly length: number;\n item(index: number): SpeechRecognitionResult;\n [index: number]: SpeechRecognitionResult;\n}\n\ndeclare var SpeechRecognitionResultList: {\n prototype: SpeechRecognitionResultList;\n new(): SpeechRecognitionResultList;\n};\n\ninterface SpeechSynthesisEventMap {\n "voiceschanged": Event;\n}\n\n/** This Web Speech API interface is the controller interface for the speech service; this can be used to retrieve information about the synthesis voices available on the device, start and pause speech, and other commands besides. */\ninterface SpeechSynthesis extends EventTarget {\n onvoiceschanged: ((this: SpeechSynthesis, ev: Event) => any) | null;\n readonly paused: boolean;\n readonly pending: boolean;\n readonly speaking: boolean;\n cancel(): void;\n getVoices(): SpeechSynthesisVoice[];\n pause(): void;\n resume(): void;\n speak(utterance: SpeechSynthesisUtterance): void;\n addEventListener<K extends keyof SpeechSynthesisEventMap>(type: K, listener: (this: SpeechSynthesis, ev: SpeechSynthesisEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SpeechSynthesisEventMap>(type: K, listener: (this: SpeechSynthesis, ev: SpeechSynthesisEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SpeechSynthesis: {\n prototype: SpeechSynthesis;\n new(): SpeechSynthesis;\n};\n\ninterface SpeechSynthesisErrorEvent extends SpeechSynthesisEvent {\n readonly error: SpeechSynthesisErrorCode;\n}\n\ndeclare var SpeechSynthesisErrorEvent: {\n prototype: SpeechSynthesisErrorEvent;\n new(type: string, eventInitDict: SpeechSynthesisErrorEventInit): SpeechSynthesisErrorEvent;\n};\n\n/** This Web Speech API interface contains information about the current state of SpeechSynthesisUtterance objects that have been processed in the speech service. */\ninterface SpeechSynthesisEvent extends Event {\n readonly charIndex: number;\n readonly charLength: number;\n readonly elapsedTime: number;\n readonly name: string;\n readonly utterance: SpeechSynthesisUtterance;\n}\n\ndeclare var SpeechSynthesisEvent: {\n prototype: SpeechSynthesisEvent;\n new(type: string, eventInitDict: SpeechSynthesisEventInit): SpeechSynthesisEvent;\n};\n\ninterface SpeechSynthesisUtteranceEventMap {\n "boundary": SpeechSynthesisEvent;\n "end": SpeechSynthesisEvent;\n "error": SpeechSynthesisErrorEvent;\n "mark": SpeechSynthesisEvent;\n "pause": SpeechSynthesisEvent;\n "resume": SpeechSynthesisEvent;\n "start": SpeechSynthesisEvent;\n}\n\n/** This Web Speech API interface represents a speech request. It contains the content the speech service should read and information about how to read it (e.g. language, pitch and volume.) */\ninterface SpeechSynthesisUtterance extends EventTarget {\n lang: string;\n onboundary: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any) | null;\n onend: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any) | null;\n onerror: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisErrorEvent) => any) | null;\n onmark: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any) | null;\n onpause: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any) | null;\n onresume: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any) | null;\n onstart: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any) | null;\n pitch: number;\n rate: number;\n text: string;\n voice: SpeechSynthesisVoice | null;\n volume: number;\n addEventListener<K extends keyof SpeechSynthesisUtteranceEventMap>(type: K, listener: (this: SpeechSynthesisUtterance, ev: SpeechSynthesisUtteranceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SpeechSynthesisUtteranceEventMap>(type: K, listener: (this: SpeechSynthesisUtterance, ev: SpeechSynthesisUtteranceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SpeechSynthesisUtterance: {\n prototype: SpeechSynthesisUtterance;\n new(text?: string): SpeechSynthesisUtterance;\n};\n\n/** This Web Speech API interface represents a voice that the system supports. Every SpeechSynthesisVoice has its own relative speech service including information about language, name and URI. */\ninterface SpeechSynthesisVoice {\n readonly default: boolean;\n readonly lang: string;\n readonly localService: boolean;\n readonly name: string;\n readonly voiceURI: string;\n}\n\ndeclare var SpeechSynthesisVoice: {\n prototype: SpeechSynthesisVoice;\n new(): SpeechSynthesisVoice;\n};\n\ninterface StaticRange extends AbstractRange {\n}\n\ndeclare var StaticRange: {\n prototype: StaticRange;\n new(init: StaticRangeInit): StaticRange;\n};\n\n/** The pan property takes a unitless value between -1 (full left pan) and 1 (full right pan). This interface was introduced as a much simpler way to apply a simple panning effect than having to use a full PannerNode. */\ninterface StereoPannerNode extends AudioNode {\n readonly pan: AudioParam;\n}\n\ndeclare var StereoPannerNode: {\n prototype: StereoPannerNode;\n new(context: BaseAudioContext, options?: StereoPannerOptions): StereoPannerNode;\n};\n\n/** This Web Storage API interface provides access to a particular domain\'s session or local storage. It allows, for example, the addition, modification, or deletion of stored data items. */\ninterface Storage {\n /**\n * Returns the number of key/value pairs.\n */\n readonly length: number;\n /**\n * Removes all key/value pairs, if there are any.\n *\n * Dispatches a storage event on Window objects holding an equivalent Storage object.\n */\n clear(): void;\n /**\n * Returns the current value associated with the given key, or null if the given key does not exist.\n */\n getItem(key: string): string | null;\n /**\n * Returns the name of the nth key, or null if n is greater than or equal to the number of key/value pairs.\n */\n key(index: number): string | null;\n /**\n * Removes the key/value pair with the given key, if a key/value pair with the given key exists.\n *\n * Dispatches a storage event on Window objects holding an equivalent Storage object.\n */\n removeItem(key: string): void;\n /**\n * Sets the value of the pair identified by key to value, creating a new key/value pair if none existed for key previously.\n *\n * Throws a "QuotaExceededError" DOMException exception if the new value couldn\'t be set. (Setting could fail if, e.g., the user has disabled storage for the site, or if the quota has been exceeded.)\n *\n * Dispatches a storage event on Window objects holding an equivalent Storage object.\n */\n setItem(key: string, value: string): void;\n [name: string]: any;\n}\n\ndeclare var Storage: {\n prototype: Storage;\n new(): Storage;\n};\n\n/** A StorageEvent is sent to a window when a storage area it has access to is changed within the context of another document. */\ninterface StorageEvent extends Event {\n /**\n * Returns the key of the storage item being changed.\n */\n readonly key: string | null;\n /**\n * Returns the new value of the key of the storage item whose value is being changed.\n */\n readonly newValue: string | null;\n /**\n * Returns the old value of the key of the storage item whose value is being changed.\n */\n readonly oldValue: string | null;\n /**\n * Returns the Storage object that was affected.\n */\n readonly storageArea: Storage | null;\n /**\n * Returns the URL of the document whose storage item changed.\n */\n readonly url: string;\n initStorageEvent(type: string, bubbles?: boolean, cancelable?: boolean, key?: string | null, oldValue?: string | null, newValue?: string | null, url?: string | URL, storageArea?: Storage | null): void;\n}\n\ndeclare var StorageEvent: {\n prototype: StorageEvent;\n new(type: string, eventInitDict?: StorageEventInit): StorageEvent;\n};\n\ninterface StorageManager {\n estimate(): Promise<StorageEstimate>;\n persist(): Promise<boolean>;\n persisted(): Promise<boolean>;\n}\n\ndeclare var StorageManager: {\n prototype: StorageManager;\n new(): StorageManager;\n};\n\n/** @deprecated */\ninterface StyleMedia {\n type: string;\n matchMedium(mediaquery: string): boolean;\n}\n\n/** A single style sheet. CSS style sheets will further implement the more specialized CSSStyleSheet interface. */\ninterface StyleSheet {\n disabled: boolean;\n readonly href: string | null;\n readonly media: MediaList;\n readonly ownerNode: Element | ProcessingInstruction | null;\n readonly parentStyleSheet: CSSStyleSheet | null;\n readonly title: string | null;\n readonly type: string;\n}\n\ndeclare var StyleSheet: {\n prototype: StyleSheet;\n new(): StyleSheet;\n};\n\n/** A list of StyleSheet. */\ninterface StyleSheetList {\n readonly length: number;\n item(index: number): CSSStyleSheet | null;\n [index: number]: CSSStyleSheet;\n}\n\ndeclare var StyleSheetList: {\n prototype: StyleSheetList;\n new(): StyleSheetList;\n};\n\ninterface SubmitEvent extends Event {\n /**\n * Returns the element representing the submit button that triggered the form submission, or null if the submission was not triggered by a button.\n */\n readonly submitter: HTMLElement | null;\n}\n\ndeclare var SubmitEvent: {\n prototype: SubmitEvent;\n new(type: string, eventInitDict?: SubmitEventInit): SubmitEvent;\n};\n\n/** This Web Crypto API interface provides a number of low-level cryptographic functions. It is accessed via the Crypto.subtle properties available in a window context (via Window.crypto). */\ninterface SubtleCrypto {\n decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<any>;\n deriveBits(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, length: number): Promise<ArrayBuffer>;\n deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n digest(algorithm: AlgorithmIdentifier, data: BufferSource): Promise<ArrayBuffer>;\n encrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<any>;\n exportKey(format: "jwk", key: CryptoKey): Promise<JsonWebKey>;\n exportKey(format: Exclude<KeyFormat, "jwk">, key: CryptoKey): Promise<ArrayBuffer>;\n generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKeyPair>;\n generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKeyPair | CryptoKey>;\n importKey(format: "jwk", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n importKey(format: Exclude<KeyFormat, "jwk">, keyData: BufferSource, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n sign(algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;\n unwrapKey(format: KeyFormat, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n verify(algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams, key: CryptoKey, signature: BufferSource, data: BufferSource): Promise<boolean>;\n wrapKey(format: KeyFormat, key: CryptoKey, wrappingKey: CryptoKey, wrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams): Promise<ArrayBuffer>;\n}\n\ndeclare var SubtleCrypto: {\n prototype: SubtleCrypto;\n new(): SubtleCrypto;\n};\n\n/** The textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element\'s text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children. */\ninterface Text extends CharacterData, Slottable {\n readonly assignedSlot: HTMLSlotElement | null;\n /**\n * Returns the combined data of all direct Text node siblings.\n */\n readonly wholeText: string;\n /**\n * Splits data at the given offset and returns the remainder as Text node.\n */\n splitText(offset: number): Text;\n}\n\ndeclare var Text: {\n prototype: Text;\n new(data?: string): Text;\n};\n\n/** A decoder for a specific method, that is a specific character encoding, like utf-8, iso-8859-2, koi8, cp1261, gbk, etc. A decoder takes a stream of bytes as input and emits a stream of code points. For a more scalable, non-native library, see StringView a C-like representation of strings based on typed arrays. */\ninterface TextDecoder extends TextDecoderCommon {\n /**\n * Returns the result of running encoding\'s decoder. The method can be invoked zero or more times with options\'s stream set to true, and then once without options\'s stream (or set to false), to process a fragmented input. If the invocation without options\'s stream (or set to false) has no input, it\'s clearest to omit both arguments.\n *\n * ```\n * var string = "", decoder = new TextDecoder(encoding), buffer;\n * while(buffer = next_chunk()) {\n * string += decoder.decode(buffer, {stream:true});\n * }\n * string += decoder.decode(); // end-of-queue\n * ```\n *\n * If the error mode is "fatal" and encoding\'s decoder returns error, throws a TypeError.\n */\n decode(input?: BufferSource, options?: TextDecodeOptions): string;\n}\n\ndeclare var TextDecoder: {\n prototype: TextDecoder;\n new(label?: string, options?: TextDecoderOptions): TextDecoder;\n};\n\ninterface TextDecoderCommon {\n /**\n * Returns encoding\'s name, lowercased.\n */\n readonly encoding: string;\n /**\n * Returns true if error mode is "fatal", otherwise false.\n */\n readonly fatal: boolean;\n /**\n * Returns the value of ignore BOM.\n */\n readonly ignoreBOM: boolean;\n}\n\ninterface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {\n readonly readable: ReadableStream<string>;\n readonly writable: WritableStream<BufferSource>;\n}\n\ndeclare var TextDecoderStream: {\n prototype: TextDecoderStream;\n new(label?: string, options?: TextDecoderOptions): TextDecoderStream;\n};\n\n/** TextEncoder takes a stream of code points as input and emits a stream of bytes. For a more scalable, non-native library, see StringView a C-like representation of strings based on typed arrays. */\ninterface TextEncoder extends TextEncoderCommon {\n /**\n * Returns the result of running UTF-8\'s encoder.\n */\n encode(input?: string): Uint8Array;\n /**\n * Runs the UTF-8 encoder on source, stores the result of that operation into destination, and returns the progress made as an object wherein read is the number of converted code units of source and written is the number of bytes modified in destination.\n */\n encodeInto(source: string, destination: Uint8Array): TextEncoderEncodeIntoResult;\n}\n\ndeclare var TextEncoder: {\n prototype: TextEncoder;\n new(): TextEncoder;\n};\n\ninterface TextEncoderCommon {\n /**\n * Returns "utf-8".\n */\n readonly encoding: string;\n}\n\ninterface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {\n readonly readable: ReadableStream<Uint8Array>;\n readonly writable: WritableStream<string>;\n}\n\ndeclare var TextEncoderStream: {\n prototype: TextEncoderStream;\n new(): TextEncoderStream;\n};\n\n/** The dimensions of a piece of text in the canvas, as created by the CanvasRenderingContext2D.measureText() method. */\ninterface TextMetrics {\n /**\n * Returns the measurement described below.\n */\n readonly actualBoundingBoxAscent: number;\n /**\n * Returns the measurement described below.\n */\n readonly actualBoundingBoxDescent: number;\n /**\n * Returns the measurement described below.\n */\n readonly actualBoundingBoxLeft: number;\n /**\n * Returns the measurement described below.\n */\n readonly actualBoundingBoxRight: number;\n /**\n * Returns the measurement described below.\n */\n readonly fontBoundingBoxAscent: number;\n /**\n * Returns the measurement described below.\n */\n readonly fontBoundingBoxDescent: number;\n /**\n * Returns the measurement described below.\n */\n readonly width: number;\n}\n\ndeclare var TextMetrics: {\n prototype: TextMetrics;\n new(): TextMetrics;\n};\n\ninterface TextTrackEventMap {\n "cuechange": Event;\n}\n\n/** This interface also inherits properties from EventTarget. */\ninterface TextTrack extends EventTarget {\n /**\n * Returns the text track cues from the text track list of cues that are currently active (i.e. that start before the current playback position and end after it), as a TextTrackCueList object.\n */\n readonly activeCues: TextTrackCueList | null;\n /**\n * Returns the text track list of cues, as a TextTrackCueList object.\n */\n readonly cues: TextTrackCueList | null;\n /**\n * Returns the ID of the given track.\n *\n * For in-band tracks, this is the ID that can be used with a fragment if the format supports media fragment syntax, and that can be used with the getTrackById() method.\n *\n * For TextTrack objects corresponding to track elements, this is the ID of the track element.\n */\n readonly id: string;\n /**\n * Returns the text track in-band metadata track dispatch type string.\n */\n readonly inBandMetadataTrackDispatchType: string;\n /**\n * Returns the text track kind string.\n */\n readonly kind: TextTrackKind;\n /**\n * Returns the text track label, if there is one, or the empty string otherwise (indicating that a custom label probably needs to be generated from the other attributes of the object if the object is exposed to the user).\n */\n readonly label: string;\n /**\n * Returns the text track language string.\n */\n readonly language: string;\n /**\n * Returns the text track mode, represented by a string from the following list:\n *\n * Can be set, to change the mode.\n */\n mode: TextTrackMode;\n oncuechange: ((this: TextTrack, ev: Event) => any) | null;\n /**\n * Adds the given cue to textTrack\'s text track list of cues.\n */\n addCue(cue: TextTrackCue): void;\n /**\n * Removes the given cue from textTrack\'s text track list of cues.\n */\n removeCue(cue: TextTrackCue): void;\n addEventListener<K extends keyof TextTrackEventMap>(type: K, listener: (this: TextTrack, ev: TextTrackEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof TextTrackEventMap>(type: K, listener: (this: TextTrack, ev: TextTrackEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var TextTrack: {\n prototype: TextTrack;\n new(): TextTrack;\n};\n\ninterface TextTrackCueEventMap {\n "enter": Event;\n "exit": Event;\n}\n\n/** TextTrackCues represent a string of text that will be displayed for some duration of time on a TextTrack. This includes the start and end times that the cue will be displayed. A TextTrackCue cannot be used directly, instead one of the derived types (e.g. VTTCue) must be used. */\ninterface TextTrackCue extends EventTarget {\n /**\n * Returns the text track cue end time, in seconds.\n *\n * Can be set.\n */\n endTime: number;\n /**\n * Returns the text track cue identifier.\n *\n * Can be set.\n */\n id: string;\n onenter: ((this: TextTrackCue, ev: Event) => any) | null;\n onexit: ((this: TextTrackCue, ev: Event) => any) | null;\n /**\n * Returns true if the text track cue pause-on-exit flag is set, false otherwise.\n *\n * Can be set.\n */\n pauseOnExit: boolean;\n /**\n * Returns the text track cue start time, in seconds.\n *\n * Can be set.\n */\n startTime: number;\n /**\n * Returns the TextTrack object to which this text track cue belongs, if any, or null otherwise.\n */\n readonly track: TextTrack | null;\n addEventListener<K extends keyof TextTrackCueEventMap>(type: K, listener: (this: TextTrackCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof TextTrackCueEventMap>(type: K, listener: (this: TextTrackCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var TextTrackCue: {\n prototype: TextTrackCue;\n new(): TextTrackCue;\n};\n\ninterface TextTrackCueList {\n /**\n * Returns the number of cues in the list.\n */\n readonly length: number;\n /**\n * Returns the first text track cue (in text track cue order) with text track cue identifier id.\n *\n * Returns null if none of the cues have the given identifier or if the argument is the empty string.\n */\n getCueById(id: string): TextTrackCue | null;\n [index: number]: TextTrackCue;\n}\n\ndeclare var TextTrackCueList: {\n prototype: TextTrackCueList;\n new(): TextTrackCueList;\n};\n\ninterface TextTrackListEventMap {\n "addtrack": TrackEvent;\n "change": Event;\n "removetrack": TrackEvent;\n}\n\ninterface TextTrackList extends EventTarget {\n readonly length: number;\n onaddtrack: ((this: TextTrackList, ev: TrackEvent) => any) | null;\n onchange: ((this: TextTrackList, ev: Event) => any) | null;\n onremovetrack: ((this: TextTrackList, ev: TrackEvent) => any) | null;\n getTrackById(id: string): TextTrack | null;\n addEventListener<K extends keyof TextTrackListEventMap>(type: K, listener: (this: TextTrackList, ev: TextTrackListEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof TextTrackListEventMap>(type: K, listener: (this: TextTrackList, ev: TextTrackListEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n [index: number]: TextTrack;\n}\n\ndeclare var TextTrackList: {\n prototype: TextTrackList;\n new(): TextTrackList;\n};\n\n/** Used to represent a set of time ranges, primarily for the purpose of tracking which portions of media have been buffered when loading it for use by the <audio> and <video> elements. */\ninterface TimeRanges {\n /**\n * Returns the number of ranges in the object.\n */\n readonly length: number;\n /**\n * Returns the time for the end of the range with the given index.\n *\n * Throws an "IndexSizeError" DOMException if the index is out of range.\n */\n end(index: number): number;\n /**\n * Returns the time for the start of the range with the given index.\n *\n * Throws an "IndexSizeError" DOMException if the index is out of range.\n */\n start(index: number): number;\n}\n\ndeclare var TimeRanges: {\n prototype: TimeRanges;\n new(): TimeRanges;\n};\n\n/** A single contact point on a touch-sensitive device. The contact point is commonly a finger or stylus and the device may be a touchscreen or trackpad. */\ninterface Touch {\n readonly clientX: number;\n readonly clientY: number;\n readonly force: number;\n readonly identifier: number;\n readonly pageX: number;\n readonly pageY: number;\n readonly radiusX: number;\n readonly radiusY: number;\n readonly rotationAngle: number;\n readonly screenX: number;\n readonly screenY: number;\n readonly target: EventTarget;\n}\n\ndeclare var Touch: {\n prototype: Touch;\n new(touchInitDict: TouchInit): Touch;\n};\n\n/** An event sent when the state of contacts with a touch-sensitive surface changes. This surface can be a touch screen or trackpad, for example. The event can describe one or more points of contact with the screen and includes support for detecting movement, addition and removal of contact points, and so forth. */\ninterface TouchEvent extends UIEvent {\n readonly altKey: boolean;\n readonly changedTouches: TouchList;\n readonly ctrlKey: boolean;\n readonly metaKey: boolean;\n readonly shiftKey: boolean;\n readonly targetTouches: TouchList;\n readonly touches: TouchList;\n}\n\ndeclare var TouchEvent: {\n prototype: TouchEvent;\n new(type: string, eventInitDict?: TouchEventInit): TouchEvent;\n};\n\n/** A list of contact points on a touch surface. For example, if the user has three fingers on the touch surface (such as a screen or trackpad), the corresponding TouchList object would have one Touch object for each finger, for a total of three entries. */\ninterface TouchList {\n readonly length: number;\n item(index: number): Touch | null;\n [index: number]: Touch;\n}\n\ndeclare var TouchList: {\n prototype: TouchList;\n new(): TouchList;\n};\n\n/** The TrackEvent interface, part of the HTML DOM specification, is used for events which represent changes to the set of available tracks on an HTML media element; these events are addtrack and removetrack. */\ninterface TrackEvent extends Event {\n /**\n * Returns the track object (TextTrack, AudioTrack, or VideoTrack) to which the event relates.\n */\n readonly track: TextTrack | null;\n}\n\ndeclare var TrackEvent: {\n prototype: TrackEvent;\n new(type: string, eventInitDict?: TrackEventInit): TrackEvent;\n};\n\ninterface TransformStream<I = any, O = any> {\n readonly readable: ReadableStream<O>;\n readonly writable: WritableStream<I>;\n}\n\ndeclare var TransformStream: {\n prototype: TransformStream;\n new<I = any, O = any>(transformer?: Transformer<I, O>, writableStrategy?: QueuingStrategy<I>, readableStrategy?: QueuingStrategy<O>): TransformStream<I, O>;\n};\n\ninterface TransformStreamDefaultController<O = any> {\n readonly desiredSize: number | null;\n enqueue(chunk?: O): void;\n error(reason?: any): void;\n terminate(): void;\n}\n\ndeclare var TransformStreamDefaultController: {\n prototype: TransformStreamDefaultController;\n new(): TransformStreamDefaultController;\n};\n\n/** Events providing information related to transitions. */\ninterface TransitionEvent extends Event {\n readonly elapsedTime: number;\n readonly propertyName: string;\n readonly pseudoElement: string;\n}\n\ndeclare var TransitionEvent: {\n prototype: TransitionEvent;\n new(type: string, transitionEventInitDict?: TransitionEventInit): TransitionEvent;\n};\n\n/** The nodes of a document subtree and a position within them. */\ninterface TreeWalker {\n currentNode: Node;\n readonly filter: NodeFilter | null;\n readonly root: Node;\n readonly whatToShow: number;\n firstChild(): Node | null;\n lastChild(): Node | null;\n nextNode(): Node | null;\n nextSibling(): Node | null;\n parentNode(): Node | null;\n previousNode(): Node | null;\n previousSibling(): Node | null;\n}\n\ndeclare var TreeWalker: {\n prototype: TreeWalker;\n new(): TreeWalker;\n};\n\n/** Simple user interface events. */\ninterface UIEvent extends Event {\n readonly detail: number;\n readonly view: Window | null;\n /** @deprecated */\n readonly which: number;\n /** @deprecated */\n initUIEvent(typeArg: string, bubblesArg?: boolean, cancelableArg?: boolean, viewArg?: Window | null, detailArg?: number): void;\n}\n\ndeclare var UIEvent: {\n prototype: UIEvent;\n new(type: string, eventInitDict?: UIEventInit): UIEvent;\n};\n\n/** The URL interface represents an object providing static methods used for creating object URLs. */\ninterface URL {\n hash: string;\n host: string;\n hostname: string;\n href: string;\n toString(): string;\n readonly origin: string;\n password: string;\n pathname: string;\n port: string;\n protocol: string;\n search: string;\n readonly searchParams: URLSearchParams;\n username: string;\n toJSON(): string;\n}\n\ndeclare var URL: {\n prototype: URL;\n new(url: string | URL, base?: string | URL): URL;\n createObjectURL(object: any): string;\n revokeObjectURL(url: string): void;\n};\n\ntype webkitURL = URL;\ndeclare var webkitURL: typeof URL;\n\ninterface URLSearchParams {\n /**\n * Appends a specified key/value pair as a new search parameter.\n */\n append(name: string, value: string): void;\n /**\n * Deletes the given search parameter, and its associated value, from the list of all search parameters.\n */\n delete(name: string): void;\n /**\n * Returns the first value associated to the given search parameter.\n */\n get(name: string): string | null;\n /**\n * Returns all the values association with a given search parameter.\n */\n getAll(name: string): string[];\n /**\n * Returns a Boolean indicating if such a search parameter exists.\n */\n has(name: string): boolean;\n /**\n * Sets the value associated to a given search parameter to the given value. If there were several values, delete the others.\n */\n set(name: string, value: string): void;\n sort(): void;\n /**\n * Returns a string containing a query string suitable for use in a URL. Does not include the question mark.\n */\n toString(): string;\n forEach(callbackfn: (value: string, key: string, parent: URLSearchParams) => void, thisArg?: any): void;\n}\n\ndeclare var URLSearchParams: {\n prototype: URLSearchParams;\n new(init?: string[][] | Record<string, string> | string | URLSearchParams): URLSearchParams;\n toString(): string;\n};\n\ninterface VTTCue extends TextTrackCue {\n align: AlignSetting;\n line: LineAndPositionSetting;\n lineAlign: LineAlignSetting;\n position: LineAndPositionSetting;\n positionAlign: PositionAlignSetting;\n region: VTTRegion | null;\n size: number;\n snapToLines: boolean;\n text: string;\n vertical: DirectionSetting;\n getCueAsHTML(): DocumentFragment;\n addEventListener<K extends keyof TextTrackCueEventMap>(type: K, listener: (this: VTTCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof TextTrackCueEventMap>(type: K, listener: (this: VTTCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var VTTCue: {\n prototype: VTTCue;\n new(startTime: number, endTime: number, text: string): VTTCue;\n};\n\ninterface VTTRegion {\n id: string;\n lines: number;\n regionAnchorX: number;\n regionAnchorY: number;\n scroll: ScrollSetting;\n viewportAnchorX: number;\n viewportAnchorY: number;\n width: number;\n}\n\ndeclare var VTTRegion: {\n prototype: VTTRegion;\n new(): VTTRegion;\n};\n\n/** The validity states that an element can be in, with respect to constraint validation. Together, they help explain why an element\'s value fails to validate, if it\'s not valid. */\ninterface ValidityState {\n readonly badInput: boolean;\n readonly customError: boolean;\n readonly patternMismatch: boolean;\n readonly rangeOverflow: boolean;\n readonly rangeUnderflow: boolean;\n readonly stepMismatch: boolean;\n readonly tooLong: boolean;\n readonly tooShort: boolean;\n readonly typeMismatch: boolean;\n readonly valid: boolean;\n readonly valueMissing: boolean;\n}\n\ndeclare var ValidityState: {\n prototype: ValidityState;\n new(): ValidityState;\n};\n\n/** Returned by the HTMLVideoElement.getVideoPlaybackQuality() method and contains metrics that can be used to determine the playback quality of a video. */\ninterface VideoPlaybackQuality {\n /** @deprecated */\n readonly corruptedVideoFrames: number;\n readonly creationTime: DOMHighResTimeStamp;\n readonly droppedVideoFrames: number;\n readonly totalVideoFrames: number;\n}\n\ndeclare var VideoPlaybackQuality: {\n prototype: VideoPlaybackQuality;\n new(): VideoPlaybackQuality;\n};\n\ninterface VisualViewportEventMap {\n "resize": Event;\n "scroll": Event;\n}\n\ninterface VisualViewport extends EventTarget {\n readonly height: number;\n readonly offsetLeft: number;\n readonly offsetTop: number;\n onresize: ((this: VisualViewport, ev: Event) => any) | null;\n onscroll: ((this: VisualViewport, ev: Event) => any) | null;\n readonly pageLeft: number;\n readonly pageTop: number;\n readonly scale: number;\n readonly width: number;\n addEventListener<K extends keyof VisualViewportEventMap>(type: K, listener: (this: VisualViewport, ev: VisualViewportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof VisualViewportEventMap>(type: K, listener: (this: VisualViewport, ev: VisualViewportEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var VisualViewport: {\n prototype: VisualViewport;\n new(): VisualViewport;\n};\n\ninterface WEBGL_color_buffer_float {\n readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: GLenum;\n readonly RGBA32F_EXT: GLenum;\n readonly UNSIGNED_NORMALIZED_EXT: GLenum;\n}\n\ninterface WEBGL_compressed_texture_astc {\n getSupportedProfiles(): string[];\n readonly COMPRESSED_RGBA_ASTC_10x10_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_10x5_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_10x6_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_10x8_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_12x10_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_12x12_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_4x4_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_5x4_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_5x5_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_6x5_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_6x6_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_8x5_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_8x6_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_8x8_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR: GLenum;\n}\n\ninterface WEBGL_compressed_texture_etc {\n readonly COMPRESSED_R11_EAC: GLenum;\n readonly COMPRESSED_RG11_EAC: GLenum;\n readonly COMPRESSED_RGB8_ETC2: GLenum;\n readonly COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2: GLenum;\n readonly COMPRESSED_RGBA8_ETC2_EAC: GLenum;\n readonly COMPRESSED_SIGNED_R11_EAC: GLenum;\n readonly COMPRESSED_SIGNED_RG11_EAC: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ETC2_EAC: GLenum;\n readonly COMPRESSED_SRGB8_ETC2: GLenum;\n readonly COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2: GLenum;\n}\n\ninterface WEBGL_compressed_texture_etc1 {\n readonly COMPRESSED_RGB_ETC1_WEBGL: GLenum;\n}\n\ninterface WEBGL_compressed_texture_pvrtc {\n readonly COMPRESSED_RGBA_PVRTC_2BPPV1_IMG: GLenum;\n readonly COMPRESSED_RGBA_PVRTC_4BPPV1_IMG: GLenum;\n readonly COMPRESSED_RGB_PVRTC_2BPPV1_IMG: GLenum;\n readonly COMPRESSED_RGB_PVRTC_4BPPV1_IMG: GLenum;\n}\n\n/** The WEBGL_compressed_texture_s3tc extension is part of the WebGL API and exposes four S3TC compressed texture formats. */\ninterface WEBGL_compressed_texture_s3tc {\n readonly COMPRESSED_RGBA_S3TC_DXT1_EXT: GLenum;\n readonly COMPRESSED_RGBA_S3TC_DXT3_EXT: GLenum;\n readonly COMPRESSED_RGBA_S3TC_DXT5_EXT: GLenum;\n readonly COMPRESSED_RGB_S3TC_DXT1_EXT: GLenum;\n}\n\ninterface WEBGL_compressed_texture_s3tc_srgb {\n readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: GLenum;\n readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: GLenum;\n readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT: GLenum;\n readonly COMPRESSED_SRGB_S3TC_DXT1_EXT: GLenum;\n}\n\n/** The WEBGL_debug_renderer_info extension is part of the WebGL API and exposes two constants with information about the graphics driver for debugging purposes. */\ninterface WEBGL_debug_renderer_info {\n readonly UNMASKED_RENDERER_WEBGL: GLenum;\n readonly UNMASKED_VENDOR_WEBGL: GLenum;\n}\n\ninterface WEBGL_debug_shaders {\n getTranslatedShaderSource(shader: WebGLShader): string;\n}\n\n/** The WEBGL_depth_texture extension is part of the WebGL API and defines 2D depth and depth-stencil textures. */\ninterface WEBGL_depth_texture {\n readonly UNSIGNED_INT_24_8_WEBGL: GLenum;\n}\n\ninterface WEBGL_draw_buffers {\n drawBuffersWEBGL(buffers: GLenum[]): void;\n readonly COLOR_ATTACHMENT0_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT10_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT11_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT12_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT13_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT14_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT15_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT1_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT2_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT3_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT4_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT5_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT6_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT7_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT8_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT9_WEBGL: GLenum;\n readonly DRAW_BUFFER0_WEBGL: GLenum;\n readonly DRAW_BUFFER10_WEBGL: GLenum;\n readonly DRAW_BUFFER11_WEBGL: GLenum;\n readonly DRAW_BUFFER12_WEBGL: GLenum;\n readonly DRAW_BUFFER13_WEBGL: GLenum;\n readonly DRAW_BUFFER14_WEBGL: GLenum;\n readonly DRAW_BUFFER15_WEBGL: GLenum;\n readonly DRAW_BUFFER1_WEBGL: GLenum;\n readonly DRAW_BUFFER2_WEBGL: GLenum;\n readonly DRAW_BUFFER3_WEBGL: GLenum;\n readonly DRAW_BUFFER4_WEBGL: GLenum;\n readonly DRAW_BUFFER5_WEBGL: GLenum;\n readonly DRAW_BUFFER6_WEBGL: GLenum;\n readonly DRAW_BUFFER7_WEBGL: GLenum;\n readonly DRAW_BUFFER8_WEBGL: GLenum;\n readonly DRAW_BUFFER9_WEBGL: GLenum;\n readonly MAX_COLOR_ATTACHMENTS_WEBGL: GLenum;\n readonly MAX_DRAW_BUFFERS_WEBGL: GLenum;\n}\n\ninterface WEBGL_lose_context {\n loseContext(): void;\n restoreContext(): void;\n}\n\n/** A WaveShaperNode always has exactly one input and one output. */\ninterface WaveShaperNode extends AudioNode {\n curve: Float32Array | null;\n oversample: OverSampleType;\n}\n\ndeclare var WaveShaperNode: {\n prototype: WaveShaperNode;\n new(context: BaseAudioContext, options?: WaveShaperOptions): WaveShaperNode;\n};\n\ninterface WebGL2RenderingContext extends WebGL2RenderingContextBase, WebGL2RenderingContextOverloads, WebGLRenderingContextBase {\n}\n\ndeclare var WebGL2RenderingContext: {\n prototype: WebGL2RenderingContext;\n new(): WebGL2RenderingContext;\n readonly ACTIVE_UNIFORM_BLOCKS: GLenum;\n readonly ALREADY_SIGNALED: GLenum;\n readonly ANY_SAMPLES_PASSED: GLenum;\n readonly ANY_SAMPLES_PASSED_CONSERVATIVE: GLenum;\n readonly COLOR: GLenum;\n readonly COLOR_ATTACHMENT1: GLenum;\n readonly COLOR_ATTACHMENT10: GLenum;\n readonly COLOR_ATTACHMENT11: GLenum;\n readonly COLOR_ATTACHMENT12: GLenum;\n readonly COLOR_ATTACHMENT13: GLenum;\n readonly COLOR_ATTACHMENT14: GLenum;\n readonly COLOR_ATTACHMENT15: GLenum;\n readonly COLOR_ATTACHMENT2: GLenum;\n readonly COLOR_ATTACHMENT3: GLenum;\n readonly COLOR_ATTACHMENT4: GLenum;\n readonly COLOR_ATTACHMENT5: GLenum;\n readonly COLOR_ATTACHMENT6: GLenum;\n readonly COLOR_ATTACHMENT7: GLenum;\n readonly COLOR_ATTACHMENT8: GLenum;\n readonly COLOR_ATTACHMENT9: GLenum;\n readonly COMPARE_REF_TO_TEXTURE: GLenum;\n readonly CONDITION_SATISFIED: GLenum;\n readonly COPY_READ_BUFFER: GLenum;\n readonly COPY_READ_BUFFER_BINDING: GLenum;\n readonly COPY_WRITE_BUFFER: GLenum;\n readonly COPY_WRITE_BUFFER_BINDING: GLenum;\n readonly CURRENT_QUERY: GLenum;\n readonly DEPTH: GLenum;\n readonly DEPTH24_STENCIL8: GLenum;\n readonly DEPTH32F_STENCIL8: GLenum;\n readonly DEPTH_COMPONENT24: GLenum;\n readonly DEPTH_COMPONENT32F: GLenum;\n readonly DRAW_BUFFER0: GLenum;\n readonly DRAW_BUFFER1: GLenum;\n readonly DRAW_BUFFER10: GLenum;\n readonly DRAW_BUFFER11: GLenum;\n readonly DRAW_BUFFER12: GLenum;\n readonly DRAW_BUFFER13: GLenum;\n readonly DRAW_BUFFER14: GLenum;\n readonly DRAW_BUFFER15: GLenum;\n readonly DRAW_BUFFER2: GLenum;\n readonly DRAW_BUFFER3: GLenum;\n readonly DRAW_BUFFER4: GLenum;\n readonly DRAW_BUFFER5: GLenum;\n readonly DRAW_BUFFER6: GLenum;\n readonly DRAW_BUFFER7: GLenum;\n readonly DRAW_BUFFER8: GLenum;\n readonly DRAW_BUFFER9: GLenum;\n readonly DRAW_FRAMEBUFFER: GLenum;\n readonly DRAW_FRAMEBUFFER_BINDING: GLenum;\n readonly DYNAMIC_COPY: GLenum;\n readonly DYNAMIC_READ: GLenum;\n readonly FLOAT_32_UNSIGNED_INT_24_8_REV: GLenum;\n readonly FLOAT_MAT2x3: GLenum;\n readonly FLOAT_MAT2x4: GLenum;\n readonly FLOAT_MAT3x2: GLenum;\n readonly FLOAT_MAT3x4: GLenum;\n readonly FLOAT_MAT4x2: GLenum;\n readonly FLOAT_MAT4x3: GLenum;\n readonly FRAGMENT_SHADER_DERIVATIVE_HINT: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_RED_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: GLenum;\n readonly FRAMEBUFFER_DEFAULT: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: GLenum;\n readonly HALF_FLOAT: GLenum;\n readonly INTERLEAVED_ATTRIBS: GLenum;\n readonly INT_2_10_10_10_REV: GLenum;\n readonly INT_SAMPLER_2D: GLenum;\n readonly INT_SAMPLER_2D_ARRAY: GLenum;\n readonly INT_SAMPLER_3D: GLenum;\n readonly INT_SAMPLER_CUBE: GLenum;\n readonly INVALID_INDEX: GLenum;\n readonly MAX: GLenum;\n readonly MAX_3D_TEXTURE_SIZE: GLenum;\n readonly MAX_ARRAY_TEXTURE_LAYERS: GLenum;\n readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL: GLenum;\n readonly MAX_COLOR_ATTACHMENTS: GLenum;\n readonly MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_COMBINED_UNIFORM_BLOCKS: GLenum;\n readonly MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_DRAW_BUFFERS: GLenum;\n readonly MAX_ELEMENTS_INDICES: GLenum;\n readonly MAX_ELEMENTS_VERTICES: GLenum;\n readonly MAX_ELEMENT_INDEX: GLenum;\n readonly MAX_FRAGMENT_INPUT_COMPONENTS: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_BLOCKS: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_PROGRAM_TEXEL_OFFSET: GLenum;\n readonly MAX_SAMPLES: GLenum;\n readonly MAX_SERVER_WAIT_TIMEOUT: GLenum;\n readonly MAX_TEXTURE_LOD_BIAS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: GLenum;\n readonly MAX_UNIFORM_BLOCK_SIZE: GLenum;\n readonly MAX_UNIFORM_BUFFER_BINDINGS: GLenum;\n readonly MAX_VARYING_COMPONENTS: GLenum;\n readonly MAX_VERTEX_OUTPUT_COMPONENTS: GLenum;\n readonly MAX_VERTEX_UNIFORM_BLOCKS: GLenum;\n readonly MAX_VERTEX_UNIFORM_COMPONENTS: GLenum;\n readonly MIN: GLenum;\n readonly MIN_PROGRAM_TEXEL_OFFSET: GLenum;\n readonly OBJECT_TYPE: GLenum;\n readonly PACK_ROW_LENGTH: GLenum;\n readonly PACK_SKIP_PIXELS: GLenum;\n readonly PACK_SKIP_ROWS: GLenum;\n readonly PIXEL_PACK_BUFFER: GLenum;\n readonly PIXEL_PACK_BUFFER_BINDING: GLenum;\n readonly PIXEL_UNPACK_BUFFER: GLenum;\n readonly PIXEL_UNPACK_BUFFER_BINDING: GLenum;\n readonly QUERY_RESULT: GLenum;\n readonly QUERY_RESULT_AVAILABLE: GLenum;\n readonly R11F_G11F_B10F: GLenum;\n readonly R16F: GLenum;\n readonly R16I: GLenum;\n readonly R16UI: GLenum;\n readonly R32F: GLenum;\n readonly R32I: GLenum;\n readonly R32UI: GLenum;\n readonly R8: GLenum;\n readonly R8I: GLenum;\n readonly R8UI: GLenum;\n readonly R8_SNORM: GLenum;\n readonly RASTERIZER_DISCARD: GLenum;\n readonly READ_BUFFER: GLenum;\n readonly READ_FRAMEBUFFER: GLenum;\n readonly READ_FRAMEBUFFER_BINDING: GLenum;\n readonly RED: GLenum;\n readonly RED_INTEGER: GLenum;\n readonly RENDERBUFFER_SAMPLES: GLenum;\n readonly RG: GLenum;\n readonly RG16F: GLenum;\n readonly RG16I: GLenum;\n readonly RG16UI: GLenum;\n readonly RG32F: GLenum;\n readonly RG32I: GLenum;\n readonly RG32UI: GLenum;\n readonly RG8: GLenum;\n readonly RG8I: GLenum;\n readonly RG8UI: GLenum;\n readonly RG8_SNORM: GLenum;\n readonly RGB10_A2: GLenum;\n readonly RGB10_A2UI: GLenum;\n readonly RGB16F: GLenum;\n readonly RGB16I: GLenum;\n readonly RGB16UI: GLenum;\n readonly RGB32F: GLenum;\n readonly RGB32I: GLenum;\n readonly RGB32UI: GLenum;\n readonly RGB8: GLenum;\n readonly RGB8I: GLenum;\n readonly RGB8UI: GLenum;\n readonly RGB8_SNORM: GLenum;\n readonly RGB9_E5: GLenum;\n readonly RGBA16F: GLenum;\n readonly RGBA16I: GLenum;\n readonly RGBA16UI: GLenum;\n readonly RGBA32F: GLenum;\n readonly RGBA32I: GLenum;\n readonly RGBA32UI: GLenum;\n readonly RGBA8: GLenum;\n readonly RGBA8I: GLenum;\n readonly RGBA8UI: GLenum;\n readonly RGBA8_SNORM: GLenum;\n readonly RGBA_INTEGER: GLenum;\n readonly RGB_INTEGER: GLenum;\n readonly RG_INTEGER: GLenum;\n readonly SAMPLER_2D_ARRAY: GLenum;\n readonly SAMPLER_2D_ARRAY_SHADOW: GLenum;\n readonly SAMPLER_2D_SHADOW: GLenum;\n readonly SAMPLER_3D: GLenum;\n readonly SAMPLER_BINDING: GLenum;\n readonly SAMPLER_CUBE_SHADOW: GLenum;\n readonly SEPARATE_ATTRIBS: GLenum;\n readonly SIGNALED: GLenum;\n readonly SIGNED_NORMALIZED: GLenum;\n readonly SRGB: GLenum;\n readonly SRGB8: GLenum;\n readonly SRGB8_ALPHA8: GLenum;\n readonly STATIC_COPY: GLenum;\n readonly STATIC_READ: GLenum;\n readonly STENCIL: GLenum;\n readonly STREAM_COPY: GLenum;\n readonly STREAM_READ: GLenum;\n readonly SYNC_CONDITION: GLenum;\n readonly SYNC_FENCE: GLenum;\n readonly SYNC_FLAGS: GLenum;\n readonly SYNC_FLUSH_COMMANDS_BIT: GLenum;\n readonly SYNC_GPU_COMMANDS_COMPLETE: GLenum;\n readonly SYNC_STATUS: GLenum;\n readonly TEXTURE_2D_ARRAY: GLenum;\n readonly TEXTURE_3D: GLenum;\n readonly TEXTURE_BASE_LEVEL: GLenum;\n readonly TEXTURE_BINDING_2D_ARRAY: GLenum;\n readonly TEXTURE_BINDING_3D: GLenum;\n readonly TEXTURE_COMPARE_FUNC: GLenum;\n readonly TEXTURE_COMPARE_MODE: GLenum;\n readonly TEXTURE_IMMUTABLE_FORMAT: GLenum;\n readonly TEXTURE_IMMUTABLE_LEVELS: GLenum;\n readonly TEXTURE_MAX_LEVEL: GLenum;\n readonly TEXTURE_MAX_LOD: GLenum;\n readonly TEXTURE_MIN_LOD: GLenum;\n readonly TEXTURE_WRAP_R: GLenum;\n readonly TIMEOUT_EXPIRED: GLenum;\n readonly TIMEOUT_IGNORED: GLint64;\n readonly TRANSFORM_FEEDBACK: GLenum;\n readonly TRANSFORM_FEEDBACK_ACTIVE: GLenum;\n readonly TRANSFORM_FEEDBACK_BINDING: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_BINDING: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_MODE: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_SIZE: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_START: GLenum;\n readonly TRANSFORM_FEEDBACK_PAUSED: GLenum;\n readonly TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: GLenum;\n readonly TRANSFORM_FEEDBACK_VARYINGS: GLenum;\n readonly UNIFORM_ARRAY_STRIDE: GLenum;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORMS: GLenum;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: GLenum;\n readonly UNIFORM_BLOCK_BINDING: GLenum;\n readonly UNIFORM_BLOCK_DATA_SIZE: GLenum;\n readonly UNIFORM_BLOCK_INDEX: GLenum;\n readonly UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: GLenum;\n readonly UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: GLenum;\n readonly UNIFORM_BUFFER: GLenum;\n readonly UNIFORM_BUFFER_BINDING: GLenum;\n readonly UNIFORM_BUFFER_OFFSET_ALIGNMENT: GLenum;\n readonly UNIFORM_BUFFER_SIZE: GLenum;\n readonly UNIFORM_BUFFER_START: GLenum;\n readonly UNIFORM_IS_ROW_MAJOR: GLenum;\n readonly UNIFORM_MATRIX_STRIDE: GLenum;\n readonly UNIFORM_OFFSET: GLenum;\n readonly UNIFORM_SIZE: GLenum;\n readonly UNIFORM_TYPE: GLenum;\n readonly UNPACK_IMAGE_HEIGHT: GLenum;\n readonly UNPACK_ROW_LENGTH: GLenum;\n readonly UNPACK_SKIP_IMAGES: GLenum;\n readonly UNPACK_SKIP_PIXELS: GLenum;\n readonly UNPACK_SKIP_ROWS: GLenum;\n readonly UNSIGNALED: GLenum;\n readonly UNSIGNED_INT_10F_11F_11F_REV: GLenum;\n readonly UNSIGNED_INT_24_8: GLenum;\n readonly UNSIGNED_INT_2_10_10_10_REV: GLenum;\n readonly UNSIGNED_INT_5_9_9_9_REV: GLenum;\n readonly UNSIGNED_INT_SAMPLER_2D: GLenum;\n readonly UNSIGNED_INT_SAMPLER_2D_ARRAY: GLenum;\n readonly UNSIGNED_INT_SAMPLER_3D: GLenum;\n readonly UNSIGNED_INT_SAMPLER_CUBE: GLenum;\n readonly UNSIGNED_INT_VEC2: GLenum;\n readonly UNSIGNED_INT_VEC3: GLenum;\n readonly UNSIGNED_INT_VEC4: GLenum;\n readonly UNSIGNED_NORMALIZED: GLenum;\n readonly VERTEX_ARRAY_BINDING: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_DIVISOR: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_INTEGER: GLenum;\n readonly WAIT_FAILED: GLenum;\n readonly ACTIVE_ATTRIBUTES: GLenum;\n readonly ACTIVE_TEXTURE: GLenum;\n readonly ACTIVE_UNIFORMS: GLenum;\n readonly ALIASED_LINE_WIDTH_RANGE: GLenum;\n readonly ALIASED_POINT_SIZE_RANGE: GLenum;\n readonly ALPHA: GLenum;\n readonly ALPHA_BITS: GLenum;\n readonly ALWAYS: GLenum;\n readonly ARRAY_BUFFER: GLenum;\n readonly ARRAY_BUFFER_BINDING: GLenum;\n readonly ATTACHED_SHADERS: GLenum;\n readonly BACK: GLenum;\n readonly BLEND: GLenum;\n readonly BLEND_COLOR: GLenum;\n readonly BLEND_DST_ALPHA: GLenum;\n readonly BLEND_DST_RGB: GLenum;\n readonly BLEND_EQUATION: GLenum;\n readonly BLEND_EQUATION_ALPHA: GLenum;\n readonly BLEND_EQUATION_RGB: GLenum;\n readonly BLEND_SRC_ALPHA: GLenum;\n readonly BLEND_SRC_RGB: GLenum;\n readonly BLUE_BITS: GLenum;\n readonly BOOL: GLenum;\n readonly BOOL_VEC2: GLenum;\n readonly BOOL_VEC3: GLenum;\n readonly BOOL_VEC4: GLenum;\n readonly BROWSER_DEFAULT_WEBGL: GLenum;\n readonly BUFFER_SIZE: GLenum;\n readonly BUFFER_USAGE: GLenum;\n readonly BYTE: GLenum;\n readonly CCW: GLenum;\n readonly CLAMP_TO_EDGE: GLenum;\n readonly COLOR_ATTACHMENT0: GLenum;\n readonly COLOR_BUFFER_BIT: GLenum;\n readonly COLOR_CLEAR_VALUE: GLenum;\n readonly COLOR_WRITEMASK: GLenum;\n readonly COMPILE_STATUS: GLenum;\n readonly COMPRESSED_TEXTURE_FORMATS: GLenum;\n readonly CONSTANT_ALPHA: GLenum;\n readonly CONSTANT_COLOR: GLenum;\n readonly CONTEXT_LOST_WEBGL: GLenum;\n readonly CULL_FACE: GLenum;\n readonly CULL_FACE_MODE: GLenum;\n readonly CURRENT_PROGRAM: GLenum;\n readonly CURRENT_VERTEX_ATTRIB: GLenum;\n readonly CW: GLenum;\n readonly DECR: GLenum;\n readonly DECR_WRAP: GLenum;\n readonly DELETE_STATUS: GLenum;\n readonly DEPTH_ATTACHMENT: GLenum;\n readonly DEPTH_BITS: GLenum;\n readonly DEPTH_BUFFER_BIT: GLenum;\n readonly DEPTH_CLEAR_VALUE: GLenum;\n readonly DEPTH_COMPONENT: GLenum;\n readonly DEPTH_COMPONENT16: GLenum;\n readonly DEPTH_FUNC: GLenum;\n readonly DEPTH_RANGE: GLenum;\n readonly DEPTH_STENCIL: GLenum;\n readonly DEPTH_STENCIL_ATTACHMENT: GLenum;\n readonly DEPTH_TEST: GLenum;\n readonly DEPTH_WRITEMASK: GLenum;\n readonly DITHER: GLenum;\n readonly DONT_CARE: GLenum;\n readonly DST_ALPHA: GLenum;\n readonly DST_COLOR: GLenum;\n readonly DYNAMIC_DRAW: GLenum;\n readonly ELEMENT_ARRAY_BUFFER: GLenum;\n readonly ELEMENT_ARRAY_BUFFER_BINDING: GLenum;\n readonly EQUAL: GLenum;\n readonly FASTEST: GLenum;\n readonly FLOAT: GLenum;\n readonly FLOAT_MAT2: GLenum;\n readonly FLOAT_MAT3: GLenum;\n readonly FLOAT_MAT4: GLenum;\n readonly FLOAT_VEC2: GLenum;\n readonly FLOAT_VEC3: GLenum;\n readonly FLOAT_VEC4: GLenum;\n readonly FRAGMENT_SHADER: GLenum;\n readonly FRAMEBUFFER: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: GLenum;\n readonly FRAMEBUFFER_BINDING: GLenum;\n readonly FRAMEBUFFER_COMPLETE: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_UNSUPPORTED: GLenum;\n readonly FRONT: GLenum;\n readonly FRONT_AND_BACK: GLenum;\n readonly FRONT_FACE: GLenum;\n readonly FUNC_ADD: GLenum;\n readonly FUNC_REVERSE_SUBTRACT: GLenum;\n readonly FUNC_SUBTRACT: GLenum;\n readonly GENERATE_MIPMAP_HINT: GLenum;\n readonly GEQUAL: GLenum;\n readonly GREATER: GLenum;\n readonly GREEN_BITS: GLenum;\n readonly HIGH_FLOAT: GLenum;\n readonly HIGH_INT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_FORMAT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_TYPE: GLenum;\n readonly INCR: GLenum;\n readonly INCR_WRAP: GLenum;\n readonly INT: GLenum;\n readonly INT_VEC2: GLenum;\n readonly INT_VEC3: GLenum;\n readonly INT_VEC4: GLenum;\n readonly INVALID_ENUM: GLenum;\n readonly INVALID_FRAMEBUFFER_OPERATION: GLenum;\n readonly INVALID_OPERATION: GLenum;\n readonly INVALID_VALUE: GLenum;\n readonly INVERT: GLenum;\n readonly KEEP: GLenum;\n readonly LEQUAL: GLenum;\n readonly LESS: GLenum;\n readonly LINEAR: GLenum;\n readonly LINEAR_MIPMAP_LINEAR: GLenum;\n readonly LINEAR_MIPMAP_NEAREST: GLenum;\n readonly LINES: GLenum;\n readonly LINE_LOOP: GLenum;\n readonly LINE_STRIP: GLenum;\n readonly LINE_WIDTH: GLenum;\n readonly LINK_STATUS: GLenum;\n readonly LOW_FLOAT: GLenum;\n readonly LOW_INT: GLenum;\n readonly LUMINANCE: GLenum;\n readonly LUMINANCE_ALPHA: GLenum;\n readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_CUBE_MAP_TEXTURE_SIZE: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_VECTORS: GLenum;\n readonly MAX_RENDERBUFFER_SIZE: GLenum;\n readonly MAX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_TEXTURE_SIZE: GLenum;\n readonly MAX_VARYING_VECTORS: GLenum;\n readonly MAX_VERTEX_ATTRIBS: GLenum;\n readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_VERTEX_UNIFORM_VECTORS: GLenum;\n readonly MAX_VIEWPORT_DIMS: GLenum;\n readonly MEDIUM_FLOAT: GLenum;\n readonly MEDIUM_INT: GLenum;\n readonly MIRRORED_REPEAT: GLenum;\n readonly NEAREST: GLenum;\n readonly NEAREST_MIPMAP_LINEAR: GLenum;\n readonly NEAREST_MIPMAP_NEAREST: GLenum;\n readonly NEVER: GLenum;\n readonly NICEST: GLenum;\n readonly NONE: GLenum;\n readonly NOTEQUAL: GLenum;\n readonly NO_ERROR: GLenum;\n readonly ONE: GLenum;\n readonly ONE_MINUS_CONSTANT_ALPHA: GLenum;\n readonly ONE_MINUS_CONSTANT_COLOR: GLenum;\n readonly ONE_MINUS_DST_ALPHA: GLenum;\n readonly ONE_MINUS_DST_COLOR: GLenum;\n readonly ONE_MINUS_SRC_ALPHA: GLenum;\n readonly ONE_MINUS_SRC_COLOR: GLenum;\n readonly OUT_OF_MEMORY: GLenum;\n readonly PACK_ALIGNMENT: GLenum;\n readonly POINTS: GLenum;\n readonly POLYGON_OFFSET_FACTOR: GLenum;\n readonly POLYGON_OFFSET_FILL: GLenum;\n readonly POLYGON_OFFSET_UNITS: GLenum;\n readonly RED_BITS: GLenum;\n readonly RENDERBUFFER: GLenum;\n readonly RENDERBUFFER_ALPHA_SIZE: GLenum;\n readonly RENDERBUFFER_BINDING: GLenum;\n readonly RENDERBUFFER_BLUE_SIZE: GLenum;\n readonly RENDERBUFFER_DEPTH_SIZE: GLenum;\n readonly RENDERBUFFER_GREEN_SIZE: GLenum;\n readonly RENDERBUFFER_HEIGHT: GLenum;\n readonly RENDERBUFFER_INTERNAL_FORMAT: GLenum;\n readonly RENDERBUFFER_RED_SIZE: GLenum;\n readonly RENDERBUFFER_STENCIL_SIZE: GLenum;\n readonly RENDERBUFFER_WIDTH: GLenum;\n readonly RENDERER: GLenum;\n readonly REPEAT: GLenum;\n readonly REPLACE: GLenum;\n readonly RGB: GLenum;\n readonly RGB565: GLenum;\n readonly RGB5_A1: GLenum;\n readonly RGBA: GLenum;\n readonly RGBA4: GLenum;\n readonly SAMPLER_2D: GLenum;\n readonly SAMPLER_CUBE: GLenum;\n readonly SAMPLES: GLenum;\n readonly SAMPLE_ALPHA_TO_COVERAGE: GLenum;\n readonly SAMPLE_BUFFERS: GLenum;\n readonly SAMPLE_COVERAGE: GLenum;\n readonly SAMPLE_COVERAGE_INVERT: GLenum;\n readonly SAMPLE_COVERAGE_VALUE: GLenum;\n readonly SCISSOR_BOX: GLenum;\n readonly SCISSOR_TEST: GLenum;\n readonly SHADER_TYPE: GLenum;\n readonly SHADING_LANGUAGE_VERSION: GLenum;\n readonly SHORT: GLenum;\n readonly SRC_ALPHA: GLenum;\n readonly SRC_ALPHA_SATURATE: GLenum;\n readonly SRC_COLOR: GLenum;\n readonly STATIC_DRAW: GLenum;\n readonly STENCIL_ATTACHMENT: GLenum;\n readonly STENCIL_BACK_FAIL: GLenum;\n readonly STENCIL_BACK_FUNC: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_BACK_REF: GLenum;\n readonly STENCIL_BACK_VALUE_MASK: GLenum;\n readonly STENCIL_BACK_WRITEMASK: GLenum;\n readonly STENCIL_BITS: GLenum;\n readonly STENCIL_BUFFER_BIT: GLenum;\n readonly STENCIL_CLEAR_VALUE: GLenum;\n readonly STENCIL_FAIL: GLenum;\n readonly STENCIL_FUNC: GLenum;\n readonly STENCIL_INDEX8: GLenum;\n readonly STENCIL_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_REF: GLenum;\n readonly STENCIL_TEST: GLenum;\n readonly STENCIL_VALUE_MASK: GLenum;\n readonly STENCIL_WRITEMASK: GLenum;\n readonly STREAM_DRAW: GLenum;\n readonly SUBPIXEL_BITS: GLenum;\n readonly TEXTURE: GLenum;\n readonly TEXTURE0: GLenum;\n readonly TEXTURE1: GLenum;\n readonly TEXTURE10: GLenum;\n readonly TEXTURE11: GLenum;\n readonly TEXTURE12: GLenum;\n readonly TEXTURE13: GLenum;\n readonly TEXTURE14: GLenum;\n readonly TEXTURE15: GLenum;\n readonly TEXTURE16: GLenum;\n readonly TEXTURE17: GLenum;\n readonly TEXTURE18: GLenum;\n readonly TEXTURE19: GLenum;\n readonly TEXTURE2: GLenum;\n readonly TEXTURE20: GLenum;\n readonly TEXTURE21: GLenum;\n readonly TEXTURE22: GLenum;\n readonly TEXTURE23: GLenum;\n readonly TEXTURE24: GLenum;\n readonly TEXTURE25: GLenum;\n readonly TEXTURE26: GLenum;\n readonly TEXTURE27: GLenum;\n readonly TEXTURE28: GLenum;\n readonly TEXTURE29: GLenum;\n readonly TEXTURE3: GLenum;\n readonly TEXTURE30: GLenum;\n readonly TEXTURE31: GLenum;\n readonly TEXTURE4: GLenum;\n readonly TEXTURE5: GLenum;\n readonly TEXTURE6: GLenum;\n readonly TEXTURE7: GLenum;\n readonly TEXTURE8: GLenum;\n readonly TEXTURE9: GLenum;\n readonly TEXTURE_2D: GLenum;\n readonly TEXTURE_BINDING_2D: GLenum;\n readonly TEXTURE_BINDING_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Z: GLenum;\n readonly TEXTURE_MAG_FILTER: GLenum;\n readonly TEXTURE_MIN_FILTER: GLenum;\n readonly TEXTURE_WRAP_S: GLenum;\n readonly TEXTURE_WRAP_T: GLenum;\n readonly TRIANGLES: GLenum;\n readonly TRIANGLE_FAN: GLenum;\n readonly TRIANGLE_STRIP: GLenum;\n readonly UNPACK_ALIGNMENT: GLenum;\n readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: GLenum;\n readonly UNPACK_FLIP_Y_WEBGL: GLenum;\n readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: GLenum;\n readonly UNSIGNED_BYTE: GLenum;\n readonly UNSIGNED_INT: GLenum;\n readonly UNSIGNED_SHORT: GLenum;\n readonly UNSIGNED_SHORT_4_4_4_4: GLenum;\n readonly UNSIGNED_SHORT_5_5_5_1: GLenum;\n readonly UNSIGNED_SHORT_5_6_5: GLenum;\n readonly VALIDATE_STATUS: GLenum;\n readonly VENDOR: GLenum;\n readonly VERSION: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_ENABLED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_POINTER: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_SIZE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_STRIDE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_TYPE: GLenum;\n readonly VERTEX_SHADER: GLenum;\n readonly VIEWPORT: GLenum;\n readonly ZERO: GLenum;\n};\n\ninterface WebGL2RenderingContextBase {\n beginQuery(target: GLenum, query: WebGLQuery): void;\n beginTransformFeedback(primitiveMode: GLenum): void;\n bindBufferBase(target: GLenum, index: GLuint, buffer: WebGLBuffer | null): void;\n bindBufferRange(target: GLenum, index: GLuint, buffer: WebGLBuffer | null, offset: GLintptr, size: GLsizeiptr): void;\n bindSampler(unit: GLuint, sampler: WebGLSampler | null): void;\n bindTransformFeedback(target: GLenum, tf: WebGLTransformFeedback | null): void;\n bindVertexArray(array: WebGLVertexArrayObject | null): void;\n blitFramebuffer(srcX0: GLint, srcY0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: GLenum): void;\n clearBufferfi(buffer: GLenum, drawbuffer: GLint, depth: GLfloat, stencil: GLint): void;\n clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Float32List, srcOffset?: GLuint): void;\n clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Int32List, srcOffset?: GLuint): void;\n clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?: GLuint): void;\n clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum;\n compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;\n compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n compressedTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, imageSize: GLsizei, offset: GLintptr): void;\n compressedTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n copyBufferSubData(readTarget: GLenum, writeTarget: GLenum, readOffset: GLintptr, writeOffset: GLintptr, size: GLsizeiptr): void;\n copyTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n createQuery(): WebGLQuery | null;\n createSampler(): WebGLSampler | null;\n createTransformFeedback(): WebGLTransformFeedback | null;\n createVertexArray(): WebGLVertexArrayObject | null;\n deleteQuery(query: WebGLQuery | null): void;\n deleteSampler(sampler: WebGLSampler | null): void;\n deleteSync(sync: WebGLSync | null): void;\n deleteTransformFeedback(tf: WebGLTransformFeedback | null): void;\n deleteVertexArray(vertexArray: WebGLVertexArrayObject | null): void;\n drawArraysInstanced(mode: GLenum, first: GLint, count: GLsizei, instanceCount: GLsizei): void;\n drawBuffers(buffers: GLenum[]): void;\n drawElementsInstanced(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, instanceCount: GLsizei): void;\n drawRangeElements(mode: GLenum, start: GLuint, end: GLuint, count: GLsizei, type: GLenum, offset: GLintptr): void;\n endQuery(target: GLenum): void;\n endTransformFeedback(): void;\n fenceSync(condition: GLenum, flags: GLbitfield): WebGLSync | null;\n framebufferTextureLayer(target: GLenum, attachment: GLenum, texture: WebGLTexture | null, level: GLint, layer: GLint): void;\n getActiveUniformBlockName(program: WebGLProgram, uniformBlockIndex: GLuint): string | null;\n getActiveUniformBlockParameter(program: WebGLProgram, uniformBlockIndex: GLuint, pname: GLenum): any;\n getActiveUniforms(program: WebGLProgram, uniformIndices: GLuint[], pname: GLenum): any;\n getBufferSubData(target: GLenum, srcByteOffset: GLintptr, dstBuffer: ArrayBufferView, dstOffset?: GLuint, length?: GLuint): void;\n getFragDataLocation(program: WebGLProgram, name: string): GLint;\n getIndexedParameter(target: GLenum, index: GLuint): any;\n getInternalformatParameter(target: GLenum, internalformat: GLenum, pname: GLenum): any;\n getQuery(target: GLenum, pname: GLenum): WebGLQuery | null;\n getQueryParameter(query: WebGLQuery, pname: GLenum): any;\n getSamplerParameter(sampler: WebGLSampler, pname: GLenum): any;\n getSyncParameter(sync: WebGLSync, pname: GLenum): any;\n getTransformFeedbackVarying(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;\n getUniformBlockIndex(program: WebGLProgram, uniformBlockName: string): GLuint;\n getUniformIndices(program: WebGLProgram, uniformNames: string[]): GLuint[] | null;\n invalidateFramebuffer(target: GLenum, attachments: GLenum[]): void;\n invalidateSubFramebuffer(target: GLenum, attachments: GLenum[], x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n isQuery(query: WebGLQuery | null): GLboolean;\n isSampler(sampler: WebGLSampler | null): GLboolean;\n isSync(sync: WebGLSync | null): GLboolean;\n isTransformFeedback(tf: WebGLTransformFeedback | null): GLboolean;\n isVertexArray(vertexArray: WebGLVertexArrayObject | null): GLboolean;\n pauseTransformFeedback(): void;\n readBuffer(src: GLenum): void;\n renderbufferStorageMultisample(target: GLenum, samples: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei): void;\n resumeTransformFeedback(): void;\n samplerParameterf(sampler: WebGLSampler, pname: GLenum, param: GLfloat): void;\n samplerParameteri(sampler: WebGLSampler, pname: GLenum, param: GLint): void;\n texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView | null): void;\n texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: GLuint): void;\n texStorage2D(target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei): void;\n texStorage3D(target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei): void;\n texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, source: TexImageSource): void;\n texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView | null, srcOffset?: GLuint): void;\n transformFeedbackVaryings(program: WebGLProgram, varyings: string[], bufferMode: GLenum): void;\n uniform1ui(location: WebGLUniformLocation | null, v0: GLuint): void;\n uniform1uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint): void;\n uniform2uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint, v2: GLuint): void;\n uniform3uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint, v2: GLuint, v3: GLuint): void;\n uniform4uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformBlockBinding(program: WebGLProgram, uniformBlockIndex: GLuint, uniformBlockBinding: GLuint): void;\n uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n vertexAttribDivisor(index: GLuint, divisor: GLuint): void;\n vertexAttribI4i(index: GLuint, x: GLint, y: GLint, z: GLint, w: GLint): void;\n vertexAttribI4iv(index: GLuint, values: Int32List): void;\n vertexAttribI4ui(index: GLuint, x: GLuint, y: GLuint, z: GLuint, w: GLuint): void;\n vertexAttribI4uiv(index: GLuint, values: Uint32List): void;\n vertexAttribIPointer(index: GLuint, size: GLint, type: GLenum, stride: GLsizei, offset: GLintptr): void;\n waitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLint64): void;\n readonly ACTIVE_UNIFORM_BLOCKS: GLenum;\n readonly ALREADY_SIGNALED: GLenum;\n readonly ANY_SAMPLES_PASSED: GLenum;\n readonly ANY_SAMPLES_PASSED_CONSERVATIVE: GLenum;\n readonly COLOR: GLenum;\n readonly COLOR_ATTACHMENT1: GLenum;\n readonly COLOR_ATTACHMENT10: GLenum;\n readonly COLOR_ATTACHMENT11: GLenum;\n readonly COLOR_ATTACHMENT12: GLenum;\n readonly COLOR_ATTACHMENT13: GLenum;\n readonly COLOR_ATTACHMENT14: GLenum;\n readonly COLOR_ATTACHMENT15: GLenum;\n readonly COLOR_ATTACHMENT2: GLenum;\n readonly COLOR_ATTACHMENT3: GLenum;\n readonly COLOR_ATTACHMENT4: GLenum;\n readonly COLOR_ATTACHMENT5: GLenum;\n readonly COLOR_ATTACHMENT6: GLenum;\n readonly COLOR_ATTACHMENT7: GLenum;\n readonly COLOR_ATTACHMENT8: GLenum;\n readonly COLOR_ATTACHMENT9: GLenum;\n readonly COMPARE_REF_TO_TEXTURE: GLenum;\n readonly CONDITION_SATISFIED: GLenum;\n readonly COPY_READ_BUFFER: GLenum;\n readonly COPY_READ_BUFFER_BINDING: GLenum;\n readonly COPY_WRITE_BUFFER: GLenum;\n readonly COPY_WRITE_BUFFER_BINDING: GLenum;\n readonly CURRENT_QUERY: GLenum;\n readonly DEPTH: GLenum;\n readonly DEPTH24_STENCIL8: GLenum;\n readonly DEPTH32F_STENCIL8: GLenum;\n readonly DEPTH_COMPONENT24: GLenum;\n readonly DEPTH_COMPONENT32F: GLenum;\n readonly DRAW_BUFFER0: GLenum;\n readonly DRAW_BUFFER1: GLenum;\n readonly DRAW_BUFFER10: GLenum;\n readonly DRAW_BUFFER11: GLenum;\n readonly DRAW_BUFFER12: GLenum;\n readonly DRAW_BUFFER13: GLenum;\n readonly DRAW_BUFFER14: GLenum;\n readonly DRAW_BUFFER15: GLenum;\n readonly DRAW_BUFFER2: GLenum;\n readonly DRAW_BUFFER3: GLenum;\n readonly DRAW_BUFFER4: GLenum;\n readonly DRAW_BUFFER5: GLenum;\n readonly DRAW_BUFFER6: GLenum;\n readonly DRAW_BUFFER7: GLenum;\n readonly DRAW_BUFFER8: GLenum;\n readonly DRAW_BUFFER9: GLenum;\n readonly DRAW_FRAMEBUFFER: GLenum;\n readonly DRAW_FRAMEBUFFER_BINDING: GLenum;\n readonly DYNAMIC_COPY: GLenum;\n readonly DYNAMIC_READ: GLenum;\n readonly FLOAT_32_UNSIGNED_INT_24_8_REV: GLenum;\n readonly FLOAT_MAT2x3: GLenum;\n readonly FLOAT_MAT2x4: GLenum;\n readonly FLOAT_MAT3x2: GLenum;\n readonly FLOAT_MAT3x4: GLenum;\n readonly FLOAT_MAT4x2: GLenum;\n readonly FLOAT_MAT4x3: GLenum;\n readonly FRAGMENT_SHADER_DERIVATIVE_HINT: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_RED_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: GLenum;\n readonly FRAMEBUFFER_DEFAULT: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: GLenum;\n readonly HALF_FLOAT: GLenum;\n readonly INTERLEAVED_ATTRIBS: GLenum;\n readonly INT_2_10_10_10_REV: GLenum;\n readonly INT_SAMPLER_2D: GLenum;\n readonly INT_SAMPLER_2D_ARRAY: GLenum;\n readonly INT_SAMPLER_3D: GLenum;\n readonly INT_SAMPLER_CUBE: GLenum;\n readonly INVALID_INDEX: GLenum;\n readonly MAX: GLenum;\n readonly MAX_3D_TEXTURE_SIZE: GLenum;\n readonly MAX_ARRAY_TEXTURE_LAYERS: GLenum;\n readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL: GLenum;\n readonly MAX_COLOR_ATTACHMENTS: GLenum;\n readonly MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_COMBINED_UNIFORM_BLOCKS: GLenum;\n readonly MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_DRAW_BUFFERS: GLenum;\n readonly MAX_ELEMENTS_INDICES: GLenum;\n readonly MAX_ELEMENTS_VERTICES: GLenum;\n readonly MAX_ELEMENT_INDEX: GLenum;\n readonly MAX_FRAGMENT_INPUT_COMPONENTS: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_BLOCKS: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_PROGRAM_TEXEL_OFFSET: GLenum;\n readonly MAX_SAMPLES: GLenum;\n readonly MAX_SERVER_WAIT_TIMEOUT: GLenum;\n readonly MAX_TEXTURE_LOD_BIAS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: GLenum;\n readonly MAX_UNIFORM_BLOCK_SIZE: GLenum;\n readonly MAX_UNIFORM_BUFFER_BINDINGS: GLenum;\n readonly MAX_VARYING_COMPONENTS: GLenum;\n readonly MAX_VERTEX_OUTPUT_COMPONENTS: GLenum;\n readonly MAX_VERTEX_UNIFORM_BLOCKS: GLenum;\n readonly MAX_VERTEX_UNIFORM_COMPONENTS: GLenum;\n readonly MIN: GLenum;\n readonly MIN_PROGRAM_TEXEL_OFFSET: GLenum;\n readonly OBJECT_TYPE: GLenum;\n readonly PACK_ROW_LENGTH: GLenum;\n readonly PACK_SKIP_PIXELS: GLenum;\n readonly PACK_SKIP_ROWS: GLenum;\n readonly PIXEL_PACK_BUFFER: GLenum;\n readonly PIXEL_PACK_BUFFER_BINDING: GLenum;\n readonly PIXEL_UNPACK_BUFFER: GLenum;\n readonly PIXEL_UNPACK_BUFFER_BINDING: GLenum;\n readonly QUERY_RESULT: GLenum;\n readonly QUERY_RESULT_AVAILABLE: GLenum;\n readonly R11F_G11F_B10F: GLenum;\n readonly R16F: GLenum;\n readonly R16I: GLenum;\n readonly R16UI: GLenum;\n readonly R32F: GLenum;\n readonly R32I: GLenum;\n readonly R32UI: GLenum;\n readonly R8: GLenum;\n readonly R8I: GLenum;\n readonly R8UI: GLenum;\n readonly R8_SNORM: GLenum;\n readonly RASTERIZER_DISCARD: GLenum;\n readonly READ_BUFFER: GLenum;\n readonly READ_FRAMEBUFFER: GLenum;\n readonly READ_FRAMEBUFFER_BINDING: GLenum;\n readonly RED: GLenum;\n readonly RED_INTEGER: GLenum;\n readonly RENDERBUFFER_SAMPLES: GLenum;\n readonly RG: GLenum;\n readonly RG16F: GLenum;\n readonly RG16I: GLenum;\n readonly RG16UI: GLenum;\n readonly RG32F: GLenum;\n readonly RG32I: GLenum;\n readonly RG32UI: GLenum;\n readonly RG8: GLenum;\n readonly RG8I: GLenum;\n readonly RG8UI: GLenum;\n readonly RG8_SNORM: GLenum;\n readonly RGB10_A2: GLenum;\n readonly RGB10_A2UI: GLenum;\n readonly RGB16F: GLenum;\n readonly RGB16I: GLenum;\n readonly RGB16UI: GLenum;\n readonly RGB32F: GLenum;\n readonly RGB32I: GLenum;\n readonly RGB32UI: GLenum;\n readonly RGB8: GLenum;\n readonly RGB8I: GLenum;\n readonly RGB8UI: GLenum;\n readonly RGB8_SNORM: GLenum;\n readonly RGB9_E5: GLenum;\n readonly RGBA16F: GLenum;\n readonly RGBA16I: GLenum;\n readonly RGBA16UI: GLenum;\n readonly RGBA32F: GLenum;\n readonly RGBA32I: GLenum;\n readonly RGBA32UI: GLenum;\n readonly RGBA8: GLenum;\n readonly RGBA8I: GLenum;\n readonly RGBA8UI: GLenum;\n readonly RGBA8_SNORM: GLenum;\n readonly RGBA_INTEGER: GLenum;\n readonly RGB_INTEGER: GLenum;\n readonly RG_INTEGER: GLenum;\n readonly SAMPLER_2D_ARRAY: GLenum;\n readonly SAMPLER_2D_ARRAY_SHADOW: GLenum;\n readonly SAMPLER_2D_SHADOW: GLenum;\n readonly SAMPLER_3D: GLenum;\n readonly SAMPLER_BINDING: GLenum;\n readonly SAMPLER_CUBE_SHADOW: GLenum;\n readonly SEPARATE_ATTRIBS: GLenum;\n readonly SIGNALED: GLenum;\n readonly SIGNED_NORMALIZED: GLenum;\n readonly SRGB: GLenum;\n readonly SRGB8: GLenum;\n readonly SRGB8_ALPHA8: GLenum;\n readonly STATIC_COPY: GLenum;\n readonly STATIC_READ: GLenum;\n readonly STENCIL: GLenum;\n readonly STREAM_COPY: GLenum;\n readonly STREAM_READ: GLenum;\n readonly SYNC_CONDITION: GLenum;\n readonly SYNC_FENCE: GLenum;\n readonly SYNC_FLAGS: GLenum;\n readonly SYNC_FLUSH_COMMANDS_BIT: GLenum;\n readonly SYNC_GPU_COMMANDS_COMPLETE: GLenum;\n readonly SYNC_STATUS: GLenum;\n readonly TEXTURE_2D_ARRAY: GLenum;\n readonly TEXTURE_3D: GLenum;\n readonly TEXTURE_BASE_LEVEL: GLenum;\n readonly TEXTURE_BINDING_2D_ARRAY: GLenum;\n readonly TEXTURE_BINDING_3D: GLenum;\n readonly TEXTURE_COMPARE_FUNC: GLenum;\n readonly TEXTURE_COMPARE_MODE: GLenum;\n readonly TEXTURE_IMMUTABLE_FORMAT: GLenum;\n readonly TEXTURE_IMMUTABLE_LEVELS: GLenum;\n readonly TEXTURE_MAX_LEVEL: GLenum;\n readonly TEXTURE_MAX_LOD: GLenum;\n readonly TEXTURE_MIN_LOD: GLenum;\n readonly TEXTURE_WRAP_R: GLenum;\n readonly TIMEOUT_EXPIRED: GLenum;\n readonly TIMEOUT_IGNORED: GLint64;\n readonly TRANSFORM_FEEDBACK: GLenum;\n readonly TRANSFORM_FEEDBACK_ACTIVE: GLenum;\n readonly TRANSFORM_FEEDBACK_BINDING: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_BINDING: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_MODE: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_SIZE: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_START: GLenum;\n readonly TRANSFORM_FEEDBACK_PAUSED: GLenum;\n readonly TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: GLenum;\n readonly TRANSFORM_FEEDBACK_VARYINGS: GLenum;\n readonly UNIFORM_ARRAY_STRIDE: GLenum;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORMS: GLenum;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: GLenum;\n readonly UNIFORM_BLOCK_BINDING: GLenum;\n readonly UNIFORM_BLOCK_DATA_SIZE: GLenum;\n readonly UNIFORM_BLOCK_INDEX: GLenum;\n readonly UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: GLenum;\n readonly UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: GLenum;\n readonly UNIFORM_BUFFER: GLenum;\n readonly UNIFORM_BUFFER_BINDING: GLenum;\n readonly UNIFORM_BUFFER_OFFSET_ALIGNMENT: GLenum;\n readonly UNIFORM_BUFFER_SIZE: GLenum;\n readonly UNIFORM_BUFFER_START: GLenum;\n readonly UNIFORM_IS_ROW_MAJOR: GLenum;\n readonly UNIFORM_MATRIX_STRIDE: GLenum;\n readonly UNIFORM_OFFSET: GLenum;\n readonly UNIFORM_SIZE: GLenum;\n readonly UNIFORM_TYPE: GLenum;\n readonly UNPACK_IMAGE_HEIGHT: GLenum;\n readonly UNPACK_ROW_LENGTH: GLenum;\n readonly UNPACK_SKIP_IMAGES: GLenum;\n readonly UNPACK_SKIP_PIXELS: GLenum;\n readonly UNPACK_SKIP_ROWS: GLenum;\n readonly UNSIGNALED: GLenum;\n readonly UNSIGNED_INT_10F_11F_11F_REV: GLenum;\n readonly UNSIGNED_INT_24_8: GLenum;\n readonly UNSIGNED_INT_2_10_10_10_REV: GLenum;\n readonly UNSIGNED_INT_5_9_9_9_REV: GLenum;\n readonly UNSIGNED_INT_SAMPLER_2D: GLenum;\n readonly UNSIGNED_INT_SAMPLER_2D_ARRAY: GLenum;\n readonly UNSIGNED_INT_SAMPLER_3D: GLenum;\n readonly UNSIGNED_INT_SAMPLER_CUBE: GLenum;\n readonly UNSIGNED_INT_VEC2: GLenum;\n readonly UNSIGNED_INT_VEC3: GLenum;\n readonly UNSIGNED_INT_VEC4: GLenum;\n readonly UNSIGNED_NORMALIZED: GLenum;\n readonly VERTEX_ARRAY_BINDING: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_DIVISOR: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_INTEGER: GLenum;\n readonly WAIT_FAILED: GLenum;\n}\n\ninterface WebGL2RenderingContextOverloads {\n bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void;\n bufferData(target: GLenum, srcData: BufferSource | null, usage: GLenum): void;\n bufferData(target: GLenum, srcData: ArrayBufferView, usage: GLenum, srcOffset: GLuint, length?: GLuint): void;\n bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: BufferSource): void;\n bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: ArrayBufferView, srcOffset: GLuint, length?: GLuint): void;\n compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;\n compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, imageSize: GLsizei, offset: GLintptr): void;\n compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView | null): void;\n readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, offset: GLintptr): void;\n readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView, dstOffset: GLuint): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: GLuint): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, source: TexImageSource): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: GLuint): void;\n uniform1fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform1iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n}\n\n/** Part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getActiveAttrib() and WebGLRenderingContext.getActiveUniform() methods. */\ninterface WebGLActiveInfo {\n readonly name: string;\n readonly size: GLint;\n readonly type: GLenum;\n}\n\ndeclare var WebGLActiveInfo: {\n prototype: WebGLActiveInfo;\n new(): WebGLActiveInfo;\n};\n\n/** Part of the WebGL API and represents an opaque buffer object storing data such as vertices or colors. */\ninterface WebGLBuffer {\n}\n\ndeclare var WebGLBuffer: {\n prototype: WebGLBuffer;\n new(): WebGLBuffer;\n};\n\n/** The WebContextEvent interface is part of the WebGL API and is an interface for an event that is generated in response to a status change to the WebGL rendering context. */\ninterface WebGLContextEvent extends Event {\n readonly statusMessage: string;\n}\n\ndeclare var WebGLContextEvent: {\n prototype: WebGLContextEvent;\n new(type: string, eventInit?: WebGLContextEventInit): WebGLContextEvent;\n};\n\n/** Part of the WebGL API and represents a collection of buffers that serve as a rendering destination. */\ninterface WebGLFramebuffer {\n}\n\ndeclare var WebGLFramebuffer: {\n prototype: WebGLFramebuffer;\n new(): WebGLFramebuffer;\n};\n\n/** The WebGLProgram is part of the WebGL API and is a combination of two compiled WebGLShaders consisting of a vertex shader and a fragment shader (both written in GLSL). */\ninterface WebGLProgram {\n}\n\ndeclare var WebGLProgram: {\n prototype: WebGLProgram;\n new(): WebGLProgram;\n};\n\ninterface WebGLQuery {\n}\n\ndeclare var WebGLQuery: {\n prototype: WebGLQuery;\n new(): WebGLQuery;\n};\n\n/** Part of the WebGL API and represents a buffer that can contain an image, or can be source or target of an rendering operation. */\ninterface WebGLRenderbuffer {\n}\n\ndeclare var WebGLRenderbuffer: {\n prototype: WebGLRenderbuffer;\n new(): WebGLRenderbuffer;\n};\n\n/** Provides an interface to the OpenGL ES 2.0 graphics rendering context for the drawing surface of an HTML <canvas> element. */\ninterface WebGLRenderingContext extends WebGLRenderingContextBase, WebGLRenderingContextOverloads {\n}\n\ndeclare var WebGLRenderingContext: {\n prototype: WebGLRenderingContext;\n new(): WebGLRenderingContext;\n readonly ACTIVE_ATTRIBUTES: GLenum;\n readonly ACTIVE_TEXTURE: GLenum;\n readonly ACTIVE_UNIFORMS: GLenum;\n readonly ALIASED_LINE_WIDTH_RANGE: GLenum;\n readonly ALIASED_POINT_SIZE_RANGE: GLenum;\n readonly ALPHA: GLenum;\n readonly ALPHA_BITS: GLenum;\n readonly ALWAYS: GLenum;\n readonly ARRAY_BUFFER: GLenum;\n readonly ARRAY_BUFFER_BINDING: GLenum;\n readonly ATTACHED_SHADERS: GLenum;\n readonly BACK: GLenum;\n readonly BLEND: GLenum;\n readonly BLEND_COLOR: GLenum;\n readonly BLEND_DST_ALPHA: GLenum;\n readonly BLEND_DST_RGB: GLenum;\n readonly BLEND_EQUATION: GLenum;\n readonly BLEND_EQUATION_ALPHA: GLenum;\n readonly BLEND_EQUATION_RGB: GLenum;\n readonly BLEND_SRC_ALPHA: GLenum;\n readonly BLEND_SRC_RGB: GLenum;\n readonly BLUE_BITS: GLenum;\n readonly BOOL: GLenum;\n readonly BOOL_VEC2: GLenum;\n readonly BOOL_VEC3: GLenum;\n readonly BOOL_VEC4: GLenum;\n readonly BROWSER_DEFAULT_WEBGL: GLenum;\n readonly BUFFER_SIZE: GLenum;\n readonly BUFFER_USAGE: GLenum;\n readonly BYTE: GLenum;\n readonly CCW: GLenum;\n readonly CLAMP_TO_EDGE: GLenum;\n readonly COLOR_ATTACHMENT0: GLenum;\n readonly COLOR_BUFFER_BIT: GLenum;\n readonly COLOR_CLEAR_VALUE: GLenum;\n readonly COLOR_WRITEMASK: GLenum;\n readonly COMPILE_STATUS: GLenum;\n readonly COMPRESSED_TEXTURE_FORMATS: GLenum;\n readonly CONSTANT_ALPHA: GLenum;\n readonly CONSTANT_COLOR: GLenum;\n readonly CONTEXT_LOST_WEBGL: GLenum;\n readonly CULL_FACE: GLenum;\n readonly CULL_FACE_MODE: GLenum;\n readonly CURRENT_PROGRAM: GLenum;\n readonly CURRENT_VERTEX_ATTRIB: GLenum;\n readonly CW: GLenum;\n readonly DECR: GLenum;\n readonly DECR_WRAP: GLenum;\n readonly DELETE_STATUS: GLenum;\n readonly DEPTH_ATTACHMENT: GLenum;\n readonly DEPTH_BITS: GLenum;\n readonly DEPTH_BUFFER_BIT: GLenum;\n readonly DEPTH_CLEAR_VALUE: GLenum;\n readonly DEPTH_COMPONENT: GLenum;\n readonly DEPTH_COMPONENT16: GLenum;\n readonly DEPTH_FUNC: GLenum;\n readonly DEPTH_RANGE: GLenum;\n readonly DEPTH_STENCIL: GLenum;\n readonly DEPTH_STENCIL_ATTACHMENT: GLenum;\n readonly DEPTH_TEST: GLenum;\n readonly DEPTH_WRITEMASK: GLenum;\n readonly DITHER: GLenum;\n readonly DONT_CARE: GLenum;\n readonly DST_ALPHA: GLenum;\n readonly DST_COLOR: GLenum;\n readonly DYNAMIC_DRAW: GLenum;\n readonly ELEMENT_ARRAY_BUFFER: GLenum;\n readonly ELEMENT_ARRAY_BUFFER_BINDING: GLenum;\n readonly EQUAL: GLenum;\n readonly FASTEST: GLenum;\n readonly FLOAT: GLenum;\n readonly FLOAT_MAT2: GLenum;\n readonly FLOAT_MAT3: GLenum;\n readonly FLOAT_MAT4: GLenum;\n readonly FLOAT_VEC2: GLenum;\n readonly FLOAT_VEC3: GLenum;\n readonly FLOAT_VEC4: GLenum;\n readonly FRAGMENT_SHADER: GLenum;\n readonly FRAMEBUFFER: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: GLenum;\n readonly FRAMEBUFFER_BINDING: GLenum;\n readonly FRAMEBUFFER_COMPLETE: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_UNSUPPORTED: GLenum;\n readonly FRONT: GLenum;\n readonly FRONT_AND_BACK: GLenum;\n readonly FRONT_FACE: GLenum;\n readonly FUNC_ADD: GLenum;\n readonly FUNC_REVERSE_SUBTRACT: GLenum;\n readonly FUNC_SUBTRACT: GLenum;\n readonly GENERATE_MIPMAP_HINT: GLenum;\n readonly GEQUAL: GLenum;\n readonly GREATER: GLenum;\n readonly GREEN_BITS: GLenum;\n readonly HIGH_FLOAT: GLenum;\n readonly HIGH_INT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_FORMAT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_TYPE: GLenum;\n readonly INCR: GLenum;\n readonly INCR_WRAP: GLenum;\n readonly INT: GLenum;\n readonly INT_VEC2: GLenum;\n readonly INT_VEC3: GLenum;\n readonly INT_VEC4: GLenum;\n readonly INVALID_ENUM: GLenum;\n readonly INVALID_FRAMEBUFFER_OPERATION: GLenum;\n readonly INVALID_OPERATION: GLenum;\n readonly INVALID_VALUE: GLenum;\n readonly INVERT: GLenum;\n readonly KEEP: GLenum;\n readonly LEQUAL: GLenum;\n readonly LESS: GLenum;\n readonly LINEAR: GLenum;\n readonly LINEAR_MIPMAP_LINEAR: GLenum;\n readonly LINEAR_MIPMAP_NEAREST: GLenum;\n readonly LINES: GLenum;\n readonly LINE_LOOP: GLenum;\n readonly LINE_STRIP: GLenum;\n readonly LINE_WIDTH: GLenum;\n readonly LINK_STATUS: GLenum;\n readonly LOW_FLOAT: GLenum;\n readonly LOW_INT: GLenum;\n readonly LUMINANCE: GLenum;\n readonly LUMINANCE_ALPHA: GLenum;\n readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_CUBE_MAP_TEXTURE_SIZE: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_VECTORS: GLenum;\n readonly MAX_RENDERBUFFER_SIZE: GLenum;\n readonly MAX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_TEXTURE_SIZE: GLenum;\n readonly MAX_VARYING_VECTORS: GLenum;\n readonly MAX_VERTEX_ATTRIBS: GLenum;\n readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_VERTEX_UNIFORM_VECTORS: GLenum;\n readonly MAX_VIEWPORT_DIMS: GLenum;\n readonly MEDIUM_FLOAT: GLenum;\n readonly MEDIUM_INT: GLenum;\n readonly MIRRORED_REPEAT: GLenum;\n readonly NEAREST: GLenum;\n readonly NEAREST_MIPMAP_LINEAR: GLenum;\n readonly NEAREST_MIPMAP_NEAREST: GLenum;\n readonly NEVER: GLenum;\n readonly NICEST: GLenum;\n readonly NONE: GLenum;\n readonly NOTEQUAL: GLenum;\n readonly NO_ERROR: GLenum;\n readonly ONE: GLenum;\n readonly ONE_MINUS_CONSTANT_ALPHA: GLenum;\n readonly ONE_MINUS_CONSTANT_COLOR: GLenum;\n readonly ONE_MINUS_DST_ALPHA: GLenum;\n readonly ONE_MINUS_DST_COLOR: GLenum;\n readonly ONE_MINUS_SRC_ALPHA: GLenum;\n readonly ONE_MINUS_SRC_COLOR: GLenum;\n readonly OUT_OF_MEMORY: GLenum;\n readonly PACK_ALIGNMENT: GLenum;\n readonly POINTS: GLenum;\n readonly POLYGON_OFFSET_FACTOR: GLenum;\n readonly POLYGON_OFFSET_FILL: GLenum;\n readonly POLYGON_OFFSET_UNITS: GLenum;\n readonly RED_BITS: GLenum;\n readonly RENDERBUFFER: GLenum;\n readonly RENDERBUFFER_ALPHA_SIZE: GLenum;\n readonly RENDERBUFFER_BINDING: GLenum;\n readonly RENDERBUFFER_BLUE_SIZE: GLenum;\n readonly RENDERBUFFER_DEPTH_SIZE: GLenum;\n readonly RENDERBUFFER_GREEN_SIZE: GLenum;\n readonly RENDERBUFFER_HEIGHT: GLenum;\n readonly RENDERBUFFER_INTERNAL_FORMAT: GLenum;\n readonly RENDERBUFFER_RED_SIZE: GLenum;\n readonly RENDERBUFFER_STENCIL_SIZE: GLenum;\n readonly RENDERBUFFER_WIDTH: GLenum;\n readonly RENDERER: GLenum;\n readonly REPEAT: GLenum;\n readonly REPLACE: GLenum;\n readonly RGB: GLenum;\n readonly RGB565: GLenum;\n readonly RGB5_A1: GLenum;\n readonly RGBA: GLenum;\n readonly RGBA4: GLenum;\n readonly SAMPLER_2D: GLenum;\n readonly SAMPLER_CUBE: GLenum;\n readonly SAMPLES: GLenum;\n readonly SAMPLE_ALPHA_TO_COVERAGE: GLenum;\n readonly SAMPLE_BUFFERS: GLenum;\n readonly SAMPLE_COVERAGE: GLenum;\n readonly SAMPLE_COVERAGE_INVERT: GLenum;\n readonly SAMPLE_COVERAGE_VALUE: GLenum;\n readonly SCISSOR_BOX: GLenum;\n readonly SCISSOR_TEST: GLenum;\n readonly SHADER_TYPE: GLenum;\n readonly SHADING_LANGUAGE_VERSION: GLenum;\n readonly SHORT: GLenum;\n readonly SRC_ALPHA: GLenum;\n readonly SRC_ALPHA_SATURATE: GLenum;\n readonly SRC_COLOR: GLenum;\n readonly STATIC_DRAW: GLenum;\n readonly STENCIL_ATTACHMENT: GLenum;\n readonly STENCIL_BACK_FAIL: GLenum;\n readonly STENCIL_BACK_FUNC: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_BACK_REF: GLenum;\n readonly STENCIL_BACK_VALUE_MASK: GLenum;\n readonly STENCIL_BACK_WRITEMASK: GLenum;\n readonly STENCIL_BITS: GLenum;\n readonly STENCIL_BUFFER_BIT: GLenum;\n readonly STENCIL_CLEAR_VALUE: GLenum;\n readonly STENCIL_FAIL: GLenum;\n readonly STENCIL_FUNC: GLenum;\n readonly STENCIL_INDEX8: GLenum;\n readonly STENCIL_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_REF: GLenum;\n readonly STENCIL_TEST: GLenum;\n readonly STENCIL_VALUE_MASK: GLenum;\n readonly STENCIL_WRITEMASK: GLenum;\n readonly STREAM_DRAW: GLenum;\n readonly SUBPIXEL_BITS: GLenum;\n readonly TEXTURE: GLenum;\n readonly TEXTURE0: GLenum;\n readonly TEXTURE1: GLenum;\n readonly TEXTURE10: GLenum;\n readonly TEXTURE11: GLenum;\n readonly TEXTURE12: GLenum;\n readonly TEXTURE13: GLenum;\n readonly TEXTURE14: GLenum;\n readonly TEXTURE15: GLenum;\n readonly TEXTURE16: GLenum;\n readonly TEXTURE17: GLenum;\n readonly TEXTURE18: GLenum;\n readonly TEXTURE19: GLenum;\n readonly TEXTURE2: GLenum;\n readonly TEXTURE20: GLenum;\n readonly TEXTURE21: GLenum;\n readonly TEXTURE22: GLenum;\n readonly TEXTURE23: GLenum;\n readonly TEXTURE24: GLenum;\n readonly TEXTURE25: GLenum;\n readonly TEXTURE26: GLenum;\n readonly TEXTURE27: GLenum;\n readonly TEXTURE28: GLenum;\n readonly TEXTURE29: GLenum;\n readonly TEXTURE3: GLenum;\n readonly TEXTURE30: GLenum;\n readonly TEXTURE31: GLenum;\n readonly TEXTURE4: GLenum;\n readonly TEXTURE5: GLenum;\n readonly TEXTURE6: GLenum;\n readonly TEXTURE7: GLenum;\n readonly TEXTURE8: GLenum;\n readonly TEXTURE9: GLenum;\n readonly TEXTURE_2D: GLenum;\n readonly TEXTURE_BINDING_2D: GLenum;\n readonly TEXTURE_BINDING_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Z: GLenum;\n readonly TEXTURE_MAG_FILTER: GLenum;\n readonly TEXTURE_MIN_FILTER: GLenum;\n readonly TEXTURE_WRAP_S: GLenum;\n readonly TEXTURE_WRAP_T: GLenum;\n readonly TRIANGLES: GLenum;\n readonly TRIANGLE_FAN: GLenum;\n readonly TRIANGLE_STRIP: GLenum;\n readonly UNPACK_ALIGNMENT: GLenum;\n readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: GLenum;\n readonly UNPACK_FLIP_Y_WEBGL: GLenum;\n readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: GLenum;\n readonly UNSIGNED_BYTE: GLenum;\n readonly UNSIGNED_INT: GLenum;\n readonly UNSIGNED_SHORT: GLenum;\n readonly UNSIGNED_SHORT_4_4_4_4: GLenum;\n readonly UNSIGNED_SHORT_5_5_5_1: GLenum;\n readonly UNSIGNED_SHORT_5_6_5: GLenum;\n readonly VALIDATE_STATUS: GLenum;\n readonly VENDOR: GLenum;\n readonly VERSION: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_ENABLED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_POINTER: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_SIZE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_STRIDE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_TYPE: GLenum;\n readonly VERTEX_SHADER: GLenum;\n readonly VIEWPORT: GLenum;\n readonly ZERO: GLenum;\n};\n\ninterface WebGLRenderingContextBase {\n readonly canvas: HTMLCanvasElement;\n readonly drawingBufferHeight: GLsizei;\n readonly drawingBufferWidth: GLsizei;\n activeTexture(texture: GLenum): void;\n attachShader(program: WebGLProgram, shader: WebGLShader): void;\n bindAttribLocation(program: WebGLProgram, index: GLuint, name: string): void;\n bindBuffer(target: GLenum, buffer: WebGLBuffer | null): void;\n bindFramebuffer(target: GLenum, framebuffer: WebGLFramebuffer | null): void;\n bindRenderbuffer(target: GLenum, renderbuffer: WebGLRenderbuffer | null): void;\n bindTexture(target: GLenum, texture: WebGLTexture | null): void;\n blendColor(red: GLclampf, green: GLclampf, blue: GLclampf, alpha: GLclampf): void;\n blendEquation(mode: GLenum): void;\n blendEquationSeparate(modeRGB: GLenum, modeAlpha: GLenum): void;\n blendFunc(sfactor: GLenum, dfactor: GLenum): void;\n blendFuncSeparate(srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void;\n checkFramebufferStatus(target: GLenum): GLenum;\n clear(mask: GLbitfield): void;\n clearColor(red: GLclampf, green: GLclampf, blue: GLclampf, alpha: GLclampf): void;\n clearDepth(depth: GLclampf): void;\n clearStencil(s: GLint): void;\n colorMask(red: GLboolean, green: GLboolean, blue: GLboolean, alpha: GLboolean): void;\n compileShader(shader: WebGLShader): void;\n copyTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, x: GLint, y: GLint, width: GLsizei, height: GLsizei, border: GLint): void;\n copyTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n createBuffer(): WebGLBuffer | null;\n createFramebuffer(): WebGLFramebuffer | null;\n createProgram(): WebGLProgram | null;\n createRenderbuffer(): WebGLRenderbuffer | null;\n createShader(type: GLenum): WebGLShader | null;\n createTexture(): WebGLTexture | null;\n cullFace(mode: GLenum): void;\n deleteBuffer(buffer: WebGLBuffer | null): void;\n deleteFramebuffer(framebuffer: WebGLFramebuffer | null): void;\n deleteProgram(program: WebGLProgram | null): void;\n deleteRenderbuffer(renderbuffer: WebGLRenderbuffer | null): void;\n deleteShader(shader: WebGLShader | null): void;\n deleteTexture(texture: WebGLTexture | null): void;\n depthFunc(func: GLenum): void;\n depthMask(flag: GLboolean): void;\n depthRange(zNear: GLclampf, zFar: GLclampf): void;\n detachShader(program: WebGLProgram, shader: WebGLShader): void;\n disable(cap: GLenum): void;\n disableVertexAttribArray(index: GLuint): void;\n drawArrays(mode: GLenum, first: GLint, count: GLsizei): void;\n drawElements(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr): void;\n enable(cap: GLenum): void;\n enableVertexAttribArray(index: GLuint): void;\n finish(): void;\n flush(): void;\n framebufferRenderbuffer(target: GLenum, attachment: GLenum, renderbuffertarget: GLenum, renderbuffer: WebGLRenderbuffer | null): void;\n framebufferTexture2D(target: GLenum, attachment: GLenum, textarget: GLenum, texture: WebGLTexture | null, level: GLint): void;\n frontFace(mode: GLenum): void;\n generateMipmap(target: GLenum): void;\n getActiveAttrib(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;\n getActiveUniform(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;\n getAttachedShaders(program: WebGLProgram): WebGLShader[] | null;\n getAttribLocation(program: WebGLProgram, name: string): GLint;\n getBufferParameter(target: GLenum, pname: GLenum): any;\n getContextAttributes(): WebGLContextAttributes | null;\n getError(): GLenum;\n getExtension(extensionName: "EXT_blend_minmax"): EXT_blend_minmax | null;\n getExtension(extensionName: "EXT_color_buffer_float"): EXT_color_buffer_float | null;\n getExtension(extensionName: "EXT_color_buffer_half_float"): EXT_color_buffer_half_float | null;\n getExtension(extensionName: "EXT_float_blend"): EXT_float_blend | null;\n getExtension(extensionName: "EXT_texture_filter_anisotropic"): EXT_texture_filter_anisotropic | null;\n getExtension(extensionName: "EXT_frag_depth"): EXT_frag_depth | null;\n getExtension(extensionName: "EXT_shader_texture_lod"): EXT_shader_texture_lod | null;\n getExtension(extensionName: "EXT_sRGB"): EXT_sRGB | null;\n getExtension(extensionName: "KHR_parallel_shader_compile"): KHR_parallel_shader_compile | null;\n getExtension(extensionName: "OES_vertex_array_object"): OES_vertex_array_object | null;\n getExtension(extensionName: "OVR_multiview2"): OVR_multiview2 | null;\n getExtension(extensionName: "WEBGL_color_buffer_float"): WEBGL_color_buffer_float | null;\n getExtension(extensionName: "WEBGL_compressed_texture_astc"): WEBGL_compressed_texture_astc | null;\n getExtension(extensionName: "WEBGL_compressed_texture_etc"): WEBGL_compressed_texture_etc | null;\n getExtension(extensionName: "WEBGL_compressed_texture_etc1"): WEBGL_compressed_texture_etc1 | null;\n getExtension(extensionName: "WEBGL_compressed_texture_pvrtc"): WEBGL_compressed_texture_pvrtc | null;\n getExtension(extensionName: "WEBGL_compressed_texture_s3tc_srgb"): WEBGL_compressed_texture_s3tc_srgb | null;\n getExtension(extensionName: "WEBGL_debug_shaders"): WEBGL_debug_shaders | null;\n getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null;\n getExtension(extensionName: "WEBGL_lose_context"): WEBGL_lose_context | null;\n getExtension(extensionName: "WEBGL_depth_texture"): WEBGL_depth_texture | null;\n getExtension(extensionName: "WEBGL_debug_renderer_info"): WEBGL_debug_renderer_info | null;\n getExtension(extensionName: "WEBGL_compressed_texture_s3tc"): WEBGL_compressed_texture_s3tc | null;\n getExtension(extensionName: "OES_texture_half_float_linear"): OES_texture_half_float_linear | null;\n getExtension(extensionName: "OES_texture_half_float"): OES_texture_half_float | null;\n getExtension(extensionName: "OES_texture_float_linear"): OES_texture_float_linear | null;\n getExtension(extensionName: "OES_texture_float"): OES_texture_float | null;\n getExtension(extensionName: "OES_standard_derivatives"): OES_standard_derivatives | null;\n getExtension(extensionName: "OES_element_index_uint"): OES_element_index_uint | null;\n getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;\n getExtension(name: string): any;\n getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): any;\n getParameter(pname: GLenum): any;\n getProgramInfoLog(program: WebGLProgram): string | null;\n getProgramParameter(program: WebGLProgram, pname: GLenum): any;\n getRenderbufferParameter(target: GLenum, pname: GLenum): any;\n getShaderInfoLog(shader: WebGLShader): string | null;\n getShaderParameter(shader: WebGLShader, pname: GLenum): any;\n getShaderPrecisionFormat(shadertype: GLenum, precisiontype: GLenum): WebGLShaderPrecisionFormat | null;\n getShaderSource(shader: WebGLShader): string | null;\n getSupportedExtensions(): string[] | null;\n getTexParameter(target: GLenum, pname: GLenum): any;\n getUniform(program: WebGLProgram, location: WebGLUniformLocation): any;\n getUniformLocation(program: WebGLProgram, name: string): WebGLUniformLocation | null;\n getVertexAttrib(index: GLuint, pname: GLenum): any;\n getVertexAttribOffset(index: GLuint, pname: GLenum): GLintptr;\n hint(target: GLenum, mode: GLenum): void;\n isBuffer(buffer: WebGLBuffer | null): GLboolean;\n isContextLost(): boolean;\n isEnabled(cap: GLenum): GLboolean;\n isFramebuffer(framebuffer: WebGLFramebuffer | null): GLboolean;\n isProgram(program: WebGLProgram | null): GLboolean;\n isRenderbuffer(renderbuffer: WebGLRenderbuffer | null): GLboolean;\n isShader(shader: WebGLShader | null): GLboolean;\n isTexture(texture: WebGLTexture | null): GLboolean;\n lineWidth(width: GLfloat): void;\n linkProgram(program: WebGLProgram): void;\n pixelStorei(pname: GLenum, param: GLint | GLboolean): void;\n polygonOffset(factor: GLfloat, units: GLfloat): void;\n renderbufferStorage(target: GLenum, internalformat: GLenum, width: GLsizei, height: GLsizei): void;\n sampleCoverage(value: GLclampf, invert: GLboolean): void;\n scissor(x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n shaderSource(shader: WebGLShader, source: string): void;\n stencilFunc(func: GLenum, ref: GLint, mask: GLuint): void;\n stencilFuncSeparate(face: GLenum, func: GLenum, ref: GLint, mask: GLuint): void;\n stencilMask(mask: GLuint): void;\n stencilMaskSeparate(face: GLenum, mask: GLuint): void;\n stencilOp(fail: GLenum, zfail: GLenum, zpass: GLenum): void;\n stencilOpSeparate(face: GLenum, fail: GLenum, zfail: GLenum, zpass: GLenum): void;\n texParameterf(target: GLenum, pname: GLenum, param: GLfloat): void;\n texParameteri(target: GLenum, pname: GLenum, param: GLint): void;\n uniform1f(location: WebGLUniformLocation | null, x: GLfloat): void;\n uniform1i(location: WebGLUniformLocation | null, x: GLint): void;\n uniform2f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat): void;\n uniform2i(location: WebGLUniformLocation | null, x: GLint, y: GLint): void;\n uniform3f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat, z: GLfloat): void;\n uniform3i(location: WebGLUniformLocation | null, x: GLint, y: GLint, z: GLint): void;\n uniform4f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat, z: GLfloat, w: GLfloat): void;\n uniform4i(location: WebGLUniformLocation | null, x: GLint, y: GLint, z: GLint, w: GLint): void;\n useProgram(program: WebGLProgram | null): void;\n validateProgram(program: WebGLProgram): void;\n vertexAttrib1f(index: GLuint, x: GLfloat): void;\n vertexAttrib1fv(index: GLuint, values: Float32List): void;\n vertexAttrib2f(index: GLuint, x: GLfloat, y: GLfloat): void;\n vertexAttrib2fv(index: GLuint, values: Float32List): void;\n vertexAttrib3f(index: GLuint, x: GLfloat, y: GLfloat, z: GLfloat): void;\n vertexAttrib3fv(index: GLuint, values: Float32List): void;\n vertexAttrib4f(index: GLuint, x: GLfloat, y: GLfloat, z: GLfloat, w: GLfloat): void;\n vertexAttrib4fv(index: GLuint, values: Float32List): void;\n vertexAttribPointer(index: GLuint, size: GLint, type: GLenum, normalized: GLboolean, stride: GLsizei, offset: GLintptr): void;\n viewport(x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n readonly ACTIVE_ATTRIBUTES: GLenum;\n readonly ACTIVE_TEXTURE: GLenum;\n readonly ACTIVE_UNIFORMS: GLenum;\n readonly ALIASED_LINE_WIDTH_RANGE: GLenum;\n readonly ALIASED_POINT_SIZE_RANGE: GLenum;\n readonly ALPHA: GLenum;\n readonly ALPHA_BITS: GLenum;\n readonly ALWAYS: GLenum;\n readonly ARRAY_BUFFER: GLenum;\n readonly ARRAY_BUFFER_BINDING: GLenum;\n readonly ATTACHED_SHADERS: GLenum;\n readonly BACK: GLenum;\n readonly BLEND: GLenum;\n readonly BLEND_COLOR: GLenum;\n readonly BLEND_DST_ALPHA: GLenum;\n readonly BLEND_DST_RGB: GLenum;\n readonly BLEND_EQUATION: GLenum;\n readonly BLEND_EQUATION_ALPHA: GLenum;\n readonly BLEND_EQUATION_RGB: GLenum;\n readonly BLEND_SRC_ALPHA: GLenum;\n readonly BLEND_SRC_RGB: GLenum;\n readonly BLUE_BITS: GLenum;\n readonly BOOL: GLenum;\n readonly BOOL_VEC2: GLenum;\n readonly BOOL_VEC3: GLenum;\n readonly BOOL_VEC4: GLenum;\n readonly BROWSER_DEFAULT_WEBGL: GLenum;\n readonly BUFFER_SIZE: GLenum;\n readonly BUFFER_USAGE: GLenum;\n readonly BYTE: GLenum;\n readonly CCW: GLenum;\n readonly CLAMP_TO_EDGE: GLenum;\n readonly COLOR_ATTACHMENT0: GLenum;\n readonly COLOR_BUFFER_BIT: GLenum;\n readonly COLOR_CLEAR_VALUE: GLenum;\n readonly COLOR_WRITEMASK: GLenum;\n readonly COMPILE_STATUS: GLenum;\n readonly COMPRESSED_TEXTURE_FORMATS: GLenum;\n readonly CONSTANT_ALPHA: GLenum;\n readonly CONSTANT_COLOR: GLenum;\n readonly CONTEXT_LOST_WEBGL: GLenum;\n readonly CULL_FACE: GLenum;\n readonly CULL_FACE_MODE: GLenum;\n readonly CURRENT_PROGRAM: GLenum;\n readonly CURRENT_VERTEX_ATTRIB: GLenum;\n readonly CW: GLenum;\n readonly DECR: GLenum;\n readonly DECR_WRAP: GLenum;\n readonly DELETE_STATUS: GLenum;\n readonly DEPTH_ATTACHMENT: GLenum;\n readonly DEPTH_BITS: GLenum;\n readonly DEPTH_BUFFER_BIT: GLenum;\n readonly DEPTH_CLEAR_VALUE: GLenum;\n readonly DEPTH_COMPONENT: GLenum;\n readonly DEPTH_COMPONENT16: GLenum;\n readonly DEPTH_FUNC: GLenum;\n readonly DEPTH_RANGE: GLenum;\n readonly DEPTH_STENCIL: GLenum;\n readonly DEPTH_STENCIL_ATTACHMENT: GLenum;\n readonly DEPTH_TEST: GLenum;\n readonly DEPTH_WRITEMASK: GLenum;\n readonly DITHER: GLenum;\n readonly DONT_CARE: GLenum;\n readonly DST_ALPHA: GLenum;\n readonly DST_COLOR: GLenum;\n readonly DYNAMIC_DRAW: GLenum;\n readonly ELEMENT_ARRAY_BUFFER: GLenum;\n readonly ELEMENT_ARRAY_BUFFER_BINDING: GLenum;\n readonly EQUAL: GLenum;\n readonly FASTEST: GLenum;\n readonly FLOAT: GLenum;\n readonly FLOAT_MAT2: GLenum;\n readonly FLOAT_MAT3: GLenum;\n readonly FLOAT_MAT4: GLenum;\n readonly FLOAT_VEC2: GLenum;\n readonly FLOAT_VEC3: GLenum;\n readonly FLOAT_VEC4: GLenum;\n readonly FRAGMENT_SHADER: GLenum;\n readonly FRAMEBUFFER: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: GLenum;\n readonly FRAMEBUFFER_BINDING: GLenum;\n readonly FRAMEBUFFER_COMPLETE: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_UNSUPPORTED: GLenum;\n readonly FRONT: GLenum;\n readonly FRONT_AND_BACK: GLenum;\n readonly FRONT_FACE: GLenum;\n readonly FUNC_ADD: GLenum;\n readonly FUNC_REVERSE_SUBTRACT: GLenum;\n readonly FUNC_SUBTRACT: GLenum;\n readonly GENERATE_MIPMAP_HINT: GLenum;\n readonly GEQUAL: GLenum;\n readonly GREATER: GLenum;\n readonly GREEN_BITS: GLenum;\n readonly HIGH_FLOAT: GLenum;\n readonly HIGH_INT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_FORMAT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_TYPE: GLenum;\n readonly INCR: GLenum;\n readonly INCR_WRAP: GLenum;\n readonly INT: GLenum;\n readonly INT_VEC2: GLenum;\n readonly INT_VEC3: GLenum;\n readonly INT_VEC4: GLenum;\n readonly INVALID_ENUM: GLenum;\n readonly INVALID_FRAMEBUFFER_OPERATION: GLenum;\n readonly INVALID_OPERATION: GLenum;\n readonly INVALID_VALUE: GLenum;\n readonly INVERT: GLenum;\n readonly KEEP: GLenum;\n readonly LEQUAL: GLenum;\n readonly LESS: GLenum;\n readonly LINEAR: GLenum;\n readonly LINEAR_MIPMAP_LINEAR: GLenum;\n readonly LINEAR_MIPMAP_NEAREST: GLenum;\n readonly LINES: GLenum;\n readonly LINE_LOOP: GLenum;\n readonly LINE_STRIP: GLenum;\n readonly LINE_WIDTH: GLenum;\n readonly LINK_STATUS: GLenum;\n readonly LOW_FLOAT: GLenum;\n readonly LOW_INT: GLenum;\n readonly LUMINANCE: GLenum;\n readonly LUMINANCE_ALPHA: GLenum;\n readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_CUBE_MAP_TEXTURE_SIZE: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_VECTORS: GLenum;\n readonly MAX_RENDERBUFFER_SIZE: GLenum;\n readonly MAX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_TEXTURE_SIZE: GLenum;\n readonly MAX_VARYING_VECTORS: GLenum;\n readonly MAX_VERTEX_ATTRIBS: GLenum;\n readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_VERTEX_UNIFORM_VECTORS: GLenum;\n readonly MAX_VIEWPORT_DIMS: GLenum;\n readonly MEDIUM_FLOAT: GLenum;\n readonly MEDIUM_INT: GLenum;\n readonly MIRRORED_REPEAT: GLenum;\n readonly NEAREST: GLenum;\n readonly NEAREST_MIPMAP_LINEAR: GLenum;\n readonly NEAREST_MIPMAP_NEAREST: GLenum;\n readonly NEVER: GLenum;\n readonly NICEST: GLenum;\n readonly NONE: GLenum;\n readonly NOTEQUAL: GLenum;\n readonly NO_ERROR: GLenum;\n readonly ONE: GLenum;\n readonly ONE_MINUS_CONSTANT_ALPHA: GLenum;\n readonly ONE_MINUS_CONSTANT_COLOR: GLenum;\n readonly ONE_MINUS_DST_ALPHA: GLenum;\n readonly ONE_MINUS_DST_COLOR: GLenum;\n readonly ONE_MINUS_SRC_ALPHA: GLenum;\n readonly ONE_MINUS_SRC_COLOR: GLenum;\n readonly OUT_OF_MEMORY: GLenum;\n readonly PACK_ALIGNMENT: GLenum;\n readonly POINTS: GLenum;\n readonly POLYGON_OFFSET_FACTOR: GLenum;\n readonly POLYGON_OFFSET_FILL: GLenum;\n readonly POLYGON_OFFSET_UNITS: GLenum;\n readonly RED_BITS: GLenum;\n readonly RENDERBUFFER: GLenum;\n readonly RENDERBUFFER_ALPHA_SIZE: GLenum;\n readonly RENDERBUFFER_BINDING: GLenum;\n readonly RENDERBUFFER_BLUE_SIZE: GLenum;\n readonly RENDERBUFFER_DEPTH_SIZE: GLenum;\n readonly RENDERBUFFER_GREEN_SIZE: GLenum;\n readonly RENDERBUFFER_HEIGHT: GLenum;\n readonly RENDERBUFFER_INTERNAL_FORMAT: GLenum;\n readonly RENDERBUFFER_RED_SIZE: GLenum;\n readonly RENDERBUFFER_STENCIL_SIZE: GLenum;\n readonly RENDERBUFFER_WIDTH: GLenum;\n readonly RENDERER: GLenum;\n readonly REPEAT: GLenum;\n readonly REPLACE: GLenum;\n readonly RGB: GLenum;\n readonly RGB565: GLenum;\n readonly RGB5_A1: GLenum;\n readonly RGBA: GLenum;\n readonly RGBA4: GLenum;\n readonly SAMPLER_2D: GLenum;\n readonly SAMPLER_CUBE: GLenum;\n readonly SAMPLES: GLenum;\n readonly SAMPLE_ALPHA_TO_COVERAGE: GLenum;\n readonly SAMPLE_BUFFERS: GLenum;\n readonly SAMPLE_COVERAGE: GLenum;\n readonly SAMPLE_COVERAGE_INVERT: GLenum;\n readonly SAMPLE_COVERAGE_VALUE: GLenum;\n readonly SCISSOR_BOX: GLenum;\n readonly SCISSOR_TEST: GLenum;\n readonly SHADER_TYPE: GLenum;\n readonly SHADING_LANGUAGE_VERSION: GLenum;\n readonly SHORT: GLenum;\n readonly SRC_ALPHA: GLenum;\n readonly SRC_ALPHA_SATURATE: GLenum;\n readonly SRC_COLOR: GLenum;\n readonly STATIC_DRAW: GLenum;\n readonly STENCIL_ATTACHMENT: GLenum;\n readonly STENCIL_BACK_FAIL: GLenum;\n readonly STENCIL_BACK_FUNC: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_BACK_REF: GLenum;\n readonly STENCIL_BACK_VALUE_MASK: GLenum;\n readonly STENCIL_BACK_WRITEMASK: GLenum;\n readonly STENCIL_BITS: GLenum;\n readonly STENCIL_BUFFER_BIT: GLenum;\n readonly STENCIL_CLEAR_VALUE: GLenum;\n readonly STENCIL_FAIL: GLenum;\n readonly STENCIL_FUNC: GLenum;\n readonly STENCIL_INDEX8: GLenum;\n readonly STENCIL_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_REF: GLenum;\n readonly STENCIL_TEST: GLenum;\n readonly STENCIL_VALUE_MASK: GLenum;\n readonly STENCIL_WRITEMASK: GLenum;\n readonly STREAM_DRAW: GLenum;\n readonly SUBPIXEL_BITS: GLenum;\n readonly TEXTURE: GLenum;\n readonly TEXTURE0: GLenum;\n readonly TEXTURE1: GLenum;\n readonly TEXTURE10: GLenum;\n readonly TEXTURE11: GLenum;\n readonly TEXTURE12: GLenum;\n readonly TEXTURE13: GLenum;\n readonly TEXTURE14: GLenum;\n readonly TEXTURE15: GLenum;\n readonly TEXTURE16: GLenum;\n readonly TEXTURE17: GLenum;\n readonly TEXTURE18: GLenum;\n readonly TEXTURE19: GLenum;\n readonly TEXTURE2: GLenum;\n readonly TEXTURE20: GLenum;\n readonly TEXTURE21: GLenum;\n readonly TEXTURE22: GLenum;\n readonly TEXTURE23: GLenum;\n readonly TEXTURE24: GLenum;\n readonly TEXTURE25: GLenum;\n readonly TEXTURE26: GLenum;\n readonly TEXTURE27: GLenum;\n readonly TEXTURE28: GLenum;\n readonly TEXTURE29: GLenum;\n readonly TEXTURE3: GLenum;\n readonly TEXTURE30: GLenum;\n readonly TEXTURE31: GLenum;\n readonly TEXTURE4: GLenum;\n readonly TEXTURE5: GLenum;\n readonly TEXTURE6: GLenum;\n readonly TEXTURE7: GLenum;\n readonly TEXTURE8: GLenum;\n readonly TEXTURE9: GLenum;\n readonly TEXTURE_2D: GLenum;\n readonly TEXTURE_BINDING_2D: GLenum;\n readonly TEXTURE_BINDING_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Z: GLenum;\n readonly TEXTURE_MAG_FILTER: GLenum;\n readonly TEXTURE_MIN_FILTER: GLenum;\n readonly TEXTURE_WRAP_S: GLenum;\n readonly TEXTURE_WRAP_T: GLenum;\n readonly TRIANGLES: GLenum;\n readonly TRIANGLE_FAN: GLenum;\n readonly TRIANGLE_STRIP: GLenum;\n readonly UNPACK_ALIGNMENT: GLenum;\n readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: GLenum;\n readonly UNPACK_FLIP_Y_WEBGL: GLenum;\n readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: GLenum;\n readonly UNSIGNED_BYTE: GLenum;\n readonly UNSIGNED_INT: GLenum;\n readonly UNSIGNED_SHORT: GLenum;\n readonly UNSIGNED_SHORT_4_4_4_4: GLenum;\n readonly UNSIGNED_SHORT_5_5_5_1: GLenum;\n readonly UNSIGNED_SHORT_5_6_5: GLenum;\n readonly VALIDATE_STATUS: GLenum;\n readonly VENDOR: GLenum;\n readonly VERSION: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_ENABLED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_POINTER: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_SIZE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_STRIDE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_TYPE: GLenum;\n readonly VERTEX_SHADER: GLenum;\n readonly VIEWPORT: GLenum;\n readonly ZERO: GLenum;\n}\n\ninterface WebGLRenderingContextOverloads {\n bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void;\n bufferData(target: GLenum, data: BufferSource | null, usage: GLenum): void;\n bufferSubData(target: GLenum, offset: GLintptr, data: BufferSource): void;\n compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, data: ArrayBufferView): void;\n compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, data: ArrayBufferView): void;\n readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n uniform1fv(location: WebGLUniformLocation | null, v: Float32List): void;\n uniform1iv(location: WebGLUniformLocation | null, v: Int32List): void;\n uniform2fv(location: WebGLUniformLocation | null, v: Float32List): void;\n uniform2iv(location: WebGLUniformLocation | null, v: Int32List): void;\n uniform3fv(location: WebGLUniformLocation | null, v: Float32List): void;\n uniform3iv(location: WebGLUniformLocation | null, v: Int32List): void;\n uniform4fv(location: WebGLUniformLocation | null, v: Float32List): void;\n uniform4iv(location: WebGLUniformLocation | null, v: Int32List): void;\n uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;\n uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;\n uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;\n}\n\ninterface WebGLSampler {\n}\n\ndeclare var WebGLSampler: {\n prototype: WebGLSampler;\n new(): WebGLSampler;\n};\n\n/** The WebGLShader is part of the WebGL API and can either be a vertex or a fragment shader. A WebGLProgram requires both types of shaders. */\ninterface WebGLShader {\n}\n\ndeclare var WebGLShader: {\n prototype: WebGLShader;\n new(): WebGLShader;\n};\n\n/** Part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getShaderPrecisionFormat() method. */\ninterface WebGLShaderPrecisionFormat {\n readonly precision: GLint;\n readonly rangeMax: GLint;\n readonly rangeMin: GLint;\n}\n\ndeclare var WebGLShaderPrecisionFormat: {\n prototype: WebGLShaderPrecisionFormat;\n new(): WebGLShaderPrecisionFormat;\n};\n\ninterface WebGLSync {\n}\n\ndeclare var WebGLSync: {\n prototype: WebGLSync;\n new(): WebGLSync;\n};\n\n/** Part of the WebGL API and represents an opaque texture object providing storage and state for texturing operations. */\ninterface WebGLTexture {\n}\n\ndeclare var WebGLTexture: {\n prototype: WebGLTexture;\n new(): WebGLTexture;\n};\n\ninterface WebGLTransformFeedback {\n}\n\ndeclare var WebGLTransformFeedback: {\n prototype: WebGLTransformFeedback;\n new(): WebGLTransformFeedback;\n};\n\n/** Part of the WebGL API and represents the location of a uniform variable in a shader program. */\ninterface WebGLUniformLocation {\n}\n\ndeclare var WebGLUniformLocation: {\n prototype: WebGLUniformLocation;\n new(): WebGLUniformLocation;\n};\n\ninterface WebGLVertexArrayObject {\n}\n\ndeclare var WebGLVertexArrayObject: {\n prototype: WebGLVertexArrayObject;\n new(): WebGLVertexArrayObject;\n};\n\ninterface WebGLVertexArrayObjectOES {\n}\n\ninterface WebSocketEventMap {\n "close": CloseEvent;\n "error": Event;\n "message": MessageEvent;\n "open": Event;\n}\n\n/** Provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection. */\ninterface WebSocket extends EventTarget {\n /**\n * Returns a string that indicates how binary data from the WebSocket object is exposed to scripts:\n *\n * Can be set, to change how binary data is returned. The default is "blob".\n */\n binaryType: BinaryType;\n /**\n * Returns the number of bytes of application data (UTF-8 text and binary data) that have been queued using send() but not yet been transmitted to the network.\n *\n * If the WebSocket connection is closed, this attribute\'s value will only increase with each call to the send() method. (The number does not reset to zero once the connection closes.)\n */\n readonly bufferedAmount: number;\n /**\n * Returns the extensions selected by the server, if any.\n */\n readonly extensions: string;\n onclose: ((this: WebSocket, ev: CloseEvent) => any) | null;\n onerror: ((this: WebSocket, ev: Event) => any) | null;\n onmessage: ((this: WebSocket, ev: MessageEvent) => any) | null;\n onopen: ((this: WebSocket, ev: Event) => any) | null;\n /**\n * Returns the subprotocol selected by the server, if any. It can be used in conjunction with the array form of the constructor\'s second argument to perform subprotocol negotiation.\n */\n readonly protocol: string;\n /**\n * Returns the state of the WebSocket object\'s connection. It can have the values described below.\n */\n readonly readyState: number;\n /**\n * Returns the URL that was used to establish the WebSocket connection.\n */\n readonly url: string;\n /**\n * Closes the WebSocket connection, optionally using code as the the WebSocket connection close code and reason as the the WebSocket connection close reason.\n */\n close(code?: number, reason?: string): void;\n /**\n * Transmits data using the WebSocket connection. data can be a string, a Blob, an ArrayBuffer, or an ArrayBufferView.\n */\n send(data: string | ArrayBufferLike | Blob | ArrayBufferView): void;\n readonly CLOSED: number;\n readonly CLOSING: number;\n readonly CONNECTING: number;\n readonly OPEN: number;\n addEventListener<K extends keyof WebSocketEventMap>(type: K, listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof WebSocketEventMap>(type: K, listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var WebSocket: {\n prototype: WebSocket;\n new(url: string | URL, protocols?: string | string[]): WebSocket;\n readonly CLOSED: number;\n readonly CLOSING: number;\n readonly CONNECTING: number;\n readonly OPEN: number;\n};\n\n/** Events that occur due to the user moving a mouse wheel or similar input device. */\ninterface WheelEvent extends MouseEvent {\n readonly deltaMode: number;\n readonly deltaX: number;\n readonly deltaY: number;\n readonly deltaZ: number;\n readonly DOM_DELTA_LINE: number;\n readonly DOM_DELTA_PAGE: number;\n readonly DOM_DELTA_PIXEL: number;\n}\n\ndeclare var WheelEvent: {\n prototype: WheelEvent;\n new(type: string, eventInitDict?: WheelEventInit): WheelEvent;\n readonly DOM_DELTA_LINE: number;\n readonly DOM_DELTA_PAGE: number;\n readonly DOM_DELTA_PIXEL: number;\n};\n\ninterface WindowEventMap extends GlobalEventHandlersEventMap, WindowEventHandlersEventMap {\n "devicemotion": DeviceMotionEvent;\n "deviceorientation": DeviceOrientationEvent;\n "gamepadconnected": GamepadEvent;\n "gamepaddisconnected": GamepadEvent;\n "orientationchange": Event;\n}\n\n/** A window containing a DOM document; the document property points to the DOM document loaded in that window. */\ninterface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandlers, WindowEventHandlers, WindowLocalStorage, WindowOrWorkerGlobalScope, WindowSessionStorage {\n /** @deprecated This is a legacy alias of `navigator`. */\n readonly clientInformation: Navigator;\n /**\n * Returns true if the window has been closed, false otherwise.\n */\n readonly closed: boolean;\n /**\n * Defines a new custom element, mapping the given name to the given constructor as an autonomous custom element.\n */\n readonly customElements: CustomElementRegistry;\n readonly devicePixelRatio: number;\n readonly document: Document;\n /** @deprecated */\n readonly event: Event | undefined;\n /** @deprecated */\n readonly external: External;\n readonly frameElement: Element | null;\n readonly frames: WindowProxy;\n readonly history: History;\n readonly innerHeight: number;\n readonly innerWidth: number;\n readonly length: number;\n get location(): Location;\n set location(href: string | Location);\n /**\n * Returns true if the location bar is visible; otherwise, returns false.\n */\n readonly locationbar: BarProp;\n /**\n * Returns true if the menu bar is visible; otherwise, returns false.\n */\n readonly menubar: BarProp;\n name: string;\n readonly navigator: Navigator;\n ondevicemotion: ((this: Window, ev: DeviceMotionEvent) => any) | null;\n ondeviceorientation: ((this: Window, ev: DeviceOrientationEvent) => any) | null;\n /** @deprecated */\n onorientationchange: ((this: Window, ev: Event) => any) | null;\n opener: any;\n /** @deprecated */\n readonly orientation: number;\n readonly outerHeight: number;\n readonly outerWidth: number;\n /** @deprecated This is a legacy alias of `scrollX`. */\n readonly pageXOffset: number;\n /** @deprecated This is a legacy alias of `scrollY`. */\n readonly pageYOffset: number;\n /** Refers to either the parent WindowProxy, or itself. It can rarely be null e.g. for contentWindow of an iframe that is already removed from the parent. */\n readonly parent: WindowProxy;\n /**\n * Returns true if the personal bar is visible; otherwise, returns false.\n */\n readonly personalbar: BarProp;\n readonly screen: Screen;\n readonly screenLeft: number;\n readonly screenTop: number;\n readonly screenX: number;\n readonly screenY: number;\n readonly scrollX: number;\n readonly scrollY: number;\n /**\n * Returns true if the scrollbars are visible; otherwise, returns false.\n */\n readonly scrollbars: BarProp;\n readonly self: Window & typeof globalThis;\n readonly speechSynthesis: SpeechSynthesis;\n /** @deprecated */\n status: string;\n /**\n * Returns true if the status bar is visible; otherwise, returns false.\n */\n readonly statusbar: BarProp;\n /**\n * Returns true if the toolbar is visible; otherwise, returns false.\n */\n readonly toolbar: BarProp;\n readonly top: WindowProxy | null;\n readonly visualViewport: VisualViewport;\n readonly window: Window & typeof globalThis;\n alert(message?: any): void;\n blur(): void;\n cancelIdleCallback(handle: number): void;\n /** @deprecated */\n captureEvents(): void;\n /**\n * Closes the window.\n */\n close(): void;\n confirm(message?: string): boolean;\n /**\n * Moves the focus to the window\'s browsing context, if any.\n */\n focus(): void;\n getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration;\n getSelection(): Selection | null;\n matchMedia(query: string): MediaQueryList;\n moveBy(x: number, y: number): void;\n moveTo(x: number, y: number): void;\n open(url?: string | URL, target?: string, features?: string): WindowProxy | null;\n /**\n * Posts a message to the given window. Messages can be structured objects, e.g. nested objects and arrays, can contain JavaScript values (strings, numbers, Date objects, etc), and can contain certain data objects such as File Blob, FileList, and ArrayBuffer objects.\n *\n * Objects listed in the transfer member of options are transferred, not just cloned, meaning that they are no longer usable on the sending side.\n *\n * A target origin can be specified using the targetOrigin member of options. If not provided, it defaults to "/". This default restricts the message to same-origin targets only.\n *\n * If the origin of the target window doesn\'t match the given target origin, the message is discarded, to avoid information leakage. To send the message to the target regardless of origin, set the target origin to "*".\n *\n * Throws a "DataCloneError" DOMException if transfer array contains duplicate objects or if message could not be cloned.\n */\n postMessage(message: any, targetOrigin: string, transfer?: Transferable[]): void;\n postMessage(message: any, options?: WindowPostMessageOptions): void;\n print(): void;\n prompt(message?: string, _default?: string): string | null;\n /** @deprecated */\n releaseEvents(): void;\n requestIdleCallback(callback: IdleRequestCallback, options?: IdleRequestOptions): number;\n resizeBy(x: number, y: number): void;\n resizeTo(width: number, height: number): void;\n scroll(options?: ScrollToOptions): void;\n scroll(x: number, y: number): void;\n scrollBy(options?: ScrollToOptions): void;\n scrollBy(x: number, y: number): void;\n scrollTo(options?: ScrollToOptions): void;\n scrollTo(x: number, y: number): void;\n /**\n * Cancels the document load.\n */\n stop(): void;\n addEventListener<K extends keyof WindowEventMap>(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof WindowEventMap>(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n [index: number]: Window;\n}\n\ndeclare var Window: {\n prototype: Window;\n new(): Window;\n};\n\ninterface WindowEventHandlersEventMap {\n "afterprint": Event;\n "beforeprint": Event;\n "beforeunload": BeforeUnloadEvent;\n "gamepadconnected": Event;\n "gamepaddisconnected": Event;\n "hashchange": Event;\n "languagechange": Event;\n "message": MessageEvent;\n "messageerror": MessageEvent;\n "offline": Event;\n "online": Event;\n "pagehide": PageTransitionEvent;\n "pageshow": PageTransitionEvent;\n "popstate": PopStateEvent;\n "rejectionhandled": PromiseRejectionEvent;\n "storage": StorageEvent;\n "unhandledrejection": PromiseRejectionEvent;\n "unload": Event;\n}\n\ninterface WindowEventHandlers {\n onafterprint: ((this: WindowEventHandlers, ev: Event) => any) | null;\n onbeforeprint: ((this: WindowEventHandlers, ev: Event) => any) | null;\n onbeforeunload: ((this: WindowEventHandlers, ev: BeforeUnloadEvent) => any) | null;\n ongamepadconnected: ((this: WindowEventHandlers, ev: Event) => any) | null;\n ongamepaddisconnected: ((this: WindowEventHandlers, ev: Event) => any) | null;\n onhashchange: ((this: WindowEventHandlers, ev: Event) => any) | null;\n onlanguagechange: ((this: WindowEventHandlers, ev: Event) => any) | null;\n onmessage: ((this: WindowEventHandlers, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: WindowEventHandlers, ev: MessageEvent) => any) | null;\n onoffline: ((this: WindowEventHandlers, ev: Event) => any) | null;\n ononline: ((this: WindowEventHandlers, ev: Event) => any) | null;\n onpagehide: ((this: WindowEventHandlers, ev: PageTransitionEvent) => any) | null;\n onpageshow: ((this: WindowEventHandlers, ev: PageTransitionEvent) => any) | null;\n onpopstate: ((this: WindowEventHandlers, ev: PopStateEvent) => any) | null;\n onrejectionhandled: ((this: WindowEventHandlers, ev: PromiseRejectionEvent) => any) | null;\n onstorage: ((this: WindowEventHandlers, ev: StorageEvent) => any) | null;\n onunhandledrejection: ((this: WindowEventHandlers, ev: PromiseRejectionEvent) => any) | null;\n onunload: ((this: WindowEventHandlers, ev: Event) => any) | null;\n addEventListener<K extends keyof WindowEventHandlersEventMap>(type: K, listener: (this: WindowEventHandlers, ev: WindowEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof WindowEventHandlersEventMap>(type: K, listener: (this: WindowEventHandlers, ev: WindowEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ninterface WindowLocalStorage {\n readonly localStorage: Storage;\n}\n\ninterface WindowOrWorkerGlobalScope {\n readonly caches: CacheStorage;\n readonly crossOriginIsolated: boolean;\n readonly crypto: Crypto;\n readonly indexedDB: IDBFactory;\n readonly isSecureContext: boolean;\n readonly origin: string;\n readonly performance: Performance;\n atob(data: string): string;\n btoa(data: string): string;\n clearInterval(handle?: number): void;\n clearTimeout(handle?: number): void;\n createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;\n createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;\n fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;\n queueMicrotask(callback: VoidFunction): void;\n setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\n setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\n}\n\ninterface WindowSessionStorage {\n readonly sessionStorage: Storage;\n}\n\ninterface WorkerEventMap extends AbstractWorkerEventMap {\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\n/** This Web Workers API interface represents a background task that can be easily created and can send messages back to its creator. Creating a worker is as simple as calling the Worker() constructor and specifying a script to be run in the worker thread. */\ninterface Worker extends EventTarget, AbstractWorker {\n onmessage: ((this: Worker, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: Worker, ev: MessageEvent) => any) | null;\n /**\n * Clones message and transmits it to worker\'s global environment. transfer can be passed as a list of objects that are to be transferred rather than cloned.\n */\n postMessage(message: any, transfer: Transferable[]): void;\n postMessage(message: any, options?: PostMessageOptions): void;\n /**\n * Aborts worker\'s associated global environment.\n */\n terminate(): void;\n addEventListener<K extends keyof WorkerEventMap>(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof WorkerEventMap>(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Worker: {\n prototype: Worker;\n new(scriptURL: string | URL, options?: WorkerOptions): Worker;\n};\n\ninterface Worklet {\n /**\n * Loads and executes the module script given by moduleURL into all of worklet\'s global scopes. It can also create additional global scopes as part of this process, depending on the worklet type. The returned promise will fulfill once the script has been successfully loaded and run in all global scopes.\n *\n * The credentials option can be set to a credentials mode to modify the script-fetching process. It defaults to "same-origin".\n *\n * Any failures in fetching the script or its dependencies will cause the returned promise to be rejected with an "AbortError" DOMException. Any errors in parsing the script or its dependencies will cause the returned promise to be rejected with the exception generated during parsing.\n */\n addModule(moduleURL: string | URL, options?: WorkletOptions): Promise<void>;\n}\n\ndeclare var Worklet: {\n prototype: Worklet;\n new(): Worklet;\n};\n\n/** This Streams API interface provides a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in backpressure and queuing. */\ninterface WritableStream<W = any> {\n readonly locked: boolean;\n abort(reason?: any): Promise<void>;\n close(): Promise<void>;\n getWriter(): WritableStreamDefaultWriter<W>;\n}\n\ndeclare var WritableStream: {\n prototype: WritableStream;\n new<W = any>(underlyingSink?: UnderlyingSink<W>, strategy?: QueuingStrategy<W>): WritableStream<W>;\n};\n\n/** This Streams API interface represents a controller allowing control of a WritableStream\'s state. When constructing a WritableStream, the underlying sink is given a corresponding WritableStreamDefaultController instance to manipulate. */\ninterface WritableStreamDefaultController {\n error(e?: any): void;\n}\n\ndeclare var WritableStreamDefaultController: {\n prototype: WritableStreamDefaultController;\n new(): WritableStreamDefaultController;\n};\n\n/** This Streams API interface is the object returned by WritableStream.getWriter() and once created locks the < writer to the WritableStream ensuring that no other streams can write to the underlying sink. */\ninterface WritableStreamDefaultWriter<W = any> {\n readonly closed: Promise<undefined>;\n readonly desiredSize: number | null;\n readonly ready: Promise<undefined>;\n abort(reason?: any): Promise<void>;\n close(): Promise<void>;\n releaseLock(): void;\n write(chunk?: W): Promise<void>;\n}\n\ndeclare var WritableStreamDefaultWriter: {\n prototype: WritableStreamDefaultWriter;\n new<W = any>(stream: WritableStream<W>): WritableStreamDefaultWriter<W>;\n};\n\n/** An XML document. It inherits from the generic Document and does not add any specific methods or properties to it: nevertheless, several algorithms behave differently with the two types of documents. */\ninterface XMLDocument extends Document {\n addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: XMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: XMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var XMLDocument: {\n prototype: XMLDocument;\n new(): XMLDocument;\n};\n\ninterface XMLHttpRequestEventMap extends XMLHttpRequestEventTargetEventMap {\n "readystatechange": Event;\n}\n\n/** Use XMLHttpRequest (XHR) objects to interact with servers. You can retrieve data from a URL without having to do a full page refresh. This enables a Web page to update just part of a page without disrupting what the user is doing. */\ninterface XMLHttpRequest extends XMLHttpRequestEventTarget {\n onreadystatechange: ((this: XMLHttpRequest, ev: Event) => any) | null;\n /**\n * Returns client\'s state.\n */\n readonly readyState: number;\n /**\n * Returns the response body.\n */\n readonly response: any;\n /**\n * Returns response as text.\n *\n * Throws an "InvalidStateError" DOMException if responseType is not the empty string or "text".\n */\n readonly responseText: string;\n /**\n * Returns the response type.\n *\n * Can be set to change the response type. Values are: the empty string (default), "arraybuffer", "blob", "document", "json", and "text".\n *\n * When set: setting to "document" is ignored if current global object is not a Window object.\n *\n * When set: throws an "InvalidStateError" DOMException if state is loading or done.\n *\n * When set: throws an "InvalidAccessError" DOMException if the synchronous flag is set and current global object is a Window object.\n */\n responseType: XMLHttpRequestResponseType;\n readonly responseURL: string;\n /**\n * Returns the response as document.\n *\n * Throws an "InvalidStateError" DOMException if responseType is not the empty string or "document".\n */\n readonly responseXML: Document | null;\n readonly status: number;\n readonly statusText: string;\n /**\n * Can be set to a time in milliseconds. When set to a non-zero value will cause fetching to terminate after the given time has passed. When the time has passed, the request has not yet completed, and this\'s synchronous flag is unset, a timeout event will then be dispatched, or a "TimeoutError" DOMException will be thrown otherwise (for the send() method).\n *\n * When set: throws an "InvalidAccessError" DOMException if the synchronous flag is set and current global object is a Window object.\n */\n timeout: number;\n /**\n * Returns the associated XMLHttpRequestUpload object. It can be used to gather transmission information when data is transferred to a server.\n */\n readonly upload: XMLHttpRequestUpload;\n /**\n * True when credentials are to be included in a cross-origin request. False when they are to be excluded in a cross-origin request and when cookies are to be ignored in its response. Initially false.\n *\n * When set: throws an "InvalidStateError" DOMException if state is not unsent or opened, or if the send() flag is set.\n */\n withCredentials: boolean;\n /**\n * Cancels any network activity.\n */\n abort(): void;\n getAllResponseHeaders(): string;\n getResponseHeader(name: string): string | null;\n /**\n * Sets the request method, request URL, and synchronous flag.\n *\n * Throws a "SyntaxError" DOMException if either method is not a valid method or url cannot be parsed.\n *\n * Throws a "SecurityError" DOMException if method is a case-insensitive match for `CONNECT`, `TRACE`, or `TRACK`.\n *\n * Throws an "InvalidAccessError" DOMException if async is false, current global object is a Window object, and the timeout attribute is not zero or the responseType attribute is not the empty string.\n */\n open(method: string, url: string | URL): void;\n open(method: string, url: string | URL, async: boolean, username?: string | null, password?: string | null): void;\n /**\n * Acts as if the `Content-Type` header value for a response is mime. (It does not change the header.)\n *\n * Throws an "InvalidStateError" DOMException if state is loading or done.\n */\n overrideMimeType(mime: string): void;\n /**\n * Initiates the request. The body argument provides the request body, if any, and is ignored if the request method is GET or HEAD.\n *\n * Throws an "InvalidStateError" DOMException if either state is not opened or the send() flag is set.\n */\n send(body?: Document | XMLHttpRequestBodyInit | null): void;\n /**\n * Combines a header in author request headers.\n *\n * Throws an "InvalidStateError" DOMException if either state is not opened or the send() flag is set.\n *\n * Throws a "SyntaxError" DOMException if name is not a header name or if value is not a header value.\n */\n setRequestHeader(name: string, value: string): void;\n readonly DONE: number;\n readonly HEADERS_RECEIVED: number;\n readonly LOADING: number;\n readonly OPENED: number;\n readonly UNSENT: number;\n addEventListener<K extends keyof XMLHttpRequestEventMap>(type: K, listener: (this: XMLHttpRequest, ev: XMLHttpRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof XMLHttpRequestEventMap>(type: K, listener: (this: XMLHttpRequest, ev: XMLHttpRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var XMLHttpRequest: {\n prototype: XMLHttpRequest;\n new(): XMLHttpRequest;\n readonly DONE: number;\n readonly HEADERS_RECEIVED: number;\n readonly LOADING: number;\n readonly OPENED: number;\n readonly UNSENT: number;\n};\n\ninterface XMLHttpRequestEventTargetEventMap {\n "abort": ProgressEvent<XMLHttpRequestEventTarget>;\n "error": ProgressEvent<XMLHttpRequestEventTarget>;\n "load": ProgressEvent<XMLHttpRequestEventTarget>;\n "loadend": ProgressEvent<XMLHttpRequestEventTarget>;\n "loadstart": ProgressEvent<XMLHttpRequestEventTarget>;\n "progress": ProgressEvent<XMLHttpRequestEventTarget>;\n "timeout": ProgressEvent<XMLHttpRequestEventTarget>;\n}\n\ninterface XMLHttpRequestEventTarget extends EventTarget {\n onabort: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n onerror: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n onload: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n onloadend: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n onloadstart: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n onprogress: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n ontimeout: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n addEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var XMLHttpRequestEventTarget: {\n prototype: XMLHttpRequestEventTarget;\n new(): XMLHttpRequestEventTarget;\n};\n\ninterface XMLHttpRequestUpload extends XMLHttpRequestEventTarget {\n addEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var XMLHttpRequestUpload: {\n prototype: XMLHttpRequestUpload;\n new(): XMLHttpRequestUpload;\n};\n\n/** Provides the serializeToString() method to construct an XML string representing a DOM tree. */\ninterface XMLSerializer {\n serializeToString(root: Node): string;\n}\n\ndeclare var XMLSerializer: {\n prototype: XMLSerializer;\n new(): XMLSerializer;\n};\n\n/** The XPathEvaluator interface allows to compile and evaluate XPath expressions. */\ninterface XPathEvaluator extends XPathEvaluatorBase {\n}\n\ndeclare var XPathEvaluator: {\n prototype: XPathEvaluator;\n new(): XPathEvaluator;\n};\n\ninterface XPathEvaluatorBase {\n createExpression(expression: string, resolver?: XPathNSResolver | null): XPathExpression;\n createNSResolver(nodeResolver: Node): XPathNSResolver;\n evaluate(expression: string, contextNode: Node, resolver?: XPathNSResolver | null, type?: number, result?: XPathResult | null): XPathResult;\n}\n\n/** This interface is a compiled XPath expression that can be evaluated on a document or specific node to return information its DOM tree. */\ninterface XPathExpression {\n evaluate(contextNode: Node, type?: number, result?: XPathResult | null): XPathResult;\n}\n\ndeclare var XPathExpression: {\n prototype: XPathExpression;\n new(): XPathExpression;\n};\n\n/** The results generated by evaluating an XPath expression within the context of a given node. */\ninterface XPathResult {\n readonly booleanValue: boolean;\n readonly invalidIteratorState: boolean;\n readonly numberValue: number;\n readonly resultType: number;\n readonly singleNodeValue: Node | null;\n readonly snapshotLength: number;\n readonly stringValue: string;\n iterateNext(): Node | null;\n snapshotItem(index: number): Node | null;\n readonly ANY_TYPE: number;\n readonly ANY_UNORDERED_NODE_TYPE: number;\n readonly BOOLEAN_TYPE: number;\n readonly FIRST_ORDERED_NODE_TYPE: number;\n readonly NUMBER_TYPE: number;\n readonly ORDERED_NODE_ITERATOR_TYPE: number;\n readonly ORDERED_NODE_SNAPSHOT_TYPE: number;\n readonly STRING_TYPE: number;\n readonly UNORDERED_NODE_ITERATOR_TYPE: number;\n readonly UNORDERED_NODE_SNAPSHOT_TYPE: number;\n}\n\ndeclare var XPathResult: {\n prototype: XPathResult;\n new(): XPathResult;\n readonly ANY_TYPE: number;\n readonly ANY_UNORDERED_NODE_TYPE: number;\n readonly BOOLEAN_TYPE: number;\n readonly FIRST_ORDERED_NODE_TYPE: number;\n readonly NUMBER_TYPE: number;\n readonly ORDERED_NODE_ITERATOR_TYPE: number;\n readonly ORDERED_NODE_SNAPSHOT_TYPE: number;\n readonly STRING_TYPE: number;\n readonly UNORDERED_NODE_ITERATOR_TYPE: number;\n readonly UNORDERED_NODE_SNAPSHOT_TYPE: number;\n};\n\n/** An XSLTProcessor applies an XSLT stylesheet transformation to an XML document to produce a new XML document as output. It has methods to load the XSLT stylesheet, to manipulate <xsl:param> parameter values, and to apply the transformation to documents. */\ninterface XSLTProcessor {\n clearParameters(): void;\n getParameter(namespaceURI: string | null, localName: string): any;\n importStylesheet(style: Node): void;\n removeParameter(namespaceURI: string | null, localName: string): void;\n reset(): void;\n setParameter(namespaceURI: string | null, localName: string, value: any): void;\n transformToDocument(source: Node): Document;\n transformToFragment(source: Node, output: Document): DocumentFragment;\n}\n\ndeclare var XSLTProcessor: {\n prototype: XSLTProcessor;\n new(): XSLTProcessor;\n};\n\ninterface Console {\n assert(condition?: boolean, ...data: any[]): void;\n clear(): void;\n count(label?: string): void;\n countReset(label?: string): void;\n debug(...data: any[]): void;\n dir(item?: any, options?: any): void;\n dirxml(...data: any[]): void;\n error(...data: any[]): void;\n group(...data: any[]): void;\n groupCollapsed(...data: any[]): void;\n groupEnd(): void;\n info(...data: any[]): void;\n log(...data: any[]): void;\n table(tabularData?: any, properties?: string[]): void;\n time(label?: string): void;\n timeEnd(label?: string): void;\n timeLog(label?: string, ...data: any[]): void;\n timeStamp(label?: string): void;\n trace(...data: any[]): void;\n warn(...data: any[]): void;\n}\n\ndeclare var console: Console;\n\n/** Holds useful CSS-related methods. No object with this interface are implemented: it contains only static methods and therefore is a utilitarian interface. */\ndeclare namespace CSS {\n function escape(ident: string): string;\n function supports(property: string, value: string): boolean;\n function supports(conditionText: string): boolean;\n}\n\ndeclare namespace WebAssembly {\n interface CompileError extends Error {\n }\n\n var CompileError: {\n prototype: CompileError;\n new(): CompileError;\n };\n\n interface Global {\n value: any;\n valueOf(): any;\n }\n\n var Global: {\n prototype: Global;\n new(descriptor: GlobalDescriptor, v?: any): Global;\n };\n\n interface Instance {\n readonly exports: Exports;\n }\n\n var Instance: {\n prototype: Instance;\n new(module: Module, importObject?: Imports): Instance;\n };\n\n interface LinkError extends Error {\n }\n\n var LinkError: {\n prototype: LinkError;\n new(): LinkError;\n };\n\n interface Memory {\n readonly buffer: ArrayBuffer;\n grow(delta: number): number;\n }\n\n var Memory: {\n prototype: Memory;\n new(descriptor: MemoryDescriptor): Memory;\n };\n\n interface Module {\n }\n\n var Module: {\n prototype: Module;\n new(bytes: BufferSource): Module;\n customSections(moduleObject: Module, sectionName: string): ArrayBuffer[];\n exports(moduleObject: Module): ModuleExportDescriptor[];\n imports(moduleObject: Module): ModuleImportDescriptor[];\n };\n\n interface RuntimeError extends Error {\n }\n\n var RuntimeError: {\n prototype: RuntimeError;\n new(): RuntimeError;\n };\n\n interface Table {\n readonly length: number;\n get(index: number): any;\n grow(delta: number, value?: any): number;\n set(index: number, value?: any): void;\n }\n\n var Table: {\n prototype: Table;\n new(descriptor: TableDescriptor, value?: any): Table;\n };\n\n interface GlobalDescriptor {\n mutable?: boolean;\n value: ValueType;\n }\n\n interface MemoryDescriptor {\n initial: number;\n maximum?: number;\n shared?: boolean;\n }\n\n interface ModuleExportDescriptor {\n kind: ImportExportKind;\n name: string;\n }\n\n interface ModuleImportDescriptor {\n kind: ImportExportKind;\n module: string;\n name: string;\n }\n\n interface TableDescriptor {\n element: TableKind;\n initial: number;\n maximum?: number;\n }\n\n interface WebAssemblyInstantiatedSource {\n instance: Instance;\n module: Module;\n }\n\n type ImportExportKind = "function" | "global" | "memory" | "table";\n type TableKind = "anyfunc" | "externref";\n type ValueType = "anyfunc" | "externref" | "f32" | "f64" | "i32" | "i64";\n type ExportValue = Function | Global | Memory | Table;\n type Exports = Record<string, ExportValue>;\n type ImportValue = ExportValue | number;\n type Imports = Record<string, ModuleImports>;\n type ModuleImports = Record<string, ImportValue>;\n function compile(bytes: BufferSource): Promise<Module>;\n function compileStreaming(source: Response | PromiseLike<Response>): Promise<Module>;\n function instantiate(bytes: BufferSource, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;\n function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;\n function instantiateStreaming(source: Response | PromiseLike<Response>, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;\n function validate(bytes: BufferSource): boolean;\n}\n\ninterface BlobCallback {\n (blob: Blob | null): void;\n}\n\ninterface CustomElementConstructor {\n new (...params: any[]): HTMLElement;\n}\n\ninterface DecodeErrorCallback {\n (error: DOMException): void;\n}\n\ninterface DecodeSuccessCallback {\n (decodedData: AudioBuffer): void;\n}\n\ninterface ErrorCallback {\n (err: DOMException): void;\n}\n\ninterface FileCallback {\n (file: File): void;\n}\n\ninterface FileSystemEntriesCallback {\n (entries: FileSystemEntry[]): void;\n}\n\ninterface FileSystemEntryCallback {\n (entry: FileSystemEntry): void;\n}\n\ninterface FrameRequestCallback {\n (time: DOMHighResTimeStamp): void;\n}\n\ninterface FunctionStringCallback {\n (data: string): void;\n}\n\ninterface IdleRequestCallback {\n (deadline: IdleDeadline): void;\n}\n\ninterface IntersectionObserverCallback {\n (entries: IntersectionObserverEntry[], observer: IntersectionObserver): void;\n}\n\ninterface MediaSessionActionHandler {\n (details: MediaSessionActionDetails): void;\n}\n\ninterface MutationCallback {\n (mutations: MutationRecord[], observer: MutationObserver): void;\n}\n\ninterface NotificationPermissionCallback {\n (permission: NotificationPermission): void;\n}\n\ninterface OnBeforeUnloadEventHandlerNonNull {\n (event: Event): string | null;\n}\n\ninterface OnErrorEventHandlerNonNull {\n (event: Event | string, source?: string, lineno?: number, colno?: number, error?: Error): any;\n}\n\ninterface PerformanceObserverCallback {\n (entries: PerformanceObserverEntryList, observer: PerformanceObserver): void;\n}\n\ninterface PositionCallback {\n (position: GeolocationPosition): void;\n}\n\ninterface PositionErrorCallback {\n (positionError: GeolocationPositionError): void;\n}\n\ninterface QueuingStrategySize<T = any> {\n (chunk?: T): number;\n}\n\ninterface RTCPeerConnectionErrorCallback {\n (error: DOMException): void;\n}\n\ninterface RTCSessionDescriptionCallback {\n (description: RTCSessionDescriptionInit): void;\n}\n\ninterface RemotePlaybackAvailabilityCallback {\n (available: boolean): void;\n}\n\ninterface ResizeObserverCallback {\n (entries: ResizeObserverEntry[], observer: ResizeObserver): void;\n}\n\ninterface TransformerFlushCallback<O> {\n (controller: TransformStreamDefaultController<O>): void | PromiseLike<void>;\n}\n\ninterface TransformerStartCallback<O> {\n (controller: TransformStreamDefaultController<O>): any;\n}\n\ninterface TransformerTransformCallback<I, O> {\n (chunk: I, controller: TransformStreamDefaultController<O>): void | PromiseLike<void>;\n}\n\ninterface UnderlyingSinkAbortCallback {\n (reason?: any): void | PromiseLike<void>;\n}\n\ninterface UnderlyingSinkCloseCallback {\n (): void | PromiseLike<void>;\n}\n\ninterface UnderlyingSinkStartCallback {\n (controller: WritableStreamDefaultController): any;\n}\n\ninterface UnderlyingSinkWriteCallback<W> {\n (chunk: W, controller: WritableStreamDefaultController): void | PromiseLike<void>;\n}\n\ninterface UnderlyingSourceCancelCallback {\n (reason?: any): void | PromiseLike<void>;\n}\n\ninterface UnderlyingSourcePullCallback<R> {\n (controller: ReadableStreamController<R>): void | PromiseLike<void>;\n}\n\ninterface UnderlyingSourceStartCallback<R> {\n (controller: ReadableStreamController<R>): any;\n}\n\ninterface VoidFunction {\n (): void;\n}\n\ninterface HTMLElementTagNameMap {\n "a": HTMLAnchorElement;\n "abbr": HTMLElement;\n "address": HTMLElement;\n "area": HTMLAreaElement;\n "article": HTMLElement;\n "aside": HTMLElement;\n "audio": HTMLAudioElement;\n "b": HTMLElement;\n "base": HTMLBaseElement;\n "bdi": HTMLElement;\n "bdo": HTMLElement;\n "blockquote": HTMLQuoteElement;\n "body": HTMLBodyElement;\n "br": HTMLBRElement;\n "button": HTMLButtonElement;\n "canvas": HTMLCanvasElement;\n "caption": HTMLTableCaptionElement;\n "cite": HTMLElement;\n "code": HTMLElement;\n "col": HTMLTableColElement;\n "colgroup": HTMLTableColElement;\n "data": HTMLDataElement;\n "datalist": HTMLDataListElement;\n "dd": HTMLElement;\n "del": HTMLModElement;\n "details": HTMLDetailsElement;\n "dfn": HTMLElement;\n "dialog": HTMLDialogElement;\n "dir": HTMLDirectoryElement;\n "div": HTMLDivElement;\n "dl": HTMLDListElement;\n "dt": HTMLElement;\n "em": HTMLElement;\n "embed": HTMLEmbedElement;\n "fieldset": HTMLFieldSetElement;\n "figcaption": HTMLElement;\n "figure": HTMLElement;\n "font": HTMLFontElement;\n "footer": HTMLElement;\n "form": HTMLFormElement;\n "frame": HTMLFrameElement;\n "frameset": HTMLFrameSetElement;\n "h1": HTMLHeadingElement;\n "h2": HTMLHeadingElement;\n "h3": HTMLHeadingElement;\n "h4": HTMLHeadingElement;\n "h5": HTMLHeadingElement;\n "h6": HTMLHeadingElement;\n "head": HTMLHeadElement;\n "header": HTMLElement;\n "hgroup": HTMLElement;\n "hr": HTMLHRElement;\n "html": HTMLHtmlElement;\n "i": HTMLElement;\n "iframe": HTMLIFrameElement;\n "img": HTMLImageElement;\n "input": HTMLInputElement;\n "ins": HTMLModElement;\n "kbd": HTMLElement;\n "label": HTMLLabelElement;\n "legend": HTMLLegendElement;\n "li": HTMLLIElement;\n "link": HTMLLinkElement;\n "main": HTMLElement;\n "map": HTMLMapElement;\n "mark": HTMLElement;\n "marquee": HTMLMarqueeElement;\n "menu": HTMLMenuElement;\n "meta": HTMLMetaElement;\n "meter": HTMLMeterElement;\n "nav": HTMLElement;\n "noscript": HTMLElement;\n "object": HTMLObjectElement;\n "ol": HTMLOListElement;\n "optgroup": HTMLOptGroupElement;\n "option": HTMLOptionElement;\n "output": HTMLOutputElement;\n "p": HTMLParagraphElement;\n "param": HTMLParamElement;\n "picture": HTMLPictureElement;\n "pre": HTMLPreElement;\n "progress": HTMLProgressElement;\n "q": HTMLQuoteElement;\n "rp": HTMLElement;\n "rt": HTMLElement;\n "ruby": HTMLElement;\n "s": HTMLElement;\n "samp": HTMLElement;\n "script": HTMLScriptElement;\n "section": HTMLElement;\n "select": HTMLSelectElement;\n "slot": HTMLSlotElement;\n "small": HTMLElement;\n "source": HTMLSourceElement;\n "span": HTMLSpanElement;\n "strong": HTMLElement;\n "style": HTMLStyleElement;\n "sub": HTMLElement;\n "summary": HTMLElement;\n "sup": HTMLElement;\n "table": HTMLTableElement;\n "tbody": HTMLTableSectionElement;\n "td": HTMLTableCellElement;\n "template": HTMLTemplateElement;\n "textarea": HTMLTextAreaElement;\n "tfoot": HTMLTableSectionElement;\n "th": HTMLTableCellElement;\n "thead": HTMLTableSectionElement;\n "time": HTMLTimeElement;\n "title": HTMLTitleElement;\n "tr": HTMLTableRowElement;\n "track": HTMLTrackElement;\n "u": HTMLElement;\n "ul": HTMLUListElement;\n "var": HTMLElement;\n "video": HTMLVideoElement;\n "wbr": HTMLElement;\n}\n\ninterface HTMLElementDeprecatedTagNameMap {\n "listing": HTMLPreElement;\n "xmp": HTMLPreElement;\n}\n\ninterface SVGElementTagNameMap {\n "a": SVGAElement;\n "animate": SVGAnimateElement;\n "animateMotion": SVGAnimateMotionElement;\n "animateTransform": SVGAnimateTransformElement;\n "circle": SVGCircleElement;\n "clipPath": SVGClipPathElement;\n "defs": SVGDefsElement;\n "desc": SVGDescElement;\n "ellipse": SVGEllipseElement;\n "feBlend": SVGFEBlendElement;\n "feColorMatrix": SVGFEColorMatrixElement;\n "feComponentTransfer": SVGFEComponentTransferElement;\n "feComposite": SVGFECompositeElement;\n "feConvolveMatrix": SVGFEConvolveMatrixElement;\n "feDiffuseLighting": SVGFEDiffuseLightingElement;\n "feDisplacementMap": SVGFEDisplacementMapElement;\n "feDistantLight": SVGFEDistantLightElement;\n "feDropShadow": SVGFEDropShadowElement;\n "feFlood": SVGFEFloodElement;\n "feFuncA": SVGFEFuncAElement;\n "feFuncB": SVGFEFuncBElement;\n "feFuncG": SVGFEFuncGElement;\n "feFuncR": SVGFEFuncRElement;\n "feGaussianBlur": SVGFEGaussianBlurElement;\n "feImage": SVGFEImageElement;\n "feMerge": SVGFEMergeElement;\n "feMergeNode": SVGFEMergeNodeElement;\n "feMorphology": SVGFEMorphologyElement;\n "feOffset": SVGFEOffsetElement;\n "fePointLight": SVGFEPointLightElement;\n "feSpecularLighting": SVGFESpecularLightingElement;\n "feSpotLight": SVGFESpotLightElement;\n "feTile": SVGFETileElement;\n "feTurbulence": SVGFETurbulenceElement;\n "filter": SVGFilterElement;\n "foreignObject": SVGForeignObjectElement;\n "g": SVGGElement;\n "image": SVGImageElement;\n "line": SVGLineElement;\n "linearGradient": SVGLinearGradientElement;\n "marker": SVGMarkerElement;\n "mask": SVGMaskElement;\n "metadata": SVGMetadataElement;\n "mpath": SVGMPathElement;\n "path": SVGPathElement;\n "pattern": SVGPatternElement;\n "polygon": SVGPolygonElement;\n "polyline": SVGPolylineElement;\n "radialGradient": SVGRadialGradientElement;\n "rect": SVGRectElement;\n "script": SVGScriptElement;\n "set": SVGSetElement;\n "stop": SVGStopElement;\n "style": SVGStyleElement;\n "svg": SVGSVGElement;\n "switch": SVGSwitchElement;\n "symbol": SVGSymbolElement;\n "text": SVGTextElement;\n "textPath": SVGTextPathElement;\n "title": SVGTitleElement;\n "tspan": SVGTSpanElement;\n "use": SVGUseElement;\n "view": SVGViewElement;\n}\n\n/** @deprecated Directly use HTMLElementTagNameMap or SVGElementTagNameMap as appropriate, instead. */\ntype ElementTagNameMap = HTMLElementTagNameMap & Pick<SVGElementTagNameMap, Exclude<keyof SVGElementTagNameMap, keyof HTMLElementTagNameMap>>;\n\ndeclare var Audio: {\n new(src?: string): HTMLAudioElement;\n};\ndeclare var Image: {\n new(width?: number, height?: number): HTMLImageElement;\n};\ndeclare var Option: {\n new(text?: string, value?: string, defaultSelected?: boolean, selected?: boolean): HTMLOptionElement;\n};\n/** @deprecated This is a legacy alias of `navigator`. */\ndeclare var clientInformation: Navigator;\n/**\n * Returns true if the window has been closed, false otherwise.\n */\ndeclare var closed: boolean;\n/**\n * Defines a new custom element, mapping the given name to the given constructor as an autonomous custom element.\n */\ndeclare var customElements: CustomElementRegistry;\ndeclare var devicePixelRatio: number;\ndeclare var document: Document;\n/** @deprecated */\ndeclare var event: Event | undefined;\n/** @deprecated */\ndeclare var external: External;\ndeclare var frameElement: Element | null;\ndeclare var frames: WindowProxy;\ndeclare var history: History;\ndeclare var innerHeight: number;\ndeclare var innerWidth: number;\ndeclare var length: number;\ndeclare var location: Location;\n/**\n * Returns true if the location bar is visible; otherwise, returns false.\n */\ndeclare var locationbar: BarProp;\n/**\n * Returns true if the menu bar is visible; otherwise, returns false.\n */\ndeclare var menubar: BarProp;\n/** @deprecated */\ndeclare const name: void;\ndeclare var navigator: Navigator;\ndeclare var ondevicemotion: ((this: Window, ev: DeviceMotionEvent) => any) | null;\ndeclare var ondeviceorientation: ((this: Window, ev: DeviceOrientationEvent) => any) | null;\n/** @deprecated */\ndeclare var onorientationchange: ((this: Window, ev: Event) => any) | null;\ndeclare var opener: any;\n/** @deprecated */\ndeclare var orientation: number;\ndeclare var outerHeight: number;\ndeclare var outerWidth: number;\n/** @deprecated This is a legacy alias of `scrollX`. */\ndeclare var pageXOffset: number;\n/** @deprecated This is a legacy alias of `scrollY`. */\ndeclare var pageYOffset: number;\n/** Refers to either the parent WindowProxy, or itself. It can rarely be null e.g. for contentWindow of an iframe that is already removed from the parent. */\ndeclare var parent: WindowProxy;\n/**\n * Returns true if the personal bar is visible; otherwise, returns false.\n */\ndeclare var personalbar: BarProp;\ndeclare var screen: Screen;\ndeclare var screenLeft: number;\ndeclare var screenTop: number;\ndeclare var screenX: number;\ndeclare var screenY: number;\ndeclare var scrollX: number;\ndeclare var scrollY: number;\n/**\n * Returns true if the scrollbars are visible; otherwise, returns false.\n */\ndeclare var scrollbars: BarProp;\ndeclare var self: Window & typeof globalThis;\ndeclare var speechSynthesis: SpeechSynthesis;\n/** @deprecated */\ndeclare var status: string;\n/**\n * Returns true if the status bar is visible; otherwise, returns false.\n */\ndeclare var statusbar: BarProp;\n/**\n * Returns true if the toolbar is visible; otherwise, returns false.\n */\ndeclare var toolbar: BarProp;\ndeclare var top: WindowProxy | null;\ndeclare var visualViewport: VisualViewport;\ndeclare var window: Window & typeof globalThis;\ndeclare function alert(message?: any): void;\ndeclare function blur(): void;\ndeclare function cancelIdleCallback(handle: number): void;\n/** @deprecated */\ndeclare function captureEvents(): void;\n/**\n * Closes the window.\n */\ndeclare function close(): void;\ndeclare function confirm(message?: string): boolean;\n/**\n * Moves the focus to the window\'s browsing context, if any.\n */\ndeclare function focus(): void;\ndeclare function getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration;\ndeclare function getSelection(): Selection | null;\ndeclare function matchMedia(query: string): MediaQueryList;\ndeclare function moveBy(x: number, y: number): void;\ndeclare function moveTo(x: number, y: number): void;\ndeclare function open(url?: string | URL, target?: string, features?: string): WindowProxy | null;\n/**\n * Posts a message to the given window. Messages can be structured objects, e.g. nested objects and arrays, can contain JavaScript values (strings, numbers, Date objects, etc), and can contain certain data objects such as File Blob, FileList, and ArrayBuffer objects.\n *\n * Objects listed in the transfer member of options are transferred, not just cloned, meaning that they are no longer usable on the sending side.\n *\n * A target origin can be specified using the targetOrigin member of options. If not provided, it defaults to "/". This default restricts the message to same-origin targets only.\n *\n * If the origin of the target window doesn\'t match the given target origin, the message is discarded, to avoid information leakage. To send the message to the target regardless of origin, set the target origin to "*".\n *\n * Throws a "DataCloneError" DOMException if transfer array contains duplicate objects or if message could not be cloned.\n */\ndeclare function postMessage(message: any, targetOrigin: string, transfer?: Transferable[]): void;\ndeclare function postMessage(message: any, options?: WindowPostMessageOptions): void;\ndeclare function print(): void;\ndeclare function prompt(message?: string, _default?: string): string | null;\n/** @deprecated */\ndeclare function releaseEvents(): void;\ndeclare function requestIdleCallback(callback: IdleRequestCallback, options?: IdleRequestOptions): number;\ndeclare function resizeBy(x: number, y: number): void;\ndeclare function resizeTo(width: number, height: number): void;\ndeclare function scroll(options?: ScrollToOptions): void;\ndeclare function scroll(x: number, y: number): void;\ndeclare function scrollBy(options?: ScrollToOptions): void;\ndeclare function scrollBy(x: number, y: number): void;\ndeclare function scrollTo(options?: ScrollToOptions): void;\ndeclare function scrollTo(x: number, y: number): void;\n/**\n * Cancels the document load.\n */\ndeclare function stop(): void;\ndeclare function toString(): string;\n/**\n * 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.\n */\ndeclare function dispatchEvent(event: Event): boolean;\ndeclare function cancelAnimationFrame(handle: number): void;\ndeclare function requestAnimationFrame(callback: FrameRequestCallback): number;\n/**\n * Fires when the user aborts the download.\n * @param ev The event.\n */\ndeclare var onabort: ((this: Window, ev: UIEvent) => any) | null;\ndeclare var onanimationcancel: ((this: Window, ev: AnimationEvent) => any) | null;\ndeclare var onanimationend: ((this: Window, ev: AnimationEvent) => any) | null;\ndeclare var onanimationiteration: ((this: Window, ev: AnimationEvent) => any) | null;\ndeclare var onanimationstart: ((this: Window, ev: AnimationEvent) => any) | null;\ndeclare var onauxclick: ((this: Window, ev: MouseEvent) => any) | null;\n/**\n * Fires when the object loses the input focus.\n * @param ev The focus event.\n */\ndeclare var onblur: ((this: Window, ev: FocusEvent) => any) | null;\n/**\n * Occurs when playback is possible, but would require further buffering.\n * @param ev The event.\n */\ndeclare var oncanplay: ((this: Window, ev: Event) => any) | null;\ndeclare var oncanplaythrough: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when the contents of the object or selection have changed.\n * @param ev The event.\n */\ndeclare var onchange: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when the user clicks the left mouse button on the object\n * @param ev The mouse event.\n */\ndeclare var onclick: ((this: Window, ev: MouseEvent) => any) | null;\ndeclare var onclose: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when the user clicks the right mouse button in the client area, opening the context menu.\n * @param ev The mouse event.\n */\ndeclare var oncontextmenu: ((this: Window, ev: MouseEvent) => any) | null;\ndeclare var oncuechange: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when the user double-clicks the object.\n * @param ev The mouse event.\n */\ndeclare var ondblclick: ((this: Window, ev: MouseEvent) => any) | null;\n/**\n * Fires on the source object continuously during a drag operation.\n * @param ev The event.\n */\ndeclare var ondrag: ((this: Window, ev: DragEvent) => any) | null;\n/**\n * Fires on the source object when the user releases the mouse at the close of a drag operation.\n * @param ev The event.\n */\ndeclare var ondragend: ((this: Window, ev: DragEvent) => any) | null;\n/**\n * Fires on the target element when the user drags the object to a valid drop target.\n * @param ev The drag event.\n */\ndeclare var ondragenter: ((this: Window, ev: DragEvent) => any) | null;\n/**\n * Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.\n * @param ev The drag event.\n */\ndeclare var ondragleave: ((this: Window, ev: DragEvent) => any) | null;\n/**\n * Fires on the target element continuously while the user drags the object over a valid drop target.\n * @param ev The event.\n */\ndeclare var ondragover: ((this: Window, ev: DragEvent) => any) | null;\n/**\n * Fires on the source object when the user starts to drag a text selection or selected object.\n * @param ev The event.\n */\ndeclare var ondragstart: ((this: Window, ev: DragEvent) => any) | null;\ndeclare var ondrop: ((this: Window, ev: DragEvent) => any) | null;\n/**\n * Occurs when the duration attribute is updated.\n * @param ev The event.\n */\ndeclare var ondurationchange: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when the media element is reset to its initial state.\n * @param ev The event.\n */\ndeclare var onemptied: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when the end of playback is reached.\n * @param ev The event\n */\ndeclare var onended: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when an error occurs during object loading.\n * @param ev The event.\n */\ndeclare var onerror: OnErrorEventHandler;\n/**\n * Fires when the object receives focus.\n * @param ev The event.\n */\ndeclare var onfocus: ((this: Window, ev: FocusEvent) => any) | null;\ndeclare var onformdata: ((this: Window, ev: FormDataEvent) => any) | null;\ndeclare var ongotpointercapture: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var oninput: ((this: Window, ev: Event) => any) | null;\ndeclare var oninvalid: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when the user presses a key.\n * @param ev The keyboard event\n */\ndeclare var onkeydown: ((this: Window, ev: KeyboardEvent) => any) | null;\n/**\n * Fires when the user presses an alphanumeric key.\n * @param ev The event.\n * @deprecated\n */\ndeclare var onkeypress: ((this: Window, ev: KeyboardEvent) => any) | null;\n/**\n * Fires when the user releases a key.\n * @param ev The keyboard event\n */\ndeclare var onkeyup: ((this: Window, ev: KeyboardEvent) => any) | null;\n/**\n * Fires immediately after the browser loads the object.\n * @param ev The event.\n */\ndeclare var onload: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when media data is loaded at the current playback position.\n * @param ev The event.\n */\ndeclare var onloadeddata: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when the duration and dimensions of the media have been determined.\n * @param ev The event.\n */\ndeclare var onloadedmetadata: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when Internet Explorer begins looking for media data.\n * @param ev The event.\n */\ndeclare var onloadstart: ((this: Window, ev: Event) => any) | null;\ndeclare var onlostpointercapture: ((this: Window, ev: PointerEvent) => any) | null;\n/**\n * Fires when the user clicks the object with either mouse button.\n * @param ev The mouse event.\n */\ndeclare var onmousedown: ((this: Window, ev: MouseEvent) => any) | null;\ndeclare var onmouseenter: ((this: Window, ev: MouseEvent) => any) | null;\ndeclare var onmouseleave: ((this: Window, ev: MouseEvent) => any) | null;\n/**\n * Fires when the user moves the mouse over the object.\n * @param ev The mouse event.\n */\ndeclare var onmousemove: ((this: Window, ev: MouseEvent) => any) | null;\n/**\n * Fires when the user moves the mouse pointer outside the boundaries of the object.\n * @param ev The mouse event.\n */\ndeclare var onmouseout: ((this: Window, ev: MouseEvent) => any) | null;\n/**\n * Fires when the user moves the mouse pointer into the object.\n * @param ev The mouse event.\n */\ndeclare var onmouseover: ((this: Window, ev: MouseEvent) => any) | null;\n/**\n * Fires when the user releases a mouse button while the mouse is over the object.\n * @param ev The mouse event.\n */\ndeclare var onmouseup: ((this: Window, ev: MouseEvent) => any) | null;\n/**\n * Occurs when playback is paused.\n * @param ev The event.\n */\ndeclare var onpause: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when the play method is requested.\n * @param ev The event.\n */\ndeclare var onplay: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when the audio or video has started playing.\n * @param ev The event.\n */\ndeclare var onplaying: ((this: Window, ev: Event) => any) | null;\ndeclare var onpointercancel: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var onpointerdown: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var onpointerenter: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var onpointerleave: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var onpointermove: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var onpointerout: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var onpointerover: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var onpointerup: ((this: Window, ev: PointerEvent) => any) | null;\n/**\n * Occurs to indicate progress while downloading media data.\n * @param ev The event.\n */\ndeclare var onprogress: ((this: Window, ev: ProgressEvent) => any) | null;\n/**\n * Occurs when the playback rate is increased or decreased.\n * @param ev The event.\n */\ndeclare var onratechange: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when the user resets a form.\n * @param ev The event.\n */\ndeclare var onreset: ((this: Window, ev: Event) => any) | null;\ndeclare var onresize: ((this: Window, ev: UIEvent) => any) | null;\n/**\n * Fires when the user repositions the scroll box in the scroll bar on the object.\n * @param ev The event.\n */\ndeclare var onscroll: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when the seek operation ends.\n * @param ev The event.\n */\ndeclare var onseeked: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when the current playback position is moved.\n * @param ev The event.\n */\ndeclare var onseeking: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when the current selection changes.\n * @param ev The event.\n */\ndeclare var onselect: ((this: Window, ev: Event) => any) | null;\ndeclare var onselectionchange: ((this: Window, ev: Event) => any) | null;\ndeclare var onselectstart: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when the download has stopped.\n * @param ev The event.\n */\ndeclare var onstalled: ((this: Window, ev: Event) => any) | null;\ndeclare var onsubmit: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs if the load operation has been intentionally halted.\n * @param ev The event.\n */\ndeclare var onsuspend: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs to indicate the current playback position.\n * @param ev The event.\n */\ndeclare var ontimeupdate: ((this: Window, ev: Event) => any) | null;\ndeclare var ontoggle: ((this: Window, ev: Event) => any) | null;\ndeclare var ontouchcancel: ((this: Window, ev: TouchEvent) => any) | null | undefined;\ndeclare var ontouchend: ((this: Window, ev: TouchEvent) => any) | null | undefined;\ndeclare var ontouchmove: ((this: Window, ev: TouchEvent) => any) | null | undefined;\ndeclare var ontouchstart: ((this: Window, ev: TouchEvent) => any) | null | undefined;\ndeclare var ontransitioncancel: ((this: Window, ev: TransitionEvent) => any) | null;\ndeclare var ontransitionend: ((this: Window, ev: TransitionEvent) => any) | null;\ndeclare var ontransitionrun: ((this: Window, ev: TransitionEvent) => any) | null;\ndeclare var ontransitionstart: ((this: Window, ev: TransitionEvent) => any) | null;\n/**\n * Occurs when the volume is changed, or playback is muted or unmuted.\n * @param ev The event.\n */\ndeclare var onvolumechange: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when playback stops because the next frame of a video resource is not available.\n * @param ev The event.\n */\ndeclare var onwaiting: ((this: Window, ev: Event) => any) | null;\ndeclare var onwebkitanimationend: ((this: Window, ev: Event) => any) | null;\ndeclare var onwebkitanimationiteration: ((this: Window, ev: Event) => any) | null;\ndeclare var onwebkitanimationstart: ((this: Window, ev: Event) => any) | null;\ndeclare var onwebkittransitionend: ((this: Window, ev: Event) => any) | null;\ndeclare var onwheel: ((this: Window, ev: WheelEvent) => any) | null;\ndeclare var onafterprint: ((this: Window, ev: Event) => any) | null;\ndeclare var onbeforeprint: ((this: Window, ev: Event) => any) | null;\ndeclare var onbeforeunload: ((this: Window, ev: BeforeUnloadEvent) => any) | null;\ndeclare var ongamepadconnected: ((this: Window, ev: Event) => any) | null;\ndeclare var ongamepaddisconnected: ((this: Window, ev: Event) => any) | null;\ndeclare var onhashchange: ((this: Window, ev: Event) => any) | null;\ndeclare var onlanguagechange: ((this: Window, ev: Event) => any) | null;\ndeclare var onmessage: ((this: Window, ev: MessageEvent) => any) | null;\ndeclare var onmessageerror: ((this: Window, ev: MessageEvent) => any) | null;\ndeclare var onoffline: ((this: Window, ev: Event) => any) | null;\ndeclare var ononline: ((this: Window, ev: Event) => any) | null;\ndeclare var onpagehide: ((this: Window, ev: PageTransitionEvent) => any) | null;\ndeclare var onpageshow: ((this: Window, ev: PageTransitionEvent) => any) | null;\ndeclare var onpopstate: ((this: Window, ev: PopStateEvent) => any) | null;\ndeclare var onrejectionhandled: ((this: Window, ev: PromiseRejectionEvent) => any) | null;\ndeclare var onstorage: ((this: Window, ev: StorageEvent) => any) | null;\ndeclare var onunhandledrejection: ((this: Window, ev: PromiseRejectionEvent) => any) | null;\ndeclare var onunload: ((this: Window, ev: Event) => any) | null;\ndeclare var localStorage: Storage;\ndeclare var caches: CacheStorage;\ndeclare var crossOriginIsolated: boolean;\ndeclare var crypto: Crypto;\ndeclare var indexedDB: IDBFactory;\ndeclare var isSecureContext: boolean;\ndeclare var origin: string;\ndeclare var performance: Performance;\ndeclare function atob(data: string): string;\ndeclare function btoa(data: string): string;\ndeclare function clearInterval(handle?: number): void;\ndeclare function clearTimeout(handle?: number): void;\ndeclare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;\ndeclare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;\ndeclare function fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;\ndeclare function queueMicrotask(callback: VoidFunction): void;\ndeclare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\ndeclare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\ndeclare var sessionStorage: Storage;\ndeclare function addEventListener<K extends keyof WindowEventMap>(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\ndeclare function addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\ndeclare function removeEventListener<K extends keyof WindowEventMap>(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\ndeclare function removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\ntype AlgorithmIdentifier = Algorithm | string;\ntype BigInteger = Uint8Array;\ntype BinaryData = ArrayBuffer | ArrayBufferView;\ntype BlobPart = BufferSource | Blob | string;\ntype BodyInit = ReadableStream | XMLHttpRequestBodyInit;\ntype BufferSource = ArrayBufferView | ArrayBuffer;\ntype COSEAlgorithmIdentifier = number;\ntype CSSNumberish = number;\ntype CanvasImageSource = HTMLOrSVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap;\ntype ClipboardItemData = Promise<ClipboardItemDataType>;\ntype ClipboardItemDataType = string | Blob;\ntype ClipboardItems = ClipboardItem[];\ntype ConstrainBoolean = boolean | ConstrainBooleanParameters;\ntype ConstrainDOMString = string | string[] | ConstrainDOMStringParameters;\ntype ConstrainDouble = number | ConstrainDoubleRange;\ntype ConstrainULong = number | ConstrainULongRange;\ntype DOMHighResTimeStamp = number;\ntype DOMTimeStamp = number;\ntype EventListenerOrEventListenerObject = EventListener | EventListenerObject;\ntype Float32List = Float32Array | GLfloat[];\ntype FormDataEntryValue = File | string;\ntype GLbitfield = number;\ntype GLboolean = boolean;\ntype GLclampf = number;\ntype GLenum = number;\ntype GLfloat = number;\ntype GLint = number;\ntype GLint64 = number;\ntype GLintptr = number;\ntype GLsizei = number;\ntype GLsizeiptr = number;\ntype GLuint = number;\ntype GLuint64 = number;\ntype HTMLOrSVGImageElement = HTMLImageElement | SVGImageElement;\ntype HTMLOrSVGScriptElement = HTMLScriptElement | SVGScriptElement;\ntype HashAlgorithmIdentifier = AlgorithmIdentifier;\ntype HeadersInit = string[][] | Record<string, string> | Headers;\ntype IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];\ntype ImageBitmapSource = CanvasImageSource | Blob | ImageData;\ntype InsertPosition = "beforebegin" | "afterbegin" | "beforeend" | "afterend";\ntype Int32List = Int32Array | GLint[];\ntype LineAndPositionSetting = number | AutoKeyword;\ntype MediaProvider = MediaStream | MediaSource | Blob;\ntype MessageEventSource = WindowProxy | MessagePort | ServiceWorker;\ntype MutationRecordType = "attributes" | "characterData" | "childList";\ntype NamedCurve = string;\ntype OnBeforeUnloadEventHandler = OnBeforeUnloadEventHandlerNonNull | null;\ntype OnErrorEventHandler = OnErrorEventHandlerNonNull | null;\ntype PerformanceEntryList = PerformanceEntry[];\ntype ReadableStreamController<T> = ReadableStreamDefaultController<T>;\ntype ReadableStreamDefaultReadResult<T> = ReadableStreamDefaultReadValueResult<T> | ReadableStreamDefaultReadDoneResult;\ntype ReadableStreamReader<T> = ReadableStreamDefaultReader<T>;\ntype RenderingContext = CanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;\ntype RequestInfo = Request | string;\ntype TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement;\ntype TimerHandler = string | Function;\ntype Transferable = ArrayBuffer | MessagePort | ImageBitmap;\ntype Uint32List = Uint32Array | GLuint[];\ntype UvmEntries = UvmEntry[];\ntype UvmEntry = number[];\ntype VibratePattern = number | number[];\ntype WindowProxy = Window;\ntype XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;\ntype AlignSetting = "center" | "end" | "left" | "right" | "start";\ntype AnimationPlayState = "finished" | "idle" | "paused" | "running";\ntype AnimationReplaceState = "active" | "persisted" | "removed";\ntype AppendMode = "segments" | "sequence";\ntype AttestationConveyancePreference = "direct" | "enterprise" | "indirect" | "none";\ntype AudioContextLatencyCategory = "balanced" | "interactive" | "playback";\ntype AudioContextState = "closed" | "running" | "suspended";\ntype AuthenticatorAttachment = "cross-platform" | "platform";\ntype AuthenticatorTransport = "ble" | "internal" | "nfc" | "usb";\ntype AutoKeyword = "auto";\ntype AutomationRate = "a-rate" | "k-rate";\ntype BinaryType = "arraybuffer" | "blob";\ntype BiquadFilterType = "allpass" | "bandpass" | "highpass" | "highshelf" | "lowpass" | "lowshelf" | "notch" | "peaking";\ntype CanPlayTypeResult = "" | "maybe" | "probably";\ntype CanvasDirection = "inherit" | "ltr" | "rtl";\ntype CanvasFillRule = "evenodd" | "nonzero";\ntype CanvasFontKerning = "auto" | "none" | "normal";\ntype CanvasFontStretch = "condensed" | "expanded" | "extra-condensed" | "extra-expanded" | "normal" | "semi-condensed" | "semi-expanded" | "ultra-condensed" | "ultra-expanded";\ntype CanvasFontVariantCaps = "all-petite-caps" | "all-small-caps" | "normal" | "petite-caps" | "small-caps" | "titling-caps" | "unicase";\ntype CanvasLineCap = "butt" | "round" | "square";\ntype CanvasLineJoin = "bevel" | "miter" | "round";\ntype CanvasTextAlign = "center" | "end" | "left" | "right" | "start";\ntype CanvasTextBaseline = "alphabetic" | "bottom" | "hanging" | "ideographic" | "middle" | "top";\ntype CanvasTextRendering = "auto" | "geometricPrecision" | "optimizeLegibility" | "optimizeSpeed";\ntype ChannelCountMode = "clamped-max" | "explicit" | "max";\ntype ChannelInterpretation = "discrete" | "speakers";\ntype ClientTypes = "all" | "sharedworker" | "window" | "worker";\ntype ColorGamut = "p3" | "rec2020" | "srgb";\ntype ColorSpaceConversion = "default" | "none";\ntype CompositeOperation = "accumulate" | "add" | "replace";\ntype CompositeOperationOrAuto = "accumulate" | "add" | "auto" | "replace";\ntype ConnectionType = "bluetooth" | "cellular" | "ethernet" | "mixed" | "none" | "other" | "unknown" | "wifi";\ntype CredentialMediationRequirement = "optional" | "required" | "silent";\ntype DOMParserSupportedType = "application/xhtml+xml" | "application/xml" | "image/svg+xml" | "text/html" | "text/xml";\ntype DirectionSetting = "" | "lr" | "rl";\ntype DisplayCaptureSurfaceType = "application" | "browser" | "monitor" | "window";\ntype DistanceModelType = "exponential" | "inverse" | "linear";\ntype DocumentReadyState = "complete" | "interactive" | "loading";\ntype EndOfStreamError = "decode" | "network";\ntype EndingType = "native" | "transparent";\ntype FillMode = "auto" | "backwards" | "both" | "forwards" | "none";\ntype FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";\ntype FontFaceSetLoadStatus = "loaded" | "loading";\ntype FullscreenNavigationUI = "auto" | "hide" | "show";\ntype GamepadHapticActuatorType = "vibration";\ntype GamepadMappingType = "" | "standard" | "xr-standard";\ntype HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";\ntype IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";\ntype IDBRequestReadyState = "done" | "pending";\ntype IDBTransactionMode = "readonly" | "readwrite" | "versionchange";\ntype ImageOrientation = "flipY" | "none";\ntype ImageSmoothingQuality = "high" | "low" | "medium";\ntype IterationCompositeOperation = "accumulate" | "replace";\ntype KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";\ntype KeyType = "private" | "public" | "secret";\ntype KeyUsage = "decrypt" | "deriveBits" | "deriveKey" | "encrypt" | "sign" | "unwrapKey" | "verify" | "wrapKey";\ntype LineAlignSetting = "center" | "end" | "start";\ntype MediaDecodingType = "file" | "media-source" | "webrtc";\ntype MediaDeviceKind = "audioinput" | "audiooutput" | "videoinput";\ntype MediaEncodingType = "record" | "webrtc";\ntype MediaKeyMessageType = "individualization-request" | "license-release" | "license-renewal" | "license-request";\ntype MediaKeySessionClosedReason = "closed-by-application" | "hardware-context-reset" | "internal-error" | "release-acknowledged" | "resource-evicted";\ntype MediaKeySessionType = "persistent-license" | "temporary";\ntype MediaKeyStatus = "expired" | "internal-error" | "output-downscaled" | "output-restricted" | "released" | "status-pending" | "usable" | "usable-in-future";\ntype MediaKeysRequirement = "not-allowed" | "optional" | "required";\ntype MediaSessionAction = "hangup" | "nexttrack" | "pause" | "play" | "previoustrack" | "seekbackward" | "seekforward" | "seekto" | "skipad" | "stop" | "togglecamera" | "togglemicrophone";\ntype MediaSessionPlaybackState = "none" | "paused" | "playing";\ntype MediaStreamTrackState = "ended" | "live";\ntype NavigationType = "back_forward" | "navigate" | "prerender" | "reload";\ntype NotificationDirection = "auto" | "ltr" | "rtl";\ntype NotificationPermission = "default" | "denied" | "granted";\ntype OrientationLockType = "any" | "landscape" | "landscape-primary" | "landscape-secondary" | "natural" | "portrait" | "portrait-primary" | "portrait-secondary";\ntype OrientationType = "landscape-primary" | "landscape-secondary" | "portrait-primary" | "portrait-secondary";\ntype OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";\ntype OverSampleType = "2x" | "4x" | "none";\ntype PanningModelType = "HRTF" | "equalpower";\ntype PaymentComplete = "fail" | "success" | "unknown";\ntype PermissionName = "gamepad" | "geolocation" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock";\ntype PermissionState = "denied" | "granted" | "prompt";\ntype PlaybackDirection = "alternate" | "alternate-reverse" | "normal" | "reverse";\ntype PositionAlignSetting = "auto" | "center" | "line-left" | "line-right";\ntype PredefinedColorSpace = "display-p3" | "srgb";\ntype PremultiplyAlpha = "default" | "none" | "premultiply";\ntype PresentationStyle = "attachment" | "inline" | "unspecified";\ntype PublicKeyCredentialType = "public-key";\ntype PushEncryptionKeyName = "auth" | "p256dh";\ntype PushPermissionState = "denied" | "granted" | "prompt";\ntype RTCBundlePolicy = "balanced" | "max-bundle" | "max-compat";\ntype RTCDataChannelState = "closed" | "closing" | "connecting" | "open";\ntype RTCDegradationPreference = "balanced" | "maintain-framerate" | "maintain-resolution";\ntype RTCDtlsTransportState = "closed" | "connected" | "connecting" | "failed" | "new";\ntype RTCIceCandidateType = "host" | "prflx" | "relay" | "srflx";\ntype RTCIceComponent = "rtcp" | "rtp";\ntype RTCIceConnectionState = "checking" | "closed" | "completed" | "connected" | "disconnected" | "failed" | "new";\ntype RTCIceCredentialType = "password";\ntype RTCIceGathererState = "complete" | "gathering" | "new";\ntype RTCIceGatheringState = "complete" | "gathering" | "new";\ntype RTCIceProtocol = "tcp" | "udp";\ntype RTCIceTcpCandidateType = "active" | "passive" | "so";\ntype RTCIceTransportPolicy = "all" | "relay";\ntype RTCIceTransportState = "checking" | "closed" | "completed" | "connected" | "disconnected" | "failed" | "new";\ntype RTCPeerConnectionState = "closed" | "connected" | "connecting" | "disconnected" | "failed" | "new";\ntype RTCPriorityType = "high" | "low" | "medium" | "very-low";\ntype RTCRtcpMuxPolicy = "require";\ntype RTCRtpTransceiverDirection = "inactive" | "recvonly" | "sendonly" | "sendrecv" | "stopped";\ntype RTCSdpType = "answer" | "offer" | "pranswer" | "rollback";\ntype RTCSignalingState = "closed" | "have-local-offer" | "have-local-pranswer" | "have-remote-offer" | "have-remote-pranswer" | "stable";\ntype RTCStatsIceCandidatePairState = "failed" | "frozen" | "in-progress" | "inprogress" | "succeeded" | "waiting";\ntype RTCStatsType = "candidate-pair" | "certificate" | "codec" | "csrc" | "data-channel" | "inbound-rtp" | "local-candidate" | "media-source" | "outbound-rtp" | "peer-connection" | "remote-candidate" | "remote-inbound-rtp" | "remote-outbound-rtp" | "track" | "transport";\ntype ReadyState = "closed" | "ended" | "open";\ntype RecordingState = "inactive" | "paused" | "recording";\ntype ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";\ntype RemotePlaybackState = "connected" | "connecting" | "disconnected";\ntype RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";\ntype RequestCredentials = "include" | "omit" | "same-origin";\ntype RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";\ntype RequestMode = "cors" | "navigate" | "no-cors" | "same-origin";\ntype RequestRedirect = "error" | "follow" | "manual";\ntype ResidentKeyRequirement = "discouraged" | "preferred" | "required";\ntype ResizeObserverBoxOptions = "border-box" | "content-box" | "device-pixel-content-box";\ntype ResizeQuality = "high" | "low" | "medium" | "pixelated";\ntype ResponseType = "basic" | "cors" | "default" | "error" | "opaque" | "opaqueredirect";\ntype ScrollBehavior = "auto" | "smooth";\ntype ScrollLogicalPosition = "center" | "end" | "nearest" | "start";\ntype ScrollRestoration = "auto" | "manual";\ntype ScrollSetting = "" | "up";\ntype SecurityPolicyViolationEventDisposition = "enforce" | "report";\ntype SelectionMode = "end" | "preserve" | "select" | "start";\ntype ServiceWorkerState = "activated" | "activating" | "installed" | "installing" | "parsed" | "redundant";\ntype ServiceWorkerUpdateViaCache = "all" | "imports" | "none";\ntype ShadowRootMode = "closed" | "open";\ntype SlotAssignmentMode = "manual" | "named";\ntype SpeechSynthesisErrorCode = "audio-busy" | "audio-hardware" | "canceled" | "interrupted" | "invalid-argument" | "language-unavailable" | "network" | "not-allowed" | "synthesis-failed" | "synthesis-unavailable" | "text-too-long" | "voice-unavailable";\ntype TextTrackKind = "captions" | "chapters" | "descriptions" | "metadata" | "subtitles";\ntype TextTrackMode = "disabled" | "hidden" | "showing";\ntype TouchType = "direct" | "stylus";\ntype TransferFunction = "hlg" | "pq" | "srgb";\ntype UserVerificationRequirement = "discouraged" | "preferred" | "required";\ntype VideoFacingModeEnum = "environment" | "left" | "right" | "user";\ntype VisibilityState = "hidden" | "visible";\ntype WebGLPowerPreference = "default" | "high-performance" | "low-power";\ntype WorkerType = "classic" | "module";\ntype XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";\n',"lib.dom.iterable.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/////////////////////////////\n/// Window Iterable APIs\n/////////////////////////////\n\ninterface AudioParam {\n setValueCurveAtTime(values: Iterable<number>, startTime: number, duration: number): AudioParam;\n}\n\ninterface AudioParamMap extends ReadonlyMap<string, AudioParam> {\n}\n\ninterface BaseAudioContext {\n createIIRFilter(feedforward: Iterable<number>, feedback: Iterable<number>): IIRFilterNode;\n createPeriodicWave(real: Iterable<number>, imag: Iterable<number>, constraints?: PeriodicWaveConstraints): PeriodicWave;\n}\n\ninterface CSSRuleList {\n [Symbol.iterator](): IterableIterator<CSSRule>;\n}\n\ninterface CSSStyleDeclaration {\n [Symbol.iterator](): IterableIterator<string>;\n}\n\ninterface Cache {\n addAll(requests: Iterable<RequestInfo>): Promise<void>;\n}\n\ninterface CanvasPathDrawingStyles {\n setLineDash(segments: Iterable<number>): void;\n}\n\ninterface DOMRectList {\n [Symbol.iterator](): IterableIterator<DOMRect>;\n}\n\ninterface DOMStringList {\n [Symbol.iterator](): IterableIterator<string>;\n}\n\ninterface DOMTokenList {\n [Symbol.iterator](): IterableIterator<string>;\n entries(): IterableIterator<[number, string]>;\n keys(): IterableIterator<number>;\n values(): IterableIterator<string>;\n}\n\ninterface DataTransferItemList {\n [Symbol.iterator](): IterableIterator<DataTransferItem>;\n}\n\ninterface FileList {\n [Symbol.iterator](): IterableIterator<File>;\n}\n\ninterface FontFaceSet extends Set<FontFace> {\n}\n\ninterface FormData {\n [Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>;\n /**\n * Returns an array of key, value pairs for every entry in the list.\n */\n entries(): IterableIterator<[string, FormDataEntryValue]>;\n /**\n * Returns a list of keys in the list.\n */\n keys(): IterableIterator<string>;\n /**\n * Returns a list of values in the list.\n */\n values(): IterableIterator<FormDataEntryValue>;\n}\n\ninterface HTMLAllCollection {\n [Symbol.iterator](): IterableIterator<Element>;\n}\n\ninterface HTMLCollectionBase {\n [Symbol.iterator](): IterableIterator<Element>;\n}\n\ninterface HTMLCollectionOf<T extends Element> {\n [Symbol.iterator](): IterableIterator<T>;\n}\n\ninterface HTMLFormElement {\n [Symbol.iterator](): IterableIterator<Element>;\n}\n\ninterface HTMLSelectElement {\n [Symbol.iterator](): IterableIterator<HTMLOptionElement>;\n}\n\ninterface Headers {\n [Symbol.iterator](): IterableIterator<[string, string]>;\n /**\n * Returns an iterator allowing to go through all key/value pairs contained in this object.\n */\n entries(): IterableIterator<[string, string]>;\n /**\n * Returns an iterator allowing to go through all keys of the key/value pairs contained in this object.\n */\n keys(): IterableIterator<string>;\n /**\n * Returns an iterator allowing to go through all values of the key/value pairs contained in this object.\n */\n values(): IterableIterator<string>;\n}\n\ninterface IDBDatabase {\n /**\n * Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names.\n */\n transaction(storeNames: string | Iterable<string>, mode?: IDBTransactionMode): IDBTransaction;\n}\n\ninterface IDBObjectStore {\n /**\n * Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.\n *\n * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.\n */\n createIndex(name: string, keyPath: string | Iterable<string>, options?: IDBIndexParameters): IDBIndex;\n}\n\ninterface MediaKeyStatusMap {\n [Symbol.iterator](): IterableIterator<[BufferSource, MediaKeyStatus]>;\n entries(): IterableIterator<[BufferSource, MediaKeyStatus]>;\n keys(): IterableIterator<BufferSource>;\n values(): IterableIterator<MediaKeyStatus>;\n}\n\ninterface MediaList {\n [Symbol.iterator](): IterableIterator<string>;\n}\n\ninterface MessageEvent<T = any> {\n /** @deprecated */\n initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void;\n}\n\ninterface MimeTypeArray {\n [Symbol.iterator](): IterableIterator<MimeType>;\n}\n\ninterface NamedNodeMap {\n [Symbol.iterator](): IterableIterator<Attr>;\n}\n\ninterface Navigator {\n requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: Iterable<MediaKeySystemConfiguration>): Promise<MediaKeySystemAccess>;\n vibrate(pattern: Iterable<number>): boolean;\n}\n\ninterface NodeList {\n [Symbol.iterator](): IterableIterator<Node>;\n /**\n * Returns an array of key, value pairs for every entry in the list.\n */\n entries(): IterableIterator<[number, Node]>;\n /**\n * Returns an list of keys in the list.\n */\n keys(): IterableIterator<number>;\n /**\n * Returns an list of values in the list.\n */\n values(): IterableIterator<Node>;\n}\n\ninterface NodeListOf<TNode extends Node> {\n [Symbol.iterator](): IterableIterator<TNode>;\n /**\n * Returns an array of key, value pairs for every entry in the list.\n */\n entries(): IterableIterator<[number, TNode]>;\n /**\n * Returns an list of keys in the list.\n */\n keys(): IterableIterator<number>;\n /**\n * Returns an list of values in the list.\n */\n values(): IterableIterator<TNode>;\n}\n\ninterface Plugin {\n [Symbol.iterator](): IterableIterator<MimeType>;\n}\n\ninterface PluginArray {\n [Symbol.iterator](): IterableIterator<Plugin>;\n}\n\ninterface RTCStatsReport extends ReadonlyMap<string, any> {\n}\n\ninterface ReadableStream<R = any> {\n [Symbol.iterator](): IterableIterator<any>;\n entries(): IterableIterator<[number, any]>;\n keys(): IterableIterator<number>;\n values(): IterableIterator<any>;\n}\n\ninterface SVGLengthList {\n [Symbol.iterator](): IterableIterator<SVGLength>;\n}\n\ninterface SVGNumberList {\n [Symbol.iterator](): IterableIterator<SVGNumber>;\n}\n\ninterface SVGPointList {\n [Symbol.iterator](): IterableIterator<DOMPoint>;\n}\n\ninterface SVGStringList {\n [Symbol.iterator](): IterableIterator<string>;\n}\n\ninterface SVGTransformList {\n [Symbol.iterator](): IterableIterator<SVGTransform>;\n}\n\ninterface SourceBufferList {\n [Symbol.iterator](): IterableIterator<SourceBuffer>;\n}\n\ninterface SpeechRecognitionResult {\n [Symbol.iterator](): IterableIterator<SpeechRecognitionAlternative>;\n}\n\ninterface SpeechRecognitionResultList {\n [Symbol.iterator](): IterableIterator<SpeechRecognitionResult>;\n}\n\ninterface StyleSheetList {\n [Symbol.iterator](): IterableIterator<CSSStyleSheet>;\n}\n\ninterface SubtleCrypto {\n deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;\n generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKeyPair>;\n generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKeyPair | CryptoKey>;\n importKey(format: "jwk", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n importKey(format: Exclude<KeyFormat, "jwk">, keyData: BufferSource, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;\n unwrapKey(format: KeyFormat, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;\n}\n\ninterface TextTrackCueList {\n [Symbol.iterator](): IterableIterator<TextTrackCue>;\n}\n\ninterface TextTrackList {\n [Symbol.iterator](): IterableIterator<TextTrack>;\n}\n\ninterface TouchList {\n [Symbol.iterator](): IterableIterator<Touch>;\n}\n\ninterface URLSearchParams {\n [Symbol.iterator](): IterableIterator<[string, string]>;\n /**\n * Returns an array of key, value pairs for every entry in the search params.\n */\n entries(): IterableIterator<[string, string]>;\n /**\n * Returns a list of keys in the search params.\n */\n keys(): IterableIterator<string>;\n /**\n * Returns a list of values in the search params.\n */\n values(): IterableIterator<string>;\n}\n\ninterface WEBGL_draw_buffers {\n drawBuffersWEBGL(buffers: Iterable<GLenum>): void;\n}\n\ninterface WebGL2RenderingContextBase {\n clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: GLuint): void;\n clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: GLuint): void;\n clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLuint>, srcOffset?: GLuint): void;\n drawBuffers(buffers: Iterable<GLenum>): void;\n getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable<GLuint>, pname: GLenum): any;\n getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): Iterable<GLuint> | null;\n invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;\n invalidateSubFramebuffer(target: GLenum, attachments: Iterable<GLenum>, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n transformFeedbackVaryings(program: WebGLProgram, varyings: Iterable<string>, bufferMode: GLenum): void;\n uniform1uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n vertexAttribI4iv(index: GLuint, values: Iterable<GLint>): void;\n vertexAttribI4uiv(index: GLuint, values: Iterable<GLuint>): void;\n}\n\ninterface WebGL2RenderingContextOverloads {\n uniform1fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform1iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n}\n\ninterface WebGLRenderingContextBase {\n vertexAttrib1fv(index: GLuint, values: Iterable<GLfloat>): void;\n vertexAttrib2fv(index: GLuint, values: Iterable<GLfloat>): void;\n vertexAttrib3fv(index: GLuint, values: Iterable<GLfloat>): void;\n vertexAttrib4fv(index: GLuint, values: Iterable<GLfloat>): void;\n}\n\ninterface WebGLRenderingContextOverloads {\n uniform1fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\n uniform1iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\n uniform2fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\n uniform2iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\n uniform3fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\n uniform3iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\n uniform4fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\n uniform4iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\n uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;\n uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;\n uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;\n}\n',"lib.es2015.collection.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface Map<K, V> {\n clear(): void;\n delete(key: K): boolean;\n forEach(callbackfn: (value: V, key: K, map: Map<K, V>) => void, thisArg?: any): void;\n get(key: K): V | undefined;\n has(key: K): boolean;\n set(key: K, value: V): this;\n readonly size: number;\n}\n\ninterface MapConstructor {\n new(): Map<any, any>;\n new<K, V>(entries?: readonly (readonly [K, V])[] | null): Map<K, V>;\n readonly prototype: Map<any, any>;\n}\ndeclare var Map: MapConstructor;\n\ninterface ReadonlyMap<K, V> {\n forEach(callbackfn: (value: V, key: K, map: ReadonlyMap<K, V>) => void, thisArg?: any): void;\n get(key: K): V | undefined;\n has(key: K): boolean;\n readonly size: number;\n}\n\ninterface WeakMap<K extends object, V> {\n delete(key: K): boolean;\n get(key: K): V | undefined;\n has(key: K): boolean;\n set(key: K, value: V): this;\n}\n\ninterface WeakMapConstructor {\n new <K extends object = object, V = any>(entries?: readonly [K, V][] | null): WeakMap<K, V>;\n readonly prototype: WeakMap<object, any>;\n}\ndeclare var WeakMap: WeakMapConstructor;\n\ninterface Set<T> {\n add(value: T): this;\n clear(): void;\n delete(value: T): boolean;\n forEach(callbackfn: (value: T, value2: T, set: Set<T>) => void, thisArg?: any): void;\n has(value: T): boolean;\n readonly size: number;\n}\n\ninterface SetConstructor {\n new <T = any>(values?: readonly T[] | null): Set<T>;\n readonly prototype: Set<any>;\n}\ndeclare var Set: SetConstructor;\n\ninterface ReadonlySet<T> {\n forEach(callbackfn: (value: T, value2: T, set: ReadonlySet<T>) => void, thisArg?: any): void;\n has(value: T): boolean;\n readonly size: number;\n}\n\ninterface WeakSet<T extends object> {\n add(value: T): this;\n delete(value: T): boolean;\n has(value: T): boolean;\n}\n\ninterface WeakSetConstructor {\n new <T extends object = object>(values?: readonly T[] | null): WeakSet<T>;\n readonly prototype: WeakSet<object>;\n}\ndeclare var WeakSet: WeakSetConstructor;\n',"lib.es2015.core.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface Array<T> {\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find<S extends T>(predicate: (this: void, value: T, index: number, obj: T[]) => value is S, thisArg?: any): S | undefined;\n find(predicate: (value: T, index: number, obj: T[]) => unknown, thisArg?: any): T | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: T, index: number, obj: T[]) => unknown, thisArg?: any): number;\n\n /**\n * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: T, start?: number, end?: number): this;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n}\n\ninterface ArrayConstructor {\n /**\n * Creates an array from an array-like object.\n * @param arrayLike An array-like object to convert to an array.\n */\n from<T>(arrayLike: ArrayLike<T>): T[];\n\n /**\n * Creates an array from an iterable object.\n * @param arrayLike An array-like object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of \'this\' used to invoke the mapfn.\n */\n from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of<T>(...items: T[]): T[];\n}\n\ninterface DateConstructor {\n new (value: number | string | Date): Date;\n}\n\ninterface Function {\n /**\n * Returns the name of the function. Function names are read-only and can not be changed.\n */\n readonly name: string;\n}\n\ninterface Math {\n /**\n * Returns the number of leading zero bits in the 32-bit binary representation of a number.\n * @param x A numeric expression.\n */\n clz32(x: number): number;\n\n /**\n * Returns the result of 32-bit multiplication of two numbers.\n * @param x First number\n * @param y Second number\n */\n imul(x: number, y: number): number;\n\n /**\n * Returns the sign of the x, indicating whether x is positive, negative or zero.\n * @param x The numeric expression to test\n */\n sign(x: number): number;\n\n /**\n * Returns the base 10 logarithm of a number.\n * @param x A numeric expression.\n */\n log10(x: number): number;\n\n /**\n * Returns the base 2 logarithm of a number.\n * @param x A numeric expression.\n */\n log2(x: number): number;\n\n /**\n * Returns the natural logarithm of 1 + x.\n * @param x A numeric expression.\n */\n log1p(x: number): number;\n\n /**\n * Returns the result of (e^x - 1), which is an implementation-dependent approximation to\n * subtracting 1 from the exponential function of x (e raised to the power of x, where e\n * is the base of the natural logarithms).\n * @param x A numeric expression.\n */\n expm1(x: number): number;\n\n /**\n * Returns the hyperbolic cosine of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n cosh(x: number): number;\n\n /**\n * Returns the hyperbolic sine of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n sinh(x: number): number;\n\n /**\n * Returns the hyperbolic tangent of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n tanh(x: number): number;\n\n /**\n * Returns the inverse hyperbolic cosine of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n acosh(x: number): number;\n\n /**\n * Returns the inverse hyperbolic sine of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n asinh(x: number): number;\n\n /**\n * Returns the inverse hyperbolic tangent of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n atanh(x: number): number;\n\n /**\n * Returns the square root of the sum of squares of its arguments.\n * @param values Values to compute the square root for.\n * If no arguments are passed, the result is +0.\n * If there is only one argument, the result is the absolute value.\n * If any argument is +Infinity or -Infinity, the result is +Infinity.\n * If any argument is NaN, the result is NaN.\n * If all arguments are either +0 or 0, the result is +0.\n */\n hypot(...values: number[]): number;\n\n /**\n * Returns the integral part of the a numeric expression, x, removing any fractional digits.\n * If x is already an integer, the result is x.\n * @param x A numeric expression.\n */\n trunc(x: number): number;\n\n /**\n * Returns the nearest single precision float representation of a number.\n * @param x A numeric expression.\n */\n fround(x: number): number;\n\n /**\n * Returns an implementation-dependent approximation to the cube root of number.\n * @param x A numeric expression.\n */\n cbrt(x: number): number;\n}\n\ninterface NumberConstructor {\n /**\n * The value of Number.EPSILON is the difference between 1 and the smallest value greater than 1\n * that is representable as a Number value, which is approximately:\n * 2.2204460492503130808472633361816 x 1016.\n */\n readonly EPSILON: number;\n\n /**\n * Returns true if passed value is finite.\n * Unlike the global isFinite, Number.isFinite doesn\'t forcibly convert the parameter to a\n * number. Only finite values of the type number, result in true.\n * @param number A numeric value.\n */\n isFinite(number: unknown): boolean;\n\n /**\n * Returns true if the value passed is an integer, false otherwise.\n * @param number A numeric value.\n */\n isInteger(number: unknown): boolean;\n\n /**\n * Returns a Boolean value that indicates whether a value is the reserved value NaN (not a\n * number). Unlike the global isNaN(), Number.isNaN() doesn\'t forcefully convert the parameter\n * to a number. Only values of the type number, that are also NaN, result in true.\n * @param number A numeric value.\n */\n isNaN(number: unknown): boolean;\n\n /**\n * Returns true if the value passed is a safe integer.\n * @param number A numeric value.\n */\n isSafeInteger(number: unknown): boolean;\n\n /**\n * The value of the largest integer n such that n and n + 1 are both exactly representable as\n * a Number value.\n * The value of Number.MAX_SAFE_INTEGER is 9007199254740991 2^53 1.\n */\n readonly MAX_SAFE_INTEGER: number;\n\n /**\n * The value of the smallest integer n such that n and n 1 are both exactly representable as\n * a Number value.\n * The value of Number.MIN_SAFE_INTEGER is 9007199254740991 ((2^53 1)).\n */\n readonly MIN_SAFE_INTEGER: number;\n\n /**\n * Converts a string to a floating-point number.\n * @param string A string that contains a floating-point number.\n */\n parseFloat(string: string): number;\n\n /**\n * Converts A string to an integer.\n * @param string A string to convert into a number.\n * @param radix A value between 2 and 36 that specifies the base of the number in `string`.\n * If this argument is not supplied, strings with a prefix of \'0x\' are considered hexadecimal.\n * All other strings are considered decimal.\n */\n parseInt(string: string, radix?: number): number;\n}\n\ninterface ObjectConstructor {\n /**\n * Copy the values of all of the enumerable own properties from one or more source objects to a\n * target object. Returns the target object.\n * @param target The target object to copy to.\n * @param source The source object from which to copy properties.\n */\n assign<T, U>(target: T, source: U): T & U;\n\n /**\n * Copy the values of all of the enumerable own properties from one or more source objects to a\n * target object. Returns the target object.\n * @param target The target object to copy to.\n * @param source1 The first source object from which to copy properties.\n * @param source2 The second source object from which to copy properties.\n */\n assign<T, U, V>(target: T, source1: U, source2: V): T & U & V;\n\n /**\n * Copy the values of all of the enumerable own properties from one or more source objects to a\n * target object. Returns the target object.\n * @param target The target object to copy to.\n * @param source1 The first source object from which to copy properties.\n * @param source2 The second source object from which to copy properties.\n * @param source3 The third source object from which to copy properties.\n */\n assign<T, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;\n\n /**\n * Copy the values of all of the enumerable own properties from one or more source objects to a\n * target object. Returns the target object.\n * @param target The target object to copy to.\n * @param sources One or more source objects from which to copy properties\n */\n assign(target: object, ...sources: any[]): any;\n\n /**\n * Returns an array of all symbol properties found directly on object o.\n * @param o Object to retrieve the symbols from.\n */\n getOwnPropertySymbols(o: any): symbol[];\n\n /**\n * Returns the names of the enumerable string properties and methods of an object.\n * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\n */\n keys(o: {}): string[];\n\n /**\n * Returns true if the values are the same value, false otherwise.\n * @param value1 The first value.\n * @param value2 The second value.\n */\n is(value1: any, value2: any): boolean;\n\n /**\n * Sets the prototype of a specified object o to object proto or null. Returns the object o.\n * @param o The object to change its prototype.\n * @param proto The value of the new prototype or null.\n */\n setPrototypeOf(o: any, proto: object | null): any;\n}\n\ninterface ReadonlyArray<T> {\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find<S extends T>(predicate: (this: void, value: T, index: number, obj: readonly T[]) => value is S, thisArg?: any): S | undefined;\n find(predicate: (value: T, index: number, obj: readonly T[]) => unknown, thisArg?: any): T | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: T, index: number, obj: readonly T[]) => unknown, thisArg?: any): number;\n}\n\ninterface RegExp {\n /**\n * Returns a string indicating the flags of the regular expression in question. This field is read-only.\n * The characters in this string are sequenced and concatenated in the following order:\n *\n * - "g" for global\n * - "i" for ignoreCase\n * - "m" for multiline\n * - "u" for unicode\n * - "y" for sticky\n *\n * If no flags are set, the value is the empty string.\n */\n readonly flags: string;\n\n /**\n * Returns a Boolean value indicating the state of the sticky flag (y) used with a regular\n * expression. Default is false. Read-only.\n */\n readonly sticky: boolean;\n\n /**\n * Returns a Boolean value indicating the state of the Unicode flag (u) used with a regular\n * expression. Default is false. Read-only.\n */\n readonly unicode: boolean;\n}\n\ninterface RegExpConstructor {\n new (pattern: RegExp | string, flags?: string): RegExp;\n (pattern: RegExp | string, flags?: string): RegExp;\n}\n\ninterface String {\n /**\n * Returns a nonnegative integer Number less than 1114112 (0x110000) that is the code point\n * value of the UTF-16 encoded code point starting at the string element at position pos in\n * the String resulting from converting this object to a String.\n * If there is no element at that position, the result is undefined.\n * If a valid UTF-16 surrogate pair does not begin at pos, the result is the code unit at pos.\n */\n codePointAt(pos: number): number | undefined;\n\n /**\n * Returns true if searchString appears as a substring of the result of converting this\n * object to a String, at one or more positions that are\n * greater than or equal to position; otherwise, returns false.\n * @param searchString search string\n * @param position If position is undefined, 0 is assumed, so as to search all of the String.\n */\n includes(searchString: string, position?: number): boolean;\n\n /**\n * Returns true if the sequence of elements of searchString converted to a String is the\n * same as the corresponding elements of this object (converted to a String) starting at\n * endPosition length(this). Otherwise returns false.\n */\n endsWith(searchString: string, endPosition?: number): boolean;\n\n /**\n * Returns the String value result of normalizing the string into the normalization form\n * named by form as specified in Unicode Standard Annex #15, Unicode Normalization Forms.\n * @param form Applicable values: "NFC", "NFD", "NFKC", or "NFKD", If not specified default\n * is "NFC"\n */\n normalize(form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;\n\n /**\n * Returns the String value result of normalizing the string into the normalization form\n * named by form as specified in Unicode Standard Annex #15, Unicode Normalization Forms.\n * @param form Applicable values: "NFC", "NFD", "NFKC", or "NFKD", If not specified default\n * is "NFC"\n */\n normalize(form?: string): string;\n\n /**\n * Returns a String value that is made from count copies appended together. If count is 0,\n * the empty string is returned.\n * @param count number of copies to append\n */\n repeat(count: number): string;\n\n /**\n * Returns true if the sequence of elements of searchString converted to a String is the\n * same as the corresponding elements of this object (converted to a String) starting at\n * position. Otherwise returns false.\n */\n startsWith(searchString: string, position?: number): boolean;\n\n /**\n * Returns an `<a>` HTML anchor element and sets the name attribute to the text value\n * @param name\n */\n anchor(name: string): string;\n\n /** Returns a `<big>` HTML element */\n big(): string;\n\n /** Returns a `<blink>` HTML element */\n blink(): string;\n\n /** Returns a `<b>` HTML element */\n bold(): string;\n\n /** Returns a `<tt>` HTML element */\n fixed(): string;\n\n /** Returns a `<font>` HTML element and sets the color attribute value */\n fontcolor(color: string): string;\n\n /** Returns a `<font>` HTML element and sets the size attribute value */\n fontsize(size: number): string;\n\n /** Returns a `<font>` HTML element and sets the size attribute value */\n fontsize(size: string): string;\n\n /** Returns an `<i>` HTML element */\n italics(): string;\n\n /** Returns an `<a>` HTML element and sets the href attribute value */\n link(url: string): string;\n\n /** Returns a `<small>` HTML element */\n small(): string;\n\n /** Returns a `<strike>` HTML element */\n strike(): string;\n\n /** Returns a `<sub>` HTML element */\n sub(): string;\n\n /** Returns a `<sup>` HTML element */\n sup(): string;\n}\n\ninterface StringConstructor {\n /**\n * Return the String value whose elements are, in order, the elements in the List elements.\n * If length is 0, the empty string is returned.\n */\n fromCodePoint(...codePoints: number[]): string;\n\n /**\n * String.raw is usually used as a tag function of a Tagged Template String. When called as\n * such, the first argument will be a well formed template call site object and the rest\n * parameter will contain the substitution values. It can also be called directly, for example,\n * to interleave strings and values from your own tag function, and in this case the only thing\n * it needs from the first argument is the raw property.\n * @param template A well-formed template string call site representation.\n * @param substitutions A set of substitution values.\n */\n raw(template: { raw: readonly string[] | ArrayLike<string>}, ...substitutions: any[]): string;\n}\n',"lib.es2015.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es5" />\n/// <reference lib="es2015.core" />\n/// <reference lib="es2015.collection" />\n/// <reference lib="es2015.iterable" />\n/// <reference lib="es2015.generator" />\n/// <reference lib="es2015.promise" />\n/// <reference lib="es2015.proxy" />\n/// <reference lib="es2015.reflect" />\n/// <reference lib="es2015.symbol" />\n/// <reference lib="es2015.symbol.wellknown" />\n',"lib.es2015.generator.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2015.iterable" />\n\ninterface Generator<T = unknown, TReturn = any, TNext = unknown> extends Iterator<T, TReturn, TNext> {\n // NOTE: \'next\' is defined using a tuple to ensure we report the correct assignability errors in all places.\n next(...args: [] | [TNext]): IteratorResult<T, TReturn>;\n return(value: TReturn): IteratorResult<T, TReturn>;\n throw(e: any): IteratorResult<T, TReturn>;\n [Symbol.iterator](): Generator<T, TReturn, TNext>;\n}\n\ninterface GeneratorFunction {\n /**\n * Creates a new Generator object.\n * @param args A list of arguments the function accepts.\n */\n new (...args: any[]): Generator;\n /**\n * Creates a new Generator object.\n * @param args A list of arguments the function accepts.\n */\n (...args: any[]): Generator;\n /**\n * The length of the arguments.\n */\n readonly length: number;\n /**\n * Returns the name of the function.\n */\n readonly name: string;\n /**\n * A reference to the prototype.\n */\n readonly prototype: Generator;\n}\n\ninterface GeneratorFunctionConstructor {\n /**\n * Creates a new Generator function.\n * @param args A list of arguments the function accepts.\n */\n new (...args: string[]): GeneratorFunction;\n /**\n * Creates a new Generator function.\n * @param args A list of arguments the function accepts.\n */\n (...args: string[]): GeneratorFunction;\n /**\n * The length of the arguments.\n */\n readonly length: number;\n /**\n * Returns the name of the function.\n */\n readonly name: string;\n /**\n * A reference to the prototype.\n */\n readonly prototype: GeneratorFunction;\n}\n',"lib.es2015.iterable.d.ts":"/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib=\"true\"/>\n\n\n/// <reference lib=\"es2015.symbol\" />\n\ninterface SymbolConstructor {\n /**\n * A method that returns the default iterator for an object. Called by the semantics of the\n * for-of statement.\n */\n readonly iterator: unique symbol;\n}\n\ninterface IteratorYieldResult<TYield> {\n done?: false;\n value: TYield;\n}\n\ninterface IteratorReturnResult<TReturn> {\n done: true;\n value: TReturn;\n}\n\ntype IteratorResult<T, TReturn = any> = IteratorYieldResult<T> | IteratorReturnResult<TReturn>;\n\ninterface Iterator<T, TReturn = any, TNext = undefined> {\n // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places.\n next(...args: [] | [TNext]): IteratorResult<T, TReturn>;\n return?(value?: TReturn): IteratorResult<T, TReturn>;\n throw?(e?: any): IteratorResult<T, TReturn>;\n}\n\ninterface Iterable<T> {\n [Symbol.iterator](): Iterator<T>;\n}\n\ninterface IterableIterator<T> extends Iterator<T> {\n [Symbol.iterator](): IterableIterator<T>;\n}\n\ninterface Array<T> {\n /** Iterator */\n [Symbol.iterator](): IterableIterator<T>;\n\n /**\n * Returns an iterable of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, T]>;\n\n /**\n * Returns an iterable of keys in the array\n */\n keys(): IterableIterator<number>;\n\n /**\n * Returns an iterable of values in the array\n */\n values(): IterableIterator<T>;\n}\n\ninterface ArrayConstructor {\n /**\n * Creates an array from an iterable object.\n * @param iterable An iterable object to convert to an array.\n */\n from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];\n\n /**\n * Creates an array from an iterable object.\n * @param iterable An iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];\n}\n\ninterface ReadonlyArray<T> {\n /** Iterator of values in the array. */\n [Symbol.iterator](): IterableIterator<T>;\n\n /**\n * Returns an iterable of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, T]>;\n\n /**\n * Returns an iterable of keys in the array\n */\n keys(): IterableIterator<number>;\n\n /**\n * Returns an iterable of values in the array\n */\n values(): IterableIterator<T>;\n}\n\ninterface IArguments {\n /** Iterator */\n [Symbol.iterator](): IterableIterator<any>;\n}\n\ninterface Map<K, V> {\n /** Returns an iterable of entries in the map. */\n [Symbol.iterator](): IterableIterator<[K, V]>;\n\n /**\n * Returns an iterable of key, value pairs for every entry in the map.\n */\n entries(): IterableIterator<[K, V]>;\n\n /**\n * Returns an iterable of keys in the map\n */\n keys(): IterableIterator<K>;\n\n /**\n * Returns an iterable of values in the map\n */\n values(): IterableIterator<V>;\n}\n\ninterface ReadonlyMap<K, V> {\n /** Returns an iterable of entries in the map. */\n [Symbol.iterator](): IterableIterator<[K, V]>;\n\n /**\n * Returns an iterable of key, value pairs for every entry in the map.\n */\n entries(): IterableIterator<[K, V]>;\n\n /**\n * Returns an iterable of keys in the map\n */\n keys(): IterableIterator<K>;\n\n /**\n * Returns an iterable of values in the map\n */\n values(): IterableIterator<V>;\n}\n\ninterface MapConstructor {\n new <K, V>(iterable: Iterable<readonly [K, V]>): Map<K, V>;\n}\n\ninterface WeakMap<K extends object, V> { }\n\ninterface WeakMapConstructor {\n new <K extends object, V>(iterable: Iterable<readonly [K, V]>): WeakMap<K, V>;\n}\n\ninterface Set<T> {\n /** Iterates over values in the set. */\n [Symbol.iterator](): IterableIterator<T>;\n /**\n * Returns an iterable of [v,v] pairs for every value `v` in the set.\n */\n entries(): IterableIterator<[T, T]>;\n /**\n * Despite its name, returns an iterable of the values in the set.\n */\n keys(): IterableIterator<T>;\n\n /**\n * Returns an iterable of values in the set.\n */\n values(): IterableIterator<T>;\n}\n\ninterface ReadonlySet<T> {\n /** Iterates over values in the set. */\n [Symbol.iterator](): IterableIterator<T>;\n\n /**\n * Returns an iterable of [v,v] pairs for every value `v` in the set.\n */\n entries(): IterableIterator<[T, T]>;\n\n /**\n * Despite its name, returns an iterable of the values in the set.\n */\n keys(): IterableIterator<T>;\n\n /**\n * Returns an iterable of values in the set.\n */\n values(): IterableIterator<T>;\n}\n\ninterface SetConstructor {\n new <T>(iterable?: Iterable<T> | null): Set<T>;\n}\n\ninterface WeakSet<T extends object> { }\n\ninterface WeakSetConstructor {\n new <T extends object = object>(iterable: Iterable<T>): WeakSet<T>;\n}\n\ninterface Promise<T> { }\n\ninterface PromiseConstructor {\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An iterable of Promises.\n * @returns A new Promise.\n */\n all<T>(values: Iterable<T | PromiseLike<T>>): Promise<T[]>;\n\n /**\n * Creates a Promise that is resolved or rejected when any of the provided Promises are resolved\n * or rejected.\n * @param values An iterable of Promises.\n * @returns A new Promise.\n */\n race<T>(values: Iterable<T>): Promise<T extends PromiseLike<infer U> ? U : T>;\n\n /**\n * Creates a Promise that is resolved or rejected when any of the provided Promises are resolved\n * or rejected.\n * @param values An iterable of Promises.\n * @returns A new Promise.\n */\n race<T>(values: Iterable<T | PromiseLike<T>>): Promise<T>;\n}\n\ninterface String {\n /** Iterator */\n [Symbol.iterator](): IterableIterator<string>;\n}\n\ninterface Int8Array {\n [Symbol.iterator](): IterableIterator<number>;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator<number>;\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator<number>;\n}\n\ninterface Int8ArrayConstructor {\n new (elements: Iterable<number>): Int8Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array;\n}\n\ninterface Uint8Array {\n [Symbol.iterator](): IterableIterator<number>;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator<number>;\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator<number>;\n}\n\ninterface Uint8ArrayConstructor {\n new (elements: Iterable<number>): Uint8Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array;\n}\n\ninterface Uint8ClampedArray {\n [Symbol.iterator](): IterableIterator<number>;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator<number>;\n\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator<number>;\n}\n\ninterface Uint8ClampedArrayConstructor {\n new (elements: Iterable<number>): Uint8ClampedArray;\n\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray;\n}\n\ninterface Int16Array {\n [Symbol.iterator](): IterableIterator<number>;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator<number>;\n\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator<number>;\n}\n\ninterface Int16ArrayConstructor {\n new (elements: Iterable<number>): Int16Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array;\n}\n\ninterface Uint16Array {\n [Symbol.iterator](): IterableIterator<number>;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator<number>;\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator<number>;\n}\n\ninterface Uint16ArrayConstructor {\n new (elements: Iterable<number>): Uint16Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array;\n}\n\ninterface Int32Array {\n [Symbol.iterator](): IterableIterator<number>;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator<number>;\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator<number>;\n}\n\ninterface Int32ArrayConstructor {\n new (elements: Iterable<number>): Int32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array;\n}\n\ninterface Uint32Array {\n [Symbol.iterator](): IterableIterator<number>;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator<number>;\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator<number>;\n}\n\ninterface Uint32ArrayConstructor {\n new (elements: Iterable<number>): Uint32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array;\n}\n\ninterface Float32Array {\n [Symbol.iterator](): IterableIterator<number>;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator<number>;\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator<number>;\n}\n\ninterface Float32ArrayConstructor {\n new (elements: Iterable<number>): Float32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array;\n}\n\ninterface Float64Array {\n [Symbol.iterator](): IterableIterator<number>;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator<number>;\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator<number>;\n}\n\ninterface Float64ArrayConstructor {\n new (elements: Iterable<number>): Float64Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array;\n}\n","lib.es2015.promise.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface PromiseConstructor {\n /**\n * A reference to the prototype.\n */\n readonly prototype: Promise<any>;\n\n /**\n * Creates a new Promise.\n * @param executor A callback used to initialize the promise. This callback is passed two arguments:\n * a resolve callback used to resolve the promise with a value or the result of another promise,\n * and a reject callback used to reject the promise with a provided reason or error.\n */\n new <T>(executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void): Promise<T>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>, T7 | PromiseLike<T7>, T8 | PromiseLike<T8>, T9 | PromiseLike<T9>, T10 | PromiseLike<T10>]): Promise<[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all<T1, T2, T3, T4, T5, T6, T7, T8, T9>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>, T7 | PromiseLike<T7>, T8 | PromiseLike<T8>, T9 | PromiseLike<T9>]): Promise<[T1, T2, T3, T4, T5, T6, T7, T8, T9]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all<T1, T2, T3, T4, T5, T6, T7, T8>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>, T7 | PromiseLike<T7>, T8 | PromiseLike<T8>]): Promise<[T1, T2, T3, T4, T5, T6, T7, T8]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all<T1, T2, T3, T4, T5, T6, T7>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>, T7 | PromiseLike<T7>]): Promise<[T1, T2, T3, T4, T5, T6, T7]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all<T1, T2, T3, T4, T5, T6>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>]): Promise<[T1, T2, T3, T4, T5, T6]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all<T1, T2, T3, T4, T5>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>]): Promise<[T1, T2, T3, T4, T5]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all<T1, T2, T3, T4>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>]): Promise<[T1, T2, T3, T4]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all<T1, T2, T3>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>]): Promise<[T1, T2, T3]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all<T1, T2>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>]): Promise<[T1, T2]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all<T>(values: readonly (T | PromiseLike<T>)[]): Promise<T[]>;\n\n // see: lib.es2015.iterable.d.ts\n // all<T>(values: Iterable<T | PromiseLike<T>>): Promise<T[]>;\n\n /**\n * Creates a Promise that is resolved or rejected when any of the provided Promises are resolved\n * or rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n race<T>(values: readonly T[]): Promise<T extends PromiseLike<infer U> ? U : T>;\n\n // see: lib.es2015.iterable.d.ts\n // race<T>(values: Iterable<T>): Promise<T extends PromiseLike<infer U> ? U : T>;\n\n /**\n * Creates a new rejected promise for the provided reason.\n * @param reason The reason the promise was rejected.\n * @returns A new rejected Promise.\n */\n reject<T = never>(reason?: any): Promise<T>;\n\n /**\n * Creates a new resolved promise.\n * @returns A resolved promise.\n */\n resolve(): Promise<void>;\n\n /**\n * Creates a new resolved promise for the provided value.\n * @param value A promise.\n * @returns A promise whose internal state matches the provided promise.\n */\n resolve<T>(value: T | PromiseLike<T>): Promise<T>;\n}\n\ndeclare var Promise: PromiseConstructor;\n',"lib.es2015.proxy.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface ProxyHandler<T extends object> {\n apply?(target: T, thisArg: any, argArray: any[]): any;\n construct?(target: T, argArray: any[], newTarget: Function): object;\n defineProperty?(target: T, p: string | symbol, attributes: PropertyDescriptor): boolean;\n deleteProperty?(target: T, p: string | symbol): boolean;\n get?(target: T, p: string | symbol, receiver: any): any;\n getOwnPropertyDescriptor?(target: T, p: string | symbol): PropertyDescriptor | undefined;\n getPrototypeOf?(target: T): object | null;\n has?(target: T, p: string | symbol): boolean;\n isExtensible?(target: T): boolean;\n ownKeys?(target: T): ArrayLike<string | symbol>;\n preventExtensions?(target: T): boolean;\n set?(target: T, p: string | symbol, value: any, receiver: any): boolean;\n setPrototypeOf?(target: T, v: object | null): boolean;\n}\n\ninterface ProxyConstructor {\n revocable<T extends object>(target: T, handler: ProxyHandler<T>): { proxy: T; revoke: () => void; };\n new <T extends object>(target: T, handler: ProxyHandler<T>): T;\n}\ndeclare var Proxy: ProxyConstructor;\n',"lib.es2015.reflect.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ndeclare namespace Reflect {\n /**\n * Calls the function with the specified object as the this value\n * and the elements of specified array as the arguments.\n * @param target The function to call.\n * @param thisArgument The object to be used as the this object.\n * @param argumentsList An array of argument values to be passed to the function.\n */\n function apply(target: Function, thisArgument: any, argumentsList: ArrayLike<any>): any;\n\n /**\n * Constructs the target with the elements of specified array as the arguments\n * and the specified constructor as the `new.target` value.\n * @param target The constructor to invoke.\n * @param argumentsList An array of argument values to be passed to the constructor.\n * @param newTarget The constructor to be used as the `new.target` object.\n */\n function construct(target: Function, argumentsList: ArrayLike<any>, newTarget?: Function): any;\n\n /**\n * Adds a property to an object, or modifies attributes of an existing property.\n * @param target Object on which to add or modify the property. This can be a native JavaScript object\n * (that is, a user-defined object or a built in object) or a DOM object.\n * @param propertyKey The property name.\n * @param attributes Descriptor for the property. It can be for a data property or an accessor property.\n */\n function defineProperty(target: object, propertyKey: PropertyKey, attributes: PropertyDescriptor): boolean;\n\n /**\n * Removes a property from an object, equivalent to `delete target[propertyKey]`,\n * except it won\'t throw if `target[propertyKey]` is non-configurable.\n * @param target Object from which to remove the own property.\n * @param propertyKey The property name.\n */\n function deleteProperty(target: object, propertyKey: PropertyKey): boolean;\n\n /**\n * Gets the property of target, equivalent to `target[propertyKey]` when `receiver === target`.\n * @param target Object that contains the property on itself or in its prototype chain.\n * @param propertyKey The property name.\n * @param receiver The reference to use as the `this` value in the getter function,\n * if `target[propertyKey]` is an accessor property.\n */\n function get(target: object, propertyKey: PropertyKey, receiver?: any): any;\n\n /**\n * Gets the own property descriptor of the specified object.\n * An own property descriptor is one that is defined directly on the object and is not inherited from the object\'s prototype.\n * @param target Object that contains the property.\n * @param propertyKey The property name.\n */\n function getOwnPropertyDescriptor(target: object, propertyKey: PropertyKey): PropertyDescriptor | undefined;\n\n /**\n * Returns the prototype of an object.\n * @param target The object that references the prototype.\n */\n function getPrototypeOf(target: object): object | null;\n\n /**\n * Equivalent to `propertyKey in target`.\n * @param target Object that contains the property on itself or in its prototype chain.\n * @param propertyKey Name of the property.\n */\n function has(target: object, propertyKey: PropertyKey): boolean;\n\n /**\n * Returns a value that indicates whether new properties can be added to an object.\n * @param target Object to test.\n */\n function isExtensible(target: object): boolean;\n\n /**\n * Returns the string and symbol keys of the own properties of an object. The own properties of an object\n * are those that are defined directly on that object, and are not inherited from the object\'s prototype.\n * @param target Object that contains the own properties.\n */\n function ownKeys(target: object): (string | symbol)[];\n\n /**\n * Prevents the addition of new properties to an object.\n * @param target Object to make non-extensible.\n * @return Whether the object has been made non-extensible.\n */\n function preventExtensions(target: object): boolean;\n\n /**\n * Sets the property of target, equivalent to `target[propertyKey] = value` when `receiver === target`.\n * @param target Object that contains the property on itself or in its prototype chain.\n * @param propertyKey Name of the property.\n * @param receiver The reference to use as the `this` value in the setter function,\n * if `target[propertyKey]` is an accessor property.\n */\n function set(target: object, propertyKey: PropertyKey, value: any, receiver?: any): boolean;\n\n /**\n * Sets the prototype of a specified object o to object proto or null.\n * @param target The object to change its prototype.\n * @param proto The value of the new prototype or null.\n * @return Whether setting the prototype was successful.\n */\n function setPrototypeOf(target: object, proto: object | null): boolean;\n}\n',"lib.es2015.symbol.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface SymbolConstructor {\n /**\n * A reference to the prototype.\n */\n readonly prototype: Symbol;\n\n /**\n * Returns a new unique Symbol value.\n * @param description Description of the new Symbol object.\n */\n (description?: string | number): symbol;\n\n /**\n * Returns a Symbol object from the global symbol registry matching the given key if found.\n * Otherwise, returns a new symbol with this key.\n * @param key key to search for.\n */\n for(key: string): symbol;\n\n /**\n * Returns a key from the global symbol registry matching the given Symbol if found.\n * Otherwise, returns a undefined.\n * @param sym Symbol to find the key for.\n */\n keyFor(sym: symbol): string | undefined;\n}\n\ndeclare var Symbol: SymbolConstructor;',"lib.es2015.symbol.wellknown.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2015.symbol" />\n\ninterface SymbolConstructor {\n /**\n * A method that determines if a constructor object recognizes an object as one of the\n * constructors instances. Called by the semantics of the instanceof operator.\n */\n readonly hasInstance: unique symbol;\n\n /**\n * A Boolean value that if true indicates that an object should flatten to its array elements\n * by Array.prototype.concat.\n */\n readonly isConcatSpreadable: unique symbol;\n\n /**\n * A regular expression method that matches the regular expression against a string. Called\n * by the String.prototype.match method.\n */\n readonly match: unique symbol;\n\n /**\n * A regular expression method that replaces matched substrings of a string. Called by the\n * String.prototype.replace method.\n */\n readonly replace: unique symbol;\n\n /**\n * A regular expression method that returns the index within a string that matches the\n * regular expression. Called by the String.prototype.search method.\n */\n readonly search: unique symbol;\n\n /**\n * A function valued property that is the constructor function that is used to create\n * derived objects.\n */\n readonly species: unique symbol;\n\n /**\n * A regular expression method that splits a string at the indices that match the regular\n * expression. Called by the String.prototype.split method.\n */\n readonly split: unique symbol;\n\n /**\n * A method that converts an object to a corresponding primitive value.\n * Called by the ToPrimitive abstract operation.\n */\n readonly toPrimitive: unique symbol;\n\n /**\n * A String value that is used in the creation of the default string description of an object.\n * Called by the built-in method Object.prototype.toString.\n */\n readonly toStringTag: unique symbol;\n\n /**\n * An Object whose own property names are property names that are excluded from the \'with\'\n * environment bindings of the associated objects.\n */\n readonly unscopables: unique symbol;\n}\n\ninterface Symbol {\n /**\n * Converts a Symbol object to a symbol.\n */\n [Symbol.toPrimitive](hint: string): symbol;\n\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface Array<T> {\n /**\n * Returns an object whose properties have the value \'true\'\n * when they will be absent when used in a \'with\' statement.\n */\n [Symbol.unscopables](): {\n copyWithin: boolean;\n entries: boolean;\n fill: boolean;\n find: boolean;\n findIndex: boolean;\n keys: boolean;\n values: boolean;\n };\n}\n\ninterface Date {\n /**\n * Converts a Date object to a string.\n */\n [Symbol.toPrimitive](hint: "default"): string;\n /**\n * Converts a Date object to a string.\n */\n [Symbol.toPrimitive](hint: "string"): string;\n /**\n * Converts a Date object to a number.\n */\n [Symbol.toPrimitive](hint: "number"): number;\n /**\n * Converts a Date object to a string or number.\n *\n * @param hint The strings "number", "string", or "default" to specify what primitive to return.\n *\n * @throws {TypeError} If \'hint\' was given something other than "number", "string", or "default".\n * @returns A number if \'hint\' was "number", a string if \'hint\' was "string" or "default".\n */\n [Symbol.toPrimitive](hint: string): string | number;\n}\n\ninterface Map<K, V> {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface WeakMap<K extends object, V> {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface Set<T> {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface WeakSet<T extends object> {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface JSON {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface Function {\n /**\n * Determines whether the given value inherits from this function if this function was used\n * as a constructor function.\n *\n * A constructor function can control which objects are recognized as its instances by\n * \'instanceof\' by overriding this method.\n */\n [Symbol.hasInstance](value: any): boolean;\n}\n\ninterface GeneratorFunction {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface Math {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface Promise<T> {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface PromiseConstructor {\n readonly [Symbol.species]: PromiseConstructor;\n}\n\ninterface RegExp {\n /**\n * Matches a string with this regular expression, and returns an array containing the results of\n * that search.\n * @param string A string to search within.\n */\n [Symbol.match](string: string): RegExpMatchArray | null;\n\n /**\n * Replaces text in a string, using this regular expression.\n * @param string A String object or string literal whose contents matching against\n * this regular expression will be replaced\n * @param replaceValue A String object or string literal containing the text to replace for every\n * successful match of this regular expression.\n */\n [Symbol.replace](string: string, replaceValue: string): string;\n\n /**\n * Replaces text in a string, using this regular expression.\n * @param string A String object or string literal whose contents matching against\n * this regular expression will be replaced\n * @param replacer A function that returns the replacement text.\n */\n [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;\n\n /**\n * Finds the position beginning first substring match in a regular expression search\n * using this regular expression.\n *\n * @param string The string to search within.\n */\n [Symbol.search](string: string): number;\n\n /**\n * Returns an array of substrings that were delimited by strings in the original input that\n * match against this regular expression.\n *\n * If the regular expression contains capturing parentheses, then each time this\n * regular expression matches, the results (including any undefined results) of the\n * capturing parentheses are spliced.\n *\n * @param string string value to split\n * @param limit if not undefined, the output array is truncated so that it contains no more\n * than \'limit\' elements.\n */\n [Symbol.split](string: string, limit?: number): string[];\n}\n\ninterface RegExpConstructor {\n readonly [Symbol.species]: RegExpConstructor;\n}\n\ninterface String {\n /**\n * Matches a string or an object that supports being matched against, and returns an array\n * containing the results of that search, or null if no matches are found.\n * @param matcher An object that supports being matched against.\n */\n match(matcher: { [Symbol.match](string: string): RegExpMatchArray | null; }): RegExpMatchArray | null;\n\n /**\n * Replaces first match with string or all matches with RegExp.\n * @param searchValue A string or RegExp search value.\n * @param replaceValue A string containing the text to replace for match.\n */\n replace(searchValue: { [Symbol.replace](string: string, replaceValue: string): string; }, replaceValue: string): string;\n\n /**\n * Replaces text in a string, using an object that supports replacement within a string.\n * @param searchValue A object can search for and replace matches within a string.\n * @param replacer A function that returns the replacement text.\n */\n replace(searchValue: { [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string; }, replacer: (substring: string, ...args: any[]) => string): string;\n\n /**\n * Finds the first substring match in a regular expression search.\n * @param searcher An object which supports searching within a string.\n */\n search(searcher: { [Symbol.search](string: string): number; }): number;\n\n /**\n * Split a string into substrings using the specified separator and return them as an array.\n * @param splitter An object that can split a string.\n * @param limit A value used to limit the number of elements returned in the array.\n */\n split(splitter: { [Symbol.split](string: string, limit?: number): string[]; }, limit?: number): string[];\n}\n\ninterface ArrayBuffer {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface DataView {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface Int8Array {\n readonly [Symbol.toStringTag]: "Int8Array";\n}\n\ninterface Uint8Array {\n readonly [Symbol.toStringTag]: "Uint8Array";\n}\n\ninterface Uint8ClampedArray {\n readonly [Symbol.toStringTag]: "Uint8ClampedArray";\n}\n\ninterface Int16Array {\n readonly [Symbol.toStringTag]: "Int16Array";\n}\n\ninterface Uint16Array {\n readonly [Symbol.toStringTag]: "Uint16Array";\n}\n\ninterface Int32Array {\n readonly [Symbol.toStringTag]: "Int32Array";\n}\n\ninterface Uint32Array {\n readonly [Symbol.toStringTag]: "Uint32Array";\n}\n\ninterface Float32Array {\n readonly [Symbol.toStringTag]: "Float32Array";\n}\n\ninterface Float64Array {\n readonly [Symbol.toStringTag]: "Float64Array";\n}\n\ninterface ArrayConstructor {\n readonly [Symbol.species]: ArrayConstructor;\n}\ninterface MapConstructor {\n readonly [Symbol.species]: MapConstructor;\n}\ninterface SetConstructor {\n readonly [Symbol.species]: SetConstructor;\n}\ninterface ArrayBufferConstructor {\n readonly [Symbol.species]: ArrayBufferConstructor;\n}\n',"lib.es2016.array.include.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface Array<T> {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: T, fromIndex?: number): boolean;\n}\n\ninterface ReadonlyArray<T> {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: T, fromIndex?: number): boolean;\n}\n\ninterface Int8Array {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: number, fromIndex?: number): boolean;\n}\n\ninterface Uint8Array {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: number, fromIndex?: number): boolean;\n}\n\ninterface Uint8ClampedArray {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: number, fromIndex?: number): boolean;\n}\n\ninterface Int16Array {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: number, fromIndex?: number): boolean;\n}\n\ninterface Uint16Array {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: number, fromIndex?: number): boolean;\n}\n\ninterface Int32Array {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: number, fromIndex?: number): boolean;\n}\n\ninterface Uint32Array {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: number, fromIndex?: number): boolean;\n}\n\ninterface Float32Array {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: number, fromIndex?: number): boolean;\n}\n\ninterface Float64Array {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: number, fromIndex?: number): boolean;\n}',"lib.es2016.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2015" />\n/// <reference lib="es2016.array.include" />',"lib.es2016.full.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2016" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n/// <reference lib="dom.iterable" />',"lib.es2017.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2016" />\n/// <reference lib="es2017.object" />\n/// <reference lib="es2017.sharedmemory" />\n/// <reference lib="es2017.string" />\n/// <reference lib="es2017.intl" />\n/// <reference lib="es2017.typedarrays" />\n',"lib.es2017.full.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2017" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n/// <reference lib="dom.iterable" />',"lib.es2017.intl.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ndeclare namespace Intl {\n type DateTimeFormatPartTypes = "day" | "dayPeriod" | "era" | "hour" | "literal" | "minute" | "month" | "second" | "timeZoneName" | "weekday" | "year";\n\n interface DateTimeFormatPart {\n type: DateTimeFormatPartTypes;\n value: string;\n }\n\n interface DateTimeFormat {\n formatToParts(date?: Date | number): DateTimeFormatPart[];\n }\n}\n',"lib.es2017.object.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface ObjectConstructor {\n /**\n * Returns an array of values of the enumerable properties of an object\n * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\n */\n values<T>(o: { [s: string]: T } | ArrayLike<T>): T[];\n\n /**\n * Returns an array of values of the enumerable properties of an object\n * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\n */\n values(o: {}): any[];\n\n /**\n * Returns an array of key/values of the enumerable properties of an object\n * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\n */\n entries<T>(o: { [s: string]: T } | ArrayLike<T>): [string, T][];\n\n /**\n * Returns an array of key/values of the enumerable properties of an object\n * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\n */\n entries(o: {}): [string, any][];\n\n /**\n * Returns an object containing all own property descriptors of an object\n * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\n */\n getOwnPropertyDescriptors<T>(o: T): {[P in keyof T]: TypedPropertyDescriptor<T[P]>} & { [x: string]: PropertyDescriptor };\n}\n',"lib.es2017.sharedmemory.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2015.symbol" />\n/// <reference lib="es2015.symbol.wellknown" />\n\ninterface SharedArrayBuffer {\n /**\n * Read-only. The length of the ArrayBuffer (in bytes).\n */\n readonly byteLength: number;\n\n /**\n * Returns a section of an SharedArrayBuffer.\n */\n slice(begin: number, end?: number): SharedArrayBuffer;\n readonly [Symbol.species]: SharedArrayBuffer;\n readonly [Symbol.toStringTag]: "SharedArrayBuffer";\n}\n\ninterface SharedArrayBufferConstructor {\n readonly prototype: SharedArrayBuffer;\n new (byteLength: number): SharedArrayBuffer;\n}\ndeclare var SharedArrayBuffer: SharedArrayBufferConstructor;\n\ninterface ArrayBufferTypes {\n SharedArrayBuffer: SharedArrayBuffer;\n}\n\ninterface Atomics {\n /**\n * Adds a value to the value at the given position in the array, returning the original value.\n * Until this atomic operation completes, any other read or write operation against the array\n * will block.\n */\n add(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;\n\n /**\n * Stores the bitwise AND of a value with the value at the given position in the array,\n * returning the original value. Until this atomic operation completes, any other read or\n * write operation against the array will block.\n */\n and(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;\n\n /**\n * Replaces the value at the given position in the array if the original value equals the given\n * expected value, returning the original value. Until this atomic operation completes, any\n * other read or write operation against the array will block.\n */\n compareExchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, expectedValue: number, replacementValue: number): number;\n\n /**\n * Replaces the value at the given position in the array, returning the original value. Until\n * this atomic operation completes, any other read or write operation against the array will\n * block.\n */\n exchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;\n\n /**\n * Returns a value indicating whether high-performance algorithms can use atomic operations\n * (`true`) or must use locks (`false`) for the given number of bytes-per-element of a typed\n * array.\n */\n isLockFree(size: number): boolean;\n\n /**\n * Returns the value at the given position in the array. Until this atomic operation completes,\n * any other read or write operation against the array will block.\n */\n load(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number): number;\n\n /**\n * Stores the bitwise OR of a value with the value at the given position in the array,\n * returning the original value. Until this atomic operation completes, any other read or write\n * operation against the array will block.\n */\n or(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;\n\n /**\n * Stores a value at the given position in the array, returning the new value. Until this\n * atomic operation completes, any other read or write operation against the array will block.\n */\n store(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;\n\n /**\n * Subtracts a value from the value at the given position in the array, returning the original\n * value. Until this atomic operation completes, any other read or write operation against the\n * array will block.\n */\n sub(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;\n\n /**\n * If the value at the given position in the array is equal to the provided value, the current\n * agent is put to sleep causing execution to suspend until the timeout expires (returning\n * `"timed-out"`) or until the agent is awoken (returning `"ok"`); otherwise, returns\n * `"not-equal"`.\n */\n wait(typedArray: Int32Array, index: number, value: number, timeout?: number): "ok" | "not-equal" | "timed-out";\n\n /**\n * Wakes up sleeping agents that are waiting on the given index of the array, returning the\n * number of agents that were awoken.\n * @param typedArray A shared Int32Array.\n * @param index The position in the typedArray to wake up on.\n * @param count The number of sleeping agents to notify. Defaults to +Infinity.\n */\n notify(typedArray: Int32Array, index: number, count?: number): number;\n\n /**\n * Stores the bitwise XOR of a value with the value at the given position in the array,\n * returning the original value. Until this atomic operation completes, any other read or write\n * operation against the array will block.\n */\n xor(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;\n\n readonly [Symbol.toStringTag]: "Atomics";\n}\n\ndeclare var Atomics: Atomics;\n',"lib.es2017.string.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface String {\n /**\n * Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.\n * The padding is applied from the start (left) of the current string.\n *\n * @param maxLength The length of the resulting string once the current string has been padded.\n * If this parameter is smaller than the current string\'s length, the current string will be returned as it is.\n *\n * @param fillString The string to pad the current string with.\n * If this string is too long, it will be truncated and the left-most part will be applied.\n * The default value for this parameter is " " (U+0020).\n */\n padStart(maxLength: number, fillString?: string): string;\n\n /**\n * Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.\n * The padding is applied from the end (right) of the current string.\n *\n * @param maxLength The length of the resulting string once the current string has been padded.\n * If this parameter is smaller than the current string\'s length, the current string will be returned as it is.\n *\n * @param fillString The string to pad the current string with.\n * If this string is too long, it will be truncated and the left-most part will be applied.\n * The default value for this parameter is " " (U+0020).\n */\n padEnd(maxLength: number, fillString?: string): string;\n}\n',"lib.es2017.typedarrays.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface Int8ArrayConstructor {\n new (): Int8Array;\n}\n\ninterface Uint8ArrayConstructor {\n new (): Uint8Array;\n}\n\ninterface Uint8ClampedArrayConstructor {\n new (): Uint8ClampedArray;\n}\n\ninterface Int16ArrayConstructor {\n new (): Int16Array;\n}\n\ninterface Uint16ArrayConstructor {\n new (): Uint16Array;\n}\n\ninterface Int32ArrayConstructor {\n new (): Int32Array;\n}\n\ninterface Uint32ArrayConstructor {\n new (): Uint32Array;\n}\n\ninterface Float32ArrayConstructor {\n new (): Float32Array;\n}\n\ninterface Float64ArrayConstructor {\n new (): Float64Array;\n}\n',"lib.es2018.asyncgenerator.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2018.asynciterable" />\n\ninterface AsyncGenerator<T = unknown, TReturn = any, TNext = unknown> extends AsyncIterator<T, TReturn, TNext> {\n // NOTE: \'next\' is defined using a tuple to ensure we report the correct assignability errors in all places.\n next(...args: [] | [TNext]): Promise<IteratorResult<T, TReturn>>;\n return(value: TReturn | PromiseLike<TReturn>): Promise<IteratorResult<T, TReturn>>;\n throw(e: any): Promise<IteratorResult<T, TReturn>>;\n [Symbol.asyncIterator](): AsyncGenerator<T, TReturn, TNext>;\n}\n\ninterface AsyncGeneratorFunction {\n /**\n * Creates a new AsyncGenerator object.\n * @param args A list of arguments the function accepts.\n */\n new (...args: any[]): AsyncGenerator;\n /**\n * Creates a new AsyncGenerator object.\n * @param args A list of arguments the function accepts.\n */\n (...args: any[]): AsyncGenerator;\n /**\n * The length of the arguments.\n */\n readonly length: number;\n /**\n * Returns the name of the function.\n */\n readonly name: string;\n /**\n * A reference to the prototype.\n */\n readonly prototype: AsyncGenerator;\n}\n\ninterface AsyncGeneratorFunctionConstructor {\n /**\n * Creates a new AsyncGenerator function.\n * @param args A list of arguments the function accepts.\n */\n new (...args: string[]): AsyncGeneratorFunction;\n /**\n * Creates a new AsyncGenerator function.\n * @param args A list of arguments the function accepts.\n */\n (...args: string[]): AsyncGeneratorFunction;\n /**\n * The length of the arguments.\n */\n readonly length: number;\n /**\n * Returns the name of the function.\n */\n readonly name: string;\n /**\n * A reference to the prototype.\n */\n readonly prototype: AsyncGeneratorFunction;\n}\n',"lib.es2018.asynciterable.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2015.symbol" />\n/// <reference lib="es2015.iterable" />\n\ninterface SymbolConstructor {\n /**\n * A method that returns the default async iterator for an object. Called by the semantics of\n * the for-await-of statement.\n */\n readonly asyncIterator: unique symbol;\n}\n\ninterface AsyncIterator<T, TReturn = any, TNext = undefined> {\n // NOTE: \'next\' is defined using a tuple to ensure we report the correct assignability errors in all places.\n next(...args: [] | [TNext]): Promise<IteratorResult<T, TReturn>>;\n return?(value?: TReturn | PromiseLike<TReturn>): Promise<IteratorResult<T, TReturn>>;\n throw?(e?: any): Promise<IteratorResult<T, TReturn>>;\n}\n\ninterface AsyncIterable<T> {\n [Symbol.asyncIterator](): AsyncIterator<T>;\n}\n\ninterface AsyncIterableIterator<T> extends AsyncIterator<T> {\n [Symbol.asyncIterator](): AsyncIterableIterator<T>;\n}',"lib.es2018.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2017" />\n/// <reference lib="es2018.asynciterable" />\n/// <reference lib="es2018.asyncgenerator" />\n/// <reference lib="es2018.promise" />\n/// <reference lib="es2018.regexp" />\n/// <reference lib="es2018.intl" />\n',"lib.es2018.full.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2018" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n/// <reference lib="dom.iterable" />',"lib.es2018.intl.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ndeclare namespace Intl {\n\n // http://cldr.unicode.org/index/cldr-spec/plural-rules#TOC-Determining-Plural-Categories\n type LDMLPluralRule = "zero" | "one" | "two" | "few" | "many" | "other";\n type PluralRuleType = "cardinal" | "ordinal";\n\n interface PluralRulesOptions {\n localeMatcher?: "lookup" | "best fit";\n type?: PluralRuleType;\n minimumIntegerDigits?: number;\n minimumFractionDigits?: number;\n maximumFractionDigits?: number;\n minimumSignificantDigits?: number;\n maximumSignificantDigits?: number;\n }\n\n interface ResolvedPluralRulesOptions {\n locale: string;\n pluralCategories: LDMLPluralRule[];\n type: PluralRuleType;\n minimumIntegerDigits: number;\n minimumFractionDigits: number;\n maximumFractionDigits: number;\n minimumSignificantDigits?: number;\n maximumSignificantDigits?: number;\n }\n\n interface PluralRules {\n resolvedOptions(): ResolvedPluralRulesOptions;\n select(n: number): LDMLPluralRule;\n }\n\n const PluralRules: {\n new (locales?: string | string[], options?: PluralRulesOptions): PluralRules;\n (locales?: string | string[], options?: PluralRulesOptions): PluralRules;\n supportedLocalesOf(\n locales: string | string[],\n options?: PluralRulesOptions,\n ): string[];\n };\n}\n',"lib.es2018.promise.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/**\n * Represents the completion of an asynchronous operation\n */\ninterface Promise<T> {\n /**\n * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The\n * resolved value cannot be modified from the callback.\n * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).\n * @returns A Promise for the completion of the callback.\n */\n finally(onfinally?: (() => void) | undefined | null): Promise<T>\n}\n',"lib.es2018.regexp.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface RegExpMatchArray {\n groups?: {\n [key: string]: string\n }\n}\n\ninterface RegExpExecArray {\n groups?: {\n [key: string]: string\n }\n}\n\ninterface RegExp {\n /**\n * Returns a Boolean value indicating the state of the dotAll flag (s) used with a regular expression.\n * Default is false. Read-only.\n */\n readonly dotAll: boolean;\n}',"lib.es2019.array.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ntype FlatArray<Arr, Depth extends number> = {\n "done": Arr,\n "recur": Arr extends ReadonlyArray<infer InnerArr>\n ? FlatArray<InnerArr, [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]>\n : Arr\n}[Depth extends -1 ? "done" : "recur"];\n\ninterface ReadonlyArray<T> {\n\n /**\n * Calls a defined callback function on each element of an array. Then, flattens the result into\n * a new array.\n * This is identical to a map followed by flat with depth 1.\n *\n * @param callback A function that accepts up to three arguments. The flatMap method calls the\n * callback function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callback function. If\n * thisArg is omitted, undefined is used as the this value.\n */\n flatMap<U, This = undefined> (\n callback: (this: This, value: T, index: number, array: T[]) => U | ReadonlyArray<U>,\n thisArg?: This\n ): U[]\n\n\n /**\n * Returns a new array with all sub-array elements concatenated into it recursively up to the\n * specified depth.\n *\n * @param depth The maximum recursion depth\n */\n flat<A, D extends number = 1>(\n this: A,\n depth?: D\n ): FlatArray<A, D>[]\n }\n\ninterface Array<T> {\n\n /**\n * Calls a defined callback function on each element of an array. Then, flattens the result into\n * a new array.\n * This is identical to a map followed by flat with depth 1.\n *\n * @param callback A function that accepts up to three arguments. The flatMap method calls the\n * callback function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callback function. If\n * thisArg is omitted, undefined is used as the this value.\n */\n flatMap<U, This = undefined> (\n callback: (this: This, value: T, index: number, array: T[]) => U | ReadonlyArray<U>,\n thisArg?: This\n ): U[]\n\n /**\n * Returns a new array with all sub-array elements concatenated into it recursively up to the\n * specified depth.\n *\n * @param depth The maximum recursion depth\n */\n flat<A, D extends number = 1>(\n this: A,\n depth?: D\n ): FlatArray<A, D>[]\n}\n',"lib.es2019.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2018" />\n/// <reference lib="es2019.array" />\n/// <reference lib="es2019.object" />\n/// <reference lib="es2019.string" />\n/// <reference lib="es2019.symbol" />\n',"lib.es2019.full.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2019" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n/// <reference lib="dom.iterable" />\n',"lib.es2019.object.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2015.iterable" />\n\ninterface ObjectConstructor {\n /**\n * Returns an object created by key-value entries for properties and methods\n * @param entries An iterable object that contains key-value entries for properties and methods.\n */\n fromEntries<T = any>(entries: Iterable<readonly [PropertyKey, T]>): { [k: string]: T };\n\n /**\n * Returns an object created by key-value entries for properties and methods\n * @param entries An iterable object that contains key-value entries for properties and methods.\n */\n fromEntries(entries: Iterable<readonly any[]>): any;\n}\n',"lib.es2019.string.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface String {\n /** Removes the trailing white space and line terminator characters from a string. */\n trimEnd(): string;\n\n /** Removes the leading white space and line terminator characters from a string. */\n trimStart(): string;\n\n /** Removes the leading white space and line terminator characters from a string. */\n trimLeft(): string;\n\n /** Removes the trailing white space and line terminator characters from a string. */\n trimRight(): string;\n}\n',"lib.es2019.symbol.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface Symbol {\n /**\n * Expose the [[Description]] internal slot of a symbol directly.\n */\n readonly description: string | undefined;\n}\n',"lib.es2020.bigint.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface BigIntToLocaleStringOptions {\n /**\n * The locale matching algorithm to use.The default is "best fit". For information about this option, see the {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation Intl page}.\n */\n localeMatcher?: string;\n /**\n * The formatting style to use , the default is "decimal".\n */\n style?: string;\n\n numberingSystem?: string;\n /**\n * The unit to use in unit formatting, Possible values are core unit identifiers, defined in UTS #35, Part 2, Section 6. A subset of units from the full list was selected for use in ECMAScript. Pairs of simple units can be concatenated with "-per-" to make a compound unit. There is no default value; if the style is "unit", the unit property must be provided.\n */\n unit?: string;\n\n /**\n * The unit formatting style to use in unit formatting, the defaults is "short".\n */\n unitDisplay?: string;\n\n /**\n * The currency to use in currency formatting. Possible values are the ISO 4217 currency codes, such as "USD" for the US dollar, "EUR" for the euro, or "CNY" for the Chinese RMB — see the Current currency & funds code list. There is no default value; if the style is "currency", the currency property must be provided. It is only used when [[Style]] has the value "currency".\n */\n currency?: string;\n\n /**\n * How to display the currency in currency formatting. It is only used when [[Style]] has the value "currency". The default is "symbol".\n *\n * "symbol" to use a localized currency symbol such as €,\n *\n * "code" to use the ISO currency code,\n *\n * "name" to use a localized currency name such as "dollar"\n */\n currencyDisplay?: string;\n\n /**\n * Whether to use grouping separators, such as thousands separators or thousand/lakh/crore separators. The default is true.\n */\n useGrouping?: boolean;\n\n /**\n * The minimum number of integer digits to use. Possible values are from 1 to 21; the default is 1.\n */\n minimumIntegerDigits?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21;\n\n /**\n * The minimum number of fraction digits to use. Possible values are from 0 to 20; the default for plain number and percent formatting is 0; the default for currency formatting is the number of minor unit digits provided by the {@link http://www.currency-iso.org/en/home/tables/table-a1.html ISO 4217 currency codes list} (2 if the list doesn\'t provide that information).\n */\n minimumFractionDigits?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20;\n\n /**\n * The maximum number of fraction digits to use. Possible values are from 0 to 20; the default for plain number formatting is the larger of minimumFractionDigits and 3; the default for currency formatting is the larger of minimumFractionDigits and the number of minor unit digits provided by the {@link http://www.currency-iso.org/en/home/tables/table-a1.html ISO 4217 currency codes list} (2 if the list doesn\'t provide that information); the default for percent formatting is the larger of minimumFractionDigits and 0.\n */\n maximumFractionDigits?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20;\n\n /**\n * The minimum number of significant digits to use. Possible values are from 1 to 21; the default is 1.\n */\n minimumSignificantDigits?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21;\n\n /**\n * The maximum number of significant digits to use. Possible values are from 1 to 21; the default is 21.\n */\n maximumSignificantDigits?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21;\n\n /**\n * The formatting that should be displayed for the number, the defaults is "standard"\n *\n * "standard" plain number formatting\n *\n * "scientific" return the order-of-magnitude for formatted number.\n *\n * "engineering" return the exponent of ten when divisible by three\n *\n * "compact" string representing exponent, defaults is using the "short" form\n */\n notation?: string;\n\n /**\n * used only when notation is "compact"\n */\n compactDisplay?: string;\n}\n\ninterface BigInt {\n /**\n * Returns a string representation of an object.\n * @param radix Specifies a radix for converting numeric values to strings.\n */\n toString(radix?: number): string;\n\n /** Returns a string representation appropriate to the host environment\'s current locale. */\n toLocaleString(locales?: string, options?: BigIntToLocaleStringOptions): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): bigint;\n\n readonly [Symbol.toStringTag]: "BigInt";\n}\n\ninterface BigIntConstructor {\n (value: bigint | boolean | number | string): bigint;\n readonly prototype: BigInt;\n\n /**\n * Interprets the low bits of a BigInt as a 2\'s-complement signed integer.\n * All higher bits are discarded.\n * @param bits The number of low bits to use\n * @param int The BigInt whose bits to extract\n */\n asIntN(bits: number, int: bigint): bigint;\n /**\n * Interprets the low bits of a BigInt as an unsigned integer.\n * All higher bits are discarded.\n * @param bits The number of low bits to use\n * @param int The BigInt whose bits to extract\n */\n asUintN(bits: number, int: bigint): bigint;\n}\n\ndeclare var BigInt: BigIntConstructor;\n\n/**\n * A typed array of 64-bit signed integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated, an exception is raised.\n */\ninterface BigInt64Array {\n /** The size in bytes of each element in the array. */\n readonly BYTES_PER_ELEMENT: number;\n\n /** The ArrayBuffer instance referenced by the array. */\n readonly buffer: ArrayBufferLike;\n\n /** The length in bytes of the array. */\n readonly byteLength: number;\n\n /** The offset in bytes of the array. */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /** Yields index, value pairs for every entry in the array. */\n entries(): IterableIterator<[number, bigint]>;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns false,\n * or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): boolean;\n\n /**\n * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: bigint, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: bigint, index: number, array: BigInt64Array) => any, thisArg?: any): BigInt64Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): bigint | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: bigint, index: number, array: BigInt64Array) => void, thisArg?: any): void;\n\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: bigint, fromIndex?: number): boolean;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: bigint, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /** Yields each index in the array. */\n keys(): IterableIterator<number>;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: bigint, fromIndex?: number): number;\n\n /** The length of the array. */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: bigint, index: number, array: BigInt64Array) => bigint, thisArg?: any): BigInt64Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigInt64Array) => bigint): bigint;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt64Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigInt64Array) => bigint): bigint;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt64Array) => U, initialValue: U): U;\n\n /** Reverses the elements in the array. */\n reverse(): this;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<bigint>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array.\n */\n slice(start?: number, end?: number): BigInt64Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls the\n * predicate function for each element in the array until the predicate returns true, or until\n * the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): boolean;\n\n /**\n * Sorts the array.\n * @param compareFn The function used to determine the order of the elements. If omitted, the elements are sorted in ascending order.\n */\n sort(compareFn?: (a: bigint, b: bigint) => number | bigint): this;\n\n /**\n * Gets a new BigInt64Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): BigInt64Array;\n\n /** Converts the array to a string by using the current locale. */\n toLocaleString(): string;\n\n /** Returns a string representation of the array. */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): BigInt64Array;\n\n /** Yields each value in the array. */\n values(): IterableIterator<bigint>;\n\n [Symbol.iterator](): IterableIterator<bigint>;\n\n readonly [Symbol.toStringTag]: "BigInt64Array";\n\n [index: number]: bigint;\n}\n\ninterface BigInt64ArrayConstructor {\n readonly prototype: BigInt64Array;\n new(length?: number): BigInt64Array;\n new(array: Iterable<bigint>): BigInt64Array;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigInt64Array;\n\n /** The size in bytes of each element in the array. */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: bigint[]): BigInt64Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of \'this\' used to invoke the mapfn.\n */\n from(arrayLike: ArrayLike<bigint>): BigInt64Array;\n from<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigInt64Array;\n}\n\ndeclare var BigInt64Array: BigInt64ArrayConstructor;\n\n/**\n * A typed array of 64-bit unsigned integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated, an exception is raised.\n */\ninterface BigUint64Array {\n /** The size in bytes of each element in the array. */\n readonly BYTES_PER_ELEMENT: number;\n\n /** The ArrayBuffer instance referenced by the array. */\n readonly buffer: ArrayBufferLike;\n\n /** The length in bytes of the array. */\n readonly byteLength: number;\n\n /** The offset in bytes of the array. */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /** Yields index, value pairs for every entry in the array. */\n entries(): IterableIterator<[number, bigint]>;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns false,\n * or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): boolean;\n\n /**\n * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: bigint, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: bigint, index: number, array: BigUint64Array) => any, thisArg?: any): BigUint64Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): bigint | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: bigint, index: number, array: BigUint64Array) => void, thisArg?: any): void;\n\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: bigint, fromIndex?: number): boolean;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: bigint, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /** Yields each index in the array. */\n keys(): IterableIterator<number>;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: bigint, fromIndex?: number): number;\n\n /** The length of the array. */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: bigint, index: number, array: BigUint64Array) => bigint, thisArg?: any): BigUint64Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigUint64Array) => bigint): bigint;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUint64Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigUint64Array) => bigint): bigint;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUint64Array) => U, initialValue: U): U;\n\n /** Reverses the elements in the array. */\n reverse(): this;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<bigint>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array.\n */\n slice(start?: number, end?: number): BigUint64Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls the\n * predicate function for each element in the array until the predicate returns true, or until\n * the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): boolean;\n\n /**\n * Sorts the array.\n * @param compareFn The function used to determine the order of the elements. If omitted, the elements are sorted in ascending order.\n */\n sort(compareFn?: (a: bigint, b: bigint) => number | bigint): this;\n\n /**\n * Gets a new BigUint64Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): BigUint64Array;\n\n /** Converts the array to a string by using the current locale. */\n toLocaleString(): string;\n\n /** Returns a string representation of the array. */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): BigUint64Array;\n\n /** Yields each value in the array. */\n values(): IterableIterator<bigint>;\n\n [Symbol.iterator](): IterableIterator<bigint>;\n\n readonly [Symbol.toStringTag]: "BigUint64Array";\n\n [index: number]: bigint;\n}\n\ninterface BigUint64ArrayConstructor {\n readonly prototype: BigUint64Array;\n new(length?: number): BigUint64Array;\n new(array: Iterable<bigint>): BigUint64Array;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigUint64Array;\n\n /** The size in bytes of each element in the array. */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: bigint[]): BigUint64Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of \'this\' used to invoke the mapfn.\n */\n from(arrayLike: ArrayLike<bigint>): BigUint64Array;\n from<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigUint64Array;\n}\n\ndeclare var BigUint64Array: BigUint64ArrayConstructor;\n\ninterface DataView {\n /**\n * Gets the BigInt64 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getBigInt64(byteOffset: number, littleEndian?: boolean): bigint;\n\n /**\n * Gets the BigUint64 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getBigUint64(byteOffset: number, littleEndian?: boolean): bigint;\n\n /**\n * Stores a BigInt64 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setBigInt64(byteOffset: number, value: bigint, littleEndian?: boolean): void;\n\n /**\n * Stores a BigUint64 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setBigUint64(byteOffset: number, value: bigint, littleEndian?: boolean): void;\n}\n\ndeclare namespace Intl{\n interface NumberFormat {\n format(value: number | bigint): string;\n resolvedOptions(): ResolvedNumberFormatOptions;\n }\n}\n',"lib.es2020.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2019" />\n/// <reference lib="es2020.bigint" />\n/// <reference lib="es2020.promise" />\n/// <reference lib="es2020.sharedmemory" />\n/// <reference lib="es2020.string" />\n/// <reference lib="es2020.symbol.wellknown" />\n/// <reference lib="es2020.intl" />\n',"lib.es2020.full.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2020" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n/// <reference lib="dom.iterable" />\n',"lib.es2020.intl.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ndeclare namespace Intl {\n\n /**\n * [Unicode BCP 47 Locale Identifiers](https://unicode.org/reports/tr35/#Unicode_Language_and_Locale_Identifiers) definition.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument).\n *\n */\n type UnicodeBCP47LocaleIdentifier = string;\n\n /**\n * Unit to use in the relative time internationalized message.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format#Parameters).\n *\n * [Specification](https://tc39.es/ecma402/#sec-singularrelativetimeunit).\n */\n type RelativeTimeFormatUnit =\n | "year" | "years"\n | "quarter" | "quarters"\n | "month" | "months"\n | "week" | "weeks"\n | "day" | "days"\n | "hour" | "hours"\n | "minute" | "minutes"\n | "second" | "seconds"\n ;\n\n /**\n * The locale matching algorithm to use.\n *\n * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation).\n *\n * [Specification](https://tc39.es/ecma402/#sec-InitializeRelativeTimeFormat).\n */\n type RelativeTimeFormatLocaleMatcher = "lookup" | "best fit";\n\n /**\n * The format of output message.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).\n *\n * [Specification](https://tc39.es/ecma402/#sec-InitializeRelativeTimeFormat).\n */\n type RelativeTimeFormatNumeric = "always" | "auto";\n\n /**\n * The length of the internationalized message.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).\n *\n * [Specification](https://tc39.es/ecma402/#sec-InitializeRelativeTimeFormat).\n */\n type RelativeTimeFormatStyle = "long" | "short" | "narrow";\n\n /**\n * An object with some or all of properties of `options` parameter\n * of `Intl.RelativeTimeFormat` constructor.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).\n *\n * [Specification](https://tc39.es/ecma402/#sec-InitializeRelativeTimeFormat).\n */\n interface RelativeTimeFormatOptions {\n localeMatcher?: RelativeTimeFormatLocaleMatcher;\n numeric?: RelativeTimeFormatNumeric;\n style?: RelativeTimeFormatStyle;\n }\n\n /**\n * An object with properties reflecting the locale\n * and formatting options computed during initialization\n * of the `Intel.RelativeTimeFormat` object\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions#Description).\n *\n * [Specification](https://tc39.es/ecma402/#table-relativetimeformat-resolvedoptions-properties)\n */\n interface ResolvedRelativeTimeFormatOptions {\n locale: UnicodeBCP47LocaleIdentifier;\n style: RelativeTimeFormatStyle;\n numeric: RelativeTimeFormatNumeric;\n numberingSystem: string;\n }\n\n /**\n * An object representing the relative time format in parts\n * that can be used for custom locale-aware formatting.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts#Using_formatToParts).\n *\n * [Specification](https://tc39.es/ecma402/#sec-FormatRelativeTimeToParts).\n */\n interface RelativeTimeFormatPart {\n type: string;\n value: string;\n unit?: RelativeTimeFormatUnit;\n }\n\n interface RelativeTimeFormat {\n /**\n * Formats a value and a unit according to the locale\n * and formatting options of the given\n * [`Intl.RelativeTimeFormat`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat)\n * object.\n *\n * While this method automatically provides the correct plural forms,\n * the grammatical form is otherwise as neutral as possible.\n * It is the caller\'s responsibility to handle cut-off logic\n * such as deciding between displaying "in 7 days" or "in 1 week".\n * This API does not support relative dates involving compound units.\n * e.g "in 5 days and 4 hours".\n *\n * @param value - Numeric value to use in the internationalized relative time message\n *\n * @param unit - [Unit](https://tc39.es/ecma402/#sec-singularrelativetimeunit)\n * to use in the relative time internationalized message.\n * Possible values are: `"year"`, `"quarter"`, `"month"`, `"week"`,\n * `"day"`, `"hour"`, `"minute"`, `"second"`.\n * Plural forms are also permitted.\n *\n * @throws `RangeError` if `unit` was given something other than `unit` possible values\n *\n * @returns Internationalized relative time message as string\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format).\n *\n * [Specification](https://tc39.es/ecma402/#sec-Intl.RelativeTimeFormat.prototype.format).\n */\n format(\n value: number,\n unit: RelativeTimeFormatUnit,\n ): string;\n\n /**\n * A version of the format method which it returns an array of objects\n * which represent "parts" of the object,\n * separating the formatted number into its constituent parts\n * and separating it from other surrounding text.\n * These objects have two properties:\n * `type` a NumberFormat formatToParts type, and `value`,\n * which is the String which is the component of the output.\n * If a "part" came from NumberFormat,\n * it will have a unit property which indicates the `unit` being formatted;\n * literals which are part of the larger frame will not have this property.\n *\n * @param value - Numeric value to use in the internationalized relative time message\n *\n * @param unit - [Unit](https://tc39.es/ecma402/#sec-singularrelativetimeunit)\n * to use in the relative time internationalized message.\n * Possible values are: `"year"`, `"quarter"`, `"month"`, `"week"`,\n * `"day"`, `"hour"`, `"minute"`, `"second"`.\n * Plural forms are also permitted.\n *\n * @throws `RangeError` if `unit` was given something other than `unit` possible values\n *\n * @returns Array of [FormatRelativeTimeToParts](https://tc39.es/ecma402/#sec-FormatRelativeTimeToParts)\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts).\n *\n * [Specification](https://tc39.es/ecma402/#sec-Intl.RelativeTimeFormat.prototype.formatToParts).\n */\n formatToParts(\n value: number,\n unit: RelativeTimeFormatUnit,\n ): RelativeTimeFormatPart[];\n\n /**\n * Provides access to the locale and options computed during initialization of this `Intl.RelativeTimeFormat` object.\n *\n * @returns A new object with properties reflecting the locale\n * and formatting options computed during initialization\n * of the `Intel.RelativeTimeFormat` object.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions).\n *\n * [Specification](https://tc39.es/ecma402/#sec-intl.relativetimeformat.prototype.resolvedoptions)\n */\n resolvedOptions(): ResolvedRelativeTimeFormatOptions;\n }\n\n /**\n * The [`Intl.RelativeTimeFormat`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat)\n * object is a constructor for objects that enable language-sensitive relative time formatting.\n *\n * Part of [Intl object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl)\n * namespace and the [ECMAScript Internationalization API](https://www.ecma-international.org/publications/standards/Ecma-402.htm).\n *\n * [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat#Browser_compatibility).\n *\n * [Polyfills](https://github.com/tc39/proposal-intl-relative-time#polyfills).\n */\n const RelativeTimeFormat: {\n /**\n * Constructor creates [Intl.RelativeTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat)\n * objects\n *\n * @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.\n * For the general form and interpretation of the locales argument,\n * see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).\n *\n * @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters)\n * with some or all of options of the formatting.\n * An object with some or all of the following properties:\n * - `localeMatcher` - The locale matching algorithm to use.\n * Possible values are `"lookup"` and `"best fit"`; the default is `"best fit"`.\n * For information about this option, see [Intl page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation).\n * - `numeric` - The format of output message.\n * Possible values are: `"always"` (default, e.g., `1 day ago`) or `"auto"` (e.g., `yesterday`).\n * The `"auto"` value allows to not always have to use numeric values in the output.\n * - `style` - The length of the internationalized message. Possible values are:\n * `"long"` (default, e.g., in 1 month),\n * `"short"` (e.g., in 1 mo.)\n * or `"narrow"` (e.g., in 1 mo.). The narrow style could be similar to the short style for some locales.\n *\n * @returns [Intl.RelativeTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat) object.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat).\n *\n * [Specification](https://tc39.es/ecma402/#sec-intl-relativetimeformat-constructor).\n */\n new(\n locales?: UnicodeBCP47LocaleIdentifier | UnicodeBCP47LocaleIdentifier[],\n options?: RelativeTimeFormatOptions,\n ): RelativeTimeFormat;\n\n /**\n * Returns an array containing those of the provided locales\n * that are supported in date and time formatting\n * without having to fall back to the runtime\'s default locale.\n *\n * @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.\n * For the general form and interpretation of the locales argument,\n * see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).\n *\n * @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters)\n * with some or all of options of the formatting.\n * An object with some or all of the following properties:\n * - `localeMatcher` - The locale matching algorithm to use.\n * Possible values are `"lookup"` and `"best fit"`; the default is `"best fit"`.\n * For information about this option, see [Intl page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation).\n * - `numeric` - The format of output message.\n * Possible values are: `"always"` (default, e.g., `1 day ago`) or `"auto"` (e.g., `yesterday`).\n * The `"auto"` value allows to not always have to use numeric values in the output.\n * - `style` - The length of the internationalized message. Possible values are:\n * `"long"` (default, e.g., in 1 month),\n * `"short"` (e.g., in 1 mo.)\n * or `"narrow"` (e.g., in 1 mo.). The narrow style could be similar to the short style for some locales.\n *\n * @returns An array containing those of the provided locales\n * that are supported in date and time formatting\n * without having to fall back to the runtime\'s default locale.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/supportedLocalesOf).\n *\n * [Specification](https://tc39.es/ecma402/#sec-Intl.RelativeTimeFormat.supportedLocalesOf).\n */\n supportedLocalesOf(\n locales?: UnicodeBCP47LocaleIdentifier | UnicodeBCP47LocaleIdentifier[],\n options?: RelativeTimeFormatOptions,\n ): UnicodeBCP47LocaleIdentifier[];\n };\n\n interface NumberFormatOptions {\n compactDisplay?: string;\n notation?: string;\n signDisplay?: string;\n unit?: string;\n unitDisplay?: string;\n }\n\n interface ResolvedNumberFormatOptions {\n compactDisplay?: string;\n notation?: string;\n signDisplay?: string;\n unit?: string;\n unitDisplay?: string;\n }\n\n interface DateTimeFormatOptions {\n dateStyle?: "full" | "long" | "medium" | "short";\n timeStyle?: "full" | "long" | "medium" | "short";\n calendar?: string;\n dayPeriod?: "narrow" | "short" | "long";\n numberingSystem?: string;\n hourCycle?: "h11" | "h12" | "h23" | "h24";\n fractionalSecondDigits?: 0 | 1 | 2 | 3;\n }\n}\n',"lib.es2020.promise.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface PromiseFulfilledResult<T> {\n status: "fulfilled";\n value: T;\n}\n\ninterface PromiseRejectedResult {\n status: "rejected";\n reason: any;\n}\n\ntype PromiseSettledResult<T> = PromiseFulfilledResult<T> | PromiseRejectedResult;\n\ninterface PromiseConstructor {\n /**\n * Creates a Promise that is resolved with an array of results when all\n * of the provided Promises resolve or reject.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n allSettled<T extends readonly unknown[] | readonly [unknown]>(values: T):\n Promise<{ -readonly [P in keyof T]: PromiseSettledResult<T[P] extends PromiseLike<infer U> ? U : T[P]> }>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all\n * of the provided Promises resolve or reject.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n allSettled<T>(values: Iterable<T>): Promise<PromiseSettledResult<T extends PromiseLike<infer U> ? U : T>[]>;\n}\n',"lib.es2020.sharedmemory.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface Atomics {\n /**\n * Adds a value to the value at the given position in the array, returning the original value.\n * Until this atomic operation completes, any other read or write operation against the array\n * will block.\n */\n add(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;\n\n /**\n * Stores the bitwise AND of a value with the value at the given position in the array,\n * returning the original value. Until this atomic operation completes, any other read or\n * write operation against the array will block.\n */\n and(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;\n\n /**\n * Replaces the value at the given position in the array if the original value equals the given\n * expected value, returning the original value. Until this atomic operation completes, any\n * other read or write operation against the array will block.\n */\n compareExchange(typedArray: BigInt64Array | BigUint64Array, index: number, expectedValue: bigint, replacementValue: bigint): bigint;\n\n /**\n * Replaces the value at the given position in the array, returning the original value. Until\n * this atomic operation completes, any other read or write operation against the array will\n * block.\n */\n exchange(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;\n\n /**\n * Returns the value at the given position in the array. Until this atomic operation completes,\n * any other read or write operation against the array will block.\n */\n load(typedArray: BigInt64Array | BigUint64Array, index: number): bigint;\n\n /**\n * Stores the bitwise OR of a value with the value at the given position in the array,\n * returning the original value. Until this atomic operation completes, any other read or write\n * operation against the array will block.\n */\n or(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;\n\n /**\n * Stores a value at the given position in the array, returning the new value. Until this\n * atomic operation completes, any other read or write operation against the array will block.\n */\n store(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;\n\n /**\n * Subtracts a value from the value at the given position in the array, returning the original\n * value. Until this atomic operation completes, any other read or write operation against the\n * array will block.\n */\n sub(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;\n\n /**\n * If the value at the given position in the array is equal to the provided value, the current\n * agent is put to sleep causing execution to suspend until the timeout expires (returning\n * `"timed-out"`) or until the agent is awoken (returning `"ok"`); otherwise, returns\n * `"not-equal"`.\n */\n wait(typedArray: BigInt64Array, index: number, value: bigint, timeout?: number): "ok" | "not-equal" | "timed-out";\n\n /**\n * Wakes up sleeping agents that are waiting on the given index of the array, returning the\n * number of agents that were awoken.\n * @param typedArray A shared BigInt64Array.\n * @param index The position in the typedArray to wake up on.\n * @param count The number of sleeping agents to notify. Defaults to +Infinity.\n */\n notify(typedArray: BigInt64Array, index: number, count?: number): number;\n\n /**\n * Stores the bitwise XOR of a value with the value at the given position in the array,\n * returning the original value. Until this atomic operation completes, any other read or write\n * operation against the array will block.\n */\n xor(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;\n}\n',"lib.es2020.string.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2015.iterable" />\n\ninterface String {\n /**\n * Matches a string with a regular expression, and returns an iterable of matches\n * containing the results of that search.\n * @param regexp A variable name or string literal containing the regular expression pattern and flags.\n */\n matchAll(regexp: RegExp): IterableIterator<RegExpMatchArray>;\n}\n',"lib.es2020.symbol.wellknown.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2015.iterable" />\n/// <reference lib="es2015.symbol" />\n\ninterface SymbolConstructor {\n /**\n * A regular expression method that matches the regular expression against a string. Called\n * by the String.prototype.matchAll method.\n */\n readonly matchAll: unique symbol;\n}\n\ninterface RegExp {\n /**\n * Matches a string with this regular expression, and returns an iterable of matches\n * containing the results of that search.\n * @param string A string to search within.\n */\n [Symbol.matchAll](str: string): IterableIterator<RegExpMatchArray>;\n}\n',"lib.es2021.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2020" />\n/// <reference lib="es2021.promise" />\n/// <reference lib="es2021.string" />\n/// <reference lib="es2021.weakref" />\n',"lib.es2021.full.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2021" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n/// <reference lib="dom.iterable" />\n',"lib.es2021.promise.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface AggregateError extends Error {\n errors: any[]\n}\n\ninterface AggregateErrorConstructor {\n new(errors: Iterable<any>, message?: string): AggregateError;\n (errors: Iterable<any>, message?: string): AggregateError;\n readonly prototype: AggregateError;\n}\n\ndeclare var AggregateError: AggregateErrorConstructor;\n\n/**\n * Represents the completion of an asynchronous operation\n */\ninterface PromiseConstructor {\n /**\n * The any function returns a promise that is fulfilled by the first given promise to be fulfilled, or rejected with an AggregateError containing an array of rejection reasons if all of the given promises are rejected. It resolves all elements of the passed iterable to promises as it runs this algorithm.\n * @param values An array or iterable of Promises.\n * @returns A new Promise.\n */\n any<T>(values: (T | PromiseLike<T>)[] | Iterable<T | PromiseLike<T>>): Promise<T>\n}\n',"lib.es2021.string.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface String {\n /**\n * Replace all instances of a substring in a string, using a regular expression or search string.\n * @param searchValue A string to search for.\n * @param replaceValue A string containing the text to replace for every successful match of searchValue in this string.\n */\n replaceAll(searchValue: string | RegExp, replaceValue: string): string;\n\n /**\n * Replace all instances of a substring in a string, using a regular expression or search string.\n * @param searchValue A string to search for.\n * @param replacer A function that returns the replacement text.\n */\n replaceAll(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;\n}\n',"lib.es2021.weakref.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface WeakRef<T extends object> {\n readonly [Symbol.toStringTag]: "WeakRef";\n\n /**\n * Returns the WeakRef instance\'s target object, or undefined if the target object has been\n * reclaimed.\n */\n deref(): T | undefined;\n}\n\ninterface WeakRefConstructor {\n readonly prototype: WeakRef<any>;\n\n /**\n * Creates a WeakRef instance for the given target object.\n * @param target The target object for the WeakRef instance.\n */\n new<T extends object>(target: T): WeakRef<T>;\n}\n\ndeclare var WeakRef: WeakRefConstructor;\n\ninterface FinalizationRegistry<T> {\n readonly [Symbol.toStringTag]: "FinalizationRegistry";\n\n /**\n * Registers an object with the registry.\n * @param target The target object to register.\n * @param heldValue The value to pass to the finalizer for this object. This cannot be the\n * target object.\n * @param unregisterToken The token to pass to the unregister method to unregister the target\n * object. If provided (and not undefined), this must be an object. If not provided, the target\n * cannot be unregistered.\n */\n register(target: object, heldValue: T, unregisterToken?: object): void;\n\n /**\n * Unregisters an object from the registry.\n * @param unregisterToken The token that was used as the unregisterToken argument when calling\n * register to register the target object.\n */\n unregister(unregisterToken: object): void;\n}\n\ninterface FinalizationRegistryConstructor {\n readonly prototype: FinalizationRegistry<any>;\n\n /**\n * Creates a finalization registry with an associated cleanup callback\n * @param cleanupCallback The callback to call after an object in the registry has been reclaimed.\n */\n new<T>(cleanupCallback: (heldValue: T) => void): FinalizationRegistry<T>;\n}\n\ndeclare var FinalizationRegistry: FinalizationRegistryConstructor;\n',"lib.es5.d.ts":"/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib=\"true\"/>\n\n\n/////////////////////////////\n/// ECMAScript APIs\n/////////////////////////////\n\ndeclare var NaN: number;\ndeclare var Infinity: number;\n\n/**\n * Evaluates JavaScript code and executes it.\n * @param x A String value that contains valid JavaScript code.\n */\ndeclare function eval(x: string): any;\n\n/**\n * Converts a string to an integer.\n * @param string A string to convert into a number.\n * @param radix A value between 2 and 36 that specifies the base of the number in `string`.\n * If this argument is not supplied, strings with a prefix of '0x' are considered hexadecimal.\n * All other strings are considered decimal.\n */\ndeclare function parseInt(string: string, radix?: number): number;\n\n/**\n * Converts a string to a floating-point number.\n * @param string A string that contains a floating-point number.\n */\ndeclare function parseFloat(string: string): number;\n\n/**\n * Returns a Boolean value that indicates whether a value is the reserved value NaN (not a number).\n * @param number A numeric value.\n */\ndeclare function isNaN(number: number): boolean;\n\n/**\n * Determines whether a supplied number is finite.\n * @param number Any numeric value.\n */\ndeclare function isFinite(number: number): boolean;\n\n/**\n * Gets the unencoded version of an encoded Uniform Resource Identifier (URI).\n * @param encodedURI A value representing an encoded URI.\n */\ndeclare function decodeURI(encodedURI: string): string;\n\n/**\n * Gets the unencoded version of an encoded component of a Uniform Resource Identifier (URI).\n * @param encodedURIComponent A value representing an encoded URI component.\n */\ndeclare function decodeURIComponent(encodedURIComponent: string): string;\n\n/**\n * Encodes a text string as a valid Uniform Resource Identifier (URI)\n * @param uri A value representing an encoded URI.\n */\ndeclare function encodeURI(uri: string): string;\n\n/**\n * Encodes a text string as a valid component of a Uniform Resource Identifier (URI).\n * @param uriComponent A value representing an encoded URI component.\n */\ndeclare function encodeURIComponent(uriComponent: string | number | boolean): string;\n\n/**\n * Computes a new string in which certain characters have been replaced by a hexadecimal escape sequence.\n * @param string A string value\n */\ndeclare function escape(string: string): string;\n\n/**\n * Computes a new string in which hexadecimal escape sequences are replaced with the character that it represents.\n * @param string A string value\n */\ndeclare function unescape(string: string): string;\n\ninterface Symbol {\n /** Returns a string representation of an object. */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): symbol;\n}\n\ndeclare type PropertyKey = string | number | symbol;\n\ninterface PropertyDescriptor {\n configurable?: boolean;\n enumerable?: boolean;\n value?: any;\n writable?: boolean;\n get?(): any;\n set?(v: any): void;\n}\n\ninterface PropertyDescriptorMap {\n [s: string]: PropertyDescriptor;\n}\n\ninterface Object {\n /** The initial value of Object.prototype.constructor is the standard built-in Object constructor. */\n constructor: Function;\n\n /** Returns a string representation of an object. */\n toString(): string;\n\n /** Returns a date converted to a string using the current locale. */\n toLocaleString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Object;\n\n /**\n * Determines whether an object has a property with the specified name.\n * @param v A property name.\n */\n hasOwnProperty(v: PropertyKey): boolean;\n\n /**\n * Determines whether an object exists in another object's prototype chain.\n * @param v Another object whose prototype chain is to be checked.\n */\n isPrototypeOf(v: Object): boolean;\n\n /**\n * Determines whether a specified property is enumerable.\n * @param v A property name.\n */\n propertyIsEnumerable(v: PropertyKey): boolean;\n}\n\ninterface ObjectConstructor {\n new(value?: any): Object;\n (): any;\n (value: any): any;\n\n /** A reference to the prototype for a class of objects. */\n readonly prototype: Object;\n\n /**\n * Returns the prototype of an object.\n * @param o The object that references the prototype.\n */\n getPrototypeOf(o: any): any;\n\n /**\n * Gets the own property descriptor of the specified object.\n * An own property descriptor is one that is defined directly on the object and is not inherited from the object's prototype.\n * @param o Object that contains the property.\n * @param p Name of the property.\n */\n getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;\n\n /**\n * Returns the names of the own properties of an object. The own properties of an object are those that are defined directly\n * on that object, and are not inherited from the object's prototype. The properties of an object include both fields (objects) and functions.\n * @param o Object that contains the own properties.\n */\n getOwnPropertyNames(o: any): string[];\n\n /**\n * Creates an object that has the specified prototype or that has null prototype.\n * @param o Object to use as a prototype. May be null.\n */\n create(o: object | null): any;\n\n /**\n * Creates an object that has the specified prototype, and that optionally contains specified properties.\n * @param o Object to use as a prototype. May be null\n * @param properties JavaScript object that contains one or more property descriptors.\n */\n create(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;\n\n /**\n * Adds a property to an object, or modifies attributes of an existing property.\n * @param o Object on which to add or modify the property. This can be a native JavaScript object (that is, a user-defined object or a built in object) or a DOM object.\n * @param p The property name.\n * @param attributes Descriptor for the property. It can be for a data property or an accessor property.\n */\n defineProperty<T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>): T;\n\n /**\n * Adds one or more properties to an object, and/or modifies attributes of existing properties.\n * @param o Object on which to add or modify the properties. This can be a native JavaScript object or a DOM object.\n * @param properties JavaScript object that contains one or more descriptor objects. Each descriptor object describes a data property or an accessor property.\n */\n defineProperties<T>(o: T, properties: PropertyDescriptorMap & ThisType<any>): T;\n\n /**\n * Prevents the modification of attributes of existing properties, and prevents the addition of new properties.\n * @param o Object on which to lock the attributes.\n */\n seal<T>(o: T): T;\n\n /**\n * Prevents the modification of existing property attributes and values, and prevents the addition of new properties.\n * @param o Object on which to lock the attributes.\n */\n freeze<T>(a: T[]): readonly T[];\n\n /**\n * Prevents the modification of existing property attributes and values, and prevents the addition of new properties.\n * @param o Object on which to lock the attributes.\n */\n freeze<T extends Function>(f: T): T;\n\n /**\n * Prevents the modification of existing property attributes and values, and prevents the addition of new properties.\n * @param o Object on which to lock the attributes.\n */\n freeze<T>(o: T): Readonly<T>;\n\n /**\n * Prevents the addition of new properties to an object.\n * @param o Object to make non-extensible.\n */\n preventExtensions<T>(o: T): T;\n\n /**\n * Returns true if existing property attributes cannot be modified in an object and new properties cannot be added to the object.\n * @param o Object to test.\n */\n isSealed(o: any): boolean;\n\n /**\n * Returns true if existing property attributes and values cannot be modified in an object, and new properties cannot be added to the object.\n * @param o Object to test.\n */\n isFrozen(o: any): boolean;\n\n /**\n * Returns a value that indicates whether new properties can be added to an object.\n * @param o Object to test.\n */\n isExtensible(o: any): boolean;\n\n /**\n * Returns the names of the enumerable string properties and methods of an object.\n * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\n */\n keys(o: object): string[];\n}\n\n/**\n * Provides functionality common to all JavaScript objects.\n */\ndeclare var Object: ObjectConstructor;\n\n/**\n * Creates a new function.\n */\ninterface Function {\n /**\n * Calls the function, substituting the specified object for the this value of the function, and the specified array for the arguments of the function.\n * @param thisArg The object to be used as the this object.\n * @param argArray A set of arguments to be passed to the function.\n */\n apply(this: Function, thisArg: any, argArray?: any): any;\n\n /**\n * Calls a method of an object, substituting another object for the current object.\n * @param thisArg The object to be used as the current object.\n * @param argArray A list of arguments to be passed to the method.\n */\n call(this: Function, thisArg: any, ...argArray: any[]): any;\n\n /**\n * For a given function, creates a bound function that has the same body as the original function.\n * The this object of the bound function is associated with the specified object, and has the specified initial parameters.\n * @param thisArg An object to which the this keyword can refer inside the new function.\n * @param argArray A list of arguments to be passed to the new function.\n */\n bind(this: Function, thisArg: any, ...argArray: any[]): any;\n\n /** Returns a string representation of a function. */\n toString(): string;\n\n prototype: any;\n readonly length: number;\n\n // Non-standard extensions\n arguments: any;\n caller: Function;\n}\n\ninterface FunctionConstructor {\n /**\n * Creates a new function.\n * @param args A list of arguments the function accepts.\n */\n new(...args: string[]): Function;\n (...args: string[]): Function;\n readonly prototype: Function;\n}\n\ndeclare var Function: FunctionConstructor;\n\n/**\n * Extracts the type of the 'this' parameter of a function type, or 'unknown' if the function type has no 'this' parameter.\n */\ntype ThisParameterType<T> = T extends (this: infer U, ...args: any[]) => any ? U : unknown;\n\n/**\n * Removes the 'this' parameter from a function type.\n */\ntype OmitThisParameter<T> = unknown extends ThisParameterType<T> ? T : T extends (...args: infer A) => infer R ? (...args: A) => R : T;\n\ninterface CallableFunction extends Function {\n /**\n * Calls the function with the specified object as the this value and the elements of specified array as the arguments.\n * @param thisArg The object to be used as the this object.\n * @param args An array of argument values to be passed to the function.\n */\n apply<T, R>(this: (this: T) => R, thisArg: T): R;\n apply<T, A extends any[], R>(this: (this: T, ...args: A) => R, thisArg: T, args: A): R;\n\n /**\n * Calls the function with the specified object as the this value and the specified rest arguments as the arguments.\n * @param thisArg The object to be used as the this object.\n * @param args Argument values to be passed to the function.\n */\n call<T, A extends any[], R>(this: (this: T, ...args: A) => R, thisArg: T, ...args: A): R;\n\n /**\n * For a given function, creates a bound function that has the same body as the original function.\n * The this object of the bound function is associated with the specified object, and has the specified initial parameters.\n * @param thisArg The object to be used as the this object.\n * @param args Arguments to bind to the parameters of the function.\n */\n bind<T>(this: T, thisArg: ThisParameterType<T>): OmitThisParameter<T>;\n bind<T, A0, A extends any[], R>(this: (this: T, arg0: A0, ...args: A) => R, thisArg: T, arg0: A0): (...args: A) => R;\n bind<T, A0, A1, A extends any[], R>(this: (this: T, arg0: A0, arg1: A1, ...args: A) => R, thisArg: T, arg0: A0, arg1: A1): (...args: A) => R;\n bind<T, A0, A1, A2, A extends any[], R>(this: (this: T, arg0: A0, arg1: A1, arg2: A2, ...args: A) => R, thisArg: T, arg0: A0, arg1: A1, arg2: A2): (...args: A) => R;\n bind<T, A0, A1, A2, A3, A extends any[], R>(this: (this: T, arg0: A0, arg1: A1, arg2: A2, arg3: A3, ...args: A) => R, thisArg: T, arg0: A0, arg1: A1, arg2: A2, arg3: A3): (...args: A) => R;\n bind<T, AX, R>(this: (this: T, ...args: AX[]) => R, thisArg: T, ...args: AX[]): (...args: AX[]) => R;\n}\n\ninterface NewableFunction extends Function {\n /**\n * Calls the function with the specified object as the this value and the elements of specified array as the arguments.\n * @param thisArg The object to be used as the this object.\n * @param args An array of argument values to be passed to the function.\n */\n apply<T>(this: new () => T, thisArg: T): void;\n apply<T, A extends any[]>(this: new (...args: A) => T, thisArg: T, args: A): void;\n\n /**\n * Calls the function with the specified object as the this value and the specified rest arguments as the arguments.\n * @param thisArg The object to be used as the this object.\n * @param args Argument values to be passed to the function.\n */\n call<T, A extends any[]>(this: new (...args: A) => T, thisArg: T, ...args: A): void;\n\n /**\n * For a given function, creates a bound function that has the same body as the original function.\n * The this object of the bound function is associated with the specified object, and has the specified initial parameters.\n * @param thisArg The object to be used as the this object.\n * @param args Arguments to bind to the parameters of the function.\n */\n bind<T>(this: T, thisArg: any): T;\n bind<A0, A extends any[], R>(this: new (arg0: A0, ...args: A) => R, thisArg: any, arg0: A0): new (...args: A) => R;\n bind<A0, A1, A extends any[], R>(this: new (arg0: A0, arg1: A1, ...args: A) => R, thisArg: any, arg0: A0, arg1: A1): new (...args: A) => R;\n bind<A0, A1, A2, A extends any[], R>(this: new (arg0: A0, arg1: A1, arg2: A2, ...args: A) => R, thisArg: any, arg0: A0, arg1: A1, arg2: A2): new (...args: A) => R;\n bind<A0, A1, A2, A3, A extends any[], R>(this: new (arg0: A0, arg1: A1, arg2: A2, arg3: A3, ...args: A) => R, thisArg: any, arg0: A0, arg1: A1, arg2: A2, arg3: A3): new (...args: A) => R;\n bind<AX, R>(this: new (...args: AX[]) => R, thisArg: any, ...args: AX[]): new (...args: AX[]) => R;\n}\n\ninterface IArguments {\n [index: number]: any;\n length: number;\n callee: Function;\n}\n\ninterface String {\n /** Returns a string representation of a string. */\n toString(): string;\n\n /**\n * Returns the character at the specified index.\n * @param pos The zero-based index of the desired character.\n */\n charAt(pos: number): string;\n\n /**\n * Returns the Unicode value of the character at the specified location.\n * @param index The zero-based index of the desired character. If there is no character at the specified index, NaN is returned.\n */\n charCodeAt(index: number): number;\n\n /**\n * Returns a string that contains the concatenation of two or more strings.\n * @param strings The strings to append to the end of the string.\n */\n concat(...strings: string[]): string;\n\n /**\n * Returns the position of the first occurrence of a substring.\n * @param searchString The substring to search for in the string\n * @param position The index at which to begin searching the String object. If omitted, search starts at the beginning of the string.\n */\n indexOf(searchString: string, position?: number): number;\n\n /**\n * Returns the last occurrence of a substring in the string.\n * @param searchString The substring to search for.\n * @param position The index at which to begin searching. If omitted, the search begins at the end of the string.\n */\n lastIndexOf(searchString: string, position?: number): number;\n\n /**\n * Determines whether two strings are equivalent in the current locale.\n * @param that String to compare to target string\n */\n localeCompare(that: string): number;\n\n /**\n * Matches a string with a regular expression, and returns an array containing the results of that search.\n * @param regexp A variable name or string literal containing the regular expression pattern and flags.\n */\n match(regexp: string | RegExp): RegExpMatchArray | null;\n\n /**\n * Replaces text in a string, using a regular expression or search string.\n * @param searchValue A string to search for.\n * @param replaceValue A string containing the text to replace for every successful match of searchValue in this string.\n */\n replace(searchValue: string | RegExp, replaceValue: string): string;\n\n /**\n * Replaces text in a string, using a regular expression or search string.\n * @param searchValue A string to search for.\n * @param replacer A function that returns the replacement text.\n */\n replace(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;\n\n /**\n * Finds the first substring match in a regular expression search.\n * @param regexp The regular expression pattern and applicable flags.\n */\n search(regexp: string | RegExp): number;\n\n /**\n * Returns a section of a string.\n * @param start The index to the beginning of the specified portion of stringObj.\n * @param end The index to the end of the specified portion of stringObj. The substring includes the characters up to, but not including, the character indicated by end.\n * If this value is not specified, the substring continues to the end of stringObj.\n */\n slice(start?: number, end?: number): string;\n\n /**\n * Split a string into substrings using the specified separator and return them as an array.\n * @param separator A string that identifies character or characters to use in separating the string. If omitted, a single-element array containing the entire string is returned.\n * @param limit A value used to limit the number of elements returned in the array.\n */\n split(separator: string | RegExp, limit?: number): string[];\n\n /**\n * Returns the substring at the specified location within a String object.\n * @param start The zero-based index number indicating the beginning of the substring.\n * @param end Zero-based index number indicating the end of the substring. The substring includes the characters up to, but not including, the character indicated by end.\n * If end is omitted, the characters from start through the end of the original string are returned.\n */\n substring(start: number, end?: number): string;\n\n /** Converts all the alphabetic characters in a string to lowercase. */\n toLowerCase(): string;\n\n /** Converts all alphabetic characters to lowercase, taking into account the host environment's current locale. */\n toLocaleLowerCase(locales?: string | string[]): string;\n\n /** Converts all the alphabetic characters in a string to uppercase. */\n toUpperCase(): string;\n\n /** Returns a string where all alphabetic characters have been converted to uppercase, taking into account the host environment's current locale. */\n toLocaleUpperCase(locales?: string | string[]): string;\n\n /** Removes the leading and trailing white space and line terminator characters from a string. */\n trim(): string;\n\n /** Returns the length of a String object. */\n readonly length: number;\n\n // IE extensions\n /**\n * Gets a substring beginning at the specified location and having the specified length.\n * @param from The starting position of the desired substring. The index of the first character in the string is zero.\n * @param length The number of characters to include in the returned substring.\n */\n substr(from: number, length?: number): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): string;\n\n readonly [index: number]: string;\n}\n\ninterface StringConstructor {\n new(value?: any): String;\n (value?: any): string;\n readonly prototype: String;\n fromCharCode(...codes: number[]): string;\n}\n\n/**\n * Allows manipulation and formatting of text strings and determination and location of substrings within strings.\n */\ndeclare var String: StringConstructor;\n\ninterface Boolean {\n /** Returns the primitive value of the specified object. */\n valueOf(): boolean;\n}\n\ninterface BooleanConstructor {\n new(value?: any): Boolean;\n <T>(value?: T): boolean;\n readonly prototype: Boolean;\n}\n\ndeclare var Boolean: BooleanConstructor;\n\ninterface Number {\n /**\n * Returns a string representation of an object.\n * @param radix Specifies a radix for converting numeric values to strings. This value is only used for numbers.\n */\n toString(radix?: number): string;\n\n /**\n * Returns a string representing a number in fixed-point notation.\n * @param fractionDigits Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.\n */\n toFixed(fractionDigits?: number): string;\n\n /**\n * Returns a string containing a number represented in exponential notation.\n * @param fractionDigits Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.\n */\n toExponential(fractionDigits?: number): string;\n\n /**\n * Returns a string containing a number represented either in exponential or fixed-point notation with a specified number of digits.\n * @param precision Number of significant digits. Must be in the range 1 - 21, inclusive.\n */\n toPrecision(precision?: number): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): number;\n}\n\ninterface NumberConstructor {\n new(value?: any): Number;\n (value?: any): number;\n readonly prototype: Number;\n\n /** The largest number that can be represented in JavaScript. Equal to approximately 1.79E+308. */\n readonly MAX_VALUE: number;\n\n /** The closest number to zero that can be represented in JavaScript. Equal to approximately 5.00E-324. */\n readonly MIN_VALUE: number;\n\n /**\n * A value that is not a number.\n * In equality comparisons, NaN does not equal any value, including itself. To test whether a value is equivalent to NaN, use the isNaN function.\n */\n readonly NaN: number;\n\n /**\n * A value that is less than the largest negative number that can be represented in JavaScript.\n * JavaScript displays NEGATIVE_INFINITY values as -infinity.\n */\n readonly NEGATIVE_INFINITY: number;\n\n /**\n * A value greater than the largest number that can be represented in JavaScript.\n * JavaScript displays POSITIVE_INFINITY values as infinity.\n */\n readonly POSITIVE_INFINITY: number;\n}\n\n/** An object that represents a number of any kind. All JavaScript numbers are 64-bit floating-point numbers. */\ndeclare var Number: NumberConstructor;\n\ninterface TemplateStringsArray extends ReadonlyArray<string> {\n readonly raw: readonly string[];\n}\n\n/**\n * The type of `import.meta`.\n *\n * If you need to declare that a given property exists on `import.meta`,\n * this type may be augmented via interface merging.\n */\ninterface ImportMeta {\n}\n\ninterface Math {\n /** The mathematical constant e. This is Euler's number, the base of natural logarithms. */\n readonly E: number;\n /** The natural logarithm of 10. */\n readonly LN10: number;\n /** The natural logarithm of 2. */\n readonly LN2: number;\n /** The base-2 logarithm of e. */\n readonly LOG2E: number;\n /** The base-10 logarithm of e. */\n readonly LOG10E: number;\n /** Pi. This is the ratio of the circumference of a circle to its diameter. */\n readonly PI: number;\n /** The square root of 0.5, or, equivalently, one divided by the square root of 2. */\n readonly SQRT1_2: number;\n /** The square root of 2. */\n readonly SQRT2: number;\n /**\n * Returns the absolute value of a number (the value without regard to whether it is positive or negative).\n * For example, the absolute value of -5 is the same as the absolute value of 5.\n * @param x A numeric expression for which the absolute value is needed.\n */\n abs(x: number): number;\n /**\n * Returns the arc cosine (or inverse cosine) of a number.\n * @param x A numeric expression.\n */\n acos(x: number): number;\n /**\n * Returns the arcsine of a number.\n * @param x A numeric expression.\n */\n asin(x: number): number;\n /**\n * Returns the arctangent of a number.\n * @param x A numeric expression for which the arctangent is needed.\n */\n atan(x: number): number;\n /**\n * Returns the angle (in radians) from the X axis to a point.\n * @param y A numeric expression representing the cartesian y-coordinate.\n * @param x A numeric expression representing the cartesian x-coordinate.\n */\n atan2(y: number, x: number): number;\n /**\n * Returns the smallest integer greater than or equal to its numeric argument.\n * @param x A numeric expression.\n */\n ceil(x: number): number;\n /**\n * Returns the cosine of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n cos(x: number): number;\n /**\n * Returns e (the base of natural logarithms) raised to a power.\n * @param x A numeric expression representing the power of e.\n */\n exp(x: number): number;\n /**\n * Returns the greatest integer less than or equal to its numeric argument.\n * @param x A numeric expression.\n */\n floor(x: number): number;\n /**\n * Returns the natural logarithm (base e) of a number.\n * @param x A numeric expression.\n */\n log(x: number): number;\n /**\n * Returns the larger of a set of supplied numeric expressions.\n * @param values Numeric expressions to be evaluated.\n */\n max(...values: number[]): number;\n /**\n * Returns the smaller of a set of supplied numeric expressions.\n * @param values Numeric expressions to be evaluated.\n */\n min(...values: number[]): number;\n /**\n * Returns the value of a base expression taken to a specified power.\n * @param x The base value of the expression.\n * @param y The exponent value of the expression.\n */\n pow(x: number, y: number): number;\n /** Returns a pseudorandom number between 0 and 1. */\n random(): number;\n /**\n * Returns a supplied numeric expression rounded to the nearest integer.\n * @param x The value to be rounded to the nearest integer.\n */\n round(x: number): number;\n /**\n * Returns the sine of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n sin(x: number): number;\n /**\n * Returns the square root of a number.\n * @param x A numeric expression.\n */\n sqrt(x: number): number;\n /**\n * Returns the tangent of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n tan(x: number): number;\n}\n/** An intrinsic object that provides basic mathematics functionality and constants. */\ndeclare var Math: Math;\n\n/** Enables basic storage and retrieval of dates and times. */\ninterface Date {\n /** Returns a string representation of a date. The format of the string depends on the locale. */\n toString(): string;\n /** Returns a date as a string value. */\n toDateString(): string;\n /** Returns a time as a string value. */\n toTimeString(): string;\n /** Returns a value as a string value appropriate to the host environment's current locale. */\n toLocaleString(): string;\n /** Returns a date as a string value appropriate to the host environment's current locale. */\n toLocaleDateString(): string;\n /** Returns a time as a string value appropriate to the host environment's current locale. */\n toLocaleTimeString(): string;\n /** Returns the stored time value in milliseconds since midnight, January 1, 1970 UTC. */\n valueOf(): number;\n /** Gets the time value in milliseconds. */\n getTime(): number;\n /** Gets the year, using local time. */\n getFullYear(): number;\n /** Gets the year using Universal Coordinated Time (UTC). */\n getUTCFullYear(): number;\n /** Gets the month, using local time. */\n getMonth(): number;\n /** Gets the month of a Date object using Universal Coordinated Time (UTC). */\n getUTCMonth(): number;\n /** Gets the day-of-the-month, using local time. */\n getDate(): number;\n /** Gets the day-of-the-month, using Universal Coordinated Time (UTC). */\n getUTCDate(): number;\n /** Gets the day of the week, using local time. */\n getDay(): number;\n /** Gets the day of the week using Universal Coordinated Time (UTC). */\n getUTCDay(): number;\n /** Gets the hours in a date, using local time. */\n getHours(): number;\n /** Gets the hours value in a Date object using Universal Coordinated Time (UTC). */\n getUTCHours(): number;\n /** Gets the minutes of a Date object, using local time. */\n getMinutes(): number;\n /** Gets the minutes of a Date object using Universal Coordinated Time (UTC). */\n getUTCMinutes(): number;\n /** Gets the seconds of a Date object, using local time. */\n getSeconds(): number;\n /** Gets the seconds of a Date object using Universal Coordinated Time (UTC). */\n getUTCSeconds(): number;\n /** Gets the milliseconds of a Date, using local time. */\n getMilliseconds(): number;\n /** Gets the milliseconds of a Date object using Universal Coordinated Time (UTC). */\n getUTCMilliseconds(): number;\n /** Gets the difference in minutes between the time on the local computer and Universal Coordinated Time (UTC). */\n getTimezoneOffset(): number;\n /**\n * Sets the date and time value in the Date object.\n * @param time A numeric value representing the number of elapsed milliseconds since midnight, January 1, 1970 GMT.\n */\n setTime(time: number): number;\n /**\n * Sets the milliseconds value in the Date object using local time.\n * @param ms A numeric value equal to the millisecond value.\n */\n setMilliseconds(ms: number): number;\n /**\n * Sets the milliseconds value in the Date object using Universal Coordinated Time (UTC).\n * @param ms A numeric value equal to the millisecond value.\n */\n setUTCMilliseconds(ms: number): number;\n\n /**\n * Sets the seconds value in the Date object using local time.\n * @param sec A numeric value equal to the seconds value.\n * @param ms A numeric value equal to the milliseconds value.\n */\n setSeconds(sec: number, ms?: number): number;\n /**\n * Sets the seconds value in the Date object using Universal Coordinated Time (UTC).\n * @param sec A numeric value equal to the seconds value.\n * @param ms A numeric value equal to the milliseconds value.\n */\n setUTCSeconds(sec: number, ms?: number): number;\n /**\n * Sets the minutes value in the Date object using local time.\n * @param min A numeric value equal to the minutes value.\n * @param sec A numeric value equal to the seconds value.\n * @param ms A numeric value equal to the milliseconds value.\n */\n setMinutes(min: number, sec?: number, ms?: number): number;\n /**\n * Sets the minutes value in the Date object using Universal Coordinated Time (UTC).\n * @param min A numeric value equal to the minutes value.\n * @param sec A numeric value equal to the seconds value.\n * @param ms A numeric value equal to the milliseconds value.\n */\n setUTCMinutes(min: number, sec?: number, ms?: number): number;\n /**\n * Sets the hour value in the Date object using local time.\n * @param hours A numeric value equal to the hours value.\n * @param min A numeric value equal to the minutes value.\n * @param sec A numeric value equal to the seconds value.\n * @param ms A numeric value equal to the milliseconds value.\n */\n setHours(hours: number, min?: number, sec?: number, ms?: number): number;\n /**\n * Sets the hours value in the Date object using Universal Coordinated Time (UTC).\n * @param hours A numeric value equal to the hours value.\n * @param min A numeric value equal to the minutes value.\n * @param sec A numeric value equal to the seconds value.\n * @param ms A numeric value equal to the milliseconds value.\n */\n setUTCHours(hours: number, min?: number, sec?: number, ms?: number): number;\n /**\n * Sets the numeric day-of-the-month value of the Date object using local time.\n * @param date A numeric value equal to the day of the month.\n */\n setDate(date: number): number;\n /**\n * Sets the numeric day of the month in the Date object using Universal Coordinated Time (UTC).\n * @param date A numeric value equal to the day of the month.\n */\n setUTCDate(date: number): number;\n /**\n * Sets the month value in the Date object using local time.\n * @param month A numeric value equal to the month. The value for January is 0, and other month values follow consecutively.\n * @param date A numeric value representing the day of the month. If this value is not supplied, the value from a call to the getDate method is used.\n */\n setMonth(month: number, date?: number): number;\n /**\n * Sets the month value in the Date object using Universal Coordinated Time (UTC).\n * @param month A numeric value equal to the month. The value for January is 0, and other month values follow consecutively.\n * @param date A numeric value representing the day of the month. If it is not supplied, the value from a call to the getUTCDate method is used.\n */\n setUTCMonth(month: number, date?: number): number;\n /**\n * Sets the year of the Date object using local time.\n * @param year A numeric value for the year.\n * @param month A zero-based numeric value for the month (0 for January, 11 for December). Must be specified if numDate is specified.\n * @param date A numeric value equal for the day of the month.\n */\n setFullYear(year: number, month?: number, date?: number): number;\n /**\n * Sets the year value in the Date object using Universal Coordinated Time (UTC).\n * @param year A numeric value equal to the year.\n * @param month A numeric value equal to the month. The value for January is 0, and other month values follow consecutively. Must be supplied if numDate is supplied.\n * @param date A numeric value equal to the day of the month.\n */\n setUTCFullYear(year: number, month?: number, date?: number): number;\n /** Returns a date converted to a string using Universal Coordinated Time (UTC). */\n toUTCString(): string;\n /** Returns a date as a string value in ISO format. */\n toISOString(): string;\n /** Used by the JSON.stringify method to enable the transformation of an object's data for JavaScript Object Notation (JSON) serialization. */\n toJSON(key?: any): string;\n}\n\ninterface DateConstructor {\n new(): Date;\n new(value: number | string): Date;\n new(year: number, month: number, date?: number, hours?: number, minutes?: number, seconds?: number, ms?: number): Date;\n (): string;\n readonly prototype: Date;\n /**\n * Parses a string containing a date, and returns the number of milliseconds between that date and midnight, January 1, 1970.\n * @param s A date string\n */\n parse(s: string): number;\n /**\n * Returns the number of milliseconds between midnight, January 1, 1970 Universal Coordinated Time (UTC) (or GMT) and the specified date.\n * @param year The full year designation is required for cross-century date accuracy. If year is between 0 and 99 is used, then year is assumed to be 1900 + year.\n * @param month The month as a number between 0 and 11 (January to December).\n * @param date The date as a number between 1 and 31.\n * @param hours Must be supplied if minutes is supplied. A number from 0 to 23 (midnight to 11pm) that specifies the hour.\n * @param minutes Must be supplied if seconds is supplied. A number from 0 to 59 that specifies the minutes.\n * @param seconds Must be supplied if milliseconds is supplied. A number from 0 to 59 that specifies the seconds.\n * @param ms A number from 0 to 999 that specifies the milliseconds.\n */\n UTC(year: number, month: number, date?: number, hours?: number, minutes?: number, seconds?: number, ms?: number): number;\n now(): number;\n}\n\ndeclare var Date: DateConstructor;\n\ninterface RegExpMatchArray extends Array<string> {\n index?: number;\n input?: string;\n}\n\ninterface RegExpExecArray extends Array<string> {\n index: number;\n input: string;\n}\n\ninterface RegExp {\n /**\n * Executes a search on a string using a regular expression pattern, and returns an array containing the results of that search.\n * @param string The String object or string literal on which to perform the search.\n */\n exec(string: string): RegExpExecArray | null;\n\n /**\n * Returns a Boolean value that indicates whether or not a pattern exists in a searched string.\n * @param string String on which to perform the search.\n */\n test(string: string): boolean;\n\n /** Returns a copy of the text of the regular expression pattern. Read-only. The regExp argument is a Regular expression object. It can be a variable name or a literal. */\n readonly source: string;\n\n /** Returns a Boolean value indicating the state of the global flag (g) used with a regular expression. Default is false. Read-only. */\n readonly global: boolean;\n\n /** Returns a Boolean value indicating the state of the ignoreCase flag (i) used with a regular expression. Default is false. Read-only. */\n readonly ignoreCase: boolean;\n\n /** Returns a Boolean value indicating the state of the multiline flag (m) used with a regular expression. Default is false. Read-only. */\n readonly multiline: boolean;\n\n lastIndex: number;\n\n // Non-standard extensions\n compile(): this;\n}\n\ninterface RegExpConstructor {\n new(pattern: RegExp | string): RegExp;\n new(pattern: string, flags?: string): RegExp;\n (pattern: RegExp | string): RegExp;\n (pattern: string, flags?: string): RegExp;\n readonly prototype: RegExp;\n\n // Non-standard extensions\n $1: string;\n $2: string;\n $3: string;\n $4: string;\n $5: string;\n $6: string;\n $7: string;\n $8: string;\n $9: string;\n lastMatch: string;\n}\n\ndeclare var RegExp: RegExpConstructor;\n\ninterface Error {\n name: string;\n message: string;\n stack?: string;\n}\n\ninterface ErrorConstructor {\n new(message?: string): Error;\n (message?: string): Error;\n readonly prototype: Error;\n}\n\ndeclare var Error: ErrorConstructor;\n\ninterface EvalError extends Error {\n}\n\ninterface EvalErrorConstructor extends ErrorConstructor {\n new(message?: string): EvalError;\n (message?: string): EvalError;\n readonly prototype: EvalError;\n}\n\ndeclare var EvalError: EvalErrorConstructor;\n\ninterface RangeError extends Error {\n}\n\ninterface RangeErrorConstructor extends ErrorConstructor {\n new(message?: string): RangeError;\n (message?: string): RangeError;\n readonly prototype: RangeError;\n}\n\ndeclare var RangeError: RangeErrorConstructor;\n\ninterface ReferenceError extends Error {\n}\n\ninterface ReferenceErrorConstructor extends ErrorConstructor {\n new(message?: string): ReferenceError;\n (message?: string): ReferenceError;\n readonly prototype: ReferenceError;\n}\n\ndeclare var ReferenceError: ReferenceErrorConstructor;\n\ninterface SyntaxError extends Error {\n}\n\ninterface SyntaxErrorConstructor extends ErrorConstructor {\n new(message?: string): SyntaxError;\n (message?: string): SyntaxError;\n readonly prototype: SyntaxError;\n}\n\ndeclare var SyntaxError: SyntaxErrorConstructor;\n\ninterface TypeError extends Error {\n}\n\ninterface TypeErrorConstructor extends ErrorConstructor {\n new(message?: string): TypeError;\n (message?: string): TypeError;\n readonly prototype: TypeError;\n}\n\ndeclare var TypeError: TypeErrorConstructor;\n\ninterface URIError extends Error {\n}\n\ninterface URIErrorConstructor extends ErrorConstructor {\n new(message?: string): URIError;\n (message?: string): URIError;\n readonly prototype: URIError;\n}\n\ndeclare var URIError: URIErrorConstructor;\n\ninterface JSON {\n /**\n * Converts a JavaScript Object Notation (JSON) string into an object.\n * @param text A valid JSON string.\n * @param reviver A function that transforms the results. This function is called for each member of the object.\n * If a member contains nested objects, the nested objects are transformed before the parent object is.\n */\n parse(text: string, reviver?: (this: any, key: string, value: any) => any): any;\n /**\n * Converts a JavaScript value to a JavaScript Object Notation (JSON) string.\n * @param value A JavaScript value, usually an object or array, to be converted.\n * @param replacer A function that transforms the results.\n * @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.\n */\n stringify(value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;\n /**\n * Converts a JavaScript value to a JavaScript Object Notation (JSON) string.\n * @param value A JavaScript value, usually an object or array, to be converted.\n * @param replacer An array of strings and numbers that acts as an approved list for selecting the object properties that will be stringified.\n * @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.\n */\n stringify(value: any, replacer?: (number | string)[] | null, space?: string | number): string;\n}\n\n/**\n * An intrinsic object that provides functions to convert JavaScript values to and from the JavaScript Object Notation (JSON) format.\n */\ndeclare var JSON: JSON;\n\n\n/////////////////////////////\n/// ECMAScript Array API (specially handled by compiler)\n/////////////////////////////\n\ninterface ReadonlyArray<T> {\n /**\n * Gets the length of the array. This is a number one higher than the highest element defined in an array.\n */\n readonly length: number;\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n /**\n * Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.\n */\n toLocaleString(): string;\n /**\n * Combines two or more arrays.\n * @param items Additional items to add to the end of array1.\n */\n concat(...items: ConcatArray<T>[]): T[];\n /**\n * Combines two or more arrays.\n * @param items Additional items to add to the end of array1.\n */\n concat(...items: (T | ConcatArray<T>)[]): T[];\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): T[];\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.\n */\n indexOf(searchElement: T, fromIndex?: number): number;\n /**\n * Returns the index of the last occurrence of a specified value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at the last index in the array.\n */\n lastIndexOf(searchElement: T, fromIndex?: number): number;\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every<S extends T>(predicate: (value: T, index: number, array: readonly T[]) => value is S, thisArg?: any): this is readonly S[];\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): boolean;\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): boolean;\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: T, index: number, array: readonly T[]) => void, thisArg?: any): void;\n /**\n * Calls a defined callback function on each element of an array, and returns an array that contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n map<U>(callbackfn: (value: T, index: number, array: readonly T[]) => U, thisArg?: any): U[];\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.\n */\n filter<S extends T>(predicate: (value: T, index: number, array: readonly T[]) => value is S, thisArg?: any): S[];\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): T[];\n /**\n * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) => T): T;\n reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) => T, initialValue: T): T;\n /**\n * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: readonly T[]) => U, initialValue: U): U;\n /**\n * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) => T): T;\n reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) => T, initialValue: T): T;\n /**\n * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: readonly T[]) => U, initialValue: U): U;\n\n readonly [n: number]: T;\n}\n\ninterface ConcatArray<T> {\n readonly length: number;\n readonly [n: number]: T;\n join(separator?: string): string;\n slice(start?: number, end?: number): T[];\n}\n\ninterface Array<T> {\n /**\n * Gets or sets the length of the array. This is a number one higher than the highest index in the array.\n */\n length: number;\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n /**\n * Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.\n */\n toLocaleString(): string;\n /**\n * Removes the last element from an array and returns it.\n * If the array is empty, undefined is returned and the array is not modified.\n */\n pop(): T | undefined;\n /**\n * Appends new elements to the end of an array, and returns the new length of the array.\n * @param items New elements to add to the array.\n */\n push(...items: T[]): number;\n /**\n * Combines two or more arrays.\n * This method returns a new array without modifying any existing arrays.\n * @param items Additional arrays and/or items to add to the end of the array.\n */\n concat(...items: ConcatArray<T>[]): T[];\n /**\n * Combines two or more arrays.\n * This method returns a new array without modifying any existing arrays.\n * @param items Additional arrays and/or items to add to the end of the array.\n */\n concat(...items: (T | ConcatArray<T>)[]): T[];\n /**\n * Adds all the elements of an array into a string, separated by the specified separator string.\n * @param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n /**\n * Reverses the elements in an array in place.\n * This method mutates the array and returns a reference to the same array.\n */\n reverse(): T[];\n /**\n * Removes the first element from an array and returns it.\n * If the array is empty, undefined is returned and the array is not modified.\n */\n shift(): T | undefined;\n /**\n * Returns a copy of a section of an array.\n * For both start and end, a negative index can be used to indicate an offset from the end of the array.\n * For example, -2 refers to the second to last element of the array.\n * @param start The beginning index of the specified portion of the array.\n * If start is undefined, then the slice begins at index 0.\n * @param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.\n * If end is undefined, then the slice extends to the end of the array.\n */\n slice(start?: number, end?: number): T[];\n /**\n * Sorts an array in place.\n * This method mutates the array and returns a reference to the same array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they're equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: T, b: T) => number): this;\n /**\n * Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.\n * @param start The zero-based location in the array from which to start removing elements.\n * @param deleteCount The number of elements to remove.\n * @returns An array containing the elements that were deleted.\n */\n splice(start: number, deleteCount?: number): T[];\n /**\n * Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.\n * @param start The zero-based location in the array from which to start removing elements.\n * @param deleteCount The number of elements to remove.\n * @param items Elements to insert into the array in place of the deleted elements.\n * @returns An array containing the elements that were deleted.\n */\n splice(start: number, deleteCount: number, ...items: T[]): T[];\n /**\n * Inserts new elements at the start of an array, and returns the new length of the array.\n * @param items Elements to insert at the start of the array.\n */\n unshift(...items: T[]): number;\n /**\n * Returns the index of the first occurrence of a value in an array, or -1 if it is not present.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.\n */\n indexOf(searchElement: T, fromIndex?: number): number;\n /**\n * Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.\n */\n lastIndexOf(searchElement: T, fromIndex?: number): number;\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every<S extends T>(predicate: (value: T, index: number, array: T[]) => value is S, thisArg?: any): this is S[];\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): boolean;\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): boolean;\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any): void;\n /**\n * Calls a defined callback function on each element of an array, and returns an array that contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n map<U>(callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any): U[];\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.\n */\n filter<S extends T>(predicate: (value: T, index: number, array: T[]) => value is S, thisArg?: any): S[];\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): T[];\n /**\n * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T): T;\n reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue: T): T;\n /**\n * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U;\n /**\n * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T): T;\n reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue: T): T;\n /**\n * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U;\n\n [n: number]: T;\n}\n\ninterface ArrayConstructor {\n new(arrayLength?: number): any[];\n new <T>(arrayLength: number): T[];\n new <T>(...items: T[]): T[];\n (arrayLength?: number): any[];\n <T>(arrayLength: number): T[];\n <T>(...items: T[]): T[];\n isArray(arg: any): arg is any[];\n readonly prototype: any[];\n}\n\ndeclare var Array: ArrayConstructor;\n\ninterface TypedPropertyDescriptor<T> {\n enumerable?: boolean;\n configurable?: boolean;\n writable?: boolean;\n value?: T;\n get?: () => T;\n set?: (value: T) => void;\n}\n\ndeclare type ClassDecorator = <TFunction extends Function>(target: TFunction) => TFunction | void;\ndeclare type PropertyDecorator = (target: Object, propertyKey: string | symbol) => void;\ndeclare type MethodDecorator = <T>(target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;\ndeclare type ParameterDecorator = (target: Object, propertyKey: string | symbol, parameterIndex: number) => void;\n\ndeclare type PromiseConstructorLike = new <T>(executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void) => PromiseLike<T>;\n\ninterface PromiseLike<T> {\n /**\n * Attaches callbacks for the resolution and/or rejection of the Promise.\n * @param onfulfilled The callback to execute when the Promise is resolved.\n * @param onrejected The callback to execute when the Promise is rejected.\n * @returns A Promise for the completion of which ever callback is executed.\n */\n then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): PromiseLike<TResult1 | TResult2>;\n}\n\n/**\n * Represents the completion of an asynchronous operation\n */\ninterface Promise<T> {\n /**\n * Attaches callbacks for the resolution and/or rejection of the Promise.\n * @param onfulfilled The callback to execute when the Promise is resolved.\n * @param onrejected The callback to execute when the Promise is rejected.\n * @returns A Promise for the completion of which ever callback is executed.\n */\n then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): Promise<TResult1 | TResult2>;\n\n /**\n * Attaches a callback for only the rejection of the Promise.\n * @param onrejected The callback to execute when the Promise is rejected.\n * @returns A Promise for the completion of the callback.\n */\n catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): Promise<T | TResult>;\n}\n\ninterface ArrayLike<T> {\n readonly length: number;\n readonly [n: number]: T;\n}\n\n/**\n * Make all properties in T optional\n */\ntype Partial<T> = {\n [P in keyof T]?: T[P];\n};\n\n/**\n * Make all properties in T required\n */\ntype Required<T> = {\n [P in keyof T]-?: T[P];\n};\n\n/**\n * Make all properties in T readonly\n */\ntype Readonly<T> = {\n readonly [P in keyof T]: T[P];\n};\n\n/**\n * From T, pick a set of properties whose keys are in the union K\n */\ntype Pick<T, K extends keyof T> = {\n [P in K]: T[P];\n};\n\n/**\n * Construct a type with a set of properties K of type T\n */\ntype Record<K extends keyof any, T> = {\n [P in K]: T;\n};\n\n/**\n * Exclude from T those types that are assignable to U\n */\ntype Exclude<T, U> = T extends U ? never : T;\n\n/**\n * Extract from T those types that are assignable to U\n */\ntype Extract<T, U> = T extends U ? T : never;\n\n/**\n * Construct a type with the properties of T except for those in type K.\n */\ntype Omit<T, K extends keyof any> = Pick<T, Exclude<keyof T, K>>;\n\n/**\n * Exclude null and undefined from T\n */\ntype NonNullable<T> = T extends null | undefined ? never : T;\n\n/**\n * Obtain the parameters of a function type in a tuple\n */\ntype Parameters<T extends (...args: any) => any> = T extends (...args: infer P) => any ? P : never;\n\n/**\n * Obtain the parameters of a constructor function type in a tuple\n */\ntype ConstructorParameters<T extends abstract new (...args: any) => any> = T extends abstract new (...args: infer P) => any ? P : never;\n\n/**\n * Obtain the return type of a function type\n */\ntype ReturnType<T extends (...args: any) => any> = T extends (...args: any) => infer R ? R : any;\n\n/**\n * Obtain the return type of a constructor function type\n */\ntype InstanceType<T extends abstract new (...args: any) => any> = T extends abstract new (...args: any) => infer R ? R : any;\n\n/**\n * Convert string literal type to uppercase\n */\ntype Uppercase<S extends string> = intrinsic;\n\n/**\n * Convert string literal type to lowercase\n */\ntype Lowercase<S extends string> = intrinsic;\n\n/**\n * Convert first character of string literal type to uppercase\n */\ntype Capitalize<S extends string> = intrinsic;\n\n/**\n * Convert first character of string literal type to lowercase\n */\ntype Uncapitalize<S extends string> = intrinsic;\n\n/**\n * Marker for contextual 'this' type\n */\ninterface ThisType<T> { }\n\n/**\n * Represents a raw buffer of binary data, which is used to store data for the\n * different typed arrays. ArrayBuffers cannot be read from or written to directly,\n * but can be passed to a typed array or DataView Object to interpret the raw\n * buffer as needed.\n */\ninterface ArrayBuffer {\n /**\n * Read-only. The length of the ArrayBuffer (in bytes).\n */\n readonly byteLength: number;\n\n /**\n * Returns a section of an ArrayBuffer.\n */\n slice(begin: number, end?: number): ArrayBuffer;\n}\n\n/**\n * Allowed ArrayBuffer types for the buffer of an ArrayBufferView and related Typed Arrays.\n */\ninterface ArrayBufferTypes {\n ArrayBuffer: ArrayBuffer;\n}\ntype ArrayBufferLike = ArrayBufferTypes[keyof ArrayBufferTypes];\n\ninterface ArrayBufferConstructor {\n readonly prototype: ArrayBuffer;\n new(byteLength: number): ArrayBuffer;\n isView(arg: any): arg is ArrayBufferView;\n}\ndeclare var ArrayBuffer: ArrayBufferConstructor;\n\ninterface ArrayBufferView {\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n byteOffset: number;\n}\n\ninterface DataView {\n readonly buffer: ArrayBuffer;\n readonly byteLength: number;\n readonly byteOffset: number;\n /**\n * Gets the Float32 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getFloat32(byteOffset: number, littleEndian?: boolean): number;\n\n /**\n * Gets the Float64 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getFloat64(byteOffset: number, littleEndian?: boolean): number;\n\n /**\n * Gets the Int8 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getInt8(byteOffset: number): number;\n\n /**\n * Gets the Int16 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getInt16(byteOffset: number, littleEndian?: boolean): number;\n /**\n * Gets the Int32 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getInt32(byteOffset: number, littleEndian?: boolean): number;\n\n /**\n * Gets the Uint8 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getUint8(byteOffset: number): number;\n\n /**\n * Gets the Uint16 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getUint16(byteOffset: number, littleEndian?: boolean): number;\n\n /**\n * Gets the Uint32 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getUint32(byteOffset: number, littleEndian?: boolean): number;\n\n /**\n * Stores an Float32 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setFloat32(byteOffset: number, value: number, littleEndian?: boolean): void;\n\n /**\n * Stores an Float64 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setFloat64(byteOffset: number, value: number, littleEndian?: boolean): void;\n\n /**\n * Stores an Int8 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n */\n setInt8(byteOffset: number, value: number): void;\n\n /**\n * Stores an Int16 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setInt16(byteOffset: number, value: number, littleEndian?: boolean): void;\n\n /**\n * Stores an Int32 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setInt32(byteOffset: number, value: number, littleEndian?: boolean): void;\n\n /**\n * Stores an Uint8 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n */\n setUint8(byteOffset: number, value: number): void;\n\n /**\n * Stores an Uint16 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setUint16(byteOffset: number, value: number, littleEndian?: boolean): void;\n\n /**\n * Stores an Uint32 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setUint32(byteOffset: number, value: number, littleEndian?: boolean): void;\n}\n\ninterface DataViewConstructor {\n readonly prototype: DataView;\n new(buffer: ArrayBufferLike, byteOffset?: number, byteLength?: number): DataView;\n}\ndeclare var DataView: DataViewConstructor;\n\n/**\n * A typed array of 8-bit integer values. The contents are initialized to 0. If the requested\n * number of bytes could not be allocated an exception is raised.\n */\ninterface Int8Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: number, index: number, array: Int8Array) => any, thisArg?: any): Int8Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Int8Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Int8Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Int8Array) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Int8Array) => number, thisArg?: any): Int8Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int8Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int8Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int8Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int8Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int8Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int8Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Int8Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<number>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): Int8Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they're equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Int8Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Int8Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Int8Array;\n\n [index: number]: number;\n}\ninterface Int8ArrayConstructor {\n readonly prototype: Int8Array;\n new(length: number): Int8Array;\n new(array: ArrayLike<number> | ArrayBufferLike): Int8Array;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Int8Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Int8Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Int8Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array;\n\n\n}\ndeclare var Int8Array: Int8ArrayConstructor;\n\n/**\n * A typed array of 8-bit unsigned integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated an exception is raised.\n */\ninterface Uint8Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: number, index: number, array: Uint8Array) => any, thisArg?: any): Uint8Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Uint8Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Uint8Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Uint8Array) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Uint8Array) => number, thisArg?: any): Uint8Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Uint8Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<number>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): Uint8Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they're equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Uint8Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Uint8Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Uint8Array;\n\n [index: number]: number;\n}\n\ninterface Uint8ArrayConstructor {\n readonly prototype: Uint8Array;\n new(length: number): Uint8Array;\n new(array: ArrayLike<number> | ArrayBufferLike): Uint8Array;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Uint8Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Uint8Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array;\n\n}\ndeclare var Uint8Array: Uint8ArrayConstructor;\n\n/**\n * A typed array of 8-bit unsigned integer (clamped) values. The contents are initialized to 0.\n * If the requested number of bytes could not be allocated an exception is raised.\n */\ninterface Uint8ClampedArray {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: number, index: number, array: Uint8ClampedArray) => unknown, thisArg?: any): boolean;\n\n /**\n * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: number, index: number, array: Uint8ClampedArray) => any, thisArg?: any): Uint8ClampedArray;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Uint8ClampedArray) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Uint8ClampedArray) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Uint8ClampedArray) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Uint8ClampedArray) => number, thisArg?: any): Uint8ClampedArray;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Uint8ClampedArray;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<number>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): Uint8ClampedArray;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: number, index: number, array: Uint8ClampedArray) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they're equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Uint8ClampedArray view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Uint8ClampedArray;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Uint8ClampedArray;\n\n [index: number]: number;\n}\n\ninterface Uint8ClampedArrayConstructor {\n readonly prototype: Uint8ClampedArray;\n new(length: number): Uint8ClampedArray;\n new(array: ArrayLike<number> | ArrayBufferLike): Uint8ClampedArray;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8ClampedArray;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Uint8ClampedArray;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Uint8ClampedArray;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray;\n}\ndeclare var Uint8ClampedArray: Uint8ClampedArrayConstructor;\n\n/**\n * A typed array of 16-bit signed integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated an exception is raised.\n */\ninterface Int16Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: number, index: number, array: Int16Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: number, index: number, array: Int16Array) => any, thisArg?: any): Int16Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Int16Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Int16Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Int16Array) => void, thisArg?: any): void;\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Int16Array) => number, thisArg?: any): Int16Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int16Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int16Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Int16Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<number>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): Int16Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: number, index: number, array: Int16Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they're equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Int16Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Int16Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Int16Array;\n\n [index: number]: number;\n}\n\ninterface Int16ArrayConstructor {\n readonly prototype: Int16Array;\n new(length: number): Int16Array;\n new(array: ArrayLike<number> | ArrayBufferLike): Int16Array;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Int16Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Int16Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Int16Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array;\n\n\n}\ndeclare var Int16Array: Int16ArrayConstructor;\n\n/**\n * A typed array of 16-bit unsigned integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated an exception is raised.\n */\ninterface Uint16Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: number, index: number, array: Uint16Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: number, index: number, array: Uint16Array) => any, thisArg?: any): Uint16Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Uint16Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Uint16Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Uint16Array) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Uint16Array) => number, thisArg?: any): Uint16Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint16Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint16Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint16Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint16Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint16Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint16Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Uint16Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<number>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): Uint16Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: number, index: number, array: Uint16Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they're equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Uint16Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Uint16Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Uint16Array;\n\n [index: number]: number;\n}\n\ninterface Uint16ArrayConstructor {\n readonly prototype: Uint16Array;\n new(length: number): Uint16Array;\n new(array: ArrayLike<number> | ArrayBufferLike): Uint16Array;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint16Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Uint16Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Uint16Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array;\n\n\n}\ndeclare var Uint16Array: Uint16ArrayConstructor;\n/**\n * A typed array of 32-bit signed integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated an exception is raised.\n */\ninterface Int32Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: number, index: number, array: Int32Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: number, index: number, array: Int32Array) => any, thisArg?: any): Int32Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Int32Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Int32Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Int32Array) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Int32Array) => number, thisArg?: any): Int32Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int32Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int32Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int32Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int32Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int32Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int32Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Int32Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<number>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): Int32Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: number, index: number, array: Int32Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they're equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Int32Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Int32Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Int32Array;\n\n [index: number]: number;\n}\n\ninterface Int32ArrayConstructor {\n readonly prototype: Int32Array;\n new(length: number): Int32Array;\n new(array: ArrayLike<number> | ArrayBufferLike): Int32Array;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Int32Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Int32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Int32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array;\n\n}\ndeclare var Int32Array: Int32ArrayConstructor;\n\n/**\n * A typed array of 32-bit unsigned integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated an exception is raised.\n */\ninterface Uint32Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: number, index: number, array: Uint32Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: number, index: number, array: Uint32Array) => any, thisArg?: any): Uint32Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Uint32Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Uint32Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Uint32Array) => void, thisArg?: any): void;\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Uint32Array) => number, thisArg?: any): Uint32Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint32Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint32Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint32Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint32Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint32Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint32Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Uint32Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<number>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): Uint32Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: number, index: number, array: Uint32Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they're equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Uint32Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Uint32Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Uint32Array;\n\n [index: number]: number;\n}\n\ninterface Uint32ArrayConstructor {\n readonly prototype: Uint32Array;\n new(length: number): Uint32Array;\n new(array: ArrayLike<number> | ArrayBufferLike): Uint32Array;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint32Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Uint32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Uint32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array;\n\n}\ndeclare var Uint32Array: Uint32ArrayConstructor;\n\n/**\n * A typed array of 32-bit float values. The contents are initialized to 0. If the requested number\n * of bytes could not be allocated an exception is raised.\n */\ninterface Float32Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: number, index: number, array: Float32Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: number, index: number, array: Float32Array) => any, thisArg?: any): Float32Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Float32Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Float32Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Float32Array) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Float32Array) => number, thisArg?: any): Float32Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float32Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float32Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float32Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float32Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float32Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float32Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Float32Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<number>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): Float32Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: number, index: number, array: Float32Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they're equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Float32Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Float32Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Float32Array;\n\n [index: number]: number;\n}\n\ninterface Float32ArrayConstructor {\n readonly prototype: Float32Array;\n new(length: number): Float32Array;\n new(array: ArrayLike<number> | ArrayBufferLike): Float32Array;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Float32Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Float32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Float32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array;\n\n\n}\ndeclare var Float32Array: Float32ArrayConstructor;\n\n/**\n * A typed array of 64-bit float values. The contents are initialized to 0. If the requested\n * number of bytes could not be allocated an exception is raised.\n */\ninterface Float64Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: number, index: number, array: Float64Array) => any, thisArg?: any): Float64Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Float64Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Float64Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Float64Array) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Float64Array) => number, thisArg?: any): Float64Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float64Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float64Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Float64Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<number>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): Float64Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they're equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Float64Array;\n\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Float64Array;\n\n [index: number]: number;\n}\n\ninterface Float64ArrayConstructor {\n readonly prototype: Float64Array;\n new(length: number): Float64Array;\n new(array: ArrayLike<number> | ArrayBufferLike): Float64Array;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Float64Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Float64Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Float64Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array;\n\n}\ndeclare var Float64Array: Float64ArrayConstructor;\n\n/////////////////////////////\n/// ECMAScript Internationalization API\n/////////////////////////////\n\ndeclare namespace Intl {\n interface CollatorOptions {\n usage?: string;\n localeMatcher?: string;\n numeric?: boolean;\n caseFirst?: string;\n sensitivity?: string;\n ignorePunctuation?: boolean;\n }\n\n interface ResolvedCollatorOptions {\n locale: string;\n usage: string;\n sensitivity: string;\n ignorePunctuation: boolean;\n collation: string;\n caseFirst: string;\n numeric: boolean;\n }\n\n interface Collator {\n compare(x: string, y: string): number;\n resolvedOptions(): ResolvedCollatorOptions;\n }\n var Collator: {\n new(locales?: string | string[], options?: CollatorOptions): Collator;\n (locales?: string | string[], options?: CollatorOptions): Collator;\n supportedLocalesOf(locales: string | string[], options?: CollatorOptions): string[];\n };\n\n interface NumberFormatOptions {\n localeMatcher?: string;\n style?: string;\n currency?: string;\n currencyDisplay?: string;\n currencySign?: string;\n useGrouping?: boolean;\n minimumIntegerDigits?: number;\n minimumFractionDigits?: number;\n maximumFractionDigits?: number;\n minimumSignificantDigits?: number;\n maximumSignificantDigits?: number;\n }\n\n interface ResolvedNumberFormatOptions {\n locale: string;\n numberingSystem: string;\n style: string;\n currency?: string;\n currencyDisplay?: string;\n minimumIntegerDigits: number;\n minimumFractionDigits: number;\n maximumFractionDigits: number;\n minimumSignificantDigits?: number;\n maximumSignificantDigits?: number;\n useGrouping: boolean;\n }\n\n interface NumberFormat {\n format(value: number): string;\n resolvedOptions(): ResolvedNumberFormatOptions;\n }\n var NumberFormat: {\n new(locales?: string | string[], options?: NumberFormatOptions): NumberFormat;\n (locales?: string | string[], options?: NumberFormatOptions): NumberFormat;\n supportedLocalesOf(locales: string | string[], options?: NumberFormatOptions): string[];\n };\n\n interface DateTimeFormatOptions {\n localeMatcher?: \"best fit\" | \"lookup\";\n weekday?: \"long\" | \"short\" | \"narrow\";\n era?: \"long\" | \"short\" | \"narrow\";\n year?: \"numeric\" | \"2-digit\";\n month?: \"numeric\" | \"2-digit\" | \"long\" | \"short\" | \"narrow\";\n day?: \"numeric\" | \"2-digit\";\n hour?: \"numeric\" | \"2-digit\";\n minute?: \"numeric\" | \"2-digit\";\n second?: \"numeric\" | \"2-digit\";\n timeZoneName?: \"long\" | \"short\";\n formatMatcher?: \"best fit\" | \"basic\";\n hour12?: boolean;\n timeZone?: string;\n }\n\n interface ResolvedDateTimeFormatOptions {\n locale: string;\n calendar: string;\n numberingSystem: string;\n timeZone: string;\n hour12?: boolean;\n weekday?: string;\n era?: string;\n year?: string;\n month?: string;\n day?: string;\n hour?: string;\n minute?: string;\n second?: string;\n timeZoneName?: string;\n }\n\n interface DateTimeFormat {\n format(date?: Date | number): string;\n resolvedOptions(): ResolvedDateTimeFormatOptions;\n }\n var DateTimeFormat: {\n new(locales?: string | string[], options?: DateTimeFormatOptions): DateTimeFormat;\n (locales?: string | string[], options?: DateTimeFormatOptions): DateTimeFormat;\n supportedLocalesOf(locales: string | string[], options?: DateTimeFormatOptions): string[];\n };\n}\n\ninterface String {\n /**\n * Determines whether two strings are equivalent in the current or specified locale.\n * @param that String to compare to target string\n * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used. This parameter must conform to BCP 47 standards; see the Intl.Collator object for details.\n * @param options An object that contains one or more properties that specify comparison options. see the Intl.Collator object for details.\n */\n localeCompare(that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;\n}\n\ninterface Number {\n /**\n * Converts a number to a string by using the current or specified locale.\n * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.\n * @param options An object that contains one or more properties that specify comparison options.\n */\n toLocaleString(locales?: string | string[], options?: Intl.NumberFormatOptions): string;\n}\n\ninterface Date {\n /**\n * Converts a date and time to a string by using the current or specified locale.\n * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.\n * @param options An object that contains one or more properties that specify comparison options.\n */\n toLocaleString(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;\n /**\n * Converts a date to a string by using the current or specified locale.\n * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.\n * @param options An object that contains one or more properties that specify comparison options.\n */\n toLocaleDateString(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;\n\n /**\n * Converts a time to a string by using the current or specified locale.\n * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.\n * @param options An object that contains one or more properties that specify comparison options.\n */\n toLocaleTimeString(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;\n}\n","lib.es6.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2015" />\n/// <reference lib="dom" />\n/// <reference lib="dom.iterable" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n',"lib.esnext.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2021" />\n/// <reference lib="esnext.intl" />\n',"lib.esnext.full.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="esnext" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n/// <reference lib="dom.iterable" />',"lib.esnext.intl.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ndeclare namespace Intl {\n type NumberFormatPartTypes = "compact" | "currency" | "decimal" | "exponentInteger" | "exponentMinusSign" | "exponentSeparator" | "fraction" | "group" | "infinity" | "integer" | "literal" | "minusSign" | "nan" | "plusSign" | "percentSign" | "unit" | "unknown";\n\n interface NumberFormatPart {\n type: NumberFormatPartTypes;\n value: string;\n }\n\n interface NumberFormat {\n formatToParts(number?: number | bigint): NumberFormatPart[];\n }\n}\n',"lib.esnext.promise.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface AggregateError extends Error {\n errors: any[]\n}\n\ninterface AggregateErrorConstructor {\n new(errors: Iterable<any>, message?: string): AggregateError;\n (errors: Iterable<any>, message?: string): AggregateError;\n readonly prototype: AggregateError;\n}\n\ndeclare var AggregateError: AggregateErrorConstructor;\n\n/**\n * Represents the completion of an asynchronous operation\n */\ninterface PromiseConstructor {\n /**\n * The any function returns a promise that is fulfilled by the first given promise to be fulfilled, or rejected with an AggregateError containing an array of rejection reasons if all of the given promises are rejected. It resolves all elements of the passed iterable to promises as it runs this algorithm.\n * @param values An array or iterable of Promises.\n * @returns A new Promise.\n */\n any<T>(values: (T | PromiseLike<T>)[] | Iterable<T | PromiseLike<T>>): Promise<T>\n}\n',"lib.esnext.string.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface String {\n /**\n * Replace all instances of a substring in a string, using a regular expression or search string.\n * @param searchValue A string to search for.\n * @param replaceValue A string containing the text to replace for every successful match of searchValue in this string.\n */\n replaceAll(searchValue: string | RegExp, replaceValue: string): string;\n\n /**\n * Replace all instances of a substring in a string, using a regular expression or search string.\n * @param searchValue A string to search for.\n * @param replacer A function that returns the replacement text.\n */\n replaceAll(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;\n}\n',"lib.esnext.weakref.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface WeakRef<T extends object> {\n readonly [Symbol.toStringTag]: "WeakRef";\n\n /**\n * Returns the WeakRef instance\'s target object, or undefined if the target object has been\n * reclaimed.\n */\n deref(): T | undefined;\n}\n\ninterface WeakRefConstructor {\n readonly prototype: WeakRef<any>;\n\n /**\n * Creates a WeakRef instance for the given target object.\n * @param target The target object for the WeakRef instance.\n */\n new<T extends object>(target?: T): WeakRef<T>;\n}\n\ndeclare var WeakRef: WeakRefConstructor;\n\ninterface FinalizationRegistry {\n readonly [Symbol.toStringTag]: "FinalizationRegistry";\n\n /**\n * Registers an object with the registry.\n * @param target The target object to register.\n * @param heldValue The value to pass to the finalizer for this object. This cannot be the\n * target object.\n * @param unregisterToken The token to pass to the unregister method to unregister the target\n * object. If provided (and not undefined), this must be an object. If not provided, the target\n * cannot be unregistered.\n */\n register(target: object, heldValue: any, unregisterToken?: object): void;\n\n /**\n * Unregisters an object from the registry.\n * @param unregisterToken The token that was used as the unregisterToken argument when calling\n * register to register the target object.\n */\n unregister(unregisterToken: object): void;\n}\n\ninterface FinalizationRegistryConstructor {\n readonly prototype: FinalizationRegistry;\n\n /**\n * Creates a finalization registry with an associated cleanup callback\n * @param cleanupCallback The callback to call after an object in the registry has been reclaimed.\n */\n new(cleanupCallback: (heldValue: any) => void): FinalizationRegistry;\n}\n\ndeclare var FinalizationRegistry: FinalizationRegistryConstructor;\n',"lib.scripthost.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n\n\n/////////////////////////////\n/// Windows Script Host APIS\n/////////////////////////////\n\n\ninterface ActiveXObject {\n new (s: string): any;\n}\ndeclare var ActiveXObject: ActiveXObject;\n\ninterface ITextWriter {\n Write(s: string): void;\n WriteLine(s: string): void;\n Close(): void;\n}\n\ninterface TextStreamBase {\n /**\n * The column number of the current character position in an input stream.\n */\n Column: number;\n\n /**\n * The current line number in an input stream.\n */\n Line: number;\n\n /**\n * Closes a text stream.\n * It is not necessary to close standard streams; they close automatically when the process ends. If\n * you close a standard stream, be aware that any other pointers to that standard stream become invalid.\n */\n Close(): void;\n}\n\ninterface TextStreamWriter extends TextStreamBase {\n /**\n * Sends a string to an output stream.\n */\n Write(s: string): void;\n\n /**\n * Sends a specified number of blank lines (newline characters) to an output stream.\n */\n WriteBlankLines(intLines: number): void;\n\n /**\n * Sends a string followed by a newline character to an output stream.\n */\n WriteLine(s: string): void;\n}\n\ninterface TextStreamReader extends TextStreamBase {\n /**\n * Returns a specified number of characters from an input stream, starting at the current pointer position.\n * Does not return until the ENTER key is pressed.\n * Can only be used on a stream in reading mode; causes an error in writing or appending mode.\n */\n Read(characters: number): string;\n\n /**\n * Returns all characters from an input stream.\n * Can only be used on a stream in reading mode; causes an error in writing or appending mode.\n */\n ReadAll(): string;\n\n /**\n * Returns an entire line from an input stream.\n * Although this method extracts the newline character, it does not add it to the returned string.\n * Can only be used on a stream in reading mode; causes an error in writing or appending mode.\n */\n ReadLine(): string;\n\n /**\n * Skips a specified number of characters when reading from an input text stream.\n * Can only be used on a stream in reading mode; causes an error in writing or appending mode.\n * @param characters Positive number of characters to skip forward. (Backward skipping is not supported.)\n */\n Skip(characters: number): void;\n\n /**\n * Skips the next line when reading from an input text stream.\n * Can only be used on a stream in reading mode, not writing or appending mode.\n */\n SkipLine(): void;\n\n /**\n * Indicates whether the stream pointer position is at the end of a line.\n */\n AtEndOfLine: boolean;\n\n /**\n * Indicates whether the stream pointer position is at the end of a stream.\n */\n AtEndOfStream: boolean;\n}\n\ndeclare var WScript: {\n /**\n * Outputs text to either a message box (under WScript.exe) or the command console window followed by\n * a newline (under CScript.exe).\n */\n Echo(s: any): void;\n\n /**\n * Exposes the write-only error output stream for the current script.\n * Can be accessed only while using CScript.exe.\n */\n StdErr: TextStreamWriter;\n\n /**\n * Exposes the write-only output stream for the current script.\n * Can be accessed only while using CScript.exe.\n */\n StdOut: TextStreamWriter;\n Arguments: { length: number; Item(n: number): string; };\n\n /**\n * The full path of the currently running script.\n */\n ScriptFullName: string;\n\n /**\n * Forces the script to stop immediately, with an optional exit code.\n */\n Quit(exitCode?: number): number;\n\n /**\n * The Windows Script Host build version number.\n */\n BuildVersion: number;\n\n /**\n * Fully qualified path of the host executable.\n */\n FullName: string;\n\n /**\n * Gets/sets the script mode - interactive(true) or batch(false).\n */\n Interactive: boolean;\n\n /**\n * The name of the host executable (WScript.exe or CScript.exe).\n */\n Name: string;\n\n /**\n * Path of the directory containing the host executable.\n */\n Path: string;\n\n /**\n * The filename of the currently running script.\n */\n ScriptName: string;\n\n /**\n * Exposes the read-only input stream for the current script.\n * Can be accessed only while using CScript.exe.\n */\n StdIn: TextStreamReader;\n\n /**\n * Windows Script Host version\n */\n Version: string;\n\n /**\n * Connects a COM object\'s event sources to functions named with a given prefix, in the form prefix_event.\n */\n ConnectObject(objEventSource: any, strPrefix: string): void;\n\n /**\n * Creates a COM object.\n * @param strProgiID\n * @param strPrefix Function names in the form prefix_event will be bound to this object\'s COM events.\n */\n CreateObject(strProgID: string, strPrefix?: string): any;\n\n /**\n * Disconnects a COM object from its event sources.\n */\n DisconnectObject(obj: any): void;\n\n /**\n * Retrieves an existing object with the specified ProgID from memory, or creates a new one from a file.\n * @param strPathname Fully qualified path to the file containing the object persisted to disk.\n * For objects in memory, pass a zero-length string.\n * @param strProgID\n * @param strPrefix Function names in the form prefix_event will be bound to this object\'s COM events.\n */\n GetObject(strPathname: string, strProgID?: string, strPrefix?: string): any;\n\n /**\n * Suspends script execution for a specified length of time, then continues execution.\n * @param intTime Interval (in milliseconds) to suspend script execution.\n */\n Sleep(intTime: number): void;\n};\n\n/**\n * WSH is an alias for WScript under Windows Script Host\n */\ndeclare var WSH: typeof WScript;\n\n/**\n * Represents an Automation SAFEARRAY\n */\ndeclare class SafeArray<T = any> {\n private constructor();\n private SafeArray_typekey: SafeArray<T>;\n}\n\n/**\n * Allows enumerating over a COM collection, which may not have indexed item access.\n */\ninterface Enumerator<T = any> {\n /**\n * Returns true if the current item is the last one in the collection, or the collection is empty,\n * or the current item is undefined.\n */\n atEnd(): boolean;\n\n /**\n * Returns the current item in the collection\n */\n item(): T;\n\n /**\n * Resets the current item in the collection to the first item. If there are no items in the collection,\n * the current item is set to undefined.\n */\n moveFirst(): void;\n\n /**\n * Moves the current item to the next item in the collection. If the enumerator is at the end of\n * the collection or the collection is empty, the current item is set to undefined.\n */\n moveNext(): void;\n}\n\ninterface EnumeratorConstructor {\n new <T = any>(safearray: SafeArray<T>): Enumerator<T>;\n new <T = any>(collection: { Item(index: any): T }): Enumerator<T>;\n new <T = any>(collection: any): Enumerator<T>;\n}\n\ndeclare var Enumerator: EnumeratorConstructor;\n\n/**\n * Enables reading from a COM safe array, which might have an alternate lower bound, or multiple dimensions.\n */\ninterface VBArray<T = any> {\n /**\n * Returns the number of dimensions (1-based).\n */\n dimensions(): number;\n\n /**\n * Takes an index for each dimension in the array, and returns the item at the corresponding location.\n */\n getItem(dimension1Index: number, ...dimensionNIndexes: number[]): T;\n\n /**\n * Returns the smallest available index for a given dimension.\n * @param dimension 1-based dimension (defaults to 1)\n */\n lbound(dimension?: number): number;\n\n /**\n * Returns the largest available index for a given dimension.\n * @param dimension 1-based dimension (defaults to 1)\n */\n ubound(dimension?: number): number;\n\n /**\n * Returns a Javascript array with all the elements in the VBArray. If there are multiple dimensions,\n * each successive dimension is appended to the end of the array.\n * Example: [[1,2,3],[4,5,6]] becomes [1,2,3,4,5,6]\n */\n toArray(): T[];\n}\n\ninterface VBArrayConstructor {\n new <T = any>(safeArray: SafeArray<T>): VBArray<T>;\n}\n\ndeclare var VBArray: VBArrayConstructor;\n\n/**\n * Automation date (VT_DATE)\n */\ndeclare class VarDate {\n private constructor();\n private VarDate_typekey: VarDate;\n}\n\ninterface DateConstructor {\n new (vd: VarDate): Date;\n}\n\ninterface Date {\n getVarDate: () => VarDate;\n}\n',"lib.webworker.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/////////////////////////////\n/// Worker APIs\n/////////////////////////////\n\ninterface AddEventListenerOptions extends EventListenerOptions {\n once?: boolean;\n passive?: boolean;\n signal?: AbortSignal;\n}\n\ninterface AesCbcParams extends Algorithm {\n iv: BufferSource;\n}\n\ninterface AesCtrParams extends Algorithm {\n counter: BufferSource;\n length: number;\n}\n\ninterface AesDerivedKeyParams extends Algorithm {\n length: number;\n}\n\ninterface AesGcmParams extends Algorithm {\n additionalData?: BufferSource;\n iv: BufferSource;\n tagLength?: number;\n}\n\ninterface AesKeyAlgorithm extends KeyAlgorithm {\n length: number;\n}\n\ninterface AesKeyGenParams extends Algorithm {\n length: number;\n}\n\ninterface Algorithm {\n name: string;\n}\n\ninterface AudioConfiguration {\n bitrate?: number;\n channels?: string;\n contentType: string;\n samplerate?: number;\n spatialRendering?: boolean;\n}\n\ninterface BlobPropertyBag {\n endings?: EndingType;\n type?: string;\n}\n\ninterface CacheQueryOptions {\n ignoreMethod?: boolean;\n ignoreSearch?: boolean;\n ignoreVary?: boolean;\n}\n\ninterface ClientQueryOptions {\n includeUncontrolled?: boolean;\n type?: ClientTypes;\n}\n\ninterface CloseEventInit extends EventInit {\n code?: number;\n reason?: string;\n wasClean?: boolean;\n}\n\ninterface CryptoKeyPair {\n privateKey?: CryptoKey;\n publicKey?: CryptoKey;\n}\n\ninterface CustomEventInit<T = any> extends EventInit {\n detail?: T;\n}\n\ninterface DOMMatrix2DInit {\n a?: number;\n b?: number;\n c?: number;\n d?: number;\n e?: number;\n f?: number;\n m11?: number;\n m12?: number;\n m21?: number;\n m22?: number;\n m41?: number;\n m42?: number;\n}\n\ninterface DOMMatrixInit extends DOMMatrix2DInit {\n is2D?: boolean;\n m13?: number;\n m14?: number;\n m23?: number;\n m24?: number;\n m31?: number;\n m32?: number;\n m33?: number;\n m34?: number;\n m43?: number;\n m44?: number;\n}\n\ninterface DOMPointInit {\n w?: number;\n x?: number;\n y?: number;\n z?: number;\n}\n\ninterface DOMQuadInit {\n p1?: DOMPointInit;\n p2?: DOMPointInit;\n p3?: DOMPointInit;\n p4?: DOMPointInit;\n}\n\ninterface DOMRectInit {\n height?: number;\n width?: number;\n x?: number;\n y?: number;\n}\n\ninterface EcKeyGenParams extends Algorithm {\n namedCurve: NamedCurve;\n}\n\ninterface EcKeyImportParams extends Algorithm {\n namedCurve: NamedCurve;\n}\n\ninterface EcdhKeyDeriveParams extends Algorithm {\n public: CryptoKey;\n}\n\ninterface EcdsaParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n}\n\ninterface ErrorEventInit extends EventInit {\n colno?: number;\n error?: any;\n filename?: string;\n lineno?: number;\n message?: string;\n}\n\ninterface EventInit {\n bubbles?: boolean;\n cancelable?: boolean;\n composed?: boolean;\n}\n\ninterface EventListenerOptions {\n capture?: boolean;\n}\n\ninterface EventSourceInit {\n withCredentials?: boolean;\n}\n\ninterface ExtendableEventInit extends EventInit {\n}\n\ninterface ExtendableMessageEventInit extends ExtendableEventInit {\n data?: any;\n lastEventId?: string;\n origin?: string;\n ports?: MessagePort[];\n source?: Client | ServiceWorker | MessagePort | null;\n}\n\ninterface FetchEventInit extends ExtendableEventInit {\n clientId?: string;\n handled?: Promise<undefined>;\n preloadResponse?: Promise<any>;\n replacesClientId?: string;\n request: Request;\n resultingClientId?: string;\n}\n\ninterface FilePropertyBag extends BlobPropertyBag {\n lastModified?: number;\n}\n\ninterface FontFaceDescriptors {\n display?: string;\n featureSettings?: string;\n stretch?: string;\n style?: string;\n unicodeRange?: string;\n variant?: string;\n weight?: string;\n}\n\ninterface FontFaceSetLoadEventInit extends EventInit {\n fontfaces?: FontFace[];\n}\n\ninterface GetNotificationOptions {\n tag?: string;\n}\n\ninterface HkdfParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n info: BufferSource;\n salt: BufferSource;\n}\n\ninterface HmacImportParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n length?: number;\n}\n\ninterface HmacKeyGenParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n length?: number;\n}\n\ninterface IDBDatabaseInfo {\n name?: string;\n version?: number;\n}\n\ninterface IDBIndexParameters {\n multiEntry?: boolean;\n unique?: boolean;\n}\n\ninterface IDBObjectStoreParameters {\n autoIncrement?: boolean;\n keyPath?: string | string[] | null;\n}\n\ninterface IDBVersionChangeEventInit extends EventInit {\n newVersion?: number | null;\n oldVersion?: number;\n}\n\ninterface ImageBitmapOptions {\n colorSpaceConversion?: ColorSpaceConversion;\n imageOrientation?: ImageOrientation;\n premultiplyAlpha?: PremultiplyAlpha;\n resizeHeight?: number;\n resizeQuality?: ResizeQuality;\n resizeWidth?: number;\n}\n\ninterface ImageBitmapRenderingContextSettings {\n alpha?: boolean;\n}\n\ninterface ImageDataSettings {\n colorSpace?: PredefinedColorSpace;\n}\n\ninterface ImportMeta {\n url: string;\n}\n\ninterface JsonWebKey {\n alg?: string;\n crv?: string;\n d?: string;\n dp?: string;\n dq?: string;\n e?: string;\n ext?: boolean;\n k?: string;\n key_ops?: string[];\n kty?: string;\n n?: string;\n oth?: RsaOtherPrimesInfo[];\n p?: string;\n q?: string;\n qi?: string;\n use?: string;\n x?: string;\n y?: string;\n}\n\ninterface KeyAlgorithm {\n name: string;\n}\n\ninterface MediaCapabilitiesDecodingInfo extends MediaCapabilitiesInfo {\n configuration?: MediaDecodingConfiguration;\n}\n\ninterface MediaCapabilitiesEncodingInfo extends MediaCapabilitiesInfo {\n configuration?: MediaEncodingConfiguration;\n}\n\ninterface MediaCapabilitiesInfo {\n powerEfficient: boolean;\n smooth: boolean;\n supported: boolean;\n}\n\ninterface MediaConfiguration {\n audio?: AudioConfiguration;\n video?: VideoConfiguration;\n}\n\ninterface MediaDecodingConfiguration extends MediaConfiguration {\n type: MediaDecodingType;\n}\n\ninterface MediaEncodingConfiguration extends MediaConfiguration {\n type: MediaEncodingType;\n}\n\ninterface MessageEventInit<T = any> extends EventInit {\n data?: T;\n lastEventId?: string;\n origin?: string;\n ports?: MessagePort[];\n source?: MessageEventSource | null;\n}\n\ninterface MultiCacheQueryOptions extends CacheQueryOptions {\n cacheName?: string;\n}\n\ninterface NotificationAction {\n action: string;\n icon?: string;\n title: string;\n}\n\ninterface NotificationEventInit extends ExtendableEventInit {\n action?: string;\n notification: Notification;\n}\n\ninterface NotificationOptions {\n actions?: NotificationAction[];\n badge?: string;\n body?: string;\n data?: any;\n dir?: NotificationDirection;\n icon?: string;\n image?: string;\n lang?: string;\n renotify?: boolean;\n requireInteraction?: boolean;\n silent?: boolean;\n tag?: string;\n timestamp?: DOMTimeStamp;\n vibrate?: VibratePattern;\n}\n\ninterface Pbkdf2Params extends Algorithm {\n hash: HashAlgorithmIdentifier;\n iterations: number;\n salt: BufferSource;\n}\n\ninterface PerformanceMarkOptions {\n detail?: any;\n startTime?: DOMHighResTimeStamp;\n}\n\ninterface PerformanceMeasureOptions {\n detail?: any;\n duration?: DOMHighResTimeStamp;\n end?: string | DOMHighResTimeStamp;\n start?: string | DOMHighResTimeStamp;\n}\n\ninterface PerformanceObserverInit {\n buffered?: boolean;\n entryTypes?: string[];\n type?: string;\n}\n\ninterface PermissionDescriptor {\n name: PermissionName;\n}\n\ninterface PostMessageOptions {\n transfer?: any[];\n}\n\ninterface ProgressEventInit extends EventInit {\n lengthComputable?: boolean;\n loaded?: number;\n total?: number;\n}\n\ninterface PromiseRejectionEventInit extends EventInit {\n promise: Promise<any>;\n reason?: any;\n}\n\ninterface PushEventInit extends ExtendableEventInit {\n data?: PushMessageDataInit;\n}\n\ninterface PushSubscriptionJSON {\n endpoint?: string;\n expirationTime?: DOMTimeStamp | null;\n keys?: Record<string, string>;\n}\n\ninterface PushSubscriptionOptionsInit {\n applicationServerKey?: BufferSource | string | null;\n userVisibleOnly?: boolean;\n}\n\ninterface QueuingStrategy<T = any> {\n highWaterMark?: number;\n size?: QueuingStrategySize<T>;\n}\n\ninterface QueuingStrategyInit {\n /**\n * Creates a new ByteLengthQueuingStrategy with the provided high water mark.\n *\n * 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.\n */\n highWaterMark: number;\n}\n\ninterface ReadableStreamDefaultReadDoneResult {\n done: true;\n value?: undefined;\n}\n\ninterface ReadableStreamDefaultReadValueResult<T> {\n done: false;\n value: T;\n}\n\ninterface ReadableWritablePair<R = any, W = any> {\n readable: ReadableStream<R>;\n /**\n * 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.\n *\n * Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.\n */\n writable: WritableStream<W>;\n}\n\ninterface RegistrationOptions {\n scope?: string;\n type?: WorkerType;\n updateViaCache?: ServiceWorkerUpdateViaCache;\n}\n\ninterface RequestInit {\n /**\n * A BodyInit object or null to set request\'s body.\n */\n body?: BodyInit | null;\n /**\n * A string indicating how the request will interact with the browser\'s cache to set request\'s cache.\n */\n cache?: RequestCache;\n /**\n * 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.\n */\n credentials?: RequestCredentials;\n /**\n * A Headers object, an object literal, or an array of two-item arrays to set request\'s headers.\n */\n headers?: HeadersInit;\n /**\n * A cryptographic hash of the resource to be fetched by request. Sets request\'s integrity.\n */\n integrity?: string;\n /**\n * A boolean to set request\'s keepalive.\n */\n keepalive?: boolean;\n /**\n * A string to set request\'s method.\n */\n method?: string;\n /**\n * A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request\'s mode.\n */\n mode?: RequestMode;\n /**\n * 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.\n */\n redirect?: RequestRedirect;\n /**\n * A string whose value is a same-origin URL, "about:client", or the empty string, to set request\'s referrer.\n */\n referrer?: string;\n /**\n * A referrer policy to set request\'s referrerPolicy.\n */\n referrerPolicy?: ReferrerPolicy;\n /**\n * An AbortSignal to set request\'s signal.\n */\n signal?: AbortSignal | null;\n /**\n * Can only be null. Used to disassociate request from any Window.\n */\n window?: any;\n}\n\ninterface ResponseInit {\n headers?: HeadersInit;\n status?: number;\n statusText?: string;\n}\n\ninterface RsaHashedImportParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n}\n\ninterface RsaHashedKeyGenParams extends RsaKeyGenParams {\n hash: HashAlgorithmIdentifier;\n}\n\ninterface RsaKeyGenParams extends Algorithm {\n modulusLength: number;\n publicExponent: BigInteger;\n}\n\ninterface RsaOaepParams extends Algorithm {\n label?: BufferSource;\n}\n\ninterface RsaOtherPrimesInfo {\n d?: string;\n r?: string;\n t?: string;\n}\n\ninterface RsaPssParams extends Algorithm {\n saltLength: number;\n}\n\ninterface SecurityPolicyViolationEventInit extends EventInit {\n blockedURI?: string;\n columnNumber?: number;\n disposition: SecurityPolicyViolationEventDisposition;\n documentURI: string;\n effectiveDirective: string;\n lineNumber?: number;\n originalPolicy: string;\n referrer?: string;\n sample?: string;\n sourceFile?: string;\n statusCode: number;\n violatedDirective: string;\n}\n\ninterface StorageEstimate {\n quota?: number;\n usage?: number;\n}\n\ninterface StreamPipeOptions {\n preventAbort?: boolean;\n preventCancel?: boolean;\n /**\n * 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.\n *\n * Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.\n *\n * Errors and closures of the source and destination streams propagate as follows:\n *\n * 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.\n *\n * 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.\n *\n * 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.\n *\n * 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.\n *\n * 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.\n */\n preventClose?: boolean;\n signal?: AbortSignal;\n}\n\ninterface TextDecodeOptions {\n stream?: boolean;\n}\n\ninterface TextDecoderOptions {\n fatal?: boolean;\n ignoreBOM?: boolean;\n}\n\ninterface TextEncoderEncodeIntoResult {\n read?: number;\n written?: number;\n}\n\ninterface Transformer<I = any, O = any> {\n flush?: TransformerFlushCallback<O>;\n readableType?: undefined;\n start?: TransformerStartCallback<O>;\n transform?: TransformerTransformCallback<I, O>;\n writableType?: undefined;\n}\n\ninterface UnderlyingSink<W = any> {\n abort?: UnderlyingSinkAbortCallback;\n close?: UnderlyingSinkCloseCallback;\n start?: UnderlyingSinkStartCallback;\n type?: undefined;\n write?: UnderlyingSinkWriteCallback<W>;\n}\n\ninterface UnderlyingSource<R = any> {\n cancel?: UnderlyingSourceCancelCallback;\n pull?: UnderlyingSourcePullCallback<R>;\n start?: UnderlyingSourceStartCallback<R>;\n type?: undefined;\n}\n\ninterface VideoConfiguration {\n bitrate: number;\n colorGamut?: ColorGamut;\n contentType: string;\n framerate: number;\n hdrMetadataType?: HdrMetadataType;\n height: number;\n scalabilityMode?: string;\n transferFunction?: TransferFunction;\n width: number;\n}\n\ninterface WebGLContextAttributes {\n alpha?: boolean;\n antialias?: boolean;\n depth?: boolean;\n desynchronized?: boolean;\n failIfMajorPerformanceCaveat?: boolean;\n powerPreference?: WebGLPowerPreference;\n premultipliedAlpha?: boolean;\n preserveDrawingBuffer?: boolean;\n stencil?: boolean;\n}\n\ninterface WebGLContextEventInit extends EventInit {\n statusMessage?: string;\n}\n\ninterface WorkerOptions {\n credentials?: RequestCredentials;\n name?: string;\n type?: WorkerType;\n}\n\n/** 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. */\ninterface ANGLE_instanced_arrays {\n drawArraysInstancedANGLE(mode: GLenum, first: GLint, count: GLsizei, primcount: GLsizei): void;\n drawElementsInstancedANGLE(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, primcount: GLsizei): void;\n vertexAttribDivisorANGLE(index: GLuint, divisor: GLuint): void;\n readonly VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: GLenum;\n}\n\n/** A controller object that allows you to abort one or more DOM requests as and when desired. */\ninterface AbortController {\n /**\n * Returns the AbortSignal object associated with this object.\n */\n readonly signal: AbortSignal;\n /**\n * 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.\n */\n abort(): void;\n}\n\ndeclare var AbortController: {\n prototype: AbortController;\n new(): AbortController;\n};\n\ninterface AbortSignalEventMap {\n "abort": Event;\n}\n\n/** 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. */\ninterface AbortSignal extends EventTarget {\n /**\n * Returns true if this AbortSignal\'s AbortController has signaled to abort, and false otherwise.\n */\n readonly aborted: boolean;\n onabort: ((this: AbortSignal, ev: Event) => any) | null;\n addEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AbortSignal: {\n prototype: AbortSignal;\n new(): AbortSignal;\n};\n\ninterface AbstractWorkerEventMap {\n "error": ErrorEvent;\n}\n\ninterface AbstractWorker {\n onerror: ((this: AbstractWorker, ev: ErrorEvent) => any) | null;\n addEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ninterface AnimationFrameProvider {\n cancelAnimationFrame(handle: number): void;\n requestAnimationFrame(callback: FrameRequestCallback): number;\n}\n\n/** 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. */\ninterface Blob {\n readonly size: number;\n readonly type: string;\n arrayBuffer(): Promise<ArrayBuffer>;\n slice(start?: number, end?: number, contentType?: string): Blob;\n stream(): ReadableStream;\n text(): Promise<string>;\n}\n\ndeclare var Blob: {\n prototype: Blob;\n new(blobParts?: BlobPart[], options?: BlobPropertyBag): Blob;\n};\n\ninterface Body {\n readonly body: ReadableStream<Uint8Array> | null;\n readonly bodyUsed: boolean;\n arrayBuffer(): Promise<ArrayBuffer>;\n blob(): Promise<Blob>;\n formData(): Promise<FormData>;\n json(): Promise<any>;\n text(): Promise<string>;\n}\n\ninterface BroadcastChannelEventMap {\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\ninterface BroadcastChannel extends EventTarget {\n /**\n * Returns the channel name (as passed to the constructor).\n */\n readonly name: string;\n onmessage: ((this: BroadcastChannel, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: BroadcastChannel, ev: MessageEvent) => any) | null;\n /**\n * Closes the BroadcastChannel object, opening it up to garbage collection.\n */\n close(): void;\n /**\n * Sends the given message to other BroadcastChannel objects set up for this channel. Messages can be structured objects, e.g. nested objects and arrays.\n */\n postMessage(message: any): void;\n addEventListener<K extends keyof BroadcastChannelEventMap>(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof BroadcastChannelEventMap>(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var BroadcastChannel: {\n prototype: BroadcastChannel;\n new(name: string): BroadcastChannel;\n};\n\n/** This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams. */\ninterface ByteLengthQueuingStrategy extends QueuingStrategy<ArrayBufferView> {\n readonly highWaterMark: number;\n readonly size: QueuingStrategySize<ArrayBufferView>;\n}\n\ndeclare var ByteLengthQueuingStrategy: {\n prototype: ByteLengthQueuingStrategy;\n new(init: QueuingStrategyInit): ByteLengthQueuingStrategy;\n};\n\n/** 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. */\ninterface Cache {\n add(request: RequestInfo): Promise<void>;\n addAll(requests: RequestInfo[]): Promise<void>;\n delete(request: RequestInfo, options?: CacheQueryOptions): Promise<boolean>;\n keys(request?: RequestInfo, options?: CacheQueryOptions): Promise<ReadonlyArray<Request>>;\n match(request: RequestInfo, options?: CacheQueryOptions): Promise<Response | undefined>;\n matchAll(request?: RequestInfo, options?: CacheQueryOptions): Promise<ReadonlyArray<Response>>;\n put(request: RequestInfo, response: Response): Promise<void>;\n}\n\ndeclare var Cache: {\n prototype: Cache;\n new(): Cache;\n};\n\n/** The storage for Cache objects. */\ninterface CacheStorage {\n delete(cacheName: string): Promise<boolean>;\n has(cacheName: string): Promise<boolean>;\n keys(): Promise<string[]>;\n match(request: RequestInfo, options?: MultiCacheQueryOptions): Promise<Response | undefined>;\n open(cacheName: string): Promise<Cache>;\n}\n\ndeclare var CacheStorage: {\n prototype: CacheStorage;\n new(): CacheStorage;\n};\n\n/** An opaque object describing a gradient. It is returned by the methods CanvasRenderingContext2D.createLinearGradient() or CanvasRenderingContext2D.createRadialGradient(). */\ninterface CanvasGradient {\n /**\n * 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.\n *\n * Throws an "IndexSizeError" DOMException if the offset is out of range. Throws a "SyntaxError" DOMException if the color cannot be parsed.\n */\n addColorStop(offset: number, color: string): void;\n}\n\ndeclare var CanvasGradient: {\n prototype: CanvasGradient;\n new(): CanvasGradient;\n};\n\ninterface CanvasPath {\n arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void;\n arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): void;\n bezierCurveTo(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void;\n closePath(): void;\n ellipse(x: number, y: number, radiusX: number, radiusY: number, rotation: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void;\n lineTo(x: number, y: number): void;\n moveTo(x: number, y: number): void;\n quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void;\n rect(x: number, y: number, w: number, h: number): void;\n}\n\n/** An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method. */\ninterface CanvasPattern {\n /**\n * Sets the transformation matrix that will be used when rendering the pattern during a fill or stroke painting operation.\n */\n setTransform(transform?: DOMMatrix2DInit): void;\n}\n\ndeclare var CanvasPattern: {\n prototype: CanvasPattern;\n new(): CanvasPattern;\n};\n\n/** The Client interface represents an executable context such as a Worker, or a SharedWorker. Window clients are represented by the more-specific WindowClient. You can get Client/WindowClient objects from methods such as Clients.matchAll() and Clients.get(). */\ninterface Client {\n readonly frameType: FrameType;\n readonly id: string;\n readonly type: ClientTypes;\n readonly url: string;\n postMessage(message: any, transfer: Transferable[]): void;\n postMessage(message: any, options?: PostMessageOptions): void;\n}\n\ndeclare var Client: {\n prototype: Client;\n new(): Client;\n};\n\n/** Provides access to Client objects. Access it via self.clients within a service worker. */\ninterface Clients {\n claim(): Promise<void>;\n get(id: string): Promise<Client | undefined>;\n matchAll<T extends ClientQueryOptions>(options?: T): Promise<ReadonlyArray<T["type"] extends "window" ? WindowClient : Client>>;\n openWindow(url: string | URL): Promise<WindowClient | null>;\n}\n\ndeclare var Clients: {\n prototype: Clients;\n new(): Clients;\n};\n\n/** 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. */\ninterface CloseEvent extends Event {\n /**\n * Returns the WebSocket connection close code provided by the server.\n */\n readonly code: number;\n /**\n * Returns the WebSocket connection close reason provided by the server.\n */\n readonly reason: string;\n /**\n * Returns true if the connection closed cleanly; false otherwise.\n */\n readonly wasClean: boolean;\n}\n\ndeclare var CloseEvent: {\n prototype: CloseEvent;\n new(type: string, eventInitDict?: CloseEventInit): CloseEvent;\n};\n\n/** This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams. */\ninterface CountQueuingStrategy extends QueuingStrategy {\n readonly highWaterMark: number;\n readonly size: QueuingStrategySize;\n}\n\ndeclare var CountQueuingStrategy: {\n prototype: CountQueuingStrategy;\n new(init: QueuingStrategyInit): CountQueuingStrategy;\n};\n\n/** Basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives. */\ninterface Crypto {\n readonly subtle: SubtleCrypto;\n getRandomValues<T extends ArrayBufferView | null>(array: T): T;\n}\n\ndeclare var Crypto: {\n prototype: Crypto;\n new(): Crypto;\n};\n\n/** The CryptoKey dictionary of the Web Crypto API represents a cryptographic key. */\ninterface CryptoKey {\n readonly algorithm: KeyAlgorithm;\n readonly extractable: boolean;\n readonly type: KeyType;\n readonly usages: KeyUsage[];\n}\n\ndeclare var CryptoKey: {\n prototype: CryptoKey;\n new(): CryptoKey;\n};\n\ninterface CustomEvent<T = any> extends Event {\n /**\n * Returns any custom data event was created with. Typically used for synthetic events.\n */\n readonly detail: T;\n /** @deprecated */\n initCustomEvent(type: string, bubbles?: boolean, cancelable?: boolean, detail?: T): void;\n}\n\ndeclare var CustomEvent: {\n prototype: CustomEvent;\n new<T>(type: string, eventInitDict?: CustomEventInit<T>): CustomEvent<T>;\n};\n\n/** An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. */\ninterface DOMException {\n readonly code: number;\n readonly message: string;\n readonly name: string;\n readonly ABORT_ERR: number;\n readonly DATA_CLONE_ERR: number;\n readonly DOMSTRING_SIZE_ERR: number;\n readonly HIERARCHY_REQUEST_ERR: number;\n readonly INDEX_SIZE_ERR: number;\n readonly INUSE_ATTRIBUTE_ERR: number;\n readonly INVALID_ACCESS_ERR: number;\n readonly INVALID_CHARACTER_ERR: number;\n readonly INVALID_MODIFICATION_ERR: number;\n readonly INVALID_NODE_TYPE_ERR: number;\n readonly INVALID_STATE_ERR: number;\n readonly NAMESPACE_ERR: number;\n readonly NETWORK_ERR: number;\n readonly NOT_FOUND_ERR: number;\n readonly NOT_SUPPORTED_ERR: number;\n readonly NO_DATA_ALLOWED_ERR: number;\n readonly NO_MODIFICATION_ALLOWED_ERR: number;\n readonly QUOTA_EXCEEDED_ERR: number;\n readonly SECURITY_ERR: number;\n readonly SYNTAX_ERR: number;\n readonly TIMEOUT_ERR: number;\n readonly TYPE_MISMATCH_ERR: number;\n readonly URL_MISMATCH_ERR: number;\n readonly VALIDATION_ERR: number;\n readonly WRONG_DOCUMENT_ERR: number;\n}\n\ndeclare var DOMException: {\n prototype: DOMException;\n new(message?: string, name?: string): DOMException;\n readonly ABORT_ERR: number;\n readonly DATA_CLONE_ERR: number;\n readonly DOMSTRING_SIZE_ERR: number;\n readonly HIERARCHY_REQUEST_ERR: number;\n readonly INDEX_SIZE_ERR: number;\n readonly INUSE_ATTRIBUTE_ERR: number;\n readonly INVALID_ACCESS_ERR: number;\n readonly INVALID_CHARACTER_ERR: number;\n readonly INVALID_MODIFICATION_ERR: number;\n readonly INVALID_NODE_TYPE_ERR: number;\n readonly INVALID_STATE_ERR: number;\n readonly NAMESPACE_ERR: number;\n readonly NETWORK_ERR: number;\n readonly NOT_FOUND_ERR: number;\n readonly NOT_SUPPORTED_ERR: number;\n readonly NO_DATA_ALLOWED_ERR: number;\n readonly NO_MODIFICATION_ALLOWED_ERR: number;\n readonly QUOTA_EXCEEDED_ERR: number;\n readonly SECURITY_ERR: number;\n readonly SYNTAX_ERR: number;\n readonly TIMEOUT_ERR: number;\n readonly TYPE_MISMATCH_ERR: number;\n readonly URL_MISMATCH_ERR: number;\n readonly VALIDATION_ERR: number;\n readonly WRONG_DOCUMENT_ERR: number;\n};\n\ninterface DOMMatrix extends DOMMatrixReadOnly {\n a: number;\n b: number;\n c: number;\n d: number;\n e: number;\n f: number;\n m11: number;\n m12: number;\n m13: number;\n m14: number;\n m21: number;\n m22: number;\n m23: number;\n m24: number;\n m31: number;\n m32: number;\n m33: number;\n m34: number;\n m41: number;\n m42: number;\n m43: number;\n m44: number;\n invertSelf(): DOMMatrix;\n multiplySelf(other?: DOMMatrixInit): DOMMatrix;\n preMultiplySelf(other?: DOMMatrixInit): DOMMatrix;\n rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;\n rotateFromVectorSelf(x?: number, y?: number): DOMMatrix;\n rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;\n scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n skewXSelf(sx?: number): DOMMatrix;\n skewYSelf(sy?: number): DOMMatrix;\n translateSelf(tx?: number, ty?: number, tz?: number): DOMMatrix;\n}\n\ndeclare var DOMMatrix: {\n prototype: DOMMatrix;\n new(init?: string | number[]): DOMMatrix;\n fromFloat32Array(array32: Float32Array): DOMMatrix;\n fromFloat64Array(array64: Float64Array): DOMMatrix;\n fromMatrix(other?: DOMMatrixInit): DOMMatrix;\n};\n\ninterface DOMMatrixReadOnly {\n readonly a: number;\n readonly b: number;\n readonly c: number;\n readonly d: number;\n readonly e: number;\n readonly f: number;\n readonly is2D: boolean;\n readonly isIdentity: boolean;\n readonly m11: number;\n readonly m12: number;\n readonly m13: number;\n readonly m14: number;\n readonly m21: number;\n readonly m22: number;\n readonly m23: number;\n readonly m24: number;\n readonly m31: number;\n readonly m32: number;\n readonly m33: number;\n readonly m34: number;\n readonly m41: number;\n readonly m42: number;\n readonly m43: number;\n readonly m44: number;\n flipX(): DOMMatrix;\n flipY(): DOMMatrix;\n inverse(): DOMMatrix;\n multiply(other?: DOMMatrixInit): DOMMatrix;\n rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;\n rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;\n rotateFromVector(x?: number, y?: number): DOMMatrix;\n scale(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n scale3d(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n /** @deprecated */\n scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix;\n skewX(sx?: number): DOMMatrix;\n skewY(sy?: number): DOMMatrix;\n toFloat32Array(): Float32Array;\n toFloat64Array(): Float64Array;\n toJSON(): any;\n transformPoint(point?: DOMPointInit): DOMPoint;\n translate(tx?: number, ty?: number, tz?: number): DOMMatrix;\n}\n\ndeclare var DOMMatrixReadOnly: {\n prototype: DOMMatrixReadOnly;\n new(init?: string | number[]): DOMMatrixReadOnly;\n fromFloat32Array(array32: Float32Array): DOMMatrixReadOnly;\n fromFloat64Array(array64: Float64Array): DOMMatrixReadOnly;\n fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly;\n};\n\ninterface DOMPoint extends DOMPointReadOnly {\n w: number;\n x: number;\n y: number;\n z: number;\n}\n\ndeclare var DOMPoint: {\n prototype: DOMPoint;\n new(x?: number, y?: number, z?: number, w?: number): DOMPoint;\n fromPoint(other?: DOMPointInit): DOMPoint;\n};\n\ninterface DOMPointReadOnly {\n readonly w: number;\n readonly x: number;\n readonly y: number;\n readonly z: number;\n matrixTransform(matrix?: DOMMatrixInit): DOMPoint;\n toJSON(): any;\n}\n\ndeclare var DOMPointReadOnly: {\n prototype: DOMPointReadOnly;\n new(x?: number, y?: number, z?: number, w?: number): DOMPointReadOnly;\n fromPoint(other?: DOMPointInit): DOMPointReadOnly;\n};\n\ninterface DOMQuad {\n readonly p1: DOMPoint;\n readonly p2: DOMPoint;\n readonly p3: DOMPoint;\n readonly p4: DOMPoint;\n getBounds(): DOMRect;\n toJSON(): any;\n}\n\ndeclare var DOMQuad: {\n prototype: DOMQuad;\n new(p1?: DOMPointInit, p2?: DOMPointInit, p3?: DOMPointInit, p4?: DOMPointInit): DOMQuad;\n fromQuad(other?: DOMQuadInit): DOMQuad;\n fromRect(other?: DOMRectInit): DOMQuad;\n};\n\ninterface DOMRect extends DOMRectReadOnly {\n height: number;\n width: number;\n x: number;\n y: number;\n}\n\ndeclare var DOMRect: {\n prototype: DOMRect;\n new(x?: number, y?: number, width?: number, height?: number): DOMRect;\n fromRect(other?: DOMRectInit): DOMRect;\n};\n\ninterface DOMRectReadOnly {\n readonly bottom: number;\n readonly height: number;\n readonly left: number;\n readonly right: number;\n readonly top: number;\n readonly width: number;\n readonly x: number;\n readonly y: number;\n toJSON(): any;\n}\n\ndeclare var DOMRectReadOnly: {\n prototype: DOMRectReadOnly;\n new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly;\n fromRect(other?: DOMRectInit): DOMRectReadOnly;\n};\n\n/** A type returned by some APIs which contains a list of DOMString (strings). */\ninterface DOMStringList {\n /**\n * Returns the number of strings in strings.\n */\n readonly length: number;\n /**\n * Returns true if strings contains string, and false otherwise.\n */\n contains(string: string): boolean;\n /**\n * Returns the string with index index from strings.\n */\n item(index: number): string | null;\n [index: number]: string;\n}\n\ndeclare var DOMStringList: {\n prototype: DOMStringList;\n new(): DOMStringList;\n};\n\ninterface DedicatedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\n/** (the Worker global scope) is accessible through the self keyword. Some additional global functions, namespaces objects, and constructors, not typically associated with the worker global scope, but available on it, are listed in the JavaScript Reference. See also: Functions available to workers. */\ninterface DedicatedWorkerGlobalScope extends WorkerGlobalScope, AnimationFrameProvider {\n /**\n * Returns dedicatedWorkerGlobal\'s name, i.e. the value given to the Worker constructor. Primarily useful for debugging.\n */\n readonly name: string;\n onmessage: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null;\n /**\n * Aborts dedicatedWorkerGlobal.\n */\n close(): void;\n /**\n * Clones message and transmits it to the Worker object associated with dedicatedWorkerGlobal. transfer can be passed as a list of objects that are to be transferred rather than cloned.\n */\n postMessage(message: any, transfer: Transferable[]): void;\n postMessage(message: any, options?: PostMessageOptions): void;\n addEventListener<K extends keyof DedicatedWorkerGlobalScopeEventMap>(type: K, listener: (this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof DedicatedWorkerGlobalScopeEventMap>(type: K, listener: (this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var DedicatedWorkerGlobalScope: {\n prototype: DedicatedWorkerGlobalScope;\n new(): DedicatedWorkerGlobalScope;\n};\n\ninterface EXT_blend_minmax {\n readonly MAX_EXT: GLenum;\n readonly MIN_EXT: GLenum;\n}\n\ninterface EXT_color_buffer_float {\n}\n\ninterface EXT_color_buffer_half_float {\n readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: GLenum;\n readonly RGB16F_EXT: GLenum;\n readonly RGBA16F_EXT: GLenum;\n readonly UNSIGNED_NORMALIZED_EXT: GLenum;\n}\n\ninterface EXT_float_blend {\n}\n\n/** 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. */\ninterface EXT_frag_depth {\n}\n\ninterface EXT_sRGB {\n readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: GLenum;\n readonly SRGB8_ALPHA8_EXT: GLenum;\n readonly SRGB_ALPHA_EXT: GLenum;\n readonly SRGB_EXT: GLenum;\n}\n\ninterface EXT_shader_texture_lod {\n}\n\ninterface EXT_texture_compression_rgtc {\n readonly COMPRESSED_RED_GREEN_RGTC2_EXT: GLenum;\n readonly COMPRESSED_RED_RGTC1_EXT: GLenum;\n readonly COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT: GLenum;\n readonly COMPRESSED_SIGNED_RED_RGTC1_EXT: GLenum;\n}\n\n/** The EXT_texture_filter_anisotropic extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF). */\ninterface EXT_texture_filter_anisotropic {\n readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: GLenum;\n readonly TEXTURE_MAX_ANISOTROPY_EXT: GLenum;\n}\n\n/** Events providing information related to errors in scripts or in files. */\ninterface ErrorEvent extends Event {\n readonly colno: number;\n readonly error: any;\n readonly filename: string;\n readonly lineno: number;\n readonly message: string;\n}\n\ndeclare var ErrorEvent: {\n prototype: ErrorEvent;\n new(type: string, eventInitDict?: ErrorEventInit): ErrorEvent;\n};\n\n/** An event which takes place in the DOM. */\ninterface Event {\n /**\n * 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.\n */\n readonly bubbles: boolean;\n cancelBubble: boolean;\n /**\n * 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.\n */\n readonly cancelable: boolean;\n /**\n * 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.\n */\n readonly composed: boolean;\n /**\n * Returns the object whose event listener\'s callback is currently being invoked.\n */\n readonly currentTarget: EventTarget | null;\n /**\n * Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.\n */\n readonly defaultPrevented: boolean;\n /**\n * Returns the event\'s phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.\n */\n readonly eventPhase: number;\n /**\n * Returns true if event was dispatched by the user agent, and false otherwise.\n */\n readonly isTrusted: boolean;\n /** @deprecated */\n returnValue: boolean;\n /** @deprecated */\n readonly srcElement: EventTarget | null;\n /**\n * Returns the object to which event is dispatched (its target).\n */\n readonly target: EventTarget | null;\n /**\n * Returns the event\'s timestamp as the number of milliseconds measured relative to the time origin.\n */\n readonly timeStamp: DOMHighResTimeStamp;\n /**\n * Returns the type of event, e.g. "click", "hashchange", or "submit".\n */\n readonly type: string;\n /**\n * 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.\n */\n composedPath(): EventTarget[];\n /** @deprecated */\n initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;\n /**\n * 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.\n */\n preventDefault(): void;\n /**\n * 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.\n */\n stopImmediatePropagation(): void;\n /**\n * When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.\n */\n stopPropagation(): void;\n readonly AT_TARGET: number;\n readonly BUBBLING_PHASE: number;\n readonly CAPTURING_PHASE: number;\n readonly NONE: number;\n}\n\ndeclare var Event: {\n prototype: Event;\n new(type: string, eventInitDict?: EventInit): Event;\n readonly AT_TARGET: number;\n readonly BUBBLING_PHASE: number;\n readonly CAPTURING_PHASE: number;\n readonly NONE: number;\n};\n\ninterface EventListener {\n (evt: Event): void;\n}\n\ninterface EventListenerObject {\n handleEvent(object: Event): void;\n}\n\ninterface EventSourceEventMap {\n "error": Event;\n "message": MessageEvent;\n "open": Event;\n}\n\ninterface EventSource extends EventTarget {\n onerror: ((this: EventSource, ev: Event) => any) | null;\n onmessage: ((this: EventSource, ev: MessageEvent) => any) | null;\n onopen: ((this: EventSource, ev: Event) => any) | null;\n /**\n * Returns the state of this EventSource object\'s connection. It can have the values described below.\n */\n readonly readyState: number;\n /**\n * Returns the URL providing the event stream.\n */\n readonly url: string;\n /**\n * Returns true if the credentials mode for connection requests to the URL providing the event stream is set to "include", and false otherwise.\n */\n readonly withCredentials: boolean;\n /**\n * Aborts any instances of the fetch algorithm started for this EventSource object, and sets the readyState attribute to CLOSED.\n */\n close(): void;\n readonly CLOSED: number;\n readonly CONNECTING: number;\n readonly OPEN: number;\n addEventListener<K extends keyof EventSourceEventMap>(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof EventSourceEventMap>(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var EventSource: {\n prototype: EventSource;\n new(url: string | URL, eventSourceInitDict?: EventSourceInit): EventSource;\n readonly CLOSED: number;\n readonly CONNECTING: number;\n readonly OPEN: number;\n};\n\n/** EventTarget is a DOM interface implemented by objects that can receive events and may have listeners for them. */\ninterface EventTarget {\n /**\n * 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.\n *\n * 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.\n *\n * 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.\n *\n * 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 § 2.8 Observing event listeners.\n *\n * When set to true, options\'s once indicates that the callback will only be invoked once after which the event listener will be removed.\n *\n * If an AbortSignal is passed for options\'s signal, then the event listener will be removed when signal is aborted.\n *\n * The event listener is appended to target\'s event listener list and is not appended if it has the same type, callback, and capture.\n */\n addEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void;\n /**\n * 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.\n */\n dispatchEvent(event: Event): boolean;\n /**\n * Removes the event listener in target\'s event listener list with the same type, callback, and options.\n */\n removeEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void;\n}\n\ndeclare var EventTarget: {\n prototype: EventTarget;\n new(): EventTarget;\n};\n\n/** Extends the lifetime of the install and activate events dispatched on the global scope as part of the service worker lifecycle. This ensures that any functional events (like FetchEvent) are not dispatched until it upgrades database schemas and deletes the outdated cache entries. */\ninterface ExtendableEvent extends Event {\n waitUntil(f: any): void;\n}\n\ndeclare var ExtendableEvent: {\n prototype: ExtendableEvent;\n new(type: string, eventInitDict?: ExtendableEventInit): ExtendableEvent;\n};\n\n/** This ServiceWorker API interface represents the event object of a message event fired on a service worker (when a channel message is received on the ServiceWorkerGlobalScope from another context) — extends the lifetime of such events. */\ninterface ExtendableMessageEvent extends ExtendableEvent {\n readonly data: any;\n readonly lastEventId: string;\n readonly origin: string;\n readonly ports: ReadonlyArray<MessagePort>;\n readonly source: Client | ServiceWorker | MessagePort | null;\n}\n\ndeclare var ExtendableMessageEvent: {\n prototype: ExtendableMessageEvent;\n new(type: string, eventInitDict?: ExtendableMessageEventInit): ExtendableMessageEvent;\n};\n\n/** This is the event type for fetch events dispatched on the service worker global scope. It contains information about the fetch, including the request and how the receiver will treat the response. It provides the event.respondWith() method, which allows us to provide a response to this fetch. */\ninterface FetchEvent extends ExtendableEvent {\n readonly clientId: string;\n readonly handled: Promise<undefined>;\n readonly request: Request;\n readonly resultingClientId: string;\n respondWith(r: Response | PromiseLike<Response>): void;\n}\n\ndeclare var FetchEvent: {\n prototype: FetchEvent;\n new(type: string, eventInitDict: FetchEventInit): FetchEvent;\n};\n\n/** Provides information about files and allows JavaScript in a web page to access their content. */\ninterface File extends Blob {\n readonly lastModified: number;\n readonly name: string;\n readonly webkitRelativePath: string;\n}\n\ndeclare var File: {\n prototype: File;\n new(fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File;\n};\n\n/** An object of this type is returned by the files property of the HTML <input> element; this lets you access the list of files selected with the <input type="file"> 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. */\ninterface FileList {\n readonly length: number;\n item(index: number): File | null;\n [index: number]: File;\n}\n\ndeclare var FileList: {\n prototype: FileList;\n new(): FileList;\n};\n\ninterface FileReaderEventMap {\n "abort": ProgressEvent<FileReader>;\n "error": ProgressEvent<FileReader>;\n "load": ProgressEvent<FileReader>;\n "loadend": ProgressEvent<FileReader>;\n "loadstart": ProgressEvent<FileReader>;\n "progress": ProgressEvent<FileReader>;\n}\n\n/** 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. */\ninterface FileReader extends EventTarget {\n readonly error: DOMException | null;\n onabort: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n onerror: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n onload: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n onloadend: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n onloadstart: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n onprogress: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n readonly readyState: number;\n readonly result: string | ArrayBuffer | null;\n abort(): void;\n readAsArrayBuffer(blob: Blob): void;\n readAsBinaryString(blob: Blob): void;\n readAsDataURL(blob: Blob): void;\n readAsText(blob: Blob, encoding?: string): void;\n readonly DONE: number;\n readonly EMPTY: number;\n readonly LOADING: number;\n addEventListener<K extends keyof FileReaderEventMap>(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof FileReaderEventMap>(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var FileReader: {\n prototype: FileReader;\n new(): FileReader;\n readonly DONE: number;\n readonly EMPTY: number;\n readonly LOADING: number;\n};\n\n/** Allows to read File or Blob objects in a synchronous way. */\ninterface FileReaderSync {\n readAsArrayBuffer(blob: Blob): ArrayBuffer;\n /** @deprecated */\n readAsBinaryString(blob: Blob): string;\n readAsDataURL(blob: Blob): string;\n readAsText(blob: Blob, encoding?: string): string;\n}\n\ndeclare var FileReaderSync: {\n prototype: FileReaderSync;\n new(): FileReaderSync;\n};\n\ninterface FontFace {\n ascentOverride: string;\n descentOverride: string;\n display: string;\n family: string;\n featureSettings: string;\n lineGapOverride: string;\n readonly loaded: Promise<FontFace>;\n readonly status: FontFaceLoadStatus;\n stretch: string;\n style: string;\n unicodeRange: string;\n variant: string;\n variationSettings: string;\n weight: string;\n load(): Promise<FontFace>;\n}\n\ndeclare var FontFace: {\n prototype: FontFace;\n new(family: string, source: string | BinaryData, descriptors?: FontFaceDescriptors): FontFace;\n};\n\ninterface FontFaceSetEventMap {\n "loading": Event;\n "loadingdone": Event;\n "loadingerror": Event;\n}\n\ninterface FontFaceSet extends EventTarget {\n onloading: ((this: FontFaceSet, ev: Event) => any) | null;\n onloadingdone: ((this: FontFaceSet, ev: Event) => any) | null;\n onloadingerror: ((this: FontFaceSet, ev: Event) => any) | null;\n readonly ready: Promise<FontFaceSet>;\n readonly status: FontFaceSetLoadStatus;\n check(font: string, text?: string): boolean;\n load(font: string, text?: string): Promise<FontFace[]>;\n forEach(callbackfn: (value: FontFace, key: FontFace, parent: FontFaceSet) => void, thisArg?: any): void;\n addEventListener<K extends keyof FontFaceSetEventMap>(type: K, listener: (this: FontFaceSet, ev: FontFaceSetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof FontFaceSetEventMap>(type: K, listener: (this: FontFaceSet, ev: FontFaceSetEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var FontFaceSet: {\n prototype: FontFaceSet;\n new(initialFaces: FontFace[]): FontFaceSet;\n};\n\ninterface FontFaceSetLoadEvent extends Event {\n readonly fontfaces: ReadonlyArray<FontFace>;\n}\n\ndeclare var FontFaceSetLoadEvent: {\n prototype: FontFaceSetLoadEvent;\n new(type: string, eventInitDict?: FontFaceSetLoadEventInit): FontFaceSetLoadEvent;\n};\n\ninterface FontFaceSource {\n readonly fonts: FontFaceSet;\n}\n\n/** 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". */\ninterface FormData {\n append(name: string, value: string | Blob, fileName?: string): void;\n delete(name: string): void;\n get(name: string): FormDataEntryValue | null;\n getAll(name: string): FormDataEntryValue[];\n has(name: string): boolean;\n set(name: string, value: string | Blob, fileName?: string): void;\n forEach(callbackfn: (value: FormDataEntryValue, key: string, parent: FormData) => void, thisArg?: any): void;\n}\n\ndeclare var FormData: {\n prototype: FormData;\n new(): FormData;\n};\n\ninterface GenericTransformStream {\n readonly readable: ReadableStream;\n readonly writable: WritableStream;\n}\n\n/** This Fetch API interface allows you to perform various actions on HTTP request and response headers. These actions include retrieving, setting, adding to, and removing. A Headers object has an associated header list, which is initially empty and consists of zero or more name and value pairs.  You can add to this using methods like append() (see Examples.) In all methods of this interface, header names are matched by case-insensitive byte sequence. */\ninterface Headers {\n append(name: string, value: string): void;\n delete(name: string): void;\n get(name: string): string | null;\n has(name: string): boolean;\n set(name: string, value: string): void;\n forEach(callbackfn: (value: string, key: string, parent: Headers) => void, thisArg?: any): void;\n}\n\ndeclare var Headers: {\n prototype: Headers;\n new(init?: HeadersInit): Headers;\n};\n\n/** This IndexedDB API interface represents a cursor for traversing or iterating over multiple records in a database. */\ninterface IDBCursor {\n /**\n * Returns the direction ("next", "nextunique", "prev" or "prevunique") of the cursor.\n */\n readonly direction: IDBCursorDirection;\n /**\n * Returns the key of the cursor. Throws a "InvalidStateError" DOMException if the cursor is advancing or is finished.\n */\n readonly key: IDBValidKey;\n /**\n * Returns the effective key of the cursor. Throws a "InvalidStateError" DOMException if the cursor is advancing or is finished.\n */\n readonly primaryKey: IDBValidKey;\n readonly request: IDBRequest;\n /**\n * Returns the IDBObjectStore or IDBIndex the cursor was opened from.\n */\n readonly source: IDBObjectStore | IDBIndex;\n /**\n * Advances the cursor through the next count records in range.\n */\n advance(count: number): void;\n /**\n * Advances the cursor to the next record in range.\n */\n continue(key?: IDBValidKey): void;\n /**\n * Advances the cursor to the next record in range matching or after key and primaryKey. Throws an "InvalidAccessError" DOMException if the source is not an index.\n */\n continuePrimaryKey(key: IDBValidKey, primaryKey: IDBValidKey): void;\n /**\n * Delete the record pointed at by the cursor with a new value.\n *\n * If successful, request\'s result will be undefined.\n */\n delete(): IDBRequest<undefined>;\n /**\n * Updated the record pointed at by the cursor with a new value.\n *\n * Throws a "DataError" DOMException if the effective object store uses in-line keys and the key would have changed.\n *\n * If successful, request\'s result will be the record\'s key.\n */\n update(value: any): IDBRequest<IDBValidKey>;\n}\n\ndeclare var IDBCursor: {\n prototype: IDBCursor;\n new(): IDBCursor;\n};\n\n/** This IndexedDB API interface represents a cursor for traversing or iterating over multiple records in a database. It is the same as the IDBCursor, except that it includes the value property. */\ninterface IDBCursorWithValue extends IDBCursor {\n /**\n * Returns the cursor\'s current value.\n */\n readonly value: any;\n}\n\ndeclare var IDBCursorWithValue: {\n prototype: IDBCursorWithValue;\n new(): IDBCursorWithValue;\n};\n\ninterface IDBDatabaseEventMap {\n "abort": Event;\n "close": Event;\n "error": Event;\n "versionchange": IDBVersionChangeEvent;\n}\n\n/** This IndexedDB API interface provides a connection to a database; you can use an IDBDatabase object to open a transaction on your database then create, manipulate, and delete objects (data) in that database. The interface provides the only way to get and manage versions of the database. */\ninterface IDBDatabase extends EventTarget {\n /**\n * Returns the name of the database.\n */\n readonly name: string;\n /**\n * Returns a list of the names of object stores in the database.\n */\n readonly objectStoreNames: DOMStringList;\n onabort: ((this: IDBDatabase, ev: Event) => any) | null;\n onclose: ((this: IDBDatabase, ev: Event) => any) | null;\n onerror: ((this: IDBDatabase, ev: Event) => any) | null;\n onversionchange: ((this: IDBDatabase, ev: IDBVersionChangeEvent) => any) | null;\n /**\n * Returns the version of the database.\n */\n readonly version: number;\n /**\n * Closes the connection once all running transactions have finished.\n */\n close(): void;\n /**\n * Creates a new object store with the given name and options and returns a new IDBObjectStore.\n *\n * Throws a "InvalidStateError" DOMException if not called within an upgrade transaction.\n */\n createObjectStore(name: string, options?: IDBObjectStoreParameters): IDBObjectStore;\n /**\n * Deletes the object store with the given name.\n *\n * Throws a "InvalidStateError" DOMException if not called within an upgrade transaction.\n */\n deleteObjectStore(name: string): void;\n /**\n * Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names.\n */\n transaction(storeNames: string | string[], mode?: IDBTransactionMode): IDBTransaction;\n addEventListener<K extends keyof IDBDatabaseEventMap>(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof IDBDatabaseEventMap>(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBDatabase: {\n prototype: IDBDatabase;\n new(): IDBDatabase;\n};\n\n/** In the following code snippet, we make a request to open a database, and include handlers for the success and error cases. For a full working example, see our To-do Notifications app (view example live.) */\ninterface IDBFactory {\n /**\n * Compares two values as keys. Returns -1 if key1 precedes key2, 1 if key2 precedes key1, and 0 if the keys are equal.\n *\n * Throws a "DataError" DOMException if either input is not a valid key.\n */\n cmp(first: any, second: any): number;\n databases(): Promise<IDBDatabaseInfo[]>;\n /**\n * Attempts to delete the named database. If the database already exists and there are open connections that don\'t close in response to a versionchange event, the request will be blocked until all they close. If the request is successful request\'s result will be null.\n */\n deleteDatabase(name: string): IDBOpenDBRequest;\n /**\n * Attempts to open a connection to the named database with the current version, or 1 if it does not already exist. If the request is successful request\'s result will be the connection.\n */\n open(name: string, version?: number): IDBOpenDBRequest;\n}\n\ndeclare var IDBFactory: {\n prototype: IDBFactory;\n new(): IDBFactory;\n};\n\n/** IDBIndex interface of the IndexedDB API provides asynchronous access to an index in a database. An index is a kind of object store for looking up records in another object store, called the referenced object store. You use this interface to retrieve data. */\ninterface IDBIndex {\n readonly keyPath: string | string[];\n readonly multiEntry: boolean;\n /**\n * Returns the name of the index.\n */\n name: string;\n /**\n * Returns the IDBObjectStore the index belongs to.\n */\n readonly objectStore: IDBObjectStore;\n readonly unique: boolean;\n /**\n * Retrieves the number of records matching the given key or key range in query.\n *\n * If successful, request\'s result will be the count.\n */\n count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;\n /**\n * Retrieves the value of the first record matching the given key or key range in query.\n *\n * If successful, request\'s result will be the value, or undefined if there was no matching record.\n */\n get(query: IDBValidKey | IDBKeyRange): IDBRequest<any>;\n /**\n * Retrieves the values of the records matching the given key or key range in query (up to count if given).\n *\n * If successful, request\'s result will be an Array of the values.\n */\n getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;\n /**\n * Retrieves the keys of records matching the given key or key range in query (up to count if given).\n *\n * If successful, request\'s result will be an Array of the keys.\n */\n getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;\n /**\n * Retrieves the key of the first record matching the given key or key range in query.\n *\n * If successful, request\'s result will be the key, or undefined if there was no matching record.\n */\n getKey(query: IDBValidKey | IDBKeyRange): IDBRequest<IDBValidKey | undefined>;\n /**\n * Opens a cursor over the records matching query, ordered by direction. If query is null, all records in index are matched.\n *\n * If successful, request\'s result will be an IDBCursorWithValue, or null if there were no matching records.\n */\n openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;\n /**\n * Opens a cursor with key only flag set over the records matching query, ordered by direction. If query is null, all records in index are matched.\n *\n * If successful, request\'s result will be an IDBCursor, or null if there were no matching records.\n */\n openKeyCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursor | null>;\n}\n\ndeclare var IDBIndex: {\n prototype: IDBIndex;\n new(): IDBIndex;\n};\n\n/** A key range can be a single value or a range with upper and lower bounds or endpoints. If the key range has both upper and lower bounds, then it is bounded; if it has no bounds, it is unbounded. A bounded key range can either be open (the endpoints are excluded) or closed (the endpoints are included). To retrieve all keys within a certain range, you can use the following code constructs: */\ninterface IDBKeyRange {\n /**\n * Returns lower bound, or undefined if none.\n */\n readonly lower: any;\n /**\n * Returns true if the lower open flag is set, and false otherwise.\n */\n readonly lowerOpen: boolean;\n /**\n * Returns upper bound, or undefined if none.\n */\n readonly upper: any;\n /**\n * Returns true if the upper open flag is set, and false otherwise.\n */\n readonly upperOpen: boolean;\n /**\n * Returns true if key is included in the range, and false otherwise.\n */\n includes(key: any): boolean;\n}\n\ndeclare var IDBKeyRange: {\n prototype: IDBKeyRange;\n new(): IDBKeyRange;\n /**\n * Returns a new IDBKeyRange spanning from lower to upper. If lowerOpen is true, lower is not included in the range. If upperOpen is true, upper is not included in the range.\n */\n bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange;\n /**\n * Returns a new IDBKeyRange starting at key with no upper bound. If open is true, key is not included in the range.\n */\n lowerBound(lower: any, open?: boolean): IDBKeyRange;\n /**\n * Returns a new IDBKeyRange spanning only key.\n */\n only(value: any): IDBKeyRange;\n /**\n * Returns a new IDBKeyRange with no lower bound and ending at key. If open is true, key is not included in the range.\n */\n upperBound(upper: any, open?: boolean): IDBKeyRange;\n};\n\n/** This example shows a variety of different uses of object stores, from updating the data structure with IDBObjectStore.createIndex inside an onupgradeneeded function, to adding a new item to our object store with IDBObjectStore.add. For a full working example, see our To-do Notifications app (view example live.) */\ninterface IDBObjectStore {\n /**\n * Returns true if the store has a key generator, and false otherwise.\n */\n readonly autoIncrement: boolean;\n /**\n * Returns a list of the names of indexes in the store.\n */\n readonly indexNames: DOMStringList;\n /**\n * Returns the key path of the store, or null if none.\n */\n readonly keyPath: string | string[];\n /**\n * Returns the name of the store.\n */\n name: string;\n /**\n * Returns the associated transaction.\n */\n readonly transaction: IDBTransaction;\n /**\n * Adds or updates a record in store with the given value and key.\n *\n * If the store uses in-line keys and key is specified a "DataError" DOMException will be thrown.\n *\n * If put() is used, any existing record with the key will be replaced. If add() is used, and if a record with the key already exists the request will fail, with request\'s error set to a "ConstraintError" DOMException.\n *\n * If successful, request\'s result will be the record\'s key.\n */\n add(value: any, key?: IDBValidKey): IDBRequest<IDBValidKey>;\n /**\n * Deletes all records in store.\n *\n * If successful, request\'s result will be undefined.\n */\n clear(): IDBRequest<undefined>;\n /**\n * Retrieves the number of records matching the given key or key range in query.\n *\n * If successful, request\'s result will be the count.\n */\n count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;\n /**\n * Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.\n *\n * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.\n */\n createIndex(name: string, keyPath: string | string[], options?: IDBIndexParameters): IDBIndex;\n /**\n * Deletes records in store with the given key or in the given key range in query.\n *\n * If successful, request\'s result will be undefined.\n */\n delete(query: IDBValidKey | IDBKeyRange): IDBRequest<undefined>;\n /**\n * Deletes the index in store with the given name.\n *\n * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.\n */\n deleteIndex(name: string): void;\n /**\n * Retrieves the value of the first record matching the given key or key range in query.\n *\n * If successful, request\'s result will be the value, or undefined if there was no matching record.\n */\n get(query: IDBValidKey | IDBKeyRange): IDBRequest<any>;\n /**\n * Retrieves the values of the records matching the given key or key range in query (up to count if given).\n *\n * If successful, request\'s result will be an Array of the values.\n */\n getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;\n /**\n * Retrieves the keys of records matching the given key or key range in query (up to count if given).\n *\n * If successful, request\'s result will be an Array of the keys.\n */\n getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;\n /**\n * Retrieves the key of the first record matching the given key or key range in query.\n *\n * If successful, request\'s result will be the key, or undefined if there was no matching record.\n */\n getKey(query: IDBValidKey | IDBKeyRange): IDBRequest<IDBValidKey | undefined>;\n index(name: string): IDBIndex;\n /**\n * Opens a cursor over the records matching query, ordered by direction. If query is null, all records in store are matched.\n *\n * If successful, request\'s result will be an IDBCursorWithValue pointing at the first matching record, or null if there were no matching records.\n */\n openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;\n /**\n * Opens a cursor with key only flag set over the records matching query, ordered by direction. If query is null, all records in store are matched.\n *\n * If successful, request\'s result will be an IDBCursor pointing at the first matching record, or null if there were no matching records.\n */\n openKeyCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursor | null>;\n /**\n * Adds or updates a record in store with the given value and key.\n *\n * If the store uses in-line keys and key is specified a "DataError" DOMException will be thrown.\n *\n * If put() is used, any existing record with the key will be replaced. If add() is used, and if a record with the key already exists the request will fail, with request\'s error set to a "ConstraintError" DOMException.\n *\n * If successful, request\'s result will be the record\'s key.\n */\n put(value: any, key?: IDBValidKey): IDBRequest<IDBValidKey>;\n}\n\ndeclare var IDBObjectStore: {\n prototype: IDBObjectStore;\n new(): IDBObjectStore;\n};\n\ninterface IDBOpenDBRequestEventMap extends IDBRequestEventMap {\n "blocked": Event;\n "upgradeneeded": IDBVersionChangeEvent;\n}\n\n/** Also inherits methods from its parents IDBRequest and EventTarget. */\ninterface IDBOpenDBRequest extends IDBRequest<IDBDatabase> {\n onblocked: ((this: IDBOpenDBRequest, ev: Event) => any) | null;\n onupgradeneeded: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null;\n addEventListener<K extends keyof IDBOpenDBRequestEventMap>(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof IDBOpenDBRequestEventMap>(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBOpenDBRequest: {\n prototype: IDBOpenDBRequest;\n new(): IDBOpenDBRequest;\n};\n\ninterface IDBRequestEventMap {\n "error": Event;\n "success": Event;\n}\n\n/** The request object does not initially contain any information about the result of the operation, but once information becomes available, an event is fired on the request, and the information becomes available through the properties of the IDBRequest instance. */\ninterface IDBRequest<T = any> extends EventTarget {\n /**\n * When a request is completed, returns the error (a DOMException), or null if the request succeeded. Throws a "InvalidStateError" DOMException if the request is still pending.\n */\n readonly error: DOMException | null;\n onerror: ((this: IDBRequest<T>, ev: Event) => any) | null;\n onsuccess: ((this: IDBRequest<T>, ev: Event) => any) | null;\n /**\n * Returns "pending" until a request is complete, then returns "done".\n */\n readonly readyState: IDBRequestReadyState;\n /**\n * When a request is completed, returns the result, or undefined if the request failed. Throws a "InvalidStateError" DOMException if the request is still pending.\n */\n readonly result: T;\n /**\n * Returns the IDBObjectStore, IDBIndex, or IDBCursor the request was made against, or null if is was an open request.\n */\n readonly source: IDBObjectStore | IDBIndex | IDBCursor;\n /**\n * Returns the IDBTransaction the request was made within. If this as an open request, then it returns an upgrade transaction while it is running, or null otherwise.\n */\n readonly transaction: IDBTransaction | null;\n addEventListener<K extends keyof IDBRequestEventMap>(type: K, listener: (this: IDBRequest<T>, ev: IDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof IDBRequestEventMap>(type: K, listener: (this: IDBRequest<T>, ev: IDBRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBRequest: {\n prototype: IDBRequest;\n new(): IDBRequest;\n};\n\ninterface IDBTransactionEventMap {\n "abort": Event;\n "complete": Event;\n "error": Event;\n}\n\ninterface IDBTransaction extends EventTarget {\n /**\n * Returns the transaction\'s connection.\n */\n readonly db: IDBDatabase;\n /**\n * If the transaction was aborted, returns the error (a DOMException) providing the reason.\n */\n readonly error: DOMException | null;\n /**\n * Returns the mode the transaction was created with ("readonly" or "readwrite"), or "versionchange" for an upgrade transaction.\n */\n readonly mode: IDBTransactionMode;\n /**\n * Returns a list of the names of object stores in the transaction\'s scope. For an upgrade transaction this is all object stores in the database.\n */\n readonly objectStoreNames: DOMStringList;\n onabort: ((this: IDBTransaction, ev: Event) => any) | null;\n oncomplete: ((this: IDBTransaction, ev: Event) => any) | null;\n onerror: ((this: IDBTransaction, ev: Event) => any) | null;\n /**\n * Aborts the transaction. All pending requests will fail with a "AbortError" DOMException and all changes made to the database will be reverted.\n */\n abort(): void;\n commit(): void;\n /**\n * Returns an IDBObjectStore in the transaction\'s scope.\n */\n objectStore(name: string): IDBObjectStore;\n addEventListener<K extends keyof IDBTransactionEventMap>(type: K, listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof IDBTransactionEventMap>(type: K, listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBTransaction: {\n prototype: IDBTransaction;\n new(): IDBTransaction;\n};\n\n/** This IndexedDB API interface indicates that the version of the database has changed, as the result of an IDBOpenDBRequest.onupgradeneeded event handler function. */\ninterface IDBVersionChangeEvent extends Event {\n readonly newVersion: number | null;\n readonly oldVersion: number;\n}\n\ndeclare var IDBVersionChangeEvent: {\n prototype: IDBVersionChangeEvent;\n new(type: string, eventInitDict?: IDBVersionChangeEventInit): IDBVersionChangeEvent;\n};\n\ninterface ImageBitmap {\n /**\n * Returns the intrinsic height of the image, in CSS pixels.\n */\n readonly height: number;\n /**\n * Returns the intrinsic width of the image, in CSS pixels.\n */\n readonly width: number;\n /**\n * Releases imageBitmap\'s underlying bitmap data.\n */\n close(): void;\n}\n\ndeclare var ImageBitmap: {\n prototype: ImageBitmap;\n new(): ImageBitmap;\n};\n\ninterface ImageBitmapRenderingContext {\n /**\n * Transfers the underlying bitmap data from imageBitmap to context, and the bitmap becomes the contents of the canvas element to which context is bound.\n */\n transferFromImageBitmap(bitmap: ImageBitmap | null): void;\n}\n\ndeclare var ImageBitmapRenderingContext: {\n prototype: ImageBitmapRenderingContext;\n new(): ImageBitmapRenderingContext;\n};\n\n/** The underlying pixel data of an area of a <canvas> element. It is created using the ImageData() constructor or creator methods on the CanvasRenderingContext2D object associated with a canvas: createImageData() and getImageData(). It can also be used to set a part of the canvas by using putImageData(). */\ninterface ImageData {\n /**\n * Returns the one-dimensional array containing the data in RGBA order, as integers in the range 0 to 255.\n */\n readonly data: Uint8ClampedArray;\n /**\n * Returns the actual dimensions of the data in the ImageData object, in pixels.\n */\n readonly height: number;\n /**\n * Returns the actual dimensions of the data in the ImageData object, in pixels.\n */\n readonly width: number;\n}\n\ndeclare var ImageData: {\n prototype: ImageData;\n new(sw: number, sh: number, settings?: ImageDataSettings): ImageData;\n new(data: Uint8ClampedArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;\n};\n\ninterface KHR_parallel_shader_compile {\n readonly COMPLETION_STATUS_KHR: GLenum;\n}\n\ninterface MediaCapabilities {\n decodingInfo(configuration: MediaDecodingConfiguration): Promise<MediaCapabilitiesDecodingInfo>;\n encodingInfo(configuration: MediaEncodingConfiguration): Promise<MediaCapabilitiesEncodingInfo>;\n}\n\ndeclare var MediaCapabilities: {\n prototype: MediaCapabilities;\n new(): MediaCapabilities;\n};\n\n/** This Channel Messaging API interface allows us to create a new message channel and send data through it via its two MessagePort properties. */\ninterface MessageChannel {\n /**\n * Returns the first MessagePort object.\n */\n readonly port1: MessagePort;\n /**\n * Returns the second MessagePort object.\n */\n readonly port2: MessagePort;\n}\n\ndeclare var MessageChannel: {\n prototype: MessageChannel;\n new(): MessageChannel;\n};\n\n/** A message received by a target object. */\ninterface MessageEvent<T = any> extends Event {\n /**\n * Returns the data of the message.\n */\n readonly data: T;\n /**\n * Returns the last event ID string, for server-sent events.\n */\n readonly lastEventId: string;\n /**\n * Returns the origin of the message, for server-sent events and cross-document messaging.\n */\n readonly origin: string;\n /**\n * Returns the MessagePort array sent with the message, for cross-document messaging and channel messaging.\n */\n readonly ports: ReadonlyArray<MessagePort>;\n /**\n * Returns the WindowProxy of the source window, for cross-document messaging, and the MessagePort being attached, in the connect event fired at SharedWorkerGlobalScope objects.\n */\n readonly source: MessageEventSource | null;\n /** @deprecated */\n initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: MessagePort[]): void;\n}\n\ndeclare var MessageEvent: {\n prototype: MessageEvent;\n new<T>(type: string, eventInitDict?: MessageEventInit<T>): MessageEvent<T>;\n};\n\ninterface MessagePortEventMap {\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\n/** This Channel Messaging API interface represents one of the two ports of a MessageChannel, allowing messages to be sent from one port and listening out for them arriving at the other. */\ninterface MessagePort extends EventTarget {\n onmessage: ((this: MessagePort, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: MessagePort, ev: MessageEvent) => any) | null;\n /**\n * Disconnects the port, so that it is no longer active.\n */\n close(): void;\n /**\n * Posts a message through the channel. Objects listed in transfer are transferred, not just cloned, meaning that they are no longer usable on the sending side.\n *\n * Throws a "DataCloneError" DOMException if transfer contains duplicate objects or port, or if message could not be cloned.\n */\n postMessage(message: any, transfer: Transferable[]): void;\n postMessage(message: any, options?: PostMessageOptions): void;\n /**\n * Begins dispatching messages received on the port.\n */\n start(): void;\n addEventListener<K extends keyof MessagePortEventMap>(type: K, listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MessagePortEventMap>(type: K, listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MessagePort: {\n prototype: MessagePort;\n new(): MessagePort;\n};\n\ninterface NavigatorConcurrentHardware {\n readonly hardwareConcurrency: number;\n}\n\ninterface NavigatorID {\n /** @deprecated */\n readonly appCodeName: string;\n /** @deprecated */\n readonly appName: string;\n /** @deprecated */\n readonly appVersion: string;\n /** @deprecated */\n readonly platform: string;\n /** @deprecated */\n readonly product: string;\n readonly userAgent: string;\n}\n\ninterface NavigatorLanguage {\n readonly language: string;\n readonly languages: ReadonlyArray<string>;\n}\n\ninterface NavigatorNetworkInformation {\n readonly connection: NetworkInformation;\n}\n\ninterface NavigatorOnLine {\n readonly onLine: boolean;\n}\n\ninterface NavigatorStorage {\n readonly storage: StorageManager;\n}\n\ninterface NetworkInformation extends EventTarget {\n readonly type: ConnectionType;\n}\n\ndeclare var NetworkInformation: {\n prototype: NetworkInformation;\n new(): NetworkInformation;\n};\n\ninterface NotificationEventMap {\n "click": Event;\n "close": Event;\n "error": Event;\n "show": Event;\n}\n\n/** This Notifications API interface is used to configure and display desktop notifications to the user. */\ninterface Notification extends EventTarget {\n readonly body: string;\n readonly data: any;\n readonly dir: NotificationDirection;\n readonly icon: string;\n readonly lang: string;\n onclick: ((this: Notification, ev: Event) => any) | null;\n onclose: ((this: Notification, ev: Event) => any) | null;\n onerror: ((this: Notification, ev: Event) => any) | null;\n onshow: ((this: Notification, ev: Event) => any) | null;\n readonly tag: string;\n readonly title: string;\n close(): void;\n addEventListener<K extends keyof NotificationEventMap>(type: K, listener: (this: Notification, ev: NotificationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof NotificationEventMap>(type: K, listener: (this: Notification, ev: NotificationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Notification: {\n prototype: Notification;\n new(title: string, options?: NotificationOptions): Notification;\n readonly permission: NotificationPermission;\n};\n\n/** The parameter passed into the onnotificationclick handler, the NotificationEvent interface represents a notification click event that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker. */\ninterface NotificationEvent extends ExtendableEvent {\n readonly action: string;\n readonly notification: Notification;\n}\n\ndeclare var NotificationEvent: {\n prototype: NotificationEvent;\n new(type: string, eventInitDict: NotificationEventInit): NotificationEvent;\n};\n\n/** The OES_element_index_uint extension is part of the WebGL API and adds support for gl.UNSIGNED_INT types to WebGLRenderingContext.drawElements(). */\ninterface OES_element_index_uint {\n}\n\ninterface OES_fbo_render_mipmap {\n}\n\n/** The OES_standard_derivatives extension is part of the WebGL API and adds the GLSL derivative functions dFdx, dFdy, and fwidth. */\ninterface OES_standard_derivatives {\n readonly FRAGMENT_SHADER_DERIVATIVE_HINT_OES: GLenum;\n}\n\n/** The OES_texture_float extension is part of the WebGL API and exposes floating-point pixel types for textures. */\ninterface OES_texture_float {\n}\n\n/** The OES_texture_float_linear extension is part of the WebGL API and allows linear filtering with floating-point pixel types for textures. */\ninterface OES_texture_float_linear {\n}\n\n/** The OES_texture_half_float extension is part of the WebGL API and adds texture formats with 16- (aka half float) and 32-bit floating-point components. */\ninterface OES_texture_half_float {\n readonly HALF_FLOAT_OES: GLenum;\n}\n\n/** The OES_texture_half_float_linear extension is part of the WebGL API and allows linear filtering with half floating-point pixel types for textures. */\ninterface OES_texture_half_float_linear {\n}\n\ninterface OES_vertex_array_object {\n bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;\n createVertexArrayOES(): WebGLVertexArrayObjectOES | null;\n deleteVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;\n isVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): GLboolean;\n readonly VERTEX_ARRAY_BINDING_OES: GLenum;\n}\n\ninterface OVR_multiview2 {\n framebufferTextureMultiviewOVR(target: GLenum, attachment: GLenum, texture: WebGLTexture | null, level: GLint, baseViewIndex: GLint, numViews: GLsizei): void;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR: GLenum;\n readonly MAX_VIEWS_OVR: GLenum;\n}\n\n/** @deprecated this is not available in most browsers */\ninterface OffscreenCanvas extends EventTarget {\n}\n\n/** This Canvas 2D API interface is used to declare a path that can then be used on a CanvasRenderingContext2D object. The path methods of the CanvasRenderingContext2D interface are also present on this interface, which gives you the convenience of being able to retain and replay your path whenever desired. */\ninterface Path2D extends CanvasPath {\n /**\n * Adds to the path the path given by the argument.\n */\n addPath(path: Path2D, transform?: DOMMatrix2DInit): void;\n}\n\ndeclare var Path2D: {\n prototype: Path2D;\n new(path?: Path2D | string): Path2D;\n};\n\ninterface PerformanceEventMap {\n "resourcetimingbufferfull": Event;\n}\n\n/** Provides access to performance-related information for the current page. It\'s part of the High Resolution Time API, but is enhanced by the Performance Timeline API, the Navigation Timing API, the User Timing API, and the Resource Timing API. */\ninterface Performance extends EventTarget {\n onresourcetimingbufferfull: ((this: Performance, ev: Event) => any) | null;\n readonly timeOrigin: DOMHighResTimeStamp;\n clearMarks(markName?: string): void;\n clearMeasures(measureName?: string): void;\n clearResourceTimings(): void;\n getEntries(): PerformanceEntryList;\n getEntriesByName(name: string, type?: string): PerformanceEntryList;\n getEntriesByType(type: string): PerformanceEntryList;\n mark(markName: string, markOptions?: PerformanceMarkOptions): PerformanceMark;\n measure(measureName: string, startOrMeasureOptions?: string | PerformanceMeasureOptions, endMark?: string): PerformanceMeasure;\n now(): DOMHighResTimeStamp;\n setResourceTimingBufferSize(maxSize: number): void;\n toJSON(): any;\n addEventListener<K extends keyof PerformanceEventMap>(type: K, listener: (this: Performance, ev: PerformanceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof PerformanceEventMap>(type: K, listener: (this: Performance, ev: PerformanceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Performance: {\n prototype: Performance;\n new(): Performance;\n};\n\n/** Encapsulates a single performance metric that is part of the performance timeline. A performance entry can be directly created by making a performance mark or measure (for example by calling the mark() method) at an explicit point in an application. Performance entries are also created in indirect ways such as loading a resource (such as an image). */\ninterface PerformanceEntry {\n readonly duration: DOMHighResTimeStamp;\n readonly entryType: string;\n readonly name: string;\n readonly startTime: DOMHighResTimeStamp;\n toJSON(): any;\n}\n\ndeclare var PerformanceEntry: {\n prototype: PerformanceEntry;\n new(): PerformanceEntry;\n};\n\n/** PerformanceMark is an abstract interface for PerformanceEntry objects with an entryType of "mark". Entries of this type are created by calling performance.mark() to add a named DOMHighResTimeStamp (the mark) to the browser\'s performance timeline. */\ninterface PerformanceMark extends PerformanceEntry {\n readonly detail: any;\n}\n\ndeclare var PerformanceMark: {\n prototype: PerformanceMark;\n new(markName: string, markOptions?: PerformanceMarkOptions): PerformanceMark;\n};\n\n/** PerformanceMeasure is an abstract interface for PerformanceEntry objects with an entryType of "measure". Entries of this type are created by calling performance.measure() to add a named DOMHighResTimeStamp (the measure) between two marks to the browser\'s performance timeline. */\ninterface PerformanceMeasure extends PerformanceEntry {\n readonly detail: any;\n}\n\ndeclare var PerformanceMeasure: {\n prototype: PerformanceMeasure;\n new(): PerformanceMeasure;\n};\n\ninterface PerformanceObserver {\n disconnect(): void;\n observe(options?: PerformanceObserverInit): void;\n takeRecords(): PerformanceEntryList;\n}\n\ndeclare var PerformanceObserver: {\n prototype: PerformanceObserver;\n new(callback: PerformanceObserverCallback): PerformanceObserver;\n readonly supportedEntryTypes: ReadonlyArray<string>;\n};\n\ninterface PerformanceObserverEntryList {\n getEntries(): PerformanceEntryList;\n getEntriesByName(name: string, type?: string): PerformanceEntryList;\n getEntriesByType(type: string): PerformanceEntryList;\n}\n\ndeclare var PerformanceObserverEntryList: {\n prototype: PerformanceObserverEntryList;\n new(): PerformanceObserverEntryList;\n};\n\n/** Enables retrieval and analysis of detailed network timing data regarding the loading of an application\'s resources. An application can use the timing metrics to determine, for example, the length of time it takes to fetch a specific resource, such as an XMLHttpRequest, <SVG>, image, or script. */\ninterface PerformanceResourceTiming extends PerformanceEntry {\n readonly connectEnd: DOMHighResTimeStamp;\n readonly connectStart: DOMHighResTimeStamp;\n readonly decodedBodySize: number;\n readonly domainLookupEnd: DOMHighResTimeStamp;\n readonly domainLookupStart: DOMHighResTimeStamp;\n readonly encodedBodySize: number;\n readonly fetchStart: DOMHighResTimeStamp;\n readonly initiatorType: string;\n readonly nextHopProtocol: string;\n readonly redirectEnd: DOMHighResTimeStamp;\n readonly redirectStart: DOMHighResTimeStamp;\n readonly requestStart: DOMHighResTimeStamp;\n readonly responseEnd: DOMHighResTimeStamp;\n readonly responseStart: DOMHighResTimeStamp;\n readonly secureConnectionStart: DOMHighResTimeStamp;\n readonly serverTiming: ReadonlyArray<PerformanceServerTiming>;\n readonly transferSize: number;\n readonly workerStart: DOMHighResTimeStamp;\n toJSON(): any;\n}\n\ndeclare var PerformanceResourceTiming: {\n prototype: PerformanceResourceTiming;\n new(): PerformanceResourceTiming;\n};\n\ninterface PerformanceServerTiming {\n readonly description: string;\n readonly duration: DOMHighResTimeStamp;\n readonly name: string;\n toJSON(): any;\n}\n\ndeclare var PerformanceServerTiming: {\n prototype: PerformanceServerTiming;\n new(): PerformanceServerTiming;\n};\n\ninterface PermissionStatusEventMap {\n "change": Event;\n}\n\ninterface PermissionStatus extends EventTarget {\n onchange: ((this: PermissionStatus, ev: Event) => any) | null;\n readonly state: PermissionState;\n addEventListener<K extends keyof PermissionStatusEventMap>(type: K, listener: (this: PermissionStatus, ev: PermissionStatusEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof PermissionStatusEventMap>(type: K, listener: (this: PermissionStatus, ev: PermissionStatusEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var PermissionStatus: {\n prototype: PermissionStatus;\n new(): PermissionStatus;\n};\n\ninterface Permissions {\n query(permissionDesc: PermissionDescriptor): Promise<PermissionStatus>;\n}\n\ndeclare var Permissions: {\n prototype: Permissions;\n new(): Permissions;\n};\n\n/** Events measuring progress of an underlying process, like an HTTP request (for an XMLHttpRequest, or the loading of the underlying resource of an <img>, <audio>, <video>, <style> or <link>). */\ninterface ProgressEvent<T extends EventTarget = EventTarget> extends Event {\n readonly lengthComputable: boolean;\n readonly loaded: number;\n readonly target: T | null;\n readonly total: number;\n}\n\ndeclare var ProgressEvent: {\n prototype: ProgressEvent;\n new(type: string, eventInitDict?: ProgressEventInit): ProgressEvent;\n};\n\ninterface PromiseRejectionEvent extends Event {\n readonly promise: Promise<any>;\n readonly reason: any;\n}\n\ndeclare var PromiseRejectionEvent: {\n prototype: PromiseRejectionEvent;\n new(type: string, eventInitDict: PromiseRejectionEventInit): PromiseRejectionEvent;\n};\n\n/** This Push API interface represents a push message that has been received. This event is sent to the global scope of a ServiceWorker. It contains the information sent from an application server to a PushSubscription. */\ninterface PushEvent extends ExtendableEvent {\n readonly data: PushMessageData | null;\n}\n\ndeclare var PushEvent: {\n prototype: PushEvent;\n new(type: string, eventInitDict?: PushEventInit): PushEvent;\n};\n\n/** This Push API interface provides a way to receive notifications from third-party servers as well as request URLs for push notifications. */\ninterface PushManager {\n getSubscription(): Promise<PushSubscription | null>;\n permissionState(options?: PushSubscriptionOptionsInit): Promise<PushPermissionState>;\n subscribe(options?: PushSubscriptionOptionsInit): Promise<PushSubscription>;\n}\n\ndeclare var PushManager: {\n prototype: PushManager;\n new(): PushManager;\n readonly supportedContentEncodings: ReadonlyArray<string>;\n};\n\n/** This Push API interface provides methods which let you retrieve the push data sent by a server in various formats. */\ninterface PushMessageData {\n arrayBuffer(): ArrayBuffer;\n blob(): Blob;\n json(): any;\n text(): string;\n}\n\ndeclare var PushMessageData: {\n prototype: PushMessageData;\n new(): PushMessageData;\n};\n\n/** This Push API interface provides a subcription\'s URL endpoint and allows unsubscription from a push service. */\ninterface PushSubscription {\n readonly endpoint: string;\n readonly options: PushSubscriptionOptions;\n getKey(name: PushEncryptionKeyName): ArrayBuffer | null;\n toJSON(): PushSubscriptionJSON;\n unsubscribe(): Promise<boolean>;\n}\n\ndeclare var PushSubscription: {\n prototype: PushSubscription;\n new(): PushSubscription;\n};\n\ninterface PushSubscriptionOptions {\n readonly applicationServerKey: ArrayBuffer | null;\n}\n\ndeclare var PushSubscriptionOptions: {\n prototype: PushSubscriptionOptions;\n new(): PushSubscriptionOptions;\n};\n\n/** This Streams API interface represents a readable stream of byte data. The Fetch API offers a concrete instance of a ReadableStream through the body property of a Response object. */\ninterface ReadableStream<R = any> {\n readonly locked: boolean;\n cancel(reason?: any): Promise<void>;\n getReader(): ReadableStreamDefaultReader<R>;\n pipeThrough<T>(transform: ReadableWritablePair<T, R>, options?: StreamPipeOptions): ReadableStream<T>;\n pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;\n tee(): [ReadableStream<R>, ReadableStream<R>];\n forEach(callbackfn: (value: any, key: number, parent: ReadableStream<R>) => void, thisArg?: any): void;\n}\n\ndeclare var ReadableStream: {\n prototype: ReadableStream;\n new<R = any>(underlyingSource?: UnderlyingSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;\n};\n\ninterface ReadableStreamDefaultController<R = any> {\n readonly desiredSize: number | null;\n close(): void;\n enqueue(chunk?: R): void;\n error(e?: any): void;\n}\n\ndeclare var ReadableStreamDefaultController: {\n prototype: ReadableStreamDefaultController;\n new(): ReadableStreamDefaultController;\n};\n\ninterface ReadableStreamDefaultReader<R = any> extends ReadableStreamGenericReader {\n read(): Promise<ReadableStreamDefaultReadResult<R>>;\n releaseLock(): void;\n}\n\ndeclare var ReadableStreamDefaultReader: {\n prototype: ReadableStreamDefaultReader;\n new<R = any>(stream: ReadableStream<R>): ReadableStreamDefaultReader<R>;\n};\n\ninterface ReadableStreamGenericReader {\n readonly closed: Promise<undefined>;\n cancel(reason?: any): Promise<void>;\n}\n\n/** This Fetch API interface represents a resource request. */\ninterface Request extends Body {\n /**\n * Returns the cache mode associated with request, which is a string indicating how the request will interact with the browser\'s cache when fetching.\n */\n readonly cache: RequestCache;\n /**\n * Returns the credentials mode associated with request, which is a string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL.\n */\n readonly credentials: RequestCredentials;\n /**\n * Returns the kind of resource requested by request, e.g., "document" or "script".\n */\n readonly destination: RequestDestination;\n /**\n * Returns a Headers object consisting of the headers associated with request. Note that headers added in the network layer by the user agent will not be accounted for in this object, e.g., the "Host" header.\n */\n readonly headers: Headers;\n /**\n * Returns request\'s subresource integrity metadata, which is a cryptographic hash of the resource being fetched. Its value consists of multiple hashes separated by whitespace. [SRI]\n */\n readonly integrity: string;\n /**\n * Returns a boolean indicating whether or not request can outlive the global in which it was created.\n */\n readonly keepalive: boolean;\n /**\n * Returns request\'s HTTP method, which is "GET" by default.\n */\n readonly method: string;\n /**\n * Returns the mode associated with request, which is a string indicating whether the request will use CORS, or will be restricted to same-origin URLs.\n */\n readonly mode: RequestMode;\n /**\n * Returns the redirect mode associated with request, which is a string indicating how redirects for the request will be handled during fetching. A request will follow redirects by default.\n */\n readonly redirect: RequestRedirect;\n /**\n * Returns the referrer of request. Its value can be a same-origin URL if explicitly set in init, the empty string to indicate no referrer, and "about:client" when defaulting to the global\'s default. This is used during fetching to determine the value of the `Referer` header of the request being made.\n */\n readonly referrer: string;\n /**\n * Returns the referrer policy associated with request. This is used during fetching to compute the value of the request\'s referrer.\n */\n readonly referrerPolicy: ReferrerPolicy;\n /**\n * Returns the signal associated with request, which is an AbortSignal object indicating whether or not request has been aborted, and its abort event handler.\n */\n readonly signal: AbortSignal;\n /**\n * Returns the URL of request as a string.\n */\n readonly url: string;\n clone(): Request;\n}\n\ndeclare var Request: {\n prototype: Request;\n new(input: RequestInfo, init?: RequestInit): Request;\n};\n\n/** This Fetch API interface represents the response to a request. */\ninterface Response extends Body {\n readonly headers: Headers;\n readonly ok: boolean;\n readonly redirected: boolean;\n readonly status: number;\n readonly statusText: string;\n readonly type: ResponseType;\n readonly url: string;\n clone(): Response;\n}\n\ndeclare var Response: {\n prototype: Response;\n new(body?: BodyInit | null, init?: ResponseInit): Response;\n error(): Response;\n redirect(url: string | URL, status?: number): Response;\n};\n\n/** Inherits from Event, and represents the event object of an event sent on a document or worker when its content security policy is violated. */\ninterface SecurityPolicyViolationEvent extends Event {\n readonly blockedURI: string;\n readonly columnNumber: number;\n readonly disposition: SecurityPolicyViolationEventDisposition;\n readonly documentURI: string;\n readonly effectiveDirective: string;\n readonly lineNumber: number;\n readonly originalPolicy: string;\n readonly referrer: string;\n readonly sample: string;\n readonly sourceFile: string;\n readonly statusCode: number;\n readonly violatedDirective: string;\n}\n\ndeclare var SecurityPolicyViolationEvent: {\n prototype: SecurityPolicyViolationEvent;\n new(type: string, eventInitDict?: SecurityPolicyViolationEventInit): SecurityPolicyViolationEvent;\n};\n\ninterface ServiceWorkerEventMap extends AbstractWorkerEventMap {\n "statechange": Event;\n}\n\n/** This ServiceWorker API interface provides a reference to a service worker. Multiple browsing contexts (e.g. pages, workers, etc.) can be associated with the same service worker, each through a unique ServiceWorker object. */\ninterface ServiceWorker extends EventTarget, AbstractWorker {\n onstatechange: ((this: ServiceWorker, ev: Event) => any) | null;\n readonly scriptURL: string;\n readonly state: ServiceWorkerState;\n postMessage(message: any, transfer: Transferable[]): void;\n postMessage(message: any, options?: PostMessageOptions): void;\n addEventListener<K extends keyof ServiceWorkerEventMap>(type: K, listener: (this: ServiceWorker, ev: ServiceWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ServiceWorkerEventMap>(type: K, listener: (this: ServiceWorker, ev: ServiceWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ServiceWorker: {\n prototype: ServiceWorker;\n new(): ServiceWorker;\n};\n\ninterface ServiceWorkerContainerEventMap {\n "controllerchange": Event;\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\n/** The ServiceWorkerContainer interface of the ServiceWorker API provides an object representing the service worker as an overall unit in the network ecosystem, including facilities to register, unregister and update service workers, and access the state of service workers and their registrations. */\ninterface ServiceWorkerContainer extends EventTarget {\n readonly controller: ServiceWorker | null;\n oncontrollerchange: ((this: ServiceWorkerContainer, ev: Event) => any) | null;\n onmessage: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;\n readonly ready: Promise<ServiceWorkerRegistration>;\n getRegistration(clientURL?: string | URL): Promise<ServiceWorkerRegistration | undefined>;\n getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;\n register(scriptURL: string | URL, options?: RegistrationOptions): Promise<ServiceWorkerRegistration>;\n startMessages(): void;\n addEventListener<K extends keyof ServiceWorkerContainerEventMap>(type: K, listener: (this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ServiceWorkerContainerEventMap>(type: K, listener: (this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ServiceWorkerContainer: {\n prototype: ServiceWorkerContainer;\n new(): ServiceWorkerContainer;\n};\n\ninterface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {\n "activate": ExtendableEvent;\n "fetch": FetchEvent;\n "install": ExtendableEvent;\n "message": ExtendableMessageEvent;\n "messageerror": MessageEvent;\n "notificationclick": NotificationEvent;\n "notificationclose": NotificationEvent;\n "push": PushEvent;\n}\n\n/** This ServiceWorker API interface represents the global execution context of a service worker. */\ninterface ServiceWorkerGlobalScope extends WorkerGlobalScope {\n readonly clients: Clients;\n onactivate: ((this: ServiceWorkerGlobalScope, ev: ExtendableEvent) => any) | null;\n onfetch: ((this: ServiceWorkerGlobalScope, ev: FetchEvent) => any) | null;\n oninstall: ((this: ServiceWorkerGlobalScope, ev: ExtendableEvent) => any) | null;\n onmessage: ((this: ServiceWorkerGlobalScope, ev: ExtendableMessageEvent) => any) | null;\n onmessageerror: ((this: ServiceWorkerGlobalScope, ev: MessageEvent) => any) | null;\n onnotificationclick: ((this: ServiceWorkerGlobalScope, ev: NotificationEvent) => any) | null;\n onnotificationclose: ((this: ServiceWorkerGlobalScope, ev: NotificationEvent) => any) | null;\n onpush: ((this: ServiceWorkerGlobalScope, ev: PushEvent) => any) | null;\n readonly registration: ServiceWorkerRegistration;\n skipWaiting(): Promise<void>;\n addEventListener<K extends keyof ServiceWorkerGlobalScopeEventMap>(type: K, listener: (this: ServiceWorkerGlobalScope, ev: ServiceWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ServiceWorkerGlobalScopeEventMap>(type: K, listener: (this: ServiceWorkerGlobalScope, ev: ServiceWorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ServiceWorkerGlobalScope: {\n prototype: ServiceWorkerGlobalScope;\n new(): ServiceWorkerGlobalScope;\n};\n\ninterface ServiceWorkerRegistrationEventMap {\n "updatefound": Event;\n}\n\n/** This ServiceWorker API interface represents the service worker registration. You register a service worker to control one or more pages that share the same origin. */\ninterface ServiceWorkerRegistration extends EventTarget {\n readonly active: ServiceWorker | null;\n readonly installing: ServiceWorker | null;\n onupdatefound: ((this: ServiceWorkerRegistration, ev: Event) => any) | null;\n readonly pushManager: PushManager;\n readonly scope: string;\n readonly updateViaCache: ServiceWorkerUpdateViaCache;\n readonly waiting: ServiceWorker | null;\n getNotifications(filter?: GetNotificationOptions): Promise<Notification[]>;\n showNotification(title: string, options?: NotificationOptions): Promise<void>;\n unregister(): Promise<boolean>;\n update(): Promise<void>;\n addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ServiceWorkerRegistration: {\n prototype: ServiceWorkerRegistration;\n new(): ServiceWorkerRegistration;\n};\n\ninterface SharedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {\n "connect": MessageEvent;\n}\n\ninterface SharedWorkerGlobalScope extends WorkerGlobalScope {\n /**\n * Returns sharedWorkerGlobal\'s name, i.e. the value given to the SharedWorker constructor. Multiple SharedWorker objects can correspond to the same shared worker (and SharedWorkerGlobalScope), by reusing the same name.\n */\n readonly name: string;\n onconnect: ((this: SharedWorkerGlobalScope, ev: MessageEvent) => any) | null;\n /**\n * Aborts sharedWorkerGlobal.\n */\n close(): void;\n addEventListener<K extends keyof SharedWorkerGlobalScopeEventMap>(type: K, listener: (this: SharedWorkerGlobalScope, ev: SharedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SharedWorkerGlobalScopeEventMap>(type: K, listener: (this: SharedWorkerGlobalScope, ev: SharedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SharedWorkerGlobalScope: {\n prototype: SharedWorkerGlobalScope;\n new(): SharedWorkerGlobalScope;\n};\n\ninterface StorageManager {\n estimate(): Promise<StorageEstimate>;\n persisted(): Promise<boolean>;\n}\n\ndeclare var StorageManager: {\n prototype: StorageManager;\n new(): StorageManager;\n};\n\n/** This Web Crypto API interface provides a number of low-level cryptographic functions. It is accessed via the Crypto.subtle properties available in a window context (via Window.crypto). */\ninterface SubtleCrypto {\n decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<any>;\n deriveBits(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, length: number): Promise<ArrayBuffer>;\n deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n digest(algorithm: AlgorithmIdentifier, data: BufferSource): Promise<ArrayBuffer>;\n encrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<any>;\n exportKey(format: "jwk", key: CryptoKey): Promise<JsonWebKey>;\n exportKey(format: Exclude<KeyFormat, "jwk">, key: CryptoKey): Promise<ArrayBuffer>;\n generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKeyPair>;\n generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKeyPair | CryptoKey>;\n importKey(format: "jwk", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n importKey(format: Exclude<KeyFormat, "jwk">, keyData: BufferSource, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n sign(algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;\n unwrapKey(format: KeyFormat, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n verify(algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams, key: CryptoKey, signature: BufferSource, data: BufferSource): Promise<boolean>;\n wrapKey(format: KeyFormat, key: CryptoKey, wrappingKey: CryptoKey, wrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams): Promise<ArrayBuffer>;\n}\n\ndeclare var SubtleCrypto: {\n prototype: SubtleCrypto;\n new(): SubtleCrypto;\n};\n\n/** A decoder for a specific method, that is a specific character encoding, like utf-8, iso-8859-2, koi8, cp1261, gbk, etc. A decoder takes a stream of bytes as input and emits a stream of code points. For a more scalable, non-native library, see StringView a C-like representation of strings based on typed arrays. */\ninterface TextDecoder extends TextDecoderCommon {\n /**\n * Returns the result of running encoding\'s decoder. The method can be invoked zero or more times with options\'s stream set to true, and then once without options\'s stream (or set to false), to process a fragmented input. If the invocation without options\'s stream (or set to false) has no input, it\'s clearest to omit both arguments.\n *\n * ```\n * var string = "", decoder = new TextDecoder(encoding), buffer;\n * while(buffer = next_chunk()) {\n * string += decoder.decode(buffer, {stream:true});\n * }\n * string += decoder.decode(); // end-of-queue\n * ```\n *\n * If the error mode is "fatal" and encoding\'s decoder returns error, throws a TypeError.\n */\n decode(input?: BufferSource, options?: TextDecodeOptions): string;\n}\n\ndeclare var TextDecoder: {\n prototype: TextDecoder;\n new(label?: string, options?: TextDecoderOptions): TextDecoder;\n};\n\ninterface TextDecoderCommon {\n /**\n * Returns encoding\'s name, lowercased.\n */\n readonly encoding: string;\n /**\n * Returns true if error mode is "fatal", otherwise false.\n */\n readonly fatal: boolean;\n /**\n * Returns the value of ignore BOM.\n */\n readonly ignoreBOM: boolean;\n}\n\ninterface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {\n readonly readable: ReadableStream<string>;\n readonly writable: WritableStream<BufferSource>;\n}\n\ndeclare var TextDecoderStream: {\n prototype: TextDecoderStream;\n new(label?: string, options?: TextDecoderOptions): TextDecoderStream;\n};\n\n/** TextEncoder takes a stream of code points as input and emits a stream of bytes. For a more scalable, non-native library, see StringView a C-like representation of strings based on typed arrays. */\ninterface TextEncoder extends TextEncoderCommon {\n /**\n * Returns the result of running UTF-8\'s encoder.\n */\n encode(input?: string): Uint8Array;\n /**\n * Runs the UTF-8 encoder on source, stores the result of that operation into destination, and returns the progress made as an object wherein read is the number of converted code units of source and written is the number of bytes modified in destination.\n */\n encodeInto(source: string, destination: Uint8Array): TextEncoderEncodeIntoResult;\n}\n\ndeclare var TextEncoder: {\n prototype: TextEncoder;\n new(): TextEncoder;\n};\n\ninterface TextEncoderCommon {\n /**\n * Returns "utf-8".\n */\n readonly encoding: string;\n}\n\ninterface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {\n readonly readable: ReadableStream<Uint8Array>;\n readonly writable: WritableStream<string>;\n}\n\ndeclare var TextEncoderStream: {\n prototype: TextEncoderStream;\n new(): TextEncoderStream;\n};\n\n/** The dimensions of a piece of text in the canvas, as created by the CanvasRenderingContext2D.measureText() method. */\ninterface TextMetrics {\n /**\n * Returns the measurement described below.\n */\n readonly actualBoundingBoxAscent: number;\n /**\n * Returns the measurement described below.\n */\n readonly actualBoundingBoxDescent: number;\n /**\n * Returns the measurement described below.\n */\n readonly actualBoundingBoxLeft: number;\n /**\n * Returns the measurement described below.\n */\n readonly actualBoundingBoxRight: number;\n /**\n * Returns the measurement described below.\n */\n readonly fontBoundingBoxAscent: number;\n /**\n * Returns the measurement described below.\n */\n readonly fontBoundingBoxDescent: number;\n /**\n * Returns the measurement described below.\n */\n readonly width: number;\n}\n\ndeclare var TextMetrics: {\n prototype: TextMetrics;\n new(): TextMetrics;\n};\n\ninterface TransformStream<I = any, O = any> {\n readonly readable: ReadableStream<O>;\n readonly writable: WritableStream<I>;\n}\n\ndeclare var TransformStream: {\n prototype: TransformStream;\n new<I = any, O = any>(transformer?: Transformer<I, O>, writableStrategy?: QueuingStrategy<I>, readableStrategy?: QueuingStrategy<O>): TransformStream<I, O>;\n};\n\ninterface TransformStreamDefaultController<O = any> {\n readonly desiredSize: number | null;\n enqueue(chunk?: O): void;\n error(reason?: any): void;\n terminate(): void;\n}\n\ndeclare var TransformStreamDefaultController: {\n prototype: TransformStreamDefaultController;\n new(): TransformStreamDefaultController;\n};\n\n/** The URL interface represents an object providing static methods used for creating object URLs. */\ninterface URL {\n hash: string;\n host: string;\n hostname: string;\n href: string;\n toString(): string;\n readonly origin: string;\n password: string;\n pathname: string;\n port: string;\n protocol: string;\n search: string;\n readonly searchParams: URLSearchParams;\n username: string;\n toJSON(): string;\n}\n\ndeclare var URL: {\n prototype: URL;\n new(url: string | URL, base?: string | URL): URL;\n createObjectURL(object: any): string;\n revokeObjectURL(url: string): void;\n};\n\ninterface URLSearchParams {\n /**\n * Appends a specified key/value pair as a new search parameter.\n */\n append(name: string, value: string): void;\n /**\n * Deletes the given search parameter, and its associated value, from the list of all search parameters.\n */\n delete(name: string): void;\n /**\n * Returns the first value associated to the given search parameter.\n */\n get(name: string): string | null;\n /**\n * Returns all the values association with a given search parameter.\n */\n getAll(name: string): string[];\n /**\n * Returns a Boolean indicating if such a search parameter exists.\n */\n has(name: string): boolean;\n /**\n * Sets the value associated to a given search parameter to the given value. If there were several values, delete the others.\n */\n set(name: string, value: string): void;\n sort(): void;\n /**\n * Returns a string containing a query string suitable for use in a URL. Does not include the question mark.\n */\n toString(): string;\n forEach(callbackfn: (value: string, key: string, parent: URLSearchParams) => void, thisArg?: any): void;\n}\n\ndeclare var URLSearchParams: {\n prototype: URLSearchParams;\n new(init?: string[][] | Record<string, string> | string | URLSearchParams): URLSearchParams;\n toString(): string;\n};\n\ninterface WEBGL_color_buffer_float {\n readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: GLenum;\n readonly RGBA32F_EXT: GLenum;\n readonly UNSIGNED_NORMALIZED_EXT: GLenum;\n}\n\ninterface WEBGL_compressed_texture_astc {\n getSupportedProfiles(): string[];\n readonly COMPRESSED_RGBA_ASTC_10x10_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_10x5_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_10x6_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_10x8_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_12x10_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_12x12_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_4x4_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_5x4_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_5x5_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_6x5_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_6x6_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_8x5_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_8x6_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_8x8_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR: GLenum;\n}\n\ninterface WEBGL_compressed_texture_etc {\n readonly COMPRESSED_R11_EAC: GLenum;\n readonly COMPRESSED_RG11_EAC: GLenum;\n readonly COMPRESSED_RGB8_ETC2: GLenum;\n readonly COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2: GLenum;\n readonly COMPRESSED_RGBA8_ETC2_EAC: GLenum;\n readonly COMPRESSED_SIGNED_R11_EAC: GLenum;\n readonly COMPRESSED_SIGNED_RG11_EAC: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ETC2_EAC: GLenum;\n readonly COMPRESSED_SRGB8_ETC2: GLenum;\n readonly COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2: GLenum;\n}\n\ninterface WEBGL_compressed_texture_etc1 {\n readonly COMPRESSED_RGB_ETC1_WEBGL: GLenum;\n}\n\ninterface WEBGL_compressed_texture_pvrtc {\n readonly COMPRESSED_RGBA_PVRTC_2BPPV1_IMG: GLenum;\n readonly COMPRESSED_RGBA_PVRTC_4BPPV1_IMG: GLenum;\n readonly COMPRESSED_RGB_PVRTC_2BPPV1_IMG: GLenum;\n readonly COMPRESSED_RGB_PVRTC_4BPPV1_IMG: GLenum;\n}\n\n/** The WEBGL_compressed_texture_s3tc extension is part of the WebGL API and exposes four S3TC compressed texture formats. */\ninterface WEBGL_compressed_texture_s3tc {\n readonly COMPRESSED_RGBA_S3TC_DXT1_EXT: GLenum;\n readonly COMPRESSED_RGBA_S3TC_DXT3_EXT: GLenum;\n readonly COMPRESSED_RGBA_S3TC_DXT5_EXT: GLenum;\n readonly COMPRESSED_RGB_S3TC_DXT1_EXT: GLenum;\n}\n\ninterface WEBGL_compressed_texture_s3tc_srgb {\n readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: GLenum;\n readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: GLenum;\n readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT: GLenum;\n readonly COMPRESSED_SRGB_S3TC_DXT1_EXT: GLenum;\n}\n\n/** The WEBGL_debug_renderer_info extension is part of the WebGL API and exposes two constants with information about the graphics driver for debugging purposes. */\ninterface WEBGL_debug_renderer_info {\n readonly UNMASKED_RENDERER_WEBGL: GLenum;\n readonly UNMASKED_VENDOR_WEBGL: GLenum;\n}\n\ninterface WEBGL_debug_shaders {\n getTranslatedShaderSource(shader: WebGLShader): string;\n}\n\n/** The WEBGL_depth_texture extension is part of the WebGL API and defines 2D depth and depth-stencil textures. */\ninterface WEBGL_depth_texture {\n readonly UNSIGNED_INT_24_8_WEBGL: GLenum;\n}\n\ninterface WEBGL_draw_buffers {\n drawBuffersWEBGL(buffers: GLenum[]): void;\n readonly COLOR_ATTACHMENT0_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT10_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT11_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT12_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT13_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT14_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT15_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT1_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT2_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT3_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT4_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT5_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT6_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT7_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT8_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT9_WEBGL: GLenum;\n readonly DRAW_BUFFER0_WEBGL: GLenum;\n readonly DRAW_BUFFER10_WEBGL: GLenum;\n readonly DRAW_BUFFER11_WEBGL: GLenum;\n readonly DRAW_BUFFER12_WEBGL: GLenum;\n readonly DRAW_BUFFER13_WEBGL: GLenum;\n readonly DRAW_BUFFER14_WEBGL: GLenum;\n readonly DRAW_BUFFER15_WEBGL: GLenum;\n readonly DRAW_BUFFER1_WEBGL: GLenum;\n readonly DRAW_BUFFER2_WEBGL: GLenum;\n readonly DRAW_BUFFER3_WEBGL: GLenum;\n readonly DRAW_BUFFER4_WEBGL: GLenum;\n readonly DRAW_BUFFER5_WEBGL: GLenum;\n readonly DRAW_BUFFER6_WEBGL: GLenum;\n readonly DRAW_BUFFER7_WEBGL: GLenum;\n readonly DRAW_BUFFER8_WEBGL: GLenum;\n readonly DRAW_BUFFER9_WEBGL: GLenum;\n readonly MAX_COLOR_ATTACHMENTS_WEBGL: GLenum;\n readonly MAX_DRAW_BUFFERS_WEBGL: GLenum;\n}\n\ninterface WEBGL_lose_context {\n loseContext(): void;\n restoreContext(): void;\n}\n\ninterface WebGL2RenderingContext extends WebGL2RenderingContextBase, WebGL2RenderingContextOverloads, WebGLRenderingContextBase {\n}\n\ndeclare var WebGL2RenderingContext: {\n prototype: WebGL2RenderingContext;\n new(): WebGL2RenderingContext;\n readonly ACTIVE_UNIFORM_BLOCKS: GLenum;\n readonly ALREADY_SIGNALED: GLenum;\n readonly ANY_SAMPLES_PASSED: GLenum;\n readonly ANY_SAMPLES_PASSED_CONSERVATIVE: GLenum;\n readonly COLOR: GLenum;\n readonly COLOR_ATTACHMENT1: GLenum;\n readonly COLOR_ATTACHMENT10: GLenum;\n readonly COLOR_ATTACHMENT11: GLenum;\n readonly COLOR_ATTACHMENT12: GLenum;\n readonly COLOR_ATTACHMENT13: GLenum;\n readonly COLOR_ATTACHMENT14: GLenum;\n readonly COLOR_ATTACHMENT15: GLenum;\n readonly COLOR_ATTACHMENT2: GLenum;\n readonly COLOR_ATTACHMENT3: GLenum;\n readonly COLOR_ATTACHMENT4: GLenum;\n readonly COLOR_ATTACHMENT5: GLenum;\n readonly COLOR_ATTACHMENT6: GLenum;\n readonly COLOR_ATTACHMENT7: GLenum;\n readonly COLOR_ATTACHMENT8: GLenum;\n readonly COLOR_ATTACHMENT9: GLenum;\n readonly COMPARE_REF_TO_TEXTURE: GLenum;\n readonly CONDITION_SATISFIED: GLenum;\n readonly COPY_READ_BUFFER: GLenum;\n readonly COPY_READ_BUFFER_BINDING: GLenum;\n readonly COPY_WRITE_BUFFER: GLenum;\n readonly COPY_WRITE_BUFFER_BINDING: GLenum;\n readonly CURRENT_QUERY: GLenum;\n readonly DEPTH: GLenum;\n readonly DEPTH24_STENCIL8: GLenum;\n readonly DEPTH32F_STENCIL8: GLenum;\n readonly DEPTH_COMPONENT24: GLenum;\n readonly DEPTH_COMPONENT32F: GLenum;\n readonly DRAW_BUFFER0: GLenum;\n readonly DRAW_BUFFER1: GLenum;\n readonly DRAW_BUFFER10: GLenum;\n readonly DRAW_BUFFER11: GLenum;\n readonly DRAW_BUFFER12: GLenum;\n readonly DRAW_BUFFER13: GLenum;\n readonly DRAW_BUFFER14: GLenum;\n readonly DRAW_BUFFER15: GLenum;\n readonly DRAW_BUFFER2: GLenum;\n readonly DRAW_BUFFER3: GLenum;\n readonly DRAW_BUFFER4: GLenum;\n readonly DRAW_BUFFER5: GLenum;\n readonly DRAW_BUFFER6: GLenum;\n readonly DRAW_BUFFER7: GLenum;\n readonly DRAW_BUFFER8: GLenum;\n readonly DRAW_BUFFER9: GLenum;\n readonly DRAW_FRAMEBUFFER: GLenum;\n readonly DRAW_FRAMEBUFFER_BINDING: GLenum;\n readonly DYNAMIC_COPY: GLenum;\n readonly DYNAMIC_READ: GLenum;\n readonly FLOAT_32_UNSIGNED_INT_24_8_REV: GLenum;\n readonly FLOAT_MAT2x3: GLenum;\n readonly FLOAT_MAT2x4: GLenum;\n readonly FLOAT_MAT3x2: GLenum;\n readonly FLOAT_MAT3x4: GLenum;\n readonly FLOAT_MAT4x2: GLenum;\n readonly FLOAT_MAT4x3: GLenum;\n readonly FRAGMENT_SHADER_DERIVATIVE_HINT: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_RED_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: GLenum;\n readonly FRAMEBUFFER_DEFAULT: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: GLenum;\n readonly HALF_FLOAT: GLenum;\n readonly INTERLEAVED_ATTRIBS: GLenum;\n readonly INT_2_10_10_10_REV: GLenum;\n readonly INT_SAMPLER_2D: GLenum;\n readonly INT_SAMPLER_2D_ARRAY: GLenum;\n readonly INT_SAMPLER_3D: GLenum;\n readonly INT_SAMPLER_CUBE: GLenum;\n readonly INVALID_INDEX: GLenum;\n readonly MAX: GLenum;\n readonly MAX_3D_TEXTURE_SIZE: GLenum;\n readonly MAX_ARRAY_TEXTURE_LAYERS: GLenum;\n readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL: GLenum;\n readonly MAX_COLOR_ATTACHMENTS: GLenum;\n readonly MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_COMBINED_UNIFORM_BLOCKS: GLenum;\n readonly MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_DRAW_BUFFERS: GLenum;\n readonly MAX_ELEMENTS_INDICES: GLenum;\n readonly MAX_ELEMENTS_VERTICES: GLenum;\n readonly MAX_ELEMENT_INDEX: GLenum;\n readonly MAX_FRAGMENT_INPUT_COMPONENTS: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_BLOCKS: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_PROGRAM_TEXEL_OFFSET: GLenum;\n readonly MAX_SAMPLES: GLenum;\n readonly MAX_SERVER_WAIT_TIMEOUT: GLenum;\n readonly MAX_TEXTURE_LOD_BIAS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: GLenum;\n readonly MAX_UNIFORM_BLOCK_SIZE: GLenum;\n readonly MAX_UNIFORM_BUFFER_BINDINGS: GLenum;\n readonly MAX_VARYING_COMPONENTS: GLenum;\n readonly MAX_VERTEX_OUTPUT_COMPONENTS: GLenum;\n readonly MAX_VERTEX_UNIFORM_BLOCKS: GLenum;\n readonly MAX_VERTEX_UNIFORM_COMPONENTS: GLenum;\n readonly MIN: GLenum;\n readonly MIN_PROGRAM_TEXEL_OFFSET: GLenum;\n readonly OBJECT_TYPE: GLenum;\n readonly PACK_ROW_LENGTH: GLenum;\n readonly PACK_SKIP_PIXELS: GLenum;\n readonly PACK_SKIP_ROWS: GLenum;\n readonly PIXEL_PACK_BUFFER: GLenum;\n readonly PIXEL_PACK_BUFFER_BINDING: GLenum;\n readonly PIXEL_UNPACK_BUFFER: GLenum;\n readonly PIXEL_UNPACK_BUFFER_BINDING: GLenum;\n readonly QUERY_RESULT: GLenum;\n readonly QUERY_RESULT_AVAILABLE: GLenum;\n readonly R11F_G11F_B10F: GLenum;\n readonly R16F: GLenum;\n readonly R16I: GLenum;\n readonly R16UI: GLenum;\n readonly R32F: GLenum;\n readonly R32I: GLenum;\n readonly R32UI: GLenum;\n readonly R8: GLenum;\n readonly R8I: GLenum;\n readonly R8UI: GLenum;\n readonly R8_SNORM: GLenum;\n readonly RASTERIZER_DISCARD: GLenum;\n readonly READ_BUFFER: GLenum;\n readonly READ_FRAMEBUFFER: GLenum;\n readonly READ_FRAMEBUFFER_BINDING: GLenum;\n readonly RED: GLenum;\n readonly RED_INTEGER: GLenum;\n readonly RENDERBUFFER_SAMPLES: GLenum;\n readonly RG: GLenum;\n readonly RG16F: GLenum;\n readonly RG16I: GLenum;\n readonly RG16UI: GLenum;\n readonly RG32F: GLenum;\n readonly RG32I: GLenum;\n readonly RG32UI: GLenum;\n readonly RG8: GLenum;\n readonly RG8I: GLenum;\n readonly RG8UI: GLenum;\n readonly RG8_SNORM: GLenum;\n readonly RGB10_A2: GLenum;\n readonly RGB10_A2UI: GLenum;\n readonly RGB16F: GLenum;\n readonly RGB16I: GLenum;\n readonly RGB16UI: GLenum;\n readonly RGB32F: GLenum;\n readonly RGB32I: GLenum;\n readonly RGB32UI: GLenum;\n readonly RGB8: GLenum;\n readonly RGB8I: GLenum;\n readonly RGB8UI: GLenum;\n readonly RGB8_SNORM: GLenum;\n readonly RGB9_E5: GLenum;\n readonly RGBA16F: GLenum;\n readonly RGBA16I: GLenum;\n readonly RGBA16UI: GLenum;\n readonly RGBA32F: GLenum;\n readonly RGBA32I: GLenum;\n readonly RGBA32UI: GLenum;\n readonly RGBA8: GLenum;\n readonly RGBA8I: GLenum;\n readonly RGBA8UI: GLenum;\n readonly RGBA8_SNORM: GLenum;\n readonly RGBA_INTEGER: GLenum;\n readonly RGB_INTEGER: GLenum;\n readonly RG_INTEGER: GLenum;\n readonly SAMPLER_2D_ARRAY: GLenum;\n readonly SAMPLER_2D_ARRAY_SHADOW: GLenum;\n readonly SAMPLER_2D_SHADOW: GLenum;\n readonly SAMPLER_3D: GLenum;\n readonly SAMPLER_BINDING: GLenum;\n readonly SAMPLER_CUBE_SHADOW: GLenum;\n readonly SEPARATE_ATTRIBS: GLenum;\n readonly SIGNALED: GLenum;\n readonly SIGNED_NORMALIZED: GLenum;\n readonly SRGB: GLenum;\n readonly SRGB8: GLenum;\n readonly SRGB8_ALPHA8: GLenum;\n readonly STATIC_COPY: GLenum;\n readonly STATIC_READ: GLenum;\n readonly STENCIL: GLenum;\n readonly STREAM_COPY: GLenum;\n readonly STREAM_READ: GLenum;\n readonly SYNC_CONDITION: GLenum;\n readonly SYNC_FENCE: GLenum;\n readonly SYNC_FLAGS: GLenum;\n readonly SYNC_FLUSH_COMMANDS_BIT: GLenum;\n readonly SYNC_GPU_COMMANDS_COMPLETE: GLenum;\n readonly SYNC_STATUS: GLenum;\n readonly TEXTURE_2D_ARRAY: GLenum;\n readonly TEXTURE_3D: GLenum;\n readonly TEXTURE_BASE_LEVEL: GLenum;\n readonly TEXTURE_BINDING_2D_ARRAY: GLenum;\n readonly TEXTURE_BINDING_3D: GLenum;\n readonly TEXTURE_COMPARE_FUNC: GLenum;\n readonly TEXTURE_COMPARE_MODE: GLenum;\n readonly TEXTURE_IMMUTABLE_FORMAT: GLenum;\n readonly TEXTURE_IMMUTABLE_LEVELS: GLenum;\n readonly TEXTURE_MAX_LEVEL: GLenum;\n readonly TEXTURE_MAX_LOD: GLenum;\n readonly TEXTURE_MIN_LOD: GLenum;\n readonly TEXTURE_WRAP_R: GLenum;\n readonly TIMEOUT_EXPIRED: GLenum;\n readonly TIMEOUT_IGNORED: GLint64;\n readonly TRANSFORM_FEEDBACK: GLenum;\n readonly TRANSFORM_FEEDBACK_ACTIVE: GLenum;\n readonly TRANSFORM_FEEDBACK_BINDING: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_BINDING: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_MODE: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_SIZE: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_START: GLenum;\n readonly TRANSFORM_FEEDBACK_PAUSED: GLenum;\n readonly TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: GLenum;\n readonly TRANSFORM_FEEDBACK_VARYINGS: GLenum;\n readonly UNIFORM_ARRAY_STRIDE: GLenum;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORMS: GLenum;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: GLenum;\n readonly UNIFORM_BLOCK_BINDING: GLenum;\n readonly UNIFORM_BLOCK_DATA_SIZE: GLenum;\n readonly UNIFORM_BLOCK_INDEX: GLenum;\n readonly UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: GLenum;\n readonly UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: GLenum;\n readonly UNIFORM_BUFFER: GLenum;\n readonly UNIFORM_BUFFER_BINDING: GLenum;\n readonly UNIFORM_BUFFER_OFFSET_ALIGNMENT: GLenum;\n readonly UNIFORM_BUFFER_SIZE: GLenum;\n readonly UNIFORM_BUFFER_START: GLenum;\n readonly UNIFORM_IS_ROW_MAJOR: GLenum;\n readonly UNIFORM_MATRIX_STRIDE: GLenum;\n readonly UNIFORM_OFFSET: GLenum;\n readonly UNIFORM_SIZE: GLenum;\n readonly UNIFORM_TYPE: GLenum;\n readonly UNPACK_IMAGE_HEIGHT: GLenum;\n readonly UNPACK_ROW_LENGTH: GLenum;\n readonly UNPACK_SKIP_IMAGES: GLenum;\n readonly UNPACK_SKIP_PIXELS: GLenum;\n readonly UNPACK_SKIP_ROWS: GLenum;\n readonly UNSIGNALED: GLenum;\n readonly UNSIGNED_INT_10F_11F_11F_REV: GLenum;\n readonly UNSIGNED_INT_24_8: GLenum;\n readonly UNSIGNED_INT_2_10_10_10_REV: GLenum;\n readonly UNSIGNED_INT_5_9_9_9_REV: GLenum;\n readonly UNSIGNED_INT_SAMPLER_2D: GLenum;\n readonly UNSIGNED_INT_SAMPLER_2D_ARRAY: GLenum;\n readonly UNSIGNED_INT_SAMPLER_3D: GLenum;\n readonly UNSIGNED_INT_SAMPLER_CUBE: GLenum;\n readonly UNSIGNED_INT_VEC2: GLenum;\n readonly UNSIGNED_INT_VEC3: GLenum;\n readonly UNSIGNED_INT_VEC4: GLenum;\n readonly UNSIGNED_NORMALIZED: GLenum;\n readonly VERTEX_ARRAY_BINDING: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_DIVISOR: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_INTEGER: GLenum;\n readonly WAIT_FAILED: GLenum;\n readonly ACTIVE_ATTRIBUTES: GLenum;\n readonly ACTIVE_TEXTURE: GLenum;\n readonly ACTIVE_UNIFORMS: GLenum;\n readonly ALIASED_LINE_WIDTH_RANGE: GLenum;\n readonly ALIASED_POINT_SIZE_RANGE: GLenum;\n readonly ALPHA: GLenum;\n readonly ALPHA_BITS: GLenum;\n readonly ALWAYS: GLenum;\n readonly ARRAY_BUFFER: GLenum;\n readonly ARRAY_BUFFER_BINDING: GLenum;\n readonly ATTACHED_SHADERS: GLenum;\n readonly BACK: GLenum;\n readonly BLEND: GLenum;\n readonly BLEND_COLOR: GLenum;\n readonly BLEND_DST_ALPHA: GLenum;\n readonly BLEND_DST_RGB: GLenum;\n readonly BLEND_EQUATION: GLenum;\n readonly BLEND_EQUATION_ALPHA: GLenum;\n readonly BLEND_EQUATION_RGB: GLenum;\n readonly BLEND_SRC_ALPHA: GLenum;\n readonly BLEND_SRC_RGB: GLenum;\n readonly BLUE_BITS: GLenum;\n readonly BOOL: GLenum;\n readonly BOOL_VEC2: GLenum;\n readonly BOOL_VEC3: GLenum;\n readonly BOOL_VEC4: GLenum;\n readonly BROWSER_DEFAULT_WEBGL: GLenum;\n readonly BUFFER_SIZE: GLenum;\n readonly BUFFER_USAGE: GLenum;\n readonly BYTE: GLenum;\n readonly CCW: GLenum;\n readonly CLAMP_TO_EDGE: GLenum;\n readonly COLOR_ATTACHMENT0: GLenum;\n readonly COLOR_BUFFER_BIT: GLenum;\n readonly COLOR_CLEAR_VALUE: GLenum;\n readonly COLOR_WRITEMASK: GLenum;\n readonly COMPILE_STATUS: GLenum;\n readonly COMPRESSED_TEXTURE_FORMATS: GLenum;\n readonly CONSTANT_ALPHA: GLenum;\n readonly CONSTANT_COLOR: GLenum;\n readonly CONTEXT_LOST_WEBGL: GLenum;\n readonly CULL_FACE: GLenum;\n readonly CULL_FACE_MODE: GLenum;\n readonly CURRENT_PROGRAM: GLenum;\n readonly CURRENT_VERTEX_ATTRIB: GLenum;\n readonly CW: GLenum;\n readonly DECR: GLenum;\n readonly DECR_WRAP: GLenum;\n readonly DELETE_STATUS: GLenum;\n readonly DEPTH_ATTACHMENT: GLenum;\n readonly DEPTH_BITS: GLenum;\n readonly DEPTH_BUFFER_BIT: GLenum;\n readonly DEPTH_CLEAR_VALUE: GLenum;\n readonly DEPTH_COMPONENT: GLenum;\n readonly DEPTH_COMPONENT16: GLenum;\n readonly DEPTH_FUNC: GLenum;\n readonly DEPTH_RANGE: GLenum;\n readonly DEPTH_STENCIL: GLenum;\n readonly DEPTH_STENCIL_ATTACHMENT: GLenum;\n readonly DEPTH_TEST: GLenum;\n readonly DEPTH_WRITEMASK: GLenum;\n readonly DITHER: GLenum;\n readonly DONT_CARE: GLenum;\n readonly DST_ALPHA: GLenum;\n readonly DST_COLOR: GLenum;\n readonly DYNAMIC_DRAW: GLenum;\n readonly ELEMENT_ARRAY_BUFFER: GLenum;\n readonly ELEMENT_ARRAY_BUFFER_BINDING: GLenum;\n readonly EQUAL: GLenum;\n readonly FASTEST: GLenum;\n readonly FLOAT: GLenum;\n readonly FLOAT_MAT2: GLenum;\n readonly FLOAT_MAT3: GLenum;\n readonly FLOAT_MAT4: GLenum;\n readonly FLOAT_VEC2: GLenum;\n readonly FLOAT_VEC3: GLenum;\n readonly FLOAT_VEC4: GLenum;\n readonly FRAGMENT_SHADER: GLenum;\n readonly FRAMEBUFFER: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: GLenum;\n readonly FRAMEBUFFER_BINDING: GLenum;\n readonly FRAMEBUFFER_COMPLETE: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_UNSUPPORTED: GLenum;\n readonly FRONT: GLenum;\n readonly FRONT_AND_BACK: GLenum;\n readonly FRONT_FACE: GLenum;\n readonly FUNC_ADD: GLenum;\n readonly FUNC_REVERSE_SUBTRACT: GLenum;\n readonly FUNC_SUBTRACT: GLenum;\n readonly GENERATE_MIPMAP_HINT: GLenum;\n readonly GEQUAL: GLenum;\n readonly GREATER: GLenum;\n readonly GREEN_BITS: GLenum;\n readonly HIGH_FLOAT: GLenum;\n readonly HIGH_INT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_FORMAT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_TYPE: GLenum;\n readonly INCR: GLenum;\n readonly INCR_WRAP: GLenum;\n readonly INT: GLenum;\n readonly INT_VEC2: GLenum;\n readonly INT_VEC3: GLenum;\n readonly INT_VEC4: GLenum;\n readonly INVALID_ENUM: GLenum;\n readonly INVALID_FRAMEBUFFER_OPERATION: GLenum;\n readonly INVALID_OPERATION: GLenum;\n readonly INVALID_VALUE: GLenum;\n readonly INVERT: GLenum;\n readonly KEEP: GLenum;\n readonly LEQUAL: GLenum;\n readonly LESS: GLenum;\n readonly LINEAR: GLenum;\n readonly LINEAR_MIPMAP_LINEAR: GLenum;\n readonly LINEAR_MIPMAP_NEAREST: GLenum;\n readonly LINES: GLenum;\n readonly LINE_LOOP: GLenum;\n readonly LINE_STRIP: GLenum;\n readonly LINE_WIDTH: GLenum;\n readonly LINK_STATUS: GLenum;\n readonly LOW_FLOAT: GLenum;\n readonly LOW_INT: GLenum;\n readonly LUMINANCE: GLenum;\n readonly LUMINANCE_ALPHA: GLenum;\n readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_CUBE_MAP_TEXTURE_SIZE: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_VECTORS: GLenum;\n readonly MAX_RENDERBUFFER_SIZE: GLenum;\n readonly MAX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_TEXTURE_SIZE: GLenum;\n readonly MAX_VARYING_VECTORS: GLenum;\n readonly MAX_VERTEX_ATTRIBS: GLenum;\n readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_VERTEX_UNIFORM_VECTORS: GLenum;\n readonly MAX_VIEWPORT_DIMS: GLenum;\n readonly MEDIUM_FLOAT: GLenum;\n readonly MEDIUM_INT: GLenum;\n readonly MIRRORED_REPEAT: GLenum;\n readonly NEAREST: GLenum;\n readonly NEAREST_MIPMAP_LINEAR: GLenum;\n readonly NEAREST_MIPMAP_NEAREST: GLenum;\n readonly NEVER: GLenum;\n readonly NICEST: GLenum;\n readonly NONE: GLenum;\n readonly NOTEQUAL: GLenum;\n readonly NO_ERROR: GLenum;\n readonly ONE: GLenum;\n readonly ONE_MINUS_CONSTANT_ALPHA: GLenum;\n readonly ONE_MINUS_CONSTANT_COLOR: GLenum;\n readonly ONE_MINUS_DST_ALPHA: GLenum;\n readonly ONE_MINUS_DST_COLOR: GLenum;\n readonly ONE_MINUS_SRC_ALPHA: GLenum;\n readonly ONE_MINUS_SRC_COLOR: GLenum;\n readonly OUT_OF_MEMORY: GLenum;\n readonly PACK_ALIGNMENT: GLenum;\n readonly POINTS: GLenum;\n readonly POLYGON_OFFSET_FACTOR: GLenum;\n readonly POLYGON_OFFSET_FILL: GLenum;\n readonly POLYGON_OFFSET_UNITS: GLenum;\n readonly RED_BITS: GLenum;\n readonly RENDERBUFFER: GLenum;\n readonly RENDERBUFFER_ALPHA_SIZE: GLenum;\n readonly RENDERBUFFER_BINDING: GLenum;\n readonly RENDERBUFFER_BLUE_SIZE: GLenum;\n readonly RENDERBUFFER_DEPTH_SIZE: GLenum;\n readonly RENDERBUFFER_GREEN_SIZE: GLenum;\n readonly RENDERBUFFER_HEIGHT: GLenum;\n readonly RENDERBUFFER_INTERNAL_FORMAT: GLenum;\n readonly RENDERBUFFER_RED_SIZE: GLenum;\n readonly RENDERBUFFER_STENCIL_SIZE: GLenum;\n readonly RENDERBUFFER_WIDTH: GLenum;\n readonly RENDERER: GLenum;\n readonly REPEAT: GLenum;\n readonly REPLACE: GLenum;\n readonly RGB: GLenum;\n readonly RGB565: GLenum;\n readonly RGB5_A1: GLenum;\n readonly RGBA: GLenum;\n readonly RGBA4: GLenum;\n readonly SAMPLER_2D: GLenum;\n readonly SAMPLER_CUBE: GLenum;\n readonly SAMPLES: GLenum;\n readonly SAMPLE_ALPHA_TO_COVERAGE: GLenum;\n readonly SAMPLE_BUFFERS: GLenum;\n readonly SAMPLE_COVERAGE: GLenum;\n readonly SAMPLE_COVERAGE_INVERT: GLenum;\n readonly SAMPLE_COVERAGE_VALUE: GLenum;\n readonly SCISSOR_BOX: GLenum;\n readonly SCISSOR_TEST: GLenum;\n readonly SHADER_TYPE: GLenum;\n readonly SHADING_LANGUAGE_VERSION: GLenum;\n readonly SHORT: GLenum;\n readonly SRC_ALPHA: GLenum;\n readonly SRC_ALPHA_SATURATE: GLenum;\n readonly SRC_COLOR: GLenum;\n readonly STATIC_DRAW: GLenum;\n readonly STENCIL_ATTACHMENT: GLenum;\n readonly STENCIL_BACK_FAIL: GLenum;\n readonly STENCIL_BACK_FUNC: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_BACK_REF: GLenum;\n readonly STENCIL_BACK_VALUE_MASK: GLenum;\n readonly STENCIL_BACK_WRITEMASK: GLenum;\n readonly STENCIL_BITS: GLenum;\n readonly STENCIL_BUFFER_BIT: GLenum;\n readonly STENCIL_CLEAR_VALUE: GLenum;\n readonly STENCIL_FAIL: GLenum;\n readonly STENCIL_FUNC: GLenum;\n readonly STENCIL_INDEX8: GLenum;\n readonly STENCIL_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_REF: GLenum;\n readonly STENCIL_TEST: GLenum;\n readonly STENCIL_VALUE_MASK: GLenum;\n readonly STENCIL_WRITEMASK: GLenum;\n readonly STREAM_DRAW: GLenum;\n readonly SUBPIXEL_BITS: GLenum;\n readonly TEXTURE: GLenum;\n readonly TEXTURE0: GLenum;\n readonly TEXTURE1: GLenum;\n readonly TEXTURE10: GLenum;\n readonly TEXTURE11: GLenum;\n readonly TEXTURE12: GLenum;\n readonly TEXTURE13: GLenum;\n readonly TEXTURE14: GLenum;\n readonly TEXTURE15: GLenum;\n readonly TEXTURE16: GLenum;\n readonly TEXTURE17: GLenum;\n readonly TEXTURE18: GLenum;\n readonly TEXTURE19: GLenum;\n readonly TEXTURE2: GLenum;\n readonly TEXTURE20: GLenum;\n readonly TEXTURE21: GLenum;\n readonly TEXTURE22: GLenum;\n readonly TEXTURE23: GLenum;\n readonly TEXTURE24: GLenum;\n readonly TEXTURE25: GLenum;\n readonly TEXTURE26: GLenum;\n readonly TEXTURE27: GLenum;\n readonly TEXTURE28: GLenum;\n readonly TEXTURE29: GLenum;\n readonly TEXTURE3: GLenum;\n readonly TEXTURE30: GLenum;\n readonly TEXTURE31: GLenum;\n readonly TEXTURE4: GLenum;\n readonly TEXTURE5: GLenum;\n readonly TEXTURE6: GLenum;\n readonly TEXTURE7: GLenum;\n readonly TEXTURE8: GLenum;\n readonly TEXTURE9: GLenum;\n readonly TEXTURE_2D: GLenum;\n readonly TEXTURE_BINDING_2D: GLenum;\n readonly TEXTURE_BINDING_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Z: GLenum;\n readonly TEXTURE_MAG_FILTER: GLenum;\n readonly TEXTURE_MIN_FILTER: GLenum;\n readonly TEXTURE_WRAP_S: GLenum;\n readonly TEXTURE_WRAP_T: GLenum;\n readonly TRIANGLES: GLenum;\n readonly TRIANGLE_FAN: GLenum;\n readonly TRIANGLE_STRIP: GLenum;\n readonly UNPACK_ALIGNMENT: GLenum;\n readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: GLenum;\n readonly UNPACK_FLIP_Y_WEBGL: GLenum;\n readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: GLenum;\n readonly UNSIGNED_BYTE: GLenum;\n readonly UNSIGNED_INT: GLenum;\n readonly UNSIGNED_SHORT: GLenum;\n readonly UNSIGNED_SHORT_4_4_4_4: GLenum;\n readonly UNSIGNED_SHORT_5_5_5_1: GLenum;\n readonly UNSIGNED_SHORT_5_6_5: GLenum;\n readonly VALIDATE_STATUS: GLenum;\n readonly VENDOR: GLenum;\n readonly VERSION: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_ENABLED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_POINTER: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_SIZE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_STRIDE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_TYPE: GLenum;\n readonly VERTEX_SHADER: GLenum;\n readonly VIEWPORT: GLenum;\n readonly ZERO: GLenum;\n};\n\ninterface WebGL2RenderingContextBase {\n beginQuery(target: GLenum, query: WebGLQuery): void;\n beginTransformFeedback(primitiveMode: GLenum): void;\n bindBufferBase(target: GLenum, index: GLuint, buffer: WebGLBuffer | null): void;\n bindBufferRange(target: GLenum, index: GLuint, buffer: WebGLBuffer | null, offset: GLintptr, size: GLsizeiptr): void;\n bindSampler(unit: GLuint, sampler: WebGLSampler | null): void;\n bindTransformFeedback(target: GLenum, tf: WebGLTransformFeedback | null): void;\n bindVertexArray(array: WebGLVertexArrayObject | null): void;\n blitFramebuffer(srcX0: GLint, srcY0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: GLenum): void;\n clearBufferfi(buffer: GLenum, drawbuffer: GLint, depth: GLfloat, stencil: GLint): void;\n clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Float32List, srcOffset?: GLuint): void;\n clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Int32List, srcOffset?: GLuint): void;\n clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?: GLuint): void;\n clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum;\n compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;\n compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n compressedTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, imageSize: GLsizei, offset: GLintptr): void;\n compressedTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n copyBufferSubData(readTarget: GLenum, writeTarget: GLenum, readOffset: GLintptr, writeOffset: GLintptr, size: GLsizeiptr): void;\n copyTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n createQuery(): WebGLQuery | null;\n createSampler(): WebGLSampler | null;\n createTransformFeedback(): WebGLTransformFeedback | null;\n createVertexArray(): WebGLVertexArrayObject | null;\n deleteQuery(query: WebGLQuery | null): void;\n deleteSampler(sampler: WebGLSampler | null): void;\n deleteSync(sync: WebGLSync | null): void;\n deleteTransformFeedback(tf: WebGLTransformFeedback | null): void;\n deleteVertexArray(vertexArray: WebGLVertexArrayObject | null): void;\n drawArraysInstanced(mode: GLenum, first: GLint, count: GLsizei, instanceCount: GLsizei): void;\n drawBuffers(buffers: GLenum[]): void;\n drawElementsInstanced(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, instanceCount: GLsizei): void;\n drawRangeElements(mode: GLenum, start: GLuint, end: GLuint, count: GLsizei, type: GLenum, offset: GLintptr): void;\n endQuery(target: GLenum): void;\n endTransformFeedback(): void;\n fenceSync(condition: GLenum, flags: GLbitfield): WebGLSync | null;\n framebufferTextureLayer(target: GLenum, attachment: GLenum, texture: WebGLTexture | null, level: GLint, layer: GLint): void;\n getActiveUniformBlockName(program: WebGLProgram, uniformBlockIndex: GLuint): string | null;\n getActiveUniformBlockParameter(program: WebGLProgram, uniformBlockIndex: GLuint, pname: GLenum): any;\n getActiveUniforms(program: WebGLProgram, uniformIndices: GLuint[], pname: GLenum): any;\n getBufferSubData(target: GLenum, srcByteOffset: GLintptr, dstBuffer: ArrayBufferView, dstOffset?: GLuint, length?: GLuint): void;\n getFragDataLocation(program: WebGLProgram, name: string): GLint;\n getIndexedParameter(target: GLenum, index: GLuint): any;\n getInternalformatParameter(target: GLenum, internalformat: GLenum, pname: GLenum): any;\n getQuery(target: GLenum, pname: GLenum): WebGLQuery | null;\n getQueryParameter(query: WebGLQuery, pname: GLenum): any;\n getSamplerParameter(sampler: WebGLSampler, pname: GLenum): any;\n getSyncParameter(sync: WebGLSync, pname: GLenum): any;\n getTransformFeedbackVarying(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;\n getUniformBlockIndex(program: WebGLProgram, uniformBlockName: string): GLuint;\n getUniformIndices(program: WebGLProgram, uniformNames: string[]): GLuint[] | null;\n invalidateFramebuffer(target: GLenum, attachments: GLenum[]): void;\n invalidateSubFramebuffer(target: GLenum, attachments: GLenum[], x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n isQuery(query: WebGLQuery | null): GLboolean;\n isSampler(sampler: WebGLSampler | null): GLboolean;\n isSync(sync: WebGLSync | null): GLboolean;\n isTransformFeedback(tf: WebGLTransformFeedback | null): GLboolean;\n isVertexArray(vertexArray: WebGLVertexArrayObject | null): GLboolean;\n pauseTransformFeedback(): void;\n readBuffer(src: GLenum): void;\n renderbufferStorageMultisample(target: GLenum, samples: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei): void;\n resumeTransformFeedback(): void;\n samplerParameterf(sampler: WebGLSampler, pname: GLenum, param: GLfloat): void;\n samplerParameteri(sampler: WebGLSampler, pname: GLenum, param: GLint): void;\n texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView | null): void;\n texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: GLuint): void;\n texStorage2D(target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei): void;\n texStorage3D(target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei): void;\n texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, source: TexImageSource): void;\n texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView | null, srcOffset?: GLuint): void;\n transformFeedbackVaryings(program: WebGLProgram, varyings: string[], bufferMode: GLenum): void;\n uniform1ui(location: WebGLUniformLocation | null, v0: GLuint): void;\n uniform1uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint): void;\n uniform2uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint, v2: GLuint): void;\n uniform3uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint, v2: GLuint, v3: GLuint): void;\n uniform4uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformBlockBinding(program: WebGLProgram, uniformBlockIndex: GLuint, uniformBlockBinding: GLuint): void;\n uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n vertexAttribDivisor(index: GLuint, divisor: GLuint): void;\n vertexAttribI4i(index: GLuint, x: GLint, y: GLint, z: GLint, w: GLint): void;\n vertexAttribI4iv(index: GLuint, values: Int32List): void;\n vertexAttribI4ui(index: GLuint, x: GLuint, y: GLuint, z: GLuint, w: GLuint): void;\n vertexAttribI4uiv(index: GLuint, values: Uint32List): void;\n vertexAttribIPointer(index: GLuint, size: GLint, type: GLenum, stride: GLsizei, offset: GLintptr): void;\n waitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLint64): void;\n readonly ACTIVE_UNIFORM_BLOCKS: GLenum;\n readonly ALREADY_SIGNALED: GLenum;\n readonly ANY_SAMPLES_PASSED: GLenum;\n readonly ANY_SAMPLES_PASSED_CONSERVATIVE: GLenum;\n readonly COLOR: GLenum;\n readonly COLOR_ATTACHMENT1: GLenum;\n readonly COLOR_ATTACHMENT10: GLenum;\n readonly COLOR_ATTACHMENT11: GLenum;\n readonly COLOR_ATTACHMENT12: GLenum;\n readonly COLOR_ATTACHMENT13: GLenum;\n readonly COLOR_ATTACHMENT14: GLenum;\n readonly COLOR_ATTACHMENT15: GLenum;\n readonly COLOR_ATTACHMENT2: GLenum;\n readonly COLOR_ATTACHMENT3: GLenum;\n readonly COLOR_ATTACHMENT4: GLenum;\n readonly COLOR_ATTACHMENT5: GLenum;\n readonly COLOR_ATTACHMENT6: GLenum;\n readonly COLOR_ATTACHMENT7: GLenum;\n readonly COLOR_ATTACHMENT8: GLenum;\n readonly COLOR_ATTACHMENT9: GLenum;\n readonly COMPARE_REF_TO_TEXTURE: GLenum;\n readonly CONDITION_SATISFIED: GLenum;\n readonly COPY_READ_BUFFER: GLenum;\n readonly COPY_READ_BUFFER_BINDING: GLenum;\n readonly COPY_WRITE_BUFFER: GLenum;\n readonly COPY_WRITE_BUFFER_BINDING: GLenum;\n readonly CURRENT_QUERY: GLenum;\n readonly DEPTH: GLenum;\n readonly DEPTH24_STENCIL8: GLenum;\n readonly DEPTH32F_STENCIL8: GLenum;\n readonly DEPTH_COMPONENT24: GLenum;\n readonly DEPTH_COMPONENT32F: GLenum;\n readonly DRAW_BUFFER0: GLenum;\n readonly DRAW_BUFFER1: GLenum;\n readonly DRAW_BUFFER10: GLenum;\n readonly DRAW_BUFFER11: GLenum;\n readonly DRAW_BUFFER12: GLenum;\n readonly DRAW_BUFFER13: GLenum;\n readonly DRAW_BUFFER14: GLenum;\n readonly DRAW_BUFFER15: GLenum;\n readonly DRAW_BUFFER2: GLenum;\n readonly DRAW_BUFFER3: GLenum;\n readonly DRAW_BUFFER4: GLenum;\n readonly DRAW_BUFFER5: GLenum;\n readonly DRAW_BUFFER6: GLenum;\n readonly DRAW_BUFFER7: GLenum;\n readonly DRAW_BUFFER8: GLenum;\n readonly DRAW_BUFFER9: GLenum;\n readonly DRAW_FRAMEBUFFER: GLenum;\n readonly DRAW_FRAMEBUFFER_BINDING: GLenum;\n readonly DYNAMIC_COPY: GLenum;\n readonly DYNAMIC_READ: GLenum;\n readonly FLOAT_32_UNSIGNED_INT_24_8_REV: GLenum;\n readonly FLOAT_MAT2x3: GLenum;\n readonly FLOAT_MAT2x4: GLenum;\n readonly FLOAT_MAT3x2: GLenum;\n readonly FLOAT_MAT3x4: GLenum;\n readonly FLOAT_MAT4x2: GLenum;\n readonly FLOAT_MAT4x3: GLenum;\n readonly FRAGMENT_SHADER_DERIVATIVE_HINT: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_RED_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: GLenum;\n readonly FRAMEBUFFER_DEFAULT: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: GLenum;\n readonly HALF_FLOAT: GLenum;\n readonly INTERLEAVED_ATTRIBS: GLenum;\n readonly INT_2_10_10_10_REV: GLenum;\n readonly INT_SAMPLER_2D: GLenum;\n readonly INT_SAMPLER_2D_ARRAY: GLenum;\n readonly INT_SAMPLER_3D: GLenum;\n readonly INT_SAMPLER_CUBE: GLenum;\n readonly INVALID_INDEX: GLenum;\n readonly MAX: GLenum;\n readonly MAX_3D_TEXTURE_SIZE: GLenum;\n readonly MAX_ARRAY_TEXTURE_LAYERS: GLenum;\n readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL: GLenum;\n readonly MAX_COLOR_ATTACHMENTS: GLenum;\n readonly MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_COMBINED_UNIFORM_BLOCKS: GLenum;\n readonly MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_DRAW_BUFFERS: GLenum;\n readonly MAX_ELEMENTS_INDICES: GLenum;\n readonly MAX_ELEMENTS_VERTICES: GLenum;\n readonly MAX_ELEMENT_INDEX: GLenum;\n readonly MAX_FRAGMENT_INPUT_COMPONENTS: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_BLOCKS: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_PROGRAM_TEXEL_OFFSET: GLenum;\n readonly MAX_SAMPLES: GLenum;\n readonly MAX_SERVER_WAIT_TIMEOUT: GLenum;\n readonly MAX_TEXTURE_LOD_BIAS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: GLenum;\n readonly MAX_UNIFORM_BLOCK_SIZE: GLenum;\n readonly MAX_UNIFORM_BUFFER_BINDINGS: GLenum;\n readonly MAX_VARYING_COMPONENTS: GLenum;\n readonly MAX_VERTEX_OUTPUT_COMPONENTS: GLenum;\n readonly MAX_VERTEX_UNIFORM_BLOCKS: GLenum;\n readonly MAX_VERTEX_UNIFORM_COMPONENTS: GLenum;\n readonly MIN: GLenum;\n readonly MIN_PROGRAM_TEXEL_OFFSET: GLenum;\n readonly OBJECT_TYPE: GLenum;\n readonly PACK_ROW_LENGTH: GLenum;\n readonly PACK_SKIP_PIXELS: GLenum;\n readonly PACK_SKIP_ROWS: GLenum;\n readonly PIXEL_PACK_BUFFER: GLenum;\n readonly PIXEL_PACK_BUFFER_BINDING: GLenum;\n readonly PIXEL_UNPACK_BUFFER: GLenum;\n readonly PIXEL_UNPACK_BUFFER_BINDING: GLenum;\n readonly QUERY_RESULT: GLenum;\n readonly QUERY_RESULT_AVAILABLE: GLenum;\n readonly R11F_G11F_B10F: GLenum;\n readonly R16F: GLenum;\n readonly R16I: GLenum;\n readonly R16UI: GLenum;\n readonly R32F: GLenum;\n readonly R32I: GLenum;\n readonly R32UI: GLenum;\n readonly R8: GLenum;\n readonly R8I: GLenum;\n readonly R8UI: GLenum;\n readonly R8_SNORM: GLenum;\n readonly RASTERIZER_DISCARD: GLenum;\n readonly READ_BUFFER: GLenum;\n readonly READ_FRAMEBUFFER: GLenum;\n readonly READ_FRAMEBUFFER_BINDING: GLenum;\n readonly RED: GLenum;\n readonly RED_INTEGER: GLenum;\n readonly RENDERBUFFER_SAMPLES: GLenum;\n readonly RG: GLenum;\n readonly RG16F: GLenum;\n readonly RG16I: GLenum;\n readonly RG16UI: GLenum;\n readonly RG32F: GLenum;\n readonly RG32I: GLenum;\n readonly RG32UI: GLenum;\n readonly RG8: GLenum;\n readonly RG8I: GLenum;\n readonly RG8UI: GLenum;\n readonly RG8_SNORM: GLenum;\n readonly RGB10_A2: GLenum;\n readonly RGB10_A2UI: GLenum;\n readonly RGB16F: GLenum;\n readonly RGB16I: GLenum;\n readonly RGB16UI: GLenum;\n readonly RGB32F: GLenum;\n readonly RGB32I: GLenum;\n readonly RGB32UI: GLenum;\n readonly RGB8: GLenum;\n readonly RGB8I: GLenum;\n readonly RGB8UI: GLenum;\n readonly RGB8_SNORM: GLenum;\n readonly RGB9_E5: GLenum;\n readonly RGBA16F: GLenum;\n readonly RGBA16I: GLenum;\n readonly RGBA16UI: GLenum;\n readonly RGBA32F: GLenum;\n readonly RGBA32I: GLenum;\n readonly RGBA32UI: GLenum;\n readonly RGBA8: GLenum;\n readonly RGBA8I: GLenum;\n readonly RGBA8UI: GLenum;\n readonly RGBA8_SNORM: GLenum;\n readonly RGBA_INTEGER: GLenum;\n readonly RGB_INTEGER: GLenum;\n readonly RG_INTEGER: GLenum;\n readonly SAMPLER_2D_ARRAY: GLenum;\n readonly SAMPLER_2D_ARRAY_SHADOW: GLenum;\n readonly SAMPLER_2D_SHADOW: GLenum;\n readonly SAMPLER_3D: GLenum;\n readonly SAMPLER_BINDING: GLenum;\n readonly SAMPLER_CUBE_SHADOW: GLenum;\n readonly SEPARATE_ATTRIBS: GLenum;\n readonly SIGNALED: GLenum;\n readonly SIGNED_NORMALIZED: GLenum;\n readonly SRGB: GLenum;\n readonly SRGB8: GLenum;\n readonly SRGB8_ALPHA8: GLenum;\n readonly STATIC_COPY: GLenum;\n readonly STATIC_READ: GLenum;\n readonly STENCIL: GLenum;\n readonly STREAM_COPY: GLenum;\n readonly STREAM_READ: GLenum;\n readonly SYNC_CONDITION: GLenum;\n readonly SYNC_FENCE: GLenum;\n readonly SYNC_FLAGS: GLenum;\n readonly SYNC_FLUSH_COMMANDS_BIT: GLenum;\n readonly SYNC_GPU_COMMANDS_COMPLETE: GLenum;\n readonly SYNC_STATUS: GLenum;\n readonly TEXTURE_2D_ARRAY: GLenum;\n readonly TEXTURE_3D: GLenum;\n readonly TEXTURE_BASE_LEVEL: GLenum;\n readonly TEXTURE_BINDING_2D_ARRAY: GLenum;\n readonly TEXTURE_BINDING_3D: GLenum;\n readonly TEXTURE_COMPARE_FUNC: GLenum;\n readonly TEXTURE_COMPARE_MODE: GLenum;\n readonly TEXTURE_IMMUTABLE_FORMAT: GLenum;\n readonly TEXTURE_IMMUTABLE_LEVELS: GLenum;\n readonly TEXTURE_MAX_LEVEL: GLenum;\n readonly TEXTURE_MAX_LOD: GLenum;\n readonly TEXTURE_MIN_LOD: GLenum;\n readonly TEXTURE_WRAP_R: GLenum;\n readonly TIMEOUT_EXPIRED: GLenum;\n readonly TIMEOUT_IGNORED: GLint64;\n readonly TRANSFORM_FEEDBACK: GLenum;\n readonly TRANSFORM_FEEDBACK_ACTIVE: GLenum;\n readonly TRANSFORM_FEEDBACK_BINDING: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_BINDING: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_MODE: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_SIZE: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_START: GLenum;\n readonly TRANSFORM_FEEDBACK_PAUSED: GLenum;\n readonly TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: GLenum;\n readonly TRANSFORM_FEEDBACK_VARYINGS: GLenum;\n readonly UNIFORM_ARRAY_STRIDE: GLenum;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORMS: GLenum;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: GLenum;\n readonly UNIFORM_BLOCK_BINDING: GLenum;\n readonly UNIFORM_BLOCK_DATA_SIZE: GLenum;\n readonly UNIFORM_BLOCK_INDEX: GLenum;\n readonly UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: GLenum;\n readonly UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: GLenum;\n readonly UNIFORM_BUFFER: GLenum;\n readonly UNIFORM_BUFFER_BINDING: GLenum;\n readonly UNIFORM_BUFFER_OFFSET_ALIGNMENT: GLenum;\n readonly UNIFORM_BUFFER_SIZE: GLenum;\n readonly UNIFORM_BUFFER_START: GLenum;\n readonly UNIFORM_IS_ROW_MAJOR: GLenum;\n readonly UNIFORM_MATRIX_STRIDE: GLenum;\n readonly UNIFORM_OFFSET: GLenum;\n readonly UNIFORM_SIZE: GLenum;\n readonly UNIFORM_TYPE: GLenum;\n readonly UNPACK_IMAGE_HEIGHT: GLenum;\n readonly UNPACK_ROW_LENGTH: GLenum;\n readonly UNPACK_SKIP_IMAGES: GLenum;\n readonly UNPACK_SKIP_PIXELS: GLenum;\n readonly UNPACK_SKIP_ROWS: GLenum;\n readonly UNSIGNALED: GLenum;\n readonly UNSIGNED_INT_10F_11F_11F_REV: GLenum;\n readonly UNSIGNED_INT_24_8: GLenum;\n readonly UNSIGNED_INT_2_10_10_10_REV: GLenum;\n readonly UNSIGNED_INT_5_9_9_9_REV: GLenum;\n readonly UNSIGNED_INT_SAMPLER_2D: GLenum;\n readonly UNSIGNED_INT_SAMPLER_2D_ARRAY: GLenum;\n readonly UNSIGNED_INT_SAMPLER_3D: GLenum;\n readonly UNSIGNED_INT_SAMPLER_CUBE: GLenum;\n readonly UNSIGNED_INT_VEC2: GLenum;\n readonly UNSIGNED_INT_VEC3: GLenum;\n readonly UNSIGNED_INT_VEC4: GLenum;\n readonly UNSIGNED_NORMALIZED: GLenum;\n readonly VERTEX_ARRAY_BINDING: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_DIVISOR: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_INTEGER: GLenum;\n readonly WAIT_FAILED: GLenum;\n}\n\ninterface WebGL2RenderingContextOverloads {\n bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void;\n bufferData(target: GLenum, srcData: BufferSource | null, usage: GLenum): void;\n bufferData(target: GLenum, srcData: ArrayBufferView, usage: GLenum, srcOffset: GLuint, length?: GLuint): void;\n bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: BufferSource): void;\n bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: ArrayBufferView, srcOffset: GLuint, length?: GLuint): void;\n compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;\n compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, imageSize: GLsizei, offset: GLintptr): void;\n compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView | null): void;\n readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, offset: GLintptr): void;\n readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView, dstOffset: GLuint): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: GLuint): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, source: TexImageSource): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: GLuint): void;\n uniform1fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform1iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n}\n\n/** Part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getActiveAttrib() and WebGLRenderingContext.getActiveUniform() methods. */\ninterface WebGLActiveInfo {\n readonly name: string;\n readonly size: GLint;\n readonly type: GLenum;\n}\n\ndeclare var WebGLActiveInfo: {\n prototype: WebGLActiveInfo;\n new(): WebGLActiveInfo;\n};\n\n/** Part of the WebGL API and represents an opaque buffer object storing data such as vertices or colors. */\ninterface WebGLBuffer {\n}\n\ndeclare var WebGLBuffer: {\n prototype: WebGLBuffer;\n new(): WebGLBuffer;\n};\n\n/** The WebContextEvent interface is part of the WebGL API and is an interface for an event that is generated in response to a status change to the WebGL rendering context. */\ninterface WebGLContextEvent extends Event {\n readonly statusMessage: string;\n}\n\ndeclare var WebGLContextEvent: {\n prototype: WebGLContextEvent;\n new(type: string, eventInit?: WebGLContextEventInit): WebGLContextEvent;\n};\n\n/** Part of the WebGL API and represents a collection of buffers that serve as a rendering destination. */\ninterface WebGLFramebuffer {\n}\n\ndeclare var WebGLFramebuffer: {\n prototype: WebGLFramebuffer;\n new(): WebGLFramebuffer;\n};\n\n/** The WebGLProgram is part of the WebGL API and is a combination of two compiled WebGLShaders consisting of a vertex shader and a fragment shader (both written in GLSL). */\ninterface WebGLProgram {\n}\n\ndeclare var WebGLProgram: {\n prototype: WebGLProgram;\n new(): WebGLProgram;\n};\n\ninterface WebGLQuery {\n}\n\ndeclare var WebGLQuery: {\n prototype: WebGLQuery;\n new(): WebGLQuery;\n};\n\n/** Part of the WebGL API and represents a buffer that can contain an image, or can be source or target of an rendering operation. */\ninterface WebGLRenderbuffer {\n}\n\ndeclare var WebGLRenderbuffer: {\n prototype: WebGLRenderbuffer;\n new(): WebGLRenderbuffer;\n};\n\n/** Provides an interface to the OpenGL ES 2.0 graphics rendering context for the drawing surface of an HTML <canvas> element. */\ninterface WebGLRenderingContext extends WebGLRenderingContextBase, WebGLRenderingContextOverloads {\n}\n\ndeclare var WebGLRenderingContext: {\n prototype: WebGLRenderingContext;\n new(): WebGLRenderingContext;\n readonly ACTIVE_ATTRIBUTES: GLenum;\n readonly ACTIVE_TEXTURE: GLenum;\n readonly ACTIVE_UNIFORMS: GLenum;\n readonly ALIASED_LINE_WIDTH_RANGE: GLenum;\n readonly ALIASED_POINT_SIZE_RANGE: GLenum;\n readonly ALPHA: GLenum;\n readonly ALPHA_BITS: GLenum;\n readonly ALWAYS: GLenum;\n readonly ARRAY_BUFFER: GLenum;\n readonly ARRAY_BUFFER_BINDING: GLenum;\n readonly ATTACHED_SHADERS: GLenum;\n readonly BACK: GLenum;\n readonly BLEND: GLenum;\n readonly BLEND_COLOR: GLenum;\n readonly BLEND_DST_ALPHA: GLenum;\n readonly BLEND_DST_RGB: GLenum;\n readonly BLEND_EQUATION: GLenum;\n readonly BLEND_EQUATION_ALPHA: GLenum;\n readonly BLEND_EQUATION_RGB: GLenum;\n readonly BLEND_SRC_ALPHA: GLenum;\n readonly BLEND_SRC_RGB: GLenum;\n readonly BLUE_BITS: GLenum;\n readonly BOOL: GLenum;\n readonly BOOL_VEC2: GLenum;\n readonly BOOL_VEC3: GLenum;\n readonly BOOL_VEC4: GLenum;\n readonly BROWSER_DEFAULT_WEBGL: GLenum;\n readonly BUFFER_SIZE: GLenum;\n readonly BUFFER_USAGE: GLenum;\n readonly BYTE: GLenum;\n readonly CCW: GLenum;\n readonly CLAMP_TO_EDGE: GLenum;\n readonly COLOR_ATTACHMENT0: GLenum;\n readonly COLOR_BUFFER_BIT: GLenum;\n readonly COLOR_CLEAR_VALUE: GLenum;\n readonly COLOR_WRITEMASK: GLenum;\n readonly COMPILE_STATUS: GLenum;\n readonly COMPRESSED_TEXTURE_FORMATS: GLenum;\n readonly CONSTANT_ALPHA: GLenum;\n readonly CONSTANT_COLOR: GLenum;\n readonly CONTEXT_LOST_WEBGL: GLenum;\n readonly CULL_FACE: GLenum;\n readonly CULL_FACE_MODE: GLenum;\n readonly CURRENT_PROGRAM: GLenum;\n readonly CURRENT_VERTEX_ATTRIB: GLenum;\n readonly CW: GLenum;\n readonly DECR: GLenum;\n readonly DECR_WRAP: GLenum;\n readonly DELETE_STATUS: GLenum;\n readonly DEPTH_ATTACHMENT: GLenum;\n readonly DEPTH_BITS: GLenum;\n readonly DEPTH_BUFFER_BIT: GLenum;\n readonly DEPTH_CLEAR_VALUE: GLenum;\n readonly DEPTH_COMPONENT: GLenum;\n readonly DEPTH_COMPONENT16: GLenum;\n readonly DEPTH_FUNC: GLenum;\n readonly DEPTH_RANGE: GLenum;\n readonly DEPTH_STENCIL: GLenum;\n readonly DEPTH_STENCIL_ATTACHMENT: GLenum;\n readonly DEPTH_TEST: GLenum;\n readonly DEPTH_WRITEMASK: GLenum;\n readonly DITHER: GLenum;\n readonly DONT_CARE: GLenum;\n readonly DST_ALPHA: GLenum;\n readonly DST_COLOR: GLenum;\n readonly DYNAMIC_DRAW: GLenum;\n readonly ELEMENT_ARRAY_BUFFER: GLenum;\n readonly ELEMENT_ARRAY_BUFFER_BINDING: GLenum;\n readonly EQUAL: GLenum;\n readonly FASTEST: GLenum;\n readonly FLOAT: GLenum;\n readonly FLOAT_MAT2: GLenum;\n readonly FLOAT_MAT3: GLenum;\n readonly FLOAT_MAT4: GLenum;\n readonly FLOAT_VEC2: GLenum;\n readonly FLOAT_VEC3: GLenum;\n readonly FLOAT_VEC4: GLenum;\n readonly FRAGMENT_SHADER: GLenum;\n readonly FRAMEBUFFER: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: GLenum;\n readonly FRAMEBUFFER_BINDING: GLenum;\n readonly FRAMEBUFFER_COMPLETE: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_UNSUPPORTED: GLenum;\n readonly FRONT: GLenum;\n readonly FRONT_AND_BACK: GLenum;\n readonly FRONT_FACE: GLenum;\n readonly FUNC_ADD: GLenum;\n readonly FUNC_REVERSE_SUBTRACT: GLenum;\n readonly FUNC_SUBTRACT: GLenum;\n readonly GENERATE_MIPMAP_HINT: GLenum;\n readonly GEQUAL: GLenum;\n readonly GREATER: GLenum;\n readonly GREEN_BITS: GLenum;\n readonly HIGH_FLOAT: GLenum;\n readonly HIGH_INT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_FORMAT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_TYPE: GLenum;\n readonly INCR: GLenum;\n readonly INCR_WRAP: GLenum;\n readonly INT: GLenum;\n readonly INT_VEC2: GLenum;\n readonly INT_VEC3: GLenum;\n readonly INT_VEC4: GLenum;\n readonly INVALID_ENUM: GLenum;\n readonly INVALID_FRAMEBUFFER_OPERATION: GLenum;\n readonly INVALID_OPERATION: GLenum;\n readonly INVALID_VALUE: GLenum;\n readonly INVERT: GLenum;\n readonly KEEP: GLenum;\n readonly LEQUAL: GLenum;\n readonly LESS: GLenum;\n readonly LINEAR: GLenum;\n readonly LINEAR_MIPMAP_LINEAR: GLenum;\n readonly LINEAR_MIPMAP_NEAREST: GLenum;\n readonly LINES: GLenum;\n readonly LINE_LOOP: GLenum;\n readonly LINE_STRIP: GLenum;\n readonly LINE_WIDTH: GLenum;\n readonly LINK_STATUS: GLenum;\n readonly LOW_FLOAT: GLenum;\n readonly LOW_INT: GLenum;\n readonly LUMINANCE: GLenum;\n readonly LUMINANCE_ALPHA: GLenum;\n readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_CUBE_MAP_TEXTURE_SIZE: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_VECTORS: GLenum;\n readonly MAX_RENDERBUFFER_SIZE: GLenum;\n readonly MAX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_TEXTURE_SIZE: GLenum;\n readonly MAX_VARYING_VECTORS: GLenum;\n readonly MAX_VERTEX_ATTRIBS: GLenum;\n readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_VERTEX_UNIFORM_VECTORS: GLenum;\n readonly MAX_VIEWPORT_DIMS: GLenum;\n readonly MEDIUM_FLOAT: GLenum;\n readonly MEDIUM_INT: GLenum;\n readonly MIRRORED_REPEAT: GLenum;\n readonly NEAREST: GLenum;\n readonly NEAREST_MIPMAP_LINEAR: GLenum;\n readonly NEAREST_MIPMAP_NEAREST: GLenum;\n readonly NEVER: GLenum;\n readonly NICEST: GLenum;\n readonly NONE: GLenum;\n readonly NOTEQUAL: GLenum;\n readonly NO_ERROR: GLenum;\n readonly ONE: GLenum;\n readonly ONE_MINUS_CONSTANT_ALPHA: GLenum;\n readonly ONE_MINUS_CONSTANT_COLOR: GLenum;\n readonly ONE_MINUS_DST_ALPHA: GLenum;\n readonly ONE_MINUS_DST_COLOR: GLenum;\n readonly ONE_MINUS_SRC_ALPHA: GLenum;\n readonly ONE_MINUS_SRC_COLOR: GLenum;\n readonly OUT_OF_MEMORY: GLenum;\n readonly PACK_ALIGNMENT: GLenum;\n readonly POINTS: GLenum;\n readonly POLYGON_OFFSET_FACTOR: GLenum;\n readonly POLYGON_OFFSET_FILL: GLenum;\n readonly POLYGON_OFFSET_UNITS: GLenum;\n readonly RED_BITS: GLenum;\n readonly RENDERBUFFER: GLenum;\n readonly RENDERBUFFER_ALPHA_SIZE: GLenum;\n readonly RENDERBUFFER_BINDING: GLenum;\n readonly RENDERBUFFER_BLUE_SIZE: GLenum;\n readonly RENDERBUFFER_DEPTH_SIZE: GLenum;\n readonly RENDERBUFFER_GREEN_SIZE: GLenum;\n readonly RENDERBUFFER_HEIGHT: GLenum;\n readonly RENDERBUFFER_INTERNAL_FORMAT: GLenum;\n readonly RENDERBUFFER_RED_SIZE: GLenum;\n readonly RENDERBUFFER_STENCIL_SIZE: GLenum;\n readonly RENDERBUFFER_WIDTH: GLenum;\n readonly RENDERER: GLenum;\n readonly REPEAT: GLenum;\n readonly REPLACE: GLenum;\n readonly RGB: GLenum;\n readonly RGB565: GLenum;\n readonly RGB5_A1: GLenum;\n readonly RGBA: GLenum;\n readonly RGBA4: GLenum;\n readonly SAMPLER_2D: GLenum;\n readonly SAMPLER_CUBE: GLenum;\n readonly SAMPLES: GLenum;\n readonly SAMPLE_ALPHA_TO_COVERAGE: GLenum;\n readonly SAMPLE_BUFFERS: GLenum;\n readonly SAMPLE_COVERAGE: GLenum;\n readonly SAMPLE_COVERAGE_INVERT: GLenum;\n readonly SAMPLE_COVERAGE_VALUE: GLenum;\n readonly SCISSOR_BOX: GLenum;\n readonly SCISSOR_TEST: GLenum;\n readonly SHADER_TYPE: GLenum;\n readonly SHADING_LANGUAGE_VERSION: GLenum;\n readonly SHORT: GLenum;\n readonly SRC_ALPHA: GLenum;\n readonly SRC_ALPHA_SATURATE: GLenum;\n readonly SRC_COLOR: GLenum;\n readonly STATIC_DRAW: GLenum;\n readonly STENCIL_ATTACHMENT: GLenum;\n readonly STENCIL_BACK_FAIL: GLenum;\n readonly STENCIL_BACK_FUNC: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_BACK_REF: GLenum;\n readonly STENCIL_BACK_VALUE_MASK: GLenum;\n readonly STENCIL_BACK_WRITEMASK: GLenum;\n readonly STENCIL_BITS: GLenum;\n readonly STENCIL_BUFFER_BIT: GLenum;\n readonly STENCIL_CLEAR_VALUE: GLenum;\n readonly STENCIL_FAIL: GLenum;\n readonly STENCIL_FUNC: GLenum;\n readonly STENCIL_INDEX8: GLenum;\n readonly STENCIL_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_REF: GLenum;\n readonly STENCIL_TEST: GLenum;\n readonly STENCIL_VALUE_MASK: GLenum;\n readonly STENCIL_WRITEMASK: GLenum;\n readonly STREAM_DRAW: GLenum;\n readonly SUBPIXEL_BITS: GLenum;\n readonly TEXTURE: GLenum;\n readonly TEXTURE0: GLenum;\n readonly TEXTURE1: GLenum;\n readonly TEXTURE10: GLenum;\n readonly TEXTURE11: GLenum;\n readonly TEXTURE12: GLenum;\n readonly TEXTURE13: GLenum;\n readonly TEXTURE14: GLenum;\n readonly TEXTURE15: GLenum;\n readonly TEXTURE16: GLenum;\n readonly TEXTURE17: GLenum;\n readonly TEXTURE18: GLenum;\n readonly TEXTURE19: GLenum;\n readonly TEXTURE2: GLenum;\n readonly TEXTURE20: GLenum;\n readonly TEXTURE21: GLenum;\n readonly TEXTURE22: GLenum;\n readonly TEXTURE23: GLenum;\n readonly TEXTURE24: GLenum;\n readonly TEXTURE25: GLenum;\n readonly TEXTURE26: GLenum;\n readonly TEXTURE27: GLenum;\n readonly TEXTURE28: GLenum;\n readonly TEXTURE29: GLenum;\n readonly TEXTURE3: GLenum;\n readonly TEXTURE30: GLenum;\n readonly TEXTURE31: GLenum;\n readonly TEXTURE4: GLenum;\n readonly TEXTURE5: GLenum;\n readonly TEXTURE6: GLenum;\n readonly TEXTURE7: GLenum;\n readonly TEXTURE8: GLenum;\n readonly TEXTURE9: GLenum;\n readonly TEXTURE_2D: GLenum;\n readonly TEXTURE_BINDING_2D: GLenum;\n readonly TEXTURE_BINDING_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Z: GLenum;\n readonly TEXTURE_MAG_FILTER: GLenum;\n readonly TEXTURE_MIN_FILTER: GLenum;\n readonly TEXTURE_WRAP_S: GLenum;\n readonly TEXTURE_WRAP_T: GLenum;\n readonly TRIANGLES: GLenum;\n readonly TRIANGLE_FAN: GLenum;\n readonly TRIANGLE_STRIP: GLenum;\n readonly UNPACK_ALIGNMENT: GLenum;\n readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: GLenum;\n readonly UNPACK_FLIP_Y_WEBGL: GLenum;\n readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: GLenum;\n readonly UNSIGNED_BYTE: GLenum;\n readonly UNSIGNED_INT: GLenum;\n readonly UNSIGNED_SHORT: GLenum;\n readonly UNSIGNED_SHORT_4_4_4_4: GLenum;\n readonly UNSIGNED_SHORT_5_5_5_1: GLenum;\n readonly UNSIGNED_SHORT_5_6_5: GLenum;\n readonly VALIDATE_STATUS: GLenum;\n readonly VENDOR: GLenum;\n readonly VERSION: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_ENABLED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_POINTER: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_SIZE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_STRIDE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_TYPE: GLenum;\n readonly VERTEX_SHADER: GLenum;\n readonly VIEWPORT: GLenum;\n readonly ZERO: GLenum;\n};\n\ninterface WebGLRenderingContextBase {\n readonly drawingBufferHeight: GLsizei;\n readonly drawingBufferWidth: GLsizei;\n activeTexture(texture: GLenum): void;\n attachShader(program: WebGLProgram, shader: WebGLShader): void;\n bindAttribLocation(program: WebGLProgram, index: GLuint, name: string): void;\n bindBuffer(target: GLenum, buffer: WebGLBuffer | null): void;\n bindFramebuffer(target: GLenum, framebuffer: WebGLFramebuffer | null): void;\n bindRenderbuffer(target: GLenum, renderbuffer: WebGLRenderbuffer | null): void;\n bindTexture(target: GLenum, texture: WebGLTexture | null): void;\n blendColor(red: GLclampf, green: GLclampf, blue: GLclampf, alpha: GLclampf): void;\n blendEquation(mode: GLenum): void;\n blendEquationSeparate(modeRGB: GLenum, modeAlpha: GLenum): void;\n blendFunc(sfactor: GLenum, dfactor: GLenum): void;\n blendFuncSeparate(srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void;\n checkFramebufferStatus(target: GLenum): GLenum;\n clear(mask: GLbitfield): void;\n clearColor(red: GLclampf, green: GLclampf, blue: GLclampf, alpha: GLclampf): void;\n clearDepth(depth: GLclampf): void;\n clearStencil(s: GLint): void;\n colorMask(red: GLboolean, green: GLboolean, blue: GLboolean, alpha: GLboolean): void;\n compileShader(shader: WebGLShader): void;\n copyTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, x: GLint, y: GLint, width: GLsizei, height: GLsizei, border: GLint): void;\n copyTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n createBuffer(): WebGLBuffer | null;\n createFramebuffer(): WebGLFramebuffer | null;\n createProgram(): WebGLProgram | null;\n createRenderbuffer(): WebGLRenderbuffer | null;\n createShader(type: GLenum): WebGLShader | null;\n createTexture(): WebGLTexture | null;\n cullFace(mode: GLenum): void;\n deleteBuffer(buffer: WebGLBuffer | null): void;\n deleteFramebuffer(framebuffer: WebGLFramebuffer | null): void;\n deleteProgram(program: WebGLProgram | null): void;\n deleteRenderbuffer(renderbuffer: WebGLRenderbuffer | null): void;\n deleteShader(shader: WebGLShader | null): void;\n deleteTexture(texture: WebGLTexture | null): void;\n depthFunc(func: GLenum): void;\n depthMask(flag: GLboolean): void;\n depthRange(zNear: GLclampf, zFar: GLclampf): void;\n detachShader(program: WebGLProgram, shader: WebGLShader): void;\n disable(cap: GLenum): void;\n disableVertexAttribArray(index: GLuint): void;\n drawArrays(mode: GLenum, first: GLint, count: GLsizei): void;\n drawElements(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr): void;\n enable(cap: GLenum): void;\n enableVertexAttribArray(index: GLuint): void;\n finish(): void;\n flush(): void;\n framebufferRenderbuffer(target: GLenum, attachment: GLenum, renderbuffertarget: GLenum, renderbuffer: WebGLRenderbuffer | null): void;\n framebufferTexture2D(target: GLenum, attachment: GLenum, textarget: GLenum, texture: WebGLTexture | null, level: GLint): void;\n frontFace(mode: GLenum): void;\n generateMipmap(target: GLenum): void;\n getActiveAttrib(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;\n getActiveUniform(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;\n getAttachedShaders(program: WebGLProgram): WebGLShader[] | null;\n getAttribLocation(program: WebGLProgram, name: string): GLint;\n getBufferParameter(target: GLenum, pname: GLenum): any;\n getContextAttributes(): WebGLContextAttributes | null;\n getError(): GLenum;\n getExtension(extensionName: "EXT_blend_minmax"): EXT_blend_minmax | null;\n getExtension(extensionName: "EXT_color_buffer_float"): EXT_color_buffer_float | null;\n getExtension(extensionName: "EXT_color_buffer_half_float"): EXT_color_buffer_half_float | null;\n getExtension(extensionName: "EXT_float_blend"): EXT_float_blend | null;\n getExtension(extensionName: "EXT_texture_filter_anisotropic"): EXT_texture_filter_anisotropic | null;\n getExtension(extensionName: "EXT_frag_depth"): EXT_frag_depth | null;\n getExtension(extensionName: "EXT_shader_texture_lod"): EXT_shader_texture_lod | null;\n getExtension(extensionName: "EXT_sRGB"): EXT_sRGB | null;\n getExtension(extensionName: "KHR_parallel_shader_compile"): KHR_parallel_shader_compile | null;\n getExtension(extensionName: "OES_vertex_array_object"): OES_vertex_array_object | null;\n getExtension(extensionName: "OVR_multiview2"): OVR_multiview2 | null;\n getExtension(extensionName: "WEBGL_color_buffer_float"): WEBGL_color_buffer_float | null;\n getExtension(extensionName: "WEBGL_compressed_texture_astc"): WEBGL_compressed_texture_astc | null;\n getExtension(extensionName: "WEBGL_compressed_texture_etc"): WEBGL_compressed_texture_etc | null;\n getExtension(extensionName: "WEBGL_compressed_texture_etc1"): WEBGL_compressed_texture_etc1 | null;\n getExtension(extensionName: "WEBGL_compressed_texture_pvrtc"): WEBGL_compressed_texture_pvrtc | null;\n getExtension(extensionName: "WEBGL_compressed_texture_s3tc_srgb"): WEBGL_compressed_texture_s3tc_srgb | null;\n getExtension(extensionName: "WEBGL_debug_shaders"): WEBGL_debug_shaders | null;\n getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null;\n getExtension(extensionName: "WEBGL_lose_context"): WEBGL_lose_context | null;\n getExtension(extensionName: "WEBGL_depth_texture"): WEBGL_depth_texture | null;\n getExtension(extensionName: "WEBGL_debug_renderer_info"): WEBGL_debug_renderer_info | null;\n getExtension(extensionName: "WEBGL_compressed_texture_s3tc"): WEBGL_compressed_texture_s3tc | null;\n getExtension(extensionName: "OES_texture_half_float_linear"): OES_texture_half_float_linear | null;\n getExtension(extensionName: "OES_texture_half_float"): OES_texture_half_float | null;\n getExtension(extensionName: "OES_texture_float_linear"): OES_texture_float_linear | null;\n getExtension(extensionName: "OES_texture_float"): OES_texture_float | null;\n getExtension(extensionName: "OES_standard_derivatives"): OES_standard_derivatives | null;\n getExtension(extensionName: "OES_element_index_uint"): OES_element_index_uint | null;\n getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;\n getExtension(name: string): any;\n getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): any;\n getParameter(pname: GLenum): any;\n getProgramInfoLog(program: WebGLProgram): string | null;\n getProgramParameter(program: WebGLProgram, pname: GLenum): any;\n getRenderbufferParameter(target: GLenum, pname: GLenum): any;\n getShaderInfoLog(shader: WebGLShader): string | null;\n getShaderParameter(shader: WebGLShader, pname: GLenum): any;\n getShaderPrecisionFormat(shadertype: GLenum, precisiontype: GLenum): WebGLShaderPrecisionFormat | null;\n getShaderSource(shader: WebGLShader): string | null;\n getSupportedExtensions(): string[] | null;\n getTexParameter(target: GLenum, pname: GLenum): any;\n getUniform(program: WebGLProgram, location: WebGLUniformLocation): any;\n getUniformLocation(program: WebGLProgram, name: string): WebGLUniformLocation | null;\n getVertexAttrib(index: GLuint, pname: GLenum): any;\n getVertexAttribOffset(index: GLuint, pname: GLenum): GLintptr;\n hint(target: GLenum, mode: GLenum): void;\n isBuffer(buffer: WebGLBuffer | null): GLboolean;\n isContextLost(): boolean;\n isEnabled(cap: GLenum): GLboolean;\n isFramebuffer(framebuffer: WebGLFramebuffer | null): GLboolean;\n isProgram(program: WebGLProgram | null): GLboolean;\n isRenderbuffer(renderbuffer: WebGLRenderbuffer | null): GLboolean;\n isShader(shader: WebGLShader | null): GLboolean;\n isTexture(texture: WebGLTexture | null): GLboolean;\n lineWidth(width: GLfloat): void;\n linkProgram(program: WebGLProgram): void;\n pixelStorei(pname: GLenum, param: GLint | GLboolean): void;\n polygonOffset(factor: GLfloat, units: GLfloat): void;\n renderbufferStorage(target: GLenum, internalformat: GLenum, width: GLsizei, height: GLsizei): void;\n sampleCoverage(value: GLclampf, invert: GLboolean): void;\n scissor(x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n shaderSource(shader: WebGLShader, source: string): void;\n stencilFunc(func: GLenum, ref: GLint, mask: GLuint): void;\n stencilFuncSeparate(face: GLenum, func: GLenum, ref: GLint, mask: GLuint): void;\n stencilMask(mask: GLuint): void;\n stencilMaskSeparate(face: GLenum, mask: GLuint): void;\n stencilOp(fail: GLenum, zfail: GLenum, zpass: GLenum): void;\n stencilOpSeparate(face: GLenum, fail: GLenum, zfail: GLenum, zpass: GLenum): void;\n texParameterf(target: GLenum, pname: GLenum, param: GLfloat): void;\n texParameteri(target: GLenum, pname: GLenum, param: GLint): void;\n uniform1f(location: WebGLUniformLocation | null, x: GLfloat): void;\n uniform1i(location: WebGLUniformLocation | null, x: GLint): void;\n uniform2f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat): void;\n uniform2i(location: WebGLUniformLocation | null, x: GLint, y: GLint): void;\n uniform3f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat, z: GLfloat): void;\n uniform3i(location: WebGLUniformLocation | null, x: GLint, y: GLint, z: GLint): void;\n uniform4f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat, z: GLfloat, w: GLfloat): void;\n uniform4i(location: WebGLUniformLocation | null, x: GLint, y: GLint, z: GLint, w: GLint): void;\n useProgram(program: WebGLProgram | null): void;\n validateProgram(program: WebGLProgram): void;\n vertexAttrib1f(index: GLuint, x: GLfloat): void;\n vertexAttrib1fv(index: GLuint, values: Float32List): void;\n vertexAttrib2f(index: GLuint, x: GLfloat, y: GLfloat): void;\n vertexAttrib2fv(index: GLuint, values: Float32List): void;\n vertexAttrib3f(index: GLuint, x: GLfloat, y: GLfloat, z: GLfloat): void;\n vertexAttrib3fv(index: GLuint, values: Float32List): void;\n vertexAttrib4f(index: GLuint, x: GLfloat, y: GLfloat, z: GLfloat, w: GLfloat): void;\n vertexAttrib4fv(index: GLuint, values: Float32List): void;\n vertexAttribPointer(index: GLuint, size: GLint, type: GLenum, normalized: GLboolean, stride: GLsizei, offset: GLintptr): void;\n viewport(x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n readonly ACTIVE_ATTRIBUTES: GLenum;\n readonly ACTIVE_TEXTURE: GLenum;\n readonly ACTIVE_UNIFORMS: GLenum;\n readonly ALIASED_LINE_WIDTH_RANGE: GLenum;\n readonly ALIASED_POINT_SIZE_RANGE: GLenum;\n readonly ALPHA: GLenum;\n readonly ALPHA_BITS: GLenum;\n readonly ALWAYS: GLenum;\n readonly ARRAY_BUFFER: GLenum;\n readonly ARRAY_BUFFER_BINDING: GLenum;\n readonly ATTACHED_SHADERS: GLenum;\n readonly BACK: GLenum;\n readonly BLEND: GLenum;\n readonly BLEND_COLOR: GLenum;\n readonly BLEND_DST_ALPHA: GLenum;\n readonly BLEND_DST_RGB: GLenum;\n readonly BLEND_EQUATION: GLenum;\n readonly BLEND_EQUATION_ALPHA: GLenum;\n readonly BLEND_EQUATION_RGB: GLenum;\n readonly BLEND_SRC_ALPHA: GLenum;\n readonly BLEND_SRC_RGB: GLenum;\n readonly BLUE_BITS: GLenum;\n readonly BOOL: GLenum;\n readonly BOOL_VEC2: GLenum;\n readonly BOOL_VEC3: GLenum;\n readonly BOOL_VEC4: GLenum;\n readonly BROWSER_DEFAULT_WEBGL: GLenum;\n readonly BUFFER_SIZE: GLenum;\n readonly BUFFER_USAGE: GLenum;\n readonly BYTE: GLenum;\n readonly CCW: GLenum;\n readonly CLAMP_TO_EDGE: GLenum;\n readonly COLOR_ATTACHMENT0: GLenum;\n readonly COLOR_BUFFER_BIT: GLenum;\n readonly COLOR_CLEAR_VALUE: GLenum;\n readonly COLOR_WRITEMASK: GLenum;\n readonly COMPILE_STATUS: GLenum;\n readonly COMPRESSED_TEXTURE_FORMATS: GLenum;\n readonly CONSTANT_ALPHA: GLenum;\n readonly CONSTANT_COLOR: GLenum;\n readonly CONTEXT_LOST_WEBGL: GLenum;\n readonly CULL_FACE: GLenum;\n readonly CULL_FACE_MODE: GLenum;\n readonly CURRENT_PROGRAM: GLenum;\n readonly CURRENT_VERTEX_ATTRIB: GLenum;\n readonly CW: GLenum;\n readonly DECR: GLenum;\n readonly DECR_WRAP: GLenum;\n readonly DELETE_STATUS: GLenum;\n readonly DEPTH_ATTACHMENT: GLenum;\n readonly DEPTH_BITS: GLenum;\n readonly DEPTH_BUFFER_BIT: GLenum;\n readonly DEPTH_CLEAR_VALUE: GLenum;\n readonly DEPTH_COMPONENT: GLenum;\n readonly DEPTH_COMPONENT16: GLenum;\n readonly DEPTH_FUNC: GLenum;\n readonly DEPTH_RANGE: GLenum;\n readonly DEPTH_STENCIL: GLenum;\n readonly DEPTH_STENCIL_ATTACHMENT: GLenum;\n readonly DEPTH_TEST: GLenum;\n readonly DEPTH_WRITEMASK: GLenum;\n readonly DITHER: GLenum;\n readonly DONT_CARE: GLenum;\n readonly DST_ALPHA: GLenum;\n readonly DST_COLOR: GLenum;\n readonly DYNAMIC_DRAW: GLenum;\n readonly ELEMENT_ARRAY_BUFFER: GLenum;\n readonly ELEMENT_ARRAY_BUFFER_BINDING: GLenum;\n readonly EQUAL: GLenum;\n readonly FASTEST: GLenum;\n readonly FLOAT: GLenum;\n readonly FLOAT_MAT2: GLenum;\n readonly FLOAT_MAT3: GLenum;\n readonly FLOAT_MAT4: GLenum;\n readonly FLOAT_VEC2: GLenum;\n readonly FLOAT_VEC3: GLenum;\n readonly FLOAT_VEC4: GLenum;\n readonly FRAGMENT_SHADER: GLenum;\n readonly FRAMEBUFFER: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: GLenum;\n readonly FRAMEBUFFER_BINDING: GLenum;\n readonly FRAMEBUFFER_COMPLETE: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_UNSUPPORTED: GLenum;\n readonly FRONT: GLenum;\n readonly FRONT_AND_BACK: GLenum;\n readonly FRONT_FACE: GLenum;\n readonly FUNC_ADD: GLenum;\n readonly FUNC_REVERSE_SUBTRACT: GLenum;\n readonly FUNC_SUBTRACT: GLenum;\n readonly GENERATE_MIPMAP_HINT: GLenum;\n readonly GEQUAL: GLenum;\n readonly GREATER: GLenum;\n readonly GREEN_BITS: GLenum;\n readonly HIGH_FLOAT: GLenum;\n readonly HIGH_INT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_FORMAT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_TYPE: GLenum;\n readonly INCR: GLenum;\n readonly INCR_WRAP: GLenum;\n readonly INT: GLenum;\n readonly INT_VEC2: GLenum;\n readonly INT_VEC3: GLenum;\n readonly INT_VEC4: GLenum;\n readonly INVALID_ENUM: GLenum;\n readonly INVALID_FRAMEBUFFER_OPERATION: GLenum;\n readonly INVALID_OPERATION: GLenum;\n readonly INVALID_VALUE: GLenum;\n readonly INVERT: GLenum;\n readonly KEEP: GLenum;\n readonly LEQUAL: GLenum;\n readonly LESS: GLenum;\n readonly LINEAR: GLenum;\n readonly LINEAR_MIPMAP_LINEAR: GLenum;\n readonly LINEAR_MIPMAP_NEAREST: GLenum;\n readonly LINES: GLenum;\n readonly LINE_LOOP: GLenum;\n readonly LINE_STRIP: GLenum;\n readonly LINE_WIDTH: GLenum;\n readonly LINK_STATUS: GLenum;\n readonly LOW_FLOAT: GLenum;\n readonly LOW_INT: GLenum;\n readonly LUMINANCE: GLenum;\n readonly LUMINANCE_ALPHA: GLenum;\n readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_CUBE_MAP_TEXTURE_SIZE: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_VECTORS: GLenum;\n readonly MAX_RENDERBUFFER_SIZE: GLenum;\n readonly MAX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_TEXTURE_SIZE: GLenum;\n readonly MAX_VARYING_VECTORS: GLenum;\n readonly MAX_VERTEX_ATTRIBS: GLenum;\n readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_VERTEX_UNIFORM_VECTORS: GLenum;\n readonly MAX_VIEWPORT_DIMS: GLenum;\n readonly MEDIUM_FLOAT: GLenum;\n readonly MEDIUM_INT: GLenum;\n readonly MIRRORED_REPEAT: GLenum;\n readonly NEAREST: GLenum;\n readonly NEAREST_MIPMAP_LINEAR: GLenum;\n readonly NEAREST_MIPMAP_NEAREST: GLenum;\n readonly NEVER: GLenum;\n readonly NICEST: GLenum;\n readonly NONE: GLenum;\n readonly NOTEQUAL: GLenum;\n readonly NO_ERROR: GLenum;\n readonly ONE: GLenum;\n readonly ONE_MINUS_CONSTANT_ALPHA: GLenum;\n readonly ONE_MINUS_CONSTANT_COLOR: GLenum;\n readonly ONE_MINUS_DST_ALPHA: GLenum;\n readonly ONE_MINUS_DST_COLOR: GLenum;\n readonly ONE_MINUS_SRC_ALPHA: GLenum;\n readonly ONE_MINUS_SRC_COLOR: GLenum;\n readonly OUT_OF_MEMORY: GLenum;\n readonly PACK_ALIGNMENT: GLenum;\n readonly POINTS: GLenum;\n readonly POLYGON_OFFSET_FACTOR: GLenum;\n readonly POLYGON_OFFSET_FILL: GLenum;\n readonly POLYGON_OFFSET_UNITS: GLenum;\n readonly RED_BITS: GLenum;\n readonly RENDERBUFFER: GLenum;\n readonly RENDERBUFFER_ALPHA_SIZE: GLenum;\n readonly RENDERBUFFER_BINDING: GLenum;\n readonly RENDERBUFFER_BLUE_SIZE: GLenum;\n readonly RENDERBUFFER_DEPTH_SIZE: GLenum;\n readonly RENDERBUFFER_GREEN_SIZE: GLenum;\n readonly RENDERBUFFER_HEIGHT: GLenum;\n readonly RENDERBUFFER_INTERNAL_FORMAT: GLenum;\n readonly RENDERBUFFER_RED_SIZE: GLenum;\n readonly RENDERBUFFER_STENCIL_SIZE: GLenum;\n readonly RENDERBUFFER_WIDTH: GLenum;\n readonly RENDERER: GLenum;\n readonly REPEAT: GLenum;\n readonly REPLACE: GLenum;\n readonly RGB: GLenum;\n readonly RGB565: GLenum;\n readonly RGB5_A1: GLenum;\n readonly RGBA: GLenum;\n readonly RGBA4: GLenum;\n readonly SAMPLER_2D: GLenum;\n readonly SAMPLER_CUBE: GLenum;\n readonly SAMPLES: GLenum;\n readonly SAMPLE_ALPHA_TO_COVERAGE: GLenum;\n readonly SAMPLE_BUFFERS: GLenum;\n readonly SAMPLE_COVERAGE: GLenum;\n readonly SAMPLE_COVERAGE_INVERT: GLenum;\n readonly SAMPLE_COVERAGE_VALUE: GLenum;\n readonly SCISSOR_BOX: GLenum;\n readonly SCISSOR_TEST: GLenum;\n readonly SHADER_TYPE: GLenum;\n readonly SHADING_LANGUAGE_VERSION: GLenum;\n readonly SHORT: GLenum;\n readonly SRC_ALPHA: GLenum;\n readonly SRC_ALPHA_SATURATE: GLenum;\n readonly SRC_COLOR: GLenum;\n readonly STATIC_DRAW: GLenum;\n readonly STENCIL_ATTACHMENT: GLenum;\n readonly STENCIL_BACK_FAIL: GLenum;\n readonly STENCIL_BACK_FUNC: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_BACK_REF: GLenum;\n readonly STENCIL_BACK_VALUE_MASK: GLenum;\n readonly STENCIL_BACK_WRITEMASK: GLenum;\n readonly STENCIL_BITS: GLenum;\n readonly STENCIL_BUFFER_BIT: GLenum;\n readonly STENCIL_CLEAR_VALUE: GLenum;\n readonly STENCIL_FAIL: GLenum;\n readonly STENCIL_FUNC: GLenum;\n readonly STENCIL_INDEX8: GLenum;\n readonly STENCIL_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_REF: GLenum;\n readonly STENCIL_TEST: GLenum;\n readonly STENCIL_VALUE_MASK: GLenum;\n readonly STENCIL_WRITEMASK: GLenum;\n readonly STREAM_DRAW: GLenum;\n readonly SUBPIXEL_BITS: GLenum;\n readonly TEXTURE: GLenum;\n readonly TEXTURE0: GLenum;\n readonly TEXTURE1: GLenum;\n readonly TEXTURE10: GLenum;\n readonly TEXTURE11: GLenum;\n readonly TEXTURE12: GLenum;\n readonly TEXTURE13: GLenum;\n readonly TEXTURE14: GLenum;\n readonly TEXTURE15: GLenum;\n readonly TEXTURE16: GLenum;\n readonly TEXTURE17: GLenum;\n readonly TEXTURE18: GLenum;\n readonly TEXTURE19: GLenum;\n readonly TEXTURE2: GLenum;\n readonly TEXTURE20: GLenum;\n readonly TEXTURE21: GLenum;\n readonly TEXTURE22: GLenum;\n readonly TEXTURE23: GLenum;\n readonly TEXTURE24: GLenum;\n readonly TEXTURE25: GLenum;\n readonly TEXTURE26: GLenum;\n readonly TEXTURE27: GLenum;\n readonly TEXTURE28: GLenum;\n readonly TEXTURE29: GLenum;\n readonly TEXTURE3: GLenum;\n readonly TEXTURE30: GLenum;\n readonly TEXTURE31: GLenum;\n readonly TEXTURE4: GLenum;\n readonly TEXTURE5: GLenum;\n readonly TEXTURE6: GLenum;\n readonly TEXTURE7: GLenum;\n readonly TEXTURE8: GLenum;\n readonly TEXTURE9: GLenum;\n readonly TEXTURE_2D: GLenum;\n readonly TEXTURE_BINDING_2D: GLenum;\n readonly TEXTURE_BINDING_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Z: GLenum;\n readonly TEXTURE_MAG_FILTER: GLenum;\n readonly TEXTURE_MIN_FILTER: GLenum;\n readonly TEXTURE_WRAP_S: GLenum;\n readonly TEXTURE_WRAP_T: GLenum;\n readonly TRIANGLES: GLenum;\n readonly TRIANGLE_FAN: GLenum;\n readonly TRIANGLE_STRIP: GLenum;\n readonly UNPACK_ALIGNMENT: GLenum;\n readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: GLenum;\n readonly UNPACK_FLIP_Y_WEBGL: GLenum;\n readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: GLenum;\n readonly UNSIGNED_BYTE: GLenum;\n readonly UNSIGNED_INT: GLenum;\n readonly UNSIGNED_SHORT: GLenum;\n readonly UNSIGNED_SHORT_4_4_4_4: GLenum;\n readonly UNSIGNED_SHORT_5_5_5_1: GLenum;\n readonly UNSIGNED_SHORT_5_6_5: GLenum;\n readonly VALIDATE_STATUS: GLenum;\n readonly VENDOR: GLenum;\n readonly VERSION: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_ENABLED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_POINTER: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_SIZE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_STRIDE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_TYPE: GLenum;\n readonly VERTEX_SHADER: GLenum;\n readonly VIEWPORT: GLenum;\n readonly ZERO: GLenum;\n}\n\ninterface WebGLRenderingContextOverloads {\n bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void;\n bufferData(target: GLenum, data: BufferSource | null, usage: GLenum): void;\n bufferSubData(target: GLenum, offset: GLintptr, data: BufferSource): void;\n compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, data: ArrayBufferView): void;\n compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, data: ArrayBufferView): void;\n readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n uniform1fv(location: WebGLUniformLocation | null, v: Float32List): void;\n uniform1iv(location: WebGLUniformLocation | null, v: Int32List): void;\n uniform2fv(location: WebGLUniformLocation | null, v: Float32List): void;\n uniform2iv(location: WebGLUniformLocation | null, v: Int32List): void;\n uniform3fv(location: WebGLUniformLocation | null, v: Float32List): void;\n uniform3iv(location: WebGLUniformLocation | null, v: Int32List): void;\n uniform4fv(location: WebGLUniformLocation | null, v: Float32List): void;\n uniform4iv(location: WebGLUniformLocation | null, v: Int32List): void;\n uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;\n uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;\n uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;\n}\n\ninterface WebGLSampler {\n}\n\ndeclare var WebGLSampler: {\n prototype: WebGLSampler;\n new(): WebGLSampler;\n};\n\n/** The WebGLShader is part of the WebGL API and can either be a vertex or a fragment shader. A WebGLProgram requires both types of shaders. */\ninterface WebGLShader {\n}\n\ndeclare var WebGLShader: {\n prototype: WebGLShader;\n new(): WebGLShader;\n};\n\n/** Part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getShaderPrecisionFormat() method. */\ninterface WebGLShaderPrecisionFormat {\n readonly precision: GLint;\n readonly rangeMax: GLint;\n readonly rangeMin: GLint;\n}\n\ndeclare var WebGLShaderPrecisionFormat: {\n prototype: WebGLShaderPrecisionFormat;\n new(): WebGLShaderPrecisionFormat;\n};\n\ninterface WebGLSync {\n}\n\ndeclare var WebGLSync: {\n prototype: WebGLSync;\n new(): WebGLSync;\n};\n\n/** Part of the WebGL API and represents an opaque texture object providing storage and state for texturing operations. */\ninterface WebGLTexture {\n}\n\ndeclare var WebGLTexture: {\n prototype: WebGLTexture;\n new(): WebGLTexture;\n};\n\ninterface WebGLTransformFeedback {\n}\n\ndeclare var WebGLTransformFeedback: {\n prototype: WebGLTransformFeedback;\n new(): WebGLTransformFeedback;\n};\n\n/** Part of the WebGL API and represents the location of a uniform variable in a shader program. */\ninterface WebGLUniformLocation {\n}\n\ndeclare var WebGLUniformLocation: {\n prototype: WebGLUniformLocation;\n new(): WebGLUniformLocation;\n};\n\ninterface WebGLVertexArrayObject {\n}\n\ndeclare var WebGLVertexArrayObject: {\n prototype: WebGLVertexArrayObject;\n new(): WebGLVertexArrayObject;\n};\n\ninterface WebGLVertexArrayObjectOES {\n}\n\ninterface WebSocketEventMap {\n "close": CloseEvent;\n "error": Event;\n "message": MessageEvent;\n "open": Event;\n}\n\n/** Provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection. */\ninterface WebSocket extends EventTarget {\n /**\n * Returns a string that indicates how binary data from the WebSocket object is exposed to scripts:\n *\n * Can be set, to change how binary data is returned. The default is "blob".\n */\n binaryType: BinaryType;\n /**\n * Returns the number of bytes of application data (UTF-8 text and binary data) that have been queued using send() but not yet been transmitted to the network.\n *\n * If the WebSocket connection is closed, this attribute\'s value will only increase with each call to the send() method. (The number does not reset to zero once the connection closes.)\n */\n readonly bufferedAmount: number;\n /**\n * Returns the extensions selected by the server, if any.\n */\n readonly extensions: string;\n onclose: ((this: WebSocket, ev: CloseEvent) => any) | null;\n onerror: ((this: WebSocket, ev: Event) => any) | null;\n onmessage: ((this: WebSocket, ev: MessageEvent) => any) | null;\n onopen: ((this: WebSocket, ev: Event) => any) | null;\n /**\n * Returns the subprotocol selected by the server, if any. It can be used in conjunction with the array form of the constructor\'s second argument to perform subprotocol negotiation.\n */\n readonly protocol: string;\n /**\n * Returns the state of the WebSocket object\'s connection. It can have the values described below.\n */\n readonly readyState: number;\n /**\n * Returns the URL that was used to establish the WebSocket connection.\n */\n readonly url: string;\n /**\n * Closes the WebSocket connection, optionally using code as the the WebSocket connection close code and reason as the the WebSocket connection close reason.\n */\n close(code?: number, reason?: string): void;\n /**\n * Transmits data using the WebSocket connection. data can be a string, a Blob, an ArrayBuffer, or an ArrayBufferView.\n */\n send(data: string | ArrayBufferLike | Blob | ArrayBufferView): void;\n readonly CLOSED: number;\n readonly CLOSING: number;\n readonly CONNECTING: number;\n readonly OPEN: number;\n addEventListener<K extends keyof WebSocketEventMap>(type: K, listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof WebSocketEventMap>(type: K, listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var WebSocket: {\n prototype: WebSocket;\n new(url: string | URL, protocols?: string | string[]): WebSocket;\n readonly CLOSED: number;\n readonly CLOSING: number;\n readonly CONNECTING: number;\n readonly OPEN: number;\n};\n\n/** This ServiceWorker API interface represents the scope of a service worker client that is a document in a browser context, controlled by an active worker. The service worker client independently selects and uses a service worker for its own loading and sub-resources. */\ninterface WindowClient extends Client {\n readonly focused: boolean;\n readonly visibilityState: VisibilityState;\n focus(): Promise<WindowClient>;\n navigate(url: string | URL): Promise<WindowClient | null>;\n}\n\ndeclare var WindowClient: {\n prototype: WindowClient;\n new(): WindowClient;\n};\n\ninterface WindowOrWorkerGlobalScope {\n readonly caches: CacheStorage;\n readonly crossOriginIsolated: boolean;\n readonly crypto: Crypto;\n readonly indexedDB: IDBFactory;\n readonly isSecureContext: boolean;\n readonly origin: string;\n readonly performance: Performance;\n atob(data: string): string;\n btoa(data: string): string;\n clearInterval(handle?: number): void;\n clearTimeout(handle?: number): void;\n createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;\n createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;\n fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;\n queueMicrotask(callback: VoidFunction): void;\n setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\n setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\n}\n\ninterface WorkerEventMap extends AbstractWorkerEventMap {\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\n/** This Web Workers API interface represents a background task that can be easily created and can send messages back to its creator. Creating a worker is as simple as calling the Worker() constructor and specifying a script to be run in the worker thread. */\ninterface Worker extends EventTarget, AbstractWorker {\n onmessage: ((this: Worker, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: Worker, ev: MessageEvent) => any) | null;\n /**\n * Clones message and transmits it to worker\'s global environment. transfer can be passed as a list of objects that are to be transferred rather than cloned.\n */\n postMessage(message: any, transfer: Transferable[]): void;\n postMessage(message: any, options?: PostMessageOptions): void;\n /**\n * Aborts worker\'s associated global environment.\n */\n terminate(): void;\n addEventListener<K extends keyof WorkerEventMap>(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof WorkerEventMap>(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Worker: {\n prototype: Worker;\n new(scriptURL: string | URL, options?: WorkerOptions): Worker;\n};\n\ninterface WorkerGlobalScopeEventMap {\n "error": ErrorEvent;\n "languagechange": Event;\n "offline": Event;\n "online": Event;\n "rejectionhandled": PromiseRejectionEvent;\n "unhandledrejection": PromiseRejectionEvent;\n}\n\n/** This Web Workers API interface is an interface representing the scope of any worker. Workers have no browsing context; this scope contains the information usually conveyed by Window objects — in this case event handlers, the console or the associated WorkerNavigator object. Each WorkerGlobalScope has its own event loop. */\ninterface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerGlobalScope {\n /**\n * Returns workerGlobal\'s WorkerLocation object.\n */\n readonly location: WorkerLocation;\n /**\n * Returns workerGlobal\'s WorkerNavigator object.\n */\n readonly navigator: WorkerNavigator;\n onerror: ((this: WorkerGlobalScope, ev: ErrorEvent) => any) | null;\n onlanguagechange: ((this: WorkerGlobalScope, ev: Event) => any) | null;\n onoffline: ((this: WorkerGlobalScope, ev: Event) => any) | null;\n ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;\n onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;\n onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;\n /**\n * Returns workerGlobal.\n */\n readonly self: WorkerGlobalScope & typeof globalThis;\n /**\n * Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss).\n */\n importScripts(...urls: (string | URL)[]): void;\n addEventListener<K extends keyof WorkerGlobalScopeEventMap>(type: K, listener: (this: WorkerGlobalScope, ev: WorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof WorkerGlobalScopeEventMap>(type: K, listener: (this: WorkerGlobalScope, ev: WorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var WorkerGlobalScope: {\n prototype: WorkerGlobalScope;\n new(): WorkerGlobalScope;\n};\n\n/** The absolute location of the script executed by the Worker. Such an object is initialized for each worker and is available via the WorkerGlobalScope.location property obtained by calling self.location. */\ninterface WorkerLocation {\n readonly hash: string;\n readonly host: string;\n readonly hostname: string;\n readonly href: string;\n toString(): string;\n readonly origin: string;\n readonly pathname: string;\n readonly port: string;\n readonly protocol: string;\n readonly search: string;\n}\n\ndeclare var WorkerLocation: {\n prototype: WorkerLocation;\n new(): WorkerLocation;\n};\n\n/** A subset of the Navigator interface allowed to be accessed from a Worker. Such an object is initialized for each worker and is available via the WorkerGlobalScope.navigator property obtained by calling window.self.navigator. */\ninterface WorkerNavigator extends NavigatorConcurrentHardware, NavigatorID, NavigatorLanguage, NavigatorNetworkInformation, NavigatorOnLine, NavigatorStorage {\n readonly mediaCapabilities: MediaCapabilities;\n}\n\ndeclare var WorkerNavigator: {\n prototype: WorkerNavigator;\n new(): WorkerNavigator;\n};\n\n/** This Streams API interface provides a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in backpressure and queuing. */\ninterface WritableStream<W = any> {\n readonly locked: boolean;\n abort(reason?: any): Promise<void>;\n close(): Promise<void>;\n getWriter(): WritableStreamDefaultWriter<W>;\n}\n\ndeclare var WritableStream: {\n prototype: WritableStream;\n new<W = any>(underlyingSink?: UnderlyingSink<W>, strategy?: QueuingStrategy<W>): WritableStream<W>;\n};\n\n/** This Streams API interface represents a controller allowing control of a WritableStream\'s state. When constructing a WritableStream, the underlying sink is given a corresponding WritableStreamDefaultController instance to manipulate. */\ninterface WritableStreamDefaultController {\n error(e?: any): void;\n}\n\ndeclare var WritableStreamDefaultController: {\n prototype: WritableStreamDefaultController;\n new(): WritableStreamDefaultController;\n};\n\n/** This Streams API interface is the object returned by WritableStream.getWriter() and once created locks the < writer to the WritableStream ensuring that no other streams can write to the underlying sink. */\ninterface WritableStreamDefaultWriter<W = any> {\n readonly closed: Promise<undefined>;\n readonly desiredSize: number | null;\n readonly ready: Promise<undefined>;\n abort(reason?: any): Promise<void>;\n close(): Promise<void>;\n releaseLock(): void;\n write(chunk?: W): Promise<void>;\n}\n\ndeclare var WritableStreamDefaultWriter: {\n prototype: WritableStreamDefaultWriter;\n new<W = any>(stream: WritableStream<W>): WritableStreamDefaultWriter<W>;\n};\n\ninterface XMLHttpRequestEventMap extends XMLHttpRequestEventTargetEventMap {\n "readystatechange": Event;\n}\n\n/** Use XMLHttpRequest (XHR) objects to interact with servers. You can retrieve data from a URL without having to do a full page refresh. This enables a Web page to update just part of a page without disrupting what the user is doing. */\ninterface XMLHttpRequest extends XMLHttpRequestEventTarget {\n onreadystatechange: ((this: XMLHttpRequest, ev: Event) => any) | null;\n /**\n * Returns client\'s state.\n */\n readonly readyState: number;\n /**\n * Returns the response body.\n */\n readonly response: any;\n /**\n * Returns response as text.\n *\n * Throws an "InvalidStateError" DOMException if responseType is not the empty string or "text".\n */\n readonly responseText: string;\n /**\n * Returns the response type.\n *\n * Can be set to change the response type. Values are: the empty string (default), "arraybuffer", "blob", "document", "json", and "text".\n *\n * When set: setting to "document" is ignored if current global object is not a Window object.\n *\n * When set: throws an "InvalidStateError" DOMException if state is loading or done.\n *\n * When set: throws an "InvalidAccessError" DOMException if the synchronous flag is set and current global object is a Window object.\n */\n responseType: XMLHttpRequestResponseType;\n readonly responseURL: string;\n readonly status: number;\n readonly statusText: string;\n /**\n * Can be set to a time in milliseconds. When set to a non-zero value will cause fetching to terminate after the given time has passed. When the time has passed, the request has not yet completed, and this\'s synchronous flag is unset, a timeout event will then be dispatched, or a "TimeoutError" DOMException will be thrown otherwise (for the send() method).\n *\n * When set: throws an "InvalidAccessError" DOMException if the synchronous flag is set and current global object is a Window object.\n */\n timeout: number;\n /**\n * Returns the associated XMLHttpRequestUpload object. It can be used to gather transmission information when data is transferred to a server.\n */\n readonly upload: XMLHttpRequestUpload;\n /**\n * True when credentials are to be included in a cross-origin request. False when they are to be excluded in a cross-origin request and when cookies are to be ignored in its response. Initially false.\n *\n * When set: throws an "InvalidStateError" DOMException if state is not unsent or opened, or if the send() flag is set.\n */\n withCredentials: boolean;\n /**\n * Cancels any network activity.\n */\n abort(): void;\n getAllResponseHeaders(): string;\n getResponseHeader(name: string): string | null;\n /**\n * Sets the request method, request URL, and synchronous flag.\n *\n * Throws a "SyntaxError" DOMException if either method is not a valid method or url cannot be parsed.\n *\n * Throws a "SecurityError" DOMException if method is a case-insensitive match for `CONNECT`, `TRACE`, or `TRACK`.\n *\n * Throws an "InvalidAccessError" DOMException if async is false, current global object is a Window object, and the timeout attribute is not zero or the responseType attribute is not the empty string.\n */\n open(method: string, url: string | URL): void;\n open(method: string, url: string | URL, async: boolean, username?: string | null, password?: string | null): void;\n /**\n * Acts as if the `Content-Type` header value for a response is mime. (It does not change the header.)\n *\n * Throws an "InvalidStateError" DOMException if state is loading or done.\n */\n overrideMimeType(mime: string): void;\n /**\n * Initiates the request. The body argument provides the request body, if any, and is ignored if the request method is GET or HEAD.\n *\n * Throws an "InvalidStateError" DOMException if either state is not opened or the send() flag is set.\n */\n send(body?: XMLHttpRequestBodyInit | null): void;\n /**\n * Combines a header in author request headers.\n *\n * Throws an "InvalidStateError" DOMException if either state is not opened or the send() flag is set.\n *\n * Throws a "SyntaxError" DOMException if name is not a header name or if value is not a header value.\n */\n setRequestHeader(name: string, value: string): void;\n readonly DONE: number;\n readonly HEADERS_RECEIVED: number;\n readonly LOADING: number;\n readonly OPENED: number;\n readonly UNSENT: number;\n addEventListener<K extends keyof XMLHttpRequestEventMap>(type: K, listener: (this: XMLHttpRequest, ev: XMLHttpRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof XMLHttpRequestEventMap>(type: K, listener: (this: XMLHttpRequest, ev: XMLHttpRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var XMLHttpRequest: {\n prototype: XMLHttpRequest;\n new(): XMLHttpRequest;\n readonly DONE: number;\n readonly HEADERS_RECEIVED: number;\n readonly LOADING: number;\n readonly OPENED: number;\n readonly UNSENT: number;\n};\n\ninterface XMLHttpRequestEventTargetEventMap {\n "abort": ProgressEvent<XMLHttpRequestEventTarget>;\n "error": ProgressEvent<XMLHttpRequestEventTarget>;\n "load": ProgressEvent<XMLHttpRequestEventTarget>;\n "loadend": ProgressEvent<XMLHttpRequestEventTarget>;\n "loadstart": ProgressEvent<XMLHttpRequestEventTarget>;\n "progress": ProgressEvent<XMLHttpRequestEventTarget>;\n "timeout": ProgressEvent<XMLHttpRequestEventTarget>;\n}\n\ninterface XMLHttpRequestEventTarget extends EventTarget {\n onabort: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n onerror: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n onload: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n onloadend: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n onloadstart: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n onprogress: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n ontimeout: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n addEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var XMLHttpRequestEventTarget: {\n prototype: XMLHttpRequestEventTarget;\n new(): XMLHttpRequestEventTarget;\n};\n\ninterface XMLHttpRequestUpload extends XMLHttpRequestEventTarget {\n addEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var XMLHttpRequestUpload: {\n prototype: XMLHttpRequestUpload;\n new(): XMLHttpRequestUpload;\n};\n\ninterface Console {\n assert(condition?: boolean, ...data: any[]): void;\n clear(): void;\n count(label?: string): void;\n countReset(label?: string): void;\n debug(...data: any[]): void;\n dir(item?: any, options?: any): void;\n dirxml(...data: any[]): void;\n error(...data: any[]): void;\n group(...data: any[]): void;\n groupCollapsed(...data: any[]): void;\n groupEnd(): void;\n info(...data: any[]): void;\n log(...data: any[]): void;\n table(tabularData?: any, properties?: string[]): void;\n time(label?: string): void;\n timeEnd(label?: string): void;\n timeLog(label?: string, ...data: any[]): void;\n timeStamp(label?: string): void;\n trace(...data: any[]): void;\n warn(...data: any[]): void;\n}\n\ndeclare var console: Console;\n\ndeclare namespace WebAssembly {\n interface CompileError extends Error {\n }\n\n var CompileError: {\n prototype: CompileError;\n new(): CompileError;\n };\n\n interface Global {\n value: any;\n valueOf(): any;\n }\n\n var Global: {\n prototype: Global;\n new(descriptor: GlobalDescriptor, v?: any): Global;\n };\n\n interface Instance {\n readonly exports: Exports;\n }\n\n var Instance: {\n prototype: Instance;\n new(module: Module, importObject?: Imports): Instance;\n };\n\n interface LinkError extends Error {\n }\n\n var LinkError: {\n prototype: LinkError;\n new(): LinkError;\n };\n\n interface Memory {\n readonly buffer: ArrayBuffer;\n grow(delta: number): number;\n }\n\n var Memory: {\n prototype: Memory;\n new(descriptor: MemoryDescriptor): Memory;\n };\n\n interface Module {\n }\n\n var Module: {\n prototype: Module;\n new(bytes: BufferSource): Module;\n customSections(moduleObject: Module, sectionName: string): ArrayBuffer[];\n exports(moduleObject: Module): ModuleExportDescriptor[];\n imports(moduleObject: Module): ModuleImportDescriptor[];\n };\n\n interface RuntimeError extends Error {\n }\n\n var RuntimeError: {\n prototype: RuntimeError;\n new(): RuntimeError;\n };\n\n interface Table {\n readonly length: number;\n get(index: number): any;\n grow(delta: number, value?: any): number;\n set(index: number, value?: any): void;\n }\n\n var Table: {\n prototype: Table;\n new(descriptor: TableDescriptor, value?: any): Table;\n };\n\n interface GlobalDescriptor {\n mutable?: boolean;\n value: ValueType;\n }\n\n interface MemoryDescriptor {\n initial: number;\n maximum?: number;\n shared?: boolean;\n }\n\n interface ModuleExportDescriptor {\n kind: ImportExportKind;\n name: string;\n }\n\n interface ModuleImportDescriptor {\n kind: ImportExportKind;\n module: string;\n name: string;\n }\n\n interface TableDescriptor {\n element: TableKind;\n initial: number;\n maximum?: number;\n }\n\n interface WebAssemblyInstantiatedSource {\n instance: Instance;\n module: Module;\n }\n\n type ImportExportKind = "function" | "global" | "memory" | "table";\n type TableKind = "anyfunc" | "externref";\n type ValueType = "anyfunc" | "externref" | "f32" | "f64" | "i32" | "i64";\n type ExportValue = Function | Global | Memory | Table;\n type Exports = Record<string, ExportValue>;\n type ImportValue = ExportValue | number;\n type Imports = Record<string, ModuleImports>;\n type ModuleImports = Record<string, ImportValue>;\n function compile(bytes: BufferSource): Promise<Module>;\n function compileStreaming(source: Response | PromiseLike<Response>): Promise<Module>;\n function instantiate(bytes: BufferSource, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;\n function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;\n function instantiateStreaming(source: Response | PromiseLike<Response>, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;\n function validate(bytes: BufferSource): boolean;\n}\n\ninterface FrameRequestCallback {\n (time: DOMHighResTimeStamp): void;\n}\n\ninterface OnErrorEventHandlerNonNull {\n (event: Event | string, source?: string, lineno?: number, colno?: number, error?: Error): any;\n}\n\ninterface PerformanceObserverCallback {\n (entries: PerformanceObserverEntryList, observer: PerformanceObserver): void;\n}\n\ninterface QueuingStrategySize<T = any> {\n (chunk?: T): number;\n}\n\ninterface TransformerFlushCallback<O> {\n (controller: TransformStreamDefaultController<O>): void | PromiseLike<void>;\n}\n\ninterface TransformerStartCallback<O> {\n (controller: TransformStreamDefaultController<O>): any;\n}\n\ninterface TransformerTransformCallback<I, O> {\n (chunk: I, controller: TransformStreamDefaultController<O>): void | PromiseLike<void>;\n}\n\ninterface UnderlyingSinkAbortCallback {\n (reason?: any): void | PromiseLike<void>;\n}\n\ninterface UnderlyingSinkCloseCallback {\n (): void | PromiseLike<void>;\n}\n\ninterface UnderlyingSinkStartCallback {\n (controller: WritableStreamDefaultController): any;\n}\n\ninterface UnderlyingSinkWriteCallback<W> {\n (chunk: W, controller: WritableStreamDefaultController): void | PromiseLike<void>;\n}\n\ninterface UnderlyingSourceCancelCallback {\n (reason?: any): void | PromiseLike<void>;\n}\n\ninterface UnderlyingSourcePullCallback<R> {\n (controller: ReadableStreamController<R>): void | PromiseLike<void>;\n}\n\ninterface UnderlyingSourceStartCallback<R> {\n (controller: ReadableStreamController<R>): any;\n}\n\ninterface VoidFunction {\n (): void;\n}\n\n/**\n * Returns dedicatedWorkerGlobal\'s name, i.e. the value given to the Worker constructor. Primarily useful for debugging.\n */\ndeclare var name: string;\ndeclare var onmessage: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null;\ndeclare var onmessageerror: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null;\n/**\n * Aborts dedicatedWorkerGlobal.\n */\ndeclare function close(): void;\n/**\n * Clones message and transmits it to the Worker object associated with dedicatedWorkerGlobal. transfer can be passed as a list of objects that are to be transferred rather than cloned.\n */\ndeclare function postMessage(message: any, transfer: Transferable[]): void;\ndeclare function postMessage(message: any, options?: PostMessageOptions): void;\n/**\n * 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.\n */\ndeclare function dispatchEvent(event: Event): boolean;\n/**\n * Returns workerGlobal\'s WorkerLocation object.\n */\ndeclare var location: WorkerLocation;\n/**\n * Returns workerGlobal\'s WorkerNavigator object.\n */\ndeclare var navigator: WorkerNavigator;\ndeclare var onerror: ((this: DedicatedWorkerGlobalScope, ev: ErrorEvent) => any) | null;\ndeclare var onlanguagechange: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null;\ndeclare var onoffline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null;\ndeclare var ononline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null;\ndeclare var onrejectionhandled: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;\ndeclare var onunhandledrejection: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;\n/**\n * Returns workerGlobal.\n */\ndeclare var self: WorkerGlobalScope & typeof globalThis;\n/**\n * Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss).\n */\ndeclare function importScripts(...urls: (string | URL)[]): void;\n/**\n * 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.\n */\ndeclare function dispatchEvent(event: Event): boolean;\ndeclare var fonts: FontFaceSet;\ndeclare var caches: CacheStorage;\ndeclare var crossOriginIsolated: boolean;\ndeclare var crypto: Crypto;\ndeclare var indexedDB: IDBFactory;\ndeclare var isSecureContext: boolean;\ndeclare var origin: string;\ndeclare var performance: Performance;\ndeclare function atob(data: string): string;\ndeclare function btoa(data: string): string;\ndeclare function clearInterval(handle?: number): void;\ndeclare function clearTimeout(handle?: number): void;\ndeclare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;\ndeclare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;\ndeclare function fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;\ndeclare function queueMicrotask(callback: VoidFunction): void;\ndeclare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\ndeclare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\ndeclare function cancelAnimationFrame(handle: number): void;\ndeclare function requestAnimationFrame(callback: FrameRequestCallback): number;\ndeclare function addEventListener<K extends keyof DedicatedWorkerGlobalScopeEventMap>(type: K, listener: (this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\ndeclare function addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\ndeclare function removeEventListener<K extends keyof DedicatedWorkerGlobalScopeEventMap>(type: K, listener: (this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\ndeclare function removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\ntype AlgorithmIdentifier = Algorithm | string;\ntype BigInteger = Uint8Array;\ntype BinaryData = ArrayBuffer | ArrayBufferView;\ntype BlobPart = BufferSource | Blob | string;\ntype BodyInit = ReadableStream | XMLHttpRequestBodyInit;\ntype BufferSource = ArrayBufferView | ArrayBuffer;\ntype CanvasImageSource = ImageBitmap | OffscreenCanvas;\ntype DOMHighResTimeStamp = number;\ntype DOMTimeStamp = number;\ntype EventListenerOrEventListenerObject = EventListener | EventListenerObject;\ntype Float32List = Float32Array | GLfloat[];\ntype FormDataEntryValue = File | string;\ntype GLbitfield = number;\ntype GLboolean = boolean;\ntype GLclampf = number;\ntype GLenum = number;\ntype GLfloat = number;\ntype GLint = number;\ntype GLint64 = number;\ntype GLintptr = number;\ntype GLsizei = number;\ntype GLsizeiptr = number;\ntype GLuint = number;\ntype GLuint64 = number;\ntype HashAlgorithmIdentifier = AlgorithmIdentifier;\ntype HeadersInit = string[][] | Record<string, string> | Headers;\ntype IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];\ntype ImageBitmapSource = CanvasImageSource | Blob | ImageData;\ntype Int32List = Int32Array | GLint[];\ntype MessageEventSource = MessagePort | ServiceWorker;\ntype NamedCurve = string;\ntype OnErrorEventHandler = OnErrorEventHandlerNonNull | null;\ntype PerformanceEntryList = PerformanceEntry[];\ntype PushMessageDataInit = BufferSource | string;\ntype ReadableStreamController<T> = ReadableStreamDefaultController<T>;\ntype ReadableStreamDefaultReadResult<T> = ReadableStreamDefaultReadValueResult<T> | ReadableStreamDefaultReadDoneResult;\ntype ReadableStreamReader<T> = ReadableStreamDefaultReader<T>;\ntype RequestInfo = Request | string;\ntype TexImageSource = ImageBitmap | ImageData | OffscreenCanvas;\ntype TimerHandler = string | Function;\ntype Transferable = ArrayBuffer | MessagePort | ImageBitmap;\ntype Uint32List = Uint32Array | GLuint[];\ntype VibratePattern = number | number[];\ntype XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;\ntype BinaryType = "arraybuffer" | "blob";\ntype ClientTypes = "all" | "sharedworker" | "window" | "worker";\ntype ColorGamut = "p3" | "rec2020" | "srgb";\ntype ColorSpaceConversion = "default" | "none";\ntype ConnectionType = "bluetooth" | "cellular" | "ethernet" | "mixed" | "none" | "other" | "unknown" | "wifi";\ntype EndingType = "native" | "transparent";\ntype FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";\ntype FontFaceSetLoadStatus = "loaded" | "loading";\ntype FrameType = "auxiliary" | "nested" | "none" | "top-level";\ntype HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";\ntype IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";\ntype IDBRequestReadyState = "done" | "pending";\ntype IDBTransactionMode = "readonly" | "readwrite" | "versionchange";\ntype ImageOrientation = "flipY" | "none";\ntype KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";\ntype KeyType = "private" | "public" | "secret";\ntype KeyUsage = "decrypt" | "deriveBits" | "deriveKey" | "encrypt" | "sign" | "unwrapKey" | "verify" | "wrapKey";\ntype MediaDecodingType = "file" | "media-source" | "webrtc";\ntype MediaEncodingType = "record" | "webrtc";\ntype NotificationDirection = "auto" | "ltr" | "rtl";\ntype NotificationPermission = "default" | "denied" | "granted";\ntype PermissionName = "gamepad" | "geolocation" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock";\ntype PermissionState = "denied" | "granted" | "prompt";\ntype PredefinedColorSpace = "display-p3" | "srgb";\ntype PremultiplyAlpha = "default" | "none" | "premultiply";\ntype PushEncryptionKeyName = "auth" | "p256dh";\ntype PushPermissionState = "denied" | "granted" | "prompt";\ntype ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";\ntype RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";\ntype RequestCredentials = "include" | "omit" | "same-origin";\ntype RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";\ntype RequestMode = "cors" | "navigate" | "no-cors" | "same-origin";\ntype RequestRedirect = "error" | "follow" | "manual";\ntype ResizeQuality = "high" | "low" | "medium" | "pixelated";\ntype ResponseType = "basic" | "cors" | "default" | "error" | "opaque" | "opaqueredirect";\ntype SecurityPolicyViolationEventDisposition = "enforce" | "report";\ntype ServiceWorkerState = "activated" | "activating" | "installed" | "installing" | "parsed" | "redundant";\ntype ServiceWorkerUpdateViaCache = "all" | "imports" | "none";\ntype TransferFunction = "hlg" | "pq" | "srgb";\ntype VisibilityState = "hidden" | "visible";\ntype WebGLPowerPreference = "default" | "high-performance" | "low-power";\ntype WorkerType = "classic" | "module";\ntype XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";\n',"lib.webworker.importscripts.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n\n/////////////////////////////\n/// WorkerGlobalScope APIs\n/////////////////////////////\n// These are only available in a Web Worker\ndeclare function importScripts(...urls: string[]): void;\n',"lib.webworker.iterable.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/////////////////////////////\n/// Worker Iterable APIs\n/////////////////////////////\n\ninterface Cache {\n addAll(requests: Iterable<RequestInfo>): Promise<void>;\n}\n\ninterface DOMStringList {\n [Symbol.iterator](): IterableIterator<string>;\n}\n\ninterface FileList {\n [Symbol.iterator](): IterableIterator<File>;\n}\n\ninterface FontFaceSet extends Set<FontFace> {\n}\n\ninterface FormData {\n [Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>;\n /**\n * Returns an array of key, value pairs for every entry in the list.\n */\n entries(): IterableIterator<[string, FormDataEntryValue]>;\n /**\n * Returns a list of keys in the list.\n */\n keys(): IterableIterator<string>;\n /**\n * Returns a list of values in the list.\n */\n values(): IterableIterator<FormDataEntryValue>;\n}\n\ninterface Headers {\n [Symbol.iterator](): IterableIterator<[string, string]>;\n /**\n * Returns an iterator allowing to go through all key/value pairs contained in this object.\n */\n entries(): IterableIterator<[string, string]>;\n /**\n * Returns an iterator allowing to go through all keys of the key/value pairs contained in this object.\n */\n keys(): IterableIterator<string>;\n /**\n * Returns an iterator allowing to go through all values of the key/value pairs contained in this object.\n */\n values(): IterableIterator<string>;\n}\n\ninterface IDBDatabase {\n /**\n * Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names.\n */\n transaction(storeNames: string | Iterable<string>, mode?: IDBTransactionMode): IDBTransaction;\n}\n\ninterface IDBObjectStore {\n /**\n * Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.\n *\n * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.\n */\n createIndex(name: string, keyPath: string | Iterable<string>, options?: IDBIndexParameters): IDBIndex;\n}\n\ninterface MessageEvent<T = any> {\n /** @deprecated */\n initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void;\n}\n\ninterface ReadableStream<R = any> {\n [Symbol.iterator](): IterableIterator<any>;\n entries(): IterableIterator<[number, any]>;\n keys(): IterableIterator<number>;\n values(): IterableIterator<any>;\n}\n\ninterface SubtleCrypto {\n deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;\n generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKeyPair>;\n generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKeyPair | CryptoKey>;\n importKey(format: "jwk", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n importKey(format: Exclude<KeyFormat, "jwk">, keyData: BufferSource, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;\n unwrapKey(format: KeyFormat, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;\n}\n\ninterface URLSearchParams {\n [Symbol.iterator](): IterableIterator<[string, string]>;\n /**\n * Returns an array of key, value pairs for every entry in the search params.\n */\n entries(): IterableIterator<[string, string]>;\n /**\n * Returns a list of keys in the search params.\n */\n keys(): IterableIterator<string>;\n /**\n * Returns a list of values in the search params.\n */\n values(): IterableIterator<string>;\n}\n\ninterface WEBGL_draw_buffers {\n drawBuffersWEBGL(buffers: Iterable<GLenum>): void;\n}\n\ninterface WebGL2RenderingContextBase {\n clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: GLuint): void;\n clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: GLuint): void;\n clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLuint>, srcOffset?: GLuint): void;\n drawBuffers(buffers: Iterable<GLenum>): void;\n getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable<GLuint>, pname: GLenum): any;\n getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): Iterable<GLuint> | null;\n invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;\n invalidateSubFramebuffer(target: GLenum, attachments: Iterable<GLenum>, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n transformFeedbackVaryings(program: WebGLProgram, varyings: Iterable<string>, bufferMode: GLenum): void;\n uniform1uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n vertexAttribI4iv(index: GLuint, values: Iterable<GLint>): void;\n vertexAttribI4uiv(index: GLuint, values: Iterable<GLuint>): void;\n}\n\ninterface WebGL2RenderingContextOverloads {\n uniform1fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform1iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n}\n\ninterface WebGLRenderingContextBase {\n vertexAttrib1fv(index: GLuint, values: Iterable<GLfloat>): void;\n vertexAttrib2fv(index: GLuint, values: Iterable<GLfloat>): void;\n vertexAttrib3fv(index: GLuint, values: Iterable<GLfloat>): void;\n vertexAttrib4fv(index: GLuint, values: Iterable<GLfloat>): void;\n}\n\ninterface WebGLRenderingContextOverloads {\n uniform1fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\n uniform1iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\n uniform2fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\n uniform2iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\n uniform3fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\n uniform3iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\n uniform4fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\n uniform4iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\n uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;\n uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;\n uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;\n}\n'},hn=function(){return(hn=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e}).apply(this,arguments)},vn=function(e,n,t,r){return new(t=t||Promise)((function(a,i){function o(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var n;e.done?a(e.value):((n=e.value)instanceof t?n:new t((function(e){e(n)}))).then(o,s)}c((r=r.apply(e,n||[])).next())}))},bn=function(e,n){var t,r,a,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},o={next:s(0),throw:s(1),return:s(2)};return"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){var c=[o,s];if(t)throw new TypeError("Generator is already executing.");for(;i;)try{if(t=1,r&&(a=2&c[0]?r.return:c[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,c[1])).done)return a;switch(r=0,(c=a?[2&c[0],a.value]:c)[0]){case 0:case 1:a=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,r=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(a=0<(a=i.trys).length&&a[a.length-1])&&(6===c[0]||2===c[0])){i=0;continue}if(3===c[0]&&(!a||c[1]>a[0]&&c[1]<a[3]))i.label=c[1];else if(6===c[0]&&i.label<a[1])i.label=a[1],a=c;else{if(!(a&&i.label<a[2])){a[2]&&i.ops.pop(),i.trys.pop();continue}i.label=a[2],i.ops.push(c)}}c=n.call(e,i)}catch(s){c=[6,s],r=0}finally{t=a=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}};function En(e){return"string"==typeof e?/^file:\/\/\//.test(e)&&yn[e.substr(8)]:0===e.path.indexOf("/lib.")&&yn[e.path.slice(1)]}Sn.prototype.getCompilationSettings=function(){return this._compilerOptions},Sn.prototype.getScriptFileNames=function(){return this._ctx.getMirrorModels().map((function(e){return e.uri})).filter((function(e){return!En(e)})).map((function(e){return e.toString()})).concat(Object.keys(this._extraLibs))},Sn.prototype._getModel=function(e){for(var n=this._ctx.getMirrorModels(),t=0;t<n.length;t++)if(n[t].uri.toString()===e)return n[t];return null},Sn.prototype.getScriptVersion=function(e){var n=this._getModel(e);return n?n.version.toString():this.isDefaultLibFileName(e)?"1":e in this._extraLibs?String(this._extraLibs[e].version):""},Sn.prototype.getScriptText=function(e){return vn(this,void 0,void 0,(function(){return bn(this,(function(n){return[2,this._getScriptText(e)]}))}))},Sn.prototype._getScriptText=function(e){var n,t=this._getModel(e),r="lib."+e+".d.ts";if(t)n=t.getValue();else if(e in yn)n=yn[e];else if(r in yn)n=yn[r];else{if(!(e in this._extraLibs))return;n=this._extraLibs[e].content}return n},Sn.prototype.getScriptSnapshot=function(e){var n=this._getScriptText(e);if(void 0!==n)return{getText:function(e,t){return n.substring(e,t)},getLength:function(){return n.length},getChangeRange:function(){}}},Sn.prototype.getScriptKind=function(e){switch(e.substr(e.lastIndexOf(".")+1)){case"ts":return gn.ScriptKind.TS;case"tsx":return gn.ScriptKind.TSX;case"js":return gn.ScriptKind.JS;case"jsx":return gn.ScriptKind.JSX;default:return this.getCompilationSettings().allowJs?gn.ScriptKind.JS:gn.ScriptKind.TS}},Sn.prototype.getCurrentDirectory=function(){return""},Sn.prototype.getDefaultLibFileName=function(e){switch(e.target){case 99:var n="lib.esnext.full.d.ts";if(n in yn||n in this._extraLibs)return n;case 7:case 6:case 5:case 4:case 3:case 2:default:return n="lib.es"+(2013+(e.target||99))+".full.d.ts",n in yn||n in this._extraLibs?n:"lib.es6.d.ts";case 1:case 0:return"lib.d.ts"}},Sn.prototype.isDefaultLibFileName=function(e){return e===this.getDefaultLibFileName(this._compilerOptions)},Sn.prototype.getLibFiles=function(){return vn(this,void 0,void 0,(function(){return bn(this,(function(e){return[2,yn]}))}))},Sn.clearFiles=function(e){for(var n=[],t=0,r=e;t<r.length;t++){var a=r[t],i=hn({},a);if(i.file=i.file?{fileName:i.file.fileName}:void 0,a.relatedInformation){i.relatedInformation=[];for(var o=0,s=a.relatedInformation;o<s.length;o++){var c=s[o];c=hn({},c);c.file=c.file?{fileName:c.file.fileName}:void 0,i.relatedInformation.push(c)}}n.push(i)}return n},Sn.prototype.getSyntacticDiagnostics=function(e){return vn(this,void 0,void 0,(function(){var n;return bn(this,(function(t){return En(e)?[2,[]]:(n=this._languageService.getSyntacticDiagnostics(e),[2,Sn.clearFiles(n)])}))}))},Sn.prototype.getSemanticDiagnostics=function(e){return vn(this,void 0,void 0,(function(){var n;return bn(this,(function(t){return En(e)?[2,[]]:(n=this._languageService.getSemanticDiagnostics(e),[2,Sn.clearFiles(n)])}))}))},Sn.prototype.getSuggestionDiagnostics=function(e){return vn(this,void 0,void 0,(function(){var n;return bn(this,(function(t){return En(e)?[2,[]]:(n=this._languageService.getSuggestionDiagnostics(e),[2,Sn.clearFiles(n)])}))}))},Sn.prototype.getCompilerOptionsDiagnostics=function(e){return vn(this,void 0,void 0,(function(){var n;return bn(this,(function(t){return En(e)?[2,[]]:(n=this._languageService.getCompilerOptionsDiagnostics(),[2,Sn.clearFiles(n)])}))}))},Sn.prototype.getCompletionsAtPosition=function(e,n){return vn(this,void 0,void 0,(function(){return bn(this,(function(t){return En(e)?[2,void 0]:[2,this._languageService.getCompletionsAtPosition(e,n,void 0)]}))}))},Sn.prototype.getCompletionEntryDetails=function(e,n,t){return vn(this,void 0,void 0,(function(){return bn(this,(function(r){return[2,this._languageService.getCompletionEntryDetails(e,n,t,void 0,void 0,void 0,void 0)]}))}))},Sn.prototype.getSignatureHelpItems=function(e,n,t){return vn(this,void 0,void 0,(function(){return bn(this,(function(r){return En(e)?[2,void 0]:[2,this._languageService.getSignatureHelpItems(e,n,t)]}))}))},Sn.prototype.getQuickInfoAtPosition=function(e,n){return vn(this,void 0,void 0,(function(){return bn(this,(function(t){return En(e)?[2,void 0]:[2,this._languageService.getQuickInfoAtPosition(e,n)]}))}))},Sn.prototype.getOccurrencesAtPosition=function(e,n){return vn(this,void 0,void 0,(function(){return bn(this,(function(t){return En(e)?[2,void 0]:[2,this._languageService.getOccurrencesAtPosition(e,n)]}))}))},Sn.prototype.getDefinitionAtPosition=function(e,n){return vn(this,void 0,void 0,(function(){return bn(this,(function(t){return En(e)?[2,void 0]:[2,this._languageService.getDefinitionAtPosition(e,n)]}))}))},Sn.prototype.getReferencesAtPosition=function(e,n){return vn(this,void 0,void 0,(function(){return bn(this,(function(t){return En(e)?[2,void 0]:[2,this._languageService.getReferencesAtPosition(e,n)]}))}))},Sn.prototype.getNavigationBarItems=function(e){return vn(this,void 0,void 0,(function(){return bn(this,(function(n){return En(e)?[2,[]]:[2,this._languageService.getNavigationBarItems(e)]}))}))},Sn.prototype.getFormattingEditsForDocument=function(e,n){return vn(this,void 0,void 0,(function(){return bn(this,(function(t){return En(e)?[2,[]]:[2,this._languageService.getFormattingEditsForDocument(e,n)]}))}))},Sn.prototype.getFormattingEditsForRange=function(e,n,t,r){return vn(this,void 0,void 0,(function(){return bn(this,(function(a){return En(e)?[2,[]]:[2,this._languageService.getFormattingEditsForRange(e,n,t,r)]}))}))},Sn.prototype.getFormattingEditsAfterKeystroke=function(e,n,t,r){return vn(this,void 0,void 0,(function(){return bn(this,(function(a){return En(e)?[2,[]]:[2,this._languageService.getFormattingEditsAfterKeystroke(e,n,t,r)]}))}))},Sn.prototype.findRenameLocations=function(e,n,t,r,a){return vn(this,void 0,void 0,(function(){return bn(this,(function(i){return En(e)?[2,void 0]:[2,this._languageService.findRenameLocations(e,n,t,r,a)]}))}))},Sn.prototype.getRenameInfo=function(e,n,t){return vn(this,void 0,void 0,(function(){return bn(this,(function(r){return En(e)?[2,{canRename:!1,localizedErrorMessage:"Cannot rename in lib file"}]:[2,this._languageService.getRenameInfo(e,n,t)]}))}))},Sn.prototype.getEmitOutput=function(e){return vn(this,void 0,void 0,(function(){return bn(this,(function(n){return En(e)?[2,{outputFiles:[],emitSkipped:!0}]:[2,this._languageService.getEmitOutput(e)]}))}))},Sn.prototype.getCodeFixesAtPosition=function(e,n,t,r,a){return vn(this,void 0,void 0,(function(){var i;return bn(this,(function(o){if(En(e))return[2,[]];i={};try{return[2,this._languageService.getCodeFixesAtPosition(e,n,t,r,a,i)]}catch(o){return[2,[]]}return[2]}))}))},Sn.prototype.updateExtraLibs=function(e){return vn(this,void 0,void 0,(function(){return bn(this,(function(n){return this._extraLibs=e,[2]}))}))},Sn.prototype.provideInlayHints=function(e,n,t){var r;return vn(this,void 0,void 0,(function(){var a,i;return bn(this,(function(o){if(En(e))return[2,[]];a=null!=(r=this._inlayHintsOptions)?r:{},i={start:n,length:t-n};try{return[2,this._languageService.provideInlayHints(e,i,a)]}catch(o){return[2,[]]}return[2]}))}))};var Tn=Sn;function Sn(e,n){this._extraLibs=Object.create(null),this._languageService=gn.createLanguageService(this),this._ctx=e,this._compilerOptions=n.compilerOptions,this._extraLibs=n.extraLibs,this._inlayHintsOptions=n.inlayHintsOptions}self.onmessage=function(){fn((function(e,n){return new Tn(e,n)}))}},dd40:function(e,n){e.exports=function(e){var n;return e.webpackPolyfill||((n=Object.create(e)).children||(n.children=[]),Object.defineProperty(n,"loaded",{enumerable:!0,get:function(){return n.l}}),Object.defineProperty(n,"id",{enumerable:!0,get:function(){return n.i}}),Object.defineProperty(n,"exports",{enumerable:!0}),n.webpackPolyfill=1),n}},f28c:function(e,n){var t,r;e=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}try{t="function"==typeof setTimeout?setTimeout:a}catch(e){t=a}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}function o(n){if(t===setTimeout)return setTimeout(n,0);if((t===a||!t)&&setTimeout)return(t=setTimeout)(n,0);try{return t(n,0)}catch(e){try{return t.call(null,n,0)}catch(e){return t.call(this,n,0)}}}var s,c=[],l=!1,d=-1;function u(){l&&s&&(l=!1,s.length?c=s.concat(c):d=-1,c.length)&&p()}function p(){if(!l){for(var e=o(u),n=(l=!0,c.length);n;){for(s=c,c=[];++d<n;)s&&s[d].run();d=-1,n=c.length}s=null,l=!1,function(n){if(r===clearTimeout)return clearTimeout(n);if((r===i||!r)&&clearTimeout)return(r=clearTimeout)(n);try{r(n)}catch(e){try{return r.call(null,n)}catch(e){return r.call(this,n)}}}(e)}}function m(e,n){this.fun=e,this.array=n}function _(){}e.nextTick=function(e){var n=new Array(arguments.length-1);if(1<arguments.length)for(var t=1;t<arguments.length;t++)n[t-1]=arguments[t];c.push(new m(e,n)),1!==c.length||l||o(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},e.title="browser",e.browser=!0,e.env={},e.argv=[],e.version="",e.versions={},e.on=_,e.addListener=_,e.once=_,e.off=_,e.removeListener=_,e.removeAllListeners=_,e.emit=_,e.prependListener=_,e.prependOnceListener=_,e.listeners=function(e){return[]},e.binding=function(e){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(e){throw new Error("process.chdir is not supported")},e.umask=function(){return 0}}});